HNHacker News
TopNewBestAskShowJobs

jojo1

-11 karma · joined March 27, 2011

submissionscomments
jojo1··on Sony was running unpatched Apache with no firewall for months before breach
Ok, than go on. :-)
jojo1··on Sony was running unpatched Apache with no firewall for months before breach
So, you disagree with me. That's perfectly fine. But why are you down voting me for not sharing your position?

I've been working a long time in the "security industry". Believe me, it has reasons why I call products like WAFs snake oil...

jojo1··on Sony was running unpatched Apache with no firewall for months before breach
They are the same kind of crap as personal firewalls are.
jojo1··on Sony was running unpatched Apache with no firewall for months before breach
WAFs are snake oil.
jojo1··on LastPass requesting password reset after facing unknown anomaly
IMHO everyone who is using such a service is a moron.
jojo1··on OpenBSD 4.9 Released
http://marc.info/?l=openbsd-cvs&m=129543726419518&w=... http://marc.info/?l=openbsd-cvs&m=129537785019792&w=...
jojo1··on OpenBSD 4.9 Released
"IPsec stack audit was performed, resulting in:

Several potential security problems have been identified and fixed."

...nice euphemism.

jojo1··on The Linux Security Circus: On GUI isolation
No.

See: http://theinvisiblethings.blogspot.com/2011/04/linux-securit...

jojo1··on Why you should use talloc for your next C project
Yeah, down-vote me. I like it...

http://ccan.ozlabs.org/info/talloc.html talloc is LGPL v2

jojo1··on The Linux Security Circus: On GUI isolation
Currently the only secure way is to start a second X screen with another uid.
jojo1··on Why you should use talloc for your next C project
-1
jojo1··on The Linux Security Circus: On GUI isolation
xinput is still able to read all keys when xterm's secure keyboard is enabled.
jojo1··on Pipeable Ruby - forget about grep / sed / awk / wc ...
I'm using grep/awk/sed all day long, I need never more than 10 seconds to build a command group...
jojo1··on Pipeable Ruby - forget about grep / sed / awk / wc ...
Go home pru...

rw@raccoon:~> du -h messages

19M messages

rw@raccoon:~> time grep -e "foobar" < messages

real 0m0.030s

user 0m0.022s

sys 0m0.008s

rw@raccoon:~> time pru /foobar/ < messages

real 0m0.796s

user 0m0.722s

sys 0m0.071s

jojo1··on Pipeable Ruby - forget about grep / sed / awk / wc ...
How fast is it?
jojo1··on Git is Inconsistent
Hmmm, nobody seems to care: http://article.gmane.org/gmane.comp.version-control.git/1057...
jojo1··on Encrypt a file so that only a SSL site's private key can decrypt
Or just use /dev/random :)
jojo1··on Encrypt a file so that only a SSL site's private key can decrypt
Using /dev/urandom as password source is a very bad idea.
jojo1··on Show HN: Solving Sudoku using PHP.
thx!
jojo1··on Show HN: Solving Sudoku using PHP.
Maybe it's time to look at prolog. :-) P.s: Sorry for the broken new-lines.

:- use module(library(clpfd)). sudoku(Rs) :- flatten(Rs,Vs), Vs ins 1 .. 9, rows(Rs), columns(Rs), blocks(Rs), label(Vs), maplist(writeln,Rs).

rows(Rs) :- maplist(all distinct,Rs).

columns(Rs) :- columns(9,Rs). columns(0,Rs). columns(N,Rs) :- N > 0, N1 is N-1, maplist(nth0(N1),Rs,X), all distinct(X), columns(N1,Rs).

blocks([A,B,C,D,E,F,G,H,I]) :- blocks(A,B,C), blocks(D,E,F), blocks(G,H,I). blocks([],[],[]). blocks([A,B,C|Bs1],[D,E,F|Bs2],[G,H,I|Bs3]) :- all distinct([A,B,C,D,E,F,G,H,I]), blocks(Bs1,Bs2,Bs3).