Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
twic
7mo ago
Even better, this method lets you pipeline into a parameter which isn't the last one: let result = input |> add_prefix_and_suffix("They said '", $, "'!")
62.
▲
by
twic
7mo ago
Well, those KZ ZS10 Pro X are still fairly cheap (40 euros), and i really like them. But there is a huge range of amazing value for money earphones out there. You just have to wade through dozens of pages of forum posts and Reddit threads t
63.
▲
by
twic
7mo ago
Right, you could use co-recursion. Or you could just use a queue.
64.
▲
by
twic
7mo ago
FWIW you can do a better job with the JSON structure than in the article: {"GreaterOf": [ {"Value": [0, "Dollar"]}, {"Subtract": [ {"Dependency": ["&#x
65.
▲
by
twic
7mo ago
You don't even need to specify a DSL to make that code declarative. It can be real code that's manipulating expression objects instead of numbers (though not in JavaScript, where there's no operator overloading), with the gra
66.
▲
by
twic
7mo ago
I think you're talking about microphonics: https://zikman.audio/blog/cable-microphonics-what-it-is-and-... Also sometimes called the stethoscope effect. I think strictly speaking, this isn't actually micropho
67.
▲
by
twic
7mo ago
> This solution looks extremely similar to the previous one, which is a good thing. Our requirements have experienced a small change (reversing the traversal order) and our solution has responded with a small modification. Now do breadth
68.
▲
by
twic
7mo ago
> It seems to be common knowledge that any recursive function can be transformed into an iterative function. Huh. Where i work, the main problem is that everyone is hell-bent on transforming every iterative function into a recursive func
69.
▲
by
twic
7mo ago
Stack Overflow does this and it works far better than arbitrary tyrant style moderation.
70.
▲
by
twic
8mo ago
VoltDB took this to an extreme - the way you interact with it is by sending it some code which does a mix of queries and logic, and it automatically retries the code as many times as necessary if there's a conflict. Because it all happ
71.
▲
by
twic
8mo ago
Usually, you can. But occasionally you get mildly defective tools that require some directory to exist, even though it's empty. It's easier to add a gitkeep than fix them.
72.
▲
by
twic
8mo ago
At first brush, everything about this sounds like overly ambitious vapourware. Is there a reason to think this is going to deliver? People involved, what's already shipped, etc? I particularly loved this from their roadmap: > Comple
73.
▲
by
twic
8mo ago
See also OpenRewrite: https://github.com/openrewrite/rewrite And i assume any large organisation running a monorepo has some vaguely equivalent tooling for making mass changes. Have any of them published about that?
74.
▲
by
twic
8mo ago
According to https://coccinelle.gitlabpages.inria.fr/website/ce.html : > Nevertheless, detecting the holding of locks requires a careful and occasionally interprocedural analysis of the source code, and the other co
75.
▲
by
twic
8mo ago
Oh, I also have a rule of not coding before 10 am, but that's because I'm drinking tea and thinking.
76.
▲
by
twic
8mo ago
It's not illegal to record members of the public without permission in the UK. The test is mostly about whether someone has a reasonable expectation of privacy, but there are all sorts of other considerations: https://sprint
77.
▲
by
twic
8mo ago
And now there's Lance! https://lance.org/
78.
▲
by
twic
8mo ago
I assumed it meant interest rate swap tenors. We need liquidity at the six year point!
79.
▲
by
twic
8mo ago
> The programmer first had to decide what properties they cared about... then also had to say explicitly what state they expected each field to be in. Yes, this is the point of testing. You have to think about what you're about to w
80.
▲
by
twic
8mo ago
Have you measured this, or is this just an opinion?
81.
▲
by
twic
8mo ago
No. For one, things in space are under the jurisdiction of the country they were launched from. For another, it's people that do crimes, not satellites or LLMs, and the people involved in making CSAM are all on Earth.
82.
▲
by
twic
9mo ago
I've never heard of that being banned. It hasn't been banned anywhere i've written Java.
83.
▲
by
twic
9mo ago
So they're cognates.
84.
▲
by
twic
9mo ago
Infinite cog glitch!
85.
▲
by
twic
9mo ago
Well, as the article says: > Per the statement, the large vessels were made to sail north from the Netherlands, around Denmark and toward the Baltic Sea. [...] Uldum adds that shipbuilders made the cogs as large as possible to transport
86.
▲
by
twic
9mo ago
If this stuff worked, then given that Microsoft has a huge share of it, shouldn't Microsoft's products be good? Or at least getting better. I use Bing most days [1], and it's consistently an absolute joke. [1] to farm reward
87.
▲
by
twic
9mo ago
Near me, the (nice but always too busy) Old Dairy is getting a cut, and the (mediocre Arsenal fan packed) Bank of Friendship and Arsenal Tavern are getting obliterated. God exists, and he supports Spurs!
88.
▲
by
twic
9mo ago
> the Lumix lenses are crippled on Olympus bodies Are they?
89.
▲
by
twic
9mo ago
There have been experiments to create higher vacuums in space, which have been used to grow semiconductor crystals: https://scfh.ru/en/papers/vacuum-in-the-wake/ https://en.wikipedia.org/wiki&
90.
▲
by
twic
9mo ago
Bear in mind that it's much, much harder to launder money through an automated car wash.
More ›