Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weiming
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
weiming
6y ago
There is also the AWS CDK ( https://aws.amazon.com/cdk/ ) which is essentially lets you use your favorite language like Typescript or Python to generate CloudFormation, with an experience similar to Terraform. We've
2.
▲
by
weiming
6y ago
A good friend actually used June Advisors Group mentioned in the article a couple of years ago. The firm (really a sole attorney) sounded very helpful and got his business set up with a residence card pretty easily. IIRC it took a couple of
3.
▲
by
weiming
6y ago
"Peter Thiel sells most of remaining Facebook stake (2017)" https://www.reuters.com/article/us-facebook-stake/peter-thie...
4.
▲
by
weiming
6y ago
What me and my family talked about today is that, as immigrants, we are so sad how much the "native born" people of the US hate their own country. They seem to never waste an opportunity to remind others of their disdain and it is
5.
▲
by
weiming
6y ago
Nitpick but I hope the overtly (about 10px) rounded corners of running app windows aren't there to stay. Looks heavy/dated.
6.
▲
by
weiming
6y ago
Curious question as I am not a compiler expert. I have to do front-end iOS work from time to time and it's surprising how bad auto-complete can be in Xcode with Swift even after all these years: still randomly sluggish, randomly stops
7.
▲
by
weiming
6y ago
Twitter has been indispensable for on-the-street/real-time video reporting (just search for city name). Even reached normally quiet Portland.
8.
▲
by
weiming
6y ago
ﱞ
9.
▲
by
weiming
6y ago
And so I use create-react-app anytime I need to start a front-end JS/TS project, even if I am not using React at all. Basically avoiding dealing with troubleshooting the soup of build time dependencies and mismatching package versions,
10.
▲
by
weiming
6y ago
Anecdotally/to add a counterpoint, my experience using RA over the last few weeks has been very very positive.
11.
▲
by
weiming
6y ago
Except in this case it's not the government, but private corporations taking some kind of political stance. Google in particular has been very "active," not to forget also: https://www.businessinsider.com/yout
12.
▲
by
weiming
6y ago
You can also overlay your own text in Preview, ignoring the PDF's own textbox.
13.
▲
by
weiming
6y ago
HSV always seemed particularly poorly understood in the society to me, e.g. with many people getting it as children due to careless parents/extended family, and the benign branding of "cold sore" as if it is related to a cold
14.
▲
by
weiming
6y ago
I've had good luck with Hellofax (YC company) for sending a fax from time to time. Not literally using your phone, however.
15.
▲
by
weiming
6y ago
TIL Rust is also sponsored by Amazon. ( https://aws.amazon.com/blogs/opensource/aws-sponsorship-of-t... )
16.
▲
by
weiming
6y ago
Now I'd like some native Rust bindings for Cocoa/UIKit, perhaps as an "official"/higher-level alternative to https://crates.io/crates/objc . There are some crates already attempting to replicate
17.
▲
by
weiming
6y ago
I also had trouble getting VSCode workspaces to work (i.e. multiple project roots.) Also at times, when adding a new crate dependency to Cargo.toml or installing a rust-analyzer update, it seems necessary to reopen the VSCode project (not r
18.
▲
by
weiming
6y ago
I've been using https://docs.rs/assert_cmd/ for this. (Helps spawn the binary and assert output.)
19.
▲
by
weiming
6y ago
Yep. AWS commands take the --profile argument to choose one of the items from the credentials file.
20.
▲
by
weiming
6y ago
We're using gRPC.
21.
▲
by
weiming
6y ago
Yes. That would be Mac iTerm/Terminal, should have mentioned.
22.
▲
by
weiming
6y ago
TIL Alt-clicking in the Terminal prompt lets me move the cursor to that position. How had I not discovered this over many years?
23.
▲
by
weiming
6y ago
Oh, I'm totally fine with Ok(123). The current syntax with Result is explicit and flexible even if slightly verbose. It's especially nice that Result is an enum like any other.
24.
▲
by
weiming
6y ago
There is already precedent of somewhat magical syntax changing the return type, namely 'async' making the function return a future<your stated return type>. While this approach adds one more non-obvious thing for a newcomer
25.
▲
by
weiming
6y ago
My gripe with Swift (and I've written a lot of it) for purposes requiring a lot of number crunching is the performance issues associated with default use of copy-on-write types/ease of accidentally writing O(N^2) code. In Objectiv
26.
▲
by
weiming
6y ago
dust (du + rust) [1] makes for a good oss alternative. [1] https://github.com/bootandy/dust
27.
▲
by
weiming
7y ago
Tangential: we've been using xcodegen ( https://github.com/yonaskolb/XcodeGen ) to generate our projects from a simple yaml file. Don't need to muck around with Xcode toggles, easily repeatable, and .xcodeproj
28.
▲
by
weiming
7y ago
Will keep an eye out on your GitHub, just saw the repo you already have there. This is a heroic effort!
29.
▲
by
weiming
7y ago
If you can share, how usable is your approach boilerplate/types wise? Would love to go all into Rust but the AppKit/etc. bindings get clunky very easily.
30.
▲
by
weiming
7y ago
It's very easy to cross-compile and use Rust as a library, leaving the Swift portion for display/views only. We are looking at doing this for our next app (OS X, but would work just as fine for iOS).
More ›