HNHacker News
TopNewBestAskShowJobs

4lun

186 karma · joined December 27, 2011

submissionscomments
4lun··on An Update on Orion for Linux and Windows
Agreed, the open source Linux and Windows versions feel pretty much DOA without the ability to reference and port the macOS source code
4lun··on Incident with Actions and Pages
We currently use external runners (Blacksmith.sh), but that didn't shield us from this as GitHub actions is still the control plane for triggering and monitoring them.

We're now considering Buildkite (apparently they have a GH actions migration tool) or self hosting something (GitLab CI, maybe even Jenkins), as it looks like that would've kept ticking over since we're still seeing webhooks being triggered today during the downtime.

4lun··on Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions
Not quite a comparable alternative. I use Pagefind and it's great for static sites but the search is all client side JS, there's no PHP (or otherwise) client to use it's generated index on the server.

A comparable alternative might be TNTSearch: https://github.com/teamtnt/tntsearch though that requires some (common) PHP extensions to be available, which this library does not require.

4lun··on Show HN: PanicLock – Close your MacBook lid disable TouchID –> password unlock
Yeah you can definitely do jury duty multiple times in the UK, though I believe it's a lottery and statistically uncommon.

I've ended up doing it twice, within a few years of each other. Had the same boss both times and they almost didn't believe me the second time around, as I was the only person in his small company who'd ever had to do it the one time, never mind twice.

4lun··on Synology reverses policy banning third-party HDDs
>I know everyone jusy says "build your own!!!11" I used to be like that too I love tech. But sometimes we just want a tool that just plugs in and works, so we can reach our final goal faster.

Same here. I have a couple of boxes running Proxmox in my homelab and I like to tinker, but I also have a DS918+ ticking away with my most important files as I just want something simple that works and is reliable

Half of the "build your own" stuff I've had over the years has at some point broken in some weird and exotic way, requiring a bit more manual upkeep and tweaking than I'd like from a box that is mostly just an SMB share

4lun··on Reverse Engineering iOS 18 Inactivity Reboot
Slight mitigation to this is you can add an automation via the Shortcuts app to be triggered when airplane mode is enabled, and set the actions to immediately lock your device and disable airplane mode

Downside is that you need to manually disable the automation if you actually wish to use airplane mode (and also remember to re-enable it when done)

4lun··on Amazon reveals first color Kindle, new Kindle Scribe, and more
Unfortunately I've found the screens on the older ones to be quite fragile (at least the 4th gen)

I went through a phase of buying used 4th gen ones off ebay so that I could have physical buttons to turn the page, but within a couple of months they would always end up up with cracked screens

They would be stored in my bag next to my laptop (and in a case) but at some point I would end up pulling it out to read and find a cracked screen

I think I went through 4 of them before I called it quits, my current paperwhite is still going strong (just no buttons sadly)

4lun··on I built a website starter kit for my side hustles
Mind sharing your thoughts on other options? I've only been exposed to Tailwind recently and been thinking about utilising a UI component library at some point
4lun··on Ask HN: Those of you who don't use AWS/Azure/GCP, what do you use for hosting?
> The only exception I have to this is S3. There are so many S3 compatible providers that I don't see any problem with using S3.

I've strongly held this view in the past but after recently being on a project where we trialed using other providers, there's a lot missing compared to the AWS S3 offering that has made me rethink this stance a bit

Permissions being a big one, many providers offer little to no fine grained control. With Digital Ocean for example it's all or nothing, you can only generate access keys that gives full access to all buckets[0]

[0] https://news.ycombinator.com/item?id=37724393

4lun··on China's ageing tech workers hit by 'curse of 35'
https://archive.is/UWiOF
4lun··on Protecting the Darkness in Chile's Atacama Desert
> The site seems old and I can’t tell if they’re still actually in business.

Can confirm it still exists, I visited last year in April :)

Alternative link: https://sanpedroatacama.com/en/tourist-attraction/space-obs-...

4lun··on Weird monitor bugs people sent me in the last 5 years (2022)
I have two identical monitors (Lenovo ThinkVision P27h-20) that I can reliably reproduce the random position switching under macOS when waking from sleep

The solution I've come to is to use USB-C with one, and HDMI with the other. This way they both have a unique footprint and macOS keeps them in the correct position. The main downside, I lose use of the USB ports on the one monitor

4lun··on Ask HN: Is Kagi Search Down?
https://status.kagi.com/ - Currently shows "No issues detected" (but down for me also)
4lun··on How to learn chess as an adult (2021)
Ah this is great, just spent 30 mins playing this on the London underground as it works offline too
4lun··on TanStack Query(a.k.a. React Query) v5 announced
Had a good experience with RTK Query, lives under redux toolkit but does much more than just reducing the boilerplate for redux which I don't think many people have noticed

I migrated a project to it from react query last year as we liked the react query style hooks and some of its behaviour, but found our usage of react query was getting a bit messy when we started adding dozens and dozens of more endpoints in a large app. Lots of things felt spread out and duplicated, we wanted to centralise things a bit (and simplify the typing) without adding a ton of custom hooks or abstractions

With RTK Query we got to move all the endpoint definitions, cache invalidation behaviour (we had many endpoints that used parameters from many other endpoint responses) and TS definitions to a single place. Also it uses redux underneath so we got the redux tools as well

I'd still use either projects again in the future, just depends on the project

RTK Query felt really good when dealing with a ton of microservices, but maybe overkill if you don't have a ton of endpoints where responses feed into other request parameters

https://redux-toolkit.js.org/rtk-query/overview

4lun··on Exploiting the iPhone 4
Thanks for this, beyond anything I'll likely ever do myself but a fun read :)

FYI the link to part 3 at the bottom of part 2 [1] seems to be unreachable via mouse. On desktop the element img.terminal_in_demo_with_window is overlapping and blocking the link for me

[1] https://axleos.com/exploiting-the-iphone-4-part-2-bypassing-...

4lun··on Origins of JSX and Why It Exists
This article feels rather incomplete if there's zero mention of XHP: https://pusher.com/blog/the-evolution-of-react/
4lun··on Run CLIP on iPhone to search photos
Potentially the app could link out to a hosted webpage that allows selecting a location using a decent map and search UI, with network capability (but without requiring it in app)

Then on selecting a location you present a button that then jumps you back into the app via a universal link (passing in lon/lat)

4lun··on LastPass breach gets worse
Currently in the process of cycling a few thousand passwords myself. Realised I just have to nip away at it a bit each day

Time boxed to about 15 mins a day, it hasn't felt like too much of a burden. But also finding I can just delete quite a few, as my vault is over a decade old and many sites/services are now defunct

Will take another month or so, but have the more recent/crucial ones done already so worst case someone might crack my old digg password

4lun··on Alex Honnold: The Soloist VR
404 here too (UK), but from the details I believe it's "The Alpinist"

https://www.imdb.com/title/tt11790780/

4lun··on Napster.com banned at some universities for clogging networks (2000)
I remember hitting something like this in my student halls. Internet provider aggressively throttled any p2p traffic.

I had to use a VPN to get Spotify to play smoothly and not repeatedly buffer when playing a song.

4lun··on Show HN: I wrote a book about UI [pdf]
Yep, you can use separate HTML elements, the key bit is to keep the closing and opening tags directly adjacent with no whitespace or newlines, example https://jsfiddle.net/z65qwuvp/1/
4lun··on Download the FCC Speed Test App
I believe Netflix does this with their fast.com speed test
4lun··on Focalboard – a self-hosted alternative to Trello, Notion, and Asana
Still on Trello for now.

Tempted to try building something from scratch since I can always see myself using such a system.

4lun··on Focalboard – a self-hosted alternative to Trello, Notion, and Asana
I tried a bunch of selfhosted alternatives to Trello a few months back and never registered OpenProject as an option.

I mainly used this list https://github.com/awesome-selfhosted/awesome-selfhosted#tas...

I did focus on "Task management/To-do lists", while OpenProject is listed under the "Project Management" section. This is likely why I missed it as I've been looking for something clean and simple (not JIRA) that is more akin to the earlier versions of Trello (rather than the feature bloated whale it has now become).

Looking at it now and to be honest it doesn't quite look like what I'm looking for when looking for a Trello alternative, I just want cards on a board I can move around (with a bit of metadata)

4lun··on It’s time to stop using SMS for security
I tried this for a bit, but it turned out a number of services (Google, Facebook) would fail (silently) when sending an SMS to Twilio numbers.

It might no longer be true as there was a Twilio support page that confirmed this behaviour but is now just a 404[0] (though you can see a mention of it on StackOverflow[1])

[0] https://support.twilio.com/hc/en-us/articles/223134367-Sendi... [1] https://stackoverflow.com/a/55852784

4lun··on How we got our AWS bill to around 2% of revenue
Yep, now that DO has managed DB instances it’s become my go to provider for most setups.

Droplets (VPS) have generally worked out cheaper than EC2 (with more resources) for me.

The bit that initially sold me on it a while ago was no more worrying about CPU credits, ie consistently maxing the CPU out at 100% then getting throttled, on the small instances (T2).

Also the web interface isn’t a mishmash of 1000 services with different UX for each section.

If DO isn’t cheap enough for people there’s also Vultr which works out even cheaper ($2.50 a month for 1cpu/512mb) if you want something similar (not baremetal).

4lun··on Avatarify lets users run realtime deepfakes on live video calls
> I'd expect we'll get much more value from higher bandwidth, ultra high definition streaming and features like 3d cameras / virtual reality. I think we have a tendency to really underestimate how important high definition is for human communication.

Low latency is probably more important to me.

Recently I seem to have a 3 second delay on many VC calls at work (and just for me it seems), and I either end up interrupting people or feeling reluctant to talk at all since it becomes impossible to time gaps and conversations right.

Despite that I get a crystal clear HD picture for all participants, but I'd happily sacrifice video quality (in fact I'd accept audio only in some cases) to get a more real time experience (disabling video doesn't seem to have any effect).

4lun··on Kanboard – Kanban Project Management Software
I initially couldn't find it either as I jumped straight to the running with docker section.

Took a wild guess it was admin/admin and got lucky.

4lun··on Show HN: Localdots – HTTPS domains for localhost with autoconfig and hot reload
Self signed certificate (can generate against any domain I need) or utilising a dev specific hostname against a domain I already own, e.g. dev.mydomain.org, so that I can get a certificate most browsers trust out of the box (e.g. via letsencrypt).

Then typically I just pass through nginx to HTTP locally, which is typically what I do in prod so the config isn't new to me

Page 1 of 3Next →