HNHacker News
TopNewBestAskShowJobs

cleeus

239 karma · joined May 23, 2016

submissionscomments
cleeus··on Checked C
OK, I have to admit that Checked C is probably strictly safer while C++ is ... a mixed thing (both safer and more complicated).
cleeus··on Guccifer 2.0: DNC's servers hacked by a lone hacker
> * The files have at least passed through the hands of a Russian or someone who likes using former Russian spies as a pseudonym.

Or intentionally made to look like that. Attribution of hacks is on the spectrum of hard to impossible. Who can prove it wasn't the NSA/CIA?

cleeus··on My First 10 Minutes on a Server
echo "set background=dark" > /etc/vim/vimrc.local
cleeus··on Checked C
If that's all, it's nothing that cannot be done in-language with smart pointer/iterator types in C++.
cleeus··on AI produces realistic sounds that fool humans
Yes, and often sounds from huge sound libraries are used. I allways smile when I hear a sound from Unreal Tournament 4.36 in a movie or on TV.
cleeus··on Sublime Text 3 marked as recommended build
I've never used any of those new editors (ST, Atom, VS Code, ...). Can anyone compare them to the more classic ultraedit? Or said differently: Why would I chose ST3 over one of the classic editors?
cleeus··on Java Generics Are Turing Complete
btw, here is the URL for a Java-Generics-Program from the paper: https://gist.github.com/rgrig/b4cdaed3ed9a70dbdb6f158f14b572...

comment from the source:

  // Encodes a Turing machine that counts in binary, and then halts.
  // Gives stack overflow by default.
  // If you increase the stack size (javac -J-Xss100M Main.java),
  // then it type-checks, but it takes a lot of time.
cleeus··on Balde: a microframework to develop web applications in C
Using SCGI as the sole backend protocol is a bad idea. I have implemented a C++ SCGI stack myself. The problem with SCGI that I found (of course very late in the game) is that it requires a TCP connection on localhost for every request on the HTTP frontend. This will leave you with a TCP socket in TIME_WAIT state for every logical request. While it is very simple to implement, it's missing pipelining an keep-alive. I think it's a better idea to implement a very minimalistic HTTP backend that can do pipelining and keep-alive with the upstream HTTP server. You don't need to support the full HTTP protocol, just enough to function with nginx/lighttpd/Apache.
← PreviousPage 3 of 3