jayrhynas

Joined 13 years ago

Karma
353
Submissions
104
Member since
Feb 8
[ my public key: https://keybase.io/jayrhynas; my proof: https://keybase.io/jayrhynas/sigs/9TnNcLmaXnv01lsuzwO0Ptol003uOfs3HXF3XbTh2LE ]
View on Hacker News

Recent submissions

Comment · 1 year ago
It's definitely a blurry line, this `run` tool invokes your Swift file with `swift file.swift` which runs it in immediate mode. Technically it is compiling your code to memory and and immediately executing it, but is it that different from JIT in Python or Node scripting?
Comment · 1 year ago
CTRL-Labs themselves acquired the wristband tech from North/Thalmic, who pivoted into smart glasses for a few years before being acquired by Google.

> In an interesting twist, CTRL-Labs purchased a series of patents earlier this year around the Myo armband, a gesture and motion control device developed by North, formerly known as Thalmic Labs. The Myo armband measured electromyography, or EEG, to translate muscle activity into gesture-related software inputs, but North moved on from the product and now makes a stylish pair of AR glasses known as Focals. It now appears the technology North developed may in some way make its way into a Focals competitor by way of CTRL-Labs.

Comment · 1 year ago
I don't really see what advantage typed throws are giving him in this article, since he just wraps arbitrary errors and then uses his lookup function - isn't that basically the same as `catch let error as DecodingError`?
Comment · 1 year ago
Comment · 3 years ago
Comment · 3 years ago
I used to "collect" icon sets, even though I only ever used about 1% of them
Comment · 3 years ago
They introduced 15% for apps < $1M/year two years ago.
Comment · 4 years ago
It looks like you could add ntfy.sh as a backend for dschep/ntfy, but just imagine trying to document that!
Comment · 4 years ago
Comment · 4 years ago
As far as I understand it, this is allowing TS types to be valid JS syntax that are just ignored by vanilla JS engines. So it is intentionally identical to TS, it just won’t have any affect on the execution of your code.
Comment · 6 years ago
Comment · 6 years ago
Swift calls it trailing closure syntax
Comment · 6 years ago
This doesn't work globally like the other shortcuts, but Ctrl+left/right will move the cursor to word boundaries in camelCasedWords, which is great for programming. I quickly tested it and it worked in Xcode and Sublime Text but not in TextEdit. (You also have to disable the system shortcuts for moving between spaces)
Comment · 6 years ago
Comment · 6 years ago
> Developers are encouraged to download the Apple Developer app where additional WWDC20 program information — including keynote and Platforms State of the Union details, session and lab schedules...

Sounds like there's going to be some sort of interactive lab, I wonder what format it will be.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton