Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sean1708
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
451.
▲
by
Sean1708
9y ago
> Therefore I doubt if it is really needed Well the article seems to suggest that it absolutely is needed for function arguments.
452.
▲
by
Sean1708
9y ago
Why not just make them out of recyclable plastic?
453.
▲
by
Sean1708
9y ago
Do you mean like this? In [1]: def foo(f, a): ...: return f(foo, a) ...: In [2]: foo(lambda f, a: f(lambda f, a: a, a-1) if a > 0 else a, 10) Out[2]: 9 Obviously that's a completely useless and convoluted
454.
▲
by
Sean1708
9y ago
> variable declarations inside loops What's wrong with variable declarations in loops?
455.
▲
by
Sean1708
9y ago
I for one applaud the government for this brave and unparalleled step towards getting teenagers more involved in tech.
456.
▲
by
Sean1708
9y ago
Thanks, I completely missed that "Basic/Unconstrained genericity" was a subsection of "Genericity in Eiffel" when I first saw that page.
457.
▲
by
Sean1708
9y ago
Would you mind going into a bit more depth about Eiffel's generics? It's not obvious to me from Wikipedia how they differ from normal parametric polymorphism.
458.
▲
by
Sean1708
9y ago
You say you weren't interested in maths when you were young, but were you bad at maths when you were young?
459.
▲
by
Sean1708
9y ago
> Typeface refers to the set of all the distinct shapes. It's what most people mean when they say "font" in everyday life. > Font refers to a specific weight at a specific size. That's a much better summary than
460.
▲
by
Sean1708
9y ago
Slightly off topic sorry, but how Algorithm Differentiation usually implemented? Do you just apply the chain rule to an AST, or is there something more complex you have to do?
461.
▲
by
Sean1708
9y ago
It doesn't replace Awk though. I think the point of this post is that you shouldn't do `<search tool> <pattern> | awk ...`, you should just do `awk /<pattern>/ ...`.
462.
▲
by
Sean1708
9y ago
I'm very upset that we didn't get the story behind #10.
463.
▲
by
Sean1708
9y ago
> Very few technical docs I've seen for "modern" software are of convincing quality. There's a reason Technical Writer[0] is a profession in of itself, this stuff is much harder than people give it credit for. [0]:
464.
▲
by
Sean1708
9y ago
If that were true we wouldn't have spent so much time, money, and effort on making programming more accessible. No, the unfortunate truth is that making a general purpose visual language is hard and that so far text is still the best
465.
▲
by
Sean1708
9y ago
To be fair that's not a tutorial on how to encrypt and decrypt a file, it's a reference on the possible encodings you can use for a string.
466.
▲
by
Sean1708
9y ago
> The agent overhead is measured to be less than 1% for applications under high load. Do you have the methodology and data that you used to obtain this figure? Because to be honest I'm quite dubious, especially for an app which is
467.
▲
by
Sean1708
9y ago
$ mkdir "hi there" $ mkdir "how are you" $ ls -l total 8 drwxr-xr-x 2 xxxxxxxx xxxx 4096 Jun 26 14:54 hi there drwxr-xr-x 2 xxxxxxxx xxxx 4096 Jun 26 14:54 how are you $ for f in $(ls); do echo $f; done
468.
▲
by
Sean1708
9y ago
Any particular reason you don't use `ruby -p`? Looks like it's doing pretty much the same thing.
469.
▲
by
Sean1708
9y ago
> And that's one of the problems with being first to infrastructure Is this really true? I thought the US only started getting chip and PIN about 4 or 5 years ago?
470.
▲
by
Sean1708
9y ago
If M is the number of months then (since you can't have a fraction of a subscriber) you will be in steady state when Y * X^(M - 1) < 1 so once M > 1 - (ln Y / ln X)
471.
▲
by
Sean1708
9y ago
Only if you can have a fraction of a subscriber, otherwise there will a finite number of months after which you will attain steady state.
472.
▲
by
Sean1708
9y ago
It's not a textbook but Khan Academy's Linear Algebra[0] course is a good start. [0]: https://www.khanacademy.org/math/linear-algebra
473.
▲
by
Sean1708
9y ago
Nobody said it was. They said it was a german-only specification that was full of gibberish, you could just as easily have an english-only specification that was full of gibberish (as most are to be honest).
474.
▲
by
Sean1708
9y ago
> Why would you need to change the number of spaces to read it? Yes, why? You were the one that said: > If you don't want that, then each tool has to be configured separately, with a different method for each.
475.
▲
by
Sean1708
9y ago
> It must be caused by something You'd be surprised: http://www.tylervigen.com/spurious-correlations
476.
▲
by
Sean1708
9y ago
I don't see the difference between that and having to preprocess every command you run to change the number of spaces used per indentation level (a much harder task).
477.
▲
by
Sean1708
9y ago
> Which itself is based off of gofmt In what way? It looks like a fairly standard formatter to me.
478.
▲
by
Sean1708
9y ago
> I find vims block highlighting (ctrl+v) very useful, never noticed it being part of an IDE. As far as I'm aware multicursors are a superset of block editing (i.e. multicursors can emulate block editing but the reverse is not tru
479.
▲
by
Sean1708
9y ago
> which is definitely annoying when you have your editor set to autoconvert Is this actually a problem? Every editor I've ever used has detected that I'm writing a makefile and has changed the indentation to tabs automaticall
480.
▲
by
Sean1708
9y ago
It's not so bad if you use a formatter (still prefer indenting though), but if you align everything by hand it's just more annoying than it is useful (in my opinion).
More ›