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 $10! We charge money because it costs us money per month for bills alone, and since we don't believe in shady internet advertising, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Subjunctive
Sep 12, 2006

ask me about nix or tailscale
coworker who sits next to me is going some hardware eval and the tools run best on Linux, so I get to see him booted into 80x25 scaled to a 30" monitor cursing under his breath for a couple of hours a day.

on the other hand, I have to Linux-care about making something work that digs around in the graphics stack and naively expects things to work in all the driver configurations, while hitting 90Hz sustained. I'm flashing back to editing modelines.

Adbot
ADBOT LOVES YOU

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

my stepdads beer posted:

its on my desktop, op

did you lose a bet?

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Mr Dog posted:

"Did you just tell me to go gently caress myself?"

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
if I write a program that I want to have run as a daemon and be stoppable/restartable, do I still have to write a shell script that spits my pid to a file? is it possible to write a single such script and put it in a single location that will be correct on more than one distribution, or even two versions of a distribution a couple of years apart?

we spent longer dicking around with packaging and such for our Linux support than we did getting the USB integration to work, and the people doing it are beyond expert. eventually I just told them to leave a shell script that started it in the foreground, let the barbarians sort it out.

MMXIV

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

cool, is that deployed widely, say > 75% of Linux desktops? that could make things ok. what directory do I drop the files it? (why doesn't that page say?)

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
yeah, my stuff is for linux on the desktop in this the year of linux on the desktop. (what do you do with services that need to be up in order to mount /usr, like network file systems and dhclient and so forth?)

I don't care about LTS, these are all Enthusiasts buying ostensibly-developer-kit hardware for now. IDK what all configurations we're going to support, but I hope there are fewer than 3.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
I don't need to be up to mount /usr, I just remember when that was a thing people did. making it unsupported is a very good approach, IMO. wish it had happened in time to save me in a previous life.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
I will say that for some of the display management stuff we do Linux's stack is a lot easier to work with than Windows', holy poo poo.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Suspicious Dish posted:

logind makes it super cool and useful. Also you're a jerk for only testing your garbage SDK on NVIDIA hardware.

it's actually just being able to manage multiple screens without insanity. not part of a desktop config, just a display device to which we can get a handle.

yes, I'm a jerk, but those are the machines we had and we knew of only one Linux-hosted developer, who also uses NVIDIA, so I pushed it out like the software kidney stone it is.

we fixed a bunch of stuff in the upcoming (tomorrow?) release for ATI and Mesa (?!?), but I'm not ready to guarantee support for anything until we see if the scheduler and such will let us sustain 90Hz. also because devoting 8% of my team to 0.04% of our users is math so bad even I can tell.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Suspicious Dish posted:

Did you fix this piece of NVIDIA insanity?

https://bugs.freedesktop.org/show_bug.cgi?id=54080

reinterpret_cast<GLXFBConfig>(value)

I don't recall, but I don't think we work on the open NVIDIA drivers yet.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

BobHoward posted:

if you support less than 6.02e23 configs, prepare for death threats. the ~artisinal handcrafted pid files forever~ crowd is a little touchy right now.

my plan is to require systemd, Wayland, and root on btrfs.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

BobHoward posted:

hence "i wish"

just add symlinks in /System and suppress the entries from getdirent on /

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Mr Dog posted:

no but i mean as a serious question what do people use network filesystems for on linux these days

please don't tell me they still use NFS :ohdear:

please don't bring up anything inside a university because the people who run IT at universities are deathly allergic to things like good ideas and the passage of time

we use NFS for home directories and utility binaries, because who's copying all that poo poo to six digits of servers. also glusterFS for I think petabytes of stuff.

oh yeah, we use Lustre for some stuff too, but I don't think any of my code is still in it

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Notorious b.s.d. posted:

but of course stingy loving vendors didn't contribute anything upstream

good username/software-license combo

also if their mid-90s Motif implementations were any indication, they couldn't have upstreamed anyway because they hacked it all to gently caress and back. "hey, do we have to free the return value from this?" "are you on HPUX?"

Subjunctive fucked around with this message at 01:27 on Dec 4, 2014

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Gazpacho posted:

it also did pretty well with the whole "provide some foundation bits and let everyone & their bros bodge together a different, equally bad end-to-end solution" aspect

I have a web like that.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
tramp is a pretty rough experience if your ssh uses 2-factor

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
I wrote a reasonable portion of the JS engine in question, and I'd be a *bit* worried about it (or any GCing language) in that capacity unless there's a really good model for how to handle failure of the hosting process due to memory exhaustion. it's harder to verify memory cleanliness with dynamic GCing languages, and closure-entrainment is a non-obvious hazard to many.

OTOH, people can use jQuery to build auth plugins, so that longstanding hole in the universe of freedom has been filled.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
historically, that's usually because of mismanagement of GC'd pointers by the embedding app; pass in a dead pointer, suffer accordingly. I don't know that there's any pure JS you can feed to that engine that will cause a crash, given how widely it's tested by fuzzers and hundreds of millions of people on the web.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

if you store a closure (such as a callback or event handler), it can capture referenced objects for the lifetime of the closure, which is often the lifetime of the program. if there are unmanaged references involved, you can end up with undetected cycles and uncollected garbage much like my posting

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Suspicious Dish posted:

Yes, but we explicitly collect and destroy the JS Context after running one script. We're very aware of closures building reference cycles.

that's the trap! the JSContext is the thread of execution, it's the object graph that matters. they're often reused out of performance concern, which leads to the problem. I'll stop short of turning this into the PL thread, and try to remember to just take a look at the code at some point.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Suspicious Dish posted:

My understanding was that destroying a JSContext would mark all objects rooted in that context, including the global object, as dead, and run a full mark/sweep GC. Since nothing is keeping the closure alive (all references to it come from the global object, which is now dead), it gets collected.

objects are not rooted in a context, the JSContext * parameter is just to find the runtime; see also JS_AddRootRT.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
did Ubuntu Phone ship anywhere? FirefoxOS has woes, some originally my fault, but it got into the hands of humans inexpensively at least (and exceeded carrier no-doubt-cynical expectations).

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Notorious b.s.d. posted:

i am pretty sure i didn't need wikipedia integration in a loving music player

gee i wonder what this band is, whose music i have purchased, filed into a music library, and actively chosen to listen to

I think it's a good idea for "when was this released", "what movie was it in again", "what's the lead singer's name" sorts of stuff. kindle fire has that sort of thing for movies, contextual to who's on the screen, it's pretty neat.

ZShakespeare posted:

lol at linux users buying things

at least two Linux users have bought our product and more will do so when people port their content to the SteamBox as this graph relabeled from r/Bitcoin clearly indicates

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
scraping modern web sites requires a real browser engine executing script, yes

when you kill yourself to end the pain, can I have your stuff?

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Lysidas posted:

$ du -sh .local/share/Steam/
105G .local/share/Steam/

also an extra 20G or so for the gog version of witcher 2 in ~/Games

an important lesson about the importance of indulging tribal packaging customs for Linux software, to be remembered when someone says that different just-so packages are needed for Linux users to adopt. here we see them paying rare Linux-bux for something that really doesn't give a poo poo whether it uses the currently-fashionable LFS directory structure or whatever.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Notorious b.s.d. posted:

btw the correct way to do a web scraper in linux is scrapy

does scrapy do anything with script-loaded/generated content, or does it still crawl lynx's view of the internet?

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Mr Dog posted:

because i'm guessing Chrome is a natural byproduct of Google having to run a full-fledged headless web browser in a cage in order to scrape all that poo poo. it certainly explains why it has such a strong emphasis on sandboxing.

this is basically totally wrong

quote:

so it seems liek HotJava was the way to go all along and modern single page JavaScript applications are effectively a bastardized version of HotJava only with a lovely scripting language instead of the JVM. then again given Java applets' security track record that might be for the best.

based on my experience working on a Java based browser, and Java integrations into other browsers, HotJava would have a hard time being any less the way to go.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

bobbilljim posted:

im going to install mint over that fedora shite

"wow, this food is rancid. I better get another spoon."

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
today a co-worker unironically had to edit his XConfig. he said he was editing modelines, but I choose to disbelieve that part

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Suspicious Dish posted:

You haven't had to edit a modeline in close to twelve years now. Unless he's on nvidia proprietary. Which somehow ignores all common sense by not even reading your monitor's EDID on hotplug.

I think he's on NVIDIA yeah; it was a Tegra board of some kind.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
the next time I get high at work I'll ask him what he really meant

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

pseudorandom name posted:

https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00171.html

tldr: emacs wants to pipe gcc IR into emacs do do all the things that libclang does, rms is delusional enough to still believe that people will attach their own proprietary language frontend to gcc's backend instead of just using llvm

I remember sending developers off to gcc summits to try and get AST-export interfaces accepted upstream, years ago. it finally took, but man, nobody is sad when their boss says "sorry, you have to switch from extending gcc to using llvm". talk about fighting the last war.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Mr Dog posted:

keeping anroid and chromeos separate seems like one of the less dumb things goog did, in retrospect

android was really more like a wholly-owned subsidiary than a division for a very long time

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

pram posted:

lol idk then is that like, fedora lts? what is the loving point

fedora where half the loving packages don't depend on the x libraries because someone decided that it was important to build vim with mouse support.

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Suspicious Dish posted:

Nah, that would actually be useful. Fedora server packages are the same as workstation.

:thumbsup:

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

delicious

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
rms doesn't type anymore, so he probably doesn't program

Subjunctive
Sep 12, 2006

ask me about nix or tailscale
rms is misguided and poorly socialized, but I don't think he's scum. he lives his values and is transparent about his motivations, neither of which I think is true about esr. esr is manipulating and self-aggrandizing. there are others in the space who I also think are much more "scummy" (acting in bad faith) than rms.

(and I have no real love for rms)

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

Phoenixan posted:

linus is the only cool linux man

tridge is p sweet, and sct/alan too though I'm not sure they're active any more.

Adbot
ADBOT LOVES YOU

Subjunctive
Sep 12, 2006

ask me about nix or tailscale

cthulhoo posted:

ah so that's why java runtime is such a bloated pos

jesus gently caress

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