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

I do the same, I named them “SelecTunes YYMM” and been doing it since 2018


This 2024 re:Invent session says exactly the opposite:

"If you want to partition your data even better, you can introduce some randomness in your key names": https://youtu.be/2DSVjJTRsz8?t=2206

FWIW The optimal way we were told was to partition our data was to do this: 010111/some/file.jpg.

Where `010111/` is a random binary string which will please both the automatic partitioning (503s => partition) and manual partitioning you could ask AWS. Please as in the cardinality of partitions grows slower at each characters vs prefixes like `az9trm/`.

We were told that the later version makes manual partitioning a challenge because as soon as you reach two characters you've already created 36x36 partitions (1,296).

The issue with that: your keys are no more meaningful if you're relying on S3 to have "folders" by tenants for example (customer1/..).


Nit pick: change homepage from:

> git(main) x npm add better-auth

to

> npm add better-auth

"git(main) x" looks odd and like an error.


I messed up, they are "in the process of raising" that's it


The demo is very cool. A few critics:

- the AI doesn't know when to stop talking, and the presenter had to cut every time (the usual "AI-splaining" I guess).

- the AI voice and tone were a bit too much, sounded too fake


What about jsii? The technology behind AWS cdk sdks: https://aws.github.io/jsii/

Is Stainless similar, different?


Very different! Stainless crafts each language's SDK generator around its specific idioms.


I am surprised this doesn't list two major resources for learning how caching works:

- https://www.mnot.net/cache_docs/ for a long time this was the best online resource

- https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching is extremely detailed, and based on the previous link too from what I can tell


I recently started using "Clear-Site-Data" and it's been a neat addition. I just create a single endpoint on my site or API domain and make a page or method that returns this header. There's all kinds of utility in having this.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cl...


Lack of safari support is a bummer. Not very useful until that happens


Simple, to the point, love it


Random parenting tidbit: I have two kids, and they had tantrums. When it was spiraling I took them outside. I have found the sound of nature calms them, weirdly. The change of setup maybe helps.


This is sorta the logic behind time outs, which literally are supposed to be "time. out." Remove them from the setting where they're misbehaving, into an area where they can have big feelings safely but aren't exposed to stimuli which might intensify the tantrum. Eventually the feeling goes away because there's nothing to feed it.

My kids have long memories, unfortunately.


Same. The rocking chair on the porch saved us countless number of times. The sounds of the neighborhood, the bicycles, cars,the wind, the lights of airplanes, learning about the neighbors brought her comfort and allowed her to fall asleep.

Great tip


Oh yes, I live directly next to a wild river valley, so just opening the window and hold them next to it would have (literally) cooled them. The wind, the sound of the water, the cool breeze.

And if this was not enough, carrying them with a manduca on the back or front and walking outside was always working. Also sometimes in the middle of the night, giving the mother a rest.

Now that they are bit older (and heavier) I only do this rarely. The trick is to have been outside enough with them in the first place. And if their head gets hot - literally cooling them with some water on the head helps very much.


Two kids having some kind of competitive tantrum is so much more difficult than just one kid having a tantrum. They set each other off over and over in some kind of fucking feedback loop from hell. Sometimes the only strategy that works is to get them separated ASAP any way you can, which can be really hard if there’s only one grown-up home at the time and the kids’ bedrooms share a wall….


Two kids is just so much harder than one, it’s ridiculous. Like easily 10 times harder than just one kid. I have two boys aged 2.5 and 8mo, and I’m starting to wonder how any parent of two stays sane. Three or more must just be impossible. Can’t be done. My mother (3 of us under 4 years old) must have been some kind of super hero.

Anyone who has been through this, does it ever get easier?


Those are the tough years, yes. Hold on. When they're 3 and 5, it will be easier to get them to go in the same direction. Especially when everyone is potty trained.


I know what you mean. I’ve got two girls, 5 and 6, who love to fight over the pettiest shit. Like, when they’re in the car, one will yell “she’s looking out MY window!” “NO I’M NOT” “YES YOU ARE” etc.

The good news is that at their age right now I’ve been noticing more and more moments where they’re nice to each other, help each other out, etc. Still plenty of rivalry, but it seems to be on the decline in the past six months or so.


Totally agree. My wife and I have a 4 and 10mo and it’s brutal for us right now.

Juggling those two ages is tough for us because there is no overlap…they don’t play, eat, or sleep in the same ways so it feels like there’s a negative economy of scale.


You’re at peak insanity so just hang in there. It for sure gets easier but the issues change, you begin to have to convince and change minds vs just keeping them from nose diving off the back of the couch.

I have 13 and 11 year old boys which is pretty sweet at the moment. We talk about games, space, music, and other stuff. They’re old enough to have opinions and something to say but still young enough to see me as the most powerful being in their universe haha


I feel the same. Kids of 4.5 and 2. I can't say it gets easier yet. Two childrens are so much harder than one. And people told me the opposite, that the biggest change was having one kid and the next wasn't such a big step. That turned out to be completely false.

When we (the parents) take one child each for a day, it feels so much easier than even having both of us together dealing with two.


It gets easier. Because you get better at it. It doesn't feel like it now, but you're OK. Every month, every year, just gets a bit easier, and frankly, more fun.

To your point about 3 or 4 - again it gets easier because you get better. Going-out-bags get smaller. You discover kids are resilient. You learn to let go of some expectations.


It doesn't get easier. It just gets different. And then you become your parents' parents as they get old.

Just get through it one day at a time.


I'm the youngest of seven kids. The older kids raise the younger kids.


People with small families simply don’t understand the economies of scale and free labor pool that comes with raising a soccer team.


Yeah, except outside is where you want them to get all the screaming and horseplay out of their systems.


For a second, I thought my internet provider was broken: ring.com is down (and other websites I shop on).

https://www.eden-park.com/ down https://allbirds.eu/ down https://www.jbhifi.com.au/ down

https://www.shopify.com/plus/customers


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

Search: