skysight-inc/HackerNews huggingface dataset:
Modern education in the West is mostly pomp and circumstance. Facts are extremely non-discriminatory; people can't help but learn things and absorb the information that's around them. A key to successful education is putting people in environments and circumstances where the information is so well-integrated that it's difficult NOT to absorb it. That basically means giving people something interesting and valuable to do, telling them to do it, and being there to show them how. The magic really kicks in once they begin to show each other.

We're focusing on the wrong things. You don't need a $50 million facility and $5 million of payroll per school to teach people stuff, and you don't have to pay everyone's medical bills. You need to have the learners do something of actual utility and value to both themselves and their immediate community so that they are properly engaged, and then you have to be there to communicate the information they need to fill the gap from "no idea" to "some idea", and the rest happens automatically. Virtually anyone who has written a program has followed this process.

It's best if the teacher is directly invested in the learners, like a parent or other close family member. They'll care much more about the individual child's success. I plan to home school my kids once they hit 3rd grade or so (I think those first few years of school are important for developing the social baseline).

If we actually care about educational quality, we need to get down to basics. As long as the dialogue on education is dominated by pension funds and zoning, it's a losing proposition.
Yeah, maybe it isn't zero sum when you include time dimension, but at each point in time, it still is zero sum.

Why that matters? Because humans need to eat at every point in time, and have limited timespan.

In fact most of the today's wealth was generated by people who are long dead. Despite this wealth being effectively "free", it is still a zero sum game how to distribute it.
This attitude makes sense within a robust Free Software environment, but if the inefficient component is tied to a proprietary service using a closed protocol, then the ability of any individual to improve that component is very limited.
Python's JSON parser will obviously create Python objects as its output. There is a limit of how much you can gain with clever C string parsing when you still have to create a PyObject* for every item that you parsed. Because of this, I don't think you can gain 1000x performance with C optimizations unless the parser is really horrible (unlikely, considering the widespread use of JSON).
I listen to all kinds of music while programming!

Some examples of musicians I'll play during the day: Dave Brubeck, Cindy Bradley, Four80East, Vince Guaraldi.. E-40, Kanye West, Neyo, Tony Bennett, Andy Williams, Gipsy Kings..

I'm pretty much all over the place depending on my mood. Sometimes even Willie Nelson music makes it into my queue lol.
I might be way off with this advice but perhaps consider using Google more. If something doesn't work as expected, say, in Python 3, just search for the error message in a 'normalized' form (i.e. without specific variable names etc.) and add a "python 3". Chances are someone has written up a solution for the problem on stackoverflow.com or other forums. Don't hesitate to blatantly adapt code from somewhere else. Everybody does it and it speeds up your work. Don't listen to those complaining that this would prevent a deeper understanding of the code, usually it doesn't.
>But if you start thrusting out the bottom end of students without even the increasingly value-less credential of a high school diploma, you're effectively consigning them to the prison system for life.

This wouldn't be a case with something like a basic income system. Or, the alternative more politically palatable to conservatives: make-work programs. Where people are paid to do work that, while not necessarily economically productive, nevertheless gives them the psychological satisfaction of feeling like they're working and contributing to society, and possibly helps them develop the discipline required to pursue further education in future.
I think that has always been the case, but I've noticed a particularly disturbing trend recently.

"Hate speech" used to signify things that incited people to take up physical violence and/or other abusive behaviour against groups or individuals. Over the past 4-5 years the term has been subjected to devaluation, as people with an agenda or axe to grind invoke hate speech as a cure-all antidote against all "things I do not approve of".

But as I noted above, there is nothing new about the phenomenon. During the cold war, it was the red scare. Someone came up with things you didn't like and you could invoke pandering to communism. Since the naughties, it has been terrorism. A literal cash cow of funding, it was (and in a way still is) used to oppress anything you want - just label the activity as some kind of terrorism and shut up most opposition. Now, it's hate speech.

There is a clear trend towards more abstract labels.

The real problem with all of this is that the term loses its meaning. When anything can be labeled hate speech, the real rhetoric of hatred gets lost in all the noise.

I don't want to hijack the thread, so back to prostitution. A historian could probably tell me how things were before the Victorian times, but as mentioned downthread by chaostheory, opposition to prostitution was likely neutered by the sexual revolution. Working and discreet contraception made it possible to enjoy sex fully, without suffering from the adverse effects. (Pregnancy, unplanned parenthood, and the eventual financial repercussions.) All of a sudden a casual attitude towards sex was no longer a damaging trait.

As it has become more accepted to have sex where one wants, the stigma of using prostitution probably is also being diluted. After all, this is the age of service economy and there is nothing wrong with paying professionals for their services.

So I think we're pretty close to the general acceptance that it just might be okay to pay a professional for sex too.
Try this one: https://jsfiddle.net/752pqyvp/embedded/result

It's because of the browser blocking mixed content: The JS libraries are being loaded over HTTP but the JSFiddle is over HTTPS.

The version above loads the libraries over HTTPS via cdnjs.com
Very interesting, thanks - does it apply to Japanese, too?
It is not disingenuous if it is exactly what they are doing. The entire cause of this problem, and the reason it breaks so many things, is because they are trying to monetize bandwidth usage. This model is unsustainable because free users only get a paltry 1GB/month and their attempt to enforce that is what breaks forks.

If they would just stop trying to do that, then we would have nothing to talk about.

It is not at all uncalled for to criticize the way they are trying to do business, especially when it affects you as an existing customer.
Even on turtle-speed, the sun always shines -- must be a city-ordinance.
>How would you force employers to pay their employees equitable salaries?

* Provide more competition for labor from the public sector by employing more people in the public sector (i.e. the opposite of austerity).

* Raise the minimum wage significantly.

>What if a job isn't worth that much to an employer?

"isn't worth it" = "can't employ that person and make a profit"

Corporate profits are at all time highs and labor's share of income is at an all time low. Ergo there is a massive amount of slack at the low end.

Every corporation that employs a lot of people will scream until they're blue in the face that they will fire half of their workforce if you raise the minimum wage by so much as a cent, but when it actually goes up, they don't do anything of the sort.

Raising the minimum wage to $20 or $25 / hr would be one of the most direct ways to transfer money from 0.01% to the pockets of the people who do all the actual work in this country. It would not only drag salaries up it would drag the cost of property down.

You just have to deprogram all of the people who erroneously believe that it will cause mass unemployment, massive inflation, or who think that it's somehow unfair to people earning $minimum wage + $x (who would all get a pay raise too).
You can actually just buy one for 12 euros, with any combination you like. The stamp, at least in Germany, seems to be the harder thing. It is more common to steal a plate and punch them out.

When you think about it, although the stamps are not that hard to fake, stealing a number plate is a matter of a second. You just clip it out of a plastic frame.

Source: My number plate was stolen in Germany last year.
How would labeling the axis help explaining what is going on.
This sounds surprisingly large; is there a source on this? Prostitutes in countries currently at equivalent levels of economic/social development to the 1900s west certainly aren't making that much.
SF Landlord Raises Monthly Rent from $1,080 to $3,870 to Force Tenants Out
I would completely agree with you if that was the way GitHub presented that feature, being open about the consequences of adopting it. They haven't done that, and as a result their customers are not properly informed on the trade-offs they are making.
It should be pulled out every year so that the new graduates/dropouts/newcomers-to-the-workforce can be enlightened as to what they're getting themselves into ..
Real-world code (which is what most projects consist of) is rarely fully idiomatic and well-written, because it contains fixes to weird edge cases only some users experience, performance optimisations and such.
To a degree, true.

Making voluntary prostitution both legal and open could (and should) cause the illegal kind to stand out more.

So even as the market for exploitation remains the same, it would not be as easily masked by other activities in its respective category. Surely it's a net positive to relieve police forces' resources to investigate and work on things that matter? (I realise there is an almost ironic conflict here: I just categorised voluntary prostitution a non-crime, so I'm as much a biased actor as someone holding the opposite opinion.)
The esp8266 easy introduction into IoT: SMS me when I leave my garage door open
Another negative side effect is it discourages good teachers. A neighbor told me how he wanted to be a science teacher in highschool. He shadowed one of the older science teachers and was basically discouraged by what he found out from them -- the advice was "you don't get to actaully teach much fun or interesting stuff, just teach to the test"

Or put it another way, think about the people who would choose to teach knowing that they'll just be drilling tests all day every day. Think about personalities that process will select for. And those will be people teaching your kids.
Why you hate your voice so much when you hear it recorded
The most advanced desktop 3D printer ever created
Has anyone used their printer? Can this be used in a commercial environment? I mean if I buy this and open a store to print for others...
The Law School Debt Crisis
Coming soon to a "coding bootcamp" near you...
> I like to believe that my one lasting contribution to debate is convincing a lot of tournament directors to change the traditional wording in resolutions "The government shall $DO_SOMETHING" to "The United States federal government shall $DO_SOMETHING", because when we interpreted the government to mean "Japanese government" the other team invariably said something along the lines of "That's not what the resolution writer intended", to which I would say "You being ignorant of a major first world nation whose internal political issues are well-reflected in the academic literature may make this debate inconvenient for you to win but that does not mean I'm not allowed to pick something which fits within the clear definition of the word 'government.'"

In Parliamentary Debate, this is commonly known as squirreling (https://en.wikipedia.org/wiki/Squirrel_(debate)).
Whether that's good or bad depends entirely on the content of the tests. You have to ask, "is this stuff that a graduate of the system should be able to do?" If no, then it's fair to criticize them for having to spend time teaching this, and instead achieve a lower proficiency but teach a broader skill set.

But if yes, then any criticism of "teaching for the test" falls flat: this is stuff students need to be able to do, and to the extent that you're finding it hard to do, then you were failing all along, and removing the tests would just hide that. [1] (Plus, it's not like a student that can't meet this minimum is going to somehow do just fine in "real literature".)

However, to conclude a "no" answer to that question, you would need to cite specific questions from the tests, and go on record saying "nope, no reason a graduate of our system needs to know that, so why are we making sure they can answer it?"

So I'm confused as to why such testing critics never discuss this crucial piece of evidence, instead relying entirely on innuendo about suppose dangers of "teaching to the test".

[1] Which, of course, doesn't means the teachers specifically were the cause; in the extreme case, if students are literally starving, then you need to fix that. But regardless, any root-cause analysis must start from the detection of a failure, irrespective of where it ends.
Especially since without contraception, vaginal sex would have been an issue even inside marriages (given that not everybody would have wanted continuous pregnancies).
If we all use the same obfuscation apps it's too easy to be countered. I think each of us need to develop it's own obfuscation method.
I'm fairly sure there's a way to force GHC to compile "Haskell 98" code, which is the first Haskell standard and has stayed the same for 17 years now.
Actually Boyer-Moore (somewhat counter intuitively) is faster for longer search strings than for short ones.

It makes sense if you think about a search string that has the same length as the searched string. If they don't match you can find that out with a single character comparison.
> I don't believe this is correct.

Did rust find a way to defeat the halting problem and push all the array bound checks to compile time? How well does rust deal with memory bank switching where an instruction here makes that pointer there refer to a different area of memory?
After some searching I've arrived at the text:

http://modernlib.ru/books/mayskiy_ivan_mihaylovich/vospomina...

They even have fb2
Japan is the only country I've ever been refused a cab ride or entry to a business solely on account of being a　外人. In both occurrences I was completely sober, well dressed, and in the presence of native Japanese.

That's a purely personal experience, but these happened in Tokyo. The cab incident was even in Ginza - one of the most international portions of Tokyo.

Yes, plenty of white males go over to Japan and expect to be immediately accepted/worshipped/whatever, but just because their claims of racism are often able to be safely ignored, it doesn't mean that all accounts of it can be chalked up to unrealistic expectations and self entitlement.
Because substituting people does nothing to the housing supply. The only thing that will increase the supply is increasing the density or expanding. The later being very challenged by the TFL infrastructures.
I live in Karachi. Please pray that I escape this city.
Privacy protected web solutions with Bitcoin payment by default
How does it stack up to Arq [0]?

[0] https://www.arqbackup.com/
> find it strange that prostitution is illegal in much of the world.

Not very strange at all. It is viewed by many as sexual immorality. The rest of the world is not Western Europe and they are not HN. Religion and traditional morality whether we like it or not is plays an important part.

Note, it doesn't play a direct part the way we might think. People probably would visit brothels there just as often if not more often than someone in liberal Wester Europe. What is important is the _appearance_ of morality.

Religion and beliefs like that are tied to cultural identity as well. For that to survive, it is very important that most believe that others believe in it. They personally might be sneaking it at night to a brothel, but as long as "other" people believe in doing the right thing -- then the norm will persist. It is never allowed to publically proclaim and create laws that might say "now Quran or the Bible doesn't apply anymore and brothels are ok to be opened legally".
Guidelines for Better Client Feedback on Web Design
>> the last two killed themselves by detonating their suicide vests.

Couldn't they take off the vests and detonate them, without blowing themselves up?
The same argument applies to selling organs. I bite that bullet, but I somehow feel like most people reciting that quote do not.
The more formal number ideographs are the original ones, the simpler ones were simplified so numbers aren't as awkward to use.

You can also easily change a one into a ten, for example. Note also that it's not exactly a positional number system like Arabic. E.g. the number 123 would be written 1 hundred 2 ten 3. IIRC you can also easily change a ten into a hundred or thousand, so for larger values with a few zeroes in between you could shift a meaningful place into the zeroes to the left sometimes.
Data science interview questions
This article kind of makes me wonder if there's much sense into finding (and fixing) bugs in the high level parts of a program (where no other code depends on) if it normally doesn't occur.
Transport Protocols
> If the value of land more closely tracked inflation, people will look to other markets for growth.

Sure, but as long as it can be used to extract rent at no cost, the value of land is going to keep going up.

> why don't people sit on their cash? They're taxed on most cash transactions, right?

Inflation is a de facto tax on holding cash. Without it people probably would sit on their cash.
> "the fact someone has a degree in Computer Science means complete dick"

I don't agree, sure you can learn everything yourself, but you won't learn the things you consider boring. People with a degree in CS have more often than not a much better overview over what to do when and why. It starts in chosing the right tool for the work and ends with structured and usefull documentation.
By studying a) identical twins who are raised together, b) fraternal twins who are raised together, c) identical twins who were adopted and raised apart at birth and d) fraternal twins who were raised apart, it's possible to tease out the effects of nature and nurture.

For example, you're far more likely to be schizophrenic if your identical twin is schizophrenic compared to your fraternal twin. This strongly suggests that schizophrenia has a major heritable component as no other explanation would account for this. This is as much "hard science" as anything else we study.
Clarification: It was a mod change. I left the title close to the original except I left out "Mark".
PCem v10 released
It's funny how pragmatic decisions you keep having to make turn into social norms after a while, and then you don't have to keep making them.
What I am saying is accepted knowledge.

You can read for example, the article that was on HN some time ago[0] which cites Andrea Matolcsi of Equality Now

> She points out that Denmark, which decriminalised prostitution in 1999 – the same year Sweden made the purchase of sex illegal - has four times the number of trafficking victims than its neighbour despite having around half the population.

Prostitutes do not need exploiters even if they are illegal. They do not tell the cops because they are effectively unable to leave their exploiters for a ton of reasons, ranging from physical threats to them and their families, to psychological or physical dependency (i.e. they feel they cant go back, "loverboys", drug addiction, fear of "voodoo"), to general fear of authorities ("will I be deported? Will the cops abuse me? What if the cops are partners of my pimp?").

There are a few interesting bits on quora[1] if you want to read more.

[0] http://s.telegraph.co.uk/graphics/projects/welcome-to-paradi...
[1] https://www.quora.com/Where-are-all-the-forced-sex-trafficki...
I don't get it. Were the Chinese worried about the competition?
> The original code was ANSI C and thus should compile fine on all compilers compatible with ANSI C, the new code is not as each compiler will decide to handle undefined behavior differently.

Except 40% of the original code already wasn't ANSI C.

> Either you'll make the exact compiler a hard dependency (i.e. it always has to be compiled with gcc and fails to build with everything else), or it will produce "correct" binaries on some compilers and "incorrect" binaries on others. That's hardly an improvement.

Having code that was broken under GCC not be broken under GCC absolutely is an improvement, particularly since in fact this kind of code often works on every other extant compiler.

> make the ANSI C more strict by adding the guarantees to the standard. Which is not going to happen, I guess.

Standards tend to codify existing practice. There's no reason the standard couldn't be made stricter - but the way we get to there from here is if the major compilers implement stricter restrictions and can show that they can be implemented consistently and users find them useful. GCC has been willing to do that kind of innovation for other parts of the standard.
I am all for legalization - no adult should be considered criminal for stuff that s/he does with his body voluntarily.

Just noting that it won't be a silver bullet in preventing trafficking and suffering. Whether it will make it stand out - I doubt it. Having a legal front will be even easier.
It's just a damn editor, try it.
this is not ironic at all.

do you know why people immigrate from places like china to places like canada? maybe the fact that there's a brothel every 2 blocks in china has something to do with it.
What are the perceived advantages over the standard VIM? I understand that the core is simpler, the plugin API is better, but what would make one switch as a user?
A curious result hints at the possibility dementia is caused by fungal infection
Ask HN: How to create an anonymous and resilient website or web API?
In 2015, what solutions do we have to create anonymous and resilient web services?

Same question for a static website.

Problems to solve:
- Domain name
- Hosting
- Content (text analysis, etc)
- Other?
Not really. You can write Python fast and slow, so if you do write Python code, you can perfectly well care about performance. Learning C takes months to years while adapting my Python code takes minutes to days.
Mayo is only the first product from HCF. The next planned product is cookie dough with further products planned where the egg is more and more obvious.
There are some speed comparisons of Python json parsers here http://stackoverflow.com/questions/706101/python-json-decodi...

Yajl (Yet Another JSON Library) seems to go about 10x faster than the standard library json
>do you know why people immigrate from places like china to places like canada? maybe the fact that there's a brothel every 2 blocks in china has something to do with it.

None of the Chinese I know here in Australia came here for that reason, and I certainly can't see them changing their votes based on a party's attitude towards brothels. Although I suppose prostitution being legal here may have something to do with that; the ones who were hated it enough to migrate away from it obviously wouldn't migrate to a country where it's legal.
Is daily life that bad? I just had a look at Wikitravel and it sounded pretty nice. I was expecting warnings and stuff after reading this (like you get when reading about Mogadishu for example).

http://wikitravel.org/en/Karachi#Stay_safe