Better HN
topnewbestaskshowjobs
Log inSign up

simpaticoder

2,816 karma · joined Apr 3, 2023 (3y ago) · 658 submissions

Distributed programming Java and Node expert. Email me at hello@simpatico.io.
Submissions

comment 3y ago · link · parent

>It causes the sensation of extreme damage without the actual damage

This is almost precisely how the "nerve induction box" in Dune is described. The one that is used to test Paul with the gom jabbar. Imagine if Gaius Helen Mohiam instead of saying "Stick your hand in the box" said, "Stick this pepper in your mouth, chew and swallow." In the book scenario Paul had to trust Mohiam that his hand was not actually being burned away, and also once the test ended she could end the pain at once. With the pepper he'd not have to trust her because he'd know about capsaicin, and she could not end the pain (unless we posit a capsaicin antidote).

comment 3y ago · link · parent

Wow, I may move there. They even have EU only ARM instances with 2 cores and 4GB of RAM for $5/mo, which is amazing value.

comment 3y ago · link · parent

I use Linode (now Akamai Cloud). Oddly the "Linode 1GB" plan doesn't seem to have a link - you can find it in the shared cpu section under "Nanode 1GB" https://www.linode.com/pricing/#compute-shared.

The impression I get is that most $5 VPSes are basically the same, although I've really only used Linode. They give you some useful free stuff like an external firewall/router and monitoring (with only 24 hours of history, but that's plenty). Their docs and scripts are really good too if, like me, you're only a dilettante sysadmin.

comment 3y ago · link · parent

>I got taken over by hackers

I'm a little sad I never was. I started with the Linode "hardening linux guide" and so had a firewall and disabled ssh passwords from day 1. I still have fun looking at the failed attempts on 22 and 443. My server gets so many weird requests, and they used to crash the server. A few iterations and that stopped happening.

Oh, another thing that's worth learning: how to acquire and refresh a Lets Encrypt TLS cert via the ACME protocol. Doing this requires interesting confluence of skills and tools - you must carve out a vestigial http route in your server, and also configure certbot and cron. And working out the bugs takes a few iterations. (You could install Caddy, but where's the fun in that?!)

Making it all work, from scratch, made me feel happy in the same way that when I watch people rebuild carburetors or who build bookshelves from scratch makes them feel. It's not new, it's not innovative, but its good. And it's always more interesting than you'd ever suspect.

comment 3y ago · link · parent

Rent a $5/mo Linux VPS and be happy. I think more people should do this because what you learn (and you'll learn a lot) is the foundation of everything else. Do this even if you are a programmer used to deploying to sophisitcated CI/CD stacks and k8s. The tight resource constraints (e.g. 1G RAM) are good for you - they make you think, and take care what you run and when you run it. Learn to setup ssh on both ends; learn to tail auth.log; learn how to write bash library functions; learn to run podman if you must; learn to update your OS; learn about tmux and htop and a 1000 other things. Literally all of these skills are applicable to everything else - they are elementary. If you ship it you own it and if you think you can avoid learning this stuff you're wrong. Take heart: the stakes are very low so you can make mistakes. The worst that will happen is hackers take over your VPS and ddos someone for a bit and you have to wipe and start over.

comment 3y ago · link · parent

If you have kids, try PBS Kids. They have good stuff and it's free. Also, try telling your kids you can't afford streaming services anymore. They will be surprisingly understanding because, especially if they're small, they don't have money and know what that's like.

comment 3y ago · link · parent

>That was a long wall of text for stating that a subscription isn't worth it

That was an industry insider's view about WHY it's not worth it, especially right now. He sounds like a VFX guy in LA/Hollywood, and his perspective is valuable especially with regards to "who's fault is this situation".

comment 3y ago · link · parent

Unfortunately you need to have a cable subscription with TCM to use the TCM app. They have a fantastic catalog that I cannot pay them directly to watch. I have to pay Comcast first. Not cool.

BTW cool angular animation on https://noiralley.tcm.com/?icid=espnav8-noir-alley

comment 3y ago · link · parent

>our suggestion is kind of like "well you should miss out on those gems"

No, I'm the same way. Sometimes an album only has 1 good song; other times an album is great but I can't stand 1 or 2 songs. The important thing is that I listened to the whole album! I'm judging the songs in the context of their creators. I'm experiencing them together and in order, and that's a very different experience than interleaving songs. Interleaving is fine and can be an artform in itself (we used to call it a "mix tape") but I believe you owe it to the artist to listen to the thing they made in its entirety. It would be like reading a book collection interleaving the chapters. It's not fair to you or the authors.

That's how I feel about it. You ARE missing something.

>Physical media doesn't support the artist much better either, that's been a topic of conversation since I was a kid.

I have many musician friends, and they would ALL disagree with you quite strenuously. The money they make on streaming is ~0. The money they make selling CDs is almost all profit - and it's also the thing they made instead of sliced and diced and mixed with other things other people made.

comment 3y ago · link · parent

>I didn't say technical books were irrelevant, I asked why a book store would carry them.

Oh, sorry. It's because book stores want to carry books that are relevant. There is a catch-22 in what you say, because you're right that we've gotten used to buying books online (alibris, not amazon please) which makes bookstores carry them less, which makes us less likely to buy them in bookstores... The spiral downward is real; the opposite, a spiral upward, can also be real with a little effort. Bookstores are filled with books about niche interests, why not ours?

comment 3y ago · link · parent

That's true, but we can make some educated guesses based on the general characteristics of life. In particular, the binding energy is a goldilocks problem (too much you can't recombine too little you don't stay together) that favors water and carbon. A good overview of the conventional wisdom on this is presented in this video "the aliens will not be silicon" by acollierastro, https://www.youtube.com/watch?v=2nbsFS_rfqM

comment 3y ago · link · parent

>Why on earth would a book store carry any relevant computer technical books nowadays?

Because books can explain concepts better than any other medium. Books aren't great for reference/howto because that info goes out of date quickly. E.g. I'm not going to buy a book about browser APIs, I'll use MDN. But I will buy a book about SPA design or HCI. I'll certainly buy a book about a topic like performance analysis or comparing different approaches to ORMs or practical cryptography. The specific libraries will go out of date quickly, but the concepts will be useful for a very long time (and even the specifics will be at least somewhat correct for longer than you'd expect).

Like everyone else, technical people have had their attention span removed, segmented, and captured by capital such that "sitting down and reading a book (about a technical subject)" is met with horror. There is hope: the brain is quite plastic and even if you've let yours soak in the sensation stew of your phone 8 hours a day for years now, you can regain this important function soon enough. A well-written tech book is such a pleasure! A long narrative, coherent and filled with nuance...it's an important style of communication and I don't think we want to lose it.

comment 3y ago · link · parent

> I don't really get why it matters.

Support, experience, control. Physical media supports the artist. When you play a physical album you experience the whole album. When you own an album you control it and it cannot be taken away, edited or lost.

Streaming doesn't support the artist. Streaming obliterates coherence of albums. When you stream music you do not control it and it can be taken away, edited or lost without your knowledge or consent.

comment 3y ago · link · parent

The population of music lovers, people that have favorite bands, genres, albums, want more music. Those who listen passively and do not own or care about albums and don't go to concerts etc. can be safely ignored; Spotify is fine for them.

comment 3y ago · link · parent

Externalities of progress are very real, and the speed with which the modern age has arisen, and it's brevity, should give us pause every time we assert that it is all good or all evil. It is certainly both.

The great problem of our time is the unrestrained accumulation of wealth. Tech wealth is the product of both innovation and making that innovation artificially scarce. Without the former there is no demand, without the later there is no profit. The techno optimists always seem to forget that second component! Once you've earned Enough, either drop the artificial scarcity and share freely, or give someone else a turn to earn their own Enough. Don't keep hoarding it all for yourself and lying that your wealth is proportional to the value you created. No. Especially in tech. It's proportional to the value you captured with the 1-2 punch of innovation and artificial scarcity, and that itself required a functioning society to which you owe your success and your allegiance.

comment 3y ago · link · parent

I know of https://search.marginalia.nu/. However, it's been 2 months and my site hasn't been listed yet, despite what I thought was a good convo with the owner.

comment 3y ago · link · parent

I don't see what's wrong with .git/config. If anything, it's better because it keeps data close to where it is used. The only benefit to centralized config is that every git identity is in one place. But that may not be desirable, e.g. in the case you have MANY repos and identities.

comment 3y ago · link · parent

That term leads me to a handful of related sites put together by a 2-person web agency in Ireland. It's the right direction!

https://small-tech.org/

https://web0.small-web.org/

comment 3y ago · link · parent

Awful compared to a healthy vibrant natural jungle. Wonderful compared to a lifeless hot ball like Venus.

comment 3y ago · link · parent

Slept on it. How about "No Web". It's a pun in english (no and know) and also an oblique reference to Herbert's Dune universe "No Ships", who's interiors are invisible to prescience. A fleet of no ships on an internet with ~6 kwizatz haderachs captures a resistance element. The name is a bit strange, too, attracting the intellectually curious.

comment 3y ago · link · parent

Well I mean welcome to hacker news I guess.

comment 3y ago · link · parent

Yeah but we need a name and a recognizable advocacy position. The open web, the indie web, minimalists, even luddites are related terms, but nothing really fits. Then there is the community, the scene - like a webring, but better. Dignified, driven by a simple, solid technical aesthetic, capable, self-sufficient, independent, rational, (classic) liberal, etc. Those are some adjectives I associate with these ideas. I don't know the answer, I'm thinking out loud. (I was excited by the indieweb label but it sounds good but its off-putting with levels of compliance and weird microformat stuff. It's not focused on the important universal qualities and distracted by details of technical implementation.).

comment 3y ago · link · parent

That's great but there's a step 2. The sub-culture of people who like things better that way need to sustain each other and itself. Ideally, to grow in happiness and other measures of strength such that the surrounding dominant culture cannot destroy it, and in fact can influence the dominant culture to become more like it. It's that step 2 that I think we haven't figured out yet. Without step 2 we are merely opinionated nerds that are easily isolated and alienated and ignored.

comment 3y ago · link · parent

>This rhetoric is misguided and dangerous.

Is it? It seems to me that the rational, liberal members of the American body politic were and are blind-sided by the take-over of one of our major political parties by a fascist autocrat. Simply putting your head in the sand and wishing it weren't so won't change things. We have a huge percentage of the population that wants a strong-man ruler. That's bad, but it's not clear that can be changed. Therefore, rather than fight against reality and what cannot be changed, accept reality and change what can be. In this case, we cannot change the urge to autocracy, but we can control the identity (and politics) of the autocrat themselves. In an ideal circumstance such a person could do a great deal of good and get the country on track to a functioning democracy, and address the underlying dysfunction that is driving anti-democratic sentiment. This sentiment is the product of a combination of poor education, media manipulation, and also a reasonable reaction to rampant corruption at all levels of government, civil and criminal, moribund corrupt state bar associations and legislative "leaders" who spend more time on the phone asking for money than governing. None of these problems have a clear solution through normal democratic means. Therefore to save democracy we must put democracy aside for a time. The difference between a liberal dictator and Trump is, of course, that such a person does not pursue power for powers sake, but rather to restore functioning democracy. They look forward to putting it down, and hope to shape the system(s) such that such measures won't be needed again.

If the choice is between electing a liberal dictator or letting democracy die, do you choose the latter out of principle? And besides this is a thought experiment designed to provoke conversation. "Your bad and your ideas are bad" is not that.

comment 3y ago · link · parent

That's false. We've had autocratic rule off and on in the US. Most US Presidents have shown self-restraint with that authority, usually during wartime. George Washington could have been king, and declined. Abe Lincoln had authoritarian powers, as did FDR. They both wielded the power (mostly) justly and set it aside without incident. There are other examples of benevolent dictators from history, for example Lee Kwan Yew of Singapore. In all cases there are valid points of criticism, but the net effect of their rule was positive. Hitler, Stalin, Pol Pot, Trump, Putin, Un, etc are cautionary tails, but that doesn't mean that authoritarian power is always used for self-gain.

comment 3y ago · link · parent

I am serious. It may seem like killing a fly with a sledge-hammer, but a local llm sysadmin process has a lot of application apart from cron. The ability to simply talk about your processes in natural language is a huge bonus to those who don't do sysadmin daily - which is most of us. Obviously, using an llm is not appropriate where size and precision are required. In that case use cron and accept its limitations.

comment 3y ago · link · parent

Sounds like a local LLM, coupled with a periodic wake up signal, will be your pony. Presumably even a small one could run a schedule under those (very reasonable) constraints. Maybe not general pathological cases, but ordinary cases. You'd probably want things to run in one big prompt over time and the tricky part would be finding the minimum size required to properly execute the schedule. Too small, and it loses knowledge of the past. Too large, and it won't function at all.

EDIT: I believe in sysadmin llms and think they will become common and obvious in the next few years. I will look back at the downvotes on this comment with great pride. So, thanks and keep them coming!

comment 3y ago · link · parent

I agree with you, and I buy physical media for similar reasons. I also like that its so cheap! But the problem for people like us is that it doesn't matter. This whole subject is about entertainment access, and on the list of things that matter that's pretty far down. It's like the drive for prisoner human rights - people care, a little bit, but it's so far down the list of priorities it never gets attention. I believe that media companies are THE smartest companies in the world on the subject of selling and human psychology, and they know EXACTLY what they are doing and how much they can get away with, and they probably even have accurate models that describe how long it takes for new constraints on a population to be normalized such that anyone who complains is alienated by their peers, and the central authority need do nothing.
1
1819202122