skysight-inc/HackerNews huggingface dataset:
I think you'd have better responses if you said the implentation of ints in most programming languages is plain stupid.

Processors are doing a reasonable job, but there's certainly things they could do differently. Some languages have pretty specific integer types. And then you have C. Java at least makes all the integer widths consistently sized on all platforms, but neither provides good ways to express and manage overflow or carry. And the architects of Java decided that developers aren't qualified to use unsigned types, which makes a lot of tasks much harder.
Except this makes a copy of each member in set_of_members, which is probably not what you want.

https://godbolt.org/z/1YnEs1M34
I'm not sure which happy, anti-social countries you are referring to.

"It may turn out that people aren’t hanging out at bars, but at home." I understand that entertaining at home has been in decline over the last few decades, and is at or near an all time low. Putnam discusses this in Bowling Alone, and all research I've seen lines up with that.

My belief is that most people agree that the decline of community is a problem (I'll cite the Surgeon General's report, for example). I'm open to reconsidering my position if you have sources for the opposing viewpoint.
ESG Opponents Get Novel Win in American Airlines 401(k) Suit
Looks like a great app to help you out of marriage.
Lately I've been wondering if there's a way to do this to Smart TVs. Personally, I like the name "stupify" better ;)
This is absolutely it. I've never been able to control how much effort and personal investment I put into a project. If I'm working on something, I have to give it my all.

I used to get burnt out at work all the time, but that really hasn't been the case for the last 5 years. The biggest difference is that I'm I'm in charge now. When I say something is going to take X amount of time or that we have to do things in a certain way, management doesn't argue with me anymore. They just accept that is the way it is, because I'm the one in charge of this area of work.

I haven't changed. I still take too long to finish ostensibly "simple" things because I've nerd-sniped myself [0] into over-engineering things. What has changed is my relationship to the management class. They see me as one of them, now, and that confers a level of respect that is, frankly, enraging when you consider the lack of it in the obverse situation. But, I can make things my way and I can protect my team and that's enough.

[0] https://xkcd.com/356/
The proposition was PHP, Laravel, Inertia and React/Vue. Pretty sure Inertia is basically a transpiler to JS, and building the components in React will use a watcher for compilation. Not sure if it has TypeScript support.

Also, you still run artisan to view your code after you save. Same thing with Python's FastAPI: I run FastAPI's server. I just save my code just like PHP.
If you ever want this back, the solution is simple: less work hours for the same pay.
I suspect that societal health isn't a priority of capitalism though.
> at the expense of making difficult things even more difficult.

Can you elaborate on this?
This was the subject of https://arxiv.org/abs/2412.03719. (I suspect you can do simpler than the paper's solution if you're only interested in the top-k.)

A related topic is "token healing", although some implementations (unfortunately including the one in HuggingFace Transformers) make some big assumptions that aren't always true (like treating spaces as special).
Many many other top-level comments are similarly non-specific to anything in the article and more or less generic springboards. But you didn't respond to them in the same way. shrug. That DEI policies were an form of racism/sexism is not an especially novel or heterodox opinion. Opinions aren't facts and can't be substantiated. And I think agnostics and even DEI promoters can correctly infer why detractors would perceive these policies to be racist/sexist in nature without elaborating in depth.

Rayiner writes substantially the same comment: https://news.ycombinator.com/item?id=42663406
Np man. Gj.
That's the secret here that everyone knows so well you can't even really say it because it doesn't add anything, but, you can't I wouldn't think.
Notes in this release also mention https://www.84codes.com as having contributed to multi-threading support project.
Well the first thing to do would to acknowledge that the responsibility for representation in a given workforce roughly matching that of the broader population does not fall solely on the shoulders of "a company in Warsaw".

The second thing to do would be to ask why only white makes are applying, and consider what (if anything) might be done to alter that. That might involve some changes at the company, but more likely would require changes in the broader society.

The third thing to do would be to note that essentially no serious advocate of DEI goes beyond the idea that an ideal scenario is on average having work place representation roughly match the distribution in some broader social unit. If you have 0% black people in that broader social unit, nobody but people trying to ridicule DEI would suggest that you need to work towards more black people.

The criteria for what characteristics are considered by DEI efforts in a given context will vary. Gender, religion, "race", language, age ... these are others are all valid things that you might want to try to even up in workplaces to match the broader social context.
I'll agree that your second example is less readable than the first..

This could be mitigated with the name of foo() being more descriptive.

If the return type is particularly wordy, auto could still be appropriate.
There's an article that tells you that. I believe it's linked somewhere above this comment.
https://archive.is/EAHOP
> Writing it like that looks like you're pushing the blame on your downtime/outage to GitHub, like they're responsible for your application be up, instead of taking full responsibility for it.

Well, they did what they were supposed to - they explicitly asked Github what they were up to, Github gave an explicit "we're ok with this, go ahead", and once Github sees that, whoops, it's causing errors they don't even bother to check if there are support tickets open with the customer, they just go and disable their access.
Show HN: Testified Documentation
Hello HN,

I'd like to share an idea and a library that implements it.

As a fan of "Specification by Example" (as described in Gojko Adzic's renowned book), I faced numerous challenges trying to introduce these ideas at work or in hobby projects. Surprisingly, the most challenging part was writing specifications and examples in Gherkin/Cucumber syntax and producing readable living documentation out of them.

I believe that the Given... When... Then... format is not the best for user-facing documentation. Personally, I find novel-like narratives, filled with code examples, design decisions, and diagrams, much more appealing. The question was: how can we ensure that the documentation reflects the current state of the system? That is how the "Testified Documentation" was born.

What if we combine something already present and widely adopted by developers - automated tests and documentation generators? In a nutshell:

1. We start the implementation once the business/community need is clear and there is a shared understanding.
2. We briefly document the new feature and reference (so far non-existing) tests.
3. We write the tests.
4. We implement the feature.
5. We repeat steps 2-4 until the feature is fully implemented and documented.
6. We have an up-to-date document that explains how the system works.

This might also be appealing to open-source projects, which we document anyway. We can ensure that documentation is up-to-date by testifying it!

And finally: sphinx-testify is a very simple extension to the Sphinx documentation generator that enables the ideas described above.

I would appreciate your opinion, criticism, and thoughts!
I usually try to avoid the "makefile effect" by learning the technolgoy I use reasonably frequently (like e.g. Makefiles, Shell Scripts, ...).

However, despite the fact that I used to use LaTeX very much, I always copy-pasted from a template. It is even worse with beamer presentations and TikZ pictures where I would copy-paste from a previous presentation or picture rather than a template.

For TikZ I am pretty sure that the tool is inherently complex and I just haven't spent enough time to learn it properly.

For LaTeX I have certainly spent enough time on learning it so I wonder whether it might be something different.

In my opinion it could very well be a matter of “(in)sane defaults”. Good tools should come with good defaults. However, LaTeX is not a good tool wrt. this metric, because basically all my documents start something like

~~~
\documentclass[paper=a4, DIV9, 12pt, abstracton, headings=normal,
captions=tableheading]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,german,ngerman]{babel}
\usepackage[english,german]{fancyref}
% ...
\usepackage{microtype}
\usepackage{hyperref}
~~~

Most of this is to get some basic non-ASCII support that is needed for my native tongue or enable some sane defaults (A4 paper, microtype...) which in a modern tool like e.g. pandoc/markdown may not be needed...

Hence the purpose of copy-pasing the stuff around is often to get good defaults which a better tool might give you right out of the box (then without copy/paste).
Don’t worry - I’m not innocent here either - I forgot that it was George W Bush, not HW Bush!
At work it is clear. 25% growth per year or we are all out of work. What more do you need, we are all in the same boat from the CEO on down.

We used to run companies and share stock. Now private equity hands out money and goals and if the goals aren't met your company that is doing great and turning 15% per year evaporates on the next recap.
This PDF still runs with JS disabled in both of those, and in Firefox about:config...
Off-topic, but thanks for the neat trick with

url#:~:text=blah
the 'easy to use' / 'view' was very nice. if you could add the actual session logs in it would be amazing.
Yeah the game has been dropped by its authors at this point, but there are a lot of cards available (I ended up buying the entire collection of all packs and expansions for $100 on Amazon... though I never pull it all out) and the mobile app works (including multiplayer, simultaneous or not, and bots).
Recessions are consecutive quarters of negative growth.
https://en.m.wikipedia.org/wiki/Recession
Did Mexican cartels try to assassinate the VP for certifying an election? Not even the Mexican elections!
Fair enough, maybe my perceptions of .NET performance are mostly based on old versions of .NET without all the tiered compilation and other features to make JIT warmup less of an issue.

We are only just now wrapping up the conversion at work to .NET 8 from 4.8, so it will be interesting to see the performance numbers once that is complete.

Our .NET application has millions of lines of code, so JIT compilation time in particular in the old .NET could be very painful.
Love this kind of thing so much.

HTML got so popular so quickly for so many things, I feel like it might be a little unfortunate that "literarily" we didn't have time for the idea of "A book or magazine, but not linear with pages" etc to really marinate and develop on its own.
Agreed that this is one of the worse reasons to dislike it. Format strings are pretty decent, especially for casual printf debugging, even if they are crippled compared to what could have been (PEP 501) and is hardly ideal for generating arbitrary-grammar languages.
When Europe Falters, America Gains [video]
It was massive turmoil for sure, but world didn’t end (I’m referencing your earlier comment, not downplaying the devastating fall).
How would continual growth work? We will run out of everything.
NotchDrop: Use your MacBook's notch for temporary storing files and AirDrop
Spoken like someone who has not tried what you are describing. There are two moving parts to your response: a locally hosted runner awaits jobs from GitLab itself, which doesn't help running _locally_, and the other part is that -- back when it existed! -- trying $(gitlab-runner exec) was not a full fledged implementation of the GitLab CI concepts, making it the uncanny valley of "run something locally."

However, as of v16 there is no more exec https://gitlab.com/gitlab-org/gitlab/-/issues/385235 which I guess is good and bad. Good in that it not longer sets improper expectations that it could have plausibly done anything, and bad in that now it joins GitHub Actions[1] in not having any _local_ test strategy aside from "boot up gitlab/gitlab-ce && echo good luck"

1: yes, I'm acutely aware of the 3(?) implementations/forks of nektos/act that claim to do GHA but, again, readme is not software and I can tell you with the utmost certainty they do not do as advertised
And yet people smoke and eat fast food.
It is difficult for me to not just reflectively think of the spinny solar system model used in schools when the reality is an orbital plane that differs for each planet circling the gravity well drain plug of the sun and us all circling the drain of the black hole at the middle of the galaxy, itself hurling through space, and for all of this only to really mean anything in relation to other objects in specific contexts heh
DEI was a major Republican talking point. This is a thing well beyond Big Tech, like in other industries and in college admissions.
I will never understand why Weidel hates herself so much - how can you be lesbian and head of a party that opposes same-sex marriage and wants to take away your rights?

The party is internally divided but a strong portion of it openly endorses facist “heroes” - for example calling the SS “all good people”. They try to hide it and purge their extremist members but it’s not working. Höcke and Gauland are very obviously racists as are many other less prominent members of the party.

>"Germany for the Germans".
>referring to Germans of Turkish origin as "fatherless vermin" and "camel drivers", who should go back to their "mud huts" and "multiple wives".

Yea those are definitely not racist or facist statements /s

Edit: even the other far right European parties don’t want to associate with the afd, I wonder why
This is helpful, thanks for sharing that.
It’s a shame he didn’t set up a foundation to keep his computer history museum open.
First, I think mental problems discussed more than ever: Anxiety, autism, inability to focus and yes, burnout. The "only few see" simply isn't true.

Second, the article mixes in some adjacent topics, such as purchasing power. Why? I don't know, but it blows the amount of stuff the article would have to supplement way out of proportion, before even the core message (burnout) was discussed.

Third, I'm always amazed how many people think they are different. You're not. If you care for a family member (children, elderly, disabled..), commute 2400 miles and work 7 days a week, you will burn out. But it won't be a surprise to anyone but you.

What you need is sleep, friends and sports, same as any social animal inhabiting a very real, very physical body.

Fourth, I'm not sure what you want others to do. Instead of complaining about the suggestions, write down what you would have wanted.
VenezolanosPodcast: Revelando La Venezuela Que Pocos Conocen Con Rafael ARRáiz
I don't really understand how a well funded startup like this, with something that is relatively trivial, yet critical to their product, decided to just shove it into GitHub.
Pragma once is widely enough accepted that anyone who argues against its use for that purpose better either be able to tell me the compilers it doesn’t work on, or I’m going to assume they’re being pedantic for the hell of it.

And honestly, anyone who relies on the scenarios Pragma once fails in (Compiling off network shared and symlinks) should really fix those monstrous issues instead. The places Pragma once trips up in are likely to be issues for detecting modifications in incremental builds anyway.
Or when player moves. But this is also something that came to my mind. They acknowledge this in a footnote:

[3] The approach I ended up using is very similar to a Dijkstra map, a pathfinding tool from roguelike games, which I discovered as I was writing this. As far as I could tell, my approach extends a Dijkstra map to handle minimal updates as the target moves and obstacles update
Darn it, rayiner. I should know better than to debate you. I always learn a lot.
TLDR: Events like this aren't really a wildfire problem, even if they provided some initial sparks. It's an urban/developed-area problem, and we need to look at those layouts and building materials etc.
How does this compare to golden layout? Inspired by it?

I really enjoyed that project back in the day, but unfortunately support completely stopped (it had some folks take over, but I didn't see a real feasible upgrade path despite their passionate work on updating it).

This looks great! I'd be interested in giving it a try.
Same here. The word "bodies" is now bandied about with little regard for who is in the room. Everything is set in warp 11.
Wow I'm sorry to hear that, but it's also refreshing to hear from someone with a similar experience.

> just a more extreme case of the first is a complete inability to wake up.

> everything feels so exceptionally tired and heavy that I feel like I don't have the strength to move anything, even to turn my head.

I've tried to describe this feeling to others, but it's difficult. I call it my "death sleep," not to be dramatic, but because it's like waking from the deepest, most complete unconsciousness I can imagine. The heaviness in my body and chest make it feel a burden even to keep breathing; so I fall back asleep quickly.

After months of this, and visits with many specialists including a cardiologist, endocrinologist, and pulmonologist, an MSLT [1] gave the diagnosis of Idiopathic Hypersomnia [2, 3], which makes me laugh when you break it down: ("idio" = Unknown, "pathic" = Cause, "hyper" = Very, "somnia" = Sleep).

That diagnosis, while frustratingly vague, has at least allowed me to be prescribed medication that has made a big difference in my day-to-day alertness.

[1]: https://stanfordhealthcare.org/medical-conditions/sleep/narc...
[2]: https://www.mayoclinic.org/diseases-conditions/hypersomnia/s...
[3]: https://www.hypersomniafoundation.org/ih/
AI could improve the success of IVF treatment
But that's true for any 3rd party you'd depend on. Everything will work until it doesn't. Doesn't mean you're less responsible for your project being down.

A title like "GitHub caused our outage" would still make it clear the downtime wasn't the direct action of anyone on the team, yet still take responsibility over that it happened. Instead, labeling it "Incident report for the GitHub outage" just seems like straight up blaming someone else.
okay, that's helpful. the "undefined is not an object" bit is definitely a function of the "failed to create webgl2 context" error -- it tries to reference it unconditionally. no idea why it can't create the graphics context in the first place, though (and not much to do without one)
One thing that trips me up on a daily basis -I have no idea how to copy and paste. Home machine is Linux, work is Windows (where I frequently remote to Linux). Use a variety of terminal emulators (Konsole, Cmder, Putty, VSCode's, command, Powershell). There is seemingly no consistency in what works, so it is a crap shoot and I have to run down the list of options.

Can I mouse select text directly to clipboard? Shift select? Shift-CTRL-C? CTRL-V? Shift-CTRL-V? Mouse right click without modifier?
You live in such a twisted "diverse" world-view that has pitted even men and women, young and old against each other. What a rotten culture.

Don't No-True-Scotsman and pontificate me what a homogenous and non-homegenous country is, I very well now what the difference is.

I've lived it, I've seen it, I've experienced it.

It's a symptom of a sick, atomized diverse society if it can be so easily fractured by using <0.1% fringe cases as tool.
> In 2023, 74 percent of all restaurant traffic came from “off premises” customers—that is, from takeout and delivery—up from 61 percent before COVID

Sounds like people are just eating out more?

https://www.statista.com/statistics/239410/us-food-service-a...
Film Study for Research (2021)
Ask HN: Is modern politics like cancer?
Modern politics is like cancer and modern politicians are the tumors.

Similarities:

1. Resource Drain. Cancer cells siphon nutrients from healthy cells to fuel their own growth / Self-serving politicians may pull resources away from genuine societal needs to benefit themselves, their allies, or special interests.

2. Rapid, Unchecked Expansion. Malignant tumors multiply quickly, spreading throughout the body if unchecked. / When political power becomes unchecked, it can grow rapidly—through gerrymandering, lobbying, or media influence—until it dominates the political “ecosystem.”

3. Ignoring Long-Term Consequences. A tumor can destroy the very body it depends on, seemingly unaware that by destroying the host, it also destroys itself. / Politicians push policies that secure short-term gains for themselves or their party, ignoring the harm they may be doing to society in the long run.

4. Metastasis (Spreading Damage). Cancer can metastasize—spread to other organs—and the negative effects multiply. / Once a problematic political approach takes hold in one domain, it can spread to others.

5. Resistance to Treatment/Regulation. Some cancer cells develop resistance to chemotherapy or radiation, making them harder to eliminate. / Powerful politicians often become resistant to “treatments” such as checks and balances, investigations, or electoral defeat (through manipulation of democratic processes, influence over regulatory bodies, or spin in the media).

6. Immune System Overload. In a healthy body, the immune system can often detect and attack cancer cells. But once overwhelmed, the immune response is no longer effective. / In theory, a democracy’s “immune system” is a free press, fair elections, and civic engagement. But when these institutions are weakened—through disinformation, voter suppression, or cynicism—political corruption can flourish.

What do you think?

What would be the treatment?

(edit: line breaks)
Even for the non ide folks - vim emacs and vs code all have excellent support for that.
An explosion in software engineers using AI coding tools?
Not sure I'm interpreting your question correctly.
That's not in the reference (Solomonoff's 1964 paper) either.
Not putting pronouns next to my name, doesn't mean I don't want to be referred by a gendered pronoun. I'm pretty sure people can guess correctly my gender.
Many mistakes were made by Lovable that they could be berated for but on a more positive note, there is a lesson for us all: if you're doing something that you're worried about being problematic (e.g: creating a large volume of GitHub repositories) reaching out is a good thing but it is important to understand who you are reaching out to. GitHub is a huge organization, front-line support is not likely to have intimate knowledge of how exactly the acceptable usage policy is enforced nor the permission to make agreements. The key when reaching out is to find someone who has authority on the subject. Ideally, GitHub's front-line support would have escalated to the appropriate person/team but that isn't always possible (maybe they don't know who, maybe they're having a bad day and forgot). If the answer you get seems too convenient, it is probably not correct.