HNHacker News
TopNewBestAskShowJobs

rpnx

209 karma · joined March 1, 2021

submissionscomments
rpnx··on Ask HN: Suggestions for performance benchmarks for a new language?
Do you have strong feelings about the names being too similar?
rpnx··on Ask HN: Suggestions for performance benchmarks for a new language?
Interesting, the language is called "rylang" though, not "ry", so I think they're different enough to avoid confusion? other than the domain names anyway.
rpnx··on Ask HN: Discarding the climate argument, what's in it for a person buying an EV?
I have a plug in hybrid. It can drive about 25 miles on electric then switches over to gas. 8.8 kWh @ $0.30/kWh amounts to around $0.10 per mile. Gas here is around $0.09/mile @ 52 mpg.

So, if electricity > approximately $0.30/kWh, then driving on electricity is more expensive. But if less than that electricity is cheaper.

Also most gas cars don't get 50mpg, since mostly only a hybrid can really get that. So if you look at 25mpg, it ends up more like $0.60/kWh as the break even point.

rpnx··on Ask HN: What do you want to see in a systems programming language?
I registered rylang.net, but I have not put anything there yet. I'll put something there when I get further along. Only just added destructors for now.
rpnx··on Ask HN: What do you want to see in a systems programming language?
Oh yeah I'm with you on that one for sure.
rpnx··on Ask HN: What do you want to see in a systems programming language?
I think one common trait is that systems programming languages have pointers and manual memory management or ctor/dtor based memory management (as opposed to a garbage collector). Non-systems languages abstract away pointers with some kind of runtime.

Pointers cannot be escaped. They are how the computer actually works. Either you expose pointers to the user, and all the errors that can result, or you have an abstraction layer where the limited set of automatic transformations are known to be memory safe. Low level/systems languages operate at the pointer level, high level languages translate to pointers through a limited set of transformations that have been proven memory safe. Rust is a bit weird because it somehow figured out how to do manual memory management in a mostly safe way that didn't result in a huge amount of overhead. Basically Rust works like other systems programming languages that use pointers with the additional constraint that also you have to write "lifetimes" that formally prove to the compiler that your use of those pointers is safe. Think of it as writing C++ but also having to write a proof that your code is correct.

rpnx··on Ask HN: What do you want to see in a systems programming language?
Sounds like C++11 onwards. I plan to include all of those features of course.
rpnx··on Ask HN: What do you want to see in a systems programming language?
The main distinction between systems languages (e.g. C, C++, Zig) and non-systems languages is that in a systems language you can interface directly with the OS/hardware or at least a very lightweight runtime. If you need to talk in a language other than what the hardware speaks, you would need a layer inbetween the programmer and the hardware. Systems programming languages are what we use to create abstractions for non-systems languages, in particular runtimes. E.g. Java's JVM is written in C/C++. A defining characteristic of a systems programming language is that 99% of the runtime could be written in said systems programming language (maybe with some assmebly in the last 1% for system calls). That isn't possible in Java for example, you can't have a garbage collector that needs a functional garbage collector to exectute. Systems languages compile directly to machine code, and have enough features that can be used to interface with drivers and hardware. Systems languages have a very close association between what you write and how the computer works under the hood. Deviating from that von neuman model to make it do whatever you want is possible, but then it's no longer a systems programming language.
rpnx··on Ask HN: What do you want to see in a systems programming language?
I suppose you could produce documentation as a compilation byproduct. But I am not sure that is within the scope of a "programming language".
rpnx··on Ask HN: What do you want to see in a systems programming language?
I'm not sure that that is much related to systems programming, that sounds like a pretty high level library feature.
rpnx··on Inclusive community activists are harming FOSS
Look, the great people of hackernews flagged an article they don't like. Amazing.
rpnx··on Inclusive community activists are harming FOSS
Privilege is fake and just used to bully white cis men. It's a justification for discrimination. It's the same as the n-word in principle, used to single out people of a particular race. The weird thing is that some people consider it acceptable... it's just anti-white racism, the opposite but equivalent to anti-black racism.
rpnx··on Inclusive community activists are harming FOSS
Wow, that's pretty shocking. Perhaps nobody noticed. I am not sure GNOME has ever been sane though, so perhapss this is of no consequence?
rpnx··on Inclusive community activists are harming FOSS
It's exactly the topic of the article. Did you read TFA?
rpnx··on Inclusive community activists are harming FOSS
I think there's plenty worth talking about here. Like the opinion that the previous internet, where everyone could be rude and not worry about offending others, was arguably better.

I actually agree that the old internet was better. I'm not saying you shouldn't be banned from Twitter/X if you start using racist slurs online, but the way SJWs stalk people online is unacceptable, imo.

Why is it bad? It gets to the question of why we censor people on platforms to begin with. Is it to affect the discussion as a whole or keep the platform pleasant? I'd say trying to influence the societal discussion by censoring people is a form of evil. We censor people (which is evil) because it is the lesser evil when their posts are disruptive. When you go SJW and stalk people, it shows your motive is not to protect the platform but to silence the target, which is imo an evil motive. Silencing bad speech is still evil because you appoint yourself as the decider of good and evil. Neither should the collective majority be the decider, as history is rife with examples where the collective majority was wrong. Thus I believe engaging in censorship is inherently evil, and must be justified by some other good so that censorship is the lesser evil.

I also agree that there is an irreconcilable conflict between the values of open source and social justice.

Open source software must be usable for any purpose, good or evil. The goal of open source is not "justice" but rather "freedom". We must be able to use software "for any purpose" and a key there is self-determination and non-interference. SJW tendencies do not get the whole "leave me alone and let me decide" idea that is at the core of open source.

rpnx··on Inclusive community activists are harming FOSS
This is a really good article but you aren't going to like it if you're on the pro-SJW side.

I think it's a very good rationalization of the rational side of anti-SJW reasoning particularly as applied to Free Software.

Dude is literally being slandered and called a Nazi and SJW people in the comments here are defending the slander and attacking the poster ad hominem while making straw man arguments. It is amusing but also makes me lose hope that rehabilitation of SJW types is possible.

I personally think we need to divide communities into pro-SJ and anti-SJ spaces. SJ is self destructive, least of which because they tend to lose lawsuits when courts get involved. Defending literal slander is yet another example of that...

rpnx··on Ask HN: Do people not have hobbies anymore?
"Passive Income" is the root of all of our economic troubles. People who are getting "Passive Income", are by definition not working and producing output for the economy.

In order to gain passive income, you must leech off someone else's work product. So in addition to not working yourself, you reduce the incentive for others to work by taking what could have been their wages.

The obsession with "Passive Income" is what is killing the United States and western economies. Capitalism only works when bad investing is punished and the investors contribute value to society by selecting productive and useful occupations for the labor force. In the current system, investors instead act primarily as leeches/parasites that are killing off the labor force.

There are too many governmental laws "protecting investors" that need to be eliminated, because they allow idiots to remain members of the investor class. If you are too dumb to recognize a ponzi scheme, then you don't need to be controlling society's capital and should be relegated to working class.

The idea of investing in the stock market as a whole and the creation of regulations that have made that viable are killing off the labor force in general.

rpnx··on Ask HN: Do people not have hobbies anymore?
I think the reason is that productivity/wages have been falling. People want to maintain quality of life and so must dedicate a larger percentage of their time to income generation. This is, I think, directly a result of the declining economic situation.
rpnx··on Code Tests are pointless – doubly so for DevRel
There's too many bad programmers that are able to get by because of clueless managers. And schools aren't good indicators either. So for that reason I have to disagree very strongly. CV/Resume is a VERY BAD way to evaluate candidates. At a minimum you miss super talented self taught individuals, and at worst you end up with posers.
rpnx··on Ask HN: Why is Firefox losing marketshare and how would you save it?
My thoughts on this are that every time I see a news piece about Firefox it's about "social justice", some code of conduct controversy, or something else utterly unimportant to web browser selection.

Being "Open Source" does nothing for me when Firefox engages in the same crap as other closed source browsers, like Pocket. Mozilla also allowed social issues to take precedence over retaining good engineers. Whether you like it or not, even assholes have a basic right to exist and the more recent culture of shun and cancel has had negative consequences for society as a whole. Maybe they were assholes, but I don't give a shit how nice the developers who made my web browser are.

I suppose the problem with Mozilla is the CEO/people who make decisions about Firefox, replace them and maybe Firefox could be revived. But I have extraordinary doubts that Firefox is salvageable at this point. Mozilla's priorities have strayed so far from mine that I cannot see them becoming something I care about any time soon. I suspect it is similar for others.

There is not one issue with Firefox, the people in charge are not competent. It's mistake after mistake after mistake. These mistakes are a direct result of prioritizing diversity over talent.

rpnx··on Parsing can become accidentally quadratic because of sscanf
Never been a fan of C style strings for exactly this reason. C style strlen is slow. In C++ strings, the size is included in the string structure. Also, fetching the distance between two std::string::iterator is fast. string_view::size should also be fast when that's available.
← PreviousPage 2 of 2