skysight-inc/HackerNews huggingface dataset:
> That's not different than what PHP does now.

You could write code like that in PHP, and the GP post with the ruby example does so, but PHP generators do not work like that.

> I think you might be confused. I'm referring to the GP post that has the example with the yield call in it, the ruby example.

The Ruby example doesn't have the problem you mentioned because Ruby doesn't have generators at all. In Python and PHP, yield means "Suspend execution of this function and return a value to the caller, who can later call this function again to resume its execution." In Ruby, yield means "Call the block that was passed to this function with the values after yield," or exactly what I've written in Python without using the yield keyword. Ruby's "yeild line" is Python's "f(x)".

Edited: I think I understand what you mean after reading once more. If you mistook the function containing yield in Ruby for a function that does not contain yield you would still have a problem, but not the same problem you would have in PHP or Python. It would raise an exception, while PHP and Python's would just return an iterable.

def each_line_in_file
.. yield 1
.. end
=> nil
each_line_in_file
(eval):2: (eval):2:in `each_line_in_file': no block given (LocalJumpError)
from (eval):3
It is not prevalent because they are still testing it and the oil servers are not yet available for purchase. I do hope when they do become available that the price is not too high.
I agree with everything her essay says, except for any comments about racial motivation.

I'm as white as you can possibly be (according to 23andme) and I experienced the same thing. Lazy teachers that just show up and hand out worksheets. Of course, they would give a very carefully prepared lecture on the day that the principal would sit in on their class, but then the next day they were right back to handing out worksheets.

I don't know what the solution is, but the problem is lazy teachers who do a bad job (or a combination of some that are lazy and others that are unqualified). The motivation isn't racism, but I would agree that black students are more likely to be stuck with bad teachers. Black schools tend to be less desirable to work at, worse facilities, worse funding, worse behavioral problems among students (it's a vicious cycle), parents who don't get involved (again, vicious cycle. How can you help build a school that works when you have no firsthand experience with a school that works?). The consequence is that the teachers that work at many of the schools that have large percentages of black students tend to be terrible teachers, not because someone is trying to actively hurt black students, but because the processes that help get bad teachers out (oversight, parental involvement) simply don't function in those schools, and the good teachers that start in that environment very quickly burn out (or are chased out by corrupt school administration when they speak out) and move on.
Gnome2 doesn't look like Windows, and it looks much better
TSA agents detain Congressman Ron Paul for explosives search on his plane
Don't miss the point just because a 13 year old did: Our lack of dedication to equal access to quality education is putting a generation at risk of being, essentially, enslaved. She made this about race, but it's about class (and by extension about race, because of America's unfortunate race/class relationship).
Really cool, but the constant nagging popups telling me to download the app instead were unbelievably annoying.
...which goes to show that socialized health-care can even be worse.
New PC Operating System, Looking for Partners
I wrote the LoseThos 64-bit Operating System, http://www.losethos.com, looking for partners. tdavis@losethos.com
Important topic, crappy article. I can't downvote but I would if I could
that never allows anyone but the whites to take the blame

Where are all these places where lighter skinned people have to take all of the blame for everything and everyone else gets a free ride? I hear people complain about these places all the time, but as yet I have not been able to locate one.
1) because we could then help make it better (or make a couple HNs)

I believe there is an old version available.

2) open source for some people but not for others is an interesting concept.
Have actual priorities. I remember implementing a spec with several hundred or maybe thousands of req's and all but about 3 were marked High priority.
In case anyone else is wondering what "frecency" is:

Frecency is a portmantaeu of ’recent’ and ’frequency’. It is a weighted rank that depends on how often and how recently something occured. As far as I know, Mozilla came up with the term.
Well, if you want dueling anecdotes, I lived in the U.S. for years, and now live in Denmark, and I pay much less for healthcare coverage now. My sole healthcare expense now is 8% of my salary that goes to the flat health-system tax, whereas in the U.S. I not only had to pay Medicare taxes and general income taxes that supported various kinds of healthcare, but also had to pay a large copay. And, my coverage was tied to my employment, which it isn't anymore.
Just because I'm that annoying guy who loves to reference it at every possible chance... Season 4 of The Wire. Teaching to tests is boring as shit for everyone.
if selling information was your main source of income, and you spent 10 years of hard work getting to a point where large audience was ready to reward your creativity, you most likely would care if someone else gave away a free copy of it for some ad revenue.
Gnome is still alive and kicking, not to mention talks are in place for GnomeOS at the moment.
You could do both.

In my experience, unless you deliver something really indispensable or really, really awesome, no one is going to give you a dollar. Being simply a neat app won't cut it.
I suppose the point of it is that your phone buzzes when a drone strikes. That‘s the dramaturgy of it. A buzzing phone tells you: something has happened. But this time it’s not your alarm clock, or your friend texting: it’s knowing that a bom has dropped. This then gives an eerie sense of awareness of/relation to something that normally is far away and abstract.

(of course, the strike was not really that instant, but that at least is the suggestion of it, by linking it to the instantaneous feeling push notifications).
Good point! But we're now talking about growing food industrial style i.e one region produces most of the food for everyone else. In that scenario, plants/vegetarianism might be the better choice.
As far as Tibetan Buddhists go, nearly every culture that lives in cold conditions consumes meat in one form or another; I used to think this might be because the calorific content of meat is higher? But your reason seems better
What was impressive for me in gnome3 and unity was the huge move away from Windows happening in mainstream distribution defaults. It looks to me like we are still in good place of trying out other peoples ideas without copying their products.
Are there any working examples using these tricks so we can test the difference? (The author's product request an invite to use)
Immersion cooling was used on the Cray-2 supercomputer with Fluorinert[1]. Water cooling is fairly common in high-end supercomputing setups (I think all the BlueGene systems are water-cooled, for example).

[1] http://en.wikipedia.org/wiki/Cray-2
http://www.zdnet.com/microsoft-radically-overhauls-license-a...
I'm curious - why? Because then you'd be able to relate to it more?
Interview with Goodfilms, Glen Maddern
Black students, even adjusting for poverty, routinely score lower on average than white students nationally [1, 2]. "Playing the race card" isn't "disgusting," it's a legitimate criticism of American schools' failure to educate students on equal ground regardless of race.

[1]: http://www.good.is/post/new-report-puts-the-black-male-achie...
[2]: http://nces.ed.gov/nationsreportcard/pubs/studies/2009455.as...
So you think entrepreneurship is solely about people's personal entertainment?

Incidentally, do you pay for your own police force, or are you taking money from your neighbors to pay for your property-owning itch?
Yup, I was reminded of those too! Feeding the nostalgia: http://web.archive.org/web/20010623203101/http://www.hardwar...
http://xkcd.com/802/ (Map of Internet 2)

I like 9gag. I used to go to 4chan/b/ but the community's sense of humor is incredibly racist and sexist which gets to me. 9gag is like /b/ without all the hate.
Is it not conceivable that the American school system is bad for everyone (it is), but worse for students of color?
It is verbose compared to python, which would do this in about 3 lines. It's also not that great an example because it begs the question why one moment a set of strings ('words' as variable name feels weird to me because I think in c of word boundaries, but whatever) is set<string> (please use 'namespace std') and next moment its char argv. These are obviously simple things to anyone with c++ knowledge, but teaching this to someone is just likely to put them off. There's no reason to use c/c++ today unless you're coding drivers or very performance critical things.

A set isn't necessarily implemented using a red-black tree, most likely its a binary tree of some kind, but why would anyone put that in a comment. It's a set, which just means there's only copy of any repeated 'words'.

I think the reason why c++ doesn't make a good language to teach youngsters is because stl is still a beast of a template library, still spits out garbage error messages and is painful to work with even by the most experienced of developers (25+ c/c++ here)

On the other hand, collections and data structures in python are simple, efficiently implemented and extremely succinct, if the value of a dictionary element contains 2 or 3 elements, or is another dictionary, or a map etc it's simple to do this in python, where as in stl pair<int, int> is great until you need three of them, then its auto_ptr or whatever and it starts to get unwieldy and the poor student trying to focus on the algorithm is now bogged down in the with the inelegance of a low level language.

Don't get me wrong, I love c and c++, but i'd rather teach some python or ruby because they can get stuff done and working and not struggle with tedious syntax.

len(set(sys.stdin.read().split(' ')))

C++ does have web frameworks too! Witty (wt)
TheMagPI Issue 5 - A magazine for Raspberry Pi Users
"... How good stuff gets to the front page of HN is by active users of HN who have read the guidelines ..."

The 'continuing school vs leaving' is going to be re-visited at HN while the cost of education decreases the risks of starting a startup.

"... The previous submission of this story ..."

Good point. I gave up checking via search. I wait for the day url/story title non-duplication exists in the HN code.
Mapping ip addresses to ISPs is somehow HN-worthy when it's wrapped in torrentfreak's propaganda? These articles should be used as a honeypot to identify people who might prefer getting their tech news at reddit because that's where torrentfreak and its fans belong.
Amazing, didn't realize at any given time, how many planes are in the air around the world.
Looks fantastic, but unfortunately I've already committed to the GA144 chip, and the amount of learning I put into it makes switching or developing on two parallelized chips at once pretty prohibitive.

But again, looks fantastic.
Interesting that supermicro is already moving towards putting these on the market. I hadn't heard of them until the other day with the etsy setup, but this looks very promising for future datacenters large and small...
Because teaching non-whites differently will go over swimmingly. Perhaps we should split classes by skin color? Oh wait...
Maybe if you're in your 20s and were lucky enough to have no childhood health conditions. In the real world, that isn't the case for many people. How much does individual health insurance cost if you were born with a congenital heart defect? Or if you were diagnosed as a child with autism?
Her reasoning is still very specious - there's a very, very big difference between oppression as an unintended consequence of systemic failure, and a deliberate manipulation of the system into oppressing its people.

Her teachers responded in the poorest way possible, but I can see why: they were just accused not only of being giant failures at their jobs, but also of failing deliberately for the sake of racism. Even if we swapped "race" with "class" here, her comments are still inflammatory, unsubstantiated, and shockingly mean-spirited/cruel coming from a 13 year-old.

If I were at the receiving end of that kind of accusation, I'd be pretty pissed.

There are more than enough instances of deliberate and willful racism in this country that we really shouldn't have to grasp at straws like this.
Google Web Toolkit + AppEngine (I grew up on Java Swing so this is like the good old days... but not REST)
I'm not sure why everyone who is commenting here seems to think that this story is about the student's essay -- it isn't. It doesn't matter if her essay was right or wrong, well-written or junk; the important part of the story is that she was allegedly harassed out of the school by teachers after writing it.

That is just plain wrong!

And it is a fact more damning--if true--of our education system than the student's original essay was.

(Though I'm guessing that the claim that she was harassed of of the school by teachers is sure to be a controversial and as-yet unproven one.)
Open source for some people but not others? Thats not open source...
I think the real point isn't about race or class. I was an upper middle class white male, and I didn't get a good high school education. Or at least not anywhere close to what I would consider good enough. I was lucky to have 2 great teachers mixed in with a lot of mediocre to bad ones.

America is failing as a nation when it comes to education. We set up our education system based on babysitting kids for far too long. All throughout history people started becoming members of society far sooner. Most became an apprentice around 13 or so. We babysit in high school until 18, and it means that the students who would rather be working in a field or on cars are miserable, and those who want to go to higher education don't get the environment they deserve.
Unfortunately, the app is still in review with Apple, so not at the moment. I also didn't realize this post would do so well with HN. I will work on a more in-depth follow-up with some working examples. Thanks so much for reading!
IMHO, I didn't like (1) or (2) - but I was very fond of your third (NSFW) link.

However, the demo that first blew me away on the Amiga was Blizzard Crystal Hammer,
http://www.youtube.com/watch?v=LXBx6U_JWfQ

That's when I first realised that the Amiga could be like the C64.

I used to be active on the scene (as a demo coder and cracker) - and it's great to see that people still celebrate the old days.
Comprehend Systems - Palo Alto, CA - Developers

We make next-generation visualization and analytics software that works across multiple, disparate databases in real time. We tackle hard technical problems, are hiring smart entrepreneurial people, and are attacking a huge market opportunity!

Perks: Market salary, generous equity, lunch and dinner, laundry and wash-and-fold twice a week, gym membership, any computer setup you want, relocation to the bay area, health, vision, dental, and more!

http://comprehend.com/careers

or email your resume to

careers@comprehend.com
Well, the original article in this thread was quoting the student as blaming the white teachers, specifically, for not teaching well enough because their students were black.

As a result, she continued, not much has changed since the time of Douglass, "just different people, different era" and "the same old discrimination still resides in the hearts of the white man." Williams called for her fellow students to "start making these white teachers accountable for instructing you" and challenged teachers to do their jobs. "What merit is there," she asked, if teachers have knowledge and are "not willing to share because of the color of my skin?"
I disagree with most of them and seemed to be biased towards a specific language the poster of the opinion liked/understood best or against one they disliked.
The GPL exists because even under the policy you describe, there's no way for someone who gets a binary to also have the ability to get the source code.

As an example, suppose I'm Tivo. I make this cool DVR using the Linux kernel. It contains modifications to the kernel, a new filesystem, etc. Suppose also that you purchase the DVR, which comes only with a pre-built binary. Under the GPL, you also have a right to get the source code used to make the binary, and in a usable form. Which is why you can go to the Tivo site and download the source for your hardware.

Reverse engineering might get you the effective equivalent, after a lot of work. Redistribution right doesn't give you the right to source code.

The GPLv3 also uses copyright to require licensing of patent rights.

Do you not need these rights? Do you think others might find those rights useful?
Amsterdam, the Netherlands - SiteSupport Services B. V. - Senior Python developer.

We are looking for an experienced Python developer for full-time employment. You will be part of the core team helping to build and architect the backend of our main product.

We're a funded startup located in Amsterdam, the Netherlands, developing a web based co-browsing tool that will greatly simplify online support and sales.

We offer competitive salary, good benefits, such as reimbursed conference (e.g. PyCon) travel, reimbursed costs of relocation to Amsterdam, help with getting Netherlands' work permit for those outside EU.

Job requirements: http://www.python.org/community/jobs/#sitesupport-services-b...
I know we're considering a new model for open source. I'd say that's a semantic argument but it's more of a semantic observation
Grasping at straws about racism in the American Education system? That's grasping at straws? I agree it's not actually, wholly, about race, but it's clearly a massive issue that is willfully ignored by the public at large. You wouldn't BELIEVE what the majority minority (and again, I really do believe that's more of a consequence of old systems than current ones) public schools are like in my hometown of Richmond, VA. They're not even really schools.
Gnome is very much alive, the blog entry from a month or so ago was concerning but it's still very much a lively project.
Anyone knows what happened and if it is somewhat related to recent moves of the company? Some information at his twitter @fat.
The evolution of programming
I be willing to bet this is far more about absent fathers and single mothers working to much to be around than it is about the teachers discriminating with their dispensing of knowledge. Yes this is a fact, but that doesn't mean that the cause is what you are suggesting.
You're still stuck with a bill, if you're a foreigner.

In the UK you are not, purely because they don't do the accounting that way in the first place as it would cost a lot of extra money to keep track of billing when no-one is being individually billed, so there is no bill to bill.
Taking GNOME to the Previous Level?
It won't ever really 'feel' like a native app but it might look like one if you try real hard. My own experience and Facebook's too is that you just won't get the performance and you'll also be dealing with quirky CSS/HTML rendering.

Edit: That's not to say that you can't make an app work, but you shouldn't try to make a typical app using mobile framework that tries to mimic a native app such as jquerymobile or others. If using a non-standard UI it can probably work where the user isn't expecting it to work and feel like a UITableView and every other basic thing in iOS.
Politics in general is more focused in commerce, finance and other power struggles than it does on it's long term investments like education, health, social equality, fair judicial system, culture and a amicable/positive/solid world presence.

If you look at the majority of governments in the world, there's only a moderate attention to things like education, health, culture, etc.. Unless it's actually on the basis of the country's history and focus or by popular demand/revolt.

This isn't limited to third world/authoritarian regimes. Those have cases where there's investment because the economy actually depends on these (i.e.: a country that's a usual vacation destination invest in culture, one that "imports health patients" invest in health, although education can usually be disregarded in any case).

Granted, there seems to be a bias in the child's comments, BUT that doesn't mean they are completely wrong; even if her explanation is.

Today's education fails on a number of fronts, you don't need to look at race (from teachers or pupils) to find the culprit (granted there are cases). I point to the failure of policy makers, the grand education system with it's various components and throw in a share of the blame to the parents and general public as well.
Except that Common Lisp is a kludge, a relic, and a sad victim of 30-year–old compromises. It's also practically abandonware, with no new specification since 1994's ANSI Common Lisp. (Itself mainly clarifications to CLtL2.)

Modern Lisps — of which Clojure is currently the leader of the pack — would be a far better choice today.
Avgrund.js
Why is it a poor proxy? What would be a better one?
I dont think students are all in the clear in the least bit. I just happen to believe that permitting online resources implies permitting collaboration, as the internet is a tool for collaboration as much as it is a tool for pure research. As far as I'm concerned, it a test is open internet, then it's de facto collaboration permitted.
You are right that everyone in her class is getting those packets regardless of race. However her class is almost all non-white.

If you move to a more affluent school district you'll find better student-teacher ratios, more dedicated teachers, and better teaching. And, wonder of wonders, you'll find a lot more white kids in those classes.

What is actually being punished here is poverty, not race. However poverty is correlated with race. And the school system is perpetuating that cycle. Worse yet when colored students come from schools where nobody has the skills they theoretically should for their grade, then people in the general public learn that people of color lack those skills regardless of what is on the transcript. And the result of that is that white kids in her class are more likely to be given chances by employers later in life, while non-whites at good schools are going to be treated with suspicion. This helps close the loop, and keeps poverty nicely correlated with race.

The only way to fix this is to insist that, no matter what your race, you have to actually achieve to the same level to get the same credentials. And to resolve the historic bias by funneling substantially higher resources towards at risk folks in poor neighborhoods. But this is incredibly expensive. Republicans would never willingly channel that much money towards people that they do not like. And Democrats would not be up in arms if we had to go into schools like this one and tell 85% of the kids, "Sorry, you've been told you're in grade 8 but you have to go back to grade 3 and relearn what the broken schools failed to teach you."
Bionics Breakthrough As Eye Implant Prototype Tested
I can speak from experience that using the 3d transform trick can make a real difference.

We use them to emulate the Facebook / Path / Twitter swipe to move the main panel, performance isn't 100% of native - but it's pretty close.