skysight-inc/HackerNews huggingface dataset:
> An added value will be to get gather the guests
> experience sharing their photos and videos

Doesn't this have the very real potential of causing the guests who don't have smart phones to feel left-out. Especially the senior family members?
8 random decimal digits takes ~26.6 bits. An ordered list of 10^6 of these takes 3.17 MiB. The information taken by the ordering is lg(10^6!) ~= 2.20 MiB. So as an unordered multiset, the information content is 0.96 MiB. It's possible, at least in information theory terms.

But the answers here don't do it. LZMA does nothing here.

(MiB = 2^20 bytes; Stirling's approximation => ln(n!) ~= n ln n - n)

(edited for arithmetic error)
i don't think you can run a JVM in less than 1MB of ram?
Data scientists develop tool to exterminate spammers and trolls
Community always has expected things from its members. If you lived in a hut the tribe expected you to go fishing, or hunting, being a great warrior or do something for the common good. And individuals with great value-creation-capabilities have always been better considered.

Unless you live alone in an island creating value for yourself, it's hard not to think about what you do regarding to others.

I think it's a shame this not to be discussed more, IMHO it would lead to better focus on education, which is now the cornerstone of value creation.
Information theory to the rescue! Well, not really.

8 decimal digits takes 26.6 bits. An ordered list of 10^6 of these takes 3.17 MiB. The information contained in the ordering is lg(10^6!) ~= 2.20 MiB [0]. So as an unordered multiset, the information content is 0.96 MiB. It's at least theoretically possible to store the input in 1 MiB of working memory. But only just; in fact it's significant that the problem specifies 2^20 bytes, because for an SI megabyte (10^6 bytes), it wouldn't work.

I don't think it's actually possible though. The answers here don't do it. LZMA accomplishes nothing.

[0] Stirling's approximation in base 2: lg(n!) ~= n lg(n) - n/ln(2)
It does sound similar to the opening problem in the book "Programming Pearls." The solution proposed there was to write temporary files to disk and do a K-ways sort.
Very nice tool, congrats!

This is something everyone ends up needing at least one time, and we always end up using a language specific tool.

Nothing beats the command line piping
The wireless companies want a piece of the spectrum that's been reserved for professional audio (primarily wireless microphones). NAB had a good article about it last year: http://www.nab.org/documents/newsroom/pressRelease.asp?id=25...

It'd be cost-prohibitive to replace all of that pro. audio equipment. Think of all the wireless microphones, transmitters, receivers, etc. for a typically Broadway show with up to 100 performers. Now thing about government offices, news studios, etc. There's simply too much equipment to replace.
Post it here...

https://github.com/stedolan/jq/issues
New startup ideas?
Safely Creating Temporary Files in Shell Scripts
As regards Wikipedia you and I are probably more alike than not: we've both got 1000-2000 WP edits, we're both subject matter experts: myself in the gritty details of a corner of vulnerability research, you in medicine. And we were both frustrated by the manner in which Wikipedia integrates or, more likely, fails to integrate expert contributions.

(Obviously, we're not the only ones frustrated about this, as this exact issue was why Larry Sanger split off from Wikipedia to create a competing projects which, as we all know, failed).

But I believe two things at the same time: Wikipedia has a problem with rules-lawyering insiders pushing away expert contributions, and that the Roth incident isn't one of those cases. And I think I sympathize with Wikipedians at being pilloried in the New Yorker for (it seems) doing everything right. We can safely assume that 99.9% of the readers of Roth's "letter to the editor" will take away from it the idea that Wikipedia is an ignorant self-serving bureaucracy --- the nerve! after all of a bunch of Internet nerds daring to tell Roth how to interpret his own novel! --- when, let's be honest here, Wikipedia is probably rather more important than all of Roth's book's taken together.
This article focuses pretty heavily on the possibility of cache timing attacks against AES, and cites djb's original work along with Tromer/Osvik's publication in 2005.

Last week at CCSW, we published a paper[1] detailing our attempts to bring these attacks to bear against Chromium.

In short, we don't see AES cache timing attacks as possible on more recent processors, and especially so once you factor in the sheer size of modern architected code.

[1] http://cseweb.ucsd.edu/~kmowery/papers/aes-cache-timing.pdf
Sure, but that doesn't (or shouldn't) mean that if I phone your ISP and tell them you broke the law, they can assume that's true and take action against you
I am brown guy who sports a light beard. This combination alone has got people discriminate against me. Something as simple as being refused a bacon sandwich thinking I am a Muslim. I can imagine how these prejudices affect us and especially people wearing a turban or hijab. The outlook has to change, not the hijab. She can remove the hijab but what about the color of the skin? That cannot be changed.

However, I also agree that we, human beings, run to stigmatize an entire community rather quickly. For example, much of the Indian community in India thinks that "white" folks are more promiscuous. All of them. It is a widespread notion that they are ready for sex. There is no research that I can cite and only a few personal experiences and examples. e.g. http://www.whiteindianhousewife.com/2012/04/the-other-side-o...

How can these things change?
I've had several conversations with my vet about how his practice is so much smoother because he doesn't have to deal with an insurance industry (both from the sides of patients and a huge malpractice insurance cost) that essentially is just there to screw up everything. Few people attempt multimillion dollar lawsuits against vets because fluffy died from something that was unpreventable, but that's what happens daily in the US.

As a patient individually, health insurance is great. But as a system is so horridly broken that it slows stuff down.

Also, for anyone reading, getting into Vet school doesn't mean that you're not competitive enough for standard med school; quite the opposite. Getting into vet school is damn hard.
Show HN: command line utility for opening git remotes in your browser
That might be true for some very general (or common) problems (though I have doubts about that as well), but it can't possibly be true for a specialized problem such as the one described. How do you train a model if you don't understand the problem? You can't just say "unsupervised learning" and expect your algorithm to come up with a full understanding of the physics involved.

(And no, I have not edited my comment.)
Many ticket zones are also only enforced mon-fri.
So? MIT itself is larger than many other universities. Those universities may think that MIT has an unfair advantage.
> I feel it’s actually a competitive advantage
> to build startups outside of Silicon Valley

In some ways this is true. We're in Scottsdale, AZ and have lured two senior people from SV. Granted, they admitted to some irritation with the SV culture, it wasn't really hard. But the incredibly lower cost of having a business here means were capable of offering fair market salaries, not typical low salaries + equity of most SV startups.

While the talent pool is smaller, the competition for that talent is almost nonexistent... so hiring was easier to some degree.

And if you play golf... well...
World's smallest petrol engine
D. DQ,-"l
This was a Google interview question for a while (I know I got it as one) I think it has since made it to the banned question list. The 'trick' was, as answer #2 elided, to use bits to store the fact that you had observed the number and then you could dump them back in sorted order.

So imagine you have a bit field where 'one bits' indicate you have seen the number and 'zero bits' indicate you haven't. And you compress it with run-length encoding.

Your initial data structure is '99999999:0' (all zeros, haven't seen any numbers) and then lets say you see the number 3,866,344 so your data structure becomes '3866343:0,1:1,96133654:0' as you can see the numbers will always alternate between number of zero bits and number of '1' bits so you can just assume the odd numbers represent 0 bits and the even numbers 1 bits. This becomes (3866343,1,96133654)

Anyway, as you get numbers you will split and coalesce the bit space until you've either seen all numbers (0, 99999999) or you run out of memory because a hacker has sent you only the even numbers from the space.

Its a clever 'math trick' which explores how you think about numbers (are they a thing or a representation). But I never thought it really gave a good indication of whether or not you would be a good candidate for the company.
If you want to succeed in business, read more novels
Basically all the programs that use collections at all? Of the first 7 programs that I checked, 6 use primitive arrays, and N-body uses an array but that array contains a pointer type. Fannkuch-redux, meteor contest, fasta, spectral-norm, reverse complement, mandelbrot ... all use primitive arrays. A better question would be: which programs do NOT use primitive arrays? I'm not saying that these should be written using ArrayList or something, just that they are not very indicative of real world performance when people are more likely to use the collection classes.
Just a couple technical notes:

1. The article states "the operation which is opposite to convolution is equivalent to division in the frequency domain" which is not correct. 2. "Deconvolution" has no mathematical definition (as implied by that quote), it is the name of various algorithmic approaches used in signals processing. 3. Finally, the Wiener filter is not deconvolution, it is just a filter.

Nonetheless, a great article, with great illustrations.
The metaphor is inapt. Inspiration is not scratching an itch, it's having an itch.
Great article, I am glad MSDS was touched on before machining cast parts. The only thing I would add is that users should check MSDS before machining ANY material. There are a few exotic metal alloys whose dust can cause severe respiratory trauma.
I would be surprised if he went back to iOS jailbreaking— I feel that he may have signed some papers when accepting to work for Apple that guarantees he would be sued like crazy (and lose) if he did.

(Heck, why anyone somewhat active on open-source/community projects would go work at Apple is beyond me, as it is basically a forfeiture of your hacker rights. When I interviewed there, they made it clear to me that I would not be able to work on anything (or talk publicly for that matter) that didn't have an Apple-approved stamp on it, and then it would just belong to the company. Also see: Bret Victor's take on it: http://worrydream.com/#!/Apple )
Exactly. I think you summed it up better than the original blog post.
ASP.NET Forms Authentication is using encrypted blobs for maintaining sign on cookies. In your opinion, did they get it right?

In particular FormsAuthenticationTicket, and FormsAuthentication.Encrypt()
Exactly how do you propose that any statute could be devised to forbid the sale of "content" to consumers? If you can do that, you can just as easily forbid the sale of anything colored blue, or of books containing the word "prickleberry". The Constitution has something to say about that.

If you're going to argue that the content industry --- which is significantly smaller than the Internet industry, by the way --- is so powerful that it can simply disregard the Constitution, what's left to argue about? Here, allow me to win the resulting debate: "the content industry is going to get a law passed that will establish the death penalty for piracy". Oh no!
"Human rights" -reports on Iran are highly politicised; criticism against Iran is often based on political reasons and not for a real concern about any “human rights” issue.

Btw, if the report you're linking to is the same one I read about then it uses highly questionable sources (I think it was MEK operatives, not sure though).
Statistics was pretty much in its infancy back then, how would you have proposed he be scientifically rigorous?

Actually, if you could give me your definition of scientific rigour that would probably help.
Just a thought but given "have a computer with 1M of RAM and no other local storage. I must use it to accept 1 million 8-digit decimal numbers over a TCP connection, "

I was wondering why you can't use TCP as a form of storage, possibly many ways but latency and buffers would actualy work for you as crude storage. Not that it is need in this case but it is one form of queue that could be abused to store data.
Why MIT is at first place while they have 14,939 racers and Singaporeans have 17,497 racers?
Thanks for the context.

So that solution does not cover all possible cases. Lovely of Google to ask that question.

Edit: not only that, the running time of Google's "solution" would be terrible, aren't there other possible data sets not covered or am I missing something?
MakerSpace (or HackerSpace) is the term you're thinking of.
Ubuntu Tweak Will Continue
This is a really cool idea. One of the first problems you'd probably have to overcome though would be insurance. For pilots there are very strict certifications and strong personal incentives not to crash. With a modern Cnc machine it's very easy to cause more damage than you can afford to fix (if you can't afford the equipment in the first place) and you don't even have to put yourself in danger to do it.
Ask HN: Do you believe in ghosts?
Just wondering what HNers think about existence of ghosts? Do you believe in it? Any personal experience if any? Do you know about any scientific studies about it?

My take is that I'm not sure about it. Absence of proof can't be proof of absence.
I actually agree with you that programming may be on its way out for the majority of people. I can't agree with sweeping away all of mathematics, including arithmetic and algebra, as "under the hood stuff" for K-12 students.
I disagree. The current perspective of IQ and ethnicities show that while there might be slight differences, they are dwarfed by the differences in the education process.

If you want another example besides Singapore, look at french math textbook for highschool students - with nth derivatives, etc.

Here's the first link googles gives me - something that a finishing highschool student, around 17 years old, is expected to do if he is enrolled in a "scientific" curriculum. (basically there are 4 curriculums - scientific, economic, literary (humanities), technical (vocational))

http://maths54.free.fr/terminal/ch7_der_fonct_comp/cours_cha...
This reminds me of the story of Dr. Ben Carson, a famous neurosurgeon who also teaches oncology at John Hopkins. In 2002, he was diagnosed with prostate cancer and successfully underwent traditional treatment.

However, Dr. Carson has stated publicly, both at conferences and on radio interviews, that he believes he was largely cured by a controversial holistic treatment called glyconutrients.

However, due to legal liabilities on the company's part, they banned all testimonials and would threaten lawsuits to anyone who publicized this information.

20/20 did a story on glyconutrients, disproving them based on glycobiologist Dr. Ronald Schnaar from John Hopkins School of Medicine. Dr. Schnaar said, "All of the sugar building blocks that we need in our body are made from the most common foods we eat."

Contrary to this, Dr. Carson says we do not get these simple sugars from our natural diet and said that his family, his employees and everyone he knows uses glyconutrients with great results.

He said he considered not having traditional surgery but he didn't want others mistakenly following his path to the detriment of their health.

Dr. Carson is not a glycobiologist. However, he is the Director of Pediatric Neurosurgery at John Hopkins and a colleague of Dr. Schanaar. He's been awarded the Presidential Medal of Freedom and had a film made about his life story starring Cuba Gooding Jr.

But none of this information about his alternative cancer treatment is widely known. Not one word on his Wikipedia page (http://en.wikipedia.org/wiki/Ben_Carson) nor on the page about glyconutrients.

It's disappointing there's no unbiased scientific research to explain what is factually true. And it's unbelievable that such a high profile cancer survivor could make these claims with virtually no one knowing.

Dr. Carson's speech
http://www.youtube.com/watch?v=ROzftYwJihg

Dr. Carson's Story in the Dallas Weekly
http://glyconutrientsarevital.blogspot.com/2006/08/dr-ben-ca...

Related Local News story on Baby Hadley
http://www.youtube.com/watch?v=oK3U4mrqslk
See also, jsawk: https://github.com/micha/jsawk
Pirate Bay Power Usage Equivalent to a Vacuum Cleaner
Yes, but it does this by synchronising with an atomic clock from a server. I would want (do want, actually) to be able to run a js file on the browser of a participant and get accurate timing down to perhaps 50 milliseconds. The joy of java is the applet downloads, makes the timings on the local computer and then sends the results back over the server. Involving the network during the process makes it somewhat unreliable.
Whole-body MRI? Several thousand dollars just for the scan. The radiologist's interpretation typically costs as much. We haven't even begun to talk about resultant interventions. Eat less and exercise more is a lot cheaper and more effective.
Yep, it's a thing ... an example from my own backyard in (or rather, near) Orlando, FL - http://familab.org/
From what I've read about the Salesforce Oracle backend in the past, they are big users of Oracle RAC .

Hopefully if Salesforce switch they will develop some form of Postgres clustering solution which would be great for the Postgres community, as an active-active clustering solution with the characteristics of RAC would make Postgres even more competitive in the enterprise.
Hysterical!
This is why. Every time I launch MySQL client:

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1024604
Server version: 5.1.63-0ubuntu0.10.04.1-log (Ubuntu)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
That's really cool.

Polls are pretty useless. I'm a fan of using prediction markets like betfair to figure out what's going on. When people stake money on an opinion, it gives it a lot more weight.

For awesome analysis on prediction markets and the elections, check out the signal: http://news.yahoo.com/blogs/signal/
> me: It does mean something.

Okay, fair. "Without exception" is what a tyrant says. It is an assertion of whim over reality; instead of caring about consequences to real people, it hand-waves and declares fiat. It is, in short, completely antithetical to the entire point of the Constitution itself. I had assumed you were explaining it inside the context of reality, but apparently that's wrong.

So nevermind that I proposed a route through which you could explain what it means. I suppose all it means is schoolyard rules.

> And a big reason why I don't participate in the comment threads here much anymore.

You mean it's not because people seem to be participating on HN for no better reason than pandering to the lurkers? You're the second person in a week I've "discussed" things with only to see that they had no intention of engaging and were only reciting talking points for the voiceless masses.

> I almost feel sorry for some of you when you don't understand how rude you act.

The feeling is mutual. You've refused to actually back up any of your claims. Instead, your only recourse is character attacks that center around how you're being treated. I've offered you multiple opportunities to actually respond usefully. You've refused to. I've explained my viewpoint honestly; you've dismissed this as being rude. What possible respect do you expect me to have for you?
It isn't all that thinly veiled is it? Its a recruiting pitch, the message is: 'cost of living is lower', 'opportunities are plentiful', 'traffic is better', and 'there is hip culture here too'. It is targeted at folks who are working in the Bay area and hate the commute and high cost of living but feel trapped because it is the 'place to be.' The goal being to get those people to consider working outside the Bay Area.

The bottom line is that there are lots of places to work, they aren't all like the Bay Area but they don't have to be.
Let me help you.

https://github.com/okws/sfslite

http://www.read.cs.ucla.edu/tamer/

http://stackoverflow.com/questions/5579602/what-is-the-scala... You will note that it's a comparison between F# and Scala.

http://dispatch.databinder.net/Dispatch.html The standard HTTP client of choice is async, although the simple API wouldn't necessarily tell you as much.

https://github.com/ztellman/lamina From the clojure people. Agents bear mentioning too.
It's not thinly veiled, it's completely unveiled. These guest posts are just another type of marketing channel for companies.
Any contract he may have had with apple terminated the day he left.
I think I want to learn enough programming that I work on pet projects and I have capability to understand modify lets say Selfspy or nvPY (posted on HN) or help Nixnote developer, etc.

Most people ever become genius in their own chosen field let alone they can master 3 or 4 different fields. Not to say it's not possible but highly unlikely.
All of these bizzaro explanations leave me wondering if I've missed something. Can't this be elegantly solved via the pigeonhole principle?

There are one million numbers to be sorted, out of a space of one hundred million. That means that no number may be more than 100 away from any other number once fully sorted (7 bits). Therefore, you can simply use deltas to encode your numbers, as 7 bit deltas * one million numbers < 1 MB RAM.

EDIT: should've been clearer: no number may be more than 100 away from any other number on average once fully sorted. Therefore, it's an average of 7 bits per number, maximum. Duplicates are even easier, since it's only one bit to encode the duplicate (a delta of zero).

EDIT 2: As for the encoding to be used, I think a universal code or Golomb code would probably be sufficient. They can get quite close to natural entropy.
Etend Afvallen? Eet KoolhydraatArm - Plazilla.com
That's not true, or trade secret theft would be unprosecutable.
> the only thing that comes to mind as an effective use of 3D printing is to pirate children's toys.

That is as solid an argument as suggesting that the only use for a camera is to pirate artwork. Or the only point of digital media is to pirate other people's work.

If I had kids, the opportunity to design and make toys of our own design might be compelling enough (particularly if you could get a 3D printer for $250 or so).

But, like early microcomputers, we may not have found the killer app yet. Right now, we are at the blinkinglights stage of 3D printing. These things are incredibly primitive, but they are still fun for some people and useful for others. Give it some time, and something interesting will happen.
Could Google disappear? Analysts warn of the search engine's demise