Hacker Newsnew | past | comments | ask | show | jobs | submit | NickBusey's commentslogin

I am currently streaming my work on migrating HomelabOS from a docker-compose based implementation to a k8s (actually k3s) based implementation. With Longhorn backing it, I'm pretty excited by the possibilities. It will stay as generic as HomelabOS is, so it will be deployable on anything from a pi on up to big cloud machines.

I won't be doing any 3d printing or anything like that though, so what the author here is doing looks fun in it's own right!


Wasn't aware of HomelabOS, looks pretty interesting!

How is your Longhorn performing? I tried setting it up on my nodes but with Gigabit networking and possibly the Pis pretty average CPUs I would get pretty awful performance both in distributed volumes (with replicas etc) but also on strict-local ones (for reasons I haven't yet figured out).

I am now considering using something like https://github.com/rancher/local-path-provisioner, since I mainly intend to use Longhorn for DBs that handle fault tolerance / backups etc on their own.


My experience with longhorn, or rook/ceph, or any other StorageClass solution that enables read write many is that eventually, despite all the "self-healing" and "highly available" claims, it all explodes at some point.

Volumes become unmountable, pools stay yellow forever, desynchronization happens... Perhaps (most probably even) I just don't know how to configure them properly, but maybe that is telling of the difficulty to operate/maintain these solutions.

What I took away from this is to try my most to never deploy anything that requires shared persistent volumes. If I need something stateful, it needs to speak to a database or S3 backend, or something that handles redundancy at some other level than filesystem. If I really really need to have a local volume, I'll use local-path-provisoner like you said, which means pinning the pod to a single node, but really that is a concession I am willing to make to not deal with ceph/rook.

Great writeup, it's like I'm reading about my own journey managing kubernetes clusters!

Best of luck


I haven't gotten to performance testing just yet, that should happen pretty soon. Thanks for the local-path-provisioner recommendation, I'll definitely give it a go!


Good luck! This is pretty useful for benchmarks https://github.com/longhorn/kbench?tab=readme-ov-file


You can, sorry about that! This should be fixed now.

If you have any other problems please hop in the slack or shoot us an email! https://join.slack.com/t/release-ai/shared_invite/zt-20dxgp2...


Release engineer here.

With the exception of the first example (I'm not sure how good it would be at event monitoring like that, though we're absolutely going to try it out!), I think all of these should work. We've tested the daily spend report already.

Give it a shot and let us know how it works for you!


For the first one, maybe an Intrusion Detection

"Alert me anytime someon attempts to login to [SENSITIVE SYSTEM]

-

Can this do SPLUNK like log analytics?

"Give me a table of all activity of [TYPE] in [THESE LOGS/SYSTEMS]" (for whatever metric youre tracking)

"Give me a cron of uptime every hour for [system, site, cluster, whatever]"

"create a status page for critical systems A B C X Y Z"

--

I dont have any AWS infra to throw this at right now - but I do love this

As a Dir. Of DevOps in my career - these were very common questions thrown at me on the regular from PMs, C-suite, engineering etc...

So if this were a self-service query portal for teams with permissions/roles on what sort of questions could be asked from other teams that would be cool.

this is read only? It cant deploy/launch/buy services can it?


Since this is currently talking to AWS and k8s directly, unless you are setup in a way that would let AWS know about the intrusion detection, then this is likely out of scope for now.

Similar to the logs/systems access. If AWS or k8s can read the logs, there is a chance we can crunch them, if they are in a separate logging platform, we would currently be unable to fetch that information. Great ideas for future features though!

It is currently read only yes.


re:splunk (and opensearch, databricks, etc), we're already doing those with louie.ai and running early self-hosted + saas cohorts. Your questions are very much the type we'd interested in exploring with you! Feel free to signup on our early access program on the site or reach out directly (leo@graphistry.com).


I would vote for this in the US in a heartbeat. Give them a flip phone. They can still call, text, even take very bad photos, without the targeted harm that is modern social media.


The amount of “pro child labor” comments in this thread is truly disheartening.


Extremely on brand for HN, there's always a notable contingent in these kinds of threads.


There's a lot of people here who forgot what they were before the internet made them comfortable livings, and then a bunch more that are MBA types willing to say anything that makes money makes sense


As a parent, I am watching the latest generation of kids where they are struggling to find meaningful work because some of them never worked a day in their life. I want to avoid that situation. I obviously am not advocating for child labor in a meat packing plant working night shifts around dangerous tools and machinery.


I “never worked a day in my life” until I turned 19 and found my first job. You don’t need to work in you mid teens to find a meaningful job as an adult.


I was raking leaves when I was 13, and I started freelancing 15...

Why? Well, it started because I wanted to play Mario Kart on Super Nintendo...

There is something about developing a work ethic as a young person that is important. It starts with chores like mowing the yard.


There's nothing that says you can't develop this without depending on child labor.

I work hard, and my first job was when I was 18. Nothing about a work ethic is special to working hard in a job. Some of the most impressive people I work with had really impressive school work ethics.


It's not just about work ethic. It's about social skills. I worked as a lifeguard for 6 years and the amount of skills I picked up from socializing with the parents and children really helped me out. I probably learned a lot more from that job than I did at school. I learned things about psychology and raising children as I saw a lot of parents with different styles and got to follow their kids as they grew up. I learned about responsibility and showing up on time. I learned how to manage money. And probably most importantly I learned how to talk to adults. It was my most rewarding and fond memory of my childhood.

The alternative life path was basically me staying at home for hours playing Diablo 2.


Because there aren't real people on the internet who you can learn social skills from? With any of this, you get out what you put in. Social skills can absolutely be learned at school, and often are. Try again.

> I learned how to manage money. And probably most importantly I learned how to talk to adults.

I learned how to manage money from an very simple allowance for chores my parents gave me. But also... I really learned to manage money at 18 due to a number of things including college expenses and other stuff. Managing money is not the end-all you think has to be learned at a job. Home Ec is a real class in most public schools.

Talking to adults is a thing you learn by living and interacting in the world. You might've happened to learn some of it at work, but there is no requirement to learning it at work. Also, there's nothing that special about talking to adults that's that different from talking to teenagers... Basics of conversation are simple.

> It was my most rewarding and fond memory of my childhood.

None of this justifies child labor. There are plenty of other rewarding opportunities that don't mean that children have to work dangerous meat-packing jobs.

Very importantly, there are plenty of paths that are not your path that were equally valid. (I'm telling you this from experience). Just because you did it that way doesn't mean everyone has to, or necessarily even should. Not saying the way you were raised was wrong, but we've learned a lot more about child-rearing. We don't have to pull out dunce caps just because people had associations with having to go through that in school.


> Because there aren't real people on the internet who you can learn social skills from?

Ah yes, the famously well adjusted always online teens.

> Also, there's nothing that special about talking to adults that's that different from talking to teenagers... Basics of conversation are simple.

Have you ever listened to teenagers talk to each other? I honestly can't tell if you're trolling.


You're mistaking "there are real people on the internet" for "all people on the internet are great people."

I think teens are much better at sifting through the BS than you're giving them credit for. Also I've talked to plenty of teams who seemed perfectly well adjusted for their age. I'm not talking about them being the best conversationalists, I'm saying they have opportunities to learn. Also, are teachers not adults?

The basis for my argument is that school is sufficient for all of this. Nothing you've said has disproven that.


> There is something about developing a work ethic as a young person that is important.

I started delivering newspapers when I was 10. Dropped out of college and was somewhat depressed with a series of menial jobs. Eventually got on track again, got an A.S. and got a job in the industry I wanted to be in. But it was a low level job that left me very little autonomy and didn't tax my intelligence.

At some point I just stopped caring. A "work ethic" can be killed. Or can devolve into a "money" ethic where people play the kinds of financial engineering games that led to the 2008 recession.

I care again, but only because I'm not doing a menial job anymore.


For context, I was 13 walking door to door asking neighbors if I could rake their yards. Fall was money. Same thing in winter with shoveling snow.


You seem to get my argument. It is about helping your child develop good "Work Ethics" which unfortunately these days is equated to being exploited if you dare to bring it up.


That’s not true at all. People work much harder than in the past, especially considering what they get back. 20-30 year olds are the first generation in almost a century that give away half of their waking hours and struggle to get decent housing.

Rates of unionisation are extremely low, strikes are extremely rare (it took a 30% real income loss before junior doctors started striking in the UK), employment rates are the highest throughout the world and unpaid overtime is the norm in almost all careers.


What exactly is important about it?


Things have to get done.

I own a house. Some time ago, my plumbing had issues. I had to go down into my basement and deal with shit. Literal shit. Work ethic is what lets you put on the "I got things to do" hat, and then you do them.

That's just life. Life is hard and brutal requiring constant effort.


> Things have to get done

Is homework not inadequate to teach this lesson? Kids are not dumb.

There's a pervasive stench of Calvinism in American work culture, even among atheists. There's nothing sanctifying about work, insomuch as it is a good (or bad) thing to teach kids its importance by having them clock in.

Using children as a backup labor force due to an adult worker shortage is - as the kids call it - yucky.


Maybe if I went to a more challenging school (I was already a straight A student who did all homework in class) I might not have needed a full time job during High School to drill some work ethic into me?

And I think a lot of people saying kids shouldn't work during school didn't have poor parents and the problems those conditions create if you can't take your destiny into your hands before that magical 18th birthday when you can do anything you want.


Does homework have to get done? Like, really?

Growing up, the yard had to be done weekly. I did it, got paid, and I was able to walk to the store and buy shit. Work when done well is gratifying.

The way we think about jobs sucks...


> Work when done well is gratifying.

As are hundreds of other things[1] we don't try to indoctrinate[2] our kids with. Work is not special and doesn't make one "whole" more than the other potentially gratifying tasks. I say this as someone who enjoys their current job, but I've worked in other less enjoyable jobs (that incidentally pay less and harsher work environments)

2. Expect children to perform at the same level as fully grown adults, but perhaps with fewer hours

1. Sports, math, games, gardening, sex, most hobbies, repairs, etc.


Things get done when people are motivated to do them — either extrinsically ("I need money to not starve") or intrinsically ("I want my toilet to work").

Maybe I misunderstood you, but you seem to be talking about "work ethic" in the abstract, though — like, valuing the labor itself, rather than the fruits of it. My question is, why is that important? Who cares about labor for its own sake?


Respectfully, I wouldn't want my kid to wait till 19 to do that. I want them to get a job the moment they turn 14-15 (whatever the legal age is in my state). I am very privileged and want my kids to learn the value of money and what it takes to survive in the real world. I want them to work in a dirty shitty McDonalds where they see how tough the real world is. Yes I wouldn't send them to a meat packing plant but there is big difference between never working or just working cool summer jobs and working in a meat factory. I want my kids to experience some hardship where your boss is yelling at you to get shit done. As long as it is not full abuse. I want my kids to learn that the World is not rainbow and sunshines from an early age. I still love them to death and would die for them.


I truly don’t understand the mindset that suffering is not only something that we should not try to eliminate, but something that we should actually indoctrinate people into.


The truth is that we haven't solved automated all the jobs that require suffering.

With the worry about AI, I was staring at my plumbing stack the other day for hours... Realizing, this is a shit job in the truest form, and I couldn't figure out how a machine could do it.

The reason to understand the suffering, to indoctrinate people as you say, is to teach people to respect those that have these jobs. Life is hard, and we are in it together.


I agree with the end you're talking about — respecting people who have difficult jobs — but I find the means bizarre. Can you not respect someone without having put yourself in the exact same position? Your default position should be empathy!

But you also glossed over an important point I'm trying to make: we should see suffering as a sometimes necessary evil and try to alleviate it whenever possible, rather than see it as some sort of virtue.


Why do you think work a worse fate than school? At least with work you get paid for your time and effort, and get the chance to network with people older than yourself


> I want my kids to experience some hardship where your boss is yelling at you to get shit done

This is a horrendous take, and I’m glad you’re not my parent.

They’ll learn the world isn’t rainbows and sunshine without being in a toxic work environment before they’re even old enough to vote.


See, that's where I disagree where a tough boss is considered "toxic" nowadays.


A "tough boss" is very different from a "yelling boss". If you can't control your emotions enough not to yell at your fellow people, you should have no power over anybody.


Why is a dirty shitty McDonalds more real world than an upbringing where you didn't arbitrarily force that on them?


If I want my child to learn anything about bosses that shout, is that you don’t let anybody shout at you.


You're willing to come into a thread as a parent making comments in defense of child labor (your note saying you're not advocating it is at odds with your comment and irrelevant),based on your myopic generalization of a generation. Youve got cranky old person brain and are flirting with dangerous solutions. a pitty


I am not advocating for Child Labor. Putting a 15 year old in a Meat Packing plant working night shifts is wrong. I would never advocate for that. But I wanted to highlight that we have gone in the other direction too much as a culture where kids are over protected and we no longer teach them work ethics at an early age and that creates problems when many of them get out there in the real world after 18. I have seen many in my own friends/family and I refuse to let my kids go through the same.


Your feeling about what direction you think anything is going is irrelevant and again limited, it's a personal insecurity it has no place here in a thread discussing an article describing what you claim to know is wrong while sewing some doubt that it's wrong because of anecdotal anxiety


My grandfather thought that his sons, college-bound as they were, should experience manual labor. For my father, it was a county road crew one summer, for his younger brother a stint or two as a railroad track worker. Sometime after their days with shovels, they sat down and reviewed the old man's chronology. He had never done paid manual labor, had gone right from a commercial high school to an office. He admitted this, saying that he thought that it would be good for them.

But a) these were his sons, big strapping guys of seventeen or so, and b) they were not in especially hazardous conditions. The people who think it is well for other people's adolescents to do dangerous work, I don't understand.


Funny, my grandfather worked in agriculture since he was 5 by his own account. He is the hardest working man I know, but I never heard him say anything about the value of a hard day's work. Instead he told me how important an education was and how I should always work smarter and not harder.


> The amount of “pro child labor” comments in this thread is truly disheartening.

Why is there no nuance between "let the kids do safe jobs if they want" and "make the kids do dangerous jobs" positions? I guess you are either for it all or against any of it?


Because the article is about the exploitation of migrant children in dangerous industries and people are commenting with pro child-labor takes citing their summer job in high school. It's

1. An unproductive shift from the actual topic.

2. Clear they didn't bother reading the article.

I don't think anyone has an issue with teenagers working at McDonald's, although I think they should be taught about labor protections first to avoid being exploited by a megalomaniac store manager. Which is a common occurrence since teenagers don't know any better.


There is a war going on, and HN is influential enough that it warrants propaganda.


I have felt that way for a while. It seems like a place where propaganda would have a very good ROI. I see fewer and fewer tech articles on here and more and more "culture war" stuff. But I have only been active about 2 years. I'd like to know if the vibe was different before.


why? Do you have any idea how many of them would be in a significantly better place financially by their 20s instead of being in debt?


I specified “work desk” for a reason. Of course I still have a mouse for gaming and music.


Shockingly, some work desks include MIDI controllers, mine included.

I replied to a comment and didn't leave a top-level comment for a reason.


The mouse that I ditched in favor of this setup was a vertical mouse, I definitely agree that is better than your standard variety.

The mouse key layer includes scrolling keys, and I do actually have a scroll wheel on the left module which I use a decent bit while reading. Best of both worlds IMO.

Of course, to each their own!


The mouse keys specifically are part of the keyboard firmware. So those would work in linux. For window management, i3 is a common one. Shortcat is the only one I haven't found a linux alternative for.


My previously favorite keyboard, Das Keyboard, has a rotary encoder for the volume control, and it's fantastic. I agree that sliders and encoders could/should be used more. There are plenty of great MIDI devices out there that offer them, I should play around with some of them for day to day stuff like this rather than just music.


Same. The devices to test this are very cheap over at Aliexpress, or maybe Keebmonkey offerings if you want something a little better https://www.keebmonkey.com/products/megalodon-triple-knob-ma...

I wonder if I would get used to using a single key for each app versus Alt-tabbing. I believe this is the main cause of my left wrist pain.


> I wonder if I would get used to using a single key for each app versus Alt-tabbing. I believe this is the main cause of my left wrist pain.

I use that kind of setup (kinda) in i3, it is great. It's not one app per key, but one keybind per virtual desktop but I have i3 set up that apps autostart and gets placed always on same desktop

So going to IDE is always caps+4 (I rebounded caps to act as modifier), mail client is caps+F2 etc.

Then few keybinds to move stuff around for those 2% of cases where I need apps on different desktops than usual.


Previously favorite? I'm looking for something to replace my current KB, and I was wondering what your current favorite is/why you like it better than Das keyboard.


Current favorite is the UHK, linked in the article. Main reason is the split, secondary reason is the firmware for things like the mouse keys and custom layers.


I would think the main reason for preferring the UHK is the capability to add the trackpoint module to it, even though you gloss over it in the text. :D.

Btw have you tried the trackball? When they introduced the modules I was vacillating between that and the trackpoint, but ended up with the trackball (of which I'm very happy), but I would be curious of alternative points of view.


Citation needed for the claim that governments enforce standards for screws. Maybe in the stuff they buy, but that’s not the same thing.


Agreed.

One visit to an industrial fastener store will let you know that there is no such thing as a standard screw/bolt. Even metric Mx machine screws (which are the closest thing I can think of to a standard) have 4 different common pitches, and you can have them custom made to ANY pitch.


And a look in enineering literature and norms, EN for example, woupd tell you thatvall those different screw types, from heads and pitches to strength and surface treatment, are, in fact, stabdardized and normed.

And of course you can get custom parts for everything. Those are, as the name implies, custom and not standard.


The point is that EN standards are set by industry, not government. This is a reply to a comment about supposed government regulations around what a screw is allowed to be.


And they are based, after having replaced a bunch of national predecessors like DIN, on an EU regulation providing the legal basis for them.

Ehich makes Apples bahvior even worse, litterally everybody else managed to agree on common standards, but thay had to insist on proprietary tech to the point they got their set of legislation.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: