2,427 karma · joined Jun 15, 2023 (3y ago) · 1,641 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
There's a story that Steve Jobs wanted to limit the size of the first iPhone so that you could reach any part of the screen with your thumb, holding the phone in one hand. Today, I am typing this with two hands on my phone.
It feels like in those days (the mid 2000s to mid 2010s) technology was built to serve human needs. It now feels like humans re-orient our desires around what technology now has to offer. Flat UI is the perfect example of this: I have seen studies that show that flattening UI makes it harder for users to find their way around a page. "Next" buttons are less obvious and the user wanders with their mouse, or clicks the wrong item.
Compare this with the skeumorphic design of mid 2000s Apple, where buttons were meant to approximate real life 3 dimensional things, with their glossy design adding depth to the screen. Many look at this design and flinch at the kitsch as a reflex, but I think it's emblematic of how technology used to try to fit itself into our world, rather us trying to fit ourselves into tech
comment 3y ago · link · parent
comment 3y ago · link · parent
_Success_(return) //out parameters should be set if this returns true
bool tryGetValue(
_In_ Map const* map, //pointer is for input only and cannot be null
_In_ char const* name,
_Out_opt_ Data* value //pointer is for output and can be null
);
If you pass null for _In_ params, the compiler will warn or error. You return true without setting the _out_opt_ parameters, the compiler will warn or error. You can pass null to _out_opt_, and the compiler will warn or error if the function body doesn't properly check if the parameter is nullcomment 3y ago · link · parent
I bought a decent Microphone (jlab talk pro) and a $200 Webcam (Logitech brio 4k). Since all of my interactions are over Webcam I wanted to have something better than the default laptop Webcam. Also I do my work on a desktop
I would also recommend building a PC. I run several docker containers at once and the company issued MacBook pro is very sluggish with this. I built my own PC with lots of ram and (what was at the time) a good cpu.
Also, learn about different kinds of house lights (ambient, task, accent) and get some RGB LED light bulbs so you can control the light level of your home effectively. I have some Ikea lights which light up the whole apartment during the day, but if I'm up late working, I only have a warm LED light on a spring arm lamp over my desk that I use. Some people light to get lights that attach to their monitors and point at your desktop
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
And, to save you some time with debugging, use RenderDoc to debug your graphics pipeline: https://renderdoc.org/
https://learnopengl.com/ is my favorite beginner resource for OpenGL
---
as an aside, I like DirectX better than OpenGL, but you said Linux, so...
comment 3y ago · link · parent
1340.
Ask HN: Are Binary Logs a Thing?
2 points · by shortrounddev2 · 3y ago · 2 comments
comment 3y ago · link · parent
The company has no interest in my success, why should I care if the company succeeds? It has no effect on me if it does.
"That's my only real motivation is not to be hassled, that and the fear of losing my job. But you know, Bob, that will only make someone work just hard enough not to get fired"
- Office Space
comment 3y ago · link · parent
Additionally, at such a large company (1500 people), my individual efforts have little to no effect on whether or not a multinational corporation goes under.
comment 3y ago · link · parent
If you create a system which is abused by 100% of employees, that's on you. Everyone who works at a company does so for their own personal benefit. You can moralize about it if you want, but I doubt you would work for a company if it didn't provide an incentive structure of some kind.
> why not go back with ideas to improve it
I was a junior developer working for a 1500 person company. What should I do, demand an audience with the CEO, who lived in a different country?
comment 3y ago · link · parent
comment 3y ago · link · parent
Of course AI was about cutting jobs; you cannot cut costs without putting a dent in someone's employment somewhere. We should stop allowing people to lie about this and instead hold a percentage of their increased profitability accountable by taxing it and redirecting it to basic income.
comment 3y ago · link · parent
Our CEO had the philosophy that if you achieved 100% of your goals every quarter, you weren't being ambitious enough. As a result, we would stop logging progress at ~80% of our goals, which was the threshold to qualify for your bonus
However, scope on projects would change during a quarter, and sometimes the VP would become distracted by another shiny new thing and make us start on his new pet project. As a result, some OKRs were abandoned and would remain at 0% by the end of the quarter.
Now, no manager (especially an engineering manager) wants to be a bad guy with his employees, so my boss often just changed our OKRs (or, if we only achieved 50% of our KPI, would lower the KPI's target) on the last day of the quarter so that we would all qualify for a bonus.
The company was losing 18mil a year and was sold to our competitor at a 100mil loss for the parent company
comment 3y ago · link · parent