HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Davidbrcz

no profile record

Submissions

Dear researchers: help me deal with incidents [pdf]

surfingcomplexity.blog
5 points·by Davidbrcz·18 days ago·0 comments

ACM Code of Ethics and Professional Conduct

acm.org
2 points·by Davidbrcz·2 months ago·0 comments

Forcing dark mode in PDFs for Firefox

drgrizz.xyz
3 points·by Davidbrcz·2 months ago·1 comments

P: Formal Modeling and Analysis of Distributed (Event-Driven) Systems

github.com
37 points·by Davidbrcz·7 months ago·5 comments

Ask HN: What predictions for 2025 did come true?

1 points·by Davidbrcz·7 months ago·0 comments

Visions: Simulate the View of Visually-Impaireds

play.google.com
1 points·by Davidbrcz·9 months ago·0 comments

Swiss voters back e-ID legislation

admin.ch
40 points·by Davidbrcz·10 months ago·59 comments

comments

Davidbrcz
·2 days ago·discuss
https://lobste.rs/ feel more like old-HN
Davidbrcz
·16 days ago·discuss
This is the 2020s re-enactement of the early 2000 WYSIWYG editors.
Davidbrcz
·last month·discuss
The best way to learn a new language is to follow a proper structured resource which would cover syntax, semantic, tooling & ecosystem and best practices.
Davidbrcz
·last month·discuss
And that's the usual fallacy (just ignore the bad stuff).

But if you work with C++ in professional context, you will encounter it somewhere (library, teamate's PR, legacy code, LLM output, book / blog / conference ...). |

You actually need to know the bad stuff to be able to judge it and discard it.
Davidbrcz
·last month·discuss
Python, Java, Lua, Ruby are ~30 years old, Ada being as old as C++.

Sure, none is perfect and they have cruft and warts, but they are not such a mess as C++ is.
Davidbrcz
·last month·discuss
No it's not.

The language keeps growing, with

- new features overlapping old features from previous standards without replacing them or deprecating them (function::copyable_function vs std::function, std::less<> key for transparent lookup in maps)

- new features not usable by the layman (coroutines ...)

- Cryptic syntax (reflection...)

- Stuff you are told not to use because of performance reason and that cant be fixed because of ABI (regex)

- Compile errors that are 1km long (no, concepts are not helping here, the 'nicer' message is still buried into a hot pile of template instantiation callstack).
Davidbrcz
·last month·discuss
Except the language keeps growing, with

- new features overlapping old features previous standards without replacing them or deprecating them. - new features not usable by the layman - ...

See function::copyable_function vs std::function, modules, coroutines, Reflection syntax is cryptic at best, ...
Davidbrcz
·last month·discuss
I was an intern at CERN in mid 2010s and worked on this !
Davidbrcz
·2 months ago·discuss
Concepts have been disappointing for me: what they tell you is still buried in 1000 lines of errors.
Davidbrcz
·2 months ago·discuss
We are more likely to have water and food shortages because of resource exhaustion and climate change. Maybe goods shortages because of war or economic depression.
Davidbrcz
·3 months ago·discuss
More climate disasters, more wars (water's war), more refugees.
Davidbrcz
·3 months ago·discuss
> Dissimilar redundancy eliminates that risk. A completely different OS, different codebase, different development team.

Not entirely true. I've heard during my uni years of a case were two independent teams used the same textbook for implementing a feature, which had an error, and thus resulting in the same failure mode.
Davidbrcz
·3 months ago·discuss
They are all the regular software, but with new bugs in it !
Davidbrcz
·4 months ago·discuss
I use asio at work for coroutine. It's one of the most opaque library I've ever used. The doc is awful and impenetrable.

The most helpful resource about it is a guy on stackoverflow (sehe). No idea how to get help once SO will have closed
Davidbrcz
·5 months ago·discuss
Just need to check if it's plain Ada or one specific profile or SPARK
Davidbrcz
·5 months ago·discuss
Refreshing stories between all the AI ones (and crypto/web3 before that)
Davidbrcz
·5 months ago·discuss
People manually doing resource cleanup by using goto.

I'm assuming that using defer would have prevented the gotos in the first case, and the bug.
Davidbrcz
·5 months ago·discuss
https://www.crypto101.io/Crypto101.pdf
Davidbrcz
·5 months ago·discuss
You do a cross analysis.

- Compile it with the maximum number of warnings enabled

- Run linters/analyzers/fuzzers on it

- Ask another LLM to review it
Davidbrcz
·5 months ago·discuss
For main it's explicitly allowed by the standard, and no return is equal to return 0