skysight-inc/HackerNews huggingface dataset:
Ask HN: What's the state of the art in reliable JavaScript bundling?
In the team I lead, we've tried most of the major ones: WebPack, Rollup, Parcel, ESBuild, etc.

For bundling JS web apps or libraries of more than moderate complexity, they all have serious issues:

- Webpack is just too complex; when you have issues with the build, you don't know where to even begin looking to fix things. In particular, tree-shaking seems to hard to get working in any reliable way. All the same, this is what we are still using in our project, but stuck at version 3.12 (the last version before 4)

- Rollup is sweet when it works. But, it demands ES modules. More seriously, recently I'm unable to get the Typescript plugins to work properly (or sometimes at all). It seems weird to me that such a basic bundling scenario is broken.

- Parcel can't handle advanced bundling requirements

- ESBuild was tried recently; despite it's promise and hype; it breaks down even for some relatively simple bundling setups; very disappointing

- SWC seems to not be progressing that well. Their docs are still sparse, and you don't hear of them much. So I'm not willing to invest time diving into it.

What bundler(s) are you using, and what's your experience with them?
No it won't. Americans are too deluded by car culture to ever let that happen.

You will see highways with 55 lanes each way, but you won't see an operational high speed train in the US. There are simply too many people opposed to any kind of real progress in this direction, and even the proponents of HSR or mass public transit have no shortage of excuses.

Furthermore, HSR also requires some level of last mile connectivity by local mass public transit. There is none of that in places like Texas, and again the public imagination has not moved on from some kind of 1950s car culture utopia, thats about "freedom".

In reality, cars are parked 90% of the time, and driven by tired, frustrated drivers in bumper to bumper traffic for the rest of the time.

The reality is that 20% of Texans (also other cities/states) spend $1000 or more a month on car. In many areas in the US, cars are the number 2, sometimes number 1 expense.

Here is a mass transit map of Berlin vs Houston: https://i.imgur.com/HwBGUcU.jpg

There is no HSR happening. Americans have dug a hole so deep with car culture and other Nimby delusions such as "what will happen to my home values", that there is no coming back from this.
More accurate would be: German courts and legislators are in the pockets of some major wealthy corporations/interest groups, who can and do act like IP trolls, because they can lobby their way high up so that that laws are always in their flavor, because Germany actually is, to the surprise of many foreigners, a highly corrupt country at the top.

Whenever I hear "Hamburg Regional Court" or "Axel Springer" in a sentence, I know what's coming.

I just wish there would be some better EU wide rules that could overrule those in Germany, but AFIK those interest groups are also infiltrated at EU level since when the EU decided not to publicly publish their study proving that piracy doesn't actually harm sales[1].

[1] https://www.engadget.com/2017-09-22-eu-suppressed-study-pira...
Also Bjarne Strostroup said that this (pun intended) was a mistake, since often there is no "most important" object.

If you want to do generic programming, it's much better to write f(a, b) instead of a.f(b).

Suppose I'm writing a generic algorithm that needs some function distance(A a, B b) for generic A and B. Distance is probably a commutative function, why would a.distance(b) be better than b.distance(a)? It's arbitrary.

Secondly, if functions are first-class citizens, and I don't "own" the types A and B, it's much easier to implement distance(A a, B b) myself than it is to extend the types A and B with a member function `distance`.
People (high school and college students) are still struggling to understand calculus nearly 3 centuries after Newton’s death. Some topics are just difficult for many people. Does that mean we shouldn’t bother teaching them?
Microsoft has a whole OS written in C#, lisp machines were also a thing, so nothing new. GC is not a problem for OSs.

But there are very few applications that do mandate a non-GCd language, like writing performant runtimes, deterministic workloads, etc.
The current 'flagship' (i9-13900k) discussed in comparison does.

And a whopping 253W at max.
The thing about clone and to a lesser extent unwrap is that 90% of the time, just leaving in the clone is fine. It might be suboptimal, but if it's not in the main loop, who cares?

With unwrap, replacing the unwrap with an expect signals you've accepted that an unwrap is ok in that piece of code. I'd like a similar convention for clone.
As the reported death toll regrettably reached 93, the Hawaii Governor Josh Green reported in a news conference "This is the largest natural disaster we've ever experienced" [1] [2]

Why would the Governor ignore the 1946 Aleutian Islands earthquake [3], which produced a tsunami that killed 159 people in the Hawaiian Islands?

[1] https://edition.cnn.com/us/live-news/hawaii-maui-wildfires-0...

[2] https://www.cbsnews.com/philadelphia/news/hawaii-maui-fire-u...

[3] https://en.wikipedia.org/wiki/1946_Aleutian_Islands_earthqua...
this article overlooks or ignores that despite these huge outliers, that if anything, funding has shrunk on a median per-company basis compared to 20-30 years ago. ycombinator funding for example is so small. good luck starting a tech company with only half a million dollars when advertising and salaries are so expensive and apps are so hard to and expensive to code and bring to market. An app is way harder to code compared to an html website in 1994. online ad costs have surged in terms of CPM and CPC over past 14 years , hence lots of $ needed for promotion. if anything, there is not enough funding to keep up with inflation, salaries, complexity, and promotional costs.
Almost everything was used, the GPUs were around 720€ each. You can now buy them as low as 600€. Make sure to get two identical ones if you plan to connect them with NVLink.
This is an inevitable aspect of the MVP fake-it-until-you-make-it culture that infects even established companies. They are telling themselves that if enough people come to depend on it doing what they claim it does then they'll make it do that, but not before.

I've encountered people making surprised Pikachu faces when called on problems with their systems while they roll out a new version that fixes it and claim incidents never occurred. Appearances are everything in tech today.
I tend to agree. But physics, humanities and biology could give a really good background for top hard SF.
iframe can do that: just change the src attribute.
> So-called AI has no intelligence

Does any serious person think they understand human intelligence?

I am merely a Chinese Room. Why can't ChatGPT be merely a Chinese Room too? If I'm intelligent, so is it. If it's not intelligent, neither am I.

https://en.wikipedia.org/wiki/Chinese_room
If you have a story with the following prompt:

> go left

> go right

Where each of those is a branch in the story. Even if both branches converge eventually, all possibilities need to be in each branch. And so on. The number of summary tags is n! where n is the number of possible decisions.

Thus you very, very quickly end up with a very large dom. Browsers aren’t really optimized to display hundreds of thousands of these tags, so they crashed.
crypto currencies could have become a major player in the world's economics

unlike covid hysteria, which was/is a real thing, this had no chance of ever happening . crypto is mostly just a tool for gambling still, always was
Well, if they do, knowing Texas, it’ll be a .45 caliber bullet train.
At two companies I’ve been the CTO at we brought Salesforce in to pitch us. They couldn’t actually tell us what their use case was given our sales and customer base. We had ecom platforms with some customer data embedded in the sales platform and Salesforce couldn’t pitch a benefit to using their system.
>the _is_ a fact of the matter that eventually people will recognize,

Wrong, very wrong.
crypto seems like a massive cargo cult
Dogpile was the first search engine I ever used. My dad had a buddy who was into tech stuff, who showed us how to use it.

Later I learned about AskJeeves from a cousin who showed me how to download emulators and ROMs (this would have been in the mid-late 90s).

It's funny to think how much of my early tech experiences came from in person interactions. Dad's friend also built the first computer which I owned, which belonged to my grandma until she got a shinier Dell pre-built for a birthday.

I was allowed to "purchase" that machine for the price of two free mows (so $40). This was a steal by any metric. It became the foundation for basically all my computer learning into my preteen and teen years and the centerpiece of my bedroom. I have many fond memories of kicking back in my bedroom with ZSNES or bootleg Family Guy episodes.

Idk that I'd really connected until today how much of an influence that friend of my dad's had on my life, just through a few simple acts of thinking the net was cool and sharing with my family.
I don’t think there’s any reason to believe other cultures or time periods had parenting more figured out than us… But I do believe in a first principles approach. Basically, be good to your kid, use natural consequences instead of punishment and rewards, and model the behavior you want to see.

If you’re curious about that approach, check out RIE parenting or Respectful Parenting.
The GP made an entire game in an (autogenerated) static HTML file. Most browsers don't have a 5MB single HTML as an usual target, and I guess not as a test case either.
And allows to create any number of objects of its kind without explicitly needing to allocate memory for the objects. That is a major advantage I think, without that the code will get cluttered with all the memory allocation/deallocation going on explicitly.
Well, there is always the benefit of NOT having to drive and being able to do other things (reading) or just relaxing... Driving IS tiring...
For phone calls and stuff, sure. But for identical court cases, the legal labour per-case is low. I would imagine the biggest costs are any fixed court costs like filing fees and perhaps costs of sending letters (a 60 cent stamp starts to look expensive when it's a $300 debt).
Maybe America will go that way too.

Maybe.

Or the USA could easily become the world's largest denomination of the anti-Christ and most of faithful would be none the wiser and support Trump.
I have tried to sell myself on using functions (not pure functions though but ones that accept an object and modify it) but ultimately sticked to OO. I try to find the balance in-between, if something is processing heavy it's going to be a function, but if it does not do much by itself and relies on a lot of state, it's going to be a method in a class - which may call a function or a few.

The biggest benefit is the structure, you get an API that can control any aspect of the app out of the box without the need to redeclare stuff.
I'm not a rail hater. I typically take the train to NYC although that's because I hate driving into Manhattan and getting into the city from the NYC airports is awful.

However, I used to travel to Houston all the time from New Orleans and I flew. That's more like a 5 hour drive (vs. 3-4 from Houston to Dallas) and I rented a car when I got there. Where I was going was basically never in anything like a city center.

Having to or wanting to rent a car when you travel to somewhere does significantly lessen the potential train advantage of dropping you off in downtown if that's not where you need to be.
It's only the same thing if you look from a very shallow angle. Stripping part of the user input to ensure it's entered by the person themselves is otherwise completely different from replacing user input with different data. One defends against a specific kind of attack, the other is a malicious attack.
doomsday cults also bind participants together...
Good news (are suggested) since the hippocampus is one of the few places in which neural regeneration is possible.
Is it possible to debug code inside a 'devcontainer' environment? Does devcontainers actually run VSCode as a server in the container?
Sorry, I meant 1k registered subdomains per domain.
Circa July 31, 2022. Over a year old….
Would Linux 0.01 boot work in a virtual environment? (VirtualBox or QEmu)

If not it might be interesting to fork it into a linux-zero-dot-zero-one project that merely tries to make minimal adjustments so it runs virtualized on modern hardware.
I'm talking servers. We aren't allowed to run either on workstations.
Grass Briquettes: A Sustainable Alternative to Charcoal Production in Ghana
I'm not an academic, but I don't really think there is a correct choice. I think there are strategies that work in the moment to de-escalate. From among those, we often have a choice of damnations regarding long-term goals (e.g. "what will she learn from this if I..."). I think we are often poor estimators of long-term impact, though.
I cited this in my doctoral thesis. I'm not sure the title is accurate though. It doesn't manage to remove the "this bit is magic, just do the exact incantations and it'll work out" feel from it.
Bought by Oracle, still being sold.
Calculus is necessary. It wasn't invented as a set of restrictions, it was just just discovered and formalized.

Haskell is not a discovery of something that already existed. It isn't the only programming language out there. There are dozens of examples of other languages that people use more easily. The problem was something invented, not something that has to do with the underlying principles of programming.

If there are easier ways of teaching calculus, maybe those should be used. Actually that is happening now as youtube videos and web pages help visualize concepts.
I prefer functional. Procedural is not restrained enough and allows for mutable global state. This can go off the rails when multiple people are in the code.

Functional stresses composition so functions should stay small, and ADTs allow for all effects (errors!) to be represented. Strong typing helps reduce the number of tests I need to write, as well.
one aspect of this that's overlooked in the discussion is how google penalises pages for bad core web vitals. instead of marking a single page bad and reducing its ranking, google decides using some weird algorithm to bundle a bunch of pages together into a group and penalise them based on the average core vitals metrics in the group. this would explain easily why old content is not worth keeping around. older pages might not be optimised for current web vitals metrics, but they can bring down stuff you care about a lot.

SEO is black magic and astrology, so there's a lot of guessing going around, but I think I can vouch for this as this particular issue happened to one of the sites I maintain, and it caused the homepage to lose lots of traffic because it was bundled as related with some ancient blog posts. the homepage performed quite well according to all the metrics, but old pages did not, and until Google started penalising groups last year it didn't make a difference to keep the old pages around. Since they started penalising random groups, something that's important can be affected by something old and irrelevant, and the feedback loop is very slow.

It takes 28 days to get feedback from the web console about any potential changes to page performance, so I tried fixing the old pages in a few ways, then just gave up and deleted them. the average rose up, the penalty to the whole group was gone, and the homepage again started getting a decent amount of traffic.
>> Nothing about this is Microsoft or Windows-specific.

> Saying "nothing" is overstating the case. In a corporate shop of the common sort where everything is Windows and Azure, even the developers will have Windows on their daily development box.

I meant that Dev Containers are not Windows-specific. They are probably used on MacOS just as much as Windows and you could also use them if you worked natively on Linux. I just did not want a reader to get the impression this is only for devs working on Windows
There is a great book called The Emerald Mile that touches on some of this history, and other Grand Canyon history, using the story of the fastest traversal as the narrative device. Highly recommend. https://www.goodreads.com/book/show/15803144-the-emerald-mil...
The whole western world is now locked up in people protecting the value of their properties and real estate.

Do _anything_ of significance, and you will get hordes of people that demand that YOU pay for a hypothetical 5% decrease in delusional fictional real estate value.

Progress is grinding to a halt. We're economies broken by people who will not allow to take one step back to allow two steps forward.
They might support IOMMU, but the default groups can be very annoying to work with so you have to use a patched kernel as well that "ignores" the actual groups.
If you can't be arsed doing the heavy lifting answering your own question then that's on you.

> your link goes to some generic mining sector page.

To an up to date database of every significant mineral resource deposit across the globe backed by Tech Reports (geochem, geophysics, drilling, resource and reserve estimations), company ownership structure, land ownership structures, stock exchange filings, etc. Also includes prospects and ownership and development pipeline.

The equivilants exist for energy (trad fossil fuel exploration) and the renewable sectors (capital investments in tech (wind turbines) and resource pipelines (copper, lithium, etc..))

It's an an example of what you can do if you put your mind to it.

That one was developed here where I live (Western Australia) and onsold to Standard & Poor (the S&P people) when the private backers who wanted it had what they needed and passed it on.

Cement is an interesting one as we can make cement from fly ash left over from coal fired plants; that has a much lower carbon footprint than other cement.
Both Dallas and Houston are completely unwalkable, so you’d still need a car or Uber when you arrive.
Hah, my professor was using this as a reference in my numerical methods class circa 2010. It's a great one, highly recommended.
There are fairly inexpensive luxury bus options for travel between all the major cities in Texas. These come with internet access, spacious accommodations, clean restrooms.
Why you consider telomere length to be BS?
ABP: Open-Source Web Application Framework for Asp.net Core
Amazing. I can’t believe I learned about this just now.
That very much depends on the source. Look at our world in data’s formula [1], and you will see it does take into account that 2020 won’t have the same death as 2019, by using a linear model with previous years.

Sure, there might be a sudden and expected increase in population growth (and especially in the 70+ people), but one would have to have to explain how that happened…

[1] https://ourworldindata.org/excess-mortality-covid#what-is-ex...
They clearly couldn't care less about user experience. This is all about selling ads. The web was a beautiful thing for a moment in time, but the rotting corpse that is left after "adtech" did its thing is an anti-user monstrosity, to a degree that is almost comical.
The point is, Houston is virtually impossible to live in without a car (I experienced that for 6 months, not great). There would of course be a bus or light rail between downtown and/or the airport to this train terminal, but for those in a Houston suburb looking to visit a friend in a Dallas suburb, there would be easily 1-2 hours of driving involved. You just can’t get downtown from where most houstonians live by bus.
> Just observe the scale of your own airport's rental car center.

Airports are usually at the outskirts of cities where land is abundant. Central train stations are just that, central. Would there really be enough free land in downtown Houston and Dallas to create huge new car-rental infrastructure?
This is ignoring the fact that most people commenting here already won big time in the lottery of life: the family you were born into.

If you were born in a family in the wealthiest 10% of the world you have a lot of advantage over the person born in the least wealthy 10%. It's a lot more profound than that you got a game console for X-mas every other year.

For instance, does drowning while crossing the Mediterranean sea on a substandard boat not constitute a willingness to do whatever is necessary to improve one's station in life in your view?
> There is no HSR happening.

https://hsr.ca.gov/

SF-LA high-speed rail
My Everyday LLM Uses
"A new kind of Science". Wolfram. Don't leave home without it.

Seriously though. We talk about AI, but In My Opinion, the most powerful and interesting game changer is "Complex Adaptive Systems". I call them gestalts - the sum is greater than the parts because of how the parts interact to produce behaviors. Gestalts are all around us and we seem bizarrely unaware of them. Do you have some money? That means you are participating in a complex adaptive system or gestalt. Got cells? Perhaps you are a gestalt? Are you self aware? Does that mean you are a self aware gestalt, participating in other gestalts. Etc.

The difficult question is whether you (yes you personally) can build a gestalt. Can you take some pieces - entities - give them a set of rules and get them to do some accomplish a purpose.
That is the problem Wolfram was asking

The RIP router is a defunct example that has all the pieces. Entities + Ability to interact + rules => function.

Oh, and don't forget to vote.
I use these every day and here's some things I like:

* You can add a docker compose file as well as a docker file. This means that all of the services you want to exist (postgres, redis, etc) don't have to be separately installed/updated by each developer on the team.

* Good vscode integration. It doesn't feel like you're developing inside a container. You open a terminal, and its inside your containerized dev environment.

* "Features" (https://containers.dev/implementors/features/ ) which allow you to quickly add functionality to your dev containers. For example, when I want to add the terraform CLI, I add the corresponding feature to the devcontainer.json.

* At the end of the day it's all built on docker, docker-compose, etc so there is minimal lock-in to vscode
Right but if you're going to drive 45 minutes+ to get to the train station anyway which is probably very typical of Houston (heck, I drive an hour to catch the train from the Boston area to go to NY), you've given up a lot of the advantage of taking a train trip vs. driving--especially if it isn't dropping you off somewhere convenient to your office/hotel.
Really great explainer!

Naive question: how do we know it is gravity specifically distorting space? Could there be other forces or phenomena not related to mass?
As mentioned in the sibling comment, different frequencies means probing different things.

I found this talk[1] rather nice to explain the NANOGrav experiment, and at 6:45 there's a very nice plot that shows where NANOGrav fits in compared to the other gravitational wave experiments and which type of sources the various experiments can probe.

[1]: https://pirsa.org/20100068
The last mile argument is often ignored, but it's very important in this discussion. What's the point of traveling fast by a train, unless you're going exactly to the downtown? Without a reliable public transport, it might be more efficient to travel by car since you won't have to rent one or Uber everywhere.