@prof@infosec.pub avatar

prof

@prof@infosec.pub

Engineer and coder that likes memes.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

prof,
@prof@infosec.pub avatar

In an upcoming post: “Why can’t anyone just make a button that automatically hacks facebook???!!!”

It’s really interesting how differently you see technology as a professional compared to “normies”. So much stuff is easily solved by following instructions or reading error messages.

prof,
@prof@infosec.pub avatar

Like many others already said. Being self taught is ok, but employers need at least some kind of confirmation about your skills. So getting some kind of officisl certificate will make your job search a lot easier.

Microsoft offers a bunch of .NET certificates if you do their C# courses for example. You can also become a certified Linux professional.

Find something that interests you and then start learning by doing some tutorials. The most important thing is that you have fun and won’t burn yourself out working in a field you don’t enjoy.

Where I’m from there’s demand for Web Devs, Java devs, .NET devs, It Support, Network Engineers, Embedded systems, whatever.

prof,
@prof@infosec.pub avatar

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 😄

prof,
@prof@infosec.pub avatar

Correct!

Vibe check is pretty much the scope. Classes aren’t a thing (yet).

prof,
@prof@infosec.pub avatar

It’s a tool for designing domain specific languages. Really interesting!

prof,
@prof@infosec.pub avatar

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.

prof,
@prof@infosec.pub avatar

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.

prof,
@prof@infosec.pub avatar

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.

prof,
@prof@infosec.pub avatar

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.

prof,
@prof@infosec.pub avatar

Yes, it pretty much just wraps the expression in a “System.out.println(<expression>);”

prof,
@prof@infosec.pub avatar

I like the way you think! 😂

prof,
@prof@infosec.pub avatar

Great idea if I have to extend it

prof,
@prof@infosec.pub avatar

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 😄

prof,
@prof@infosec.pub avatar

Because it was easier to use Java primitives than implement the constants myself.

prof,
@prof@infosec.pub avatar

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.

TIL about the gameboy accessory that gasses kids to sleep for surgery (www.destructoid.com)

A new piece of medical equipment is being tested right now called the Pedisedate. Basically, it is a headset that is placed on a child before they are admitted to surgery. The device connects to a Game Boy or portable CD player (yup, not a Nintendo DS or iPod — apparently the Pedisedate also transports you to 1996) and a...

prof,
@prof@infosec.pub avatar

Dann einfach runterrollen lassen, wenn er vollgekaggert ist.

Genial!

prof,
@prof@infosec.pub avatar

Could not really find anything but that Luthic is a fertility goddess of sorts. Which seems rather normal.

German WW2 Trench Rifle - Deckungszielgerät (1942) (lemmy.world)

When the German attack into Russia stagnated in late 1942, some areas of the front returned to a trench-and-sniper sort of warfare that was reminiscent of World War One. The German military actually went so far as to design and issue a periscopic tech rifle mount, the “deckungszielgerät” (DZG). Stereotypically German in...

prof,
@prof@infosec.pub avatar

Native sepaker here. You can translate “Deckungszielgerät” kinda like “Device that lets you aim from cover”. The google translate isn’t far off, but I hope I could elaborate a bit.

Trench warfare is crazy. Is there ever a case where reasonable progress was made in such situations? I’d imagine there isn’t much happening except soldiers dying while holding the line.

prof,
@prof@infosec.pub avatar

Why anyone would spend 1500 dollars and 300 hours on a parody is beyond me but it’s impressive work nonetheless for a solo dev.

The gameplay was fun to watch, but mostly just because the characters steps sounded like their shoes were sticky after they stepped into some spilled cola or zombie guts or whatever.

prof,
@prof@infosec.pub avatar

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.

What happens to my Corpse if I die in a Forest?

I was just randomly checking out what Funerals costs and was shocked how expensive it was! €3.500 to €5.500! I live in north Germany, and we have here some very deep Woods. So I was thinking what would happen if I just die there. Let’s say no one ever finds me. Are Animals just going to eat me, and will I just be gone in a...

prof,
@prof@infosec.pub avatar

There’s a joke in there about grannys with boob jobs, but I’m not yet depraved enough to try and find it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • cubers
  • DreamBathrooms
  • InstantRegret
  • tacticalgear
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • modclub
  • kavyap
  • ethstaker
  • megavids
  • osvaldo12
  • khanakhh
  • cisconetworking
  • Durango
  • everett
  • ngwrru68w68
  • Leos
  • normalnudes
  • GTA5RPClips
  • tester
  • anitta
  • provamag3
  • lostlight
  • All magazines