skysight-inc/HackerNews huggingface dataset:
While this article excells on the technical aspects of the GIF format, it misses out on the significance of the GIF art renaissance of ca 2011 to 2014, which was most likely initiated by tumblr's arbitrary file size limits.

Here is a primer on that:

https://news.artnet.com/art-world/a-brief-history-of-animate...
Isn't the ELC side quite often a runtime choice? Wouldn't reading from a replica be EL even if reading from the master is consistent?

Perhaps that doesn't work both ways. An EL system can't choose to be EC. (Except for consistent reads in Cassandra/Dynamo/Riak, which certainly trade latency for consistency...)
> The Go standard library is full of things that do exactly what you want them to, whereas in other languages you have to manually do it yourself.

No.

Python: toCheck.startswith(prefix)

JavaScript: toCheck.startsWith(prefix)

Haskell: prefix `isPrefixOf` toCheck

What other languages does Go compete with that don't have a "string starts with" in their standard library.

Since I feel I've proven my point about all other languages Go competes with having this function, what other helpful functions do you think Go has that it's competitors do not?
I was going to bring this up too, and you got close, but you're just saying it's a lack of standards and I'd say it's something far more nefarious and intentional: brand lock-in.

Brands are what's missing from all the sci fi films where this stuff works, in Minority Report's D.C. Crimelab the displays aren't Samsung monitors hooked up to iPads, and THAT is what makes them work so seamlessly. No vendor wants to allow you to buy from other vendors so naturally the only time you get a seamless experience is when you sell your soul to the devil of your choice (in my case, Apple) and then your iPhone, your Macbook, your iPad and your Apple TV all work miracles right before your eyes.

If I ever get an Android phone, it will never sync up properly like the iPhone. And I just have the garden variety stuff, if you buy any of this IoT crap you damn well better hope that your given manufacturer will be around for long enough to make all the things you want and that they offer good support.

I have a lot of plans to make our home smart once we buy one, but when I do it will be built on open source modules that I can modify and control, and more importantly SERVICE myself when they inevitably break down after a time.
I like this one too as an example of what can be done to make a C FFI safe: https://bluishcoder.co.nz/2012/08/30/safer-handling-of-c-mem...

You end up with a definition that checks at compile time that:

* We don't exceed the memory bounds of the source buffer

* We don't exceed the memory bounds of the destination buffer

* The destination buffer is at least the minimium size required by the function documentation

* We can't treat the destination buffer as a string if the function fails

* We can't treat the destination buffer as an array of bytes if the function succeeds

* Off by one errors due to null terminator handling are removed

* Checking to see if the function call failed is enforced

And there's no overhead at runtime.
Intel's been making announcements about mastering silicon photonics for a long time - but they've yet to ship anything. I suspect that Omni-Path & associated switches are intended to be an implementation target this time around.
Promising herpes vaccine succeeds in mouse trials
Wear seatbelts in taxis! I know a few friends who don't do this. I don't know why people treat taxis as different from other cars.
Yeah, but the last few weeks they've been heavily enforcing their new-ish $375 penalty for not wearing a helmet... Who would've guessed that NSWPolice would selectively apply the new laws and penalties???
Probably going to be a generational thing. After some tipping point, people won't give it a second thought.
The moment someone suggests that their advantage is being smarter than everyone else (or that everyone over 40 is somehow stupid), I look for ways to short them.

I know a handful of F500 execs, and they are formidable. Sure, they may turn to IT to set up their new "iPhone BlackBerry", but they have tools in their belt to compete with that most valley entrepreneurs don't even know exist.

They were the best, brightest and hardest-working of the previous generation. They are us, with more life experience and better networks. Underestimate them at your own peril. They might be dinosaurs, but who wants to jump in the ring with a velociraptor?
Nice motivational piece. Only thing missing is the "join my n-step program" pitch in the end.
Are any of those people in danger of being assassinated by the USA? I think not. Perhaps jailed, yes, but even then there will be a whole raft-load of legal challenges. The difference is that in Russia there is no legal system (at least, not one that you can trust).
I am shocked to learn that someone who has a large number shares in unlisted tech companies is keen on others investing in these stocks.

More seriously nobody really knows what is a good investment these days. Years of zero or negative interest rates have broken the old models and nobody knows what is to come.
Although FLIF, the format, is lossless, the FLIF encoder has an option to lossily encode the input. It works by eliminating the differences between the predicted pixel and the actual pixel.

When encoded lossily, FLIF is competent with JPEG on still images, and ofcourse very competetent with GIFs.
https://www.shipmap.org
The speed differential is what make me scratch my head as well, from both safety and traffic engineering perspective. In the USA lots of mountain highways have turnouts and "Slow vehicles must use turnouts" signs [0]. On the flip side, once in a city, a single cyclist is entitled to slow down everybody else, traffic fluidity be damned.

[0] http://www.aaroads.com/forum/?topic=12036.0
the code is statically verified to be memory safe, so i dont really know what you're trying to get at
Hey, just FYI - what you are doing can and does work. I had a drug addiction which I managed to kick with the help of the woman who is now my wife. Getting into a mess by yourself is easy, getting out is really hard. Thanks for doing this for her.

Your intuition about the best testament being vitamins and sleep gibes with mine. We don't understand how consciousness and the brain work, but there is definitely something rotten in modern psychiatry.

I think we need the notion of "mental injury" instead of mental illness. It's more like a broken leg than a tumor.
People are tasty.
Picture map, filter, and fold as for loops with annotations that restrict what they can do. This helps both the source code reader (you and I) and the source code compiler more easily understand what's going on.

For the compiler this makes optimization easier. For the reader it makes reading easier after learning what these recursion primitives do.

It is also less code, meaning less room for bugs.
The drop caps layout can be fixed by adding these CSS rules:

display: inline-block;
margin-top: -0.16em;

For latest Firefox at least.
The patterns that RNNs tease out of training data seem to transcend mimicry. An artist may compose a song that sounds just like another song, but it is not simply mimicry, it is influence. It is a learned set of patterns that are composed somewhat randomly. The human mind has this illusion that what it hears is subjectively good, but that intuition is built out of experiences just like the RNN.
The generalizations about the quality of C code is interesting...It is easy to criticize code that has been developed over years, multiple hands, etc.

C code doesn't have to be terrible. And "terrible" often is in the eye of the beholder.

I've heard people decry OpenSSL and it's various warts (it has many), but as a code base, it's worked well for years across an incredible range of platforms.

Some claim the architecture and quality is crap (often, it's more about style), some just know that's how it was developed and stick to the style and extend / fix / etc. A lot of the OpenSSL issues stem from the wide range of use and the lack of giveback by companies working with it (including donations, etc. This goes back nearly 15+ years).

A new and hot language does not make a new implementation any more secure (maybe it has different issues) than one that has been around awhile, had multiple eyes, etc.
The unbearable lightness of borders
[National Institute of Allergy and Infectious Diseases director Anthony] Fauci is frustrated that Congress still hasn’t authorized emergency funds for the Zika effort. (President Obama requested $1.9 billion in February.) “We have had to borrow money from other accounts to get our work started,” Fauci said.

This is an epidemic. Why hasn't Congress acted?
https://www.shipmap.org/
Sony to Sell Updated Model of Standard PlayStation 4
Is Centuries-Old Wine Still Drinkable?
I am not sure what that quit rate really means seen in that isolation.

What is the quit rate of women in other sectors ?
What is the quit rate in high-tech in general ?

All those questions are very important. My wife left her job after marriage because she had to relocate and later she took a break for childbirth while I was at the same job.

"Pipeline problem" is not really a problem. It is not the case that women will suddenly come to CS if we paint classrooms pink. If the reason women are not attracted to CS is probably those young girls have done their research an decided that they will be better off being something else other than CS major. Hostility at workplace might be one of the reasons but I highly doubt if that is the only one. At least we need data to indicate that quit rate is not a useful metric.
FLIF promises to be silent as well. It also has a ~50KB JS decoder [1].

[1] https://uprootlabs.github.io/poly-flif/polyflif-sample.html
> Yeah, it's probably overly pessamistic; no, it's not fair. But I'm alive and uninjured.

Don't you think that's a little bit of survivorship bias? I'm sure there are plenty of cyclist who have been killed who 100% agreed and rode in that way, but they obviously can't speak on the matter.

Of course it is dangerous and potentially lethal when you get hit by a car, but how can you suggest that it's not beneficial to have measures in place that at least attempt to protect cyclist. It makes cyclist 'feel' safer, because it is in fact safer. Look at countries like the Netherlands that have excellent cycling lanes and safety measures. It makes drivers more aware that there are cyclist around them, and urges them to be more cognizant of their surroundings.
Methods in the standard library panicking if the method receiver is nil for one.
> I managed to confront the driver at the next intersection, "Hey were you trying to kill me?" "Yeah, I was" (he had two kids in the car too)

Even in the fairly bike friendly city of Portland, OR I've had drivers harass me. I had a dude nearly clip me, pull a u-turn at the next intersection, come back around, turn around again, and tailgate me while blaring his horn. He rolls down his window, yells at me for riding on the road (I was in a bike lane), all the while his family is in the car...
Yep. Pedestrians, especially New Yorkers, are j-walkers. I spent the last 12 days in various places in Japan and boy, there are none of those except in places without crosswalks. It was weird!!

But yes, best thing to do is be predictable if you're doing something (even if it is wrong).

People sometimes think New Yorkers are crazy drivers. To the inexperienced it probably looks that way. However after driving here most of my life it's just that we learn how all the other New Yorker drivers will react to what's ahead of them so we can react, in a sort of organized chaos. Sometimes, anyway. And we know to give out of state plates and certain vehicles extra "unpredictability" points. It doesn't always help (like when a moron Georgia plate minivan driver decided to merge directly into me at the Brooklyn Bridge entrance from southbound FDR despite being on the wrong side of a solid/dashed lane marker, back was only one lane to the bridge. And then not pull over!!!), though.

Even though I am a car owner and driver I would still be an advocate of limiting cars in the city.
Worked on industrial IoT for five years from devices to backends. It's all garbage. Nothing works, everything is wrapped in marketing double speak, security is a Shit show and UX is virtually non-existent.
I mostly agree, except I still like and use XML in many cases. XML Schema validation is just too useful as a first pass validation step to verify the "shape" of a message/document.

And to me, with any decent editor with folding, it is easy to read. And very importantly, allows comments. I have never understood all the XML-hate out there...
> I've tried getting off my bike and asking people (as kindly as possible) to move, explaining how parking in the bike path puts me life at risk. The nicest response I've gotten was being told to go fuck myself

Wow, this makes me so angry. Is it possible to call the cops on them?
The page you linked to directly refutes your claim of narrowness:

Most people take DRY to mean you shouldn't duplicate code.
That's not its intention. The idea behind DRY is far
grander than that. [...] DRY says that every piece of
system knowledge should have one authoritative,
unambiguous representation

Note the terms knowledge and representation. He's referring to things like declarations, data models, schemas, facts. Duplicate source code symbols has nothing to do with it.

DRY is not "be terse". For example, turning a literal into a constant is DRY, because it reduces to a single "authorative, unambiguous representation". But "x = x + 1" (which certainly looks redundant) is not anti-DRY, nor is "end Foo;".
I'm not following you too much, I'm not saying it is like Hebrew modern or paleo. I'm saying it's like Ancient Pictographic Hebrew[0]. Each character has a meaning, and they're simpler than the second character shown in the article to register (though in their defense that character is likely made up of variations of a couple of other characters). Also, the Hebrew didn't have vowels up until the Masoretes who added to the Hebrew Scriptures by adding vowels to them, but that's another topic not related to this topic.

[0]: http://ancient-hebrew.org/files/alphabet_chart.gif
Where are the 99 other ways? I see one way to do this for any set of data types. Golang is the one with 100 implementations.
A universal rendering of the eternal struggle of human race.
My policies are automated. I wrote the automation. :) And thank you for the compliment, but I wouldn't call myself "elite", merely "pretty good". Seriously, this is literally all it is:

def kms_read_policy(contexts)
contexts.map do |context|
{
PolicyName: "kms-read",
PolicyDocument: {
Version: '2012-10-17',
Statement: [
{
Effect: 'Allow',
Action: 'kms:Decrypt' ,
Resource: [
Cfer.cfize('arn:aws:kms:C{AWS.region}:' \
'C{AWS.account_id}:key/C{Fn.ref(:CredstashKey)}')
],
Condition: {
StringEquals:
context.map do |k, v|
[ "kms:EncryptionContext:#{k}", v ]
end.to_h
}
}
]
}
}
end.to_a
end

And a single DynamoDB policy in a managed policy that allows for querying the `credential-store` table. This just is not rocket science. It's helped by cfer[0] and cfer-provisioning[1] being pretty great, but it's very achievable.

[0] - https://github.com/seanedwards/cfer

[1] - https://github.com/seanedwards/cfer-provisioning (I'm a maintainer)
Just that there are so few secular holidays in the US work context and Halloween is one of those non-holidays (like Cinco de Mayo in California) where people in the US will make an extra effort to spend time with friends and family.
Go handles simple problems well but copy pasting more "simplicity" as complexity scales results in a complex program.
That Chrome thread is mind-boggling. It dates back 6 years and apparently APNG is still not supported?

I don't use Chrome so can't be sure.

After going through the Mozilla bug threads, they're even more infuriating from a rational perspective. I guess I didn't realize how politicized software development could be, even in open source.
And yet there is a generic in array function.
At one of my old work places the two elevator call buttons were replaced by a touch screen with... two elevator call buttons.

Nothing improved, just the same interface with the same two buttons, but now in a touchscreen that was more expensive and can crash.
Isn't that the same as is happening today with bonds ? The government is pushing bond prices down. So companies are using short-term loans to pay all their costs, while paying everything out to investors (clouding the issue is that a lot of this is happening through buybacks).

What happens when interest rates go up, even a little ? It seems to me obvious consequences would be:

1) monthly payments go up. Either directly (variable interest) or when you refinance (companies have running debt. Almost always taking out new loan when old one comes due). In that case, interest rates go up slower than the benchmark rate, but they still go up.

2) creditworthiness of all debtors goes down (same as with individuals: you are "approved" for a monthly payment, e.g. 100 dollars/month. At 0% interest that covers 12000 dollars for a 10-year loan. At 1% that covers 11400, or about 5% less. Next time you ask for a loan you're not going to be able to loan 12000, so you can't just roll over the debt. So your ability to get new loans is going to be worse)

Also, can someone explain to me why this doesn't result in moral hazard for management of large companies ? If you can loan at, say, 0.25% why wouldn't you just loan the next 60 year's profits now (investment time horizon "until the investors are expected to be dead"), pay it out to investors, and leave, content that you have done far better than you could have done by managing the firm well ?
You say: "I'm thinking about planting trees. A lot of them."

Children are the trees that we plant. They are our contribution to the future of our species. For most of us, they are our only contribution to the species.

So plant trees. Lots of them. Raise them up to be like you: concerned for the welfare of our species and it's only home. Humanity will need as many of their kind as we can get.
But the comment being replied to mentioned open source.

>The latest version is available as open-source
The saddest part of that switch thing is that there are plenty of "stateless" switches around that still indicate light status: http://www.atticmag.com/wp-content/uploads/2014/08/tour-our-...

They work nicely for home automation purposes, since you can set them up so that the LEDs on the side match up to whatever the current light status is (dim to bright from bottom to top).
I fly a few times a year, and it's gotten to the point where I just look at the few airlines (Alaska, Virgin, Jet Blue, Southwest) I can stand, rather than starting at an comparison site looking for deals. If they don't fly there, we've made alternate plans if possible (different cities, driving, etc). Last on the list is to fly another airline if we absolutely have to.
The "design" cost quoted mostly means mask cost. It gets very expensive to produce for smaller nodes.
I think I've done it once or twice - usually not until after I get home though. Letting unhinged people know I'm threatening their anonymity is something I try to avoid.
Just Imagining a Workout Can Make You Stronger
You got it: https://twitter.com/gassee/status/767576827963453440
Thanks for doing the legwork to find and provide that; while the first cite is a narrow case, the second looks great.

> It is not standard practice in climate science and many other fields ...

I think this statement supports the idea that the actions of climate scientists are not a conspiracy, but normal practice in scientific research. I've read similar things in many other contexts.

On principle, I think all scientific data (and papers) should be open and free. In practice, I would need to know far more about the costs, value, and implications before demanding it.

On a practical level, very, very few would have the knowledge, skill, resources (software, etc.), time, and motivation to make use of the data. Very few outside any particular field even read that field's papers, much less try to work with the data. Likely, anyone in the general public trying to do so would interfere with the 'signal' of discourse by creating only noise - the open data could hurt more than help. If it costs a lot to produce the data, it's very possible that most of that expense would be a waste. OTOH, sometimes that noise and cost is the price of democracy.
I had almost forgotten about the horrendous horizontal pinstripes in early OS X. Looking back it's hard to understand why people drooled over the early OS X UI.
> "[...] made everyone's life more inconvenient"

Read: made cis males lives more inconvenient.

Clearly there are people that feel the change has a positive impact on them. Please show some respect for them.
Wafer cost goes up, just not as fast as transistor count, which is why Moore's law holds.
Has this ever worked?

> than train users and customers to frontload requirements in order to benefit from the design decisions

No matter how much training we give customers, the very best they can do is give us the reasonably foreseeable requirements. That was maybe possible for a couple of decades when our main job as an industry was to take well-evolved paper processes and put them on a computer. Even then, though, people were getting better results by shipping every few days in response to observing actual user experience.

I don't think trying to frontload requirements works anymore, though. Startups are effectively machines for learning. We can't predict what learning will happen; if we could, we wouldn't be learning. And those startups are creating change for everybody else, making it impossible to know what competitive challenges might arise tomorrow.

So I think it's time for us to stop pretending we can get everybody else to freeze the world just because it's more convenient for a particular set of design techniques.

> 25 years later, we know the truth about how easy it is to shoehorn in 11th-hour feature requests when using object-oriented code.

I was a NeXT programmer back then. 25 years later, it is much easier to add feature requests to OO codebases. The three big differences: automated testing is common and easy; refactoring a design is a well-understood process; and you can deploy to millions of people with zero additional cost or work beyond committing and pushing to master. Which in turn means that the whole notion of "11th hour" is dissolving. Which hour is the 11th if you're releasing a few times per day?
If you live in SF and want to help, the team doing this is on Twitter at @sfmtra and looking for volunteers and donations. Safe biking is good for the health of humans,their communities, and the environment
Ethics goes both ways. Human soldiers are capable of overruling unethical orders - however they are also fully capable of becoming enraged and committing massacres against explicit orders and rules of engagement.

If anything AI moves the onus of morality squarely on the politicians responsible for the war.
Gah. I'm sorry. That sucks.