Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mrkeen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
331.
▲
by
mrkeen
9mo ago
They aren't there in asm.
332.
▲
by
mrkeen
9mo ago
Nah we know the punch-lines to this one. Worries about reduced quality of work are overblown, because there's always a human operator of the AI, reviewing the text between copying and pasting (no different from StackOverflow!). Enter
333.
▲
by
mrkeen
9mo ago
Any time I'm doing anything remotely to do with merging, I use 'git diff' or 'git difftool'. If I diff against master, I see changes in 300+ files, when I've only changed 5 (because other people have changed 30
334.
▲
by
mrkeen
10mo ago
I'm living the dream right now : -------- Let me check for a Directory.Build.props file instead, as it might contain the package versions: well are you doing it? I'll check for the Directory.Build.props file to see if
335.
▲
by
mrkeen
10mo ago
What setup are you using?
336.
▲
by
mrkeen
10mo ago
string reversal, integer negation or toUpperCase are classical examples of functions which will not compile as `a -> a` The function which will compile as `a -> a` is the identity function.
337.
▲
by
mrkeen
10mo ago
Where did you get that definition? "function that takes one argument and returns one value of the same type" is the identity function.
338.
▲
by
mrkeen
10mo ago
Sure, but this article's Result implements Ok(), Map(), and Bind()
339.
▲
by
mrkeen
10mo ago
> Muratori ... never actually shipped a game? Ahh, I was just thinking about this morning. Remember the Muratori v Uncle Bob debate? Back then the ad-hominems were flying left and right, with Muratori being the crowd favourite (a real p
340.
▲
by
mrkeen
10mo ago
What would change your mind regarding ruling out illegal structures? In an alternative universe, there could be n sentinel non-values, instead of a single null. There could be "null" ("I am initialising this memory as uniniti
341.
▲
by
mrkeen
10mo ago
Haskell does not have nulls. Java 8 introduced Options, and now there are nulls and Options. Please tell me you didn't just add SideEffects to a language full of side-effects.
342.
▲
by
mrkeen
10mo ago
Oh yeah, I'm not sure what an execution trace is, but ConcurrentHashMap is indeed fit-for-purpose for single-threaded use.
343.
▲
by
mrkeen
10mo ago
STM containers does it right. lookup :: k -> Map K v -> STM (Maybe v) insert :: v -> k -> Map K v -> STM () It won't execute until you wrap it with atomically, so you're forced to be explicit about whether
344.
▲
by
mrkeen
10mo ago
I've had mixed experiences with AMD. Back in the day - a bit after Linus told Nvidia to fuck off - I tried to get my Radeon 5850HD (i think?) working on Ubuntu. It was one of those things I spent the whole weekend (OS reinstalls real
345.
▲
by
mrkeen
10mo ago
public V get(Object key) { synchronized (mutex) { ... } } public V put(K key, V value) { synchronized (mutex) { ... } } public V remove(Object key) { synchronized (mutex) { ... } } > From a correctness standpoint, this strate
346.
▲
by
mrkeen
10mo ago
It's not that shared-xor-mutate magically solves everything, it's that shared-and-mutate magically breaks everything. Same thing with goto and pointers. Goto kills structured programming and pointers kill memory safety. We'
347.
▲
by
mrkeen
10mo ago
Share xor mutate, that's really all there is
348.
▲
by
mrkeen
10mo ago
Wearing seatbelts is critical for drunk-driving. All praise drunk-driving for increased seatbelt use.
349.
▲
by
mrkeen
10mo ago
I wasn't aware that an eraser became worse over time. It's my recollection that if it's a small red cylinder on the end of a pencil, it's terrible from start to finish. Compared to the standalone erasers (whitish and aro
350.
▲
by
mrkeen
10mo ago
Honesty is not the same thing as justified dishonesty. If you can paint him as a rational agent for lying, you can still be a rational agent and ignore his lies.
351.
▲
by
mrkeen
10mo ago
So you walked out of the free carpentry store holding Linux, a Go compiler, Git, etc. and now you're looking to build stuff to sell to other carpenters! Non-carpenters don't need microservice frameworks or app platforms. Plus ca
352.
▲
by
mrkeen
10mo ago
You pay the carpenter for his time and materials. The same thing could be true of software development. But instead you buy a table from Apple and it's only compatible with chairs from Apple. So you can't pay your local carpente
353.
▲
by
mrkeen
10mo ago
You've just built a calculator, and now you want to test it. Well, you have to push buttons on a calculator, so you build a robotic hand. And that hand needs a power source and some intelligence. And you need to photograph and OCR t
354.
▲
by
mrkeen
10mo ago
What is the image sharing platform's criteria for "entertaining enough"? Is it whether or not the message is an image?
355.
▲
by
mrkeen
10mo ago
This is so dramatic it's hard to recover the original complaint. Dansup has built a photo-sharing app on top of ActivityPub, and we humans are a lost cause because the app doesn't also do text-only messages? Is that the gist of it
356.
▲
by
mrkeen
10mo ago
That will be the case when Alice stands close to where C happens, and Bob stands close to where D happens. It's a little trickier to imagine introducing cause-and-effect though. (Alice sees that C caused D to happen, Bob sees that D c
357.
▲
by
mrkeen
10mo ago
In other words, >> I sorely miss it in Python, JS and other languages. They keep me guessing whether a function will mutate the parent structure, or a local copy in those languages!
358.
▲
by
mrkeen
10mo ago
>> I sorely miss it in Python, JS and other languages. They keep me guessing whether a function will mutate the parent structure, or a local copy in those languages! > Python at least is very clear about this ... everything, lists,
359.
▲
by
mrkeen
10mo ago
>> I sorely miss it in Python, JS and other languages. They keep me guessing whether a function will mutate the parent structure, or a local copy in those languages! No mention of references! I don't care about references to foo.
360.
▲
by
mrkeen
10mo ago
Right, but I don't care about the reference to foo (that's a low-level detail that should be confined to systems languages, not application languages) I was asking about the foo .
More ›