Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
austinz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
Generics in Swift: An Overview
(austinzheng.com)
1 points
by
austinz
11y ago
|
0 comments
32.
▲
by
austinz
12y ago
If you don't know the specifics, why the hell are you even arguing this point?
33.
▲
by
austinz
12y ago
The difference between traditional and simplified Chinese characters is more than simply different fonts. Part of the difficulty is that some simplified characters map to multiple traditional characters, which means that converting from one
34.
▲
by
austinz
12y ago
This is a blog whose latest entries deal with Xcode 6.0 beta 3 (out of at least 7 eventual betas, many of which made substantial changes to the language). Right now, the 'standard' Swift version is Xcode 6.1's (Swift 1.1), an
35.
▲
by
austinz
12y ago
The arcade is great. http://en.wikipedia.org/wiki/Mus%C3%A9e_M%C3%A9canique
36.
▲
The Pigeon King and the Ponzi Scheme That Shook Canada
(nytimes.com)
6 points
by
austinz
12y ago
|
0 comments
37.
▲
by
austinz
12y ago
I enjoyed Metroid Prime 3. Probably the first and the last console shooter type game I'll ever enjoy. It was a pity more games didn't bother exploring using the Wiimote as a pointing device, although the Wii's underwhelming g
38.
▲
by
austinz
12y ago
It's easy to tell people to quit their shitty jobs and pursue their passions. It's especially easy if one is an "American hedge fund manager, entrepreneur, bestselling author, and podcaster"; i.e. financially independent
39.
▲
by
austinz
12y ago
Given that the ECMAScript community has (for good reason; "don't break the web") decided to avoid backwards-incompatible changes, that necessarily places a limit on the amount of "fixing" they can do to the language
40.
▲
by
austinz
12y ago
I think the missing piece is here: "I am not questioning the many benefits of broadening or learning activities, just the premise that they lead to any sort of mastery." - Rich Hickey (from the same gist). Norvig is speaking about
41.
▲
by
austinz
12y ago
Deadlines (self-imposed, even) make a huge difference for me. Being the lazy, unmotivated, dissolute individual that I am, I can confidently say that some of the most productive, sustained learning efforts I undertook these past few years w
42.
▲
by
austinz
12y ago
I heartily recommend everyone with a Google account follow that link and double-check your security and allowed app settings. (Also take some time to go through your app-specific passwords and revoke any that aren't relevant anymore.)
43.
▲
How Arizona State Reinvented Free-Throw Distraction
(nytimes.com)
8 points
by
austinz
12y ago
|
0 comments
44.
▲
by
austinz
12y ago
> We conclude that developers limit themselves to using goto appropriately in most cases, and not in an unrestricted manner like Dijkstra feared So this is pretty much the control flow equivalent of someone complaining about memory err
45.
▲
by
austinz
12y ago
Thanks! Exactly what I was looking for.
46.
▲
Obama Heads to Security Talks Amid Tensions
(nytimes.com)
6 points
by
austinz
12y ago
|
0 comments
47.
▲
by
austinz
12y ago
Question (not being sarcastic): what's the difference between 'science-based medicine' and 'evidence-based medicine'? I did a quick Wikipedia search, but the former just redirects to the latter.
48.
▲
by
austinz
12y ago
Another interesting thing to try (and maybe complementary as well) is building an interpreter or compiler for a language you like, trying to match the spec and feature set as closely as possible, and (hopefully) gaining more insight into th
49.
▲
by
austinz
12y ago
Potential users can decide whether or not it's a poor choice themselves. I suspect the language would be more popular than a strict reading of its merits might suggest.
50.
▲
by
austinz
12y ago
Swift has its own standard library, Foundation for things that fall outside the purview of the native stdlib (e.g. JSON parsing and regular expressions), and ApplicationKit/UIKit for GUI stuff. A multiplatform Swift + stdlib would alre
51.
▲
by
austinz
12y ago
It looks like the annotations will allow the compiler to produce warnings when compiling the Objective-C code, so that's something: "However, nullability annotations—in addition to improving the experience in Swift—provide new war
52.
▲
by
austinz
12y ago
Thanks! That makes a lot of sense.
53.
▲
by
austinz
12y ago
Just out of curiosity, is it stated anywhere that Swift is memory-safe in parallel mode? Or is this a necessary prerequisite for reference-counted objects to be safely used with Grand Central Dispatch? (I assume that whatever implementation
54.
▲
by
austinz
12y ago
I use a combination of SourceTree and the command line for my workflow, and can heartily recommend it. Some operations are just more intuitive to me when using the GUI such as: - staging portions of many files scattered across a directo
55.
▲
by
austinz
12y ago
Of course. Understanding the underlying principles is necessary but not sufficient wrt the practice of engineering.
56.
▲
by
austinz
12y ago
> but if you speak with them about their process, etc... it becomes clear they just hack on something until is works (sort of). Do you think these sort of people still try to possess the underlying mental model needed to know how the sys
57.
▲
by
austinz
12y ago
I like how, out of the 20 examples, 10 of them essentially copied the HTML snippet in the 'Coder' section of the 2012 image. Most of them even left the "jedi" div intact. On the other hand, only 6 of the examples copied
58.
▲
by
austinz
12y ago
I wonder if creating a wrapper struct (let's call it Buffer) which combines an UnsafeMutablePointer and an UnsafeMutableBufferPointer would improve the language ergonomics while keeping the performance of the 'Swift*' version
59.
▲
by
austinz
12y ago
That's quite plausible.
60.
▲
by
austinz
12y ago
The code isn't quite as terrible if compiled with optimizations on. I like your hypothesis elsewhere in the thread, that the optimization pass is probably removing unneeded array copying that hinder the performance of the debug build.
More ›