skysight-inc/HackerNews huggingface dataset:
I won't get a chance to write this up, but in a similar vein, if you split the grain/texture off of an image, you can scale and stretch the image as needed, then drop a fairly small, tiled grain texture back on top. I think it is nicer to do two grain textures, one for lighter and one for darker. Make the grain image be solid white or black and put the grain in the alpha channel.
Fair point, it's really basic combinatorics but well applied and properly executed.
Aldiko (http://www.aldiko.com) is a great Android ebook viewer for epub, pdf, etc.
Maybe you should check out how the app works, before you make derogatory statements like: It is a scam!

Anyway, you are not getting any of my curry made from: Cocos, Chicken, Garlic, Jalapeno, Onions, Tomato, Olive Oil, Coriander, Cumin, Chili Powder, Green Pepper, Red Onions, Garam Masala, Ginger, Lime Juice, Saffron, Rice, Kosher Salt
I'm hoping that I never have to write C/C++ or use vim/emacs extensively during my programming career. I'm perfectly content to leave that work to someone else.
There's really no delineation between articles. Scanning down the page there is no trigger for your eyes to stop and read headings, which makes you completely miss the article on the GitHub commit monitor...

For a website that is meant to be a culmination of information, scanability should be top priority.
Sarah Hatter, who is the employee described in this story, left an insightful comment that unfortunately showed up as a child of aless insightful comment and is therefore buried. Check it out here: http://news.ycombinator.com/item?id=2417278
I'm not a UI expert, but I think it's unfair to take a feature from OSX compare it to Gnome and if they are similar assume that Gnome copied that feature or idea.

Really for each example we'd have to consider it's history, and how it relates to similar elements and features. Perhaps both OSX and Gnome were inspired by a third party? Maybe it's just the most obvious way to implement that feature?
I guess that after trying to use "this will do everything for everyone" solutions (exhibit A: TFS). I am convinced that the time cobbling together a mishmash is less than the time spent fighting the backwards assumptions that the all-in-one solutions require.
Ars deal with this in the first paragraph:

"In this article, we are going to look at a manuscript that purports to overturn hundreds of years of accepted ideas about gravity, and use it as an illustration of how controversial ideas are dealt with in modern physics."

I don't think you can be any more up front than that. It's not a sheepish admission, it's the whole point of the article. Ars are trying to highlight exactly the problems you're talking about.
Generate another password upon request, store both hashes with the user account and make the user account accessible with both passwords. Not that I condone such snooping, but that isn't that hard of a workaround to implement.
Do you know how many companies applied ?
Here's a .mobi version converted with calibre: http://db.tt/oUWW03o
Ask HN: What are Best Practices for Freelance Contracts?
I do some freelance work on the side and recently a client asked me to provide a contract that covered deliverables, length of service, e.t.c. I want to make sure I don't over commit and support his website for 10 years, but I am not sure what is reasonable. Most of my clients are not technically savy, and the sites I am building are not high traffic so I am just curious what is fair. Are there resources for figuring this out? Or standards you use?

Thanks HN!
It already did.

sizeof(time_t) == 8 on my machine.

I doubt there will be that many 32bit machines in operation in 2038.
I'd love to get a copy of that code. Thanks
I can't really agree with you here. While there are many ex-Ford/GM/Chrsyler/Visteon/etc guys out and about, many of them are running their own quite successful businesses outside of the Big-3. I'm not saying they're all out of the auto business, but they're running their own small companies and generating serious revenue.
Basically the same here. I used to live and breathe C... now I don't code nearly as much (and when I do, it's generally shell or Perl scripts).
Reddit tried this (you can buy a reddit gold account with extra features). It hasn't worked.
That is interesting. Most of our investors (including VCs) recognize Austin as a startup hub. We have several VCs, a lot of angels, and two accelerator programs.
I learned C, then C++, then C#. I'd say I love them all.
No, you misunderstood. My example was poor, the password in the database is hashed:

... WHERE user.hashed_password = hash(input) OR user.hashed_password = input

So the user can provide their password which gets hashed and compared to the stored hash, OR the hash can be given to law enforcement if required and can be used in place of the real password.

This solves the problem of passwords being stored in plaintext (indeed a problem with frequent password reuse) while apparently getting around this silly French law.

Sure if the database is compromised anyone will be able to login to anyone's account, but the database is compromised so who cares?
Also, in case anyone hasn't seen it, here's the MIT URL with the HTML edition (along with sample assignments, instructors' manual, etc):

http://mitpress.mit.edu/sicp/
still waiting for results ..
Creating Screencasts: 2 Minutes is too Long
SO SO stupid (both sides). The original threatening email seems pretty silly. The response, by adopting that tone, making it public, etc., is a big "I DARE YOU" to the lawsuit-happy moron.

The problem is, it's challenging to know just how rich or insane this person is, and they just publicly started bumping chests with him like a drunken teenager. Other than feeling smug, why is it a smart move to make this personal/emotional? Respectfully indicate that you disagree and request that further communication come from a lawyer.

Also, by saying "We don't have a company, we're just a bunch of guys", you've said, "We don't have a corporate veil-- you can sue us DIRECTLY as individuals." Way to expose the jugular.
That's indeed a great feature of C++. And there are more great features (auto-destructors/RAII, better "const", parameterized types).

But I find other features/interactions in C++ are unnecessary and even harmful (inheritance and virtuals, typedef of references, C++'s useless implementation of checked exceptions). Templates are implemented pretty badly (Haskell's type-classes a.k.a the discarded "Concepts" could have been used to reduce the auto-generated code duplication). The "rule of three" (Copy constructors, assignment, destructors) is not enforced by the compiler and is a great error-prone hole.

C++ exceptions are problematic, and I actually prefer C's lack of mechanism, where it is completely clear (as long as nobody uses "longjmp") what the control flow is, from simple static analysis or code review. In C++, you have to keep all of the code exception-safe, but due to interaction with external libraries, it can be tough and even error-prone. Cleanup order is sometimes very important and also implicit when using exceptions, making review of its correctness much harder.
Also for the paelo community: add a flag to exclude all grains and legumes and some vegetable oils considered unsafe by us paleo-eaters.

Another option for keto/Atkins diet where all sugars and sweets get removed is needed.

Don't think only vegans are picky about their food!
I answered with the first option, even though I haven't had to use base C in a long long time. But I do know it inside and out. It's a pretty easy language. Some days I miss it.
Long story short, Th isn't actually fissable. It is fertile. You have to use something else (like U235/Pu/etc.) to create a stream of neutrons to turn Th into Pa which decays into U233 (iirc). which is then fissable. (and strangely enough, can be used to convert more Th...)

The problem is if the Pa absorbs another neutron, it no longer produces U233 and so it drops the yeild (and leads to other nasties, etc.).

This is, iirc. why the molten salt reactors are so appealing. You can run the reactor, continuously remove the Pa and let it decay into U233 which you then reintroduce into the reactor.

http://hal.archives-ouvertes.fr/docs/00/04/14/97/PDF/documen... is an interesting link discussing the feasibility of various reactor designs.
I have extensive knowledge of C. I have been using it since 1987. Our companies youngsters have to get up to speed quickly as our simulations are C/C++ and the datasets are massive and the code must be very fast. Of course they were taught Java in college and find pointers difficult. They quickly come to appreicate the speed difference.
Using Goliath to Integrate With External Services
Language #1 for me.
Precisely! It always is a red flag when new graduates have "proficient in C/C++ " in their resumes. I've found that these people tend to write code in a combination dialect of C and C++ that I call C+.
This is very well explained, but not all that novel. Brian Eno used to generate long soundscapes like this, using loops of mutually prime lengths of time.

Edit: See also -

http://en.wikipedia.org/wiki/Ambient_1:_Music_for_Airports

http://en.wikipedia.org/wiki/Generative_music
How to setup remote debugging in eclipse
Reminds me of some C-code I was told to port to Linux (if I remember correctly) some years back (probably in 2003). The code was from 1981 (it said so in the comment header).

Except for the fact the code was almost as old as I am (born in 1976) it turned out that the security check that the code was supposed to perform didn't actually execute.

Yepp, that's right, the code had been running for 30+ years doing nothing.

A friend of mine ended up doing the actual work so I don't know how the story ended but it's a good reminder to never assume _anything_ when you look for bugs.
Google is under huge pressure from lawmakers in this regard:
http://news.cnet.com/8301-31001_3-20051248-261.html

During the last COICA/piracy congressional hearing reps were asking why Google doesn't fix all the ills in the world and stop all crime and the one before that turned into a Google witch trial in absentia.
Rome2rio Is Google Maps With Airfare, Train And Driving Options
There was some pretty strong shaking in Tokyo, warning of tsunami up to 2m in Miyagi, 1m elsewhere along the east coast down to Chiba. The tsunami will have arrived in Miyagi by now.
Hope all the HNers in Japan are safe.
He's manager doesn't get to program all day though :P As long as it's a company in which compensation isn't determined arbitrarily by position in hierarchy it's a great thing.
The trouble with RSpec is that you, and your team, must to some degree own the complexity built into the framework. If that's something that you're comfortable with, the complexity pays you back in spades for the literacy that it provides your tests.

I'm strongly in favor of written documentation for gems that you assume others will consume. But if you're writing app code and the primary consumers of it are the other programmers on your project, literate tests really, really help. RSpec, and its 80%-as-nice-but-much-simpler cousin, Shoulda, are your friend here.
I'm 25 and consider myself very well-versed in C (though I still have to consult the C99 spec from time to time). When I was learning to program modern computers around the turn of the century, it was the only "serious" language for writing desktop apps (I had recently "graduated" from VB4). I then refined my skills over the course of my electrical & computer engineering degree and a short stint in the EE industry, where it's very much alive as THE language for microcontrollers (and last I heard, a variant called SystemC was (sadly) replacing Verilog and VHDL for use in ASIC/FPGA design).
The one wire to rule them all?

Seriously, invest into a second wire going overhead. Perhaps a third going a slightly different rout just incase.
You could do this without allowing the hashes to act as passwords directly by establishing a "skeleton key" approach:

WHERE user.password = hash(input) OR hash(user.password + skeleton_key) = input

If the police want to log into a user's account without their password, they combine the hash of their password with the skeleton key, hash that, and submit it as the password.

Of course, now you have to keep skeleton_key a secret. Presumably you wouldn't store it in the same database as the password hashes, so losing the database wouldn't immediately grant access to everyone's account.

I'm not claiming this is particularly secure. In fact, it's kind of the opposite: it's intentionally adding a back door to your authentication system. But at least it's a door rather than a gaping hole :)
Ok kadbid, I am intrigued. what's the story? Why didn't you make the transition to other languages? Why didn't you make the transition into management? I'm not questioning your decisions, just curious.
Create professional prototypes with this in less than an hour
Calibre is amazing for text only fiction book. It's completely useless for books with tables,graphs,equations...
not true
http://www.ingredientpairings.com/?i=sdfhgsfdh and if it was true it was scam anyway because would not suggest the correct ingredients.
Didn't know that about mp3 support; that's really good to hear. What about installing proprietary video drivers? Can that be done at install time too? Has maintaining up-to-date versions of these drivers become easier?

I admit ignorance--the last time I used Ubuntu regularly on the desktop was just before my first mac arrived in late 2006. I've toyed with it since then; but never gone through installation and configuration.
I've had it on my 'early stages ideas' board for a while for an app that suggests replacement ingredients, groups of ingredients, or techniques. I often have something in mind to cook and then realise at the last minute that I have no parsley, white pepper, lemon juice (etc). Any thoughts on that?
Indeed, it's achieved by adding webkit-specific

-webkit-transform: rotate(1deg)

CSS transform applied to the body element so it works on the desktop if you use Chrome or another webkit browser.

Not quite sure why they didn't use -moz-transform on Firefox (Gecko) browsers which works the same way.
Good to know - haven't kept up to date with the envelopes of current formats as it's been a long time since I have dealt with the nitty gritty of video formats. I believe WMV for example would fail.
What's wrong with the "cicada theory"

1. The most common cicadas come out every year or every other year.

2. The 17-year cicadas (for example) don't come out once every 17 years -- they come out every single year. Just in different broods (groups differing by phase). Some broods are much bigger than others of course, and broods are often located in different parts of the country, but many broods can and do overlap.

So I dunno. I'm guessing they're 13 and 17 year cicadas because that's how long it takes to develop.
Yes, close, but not exactly what I meant. The password would still be provided in plaintext upon registration, but the application would immediately hash and store it. Then the user can login with their password, which gets hashed and compared to the hashed password in the database. Alternatively the hash can be handed over if required and also used as the password since we also compare the unhashed input to the hashed stored password.
Ask HN: Y Combinator summer pre selection
Hi Guys.
YC isn't supposed to choose the teams that will be interviewed today? I've finger crossed since weeks now.
Is everyone will receive an email (even the ones that are not choosed) or if you don't get one then you're out of the course?
At Least you get a WORKING hard drive
check this http://www.walyou.com/img/fake-usb-flash-drive.jpg
Interesting choice of headline.
What knowledge about C do you think does someone miss when he is using C++?

I have made the experience that a good C++ developer also automatically knows everything about C.
While you still only get to upvote once, as I understand it, that vote counts more than once based on your karma.

Regardless, while you might get high karma values based only on article submissions, that isn't going to impress anybody. When PG is looking at your HN account, he's almost certainly looking for insightful comments, vs. just a high karma score.

It's really hard to farm out quality comments to somebody else, and have it matter at the same time.
Is this just an aftershock?
How often do you need something from the menu bar on a web browser? Very rarely is probably the answer. I think Chrome understood this, and optimized their interface around the features most commonly used. Screen real estate is as valuable as private islands, there's no reason to waste an inch at the top of the screen, when you can condense it to half an inch, and get the same functionality.
I had installed one of the numerous QR Code extensions for Chrome (press the button and it generates a QR code of the URL to continue reading on the phone). Unfortunately, I always wanted to send the URL to my phone _after_ losing wifi contact, so the image would fail to load. I was so annoyed that I downloaded the ZXing source and learned GWT so I could compile the QREncoder to Javascript for myself. This looks like a neater and more lightweight solution.
Epsilon Worries It May Lose Business After Major Data Breach
Page has been updated to 7.1

(EDIT : I see you updated the title. Also always good to see an earthquake magnitude overestimated)
On Implementing a Successful Application Security Program
Using coprime-length looping rhythms on top of each other can also create some pretty interesting sounds.

Take a rhythm in 4/4 (say a standard rock snare backbeat, playing on the second and fourth note of a four note bar), layer on a cymbal pattern which repeats every three notes, then a bass drum pattern which repeats every five notes. The effect is fairly subtle because the snare keeps everything sounding like 4/4, but the feel of the rhythm is constantly shifting.

I found a nice YouTube video demonstrating this a while back, but unfortunately all I can find now is videos of polyrhythms where the loops all have the same duration but different numbers of beats per duration... which is an interesting technique in and of itself :)
This is an old trick. Ebay is flooded with 16gb and 32gb flash sticks, SD, microSD chips that are only a few gb in reality. Complaints and warnings in the feedback forum go back for years.

They seem to format correctly but you have to copy that much in content to prove it's real.

Stick to newegg, etc. for that kind of purchase.
You ought to link to https://market.android.com/details?id=com.foodguts.flavor instead of market://
IPhone 5 timing irrelevant, it’s the platform
It's most certainly unwise to discard Microsoft like that.

Even if they give up making software, they can still be very annoying patent trolls.
Dell offers prefabricated chunks-o-cloud
It wraps it around to the beginning of the data area past a reserved MFT zone. It doesn't do it per-file unless it's both very clever and dependent on a certain file system.
Facebook Won't Become E-Commerce Force, Analyst Says
Sony denies PSP 2 setback
Right. It's a tie.

And TiVo doesn't have the excuse of telecom equipment regulations preventing user tweaking.
"Normal" window management is the reason I haven't jumped to Linux yet. The persistent muddle of window > application hierarchy is very annoying, especially for anyone who performs actions in headless GUI applications.

Apple's UI hierarchy is completely different that Windows and Gnome, this is why application commands are represented in the menu bar, which is separate from a single window.
> Now you know exactly how the code works (this is the method name, it returns a boolean)

No you don't. You know it returns something falsey e.g. nil.
This is sad, but I read recently that there is extremely heavy demand for Afghanistan opium and that the demand is driven by the Chinese market.
IBM paints the cloud-scape blue
The annoying thing is, I can't use LispWorks with an RDBMS unless I pay for the Enterprise Edition. So I can't even do a pilot project without it being "official" within the company. So there is zero possibility of a grassroots adoption happening.

Contrast this with Oracle. One of the most money-obsessed companies in the world, I'm sure we'd all agree. But you can download Oracle Enterprise Edition for free with zero fuss and kick the tyres. They don't care, no time limit or size limit or anything, until you go into production with it.
This is the perfect Hacker News article. I learned something new and mathematically-interesting about the natural world, the author came up with a clever hack to enliven backgrounds, and we learn how to apply that to improve our own designs.
Well, "Thundernuts" just sounds like a flattering nickname.
Only 90 days since xmas, everyone forgot about this already eh?

But wait 'til you experience it at the train or bus station, because that's already happening - the mainstream news just isn't covering it. Fondling is also now being done when you enter some courthouses now, the TSA set the standard and they immediately took advantage of that.

There were congressional hearings on this too, all aired for the public to see how concerned they were - absolutely nothing changed, in fact they only ordered more equipment despite being told not to by Congress.

What happened to their promised new review of the radiation from the scanners since they admitted they got it wrong? Or is that going to take a year to produce a "report".
"its only web example". It's means and can only ever ever mean "it is".
well you can install the app even if its not on marketplace ^_^
android ftw
pdftotext and pdftohtml are shipped with poppler, the de-facto PDF implementation on Linux systems today.
The open-source CL world has been slowly improving over the last several years. SBCL with CLSQL might work just fine for you.