skysight-inc/HackerNews huggingface dataset:
Despite the cycling infrastructure being second to none, I hated my time cycling in Amsterdam earlier this year. The drivers (taxis in particular) are just terrible, very violent, at least in the city center. Having a lot of cycling paths that don't intersect or run along motorways (the ones through parks are especially nice) improves the situation and I did enjoy that part, but I can't shake the first impression of crazy aggressive drivers.

Ljubljana, Slovenia, where I live, has decent cycling infra (cycling paths in almost every street, not as good as Amsterdam), but the drivers are way more considerate, so it's overall much nicer to cycle around, at least to me.
I believe charisma, confidence and looks also play a huge role.
According to their website :

Neural mapping. Taking 5 minutes to build a scene in space.

Relocalization estimating camera pose from a single image.

https://nianticlabs.com/news/largegeospatialmodel?hl=en

It looks pretty cool. I imagine it could be a game changer in wearable devices that want to use position like AR.

Intelligence gathering is also another one. Being able to tell where someone is based on a Picture is a huge one. Not just limited to outdoors but presumably indoors as well. Crazy stuff
They could help by not adding any more cruft to the global namespace.

Adding any globals should be a carefully-considered change. User-defined functions are global by default, and although there are (now) much better ways to write PHP libraries, I can absolutely see some old library defining array_find (one of the new global functions in 8.4) in an incompatible way and breaking new code that attempts to use the built-in function.

Sure, you can’t touch the existing pile of globals, but at least stop pouring fuel on that particular fire…
Ironically, I once wrote a load balancer in Go that relied on the randomized map iteration ordering.
I find bikelanes that are integrated with sidewalks incredibly dangerous and give a false sense of safety. Bikes hitting pedestrians (ex: children wandering out on to the bikelane) is a much larger safety concern than bikes being hit by cars. Taipei uses the sidewalk model and I recommend never using them

I find the Chinese model of bike/scooter lanes w/ barriers integrated into the main road a superior model. The other critical point is integrating bus stops into "islands" in the road so the bike lanes go behind the bus stops is critical. (a stopped bus with passengers going on/off essentially closes off the shoulder for an extended amount of time). Granted the main roads in Chinese cities are generally much wider so I'm not sure if it can be miniaturized the same way. The "turning area" is very useful concept for unblocking traffic and helping with visibility, though it does take up a lot of space. However the one in the example only accommodates one turning car at a time
integrate risk over time. if you have a high target orbit outside the "kessler belt" then you don't spend much time going through it. though this requires a fairly direct orbital insertion. slow orbit raising would have a higher risk, but even that would still be lower than for any satellite intended to operate for years and decades in an affected orbit.
ebikes mean you dont need to be that fit (or sweat) either.
Thought so, but that ratio brings it into sharp relief. Thank you.
We start making sure our application runs on the next version around the time Beta 1 comes out.

We upgrade the development environment around the time when our tooling (phpstan, cs-fixer) runs on the next version, but doesn't necessarily support new language features.

We upgrade the production environment when our tooling supports most of the new language features and at least all of the ones we want to make use of.

This usually happens within 3-6 months of the release. By that time the version has stabilized enough to be safe for production use.
I think the bigger issue is that these lessons have already been learned. However, PHP (Personal Home Page) was not created carefully by someone to become a fully fledged language. It grew into that role organically which is why it has so many warts in hindsight.
It’s good to realise the Dutch cycling infrastructure did not came out of nowhere. There were huge protests in the 70’s about traffic safety. At that time cars ruled the roads and there a lot of accidents, also involving children. From those protests an culture shift started, towards better cycling infrastructure.
I live in The Netherlands (actually in the same city as the photo's were taken): There is a very large difference in traffic density and complexity between the larger cities such as Amsterdam, Rotterdam, The Hague, Utrecht and the rest of the country (including middle sized cities).

When I visit one of those larger cities, I am also constantly looking for bikes everywhere not to be crashing into me.
You were too lazy to read the rules of the game
They have a "VPS" which extracts keypoints from an image and matches them against a 3d pointcloud. Using trigonometry you can work out the 3d position of the camera by matching the keypoints from the image to the keypoints in the point cloud.

What is different is that they are proposing to make a large ML model to do all of the matching, rather than having a database and some matching algorithm.

Will it work? probably, will it scale? I'm not that hopeful, but then I was wrong about LLMs.
And if we actually want to talk speed, PHP with something like Swoole or ReactPHP is many times even faster[0] than the already fast regular PHP.

[0]: https://medium.com/@dimdev/9-php-runtimes-performance-benchm...
I’ve lived in Brazil for 29 years and have never been mugged. Brazil is an enormous country with many safe regions. Don’t believe everything the media says—go out and have your own experience.
Ideally more density leads to more public transport.
Why do you need to monitor compost?
I used to judge myself for not understanding everything in math articles on Wikipedia, but as time has gone on I've realized that their purpose isn't really to be an introduction, but a reference. Especially as the topics become more esoteric. So they're not really there for you to learn things from scratch, but for people who already understand them to look things up. Which is why you'll sometimes see random obscure & difficult factoids in articles about common mathematical concepts.

(don't have any examples on-hand atm, this is just my general perception after years of occasionally looking things up there)
It's funny because in Android you can set animation speed to 0.5x or even turn them off entirely, it's an option in the developer settings. Apple would never let you do that.
It's the urban planning, but I'll point out that it's the requirements and responibilities put on the drivers as well.

Driving lessons for me consisted for 80% of learning how to ALWAYS ALWAYS track all the cyclists and pedestrians in urban environments, how to approach an intersection and have complete visual on whatever the weaker parties might be doing. A very defensive "assume weird shit can happen any time, and don't assume you can just take your right of way" attitude, and I think our cities are better for it.

In America, it seems that a pedestrian is a second rate cititzen. Conversely, here if you hit the "weaker" party as a driver and it's almost always on you in terms of liability.
"Else you end up with frankenstein code where every file could use a different style."

Yeah, this is a huge problem, but also, in the long run, inevitable.

Plenty of Kernighan & Ritchie C code still out there...
Show HN: Hash any comparable type in Go
It can be used to write your own generic hash table, see for an example:
https://pkg.go.dev/gitlab.eif.urjc.es/paurea/cuckoo

In contrast to https://github.com/dolthub/maphash it can use any hash function (as long as it implements hash.Hash64) and it does not depend on any internal detail of the runtime.
It works by inspecting the type and creating the hasher to be used later.
One of the types defined lets you also hash non-comparable types (ignoring the non-comparable part).
It could have been, but isn’t. Most of those are rather small, incremental quality-of-life improvements. Nothing revolutionary.
The surface area at 500 km is 1.16 of the Earth surface area.
The percents are very different. For example in bodybuilding one normally 'bulks' while working out, because it maximizes muscle gain. But then naturally this needs to be paired with cutting, unless you're a Greek Grizzly, but the total muscle loss is relatively negligible, especially when maintaining a proper high protein diet.

At 40% muscle loss you're getting awful close to losing weight while increasing your body fat percent!

But of course you're right that diet+exercise is key but for those maintaining such, they wouldn't end up on these drugs to start with.
Here in the Netherlands also in small streets and areas bike lanes are common. They are literally drawn on the street and a car is basically not allowed to ride on them when a bike is passing.
Theft of services isn't just about causing unpaid work; it involves intentionally depriving a provider of the rightful compensation for their services.

Both cases are equal in principle.

Theft of IP falls under a different law in the US than theft of something like gym services.
The Matrix: a foundation world model for generating infinite-length videos
Agreed. For the parents who make $200,001 in income, they're screwed.
sometimes, i want to share a script with a friend or with a coworker and setting everything up from scratch is such a pain.

this makes everything SO much easier.
I have built a similar one two years ago, but it runs in the browser: https://allaboutberlin.com/tools/tax-calculator

Respect for putting in the work. It's surprisingly difficult to get all the calculations right, at least the first time. Keeping it updated is another story.
C also doesn’t have exceptions and C++ similarly can distinguish between exception types (unless you just throws a generic std::exception everywhere).
I can't find a link to amazon, whatever, ... in your site. Is it there?

* If the links aren't there, add it now! Even better, add one in the side bar and others at the bottom of the article.

* It the links are somewhere in the page: Add a more visible copy (or two) for people like me that can't find them.

If someone was interested enough to read your post, they may want to take a look. Make it easy.
To monitor the compost
> The modern weight loss program you described is pushed because that's what people want; an extremely low-effort methodology that yields extremely high results.

I think it's a mistake to think of it as what people want. It's what people can do.

We have to acknowledge a fundamental struggle that we have with dieting and working out. Pretending it's just hard, when statistics show what is true at a societal level, will not bring us solutions.

We need something else. Either that's massive societal change to i.e. approach something like the diet/workout culture you have in Japan. That's hard. Or, as with many other of our health problems that we can't just will away, it's drugs.

Not believing in progress here, when drugs progress everywhere, is unnecessary. Current generations might have issues. Drugs will be better. We won't.
Might wanna preface with a spoiler - for the people who want to have a proper go at the game.
Who wants to give a script rights to download anything and configure and whatever? For development, sure it's ok.
To be fair to those projects, the type was introduced only three years ago:

https://github.com/golang/go/pull/49359/files

Before that, doing a string compare was basically the only way to detect that specific error. That was definitely an omission on the part of the original authors of the stdlib code; I don't it should be classified as "Hyrum's Law".
> How can we get that data

Its far cheaper to pay people on bikes to go round places, than it is to do what niantic did. Mind you, they make money hand over fist, so the mapping is a side quest for them.

Apart from they need it to make AR work properly.
Well, I very rarely take the laptop away from my desk.

If I knew I was going on a long trip, I would put the charge up to 100%.

When I do go on a long trip, then there's benefit in conserving battery life, because the charge I'll take with me will be substantially higher.
> Apple didn't conspire with (potential) competitors

Of course not, instead Apple forbade competition by fiat! The fact that antitrust law rewarded this behavior is perverse. The whole point of antitrust law is to promote competition, after all.

> you can't figure out why

Your assumption of ignorance is incorrect. I know exactly why. Nothing in your post is news to me and none of it contradicts what I said in the slightest. It's all completely irrelevant to my point. Apple dodged being ruled a monopoly by forbidding a market to exist at all, while Google was ruled a monopoly because they allowed a market to exist. (Note that whether or how they exploited the monopoly is irrelevant to the question of whether a monopoly exists).

Also, frankly, your tone violates the HN guidelines. Do better.
Though I don't disagree principally. My experience with government contracts echos the much higher costs you have to make to get 'simple' things through. You end up jumping through so many hoops to get something cheap through that you spend much more on the process than the part could ever cost.

Granted 8000% is still absurd, but 1000% wouldn't necessarily be unrealistic.
The "perfect" fat percentage for men when it comes to health is around the 22% range. For women it's significantly higher. (35% iirc)

I'll try to find the study/abstract later if people care.
It is a trend I saw countless of times in my professional experience:
let's do exactly the same thing as before, but it is now, so it is not the same and so we expect a different outcome. And in the end, the result is the same and the project abandoned soon after being released.

"For home I mostly just need to do bills. Maybe reading or writing."
If so, why do you use a computer and not a phone or a tablet? (or maybe just an eink reader).

I think that a lot of people are "switching" to the computer when they want to do things that go beyond what you do on your phone in the bed. And especially in a professional context.

Common things are like:

- I want to write a letter, and looking at the website at the same time to copy elements.

- I want to work on an excel sheet, while looking at pdf documents and websites.
For example i'm doing a monthly expenses excel sheet, and i want to look at all my bills, connect to providers website when i don't receive bills. This kind of experience is very very painful on a mobile OS, because the constant "window" switch to go from excel to each info in each document is terrible.
It is the sum of costs and advantages that lead to reproductive success. The trait is still here and still prevalent meaning people are still getting laid and starting families and presumably leading fulfilling lives.

I'm not sure what you are trying to say.
Not a public library -- their institution's library. The context here is higher ed students in poverty situations, and I've never heard of a college or university (that isn't online-only, at least) that didn't have a library.
Did they have your phone number prior to that?

Phone number is the gold standard for accessing third-party data broker collated information.

If they didn't have your number, and then they did, you really let them me know who you are, and all about you.
Vercel acquires Grep
In addition to the other comments, the iso C23 standard added the <stdbit.h> header to the standard library with a stdc_count_ones() function, so compiler support will become standard.
I don't get your issue with builtin utilities.

The design philosophy of PHP is to include whatever common methods would otherwise be in a popular library. (PHP actually began more as a library than as a language.) This differs from, eg, Python, but doesn't hurt.

The decision not not to make methods on the objects, but to include everything in the main namespace (so array_walk instead of Array.walk or Array()->walk etc) is another function of the same philosophy. It may not fit your idea of cosmetics, but there is nothing wrong with it.

On the other hand, I would love if PhP gained chainability ([].array_map.array_find()) and then the names would be a pain. If that ever happens there are solutions.
That's probably an Amsterdam thing, smaller Dutch cities are lovely and awesome to cycle in. Rotterdam was also not enjoyable to cycle due to aggressive drivers when I visited.
Thanks for correcting me, and sorry for the error. I should have checked before writing.
The magic of vertical integration.
All About Berlin: why I built it, how I run it
This is a heavily edited transcript of a talk I have given at the Digital Gestalten meetup in Berlin earlier this month. All About Berlin is a website I run since a few years. It helps people migrate to Germany and navigate German bureaucracy with guides and helpful tools.
I really enjoyed this. Reading the comments here I can't help but notice the irony. Storytelling requires a suspension of disbelief, and the crowd here are intent on peeling things apart. I wonder if HN readers approach printed books with the same attitude: "hmm, the book doesn't prevent me from tearing out a page and pasting it elsewhere. This seems like a design flaw..."
To carry through the analogy, yes, people should be afraid to deliberately and intentionally knowingly conduct illegal activity under the guise of a company.
I agree with most of what you've said, and yet as a utility cyclist I can tell you that this is nicer than many of the streets I need to ride when I leave my home.

Let me reiterate that I don't say this to dismiss the importance of improving that street. On the contrary, I am simply lamenting how bad things are here [0].

[0] https://maps.app.goo.gl/nurAWCzcBW98TxFm8?g_st=ac
Some people like playing games even if they could cheat. I play to play, not to win necessarily.
There's a similar scene in "For Whom the Bell Tolls" by Ernest Hemingway.
Erm, when you lose weight you usually lose muscle too. So compared to people on a diet and people on ozempic, what's the plus percentage of muscle loss?
One interesting metric for LLMs is that for some tasks their precision is garbage but recall is high. (in essence: their top 5 answers are wrong but top 100 have the right answer).

As relates to infinite context, if one pairs the above with some kind of intelligent "solution-checker," it's interesting if models may be able to provide value across absolute monstrous text sizes where it's critical to tie two facts that are worlds apart.
Opera has always been relatively very popular in Eastern Europe. I don’t know if there is any clandestine Russian operation behind it (unlikely), there are just many comments and reviews about Opera and its extensions in Russian language.
PHP has a rather nice type system. It also doesn't use whitespace as syntax, which makes it much easier to generate ad hoc.

Slim is a pretty nice framework: https://www.slimframework.com/
In my experience, cars are discouraged from city centres, but not banned. You can drive your car all around Amsterdam, although you’ll have many one way streets and parking is going to very expensive for non-residents… and it’s hard (but not impossible) to find street level parking. Amsterdam has a number of car parks in the outskirts that are cheap if you can show that you used public transport afterwards.

The result is that people use their car (if they have one, still quite common esp. for families) to get out of the city, or big errands, but use bike or public transport for day to day trips.

Actual car free zones exist in cities across Europe but tend to be pretty small and constrained to the hyper centre, like the church square and the major shopping streets. Not that I’m opposed to them being bigger but that seems rare at this point.
Why not use thread_local instead of passing a param everywhere? What's the drawback there?
And yet the photo in the article shows piano teeth markings before the shark teeth, which indicates a level change for the car. In that case I would assume that cars are required to yield to pedestrians crossing the side street even though the sidewalk surface is not continuous.
Solo Dev on my own PHP project since 14 years.

I wait 1-3 months, but then update. It used to take way longer, because Amazon's Elastic Beanstalk platform would take longer to update, but I've now changed to Platform.sh and the transition should be easier.

It has been very backward-compatible (i.e. stuff that works in 8.n also works in 8.n+1; and unless you use exotic functions or are relying on special functionality, it should work for you, too).

Once I'm at 8.4, I would slowly update the code / syntax with rector and the assistance of phpstan.

For framework updates I wait 1-2 patch versions before updating, because of composer dependency problems and sometimes bugs do still find themselves into new releases (e.g. I would wait at least until Symfony 7.2.1 before upgrading from Symfony 7.1.x).
> Colors, amount of daylight(/nightlight), weather/precipitation/heat haze, flowers and foliage, traffic patterns, how people are dressed, other human features (e.g. signage and/or decorations for Easter/Halloween/Christmas/other events/etc.)

I mean, in theory it could. But in practice it'll just output lat, lon and a quaternion. Its going to be hard enough to get the model to behave well enough to localize reliably, let alone do all the other things.

The dataset, yes, that'll contain all those things. but the model won't.
If Elon Musk Wants to Cut Government Waste, He Can Start Here
That is a bad idea: https://dev.to/wallyqs/gos-map-iteration-order-is-not-that-r...