Details
-
AboutEngineer for assisitve technologies
-
SkillsIonic 4 Python C
-
LocationGermany, Oldenburg
Joined devRant on 2/26/2019
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
When a company operates like a startup but they're over 10 years old and they try to do the micro brew lunch thing and be "casual" but they pay you like shit and the boss is a moron.1
-
Is it normal to deploy a 5.6MB main.css file?
Last week I had to change some shizzle on a website (externally developed).
Well, I was quite shocked...
We usually deploy a single stylesheet under 700 kB.
But also because we never use CSS "frameworks".30 -
Failed installing Arch Linux....tried installing it three times
But at every boot what I get is Black screen with the cursor (underscore) blinking on it
I followed their official installation guide
Do anyone know how to resolve this problem?12 -
Jesus Christ Almighty fucking Instagram is a real shit show lately.
So many fucking bots. The porn bots than spam comments and DMs, the bots people tag in comments that get you a lot of likes and then just people that use bots to comment on posts.
Like fucking hell bruh can y'all fix your shit?7 -
Question to our Tor people.
I operate a middle relay myself and I noticed that Nyx (tor monitoring tool) displays a very different throughput (mb/GB a day) than tor itself.
How does that work?6 -
For anyone wondering "rm -rf /" on a jailbroken iOS 12 deletes many of the system apps and services but device is still kind of usable without too many crashes, still managed to set boot nonce and restore (thank god).2
-
Age++;
I'm gonna flex and tell that I've got a new Switch. My family and friends are really the best.
Thanks to them I also got to know that thief that stole my original Switch is named Stephan.
So I also want to thank you, Stephan, you thieving fuck. I hope you'll have fun with my console. I know that the police won't do shit since you are living in different country, so you can feel safe.
I've lost most of my games along with the console, cause I'm an idiot, but if anyone want to add me to their friend list here's my code:
SW-4095-0455-223210 -
Thought of this but no one would truly get it anywhere else...
Family myFamily = new Family();
myFamily.add("husband", "Sept 2011");
myFamily.add("wife", "Sept 2011");
myFamily.add("cat", "July 2012");
myFamily.add("child", "August 2019");13 -
This meme is not that funny, but after long day of coding when your brain turns into potato, it becomes hilarious.. why though? 😂4
-
Created a hidden role in the Postgres database, with some tricky constraints, which only a DBA can find and remove, to give myself, disguised as the postgres account, a role which no one else in the system can have.
Called it "pharaoh". Thug life ;2 -
Interesting bug hunt!
Got called in because a co-team had a strange bug and couldn't make sense of it. After a compiler update, things had stopped working.
They had already hunted down the bug to something equivalent to the screenshot and put a breakpoint on the if-statement. The memory window showed the memory content, and it was indeed 42. However, the debugger would still jump over do_stuff(), both in single step and when setting a breakpoint on the function call. Very unusual, but the rest worked.
Looking closer, I noticed that the pointer's content was an odd number, but was supposed to be of type uint32_t *. So I dug out the controller's manual and looked up the instruction set what it would do with a 32 bit load from an unaligned address: the most braindead thing possible, it would just ignore the lowest two address bits. So the actual load happened from a different address, that's why the comparison failed.
I think the debugger fetched the memory content bytewise because that would work for any kind of data structure with only one code path, that's how it bypassed the alignment issue. Nice pitfall!
Investigating further why the pointer was off, it turned out that it pointed into an underlying array of type char. The offset into the array was correctly divisible by 4, but the beginning had no alignment, and a char array doesn't need one. I checked the mapfiles and indeed, the old compiler had put the array to a 4 byte boundary and the new one didn't.
Sure enough, after giving the array a 4 byte alignment directive, the code worked as intended.8 -
Dev1 : hey dude, I am not able to get the slider right like the one in the IMG they've created on WordPress, we need to show this to the client today. Can you help?
Dev2 (short for devil) :
*Tries*
*Sighs*
*Opens up expected screen slider IMG*
*Ctrl + Alt + Printscrn*
*opens Paint ---> crop --> save*
*Inside html, <img src="*above url">*
Done buddy, you owe me one. -
ENE = Entitled New Engineer
M = Manager
EOE: "I've been here 6 months and I know how everything works. Can we talk about a promotion?"
M: "No, now begins the period wherein, through your labor, you repay us for overpaying you while you got up to this point."7 -
[long]
When searching for internship via school I found this small startup with this cute project of building a teaching tool for programming. There were back then 2 programmers: the founder and the co-founder.
Then like 1 week before the internship started, the co-founder had a burnout and had to get off the project, while the company was so low on budget the founder, aka my new b0ss, had to work separate jobs to keep the company alive. (quite metal tbh)
It's funny because I'm a junior developer, 100%. I've been coding as a hobby for around 8 years now but I've never worked in a big company before. (No exception to this workplace either)
First project I get: rewrite the compiler. The Python compiler.
"But wait, why not just embed a real compiler from the first case?"
-nanananana it's never simple, as you probably know from your own projects.
The new compiler, as compared to existing embedded compiler solutions out there, needed these prime features:
- Walk through the code (debugger style), but programmatically.
- Show custom exceptions (ex: "A colon is needed at the end of an if-statement" instead of "Syntax error line 3")
- Have a "Did-you-mean this variable?" error for usage of unassigned variables.
- Be able to be embedded in Unity's WebGL build target
All for the use case of being a friendly compiler.
The last dash in the list is actually the biggest bottleneck which excluded all existing open-source projects (i could find). Compliant with WebAssembly I can't use threads among other things, IL2CPP has lots of restrictions, Unity has some as well...
Oh and it should of course be built using test-driven development.
"Good luck!" - said the founder, first day of work as she then traveled to USA for **3 weeks**, leaving me solo with the to-be-made codebase and humongous list of requirements.
---
I just finished the 6th week of internship, boss has been at "HQ" for 3 weeks now, and I just hit the biggest milestone yet for this project.
Yes I've been succeeding! This project has gone so well, and I'm surprising myself how much code I've been pumping out during these weeks.
I'm up now at almost 40'000 lines of source and 30'000 lines of code. ‼
( Biggest project I've ever worked on previously was at 8'000 lines of code )
The milestone (that I finished today) was for loops! As been trying to showcase in the GIF.
---
It's such a giant project and I can honestly say I've done some good work here. Self-five. Over-performing is a thing.
The things that makes me shiver though is that most that use this application will never know the intricates of it's insides, and the brain work put into it.
The project is probably over-engineered. A lot. Having a home-made compiler gives us a lot of flexibility for our product as we're trying to make more of a "pedagogic IDE". But no matter that I reinvented the wheel for the 105Gth time, it's still the most fun I've had with a project to date.
---
Also btw if anyone wants to see source code, please give me good reasons as I'm actively trying to convince my boss to make the compiler open-source.
Cheers!4 -
I have this colleague that who is nice, but if you mention anything about (not complete) java, sun, vmware, windows, daus(dumbest possible user), car manufacturer your ears bleed with is rants about it.
For example:
We talked about BMW which published that the energy generated from recuperation of one of their cars is around 60%. Immediatly he rants that it its not possible and the calculated number of an forum user of the newssite who calculated that 90% of the kinetic energy is regenerated has no idea about the problems.
Sometimes its hard to endure the hate, but i can relate with him in some things.2 -
So, I joined a hardware company as a software developer few months back. I'm working on a c++ code base with thousands of files and no idea what the code is supposed to do.
I got one overview of what the product is supposed to do, which contains mostly electrical engineering jargon that I have no clue about.
Now my manager wants me fix a bug in this code. I have no clue what the expected behaviour is and no documentation whatsoever, and literally no one in the entire country who understands the code.4 -
Make your code available for your team members, please.
So we're working on this robotics project using ROS, a framework that enables multiple nodes in a network exchange their functionality among each other through tcp connections. Each node can be implemented and executed on your own machine, and tested with dummy inputs, but in collaboration they make a robot do fancy stuff.
The knowledgebase needs data from the image processing unit, providing this data to others with semantic context to high level planning, which uses this semantic data for decision making and calling the robot manipulation node with meaningful input, to navigate the robot's components in the environment. We use a dedicated machine, which pulls the corresponding repositories and is always kept configured correctly, to run each node, such that everybody has access to each other's work when needed.
So far so good. We tried to convince the manipulation guy (let's call him John) to run his code on our central machine, not a week, but since the first day, 5 months ago. Our cluster classification has been unavailable for 2 months, but my collegue fixed that. We still can't run the whole project without John's computer. If his machine blows up we're fucked.
Each milestone feels like a big-bang-test, fixing issues in interfaces last-minute. We see the whole demo just moments before our supervisors arrive at the door.
I just hope he doesn't get hit by a truck.2