Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
BobHoward
Feb 13, 2012

The only thing white people deserve is a bullet to their empty skull

Gazpacho posted:

yosproject: convince lkcl and xah lee to collaborate on and submit a kernel patch

i had not heard of xah lee before. googled the name, found a hn thread, and welp i found something which fits in a number of yospos threads


seansoutpost 197 days ago | link

Xah,It really sounds like you need a bitcoin address. Coinbase.com (YC S12) is a great place to start. Once you have some coins, you will find no shortage of people in the bay area willing to buy them off of you.
I would even be willing to run a btc fundraiser on your behalf. I don't have a lot of rep on here, but it's pretty solid in the bitcoin space. Google Jason King Bitcoin or Sean's Outpost
Best of luck, man. Stay strong.

Adbot
ADBOT LOVES YOU

Sapozhnik
Jan 2, 2005

Nap Ghost
unironic ironic computerforum is always the best place for actual Good Effortposts on computer things on the internet

Sagebrush
Feb 26, 2012

linux has one more month to make this thread come true. will it make it? taking all bets. odds start at ten trillion to zero, that's right, a bet of zero dollars pays out ten trillion if linux wins

Origin
Feb 15, 2006

Sagebrush posted:

linux has one more month to make this thread come true. will it make it? taking all bets. odds start at ten trillion to zero, that's right, a bet of zero dollars pays out ten trillion if linux wins

it will. then about that time some collection of neckbeards will claim all the neurotypicals ruined it and then fork it into linuf: linux is not user friendly.

BobHoward
Feb 13, 2012

The only thing white people deserve is a bullet to their empty skull

pseudorandom name posted:

shouldn't we use a multi-dimensional system with separate axes for Hans Reiser, Andre Hedrick, and Jeff Garzik?

i googled andre hedrick for old times sake (so many bizarro paranoid lkml flamewars) and... welp. :catstare: didn't expect that ending. i guess it fits but holy poo poo. at least it turned out infinitely better for his family than reiser's meltdown did.

i hope there's nothing sinister about jeff garzik i don't know, he seems only mildly nutty

pseudorandom name
May 6, 2007

BobHoward posted:

i googled andre hedrick for old times sake (so many bizarro paranoid lkml flamewars) and... welp. :catstare: didn't expect that ending. i guess it fits but holy poo poo. at least it turned out infinitely better for his family than reiser's meltdown did.
yeah, I kind of feel guilty about that joke

BobHoward posted:

i hope there's nothing sinister about jeff garzik i don't know, he seems only mildly nutty
jeff garzik is just a major bitcoiner and otherwise harmless afaik

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Controversial blog post published, let's see what death threats I get today. Somewhat hastily written, and I could easily write 2x as much, but I wanted to keep it small and contained. Feedback welcome.

http://blog.mecheye.net/2014/11/why-package-managers-are-not-my-ideal-software-distribution-mechanism/

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

Suspicious Dish posted:

Controversial blog post published, let's see what death threats I get today. Somewhat hastily written, and I could easily write 2x as much, but I wanted to keep it small and contained. Feedback welcome.

http://blog.mecheye.net/2014/11/why-package-managers-are-not-my-ideal-software-distribution-mechanism/

Aren't apps workable because the runtime is guaranteed, where this isn't true across Linux distros?

Notorious b.s.d.
Jan 25, 2003

by Reene
i think i am probably a member of the audience most likely to get care-mad about packaging, but your essay fails to anger me.

  • no one will disagree with you that running scripts as root and praying they are idempotent is a lovely way to go about it. it's just the way we've been doing it for 25 years. no one actually likes it.

  • sandboxed desktop applications are probably not a terrible idea. i'm willing to play wait and see with that one. seems to be working in the mac app store.

  • letting upstream package software for me is probably not going to fly, but until you have a specific proposal, i'm not gonna poo poo all over an abstraction.

the only bone i really want to pick:

quote:

Today’s package managers do not see the OS independently from the applications that make it up: all packages are just combined to create one giant filesystem tree.

this is a feature, not a bug.

using a single namespace for the filesystem works really, really well in combination with rpath. don't like dealing with system libraries? no problem. set your rpath to only use libraries from /opt/endlessm/lib and /opt/endlessm/usr/lib.

rpm actually supports "relocatable" packages but no one uses them. it's hard to write the scripts for them, sysadmins are not familiar with how they work, and relative paths in the rpath field is just big pain in the rear end.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
The issue is with "they build one filesystem tree" is that you can't upgrade apps and your OS independently. You have to update in lockstep, or you fail to upgrade both.

Notorious b.s.d.
Jan 25, 2003

by Reene

Captain Foo posted:

Aren't apps workable because the runtime is guaranteed, where this isn't true across Linux distros?

it is and it isn't.

at a base level, the kernel ABI and glibc are pretty stable. you can set an environment variable and get consistent behavior from any kernel + glibc newer than the one you originally coded against.

above that, lsb compliance mostly works. lsb is what assures you that /tmp is safe to use and you will find most filesystem things where you think you will find them, and certain libraries are guaranteed to be present.

if you just "package" everything as a tarball or self-installing executable that dumps poo poo into /opt, depending on no system libraries, distributing on linux isn't impossibly difficult. this is exactly what many vendors do.

poo poo that isn't really easy/stable/guaranteed:
  • don't try anything with c++. the abi breaks too often
  • x11 libraries. ouch.
  • openssl versioning
  • scripting language runtimes

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
If you're curious, Endless has our own (really bad) application bundle format, which we unpack into /endless/, just to make you extra mad.

Sapozhnik
Jan 2, 2005

Nap Ghost
i agree with the premises but not Poettering's conclusion, especially if it makes btrfs mandatory and makes heavy use of the moral equivalent of overlay mounts (a hideous hack). In particular, invoking a root helper to mount an untrusted brtfs filesystem image on top of your current FS namespace every time you want to run a third party app is insane: btrfs has been around for what, eight years now? and it doesn't even work reliably in benign environments, never mind hostile ones. I am very reluctant to trust my data to btrfs if they can't even get it right after this many years.

also let's not double-down on the Docker poo poo and force people to install every single Linux distro simultaneously because plenty of fuckheads out there are still idiotic enough to target Ubuntu (and all its gratuitously incompatible and shittily designed desktop bits and pieces) and the Firefox guys will base their poo poo on Red Hat and the Libreoffice guys will base their poo poo on Debian or whatever. This isn't progress, this is a godawful loving mess.

Notorious b.s.d.
Jan 25, 2003

by Reene

Suspicious Dish posted:

The issue is with "they build one filesystem tree" is that you can't upgrade apps and your OS independently. You have to update in lockstep, or you fail to upgrade both.

i don't see why that is necessarily the case

as a third party vendor, if you target a specific OS version, you have a much easier time using system libraries. if choose not to use system libraries, you can target a lowest-common-denominator kernel and glibc version and ship your entire runtime inside.

that is to say, while upgrading the apps and the OS concurrently is often a practical requirement, that's not forced on you by the single namespace. it is just convenient for the packager.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Yeah, I'm not the biggest fan of Poettering's proposal for a variety of other reasons as well. I think the locked down SDK will make for a lovely development experience. I started working on my own project before realizing that would just add more fragmentation to the problem, so I wrote a bunch of notes which I'll talk to Poettering about in person.

Notorious b.s.d.
Jan 25, 2003

by Reene
poettering's proposal is a big bag of hurt and stupid. i can't touch that right now.

your essay is a different animal

pseudorandom name
May 6, 2007

Suspicious Dish posted:

The issue is with "they build one filesystem tree" is that you can't upgrade apps and your OS independently. You have to update in lockstep, or you fail to upgrade both.

This is because ELF symbol resolution is dumb and shared library authors are incompetent.

Notorious b.s.d.
Jan 25, 2003

by Reene

pseudorandom name posted:

This is because ELF symbol resolution is dumb and shared library authors are incompetent.

solaris did ELF right: rpath is mandatory

linux's global linker configuration is easier for idiots to deal with, but it's bad and broken behavior just to put some wildcards in a file and say "yeah just get my symbols out of that cesspit of libraries, it'll be fine"

Sapozhnik
Jan 2, 2005

Nap Ghost
Here's how to atomically upgrade /usr:

1. Create a /.usr.sysupgrade folder
2. Hardlink every existing file in /usr into a replicated /.usr.sysupgrade directory structure
3. Upgrade poo poo in /.usr.sysupgrade . Do the same thing for /etc as well if needs be: this will be easier when dropfiles become a more common pattern, because that frees you from having to do the package manager diff-merge poo poo you described
4. Use a new syscall flip() or whatever to atomically swap /.usr.sysupgrade and /usr
6. Delete /.usr.sysupgrade

If you use ext4 like a sensible person then your FS metadata is serialized and journalled, so you can always recover from this after a crash by deleting /.usr.sysupgrade (e: never mind the poo poo I just posted about some extra flag file, this is unnecessary, but this is just the simplest poo poo I came up with in like 2 minutes)

No btrfs bullshit required.

Sapozhnik fucked around with this message at 23:18 on Nov 30, 2014

pram
Jun 10, 2001

oh you

Notorious b.s.d.
Jan 25, 2003

by Reene
for the record i am not so sure that upgrading the OS between releases is a reasonable design goal for a package system

i get that desktop users love it, but that doesn't make it right

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
I think it's a goal that any sane system management tool should strive to support. You're absolutely right that package managers can't handle it.

Notorious b.s.d.
Jan 25, 2003

by Reene
the sane way to manage a system upgrade is to deploy a new one with a separate IP endpoint and LB pool, run a health check, and delete the old one if it passes

pls make this work on my desktop tia

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

On other platforms, upgrading the OS carries no guarantees that third party software will continue to work

pseudorandom name
May 6, 2007

Notorious b.s.d. posted:

solaris did ELF right: rpath is mandatory

linux's global linker configuration is easier for idiots to deal with, but it's bad and broken behavior just to put some wildcards in a file and say "yeah just get my symbols out of that cesspit of libraries, it'll be fine"

rpath wouldn't help for the real-world linux problems of "two incompatible versions of the library are loaded into the same linkmap" and "gently caress it we broke everything on this minor point release you get what you pay for"

pseudorandom name
May 6, 2007

linux shared library authors are too stupid to even do the most basic of things like pass --default-symver to ld

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

Captain Foo posted:

Aren't apps workable because the runtime is guaranteed, where this isn't true across Linux distros?

the fundamental thing that OS X and iOS guarantee is release-to-release binary compatibility, with managed deprecation, when upgrading the base OS. there is also extensive work done to ensure both backward and forward compatibility of software running on these platforms:

- existing software built for an earlier OS version may still get older behaviors from the new OS because it can tell what framework & library versions it was build against.

- new software can be built to be compatible across a range of OS versions, and implement graceful fallback behavior when running on an older OS that doesn't have some newer API.

does any Linux even attempt to manage things like API set availability over major or minor OS versions?

pseudorandom name
May 6, 2007

No, the only part of Linux that even approaches that is glibc, and its solution to supporting old versions is "build on that old version"

the majority of the Linux software stack is built by idiots using broken tools and all the things that exist to allow you to support ABI versioning and evolution go completely unused

pseudorandom name fucked around with this message at 02:56 on Dec 1, 2014

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

Captain Foo posted:

On other platforms, upgrading the OS carries no guarantees that third party software will continue to work

it sure does on OS X and iOS, as long as that software consists of apps built in the standard fashion against the OS-supplied APIs

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

pseudorandom name posted:

the majority of the Linux software stack is built by idiots using broken tools and all the things that exist to allow you to support ABI versioning and evolution go completely unused

it took a few years to get OS X developers all building against SDKs containing headers and stub libraries (via -isysroot) rather than /, and to get them used to setting the Deployment Target (minimum OS on which to run) separately from the SDK (maximum OS from which to use features).

on Linux even trying to nail down what "OS version" means will cause years of debate and flaming and forking and petitions.

ahmeni
May 1, 2005

It's one continuous form where hardware and software function in perfect unison, creating a new generation of iPhone that's better by any measure.
Grimey Drawer
I tried out gnome 3.14 on fedora 21 today, it was real nice and I could even tether my iPhone and connect to our Cisco vpn

ahmeni
May 1, 2005

It's one continuous form where hardware and software function in perfect unison, creating a new generation of iPhone that's better by any measure.
Grimey Drawer
cons: gnome shell currently runs at 60-80% cup usage at all times

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
What graphics chip / driver are you using?

BobHoward
Feb 13, 2012

The only thing white people deserve is a bullet to their empty skull
off to a new jorb in which i fully expect to use a linux on a desktop

assuming i have the ability to install my own (i don't know yet, old jorb i ended up being my own unix sysadmin) is there a good reason to use fedora over rhel/centos 7? engineering tools always support rhel exclusively but if fedora isn't wildly incompatible and offers benefits over rhel i might try it

prefect
Sep 11, 2001

No one, Woodhouse.
No one.




Dead Man’s Band

BobHoward posted:

off to a new jorb in which i fully expect to use a linux on a desktop

assuming i have the ability to install my own (i don't know yet, old jorb i ended up being my own unix sysadmin) is there a good reason to use fedora over rhel/centos 7? engineering tools always support rhel exclusively but if fedora isn't wildly incompatible and offers benefits over rhel i might try it

you'll probably have a much easier time getting newer rpms for fedora

Series DD Funding
Nov 25, 2014

by exmarx
they call it centos because it takes a century to get updates :xd:

pram
Jun 10, 2001
use oracle linux

ahmeni
May 1, 2005

It's one continuous form where hardware and software function in perfect unison, creating a new generation of iPhone that's better by any measure.
Grimey Drawer

Suspicious Dish posted:

What graphics chip / driver are you using?

virtual box and vboxdriver with guest additions and all that enabled
3d support enabled because gnome shell won't start with it disabled

ahmeni
May 1, 2005

It's one continuous form where hardware and software function in perfect unison, creating a new generation of iPhone that's better by any measure.
Grimey Drawer
fyi 95% of all systemd bitching could be eliminated if the loving fucks just did the whole awesome journaled thing but still wrote logs out to their normal locations while we learn the differences
i had to google where the gently caress xorg.0.log went and thats some poo poo i havent had to do since gentoo

Adbot
ADBOT LOVES YOU

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde

ahmeni posted:

fyi 95% of all systemd bitching could be eliminated if the loving fucks just did the whole awesome journaled thing but still wrote logs out to their normal locations while we learn the differences
i had to google where the gently caress xorg.0.log went and thats some poo poo i havent had to do since gentoo
What amazes me is there is an angle nobody talks about. You have a boot system that frankly nobody was really complaining about, yet all of a sudden we are being told, "oh the init is horrible, we MUST have Systemd, no question," followed by voices silenced, threads erased, secret votes.

Does this sound like the normal way Linux does things? And who is it being pushed hard by? Red Hat. Okay, so where does Red Hat get THEIR finances from? Three-letter agencies: DoD, FBI, NSA, CIA. In fact, more than 85 percent of Red Hat's money comes either directly or indirectly from the U.S. government. So, my question is this: In light of Snowden and Manning, why is nobody raising a red flag at this out-of-the-blue atypical behavior coming from the top tier of the Linux distros when it's being pushed by a corporation practically in the pocket of the USA security machine?

If you don't smell something hinky when Linux distros out of the blue adopt an "our way or the highway" while burying threads and banning users - and it all comes from a company that literally cashes checks from the NSA - I'm sorry, but this smells fishier than a tuna factory in August.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply