Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stabbles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
631.
▲
by
stabbles
7y ago
Your slow desktop app is an electron app
632.
▲
by
stabbles
7y ago
This is a really funny reply. Might not be a bad idea at all to make some money explaining scientific articles on Hacker News.
633.
▲
by
stabbles
7y ago
Can anyone explain why one would stop with PGP? This question presupposes everybody knows why, but I don't.
634.
▲
by
stabbles
7y ago
In C++ you typically access arrays with unsigned integers (size_t), and a common pitfall is: for (size_t i = v.size() - 1; i >= 0; --i) { std::cout << i << ": " << v[i] << std::endl; To fi
635.
▲
by
stabbles
7y ago
Yet another reason is FTP turned out to be inherently unsafe.
636.
▲
by
stabbles
7y ago
Awesome, that looks like an attempt to replace QML by native C++. Would be great if there was a SwiftUI inspired C++ UI framework (well, of course C++ might not lend itself so well for the job, but I'm just very curious what it would l
637.
▲
by
stabbles
7y ago
Ubuntu 17.04+ also comes with a night light
638.
▲
by
stabbles
7y ago
Does anyone know the status of Bluetooth on OpenBSD? I believe it does not ship Bluez by default?
639.
▲
by
stabbles
7y ago
In a 2-body system on the complex plane, can't you basically take any point as the origin and describe the motion of te bodies in terms of a complex Fourier series, with the interpretation that the bodies orbit a circle on a circle ...
640.
▲
by
stabbles
7y ago
I'm just confused the libicu shared libs are ~25MB big. Why is that?
641.
▲
by
stabbles
7y ago
> Dan Neves, a waiter at a fine dining establishment in Austin, Texas, created YELP BULLIES EXPOSED, a private Facebook group that tracks down rude Yelpers and sends them a one-pound bag of animal feces procured from poopsenders.com. In
642.
▲
by
stabbles
7y ago
I don't understand why this gets downvoted. It's an entirely valid point and probably SwiftUI took inspiration from it.
643.
▲
by
stabbles
7y ago
Well, you can almost surely write entire apps in QML if you take the C++ entrypoint for granted. Just a couple examples: you can do Bluetooth discovery scans in QML without writing any C++ [1], you can read from ~20 sensors without writing
644.
▲
by
stabbles
7y ago
> while the Swift example hosts an entire modal list with embedded picture components and text (while handling fluid scrolling, right-to-left langs, dark mode theming, etc all implicitly) I think you might check out more of QML / Qt
645.
▲
by
stabbles
7y ago
Amazing project! For what it's worth, the Github page references to the GPU Gems book for this effect: http://developer.download.nvidia.com/books/HTML/gpugems/gpug...
646.
▲
by
stabbles
7y ago
Well, sometimes they are useful when a break statement is not enough to get you out of a nested loop. while (...) { while (...) { // ... if (...) goto stop_it; // ... }
647.
▲
by
stabbles
7y ago
Are there historical examples of this happening in other companies? It's scary to think the answer to ops question is not immediately obvious.
648.
▲
by
stabbles
7y ago
Don't tell the kids! Otherwise they might stop giving this meaning to the word, rendering the research useless.
649.
▲
by
stabbles
7y ago
Yes, in that case you probably need to parse a config file. But you might also encounter DI config files for specific environments, like development where you inject MockMailer, TrivialLogger and InMemoryDatabase instead of RealLifeMailer,
650.
▲
by
stabbles
7y ago
What this blog post does not address is the joy of configuring DI with XML files /s Isn't it bizarre how software developers have taken runtime DI to such extremes that it was considered a good idea to configure services in XML or
651.
▲
by
stabbles
8y ago
Thanks! That script definitely gives some pointers on how to update things.
652.
▲
by
stabbles
8y ago
Jenkins's plugin manager is absolutely terrible. If you're stuck on an older version of Jenkins, you better not click the "refresh" button in the plugin management page, cause otherwise the page is just filled with red w
653.
▲
by
stabbles
8y ago
Not very surprising, right?
654.
▲
by
stabbles
8y ago
The usability / security trade-off is difficult. Another example where Chrome prefers usability over security is autofill, where a user can accidentally share more personal information than he/she wishes: https://medium
655.
▲
by
stabbles
8y ago
That's Nietzsche's "werde, der du bist".
656.
▲
by
stabbles
8y ago
Julia is a great choice as well: https://julialang.org/blog/2018/12/ml-language-compiler
657.
▲
by
stabbles
8y ago
Which neither means that beautiful math is necessarily describing the world inaccurately. Taken to the extreme, the best description of the world is a long list of all events and facts. No beauty in that. Now science tries to compress this
658.
▲
by
stabbles
8y ago
How many people would immediately understand the code sample: auto h = make_histogram( axis::regular<>(6, -1.0, 2.0, "x") ); // fill histogram auto data = { -10, -0.4, 1.1, 0.3, 1.3 };
659.
▲
by
stabbles
8y ago
There is this background color named 'snow'. It looks great and it's just four letters. In HEX it is #FFFAFA (I don't think many CSS minifiers consider #FFFAFA -> snow).
660.
▲
by
stabbles
8y ago
Well, to be fair, compression speed is not great: 17400 kB/s for gzip vs 2.75 kB/s for nncp (large network).
More ›