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

SIMD and data locality. You probably want to check across three vectors simultaneously and load the coordinates next to each other.

I'm guessing here. I haven't written video games in 20 years but struct packing/alignment was super important on the Sony PSP back then.


For SIMD at least, the {mins[3], maxs[3]} representation aligns more naturally with actual instructions on x86. To compute a new bounding box:

new_box.mins = _mm_min_ps(a.mins[3], b.mins[3]);


You would want [4] not [3], with the last one being padding. Of course, you can't always afford that.

Indeed. This is classic array-of-structs versus struct-of-arrays.


I'm actually working on an app for myself to remind me of that.

For example, there is a full glass of water sitting on my desk from 9am. It's noon. I haven't taken a sip. Until now.

Constant reminders do work.


How come it's so hard for people to drink water? Honest question. Like why don't you just wake up in the morning, take a whiz, brush your teeth, and drink a glass of water?

What gets in between? Because the first two are 99% success rate I'd bet.


Because most people drink to thirst, not out of habit.


But is that bad? Do people actually need to drink more than they are thirsty for? Why is it that our hunger sense is over-tuned, but conventional wisdom says that our hydration sense is under-tuned?

Honestly, I feel like "always be drinking" only appeared once bottled water did.


Honestly I forget brushing more than I should too, and I skip breakfast most days even though I'm hungry. The friction required to pour the glass or set things up can be a lot early in the morning.

It helped me to get a water cooler or something to fill a bottle?


Oh shit I missed my water break. Thanks for the reminder friend.


Agree!

Most orgs should just be shipping features. Before starting an Experiment Program teams should be brainstorming a portfolio of experiments. Just create a spreadsheet where the first column is a one-line hypothesis of the experiment. Eg. "Removing step X from the funnel will increase metric Y while reducing metric Z". And the RICE (Reach-Impact-Confidence-Estimation) score your portfolio.

If the team can't come up with a portfolio of 10s to 100s of experiments then the team should just be shipping stuff.

And then Experiment Buildout should be standardized. Have standardized XRD (Experiment Requirements Doc). Standardize Eligibility and Enrollment criteria. Which population sees this experiment? When do they see it? How do you test that bucketing is happening correctly? What events do analysts need? When do we do readouts?

That's just off the top of my head. Most orgs should just be shipping features.


Beg to differ. I live in Yaletown in one of the Concord Pacific towers. David Lam Park and George Wainborn Park are vibrant as is the whole seawall. My kid goes to the daycare along one of the parks.

I'm sitting at my desk in an office in Gastown in a low-rise. The streets are covered in feces and broken crack pipes.


"towers in the park" refers to a pretty specific layout where the towers are surrounded and separated by parks. Yaletown has parks that are surrounded by towers, which generally seems to work better


I have a 9 month old and we are drowning in toys. We have bought very few of them. The article is clearly not written by a parent because it barely touches on Buy Nothing Groups on Facebook.

We've barely bought any clothes either. They all come from Buy Nothing groups. Kids grow out of toys and clothes every 3 months. Parents are desperate to offload this stuff.

And my wife has become a hoarder as have other parents in the neighbourhood. Buy Nothing groups seem to set off some sort of hoarding affliction in parents.


My local group is not "buy nothing" but rather "zero waste" but yeah the amount of quasi-trash that my wife keeps bringing home ("this is broken but I'll fix it!") is crazy.

A few weeks ago she managed to offload a pink salt lamp to a lady, mentioned "this is not working but should be easy to fix" and the lady replied she's just gonna feed it to some goats and it was glorious.


I could be totally off the mark but this sounds very much like leboncoin!


> The article is clearly not written by a parent because it barely touches on Buy Nothing Groups on Facebook.

The author very clearly indicates they have children. I don't think the author wants to make it an article about themselves.

Keep in mind: Toys just show up from well-meaning people. There's a lot of social momentum around gifting; I started dreading Christmas because it means a bunch of toys my kids won't play with.

And, not only am I drowning in toys, I'm drowning in books too.


pretty much the only toys i get for my kids to get are lego compatible bricks. with those it doesn't make a difference if you have 1 or 10 kg of them. just add to the pile.

no books in my house because we are moving to often. but i grew up in a library. my dad probably has 10-15m worth of bookshelves. from my granddad we inherited 3 or 4 times as much. but they were both collectors, curating their collections with care. still, sorting through those books to figure out whats valuable is a lifetime occupation. and i can see how a lot of books can be overwhelming if you are not into that.

a year ago i heard about someone passing away leaving behind a house with a collection of 75000 books. the cost to sort through them would be higher than the value of the collection, so instead it all goes to a landfill because i a not even sure it can be recycled or the cost of getting it recycled was to much too.


There are a few types of toys that my wife and I are still ok with getting and Lego is one of them. She's started using the phrase "more really is more" to describe the category. Basically, it's systems where you build something and the more you have, the more things you can do: Lego, Brio, Magna-Tiles, Hot Wheels track, etc. Even things like Pokemon cards (if your kid actually plays the game) can fall into this. You do have to be careful not to end up with too many of these systems, especially really similar ones.

We're also still ok with getting books. We have a few too many for our shelf space, but at their current ages, our kids are aging out of books about as quickly as they receive new ones. I just need to do a better job of giving away the old ones more regularly.


Yes! I've run out of ways to tell MY parents not to get toys for my kids for Christmas/birthdays. I can ask directly for no physical things; I can suggest tickets to shows or evens, memberships to museums or zoos, etc; I can point out every time they come over that there's not enough space for the things we already have; I can tell them what sorts of clothes the kids could use instead. They're still going to get each kid a "showstopper" (toy workbench, Big Wheel, something physically large) plus several cheap plastic trinkets... plus the clothes.

And that's just my parents. I can politely talk to them about not getting physical things for my kids, but then there's all of the extended family that loves to get them big, cheap plastic stuff, too. I know they're trying to be generous and don't really understand the fallout, but I'm starting to reconsider the whole "it's the thought that counts" idea.

I need to do a better job of helping the kids periodically go through and give stuff away, but 1) try explaining to a 3-year-old why giving away your toys is a good thing, and 2) the influx of new things always seems to outstrip the rate at which I can find time to get rid of stuff.


Try not to worry. Its not like your baby's first Christmas is just just round the corner.


Probably has something to do with the price of zero. The concept keeps showing up in random feeds for me, and it’s something both marketers and behavioral economists like to talk about. It seems free short circuits a lot of our normal cognitive pathways.

That said, I learned an interesting trick years ago. If you’re trying to get rid of junk, leaving it on the side of the road with a free sign is not as effective as using a sign with a slightly more than nominal amount. $25 used to be the sweet spot, $50 might be better today. Probably depends on the thing. Make it look like they’re getting a deal. Items tend to disappear after that, though I did once have someone knock and pay.


There's a big fat grey area between being a hoarder and simply not being wasteful ;-)

Good luck!


There's not enough energy left after a regular work day to make the decisions to winnow out all the toys That . Just . Keep . Coming .


I sleep with Breathe Right strips. It's changed my life. Whoop band and 8Sleep confirm.


This is great. This reminds me of Chris Hecker's Rigid Body Dynamics series from GDMag/Gamasutra that I read (checks watch) almost 30 years ago! This is the classic/canonical set of articles.

https://chrishecker.com/Rigid_Body_Dynamics


(Aside: My goodness, Medium has gotten terrible. The article will not scroll for me because of some random overlay that won't dismiss. Why do publishers stay on Medium? I regret it every time I click a link.)


I don't have Instagram, Facebook, TikTok accounts. I don't watch Netflix. I don't play video games.

Magically, I have hours per week to read books.


The term that you're looking for is Retrieval Augmented Generation (RAG).

https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-fo...


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

Search: