Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pzmarzly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
pzmarzly
2y ago
This is great! I used to install micro[0] as "nano with better shortcuts", but it was always a bit of an overkill, so I'm really happy with this change. One quirk that remains: even with --modernbindings, Ctrl+X and Ctrl+C wi
152.
▲
by
pzmarzly
2y ago
I was caught by this surprise pricing once, so I'll explain: printing a boarding pass at the airport is €20, but that's only if you have checked in online beforehand. But checking in in-person is €0 only if there's more than
153.
▲
by
pzmarzly
2y ago
AFAIK /sites subpath is mostly for articles made by "Forbes Contributors". How does one become one? You need to be invited by one of employees[0], but then it seems you can publish whatever with little editorial oversight[1].
154.
▲
by
pzmarzly
2y ago
libcurl supports HSTS, but the client has to specify a file where the state should be stored https://curl.se/docs/hsts.html Many languages/libraries use libcurl in some shape or form, but whether they set up an on
155.
▲
by
pzmarzly
2y ago
Okay, just going through the first tutorial[0], I am convinced that Zellij is truly something else. I've never opened up my wallet[1] so quickly for any open-source project, but here the author is clearly creating something amazing (an
156.
▲
by
pzmarzly
2y ago
From the perspective of "a regular user" (which is a bad term, because of course I see myself as the norm), I don't care if multiplexer is part of terminal app or not, but I do care about it reacting to my clicks. I don'
157.
▲
by
pzmarzly
2y ago
Interestingly, JavaScript has the opposite problem: {...null} is fine (returns {}), but [...null] is not (TypeError: Spread syntax requires ...iterable not be null or undefined).
158.
▲
by
pzmarzly
3y ago
In JS, it's a good idea anyway to use some JSON parsing library instead of JSON.parse. With Zod, you can use z.bigint() parser. If you take the "parse any JSON" snippet https://zod.dev/?id=json-type and chang
159.
▲
by
pzmarzly
3y ago
I wish that there were some more tools to build archives based on script-like description. E.g. "i want this file under this path with this metadata, go build me a zip". Without it, my favorite way of building images rootless is s
160.
▲
by
pzmarzly
3y ago
It's a feature built-in to most browsers, same with right-click (if page hijacks right click, right-click twice in rapid succession).
161.
▲
by
pzmarzly
3y ago
Isn't WhatsApp using some sort of XMPP sent over Signal Protocol[1]? Anyway, seems like Signal is not interested for now[2]. [1] https://www.cometchat.com/blog/whatsapps-architecture-and-sy... [2] https:/&#x
162.
▲
by
pzmarzly
3y ago
Clickbait Remover extension may help you https://github.com/pietervanheijningen/clickbait-remover-for... Or you can write a userscript / custom CSS to hide thumbnails altogether. Or you can browse YouTube through
163.
▲
by
pzmarzly
3y ago
How often do you refresh the data (how often your CI runs)?
164.
▲
by
pzmarzly
3y ago
Coming from a country where Shrove Tuesday (Pancake Tuesday) is not a thing, thank you for explaining to us what's happening :) https://en.m.wikipedia.org/wiki/Shrove_Tuesday
165.
▲
by
pzmarzly
3y ago
This very much depends on what you are building and how experienced you are. If you just want a few pages, no need for background workers or database migrations, PHP is still the king. You download one of many single-executable LAMP servers
166.
▲
by
pzmarzly
3y ago
This was indeed the case, but I recall that even in late 00s there was already a spam problem with this mechanism. OTOH over the years (especially during covid lockdowns) I got a few messages from strangers on FB Messenger and Snapchat, and
167.
▲
by
pzmarzly
3y ago
(2012)
168.
▲
by
pzmarzly
3y ago
What happens when you put 2 cursors over the same app, and the app checks for cursor position (e.g. video games, on-hover UI)? Will it get one of 2 cursors? Or will it see nothing, and then when you click something, the cursor will "te
169.
▲
by
pzmarzly
3y ago
> just dedicate a core to it full time That's interesting, is there a place to read more about it? E.g. how to set it up on Linux and how much does it help with audio.
170.
▲
by
pzmarzly
3y ago
Looking at New Tales from the Borderlands, possibly one of greatest writing disasters in recent video game history[0], the company openly admitted that the game was meant to be "like a sitcom"[1]. I don't know who thought tha
171.
▲
by
pzmarzly
3y ago
I was referring to Directive 2009/136/EC Article 30 "Facilitating change of provider". https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL... > Porting of numbers and thei
172.
▲
by
pzmarzly
3y ago
Another good use-case for eSIMs, at least in EU where carriers have to transfer your number within 24 hours, is moving number between carriers. Before, this involved waiting for new SIM arriving by snail mail, or having to drive to carrier&
173.
▲
by
pzmarzly
3y ago
While it's true that in Rust most operators (eg. all arithmetic operators, as well as !, &, |, ^) are just syntax sugar over some trait methods that you could call directly, this is not the case for boolean "and" and &quo
174.
▲
by
pzmarzly
3y ago
AirPlay and Miracast both rely on WiFi (in case of Miracast it's WiFi Direct, for AirPlay I'm not sure), so it's not uncommon for WiFi chips to maintain 2 connections at once.
175.
▲
by
pzmarzly
3y ago
A license covers "1 Mac OS device" - what about PC? Also, what happens once 1 year is up? Any upgrade discounts? Is old version still downloadable? Anyway, good job, I was in need of something like this recently and used LocalSend
176.
▲
by
pzmarzly
3y ago
MS has previously been experimenting with replacing Right Windows and Context keys (with Office and Emoji keys): https://www.theverge.com/2019/10/11/20909475/microsoft-offic... Copilot key doesn't s
177.
▲
by
pzmarzly
3y ago
Some notable ones: - No control over integer type. Everything is a double, except that it sometimes behaves like int for bitwie operation. You lose precision easily and silently. BigNum support is ugly. - Standard library is one of the wors
178.
▲
by
pzmarzly
3y ago
At least you have one of the best personal bankruptcy laws in the world? Some Polish business guides used to tell you to be prepared to move to UK if your business in Poland doesn't work out. You will still lose everything, but at leas
179.
▲
by
pzmarzly
3y ago
cpio archives have some very useful properties (you can merge them by concatenation!), but the tooling is quite a PITA. On unrelated note, is there any usecase for cpio files other than initramfs? Back in the day rpm2cpio was the recommende
180.
▲
by
pzmarzly
3y ago
> Governments can adapt and use modern technology to provide identity and authentication services, but they do not. At least in many EU countries, they are adapting. I'm a fairly happy user of Irish myGovID (OIDC) and ROS (X509 &quo
More ›