skysight-inc/HackerNews huggingface dataset:
Ask HN: Move fast and break things” explanation?
What does this statement really mean in particular? Ship fast and make mistakes?
Ask HN: Most beautiful code you’ve ever written?
inspired by:

“””
What did I say my most beautiful bit of code was? It was a single exclamation mark I added on my thesis. It was a massive Prolog program, and I spent probably about three months analyzing this AI planning system. My sole contribution to those three months was a single exclamation mark, which was just, in Prolog, cutting the back tracing. I was so satisfied that I had a big comment next to it for anyone who was reviewing the coding like, "This took three months. This is where I started. This was my contribution." The smallest and, I think, perhaps the most beautiful bit of code I've ever written.
“””

http://blog.cognitect.com/cognicast-transcripts/097

via https://twitter.com/dan_sutton/status/1124474532880887808?s=21
We just had our first Beyond Burgers tonight. Tasty, easier to clean up from than frying beef burgers. I am not sure how healthy they really are, but as a once or twice a week treat, they add variety to a vegetarian diet.
Checkups and preventative care are not there for fun. They save money as a whole and in the long run, as other commenters also note.

Imagine everyone was disincentivized from doing a cancer-related checkup, get vaccinated, or check if they have a cold, the flu, or something worse. It is better to spend x now than deal with a crisis (either individual or epidemic related) spending orders of magnitude more.
I'm astounded at the number of developers in my own company that reach for Redis when they just need a cache. It's a huge waste of effort for far worse performance and less reliability than something like Java's Caffiene.

Stateful servers run into huge problems when other people try to access them from non-static ip (usually sticky sessions are IP based). We, at least in apps I work on, stuff all the shared state into JWT tokens to avoid this.

Everything else that needs to be cached goes into an in-memory in-app store. If you're using a "fast" language to start with, you won't need more than a dozen servers unless you're at Google scale so cache hit rates are good even though each instance maintains it's own.

Again if you're using a "fast" language memory overhead from in app storage isn't much more than putting things in a dedicated KV store. There's really no point to it when the performance drop is usually 20x. We use DropWizard and Vert.X extensively, and most of our endpoints can handle many thousands of requests per second. The ones that use the cache instead of hitting the DB every time hit upwards of 1 million requests/sec. You're very lucky to get 50k with any remote KV store in the same app.

Most load balancer strategies send many requests in a row from a client to the same backend server anyways for TCP performance reasons.

The only reason for a KV cache is if you're running a slow language like Ruby, PHP, Python, where the memory overhead for objects is large and the speed of a remote cache is roughly the same as one in memory. If you find yourself needing a cache for good enough performance you shouldn't be using these languages in the first place. In memory caches don't work well when you need 100+ server instances to handle the load anyways
Always confused me how they had two different ways of retrieving the same object. Glad that they're sticking to the subdomain option. Sucks to go back and check for old urls though. This change might break a good chunk of the web.
In what ways do the database architecture change when one discards the assumption that I/O is the bottleneck? Does it obviate the relational model? I always found the relational model to fit working with data sets very well since it's nice and declarative. Does that turn out to be a bottlneck assuming fast I/O?
Mozilla is addressing the issue now. See https://github.com/mozilla/addons/issues/978#issuecomment-48...
Regardless of whether it benefits employers, it makes sense for healthy young people, no? If your health care spending is low, you get free money every paycheck. Also last time I looked at my HSA account, it's both pre-tax contribution and tax-free growth. So you get double tax break.
This "news" website randomly showed a picture of John McAfee in an ad carousel and I busted out LMAOROTFL.
Swastika Acres may finally change its name after 111 years
The memory test was designed not to measure performance (the names presented were preselected so that performance with each of them exceeded 90%).

For a real effect, a sample size of 26 is going to show it just fine.
On the other hand, forgetfulness and memory loss is associated with simply losing access to the neurons. If your memory bus was faulty, DRAM would be pretty quiet.
Yep. In my case add friends on Line, buy subway tix, pay at 7-11 and many other places. You can also receive payments to your own QR code.
This is a side product if there being lots of homeless and not enough commuters using public transport.

In European cities the most common unpleasantness is drunk people late at night coming back from clubbing, at all other times it is as pleasant as it can be. It was certainly a shock to discover the reason for empty Muni carriages during rush hour so after moving to SF. To give people from outside the bay area an idea, elevators on the stations now have a person in them at all times to avoid them turning into public bathrooms. The area of the city all the underground lines go through have historically been the congregation area for the homeless, and there are a lot of homeless here.
There's a bug open for this: https://bugzilla.mozilla.org/show_bug.cgi?id=1548973
Reading about ringpop, came across this statement

> Ringpop, a library for building cooperative distributed systems, solved some of Marketplace’s problems before its adoption in other teams at Uber and beyond. It gives the high-availability, partition-tolerant properties of distributed databases like DynamoDB or Riak to developers at the application level.

I am wondering about the need to have your app services communicate with each other (is that because these are stateful applications ?) or have I missed the point completely ?
I think there's decent evidence that low intensity exercise can increase BDNF which helps increase neural connections. Not really the same as this study, but a different effect of exercise on the brain
I think the point is that open soource developers should either do it for love or as a job that pays the bills.

If $20/hr pays the bills that's a good wage where it does. Arguably open source is MORE valuable so to suggest it earn it's creators less than other types of code is contrary to the vision of the open source movement.

Everyone has to eat and pay the bills.
I couldn't disagree more. I almost never use PDFs. I read a lot of books on my mobile phone and PDFs are basically unusable there due to their fixed layout.

To say in 2019 that a file format without mobile support is the most important is moronic.
> ...he'll be able to maintain his standard of living until he dies.

Under the assumption that his wages track with inflation, you might be right. He'll be able to scrape and hustle and pivot right until the day he dies. That's not a "win." When his health inevitably falters, he'll have increasing difficulty finding work, accumulating ever more medical debt. Chances are, his children will be dependent on him well into middle age, but "his" house and assets will vanish to cover debts.

A good outcome is one where we're making enough to save up for a comfortable retirement. That's not the reality for, perhaps, most people born after 1980
Disagree. Type erasure is actually one of th best possible decisions made by the java designers.
Languages that have higher kinded types (Haskell, Scala)are virtually impossible to implement without type erasure. This is why the .net runtime doesn’t have languages with HKT
Women in Tech is a family issue
I try to spend at least 30 minutes a day. Ideally more, but consistency is key – I find it much more beneficial to be looking at code on a daily basis, rather than 'batching' it for one day a week or less.
I'm not sure this was very clever. It basically just says "I made a weird programming language with a tree data structure". But that's any AST, and not special to use git. So not especially interesting here.

Or maybe I misunderstood this completely.
I suspect the rich kids go to private boarding schools no? The policy hurts the upper end of the average kids.
All extensions disabled due to expiration of intermediate signing cert
One thing to notice is that the groceries themselves are different in the us and Europe. Packages have a tendency to be bigger and the shops tend to be further away because the customers will be driving to the shop. It's a self reinforcing cycle.
That piece you mention is some good food for thought.

I’m also realizing that the hand wringing at the end about the “Internet never forgets” has turned out to be fairly false. We almost have the opposite problem with links constantly dying.
Houses in France are typically much better insulated than houses in the US.

Houses also have thick shutters, which once closed (which you usually do during the day) tend to retain cold better than without.

People in France also tend to take 3-4 weeks off in July / August as well (and business tend to be slower during those months as well), and tend to have wardrobes which are better suited to the season they’re in as well.

The climate is also slightly nicer as well, it gets less hot than in say Arizona :-).
It still give me the mental image of a good lens with a meticulously crafted iris that can close way way down.
I only speak English. But I still watch everything on Netflix with English subtitles. Why do people take offence to subtitles?
In my experience, novices generally stick with the default. And when they don't, their code breaks because they assumed serializable was somehow magic and they don't handle the inevitable transaction failures (generally on production, when there is load). This is exactly why PostgreSQL drivers that used serializable as a default had to backtrack and default to read committed. And yes, I agree that the blog is encouraging serializable without adequately pointing out the downsides; th extra burden on application developers would be #1 in the caveats in my book, and using serializable when you don't have to will lead to a net increase in bugs.
At a high-level, it seems expected that since the outside world (around the DB) operates on the same tiered storage (cache > RAM > disk > backup(>n)), economically it doesn't make sense to replace any tier by its direct superior, because the bottleneck becomes the outside world (any machine/infra that's not able to keep up anyway).

Not with storage but I/O, that's what the makers of the Cell processor (PlayStation 3) had in mind originally (it was culled before the final design though): huge IO, non-stop feeding the beast. The arch-goal was to be able to link Cells together to make a "network of CPUs" (network becomes sockets link) able to parallel executions. A hard (wild?) computer science dream/problem. (the final Cell CPU has none of that iirc). I think NVLink is a decent comparison of that purpose/design.

Now running a whole infra on RAM, not just a DB, that makes more sense on paper, and I guess that's what devs do daily with e.g. test environments, like a bunch of containers over a ton of RAM. At a small enough scale, upgrading storage tier makes sense as cost becomes negligible.

For a business / at scale, short of extremely specific applications where you'd indeed have not just a DB but whatever calls it also on RAM --- and remembering that this is not economical to serve "more" users or "faster", since you'd scale horizontally for that --- the use-case or endgame of whatever this DB serves should have that speed as a hard requirement. Likely to be 'one' monster itself, like, a supercomputer? Assembling deep learning datasets from real-time feeds on-the-fly? Skynet? Big brother? :) Jokes aside, one needs a beast to feed that'll take no less to justify a 7x more expensive RAM-based anything at scale.

Normal folks, I think we'll do with caching the hell out of our data for cheap, for now at least. Until RAM becomes abundant and CPU/storage/IO extremely expensive by comparison. (was RAM ever abundant? I can't seem to remember a time when I could just buy without counting, unlike storage or FLOPS relatively to everything else).
Looks like all extensions have been disabled for all Firefox users.

I think this fail-closed behavior is more of a security issue than the one it is trying to solve. All of my security add-ons - Privacy Badger, NoScript, Decentraleyes, and many more were disabled. Even worse, it happened without notice to the user.

One moment I was browsing the internet (just barely) secured by these add-ons, and the next moment, all of them disappeared (without warning) and I only noticed when I saw my password manager was missing.
Ahhh okay, interesting. I guess that is interesting news for all the racist and sexist small business owners out there barf
PalmOS had this! Applications connected to databases and read and wrote records. Sqlite acts similar for the more modern era, with a traditional hierarchical filesystem underneath the sqlite DB.

Looking at modern app-based "file" access using Google docs and its ilk are that reimagining. The UI is a list of recent files, a small number of features, and then a search box. There's not File -> Save, nor am I forced to pick using a folder metaphor, where I want to put it.

That there's (likely) an underlying hierarchical filesystem somewhere below, in the stack seems like an implementation detail. As a programmer there's a library/middleware to be used to access resources, but once inside, object based access already exists. Looking at video game save files, that's been the case for a while, with the state of objects (in fact, visible objects that the user interacts with) being saved and restored from disk.

I agree it's not as satisfying as a total paradigm shift in computing on every single level, but the notion that file system, byte stream access is a holdover from a previous era ignores practical, user facing progress we've made since.
I agree completely. If I were sentenced to even a week in jail for jumping a turnstile, I'd still feel like they'd thrown the book at me.
North Korea faces food crisis after poor harvest
Of course he is, US is in a much stronger position than the EU in the technology sector. You think he'd be saying the same thing if Google, Amazon, Facebook, Microsoft, etc... acted the exact same but were EU companies? I doubt it.
> The article's point is that static and dynamic types are fundamentally unrelated to each other

Not unrelated. You can embed dynamic types into a statically typed language, but not vice versa. Formerly dynamically typed languages that pull in static types, like Racket or TypeScript, become statically typed languages with embedded dynamic types.

> There's no way to enforce that the JS you write today will be statically compatible with the libraries and browsers that it touches tomorrow

This has nothing to do with dynamic types but with standardisation. C# is a language that is considerably different from its first release, and yet v1.0 C# still compiles on the latest compiler. The converse is not true, for either JS or C#. Dynamic types don't help with this problem.

> The web has JS which must coexist with arbitrary other JS, running on many different browsers with many more versions. How could you possibly build this without dynamic typing?

How do all the arbitrary programs on your computer coexist? The programs that interact do so via protocols or standard interfaces, and the ones that don't interact are isolated. This is no different than any other software.
This is literally what is said in TFA:

> Less activity suggests that the brain had become more efficient at semantic-memory processing as a result of the exercise, requiring fewer resources to access the memories.
As a temporary fix, go to about:debugging, and click "load temporary addon", then paste in the download link of the missing add-on. Then just try and not restart Firefox until they fix the broken cert.
Oh I totally agree, but I'm just highlighting what's actually realistic vs what's really just artistic license.
>because it points the blame back mostly on the sufferer.

It's certainly perceived to do that, but it can also be read as putting the power to change back mostly on the sufferer. Which is exactly right. Unfortunately it's a chicken/egg kinda situation where the advice is right but entirely indigestible to someone in need of it.
Interesting. I've worked concurrent systems in VHDL and Verilog (but not SystemVerilog) stacks, and those using C, C++, Haskell, OCaml, Ruby, Go, Erlang and Rust.

I wonder if this approach could formally verify systems like seL4.

Here's an approach to verifying concurrent systems using coq:

https://www.sciencedirect.com/science/article/pii/S157106610...
But you aren't waiting on L1, except in the sense that you're waiting on line fills from main memory. If the problem is that you don't have enough time to do something with the data you're getting, how is that solvable by architectural changes external to the CPU?

In the real world, if you need to deal with 400 Gb/s, you aren't going to send it to a single general-purpose CPU using any type of bus or channel. The CPU won't see it until another ASIC (or FPGA, I suppose) crunches it first.

Yes, that may impose a limit on the speed of an external network that a CPU can deal with, but that's the way it goes. MCA was never going to save us at this end of the Moore's Law curve.
All of that sounds like things you have to do because you’re too poor to afford central AC.
That's no different than health insurance companies in the US.
Do they really, though? I recall there was quite some controversy about that: https://twitter.com/tomscott/status/1076160882873380870
This is a goddamned disaster. I'm just thankful that I use an offline password manager, but even still ...

I like FF, don't get me wrong, but this is going to absolutely fucking destroy user trust in Mozilla. This kind of incompetence, on a browser scale, is breathtaking.
Interesting writeup.

Just leaving this here:
https://coincircle.com/l/50VVxbObg3

Earn crypto by doing tasks. Do Tasks, Get Paid.
Unable to download any add-ons
>Cephalod eyes evolved differently so don't have this problem

What exactly is the ‘problem’?
How is your vision adversly effected by this layout? Or, are you just arguing about aesthetics?
Hopefully you are hiring writers to report on the objective state of the world, not pursue a particular perspective.
Sometimes, a good pair of earplugs is helpful.
All Firefox add-ons suddenly stopped working and can't be downloaded
Isn't this just baked into any form of representative government or democracy? It doesn't seem like voting is the issue as much as how you proportionally represent your society.

The problem is that any minority group will always have less voting power than the majority group (if their interests are disjoint and no other coalitions are formed).
Is Prison Necessary? Ruth Wilson Gilmore
They do say "We recommend that you do not use periods (".") in bucket names when using virtual hosted–style buckets." in the "bucket restrictions": https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestri...

Still, seems kinda lazy from their part, they could just generate a custom cert.
It can certainly solve performance problems, in much the same way as turning of fsync. Even a contractor contracted specifically to fix a performance problem shouldn't do this without understanding how this will affect the particular application, or they open themselves to professional malfeasance (if noticed; otherwise they will likely get the contract to fix the data corruption problem since they did such a good job last time...)
Active discussion here: https://news.ycombinator.com/item?id=19823465
Disabling xpinstall.signatures.required works.
Cocoon+by+Sealy+Awesome+Savings
duplicate:

[1]: https://news.ycombinator.com/item?id=19823701
[2]: https://news.ycombinator.com/item?id=19823465
I think this fail-closed behavior is more of a security issue than the one it is trying to solve. All of my security add-ons - Privacy Badger, NoScript, Decentraleyes, and many more were disabled. Even worse, it happened without notice to the user.

One moment I was browsing the internet (just barely) secured by these add-ons, and the next moment, all of them disappeared (without warning) and I only noticed when I saw my password manager was missing.
Used laptop batteries deemed "dead" are usually only bad in one or two cells. A SoCal guy named Jehu Garcia went through charging and discharging thousands of used laptop battery cells individually to recover 18650's to build custom packs for a DIY EV VW bus.

Btw, it reminds me of the Joule Thief circuit (often used in solar outdoor lights), that can recover and fully-discharge a battery over a much larger range than most consumer devices.
Thanks, missed this thread.
I'm not sure why you consider byte stuffing a "hack", because it's a great way to make the codestream self-synchronising and easily decoded by hardware. It's also used a lot in video formats, because it enables easy seeking.
>This is a goddamned disaster. I'm just thankful that I use an offline password manager

I'm not sure this cert is used with the PW manager?
Methinks sleep increases memory performance more.
The sfba transit is terrible. When people advocate for transit we are advocating for better transit than what is available here.
And you get an upvote because answers like yours are simply beautiful to read.
Ml.net Reaches 1.0.0
only on dev builds
I think we’re arguing different things.

Sure, costs went up less after ACA.

However, the ACA directly added costs to insurance that weren’t there previously.
Over 10,000 now.
If you picked and announced the jurors 60-425 days before they had to serve, I bet you'd see bribery in jury duty emerge.
Do you think banks destroy money?
I imagine chrome user numbers will grow tomorrow, for better or worse, google chrome team would never let something like this happen
Like Cubans under sanctions... the poorest people are the most inventive by necessity, while the richest tend to be the most wasteful and unimaginative. Mother of invention and all that.
You need to be on nightly, dev, or ESR for this to work.
> When I ask them to show me examples, they don't point to bugs that were prevented by compile-time checks

Similarly, if you ask a writer who uses a pencil about the benefits of their approach versus a pen, they likely won't reference any specific times when they would have made un-erasable mistakes.
Le Git should be git's official newsletter.
Bugzilla issue here: https://bugzilla.mozilla.org/show_bug.cgi?id=1548973

It's a signing cert failure, not an intentional move. Still... this is going to destroy user trust in Firefox.
Apache NiFi 101
It's clear in the paper that their result is the other way around, exercise was correlated with higher activation intensity.

https://www.cambridge.org/core/services/aop-cambridge-core/c...

The activation intensity isn't necessarily a measure of efficiency anyway. There wasn't a difference in blood flow, so energy use would have been similar.
> Still... this is going to destroy user trust in Firefox.

The bug name ("armagadd-on" 2.0) is quite fitting :)
Being a Germanic language that has vowels, Yiddish should not have the same keyboard layout as a Semitic language.
Restarting Firefox is not necessary for this to happen. It happened to me while streaming video a few minutes ago. I use containers and I was logged out of my account, since containers were disabled.
Amazon Shutting Down Storywriter and Storybuilder
Free Isn’t Cheap Enough – The Blog of Palmer Luckey
So why is medical school so expensive? It's staffed with obscenely highly paid doctors. It's self perpetuating.
I can't believe I watched a 5½ minute video to get this joke, but it was worth it. I also learnt about a new contraception method. I love HN.