skysight-inc/HackerNews huggingface dataset:
I disagree regarding the instruments. I think learning to play and instrument is about more than just playing it. Learning to play an instrument teaches you a lot of things that are useful in life; a big one being 'practice makes perfect'. My parents had me in piano lessons for about 6 years while I was growing up. I wasn't the best, but with enough practice I was able to learn whatever song it was that I was working on. That same work ethic has done very well for me professionally. As a self-taught developer I have always felt comfortable knowing with enough hard work I'll figure out whatever it is I'm working on.

My daughter has started taking music lessons and in the last 6 months I've noticed a very similar thing happening. Ever since she started taking guitar lessons, she has started displaying more patience and confidence in herself than in other tasks like reading and school work than before. It's like it's starting to click with her that reading and math are like her music lessons; it takes practice, and she'll get it soon.
My wife has taught me so much about living frugally. We both grew up relatively poor and I consider myself frugal, but she knows the power of coupons and sales. She combines coupons with sales to get very good prices, and budgets strictly for what we need. She'll also game the heck out of store policies ("you are out of stock on item Y so I'm wondering if I can buy item X for the same price").

Also buy a bidet. They cost less than $40, are better for the environment, and will save on your TP costs!
My mental model of a CPU unfortunately tends toward x86.

> But of course, it might be possible to get that sqrt for free, too. Even if it takes 50 cycles, you might start one, do a few iterations without checking for ‘reached sqrt(n) yet’, and then start a loop testing for the limit.

On the CPU side, the branch predictor might make the sqrt free by pipelining it, but that starts to make the analysis a bit harder. Strange things can happen when you introduce branch prediction. The performance would also depend on ALU/FPU contention, hyperthreads, etc...

> If you really want to know for x_64, http://www.agner.org/optimize/ probably has the answers, but then, you would have to know the x86 instruction set, which is horrendous (compared to that 6502 or 68000). Even realising that there will be single, double and vector variants, the number of different instructions with ‘SQRT’ in their name I find in http://www.agner.org/optimize/instruction_tables.pdf is insane.

I've only just started reading Agner Fog's documentation (which is awesome), but it definitely seems like the place the find low level information of the ilk when it's needed. If you read through the instruction table though, you probably noticed there are fsqrt and (v)sqrt(p)(s/d). For most purposes, x87 is actually deprecated and SSE2, the latter, is preferred for scalar floating point. I would guess the Mill devs might have some insightful comments.

> And of course, probably, something completely out of left field could well be the fastest way to do this (by a few ns, probably). For example, modern CPUs can count leading zeros in an integer. If that instruction is fast (for x86, that is not a given; ‘bit scan reverse’ was slow on some CPUs) subtract from 64/32/16, and halve, and you have a decent approximation to 2log(sqrt(n)) (using ‘if n has b bits, sqrt(n) has about b/2’)

I'm not sure that's quite right. Counting leading zeros is normally very fast if you have the instruction, but those two functions diverge pretty quick. For a constant cost, my guess is that the accuracy lost wouldn't be performance gained. The other point is that accuracy is fairly important if you're testing for primality.
The bizarre part here is that Facebook is competing against a market that the security researcher is not allowed to participate in by law.

Facebook sets the price, not the market. That's why the speculative value of a bug should be relevant, not the practical value. If this guy were allowed to openly market his bug to all parties, it would be guaranteed to be worth much more than $15k.

The price to Facebook is totally arbitrary. They could pay this guy $10 and it would still be fair under your position, because it's better than the alternative of committing a felony by finding someone to outbid Facebook.
I studied multiple instruments as a kid. Though it wasn't always fun, sometimes it was, it also taught me disiplin and I think it made me smarter.

Thanks to my parents and teachers encouraging me to study music, today playing and listening to music brings me great joy.
At my school students have four 1.5 hour classes a day. Juniors and Seniors can have 1 of those periods be an "off period" which they can use as a study hall or they can just leave campus.

Plus lunch and 8 minutes between classes.

The school day is from 9 - 4.

This is very different from the school I taught at in Massachusetts which starts before 7am and has seven 45 min classes (plus lunch).

It really all depends on your district. It seems many commenters here believe that all schools work the same way their school works, but they are actually remarkably different across the country.
And for the sake of justice with the said teacher, 'cause my memory has been betraying me these days, he said the homework discipline should only be enforced after the 5th or 6th grade. Before that, kids should play outside.
How does that prepare a child for living in the world, or will that all be taken care of by Matrix style robots? And what do you do with the 0-9 year olds (34% of whom still believe in Santa Claus) that are not developed enough to understand their place in the world? Do they get any Education in the meantime?

Teaching broad concents seems better than fluency in any individual techology (that will be complete outdated before the kid reaches adulthood). I'm not even sure how that would work: Here kid, here are all of the technologies that we think are important to you (and whose companies have supplied us with training materials). You shall learn an iPhone, the internet through Bing, a Honda car, and how to use Facebook. We won't teach you how any of these work, or even any of the basic concepts behind the world you live in, you can figure it out yourself by using Bing.
My OE is a bitch to buy, when I my bitch on the rag man.
If someone with the necessary equipment were to document the process of attaching the write-blocker an iPhone of the same make and model, and successfully logging in on the 11th try, it could go a huge way towards illustrating to the general public what this case is really about.

Might not be bad exposure for a security startup, either.
I suspect the main driver in picking this case had nothing to do with the technical details and everything to do with the emotional aspects. The general public won't follow the technical bits and the emotional appeal of the case (terrorists! scary!) has clearly been a boon.
Probably my favorite single thing, which is really a collection of things, is that Python 3 makes many classes of previously obscure bugs more immediate and obvious. hasattr() no longer masks exceptions; object comparisons without ordering methods defined will raise a TypeError, instead of being based on object ID (which is a race condition); two exceptions raised in succession will give you two stack traces, instead of just the last one. These and similar changes make bugs more likely to be found and fixed quickly, during development, instead of lurking until they're deployed. More info here: http://migrateup.com/main-difference-python-3/

That said, it depends on what you mean by "innovation". To me the above is a worthwhile improvement, and more important than (say) asyncio. It's also a "nice to have", in the exact same sense that 2.7's features are a nice-to-have compared to what's in 2.5. At the end of the day, if you want to continue coding in 2.7, that's what you should do.
I don't know, but it's fairly pretty to find out. Just try it. I don't have the skills to desolder a surface mount chip but I personally know people who do. It would probably cost about $1000 to buy an iPhone and hire one of these people to do the experiment.
Spark of Science: How do people get interested in science?
align your interview requirements with your actual desirability as employer and with realities of job at hand.
What very sensitive information do you think you have to give?
George Orwell’s master – and spymaster?
https://xkcd.com/538/
Its a product for normal people, not those who are unable to manage their budgets. Oh wait ... crack whore money n shit. Keep forgetting about that.
I cannot agree more.

My school was quite forward thinking. E.g. they taugh us recursion using Logo in year 3 of primary school. This was early 90s.

But still, our homework was completely useless and incredibly time consuming. I vividly remember it was calibrated to make us spend 2.5 hours on it per day, and this was after a 9-5 sequence of lectures. Completely insane and alienating.
I know that the best available option in today's world is to make a screenshot of a selection to point to a specific point on a page, but heck, this seems to be an extreme waste of bytes when the only thing you want to do is to point someone to a specific word or a phrase...

The closest implementation that comes to my mind is GitHub's ability to select a line or a range of lines that would immediately update the hash and give you a permalink to the selection, e.g.: https://github.com/iafan/LinkToSelection/blob/master/lib/Lin... , and I think this is one of the small but handy features people love GitHub for, but it has a very specific use case and doesn't allow one to point to a range in the string, or just one character that, for example, is causing a problem.
Sorry, whether it was intercepted & no longer relayed faithfully, versus intercepted passively.
Meh, there are many things though that are important that a child won't realize so they have to be forced to do it. One such thing being school itself (regardless of the homework). Most children are not self motivated to learn anything without immediate gratification so without forcing them they will end up pretty misinformed.

Unfortunately all of that neuroplasticity is wasted on the young. :)
To be fair, I don't think most people agree on this.
Except that analogy is wrong.
Opt your daughter out of homework. I'm not entirely sure how it works yet, mine is still a toddler, but I won't be letting her childhood be wasted away with busywork.
She'd start getting all these blue slips, then eventually letters and phone calls from the teacher and the principal.

School is all-in or all-out. You either play by their rules, or go somewhere else. I think for grade 6+, we're going to look around a bit but the reality is, we're like most other families, too busy and stressed and not enough funds to really do the right thing which would be home school, or else alternative school.

But, maybe we will. She's worth it!
Seconded about a bidet. They sell kinds that install under the toilet seat of any toilet (i.e. you don't need a special toilet).

You need just a bit of paper after to dry yourself and that's it. No wiping.
I'm having trouble figuring out why this is on HN. Is there some interest here in the ethics of betraying our country? I love Greene and his novels, but why here?
> Of course, the opposite is true. Your time is the most precious, and in fact the only, resource that you have. You should guard it jealously, and only spend it on worthwhile things.

What are school-aged people spending their precious time on?

Clash of Clans?
Snapchat?
Call of Duty?
Binging Netflix?
4chan...ning?
Smoking pot?

Maybe it's okay if we ask them to set aside a few hours to read a book or practice solving an equation or trying to do something that isn't immediately easy.
Currently dealing with work start time being 9am but scrum starts at 9:30 so I aim to show up at 9:20. Nobody minds thankfully

Worked in flooring last year. Hours were 8 to 4. Coffee stop was on the way in. Generally started right away, but that's more of a show-up-to-customer-and-get-to-work deal. Couldn't start before 8 because noise
NSA respects FBI OpSec so little

If there ever was an example of the pot calling the kettle black, this is it.

Recall that NSA allowed a Dell employee to have free reign of countless of their internal systems, and to make copies of literally hundreds of thousands of internal documents. Not just NSA documents, but also Australian Intelligence and British Intelligence documents. And probably a lot more.
How to backup mails with mail backup software
Plenty of great places to live in MN, Sotuh Minneapolis is only one. St Paul (downtown) is fantastic, northeast is booming - even living downtown is a viable option on a developers salary.

Certain suburbs are pretty yuppie, but definitely not all. Really depends on your living needs.

Source: MN native and moved once per year for 10 years straight.
I am not a music lover, but I also agree that playing instruments is an extremely valuable life experience for children. It is such a unique experience and makes you use parts of your brain you probably wouldn't use for any other reason. There is really no other time in a person's life where they will receive such consistent daily encouragement at improving themselves in such a physically apparent way. Some people might argue that sports do this, but I think the "improvement" is much less apparent because the ability to run 100 meters three seconds faster is not anything like going from playing "Hot Cross Buns" to some complicated classical piece.

The ability the play the instrument is not nearly as valuable as the experience in learning, improving, and using your brain in ways that doesn't involve math and reading.
This is actually very informative. Combined with mangeletti's answer, it does explain the discrepancy. Thank you for sharing this. It's interesting (and also sad) that this tool has evolved up to version 3.3.0 over the years since we had Python 3.0.
Good point. The command should simply move the >>file outside of the quote, and then it will work.
Took me about 2 seconds to find this: Disable Drupal 8 caching during development https://www.drupal.org/node/2598914
> At what point will you admit Apple's wrongdoing and stop talking about the searchability? Please have the grace to admit you were wrong in public.

Hi Kirin, I'm a different commenter with my own opinion.

Increasing transparency of government actions is something I care about. I also believe in competitive markets.

The first slide isn't evidence showing Apple knowingly conspired to do evil, in my opinion, and nor is the rest of the deck. Before Amazon started selling eBooks, publishers were able to sell hardcover books, i.e. new releases, for a higher price point. Then Amazon, being the only ebook retailer, was able to very quickly undercut the publishers' in-store new-release prices on a global scale due to the nature of digital products and their position as a monopoly in the ebook retailer market. This cost the publishers money. Then Apple appeared as another retailer and publishers asked Apple to give them their agency model back. And, publishers said they would only join Apple if all the publishers would do it. Apple said okay.

Regardless of this court decision, I imagine we'll see more agency model pricing in the future when more options open up for publishers.

It's perfectly fine if you disagree. I'm not trying to convince you. I'm just sharing my opinion.

This case was in court for years. If it were so cut and dry as you proclaim, the case would have been over much sooner.
The history of ugliness shows that there is no such thing
Also buy a bidet. They cost less than $40, are better for the environment, and will save on your TP costs!

THIS! I really don't understand why a bidet isn't very popular.
I'd have to track down where it is in relation to 3.8 release, but Xan López at Igalia has been fixing all the backend blockers to get LLVM on SPARC64/Solaris working properly for us. Can't let the POWER folks get all the RISC legacy love! :)
Thanks for sharing. This proposal makes every bit of sense, IMO. I wish selection sharing could also be a part of some cross-browser standard so that people wouldn't have to install anything on their sites. It's one of the things that would just work if it was implemented universally across major browsers.
What slowdown? China’s flagging economy hasn’t affected startup fundraising
Hello, I created an account to let you know how much I enjoyed your comment!
Adventures in Benchmarking – Method Inlining
Hyperlocal Product and Team on Sale
Hey, we are selling our hyperlocal startup - product and team based out of Bangalore,India. We have a good product, but with other commitments and low funding will not be able to scale it up. Somebody who is interested in hyperlocal space and can spend on marketing can work this out beautifully.

The platform supports
1. Local merchants, Services and Events listing
2. Easy Discovery and Notifications
3. Hyperlocal Campaigns
4. Transactions and Order management

It is flexible enough to support niche or horizontal hyper local merchants, service vendors, micro entrepreneurs etc.

It comes full-fledged with

1. Android Consumer App
2. Android Merchant App
3. Backend Management and Analytics Console
4. Merchant console for campaign and order management

IOS Consumer App available on demand

You also get to keep our awesome team

1. Full stack Web and Backend Developer - 1
2. Android Developer - 1
3. Digital and Field Marketing Executive - 1

Team is based out of Bangalore (India). It takes only $1000 to run the team per month. The platform has aggregated over 2000 stores in Bangalore and has 100 daily active users. You can have your own logistics or rely on merchant to deliver orders as the platform supports order monitoring.

If you are keen on starting Hyperlocal aggregation business in any part of the globe on a shoe string budget - this can get you the headstart. You will save at least 6 months lead time and also get an experienced team who can get you there.

Contact me at anurajke@yahoo.com for discussion
You're talking a layer out. This is about what their rationale is.
How's housing up there? I went to school at the UC and have always dreamed about moving back.
Flash:  Hidden super cookies in Your system.
I have not tried it.
But in my next business venture, I plan to actually do peer programming with the candidate.

This is will allow members of my team (or myself) to get to know the candidate, evaluate the 'wave lengths', and how effective he/she is at finding patterns on the internet/books -- rather than thinking things up.

It also demonstrates to the candidate commitment on our side, and it naturally forces us to find problems of a proper size/effort (as we are spending the effort too).

We would not do it for all applicants, though -- only for once that pass basic screening / competency process (there are no trick questions or exercises there
Does this use Blockly for the UI side?
There was an HN comment thread about an experiment: some classes with no math lessons before, like, middle school or something. (Sorry I don't have the link.) The experimental group soon surpassed the controls once they did get into math, presumably because nobody tried to cram abstract procedures into their heads at too tender an age making them think of math as unpleasant arbitrary magic. This is about what I'd expect from both the idea of Piagetian stages and actual acquaintance with average people who jettisoned most of their school math as soon as they graduated.

I agree that you learn by doing and that teaching can guide you to learn more efficiently and broadly, when it's done well. It can even benefit you when mediocre, though the vast majority of schoolwork didn't pay its freight.
Why not just dump it all into a SQLite database?
Yep it's flawed.

That made read the rest of the post with a "meh" attitude instead of my initial "this could be cool" mindset.
It demonstrates that you have a passing familiarity with probably _the_ most fundamental tool of the trade.
Search and Find the code you need throughout the open source ecosystem
It's a power fantasy. There's an "in group" and through various mechanisms, it's perceived to be a concentration of power. Some people want to be on the right side of the line, while others actively distrust any organization that advertises the power fantasy behind a hidden agenda, or think it's childish, or both.

My view is that there's no harm in indulging this power fantasy if it's just a game, but when you try to merge it into your everyday life, you're playing with fire. Secrecy begets exclusivity and intentional power imbalance, and society as a whole needs less of both.
Why losing a home means losing everything
Actually, Kiva does exactly that. https://www.kiva.org/

> poor can often already get loans of such size and not trigger the upward spiral

I don't know about that. Almost all loan-based businesses that target the destitute are predatory. I've seen exactly two that were not. Kiva and my college that gave loans of up to $200 to students for short terms.
This is a very good piece of advise, matches my past job seeker's experience really well. I think I got most of my jobs largely thanks to enthusiasm I had for the stuff the companies were doing. It was genuine but I'm sure it could be pretended as well. Everything else spot on, very honest stuff.
I have a friend in tech with small kids in Bend. Email me and I'll connect you two if you'd like.
So do you never call anybody else's functions, or do you always verify that they don't do any loops in those calls?
Or the Grothendieck prime, 57

https://en.wikipedia.org/wiki/57_(number)
I've never eaten breakfast. I just assume I'd get even fatter if I did.

I'm sure someone will tell me that must be part of the problem. But why should I eat when I'm not hungry? Breakfast makes me feel queasy and bloated.
Yes, it seemed like something of a no-brainer to build a NLP enrichment pipeline before ingestion into Solr.

I assumed that was what it was and was interested because it something I suspect a lot of people have built a lot of times (I've built it at least twice).
It's a general filtering mechanism. Almost nobody wants to get up at 5 AM to get to school or to the jobsite. If that's what you have to do to get in, this selects for those participants who are more highly motivated to participate in the institution, and differentially rejects those who either lack sufficient motivation to comply, or lack the self-control necessary to execute compliance.

A fixed and mandatory early start time serves as a proxy for general discipline and a means to conclusively demonstrate one's willingness to follow instructions and do things in the institutionally mandated way despite personal dislike of them.
Slightly off topic but from my experience in the UK the problem tends more to be 35% credit card interest. Payday loan people like Wonga generally won't lend to the seriously poor - they make their money from generally solvent people who've had something like a boiler pack up needing replacement.
I just looked up portable bidet. Yes it's a thing. The first product came up has this in it's Amazon page.

Wiping is barbaric! Your bottom begs for salvation

LOL
It's difficult to run an open source project on a budget of $0. You're always relying on the goodwill of others.
SLC is 45 minutes away from some of the best ski resorts on the planet: Alta, Snowbird, Deer Valley, Park City... If you like skiing, it counts as outdoors!!
Yeah I think it should work out like that.

Still doesn't make sense why police does not prosecute the guy when it clearly does some things that are illegal.

The most plausible theory I'm willing to believe is "the guy is part of the English royalty".
Changing the password back from the client side is not a good test. The salt may be different, the hashing may have changed, etc.

For a real test, the server side hash must be saved and restored. Good luck.
Unspooling the Affordable, Accessible Microeconomy of the Cassette Revival