Better HN
topnewbestaskshowjobs
Log inSign up

smallstepforman

1,894 karma · joined Oct 12, 2016 (10y ago) · 493 submissions

Submissions

comment 13h ago · link · parent

I’m get downvoted to hell, but we’re nearing AI armaggedon, and frankly all languages not designed for AI are dead man walking. I dont think anyone will actually use a working C++26 compiler, ever. And I do many core Vulkan engine drivers for a living …

comment 6d ago · link · parent

There is so much hypocracy here. The EU bans imports of Russian oil but gets the very same oil through an intermediary, the additional cost paid by the EU citizen. Anyone looking to fire EU politicians, no. China will get its chips through an intermediary. Russian and Iranian oil reaches US shores, its always the end customer paying the cost.

According to some clauses in US constitution/laws about jyst compensations, is the US government compensating nVidia for sales restrictions, since as a private company they are financially hurt by sales bans?

The nVidia board firing the CEO who built the company and understands technology will be disasterous for stock price and company future. Jensen might as well start a new company, in 5 years it will outclass old nVidia. Dont forget key talent will gladly jump ship, and million loopholes around non competes even in jurisdictions its enforcable. The board are long term idiots, I’d resign as board member immediately.

comment 1w ago · link · parent

Monoculture is still a problem, from biology to markets to computers. People look at me puzzingly when they hear I run Haiku, that I write my own rendering engine, that I’m building a small country estate.

comment 1w ago · link · parent

"It's national security!"

Seriously? He is of Chinese heritage, speaks Madarin. He watches Chinese films, reads Chinese books, listens to Chinese music, probably follows Chinese language social media. He's married to a South East Asian women, his affair is with a Chinese ethnicity.

National Security?

Let the man be, he's a geek what loves building technology. He made many people rich, and his products drive modern AI. All of humanity will benefit from his work.

National Security?

comment 1w ago · link · parent

Meanwhile, Amiga 1000 Workbench (also released in 1985) not only had application switching, even when full screen, they had desktop screen switching where each screen can be different resolution / colour depth.

https://www.youtube.com/watch?v=rDDndh6OPK4

The key combo was Amiga-M to send window to back of stack, and cycle windows.

BTW = Amiga had preemptive multitasking

But the world decided to ignore the Amiga and focus on MsDOS and black and white MacOS.

comment 2w ago · link · parent

With bitmasks, if they just assumed bit 5 (whatever) as zero=whitespace, they would have saved billions of cpu cycles per device per day. With 32 bit unicode, that gives you 32 unique whitespace chars.

Should have got guys that grew up with the 8-bit micros to write up a spec.

comment 2w ago · link · parent

Are you that naive? Since chimps females have been genetically programmed to seek the Alpha of the species. Jensen is smart, resourceful, made a fortune, he's actually a great dude, he'd be a catch for most Chinese women. Aged or not, he can still exert influence, father offspring that will be generously looked after. He has many stories that would thrill most younger women, especially with traditional family values like the Chinese.

Everything to gain and nothing to lose.

comment 2w ago · link · parent

The team that created Pages, before that they were GoBe Productive for BeOS, and before that Clarris, so Pages is their 3rd or 4th redesign from scratch.

comment 2w ago · link · parent

With package managers on Linux, BSD and Haiku, the only odd man out needing packages is Windows, and vcpkg fills this gap so its no longer an issue.

comment 2w ago · link · parent

For most domains, it is fine. Why should my valued checked code pay the price for checking every arithmetic operation for overflow. Why should my correctly implemented algorithm waste CPU checking something I know is valid? And worst of all, what happens when a logic error is encountered, we run untested code path? I hate code that is conditionally defensive (eg. if (ptr) ptr->critical(); ). I should never be in that situation, a silent ignore corrupts internal state, and never tested the fail path. Ptr may even refer to garbage. Its a stupid defebsive check in 90% of code bases. std::optional<Ptr> at least clarifies intent.

comment 2w ago · link · parent

It makes big companies and gov bodies happier since and code investment is guaranteed to run with competitors tool chains. You’re not locked in to one vendor, it is an international spec.

comment 1mo ago · link · parent

Who was shelling Donbass for 8 years? Believe in democracy, peoples right to form local government, speak local language, etc?

comment 1mo ago · link · parent

C allowed pointer aliasing, so you always have to refresh reads incase a pojnter modified the value. With any loop, that is just more reads to update dependancies every cycle. When not aliased, you cache value in register. Much later C introduced “restrict” keyword to match fortran performance code. c++ is still fighting this by insisting you work with different types, hence by default you dont get aliasing but that doesnt cover 100% of scenarios.

Maybe we get restrict in C++35

comment 1mo ago · link · parent

My take is that it is an exciting time to be a mathematician since the frontier for interesting math problems is about to explode, and without prior art or references, it's green field for both AI and human. Think of all the new discoveries we'll make.

comment 1mo ago · link · parent

Well, they dont want more for you, but more for “them”.

comment 1mo ago · link · parent

Ah yes, more enshitification. The other day Visual Studio 2026 brought in a mandatory update, lots of CoPilot stuff I didnt ask for, but they broke code search so finding who uses a structure is now harder to find. No way to revert to older version of VS2026.

comment 1mo ago · link · parent

To do something like this, you really need to look at both cache locality and CPU core access patterns:

https://youtu.be/jsdwRf3JvZM?si=0tysoCsvaWl0R_PZ

40’000 NPC in game with collision avoidance, steering, on 8yo hardware.

comment 2mo ago · link · parent

In Academia, this is not how to cite references. Date, link, etc. The quality of the reference is also important, not “such and such blogger”, might as well go to local bar and ask the regular drunk for references.

Because in the real world (tm) a diplomat announcing this has consequences. Press can parrot any fantasy they want, gullible may just as well watch Marvel entertainment, same relation to reality.

comment 2mo ago · link · parent

Now if we can watch fresh movies, that would be ideal …

comment 2mo ago · link · parent

[quote]Russia declared war on whole west (including this open forum) in 2014[/quote]

I dont remember seeing Lavrov delivering a declaration of war to this “whole west” diplomatic core. Got any real sources to back this absurd claim?

comment 2mo ago · link · parent

Hi Pavel. I remember your work on Eddie and Tracker and Queries. Do you still follow the development of Haiku (even if infrequently)?

comment 2mo ago · link · parent

You also need microphones to pick up ambient sound and play it back at 180 phase shift ..

There is a reason premium audio car packages cost over 2000$

comment 3mo ago · link · parent

Russian are more than happy to sell you NatGas, why do you think they’re weaponising? Watch too much propaganda?

comment 3mo ago · link · parent

By what metric do you consider them a failed state?

You’re on HackerNews, this website attracts free thinkers, we’re not the group that our influenced easily by propaganda, open your mind, read some data, visit the country and then form an opinion. Dont parrot the propaganda of non-free media.

comment 3mo ago · link · parent

*It's my current understanding that Ukrainians performed this sabotage.*

If that were vaguely true, Germany which owned 51% of NordStream would have sued UKR immediately and abolished diplomatic relationship. The fact they didn’t tells you everything you need to know about the absurdity of your claim.

comment 3mo ago · link · parent

For graphics rendering Euler equation doesnt matter. Colours are 0.0-1.0 and have no relation to reality, but it works. Same with rotations (if we’re not using Quaternikns)

comment 3mo ago · link · parent

Are there any c/c++ libs / headers that use this (without converting to radians in the background). I like this idea.

comment 3mo ago · link · parent

Robotics, AI, hypersonic/Ramjets, affordable mobile data, streaming video, lots of innovation in the last 10 years.
12345
17