Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Laiho
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
Laiho
2y ago
Is it a coincidence that all these quality life things start to pop up after C++ is facing real competition for the first time? Seems a bit odd to add print after using std::out for 30 years.
2.
▲
by
Laiho
2y ago
I've had great success with autovectorization in Rust. Majority of non-branching loops seem to consistently generate great assembly.
3.
▲
by
Laiho
2y ago
fn validate_ascii(bytes: &[u8]) -> bool{ bytes.iter().fold(true, |acc, b| acc & (\*b <= 127)) } This check will likely be the best for english text/code. You can check in varying size chunks depending on h
4.
▲
by
Laiho
2y ago
If you prefer reading Python, I implemented the decompressor not too long ago: https://github.com/LaihoE/tiralabra
5.
▲
EOMM: An Engagement Optimized Matchmaking Framework (2017)
(arxiv.org)
1 points
by
Laiho
3y ago
|
0 comments
6.
▲
by
Laiho
3y ago
I've been wondering what is the "new" innovation about concurrency is in Go? Since most languages provide some type of channel/lightweight thread, what is the hype all about? I don't think Go makes the "hard&qu
7.
▲
Show HN: Gzip decompressor in ~300 lines of readable Python
(github.com)
4 points
by
Laiho
3y ago
|
1 comments
8.
▲
Contains Method for a Slice
(stackoverflow.com)
1 points
by
Laiho
3y ago
|
1 comments
9.
▲
Ask HN: What is a good first task for a new software developer?
5 points
by
Laiho
3y ago
|
7 comments
10.
▲
by
Laiho
4y ago
Couldn't agree more about the rust API. Python API seems OK. Found it very complicated to use and just clunky in general.
11.
▲
by
Laiho
4y ago
I find it inconstant to be so pedantic about unused vars/imports to avoid bugs, but then leave error handling to what it is.
12.
▲
by
Laiho
4y ago
I really want to love this language, a fast and simple garbage collected lang, but feel like they missed the spot a little. I just wish they did something different with error handling / nil, doesn't feel right for the language. A