MurphyA/hacker-news huggingface dataset:
by westurner | 2025-05-18 00:54:58+00:00
> The magic of QuickBasic was that it was an editor, interpreter, and help system all rolled up into a single EXE file. Punch F5 and watch your BAS file execute line-by-line.

That's still how vscode works; F5 to debug and Ctrl-[Shift]-P like CtrlP.vim: https://code.visualstudio.com/docs/debugtest/debugging

FWICS,

The sorucoder.freebasic vscode extension has syntax highlighting: https://marketplace.visualstudio.com/items?itemName=sorucode...

There's also an QB64Official/vscode extension that has syntax highlighting and keyboard shortcuts: https://github.com/QB64Official/vscode

re: how qb64 and C-edit are like EDIT.COM, and GORILLA.BAS: https://news.ycombinator.com/item?id=41410427

C-edit: https://github.com/velorek1/C-edit
by msla | 2025-05-18 00:56:07+00:00
> If I declare a value type with 32-bit floats x, y and z, the in-memory representation for that struct contains exactly 12 bytes, arranged in the obvious way. Nothing more, nothing less.

C doesn't even give you this. See: "The Lost Art Of Structure Packing"

http://www.catb.org/esr/structure-packing/
by aspenmayer | 2025-05-18 00:56:16+00:00
> If LLMs end up more convincing to humans than other humans simply because humans are too prideful to make their arguments longer, that seems like the worst possible future.

People aren’t too proud to make long arguments, they just take more time and effort to make for humans, and so historically, humans subconsciously consider longer arguments as more intellectually rigorous whether they are or not, and so length of a written piece is used as a kind of lazy heuristic corresponding with quality. When we're comparing the output of humans to that of other humans, this kind of approach may work to a certain extent, but AI/LLMs seem to be better at writing long pieces of text upon demand than humans. That humans find the LLM output more convincing if it is longer is not surprising to me, but I’ll agree with you that it isn’t a good sign either. The metric has become a target.
by AnotherGoodName | 2025-05-18 00:56:39+00:00
To be clear, it's the original purpose of LLMs.

The whole LLM scene today came about because context was really important to translations. The "attention is all you need" paper was by the Google Translation team as they came up with ideas to improve how to map context of words and carry them across in translations.

At some point people started asking the translation to "translate from English to English as if you're an AI assistant".

Anyway it shouldn't surprise anyone that LLMs are good at translation. The real surprise to everyone is how powerful translation engines that understood context could be!
by fjdjshsh | 2025-05-18 00:57:40+00:00
Maybe I'm using the wrong definitions, but I think that's backwards.

Say you are receiving records from users and different intervals and you want to eventually store them in a different format on a database.

Streaming to me means you're "pushing" to the database according to some rule. For example, wait and accumulate 10 records to push. This could happen in 1 minute or in 10 hours. You know the size of the dataset (exactly 10 records). (You could also add some max time too and then you'd be combining batching with streaming)

Batching to me means you're pulling from the database. For example, you pull once every hour. In that hour, you get 0 records or 1000 records. You don't know the size and it's potentially infinite
by Braxton1980 | 2025-05-18 00:58:28+00:00
These protests were mostly against the state of Israel which isn't a violation of Title IX.I know there were specific instances of Anti-Semitism, which were wrong and should be punished, but is there evidence Harvard didn't take action for those?

-----

My concern is that Anti-Zionism is being conflated with Anti-Semitism by the complainants in order to

1. Bolster their case wrongfully by increasing the number of incidents

2. Defend the Israeli government

3. Expand Anti-Semitism to include Anti-Zionism in court decisions making future criticism of Israel dangerous

For example the complaint you linked to opens with

".. Since October 7, 2023, when Hamas terrorists invaded Israel and slaughtered, tortured, raped, burned, and mutilated 1,200 people—including infants, children, and the elderly"

Unnecessary details to the situation because if their claims against Harvard are valid the source of the anti-Semitism is irrelevant (edit: meaning anger at Israel's response to the attack)

This means it was placed at the beginning of the complaint to illicit an emotional reaction/reminder of the horrific event.

Edit: Just to add that if a person is criticizing Israel and a Jewish person feels threatened or avoids campus because of it that's not anti-Semitism.
by valunord | 2025-05-18 00:59:12+00:00
This piece cherry-picks misfires, ignores the last couple years of solid momentum, and pads its case with biased jabs while skipping repos that actually ship code in V. It lands as a “see, I told you so” hit, not a balanced review... Its takes on memory, stdlib, and maturity are half-true at best.

Not a trustworthy article.
by crtified | 2025-05-18 01:01:33+00:00
Thinking back to a failed role, many years ago - the articles first 'sanctions' list reads like a checklist of achievements for the situation that I blindly dug myself into while under the high stress of the time.

It took until quite a few years later to have a clearer perspective on it. Accordingly, with hindsight I wish I'd had the articles wisdom a couple of decades ago, as a preventative - though I partly wonder if I'd have had the brain structure to really take it in, back then.
by corysama | 2025-05-18 01:01:39+00:00
If you lay out a cubemap as a 2d texture that looks literally like https://www.turais.de/content/images/size/w1000/2021/05/Stan... it's not hard, given the VU1-based triangle processing (like proto-mesh-shaders 25 years ago), to set the UVs of triangles independently to use the correct square even in the case of dynamic reflections. This doesn't do per-pixel spherical UV normalization. But, with a dense enough mesh, a linear approximation looks good enough.

Except... The triangle UVs will often cross over between multiple squares. With the above texture, it will cross over into the white area and make the white visible on the mesh. So, you fill the white area with a duplicate of the texels from the square that is adjacent on the cube. That won't work for huge triangles that span more than 1.5 squares. But, it's good enough given an appropriate mesh.

Probably would have been better to just use a lat-long projection texture like https://www.turais.de/content/images/size/w1600/2021/05/spru... Or, maybe store the cubemap as independent squares and subdivide any triangles that cross square boundaries.
by Falell | 2025-05-18 01:01:46+00:00
This doesn't follow at all. The game received _excellent_ reviews prior to release. It's currently the second best reviewed PC game of the year on metacritic [1] (an aggregator with some problems but I don't think this is controversial).

Exactly contrary to your point, both Clair Obscur and Blue Prince (#1) got excellent reviews in the days leading up to release leading to people on e.g. Reddit saying "this game came out of nowhere and it has amazing reviews, I'm excited".

https://www.metacritic.com/browse/game/pc/all/all-time/metas...
by Maxatar | 2025-05-18 01:02:01+00:00
Nothing about my post has anything to do with assembly. You asked for, and I quote "Show me some O2 optimizations that will act contrary to code I wrote - meaning they violate the “as if” rule." and I provided just that. You can go on the link I provided, switch back and forth between O2 and O0 and see different observable behavior which violates the as-if rule.

I'm not sure why you're bringing up assembly but it suggests that you might not correctly understand the example I provided for you, which I reiterate has absolutely nothing to do with assembly.
by coldtea | 2025-05-18 01:02:13+00:00
There's nothing magical about getting to travel to the countries in this trip (I'm not the world's biggest traveller, and I've visited all of the ones in the longest trip he lists except 2 - and those two would be trivial to add too).

Paranoid much? It's not for the average Joe Tourist, but tons of people do such big trips (including friends). And I know people who did it in way more dangerous itineraries. Think Africa or Latin America.

Actually, a friend finished Canada all the way down to Tierra del Fuego Argentina 2 years ago on bike, and I'd be much more worried for some of the Central and Latin American countries he passed, than e.g. the train trip from Portugal across Europe to Singapore via China. Aside from the currently in effect sanctions against Russia, those are all trivial.

I don't even know what "There's zero people in this world that don't have to avoid certain countries" is supposed to mean. Why would they have to avoid certain countries (aside from not having the guts, or following some state "advisory")? Are they wanted or something?
by midnightclubbed | 2025-05-18 01:02:25+00:00
The RCP was actually two hardware blocks, the RDP which as you say did the fixed function (but very flexible) pixel processing and the RSP which handled command processing and vertex transformation (and audio!).

The standard api was pretty much OpenGL, generating in-memory command lists that could be sent to the RSP.

However the RSP was a completely programmable mips processor (with simd instructions in parallel).

One of my favorite tricks in the RDP hardware was it used the parity bits in the rambus memory to store coverage bits for msss
by resonious | 2025-05-18 01:02:42+00:00
Man, I tried this too but eventually went back to a laptop. Though maybe that wouldn't have been the case if I was able to use chroot. Still, for me, a laptop is quite nice for being able to just whip it out and start doing stuff immediately. With phone + glasses + external keyboard, I have to pull out several things and plug in the glasses.

But proot being slightly too slow is a real bummer. I was able to get a lot of stuff working natively on Termux, but every once in awhile you hit a wall and it's sad.
by magicalhippo | 2025-05-18 01:03:00+00:00
Only my "smart" water heater communicates over wifi. The rest use Z-wave or Zigbee. I know at least Z-wave has from the start had the ability for devices to be programmed to operate without the controller.

So if the controller falls out or you don't have one you can still have your buttons toggle lights etc. Controller or no controller, in either case it works just fine without wifi.
Show HN: We're Launching Executor – An AI Agent Digital Employee
by abdulhak | 2025-05-18 01:04:44+00:00
I’d like to introduce Executor, an AI agent that runs on your computer and performs tasks from a simple prompt. It can book flights, write reports, manage spreadsheets, do research—basically anything a person can do on a computer.

You can install the app on your own machine or use a cloud-hosted instance. Through the web interface, you can control multiple devices, schedule tasks, and manage everything from one dashboard.

Demo video: https://x.com/abhkbf/status/1923903051313611182

Join us: https://tryexecutor.consciousstage.com/hackernews

Would love to hear your thoughts and feedback!
by echelon | 2025-05-18 01:05:15+00:00
> Not sure it's wise to call it `AniSora` but I don't really know.

Given that OpenAI call themselves "Open", I think it's great and hilarious that we're reusing their names.

There was OpenSora from around this time last year:

https://github.com/hpcaitech/Open-Sora

And there are a lot of other products calling themselves "Sora" as well.

It's also interesting to note that OpenAI recently redirected sora.com, which used to be its own domain, to sora.chatgpt.com.
by echelon | 2025-05-18 01:06:47+00:00
This is not the first time I've heard of checkpoints being used to distribute malware. In fact, I've heard this was a popular vector from shady international groups.

I wouldn't expect this from Bilibili's Index Team, though, given how high profile they are. It's probably(?) a false positive. Though I wouldn't use it personally, just to be safe.

The safetensors format should be used by everyone. Raw pth files and pickle files should be shunned and abandoned by the industry. It's a bad format.
by cuvinny | 2025-05-18 01:07:05+00:00
I tried this with the VITURE Pro XR (has adjustable lens so if you are nearsighted and wear glasses they work) but with a linux laptop. I couldn't stand the static image (focusing on the top and bottom of the screen was painful) and wanted headtracking which only worked on Windows or the phone. There was a project I found of someone adding support for it but it was pretty jank at the time.

Anyways, ended up returning it but kind of wish I thought of just using the phone. Might finally get me to learn NeoVIM
by akkartik | 2025-05-18 01:07:52+00:00
Recently I made a little hypertext browser in 500 lines. Then I added this sort of automatic contrasting color selector in another 200 lines. In the process I learned a lot about color spaces.

https://akkartik.name/post/2025-04-04-devlog

One difference in my approach is: it's an authoring-time tool. If no sufficiently contrasting color exists you get an error. And so you have to change the background until there is one.
by landl0rd | 2025-05-18 01:08:58+00:00
Then this was a total miscommunication or misread. The last paragraph of my comment was bemoaning precisely this. The right yaps about "we need to cut spending" and never does. The left doesn't yap about it and also never does.

"All we'll get is more spending. The right will raise the defense budget and fail to stop recapture and overcharging by defense primes through the broken cost-plus model. The left will raise social spending. We all end up deeper in debt."

I have no such perception.
by WalterGR | 2025-05-18 01:09:50+00:00
> it's a tax-dodge, and nothing more. Same thing with non-profit hospitals whose administrators pay themselves seven-figure salaries.

What do you mean by tax dodge, in this context?

How familiar are you with taxes? Off the top of my head, people who work for non-profits have to pay withholdings and income taxes, just like the rest of us. Generally, 'business' expenses for both non-profit and for-profit organizations (whether a McDonalds, university, church) are tax-deductible. Tax rules differ between states, but being a non-profit doesn't automatically exempt you from collecting and forwarding other forms of tax, such as sales tax.
What do y'all think – weeknd project
by Venkymatam | 2025-05-18 01:11:38+00:00
Today, many software teams are adding AI features into their apps — like customer support bots, writing tools, or internal copilots — by writing “prompts” directly into their code. These prompts tell the AI what to say or do. But once the product is live, there's no visibility into what the AI is actually saying to users, how much it’s costing, or when things silently go wrong — like hallucinations, tone drift, or token overuse. I’m hoping to build a solution that helps teams keep these AI features healthy and reliable in production. They’ll have a central database to store all their prompts, test different versions across multiple AI models, compare costs and outputs, and — most importantly — evaluate the “human touch” of the responses. The platform would enable A/B testing across prompt versions to identify which responses perform best — whether in terms of marketing impact, sales conversion, engagement, or overall usage. It would track every AI response, detect unusual or risky behavior, and suggest — or even apply — fixes automatically. Think of it as a real-time quality control system for the AI layer of your product. The system would be powered by lightweight autonomous agents that watch every model call, flag anomalies, and make context-aware recommendations — or take direct action when safe to do so. These agents would monitor prompt behavior over time, compare version performance, and optimize for clarity, safety, and cost. Technically, it’s a real-time observability and correction runtime — like Datadog + LaunchDarkly, but built specifically for managing AI prompts and agentic behavior in production.
by jeroenhd | 2025-05-18 01:12:42+00:00
Should be noted that Denmark is not the only country that weasels its way around bans on mass surveillance like that.

Take Belgium, which took the "mass surveillance by default is illegal" and introduced a law that forced mass surveillance in areas that exceeded a certain legal threshold, designed specifically to include every single town in Belgium except for some tiny town where almost nobody lives.

Other European countries have applied similar workarounds. They're all pretty much dead the moment they hit the courts, but as long as the public doesn't know and nobody bothers to start a lawsuit, the mass surveillance continues.

"Data retention", as the industry calls it, is still active far and wide across Europe. Some countries retain said data for days at most, others for years.
by nimih | 2025-05-18 01:14:43+00:00
The point is to win debate tournaments. In particular, it is (or at least was, when I competed in policy debate in high school and college in the 00s) strategically advantageous to maximize the number of distinct arguments, each with their own set of supporting evidence (usually read verbatim from a prepared excerpt of a news article or authoritative reference or whatever), you make within the allocated time. This incentivizes talking extremely quickly, which requires a fair bit of practice to become proficient at (and to understand).
by globalnode | 2025-05-18 01:16:24+00:00
I wouldnt trust their state, the one that argued for infecting their entire population with covid to achieve herd immunity, the one that bent the knee to the US when they wanted a sex scandal to arrest Assange, the one who wont release information they have about blown up gas pipelines in their back yard. I shouldnt pick on Sweden, all countries are like this now.
by vunderba | 2025-05-18 01:16:26+00:00
It's been a long time, but my impression was that QuickBASIC had an interpreter and the ability to compile. Then later on, Microsoft bundled a more limited version called QBasic with later versions of MS DOS which lacked the compiler.

But all of them (QBasic, QuickBASIC, Microsoft PDS, and even Visual Basic for DOS which almost nobody remembers sadly) had the editor, interpretative execution, and built-in help.
Show HN: I built a SaaS as a 13yr old
by vivaancut | 2025-05-18 01:16:47+00:00
2 years ago I learnt NextJS & React. Then for two years I totally forgot about it. Went on to do other things in life. Then 2 months ago, I came back, won a hackathon, and realized the potential I had. This is my attempt at my very first SaaS Business.

I created Paynic because invoicing shouldn't be a hassle. It's fast, intuitive, and keeps your finances in check effortlessly.

What makes it unique? Simplicity meets power—you create easy and beautiful invoices, share them to your customers, and be in total financial control, all in one sleek app. Easily create, send, and track payments, keeping your finances organized and stress-free.

What do you think? Want me to tweak anything? Any suggestions or features you want me to add I will add straight away!

I am open to any feedback!
by lhamil64 | 2025-05-18 01:17:04+00:00
It sounds like we have a similar situation. I've been wondering if these kinds of glasses would work for me but it just seems like such a hassle to order a pair to try just to end up returning them if they don't work. I wish they were sold in a store that I could just walk into and try them for a minute.

FWIW, I use a monitor arm that's mounted on the front left side of my desk (my dad also modified my desk so this would work) so I can pull it as close as I need. It does mean I can't push it back to a normal monitor distance but I'm the only one using my PC so that's not a problem. Oddly enough, I recently got cataract surgery so now I have a lens that makes me focus further away, but now text is too small to read at that distance so I have to use readers to focus closer and use the arm.. seems a little silly but it mostly works out.
by abdullahkhalids | 2025-05-18 01:18:41+00:00
Late to the party. These cards are stored-value ones. And they seem to be very secure.

Does this mean that the offline digital cash problem has been solved, as far as in-person customer to merchant payment system goes?

You can trust an arbitrary person giving you money through the card just as well as if they gave you cash. Could you turn this into a pay-anyone-money using cards and card readers?
by rasz | 2025-05-18 01:19:49+00:00
>The CDTV was a brilliant product for its time.

It was a 1985 computer selling $300 retail in 1991 packaged with $300 retail CD-ROM. Commodore got the crazy idea to try and sell this "the whole is less than the sum of its parts" at $1000 because black case and remote control! Nobody got fooled. Zero effort went into trying to cost optimize it, or even make it a desirable product. It was as ridiculous as Philips mega flop CD-I shipping similarly bad internals at same price point.
by catboybotnet | 2025-05-18 01:22:12+00:00
I feel like it promotes younger folks getting into programming by having them follow trends instead of what they might want to do. Don't bother starting to learn, AI will take your job if you do. Vibe code up a SaaS startup and sell it! Look at levelsio, he's making millions and is an influencer!

There's even websites that are dedicated to dumping your SaaSes, like acquire.com!

Stay off social media, ignore trends, and learn the basics. JS frameworks come and go like flies, don't get too invested in the latest and greatest!
by krick | 2025-05-18 01:22:17+00:00
These are extremely opinionated, and shouldn't be treated as a rule of thumb. As somebody else said, there isn't a rule of thumb here at all, but if I was to make up one, I would probably tell you the opposite:

- You have to push ifs down, because of DRY.

- If performance allows, you should consider pushing fors up, because then you have the power of using filter/map/reduce and function compositions to choose what actions you want to apply to which objects, essentially vectorizing the code.
by fnordpiglet | 2025-05-18 01:22:20+00:00
Why would you try to land the rocket at the destination rather than re entering a pod and parachuting its contents past critical burn independently? We already do high speed spy plane HALO since the 1960’s, this would be more controlled and the rocket could bring massive payloads like tanks.

It would be more useful for the launch vehicle to return to its original pad for relaunch. It’s not like you’re going to refuel and refit it on the battlefield.
by hk1337 | 2025-05-18 01:22:23+00:00
I don’t disagree, in fact I absolutely agree but the last 2/3 just sounds like meaningless jibber jabber to make yourself look smart. I’m not saying it’s not true but it’s word vomit.

I like the feature but in a corporate site/application, you don’t want to rely on this function because you cannot control what the result is going to be. For all I know, WebKit could fix some later bug or change something that changes the result color to something that I don’t want.
by gpm | 2025-05-18 01:23:44+00:00
One potential issue with counting is that crashes aren't created equal. To reference back to the extremes I discussed above, if I crash when I'm going 5km/h and it's going 2km/h... it's fine*. If I crash going 30km/h with a car going 70km/h I likely have life altering injuries (or am dead, though I believe the statistics say I'm actually pretty likely to survive a collision at that speed differential).

I.e. fender benders between cars (and between cars and bikes, I assume) are common, but not really what we care about.

Not to say it wouldn't be an interesting map to make.

* I've never been involved in a collision, but I assume I'd be fine at these speeds and any damage minimal.