skysight-inc/HackerNews huggingface dataset:
Yeah, maaaaaaaaan.

And weed cures all forms of cancer -- that's why it's illegal.

If Big Pharma wanted to push dangerous or ineffective drugs on the public, there are far easier and cheaper ways to go about it than coming up with elaborate double-blind, randomized, placebo-controlled testing protocols. See: Vioxx.

Experiments using illegal drugs are always problematic, because researchers tend to be advocates for legalization and may be biased by their emotional investment.

But MAPS, a pro-psychedelics organization, is neutral. Shyeah -- about as neutral as High Times.

This person is expressing sincere doubt -- probably because she's seen enough medical research to know that drugs that seem like miracle cures in pilot studies often pan out to be not so miraculous when tested in broader studies with larger cohorts -- and that's true whether the drug in question is politically controversial (like MDMA, LSD, or marijuana) or not.

I say this as one who supports drug legalization and wants to see further research conducted with MDMA. Until the results of larger studies come in, there's still room for doubt here.
The "nested" formatting of this page has vertically separated my post from the post I was responding to. I'll edit my post and quote the question I'm aswering for clarity.

(edit: The edit link is no longer available on my other post. Here's the question I was responding to: "Perhaps using safer languages (and languages with better error reporting) would be a solution to [the kinds of problems mentioned in the article.]")
Imgur until somewhat recently was run by an individual.
No, you're not alone. I view headers as a wonderful way of documentation as well. Usually I've got a header file open on the left side of the screen while working on the implementation on the right side. It's extremely convient to work this way.

I'm aware of the performance issues headers create at compile time but I still like them quite a lot. On the other hand I haven't really been too fond of any module system I've seen so far. Maybe I'm just extremely old fashioned.
Building on top of Flask at Elastic (W11)
Drudge report?
While I can't read much of any CJK languages, I am interested in seeing code samples from these Chinese and Japanese programming languages.

Anyone know where to look? What obstacles or advantages does the character sets give these languages?
This is indeed what Go is great for. But your code example is a bit wonky :) Specifically,

for {
select {
case r := <-ch:
// do something with r
default:
fmt.Printf(".")
time.Sleep(5e7)
}
}

You're needlessly blocking 50ms on every iteration. (Side note: time.Sleep(50 * time.Millisecond) better captures your intent.) Better to reformulate that as

for {
select {
case r := <-ch:
// do something with r
case <-time.After(50*time.Millisecond):
fmt.Printf(".")
}
}

Or, if you don't need the dots in the output,

for i := 0; i < cap(ch); i++ {
r := <-ch
// do something with r
}
Twicsy is sort of NSFW for anybody who make check it out. Some naked breasts just popped up on my screen in public. Not exactly an ideal outcome, though not unexpected for a "trending" section on a Twitter picture search engine.
I do not think you understand what science is. Scientific papers do not present data and models and analysis because they are scientific papers. They do these things because they lead to testable claims of knowledge. It is not done for the style of it.

If you are reading all your magazines under the presumption that they make no claims about the world and are simply a kind of ironic entertainment, okay, but that is not at all how this article portrays itself.
Actually, i had insurance. Took about 24 hours to get a replacement on my doorstep.
Somebody remind me again why either robots.txt or serving a 402/Payment required to crawler UAs doesn't work?
Thanks for such wonderful comment.
This is just 1st version release. I had to cut many things to get the v1 out. There are lot of scope for improvement. Releasing the v1 and getting feedback like yours will make sure that I will be doing right set of features from now.
I was thinking instead of showing your actual work you show shots of code or shots of your workspace. An insight into coding life.
I feel this is a little pet issue of mine or maybe even its just due to my limited domain experience but I have still yet to meet a single "SEO" who doesn't feel slimy and feel like a snake oil salesman.
Everyone that I have personally encountered have been what seems in my eyes a few months behind, non technical and willing to ultimately screw over the client with stuff that is clearly aimed directly at manipulating google instead of improving the overall user experience for the end customers.

I personally see and feel better taking the approach of building a technically sound websites with good UX, getting a dedicated marketing manager who can write good copy (and not this SEO drivel of 10 paragraphs with no substance) and then know how to engage with customers instead.
Would be nice to be able to selectively disable some PEP 8 rules in the style checker. I don't care about lines longer than 80 characters and I don't like separating functions by two empty lines.
> Again, you need cooler friends.

The ones I have keep my account manager very happy.
> Sorry, the Sinatra based site is deployed with "ruby app.rb". Probably not enough..

Since you are running it as "ruby app.rb", I take it you aren't interested in doing an app server/web server/cache deployment. But if you aren't using thin, that's only a "gem install thin" away.
Apple Vs. Samsung: Which One Is Better?
Specifics: web browsers (and specifically Firefox, but it's true for WebKit-based browsers too) tend to be slower on most web workloads when running 64-bit.

There are several reasons for this.

First of all, web browsers are very pointer-chasing heavy because of the nature of web specs: the DOM is all about tree traversals, and so is CSS layout. Further, you have to share style, font, etc data across objects to get anything resembling sane memory usage, which means chasing pointers to all that data. Given that many of the algorithms involved require traversing large chunks of the DOM tree and various ancillary data structures, the upshot is that most of the really processing-intensive parts of a browser layout engine (possibly excluding graphics) are in fact more cache-bound than register-starved.

The second reason is a bit of a chicken-and-egg problem. Since most of the users are running the 32-bit builds, the 32-bit JIT has had more optimization work on it than the 64-bit one. The obvious solution is to improve the 64-bit JIT, of course.

The third reason is that even in JITTed code it turns out that cache locality matters a lot because JS objects share lots of their state across multiple objects so getting to it involves pointer-chasing. An actual JSObject in SpiderMonkey is 4 pointers and all the other things you want out of an object you reach through those 4 pointers. This reduces memory usage enormously compared to putting the data inline in the objects, and actually improves cache locality in general, but exacerbates the difference between 32-bit and 64-bit.

You're right that for heavily numeric JITted code x86-64 beats the pants off x86-32. Unfortunately most JS out there is object-heavy pointer-chasing, not numeric code...
Ask HN: What are the challenges / general tips to relief or prevent back pain?
I notice a lot of programmers go to physical therapy or have back problems. Want to ask the community the general tips or challenges they face to maintain a 'painless' work day.
One issue with this is that selling board games suffers some of the same issues as selling books. It is very easy for someone to buy one online for very cheap. Plus there isn't as much of a secondhand market.

In addition in the area there are a few stores that sell board games that are already established. Off the top of my head I can think of two in Cambridge. Pandemonium Books and Games and Games People Play.
> Have you ever tried to attach a file to an email only to find out it's too large to send?

Yeah! Some jerk who runs my MTA set the size of acceptable attachments really low! I wonder who did that...

$ host -t mx mydomain.com

mydomain.com mail is handled by 0 aspmx.l.google.com.

Oh... I see.
Being the breadwinner does not mean his income is necessarily high enough to hire the domestic helpers.

And if the emotional issue involves, providing the domestic service will not guarantee that she will satisfy with what you did for her. She may complain about other things.

Some people, not necessary has mental issue, will never appreciate what they already have because they always desire to what they do not have right now. They never feel satisfaction.

no appreciation no satisfaction in those people's heart
I agree with you that it is tautologically true, though I do not think that is a point in favor of the author.

It is also true that we can classify women as penguins and non-penguins.
i think both men and women are implicitly required to negotiate.

i guess like other people are saying, i'm not sure if people look at two equal candidates and discriminate based on sex/age/other.
The more expensive agencies are routinely double the price. And I'm not sure they fare much better on the points I mentioned.
Leveraging Social Media To Improve Customer Experience
I really don't understand your point. Different households are always going to have different arrangements regards things like chores.

I don't think the original comment said anything along the lines of "here is an equation that everyone needs to apply in order to decide who does the dishes".

Just that if you have a situation where one person has significantly more free time than the other it wouldn't seem unreasonable to expect them to do more chores. Of course in real life there can always extra variables that complicate things. These things usually manifest themselves as domestic arguments, so are best discussed up front.
Ikea, burritos and some trash
Remember DirecTV's war on smart card hackers?

http://www.securityfocus.com/news/143

--------

But DirecTV reacted to that wrinkle over a year ago, by taking advantage of their ability to remotely reprogram the set top satellite receivers, as well as the cards. The company sent a few specific bytes of data to all the H cards, while simultaneously reprogramming the satellite receivers to reject cards that didn't reflect the change. This forced hackers to update the cards manually with the new data, or to make the cards writable again.

--------
Many of my nerdy friends are trying to learn the basics of programming, as a vocational skill. They're not interested in computational science, which is often what's taught.

In college classes, these friends often encounter the situation where a class is taught by 1 professor each term, and the intro classes tend to receive the less-desirable professors. These are the professors whose assignments don't line up with class lessons, who teach programming history before techniques, etc. This puts them into the situation of having to suffer though learning a difficult subject with little help, or waiting years until one of the "better" professors teaches an intro class.

With Codecademy, it's easy to get discouraged because of the lack of people around -- you can go onto the forums, but there are no humans in proximity to commiserate or discuss hard problems. Further, some of the problems are broken -- while you and I can just "look in the back of the book" aka read the forum, others see this as "cheating" in the same way that reading a GameFAQ is "cheating" at a game.

What seems to be needed is something similar to Codecademy, but with lab/office hours -- where people can work at their own pace but in the same space as others at their same level, and people with more advanced skills, who can give advice and mentor. I've envisioned this as a hackerspace for some time, where the mentors are also working on projects, and may even receive advice from other members. Like a mix of montessori schools and valve.
Sigh. The snake oil argument again. I thought we were done with this? Apparently not.

Well, here's an SEO (and I can point you to probably 300 others) that don't feel slimy. We don't do "10 paragraphs with no substance". We help companies make their websites more usable, more targeted, and with better content so that they deserve to rank. I wish I could show you the websites that we work with that are actively doing SEO. Any big site is.
Crashed while scrolling =( Was curious, but can't see myself moving away from PyCharm/Sublime.
While Poole may be the only one (or one of the few) people getting checks from 4chan.org, he doesn't have full responsibility for the operation of the site. The site is managed by many volunteer members; "janitors." I think there is something to be said here about the power of an authentic internet community whose participants are willing to work for no compensation, to further its dictator's interests. And that discussion probably involves entertainment value, as well as an apparent sense of equality.
> Robomartin: I learned in C. I also find C to be superior to e.g. Java for learning data structures and algorithms. On the other hand you are losing this argument

I appreciate your sentiment. However, I think you made the mistake of assuming that there is an argument here. :)

I find that most software engineers who, if I may use the phrase, "know their shit", understand the value of coming-up from low level code very well. I have long given-up on the idea of making everyone understand this. Some get it, some don't. Some are receptive to reason, others are not.

I am working on what I think is an interesting project. Next summer I hope to launch a local effort to start a tech summer camp for teenagers. Of course, we will, among other things, teach programming.

They are going to start with C in the context of robotics. I have been teaching my kid using the excellent RobotC from CMU. This package hides some of the robotics sausage-making but it is still low-level enough to be very useful. After that we might move them to real C with a small embedded project on something like a Microchip PIC or an 8051 derivative.

In fact, I am actually thinking really hard about the idea of teaching them microcode. The raw concept would be to actually design a very simple 4 bit microprocessor with an equally simple ALU and sequencer. The kids could then set the bit patterns in the instruction sequencer to create a set of simple machine language instructions. This is very do-able if you keep it super-simple. It is also really satisfying to see something like that actually execute code and work. From that to understanding low-level constructs in C is a very easy step.

After C we would move to Java using the excellent GreenFoot framework.

So, the idea at this point would be Microcode -> RobotC -> full C -> Java.

Anyone interested in this please contact me privately.
Drudge Report

VISITS TO DRUDGE 11/27/12

033,621,596 PAST 24 HOURS
1,218,005,142 PAST 31 DAYS
11,345,750,362 PAST YEAR
Don't know about the IDE but that font is horrendous.
This is not a good thing because Google Plus ties way too much together that it will actually discourage users from leaving reviews especially those that were originally going to write honest and negative reviews, they may want to do so less given their identity is exposed.

Next thing you know Google is going to tie the Youtube commenting with Google Plus too.

Just another desperate attempt to increase page views for Google Plus.
It's crazy that an application should have to test memory. It should simply be handled by the HW and OS. e.g. Some details about how Sun/Solaris deal with memory errors:

http://learningsolaris.com/docs/DRAM_errors.pdf

Note the section on DRAM scrubbing, which I was reminded of from the original article's suggestion on having the kernel scan for memory errors. (I remember when Sun implemented scrubbing, I believe in response to a manufacturing issue that compromised the reliability of some DIMMs.)
The post seems to be the exact opposite of "just that".

e.g. the 3rd sentence...

>I also dont see any that had just a single founder.
Oh, you mean like Plan 9? :)

I would have mentioned it, but I was speaking as if Unix were invented today. Plan 9 is an almost textbook second-system effect; it seems like you have to have invented a Unix first before even starting on something like Plan 9.
Yeah, we've been working really hard to make coding accessible and fun for kids and have done a lot of testing to make sure they're enjoying it and learning.

Many kids hate all subjects in school because they feel forced to go and don't find it useful, but you'd be crazy to say that's a reason we shouldn't send them to school.

Programming is no different in that regard, but we have an opportunity to give it a positive image and re-engage students with school.
I think there are two types of 'geniuses'. One type is 'people geniuses'. These are people like Steve Jobs, Ronald Reagan, Sarah Palin, Billy Mays, etc. These people are geniuses in the way they were able to understand people and get the to do things (vote for them, buy their products). The other type of genius are the 'systems genius'. These are people like Tesla, Einstein, Newton, etc. The first group are not renown for their intelligence, the second group are not renown for their people skills.
The best search algorithms can skip ahead upon a mismatch. A variable-length encoding requires branch instructions in the inner loop, leading to pipeline flushes and potentially dramatic slow down.
Strongly disagree --
http://www.johnfdoherty.com/seos-growth-hackers/#comment-117...

[for your convenience]:
I definitely agree that growth hacking has a lot of overlap with SEO and Inbound Marketing, but I think there are a couple of critical distinctions:

For one thing, Growth Hackers have to be the expert across a huge number of platforms, because of the environment they work in. Growth Hackers are most prevalent in startups, where they wont have the convenience of a larger team of specialists. A 10-man startup (still relatively small) the Growth Hacker has to be able to do the SEO, the Analytics, the CRO, the Social, the PPC, the Retargeting, the Media, and be on the bleeding edge of new customer acquisition technologies as they arrive. New team members may take on some of this work as the startup grows, but for the most part, it’s all Growth Hacker.

The other distinction is implementation. A Growth Hacker needs to be able to code, or it’s a dilution of the term — a Growth Hacker who can’t code at least a little is a Growth Strategist, still a highly valuable team member, but a different animal.

The reason this is so important is that in a startup environment, the team is always going to be maxing out their bandwidth. A Growth Hacker can hatch a new plan, and then start building it, bringing in other team members as they’re available.

A Growth Strategist on the other hand is utterly at the mercy of the other members of their team — if everyone is super busy (and they will be) new growth hacks can take forever to be enacted, and that can spell death for a startup.

I totally agree that the SEO skillset overlaps with growth hacking, but I think it’s a mistake to equate them 1:1 — any SEO worth his salt stands partway down the yellow brick road that leads to Growth Hackerdom, but there are many leagues to go before we reach the emerald city.
I suppose I did word that rather badly.

I would rather say that you can say whatever you wish, but you may face consequences based on what you said and the topic covered. I'm just trying to get across that too many people use "free speech", in US terms, incorrectly.

The government punishes people all the time for speech it "dislikes". Many people are in prison right now for that reason, usually because it involved people signing NDAs. Seems you have free speech in terms of unpopular speech aimed at the government as long as you didn't promise not to speak in the first place. Well, also as long as you don't say something the government doesn't want public; you know, national security and all that.

I would say that there are possible consequences to the concept that people label as "free speech", it's just that not all of them involve the government. Many people say things like "this forum mod deletes my posts, that violates my free speech" which in fact it does no such thing. You can criticize the government all you want but private entities can react to that as they please.

In other words, "free speech" is a very tricky thing.
I think Matthew Inman from TheOatmeal.com does pretty well. According to Wiki (not the best source, I know) : "As of 2010, the website got an average of 4.6 million unique visitors and more than 20 million page views a month."
I don't really understand your driver argument, because when deploying Linux on an embedded system, you would only use the drivers you need... so you'd have the same amount of driver code as with any other kernel.

You say that you managed to "verify correctness" on QK, but clearly, that's not an accurate statement, since AFAIK seL4 is the only kernel that has ever been "proven correct" (and even for seL4, there are some gotchas there, AFAIK).

If you truly care about correctness, doing formal verification, model checking, etc. ...

The common perception is that model checking and formal verification are still just research areas that can't be used practically beyond toy problems. Again, seL4 is the only kernel I know of that has been "proven correct," and that has taken an insane amount of manpower that is not scalable to anything more complex than seL4. That seems to be evidence that there is something to the "common perception" I stated above.

lots of people use it so it must be stable

That's not really my argument. With Linux, there is an insane amount of testing going on all the time (I mean "informal" testing.. just people using it and reporting problems if they encounter any.. though there are also farms set up that test Linux, as well). Linux must be by far the most highly-tested software in history. On the other hand, you could use formal methods on some small kernel and maybe get some help (but again, far short of proving there are no bugs, AFAIK), but the level of testing will be many orders of magnitude less. Clearly, which one wins out depends on how good the actual state of the art in formal methods is, but my impression is that many orders of magnitude more testing will win out, unless the problem you are solving is very, very small.
What does this really buy you over and above installing your own OpenShift Origin cluster?
Yeah, placebo controlled studies of mind-altering chemicals are hard. I've done quite a lot of research on placebo, and would never expect to be able to blind effectively without using an active drug (low dose). Something like methylphenidrate might work, as noted by the top comment, but even then you don't really have a control, as you really are just estimating the effects of one chemical against another (which tends to require far larger studies to demonstrate an affect).

Speed would probably work. One thing that interests me though is whether or not the patients were treated seperately. Having been surrounded by people on MDMA while not partaking myself, at least in my anecdotal experience it can affect your state of mind, which could be one reason for the rather large placebo effects (given that the treatment is so obvious, one would expect placebo effects to be artificially lowered.
Why do I care how seriously people take my review of a mobile app? I'm just posting it to help others make a decision about whether to buy/download the app. There's not much in it for me either way. If there is any potential downside at all, even a small one, I'm not going to post a review. I suppose some people care about being a top, respected reviewer, but not most.
All I can think is that they are violating Apple's patent on page-turning. So much for not being evil, Google...