News for hackers. Stuff that matters.

anoncoward1234

Re:Ask HN: What have been your best decisions in life? on Saturday May 12, 2018 @06:08PM (#17056261)
drugs
Re:Is K8s Too Complicated?  on Saturday May 12, 2018 @11:54AM (#17054620)
The problem with adding the Ingress controller via Helm (and with a lot of other Kubernetes abstractions) is that it spits out a lot of code that is then difficult or impossible to reason about. `Helm Ingress --whateversyntaxdefualt` spits out 1000+ lines of Ingress controller code that is essentially two deployments with a health check and auto spin up, but it's complicated. In production can I use this or is there a security hole in there? What if the ports the health check are using overlap with other ports I have assigned somewhere else? What if something equally silly?

Maybe Kubernetes is new so that's why it's so wild west, but it really feels like a pile of bandaids right now.

Re:Is K8s Too Complicated?  on Saturday May 12, 2018 @11:27AM (#17054469)
Ok, I'll bite.

I posted this in another thread, but check this out: https://stackoverflow.com/questions/50195896/how-do-i-get-on.... That's the amount of crap I waded through trying to rubber-ducky myself into figuring out how to get two pods to talk to each other. In the end, I copied a solution my friend had gotten, and it's still not great. I'd love to be able to use Ingress or Calico or Fabric or something to get path routing to work in Kubernetes, but unfortunately all the examples I've seen online suffer from too much specificity. Which is the Kubernetes problem - it can do everything so trying to get it to do the one thing you want is hard.

Here is the kubernetes cluster I ended up building. If anyone has any ideas on how to add path routing let me know - https://github.com/patientplatypus/KubernetesMultiPodCommuni...

Re:Mindfulness may have been over-hyped on Tuesday May 08, 2018 @07:16PM (#17026201)
Mindfulness isn't over-hyped. Mindfulness takes effort. There's crazy videos of buddhist monks walking on their thumbs. People can raise their body temperature several degrees at will (and it's how a lot of open ocean swimmers survive, say, crossing the english channel). But it takes practice, every day, for years and you can't fake it - you're body knows you're cheating and can't be bribed.

Given that - how do you do a statistical analysis across the population of mindfulness meditation vs. pill popping? Pills always work, often with horrible debilitating side effects (yay Opioids!). Meanwhile the monk I met who learned to walk again after being confined to a wheelchair (gymnastics injury) had to sit under a tree for several years doing muscle exercises and willing the pain away.

So of course science can't rationalize it. How do you measure the strength of will of people? It's not so easy to put these sorts of things into a study. So I guess we'll keep eating the poison pill. Shrug.

EXACTLY
Kubernetes is cool and all, but there needs to be a lot of simplification for it to be "nice to use". Essentially the problem is that it's the "opposite" of Golang - the number of ways to do the same thing is massive leading to huge numbers of headaches in trying to get things done.

Recently, I spun up a simple pod-to-pod communication example but I found it pretty difficult. If you look up cluster networking in Kubernetes (https://kubernetes.io/docs/concepts/cluster-administration/n...) you'll find a whole fire hose of different options from ingress to calico to fabric and on and on.

This was what it took for me to try and rubber ducky my way to getting networking to work on Kubernetes, and in the end I had to get help from a friend at work (https://stackoverflow.com/questions/50195896/how-do-i-get-on...). It may be better than what came before, but it's not great.

Ask HN: Is Electron really that bad for desktop apps?

I've been thinking of making a desktop app, but I keep hearing all this chatter about how Electron is really hard on memory. On the other hand, I know webdev, and learning C++ to make a native webapp seems like a steep learning curve (say by using something like Qt). Not only would I have to make different versions of the app for different operating systems, but I would also have to style the...

( Read More... | 26 comments | 30 points | on HN )
Re:The rise of the pointless job on Friday May 04, 2018 @01:47PM (#16996576)
Sounds great! Are you guys hiring?

What are the odds of working at a FANG etc?

So...this is a hard to enunciate and perhaps a bit of a nebulous question, but I'm going to try. Please be patient.I would like to know what the odds are of a software developer getting a job at one of the top several firms. My reasoning is that, while I know of some people who have gotten in, it would seem there is a tipping point where the odds are so low that there really is no point in...

( Read More... | 2 comments | 3 points | on HN )
This 'source' should be taken down.

This is a propaganda website - here are the top three current stories:

- http://newobserveronline.com/nonwhite-invader-caravan-storms...

- http://newobserveronline.com/indian-british-high-court-judge...

- http://newobserveronline.com/adl-booted-from-starbucks-racis...

Hacker News should be above supporting white nationalism and hate, especially so when doing so supports its preconceptions.

Gross.

I remember reading this article waiting for my haircut this morning.

Here was my biggest takeaway:

> More realistically, he said, Oman could store at least a billion tons of CO2 annually. (Current yearly worldwide emissions are close to 40 billion tons.)

So we're looking at 2.5% sequestration of what we're currently adding, from the largest deposits in the world. Best case, realistically.

The whole thing sounds like a total non-starter.

Re:The ‘Terms and Conditions’ Reckoning Is Coming on Friday April 20, 2018 @12:44PM (#16886333)
Seems to me this is easily fixed.

If a jury of peers cannot understand the legal contract during an arbitration, rule in favor of the signor of the contract and against the writer.

You'll see that shit disappear with a quickness.

Re:It’s time to give Firefox a fresh chance on Sunday April 15, 2018 @03:05PM (#16844286)
I mean...Firefox is completely rewritten from the ground up in Rust, a language invented by Mozilla because they rock and they're absolutely killing it. Given that it's the browser with the latest full bore rewrite, shouldn't we expect it to be the coolest atm?
Given that my comment blew up and has high visibility I feel I probably shouldn't share anything specific. It was a pretty much throw away comment that I didn't expect to get as much attention as it did. The best I can say is that after working for the company I think that the general news.ycombinator.com beliefs on the performance of Oracle are entirely justified. I thought going in that it may have been overblown, like you say some sort of "startups are cool, big corps are evil boo" kind of thing, but it is not. I love the people I work with in my section! Just, not the overall firm.
Yes, sorry it is the same person, I apologize for the confusion. I was eating dinner and was using my phone and then came home and switched to my computer. In retrospect I can see how that might seem offputting.
I currently work as a solutions engineer on Oracle Cloud. The product is absolute garbage and I'm miserable. If anyone has any good leads on other positions please let me know!