Hacker Newsnew | past | comments | ask | show | jobs | submit | akersten's favoriteslogin

I found this video to visualise what tone mapping is trying to achieve, and why "photorealism" is hard to achieve in computer graphics: https://www.youtube.com/watch?v=m9AT7H4GGrA

And I indirectly taught me how to use the exposure feature in my iPhone camera (when you tap a point in the picture). It's so that you choose the "middle gray" point of the picture for the tone mapping process, using your eyes which have a much greater dynamic range than a CCD sensor. TIL.



i've done the rant many times before [1] but frankly rpi has almost never made sense. there were always things like the ECS Liva/Liva X for $100-125 that were fully-featured, for roughly the same price as a rpi once you consider all the shit you'll need to get that $45 computer booted up. The Liva (and similar booksizes/net-tops, and similar things like AM1 platform from AMD) benefited hugely from using standard drivers and standard BIOS versus a massive amount of early ARM jank (the early RPi days a lot of things were actually soft-float, let alone niceties like UEFI!).

the best argument for rpi has always been the combination of GPIO and linux. But that's a double-edged sword too, because linux isn't really very good at hard-realtime. And you can always just get a Bus Pirate or similar tool for doing just plain GPIO. And nowadays the ESP32 has basically completely displaced it for a lot of those sorts of "GPIO glue" roles.

If you didn't need that, like if you just wanted a low-power fileserver or HTPC... the x86 stuff was better, because it actually worked reliably, at roughly the same price. Like literally just go buy an off-lease mini-tower or USFF mini-pc for $10 from a surplus store, even.

This goes doubly when you consider all the problems with the early rpi. Like basically it uses USB 2.0 (unidirectional 500mbps) as a system bus... but it also dropped USB packets under load due to bugs in the firmware[0], that nobody outside the Pi foundation could address because Broadcom didn't release the documentation for like 5 years.

[0] https://github.com/raspberrypi/firmware/issues/19

[1] https://news.ycombinator.com/item?id=40701297


Travel exactly due East. Now, ignore what East means. Then, ignore the giant white arrow pointing East into Montana in the image we've created to illustrate this question. Also, don't worry about anything called a Great Circle, it's completely unimportant. What country would you first encounter?

Did you get it, idiot? No? Let me explain to you why you're wrong.

First, you completely missed that the Great Circle I told you not to worry about doesn't actually follow along the white arrow I used to illustrate the problem. Clearly, if you completely ignore all the information that was given to you, and what East is, the answer is obviously Australia. Because if you were at the North Pole, a line going East would be a tight circle.

Please like and subscribe. To leave a comment, first you must solve this simple math problem

    6 ÷ 2(1+2) = ?

This answer by Peter Cordes is much more complete: https://stackoverflow.com/a/38549736

"AI safety" is completely bogus.

There are people who genuinely believe in a singularity-type AI that would have the potential to wipe out humanity. I personally don't think strong GAI is possible, or at least it's not likely using any known technique or any refinement of any known technique, but if you believe this, there's no such thing as AI safety. The best and most obvious course of action is to politically organize for a total ban on AI and make the development of AI anywhere in the world a cause for war. Thinking you could figure out how to chain up such an AI so that it only does what you want is taking an insane risk, and as t -> infinity, the risk becomes 1.

But when most people say AI safety, they seem to mean rigid ideological enforcement of whatever they believe is right, even if that means censoring true facts from AI, or forcing it to abide by some set of arbitrary values that represent consensus only in their clique...while at the same time, bemoaning what could happen if the wrong people got their hands on LLMs. This represents almost the totality of AI safetyism: we can only allow LLMs to enforce my beliefs. These people are effectively aligned (or often the same people as) those who believe we have to return to broadcast-media levels of information control, which for the elites, represents a historical oddity that gave them unprecedented control, which was then weakened by the Internet.

Sometimes they will make an actual safety argument along the lines of "but what if Bad Guys ask an LLM how to make a bioweapon." Aside from this being a silly hypothetical, fortunately, doing mass damage in this way is not easy, even with step-by-step directions. All the resources you need to do so that exist are already publicly available. It just requires lots of time, equipment, material, and expertise that an LLM cannot give you. Of course, you might make the argument that it cannot give them to you yet, but then the only solution is to shut down public science, not to ban LLMs from answering the wrong questions.


Briefly mentioned in this and rendered: space exploration is an incredible factorio mod and the deepest game I've ever played.

In Factorio you launch a rocket and win. Space exploration takes that and continues. You end up developing a base across multiple worlds in the solar system. After developing the solar system from the different unique resources on each planet you expand to interstellar space and then other solar systems. The game has a 'quarter of the way through' victory screen but there's another victory screen as you explore a mystery that spans the known universe and takes a reasonable amount of math knowledge figure out.

It's 100s of hours of gameplay and really well done. They modified the game so that you can fly spaceships between planets with a star and solar system maps and it all works really well.

Just make sure to turn the biters way down. The mod requires a level of patience and the intensity of combat runs counter to that (in fact the mod itself has a popup telling you to turn biters down on start).


> I've been debating starting to include it in my code reviews: "this commit log needs more details: can you edit the commit message and do a git push --force?"

Strongly agree with this. I hold the line on this for every team I lead (which, sadly, is not every team I consult for, so sometimes I have to keep my mouth shut and spend my political capital elsewhere).

Many junior/mid-level engineers have simply never seen commit messages and source control done well. Additionally, because many folks starting out in the field don't know how to truly use git beyond memorizing a few basic commands [1], they also never harvest any of the benefits of writing great commit messages.

I've got a stash of links that I find myself often sending to engineers who are on the way up, and the tpope article on git commit messages [2] is one I find myself sharing around constantly.

[1]: https://xkcd.com/1597/

[2]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-mess...


On the subject of quaternions, here is an article that pops up on HN from time to time.

https://marctenbosch.com/quaternions/

It is called "Let's remove Quaternions from every 3D Engine". The author suggests replacing quaternions with rotors and geometric algebra. In 3D, the formulas are essentially the same, but framed differently. It makes some "surprising" properties more intuitive and is extensible to any number of dimensions. The last part is especially relevant to the author as he is developing "Miegakure", a 4D game (i.e. the game world has 4 spatial dimensions).


What about the 'discovery' that Google Analytics is illegal under GDPR? Not raised even once right up until the moment the courts decided it.

EU privacy law is so vague that people routinely 'discover' new impacts of the rules only when some judge pulls them out of thin air. The fate of EU tech firms is pretty much well described above: endless agonizing over how these rules might be interpreted, followed by maximally damaging interpretations, because the nature of such law making is that enforcement is arbitrary.


We recently had our first child and finding a name for him was extremely difficult. We tried using books and apps but they weren't that helpful.

Part of the problem was that we wanted a name that would work in both english and spanish, and wasn't too popular or trendy.

I found that I hated most boy names, especially the ones that are trendy today (Aiden, Jaiden, Zaiden).

Feel free to name your kids whatever you want, but here is my advice to anyone who is trying to name a child:

---------

1. Do not tell anyone what the name will be before the child is born. They will try to talk you out of it.

2. If your family is not a native speaker of your language then present them with a list of a bunch of names that also includes the ones you want. Then ask them to pronounce all the names. That will let you know if your family will be able to accurately pronounce the name.

3. If you are going to give them a middle name make sure that their initials don't spell out something embarrassing like Carl Otis Winslow.

4. Do a google search of your child's first and last name so you don't accidentally name them after a serial killer or some other controversial person. Also google their initials so you don't accidentally name them after a company or a chemical.

5. Consider how their first name can used against them by other kids. Does it rhyme with something? Is there some famous fictional character with the same name?

6. Try to delay giving your child a name for as long as you can before leaving the hospital. This will give you time to decide which name best fits this person who is now in the world. (I thought I would name my son one thing, but decided that he didn't 'look' like some one with that name)

7. Do not leave the hospital without naming the child (unless you have a good reason to do this). I know some one who waited a month to name their child and they wouldn't recommend doing this.

8. Consider how popular the name is. Most of the names in the top 10 are popular for a reason, they tend to be good names, but do you want your kid to have a unique name, or just another kid among the other 10 Liams and Olivias in their class?

9. People are going to give your kid a nickname the instant they are born, whether you like it or not. Are you okay with people calling your kid Bobby, Danny, Mikey, etc? If not then consider a different name.


for wireless AP's? It really depends. I actually just went with Wave2 stuff. In the end i bought some UAP-AC-HD's because

1. I am familiar/setup to handle their quirks and had 99% of the setup already done.

2. I really wanted an AP with Dual 5Ghz AND dual 2.4 Ghz dedicated antennas for some very specific applications (multiple rtsp streams over wifi+client plex wifi streams+client traffic. With the first two largely being on 2.4Ghz.

3. I am lazy (lots of this, my wife is less tolerant of me re-designing the wheel and being locked into an upgrade for days)

4. The security stuff i had mostly addressed anyway.

If this were a greenfield purchase or I didn't really need/want dedicated radios.

Id go with a ruckus. the r700 unleashed and/or r500 unleashed can be found cheap and are chock full of features. and 2x2:2 is normally going to be perfectly fine in a home setting.

Going with ones that are "unleashed" mean that the controller runs on the AP's. not extra hardware needed.

For most home uses. wave1 is still more than enough and their Wave1 AP's can be had cheap. Hell you can probably even get one of the R710/R510's in a very good price range and be at wave2.

For switching...mikrotik is solid for cheap and works and stable. Even modems etc. For firewalls my preference is BSD, so something like opnsense...But mikrotik will probably do okay as well.


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

Search: