Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xyproto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
331.
▲
by
xyproto
6y ago
Want to see a great example of a Linux distro that doesn't use X and is quite popular? Android.
332.
▲
by
xyproto
6y ago
> DO NOT INSTALL WAYLAND! Wayland is a protocol, and wayland-related libraries are probably needed even if you just use X.
333.
▲
by
xyproto
6y ago
Saving lines of code in C++ compared to Go is like fighting windmills.
334.
▲
by
xyproto
6y ago
I am Norwegian, apparently I just didn't express myself clearly enough.
335.
▲
by
xyproto
6y ago
Also, EU has a ruleset adapted to the climate of central Europe and not to cold places where almost no food grows and eating seals and fighting polar bears is how you stay alive. This is an extreme example, but Norway is more dependent on f
336.
▲
by
xyproto
6y ago
It's tragicomic that this was part of the reason for Brexit, but they ended up with letting other countries fish in their waters anyways.
337.
▲
by
xyproto
6y ago
Throwing more technology on a problem means more complexity and more things that can go wrong. Doing it once or twice is fine, but the complexity increases exponentially. Also, Docker is not a universal and secure solution. It works great a
338.
▲
by
xyproto
6y ago
A dedicated docker container per python project "solves" this issue, but it's a hacky workaround, not a solution.
339.
▲
by
xyproto
6y ago
3. Goto 1 Or you'll be stuck with broken services.
340.
▲
by
xyproto
6y ago
Inigo Quilez is such an inspiration when it comes to math, the demoscene and graphics programming in general. Hope he lives to be 120 and keeps it up.
341.
▲
by
xyproto
6y ago
Herein lies madness
342.
▲
by
xyproto
6y ago
IMO: The ability to judge risk in terms of time and money. The ability to judge the amount of security that is needed (a productive level that is still safe). To think long-term, in terms of avoiding complexity buildup over time, and in ter
343.
▲
by
xyproto
6y ago
Yes, it depends on where in Norway you are, and the context, but if someone yelled "kjerring" somewhere around Oslo, the best translation would be "bitch". If you disagree, we'll have to duke it out with Holmgang. ;
344.
▲
by
xyproto
6y ago
Or they simply die in the process.
345.
▲
by
xyproto
6y ago
"Greenland Shark" is Håkjerring in Norwegian. Hå is an old word for shark, while kjerring now means bitch.
346.
▲
by
xyproto
6y ago
They are not subsidized in Norway, just exempt from taxes.
347.
▲
by
xyproto
6y ago
C is not a language to emulate unless you think "unsigned short" and "long double" are beautiful ways to express signedness and the number of bits.
348.
▲
by
xyproto
6y ago
I have the same experience. Stack Overflow is not great when you try to achive something novel or do something new from scratch.
349.
▲
by
xyproto
6y ago
Vtables, are they always predictably optimized? Whole program linking? Consts and constexpr? Yes, it's possible to know exactly how everything is compiled down to assembly with enough experience, but all abstractions carry a requiremen
350.
▲
by
xyproto
6y ago
Having to keep tricks and workarounds in mind at all times is a big part of why C++ is disliked by many programmers.
351.
▲
by
xyproto
6y ago
For systems other than Arch, here are the wrapper scripts for SBCL that provides the `lisp` and `lispi` commands mentioned above. lisp: #!/bin/sh # # SBCL wrapper script # filename="$1" mainfunction="$
352.
▲
by
xyproto
6y ago
If you're on Arch Linux, you can install the `lisp` package from AUR, then type `lispi` and then `(+ 1 2)` for adding 1 and 2. Don't type in the backtick quotes. Press `ctrl-c` to quit. If you install `clojure` you can start the i
353.
▲
by
xyproto
6y ago
Tig is and has been my favorite utility for browsing git logs for years now. Thanks tig developers and contributors! It's handy to know that the arrow keys are used for browsing the log messages, while return followed by either pgup&#x
354.
▲
by
xyproto
6y ago
Someone worked hard to create that technology, though, some times with the environment in mind. It's not like technology picks sides.
355.
▲
by
xyproto
6y ago
That's nifty! Here's an alternative way to pass the bytes to ffmpeg, using hexdump (does not require vim) and `read -n1` (works in bash, but not in zsh): hexdump -v -e '1/1 "%02x"' secret.txt | while read
356.
▲
by
xyproto
6y ago
You also get the sluggishness of Emacs, though. Slow startup and syntax coloring, compared to ViM and NeoViM.
357.
▲
by
xyproto
6y ago
The critique was pretty specific, though? And if a framework that aims to be the pinnacle of CSS makes it easy to get the basics wrong, how is that shallow?
358.
▲
by
xyproto
6y ago
The text flows outside of the box in the very first example of why Tailwind is great. Viewed on mobile. Not convinced.
359.
▲
by
xyproto
6y ago
This is nice to have, but how often does that really happen?
360.
▲
by
xyproto
6y ago
Simple tables. I understand that complex problems sometimes require complex tools, though.
More ›