Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
htfy96
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
Notes on Theory of Distributed Systems [pdf]
(cs.yale.edu)
2 points
by
htfy96
5y ago
|
0 comments
32.
▲
by
htfy96
5y ago
the downside of this is that companies with locked compiler versions won't be able to use the static analysis tool. Up-to-date compiler versions, according to my observation, is more like a privilege of BigTech and startups. Tons of fi
33.
▲
by
htfy96
5y ago
One of my recent project requires a fast awk implementation, and I tried frawk and got surprised by how robust it is. Although eventually we chose https://github.com/noyesno/awka for better native awk script compatibil
34.
▲
ISOcpp D2349: std::pony
(isocpp.org)
1 points
by
htfy96
6y ago
|
0 comments
35.
▲
by
htfy96
6y ago
The motivations in claims unfortunately don't apply to my case: 1. FFI boundary will likely to exist forever in a milions-of-line C++ codebase, especially when the behavior of this system is not possible to be formally specified /
36.
▲
Young Chinese Workers Trade the Grueling 996 for ‘Touching Fish’
(bloomberg.com)
2 points
by
htfy96
6y ago
|
0 comments
37.
▲
by
htfy96
6y ago
My preference would be holding normal SPY and hedge the overweighted NASDAQ stocks with short NQ futures. In this way you only need to rebalance the NQ futures which benefits from 60/40 rule with better tax rate.
38.
▲
Ask HN: Is maintaining/supporting old tech stack a profitable business?
4 points
by
htfy96
6y ago
|
1 comments
39.
▲
The Linux kernel user’s and administrator’s guide
(kernel.org)
19 points
by
htfy96
6y ago
|
0 comments
40.
▲
Eternal September
(en.wikipedia.org)
6 points
by
htfy96
6y ago
|
0 comments
41.
▲
Ask HN: Why Docker(moby) didn't release any new version in the past year?
3 points
by
htfy96
6y ago
|
0 comments
42.
▲
by
htfy96
6y ago
I guess running an alternative language in kernel is not very challenging. (I tried it two years ago and managed to run i8042 keyboard driver in WebAssembly on Qemu) The hard part is interoperability. Even in languages with automatic C head
43.
▲
by
htfy96
6y ago
Or if you want just some minor additions, try Sun Oracle Type-7 keyboard which has ~10 keys (including Copy, Paste, Undo, Cut - perfect for Stackoverflow-oriented programming) on the left https://en.m.wikipedia.org/wiki/
44.
▲
bigCGI: A serverless computing platform harnessing the ancient magic of CGI
(bigcgi.com)
3 points
by
htfy96
6y ago
|
0 comments
45.
▲
by
htfy96
6y ago
Have you tried https://github.com/CLIUtils/CLI11 ? The subcommand example can be found at https://github.com/CLIUtils/CLI11/blob/master/examples/subco... . It can't genera
46.
▲
by
htfy96
6y ago
My favorite: Jazelle DBX (direct Java bytecode execution)
47.
▲
by
htfy96
6y ago
> There are few times you'd join more than say 5 or 6 tables. This is only true in new tech where data relationship isn't complicated. Any stored procedure in bank would contain joins with no fewer than that number of tables.
48.
▲
by
htfy96
6y ago
This article only tested two pages, each with millions of data. In corporate developments (and probably the original meaning of "joins don't scale" in the era of Oracle/MSSQL), it's usually the opposite - usually jo
49.
▲
by
htfy96
6y ago
r/rust and users.rust-lang.org are informative and sensible when it comes to limitations. Twitter and, well, random programming discords are often full of cults
50.
▲
Thriving in a Crowded and Changing World: C++ 2006–2020 [pdf]
(stroustrup.com)
2 points
by
htfy96
6y ago
|
0 comments
51.
▲
by
htfy96
6y ago
For caching mechanism, there's zapcc ( https://github.com/yrnkrn/zapcc ) which launches a background server at first compilation, and reuses instantiated template from the server in the following compilation. Sadly
52.
▲
by
htfy96
6y ago
This looks nice! https://jonas.github.io/tig/ is another command-line UI for Git with similar two-column layout. git-fuzzy seems to also support two-column diff view which isn't in tig. Good job.
53.
▲
by
htfy96
6y ago
Curious if Intel BCD ops ( https://en.wikipedia.org/wiki/Intel_BCD_opcode ) are still a thing in today's SiMD world. Converting chars to BCD code then convert BCD to u32 sounds a little bit easier than this
54.
▲
by
htfy96
6y ago
Did anyone try the J2CL Java to Closure JavaScript transpiler ( https://github.com/google/j2cl )? A side benefit of this is to completely eliminate Javascript vs Java joke
55.
▲
Learn Vimscript the Hard Way
(learnvimscriptthehardway.stevelosh.com)
2 points
by
htfy96
6y ago
|
0 comments
56.
▲
DigitalOcean Data Leak
14 points
by
htfy96
6y ago
|
7 comments
57.
▲
by
htfy96
6y ago
yeah that's why I changed int* to void* in the example, but I forgot to change new to malloc
58.
▲
by
htfy96
6y ago
An example to detect use-after-free: https://godbolt.org/z/zhiNLW Basically this replicates what clang-tidy did
59.
▲
by
htfy96
6y ago
That makes sense for a single-socket workstation. A main advantage of old Xeons over R5 3600 is dual socket.
60.
▲
by
htfy96
6y ago
A major drawback of CPU benchmark is that it doesn't include second-hand CPU prices. Actually many older series of Xeon CPUs can have better score/$ ratio. For example: E5 2695V4 is sold at $199 on AliExpress with ~20000 benchmark
More ›