skysight-inc/HackerNews huggingface dataset:
>why do they feel the need to make a X-like scripting language, where X=Python in this case, and X=JavaScript in Unity's case?

This is the age old external vs. embedded DSL battle. I'm firmly in the latter camp, which is why I'm disappointed that Godot invented their own language. Embedding domain-specific languages within general purpose programming languages is better for users and developers alike. For the developer, they don't have to spend valuable resources maintaining a compiler tower. For the user, they get to take advantage of all of the cool libraries (which the external DSL will have none of) and learning resources for the host language. In other words, the embedded DSL composes, and the external DSL does not. We should strive to use things that compose, and get rid of the things that don't.
So was it good or bad? Is the tax money benefiting the people socially and economically while minimizing the side effects?
You’re not alone on this one. There are lots of monsters, for all of us, along the way. Glad the post was helpful. :-)
Viewing Rust as a panacea for security issues is certainly misguided. However, people should at least attempt to use a more memory safe language to write this stuff. If it proves to be worse code, then we're not forced to use it - we already have getaddrinfo to fall back on.
I am thinking about what could happen if a large company with communication platform engaged in encouraging these rules within their platform. Good world that woulud be.
Uber/Lyft Drivers Plan to Launch Competing App
It requires a little boilerplate but jruby works well and is reasonably performant if you precompile the ruby:

require 'java'

java_import 'com.amazonaws.services.lambda.runtime.Context'
java_import 'java.util.Map'

class Main
java_signature 'static String handler(Map<String,String> args, Context context)'
def self.handler(args, context)
puts "hello world"
end
end

# jrubyc --java main.rb
Caller ID API Now Includes Domestic and International Data – Free Demo
Actually the spurious errors didn't happen to me, however I actually use sbt tasks in intellij and deactivated every compile-server or whatever.
The only thing which happens really really often is that when I coded some hours that the errors can't be displayed inside a web view and sbt loops the error, however thats not a big deal since after fixing it it goes back to normal.

However my Scala project actually doesn't use too many "special" feature's I would say I actually don't use any obscure language feature, the only operator which I've written yet is a "~~" for a StringBuilder and else I actually wrote out EVERY type parameter to my function, etc. I would say we write our code so that it's readable inside all major ide's and is understandable by junior developers.
So to clarify my understanding... i-whatevers have some sort of "trusted computing" bootloader or something... so can only boot a digitally signed version of the OS.

So even if the FBI dumped the firmware from the phone and found just the right branch instructions to flip to disable the time delay and data erasure... they couldn't deploy the firmware because it wouldn't boot.

Is that generally what the issue is? And if it is... wouldn't that mean that Apple is 100% correct in saying that creating such a firmware would allow "law enforcement" to do this to any phone in their possession (since they could install the same firmware on other Apple devices?)
It's so odd how there's a near-universal reporting of small elf- or dwarf-like creatures from that drug. Is there any proposed mechanism of action for how it works?
Nvidia Updates Shield Android TV to Android 6.0 Marshmallow
Indeed, the author conveys the wrong message when implying that only pure numbers have no units. Measurable quantities, as you point out, can also have no units.

Another point that throws me off is the Vulcan scientist part. They would need to be using the same numerical base in order to get that number. There might be some base-less representations of numbers, but they are usually restricted to representing integer numbers. The constant could still be represented by a fraction, but there would be no math-neutral way of saying "hey, this here is a fraction/division".
> Heavy metal is (you have to admit that) a pretty rigidly codified type of music.

No we don't have to admit that.
That's not really "little known". Almost every single piece of code that does string manipulation in C uses that fact:

const char* s = ...;
while (*s++) { ... }
Video Content Marketing Roundup Feb 16 – Feb 22, 2016
Using Scikit-Learn in AWS Lambda
Have you seen what happened with the Android Open Source Project recently?

Google took the code and closed almost all of it.

They took, but don’t give back: The Email Client, the Launcher, the Dialer, the Calendar, the Contacts app – all of that is now closed source.

You can’t do anything on Open Source Android anymore.
I live in Colorado; Boulder, specifically. People aren't consumed with the issue of legal weed. It just isn't a serious contender in the arena of concerns people bat about. Most people smoke it, but it's not a big deal. Take a vape to the mountain along with a Cliff bar. Enjoy the view.

The revenue and benefits the market brings to the state certainly aren't lost on its citizens though. =]
Here is an alternative algorithm: fly with whichever airline is the cheapest, having a frequent flyer account on each airline. Accumulate miles separately.

It won't get you a elite status, just a status slightly better than the normal flyer -- and free tickets too.

It will prevent you from reaching the extremes of this mile madness, like spending money just to maintain your status.

Bonus: when airlines merge, you get a really nice status. It may not be that interesting now with so little airlines in competition, but around year 2000 that was something regular
Would be nice if we could run images in Bochs. Possible? Less overhead than having to install Qemu, which has grown to be quite heavy, IMHO.
His point is not about this particular case. He's saying that it has to do with a particular case, i.e. that the FBI is not asking that Apple install a backdoor on every iPhone.
It's good, because people are exercising their right to consume as they wish. It's bad, because that right is heavily taxed and regulated. It's good, because it's helped the economy. It's bad, because people spend way too much time thinking about it.
Burkean conservatism and classical liberalism (modern right-libertarianism) are leaps and bounds apart. Just go read Russell Kirk's essays chewing off libertarians.
A single business-class upgrade on a long-haul flight way exceeds that.
This can also be caused by (minor) eye issues. I had that effect for a while after PRK surgery.
A right is actually the inverse of what you've proposed. It doesn't exist in the absence of legislation, it is defined by the legislation.

Even natural rights are enumerated in law.

If it's not in legislation it's just a privilege, not a right, and can be superceded without appeal by e.g. a court order.
> These are not first principles. These are premises used to establish the logic that follows.

Aren't those the same thing?

It seems the author is referring to core beliefs or premises that the business was found on, as well as relationships in the team. The point is to get to 'truths' everyone agrees upon. Not unlike first principles in physics - you just assume because of the amount of evidence, that say, thermodynamic laws are true, and everyone can agree on that.
Do that. Then do it again 4 times a day, every day, for years.
Thanks. Should've come to the comments first. I just entered a mailinator address and 'signed up' with that. Kinda surprised that worked...
> Regardless of the merit of the case, I think it's pretty inappropriate that you are calling BillG naive.

Actions speak louder than words, I don't care who you are. In this case his words are adding to the dangerous narrative the US Govt wants this debate to be framed on: exploiting a tragic case of terrorism to unlock the legal precedent with 175 other phones waiting in the wings:

http://abcnews.go.com/Technology/york-da-access-175-iphones-...

With the FBI having court orders out for 13 similar cases:

http://www.theverge.com/2016/2/23/11098616/apple-fbi-similar...

If he's not naive, he's been actively complicit as part of the "Old Microsoft" (before security of user data affected their global Azure business model) who was more than happy to provide what ever access they could to the NSA which saw "Outlook.com encryption unlocked even before official launch" and "Skype worked to enable Prism collection of video calls":

http://www.theguardian.com/world/2013/jul/11/microsoft-nsa-c...
You assume that a glibc written in Rust would not have memory corruption problems. This is a naive assumption.

I'll leave you to discover why.
If you are doing nothing wrong, you have nothing to fear, citizen.

This is for your own protection, citizen.

Your prompt compliance in this matter is appreciated, citizen.
I fail to see where you're trying to get. c, e and h all have units and are measurable.
> And yet, if we did that to such an extent that most people couldn't work those jobs with those policies, would not society be better off as a whole?

Your attitude isn't just out of touch with reality, it's somewhere between 'callous and unsympathetic' and 'sociopathic.'

Roughly 95% of the people who work in crappy low-wage jobs like fast food or call centers already hate their jobs. They already hate what their employers tell them they have to do. They aren't there because they love cold calling strangers or asking you to upgrade your meal by 1000 calories, they're there because they need a paycheck and have little other alternative.

I can only speak from personal experience regarding call centers, but I imagine fast food isn't very different. Most people absolutely do get out of those jobs as fast as they can. In the call center I worked at, average tenure was 6 months if not less (that's exactly how long I lasted, FWIW). And you know what? Every time a person walks out the door, someone else walks in to take their place, because the world has no shortage of desperate people.

Taking the stance of 'we should torture these people as much as possible because we don't have access to their employers' is bad enough, but to smugly claim that it's really for their own good and the good of society is frankly disturbing.
How is it off-topic?

Anything people might find interesting is welcome on HN as far as I understand it.
That's quite a hyperbole.
Statistically, the majority of people don't seem to care, which puts commentors on hacker news alone and easily listed.

Look at the UK if you want to see our future.
What VC's Think Will Happen in 2016
Mongoose-orchestrator: On the fly references to attributes synchronisation
I don't know why your answer was downvoted. Your point is a sane approach to handling opposing/conflicting ideas. Though I didn't read the Original quote as accepting opposing/conflicting ideas.
This idea of reality being "passed through" multiple filters, and these filters being reduced or disabled on psychedelics, is developed (somewhat unscientifically) by Huxley in "The Doors of Perception"- it's a fairly good read.

If I remember correctly, the main criticism against this is that if it were the case brain activity should be reduced, at least in some regions, when on psychedelics. However, observing people on psychedelics with fMRIs does not match with that.
How Amazon Web Services Uses Formal Methods [pdf]
If elite status results in a free upgrade on 20% of your flight segments, and you fly 50 segments per year: 10 upgrades to business class > $560
I love that book. I listened to his podiobook version of it a few years ago. It still seems scary despite how very unlikely the scenario is to be true.
I think Musl would probably be a better starting point for a libc rewrite. It would be cool if people were willing to take this on.
It will lower average day-to-day sales, increase turnover, decrease morale, force the company to eat the costs of on-boarding new employees, and gradually diminish the value of telemarketing as a valid approach to sales. The employees will be better off working somewhere else--fast food, big box store, etc.--and society will derive more value from their career change.

Plus, these recordings like Jolly Roger, Lenny, etc. are a tremendous source of entertainment!
It's literally wet! You'll get dampened indeed.

Tsunamis are generated by water displacement from e.g. underwater seismic activity or a massive landslide. Wind-driven waves or tides would be driven by sustained forces.

Whether or not an asteroid can/has cause(d) a tsunami I don't know.
How is the universe bounded by time? Perhaps it's bounded by our perception of time, but that doesn't mean time cannot be infinite.
In this context opposition is not necessarily conflict.

Are two sides of a bridge opposing each other or conflicting with each other?

In a client-server security model the client usually wants as much as it can take and the server wants to provide as little as it has to. Are these opposed, or in conflict?
I've never heard someone try to say Nickelback is metal as a serious argument. I have heard arguments for Evanescence. I usually toss Nightwish their way instead.
I don't think the ultimate aim is serfdom, but it would be a form of abuse. Perfect enforcement of an enormous body of law would tend to punish creative people, as the only way to avoid triggering a large number of rules is to form strong, proven habits and keep to them. Constant vigilance is antithetical to either daydreaming or experimentation. It wouldn't be serfdom for the people who's personalities are compatible with routine and continuity and conformity; it would be incredibly painful for the rest.
Compared to some other studies of religion-inspired battles, especially those related to the islamic conquest of the middle east, northern Africa and parts of Europe the map seems to be rather sparse. An example of such a study is the one done by one Bill Warner which tells of '548 battles that Islam fought... [which] doesn’t include battles [in] Africa, India, Afghanistan and other locations' [1].

Given that the map includes football brawls as 'battles' and that this is only one example of a specific group of battles, the only possible conclusion can be that it needs to be fed with more data.

[1] http://cspipublishing.com/statistical/charts/Islam-BattlesDa...
> A class file can inherit from a global class, another file or a subclass inside another file.

> # optionally, extend from another file

> extends "somefile.gd"

> # extend from a subclass in another file

> extends "somefile.gd".Subclass

Interesting feature.
> Absent posted guidelines, road-warrior message boards are filled with speculation about why certain travellers receive Global Services. Is it a measure of dollars spent? Segments flown? Behavior?

The fact that he actually tried to redeem his points for a free flight probably made him a target for infection with GS-MAD :)
Why Correlation Usually ≠ Causation
For example, the OP itself talked about "folk metal", a sub-genre that uses traditional themes, musical styles, and instruments

Folk metal is actually well inside the tradition of heavy metal, that spans from the black/ gothic to the epic and fantasy themes. By the way there's even a more extreme musical genre called "folk": where people from different regions of the world perform actual folk songs strongly connected with their real traditions. Can you imagine, you can actually listen to folk music outside of the rules of heavy metal? That's extreme.

Metal fans love to bicker and debate ... over whether ... still counts as metal at all.

Exactly. A little bit of evolution or variation and people start debating whether you're still in the group or out. That's silly.

And oh yes, I've listened to my share of Yngwie Malmsteen and Cacophony. Heavy metal fans are certainly very proud of the raw technical skill (which is, in fact, just speed) of their players. But it's a sort of pissing contest, who can play the riff or the solo faster is not a good meter of one's musical talent or skill.
Crystal space and Ogre3d were pretty active back then.

https://en.wikipedia.org/wiki/Crystal_Space

https://en.wikipedia.org/wiki/OGRE
Upcoming features in GCC 6
First of all this isn't about brute forcing passcode attempts, it is about bypassing the passcode altogether. If the phone is open and can be made to automatically download and install a software upgrade, then this is possible, even if the storage is encrypted. Also, given that Apple is the phone maker, they can of course be coerced to produce phones with this capability, whether they want it or not.

There is is no "ideally" ;-)
Make Money Online, Forever – Money Pigz
How to Develop Laser-Like Focus
Protector – A Circuit Breaker for Time Series Databases
Artificial Intelligence Gets Its Head Out of the Cloud
DejaLu – Fast and Simple Email Client for Mac
If you are not putting forward an argument, then you are not contributing to the conversation, just wasting people's time reading your comment. Therefore I am downvoting you.

There are cogent arguments to be made about why Rust isn't a panacea. (I have a few I'm partial to, like integer overflow / truncation bugs.) But if you want people to listen to those arguments, make them.
The language is in a great state in terms of what's possible, and in terms of the underlying abstractions (partly why Dotty doesn't seem like an urgent requirement to me). It's in a much less state in terms of what those things look like in code. Shapeless is great in terms of what you can do with it, but much less great in terms of what the compiler errors look like when you make a mistake. Contrast with Ceylon where similar functionality was built in from the start.

Python 3 was very much at the front of my mind as I wrote that - I think their "plateau" has killed the language (I hope I'm wrong). People were complaining about language churn, but I wasn't one of them. With Dotty an unknown number of years away and no committed schedule, I simply don't think Scala can afford to freeze for that long.
How to Solve “Error Establishing a Database Connection” in WordPress
Because things can only happen until entropy heat-death. Then there's not enough energy to do anything. Stuff stops happening. And that's in, what, 20 trillion years? So bounded.
{ edited: trillion }
Ha! 10^30 years by some estimates. So, a thousand billion billion billion years. Anyway, bounded.
It is the same chip.

Should we suggest an extra milestone for the Kickstarter for `import 3Dtv` ?
Its legitimate use is so restricted (§20k BKAG [1] in conjunction with §4a BKAG [2]) that this would be a waste of everybody's time and effort; there's bigger fish to fry where privacy is concerned. Illegitimate use of such tools is (potentially) a different story, but that's part of the bigger problem of effectively controlling the BND and the other intelligence services.

[1] https://dejure.org/gesetze/BKAG/20k.html

[2] https://dejure.org/gesetze/BKAG/4a.html
How security sensitive is getaddrinfo? The recent vulnerability was actually in glibc's DNS client library, libresolv, not getaddrinfo itself (but it was triggered when using getaddrinfo). Therefore, I think that rewriting libresolv in Rust (and possibly the DNS NSS module) would be more fruitful than trying to rewrite getaddrinfo. It would also be easier - libresolv is in its own .so so you could swap the entire thing out, rather than having to patch glibc or use LD_PRELOAD hacks. (I actually started working on this a few days ago :-)
A philosophical argument for using statistics to process language
> This here desk I have here is about 1.7 times as long as it is wide. No inches or centimeters required.

But you are using units. Your unit is the width of your desk. If it were a different width but the same length, your measurement would be different.
The quote is "When scientists measure any quantity they must specify the units being used."

I am not convinced they determined the ratio of his table's length and width without first measuring those quantities in some unit.
Real or computer-generated: can you tell the difference
Regarding B), Can OS updates even be pushed to a locked phone?
Nice they include private registration though at no additional cost.
# a file is a class!

I'm having LPC flashbacks ...
You are not arrested for "having an opinion" but if you call for violence, deny the holocaust or endorse genocide. Those are not opinions.

Nobody moves the definition every day and it has nothing to do with encryption nor can those laws ever used against encryption by definition as they all include doing something in public.

Probably everybody who knows the German society will know whether something is "just an opinion" or violates one of those laws just be looking at most statements. It's one of those "I know when I see it" definitions that is shared among Germans. That being said courts have created very narrow and clear precedent on those laws.
Yeah, it's a bit pricey but certainly a more rugged phone than a $20 dumbphone. I guess the question is: "will it last five times longer or be significantly better?" I haven't tried it.

They have a few models that are quite a lot cheaper than this, but with less battery life and other specs.
Read my post again cause you obviously didn't understand anything of what I wrote.

You can have 2 components written in 100% safe language with no memory corruption and no race conditions.

You can have security critical race conditions that arise out of the interaction of same components.

How is Rust or whatever solving this? It doesn't.
It is more than that. There needn't even be a contradiction, many of the most contentious issues of the day have different base axioms supporting their arguments and different levels of credibility assigned to empirical evidence. Further part of the objective is developing empathy for those holding alternate positions. Resolving conflict often requires taking into considering irrational or wrong beliefs (from one's own perspective) but is nevertheless still necessary.

In fact, a big part of the current disagreements is holding oneself oblivious to the different paradigms held by those with opposing views. If you presume they are working from the same assumptions, then of course the only motivation for their views must be malice or some other vice. But that is rarely the case.
Y componen
Ask HN: What Makes an Ordinary Programmer a Great Programmer?
Anyone can learn and write to code but I want to become a GREAT programmer. I want to be good at problem solving. What recommendations do you have for anyone who wants to become a GREAT Programmer. I'm looking for some advice from like minded people here. I honestly love the hacker news community. Looking forward to hear from you guys. cheers
Deep learning is too expensive for most developers
That's not a Woah then. But they must've edited the article. It actually said "slightly thicker than an inch" when I was reading it earlier.
What is love according to music?
On LSD you become the alien.

On DMT the aliens come to you...
It would likely have LESS memory corruption problems, as you're eliminating places in the code that that can occur. The real question is: Does Rust allow you to write less bugs? That's a somewhat open question, but it definitely eliminates certain classes of bugs which are common today.
"This modern world of ours today..."
That's funny. Why the downvotes?
I've been using DejaLu for my Gmail the past couple weeks and it's FAST!

Going back to Mail.app is now painful. The sync speed and search are far superior in DejaLu.

I'm really excited to see where this app goes.
Sea sponge could be the first animal on Earth [video]
One-step process to convert CO2 and water directly into liquid hydrocarbon fuel
I thought that -1/12 was amazing, even to Vulcan scientists.
-https://youtu.be/w-I6XTVZXww
-https://youtu.be/0Oazb7IWzbA
Related article: http://news.mit.edu/2016/earth-first-animal-simple-sea-spong...