Better HN
topnewbestaskshowjobs
Log inSign up

VBprogrammer

8,523 karma · joined Mar 16, 2009 (17y ago) · 2,630 submissions

Submissions

comment 11mo ago · link · parent

I still regard Office '97 as the best UI it ever had. I spent a lot of time inside it, including a couple of years at a bank reconciling corporate actions before I got my first programming job. The ribbon version was awful in comparison.

comment 11mo ago · link · parent

The IKEA instructions are generally regarded as a triumph of simplicity. Yet on more than one occasion I've come across cases where a few words in a call out would have prevented having to redo some step after later realising that some features had to be oriented a particular way - the pictures not quite conveying their intention until it was obvious in hindsight.

comment 11mo ago · link · parent

> Transformers don't 'trip'. Circuit breakers do.

I'm not sure what this pedantry adds. It's pretty common to say that a piece of equipment tripped for example whole power stations, a generator, a pump etc. When of course it's the circuit breaker protecting that equipment or even occasionally something like a physical over speed trip.

The pod drive architecture, and diesel electric more generally, only makes sense when the other benefits outweigh the efficiency losses of converting from mechanical to electrical and back again. It's very difficult to beat a shaft connected directly from the flywheel to the propeller.

comment 11mo ago · link · parent

Almost all languages provide a method of calling C generated code for sure. But, as I understand it, this is usually a more tortuous path than straight ABI compatibility.

comment 11mo ago · link · parent

I haven't ever had to do anything serious in C but it's hard to imagine getting it 100% right.

A while back I wrote some C code to do the "short-bread" problem (it's a bit of a tradition at work to give it to people as their first task, though in Python it's a lot easier). Implementing a deque using all of the modern guard rails and a single file unit test framework still took me a lot of attempts.

comment 11mo ago · link · parent

Zig has been in the news a lot recently but I haven't explored it much other than a few tech talks which seemed interesting.

I wonder if this is it's killer feature - compatibility with the C ABI.

comment 11mo ago · link · parent

It's interesting but it's just an automated system build on top of the existing pod drive architecture which is there for the reasons I suggested.

Interestingly, there are situations in which it might be helpful where it wouldn't have worked. For example, the Francis Scott Key Bridge incident. The vessel suffering from a blackout caused by a transformer being tripped by a single loose wire.

comment 11mo ago · link · parent

Pods are used primarily for manoverability. This allows Cruise ships to get in and out of ports with a minimum of assistance (none at all, if conditions permit). This is important because they are entering and leaving ports every day or two. It also makes sense as the hotel loads on these floating skyscrapers is similar to the propulsion loads so having combined main engines and generators gives other advantages.

Ocean going container vessels on the other hand use massive direct drive two stroke diesel engines (usually they only have a single engine). They have no gearbox. The only way to go-astern is to literally start the engine in reverse. This can only be done up to a limited speed, otherwise the windmilling effect of the water passing through the prop would overpower the starting air.

Suffice to say, I'd put a long bet on the overwhelming majority of containerships being powered by internal combustion engines in 30 years time. If we get our act together we might have come up with an alternative / synthetic fuel by then but I wouldn't hold my breath.

comment 11mo ago · link · parent

In fairness most cars get taken for scrap with an engine which starts and runs. Even when they are running a bit rough it's more often fueling and ignition components than a mechanical problem with the engine components.

That said, the synergy drive is by design a very robust mechanical system. It has no dog gears, clutch or torque converter. I'm sure this contributes a lot to their long life.

comment 11mo ago · link · parent

I wonder how much affect this has had in the Christmas trade for the entertainment industry. Back in the early 2000s it was common to buy a comedy DVD or a TV series for a family member or friend.

Now people who own DVD / Blu-ray players are a rare breed.

comment 11mo ago · link · parent

I occasionally like to see what the highest mileage Toyota Prius I can find for sale is. They are obviously used as taxis and it's common to find one for sale with half a million miles.

Usually at that point someone puts in a new hybrid battery and sells it to someone else starting out driving Ubers.

comment 11mo ago · link · parent

If you take as a given that consenting adults should have access to sexually explicit material generated by other consenting adults; the potential for harm to adults is huge with the current implementations.

Can't wait for the headlines when the entire watch history of some famous person is released after someone recognises them in their "age verification scan".

It's about the only good thing which could come out of digital ID. Being able to proved proof of age in a double blind way.

comment 11mo ago · link · parent

Fat A-pillars is a noticeable problem on modern cars for sure. But the thing with A-pillars is that you can see around them if you use sufficient care to move your head. It is impossible to lift your head high enough to see a small child walking past a vehicle where the bonnet (hood if you prefer) is at an adult males chest height.

comment 11mo ago · link · parent

I not really talking about general styling, I'm talking about the specific models being available. A lot of this might better be described as the world becoming globalised rather than the US cars becoming more European. But the end result is the same, many of the best selling US cars must meet or exceed European safety standards.

At a rough count a list of the best selling 25 cars in the US, 16 of them are available to buy in the UK that I know of (including cars like the Jeep Wrangler which are obviously American classics).

Most of the different is Trucks and full-size SUVs. And a couple of Chevy's which gave up on the UK market a few years ago. So either pedestrian fatalities are concentrated in those areas or there are other factors at play (road design, driver training, enforcement of rules etc).

comment 11mo ago · link · parent

> The visibility from the driver seat is not only much worse than our actual semis, but also worse than actual tanks. You could have half a kindergarten and a small vehicle in front of your car without knowing.

Yeah, mentioned in a comment, driving a Ford Expedition on holiday in the US I almost hit a hit walking down the sidewalk.

It literally had better visibility going backwards in the rear view camera than it did going forwards.

comment 11mo ago · link · parent

Yes. Congratulations, it appears you can read.

comment 11mo ago · link · parent

Whether they like it or not, American cars have become a lot more European over the years. I wish I had figures to back it up but from my own anecdotal experience when we traveled to the US when I was young almost every car was different and, for me at least, this made it feel strange and exciting.

Taking my own kids back there this year, most of the normal cars were common, or at most variations of the ones from Europe. Even many of the vans and work vehicles are now common European shapes, occasionally with a different badge. Trucks and full size SUVs were the last hold outs of US specific models.

Which makes me wonder, are the pedestrian deaths really heavily weighted towards these models?

For what it's worth we hired a full sized SUV. There was one point where I was about to drive out of our Villa's driveway when my partner shouted "wait!" There was a 8ish year old kid walking down the sidewalk towards where I was about to cross it who was completely invisible from the driving position. It was actually safer to forward park that thing because the visibility in the reversing camera was much better than driving forward.

comment 11mo ago · link · parent

The funny thing is that Mickey Mouse barely registers for kids these days. We went to Disney World this year and Mickey had a bit part in some of the shows. Elsa, Moana and the other modern characters were the real stars.

comment 11mo ago · link · parent

I stick to Anker for cables, batteries and chargers. I'm sure they've had their own issues but everything I've bought feels well made. The only one I've had an issue with was a USB-C to everything else adaptor which weirdly stopped working after a week or two. I was surprised to find that their support was based in the UK (Cardiff if memory serves) and very efficiently processed a return and replacement.

I've watched Big Clive's videos for too long to trust no-name Chinese things with anything involving mains potential or energy storage.

comment 11mo ago · link · parent

Funny story. I started doing the couch to 5k running plan a few years back in January. Come March I realised I'd actually managed to get a tan (living in the outskirts of London, UK being further north than practically all of the inhabited North Americas).

Just being outside in whatever the weather consistently for 30 minutes or so every other day.

comment 12mo ago · link · parent

And someone else will use the idea that this is a misconception to justify putting hundreds of lines in one function.

Some junior dev will then come along with his specific user story and, not wanting to tear the whole thing up, will insert his couple of lines. Repeat over a 10 year lifecycle and it becomes completely unmanageable.

I remember trying to tease apart hundreds of lines of functions in a language which didn't have the IDE support we have these days. It was always painful.

Even the most script like functions I've ever worked with benefit from comments like:

  # Validate that the payment was successfully sent.
These subheadings can just as easily become functions. If you limit the context in each function it becomes a genuine improvement.

comment 12mo ago · link · parent

Working within the limitations of a medium is a skill as old as time. Often work arounds for the limitations become design features that people come to expect. 3d prints typically use more chamfers than fillets for exactly this reason.

Most of the hobby grade printers are FDM, it's unlikely we'll evolve beyond the limitations of layer lines being a few tenths of a mm. UV resin printers however aren't ridiculously expensive and they have small enough layers that it's completely doable.

comment 1y ago · link · parent

Though, if I was the author the speculation about the restart time would have me breaking out a timer.

comment 1y ago · link · parent

People don't maintain HAM clubs for the potential use in an emergency, any more than people learn to fly in the hope of being able to rescue a commercial aircraft when both pilots are incapacitated.

They enjoy HAM radio as a hobby in and of it's self. It's doesn't come free to the government either, I'm sure some HFT organisation would pay handsomely for some of the bands currently used by HAM radio.

comment 1y ago · link · parent

No one is truly blinding you. Even old incandescent headlights can be unpleasant. Some people are more sensitive to it than others and things like a car coming over a slight hill or bend in the adverse direction can change the alignment of the lights in such a way that they appear much brighter.

The point I was trying to make is that reducing the brightness isn't a simple trade off. How many accidents are caused by people being "blinded" vs people not seeing something until it was too late?

If it needs regulation to fix then that regulation should try to balance those things. Perhaps by automatically adjusting the headlights when another car is detected (maybe matrix style headlights, or a simple angle adjustment).

comment 1y ago · link · parent

Hmm, I mostly drive in the English countryside where most often there are hills and bends, bushes and trees, houses and hedgerows. Seeing another car a mile away would probably mean both are heading into a wide valley, in which case the geometry makes it less important.

That said, I'm still not convinced your truck isn't doing the right thing. Even a mile a way you've got perhaps 30 seconds before you are passing each other. Is there much to be gained by leaving them on for a few more seconds? Seeing another car heading towards me is a much clearer and less likely to be forgotten trigger than "ok, about now my lights are probably getting annoying".

comment 1y ago · link · parent

What reason would people have for maintaining equipment capable of receiving radio though?

comment 1y ago · link · parent

I have a car with LED lights. It's easily the best car I've had for vision at night. We very occasionally get someone flashing us at night, wrongly believing our high beams are on.

However, from a safety point of view, I'm not convinced the trade off is actually in favour of reducing illumination for everyone.

comment 1y ago · link · parent

I dunno, maybe where you live is a lot flatter than the roads that I drive on, but the instant I see a car coming the other way (ideally before they come into direct view) is the time to turn off full beams.

Though from a game theory point of view, leaving them on for a couple of seconds is probably ideal to remind anyone who forgets to dim their own headlights.

comment 1y ago · link · parent

Just replaced a £500 IKEA combi microwave because the main circuit board is just behind the grating at the top of the door which had gotten dirty and had been slightly more enthusiastically cleaned by my partner than it was designed for.

It would have been a 10 minute job to change the circuit board but I only ever found an old advent on a Polish website. Apparently it's discontinued.

I refuse to believe every model needs a completely custom main board but there you have it.

1
567
88