Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sshine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
811.
▲
by
sshine
2y ago
Prime numbers with practical applications do get discovered. Most notably, I suppose: 2^64 - 2^32 + 1: https://cp4space.hatsya.com/2021/09/01/an-efficient-prime-fo... There are annual prizes on performing cer
812.
▲
by
sshine
2y ago
So what are the gotchas?
813.
▲
by
sshine
2y ago
What are the gotchas? I’ve used Nix for 6 months, and it beats Devcontainers at a higher cost, but with less IDE lock-in. Devenv, as far as I understand, is a convenience layer on top of Nix. Just as Flox is.
814.
▲
by
sshine
2y ago
> You don't actually specify what the problem is with your work machine that means you don't want to use it for work. Besides antivirus and constant monitoring?
815.
▲
by
sshine
2y ago
One element is buzzword inflation, and another is raising the bar. On the one hand, entirely trusting Cloudflare isn't really zero trust. On the other hand, not trusting any network is one narrow definition. I'll give you SSH keys
816.
▲
by
sshine
2y ago
> The problem is self-reinforcing: people don’t read docs because the docs are bad… we don’t spend time on docs because no one reads them… I don't get discouraged from writing docs because nobody reads them. I'll read them. B
817.
▲
by
sshine
2y ago
Fascinating, and downright uncanny. I could have written it. Now I can share it with others and say "This is 96% me." - I use gap instead of gaa. (He also uses git add -p, but no alias?) - I didn't have 'git lr
818.
▲
by
sshine
2y ago
I don't use magit, because I don't use Emacs. But I've seen a magit power user, and arguably: magit is the only git client I've seen that does some things better than CLI without being severely disempowered. I only prefe
819.
▲
by
sshine
2y ago
We should thank Matt for exploring these territories.
820.
▲
by
sshine
2y ago
Congratulations, you've won a car! If you choose to drive it, it's full price.
821.
▲
by
sshine
2y ago
> Embracing, extending, and extinguishing their own tool? Consider how C# support in VSCode got nerfed recently: https://news.ycombinator.com/item?id=31760684 https://github.com/dotnet/vscode-cshar
822.
▲
by
sshine
2y ago
> Visual studio is open source Sort of. The core is, and the installable binaries with telemetry and properietary extensions are not. The open source, telemetry-free version of VSCode is called VSCodium: https://vscodium.com
823.
▲
by
sshine
2y ago
> My favorite trick is to [...] actively enforce [...] If active enforcement were an option, and it led to success, I don't imagine there would be a problem. My favorite trick is to tell people really nicely they should write comm
824.
▲
by
sshine
2y ago
I like having this kind of animation on my homepage, too. Currently I just have an animated GIF background, but I've had some animated ASCII art in the past. I'm currently working on animating a fractal drawn with HTML Canvas. You
825.
▲
by
sshine
2y ago
It seems like the “why” is eternally lost on us in this scenario. If I could wave a magic wand and make all the colleagues verbalise what they’re doing, I would. In the meantime, I’ll take the downvotes for pointing out that it’s fundamenta
826.
▲
by
sshine
2y ago
Executable tests in Rustdoc are amazing. For those not involved, they are run when you write `cargo test` and they are included as markdown code blocks in your crate’s documentation. They’re not an excellent place for extensive testing. But
827.
▲
by
sshine
2y ago
The commit history will.
828.
▲
by
sshine
2y ago
Not only is it self-reinforcing: It is inevitable because some competent programmers deliberately don’t comment their code, read comments, or delete other people’s comments when they are stale.
829.
▲
by
sshine
2y ago
I personally read and write a lot. I track things in git messages by cross-referencing issues, and I comment my code. But my point is: when you have a cultural divide among competent programmers on whether to comment, not commenting game-th
830.
▲
by
sshine
2y ago
The problem with "documentation" in commercial code is that nobody reads it. Any "documentation" that isn't embedded in code will never be opened again. Any "documentation" in the form of doc-strings and c
831.
▲
by
sshine
2y ago
Maybe he meant "mustn't be understated", so "can't" as in "mustn't". Not to argue about idioms, what you say is right.
832.
▲
by
sshine
2y ago
I swear my cat says 好玩儿 hǎowá'er? when he lacks stimulation, which means "Fun?"
833.
▲
by
sshine
2y ago
Depends on what level of the banking system you’re talking. Only other banks can transact with the national bank, so you can’t pay for your hamburgers there. When I pay for public transportation, they batch my travels per day to minimise th
834.
▲
by
sshine
2y ago
A new kernel can never beat legacy kernels on hardware support. To reach a useful state, you only need to be highly performant on a handful of currently popular server architectures. > Any normal Rust kernel will either have issues scal
835.
▲
by
sshine
2y ago
LLMs are notoriously bad at improvising device drivers in no-std Rust.
836.
▲
by
sshine
2y ago
Something in-between a macro-economic model and a physical simulation.
837.
▲
by
sshine
2y ago
> Noiseless ones means ones that don't use huge diesel generators to meet demand, I assume. No, the noisy part is actively cooling a ton of batteries confined to a crammed metal box without disturbing neighbors and keeping within
838.
▲
by
sshine
2y ago
I’ve been that guy, and I certainly believe in myself. ;-) I don’t think it’s reckless to have e.g. Haskell or OCaml as your go-to language for a decade, and switch it out with Rust.
839.
▲
by
sshine
2y ago
If you like Makefile, you’ll like Just.
840.
▲
by
sshine
2y ago
> My fear on the Rust front is that it's going to be another C++, where the complexity is considerable and requires more or less full-time expertise. You can certainly make a case for that being inevitable in some ways: Rust can b
More ›