skysight-inc/HackerNews huggingface dataset:
The Author and his daughter haven't learnt the tricks of the trade. I was set 3+hrs of HW a day, but I certainly didn't do that much.

First, they need to assess which teachers "Don't mind" if you don't do the homework. This could mean they stand you up in front of the whole class and shout at you, but if they don't give you an after school detention, don't do it. Getting in the teachers good books previously helps with this.

Second, if you've got a joke subject before one with homework due, do the homework then. Geography before Maths for example.

Third, have a homework team where you take it in turns to do the easily copied homework (Maths, DT, Science) and then copy each other in the mornings before school. Of course you need to cover your tracks.

Fourth, always cut corners. No calculator? Lol, use a calculator, but purposely get a few wrong. Use Google for everything (I didn't have a computer until yr8). Never read a book when you can read a synopsis/ watch the film whilst playing Pokémon.

Fifth, work as a team at home. The parent will have to remember things from their childhood, where as older siblings only need to remember from the year before. I used to do my middle brother's compulsory homework, whilst he did my littlest brother's, and my mum did mine.

Other tricks:
Try leaving all of you books related to that subject at home one day and claim you thought it was Thursday.

Miss out a question at the bottom of a page, they might not even notice.

Pretend you are/were ill.

Cry

Hand in last weeks homework again. This one only buys you time, but works well on a Friday.

Tell your teacher you'll hand it in tomorrow, then the next day tell them you handed it in yesterday and they've lost it.

Band together with the other kids in your class and tell the teacher they said the homework was due for next week, or that they didn't even set it.

If you are asked to hand something in on lined paper, just don't do a whole sheets worth. More convincing if both sheets start/end in the middle of a sentence. I've done this before and they didn't even comment, I suspect they felt guilty they'd lost it.

Note: I successfully used all these tricks on several occasions. I would say that it definitely had no impact on my education (Got a AAAB at A level, 1st Class degree in Electronic Engineering w/ Hons), and a very significant positive impact on my life as a whole.
Heroes of software engineering - the men and women at Transitive
Yeah, Glasgow is a bit of an outlier; a nasty mixture of poverty, unemployment, alcohol, and sectarianism gives it a long history of knife crime in some areas.
Ask HN: What libraries do you prefer for low level tasks
There are tons of interesting and different libraries out there that does tons of things each in its own way.

Could you tell what libraries, plugins, gems do you use to accomplish a specific low level coding task. Provide your short reasoning for your choice whenever possible.

Mine is,

WYSIWYG textarea editor - CKEditor - Main for its customizablity.
JS Library - Jquery - Its not lightweight, but for the overall built in features and plugings
CSS Framework - Bootstrap - At first I didn't like adding non semantic classes, but the boost in productivity made me switch
Authentication - Devise
CMS Engine for rails - Comfortable mexican sofa - Makes no assumptions on layout
Simple validation - Jquery validation plugin - Very Simple to integrate

This is no way a complete list, but these are some of the library I use for Specific low level tasks. What are some of your choices.
https://news.ycombinator.com/item?id=6416660
Diablo III Auction House is shut down
We can call a lot of these NPE's "extortionists" because that is what they do.

I suggest that only the inventor has the right not to work out their invention but any buyer of the patent afterwards should be forced to build that invention.
Highlights: http://www.playframework.com/documentation/2.2.0/Highlights2...
New in 4.3.

I actually love that picker a lot. It's efficient when you use it with one hand it it's not nearly as confusing as the alarm clock one which would break down completely if you would have to target a specific date.
You can actually partially detect it with Firefox.

https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-syste... https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-syste...
An exciting new (to me) way to SSH
Better to be safe for everyone and fast for experts than the other way around.
I had the benefit of attending the British, German, and American school systems.

Schooling in America has little to do with education, and much to do with indoctrination.

Pretty much the only thing I learned was the pledge of allegiance - over which I repeatedly got suspended, as I refused to recite it along with the rest of the class, every morning.

Everything else they "taught" was years behind what I'd been learning elsewhere, and none of it was teaching - it was all just OBEY. I used to kick like a mule whenever they tried to teach us something factually incorrect by rote - and got in trouble for it.

THERE ARE FOUR LIGHTS!
Private space race takes off as new firm heads for ISS
Character is Destiny
There was some speculation that this was part of their actual strategy for differentiation e.g. the parallax animations.
I've played this game for years, ranking from bronze to diamond and back and forth and I feel no change, Im just as slow and dumb as I was before.

Just play unranked if ladder is too stressful.
Some of John Taylor Gatto's writings on the education system shed some light on all of this.

http://en.wikipedia.org/wiki/John_Taylor_Gatto
Because a secular university would have one stupid reason less against unionizing its workers.
JQuery Glossarizer - automatically markup glossary terms
I think what the article misses out on (at least at the beginning, I didn't get through the whole thing) is that Apple only needs a 'close enough' match on your fingerprint vs. forensics needing a very close match.

Apple only needs to recognize a maximum of 5 fingerprints, and each of these I suspect will be significantly different (is their a correlation between fingerprint and genetics? I don't think so).

Therefore, they only have to match each fingerprint against the 'up to five' that it knows of. Even if your iPhone got stolen, a thief/cracker would be hard-pressed to get more than maybe 100 people to try to unlock it with their fingerprint. Again, the chances that one of those 100 would be close to your fingerprint is pretty slim.

The accuracy probably doesn't need to be much better than Android's face unlock, as the fingerprint scanner has the benefit of having something similar to a photograph, but they don't have to deal with any lighting or angle issues (I know the fingerprint scanner isn't a camera, but face detection doesn't use the actual camera either, it maps your face to points and then compares those points.
Yeah I know that. I buy T-series. No glue.

They're not a useful innovation - they are an abhorrent consumerist "disposalism" decision to pump sales, a safety nightmare (isolate it? nope), purely a cost cutting exercise for the manufacturer and make it even harder to recycle the nasty chemicals.

Don't give me the shit about it allowing smaller devices to be made either. You can make smaller devices with removable batteries fine.

I'm a qualified EE for ref.
In his tweet announcing the blog post, the author of this article included the insightful hook:

> VCs are often able to map outcomes back to the pitch and the behavior of an entrepreneurial team years earlier.

And reading through the blog post, I really believe it is so.

I also think that the same lesson, that character is destiny, applies to first employees, investors, etc.

It's the gut feeling when you form your impressions of someone, it takes time but it usually plays out. Character does, to some extent, imply the actions the person will later take.
HTTPflies - A miscellany of HTTP error codes.
Yay, downvotes.

Now let's wait a couple of months for someone to post the same thing and then have everyone agree that not masking passwords is indeed a horrible idea!
I don't see the name of the manufacturer for the display or SSD in "About this Mac". Am I missing something?
You complain about the other articles but did you even read them or did you just ctrl-f for 'glue' and base your conclusions on that?

"compare that HTC One teardown"

HTC One link:

absence of any exterior screws

remove large foam padding

With no clear path to entry, we decide to get a little more creative with our approach…for a good half hour.

Last time we checked, "gutting" is not a term that shows up very often in the service manual of a repair-friendly device.

We won't lie, getting to this point was an arduous and daunting task. The amount of work required to separate the rear aluminum case and the front case was immense.

copper shielding is a pain to deal with during reassembly

Etc.

"Nexus 4 which got the same score (6)"

TFA: Nexus 4 Repairability Score: 7 out of 10
Couple of thoughts:

There's some things that need to be memorized - basic multiplication tables - I memorized those (9*8, etc). Basic articles/phrases in Spanish. Some basic world/state capitals, etc. But at some point memorization doesn't get you anything any more (except passing a test, maybe) - memorizing a few basic building blocks helps for the larger problems, and eventually the truisms of the building blocks become apparent (if there are any - capitals doesn't matter).

On 12 hours per day - some of the teachers I know definitely put in that amount of time, on average (grading homework, meeting with parents, planning, etc). They may be thinking "If I'm doing it, so can they", but... The teachers already KNOW their stuff - they're not LEARNING for the most part - they're doing the job of a professional. The student, by definition, is not a master at any of this stuff. A 12 hour effort, day in day out, by students, is simply going to wear most of them down.

This seems like a simple scheduling thing - teachers could coordinate between themselves better, individually or by subject - to stagger workloads effectively. Foreign language may get to pile on big assignments on Mondays, Sciences on Tuesdays, etc., with an understanding of minimal homework requirements the rest of the time. But if "read 79 pages and do a one page summary of 3 topics from it" is considered "minimal", there are bigger judgement issues going on.
Wasn't he pardoned already? I always assumed he was a few years ago.

EDIT: I stand corrected, it seems to be ongoing: http://www.theguardian.com/uk-news/2013/jul/19/enigma-codebr...
Just because you can, doesn't mean it's right ;)

Nice work by the way. It's quite amazing the odd things you can do in Excel.
Counter-Forensics: Pair-Lock Your iOS 7 Device with Apple’s Configurator
Atmosphere Framework 2.0 released: WebSockets every where on the JVM
Through excitement this was erroneously posted and contains the same article of Der Spiegel as https://news.ycombinator.com/item?id=6416660
That's actually pretty similar to how in Linux you can choose to either have to click to give a window focus (like in Windows), or simply have whatever window currently is under the mouse to have focus.
Statistics: A visual explanation of Simpson’s Paradox
http://vudlab.com/simpsons/
Back in the days, I spent an enormous amount of time playing Warcraft III competetively, and was somewhere in the top 100 globally.

There are definitely things that I have learned back then while playing RTS games:

- how to hold a team (clan) together and generally work as a team

- training a _lot_ and working hard on myself

- learning from my own failures (and analyzing my own replays), because in a 1vs1 situation it was always me that fucked up when I lost. I could never explain or rationalize that away.

- dealing with stressful situations and as ridiculous as it may sound, overcoming fears by using builds (changing strategies) I am not comfortable or confident with when all other plans failed.

But I wouldn't go as far as saying that RTS games make you a smarter person.
It's always a question of determination and willingness to work hard, as it is in any other field where you choose to work in.

One factor in RTS games that might help facilitate determination is infrastructure.

In RTS games you have the infrastructure to compete with eachother on equal terms, which you simply can't do in many other fields you might be interested in as a kid because of barriers that prevent you from entering.
I think they were going for 'color' from what I understand, it's pretty similar to the 5, but with color. Is the price really much different from the 5.

Essentially, they've stuck with the same model they had previously, of discounting the older model, and introducing a new model at the same price point the older model had, but this time they gave the older model a colored back.

So they really should have stuck with iPhone 5 (which is now available in colors) and iPhone5s, might have been less confusing than the idea of a now 'cheap' iPhone, and 'c' I think is being recognized as 'cheap' rather than 'color'.
Why do companies make their products deliberately unattractive?
Just playing Devil's advocate... (because I happen to agree with you that batteries should be user-replaceable, especially with phone battery life as bad as it is)

> I've just replaced the battery on my Lumia 820 after 9 months.

If your Lumia's battery needed to be replaced after 9 months, it was already under warranty and should have been replaced by the manufacturer.

> a safety nightmare

You know what's also a safety nightmare? Batteries. Which is why stopping third-parties from replacing certified batteries with random bought-off-eBay batteries is definitely a good idea.

> purely a cost cutting exercise for the manufacturer and make it even harder to recycle the nasty chemicals

Apple does have a recycling programme where you can bring your old electronics for free (and they'll even pay you for it with some products). http://www.apple.com/recycling/

As for the glue itself, I imagine it's trivially removable by qualified techs (there's probably a solvent that brings it right up?). And the excessive amount we're seeing now could be equally due to initial assembly issues (c.f. thermal paste a few years back) as much as any conscious decision.

I would definitely be interested in hearing more about why glue is bad though!
How caustic a lesson to teach your kid, that they should organize to cheat on homework, so they can artificially inflate their grade. I suppose it does set them up for a productive life of investment banking.
There's really not any reason that socialization and academics have to be mixed though. It is just convenient and probably cheaper than the alternative.
"Then we have the Nexus 4 which got the same score (6) as the 5S but doesn't have things like glue holding the battery in place and a taking it apart requires "minimum effort":"

Did you read the Nexus tear down or just look at the score? From the tear down:

The battery is stuck to the frame with a lot of adhesive, so removing it without puncturing the battery can be difficult.
The glass is fused to both the display and the display frame. So don't crack the glass unless you're good with a heat gun, or you're fond of replacing the glass, display, and frame together ($$$).
Use ASCII art to highlight code parts in Sublime Text
Modern road bike brakes are plenty powerful enough with adequate modulation.

The real limiting factor on road bikes is traction.

Disc brakes on road bikes might give a distinctive advantage, even with greater weight. Disc brake rims need not have a braking surface and thus can be lighter having less angular momentum.
Potential solution on OS level:
1) when connecting to a network for the first time, remember its location
2) only send out those SSIDs that belong to networks which are close to your current location

Does anything like that exist? Maybe for Android?
Noowit has also a similar editor. Create an account an go to http://www.noowit.com/writer
Reddit is as rife with "hipsters" as any venue. The idea that its community would lash out against a perceived hipster is pathetic self-loathing and projection.

After Digg sold out and became a spam site, many of us migrated to Reddit. And then we abandoned it, after a couple hundred "this little guy followed me home" posts about puppies and whatever other attention-whoring crap dominated the front page.

Reddit is the last community that should be condemning "hipsters." Talk about hypocrisy. Or should I say hipocracy.
Can celestial navigation really measure stuff up to 1 second accuracy?
Can astronomers anyway use the "wall-clock" time directly? Unless they're located in Greenwich, they anyway need to adjust for their exact location since it is not exactly in the middle of a time zone; after such changes they'd just automatically sync the relevant clock not to UTC but to some "Astronomical-UTC" time zone and that's it.
From my experience of working in an office with admin teams, the very large majority worked with apps open on the full screen and tabbed between them. Very rarely would they have more than app visible at once, even when they knew they could they wouldn't.
Why isn't this type of mental calculation actually taught at schools? Not every kid thinks of these "tricks". Instead, they do how the teacher showed them and do it on paper the long way. Seems like we are crippling our kids.
Thanks for an excellent comment with that link for further digging into the subject. The study could have easily been a interesting article on HN by it self. The only thing I wish the study explored is what would be the calculus instructors' preferred teaching method, and compare that to the students'.
You mean like: https://code.google.com/p/cpp-btree/
Whatever a "STEM education" is.
FWIW godaddy management is being run by ex-Microsoft people. CEO Irving was a VP at MS number of years ago.
See now this is a good point. I was thinking along similar lines, reading the article. Automatically thinking, "could this guy have handled this better?".

I want to make clear that I don't blame him, all he did was sell people live-typewritten short stories in the park. It's quirky, nothing that deserves Internet-wide ridicule (which happened because of the cropping of the photo, not the quirkiness per se). Also I don't think his clothes are that out of the ordinary, definitely on the "hipster" side as styles go, but many people wear this style, and indeed if you're buying clothes on a budget there's often not much choice: either you get something really shabby, or you have to pick one of the current youth main stream fashion styles. In that case I'd go with "hipster" too.

Anyway, what I thought was, if right that day when he hit Reddit's FP, he'd have made a simple webpage (could even be a Tumblr blog with one post in it) with roughly the first part of the story in this article--aka what he actually does and why he's doing it. Also, if he had one laying around, an uncropped picture of him with the typewriter and the sign.

The idea being, he explains that even in the Reddit thread (threads?) some people came to his defence. Giving them something easy to link to, makes that a lot easier. Especially if the topic comes up again on some other sub-reddit, the whole shaming-then-"oh wait he's just trying to make a buck, sorry" can be cut short if one of the first commenters just links to that page.

Basically what this does, is give you a communications medium back to your audience. Yes he now has an audience. That's how it goes in the 21st century sometimes.

Also write that URL tiny in the corner on the back of his paper. It's better than a Twitter account.
So your example still requires that state exist, it's just far more global. I.E. there must be some prerequisite code that sets up the thing to which "I" refers such that it's available to any step at any time. There may be some good patterns for that -- and that approach may be an excellent way to keep step definitions clean and simple, but I think it's somewhat orthogonal to my point.

I'm still not with you on the timing thing. By the time that step is reached, either the state has changed, or it hasn't. We address the need for it to be able to see "back in time" by storing a history of the state of the object in a way that is accessible to the steps. I.E. For steps like this:

Given a credential for a supported vendor
When I change the nickname
Then the edit version should not be changed

The step definitions might look like:

Given /a credential for a supported vendor/ do
@thing = FactoryGirl.create(:'credential/amazon', :valid)
@thing_history = [@thing.attributes.dup]
end

When /I change the nickname/ do
@thing.nickname += " meh"
@thing.save!
@thing_history << @thing.attributes.dup
end

Then /the edit version should not be changed/ do
@thing_history[-1][:edit_version].should == @thing_history[0][:edit_version]
end

(The use of "@thing" is a way to encourage myself to only be talking about one object at a time...)

Perhaps that's a somewhat obtuse way of handling things -- and there's likely ways of DRYing up that pattern, if it's worth preserving, but it's proven to be fairly effective for me in the past.

And yeah, Cucumber might make a good vehicle for that sort of testing. Quickcheck sounds like a brilliant idea -- although a bit terrifying in the context of a slow language like Ruby. Would love to get my hands on / build a tool like that...
This

Or as TBBT mentions, Sheldon has an IQ of ~180 but he didn't know you could call soup delivery (or something like that)

Or to make a simpler analogy: Being 6ft tall helps if you play volleyball (may be even a requirement), makes no difference if you play soccer.
Maybe this new modern cars will already upload telemetry data to the cloud, and maybe later there will be even a "AI forensic analysis" (which will probably end up assign fault to the one going faster because "think of the children")
> If your Lumia's battery needed to be replaced after 9 months, it was already under warranty and should have been replaced by the manufacturer.

It was. Nokia service sent me a new one out for nothing after a 5 minute phone call.

> You know what's also a safety nightmare? Batteries. Which is why stopping third-parties from replacing certified batteries with random bought-off-eBay batteries is definitely a good idea.

The problem is more power isolation. If you get a short when you damage the device etc (compression/impact/waterlogging), your typical LiPoly cell is going to catch fire or at least knock out extremes of heat. This is very hazardous. Removal batteries at least have a chance of power isolation.

My specific example here is my 2010 MBP which the battery was not glued (but inaccessible). This got waterlogged after a drink was spilled on the table. Turning it upside down revealed that capillary action around the base plate had sucked up the water. It rained on the logic board. About 30 seconds later, it caught fire. My only resort was to throw it in the garden and watch my £1249 investment burn up.

> Apple does have a recycling programme where you can bring your old electronics for free

Yes they do but perhaps if you could replace the battery out of warranty, you wouldn't need to recycle it :)
I never saw school as a place to learn facts, but as a place to learn how to socialise and how to deal with life. Learning how to get a good grade is important, but only because people think that it represents your worth as an employee. My parents/TV/books/the internet taught me most of what I know.