skysight-inc/HackerNews huggingface dataset:
You're right, they do handle numbers of millions bits long and rather billions. But a 64-bit architecture allows the CPU's MDR datapath to read numbers only 64-bit long at once.

My question is: what about the case when the number is longer by one bit, let's say? What's the best/most efficient way to handle it?
I really like this idea, although I'd be unlikely to mark my availability often. Maybe have a 'get me a meeting now' button, which raises your availability until a meeting matches.
35 years roughly - started in Basic on a TRS-80 Level I.
Please do not upvote this.

If fluoride lowers IQ in children, then it would be difficult to reconcile the widespread use of fluoride (put in the water in many developed nations since the mid 20th Century) with the Flynn Effect, so this really needs wide confirmation before anyone should take it seriously.

http://en.wikipedia.org/wiki/Flynn_effect
Yes, the blockchain is globally appendable by anyone with Bitcoins. This is a feature, not a bug. Having it any other way would imply possible censorship.
Yep and it's one of the main reasons I pay $20 an instance per month instead of $5.

Sometimes you actually do get what you pay for.
Its different skills. I used to work on stuff I think is pretty "sexy" (software defined radios, networking algorithms, line rate packet analysis in high end network equipment), but I don't have the spatial skills at all to do web or GUI programming.

That said, it is a little unfortunate how the trend towards hyper specialization and buzzword of the day-ism discourages people from being what I consider "well read" in terms of CS education.
Each hex character represents 4 bits. That means that a 7 character string is 28 bits. That's about 268 million possibilities. On average, it would take around 134 million commits to get one that started with "badc0de".
- Browser plugin that lets you have private group conversations around other peoples' posts. Pure evil, I won't do it due to pesky ethics. (Think "people gossiping about how ugly someone is in their selfie behind their back" as primary use case.) UX would be injecting thread inline on major sites, first would obv be Facebook.

- Better wedding planning software

- Tool to go through LinkedIn "Who You Might Know" recommendations to assist in job hunt
I'm working on this - obviously there are licensing issues with books, but my idea is to have students keep notes online, and then have those documents available to everyone.

I'd love to hear any more ideas you have about this.
Learned to program as junior in high school 40 years ago on a teletype over a modem in basic and a fortran interpreter. Coding is both faster and more interesting today while simultaneously being orders of magnitude more complex and what is expected.
The key here is that no one was banned in the OP pull request. Naftoli was banned almost a year ago for matters entirely unrelated to this particular pull request (as seen in the gp thread), and it is perfectly reasonable that a pull request be closed once a person has been banned simply because it was opened by that person. Otherwise a ban is meaningless.

As a committer, I've seen the original interactions that David refers to in that public ML thread in the private committers list, and the reactions are reasonable. Naftoli contributed good code, but bad karma. David is less tolerant of that than other maintainers might be, but every person varies in their tolerance of such things, and the result is indeed a more harmonious community.

You can see my own full response to the original ban and its reasoning as the second to last post in the thread posted by gp.
For blind people, they must make a sound that person recognises as a car. So they can't download their favourite bands latest single.

From the article:

> MEPs agreed that in future the vehicles must be fitted with devices to make them "sound similar" to cars with combustion engines.

So you'll have a limited choice to choose from.

But personally I'm hoping they can make them a bit less rough and more of that smooth "Hummmm" you associate with luxury cars.
We have a product that has a C# web app deployed via mono on a linux box commercially shipping for four years. What I found was that with mono 2.10.6 it was fine as long as it was not loaded heavily, but under stress it would have stability issues. The socket layer was rewritten since then however and I've had less issues with 2.10.8/9 but still fails under heavy load. More fixes have gone into mono 3. My sense is that it's getting better but not nearly as battle tested compared to JVM-based network stacks. So if I was coding a large scale web service I'd consider Scala first.
The trouble with software is that, of all industries, it has the lowest barrier to entry and the lowest capital costs. Crucially, the marginal cost of deploying software across the globe is next to nothing. This is why the Microsoft stack is so dominant worldwide. It was so easy to export when it had a monopoly in the US, that Microsoft had nothing to lose and everything to gain by spreading its products across the globe.

African countries are not the only nations lacking in indigenous technical solutions. A place like Canada has over the years lost all of its comparative advantage in the technology sector to massive US companies.

One of the many consequences of "free trade".
In one scenario, the process writes "Out of memory." or similar to stderr. In the other, it segfaults. Maybe.

I'll take the clear error message.
Amazon uses HMAC authentication because their API supports delegation: the owner of an API resource can craft HTTP URLs that non-owners can use to access the resource in limited ways.

Amazon's API thus needs the ability to create links with built-in integrity checks.

But that feature is a complication. If you don't need it, you should avoid it (for almost all APIs, YAGNI).

Furthermore, if you pay close attention to Amazon's own APIs, you'll see that they got bit for doing this: the canonicalization step they used to make semantically equivalent URLs share the same MAC was vulnerable to an attack that they later had to fix.

Using a library HMAC helps you here; at least you're not doing what Flickr did, and crafting your own hash MAC that Thai Duong will later document to be terribly vulnerable. But you still need to make sure that your HMAC library isn't timeable, and you'll also need to make sure that there aren't type confusion bugs that will make invalid HMACs compare true (I don't know what language you're using).

I'd avoid this altogether and just issue 128+-bit API secrets, like most APIs do.
the point seems to be to have your handwritten notes uploaded automatically. that's the product.
> In the talk about git in 2007, Linus said something about git being secure — that if someone would attempt to alter git history (as in attack that happened at Linux repo before), it would be instantly noticed because of hashes.

> Does this mean that compromising someone's git repo without anyone noticing can actually be done?

No. Brute forcing 4 bytes of the commit hash is something different than brute forcing 20 bytes. Because you know, exponentials.

By the way. That's pretty much what you're doing when you're mining bitcoin.

Edit: added parents comment, because deleted and i see no reason to delete this, others might ask the same question.
1977. 2nd grade at Lucille M. Nixon Elementary School in Palo Alto. We had a class where we learned how to program in BASIC on the school district's HP2000 mainframe. I loved it. Within a few months I knew more about programming than the instructor. Two years later I wrote my own bulletin board software in assembly language on a CompuPro that my dad and I bought at a swap meet. Then I hit puberty. In those days it wasn't ok for girls to be nerdy and play with computers. I succumbed to peer pressure. Eventually I went on to a career in biology. Knowing how to program has served me well, but it never became a career. I sometimes wonder how things might have turned out if I had been born 20-30 years later.
this is probably a core use case for smartwatches. i'd probably lift with a smartwatch on.
They are not efficient in a car which is constantly stopping and starting. If they can run at a constant speed (e.g. driving a generator, propelling an aircraft in cruise) they can be much more efficient.
In Greece PhD level programmers make from 25-35 EUR[1]. It's abotu 26,5k with taxes paid. It's extremely bad, but that's the Greek reality apparently and Greece (was supposed to be) in Europe last time I checked. A normal BSc programmer is around 1,5k/month. You get the (sad) picture...

[1] http://www.dotnetzone.gr/cs/forums/thread/34443.aspx
Teaching Devina to Code
Thanks. I guess I just got so accustomed to working with shortened commit hashes in source control that I almost forgot that they have full versions.
> A way to submit any legal document, and for a fee have it returned but explained in plain english.

SNARK: I understood this to be called a "lawyer".

NOT SNARK: Legal language is so recondite, complex, and heavily dependent on external dependencies defined elsewhere, that short of very smart AGI I despair of there ever being a programmatic way to translate between legalese and plain language with any hope of maintaining fidelity -- and, given the import which legal documents tend to have, a bad translation may well be worse than none at all.
What type of work were they doing? Because even in the dirt cheap, cut throat markets of sites like vworker and odesk, a good web developer can make significantly more than that.
There is an app called Hopscotch for the iPad which is of similar structure to scratch. I can't recommend scratch highly enough, the kids at my local coderdojo really do some great stuff with it.
Scalable program architectures
Taste doesnt matter for small things that only effect the individual in an isolated way.. like coffee.
For bigger issues/world views etc... taste is everything.. you cant live or be with people who repulse your tastes.
Pulling Back the Curtain on the ‘Magic’ of the Internet
From the Wikipedia article [1] on the Pakistan drone attacks:

The Peshawar High Court has ruled that the attacks are illegal,
inhumane, violate the UN charter on human rights and constitute
a war crime. The Obama administration disagrees, contending
that the attacks do not violate international law and that the
method of attack is precise and effective.

How preposterous.

[1]:http://en.wikipedia.org/wiki/Drone_attacks_in_Pakistan
Gmail IMAP's IDLE support is broken (probably intentionally). It will report new messages, but it won't report changes to the number of unread messages (or which messages).

This means your clients don't automatically update read message stats, which is a pain (most surprising thing I noticed moving to Gmail from hosting IMAP on my home server).
I think http://luzme.com/ can do this? Not sure if it's E-book only tho
Whatever is already rising when the Fed is inflating gets the most bubbly. Sectors that have been dropping don't attract speculators as readily.

Tech has been rising and is dominate in this area of the country. Its also a good place to buy if your trying to move wealth out of China. A lot of other places in the US are less appealing to both tech and to Asia.

The activities of the Fed are not the only relevant factor. San Francisco is a tight space and its a great place to be. These are pre-existing conditions that make it more susceptible to the effects of asset inflation.
I don't understand this question. Isn't the answer you're looking for just "use a bignum library"?
Seems a little silly to bury it because you don't agree with it.

I don't agree with it, but felt it was worth discussing here. I am interested in what other HNers have to say.
If you're wondering how he did it, Brad wrote a tool called 'gitbrute'[1] that (as the name suggests) brute-forces the prefix of the hash to whatever you like.

[1]: https://github.com/bradfitz/gitbrute
First of, congrats. Out of curiosity, what technologies are you paid to use? Rails/ObjC (ios)?

Junior 17k in Italy? That sounds a little bit wild...

NOTE: Sorry, I understood 17k per MONTH. Scratch the comment (keep the congrats! :-P )
> "Hacker News" doesn't allow even basic HTML?

I think that's to try to keep the focus on content rather than presentation, and also because parsing user-submitted HTML to pick out the safe bits is a pain in the neck. If you absolutely need presentation features you can't get on HN, then turn your comment into a blog post or a webpage and link to it from here. (But you probably don't need those features, and HN's formatter is easy to get used to.)
Folly does take advantage of jemalloc to expand allocations in-place when possible, but afaik it doesn't do the more extreme optimization mentioned in the article where pages are moved to a different virtual address without actually paging into memory.

Sized deallocation made it into C++14.
That particular feature sounds awesome — but there's nothing about it on the language's front page; may be you have a link to an article or blog post about it? Sorry for asking, but my google-fu seems weak today.
I guess this is sarcasm. Wayland started in 2008.,yup, its like 6 years old and we still don't have it adopted enough for general use.
Kinda surprised seeing this here. I made this project 2 years ago and haven't updated it since. It was an interesting proof of concept, but I only took it far enough to run a couple of my games. The only takeaway was that I was really disappointed with the performance of native client OpenGL.

The modern version of Love supports OpenGL ES though so a rewrite like this isn't required, a better approach would just be to try to compile Love.

If you want to see more cool stuff I've done with Lua:

Moonscript: http://moonscript.org

Lapis: http://leafo.net/lapis
The reason is that C# is a better language than Java, so there is less pain and less reasons to move away to a newer language.
I'm not sure you know what you're talking about, 17k in Italy as junior-anything, is EXTREMELY well!
I'm not a fan of any post that advocates that users break the law or cause harm to other people, but a bright-line rule might be "you'd flag a piece that misled readers into thinking some action was safe or harmless that would actually expose them to liability".
Yes and no, corporate politics is a minefield and often subtle.
I think they mean that without their employers, they would get what their work is worth.

Of course, that's easy enough to prove. But these sort are usually afraid to try and prove it. They want everything arranged for them and someone else to bear all the risk.
Something like a Yubikey but:

1) with a battery or supercapacitor or something, so it can have a proper real time clock

2) with a much much better website. Yubikey needs to split the site into Enterprise users, individual users, and developers. The documentation for enterprise and individuals needs ro be much shorter and easier to understand. The documentation for developers should be as good as possible, including permissively licensed sample code in sensible languages.

I really hate the current password set up.

I want to carry my token with me and use that, and a passphrase, to unlock everything. Log into my computer, decrypt the drive, open email, perform root level actions, etc etc. i want it to work on my windows, linux, and max OSs. Across browsers. Etc.
Fair warning, I'm kind of a sarcastic person, and most of my ideas tend to reflect that...

If you actually want to work on one of these, go for it! Just please let me know as I'd like to hear about it (and if you'd like, maybe help out where I can). Contact details in my profile page.

My three latest ideas with variations:

#1: Kitty cooker social game (please don't actually build this): Basically Cow Clicker meets prisoner's dilemma. Everyone gets a cute little kitten. In order to earn in-game currency (find a synonym for "cat poop" for a currency name, please), you must cook your friends' kittens. Your friends cannot cook your kitten if you have cooked theirs first. If all of your friends decide to abstain from kitten cooking for the day - you either all get gold, or all of your kitties get cooked anyway. In game currency can be used to buy cat clothes, cooking paraphernalia, recipes, etc. Recipes are a tradable item, effect earnings, might cost resources to use, and have a "cool down" period. Variant: Puppy kicker.

#2: A toolbox of satirical marriage help apps. I really don't have a lot of tool candidates, but they're easy to think up. For instance, "argument score keeper."

#3: Rent-a-sheep (name taken, needs something else): Presale of wool from individual New Zealand sheep. I live in New Zealand. There are lots of sheep here. Imagine a site where the landing page is a paddock of little fluffy sheep trotting around (SouthPark style animation, maybe?). When you click on a sheep, up pops a bio showing a photo of an actual sheep, from an actual farm in New Zealand. For a fee, you can "rent" this sheep, thereby receiving its wool production from that year. In the mean time, you'll get little auto-generated notifications about your sheep, perhaps including photos. You should also be able to choose how the wool is processed. That is, scouring, dying, spinning. All to be done in small batches.

Much easier variant: Small-batch customized supply chain for New Zealand yarn sold to yarn stores in the USA (aka create your store's own brand of yarn). Interface looks a bit like a slot machine - choose type of wool, then choose scourer/washer, then choose either/both dying service and spinning service.

Both variants should be very "connection" focused. That is, if you're renting a sheep, the site should do everything in its power to make you feel a connection with that sheep. If you're a yarn store owner, you should know a bit about the people who are performing each of the services, and you should hopefully have a window into how they're processing your yarn.
Basic auth in Clojure
There's the excellent https://github.com/epantry/django-sql-explorer if you're running a Django app.
Perhaps my point wasn't very clear. I didn't mean that a computer won't be able to compute the value of 2^64 or 2^128 or 2^x.

In a 64-bit architecture, the data bus or datapath width will be 64-bit long. That is, we only have 2^64 unique numbers to pass in the CPU at a time. What's the best to do when we need more unique figures? Use unsigned integers, for instance?

2^64 is the number of combinations not the the maximum number itself.
34 years.

I learned to program by reading every page of every BYTE magazine, as they arrived at my local library. Then my junior-high school principal noticed this, and gave all of his, so I could take them home to read. These issues were roughly the size of a telephone book ^w^w four iPads and featured glorious art by Robert Tinney [1].

[1] https://www.google.com/search?q=robert+tinney
Here's a patch I submitted purely for discussion to add a feature to
Git to allow for vanity commit hashes back in 2011, it generated some
interesting discussion:
http://lists-archives.com/git/756392-choosing-the-sha1-prefi...

Unlike the linked it didn't alter the commit date, but altered the Git
code itself to add a new custom header to the commit object.

Git handles custom headers just fine since it ignores unknown headers
for future compatibility. This commit still lives in the main Git repo
at work without any issues:

commit 313375d995e6f8b7773c6ed1ee165e5a9e15690b
tree c9bebc99c05dfe61cccf02ebdf442945c8ff8b3c
parent 0dce2d45a79d26a593f0e12301cdfeb7eb23c17a
author Ævar Arnfjörð Bjarmason <avar@booking.com> 1319042708 +0200
committer Ævar Arnfjörð Bjarmason <avar@booking.com> 1319042708 +0200
lulz 697889
Actually it's PIIGS you add Ireland to the mix and you're right.
> Cost of living is huge factor when taking into account salary and location.

To add to this comment, I live in Silicon Valley, and spend ~20k/yr on rent alone, for a 600 sq. ft. apartment. I'm also not in the worst areas, price-wise. Of course, salaries tend to be higher here.
At the scale of DigitalOcean (~10k physical nodes), Amazon (>250k physical nodes) or Google this seems wholly unreasonable, there's a definite signal to noise ratio issue because there will be hundreds of failures per day in any large infrastructure, some of which will have customer impact (ranging from minor to major). It's a statistical reality.

A lot of the other suggestions seem to centre around extending your status page to be more personal to the end user, this is (to some extent) the route Amazon AWS has taken in allowing you to see which instances are scheduled for retirement (because they lack live migration capability, a la GCE), etc.

I note that Amazon now sends out maintenance e-mails advising when certain IPsec connections will go down for them to perform upgrades, this is also great, and others should copy.

This leaves the 'globally visible' bit (i.e. http://status.aws.amazon.com/) for critical outages affecting a large proportion of your customers.
Kind of. I'm looking for a manual and efficient implementation to handle that <=> The speed of arithmetic IS a limiting factor here.
The button should just say "Get now"
they are doing basic programming and database work for small banks and businesses. The thing that is important that he said is...

>Add to that, a good number of African countries have been blacklisted from PayPal.

I actually tried to set some friends up doing work on odesk and elancer. It is simply not possible this part of the world(west africa, cote d'ivoire, ghana, togo, benin, nigeria) is basically cut off from international money transfers unless you are part of a high income elite that qualifies for real banking. So they could do work, but would never be able to get the money.
Ask HN: I'm given the choice to be a C#/.NET dev or Ruby Dev
Hello HN,

I'm given the choice to learn and become a C#/.Net developer with a company that is now shifting towards that. Or do I keep on doing Ruby and go with a company I recently got an offer with. The only reason why I'm thinking about leaving my current company is because they are going back towards .Net besides staying with open source. Some things that I'm afraid of are C# devs seem to have more shelf life and program more in their later years than Ruby devs. Also I'm concerned about the future of Ruby. I know that I have to learn another language but I would prefer to stick with Unix or Linux besides programming with Visual Studio/Windows.
It depends on your recovery strategy. If your response to a `realloc()` failure is going to be to terminate the program, then you might as well assign the result back to the original pointer. If you're going to continue executing without allocating the extra memory, then yes, you need to assign the result to a separate pointer.
I read my first programming book almost 48 years ago. It was a programmed instruction text teaching machine language programming. Of course, it was another four years before I could actually run a program on a real computer (a Burroughs B5500 mainframe at UCSD).
Very cool hack! I would never have thought about implementing each command ("open the garage") with a specifically named app ("the garage"). I guess it'll work until you already have a (real) app called like the thing you want to open :)

An easiest way would have been to use Wit.AI API [1](disclaimer: Wit team member here). You can create any command in minutes and use any device capable to stream audio to the API (including your iPhone) as client. I'd be interested to have your feedback if you have time to check it out!

[1] https://wit.ai/blog/2014/02/12/speech-api
The CTO of Forum One (DC agency) has a BA in philosophy.
I wonder if creating the environment is enough. The thing that valley has and you can't find around is investors: From seed money to angels. Every region has 2 or 3 but that's about it. The culture is different and you can't change that overnight. Not to mention that Europeans are way more skeptical/prudent when it comes investments anyway compared to USA.