Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ambrice
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
ambrice
11y ago
With printf, you do have to look at the docs to see what the string conversion function is. With iostream, you still have to look at the docs to see if the ostream operator is implemented for the class, it's certainly not universal.
62.
▲
by
ambrice
11y ago
It's a pain to format text. Things like: printing an int in hex, printing a zero-padded int of a specific length, printing a float to two decimal places. And having those formatting changes be stored silently as global state leads to
63.
▲
by
ambrice
11y ago
So is this a real thing? I've never seen this pigdog website before, it's second newest article was published in 2012, and there's no mention of this on the perl 6 home page or in the perl 6 announcements mailing list..
64.
▲
by
ambrice
11y ago
Another good example of the level of technical detail I see in comments from systemd haters, thanks.
65.
▲
by
ambrice
11y ago
You know, the funny thing is I never exactly considered myself a systemd supporter. I just get tired of the comments from people bashing systemd which are almost always emotional and political rather than technical in nature. Maybe there&#x
66.
▲
by
ambrice
11y ago
It's hard to argue with someone who claims that systemd has zero benefit. You claim unit files are confusing. Let's say we took a Windows programmer who was a sophomore in CS but didn't have any Unix or Linux experience, sho
67.
▲
by
ambrice
11y ago
It's because every argument I've seen against systemd is by people who think systemd betrays the Unix philosophy and think we should go back to sysvinit (see rconti above). Upstart had a lot of problems, and the only good technic
68.
▲
by
ambrice
11y ago
You think if it wasn't for systemd your server wouldn't need dbus? You wouldn't be running docker on that server either..
69.
▲
by
ambrice
11y ago
The linux kernel is breaking the way Docker currently uses cgroups. And systemd is providing a fix for systems running systemd, but this is their fault because systemd is not also providing a fix for systems that aren't running system
70.
▲
by
ambrice
11y ago
If you don't like systemd in general that's one thing, but to claim that systemd only benefits desktops is just wrong. I'm just tired of the "systemd only goal is boot speed" argument. Too many people want to join t
71.
▲
by
ambrice
11y ago
Why do you think that systemd is not useful on a server OS?
72.
▲
by
ambrice
11y ago
Presumably Docker offers some benefit. It's weird that you and several others have jumped to the conclusion that it's obvious they should get rid of Docker. I would say: knowing this information, why do you still think java is a
73.
▲
by
ambrice
11y ago
So, wine (the windows emulator) should be illegal?
74.
▲
by
ambrice
12y ago
So you do believe that if there are more books and tutorials about a topic that means its more complex?
75.
▲
by
ambrice
12y ago
I knew that no matter what languages I picked for my examples, that someone on hn was going to respond that yes, in fact language B is much simpler than language A. I believe you understood the comparison I was trying to make and I'm
76.
▲
by
ambrice
12y ago
So, going by the number of books and tutorials metric, java is a much more complicated programming language than erlang? Have you seen how many books and tutorials java needs?
77.
▲
by
ambrice
12y ago
I think most soylent drinkers don't do it 100%. I drink it for breakfast and lunch, and do dinner with the family. So for me I do four servings over two days. I think they're finding that this a common pattern and updating the
78.
▲
by
ambrice
12y ago
If you don't know what the problem was why are you so convinced it was systemd? Could be the kernel, could be udev, dbus, filesystem, or hardware (sorry, there is never 100% "known good" hardware).
79.
▲
by
ambrice
12y ago
What about Mir?
80.
▲
by
ambrice
12y ago
But then it would have to either keep the passphrase in memory (just as bad) or ask for the passphrase each time you reconnect later (defeats the purpose of ssh-agent). Edit: Nevermind, you're talking about ssh, not ssh-agent..
81.
▲
by
ambrice
12y ago
So, is there a big advantage to running ssh-agent vs unencrypted 0400 keys in your ~/.ssh directory?
82.
▲
by
ambrice
12y ago
How will they know if the field engages them without being exposed to it?
83.
▲
by
ambrice
12y ago
So quit your job at MouseTrap Enterprises before you go off and build your better mouse trap. If you have a job as a MouseTrap inventor at MouseTrap Enterprises and you have a great idea for a mouse trap, it does seem kind of sketchy to go
84.
▲
by
ambrice
13y ago
They do now, and the first one is still using strlen(). Does the existence of the second function mean it's now ok for the first to use strlen()? You can still crash the program if you send binary data to the string function instead
85.
▲
by
ambrice
13y ago
functions don't conform to specs, the API and library as a whole should conform to the spec. It's perfectly valid to have one function that supports strings and another function that supports binary data.
86.
▲
by
ambrice
13y ago
It is a logical leap to assume that because the spec says other types of data are valid that means you should be able to pass arbitrary data to this function that is documented as requiring a 0 terminated string. Let's say you wanted
87.
▲
by
ambrice
13y ago
Yes, the spec says the field can be string or binary. The API only handles string fields. The API should be (and was) updated with a function that handles binary fields, but there's nothing wrong with the original function. If this w
88.
▲
by
ambrice
13y ago
Yes, lots of APIs that take char * will break if you pass them some arbitrary other type of data that you assume they will handle.
89.
▲
by
ambrice
13y ago
There's only so much an API can do with garbage input. If this function took a pointer and a length, that's not a magic fix, you could still pass it a bad pointer and/or a bad length..
90.
▲
by
ambrice
13y ago
Nate Silver did the same thing prior to the 2012 U.S. elections..
More ›