Better HN
topnewbestaskshowjobs
Log inSign up

grumpyprole

4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions

Submissions

comment 3y ago · link · parent

I couldn't think of a worse teacher than a pathological liar. Just use an online textbook search or talk to a suitably qualified human.

comment 3y ago · link · parent

Jooq is not a good example as it is essentially dynamically typed. Queries on the relational algebra can be statically typed, with structural typing and a few type-level features like sets. There are lots of papers on this.

comment 3y ago · link · parent

I was just trying to combat the common narrative that static types are "what Java has". There is so much potential for static typing that has not been explored by industry (e.g structural typing).

comment 3y ago · link · parent

I'm not downplaying anything, it was the parent who was dissatisfied with static checking of reverse. Personally, I think any static checking is better than none at all. Statically typed languages are perfectly capable of checking additional contracts/properties at runtime too (as Clojure does).

comment 3y ago · link · parent

> the type signature of your stereotypical statically typed language, e.g. reverse :: [a] -> [a], doesn't have a much information content.

It's a little bit unfair to imply any alternative to bleeding-edge clojure is going to have a simple 70's Damas-Milner type system. Today, static types can describe a lot more. Refinement types (e.g liquid Haskell) and/or dependant types (e.g. Idris or Agda) can describe and enforce the desired properties for reverse statically.

comment 3y ago · link · parent

It can certainly create cheap output, but it doesn't create correct output. AI is being used for many use cases where correct output should be the requirement (e.g. Quora answers). Blockchain resulted in a lot of fraud, AI is going to result in a lot of misinformation.

comment 3y ago · link · parent

> Funny how we have exact opposite experiences.

Just a crazy thought, but perhaps the parent was trying to connect to a device not created by Apple?

comment 3y ago · link · parent

There is absolutely no contest between an open-back audiophile Sennheiser like HD600 or HD800 and any ANC headphone. I own both these headphones and formerly a Sony MX3. The MX3 is also beaten in sound quality by a Sennheiser Momentum 4. The default sound of the Sony was frankly awful, bloated bass (+5db) that bleeds into the midrange, almost certainly not what most artists intended. They were better with EQ, although still muddy and the built-in EQ didn't work with LDAC. So I never bought another.

The HD800 are the best pair of headphones I have ever owned. Incredible soundstage and imaging. They are probably the best anyone could ever do with dynamic drivers. I have a lot of music that I save for these headphones, never wanting to play on the go via Bluetooth. My HD600 are still going strong (having been purchased in the early 90s), thanks to a quality product and availability of spare parts. Sennheiser are a fantastic company and I hope they keep making headphones.

comment 3y ago · link · parent

If it were only that simple. Often one needs to be at least a team lead to set the technical direction. As an IC, I sometimes found myself being asked to implement a solution in a form that I did not agree with.

comment 3y ago · link · parent

My first CPU, the 6502, also used in the Apple II, had approx 4500 transistors!

comment 3y ago · link · parent

All the above sounds great but costs money. In the UK, the ruling class have consistently cut school budgets in real terms over decades. For example, music lessons are 30 to 1, sing or bring-your-own plastic recorder. For sports day, my child wasn't in the top few of the class that got to actually run on the last patch of grass that hasn't been sold off.

comment 3y ago · link · parent

Lots of performance benchmarks but no measurements for power efficiency. Granted this is not easy, but it's more of a requirement than developing more performance benchmarks IMHO. My guess is that most people would rather Chrome improve power efficiency as a priority, which is why many use Safari on the Mac instead of Chrome.

comment 3y ago · link · parent

Each to his/her own. I've been programming since the 80s and still find C and C-style languages the weirdest of all.

comment 3y ago · link · parent

Compiling to LLVM IR is much easier than machine code and would still be satisfying I think.

comment 3y ago · link · parent

Agree that compiling to at least a bytecode is preferable. If we don't mind dealing with only expressions or reading Haskell, this one is even tinier: https://tinyurl.com/47stkzvv

comment 3y ago · link · parent

+1 The HP laserjet that I bought 5 years ago turned out to be a piece of junk. The software was also awful, it would often randomly crash, reboot itself and make lots of noise. Using a Canon Maxify inkjet now, much better machine and much cheaper to run.

comment 3y ago · link · parent

Irix had vector icons that could be dynamically scaled. At the time I thought it was much more futuristic than Windows.

comment 3y ago · link · parent

There used to be lots of issues with rotating the screen, many apps would lose UI state almost as if everything was torn down and rebuilt. Never looked at the code but guessed it was never designed to be an iPhone.

comment 3y ago · link · parent

I call it "novelty budget" and I completely agree.

comment 3y ago · link · parent

Americans also mostly don't study programming language theory (PLT) (unless they are lucky enough to attend e.g. Carnegie Mellon). A lot of the focus is on algorithms - which is a great shame. The majority of programmers will be consuming/creating APIs and abstractions, not implementing algorithms. PLT would be much more helpful here.

comment 3y ago · link · parent

Even better would be to try F#, it will be able to use all the .NET libraries, has Python's succinctness, but with a strong type system (and inference).

comment 3y ago · link · parent

On the contrary, the "hallucinations" are often very hard to spot without expert knowledge. The output is often plausible but wrong, as shown by Knuth's questions.

comment 3y ago · link · parent

> fractal spiral of hardware and software abstractions

I've often used "onion", but this is much more accurate :)

comment 3y ago · link · parent

Did ChatGPT generate that "What's New" article? Not exactly exciting for a human: "quality improvements to the overall Windows experience in existing feature areas"

comment 3y ago · link · parent

> This performance is not a problem if the app is small or the app already redraws every frame like a video game.

Seems to me like immediate mode UIs were dismissed rather too quickly. Why not update a DAW UI like a video game? It has similar realtime requirements.

comment 3y ago · link · parent

But it's a derivative in the same sense that Linux is often called a derivative of Unix.

comment 3y ago · link · parent

This is FUD. Samsung promise 5 years of security updates and 4 OS updates:

https://news.samsung.com/global/samsung-sets-the-new-standar...

1
101112
69