HNHacker News
TopNewBestAskShowJobs

techdragon

4,897 karma · joined February 11, 2013

hacker-news@techdragon.io
submissionscomments
techdragon··on Driver hits woman in SF, then Cruise driverless car runs her over
Um… the pedestrian was in the crossing area before the light went green. This isn’t the infamous suicide by Tesla type of scenario here… this was a pedestrian clearly already in the intersection… the intersection may not have been well enough lit but then once again it’s the drivers responsibility to turn on and use their lights for safety… the pedestrian clearly had the right to enter the intersection and while they may not have cleared it quickly enough to avoid being there when the light changed, I’ve seen shitloads of lights around the world that are set to absurdly short pedestrian crossing times which genuinely require an adult to move at a brisk jog or faster if they want to get across the lights before they move from “pedestrian Only” to “pedestrians shouldn’t enter the crossing area and cars are now given the green light to begin moving”

And while the full story has not yet come out, the story is quite detailed for a hit and run, we know the pedestrian was struck and rolled up over the bonnet and over the car roof before their trajectory carried them towards the edge of the car roof upon which they proceeded to roll off the rear side roof of the car and that’s when they hit the road directly in front of the driverless car… this pedestrian got dumped basically from the sky as far as the AI on the driverless car can understand… There’s going to be a lot more evidence recorded by the driverless car likely including video with the offending human driver’s license plate on it at some point… and I expect a detailed account of the accident will be possible due to the investigations being able to correlate the current information and witnesses with whatever data from the driverless cars sensors Cruise chooses to or is forced to (by the NTSB/etc)

techdragon··on Driver hits woman in SF, then Cruise driverless car runs her over
No the robot was left holding the bag after a disgusting person drove into this pedestrian and as a result of hitting the pedestrian with their car tossed the pedestrian directly in front of the driverless car. Which immediately freaked out and tried it’s best to pick a safe failure mode… in this case it picked wrong and that’s a problem… but a human is clearly the primary offender here and the driverless car was given an out of context problem because the human broke the law by doing a hit and run on this pedestrian
techdragon··on Driver hits woman in SF, then Cruise driverless car runs her over
Going to hold up the mirror here… how can you interpret this and excuse the driver from their responsibility to look where they are driving, to check the road ahead of them is safe and clear of danger to their fellow citizens be they motorists or pedestrians… they should never have an expectation that the road is clear… it’s their responsibility as a driver to continually be making sure of this fact… this is why we prosecute reckless driving, dangerous driving, driving without due care and attention, and a hundred other names from jurisdictions around the entire world… because if you push the gas pedal your fucking responsible for where the damn car goes… outside of extremely specific circumstances where we allow people to potentially have good reasons for their car not going where it should, faulty breaks and this sort of thing… other than that, it’s the damn drivers fault and they are responsible for operating the vehicle.
techdragon··on Weird A.I. Yankovic: a cursed deep dive into the world of voice cloning
I didn’t get to really explore the GAN generation of ML work particularly well since I had no supported hardware (no desire to support the nVidia monopoly on ML work) and refused to blow money on cloud instances I’d probably forget at some point and wind up with a giant bill.

It’s a really different world now I’ve got massive models running on my laptop thanks to Apple Silicon and the unified memory architecture, and the c++ ports of various diffusion image models and several families of large language text models work well on my AMD gpu too… it’s so much easier to participate in the current generation of applied ML work without having to go out of my way to have specific ML supported hardware.

techdragon··on Weird A.I. Yankovic: a cursed deep dive into the world of voice cloning
The issue is more that I can’t get the equivalent of a slider control to adjust one or more properties of the voice from the AI in real time… like a vocal fry slider to use an example of something most people are capable of deliberately doing when they want to… but the currently available models are pre-trained to sound like the average/median of one specific person (or character) and while I imagine tools will improve to control and customise the training of the models to customise this vocal output I don’t see a clear path from the current model architectural design to one where I can freely control the stylistic expression aspects of the vocal output without loading in a completely different set of model data trained for that new desired output.
techdragon··on Meta wants to charge EU users $14/month if they don't agree to personalized ads
If it meant they couldn’t spy on me… I might consider it a worthwhile trade to finally use Facebook after all these years ignoring my account.
techdragon··on Ask HN: How to Bring a Pneumometer to Market?
I was literally going to suggest something like this… an “early adopter round” to grow awareness and get testimonials from people who don’t need the FDA certification and who will look at this and go “hell yes I have a thousand dollars to spend on yet another gadget to obsess over my personal fitness geek lifestyle”… there will be people experimenting in other countries… open data curious nerds, and lots of other people that would probably spend between $250 and $1000 on something like this… test the water with some signup forms and surveys and see what breakpoints you can hit with a small “hand made” batch without a full production run.

Look at it this way… your tech is cool, but you know you have to find the money for the FDA certification, you’ve filled out Kickstarter, keep going and see if you can charge twice the price and slowly make prototypes and send them to willing early adopters who want in on the ground floor and don’t care about the FDA part…

techdragon··on What companies offer noteworthy discounts or startup programs for bootstrappers?
I always found this one rather insulting.

It basically means VC money is a get out of jail free card for a lot of early potential mistakes and miscalculations you can make while working out how much it will cost you to build your business on the back of AWS and how that affects your own pricing model… and the 100x ratio is just rubbing phosphorus into the wound and what elevates this to just insulting to me, it’s one thing to have a 50% or 100% difference in the amount of discount you get (like the already stated example where the VC funds mean you get 90% off, and the bootstrapped customer gets only 30%, that’s a 200% greater discount)

With the 100x on the free AWS credits that’s the equivalent of 10000% discount to the VC funded customer… and when I know that bullshit half baked ideas by people with good networking connections in California are getting a discount like that while I’m working hard to build some sort of legitimate business with my own money… it just feels like Amazon saying “fuck you we don’t want your real business we just want these idiots with their fake business”… it’s not a good vibe to give off.

techdragon··on Weird A.I. Yankovic: a cursed deep dive into the world of voice cloning
I’ve found it’s not actually as easy to get this stuff to sound different to the specific someone it’s trained on.
techdragon··on Goodbye integers, hello UUIDv7
Lookup speed. Direct mappings are faster. If something needs an external identifier that can be looked up for URL/API queries and such things…

Internal sorts and index on write with ULID/UUIDv7 which reveal potentially sensitive timestamp information, and so when that’s not appropriate a separate column can be used for…

External opaque identifiers which are UUIDv4, and if indexing speeds become an issue, can be switched to deferred indexing…

It’s a good balance and everything I’ve ever used supports this (I only needed a pretty strong representation wrapper for ULIDs since PG doesn’t validate UUID bit field structures so i can just miss-use UUID columns)

It looks like Snowflake has the same information exposure issues that using UUIDv7 or ULID for a publicly visible identifier.

techdragon··on Goodbye integers, hello UUIDv7
This is why I’ll probably just always use a UUIDv7 primary key and a secondary UUIDv4 indexed external identifier… which is extremely close to how I tend to do things today (I’ve been using ULID and UUIDv4)
techdragon··on 50 years later, is two-phase locking the best we can do?
I haven’t had my coffee yet but I’m pretty sure v8 still needs to set the version bits to specify its a v8 UUID, which means there’s 6 bits of data that need to be thrown away to migrate from ULID to a fully conforming UUID.
techdragon··on Devs learn rival Godot engine in a week to poke fun at Unity
I definitely remember some people throwing shade in my direction in a couple of game playing friend face to face conversations for my opinions about Unity in this time period… despite the fact my criticism was entirely based on my own subjective personal experiences as someone playing games on multiple platforms combined with my experience as a cross platform software developer…

It was seen as fashionable to hate Unity and there was some pushback from fans of games built with Unity… which since it corresponds to my first developer experiences with unity, was actually about the same time I started to ask Unity developers how much of their games used the Unity provided components for various things as opposed to writing replacements…

I learned a few tricks about arguing with gamers but for the most part stopped mentioning my dislike for Unity in any face to face contexts until someone else mentioned a dislike first… I didn’t care enough to argue over it… I have opinions but I’m not trying to change anyone’s mind, it’s not like there’s financial benefits steering people away from Unity … I’ve got no short positions on Unity stock or stock in Epic, etc…

Doesn’t mean I won’t bitch in the appropriate professional context… like this thread. ;-)

techdragon··on White House warns of ‘unprecedented’ Serbian troop buildup on Kosovo border
The balkans is one of the places I feel needs to just go for the lots of “city states” with alliances and treaties between them as they individually desire… I genuinely don’t know how they can really draw a map around any relatively “country sized” contiguous area (yes I know some countries are tiny Im suggesting they need a lot of such tiny countries, I’m talking about areas roughly the size of the current countries or a bit smaller or larger) … and hope to use the new borders to somehow settle things… the area is basically fractured like some bad sci-fi or cyberpunk city where there’s an overall “city” but every neighbourhood or two is vastly different… like this Chinatown is the recent immigrants Chinatown, then there’s little Italy, then you’ve got Japantown, oh now it’s the mixed Anglo suburb, oh now it’s the Chinatown for immigrants who’ve been here for over a hundred years and who have a very different culture to the recent immigrants, oh and now it’s little Russia and here’s little Vietnam….

There’s no stitching this together properly without making it worse… let the mess break up into tiny countries with borders they are happy with, kick anyone that wants to control too much surrounding territory (as in they think someone else’s city state shouldn’t exist) square in the head and just protect the lot with either a permanent NATO presence or use it as the excuse to give Frontex the EU’s common border and coast guard a sibling and actually make a damn Army of the European Union, have some fun with the name even, the European Union Defence Forces doesn’t sound too bad in French either, “Forces dē défense de l’Union Européenne” FDUE, EUDF, im just using Google translate so I’m sure some actual French speaking people could probably come up with another clever NATO style name where the acronym is the same in French…

techdragon··on White House warns of ‘unprecedented’ Serbian troop buildup on Kosovo border
I mean yeah, I knew it wasn’t “settled” but it had the feel of the bar/pub fight just after the owner brings out the baseball bat and everyone quickly realised it’s a good idea to stop punching… everyone still has some grudges but they mostly got it out of their system and until someone actively starts some new shit… no one feels particularly compelled to start a fight themselves… its the “grumbling about grievances you don’t quite feel strongly enough to start a fight over” not the “I’ve got a knife on me and I’m trying to stir someone else up to start the fight so no one pins it on me”.
techdragon··on White House warns of ‘unprecedented’ Serbian troop buildup on Kosovo border
Literally my first thought upon reading the headline… “oh not this shit again”…. I mean really I know tensions can simmer for decades but seriously I thought this was one place that after all the breakups and border redefining we had some kind of lasting if somewhat tenuous peace…
techdragon··on 50 years later, is two-phase locking the best we can do?
I'd love for Postgres to adopt ULID as a first class variant of the same basic 128bit wide binary optimized column type they use for UUIDs, but I don't expect they will, while its "popular" its not likely popular enough to have support for them to maintain it in the long run... Also the smart money ahead of time would have been for the ULID spec to sacrifice a few data bits to leave the version specifying sections of the bit field layout unused in the ULID binary spec (https://github.com/ulid/spec#binary-layout-and-byte-order) for the sake of future compatibility with "proper" UUIDs... Performing one quick bitfield modification on every row in PostgreSQL would have been less painful as in set bit, vs load parse, repack in order to re-computing the appropriate UUIDv7s (or UUIDv8s for some reason) since the primary key update transaction should be roughly the same speed either way.
techdragon··on It might be possible to create gravitational waves in a lab
There's a fairly established and uncontroversial mechanism for light to create gravitational waves... by turning the light into a black hole. Energy and mass are interchangable, photons are affected by gravity thus are gravitationally interacting particles, and if you put enough energy in the form of photons inside a sufficiently small area, the energy density can be equivalent to the mass density required to create a black hole. These "artificial" (because no one has a good explanation how these could ever happen naturally) black holes even have a cool nickname, you call a black hole created this way a Kugelblitz.

But your understanding of the energy involved is still correct... and while reading the pre-print paper this article is writing about https://arxiv.org/pdf/2309.04191.pdf while very full of lots of concrete math involving electromagnetic and gravitational waves it becomes clear where they are starting to speculate a little in section 4, the "FURTHER EXPERIMENTAL CONSIDERATIONS" part.

To put it mildly... the laser facilities this paper mentions are already the most Death Star like things we've ever built... complete with the fact that we only get all that power when we combine the beams. What this paper is outlining is if these were upgraded using some technology that seems sound, but is still somewhat experimental (likely in large part to remain experimental for some time due to its limited use, the market for ludicrously powerful lasers is... kinda small)... then theoretically these facilities could perform an experiment that could generate a localized gravitational wave pulse that is at its source as strong or in the case of the latest next generation facility being built in Shanghai actually stronger, than some of the gravitational waves we have detected from cosmic events.

Important caveats though, the paper is dealing with a classic "radiated power" vs "received power" situation in a very casual way for informed educated audience. If you skimmed you could easily miss them suggesting locating new gravitational wave detectors near these high power laser facilities, or that theoretically it might be possible to use the lasers themselves to measure it due to how labyrinthine the laser beamlines at these facilities are to begin with. The best case, they have a wave source that could emit with a gravitational wave "power" one order of magnitude stronger at its source than what we know we can currently receive with operating gravitation wave observatories, which are not located anywhere near the current facilities, and with the case of the SEL next gen in Shanghai, will actually be further away since at least the National Ignition Facility is on the same continent as a gravitational wave observatory. 2870 miles / 4619 km from the upcoming Indian gravitational wave observatory facility which is coincidentally going to be finished about the same time as China's new high energy laser facility in Shanghai "2030s" So while there's a lot of "if everyone wants to play nice and doesn't mind some potentially expensive upgrades" and a small dose of "some also new detectors might be needed too" behind this, it is fundamentally sound and pretty clever.

Now what's interesting is that were still "sneezing" as far as cosmic energy levels goes even with these new facilities and PetaWatt pulse powers... The background of the Station of Extreme Light, the new laser facility in Shanghai includes a mention that it may demonstrate the Schwinger effect https://en.wikipedia.org/wiki/Schwinger_effect... which is kind of like (but not quite the same as) the Pair Production process that causes big supernovae in some stars https://en.wikipedia.org/wiki/Pair-instability_supernova... basically at a certain point, all the photons that normally work their way out of a star creating the "photon pressure" that keeps the star from getting crushed by gravity, they start having too much energy, and now instead of bouncing (strictly absorption and re-emission) from one atom to the next suddenly instead of re-emitting a photon its "easier" to chuck out a positron instead, which puts everything out of balance, and soon the star is collapsing in on itself fast enough that its going to blow itself to bits in a very pretty supernova. Except the Schwinger effect is one of those fun quantum field "background noise" type things where this just sort of happens everywhere at an extremely low rate in proportion to how many photons there are and how strong the field is... so a lot more photons, like from the new laser, and hey maybe we'll see this fun new effect we predicted ages ago.

But if we start extrapolating up a bit to get some good examples of how much light you need to really make some impact on the gravity of a region of spacetime... lets compare how much laser power we need to pump through the figurative eye of the needle to go from a gravitational "wave" to making our own very tiny Kugelbliz. If we want a black hole that lasts just a single second before evaporating from Hawking radiation, then we have to put 2.051×10^22 Joules (to help anyone picturing this, 4903 GigaTons of TNT, or roughly equivalent to all the solar energy that hits the side of the earth facing the sun for a whole 36 hours) into an area 3.39×10^(-22) meters across, just 339ym, that's 339 yoctometers, and our itsy bitsy black hole would weigh 228,231.664kg, just a bit over 228 metric tons... To focus the energy in that area we would need similarly tiny gamma ray photons... and the entire thing becomes quite theoretical. Its an odd problem in that to make it more practical from an engineering perspective, we need to make a bigger black hole which requires more energy! and to get a stable black hole, one that would absorb enough cosmic microwave background photons to avoid evaporating, in a fun coincidence we would have to make a black hole with a mass about the same as the Moon, and I'll leave the exact math to the reader, but obviously its going to be a lot more photons to make approximately 73×10^21 kg worth of energy.

techdragon··on Devs learn rival Godot engine in a week to poke fun at Unity
I wonder how much deals and business relationships like the one they have with Apple might have contributed to Unity’s confidence in the ability to make the ludicrous policy changes stick.

Given Unity’s 3d performance is “good enough” but not good enough that most AAA Unity games don’t wind up basically rewriting more than half the engine to get acceptable performance for their particular game… I really was shocked by the big Unity hype with the whole Vision OS apps part of that Apple announcement… particularly since the worst offenders for “under optimised” giving phone warning levels of CPU burn and battery consumption have been pretty 2.5D Unity apps where the only 3D effect is some parallax scrolling and using the built in Z index to control which sprites will wind up in front of others as they move around in an otherwise completely 2D fashion… some absolutely surprising moments over the years as I’ll start playing a “visually good and polished game” only to notice at the end of 5-10 minutes bus or train ride, my phones gotten very warm and my battery is now 10-25% lower…

I learned how shitty Unity can be before I got any experience developing with it and the experiences I have had developing with it and the experiences shared with me by others who develop with it … It feels like a major disconnect has grown over the years between management running the company, project management setting goals for the development/engineering staff, and the multiple classes of end users of the engine, with my suspicion being that it’s hard for them to avoid getting drowned in feedback from novices who easily achieve their goals with the tools in Unity, leveraging their store, some vendor plugins maybe and don’t do much more than build 2D, 2.5D or very basic 3D games… The next tiers above that of intermediate and advanced Unity users being progressively more silent about their problems as they have learned to rely less and less on what Unity provides with the end outcome being some experienced Unity developers I’ve met being pretty honest that they basically only use Unity because it’s a C# game engine and there’s a lot of benefit in using C# like a big developer pool, performant backend systems in the same programming language, etc… and they are throwing away >90% of the engine and either they or their team are doing everything themselves because what Unity gives them is completely useless, or unsuitable, or not just simply not performant enough.

When your “experts” are “throwing away” your product and just “using the box it comes in” because it’s a convenient shape… something is very very wrong and your product’s days are numbered. Their recent attempted policy’s change seems completely ignorant of the current state of their product’s “sticking power”. The users who make it look like anything is possible in Unity and who are effectively creating marketing material for Unity by crediting them as the game engine they used regardless of how much of the engine they throw away in order to get any particular AAA game completed… these critical users who are helping pull in new users are also very close to not using the product at all. Doing anything that alienates them is the marketing equivalent of a massive act of self sabotage, and I don’t think they are going to survive this. For me the writing was on the wall from the merger with the malware pile of an “ad tech” company a while back and the boneheaded comments about monetisation that were made back then… it’s just been a question of how long till it fails… and boy has the policy change and backlash accelerated things…

techdragon··on Low-Code Programming Models
ETL is one of the places that NoCode LowCode solutions and Visual Programming systems have been successful despite the amount of negative information out there. They’re a sort of silent success story in the ETL works since 1: it’s not glamorous work so there’s not a lot to brag about 2: it’s often solved by just paying for some proprietary vendor solution since they will have already done the hard work getting the E and L parts done and plenty of companies have built compelling sales pitches about how simple the T will be with their drag and drop design tools and 3: once the ETL pipeline is done, a few revisions is usually all they get in most workplaces, and then it will run in the background silently until someone questions the cost of running it or asks where the data in some system is coming from or why they get some emailed reports.

The ETL niche is a good fit for the kind of approach you’re describing, so I don’t see any reason not to build at least a prototype to see how the end users like the design … beyond the obvious complexity of getting a visual node based editor and data format up and going (and there’s some open source out there that makes that part not as much work as it would have been 5-10 years ago)

techdragon··on 50 years later, is two-phase locking the best we can do?
I use ULID a lot too and It’s frustrating how close the new spec UUIDs are to it without actually being the same… so I’ve got a bunch of code to modify once Postgres supports generation of the new UUIDs server side without extensions or stored procedures. Relatively painless work, but frustrating since it could have been avoided.
techdragon··on Desalination system could produce freshwater that is cheaper than tap water
And it’s a pretty recent thing too since we realised we couldn’t just blindly drain the underground water and the rain had become insufficient for our long term population growth predictions.
techdragon··on Bambu Lab A1 Mini
The cloud isn’t mandatory, it’s just necessary for some features and on by default…

That’s not the same as mandatory. I agree it’s kind of annoying and I don’t like how it’s Wi-Fi only either … but my X1Carbon is the first 3d printer after years of tinkering where I genuinely want another one instead of some other printer that’s very similar but does x, y, or z better because it’s kinda shit on the one I just got.

techdragon··on Pineapple ONE: open-source 32 bit RISC-V CPU that you can make at home
I recently contemplated using a CPLD for a project and discovered that (at least the ones I was able to find suppliers and documentation for) are even less open source friendly than FPGAs are, none of the CPLDs I found seemed to have any open source tooling that I could find.

I would love to be corrected on this because other than proprietary tooling that only supports windows … a CPLD seemed perfect for this project.

techdragon··on Show HN: Kr8s – a Python client library for Kubernetes
I used this in my KiwiPyCon conference talk yesterday! I used it with Kopf to write a basic little kubernetes operator in Python.

Wish I had seen this thread before my talk, but the YouTube video will be online soon and I can link to it when they are uploaded.

techdragon··on Unity’s new pricing: A wake-up call on the importance of open source
It’s a private company… to whatever theoretical extent he’s beholden to the majority of the shareholders with potential board of directors and shareholder meeting shenanigans … that majority of shareholders is himself… and I’m pretty sure he’s ok with his own decisions…
techdragon··on Show HN: Mavex.ai – Your Personal AI Executive Assistant
I don’t use WhatsApp… so immediate bounce from the signup workflow for me…

Which is fucking wild… it’s a tool I’d love to try but their signup workflow requires me to sign up to a completely fucking useless extra chat app, degradingmy ability to segregate my personal communication channels and not lie to people when I say things like “I don’t have WhatsApp, just email me or SMS me about this work topic…” i don’t want to sign up for WhatsApp… why do they need WhatsApp? They found a way to make “login with Facebook”… but even more shitty and obnoxious…

techdragon··on LogoScale – A method for vectorizing small, crappy logos
Yes that’s the recommendation, and I’ve done it myself too… but I mentioned it as an example of what the currently available raster to vector conversion tools can’t handle.

Of particular note is when these kinds of issues crop up with overlapping elements, like having flowing ribbons or abstract line work, or other art with a colour gradient on it, which when converted to grayscale, produces the same tone or similar enough tone that the de-noising of the vectorisation decides to merge the regions as a single object. There are ways around it… but doing multiple conversions to vectorised images after performing colour space rotations, desaturations, grayscalings, and then having to stitch together a final vector in out of the correctly vectorised portions of multiple conversions… is not fun… and makes me deeply frustrated at the lack of available vectorisation software that makes full use of the colour information available.

It’s been a while since I dug down into the academic papers on the topic but when I last looked years ago, I didn’t find anything about vectorisation algorithms that didn’t basically rely on the same techniques as OCR algorithms, greyscale and contrast enhancements, before moving onto the parts of the algorithms where they began to make vectors from the raster data matrixes they had extracted.

Compared to the current state of the art in object detection in computer vision, which is admittedly something I have much more recently dug into the algorithms behind, it feels like a lot of vectorisation software is practically in the Stone Age.

techdragon··on LogoScale – A method for vectorizing small, crappy logos
From past experience, this is the hard part. The quality has gotten better in the last 5-10 years… but until very recently, you could easily get complete garbage trying to do basic two image to vector conversion with open source tools.

I’ve been on the SVG using train for what feels like forever now, so long that I’ve tried to do the raster to vector conversion dance countless times and watched the recent progress with much satisfaction, but it’s still not perfect, two colour gradients (a common enough logo element) are frequently a problem last time I checked, which admittedly could also just be really troublesome set of examples since it’s not like I’ve got a library of images I use to regression test this stuff, I just use it.

techdragon··on NASA finally admits what everyone already knows: SLS is unaffordable
Important context…

SLS isn’t the rocket NASA designed or asked for in order to achieve its mission goals… it’s the rocket they were forced into using due to lobbying and senate shenanigans, there’s a reason it has the nickname “senate launch system”.

The fact the pork barrel project is so bloated it’s “unaffordable” is irrelevant as far as the senators who are voting for it are concerned.

My bet is that the senate will just raise the budget because and continue to make SLS happen as they have always done since the SLS program began.

← PreviousPage 5 of 34Next →