Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
amag
10y ago
> At the end of the day, your software has to save or earn money. The salesmen and business heads don't care how pretty your code is You're right, they don't care, but maybe they should. Pretty is one thing but maintainabi
212.
▲
by
amag
10y ago
Well, he had somehow managed to write an awful lot of C++. Most of the code base at that company was in old school C++ (huge monolithic classes). Since he was one of the founders I can only assume C++ was his main language.
213.
▲
by
amag
10y ago
p contains whatever happens to be on the stack at the position assigned to it by the compiler. Basically that means that p could point anywhere, so by assigning a char 'c' to a "random" address the best thing that coul
214.
▲
by
amag
10y ago
Hehe, I once had a manager, who was also a programmer, asking me about the difference between new and malloc. He wasn't testing me, I was working at the company. His question was something like "Isn't it that if you use new
215.
▲
by
amag
10y ago
> The company was trying to solve that by hiring more developers, and all it was doing was making things worse. You don't mess with Brook's law!
216.
▲
by
amag
10y ago
I'm a programmer because I love to see things I imagine come to life, not because I love to learn arcane CLI interfaces. I can appreciate the beauty of the underlying design and structure of git, but the git CLI is just a horrible turd
217.
▲
by
amag
10y ago
Tron (1982) Star Wars (1977)
218.
▲
by
amag
10y ago
Like left-pad?
219.
▲
by
amag
10y ago
Only if it was written by PG...but last I heard he's a die hard LISP:er so we're probably safe..
220.
▲
by
amag
10y ago
I always thought "where there's brass there's brass".
221.
▲
by
amag
10y ago
As we are sharing anecdotes: A plumber we had here a couple of years ago, changing thermostats on the radiators in the 40+ houses in our small townhouse community, caused serious water damages in 10+ of the houses. As he came by to fix the
222.
▲
by
amag
10y ago
In Sweden as well. It seems nationalism is on the rise pretty much everywhere, just as it was a hundred yrs ago which lead to WWI (and later WWII).
223.
▲
by
amag
10y ago
And Ludicrous Speed makes Speed of Dark look slow.
224.
▲
by
amag
10y ago
Which is negative when it comes to FTL...
225.
▲
by
amag
10y ago
The quake sources taught me many lessons on how to structure C code!
226.
▲
by
amag
10y ago
> Most large C++ code bases are similar [...] outlaws exceptions While I can understand the ideas behind it, exceptions do cause head aches, I find it really weird. Enforcing this means using a very limited part of the C++ standard lib
227.
▲
by
amag
10y ago
This is exactly my story as well. Even in HS, if I studied for an exam it would be a couple of hours the night before. Not so many A's maybe but plenty of B's and C's got me through just fine. Then it was quite a shock wh
228.
▲
by
amag
10y ago
> I think this is actually false, both anecdotally and when surveys have been collected. Yeah, me too, I guess I was a bit vague with the "if asked" part. I meant if asked straight to their face when others (possibly) manage
229.
▲
by
amag
10y ago
> I view boredom as an asset: it's when I get to introspect. This. It's a lost art. My kids constantly complain about boredom and I envy them. They don't understand me and I fear they never will.
230.
▲
by
amag
10y ago
Yes, the curse of IM. I frequently work from home and coworkers pretty frequently IMs me. Maybe I overthink this but I don't dare to shut off my IM (or mail either for that reason) in order to have uninterruptible concentration on a
231.
▲
by
amag
10y ago
The problem is how to make a company care. If you say you quit unless you get your own office they'll say "Good riddance, even if you're a great dev and we'll have problems replacing you, we don't want someone who&#
232.
▲
by
amag
10y ago
I agree with the sentiment that being snarky doesn't help, but I think ddebernardy is correct when saying: "Sure, a good samaritan could do the work, figure it out, learn something new in the process, and answer. Maybe they'
233.
▲
by
amag
10y ago
The problem of writing documentation is that it's not possible to write it to suite every person. While most documentation certainly can be improved upon it's always the matter of where to best spend my time. Developing a feature
234.
▲
by
amag
10y ago
Maybe, in the face of losing customers to Apple and Samsung (et al), they are trying to cut their own little niche in the mobile market among people who has nothing to hide and likes it when they help the police 'kick ass'.
235.
▲
by
amag
10y ago
Done a lot of code-review of Linux lately?
236.
▲
by
amag
10y ago
Well, the money invested by the deceased has to go somewhere.. I'm not sure how the system works in Denmark but in Sweden you choose whether to give the remaining pension to your family or to have it split among the other people in the
237.
▲
by
amag
10y ago
That's just the thing, maybe nose-picking isn't a big issue after you get to know each other. Many people are very risk-averse when it comes to romantic relationships and the tiniest thing may cause someone to pass on you if the
238.
▲
by
amag
10y ago
Because however looks you up online, does not look at the other 300 million people doing the same thing. (S)he looks at you.
239.
▲
by
amag
10y ago
Sure it's easy to think that you basically anonymous when 300 million others are doing it, but when a potential date looks you up and sees a lot of vids of you picking your nose, maybe you're not so attractive anymore.
240.
▲
by
amag
10y ago
Exactly, even if you have nothing to hide you can be embarrassed by things out of your control (maybe you caught a bug and throw up on a stranger). Also there are things you may not be embarrassed about but unsure how it may affect your
More ›