News for hackers. Stuff that matters.

Enhex

a better alternative to email is to use public key cryptography for authentication
Re:Ask HN: Do you trust solo entrepreneurs? on Sunday July 03, 2022 @03:44AM (#31965892)
so if they die you get their IP for free?

doesn't it put a big incentive to letting them die?

Re:AWS costs every programmer should know (2019) on Thursday June 09, 2022 @08:09AM (#31680170)
for a single box the extra cost is roughly as much as you need for your personal computer.
how centralized services deal with that? filtering AI?
writing documentation is even better, only have to explain something once.
there are package managers for C and C++, but people aren't told about them.

https://conan.io/

https://vcpkg.io/en/index.html

this implies Python's advantages is not having a package manager, but better teachers or at least teaching better practices, so it isn't even language related.

Re:Case against OOP is understated, not overstated (2020) on Friday February 11, 2022 @04:38AM (#30299298)
people who hate "OOP" are usually ones that fail to understand how to use some language features. prime example is "Circle–ellipse problem" which demonstrates how people fail to realize inheritance is about code reuse and not about representing hierarchies of abstract ideas (and i wonder where they got that wrong info from, perhaps they extrapolated it from the name "inheritance"?).

same goes for all the other language features.

Re:This shouldn't have happened: A vulnerability postmortem on Wednesday December 01, 2021 @10:06PM (#29412050)
this is C code. stuff like void*, union and raw arrays do not belond in modern C++. while C++ is compatible with C it provides ways to write safer code that C doesn't. writing C code in a C++ project is similar to writing inline assembly.
for software developers it takes time to learn their way around a new code base (usually 3-12 months), so low retention is highly detremental. economically a business can be better off giving a big raise than losing someone, paying recuiters, losing time on finding a replcement, losing time until the replacement gets up to speed, and eventually losing the replcement too. if this whole cycle could mean for example the business only get 1 year of effective work out of 2 years, in which case doubling the salary to retain someone is just as effective.

also it isn't extortion if someone gets a better offer elsewhere, and the offer cant be infinitly high.

to conclude no retention means lack of second order thinking.

writing your own on top of established networking lib will have much less code thus smaller attack surface.
these cloud services intentionally try to get you to make such spending mistakes by not providing an option to set a budget or time limit, or auto shutdown on idle.

i assume AWS learned to target businesses with this shady strategy, which do waste huge amounts of money this way, instead of burning bridges with hobbyist developers over pennies that later will avoid using AWS at the workplace if given the choice.

Re:GitHub Copilot as open source code laundering? on Wednesday June 30, 2021 @08:39AM (#27687721)
it doesn't have to be exact to be copyright infringement, see non-literal copying. basic idea behind it is if you copy paste code and rename variables that doesn't mean its new code.
Re:Ask HN: Anybody Started a Research Institute? on Friday May 28, 2021 @04:31PM (#27320128)
wealth transfer* it's a zero sum game and a ponzi scheme because it has no intrinstic value for the most part since most cryptocurrencies fail as currency.
that's a very naive view that fails to realize this information can serve humans do evil things - scammers, "cancel culture", revenges, genocide, stalking kids, kidnappers, burglers, telemarketing, and so on.
i was annoyed by the verbosity of XML when using it for config files at my workplace so i tried to design maximally human readable & writable text file format, which turned out to be extremely concise and fast: https://github.com/Enhex/Deco

after trying at least dozen C++ GUI libs and none of them being good enough (license, limited portability, limited customability,...) i started making my own one which is OpenGL based, got automatic layouting, separation of concerns of layout/style/logic, permissive license, and provides building blocks to make your own widgets. https://github.com/Enhex/GUI

they're ads, just done right by providing value instead of being spam.
Re:The account of realDonaldTrump will be locked for 12 hours on Thursday January 07, 2021 @10:46AM (#25672302)
self hosting is the solution, everyone already got a computer and internet connection. IPv6 solves the NAT & CGNAT problems.
Re:Discipline Doesn’t Scale on Wednesday October 21, 2020 @01:50AM (#24845107)
im pretty sure Rust builds on top of C++11's move semantics and unique_ptr.
You didn't get the latest edition of the Newspeak dictionary?