skysight-inc/HackerNews huggingface dataset:
First, metabolic rate is not constant. If you feed your body few calories, your metabolism adjusts so as to use few calories. Fat cells that are stimulated to grow scream loud for their share of the energy, ensuring that they get their needs met even if the rest of you is weak, tired, and resorting to stealing energy from muscle and other tissues. This is not a zero sum game. Certain conditions may cause someone to retain water, which can add to weight independent of calorie consumption and use.

As for examples of obesity occurring concurrently with low caloric intake, take the Pima native Americans in 1905, where most of the obesity is in women, who were quite physically active, basically treated like beasts of burden. You can find the same trend in 1928 with Sioux on a South Dakota Crow Creek Reservation--very high levels of obesity in coincidence with extreme poverty. In the early 1960s, MIT nutritionists calculated that Trinidadians were getting no more than 2000 calories per day, yet they were seeing an extreme obesity problem among the females.
Wow, I cannot believe how you guys are so accepting of MONTHS of delays in payment.

It happens often, but it is a serious unprofessional offense that not be taken lightly.

Your and your coworkers life are disrupted by cash flow issues. It is an insult to you and your coworker's hard work.

Moreover, this is detrimental to our entire high tech consulting industry. We cannot make this acceptable behavior for clients. They need to see there are real consequences for delayed or nonpayment.
Why don't we hand-tailor a bespoke educational curriculum and methods for each student? Primarily, it's a cost issue; secondarily, it's an aptitude issue for the educators. (My parents were both in public education, and some of what I saw as a user and what they reported as members was utterly appalling.)

But, it's the cost issue that makes it a total non-starter. Very few school districts will, across the board, be able to afford the teacher:student ratios required by individualized, customized instruction processes for each student.
unrecoverable? as in, not read-only?
>propagated by nothing much more than cargo-culting

It's propagated because it's a standard, and it seems many people ARE comfortable with it. It also seems that I enjoy my font-size just the way it is.

I've just written my first reusable, outlive-my-employment level of code, and keeping my code under 80 lines was trivially easy. The only thing that was the slightest level of nuisance was that the function parser in notepad++ couldn't cope with a multi-line string definition inside a function.

The bulk of my time was writing clear, understandable and educational documentation for the library.

Why are you so hostile?
Never used anything but RAID 1 on my Synology NAS. Had a drive fail there once and rebuilding the array was as simple as swapping it for a new one (took a few hours but it was truly "plug and play" and no data was lost).

Do the things mentioned on the article imply that a system like the Promise Pegasus2 R6 12TB (6 by 2TB) Thunderbolt 2 RAID System (http://store.apple.com/us/product/HE152VC/A/promise-pegasus2...) is actually not guaranteed to survive 1 HD crash when configured in RAID 5? I'm a bit confused now, would appreciate any help there...
This is how simple all code should be :-) Good Job!
I wasn't expecting such a detailed answer. Thanks!
"f4" creates a hole on "e4" in your pawn structure. This hole becomes a valuable outpost where your opponent can position a knight (or other piece) without it being harassed by one of your pawns. This means to get rid of it, you need to trade a piece for it, and when your opponent recaptures, it will give them a passed pawn.

"Nf3" protects your d4 pawn and also threatens the e5 square. Probably most importantly, it clears a piece so you can castle kingside.
SeatGeek — New York, NY — Full Time — We're a search engine for tickets and live events. Think "Kayak for sports/music/theater tickets."

Web Engineer — We're looking for someone who loves building for the web. Everything else (professional experience, where in the stack you fit, the languages you've used) is up for grabs. Details here: http://seatgeek.com/jobs/web_engineer/

Android Engineer — Our Android app is at a nascent stage, with just one fulltime engineer working on it. Our iOS app is used by millions; we want our Android app to get there too. We're looking for someone to help make that happen: https://seatgeek.com/jobs/android_developer
For me, I was used to mainstream text editors that use modifier keys. I found vi difficult to get into, but I finally grokked it when I considered 'normal' mode to be affected by an imaginary key called 'ctrl-lock'. Like numlock and capslock, ctrl-lock keeps your modifier key 'held down'. It's not quite accurate, but it was the conceptual shift I needed to 'get it'. Also, you don't have to remember which mode you're in in modern vi clones, as they generally tell you in the status line. Not that you particularly need it, because when you're comfortable with any editor, you have a practiced set of moves that you don't have to think about.

Now I'm not a vim god, but I've used it enough that I have muscle memory that affects my use at the command line - I'll want to change something in a parenthesis and will type "ci(" (change inside parenthesis), only to find the literal characters appear... :)
> a way to systematically, efficiently, and scalably train amateurs into masters.

Why do you need an AI? I don't play chess, but I suppose the above is more or less what an elite chess school provides, and you could likely reproduce it with books + practice + private lessons. That is, what Ericson calls deliberate practice and coaching.
Neurologists who study the brain's wiring are just as fascinated by the missile guidance system that top table tennis players have behind their eyes just as much as world class chess players.
I personally don't like such limit. It's a relic of the old hardware. There is no need to follow it.
SEEKING WORK - Remote or San Luis Obispo/Santa Barbara, CA

* Ruby and JavaScript developer with focus on Data Visualization, d3.js, Backbone.js, Ruby on Rails

* Can work across the stack, decent eye for design, author of two popular jQuery plugins

* Have worked with startups, two YC companies, worked remotely, built many MVPs and live applications

Recent projects:

- Fast growing, RoR based classifieds site for general aviation: http://www.PlaneBoard.com

- Building dashboards and managing data visualization, reporting for a hedge fund

- Misc visualizations in d3: http://www.bytemuse.com/post/k-means-clustering-visualizatio... http://www.bytemuse.com/post/centrally-located-us-state-capi... http://www.bytemuse.com/post/sochi-winter-olympics-medals-by... http://www.bytemuse.com/post/drought-historical-rainfall-cal...

=============

Email: cmpolis@gmail.com

Blog: http://www.bytemuse.com/

Twitter: https://twitter.com/chrispolis

Github: https://github.com/cmpolis

Stack Overflow: http://stackoverflow.com/users/238672/cmpolis
You could get a bunch of 840 Evo drives, say, 7 of them, for around $3500, for a 6TB raid5 that would probably get at least a gigabyte a second even with parity calculations overhead.

Though ZFS and Btrfs solve the unreadable bit problem with extent checksums, so you really don't need to worry about mechanical disks, yet. You would need two URE's in the same block to kill the checksumming.
Which chess engine is behind this app?

As far as I understand the app (whose avatar's age goes up to 23) actually plays better than the living world champion?
Ruby solution (don't have enough rep to post to codegolf):

def mad_addr(a,b)
a == b && a == 2 ? (a.object_id + b.object_id)/a : a + b
end

Explanation: If a and b are both equal to 2 we can sum the values of the object_id's (the object_id of 2 is 5), and then divide the sum by 2. [Edit to add] For all other numbers this should behave as expected.

I just learned the object_id of 2 is 5 while doing this exercise, and I would like to continue learning more about how Ruby works. So if you have feedback, criticisms, or other ideas regarding this solution please feel free to share :)

[edit: added missing `=`]
Russell Coker's reports of his experiences with BTRFS give me the screaming heebie-jeebies, no matter how up-beat and positive he stays about it: http://etbe.coker.com.au/tag/btrfs/
Terminals were commonly 80 characters wide, which doesn't explain anything. Why were terminals commonly 80 characters wide? Perhaps terminals were commonly 80 characters wide because punch cards were commonly 80 characters wide, which doesn't explain anything.

Eighty characters is the "standard" limit for code width because eighty characters is the "standard" limit for code width.
But how would the people creating the transcripts deal with all the technical lingo in say programming conferences? The lexicon seems highly domain-specific and can get quite obscure at time... That being said, this seems like it would indeed be a GREAT addition to any conference.
SEEKING WORK - Remote

10+ years experience in software-, web- and database development. Computer Science Degree from UC Berkeley (Bachelor's) and Stanford (in progress)

Specialities

- Full-stack development with Ruby on Rails (and common frontend technologies)

- Machine Learning and data mining (my research focus)

- Natural Language Processing (my research focus)

- "Big Data" and distributed systems - Hadoop, HBase, Hive, Cassandra, Spark, Graphlab, AWS, etc

- Anything startup-related

Languages: Scala, Ruby, Java, Python, Javascript, Coffeescript, jQuery, HTML/CSS, SASS, LESS, Haml, Slim, C++, Matlab
Technologies/Feameworks: Ruby on Rails, numpy, scikit-learn, Bootstrap, PostgreSQL, MySQL, AWS, EC2, S3, Redshift, EMR, Hadoop, HBase, Hive, Cassandra, Spark, Shark, Graphlab, Git, MongoDB, memcached, redis

Have references from previous freelance work if needed.

LinkedIn: https://www.linkedin.com/in/dennybritz/

Github: http://github.com/dennybritz/

Twitter: https://twitter.com/dennybritz

Email: dennybritz [at] gmail
> I'd rather talk to someone about what they want out of their product and then let them make an informed decision where they can weigh up cost and impact of a certain feature.

So, you'd like to be a PM then?
The point is to punish gluttony, but even that point isn't the point. The point is to demonstrate a system with a threshold. a tank fills to a point, and rather than overflowing the tank, completely empties it.

A more obvious subversion of this would be to stick your finger in the discharge at the bottom. Fill it as much as you want then.
Just an old, slightly jaded reverser who hung around the right places, and you don't really _need_ to care: it doesn't tell me what happened, just that a 'something bad happened' whistle was blown. It could just be as simple as one dev leaving it for if another dev went nuts.

Does it actually change the response, at all, I wonder? 7.1a is known, and being independently audited anyway. (It looked pretty good back when I took a look at it, although that wasn't 7.1a and that was a more cursory look than this thorough audit process.) No duress can change the fact of what the code does (although it could change what the site serves, what the 1024-bit DSA signing key signs...). 7.2 really isn't useful for that, at all.

Be interesting to see what ultimately comes of all this mess; maybe someone will fork it from 7.1a (won't be me: build process is way too hairy and licence is troublesome even from back when it was a EFTM fork), or maybe people will move to Diskcryptor or something and improve/audit that (it _is_ under a better licence).

No matter what actually happened - or happens - it's a huge shame. TrueCrypt was practical, effective, easy-to-use, and strong when used properly (as far as I know), with some (now sadly-removed) good documentation on how to use it correctly and what it can and can't protect against well. I really hope this débâcle doesn't drive people to switch to weaker crypto.

As many have pointed out, BitLocker - even if it's faithful - isn't available on many editions of Windows, isn't cross-platform, and only really supports the equivalent of keyfiles if you're not packing a TPM. It's a poor substitute for the ways many people use TrueCrypt.

LUKS is much better, although OS support isn't anywhere near as easy-to-use, and I'd say broadly equivalent with aes-128-xts/aes-256-xts, except that LUKS has an clear-identifiable header (dm-crypt doesn't have to) and TrueCrypt (unless you have the passphrase) doesn't. (Whether that's important is doubtful: a disk full of random data looks 'probably encrypted' to anyone who'd care to look and to the guy with the 5$ wrench or jackboots, that's good enough.)

I can't comment on the Mac one, never really taken a long look.

It would also be interesting to see similarly close audits of the OS built-ins. I know I'm curious about the exact changes Windows 8 made to BitLocker, because they were fairly extensive internally. Maybe I'll take a look. Maybe you should, too.
Agreed unlikely, but the point remains there have been considerable increases since £315,000, hence all the talk of bubble danger by BOE, politicians and investors, especially if you don't single out suburbs, and consider the data is incomplete, and old in a heated market.
Bo Jackson won't make the Hall of Fame in either of those sports, let alone both.

IMO, making the Hall of Fame is one obvious/indisputable mark of someone who is truly distinguished by excellence in the sport. (He did make the All Star & Pro Bowl, but those are far less distinguished honors, with something like 5-10% of players making those teams each year. So, rather than being a "top 5" type of mark, it's a "top 68" (baseball) and "top 110-ish" (football).)
How is posting this article any different than handing out a thinly disguised pamphlet for a religious organization ? If someone were posting material here about how some people in California are into "accepting jesus as their personal savior" I would find it every bit as boring and off-topic
Letting the client fuck you over by not paying is being a chump consultant?

Would clients delay payment for their attorney? How are tech consultants any different?

The demand for tech consultant is more than supply. You don't need any clients that are scared of working with you because you call out another client for not payment. There are plenty of work in the sea to put up with this.
Awesome! Looking forward to next week's post about the resizable column feature.
I know, you're right. I was just a bit annoyed at his tone so I reacted instead of just replied.

I tried to soften it a bit by adding if perhaps he just didn't recognize the notation, but I guess it wasn't enough.
I agree that this should be done for the majority of students. Like Gatto, I advocate a complete overhaul of the educational system in the US, and I think it's entirely possible even with the meager resources we currently allocate. Clearly education should be a bigger priority, as well.
Real wizards code in Reality.
This is a historical sketch. Pretty sure the author isn't trying to convert followers for John Dee, Alastair Crowley, or L. Ron Hubbard. (The Hubbard-Parsons-Crowley link is fascinating, btw. Who knew?)

It's pretty rare that someone would be interested in all 30 items on the front page, so if complaining about personal boredom were the thing to do, it would quickly dwarf everything else on the site. Therefore it's not the thing to do.
a == b && a = 2 ? (a.object_id + b.object_id)/a : a + b

It looks like you are missing an equals sign on a == 2.

I just learned the object_id of 2 is 5 while doing this exercise, and I would like to continue learning more about how Ruby works. So if you have feedback, criticisms, or other ideas regarding this solution please feel free to share :)

The object_id appears to be the tagged pointer that contains the value cast to an integer. Ruby stores all of its data types using a single underlying C data type (called VALUE in the Ruby source), using the bottom two bits to identify special values that aren't really pointers. This is why Fixnum can only hold 31 or 63 bits instead of 32 or 64 (including sign), for example:

# Ruby irb on a 32-bit system
> (1<<30 - 1).class
=> Fixnum
> (1<<30).class
=> Bignum

See also:

https://en.wikipedia.org/wiki/Tagged_pointer
http://amara.readthedocs.org/en/latest/index.html (Amara: Create Captions and Subtitles) might be of interest to you.
This is just looking at the physical layer for consumer drives. Any SAN is going to be using something with less errors. Also every year storage costs continue to drop. Double parity, or eventually triple parity are cheaper than ever to implement.
Shrink the RAID group size? 7 x 1 TB disks in RAID5 gives you 6 TB usable space. With 2 TB drives use a 4 disk RAID group. You're still protecting the same 6 TB (at a small loss of efficiency), but eventually cost catches up (if 4 x 2TB isn't immediately cheaper than 7 x 1TB it won't take long till it is). This more than covers the reliability decrease of the higher capacity drives.
Why Programming Languages Are Hard To Teach
It seems some people are lumping Product Managers and Project Managers together.

They should be separate roles. And I believe, ideally, if you're in an organization with Product Managers, you shouldn't have Project Managers.

You can depending on the circumstance, but if you're a product manager you're more than likely in an agile environment.

Project Managers deal with projects, a temporary endeavor with a definite start and definite end to accomplish a goal. Products are ongoing things. Prod Managers should be looking for trends in the future of the market, and putting those features on the backlog of the team that's working on that product.

Are Prod and Proj managers going away? I think Proj Managers are. So many bad ones. Prod Managers? I haven't seen that happening actually. It seems more people are moving to Agile and hiring Prod Managers and Scrum Masters.

At least in my area.
> It's to the point that if you read an entire disk 4TB you have a 32% chance of one bit being wrong!

If this were the case, forums would be filled to the brim with ZFS users whinging about how they get CKSUM errors practically every time they scrubbed their pools. They do happen, but nothing like that frequently.

> That means hard disks can no longer be considered reliable devices that return the data written to them

They were never such devices in the first place if you ever valued your data enough to care. Even if your disks are perfect, your cabling, backplanes, IO controllers, drivers or memory probably aren't.
No, you can't ask the rhetorical linkbait question for your own startup.

https://twitter.com/jamesduez
In my case, that would have been great. I had a few teachers along the way who allowed me to shed some of the shackles, and by the end of the year, my grades were always over 100%. Those are the teachers I really admired and felt I learned the most from. In my high school freshman year, by the end of the year I'd done all the work from my Honors Bio 1 class and the Honors Bio 2 class, and had loved every minute of it.
I am glad they are going away. Don't need idea people.
"Future people will agree with me."

We probably do not currently look back with horror to the things that those people from old Kent thought we'd look back in horror to.

Instead we judge these people according to our current standards, just as future people will judge us to their standards, which we would probably find quite revolting if we could grasp them at all.
Gödel’s Loophole in the US constitution
I agree with you. No need for these types of fake jobs.
> Clearly this is different to a compiler which intentionally rejects programs that can't be efficiently implemented/compiled.

I agree.

I wonder what happens when the heuristic fails in the Ur/web compiler. When my C++ compiler runs over its template instantiation depth, I get a nice error message telling me what happened and how to increase the depth.
5 Essential Tips To Choose An Online Store Selling Oak And Pine Furniture 
5 Essential Tips To Choose An Online Store Selling Oak And Pine Furniture
Probably also worth a read is Feynman's Caltech commencement address, which talks a little about Psychology (or the state thereof in the 70's - I don't know enough to judge whether things have really changed, and doubt the media provides a balanced perspective)

http://neurotheory.columbia.edu/~ken/cargo_cult.html
Well... the shell is a layer above the syscall functions which are a layer above the kernel :)
So my understanding is that the problem is that the raid driver throws an error when it fails to read a bit, asserting that it can't read the whole array.

Does this mean that since it's the raid driver itself claiming "Hes dead, Jim", that most filesystem-level protections will be ineffective since the array itself is "dead"? Of course, if your filesystem leveraged multiple RAID arrays as independent disks, it would have a chance.

For software raid at least, could it not leverage some kind of Hamming or Reed-Solomon code so that it doesn't fail hard like this?
> software bugs, ability to be hacked, snooped upon by NSA, also go along way.

You're already trusting a car driven by software that could conceivably "be hacked" to hurt you. Algorithms already control things like antilock brakes, shifting, adjusting the suspension and deciding when to deploy the airbags. And assuming you have a cellphone, the NSA is already tracking your every move.

> More people die from accidental falls.

Source? The CDC appears to disagree with you. (my source: http://www.cdc.gov/nchs/fastats/accidental-injury.htm )

Yes, the first driverless cars will have all sorts of blind spots, but they will gradually get better whereas human drivers won't. Software-based drivers can learn from accidents and near-accidents that almost any other software-based driver anywhere has had, whereas human drivers are largely limited to learning from their own vastly smaller range of experience. As a software developer you should be able to predict the eventual outcome: programs will eventually in most circumstances beat even the best human drivers just as they now beat even the best human chess players.
Ask HN: private or government?
would you leave a government job to work for privates startup company? also vice versa
Work out the probabilities. The results may surprise you. They did me. I was like you once.
Perhaps a better argument to make is that, since 2009, "Cloud Storage" has taken off alongside Amazon's S3 service.

So while folks who really do need to reliably store 500GB of stuff might still be looking at RAID, for the 'average' end-user they have a far better solution than complicated multi-disk setups.
If there's anyone in Cincinnati interested in part-time (sporadic at this point) contract work, get in touch with me (email in profile). I'm happy to mentor you ask part of the work. It would basically be an internship and working from home is fine.
Girl Impersonates 20 Singers
Old computers (Spectrum, MSX) had 40x25 = 1000 character screens, because memory was scarce, and 1000 is a nice, round number.

From there, they upgraded to 80x25 (doubling the resolution!). Two things happened to make it possible: 1) memory got a bit bigger 2) computers started shipping with dedicated higher-quality monitors (e.g. MSX-2) instead of being hooked up to TVs, so it was actually possible to read 80 characters on a line, even though you had to squint a little.
I would have thought writing was the easy part and getting a publishing house to pick it up would be harder. I mean how do you approach someone to get your book looked at?
I feel like all college lectures would become immediately more valuable if this could be done accurately. There were so many lectures where I missed a detail, lost track of what the professor was explaining, and then zoned out for the rest of the class.
It doesn't explain everything, but it does explain quite a bit -- notably it traces the history of the standard back to punchcards.