Better HN
topnewbestaskshowjobs
Log inSign up

Enhex

21 karma · joined Aug 6, 2015 (11y ago) · 20 submissions

Submissions

comment 4y ago · link · parent

a better alternative to email is to use public key cryptography for authentication

comment 4y ago · link · parent

so if they die you get their IP for free?

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

comment 4y ago · link · parent

for a single box the extra cost is roughly as much as you need for your personal computer.

comment 4y ago · link · parent

how centralized services deal with that? filtering AI?

comment 4y ago · link · parent

writing documentation is even better, only have to explain something once.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

writing your own on top of established networking lib will have much less code thus smaller attack surface.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

they're ads, just done right by providing value instead of being spam.

comment 5y ago · link · parent

self hosting is the solution, everyone already got a computer and internet connection. IPv6 solves the NAT & CGNAT problems.

comment 6y ago · link · parent

im pretty sure Rust builds on top of C++11's move semantics and unique_ptr.

19.

Deco – Delimiter Collision Free Format (2,000% Faster Than JSON)(github.com ↗)

3 points · by Enhex · 8y ago · discuss

comment 11y ago · link · parent

You didn't get the latest edition of the Newspeak dictionary?