Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tsahyt
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
tsahyt
10y ago
Writing a toy ray tracer is something that I'd recommend to everyone who's interesting in becoming a better programmer. Once you get deep enough into it you'll encounter so many interesting problems (e.g. data structures, sof
2.
▲
by
tsahyt
10y ago
I do. I've got the server counterpart set up on a Linode and sync my task lists across all devices. That's quite nifty because I usually think of things that I should be doing while I'm on the go. At the moment I need this ki
3.
▲
by
tsahyt
12y ago
I came across this yesterday. Not necessarily just exploiting a Windows security hole though. http://media.ccc.de/browse/congress/2013/30C3_-_5476_-_en_-_...
4.
▲
by
tsahyt
12y ago
The beauty about Linux (and a lot of well-maintained open source software) is that security flaws are usually patched rather quickly -- with the possible exception of the disaster that is X, but Wayland is coming along nicely.
5.
▲
by
tsahyt
13y ago
Same here, although I somehow wanted it to win, so I could finally at least see the mythical 2048 tile that everyone seems to be speaking of.
6.
▲
by
tsahyt
13y ago
I'm running dwb, version 2013.08.03 (either the maintainer for Fedora is slightly lazy or there hasn't been a new version in a while) on Fedora 20. It reports Safari 538 and OSX as the operating system. I've also got cookies
7.
▲
by
tsahyt
13y ago
Many NP-hard or NP-complete problems have (infinitely many) instances that are "easy" to solve. It is quite straight forward to write up a procedure that produces infinitely many instances of 3-SAT that can be solved in polynomial
8.
▲
by
tsahyt
13y ago
This might come across as quite harsh but the article could have been much shorter. NP is the class of decision problems that can be solved by a non-deterministic Turing machine in polynomial time. A problem is called NP-hard when there i
9.
▲
by
tsahyt
13y ago
I thought the hash was in fact used for ensuring data integrity. That's pretty much what Linus stated when he said you have a guarantee that the data you put into your repository is exactly the data you get out of it.
10.
▲
by
tsahyt
13y ago
I'm no expert but as far as I understand, the signature would be valid as long as the hash stays the same. If the commit has been tampered with in such a way that the hash does not change, the signature would still appear valid.
11.
▲
by
tsahyt
13y ago
I'd be interested in learning Rust. I've been learning Haskell last year and I'm absolutely loving it.
12.
▲
by
tsahyt
13y ago
But, wasn't the drama exactly the point of the article?
13.
▲
by
tsahyt
13y ago
No specific examples, but all of my best optimizations as in biggest-speedup were of algorithmic nature that actually improved asymptotic complexity. In terms of my favorite ones, it's probably a piece of C code using SSE intrinsics to
14.
▲
by
tsahyt
13y ago
There's a lot going on and that's the way it has been for quite a while now but as someone who's working with databases only marginally at the moment, I'm left wondering: What's wrong with RDBMS? Sure it's nice
15.
▲
by
tsahyt
13y ago
I used to strive for clever solutions. The shorter the better. I still like to look at them but I want them as far away as possible from my code base. Sure, if a solution is clever and efficient, while still readable, maintainable and easy
16.
▲
by
tsahyt
13y ago
That's really all there is to it, isn't it? I've never understood why some people feel the urge to modify the same variable multiple times in the same statement. It doesn't help readability, it's harder to reason ab
17.
▲
by
tsahyt
13y ago
I know what you mean but it's early in the morning here and I feel like being a bit pedantic: As far as we can tell neither of the algorithms actually terminates for arbitrary inputs. If we could show that, we'd have proven the Co
18.
▲
by
tsahyt
13y ago
chas explained it very well already, I'd just like to add that this is called a "lambda function" (or lambda expression) or an anonymous function, just in case you want to look it up. There's more on it here: http:/
19.
▲
by
tsahyt
13y ago
I've already posted this on /r/haskell on reddit but since the article turned up here as well, I might just as well post this again. Since we're talking optimization I had a short look at the C code and found it to be a
20.
▲
by
tsahyt
13y ago
> not a problem of the paradigm Correct. The main problem I see with OOP is that some people advocate it as the only correct way to write maintainable code, which, of course is completely wrong. In fact, OOP doesn't translate well t
21.
▲
by
tsahyt
13y ago
I keep in touch with mine just fine without Facebook. I use my phone every now and then for actual phone calls and sometimes even meet them. In short, I do what people have been doing years before Facebook and I don't feel like I'
22.
▲
by
tsahyt
13y ago
You can also add this line to .inputrc which will give you vim keybindings in everything that uses the readline library (for instance, ghci, ipython or gdb). However, I found that it breaks a few things in gdb though.
23.
▲
by
tsahyt
13y ago
In fact I think everybody who's interested in the subject should try to roll their own crypto for the experience and fun in it. They shouldn't use it in the real world though.
24.
▲
by
tsahyt
13y ago
Or the original Halo on the first Xbox. If I remember correctly that game alone promoted the console for a lot of customers. Valve could give HL3 a head start of a couple of months on SteamOS and release it on other platforms after that. It
25.
▲
by
tsahyt
13y ago
I haven't bought a Steam game either. In fact, I don't even have an account. For the past couple of years I've been locked into the MS ecosystem with the Xbox 360. I will not buy the Xbox One though. I don't need a surve
26.
▲
by
tsahyt
13y ago
I'd be open to something new if it serves the purpose but I wouldn't mind getting a mouse and keyboard in my living room if that happens to be the best way to play a game. But that's probably just me.
27.
▲
by
tsahyt
13y ago
Is there any reason for switching to LLVM/CLANG from GCC other than the licensing?
28.
▲
by
tsahyt
13y ago
Artists can't take care of themselves without the dollars though.
29.
▲
by
tsahyt
13y ago
I was thinking the same thing and was wondering how exactly that would look like as the page loaded. In a way I was disappointed. It's still a pretty cool feature though.
30.
▲
by
tsahyt
13y ago
When I set up my first server I was thoroughly surprised at the amount of login attempts. By now I've got most of Asia on a blacklist for port 22 (which doesn't matter, since I'm not going to connect to my server from an Asia
More ›