skysight-inc/HackerNews huggingface dataset:
You cannot write a CJS shim for any library because the CJS shim cannot expose any ESM file with a synchronous API because importing ESM always returns a Promise.

You can - and people widely do - compile a CJS version of your library from ESM sources. You'll accept that there may be multiple copies of your library in the program but it does work. But in any case there's no reason to actually author in CJS, everything including the ESM shim can be generated from ESM.
Supply and Demand Deconstructed
Hug of death? Getting a 502.
After committing a coup and installing the Shah, the subsequent revolutionary forces found widespread support and success, but were split into factions. The two most concerning to the US and UK governments, and what they believed to be the most powerful and likely to assume power, were the theocrats and the leftists / communists. They decided to actively support the theocrats and undermine the leftists.

Anyone suggesting that all of this was organic or purely democratic is at best naive, at worst cynically manipulative.
The idea is intriguing but lab mice have also plenty of food and in warm blooded animals this, and the proximity of other mice, should provide the extra heat.

The article is from 2016 in any case
How the pandemic might play out in 2021 and beyond
How does it compare with FLIF? What use cases would it excel on/have that the other wouldn't/doesn't?
GameDev: Building a Multiplayer Game with Godot and Elixir
Huh.

Most computers also have a built in calculator app, but I have never heard of those being difficult to pull from the hands of users, even when replacing it with purpose built software that costs tens of millions of dollars per year.

But what do I know :)
Youtube is like a business that uses the services of a power utility, like I do for home.

I can go to another business, but likely neither me nor the business can choose another power company.

Also it is not the power company's fault if the business denies me access to merchandise in that business.
I mean this was never going to happen anyways because cross-strait relations are fickle and perilous at the best of times, and Taiwan has specifically said that it does not really want to participate in extradition with HK after the whole fiasco. https://www.nytimes.com/2019/06/15/world/asia/hong-kong-murd...

The rational response to "hey the country who originally requested the extradition doesn't want to do it anymore" would be to shelve the bill, but at that point the Government and CCP wanted to save face and dug in their heels. Which makes the whole situation an extremely stupid case study of how not to de-escalate a situation.
Obviously they want people to buy more often. For most top-tier devices most are probably bought on payments and generally speaking those customers can get a new phone every 12 months if they assume they’ll always have that smallish monthly payment.
I'm sure they don't want to sit on a warehouse of unsold phones while introducing a new model. Running out of model A before model B drops is prudent :P
The CIA did want Khomeini in power, as the alternative during the revolution was leftists / communists. They played an active role in assisting Khomeini's rise to power as part of opposing, "the reds".
Google is a mess, period

It is both painful and hilarious to see how lack of long term vision for this supposedly industry leader.

Google is losing and probably already lost
I said something more nuanced, but It's very natural not to want to be bombed. Israel is mostly busy being a normal livable country for all it's residents. unlike its neighbors.
Similar complaint - I have a Pixel 2. Everything still works great, except for the battery, which lasts around a third as long as when it was new. I checked out replacing it, appears to be highly difficult to not damage the screen when replacing. Sigh. I'm ordering a Pixel 4a to replace it.

It's kind of a drag that once they finally got the fundamental hardware and OS good enough to really last for a few years, they also made it nearly impossible to do what should be simple maintenance.
Phone number is associated to a non-EU country.
Note: since v8.0, Angular comes with built-in differential loading and will do all the heavy lifting to achieve exactly that.

https://angular.io/guide/deployment#differential-loading
Stack ranking only contributes to planned obsolescence if the company values decisions which contribute to it.

If the company high prioritized environmental concerns, stack ranking would reward those who figured how to keep products in service longer.
Other comment would be the agriculture use of chemicals dwarfs residential (and also land mass too). Need to figure out agriculture use of chemicals before we worry about residential use (although its easier to 'see' the results)
JetBlue Continues Commitment to Blocking Middle Seats, Strengthens Mask Policy
Evolution for Everyone is a good book
You can't force people to use a different tool that they don't want to use. They [(computational) biologists] know other tools pretty well, they don't want to use them. If you want to help, work on better tools for them, based on their needs. Regulation is about the worst thing you could've thought of. If you said this to my gf's research group, they would yell at you, Excel is a loved piece of software among them, and other spreadsheet applications are not even close. They don't want to have a dozen different tools that they have to switch between fifty times an hour, converting data in the meantime, they want to know one or two very well and have the data all there. Excel is a data swiss army knife, which is exactly what they need, it has some warts but forcing them off Excel really is not the solution.
We’re an e-commerce site, and target ie10+ but lately have been relaxing that requirement. We will likely move to no IE support in the next year or two.
Yes, I used homebrew extensively. It helps but does not solve every problem. There's still things Apple does not want you to do and you will not do them.
Possible, but I think unlikely. These days, my diet mainly consists of Soylent and Vite Ramen, which together provide me with 105% of my DRV of Magnesium in the form of Magnesium Phosphate and Magnesium Gluconate, respectively.
My backyard this year is an experiment in doing my best to encourage something that takes care of itself and is more supportive of local fauna. I laid down clover and what the local university's agriculture dept recommends for native-friendly grass seed. I've used no weed killer back there. I'm growing some ornamental grasses and flowers native to the area for decoration.

I feel like it's been nice. I think the clover is pretty, and I feel like we have many more butterflies this year than any of the previous years. The grass has been thriving. Dandelions don't seem to enjoy growing with clover very much, so there's less of them this year, although goosefoots seem more than happy to coexist with clover.

The clover has held up well to dogs, too, which has been a nice bonus.

I think I'd like to add some creeping thyme next year.
SSD Evolution: NVMe Zoned Namespaces Explained
Here's the thing, the CIA almost failed and had to try again. It was unbelievably easy, all it would have taken is a handful of Iranians in power to do the right thing and report what was happening. Instead too many of them were corrupt. Further Mosaddegh was a very weird man and a target of the Soviets. If Britain and the US as their partners had not stepped-in, Iran very well could have fallen when the USSR's attention returned after Stalin's poor heath and death.

https://www.npr.org/2019/01/31/690363402/how-the-cia-overthr...
just try that on a modern pixel and you are quite likely to introduce unstable behavior. its really not recommended
I don't think comparing the phone to a PC is entirely fair. A smartphone gets used everywhere and more or less constantly. Even a laptop is mostly used on a desk or other flat workspace where it's less likely to get dropped/ flushed/ etc. Also, up until 4-5 years ago, smartphones were moving pretty quickly in terms of capabilities.

On the other hand, comparing the useful life of this to the iPhone is entirely reasonable, particularly since its the price of a mid-high end iPhone. It's pretty sad when you realize that the new iPhone SE released just 6 months after the Pixel 4 will almost certainly be supported for 2-3 years after Google has abandoned the twice-as-expensive Pixel 4.
Show HN: Meet Transcript – Record Google Meet Caption & Screenshot to Google Doc
Hi all,

I build a chrome extension that transcribes your Google Meet session into Google Doc.

Feedback is appreciated!

https://thanesh.dev/meet-transcript
As I understand it, Apple slowed down certain models to deal with the problem of batteries losing capacity over time. Which actually could give those phones a longer usable life (slower is better than shutting off completely). The problem was they didn't tell people they were doing it.
Oh, I thought "on the real" fit the context better, meaning they knew in their heart of hearts it was bullshit, but "off the record" is about the same.
It's not a one time cost is what I'm saying.
The trees in the forest that is flooded decompose slowly, and release methane the entire time.
Specifically to BC, the entire ecosystem also got screwed, the fish in tributaries, up and down from the dams have mercury poisoning.
has there every been any major rulings on the 10th amendment? I think this should be the issue here.
Yeah, have this problem reading gig+ files on mobile in JS. Have to stream them.
This whole mobile apps business has screwed us so bad. Now we have basically two eco-systems which are so big that any new player practically has no chance. If the development and focus was on making websites mobile friendly and frameworks/standards growed in that direction, we could run any device and get the same experience. Something like a Pinephone would have the potential to be at par with Android and iOS based phones in terms of reach and could focus on the hardware side instead of fighting on dual hardware/software fronts. I know that Pinephone's target is not mass market but just thinking of the lost possibility of open Linux-based phones having a fighting chance of actually reaching the masses makes me sad.
If you will March your troops through minefield 'like it's not there' (e.g. Zhukov's revelations) it will definitely lead to losses.
Oh man, I feel you.
Very good point. I think that's where something like last.fm really shines.

Starting off, we focused heavily on comparisons but have branched out since. For example, the stats page you're first taken to gives you some analytical information about your own music. Strengthening out this page with things like music evolution, recommendations, rankings, &c is foremost priority.

Currently, we have friend links that deep links into creating a friendship (e.g. mine is https://smtn.es/125.ferda-bruh). Pivoting this to share your statistics and music tastes is an interesting idea -- it definitely helps introduce the platform to new users and personalise the platform for existing users.

I'll propose it to the team, thanks!
Reminds me of the chorded keyset from Doug Engelbart (inventor of the mouse)[1]

The idea of simultaneously using a mouse with the right hand and keyboard with the left is intriguing.

[1]: https://www.dougengelbart.org/content/view/273/309/
And who cares about the stupid environment, am I right?
Counter: I grew up with Windows, using Macs only occasionally in stores and such. Never really liked Windows. Tried Linux for a year when I was 12 or so, ended up coming back to Windows.

When I was 16 I decided to Hackintosh my Dell and absolutely fell in love with Snow Leopard. I've used OS X in some form ever since.
I use brave browser
This doesn’t even get into how they’ve been bread to favor early survival versus longevity. Lab mice have abnormally long telomeres.
Their cloud offerings dropped IE11 support earlier this year as well.
Oh, the "Bitcoin can be hacked" narrative again.

You realize you can manage a bitcoin wallet yourself right? I'm a software engineer, I trust the code that I can verify myself. And, regarding the brokers, I'd rather trust a decentralized public ledger than some dude's private ledger. Thanks.

Like, keeping gold in your house is gonna prevent you from being hacked (to death)
Obama was stuck with a Congress that wouldn't do its job because it was obsessed with sabotaging everything.
> Generally working with events in JS is easier than central run loops.

That's an interesting perspective I hadn't thought of before, I'll see if that can inspire some design pattern. Thanks for another good prompt!
I mentioned this elsewhere, but if you google takeout your location history you get... gigabyte text files.
Thanks for the comments. The crypto is open source. We use the ring library: https://github.com/briansmith/ring - Ben, 1Password
Some options:

* If the ivy is near pavement, you could scald it with a tea kettle.

* Add a bird bath and/or salt lick to the yard to encourage white-tailed deer to snack on it.

* Get a goat.
I constantly get down voted when I say iPhone is the cheapest and most secure mobile device you can buy. "Price is what you pay, value is what you get" -you know who.
> If YouTube is allowed to block content, why aren't ISP's also allowed?

Because, to use a transportation analogy, your ISP is like a taxi service and YouTube is like a store in the mall. We let stores in the mall decide who is allowed in (subject to certain broad antidiscrimination laws), but we don't let taxis refuse customers that want to go to any particular store in the mall.
Show HN: Chrome Extension Developer Starter Kit
Yup, it is hard to commit to a long security patch lifetime if you can't patch around bugs in major hardware components.
Actions speak louder than words. 10+ years of supporting iPhones and continuously increasing the service life of them says a lot more than a marketing promise.
We'd love to build an offline/online solution. It's a bit complex when you start dealing with conflict resolution but we are already looking at a few possible OSS libraries to deal with this.

At the moment the leading contender is RxDB (https://github.com/pubkey/rxdb), but it will require a bit of re-engineering on our end, so we will continue to focus on the backend features first.
Yea, I think the parent was just discussing a similar project in California. They probably didn't mean to imply anything about the Indian project.

Sorry you're getting buried.
Good catch! We were moving quickly trying to get this blog post out before the standard was implemented. We've updated this and it's now a smaller file size.
As someone who used to do this myself, I don't quite understand why people still go through all the effort to run macOS. In the past I've built Hackintoshes on desktops and laptops, and it was fun to accomplish (audio through HDMI was especially tricky!), but in the end it was slower, less stable, and not nearly as useful as running Linux on the same hardware. I run Linux on everything these days.

What's the draw? Better off buying a mac if you want the "Apple Experience" anyway. If you don't, I don't imagine why you'd want anything to do with this.
295 spam extensions from probably the same developer is hardly newsworthy. Just look at the list rather than just reading the headline.

With that said after a fairly simple extension I had installed for many months upgraded itself automatically to replace links with "eco links" that supposedly helped the environment I stopped installing extensions that weren't ublock or from google themselves. I'm much more willing to install a random app on my windows machine than I am a random chrome extension, thats just how untrustworthy I find the chrome store to be.
New York Attorney General seeks to dissolve NRA
Maybe with csound?

https://csound.com/
Some commentary from another that actively does genealogy as a hobby:

i think it will be good
cause the old guys were mis managing

In what ways?

I know several 3rd party developers that were just begging for the opportunity to talk to anybody in the organization about how they could configure there software to have the least impact possible on Ancestry, and they wouldn't reply. And then one day they sent a Cease and Desist order, which alienated thousands of customers who relied on those 3rd party apps. Stuff like that. Nobody listens there.

ah the totally "This is our IP, you can't use it" vs "This is a sales opportunity" mindset.

it's worse than that, they just didn't care.. and then they tried to sell themselves and wanted to minimize costs, and blamed 3rd party guys for how backed up their servers were and bad mouthed them. Tried to make themselves look more profitable than they are
bad culture thing. almost a monopoly
and it's a reputable private equity place - not some vulture company
somebody that will come in and challenge their business model but not tell them how to run their business
What understanding is that?
This is the massive advantage of rolling your own silicon.
As a non-American I have never understood why a people that values personal liberties are sometimes happy to be dictated to by housing authorities. I get it with apartment buildings with shared walls and communal property, but I just don't get why you would with suburban homes.
I’ve been using bigroom for a few weeks now to catch up with friends and family. It makes an unbelievable difference when you can have multiple conversations. It’s almost like you’re at a dinner table! Highly recommend this. Zoom feels like a work meeting, and this feels like a social gathering.
Hey HN, ChromeExtensionKit is a side project of mine that includes a bunch of different starter templates for basic (HTML/CSS/JS) and React-based Chrome extensions (with setup and publish scripts) as well as some fully functional example extensions. I originally built the starter templates as I found myself setting up and configuring every extension project roughly the same way and wanted to speed that process up in the future.

I also wrote and included a short ebook outlining how to use the kit as well as a lot of what I learned growing a number of extensions to over 4,000 users each.

If anyone has any questions, I would love to answer them!
FWIW: "engineer" is a term that goes right back to Ancient Roman times, people who could build or repair siege engines were "engineers." I'm pretty sure they didn't have degrees for that, back then. Elon is not a "Professional Engineer" (which is a term in law) and could be brought to court if he made that claim in an ad in many countries. He is an engineer, as Tesla was.
> On the other hand, ESM CAN have unnamed "default" export and CAN have arbitrary number of named exports.

To nitpick on the nitpick: ESM only has named exports. It just treats the export named "default" differently in some scenarios and has special syntax for it.

So, roughly:

* CJS: Exports a single value which may or may not be an object. When assigning the exported value to local variables, destructuring can be used to access individual exports properties.

* ESM: Exports a namespace of named bindings. When importing the bindings to local aliases, the name of the alias can be changed using `as`. There's special syntax for importing the binding with the name "default".

It's somewhat unfortunate that the syntax _looks_ so close without being all that close.
This is the opposite of code-golf: the longest, most redundant non-program :)
> I want one that takes however long needed to get the fastest binary.

Year after year, people keep saying this or things like it. But it's worth remembering that it is not the compiler that makes your code fast, but how you structure your data transformations that makes code fast. In 2014, Mike Acton taught us that the best compiler optimisations can only account for 1-10% of the performance optimisation problem space. "The vast majority of [performance] problems, are problems the compiler cannot reason about." https://youtu.be/rX0ItVEVjHc?t=2097
> If the development and focus was on making websites mobile friendly and frameworks/standards growed in that direction

uhhh... that happened. like, several years ago.

The phrase "mobile first" started appearing on HN in 2010.
Yup, and to that point, the fix is really stupid simple, push the drivers into the linux kernel mainline and give google (or whoever) a kernel build profile for your device.

Done. You don't have to support the device for an eternity and, as a bonus, you can benefit from OS improvements to your drivers/etc. Hell, you and other manufactures using the same broadcom SOC (and hear me out... this might sound crazy) wouldn't have to spend the same engineering effort building drivers!

Of course, that would require manufactures to actually give a damn about driver quality, whereas the current situation allows them to push out the most broken patch imaginable to pass whatever conformance tests google asks for.

That would also cut into manufactures bottom line which is why I suspect they've not gone down this route. Gotta sell them phones every year... (they'd cut support to 1 month if they could)
PCs have gotten a lot faster in the last 10 years. Not 10x every three years better, but significantly better. The high end PC of 2020 would crush the high end PC of 2010.
Pinduoduo and Vertically Integrated Social Commerce
IBM creates an open source tool to simplify API documentation
Not just you, but is anyone aware of a book at a teenage reader's level that would cover this kind of stuff in an engaging way?
This is exactly why people created Pinephone and Librem 5 with lifelong updates.

https://en.wikipedia.org/wiki/Pinephone

https://en.wikipedia.org/wiki/Librem_5
Exactly this! This is not just a personal privacy decision (i.e. I give or not my DNA). If any of my family gave their DNA, I am now traceable. This is exponentially bad, and not regulated accordingly. The Blackstone Group is the private equity owning Motel 6... the very same Motel 6 that voluntary helped ICE by giving guest lists ?!? So what is next ? They also owned several companies in healthcare, including a company doing respiratory equipments and another one providing medical services. DNA collection should be regulated way more strictly.
That's pretty naive, in my opinion. TikTok has access to your microphone, even on an iOS device where it's far more limited than Android, which means that the Chinese government has access to ultrasonics. This means that China can create maps of infrastructure for hardware devices (Cisco IP cameras, for example) and create aggregated profiles of things like what products people shop for, what TV shows they watch, and even what commercials they've seen. Yes, Whatsapp and Telegram potentially have the same access to that information. The difference is that they are not owned by a state agency and especially not of a country that has shown, time and again, that they do not have to play by shared rules.
Twitter works with JS disabled, but there's a nag screen on every page load.

Alternatively, for reading only, there is https://nitter.net/
I respectfully disagree, learning what's happening with your machine is helpful for troubleshooting and for security. Further, I feel the parent comment was disrespectful for the actual creators.
> Automatic content filtering does not work.

So how is an ISP supposed to do it, then, if there is no NN? Doesn't the same argument work there, too?
It looks like your client takes a URL that points to your domain.

Is there open source code that runs that URL? In other words, did you open source the part of the application the client connects to?
Even so, it's interesting that the opinion was downvoted.

I've seen people here make that exact same argument with much praise when the topic is whether or not Facebook should be allowed to regulate user submitted content.

I suppose whether or not its sarcastic isn't that important. What's more interesting why there appears to be a kind of hypocritical support for net neutrality, but an opposition to neutrality on global communications platforms like Facebook?