Better HN
topnewbestaskshowjobs
Log inSign up

grumpyprole

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

Submissions

comment 5y ago · link · parent

> it hasn't been worth your time for at least two decades to spend even 10 hours a year repairing a machine more than about 3 years old

I replaced the battery in my X1 Carbon using a screwdriver in about 15 minutes. No significant downtime or hassle.

> You could build and script ffmpeg to transcode all your FLAC files to ALAC

Hardly "Just Works" though is it? I might as well stay on Linux...

comment 5y ago · link · parent

Sure the CPU is great, but the hardware is just too unrepairable and disposable. The software is also too much about Apple lock-in. For example, Apple Music can't even play FLAC files.

comment 5y ago · link · parent

> I know that’s not an accurate representation of the UK.

Actually that's pretty accurate, from someone that lives here. There are some good points though, like basic human rights (e.g. abortion), which one cannot take for granted.

comment 5y ago · link · parent

I've mapped Ctrl to the big middle-lower thumb key on both sides; and Alt to the smaller middle-upper thumb key also on both sides. Space is right thumb rightmost big key, backspace is left thumb leftmost big key. Windows key and Delete are small keys; and do require a bit of a reach of the thumb. But I don't use them much (e.g. for delete, I'll do Ctrl+D). Enter I put in its usual place (i.e. not a thumb key). In Emacs I use Ctrl and Alt more than Enter, Space and Backspace. And I like to press them with opposite hands like shift, hence I have them on both sides. This helps avoid stretching.

When exported as a text file from the Advantage2, my mappings look like this:

  [=]>[`]
  [tab]>[\]
  [caps]>[tab]
  [up]>[down]
  [down]>[up]
  [`]>[=]
  [lalt]>[lwin]
  [ralt]>[delete]
  [\]>[']
  [lctrl]>[lalt]
  [delete]>[lctrl]
  [rctrl]>[lalt]
  [enter]>[rctrl]
  [']>[enter]

comment 5y ago · link · parent

> Is the kinesis sufficiently wide enough? I use my split board slightly wider than shoulder width.

It's definitely narrower than my shoulder width, but I don't mind the slight turn-in of my hands, my wrists are still straight. I can still rest my elbows on the chair arms and type.

comment 5y ago · link · parent

> I'm typing this on a ZSA Moonlander, which after the month or so of getting used to, I am never going back to a non-split, non-ortholinear keyboard again.

For me personally, the concave keywells of the Kinesis Advantage 2 are much more important than having a split. I guess because the fixed setup of the KA2 is just right for me. The concave wells mean that I do not have to stretch or move my hands for any of the keys. In Emacs, using "n" and "p" for next and previous requires no stretch at all using the KA2. My hand can stay completely relaxed while having one finger resting on n and one resting on p. The thumb clusters of the KA2 are also well suited to Emacs. I map Ctrl and Alt on both sides, so I can always choose an opposite-side thumb to press the modifier. I can also press both Ctrl and Alt simultaneously with my thumb, on either side. I would have given up on the default Emacs keybindings years ago if it were not for my KA2. I have one for work and one for home. It is by far the best keyboard I have ever used.

comment 5y ago · link · parent

That's pretty good considering Koka is a high-level language like Python and JavaScript.

comment 5y ago · link · parent

Modern machines are essentially distributed computers, multiple levels of cache per core, RAM allocated per core. The flat shared memory address space is an illusion. With such an architecture, immutability and not exposing pointers is a very reasonable approach for many parallel/concurrent workloads. It enables many optimisations.

An algorithm written for such an abstraction is also much more easily adapted to work across multiple machines (e.g. map-reduce).

comment 5y ago · link · parent

If Java had anonymous (structural) records, then named arguments could just be a function with a parameter that has a record structural type. It could even be given syntactic sugar, something like:

foo{ bar=true, baz=true }

comment 5y ago · link · parent

As they will need to be retrofitted just like Java had to do, yes I'm sure there'll be warts. Had they been considered from the start, I'm sure it could have been much simpler.

comment 5y ago · link · parent

"Generics" or parametric polymorphism, first appeared in the 70's. So I don't think including this with Go 1.0 would have been rushing!

comment 5y ago · link · parent

> So generally, to use your example, a non-ECC processor is a regular processor "who's" ECC logic has failed and is inoperable.

I find that particular statement, very hard to believe.

comment 5y ago · link · parent

People need to be familiar with both approaches. And there's sillyness on both sides. I've seen influential imperative OOP programmers on stackoverflow model a bank account using a single mutable variable, even when they surely know accountants use immutable ledgers.

Most imperative languages since Fortran contain declarative elements, otherwise we'd be adding numbers with side-effects. Similarly most FP languages offer imperative programming. But the real power from FP comes from it's restrictions and yes, query languages are one such (excellent) application. Config languages and contract languages are others.

comment 5y ago · link · parent

Is this anecdotal? I had two sandisk cards die in a Samsung Galaxy phone in succession. I've never had a problem since I switched to using Samsung SD cards.

comment 5y ago · link · parent

The irony is, not even the world's best mathematicians and engineers could safely predict what JavaScript would do when summing two arrays.

comment 5y ago · link · parent

Rust seems very popular despite also being bleeding edge. I am surprised there isn't more public industry interest in ATS, it looks very principled and well designed.

comment 5y ago · link · parent

Do you have a reference? The screenshots look like Gnome.

comment 5y ago · link · parent

IMHO, this is a great example of what a Gnome desktop should be like, at least by default. The rest of my family might actually be able (and willing) to use this.

comment 5y ago · link · parent

The adverts probably don't contain any "facts" that can be easily disproved. Broad statements like "fossil gas can be green" are what you will find, but it's propaganda none the less.

comment 5y ago · link · parent

These were adverts from large corporations that Facebook published on their platform, not user content.

comment 5y ago · link · parent

There's nothing Haskell specific about those concepts. In fact, the first three where developed by mathematicians long before Haskell even existed.

comment 5y ago · link · parent

Can confirm, as a father of two kids, I get no time or energy for projects. I used to get two 30 minute train journeys pre-covid. I'm not at all unhappy with this situation, but do still occasionally wish I had done more when I was younger.

comment 5y ago · link · parent

It sounds like the original question was just badly worded. It should have read "Show how it is possible to determine the height of a tall building using only a barometer.". The other answers, while not incorrect, do assume the availability of additional items such as rope and watches.

comment 5y ago · link · parent

I think this is an Intel "feature". They can't upsell you faster CPU's without trading heat and noise. Glad to see Apple is following a much more sensible approach.

comment 5y ago · link · parent

Yes, I like YouTube, but it was great even before Google bought it. Now it does come with privacy concerns. Luckily, there are other similar offerings.

comment 5y ago · link · parent

Actually much of the "hardware advances" were engineered with public money: internet, GPS, GSM, GPRS, battery, touchscreen etc. Big tech certainly takes more than it gives back in taxes. Even worse, some are polluting the planet with their unrepairable e-waste.

comment 5y ago · link · parent

You forgot to also mention that he was the original author of the Java 5 compiler which Sun took over. He is definitely not a guy in an ivory tower, almost the exact opposite in fact. But ivory towers are not necessarily bad. It was precisely an ivory table that gave us Lisp and Haskell. Lisp's Garbage Collector was a big influence on the original Java. And Java's chief architect has specifically mentioned Haskell as his influence in the future of Java.

comment 5y ago · link · parent

I find Scala a bit of an anomaly though, yes it was created by a university professor, but it was clearly designed for mass adoption - even down to the curly braces (although they are backtracking that decision now). I have lot of sympathy for this approach, but I think it has also been the underlying cause of many of their problems.

comment 5y ago · link · parent

> Laws of physics place hard limit on your speed, they don't do that for lifespan of your engine.

That cannot be true. Nothing escapes the laws of physics. It obviously depends on the engine, but for example current electronics have a lifespan of only a few decades. Even the half-life of DNA might be a problem, depending on the hibernation method.

comment 5y ago · link · parent

> And all that was supposed to be read into.

Of course not, I am however attempting to explain in detail why such sacrilegious "blame Agile" comments might be made.

> If anything, that deserved even more patronizing replies.

I am highly suspicious of anyone who is so certain of their position, we should all be riven by doubt!

1
232425
69