Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hellcow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
481.
▲
by
hellcow
9y ago
Mozilla silently injecting ads into the content of websites through the browser is unacceptable. Full stop. This is the same type of scummy shit that ISPs have been pulling for years. But unlike ISPs, there's competition in the browser
482.
▲
by
hellcow
9y ago
> We need to accept that some of these ideas ... are inherently dangerous. This line of reasoning leads to censorship. It's the same line of reasoning used by every dictator and demagogue as well as China today. Why? The idea of dem
483.
▲
by
hellcow
9y ago
Sets, if you mean a collection that contains no more than 1 of something, are easy. Use a map with struct{}{} values. If ordering is important, it's ~30 lines of simple code to encase a slice and a map in a struct and define your desir
484.
▲
by
hellcow
9y ago
The Ubuntu PPA version (1.0) doesn't appear to have an `-n` option. > ddgr: error: unrecognized arguments: -n
485.
▲
by
hellcow
9y ago
Just installed, and it looks great. One minor thing: my terminal can't show the first page's results without me scrolling up after every search. I'd like to either have a reverse output (i.e. show the first result at the bott
486.
▲
by
hellcow
9y ago
I can speak to this too. Latest version of MacOS. I installed Spotify weeks ago, and Spotlight just never indexed it (it's in the /Applications folder). I use Spotlight to launch every app... except Spotify, which it can't fi
487.
▲
by
hellcow
9y ago
How did you arrive at the conclusion that it was an SSL vulnerability that constituted inclusion in PRISM? There are zero-days discovered all the time. Are you really suggesting that prior to Sept 2012 there were no critical zero-day vuln
488.
▲
by
hellcow
9y ago
Apple's documented history of working with the NSA to undermine the privacy of its users: PRISM. Tim Cook struck that deal with the NSA and remains CEO today.
489.
▲
by
hellcow
9y ago
This is a nice implementation from Dave Cheney: https://github.com/pkg/profile
490.
▲
by
hellcow
9y ago
For those downvoting, the above comment is a reference to a terrific sci-fi novel, "The Three-Body Problem," which focuses on the same problem discussed in the article.
491.
▲
by
hellcow
9y ago
I would ignore the GP's advice. Channels are prone to big errors -- panics and blocking -- which aren't detectable at compile time. They make sense to use internally but shouldn't be exposed in a public API. As one example, n
492.
▲
The Google Pixelbook is the first laptop with the Google Assistant built-in
(arstechnica.com)
4 points
by
hellcow
9y ago
|
0 comments
493.
▲
MacOS 10.13, thoroughly reviewed
(arstechnica.com)
100 points
by
hellcow
9y ago
|
17 comments
494.
▲
by
hellcow
9y ago
I started using HyperApp in my company's admin dashboard to render a complex diagram. In my experience over the past few months, HyperApp works very well, the documentation is solid, the performance is great, and we've encountered
495.
▲
by
hellcow
9y ago
Here's one that might help for Objective C: https://medium.com/@danstepanov/your-first-ios-app-100-progr... Alternatively this is the same tutorial using Swift: https://medium.com/@danstepanov/
496.
▲
Uber to stop tracking customers after ride is over
(arstechnica.com)
3 points
by
hellcow
9y ago
|
1 comments
497.
▲
by
hellcow
9y ago
If you're discussing storyboards in XCode (given you mentioned drag and drop), you actually don't need that feature and can lay out both iOS screens and the flows between them programmatically. I actually prefer writing views prog
498.
▲
by
hellcow
9y ago
The font is still pretty tough to read on Windows/Firefox. It would be way more legible with a 400 font-weight.
499.
▲
by
hellcow
9y ago
I'm trying to understand your complaint. Obviously you'll need a vendor directory somewhere containing the source code of your dependencies. Maven places them outside the project's root dir (defaults to ~/.m2/reposi
500.
▲
by
hellcow
9y ago
Use dep, which they're planning to add to the official tools like 'go get'. Then add your vendor directory to your gitignore, and you're done.
501.
▲
by
hellcow
9y ago
High Sierra allows you to default to reader view for any site you want. Before you had to enable reader view each time you visited.
502.
▲
by
hellcow
9y ago
Fun idea, but safety is going to be a big hurdle. :)
503.
▲
by
hellcow
9y ago
Or I could buy a phone that doesn't require an audio adapter, which is easily lost and prevents you from charging the phone and listening to music at the same time. Removing the headphone jack is a rediculous and unnecessary regression
504.
▲
by
hellcow
9y ago
Amazon is in a much better position to win the market, and investors recognize that. Amazon has a logistics network capable of doing same-day delivery at lower-than-Blue-Apron's costs. Amazon will ship locally rather than cross-country
505.
▲
Cancer vaccines safely fight and kill tumors in early human trials
(arstechnica.com)
1 points
by
hellcow
9y ago
|
0 comments
506.
▲
by
hellcow
9y ago
Then could we make a small change to the incentive structure such that this becomes a non-issue? For instance, could the government pay out the fee over 10 or 20 years (perhaps paying it in full on release), and stop future payments if the
507.
▲
by
hellcow
9y ago
You misunderstood my point. Both government-run and privately owned prisons are paid (or funded) based on how many inmates they have in custody. I'm suggesting that private prisons could be solution to the problem if we change their
508.
▲
by
hellcow
9y ago
You're absolutely right. Looking for a solution here, the central problem with the US prison system seems to be the incentive structure. Private prisons are paid based on how many inmates they have. Prisons are therefore incentivized t
509.
▲
by
hellcow
9y ago
You could also put `if (navigator.doNotTrack === "1") { return }` at the top of your script. https://developer.mozilla.org/en-US/docs/Web/API/Navigator/d...
510.
▲
by
hellcow
9y ago
The Three Body Problem (sci-fi book) had a similar puzzle in it--i.e. how can something as small as an atom have such a profound effect on our civilization? I won't spoil it, but it's well worth reading.
More ›