Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swift
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
swift
10y ago
I think you know, but just to clarify for others: it is easily possible in the US to be in a situation where increasing the number of hours you work or accepting a job that pays more will paradoxically reduce your income: http:/
92.
▲
by
swift
10y ago
I'd like to push back on continuous integration being over-complicated. It's easy to do using off-the-shelf software and it makes life a lot less stressful when you have confidence that your changes are good before landing them
93.
▲
by
swift
10y ago
Is the market rate really >$200k for "low level software engineers"? I know a lot of them, even some that are working at Google, and my impression is that $200k is quite high for someone in that category.
94.
▲
by
swift
10y ago
Yeah, I typically hear visible light referred to as, well, "visible light". It may depend on the whims of the particular textbooks and professors you learned from, but in my physics classes we always used "light" to re
95.
▲
by
swift
10y ago
Thank you! I've never seen this before; looks handy.
96.
▲
by
swift
10y ago
My Google skills are failing me here. Is `({,})` a special construct, or are the '{' and '}' metacharacters and you're just referring to variadic macros, which are standard as of C11?
97.
▲
by
swift
10y ago
These are fair points and issues like these are why many larger projects have their own custom vector-like classes. One thing I did want to call attention to is your point that C++ best practices require that objects be in well-defined stat
98.
▲
by
swift
10y ago
They're not really equivalent, but Scott Meyers' series of books on C++ are some of my favorite technical writing ever, and his most recent book "Effective Modern C++" should be on the shelf of every working C++ programm
99.
▲
by
swift
10y ago
How would you have handled this situation? I think the author handled it extremely well and I'm proud of him for doing so.
100.
▲
by
swift
10y ago
Lua has this feature as well and it's fantastically useful for this kind of use-case, or more generally anywhere where you want to allow scripting.
101.
▲
by
swift
10y ago
I agree, but to be fair, goto fail was not really caused by the lack of curly braces around an if statement body. It was caused by inadequate code review and lack of testing coverage. The latter especially is inexcusable in security-criti
102.
▲
by
swift
10y ago
Arguably is an understatement. Though it's certainly true that there are some problem domains in which there aren't many alternatives to C++.
103.
▲
by
swift
10y ago
Objective C probably also deserves to be on that list.
104.
▲
by
swift
10y ago
Anyone for whom this is a concern should probably consider divorce.
105.
▲
by
swift
10y ago
Instantiating the templates at link time would probably make more sense. With LTO we're already deferring a significant portion of the compilation process to link time so this is an obvious extension. This issue was also on the mind of
106.
▲
by
swift
10y ago
The author's argument about willpower and the limited capacity for choice is definitely true, but I'd like to push back a little and point out that if you let yourself get into it, clothes can be fun . Your outfits can be an oppo
107.
▲
by
swift
10y ago
It is possible to run SQLite entirely on a separate thread and avoid blocking the main thread on its I/O, though. It just requires that you're willing to ship the data you need to read and write between threads and handle the sy
108.
▲
by
swift
10y ago
No; they're a set of ideas and connotations existing in a historical and cultural context. What distinguishes words from mere sequences of letters is meaning.
109.
▲
by
swift
10y ago
The comment you're replying to is a reference to the song "Sunglasses at Night" by Corey Hart.
110.
▲
by
swift
10y ago
Gotta tell ya, criticizing Go for lacking generics, which Go supporters argue are unnecessary, while simultaneously arguing that C++ doesn't have reflection because it "doesn't need it" is ironic in the extreme.
111.
▲
by
swift
10y ago
Just for the sake of a contrasting story here: refusing to take medication for almost a decade ended up almost totally destroying my life. I came dangerously close to suicide. Thankfully I'm finally back on medication now and am slowly
112.
▲
by
swift
10y ago
It's hard to believe, I know, but at least for the US, Apple Maps works very well and has won me over. Once the maps functionality became good enough on both, it became a battle of UIs, and I find Apple's iOS 10 Maps UI much easie
113.
▲
by
swift
10y ago
My perception of this changed as I grew older. For me, and for most people I know, most of the enjoyment of my job comes from spending time with coworkers I like and respect, and working together on a problem with them. Passion about the sp
114.
▲
by
swift
10y ago
I'm not so sure. Generally implementing an iterator when the iteration doesn't represent a straightforward walk over the elements of a collection is much more error-prone. The implementation of the lambda version looks exactly t
115.
▲
by
swift
10y ago
I'm curious whether any physicists here have read this book and found its claims justified. I'm just a layman who enjoys reading about physics from time to time, but it seems to me that there are actually a large number of unsolve
116.
▲
by
swift
10y ago
Believe it or not, this was tried years ago: http://arstechnica.com/tech-policy/2011/03/is-zedivas-new-re... It turned out that the courts were not impressed by this workaround.
117.
▲
by
swift
10y ago
FWIW, CSS uses a pretty similar hack - CSS pixels are defined in terms of a virtual 72 DPI resolution that does not correspond to screen pixels. In both cases, there are APIs available for DPI-aware apps which want to do something smarter,
118.
▲
by
swift
10y ago
Reading over the comments, a lot of people seem to be concerned that unit tests compromise their ability to change code quickly as requirements change - they find themselves spending too much time updating tests instead of doing real implem
119.
▲
by
swift
10y ago
I think you're reading something into my comment I didn't intend. Gates and Microsoft generally did a lot of important work that made the open PC ecosystem a long term success, but IBM is the one that created that ecosystem, and G
120.
▲
by
swift
10y ago
Virtually all of it was IBM, both because they allowed other vendors to release PC-compatible hardware and because they did not negotiate an exclusive license for MS-DOS, allowing Microsoft to sell it to other companies. I frankly can'
More ›