New around here? Register your SA Forums Account here!

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
TimWinter
Mar 30, 2015

https://timsthebomb.com
Who do I talk to if I want an ubuntu desktop environment built around i3. I know the whole "Linux means choice" crowd particularly glom onto i3, but why can't my one choice be i3 and the rest of my choices be the standard network manager and keyboard shortcut handler.

Adbot
ADBOT LOVES YOU

TimWinter
Mar 30, 2015

https://timsthebomb.com

Helicity posted:

counterpoint if its just a lovely little admin app that doesnt deserve much thought, leave it on 8080 and dont think about it not being on port 80 :shrug:

This rings true. Id either leave it on 8080 because it doesn't matter or spend the literal 30 minutes figuring out 0-60 how to write an nginx config file and run a docker container pointed at it.

Tbf, I would also be pretty pissed if I inherited a system that had any of the other hacks described in this thread running on it.

"Oh, look, another way to mangle port 80 privileges, this time somehow in systemd? Let's set aside time to rewrite this from scratch."

TimWinter
Mar 30, 2015

https://timsthebomb.com

Gazpacho posted:

corp. firewall

i mean gee it's as if by being here where the app will be used i have some asymmetric knowledge not available to the internet at large

I definitely sense an asymmetry in knowledge between us.

TimWinter
Mar 30, 2015

https://timsthebomb.com
If they add all the Linux desktop applications to an os running the Linux kernel, does that make it Linux on the desktop?

https://www.androidpolice.com/2018/02/25/chrome-os-may-soon-able-run-linux-applications-container/

TimWinter
Mar 30, 2015

https://timsthebomb.com

Hey now, I don't think anyone is saying that.

TimWinter
Mar 30, 2015

https://timsthebomb.com

Serious question, why is the passing build blue? They're green on my work's Jenkins but the img name is blue and it's always confused me.

TimWinter
Mar 30, 2015

https://timsthebomb.com

VikingofRock posted:

IDK I personally would expect GlobAllocations.h and GlobalLocations.h to be distinct files.

Time to quietly write this quirk of luck into all major repos at my current workplace.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Lol at thinking the everyman doesn't have two analysis.jpg files in their downloads folder

TimWinter
Mar 30, 2015

https://timsthebomb.com
Is anyone still doing anything like the Ubuntu convergence phone? I never use my laptop as anything but a desktop, I think Android sucks a little less than using Apple products but pretty bad, and I've been using Linux for my personal computer os since 2006. I think I'm the target demographic here.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Why is there a gap between top and bottom workspaces in Unity? Why is that gap as wide or wider than a title bar on a window is tall? Why can you drag windows far enough into this gap that the title bar is no longer clickable from the top work space or the bottom?

TimWinter
Mar 30, 2015

https://timsthebomb.com
18.04 isn't out yet!!!


Or is it?

TimWinter
Mar 30, 2015

https://timsthebomb.com
When docker was young, my team regularly ran into problems where you'd update one Makefile that managed a Dockerfile build process, and all the downstream docker build commands would fail. This is because the prevailing wisdom at the time was to use Makefiles to define your `docker build` parameters, and then heap mounds of this make/docker pattern on top of each other in the form of image inheritance, in order to reuse prebuilt images as a sort of build cache across different build nodes. Of course, this pattern sucks. Docker pull / push is so slow that the benefit of breaking a your dependencies / services into several images is not worth it at all, you really one want giant fat layer because that will incur less verification overhead when transfered across the pipe, build times be damned. This pattern had the added disadvantage of the fact you can't unit test a pile of make and docker files, so any change you make to your structure has even odds to cause 'image not found' failures three hours into your build process.

To try to cut down on the cycle time, I came up with a test that overshadowed the docker binary in the $PATH with a little python script, whose job was to register new image names it was asked to build and confirm new docker files had their requisite dependency images created before they ran, completely hiding the original docker binary. This meant no images were built, but it did effectively test the entire docker build inheritance structure just from reading the files on disk and comparing to the list of prebuilt images it aggregated. I turned a debug cycle time of several hours into a <1 minute fast failing test.

Well the point of the whole story is that I named the whole fake docker system "focker" and the name has tickled me ever since. And docker has always been bad. Thank you for reading

TimWinter fucked around with this message at 00:07 on Apr 20, 2018

TimWinter
Mar 30, 2015

https://timsthebomb.com
I hold on let me dig up some amusingly short sighted articles about using make to manage your docker build process from ye olde 2014 or 2015...

~first hit is an article dated 11/2017~

TimWinter
Mar 30, 2015

https://timsthebomb.com
Docker compose you'd need to change your pythonpath and use a mocked version of the awful docker python lib.

I'm sure you could describe the situations where these facts became important enough to learn as "docker just working" and "docker simplifying my workflow".

Also, maybe, "using docker correctly", but who is really keeping track.

TimWinter
Mar 30, 2015

https://timsthebomb.com

freeasinbeer posted:

Jenkins is bad.


come with my on my adventure to recreate it in every new build tool....

same

TimWinter
Mar 30, 2015

https://timsthebomb.com
Webass will fix this
webass will fix nothing

TimWinter
Mar 30, 2015

https://timsthebomb.com
Despite knowing several people who main linux for their personal computers, I have never met one that runs Fedora.

But the siren song is calling to me. How bad can maining Fedora be, right?

TimWinter
Mar 30, 2015

https://timsthebomb.com
Wasn't the last docker breakout in October?

TimWinter
Mar 30, 2015

https://timsthebomb.com

hifi posted:

nginx is broke on f28 thanks to selinux

Ok, I hate docker with a passion but who doesn't deploy nginx in a docker container these days.

TimWinter
Mar 30, 2015

https://timsthebomb.com

Silver Alicorn posted:

and Linux nerds scoff when anyone says this poo poo is too complicated

no I don’t use “acceleration” in windows, I use it on exactly the middle setting between slow and fast, and I have “enhance pointer precision” checked. feels natural to me on multiple different computers I use at home and work. on fedora I only get a simple mouse speed slider. turning the speed down makes it feel more normal but it’s still too easy to overshoot buttons and stuff because it doesn’t enhance precision the same way or whatever

I don’t have any issues with macos either, it’s only ever Linux that seems to get it wrong


Shaggar posted:

windows is the only os with working pointer input. linuxes like gnome and osx feel like dragging the pointer thru sludge

I literally brought this up for the first time in my life today at work. Weird. Of course no one, despite being surrounded by several linux nerds and even some linux nerds who also use windows extensively at home for games, had any idea what I was talking about.

It's not just distance traveled or pointer acceleration, windows has a better output refresh rate or something that makes the pointer feel uniquely crisp and responsive.

edit: It could be the difference between ~15ms of input lag and windows having something under the threshold for humans to notice like ~8ms, but I swear there's a real difference.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Google is keeping with its tradition of showing docker how to do containers correctly the same way you'd explain obvious things to your kid's dumb friend: very slowly, excruciatingly patiently, and with no expectation of them getting it:

A few days ago the G open-sourced gVisor, a hypervisor that sits between the kernel and docker containers. Their words for the problem:

quote:

With traditional containers, the kernel imposes some limits on the resources the application can access. These limits are implemented through the use of Linux cgroups and namespaces, but not all resources can be controlled via these mechanisms. Furthermore, even with these limits, the kernel still exposes a large surface area that malicious applications can attack directly.

And their solution- a layer between docker and the kernel:



Oh, what a surprise, hooks for this sort of thing are written into the OCI standard:



Link to the full post: https://cloudplatform.googleblog.com/2018/05/Open-sourcing-gVisor-a-sandboxed-container-runtime.html

Overall I expect this to be a big hit with all the major banks and investing firms that have strict "no docker" policies due to security concerns.

TimWinter
Mar 30, 2015

https://timsthebomb.com
You ever take bait you know you shouldn't? Two days ago I read "Ubuntu and Red Hat are not different operating systems, they're different distributions of the same operating system" and I just had to weigh in.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Turn off swap and let the oom killer sort em out.

TimWinter
Mar 30, 2015

https://timsthebomb.com

Poopernickel posted:

should i learn it?

Yes.

The real question is "when", and that's not until you have to fix someone else's awk one liner and can't figure out how to replace the the entire line with grep|cut. One day sooner and you'll find opportunities to proliferate technical debt by solving problems with a dead, esoteric language, inflicting its knowledge on others.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Is there a good YouTube series or finger family episode about reading comprehension

TimWinter
Mar 30, 2015

https://timsthebomb.com

cinci zoo sniper posted:

so, someone bought suse for billions

Tired of shelling for licenses, I bet.

TimWinter
Mar 30, 2015

https://timsthebomb.com
So, fedora seems to ship with a version of gnome shell that crashes when you plug in external monitors on a laptop. That was fun to debug.

TimWinter
Mar 30, 2015

https://timsthebomb.com

my bitter bi rival posted:

what's your laptop I don't have that problem

Lenovo P51. I wrote out an effortpost about my endeavors into trying Fedora Atomic Workstation before jumping back into Fedora Workstation. I hope to finish / post it, but it started going all over the place. Atomic Worstation is just... weird.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Good to hear re:i3, will try on my new fedora machine.

Although I do really like gnome 3. I never thought I would but it's nice.

TimWinter
Mar 30, 2015

https://timsthebomb.com

VikingofRock posted:

now do xmonad

If you're concerned with how well it works or how maintainable the haskell you have to write to configure it is, then xmonad isn't for you because you're not a functional programmer.

TimWinter
Mar 30, 2015

https://timsthebomb.com

Schadenboner posted:

Post ur hottest errors code.

unironically this

TimWinter
Mar 30, 2015

https://timsthebomb.com

Condiv posted:

linux desktop situation:

yesterday i finally managed to get a macosx vm working in virtualbox. it was a giant pain in the rear end, but now I can build mac os specific apps when i need to

Any hints? I tried extensively to make this work so I could have jenkins workers try building on osx, but at the time the available guides were all too out of date to work but too new for anyone to care to write new ones.

oh no blimp issue posted:

buy a used one off ebay

Even if the upfront cost is negligble, keeping one of these running as a build machine for osx is a terrible, high maintenance waste of time.

Signed,
-a terrible, high maintenance waste of time.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Hey the dev tools don't work on macos today

Well let's run the dev tools on a Mac for every change to the dev tools repos

Ok, can we run macos in a vm or do we ssh into a mac mini as a jenkins worker lol

(me, three weeks later, replacing the batteries in the jenkins worker's keyboard because it stopped responding to ssh, wondering how I ended up here)

TimWinter
Mar 30, 2015

https://timsthebomb.com
Trying to be charitable I googled for instances where grep would hang and all I found was posts about "why does 'grep keyword' hang my terminal?".

I like Linux so much.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Do it

TimWinter
Mar 30, 2015

https://timsthebomb.com
Great news! The Ubuntu Convergence phone OS is still being kept alive by community maintainers, with an entry price of ~100 (recommended device is nexus 5 which was released in 2013 and pretty cheap second hand at this point). I happened to have that much burning a hole in my pocket anyway!

https://ubports.com/


The cool thing about Convergence is that it outputs to an HDMI display and acts as a full desktop environment, which I don't have the hardware to actually do at this point, so more on that later.

However, it isn't actually a linux phone / desktop as it runs an Android kernel. Pretty disappointing, especially because the Android convention is to keep the root device is completely full making apt install commands impossible, and everything is supposed to be run in Android's container tech which isn't docker but is instead called "Libertine" containers and no-poo poo has a little top hat as an icon:

TimWinter
Mar 30, 2015

https://timsthebomb.com
Is WPA2 still broke as hell?

TimWinter
Mar 30, 2015

https://timsthebomb.com
Hacking WEP networks with the aircrack-ng suite was my jam back in 2008. You'd hack onto someone's wifi just because you could.

TimWinter
Mar 30, 2015

https://timsthebomb.com
Oh yeah, lets do some machine learning

CUDA install instructions posted:

While the Runfile installation performs no package validation, the RPM and Deb installations of the driver will make an attempt to install the kernel header and development packages if no version of these packages is currently installed. However, it will install the latest version of these packages, which may or may not match the version of the kernel your system is using.

Adbot
ADBOT LOVES YOU

TimWinter
Mar 30, 2015

https://timsthebomb.com
Learning plenty about machines tonight

code:
0- [TimWinter@nonya] $ sudo dnf install cuda
...snip...
Transaction Summary
==========================================================
Install  211 Packages

Total download size: 2.0 G
Installed size: 4.0 G
Is this ok [y/N]: 

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