skysight-inc/HackerNews huggingface dataset:
> That didn't happen with IE6

Yes it did...but anyway, the detail is irrelevant; it's the point you're refusing to acknowledge:

A developer, building a product, is obsessed with growth metrics, OR, a slave to the pedantic demands of a client they're working for.

Either way, those demands require that a site be available to as many people as justifiably possible. The questions you have to ask are:

1) Is the the $ value of a customer using IE6 worth the time taken to make the site work in it? (No, almost certainly not)

2) In IE8? (Hopefully not, but you know, there are still a lot of these guys, and it's almost always a demand in the .gov space...)

3) In Safari? Yes. There are tonnes of these guys, especially on mobile where they don't have a choice, and no matter what fancy javascript 0-day API you're in love with, you can work around it without any significant effort.

The point:

Is safari holding things back? Yes.

Is it OK? Not really. It sucks.

Can you ignore safari and pretend it doesn't exist, and lose those customers? No. No you can't.

We're webdevs, sucking it up is what we're good at. We've had years of practice.

Suck it up.

The path forward, I think we'll find in the long run is going to be less native apis, more WebAssembly-style low level polyfills to implement new 'universal' features that run on all js runtimes.
Also ironic given that most people have adopted some of that "broken CSS box model" in their CSS.

box-sizing: border-box;

Now there were many other problems but I'm not sure people appreciate how such features eventually got standardized. Similar issues happened around DOM serialization with APIs like innerHTML, which Netscape refused to adopt because of "series of pointing at standards". Developers ended up adopting the idea and it was later standardized. XHR is another case. There are many more.

In the case of Safari, I can think of canvas, touch (love or hate it vs pointer events it was before any of the alternatives), DPI independence, &c.

It's some of these quirks that seems to show how newer web standards might be rushed through by increasingly aggressive vendor involvement. Apple hasn't changed all that much from when it first released Safari. It's only our expectations for the pace of new additions that has.
The specific aircraft I was referring to, the F4 Phantom II, first flew in 1958 and was introduced to service in 1960. The missiles that the designers had in mind were the Sidewinder and the marketing promises of the Sparrow.

And also, the sparrow had a decent hit probability -- that is, unless the target aircraft released chaff, in which case it was very unlikely to hit.
I think the Servo engine is going to anchor Mozilla's next transition to "lean".
I wonder if the funding of dictators like Robert Mugabe and Teodoro Obiang and laundering money for Iran and North Korea while conjuring numerous schemes to avoid paying taxes is in their citizen report this year.
I wondered why they aren't just using 'barclays' without any subdomain.

Turns out A and MX records are prohibited on "dotless domains": https://www.icann.org/news/announcement-2013-08-30-en
iOS 8.4 Download with Apple Music
Invasions are illegal per EU law, or international law, or what? Because I think there have been some big wars in the last 100 years.

Remember that you're talking about institutions that have the MONOPOLY ON VIOLENCE in their respective lands. Those are the kinds of institutions that tend not to take "no" for an answer; they're used to being the final word on something.

That's what a war is, two institutions that have respective monopolies on violence figuring out through violence which one is going to be in charge.
> I'm not saying the F-35 is a good deal

I can't imagine how many lives the F-35 would have to save (or combatants to kill, not sure how these equations are calculated) for the money to be "a good deal". You can't put a price on human life. If we could, how much would the average life that was lost on september 11th be valued? In the billions?
Who holds Greek debt? Private banks, governments, individuals?

Isn't part of the problem that some creditors went chasing after yield and hoped there wasn't much risk to these bonds?
man, I hope he's not serious
Is driving really unskilled? Most people take a course to learn and you have to be tested and regularly licensed to legally operate a vehicle on public roads.
Yes, embedded is very side-effect-ful. When you have to make that kind of thing work, you usually have to know both your hardware architecture and your compiler.

*(unsigned long*)0xEF010014 = 0x1C;

presumes memory mapped I/O, a 32-bit hardware register at 0xEF010014, and what 0x1C will mean to that register. It also presumes that the compiler will generate a 32-bit access for an unsigned long.

Going back to Gibbon1's code sample, you have to know what your compiler is going to do at what optimization level. You either have to declare spi.S to be volatile, or you have to compile at -O0, or some such. And you may well need to review the generated assembly code a few times in order to really understand what your compiler is doing with your code.

If you're writing the Linux kernel and you want to be portable across hardware architectures, it gets harder. You can't just be processor- or hardware-specific. You probably need the volatile keyword. I don't know what the kernel compiles in terms of optimizations, but I bet it's not aggressively optimized.
Nolan is one of the main contributors to PouchDB - http://pouchdb.com/
Because Microsoft had a monopoly.
I kind of love the idea that it's an optimization because the universe would have a shitty frame rate if light's quantum state wasn't lazily evaluated based on whether anyone's viewport was aimed at it.
That's what the IMF loan that Greece is about to default on covered...
My impression is that Germany and the Eurogroup are obsessed with punishing Greece for exposing this weakness in the Eurozone. They explicitly say they want to make an example of Greece to discourage other countries from voting for left-wing parties like Syriza with economic ideas that don't fit into the destructive "austerity" dogma.

The Greek economy has never been very strong, but the austerity measures imposed on it by Germany and the Eurogroup are really running it into the ground. Greece has paid off part of the debt, and yet the debt has grown in relation to the GDP, because the GDP has gone down that much.

Ruining an economy is not a good way to save that economy, and certainly not a good way to get it to pay back the debt. But they're not interested in helping, they're interested in punishing. To keep the voters of other countries in line and supporting their destructive neo-liberal policies.
> Don't get me wrong, the whole recent model car thing is a barrier, you need credit; but have you seen how easy it is to get a car loan lately? It's like subprime mortgages back in the day.

You do realize that subprime mortgages turned out terribly for a lot of low-income people, right? Because when the economic circumstances changed, their debt was suddenly unaffordable, ruining credit and ruining lives? And that many of those sub-prime mortgages were basically designed from the start to take money from unsophisticated borrowers, saddling them up with debt they probably couldn't afford.
If you don't know Clojure, you should know that Clojure has a sort of generic collection type called a 'sequence'. Arrays, Lists and Lazy Sequences are data structures that implement the sequence interface. There is a standard set of functions, 'map', 'reduce', 'filter' that operates on that sequence interface and provide a common set of functions for different kinds of datatypes. This lets the programmer reuse code and idioms and makes programs easier to understand overall.

The problem is that there are datatypes, such as streams and channels, which are fundamentally sequence abstractions but for one reason or other don't implement the 'sequence' interface. You could wrap them in a lazy sequence but that can be complex and will introduce a performance penalty. When they wrote core.async, they the authors found themselves reimplementing 'map', 'reduce' etc, for channels.

Transducers are a way to provide sequence operations to any kind of collection split the part that interfaces with the collection from the operation. This way we can dispense with the old 'map', 'filter', etc and just use transducers for everything. Because they're implemented with reducers, they're faster as well.
it is usable. But I think you would be hard pressed to find a more widely used piece of software that has absolute terrible documentation. The only real way to figure it out is to read the code or read the examples.
How the power of habits could revolutionize education
Show HN: Solving expression problem with bidirectional syntax translation
Yes, I have known several people who have had this happen. One friend had a couple of kids away at college on his family plan- the company sent him a letter that they were canceling the 2 lines his kids used out of state (roaming), so he switched providers- they then wanted to charge him for breaking his contract! He sent a copy of the letter canceling the two lines and explained that they were the one canceling the contract.
From the perspective of someone that has been following the program pretty closely, I think one of the big problems is the USAF has worked quite hard at making themselves non-credible when it comes to talking publicly about the actual capabilities of the aircraft. While WiB are unabashedly not fans of the F-35 program, this report is pretty much in line with past leaks.

It's definitely frustrating that we can't seem to get a straight story about what's going on. I mean, it's gotten to the point where USAF generals thought they could get away with literally telling airmen that speaking to Congress positively about the A-10 is treasonous (this being related because the USAF wants to kill the A-10 to divert the funds to the F-35).

http://www.airforcetimes.com/story/military/2015/04/10/fired...
Canadian Teen Took 'Sadistic Delight' in Swatting His Victims, Court Hears
Code that implements standards should be read with the standard open next to it. This code: https://git.openssl.org/?p=openssl.git;a=blob;f=crypto/md5/m... looks like awful garbage, until you compare it to https://www.ietf.org/rfc/rfc1321.txt , and then you realize you don't really want comments or anything else cluttering up the implementation.
The measurements in that paper do not make sense. the diagram is impossible because the angle sum around the middle circle is not 360.
The F-35 program is basically just government stimulus spending disguised as something else.
If we could, how much would the average life that was lost on september 11th be valued? In the billions?

The average was $3.1M per civilian victim and $4.2M per emergency responder, totalling $10.6 billion in compensation.

http://www.rand.org/pubs/research_briefs/RB9087/index1.html
Ah, the old "now we have to figure out what 'measured' means." Thanks science journalists!
Congrats to the OpenDNS team. I hope you continue the awesome OpenLate meetups (http://www.meetup.com/OpenLate/).
Seems like it would be wise to also redirect www.home.barclays.com...
It's just a source problem. /s
It can either do one thing really well, or do a million things really poorly.

I don't think there's any in-between.
This is an interesting post from WalletHub that was also quoted by the Atlantic: http://wallethub.com/edu/states-most-least-dependent-on-the-...

They took Federal contracts, grants, direct payments and insurance payments to a given state and weighed it against the IRS data for the residents of that state.

Interestingly enough, of the 50 states received back less that $1 for every $1 they paid in, meaning they were net payers. The rest of the states were net receivers of federal money.

A bit easier to see this conclusion here: http://cdn.theatlantic.com/assets/media/img/posts/2014/05/Sl...
> targeting hasn't improved as much as you think (hell, 1920s mechanical computers have about as much accuracy as a modern day cpu, so you can tick more in a second, so what?)

The primary advances are the ability to distinguish signals returned by chaff/flares from the real aircraft, and to have a model of the target aircaft's capabilities, so that on each targeting step the missile simulates the most extreme maneuvering it's capable in all directions, aiming the missile so that it is capable of keeping it's seeker on it and following regardless of how the plane flies. That's something that a higher tick rate is quite useful for.
I'm well aware you can use google to get around it. However I think it's hypocritical for people here to upvote WSJ instead of ad-supported news sites, then post comments saying things like "would you prefer to have adverts?" and "how are journalists supposed to make a living?" if they are actually using google to avoid paying for those services themselves.
Israel's rocket defense system, the one used to stop the attacks mentioned in the parent post is really good at being frugal in which rockets it shoots down. It doesn't just try to shoot down every rocket coming at it, it plots them and prioritizes ones that will most likely hit valuable or populated targets. It lets the ones that are going to land in empty fields go, since the risk and damage is minimal.
Hello World in 32-bit x86 assembly on codepad.org
Having used it, it will generally consume all available CPU cycles on the core(s) on which it runs. So presumably it is doing a lot of busy-waiting. Which, if low latency is your top priority, may be just fine.
> On a global market a country IS a business. In order to be successful it has to operate at a profit. Period. This understanding is what seems to be lacking in many electorates.

So if countries are businesses, and they all have to operate at a profit, and one country's revenue is another country's expenditure, where are all the deficits that balance out all the surpluses? The fact of the matter is that it is impossible, like squaring the circle is impossible, for every country in the world to be surplus country as you propose.

Also, as an aside, using a barter metaphor to describe a global, industrialized economy is overly simplistic to the point of being useless, as you pointed out. It's useless the point of being misleading and leading to no more of an understanding of a very complex system.
Nitpick: Maybe you are thinking of Windows wrt buffer sizes? Linux TCP out of the box has window scaling enabled since 2004 or so. "sysctl net.ipv4.tcp_rmem" tells me max buffer size is 6+ MB on my old 4GB laptop, which should be good to saturate 10 a gigabit pipe with up to 50 ms RTT... Mininum retransmission tuning might get you something on your own network if it's congested but would probably be bad to crank down for general internet usage, given things like bufferbloat and large delays caused by wireless L2 retransmissions.
Love this app. Easy to use, easy to discover new content, and can listen at 1.25x. I use this app every day and cannot recommend it enough!
I never figured it out, we could do everything we need in production with LXC, puppet, carton and perlbrew. Combined with a vagrant box for dev, we have no issues.

Although I do use docker to run deluge in a container with openvpn on my home pc, but only because someone else had gone to the trouble of writing the dockerfile and getting it to work.

It seems to break a lot though, when I have time I'm going to get rid of it and replace it with a systemd-nspawn container, because there's less handwaving involved and I can get it to work correctly.
"Note the further optimization that looms: if f() can be proven pure (no side effects), then it can be removed. This makes little sense for a function with no arguments (in which case it would just be a constant)."

It could apply if f computes a value based on global state but doesn't change anything, which is slightly weaker than "pure".
This is always my thought whenever I see a conversation like this come up about Uber. I understand they're all important issues, but why care so much about whether their drivers are employees or contractors when they're intending to lay them all off ASAP? They're just buying time and taking market share until self-driving cars arrive.

Don't remember the link, but Kalanick was recently quoted about how he'd buy a bunch of Tesla self-driving cars in 2020. Whether it will be Teslas or not, I believe it's clear that their whole strategy is to move to self-driving cars as immediately as feasible.
https://developer.android.com/about/dashboards/index.html?ut...

What about the other 50% of Android users that don't have Chrome or Chrome WebView? I've been working mobile for a few years now and would love to drop anything before KitKat, but that's not something feasible given market share.

In practice, pre 4.4 embedded WebViews have worse support for standards than Mobile Safari. Chrome for Android was in part a system component in order to replace 4.4's embedded WebView, only until 5.0+ did it become decoupled.[1]

Google's evergreen approach reduces fragmentation of a core API and it's been a godsend. I know in the future, Safari will be left alone as a pain point. Just don't misrepresent the present situation, where older Android has worse standards support than Mobile Safari and can't even be debugged in devtools.

[1] https://developer.chrome.com/multidevice/webview/overview
Sounds like the ending to A Colder War.
Here's a really simple example of a project that I had set up using docker.

For my website I have it set up with continuous integration to run my tests when I merge into master and build a docker image which it then pushes to the docker registry. I then have it ssh into my host server, pull that image, then run the new container and remove the old one.

Boom, i've just deployed my website by simply merging a PR into my master!

This is just a simple use case, and I probably wouldn't suggest deploying a production ready site like this, but it's really cool! It's really simple to just pass around images and have things up and running on local dev's too
I overlooked that, I was thinking of the crypto primitives there.
Elm has interested me for a while now; particularly as I get more and more into Haskell (one of the languages that inspired Elm). While I generally find Haskell's error messages to actually be quite helpful, there are certainly times where they could be a little more useful.

Well done, so far! I hope this kind of effort is eventually undertaken by many compilers (and their authors), as everyone benefits from simplifying the debugging/refactoring process.
Refactoring Loops to Collection Pipelines
Errr, yes, I misread the phrasing. Yes, I think a decently posthuman civilization is not going to be able to defy the laws of physics in such a way that would make it economical to run ancestor simulations.
How is this different from sharing a plain old VM image and doing the same thing? Is there any particular advantage that a Docker image brings?
Would love to hear his feedback! The history of Epyx fascinates me.
Really important point: this is measuring baseline latency of sending one packet at a time. They're not measuring latency under load where queueing delays are possible. The picture there usually looks pretty different and some of the settings they're changing here may be harmful or irrelevant to that case.
If you want to build a website in Clojure, I highly recommend checking out http://luminusweb.net - the documentation is amazing, and it incorporates nearly all of the best practices I have seen.

Making an API in Clojure using Swagger gives you a full, interactive UI and documentation for your API, while also having a schema which makes sure you know what is submitted and that it validates (i.e. is that a string or a number?)
Of course, Telegram is just plain awful, and rather than a leak, it is a free flow.
Is it actually reasonably easy to install a different operating system on an i device?
Apparently, it depends on if the banks hired any Greeks. If they did, then yes.
Puerto Rico's debt is 70% of GDP. The worst debt-to-GDP ratio among the states is New York, at about 25%. The states have a long way to go before they look like PR.
No, I do not mean like a war file. I am talking about an average Java developer who does not understand how classpath works, how environment works and what are the assumption that is built in to the code and blames everything on other people . For a long time they could get away with this, post-Docker world they cannot.
Loads of Debt: A Global Ailment with Few Cures
This is how computers see porn (slightly NSFW)
Sweeter JavaScript Alerts
> You can't put a price on human life

Interestly, anyone engineering human safety, and anyone dealing with its consequences, including the courts and insurance industry, all have to. For example, designing a car, you can always make it safer and more expensive, but where do you draw the line? What are the ethical and legal requirements? What will customers pay for? There is a number out there for the value of a life and also one for serious injury (major loss of function), but I don't remember what they are.

More importantly, there is far more than the pilot's life at stake. There are the other soldiers, sailors and pilots who die because they are now unprotected. There are the civilians who suffer because the mission fails. And there is the security and safety of the entire nation and its allies -- if Western air forces don't have effective fighter planes, it increases the threat to democracy and liberty around the world. It sounds dramatic, but those are the real stakes.
Quite. Carriers are useless in a war of equals. They will be at the bottom of the ocean in the opening minutes of the war.

But they are brilliant against barbarians, which seem to be our main enemy these days.
I love docker-compose, it is to services what npm is to packages.

That said, I'm only using it in development. For production there's so many options I don't even know where to begin: http://stackoverflow.com/a/18287169/3557327
Totally. Throughput is an enemy of latency. If you have some other applications on that RX queues or CPU's you can't expect any latency numbers.
"Processing documents with transducers" is probably one of the more interesting, yet still simple enough to be understandable, examples of transducers: (http://blog.juxt.pro/posts/xpath-in-transducers.html)
This seems pretty fine but it's not a Docker-specific argument. The same arguments fits for a Vagrant-Workflow.
As a newbie to podcasts and good audio content, I love this app. (Full disclosure - I invested as well.)
Mocking PHP with Swift
Consistency and Candy Crush: Don't give up on serializability just yet [video]
My current workflow is similarly VM oriented and I've just started playing with docker, so an experienced user can feel free to chime in.

Docker is more about process isolation using LXC than having a whole VM for a particular app. You still need some operating system underneath your docker deploys, so it feels redundant in a world where I already have a VM for each project. However I could see it shining at hosting a half dozen to few dozen services from the same machine.

One thing I don't like aesthetically is the tendency to expose local folders to the container. I prefer complete encapsulation.
I don't know the answer to that question, but that's about 2/3rds the price of a single billable day for cryptographic pentesting.
That really puts the scale of the problem in a new perspective for me. That's $715 (at the current exchange rate) for every person on the continent just for the debt of one tiny little corner of it.