Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morpher
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
morpher
13y ago
If you use vim, the syntastic[1] plugin has go support and gives you this sort of feedback directly in the editor (for any go code, not just app-engine -- and many other languages) every time you save. [1] https://github.com/
62.
▲
by
morpher
13y ago
It doesn't work for me in firefox on linux. But, works fine on chromium (although it requires more vertical real-estate than my 13" laptop screen has).
63.
▲
by
morpher
13y ago
Maybe something like the following would be more explicit: for i,x := range xs { go func(x) { fmt.Println(x) }(x) }
64.
▲
by
morpher
13y ago
I would argue that if one is unable to do the back of the envelope estimate, then they would have a difficult time doing the rigorous calculation / determination. The main difference between the two is the quality of the numbers that g
65.
▲
by
morpher
13y ago
How do you account for the Dunning-Kruger[1] effect when asking your "How do you rate yourself?" question? I would guess that answers in the range "6 or 7" could span a really wide range of actual knowledge. Does that
66.
▲
by
morpher
13y ago
As I said, relevant to an SDE position at Google. Those are not.
67.
▲
by
morpher
13y ago
I personally think that "estimation" questions (sometimes called "Fermi problems" since Enrico Fermi was famous for asking them) are a great way of gauging an individuals thought process. They aren't about getting t
68.
▲
by
morpher
13y ago
Can't you just separately report the number of non-confidential-law-enforcement requests (as an exact number), and let the reader take the difference?
69.
▲
by
morpher
13y ago
Interesting. The original Am. J. Phys. paper[1] is from 2011. [1] http://ajp.aapt.org.offcampus.lib.washington.edu/resource/1/...
70.
▲
by
morpher
13y ago
Exactly. So, the technological issue really is one of making assymmetric keys easier to use / keep track of.
71.
▲
by
morpher
13y ago
Additionally, as point (18) on the page you linked to states: Mandatory. Enable/Disable Secure Boot. On non-ARM systems, it is required to implement the ability to disable Secure Boot via firmware setup. A physically
72.
▲
by
morpher
13y ago
The way it reads is the way it works, which is why it is a nice syntax. Although,it is actually: if (!(x==5)) return;
73.
▲
by
morpher
13y ago
This is entirely the wrong take-away message from this article. The point is that strings are not sequences of numbers, but are, rather sequences of characters . Characters are abstracted from the underlying byte representation which is
74.
▲
by
morpher
13y ago
Interesting that this is PEP 435 and the prior attempt was PEP 354.
75.
▲
by
morpher
13y ago
With a mobile keyboard, it is simple to allow multiple, easily-switchable layouts. So, although QWERTY probably won't go away soon on account of familiarity this is no reason not to introduce an alternative.
76.
▲
by
morpher
13y ago
This article (and the UW press release they quote) state that the estimated 228,000 tons of lithium present at the site is "enough to meet annual U.S. demand". I'm not sure what this last statement means since it isn't qualified by "for XXX
77.
▲
by
morpher
13y ago
Thanks. I figured this was the case given the sentence "After nine years of unprecedented spending and growth, ..." I wonder why the didn't include a date on the linked page. Seems like an important piece of information for any news article
78.
▲
by
morpher
13y ago
Although I largely agree with your point that gettin hung up on notation is missing the forest for the trees, you should not entirely dismiss the art of good notation. For example, Leibniz differentials make the chain rule seem "obvious" du
79.
▲
by
morpher
13y ago
I wrote a verlet based physics engine years ago and had similar issues. Relaxing distance constraints tended to add a bit of angular momentum in to the system. Sometimes having a drag term in the integrator was enough to compensate, but thi
80.
▲
by
morpher
13y ago
In addition to unitless data, PCA works when all of your variables have the same dimension. It simply doesn't make sense to build a principle component vector that is a mixture of (i.e. weighted sum of) vectors with non-identical units.
81.
▲
by
morpher
13y ago
I dont know how it is in other fields, but in physics, at least, reviews are only singly blind. The reviewer knows who the author is. Even then, it is often possible to guess at the referrer based on the comments they make. Blinding the au
82.
▲
by
morpher
14y ago
Do a lot of guys approach coding with a conquest mentality? I found this sentiment particularly interesting. I've always had a more creative / constructive mindset while coding and curious / scientific mindset while debugging. As a male pro
83.
▲
by
morpher
14y ago
The slide cast doesn't show up in mobile safari. But, there is a link on the page to a list with detailed descriptions and examples: http://darkpatterns.org/what_is_a_dark_pattern/
84.
▲
by
morpher
14y ago
The OP is talking about a list with at most five items in it. Linear search is not an issue. Using a dict may even be slower than just searching a 5 element array linearly...
85.
▲
by
morpher
14y ago
Although this is true (and silly), AT&T (at least) will unlock the phone for you after contract expiration. If this is true of other carriers, then the issue is largely irrelevant.
86.
▲
by
morpher
14y ago
You can be a current customer with outside of the (typically two year) contract period. Currently AT&T (and possibly other carriers?) will unlock the phone for you in this situation. But, it wouldn't be terrible to have this specificall
87.
▲
by
morpher
14y ago
"-e: edit something" (or 'sudoedit') is actually very useful. It makes a temporary copy of th file that is editable by your user, allowing the editor to be run without elevated privileges. After the editor quits, it moves the edited file ba
88.
▲
by
morpher
14y ago
It looks like this tool doesn't actually calculate a histogram of the data, but simply plots a bar plot of integral data. So, a negative value means whatever it means in your data.
89.
▲
by
morpher
14y ago
See my response to the parent. As the OP mentions iphone support in the first two sentences, so, it is a bit disingenuous to suggest that gpgme (which simply wraps the gpg executable) is a solution and that "sheer ignorance" and "lack of wi
90.
▲
by
morpher
14y ago
GPGME is far from ideal. As papaf mentions, it simply wraps the gpg binary. If you have an environment (e.g. an iphone) where running external binaries is not allowed, then GPGME cannot be used. To me, the whole idea of wrapping an executab
More ›