HN user

RUnconcerned

219 karma
Posts0
Comments61
View on HN
No posts found.
Just Use HTML 10 months ago

There's nothing stopping an HTTP API from returning both HTML and JSON from the same endpoint. Just have the client send "text/html" or "application/json" in the Accept header, depending on what it needs.

DHH switched from Mac to Linux and is in the process of experimenting with his setup, but since he's famous within tech, it's getting a lot of attention. There's really nothing special about it.

Malleable Software 11 months ago

In my first job I had to work with healthcare software and it horrified me. There is a standard for interop, HL7, but every system implements HL7 in its own special way so there are "integration engines" to massage the data so that they all conform to the same standard.

It's a gigantic grift.

As an european, the US doesn't appear to be very friendly to me, or rather, their friendliness is conditional on the EU acting like a vassal state (or vassal federation). The current US administration doesn't even pretend like that's not the case, but past administrations acted like this as well.

China seems very much like a more straightforward and predictable trading partner.

The one exception I'd say in the UK are MG EVs, which for some unknown reason some of my fellow Brits have some sort of affinity to as a brand.

I have news for you about MG, it's been a Chinese company for almost 20 years now.

Ironically, the author could well benefit from running this slop through an llm to make it more professional.

Have you considered that it is not the intent of the author to appear professional? That running it through the Slop Generator would obfuscate their intent to be snarky towards those who outsource all their thinking to Slop Generators?

The majority of people care about the quality of their work when they are starting off. Not caring is a learned behavior. When you repeatedly get reprimanded for it, you learn not to care as a way of protecting your mental health from taking even more damage.

It's because what you see as the inferior approach involves less effort and friction for the developers.

When you are told to separate general code improvements to another PR, or worse, to not do them, and create a Jira task for them so they can be adequately prioritized, it just saps your will to do so. You just won't do any improvements that fall outside the scope of the feature, because even just thinking about the hoops you have to jump through to get work done is mentally draining.

LumoSQL 1 year ago

Your best answer for "a much more useful world" is... easier development of crypto gambling? That sounds like an actively worse world to live in to me, to be honest.

I dunno about what you wrote, but here is one that clearly violates what OP said!

https://godbolt.org/z/Y4Yjb7z9c

clang notices that in the second loop I'm multiplying by 0, and thus the result is just 0, so it just returns that. Critically, this is not "exactly and only what the programmer specifies", since I very much told it to do all those additions and multiplications and it decided to optimize them away.

Why F#? 1 year ago

could also be "4" or 4! 4 seems like it would be the most evil option, honestly

This is primarily for computer chess, where the draw rate is even higher than in super-GM level chess. It's an alternative to having engines play from a preset position where one side starts with a significant advantage, which is what usually happens in computer chess tournaments. It's essentially the subset of Chess960 positions that don't need modifications to the castling rule, and thus should work on all engines without requiring any changes to the code.

This was developed mostly for computer chess, where games are often played starting from preset positions, where one side already has a significant advantage. The top chess engines, when playing each other from the regular starting position, which is very equal, will almost always draw (especially in time controls where they have an increment of one second or more), so we humans have to force them to play lines that they would never go into so that the games aren't all draws (and while some games can be exciting and still drawn, that is not the case with most of the lines the engines will pick when playing from the start position).

This is essentially just a subset of the Chess960 positions that don't require any modification to the castling rule.

Actually, when literal communists run your government, you become China-rich, as OP put it. Contrast China's economic development with that of India's post 1950.

Imperialism is when you take all the resources capitalists poured into your country because you had horrendously low labor costs and use them to develop yourself into an economic superpower rather than meekly continuing to be the factory for cheap crap for western nations. Got it.