skysight-inc/HackerNews huggingface dataset:
Replying slightly late as I didn't see this on time ...

But I don't get the argument. Perhaps we're talking about different things (or have different mental anchors in mind)?

Giving python unittest syntax as an example, how does having a test called

def test_myMethod_caseWhereZeroInputsAreGiven(): ...

provide better currency / documentation guarantees than

def test_case000135():
"""
Tests: myMethod
Date: 2024-10-23
Commit base: edb78go9
Summary: Tests case where zero inputs are given.
Details: ...
"""

As for quality criteria, I'm not necessarily claiming the naming scheme is overwhelmingly better, but except in the very limited and unrealistic scenario where you only need to write a single test per method, unwieldy test method names can cause more confusion than clarity, so I don't think index-based naming schemes complemented by documentation headers are 'worse' either. I don't think the standard good variable naming rules apply much here, because in general variable names largely rely on context to be meaningful, and should only be as minimally descriptive as required to understand their role in that context, whereas a test needs to be sufficiently descriptive to describe what is being tested AND provide the necessary context.

I don't think the bathroom analogy is good here either. I'm not arguing for sloppiness or bad code hygiene. A "better" analogy would be someone complaining about people not using the provided towels like people have always been doing, when the initial argument is that the towels in this particular room seem dirty and there's a perfectly fine airdryer "right there". Hence the answer "why does anyone think they get a pass washing their hands on a towel" just sounds bizzare to me, when the topic is appropriateness of sanitation method, not cleanliness itself.

(note: not being argumentative, I hope my tone does not come across as such; if you do bump onto this again and think I'm misinterpreting or missing some finer point entirely, I'd be interested to hear it)
How about Appendix B? https://tc39.es/ecma262/2024/multipage/additional-ecmascript...

> These features are not considered part of the core ECMAScript language. Programmers should not use or assume the existence of these features and behaviours when writing new ECMAScript code. ECMAScript implementations are discouraged from implementing these features unless the implementation is part of a web browser or is required to run the same legacy ECMAScript code that web browsers encounter.

Some of these are legacy APIs, but some of them are just plain syntax errors.
My first take is that you can represent any function like this with a sum of sinusoids as it is a periodic function and

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

applies. Note the error looks a lot like a higher frequency sinusoid and if you added in that high frequency sinusoid the error would look like a much higher frequency sinusoid. Traditionally people who did celestial mechanics and positional astronomy would expand everything in terms of sinusoids until they got good enough accuracy.
Please see the legal reason in the sibling comment.
DNS Support – DigitalOcean Documentation
The beta decay enthusiasts were busy elsewhere.
What happened is that mass produced goods became essentially free whilst scarce goods skyrocketed in price such that most people don't feel that they can afford to spend on quality items any more.

50 years ago, rent was a lower proportion of the weekly budget, food, clothing, household goods etc were higher.

Now it's basically all rent/mortgage/land cost and people expect to be able to spend 2% of their budget on clothes which obviously results in endless plastic crap. It's no different in other areas of consumer goods, see smart TVs, phones that go obsolete after two years, etc.
The assumption that many or most people using swords were skilled or had anything near formal training is probably wrong though. Most people who didn't make a living with weapons for generations probably learned to fight by wrestling and hitting each other with sticks like modern children still do, and learn the rest through practical experience.
This makes the most sense. Start a timer when the UI actually hands control to the player whose move it is, stop the timer when they've completed their move, and simply subtract that from their remaining time. The interval gets sent to the server and relayed to the other player to update their opponent's clock accurately.
I think I've lost access to the love notes I exchanged with someone recently, because they were Discord messages and not emails, and they've blocked me and I closed the DM trying not to look at it.

Sure most of it was me spiraling out of control but maybe there was some useful red flag I could have dug out of our conversations, even if it was my own.
The angle I would love to hear is that these people denying medical care are not culpable for the consequences. If I don’t order a test/surgery/whatever and the patient is harmed, I may face civil or criminal liability. But if the insurer refuses to authorize care (which, in practice, means the care doesn’t happen) and the patient suffers harm they have no recourse. The argument is that the insurance company isn’t making a medical decision - you can still get the surgery your doctor recommended, we just won’t pay for it! - although in practice their decision /does/ dictates care.

So if they are making medical decisions, why aren’t they liable for the consequences? Sometimes the “peer” denying care doesn’t even have a medical license!
Some of her platform like the race-based "forgivable loans", etc. is very far-left - even in Europe.
SaaS costs money to provide.

There will always be people who don't want to pay for your product. If you run a business, don't spend your time optimizing for the "customers" who refuse to pay you. Optimize for the ones who will pay you. That's how business works.

Customers who insist on getting your SaaS for a one time payment forever are not the customers you want.
Replace "expensive" with "this function can yield" and your argument becomes much stronger.

The peer replies here are dinging you on the vagueness of "expensive" but it's not really about that. The explicit information given by async is whether a function will yield its execution context or retain control of it.

If you're leveraging "has control of the thread" as a form of concurrency (eg the UI thread) then knowing a function is sync or async is extremely important.
> It drains battery because of VPN service solution

It doesn't really, just try it (and take actual battery duration measurements, Android misreports VPN apps battery usages)
> Earlier this year, we implemented a new licensing model for our recently introduced IDEs, RustRover and Aqua, making them free for non-commercial use. We’re now extending this model to WebStorm and Rider. If you’re using these IDEs for non-commercial purposes, such as learning, open-source project development, content creation, or hobby development, you can now do so for free.
> Everyone Got Lost in Netflix's Endless Library

Endless ? Seems to end really quick when searching for a comedy, for example.
The window management looks great but going back to mouse-driven input is a non starter for me. Anvil with vim motions would be interesting.
> To be fair, I’ve never seen socialized healthcare conflated with communism.

> I'm a republican who is also opposed to public healthcare and I understand it isn't communism

You know that guy who leads your party? Large, orange, shouty? He's conflated it with communism, repeatedly. You should perhaps consider paying more attention.
> How one engineer beat the ban on home computers in socialist Yugoslavia

The title simply isn't true. There was no ban on home computers, just a value limit for an import. And as the article shows, homegrown computers were common.

https://en.wikipedia.org/wiki/List_of_computer_systems_from_...
I would think it would work really well for that usage case. You could tune the antenna to focus on the in use bands. The automatic baselining solves a lot of this.
To me, Threes poorly straddles the middle ground between a "real game" and a "time filler". If I want a "real game" I'll play Factorio or something. When I need a break from mental work I can pull 2048. I rarely want anything in between.
You just have to play Threes for a few hours and it becomes obvious it’s a much more interesting and deep game than 2048. Of all the things that can be debated about this situation, that feels like the biggest stretch of all.
My web scripting language, https://hyperscript.org, tries to hide the difference between sync and async by resolving promises in the runtime. My theory is that this is something that web script writers should not be concerned with (this theory makes more sense when you consider hyperscript is a companion to htmx, and favors a particular approach to scripting[1].)

on click
fetch /whatever as json
put the result's data into #some-div
wait 2s
put '' into #some-div

You don't have to mark the script as sync or async, and the runtime will resolve everything for you, making everything feel like synchronous scripting.

This obviously has limitations and foot guns, but it works reasonably well for light scripting. More info here:

https://hyperscript.org/docs/#async

And the implementation of it in the runtime here:

https://github.com/bigskysoftware/_hyperscript/blob/c81b07ce...

https://github.com/bigskysoftware/_hyperscript/blob/c81b07ce...

--

[1] - https://htmx.org/essays/hypermedia-friendly-scripting/
Ask HN: What are some hard mostly unsolved software challenges currently
I came across this article about Polygon Geofencing [0] on iOS and Android which isn't built-in thus requiring a custom solution by the author's company. I was wondering if despite the proliferation of open source software there are still areas that are largely overlooked/underserved.

[0] https://transistorsoft.medium.com/polygon-geofencing-d99169a90538
Cool visualization and concept. I do wish the colors were on a ramp instead of bucketed. The reason is that it makes 100ms look much worse than 99ms, but equal to 200ms. If you click on us-east-1, for example, the latency to the data centers in Western Europe look quite different with eu-central-1 and eu-south-1 looking completely different even though the latency is only around 9ms difference and eu-north-1 and ap-south-1 look the same even though there's about a 88ms difference!

There's some comments here also wondering about the best possible latency for speed of light vs what these measurements are. The problem with this is that c isn't the propagation velocity of information through fiber, it's some velocity well under c and depends on a number of different factors, many of which are unknowable, such as repeater latency and so on. In practice, the best theoretical value is no higher than 70% of c just measuring the velocity of light in a medium as c measures light in a vacuum.
> Promise you’ll follow any editorial guidelines or processes that they like. In practice, we all know they’ll get lazy and won’t do or check anything. So this is an easy promise to make.

In other words, lie.

This is a sleazy article, filled with advice to just lie about things - revenue projections, ad content, etc.

This article confirms my biased against SEO. SEO, and advertising in general, appear to create incentives to do unethical things. Best to stay away, and to punish SEO and ads where possible.
> Whether we like to acknowledge it or not, the world has been split in two: Russia, China, Iran, North Korea... and everybody else.

Maybe you should ask the rest of the world before making such a statement.
You get an archer with extra mobility AND the ability to focus on hitting his target while someone else does the steering AND armor AND a bigger carrying capacity (more quivers of arrows, ...)

yes, I know the stories of the amazing accuracy of horseback archers (mongol, native american, ...). Just saying that the 2-man thing may be more efficient than you give it credit for.
The whole local development is still a big mess. I recently starting using

http://subdomain.localhost

to keep different projects apart during development only to realize that you can't make that work with OAuth, because you can't use http://subdomain.localhost as a Oauth callback host. But you also can't share cookies between subdomain.localhost and localhost to redirect back without losing the session.
(Americans can’t)

Otherwise yes
> ...when at best she would be center, center-left to an European eye.

You must understand something about her platform and policies, I sure don't. She hasn't said much of substance. All the bitching between the two of them is like watching my children argue.
Yes. https://github.com/rofl0r/chaos-pp
First black hole discovered with two orbiting stars
I think the incompatibilities burned a lot of the good will. I'm very fluent in Scala 2, but I will avoid Scala if I can, mostly to stay away from purely functional programmers.

> all the goodies of Rust

Does it prevent me from using a non-thread-safe object in multiple threads? Or storing a given object which is no longer valid after the call ends?

Does it have a unified error handling culture? In Scala some prefer exceptions (with or without `using CanThrow`), some prefer the `Either` (`Result`) type.

Does it have named destructuring?
Same here, I imagine also how had is for them to compete against free products paid by tech giants, they have no choice then be better and threat the users with respect.
It ultimately amounts to a dialect. It seems confusing because it is a well-supported dialect in each language, which makes you think it is first-class.

The JVM's virtual threads approach is the right way. The runtime should be able to do everything needed to deal with async, and I, the developer, can write simple blocking-style code. Currently there are still issues around pinning when using the older concurrency APIs, but I'm hopeful they can push through them.
Lots of people do want that “middle ground” game, especially people who exclusively play games on mobile rather than PC or console.
Is there any coordination to destroy the entire internet for some reason? First Matt with WordPress fiasco, now Linus with his political believes...what's next? C++ to remove STL that Alexander Stepanov created?!
Them too, yes.
In a language with algebraic effects, questions like "how should I make this `CancellationToken` available to these forty small functions?" simply go away :-)

It's ambient state, just like a `catch` block, and so you can make it ambiently available to a whole tree of function calls. The outcome is the same as passing around a context argument by hand, and it can have equally strong type-checking, but the compiler handles all of the boilerplate for you.

To answer your second question: I agree that, in a dynamic language like JavaScript, making all of these language features implicit could be too costly. I'm more optimistic about effect systems in statically-typed languages.
There is technically a “hidden” six month tourist visa if you can show you have a significant amount of money in your bank account. In practice all it does is save you an entry/exit.
The people I've talked to that have been using them say there's no setting for it and they don't hear anything like audio picked up on one side routed to the other earbud.
I love the slow pace of the video, including a few minutes presentation of all available programs. And indeed, there are programs to test dice and coin bias:

* https://youtu.be/bJiOia5PoGE?si=IEhbNJk0C0-7_2Nj&t=229

* https://youtu.be/bJiOia5PoGE?si=3Se3lYFVAAkElx0w&t=245
No code/Low code
What does Windows have to do with this?
There's also vis[0]

It is an editor that combines best parts from vim and plan9 sam[1] (multiple cursors, structural regular expressions).

0 - https://github.com/martanne/vis

1 - https://en.wikipedia.org/wiki/Sam_(text_editor)
Genuine question ...

Why doesn't the EU apply these same rules to video game consoles (Xbox/PlayStation)?

They arguably have an even more restrictive environment than iOS.
Didn’t Sinclair ZX80 also use the CPU instead of a video chip?
But the actual article is about someone trying to live in Japan, the Digital Nomad visa was just seemingly their best option.
Python Httpx Fails Under High Concurrency: Why Aiohttp Is the Better Choice?
This is not my experience. I've convinced two family members to get vaccinated on the basis of very strong evidence for protection against long COVID. Not all the 'uneducated rednecks' are as intransigent as you or the others in this thread apparently think they are.

But you do say this:

"If you want your trump-family to stop taking bleach you cannot just argument against bleach. You have to repair their trust in science, education, the government, etc."

I agree 100%, and the starting point for repairing that trust involves ostensibly apolitical scientific institutions like Nature refraining from directly and expressly engaging in partisan politics. It would be one thing if Nature promulgated a particular policy about, say, salt marsh restoration or carbon sequestration; it is something else entirely for Nature to praise Harris and bash Trump, something that prima facie has literally nothing to do with science and serves only to undercut Nature's notional objectivity with the wider public.

Surely that isn't controversial.
Theoretically this ability should remain active regardless of using a UK Apple ID, as it's tied to the device's region
OP is not getting paid in yen, so frankly it doesn’t matter. The Yen’s abysmal at the moment.
They blocked you which is a red flag.
I used to get similar vibes in Europe during the 'aughts.

I wasn't our gov't, I didn't personally invade Iraq without rational reason, I _dissented_. I didn't get angry at the rest of the world, I understood that sentiment. It wasn't fair to treat me with disgust over it, though I couldn't fault them.

We're just humans.

Of course all Russian citizens aren't "bad", but their gangster gov't is, and this is what happens.

I always thought the 'net would allow us to connect as normal people and get past the political rhetoric and just talk as fellow humans, establish some understanding and fellowship.

I was just tilting at windmills.
> “Meh—I reserve judgment", [re,] conservatives are stupider, more biased, more fearful, or in some other way psychologically inferior to liberals.

I reserve judgment there as well.

However, I would bet my last dollar that liberals and conservatives are both significantly "stupider, more biased, and more fearful" than actual progressives. In America, half the population identifies with neither tribe. We possess almost no representation in media or politics, which leads to conflations like in tfa.

The media and political scene in the US is basically 99.999% fear-based. I guess it's so pervasive that many don't see it, like fish not knowing they're wet. But once you put on these sunglasses man...
React Native: The New Architecture Is Here
Document-centric workflows were once the great promise of the future, and inspired Microsoft's OLE, Apple's "Publish and Subscribe", and then OpenDoc.

I remember reading a computing magazine in the early 1990s that promised a future where we would decompose applications and the OS would only really worry about a file, and you would bring functionality to the file.

You would in essence be able to build your own perfect word processing environment (for example), by bringing Company X's editing tools, Company Y's grammar checking and spelling tools, perhaps some embedded spreadsheet tables from Company Z if you were writing business reports, and so on.

We kind of have this a little today with browser extensions, in that we can extend functionality onto a webpage we're viewing, but our environments are still very application-centric and not workflow or content-centric at all.

This article shows an application that _might_ be interesting (and the CRDT is a mandatory requirement in today's environment), but while the OSes we use require us to do this sort of work in a windowed application, it won't quite appeal to me as having the full potential.

I often think back to that article as it made me quite excited about the future of user interfaces and how operating systems could support workflows tailored to the individual and the task they wanted to achieve. This was all in a time when we had moderately novel ideas in OSes popping up (Windows NT, OS/2 Warp, NeXT, etc.), and just before the web was starting to get popular.
I fixed it, thanks for the comment :-)
There is enough of code on the internet already for big tech to train , what is probably missing is some scoring or labeling for that code so this AIs stop suggesting outdated stuff or bad stuff.
Boston Dynamics and Toyota Research Institute Announce Partnership
There's at least one company (Mobal) that will give you a "real" (not VoIP prefix) phone number with a passport as a tourist, so that would work for DN too. The data part of their eSIM wasn't great but the voice part worked fine when I tried it.

If you need health care it would definitely be a hassle at least if you don't have a lot of spare cash--you'd have to see if the mandatory travel insurance you purchased has some sort of direct payment arrangement with selected clinics. But it shouldn't be any issue to just receive the service and pay the full cash price, again same as a tourist.

The real issue is going to be a bank account, which would primarily be needed if you tried to rent a "regular" apartment. The best workaround might be to see if the owner would take cash, up front if needed. You'd be within the "treated as nonresident" period at first anyway, so it would already be hard to get an account even with a residence card. If you don't need it for rent/utilities (ex. share house that takes online payments, hotel/airbnb, etc.) then you probably wouldn't want the hassle of opening and closing a local bank account anyway.
I really love working in neovim but this is a frustrating position that much of the community has taken. Editing multiple sites _simultaneously_ is nowhere as intuitive as with VS Code and IntelliJ/Sublime before it.

- Repeat - `.` - is ok for some bulk manipulations but in my opinion it's not as nice because it's after the fact. I like that in VSC I select all the occurrences I want to edit first and then if the selections match my expectations I go ahead.

- Visual mode only lets you work vertically in a contiguous block of text. That's not the same or as convenient as multi-cursor in VSCode where I can select the word "const" for example and ⌘-D to select more occurrences of it anywhere in the buffer, not just above/below, and bulk edit them to "let".

- Macros are often what I lean and they can do far more than multi-cursor editing could but they are far more tedious to string along and repeat when all I want is to change some text in multiple locations.

- Text replacement (sed) is also fine but not as convenient in my opinion.

Either way, neovim will be getting native multi-cursor support and I'm very excited about that because I'm not particularly fond of VS Code (in terms of perf/resource usage) but I recognise (neo)vim doesn't have a monopoly on good ideas.
An unsolved software challenge I’ve noticed being discussed on HN is the difficulty in creating a competitive alternative to Nvidia’s CUDA and the rest of its toolchain. Intel and AMD making strides, but nothing substantial so far. I understand that this is an incredibly difficult problem, especially considering the significant investment Nvidia has made over time, which can’t be matched overnight
Remove some entries due to various compliance requirements
or just go back to dimple's with handles?
> How should companies monetize products?

By charging for valuable, differentiated features.

Not by charging for undifferentiated, standardized, secure authentication.
I had an aiohttp-based server that I switched to Gunicorn because when I added an "image sorter" to my system one AI-based request that would hold the CPU for four seconds would hold up all the image loading requests in flight.