skysight-inc/HackerNews huggingface dataset:
Some time ago I made a prediction that accessibility is the ultimate API for the UI agents, but unfortunately multimodal capabilities went the other way. But we can still change the course:

This is a great place for people to start caring about accessibility annotations. All serious UI toolkits allow you to tell the computer what's on the screen. This allows things like Windows Automation https://learn.microsoft.com/en-us/windows/win32/winauto/entr... to see a tree of controls with labels and descriptions without any vision/OCR. It can be inspected by apps like FlauiInspect https://github.com/FlaUI/FlaUInspect?tab=readme-ov-file#main... But see how the example shows a statusbar with (Text "UIA3" "")? It could've been (Text "UIA3" "Current automation interface") instead for both a good tooltip and an accessibility label.

Now we can kill two birds with one stone - actually improve the accessibility of everything and make sure custom controls adhere to the framework as well, and provide the same data to the coming automation agents. The text description will be much cheaper than a screenshot to process. Also it will help my work with manually coded app automation, so that's a win-win-win.

As a side effect, it would also solve issues with UI weirdness. Have you ever had windows open something on a screen which is not connected anymore? Or under another window? Or minimised? Screenshots won't give enough information here to progress.
Particularly Galicia (Santiago), which should really use the Portuguese timezone.

Or not: you cross the border and don't “fix” your watch, because mealtimes, etc, are all shifted an hour in the opposite direction.
I haven’t seen you disagree anywhere with OP. You said they’re wrong, then you affirmed a cornerstone of OPs argument when you said “it’s hard to be smart if you’re calorie-reduced.”

In truth, the data is weak and nonsensical and it’s used to peddle mysticism-tier shit out on unsuspecting rubes under the guise of “Science.” But that’s a separate discussion.
Summary of the Latest Federal Income Tax Data, 2024 Update
I have both that and Marcus and I can remember a week or two where they were different. Odd, right?
In western societies with high levels of obesity, health is a signal of wealth and prestige. There's no "innate bias" here, just alarm over the debasement of the value of being thin and healthy. It's a cruel posturing, nothing more.
This may be buried in the comments and you will never see it, but thank you very much Gabriele. Your game helped me in a very weird circumstance.

I was afraid of flying, specially on the takeoff and landing (and turbulence as well, ha). So I read somewhere that if I focused on something else, it would help me. So for the past years, I played 2048 during takeoff and landing, and it worked. It helped me to focus on something else, not the airplane, and I started to enjoying more my trips.

Now I don't need to do it anymore, but just for the experience I still do it when I fly. So thank you for helping me with my fear!
What am I looking in a to-do app?

- GTD, so I can keep track of Projects' tasks, and what I can work on next.

- Index

- Goals with due dates

- Projects with due dates

- Hierarchical Tasks with due dates

- Today with Time Blocking

- Timeline to visualize progress

The Today's time blocking and timeline visualization are critical, imo.

But I couldn't find an app that integrate all of that. I made a mockup of something I might build in the future: https://i.imgur.com/h0zDdOy.png
It makes your poop sit in your tummy and rot
Not a super amount of detail, but it’s subtle:

“It was very clear from King Kong to Frankenstein to Creature from the Black Lagoon that all the monsters were the most emotional. The humans were the ones that scared me,” he said.

“They were the angry villagers in Frankenstein - like the internet - these nameless faces…
Yes, absolutely. Just because it's been hidden behind decades of advances in CPU and storage technology doesn't mean it's not incredibly wasteful.
They are very competitive unless you program in a shitty language like JS. 1 is no different. And the other two are simply useless to me for any kind of development (and yes, I do fullstack, just not with Node).
Show HN: Real-time profiler for C++ [video]
Hello HN,

For a while now, I've been working on a Visual Studio extension that enables you to see code execution and variables in real-time, directly in the VS editor. A couple months ago, I implemented a prototype of a "profiler" mode which shows how much time a line takes relatively to the entire function and since then, I have released it as an update to the extension you can use.

The profiler is completely real-time, meaning that you can watch how the profile changes depending on what is going on in the application. The instrumentation is automatic and is applied to all lines in the function, which means that you will not miss samples, like you would in a call stack sampling profiler. A really big advantage is that you can also freely browse around the codebase and explore the profile deeper and deeper without ever having to start or stop profiling sessions and waiting for the data to be assembled.

Each line gets brighter as its impact becomes larger on the function, which is very similiar to the design Visual Studio uses for its performance captures. Besides the line you can view its current function percentage and also how many times the line was executed in the function call. More detailed info like the precise time measurements can be viewed by hovering over the tooltip.

The extension with the new profiler mode is available on the VS marketplace: https://marketplace.visualstudio.com/items?itemName=donadigo... (activate the mode in top VS menu -> Extensions -> D0 -> Live Profiler).

If you want to follow the project or have questions, I'm always available in the Discord server here: https://discord.gg/PY6X3NMmuN and there's more info about the project on its website: https://d-0.dev/
> Does every discussion about a FPS game need to point out it's the same concept as Doom or Quake or whatever?

Well the great differentiator between puzzle games is the idea of the playing mechanism. The great differentiator between FPS is implementation. If I make an FPS, I didn’t really steal from Doom because the idea is pretty obvious. But if I make a sliding game that’s very similar to 2048, you might say I stole the idea. It’s like with patents, subjectively the mechanism of a FPS shouldn’t be patentable to me, but three or 2048 might be.
2024 State of the API Report
I'm sorry for what I'm about to say. But I love these attacks.

I feel so slighted to see lots of developers get job by running nmp install solution/axios/left-pad. Competitively I have little advantage over them by having my package.json and requirements.txt being 1 or 2 lines long.

But with this kind of stuff I feel vindicated. There's actually advantages to not downloading gigabytes of code per day, and it's not just about understandability and modifiability.
That's true. It offsets both sunrise and sunset the same amount.
I just listened to an in-depth analysis of this last night. All of these great effects can be explained by reduced caloric intake / weight loss / better glucose control. In other words - it just means it works as intended.

So while it's an amazing drug / new class of drugs, it probably will not lower risk of Alzheimer's in metabolically healthy people.
This is the question and for people that are older the scales steadily tip towards just taking the damn drug because in 20 years they're likely to be dead anyways.
As a person that frequently uses vscode and the paid versions of the jetbrains IDEs: Aren't these just Plugins you can install from the settings(both for vscode and jetbrains IDEs)?

Do the free versions not include plugin support?
> Basically every company would probably like that

No, only the ones who suck. I don't mean this in a jokey way. If I'm UpstartISP, Inc. and I believe that my product is actually better than Comcast offers, I want people to be able to cancel services without being jerked around, waiting on hold, and hassled, so that they can sign up with me.

It's only companies that know they suck, and that their whole business is full of scams and deception, that want this. Yes, that's entire major industries, such as the "home security" lobbying group and cablecos mentioned in the article. As well as gym memberships.
You're getting downvoted here but I think there is precedent behind your statement. History is littered with weight loss drugs that had to be pulled because the shoe eventually dropped. Usually that was addiction or death which, admittedly, neither have been shown in the GLP-1's but, given the history of weight loss drugs, it's not unreasonable in my opinion to be cautious.
I get kind of annoyed when people look at the internet or social media and act like it causes all these problems. People have always been terrible [1], we just didn't have the ability to see what most people were thinking or saying.

I used to think that the internet radicalized my idiot grandmother in 2016 and made her hyper-racist and part of the psychotic wing of the conservative party, until I saw a home video where I saw her very casually use the N word [2] where I realized that she's always been a nut. The internet made her more visibly a nut but I don't think it actually changed anything about her.

[1] By any definition; there's 8 billion of us, meaning there are probably millions of people that do stuff that you think is awful, no matter what it is.

[2] In 1997, well after using such a word was considered unacceptable in most places.
I'm still waiting on my mid-year review. Managers were supposed to have them done by July 31st. The rest of my team had theirs done in early August (still late), but at least they got one.
Seems to be a lot of negativity around RN, and I can understand that if you haven't used it in a while. But these days I have nothing but great things to say about React Native when used with Expo. It's great to want custom bespoke individual native apps for each platform but as a solo dev that just isn't really practical and RN has enabled me to ship things I wouldn't have been able to otherwise. Also that hot reloading react DX is just great in general. And I really want the RN model of using the platforms native controls to win out vs rendering everything to a canvas like Flutter.

Can't wait to try out the new arch when 0.76 lands in expo.
- Significantly increased mortality risk

- Higher rates of cardiovascular disease

- Type 2 diabetes

- Sleep apnea and breathing problems

- Osteoarthritis due to excess pressure on joints

- Multiple types of cancers (colon, breast, endometrial)

- Depression and anxiety from social stigma

- Reduced mobility and quality of life

- Higher medical costs (~$1,429 more annually per person)[1]

- Decreased workplace productivity

- Shorter life expectancy (can reduce by 5-10 years)

Oh no wait, sorry, those are the effects of obesity.

[1] https://pubmed.ncbi.nlm.nih.gov/19635784/
This leads to a submission form, not a Reddit thread
For those of you wondering why on Earth such a simple function wouldn't be well-behaved, it can help to think about what you can do with the conjugate.

In particular, since sums of holomorphic functions are holomorphic, the sum f(z) = z + z* of the identity function g(z) = z and conjugate function h(z) = z* would need to be holomorphic. But z + z* cancels out the imaginary part of z and therefore maps the complex plane to the real line - and it should be obvious that a map from C to R cannot possibly preserve the properties of C in any intuitive way.

Roughly speaking, the conjugate fails to be holomorphic because it maps C to its mirror image, rather than C itself, in much the same way that reflecting a circle is different from rotating it.
> It is very helpful to give it things like:

- A list of applications that are open
- Which application has active focus
- What is focused inside the application
- Function calls to specifically navigate those applications, as many as possible

We’ve found the same thing while building the client for testdriver.ai. This info is in every request.
So long as the spectrum is open for infinity, yes.

Was listening to a Seth Godin interview where he pointed out that there was a time when you had to purchase a slice of spectrum to share your voice on the radio. Nowadays you can put your thoughts on a platform, but that platform is owned by corporations who can and will put their thumb on thoughtcrime or challenges.

I really do love your comment. Cheers.
Explain to me why rendering html in javascript in wasteful? GNOME and Edge does the exact same thing for ther shells.
I do not have ADHD. I am not sure exactly why I drink so much -- there are a number of alcoholics on both sides of my family, but I also spent many years drinking in bars in a big city, living a very social life. During COVID I became much more of a solitary drinker and over the last five or so years I have drank out of a sense of malaise. Every morning became the day I was going to take a break and every night there was an excuse to start drinking again.

The strange thing about GLP-1s effect on my desire to drink is how it manifests: I just don't care about drinking. I actually _could_ drink and be fine I think, I haven't tested it. I don't go through life with the burden of the knowledge of my own addiction. I don't have to be vigilant about triggers and self-assess my actions. I just don't drink.
The thing they are predominantly fighting is not "I don't want cable anymore". It's not likely anyone who wants to terminate the service permanently is unwilling to spend the time to cancel given the cost of sitting on it.

It's being able to trivially downgrade service packages the same way you can upgrade them. That does not involve a major cost like a technician visit.
I don't sympathize because I remember cable being both 1) long term (yearly) contracts instead of monthly and 2) if you cancel early you still have a termination fee. Those should make up for the need to come to your house to deactivate services.
> JetBrains fanboys won't understand or acknowledge that…

If a tool works for them, then it works. I don’t think that’s a lack of understanding on their part.

If the opposing view is « clearly VSCode is objectively the only choice », then I think that camp has a distinct lack of understanding that people’s needs are diverse and no 1 tool solves every problem for all people.
"onerous new regulatory obligations regarding disclosures, how those disclosures are communicated, a "separate" consent requirement, regulations of truthful company representative communications with customers, and prescriptive mandates for service cancellation, among others."

Translation: "WTF, how dare you suggest that we have to stop deceiving and ripping off our customers? We aren't prepared to do business honestly! This is an outrage!"

Note: California has this same type of law scheduled to go into effect in July. Can't wait!
http://www.bluestack.org
They don't have to buy the patent, they can issue a compulsory licence for it https://en.wikipedia.org/wiki/Compulsory_license#United_Stat...
YES (although i'm hesitant to even say anything because on some level this is tightly-guarded personal proprietary knowledge from the trenches that i hold quite dear). why aren't you spinning off like 100 prompts from one input? it works great in a LOT of situations. better than you think it does/would, no matter your estimation of its efficacy.
Thanks for the clarification. Dumb question:

How does the renderer ensure consistency in case o multiple immutable tree references?
Not sure how you can mention Nanjing without Yangzhou, Suhzou and Hangzhou. Together they basically encircle modern Shanghai.

It is documented in the Tang Dynasty that boats from Japan bound for China would sometimes land along the coast of Jiangsu then the occupants would move inland. IIRC if riverborne the first small town they would reach was Nantong, and the first major town up-river would be Yangzhou. Approaching overland, they would no doubt be escorted directly to Yangzhou. Jiangsu seems to have essentially consisted of a vast canal network and agricultural lands. Presumably the Koreans hit Shandong (dodging pirates), and the South (India) and Southeast Asians (Philippines, Sumatra, Borneo, Vietnam, Thailand, Malaysia) hit Guangdong or Guangxi. Fujian, in the middle of these landing zones, had sometimes in history a flourishing trading culture, with Quanzhou IIRC the town from which historically attested Chinese Zhenghe expeditions departed as far as Southeast Asia, India, Arabia and Africa, and global religious communities are attested.

Zhenghe was himself a sufi muslim Eunuch born inland in the Himalayas at ~2200m altitude, last bastion of the purged Mongol-era ruling family of Yunnan, descended from the pre-Mongol invasion Emir of Bokhara, Uzbekistan, and through his family thought to be fluent in Persian, which was then something of a pan-regional lingua franca.

Despite this, the modern Chinese state narrative is that everyone is flat "Chinese". Further leaning on the Central Asian cultural nexus, it is worth re-stating that Li Bai, arguably classical China's most famous poet, was actually born in Kyrgyzstan and after moving to China lived primarily in the then-remote province of Sichuan, quite peripheral to northern Chinese culture, in fact the province was contemporaneously successfully invaded by the Tibeto-Burman rival kingdom of Nanzhao, whose still visible legacy includes undeniably Hindu grottoes carved in Sanskrit.

If you want to learn history, don't look at modern textbooks.
> There's the rub. We have not been prescribing semaglutide very long, and I won't trust it until we've had enough time to suss out long term side effects.

We've been prescribing GLP-1s for almost 20 years now. Not to say they all should behave identically, but from a Bayesian inference perspective these things really do appear to be quite safe.
Thanks for the info, super useful.
I've never understood the value proposition of vscode:

"Download an editor and install a random collection of dodgy looking plugins from random authors that will get you maybe 80% of the functionality you want

Enjoy watching the plugins downloading random .exes from all over the place

Any semi-advanced functionality is hidden in a complicated command palette system and a plethora of JSON files

Groovy support? Haha! You're funny

Need to view data in other format than a list/tree view? Get fucked

Good luck!"
Libya,Yugoslavia, Yemen, Bahrain, Syria
Indeed!

You might want to consider starting a “brag document”: https://jvns.ca/blog/brag-documents/
I don't think vision is the ultimate API. It wasn't with "traditional" RPA and it won't with more advanced AI-RPA. It's inefficient. If you want something to be used by a bot, write an interface for a bot. I'd make an exception for end2end testing.
where I live, I got lucky, the gym burned down.

(I had nothing to do with it!)
Ask HN: Resources on Stats for MLEs?
Hey everyone,
I have a couple of years of experience as a machine learning engineer; recently I noticed that I have a huge gap in knowledge when it comes to statistics that I would like to fill. Some examples of what I'm looking for:

- How to sample the data to solve a given ML problem?

- What are the underlying assumptions of some ML methods with respect to my dataset, that I should verify before I use them?

- How to find out and fix problems that can occur to the model due to inappropriate usage of some methods or bad assumptions?

I'm looking for things that DO NOT focus on things like:

- Neural networks

- Convex optimization

- Calculus/Algebra

I think what would be the best is something practical and from MLE perspective. Do you have any suggestions what resources would be best for me to fill this gap?
maybe I'm unusually optimistic, but I feel struggling with a BS subscription is a fairly bipartisan and universal experience here. It's not quite like how you can sell to the affluent how they deserve more and there are leechers taking from society. The leeches are the subscription companies.
Lots of energy consumption just to create a remix of something that already exists.
Don't dismiss the most important question -- does semaglutide really have any effects outside its current intended use for diabetes and weight loss?

In other words, would a thin, metabolically healthy person benefit from taking semaglutide?

So far, all of the wonderful benefits from taking the drug seem to be explainable by reduced caloric intake / weight loss / better glucose control in overweight and/or diabetic people.
"...combine SDK A with library B, then plug in component C and connect to service D..." is "really like routine factory work"?..

What kind of "routine factory work" you've been doing?
I think the food manufacturers are culpable here, and "manufacturer" is really the best word to use. They're more like chemists cobbling together edible compounds than farmers growing things that provide nutrition.
I don't think its unreasonable for somebody to be able to demonstrate they they worked the 8 hours they said they worked. Especially when a lot of the work is just "thinking".

Have you folks never worked with somebody who literally does nothing all day?

Have you folks ever paid programmers out of your own pocket?

I know agile is unpopular these days, but I've always liked daily stand-ups so I can describe what I "thought about" all day. What problems I faced. What was challenging about the design. What I discovered in my research.

Companies do have people who just burn out, get bored, or just stop working. How are you supposed to find those people if nobody ever has anything to show?
Our Journey with Caching
https://www.drugwatch.com/legal/ozempic-lawsuit/
DE perhaps, with some effort. Not very I
You might think that these two (get skinny and lower Alzheimer's risk) are the only two benefits, but don't forget that this drug is also pretty much the end of the road for the "More People Should Be Fat!/HAES movement".

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

And good riddance I say!
So easy to invent imaginary diseases to cover for decadent lack of willpower and portray a decent life hygiene as something as heroic as firewalking or quitting crack.
Nothing is terrible for you in moderation. It is, however, objectively delicious and underrated.
The documentary "Sugar Coated" goes into the history regarding the pro-sugar/anti-fat industry lobbying aspect. The bad science was not a mistake—it was deliberate strategy. The same kind of FUD that "Big Tobacco" participated in. Most people are aware of the later but not the former.

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

https://www.youtube.com/watch?v=esjTpaohQq4
"Updated fraction of cancer attributable to lifestyle and environmental factors
in Denmark in 2018", Scientific Reports | (2022) 12:549 https://doi.org/10.1038/s41598-021-04564-2 attempts to tease out causes: 38% tobacco, alcohol 7%, obesity 9%, occupational 6%, air pollution 3%, infections (like HPV) 7%.
People in sideshows aren't in the car scene. They're people being idiots in cars. Lots of them in their parents cars. You rarely see any real enthusiast cars at these events. Just mom's stock BMW or Dad's charger. They don't want to actually go drag racing or do anything legally, they just want to look cool for Instagram.
> previously rare English words like “delve,” “meticulous,” “realm,” and “adept.”

I feel surprised that anyone would think of these as rare words; to me they seem ordinary. I wonder why the difference?
The entire point of the ADHD diagnosis, in fact, is about the inability or reduced ability to "just focus more", and the medicine's purpose is to alleviate that imbalance
Swift and Kotlin are now the de-facto languages for these two platforms for new development, and Swift UI and Compose got released and gained traction since 2018.