skysight-inc/HackerNews huggingface dataset:
yes, that's why I used the disclaimer "as long as I can compile individual units and link them".

The problem with C++ templates is accurate, and is one of the several reasons why I avoid using templates in my own C++ code. I don't have that freedom in the code I write for my employer, though.

> In C++ there is no individual units.

Yes, there are. Those unit boundaries are often blurred by other C++ features, but they do exist.
That's obviously a typo and one that I already addressed elsewhere. If you'd like to offer a serious response with actual substance, by all means go right ahead.
I get an Internal Server Error when I select any item. Ex. https://hackerlive.net/item/38709055
A word of caution that Dear ImGui is specifically made for building internal tools quickly rather than production-grade UIs. Relevant quote from the docs:

> Dear ImGui is designed to enable fast iterations and to empower programmers to create content creation tools and visualization / debug tools (as opposed to UI for the average end-user). It favors simplicity and productivity toward this goal and lacks certain features commonly found in more high-level libraries.

Here's a quote from my comment [1] on an earlier discussion about Dear ImGui vs. "bloated" browser APIs:

> This is what I hear when I enable VoiceOver on macOS and open Discord (either the web app or the desktop app):

> 1. “Discord, friends - Discord window, direct messages, selected cell”

> 2. “You are currently on a cell inside of a table. To navigate the cells within a table, press…”

> 3. (when navigating with the keyboard) “1 mention, $SERVER_NAME, cell” “$SERVER_NAME, cell” etc

> And here’s when I do the same with a random Dear ImGui app I have installed:

> 1. “$APP_NAME, $APP_NAME window, $APP_NAME window”

> 2. “You are currently in a window”

> 3. (when navigating with the keyboard) [silence; no additional instructions]

[1] https://news.ycombinator.com/item?id=37302809
Haha, yes. Its usually bunting, for other bank holidays (red blue and white flags) and it used to be tinsel for Christmas (but is now lights)
My mind is completely fooled by the haptics on my MacBook Pros touchpad, so much nicer than the mushy click that came on windows machine prior.
It's especially gauche, given that GM executives uphold the crabbed, parochial internal GM processes that handicapped the development of the Aztek and so many other vehicles GM whiffed on.
https://www.fastcompany.com/90740511/heres-what-its-like-liv...
Two more little utilities that I cannot live without on Mac:

A tiling window manager like https://rectangleapp.com/

Muzzle, which automatically silences desktop notifs when you're screensharing https://muzzleapp.com/
This Could Have Been Shorter (2014)
It's not clear to me but it sounds like it wasn't an upgrade from 3G but from wifi, and wifi was only accessible at the stations?

The Stockholm subway has had 4G since 2015, but that was replacing the 2G/3G networks.

It would be interesting to know how it works. Are there a lot of smaller base stations? Is there a station on each train that bridges traffic using some other technology that works better underground?

https://computersweden-idg-se.translate.goog/2.2683/1.611884...
A Dive into Jolla AppSupport
They're different but that shouldn't mean that Beeper gets to use Apple's API's
It doesn’t apply to paper documents either. Though it does apply to your passcode :)
My view is that automated testing is not a substitute for QA, but an additional tool. It lets QA focus on harder to automated tasks.

For unit tests, a developer is going to try something out anyway, so capturing it in a unit test for the future should be just a little extra work. Also, writing a unit test means the developer has minimally used what they are writing.

Higher-level (system) testing, especially with GUIs, can be more work than the value added. It is a cost trade-off, but ultimately, a human adds value not matter how much automated.

AI will help too, but these are also tools. Drop QA and you are trading off costs for quality.

IMHO, not backed up by research.
> Time is a dependency like any other

Oh no... not at all. Here are some examples of when your approach turns out to be worthless:

* Performance testing, eg. looking for memory leaks. It doesn't matter how your timer ticks, what matters is that over time the system performance degrades.

* Any kind of hardware testing that relies on sensory input that is time-gated.

* Even "simple" stuff like testing software that does eg. desktop video recording. Still, you cannot substitute the wall clock with whatever timer you will come up with. I mean, in all those cases you "sort of" can, but that will render your tests worthless.

* Of course your home-made timers will prove useless if the tested software has third-party components that don't care about your timers.

Of course some cases can be handled by what you described, but, in my experience, when code works with time, the tests need to concentrate on special cases and those are usually hard to impossible to emulate through home-made timers. Or, they would benefit tremendously from time being real rather than a "surrogate".
> The global shutdown of major cities in the Covid pandemic hit the scooter startup hard, forcing it to pull all of its scooters from US and European markets

Why did something like COVID effect the use and "contactless" rental of scooters? Was this just collateral damage or did specific changes on laws/regulations cause the pull out?
I wonder how long it’s going to take to break even. It’s pretty expensive to install piping. Even if you use no-dig tech.

Also, if they go out of business the infrastructure built isn’t going to be taken away.

The problem being that a huge part of rising construction cost in infrastructure is poor documentation of current infrastructure. You have a lot of stops in production when you encounter unknown piping.
Maybe in future with different approach like https://youtube.com/watch?v=VmWL1hZQmD0
From article

"Imagine that we run this query over a few hundred million rows. This means at least a few hundred million hash table operations. As you might imagine, a slow hash table would make for a slower query. A faster hash table? Faster queries!"

I'll read the article properly after this, this is just a quick skim, but I can't see this quote can be correct. Unless I'm missing something, hashing function is fast compared to random bouncing around inside ram – very much faster then random memory accesses. So I can't see how it make a difference.

Okay, I'll read the article now…

Edit:

"If you insert "John" and then "Jane" string keys into a FastMap, then that would later become the iteration order. While it doesn't sound like a big deal for most applications, this guarantee is important in the database world.

If the underlying table data or index-based access returns sorted data, then we may want to keep the order to avoid having to sort the result set. This is helpful in case of a query with an ORDER BY clause. Performance-wise, direct iteration over the heap is also beneficial as it means sequential memory access."

but "...if the underlying table data or index-based access returns sorted data..." Then you've got sorted data, in which case use a merge join instead of a hash join surely.
Study helps explain post-Covid exercise intolerance
> Speaking of ridiculous… Average residential cost per kWh in Sunnyvale is actually $30 not $1.

No, it's not. That could potentially be the cost of electricity in somewhere like the South Pole.

"The average electric rates in Sunnyvale, CA cost 31 ¢/kilowatt-hour (kWh)"

https://www.energysage.com/local-data/electricity-cost/ca/sa...

You'd have to provide some shockingly well sourced data to explain why electricity cost in one location is 100 times that of the rest of California, or how the average resident spends over $150,000 a year on electricity (the average per capita use in Santa Clara county is 6.2MW)

https://findenergy.com/ca/santa-clara-county-electricity/
Invest in Global South solar instantly via the online solar investing non-profit Renewables.org
ClickHouse Is in the House
When it comes to natural intelligence it seems the trend since time immemorial has been that those having higher intelligence would like to see more of it overall.

OTOH, those having the lower intelligence seem like they would prefer a world of declining brainpower instead, and ASAP.

To them it's just too intimidating like it is now.

You can't expect such intelligence-dependent things like that to be much different when it comes to artificial or imitation intelligence of any kind.

That would be so uncanny as to be unrecognizable.
A last mile solution that accommodates all possible use cases would indeed be expensive. One that handles 50% of deliveries? That seems useful. Would 50% be economically viable? What about 10% or 90%? Hard to know and probably will depend on many factors including the local geography. But even if it can't handle 100% of deliveries, perhaps it will be viable for a significant percentage, even if in just limited situations like a suburb with a sweet spot between the cost of adding subterranean pipes and high enough population density to provide high enough volume to justify the capital investment. Very few solutions are able to work for all use cases in all environments. That doesn't mean they can't be useful.
Maybe, but surely the better answer is for devs to do better.
And once you start picking apart any of those examples, you'll find out that random trolls may post some stupid and false stuff, but a coordinated disinformation campaign usually has either governmental or quasi-governmental entity behind it. You don't like Russians? Take covid origins. We had a campaign of suppressing the idea that Wuhan virology labs had anything to do with it. Who did that? Random trolls? No, it was (part of) scientific establishment and governmental entities. Why did they do it? Because they had in their interests that that theory was not being explored, and they had the resources to suppress dissent. Fortunately, this time they (mostly) failed, but it is the same set of entities that demands control over the information now, and if that control is given to them, next time they decide to do the same, they will succeed.

The big problem is not that Russian propaganda exists. The problem is that hiding behind the need to "rescue" citizens from Russian propaganda, other governments want to institute an information control regime that is very similar to what Russia has. If that happens in Russia, I feel their pain, but fortunately in my country I can still speak freely. But if this goes away and I also don't have freedom of speech, then it's not Russia that is doing that to me, it's my own government. And that's what I should be afraid of - not that Russian propaganda will take my freedoms, but that my on government, hiding behind the fact that Russian propaganda exists, will take away my rights - "for my own good", of course.
It definitely seems like Tesla is slowly seeping into the world of other car manufactures in an ongoing manner. And I don't think they/we have given much thought to what's yet to come. Batteries, auto-pilot, training/inference, manufacturing/robotics, and so on...

Do any of really think, especially given the track record, that most of the auto-industry is going to be able to do any of this alone? I imagine that eventually it will come down to a choice between partnering with a bunch of disparate tech/manufacturing companies or Tesla.

We all know there is disruption to come in general, but it's going to hit the incumbent auto-manufacturers like a brick if they don't wake up soon.
> but better for the people who would live in them

Assuming this is about https://en.wikipedia.org/wiki/Munger_Hall , that is incredibly debatable.
Why would 20 cars be constantly on the road? The cars would sit in parking lots, ready for a call. The actual road traffic, will not change. 1000 people going to work is 1000 people going to work irrespective whether they own the car.

The biggest change would be the lack of a need for parking. This will allow us to build more densely.
Read/discussed "As We May Think" in a grad school HCI class - highly recommend it to anyone interested in the history of computing.

It is available behind a paywall on The Atlantic website, but you can see the original magazine layout here (which is even cooler IMO) - https://archive.org/details/as-we-may-think
>But more importantly, this needs to be as a percentage of the total infrastructure (or real estate to make it easier to compute) in the area.

>IIUC as a percentage of total real estate value the amount of damage has been going down over time, as one would expect.

You could plausibly tell a story with the absolute numbers though. For instance, if people are increasingly building and/or moving to disaster-prone places, that would still be bad, even if damage as an absolute % is lower. However, after reading the article and skimming the site it seems like the general narrative that they want to push isn't that, and is instead something along the lines of "climate change is real and is causing so much harm, look at all these disasters!". I believe in climate change and think it's causing serious problems, but I'm also against shoddy reporting, even if it's for an agenda that I support in principle.
If only I could do something to fight this... at this job I'm at right now... writing code...

Seriously though if I ever had any concrete assurance that the code I was writing wouldn't get tossed on a whim it would be a lot easier for my team lead to defend the extra time it takes to write clever minimalist efficient code. Everything I write feels like its a mockup or proof of concept first-pass but if it works then its good enough and everyone moves on.

Software is weird.
I have been a fairly devoted user of Gtk in my Python programs for about 20 years. Back then, it was a clean, simple, functional toolkit that just worked.

Dear ImGUI cleans Gtk's clock in the "clean", "simple", "functional", and "just works" categories these days, and I am currently porting my biggest side project from Gtk to Imgui.

If you are trying to "integrate with the (GNOME) desktop", I'm sure you should still use Gtk, but for most purposes I don't see the point. It seems from the outside like there are few core Gtk developers left, and they are basically in life support mode for an entire desktop suite, one that is stuck between two broken display engines (Xorg and Wayland) with no way to really fix things and every desktop Linux user expecting miracles.

ImGUI is just a busy dude banging away on a single toolkit, without the baggage of millions of nontechnical users to support. As a developer, I know which one is going to be producing the good stuff.
My introduction to this UI was actually from a (unapproved) 3rd party modding framework developed for the MMORPG Final Fantasy 14.

The tool creators needed some way to provide mod developers with access to a unified UI, and hooking the game’s built-in UI was far too high effort for the reward.

I played around with it to develop a couple mods for fun and have since become a huge fan of it, and started using Dear ImGUI to add interfaces to some of my personal tools that were previously CLI-only.
Since the blog post mentioned a PR to replace linear probing with Robin Hood, I just wanted to mention that I found bidirectional linear probing to outperform Robin Hood across the board in my Java integer set benchmarks:

https://github.com/senderista/hashtable-benchmarks/blob/mast...

https://github.com/senderista/hashtable-benchmarks/wiki/64-b...
> I am somewhat serious because I am a musician.

?
> EA was created basically as government-mandated punishment against Volkswagen

I didn't know that. Do you have some documentation about that. Would be fun reading material for the holidays

> I might despise Musk, and I'm not a fan of Tesla lately, but you do really have to hand it to them: they were prescient and put in all the hard work of building out the best fast charging network, so good for them for reaping the benefits.

Same boat club.
Yes exactly. It's a performance optimisation that generally makes things faster.
The problem is that the hold is effectively indefinite in the controller's mind, and therefore not an option.

But that's not what they said on the radio.
I'm specifically ignoring aesthetics here.

Newer housing is indeed better in certain ways, but is worse in others. I suppose whether or not it's better overall depends on how much you value those different things.
I like this. Another idea maybe is to build a podcast search engine too. The descriptions are there but many times the content is built up to ensure a particular podcast running time.

One thing I am struggling is adding videos. I was trying to see if I can add Huberman's podcast videos on YT and then find specific parts on say light therapy rather than going through the whole set of videos or even the video on sleep. I get the OTP but nothing works.
> Thank you Tesla for helping bring about a better standard here!

You should probably thank the government, too. When the feds decided they were going to put billions in subsidies to a national charging network, the original regulations basically required CCS, because that was really the only cross-platform game in town - Tesla was proprietary and not open to other automakers. In a brilliant bit of chutzpah, in response Tesla renamed their charging system the "North American Charging Standard" and started coaxing other auto companies to get on board, which most other companies were OK with because Tesla has by far the best fast charging network. But it was really the government subsidies, and the threat that Tesla would be left behind if everyone else went with CCS, that sparked the opening up of NACS in the first place.
> The Norcal controller was extremely unprofessional. Their behavior is a great example of the US controller attitude™ US ATC is so infamous for.

I have no idea where you're getting this from. I've personally flown hundreds of hours in Norcal, and I find the ATC controllers there to be some of the most competent and excellent professionals I've ever interacted with in my entire life. The vast majority of pilots I know feel the same way.

> 1) You cannot maintain visual separation at night based on lights only

There are multiple position lights on an aircraft, and you can perceive depth from their apparent angular distances. I've flown visual approaches at night myself, and thousands upon thousands of airplanes do this safely every night across the US.

> say things like "this conversation is over" because your ego is bruised.

Maybe it had more to do with attending to the dozens of other jets the controller was actively responsible for at the time? Do you understand how busy these frequencies can get?

> Nevertheless, the controller could've still granted ILS without much issue, it would've caused about 5 minutes of delay for the next flight.

I guess you didn't read the big response on the YT channel? They categorically refuted this idea.

> 2) The incident history in the US related to taking visuals at night supports the idea that this should not be allowed.

No, it really doesn't. Both incidents you cite were caused by fatigue, and may well have been no different during the day. There have probably been literal millions of safe nighttime visual approaches in the last decade in the US.

Maybe you've heard bad things about circling approaches at night? That those are unsafe is a much more widely held opinion among pilots, some US airlines don't allow them. But that's very different.

> 3) The FAA advised against letting international airlines take visuals at night.

The government isn't a monolithic entity, and neither is the FAA. Assuming ATC must allow the ILS because the FAA put out this PR statement is as silly as assuming the USPS must know what address to use when the IRS demands a document from you.

> 4) METAR had SCT and BKN cloud below 1500ft

Doesn't matter if the approach was clear.

> The Norcal controller was way out of line and with what passes for SOP in the US we're gonna have our own Tenerife disaster soon enough.

rolls eyes

There are definitely some legitimate ATC incidents to pick on in the last year, but this isn't one of them. This is: https://data.ntsb.gov/carol-repgen/api/Aviation/ReportMain/G...
So, in that case, that's like a quarter of a million dollar loss (based on the article's figures) just on the housing portion of college alone. How does one ever recover from the financial hit?

Especially if we assume that the cost of housing continues to climb like it has (maybe not, but let's go with it for the sake of discussion). The person who didn't go to college and bought a home instead will be likely end up half a million dollars or more richer without lifting a finger.

I suppose you're going to college because you don't already have the basic life skills to figure that out.
Are you talking about Charlie Munger's dorm?

If so, I think your take on this is a little off:

> but better for the people who would live in them ... . You built a dorm just like this one 10 years ago that people love.

It caused UCSB's design review committee architect to resign:

> A consulting architect named Dennis McFadden subsequently announced his resignation from U.C.S.B.’s design-review committee. In a letter, which was later leaked, he wrote that “Charlie’s Vision” was “unsupportable from my perspective as an architect, a parent and a human being.”

> a “social and psychological experiment with an unknown impact on the lives and personal development of the undergraduates the university serves.” Having no natural light was a problem. So were stale air and tight spaces. McFadden noted that the structure had just two main exits and would qualify “as the eighth densest neighborhood in the world, falling just short of a portion of Dhaka, Bangladesh.”

> Dormzilla, as the building has been nicknamed by the local papers

> Moreno described poor ventilation and even poorer sleep. “Lots of talk of sunlamps and melatonin,” he said.

> “you had to submit, like, a waiver stating your need for a window.”
Aston Martin, Porsche Preview Bespoke Apple CarPlay Interfaces
From Dreamweaver to JSX: the evolution of visual dev tools for the web
HN hug of death. Here's the Wayback link.
https://web.archive.org/web/20231220091455/https://buttondow...
This is true for people who have worked on big projects or had to maintain working software over time.

However, I dare you to look at the kinds of code that "Jupyter notebook only needs to run once"-scientists write... Many of them have spent a lot of time hacking and can hack together something that runs and works on one input incredibly quickly. In a business, however, that's almost never what you want.
Which is why 5000 year old shards of pottery dug up at some site displayed in a museum are so boring. Having the full thing (even a non-original mock up) with the authentic pieces presented as an exploded view of the individual parts would be more interesting.
This is how the author starts his entire post.

I would assume if he misinterpreted Cunningham's original idea, would it then follow that the rest of the article is suspect considering the original premise is so far off from what Cunningham originally intended?