skysight-inc/HackerNews huggingface dataset:
Although for goo.gl "6292349 pages we tested on the site over the past 90 days, 826 page(s) resulted in malicious software" and for bit.ly "91856 pages we tested on the site over the past 90 days, 721 page(s) resulted in malicious software". The % of pages on goo.gl with malicious software is much lower.
Teacher spends two days as a student and is shocked at what she learns
How to jailbreak iOS 8.1.1 with Download Pangu8 1.0.1 [pangu8 video guide]
Show HN: Static-Weber
Yes, I think I will keep the reference to the slides for the case when people state Microsoft is the only company changing their mind about libraries.
You mean Qubes OS: https://qubes-os.org/ ?
I should add Adaptive LL(* ), ALL(* ), of ANTLR 4 to the mix here. It handles any grammar you give it and generates a correct parser except for one small caveat: no indirect left-recursion. It's the culimation of 25 years of focused effort to take LL-based parsing to the limit of power while maintaining simplicity and efficiency. See tool shootout in OOPSLA '14 paper I just presented http://www.antlr.org/papers/allstar-techreport.pdf Until we change the requirements of a parser generator, I'm done. :)
This is not even ES6, its some weird abomination (AtScript) on top of ES6.

We definitely wont be switching to Angular 2.0. Hello React.
11% of the global market. Remember that.

It is around 40%-50% of the developed world. Japan is the #1 iPhone nation at around 55% share, the US alone I remember reading its around 52% of smartphones are iPhones. Also 50% of iPhones out there use the latest OS (a month from release) and that will only accelerate while only 25% of Androids use the latest OS.

Edit: Also Apple is betting on turning China into an iPhone nation. There were around 20 million pre-orders for the iPhone 6 in China. The iPhone marketshare might shrink as more people get smartphones, but the iPhone isn't going anywhere soon, it seems its going to be the phone of the middle class around the world.
Scala handles this in quite a nice way: the compiler will optimize tail-recursive functions without needing any special effort, but if you want to ensure a particular function is tail-recursive as a matter of correctness, you annotate it with @tailrec and the compiler will error out if it can't optimize that function.
To be clear, the thing that you'd think would be a problem in dynamic languages -- lack of pointer arithmetic -- actually isn't a problem. Every language has a way to extract values from a byte string, e.g. the `struct` module in Python, TypedArrays in Javascript, ByteBuffer in Java, etc.

The real problem in dynamic languages is that they tend to be worse at inlining accessor functions. This is not really because inlining is impossible -- v8 can do it -- but because most dynamic languages don't prioritize performance in the first place and so haven't implemented such optimizations. This is actually a problem in Go as well, weirdly. Because of this, if you actually intend to consume most of the content of a message, it may make sense to parse it into a language-native data structure up front so that access doesn't need to go through accessor functions. Most Cap'n Proto implementations support this. Doing this will still be much faster than using Protobufs because the Cap'n Proto format is naturally faster to decode.

As David says, "Cap'n" should be pronounced like "happen", though pronouncing it as "captain" is OK as well (and will still get people to the right place if they Google it).
Leading questions and implications, but no answers. You bring up costs without even doing a rough attempt at quantifying them and seem to ignore that dealers provide value too by making it unnecessary for producers to maintain a sales location, sales personnel, local marketing and shield producers from having to deal with some maintenance actions.

As i said, an earnest explanation is warranted.
It seems to me they're trying to use the popularity of Angular.js to bring AtScript on the scene. Everyone who doesn't like JS tries to replace it with his own language or at least fix it. There are tons of different compilers that hide real JS from their eyes behind language x but when it comes to realtime debugging they inevitably have to dig into some real JavaScript generated by those tools. AtScript is not an exception here.
Huge Solar Flare Erupts from Biggest Sunspot in 24 Years
What do they use then?
Travel to a Black Hole’s Edge and a Far Future Where Humans Are Just the Same
Apple or Google don't have to block their apps for it to fail. It's going to fail because it requires customers to give up their credit cards (which many people love because of the benefits) and connect their bank accounts instead. Also the UX of using the app versus Apple Pay will also prevent adoption.
Girls Chase Boys – Ingrid Mischaelson by Lawrence and Ivy (Cover)
Now I think back many years to when I used bit shifts in C++ to 'optimise' some multiplications and realise I probably didn't measure twice before cutting. These days I hope I'm a lot saner!
What a back and forth, I wonder how long it takes until Twitter finally shuts it down.
It helps because instead of rewriting the whole app, just the function parameter types are redone where pointers to data are changed to bounds checked arrays, on a case by case basis.

It isn't a magic bullet, but as buffer overflows are (I presume) the most common cause of C security exploits, this would help a lot.
If dealers provide "value", why a law is required to "protect" them?

"It is error alone which needs the support of government. Truth can stand by itself."
> recursive algorithms, which need by definition a stack

Your vocabulary is not standard.

https://www.google.com/webhp?#q=recursive+algorithm

http://en.wikipedia.org/wiki/Recursion_(computer_science)

A recursive algorithm is one that computes a result by way of the same algorithm applied to a smaller input. (Smaller, or else the algorithm will diverge.)

The distinction between "stack" and "parameter" is a minor one. A simple factorial function has an ever-growing (accumulating) parameter.

Tail-recursive algorithms can be translated into loop algorithms. Thet are still recursive.
Underage fees are one thing, but policies like extremely large deposits if you won't pay for their insurance, paying surpluses for diesel models if petrol is unavailable (and they never are), having to pay for the first tank of fuel as well as the one you return it with, etc.

This, I think, is the biggest problem. You get told your rental costs 100 Euros on a website, you do that and turn up and suddenly you're looking at paying two or three times that on top of a deposit which must be paid by a credit card and may well be above your limit.

I think this is largely a problem with holiday destinations trying to fleece unwary tourists, I've had good experiences with local van hire companies who make things straightforward.
Multiple factors are to blame. I agree this is dumb behavior here by strings, but if the ELF parsing code were to be written in a language like Rust, it's far less likely it would have a bug of this nature.
> Seriously though, what's so bad about distributing Tesla vehicles through a dealership franchise?

From the consumer standpoint? That's easy: 1) another middleman adds to the price of the product and 2) there is a reason why people hate car salesmen.

From Tesla's point of view? Who's going to do this? You're talking about a car that sells single digits per year in all but very large or very specialized markets. So, the income per year for a franchise would be less than $100,000 per year at best. Tesla would have to subsidize that franchise to such an extent that it would effectively be selling direct anyway. But I suspect that there are bunch of franchise control laws that would cause issues, too.

The biggest issue everybody has is that these laws are blatantly protecting local car sales franchise monopolies with absolutely no justification from any consumer protection perspective.
Payment processing companies might have got into NFC as a "just in case it takes off" measure.

If NFC is going to cut their fees or remove them as intermediaries, they might be happy to see it killed off.
Haskell is great, but GHC's runtime system is 50000 lines of C.
Are there examples of either OCaml or Haskell being used for systems programming? I know that algorithmically they can achieve pretty close performance, but I don't think support is that great for low-level operations.
> do not teach non-technical people how to make a software business (expected success rate of people who buy that book: < 1%, if that) [but for example] write the book on Ruby on Rails developer integration testing, there is at least a 50% chance that I will be at least somewhat successful

You need to have certain ratios to give that advice.

For each Ruby on Rails developer who wants to learn about integration testing there are probably 10,000 non-technical people wanting to break into the software business where there think that they can becomes software millionaires working part-time in their basement. So, bigger audience for the latter book.

On the other hand, for each book about Ruby on Rails integration testing, there are probably hundreds of books that teach non-technical people how to make a software business. So, more competition for the latter book.

I don't know the ratios involved. Unless you have actual statistical information, I think we're both just speculating about which might be the better strategy.

I'd much prefer to write a good technical book rather than delude non-technical people into thinking they can become software millionaires. But looking at the cold hard rate-of-return, I don't know which makes more money.
You seem to be arguing against yourself. If 'strings' were written in a safe language, compromising the system would be extremely unlikely. Or are you seriously arguing that languages that are safer than C aren't Turing complete?

There are plenty of memory-safe languages in which you can do nearly everything you'd do in C, and much, much safer. There's no reason whatsoever a program like 'strings' couldn't be written in a memory-safe language.
I suspect we will see there will be additional criteria for these sort of payment apps with the App Store soon -- which will include criteria about privacy/security at CurrentC will be unwilling or unable to meet.
> He said he was sorry I felt uncomfortable with his choice of swag, but also appeared genuinely surprised at my discomfort. He didn’t want to offend me, but also didn’t understand why I would be offended in the first place. Francis didn’t seem to grasp that sex — or a woman’s sexuality — isn’t a topic appropriate for a professional setting.

Is he in 9th grade or something? This sounds like a basket Vincent Adultman would put together: "Expensive food, a alcohol, sexy toys... grownup stuff! Because I'm a grownup, giving a present to a grownup."
Ok, we changed the url to that from http://blogs.wsj.com/digits/2014/10/23/secretive-startup-unv.... Thanks!
> And I remember the quote from the "Rich Dad, Poor Dad" author: "I'm a bestselling author, not best writing author".

"The Rich Dad, Poor Dad" targeted a huge generic market vs nich tech market for "Javascript" (very tough market). Your book will also be competing with Video tutors like:

http://www.lynda.com/search?q=javascript

For only $25/mo, you can have access to all the courses in their library.
This made me listen to some Aphex Twin. Ouch. Luckily I soothed my ears with some Black Dog: https://www.youtube.com/watch?v=GUl6iJlEeTE
Rust... or pretty much any other language than C.

C is scary from a security perspective because it is both incredibly easy to write code that has subtle but very serious bugs leading to e.g. arbitrary code execution, and it is easy to exploit those vulnerabilities.
What I'm getting from this is that TwitPic was just holding the pictures hostage until it got the ransom it decided it deserved.
Can someone help my ignorance? I understand the appeal of automatic parallelization, but what is the advantage to creating your own chip? It seems to me that this is a translation that could be done in software either at runtime or at compile time.

Trying to launch line of processors, even without any of the translation magic, seems like a very difficult venture all by itself.
1. "Just" safety is hardly peanuts given the status quo. In fact, "just" safety would be much more practical. It'd be much easier to port all the existing code to a C dialect (like Cyclone) than rewrite from scratch in something like Rust.

2. I find compiler instrumentation (think AddressSanitizer and Mudflap) to be more promising than static analysis. Much of the latter is still stuck in the lint era and give out too much noise. That said, tools like Coverity have come a long way and I know a lot of FOSS projects use them frequently. I personally haven't.

3. Capsicum is quite promising, indeed. I like that it extends the existing file descriptor metaphor and offers sandboxing based on namespaces instead of system calls (unlike seccomp), as opposed to the crufty POSIX 1003.1e capabilities which are underdeveloped and still limited to executable processes, AFAIK. That said, we shouldn't just rely on sandboxing, jailing and capability-based security. We need to fix underlying application bugs, as well (the applications that implement the capabilities and sandboxing themselves, particularly so!)
Share your hopes and dreams. Confess your longings and indiscretions
RBP and R13 as base register – threat or menace? (2013)
While terribly written and in poor format, it has some semblance to ES6.
The advice about enabling -ffast-math is dangerous. Be advised that the fpclassify() family of functions (e.g. checking for NaN or infinity) no longer work as expected. If you really want to go into that territory, be sure to read the compiler documentation: -ffast-math is an option that in fact enables a number of other flags, and you may want to be a bit more picky in which ones you choose.
yess: http://i.imgur.com/NCfQzkJ.png
Which is relatively inconsequential as long as there's a clear boundary between things that can be manipulated by a user and the C code.

It'd be better if it wasn't C at all, sure, but, from a security perspective I'd take a language with a C runtime over a language where code has to be carefully written in a memory-safe manner any day.
"HTML mixed in with JS via JSX is also an abomination"

Why?
Here's more comparable lap time figures:

http://fastestlaps.com/tracks/hockenheim_gp.html

Still clearly some room to improve, but damn good for an autonomous car.
>And yes, formula 1 comparisons are unfair, but if they're actually within 30 seconds of DTM cars that seems pretty impressive.

The comparison that's really missing is to put a good racing driver in the same car and same conditions and seeing how much faster he can go. We're not testing the car here after all just the self-driving tech.
"Ivory" is a Haskell embedded domain specific language for writing safe C programs. One (very loose) way of thinking of it is that it compiles a restricted subset of Haskell to low level C.

http://ivorylang.org/
It is fucking baffling how anyone could think this was not a terrible idea, never mind a good idea.

There's probably room for a Q&A site IsThisAStupidIdea.com where you post something you're going to do ("I'm going to put together a press pack - this will include a bottle of alcohol, lube, and sex toys" and people can rate the idea for terribleness).
Sorry to nitpick, but just a minor correction - in general the class of drugs are antivirals, of which antiretrovirals are a subcategory for dealing with retroviruses, most notably HIV.
> I wish AngularJS’s dependency injection/forced modularity and HTML augmentation/templating were somehow independent and not requiring each other.

That was why I eventually switched to React after trying to find ways to have Angular-like components/bindings without the DI/IoC parts of Angular (even going as far as reimplementing parts of Angular).

If you only want the bindings, maybe rivets or knockout is an alternative?
It is perfectly within the rights of an airport to disallow guns on their airplanes, just as it is my right to disallow guns in my home.

With the advent of the TSA and the enforcement of its policies, now the government is searching my belongings before every flight, and the room in which the airlines could compete on features like privacy, is gone.

Even if buckeroo bob wanted to start his own airline that was full-size-shampoo friendly, they no longer can, because the government disallows it completely. If Virgin airlines wanted to eliminate the invasive body scanners and compete on convenience, they could not, because the government has decided that it wishes to scan the contents of every bag and person.
I take issue with the title of the article, which seems to equate positive thinking with naivety. It's link bait for exactly the people who don't need it: the despondent and cynical.
Roman Gladiators ate a mostly vegetarian diet and drank a tonic of ashes
The question is whether those concerns need separating. I've come to believe that the price to pay for that "separation" is too big and ends up being a re-implementation of shared scope (see angular's $scope)
Nanoloop was a great bit of Nintendo gameboy homebrew. I spent many hours tinkering with it.

http://www.nanoloop.com/
Sure. I re-wrote strings a few years ago in C#, worked great. That was at Microsoft, and sadly the code can't be made public.

I've done most of my OS-level hacking in C and a limited subset of C++. I think it works well down there, where resources can't be "magic" and it's really important to know what's going on (and you often have to tell the optimizer "hands off").

At higher levels, it's lunacy to be using C. I sure wouldn't write a compiler in one, for instance.
I also found the survival in the tea surprising. But it is reported to be the case:

http://www.nature.com/cr/journal/vaop/ncurrent/full/cr201413...

"Here, we report that MIR2911, a honeysuckle (HS)-encoded atypical microRNA, directly targets IAVs with a broad spectrum. MIR2911 is highly stable in HS decoction, and continuous drinking or gavage feeding of HS decoction leads to a significant elevation of the MIR2911 level in mouse peripheral blood and lung."

The paper does compare honeysuckle tea and synthetic microRNA, and they seem to be of roughly equal potency. The authors also tried the tea with a specific inhibitor of the microRNA, and whilst that does look it has some effect against the virus, it's very small. Sadly, the data around the question of whether the microRNA is the only active ingredient in the tea is not as strong as the data establishing that either of them are active.
Would you clarify what it is you mean?

The observation you quoted isn't using the full equations of motion. The next study on that page uses a change of 1 meter and finds that 1% of the 2501 cases Mercury goes into a dangerous orbit, including one where "a subsequent decrease in Mercury’s eccentricity induces a transfer of angular momentum from the giant planets that destabilizes all the terrestrial planets ~3.34 Gyr from now, with possible collisions of Mercury, Mars or Venus with the Earth."

You assert, seemingly as a matter of faith, that it is possible to measure all of the relevant factors such that a prediction can be made. We can't predict when an atom of uranium will decay, but we can make statistical predictions about the population. We can't predict when an air molecule out of a mole of molecule will hit the side of a bottle but we can make predictions about the pressure.

Do you think that we can ever do either of those two cases?

It's the same for the Solar System. As far as we can tell, it's not possible to have accurate enough information to predict the evolution of the Solar System. Even with numerical simulations, the presence of a space craft, or an extra-solar meteorite, might change things after 10 million years - things that can't be predicted.
8 Signs It's Time to Leave Your Job
If you want to interface two languages, then I do not see a way arround involving the runtime of both languages (in the same way that linking to C code still uses the C runtime). However, using my method does not actually involve any C code. "extern C" makes the compiler produce object code that can be called as if it was produced by C code; it does not produce any C code that would compile to the given object code.

Of course, it will also produce C headers to give the type information of the exported symbols, but I wouldn't call that code.
Nobody likes unpleasant feelings. For many people it is even worse than physical pain. Positive thinking and similar strategies offer a seductive way to temporarily suppress negative thoughts and feelings, but deluding yourself will likely bring only disappointment in the end.
All but one of these are Wirthian languages. They all had overhead for their time period, and many of them were academic rather than pragmatic (consequently becoming influential for language designers).

Ada? You're trying too hard. It used to be a government standard and wasn't ignored in the least (see: http://www.seas.gwu.edu/~mfeldman/ada-project-summary.html)... much to a lot of people's chagrin. It's widely regarded as an example of a monster language, but it is still absolutely used where the safety is critical.
It never makes sense to attempt tail recursion in C++, where it's so easy for destructors to get in the way.
It's hard to tell what you mean by "low-level operations." A lot of systems programming, particularly the GNU suite, just deals with manipulating files, sockets, and so on, and Haskell can do that just fine.

Example: http://www.haskell.org/haskellwiki/Simple_Unix_tools
Robot of Jihad? A Guide to Tipu's Tiger
I think the biggest win would be to start using ES6 and getting used to using the import/export syntax.
How much longer does America have at this rate? We have fallen behind in broadband speeds, we have no idea what a high speed train is, China is now the #1 economy in the world, our adaption of renewable is at a snails pace, we spend a million dollars to blow up a hill with an enemy flag in it in the Middle East, and our medical system is multiple times more expensive with less favorable outcomes in many cases. It's as if we are living on a borrowed memory of a former self. And if we just keep telling ourselves we are the best and all is super duper, then that makes it so. I can even imagine Congress passing a law that declares it so.
You could perhaps implement std::equal_range() [0] that way. It behaves somewhat similarly to doing two slightly different binary searches (to find both the lower and upper bounds on where a key could be legally inserted into a sorted range).

[0] http://en.cppreference.com/w/cpp/algorithm/equal_range
I disagree. New syntax actually gives much more for compatibility with other technologies and IDE integration. Also clean visual difference between events and properties - big thing.
Not valid HTML... Well, not so high price.
You might consider Mirage OS (http://www.openmirage.org/) to be systems programming.
The last few paragraphs kind of soften it a bit. The items were all items users recommended on his app, and each had a pic of the recommendation attached. The founder also said he'd sent the same items to other journalists, male and female, and just wanted to send items that would "stand out".

It's still an awful choice, but if you squint real hard you can see how a clueless person could get there.
Aeron chairs. Lots of them.
It's more likely that they're doing this to avoid some significant penalties written into their contracts. It's difficult for me to believe that they're doing this solely out of spite, as it's just not realistic that these merchants are going to stop accepting credit cards altogether for payment (which is really what they'd have to do in order to be consistent with blocking NFC reading for the sake of their bottom lines).
The auto-parallelization requires new hardware features that don't exist in existing processors.