Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
boris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
boris
3y ago
> Qt should create a vanilla c++ package and tooling manager like Rusts cargo for dependencies and tools (and make semantic versioning mandatory). [...] Make the tool open source with vanilla c++ (aka non Qt projects), only so it can bec
62.
▲
by
boris
4y ago
> For example, let's say that you have Postfix using a smarthost as a relay, and the new version of Postfix requires relays to have a shared secret for authentication with each of their trusted clients. That isn't something tha
63.
▲
by
boris
4y ago
>It's possibly to state in a single command "show me the drift in my config files/data versus the ref I'm running" and/or "show me the diff between my running system and an update I may apply". I c
64.
▲
by
boris
4y ago
Most of these focus on running containers. What I would like is a distribution that focuses on the reliability of upgrades, both configuration and data. To give a concrete example, I have a Debian server running Apache (with auto-certificat
65.
▲
by
boris
4y ago
> [...] treated some of the code used for various feature checks invalid and the end result was checks failing even though they should have passed - often with barely any notification to the user (the user would see a "no" inst
66.
▲
by
boris
4y ago
> Cmake is the de-facto option and is an ancient horrible mess that feels like a miracle if it works at all. What's left? There is build2[1], which tries to approximate Cargo's experience for C/C++ projects while providing
67.
▲
by
boris
4y ago
I wish we had a culture that expected every new C/C++ build system to handle a non-trivial project like Boost or Qt (and their dependencies, like ICU and OpenSSL) before it being pitched as the new best thing. It's trivial to make
68.
▲
by
boris
4y ago
> Mistake 1: Not using sdl2-config > Mistake 2: Including SDL2/SDL.h The overarching mistake here is not using a proper build toolchain (build system and package manager). I especially take issue with this assertion: > The cor
69.
▲
by
boris
4y ago
You were fixing it the right way, details are here: https://news.ycombinator.com/item?id=34298159
70.
▲
by
boris
4y ago
> superbly coherent design [...] NT is pretty neat, and I would dare say, beautiful in some places Practically, though, it's a shit show. My "favorite" is the inability to delete a file that is open by another process. Com
71.
▲
by
boris
4y ago
> The ctl file also lets you control other connection settings, such as keep alive. Yes, though this could have been achieved with a bunch of sysfs-like entries under /net/tcp/127.0.0.1/80/<port>/ with
72.
▲
by
boris
4y ago
> you open /net/tcp/clone to reserve a connection, and read the connection ID from it. Then you open /net/tcp/n/ctl and write "connect 127.0.0.1!80" This feels so ham fisted to me. Why not jus
73.
▲
by
boris
4y ago
With kitesurfing you also have the lines in the mix. The biggest waves I personally surfed were 8m (what can I say, I was young and stupid). One guy dropped his kite and the next thing he was standing on the shore with every section of his
74.
▲
by
boris
4y ago
That's not shooting yourself in the foot, that's a compiler slapping you in the face for attempting to.
75.
▲
by
boris
4y ago
What do you do when some of these mentees (as you put it) get so used to having every question promptly answered that they stop reading the documentation or putting even a modest amount of effort into figuring out why things don't work
76.
▲
by
boris
4y ago
I wonder how this is deployed to presumably a large number of hosts? Do you build a distribution package out of your Rust build and ship that? If so, what about the Rust standard library? Though I believe some distributions do provide a pac
77.
▲
by
boris
4y ago
CppCon is organized by the Standard C++ Foundation (and a ton of volunteers), which is a non-profit organization. When I was involved quite a few years ago, I believe they were making a modest "profit" on the conference which I am
78.
▲
by
boris
4y ago
One thing that is unique about Estonia is its corporate tax system. Specifically, a business does not pay any tax on profit that it does not distribute as dividents. Meaning that any profit that you re-invest into the business (or just save
79.
▲
by
boris
4y ago
> You should use /c/... paths on Windows rather than C:/... This is the start of the realization that building C/C++ on Windows is only the beginning of the pain. Once you are past that, there is a multitude of semant
80.
▲
by
boris
4y ago
Last year we were holidaying in Drakensberg (mountaneous area in South Africa) and for my birthday I've decided to run the "Big 5" hike which involves climbing five hills in the area (it's at Cavern). About 20k with ~200
81.
▲
by
boris
4y ago
The point of taking notes is not to preserve the information (or at least not primarily) but to load it into the brain where the connections can magically be made, as you put it. Rich Hickey has a nice talk on this called "Hammock Driv
82.
▲
by
boris
4y ago
> Also, the community is toxic. I think "somewhat dogmatic" would be a more accurate description of the Rust community, IMO. For example, I recently had a discussion about `enum` being a poor choice for what Rust makes it to me
83.
▲
by
boris
4y ago
> There are however valid questions, like if Rust slows down your development say, 5%, would you get more net safety from spending 5% more time testing/fuzzing c++ code instead? etc. I think a similarly valid question is how often y
84.
▲
by
boris
4y ago
You probably mean relinking: to compare old .o to new, you would need to recompile the source file to get the new .o.
85.
▲
by
boris
4y ago
> It is almost magical changing a linker flag in some bazel config and see it _only_ relink affected targets. I think this should be expected from any modern build system. Now, if you make a whitespace change in your source file and the
86.
▲
by
boris
4y ago
C++ burnt through a lot of good will in the C++98 era where it was admittedly a hot mess (and all the compilers where buggy dumpster fires). Now on one hand we have people who publicly and loudly swore off touching C++ ever again based on t
87.
▲
by
boris
4y ago
"The fundamental cause of the trouble is that in the modern world the stupid are cocksure while the intelligent are full of doubt." Bertrand Russell
88.
▲
by
boris
4y ago
One tool (actually a build toolchain) that you may want to check then is build2: https://build2.org
89.
▲
by
boris
4y ago
I think this is the correct line of reasoning but I disagree with the conclusion: yes, MSVC is (unfortunately) most battle-tested where codegen is concerned. But next I believe is MinGW GCC, not Clang. Clang is used to build Chrome (and Fir
90.
▲
by
boris
4y ago
I wonder what are your plans regarding the build system/package manager? Specifically, do you plan to roll your own language-specific tooling (with some support for building C dependencies)?
More ›