Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lilyball
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
331.
▲
by
lilyball
4y ago
You can replace `cat file | cmd` with just `cmd <file` though. `cat` is still useful if you need to concatenate multiple files, but when using it just to feed stdin, actual stdin redirection is better. Even when trying to say something l
332.
▲
by
lilyball
4y ago
IIRC it required basically two separate implementations of the data structures, one that could be constructed at compile-time and was less efficient than the one that could be built at runtime. And the need to support both was becoming a pr
333.
▲
by
lilyball
4y ago
Regex used to offer a regex!() macro that did compile-time compilation, but this was removed a while back as it was too much of a maintenance burden and was getting in the way of performance optimization.
334.
▲
by
lilyball
4y ago
I've always wanted an excuse to use this but never had a reason. The closest I come is using Nix, and I know there is a Dhall-to-Nix compiler, but Dhall can't represent everything possible in Nix I haven't seen any good reaso
335.
▲
by
lilyball
4y ago
> Or allow a leading comma This actually works just fine.
336.
▲
by
lilyball
4y ago
Is it? My takeaway is "oh cool, first-class types". Experimenting with this, I can write the following: let ConfigOf : Type -> Type = \(type : Type) -> {- What happens if you add another field here? -} {
337.
▲
by
lilyball
4y ago
It can't be a syntax error though as it evaluates successfully as demonstrated by the right-hand side.
338.
▲
by
lilyball
4y ago
State machines can often be implemented with a set of functions that each handle a single state and then tail-call into the function for the next state.
339.
▲
by
lilyball
4y ago
They said they ran a dry-run. What did that do, just generate these diffs? I would have expected them to have some way of simulating the network for BGP changes in order to verify that they didn't just fuck up their traffic.
340.
▲
by
lilyball
4y ago
Oh no, web3 is almost purely greed. The entire point is to financialize everything possible and try to make money off of it. It's a truly horrific idea, one that enshrines "those with money make the rules" even moreseo than c
341.
▲
by
lilyball
4y ago
Confirmation bias. You only hear about the people doing greedy shit. The people who aren't being greedy don't usually make the news.
342.
▲
by
lilyball
4y ago
People want to believe, because if they don't then it means they were wrong to believe in the first place. Faith is irrational.
343.
▲
by
lilyball
4y ago
If you won't click through it, then why do you want the browser to let you click through it?
344.
▲
by
lilyball
4y ago
If you're being MITM'd then you'll get a certificate warning. If it's easy to click through those then it's easy for MITMs to read or modify the request.
345.
▲
by
lilyball
4y ago
Yes, but you'd have to generate that dummy value upon creating the real value, and then pass it along with the real value so it's available to the spot that needs to consume it. This would ultimately end up being just a much more
346.
▲
by
lilyball
4y ago
Cash has a negative yield, because rats and other vermin nibble on it.
347.
▲
by
lilyball
4y ago
> I wasn’t even aware node-red could interface with HomeBridge. It's actually kind of horrifying. There's a Node-RED module that uses the hap-node-client library, which is designed to talk to the hap-nodejs library that power
348.
▲
by
lilyball
4y ago
And what do "developers" expect from it? Because as a user I certainly remember that it used to be very common for website layout to jump around in an aggravating fashion when hiding the address bar. These new units do not indicat
349.
▲
by
lilyball
4y ago
> The learning curve is steep, it has a bunch of rough edges (it's still not reached a v1 as of the time of writing), you end up living in YAML and by any reasonable measure, it's only usable by geeks who are happy living in a
350.
▲
by
lilyball
4y ago
My initial motivation is twofold: 1. I'm trying to add some better automation than what HomeKit directly supports. I've been experimenting with Node-RED, but having Node-RED talk to Homebridge is terrible. I don't know how mu
351.
▲
by
lilyball
4y ago
What spec? I just looked up what the issue is with vh on mobile and the very first resource I found talked about how the spec isn't clear on how it's supposed to behave in the presence of movable chrome, like the address bar on mo
352.
▲
by
lilyball
4y ago
I've been using Homebridge and I'm currently in the process of switching over to Home Assistant. Homebridge has been very useful for what it does, but it's also very limited. I haven't fully committed to it yet but it&#x
353.
▲
by
lilyball
4y ago
You don't need to say "not interested" to get rid of a niche that you watched a little bit of a while ago. You just need to stop watching those videos. The "not interested" option certainly speeds up the process, bu
354.
▲
by
lilyball
4y ago
You don't need to detect it quickly. TikTok lets you explicitly say "Not Interested" on a video, which is really handy if you end up watching too much of it while trying to figure out what the video is about.
355.
▲
by
lilyball
4y ago
> I don't see a way to split the difference between ⌘N for a new terminal window and ⌘N for a new application window. It has to do one of those things because it can't to two, and speaking personally, I want it to open the new
356.
▲
by
lilyball
4y ago
Interesting, I hadn't seen CSI-u mode before. It looks like it's a toggle for the whole profile though, rather than something the CLI tool can opt in to, which means it will break any tools that expect existing keys like C-M-e to
357.
▲
by
lilyball
4y ago
Command on macOS doesn't work, ctrl+shift doesn't work, ctrl alone doesn't work with most non-letters, etc. Terminals typically let you add explicit key mappings but that's really tedious and you have to map each individ
358.
▲
by
lilyball
4y ago
TUIs cannot have full use of modifier keys as the full set of modifiers is not sent to processes running in a terminal. As for the OS task switcher, if everything is a TUI then you only have one app, which is your terminal, and so your OS t
359.
▲
by
lilyball
4y ago
> Synthetic stablecoins are the most important technology of our time and a very large step for our species to organize ourselves. What do you mean by this?
360.
▲
by
lilyball
4y ago
Some terminals have custom protocols for displaying images. The real achilles heel is they're not accessible. There is no terminal protocol for denoting actual objects being drawn in the window such that they can be exposed to accessib
More ›