Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adamtulinius
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
adamtulinius
6y ago
What should the default nix store path have been then?
62.
▲
by
adamtulinius
6y ago
A Docker base image with NixOS doesn't really make sense, since with Nix you wouldn't use Docker for building Docker images, but let Nix make images from scratch. That's the approach my team is taking, anyways. https:/&
63.
▲
by
adamtulinius
7y ago
You don't have to keep any more track than you do with your OS; it's just a different button you hit when updating containers. Or don't keep track at all: Just rebuild and redeploy often enough.
64.
▲
by
adamtulinius
7y ago
In my opinion that would only be useful to help with creating partitions and file systems. The rest of the install process is basically creating your system configuration (and there's a helper tool for that), and a single command to pe
65.
▲
by
adamtulinius
7y ago
Avoiding local state is the primary reason we wrote morph, and the reason morph doesn't support provisioning hosts on AWS/GCE/.. is that we host everything in house. That makes morph simpler in many ways. :-) (also, we'r
66.
▲
by
adamtulinius
7y ago
Combine it and use nix for building docker containers. :)
67.
▲
by
adamtulinius
7y ago
That does not prevent a tree-based implementation, though.
68.
▲
by
adamtulinius
7y ago
Danish supermarkets refrigerate eggs, but the eggs are also unwashed. It's probably the same in Sweden :)
69.
▲
by
adamtulinius
8y ago
Imo. it comes down to the window manager, with regards to productivity. One ultra wide (I got the Dell 38") has the added benefit of making it possible to have the primary app in the center, with less important stuff occupying the far
70.
▲
by
adamtulinius
8y ago
The actual answer is that it is to avoid getting categorised as flow TV.
71.
▲
by
adamtulinius
8y ago
Take a look at NixOS. Everything is precompiled, but only until you start changing packages (configure flags and what not).
72.
▲
by
adamtulinius
8y ago
I find it slightly weird to test different protocols like that, especially the SCP test, where the author states: "With SCP, we transfer the 10GB random file over scp using OpenSSH server and client. We can clearly see that even bare-m
73.
▲
by
adamtulinius
8y ago
You prefer strangers running away with your credit card?
74.
▲
by
adamtulinius
8y ago
If you knew it was a joke, you could have asked for an explanation instead. ;)
75.
▲
by
adamtulinius
8y ago
It's a joke.
76.
▲
by
adamtulinius
8y ago
"A very pretty structure emerges; this might be spurious in that it captures more about the layout algorithm than any “true” structure of numbers."
77.
▲
by
adamtulinius
8y ago
The $1000 can be spend on multiple games.
78.
▲
by
adamtulinius
8y ago
I'm stuck in a "please accept our gazillion cookies" loop. After managing preferences (which is implemented illegally, as I understand, since opt-out should be as easy as opt-in) and saving, I just get shown the same page aga
79.
▲
by
adamtulinius
8y ago
I tried running Linux and Windows on a 2009 MacBook. Touchpad felt crap compared to on OS X. Pretty sure the Windows experience was better than the Linux one, though. So software is certainly a part of it. Edit: This is just considering bas
80.
▲
by
adamtulinius
8y ago
Your code should be written this way instead: if !cache.contains(key) { v = db.query("..") expiry = calcexpiry(v) cache.put(k, v, expiry) } return cache.get(k) Only one return, and everythin
81.
▲
by
adamtulinius
8y ago
Spot on. The two layer system is both a blessing and a curse. Debugging problems can get really hairy because of the two layer split, and it's just not worth it if one is running Marathon as the only framework. I came to the conclusion
82.
▲
by
adamtulinius
8y ago
No, that is usually the responsibility of the system wide package management system. :)
83.
▲
by
adamtulinius
9y ago
I'm not saying everybody needs to know everything about everything, but I'm really not happy about people's lack of IT knowledge in a world that is only getting even more technical. People really should know just a little bit
84.
▲
by
adamtulinius
9y ago
And the result is that the general population can't fix even simple issues with their computers, and not even reinstall an OS. Knowledge is great, but ignorance is bliss, I suppose :P
85.
▲
by
adamtulinius
9y ago
Nope, I haven't. Last time I ran Arch as my personal OS, a normal update bricked the system after a week. :P My experience is mostly with deb and rpm before Nix.
86.
▲
by
adamtulinius
9y ago
You're right, it's not bad, but chances are one will need to do a bit of packaging work if using NixOS for many different or complicated things. But as I said, it's all in all really nice to work with Nix.
87.
▲
by
adamtulinius
9y ago
Woops, was meant as reply to the GP.
88.
▲
by
adamtulinius
9y ago
The PEP doesn't even mention /usr/bin/env. Look for yourself: https://www.python.org/dev/peps/pep-0394/
89.
▲
by
adamtulinius
9y ago
On the flip side a friend of mine can literally reinstall her OS from backup in about 15 minutes, including all applications and their configuration.
90.
▲
by
adamtulinius
9y ago
We migrated from Debian+Ansible to NixOS to easier be able to ensure consistency across servers. Rolling back and forth is really easy for most things. It's also the most convenient system I ever worked with for creating custom package
More ›