HNHacker News
TopNewBestAskShowJobs

stplsd

284 karma · joined April 18, 2013

submissionscomments
stplsd··on Why animals eat psychoactive plants
>Trying doing that with cocaine or heroin. Actually do not try it because you will be addicted and have serious health consequences.

This only because heroin is illegal. Pure heroin is very gentle and harmless drugs. The worst you can get from pure heroin is constipation. While it may be unpleasant compare it to the effects of long term alcohol use which includes cirrhosis, serious heart problems, etc.

stplsd··on CVE-2015-0235 – GHOST: glibc gethostbyname buffer overflow
Just remember that by default lsof prints only first 9 characters of process name, so processes with long names will be cut. You can change how much initial characters lsof prints with +c command, but often kernel does not supply full names for lsof, example limit in my box is 15 characters

>lsof +c 64

lsof: +c 64 > what system provides (15)

So

lsof +c 15 is maximum

stplsd··on Nashville police chief shares message, responds to questions
http://soundpolitics.com/Sotsrealizm.jpg
stplsd··on Microsoft takes .NET open source and cross-platform
So that does that means for linux developers like me, who want to start dabble in .NET ecosystem. Where MONO stand in this?
stplsd··on CD-Loving Japan Resists Move to Online Music
And do not forget mystical Obi!
stplsd··on Bill Gates answers questions about Java during a deposition (1998) [video]
This is from part 6, priceless:

Q And first let me ask a general question, and that is: Did you believe that from Microsoft's standpoint it was desirable to have as many pure Java applications as possible?

A We weren't focused on that as a goal, no.

Q In fact, is it fair to say that you preferred fewer pure Java applications to more pure Java applications?

A We preferred more applications that took advantage of our APIs, and so we worked with ISVs to maximize the number that took advantage of our APIs.

Q And your APIs were not pure Java APIs; correct?

A No. Some were, and some weren't.

Q Yes, sir, some were, and some weren't. But the APIs that you wanted people to use were APIs that were not pure Java APIs; correct, sir?

A No. We were glad to have people use both.

Q Were you indifferent as to whether they used your pure Java APIs or your proprietary APIs?

MR. HEINER: Objection.

THE WITNESS (Bill Gates): You've introduced the word proprietary, and that completely changes the question. So help me out, what do you want to know?

Q BY MR. BOIES: Is the term "proprietary API" a term that you're familiar with, sir?

A I don't know what you mean by it.

Q Is it a term you're familiar with in your business?

A I really don't know what you mean. You mean an API that you have a patent on?

stplsd··on Intel memory ordering, fence instructions, and atomic operations (2009)
Funny thing,

Just yesterday I did not know almost anything about memory models, cache coherence, etc. Then I've read this book/lecture [1], got interested and later found the same great articles by Peter Sewell[2], you've mentioned

And today I see it on hacker news :)

[1] http://www.morganclaypool.com/doi/abs/10.2200/S00346ED1V01Y2...

[2] http://www.cl.cam.ac.uk/~pes20/weakmemory/index.html

stplsd··on One wolf's migration across Europe
Wolfs community is very concerned about this. There is initiative from senior members to held conference about fighting for wolfs right to privacy.
stplsd··on CentOS 7 released on x86_64
Will I still be able to run commands like service mysqld start, etc?
stplsd··on HBO programming available on Amazon Prime
Yes, you can, through third party HBO partners like Pirate Bay and Kick Ass Torrents.

It has many benefits over Amazon offering:

1) It's available worldwide 2) Price is good even for starving students 3) For older seasons, you can choose between 720p/1080i streams and high quality ~30Mbps streams (also known as untouched blu rays)

stplsd··on HBO programming available on Amazon Prime
The Shield is actually better than The Wire:

http://www.theguardian.com/culture/2008/dec/27/tv-drama-davi...

stplsd··on The JavaScript Problem
Jesus, the next time I will read phrase 'leaky abstraction' I am going to throw up.
stplsd··on The JavaScript Problem
Oh, article with attitude.
stplsd··on Capital Man: Thomas Piketty is economics’ biggest sensation and fiercest critic
Carlin said this better: https://www.youtube.com/watch?v=acLW1vFO-2Q
stplsd··on Math topics useful for computer science/programming
- number theory underpinning almost all modern cryptography

- NFA/DFA underpinning regular expressions ( well practical regular exp are not in fact regular, but anyway)

stplsd··on Gabriel García Márquez, Literary Pioneer, Dies at 87
I am indifferent that he died and I hate to say this, but it should have been better to literature if he never existed as writer.
stplsd··on Gabriel García Márquez, Literary Pioneer, Dies at 87
He's “a man terribly pleased to have hobnobbed with so many Presidents and Archbishops”

He opened the flood gates of saccharine magic realism which haunts Latin America literature to this day.

stplsd··on Game servers: UDP vs TCP
Or just open multiple TCP streams (that means of course multiple TCP connections) and waste resources on additional TCP state tracking and additional recieve/send buffer allocations, etc.
stplsd··on PostgreSQL indexing in Rails
Ok, obviously I never done web development, but why you would want declare schema from rails? And ActiveRecord is some kind of ORM (the buzzword I was hearing lately, but never actually care to fully understand it)?

Now I am reading book High Performance MySQL: Optimization, Backups, and Replication (yes, I know this post about PostgreSQL) and there are so much stuff to know, so this ORM thing seems like a toy.

So what is wrong to creating schema with plain old (database specific) SQL?

stplsd··on TCP in 30 instructions (1993)
>Van Jacobsen

Van Jacobson

He is probably most famous for his work on early congestion control algorithms in 1988 (http://ee.lbl.gov/papers/congavoid.pdf)

stplsd··on Xv6, a simple Unix-like teaching operating system
This is flame between two man with HUGE egos, not a debate.
stplsd··on Xv6, a simple Unix-like teaching operating system
What about 386BSD?
stplsd··on Uruguay legalises production and sale of cannabis
>In an ideal world, no one would try to get heroin

It's a sad statement.

In what ideal world? Brave new world type "ideal world"? World with "shiny, happy" people which you see in TV commercials? And in an ideal world, no one would try rock climbing and BASE jumping? Because these activities are far more dangerous than doing heroin.

You see, some people like hacking on perl, some playing PC games, some enjoy rock climbing and some love doing heroin. Now the tragedy comes then government makes some things so more dangerous for the user and society by making them illegal.

stplsd··on Uruguay legalises production and sale of cannabis
> highly addictive

hacker news is highly addictive, should we ban it too?

> and easily lethal if taken in to high a dose or combined with other drugs

Just use common sense. Water is lethal taken in to high a dose [1]. Almost every substance is lethal if taken to much for body to handle. And mixing heroin with benzos is just plain stupid. Of course if heroin would be legal, it could be printed with warnings, etc. And people take heroin (or other opioids) with benzos for two main reasons:

a) Unknowingly take a mix then dealers mix diluted opioids with benzos for better effect and to hide that their shit is weak

b) Users mix themselves then opioid is weak or doesn't produce enough high (methadone, etc)

If users should have cheap source of medical grade heroin no one would use them with benzos. So legal heroin have only benefits. Of course some people are plain stupid (for example taking too much paracetamol and end being without kidneys)

So just don't do heroin alone, have a Naloxone for worst case scenario and heroin will be safe as milk.

[1] http://en.wikipedia.org/wiki/Water_intoxication

stplsd··on Uruguay legalises production and sale of cannabis
It is a shame that all legalization efforts goes to cannabis - the drug that causes the least problems by being illegal.

What we really need is to legalize "hard drugs"[1] - heroin, methamphetamine. These drugs cause the most harm by being illegal and it is a shame, because, for example, pure heroin is gentle and harmless drug.

Too bad I am not see this happening in the next 100 years. But I am sure that it will happen eventually. Future generations will see the "war on drugs" the same we see slavery today.

[1] "hard drugs" is meaningless term

stplsd··on Uruguay legalises production and sale of cannabis
"Why is the drug czar of this country - Well, lets go back. Why do we have a drug czar in this country, a)? b) Why is he a cop? Why isn’t he a guy in recovery, who’s had alcohol and/or drug addiction and overcome it? And why doesn’t he help people with the same problem with compassion rather than condemnation? Why do we put people who are on drugs in jail? They’re sick. They’re not criminals. Sick people don’t get healed in jail. See, it makes no sense."

-- Bill Hicks

stplsd··on I Spent A Month Living In A Romanian Sexcam Studio
I would add humourlessness. There is good old article on adult industry by Martin Amis:

http://www.theguardian.com/books/2001/mar/17/society.martina...

"But then humourlessness, universal and institutionalised humourlessness, is the lifeblood of porno"

stplsd··on Bill Gates funds creation of graphene condoms
>3) Gay Sex

It is not 1988 anymore, and it's called AIDS not GRID anymore. What else? 4) Bi sex 5) Threesome sex 6) Lesbian with strapon sex?

stplsd··on The Russia Left Behind
At least some fresh air in this in thread.

I suspect that reality is even worse. Exponentially worse.

As one poet said "Умом Россию не понять"

stplsd··on JavaScript Isn't Scheme
Perl was big in 2001 and had closures and first-class functions.

And let's not forget great book Higher-Order Perl: Transforming Programs with Programs http://hop.perl.plover.com/

← PreviousPage 3 of 4Next →