skysight-inc/HackerNews huggingface dataset:
> “...when he was in elementary school he fidgeted,
> daydreamed and got A’s. he has been an A-B student
> until mid college when he became scattered and he
> wandered while reading He never had to study. Presently
> without medication, his mind thinks most of the time,
> he procrastinated, he multitasks not finishing in a
> timely manner.”

> His father reacted with surprise. Richard had never
> shown any A.D.H.D. symptoms his entire life, from
> nursery school through high school,

This is precisely how my parents reacted when they found out I was taking amphetamine to control some sort of abject ADHD specter in university.

"But Dan, you never had problems with focus and performance. You're a smart kid! You always made A's in school!"

There's a jarring problem with this analysis. The truth is I've struggled with focus my entire life. It just so happened that university is the first time school surmounted my lack of focus or, more precisely, my willpower.

Thankfully I arrived at a low dose of amphetamine which is the only reason I've been able to work towards my life ambitions.

Addiction is always serious. And the cases in this article involve classic stimulant abuse. There are certainly conversations to be had. Not just about amphetamines, but also about the structures of our society that make amphetamine so sought after. Why was I psychoanalyzed in grade school when I didn't want to sit in a chair for 8 hours? Why do people only see "drug problem" when they hear about amphetamine availability across campuses instead of "systemic education system failure"?

But what I'm concerned about is an encroaching universal condemnation of ADHD medication where people may eventually roll their eyes at you when you seek help for a problem that inhibits your ambitions and squares your life away at a fraction of your full potential.
Windows 8, Chrome
When my son was an undergraduate at UC Berkeley he used to put a copyright notice on all his homework because the University has a similar policy. The policy was legal because students has to agree in order to gain admission.

The Prince Georges policy has no legal standing because first graders cant enter into contracts. Apparently nobody contacted a minimally competent lawyer.
No fuss screenshot sharing.
Simple screenshot sharing, straight to the point.

Only works on Google Chrome for the time being!
This is more than .mil sites, there's also UN, NOAA, DOE.

But it looks like these are mostly NIPR Public Affairs types of sites, from what I can tell.
Its easy for entertainers to make that joke. But history has shown that in general, people prefer independence over technology.
Wine On Android Is Coming For Running Windows Apps
Once they get kids into the system, they have a suprising array of coercive methods to get students to perform. Vague threats about future actions, social shaming through posted grades and holding students back as their class moves on, etc.

I grant you that hard-core slackers laugh at this until they can get away with dropping out, but a large majority of students will conform to the physiological pressure to comply.
Why are the usernames case sensitive?

michaelapproved is not a valid username when searching but MichaelApproved is. Does HN allow for different case usernames or is it something that was overlooked during development of the search feature?
You're talking about the Dunning-Kruger effect, it's everywhere!
> If a school tells you that you can't do what's right by your child because "it's the law," ask for the citation of the law. If it's really a law, there is a citation, and the law can be looked up. In the United States, under its Anglo-American system of law, the default assumption is individual liberty (and parents rather than schools acting in the interests of minor children), so make sure to check the specific law before believing your freedom is restricted by the law in the manner the school official claims.

Unfortunately they're likely to mumble some semi-related law and then call the police.
"Broken by bad logic"

The post contains the 'straw man' informal fallacy - ie. standing up an absurd scenario in order to knock it down.

Mongo provides write concerns for several use cases. Those concerns are:

NONE
NORMAL
SAFE
FSYNC_SAFE
REPLICAS_SAFE

The author focuses on the write concern NONE - a write concern that is provided for the 'fire and forget' use case. To choose NONE and expect guarantees and fault tolerance is simply user error.
In this particular case the school system has no financial problems. PG county schools are among the best funded per student in the country.

http://www.gazette.net/article/20120622/NEWS/706229668/0/gaz...

As an aside, with the exception of a few well performing magnet schools, the schools are considered subpar.
> That's because scientists don't have time for philosophical debates about resolved issues.

How about I go poll about 20 working scientists tomorrow whether they seek truth or not, and get back to you? You know, real scientists, the kind who have PhD's (i.e., credentials) and get paid to make discoveries?

> I saw no point in refuting all your incorrect arguments once by one. An education would have done this, but that's clearly lacking.

Clearly. I'll go demand my money back.
[rewrite] Sadly, I stil can't be near as fast in making changes across several files as I'm in ST/Emacs...

And when I finish installing all the plugins, I can't claim that my vim works everywhere.
HN overall has case-sensitive usernames. Drove me batty until I figured it out. You can ask pg why he went with that particular design choice.
Hmm, the very first "smart grid".

Well not so smart in itself but very cleverly used.

First steam-powered cable-car systems were also at the end of the 1800s.
I think the syntax gymnastics needed to achieve the result are quite complex for what they aim for. There's nothing technically wrong with it. It's just that choosing a function from a namespace shouldn't need a 7 line comment about how and why in my opinion. It's a single statement function.

Additionally `using std::swap; swap();` not being exactly equivalent to `std::swap();` is rather strange (even if it can be explained). A candidate for code/design smell in my opinion.
All the definitions of objectivity describe a property of the experimenter, not the method.

A method can be biased too. Take, for example, the estimator S^2 = (1/n) sum (x[i]-mean(x))^2. This is a biased estimator of the standard deviation, but nevertheless it is objective. It is not influenced by the state of the experimenter at all.

Personal bias contradicts objectivity, but not all bias is personal bias.

Feel free to conflate all errors under one label - those of us who care about getting our measurements right don't have that luxury.
The blog is new, and we had a redirection loop in the Nginx configuration that took the site down for a while. Should be fixed now.
Nice generalization!

Safe_yaml is a first drop-in work-around that can be dumped into existing apps: a fix to quickly reduce the risk of exposure. If you have a proper set of tests in your app, it's fast to verify if something is broken here after starting using it.

But then, the underlying issue is being discussed actively [1], with talks about how to incorporate the safe default into coming versions of Ruby.

So I don't really see the parallel with what you describe...

[1] https://github.com/tenderlove/psych/issues/119
Joel blogged about how compensation works at Stack Exchange and the write-up touches on that: http://blog.stackoverflow.com/2011/07/how-much-should-you-pa....
Something tells me that you did not read the article.
> I'm more of a militant agnostic in the: "I don't know, and you don't either" style ; )

What an odd statement. Confidence levels are nearly never 100%. Taking the position that because one can never make a 100% claim, that all possibilities are of equal probability - that's sort of a useless position to have as it can apply to nearly any statement. See also: Russell's teapot, invisible pink unicorns.

1: http://en.wikipedia.org/wiki/Russells_teapot
2: http://en.wikipedia.org/wiki/Invisible_Pink_Unicorn
See, for example, the scam for poetry "competitions" and vanity publishing.
Unfortunately, our economy influences our culture, media, technology, and celebrity. The book Monoculture: How One Story is Changing Everything, published 2011, makes the argument that economy is the underlying force that defines everything else. It affects how our media reports stories, for instance, which creates openings for entrepreneurs who want to manipulate that system for their own profit, which in turn has made America's political process into a carnival sideshow, which discourages Americans from paying attention and makes the problem even worse. It also gives business owners an incentive to pay their employees as little as possible, and to oppose any sort of regulation that would force them to give employees any kind of benefits which would cost them time and money.

I wish I could say that technology start-ups are exempt from this, that we enlightened bunch are nice enough and smart enough that we do capitalism right, and there are a bunch of tech companies that really do some great things for employees and charity and that try to minimize suffering. Unfortunately, even among start-ups you have some instances of awful jackassery, and even among the tech legends there is some less-than-good stuff happening. Amazon in particular has notoriously bad warehouse policies, and I've heard reports that even the higher-up employees are routinely treated like shit. There is a culture wherein we expect start-up people to undergo excruciating hours and a lot of stress for even the hope of success, and while I understand why that culture exists, I also think it's not especially healthy that we consider this process to be the norm. There are some people who truly do thrive under such pressure, but there are plenty others who are smart and hard-working and have good ideas who are either crushed by that process, or who are too intimidated by it to try working within it, and that's less than good.

Some things capitalism does are great, and I suspect that they'll remain great as we slowly reform society. But the system as-is is too problematic in too many ways for me to excuse them all, or to forgive capitalism's flaws which allowed this.
I'm aware of all of that, but it doesn't change anything that I said. Steve still depended on others to produce the goods - what you posted there just confirms my point.

Also, I will concede that he's more than a salesman - as you stated about him motivating. However that doesn't make him an inventor, creator, designer, engineer nor any of the other attributes people credit him with.
PG County is Maryland, not DC. It's the county that wraps around the eastern side of the District, and includes the University of Maryland. The rules of the District don't apply to what they're trying to do. I think the author mentioned them (and those of Montgomery County, PG's far wealthier and higher performing neighbor) to show that the idea wouldn't be possible in those school districts.

Notably, PG County has an awfully run government that presides over a relatively low-income population generally composed of Latino immigrants and African-Americans pushed out of the District itself by rising home prices. I've seen a picture before of the average income levels in the counties surrounding DC. Montgomery, Arlington, Fairfax, and Loudoun counties are all top 10 in the nation. PG sticks out like a sore thumb. Adding to that, they have by far the most racist police force you'll find. A friend of mine has been pulled over and searched multiple times there solely because he is a young black driving a car that doesn't look like it got pulled off the scrap heap. The last thing that county needs is something that stifles the abilities of its younger residents to try and create something new and interesting for their local community and at-large.
That's why I propose the joint copyright 'solution'. The student would also get a cut from any profits made. That seems decent to me.
It's four main active ingredients are all types of Amphetamines, therefore it is an Amphetamine based drug by definition.
I totally agree , in case of an accident/wrong doing/Whatever ,without a proper license and a pro insurance, if you are the "client" : screwed, if you are the "landlord" : screwed. The only winner is airbnb. It would be like saying one can open a restaurant because one has a kitchen ... one just cant.
Is there an extension that will hide my karma from me? I habitually glance at it and it does me no good, it's just noise.
Could High Insulin Make You Fat? Mouse Study Says Yes
Have you ever looked at the pickle docs though? There is like, literally a 'red alert' banner saying how dangerous it is in combination with arbitrary untrusted input.

PyYAML's warning is not quite so blatant (http://pyyaml.org/wiki/PyYAMLDocumentation) but when you get past installation blah blah blah onto actually loading YAML, the first thing it says (in bold) is that using .load is as dangerous as pickle.load, and it references looking as .safe_load instead.

However, it would be better for the tutorial that immediately follows to use safe_load() everywhere that it can reasonably be used and to only mention .load as an advanced topic (except to mention at first that it exists but shouldn't be used)
So the second point, about Jobs not succeeding without Woz, is only speculative (but highly likely, given Woz made technically possible). But the first point is as indisputable as history can get.

When Jobs decided to create Apple, Woz declined to quit HP at first. Only when Woz was convinced that he could remain an engineer even while heading the company did he consent to join.

So back to the speculative point: Jobs was incredibly desperate to have Woz come on board, even to the point of having a crying fit. IIRC, both Issacson's biography and iWoz (Woz's autobiography) say that Apple's third man, Mike Markkula, was convinced that they should go on without Woz.

To Jobs' credit as a genius, he apparently realized that Woz was essential to his success.
I was disagreeing with the notion that you can only say which algorithm to use if you know the specific application. There are general trade-offs between algorithms which hold independent of any specific application.
Vactrain
No good? It's supposed to encourage you to conform.
Why Java's .class file's magic number is 0xCAFEBABE
Id agree so long as students have a choice. Otherwise, it's just the plantation owner talking about how good the slaves have it because he feeds them so well.
The Course about copyrights on Edx.org: Is Copyrighted?
Dan, to the contrary, the parents I have advised in this manner for two decades report good results in getting school districts to back away from illegal restrictions on family decisions once the parents show that they know how to ask about the law. Simply asking for a citation when a government official tells you what to do is enormously helpful. (It may be especially helpful here in Minnesota, where for more than twenty years we have had public school open enrollment and a reasonably easy-going homeschooling statute, thus giving parents the power to shop for a school that fits each child in the family.)

A local friend of mine has a piece of advice that shows her understanding of the world from being a programmer for a large insurance company rather than a lawyer. As she asked for school accommodations for her four children (now all grown up and in higher education or private employment), when told she couldn't get what her children needed, she would say, "Who do I talk to to get an exception?" She understood very well that schools are bureaucratic organizations, and that all bureaucratic organizations have some higher bureaucrat who can make exceptions to rules. (I think she learned that at the insurance company where she does her programming.) I now add her phrase to my parent talks to supplement the more lawyer-like phrase that I mentioned in my first comment in this thread.
Mike Bloomberg’s Super Bowl ad calls for background checks for all gun purchases
Come build the platform that will power apps across all devices
Patch for Postgres DDOS vulnerability comitted
FDA Challenges Stem Cell Companies As Patients Run Out Of Time
I don't see the connection. Vanity publishers make money from the author by basically selling books with a big markup.

Here they are just taking IP (of which 99.999% is going to be basically valueless). The only part that might make money would be selling lesson plans, but that would become a saturated market pretty quick.
I wonder if hiding the comment karma (now that it's been many months) has had a positive or negative impact ...
Http://techandscience.com/techblog/ShowArticle.aspx?ID=2856
Yeah...but Woz was very close to Jobs pre-Macintosh. Considering Apple's early years consisted mostly of Woz, Jobs, and Mike Markkula, I think Woz would be essentially to understanding the early part of Jobs' success, without which the post-Macintosh days would've never happened.
Maybe there's no database and it's all just stored as files on a unix file system, thus inheriting the case sensitiveness.
What possible reason could there be for this, that, in any way, serves the public? Don't these schools have bigger problems than stealing people's work? It seems even having this as a discussion is a waste of public funds.
Exactly: http://ryandeussing.com/blog/2011/11/14/corn-on-the-cob-secu...
How is this a hazing process? The OP mentioned a number of ways he tries to simplify it or keep people from being intimidated by the technological implications. They are looking for people who can think on their feet.

To be honest your entire post sounds jealous / bitter.
I would suggest if you have this feeling that you don't have a good grasp on metaprogramming. This link might help: http://www.parashift.com/c++-faq-lite/templates-defn-vs-decl...

Also the use of extern keyword for templates which is valid according to the standard is limited by compiler compliance. Kind of a chicken-egg problem, not a language problem.

Finally you might investigate the extern template keyword in c++11: http://en.wikipedia.org/wiki/C++11#Extern_template

I have always wondered whether a grand rethinking of compilers/linkers wasn't in order given the radically different face of computing and computational resources available now as opposed to 30+ years ago.
Ask HN: Do dyslexic fonts help dyslexic people read?
I literally did no (assigned) work in High School, failed every class, and still graduated a year early. It was about 50% moral outrage at the state of our education system, %40 I could teach myself things better, %10 I was a lazy arsehole.
Using foreign keys and transactions in Postgres? You should be interested in this patch :)
impress.js with Strut and Google drawings for laying out graphics.
Coal is made of carbon. Diamonds are made of carbon. But diamonds are NOT made of coal.
2nd paragraph on the Wikipedia page for Amphetamine:

Brand names of medications that contain, or metabolize into, amphetamine, include Adderall, Dexedrine, Dextroamphet, Dextrostat,[2] Didrex, ProCentra, and Vyvanse, as well as Benzedrine or Psychedrine in the past.

https://en.wikipedia.org/wiki/Amphetamine
It doesn't really matter to me who the message comes from. When did the truth cease to matter? I'm not naive. I recognize that this kind of thing happens all over the place, but that's exactly why I get so frustrated at this type of communication, and frankly, at your response. If your attitude becomes, "Oh well, it's just Twitter, so the dishonesty doesn't matter," then we can only expect more of the same. Everyone around Twitter will watch as they perpetrate falsehoods in communication, and they will follow suit.
What would the ideal policy be?

My ideas are:

- Students own their own work; even if they don't really care for it. I don't see any value in a 10 year pile of homework, but if you create a great piece of art, you should be able to take it home. Realistically, most work is valueless and binned.

- Any created teaching materials may optionally be released as open source, under some license that prevents anyone profiting from them. There's often a gap between good work, and good releasable work (final polish, consistency and so on). Anyone (e.g. some school district) wanting a particular set of work released should be prepared to fund this final polishing. So, a teacher could make a great course, subsequently receive funding to make it brilliant for others, and share it with the world. Thus any good teaching materials created benefit the most amount of people.
I've got a user CSS file that just colors that text the same color as the header. It's not perfect - for instance right now I'm on my iPad (no browser extensions) and I can see it - but it sure helps.
I agree on the fsf.org observation. If you look at the EFF as a comparison, their website has the tagline "Defending your rights in a digital world," which makes their mission clear.
https://news.ycombinator.com/item?id=5157984
So? It's not necessary. It's not like your phone wont work without service.
Well they were left in 1945 with state of the art V2 missiles.
>Tell me more about how you read the GoF book, and applied the patterns in a language that does not even have interfaces or type-hinting. What a joke.

I don't see any joke. Jokes are of the type "Knock knock, who's there", etc. Using GoF patterns in a language without interfaces or type hinting? Not so much.

Most of the design patterns can be applied in any language, some languages even have inherent support for some of them. Not much to do with types or interfaces (besides them offering extra checks).

Facade, Decorator, Flyweight, Iterator, Proxy, etc... Equally at home in Java, C++, Smalltalk, Python or Ruby...

>On a recent article, another "Ruby expert" (who writes and sells programming books) was shocked by the fact that you can reuse code with inheritance. You should read it.

I guess you are referring to this:

http://clayallsopp.com/posts/the-story-of-pull-request/
++ for the :verbose map command!
> I think the syntax gymnastics needed to achieve the result are quite complex for what they aim for. There's nothing technically wrong with it. It's just that choosing a function from a namespace shouldn't need a 7 line comment...

It's probably important to point out that your last sentence above is not correct. That's not what this code is doing. If all it needed to do was call swap from a particular namespace, it would be as simple as you imply. It's trying to maximize the caller's ability to specialize swap for the type he's using in the template, while still allowing for std::swap to be used as a fallback.

> Additionally `using std::swap; swap();` not being exactly equivalent to `std::swap();` is rather strange (even if it can be explained).

One says "use standard swap". One says "bring std::swap into this namespace and choose the best swap". I agree with you the difference is subtle and non-obvious. But it is important when doing sufficiently generic programming.
There are very, very good reasons to have a universal hard speed limit.

There are? Well then what are they?
The problem with this analysis is that it assumes Apple has a strong influence over the price of apps. Sure there may have a subtle weighting for free apps in their search algorithm, but this is different to sorting apps based on price.

At the end if the day, if an app isn't free, it's down to the App developer community to set the price as a collective. However it only takes one rouge developer to trigger a "race to the bottom". In my opinion, it is developers who have created low prices on the App Store, not Apple!
Show HN: My Saturday hack, The View Out My Window
I made an app for my county's online grade book and would definitely hate it if my app was considered the county's work now. This is somewhat scary because my county(Loudoun) is close to Prince Georges.
They do. Bank of America, which to my knowledge is the largest bank that still uses the "security image", also allows users to enable 2-factor authentication via SMS.