skysight-inc/HackerNews huggingface dataset:
Flash is theoretically a "safe" language. Maybe they should have implemented the flash runtime in a "safe" languange... like java? or javascript? But wait, those are also implemented in an "unsafe" language!

Yes, there are "safe" languages which are compiled to machine code by a compiler written in that "safe" language. But there are still horrific security bugs which are not related to memory safety, in feature-packed super-popular web-facing software, like Rails or various PHP frameworks, where they automatically take some part of a request and inject variables in execution scope or even put user input through a yaml parser which will instantiate objects with constructors.

Using C isn't guaranteed to make software insecure (OpenBSD and DJB demonstrate that), while not using C isn't guaranteed to make software secure. Maybe it helps, maybe a lot. But you also need to care about code quality and security, and understand your own level of competence, and do the right thing.

It seems evident that if you care a lot about the features and backwards-compatibility with those features and not about code quality for a number of years, then even if you later care about security (and thus code quality), it's too late. The mess is too big for your organization to fix it.
Web Audio Synthesizer in AngularJS
Solid advise in this article: "Another is that it is best not to kill people who make you angry until you have carefully investigated the situation, if then."
I mean, to be fair, Atatürk had no way to know that over a century later, people would be using things called computers to perform such strange operations as converting between lowercase and uppercase text.
Boring. The point is to work.
Yep, constantly milking Moscow for money and refusing to recognize independence of South Ossetia and Abkhazia or Crimea reunification.
Sorry, boy, it's yours ;)
Why you don't want to use OpenCPU?
> We use Raft only to determine a consistent configuration. The queries themselves are executed in the same efficient way as before.

So, you've made the noob mistake in using Raft, where only configuration goes in the log and actual changes to data aren't replicated in the same manner.
No, they're not.

Point out vote brigades to the admins and they shadow ban users and the sub risks being banned.

Reddit should just release some charts of brigades from FPH and SRS.
How TestLess is helping JRuby's test quality
htmlweidget is kinda an evolution to rcharts by the same person if i recall correctly.
I was FPH reader and enjoyed the sub a lot.
That being said I can definitely see how it went too far and I don't mind a policy which doesn't allow subs like that.
I think what constituted "too far" in their case was posting pictures without face removed of normal people (that is not public figures or at least those without significant presence on the internet). I can definitely get behind the rules which don't allow for that.

I do however feel the sub wasn't motivated by hate. It was more of ranting/reactionary sub against fat-acceptance movement and a trend to treat obesity as a normal thing.

A lot of people me included think this is harmful. I think feeding your child Coke and McDonalds every day constitutes child abuse and I think calling social workers on parents who have 200lbs kids is justified and isn't even close to harassment. I think you should be forced to buy 2 plane tickets if you can't fit in one seat etc. etc.
I am as anti-bullying as people get and I am a bit of "social justice warrior" at heart but I was FPH subscriber as it was one place where what I consider insanity was called out regularly.

It was also great motivational sub for me as I am a bit overweight and many people on FPH testified they feel motivational influence as well (which btw I get now on r/fatlogic which is fantastic sub which is more careful about bullying and way more too my taste).

I think many of those 150K+ subscribers were like me. I cringed seeing occasional abusive post but the vibe I got from the place wasn't of one motivated by hate at all.

Btw I think racism is a problem and I would welcome rules to ban it. I like free discourse but racism is too much (same for misogyny although that label is applied too liberally these days). I think people are responsible for their views and spreading some views makes the world a worst place. It's a hard thing to balance but racism is established enough as harmful that it should be treated similarly to Nazism - that is banned form public discourse.
> Why intermediate representation?

Because you'd need not just one, but many of them, in order to keep things simple and manageable - for the philosophical background on this read about the Nanopass approach: http://www.cs.indiana.edu/~dyb/pubs/nano-jfp.pdf

> Build a straightforward AST then convert to LLVM.

It's only possible for the very low level languages without any interesting features.

Firstly, you'd need some type system, even if it's mostly dynamic. Secondly, your frontend may provide quite a bit of syntax sugar that will need further lowering before you can easily turn it into IR.

Even before typing, you'd have to handle the lexical scoping, which may also involve an additional intermediate representation (one distinct IR per each pass is normal).

With this approach you can keep your entire compiler pipeline as a sequence of trivial, fully declarative, pattern-based tree rewrites. With the less fine-grained approaches you'd end up with a barely maintainable mess, where multiple passes functionality is combined into a single bloated, twisted pass.

> Semantics is important.

Of course it's the only thing that is important. Unlike syntax.
The sad thing is that in Europe the employee unions managed to sell many benefits as reasonable for the employer unions, like:
- Paid sickleave that doesn't count as vacation
- Several weeks of vacation per year
- Voluntary and paid overtime for all workers, including salaried
- Maternity/paternity leave of several months
- Several month notice for layoffs
- Minimum wages high enough to support you

Of course it's not all sunshine and rainbows, there are all kinds on smaller stupid things the unions insist keeping alive as they might worsen the benefits of some workers (even if they would benefit some other workers).

They also have managed to make themselves seemingly irrevelevant, as many younger workers believe all those existing benefits are rights that cannot be taken away.
5 DIY Lifehacks for Photographers
Unfortunately, it will remain a true statement that "Reddit hosts the largest white-nationalist forum on the Internet" (just /r/coontown alone already has nearly the pageviews of Stormfront). It is literally true that every advertising dollar will be supporting Nazis. That's not going to be an easy sell.
Wow, this is an interesting strategy. To summarize, just to make sure I got this right:

1. They make use the patent protection clauses via APL (and also GPLv3)
2. They use to to protect it from their own patent

Result: Their patent ensures that all Free Software implementations must use a strong Copyleft license - APL, GPLv3, AGPLv3 or similar. (Or they have to try to get a patent license from MS.)

What's still unclear to me: Does it affect other implementations? Assume that Clang/LLVM wants to implement "syntax trivia". Will they have to use exactly their implementation, and thus have to switch from their BSD-style license to APL or (A)GPL?
http://prog21.dadgum.com/30.html

https://programmers.stackexchange.com/questions/165543/how-t...

Or do you want to write an interpreter instead? Well, the frontend is the same anyways. Instead of transforming the AST, you evaluate it instead.
Um, wasn't that the whole point of the machine? It would strip away your self-deluding beliefs, and give you true perspective? In other words, no it isn't good enough to just think that the universe is created for you, the machine will kill you in that case. You actually need to have the universe created for you, and only in that case will you survive the experience.
"During its peak, Zynga was a powerhouse at using data and analytics to optimize their games for virality and revenue."

Guess they didn't optimize well enough. Or optimized only for the very-short term.
(Tom Lehrer tinkling out a little ditty mocking von Braun, in case it's blocked or whatever.)

[Sometime in the mid 60s, given the prefacing dig about "spending twenty thousand million dollars of taxpayer money putting some idiot on the Moon."]
Privacy talk at DEF CON canceled under questionable circumstances
GM is not the world. Just FYI
> All major dynamic languages can be compiled usually JIT.

JITs are profoundly different from standalone compilers. And are many times more complicated.

> The difference of JIT vs ahead-of-time compilation is irrelevant for the high level of the article.

No it's not irrelevant. JITs are starting to kick in at a very different point than the static compilers: they've got a path trace, runtime type information and profiling information, while the static compiler only got an AST.

JITs can do gradual refinement, and for this they may implement multiple different compilation techniques. Static compiler must do all it can at once, there is no other chance to improve.
For those of checking short wearability beyond our local area, any chance you can add a zipcode or address filter?
> This isn't the usual argument of animal rights

It is the argument for animal rights (as opposed to animal welfare).

For example the "Nonhuman Rights Project" works for the bodily liberty and integrity of great apes, dolphins, and elephants within the US legal framework.
A Very Good Word Count Tool
> The financial stakes are especially high for ESPN because it earns the most carriage fees of any TV channel, about $6.61 a month per subscriber

That's not why the financial stakes are high. They're high because ESPN has fixed price contracts into the future for the rights to broadcast sports events. If their subscriber base falls, they're still on the hook for those contracts.

The article "Is ESPN A Giant Bubble About To Burst?" [1] does a much better job of explaining the whole picture. It also gives a reasonable argument as to why subsidizing channels we don't watch benefits TV viewers as a whole. (I'm thinking about becoming a cord cutter myself, but the argument is still reasonable.)

[1] http://www.foxsports.com/college-football/outkick-the-covera...
Has been expanded by the author into a book:

[1] S. Montgomery. The Soul of an Octopus: A Surprising Exploration into the Wonder of Consciousness. Atria Books, 2015.

This story made my day, and it's not even noon yet! 😊 Looking forward to learn more about octopuses tonight.
That's an interesting argument taking into account the site spends half the day down. ;P
Uber drivers don't see the destination until they start the trip. According to the drivers in London.
Well, initially its not a weather lookup for abroad, in that case I suggest to move to your destination first and start the tool from there :)
"Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can." — Jamie Zawinski

I'm surprised that Wolfram took this long.
>> "How in the world does Huffman think using something so vague as an actual punishable rule will turn out well?"

> Because it is the only tenable position.

Is it not tenable to avoid taking a specific position as a website individually, and to simply comply with the laws of the broader society? NearlyFreeSpeech.net seems to have been taking this stance successfully for years, for example. It would not allow them to dodge criticism, since plenty of people wish to manipulate Reddit and other Internet sites into implementing or achieving whatever social objective they have in mind, but it seems as though it ought to be tenable while simplifying the issue and putting it to rest.
Yay! I am so happy to hear this. Congratulations and thank you to the Fastmail team and people at Apple who made this happen. This has been my only gripe as a Fastmail customer and the only reason I haven't been using Fastmail as my main email account yet. Very cool :)
Derek recommends Backbone and Underscore - at least they can be found nicely annotated here:

https://sivers.org/learn-js

http://underscorejs.org/docs/underscore.html

http://backbonejs.org/docs/backbone.html
Yeah but... racism is well established as a harmful thing by now. If you host subs dedicated to it you are making the world a worse place. It might be a tough call with other things but this one is as clear-cut as it gets.
ESPN are atm really bad at online. I want to give them money to watch college football (it doesn't air on normal TV in Europe obv except the odd game).

Their price is ok (20 euro a month or so) but their app is completely broken. On iPad it kicks me out every few mins claiming I logged in somewhere else (I didn't). They had major issues with the streaming. The app is not searchable in a meaningful way.

Last two years I have paid them for the first month but have ended up using pirated streams/YouTube instead to even get to watch the games and then cancelling in frustration.

Before they are ready to move to an online first model they have a bunch of work to do. It is clear it is not a focus at the moment at least.
Thank you for your comments. I am aware of the Y combinator which I played with in other modules: (see my blog: http://baruchel.github.io/blog/ ) but this one was for reaching a very simple syntax for the end-user!

I have a more serious module implementing tail-calls (either for recursion or not) where the end-user has to follow the syntax of the Y-combinator: see https://news.ycombinator.com/item?id=9901309
Off-topic: you know you've transcended paper when your table of contents has no page numbers ("no more, no more").
Proxy.app on Product Hunt
Slash the Dots new addicting game for IOS
How many nodes/edges can be handled by this ? I'm working with graphs with hundreds of node/edges.
Not trying to be snarky, but I hope the justice system doesn't work so that to break the law all I have to do is get permission from the police... What I would like to know is what law allows them to make this kind of decision.
Apple IIgs gets a system update after 29 years
Welcome to the future, where a simple fact can be "bad history" if it allegedly encourages people to think politically incorrect thoughts. Double plus good.
Made from leaked sources too. The IIgs was such a nice machine back then, even if it arrived too late; I got the bug of computer audio after playing with the ensoniq chip in the IIgs, and that bug has followed me for 30 years ... as a pro audio software dev...
Advertisments are assholes!

https://www.youtube.com/watch?v=--LIrN-5PQo
There is other countries which are using cars other than the United States (shocking I know !) and I have a car which has one.
There is a very succinct implementation of Algorithm X in Python that uses a variation of the Dancing Links approach.

http://www.cs.mcgill.ca/~aassaf9/python/algorithm_x.html

http://www.cs.mcgill.ca/~aassaf9/python/sudoku.txt
Chapter 1: https://news.ycombinator.com/item?id=9526602 / https://medium.com/backchannel/the-view-from-the-front-seat-...

tl;dr: most accidents with Google cars were caused by distracted human drivers. Drive safely! Watch the road!
> when you have absolutely no mobile presence you can control or make ad revenue off of

Reddit bought Alien Blue, why wouldn't that count?
It will be even more dated when electric vehicles take over and internal combustion engines become as niche as steam engines. But then they still make manuals for those: http://www.haynes.co.uk/thomas/
I think allowing monetary restrictions on campaign-finance (with the exception of prohibiting anonymous donations directly to politicians) is the court's campaign-finance original sin.

When multiple people share an opinion and want to advocate for it, they have to spend money to get heard. Printing pamphlets, making videos, paying people to stand on the corner. You can't have freedom of speech without the corresponding freedom of advocacy.
Google Earnings Top Expectations
hmm part of this got lost!

I'm aiming for this to be used as a study aid with possible classroom aspects, so always looking for feedback, especially from teachers / other educators :)
Some interesting thoughts on Autoconf could be found in https://queue.acm.org/detail.cfm?id=2349257
Why don't you draw directly your vertices in gl instead of create a tex ? And you could use optimisation of culling to be faster. (drawing object : front to back)
> Android was purchased and has plenty of product sharp edges. E.g. there are several ways to send texts.

And how is this a sharp edge?

> There's the issue of fragmentation.

July 2015 and still talking about fragmentation? What problem do you think is fragmentation?

> The new Google Photos has embarrassing auto-tags for African-Americans.

ONE case and has nothing to do with Android

> Google has a solid whole product right now, but so did RIM.

And this can be said about Apple or Microsoft
Huh. I've had really good luck with the ESPN App / streaming services. But I'm using it in America. No problems watching the World Cup and other things.
High court rules data retention and surveillance legislation unlawful
I found it correct: what the says is that we should focus first on the actual bottlenecks before we worry about other optimizations; not that we should just look to another side.

If your bottle neck is in that point (copy of data structures) then there are functional data structures as well. And if still your performance is so critical in that point you can use a mutable data structure which is thread safe, and separate data from code in the rest of your code having still a big chunk of functional code where it is easy to reason about.
Even if all carburetors disappear from the face of the earth, it's still good to know they once existed, what purpose they served, and when and how they started being replaced.

Extreme example: I once read a fascinating article about middle aged technology, where they commented on, among many things, how a high-quality cart wheel would have a hard, dense wood on the axis, another kind of wood in the spokes that was flexible, and a border made of a very stiff wood. I'm searching for it but I don't seem to be able to find it, alas.
I was just adding on that JavaScript is another example of a dynamic language that is compiled (using JIT in this case) rather than strictly interpreted such as the MRI implementation of Ruby.
Actually, the ES6 and TypeScript versions are virtually indistinguishable, so it's not worth posting both on the site. The only difference being the types/interfaces are dropped in ES6.
I don't think you properly understand what the falacy is. The falacy is to factor in a sunk cost that has no future value in future decisions. For this proposal to be subject to that falacy, you'd have to show that the products of the current development programs have no future value.
> But wait, those are also implemented in an "unsafe" language!

The typical remark from those that don't get how compilers work.

There are Java compilers implemented in Java, just because OpenJDK isn't one of them it doesn't change the fact that they do exit.

Also why does the OpenJDK use C++ then?

Historically accident, the compiler/JIT weren't never bootstraped by Sun so the code lives on, but it gets replaced by Java code in each JDK release, step by step.

> Using C isn't guaranteed to make software insecure (OpenBSD and DJB demonstrate that)

Like OpenSSH? Nice proof of writing secure software in C.

Yes, there are logical security errors that plague languages even like Ada/SPARK.

However in 2015 we shouldn't be fighting against bounds errors and buffer exploits when it was already a solved problem in Algol.
De Lorean Owner’s Handbook: http://www.howacarworks.com/manuals/doc/d3218-owner-s-manual

Nice. It must have taken guts to build a car in Belfast during the height of the troubles. Not that it worked out that well in the end, but it is an iconic car.
No shorts at 20c? Your bar is set too high.
I used to love carburetors. Now there was technology you could understand: little needles and valves and levers and jets and gaskets, and if anything went wrong, you could just get a rebuild kit, tear the carb down down, clean it out, and put it back together with the new parts.

In fact, rebuilding the carburetor on a friend's VW Beetle gave me the confidence I needed to take the next logical step: rebuilding her whole engine!

I didn't have all the right tools, so we took the VW down to the Briarpatch Cooperative Auto Shop on Park Blvd. in Palo Alto. [1] [2]

This was like a TechShop for cars: You could get a membership and take your car there to work on it using their tools or your own. Or you could have one of their mechanics help you with the work.

I got the engine torn down, all the parts laid out on the floor, and started to think about how to clean it up and put it back together.

Then I realized I was in way over my head and called the resident mechanic over to see if he could finish it for me.

He did, but only after shaking his head sadly and saying, "This is the worst way to get a job."

[1] https://ukiahcommunityblog.wordpress.com/2012/03/05/dave-smi...

[2] http://briarpatch.net/
A little late, but anyway..

I've had panic attacks in two locations: while falling asleep in bed and in crowded trains.

I guess I just kinda got used to them. Since I know what's coming I don't feel the 'panic' part of the attack anymore. I just breathe slowly, deeply and deliberately, focus on my breathing. If I get the adrenaline rush you might be familiar with, I sometimes get up and walk a bit.

They key for me is to recognize when I'm having or starting to have one and not focusing on it too much. I don't know if it helped, but I used to meditate quite often. That tought me a lot about keeping my mind in check. This helps with many things, amongst which falling asleep (I just clear my mind and I'm gone in under 10 minutes) and panic attacks.
I got the postcard!thx!
The post is interesting and highlights a true fact : it is not always easy to chain map/filter/reduce transformations when the processed values are compound and call for processing that are specific to each part.

Nonetheless, the proposed solution is most in the component/object realm rather in the functional world.

As an evidence the use of nouns rather verbs as in :

splitter.input = hi_generator.his
lowercaser.input = splitter.left_part
uppercaser.input = splitter.right_part

This is not a judgement, just a remark. A functional solution would rather use transformation combinators to propagate a transformation on a specific value part.
For instance :

input |> map split_two_halves
|> map_fst to_lower
|> map_snd to_upper

Or even better, use lenses as a generic way to unpack a specific part of a data structure and to repack an updated value:

input |> map split_two_halves
|> map_lens fst to_lower
|> map_lens snd to_upper
MPs win surveillance powers legal challenge
See my reply to jamongkad.
Thanks for your feedback! We are finetuning the algorithm right now :)
More likely an interpreter than a compiler in the beginning. Ideally I would like to reimplement something like Ruby, R, or JavaScript since these are the languages I work with on a more day to day basis.
'Massive leap' wins engineering award
Show HN: Aurora Borealis Alerts with a Blinky Tape LED Strip
Hasn't started working for me yet.
Might try removing the fastmail account and adding it again so I can get the push option.

Really happy this has been implemented.
There's a full write up with some videos of this in action on my blog: https://unop.uk/dev/led-strip-aurora-alerts/
The government has guns and is allowed to use them morally.

You aren't.
most of them end up self-hosting, but plenty of them are initially written in language that's well geared to building compilers. Rust fe was bootstrapped using OCaml to write the first compilers. Smart choice.
Really? I've had a very bad experience with the college pass. I will try again this year though as they have a service I really want (fast on demand cover of 80%+ of all the games).