HNHacker News
TopNewBestAskShowJobs

plasticxme

39 karma · joined January 19, 2016

submissionscomments
plasticxme··on AR15.com Booted from GoDaddy
These companies all have very clear terms of service, where they reserve the right to remove you for any reason. Using their service is a privilege, not a right.

If everyone is “censoring” you, then there must be a good reason why they prefer to distance themselves.

Of all those listed, you must be an especially toxic brand to be kicked from GoDaddy.

plasticxme··on Twitter deletes China embassy's Xinjiang 'emancipation' tweet
Twitter is a private sector business in the US with terms that include reserving the right to remove any content for any reason. They have every right to.

If you don’t agree with it, for moral reasons or otherwise, you’re free to provide your own service.

plasticxme··on Dockerfile Best Practices
CAP_NET_BIND_SERVICE is a root privilege, a distinct one provided by kernel capabilities, granted to a process. In order to use it the container must be permitted to allow its processes to elevate their privileges.

If the container is running as root permitting it is redundant, since the kernel doesn’t filter root for kernel capabilities anyways.

If a privileged user sets CAP_NET_BIND_SERVICE on an executable binary using setpcap to allow a non-root user the ability in a container to bind to a privileged port, elevated privileges are still required for execve to create a process that is permitted to use the kernel capability. Think sudo but for processes.

The argument with containers is that binding to a privileged port isn’t necessary, so you shouldn’t do it. And by not doing it you improve your security posture.

plasticxme··on Dockerfile Best Practices
Nginx and the like are starting to provide non-privileged versions of their container images.

Running as root is lazy and equals container escape, especially when running on anything other than scratch and read only file system.

The only reason Nginx and Traefik run as root is to bind to privileged ports (80,443). There is no reason to do that inside of a container, since you can remap exposed ports outside of the container.

Containers are not VMs and must be handled differently. You are always one RCE away from having your entire container platform compromised.

plasticxme··on Dockerfile Best Practices
They were not more secure, just more isolated. The challenges are different.

Containers are just namespaced processes that share the same kernel as the host. A host has access to all container processes, uids, gids, file systems, and networks. Cgroups are used to limit resource access.

To run containers securely you need to understand how to protect running processes. You need to use unprivileged users where possible, drop all kernel capabilities not required, run Linux Security Modules (AppArmor, SELinux) to prevent processes from doing things they shouldn’t; and, run containers based on the smallest image possible, since a container should only have files that are absolutely required to run a process, and nothing more.

Even when you do it all right, in a multi tenant environment, it’s not safe to run all containers on the same hosts.

plasticxme··on Create Terraform files using Python scripts
Infrastructure should be defined in an easily digestible, human-readable format.

Your manifests serve two purposes: define infrastructure and self document.

While you can achieve the same infrastructure automation with shell scripts, they’re rarely written well enough to easily understand, introducing operational risk when handed off to other people or teams.

plasticxme··on A brief history of Elasticsearch (2014)
The reason is because object storage is slow and not meant for high performance, which is usually important for large databases.

For your S3 example and ignoring IOPS, you are comparing 13ms of latency on local spinning disk versus 10s-100s of ms latency from S3. SSD is faster with only 1ms of latency or less on average.

Adding IOPS to the equation, you’re likely going to slam your object store if you have a high volume of traffic, where your block storage likely wouldn’t even break a sweat.

plasticxme··on 51% of 4M Docker images have critical vulnerabilities
A container is not a VM and should ONLY contain the exact files needed to run your app to run securely. Any additional packages increase the security footprint.

Every container is one RCE vulnerability away from being compromised and escaped. if your images are distribution based, even slim ones, you’re giving the attacker a broad set of tooling out of the box.

Container runtime defaults in Docker and Kubernetes are insecure and grant attackers a lot of privilege — running as UID 0, no user namespace separation, and potentially dangerous kernel capabilities added to the container’s parent process.

plasticxme··on Fortnite seems to have been removed from the Play Store as well
No, there is no reason for them to do that. Microsoft has proven otherwise over their entire existence.
plasticxme··on Why Python is Slow: Looking Under the Hood (2014)
If you read the post, you’d know that you’ve basically summarized it.
plasticxme··on Article 1 section 2 paragraph 3 of the US Constitution (2014)
As a whole, we vote for a party. The person on the ballet is that of your riding. They are a Member of Parliament (MP) for your area, and they are affiliated with one of the many parties.

The party the receives the most elected MP's across Canada wins, and their leader becomes the Prime Minister. The party votes for their leader, so Canadiens have little say there.

Sadly, most people vote based on who they want as prime minister, and they put little thought who is running their riding.

plasticxme··on The Age of the Never-Ending Performance Review
Requiring access to your social accounts is laughable. Unless it's directly tied to your job, it's a signal to quickly and politely end the relationship.
plasticxme··on Every top 5 song from 1958 to 2016
It use to be tracked by radio song requests and sales of singles.
plasticxme··on Software “detects CEO emotions, predicts financial performance”
I envision a future where CEOs don Guy Fawkes masks before doing press releases.
plasticxme··on Creating a Document-Store Hybrid in Postgres 9.5
Mongodb easy; PostreSQL hard. The latter requires extensive planning, which slows you down when features need to go out now.
plasticxme··on Google Will Soon Shame All Websites That Are Unencrypted
Deploying TLS in simple environments isn't overly complicated. It's just cost prohibitive.
plasticxme··on Google Will Soon Shame All Websites That Are Unencrypted
This is an awkward argument. One of my sites documents how to configure servers, for example. What excuse is there that something like that needs to be encrypted?

The most legitimate reason I've heard is for privacy. I don't believe the gov't is going to lock someone up for learning how to serve web pages.

plasticxme··on Edward Snowden's OS of choice gets a major update
Tin foil hats a side, I assume it would be an account used only for professional reasons, allowing students to reach out to their teachers.

However, if the teacher is incapable of separating personal life from work, there could be repercussions.

plasticxme··on Stress-testing airplane wings
This isn't software development. Why reinvent the wheel?
plasticxme··on AWS Certificate Manager: Deploy SSL/TLS-Based Apps on AWS
Some forms of compliance require end-to-end encryption for certain transmissions. PCI is one that comes to mind.
plasticxme··on Posting successful SSH logins to Slack
Slack is terrible for auditing, though. What's wrong with email?
plasticxme··on What I learnt from being sexually harassed at Google
What!? First, it is highly inappropriate for anyone in any leadership or management position to ask anyone to sit on there lap, no matter what their relationship status.

Secondly, making any kind of sexual proposition or advance in the office on someone you are not in a relationship with is sexual harassment.

If you are in a relationship, it's inappropriate and a conflict of interest.