HNHacker News
TopNewBestAskShowJobs

lolcraft

1,107 karma · joined October 25, 2009

submissionscomments
lolcraft··on Why should I have written ZeroMQ in C, not C++ (part II)
O(n/2) = O(n), so you're right. However...

f(n) being O(n) means: there's a N and an x such that, for all n > x, N*n > f(n). By this definition, O(n/2) is the same as O(n) is the same as O(n/42). You just choose a different N. But it's better form to write O(n).

lolcraft··on Poor in India Starve as Politicians Steal $14.5 Billion of Food
I can guess from where this sort of, seeing the market as a moralistic play, comes from. Macroeconomics can, via some stretching of the perfect-markets hypothesis, be transformed into this almost-Calvinist cosmology, where the virtuous labourers will be blessed with an eventual retirement, and the sinful free-loaders will be punished with the sin of contentment. I guess you worked hard all your life, too. It's the classic "I think I made it without help so fuck everyone else", plus some missionary fervour, Saint Theresa style: "don't give them free stuff! They must earn it or else they won't see the light!".

First, nobody can pull ten million jobs from their ass. Like, what the fuck do you propose they work on? Should we hire ten or twenty Indians to make us sandwiches that we won't eat? To farm more food that nobody will eat? There's simply not enough demand for labour today. If those people that were starving today were instead fairly rich, and could buy something, yeah, sure, there would be more demand for that labour that could create that something.

Second, we are talking about, like, giving them food. It's not like the developed world sat and decided to give each beggar a Mercedes. Apparently you think barely feeding them for a while will turn them into lazy asses without no ambitions such as, I don't know, an apartment, a car, a 40" TV screen and two or three kids. Maybe so. I don't see how it follows.

lolcraft··on Pascal's Apology, or why computer science is complicated
Maybe I'm that ahead of the curve, but I understood inmediately what an algorithm that "takes a Bernoulli sequence with p != 1/2 and outputs another B. seq. with p = 1/2" is. Or perhaps the author chose a wrong example.

If anything, it shows that this field is mature, and has progressed to a more general vocabulary. It's still light years behind other kinds of engineering, IMO.

lolcraft··on Behavior of young children in a situation simulating entrapment in refrigerators
Please. As if no emotionally healthy kid ever spent more than three minutes alone in the dark, after waking from a nightmare for instance. And why the hell would they find out? A post-study review in which they are told "mommy and daddy hate your guts"?
lolcraft··on Legal myths about the Assange extradition
Now, if you wanted to argue that the rape charges look strange, because those charges were dismissed at first, both victims do not want to prosecute further, the accussed is kind of a target, so on... well, OK.

But your argument here amazes me. Why is it suspicious at all for the Interpol to hunt for a possible rapist? It does for thieves, kidnappers and so on. And it should. I would be surprised and enraged if the Interpol had an arbitrary threshold of violence by which it would decide to act or not, as if they were nobles graciously granting the plebs the gift of international justice.

Now, I don't buy that this rape accussations are pretexts. If the U.S. really wanted Assange, why haven't they charged him of espionage, hacking, anything to pressure the U.K. to extradite him? Sweden is now full of U.S.'s lackeys, but the U.K. isn't? Or, shit, just send a CIA agent there and get him on a plane. Wouldn't be the first time that happened.

lolcraft··on Garry Kasparov Arrested By Russian Police
Complaining that most people find interesting something that you see as banal, and demanding they protest what you deem significant is not having a contrarian opinion. It's just being innapropiate to this conversation. Posting about the Marinaka Mine Massacre on HN would be more constructive.

Now, blaming all of this on the "western media narrative", a mindset relic of the hawkest hawks of the Cold War, who exaggerate a simple incident of "vandalism" in order to discredit the democratic government of Putin... Yeah, that's a contrarian opinion. Which just happens to be false. Western media simply does not give that much of a fuck now about Rusia. Past protests in Russia about the legitimacy of the elections? Here covered, at most, in passing. The law banning reunions? Don't care. The Pussy Riot incident? It's only on HN's front page because Kasparov was arrested.

lolcraft··on A Tor of the Dark Web
Some of us see it as, drugs being something that one inflicts to oneself, while weaponry, assassination, terrorism and manufacture of pedophile pornography is, in contrast, inflicted to others by force.
lolcraft··on The German Model
Nope, it's the opposite, in fact. You confuse devaluation with depreciation. What should really happen is that Germany's currency should devaluate (via inflation).

I think of it as this: GIPS have massive debts in "German"-Euros. They also have prices too high in "Gypsy"-Euros, which is equivalent to say that GIPS have also salaries too low in "German"-Euros. They just can't pay that debt, because Gypsy salaries are too low, the prices are proportionately too high, and the debts are also too big.

What you do is, you create inflation only in Germany. Now German Euros are valued less, so wages and revenues grow. Gipsy Euros are valued the same as they were, so prices stay the same, and wages and revenues stay the same.

Now, this means that Germans want to buy more cheap Gypsy stuff and services, so there's now a trade deficit for Germany, and a trade surplus for the Gypsies. Which means an increase in wages and revenues for the GIPS, which is allocated to paying German debt.

The result is that the Gypsies get German jobs and German capital, and the Germans get their debt paid. This debt is, of course, of less value now for the Germans, they have to pay more for everything German, and there's less jobs on Germany, so they are pissed off. The thing is, they still win on the long term, because now they can buy cheaper Gypsy stuff, like Spanish-built German-designed cars. They can concentrate on more capital-intensive production, to offset lost jobs. Also, at least, they got back some of their debt.

lolcraft··on How a Single Oxycontin Pill Nearly Ruined One Man's Life
So. You recognize the laws are stupid. Still, this article doesn't talk about what you think it's important, so let's blame the victim for getting caught. Hmm. Yeah, that was callous, and a bit pointless.
lolcraft··on Microsoft reports first quarterly loss ever
Well, you're just moving the goalposts there. Intel and NVidia still quite dominate AMD in the desktop/laptop.

By the way, ARM couldn't touch Intel if they wanted. ARM's market is not just another league, it's not even the same game. Even so, where low-power x86 vs. ARM can be viable, Intel will win, by default.

lolcraft··on The Cheapest Route to 6 Continents

    $wc = New-Object "System.Net.WebClient"
    $airports = @("JFK", "GEO", "TXL", "SXF", "AGA", "LGW", "LTN", "SAW", "IKA", "KUL", "PER", "BKK", "KBP")
    foreach($airport in $airports) {
        $wc.DownloadString("http://airportcode.riobard.com/airport/" + $airport + "?fmt=json")
    }
lolcraft··on Research suggests that more money makes people act less human.
I know we all have our prejudices, but come on... You completely miss the point of the article, while jiu-jitsuing some random communist strawman for good measure. Have you even read the article? Many of your objections are mentioned there. Or you could read the actual paper, if you find this newspaper article lacking in data.

BTW, please don't elevate rich people to a pedestal with the right hand, and at the same time, throw shit to politicians with the other. There might be a lot of cognitive damage with feet in Congress, but so there is in Wall Street. Personally, I prefer a democracy without Apple than Apple without democracy.

lolcraft··on Live CERN Higgs Announcement in 20 Mins
Yeah, I doubt most pilots have failure rates anywhere near or above 4 sigma.
lolcraft··on Jeff Bezos Taught Me When to Quit
He didn't "whine and bitch". He quit.
lolcraft··on Data Mining Exec Pays For Burgers In Cash To Avoid Insurance Company Snooping
That is almost the same problem as having to prove one has been robbed at a solitary place. The police would have to look for a fishy-looking transaction, and see if there were indicators that the machine were bitcoins resided was hacked.

Yeah, there would be slim chances of recovering the stolen money, but that already is the case with cash, given a smart enough robber. The right way to tackle that problem is not to make the stolen goods easy to track, but to have preventive measures. In Bitcoin's case, these measures would be good security practices.

lolcraft··on The Scam Wall Street Learned from the Mafia
Well, the defendants also admitted doing all this, but still didn't though there was anything wrong about it because they were expert investment bankers. That's quite amazing too.
lolcraft··on How a Mexican Drug Cartel Makes Its Billions
See, the thing is that, when a legal company is caught enslaving children, they get massive political, social, moral and economic pressure to stop. For instance, Nike and its famous sweatshops.

If your business is illegal, however, you're neck deep in shit already, so the marginal benefit for stopping is almost zero. Twenty to fourty years added to a life sentence.

lolcraft··on Md5crypt is no longer strong enough
Note that getting the client to send only the hashed password is incredibly silly. If there's a leak, the hackers do not even have to crack those passwords.
lolcraft··on Assange loses extradition appeal
Agree, this is ridiculous:

> But Dinah Rose QC, for Mr Assange, said she could challenge the Supreme Court's decision because it relied on a 1969 convention relating to how treaties - such as those concerning extradition - should be implemented, and this had not been discussed during the hearing.

Watch and see. Now his lawyer will put into question the very meaning of implementing an international treaty. All in order to prevent a possible rapist, who just happens to be just a little less famous than Polanski, from being charged. Only the Chewbacca defense could make this sillier.

lolcraft··on Bing shows results that MS asked Google to take down
That is crazy. I mean, The Chronic came out in 2001. It's not that long ago. Gangsta h-hop profuse in "BEE-ATCH!" exclamations, as referring to women, is still being produced. Abusive husbands still call their wives bitches. You might be fortunate enough to live in some sort of cultural coordinate in which this is old and odd, but I would struggle seriously to call that situation a representative sample.

To put it the offensive way, nowadays it might be hip and such for white boys to address themselves as niggas, as it has being normalised by hip-hop spatters into the new bro. Still, no non-asshole honky would do so to an actually black person. It would be pretty insensitive, for starters.

lolcraft··on The Burroughs B5000 - 20 Years Later and Still Ahead of the Times?
I see not that many features that I like and modern processors don't have. Array bound checking would be nice, of course. And yes, not having different pools of unrelated, different-size registers, and a more RISCy opset would be very very considerate. But some of these features seem very inferior by design:

Virtual memory -- useless with 4 GB of RAM at 30$. I'm personally also a proponent of managing this kind of thing with software, since we have OS's, and with good reasons.

String instructions: became useless in terms of performance when the Pentium pipeline came along. Which was undoubtedly a good design decision.

Custom opcodes: just write an interrupt handler for INT3, or whatever INT you like. Your OS might not let you in user mode, but some might say that's a feature.

LOCK existed from the beginning of the multiprocessor era, so please don't act so smug about it. It's like saying that your submarine swims.

The paging unit of the x86 allows the presence of a tag, independent of pointers, including code/data separation. And I'm not that keen on implementing a typesystem in hardware. Extensibility and all that.

Not separating opcodes for different semantics is a bad idea. It's like overloaded operators. Who knows what you are doing, given that types are not known in runtime. I'd personally like to see assembly become a more typeless programming language, anyway.

Vector operations and such... Well, in reality, they probably would slow down the processor, compared to having many atomic instructions, RISC being faster to execute than CISC and all that.

lolcraft··on "Do Not Track" HTTP header supported by IE, Opera, FF, Safari but not Chrome
It reminds me a lot of RFC 3514's evil bit[1].

[1] http://www.ietf.org/rfc/rfc3514.txt

lolcraft··on I found that the company I work for is putting backdoor into mobile phones
The backdoor being called "backdoor" by this engineer already implies that it is not nearly as secure as the auto-update mechanism: the content is not signed by the company, it can't be disabled by the user, et c. I see no reason not to trust OP's judgement.
lolcraft··on Wozniak calls for open Apple
For the sound of it, the job would be compiling a cross-target version of GCC/LLVM and putting QEMU, an iOS ISO and some libs in a TGZ. Could hardly be called a major feat of engineering.
lolcraft··on [dead]
Cool story. Now I will laugh at the OP, with your permission.

> It shows how from the first feminism was driven by ignorant indignation rather than reason

Way to editorialize, dude. It fucking shows nothing. At most, it shows the existance of a loony subset within any given set of people. Shocking indeed.

So, what's up next? Will Rob Pike's story, previously seen in HN, prove that the open source movement consists mostly of lunatic men that lack social skills and hygiene habits, who also behave in an incredibly moronic and unprofessional way? Because if your sample population were RMS, Ulrich Drepper and Eric Raymond, you'd get just that. And you'd piss many people off, of course.

lolcraft··on Can You Call a 9-Year-Old a Psychopath?
No it doesn't. As far as I know, the opposite thing happens: politically motivated research that doesn't deserve to be called scientific gets published over and over again. I'm specifically thinking about a few "scientific" articles sponsored by oil companies that happen to explain away global climate change, for instance. Or the many papers in which the Cato foundation, earnestly and with the best of intentions no doubt, tries to establish the inferiority of public healthcare. Or the Genesis Foundation defense of creationism.

There's no suppression. Just bullshit addition.

lolcraft··on I'm a former Miso engineer and the founders screwed me out of 10k
> If Steve Jobs promised you a company trip to Hawaii if you got the Macintosh shipped on time, and EVERYONE forgot and didn't care, or Steve took everyone out for sushi instead, would you email Apple inc. tomorrow and insist they send you to Hawaii??

Yes, I would. Why wouldn't I? I just don't get it. Shyness, peer pressure? Please explain. And, why that appeal to the majority? Screw the majority.

> The bonus was an incentive, which you clearly didn't care about because: a) you forgot about it

Yeah, well, would you not ask for one month's unpaid wages? Would you just say "oh, I guess I forgot to check the numbers this time, sucks to be me"? What if that happened to one of your friends or close family? If something I say can be interpreted as though I don't care about my wage, should I work for free? Asking doesn't count as caring?

> b) you referred your friend who you would have referred anyway

Everyone gets paid according to the contract, regardless of what they would've done otherwise. Or, fuck it, let's just not pay ethical surgeons shit. They would've operated on those dying people anyways, the suckers.

lolcraft··on Dwolla is going to eliminate ACH
Not with a SEPA transaction, AFAIK. Two or three days of clearance, average.
lolcraft··on The frequent fliers who flew too much
Not being able to pay something twenty years from now given current income is much different than defaulting. Specially given historically low tax rates and an economic depression, and a spenditure that has mostly not been made yet.
lolcraft··on The genesis of the perfect programming language
We also learned to only use UTF-8, so we should make it yet more simpler :) [1] Really, why declare the encoding of source code, given that we do have a universal character set and an endian-agnostic, compact representation?

[1] http://www.utf8everywhere.org/

← PreviousPage 5 of 9Next →