skysight-inc/HackerNews huggingface dataset:
> All content is easily indexed by Google and ready to serve from its AMP cache

If the content is encrypted and can only be decrypted by the user with the right keys, how does Google get to decrypt it? They have a master-key everyone needs to use in order for this to work?

Took a look at https://amp.dev/documentation/guides-and-tutorials/develop/m... which is linked as well, but got no answer.

I seem to remember something around that Google penalized websites who showed different content between Googlebot (the indexer) and a normal website visitor. Does this move go directly against that, when the premium content would be indexed but not be able to be viewed by the visitor?
"... If a student wants to study at Princeton, he doesn’t really need to apply or pay tuition. He can simply show up and start taking classes. As a professor, I assure you that we make near-zero effort to stop unofficial education; indeed, the rare, earnestly curious student touches our hearts. At the end of four years at Princeton, though, the guerrilla student would lack one precious thing: a diploma. The fact that almost no one tries this route — saving hundreds of thousands of dollars along the way — is a strong sign that students understand the value of certification over actual learning..."

"...Educational austerity is the simplest path back to an economy in which serious on-the-job learning starts during high school — not after college."

https://www.latimes.com/opinion/op-ed/la-oe-caplan-education...
Could you give me a hint here which of their API's it's using? There's a few "depth" frame interfaces in iOS for various devices and googling which apply to which devices rarely yields much. (I wish the apple docs would hint as to which devices apply to which APIs)
Amazon used to be good for more obscure, hard to find things. I now use Ebay for such stuff. It is more transparent and I can communicate directly with seller.
Vanilla VSCode also has surprisingly good code inference for Javascript/Typescript.

Recently, Typescript was complaining about an implicit `any` even though the VSCode tooltip clearly could infer the actual type (it confusingly was showing both cases in the tooltip). I finally realized that VSCode's built-in inference worked here but Typescript didn't work at all because I forgot I was importing a .js file rather than a .ts file.

VSCode for course also downloads @types/* files in the background even in vanilla JS projects which is super helpful because you get effortless intellisense. That it does this kind of stuff out of the box is the sort of reason why I've lost my Vim/Emacs fanaticism over the years.
The packages installed in the builders are essentially never used since it never runs. The builder makes the files to install in the final container during the build phase, and then gets thrown away.
Can't you use a service such as pricerunner.com or pricespy.co.uk
I don’t get how you deal with payment in that scenario ?
Do you spell your card number on the phone ?

Otherwise while I get wanting to support local stores, have a bookstore order a book for you to have them deliver it feels way too wasteful when you could order the book from systems directly hooked with the publisher that will send it straight to you, delivered by professional drivers.
> What this author has settled on looks very similar to commonly used tiling window manager shortcuts

This is what really intrigued me about the article. Most are about remapping the prefix to something easier to type, or using more intuitive mappings, but removing the prefix altogether is different.

I think I might try it for a while. I'm kind of in two minds - on one hand it shortens common actions from a chorded prefix + a chord to a single chord. On the other hand, it makes it easier to clash with existing keybindings and modifiers (readline default bindings use alt/meta and ctrl, my i3 config uses super, other cli apps use ctrl...). It also means I need 2 sets of muscle memory, because I use tmux in many servers and such where I don't have the opportunity to add custom config.

> I guess the funny thing is, this gives a nice bunch of Tmux shortcuts, unless you're using a tiling WM for your system , in which case this is hopeless

Unless you use a different modifier for the tiling wm actions - eg. I use super + <keys> to namespace i3 bindings, which leaves alt/meta free for readline and others.
vietnamese here. i can also confirm all of these.
in the software world, one can avoid the monster that is c++ rather successfully, but it's gotten to the point that no matter what, python is thrust upon you to deal with. "hey here's this thing that is barely working" (in large part because it's written in python) "and we'd like you to maintain it but not switch from python" (because anything besides python makes us uncomfortable). meanwhile, python makes me uncomfortable and is such an unprincipled language, it feels like it fights you every step of the way to write error-free code.
Nah, there's enough tech people with $$ in the bank and reliable RSUs that it's not going to break. Unfortunately.
> Shot on an iPhone XS in 2018
The one at BYU has signs around it saying something like "Warning! 10,000 ohms! Do not touch!" I guess the thinking is that those who don't know what ohms are will think it's dangerous and those that do will have enough respect for physics to not disturb the pendulum.
It is funny, but also valuable I think by holding up a mirror to the community.
AMZN operating income (revenue sans cost of rev and opex) has been growing YoY for a while, so no, Amazon is making more money and being more efficient at making it.
Opting in to Preview Builds with AWS ALBs
> The whole setup process is just too outdated. Does anyone know how to automate all of this?

The usual way is to use the Windows unattended installation tools to create an image which has everything included - I'm assuming this is how this is supposed to be used. IT in your organization just puts a prepared image on your computer. That imshr will automatically have everything you need installed including this plugin and its registry changes.

I've scrolled down the install guide and there seems to be also a PS script that sets up the registry keys for you so you can probably do remote unattended install as well.
Because their Dear Leader thinks that UV light & Lysol is going to play a role in treating COVID-19 patients?
Laptops are huge.
I think a good step in this direction is linuxkit[0] -- it's one of the most exciting projects IMO with regards to improving machine build processes (especially if you're in the build-a-VM/AMI world still).

If we can scan container filesystems for dependencies, or choose languages that let us build containers minimally enough that it's only a binary + static libs, we can start approaching systems that have dependency chains almost fully cataloged.

[0]: https://github.com/linuxkit/linuxkit
"contact tracing is a Nazi dream"

This summarises quite well the level of hysteria.

Stressful situations make people lose rationality.
People do seem to often complain about the tmux defaults or say their particular configuration is "sane" and the defaults are not. But if you look at changes people make or at requests made over the years, they are all over the place and there is rarely a single common consensus on how the defaults could be better. Even if you look at something like "tmux-sensible", it is maybe a dozen lines of changes, of which some are now obsolete, some have downsides that prevent them being the default , and some are obviously personal preference.

I did have new panes and windows default to the current working directory for a while, and I in fact do this in my own config, but there are security concerns and it was felt it was better that people have to configure it explicitly if they want it.
You right but nobody care. Here is the only petition I found that is still open and you'll see support is abysmal: https://www.change.org/p/apple-apple-bring-the-headphone-jac...
Feels like a gentle reminder about corp.com. If some configuration works out of the box in an insecure way, that's what everybody is going to be using.
it works pretty well if you're in vi mode, because the same key commands are used in vim for visual mode. so you end up just getting used to scrolling that way.
no one is locked in their abodes.
Progress Quest
After a few years in tmux, I actually moved back to just iterm2 (I'm always on osx). There are many new Iterm2 features over the last few years that make tmux unecessary IMO.

- Iterm2 can now restore sessions, even partially after a reboot (attempts to recreate workspaces). This was the main benefit of tmux for me.

- Iterm2 can also have a visual mode to browse your scrollback buffer, and there are some shortcuts similar to vim. This was the second main benefit of tmux for me.

- It's less keybindings to remember and configure.

- Iterm2 can better size your split panes. You can also change text size per pane. Useful for wide text.

- A bunch of other things that iterm2 does better when tmux is not open. Autocomplete. Paste history. Instant replay. Some of these are quite gimmicky TBH, but could be useful for some.

- Text, colors, etc... appear sharper without tmux. I think. There are antialiasing configs you can mess around with in Iterm2 at least.

- Shell integration. Jump to your last shell prompts in scrollback. Highlight all your prompts in all your panes.
Then move to those panes with your mouse without clicking. Amazing.
Wow, this is awesome and truly well-written!

I'm reading this, and nodding, and am amazed at how well it captures what many discussions on HN about iPhones are like.
> The top reason I did start using tmux was because of how you can select text with the keyboard in copy mode (like visual in vim mode). Then I got the plugin tmux-plugins/tmux-yank which adds "y" command to copy the text. Also works with selection by mouse.

Sure, but this is the internal "copy mode" of tmux, and is not useful to copy text in and out of your terminal.
And then figure out how to simulate humans that will read that discussion and change their simulated approach to the iPhone topic as a result.
If you can use a weaker strain and presumably get the same results, of course, pick the safer option. However, if you can't, and people of sound mind are volunteering for noble reasons, why wouldn't we do that?

Is it worth it? We've lost about 200,000 people worldwide just in the past month from this disease. It's the leading cause of death in many countries. In healthy young people (20s, no preexisting conditions), the fatality rate is well under 0.1%.

If the vaccine doesn't work at all, which is unlikely, you'd expect 0-1 deaths from the trial. To save perhaps a single life of a willing, altruistic volunteer subject while hundreds of thousands die every month, and the world is confined to its homes is to me, utter insanity.

Do we tell firefighters to not go into a burning building to save lives, even if there is considerable risk?

If this is the state of medical ethics, the field should be torn down and rebuilt. To deny approval for a challenge trial with volunteers is mass murder.
Huh? tests are there to make sure your code behaves correctly, e.g it works. Don't you do that in static land?
Next it will be SICP for Java. Is nothing sacred?
I have my misgivings about Python and C++ too, but when writing them for my job I think how much worse things could be. I could have a job that didn't involve coding, or no job, or even something involving Java.
In this classic style? https://craphound.com/spamsolutions.txt
If it's the work account, assuming it's through no fault of the user, I would argue that's the best that can happen, since it might make the company think twice about what they are doing in the first place.
> since the backend is so simple, everybody can do it, while the stupid button takes a wizard to get right

What?!?!?!
i think this is rather dishonest to call this "SICP in Python" and the same goes for the title of this post. this is not SICP and is not simply a port of the code found in SICP to python with the text unchanged. it's simply a book that seems inspired by SICP but the introduction doesn't go into any detail other than saying it's "derived from" SICP. this is misleading to people who aren't familiar with SICP and think this book is it but just for python.
Also any sort of combinator usage or functional programming reminds me of why static typing is so useful.

A few layers of higher order functions / combinators and I don't remember if I have `value` or a `{ value: value }` container (like map vs flatMap). Or which stage of the curry I'm at. Oh right, I'm at foo(a, _, c) but thought I was at foo(a, b, _).

If you can't even remember the last time you've encountered a runtime error, you are by my definition writing trivial code or not writing much code at all.
Interesting how these things have a variable performance between countries -- in the UK DPD is one of the better couriers (informing you of a 1 hour slot when delivery will happen, including a mini-map and 'you are delivery 46, van currently doing delivery 24' info on the status page) whereas Amazon Logistics' rep is somewhere between 'merely OK' and 'worse than average'.
We had a hand cranked one since forever in my family home. As a kid I always volunteered to grind the coffee for my parents. I don't remember it being particularly hard to crank but who knows - I indeed use an electric one nowadays.
Just like spamsolution and the ever growing corpus of XKCD.
There are as many "worst things" as there are people.
Not if they have negotiated the rates with the power company ahead of time.
> TS will show me every location I have forgotten to set the Bar property

Yeah this is what I was getting at - e.g. say I have 5 functions that all return Foo object, and for just one of them I need to add in an extra Bar property then I need to make sure that all 5 functions also do the Bar property, even if only 1 needs it (or make it optional, but that might screw with the semantics of the one function that does need it). So now I have a Bar on all Foos, even though only 1 function needs it - things start to get messy.

The alternative to changing all 5 functions is just to create a separate type for just that one function that needs Bar

Either way it is "extra work" if you are used to the fast and lose javascript way of just adding it there and then and not caring about the others.

I agree though that TypeScript is way superior as you point out it would just tell you where you screwed up and I would always start with a new TS project rather than JS today, but I still think there is a place for the raw & dangerous world of untyped JS for rapid and unsafe prototyping and hacking where TS can slow you down.
What problems does it bring with it? It's just a tool that automatically tells you where you need to deal with possible null values. It's far easier than trying to catch every possible place this can happen with loads and loads of manually written tests.

Not all static languages give you this but the trend is pretty clear with Typescript, Swift, Kotlin etc.
India coronavirus: The 'mystery' of low Covid-19 death rates
Al Jazeera is simply Qatari government propaganda. If they're reporting it and it was 'ignored by the rest of the world', it's certainly only reported for the benefit of the Qatari government.
The strategy is slowing the spread. Elimination was impossible the day the virus left wuhan. We can't lift restrictions to meet hospital capacity because that is an extremely dangerous gamble, especially when all our numbers on the spread of this disease are bound to be underestimates.
Implementing Red black Tree with property-based testing in Python
I have honestly never seen any big value in using tmux over screen. I do all the multiplexing in my window manager and I use tilix which allows me to sync commands over multiple sessions.
“We aren’t in your region yet” - OK, I’ll go back to my AirPods then.
Tmux is amazing, my only request is there be an option to name panes (with the names showing perpetually on top or bottom of the pane). Every time I ssh into an ec2 instance I can't remember what logs are showing in each pane!
For people that cannot access the website: I guess this is what the link points to https://www.tomsguide.com/news/pixel-buds-2

It is pretty annoying that I get redirected away from the site because they don't have them in Denmark.
Fake Core i9 sold by Amazon
There was an incident reported on HN where the entire gsuite account got suspended without warning..
Of course we are all speculating on what people want or will do in this situation.

But take a hypothetical continuum of unemployment benefits. At which point will your thesis that "people want to work but are unable" switch to "people aren't working because they're being paid way more to not work? The switch will probably be binary at the individual level but will look like a continuum when looking at the population level.

Individuals will of course respond differently depend on the specific contexts of their life. I think in the end a quantity that will matter will be the ratio of unemployment benefits to old job salary. Other factors such as job satisfaction in previous job will contribute to the variance.
He's quite posh.

Humour aside, I don't think he's posh enough to use it in the intensifier sense. If he says something is "quite good" on TV I'd expect it to mean "good" but not necessarily "better than good". Would be interested to see your counter example if you do remember it.
LXC[0] is "the original" (citation needed) linux containerization effort, and LXD[1] which is the daemon built to manage it on top is a really really interesting project. In an alternative world, it would have taken off instead of kubernetes as your container management and scheduling solution (which might have been wrong, k8s runs at a level of abstraction higher than lxd so actually I think it deserves to be where it is).

The main difference between a common 'docker' container and a LXC container is user namespacing[2]. This is where the improved security claims, and ability to run "unprivileged" containers comes from. This is accomplished by uid/guid mapping[3], and docker now has it[4] though of course docker and LXD are not comprable -- not even LXC and docker are comparable.

If the ends of the spectrum of abstraction are Kubernetes--<other tech>--fork(), I'd say the spectrum with these tools included looks like: Kubernetes----LXD---Docker swarm----Docker----LXC----fork().

[EDIT] - "difference between a LXC container and a LXD container" -> "difference between a common 'docker' container and a LXC container". I mis-typed and just caught it. LXD is built on LXC so obviously it does not make sense, a LXC container is a LXD container.

[0]: https://linuxcontainers.org/

[1]: https://linuxcontainers.org/lxd/

[2]: http://man7.org/linux/man-pages/man7/user_namespaces.7.html

[3]: https://linuxcontainers.org/lxd/docs/master/userns-idmap

[4]: https://docs.docker.com/engine/security/userns-remap/
Flame wars over this used to be common on the internet. People intuitively have the notion that the left side approaches 1, but never actually equals it. They see it as a process instead of a fixed value. Maybe the notation is to blame.
So 10 years, modern humans are 200k years old.
Adding on to this, college is a great place to meet students from all around the world. The downside of virtual learning is that many students fled the countries where the government's response was underwhelming, so it's hard to collaborate across so many timezones. If virtual learning continues to be the norm, then students would likely go to schools to operate in a timezone that works best for them (which would most likely be during the day for them). This would eliminate the opportunity to work on projects with people from the other side of the world for most.
Wait!!!!!

So Dan was a freeloader, instead of HIM paying the cost to notify HIS subscribers (aka TWITTER followers), he externalised/rolled off the cost to Twitter. Now that Twitter wants to do some cost-cutting and Dan has to pay HIS own "phone bill" for HIS customers, Dan is calling out on Twitter? Suck it up bro.

When I hear people complaining that "in our office they changed the coffee to a shittier one", I know what this is a prelude for avalanche of cost cutting measures. SMS in Twitter are being switched off? Blame the folks that created their business on someone else's £€¥$ and the Twitter shareholders came calling for more profit.

I wonder what are the savings that Twitter is making by flipping that switch off...
And what if it is still a deathtrap that will kill 1% of people that step into it?
I'm not "cool" by any means but hanging out in cafes for hours without working still happens, I know because I do it (or I used to, before this virus). I always bring a book or a magazine to read with me and I also have my small-ish iPhone SE for HN browsing and that's about it. And I'm not the only one doing it, I almost always see other people just sitting with a book in their hands and drinking a coffee.

My gf works from time to time on her laptop while enjoying our coffee but I myself haven't had a "modern" laptop for quite some time (my last laptop is a Mac from 2009) and as such I never bring work with me to the coffee house. I agree that not having kids yet helps with this lifestyle.
I remember WarCraft 3 official forums being torn apart by this, with probably thousands of comments in the thread. Blizzard even had to post their official stance on the issue, but that didn't calm those who insisted 0.999... was 1 minus epsilon and not exactly 1.
Personality is nothing visual. Even irl.
i personally can't get past it. i've hated every second of developing in python in my jobs, and i just sit there wondering how nice it would be if i could move off of it, especially when debugging and finding yet another inane design decision in python or something that doesn't work. there's never been a reason to use it other than that's what someone unfamiliar with better choices chose for the project, and there's typically a very objective multiplier in risk and time in the development by sticking with python. moving to clojure, racket, f#, elixir, etc. would almost always be a better choice aside from certain uses of python-specific libraries (like for machine learning).
I absolutly agree, and it's something pretty much no reporter or goverment spokesperson mention. Also, even though it's talked about, there is absolutely risk of death and misery greater than the disease if economics are not considered.
I think an attempt at a world-spanning set of recommendations would have been spread so thinly as to be useless for everybody, even if in theory it covered their region. I think it's better to have an article that picks a country/region to focus on and does that in depth. Some other journalists/newspapers can handle doing similar articles for the US, Japan, Germany, etc, and as local journos they'll have more experience of what they're writing about and a wider array of contacts to get good suggestions from.
Now would be a cool time to remark that VSCode is adding tmux control mode support (As of yesterday it was added to the backlog) [0]. This will be very useful in persisting terminals.

[0] https://github.com/microsoft/vscode/issues/90696
That chart is garbage for Sweden, it is in no way a 7 day average of the arcgis data I posted.

The official death total by day of death has a massive lag, if the out world in data chart was actually a 7 day average of it there would be a huge drop over the last week.
ahhh sorry. facepalm on me
Oh, of course. Brainfart there.
from the link you shared:

"You are required to encrypt the document key with the local environment and Google’s public key. Including Google’s public key allows Google AMP cache to serve your document."

So you have to encrypt the document key with their public key so they can decrypt at will. No master key required.