skysight-inc/HackerNews huggingface dataset:
Do you think it's desirable to get rid of the favelas, or people who live there (some of which moved specifically there) prefer to have this "free society"?

That's what I want to know about. Is it something to be preserved, or is it something no one really wants but is forced to live in?
Leonid Meteor Shower Peaks Monday
Hong Kong activists denied permit to go to Beijing
One feature not listed there that use a lot is "setopt autocd". Just type in a directory name and hit Enter and it will automatically "cd" to it. No need to alias ".." to "cd ..".
for pancakes, IMO, a teflon pan is probably going to last decades anyway.
You could always use comments to do the same thing, just like this: } // <VAR>
Why is that unscientific? It's well known that cast iron gets "seasoned" by what you put in it, so if you put crap in it it's going to get seasoned with crap.
That's where I think containers come in handy. Assuming you have other services you are managing you can pack them into instances running your main workload. https://aws.amazon.com/blogs/aws/cloud-container-management/ will likely make that very easy to manage, assuming you are willing to go all in with Amazon.
The good intro to compilers is Engineering a Compiler. It focuse more on optimization then most intro books, and its all SSA.

If you want to go all in on SSA optimization, there is a book called Static Single Assignment Book and its written by a hole list of compiler writers. Its not finished but there is still a lot of information.

You can find it here: http://ssabook.gforge.inria.fr/latest/book.pdf

Or you can go with the classic, Advanced Compiler Design & Implementation. See here, http://www.amazon.com/Advanced-Compiler-Design-Implementatio...

All of them will teach you a lot about LLVM.
Wow, I just looked into it and it turns out the ESA actually hasn't used RTGs before, but planned to use one with this very mission[0:p78]. The only ESA mission I can find which used an RTG is the Cassini-Huygens probe[1], a collaboration with NASA.

[0] http://www.ianus.tu-darmstadt.de/media/ianus/pdfs/arbeitspap...

[1] http://en.wikipedia.org/wiki/Cassini–Huygens
Other materials have been used for imagers. Gallium Arsenide in particular has been used for high speed, and high radiation, imaging circuits.
That's true, and IDEs could help too.

But unless you actually do that, it won't help. If the language requires you to do it, everyone will.
It is unclear to me how those ads will help Firefox.
Some people will be disgruntled by this move and stop using Firefox.(Ironically, those will be the people who are most likely to donate money)
Those that keep using Firefox probably have the intention to visit an address when they open up a new tab. Why would they stop for a while before typing in the address to look at those ads?
i think it's because they rather have you pass in fullName string and get back a typed Name object instead.

that second example is always a bad choice and i would never but i do agree a little tuple support would be nice as a trap door kinda feature to avoid code like this
Why I say we have 70% of round-trip tax in France
You may not have much luck... Grothendieck was notoriously private. IIRC, he officially withdrew every peer-reviewed mathematical manuscript during the late 80s. There are mimeographed copies floating through the halls of math departments in France, but I've never actually seen much of his work.
TBB and CUDA seem like odd choices to me for an example case. They are based much more heavily around vectorized / SIMD style for regular more general purpose operations. The in-place vs not thing making those functional is a stretch. Very much bulk parallel procedural.
Hot Teacher attacks boyfriend with knife
I appreciate the link, and that article has much good discussion. I would not exactly call it a "duplicate", though: it is in French and this article is in English. I think both threads are valuable.
This seems like genuinely good stuff. I'm not a systems guy, so question: How long would it theoretically take for somebody to hack NodeJS to use this? What about getting NodeJS to use zero-copy buffers as be mentioned, by somehow overriding JSON.stringify? Thanks.
The first few lines are drawn really slowly over here... after a couple of lines, they appear instantly. Weird behavior, is this intended?
We actually visited Austin to move there, and found the rents/home pricing so much, that we would have to live in a distant cookie cutter home community. We went with Boston, because of bigger job market. Better public transportation and crappier weather (j/k).
Editing Photographs in Three Dimensions
Isn't that the point, though. It isn't "complicating for no reason," it is "running an experiment to see if it matters."

Ruling out some experiments to try is often necessary, because time. However, it is far preferable to use prior evidence to rule them out, not speculation. No matter how logical it may be.
Building with Node.js
This book appears to be more of a "compiler-compiler design in C"; it goes through how to write a lexer and parser generator, then writes a compiler using them, and I think the resulting compiler is a bit of a letdown: it does not much more than translate C into a linearised subset of C, and so the IMHO more "interesting" and important parts of the back-end like register allocation and instruction selection are completely absent.

It's a good if somewhat outdated book if you're interested mostly in parsing and lexing, but for all the claims it makes in the preface about being practical instead of theoretical and all the source code presented throughout, I found the lack of actual Asm code generation (or any mentions of this compiler being able to compile itself) disappointing.

Parser/lexer generators also seem to have fallen out of favour for the creation of actual compilers, both big and small, at least for C-like languages; techniques based on recursive-descent (RD) are quite popular now.

On the "big, production-quality" side, gcc used a generated parser but moved to a handwritten RD-based one, and Clang always used RD. EDG's front-end, used in Intel's and other commercial compilers, is also handwritten RD. On the small "toy compiler"/hobbyist/experimentation side, there's TCC/OTCC, CC500 ( https://news.ycombinator.com/item?id=8576068 ), C4 ( https://news.ycombinator.com/item?id=8558822 ), SubC ( http://www.t3x.org/subc/ ), and many others, all based on RD parsers.

In fact I can't think of any C compilers at the moment that are using a generated parser/lexer...
I can't find the original paper, but this almost seems more relevant.

http://research.ihost.com/lcpc06/final/7/7_Paper.pdf

Actually, here's the original for sale, but the abstract doesn't explicitly mention being NP-complete.

http://www.sciencedirect.com/science/article/pii/00960551819...
Yeah, those cast iron wonders are like some legendary swords in various works of fiction. Just give them a good rub and they're as good as new :)
Google actually demoed Glass running Ubuntu inside a chroot, with its GUI shown in VNC over loopback. Setting it up was a pain, but this gets you a working web browser, which Glass doesn't have otherwise. But it isn't possible anymore, unless you feel like decompiling and trying to fix Google's bugs for them.
Verhuisdozen niet alleen om te verhuizen maar ook om mee te bouwen
You should ask her what she thinks about the possibility that China is an asset controlled by a higher power, considering the fact that Mao Zedong was a Yale man and that ever since he was installed, every US ambassador to China has been a Skull and Bones member - https://www.google.com/search?q=mao+zedong+yale+school+of+di...
Ask HN: Who wants to partake in a pro-tech party initiative?
The Party of the Minds http://www.partyoftheminds.com is meant as a blueprint for a programme of a party which would operate on a world-wide forum. It would be great to get contributions for:

* solving cosmic problems with consequences for entire humanity

* worldwide problems with potential technological solutions

* the future of political choices when current trends (such as from religion, or towards science) continue

* the role of AGI in future ethical/political decisions

* the decentralization of democratic methods (voting) or institutes (banks) due to e.g. the nature of new technologies (internet, cellphones)

* a cool logo

The party is meant to think of positive solutions and is admittedly naive with respect to the extend to which technology can be used to our benefits. If you are skeptical w.r.t. technology this might not be the initiative that would resonate most with your inner feelings.

The site is created using the front-end of the healthcare.gov site and will be put on github if there are enough people who want to contribute.
This guy just updates his list of watched TV series. Great contribution to Open Source!
Nobody can reply in disagreement to a comment like yours without making you feeling rightious and validated. Downvoted.
Where do you see that ESA actually planned to use a RTG for Rosetta mission?

On the p78 is only "The consortium formed of leading institutes of Europe includes the scientific organisations of Germany, Finland, Italy, Hungary, Great Britain and Austria, which have not the technological
capacity to manufacture RTGs. It was therefore decided to develop new high-efficiency solar
cell for this deep space mission."
This is why I eventually gave up on Parallels Desktop and VMWare Fusion (even after paying for both): they link way too much to the host machine (Fuse file systems, cross calling and so on). Now I just use Virtual Box. Most things I put into a virtual machine I don't expect to have a great experience with in the first place, so losing a few features is not a big sacrifice.
Philae comet lander: Sleep well little probe
Google Glass App that tells you what you are looking at
No, it's not intentional. I have seen it but it is variable. On one computer it never happens and on another it happens like you said and on another it's always slow.

The way this works is that I add points to an array while dragging. There is a loop that adds a point and draws a line to the last point. I think that interval of drawing is what slows it down but that is just what I felt like it had to be.
Des Moines gets similar comments, and we have less snow. I went up to Minneapolis for a conference last summer. They had 2-3 feet of snow on the ground. I haven't seen more than 6" in central Iowa in a very long time.

Oh, and central Iowa has over 600 miles of bicycle trail.
nope. only sec patches are applied. Updates are infrequent.

qlogic drivers had bugs in 10.0 which crash the system. Fully updated 10.0 is still affected.
Why are we letting 50 year old technology constrain us? Why should we ever expect to edit code in a bare bones text editor? I'm not saying I like this particular idea but we shouldn't be held back by our technological history
Additional tips from someone who failed:

1) Buy a used cast-iron off ebay. The old cast irons were machined smoother. Anything you buy new from lodge today is going to have a texture like low grit sand paper. Any old Wagner or Griswold is going to have a much smoother base surface.

2) Make sure you get everything off your pan. If you did buy a new pan, they often have weird artificial seasoning on them. If you have an old pan, anything loose can provide a failure mode for your new nice coat of seasoning.

3) Don't get 100% of the oil off between coats as the article suggests. You won't build any seasoning.

4) Consider using Canola oil. The flaxseed oil that you buy seems to have some particulate matter that is noticeable in the finished seasoning. That or I didn't shake mine enough.

5) Consider doing this at a time when you can open all the doors/windows. Even if you stick to the really thin layer, your house will still get a smelly smoke.

6) Don't leave anything nice on the top of your stove. My oven vents out over the burners, and a Le Cruset pot resting there got covered in a sticky residue that was a pain to clean off.

More background:

I tried this with a beat up hand-me-down wagner about a year ago. I did six coats of flaxseed while following the instructions to "get all the oil off" with a towel after each application. The result was a pan with basically no seasoning that everything stuck to.

I went back and repeated while leaving a thicker layer (still not oil pooled or anything, but noticeably wet/shiny). This worked much better, and left a decent coat on the pan that things don't stick to. Sadly I did not strip the pan back down after the first misadventure, and some of my nice seasoning is now peeling around the corners.
I've been using this library which helps with composing channels, and also has some nice implementations of useful patterns:

https://github.com/eapache/channels

Unfortunately Go's lack of generics hurts in letting me use these helpers in a way that guarantees the data types going in/out of the generic channels.
Interesting, but feels a bit like pop-sociology. Any citations? Any evidence that this isn't just broad brush generalisations based on anecdotes and stereotypes?
I followed these instructions a couple years ago for some of my cast iron cookware, and it worked out pretty well. That being said, I only resorted to these instructions after failing to find a service to re-season my cookware for me.

I looked online for just about anywhere in Northern California and made phone calls to various kitchen stores and iron workers up to a radius of about 25 miles and found absolutely nothing. I would much rather have just paid someone who knows what they're doing to re-season my cookware than half-ass it myself. So does anyone else know of a service for this?
Man this is idiotic, anyone who would support this shit is ruining gaming, it's just DRM by another name.
The tab completion isn't limited to the beginning of file names either. Useful when many of your file names start with the same pattern but then diverge.

ls something<TAB>

will complete to

ls prefixSomething.sh

if it's unique enough. This is probably my single favorite zsh feature.
Hype or Reality? A Round Up of Dublin Web Summit 2014
Here's the shirt.

http://i1.mirror.co.uk/incoming/article4614233.ece/alternate...
Do they actually produce more? It seems like they produce almost 15% less per hour worked than Americans for example.

https://en.wikipedia.org/wiki/List_of_countries_by_GDP_%28PP...

And while the stats here are collated, it's not nearly as worthless a measure as nominal GDP of the whole country.

In Europe (according to Eurostat so possibly using comparable methodology), they're behind France.

http://epp.eurostat.ec.europa.eu/tgm/table.do?tab=table&init...
Okay. I <3 my cast iron. I haven't gone to the full effort of seasoning it like the article says, but I have done a bit of work on it and it's worked great for me. I do dislike the whole "stinks up your house" part, though I've never had it set off smoke alarms--sounds like you may have had residue from other stuff in your oven, or maybe you used too much oil or it had too low a smoke point.

I make tomato (or other acidic things, like spinach or chard) stuff in it fairly regularly and as long as I clean it within a few hours and give it a little mini-seasoning (re-oil, cover with lid, set on hot burner for awhile, turn off and let return to room temp while covered) it's fine. Keeping it covered is key to minimizing the stinky house problem.

Maybe if I followed the article I wouldn't have to do that, but it's just not that hard now that I have the habit and I really like the cooking characteristics of cast iron (how well it holds heat, etc.) so I'm going to stick with it (pun intended ^_^ )
No PDX? Half the cost of SF or the Valley, located conveniently between SF and Seattle.
Having gotten used to ido in emacs, I must say that I am now disappointed in most all autocompletes. Shame it doesn't work in the shell. (Quick, someone prove me wrong! Please! :) )
Perhaps you could also take a quick look at my other reply regarding qlogic.

My system is still crashing consistently with a fully updated 10.0.

It's only a question of time before I find something which crashes 10.1.
I use a cast iron griddle for baking pizza on and I love it. I hope yours works out for you too!
Something I've noticed is that osx users believe bash to be less capable than it is because of the poor out of the box configuration of bash on that platform (in addition to the ancient version installed). Particularly the tab completion stuff. It doesn't pop up menus and all that, but the ubuntu install of bash has a ton of context-sensitive tab completion stuff in it, and the git package properly installs __git_ps1 and very good tab completion (which even the homebrew git recipe on osx doesn't manage to do).

This is not to say that zsh doesn't have a lot more features, just that the comparison from the perspective of an osx user tends to be a lot more stark.
One of my favorites instead of aliasing ".."'s is this function:

rationalise-dot() {
if [[ $LBUFFER = *.. ]]; then
LBUFFER+=/..
else
LBUFFER+=.
fi
}
zle -N rationalise-dot
bindkey . rationalise-dot

When you hit ... it will produce a slash and a ../ for each . you type after that.
Here it is, in French, I don't think an English translation of the whole thing exists:
http://webusers.imj-prg.fr/~leila.schneps/grothendieckcircle...
15% less than Americans is also what is indicated by http://stats.oecd.org/Index.aspx?DataSetCode=PDB_LV.
Please don't upvote this article. It appears to be someone jumping to a wild conclusion.

I, like the other commenters, installed Yosemite on a third party SSD and it works great. If this were a common problem it would have affected many people and we would have heard about it months ago, back when Yosemite was in beta.

Maybe there is an issue affecting some users, but if so then it is far more likely a bug than some underhanded scheme. And given this blogger's problem solving abilities ("There's a problem... Apple must be trying to harm me!"), my bet is that it's simply a case of user error.
It's still complicating it for no reason. It's trivially easy to buy the proper oil and not use a spray oil with random stuff added to it to keep it spray-able. It's like not washing your test tubes out before conducting an experiment. It introduces additional variables and complexity for no good reason. Do you really expect the author to test for every single random additive from every single random spray oil producer and see if it affects the process? It's a waste of time when the proper process is easy... just use real unadulterated oil.
Apollo retroreflectors.

https://www.xkcd.com/1441/
Ever looked at the cost difference between Sacramento and San Fran?

That's your reason.
Check your facts. A large majority of award-winning 4k/64k are written in C++.
Yes, I know, I'm in this business myself. This was just my quick 2cents comment. Wasn't really intended personally, or to be offensive against the product.
You have a valid point. But I guess using a Javascript blocker like NoScript will solve this problem?
You left out defining a sorting class, like in Turbo Pascal. So, it's 17 lines of code (wrong version provided on stackoverflow) or 21 lines, the correct version :

type dataSlice []*data

// Len is part of sort.Interface.
func (d dataSlice) Len() int {
return len(d)
}

// Swap is part of sort.Interface.
func (d dataSlice) Swap(i, j int) {
d[i], d[j] = d[j], d[i]
}

// Less is part of sort.Interface. We use count as the value to sort by
func (d dataSlice) Less(i, j int) bool {
// WRONG : will crash if there's a nil in the list ...
return d[i].count < d[j].count

// Correct version
if d[i] == nil {
return true // note : true is an exported name, with no capital ... yet another inconsistency
}
if d[j] == nil {
return false
}
return d[i].count < d[j].count
}

func main() {
// create s of type []*data

sort.Sort(s)
}

Python version:

// create list of data in variable s
s.sort(key=lambda x: x.count)

C++ version:

// Create Vector<Data> in s
sort(s.begin(), s.end(), [](const Data& d1, const Data& d2) { return d1.count < d2.count; });

(bonus for the C++ version : it's behavior is defined and correct for nulls, just saying this because none of the other examples are, including the Go one)

Java version:

// Create List<Data> in s
Collections.sort(s, (Data d1, Data d2) -> Integer.compare(d1.count, d2.count));

Let's put it this way. If Java is 16 TIMES more concise than your language, you have a problem. A big problem.
If you're reading about the focus of Germans and wishing that described you (i.e. you want to cut out Facebook, gmail, etc.), there are a lot of technological solutions that can move you in the right direction. For me the pair that have worked best are TagTime and Beeminder. I'm not where I want to be on focus, but having a constant incentive to focus well has substantially moved the needle on that.
Agreed. It links some article about how Germany is a "powerhouse" and then goes on to make some seemingly stereotypical claims about why.
alt: http://www.jcraft.com/jsch/
His greatest contribution to the world of modern cuisine is this recipe -

http://www.seriouseats.com/recipes/2013/01/foolproof-pan-piz...

Its bang for a buck of effort is absolutely off the charts :)