Better HN
topnewbestaskshowjobs
Log inSign up

tonyarkles

6,317 karma · joined Aug 11, 2009 (17y ago) · 2,719 submissions

[ my public key: https://keybase.io/tonyarkles; my proof: https://keybase.io/tonyarkles/sigs/iq9ddyFe50Dm4qkIVoUxyikegJWetjUTXaep9StktRs ]

Feel free to email: tony@persea.ca

Submissions

comment 2d ago · link · parent

I've been chewing on the same question and found this at least: https://arxiv.org/abs/2207.07613v1 with O(n^31) and O(n^23) for specific problems!

Edit: also, slightly more contrived, O(n^k) algorithms aren't all that unusual. For example, a naive algorithm for finding k-cliques in graphs. That looks exponential, but by the rules of big-O, if you fix k to a constant, then it just becomes a large constant exponent polynomial-time algorithm.

comment 4d ago · link · parent

Heh, in this particular case... they do have a website with rough inventory, but zero location info and the folks at the front desk don't really know much about where anything is. Tbf to them, it's significantly larger than the ones in the article here. It's a u-pick joint and the only thing they'll actually help you with is bringing over a fork lift if you want to pull an engine or tranny. You bolt the chains to the block, they'll lift it for you and drop it in the box of your truck.

comment 4d ago · link · parent

Honestly, it’s a great technique. We have a massive scrap yard here that is… it’s organized into North American, European, and Other. My wife had a Pontiac Vibe (~= Toyota Matrix) and I was looking for some parts. They’re neither rare nor common around here. I took a Mavic Mini out there with me, surveyed the whole place from outside the fence, mapped out where all 6 of the Vibe/Matrixes were, and then went in and found them right away. Saved me a TON of time. I followed the Canadian rules, I’m licensed (don’t even need to be for the Mini because 249 grams…), and no one even noticed, it’s in an industrial park and there’s enough random noise that the buzz is completely unnoticeable.

comment 6d ago · link · parent

> I was formerly fat until I picked up a sport as a hobby, and since exercising more I’ve lost most of it.

I'm super curious what the timeline looked like for that. Someone else in the thread someone mentioned people gaining weight slowly from a small caloric surplus and I just went through and looked at the last few years of scale measurements (yay smart scale!). Scribbling out a bit of math assuming 3500kcal/lb (which is wrong but useful anyway), I've been running about a 150cal/day surplus for almost 2 years and have put on 30 pounds as a result.

Most physical activity burns a shockingly small number of extra calories over baseline, so the conventional wisdom "you can't outrun your fork" is pretty true, but losing weight slowly, replacing fat with muscle (not necessarily weight loss but better body composition), and overall feeling better makes physical activity such a net win anyway. And... if I'd picked up martial arts again after everything opened up again post-COVID, I probably wouldn't be in the situation I'm in now where I'm looking for a more aggressive reset back down to my happy baseline.

comment 6d ago · link · parent

That's the element of it that I find so so fascinating, from having done not-chemically-assisted weight loss myself in the past: I had put a lot of effort into figuring out recipes that were delicious, low calorie, and satiating. I was fortunate enough to be living in a very small hamlet that only had a Subway (blech) and a Chinese restaurant (it was decent and I enjoy Chinese food, but it wasn't fast and I definitely couldn't eat it every day without getting very tired of it). Eating out every day would've required a half-hour drive each way, so cooking for myself was essentially mandatory.

Further, the small grocery store in town had an amazing butcher shop (yay rural Western Canada!) but a pretty mediocre selection of fruits and vegetables. With the eating out option off the table and "just pick something up at the grocery store" essentially eliminated too, what was left was being deliberate about meal planning. The trick, coming back to the point, was figuring out meals to cook in big batches that had good macros and were delicious. Food that I wanted to eat as leftovers for a few days with portion sizes that didn't leave me feeling hungry.

That's, from what I understand, the magic of GLP-1s: they don't just cause weight loss, they cause preference/craving rewiring. Now that I'm living back in the city I've put some of that weight back on (living out there was physically healthy but not necessarily the best for mine or my wife's mental health, especially with her having to commute), and there's a Dairy Queen 6 blocks away from my house. I've gotten a bit doughy around the waistline and am getting conscious about what I eat again, but damn is it tempting to look into medication that would just... shut off that part of my brain that goes "dude, you can just drive to DQ and grab a 1200cal burger, fries, and a milkshake". I don't qualify for insured GLP-1s because I'm honestly just a hair over the target BMI range, but the idea is fascinating for me for sure.

comment 1w ago · link · parent

As a more general idea, I’ve had pretty great success using LLMs to write “doctor” scripts. Similar idea to what’s going on here, instead of repeatedly giving LLMs raw data files from hardware and having it find the same issues over and over, I’ve started being careful to drive the lessons learned into automated test scripts and just instinctively running them against telemetry files every time someone sends me one, whether or not there’s something wrong (or they’re just looking for some data analysis). It’s the kind of thing I’ve always wanted to do, but under time pressure would always just knock out 20 lines of numpy code, do whatever analysis or debugging, and then move onto the next fire.

comment 1w ago · link · parent

The author talks about Allan Carr’s Easy Way to Quit Smoking. The most amazing thing about that book when I read it in my 20s was that, while reading it, I spent a lot of time thinking about how the book was bullshit and honestly written like a propaganda piece. I get to the end, it has its little spiel about waking up the next morning and being a non-smoker or whatever the final punchline was… I shook my head, went to bed, and woke up the next morning and didn’t smoke for 2 years.

(Which… the fact that I did go back to it two years later is by no means an indictment of the book… contextual habits are such a fascinating thing in their own right. I hadn’t even thought about smoking for those two years, and then I went back to grad school and suddenly my first homework assignment has me ferociously craving a cigarette and there’s a ton of smokers standing outside the building…)

comment 2w ago · link · parent

Lol classic “ignore the constant factor” gotcha when using Big-O.

comment 2w ago · link · parent

I've thought through the "all tires rotate at the same speed" thing before and how it works mechanically (front differential, rear differential, transfer case) and I think in the "no differentials locked" condition the correct statement is: the sum of the front wheel speeds == the sum of the rear wheel speeds. So you can have your front wheels slip and the rear wheels can still get power, or you can have your rear wheels slip and the front wheels still get power, but if you have one wheel in the front and one wheel in the back that are slipping, you're hosed.

Re: the 3 locking mechanisms comment, in typical 4WD configurations the transfer case in 4H/4L is essentially locked (which is what makes the above sum front == sum rear condition). AWD transfer cases can be more flexible there; some essentially act as a 3rd differential and result in all four wheel speeds being essentially decoupled (for better or worse, easier to get stuck) while others actively control the front/back locking with clutches or hydraulics or whatever.

comment 3w ago · link · parent

I’m honestly just stuck thinking about that cleanup. Like… hydrovac is great, but how do you clean out a hydrovac truck filled with butter. And after you get it out, then what? In Madison they temporarily stored it in sanitary sewer holding ponds but that’s not a viable final destination. Does it eventually end up at the landfill?!

comment 3w ago · link · parent

Yeah, I oscillate a ton between code-based CAD (OpenSCAD, Build123d) and Fusion 360 and they require very different ways of thinking about things, with different things being easier/harder with each approach.

I hesitate a bit to call code-based CAD "a toy", but there are a lot of times where what I think I actually want is some kind of, sorry for the phrasing here, fusion of Fusion 360 and OpenSCAD. The Fusion timeline is pretty phenomenal and having the ability to do something like code steps and manual "click on all of the edges you want to put a fillet on" steps interwoven seems like it has a lot of potential for my "ultimate CAD workflow". The timeline part is kind of the magic that unlocks the whole thing:

- update a parameter or a piece of code, triggering a recompute - see that the fillet operation is now missing an edge - rewind the timeline, tweak the fillet edge set - fast-forward the timeline to let the rest of the code blocks re-execute

Things like MakerWorld let you upload parametric OpenSCAD files and that's cool and all, but for my own uses I don't care if I need to use the "insert a manual step in the timeline" feature occasionally. OpenSCAD on its own doesn't have that and the idea of trying to do "operations as code" in Fusion (there is a scripting interface) is not super appealing as-is.

Being able to use hand-created objects as function inputs seems pretty powerful too. As an example, instead of needing to manually specify all of the points to make a polygon that I'm going to do a bunch of OpenSCAD extrudes with, just referencing a sketch earlier in the timeline. My current OpenSCAD "hack" for that is to draw those in FreeCAD as DXFs and then import them, but it's not a smooth workflow at all.

comment 3w ago · link · parent

In a similar vein, if the string of "next tokens" based on 300k input tokens is: "run this bash command and paste the results into the token stream", followed by another call that includes the output of that bash output giving "Based on the output from that bash command, now run head -n 30 /foo/bar/baz.txt and paste it here", finally followed by "Based on that, here's the problem with your systemd configuration: [...]"

The part that really bakes my noodle: `/foo/bar/baz.txt` can be a filename that no one has ever typed before, the error inside the file can be a typo that no one has ever typed before, and it will still correctly "predict the next token" to solve your problem.

comment 1mo ago · link · parent

Uhhhh interesting, did pastebin get hacked? Both of those start out normal but pretty quickly redirect to a fake McAfee “zomg you got a virus” spam

comment 1mo ago · link · parent

Do you mean people get mad when people are called stochastic parrots? Or people get mad when LLMs are called stochastic parrots? Because uhhh that doesn’t really sound like an original thought in either case.

comment 1mo ago · link · parent

I would argue that the better you can “close the loop” the better. One of my favourite agent activities is giving it a firmware bug and JTAG access + a serial port. That setup means that flashing, debugging (inspecting variables and whatnot, setting breakpoints, etc), and logging can all happen completely autonomously.

Works especially well for transient/hard to repro bugs. It’ll either set breakpoints or write a monitoring script, go to sleep, get woken up by the harness when the bug trips, inspect state, put together a new build based on a hypothesis built from the debugging, flash it, and loop. I’ve had sessions run completely autonomously for over a day and come with a beautiful one-line solution to a gnarly race condition.

In that regard it’s like a human: you can read code all day if you want and you might get somewhere, but being able to inspect what happened, build a new theory, test it, and iterate is way more powerful 99% of the time.

comment 1mo ago · link · parent

I'm with you brother/sister! I recently acquired a small hobby-grade laser cutter that can do 1/4" plywood happily and 1/2" plywood if you ask it really really nicely.

One of the things I intend on doing with it is cutting router templates for parts that I need to make a bunch of with "identical" dimensions. Get it as close as I can with the table saw and miter saw, stick the template to it, and use a flush-cut bit to clean up my slop.

It's a fun tool in its own right, I really get a kick out of designing and cutting tab-and-slot designs. They just fit together so beautifully right off the laser. I get the joy of designing the project and assembling the project without the swearing/frustration bit in the middle.

comment 1mo ago · link · parent

> Side mount drawer slides don't have a lot of allowance for the drawer to be undersized and basically none for it to be oversized. Under mount slides are a little more forgiving, but I definitely still account for my actual material thickness on them. In either case, you're definitely building the drawer boxes to the as-built size of the opening they're going into and not the platonic ideal opening from the plans/drawings.

This doesn't work great for what the previous poster is asking about, where something needs to fit into a specific space (the comment about scribing a face frame is mint though), but what I typically look for when I'm building things, whether wood, metal, 3D printed, etc, is to try to find the critical faces and let everything shake out around that.

For example, in the side-mount-slide drawer box situation, you've nailed it: the spacing between the exterior face of the drawer and the interior face of the carcass is critical. What I personally would do for that situation would be something like:

- cut rear carcass rails and drawer front and backs precisely with exactly the right spacing, and probably a few temporary front carcass rails that won't be part of the finished product but can be clamped in place for lay-up

- the drawer sides and front/back get dowels that are drilled referenced to the outer edge of the drawer front/back and outside face of the drawer sides

- a slightly oversized dado in the drawer front/back/sides so that the bottom doesn't need to be made as precisely. It can still fit snug in the slot, but if it's a little oversized or undersized relative to nominal, it's not the end of the world

comment 1mo ago · link · parent

Lol I played around with it a bit and quite like it, it's similar to a tool I've had kicking around in my mind for a while. Man oh man, the amount of text in e.g. the cut lists is just wild :D. Definitely has been my experience that LLMs like to add way too much text to straightforward applications.

comment 1mo ago · link · parent

OpenSCAD as well. I bounce back and forth between the two of them a fair bit depending on what I'm doing and which one's going to be more ergonomic for the problem at hand. The Fusion 360 built-in chat thing... not so good in my very limited experience.

comment 1mo ago · link · parent

> If a contributor wishes to poke the edges of the policy to try and find the line of acceptable AI/LLM usage in the project, they are probably not the kind of contributor they want

I think this is where it becomes a question of whether it’s an ideological rejection of LLMs or a technical/practical rejection of LLMs.

A project that is rejecting contributions where LLMs are used purely because of the “we can’t handle the amount of newbie generated inbound slop” would, in theory at least, have minimal issue where the contribution is, in fact, indistinguishable from human-only contribution. “This person has put together a solid clean patch that solves a real problem” sounds like a great kind of contributor to have.

On the other hand, a project that rejects LLM-assisted patches because of ideology or social or environmental concerns might actually hate a contributor like this even more than a random drive-by slop contributor.

comment 1mo ago · link · parent

I say this as a long-term and loving user of QGIS: QGIS is proof that human-only authorship is no guarantee that code will be bug-free and well-designed.

I don’t have a good solution to their slop problem, but I also don’t have a good solution to their overall bandwidth problem. I like QGIS better than any other GIS software I’ve had the misfortune of using, and at the same time brace myself a little bit every time I open it up because there’s a solid chance I’m going to have encounter another weird quirk or awkward workflow that I haven’t figured out The Trick for…

comment 1mo ago · link · parent

I legit did not know. I have seen it before, I've never really understood what it was, and didn't really have any reason to dig further into why people were linking against it instead of actual twitter/x until today. I've been here about a year less than you.

comment 1mo ago · link · parent

“One cone (Joshua)” is wild for the exploration it does before settling on a solution!

comment 1mo ago · link · parent

Oh yeah, Physics of Racing Series was fantastic. I’m going to have to dig that up again. Also did a deep dive into it in undergrad and had a blast.

comment 1mo ago · link · parent

I’m not a professional by any means and am pretty new to astrophotography. Looking at the Stardroid repo there, it looks like it’s using GPS+Compass+IMU for pointing. That’s awesome for coarse positioning, but Plate Solving (what AstroHelm is doing) is using the photos themselves to do fine positioning. https://nova.astrometry.net/ is an open service that can take images and tell you where in the sky you were pointing. https://nighttime-imaging.eu/docs/master/site/advanced/plate... has some more details about different techniques and software packages. My understanding is that is basically identifies the 4-8 most prominent stars in the image and the angles between them and does a nearest neighbour search in a massive database. Pretty cool!

comment 1mo ago · link · parent

The thing that I always come back to whenever some kind of heavy-handed government intervention is proposed: what would the other side use this same power to do? OP explicitly called out a hypothetical benevolent US government, but the government changes every 4 years. Even if there were such a hypothetical benevolent government in power when this happened, 4 years later it could be something entirely different.

comment 1mo ago · link · parent

Huh, my first reaction was to say that Enhanced Geothermal is actually just a polite way of saying fracked geothermal but it turns out that's not quite accurate. Hydro-shearing (which EGS uses) doesn't intentionally create new cracks in the rock, which fracking does, but will cause existing cracks to grow. Potentially still negative local effects for sure but not as violently, hopefully.

comment 1mo ago · link · parent

Check out https://www.libraw.org/! No affiliation, just a happy user.

comment 1mo ago · link · parent

Tricky thing, your comment and https://news.ycombinator.com/item?id=49969529 are related in an interesting way but they're not in the same sub-thread. From the other comment:

> While I don't know if AI is conscious, I'm sure it has an internal world. Isn't that what a latent space literally is? LLMs operate in a high-dimensional space that can be analysed and translated to very abstract, high level concepts, behavioural tendencies, even things recognisable as emotions.

From your comment:

> My wife says please and thank you to Alexa. She gives it consideration like she would another human. When the robot asks me what my plans are for the rest of the day, I picture a Jira epic sliding from “In Progress” to “Done,” followed by a confetti emoji from a product manager at Amazon trying to earn their nubby little devil wings.

Where things get super interesting to me is the fact that it seems like (I have maybe read some academic work related to this, not sure) the kind of politeness your wife exhibits isn't useless in the context of a multi-turn session. To the other commenter's point, my understanding is that politeness/rudeness exists in the training corpus (scraped from stackoverflow, reddit, forums, etc) and that you can end up in different areas of latent space based on the overall tone of the session.

In some of the chat tools, because of the context management and "personality" stuff that happens behind the scenes, this can extend cross-session as well. ChatGPT, for example, for me, will frequently include text like "Hell Yeah!" and "Here's the shitty part..." in the responses, which is something I assume is happening because of historical context that's getting injected at the start of each session.

All of that to say... none of this, to me, has much to do with whether or not the thing is conscious, but rather that the training data makes it incredibly difficult for people to not see them as emotional beings because you can end up walking into different areas of latent space where different "emotional states" are affecting the output you're getting.

Unlike your polar bear example, an LLM can "love" you or "hate" you based on the input tokens that lead to the generation of the output tokens. Which is a pretty wild result on its own. Playing around with, say, Qwen 3.8 27B locally with my own experimental harness has been exceptionally fascinating.

comment 1mo ago · link · parent

The screenshot says North York Moors, which I had to look up but certainly looks like it qualifies!
12345
91