smallstepforman
smallstepforman on Hacker News
Who was shelling Donbass for 8 years? Believe in democracy, peoples right to form local government, speak local language, etc?
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
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.
Putin is extremelly predictable, which allows the western warmongers to do nefarious things knowing very well he’ll assess the long term risks and be very cautious and accept limited damage to prevent a larger conflict. Use your grey matter and think logically instead of parroting propaganda.
Well, they dont want more for you, but more for “them”.
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.
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.
Now if we can watch fresh movies, that would be ideal …
[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?
[Quote] They are known for actions that negatively affect them and everyone around. That's kinda their whole thing. [/quote]
You honestly cannot be that gullible?
Hi Pavel. I remember your work on Eddie and Tracker and Queries. Do you still follow the development of Haiku (even if infrequently)?
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$
Russian are more than happy to sell you NatGas, why do you think they’re weaponising? Watch too much propaganda?
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.
*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.
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)
Are there any c/c++ libs / headers that use this (without converting to radians in the background). I like this idea.
Robotics, AI, hypersonic/Ramjets, affordable mobile data, streaming video, lots of innovation in the last 10 years.
The thing about game engines is that 80%+ of engine developers time is spent on designing tools and a checkbox/slider for you to click. Another 15% is spent on conflits when combining featured. Less than 5% of the time is invested in actual engine features. In raw homegrown engines, you call a function to enable the feature you want. Your 5% time matches commercial engine 5% time. You dont gain much if you know what you are doing. If you dont know what you are doing, well …
In the next decade, AI will be gutting every industry associated with hollywood other than nvidia and tmsc.
Death by a thousand cuts. First the tech community screamed about memory leaks, so they bolted ARC (automatic resource counting) into Cocoa since unlike C++, Objective-C had no RAII. With swift to be compatible, they forced ARC to all objects. To make RAD (rapid application devolpment), they forced InterfaceBuilder onto the dev community, where artists do layout, but engineers do code. With variable sized screens, RAD tools add constraints to layout, since artists do gui, not engineers. To support Retina displays where GUI is x2, two sets of constraints were added. Spaghetti after twine after hack after crap.
All this goes away if you use a language with RAII, dont treat your devs as morons that cannot manage resources, and allow procedural GUI - let smart dev fix layout and pixels per inch. Artist can create mockup screens in photoshot or after effects, devs do actual procedural coding.
But no, we’ve gone the LEGO assembly way to avoid hiring smart devs.
Disclaimer - I do graphic engines with GUI toolkits for a living.
The unique_ptr destructor is called on scope exit, and there are times you want this earlier before other critical code.
X512 is an amazing treasure in the Haiku community. Other than nVidia hardware accelerated drivers, he ported Haiku to RiscV, got sound through HDMI and DisplayPort working, he got AMD Vulkan drivers for Southern Islands chipsets also working, made break throughs in dozens of other porting projects, he’s an amazing Hacker par excellance virtually unknown outside the Haiku community.
Oh god, what monstrocity have we created?!?
All this complexity follows unique_ptr and copy constructor madness.
Anything with pointers with ownership should never be copied - period. Reference pointers - OK if scope/lifetime is known.
Can we have c++11 lite?
With mmu, every app has its own 32bit address space, and the mmu “maps” the app space to physical space. Legacy apps get shared address space, while newer apps get isolated space. To port apps, its only the messaging system that needs rework, and if the system does its magic with same API, transition is invisible. At the end of the day, only the message address space needs to be shared. Sendmessage() behind the scenes remaps mmu addresses. Not impossible, just requires the will to do it.
BeOS/Haiku uses datatypes natively
You also got a battery backed clock with the 512kb memory upgrade :)
To support protected memory, you need an MMU, and the base 68000 did not ship with an MMU, however the 68020 and later did. The Amiga 3000 onwards should have defaulted to MMU and had a flicker fixer and chunky graphics and 16 bit sound to really succeed. Another multiverse timeline, perhaps.