Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnosek
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
gnosek
11mo ago
Or you can set the vm.swappiness sysctl to 0.
2.
▲
by
gnosek
2y ago
I'm happy with a TFA Dostmann 31.5009.02 Monitor CO2 AIRCO2NTROL Coach. Does what it says and you can get the measurements over USB if you want too.
3.
▲
by
gnosek
2y ago
[yet another reference to Ansible, sorry! :)] This looks like infinity times better than Ansible in some cases and somewhat worse in others (python.call every time I'd need to access a previous operation's result feels clunky, tho
4.
▲
by
gnosek
3y ago
https://rnote.flxzt.net/ is pretty nice on Linux (for one-off drawings, not really for organizing them I think)
5.
▲
by
gnosek
3y ago
If I understand correctly, you mean turbo roundabouts https://www.ms2soft.com/resources/turbo-roundabouts/ ? If so, IMO they're the best thing that happened to roundabout design ever. You do need to choose a
6.
▲
by
gnosek
3y ago
> some risk of a null slipping into a filename Only in some fairly esoteric environments: https://en.wikipedia.org/wiki/Filename#Comparison_of_filenam...
7.
▲
by
gnosek
3y ago
> Also, side note, the “copy con outputfilename.txt” idiom is one that I still can’t ever remember how to do the equivalent on UNIX/Linux! cat > outputfilename.txt
8.
▲
by
gnosek
3y ago
I used external FHD displays and the result was a blurry mess with obvious fractional scaling applied (nothing was aligned to pixel boundaries)
9.
▲
by
gnosek
5y ago
or fn twiddle<I>(foozles: I) where I: Iterator<Item=Foozle> (or probably IntoIterator<Item=Foozle>). `impl T` is (modulo some details I don't remember right now) just syntactic sugar for this.
10.
▲
by
gnosek
5y ago
Same. It takes a little effort to read but it's understandable and it does feel Croatian or thereabouts. On a somewhat funny note, Chrome decided to translate the page in Interslavic from Czech to Polish and did a passable job. What I
11.
▲
by
gnosek
6y ago
> It really depends on what the meaning of None is. Exactly. This will generally be application specific so we can't choose The One Right Definition for adding `Option<i32>`s. > Yours make sense if it means "zero"
12.
▲
by
gnosek
6y ago
I agree with all your other points but > > We can’t perform arithmetic on an Option<int> any more than we could on a List<int>. > Why not? One sensible definition is (...) It's not the only sensible definition. I
13.
▲
by
gnosek
6y ago
Is this viable as a backup/archive format? Would it make sense to e.g. have an incremental backup as a DwarFS file, referring to the base backup in another DwarFS file?
14.
▲
by
gnosek
6y ago
Exclamation mark. e.g. println!("hello, world"); or todo!(); are macro invocations.
15.
▲
by
gnosek
6y ago
> I mean, how many connection types exist? Two? https://developer.android.com/reference/java/net/URLConnecti...
16.
▲
by
gnosek
7y ago
ifconfig enp2s0:1 192.168.1.42 Now try ip addr add dev enp2s0 192.168.42.1/24 and observe how ifconfig ignores the second IP on the same interface. enp2s0:1 is an alias to enp2s0, not enp2s0 itself. To replicate your
17.
▲
by
gnosek
7y ago
Not sure how this integrates with Go's database drivers but from the Postgres side: 1. NULLIF(the_uuid, '0000-000000-00000-0000') https://www.postgresql.org/docs/current/functions-conditiona... 2. o
18.
▲
by
gnosek
7y ago
In Poland the in-house bakery in a grocery store is the cheap and convenient way to get bread if you can't be bothered to get actual quality (not made from deeply frozen dough). So if the Polish baseline is super fancy for NL, NL is be
19.
▲
by
gnosek
7y ago
Polish has darmowe (as in beer) and wolne (as in freedom). Ironically, wolne also means slow.
20.
▲
by
gnosek
7y ago
Long-time user of Terraform here, never used CloudFormation. Where does CloudFormation beat Terraform?
21.
▲
by
gnosek
8y ago
At least one did. Source: interviewed him.
22.
▲
by
gnosek
9y ago
Two ways to do this with window functions (there's probably a better one but this is what I came up with quickly): 1. Subquery SELECT * FROM ( SELECT u.user, i.text, row_number() OVER (PARTITION BY i.user ORDER BY i.pos)
23.
▲
by
gnosek
9y ago
Of course. I'm not telling anybody to run on kimsufi, like I'm not running kimsufi myself, but on brand-new Supermicro machines that check all your boxes. Kimsufi is still dedicated hardware (however low-end) that costs 1 figure i
24.
▲
by
gnosek
9y ago
https://www.kimsufi.com/us/en/ Granted, that's the bottom of the barrel (single disk, no IPKVM etc.), but $100 keeps you running for over a year. Better servers are easily available as well, usually a couple
25.
▲
by
gnosek
9y ago
grep [h]aproxy
26.
▲
by
gnosek
10y ago
It comes down to proportions. Let's say 10% of widgets are awesome and the remaining 90% are not, regardless of colour. Per parent's post, let's assume 1/12 of the widgets are colourful. So now (rounded roughly): - 9
27.
▲
by
gnosek
10y ago
I'm a fan of Ansible, so let me reply to a few of your points :) 1. Playbooks are not a complete programming language for a good reason. You just get a simple linear flow of tasks with limited loops and conditions, so they're hard
28.
▲
by
gnosek
10y ago
> There is Docker daemon and there is Docker CLI. Both have separate scopes. Docker CLI is glorified curl, everything happens in the daemon (containerd being logically -- but finally not physically -- part of the daemon).
29.
▲
by
gnosek
10y ago
All of them, AFAIK. I think it's been like that since more or less IE7 days.
30.
▲
by
gnosek
10y ago
ls -U avoids the default sort by name. Without -U you get all the names at once at the end of the directory scan. With the option you get them one by one (in some unspecified order) and can make sort of a progress bar for counting files in
More ›