Better HN
topnewbestaskshowjobs
Log inSign up

toolslive

2,904 karma · joined Mar 28, 2012 (14y ago) · 1,239 submissions

Submissions

comment 1w ago · link · parent

I used to do this, but I kept the project topic (a chess engine) constant. I built this in 6502 assembly, Pascal, Prolog, C++, Java, Python, OCaml, Rust. It's also quite interesting to see where the strong/weak points are of every language.

comment 1w ago · link · parent

if you just dump the decrypted memory, you're not "picking the lock" so you should be safe. (don't believe me: IANAL)

comment 1w ago · link · parent

This has been done before: https://en.wikipedia.org/wiki/Xeon_Phi

comment 2w ago · link · parent

Belgium. I have solar panels, a battery (Pylontech, not Tesla), and an electric car. Summers are cheap, winters are less expensive than they used to be. The market is asymmetric. If I push onto the net, I get 33% of what I pay when I pull. I also have to pay a fixed cost to be able to do this. I'm currently considering another battery, and maybe cryptomining or so. Selling my electricity is just not worth it.

comment 2w ago · link · parent

in the EU, this is considered FAIR (Findable, Accessible, Interoperable, Reusable) data. You can just find this on govt portals.

comment 2w ago · link · parent

"...he should have turned on his fucking brain...". That's exactly what he did.

comment 3w ago · link · parent

In Belgium too. But it came from the habit of making the second and third name the name of the godparents, combined with so many women being named Maria. And yes, godparents are a Christian thing.

comment 3w ago · link · parent

indeed: https://en.wikipedia.org/wiki/Caspian_Sea_Monster

comment 1mo ago · link · parent

Satanic? never assume malice where incompetence suffices

comment 1mo ago · link · parent

More and more, this has been weaponised: "No, we're not evil! We never intended for this to happen. It was just an accident" Is something I hear too often

comment 1mo ago · link · parent

Not only that: `-ffast-math` might change the result of flops when the arguments are regular floats too. (It abandons IEEE754 compliance)

comment 1mo ago · link · parent

C was 1972, and golang was 2007. It's not that no new concepts <cough>exceptions</cough> were discovered in between. A pen is more elegant than a chisel.

comment 1mo ago · link · parent

probably the:

  ```
       ...
       bla, err := doSomething(...);
       if err != nil {
           ...
       }
       ...

  ```
pattern.

comment 1mo ago · link · parent

2 things. - meter rolling backward: it's completely gone. You cannot refuse the replacement and they have ben replacing them since 2021.

- I was wrong: the asymmetry is a factor 6 iso a factor 3. :(

comment 1mo ago · link · parent

Here in Belgium, there's "a bit" of asymmetry: the price per kWh I pay from the grid is roughly 3 times of what I get when I inject. I also have a fixed cost per year to have the right to inject. I knew this before I installed solar and have a home battery, so it only happens during summer.

comment 1mo ago · link · parent

In Belgium, Stella is fully accepted, contrary to fe "Cristal" or "Maes". Of course, it's no "Jupiler".

comment 1mo ago · link · parent

get a "Stella 0.0" and tell me it tastes terrible.

comment 2mo ago · link · parent

it was called "Slow arse". This was because it was rather reluctant in handing out resources (memory fe). Having fought it, I remember the system APIs being really well defined and picky (which was good). At one point, the C compiler had some identity issues "am I 32 bit, or 64 bit?"

comment 2mo ago · link · parent

There also was the Corsican wildcat[0] which briefly was a new species and now has "uncertain taxonomic status" (whatever that may mean).

[0] https://en.wikipedia.org/wiki/Corsican_wildcat

comment 2mo ago · link · parent

pattern is there: first hit a public place (market, ...), then when people are scrambling to help, hit them again. "double-tap". Seen in Gaza, Ukraine, Syria, Yemen, ... It's quite cynical, the topic has its own Wikipedia page:

https://en.wikipedia.org/wiki/Double-tap_strike

comment 2mo ago · link · parent

your body needs exercise or you end up an obese couch potato. Your mind is similar: it needs exercise or you end up a dunce.

comment 2mo ago · link · parent

yes. but most of it is not to other countries. Most government debt (over 80% globally) is privately owned through sovereign debt instruments like bonds.

comment 2mo ago · link · parent

Humans are so good at pattern recognition it's uncanny. Back in the modem days, most people automatically recognised the most important phases of downloads because of the way they sounded .

comment 2mo ago · link · parent

Our knowledge is an inflating volume. New knowledge gets acquired at surface level, and the surface is ever growing.

comment 2mo ago · link · parent

I have the same. I'm looking at my laptop's screen as I type this, and if I close my eyes while typing I cannot even visualise said screen. Now, I can blind-type, recognise faces, navigate aso without any problem. I can even play chess quite well (fide ~2050, 2200 blitz on chess.com), but I cannot visualise a chess board, nor can I visualise my moves or the moves of my opponent.

However, I don't "see" (pun intended) it as a problem. On the contrary, I'm not wasting cycles on irrelevant details while I'm thinking.

comment 3mo ago · link · parent

maybe, it's the other way around: If you search for one, and you find one, then your system is not complex.

comment 3mo ago · link · parent

the halting problem?

comment 3mo ago · link · parent

One of the problems with running the application code inside the database server is that you need to make application developers use the programming language(s) you prepared for them. The other is that you need to trust them to not do crash out, or do infinite loops. Good luck moving application developers from their choice into the right choice.

comment 3mo ago · link · parent

tangential: I still remember how disappointed I was in PCs being used to a C64 (which was released in 1982) The quality of the games & sound effects was just not on the same level (C64 being much more advanced)

comment 3mo ago · link · parent

> "guardrails matter" This thing has been solved in the 70s. Basically, have a powerful type system, and a compiler that beats you into submission when you try to stray from the straight and narrow. Languages like (S/OCa)ML, Haskell and Rust will bring this to you. As a consequence, you fight the compiler, and once it submits, you have a good chance it's going to work. The compiler is also the ultimate refactoring tool here. Change the concept? Just change the type in the code and follow through by fixing the error messages the compiler spits out.
12345
42