Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simonask
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
631.
▲
by
simonask
2y ago
Lots of musicians use iPads for their sheet music. Vastly superior to carrying around several kilograms of paper, and you can use head gestures to turn pages.
632.
▲
by
simonask
2y ago
It's not unique - C has it, and error-code-flavored C++ can emulate it too. ;-)
633.
▲
by
simonask
2y ago
Sure, but that's not really a great/feasible/possible workflow on mobile.
634.
▲
by
simonask
2y ago
I've been interested in Org Mode before, but the thing that always kills it for me is a good synchronization solution. Does anyone have any tips? I regularly access and update my notes on at least 5 different devices, and I often need
635.
▲
by
simonask
2y ago
Wait, what? Unsafe in Rust _is_ the actual benefit. That is to say, what `unsafe` does is that it allows you to implement a fundamentally tricky thing and express its safety invariants in the type system and lifetime system, resulting in a
636.
▲
by
simonask
2y ago
As a rustacean, I completely agree. A big chunk of the Rust ecosystem is obsessed with performance, and sees static typing as the way to achieve that. This approach generates extremely efficient code, but blows up compile times and creates
637.
▲
by
simonask
2y ago
Apple/iOS has market dominance in several places outside the US, including Japan, Canada, Scandinavia, and several other European nations. It has a slight majority in the UK. Android has worldwide dominance overall, but people tend to
638.
▲
by
simonask
2y ago
So far, the only actual support that has been required is to not actively sabotage it. That’s not a high bar. There does seem to be very substantial interest in RfL in the kernel, with the exception of a few maintainers generating a lot of
639.
▲
by
simonask
2y ago
So far, there's no proof that it "was never going to work", and ample circumstantial evidence that it does, in fact, work. There have been no serious technical obstacles, and no actual incidents where maintenance has become h
640.
▲
by
simonask
2y ago
As I understand it, the proposed patches do not "creep" into any other subsystem, but act as another user of the existing APIs, just like any driver using the C API.
641.
▲
by
simonask
2y ago
MAGA is a nationalist movement, so obviously it doesn't apply to the whole globe, but each country (in the West and elsewhere) have their own nationalist movements. I'm from Denmark, and we were first-movers in Europe on "ant
642.
▲
Show HN: Werk, a simple build tool and command runner
(simonask.github.io)
93 points
by
simonask
2y ago
|
17 comments
643.
▲
by
simonask
2y ago
Is it really easy to express if the straightforward way is buggy and error-prone? People think C++ is expressive because they think they are allowed to do a lot of things that they aren't, in fact, allowed to do in C++.
644.
▲
by
simonask
2y ago
Incidentally the reason people who actually know the first thing about either music or linguistics would never call it a language, and definitely not a “universal” language. It’s not universal, and it’s not a language, for any reasonable de
645.
▲
by
simonask
2y ago
Perhaps an argument can be made for things like instrumentation and arrangement, which was often outsourced to students even by the great composers. Writing out the score for a full symphony orchestra is very tedious, and quite repetitive w
646.
▲
by
simonask
2y ago
If we are ever in a situation where food security becomes a real issue in the EU - and that’s an almost unfathomably big if - then the first step would be to actually grow food for humans, instead of food for animals that are then exported
647.
▲
by
simonask
2y ago
In comparison, Denmark is currently at only 15% forest. This is up from about 2% in the early 1800s, back when ships were built from wood, and firewood was used for heating. Funnily, the slow and steady build-up during those 200 years was p
648.
▲
by
simonask
2y ago
Denmark is not even close to jeopardizing its food supply, even less its food security. It produces way more food than is needed to feed its own population.
649.
▲
by
simonask
2y ago
This is a type of fallacy. Denmark as a country is politically relatively powerless compared to China or the US, or even Germany, but each citizen has about the same or more power compared to each citizen in those larger countries. The fall
650.
▲
by
simonask
2y ago
The point of planting trees in Denmark is not to cut CO2 emissions. The point is to restore biodiversity and the health of the environment. I assume the situation is similar in countries like the Netherlands. Climate and environment are two
651.
▲
by
simonask
2y ago
By the last metric I saw, Denmark produces food for about 12 million people, and that's mainly animal products. Denmark has a population of 6 million. Cutting food production in half would not jeopardize food security. Switching focus
652.
▲
by
simonask
2y ago
Farm animal excrement is far from the whole picture. Fertilization is the main contributor (and animal excrement is used for that, but far from exclusively).
653.
▲
by
simonask
2y ago
This isn't really true. Growing a forest is way more complicated than you might think - they don't just sprout spontaneously, as trees take a long time to grow and are easily kept down by fauna, landscape, nutrient levels, erosion
654.
▲
by
simonask
2y ago
From an API design point of view, I would always encapsulate the logically mutable state in some type `Foo`, even if it doesn't literally own the memory, and then expose a safe API using `Mutex<Foo>`. Idiomatically, you would the
655.
▲
by
simonask
2y ago
Yeah, intuitively Mutex is actually one of the tools that you use to negotiate with the borrow checker (it's one implementation of "interior mutability", allowing conversions from immutable to mutable borrows by taking the lo
656.
▲
by
simonask
2y ago
It's kind of hard to tell how real your problems are without knowing which environment you are talking about, but it would be helpful to know where you have encountered these problems. I haven't seen them in any of the apps or OSe
657.
▲
by
simonask
2y ago
End buttons on scroll bars are a remnant from when scrolling was new. macOS has done away with them entirely. It's been decades since I interacted with one, so no, I don't miss them at all. So, I'm not denying that the situat
658.
▲
by
simonask
2y ago
Aren't we at a pretty good place with that stuff, though? It's rare to see the abominations that used to roam, especially in the Flash era. Web designers generally follow mostly the same principles and design language. Windows is
659.
▲
by
simonask
2y ago
Again, this feels like multiple problems that are problems regardless of whether unions are in the picture. Most of the world doesn't work like that.
660.
▲
by
simonask
2y ago
I'm also not American, but how can this not be obvious to you? Start with the January 6 coup attempt. Here's a list, though: https://www.washingtonpost.com/business/2020/10/29/trump-dem...
More ›