HNHacker News
TopNewBestAskShowJobs

dognotdog

678 karma · joined January 11, 2014

submissionscomments
dognotdog··on In Defense of Bad Ideas
I'd say it is due to incompetence, but not as much the individual engineer's as failures of the organization, though I have seen plenty of people not doing the job they're qualified for. These failures stem from plain mis-management, political turf wars, and misaligned incentives -- cost-cutting being the most obnoxious driver, causing a landscape of balkanized teams to fight for resources and engineering concerns becoming an aftertought.
dognotdog··on I trick my well-developed procrastination skills
That is the best possible 3rd paragraph. Thank you, I needed that chuckle/snort.
dognotdog··on Building a PC, Part IX: Downsizing
Seems like quite a few people built PCs because Apple's desktops have been atrophied, that definitely played a part for me, too :)

I've designed a water cooled mITX system with PCIe GPU that should've fitted into a 2DIN car radio slot, which is doable with a deep enough slot, a PCIe riser, and even a DC/DC power supply in the box. I never got around to actually building that due to life getting in the way, but the components ended up in a laser-cut acrylic cube crammed as small as can be. I have to say the laser-cut acrylic case works quite well, and is well within reach of anyone with a maker space close-by and basic CAD skills.

TL;DR: anecdote about SFF PC building.

dognotdog··on Phoenix LiveDashboard
It's interesting, I started out seriously programming in C++, then took to Smalltalk, Lisp, Io, as exploratory languages, doing more work in ObjC, and eventually Erlang and now Elixir, and I do like the Elixir compromise of some typechecking, though indeed it is a little cumbersome.

Especially doing embedded work, and without doing proper mockups and test driven dev, the turnaround time with uploading code, rebooting the device, and waiting for a runtime error is quite long, and more compile-time error checking could help.

However, I also feel like types are more important to JITs and compilers optimizing high-performance numerical code, and dropping to C to do that with Elixir's FFI is thankfully simple enough.

I'm quite ok with Duck-Typing, as it does help me to iterate fast, even if it doesn't help the computer go fast :)

dognotdog··on The Io Language
Io has been around for a long time, indeed. I thought it was great, writing an Io interpreter in C was a lot easier than almost anything else, so for learning language internals, it is awesome, and I'd even say a great companion to LISP, to play around with how different first principles affect programming -- something that is obscured in mainstream languages, making it harder to learn how the guts work.
dognotdog··on Not everyone has an internal monologue
Interesting, that's what I'd typically think of as daydreaming, but it definitely doesn't feel like an always-on thing, as I definitely don't verbalize a lot of things internally. Which does pose the occasional problem when I'm asked to explain something :)
dognotdog··on Comments on the MISRA C coding guidelines (2011)
While many items in MISRA are sensible (some I do find quite counterproductive, if code quality in terms of readability and maintainability is also a concern), I have seen MISRA standards being applied to a legacy embedded codebase with terrible effects. What was being done, for example, was putting explicit typecasts everywhere a warning popped up respective mismatched integer sizes or similar, instead of refactoring the code to improve variable typing.

The best end result was largely unreadable code. Why? Because the junior developers tasked with the MISRA compliance efforts were measured by reducing the number of warnings instead of improving code quality.

The bonus was actual breakage in the field, as the test coverage of the legacy code being converted was particularly abysmal. But not to worry, another junior dev was tasked with creating unit tests for every function! With a codebase unsuitable to unit testing through fuzzy interfaces, that effort was about as effective as one would expect, too. </rant>

dognotdog··on Tesla Cybertruck
... and I'm just sitting here wondering if the rims really are not round (as it's interlock the tire design seems to indeed indicate), and why on earth one would do that?
dognotdog··on MacBook Pro 16" 2019 Teardown
Interesting, I work on a '14 MBP and one of the new full size magic keyboards, and while the MBP feels slightly softer, I never noticed any discomfort or annoyance, and didn't know the '15 had a significantly different keyboard.
dognotdog··on 16-inch MacBook Pro
Interesting to note that the T2 chip in the new MBP supposedly contains the HD/Flash controller that used to be a separate IC -- according to the specs page. As it's a pretty fully featured SOC in its own right, that might make it easier to get to the HD in case of main CPU/RAM failures.
dognotdog··on DJI Mavic Mini
Indeed, a large part of my wall decorations is photos from travelling... not a single selfie, though, most are entirely devoid of people :)
dognotdog··on Volkswagen’s plan to create a new car operating system
Balkanization is about right. In my experience developing driver assistance systems, there are enormous efforts spent on political turf wars instead of proper design and engineering.

This is not surprising, as the team structures, at least as of a few years ago, were traditionally set up with tradtional manufactirng in mind, around parts and control modules, while the functionality exploded (within 1 or 2 generation of cars) and crossed those boundaries without adequate processes in place properly architect the interactions from a bird's-eye view, creating major computing power, network bandwidth, and most importantly to OEMs, cost bottlenecks.

And as cost is king, nobody wants to budge on increasing cost on their own module, and critical architectural decisions aren't made as much as put off until there isn't any other choice left except to hacking in the most critical bits with one eye closed and hoping somebody else's jenga tower falls first.

That, I imagine, is how you get that GPS time thing, I can see how it all started: "Oh, I can save $.30 on my module if I don't put in an RTC, that'll get me a nice bonus for cost saving, GPS is going to have one anyway ..."

dognotdog··on The Rise of the Electric Scooter
Back in ca 2001-2005 I used to work my summer nights for a tiny electric scooter rental place that had about 10-20 working scooters at a given time, renting them out to tourists at a lake, and they were fun, especially after learning how to tune the controller for a nice speed boost (for staff use only, of course). There were no serious accidents in all the time I worked there, even though the main customers were flip-flop wearing tourists and kids, driving these for the first time in crowded pedestrian areas.

For all intents and purposes, they worked and felt like the modern scooters, except that they had quick swap, fast charge AGM batteries. If we wanted to run an errand the next town over that would exceed a 30-40min ride (30min was a typical rental period), we'd just pack some extra batteries!

Those scooters were custom inventions, but larger scale commercialization never got anywhere and the business eventually died because of the battery tech being too cumbersome for consumer use, and the same legal questions that still plague us today, though it seems like electric bike usage the past 15 years has allowed at least some legislatures to give alternative powered transport a chance. As they should, as replacing large lumps of metal moving through our cities at unsafe speeds with much smaller lumps of metal moving a lot slower can only be a good thing for residents, pedestrians, and the environment.

dognotdog··on WikiWikiWeb
I guess I'm one of those old people now who actually does remember reading about software patterns on the c2.com wiki, and being amazed by it, before Wikipedia even existed :)
dognotdog··on The Heart of a Swimmer vs. the Heart of a Runner
Thanks for mentioning that, this is something I often wonder about, as this is at least often left out of the press. I don't know how/if the underlying research accounts for it, but I'd be very happy if such statistical complications were mentioned more often to show hard it is to get the science right.
dognotdog··on Amazon buys PillPack, an online pharmacy, for just under $1B
Commingling is certainly something I wasn't aware of, it looks as if most consumers are in the same boat.

The idea that FBA doesn't actually get me parts from the seller I picked has never crossed my mind. I certainly wouldn't have bought quite a few things if I knew that possibility existed.

dognotdog··on Modern vehicle headlights temporarily 'blinding drivers'
Dimming by reducing current in LEDs instead of PWM can be very non-linear with respect to light output, brightness can vary significantly between LEDs being given the same current (as is typical in a headlamp, with at least 4-8 individual LEDs being driven by a single driver), and temperature dependent, plus it can cause significant color shift. Long story short, reducing current for dimming groups of LEDs is largely non-practical.
dognotdog··on Police chief said Uber victim “came from the shadows” – don’t believe it
Notwithstanding the fact that a typical visible light imager in a driver assistance system alternates exposure times between frames, especially at night: one over-exposed image to discern dark texture, and one under-exposed image to find the color of point light sources, such as traffic or brake lights.

The released video looks like the latter, though it could also just be standalone dashcam footage. It is also pretty mangled by compression, especially the dark parts are just completely blocky, so it is probably not a good indicator of what the vehicle saw.

OTOH, bikes can be notoriously hard on image recognition, for example it is not unheard of that reflective rims are interpreted as continuation of a curb or lane marking. LIDAR and RADAR should see them, though, and they probably did, so it is indeed unclear where it all went wrong.

dognotdog··on Accessing Publicly Available Information on the Internet Is Not a Crime
I doubt a bot could legally agree to a license put into robots.txt, even if it were able to make sense of it, and a human is never expected to read it.

The purpose of robots.txt is to guide bots away from circular links and such that would result in bogging down the site and causing undue amounts of nonsense traffic.

The purpose of robots.txt not access control.

EDIT: typo fix

dognotdog··on AMD Finally Pushing Out Open-Source Vulkan Driver
I cannot think of a single use case from the top of my head where I wouldn't prefer Vulkan over modern OpenGL. In my experience it isn't actually harder to use, even though it's technically "lower level". However, I see the next useful level up from Vulkan not in OpenGL, but an actual 3D engine like Unity, which manages state more usefully from the application's POV than OpenGL.
dognotdog··on Australian uses snack bags as Faraday cage to block tracking by employer
Personally, I would not agree to being tracked by an employer, unless there was a really good reason, e.g. safety concerns, as it invites abuse of power, even unintentionally.

Stuff like this exacerbates disrespect, distrust and suspicion in employer/employee relationships, in a way I believe no one benefits. Employers tend to use these tools to aggressively police minor infractions, though pretending to only want to catch the few bad apples, driving away the good employees in favour of those who think they can game the system anyway with a tit-for-tat mindset.

In the end trust is eroded, everybody is unhappy, and the underlying issues as to why those bad apples aren't doing their jobs in the first place is never resolved or even investigated.

dognotdog··on Fossil – Next Generation
That's the beauty of fossil... you hardly need one! Most aspects (wiki, issues) those services offer can be in the local repo, always accessible.
dognotdog··on Men at Work Wonder If They Overstepped with Women, Too
I can see risk of that gray area: as long as everybody is on good terms, misunderstandings and unintentional wrongdoings are quickly righted, but when either party is antagonistic, that no longer works, and things can get ugly in both directions: unintended harm as well as false accusations both have real consequences.

But, human interaction will never be without ambiguity, and we cannot eliminate the risk of being misunderstood or deliberately misconstrued without (especially) marginalizing those who are at a disadvantage in the first place.

I feel like this is the right way to approach things: treat everyone respectfully and responsibly, even if there's a slight risk to it. (As a strawman: "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety")

dognotdog··on iPhone 8 Plus Camera Review
I think once the smartphone's internal capabilities are exceeded, a "System" (as in put together from multiple parts) DSLR or Mirrorless has more advantages:

- if you need more parts, eg. flash, you go from having one thing in your pocket to carrying a bag anyway

- dedicated UI and buttons for adjustments while shooting without having to look away from your subject or having to change your grip

- much larger sensors means more light to work with during shooting and post-processing - dedicated glass that you can't quite yet replicate with light-field tech

The smartphone can do many of the things a dedicated camera can, it's just not as good on almost all fronts, and much worse in some aspects. You can under more and more conditions get images that rival DSLRs, but not ALL condititions: If you can control time, light, and subject all at once, a dedicated camera can be matched. If you can't control of only one, grab a dedicated camera.

The tactile UI is one major gripe against smartphone photography for pros and enthusiasts alike, which is why a phone to some extent needs to be smart/automatic, and while today's image sensors straight beat the pants off any predecessing image sensors, physics still poses hard limits on noise and light capture.

Today's image sensors are very close to be able to count individual photons, and making the sensor larger means being able to capture more of them at a time. Tricks are being worked on to extend dynamic range and lower noise (like double exposure HDR), so image quality still increases, but the larger image sensors profit from those developments just as much as the small phone ones. The days of small image sensors being good enough to beat a human eye are still far off.

TL;DR: dedicated tactile UI, physical interfaces, physics, can't quite be beat by all the high-tech we can pack in a smartphone package.

dognotdog··on 1Password Travel Mode: Protect your data when crossing borders
No, it's not. That's similar to saying just stay away from bullies, or leave if you don't like your job/school/whatever. It is easy if you view the issue in isolation, but for a lot of people it is more complicated, such as how will you see your loved ones / do your job / travel freely? In this case, the ones most dependent on being able to travel have little choice if they can't take on almost unlimited (potentially, but still) risk to their livelyhood.
dognotdog··on Show HN: Sorting Two Metric Tons of Lego
checkerboard background?
dognotdog··on My phone was searched at LAX, which apparently is the new normal
This isn't silly, it's a legitimate fear because there are no real rules to what could happen to you.

If you have an arabic sounding or looking name, it's really not a stretch to imagine that you have a name that is similar enough to someone on a watchlist and are interrogated for it, or held, or prevented from boarding a flight. If you are travelling with your family, this is not a minor inconvenience, but a real source of stress and anxiety. You just don't know the repercussions it will have on you AND your family.

The "get pulled aside for some extra questions" happens to a Maroccan colleague of mine every time he visits the US for work, and means sitting around in a crowded room for a couple of hours at best. He expects it, and just tells his colleagues to just meet him at the hotel after getting out of the plane, but this isn't something that I consider acceptable.

What has been slowly creeping in without enough people noticing is that instead of being welcoming, travellers are now foremost suspects instead of guests (not only the US). If you're funny looking, you suddenly have no rights, and there is no due process. That is scary, especially when you're far away from home.

Even for people like me, who aren't funny looking or are in any form or shape a threat, there is a chilling effect. I like to travel, and for example have been to Iran a couple of years ago as part of a longer trip. Today, I could not make that same trip as lightheartedly, and would probably "self-censor" myself out of it in fear of future repercussions when travelling to the US or other western countries with an iranian stamp in my passport. Even if it is simply FUD, and most probably would not cause real problems for me, I do not wish it to happen to anybody just because they were born in the wrong place or have the wrong name.

dognotdog··on C++ on Embedded Systems
> Agree. There is a lot to be gained from using C++ with absolutely no or imperceptible overhead.

i would agree only if there is sufficient discipline and experience on the team, management included. Spaghetti C++ can be a lot harder to untangle than spaghetti C, in my experience.

dognotdog··on An Alarm Designer on How to Annoy People in the Most Effective Ways
Sounds interesting. A quick googling fails to turn up anything, but I'd love to hear it. Do you remember any specifics that might help finding The Sound?
dognotdog··on I don’t like computers
> Now if you are 55 years old (and this guy seems to be)

I don't quite think that's the case. More like 35, by the timeline given. This isn't old-timer grumpyness, it's simply seeing something you grew up with change, while you lose your childhood naivity, and it loses its innocence. Welcome to adulthood. It ain't quite as unilaterelly great as we all pictured growing up ;)

← PreviousPage 4 of 7Next →