HNHacker News
TopNewBestAskShowJobs

Tor3

3,025 karma · joined August 31, 2018

submissionscomments
Tor3··on Why does the arrow (->) operator in C exist?
As was mentioned in one of the comments which actually described what the real cause was, it came from the original Ritchie C which had a syntax which in some cases differed a lot from what eventually became C. And in that version it did make sense to use a different operator. That reason disappeared when C as we know it came around, but the -> operator stayed. The real question is then why that wasn't reworked as well, when the underlying cause was.
Tor3··on Nobody understands the point of hybrid cars [video]
> The engine [...] neds constant maintenance and fluid changes.

I drive my ICE to the dealership once a year, and one hour later the above is all done (in the meantime I drink coffee and read a book nearby). Once a year. I wouldn't call that "constant maintenance and fluid changes". It's "yearly", as in "once a year".

I will be getting an EV in the future (we're setting up our house with solar and a V2H system - Vehicle To House), but that's not because an ICE needs constant engine maintenance. It doesn't.

Tor3··on Nobody understands the point of hybrid cars [video]
As others said, Norway isn't that cold - the ocean is pretty warm. That does mean, however, that the temperature varies greatly with how far you are from the sea. Go far enough inland and it can get cold. -30C or, even these days, some places much colder, though only for shorter periods now (global warming). Most places are barely as cold as -10C, which isn't much of a problem for batteries. And it's often a bit warmer.
Tor3··on Nobody understands the point of hybrid cars [video]
> ..that ICE vehicle users do not have to ever think about.

Well.. the comment you replied to said "-40C" (which is about -40F too, AFAIK), and, back in time before global warming really hit, a friend used to live and work in an area where it was -40 nearly every day, from late October till March. At least that year I visited that place. I and friends arrived at nighttime and he picked us up at the airport and brought us to where he lived. His car was a small utility car he used for work.. a diesel car. When we unpacked and went inside, he didn't turn off the engine.. when asked, he said he had done that mistake in October (this was now late February), and had to tow the car to a garage, as the diesel fuel had all turned into wax (and this was diesel with cold-weather additives). So, since then, he never turned off the engine. It ran 24/7, for months at the time.

(These days it's much much warmer there, not cold at all, so the above is an anecdote from back in the old days, by now).

Tor3··on Nobody understands the point of hybrid cars [video]
> I do see some use cases where hybrids may actually work better, like very long daily commutes in a region lacking charging stations.

That's exactly it, and why hybrids are very common in China outside the urban areas. Here in Japan there are still a lot of hybrids, and I and my spouse drove one (a rental) for a few days, in an area just like that - no charging stations, and, as we were basically tourists, no home charging options either. It was like any other car most of the time, except for the display showing how the battery got recharged whenever braking.

The interesting part came when we were finished with the trip and, as one has to, filled up the tank to 100% on the rental.. and it was almost nothing. Just had to top it up a little bit, that was all.

Tor3··on Japan is gripped by mass allergies. A 1950s project is to blame
In Japan, however, it's almost always very humid. Today, for example, it's over 70% relative (when the sky was still clear and mostly blue, now it's raining so it's much worse). And, as said in that article, there's a lot of allergy in Japan. My wife (native) has a little bit of it, and I myself also reacted for a while, but given time it seems to have left me (as I mentioned elsewhere I grew up on a farm with exposure to everything and I never had an allergy before).

There's one guy I know who lives more or less in the middle of a forest with both Sugi and Hinoki, and he's suffering a lot. But he still likes it much better there than in the huge city where he grew up. I noticed that among the locals in that place (just a bunch of houses, not even a village) I didn't see anyone else with that kind of allergy.

Tor3··on Japan is gripped by mass allergies. A 1950s project is to blame
I grew up on a farm and was constantly exposed to all kinds of soil, vegetables, animals, trees, well forests, grasses and hay.. and I never had any kind of allergies. However, when I moved to another European country I had severe reactions to the local mosquitoes. Not that it was itching very much or anything, just that it was bleeding like crazy. I would wake up in the morning and look like I had been through an especially messy vampire attack during the night. Bloody forearms, ankles.. It took a year, and then I got used to it and stopped having any reaction whatsoever (same as in my home country). No bumps, no itching.

Then Japan.. and the same happened, with the local mosquitoes. Bleeding like hell. It took slightly longer, but I did get used to that as well, so now there are no problems.

And.. I got itchy eyes when I travelled to Japan. As I said, I've never been allergic to anything. I didn't have sneezes or the like, but it was problematic. I tried to wash my eyes with salty water every day, and I got eye drops.. this went on for several years while I kept visiting Japan (I always stayed for long periods). Last year I finally concluded that it was actually the Sakura trees.. (The Cherry Blossoms) which caused it. And this year the symptoms are close to non-existing, so I'm concluding that I'm getting used to that as well (and I have visited Sugi forests many times over the years too, and no problems there). Hopefully.

Tor3··on Japan is gripped by mass allergies. A 1950s project is to blame
My father also developed allergies in his sixties. And it got worse and worse. Soon he was becoming lactose intolerant as well, and had to start with gluten-free food. He could never be near oranges, unless they were grown without pesticides - the remains on the outside was enough to trigger a reaction. Then he couldn't eat farmed salmon, though he could still eat wild salmon. But there was more and more wild fish he couldn't eat either, which did hurt a fish lover like him. And on and on it went, until he was severely limited to what he could eat and what he could get exposed to.

Then one day he noticed that the mayonnaise he enjoyed every day contained a conservation additive (an E-type, as is how they're labelled in Europe) which he knew he used to have some reaction to in the past, another food product included it and he had avoided that one since like forever. So he quit the mayonnaise when he noticed that. But what happened next was astonishing - all his allergies, lactose intolerance and everything disappeared, and not much later he didn't have any issues with anything.

Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
As the sister comment said - this was common in the past a lot of places. Maybe everywhere. My left-handed father was forced to learn to write with his right hand.
Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
But it is a thing. That's how it was always explained in school, among other places, when I was a kid.
Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
You're right-handed, right? It is more natural to move your hand in counter-clockwise circles than the opposite. People who have never swirled pasta or anything like that will feel the same if you ask them to make swirling motions with their hands. Inwards is easier - clockwise with your left hand, counterclockwise with your right hand.
Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
I'm like that, except for those things I can do both ways, because it's useful and sometimes necessary - like using a shovel. There are a bunch of things I only do with either the left hand only, or the right hand only. A right-handed friend always throw balls with his left hand. Most other things he does with his right hand.

I'm right-handed. I'm definitely sure of that. It's just that what hand I use depends on which hand I start with from the beginning. And that'll be the preferred hand, except for things where it's natural to switch from the very beginning.

But there are also some things I've learned to do with both hands much later, e.g. washing dishes - there was a reason for having to do that for a while, and now I just switch when I like it, or if the kitchen happens to be arranged in a way which makes one side more preferable.

(BTW, when building carpenters still used common hammers it was completely normal to use either hand, as access space may be limited and there's basically no choice sometimes.)

Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
That's because after you've learned to drive, everything the feet do is muscle memory. You don't consciously adjust the pressure (you just believe you do..), so switching around the pedals will need re-learning. And indeed it's common among rally cross drivers to learn to use the left foot with the brake pedal as well.
Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
The French Horn is played left-handed.
Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
Generally agreed, except for the "Anyone" - because people really are different. I'm familiar with a few people (from very young to adults) who are extremely one-handed. The other hand is nearly useless, except for holding and supporting. Those individuals will typically turn newspaper pages or book pages using their right hand (if they're right-handed, and one guy told me that he didn't trust his left hand with a fork to actually hit his mouth, so he used a knife+fork the opposite way of most right-handed people. These people are in a minority, but they exist.

Then there's guitar.. some, or actually most left-handed people can learn to play a right-handed guitar if they simply start with a right-handed guitar. But there are also some people (some of them very well known) who tried learning the guitar for a very long time, and couldn't. Until they switched to a left-handed guitar. (Why it's natural to actually use the left hand for something which looks complicated - fingering, and the right hand for something simple - strumming - has been discussed forever. Apparently that's because a right-handed person typically has better timing in their right hand, and that's why it matters).

Tor3··on Why is almost everyone right-handed? A new study connects it to bipedalism
I'm right-handed, I'm pretty sure of that. But it's also an observed fact that if there's something I'm not used to to yet then it doesn't really matter which hand I start doing whatever it is with, if it's the right hand that'll be the preferred hand for that activity in the future, or if it's the left hand then that'll be the one. Things I do "both ways" I can do.. both ways.
Tor3··on Mercurial, 20 years and counting: how are we still alive and kicking? [video]
For understanding git internals I went through "Git from the bottom up", a simple document with examples you type in, just to see what's going on. Many of those examples are raw git commands, nothing as sophisticated as "git commit". Easy to read, doesn't take long, but leaves behind an understanding that isn't maybe fully obvious at the time but makes everything much easier, forever. I've recommended that method to many coworkers and it seems to work well for most people. It doesn't need hours of reading either.
Tor3··on Mercurial, 20 years and counting: how are we still alive and kicking? [video]
Same. I absolutely don't use git for snapshotting what I'm currently doing. That goes both for work and for my numerous hobby projects. I always cultivate commits so that they're focused on a single type of change or feature, and then the next commit is typically something which uses that feature, etc. I don't mix in whatever else I'm doing - be that whitespace changes, update comments elsewhere, or other features I'm working on. This helps tremendously when (as I do) I leave my hobby project for a while and then I come back months (or sometimes years) later. And, both for work and for hobby stuff, if I want to add something, e.g. support for a new function, and I had done something similar in the past, it's easy to look at the particular commits about that from the past, and I can see that I need to update this, this, and this file so-and-so, and with these kind of changes. I don't have to wonder about what belongs to this feature and what doesn't.

Oh, and I use git add ---patch almost exclusively. It's rare that I just do a "git add". I'm building up my stage, I'm checking it, I'm fixing it (if I accidentally stage something which doesn't belong), then I commit.

Having done it like this for a great many years I'm benefitting from it all the time. I can look at all my hobby projects (looking at the commits), and I'm back in where I left off, and I see excactly what I was doing back then (which, obviously, I wouldn't be able to rembember otherwise).

CVS though.. that was harder to do right. So a lot of stuff became just snapshots. You had to plan much more carefully. And then there was SCCS before that.. and before that again, well. Manual "keep two versions" svc.

Tor3··on The Real Story of Troy
Yes, I remember reading that - though it was just a passage in one book in the "Orion" series (that series also had an idea about the "real" Noah's Ark - that it was seeds and plants collected and saved in a hurry from a valley just about to be flooded. That would be from an early attempt at plant domestication).

The "horse" part of the siege tower idea was that the towers would be protected against fire etc. by horse hides.

Tor3··on Getting arrested in Japan
And today I read an article in a Japanese newspaper about an innocent woman who was detained for two years, because an interpreter translated a word incorrectly. And, apparently, deliberately. It finally went to court after two years (one must wonder how this is possible..) and was aquitted (with a comment that translation is supposed to be accurate and faithful).

In the same article it was described how interpreters would believe that their job was to extract a confession. Recently an organization is trying to educate interpreters in ethics and what an interpreter's job actually is - to translate, and only translate.

Tor3··on Getting arrested in Japan
The short version of the Japanese justice system is "Guilty until proved innocent", instead of (as in most modern countries) "Innocent until proved guilty". In addition to that, focus is much more on confessions instead of investigation - the latter exists of course, and is used for finding the culprit (as happened when we had a burglary at our house. They got the guy one year later). When someone is in custody though.. then it's about getting a confession.

This can definitely be problematic, particularly when considering the conditions during custody. No lawyer.. or much of anything, except massive psychological pressure.

Tor3··on PipeDream on the Acorn Archimedes
The success of ARM vs other RISC CPUs (as was asked in the article)

As to why ARM succeeded so greatly and is still among us as (originally) a RISC CPU, unlike SPARC, MIPS (the list goes on), it was because of its extremely low power requirements - something which wasn't even in the minds of the two designers at the time. However, when they first wired up the first chip and tested it, they noticed after a while that even though it worked, power had not been applied to the power pin.. it ran purely off parasitic power from the data lines.

So, it started to be used in portable, battery-powered devices, like first the Newton, and later all kinds of PDAs and then phones. After a while the yearly number of ARM CPUs sold numbered in the billions, more than any other particular CPU.

"Deeply puzzling, though, was the reading on the multimeter connected in series with the power supply. The needle was at zero: the processor seemed to be consuming no power whatsoever.

As Wilson tells it: “The development board plugged the chip into had a fault: there was no current being sent down the power supply lines at all. The processor was actually running on leakage from the logic circuits. So the low-power big thing that the ARM is most valued for today, the reason that it's on all your mobile phones, was a complete accident."

Wilson had, it turned out, designed a powerful 32-bit processor that consumed no more than a tenth of a Watt."

https://www.theregister.com/on-prem/2012/05/03/arm-creators-...

Tor3··on LinkedIn is scanning browser extensions
None of our new hires the last few years had anything to do with Linkedin though. As for myself, I deleted my account around the time when it started to try to look like a Facebook feed.
Tor3··on Email could have been X.400 times better
I used to have a book laying around - it had, or tried to have, all the email addresses in my country. Like a phonebook for email addresses. That approach didn't last long.
Tor3··on Email could have been X.400 times better
Well, Teams is like that (not "I have wifi issues", but "I have Teams issues"). Even more so after teams.microsoft.com moved to teams.cloud.microsoft - never got the mic or speaker to work after that. Before, it was kind of random.

Zoom, on the other hand.. I have weekly Zoom meetings and never had do to the "can you hear me" thing. Or in fact with basically anything which is not Teams.

In any case.. it's not the network, it's the application/service.

Tor3··on Alberta startup sells no-tech tractors for half price
The one I drove (and a much older MF as well) had both. A lever on the steering column, as well as a foot pedal. I've never seen anyone without one elsewhere either, maybe they were only sold that way in my country.
Tor3··on Alberta startup sells no-tech tractors for half price
I went through my teenager years driving one of those MF 135 machines. A very versatile tractor. I enjoyed driving tractors (including a much older MF), when I eventually got my car's driver license some years later I found that driving cars weren't really that interesting.

During certain kinds of driving gear shifts became.. tricky. That's when I learned how to double-clutch, something I kept doing on cars as well, for many years after (think going steep uphill on snow and then having to shift into first gear without stopping)

Tor3··on Sauna effect on heart rate
First, you don't need to go through any kind of "detox" regime. That's myth 1. The liver is where natural detoxing occurs, and the kidneys filters the rest. Don't focus on detox, instead focus on keeping your liver healthy (alcohol, fat..) Secondly, the sweat glands don't have any kind of functionality outside of pressing water out of the body. The water may happen (depending on how small the molecule is) to bring other stuff with it, but that's hardly "detox". Just pee instead! The whole "detox" trend is just that - a trend, a meme. Focus on other elements of health instead, eat healthy, and don't interrupt that with some tiktok "detox" scheme.
Tor3··on Sauna effect on heart rate
Yes.. my point was only that to get rid of more than water you're better peeing than sweating. In any case, the liver is the only toxin-handling organ in the body (and a complex one).
Tor3··on Sauna effect on heart rate
As someone with access to both Japanese ofuro and sauna, they are quite different in some respects. And similar in others. One thing which a sauna could do for me when the ofuro could not, was to fix a problem I had with coughing. Something which plauged me for a long time, and which the doctors couldn't find any reason for, but I had such painful daily coughs that it really bothered me. Couldn't sleep on my back either. Then I noticed that if I used the sauna daily, and carefully breathed hot air, the symptoms lessened. And after going for the daily sauna regime (instead of occasionally) for some time, the coughing problem I had for years finally disappeared. The hot baths did nothing for this (but was good for other things, e.g. muscle pains. And essential for being able to sleep at cold winter nights in non-insulated Japanese homes.. heating up the body with a very long very hot bath does wonders)
← PreviousPage 3 of 34Next →