skysight-inc/HackerNews huggingface dataset:
CLR-style just-in-time monomorphization is plenty performant: in fact, it's just about ideal. It's also not that difficult when you have a JIT when compared to the complexity you need for speculative optimizations of hot spots anyway.

In any case, the .NET approach isn't an option for AOT compilers like those of Go. For Go, the only reasonable option is ahead of time monomorphization, which really isn't that bad.
So the metrics collection is ON by default?
I definitely believe humans can live very well without killing. Mushrooms, cannabis seed pomace, spirulina, beans with grains, etc provide great nutrient sources. Still, some people depend on hunting and farm animals now, and it will take a challenging cultural shift and some resources to bootstrap an economically advantageous and (here, commonly viewed) ethical lifestyle change. For myself, I eventually want to sustain dogs, so I hope fermentation\pre-digestion would allow them to live well with these nutrient sources, but as of now, I believe I will need to start them with farmed prey animals that lived well first.
I was a little liberal in my wording, the intention was items listed for sale. "What's being sold on Amazon", "Are those sold on Amazon"... etc...

And again... don't take my word for it... go take a gander yourself. It's very obvious once you look at a few products...
Code seems nice but the plugin ecosystem seems much richer. I depend a lot on the linters available for Ruby and JS in Atom and they seem much less mature in Code.
Exactly what lesson do you think was learned? Do you think that languages that have had left-padding functionality in their standard library since forever (and there are lots of them) are going to remove it now?

There was definitely a lesson to be learned there, but it wasn't the one you're implying.
If you haven't yet, listen to one of the recent episodes of Star Talk Radio (Season 7, Episodes 4). They have Any Weir, author of "The Martian", and Dr. Jim Green, Director of NASA’s Planetary Science Division. Dr. Green describes how they now think extracting water from the Martian soil may be as simple as heating up soil. Supposedly, the Martian soil contains roughly 35 liters of water for every cubic meter of soil.
Piracy Fails to Prevent Another Box Office Record
Thanks! The tool on the site is not even beta, it's just a visual insight of what we are building. The real tool is much more powerful (e.g. we put a lot of thought into the responsive design controls and workflow). We would love to show you that, but it's not ready for prime time yet.
If you are on hidpi display, zoom to 50%. Also, please don't call it the worst before looking at this version https://twitter.com/vmdanilov/status/717282519356424193.
It builds for Windows.
Sure. Panic, recover, and defer are in the language, though, and are more complex than exceptions regardless of how they're intended to be used.
Agreed, there's a ton of counterfeit stuff on Amazon. I don't think they could pre-vet everything but they could be more aggressive about kicking off sellers of counterfeit things.
Well, it certainly doesn't explain how some devices have far smaller bezels.
> Multinationals control the single most important thing in politics: jobs.

This political obsession with jobs seems to be a relatively recent phenomenon. Perhaps going hand-in-hand with the rising influence of corproations. It makes one wonder if the myopic focus on "job creation" is really what politicians should aspire to.
Go does not eschew dry, it just draws the line a little further toward repitition than other languages.
The Strange Case of the Woman who couldn't recall the past or imagine the future
If recover is used in a file you never read, is its complexity relevant?
Should we scrap welfare and just pay everyone £100 per week?
Minor nit pick but don't you typically do something like this in C

pid_t childPid;

switch (childPid = fork()) {

case -1:
... /error handling /;

case 0:
... /Child Specific/

default:
sleep (5);
}

edit - seems to mangle formatting but something like that seems fairly clean.
Is there evidence that the feeling of being aware is because you are more aware, or just because you are high? I've heard people say that they have had incredibly meaningful experiences while on psychedelics, but I've also heard some dumb ideas from people who were smoking pot. So I'm curious if you think the reasons for feeling more like a person without aspergers were real at the time after you weren't high.
Also smaller memory usage.
I've been using Druid in production for our analytics platform for quite some time now. This is excellent news! For an easy entry in to Druid, check out http://imply.io/ :) Congrats to devs and contributors! I owe you all a pallet of beer. <3 you guys!
Consider you are a damn good driver, better than self-driving software. If self-driving software can reduce your risk by giving you a safer environment(by replacing lots of bad drivers), but it will increase your risk when handling risks(because it's not as good as you). Would you like to choose self-driving software?

The point here is, no matter how good the driving environment goes, I do not want to lost any chance to survive(If I'm a good driver).
Hence why we GUI guys rather use a REPL than a plain UNIX CLI.

Graphics, the expressiveness of a sane programming language and interaction with the complete OS stack.
The Art and Science of Presenting – Episode 4 – Envision
Vaultedge uses a combination of Machine learning and parsing to categorise documents. First level ML will identify the file as belonging to certain category and then that category focussed ML training set will give us the sub-categories. Sometimes we also do plain parsing to arrive at the category. But all these are automated, there is no manual intervention involved. Thanks for your question. Please feel free to ask any follow up questions .
How to set up cron job for IPS Community Suite?
On Android 5, most Nexus devices dropped all SMS apps for Hangouts.

And Dialer, Launcher, etc also require Google Play Services now.

I'm currently using the AOSP Launcher3, and it doesn't even properly align icons in a grid, because it's missing the autoscaling of Google Now Launcher.
At any decent team this is the case (that football pays for itself, plus the other sports programs). Shit even at my alma mater which was awful (at football), this was still the case, and the head coach brought in like $1m/yr. Lot of money there.

Not enough to pay for that fancy new stadium though...
Generics as a language retrofit tend to be ugly. See C++.

I was at one time plugging for parameterized types. Go already has parameterized types; "map" and "chan" are parameterized types. You write "make(chan int)" and "make(map[string] int)". You just can't define new parameterized types; "map" and "chan" are all you get. With parameterized types, you could create more generic data structures; if you needed a generic b-tree or a quadtree library, you could have one. Maps in Go are more special than they should be.

Parameterized types are less powerful than generics, but not too far from what Go now has. The goals in the document mentioned here require generics with all the bells and whistles. Remember, Go still has reflection; if you don't need high performance, you can simulate generics at runtime.
I wish services like this would be released without any kind of moral filter on the subjects it classifies.

I uploaded a picture of Michaelangelos David to the service to see what captionbot would say about it, and I got back a message "I think this may be inappropriate content so I won't show it."
Ask HN: Toys to help children aged 3-7 learn the basics of coding?
Do you have any recommended toys (preferably physical, touchable objects, not software) for teaching young children the fundamentals of coding? I understand that at this age they may be too young to grasp all of it, but if it lays the foundations for understanding how you can use basic building blocks and rules to solve problems, that would be a great start.

The only toy I'm aware of is the Cubetto by Primo Toys, and I'm not sure how effective it is. Any suggestions would be appreciated!
Encryption and Decryption Using Crypto-Js in Angularjs and Vector
My one-hand usage is to hold and tap with my thumb.
But often I tap the screen and hit a word rather than blank space, shich pops up the dictionary.

This is so frustrating that I have basically trained myself to always swipe. But swiping with one hand is not a very comfortable thing.
The 3g kindle's side button where a lot more pleasant to use.
Mysterious Alignment of Black Holes Puzzles Astronomers
Fwiw, since we're comparing Sketch with Adobe products, I frequently have very similar undo issues in Photoshop. Parts of the canvas get "stuck" and won't undo. I have not found a way to recover from this - it seems like the history gets permanently corrupted.

I know Sketch has frustrating bugs, but I honestly don't think they are any worse or more common than bugs in the Adobe products I use. And Adobe has had much more time and resources to fix these issues.

Maybe people are less forgiving of Sketch because it feels like a more lightweight, less complicated product, so you expect it to be bug free?
Here is the Verge's take on the new emojis
http://www.theverge.com/2016/4/13/11423722/android-is-finall...
Posted this on facebook, friends chose to support. It's obvious to everyone that accounts with no karma won't get anyone anywhere. But it's nice to have people rooting for you. Even though they didn't happen to be long time Hacker News users.

Thanks for taking the time to check the accounts of commenters. While you're here, would you mind sharing your feedback about Remember? We'd appreciate it!

Edit: Feel free to reach me out via email for the demo.
Continuued promotion of the false premise that, eating saturated fat and cholesterol is unhealthy,has literally killed and caused misery to hundreds of millions.
ie Those responsible are mass murderers.
Butter was demonised, yet grass fed butter is far healthier than any oil, including olive oil.
Ghee has the highest smoke point, many vegetable oils turn to poison when heated because they are unsaturated ie far less stable, they also spoil very easily.
I make ghee by gently boiling Rachel's organic butter for 30 minutes, then filtering through cheese cloth, it tastes great and smells lovely and nutty, unlike shop bought ghee which smells off to me.
To be fair, Hacker School / Recurse Center is a considerably large brand name and is doing imperative work in the programming education sector.

Regardless your anecdote does parallel other YC companies' in that a Brian Chesky email is tantamount to a first year YC founder's or as you mentioned a founder from batches over half a decade old.
> And the well-known performance and memory advantages, however small, are critical for mobile devices.

Windows Phone is many things, and few of those things are good. But in terms of UI responsiveness and overall speed, it puts my android to shame and competes with my iPhone.

And the security story of unmanaged languages is perilously bad. I don't see how people justify it anymore.
My point is that you can work on .SVG from a program; it's a simple text format. It's declarative, not executable. You don't want to have a Turing-complete executable graphics representation; it's too hard to edit. Postscript and PDF are executable representations, and editing either does not work well.

Also, if it's executable, someone will write an exploit in it.
the overall increase helps you indeed. But do you want use self-driving software if you are a great driver(or you think you are)? I do not because I want to be more safer by driving myself.

If great drivers like to drive themselves. Others wants too because they do not trust these great drivers.

In everyone driver's eyes, there are only two kinds of drivers
1 ) bad driver slower than me.
2 ) mad driver faster than me.
It's working perfectly now. Thanks!
I compiled a list of questions and answers from this thread, around the web, books, and personal experience and put them here:

https://gitlab.com/doctorj/interview-questions

It's in machine-readable format (YAML) with metadata so you can filter and sort. Would love comments and suggestions.
It's almost like people's expectations for software go up over time.
You can buy automatic watches for ~$10 with cases, straps and shipped.
If you have the money, there are lots of commercial JVMs with compilers to native code.

There are quite a few open source ones, but they aren't as stable.

As always, Language != Implementation.
I had this issue on older Mac's, but my 2014 Macbook Air (1.4Ghz Core i5 Haswell, HD 5000) has been silent when watching 1080p YouTube and Netflix.
It's not that you can't write the code properly in C, it's that the language and function interfaces give you no handrails to protect you from a mistake. And in this case, doing the wrong thing could be disastrous to your system, especially if you had to run it as root.

Great intro to Rust and Unix post!
(Not OP) Usually when I am using this technique it's for some 3rd party library that provides a useful debugging tool. To use your suggestions I'd need to create a wrapper that calls through to the 3rd party library in dev. Sounds like a huge pain.
The Biggest Problem Is Our Ability to Convince Ourselves There Are No Problems
This is one of the many side effects of Product Hunt not opening submission rights to everyone and actually addressing claims of elitism.

Low-quality submissions can get prime placement when all the submitters friends upvote it. https://medium.com/@minimaxir/product-hunt-s-response-to-acc...
Just get an AOT compiler, plenty to choose from.

Also since Java 8 with tiered compilation, I wouldn't consider a few ms a huge startup time.
Why Luck Matters More Than You Might Think
If Work Is Digital, Why Do We Still Go to the Office?
I think what's happening here is pcwalton is a language implementer, so when you talk about 'conceptual complexity' he thinks about how the feature is specified, whereas you or I think about how the users of the feature think about and use it. We're all talking past each other a bit, I think.
>Well, by definition, very few people are best in the world. And we still want most of the rest to get a college education.

Why is that? speaking as someone who doesn't have a college education, I'm fairly certain I would be less wealthy, by a good bit, had I gone to a mediocre school rather than no school at all. I mean, there are non-monetary benefits to school, too, and while I'm looking to go to college now - I just wasn't ready at 17.

It seems to me like the problem is the number of jobs that look for a degree even though college is little more than a class filter for them.
6285697019235
Intel takes aim at Arduino with US$15 breadboard
Java 9 brings LTO via jlink.
The lack of names and personal information hasn't stopped imageboards and forums like 4chan and 8ch having thriving communities, nor 2channel (the extremely large Japanese forum they're based on).

Obviously people on these sites have formed lasting relationships with the community. Sometimes literally, there was a case on 2ch where two people met in real life, didn't know each other, found each other again on the site and ended up getting married.

But maybe the format works best on forums and sites accessed on desktop rather than mobile apps.
How to get 20,000 app downloads per week
"Freebooters" often crop out watermarks and claim rehosted content as their own.
I find a lot of irony in this comment.
.NET also has AOT compilation, which HNers seem to keep forgetting about.
ha, googling gives me OCI Open Catalog Interface, some SAP standard for SRP software, which makes no sense in docker context, at all :D
Paredit is a textbook leaky abstraction. I find the experience very jank because of it.
The quiz is basically asking whether you know any white suburban Evangelical Christians.
Thinking above the code
Octopi also eat octopus. Probably because they are delicious.

They are still brilliant.
> On Android 5, most Nexus devices dropped all SMS apps for Hangouts.

AFAIK you can download Messenger from the Play store.
More like they had a taste of the science and decided to work out the last 90%..
But that's actually the right way to do science generally.... Just not in this case.
Just FTR, you can (almost?) just as easily use VyOS. It is open source and supports IPSEC site-to-site.
Yeah, the tech is not yet ready for prime time.

1) Close-up of a roman coin

- I think it's a banana peel

2) Inverse black-on-white outline drawing of a wolf howling at the moon (logo of comic series Elfquest)

- I am not really confident, but I think it's a close up of two giraffes near a tree.

3) Red-on-black drawing of eight arrows with a circle in the middle (chaos symbol).

- I am not really confident, but I think it's a red and white sign.

4) Red-on-black drawing of a hammer-and-sickle (communism symbol).

- I am not really confident, but I think it's a picture of some sort.

5) Ltd Cmdr Data laughing, one hand on his chest, the other extending outside the picture.

- I am not really confident, but I think it's a man holding a wii controller and he seems :D

6) Germaine Greer biting the head off a barbie, while shaking another off its ponytail

- I am not really confident, but I think it's a woman eating a doughnut and they seem :D D:

7) Image of a tiny lilac octopus on a black background

- I am not really confident, but I think it's a close up of a doughnut.

8) Red-on-black drawing of an "A" in a circle (anarchy symbol)

- I am not really confident, but I think it's a lamppost

9) Black-and-white picture of actress Liv Ulmann

- I am not really confident, but I think it's a man with a stuffed animal.

10) Portrait of countess Elisabeth Bathory

- I am not really confident, but I think it's a woman wearing a hat and she seems :|

For the record, number (10) is spot on (though with low confidence, so may be just random).
My point is that I can hack things up quickly and in the process discover lots of stuff without needing to be able to run the hacked together code, because typechecking it is enough to guide me in how to reshape it.

In dynamic languages you can also hack things together and run them (manually or through tests) to see how your hacks aren't fitting together right. I'm not saying untyped languages are bad, I'm saying that they are not inherently better for prototyping in my experience.

Libraries are important, but totally outside the scope of this conversation and I think its rude of you to raise an implication about them here. Everyone knows Rust is a young language and has the libraries that come with that.
Of course I don't want to actually force people to change---that would be a very hollow sign of progress indeed! The hope is something else become vastly more common without anybody being coerced.

Today's IDEs are clearly not superior in all respects, or emacs and vim wouldn't have the usage they do. I hope whatever comes next can be more uniformly better.
I just realised that a bunch of people I like are into rock climbing, which might be the reason for the different association I had. Climbers are nice people, in my experience.
I believe the headline is a herring. It's a build up to this paragraph:

> You know where I’m going with this, right? I’m about to tell you that the company behind all this is Monsanto, or Shell, or Coca-Cola. That your car is running on the ethanol this plant is producing. That the U.S. government is funding or facilitating or failing to prevent what is taking place here.

> But none of that is true.

I enjoyed reading this article. It's like a story, and this is 'the twist' - one of many.

Even the first two subheadings are misleading.

"Naming the shameless" - Big company logo... Can I get my pitchfork? Nope. Turns out this company did the right thing.

"Village chief has 500 acre farm, 114 children"... Wow, this guy must be in on it!!! Nope. Turns out he got screwed too.

This is a story about a local company in Zimbabwe and a commentary on companies operating out of developing countries where there is not yet a system in place to penalize destructive behavior.
I guess Sam does not really care that much about this specific deal. But he want to make a bigger point so that we all can learn from this.
Stayuncle a startup from India is crowdsourcing everything
We were too deep in already unfortunately, but 1.10 introduced a whole new barrage of bugs and regressions, wasting hours and days working around it. If they don't devote some time getting the basics right and getting the core stable, we need to really consider alternatives. I'm already scared what 1.11 will break.
Most of my coworkers do this, but their VMs are insanely slow and my native Linux is fast, so I can work more productively by running Linux.
Yea, speech therapy is super super helpful. Six years of that was probably the most effective treatment I have ever received (and probably the only treatment that has turned out to be helpful 20 years later) and I was non-communicative until 3 1/2.
> quality and exclusivity is going to be important value proposition. From the company point of view, this is the logical decision

Debatable. Developers and customers are becoming more mindful of the value of open systems. If the best developers are not exclusively working on Rift-only games, then Rift gains little by investing in that idea. Exclusivity only works when you have the best people working on your product.
How Much Does Your Commute Really Cost
In reliability theory "X failed" is a poor error message. What we want to know is which failure mode has been triggered.

The function of kill is to kill a given pid, so there are two failure modes : "the pid didn't exist" or "the pid didn't die"
Does anyone have any idea of how many customers sketch has? Or even similar products like balsamiq?
No, I mean I think maybe GM's legal team should have figured out about this situation before the merger was publicly announcement. Sure, maybe no-one at Cruise would have thought to bring it up, but I'd expect that the due diligence process might be thorough enough to catch it.
What about random chance?
Well he answered me as if he understood me, so I am going to go ahead with that assumption. This thread is not at all difficult to follow. Anyone who uses rescue should be shot on sight--it takes a masochist to introduce panic as a stack unwind mechanism intended to be caught. The process should stop. I have never seen rescue used in the wild, so it seems as if the only thing this has in common with exceptions is stack unwinding. It is apples and oranges and the performance difference is meaningless unless you try to use them as the same.

To be fair, pcwalton was not advocating this. He was pointing out that defer is already more costly runtime wise than exceptions, correcting another person.
If you have H.265 content then yes - but no one currently uses H.265 on websites.
Moving from WordPress to Ghost
For a long time, you've been using Hacker News primarily for political talking points and ideological rants. That's an abuse of this site. HN is for thoughtful discussion, not rote flamewars in which every position is predetermined.

If you want to use HN the way it's intended, that'd be great. But if you keep violating that, we're going to ban you.

https://news.ycombinator.com/item?id=11425773

https://news.ycombinator.com/item?id=10890202

https://news.ycombinator.com/item?id=10793628

https://news.ycombinator.com/item?id=10785318
Reflection comes without the compile time guarantees (parametric polymorphism offers), and that is a far greater loss than the missed performance opportunities.
http://confreaks.tv/videos/railsconf2015-ruby-debugger-inter...

This is a video by Dennis Ulshakov, the maintainer. I haven't watched this in its entirety but it's only 20 mins.
Just my 2c and not coding related; I cannot recommend LEGO enough. Creative and logical, it was a huge influence on my desire to build things that are greater than the sum of their parts.