Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pzmarzly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
211.
▲
by
pzmarzly
3y ago
Given the big similarity to Rust, and having similar target group (people who care about concurrency in compiled languages), what made you decide to stray from Rust syntax @YorickPeterse ? Personal preference? It's all about small stuf
212.
▲
by
pzmarzly
3y ago
How many times did you write `for<'a>` keyword or manually used `Pin<...>` type, or specified `where 'a: 'b`? I personally didn't need to reach for this "dark art" in at least last 2 years - thanks
213.
▲
by
pzmarzly
3y ago
> People don’t make much art in MS Paint, or code in Notepad, despite those being the default for most computer users. This is very Windows-specific problem. macOS, iOS, Android, ChromeOS, KDE nowadays all include decent sets of apps, th
214.
▲
by
pzmarzly
3y ago
I only tried F# for few days, but it was a pleasant experience on both macos and linux. dotnet CLI should take care of build process, it can even generate self-sufficient executable (that bundle parts of .NET in them). The infamous required
215.
▲
by
pzmarzly
3y ago
Posting update since it's too late to edit: I confused multiplication with maximum. It's been too long since I took a course in formal logic. Though for binary values, multiplication works as well.
216.
▲
by
pzmarzly
3y ago
I agree that there are some very cool components of systemd (or rather, very cool programs living in systemd repo) - networkd, resolved, repart, boot and stub come to my mind first, they have no alternatives that come even close to them. Al
217.
▲
by
pzmarzly
3y ago
AFAIK the packages in Debian/Ubuntu world should only be removed on major OS release (Debian 9 -> 10, Ubuntu 22.04 -> 22.10, etc). I think that if you upgrade the OS by just changing repo URLs in apt config, the old packages will
218.
▲
by
pzmarzly
3y ago
It is a sorting network corresponding to bubble sort on 5-element input. It is actually pretty good - the code uses 10 comparisons, while the optimal sorting network for 5 elements uses 9: https://bertdobbelaere.github.io/so
219.
▲
by
pzmarzly
3y ago
> (oneIsGreater * origArray[0]) + (twoIsGreater * origArray[1]) There is a reason why conjunction (AND) is also called logical multiplication, and disjunction (OR) logical addition. There is not much difference between this and: (one
220.
▲
by
pzmarzly
3y ago
I wonder which of these tools Ubuntu is using - since they enabled TPM-backed encryption (Bitlocker-style) in 23.10. https://ubuntu.com/blog/tpm-backed-full-disk-encryption-is-c... I am not a huge fan of relying on thi
221.
▲
by
pzmarzly
3y ago
I am not a big fan of systemd, but I am impressed in how they put this security feature all across the boot process. I also used some of the tools shown in presentation and they are pretty well made, kudos to the devs. (Also, most of them w
222.
▲
by
pzmarzly
3y ago
I am very happy with Vinegar for Safari - a simple adblock + PiP + background play extension
223.
▲
by
pzmarzly
3y ago
Back when EFI consortium wanted to make Secure Boot always on, it wasn't even clear if ARM is going to win in mobile market, let alone PC/server one. Nowadays all non-mobile aarch64 devices I used, and even many mobile ones, let y
224.
▲
by
pzmarzly
3y ago
TIL HTC Dream was called T-Mobile G1 in the States https://en.m.wikipedia.org/wiki/HTC_Dream
225.
▲
by
pzmarzly
3y ago
I was trying to refer to this https://news.ycombinator.com/item?id=25233554 ( https://threadreaderapp.com/thread/1331735383193903104.html ) but I didn't have time to look it up, sorry.
226.
▲
by
pzmarzly
3y ago
The thing is, now we use and pay the price for both - memory is managed in software, and yet CPU MMU and caches have to sacrifice space on the die for complex memory mappings. Instead we could get extra transistors for better performance (o
227.
▲
by
pzmarzly
3y ago
No, but: - Using iOS with Apple's Remote Attestation disabled (quite unusual) - Roaming from abroad (so I suspect I share exit IP with all other people on my network coming from abroad)
228.
▲
by
pzmarzly
3y ago
AO may not work for you, but OP's link to rd.com doesn't work for me - I'm getting some difficult captchas from cloudflare that don't let me visit that site.
229.
▲
by
pzmarzly
3y ago
As "promised" years ago in Birth & Death of Javascript [0], at some point we shall get a unikernel running a safe GC-collected runtime in kernel-space, at which point we could drop virtual memory mapping support from CPUs, mak
230.
▲
by
pzmarzly
3y ago
The good old let-over-lambda http://www.csci.viu.ca/~wesselsd/courses/csci330/slides/lol.... . Now, in JS AFAIK this causes high memory usage, as "methods" are separate for each instance.
231.
▲
by
pzmarzly
3y ago
> Surely you need the sorted set in memory to derive rank/manipulate it etc? If you store it as an augmented balanced tree, then you only need to load the path from root to leaf to get or change rank. For example, if each node store
232.
▲
by
pzmarzly
3y ago
My take on this: if there is some DDoS taking place from same IP I am connecting from, that sucks for me but I'm willing to tolerate it (good old fail2ban). But having such a firewall all the time, even when you are getting less than 1
233.
▲
by
pzmarzly
3y ago
It's a seemingly simple and obvious way to lazily migrate your data, but if using Sippy means one less thing for the application code to worry about, and (I assume) is a free add-on, then it provides a ton of value. I have to admit tha
234.
▲
by
pzmarzly
3y ago
Which is a problem of Prettier. I wish for the day that someone builds rustfmt but for Typescript, I will happily leave Prettier and StandardJS behind. I think it could be done today with a (big) number of ESLint plugins.
235.
▲
by
pzmarzly
3y ago
I really hope it'll be possible to use the cameras in voice calls. First person PoV would be way better than phone camera PoV, and it would free my hand from carrying the phone in front of me.
236.
▲
by
pzmarzly
3y ago
+1. I don't have a TV, so if I could just stream my macOS desktop and Xbox Cloud Gaming (which I already use) to a virtual 50+' screen that follows me as I walk around, that will be enough for me to buy in.
237.
▲
by
pzmarzly
3y ago
Old Reddit link, so you don't need an app on mobile: https://old.reddit.com/r/CRUDology/comments/12ari2l/dynamic_...
238.
▲
The European Cyber Resilience Act
(lwn.net)
3 points
by
pzmarzly
3y ago
|
1 comments
239.
▲
by
pzmarzly
3y ago
This is already being shown on Polish TV (which is known to be trash) almost as "a fact", I got called by my distraught mum who just watched this being talked about (in today's Teleexpress Extra). Arguments made on HN (that t
240.
▲
by
pzmarzly
3y ago
> for loop and not passing current value as variable In most languages, current for loop value is always accessed a variable, not a reference. The only languages where it's not the case that I know of are Go and Python (JavaScript u
More ›