Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pornel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
961.
▲
by
pornel
2y ago
Electron beatings will continue for as long as making a proper GUI for major platforms requires learning three different languages and four different UI toolkits, where every one of them is less flexible and harder to use than the web stack
962.
▲
by
pornel
2y ago
Or Bezos can have fewer yachts?
963.
▲
by
pornel
2y ago
Double lanes are still orders of magnitude less efficient than trains. In some dense European cities there's physically not enough road surface to put every traveller in a car, self-driving or not. https://en.m.wikipedia.org
964.
▲
by
pornel
2y ago
> “just ban simple automatic storage duration structure copying” is a terrible usability and horrific ergonomics decision to make This sounds like a great idea to me! Rust disables implicit copying for structs with destructors, and toget
965.
▲
by
pornel
2y ago
In European cities it's often the opposite: - A train will take you right into the city center, sometimes even where cars are not allowed. OTOH entering the city from suburbia can take an hour of being stuck in traffic. - metro and tra
966.
▲
by
pornel
2y ago
In Europe, Tesla uses the CCS2 standard (like everyone else except the Leaf), and Tesla's network is just one of many. It doesn't have a significant advantage. European Teslas even suggest 3rd party chargers in the built-in nav. I
967.
▲
by
pornel
2y ago
gifski works in a single pass, and streams its output. ffmpeg -i input.mov -f yuv4mpegpipe | gifski --width=500 -o out.gif -
968.
▲
by
pornel
2y ago
gifski is also maintaining consistent Floyd-Steinberg dithering across frames (basically dithering in 3 dimensions). This allows more reuse of the background colors, and keeps file sizes lower by avoiding adding unnecessary temporal noise.
969.
▲
by
pornel
2y ago
I've used to excuse such behaviors, saying that Apple has better integration between their products, cares about UI design more than anybody else, or that such integrations are new and don't have proper APIs yet. However, years ha
970.
▲
by
pornel
2y ago
I've set it up for an elderly person, and it backfired terribly — they lacked dexterity to reliably turn it on and off, forgot the feature existed, and then one day accidentally zoomed in screen by only a few percent, and though the ph
971.
▲
by
pornel
2y ago
Choice is scary for Apple's Services Revenue. Apple believes they own every device, and feel wronged whenever users spend money without Apple taking a cut.
972.
▲
by
pornel
2y ago
I loved the split-screen zoom. 1:1 preview was crucial on CRTs where pixels weren't neat little squares.
973.
▲
by
pornel
2y ago
Yes, you could. But be careful to make sure that there's no more data left after the decoder finishes, because it's possible to append a ZIP file (or acropcalypse) at the end of any other valid image file data, and decoders usuall
974.
▲
by
pornel
2y ago
You reuse optimizer and machine code generator of the C compiler, and you're not tied to a single backend like LLVM.
975.
▲
by
pornel
2y ago
libpng is reasonably fast, and has SIMD optimizations. Make sure to compile it with a modern CPU target. The biggest bottleneck in PNG decoding is zlib, which is not part of libpng. There are faster inflate implementations, but nowhere nea
976.
▲
by
pornel
2y ago
And the internal state of a JPEG decoder can be an order of magnitude larger than the JPEG file (especially progressive JPEG that can't stream its output).
977.
▲
by
pornel
2y ago
This is somewhat tautological, because the AppStore is necessarily filtered down to businesses that can exist within this fee structure. The cut is 15-30% of revenue , rather than profit , so for lower-margin businesses Apple's cut c
978.
▲
by
pornel
2y ago
Cook has bet on increasing services revenue instead. Financially, this has been very successful, and has given AAPL growth even when they could not grow hardware sales. However, this strategy has turned Apple into a rent-seeking company tha
979.
▲
by
pornel
2y ago
> the HBase version upgrade is a slow and painful process due to a legacy build/deploy/provisioning pipeline and compatibility issues Is that HBase's fault, or Pinterest's added complexity? I'm baffled when datab
980.
▲
by
pornel
2y ago
I wish Debian/APT had first-class support for having multiple versions of the same library. On a large system it's inevitable that packages will be upgrading at different rates, and a bit of duplication can be a way out of complex
981.
▲
by
pornel
2y ago
Indeed, AmigaOS despite being ahead of its time in the '80s, was doomed to lose by the end of the '90s. The biggest problem was that Amiga did not have an MMU until very late, and the OS has been designed for unprotected shared me
982.
▲
by
pornel
2y ago
Rust has this. Data can be placed in atomic or non-atomic refcounted containers, and the type system disallows sharing non-thread-safe types across threads. Additionally, data can be borrowed from inside the refcounted wrapper, and used fre
983.
▲
by
pornel
2y ago
The popular sentiment has changed from enthusiasm about "digital", to disillusionment about big tech inserting themselves into our lives to monetize everything. In 2009, smartphones were a novelty, and the iPad has not been announ
984.
▲
by
pornel
2y ago
Rust's iterators are single-use streams of items, and nothing more. A Rust iterator can be fully implemented by a closure that either returns the next element or signals it's done. This minimalist interface composes well, especial
985.
▲
by
pornel
2y ago
StackOverflow has always been quite open that they're primarily building a dataset for SEO, rather than being a user-centered website. So I don't feel this deal changed much. SO users are still serfs building them a dataset for sa
986.
▲
by
pornel
2y ago
Outsiders don't see what happens inside companies. A solution may need to integrate with in-house frameworks and billing (and you'll die trying to make billing simple). A feature may get added for a big customer, and be warped by
987.
▲
by
pornel
2y ago
> That's why you don't ask for permission I didn't mean agreement as permission, but as having the same judgement. One person may say bash is the simplest, another that Makefile is even better, and third person will say th
988.
▲
by
pornel
2y ago
I find such laments annoying, because they're full of obvious platitudes. It's easy to sound smart quoting Einstein and Dijkstra. It's cheap to make generalizations, and point fingers at complex solutions when having both the
989.
▲
by
pornel
3y ago
In the EU, there are Ionity and Fastned networks that can guarantee their chargers will be fast enough for this (>=250kW), and together they have a pretty decent coverage along major highways. There are setups that have their max rated p
990.
▲
by
pornel
3y ago
I thought your original post was a joke? "Never" is an exaggeration, and overselling Rust like that makes people think it's just hype.
More ›