Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gknoy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
105 ms
·
931.
▲
by
gknoy
12y ago
> Always, always, check the timing belt (or chain) and oil pump on old vehicles. How? I'm assuming you mean when evaluating a used car to buy. Do I say "I need to have my mechanic check this...", or is there some k
932.
▲
by
gknoy
12y ago
As Baq said, programs must: - be executable - (optional) take input from somewhere (e.g. stdin, or command line arguments) - (optional) write output (e.g., print statements) Would you be able to write a small script that implements solution
933.
▲
by
gknoy
12y ago
TL;DR: Don't give up! It gets better, and so will you! I always try and obsessively look for the "best" or "proper" way to do something. Don't. Do your personal best, and THEN look at ways to improve it,
934.
▲
by
gknoy
12y ago
I wouldn't -- the number of times I've inadvertently hit C-w rather than C-s (or M-w when I wanted something else), or control-q when I meant to hit control-a, FAR outnumber (by two orders of magnitude) the number of times I'
935.
▲
by
gknoy
12y ago
Agreed. I also used ctrl-shift-p to preview Github comments with similar frequency while composing, and get frustrated when I get print dialogues in my mail window.
936.
▲
by
gknoy
12y ago
I've grown accustomed to writing longer comments or posts in an external editor, simply because I've too frequently experienced browser crashes, or an inadvertent (or absent-minded) screen refresh. Alt-backspace is my worst offen
937.
▲
by
gknoy
12y ago
Oh god. I run 8.1 at home, and it randomly fails to "sleep" -- about half the time (or more), it will boot from scratch the next time I turn it on. I don't know if it's a problem with my hardware, or drivers, or what.
938.
▲
by
gknoy
12y ago
Thank you for mentioning the Eudyptula Challenge [1]. It's not my cup of tea right now, but it sounds Really Cool for anyone interested in kernel programming. 1: http://eudyptula-challenge.org/
939.
▲
by
gknoy
12y ago
Out of genuine curiosity, why did you decline to answer? It seems that accurate census data would be really useful for planning many things.
940.
▲
by
gknoy
12y ago
That sounds like exactly the way to say it. Well, maybe add in "because I love you" as well. ;)
941.
▲
by
gknoy
12y ago
I think it was a (snarky?) way of saying, "Remember that this is open source! Rather than simply groaning and giving up, please consider filing a bug report on it, and describing thjings in a way that we can reproduce it". Most o
942.
▲
by
gknoy
12y ago
I have trouble sleeping if my blanket isn't heavy enough -- it's not a warmth issue, as far as I can tell, but rather a weight one. That, and having a warm body but breathing cold air seems to be something I like. That might be wh
943.
▲
by
gknoy
12y ago
That slow-motion was pretty awesome, I agree. You could tell that the fencer had practiced that to where retreating into a defensive guard was likely instinctice. :) When you look at many of the plates from earlier fencing manuals, such as
944.
▲
by
gknoy
12y ago
It's not that the problem was simple -- the other team's example shows that it was not. Rather, programmer C took the time to think about the problem enough, and write code that was elegant enough, that it __looked__ simple. Simp
945.
▲
by
gknoy
12y ago
If I understand this right, this would have the subsidiary be ONLY distributing to Youtube, and a different one distributing to the other services, which would then fall within the "release it here at the same time you release it anywh
946.
▲
by
gknoy
12y ago
No it does-- er, nevermind. :D
947.
▲
by
gknoy
12y ago
It seemed a lot more to look like Facebook to me (even on a second and third watching of that short clip after reading your comment).
948.
▲
by
gknoy
12y ago
I recall seeing a video of a presentation about trashing a device that's plugged in via exploits (I think?) in the USB protocol, but I imagine that the "do things when something is detected" part would be comparatively easy t
949.
▲
by
gknoy
12y ago
Open source still has its security benefits. When an exploit is publicized, the "fix" for it can be highly scrutinized, and people can comment meaningfully on whether it actually fixes it, and can contribute their own. I remembe
950.
▲
by
gknoy
12y ago
Electronic signs. - Free parking (5 hours remaining) - No Parking (4.5 hours remaining) Of course, that has its own problems, (Power, vandalism, bugs ...) but it would help drivers a LOT. As the article said, no one cares about WHY they can
951.
▲
by
gknoy
12y ago
Thanks for the suggestion of `winner-mode`! Swapping between buffer arrangements based on task (coding vs shell work, etc) always felt weird. I solve it with having a giant editor on one monitor on one screen and a large terminal w/ ta
952.
▲
by
gknoy
12y ago
Looking at his user info, it looks like this might be it: https://github.com/julienchastang/dotemacs/blob/master/setti... It looks like it's meant to be included directly as a config file, which see
953.
▲
by
gknoy
12y ago
I'm pretty certain you can ask them for a random number instead, as only the government is allowed (last I recall) to __require__ an SSN. I know my doctors can ask for it, but are required to accept an alternative if I don't wish
954.
▲
by
gknoy
12y ago
Why send troops to cut off an area when you can have a 24/7 patrol of small, cheap drones that'll kill anything larger than a rabbit ...? That sounds like an automated smart minefield, which can be mobile. I'm
955.
▲
by
gknoy
12y ago
In the context of "leaving early", I suspect he meant that some of his coworkers left at lunchtime on Friday, after having worked longer earlier in the week.
956.
▲
by
gknoy
12y ago
Thanks for the reminder about integer division changing! I had seen some code in our (2.7) codebase that used (a/b), and I had wondered if I should be explicit about using math.floor, but this is even better.
957.
▲
by
gknoy
12y ago
Excellent point. I wonder if it would be feasible to put this kind of check in a pre-commit pipeline to prevent it actually getting committed in the first place.
958.
▲
by
gknoy
12y ago
I don't think that the author violated the CFAA, though: in both cases, he was acting on behalf of his users that he had created in the system -- the same requests he would normally make when using those accounts. ("BobAtHome&quo
959.
▲
by
gknoy
12y ago
"... from approximately 1 m using a ... 39 megapixel digital camera ... with 120 mm macro lens" Good news: At least we can still trust that normaly surveillance cameras won't have the kind of resolution to perform this feat.
960.
▲
by
gknoy
12y ago
The Perl Cookbook was one of the best technical books I read in my early career, specifically because it said, "No, look, there are about four ways to do this right, and here are their tradeoffs" for multiple problems. Articulati
More ›