Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swift
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
swift
9y ago
It's more actionable than you might think. Attitudes can be changed - by social pressure, through the media, and through education. And while legislation may not directly change attitudes, it can also help create pressures that reshape
32.
▲
by
swift
9y ago
When you say that women are "more agreeable" than men and "tend to care about people" more than men, you should consider that there is a social expectation that women have these qualities. You should also consider why
33.
▲
by
swift
9y ago
Yep. And this reinforces the social expectation that women take leave when they have children and men do not, which leads there to be less institutional support for paternal leave. It's a cycle.
34.
▲
by
swift
9y ago
That's true. I think the GP's point was probably that some GoF patterns, specifically, just exist to work around language deficiencies. My go-to example for that is the visitor pattern; something that's trivial in Haskell o
35.
▲
by
swift
9y ago
Is the hardware you're talking about the network equipment controlled by the ISP, or the routers and modems in customers' homes? I'd be surprised if the former hadn't been IPv6-ready for many years now, but I can imagine
36.
▲
by
swift
9y ago
There are tricks to make it faster. If you find yourself working on the project again, ask for advice on IRC. 2-3 minutes is longer than it should take in most cases. (As long as you aren't touching widely included headers files, that
37.
▲
by
swift
9y ago
The vast, vast majority of the Firefox codebase is C++.
38.
▲
by
swift
9y ago
It's a balance, but on many projects the overhead of the headers themselves is so large that concatenating a few .cpp files together doesn't increase incremental compilation time significantly over simply building each .cpp file i
39.
▲
by
swift
9y ago
Perhaps their intention is to look attractive to someone they know, and you’re not part of the intended audience. That doesn’t mean you can’t look, but watching “intensely” is likely to make some people very uncomfortable and you should be
40.
▲
Docker 17.06 is out with support for multi-stage builds
(blog.docker.com)
4 points
by
swift
9y ago
|
0 comments
41.
▲
by
swift
9y ago
In the case of my own family members, this seems to stem from physical maladies that are correlated with age - back injuries, for example, or weight increases aggravating sleep apnea. I'm not sure how things look for old people who are
42.
▲
by
swift
9y ago
It's all a balance, but one thing to consider is that future maintenance or new development may require changes to that software. At that time, having good tests will help you avoid breaking things in subtle ways. The problem is that w
43.
▲
by
swift
9y ago
FWIW, this isn't universal usage. When I took physics in college we used "visible light" to refer to the visible spectrum, and "light" to refer to EM radiation generally. I know that others have had an experience si
44.
▲
by
swift
9y ago
Would that actually have been possible, though? I'd expect that these royalties were defined by massive multi-year contracts. If that's the case, they couldn't realistically do something like gradually increase the price unti
45.
▲
by
swift
9y ago
I'd argue that the real issue here is slavish adherence to the style guide without stopping to consider what's readable . Alignment, in my opinion, is a readability win in general. (We may have to agree to disagree here.) But whe
46.
▲
by
swift
9y ago
I can't parse this in a way that it makes sense; I suspect you're mixing up some terminology. I'm guessing you mean that you need access to all transitively included headers to know a macro's definition. That's cert
47.
▲
by
swift
9y ago
Not all contributors to a project know all aspects of that project equally well. People also come from a variety of different backgrounds that lends them different insights into the code. Beyond that, it's easy for even experts to make
48.
▲
by
swift
9y ago
When I hear "aligning parameters", I think more of the difference between this: someFunction(firstParam, secondParam, thirdParam, fourthParam); And this: someFunction(firstParam, secondParam, thirdPar
49.
▲
by
swift
9y ago
The Audio-Technica M50x is an amazing headphone for the price. I'd highly recommend it to anyone. I use somewhat more expensive headphones now (the B&W P7 Wireless) but I mainly upgraded because I wanted the optional Bluetooth supp
50.
▲
by
swift
9y ago
I do agree with that; "git reset --hard" should stash the changes in the working copy somewhere. I'm sure you'd agree, though, that backing up your repository is not going to protect you from "git reset --hard"
51.
▲
by
swift
9y ago
It's not really similar to forgetting to commit before pushing, but as another poster pointed out it's fair to compare it to "git reset --hard". The difference in my mind is that "hg resolve -m" is part of the
52.
▲
by
swift
9y ago
If you're writing a non-beginner git tutorial and you feel the need to include advice to "back up your repository" then you haven't done your job. It's incredibly hard to lose data with git - no matter what changes
53.
▲
by
swift
9y ago
I'm not really sure I understand your argument, but please consider that Apple's "power and scale" are really quite recent. It wasn't too long ago that they were in danger of failing as a company. They've gotte
54.
▲
by
swift
9y ago
I find myself pretty skeptical of the claim that Apple is "making the UI more difficult on purpose so you're more inclined to use siri". I can't speak to Apple's internal motives, since I haven't worked there,
55.
▲
by
swift
9y ago
Web browsers are astoundingly complicated. They generally contain multiple JIT compilers, a database engine, sophisticated rendering code for 2d and 3d graphics and fonts, video and audio codecs, support for a variety of network protocols
56.
▲
by
swift
9y ago
John Taylor Gatto is really worth reading. I also highly recommend "How Children Fail" by John Holt. It's one of those books that I keep thinking about, even years after I first read it.
57.
▲
by
swift
9y ago
Speaking as someone with a graduate-level education in mathematics, I definitely can't make change as quickly as an experienced cashier, and I'm sure a drug dealer would be able to judge the profit or loss expected from a series o
58.
▲
by
swift
9y ago
HTML6 document is essentially epub, which is HTML and CSS under the hood.
59.
▲
by
swift
9y ago
This stuff could definitely use some work, I agree. One tip I thought I'd share: the Music app has a widget that you can access on the lock screen which lets you play the most recent albums (or playlists, presumably, though I don'
60.
▲
by
swift
9y ago
It's tragic and cruel how a felony conviction can destroy someone's life over a nonviolent drug offense. Growing up, I knew some people who got felony convictions for possession of marijuana. Now recreational cannabis is legal in
More ›