prof
@prof@infosec.pub
Engineer and coder that likes memes.
- Comment on More than a quarter of new code at Google is generated by AI. 3 weeks ago:
Agreed. It’s really shit for new code, but if I’m writing glue code stuff or repetitive code it saves a lot of time spent on typing.
- Comment on Bees is fish. 3 months ago:
It’s so christians can eat bees during fasting. duh.
- Comment on Gothic, Risen, and Elex Dev "Piranha Bytes" Reportedly the Latest Embracer Studio to Shut Down 4 months ago:
Seems like we’re in the same boat, haha.
I also have a big backlog, and there are far more interesting options than their stuff.
- Comment on Gothic, Risen, and Elex Dev "Piranha Bytes" Reportedly the Latest Embracer Studio to Shut Down 4 months ago:
Wasn’t Piranha Bytes not profitable for quite some time?
Their games certainly had a community of fans, but I don’t think those are enough to keep a whole studio afloat.
Just thinking out loud, I did not look at any numbers, but in my head what’s done them in is not producing games that feel good to play. I loved Gothic 3 and Arcania at the time, but I’d choose any other 3rd person RPG that actually has snappy controls over the more modern stuff like Elex and I feel like that’s the mainstream opinion going around.
- Comment on Fake job interviews target developers with new Python backdoor 6 months ago:
Thanks for the response. Seems like I can’t assume other CS degrees are comparable.
We definitely have a strong focus on security in my degree, but I still believe that awareness of what you’re running on your machine and potential dangers of those programs fall into the category of common sense. Mishandling secrets, having bad authentication or not knowing how to setup SSL is definitely experience stuff though.
- Comment on Fake job interviews target developers with new Python backdoor 6 months ago:
Neither young or naive. Just assuming others share my experience.
- Comment on Fake job interviews target developers with new Python backdoor 6 months ago:
Makes sense, I feel bad for the guys that were happy for a chance and got screwed over.
- Comment on Fake job interviews target developers with new Python backdoor 6 months ago:
That’s a bad take. Unless you get your knowledge purely from shady tutorials or have a fast track bootcamp education, it’s unlikely you never touch on security basics.
I’m a software design undergrad and had to take IT Sec classes. Other profs also touched on how to safely handle dependencies and such.
While IT Security is its own specialisation, blindly trusting source code others provide you with is something a good programmer shouldn’t do.
If you need a metaphor: Just because a woodworker specialises in tables, doesn’t mean they can’t build a chair.
- Comment on Fake job interviews target developers with new Python backdoor 6 months ago:
It’s sad that this works. You’d think especially software professionals would be the most vigilant about running unknown code.
- Comment on Mandelbrot 6 months ago:
There’s a cool rabbit hole you can dive into when it comes to coastline lengths of some countries. Specifically the UK.
Depending on who measured the coastline and with which method the results can be wildly different because there’s always some form of simplification required. See this video for example: Link
- Comment on easter is a horrorshow 7 months ago:
So stupid. Everyone knows we use bunny eggs for easter.
- Comment on Last Epoch 1.0.3 patch notes include lower stash tab costs and more 8 months ago:
It’s weird. There seem to be a lot of games that offer native Linux clients but they tend to not be maintained that well. Quite a shame really.
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
It doesn’t compile or transpile in actuality. It generates Java based on an abstract syntax tree. The concrete syntax is not considered in Java generation by MPS.
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Because it was easier to use Java primitives than implement the constants myself.
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
MPS uses projectional editing. Which means for the user that everything you do is free from concrete syntax, and you basically edit a graphical representation of that abstract syntax tree directly, while it looks like you’re in a textual editor.
So I define abstract nodes that may have certain relationships with each other and then give them a representation in the editor (which is what you see in the screenshot). These nodes may also have generators assigned to them, which use map/reduce operations to generate whatever source code I desire. It usually includes its own bit of code, and triggers code generation of its children as well.
I hope that was somehow clear 😄
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Great idea if I have to extend it
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
I like the way you think! 😂
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Yes, it pretty much just wraps the expression in a “System.out.println(<expression>);”
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Fortunately I generate Java source code from it. However MPS generates both source and byte code when you build the solution. For some reason I can’t get the byte code to run though, but the source code does, so I don’t care too much.
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Very cool, I’d be interested in your publications once you’re done. I like metaprogramming, but once you realise you might have needed it, you’re already knee deep in fresh legacy code.
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Valuable input! I actually am an undergrad student. There are a lot of frameworks out there that support writing languages, with MPS being one of them.
If I’d start from scratch again and had a little more time, I’d frankly try writing an interpreter myself, instead of trying to conform to weird framework syntax, which I won’t be able to reuse in any other context.
Saying syntax design is fiddly is an understatement. I focused very hard on getting an abstract syntax somehow finished before working on generation in my first iteration. Then I had so much technical debt, that I couldn’t get anything to work and had to rewrite a lot. So I scrapped it all and started again, starting with top level concepts including generation and only implementing some lower level ones, once everything around it worked properly.
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
You’re correct, but it doesn’t really matter for demo purposes. In an actual use case (whatever that would be for this language) you would of course want to use some kind of variable or expression there instead of a constant.
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
It’s a tool for designing domain specific languages. Really interesting!
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Correct!
Vibe check is pretty much the scope. Classes aren’t a thing (yet).
- Comment on I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS 8 months ago:
Well done, here’s your price: 🏅
You may redeem it for a star on a GitHub repo of your choice.
It all gets put into the main method though in this version 😄
- I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPSinfosec.pub ↗Submitted 8 months ago to programmer_humor@programming.dev | 59 comments
- Comment on Infinite Loop 9 months ago:
Recently switched jobs from maintaining a 15 year old Windows Forms .NET Framework legacy codebase.
At the new job we stick to Clean Architecture, use unit and integration tests, have a code generation tool, actually make nice use of generics and use dependency injection. Also agile processes, automatic build tools, whatever. The difference is night and day and I’m so glad my ex boss fired me because I told him he’s an asshole and his codebase is shit.
- Comment on What happens to my Corpse if I die in a Forest? 10 months ago:
There’s a joke in there about grannys with boob jobs, but I’m not yet depraved enough to try and find it.
- Comment on Starfield update 1.7.29 released. FOV slider/brightness/contrast/HDR setting added + Nvidia DLSS support on PC 1 year ago:
I was very happy to see a patch but unfortunately it’s still not playable on Linux with the current state of the Nvidia driver.
- Comment on They’ve grown up online. So why are our kids not better at detecting misinformation? 1 year ago:
That made me laugh more than it should have.