HNHacker News
TopNewBestAskShowJobs

alsadi

148 karma · joined September 6, 2016

submissionscomments
alsadi··on BCHS stack – BSD, C, httpd, SQLite
If we are going to craft a stack involving assembly someone would say that assembly is for the weak and real developers write directly in machine language.
alsadi··on Why Python Is Not My Favorite Language (2016)
I would respons with an article titled why python is favorite language and why black is not my favorite color.

Multi statement lambdas are forbidden for a reason. Decorators are not after thoughts to fix lambdas.

If you like nodejs and consider it beautiful, thats your favorite color.

alsadi··on Differences between Tmux vs Screen (2015)
If you want them enabled by your os just install this on your server

http://byobu.co

alsadi··on An empirical study on the correctness of formally verified distributed systems
1. where is consul? 2. less used means less reported bugs (not less bugs)
alsadi··on Supreme Court Ends Texas’ Grip on Patent Cases
The article cites number of patent cases taken to court over years. One should note that the damages are geater. When a patent troll was able to stop Microsoft from distributing their office because someone patented a way to save documents in xml and regardless of the final rule or the settlement. The FUD is enough to make many people pay without being sued.
alsadi··on “MP3 is dead” missed the real, much better story
The court rule in Bilski case, does not agree with you. You can't patent math. It's not my political stance, it's the law. You are not supposed to patent formulas.
alsadi··on “MP3 is dead” missed the real, much better story
Troll is a gentle word, the author of ffmpeg describe patents of software as "gangsters asking for protection money". All software patents are bad see my reply above

http://web.archive.org/web/20070927224154/ffmpeg.mplayerhq.h...

alsadi··on “MP3 is dead” missed the real, much better story
I'm a person who oppose all kind of software patents. any use of software patents is a patent troll (if you have patent, you should have a clear patent policy that it's for defensive purpose).

According to the case of Bilski, patents should involve a machine, otherwise it's invalid. But trolls don't care of their patents are invalid, because of how patent cases are handled in courts

http://www.groklaw.net/articlebasic.php?story=20081102011538...

alsadi··on “MP3 is dead” missed the real, much better story
I wrote a similar article in Arabic.

yes, because MP3 is now similar to public domain it does not mean it's dead. only the business of patent trolls behind it is dead.

http://g0alkeeper.blogspot.com/2017/05/mp3.html

alsadi··on Lessons from last week’s cyberattack
For those who think that using free software would be similar (naming ubuntu or even centos).

The real question is why a hospital is still running windows xp even though it's not supported by its own vendor.

The answer is vendor lock ins. The upgrade is not a matter of simple command. Upgrade cost involves more licenses and hardware upgrades (which is not needed as old hardware is fine, but this is how things work between microsoft and hw vendors) it's like you need a new buy watch to apply dst summer time.

Also mirosoft and old school desktop software vendors used to make sure switch or upgrade cost is really high ex by using non stanard formats.. to lock users from switching to mac or linux

If you remember active x and internet explorer specific vbscript...

If you use free software from an expensive but decent vendor like redhat you can upgrade software on same hardware

And if it software was expensive you can switch to centos, scientific linux or pay anyone to handle that for you are fair rate. There is no vendor lock in. Every thing is stardard and no vendor lock in.

alsadi··on A new upstream project to break up Docker into independent components
Link?
alsadi··on A new upstream project to break up Docker into independent components
Tell us more about trademark and branding guidelines. What do you allow a downstream implemented by others to be called without requiring trademark fees ex by parties similar to amazon (public cloud) or ovh (data center) or redhat/fedora (software vendor) and even nvidia (cuda docker-like) . For example fedora and firefox has strict trademark policy eventhough they are opensource.

Can I call my tool moby-something?

alsadi··on Ubuntu Unity is dead: Desktop will switch back to GNOME next year
Omg ubuntu announced that ubuntu phone is dead but fanboys froced them to rephrase the title and apologize http://www.omgubuntu.co.uk/2017/01/ubuntu-phone-ota-15-ditch...
alsadi··on What makes us Red Hat
There many success stories in opensource companies but they are not as open as redhat nor as succesdful as redhat. There is a consulting company over the corner that customizes opensource software at small scale. There coreos, percona, suse,...

Oracle is the only multi billion dollar database-centric company. Faceboom is the only successful social media (twitter is micro blogging or whatever you call it) Microsoft is the only desktop blah blah Amazon blah blah

That is a result of being early, acquire many small successful companies ex. Kvm, ceph, Ansible,... And being really truely opensource.

No one else is truely opensource, ex. Mysql used to sell exceptions and prosperity features instead of selling Enterprise support.

alsadi··on 3.5 Years, 500k Lines of Go
For automation of deployments we prefer ansible (ex. it's agent-less)

For container orchestration it's clear that kubernetes is the winner (if you have k8s deployed you don't need juju)

For managing the whole thing manage iq have much to offer.

alsadi··on UK to follow US flight ban on laptops
Whay specify specific airlines if it's a security measure?

If it's good for dubia's security it should be good for irish or Cyprus or Sicily

alsadi··on Wind and solar power are disrupting electricity systems
Because they did not invest in it. Becuase they fight it. LED was not invented in 2017.
alsadi··on Do we really need swap on modern systems?
Just type

sudo swapoff -a sudo swapon -a

alsadi··on 22 Years of Delphi and It Still Rocks
my favorite color is better than yours.

Would someone please point to his/her blog saying that Tcl/tk being the universal scripting language?

alsadi··on Why Databases Are Not for Docker Containers
Since you mentioned union fs then you are not using upstream kernel, most likely you are blaming your non-enterprise distribution choices on containers technology.

Fact #1 redhat do have enterprise docker container based solutions. Check project atomic and openshift

Fact #2 cloud providers like google, azure and amazon do have container basef solutions

Fact #3 coreos do have production grade docker based solutions

Fact #4 kubernetes do support pet pods aka stateful pods and can get data volume from reliable ebs or ceph

alsadi··on Snap install openstackclients
thank you.
alsadi··on The Axiom of Choice Is Wrong (2007)
> Sure, this is based primarily on my intuition for finite things and a naive hope that they should extend to infinities.

but it's known that it does not extend!

alsadi··on Snap install openstackclients
Docker inc. is a key member of oci which is under linux foundation

https://www.opencontainers.org/faq

alsadi··on Snap install openstackclients
Your meaning of everywhere is by having 3rd party non official repos that ship small copy of ubuntu core.

Remind me why do steam do have to ship ubuntu's version of heavily patched libraries instead of using system upstrean version shipped by archlinux for example?

If snap is not a vendor lockin trap what is the vendor lockin trap?

alsadi··on Snap install openstackclients
We use ansible to generate small inremental updates of docker images. The ansible takes any base image and put it into desired state. We feed it a milestone image to generate a small layer over it.

http://engineering.opensooq.com/manage-your-docker-image-lay...

alsadi··on The JVM is not that heavy
Talking about ruby community, thread safty was too late it's only usable in ruby 2.x and rails v. 4.

And even with rails v4 many apps are not thread safe like canvas lms because the long tail of rails addons that are not thread safe and the common bad practice of using static properties to store non-sharable states and properties

alsadi··on Snap install openstackclients
I belive doing typical oci-standard docker image suites portability and servers and sysadmin more than canonical's non-standard vendor lockins
alsadi··on The JVM is not that heavy
Ruby is perl-minded folks reinventing python without understanding it. The result was: ruby is python-done wrong.

Now comparing python flask uwsgi and jvm jetty apps are in favor of python in all metric.

Starting a django elephant takes no time compare that to starting less capable framework of choice in java world.

To be fair, java can be much much faster than python. But usually you don't care because python is not the bottleneck. Ex. The bottleneck can be in the SQL query

alsadi··on Show HN: Oneway drop privileges in a non-reversible way
as you can see here "alsadi" user is a sudoer but later with oneway, he was unable to sudo again.

http://imgur.com/a/IzrXR

alsadi··on Show HN: Oneway drop privileges in a non-reversible way
the current process here mean "oneway" or "su" not the parent of it.

so if you type "su -l -c sleep app" and type "ps ax" you would see a the "su" process and a child process.

if you do that with "oneway", there wont be a process called oneway.

the usage of this is you can have "exec oneway" in your start.sh and you would end up with no privileged processes at all.

on the other hand this won't happen even if you "exec su -c bash exec " no matter how many exec you type. there will always be a su/sudo process

← PreviousPage 3 of 4Next →