MurphyA/hacker-news huggingface dataset:
by zahlman | 2025-06-18 04:36:20+00:00
> I've learned that there's about 50 different ways to say certain words in Spanish between Arizona and Tierra del Fuego.

You may enjoy: "Oh, how hard it is to speak Spanish!" (https://www.youtube.com/watch?v=4LjDe4sLER0)

There's also a separate upload with Spanish subtitles.
by simonw | 2025-06-18 04:36:38+00:00
You appear to be making the mistake of assuming that the only valid definition for the term "workflow" is the definition used by software such as https://airflow.apache.org/

https://www.merriam-webster.com/dictionary/workflow thinks the word dates back to 1921.

There no reason Anthropic can't take that word and present their own alternative definition for it in the context of LLM tool usage, which is what they've done here.
by yjftsjthsd-h | 2025-06-18 04:37:12+00:00
> i have yet to come across an X11 application that does not run despite using wayland.

That is both the good thing and the bad thing. Application software can seamlessly work on Wayland via XWayland. Anything that needs to touch things outside its own window - notably, a11y and automation tools (which in fairness are functionally the same thing) don't have it so easy.
by aidenn0 | 2025-06-18 04:38:11+00:00
A tracker is ostensibly a content-neutral middleman. Your ISP isn't illegal (and until recently was not thought to be subject to civil penalties; now there is at least one ongoing case) either.

A lot of these websites were "come here and pirate lots of shit," often had tools to make it easier to specifically search for infringing content, and would remove torrents that were not tagged correctly. In many cases some of the people running the sites were also seeding.

That makes it hard to argue "we're just passing packets"
by WoodenChair | 2025-06-18 04:38:58+00:00
This is very similar to the project I have in Chapter 2 of my new book Computer Science from Scratch [0]. It's also Tiny BASIC without INPUT. I called it NanoBASIC. But it's an interpreter not a compiler. This tutorial is a nice starting point. The chapter is much more comprehensive, so if you want to get into the weeds, I can recommend my own chapter (of course). But it's in Python, not Go. The code is on GitHub[1]. But this tutorial is great too.

0: https://nostarch.com/computer-science-from-scratch

1: https://github.com/davecom/ComputerScienceFromScratch
by mid-kid | 2025-06-18 04:39:48+00:00
> things like multi-touch gestures are plainly broken on X11 mode in ever DE I've tried

The main reason for this is that neither major DE has implemented multi touch gestures on X11. Not that they can't be.

There's several tools you can use for things like touchpad gestures on X11 and they work well, but aren't as nice as native integration into a DE.
by ruszki | 2025-06-18 04:40:57+00:00
I’m learning German, and I quite often use this test. Google Translate fails this most of the times. This is true even between Hungarian and English. The difference with the latter one is, that I can properly choose between the options given to me, if there are, without translating it back. Especially, that that passed many times when it gave terrible translations.

So this test fails many times, and even when not, the translation is still usually not good. However, when you don’t care about nuances, it’s still fine usually. And also translation seems to be better if the text is larger. Translating a single word does almost always fail. Translating a whole article is usually fine. But even there it matters what you translate. Translating the Austrian subreddit fails quite often. Sometimes completely for whole large posts. Translating news is better.
by baobun | 2025-06-18 04:42:48+00:00
At least for Firefox, having the browser chrome set to dark (typically by having it picked up from GTK theme preferences) should make the default page background dark too. And I think userchrome.css to override default bgcolor should still work.

Of course there are individual wonky sites which will still flash but if applicable, those two things should reduce the occurrences significantly.
by MangoToupe | 2025-06-18 04:43:25+00:00
> Takes less time to put a breakpoint then to add (and later remove) temporary print statements

Temporary? Nah, you leave them in as debug or trace log statements. It's an investment. Shipping breakpoints to a teammate for a problem you solved three months ago is a tedious and time-consuming task.

Anyway, breakpoints are themselves quite tedious to interact with iterative problem solving. At least if you're familiar with the codebase.
by mappu | 2025-06-18 04:43:31+00:00
The first google result for 'autokey wayland' is someone recommending https://espanso.org/ , that looks like it has good Wayland support. And you only need look at OBS to see screen video capture is perfectly possible on Wayland.

Who is saying those are impossible use cases? I think your two apps have just not updated, that happens often with software.
by jauntywundrkind | 2025-06-18 04:43:37+00:00
Really awesome to see. Any kind of PHY type thing is awesome to see.

It's an under-told tale that open CPU's are "easy" to make, but if you actually want to actually run that chip it's everything else that makes it inordinately hard.

Probably like 99.9% of devices with USB hosts all use the same 4-5 different design families of host controllers. A huge number of sound chips are Cadence/Tensilica's HiFi 4/5 chip. Dram controllers, PCIe blocks... There's so many modular blocks used in making chips, where a pre-qualified design that already has been validated on a variety of fabs is just how everyone does it.

This is a 5 year old, barely updated project. There's no clear data on what was achieved that I can see here. But just getting a start doing chip design that interfaces with the world beyond the chip is a huge huge step forward. Building, characterizing what we get, tweaking & trying over again is what it's gonna take to make open source chips emerge & be able to stand on their own.
by musicale | 2025-06-18 04:44:47+00:00
FORTRAN (FORmula TRANslator) was another "AI" project in "automatic programming":

"Before 1954, almost all programming was done in machine language or assembly language. Programmers rightly regarded their work as a complex, creative art that required human inventiveness to produce an efficient program."

-John Backus, "The History of Fortran I, II, and III", https://dl.acm.org/doi/10.1145/800025.1198345

"The IBM Mathematical Formula Translating System or briefly, FORTRAN, will comprise a large set of programs to enable the IBM 704 to accept a concise formulation of a problem in terms of a mathematical notation and to produce automatically a high speed 704 program for the solution of the problem."

-IBM, "Specifications for the IBM Mathematical FORmula TRANslating System, FORTRAN", http://archive.computerhistory.org/resources/text/Fortran/10...
by radicality | 2025-06-18 04:50:02+00:00
Can you elaborate on “paid” ? Because I honestly still have no idea if my usage of AI Studio is used for training purposes.

I have google workspace business standard, which comes with some pro AI features. Eg, Gemini chat clearly shows “Pro”, and says something like “chats in your organization won’t be used for training”. On AI Studio it’s not clear at all. I do have some version of paid AI services through Google, but no idea if it applies to AI studio. I did create some dummy Google cloud project which allowed me to generate api key, but afaik I still haven’t authorized any billing method.
by AnthonyMouse | 2025-06-18 04:50:23+00:00
> At Google, where I worked for a few years, it was interesting to see how Google's understanding of search (publicly disclosed), and the infrastructure to host it (kept secret) kept it comfortably ahead of competitors until the design space was exhausted. At which point Google stopped moving forward and everyone else asymptotically approached their level of understanding and mastery.

This is the "markets mature and commodify over time" thing.

What companies are supposed to do in those cases are one of two things. One, keep investing the money into the market or related ones so you keep having an advantage. Or two, if there is nothing relevant and adjacent to productively invest in, return it to shareholders as dividends or share buybacks so they can invest it in some other unrelated market.

But space seems like it would be the first one big time because of the amount of stuff that still has yet to be developed. Starlink was an obvious example of something in that nature, and then it's going to be things like "put datacenters in orbit so you can use solar without worrying about clouds or nighttime" and "build robots that can do semi-autonomous work in places far enough away for both human presence and round trip latency to be an inconvenience" etc.

We'd be living in Star Trek by the time they'd run out of something more to do.
by numpad0 | 2025-06-18 04:51:01+00:00
IMO, it's still not too late and it'll never be too late to split and reorganize Unicode by languages - at least split Chinese and Japanese. LLMs seem to be having issues acquiring both Chinese and Japanese at the same time. It'll make sense for both languages.

The syntaxes aren't just different but generally backwards, and, it's just my hunch but, they sometimes sound like they are confused about which modifies word which.
by gf000 | 2025-06-18 04:51:17+00:00
But it's quite trivial to see that vaccination will heavily decrease the possibility of transmission - it's like continuously coughing up millions upon millions of viruses vs only re-transmitting a few.

And you are right that in the long term Covid will probably become just like the regular flu, as it mutates to more infectious, but less and less dangerous - but I don't see how it's relevant. At the height of the pandemic not the weakened strains were at play, and you surely know that a^n will either very quickly die out, or very quickly explode depending on the given 'a' - masks, vaccination, and staying home absolutely helped decreasing the possible reach of the disease.
by xhunmon | 2025-06-18 04:52:17+00:00
In HarmonyOS app development, page routing and multi-page management are essential capabilities. HarmonyOS NEXT recommends using the Navigation component for page navigation and stack management, combined with Tab for multi-page switching. This article provides a detailed guide on how to use Navigation and Tab components to build a complete routing structure: splash page → main page (multi-Tab) → secondary pages.

1. Define a Global Unique @Entry After creating a new ArkTS project, it is recommended to rename the default Index page to EntryView, and update related configurations in ets/entryability/EntryAbility, ets/resources/base/profile/main_pages, etc. Core code example:

@Entry @Component struct EntryView { build() { // Page content } } 2. Implementing a Global Unique Navigation HarmonyOS recommends maintaining only one global Navigation instance to manage the page stack. Implementation steps:

1. Create a Route Management Object @Provide('pageStack') pageStack: NavPathStack = new NavPathStack(); Other pages can use @Consume('pageStack') to access this object and perform page navigation:

@Consume('pageStack') pageStack: NavPathStack const navPath: NavPathInfo = new NavPathInfo('AboutMePage', undefined); this.pageStack.pushPath(navPath); 2. Define a Page Mapping Builder Use the @Builder decorator to dynamically return the corresponding page component based on the name parameter: ......
by el_benhameen | 2025-06-18 04:53:37+00:00
I have found them quite helpful in the same way. I can bounce ideas off of them or say “here’s my understanding of this; in what ways am I incorrect?”. I don’t trust them to have pinpoint accuracy on complex problems, but given the way they’re trained, I do trust them to be directionally correct. That makes getting past hangups faster and leads me to ask more, better questions of myself, which I think means I learn faster.
by eesmith | 2025-06-18 04:53:51+00:00
Are you doing one of those 'a lie requires intention, and we can't know their internal state of mind, so we can't know if something is a lie unless they tell us' things?

Do you consider misrepresentation a lie?

If there's a lawsuit which determines that Meta misrepresented something, do you consider that a lie, even if Meta says it was merely on honest mistake made in good faith?

If the European Commission "fines Facebook €110 million for providing misleading information about WhatsApp takeover" and that "contrary to Facebook's statements in the 2014 merger review process, the technical possibility of automatically matching Facebook and WhatsApp users' identities already existed in 2014, and that Facebook staff were aware of such a possibility" then that statement was not actually a lie, right, because no one at Facebook said they lied, correct?

Can you give an example of any company which has lied, but where the company officials have never agreed with that conclusion?

There is a long history in the US of companies having to pay a fine but never accepting responsibility. https://knowledge.wharton.upenn.edu/article/paying-a-fine-bu...
by WhereIsTheTruth | 2025-06-18 04:54:53+00:00
It's interesting how the narrative about Iran is changing, WhatsApp?!, i thought they were still living in the middle age under a totalitarian dictatorship and with no access to technology whatsoever /s

"Asks" instead of banning? yet the US wants to ban TikTok

Israel will be US/UK's scapegoat, they'll pretend they are the good guy while they force Israel into a war nobody wants
by ruszki | 2025-06-18 04:55:38+00:00
What you can achieve with the standard SQL is taught on universities. The whole package. I’ve never met a developer, who struggled with that. When you use ORMs you need to follow SQL’s logic anyway. People use ORMs to avoid painful data conversions. Not to avoid the logic. Data engineers, DBAs, analysts, etc excel in specific databases, not in “SQL”.
by fingerlocks | 2025-06-18 04:57:54+00:00
All these print debugging advocates are blowing my mind. Are most people unaware that both lldb and gdb have conditional pass throughout breakpoints with function hooks? In other words, you can create a breakpoint that just prints its location and doesn’t pause execution.

You can script this so all function entry/exists, or whatever, are logged without touching the code or needing to recompile. You can then bulk toggle these breakpoints, at runtime, so you only see a particular subset when things get interesting.

Modifying the code to print stuff will feel barbaric after driving around a fine tuned debugging experience.
by Taterr | 2025-06-18 05:02:42+00:00
I don't see many people mentioning what to me is the largest cause of slow internet. A weak WiFi or 5G signal caused by being behind a brick wall or far away from the router.

This is the only reason I know why some websites/apps perform poorly on a bad connection (Discord struggles simply load the text content of messages).

Another one is being at a huge event with thousands of people trying to use mobile data at the same time.

If nothing else I think these two cases are enough to motivate caring a little bit about poor connections. Honestly I find them more motivating than developing for whatever % of users have a bad connection all the time.
by Jtsummers | 2025-06-18 05:06:04+00:00
The "trick" I used in GA (not quite as hot as TX, but as humid in that part of GA) was to exercise outside year round. It was rarely so cold that winter running was a problem, and as the temperatures warm up or cool down you naturally get acclimated to the new season. It's worked here in CO as well (though due to an injury I didn't this past winter) with getting used to very cold temperatures (I wouldn't exercise outdoors on our very coldest days, but that's about 1-2 weeks out of the entire winter that I'd stick to indoor only training).
by eesmith | 2025-06-18 05:06:41+00:00
I remember watching a video some years back where the researcher thought he had developed such a test.

As I recall (it's been many years; likely over a decade since I saw it) he tested it with a woman who was believed to have tetrachromatic vision. She could reliably tell the difference.

As a control, he tested it with a man who was trained as a graphic artist.

He too could reliably tell the difference.

That result strongly implied the test did not work as expected.

Do you know anything about this previous work? I tried reading the paper but was immediately out of my depth.
by AdieuToLogic | 2025-06-18 05:09:41+00:00
> ... I disagree with two things: the assumption of incompetence on the part of geophile to not make logging conditional in some way ...

I assumed nothing of the sort. What I did was identify an anti-pattern and describe an alternative which experience has shown to be a better approach.

"Incompetence" is your word, not mine.

> ... and adding the label of "anti-pattern" to something that's evidently got so much nuance to it.

I fail to see the nuance you apparently can see.

>> the non-trivial cost implications of voluminous log output

> If log output is conditional at compile time there are no non-trivial cost implications, and even at runtime the costs are often trivial.

Cloud deployment requires transmission of log entries to one or more log aggregators in order to be known.

By definition, this involves network I/O.

Network communication is orders of magnitude slower than local I/O.

Useless logging of "function entry/exit, with param values" increases pressure on network I/O.

Unless logging is allowed to be lossy, which it never is, transmission must be completed when log buffers are near full capacity.

Provisioning production systems having excessive logging can often require more resources than those which do not excessively log.

Thus disproving:

> ... even at runtime the costs are often trivial.

When considering the implication of voluminous log output in a production environment.
by somat | 2025-06-18 05:09:42+00:00
I assume it is the same reason that women have stripey skin.

at ~ 100 cells, if the embryo has 2 X chromosomes the cell shuts one of them off, which one is random, those cells continue to multiply bringing their specific X chromosome with them.

So women have genetically distinct blotches all over their body based on which cell disabled which X chromosome.

I will have to leave this one for the scientists but I assume tetracromats got some of their cone cells from X and the rest from X`

https://www.youtube.com/watch?v=BD6h-wDj7bw (veritasium: Why Women Are Stripey)

The implication being, I don't think tetracromats have some sort of super vision, they just have what would be considered color blind if all their color cells were defective. But because only some of them are they get an interesting subtle addition to their color sense.
by adgjlsfhk1 | 2025-06-18 05:09:50+00:00
C is honestly a pretty bad language for writing modern high performance code. Between C99 and C21, there was a ~20 year gap where the language just didn't add features needed to idiomatically target lots of the new instructions added (without inline asm). Just getting good abstract machine instructions for clz/popcnt/clmul/pdep etc helps a lot for writing this kind of code.
by Izkata | 2025-06-18 05:10:13+00:00
> There likely won't be one Skynet, but rather multiple AI's, produced by various sponsors, starting out as relatively harmless autonomous agents in corporate competition with each other

This is kind of how Skynet begins in the TV series Terminator: The Sarah Connor Chronicles. It takes place after the 2nd movie in an alternate timeline from the 3rd movie (and establishes itself how that's possible without contradiction).

Specific examples I remember: A chess machine for the brain, traffic light cameras for the eyes and ears, a repurposed factory to build the terminators themselves. The series is about the Connors getting information from the future and going on the offensive to prevent Skynet from forming.
by _heimdall | 2025-06-18 05:12:58+00:00
This hasn't been my experience.

When I'm unfamiliar with a codebase, or unfamiliar with a particular corner of the code, I find myself reaching for console debugging. Its a bit of a scattershot approach, I don't know what I'm looking for so I console log variables in the vicinity.

Once I know a codebase I want to debug line by line, walking through to see where the execution deviates from what I expected. I very frequently lean on conditional breakpoints - I know I can skip breaks until a certain condition is met, at which point I need to see exactly what goes wrong.
by spaqin | 2025-06-18 05:16:54+00:00
That's a lot of words to completely disregard the fact that autofocus M adapter exists for Z and E mounts, allowing you to keep the same lenses, but with AF on digital - see Techart. Nikon Z system cooperates best thanks to a thin sensor filter stack, not too far from Leica's.

On vacay I can carry a practical 24-120 zoom and a light M-mount 35mm for portraits or lower light situations, without the pretense.
by numpad0 | 2025-06-18 05:17:29+00:00
Round tripping is definitely better than nothing, but it lets through a lot of "engrish" errors with multi-meaning words and with implied perspectives. Cape as in clothing and cape as in pointy seasides, general as in military rank vs general as in generic, etc.

e.g. "Set up database as: [read replica]" and "Database setup complete: [a replica was loaded.]" may translate into a same string in some language.
by zzo38computer | 2025-06-18 05:20:35+00:00
Popcount, clz, and ctz are provided as nonstandard functions in GCC (and clang might also support them in GNU mode, but I don't know for sure). PDEP and PEXT do not seem to be, but I think they should be (and PEXT is something that INTERCAL already had, anyways) (although PDEP and PEXP can be used with -mbmi2 on x86, but are not available for general use). The MOR and MXOR of MMIX are also something that I would want to be available as built-in functions.
by seanmcdirmid | 2025-06-18 05:22:43+00:00
If LLMs can ever produce implementation and tests opaquely, then perhaps we can instruct at the level of requirements. They will never be good enough at the beginning and we will just provide feedback over the working prototype the LLM generates and demonstrates?

I haven’t seen technology move this fast before, so I wouldn’t make any hard predictions about how long actual code written by humans survives. We don’t really need AGI at this point to have opaque coding solutions, even if the LLMs should still be better.
by closeparen | 2025-06-18 05:22:58+00:00
The network boundary gives you a factoring tool that most language module systems don't: the ability for a collection of packages to cooperate internally but expose only a small API to the rest of the codebase. The fact that it's network further disciplines the modules to exchange only data (not callbacks or behaviors) which simplifies programming, and to evolve their interfaces in backwards compatible ways, which makes it possible to "hot reload" different modules at different times without blowing up.

You could probably get most of this without the literal network hop, but I haven't seen a serious attempt.
by musicale | 2025-06-18 05:24:08+00:00
BASIC is an amazing language that computing novices (including humanities majors) could learn in an afternoon, that could be efficiently compiled or compactly interpreted, that was small enough to support dozens of interactive users on a mainframe or minicomputer, or to fit into a tiny 8-bit microcomputer – and yet was largely equivalent to FORTRAN in terms of its expressive power.

I think the closest modern equivalents might be Python (for easy onramp and scalability from microcontrollers to supercomputers) and JavaScript (for pure ubiquity in every device with a web browser.)

I wonder if there is a modern-ish (?) environment that can match Visual BASIC in terms of easy GUI app programming. Perhaps Python or Tcl with Tk (Qt seems harder) or maybe Delphi, or perhaps a modern Smalltalk.