Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
svalorzen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
svalorzen
11y ago
He's talking about the fact that older compilers used to get confused if you happened to open/close multiple template tags in sequence; i.e. "<<" or ">>". These were mistaken for operators, and the
62.
▲
by
svalorzen
11y ago
This article is probably one of the reasons why C++ gets the reputation it has. Please do not program like this. Aside from the fact that this is C++98, which lacks tons of features now widely accepted and useful in C++, the code in this ar
63.
▲
by
svalorzen
11y ago
Really? I used it for the past four years with no problems whatsoever. I used it since I linked a VoIP number to a landline in order to be called for free from my parents with no tech hassle. What kind of problems did you have? Usually its
64.
▲
by
svalorzen
11y ago
Linphone (VoIP) works beautifully, is free software and is cross-platform (also works on android). It's also lightweight and personally I find the quality of calls to be superior to Skype.
65.
▲
by
svalorzen
11y ago
In essence, they are used to allow template writers to easily put constraints on the type parameters that their templates require, and provide better diagnostics to users of template classes when they try to instantiate a template with the
66.
▲
by
svalorzen
11y ago
Sure, sure, but I don't know, personally it feels sloppy. Renaming namespaces to shorten them feels ok, as is importing specific names. Bringing in the whole shazam gives the impression that the person who was writing didn't reall
67.
▲
by
svalorzen
11y ago
I don't agree on the general usage of "using namespace std", so that part does not bother me. For an even shorter init: > std::vector<unsigned> counts(sevens.size());
68.
▲
by
svalorzen
11y ago
> Taking care of my family involves me working hard, so why are you willing to make me work harder so that others can work less? Nobody would make you do anything. You'd make exactly the same as other people. If taking care of your
69.
▲
by
svalorzen
11y ago
You mean data-fitting? Possibly (every problem can be modeled as an MDP) but it's definitely not the most efficient nor the most intuitive way to go about it, so I wouldn't recommend it.
70.
▲
by
svalorzen
11y ago
I actually have a video [0] and code [1] of the first (which was a one-month project), while the second is my thesis which is going to be finished soon. Maybe I'll post them as a separate entry one day, but I always think these things
71.
▲
by
svalorzen
11y ago
Shameless self-promotion post: if you're interested in AI based on Markov, I maintain an open-source library here https://github.com/Svalorzen/AI-Toolbox . It can be used for general autonomous agents which need to
72.
▲
by
svalorzen
11y ago
Solved! Thanks, that was a fun hour! :D
73.
▲
by
svalorzen
11y ago
I'm not a car expert, but wouldn't the fact that the engine takes time to heat up mean that it is more efficient?
74.
▲
by
svalorzen
11y ago
I believe that the main problem is not allocation time (games already have loading times, that's not a problem), but fast access and not breaking the cache.
75.
▲
by
svalorzen
11y ago
Are you hoping to accomplish something with this comment or are you just having a bad morning and need to vent?
76.
▲
by
svalorzen
11y ago
It seems to me that you simply don't like what C++ stands for, and that's perfectly OK; but then complaining that C++ follows C++ principles seems foolish to me. To quote the original article: > should we be using these low lev
77.
▲
by
svalorzen
11y ago
I don't understand how you can say that with a straight face. The ArrayView class is incredibly simple and takes about 10 seconds to understand. The "complex" stuff is in the make_contiguous code, which in the end is simply a
78.
▲
by
svalorzen
11y ago
In general, afaik, team strategies are not really developed in depth. This is simply because actually governing the robots is exponentially harder than anything else, and a robot that does not know where it is on the field, where the ball i
79.
▲
by
svalorzen
11y ago
Not much; a couple of cameras (which are not in the eyes), a motion sensor, microphone/receiver for audio and a couple of bump sensors. Aldebaran (the company that makes them) provides the robot with a default OS. The main problem is t
80.
▲
by
svalorzen
11y ago
The code is not the same; behaviours and inverse kinematics are pretty much never the defaults (they suck). So each team tries to work on things its members are good at, and it seems Australians are particularly good at that.
81.
▲
by
svalorzen
11y ago
Ask an ex-member of the Dutch Nao Team anything =)
82.
▲
by
svalorzen
11y ago
I don't know whether this is impressive or not. It's not like they took three robots, told them the puzzle and they started thinking and talking. It depends on how they actually implemented it. With prolog it would take 30 minutes
83.
▲
by
svalorzen
11y ago
This does not work, for a very simple reason. The same argument the article states can be construed for literally every single topic, from tech to AI to agricolture to fishing to engineering to medical science and so on. So either every sin
84.
▲
by
svalorzen
11y ago
Not only this, but due to space compression to the photon the star and your eye are also exactly the same place!
85.
▲
by
svalorzen
11y ago
Isn't considering churning in dating bad kind of like saying that a supermarket or restaurant shouldn't give much food to their customers otherwise they'll be sated and won't eat anymore? It seems to me that it's th
86.
▲
by
svalorzen
11y ago
So you won't bother reading what other people are saying, and instead will resort to spewing retorts based on your preconceived notions of what other people are stating? You must be a fun person to discuss with. I'd say actually
87.
▲
by
svalorzen
12y ago
> But if the tests were getting harder, and the average score was steady at 100, people must have been getting better at them. It would seem they were getting more intelligent. But the average score of IQ is 100 by definition . It doesn
88.
▲
by
svalorzen
12y ago
It is called advertising, making propaganda, lobbying. It works for a wide range of topics along any axes of the moral compass. For why it works, you probably hinted it in your post, but I don't see why it shouldn't be used for a
89.
▲
by
svalorzen
12y ago
If I didn't have a choice, I'd have probably abandoned the Linux ship long ago, frustrated with Unity and GNOME 3. Instead, I had one, and I am sincerely happy of that. This article makes it seem like people developing GUIs are at
90.
▲
by
svalorzen
12y ago
I don't understand the point about the subset of C++. Nobody is really saying that, they are saying that for most things pointers should not be used, since they would not be needed. But when they are needed, they exist and should be us
More ›