Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dded
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
dded
13y ago
If you're an Emacs user, have you tried Esc-/ (or M-/) for autocompletion? Note that this works in any mode, not just Python mode.
92.
▲
by
dded
13y ago
I hope you're wrong about Lua, which I've never used. But allow me to say that I have to use Tcl, and I hate it. I want to like it, the syntax is clean and code has a nice look to it. But the everything-is-a-string [1] semantics
93.
▲
by
dded
13y ago
Thanks for this reply. I thought the "bizarre blind spot" comment was some sort of (absurd) thought that numpy users were unaware that C was being used under the hood. > it eventually will catch up and surpass two-language sys
94.
▲
by
dded
13y ago
This fails on a Mac (10.9) and on CENTOS5 (2.6.18): #include <unistd.h> #include <fcntl.h> #include <stdio.h> int main() { int fd = creat("foo/bar", 1); if (fd == -1) {
95.
▲
What’s the Matter With Kansas’ Schools?
(nytimes.com)
2 points
by
dded
13y ago
|
0 comments
96.
▲
by
dded
13y ago
That'd be ~120,000 (according to Wikipedia). In case anyone else didn't know that off the top of their head. A better analogy for Americans would be Springfield. You can almost just pick one: IL, MA, MO (OH is a bit too small).
97.
▲
by
dded
13y ago
> On the phone front, LG showed off its entry level phone, the Fireweb Interesting, given that LG just announced WebOs on their TVs: http://www.businessweek.com/news/2014-01-06/lg-unveils-inter...
98.
▲
by
dded
13y ago
> that is, the forward-slash was part of the filename, not the path...which I didn't even know was possible on any platform Nor did I. Which platform?
99.
▲
by
dded
13y ago
I really like Excel for adding up columns of numbers. Any task where you want to see the data (and the quantity of data is low enough to realistically be seen) and the operations performed on the data are relatively simple and straight-for
100.
▲
by
dded
13y ago
Thanks for the pandoc link, I'll try that tonight. My ipython does already have notebook, numpy, matplotlib, and more set-up; I didn't realize I was missing anything till I tried nbconvert. But I've just recently installed a
101.
▲
by
dded
13y ago
> The bottom-up people [...] only add abstractions [later] I don't think bottom-up verses top-down are like political camps. I think it's more innate, like right-brained vs. left-brained. I can't understand abstractions
102.
▲
by
dded
13y ago
Haskell is a relatively difficult language to try. Introductions and books almost seem to expect you to understand the syntax when you begin. And I/O is introduced late, which makes it hard to play around with.
103.
▲
by
dded
13y ago
> Before people can write "Hello world", they're told they have to write "public static void main(String[] args)" Bootstrapping is hard. My introduction was in Fortran, and I had written a couple of sort impleme
104.
▲
by
dded
13y ago
> It's a shame more classes don't actually just have all 100 students work together on a single code base - it would be incredibly beneficial I up-voted your comment as a whole, but I really disagree with this statement. It&#x
105.
▲
by
dded
13y ago
Addendum: High schools also used to teach typing (on typewriters). Now that keyboards are ubiquitous, typing classes have inexplicably been dropped. Go figure.
106.
▲
by
dded
13y ago
> Dijkstra assumes that students will already have been exposed to imperative languages before joining university For those entering CS, this is probably true. But it's also probably true that that's because of the students&#x
107.
▲
by
dded
13y ago
Well, yes, compile-time generics are compile-time. That's why I said "runtime".
108.
▲
by
dded
13y ago
> [...] there are few circles where Java, or at least the JVM, isn't used I was making the very opposite point. I think Java programmers tend to underestimate the circles where it is not used. In particular, it seems that those wh
109.
▲
by
dded
13y ago
Yes, but so does run-time generics somewhere along the line.
110.
▲
by
dded
13y ago
No, the problem is that SetUnion needs to be implemented six times for six different data types.
111.
▲
by
dded
13y ago
> Go, as I said, is Java Lite Or Python+. Interesting all the comparisons to Java, with me coming from an environment where Java is never used, never considered, largely never thought about. If Java is mentioned at all, it's usuall
112.
▲
by
dded
13y ago
What's the best way to install ipython on a Mac? Mine's from Macports, and I have ipython notebook, but when I try to use nbconvert I'm told I'm missing pandoc. A 'port install pandoc' wants to install yet an
113.
▲
A New Tool to Help Mathematicians Pack
(simonsfoundation.org)
3 points
by
dded
13y ago
|
0 comments
114.
▲
by
dded
13y ago
> First, it is explained in the text above it. A minor correction: the explanation for this heuristic was added later. (I first opened this in a tab, and then didn't read the tab till much later. I also wondered about the heuristi
115.
▲
by
dded
13y ago
"Only"? That word isn't in the original title. In fact, the article states: > though the study’s findings fit other recent indicators pointing to the app’s strength And > “Snapchat is really on the rise right now,” sh
116.
▲
by
dded
13y ago
> Why shouldn't television reflect reality? Because there's a cycle. TV reflects reality, but it also shapes reality. It shapes us. > the evidence was [...] unashamedly destroyed And without protest. I believe TV has made
117.
▲
The FBI drops 'law enforcement' from its mission statement
(theverge.com)
2 points
by
dded
13y ago
|
0 comments
118.
▲
by
dded
13y ago
A lot of manufacturing jobs are beyond monotonous. In college one year, I worked 10 hours a week in a semiconductor testing facility. I plugged a chip into the tester, pushed the button, took the part out and penciled the two-letter code r
119.
▲
by
dded
13y ago
The publicity should be early, to prevent the damage.
120.
▲
by
dded
13y ago
Agreed. And he famously believed that his "loss" to Kennedy in a televised debate was due to his not shaving.
More ›