HNHacker News
TopNewBestAskShowJobs

aloer

508 karma · joined July 12, 2018

submissionscomments
aloer··on IronOS: Open-source soldering iron firmware
That one still seems to be 45x45mm. I am now using Philips hue smart buttons which are similar in size.

The tiktok ring on the other hand manages to put a simple button, bluetooth, battery and usb port all into a package of roughly 6x10x4mm

aloer··on IronOS: Open-source soldering iron firmware
I use my pinecil soldering iron to melt brass inserts (for metal screws) into 3d printed parts.

It definitely works without a smart iron but if I could use bluetooth to set the right temperature automatically based on the printed material, why not?

Even though I’ll probably never set it up this way, it is still cool to be able to

aloer··on IronOS: Open-source soldering iron firmware
Got a link for those buttons?

Background:

I’ve been trying to find something like that but everything I look at is Smart Home related and bigger than needed.

The smallest BLE button that I did find is part of a cheap China Gadget used to scroll tiktok/social media. Like this https://www.amazon.com/Bluetooth-Control-Photograph-Scrollin...

Unfortunately I couldn’t figure out if it’s hackable or not

aloer··on How I test site speed changes using Chrome's local overrides (2021)
I usually recommend chrome dev tools to newer colleagues by saying that they are probably the dev tools with the biggest budget. No idea if I am right but so so many features.

That said, 95% of my usual problems can be debugged with the console. Often it is faster, easier to grok and does not interrupt flow as much as a forgotten breakpoint would.

console.time, console.count, debugger; (breakpoint set in code) and $0 (code ref to highlighted html element) are super useful as well. Usually that is enough before manually setting breakpoints

also nice to know: Safari is great for (offscreen)canvas debugging

aloer··on Llama 2
Lately I’ve been wondering if a license similar to this but instead based on market cap could be a way to monetize open source projects

E.g. 100k/year for each trillion in market cap, updated yearly. First trillion is free

aloer··on Disabled at 22 million commits
> there's no v1 and v2 repositories for example

We wouldn’t know. GitHub is probably running something very different to normal local git including optimizations for performance and cost.

They must only ensure API/protocol compatibility and could have already replaced everything else many times over.

aloer··on Disabled at 22 million commits
iirc remember some years ago the homebrew repo caused too much load due to their architecture where every client would pull on install or update. Or something like that.

Part of the GitHub response afaik included the info that they went as far as they could with dedicated and beefier servers but asked for a software fix.

I would think that if GitHub anticipates a normal repo growing this large they can give it the special treatment

aloer··on Rust on Espressif chips
I have a bunch of various ESP32‘s lying around and I’ve been getting by with copy pasted arduino code.

Works fine for most things but I’ve also told myself many times now that I would like to dive deeper when I find the time.

My background is in web and Java. Never done C or C++.

Is rust on esp already good enough for a beginner?

aloer··on Anime.js – A lightweight JavaScript animation library
Does rcmd expose an api to e.g. call it via shell action in BTT? I would like to keep using BTT for higher level config.

In BTT I have currently set right cmd as a second hyper key (first one being caps). I could see rcmd being useful if I can define on a per key basis if it should run or not.

PS: Great blog you have

aloer··on Unihiker, an $80 single-board PC with 2.8“ touchscreen, quad-core ARM Cortex-A35
looks like lilygo just released a new 2.8" version -> https://www.cnx-software.com/2023/06/10/t-rgb-esp32-s3-board...

with the touch layer it is bigger than 2.8" but I bet that can be removed.

One comment there also links to aliexpress for a 2.8" hdmi screen but that one is more expensive

aloer··on This site is no longer solar powered for now
Why is that such a problem if it’s apparently fine to keep phones and other small devices connected 24/7? Aren’t charging circuits standard parts? I would have expected them all to work more or less the same
aloer··on Connect to your Raspberry Pi over USB using gadget mode
I would also take a look at esp32 and possibly raspberry pi pico W as well.

For the esp32 there is this official example of what I think is faking a usb drive: https://github.com/espressif/arduino-esp32/blob/master/libra...

Not all ESP32s support USB OTG and I don’t have the correct one here atm to test with. Not sure how much more work would be needed to serve files from sd card.

You could then use a web server on the esp32 to transfer your files

aloer··on The bill of materials for the Apple headset leaked
I share that vision but I don’t see the current Apple doing this.

With their performance advantage they could easily work towards something like Samsung Dex with a compute core that you plug into different terminals, or macOS on the iPad.

But they choose not to, most likely trying not to cannibalize different device categories.

I would love to be wrong but I don’t see this happening for many years until some Chinese brand offers cheap alternative glasses and everyone runs around with a battery powered Mac mini.

Besides that we also obviously don’t know how long until the battery and display tech is good enough to compete with screens

aloer··on ChatGPT app for iOS
you have to cancel your subscriptions, use up all balance and can only do it once every X months
aloer··on ChatGPT app for iOS
Good point. That doesn’t work, need to log in with the US account first. Or remain logged in.

Works fine for me though. I have barely any apps that need updating

aloer··on ChatGPT app for iOS
For people outside the US: use a second apple account with Region set to US.

I have used this many times for country specific public transport or delivery apps but same thing works here. You do not lose access to other apps, sync features or subscriptions.

Go into the App Store app, not your phone settings, click your profile and scroll all the way down to log out. Then log in with a US account, download the app and switch again.

You can continue using the US only apps after switching back

aloer··on Apple brings Final Cut Pro and Logic Pro to iPad
Slightly unrelated: is there a way or an app to shoot 4k on iPhone or iPad and store it directly on external ssd?

Apple often advertises their new pro phones with „professional“ level video production so I always assumed that is possible somehow

aloer··on Ink: React for interactive command-line apps
what the other comment said, it replaces output and looks like a proper terminal UI. But it also adds features for hotkeys, progress bars, text input etc.

I have it integrated into a bigger CLI project where only a few commands enter the UI. Most of them just render to stdout and are meant to be pipeable

aloer··on Ink: React for interactive command-line apps
Not everything can or should be a codified test. There’s a reason postman is a billion dollar product.

Just not as good for websockets

Ink allowed me to quickly add a simple admin and debug UI

aloer··on The D.E.N.N.I.S. system: Résumé tips for Senior Devs
Does that mean most of the formatting is still done in LaTeX and the only change is the input format?
aloer··on Ink: React for interactive command-line apps
I recently used Ink to build a small debugging CLI for a websocket-heavy project of mine. All it does is subscribe to a specific channel and print out the message or send dummy data when I press a specific button. The frontend websocket code could be reused easily so it was very fast to do.

Very convenient to run multiple terminals as multiple clients in parallel. Much nicer at least than something like Postman for Websocket tests.

Full screen took some time to get right and still flickers when using iterm 2. But it does work on the apple terminal and for now I am happy with that.

My only issue is that Ink does not support nested rendering / overlays, i.e. modals.

aloer··on ChatGPT for Hardware Design
The timing could not be more perfect. Yesterday I realized that I need to create my very first PCB to repair and smartify a device that I broke. Today I thought I should use ChatGPT to better understand how things work. And now this.

There are a lot of space constraints so first thing is figuring out if it is even possible to build as small as needed. Usually I would probably be better off starting to build big first and then scale down. But I feel confident that I can already get quite far with the amazing resources out there.

I spent hours watching videos about soldering, PCB design, some of the components I think I would need (very flat flexible cables, small ESP32 SMD, no space for USB) and then how to start actually doing the work. My last exposure to electronics was in grade 8 and that was very heavy on cables.

This 3h video here was very helpful to understand the process. It's an overview of building your own ESP32 dev board with EasyEDA from start to finish: https://youtu.be/S_p0YV-JlfU

I like these top-down big picture kind of things that go over everything in just enough detail to know what to search for. Does something like this but with flux.ai exist for complete beginners? The tutorials seem more focused on users switching over from other PCB design tools.

Every step of the way I am just amazed how today I can get physical things custom made and shipped within days.

And then there's fun videos like this here: Small scale fully automated PCB production in what is basically a garage -> https://www.youtube.com/watch?v=ZH6ljHUx_IM&t=800s

aloer··on GitHub Copilot X – Sign up for technical preview
My trial ran out yesterday and I cancelled the subscription. It feels limiting on its own. There are three use cases off the top of my head

- auto complete. This one is amazing but I’m not willing to spend 10/month for only that

- generate code inline. The main purpose of copilot. It works okay but too often I feel like I’m faster if I google things myself. Perhaps I’m just a very fast googler and reader. Wouldn’t surprise me

- use a solution and adapt it to my own code. I don’t know how this could work without copilot having access to my browser and knowing what I just read somewhere. I’m very excited about this but right now copilot does not seem the right tool

But above all I cancelled for two reasons: it’s too slow and I can’t trust my privacy and code IP to be respected

Edit: I also feel there is a lot of secondary information lost. If I google I have multiple tabs and windows and (temporal) structure. I also learn about neighboring concepts via stackoverflow comments, or I learn about how to navigate the docs for whatever I’m doing right now.

With copilot I am not exposed to all of this. Not yet

aloer··on Steam Deck: First Anniversary
There is a third category worth considering and that’s cloud gaming with a thin client.

Since January GeForce now supports 4k@120 and the hardware required to render that is probably going to be much less than the next gen kind of switch will have. I would not be surprised to see tv sticks + controller given away for basically free. Like stadia but properly this time.

It won’t be for everyone and I have no idea how quick they can scale this but it’s nonetheless an interesting development.

Currently there’s a bit of a hybrid thing going on with ideas that combine cloud gaming with Xbox or PlayStation but here the consumer still has to pay for more hardware than necessary for streaming only

aloer··on Ask HN: How do you deal with information and internet addiction?
In the context of quotes I will throw in what I read on reddit the other day:

  Addiction is giving up everything for one thing, 
  sobriety is giving up one thing for everything
Unfortunately knowing quotes is not enough to kick the habit. Too much time spent on reddit and HN :/
aloer··on Apple’s Mac security is so good, it’s sending used M1 MacBooks to the scrap heap
Are you not free to simply not use find my/activation lock?

I haven’t used Asahi yet but the way I understand it you can install Asahi right away and the hardware is forever yours to control.

And if you are worried about Apple one day remotely adding a lock to your Asahi laptop you can probably block those requests proactively on a network level anyways

aloer··on Grokking big unfamiliar codebases
I suggest you position the free tier more prominently on your pricing page. Took me a while to realize it's even there
aloer··on Conditional CSS
an example of this is used for modals in daisyui -> https://daisyui.com/components/modal/#

the relevant style applied looks like this:

    .modal-open, .modal:target, .modal-toggle:checked+.modal {
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
    }
aloer··on Blurhash: A compact representation of a placeholder for an image
I was hoping this would include the unblur animation that wolt uses in their app.

It’s a joy to use when it resolves those placeholders piece by piece into the original

aloer··on 6 Raspberry Pis, 6 SSDs on a Mini ITX Motherboard
Considering that this is custom made for the CM4 form factor, the Turing Pi with carrier boards looks much more attractive because future proof. If only it were already available.

It also has SATA and USB 3.0 which is nice

Until I can preorder one I will slowly stock up on CM4s and hope I’ll get there before pi5 comes out.

Are there other boards like this?

← PreviousPage 2 of 7Next →