skysight-inc/HackerNews huggingface dataset:
Agreed. __attribute__((cleanup)) provides a way to do block-scoped cleanup of each variable and eliminate the "tear down in reverse order in each error path" or "tear down in reverse order with goto labels" pattern.
I still think the classic Turing test needs to be beaten. And not by 33% of the testers thinking the applicant is a barely literate and scatterbrained Russian teenager. No, it should be able to carry on a conversation indistinguishable from an educated, well spoken, English as first language speaking adult with curiosity and personality. Thereby fooling 100% of the testers.

Or barring that an AI that can perform valuable services that allow it to pay for its own server costs. Thereby making it grown up and gotten a job.
Both Semiapies's and Cthulthu_'s comments hit the mark, Notepad++ is a definitely Windows application that just works straight out of the box. (As a caveat, I have spent a lot of with a command shell and vim).

The other thing is that, as a Windows developer, I spend a lot of time in my IDE. Whenever I try to use Emacs I quickly get sucked into the fact that the most productivity gains you get from it are when you use it for as much as possible, like OrgMode, reading emails, etc. It's advantage is that you can write elisp plugins to customize it for your workflow. As a standard corporate "textbox over data" developer, I have the full suite of Office and Visual Studio at my disposal, so I don't see any benefit to use Emacs. Also, Emacs on Windows is definitely a second rate experience. You can't launch a daemon process, and it requires setup to get copy/paste from the OS to work well.

Vim is great, and it works well on Windows, but again, most of the time I am editing code, it's in Visual Studio. If I need text manipulation or searching, it's a real loss to paste into Vim, and then have to switch over to remembering Vim commands.

I've come to the realization that tools like Vim, Sublime, and Emacs are awesome if you do the majority of your work on them. The more tasks you can pile into them, the less context switching you have, and more consistent experience you get.

On Windows, Notepad++ fits that niche perfectly, it uses the Windows commands, present a consistent interface, and it has the power to do powerful text manipulation when needed.
I also liked this article. Gives a great insight to the things that just seem to work in Scandinavia, such as free education and health care. However, it does not shed any light on things that do not work in the Nordic countries. The socialistic model builds upon trust; a trust that people will not abuse the system. In Denmark, a big problem is that unemployed people with children turn down jobs simply because the pay is not substantially greater than their welfare check which they get for doing nothing. This becomes very expensive for the tax payer in the long run if not solved.
if you want the best value on food then go to the grocery store.

Assuming your time and transportation has zero cost. And even then you're going to have to be buying pretty massive quantities to get a big enough of a bulk discount to even have a chance to make yourself a burger for anywhere near $1.
“F1 in XAML” Is a Showcase Application Demoing Material Design in XAML Toolkit
Interesting, excited!
I see it kind of like this: 10 years ago when I had my first official job post college we needed some tools for interacting with our manufacturing data sets. I opened up Visual Studio and created some Windows applications and installers.

Then we deployed a web service written in Java (because at the time any web server we had was *nix) to create some additional functionality and hooked the desktop apps up to it.

Then we swapped out the desktop apps because too many people were not upgrading and getting all kinds of errors. Or desktop support was getting too many calls because the end user had a borked environment.

This was all many moons ago and happened in the span of 18 months.

I started out as a desktop and server API application developer. Today I haven't written an exe since I left that job but to build UIs over the years I had to learn HTML/CSS/JS. That is, I feel, we got the 'original' full stack developer.
User focused language design in Elm
> It's like their brains would shatter into a brillion pieces if they ever had to think about tail recursion.

Come on, man. Your anti-Rubyist bias is showing way too clearly. I switched to Elixir from Ruby (or rather, am still trying to move all my project work over), and I grokked tail recursion just fine.

> LFE is a nice project that grows as people use it without trying to form an army/cult around it like so many other languages do these days

No product (language or otherwise; trying to include Apple, here) ever "tried to form a cult around itself." That is just a natural happening when a new thing is really really cool. So discounting something because of its popularity is sort of an "argumentum ad populum" fallacy in reverse (arguing for OR against something because of its popularity).
Another Idiocracy prediction[1] comes true:

1. https://www.youtube.com/watch?v=wW-4LU79qbU
The 12k bots on pandanet are good for learning how to make large groups live against a relatively good opponent, large group deaths are usually the most damaging thing to a beginner's results.
For reference, here are some others:

http://www.mandatory.com/2013/08/09/10-things-idiocracy-pred...
Do people tend to love "THE" monolith, or do they tend to love "THEIR" monolith? By that I mean, do people like some of the simplicity & efficiencies of the monolith pattern as a general pattern, or only when they're able to strictly control the evolution of the architecture in there?
A trivial Google search shows that you are entirely incorrect.

And comparisons to Google or Amazon are unreasonable, as both these companies sell cloud services. Apple does not.
Sarcasm, I suppose?
"Researchers compared access to supermarkets, smaller grocery stores, and convenience stores in largely black, Latino, white and racially integrated neighborhoods in a national sample of more than 65,000 census tracts. Earlier research showed that convenience stores and groceries, which are smaller than supermarkets, stock foods higher in fat, sugar and salt.

The study found that living in a poor, mostly black neighborhood presented "a double disadvantage" in supermarket access. Unsurprisingly, poor black neighborhoods had fewer supermarkets than wealthier black neighborhoods."

http://articles.latimes.com/2013/oct/30/science/la-sci-sn-po...
Any way you could provide a link to this off the shelf gear?
what about the energy it takes to make the chips ?
So basically only a very small outlier population (those who make over $200K) can actually afford to live in the area.
Bummer. Oh well, at least typeof and compound expressions can be blessed?
GrowthCasts.co Where you learn everything you need to grow anything you want
They're not a commonplace in the eternal debate over whether moderate alcohol is healthy or not, which is why this paper is so awesome.

The other ways to do causal inference are also much more unreliable; I'll take a questionable RCT over a Mendelian randomization or regression-discontinuity design any day.
In that case: @horse_js
I don't think so. It'd be more cost-effective to let us all starve.
Ah. "Error code 23, extreme gravity present"

It's OK, we don't know what this error means. We'll override it.
Agreed on both statement expressions and typeof; those seem like they could and should be standardized exactly as currently implemented.

I'd like to see blocks/lambdas standardized, but I'd want to see a second implementation first. I also hope for better properties than those of the Apple blocks extension; I realize C does manual resource management, but the lifetime issues in blocks seem particularly worse even by C standards.
This is awesome and I hope it ushers in an era of the web being a platform for high-performance apps in general.
Finally, a Bank Built for Fintech Startups
I'm not really seeing the issue. Struts is built on Java EE (which was implied if not explicitly stated). The backend in his scenario was built explicitly on JAX-RS (a Java EE component). He could have been a little more explicit, but I'm pretty sure that wasn't the point of his article.
For me, the answer for the given scenario was so straightforward and obviously "yes" that I wondered why a whole blog post was necessary?

This now has me wondering if I am a bit more drunk on the container koolaid than I may have thought!
And by that, I mean a dedicated effort. I used VsVim and Vim for years, and I've made multiple attempts to switch to Emacs. But I keep coming back to the fact that the majority of what I need can be done in VS and Office.

Don't get me wrong, the idea of Emacs is awesome: a configurable text editor using a dialect of Lisp? This is great, not only can I shape the tool to my needs, I also get to use a great language. However, at some point I do need to get my work done.
Odd, it was working very recently. Here's another PDF link: http://hospitals.clalit.co.il/hospitals/soroka/he-il/News/Do...
Agreed. Well, with the date, anyway ;-) (though I am an SBCL user) Somewhere around 2000 we saw the end of AI winter. This most likely owes something to the fairly impressive Lisp marketing that PG did. Within a few years, several new Lisp books came out, and a few years after that we saw what the other poster mentioned: but not Just Clojure, a plethora of Lisps. To mention just a few: Clojure, Liskell, and LFE (LFE was actually started in 2007, first released in 2008). To the best of my knowledge all of these were completely unknown to each other at the time of their inception, and thus indicative of probable momentum in the wider Lisp community from an earlier time, possibly the once-again-growing acceptance of Lisp that started ~2000.
> Might be a loaded question, but doesn't full-stack mean just "web developer"?

Huh, interesting question. I think a "web developer" could focus more on front end or back end; I usually identify as "full stack web developer" to indicate I do both.

However, if I read your question another way: are you asking if "full stack" could apply outside the web realm? Can you be a "full stack"... erm compiler developer? I know compilers generally have a "front end" and a "back end", but I'm not sure if I've heard the terminology used that way. I'd be curious to know if "full stack" is used in other niches of software development than just the web.
At least we moved on from hearing about a new Javascript framework everyday. Now we argue about how Go is/isn't a good language. Oh and whether AlphaGo beating Lee Sedoul marks the end of the human race, or means nothing at all.
ProtonMail's encrypted email is now available to all
It's old now (and I wonder how much it's changed) - but there is this great video of Google employees asking people in Times Square what the difference is between a browser and a search engine:

https://youtu.be/o4MwTvtyrUQ

Most people conflate the two. IIRC the video was used internally as a tool to press the notion that they _had_ to build a browser or risk losing their search engine dominance.
Ask HN: Graduating from university, any advice on getting job in a startup?
I'm graduating with a master's degree in computer engineering, I was looking to work in a small startup environment but the thing is I'm not from bay area, it's not possible to attend any networking events, I couldn't connect to anyone. I tried emailing few companies but most of them don't reply back. Is there any advice you guys can give me ? Thanks :)

My Background: Full Stack Dev ( Python + React + Django/Flask ....)

I was thinking moving to SF Bay area and looking for a job there. Do you guys think its a good idea ?

~ Snehesh https://snehesh.me

edit: added a new line
The big disadvantage of OSS versus (competent) infrastructure SaaS, is that open source software tends to have very poor operational efficiency. A major component of the infrastructure SaaS business model and defensibility is arbitraging the OpEx between open source and a properly designed SaaS implementation, primarily by radically reducing resource requirements to deliver a given level of scale and performance.

The rule of thumb for most infrastructure SaaS like databases, big data platforms, etc is that you can get a 10x reduction in hardware requirements versus OSS, hence the OpEx/CapEx savings, with a well-engineered implementation of the same functionality. As someone in the business of doing exactly this, I can tell you that this is simple to achieve. OSS may be "free" but if it requires an order of magnitude more hardware to deliver the same performance and scale as my cloud implementation of the same thing, it makes the OSS much more expensive to the end user.

This dynamic would go away if OSS infrastructure software was designed with performance and efficiency as a priority, but in practice that has been pretty far down the list of priorities for most popular OSS software. But I think most people are surprised by just how inefficient OSS software actually is compared to other implementations. I have been telling people for some time that without an increased focus on absolute performance and efficiency in OSS, it will be increasingly marginalized in usage because the CapEx/OpEx of deploying it is far too high compared to the alternatives.
Exactly this. Sometimes I will have multiple entry points (app, celery, &c.), but each process is always launched in a separate container.
To my mind, 'illegal' means that the compiler will complain. In this case, I don't even see weird, scary UB; this is just a case of the standard being completely unable to say anything about what will happen.

After spending too much of my life chasing these bugs, here the compiler will do exactly what you told it to, which probably means making your day miserable.
What interests me about this piece is Ms. Crawford's willingness to interpret President Obama's body language and to draw conclusions from it that support her argument. As a former adviser to Obama, she has the credibility that allows her to make inferences like that.

I wonder how many of Obama's aides depend on that body language for interpreting his intent and preferences. When Obama is in a meeting with dozens of people, only a few of his most senior advisers will actually get to speak directly to him and engage with him in substantive discussion. His more junior aides likely need to rely on non-verbal cues like body language in order to determine what he really means.

(Also interesting to me is the white-labeled medium site... I was not aware that was an option.)
I think the JVM can use some good competition and BEAM is ideally geared towards the next generation of immutable/functional/concurrent languages
No.

Books are definitely speech and we have copyright laws.
Unfortunately, because of header files, no.
Studio office of an art director, writer, production designer and producer
Massive Malvertising Campaign in US Leads to Angler Exploit Kit/BEDEP
Your Product Roadmap Is Your Product
There's some good points in this article, but those are lost in the false comparison of OSS/SaaS/APIs.

That's not even like comparing apples to oranges, it's like comparing apples to apple trees.
How about just type parameters that let you implicitly get sizeof parameters and pass function pointers without having to unportably cast them.
Yes, that is the purpose of the plugin. However, I need to use it rarely to test something I've had to work on so I can't disable it 100% of the time.
Good job! thanks.
Welcome to the Golden Age of IT: What does it mean and why is it important?
Think of the damage all this unhealthy food loaded with sugar, saturated fat, and sodium is doing to the community. Heart disease and diabetes are rampant problems among the poor because this kind of food is cheaper (often due to govt. subsidies) and more readily available. Not to mention all the damage we're doing to the planet with the industrial ag practices required to sustain this low priced crap. I'm sorry if I don't lament if the fast food industry is failing.
only the boomers buy papers in the UK now so all stories are through the boomer prism.
The Feds Are Wrong to Warn of “Warrant-Proof” Phones
Wow, never thought I'd ever see an AoO link on HN. I usually mentally associate that domain with slash fic.
copyrights != patents
Yes it is. Going from 2 to 10 registers and getting map data structures and compilation to machine code doesn't change that BPF is intentionally simple and even disallows loops. "simple and limited" is a good thing.
I have the LISP-STAT book by Luke Tierney on my desk right now. Love it :-)
There are reasons dollar menus are so popular at low-end fast food restaurants. In more poor areas of the US, supermarkets are hard to get to. The people in these places really only have access to CVS or corner stores that are high priced and only sell high margin, low quality food like canned ravioli.

Plus, a lot of poorer people already work at these places, so it's pretty convenient and cost competitive to the products from CVS.
Did some work with a guy from a non-profit in Mexico a number of years back. He had a gps in his truck and as I recall one of the mapping companies would take the data he shaded with them in order to make the maps more accurate, because he was driving a lot on roads they didn't have good data sets for.
No. I meant high-fidelity rendering as was shown in the post. Of course Moore's Law will soon give us high-fidelity ray tracing in real time also. The new hardware implementations are a step in that direction.
As for "running on a pretty beastly machine", that's my point - Moore's Law says this will soon run on your phone.
Been researching the YOLO network for awhile now. It's a pretty kickass setup. Hoping to port it to TF or torch at some point.
That's only true for the small number of outliers who make that much. For the rest of us, there's Gilroy and Santa Cruz and Livermore.
Hadn't thought of search engines as a URL cleaning service. I guess I do that sometimes too. Or rather, the combined address/search field does that now.
Hence, socialist safety nets. Because the alternative is.... unpleasant for capital/automation owners.

See: https://en.wikipedia.org/wiki/French_Revolution
Take the post's estimate at face value: 1 MW to run AlphaGo. Residential electricity costs on the order of $0.10/kWhr, or $10/hour for 1 MW. If the same machine were a better programmer than you, would you say "pshaw, come back when it beats me at power parity"? OK, the total cost of operation will be substantially higher (though it probably runs on cheaper electricity), maybe even approaching your total cost to your employer.

This does bring up a point I've wondered about: why haven't we yet found a productive way to spend lots of computing power on making us better programmers? Usually the most cycles are spent on compiling and on test runs, costing only a tiny fraction of our hourly rates. (Maybe that compute budget for software development looks at least somewhat different at Google and some other places.)
You want BGP on your edge router, where your transit connections, these are what do the ECMP towards your LBs which speak iBGP. I'm not sure where you would use a cheap switch in this setup, certainly not at the edge.
I use tshark for capturing a lot, it's great. One of the big advantages for me is that it allows you to use the more expressive (and familiar) wireshark filter syntax, e.g.

tshark -i eth0 -Y ip.addr==8.8.8.8

Instead of having to remember tcpdump's own fiddly syntax. Given that most of my protocol debugging work is done inside Wireshark, I'm much more fluent in that filter language.

Note that the above snippet is a display filter, so it's capturing all the packets on the wire, doing a full dissection, and then running them through a filter before printing them; if you're trying to capture on a saturated 1G link you might need to fall back to the capture filters which are simpler and faster (and I believe also use tcpdump's syntax).
Ask HN: How does Google Play source its content?
Hi All,
I'm just curious if anyone can point me in the right direction (links or otherwise) for my research. I'd like to understand the process for digital content making its way to the Play store. Is Google negotiating directly with Publishers, or studios directly? What accounts for the differences in content for iTunes or the Amazon stores?
> As he says, robots are the best workers.

That's not a statement that can be made universally, I think. They're way better in scenarios which tend to be deterministic, but otherwise not so much (e.g. when there's more interaction with humans!). I also like the predictability of robots, but more than once I got blocked by a e-toll system with Gandalf-syndrome - "you shall not pass!" :). It's really a lousy, lousy experience.

You can say "it was a case of bad implementation", but surely an analagous argument can be made to a less-than-performant human employee.
Vulkan at GDC 2016 videos are now available
My guess is quite poorly. Remember the assertion that all humans have two arms and two legs isn't even 100% true, which is one reason of many why the majority of the AI field abandoned the formal logic approach for statistical methods.

The other side of the story would be that the majority of the AI field didn't want to spend 30 years formalizing the large body of general-purpose knowledge.
Careful what you wish for. If your job can be done from home, it can be done from India.
Not Online?
It seems as if there is no area of knowledge or information that is not available on the world wide web. From car repair to forensic paint analysis to knot theory, there is enough on the internet to supply years of study.

This makes me wonder about the existence of fields of knowledge that remain locked up on paper. Is there anything that still requires a trip to the library? I don’t have in mind classified or proprietary material, or skills, such as martial arts or music, that still need to be transmitted from person to person. I mean a field of knowledge that has simply not been placed online and that can’t be learned about on the Web.
I'm shocked that you couldn't tell your heart was racing that fast. 200+ BPM is cray high. Either way, it's an interesting story.
Look back at human history. Now ask yourself how you can be so naive still.

We (society in general) will let these people starve and act like it's their own fault.

> They can focus on developing skills for higher paying jobs

Ever wondered why they don't do that now. I mean, everyone could right after high school right? They had tons of free time then. It costs money, an increasing amount of money actually. Where do you propose they get it? We (society) blame people for not improving themselves when they work hard to make a corporation money now, how can you think that would improve when they don't.
> We can tax these companies a modest amount and give that to unemployed workers.

This is subjective and a slippery slope. There really is no difference between a tax and raising the minimum wage. A tax creates a new middle mam, the government, who is responsible to pay people vs a business owner. Either way the cost is passed to the consumer.
I don't agree that the free software business models are failures. Many large companies need actual enterprise support and licensing to fulfill their business requirements. Just because most start-ups (which is clearly the author's circle of friends) aren't big enough to need such support doesn't mean that it's "failed". Support is a real value add, because it means that you have developers on call that can maintain the system you based your stack on. The fact that the code is free software doesn't make a practical difference to you (aside from moral differences I won't go into here).
Then we'd just steal the food and he'd get nothing.
I'm not sure exactly what the Ctrl-P does, but that sounds a lot like ido for Emacs.