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


https://logdahl.net

See also: https://news.ycombinator.com/item?id=44043045

Only one article as of yet but have been working on something... :^)


> it is nicer to write in those other languages

I think this is a matter of preference. Nowadays I cannot stand environments like Java (or especially Kotlin). "Tricky memory errors" is in my opinion nicer than a borrow-checker refusing sound code. I guess I really hate 'magic'...


Please elaborate specifically how you would do it for a byzantine-safe distributed network.


how do banks do it now? you know the answer, at a high level. it's the same way we prevent unauthorized access when the blockchain isn't involved, and it's how we prevented unauthorized access before the blockchain existed.

it's how banks prevent someone from withdrawing money from your account without your permission, everywhere across the entire globe at once, all the time.

it's the same reason that I, a normal user, can't delete people from active directory at work, or change their passwords to mess with them.

you've dealt with this kind of permission system your entire computer-using life. you know how it works. you know what it is. being distributed doesn't matter at all.


Blockchain isn't just distributed, it's decentralized and trustless.

We live in a time where any form of centralized authority is increasingly abused. Blockchain prevents this. It also prevents incompetence as we also live in a time where centralized data and credentials are regularly leaked or hacked with no recourse available.


You’ve been drinking too much kool-aid.


Must try this out! I love how reframing challenges can change also how we feel about it! Nice work!


Thank you!!


Yeah, I use LODs already but as you say, even my lowest lod far away is too many vertices. Imposter rendering seems very interesting but also completely bonkers (viewing angle, lighting)!


I've not sat down and watched this yet, but you might appreciate it. https://www.youtube.com/watch?v=DZfhbMc9w0Q Apparently Doom: The Dark Ages switched to Visibility Buffer rendering. Likely because it reduces issues with quad utilization. http://filmicworlds.com/blog/visibility-buffer-rendering-wit...


have you considered using meshlets technique like Unreal Engine Nanite or Assassin's Creed? It could potentially open the door for better culling and more effective depth prepass.


Absolutely! I think this would likely be the next step.


Interesting that Sweden explicitly do NOT use it... Not sure where i picked it up! :-)


Fun to see you ;) Love your site!


Well, the core issue is still drawing. I took another look at some profiles again and seems like its not the renderer limiting this to 27k! I still had some stupid scene-graph traversal... But clustering and culling is 53us and 33us respectively, but the draw is 7ms. So a frame (on the GPU-side) is like 7ms, and some 100-200 us on the CPU side.

Should really dive deeper and update the measurements for final results...


I haven't look at the post in the detail it deserves, but given your graphs the workload looks pretty bursty. I'd suspect there are some good I/O optimizations or some predication. Definitely that last void main block looks ripe for that. But I'd listen to Knuth, premature optimization and all, so grab a profiler. I wouldn't be surprised if you're nearing peak performance. Also NVIDIA GPUs have a lot of special tricks that can be exploited but are buried in documentation... if you haven't already seen it (I suspect you have), you'd be interested in "GPU Gems". Gems 2 has some good stuff on predication.

But also, really good work! You should be proud of this! Squeezing that much out of that hardware is no easy feat.


Sorry, I don't understand why you would be spinning the bottle. Someone care to explain? :)


I believe European and US peanut butter is rather different.

European peanut butter is solid, with the consistency of refrigerated butter, or of fudge.

US peanut butter is a thick liquid. Over time, it separates and you get peanut oil on the surface. That oil is unpleasant, so this machine can help mix it back in.

Hence, Europeans wouldn't see the need for this, because they have never witnessed the problem this machine is intended to solve.


The main difference in peanut butter isn’t about being European or American actually—it’s about the recipe. Some brands add extra oil, like palm oil, to keep it from separating (Skippy (US) and Calvé (EU), for instance). Without it, peanut butter can separate, leaving oil on top.


I believe that they actually remove the peanut oil as it can fetch more money sold as cooking oil. They substitute an inexpensive oil that they also hydrogenate. The hydrogenation is what keeps the oil from separating.


Peanut oil is also sold as an industrial lubricant. So they inject crap like palm oil and then use stuff like cane sugar to mask the taste. It is a CRIME.

The moral of the story is: Accept only peanuts and salt as ingredients; all else is duplicitous garbage.


Do you have a source for this? If true, what a stupid way to make food.


Adding back the crappiest oil they can find… of course.


Most Americans actually buy peanut butter that doesn't need mixing, too... brands like JIF mix oils into the peanut butter which keep it from separating.

"All natural peanut butter", which is what a lot of us like and what the OP is talking about in their article, is made with just peanuts blended, and the oil separates after a while on the shelf.


afaik they're basically the same thing. The need to stir comes from peanut butter that is literally nothing other than minced peanuts. Brands like Jif and the such add a bit of palm oil, salt, and whatever else which I guess helps to stabilize the mixture and make oil separation less likely. "pure" peanut butter like the kind the author likes here is available just the same in the UK with exactly the same problem!


UK here. Yes, our peanut butter is typically solid and has similar consistency even after a couple months in the larder (never even thought about using the fridge).

Tahini on the other hand separates very quickly into oil+solid so perhaps could also do with a spinner


That’s probably because your peanut butter isn’t just peanuts. If you’re buying Skippy or whatever the additives give it a stable textur. But if you buy pure (aka “natural”) peanut butter you’ll see separation, just like any other nut butter, including tahini


The 100% peanuts varieties separate out a bit due to the oil in the nuts. Most UK supermarkets have an own brand 100% nut option that is usually a good deal compared to the branded stuff like Whole Earth (which has something added/removed to avoid having to stir it I guess).

Same goes for Tahini, you can get bottles that never separate, or jar of 100% sesame seeds that needs a stir.


You can get both kinds here, but the emulsified kind is more common. This has been slowly changing with additive-free food popularity and therefor 100% peanut-butter.


This European buys supermarket own brand peanut butter that is just peanuts and a little salt. It never seems to separate, has a three month shelf life once opened, and doesn't say it needs refrigeration.

It processed in Holland.

Why is it different from the US?


You seem unfamiliar with the great American tradition of inventing things to solve problems for the fun of it.

Please view these commercials for reference:

1. https://youtu.be/FqWgTM4di4s, remixed version: https://youtu.be/-gLOALCvlMI

2. https://youtu.be/4rBAmrZX5XQ


If only there was a blog post that you could read just the first paragraph of to find the answer to your question…

From TFA:

> I love peanut butter. I also hate mixing it. There are many products available to mix peanut butter for you, but I wanted my own design that took no effort to use. I'm looking for a "set it and forget it" solution. For those who don't know what I'm talking about, many natural peanut butters are not homogeneous at all times. The oil and the nutty material separate, and thus require mixing to return it to buttery consistency.


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

Search: