skysight-inc/HackerNews huggingface dataset:
It's not exactly rocket science, here's a simplified explanation (minus some subtleties):

You're trying to calculate n/d (and the result should be rounded off to the nearest integer[1]). Division is expensive, but you observe that you can divide by a power of 2 cheaply using a shift instruction, so you decide to transform the calculation into something of the form (n * d')/(2^N), which is a multiply and a shift-right instruction. For the two forms to be equivalent, d' = 2^N / d, which you precompute.

Certain values of N can be more convenient from a computational point of view - for example, multiplying 2 32-bit integers yields a 64-bit result; on most architectures, the high and low halves either land in separate 32-bit registers, or you have to calculate each half with a separate instruction. So if you choose N=32, you don't even need a shift instruction: you simply drop the low bits.

You also need to make sure you choose your d' such that your rounding will be correct for all values of n.

Depending on the exact value of d', it may also be possible to decompose the multiplication further, leaving only shifts and additions/subtractions.

[1] Of course, for floating-point numbers, you can just calculate 1/d, save it and multiply by it any time you need to divide by d.
Now I know what you're paying for when you buy Oracle's database products.
It's probably fine as long as you stick to mainly cloning the idea or functionality, ideally perhaps modifying or extending it to fit your understanding of the local market.

The main place people go wrong is also cloning the look-and-feel, or making the name be an obvious pun/derivative/translation of the original. Not only for legal reasons (though it matters for those too), but it can make the clone feel too derivative, like it's a generic-brand knockoff instead of a product in its own right.
[In that case There is always have a need of trust there, and certainly anyone who understands what reverse engineering a dongle entails also understands why the alternatives are equally vulnerable to fraud.Fraud may occur in that case so be careful.](http://www.soswaterdamage.com)
A Conference Keen on Finding Open Communication
LOL! That's pretty cool, 'Google Pokemon'.
I just pulled from here, no idea if there's something more accurate: http://en.wikipedia.org/wiki/Long_integer
Hmmm, it wasn't until almost 20 years after I had started programming that I could make solid "off the top of my head" estimates (by the end of the project (C++ multithreading server), per item I was accurate within 30 minutes).

I think it's both a matter of experience including some on the particular project and eliminating the unknown unknowns. Doing the latter is my first priority in a project, e.g. by getting something working end to end ASAP.

Also, to avoid the "working extra hard" trap (what, you aren't already working as hard as it makes sense???), you must always make the estimates in man-hours, not The Mythical Man Month. Then and only then should someone try to turn that into a calendar schedule, allowing for inevitable downtime and so on.
Ego.
Starship pilots: speed kills, especially warp speed
Nice. I've been wondering how graphviz stuff has been going... I pulled the source a while ago and nearly ran screaming o_O This is a lot smaller & cleaner.

On a side note, anyone know a good source to learn how to port graphviz? Or, what parts are relevant and what aren't? Though I suppose this serves as a starting point.
The article indicates that his number was stolen from a well known and generally believed safe online retailer. Someone else was stupid enough to get his number stolen. His savvy-ness is irrelevant.
What happened to Coleridge wasn't "dump shock" (or DumpShock in the UglyWiki convention that makes every linked term look like something from a made-up language pronounced by Comic Book Guy). He had his mellow harshed.

Coleridge claimed that the poem was inspired by an opium-induced dream (implicit in the poem's subtitle A Vision in a Dream) but that the composition was interrupted by a person from Porlock

http://en.wikipedia.org/wiki/Kubla_Khan
I'm looking into implementing that (I mean, I need to get my own policies in place; that just seems like the way to do it.) If others are interested, email me.
That's like saying that people declaring not guilty of a crime they haven't done are equally as criminal as those declaring guilty.

Your argument is at best polemic.

The reasons why I don't believe in a good have nothing to do with me living by the doctrine of not believing in god as there is no doctrine for not believing in god.

I might believe in things that are not provable up front (such as making it safe from destination a - b)

But the big difference is that claims made about religion and god can't be tested. And this leaves them in the same pile of fiction as harry potter, lord of the rings and so on.

All very amusing but fundamentally as relevant and testable as whether mice are really running the planet.
Sorry, I misread comment. Long ints have a 4-byte minimum, plaint ints have a 2-byte minimum.
I didn't actually expect this to get posted. I assumed it had been posted to HN already, but I wanted to see what the discussion was (when you post an already posted link, you get taken to the comments page for that link).
Facebook hit with class action over privacy changes
You've got a good point here: tumblr violated that trust it had with its users. I think we'll become a bit more careful as a result (tho, maybe fortunately, not everyone reads HackerNews) but more powerful than that, I think we ought to champion the companies that aren't doing this so users can make informed decisions about which service they'll use.

But surely the majority of people uploading to YouTube, tagging their facebook photos, or tweeting about their breakfast aren't thinking about who owns that content or what rights they have to it. Should they? Absolutely. But how to raise that level of awareness?

This is the real story here (not about any individual - myself included - who is making a fuss over losing a username/subdomain from a free service they're using).
Part of the problem is that most people think they know what their website should look like and nothing you say will change their mind.
Schmidt developers inside and outside of Google to "work on mobile first"
Again it's pure polemic rhetoric.

By this thinking you are basically saying that by dismissing any superstitious belief you are religious.

So if you dismiss Santa Claus even though we can't know for sure whether he exist then you are being religious.

So those who are told to only have one god and one belief system are daily breaking the very laws they try to uphold.

Not believing in the existence of god have nothing to do with being fundamental religious. It's a weak and sad attempt to divert the argument.

We all believe in something, the difference is what we believe in and why. THAT is the question.
Cisco Confusion
No doubt all true, but the points are:

1. The Enterprise et al don't approach the speed of light, they travel in sub-space (whatever that is)

2. They have a deflector dish that deals with "stuff that's in the way"

I'm pretty sure the writers in later series more-or-less knew these points, and they're pretty obvious. After all, ride your bicycle really, really fast in the rain and the drops hitting your face hurt.
I interviewed with Google for a C/C++ job in the team that runs Google Translate and wasn't asked any puzzles or riddles. They asked me to solve some programming questions -- how would you approach sorting a data set too large to fit in memory, using 4 computers -- describe an algorithm for doing this or that -- etc.
http://www.philosophicalsociety.com/Archives/A%20Free%20Man%...
:) thanks
The exact same thing happens to me. (bilingual German/English) Switching languages mid-sentence is no problem, but switching language and medium just doesn't work.
Why did banks loan to Greece?
INDYCAR: Luczo Dragon – De Ferran Motorsports Telecon | F1 Live Streaming
I get the same thing when I really focus on Japanese (still learning, so gotta work pretty hard to catch what I can). English comes up, and my brain just gives up and says "screw it". I hear similar to what you type (though I think typing it is more funny, and I wish I did too). When reading a good book, though, it seems my language section just shuts down completely, and it takes a few moments to realize that someone just said words, though I have no hope of recalling them.

Linguistic "dump shocks" are funky. The term seems fitting. Though maybe "core dump" works better in some cases, as seemingly random things come out.
3G demand expanding too fast for networks
Yes, thank you! I've wanted this for a long time, just didn't get to creating it myself.
Yeah, that blew me away. How often do you see schematics for ANYTHING anymore, much less a TV?

Most appliances still include a basic wiring diagram (helped me find a corroded connector in my fridge once), but the circuit boards are usually not diagrammed out.
Great! Sign me up - I'd love to see codified and prominently on reddit. And while I'm at it, I'm going to register a few Hacker News usernames... let's see... Microsoft, Apple, Pitchfork...

update: Breadpig has just registered UniversalAUP.com, .net, and .org that I'll donate to wherever we can get this online.
In college, I had the same professor for Spanish and German. (In the same room, too!) Every once in a while, I would accidentally mix up the vocabularies. My professor's mind locked up for a second before he switched gears, realized I was talking in the wrong language, and then switched back.
Heard about this plugin on last weeks jQuery Podcast.
This item is much better. Photos, more descriptions, more text, just, generally better.

http://news.ycombinator.com/item?id=1125346
How to analyse an OSS business model – part one
SeedStart NYC
With regards to agnosticism.

We exactly don't know whether there is a god or not, but choosing to believe there is one despite there being no evidence for this is by no metrics the same as saying I don't believe in it cause there is no evidence.

You can't be an agnostic. You either "live with god" in your life or you don't.

You can have an agnostic point of view on whether the question is answerable or not.

You can't both live with a belief in god and without one.

You can't both follow the laws of a religion and not follow them.

With regards to the cultural heritage then again you are simply assuming the conclusion.

The reasons why we have morals and ethics are NOT because we have religion.

Human reality is the fundamental reason why we have rules. Religion sits on top of these rules and pretend to tell us WHY we should believe (gods wrath and vengange being one of them)

But you don't need religion to make rules for peaceful co-existence and that is what people fundamentally want.
What's the typical Visa and MasterCard vig these days? Isn't it around 2.5%?
What is Computer Science?
Exactly. 2.9% is very high for card-present transactions where the risk of fraud is lower and 1.9% is more normal. The extra 1% will cover a lot of fraud/chargebacks.
I'm shocked it doesn't happen more often.

Ditto. For instance, someone should clone Nico Nico Douga:

http://www.nicovideo.jp/

http://en.wikipedia.org/wiki/Nico_Nico_Douga
Elements of viral calls to action
How Intel Manages 100,000 Servers
You're Entitled to Arguments, But Not (That Particular) Proof
That turns out not to be the case. Binary search doesn't help, binary doubling doesn't help, even though these are often thought to be the best. Indeed, the solution given on this site used binary doubling and claimed it to be optimal. It was wrong. It was posted here some time ago.

The solution, once found, is simple to prove optimal, but most people don't seem to know how to do that.

Most people don't find it.
Visa and Mastercard charge merchant account providers a set percentage (called interchange) and then the providers mark up from there. Interchange is different for every industry because of varying fraud and chargeback rates. Also consider the risk of card present versus card not present (or ecommerce). So I guess this is a long way of saying it depends. For card present situations like Square will always be, you can get an account under 2% if you are in a low risk industry and hammer your sales agent.
that's the same as flattr, right?
I had a lot of investment of time in learning Oracle database and tools. I made an XL freeware addon which accessed Oracle database using OO4O, built an application using Oracle designer CASE tool, learned PLSQL in detail (and built SQL Plus Plus).

But the feeling of being controlled by a big corp was so strong that finally I left Oracle world and embraced open source; Perl, PostgreSQL.

I can now build better solutions in less time and still find time to browse HN many times a day.

My customers were few small to medium sized businesses so I could dictate technology.
Kids in 10 years are going to have awesome toys... I am jealous. I wonder if this can be scaled it, its performance is very impressive.
Google Donates $2 Million To Wikimedia Foundation
Great idea, but as I suggested on your website, you should have a favicon. It's part of the identity of a website. If you don't have it, it feels like something is missing.
Exactly. And, most people who seriously think about extraterrestrial interstellar travel think in terms of folding space by manipulating the fabric of spacetime rather than brute-forcing your way through at relativistic speeds. The latter seems clearly unattainable, while the former is simply unknown.
At a guess, they're trying to make it up in volume.

If you're a merchant bank, the smallest thing you can profitably target is a small business, so even a handful of significant bad accounts will do bad things to your bottom line.

Assuming that the potential customers of this service are not trying to commit fraud, and that each one of those customers is doing a relatively low amount of transactions, Square could put this device in the hands of enough people that the aggregate chargeback percentage would still be low enough to be profitable.
Mysteries within the obvious, Language the Code for our Minds
I find this interesting not so much because of the budgeting features but because you don't have to give your personal info to the charities. I don't like giving to a charity and then finding myself on their mailing lists for the next 5 years. Even worse is when they sell your info on their mailing list -- it isn't always easy to find out how to get off that stuff. I've been thinking for a while that someone should build an app to mediate between charities and donors for this reason.

An added benefit is that they can give you a single statement for your taxes. I assume that, from the IRS's perspective, you are just giving to givv.org, a non-profit.
Drop me an email, check out my profile ;)
Google’s headcount shrunk in 2009
War game reveals U.S. lacks cyber-crisis skills
Should be a fun read. And the local overrides of high level programming I suggest is likely already implemented somewhere I haven't seen. I'm excited about this concept though. Personalized code/meaning.
I am interested to see how Adria (chefs in general) don't feel a need to "protect" their techniques but are instead inviting in others to learn and reuse their discoveries.

Sounds like "open source" to me.
Steps to order a term paper online
If you have been doing essay writing for quite some time it can become really tiring and take time and you may find yourself looking for a solution that is easy. You may think that if you buy a term paper online then it will be the simplest solution that is available to you.
Nevada payday loans utah cash advance
Make today your payday by getting a cash advance loan from USA Cash Services. If you need money fast then, you you've come to the right place.
Wait, I'm confused ...

"For a crew to make the 50,000-light-year journey to the centre of the Milky Way within 10 years, they would have to travel at 99.999998 per cent the speed of light."

If a light-year is the distance light travels in a year, and the center of the galaxy is 50,000 of them away, then how are you supposed to get there in 10 years by traveling "at 99.999998 per cent the speed of light?" 10 years at the speed of light will take you 10 light-years, not 50,000.

Am I missing something?
I hate the term 'computer science'. There's no science in computer science, as the article says, it's a branch of mathematics.
"Isn't that a serious plot hole?"

"Oh, no problem, one line of dialoge will solve that problem: 'It works because of our so-we-don't-die-a-horrbile-death-thingie!'"

(A necessary plot device in every science-fiction story, but please don't overuse it :-)
nice idea. I specially like the sugestions made by the chatbot based on keywords.
Thanks! That link says it pretty clear: In particular, an ephemeron can be combined with a weak hash table (see Hash Tables) to produce a mapping where the memory manager can reclaim key–value pairs even when the value refers to the key.
http://en.wikipedia.org/wiki/Time_dilation#Time_dilation_and...
It depends on which frame of reference you're measuring from.
Motorola Backflip put through its paces at MWC
Climategate 2.0: A peek at a FOIA dump from NASA and its GISS
I assumed the claim was being made from one external to the spacecraft.
I believe the inertial dampeners also prevent the crew from being squashed against the bulkheads.
Ah, I see, and suspected something like this implicit in the claim. Duh.

I haven't done the math, but is it really possible for time dilation at or around the speed of light to have the effect of compressing 50,000 years into 10? That's a difference of 5,000 times.

By "possible" I mean "as the theory would prescribe," of course...
It is not mathematics. Its an art.
Oxyfit: Get high on oxygen while you work out
PHP and Perl crashing the enterprise party
Linus Torvalds - Advanced Git Tutorial (Linux Plumbers Conference 2009 video)
Administration
On Administration.com we got all the information you need about administration schools and MBA's. Looking for a job in administration? Look no further!
Computer science is called "Informatik" in German. (French: "Informatique", Russian: "Информатика")
Clojure for Ruby Programmers - Confreaks: RubyConf 2009
So where the hell is ClearCase?

Try to google 'hate ClearCase', alas, it's not that bad. Just expensive as hell, requires iron to run the reservation system of a major car rental company and a couple dozen adminsitrators to keep it running. This is not much of an exaggeration.
True. When I lived in France it was l'informatique.
As an aside, Ridiculous Fish, apart from the excellent name, is one of the best blogs I know - interesting topics, good scientific method proving his conclusions, and a great writing style. I wish he posted more.
Did these guys ever even watch an episode of Star Trek!?

If you're going to nit-pick the physics of a fictional tv show, at least watch a little of it and try to grok a bit of the fictional technology they claim to employ.
Fix battered state finances with No Fax Payday Loans
Upvoted for coolest name I recognised off the bat without having to Google it first :)

(I'm assuming this is named for Leiningen Vs The Ants)
Yea, I posted on the answer page for this. Giving your "2nd in command" (pirate 4) zero gold is foolish if your prime objective is to not die.

Humans, especially Pirates don't care about maths in these kind of scenarios, zero gold would be considered an insult.
I don't know, but the Wikipedia article claims that "a constant 1 g acceleration would permit humans to travel as far as light has been able to travel since the big bang (some 13.7 billion light years)".

So I would guess, hell, yes!

(I recommend "The Forever War" by Joe Haldeman for serious time dilation fun.)
Yes, it is. At light speed, time dilation brings the high-speed observer to see the trip as instantaneous : http://en.wikipedia.org/wiki/File:Time_dilation.svg

You can choose ANY time dilation factor and determine a velocity accordingly, because the graph is asymptotic and continuous.

[EDIT: I mean, obviously, the whole thing breaks down with an observer actually AT light speed; assume above that I'm talking about taking limits of the Lorentz factor as velocity approaches 1]
This seems more like an artifact of 1970s programming to me; the fact that allegedly-modern languages still offer numeric types which differ only by the range of numbers they can represent is just plain nasty, and makes me happy that I use a language which doesn't make me worry about this when I want to work with numeric types.
A solution could be to use a black hole powered starship that uses a parabolic reflector to protect against radiation ( http://news.ycombinator.com/item?id=969794 - The Physics of Building a Black Hole Powered Starship [pdf] ).
Not only that, but you could go 2M ly in less than 30 years (ship time), at 1g acceleration. http://math.ucr.edu/home/baez/physics/Relativity/SR/rocket.h... for more.
Did Google Buzz break wiretap laws?
Consider this. It is impossible for matter to travel at the speed of light, yes? However, imagine a cannon on a train travelling (speed_of_light - 10 MPH). The cannon shoots a cannonball at 210 MPH. So when the cannon fires, you'd expect the cannonball to go (speed_of_light + 200 MPH), right? Well, no... matter cannot exceed the speed of light. What actually happens (afaik) is time itself is altered as one approaches the speed of light. So the closer you are to the speed of light, the more time is altered.

I don't know any of the details though.
There is a book that has some of the same questions, and a lot more. It's "How would you move Mount Fuji" by William Poundstone (http://www.amazon.com/Would-Move-Mount-Microsofts-Puzzle/dp/...). As stated in some of the comments already posted, asking this kind of questions in interviews is by now "deprecated" (or even "considered harmful"), because they are in the public domain.
Security bug opens Google Buzz to hackers
Javascript Pacman
Overall good idea, but I'd say: obviously I wouldn't use this for my regular feeds, only for some specific ones for which I want live notifications. So maybe some basic filtering options would be good (by keyword, by author...).

(Or maybe it's implied people would use existing services for filtering?)
But what about those that use debit cards. Not the same protection, and much more chance for harm.
I cannot tell you divisive that clock is. It's a constant topic for internal discussion; personally I hate it. I can't even read an analog clock.
I'm really happy about that, but I wanted to point out it's not completely disinterested - Wikipedia is the top search result for an absurd amount of queries, so Google benefits from its continued existence (not to mention it's aligned with their stated goal).

Edit: Someone posted in the original article about similar grants - http://en.wikipedia.org/wiki/Wikimedia_Foundation#Grants , including a recent $2 million potential "grant" funding from the Omidyar Network.
Space Invaders Enterprise Edition
You're confusing computer science and computer programming.
OpenSolaris: Oracle, where art thou?
Oh, and having tried it a bit with a twitter search feed, maybe you could have some options for formatting too (with replacements like %t for title, %u for url etc.).

(But of course both these suggestions break the simplicity of it, which has its appeal.)

EDIT: also, I'd add the basic instructions (STOP, START etc.) at the bottom of the front page.
Symbolics Lispm Document Archive
Your argument is all over the place to the point of trolling.

Oracle (and MSFT to a much lesser degree) open source software they've written as well as contribute to existing projects.

http://oss.oracle.com/

Could you be more clear about what your point actually is?
..and Google continues doing less evil than most. Despite having the deadweight that is Knol in their kitty.
$53,000 profit in 3 months--from books? Insights gained from xkcd: volume 0
Cloning a concept is fine, but cloning the (entire) interface is not.

As with all things moral, the moment you have to ask if it is moral, guess what, it isn't!