skysight-inc/HackerNews huggingface dataset:
@norberg or any other Google Chrome/Keystone engineers:

WHY can you not make Chrome update like every other sane, well-behaved app?

Update notification -> User confirmation (or an OPTION for auto-updating) -> Download status.

Why do you insist on installing things into our startup sequence without our permission? If your intent is to "protect" users, increase the nagging. I'd be fine with Chrome refusing to load any website until Chrome is updated to the latest version.

Even Apple, who is notorious for making users' decisions for them, lets us choose when to update apps and operating systems.
The next release of FF looks to be a game changer in that regard.
Trump’s “Presidential Harassment” Tweets Are an Insult to MeToo
This is a great article, walks through a bunch of complications with measuring web performance.

Summary:

1. Use performance.now(), which has 0.1ms resolution and is monotonic, instead of new Date() which has 1ms resolution and can decrease if machine time changes

2. Check for document.hidden and the 'visibilitychange' event

3. Use event.timeStamp for start time (when measuring responsiveness to an event)

4. Use the parameter that requestAnimationFrame() passes to callbacks to include time running framework code

5. You can nest requestAnimationFrame() to include Layout and Paint time, but that limits precision to 16ms so they didn't

6. Instead of percentiles, count % of events under a target like 100ms, it's more user-centric: instead of "how fast/slow is my app" it tells you "how often do users experience slowness"

7. Chart the counts at multiple targets in an percent stacked area chart

One weird thing to me about items 5 and 6—why not both? Why not have a chart including and a chart excluding Layout and Paint time, so you know if you're doing bad CSS or something that's introducing an expensive repaint? Why not have a stacked line chart with percentiles alongside the percent stacked area chart?
I mean, if something like this is behind a promise or an async call, that probably means that there's I/O involved (no point using async to access local in-memory data), which means that the local locking primitive won't be incredibly useful, you're going to have to lock it via whatever mechanism the I/O channel (or some API using the I/O channel) provides, such as file locking or some API call or something.
Hah, I use that "resize the window until aligned/a pattern emerges" trick, too. If you think about it, humans' pattern recognition over vision works impressively well. I'm sure there is plenty of reason why we evolved that way, but the fact that you can take that ability and adopt it to something which is completely artificial and "unnatural" (file representations on a screen), completely without any conscious effort (you just resize the screen until you suddenly intuitively "perceive" a very abrupt and markant change), is amazing.
The XPS 13 is the worst keyboard I've ever used. It brings me great physical pain to type on it. I had to quit using it as a laptop and exclusively use it with an external keyboard because the finger pain was so great. I know many people (like yourself) don't feel that way, but it was absolutely not acceptable for me.

Thanks to the XPS when I picked out my new laptop keyboard quality/travel was my #1 requirement by a tremendous margin.
I'm not a fan of their thin-first addiction, but when in the history of Apple have they asked customers what they want? Steve Jobs:

"Some people say, "Give the customers what they want." But that's not my approach. Our job is to figure out what they're going to want before they do."
Any Wikipedia engineers here? Being linked, on desktop, to this file represents an exercise in futility.

I want to read the full article we were linked to. My click targets, in order:

'x' - 'x' closes things. Can I close this modal to see the full page? No, it closes and redirects back to this page on HN.

'more details'? No, it brings me to a details page about the graph image. Cool, it's used on some other pages. Useless as a reader.

'black space' around the image? Not a clickable target, why would I click there?

Can I zoom in? No, the image auto-resizes but the image viewer chrome zooms in — making the image smaller??

Am I just a bad Wikipedia user?
Stacked chart makes sense here, because the sum is constant.

What does not make sense is slanted lines; they draw different, slanted shapes that don't convey information.

Instead, a stacked bar chart would be appropriate.

It's also hard to offer so many distinct saturated colors, and color + pattern does not work all that well for small slivers like IBM 3090. A palette of appropriately contrasting colors (different hues, intensities, and saturations) would work better.
Celsius S36. My GPU is on a separate loop and was idle at the time.

I was running benchmarks of Intel MKL's zgemm vs zgemm3m because of a Julia PR that recommended replacing the former with the latter. I don't think anything hits a CPU quite as hard as a good BLAS.

I think my thermal paste may be bad, because the CPU idles hot -- nearly 35 C. I ordered a Direct Die-X and MO-RA-420 radiator, so I'm planning on swapping the AIO for an open loop with way more radiator area and flow through the fins.

Running dgemm, that CPU would hit just a tad below 2 teraflops. I'd like to get it just over that (and run much cooler).
If folks are curious about the benefits/drawbacks/etc of the medium, I would highly recommend checking out the media presentations given at the Library of Congress Designing Storage Architectures meeting (most slides are online -- scroll down to the "Designing Storage Architectures Meetings" section and click through to each year's list of presentations):
http://www.digitalpreservation.gov/meetings/index.html

The 2019 meeting just happened and had a lot of good info about current use of tape, slides should be online in another couple weeks. (I presented there this year and work at the Internet Archive, though we do not currently use tape in our storage infrastructure.)
I bought an Apple Watch when a friend of mine showed me the EKG function. Also bought an iPhone. Realized that this is the future for us all, so I bought a lot of Apple stock.
That's what I did :)

I coded my maze generators in 6502 assembly - the same CPU the Atari uses. Mine was for the NES, which is more powerful than the Atari (2KB vs 128B of RAM, for example), but I think I know what I'm talking about.
I’ve seen William Blake mentioned twice in two days.

Last night Kris Kristofferson mentioned him as the reason for leaving his old life behind and moving to Nashville, working as a janitor at the studio, while trying to be a songwriter.

Around 42m mark:

https://www.pbs.org/kenburns/country-music/episode-6-will-th...

Unfortunately there’s a long ad at the beginning.

The quote was from this:

“If you, who are organized by Divine Providence for spiritual communion, refuse, and bury your talent in the earth, even though you should want natural bread,—sorrow and desperation pursue you through life, and after death shame and confusion of face to eternity. Every one in eternity will leave you, aghast at the man who was crowned with glory and honour by his brethren, and betrayed their cause to their enemies. You will be called the base Judas who betrayed his friend!'—Such words would make any stout man tremble, and how then could I be at ease? But I am now no longer in that state, and now go on again with my task, fearless, though my path is difficult. I have no fear of stumbling while I keep it.”
All I want is a world where more people are choosing to have more sex with more people, and as much as I support feminism and liberalism, it makes me sad to see sex become so... formalized and regimented. It's as if people are forgetting that sex feels great and that pleasure is good. I resent the fact that this great country (the US) has one of the lowest rates of sexual encounters per year per person.
> “No one had to do this,” Pamela Wasserstein, the chief executive of New York Media, said on Tuesday. “It’s a brilliant, in our view, opportunity, so that’s why we leaned into it. It’s not out of need. It’s out of ambition.”

If it was such a great opportunity and not out of need, why wouldn’t they disclose the value of the sale?
I mean the answer here is an async getBalance and setBalance is the incorrect way to do this, and a mutex won't solve that.

if balance is a javascript variable, access shouldn't be provided by async functions. In the case that mutex is a remote resource of some sort (file or network resource) a process local lock won't solve this for you either.

It seems to me that the lack of locks make forces software engineers to consider the nature of their data instead of just grabbing for the inappropriate os lock.
You’re making some bizarre assumptions. Not everything is front end user facing.

Let’s say I’m processing messages off a queue. P90 @ 50ms vs p90 at 100ms doesn’t necessarily make a difference. What are my downstream dependencies? What difference does it make to them?

At the end of the day, value is what you care about - not necessarily chasing a metric because lower is absolutely better. What’s the cost of another x milliseconds of latency considering other trade offs (on going operational burden, extensibility, simplicity, scalability, ease of support etc etc).

If 50 ms latency means I can have a solution that can auto scale to massive spikes in traffic due to seasonality or time of day vs a reduction of that latency but I have to spend time capacity planning hardware and potentially holding extra capacity “just in case”, then again, optimizing for a single metric is pointless.
I have a degree in Econ and its worked out wonderfully. It's really YMMV
> Neither company would disclose the value of the deal.

I'm going to go ahead and assume this was less of a "buy" and more of a "took on their debt in exchange for their assets" kind of situation
> also ignorant, because 1990s C was decidedly synchronous

There was definitely threading in C in the 1990's, and threads are asynchronous by nature. There's a whole class of synchronization bugs that C and C++ developers had to learn to deal with, and while JavaScript developers get to avoid some by the nature of there being a single thread, that doesn't necessarily exempt them from all of them.
Benefiting from a system of oppression that kills people isn't a straw man, it's the entire point.

> US imprisons a huge percentage of its population, China just shoot them.

I can't tell if this is moral equivalence or simply ignorance of what China is actually doing to its population. I'll give you the benefit of the doubt and conclude you think US prisons arresting non-violent drug offenders to 3 years in prison is the same as kidnapping/torturing and disappearing an entire ethnicity.

I think you have come to that understanding by knowing you depend on the status quo in China for your own personal wealth, not unlike many Han Chinese. And that makes me sad.

> I really think China is the future, very impressive. - Elon Musk (2019)

This means nothing, every large investor kisses up to the gatekeepers of a growing market. Every single one.
The compression ratio seems to actually be much worse than gzip, but it's also faster.
Fewer than 1% of the U.S. population reports a visual disability[1]. Even if Apple cornered that market, it’s not a very good ROI.

[1] https://www.nfb.org/resources/blindness-statistics
I was mining bitcoin in 2011. It was stupid then and stupid now. Sometimes a lotto ticket hits.
>> What would you suggest instead?

On the front-end, I'd do a call to the server.
On the server, I'd use a database transaction for that.

But I get your point. The way I deal with race condition in redux is to have a mutex. I.e. While something is being fetched, any call to this command is either ignored or queued up.

I use redux-saga for the "race-condition" and general flow, and call the various async functions from within sagas.
Burger King's strategy for the longest time used to be 'just build across the street from McDonald's'
Can somebody give me(/HN) a TL;DR of how this differs from existing OSs targeted for Kubernetes, like GCP's Container-Optimized OS?

https://cloud.google.com/container-optimized-os/

The big difference seems to be removing SSH. I understand the theoretical rationale, but in practice it seems like this would complicate troubleshooting quite a bit. Yes, maybe you shouldn't be SSHing into prod ever, but how do you keep the environment consistent if you do want to allow SSH in dev/test?
Well, sure, but that only works when the leader has a product vision.
It costs a premium to bake in features like this and to have them fault tolerant. Even a low income family could pitch in to buy a watch for their grandma if they really wanted it.
It was definitely present in MacOS classic can’t tell exactly when contextual menu was added. But on top of that there was actually a third method, select the disk (highlight) and press cmd-E. Which now now that I think of it is just a shortcut for the fourth one, select the disk then select "Eject" in the file menu. Actually this last method must be the mother of them all, the drag to trash was also maybe one of the first "discoverable shortcut".

It’s just that "drag to the trashcan" gimmick was present since first Macintosh introduction keynote in 1984 and is still usable as of today so no surprise it’s the first answer on every Q/A.

I can’t yet skim through the footage but it might even appear in the 1984 LIVE DEMO (more emphasis needed) of the first Macintosh : https://youtu.be/1tQ5XwvjPmA
Sure enough, but in javascript if your balance operations can yield due to async requests than you already have a bigger problem than a shared in-memory variable. Which is really the only case a standard os-lock can solve.

Let's say that balance is in a database or behind a REST api. An os-lock won't solve the problems of other processes trying to update that same resource.
Hello dang, bringing up CCP concentration camps on a public forum is not flame bait, unless you are trying to hide their existence on an American website.

However there was an antagonistic tone which I won't repeat.
https://news.ycombinator.com/item?id=9224

basically someone belittling Dropbox before it went on to be worth billions.
Putting yourself out there isn't easy - at least not at first. Build confidence in small steps.
FYI: Talos is a trademarked name. In tech. So is Telos. This will be very confusing and likely cause you issues
A very simple and necessary general principle is that if two or more vehicles are involved in a collision, if it can be shown that some of them violated the traffic code (committed a ticketable moving offense) and some did not, then the liability should be apportioned among just those drivers which violated the traffic code.
Wish I could get my grandma (90+) to wear one, since she falls regularly. Problem is that she’d never remember to charge it.
No one cares about thinness... I want a keyboard that either doesn’t break or doesn’t cost me 700 to fix.
Yeah, they all seem to be between $2,000 and $3,000, and I can't imagine how these things could be much more complicated than a dvd drive, if they aren't simpler.
I qualified my response saying it's anecdata. Your responses clearly try to undermine the top engineering institutions, I provided a counter.
California health officials tell everyone to stop vaping
The article suggests not instrumenting layout and paint, though it does mention the double rAF option.

Be careful skipping this! It is trivially easy to regress layout perf with CSS property changes and if you’re not instrumenting layout you might not catch it. I’ve personally fixed 300ms P90 regressions from thrashing layout on a button click.
Writing cross platform scripts with Sparrow6
You're reading too much into the example. Your 'database' can be your frontend js state. There is nothing in the example that limits the problem to backend development.
Is Tape worth it for a movie collection? I don’t think I will see any benefits of the compression and the prices seem comparable to just buying a 8TB HD
Using New VCPU-Based On-Demand Instance Limits with Amazon EC2
2015/2016
I got this in my email box. Does anyone know what this actually means?
At YC we do this all the time. Its our bread and butter :)
A good case for Face ID - I know an option allows it to hide notifications when it's locked, but I don't believe there's one to hide the contact's name.
I mean, if I could have a magical fairy computer that was as thin as a piece of paper but had the keyboard of a 2015 MBP, and decent performance and battery life, yeah, I'd think that was pretty great.

What I'm not willing to do is make any drastic usability sacrifices in exchange for more thinness.
This is more of a business scheme, than a social one. I.e. sellers of such services made huge amount of money by hyping it up and getting a narrow market, trying to claim, using other options is forbidden. So even in orthodox Jewish communities such efforts are often seen as pursuing ulterior motives and therefore aren't really looked upon positively.
Do you really want to block all of your http calls on the result of the prior call in the off-chance that they might share a result just so you can only cache the results and not the promises?

The reason we don't have a mutex in javascript is that there are better solutions to the problems it solves.
"I’m going to refrain from publishing how exactly I went about my own writing—my own copying and encryption—so that the NSA will still be standing tomorrow." Ed being sarcastic?
Canoo’s first subscription-only EV is a refreshing rethink of the VW Microbus
Although they do offer a prior model for $199, which is about as affordable as anyone could expect, this is unfortunately the Series 3, which doesn’t have this feature. Hopefully next year the “old model” will include this life-saving tech.
You had me at "a modern"
Some of their financing demands they IPO this year I think. Could have misread something though.
Legal in US: Online Casino and Sports Betting Comparison
Rewriting using Raskin's theorem -
"
Since re-joining the iOS world last year, I've been amazed at how many (often nifty!) features are utterly unfamiliar. I was still discovering new features either on accident or via articles, multiple months into ownership of my iPhone. Once I learned about the features many of them were great, but it's very surprising given Apple's focus on familiarity."

Ref: Intuitive = Familiar ... By Jeff Raskin
What don’t you like about the stock keyboard that makes you want to use a third party keyboard instead?
Google books is good
Can't you just keep the old drives you wrote the old tapes with?
It took me a lot of reading before understanding that this is an OS on which you run a Kubernetes node//master and not a so-called OS on top of Kubernetes.

Somehow When I read "OS for Kubernetes" I thought it was yet one more layer of abstraction on top of Kubernetes.
In the US, employers can fire employees for violating company policies (which presumably would forbid spitting on coworkers) even in cases where protected classes are not a factor. Is that the thing you think is objectionable, and maybe illegal?
Its an investigative process with procedure and hearings, its no more a fiat than a court is.
here's the docker info https://github.com/jonschoning/espial-docker
Geoff Blum New Testimonial?
I don't think it's true that the engine must be using a mutex to support it's async functionality. Or that it is true that an OS mutex will be any more efficient than alternative solutions.

A mutex really can only exist to serialize async code. If you want it serialized that likely means that code shouldn't be async in the first place.
I would change that to just /Library/Google/ to prevent Google from putting ANYthing outside its .app bundle or the normal user preferences folders.
Until they break. Then you can't get a new one.

Source: have done this at scale, have spent time scouring the second-hand market to cobble together early-generation LTO drives.
Unfortunately, QuickPath is available only for English keyboards.

Edit: my bad, this is not true, thanks for correcting. Still, only available for a few languages, so doesn't fully replace Gboard for all situations.
GP said "x86 dominance" not Intel x86 dominance, for what it's worth. AMD64 is x86-64.
> Hey. Google Keystone tech lead here. We are aware of the issue, and we've stopped the release.

There is no legitimate reason for any install other than an OS upgrade to modify /var or any other system-related directory.

Ever.

> We're building a replacement that fixes the problem.

The fact that your team would allow any code which modifies a machine at the OS-level only reifies the concerns regarding Google's products.
You can turn of auto correct and all the gimmicks like spell checking, predictive typing, smart punctuation and auto capitalisation for the stock keyboard by going to Settings > General > Keyboards
I cannot find a single source for your claim. Do you have one?
You can imagine a function being unintentionally promoted into async-world for some kind of cross-cutting concern even if the data is stored in memory, e.g. if logging requires an async call, or if reporting metrics requires an async call.

While I agree that in the general practice in JavaScript programming stops you from this kind of footgun, you can still be caught off-guard if you end up thinking that this programming style is immune to this kind of problem: locking is a big hammer with its own problems, but it will never cause data incorrectness.
If SIP blocks program from accessing system files, shouldn't it alert or something?
Can't come soon enough. The syntax is a head scratcher. I don't understand why anyone could have possibly thought [[[[]]]] was a good idea! Don't get me started on the closure or variable syntax. Oof.
Always buy two I guess. That messes with the affordability calculus though.
In that case, I wonder what putting down $10-100,000 as an incentive plan would do for a sample of student's resulting grades vs another sample spending that on tuition.
I've been thinking of switching from an old Pebble to a Garmin because it has a daylight visible screen. Do they also have a system to text in case of emergency like the Apple watch?
> Just because code is written in an asynchronous style doesn't prevent correctness errors that would not exist with locking.

Yes, that's why I referenced passing around a reference to an immutable data structure, which is fairly common in JS.
Ahh thanks for the feedback. One thing is clear from all this is that we can do a better job in documentation.
Yeah, in my company’s “main city” we have traditional offices with long term leases that we furnish and operate ourselves. Our headcount in these offices is pretty stable, so it makes sense. But we’ve got a bunch of decent sized, sales/marketing focused international offices, and they’re mostly WeWorks. They’re great!

These international sales offices can quickly spring up and grow, but also quickly scale down or close. For satellite offices that can easily get way bigger OR way smaller over the next year, the flexibility WeWork provides, and the fact that they handle furnishing and operating the offices is huge. Plus they’re beautiful offices with free beer and whatnot, so (most) people enjoy working in them.

WeWork clearly has terrible corporate governance, and we’ll see if they can keep the product great while moving towards profitability. But for now they do have a really nice product for a lot of companies (and some individuals). They’re like AWS for offices - flexibility and “managed by someone else” is almost as nice for offices as it is for servers.