Not sure if good idea, bad idea or evil idea
-
-
Could also go in the parenting thread...
-
@Benjamin-Hall said in Not sure if good idea, bad idea or evil idea:
Could also go in the parenting thread...
Definitely not evil.
-
@Karla
Until you find yourself washing out the shit or vomit stains
-
@Luhmann said in Not sure if good idea, bad idea or evil idea:
@Karla
Until you find yourself washing out the shit or vomit stainsThen it is evil if you do it to someone else's baby.
-
INB4 Valentines day is on Monday this year
-
@boomzilla release Monday evening.
-
Use 203Pb to make TEL, and hell, even as a sweetener - with a 50-odd hour half-life, you'd have to make it on-site, but hey, zero calories and a smooth, smooth burn, and the decay products are 99% mercury-free.
-
I remember how one time, I found some freeware/abandonware/blogpostware program that was specifically made to fix the exact problem I was having. But it didn't work on my computer. It crashed on startup. It was a .Net program, so I could attach a debugger and see the exception. Paraphrased, "cannot convert 2,5 to float". The program was written with an assumption in mind that some Windows system statistics reporting module will always use a dot as a decimal separator. But I had Polish Windows so instead it was a comma. So I decided to fix the problem in the simplest way possible - decompile the binary, find the line with the bad conversion, fix it to use locale-dependent format, and reassemble the binary.
If I'm ever in a position to interview candidates for a senior developer position, that will be my test. Live debugging session. Here's the program, there's no source code, make it work. You can do anything you want, including googling (especially googling) - but you share your screen all the time. You have 30 minutes.
-
I don't know. Making candidates use Windows in Polish seems a bit harsh for an interview.
-
@Gąska .NET is very well suited for this kind of tasks. I once fixed a locale-related bug (the app needlessly tried to round-trip arbitrary bytes through unicode strings and assumed that the runtime would always default to
CP1252
, which resulted in lots of?
bytes in the serial port when the assumption was broken), never having worked with C# before, and only afterwards learned that the app had been written in VB.NET, not C#.
-
@Gąska interesting test. I’m possibly the only web developer I know at any level that might stand a chance at that (I have worked with decompiled code in the past and I have some C# knowledge) but over in web land this wouldn’t come up. I’d likely fail, but web has very different ideas of what “a senior” looks like.
Then again, I do know a team of senior C# devs that would all fail this test… their problem is they have an application which stores a licence blob in the database denoting number of users licenced for features. They even have the source code. They told me it was impossible to produce a report of “this application is licensed for x users, y users in module abc, z users in module def”. Impossible. Even though a tool exists to change the licensing because the support team all have it.
I somehow managed it without even decompiling either and handed them a script in PowerShell that would run without any need for local installation and reported all the things. But this was, of course, completely impossible - all I had to do was run a SQL profiler to work out where this was stored/changed and then play the game of “make a change, observe what changed”.
So maybe I wouldn’t be so awful after all ahahaha.
-
@Gąska said in Not sure if good idea, bad idea or evil idea:
I remember how one time, I found some freeware/abandonware/blogpostware program that was specifically made to fix the exact problem I was having. But it didn't work on my computer. It crashed on startup. It was a .Net program, so I could attach a debugger and see the exception. Paraphrased, "cannot convert 2,5 to float". The program was written with an assumption in mind that some Windows system statistics reporting module will always use a dot as a decimal separator. But I had Polish Windows so instead it was a comma. So I decided to fix the problem in the simplest way possible - decompile the binary, find the line with the bad conversion, fix it to use locale-dependent format, and reassemble the binary.
If I'm ever in a position to interview candidates for a senior developer position, that will be my test. Live debugging session. Here's the program, there's no source code, make it work. You can do anything you want, including googling (especially googling) - but you share your screen all the time. You have 30 minutes.
I'm sure I won't be getting that job.
-
@Karla you should try decompilation sometime. It's fun! And with modern tools it's very easy too (for bytecode languages). IntelliJ IDEA even has a built-in Java decompiler - just open a .class file and it looks like any other source file.
-
@Gąska said in Not sure if good idea, bad idea or evil idea:
@Karla you should try decompilation sometime. It's fun! And with modern tools it's very easy too (for bytecode languages). IntelliJ IDEA even has a built-in Java decompiler - just open a .class file and it looks like any other source file.
I may check it out. Because I am geek, though honestly I've been intimidated by it.
Does it work in Eclipse? That is where I do my "Hello World" programming in Java?
I'd like to be in a position to help my daughter my Minecraft mods.
And she has been working with Scratch, Jr. She download this new game, Love Balls.
It is a children's game (aimed at 12+). The goal is to get the mr and the ms together by drawing lines that effect how the characters fall. Do it wrong you lose. Use too much ink to draw lines and you don't get all three stars.
She gets frustrated if she can't full stars. I try to tell her that's how you learn.
But once she got past the lower levels, I didn't know the answer (or require more effort to do so).
I to pay for the pro version of this game because the ads are too frequent and drive me crazy.
-
@Karla I avoid Eclipse like fire so can't help you here. But shouldn't be hard to google. And there are also standalone GUI decompilers too.
For C# I always used ILSpy, though now it seems it's integrated into Visual Studio (the real one).
For some real fun , try decompiling C++.
-
@Gąska I've seen generated code, even before compilation. Your definition of fun is very generous.
But I do know where you're coming from.
-
@Gąska att my place, we have an A4 of some very bad code that we let the interviewee comment on. Surprisingly many can't find anything wrong with it. They are not hired.
-
@Gąska said in Not sure if good idea, bad idea or evil idea:
For C# I always used ILSpy, though now it seems it's integrated into Visual Studio (the real one).
There was DnSpy, which for a while seemed to return more intelligent code (and could also edit stuff in place). For example, it somehow understood where
switch
statements were supposed to be even though IL doesn't have that concept. I mean, you could make an educated guess, but...
But some shitshow happened, I guess it was classified as hacking tool or whatever. Dunno if there's any forks, but it's dead now.
-
@Karla said in Not sure if good idea, bad idea or evil idea:
Does it work in Eclipse?
Not by default, but there's a plugin so yes.
-
-
-
@Benjamin-Hall Hm, yeah, you probably could 3d-print powdered charcoal with the right process and adhesive.
-
@Karla said in Not sure if good idea, bad idea or evil idea:
She download this new game, Love Balls.
You have my attention....
Edit:
@Karla said in Not sure if good idea, bad idea or evil idea:It is a children's game (aimed at 12+). The goal is to get the mr and the ms together by drawing lines that effect how the characters fall.
Fuck I'm going to ignore the very next line and fantasize.
-
@Tsaukpaetra said in Not sure if good idea, bad idea or evil idea:
Fuck I'm going to ignore the very next line and fantasize.
-
@Carnage said in Not sure if good idea, bad idea or evil idea:
@Gąska att my place, we have an A4 of some very bad code that we let the interviewee comment on. Surprisingly many can't find anything wrong with it. They are not hired.
Is it too private to post?
-
@Tsaukpaetra said in Not sure if good idea, bad idea or evil idea:
@Carnage said in Not sure if good idea, bad idea or evil idea:
@Gąska att my place, we have an A4 of some very bad code that we let the interviewee comment on. Surprisingly many can't find anything wrong with it. They are not hired.
Is it too private to post?
Yeah, bit of a company secret. Wouldn't want our potential hires to be able to study it before the interview.
But if you don't comment at least about one third of the lines, you're missing something fugly.
-
@Carnage said in Not sure if good idea, bad idea or evil idea:
But if you don't comment at least about one third of the lines, you're missing something fugly.
“Kill it with fire. From orbit. It's the only way to be sure.”
-
@Carnage said in Not sure if good idea, bad idea or evil idea:
Yeah, bit of a company secret. Wouldn't want our
potential hires to be able to study it before the interviewcompetitors to steal our best code.
-
-
@PleegWat What would make a good adhesive for BBQ charcoal?
-
@Zerosquare said in Not sure if good idea, bad idea or evil idea:
Let's be honest. If your RFID key fob is:
- important enough that duplication is a serious issue
- insecure enough that it's possible to duplicate it without significant efforts
...you had a problem right from the start.
Also, that shop may require proof of ID before they copy your fob.
A "proof of ID"? They'll copy that for you, too.
-
-
@Watson said in Not sure if good idea, bad idea or evil idea:
@PleegWat What would make a good adhesive for BBQ charcoal?
-
-
@boomzilla said in Not sure if good idea, bad idea or evil idea:
Wait a second. Did the owner of this garage not build walls to save money?
-
@Gąska said in Not sure if good idea, bad idea or evil idea:
Wait a second. Did the owner of this garage not build walls to save money?
Perhaps the space between the beams is not wide enough to steal the car
-
@Gąska said in Not sure if good idea, bad idea or evil idea:
Did the owner of this garage not build walls to save money?
-
-
@boomzilla that's the spirit! Well, it's at least 40% of the spirit.
-
-
@izzion said in Not sure if good idea, bad idea or evil idea:
@boomzilla said in Not sure if good idea, bad idea or evil idea:
Cloth sold separately.
Think of the approach as more like an emergency decon system, like an eyewash station or burn shower. You don't even need a glass, just keep on drinking.
-
"Format C" would make a good name for some VERY hard liquor.
...20 years ago. Nowadays most people wouldn't get the joke.
...which was true 20 years ago too I guess. The difference is that now it would be the young people who don't get it.
Now I feel old. And I'm not even 30.
-
@Gąska Meh, I've been ranting about young people these days since before I was 20.
-
@PleegWat I started at 7.
-
-
@boomzilla I recommend one gentlemanly forehead to forehead smash, prior to breaking the face.
-
@dkf crazy brits dunno what to call a garroof
-
@Gribnit said in Not sure if good idea, bad idea or evil idea:
crazy brits dunno what to call a garroof
Blame the Aussies.
-
Fried strawberries. The frynal frontier.