skysight-inc/HackerNews huggingface dataset:
perf on the whole system, with the whole software stack compiled with stack pointers, flamegraphs for visualisation, is an essential starting point for understanding real world performance problems.
It’s nice to see flourish get a second lease of life. The original product had genuine innovation and lot of potential and it felt like they were on to something with bringing the ability to tell data driven stories without being technical and learning D3, observable etc.

It seems like the data journalism and data viz hype has passed and to a degree was more of a passing trend.

I remember the cost being high and it felt out of touch for who the user would be and who would be advocating for its use within a company. The pricing strategy felt very out of touch with my reality (from what I remember)
How to design a platform-independent UI framework?
I've been working on a hobby project, a UI framework, much like QT, SwiftUI, UIKit, WPF and alike, in my spare time.
I haven't planned to do it professionally and it is not meant to become one, it is just for my personal experimentation.

Currently it is on a very early stage and I'm developing it under Windows, but it is meant to be multiplatform. So the backend
for rendering could be skia, vulkan, directx etc. The language I'm developing it, C++, is not much relevant for my questions.

The responsibility of handling all UI controls or widgets is mine and it abstracts from the host-native Window. Once the hierarchy of UI widgets are built and rendered, what is left, is the interaction with the user.

The problem I'm facing now is how to handle the mouse, keyboard, touch, hover, capture, focus events, how to bubble them up, and how to design
the UI widgets hierarchy to handle all of them in a clean way. The solution I came up with is not clean and that rings a bell in my mind that something
is not right.

Beside the host (or platform dependent) window, at the top I have a Window class that handle all the widgets in a parent-child way relationship
(a three) and then I have widget class for the default cases. Every other UI controls derive from the widget class.

Furthermore, there will be widgets that have visual appearance, as well as widgets that helps laying out other widgets but not necessarily do they have a visual representation. So subdividing classes, in my case in C++, is fundamental to avoid repeating code and to have a clean scalable architecture.

I gave a look at other open source projects but I couldn't find any simplified one. Chromium, for example that is used in web apps, is huge one and it would take a while before I could even find what is responsible for what. Firefox I feel is at the same level.

Are there any documentation or open source projects to have look at?

Thanks
@finalspark: This was inevitable, please don't read this as anything other than constructive criticism; I am sure you are aware of the rat cells flying F-22 sim's in unlandable weather a decade+ ago.

Can branding hide consciousness? Hopefully not, and if not, can your group please trail blaze a ethical path if it decides it encountered it? I realize this is a "use less" or "don't do that at all" scenario, and other actors are going to enslave larger brains if they can grow them.

My intuition is larger billion+^ structures are long off, but that might not be the case. It's possible a oscillating pressure vessel with the right conditions (robust input/output feedback) may negate the need for a conventional circulatory system.

[2020] https://news.ycombinator.com/item?id=22087410
> The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague.
I’ve used the Australian Consumer Law several times at this point and most times you say to the customer service rep “The Australian Consumer Law gives guarantees of acceptable durability that I do not think this product has met. How are you planning on remedying the situation?”

They’ll then generally go to speak to a supervisor.

The’ll then come back and say they’ve been instructed to help you escalate to ‘senior management’.

A day later they’ll contact you with how to get your product fixed for free.

I’ve not had a significant delay, but you’d be spewing if it was a heat wave in summer.
That's usually the only option when nobody listens.
Type 2 diabetes drug associated with 35% lower risk of dementia, study finds
AC is typically something you only need when you are inside the house so it is not like any freak situation would occur. If it happens only super occasionnally at worse you just set it the homeassistant state using the remote manually.

I guess you should hide those remote in a drawer and remove the batteries when you start using homeassistant
That's an issue with the monitor only supporting HDMI 1.4. A monitor that supports HDMI 2.0 would work with 144hz fine. I have the opposite issue where I run my 240hz monitor on HDMI 2.1 because it has more bandwidth than my RTX 4080's DisplayPort 1.4 ports.

It seems a common issue enough with that that model is specifically called out sometimes: https://forums.tomshardware.com/threads/how-to-connect-to-a-...
Yes, we use suppression files to cover expected leaks, as well as bugs in other code that is annoying to fix.

For example the OCaml suppressions here are because OCaml (as expected) doesn't free static allocations at program exit. You can also see some real bugs we found:

https://gitlab.com/nbdkit/nbdkit/-/tree/master/valgrind?ref_...
This guy will get 1 years salary as compensation after winning an unfair dismissal case, and then he will never work in rail again. He'll have to pay much of those winnings back to his legal team.

Over his life, he will almost certainly earn less.

Shouldn't have spoken out. Had he kept quiet, a crush would have happened, a few people would have been pushed off a platform and died under a train, and it would be a "tragedy" - but he'd get to keep his livelihood.
> In that context using goroutines is an overkill. Harder to implement, harder to use and slower.

I agree with this, but my assumption was very different to yours: that the tree was sufficiently large and/or the processing was sufficiently long to make the caller wait unreasonably long while walking the tree.

For scanning < 1000 files on the local filesystem, I'd probably just scan it and return a list populated by a predicate function.

For even 20 files on a network filesystem, I'd make it async.
but do "correct internal channels" exist, are accessible by the people people in raising concerns (especially potentially anonymously) and are not ignored?

because most times they aren't really usable if they even exist

and raising concerns on such channels can often get you in as much trouble as doing so publicly -- but without you concerns being pretty much guaranteed ignored
To me it seemed like they had incompatible visions (SQLite wants to work in 2050 in the contexts it's been traditionally used in, libsql wants to modernize and lean into the more recent use cases) and so a fork was the appropriate and inevitable course of action.

Given that SQLite isn't really open to contribution (one of libsql's frustrations) it doesn't really worry me that they didn't & don't have a clear code of conduct. To me, digging through the repository [ETA: the website, rather] for what amounts to a cringey Easter egg and then linking to it as if it were a serious issue is uncalled for. To be honest, I think the complaints shouldn't stayed out of their announcement entirely - they have a legitimately cool vision for what their fork could be, and the complaints were only a distraction.
It is deterministic: the local updates must be grouped into a block linking to the longest-known chain, and the block is broadcast; upon receiving a block, all nodes must locally revert operations that are no longer part of the deepest chain, and apply operations that are.

It is a bit like last-writer-wins, except it uses the block history count instead of timestamps. Clearly they lose a lot of user intents.

I feel like CRDTs are associated with intent preservation. Perhaps rule 2 ought to include that inconsistency resolution ought to not discard operations. That would also exclude LWW and the “empty string” merge as CRDTs.
Giant 'living tractors' are bringing nature back to post-industrial wastelands
Official announcement: https://www.notion.so/help/restrictions-for-customers-based-...
It seems they are doing fine-tuning and soon pre-training with their new cluster technology. They claim to be able to train Llama 3 70GB in 1 day (instead of 1 month). Impressive if true.
Obesity as a business model: the food industry's double agenda
One of my favorite features of Docusaurus is integration with TypeDoc to generate API docs for TypeScript definitions. It makes for a useful overview of all available classes, functions, etc. It's not sufficient by itself as documentation, but it covers an important aspect as reference.
What about latency? Is it on par or at least in the same league compared to direct connection?
Not an issue for most people, but gamers could disagree if it is too high.
You did have any opportunity to rewrite your sentence to use any other word than f**, one that did not require self-censoring. Yet you did not. Why?
Man. I completely understand your frustration. It's similar how music-illiterate people whine about standard music notation. The math notation in question is literally 30min intro to a set theory. There is no knowledge gate and towers to conquer. Been there and the real ultimate answer: it's a matter of spending a little time and learn stuff.
Im using Newsboat, it is pretty cool: https://newsboat.org/index.html
FocusReader works well, the free version has some ads.
The thing that jumps out to me is how well read Einstein is, some of the modern day scientists could do with a much broader education. CP Snow's two cultures argument seems more relevant now than ever.
It's really pleasing to me how the "analogue loophole" continues to work. Previously, recording music through the Line Out, or what have you. Now, using a robot to press the supplied remote. It's delightful.
Objective C drops messages rather than crashing
I can tell you why I did back then. I saw screenshots of openbox/blackbox/fluxbox and wanted that instead.
> In 2013, Peter Hendy, who was then the Commissioner of Transport for London, was accused of engaging in a nine-month extramarital affair with Rachael Grundy, a call girl who charged £140 per hour. Grundy alleged that Hendy provided her with several Oyster cards loaded with £10 as gifts

https://en.m.wikipedia.org/wiki/Peter_Hendy
The seller is revk (AJK) who came up with the Faikin - it's his github :)
Maybe, but it was already public knowledge:

> In September 2023 the government regulator, the Office of Rail and Road (ORR), had issued an improvement notice to Network Rail about overcrowding at the station, warning: “You have failed to implement, so far as reasonably practicable, effective measures to prevent risks to health and safety of passengers (and other persons at the station) during passenger surges and overcrowding events at London Euston Station.”

It's concerning to me that Hendy was the chair of Network Rail from 2015 before becoming Transport Minister, and here he is sacking someone after a comment about his former workplace. Should definitely be an investigation into his motives/incentives IMO
For short-lived programs perhaps. For things like servers that may run for months, leaks are absolutely important.

Even memory fragmentation is a problem for us. We once had a chat server that would crash every 3 months, which we tracked down to memory being fragmented by a less than optimal malloc implementation in glibc. (Since the glibc fix was in the "too hard" category, we reluctantly decided to schedule a restart every month.)
Side question: is .so another domain hack for software?
I think it would be quite accurate if you parse based on training data, think about how we brush our teeth and the relatively consistent and unique angles and accelerations.

Maybe not from brushing one tooth but brushing the whole mouth you'd get a pretty good picture I'd say. The app would justify itself if it did give you a rough map of how you brushed your teeth and suggest areas that you're missing/if it's being done incorrectly.
Honestly if any of the BSD projects were going to consider incorporating Rust you'd think it would be the one that markets itself as being security focused.
What is the risk here?
Yes we do, regularly, and unlike the other response, it's necessary as you can have leaks in C libraries even if they happen to be called from rust.
I think it's meant to counter claims like 'California Loses Nearly 10,000 Fast-Food Jobs After $20 Minimum Wage Signed Last Fall' at https://www.hoover.org/research/california-loses-nearly-1000... from the pro-business Hoover Institute, made last spring.

The numbers come from BLS series SMU06000007072259001. California, Statewide, Limited-Service Restaurants and Other Eating Places, All Employees, In Thousands, Not Seasonally Adjusted.

I don't see a BLS publication for hours or for 'anything else that matters.' Perhaps that why they weren't mentioned?
> all abstractions needed to cope conceptually with the complexity of what we are designing
My thoughts exactly, it even uses the same pipe syntax, though I do prefer `%>%`. I've been avoiding SQL for a while now as it feels so clunky next to the tidyverse
Listen to earanings call, SW runtime is $2b for 2024 double of the $1b of last year. Nvidia Enterprise AI is spreading.

People totally underestimate that and still think of Nvidia as a Semi company which only makes chips lol.
Yes I know. And IPv6 win because it's an objectively a superior standard. No politics and all committee garbage of course.
You obviously need to replace it just like you would with a bulletproof vest ;)
what would be a fair alternative to the "undesirable" choice?
There’s rarely a “right” way to whistleblow. Most of the official channels in any bureaucracy exist to both sound nice and simultaneously sweep everything under the rug
> pattern-matching on ADTs + traverse/fold + ReaderT ends up looking a lot like the visitor pattern.

...that sounds like hand-written tedium; isn't `replicate` meant to avoid that?
A pretty useless article which discovers that ObjC has dynamic dispatch (this is nothing new) and then blames problems in Facetime on dynamic dispatch without proving it. Not worth your time IMHO.
> If 'disproportionate funding' occurs, that's simply the reality of how resources are allocated

Sure, that's just a tautological statement but it's pretty thought terminating to stop there and not consider if there are some factors involved in why they were allocated that way. I know this is a political football in the US but ignoring reality is a bad idea:

https://www.polygon.com/24058266/video-game-industry-funding...

https://www.washingtonpost.com/video-games/2022/01/31/black-...
"public" via a set of documents hidden deep on an official webpage is very different to "public" as a news headline.
'FSD' is L2, not L3.
Exactly my thoughts as well.
that's very important to point out yes! it's not like apple software products are covered by copyright law after all. it's the big bad lawyers that's ruling the day here.
There are a huge number of free market types who are against IP laws and they're a big part of computing culture. Names like the FSF [0] spring to mind. A market can't expose a fraction of its potential if people are banned from competing because someone else got there first. The only reason the software world did so well was because the FSF managed that inspired hack of the copyright system known as the GPL that freed up the market, in fact.

[0] https://www.fsf.org/
What exactly does this mean? Isn't it just a case that the driver wouldn't be HDMI-certified, or are they actively prevented from distributing the driver?
I would like to see more instances of this kind of thing going on, the fallout, and so on.
Bubble Tea v1.0.0 released
Ironically: The Trolly Problem [0] except the singular person is you.

[0] https://en.m.wikipedia.org/wiki/Trolley_problem
I'd guess they just didn't think of flash wear, like Tesla did in the early model s , and they got lucky they failed outside the warranty period.
Well, the claim was wrong then. It should have been: Aggregate total hours will decrease. Or similar.

So now we have a erroneous KPI and the media - who should know better - letting their bias misreport the news?

Regardless, more workers is not enough to define success.
I bet even if your predictions are right, he'll still live a happier life knowing he has saved some lives.
Of course, but it does show that Perl did have enough value to be included---only for a while though. An alternative with a similar gain but lower cost could have been explored.
It's manufacturing capability and there is no absolute slowdown. Nvidia has been increasing data center revenue by exactly $4b for many quarters QoQ. The only difference now is that the base is higher so it looks like growth is slowing down on % view.

Nvidia is totally supply constraint as it can easily be seen. They also underguide every quarter for 2 years and beating it. But if you look closely then you can easily see the $4b QoQ growth. That is the constant there since 2022.

Blackwell will add additional supply next year. I don't think Hopper wills top shipping and I don't think demand will fall. So next year QoQ absolute growth could go up which will probably surprise to the upside.
But it is presumably the "Correct internal channels"?
The comparisons-page clearly highlights that Docusaurus is way heavier. https://starlight.astro.build/environmental-impact/#comparis...
Every of them runs on DP
Hate to be a party breaker, but I would suggest it is not really feasible.

Domain experts in vast majority are not interested in tutoring, while domain "experts" are.
> Is HDMI over USB even a thing that any real devices support?

No. A spec for HDMI Alternate Mode was written, but almost nobody (possibly nobody at all?) implemented it, and it was eventually withdrawn.

https://arstechnica.com/gadgets/2023/01/hdmi-to-usb-c-spec-a...
Glad to hear it's work without a front-end development background.
I believe if things get too heated, all the parties involved should be forced to meet in person for a weekend to talk things out. I'm sure it would solve like 90% of these stupid conflicts, because people rarely get _that_ riled up when in the same room.
Written communication, especially asynchronus ones like email or forums, are just unsuitable to capture all nuances of human behaviour. Someone is tired or hungry and makes a bad joke; next thing you know there's a witchhunt…

(I also don't think they should be allowed to cite things said 5 years ago as a reason to ban someone today. How could that still be relevant?)
Yeah, I'm kind of baffled by this. Does Memphis not have planning permission as a concept? Do they just not enforce it? Like, even beyond the permitting issue for the turbines, how did they get there in the first place?
I blocklisted *.cnn.com in my DNS resolver. If you guys know what I mean
People whose job is managing and not understanding issues does not want to deal with issues, it’s in their interest to always give the impression of everything working smoothly, that's why engineering driven companies fail the moment that managerial people takes over.
I think about this a lot. If all software cost money, would users be more willing to pay for it? If everything was a $50-$100 utility app, $300 for a professional tool, and say $1,000 professional software package like Photoshop, would we have better software? instead of having to find some weird way to fund app development, like advertising, you could just write good software and people would pay you for that directly.

I don't know that we'd not see dependencies though. It's sometimes better to pay for a good tool than home grow one, especially if that tool is outside your area of expertise and developing one would require a significant amount of resources. Eg a featureful VM hypervisor.
If they have a specialised GPT they could run it locally during temporary internet outages.
It's notable here that he didn't engage as a representative of the company, but more as an "engineering writer", probably after the newspaper reached out for comment.

But yes, not exactly a fan of people this senior sticking their nose in misconduct matters, but also, if you're employed by a company, you probably shouldn't badmouth their clients in the national papers and not be aware that's risky. It's not exactly whistleblowing.
Simple, while they are working to replace them, Nvidia is working to replace them as well. Nvidia AI Enterprise has been availble for 2 years and growth is exponentially. It's $4500 per GPU license and SaaS business for Nvidia. Last year Nvidia SW run rate was $1b, this year it's $2b according to CFO. SW revenue is 100% YoY and expect that number to rise.

If Nvidia can utilize $4500 for very 2nd GPU they ship in then next 10 years then in 10 years Nvidia will make more revenue annually with SW only than today total. And that is just the beginning and shows the power of a platform.

Do you think Apple dominates because of the great iPhone HW or iOS? Think about that and you'll understand why Nvidia will continue to grow and surprise.
Performance is identical. DisplayPort Alternate Mode (which is what most displays use) isn't transmitting video data over USB; it's agreeing to use some of the high-speed wire pairs in the cable to transmit DisplayPort data instead of USB.
C++ is an enormous sprawling mess. Thousands of pages of English written over many decades by dozens of authors trying to describe an imaginary "standard" programming language. It seems unlikely that in the short to medium term it will stop getting worse. C++ 26 probably (depending on committee decisions over the next few months) adds compile time reflection to the language and also a contracts mechanism, both of which interact with numerous existing parts of the language and further increase its overall complexity. Nothing of comparable significance is to be removed.

The "experts" choose to specialise. They learn a lot about some key topic (e.g. the algorithms library), and a few things about related topics, and maybe they know which other experts to consult with when there's overlap, and that's it.

So it's not likely that "learning C++ properly" is even possible for humans today unless you choose to define "properly" not to include a comprehensive understanding of the language but only some loose standard like "Know enough C++ to read this particular codebase".
Consider the following scenario:

1. Someone owns one of these systems which is functioning perfectly well.

2. They stumble across a link allowing them to download the controller app, and so they install it on their normal tablet, expecting to be able to control the system from their tablet

3a. It doesn't work, so they contact technical support. Technical support wastes a bunch of time before figuring out why the app isn't working, only eventually to realize what's going on.

3b. They can't get the app to work, and so slag the system on social media.

Both have costs both to the people who end up downloading it, and to the company -- costs which could be avoided by having a simple error message.
The smarter way to look at it: Diabetes increases the chances of dementia. It's diabetes that's causing an unnatural increase. Rhe drug is simply a catalyst for something closer to normal. Obesity at it's current rate, while socially normalized, is from an evolutionary standpoint abnormal.
Employees: - It's 3.6 Röntgen, but that's as high as the meter...

Management: - 3.6 Röntgen, not great not terrible.