skysight-inc/HackerNews huggingface dataset:
What a terrible article. So they have a problem of users who are ignorant about the fancier features in a big app like Firefox. So instead of trying to fix that ignorance with education and a better UI, they punish the people that used to use those features while justify those actions with claims about how important it is to nerf the internet to protect these ignorant users.

Anybody that read my posts in the recent HN thread on building devices for safety (and the Therac-25 discussion) knows that I advocate strongly for spending the time and effort to make sure a design fails safely. It would indeed be a terrible design, for example, to provide a checkbox or radio button that let you disable important TLS/SSL security features. As a potentially serious safety risk, those features should be handled with great care. On the other hand, disabling javascript or image loading is not a safety risk; the worst that can happen to the user is they can't use some webpages. Removing the ability to disable those features isn't doing anything for the benefit of the user, it's Mozilla trying to avoid having to deal with tech support.

Some things in life need to be learned by experience, and by limiting the safer opportunities to lean about how the browser and the internet works, Mozilla is working to keep users ignorant when they should be doing everything they can to give their users the education they obviously need.

As for websites that break without javascript, this i just an excuse for lazy programming. Such sites should break, and Mozilla should loudly send any users complaining back to the websites that wrote broken, incomplete pages. This is yet another example where appeasement only hurts you in the long run.

http://www.sitepoint.com/javascript-dependency-backlash-myth...

(there is a difference between reduced functionality (which is perfectly acceptable) and totally breaking)

// here come the down-votes; saying anything bad about javascript is easily one of the faster ways to draw down vote - probably because far too many HN reader's paycheck rely on the user not being able to disable javascript

// don't bother replying if you just want to assert that javascript is necessary, because i have multiple existence proofs to the contrary. This does require finding alternatives for a handful of broken sites. Such is the cost of safety.
Apparently you and everyone else in this thread do not know the History of git

git is a tool developed specifically for Linux Kernel Development, GIT would not exist with out linux.. Linus Torvalds created git for linux.....

So releasing any tool for git that does not support linux, IMO is betraying the history and foundation of git.
13 vs 5 hours ago
Yea that's nothing. Probably wouldn't even get you a pound of weed.
I don't see a reasons for null to exist in a new language in 2015.
I used to work at Genius.com when it was a marketing automation company. Super weird to see it now.
Well put. It's not black or white, but a sea of grey. I will be emailing you to talk about automation. We share the same interest. :)
So the largest thread here is about something off-topic (case sensitivity has nothing to do with safety in Nim) and it's something that's utterly irrelevant. Bravo.
It's because we spent some time thinking the algorithms and optimizing them, and whenever we make changes to the compiler we make sure the times remain pretty much the same (it's hard because the compiler's size grows so the times inevitably grow, at least for the compiler). And from time to time we profile and optimize further, we like speed.

I believe with time Rust can achieve a similar performance, maybe even better because they will be able to do incremental compilation (maybe, I'm not sure how will they do that with parameterized types).

There's also the thing that most of the things in Crystal are lazy: if you don't invoke a method there are no type checks to be done for it. This means that you only pay for what you use (in terms of compile speed) but also what you don't use doesn't end up being in the resulting executable.
Tyler was talking about massive money dumps like Red Cross could do if hey didn't embezzle it, not GD's small local grants.
Can one explain schemes to biologists? (2014)
> I'm not against smart compilers, I'm against smart compilers that don't talk to me.

There are some extremely interesting advances in that area in OpenJDK. Java 9 will contain two relevant changes. The first, JEP 165[1] (fine-grained and method-context dependent control of the JVM compilers), lets you control compilation with metadata depending on context (e.g. inline method foo when called from bar); a much more interesting and powerful enhancement targeted for Java 9 is JEP 243[2] (Java-Level JVM Compiler Interface). It will do the following:

* Allow the JVM to load Java plug-in code to examine and intercept JVM JIT activity.

* Record events related to compilation, including counter overflow, compilation requests, speculation failure, and deoptimization.

* Allow queries to relevant metadata, including loaded classes, method definitions, profile data, dependencies (speculative assertions), and compiled code cache.

* Allow an external module to capture compilation requests and produce code to be used for compiled methods.

This opens the door to what I think is the most impressive compiler of the last decade, and a true breakthrough in (JIT) compiler design: Graal[3]. Graal supports languages of any level (it already has frontends for Java, C, Ruby, Python, R and JavaScript), and then allows complete control over code generation and optimization decisions at runtime. E.g. you tell it what kind of speculations to make, and it tells you which speculations failed. Unlike LLVM, you compile your language into a semantic AST (that may or may not match the language's AST) and feed it to Graal, but each node may contain not just semantics but instructions on speculation and code-gen control at any level you wish. During compilation, Graal interacts with the node and the node gives further instructions. As I understand it, JEP 243 will allow to plug Graal into the standard OpenJDK HotSpot (though at reduced speed), until Graal matures enough to become HotSpot's default compiler.

So what Graal will do is let the developer (if the language designer allows), write simple, high-level code, but tell the compiler, "listen, compile however you like, but when you get to this function, talk to me because I have some ideas on how to compile it just right".

[1]: http://openjdk.java.net/jeps/165

[2]: http://openjdk.java.net/jeps/243

[3]: https://wiki.openjdk.java.net/display/Graal/Publications+and...
One of my favorite features of this release, is the inclusion of text objects and visual mode for vi-mode (bindkey -v).

If anyone uses vi-mode instead of the default emacs-mode, they know how sorely text objects support was missing. Here's an example: in normal mode, if the cursor was at "e" in the word "hello", you would have to hit "b" to go to the beginning of the word and then use "ce" or "cw". Now you have the full power of text objects, which means you can use ciw, diw, etc. With visual-mode support, you can even now cut a region, or yank and paste.
When I read between the lines, this section says to me: "Yes, Nim is unsafe, but there are features on the way to help it be more safe."

'not nil' sounds like a great addition to the language, but what if you wanted that to be the default behavior without having to pepper it throughout every variable in your codebase?
They have a couple posts on their inference algorithm, but I confess I haven't read them.
I had a health insurance expert tell me with a straight face that she recommends getting a part time job at Starbucks to her clients. Apparently they give great health benefits to part time employees.
Looks great. Are remote positions available?
Please gave the courtesy to know what you are talking about before criticizing a program.
My home comcast connection in SF started being extremely flaky last week and I switched over to 4.2.2.2 etc and haven't looked back.
>1) I have ~50k vested shares of stock (options?) but don't have any paperwork other than our original contract which says something about the next board meeting, it's all rather confusing.

Nope, you have nothing. Zero. You got conned.

Your offer letter probably says something like "This option grant is conditional on being approved at our next board meeting." If you never got a letter saying that the board approved your grant, you have nothing.

Sucks to be you. Now you learned for next time.

Did you ask your now-ex employer about exercising your options? What did they say?

You can, if you want, talk to a lawyer, but he'll probably say the same thing I just said. Given that you are broke, you don't have the money to hire a lawyer and press this issue.

Besides, there are two possibilities, both bad:

1. The startup is going to fail anyway. No point exercising your options.

2. The shares are worth more than the strike price. Now you have to come up with the money to exercise AND pay a huge tax bill. Plus, the shares probably aren't liquid. Plus, the startup can raise money at their next financing with a liquidation preference, and you can wind up with nothing even if the startup eventually sells for a decent amount.

>2) Would it be wise to take advantage of a government run program like COBRA for insurance? I never used my insurance anyways, is it worth it to apply, and how are the chances that I will be accepted?

Yes, this is worth it, because you might get sick. However, with health insurance exchanges, you might be able to get a cheaper bronze/silver plan.

>3) My savings will not last long

That's why you keep an emergency fund of 6-12 months' living expenses. Also, try to find a new job before quitting your last one.
Show HN: Get iPhone battery level notifications on your Apple Watch
The algorithm isn't very easy to explain in a few words. We don't use any well-known algorithm. It has some bits of the cartesian-product algorithm, but just tiny bits.

There's some info here:

http://crystal-lang.org/2013/09/23/type-inference-part-1.htm...
http://crystal-lang.org/2014/04/27/type-inference-rules.html

About subtyping and paramtricity, I'm not sure what's that, but the compiler just keeps track of all the types and forms unions, except in one case which is this one (a union of references with a base type): http://crystal-lang.org/docs/syntax_and_semantics/virtual_an...
When you go to the grocery store, do you interrogate to find out what they spend overhead costs are, or do you ask if the product is worth the price?
In encryption one or two properly implemented and audited is better than 10 flawed ...
Thats awesome! I've been to your site a few times but haven't been able to pull the trigger. I leave my full time, non dev job this summer to spend time reading, learning, and travelling. I'll def. look into Hacker Paradise. Germany sounds awesome!
I am looking to learn a systems language yes. I'm going to go ahead with C right now, but Rust is something I've been looking at, and I'll definitely be picking it up in the future.
true, but the 10k withdrawal would have been a non-issue.
Hey everyone, just wanted to share. I wanted an Apple Watch glance to see my phone's battery level when I'm out and about.

Added two additional features: displaying cellular carrier info and Wifi status, and delivering notifications about battery level to your device(s). Trying these out, would love feedback.

Thanks for looking! Looking forward to hearing thoughts.
Believe it or not I actually considered that!
How do you model a "zero or one" relationship without null?

Maybe your answer is "with Optional" (or Option, or Maybe). We just choose to use union types and have "Nil | T" (Nil or T) be the same as "Option(T)" in other languages.
8million people is 0.11% of 7Billion, that's an excellent roi for 2 people
Changes have been made. Thanks for the feedback!
No, it's not.

Let me give you an example. In africa there used to be a great many tailors. This was a profession that was viable and quite respected on the continent long after the western world had gone to pre-made clothes. In part this was because the country had not modernized. Then the aid came. The aid came in many forms, but one of the forms was millions upon millions of T-shirts and jeans. The entire profession of being a tailor has been eliminated (of course except for the very rich people.)

I'm not saying africans should be tailors, but pointing out that aid distorts the market, and distorts the economy and can undermine it if it's not well thought out.

This is what Bono was saying and this is one of the lessons that GiveDirectly seems to have learned.
It's a book you have to pay for, and you can find it here: http://www.amazon.com/Presentation-Patterns-Techniques-Craft...
There's also this part too:

This request form is for our residential customers only.

I have a business account, and my connection was affected...
Have you checked https://www.healthcare.gov/ (or http://www.coveredca.com/ if you're in CA)? If you're living off your savings and have little or no income, your monthly premium should be heavily subsidized.
This looks outstanding! I knew someone would come along with a worthy TrueCrypt successor at some point. Regarding "security tokens": I love my Yubikey. It can act as a gpg smartcard with some configuration. Is it supported?
Yeah, that would take some stones for sure
In the case of buying a product you can evaluate the product directly. This is much harder with charity, so you can look at their financial efficiency to see if your money is helping people or helping the operators of the "charity" to get rich.
I am leaving a top tier university
Is it "overly" pedantic when making broad criticism of a given technology to at least be using the word that identifies said technology? RDBS is really common way to identify this class of products.
> "The idea was started because Daniel Tunkelang of Netflix was very anti RSS."

Um, what? I've never worked at Netflix, and I've never been anti-RSS. And I'm pretty sure there isn't another Daniel Tunkelang. :-)
Thanks, this was very useful.
Yes, or it could boil down to deliberately repeating a politically convenient lie: "Weapons of Mass Destruction".

We, the people, don't know, but it seems that they are lying about at least some aspect.
Using non-nullable types aggressively helps a great deal. You don't need to trust that your code doesn't have timebombs; the compiler can verify that those objects are always non-null. You can continue to use nullable types as simple form of "maybe"; no wrapper object is necessary. When most of your objects are non-nullable then the nullable cases are noticeable, and you know when you need to handle the null case and when you don't.

In JavaScript, for example, Closure Compiler and Flow both support non-nullable types.
I used to rehab and build eco friendly homes. It was definitely a hustle and grit and grind type of business.

It was all about snowballing your bankroll into more and bigger projects. You find ways to turn $10k into $100k and then you get addicted to trying to literally flip that money many times over.
Funny particularly because I did not defend America.

Not only did I not defend them, but I actually left open the possibility that they're lying— explicitly! And I suggested they might (hah!) be doing the same thing the Chinese allegedly did (hacking/spying/etc).

So relax with the rhetoric.
I've found veetal.de very good.
Google releases more details on self-driving car accidents
It's way more difficult to find a job when you don't currently have one.

1) Reread your contract and try to make sense of it. Pay a lawyer to review your contract regardless of whether you can make sense of it.

2) Yes, the government will now fine you through your taxes if you have gaps in insurance coverage.

3) If you're as good and confident as you seem to think you are, you'll find a job quickly, but not as quickly as if you'd been able to say you're currently employed.

If I were a potential employer, I'd think you make important decisions impetuously, and discount your value because of the apparent greater risk in hiring someone who makes bad decisions.
Forget familiarity, hot code loading, and the huge library ecosystem (the largest in computing history) compared to one of the tiniest, but Java's runtime monitoring is far, far ahead of anything Haskell (or any other language or platform) can provide, and while Erlang's is pretty impressive (a close second), it is still not on the same level as Java's.
> What's your hourly wage? Don't forget an hour of your time!

Compared to how expensive long term health care is, I'll gladly take the 30 minutes to cook my own food.
Thats it (according to Balmer, and Jack Sams who is the IBM exec that went to Digital Research to license it). IBM thought they could licence CP/M from microsoft. MS couldn't license CP/M and sent Jack to the Digital Research house. It was awkward. (Triumph of the Nerds Documentary episode 2 18 minutes in)
MS is (again) new cool kid. Rainbows and unicorns.
Senator: Investigate Disney for Firing Americans
Go without? What's the worst that can happen? You go bankrupt? Surely you've accepted that possibility already, if you're living on savings, and knowing that most startups fail.
Indeed it's becoming quite promising (using crystal already for few pet scripts which were too slow even for rubinius). Where it's most lacking at the moment is gc - it uses stop-world off the shelf boehmgc which is ok but not exactly great for memory heavy tasks.
Payment in exchange for silence? Ordinary income maybe?
My point was specifically in regard to the feasibility of omitting the types in all cases. I see types often in Haskell code, likely because the community regards that as a best practice (in contrast to Crystal).
Most people, including startups , will inefficiently spend if they get too much money in one series of funding. Cash flush can make you rush to purchase. Better to have a good plan before raising more funds.

Consumption isn't so bad to be worthless. At this level , consumption includes stuff life increased food for better health , which isn't reported in ROI. And a slightly silly analogy: Britain's elevate handouts kept many people afloat but generated one $billion profit enterprise (Harry Potter)
Root You Samsung Device with Odin Download
Where's the protein and fat? The brain needs both to function correctly.
You are right, it wouldn't be wise to create a new language without having concurrency in mind.

Starting from the last version there's spawn (lightweight processes) and channels for communications, similar to Go (although it's in a very experimental stage right now). We aren't sure immutability everywhere is the solution for everything, some algorithms and programs are much more efficient with mutable data.

I think Go is quite popular and have an amazing concurrency support. It's true, you have to make sure to communicate using channels and not via shared memory, but if you follow that rule than you won't have problems, and you can get pretty efficient programs.
it opens new possibilities that http does not that is the main idea here. Who cares about the web and it's protocol... this thing enables new things not seen before and that it enough.
Further, not all people are the same, so "healthy" actually varies from person to person. In at least one area this is dramatic: Some people are insulin sensitive and some are insulin resistant. I looked at the nutrition label on soylent. It might be healthy for insulin sensitive people, who generally tend to be naturally skinny.

But this would be a terrible thing for someone who is insulin resistant to consume. It has a very high amount of carbs and fat, which means that your body will see the carbs, blood sugar will spike the insulin will spike very high to compensate (since you're resistant you need more of it to get your blood sugar down) and the high levels of insulin tell the body to start storing fat... consequently making you fatter.

Unfortunately, so much of the diet science assumes everyone is the same, and ignores the insulin sensitivity factor (and I bet there are several other factors going on as well that aren't understood.)
Newspapers are likely a bad choice, yes. I've thought about this a bit. Subtitles seem good, and there are corpora of casual speech.

I plan to heavily bias towards verbs. Nouns are much more long-tailed, and their frequency is "bursty" --- if the noun is relevant to the situation, it'll be used a lot. So you can get them when you need them. Otherwise you can always use a pronoun, or be vaguer.
Four of these per day are still less than half the appropriate fiber intake for a grown man.
It is hard to imagine a more despicable online behavior than sowing cynical FUD about an incredibly successful charitable endeavor.
Show HN: Flask-Blogging -- Flask Extension to Create Blog
A Flask extension to quickly add blog support to your web application. Uses SQLAlchemy to support multiple databases.
Possibly, but you can be sure the IRS and FBI will investigate.
Even if you decided to re-invent all your UNIX scripts and tools
on PowerShell, you'd be missing most of the composable tools
that make UNIX what it is.

PowerShell's composability is based on piping objects rather than piping text.

Do you mean that PowerShell can't achieve the same composability that can be achieved on Unix, or that PowerShell lacks for example `cut`?
GD grants are so small that a roof is worth more than a grant.
Seriously. They know which customers are in the affected areas because they have their billing addresses. Just credit them $5 on their next bill.
Change "roof" to "food". Giving money only to people who don't have enough food to eat isn't a perverse incentive: there's little point in going hungry to get money; any money you get will be spent on food before anything else.
Do people put these background patterns behind text expressly to hamper legibility?
Whoa, this is cool. Do you have a live demo of this working on videos/images?
s/China/Iraq
then reread this comment.
It boggles my mind that Apple isn't using all these money for something better. What prevents them from, say, hiring up or luring away all the great CS/hardware PhDs, build a giant lab for robotics, build new space exploration company, new sustainable for-profit tech company, start massive search engine efforts, start giant initiative for for-profit cancer research and so on and on and on.

There are endless challenges to work on and we have tons of great people who would wholeheartedly work on these if they were paid well. The only barrier is capital and leadership ambitions. Apple can really put the world 50 years ahead in tech if they chose to invest the money in these areas.
For nostalgia, sometimes 4.4.4.4 ;)

Edit: Make that 4.2.2.2 (it's been a while).
Debito Arudou, is that you?
This seems like the form of charity most respectful to the recipient.
So, they refund you $5 in Comcast credit that will eventually come out of your next bill?
Why don't they simply measure the grains of powder sold? That will certainly be an even bigger and more useless metric!
The rule of thumb is that government tends to be less efficient than private markets. The residential ISP "market" isn't much of a market in lots of places. Comcast tends to operate as a monopoly or near-monopoly.
> I get ultra-intense dreams -- often about eating meat.

I have these naturally, without solylent, and also when I am awake...
www.something.com usually!
An American architect tried building a school in post-earthquake Haiti. He struggled for a while with growing cost estimates, finding materials, and cutting through corruption and bureaucracy. At the end he thought that just giving them cash would have been better.

> If you could turn back the clock would you just write a check to all the parents of the kids who go to that school?

> “Definitely,” Meyers said.

http://thebillfold.com/2013/05/giving-money-directly-to-poor...
Level 3 isn't cool with non-customers using their DNS server.

Google operates 8.8.8.8 and 8.8.4.4 that are for public use.