Viewing profile — swift
swift
HN member- Joined
- Sun, May 03, 2009, 12:42 AM UTC
- HN karma
- 969
- Public activity
- 378 items
- HN profile
- View on Hacker News ↗
About swift
No profile information was provided.
Recent public activity
-
comment
Comment #40157476
Regular expressions are part of the language, so it's not so unreasonable that TypeScript should parse them and take their semantics into account. Indeed, TypeScript 5.5 will inclu…
- comment
-
comment
Comment #22195801
I agree with a lot of your comments, but just FYI, you can do a couple of those things: > (I can't even compile FOSS apps on my own without owning a mac + 100$/year dev licence - t…
-
comment
Comment #21468780
There are definite tradeoffs here, but one thing to consider is that dev tooling generally can't benefit from that kind of massively distributed parallelism. If you make a change t…
-
comment
Comment #16860268
FWIW, Bison (which I'd expect most people are using rather than the original yacc, though I can't be sure) does support GLR parsing. I haven't seen GLR used in production either, b…
-
comment
Comment #16860174
PEG uses ordered choice instead of alternation; all PEGs are thus deterministic. The article's description of PEG is so off-base that it makes me question the entire article.
-
comment
Comment #15845390
The compression MP4 (or any other modern video format) offers is much better than what you can obtain with GIF. MP4s are, perhaps surprisingly, actually the better choice in terms …
-
story
Ask HN: HN users keep using verbatim blocks for quotes. Can we fix it?
I see this pattern daily on HN: one user posts a comment which includes a quote indented by spaces. The text in the quote shows up with no word wrap, because that kind of indentati…
-
comment
Comment #15801080
The hypothesis that life on Earth originated elsewhere is somewhat independent of abiogenesis, really. At least in my experience, most supporters of the former also support the lat…
-
comment
Comment #15795905
2 works on macOS too, for what it’s worth. (My memory of this, which may not be entirely reliable, is that Linux and OS X both had 2 forever. I wish I could say the same for 1.)
-
comment
Comment #15755132
There’s definitely a schism along the fault lines you describe. If you’re not familiar with the concept of a “TERF”, look it up.
-
comment
Comment #15528446
I’m probably making a mistake here by commenting before reading the article, but I’ve seen many cases where issues with food prices and food supply have been diagnosed as long term…
-
comment
Comment #15519537
It’s generally a bad and dangerous idea, especially for someone who is schizophrenic, but antipsychotics can have very serious side effects, and I think it’s painting with a brush …
-
comment
Comment #15486212
People misunderstand this stuff in part because of the failure to make a distinction between a theory (which is often a mathematical description of a system, though this depends on…
-
comment
Comment #15485362
I’d argue that you have to get pretty deep into experimental GHC language extensions to get into anything as weird as some of the SFINAE-based template metaprogramming tricks I’ve …
-
comment
Comment #15485291
It’s probably hard to see it this way when you’re starting out (and you may need a certain personality type as well =) but for me, programming in Haskell is a genuine pleasure beca…
-
comment
Comment #15326286
This is genuinely good advice. I'm a bit surprised that so many commenters here are reacting to the second paragraph as if it described an extreme lifestyle that would inevitably l…
-
comment
Comment #15307964
I will say this for C++: post C++11, it’s one of the few languages in widespread use to have an explicitly defined memory model. The people working on C++ definitely do care about …
-
comment
Comment #15286401
That's not accurate. I keep my iPhones for two years, and when I upgrade I give them to family members who have always gotten another 2-3 years of use out of them. (And Apple has c…
-
comment
Comment #15246270
There are options other than "tough laws" for helping communities struggling with high rates of addiction. Your breakdown of this situation makes it sound like you think it doesn't…
-
comment
Comment #15193668
An even better question is "faster by what metric?". Once it has been running for a while and the JIT has done its work, it can definitely happen that a Java program will outperfor…
-
comment
Comment #15189811
Can you clarify what makes you say that the EPA is "so large that it is no longer effective"? Everything I've heard about the situation inside the EPA makes it sound more like they…
-
comment
Comment #15158423
I'm not 100% sure what's meant by "native" method in this context, but if you're programming for macOS/iOS, try Grand Central Dispatch. It's a very nice task parallelism library wi…
-
comment
Comment #15029205
macOS already does present a list of apps that are using a lot of energy if you click on the battery indicator. I thought that Windows had a similar feature, but I'm not sure.
-
comment
Comment #15021407
This is true ideally, but there are several factors which make it not always true in practice. (1) Often your grammar admits inputs which are not in your language. Less often, it f…