HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Davidbrcz

no profile record

Submissions

Dear researchers: help me deal with incidents [pdf]

surfingcomplexity.blog
5 points·by Davidbrcz·vor 18 Tagen·0 comments

ACM Code of Ethics and Professional Conduct

acm.org
2 points·by Davidbrcz·vor 2 Monaten·0 comments

Forcing dark mode in PDFs for Firefox

drgrizz.xyz
3 points·by Davidbrcz·vor 2 Monaten·1 comments

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

github.com
37 points·by Davidbrcz·vor 7 Monaten·5 comments

Ask HN: What predictions for 2025 did come true?

1 points·by Davidbrcz·vor 7 Monaten·0 comments

Visions: Simulate the View of Visually-Impaireds

play.google.com
1 points·by Davidbrcz·vor 9 Monaten·0 comments

Swiss voters back e-ID legislation

admin.ch
40 points·by Davidbrcz·vor 10 Monaten·59 comments

comments

Davidbrcz
·vorgestern·discuss
https://lobste.rs/ feel more like old-HN
Davidbrcz
·vor 16 Tagen·discuss
This is the 2020s re-enactement of the early 2000 WYSIWYG editors.
Davidbrcz
·letzten Monat·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
·letzten Monat·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
·letzten Monat·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
·letzten Monat·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
·letzten Monat·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
·letzten Monat·discuss
I was an intern at CERN in mid 2010s and worked on this !
Davidbrcz
·vor 2 Monaten·discuss
Concepts have been disappointing for me: what they tell you is still buried in 1000 lines of errors.
Davidbrcz
·vor 2 Monaten·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
·vor 2 Monaten·discuss
More climate disasters, more wars (water's war), more refugees.
Davidbrcz
·vor 3 Monaten·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
·vor 3 Monaten·discuss
They are all the regular software, but with new bugs in it !
Davidbrcz
·vor 4 Monaten·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
·vor 5 Monaten·discuss
Just need to check if it's plain Ada or one specific profile or SPARK
Davidbrcz
·vor 5 Monaten·discuss
Refreshing stories between all the AI ones (and crypto/web3 before that)
Davidbrcz
·vor 5 Monaten·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
·vor 5 Monaten·discuss
https://www.crypto101.io/Crypto101.pdf
Davidbrcz
·vor 5 Monaten·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
·vor 5 Monaten·discuss
For main it's explicitly allowed by the standard, and no return is equal to return 0