HNHacker News
TopNewBestAskShowJobs

hnick

3,418 karma · joined November 14, 2018

submissionscomments
hnick··on Dehydration associated with poorer performance on attention tasks among adults
We said it in FFXI a few years before that. I thought maybe it was a pun since the game has a spell called Bio and people would highlight the word using the auto-translate function, but I just checked and this says the term dates back to the mid-90s:

https://www.merriam-webster.com/wordplay/bio-break-meaning-a...

hnick··on Dehydration associated with poorer performance on attention tasks among adults
> Hunger as a response to mild dehydration makes sense though. We get a significant proportion of our water intake from food.

This is truer than I used to think. Our dogs are mostly on a raw diet - some days I don't even see the older one drink water, or just once (the younger one is still an idiot puppy so runs around and goes to the toilet a lot more and has to top up). When we look after dogs on a kibble diet, it's amazing how much they drink in comparison.

hnick··on Deaf girl is cured in world first gene therapy trial
Sorry just wanted to clear this up - do you mean it delivers an extra set of DNA that does its thing alongside what is already there, rather than editing the main sequence like CRISPR wants to?
hnick··on Cardio fitness is a strong, consistent predictor of morbidity and mortality
One example: https://en.wikipedia.org/wiki/Couch_to_5K

9 weeks. I have basic fitness but have never been close to completing a 5km run (I think I finally realised I have breathing issues - seeing an ENT soon).

hnick··on Wild orangutan seen healing his wound with a plant
The cellulose aka fibre is useful for them too, for the same reason as us, even if there are not many calories or other nutrients available. Dry food, bones, high protein diets can all benefit from a bit of bulk.

I've been told that wild dogs and wolves eat the digestive contents of herbivores which is semi-digested (free range haggis!), which definitely seems true to me given how much both of mine go for rabbit/sheep droppings. This supposedly supplies some more available vegetative nutrients to them. But this came from a pet nutritionist, I'm not sure how strict or scientific their training is.

hnick··on Wild orangutan seen healing his wound with a plant
We minded a labrador once (notorious appetites), he'd eat capsicums, and on the neighbourhood walks would even go for raw green olives that fell from trees onto the paths. I'm pretty sure they are very bitter which sensible animals interpret as poison but not he. So we had to steer away from those during that season.
hnick··on Wild orangutan seen healing his wound with a plant
Hah we actually did... the younger border collie also does it, but less. Maybe he's copying his brother from another mother.
hnick··on Wild orangutan seen healing his wound with a plant
I'd considered the dog eating grass thing as more of a now-disputed myth, but maybe someone has evidence. Either way my own dog loves munching on the taller/thicker grass every time we walk, like he's a sheep. His favourite foods also include broccoli and bok choy so that could be why. I think a lot of people downplay the role plants play in a dog's diet (not required but helpful especially with processed diets that can lack organ meat etc), and they don't always get fed them at home.
hnick··on You can't just assume UTF-8
If you're there for a while, you'll need to adapt anyway since your biorhythms will too. But there are plenty of other cases like a reminder to check something after dinner, or my standard wake-up alarm in the morning. Or if I plan to travel, book lunch at a nice place for 1pm, and put it in my calendar I just want it to be 1pm wherever I go, without caring about TZ changes.

Calendars, alarms, and reminders have some overlap here and floating time can be good for some cases.

hnick··on You can't just assume UTF-8
Oh yes true. Somehow I missed that important detail.
hnick··on Husband and wife outed as GRU spies aiding bombings and poisonings across Europe
I'm with them, I don't enjoy those scenes (in general - haven't seen the one in question). Not because I'm a prude, I just find them a little boring and they usually take too long - and often are immersion breaking themselves with how they clothe or position characters to appeal to TV decency standards. An implication and a fade away is enough for me, unless something pivotal happens within the scene itself.
hnick··on You can't just assume UTF-8
Based on my past role, you can't even assume UTF-8 when the file says it's UTF-8.

Clients would constantly send CSV or other files with an explicit BOM or other marking indicating UTF-8 but the parser would choke since they just output native Windows-1252 or similar into it. I think some programs just spit it out since it's standard.

hnick··on You can't just assume UTF-8
It depends on the domain. If you are writing calendar software, it is legitimate to have "floating time" i.e. your medication reminder is at 7pm every day, regardless of time zone, travel, or anything else.

Unfortunately Google and many other companies have decided UTC is the only way, so this causes issues with ICS files that use that format sometimes when they are generating their helpful popups in the GMail inbox.

hnick··on If Inheritance is so bad, why does everyone use it?
It really depends on what the code variation is, and it can often be a code smell, but I like just adding a flag to the method for simpler cases of this. No complexity or overhead, easy to reason and debug, and you can retain the current method signature with a default-case call to the new method, so no other refactoring required.

It can be inelegant, clunky, and terrible practice if you're doing two totally different things in the method, but I've had a lot of cases recently where it was a nice simple solution that made sense in the context we used it.

For me, one time I like that we use simple OO is a 'DeletedMyClass' extending 'MyClass'- it does everything the same, just has a DeletedDateTime property. A few pages will do an 'is' check (we use C#) and render certain things differently, but apart from that, they both get passed around interchangeably. You could argue you could add an IsDeleted flag, but the default case is that most things we deal with are not deleted, and they shouldn't have to even know about that concept. So to me this is a very useful minimal case of OO.

hnick··on Problem with selling developer tools is that devs have no purchasing authority
You need to present a business case. Offer to give up the coffee.
hnick··on The Reddits
It probably is here too, but people tend to self regulate a little better I think. The rules help a lot too.
hnick··on The Reddits
It definitely started years ago, probably around the time I really started using it. I visit /r/games sometimes and they have stickies around what you have been playing or game suggestions and without fail someone doesn't even read the topic at hand and just posts a random question.

Apps were mostly bad at showing sidebars too, they wanted to streamline the main view. They were there but I think a lot of users didn't know.

Anecdotally I seem to notice a trend on how grammatical/spelling corrections are received. If people generally accept them in good grace as a chance to improve, discussion quality can be decent. If they take it as a personal attack, or other people pile on (often with the classic "no one cares") ... well that's Reddit these days usually.

hnick··on FDA says marijuana has a legitimate medicinal purpose
Did you work out why you have the insomnia? I just got a referral to a psych that I haven't booked yet, and I believe mine is low-level anxiety based. I can be incredibly tired but my brain keeps turning around what-if scenarios in my head. Sometimes to the point my mind says screw it, I'm sleeping without you, and I start to hallucinate a little as though dreaming has started (which often wakes me up via adrenaline, phantom spiders do that).

Something like Restavit (available OTC here, doxylamine succinate) makes me feel "tired" but does not seem to help me get to sleep. It does reduce wake-ups during the night and makes me feel like a zombie until noon the next day though.

hnick··on The Reddits
People who seem to want to be offended. I hate the /s they've adopted. It ruins the joke by explaining it. I dislike the implication sarcasm cannot be conveyed via text. Hundreds of years of authorship and numerous popular works tell otherwise. But people do it to shield themselves from what sometimes feels like intentional misinterpretation.

Showing votes is possibly a huge contributing factor. It's well known they gather momentum.

hnick··on The Reddits
Largely the same here. Feel like I noticed a further decline in quality on the site after that happened too. It is useful for news aggregation but I don't like the discussion as much. But that could just be the trend continuing.
hnick··on Study puts fermented foods, not fire, as pivotal moment in human brain growth
Don't overdo the beer either
hnick··on Uber to pay $272M to Australian taxi operators
I had a similar issue when Uber was newer (I don't think they had XL) at SFO, the guy showed up in a little car, and was SHOCKED, SHOCKED, that we had LUGGAGE! At the AIRPORT!

He did not want that on his nice seat, and the trunk would not fit much either since he had his own stuff in there. Silly guy. He made us cancel, old trick, since that makes us pay not him. Support sorted it out.

hnick··on Uber to pay $272M to Australian taxi operators
Laws are not strongly typed.
hnick··on Uber to pay $272M to Australian taxi operators
Regulation is very lax here. Plenty of stories. The most basic being they won't unlock the door when you flag them until hearing where you are going - legally they have to take ALL rides unless they are in a shift changeover. If it's really far, like to a farm, I think they can ask for the return fee too.

Also, a booking isn't. It's like that Seinfeld skit. A booking is just an agreement to put your job out at the agreed time. Doesn't mean anyone has to take it. I live too close to the airport for anyone to want to take it, apparently.

hnick··on Uber to pay $272M to Australian taxi operators
Buses can be problematic if you're not used to landmarks. Train will be around $15 (there is an airport surcharge). I'd pay a few more dollars (the actual rate, not the ripoff rate) for point-to-point too as a local if I had more than 1 bag.
hnick··on How I replaced deadly garage door torsion springs (2002)
I guess it depends what you make it of, doesn't it? Growing up I had a typical corrugated roller door, it was very easy for me as a kid to open it with some of the weight supported by the roller. I think they have springs but they're not as extreme as the tilt/section doors. Apparently you can throw a motor on the end similar to roller blind kits, and they wouldn't have to deal with as much weight as a spring-based door. Of course, I do not live in an extreme weather area (yet).
hnick··on Thoughts on the Future of Software Development
From the perspective of the programmer, true. Not necessarily from the perspective of the manager/customer, who can say in broad terms what needs to be done, and the programmer-black-box spits something out.
hnick··on Thoughts on the Future of Software Development
It's my favourite part, except maybe debugging. I really like getting into the guts of an issue and working out why it happens which I suppose will be around for a while yet with AI code. It's a lot less fun with transient network issues and such though.
hnick··on Reverse engineering a car key fob signal
Interesting, I searched and that seems accurate, it doesn't seem to be the case here in AU though from what I've seen.
hnick··on Reverse engineering a car key fob signal
Ultimately, if it were a severe problem, wouldn't insurance premiums reflect this?
← PreviousPage 3 of 34Next →