HNHacker News
TopNewBestAskShowJobs

mk_stjames

3,769 karma · joined October 10, 2022

submissionscomments
mk_stjames··on GenCAD
Your comment on how you feel trying to execute a model is similar to the inverse of how many Mechanical Engineers (used to) talk about coding - they know what they want, they can write down what they want a program to do, they just don't know what to type out in a programming language or how to compile the code or use the IDE, etc etc.

There are mechanical engineers out there who can literally model objects nearly as fast and they can 'think' about the layout of said object. If you look at the complexity of, say, a CAD model from a real, highly complex aluminum casting section of an automotive subframe, or the living-room-sized cross-fuselage spar forging of a fighter aircraft, with hundreds of ribs and fillets and features- and compare that to the simple model you are trying to make in OpenSCAD, you should quickly realize the parallels in difficulty you are trying to express (similar to the person without knowledge of C++ or Python watching someone be able to build applications by typing code from their fingertips as if they already knew what to type...)

You are struggling for a few reasons- 1., it is a knowledge hurdle of an entire field you are trying to surmount- again, go watch someone actually model a real, complex part and watch the speed, they can do so in a tool like Solidworks, CATIA, NX, etc... at a rate that is far different because they have experience that it can honestly take even good people years to accumulate - and 2. they are using professional tools - you mention OpenSCAD, like it is CAD, but it isn't. It is programmatic mesh generation, and it turns out that programmatically typing out how to generate complex things is much more difficult than a combination of a graphical GUI and graph-based generator that all big CAD programs figured out starting in the 1980s. If those tools you use were really the best way to make complex models 'paramaterized', then why do we design our fighter jets, Formula 1 cars, or Space X rockets in Dassault's CATIA or Siemen's NX ?

You want a LLM to take a sketch to your CAD, but what I'm saying is, there are people out there that can skip the sketch and build the CAD as fast as you can likely hand draw the first sketch, and these are skills you can actually learn, but you may just be using the wrong tools and have not had the practice necessary.

mk_stjames··on Classic 7 is a Windows 10 LTSC mod to look 1:1 to Windows 7
Everyone seems to love the Windows 7 era but for me, Windows peaked GUI-wise with Windows 2000 and everything since then has felt like a poor 'skin' or misplaced 'theme' on top of something else.

Windows XP's level of 'plug and play' for devices/drivers ushered in the modern OS feel from a usability standpoint, but from a 'get-shit-done' GUI and responsiveness standpoint Win 2000 (and up to Windows Server 2003 by extension) was all I ever wanted/needed.

These may be rose tinted glasses though, and I'd be interested to hear counterpoints.

mk_stjames··on Golden Testing a CAD Library
Since you are a wrapper on top of OpenCascade, I assume you have the ability to export STEP solids, and so one potential test you could run is have a series of standard objects that are exported and then re-imported with the basic opencascade tools and then measure the volume of the solid, verifying a solid volume to some small epsilon. This type of volume/mass verification is used in a lot of CAD modeling competitions to determine if a part has been correctly modeled; if the part is of sufficient complexity (especially things involving fillets), the odds that the solid is computed with the correct volume, down to several decimal places, while something else in the modeling is wrong, are astronomically small.
mk_stjames··on Using “underdrawings” for accurate text and numbers
Because the image generation is powered by a diffusion model that is only guided by the transformer model and still has somewhat vague spatial representation especially when it comes to coupling things like counting and complex positioning.

But by using the LLM to generate code like an SVG graphic is made up of, and then using a rasterized image of that SVG as an input to the diffusion model, this takes place of the raw noise input and guides the denoising process of the diffusion model to put the numerical parts in the right spots.

The LLM is putting the SVG in the right order because the code that drives the SVG is just that - code - and the numerical order is easily defined there, even if it has to follow something like a spiral.

Edit: although LLMs now also may be using thinking modes with their feedback during generation to help with complex positioning when drawing something like an SVG, as I just asked claude to generate me one such spiral number SVG and it did so interactively via thinking, and the code generated is incredibly explicit with positions, so, that must help. But the underlaying idea to two-step SVG-to-diffusion model is the real key here.

mk_stjames··on It Took Me 30 Years to Solve This VFX Problem – Green Screen Problem [video]
In case anyone wanted technical details of the NN, I dug into the repo:

Its a transformer, with a CNN refiner after. Specifically, a ViT using the Hiera architecture (https://github.com/facebookresearch/hiera)

The Hiera ViT has dual decoder heads, one for the alpha and one for the RGD foreground, and then a small CNN refiner network to solve some artifacting in the output from the Hiera model.

I'd be very interested to see a long form tech talk of Niko explaining his process of learning ML ropes and building this model.

mk_stjames··on Raspberry Pi Pico as AM Radio Transmitter
I want to point out that what keeps this 'OK' is that the little wire is so 'electrically short' compared to the actual wavelength at 1000khz (a real quarter wave antenna at that freq is like 75 meters)... and thus this limits the power of this 'transmitter' to probably nanowatts.

If the PIO pin could drive a fair amount of current at 3.3v into a long enough wire at that frequency you'd start to get into milliwatts, and AM radio is NOT a band that even amateur license operators can broadcast over a a certain power on. FCC part 15 dictates no more than a 3 meter antenna for personal devices at AM frequencies which is what does the power limiting essentially.

The harmonics fall off quick enough on such a setup that it wouldn't really be a problem - but the only way to really KNOW that is to have a real solid understanding of how this 'radio' you've just made is working, meaning how that square carrier wave is really being driven off the PIO pin, and thus you need the requisite EE knowledge and/or ham radio test equipment and experience.

I've seen more and more of these 'ChatGPT coded up a radio transmitter' posts and it kinda rubs me the wrong way. I'd like to see more calculations and disclaimers for people showing some responsibility with radio, and if it drives people to studying and taking an amateur radio license test that would be for the better...

mk_stjames··on The TSA's New $45 Fee to Fly Without ID Is Illegal
I fly between various countries in western Europe a dozen times a year and have done so for a decade and every single time I've boarded a plane I have had to shown a photo ID with my name on it that matches my name on the plane ticket. Most of the time the gate agent barely looks at the ID/name, but it is required to hand it to them. I have never once just walked on a plane without showing ID with my name on it, and I have never seen anyone in line in front of me do so, ever, and I'm talking hundreds of flights at this point. It doesn't have to be a passport, I see older Spanish people showing their driver's license only all the time, but it has to have a photo and a name (to match the name on the ticket in some way) and be a state issued ID. Again, they seem very lenient with that whole name matching thing and checking the authenticity of the ID (it isn't scanned, just visually inspected), but I've never seen anyone just say 'no' and get on a plane.

So what the hell part of the EU are you talking about where they don't ask for any ID at the point where you are boarding, whatsoever?

For reference, here is Iberia's page for required ID when flying, and I've seen that this is absolutely enforced every time when checking in and boarding.

https://www.iberia.com/es/fly-with-iberia/documents/spain/

mk_stjames··on The five orders of ignorance (2000)
... And here's the first three orders mentioned in a famously quoted press conference from 2002:

https://www.youtube.com/watch?v=REWeBzGuzCc

mk_stjames··on Found: Medieval Cargo Ship – Largest Vessel of Its Kind Ever
Astute observation; no canal, but there is a river outflow to a bay, whereby a ship could have carried stones from the quarry, albeit a long way around a peninsula; it is possible that was a more effective way to get them close, and then use horse and cart to get them the last bit of distance.

Thinking about the logistics of such a feat at that time is wild to me for just the construction of a private residence.

mk_stjames··on Found: Medieval Cargo Ship – Largest Vessel of Its Kind Ever
I live in a late 18th-century rowhouse where there is large stonework for window sills/surrounds/doorways all done in a very specific pink granite that was carved from a shoreline quarry a significant distance away. Massive stones, 100kg+ each, had to be transported by horse-drawn cart, over not-easy-terrain, a distance that would have taken two horses probably 8-9 hours per trip, and enough stones that it was probably 15-20 trips. Let alone the effort that had to have been required to carve surprisingly square/cuboid shapes from solid granite without power tools. It's mindblowing to me that someone was able to afford such a home construction, let alone the time taken to do it, in ~ 1790. It isn't a particularly rare style in this neighborhood either.

Fast forward 200 years, and I was sweating at the cost just to hire someone to deliver new hardwood countertops from a place not much further away. By truck. By a single person. In a single afternoon. No horses required.

mk_stjames··on Nvidia Kicks Off the Next Generation of AI with Rubin
Whenever I see press on these new 'rack scale' systems, the first thing I think is something along the lines of: "man I hope the BIOS and OS's and whatnot supporting these racks are relatively robust and documented/open sourced enough so that 40 years from now when you can buy an entire rack system for $500, some kid in a garage will be able to boot and run code on these".
mk_stjames··on AWS raises GPU prices 15% on a Saturday, hopes you weren't paying attention
Paying a subscription for an alarm clock. I've heard this one before! [1][2]

[1] https://en.wikipedia.org/wiki/Knocker-up [2] https://www.bbc.com/news/uk-england-35840393

mk_stjames··on Worlds largest electric ship launched by Tasmanian boatbuilder
I'd wager they will use what is known as a 'Float-on/float-off' ship for transport... it's rather common actually-

It's a ship with a very low deck line that partially submerges itself, with the center of the deck underwater deep enough so the other vessel can 'float on' over the deck. They they pump the water back out, raising the deck above water and the boat on top it just rests flat.

They do this for some oil rigs as well.

https://en.wikipedia.org/wiki/Heavy-lift_ship#Semi-submersib...

mk_stjames··on Finding Gene Cernan's Missing Moon Camera
Given the reputation for the cost and provenance of the cameras I'm surprised that Hasselblad passed through QC with that solder spooge at the edge that got into the frame of the film. I mean... it's visible on all the photos. I'm surprised that someone didn't notice that in testing before the camera left and send it back. Hell, even if I bought a cheap camera today and every photo has a little unexposed notch in the edge I'd be pissed. If you told me a camera was going to the moon I'd think I'd want the frame to be flawless....
mk_stjames··on The differences between an IndyCar and a F1 car
The table lists F1 cars as having "Carbon fiber brake calipers".

This is glaringly incorrect. All current brake calipers are machined from aluminum, specifically Aluminum-Lithium or Aluminum-Copper alloys. There is a rule denoting bulk elasticity modulus limit on brake calipers of 80 GPa, which was set just at that to allow the more exotic Lithium Aluminum alloys but to dis-allow Titanium alloys or anything else stiffer (There was experimentation with Titanium calipers in the past.)

Absolutely no calipers are made from composites, CF, graphite, or otherwise. Discs are Carbon-carbon.

mk_stjames··on Modern cars are spying on you. Here's what you can do about it
So you're telling me that simply walking out to the car and hitting a button inside the car is just too much of an "inconvenient experience"?

You know we used to have to drive the car... sometimes many miles... to a station, get out, and fill it up with a liquid fuel that costs many times more, and then drive home...

Seriously now- The perceived 'inconvenience' you have is the reason that so many of these connected features are being pushed and then the because the ability is there the business types can't resist the data gathering that became possible because of all the antennas, etc.

mk_stjames··on A new bridge links the math of infinity to computer science
7, if the Extremely Strong Goldbach Conjecture holds. [1]

[1] https://xkcd.com/1310/

mk_stjames··on FPGA Based IBM-PC-XT
Really cool, I figured that was the case and I'd be in the same boat.

I have an ice40UP5k board but I quickly ran out of block ram and LUTS whenever trying to use it for anything substantial, but seeing this project has me itching to start something around one of these icesugar pro boards. yosys & nextpnr support made things really damn easy when I was working with the ice40.

mk_stjames··on FPGA Based IBM-PC-XT
There is 32MB of SDRAM on the FPGA board.... I wonder exactly what using 1MB of that as the system memory would have entailed instead of the separate 1MB SRAM chip that had to be soldered. Was using the extra SRAM chip just done just to do it, or is there a specific reason there that I'm not seeing/understanding...
mk_stjames··on OpenMANET Wi-Fi HaLow open-source project for Raspberry Pi–based MANET radios
Ever since 802.11ah devices started appearing I've thought it would be perfect for partnering inside wireless IP cameras... and hell, make them mesh together with something like this so each one configured on your network extends the range of the others in it's area. Streaming 720P H265 is easily doable at the speeds the networks achieve for a few cameras, and the range would be perfect for perimeter monitoring most properties ala farms & industrial parks.

This device however - an entire Raspberry Pi + hat for a router to do..? ... seems like a solution in search of a problem to solve.

mk_stjames··on Reverse-engineered CUPS driver for Phomemo receipt/label printers
So, after seeing how cheap and available these Phomemo printers are and with this CUPS driver looking like a good option, my instinct as someone who also wants one of these sitting permanently on my home network as to appear all the time on all my machines' available printer options, is to get one and tether it permanently to a tiny linux SBC that has bluetooth and running the driver and print sharing. Like the OrangePi Zero 2w I have sitting unused in a drawer somewhere collecting dust.
mk_stjames··on 42,600 ton ship to break the world record for the deepest drill at 7 miles
I was recently thinking about super deep drilling after coming across a very neat mini-documetary [0] self-filmed by a geophysicist around the work at the Kola superdeep borehole [1] in 1992.

It is project I had heard about before but only in bullshit-passing articles and scrolling past brain rot youtube videos (seriously, search 'Kola superdeep borehole' on youtube and take note of how absolutely trash every other thumbnail appears concerning what in reality is just a normal scientific endeavour). So this video by David Smythe of the actual work there was wonderful and also a nice little nostalgic look at science and research as filmed by a VHS camcorder in that era. The computer equipment stuggles, etc...

It left me wondering about new research in this area and surprised I had not heard of any other such projects recently, so this news in interesting.

[0] https://www.youtube.com/watch?v=P4mzEGeMNAI [1] https://en.wikipedia.org/wiki/Kola_Superdeep_Borehole

mk_stjames··on Space Elevator
That didn't sound right to me, and so I checked it as follows:

Estimate for a standard classroom globe at 13" in diameter (I'm seeing a rnage of 12-14 inches as typical). I'm reporting in inches because that is what came up first and most of the globes are for sale in the US. Mixing units here, but, it works out.

But, in meters, the diameter of the Earth is 12,742,000 m on average. if we use the 'Karman line' as defining the edge of what the atmosphere is, that is 100,000 meters. Solving for X ... (13" / 12742000 m)=(X / 100,000 m). gives us an atmosphere thickness of approximately 0.1". -----

Paper glued to the globe would have a thickness of maybe, 0.004" (thin paper) to 0.012" (like a card stock paper).... so that analogy is off by an order of magnitude or more.

Even if you use the mesosphere as the definition for the top of the atmosphere, that is still 85,000 meters and thus similar.

People can check the numbers I used.

* Perhaps the analogy should go more like: the thickness of the cardboard sphere the globe is made out of is about the thickness of the atmosphere. Because, having completely destroyed a globe once in my youth, I remember the cardboard shell being approximately a tenth of an inch thick. But, that's maybe not a great reference for the analogy because not everyone has cut apart a classroom globe....

mk_stjames··on Titan submersible’s $62 SanDisk memory card found undamaged at wreckage site
The System on Module board is an Inforce 6601 SOM. [0]

It uses a Qualcomm Snapdragon 820 and they provide prebuilt Ubuntu Linaro distros for it, preconfigured for the board.

The camera manufacturer likely just tossed it straight in as configured and thus didn't know how the full disk encryption was setup.

This whole camera design looks like one of those 'we gave this project to some undergrad engineering students who've never designed a commercial product before and had no price target and thus it has a whole damn embedded linux system inside it for merely taking some HD video and stills triggered by some external wiring and saving them to an SD card'.

See also: almost any specialty medical electronic device ever manufactured.

[0] https://linuxgizmos.com/tiny-rugged-com-runs-linux-or-androi...

mk_stjames··on Tinnitus Neuromodulator
Absolutely. I have a person favorite setup... which is to have these two playing at the * same time * and play around with the combos of sliders / set to automate.

Pair: https://mynoise.net/NoiseMachines/numberStationsRadioNoiseGe... with: https://mynoise.net/NoiseMachines/magicDuneArrakisGenerator....

I set the numbers stations to 'narrow' and Arrakis to 'wide' and stereo field, mute the numbers stations that repeats german numbers (those stand out to me too easily)... and it's like some magical productivity hack of my brain.

mk_stjames··on New Work by Gary Larson
'Dinosaurs' was a masterpiece and I won't hear otherwise.

The series finale is one of the greatest T.V. finales of all time.

mk_stjames··on New Work by Gary Larson
What, not a fan of 'Cow tools'? [0]

[0] https://en.wikipedia.org/wiki/Cow_tools

mk_stjames··on The Rapper 50 Cent, Adjusted for Inflation
I was prepared to be absolutely fucking disgusted by such a comment but I.... shit. I mean... this is.... this is wild

I gotta go contemplate 'where we're at' again it seems. If that is truly a straight generative audio diffusion model.... wait, how did they get the same verse by verse chord progressions to match? this has to be professionally post-produced, right? AI models aren't able to do this end-to-end yet, right?

mk_stjames··on The Rapper 50 Cent, Adjusted for Inflation
I would argue that valuation of '50 Cent' (real name Curtis James Jackson III) was essentially flat leading up to immediately before the release of Get Rich or Die Tryin', his debut album released February 6, 2003.

Which, undeniable, is an * all-time banger * that substantially increased the valuation of 50 Cent to something far surpassing US dollar inflation.

Seriously, go listen that that album again; total game changer. Top cut: https://www.youtube.com/watch?v=5D3crqpClPY

mk_stjames··on Fentanyl overdoses among seniors surge 9k% – A hidden crisis few saw coming
This isn't the greatest wikipedia article, but I'd rather not write more on a topic so close to heart....

https://en.wikipedia.org/wiki/Speedball_(drug)

That'll get you started.

← PreviousPage 2 of 16Next →