Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thestoicattack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
thestoicattack
8y ago
Ada uses "function" and "procedure." I think they've relaxed the rules slightly, but it used to be procedures have no return values and functions may not modify their arguments.
92.
▲
What to Do When the Trisector Comes (1983)
(researchgate.net)
1 points
by
thestoicattack
8y ago
|
0 comments
93.
▲
by
thestoicattack
8y ago
It seems[1] that since C++11 .data() and .c_str() are the same function. c_str() is also documented as having constant complexity. If it made a copy, wouldn't it have to be linear? [1] https://en.cppreference.com/w/
94.
▲
by
thestoicattack
8y ago
Yes. std::optional<T> allocates the T in-place. Just checked compiler explorer, and on g++ 8.1, sizeof(std::string) == 32, sizeof(std::optional<std::string>) == 40. (of course sizeof(char* ) == 8)
95.
▲
by
thestoicattack
8y ago
> You want strings to be semipredicates. I mean that strings should be able to have a NULL value, as I can do with C. A null value different from "emptiness"? Would you be okay with a std::string* or a std::optional<std::str
96.
▲
Perl One-Liners of the Month
(hanshq.net)
2 points
by
thestoicattack
8y ago
|
0 comments
97.
▲
by
thestoicattack
14y ago
Note that this email comes at the end of a really long thread arguing this point (reversion in stable trees) on LKML. The discussion also spilled onto G+. I'm not at all surprised that Linus (among other people) might be losing some patienc
98.
▲
by
thestoicattack
15y ago
Perhaps you want the Haskell zipWith function? It takes two lists and, instead of zipping them together -- i.e., applying the tuple constructor (,) -- it lets you apply an arbitrary function. I think from your python, you want the first ele
99.
▲
by
thestoicattack
16y ago
Iconoclasm and Heresy? Is that an Advanced Civilization reference?
100.
▲
by
thestoicattack
16y ago
What neighborhood? (Charles Village here.)
101.
▲
by
thestoicattack
16y ago
Right on. I have lived in Baltimore almost my entire life. I'm a PhD candidate at Hopkins now, but if I do a startup when I finish, I'd much rather stay here than move to California.
102.
▲
by
thestoicattack
16y ago
> the IBM team could be pretty well assured of success once they got Watson performing well enough. That shouldn't minimize the accomplishment of actually performing well enough. If Watson were fast on the buzzer but couldn't answer acc
103.
▲
by
thestoicattack
16y ago
What about GMail?
104.
▲
by
thestoicattack
16y ago
> Apple keeps testing the boundaries of what we will tolerate because it knows it can get away with it while the competition still lags behind. I'm not convinced the competition will lag forever. If Apple were not the market leader, wou
105.
▲
by
thestoicattack
16y ago
I don't know anything about typefaces, but I still think it's unattractive.
106.
▲
by
thestoicattack
16y ago
That was exactly my thought process when I ended up deleting my account. There were people who I wouldn't be able to contact, but then again, I never talked to them anyway even when Facebook made it convenient.
107.
▲
by
thestoicattack
16y ago
Over-fitting and peeking at the test set are completely different things. Over-fitting may in fact degrade performance on a test set, because it means you are giving too much weight to idiosyncratic patterns in the training data. Peeking
108.
▲
by
thestoicattack
16y ago
The Mars Trilogy (Red/Blue/Green Mars) by Kim Stanley Robinson.
109.
▲
by
thestoicattack
16y ago
In fact, forget the country!
110.
▲
by
thestoicattack
16y ago
I would absolutely do business with PirateNinjaRobots. I don't even care what they do. Take my money.
111.
▲
by
thestoicattack
16y ago
Smart Bear makes me think of Yogi, so I approve.
112.
▲
by
thestoicattack
16y ago
Has anybody every done (non-fictional) mining somewhere other than Earth?
113.
▲
by
thestoicattack
16y ago
Conisder "Statistical Methods for Speech Recognition" by Fred Jelinek. Lots of math, not so much CS, if that'll make things easier for you.
114.
▲
by
thestoicattack
16y ago
What part of NLP? It's actually a pretty wide field.
115.
▲
by
thestoicattack
16y ago
I can't tell if you're trying to say that my goal is adorable or disappointing or that I'm a young'un or what.
116.
▲
by
thestoicattack
16y ago
Finishing my PhD.
117.
▲
by
thestoicattack
16y ago
Q. What do you get if you integrate a meromorphic function around Europe? A. Zero, because there are no Poles! Okay, there are Poles, but they're removable.
118.
▲
by
thestoicattack
16y ago
I am in a similar situation. My school was among the first couple of expansions, if I recall. They pretty much lost me when they stopped requiring a dot edu email address to sign up. I had kept a completely unmaintained presence there since
119.
▲
by
thestoicattack
16y ago
All my computers are named after Star Wars planets. The recently acquired MacBook Air is "naboo".
120.
▲
by
thestoicattack
16y ago
I have no problem with the iPad-limit policy. The annoying part was that the clerk was not able to volunteer any information at all about what the policy actually says. From the customer's tone it seems like he wasn't going to throw a fit,
More ›