Hacker Newsnew | past | comments | ask | show | jobs | submit | smallstepforman's commentslogin

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?


They specifically cut access to said gas pipelines at the beginning of the Ukrainian war.


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.


This website has nearly no moderation and attracts tankies, the alt-right and various contrarians, not to mention Chinese, Russian and Iranian bots.

I don't need to read our media (that's perfectly free, thanks for your concern), to have an opinion about Russia. Especially on this very day.


How about visit Ukraine, the country that was invaded who doesn't want to be absorbed by Russia. The country whose civilian population is deliberately targeted. Russia is run by a cold war dictator who doesn't care how many lives he wastes.


*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)


> For graphics rendering Euler equation doesnt matter.

Huh?? "Euler angles" are one of the most popular representations in computer graphics! The only other good alternative is quaternions, where as you say this also matters!


Yes, but do you really need to scale all your values to make the rotation amount fit into a sin() call, only to have to scale them back again when you're done?

I think what they're getting at is "why are we scaling everything so one full turn is sin(6.28ish) when we can just say sin(1)?"

You could easily try it out by defining a function that replaces sin(), cos(), and tan() with their "turn" equivalents, and seeing how you get on.


Euler angles have nothing to do with e^ix = cos x + i sin x. They are a completely different concept.


I am very familiar :) using euler angles involves using trig functions, which is what this thread is about


Yes and no. The x in e^ix is to SO(2) what Euler angles are to SO(3).


This really only says that the connection between Euler's formula and Euler angles is that they're both angles. I would agree with that.


One represents rotation in 2D space, the other in 3D. So I think it's a bit more than that.


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


The C standard defines the functions sinpi(), cospi(), etc. that act on half-turns. If you have a modern compiler, all you have to do is to include math.h


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


Tiny batteries that can power laptops, drones, cars etc for hours.


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.


ARC was basically avoiding typing retain/release when using Cocoa libraries. If you don’t want to use ARC in Swift, use Unmanaged.

Same for autolayout, just use view frames and bounds if you want.

And Interface Builder comes all the way from Next.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: