Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sseagull
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
541.
▲
by
sseagull
10y ago
> what the fuck cout<<x actually does I'm not sure where that conversation would go. It prints to stdout. Would the student say the same thing about printf("%d", x)? How far down the rabbit hole did he want to go? St
542.
▲
by
sseagull
10y ago
Yes, but it would still be hard to support custom types, wouldn't it? Ie in your library, I would have to use pointers, which might be unsafe? Adding types to a library like that (like double) causes the amount of code to grow dramatic
543.
▲
by
sseagull
10y ago
I've been using C++ for a long time (10+ years). At one point (around C++11), I decided to really embrace the advanced features (template metaprogramming mostly) and stop trying to make the language something it wasn't. It can be
544.
▲
by
sseagull
10y ago
A vector/map of what? How do I have a map of some key to a custom structure? How do you do this simply without templates? Separate libraries? Macro hell? How do you handle types which need to free memory without destructors? Manually l
545.
▲
by
sseagull
10y ago
>One of the two versions is the active and the other isn't (for 97% of the population) My understanding is that the inactive form is actually metabolized into the active form by the body. There is some argument that this happens d
546.
▲
by
sseagull
10y ago
In my (uneducated) opinion, the specific problem is that the people, through their governments, lose control over these large, global entities that affect their daily lives. When they get this big, there's no way to tax them and no wa
547.
▲
by
sseagull
10y ago
I came here to say something similar. Yes, you can be angry, but sometimes it's better (as an economy and as a country) to just let it go. The selfish thinking that people shouldn't get anything for "free" (ie, shifting
548.
▲
by
sseagull
10y ago
This has been slightly confusing to me, but the syntax auto&& might not mean an rvalue reference. According to the post, it means a universal reference. I wish they would have made a different syntax. For example, with templates, my
549.
▲
by
sseagull
10y ago
Here is a starting point for one big movement in my field: https://www.nsf.gov/news/news_summ.jsp?org=NSF&cntn_id=18934... It's not quite "maintenance", but is definitely a step away from just writin
550.
▲
by
sseagull
10y ago
His first list really, really hand-waves the problems that style of coding can cause. Just use better tools or run valgrind? It never is that simple. One aspect of scientific coding is that it can have very long lifetimes. I sometimes work
551.
▲
by
sseagull
10y ago
If you run your own mail server you can set it to be any character you like. I have mine set to a dash, which tends to be accepted everywhere and less likely to be discovered as an alias (although certainly not impossible)
552.
▲
by
sseagull
10y ago
The NIH in the US has that also (with the same "behind the headlines" phrase, even!) http://www.ncbi.nlm.nih.gov/pubmedhealth/behindtheheadlines/
553.
▲
by
sseagull
10y ago
Not sure of the downvotes. If I am following the thread correctly, this is about KNC/KNL? From a KNC card: Linux <hostname>-mic0 2.6.38.8+mpss3.4.3 #1 SMP Mon Feb 16 16:08:55 PST 2015 k1om GNU/Linux From KNL: Linux <hostn
554.
▲
by
sseagull
10y ago
Interestingly, I just started an exercise routine (body weight fitness) and I'm hoping I can stick with it. I've made a few modifications that hopefully will improve my chances of long-term success 1.) I exercise in the morning. E
555.
▲
by
sseagull
10y ago
100% agreement here. I'm actually in the process of "discovering" bodyweight exercising, and am pretty excited to try it (waiting for a minor muscle strain to heal first. It should be good in a few days) I always got bored wi
556.
▲
by
sseagull
10y ago
It's easy to say that, but there's no way that can be reality. The amount of money to advance your field by an order of magnitude can be quite large. Research is expensive and funding is hard to come by. Therefore, if you want to
557.
▲
by
sseagull
10y ago
The lack of scientists has been a myth for a long time, and probably comes from the lumping of very different fields under the umbrella of "STEM". Lots of good info from the IEEE Spectrum (2013): "The STEM Crisis is a Myth&qu
558.
▲
by
sseagull
10y ago
While "cannot" might be a little strong, it can be true, depend on the field and company of course. I used to work at a large company that in the past performed a large amount of fundamental research into physics, since it affecte
559.
▲
by
sseagull
10y ago
This is common in the sciences as well, since senior professors also had the 8-character limit (from fortran [0]). And functions are also named this way as well (see lapack/blas). Some people also hate typing out slightly longer variab
560.
▲
by
sseagull
10y ago
I'd say it's a difference in desire, although I'm sure there's some amount of denial out there ("I'm not lonely, I'm just solitary") If you want human interaction but don't get it, that's lo
561.
▲
by
sseagull
10y ago
I agree. There's certainly a continuum for the desire to be around others. kstenerud is very much at the extreme. But he's not the only one, and there's nothing at all wrong with that.
562.
▲
by
sseagull
10y ago
I get that feeling as well, sometimes. Even though I don't want quite your level of isolation, I don't mind working alone or not talking to anyone else in person for days (except my wife). I sometimes think of it as the 'tyra
563.
▲
by
sseagull
10y ago
Correct. 97.113 Prohibited Transmissions (a)(4) ... messages encoded for the purpose of obscuring their meaning, except as otherwise provided herein... With one exception being telecommand of a space station (and possibly model craft). Sour
564.
▲
by
sseagull
10y ago
Two minor comments: 1.) Mistake #7 Has been somewhat fixed in the TS by specializing shared_ptr for array types (similar to unique_ptr<type[]> syntax). What they said was true though for C++11. 2.) If the data within a shared_ptr is n
565.
▲
by
sseagull
11y ago
> which would make Gnome and its components impossible to run on systems without systemd. This is my main complaint. Most programmers know that coupling separate components is a bad idea[0]. After a while, the two components merge; they
566.
▲
by
sseagull
11y ago
>It would be great to have some function annotations to show which exceptions can be thrown, though. There was [0]. It is deprecated and generally discouraged, since it quickly becomes a maintenance nightmare (since you have to include u
567.
▲
by
sseagull
11y ago
>Probably as many millions of lines the C++ standard will use, since its based on boost::filesystem. Not necessarily. A lot of boost contains workarounds for compilers that don't support certain features. Since the standard library
568.
▲
by
sseagull
11y ago
I disagree. I'm a scientific programmer working mainly in C++ and Python. Deleted and defaulted functions help a lot by reducing the amount of code that needs to be written, maintained, and debugged. Rvalue references help by reducing
569.
▲
by
sseagull
11y ago
The only pattern I can think of is to construct via a free function. The free function would call the real (basically empty) constructor, and then fill it in via other member functions or by directly accessing the data (via friendship). Thi
570.
▲
by
sseagull
11y ago
There are some deductions you can take in addition to the standard deduction (student loan interest, moving expenses, some education expenses, etc). These all change the adjusted gross income, from which the standard deduction (or itemized
More ›