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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
New idea: Fuck raytracing for global illumination because you just need too many rays for it to converge
What if we do surfels (to keep the number of probes down and relevant to our scene) and we update the 4x4-ish sized hemisphere irradiance maps not by tracing a single ray per frame per surfel. I have a fast as shit compute shader rasterizer... What if I just raster each surfel each frame? Should be around the same number of pixels as the primary visibility so totally feasible....
Each frame just jitter the projection a bit and voila. Should have extremely high quality diffuse global illumination at well below 1 ms. Holy shit this might just work3 -
Why do I program everything myself in C, even a rest service? By writing everything yourself in C you make simple things complex to make complex things simple.
Writing a rest service for example learns you a part of http protocol, how sockets work, how to create a parser (in this case json). Three thing's you would miss if I used python.
On top, your rest service uses WAY lesser resource than written in python for example. Especially for CPU usage.
Allocating and free-ing still often have issues there, but I consider it a skill problem / discipline issue. Not blaming C for that. The rules are clear.12 -
I got a song that I like a lot but it's made by a kid for kids. Therefor, youtube doesn't let you add it to a playlist since it's "Kid content". When I saw that message, I've felt treated like a freaking pedo. What the hell do those fuckers think about the general population? Who is evil, sees evil. And like if this is a solution to anything. You can just bookmark it in your browser.
Sick shit, how negative can you be YouTube. Judgemental fuckers80 -
A good boss gives you a few clear instructions and then doesn't meddle in your work.
A great boss does that, and also spends most of their time protecting the team from corporate fuckery.
99% of all bosses, though? You can't make heads or tails of their blabber, and the only way they can handle problems is throwing their team under the bus.4 -
I've made the json protocol. It's a protocol containing only json. No http or anything.
To parse an json object from a stream, you need a function that returns the length of the first object/array of all your received data. The result of that function is to get the right chunk of the json to deserialize.
For such function, json needs to be parsed, so I wrote that function in C to be used with my C server and Python client. I finally implemented a C function into python function that has a real benefit / use case. Else you had to validate but by bit by the python json parser and that's slow while streaming. Some messages are quite big.
Advantage of this protocol is that it's full duplex.
I'm very happy!36 -
Me: Hey, guys, this stuff is seriously flammable. Like, I’m surprised it hasn’t caught fire yet. I really want to clean it up. Here’s how I’d make it better.
Management: No. It’s fine, it works. Don’t touch it. It’s getting replaced anyway. Just add the things on top like we asked you to, and call it a day.
Me: Are you sure? This is seriously going to be a problem.
Management: We just said it’s getting replaced. Don’t. touch. anything. OK?
Me: alright.
… Eight weeks later …
Management: so this thing caught fire over the weekend, and the fire spread to other areas. We’re doing some emergency cleanup. The new guy looked at it and figured out why, and has some great ideas on fixing it, so give him some well-deserved praise!
Me: Hey! I told you about this months ago!
Management: Yes. I tuned out during today’s firefighting meetings. But it’s important to strike a balance in everyone’s style. Do you have any other concerns?9 -
We're a data science company. We do medical research. We have patented results.
My manager describes half of our code base as on par with a random number generator. At least 1 part of our pipeline overfits random data with 99.9% accuracy.
My manager is a wise man.3 -
Microsoft, why the fucking fucking bastardising arse knobbing fuck would ANYONE want to open a directory on the LOCAL C DRIVE in the PISSING BROWSER?2
-
Managers gettin horny when they realize that AI doesn't even need a free pizza party once a year to stay motivated6
-
I'm preparing a major deployment & what do I see?
SOMEONE MANUALLY EDITED PROD AGAIN
IMO they deserve to be hit on their hands with a stick every time they even think of fucking with it.13 -
To the person that put the washing machine on at 4am, who hurt you? Coz I'm gonna be added to that list.16
-
Enough weaponised ADHD and ASD and I can do anything. As long as it's interesting. And doesn't take very long. And doesn't require dealing with people.8
-
why I say FUCK AI -
-> So much stupidity with "It will replace devs". Any dev who has more than 2 brain cells has had their issues with ChatGPT or AI knows that AI is not sufficient nor good enough to get even basic tasks done.
-> "It will be good in 5 years" - well then, talk to me after 5 years. I'm not buying a product or an idea on a "promise". I judge the tech for what it is today, not on what it can be in 5 years.
-> "Just trust me bro" - I see influencers suck that robot dick, but no explanations are given. What they say sounds to me like it's parroted off of general mass media. Nothing new to add nor any insight.
-> AI has issues that nobody seems to talk about. Hallucinations being the biggest of them all. ChatGPT tells you something, and you're supposed to take it as fact? That's too dangerous for a normal person.
-> Junior software developers are scared even to this day that AI can replace them. If they can't think for themselves, it falls upon us (or at least, me) to drive them in the correct direction or give them real opinions on what it is.30