creed | 4 years ago | on: Yes, Other Countries Do Housing Better, Case 2: Germany
creed's comments
creed | 9 years ago | on: Auto Type Deduction in C++ Range-Based For Loops
Sure if you consider:
for (auto& p : wordCount) {
// ... word: p.first, count: p.second
}then
for (auto& [word, count] : wordCount) { // C++1z
// ...
}seems like an improvement because you immediately know the semantics of the two parts of the pair. But you have no idea what "word" or "count" is. In this example with words like "word" or "count" the semantics somehow encode type information but most of the time you deal with user defined types where that information is a) not clear and b) not as trivial.
To me this whole "auto" thing seems misunderstood. People use it to make their lifes "easier" (think lazy) but not simpler. The type system is there to help you and type information is of uttermost importance and should be available as closest to the usage as possible without destroying readability so you don't have to look it up somewhere else.
using wcPair = std::pair<const std::string, int>;
for (wcPair& p : wcMap) {
std::cout << p.first << " : " << p.second << std::endl;
}seems reasonable enough. The loop itself can be read without clutter, you can infer what's supposed to happen without knowing much stuff and even if you want a deeper understanding of what's going on then the information you need is right above.
Doesn't that seem much better? oO
...and if you want a language without a type system don't use a language with a type system.
creed | 9 years ago | on: I've Been Waiting For The Oculus Rift, But Now It's Sitting In My Closet
You can't just copy/paste any of the old stuff onto this new medium, it just doesn't work that way and you certainly cannot compare this to 3D tv/cinema...
..and I think the people that got hyped the most also completely underastimated the tectonic shift needed in order to make any of this really entertaining.
I think of the "visual" component of the VR problem as solved and am now looking forward to seeing how the "interactive" component of the problem will be solved. Because you need to perceive the world, check, but now you need to be able to interact with it: not solved yet.
But people got waaaay to excited seeing only the visual aspect solved...
creed | 10 years ago | on: Thngs – a place for every thing
So yeah, I get why people are connecting this with wikipedia but to me that's not the point. Wikipedia is a knowledge base of important stuff people want to seriously look up.
With the pokedex I can just snapshot some sneakers the guy next to me wears on the tube and get the some infos and maybe personal opinions. It's way more silly and informal but thats what you get when you can add ANYthing.
Think about it, I could add my old Gameboy and have people share their memories and good ol' stories about "back in the day". You could even add your old dog and if somebody asks the index about your dog it will say "That's Dave's dog" xD
This "thing" is way more personal, individual, informal than Wikipedia. Wikipedia is as steril as an OR, with sharp knowledge like a scalpel.
This is just things. Simple, but I can definitely see a trajectory where we end up thinking: how did people live without it? :D
(not this particular version, but if you take the idea and turn it up to 11)
creed | 10 years ago | on: Why not just a simple spreadsheet of salaries?
Here in Europe we have decided to build a society in which we don't get as much money to spend on our own but rather collect a big portion of that money and invest it back into our society, so that we can send our kids to school without directly paying a fortune for it. But I'm also paying a tiny bit of everybody elses kid's education.
Where as in the US you get most of the money you earned and are free to spend it any way you like. Which means you gotta for pay for eeeeeverything but at least it's your choice but if you don't have the money you're f*ked?
Is that it?
creed | 10 years ago | on: Why not just a simple spreadsheet of salaries?
Looking at the spreadsheet I noticed, that all the jobs in the US easily make twice the money then the european ones. Since according to Google 1$ is about 0.9€, if you make 100k in the US this should roughly translate to 80-90k €.
Now I do get that in the US you have to take care of all kinds of insurances yourself, but it can't possibly be as much as double the salary or am I wrong?
So if someone could roughly sketch why the huge salary difference that would be great.
creed | 10 years ago | on: Autocomplete from Stack Overflow
I guess we as programmers should seriously think about the future of our craft.
If, for example, we feel we are basically using the same building blocks over and over again, we should seriously think about organizing libraries and code snippets and questions asking for such snippets in an organized way and provide ways to transpile 1 solution in different languages etc..
We should not accept the current state of our craft as final and rather think about how to improve in general.
If for instance something like StackOverflow has become the Wikipedia of Code then let's think hard about how to make into a full blown tool, with all the features and semantics we need. It was a nice project the way it started and grew but it doesn't have to stay like that forever!
I can only second what others in the comments here have already pointed out: current housing and housing prices feel fundamentally broken and completely disconnected from wages and realistic mortgages.