Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jayrhynas
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jayrhynas
1y 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
2.
▲
by
jayrhynas
1y 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 yea
3.
▲
by
jayrhynas
1y 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`?
4.
▲
by
jayrhynas
1y ago
I was going to point that out too until I realized that the author updated the article based on the parent comment! https://news.ycombinator.com/item?id=45013291
5.
▲
by
jayrhynas
3y ago
> We say "trurel". As if there was an 'e' between the r and l at the end. From https://curl.se/trurl/
6.
▲
by
jayrhynas
4y ago
I used to "collect" icon sets, even though I only ever used about 1% of them
7.
▲
by
jayrhynas
4y ago
They introduced 15% for apps < $1M/year two years ago.
8.
▲
by
jayrhynas
4y ago
It looks like you could add ntfy.sh as a backend for dschep/ntfy, but just imagine trying to document that!
9.
▲
by
jayrhynas
4y ago
I don't think ntfy.sh does that, but are you talking about https://github.com/dschep/ntfy ?
10.
▲
by
jayrhynas
5y 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.
11.
▲
by
jayrhynas
6y ago
Not quite. If you offer 3rd party logins you must also offer SIWA, but if you only have email/password you don’t have to. https://developer.apple.com/app-store/review/guidelines/#sig...
12.
▲
by
jayrhynas
6y ago
Swift calls it trailing closure syntax
13.
▲
by
jayrhynas
6y 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 n
14.
▲
by
jayrhynas
6y ago
Apparently they're "completely optional"[1] but they chose to use them in all the examples ¯\_(ツ)_/¯ [1]: https://marcobambini.github.io/gravity/#/syntax
15.
▲
by
jayrhynas
6y 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 s
16.
▲
by
jayrhynas
6y ago
There are two identifiers: Identifier for Advertisers (IDFA) and Identifier for Vendors (IDFV). IDFA is the same across all apps on a device. However, it can be reset by the user or disabled (in which case it returns all 0s). Also, apps hav
17.
▲
by
jayrhynas
6y ago
"we are working closely with Apple to fill the remaining gaps" - definitely sounds like it. I think Apple has made the right call tightening security around kernel extensions but I'm glad they're working with 3rd party d
18.
▲
by
jayrhynas
7y ago
They recently released it on macOS (via a Catalyst port of the iPad app)
19.
▲
by
jayrhynas
7y ago
Quick note about your functional examples - there's already a built-in version of `take` called `prefix` available on all Sequence types.
20.
▲
by
jayrhynas
7y ago
I think the point he's trying to make is that the CK implementation of the APIs common to CK and SC may (or may not) make use of the secure enclave, and that's one reason to have different implementations.
21.
▲
by
jayrhynas
7y ago
This is kind of the opposite. With Selective Sync, the file exists on Dropbox.com and 0 or more client devices, and each device can choose whether or not to sync the file. The new ignore feature allows a file to exist on one device without
22.
▲
by
jayrhynas
7y ago
This [1] seems to be the "head pointer", and I assume it would conflict when merging. In fact, would it not conflict on every merge even if unrelated code was changed, since it hashes on the value of the entire codebase? Edit: Aft
23.
▲
by
jayrhynas
7y ago
I think it's A=5 D=1 G=2 O=0 102 x 51 = 5202
24.
▲
by
jayrhynas
7y ago
You can also hide all the desktop icons with a defaults setting: defaults write com.apple.finder CreateDesktop false
25.
▲
by
jayrhynas
7y ago
I just use ~/Developer - with tab completion it's not really any harder to type. (And on macOS ~/Developer automatically gets a unique icon in Finder)
26.
▲
Swift Property Wrappers
(nshipster.com)
5 points
by
jayrhynas
7y ago
|
0 comments
27.
▲
by
jayrhynas
8y ago
I know that some people still prefer a button, but cmd-up on your keyboard will go up a level in both Finder and in file dialogs.
28.
▲
by
jayrhynas
8y ago
You should be able to pass `--paging always`. The default `auto` will only page if the file contents is bigger than your screen.
29.
▲
by
jayrhynas
8y ago
As far as I understand it: A background subshell is started that waits 10 seconds and then runs a program with the input "id". That program uses ioctl to send characters to the current TTY. Since the user exited back to the root s
30.
▲
by
jayrhynas
8y ago
CONsole, the noun, vs conSOLE, the verb (to comfort at a time of grief or disappointment)
More ›