Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
barumi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
barumi
6y ago
> I say when cmake file includes another cmake file, all variables are inherited, and in certain cases cmake file can define variable in outer cmake file scope. This is not true at all. You only "inherit" variables that you int
302.
▲
by
barumi
6y ago
> each build file is independent (unlike CMake where the project is one big script with global scope and side effects) I don't understand your point. CMake projects specify build targets per module, and it's up to the developer
303.
▲
by
barumi
6y ago
I don't understand. To do that you just need to pass the subdir with your CMakeLists.txt to add_subdirectory(). Exactly which problems did you experienced?
304.
▲
by
barumi
6y ago
> I recently experimented with C++17/20 in CLion & CMake. I tried to organize my project that different namespaced folders could have their own cmake-file and depend on different external libraries (dlls). What's hard about
305.
▲
by
barumi
6y ago
> Then when you want to do anything other than a simple project, it gets crazy. I've been using CMake for around a decade and I have to say I never experienced anything remotely similar to what you described. Do you mind sharing a r
306.
▲
by
barumi
6y ago
> You may as well be saying that there are better options for producing readable text than HTML, because that's what Reader Mode is for. To me it reads like this adds absolutely nothing to that which HTML has been already delivering
307.
▲
by
barumi
6y ago
Perhaps that was the case in the pre-HTML5 days, where each browser decided what they think they thought was HTML, and IE was a reference.
308.
▲
by
barumi
6y ago
> They say epub is some XML, ok. Epub is HTML and CSS bundled in a zip file following a specific directory tree layout and containing a few metadata files. Epub 3 is HTML5. Open LibreOffice, create a doc, save it as Epub, and unzip the f
309.
▲
by
barumi
6y ago
6 years of your life is a price that's pretty steep. Some crimes have prison sentences shorter than that. I wouldn't call that free.
310.
▲
by
barumi
6y ago
It's reasonable to assume that compilation times can go down if you decide to forego compile-time features (i.e., templates). However, C++'s standard library is a productivity blessing. I'm not convinced of the advantage of r
311.
▲
by
barumi
6y ago
Eigen is an absurdly template-intensive library, and people use it because so far there is nothing better or even remotely comparable to it. If you use Eigen but somehow feel that compilation time is your focus instead of actually doing lin
312.
▲
by
barumi
6y ago
> or god forbid you touched a header file that was used in 400 code units In C/C++ that means you decided to change 400 translation units. That's not a problem with the build system at all. That's a problem with how the de
313.
▲
by
barumi
6y ago
> It's python, so you can write your own abstractions as you see fit. And that's the likely reason why scons projects become cryptic to write, impossible to debug, and unmanageable in general.
314.
▲
by
barumi
6y ago
> but modifying the CMake files that describe them is excruciating. I've been using CMake for over a decade and the only time editing CMake files was not straight-forward was when whoever wrote them had no idea of what they were doi
315.
▲
by
barumi
6y ago
Could you show any data that supports your assertion about rates of suicides, domestic violence, and child abuse?
316.
▲
by
barumi
6y ago
As far as I could tell the game is still sold at around 40€ so OP's point still stands.
317.
▲
by
barumi
6y ago
Great article. Loved it!
318.
▲
by
barumi
6y ago
Can you provide a single example that supports your thesis that migration from Python 2 to 3 was poorly managed semver-wise? If anything, Python is chastised for having maintained two major versions in parallel without giving any compelling
319.
▲
by
barumi
6y ago
> That's completely unrelated to library versioning. It really is not. The initial assertion was that stumbling on breaking changes once per month was somehow a sign that a library isn't ready. Thus assertion flies in the face
320.
▲
by
barumi
6y ago
> If you're introducing breaking changes once per month, then your library really isn't ready. The whole software industry moved away from waterfall to agile because it's unreasonable to assume that no requirements will em