skysight-inc/HackerNews huggingface dataset:
... unless you want to send a body with your HTTP GET. There is tons of utility value in this! For example, let's say you want to GET some data but also provide some client request statistics along with the request -- happens all the time in the real world.

Fetch will reject your GET if it contains a body (a deliberate maintainer decision), even though it's entirely permissible by HTTP and done by many real-world AJAX APIs. Real AJAX will do what it's supposed to. (The HTTP 1.1 2014 Spec says that including a request body in a GET "might cause some implementations to reject the request." Guess which one!)

Also, advanced features like progress are completely absent from Fetch as well.

However, there are some fantastic libraries like Axios[1], SuperAgent (requires npm), and, yes, jQuery[2], that have really excellent API's (far superior to Fetch), or you could just write your own (or use an LLM) short wrapper around modern AJAX and call it a day. h/t to Claude:

const xhr = ['GET','POST','PUT','PATCH','DELETE'].reduce((x,m) => (x[m.toLowerCase()] =
(u,d,opt={}) => new Promise((r,j) => {
const q = new XMLHttpRequest();
q.open(m,u);
q.responseType = opt.responseType || '';
if(opt.headers) Object.entries(opt.headers).forEach(([k,v]) => q.setRequestHeader(k,v));
if(opt.signal) opt.signal.addEventListener('abort', () => q.abort());
q.withCredentials = opt.credentials === 'include';
q.onload = () => r({
ok: q.status >= 200 && q.status < 300,
status: q.status,
headers: new Headers(q.getAllResponseHeaders()),
text: () => Promise.resolve(q.responseText),
json: () => Promise.resolve(JSON.parse(q.responseText)),
blob: () => Promise.resolve(new Blob([q.response])),
response: q
});
q.onerror = () => j(new TypeError('Network request failed'));
q.send(d instanceof FormData ? d : JSON.stringify(d));
}), x), {});

This gives you xhr methods with a fetch-style API and you can still do all the things that fetch can't (but this won't do real streaming or cache control like Fetch, but it'll do 95% of all common use cases in a tiny bit of code.)

Each method listed above returns a Promise that resolves with the XMLHttpRequest object or rejects with the error. So you get both the Promise functionality and full access to the XHR object in the resolution.

Usage:

xhr.post('/api', { data: 123 }, {
headers: { 'Content-Type': 'application/json' },
credentials: 'include',
signal: abortController.signal
})
.then(res => res.json())
.then(data => console.log(data));

For more advanced AJAX stuff, check out the very powerful and flexible Axios library[1].

And, if you don't need AJAX but do want some of the features from jQuery (like some of the more unusual selectors) that aren't in Cash (to save bytes!), AJAX (and special effects) is excluded from jQuery Slim which brings the code down to only 69KB[3].

1. Axios https://github.com/axios/axios (41kb)

2. jQuery AJAX https://api.jquery.com/jQuery.ajax/ (87kb but includes ALL of jquery!)

3. https://code.jquery.com/jquery-3.7.1.slim.min.js
Lab-created 'protocells' provide clues to how life arose – Science – AAAS
I don’t see how those are mutually exclusive, they said sugar isn’t the only thing, not that it doesn’t have a significant effect.
SEEKING WORK

Location: Paris

Remote: Flexible

Willing to relocate: Yes

Technologies: Javascript, Python, Go, Node, React, React Native, Electron, D3, Postgres, advanced SQL, Linux, Cloud Native, Microservices, Serverless, WebRTC, Ethereum

Resume: https://gwn.wtf/mortals.html

Email: hire@gwn.wtf

---

(Contract only)

Experienced (10+ yrs) full stack product engineer. Very good at both web & mobile & desktop apps, APIs, Postgres, Linux, mentorship, and communication in general. Touch typist, VIM ninja, refactoring monster. With an academic background of philosophy.

Been developing a lot of different projects for different teams, company types (startups, scale-ups, enterprise) and industries (finance, crypto, digital marketing, automation, online education, e-commerce).

My technical specialty is building simple systems with few moving parts that contain as little accidental complexity as possible. I'm pragmatic but always chase proper implementations at the same time. I don’t easily buy the hype nor subscribe to every new shiny tool & paradigm. I focus on robust & reliable software as much as possible.

My business specialty is caring greatly about understanding your domain, business model, figuring out your product priorities and actually iterating fast. In a world where the majority of software projects fail and the majority of engineering hires disappoint, I am promising you the peace of mind of knowing that you have an actually capable engineer beside you who understands your business model, cares about your investment and is able to make good judgements.

Always looking for interesting & challenging projects and smart people.

Feel free to contact if you don't have the luxury of failure.
https://fr.wiktionary.org/wiki/d%C3%A9conner

> Ferme ton déconophone, dit Alexandre. Je veux dormir, moi.

"déconophone" (laughter emoji deleted by HN)
> the trope that they can’t invent new ideas

I didn't write anything like that. I wrote that you can grow faster by copying existing ideas that have been refined and put into practice than by reinventing them.
SoftSnap: Prototyping of Untethered Soft Robots Using Snap-Together Modules
I recommend you visit a forum called diychatroom.com for more relevant discussion
Huh. No one is forcing you to do this. You are 100% free to not give even the slightest mind to Bruno Latour—or any other philosopher’s—writing.

The point is only that it’s easy to dismiss most philosophy because it’s easy to take a common reading, interpret words in ways the author may not have intended, and make them into a contradiction or other ridiculousness—but in contrast it’s hard to do the work to understand the context in which the author is writing, what the author is responding to, and what the author actually is trying to say through those words.

It’s fine to take the easy road here, it’s just not going to teach you anything most of the time—and nor is it going to convince those who’ve done the hard part of anything.
Yeah I totally forgot to consider CPU SIMD. Brain fart. The other comment corrected me too, you’re both right. When I said 2 or 4, I was thinking of the SISD math pipe and not AVX instructions.

Yes, considering CPU SIMD, maybe comparing a CPU core to a CUDA warp makes some sense in some situations. The peak FLOPS rate is still so much higher on Nvidia though, that the comparison hardly makes sense. So yeah like I and the other commenter mentioned, it depends entirely on what comparison is being made.
EMWM looks fun. I've got a NetBSD laptop running CDE for nostalgia and it is surprisingly a joy to use. I don't think CDE has undergone the same protocol modernization and doing so would be a lot more work there.
> besides a fancy UI

Well… this…

Not everyone knows about the CalDAV protocol, let alone how to interact with it.

The extreme vast majority of calendar users probably wouldn’t care to learn either.
What distinguishes these from profanity is that the use of the words or phrases themselves are not taboo; promoting the ideas they represent may upset people, but neutral uses of the phrases do not.

As other commenters note, words like "shit" and "fuck" used to be much more taboo than they are now, while certain slurs have recently gained taboo status to the point that many people in the comments are referencing them without actually typing them in their comments.
There's an Android app called "Sleep" where you set an alarm window and put your phone on the corner of your bed, and the alarm only goes off when it detects you're a little active already and not in deep sleep (using the accelerometer to detect movement). If it doesn't detect enough activity it'll go off regardless at the end of the window.

It has a bunch of other features as well (rating how well you slept and detecting patterns to give advice, a snore detector, etc) but that alarm is the one I use it for.
It's the way you've done it: not suitable for people, but (nofollow aside) a good format for PageRank. It's kinda crass.

If you put "Technology blog" and "Real estate portfolio" (for example) before those two spammy-looking links, it'd make it less viscerally offensive.
There's lots of tricks you can do, such as preloading pages when the users hovers over the link. This makes even a "slow" page load of 400ms feel pretty much instant to a human.
But email spam has gotten so much better /s
I'll wait to take any of this seriously until AR glasses are broadly in consumers'hands. Power in particular is orders of magnitude easier to solve in that form factor.
Rigorous scientific study is more effective than luck.
At least with those specific examples, it could just as easily be startups being inexperienced and more susceptible to silly fads.
How could a search for a Collatz counterexample possibly terminate? ;)
Trump Is Betting Big on Musk's Swing-State Moonshot
The challenge to replace Calendly is to build a brand that users feel comfortable clicking. Microsoft (Microsoft Booking) and Google (https://calendar.app.google/weird-hash-value) both dropped the ball here, even though they offer scheduling features, which can compete with calendly.
https://mathpix.com/careers
There are absolutely a lucky few at even the biggest mega-corps that are seeing their work make huge impacts. But most people won't find those projects or there won't be space in them.
As a Finn, I find the English swear words both tame and lacking in variety.
Straw-manning failed, so now you insult.
> The problem is not the sugar per se, but the fact that different people respond to the same consumed items completely differently, something that is very inconvenient for those that want to treat everyone the same way

First, the fact that people react differently does not mean that it is not a public health issue. Some people can drink absurd amounts of alcohol and still be functional afterwards. It’s still not a good idea to drink more than a small dose of alcohol regularly.

Then, there are dangerous and lethal thresholds for all substances, even for seemingly-tolerant people. The fact that most symptoms take decades to develop does not help.

Add the fact that we don’t know why some people are more tolerant and we cannot predict it. Sugar is a problem, at the individual level and even more so because of the burden on society because of public health issues. I am happy to give a gold star to sugar-tolerant people who remain fit and live a long life despite eating tons of the stuff. I am very happy for you. But you are not a proof that sugar is not bad.
eh, I mean, you do you — nobody’s forcing you to sit down and read French Philosophy or anything. But this is a thread on Bruno Latour, and context, intentions, and history are useful for having a productive discussion about the guy. Some of us do find context, intentions, and history for major thinkers or philosophical movements interesting — that’s what TFA was about, after all.

Make no mistake, “intellectual garbage” does exist. I’m not saying everything is equally valid. Furthermore, life is short and you don’t have to engage deeply with everything if it’s not your cup of tea. But if you do want to engage in a debate about a major thinker with long career and a serious body of work (which by the way is not comparable to engaging with a random short HN post), then people are more likely to listen to you if you make an effort to understand them.
Here's a quote from the abstract of the paper:

> Using an event study design with UK Biobank data comparing adults conceived just before or after rationing ended, we found that early-life rationing reduced diabetes and hypertension risk by about 35% and 20%, respectively, and delayed disease onset by 4 and 2 years. Protection was evident with in-utero exposure and increased with postnatal sugar restriction, especially after six months when solid foods likely began.

Which part of the title isn't supported by the paper?
Good point raising just how many don't speak any English. That sounds like a lot of people who could do something to produce/ contribute to a non-English language language model.
mail is not arriving
Gotcha. Thanks
The AI shouldn’t really be refusing to do things. If it doesn’t have information it should say “I don’t know anything about that”, but it shouldn’t lie to the user and claim it cannot do something it can when requested to do so.

I think you’re applying standards of human sentience to something non-human and not sentient. A gun shouldn’t try to run CV on whatever it’s pointed at to ensure you don’t shoot someone innocent. Spray paint shouldn’t be locked up because a kid might tag a building or a bum might huff it. Your mail client shouldn’t scan all outgoing for “threatening” content and refuse to send it. We hold people accountable and liable, not machines or objects.

Unless and until these systems seem to be sentient beings, we shouldn’t even consider applying those standards to them.
Fine as an exercise but for a range of use cases what you really want is the smallest alternative to the bloated reactive js frameworks and alpine.js seems to be occupying that sweet spot.
I don't really think they are. I almost only see it used on women (and gay men) in the US; it's just become more acceptable to publicly call women "cunts" lately. I think it's come from straight middle-class adoption of drag queen culture, which young people grew up with.
> you don't stand in opposition to it, instead, if appropriate you prepare a contingency

That's what I did =/
Exercise temporarily raises your heart rate and systolic blood pressure, yet avid exercisers have lower RHRs and SBPs; how do you know it isn't the same with carbohydrates, provided fat (especially saturated) is restricted?
Even Faster and More Scalable UMAP on the GPU with Rapids CuML
Readers here probably aren't hunter gatherers in Africa though. If you live sedentary lifestyle with an abundance of food you may need to take a different approach to nutrition. Sure it would be ideal if we were all hyper athletes, but the reality is that probably isn't going to happen and I am not sure it's even better holistically.
Show HN: A Terminal filesystem navigator
Hi HN.

This project is an experiment in terminal user interfaces.

It is a filesystem navigator, which could become a useful tool in its own right, or a widget that could be integrated in to a larger tool.

I wanted something that felt at home in a terminal session. So it had to use standard terminal themes. I also wanted it to be keyboard friendly and snappy - so no fancy visual effects.

I'm going to park this project for now. But I will revisit it at some point down the line when I have more idea what it should become.

I did have an idea that I could build a visual cd of sorts, which could be integrated in to a command line. So you could do something like:

cp foo.py `vcd`

Which would bring up the navigator to select a directory to be used as the destination for the copy. But I'm open to suggestions what could be built on top of this.
Not an applicant, but thanks for your app!
Fixed now, and I've added Ai Weiwei to the title caser so he should not be replaced by AI in the future. Thanks!
I normally don't care much about process, because with a good team virtually anything works.

The one time I felt the need to enforce Scrum was when I worked with a very chaotic Product Manager that wasn't able to organize any work ahead of time, so everything was an emergency and micromanagement and rushing ensued.
Choosing a .in TLD is itself a very bad decision IMHO
I would for sure do the same as you haha I like to create my small dumb apps
> Long story short, bulking up is at odds with ecology, and we ask youngsters to do both.

How so? I would think that better nutrition and more physical activity is not at odds with being environmentally conscious, quite the contrary.
Super impressive, but I can't help thinking what a waste to use all of this for... Grok?
Caching is the most important reason to consider GET for a non-hypertext API. Vary headers tell the server which header diffs should cause cache misses, but there's no way to do that for an encoded body.
libtorrent’s configuration documentation gives a glimpse into the massive hidden complexity of writing a good, performant, resilient client.
Thank you very much for your words. I can't even imagine the lack of time with 3 children, this is my first and I'm already going crazy, haha
I wonder if similar results could be had by cooking the potato in clay or a salt crust.
Government taxes are at least just a multiple. Private taxes (aka insurance) is a huge fixed sum overhead every year, regardless of how many customers someone has. This keeps new entrants out of the market, and makes small time operations to close up shop. From what I understand those rates have been skyrocketing lately, but nobody is really talking about it except out of very some narrow contexts like consumer facing house+auto insurance. I suspect frustration with this is a big part driving support for the populist reactionary movement to rip down society, despite it being set to make the problem even worse.
Given all the things that were new to the author in the article, I wouldn’t be shocked at all. There’s just a huge number of things to know, or to have come across.
Async embedded Rust vs. FreeRTOS and C showdown (2022)
Is this uniformly true? Perhaps in parts of the internet, or perhaps amongst some social groups but not others. I live in a smaller center-right city in the south and they’re not used casually, though with more liberality than our grandparents might’ve done. Or by drunks, but drunks have always been prone to cussing.

By contrast, some of what you say is too offensive seems pretty common to me. It’s not polite, but you’re much more likely to hear someone use retard or faggot than drop an f-bomb. Maybe it’s just my social circle. I do notice people from other parts of the country are more like you say.
>US sugar consumption declined from 2000-2020 to 1970s levels, while its T2D prevalence only increased

obesity did not decline

>And if sugar is so metabolically harmful, where are the RCTs showing this? All I've seen is that outside of a caloric surplus, it isn't especially metabolically harmful

https://en.wikipedia.org/wiki/Fructose#Potential_health_effe...

>Meanwhile tribes of hunter-gatherers in Africa get 15-80% of their daily calories from honey during certain seasons; why aren't they obese and diabetic?

if you are are physically active and don't overeat, you can eat whatever the fuck you want and never get obese. if you are not obese, you will (most likely) never develop T2D
It costs $400,000 to run this cluster for 12 seconds.

Ref: https://www.youtube.com/watch?v=jHgZh4GV9G0&t=28s
This seems pretty different from the functionality alpine provides, no?
Dear JACOBIN, we can't see the article through the ads

https://imgur.com/a/3YCzuLV
Cool! Can we self-host? Open source?
[edit] @wizzwizz4 Is it crass to edit your comment multiple times (with no declaration) to address a reply to your comment?

Lol. Thats how the site works. It asks you for a URL and a title for the link. It’s my page, my account, so I linked to my site when trying it out. C’mon. I’m not going to argue about it anymore. Y’all can keep downvoting me if you want to.
CASTaways in Paradise the Crazy Ant Strike Team on Johnston Atoll (2017)
That is fun indeed :) Good effect!
It sounds like a number of limitations, bugs, outages have cropped up, and the creator isn't responding.

https://news.ycombinator.com/item?id=34062802

https://news.ycombinator.com/item?id=41533958
That’s called luck.

Personally I’m a cis white male, who’s been a mostly law abiding citizen, and I’ve had dozens of poor interactions with police throughout my life. Additionally I have a probably unusual number of family and friends who work in law enforcement. The stories I’ve heard about co-workers from them are absolutely terrifying. My father’s (retired police officer) advice when I became a teenager was “only call the police when what is about to happen is worse than going to jail.”

I deeply respect the difficulty of the profession and don’t believe that all or even most police are bad people, but there are way too many who have no business being in that profession.
> You are an idiot narcissist, unable to comprehend that other people might not hold the same values as you. This defect in you, the inability to recognize that other people might want different things than you, will forever render you unable to connect with people at large.

I wonder if you see the irony?

Ultimately, my comment refers not to individual values, but truisms of the human condition, backed by decades of research by sociologists and psychologists.

> Your judgemental attitude combined with your deep conviction that everybody else is in the wrong, rather than you, guarantees that you will die a lonely misanthrope.

I wonder if the reality would disappoint you? Or if you're hoping for this outcome?

> Your abrasive, insulting communication style ensures that nobody will ever truly love you.

Again the irony is palpable. I wonder how you react to disagreements in person if this is your reaction to a well-reasoned but provocative comment that offends you.

> Also, you are, in general, a shit person.

Are you of the calibre of person to judge others?

> All of this might sound over the top and a mean attack, but it’s not. Instead, it is accurate and sympathetic.

It may in fact be accurate, if the subject is the author.
AlignEval: Building an App to Make Evals Easy, Fun, and Automated
I think this is a boringly naive take, and generally I think the author is quite a techno optimist transhumanist type and that is blinding him to some realities.

The first of those I see, which is contentious among tech people, is that AI is not intelligent at all, but I won't dwell on that, we have all had that discussion quite a number of times.

Men achieve for the admiration of women. Men don't achieve for the admiration of something that's going to show admiration whether you achieve or not. Nobody ever chronically jerked it to pornography and was inspired to achieve anything. A hooker cannot be a muse, except in that they might motivate you to have enough money to pay them again next time. In that sense, a crack rock can be a muse, and the word "muse" becomes meaningless.

You can say "we can design an AI that encourages achievement" but if social media is an indicator, it's more profitable to give people what they want emotionally while requiring little effort from them, no AI company trying to break into the AI girlfriend space is going to be financially motivated to withhold admiration, only real people with real wants, needs and expectations do that.

I'm sure there are some subset of men that want to achieve but just need their frustrations sated, and this might work for them, but that's not most men. And even then, that ignores the fact that, just like pornography or social media or fast food, it's empty calories, it fools your endocrine system into thinking you've got something of substance, it doesn't actually nourish, and we all see and feel the impact of that.
I am not enough of a Discord ninja to really provide an apples-to-apples of many of those things, but I can say with the highest confidence that Zulip addresses #1 in such a stellar way it actually pains me how much the open source community ignores using it in favor of fucking Slack or fucking Discord, where, yes, information goes to die

I also believe they address the P2P video <https://zulip.com/features/#:~:text=Voice%20and%20video> but they offload that to Jitsi rather than trying to reinvent the wheel

They don't even have to host Zulip themselves, as zulip.com offers free hosting for open source communities. Just pains me