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

The BackboneJS library and the documentation generated by Docco has always been an interesting example. Compare the annotated source with the source at GitHub:

https://backbonejs.org/docs/backbone.html https://github.com/jashkenas/backbone/blob/master/backbone.j... https://ashkenas.com/docco/


I don't see mention of parenting.

Imagine you’re in a hurry. Your child is tired and hungry, and you are too. You’ve just loaded the groceries into the trunk and finally gotten your child strapped into the car seat. You think for just a moment that you're done. But then you realize: you still need to return the shopping cart. You should have loaded the groceries, locked the car, gone back to the cart return and then carried your child back to the car to load them into their car seat.

Now you’re faced with a dilemma with three bad options — do you take your child back out of the car, leave them unattended for a moment, or abandon the cart and go home?


I'm a parent with a child with profound autism. You leave your kid in the car for the 30 seconds it takes to return the cart. It's never been an issue and the kiddo is perfectly content waiting for a short period while I walk the cart back.

My god, people act like there's kidnappers at every grocery store just waiting for this one moment to abduct a child.


I looks more this is about managing fears and worries. This is also close to helicopter parenting, i.e. parents who are "overattentive and overly fearful for their child, particularly outside the home".

I don't know, in 90s Germany my parents just let me wait in the car for a minute and there was only the radio I could listen to. In elementary school I just walked to school even in darkness. And in high school I walked 15 minutes to the bus. That was the time when some middle class parents started bringing their children to the bus with the car, but for most of the other children is was normal to just walk.

But yeah times change. My grand-parents walked 10 km by foot to school on the street on 6 days per week after war.


> I don't see mention of parenting.

When I read this I thought you meant bad parents not teaching their kids to return their carts

> dilemma... do you...

What exactly is the risk of leaving the kid while you quickly return the cart?


All I'm asking is that we give caregivers a little empathy and some grace. To your question - There's not much risk. Lock the car, return the cart.

But what I'm offering is that if I saw a parent leaving a cart, I wouldn't judge and assume that it's because of a glaring moral failing.


>I wouldn't judge and assume that it's because of a glaring moral failing.

It's not a moral failing by itself, but it then suggests "how many other activities are cut out because they can't take their eyes off their kids for 30 seconds?" That behavior seeps into the rest of the going ons in life.

That's not bad, but I wouldn't be surprised if that becomes the type of parent who cuts all social contact with non-parent friends after having a kid.


It's not hard. Lock the car and return the cart. Your kid(s) will be fine unattended in the car for 20 seconds crying or not. If this really distresses you, park in the back by a cart corral.


I’ve accidentally parked inside a larger cart corral - I thought it was a space between two.

Menards corrals are literally carports they sell in the store (and hence covered which is nice).


Menards does have huge cart corrals. The corrals have never been empty enough for me to confuse it for a parking spot, but without carts it would fit a car just fine. It's odd that they don't have dividers. Then again Costco doesn't either.


They're literally their carports - they even have a sign on them telling you how to order one for yourself.

I think they don't have dividers because they also take the large lumber carts, too.

Home Depot also has no dividers, probably for the same reason.


I had to check the Menards website. I knew Menards sold everything but it never dawned on me that they literally sell those carports. I didn't know that's what those structures were called either. That's a good point about the large lumber carts.


Apparently they sell 613 variations (mostly different lengths and heights and widths, probably four parts total).

https://www.menards.com/main/outdoors/sheds-accessories/carp...

Of course, Menards sells entire houses (in kit form): https://www.menards.com/main/building-materials/the-project-...

And milk. https://www.menards.com/main/grocery-home/grocery/dairy-eggs...


That's pretty amazing. I didn't think any retailer sold house kits akin to the Sears catalog homes I've read about.


Not a bad price.


I usually just leave them in the cart and we go and return it together. Or now as they became older - they push it themselves to the corrals (with me next to them of course).

Feels like a lazy justification


> Feels like a lazy justification

I try to give people kindness and grace, even for small things. Maybe we can sometimes reframe a "lost cart" as something other than an act of laziness or aggression against society. Maybe it’s a sign someone was just having a hard moment.

When I take a stray cart back, sure, it could’ve been left by someone careless. But it also could’ve been left by someone overwhelmed. Maybe a parent, an exhausted worker, someone barely holding it together because of some struggle we'll never know.

Returning that cart might be a tiny act of kindness toward someone who needed it that day.


If you can't leave your kid unattneded for 30 seconds, I'd worry about bringing them in for an hour long shopping trip to begin with.


It takes 30 seconds.


Congratulations on being the subject of the thread.


imagine thinking returning your cart after putting your kid in the car is a bad option.


Another parameter - as a track designer you can manipulate the width of the track to change the ball speed. It raises and lowers the ball on the track, changing both the rolling diameter and the center of gravity. This can be used to make subtle changes to the ball speed before a turn.


The table layout and example formatting of "The Universal Route Module API Specification" is quite good: https://github.com/fastify/fastify-dx/blob/main/URMA.md


Table layouts are cool on desktop, but they suck on mobile.


The link above, after switching to desktop mode on Chrome on Android looks fine.


Wired suggested using grayscale mode to help make the phone less engaging. On iOS, I believe you can find it under Accessibility > Display & Text Size > Color Filters.

https://www.wired.com/story/grayscale-ios-android-smartphone...


Seconded. On iPhone 8, you can also set it to enable/disable Color Filters via triple tapping the home button.

For eye strain, use the Reduce White Point setting combined with minimum brightness at night.


This is a great hack! For those of us that don't have time but want a similar result, 1FactoryRadio sells a lot of OEM radios with bluetooth upgrades.

http://www.1factoryradio.com/1984-2002-ras-chrysler-jeep-dod...


PHP: With the new 7 release, it gets a surprising speed boost, a collection of elegant new syntax, and maintains backwards compatibility with an incredible ecosystem of packages. Modern projects like Laravel and Slim continue to push best practices, and the community is one of the largest. It's an incredibly versatile language with a robust feature set.


This is a great presentation about refactoring that may be useful: "RailsConf 2014 - All the Little Things by Sandi Metz" https://www.youtube.com/watch?v=8bZh5LMaSmE


Can anyone explain why they don't put more RAM in modern Mac computers? I think I can remember debating 8 versus 16 almost ten years ago. Why are they still stuck on 8?


Because not everyone is a techie that reads HN. Most people I know, even many developers, could easily get by with 8g of RAM.


Its a struggle with 10.10 and 10.11. The RAM requirement went up and it is a lot more sluggish. I got a lot of complaints and we ended up putting 16g in every iMac. The airs just became painful.


I doubt it. In 2005 a 1GB Corsair stick was $189 [1]. Going to 16GB from 8Gb would have set you back an extra $1500, even assuming your motherboard could have taken it.

[1] http://www.statisticbrain.com/average-historic-price-of-ram/


I had 16GB in my Hackintosh 3 years ago. I noticed that 8GB seem to be enough for more of the things I do, even with some big apps such as XCode and Final Cut Pro X in simultaneous use. I think my next Macbook will only have 8GB. Apple tends to charge a huge premium on extra RAM and SSD space anyway.


The 27" iMacs aren't using soldered RAM and has 4 slots. So it would probably be cheaper to buy and install RAM separately. 32GB would be about $180 instead of the ridiculous $600 Apple wants.


Can you actually install additional RAM? I didn't know you could take apart an iMac; i thought that changed after their "unibody" one piece aluminum design.


You can't take apart the iMac, but the 27" model does have user-accessible RAM.

Funnily enough, it's probably easier to replace the RAM in one of those Mac than any other consumer PC. https://youtu.be/1nQp_Yb8YW0?t=55


It is by far the easiest! It is a very thoughtful design, nothing like your average PC where upgrading the RAM is the same experience as it was 20 years ago.



Yes, the 27" model has a panel and slots for upgrading RAM.


The Macbook is a solid bit of hardware with great durability. For development with Vagrant, you should make sure that the machine has the maximum RAM installed, and if it's an older one, you can do a SSD upgrade.

In addition, I cannot say enough good about the dotfiles project from https://github.com/mathiasbynens/dotfiles for making OSX a nice developer environment. Be sure to completely read through the .osx file before applying it though, and comment out the bits you don't like. If you maintain the .brew file and use it to install new apps (including apps via cask), you'll have a system that is very easy to replicate. iTerm2 with tmux is great for use with Vagrant environments too.


Excellent tips. Thanks!


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

Search: