skysight-inc/HackerNews huggingface dataset:
The Max marketing launch really made me think of the opportunity benefits associated with integrated voice commands, taking calls, Siri messages.

I would try these on the premise that my remote workflow might be improved.
It's amazing that the Russian empire is given a complete pass on its colonization. It was just as brutal as the colonization of Africa and the Americas, for example, yet unlike the other European countries, Russia never gave up its colonies that stretch from Moscow all the way to Japan (including some of Japan). The ignorance in the West is so great that they think that Siberia is naturally part of the "white people" domain, kind of like Finland is.
That's true, but I think they're clearly joking here.
Neat, I’ve been down a rabbit hole with many of Wirth’s languages a few times, but never properly learned them. I think I tried to get some Modula 2 or Modula 3 gcc frontend to work a while back with little luck.
Hi! I've been trying to stick with apt for installing stuff on my Pi to make software updates easier, so yeah, installing via Cargo was something I was leaning away from. No bugs to report. Thanks for sharing your tool!
So, PCs can generally either do S3 sleep, or a new fancy 'S0ix' sleep since Haswell & co, and some similar mechanism on AMD machines.

S0ix is the new standard for W10 and beyond, in which the operating system attempts to itself shut down as many peripherals as possible, downclock the CPU, shut off unnecessary cores - but stay in ACPI S0. Basically just run normally, but try to be as power efficient as possible, following how mobile phones do things. Its big advantage is that it allows for varying levels of background processing (and eg. network connectivity) that just aren't possible with traditional S3. The downside is that it needs great hardware support within the OS and that it's a complex, system-wide effort to implement (like, needs application cooperation). Linux's S0ix support (via s2idle) is quite mediocre right now.

S3 sleep is the same ACPI-driven suspend-to-RAM mode that PCs have been shipping with for decades, in which a complex rube goldberg of DSDT and platform controller pokes ends up making a CPU stop running, having saved its entire state into RAM. The upside of S3 sleep is that it generally works, unless a machine's ACPI DSDT is terribly broken (which still unfortunately happens). The downside is that it's pretty much binary (either you sleep or you don't) and that you can't control what wakes you up. I mean, there's some ACPI mechanisms for it, but they're limited and janky.

New Thinkpad BIOSes can let you choose between either exposing old-school S3 via ACPI for non-W10 systems, or enabling S0ix functionality for W10. The default is generally S0ix/s2idle.

See: https://www.kernel.org/doc/Documentation/power/states.txt
There are plenty of non-"just import it from China" emissions that will be targeted by this. Think personal and public transportation, heating and cooling, and more. You can't exactly outsource heating your bedroom to China.
US emissions have been steadily dropping. This information is absurdly easy to find. Given how shallow your understanding of the facts is, explain to me on what basis you have formed these ideas about what the US, China and other nations should start or stop doing.
Too say this is a prerequisite to bring negotiations to the table so that partners like China will have something to match, well to that I say, just look at how good that did in the USA or Australia.
Yes. It may be fine for the author, but the article promotes this as possible for everyone, or at least many other people.
China is a country where many people are still living in mud huts or close to it.

If they manage to lift those hundreds of millions of people out of poverty AND "just" keep their emissions constant, I consider that as a win for humanity.

Everyone else, especially in developed countries, needs to bring their per capita emissions radically down.
They weren't as open as you remember for most people using pre-iPhone smart phones. Carriers did all sorts of things to cripple reduce functionality so they could sell it back to you.

A major factor of the iPhone's early US success was forcing a major US carrier (AT&T) to stop doing consumer hostile things and just let the device connect to the network as intended.

So, in part, it was improved openness that drove iPhone/Android's success. It just was network openness instead of device openness.
How does not having one specific standard of charging port (you know -- the one that came when everyone was rolling with the junkpile that was micro-USB) "reinvent a corded headset"?

Regardless, this complaint is pretty spurious. The device is clearly marketed to iPhone/iPad users, who carry a USB to Lightning cable with them as a matter of normative standards.

People just like bitching sometimes.
Yes!

It’s the complete opposite of, and significantly more user friendly than, how zoom recordings synchronize meeting subtitles with audio/video playback.

In their case they only show the current line in a text message-like sidebar. As the content plays, it snaps the scroll position of the messages to current, hiding the rest. This breaks scrolling ahead or back while listening and you lose any context.

Hopefully I’m just missing a setting - I try to minimize the time I spend in there. Is there a way I can take their damn horse blinders off?
Using Event Sourcing and CQRS with Incident – Part 2
Event Sourcing and CQRS are great design patterns for some domains. The Incident library will help implement them without compromising other parts of your application. This is the second post of a series of posts that I will present the usage of Incident.
because I don't want to open my backpack and be greeted by a furnace and 10% battery left
My town levies fees on all new development that are meant to (partially) offset the costs of building out the new infrastructure. The developer would only object to the gravel road if it lowered his expected profit.
One way to think of it is to split the "compiler" problem into three big pieces. 1) Front-end, 2) back-end, 3) tooling.

Front end is lexing, parsing, building the AST (in whole or just keeping pieces of it around), semantic analysis. When that is done, you can say "Yup, valid program. It is possible to generate code." So, to your question, yes. Those techniques from the course are 100% in play.

Back-end is turning the AST into something you can optimized and generate code from. (Sometimes there is a "middle-end" in there....) High-level optimizations, low level optimizations, memory allocation, register allocation.

Tooling is everything that keeps your life from being miserable as a user -- starting with debug symbols and these days people expect library and package management, etc, etc.

So if you are interested in exploring the Next Great Syntax or some semantic problems that can be re-written into C, then doing a C-front is a great way to do that. Let the C compiler handle all the really-really-really-hard back-end issues for you, and avoid all that distraction. But.... expect that getting debug symbols from your spiffy language into the ready-to-link object file is going to be, as they say, "non-trivial". So... great for experiments and a great learning exercise, but it's hard to do a production compiler that way.
I'm definitely guilty of using metal and weight as signals for quality. And heavier metal objects do feel nicer but that's not really my reasoning. If a manufacturer is willing to self-flagellate by making their products out a mode expensive material, using a more expensive manufacturing process, and pony up the shipping costs to transport the heavier goods then I can be reasonably sure that they're not obsessively cost-cutting.
A more "natural" arrangement occurs if we all don't run to large cities chasing glory and gold (which I have done, full disclosure, much to my child-caring woes). There is nothing wrong with nuclear families if you add in something like "nuclear communities".

In many small towns or suburban cities, 3 generations live nearby, with all the aunts and uncles. Help with care is always next door, and children are raised with dozens of frequent visitors or caretakers. I'm quite jealous of the quality of life of my inlaws / extended family for these reasons.
Being OK with Being Alone
Coming from a world of using puppeteer/playwright for testing in an actual browser with full access to dom/Network/console/perf stats etc, I don’t get cypress.

What is the value add over puppeteer ?
Next up, find a horse and a lance :-D
Nice tool.

I think we could improve it a bit. For example, Spring boot should have a very low score for me. It's backed by a large company Pivotal. They don't need any support I think. Same thing for elasticsearch.

For me:

- backed by a large company ?

- number of contributor doing 80% of the work ? or active in the last 12 months ? commits breakdown (99% is done by one guy) ?

- issues created/closed ratio

- PR created/merged ratio

- use critical projects ?

- other from your original score

A nice bonus: if we could use the tool to assess critical score for our project (not globally). For local dependency, we could increase the critical value if dependents count is low. Very few person is using it: that's a bad sign. With this, we could find those dependencies.

We could also create a global score (like you did) by using the previous score and scaling it using the dependency usage (dependents_count like you did).

With this calculation, I think it's more likely to find relevant projects.

How to find it's backed by a large company ? Not sure about this, we can check if the project is part of an organization, if contributor have a company or if they have a pro account. For example, if the top 5 contributors are from Google, it's likely it's sponsored by it(could be done during their free time but less likely).

Note: check what happens with a stable project (no new issue and PR).
Pad-path: Intuitively modify your $PATH
I am the developer for this small application.
I made it recently for my own purposes and thought the HN crowd might find it useful.

I'm happy to take feedback.
Here [0] is an associated blog post for the tool.

[0]: https://jrhawley.ca/2020/11/16/pad-path
The transition was the disaster. The first gen PowerPC Macs performed significantly less running common user applications, while costing a premium. This was a software issue, but left a very sour taste and many, including me, transitioned to Wintel as a result.
However much speculators see fit to participate.
You're implicitly assuming that the AirPods Max could also run on one or two AAA batteries -- an assumption that may well be false depending on the energy consumption and voltage required.
99% of the stuff I was actually doing was collaboration and it's really difficult doing that on vintage computing platforms

Maybe it is, maybe it isn't. Are we talking Zoom or IRC here?

If you need to do the sort of work where you just need to concentrate with no distractions, a "vintage" platform is a superior choice. A few prominent authors swear by their obsolete word processors for example. Many people (myself included) find it hard to focus and resist procrastination on any modern Internet-connected system. But I can get my head down in First Word Plus on my Atari ST (or Word 5.1 on a classic Mac) and upload the file later for formatting in Word and sharing by whatever means.
I don't disagree with you. But note most people learning COBOL won't get those high-paying jobs; they'll instead end up maintaining legacy and boring corporate systems. And COBOL isn't a particularly interesting language to learn: in the spectrum between boring <--> cutting edge, COBOL lands on the far side of "very boring"!
Many times I find I can still ssh into the laptop even if the screen/GPU fails to draw the screen on wakeup
It also depends on personalities - my wife and I share 650 square feet, have for years. This year has been pleasant even though there’s no “time apart” and no privacy. We also have a dog in that small area.

There’s more to it than just affording large luxury housing.
Maybe when developer productivity measurment becomes standard accross the industry we will realise that tech workers are in fact workers. Cogs in a machine. And not independant individuals imposing their will to the world through sheer will like some Randian hero. Maybe then it will then be plainly evident that developers are as alienated as any service worker, and in the end as disposable in the eyes of the shareholders.

Will we then organize with other workers to create better working conditions for everyone or will there be fewer and fewer developers working with ever more powerful technology chasing richer than ever VCs?
Noise canceling heaphones used passively often sound a lot worse, because they can’t soundshape their way out of a suboptimal earshell and speaker design. Apple probably felt that either they had to compromise too much on the shape, or on the way they sounded passively, so they chose to just not allow for it entirely. I expect other manufacturers to follow suit because it creates more freedom in design.
Apple devices support AAC over Bluetooth. AAC is license free, aptX is a Qualcomm codec.
OK, agree. But then, don't shift the blame to 'malicious state actor'. This is their decision and they own it in full.
My gf has had two shitty experiences with AirBnB's "community leaders" in response to two completely unjustified reviews of her place. Anybody can just suddenly decide that they had a terrible time and that it's the fault of the property, and AirBnB seems predisposed to take the visitors word for it. If they keep that up they're not going to have any renters.
Lifetimes do not influence code generation (besides potential specialization on 'static, which I'm not sure if it's a thing).

But besides that the amount work is indeed very close by each other. Which is why there is currently no plan to first have lifetime only GATs stable as far as I know.
I really wonder if these monopolies will happen.

Is there any paid service with actual monopoly yet? Amazon has market share, but also competitive prices. To me all of these big markets like taxi, food delivery and online booking seem rather low barrier of entry. And that the customers will be price aware. That can't be really compared with free services like Google, Wikipedia or Youtube...
If you're having a garage sale and I buy a baseball card for the $1 you wanted, and then turn around and sell it for $500, would you feel any regret?
> That Facebook is maliciously and mostly singlehandedly responsible for the death of the newspaper and journalism.

The mistake here is in blaming Facebook in particular when it was really the internet in general.

Ironically what really happened here is basically the opposite of the premise. You used to have local media monopolies, or at least sufficiently concentrated local media markets that the players were making ad money hand over fist. Then they used some of that money to pay for local reporting.

The internet leveled the ad market. No longer did you need to buy advertising from the local Los Angeles media outlets to reach customers in Los Angeles. You could still buy it from them, but also Facebook, Google, Apple, a million independent blogs aggregated by third party ad networks, national media outlets that now allow you target adds to specific regions or demographics instead of having to buy nationwide ads etc.

It dramatically increased competition for ad space, which lowered prices and thereby grew the size of the market (Jevon's paradox) but made it so that the incumbents weren't making as much money as they used to because the price for a given amount of advertising fell as a result of increased competition.

> That "monopolism" is rampant and anti-democratic.

This is the part that's actually true. Democracy requires the free exchange of ideas. A handful of oligarchs deciding what people see is the opposite of that.

To give two examples from the recent election, there is some decent evidence that Twitter and Facebook suppressed a negative story about one of the candidates prior to the election as "Russian disinformation" even though it appears to be true, and there have been claims that social media sites showed voting reminders to users on a partisan basis, skewing voter turnout.

> it sure is an curious turn of phrase that there are "endless numbers of monopolists" in healthcare.

This is pretty obviously the case. Healthcare is not a single market, individual products in healthcare are. If you're diabetic you need insulin and can't substitute an SSRI. If you have severe allergies you need epinephrine and can't substitute acetaminophen.

It's frequently the case that the individual markets are controlled by one or two players, not just because of patents but also regulatory burdens that constrain new entrants etc.

> The thread of conversation implies that breaking up Facebook will somehow help, for example, the decline of the newspaper industry.

Breaking up Facebook et al could help the anti-democratic concentration of influence over the political discourse. A larger number of entities would reduce the influence of any one of them and increase the availability of a diversity of viewpoints.

It might even help local news reporting, if Facebook et al were sufficiently atomized, because smashing them into tiny pieces could mean that each city has one or more independent local Facebook which uses some of its revenues to fund local news reporting.
As anyone who has worked with databases probably knows (definitely should know), selection and ordering/ranking are two different things.
For me, I need to see a path to profitability.

When Amazon spent years and years not making a profit, I understood: They were investing in infrastructure and taking on new industries. They could make a profit any time they wanted by simply not re-investing any further.

Tesla, SpaceX, and many other companies necessarily have to invest heavily in the early days to build out their infrastructure and capabilities. I understand completely why they might not be profitable for years and yet still be good long-term investments.

With Airbnb, I struggle to understand what they're investing in. There's no inventory. They own no real estate. That's supposed to be the genius of the business model. And yet they keep losing hundreds of millions each year.

When you say they're investing in growth, what exactly are they investing in? What am I missing? What are they doing that costs $3B a year, and how does their cost-to-revenue ratio improve as the business scales?

From where I'm sitting, it looks like the more business they do, the more money they lose.
Even that increase in life expectancy is dubious, consider this passage from Psalms written in 1489 bc, which can basically be said about Americans today.

> Our days may come to seventy years, or eighty, if our strength endures
Dispute resolution at most marketplace and social media companies is pretty hit or miss in my experience. In general, you're not going to get a big time slice from whatever low-paid customer service rep you get assigned to. Maybe they'll make the right call and maybe they won't but any investigation is going to be pretty cursory.

That's not to say stuff never gets fixed. A few months ago I had a random blog on posting to Twitter. No idea why and they did clear it after a few days. So things got fixed but it was very opaque.

ADDED: And, to be fair, a lot of disputes can be a combination of he said/she said and different expectations. "My cheap Manhattan hotel room is tiny!" You don't say.
His position seems to be that the law is nonsensical. If you can buy synthetics but can't grow your own that does seem to support his point.
https://en.wikipedia.org/wiki/Survivorship_bias

"Survivorship bias or survival bias is the logical error of concentrating on the people or things that made it past some selection process and overlooking those that did not, typically because of their lack of visibility. This can lead to false conclusions in several different ways. It is a form of selection bias"
Good point, I'd gotten used to that and forgotten how it is kind of counterintuitive at first. Our base test helper object does this:

get root() {
// It is important here to run cy.get()
// each time this property is accessed.
// Lots of methods of this class chain
// off of `this.root` so it needs to be
// re-evaluated every time.

return cy.get(rootComponentCss);
}

find(selector: string, options?: any) {
return this.root.find(selector, options);
}

...so that component-specific test helper objects (subclasses) can just do something like:

get sendMissileAlertButton() {
this.root.find('.x-hawaii-missile-incoming');
}

That way, it looks up the target element every time it is used in a test.

And in tests, you can just do:

tester.root.find('select.foo').select('hoge');
tester.sendMissileAlertButton.click();

EDIT: fixed code example, sorry! ;-)
My TP Link router has a free dynamic DNS service available, but the DNS configuration they use fails on roughly 50% of the DNS resolvers I've tested. I use a free-tier Google Cloud f1-nano instance running cron to resolve TP Link's DNS using 1.1.1.1 resolver, then updating my DuckDNS account with the IP address. It's kind of annoying that its necessary, but it was a little fun to set up everything.
You're not wrong that they don't influence codegen, but I don't know why you're bringing that up. I don't see the connection.

You cannot specialize on lifetimes, it is not sound.
Stainless steel. It'll buff out.
Sometimes you may need to handle a promise in a function that can't be made async.
I agree but it is important to understand the psychological need to have your biases confirmed and your prejudices reinforced often overrides all logic and reasoning.
I thought modern devices delay the video, so it syncs up with the audio? When I'm using Bluetooth headphones on iOS, pressing play doesn't start the video immediately, but it does when I'm not using headphones. The audio stops after the video if I pause it when using Bluetooth headphones.
Blocking a Single Protein Makes Aging Mice Way Stronger and Healthier
> You're missing a fundamental point: anyone can make wild, nonsensical claims. it is not for the judge to "refute" them, it is for the plaintiff to substantiate them.

The affidavits were not "wild, nonsensical claims". The judge just ignored the dozens of affidavits entirely.

On this issue, the judge cited exactly 1 affidavit from the defense, with the defense's testimony that they weren't allowed to enter due to it being at capacity. (2 affiants, 1 affidavit)

First - even if that testimony is true, it does not address the plaintiff's legitimate complaints that:
1) Republican poll watchers were illegally being removed from their positions
2) Republican poll watchers who were removed, were being replaced with Democrat poll watchers
3) As a result of the above, tables were illegally having 2 Democrat observers

The judge did not even try to address the above claims

At all.

Just ignored them completely.

Because the defense had 1 affidavit that was barely remotely related to the claims the plaintiff was making.
That's a great list! Memoirs of Hadrian is such a unique book, it has got to be better known.
Alkaline AAA batteries in Bose QCs old enough to have them have a claimed life of up to 35 hours. (Newer Bose QCs have glued-in rechargeable batteries just like the AirPods Max, because very few people actually prefer replacing batteries every “up to 35” hours to needing to plug in to recharge every “up to 20” hours)
Unless you want to ship a 5MB browser bundle for a 'hello world', advanced compilation is not necessary, is obligatory.
This is really cool. Do you have the code for this?
From Apple's point of view you are their ideal customer (not even selling your stuff to the secondary market when you upgrade) and proof that their strategy works.