HNHacker News
TopNewBestAskShowJobs

karmicthreat

1,350 karma · joined September 3, 2012

richardnienhuis+hn@gmail.com

[ my public key: https://keybase.io/karmicthreat; my proof: https://keybase.io/karmicthreat/sigs/ttAGGnZVRE3IOjY_P_pSNvljde_QbjJxez9D8XwTSzE ]

submissionscomments
karmicthreat··on It’s Like GPT-3 but for Code – Fun, Fast, and Full of Flaws
This is pretty much the case. It was a quickly needed report of data from our ERP system and dumped into an excel sheet to use. I had not used Pandas before but seemed like a good fit for me t build this out. The people who needed this info were not very sure about what they needed, so being un-DRY is better. This is only a maybe 2 page Jupyter sheet. So it's not a huge deal.

In any case, DRY is just an optimization theme. And optimizing for understanding/intent is a higher priority for me. Sometimes they intersect, sometimes not.

karmicthreat··on It’s Like GPT-3 but for Code – Fun, Fast, and Full of Flaws
Yea, I could definitely improve this code. This was a quick excel report I build by extracting some data out of our ERP and building the report in Pandas. So those min and max values get surfaced in the output excel sheet.

It was a bit of an emergency and I was figuring Pandas out at the same time. The un-dry structure is handy for me because I can quickly tweak individual things since as a company we are still figuring out what is needed in the report.

karmicthreat··on It’s Like GPT-3 but for Code – Fun, Fast, and Full of Flaws
Yea, this is exactly where I am at with Copilot.

So github copilot is pretty neat I entered this code:

  result_dataFrame['yearOverYearMin'] = year_dataFrame.groupby('partId')['unitCost'].min()
  result_dataFrame['yearOverYearMax'] = year_dataFrame.groupby('partId')['unitCost'].max()
Then when I put in result_dataFrame['yearOverYearChange'] Copilot gave me

  result_dataFrame['yearOverYearChange'] = result_dataFrame['yearOverYearMax'] - result_dataFrame['yearOverYearMin']
So it's a fancy context aware autocomplete. And big productivity booster on code entry.
karmicthreat··on Why I Prefer Makefiles over Package.json Scripts
Out in Grand Rapids, Mi where AO is located there seems to be a bit of a tradition of abusing make in a good way. It's where I picked up the habit as well. I think its just institutional knowledge/tradition that has creeped through the various firms here.

I kind of wonder what other "traditions" get passed around on a regional level?

karmicthreat··on Ask HN: How do I feel less guilty about bugs?
It sounds like the company needs to spend some time engineering for failure. One of the first considerations I usually make is what to do when inevitably I bring it all crashing down. In your case it is probably as "simple" as engineering some features so your customers don't lose hours of work, maybe only a few minutes.
karmicthreat··on Tesla driver dies after his Model 3 stops on highway, gets hit by two other
I'm not sure what is going on over at Tesla but the regular ordinary software doesn't really seem to be as much of a priority as before. We had the crappy UI refresh. Phantom AP and emergency braking are still a big problem. But we still get Elon happily chirping about v-whatever of FSD coming out. That the vast majority of customers don't actually use or have.

I don't know if it's a case of nobody wants to work on the boring things because there is no incentive or a disincentive to. But I'm sick of basic features not working well.

karmicthreat··on OpenSSH 8.9
Is there any evidence of quantum attacks or even the hardware capable of performing such attacks?
karmicthreat··on Panasonic to begin mass producing new 4680 Tesla battery by March 2024
Because we are in the incremental improvement phase of lithium ion batteries. Until a new chemistry/technology get developed we probably won't see giant increases in range.
karmicthreat··on Flutter is the most popular cross-platform mobile SDK
I have had pretty good luck with Dart/Flutter. I needed to crank out a simple calculator and support app for one of our products. 2 weeks of work and I had something deployable starting from zero. The code IS complete crap. But that is more because I was learning the platform as I was going. iOS surprisingly was easier to get going than Android was.

I am probably going to end up using Flutter for a couple more projects. As a config tool for a bluetooth enabled product. And then I was going to abuse its web and desktop views for a local UI for another device. Not 100% sure that will go great.

But Dart has been decent to use. Once you figure out how to navigate its type system its as easy as any other language.

karmicthreat··on SpaceX’s monstrous, dirt-cheap Starship may transform space travel
I don't think they have even attempted to build a large engine. But SpaceX is setup like an assembly line rather than some bespoke engine maker. A larger engine would require larger tooling, 3d printers, etc. Also with 30+ engines its less of an investment if one goes bad, just swap it out.

They always have the option of designing another larger engine later.

karmicthreat··on Spam blacklisting is out of control
I think many RBLs started out with good intentions. But it does feel like like many of them have shifted to pure grift. Pay for "priority" review definitely has negatively impacted this. UCEPROTECTL3 especially feels like an extortion attempt similar to the threatening domain renewal scams. But I've never notice any outgoing email from my services being blocked by it. So it just goes in the crank file.

Really we probably need some sort of anti-RBL system. To keep good actors honest and force bad actors out of business.

karmicthreat··on Crypto.com accounts had unauthorized withdrawals
So is starting a crypto exchange how many large crypto holders plan to cash out?
karmicthreat··on Tesla Model 3 Owner Discovers Car Was Delivered Missing a Brake Pad
Yea, but like most things in America it will probably never be rational. So companies will need to adapt to reality.
karmicthreat··on Tesla Model 3 Owner Discovers Car Was Delivered Missing a Brake Pad
Engineering explained has a good video on this https://www.youtube.com/watch?v=W2txPzRP5DM it also addresses some of the user experience in aspects in a quantitative way. The vehicle efficiency is a factor, since it mean needing less energy. But really Tesla is far and above the other companies with the user experience in regards to charging. You can just plunk in your destination in the onboard navigation and be reasonably sure that everything will go smooth. Tesla monitors their chargers, tries to steer you to where you will get service and the chargers will perform very well charging your vehicle. It's a good experience.

Mach-e using Electrify America is probably the next best. But has issues.

Porsche/VW don't really have a good experience, and the others are even worse.

Tesla figured out early on that they have to sell an entire system, not just a car. Depending on 3rd parties to make that happen is foolish when it affects the core viability of your product. As the legacy OEMs are finding out.

karmicthreat··on Minecraft mod that runs RISC-V Linux
These mods are what I always want when I play minecraft.
karmicthreat··on A routine gem update ended up creating $73k worth of subscriptions
As things get more complicated (and they already are) it would be nice if packages included code analysis tools. Ones that will just search your code, find usage of particular breaking feature change and not go quiet until you acknowledge the change.

Might obviate the update and pray nature of SemVer. You should still have comprehensive test though.

karmicthreat··on Benchmarking CRuby, MJIT, YJIT, JRuby, and TruffleRuby
What is the downside to TruffleRuby? Memory consumption since its JVM based?
karmicthreat··on DIY Onewheel – open-source self balancing skateboard
They can be pretty dangerous if you are an idiot. IE this crash: https://www.youtube.com/watch?v=pahL4MPPOek
karmicthreat··on Is Bluetooth holding back Apple's AirPods? We asked the man who made them
I would like to see apple just establish a personal area network standard. It would be great if we could have 802.11ax speeds. I'd like to be able to just drop battery powered SSDs in my bag, and access them on my Mac.
karmicthreat··on Mico: A PDM to USB Microphone Based on the Raspberry Pi RP2040
It is, but running a 3.5" display would be nice. You could probably make something work within the ~200K on this part. Really I just want a better/competitor for the ESP32.
karmicthreat··on Mico: A PDM to USB Microphone Based on the Raspberry Pi RP2040
My only complaint about the RP2040 is that it doesn't have an external SPI ram interface.
karmicthreat··on Face recognition is being banned, but it’s still everywhere
True, it should not replace an eyes on review of matching suspects. But is a useful tool to reduce the pile you need to go through.

Really, facial recognition just isn't getting weighed properly judicially.

karmicthreat··on Face recognition is being banned, but it’s still everywhere
If someone throws a rock through a window, why shouldn't it be legal to run the surveillance through facial recognition? A crime was committed, we have a pic of the perpetrator.
karmicthreat··on Raspberry Pi holds its own against low-cost ARM NAS
It just depends on how much effort you want to put into it. I'm a software engineer, not an IT person. Most of the value I generate is related to writing software. So when we needed a shared NAS for the company I setup a FreeNAS server. Got a used ebay rack server and put it on there. Worked just ok, just had to keep tweaking stuff with it, the UI kind of sucked, used ebay servers are crap hardware and fail, etc.

Got a Synology had it up and running in an hour and I was pretty much done. Every 6 months I take a look at it or add a user if I need to. But it pretty much takes care of itself and I don't worry about it. It emails me every sunday with its status and I call it good. I can keep doing the actual productive parts of my job.

karmicthreat··on Technology Behind the Lilium Jet
I don't doubt this concept could ferry people around. But its safety margin is razor thin. 60s reserve? That is barely time for an operator to figure out where to ditch.
karmicthreat··on Raspberry Pi holds its own against low-cost ARM NAS
I bought a Synology not for the hardware, but the software. I went down the FreeNAS/TrueNAS rabbithole before. But it's a pain and the Synology software lets me get things setup easier.
karmicthreat··on Newly identified hormone may be a critical driver of type 1 and type 2 diabetes
So they essentially did fabkin knock out on the mice. I would expect that fabkin actually has a function. But maybe we can just intercept the issue farther up the chain to pull you out of a diabetes.
karmicthreat··on Pine64 and Radxa's new Pi CM4-compatible boards
I've seen a few product for industrial monitoring use the Pi Zero W.
karmicthreat··on Pine64 and Radxa's new Pi CM4-compatible boards
Depends on your product and industry. At low volumes you can get an app running on a Pi quickly. And it already has wifi and bluetooth. Plus lots of available expansion boards. Power is usually not a concern for industrial equipment.

The Pi Zero and Pi Zero W were used in a ton of IoT devices.

karmicthreat··on Pine64 and Radxa's new Pi CM4-compatible boards
Hopefully these boards have better availability. Normally I would use a Pi Compute Module or just a regular Pi to build a product. But I'm designing things around ESP32s now because I can actually get those.
← PreviousPage 5 of 16Next →