Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
omaranto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
751.
▲
by
omaranto
13y ago
This explanation of how %r works here is incorrect: > I knew about `%r` but hadn't realized that it escapes forward-slashes while leaving other regex symbols intact. The correct explanation can also be found in the next sentence of
752.
▲
by
omaranto
13y ago
Seems so. It's called a 'tutorial', and other PyCon talks called tutorials are also around 3 hours.
753.
▲
by
omaranto
13y ago
I use this function to force evaluation of elements in a generator: def do(gen): for x in gen: pass It evaluates all elements of a generator with storing them in memory. If you don't mind generating some garba
754.
▲
by
omaranto
13y ago
I think I would write the fibs expression as fibs = [true,false].lazy.flat_map{|i| if i then [1,1] else fibs.zip(fibs.drop(1)).map{|a,b| a+b} end} instead of the author's fibs = inf.map do |n| if n < 3
755.
▲
by
omaranto
13y ago
What you say about almost all linear algebra routines being multiplication sounds crazy to me. How are the following supposed to be multiplication: (1) computing the transpose, (2) finding a basis for the kernel of a matrix, (3) factorizati
756.
▲
by
omaranto
13y ago
All of the symbols are optional in J, except for =. and =: which are used for assignment. If you don't like % for division you can define divide=: % and then only use divide. If you don't want to come up with your own nam
757.
▲
by
omaranto
13y ago
I recommend installing a J interpreter on your phone or tablet. It's concision makes it a great choice for coding without a physical keyboard (specially with a specialized J virtual keyboard). It's great for, say, doing Project Eu
758.
▲
by
omaranto
13y ago
I wonder what the author thinks of GorillaScript [1]. [1]: http://ckknight.github.io/gorillascript/
759.
▲
by
omaranto
13y ago
Oh, sorry, I didn't realize that CUFP was saying this. I searched for "chester bennin site:cufp.org" on Google and the only result returned was this page: http://cufp.org/users/genie
760.
▲
by
omaranto
13y ago
The startup time that makes Clojure unsuitable for utility scripts and such is really Clojure's, not the JVM's! JVM start up time is actually quite small these days. See for example, http://nicholaskariniemi.github.io&#
761.
▲
by
omaranto
13y ago
I agree there is a "chester Bennin" listed on CUFP, there is also a person named "Chester Bennington" who was the lead singer of Linkin Park. What I disagree with is your claim that these people with different last names
762.
▲
by
omaranto
13y ago
Isn't the Linkin Park vocalist named Chester Bennington? I think you're off by a gton.
763.
▲
by
omaranto
13y ago
I enjoyed the wording of this question: "I’m from Missouri. Can you give me a simple reason why virtual functions (dynamic binding, dynamic polymorphism) and templates (static polymorphism) make a big difference?"
764.
▲
by
omaranto
13y ago
I borrowed my father's chromebook a couple of months ago and was surprised to see it came with vim, so I found the native text editing not only decent but as good as on any other computer. :) (I think you might need to enable develope
765.
▲
by
omaranto
13y ago
You can stop worrying now: what you're afraid of doesn't actually happen, though I sort of see how someone who hasn't spent their life studying mathematics might worry that it does. Since you have to back up your ideas with p
766.
▲
by
omaranto
13y ago
Using a cli for everything is an extreme proposition! You'll probably get tired of it quickly and choose to add some fullscreen text mode programs to the mix, like vim or emacs. For a "full featured" console environment, add
767.
▲
by
omaranto
13y ago
That's probably not true, in that among the myriad distros there's probably one in which vi is nvi.
768.
▲
by
omaranto
13y ago
From using both Lisp and Wolfram language (in the good old days when it didn't have a name and was called "the language Mathematica uses"), I have to say I find lowercase and dashes, parenthesis and spaces more readable than
769.
▲
by
omaranto
13y ago
What's so dumb about them? Do you like your opening and closing parenthesis to be the same, too?
770.
▲
by
omaranto
13y ago
Maybe that's British English, like "maths" instead of "math"?
771.
▲
by
omaranto
13y ago
I'm not very familiar with Julia, could you provide an example of what you're taking about in the last paragraph?
772.
▲
by
omaranto
13y ago
Honest question: are you being sarcastic? I've only ever owned one device with an aluminum body: it was an iPod Touch and when I dropped it the screen got cracked (but it didn't fall apart). I've never broken anything on a de
773.
▲
by
omaranto
13y ago
I don't think they ever provided you with GNOME 2 , specifically, they provided you with GNOME current version , and they still do. You make it sound like they changed their minds, which I don't think is the case.
774.
▲
by
omaranto
13y ago
I switched back to Firefox because Chrome started feeling slow, and Firefox feels now as fast as Chrome used to. Plus in Firefox I get to use extensions (I know there are some for Chrome, but I could never find ones as good as the ones I&#x
775.
▲
by
omaranto
13y ago
Which Austin did you mean? Jane [1]? [1] http://en.wikipedia.org/wiki/Jane_G._Austin
776.
▲
French Court Orders Google To Display Notice On Its Search Page
(npr.org)
2 points
by
omaranto
13y ago
|
0 comments
777.
▲
by
omaranto
13y ago
I remember that a couple of years ago the mobile website was actually noticeably faster than the app, at least on iOS, and gave you access to more features. Back then I kept the app around just to upload photos, but used the mobile site for
778.
▲
by
omaranto
13y ago
Oh, that makes sense. I should have figured that was it.
779.
▲
by
omaranto
13y ago
At 0:28 when "\oplus" is inserted into the file, the key actually pressed is a filled circle. If the key you have to press doesn't look like the symbol you're trying to insert, that means you have to learn yet a new name
780.
▲
by
omaranto
13y ago
vim is a full screen editor, not a command line editor (CLI), are you thinking of sed, instead?
More ›