HNHacker News
TopNewBestAskShowJobs

TheMonarchist

64 karma · joined July 23, 2021

Someone's interests should be in line with those of the country.
submissionscomments
TheMonarchist··on The Gunpowder Plot
> I do remember as a child having a lot of sympathy for Fawkes and the others!

It would surely be interesting to hear what could justify blowing up the parliament and murdering royal family in a child's mind.

TheMonarchist··on Dictator Book Club: Orban
Why would Hungarians succumb to a totalitarian system that benefits a small minority (as it is painted in the article) so soon after the yoke of Russia broke? There was an uprising against even it in the fifties and Hungary was the first prison state to breach its own walls. Why are they so submissive now?
TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
Of course it should have distinctive look compared to a call where order matters, but I actually like your idea as it would require reordering just once. I think the order should be fixed in the source code too.
TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
You can submit a paper to ISO WG21 concerning adoption of your favorite units library, but it won't ever be baked into the language, because it can be done as a library.

Meanwhile a randomly picked library can either roll its own solution or pick a suitable one. Presumably Boost Units is all but standard.

TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
Many of your design aims sound a lot like what Java was supposed to be. In particular:

> Something dead simple.

> I want code that's easy to write and easy to read. No fancy tricks. -- no manual memory management or custom operators. A child should be able to use it.

> I want code that's easy to maintain and deploy.

> A language for accountants and office workers. For school teachers and twelve-year-olds.

TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
There are multiple C++ libraries for just that. Search "c++ units".
TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
C++ has user defined literals, so you could write 12_inch.
TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
> I find C++ and Rust hard to grasp quickly.

That's a direct consequence of them aiming to be usable for anything.

TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
I guess both, like C++ does it.
TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
I would either disallow using it when two parameters have same type, or assume that their order is irrelevant: using the feature promises that it won't make a difference.

Edit: Found terser expression.

TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
I think most of those languages need a GC, excluding them from some niches. Rust is probably closest to C++ in this respect. Most notable difference is that Rust restricts the programmer to ensure correctness, whereas in C++ anything that can be correct should compile.
TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
Is that not Scheme? I don't know what libs it has, but surely that's only a matter of creating them.
TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
From the top of my head I would do 2 features no other language (to wit) has:

- request reordering arguments to find a match for when you don't remember the right order. I think this is better than named parameters and other hacks.

- The very opposite of Python: non-printing characters are skipped and won't affect anything. This requires dedicating a character to the separation of tokens. I think comma could be used. I would also use parentheses for grouping tokens.

Edit: Forgot that HN wants empty line to respect '\n'.

TheMonarchist··on Ask HN: If you designed a new programming language, what would its features be?
Is that not just what C++ aims to be?
TheMonarchist··on Ask HN: With open source software, how do I find out where my users come from?
I think the increased traffic is due to something more popular now depending on OP's library. Their users won't come to its repository for documentation.
TheMonarchist··on They don't even know the fundamentals
I don't mind being slow early on when I'm doing something new, because I know that I will get muscle memory for things I repeat a lot and become faster. I also use an editor that supports mapping keys (currently vim).

Besides, only Java can make any programming task I/O bound ;p

TheMonarchist··on Ask HN: Whatever happened to exploring the internet?
I agree in a way, but for different reasons.

The Internet can host public debate where everyone can participate equally well in a way that was never before possible, whereas mainstream media is mostly a relic from a time when writing was ink on paper, and publishing was therefore expensive.

People could commend blogs and articles they think you should read (and publish their own too!). They should be able to do so without fear of losing friends or being kicked from the platform when they find something objectionable in them.

Blessed is he, whosoever shall not be offended in me. -- Jesus the Christ

But the tongue can no man tame; it is an unruly evil, full of deadly poison. -- James 3:8

TheMonarchist··on Ask HN: Whatever happened to exploring the internet?
Bubbling can be avoided with something like DuckDuckGo or Startpage, albeit SEO gamed content is still an issue.

Marginal search engines may be better at avoiding it, as optimizing for them wouldn't be that profitable, but I haven't tried any.

You could try checking out lower results, or search the SEO gamed content for hints that help you dig deeper.

TheMonarchist··on Ask HN: Whatever happened to exploring the internet?
> I seem to have collapsed down to checking 5 to 6 sites.

I check about 20 sites regularly even when I have other interesting things to do.

> Where would I even go to find other sites that might be of interest?

Search engines?

> Whatever happened to the idea of “exploring the Internet”?

It sounds like you would like to find lists of recommended sites that people used to have on their homepages. Most people don't maintain such lists anymore, because 1) nobody reads them 2) they are busy pushing updates and consuming those of other people. Most people find more interesting stuff than they have time to consume already. (Who even needs entertainment industry anymore?)

Also I don't frequent social media, unless HN counts.

Edit: Sometimes when I want anything to read, I search "is java dying" or "why c++". There has always been something new, albeit I do it only two or three times a year.

TheMonarchist··on What We Lose When We Lose Thomas Jefferson – By Samuel Goldman
It was a melting pot of the British, the Irish, the Dutch, the French etc. In the old world all nations lived relatively isolated, save them whose profession involved travel, that was expensive and painstaking.
TheMonarchist··on Language statistics from open source projects
I think the numbers given are the all time stats; they are used for sorting. The graphs are of recent activity, and clicking on one takes you to a tool where you can compare languages of your choice by the number of active contributors, recent commits, lines of code changed or active projects.

This site is my preferred source on programming language trends. I think true popularity manifests as willingness to contribute in the language, so I compare the big 6 (C, C++, Java, JavaScript, Python and shell script) by the number of active contributors. Contrast it with the oft cited TIOBE index that literally measures noise.

TheMonarchist··on C++ most popular programming language in open source
> I feel like I am solving problems in C++ the way that I want to, I guess, in a very opinionated way. And I don't like to compromise on the design.

Me too! I'm glad that Rust has managed to champion extensive static analysis forward, but at the same time it's clear that rustc can prove only a proper subset of correct programs correct. I don't like the idea of being restricted to a subset of correct programs. The philosophy of C++ is to allow anything that could be correct, but you can still use tools to detect suspicious code. The difference is that you can ignore the false positives.

TheMonarchist··on C++ most popular programming language in open source
For a few months now C++ has had the biggest share of active contributors in open source projects tracked by Open Hub. Each contributor is counted once for every language they have contributed in in the last month.

C++ has also most commits and code lines changed in the last month, but I think the number of active contributors most accurately reflects language popularity, that this method defines as willing to contribute in the language. Now one might protest that the project dictates the language to use; fair enough, start a project in Malbolge and see how many contributors you get. Moreover C++ comes only fifth in the number of active projects, after Python, shell script, JavaScript and C. Clearly C++ projects have more active contributors on average than those languages.

TheMonarchist··on A GPIO Driver in Rust
C++ is the most popular programming language. It overtook Python in the number of active developers this month: https://www.openhub.net/languages/compare?utf8=%E2%9C%93&mea...

It's share of developers has been growing since early 2013, when C++11 began to be widely available, and more recent revisions have apparently boosted its growth.

← PreviousPage 4 of 4