Better HN
topnewbestaskshowjobs
Log inSign up

linuxftw

915 karma · joined Feb 22, 2018 (8y ago) · 2,724 submissions

Senior Software Engineer focusing on Linux, Containers, and Python.
Submissions

comment 4y ago · link · parent

> simply charge at home/work/the store/etc

This requires having expensive, redundant charging infrastructure at all these places. It works today because far less than 1% of cars on the road in most of the developed world are electric. If 25% were electric, that free charging at the store and work is going away, there won't be enough bays to charge all the cars.

Whenever I hear 'X company is going all electric by Y date' I assume it's either an outright marketing lie, or that company will soon thereafter be out of business.

comment 4y ago · link · parent

I think we should work against this point. Eating meat is a fundamental part of the human experience. We're losing our agricultural genomes that can never be replaced. We need to encourage people to eat a broader variety of meats from smaller producers, not eliminate meat consumption.

comment 4y ago · link · parent

Agreed. I personally will never eat the stuff unless I'm imprisoned.

comment 4y ago · link · parent

> I still can't get over the banana-pants insanity of the first count... arguing that Twitter lied about its numbers for years specifically so that someone would buy it at an inflated price?

This describes the entire business model of WeWork (minus the self-dealing), why should Twitter be different?

comment 4y ago · link · parent

I don't think people appreciate just how violent the late 90's hard rock shows routinely were, and the mindset of the majority of the people attending them. Venues would routinely get trashed, large fights would break out, it was something else. Woodstock 99 turned out much like everyone would have expected it to at the time, just on a scale not previously seen.

comment 4y ago · link · parent

> Unfortunately, I think this is a systemic issue that is not easy to solve.

It's incredibly easy to solve. Quit your PhD and encourage others to do so as well. You're being used.

comment 4y ago · link · parent

Disagree. 15+ years ago, people used IRC in real time, to chat and hangout online. Async chat sucks, plus we had forums for that kind of thing.

More recently, I've contributed to a number of open source projects that have live chat meetings on IRC. We kept logs of those meetings, but live chat is totally the point.

comment 4y ago · link · parent

Remember shortly after their IPO how people were fawning over them around here? Spectacles, and how they're 'more than just a messaging company' and all of that.

It might be a good time to buy, maybe someone will purchase them above the current trading amount. That's the only way the stock is not going to zero, IMO.

comment 4y ago · link · parent

I don't pretend to know what is best for everyone nor dictate my morals to them. So if SC thinks they should have a law to do whatever, that's their business. If the people living there don't like it, they should work to change the law, or start lynching politicians, whichever is easier, that's for the people of SC to decide.

As for the people not in South Carolina, they should work to pass an amendment or secede from the union, those are the only legal options if you believe in how the federal government is supposed to work (maybe there's a 3rd option to kick out SC?).

comment 4y ago · link · parent

Personally, I don't feel the idea of government is legitimate, but if you do, then you must abide by the process, for better or worse. There was plenty of time between Roe v Wade and present to pass an amendment or secede, so clearly the matter wasn't urgent.

comment 4y ago · link · parent

> 10 year old being forced to travel out of state

People in the US are able to freely travel between states, this isn't the case elsewhere in the world. Some things are crimes in some jurisdictions and not others, this is normal.

If you think it's inadequate, pass an amendment to the constitution, that's what the amendment process if for. If you think the process to too burdensome, encourage your state to secede.

comment 4y ago · link · parent

We know how they work. They get people high, and people like to be high. Does it correct any issue? No, but being high masks feeling down.

After a while, the high's not enough, so they need to either up the dose, start mixing alcohol, or turn to other drugs.

comment 4y ago · link · parent

Canada is still shocking unconsenting asylum inmates against their family's wishes. A truly barbaric state.

comment 4y ago · link · parent

> They have a value that greater than just their economic value!

Then investing at the economic value would be profitable, and people should clearly do this.

comment 4y ago · link · parent

They're just doing what other continents did hundreds or thousands of years ago. If you want to save the forests, make them economically more valuable than converting them into other uses.

If there's 100M iphones in the world that retail for around $1000 each, that's $100B dollars. We could have invested that money into building some kind of park that welcomes visitors. No, instead we chose as a society to take pretty photos for instagram for fake internet points.

comment 4y ago · link · parent

> This is what happens when the purchasing decisions are divorced from those who actually use the product - no incentive to improve on the Microsoft side (for basically all their products).

If there was a way to sum up Microsoft's entire business model, this is it. Azure is a major player because they know how to sell to the C-suite.

comment 4y ago · link · parent

As a non-ruby user, from my POV ruby is primarily related to webapps. While it's possible to use it for other types of software, nobody really does, except possibly people that already maintain large codebases of ruby webapps.

comment 4y ago · link · parent

Facebook is the exact example the self-appointed CentOS leadership used. So you're either part of that cohort, or you're really drinking their koolaide.

comment 4y ago · link · parent

I don't think the problem is as black and white and as you think. Some people can eat large amounts of food and not gain weight, even relative to their activity level. I do agree that those people won't be able to eat in the same quantity as people that generally struggle with weight and that their desire to eat seems to end quicker than some others.

I think most people 'eat until not hungry.' For me, my default is 'eat until full' which I'm not sure is the same at all. I think it's primal programming to eat until full for many of us, because 10k years ago that might have meant surviving or not.

I am usually in 'want to eat' mode. If I eat something, I might put that mode on pause for a few minutes, depending on how much, but I'll be there before the next meal. Then, I convince myself I'm going hungry, so the next meal I'll over eat. This cycle increases my stress level, which leads to more eating.

I find that doing any physical activity outdoors reduces my desire to eat immensely. I don't mean a 5-15 minute walk, I mean being outside for a couple hours or more. My body seems to have two modes, eat mode and work mode. Sitting at a computer is what's causing my problems IMO. I have a low-stress job, but I think the very nature of a computer job creates some kind of primal-stress.

comment 4y ago · link · parent

> CentOS world that goes beyond "I need free Linux and I don't/cannot use Debian", and Red Hat has been very receptive to the needs of that world.

There really wasn't a CentOS world beyond that, because it wasn't a true community distribution. Red Hat never attempted to meaningful involve the community, all board members or whatever pretend org CentOS has are RH employees. There were never any kind of community elections or anything of the sort.

Red Hat killed CentOS.

comment 4y ago · link · parent

The bloat is mostly related to mocking and making a fake client for everything for unit tests, and the practices you have to follow to make that actually work.

In Python or Java, you can do something like:

class: f1(): self.some_api_call() <process api call here>

test_class extends class some_api_call(): <mock definition>

In go, you cannot do this. Fair enough, but everyone writes object-style code because it's easier and there's less boiler plate. If you do this, you can't write tests.

Instead, you have to do something like:

class: apiMethod = nil f1(): self.apiMethod() <process api call>

And assign apiMethod when you create the instance of the object; there are no constructors because they're not traditional objects, you need to create a factor method (boiler plate) or build the struct by hand (boiler plate). None of this is terribly challenging in and of itself, but if you work on large code bases, nobody did this because it's extra work, and now you have to refactor it because you want to make a change to the critical business logic and prove you're not introducing a regression (a constraint the l33t coders before you didn't have because they get to go fast and break things).

And finally, often times the thing you need to mock is in someone else's package, and it doesn't implement an interface, or the thing you need to mutate is private, etc, etc. You end up need to mock half of a package sometimes.

None of this is insurmountable, but when you do it day in and day out for years like I did, it's a real slog, and it sucks your soul out of your body. It wasn't uncommon for me to spend literally 20x as long refactoring and implementing tests as it was to ship features. If you look at some unit tests from large go projects, you'll see stuff like struct{struct{struct{struct{...}}},struct{struct{struct{...}}}} because so much stuff needs to be mocked up. And since interfaces are disjointed from classes, you won't know with certainty which methods you need to needlessly mock for your mock class until you try to compile, because the interface is defined somewhere else and not attached to a base class, it's just a definition floating out there in the source somewhere.

comment 4y ago · link · parent

Go is fun at first, and then it becomes soul sucking. It's all boiler plate. Many large scale projects have a lack of adequate unit testing, so large code bases are particularly painful to maintain. I attribute this lack of tests due to how the code needs to be structured, you have to needlessly add 'interfaces' throughout your code to accomplish things.

Go has it's strengths, but IMO fun isn't one of them. It turns into soul-suck quickly.

comment 4y ago · link · parent

Sadly, the decision to kill CentOS was entirely Red Hat's. The self-appointed 'community managers' decided that the community didn't actually want CentOS, they wanted a free version of RHEL-Beta called "CentOS Stream."

comment 4y ago · link · parent

Completely disagree here. It's kinda like going into blockbuster used to be. You can spend $1 on the cheap movies (eg, the free ones on prime), or you want to watch a brand new major release, you spend more.

Cable has done the same thing for decades. Subscription includes a ton of free content, and you can pay more for PPV or on demand new releases.

comment 4y ago · link · parent

On mobile, the best model seems to be FTP with ads, then a small amount ($5) to permanently remove ads.

I don't develop games, but if I did, this would be a great addition, if I could 1-click this workflow to drive revenue.

This could also have quite the network effect on the ad network itself. You're now able to say 'All Unity apps ship with this network' yada yada.

The dark pattern will be "All games now ship with ads, and developers don't benefit from the ads" type stuff in order to drive premium subscriptions from developers. That or instead of the developer getting the 70% cut of the $5 'remove ads' purchase, they're instead going to get 40% and Unity gets the other 30%. I'm sure they'll figure out how to enforce monetization.

comment 4y ago · link · parent

Many people predicted the situation we're in right now. What perplexed us all is that the ZIRP era lasted as long as it did without having the current effect.

We're heading for a consumer debt crisis. Outside of the tech bubble, average people are in a dire situation.

> What if the rate hikes keep coming fast and furious and the CPI keeps rising even faster?

Same thing that happened with the housing crisis in 2008. Consumers are going to default, and instead of the banks sharing the risk in the market they helped over inflate, Wall Street's going to get bailed out, because entering a deflationary environment is absolutely off the table.

comment 4y ago · link · parent

In the good old days as a system administrator, roughly 15% of your time was spent on deliverables, maybe 35% spent on troubleshooting/outages, and the rest of the time doing whatever you wanted. We had time to investigate weird things, work on performance improvements, build new tools to automate things, you name it. There was excess capacity built into the system because there needed to be, every once in a while you needed many people at once to handle a rush of problems.

Slowly, the field has progressed to 100% deliverables 100% of the time. The interrupts are constant because the business hasn't staffed enough engineers. The reason is always the same: despite all the planning and sizing meetings we have, somebody promised someone a feature by X date before asking engineering thinks (or you have yes-people answering for engineering that doesn't represent the actual engineers).

comment 4y ago · link · parent

Sounds like AWS might refund you based on other responses, but always be prepared in case they don't. Make sure your DNS provider is not the same entity as your hosting provider, so an unresolved bill doesn't result in your domain being held hostage.

comment 4y ago · link · parent

IDK. I cut out all coffee. I had been drinking some decaf previously because I limit my caffeine intake.

comment 4y ago · link · parent

There's a wealth of material online to explain these things. let's encrypt can integrate with a number of ingress controllers trivially. Like much of anything else, you need to actually experiment with it to understand how it all fits together.
1
323334
91