Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkkm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
pkkm
3y ago
I've been wondering whether this effect is behind the positive results of 4-day work week trials. Does anyone know about data that could answer this?
182.
▲
by
pkkm
3y ago
Sure, but why does that matter? A lot of good software got developed by itch-scratching.
183.
▲
by
pkkm
3y ago
These are usually discouraged. If there's small upper bound on the size you'll need, type array[MAX_SIZE] is more efficient and harder to mess up [0]. If there isn't, you should use the heap. [0] For more details, see e.g.
184.
▲
Binary Search: A Little Simpler and More Generic (2020, PDF)
(julesjacobs.com)
2 points
by
pkkm
3y ago
|
0 comments
185.
▲
List of companies that use Haskell
(github.com)
5 points
by
pkkm
3y ago
|
0 comments
186.
▲
Scalene: A Python CPU/GPU/memory profiler with optimization proposals
(github.com)
15 points
by
pkkm
4y ago
|
1 comments
187.
▲
by
pkkm
4y ago
Why is this on the front page? This website is supposed to be for topics that gratify intellectual curiosity, not a second Reddit.
188.
▲
The mundane, the mystical, and the meta (2019)
(defmacro.org)
2 points
by
pkkm
4y ago
|
1 comments
189.
▲
Trio: Structured Concurrency for Python
(github.com)
11 points
by
pkkm
4y ago
|
0 comments
190.
▲
Ghosts of Unix past, part 4: High-maintenance designs (2010)
(lwn.net)
2 points
by
pkkm
4y ago
|
0 comments
191.
▲
Game Programming Patterns: Component
(gameprogrammingpatterns.com)
2 points
by
pkkm
4y ago
|
0 comments
192.
▲
by
pkkm
4y ago
I think that the most comfortable way to use it is with an undo tree visualizer plugin. But if you want to only use the defaults, you have g- and g+ to traverse the undo history in chronological rather than logical order, :earlier and
193.
▲
Ask HN: Why don't more programs have an undo tree?
15 points
by
pkkm
4y ago
|
8 comments
194.
▲
Ask HN: C programmers, do you prefer to initialize in place or allocate?
3 points
by
pkkm
4y ago
|
2 comments
195.
▲
by
pkkm
4y ago
I have mixed feelings about this. It's an interesting experiment and I'm curious to see how it'll pan out, but most of the justification boils down to "C++ is established and boring, Rust is trendy". To me, this wou
196.
▲
by
pkkm
4y ago
>from a supposedly serious person The article is by Chamath Palihapitiya, a guy who shamelessly attaches himself to whatever is currently popular. When he's arguing in favor of an idea or movement, that tells you nothing except that
197.
▲
by
pkkm
4y ago
> Short sellers often (...) blatantly distribute FUD. I'm going to call a [citation needed] on that. It's already very illegal to spread false information in order to profit from short-selling. In fact, I'd say that shorts
198.
▲
Tracy: A hybrid frame and sampling profiler for games and other applications
(github.com)
55 points
by
pkkm
4y ago
|
6 comments
199.
▲
Ask HN: How do C11 threads compare to POSIX threads?
5 points
by
pkkm
4y ago
|
0 comments
200.
▲
Detailed list of USB WiFi adapters that work well with Linux
(github.com)
77 points
by
pkkm
4y ago
|
22 comments
201.
▲
The Science of Insecurity (28c3, 2011)
(youtube.com)
1 points
by
pkkm
4y ago
|
0 comments
202.
▲
Interview with Jan Nieuwenhuizen on Bootstrappable Builds, GNU Mes and GNU Guix
(reproducible-builds.org)
2 points
by
pkkm
4y ago
|
0 comments
203.
▲
A Mind is Born: making a demo in just 256 bytes (2017)
(linusakesson.net)
6 points
by
pkkm
4y ago
|
1 comments
204.
▲
Xmake: A cross-platform build tool based on Lua
(github.com)
17 points
by
pkkm
4y ago
|
1 comments
205.
▲
Working in Public and the Economics of Free (2020)
(thediff.co)
1 points
by
pkkm
4y ago
|
0 comments
206.
▲
by
pkkm
4y ago
Thanks for sharing where you're coming from. My opinion comes from maintaining shell scripts either alone or in small teams of people who learn quickly. Perhaps the optimal solution is different when the team is large. I still think th
207.
▲
by
pkkm
4y ago
Changed a bit in case of wrong or weird input. (The quotes on the right side of assignments aren't necessary but I find it to be a good practice to use quotes everywhere.) #!/usr/bin/env bash function retry {
208.
▲
by
pkkm
4y ago
If you already use shellcheck and know to add || exit , there's no need to rely on a half-solution that may fail in unintuitive and hard to predict ways. Counting on convoluted "automagical" rules to guess your intent correc
209.
▲
by
pkkm
4y ago
> Even mundane shit like ‘cd’ can fail where you least expect it, requiring || exit on practically every line of the script. Forget one place and boom. This is true, but a much better solution is for everyone to use shellcheck. You can r
210.
▲
by
pkkm
4y ago
You should never use set -e . Because shell scripts use exit status both to indicate failure and as a kind of a boolean, this option has to try to guess your intent by using a bunch of rules that are convoluted and can differ between shell
More ›