skysight-inc/HackerNews huggingface dataset:
In most production renderers, you have a soup of objects. Sometimes it's a tree, but much more often it's a graph of nodes pointing to each other.

One of the first steps of this is to gather all the nodes in the graph, flattening it into a list, and then start filtering and sorting it: for every opaque object, you likely toss it in Z-pre and opaque buckets (for objects visible through the main frustum), and a shadow caster bucket (per shadowed light frustum!). So the renderer itself really prefers lists of lists, it does not have trees internally.

React-Three-Fiber seems to take the DOM-equivalent tree, sort it, and then construct a Three.JS scene graph from it, and then Three.JS's render method starts from that scene graph soup and does the above. So one might argue that the tree is a DOM-like interface you're adding on top of Three.JS's scene graph.
I can't take a 3d rendering framework seriously if it gets bogged down at updating 2000 untextured and non-interacting cubes @ 60 FPS.

What on earth is all that time spent on? Doing ~2000 3x3 matrix ops should take a modern processor a few hundred usec surely?

To put the silliness of the 2000 number in context, look here at a showcase of the Unity ECS system from years (!) ago: https://software.intel.com/content/www/us/en/develop/article...

Their starting setup achieves 16000 textured and complex (relatively) models @ 30fps. Which is already much more than the "optimized" thing is achieving here. And it doesn't "cheat" by pretending to be fast via simply not doing to updates that are expected. And once they apply the various optimizations with memory layout etc... they get to 150000 (!) textured models moving about on screen @ 30 fps. So let's say 75000 @ 60fps, which is more than 35x as many objects, and the objects are much more complex.

Am I missing something? Why is "2000 cubes @ 60fps" extraordinary?
The difference people see, as far as I can tell, is that AWS is charging you cost+ and pure software companies need to charge for value or die.
Typescript is a nicer language than Python in many ways and it doesn't suffer from Python's crippling performance issues or dubious static typing situation. Plus you can run it in a browser so there's only one language to learn.
I don’t have a strong opinion, but “nation building” always sounds like this horrible thing and I don’t quite understand why. Charitably, bringing democracy to corrupt, oppressed countries seems eminently desirable. Maybe nation building has a bad rep because it’s immensely difficult and we always fail at it (presumably it takes many decades and we always think it will take 5 years?). Genuinely trying to understand.
Echoing what @karterk said.

One of my favorite parts of working on Typesense is the opportunity to interact with so many developers from around the world, getting to know about the product and domain they are working on, their tech stacks and how Typesense fits into their world. I find these interactions helpful in enriching my own world view and helps me build valuable context as we design new features. I’ve sometimes been blown away by how the foundational construct of a fast and distributed search engine, is being used for use cases I could not have even imagined!
The US has rarely won any aggresion or proxy war in this and the past century.
yes. there are photos going around of rooms full of weaponry seized, and they are already patrolling in humvees and mraps. there are even some videos of probably ANA defects piloting American helicopters for the Taliban.

https://instagram.com/p/CSj-3bgsxKQ

this is absolutely astonishing to me. im honestly surprised the us didn't conduct airstrikes on the vacated armories and hangars. they just got a leg up from antique firearms and fertilizer bombs into modern weaponry and air force.

i expect all of this to show up in Iraq, Syria, etc
Orbit Fab are making what they call "gas stations in space" for satellites to refuel instead of re-entering or requiring their own launches to refuel. Heard about them a few weeks back and thought it was an interesting idea.
For those thinking the Silicon Valley is still a sausage fest, I suggest you guys to try Northern Europe. Good life, nice pay and amazing women :)
A single isolated military base would be untenable without reasonably secure land supply routes for fuel and other bulk supplies. The US military lacks the airlift capacity to fly in everything needed on a permanent basis.
Did you consider switching form CPython to Pypy?
Thank you!

Automated screening is incredibly rude. Imagine if candidates started writing resumes/cover letters using AI. How would companies feel?
"Beware of appeals to the 'real world'; and to what it supposedly demands. It is always an invitation to leave unchallenged the speaker's tacit assumptions."
If I'm understanding the numbers in this thread, wouldn't the idea that the carbon tax funds some UBI program mean that poor families would see a net benefit. Taking the numbers from parent posts and assuming a Google search saying the US puts out 5bn tons of CO2 a year is right, each person would be looking at around $250/year. With an additional 19¢/gal that UBI would cover the tax of 1'300 gallons of gas. Unless you travel 40'000+ miles a year it should be a net positive there.

Entirely back of the napkin of course, other costs will skew the numbers. But so long as we have both the tax and the redistribution in place it should balance year over year.
C# constructors technically don't return anything (afaik), the object is allocated and then the constructor is invoked on it. So it's theoretically possible for your compiled code to produce a null as the result of a 'new' expression. I think this wouldn't be spec compliant though, since the two scenarios where this would make sense (OOM and exception thrown during alloc or ctor) should just throw and unwind before you can see observe the null or uninitialized instance.

FWIW, it's also possible to enter an instance method with a null 'this' under certain circumstances (normally there would be a null reference check before entering the method body, but I've run into cases where there wasn't)

Contrived scenario: You AOT-compile your code in a 'no exceptions' mode, so the generated code assumes that malloc can't throw, etc. In that case if a failure happens during the 'new' process the only reasonable return values are either null or an instance with garbage data in it. As a compiler author, out of the two I'd probably pick null. This isn't as far-fetched as it sounds since right now exception handling in WebAssembly is a nightmare.

Actually, I wonder if an exception filter could observe the null before the unwind happens...
When the US abandoned Vietnam, we ferried people out by helicopter as Saigon fell. We rescued 5500 Vietnamese civilians this way. The ambassador wouldn’t leave until marines forced him to get onto a helicopter. How many did we rescue this time? Do we have fewer helicopters than we did in 1975? Do our helicopters have an interlock that prevents them from taking off if someone without a visa is onboard?
3. An enforceable contract requires both parties’ signatures.

This really doesn't jive with what I know about contract law, so I checked the article, and it is more specific:

An enforceable contract requires both parties’ signatures: Under existing law, any contract for the sale of goods worth $500+ must be evidenced by writing; Pepsi did not sign anything.

Still, was Pepsi really selling something for more than $500? It's an exchange for Pepsi points (not cash), and even though you can buy them, are they equivalent to cash? Also, on top of that, has anyone signed anything the last time they bought a $500+ laptop, PS5 bundle, unlocked cell phone, etc.?

I know a contract has to meet all elements of a contact to actually be a contract, so the other 2 reasons are enough, but this 3rd reason seems out of place, given the situation and even what I learned in my contact law class.
I don't concretely know what's happening, but I have an idea.

Why didn't the US State Department see the failure of the fledgling and corrupt democratic Afghanistan government? The US should have pulled out 10 years ago, or if it was actually interested in the strategic nature of Afghanistan, it could have arranged to purchase permanent bases independent of the Afghan government, fortify them, install missiles, occupy the Khyber Pass, block China/Russia, shore up rare earths, etc.

So why didn't we take these actions sooner if we knew the government couldn't handle it? Incompetence? Too many cooks?

My guess is that we were still interested in Afghanistan, but that this is a new shift in geopolitics. It's a chess move, and not one originated by the Trump or the Biden administration directly. My guess is that this is being done to appease Putin.

The US is softening up on its approach to Russia as a regional counter against China. This is more important than having forces on the ground in Afghanistan (which have to fly in over Pakistan anyway). And of course it's more important than building and propping up democracies. If it weren't, we'd still be there.

The story to look at now is China. This is a chess move in that story.

Just my thoughts. I could be wrong.
I enjoyed this Slate Star Codex article on billionaire philanthropy https://slatestarcodex.com/2019/07/29/against-against-billio...
I’m a bit underwhelmed by the price. This costs as much as the current-gen Remarkable, with more power, but likely worse build quality and software and only slightly higher hackability.

That said I’m still excited for cool e-ink applications, like finally an optimized browser. Also: Competition to those Onyx devices with Android apps running through WayDroid (should be possible on the Remarkable, but I haven’t seen anyone try it).

… which raises an interesting point. Will these things come with a working Direct Rendering Infrastructure (DRI) for modern Wayland compositors to run?
A claim which doesn't hold the test of science. Do you have a stake in Danone?
They meant as opposed to under the fuselage. If the wings are directly supported, the root does not bear the weight.

...how exactly are you imagining gear above the wing?
That's probably what it means but it's also a weird thing to measure because depending how you define "average" you can juke the stats any way you want. If I said "hire" to a random resume that comes in for a job, the value of either the median or mean developer is likely very close to zero if not negative, and that's probably true even if you just look at devs who are actually employed writing code for generic companies. If you restrict to better companies you quickly climb the productivity curve, and at places like Google it's pretty rare to find someone who is a 10x dev as compared to company peers (though you can have 10 or 100x impact pretty easily if you're good at almost any part of business other than writing code and know how to thrive in a bloated corporate environment).
Just set up a transparent proxy as the default route for the VM. Any non subnet-local traffic will then be filtered. Incrementally adding in sites to the allowlist as you need them is very interesting exercise in relearning your network dependencies. I say relearning because in the past you would just keep a tcpdump running on your boxes while you were working on the and that was enough to understand the normal networking. Now a fully connected host has all kinds of crap traffic all the time. I don’t really need Ubuntu to know when my hosts are up or not. Etc. etc.
Better to err on the side of optimism in each thing. Optimism in all things (the future of humanity) is different. There, we should strive to understand the dynamics of the progress that Kelly rightly admires. It's our golden gooose. It's prudent to understand and monitor its health; less so to blindly worship it.
Try https://workonclimate.org/
I think so too but if the 60Hz is not a mistake, it will change my life. I hope it's not ;-)
This doesn’t work so easily with architectures with process pools for workers. So now your app server needs to speak docker (or whatever control plane) to spawn new workers and deal with more complicated IPC. Also the startup time is brutal.

One process per container and multiprocessing is a huge lift most of the time. I’ve done it but it can be a mess because you don’t really have as much a handle on containers than subprocesses because you can only poke them at a distance through the control plane.
The basic problem with this model is that it guides you to forever procrastinate actually doing good. Sufficiently large fortunes can be sufficiently diversified that you’re basically guaranteed to keep growing your wealth so long as you keep reinvesting it. The good you can theoretically afford to do next year will always be greater than the good you can afford to do today – which means, under this model, that the “right choice” is to never do good today. That’s why this kind of simple utilitarianist thinking is a trap.
This looks very nice. Do you foresee a downloadable version for Windows like the Mac and Linux versions (i.e., not as a Docker container)?
This is not how most of the world or Americans are going to see it. Speaking as an independent, this is precisely the kind of abject failure and mess that will be the reason for a single term presidency as well as a likely change in party next term.
1M requests per minute on 1000 web instances is not an achievement, it is a disaster.

It is ridiculous people brag about it.

Guys, if you have budget maybe I can help you up this by couple orders of magnitude.
We'll start bombing what we left behind as soon as the retreat/ evacuation is over. Maybe sooner.
Where do the Afghans themselves want to go? They don't all want to come to the US.
You have to remember that this 700ms overhead is not the renderer. It's just setting fields on the underlying Three.JS Cube objects. The Three.JS renderer runs fine, and I don't even consider Three.JS to be a fast renderer. So yes, the overhead of React-Three-Fiber's tree reconciliation is seemingly massive. No, I do not have any answers for what it is doing. Nor do I have any guesses.
"grew so prevalent in some parts of the country"
You can search for "Toolbox" and "Tool Box" here:

Vintage Macintosh Programming Book Library - https://vintageapple.org/macprogramming/
All we got was the entirety of human knowledge in our pockets, functionally for free.

I don’t like ad tech and I’m not dismissing that modern software has problems, but I think there’s a lot to be optimistic about.

On most metrics (infant mortality, poverty, violence) - things are massively better than they were thirty years ago.
I’m not sure it’s optimal from a performance perspective, but having everything represented by a tree is kind of nice.

I haven’t really encountered anything that can’t be represented well in a tree, especially with context providers in the mix.
Don't talk in generic terms if it doesn't apply at all places. In Germany for example, tap water is perfectly fine. Some might not like it that much because it perhaps is too hard or something, or your house might have old pipes, but it is healthy.
The Taliban's yearly revenue is likely in excess of $7 billion now.
PepsiCo seemed to have lost their collective minds in the 90's in their pursuit of fighting the Cola Wars, like it was some narco gang territory. This episode seems tame in comparison to the Pepsi Number Fever aka 349 incident, with a similarity to running an ad campaign, and then strong arming or swatting away claimants, as a cost of doing business.

Pepsi Number Fever, also known as the 349 incident,was a promotion held by PepsiCo in the Philippines in 1992, which led to riots and the deaths of at least five people

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

https://www.phmurderstories.com/blog/pepsis-number-fever-199...
You're right about other sites, but Hotstar does support IPv6:

$ dig +short AAAA www.hotstar.com
www.hotstar.com-sni.edgekey.net.
e35862.dscj.akamaiedge.net.
2600:140f:7800::1730:f420
2600:140f:7800::1730:f421
2600:140f:7800::17d7:d7b9
2600:140f:7800::17d7:d7a9
2600:140f:7800::1730:f449
http://www.kiplingsociety.co.uk/poems_arith.htm
South Korea? Japan? Free France? Taiwan? Israel? Australia?
It heavily depends on how you model the growth of challenges vs your own personal growth. You're assuming that your own personal wealth grows faster than the problem grew. That is not necessarily true. i.e. climate change won't wait around till you're a billionaire.
Ehh. If you look at the VC world, it is hard for the VCs to bet right. Which means it is essentially just a gamble.
60Hz for total, full screen refresh would indeed be a staggering feat, however I don't believe that's what these figures are.

One of the things that makes e-ink so hard in the first place is the multiple and proprietary algorithms for doing partial paints or clears on the screen in the most time-optimal way. I can only assume the 60Hz figure refers to a partial paint on screen, so "60Hz refresh of the line you're drawing", not "60Hz fullscreen video".

That, or it's 60Hz with incredible ghosting, which I believe has been done before.
You cannot run TS in a browser.

You can compile it to JS or to Webassembly. But you can do that with every language.
Isn't it relatively likely that there are more people learning Buddhism orally now than there ever have been before?
China's got plans for one of it's new trade routes going through there, as well.
I was comparing Scott to heirs. People who got money without being responsible for it. Of course she was the wife of Bezos but how much is she responsible for the success of Amazon compared to another wife ?

I don't get how you could do more good with 40years of life with 0 on a bank account vs 1 day of life and 60bn on bank account
Is there an error in the examples? You have

const mesh = useRef()

...

<mesh ref={mesh} ...

You'll be rendering an undefined element (before the ref has a chance to attach).

Also, the TypeScript example makes me head hurt.

const ref = useRef(null!)

Ah, yes. A non-null null literal.
> almost $8.6 billion in gifts announced in just 12 months

Give it some time
Nah. The budget impact of taxing MacKenzie Scott $8B per year would be basically imperceptible. Not only would it decidedly not fund any new spending, it would only reduce the 2021 budget deficit (a cool 3 TRILLION dollars) by 0.2%! Even in pre-covid times (2019), 8 $8B in new revenue would've reduced the annual deficit by a mere 0.8%. Sure, if you taxed all of them at a similar rate, you'd tackle a bigger chunk of the deficit, but you couldn't even balance the budget. And you'd bleed them all dry within a decade or two (far more quickly than these fortunes are made), at which point your revenue problem would return with a vengeance.

The ultra rich have unfathomable amounts of money, sure, but the only way to sustainably fund a large welfare state--as is evidenced by the tax policies of every Western European nation--is to tax the absolute shit out of the middle class. Keep that in mind the next time someone says they're going to fund trillions in new annual spending by 'taxing the rich'... They may keep their promise, but when the golden goose is dead, they'll be knocking on your door!
> when you’re purchasing some of the most blatantly glowing sycophantic PR imaginable

Huh? Is there any reason to think MacKenzie purchased this article? It discusses how MacKenzie is incredibly tight lipped and low profile with her contributions. She’s not interviewed in it. Bloomberg had to do a mass survey to just identity the places she donated to and they still weren’t able to get dollar contribution amounts from many organizations. You’d think if she was promoting herself she’d hand them a list.

IMHO, the article exists because a billionaire donating $4B+ in 12 months is newsworthy in itself.

Agreed on the click-bait “reshaping America” title though.
Don’t you have to integrate cloud? This whole post is about having to put a bunch of workaround bc the cloud can’t scale apparently
Yeah as an American Afghani’s that helped troops and risked their lives should be given refuge in the US. It’s the only decent thing to do.
> for all citizens

Very few things are ever what all people want, but when the overwhelming majority seems to be fine with something, it's fair to say they don't mind it. If e.g. an election is decided with a 80/20 split, the electorate "wanted that person to win", even though some didn't. On average, they do. Getting into semantic over it isn't achieving much.
Like, of course this war has been about profiting arms companies etc. all along - did people think otherwise?
Turns out the video's hosted on YouTube for those prefering to stream audio via mpv (or similar tools):

https://youtube.com/watch?v=5z-XIahirdk
Well you should have. Just to answer one question: You need to move the water to the bottling plant, distribute that to the retail logistics centers and then distribute it to the retail shops.

The buyers are then also more likely to go the the shop by car, as heavy things are not great to buy when going by feet or bicycle.
out of curiosity, what did you end up going with? I had to host a UDP game server recently and couldn't find a good solution. If only ngrok supported UDP...
I don’t understand why people don’t just buy water filters.
If you want to make people stop using water bottles you have to improve the water going to their house.

I've been to very few places (in the US) that the water tasted good from the tap. One was a major metro, the others were places with well water.

My parents live in a medium sized Texas city that has tap water that is typically brown, sometimes it comes out of the tap foamy. Some filter it, but many just buy bottled.

I use a simple filter at home to improve taste. However, after living in hurricane and tornado prone areas, I keep a small supply of water on hand (a few cases of bottled) for emergencies.
> just how little the US achieved in 20 years.

Can’t help people who don’t want to help themselves.
Depends on the country. In some European countries tapwater is extremely well controlled and can be considered cleaner than bottled water. I wouldn't say that the contamination is unknown:

https://www.umweltbundesamt.de/en/topics/water/drinking-wate...

Some companies are even selling tapwater in bottles for a good profit, so many drink tapwater from bottles without knowing:

https://www.theguardian.com/us-news/2020/apr/23/pepsi-coke-b...

Water in plastic bottles can contain solvents and microparticles, and be worse because of that:

https://www.time.com/5581326/plastic-particles-in-bottled-wa...
Cattle aren't being raised on fertile Iowa topsoil. Cattle are raised where the land has essentially no other purpose.

You can see this in cash rent prices for farmland. Leasing it out for crops makes around $150 an acre, but for cattle it will only bring in $35 an acre.

The statistics about how a huge proportion of agricultural land is going to raise beef is misleading for this reason. It's not one or the other.
I agree, it's basically Trump's fault.
When Mathematica came out (1988) there were already Lisps for PCs and Macs. Lisp at that time made the switch to Common Lisp. Symbolics Lisp Machines were used for higher-end AI, CAD, etc. domains. There was a bunch of very different options across many platforms (PCs, Macs, UNIX Workstations, ...). Macsyma itself ran on various platforms, incl. Lisp Machines, UNIX, VAX/VMS, and then also on Windows.

Derive even ran on some TI calculators. It was written in muLISP.
Always is a strong word. Seas become deserts and deserts become seas. Just not within 150 years.