Live data from Hacker News

Rosetta Stone for Unix

bhami.com

11–20 of 30 posts

Re: Rosetta Stone for Unix

#11
post #5
post #3

as someone who worked in an hpux and solaris (and a little AIX) shop, writing code with a fair number of system calls on these systems, brings back memories and not good ones. Subtle differences in the way everything was done. slight difference like: the max size of a udp packet was slightly smaller on hpux (or was it solaris) such that things would break in unexpected ways. The gzip or tar params where all slightly…

The gzip parameters should be identical, since all implementations are the GNU one. The compress program, on the other hand… EDIT: My information was obsolete – apparently some BSD’s reimplemented gzip. I stand corrected.

The BSDs have their own gzip. I know this because it rejected some files that were fine according to the official version...

Re: Rosetta Stone for Unix

#13

Rosetta Stone is a copyrighted software app to teach you foreign languages. You must be thinking of a cheat sheet. Nothing in the link helps you 'compare languages'.

Congratulations, language software company, you have better SEO than a 2200-year-old stone carving.

Re: Rosetta Stone for Unix

#15

Rosetta Stone is a copyrighted software app to teach you foreign languages. You must be thinking of a cheat sheet. Nothing in the link helps you 'compare languages'.

Your comment depressed me.

Take a look at this: https://en.wikipedia.org/wiki/Rosetta_Stone

Re: Rosetta Stone for Unix

#18
post #14
post #10

Just goes to show that UNIX eco-system is not as portable as many youngsters think of it.

As far as I know, UNIX isn't really a standard. POSIX is, with varying degrees of compliance from these OSes.

While correct, POSIX is supposed to mirror UNIX, but only does so partially and like ANSI C, leaves room for implementation specific behaviours and extensions.

So in the end, the situation isn't much better, if the goal is to reach as much UNIX like systems as possible.

Re: Rosetta Stone for Unix

#19

"unique id useful for licensing" => Linux "/sbin/ifconfig eth0" Really?

This sort of thing can lead to ridiculous problems.

MATLAB R2013b on Mac OS tried to do something similar. However, it sometimes decided that my hostid was the MAC address of my Ethernet interface, and sometimes my wireless interface (in which case it would reject the license). In the end I resorted to obtaining two license files and manually switching them when necessary.

Re: Rosetta Stone for Unix

#20
post #14
post #10

Just goes to show that UNIX eco-system is not as portable as many youngsters think of it.

As far as I know, UNIX isn't really a standard. POSIX is, with varying degrees of compliance from these OSes.

It absolutely is, and has been for a long time. I find it very hard to keep track of the various standards, but things got a lot simpler with v3 of the Single Unix Specification, which is the same as POSIX 2001[0].

The problem is that SUS and POSIX only define a subset of what's wanted by most modern software and a subset of the tools people need to interacting with the system. It's a double-edged sword, though: if we always stuck to what was common to all Unix-like systems, we wouldn't have lots of important OS features.

[0] http://en.wikipedia.org/wiki/Single_UNIX_Specification#2001:...

Post reply on HN