HNHacker News
TopNewBestAskShowJobs

cmroanirgo

2,684 karma · joined January 11, 2010

cmroanirgo at gmail

semi retired (only code for things I love to do for the improvement of humanity, rather than games or ponzi scheme financial markets)

submissionscomments
cmroanirgo··on The use of ‘class’ for things that should be simple free functions (2020)
It's rather trivial to write your own specialised form of array management, that is both easier to read & debug & also produces less bloat. I've worked at several places where std:: is verboten.

Only some of the people coming onboard never got over the shock of such a rule, but for the most part, all developers embraced the different paradigm. Teams inter operated faster, iterated changes faster, & there were less issues with inter department libraries. Bugs were far fewer.

It really gives you freedom to have complete ownership of your code, rather than 100% relying on boilerplate libraries. I now see std:: as a disempowering limitation to modern development.

Of course, YMMV.

It also makes it easier to work on other platforms, like embedded, where resources are a premium. Writing your own vector & hashmaps then become part of your muscle memory & it's no longer daunting to write a custom allocator.

cmroanirgo··on Show HN: Self-Hosted Maps Stack
It'd be really great to be able to know what's in the docker black box. It'd be even better to be able to know what the moving parts are for those of us that do self hosting sysadmin style. My VMs are too small for docker... but i'm sure the underlying stack would run without issue.
cmroanirgo··on Internet drama in Canada
Nothing is being fixed for the areas initially promised. My area, rural, was supposed to be the first to go fibre.... but Oz is huge... and so they chickened out and gave the rural guys nothing. The main house still only has ADSL1 (8Mb/s peak, & generally sits around 2Mb with a lot of noise). As such, I use a tethered 4G connection for all internet in my cabin.

However, to cater for rural areas, they rolled out Wireless NBN, which is just a dedicated 4G connection and 50% more cost over standard NBN... staying on 4G is cheaper and has a closer tower (so the signal is better).

Starlink is starting to look better... (if only I trusted Elon Musk).

cmroanirgo··on About iCloud Private Relay
Because a lot of their mac users have android phones.

Same argument for windows...a lot of iOS users run windows.

cmroanirgo··on 867-5309 in All US and Canadian Area Codes
Related: By the B-52s song, 6060842

https://www.youtube.com/watch?v=hik5y1lNGbY

cmroanirgo··on ZFS Without a Server Using the Nvidia BlueField-2 DPU
I'm trying to understand the implications of this thing. Please forgive my ignorance. So, a DPU (data progressing unit) is basically a daughter board that has multiple CPUs, big network, modest RAM, but also NVMe capabilities? There's a bit of architectural stuff i didn't understated in the article.

Is this the world going full circle and re introducing mini-pcs of the 80's and 90's era?

I understand, I think, the usefulness of having these in a data centre, each customer having their own DPU which would present to them as a bare metal device.

I understand, I think, the crypto guys loving this for compute power, easily expandible.

I also understand this is not for average consumers... but this is HN... what other uses can we put through this/ what advantages does this physical architecture give us?

If anyone could elucidate ....? It looks exciting, but I'm not sure of the scope.

cmroanirgo··on A guide to getting started with embedded systems
Engineers typically get paid less than developers. I used to joke back in the 90's and 00's (&still kind of do) that I'd quit and become a DBA (typically 2-3x salary).

I look around at the 6 figure web dev jobs and it honestly breaks my heart. I look at embedded and engineering roles (ones that interest me anyway) and it's rarely 6 figure. I just don't have the mental fortitude to deal with web dev monotony.

The only other time I got bad pay was game development.

So, my experience is, the more technical the job, the less you get paid (but more interesting/ demanding). Look at middle management, why do they get paid better? (Btw, I've been CTO too)

cmroanirgo··on The day I discovered that Apple Maps is Kind of Good now
I thought i'd missed something and Apple Maps was now available on non-Apple platforms. Sadly, it's still iOS and macOS only. The top search results all suggest using DDG and using the maps option there, which apparently uses Apple Maps.

:sigh:

cmroanirgo··on Bubble Tea: fun, functional and stateful way to build terminal apps
Less modern systems have been running cross platform forever. Eg Free Pascal/lazarus.

TUI/GUI (qt,gtk,cocoa,...) & even has pas2js

cmroanirgo··on No Fixed Address Bank Account
> To access the No Fixed Address programme, you must be experiencing housing or homelessness difficulties and receiving support from one of our partner charities.

If you aren’t receiving support from Shelter or one of our other partners, you won’t be able to access the No Fixed Address programme.

cmroanirgo··on 'Rater' is paid $10 hourly to teach Google's algorithm
Not exactly true. Most people would infrequently use the buttons, but when they do, you can be sure they want it that way.

I would suggest that the big reason not to go down the avenue of social buttons is the inevitable gamification of it. Already we have have ratings farms for apps and amazon. Of course we will have similar if search implemented this.

cmroanirgo··on I fell in love with low-JS
> One CTO I remember flat out getting angry that his reason for using React was because Facebook was doing it

Lol.

I find it ironic that from a developer standpoint, we're quick to jump with the latest FAANG libraries/cult thinking paradigms, but especially here on HN, we're equally quick to show the hate for those very same companies. Personally, I've found that all FAANG software is generally a good reason to not use it! (My solutions are all bricks and mortar sized, rather than oligarchal/massive advertising globalist farms)

cmroanirgo··on CDC tracked millions of phones to see if Americans followed lockdown orders
The problem could also be said to start with software. Particularly Apple and Google for allowing specific location information to be used in the same app as advertising. The problem is that all apps are granted access to the internet.

Nip those two things in the bud and the problems will slow down, I think. But it's a pipe-dream, I know.

In the early days of Android, I remember reading that Android was Android because you had to jump through all these permission hoops with j2me (Java 2 Mobile Edition). Hence, Android was better and more easy to use than j2me. Here we are, 15 years later with exactly the same set of permissions problems... with one exception, Android still gives out internet access without permission. Many devs here would be aghast at the idea of an app not being internet connected.

I believe Google did it that way because Steve Jobs had done it that way in the iPod and iPhones. (I presume there's some HN'ers here that can refute this?) I remember my colleagues at the time remarking how refreshing it was to not have to deal with permissions (because customers disliked all the modal permissions that popped up in j2me)... and we all jumped on board the iPhone and Android development train, not knowing the problems that we'd have down the line.

cmroanirgo··on The appeal of using plain HTML pages (2019)
Looking at the article's source and then yours, I see no correlation. The author is clearly talking about authoring in html without any tooling, whereas yours clearly has a tooled event list. It's not an article taking about whether external files are used. In fact, the article talks how they style it to match their wiki, & that the article is not authored in DWikiText at all.

Edit: you cheated by changing uri. The point still stands for your home page

cmroanirgo··on Fintech App Switch Leaks Users’ Transactions and Personal IDs
I've been thinking that the problem can only begin to be addressed when security becomes a first class citizen in the complete tech stack.

I don't know of many developers, that in their day job, who pro- actively consider security. It's always "it's behind a firewall", or "it's for internal purposes", etc. Security practices need to be built in.

The best way I can think of to remedy this is to make university lecturers care as much about full stack security as say using goto or raw pointers or serverless or <insert flavour of the month>. I don't think a class on security would do it either.

A good way to fast track security practices in the universities would be to have actual hackathons that attempt to breach cs and it department computers... with extra points if you can make a clown of the head of the it dept or professor of security.

It'll take a few years, I admit, but things would eventually change. I can't see any other way, other than the general populace getting so sick of this stuff that legislation would be written to heavily penalise companies that are breached.

2c

cmroanirgo··on Programmatically modifying ancient fonts
Ancient means 1993 apparently.

> * ...delving into the almost 30-year-old BDF 2.2 font specification from 1993 to figure out how to add Unicode A4D8 (ꓘ) support *

I suppose that makes me a mythical person, because i'm from before ancient times. ;-). I've valid pascal code from before then & it still runs in the console nowdays.

cmroanirgo··on Howdy – Windows Hello style facial authentication for Linux
This sounds very promising. It'd be nice if audio verification was added and that the lip movement matches the audio. Maybe for v3.1?
cmroanirgo··on Abcdesktop – a cloud native desktopless system
There's a lot more to running a service than getting it running easily. Longevity/stability through applying updates should be engineered too.

The problem is when using Docker, you can't tell what the dependencies are for your app. Telling me i need node or Go or php and/or what database or redis, etc etc gives me an instant feel for how the deployment, as well as how security updates, need to be applied. Docker is just a black box by comparison... at least to me. All my attempts at running docker solutions on small vms have ended badly (ports opened publically, rampant disk use, poor log files management, lack of security updates...). Seriously, I wish devs would at least list the tech stacks they're using in their apps in the readme.

However, i do grok that people who've embraced the ecosystem would like it that way... but not all techs like it.

For me, the best projects are those that lay it all out, warts and all and then have a separate repo that manages the docker state.

cmroanirgo··on Turning nuclear waste into diamond batteries
> the Bristol team warned that their radioactive diamond batteries wouldn’t be suitable for laptops or smartphones, because they contain only 1g of carbon-14, meaning that they provide very low power —only a few microwatts, which is less than a typical AA battery. Therefore, their application so far is limited to small devices that must stay unattended for a long time, such as sensors and pacemakers.

I assumes that more research can make or more usable in the consumer market?

cmroanirgo··on Android loses 8% of its global OS market share in five years
I'm sure many would be reluctant to trust m$ as a 3rd party in the mobile phone stakes, particularly with their telemetry, which is the root of the cancer plaguing the existing platforms (including desktop) already.
cmroanirgo··on Commodore 64 – We Are Stardust
https://youtu.be/R_mrtqslzZs
cmroanirgo··on Bizarre space circle captured in unprecedented detail
Anton always presents great videos, but my guess is that it could also be bubbles from the breath of Great A'Tuin, the celestial turtle, as it swims through the cosmic ocean. /s
cmroanirgo··on Start Self Hosting
Docker and I are not friends. The quickest way I found to fill up my limited VPS hard drive was to install Docker. All the work arounds to limit it failed. Then there's the whole lack of concrete control over iptables, where a tiny mistake can open you up to all sorts of horrors. So, it's great that Docker works for many, but I get the exact opposite of warm and fuzzy for it however.
cmroanirgo··on Start Self Hosting
It should start with how to make your system upgradeable too. I've server that started on Ubuntu 16 and made a helluva mess upgrading to 18. Due to php changes i've had to use ondrej's packages for later php... but that will break on a (very overdue) upgrade to 20...

All these script kiddie tutorials are terrible at showing how to maintain a server for years.

cmroanirgo··on Each Firefox download has a unique identifier
Looks great, but their only focus is desktop it seems (ie, no android solution)
cmroanirgo··on Is Grammarly a keylogger? What can you do about it?
Thankfully there's a few open source keyboards.

I've been checking out FlorisBoard, available on fdroid. Sadly, Google and Samsung keyboards are very good at swype/glide, FlorisBoard is coming along though, & I prefer to support it because the other two can't be trusted.

cmroanirgo··on Australian state sets minimum pay for Amazon contractors
Considering their headquarters are in NSW and NSW has 8mil population, with over 64% in the Sydney region [0] which is roughly 1/3 of Australia's total population (25 mil), I think the answer is zero chance.

https://www.nsw.gov.au/about-nsw/key-facts-about-nsw#toc-pop...

cmroanirgo··on Show HN: Send private messages to anyone on HN
From the wording of your registration, I could sign up as @dang?

(I presume some enterprising soul has already done this)

cmroanirgo··on Filters to block and remove copycat-websites from DuckDuckGo, Google and other
Missing from the title is:

> Specific to dev websites like StackOverflow or GitHub.

Before I noticed that, I had searched for pinterest and found nothing. Even marking the HN title with "dev" would be good.

If this were my list I'd add w3schools because to me, it's low quality, especially compared to mozilla.

cmroanirgo··on An unlikely meditation on modern happiness
Don't we put our children in bicycles, knowing that they'll fall and hurt themselves? Does that mean we don't care about our children? Of course not. How is it different if God gives us the ability to love and to hate, to cherish and to steal, to be selfless or to be selfish. We all get to choose a unified aspect that will make the world better or worse, for others. We can't force others to be better, only ourselves, but we can help others.

If we learn, as individuals, to be better people, under all circumstances, is that not the same as learning to ride a bike? And once we learn to ride our bike, perhaps there'll be other things to learn too.

← PreviousPage 3 of 27Next →