Better HN
topnewbestaskshowjobs
Log inSign up

shortrounddev2

2,427 karma · joined Jun 15, 2023 (3y ago) · 1,641 submissions

Submissions

comment 3y ago · link · parent

I think it's just a jobs program. Many fields are being made redundant these days and STEM seems to be growing more and more. Public school officials have only one tool at their disposal to fix social problems: teaching. So they decide to fix the problem of jobs vanishing due to automation by trying to push every student toward the same path

comment 3y ago · link · parent

I think humanism is sorely missing in tech these days. I am not a fan of Apple's products, but I think that what is missing in design these days is humans at the center, which is what Apple used to do.

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

At my last company they asked me to find all the users who no longer needed access to our AWS account, as well as create a report for teams to review if each of their members needed access to the roles they have access to. It took a little bit to understand the IAM model, but I created dozens of reports for a few hundred engineers. Dead users were deleted, but literally nobody reviewed group access with the reports I sent out. Just one of many projects I did for a VP where there was no active demand for that project. VP was made redundant shortly after

comment 3y ago · link · parent

Line previews the URL remotely. You can verify this because Line's servers are in Japan and the preview will show Japanese text for sites that offer a Japanese version

comment 3y ago · link · parent

Microsoft created SAL so you can annotate pointers to instruct the compiler to put up warnings or even errors for null required fields:

    _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 null

comment 3y ago · link · parent

I found that I never used a standing desk when I had one, and the health benefits are dubious.

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

Most of my job involves reading bad code to understand what it's trying to do before I wedge some nugget of decency in there. The ability to understand the intentions of someone who has no idea how to express what they're trying to do is critical for maintaining other people's software

comment 3y ago · link · parent

Performance oriented code can be hard to maintain. Writing things in unintuitive ways to try to coerce the compiler into doing fewer instructions can result in code that's harder to read.

comment 3y ago · link · parent

"maintainable" code is disposable. Modern web stacks are built on the idea that you can delete a file and re-implement its interface with a different service behind it later on. Instead of writing code which will be easy to modify, write a good interface which solves your problems in a way that's easy to reason about, and feel free to write garbage implementations that will get "refactored" (thrown away) every year or so

comment 3y ago · link · parent

Most code is bad, so I think it would help to find some bad code to read

comment 3y ago · link · parent

OpenGL is far more beginner friendly than Vulkan. Vulkan (along with DirectX 12) is an API designed for professional graphics programmers, whereas OpenGL is a lot more accessible and manages a lot of state for you under the hood.

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

Stormfront has had its domain name taken away by its registrar, and I believe kiwifarms did as well (cloudflare says they provided ddos protection but not hosting, but other sites I see claim that cloudflare was also their dns provider)

comment 3y ago · link · parent

Using facial recognition to catch someone who's been getting away with a crime for decades. I would be opposed to using facial recognition in public like they do in China, but if we're just trying to flag potential fraud by matching two IDs with the same face, then I don't have a problem with that. It's not collecting any new data that the government didn't already have; it's just analyzing the data faster than a human could.

comment 3y ago · link · parent

I use them to almost exclusively to ask programming questions and generate boilerplate code, but not for really "intelligent" things. Usually if I don't feel like sifting through a few dozen bad search results in google I'll just ask ChatGPT simple questions

comment 3y ago · link · parent

No, but the 1970s proved that the economic policies of the progressive era came with a price tag: inflation. It took about a decade, but the Federal Reserve eventually found the balls to jack up interest rates and bring the party to an end

comment 3y ago · link · parent

That's really cool

comment 3y ago · link · parent

If they don't already have the tax base, they have nothing to lose by trying to attract Californian and New Yorker companies who weren't already there

comment 3y ago · link · parent

I fear that state governments will start imposing taxes on businesses which hire remote employees, but I also feel that will just drive businesses out of those states and into the midwest/south

comment 3y ago · link · parent

registrars can take your domain if they don't like you

1340.

Ask HN: Are Binary Logs a Thing?

2 points · by shortrounddev2 · 3y ago · 2 comments

comment 3y ago · link · parent

If it was an ad tech company that specializes in video then yes

comment 3y ago · link · parent

> Everyone should want the company to succeed

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

There are more companies. I also tend to abandon ship before the company folds. I left before the 100mil loss and subsequent layoff.

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

As the saying goes: if everyone around you is an asshole, you're the asshole.

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

the vast majority of workers do not internalize empathy for their company. They are there for the paycheck. You can either thrash against the entirety of the human race and demand that people lie to your face about how much they care about the company's goals, or you can create a system which takes advantage of the self-serving nature of your employees so that their goals align with your own

comment 3y ago · link · parent

I often dream of buying a farm, but I'm certain I would be very bad at farming. I can barely grow a house plant

comment 3y ago · link · parent

Ultimately, the main (or only) cost you have in a business is labor. Cutting costs means cutting the amount of work required to do something. If you invent a new technology which makes it faster to write or test code, then you need fewer people to achieve the same productivity.

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

Having grown up in Northern Virginia and lived in Richmond for a few years, I've found that Richmond city people spend an inordinate amount of mental power on their hatred of NOVA. By contrast, when I lived in NOVA, I literally never thought about Richmond.

comment 3y ago · link · parent

I saw this at my last company. We had to set 3 OKRs (goals) per quarter, and each OKR had to be measured by 3 KPIs. Changes to these after the first week of the quarter had to be approved by our managers.

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

How is it that, 200 or so years after the industrial revolution, there still is no consensus on the best way to measure labor/productivity? In software we spend a lot of time arguing over the best way to measure productivity and manage people to maximize it, but everything we do seems to come down to ideological adherence to systems of thought like SCRUM, or heuristics meant to approximate agile development without having to hire a SCRUM master. I would think that there would be some kind of economist who wrote the undisputed official textbook of measurement of productivity
1
444546
55