skysight-inc/HackerNews huggingface dataset:
I've just started using it with Debian but I'd say the dependencies are readily available on any mainstream distro. Many Linux laptop users seem pretty happy with Lenovo, I'm typing this on an x230 - Lenovo tend to fairly consistently use well-supported chipsets.

Having said that you could use VirtualBox to get a Linux environment up fairly painlessly from Windows, if that's what you're on now.
# goal.rb
module G
def [](o=nil)
o ? "g#{values[0].to_s}al" : ({ :n => values[0].to_s + "o" }.extend G)
end
end

g = {}.extend G

eval DATA.read.gsub("(", "[").gsub(")", "]")

__END__

gal = g('al')
p gal

goal = g()('al')
p goal

goooooooal = g()()()()()()()('al')
p goooooooal

# ruby goal.rb
# "gal"
# "goal"
# "goooooooal"

# https://gist.github.com/morganhankins/de13ee378907143a7789
> I'm sure ancient Romans thought the Empire would last forever too.

The Empire itself doesn't exist anymore sure, but I don't think the GP was talking about political structures.

Ancient Romans' culture never disappeared, we can still easily understand their language (some people can speak it, I learned it in school, and there's even a latin Wikipedia! and we still use it for creating new words in our modern languages) and their culture. Their culture has evolved into our modern European culture (mixed with others, to some degree), our modern democratic republican political systems are a mix of two systems both older than the Roman Empire, and there are no mysteries about aspects of their culture or infrastructure.

If the Romans had written a warning on a building in plain Latin about how entering it would unleash the wrath of the gods, we would have absolutely no problem to understand it.

We would still enter it, though, but not out of ignorance, we would enter it because we know we can today handle anything the Romans might have feared.

All in all, I think Romans are a pretty good example of how a powerful culture can stay understandable for several millenia.
If you know body language you can figure out if the candidate is honest or lying.
I decided 7 years ago, despite not knowing anyone in Silicon Valley, to just quit school and move there. Got the first startup job that I could, which happened to be at Slide (founded by Max). I hate networking and generally avoid the whole social tech scene -- so I just worked hard, delivered results and got attention that way. My point is, by working hard AND smart, you can create your own opportunities, e.g. having access to investors when you really need them, etc. It takes time and commitment but it's certainly possible.
Unrelated, but I would like to note that you shouldn't use subpixel anti-aliasing in text in images, especially ones that will be shown by a web-browser. You never know whether the user's screen is rotated or not; if it has three subpixels per pixel, or if it's pentile or similar; or if it is high-DPI and therefore the image is zoomed; and even if none of those are the case, a lot of people dislike the coloured fringes.
You can have some larger streets between neighbourhoods with higher buildings. Not every single street needs to be really narrow, but you need to have them.
http://urbankchoze.blogspot.de/2014/04/japanese-zoning.html
Great share!
Looks promising. Just out of interest, do you think it would be easy to build a hardware accelerated 2D interface using this setup?
Lightspeed POS is a solid choice. It depends on the customers needs.
That looks awesome, is there something like this for linux as well? Or what is the current way linux programmers debug x86?
For non-technical friends you can use https://encrypt.to/
Sigh...http://grammarist.com/spelling/meter-metre/
How I cured my Repetitive Stress/Strain Injury
Are the phones able to tell where in the protected area the sounds come from (eg. distance and radius) or can it just tell us the approximate distance?

Also you might not have to protect all the areas - if the devices are sufficiently hidden from view then people don't necessarily know where it is safe to loot, and so you end up protecting a much wider range.
Slightly off topic, but I have a coworker who is not as much of a fan of the metric system as others I know.

His main issue was that the metric system is based off of things heavily linked to our planet (like involving water at atmospheric pressure). How hard would it be to reproduce the metric measurements on the moon, for example?
GDB or LLDB?
Linux standard debugger is gdb.
I've taken a very tiny first step towards something like this for computer graphics and vision: trying to make user studies as easy as possible: http://www.imcompadre.com It's not a ready product by any means, but two paper submissions have been made with it so far.

It's a difficult problem to solve, because these pesky researchers are always trying out new things that you didn't anticipate - who would've thought! But still, for the mundane things that can be automated, something like this is definitely the way to go. Of course, as other people here point out, figuring out what to actually test is always the hardest part.
Minor nitpick: X32 is not "32-bit x86", it's an entirely different ABI[1], using 32-bit pointers but the (faster) 64-bit instructions.

You're better of just calling it x86 to describe the 32-bit instruction set.

I love the connections between jumps and landing sites though, very helpful!

[1]: https://en.wikipedia.org/wiki/X32_ABI
I do not agree with gnopgnip, but I think the way you are dressed might have a priming effect. There were quite a few studies conducted on this topic. But I don't think its effect is significant, and if you associate being dressed for the office with something stressful, then it might have negative effect on you.

http://en.wikipedia.org/wiki/Priming_%28psychology%29
probably best to prioritize de facto standards over your own personal aesthetic preferences.
Show HN: A nested accordion view for Cocoa Touch
The Internet Of Small Things Spurs Big Business
A collection of Web products created for entrepreneurs or for the aspiring ones
It's interesting to read about hypothesized age of plant (and I guess animal) species based on their molecular "clock rate" (rate of mutations) in different parts of the genome.

The mutations indeed are far from random. More important regions which fundamentally affect the viability of the organism evolve incredibly slowly and conservatively. The less important bits are less restricted and mutate more readily.

Additionally it's interesting to consider an individual in the context of its lineage. Some branches are extremely rich in diversity but mightn't have the population numbers of more "boring" clades.

It's easy to mistake success at population size as the end-game, the winner if you will, of evolution. Population size helps but at the end of the day it might be the smaller population, more diverse clades that are more adaptable to environment changes and survivability into the future in general.
Quick aside: I'm one of the team that built this. If you've got any questions, shout!
The rise and fall of ArsDigita [2002]
> but apparently it's politically inconvenient.

This is merely a theory to explain your observations. I think a more plausible alternative explanation is that the moderators' beliefs about what makes up worthwhile discussion is different from yours.
Or if you get really fit :-)
How does this compare to WinDBG, which already seems fairly mature? Why would I switch to this? (if you ask me, the problem of FOSS doesn't come into play here, since Windows itself is a closed platform).

And indeed, a similar GUI-based debugger for Linux would be awesome as well.
I don't argue that there isn't a big market below the $69 price point, but as jsmthroway is saying, there's a large market at our price point, and up to now, it's almost exclusively off-the-rack. We think we can provide a high quality custom product where previously the only option at that price was off-the-rack.

And obviously we'd go even lower if we could.
I'm just starting out with Elm.js so I couldn't fully understand the article. However, it seemed to argue that keeping tons of event details in memory will exhaust memory, which is obvious. I need to remember to throw away data I no longer need in other paradigms, too.

I'm sure I'm missing something, can it be explained in simpler terms, please?
If they're offended, they're performing ego driven development. Aim cursing at the code, not the person: "This code is complete horseshit" means exactly that and one's got room for improvement, not that one is worth complete horseshit.

I'd rather have people around me that have the courage to say "WTF is this shit" rather than the politically correct talk about how this code "will not work" and could be "improved". In my current situation the latter only leads to wishful thinking ("in an ideal world we'd fix that... later") and handwaving of my "academic" thought process. Yes it's my ass, the one ass that's sick of making up for people mistakes all the time, and the only thing that has a semblance of snap them out of their numbness is to shock them.

There is nothing less professional than shipping non-functional code to customers, nor imposing undue amount of work to your teammates by writing an unmaintainable mess, either of which being more equivalent to a giant implicit "fuck you" than colourful words.
Reminds me of this: http://www.damninteresting.com/on-the-origin-of-circuits/

>The plucky chip was utilizing only thirty-seven of its one hundred logic gates, and most of them were arranged in a curious collection of feedback loops. Five individual logic cells were functionally disconnected from the rest-- with no pathways that would allow them to influence the output-- yet when the researcher disabled any one of them the chip lost its ability to discriminate the tones. Furthermore, the final program did not work reliably when it was loaded onto other FPGAs of the same type.
Is the purpose of ethics to help you live though? I don't think it is, I think you're describing self preservation, which isn't always ethical.
From the video, we build a full 3D scan of you (lots of math / machine learning here). Then we essentially take a digital tape measure to your 3D scan.
Nice!

Is there an advantage in using a set comprehension over set(a) or is it just a stylistic choice?
Thanks! We have worked really hard to make the measurement process easy to do, testing with dozens of people for months.
Hey, great work! It's a little bit unfortunate it doesn't work for Linux, since I've been looking for something like that for a long time and haven't found one, yet.

How hard would it be to port this to Linux? What would need to be ported? I don't have much free time, but I might be able to contribute to a port for Linux, given enough free time.
You can use GDB on Windows too - MinGW have Windows versions of the usual set of tools(gcc, gdb, objdump, grep, etc.).

I highly recommend MinGW if you do any serious work on a Windows machine.
The article also says:

- The app makes it in 30s,

- "Do Not Reproduce" keys can be reproduced,

- Lock nerds can reproduce keys from a 60-feet picture.

All 3 imply a change of the possibilities and thus, newsworthy.
I very much doubt that people are less sophisticated about science and technology than any time before. Quite a contrary, the education system has given us laymen discussions in which scientific literature is referred regularly (HN, many popular subreddits, even discussion threads in my Facebook stream)
My 30 day code challenge – week 1
I think this makes for an interesting cautionary tale: when removing features, no matter how little-used they may appear to be, there's always the possibility that it will break something very important and useful that depends on them. The path to the solution also shows how this attempt to remove complexity actually resulted in even more complexity later on, in the form of diverging virtualisation extensions and non-uniform support for segment limits.

Segmentation isn't the only one, however; many of the existing seldom-used one-byte instructions also inexplicably went missing (became completely invalid - they didn't reuse them for prefixes or anything like that), and among them were SAHF/LAHF which also turned out to be important for virtualisation. In this case the solution was that both AMD and Intel put them back sometime later, and had to add an extra "feature bit" to indicate this. It's quite absurd considering that these instructions were present in 32-bit mode, and leaving them unchanged in 64-bit mode from the beginning would've avoided this issue completely.

As successful as x86-64 is, I definitely think the 64-bit transition could've been much better, similar to how the 32-bit extensions that came with the 386 fitted nicely into the existing instruction set and could even be used from 16-bit mode. In contrast, there is no way to use 64-bit registers in 32-bit code despite there being reservations in the existing instruction set that would've made it possible. V86-mode, which has been present since the 386, could've been extended in a relatively straightforward manner to make virtualisation easier.
EBooks 2.0 – What do you think?
I love to read a book, but maybe I even love more my collection of books. You know, time to time you walk by your bookcase, and you see books you've read and think: "ow that's right, I read that book ages ago, I loved it!" You take the book, read the back cover and just maybe you will re-read it. The same goes for physical bookshops.

I don't have this feeling when i'm reading books on my ipad or ereader. Or when i'm browsing in an online book store.

I want to preserve that special feeling you get with books.

So here are two versions of my idea:

We keep the idea of ebooks. But instead of downloading tons of ebooks on your ipad or ereader. You still buy them in a shop. But with this difference that you don't buy a book made of paper, but you buy like a DVD styled case with an e-ink screen inside that contains only ONE book. This way you keep the old front and back cover and you can physically see what book you are buying. You can touch it, feel it, show it to others. And more important, after you have finished your book, you can place it in your home library. You don't have to take your ipad or ereader to browse through all the books you have read.

A disadvantage I can see is that there must be a MASS production of e-ink displays... But, bookshops can stay alive, people still can go shopping for books or lend out "real" books to friends...

Another idea:

We keep the whole idea of ebooks and ebook stores like amazon. People just download their books on ipads or e-readers. But their book covers will be synced on special designed displays that you can buy and place in your existing home library. So, out with the old books, in with the displays that show your ebooks. You can't take out any books of this library. But you and others can SEE what books you are reading.

So, what do you think?
I'm not going to comment on the horrifying way you seem to throw money around...

I am however going to comment on the absurdity of how you seem to protest this whole situation. If she only wants mail and pics, why not get rid of all the other junk that comes pre-installed and put in a generic mail and a generic pics app?

Do you think the situation will be any better on ipad, which is running on a platform that is twenty times as closed as android?
Absolutely fascinating read and awesome microsite, well well put together - props.
Concrete would get covered over in sand or dirt most likely. We also can't predict the climate 10k years in the future.
You can argue that this means Samsung does indeed make their own operating system.

The term OS, as it is used by media and most people today, is the software that is installed on the device before you install any additional apps to it. E.g the "App Store" is considered a part of iOS, the Internet Explorer as part of Windows, and the Homescreen and Dock of Max OSX is considered a part of OS X.

Since a Galaxy and a HTC One ship with different Applications, a different user interface and other key software components (you mentioned the filesystem on the Galaxy S), Android is less an operating system but but the cross platform foundation that most operating systems are based on today.
I've been working with a Kiwi for a bit now. He grew up on the only 'computer' in NZ back in the 70's, a punch card machine that he had to actually fight (with real fists he says) to use time on. This guy has seen the digital revolution up close.

There was an article on HN a while back that mentioned the #1 programming language being taught today was Python. I told the Kiwi this and he just sighed. Python is a 'batteries included' type language. You don't have to really worry about any memory issues, any special loops that will go to infinity, none of the real stuff. Yes, it teaches you the 'idea' of programming, but programming is much more than an idea, it is a set of instructions you send to an electrical machine to preform a task. If you take away the entirety of the actual physical world, you have done the kids a disservice. Programming, real programming, is not supposed to be easy.

I'll mention the Kiwi was here in the US on a work holiday. I was trying to get a chip working (yes, with actual registers) and spent ~6 months on it. The Kiwi, I kid you not, spent about 3 hours. The guy really did know his stuff.
Vine Marketing: Can You Win in 6 Seconds?
Thanks for placing an order, and thank you for the feedback!

We don't actually process your measurements in real time, which is why we couldn't say what your measurements are when you finish.

For fabric selection, we're working on nice photographs of real shirts made (just takes time and money) -- it's actually the #1 complaint we get.

We can definitely do a pocket button. We may be able to do a 3rd collar button. If you would like those options, please email support@mtailor.com, and we'll see what we can make for you.

What kind of statement would you like? As I stated previously, since we make higher end custom shirts which require skilled labor (custom vs. off-the-rack), we focus on quality rather than squeezing out every penny on the manufacturing side. Don't know if that's what you are looking for though.
Show HN: Pure JS live-editing for React
This looks nice. From the layout of some of the menus, it seems like it was written by fans of OllyDbg, maybe because OllyDbg still has no 64-bit support. OllyDbg is great, so hopefully I can get some use out of this tool as well.
Our #NoEmployees experiment
When a new iphone comes out, owners of old iphones could feel that their phones are inadequate, and are searching for "is the iphone [n-1] slow?".

Also, with each iphone generally comes a new ios version, which is more or less written for the specs of the newest phone. That being said, this post is being typed from an iphone 4s I've owned for two years. I've never had any complaints about performance. Never noticed a slowdown.
Unfortunately killed, while putting his head inside a crocodile's mouth,
Mostly from mainland, but we only put fabrics on the app that I've felt personally thought were good enough.

Since you cannot feel our fabric, if you don't like a shirt from us, we'll remake the shirt with a different fabric or refund you (no questions asked, no hassle).
Ah. So you're saying that in practice there is no answer.
>I think a more plausible alternative explanation is that the moderators' beliefs about what makes up worthwhile discussion is different from yours.

I generally think it's worthwhile to let the community decide what's "worthwhile" and what isn't. Interfering to suppress spam or a flamewar is reasonable but interfering to suppress things which contain ideas you personally disagree with is not.

Similarly I don't have a lot of respect for you downvoting all my comments in this thread and on the previous one we were both on. It's the same principle, just on a lesser scale. I made a valid point in the GP post and was answering Dang's question.
Wonder if this was in response to the recent bit on the Daily Show. http://www.hulu.com/watch/664573#i1,p12,d1
Due to a lack of man hours available to teachers, we make up for breadth instead of depth. This is a good thing, as we do not know going forward what we should teach in depth to children. Teaching kids about cam shafts and carburators would be a fools errand, but you only knew that about 5 years ago. However, depth is needed in many areas, we just have to trust people to figure that out on their own, as they are more mobile than an educational system. An example is bit wise operations in computers. Many don't have a clue as to how to use a register in a chip, and we thought we'd never have to again. But encrypting, securely, relies entirely on this and trying to poke holes in it. Now, again, we need the depth there to maintain encryption as a viable idea.
The tomb of the first Chinese emperor has not been opened because they are concerned it's filled with mercury gas.

It's not "superstitious gobledegook", it's how you convey a message without using words only people from our culture and time period would know. Or indeed, without any words at all.

Photographs, diagrams, technological equipment, and everything else, were all proposed in the paper as methods of conveying that information. But there are serious issues with all of them. Very few things will last that long, especially in good shape. And symbols we understand in our culture will have no meaning to them. Even photographs can easily mislead, and as you said, encourage people to explore.
Thanks rahimnathwani. I had already looked at that -- the fact that they don't link to where you go to sign up for that arrangement didn't look promising for happening in a timely matter.

We also currently ship all our shirts to the US for a variety of reasons (including quality control).
Show HN: A prototype of old game Pong, which runs in your terminal
Except for the kilogram (which still is an actual sphere in a vault in Paris somewhere, but hopefully not for long) all base units are defined so that they don’t require the context of Earth or a specific object or anything like that.

A meter, for example, is defined as “the length of the path travelled by light in vacuum during a time interval of 1/299,792,458 of a second”.
Definitely in the pipeline! We had to start somewhere, but we plan to expand into every article of clothing for men and women.
10k years isn't a huge amount of time for evolution. If the gene isn't detrimental it will definitely persist in the population that long. It takes a long time for DNA to completely degrade from accumulated random mutations. We still have genes from our prehuman ancestors that are mostly intact.
None that I know of - As a novice python programmer, I just try and use comprehensions for everything so my eyes get used to the pattern.

The set function is somewhat faster.

a=[]
for x in range(10000):
a.append(randint(1,2000))

%timeit b=set(a)
1000 loops, best of 3: 373 µs per loop

%timeit b={x for x in a}
1000 loops, best of 3: 542 µs per loop
Except, how would the valet know where you live?
Set creation takes O(N) space and O(N log(N)) time, and the inner loop condition (if not x in b) is also log(N). So it's slower in time and it requires more space. People usually don't distinguish between O(N) and O(2N), because actual performance is dependent on implementation choices and CPU cache locality and all that stuff isn't really part of algorithmic complexity analysis.

I do like your solution better though, but mostly because it doesn't mutate the array passed to the function. A function called "firstMissingPositive" shouldn't modify state.
Make your own home photography studio
Opposite for me. The stuff I write on my own time... I take my time on that.

The 9-6 stuff is rushed and designed by others.
O(n) = O(2n)
Killer escaped prison after being issued picture of master key to all locks.

A former prison officer said the design of the master key - which could open every lock in Berrimah jail in Darwin - was printed on the front of the prisoners' information handbook.

http://www.news.com.au/national/killer-escaped-prison-after-...