skysight-inc/HackerNews huggingface dataset:
If you haven’t tried any sort of mindfulness/meditation program, I’d recommend one. I like Ten Percent Happier and enjoyed the app and its content (not affiliated in any way).

Being able to think about nothing is a skill/habit/muscle that needs to be learned and practiced. My mind still can churn but at least now I have the tools and some ability to tell it “not now” and quiet it some. It’s been pretty dramatic, especially in being able to fall asleep quicker.
Hot take: The optimal solution is the most obvious one for people who are more used to UNIX commands than programming languages, because the primitives in UNIX are more powerful (they give you a beautiful solution if you can make your problem fit in them; if not, the shell becomes atrocious).

Here's my reasoning for the problem: we have 2 files, one for each day, and we want to see who came both days on different pages. That's a job for join, with some sort|uniq in the middle.

- for each page, we want unique CustomerId -> PageId "mappings", but in UNIX land that's just 2 columns on the same row:

cat dayX | awk '{print $3 $2}' | sort | uniq

- now I have two lists, I join them

join day1_uniq day2_uniq

this gives me, for each customer, its id, then all its pages, on the same line. Customers who came only on one day are not in the output.

- now I want to see if there are at least 2 pages and those 2 pages are different. There's no easy UNIX way to do this because it's all on a single line, so we'll use awk to build a hashmap. We don't need to build a map of all pages, we only need to see if there are at least 2 different pages

cat both_days | awk '{for (i = 1; i < NF; i++) {pages[$i] = 1; if (length(pages) == 2) {print; next}} }'

(Note: length() is not posix but gawk)

Result: a list of all customers having visited at least 2 different pages on both days. Everything is dominated by the initial sort. I haven't ran this, it's a rough draft.
My teacher used to have 2 cats. Their names were Cat and Dog. If you can't have some silly fun in your life, what's the point? :)
A bit off-topic, but this used to be (one of) my favorite unix admin interview questions.

Given a file in linux, tell me the unique values of column 2, sorted by number of occurencies with the count.

If the candidate knew 'sort | uniq -c | sort -rn' it was a medium-strong hire signal.

For candidates that didn't know that line of arguments, I'd allow them to solve it anyway they wanted, but they couldn't skip it. The candidates who copied the data in excel, usually didn't make it far.
Rust-Written GUI Toolkit Slint with Initial Android Port, Native Windows Styles
My impression is that poker has been professionalized to a degree other forms of gambling have not.
Basically you have ADHD/ADD if your symptoms are maladaptive to the modern environment. The modern world is increasingly being able to focus and produce.
There is zero ambiguity under German as law as to who was a Chancellor and who was not. Not a matter of wikipedia etc.

The way to be Chancellor is through article 63 of the Grundgesetz, while Scheel was put into the caretaker role via article 69. This explains it a bit https://de.wikipedia.org/wiki/Vizekanzler_(Deutschland) - Scheel was only taking on the function, not the office.

This kind of giving some machine the benefit of the doubt when in fact there is zero ambiguity is really a path that makes me think we will have mostly machines designed for marketing and other non-critical things.
I was hoping they try to straddle 1000, while below 1000 they try post karma gaining comments, while above 1000 they try post karma losing comments, changing their bio depending on the mode (maybe having a bot maintain the bio)
Someone needs to build a wasm interpreter in VBA.

Then we can write programs in Go/Rust/etc and run them in office or wherever.

VBA is to corporate environments what JavaScript is to the web.
> Add to today: kids, imessages, facebook, twitter, mastodon, instagram, emails, slack, discord... How the fuck do I even survive the week?

uh, perhaps by not using all of those things? sounds like you're uber distracted
> and little things like dragging over a column of checkboxes to toggle them all

Little touches like this make the world of difference in professional tools
This so much. This is the exact reason why some countries are failing and some are not.
No, it would not allow anyone to integrate directly with iMessage. Apple would ship a competent way to send RCS messages and keep on adding more spices to iMessage.

RCS is better than text, but let’s not delude ourselves, it will likely never be better than iMessage or even WhatsApp.
What's new from the geodatabase team in ArcGIS Pro 3.2
Building a Chrome extension to make Reddit faster
WesAudio's DAW Plugin MadeWithSlint
Have you considered building this as a product and selling it? I could see this with a kickstarter or even Shark Tank!
A Diverse and Multilingual Benchmark for Cross-File Code Completion
Yes, it is an older meme, but it checks out.
I like the chaos of the Fedora networking tools because they let me charge more billable hours as I untangle what the client set up for themselves.

In all seriousness, once you learn Netplan, you get accustomed to 1 config file for all networking needs. I also prefer UFW to iptables. Simple and handles most day-to-day use cases.
What about the toolchain being used, is that some how understood to be part of the result? This seems to be often overlooked. In nix the toolchain is considered an input I believe and taken into the output derivations hash. Meaning a toolchain change results in a new package (rightfully so!)

What if you need different versions of the same package to support end applications?
It only really became a problem after about 10 years of being medicated for adhd. However taking it early as well as physical exhaustion does help.
I guess 3 instead of 2 would be a 50% increase, which could be counted as a "huge margin".
love this game. somehow i have racked up over 600 hours.

for anyone who wants to up their game, check out baalorlord on youtube.

although like, factorio and such, time will be lost.
May we know where you got your Psychology, Psychiatry or Neuroscience degree?
Show HN: My startup marketplace 5 years later
The Simpsons came out when the mainstream view of nuclear had already long been developed, with Chernobyl and 3Mile being the cherries on top. By the '90s, the anti-nuke protesters of the '70s / early '80s had grown up and got into power.
TIL using calendars and to-do lists means you have ADHD
Not sure. Those both sound very 90s to me. We do need a new term.
Show HN: Plasmic — open source visual builder for React
Hello again HN!

We’ve been working on this tool for several years now and got HN’d in the past (https://news.ycombinator.com/item?id=29563629), but we’ve just released it as an open source project.

It combines some seemingly disparate genres:

- Webflow, Wordpress and other page builders

- Retool and other tool builders

- Glide and no-code app builders

- Contentful and other CMSes

Today these are different tools to specialize in, but the line between, say, a website and an application is blurry (consider an ecommerce storefront with user logins). With the right foundations, we think these can be unified—Plasmic’s UI can adapt to different levels of control for different personas/tasks.

But more importantly, unlike existing tools, Plasmic integrates with codebases. This is critical to making low-code scale past the complexity ceiling that all such tools (including Plasmic) have. You can drag and drop existing complex React components, and you can visually create new UIs/components within traditionally-coded applications, seamlessly weaving code and no-code.

Main use cases we’ve seen:

- Content management: let marketing drag/drop your React components to build landing pages in your Next.js website, with design guardrails

- Applications: let developers and technical users quickly build internal tools, client portals, and business software

- Website builder and design tool that doesn’t limit you to some built-in ecommerce platform, CMS, or hosting

Check out some videos/demos of building:

- Twitter clone: https://youtu.be/rpdjrFuVMog (live app: https://twitter-staging.plasmic.run)

- Service desk app: https://youtu.be/rYqSpUEJSTw (live app: https://tickets.plasmic.run)

- Vercel marketing page: https://youtu.be/itvbmgLZvcM (live app: https://vercel-workflow.vercel.app)

- Shopify headless storefront: https://commerce.plasmic.run

- Apple.com: https://apple.plasmic.run

Plasmic has been in production deployment at companies big and small. But we think it can grow far beyond ourselves as an open source project. We’d love to see it taken in new unexplored directions! Community users have even started using it to build emails with React.Email and mobile screens in React Native—our permission not required.

Would love to hear what you think!
Much more likely to work for something like German chancellors, US presidents, etc. that people do actually number and could easily have been trained on that data. If you ask 'who was the 45th US president' it doesn't need to be able to count a list of US presidents to answer 'Trump', you can just duckduckgo that and get the answer anyway, that's not doing any counting either.
Great idea, where can I buy one?
At Appeal to Authority University
You might give GNU Guix a try, combination of guix time-machine and guix shell -C should give you the exact same environment each time without fear of being affected by the rest of the system (with the obvious exception of the linux kernel).

And it seems to be popular in science circles.
I'm still sticking with 16GB on my laptop so that would exceed my current RAM. That may also cut close for a 32GB machine anyway, since the OS and other programs may not let you access all your physical RAM.
> As soon as I made an effort to be happy and implement healthy coping mechanisms

What are some of the "healthy coping mechanisms"? Other than "diet and exercise" panacea nonsense?
I'm starting to notice this too. More readable than JSON in some cases, in fact. I suspect that while JSON is better for hierarchical data, well-designed XML is better for declarative portions of programs (e.g. UIs).

This was actually quite comprehensible:

<ContentPage.MenuBarItems>
<MenuFlyoutItem Text="Cut" Clicked="OnCutMenuFlyoutItemClicked">
<MenuFlyoutItem.KeyboardAccelerators>
<KeyboardAccelerator Modifiers="Ctrl" Key="X" />
</MenuFlyoutItem.KeyboardAccelerators>
</MenuFlyoutItem>
</ContentPage.MenuBarItems>
>ADHD is medicalizing a set of mental habits that many smart people form early in life partly out of boredom, and partly because they can get away with it.

Spoken like a bona fide "bro" with no professional qualifications on the matter, not familiar with the research (except perhaps cherry-picked outlier stuff to reincorce their preconceived notion), and no personal experience of the devastating effects it has on the individual on all aspects of life (the very opposite of "getting away with it": professional and academic failure, social isolation, and other such outcomes, from the kindergadern -e.g. the "weird" stimming kid everybody bullies- to the grave).

But they sure do know some people claim to have it on TikTok when they don't, so the condition surely must not exist.
Julian date with the same.
I get tired of hearing everyone claim they have ADHD. Or are sensitive to gluten. Or get sick from msg. Not realising the people who do actually suffer from these things are so few. But now it’s mainstream and cool.

https://www.ted.com/talks/sir_ken_robinson_do_schools_kill_c...
Send Messages After Death
I'm happy to introduce goodbyememo.com, a unique system for composing messages to be delivered posthumously.

How it works:

1 You write messages
2 You set one of the life checkers
3 You die > We send your messages

Actively working to raise awareness about this free project, I hope you resonate with our cause and may give us visibility. Everybody's attention and feedback will be sincerely appreciated.
> if you're consistent with it you can train your mind to seek out and crave long term goal progress and completion in the same way you can train your body.

How? I mean, one of my major symptoms is that I can't for life do either! "Training my body" doesn't feel like something natural or within range of possibility.
That's why we have universities, so that people can get legitimate claim to authority and familiarity with the subject and its nuances based on years of study and research.

Imperfect? Sure. But it sure beats the "trust me bro" university.
"curl" in PowerShell is an alias to something else. There's also "curl.exe" that comes with Windows that is actually curl.
Project looks great, but also strangely secretive - does not seem to be easy to find who is behind this project...
It’s not the same, because with “dynamic” the client code decides that it wants to use a specific object dynamically rather than statically, whereas with gradual typing it’s the object/class that decides that it now has (or hasn’t) type annotations. Aside from that, the default is reversed.
I'm saying that "control signals" and "telemetry" also aren't clearly defined, and while dedicated protocols like those used to control an RC airplane are clearly "control signals", it's not obvious if SSH-over-IP-over-wifi to poke around and debug an avionics system counts as either "control signals" or "telemetry". You could make a case that it is, but it seems much closer to the line and not obviously permitted.

> Since this case is about stationary command and control

It's not; this was the same system used while the rocket was in motion, and part of the point of using the same system was to make sure it's working before launching.

> I wonder if lower power + high gain wifi antennas at both ends would close the link

We were using high-gain antennas already, and IIRC that didn't suffice within the 100mW power limit.
S-Expressions
I mean yeah, you adjust for perishiability. The stuff you list is already preserved though is the thing ('cept mustard, though I did eventually discover that Hot English Mustard loses it's kick after 1.5 years after the jar is open).

Anything you'd normally consider to need to be refrigerated though starts from the "when did you open it" sort of consideration though - meat and vegetables both have about a 1 week timer on them in my experience (though you'll usually know by smell in advance). But "smells okay" isn't a chance I'm going to take unless I'm in a survival situation - and you need to buy groceries weekly anyway.

What helps a ton is having a cheap chest freezer though - they're much more efficient on power, and you can store a ton of stuff in there for ages and just defrost as you go.
Replit Core – The Essential Membership for Builders
He’s just trying to get us used to how important it is to account for communication latency in aerospace engineering!
That is not semantics. The law is very clear: Scheel was not a Chancellor (and indeed he is not counted as one in Germany: https://www.bundeskanzler.de/bk-en/chancellery/federal-chanc...).

Article 69 Grundgesetz has a sort of "Caretaker Chancellor" that has the function but - importantly - not the office. They way to have the office is through article 63.

It works differently in Germany to the US, for example, where the vice president could become the president, while the vice chancellor only ever gets the function, not the office (unless through a proper vote for Chancellor).

When there is actually ground truth, machines should be able to recover that, not take weird turns.
Edit: There’s a typo - I meant to name “Douglas Crockford”.
> I am surprised to find that the old spec has been revived after over 25 years

The thread at <https://www.spinics.net/lists/ietf/thrd4.html#115999> seems to be relevant. Especially <https://www.spinics.net/lists/ietf/msg116441.html>.
Your typical dashboard with organisations, users with multiple organisations, team management, permissions, payments

This was 10 years ago, there were some ready made solutions but they were expensive and we built all of it gradually (you don't get users on day one who need all the bells and whistles).
I think it was pretty indifferent in the grand scheme of things, we failed because we couldn't sell.

Nowadays the market is even bigger for these kind of solutions
Use timestamps, and also, don't hide URLs from the user.
A little off topic, but I recently realized I've been stimming for decades. I don't fidget or do any of the standard stimming techniques. What I do instead is explore the space I'm in with my eyes. Like right now, staring at a pen on my desk, after a few seconds my eyes start to explore other objects on my desk.
Considering doctors hand out Ritalin like skittles then you have to be pretty stupid to truly believe 75% of the population magically developed adhd over the last 70 years.
Seems likely to be a placebo. You have a vested interest in it working, admit its not based on any sort of science, and one of the setup steps is to overcome distraction (which is the problem that’s trying to be solved).
I used to think I had some ADHD symptoms: growing up I never did any revision for any of my school exams until a couple of days before, all my coursework and projects were done last minute in a week of intense focus, I've had issues with drugs in the past etc.

Then I met someone who actually has ADHD and saw them before they'd taken their stimulant drugs. They were completely nonfunctional in any sense of the word, they'd be trying to have five conversations with you at once and it took them about 30 minutes to put their shoes on, it looked like absolute hell.

Next to that I really don't have any issues and I don't think I'd be able to handle being prescribed psychoactive drugs.

Ever since meeting that person I've been a lot more hesitant to self-diagnose problems.
The "bureaucracy of IT" is driven by legal, compliance, and security reasons. The reason why small companies are "nimble" is they are flying by the seat of their pants and one investigation/ransomware/insider threat away from ruin.

Not saying that isn't normal (been there, done that... thanks FINRA), but that's the reason.
I would like to see an independent forecast comparison tool similar to Forecast Advisor, which evaluates numerical weather models. However, getting reliable ground truth data on a global scale can be a challenge.

Since Open-Meteo continuously downloads every weather model run, the resulting time series closely resembles assimilated gridded data. GraphCast relies on the same data to initialize each weather model run. By comparing past forecasts to future assimilated data, we can assess how much a weather model deviates from the "truth," eliminating the need for weather station data for comparison. This same principle is also applied to validate GraphCast.

Moreover, storing past weather model runs can enhance forecasts. For instance, if a weather model consistently predicts high temperatures for a specific large-scale weather pattern, a machine learning model (or a simple multilinear regression) can be trained to mitigate such biases. This improvement can be done for a single location with minimal computational effort.
Even worse, as most stay-at-home and later coming back to work mums can confirm, you basically hit a big fat red Reset button with 200 pound hammer going close to speed of sound on your professional experience. In your CV absolutely nobody cares about 5+ years old experiences neither, often its suggested to really trim/remove it. If you keep it there it looks like you have very little current experience to show and just desperately trying to increase text volume with useless fluff.

Doctors coming back after 5+ years of maternity leave (not uncommon in eastern europe when some social system have 3 years of paid maternity leave per child, some stay home even 10 years) can't do basic doctoring. Devs can't do anything sophisticated. People and people leading skills have also probably rather atrophied in those 16 hours dark lit room daily sessions.

So you are basically hiring a 40+ year old junior with potential gambling habit, possibly less flexible than younger, who may be in only for shorter term and probably has quite high salary expectations compared to juniors. That leaving part is probably most obvious. Yeah a hard pass is not unexpected.
There is at least one semiconductor test platform which uses Excel workbooks as the programming interface. Automotive chips going in to new vehicles today are being tested for functionality using Office 2003 and VBA
Took hints from, ergo "an ad hoc, informally-specified, bug-ridden, slow implementation"
Use Outlook 365 and Teams School and Work to prove MAUI, then we’ll take it more seriously.
I have to disagree, a person should be (and, at least to an extent is) guaranteed safety when dining out. Food safety regulations serve this purpose. They are probably not sufficient, admittedly, and ought to be updated to address such concerns as this paper raises, but every so often it impresses me that we have found a way for total strangers to create a thing that you voluntarily ingest without a second thought. We've accomplished an pretty astonishing modicum of safety and thereby trust in food service.
For me, it feels far more subtle. As a kid, I remember roaming my town, playing in the woods, spontaneous trips to a beach, etc.

Now, random kids roaming isn't possible without risking calls to police or child services, accessing nature areas requires arriving early to ensure parking, and getting into a beach needs a reservation made weeks in advance
Show HN: PoolMeAway, quickly reset/close your Chrome socket pools
It’s a good thing Australia takes it seriously. Every man and his dog thinks he has adhd now-a-days.
Waste is a non-problem. Just burry it in a mine (that's where it came from anyway), put warning signs around and maintain them. Furthermore current reactor designs use and reuse fuel and irradiated materials.

But it's beyond weird to worry about a problem for a hundred generations in the future when there is a civilisation ending danger straight here in our times: Climate Change. While worrying about some small group in the future stumbling upon and dying because of our buried nuclear waste - mammoth storms, pollution, raised sea level, heat waves, thirst and hunger are already killing or threatening to kill millions right now.

And, BTW, burning coal spews (slightly) radioactive smoke in the air while the resulting ash has to be kept in watered mounds (so the wind doesn't blow them) or covered with dirt because it is also - radioactive. Straight into our lungs!
> Some people mainly have symptoms of inattention.

Its actually the opposite. I found that its to do with lots of attention just not at the task at hand.
https://sci-hub.hkvisa.net/10.1016/j.mehy.2013.11.018

While it discusses multi-year treatment, the paper says "After several weeks of such treatment the pattern of behavior in ADHD patients is normalized." which feels like something that could be easily tried out. Since it was published in 2013 I'd expect some follow-up? (checking for citations now)

Edit: Sadly, "No Tryptophan, Tyrosine and Phenylalanine Abnormalities in Children with Attention-Deficit/Hyperactivity Disorder" https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4777504/ 2016, larger study. (although they measure the amounts rather than ratios, so not exactly the same idea)