Viewing profile — gh123man
gh123man
HN member- Joined
- Thu, Mar 28, 2019, 1:30 PM UTC
- HN karma
- 408
- Public activity
- 76 items
- HN profile
- View on Hacker News ↗
About gh123man
github.com/gh123man/ Blog - sb1.io
Currently hacking on dateit.io
Recent public activity
-
story
Show HN: I vibe reverse engineered my Bluetooth mouse to support it on macOS
I bought a Razer Basilisk V3 X HyperSpeed to use as a Bluetooth mouse for my mac without realizing Razer doesn't offer software support for it. So instead of returning it, I used c…
-
comment
Comment #47373307
Funny timing, I've been working on essentially the same thing for Razer mice on macOS. I started this project because the basilisk v3 hyperspeed has no native mac OS support, and n…
-
comment
Comment #40652767
I'd love to hear some specific examples. Ive built several iOS apps and a whole backend (on linux) with Swift and other than lack of OSS library support for some SaaS APIs, it's be…
-
comment
Comment #40259332
+1 to vips! It's amazingly fast and stable. I even wrote (some minimal) Swift bindings for it to be used with a Swift backend: https://github.com/gh123man/SwiftVips
-
comment
Comment #38490964
I challenge myself to do it in bash one liners. I came up with a clever and shockingly simple solution to part2 using expansion and substitution. cat 1.txt | sed -E 's/(one)/\11\1/…
-
comment
Comment #38258756
I had a T420 in college. One day in a CS class, I bumped my (uncovered) cup of coffee and it spilled into the keyboard. I knew the laptop had ducts to drain water out, but never te…
-
comment
Comment #36793113
I recently replaced an old, power hungry 2U server with a laptop. I wanted a NUC, but as it turns out a used laptop on Ebay could fetch the same specs (i7-1185G7, 16gb) for less th…
-
comment
Comment #36128691
Maybe a slightly off topic question, but with the recent-ish news of Corellium winning against Apple in court to sell an iOS virtualization service. How is it that virtualizing mac…
-
comment
Comment #35979971
Agree on all points. It's extra frustrating because GA exposes some metrics that are hard to get elsewhere like traffic sources, organic search, accurate user metrics, live geo loc…
-
comment
Comment #35979761
I am also frustrated with Google Analytics but one thing it does very well (that I can't seem to find elsewhere) is counting unique unregistered visitors. If I had to guess this is…
- story
-
comment
Comment #34953158
It appears my Appstore agreements have fallen out of date and needed renewal. That's a somewhat embarrassing - but it should be fixed now. Gate Escape should be available in all re…
-
comment
Comment #34952147
Nice writeup! Building raycasting engines is fun and rewarding. You can get a lot of visual impact with very small and easy to understand code. I took a stab at it and ended up add…
-
comment
Comment #33973222
Many frameworks solve this with logger context. Add the properties you want to the logging context and all future logs in that context will have that property. One simple example -…
-
comment
Comment #33233022
You can go surprisingly far with a $5/mo Digital Ocean droplet and the Cloudflare free tier. Just host your website the boring way, put CF in front of it and they will cache and se…
-
comment
Comment #32404931
You do have SwiftNIO (as far as making network calls) - but that leaves a lot to be desired from an out of the box usability perspective. Otherwise I totally agree, Foundation on L…
-
comment
Comment #32404914
Yes! And it's fantastic.
-
comment
Comment #32403895
Last I checked golang is not packaged either and that doesn't make it any less useful on Linux. Swift works great on Linux. You can install it manually, or use the official docker …
-
comment
Comment #32403814
https://vapor.codes/ brings Swift to the server and it's quite good! Wrap that in docker and you can be running Swift anywhere pretty quickly.
-
comment
Comment #31504862
You are probably pulling firebase into your preview code somewhere. You should structure your previews to depend on mock implementations of your model (or mock data). It will make …
-
comment
Comment #31504558
SwiftUI has been a game changer for me as a solo dev. Sure - you have to make tradeoffs like backwards compatibility, and some strange things are missing/don't work. But - it's bee…
-
comment
Comment #31234915
I keep this alias in my zshrc for exactly this purpose alias lzf="fzf +s --tac --bind 'enter:select-all+accept' -m" With the added bonus that you can press return to release the fi…
-
comment
Comment #30749757
In swift I quite like DispatchTimeInterval's approach [1] (see Enumeration Cases). In most of my projects I end up adding a simple extension to TimeInterval to get the same behavio…
-
comment
Comment #30183176
Ray casting is close to my heart as it's easy to understand and has a very high "effort to reward" ratio, especially to someone who is new to graphics programming. I built a game +…
-
comment
Comment #30180859
I'd love to learn how you are handling media/photo storage from both a technical and practical perspective. Some questions that come to mind: are you using a dedicated service or d…