Sources are all over the place. xcb/xgb is notably poorly documented, but most of Xlib applies with slight modifications. Yet Xlib docs aren’t necessarily practical. It took me a good while yesterday to understand visuals and how to create an ARGB window (eventually StackOverflow helped me get past BadMatch by analyzing X.org sources) and paint a gradient on it with direct ARGB values, while knowing what I’m doing. X11 also has its deal of history. Right now I’m reading a random paper from 1994 http://www.rahul.net/kenton/perf.html as I’ve been trying to understand GraphicsExpose events.
I don’t know. I really hope I can find something readable on XRender. So far I have like:
and none of that is very instructional. Though it seems to have Cairo-level capabilities.
I’ve almost finished porting that IRCd of mine, I just need to port/write a few unit tests, rework logging and I can start using it on my domain. Also needed to write my own simple version of netcat because I was testing TCP shutdown and “The result of testing hid with telnet, OpenSSL s_client, OpenBSD nc, GNU nc and Ncat is that neither of them can properly shutdown the connection.”
After that I’ll be looking into graphical user interfaces and how to make one.
This is so backwards: the real problem is that they broke themes in GTK+ 3 by entangling it with chaotic CSS and ignoring the consequences. You can’t even get all base theme colors from the application any longer, which is one of the factors why I consider having ported my application from GTK+ 2 as a backwards step. The older version did have a stupid widget sizing model but that could be circumvented.
Here’s hoping for another, simpler GUI library for *nix to show up that isn’t a metalibrary like WxWidgets, another bloat like Qt, or messy like Tk. Or have we already decided that Elecron is the way to go now? Is there a “market” for that?
I fully intend to incorporate this into my text editor (that I only have plans for this far). Though it’d be nice to have the editor automatically detect space-alignment, e.g. before comments, and replace that with elastic tabs automatically on load and back with spaces again on save. That way sans-serif fonts will work even with the fascist gofmt.
Well, the same thing as the last time: porting my IRC daemon from C to Go. I’ve had some problems with motivation, though that has sorted itself out and now I have before me the task of rewriting about 4000 lines of fairly straight-forward “business logic” code. It’s mind-numbingly boring and fairly time-consuming.
Since this is part of an over-ambitious project where I replace most GUI/TUI applications that I use, this rewrite being a warm-up exercise for Go in a problem domain that I’m comfortable with, I am considering starting a blog-of-sorts. I’m not sure if I could keep it alive for long as one needs to remember to describe the steps he takes and put them in context for readers which, needless to say, takes its time, but also as a side effect often provides interesting insights. There’s definitely a lot to write about.
What does one use to share a stream of short updates? I don’t feel like spamming an aggregator with them would be very productive and summarizing events at fixed time intervals seems like a hassle.
I’d recommend http://jrnl.sh/ if you want to quickly do streams of updates directly from command-line.
I personally like my fork which has one additional feature: native exporting directly to HTML https://git.timetoplatypus.com/timetoplatypus/jrnl
Keeping a log/record of things you have learned, wanted to share, or ran into in an issue tracker for the project would work probably. Possibly just a markdown file? Makes it easy to at a later date write about the process from beginning to end.
I have a bunch of Cherry MX Brown tenkeyless keyboards, mostly using and fond of Filco Majestouch 2 Ninja TKL.
In X.org configuration I have this, no need for programming:
rules: evdev
model: pc105
layout: cz,us,pl,ru
variant: dvorak-ucw,,dvorak,ruu
options: ctrl:swapcaps,grp:sclk_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp
I’d just like someone to resurrect old scissor-switch low-profile keyboards with the good old keycaps and make it into an external tenkeyless keyboard. In theory I could find a preserved laptop keyboard on the internet, figure out the wiring and properties and build my own electronics and case for it but that’s not a weekend job by far, not for me at least.
Continuing learning Go and rewriting my IRCd, originally a self-contained C project. The sucky part, which is rewriting the event loop on top of a different model and ensuring the entire thing including client connections shuts down correctly, seems to be almost over.
I might or might not be surprised as to how well it translates, e.g. TLS autodetection and abstracting over the two possible transports was not an issue. On the other hand, Golang cannot interrupt libc functions like getaddrinfo() or getnameinfo() by pthread_cancel()ling a dedicated worker thread, which is what I did in my C library. Should I bother suggesting it at golang-nuts@? I’m not sure if core devs would have a positive attitude towards the idea.
This is a bold statement, I do quite a bit of ssh -X work, even thousands of miles distant from the server. I do very much wish ssh -X could forward sound somehow, but I certainly couldn’t live without X’s network transparency.
I find it okay for running things that aren’t fully interactive applications. For example I mainly run the terminal version of R on a remote server, but it’s nice that X’s network transparency means I can still do plot() and have a plot pop up.
Compression can’t do anything about latency, and latency impacts X11 a lot since it’s an extremely chatty protocol.
There are some attempts to stick a caching proxy in the path to reduce the chattiness, since X11 is often chatty in pretty naive ways that ought to be fixable with a sufficiently protocol-aware caching server. I’ve heard good things about NX, but last time I tried to use it, the installation was messy.
There’s a difference between latency (what you talk about) and speed (what I replied to). X11 mainly transfers an obscene amount of bitmaps.
I regularly use it when I am on a Mac and want to use some Linux-only software (primarily scientific software). Since the machines that I run it on are a few floors up or down, it works magnificently well. Of course, I could run a Linux desktop in a VM, but it is nicer having the applications directly on the Mac desktop.
Unfortunately, Apple does not seem to care at all about XQuartz anymore (can’t sell it to the animoji crowd) and XQuartz on HiDPI is just a PITA. Moreover, there is a bug in Sierra/High Sierra where the location menu (you can’t make this up) steals the focus of XQuartz all the time:
https://discussions.apple.com/thread/7964085
So regretfully, X11 is out for me soon.
Second. I have a Fibre connection at home. I’ve found X11 forwarding works great for a lot of simply GTK applications (EasyTag), file managers, etc.
Running my IntelliJ IDE or Firefox over X11/openvpn was pretty painfully slow, and IntelliJ became buggy, but that might have just been OpenVPN. Locally within the same building, X11 forwarding worked fine.
I’ve given Wayland/Weston a shot on my home theater PC with the xwayland module for backward compatibility. It works .. all right. Almost all my games work (humble/steam) thankfully, but I have very few native wayland applications. Kodi is still glitchy, and I know Weston is meant to just be a reference implementation, but it’s still kinda garbage. There also don’t appear to be any wayland display managers on Void Linux, so if I want to display a login screen, it has to start X, then switch to Wayland.
I’ve seen the Wayland/X talk and I agree, X has a lot of garbage in it and we should move forward. At the same time, it’s still not ready for prime time. You can’t say, “Well you can implement RDP” or some other type of remote composition and then hand wave it away.
I’ll probably give Wayland/Sway a try when I get my new laptop to see if it works better on Gentoo.
I can’t agree. I’ve been using my IDE (Qt Creator!) over networked X11 and it worked really well (though the VPN used to freeze and there’s no session management, so I eventually stopped). Similarly, running Firefox on servers remotely is sometimes indispensable. What’s there to miss?
The big question here seems to be: how will it make money if not by making you a product like Facebook does it? Ads?
It seems to me that a (primarily?) self-hosted, decentralized solution is the only sensible way out, and it comes with the obvious downsides: a/ people don’t like things that can’t be easily regulated, b/ it’s hard to gain a market share with this unless your social group is a bunch of nerds.
Maybe actually hanging out with your friends in real life and sharing information the old-school way, or simply engaging more in direct messaging, for which there are privacy-focused platforms, is the best choice you have. In the end, people tend to share very superficious things on Facebook and fish for attention (been there) instead of engaging you directly in a meaningful way.
What is it that you’re really missing?
[Comment removed by author]
It costs so little to run a small instance that a few small donations often end up funding the whole operation. You can literally run pleroma on a raspberry pi which is a federated solution not decentralized but also a lot LESS centralized than say one website that one person hosts.
Heck, my brother runs his own website (a fork, if that’s the right word to use, of lobste.rs) off of a computer he has hooked up in his closet. It’s not particularly cost-prohibitive to run a website unless it’s absolutely massive.
If it’s public, please add it to the list of sister sites: https://github.com/lobsters/lobsters/wiki
I don’t think it needs to make money at all, hence the Wikipedia proposal. But it needs to keep the lights on.
What I’m really missing is the ability to easily organize somewhat distributed groups of friends and stay updated on their lives. By organize I mean take a group of friends where 2 or 3 live in NJ and 3 or 4 live around NYC, get some kind of a group chat going, and land on a time/place to meet.
I’ve been doing the old school thing for these past 8 months, and what I’ve discovered is that
Answering your question helped me realize that something like a simple, standalone alternative to FB messenger and FB events might do the trick. The two biggest barriers I see are:
In regards to 2 - is it possible the Wikipedia model would work? Essentially, donations? That would allow the platform to potentially be open source which would strengthen any claims it make towards privacy.
it’s always felt like the obvious solution to make money is to charge money for a subscription.
But app.net tried this and failed pretty hard. Wonder if it’s ever possible. I would totally pay money to get ad-free Facebook/Twitter, but that would go against their overall business models.
Long way to go but looks nice enough. Signed, author of another custom-written IRC client.
Looking forward towards a stable release of Myrddin.
Both Exceptional (work from home) and Abhorrent (stopped doing my own projects) because this scale is silly.
And proprietary driver users have the gall to reward Nvidia for their behavior by giving them hundreds of dollars for their GPUs, then come to me and ask me to deal with their bullshit for free. Well, fuck you, too.
Boy, is he mad.
Strangely enough, nVidia seems to be the only vendor pushing for HDR and DeepColor.
Not to mention pushing performance; the 1080Ti and Titan Xp(p) maybe overpriced and from an evil company, but those products have literally no competition at all.
Yeah, but most people aren’t getting those, they are getting cards with definite AMD equivalents like the 1050/1060.
Yeah, the bitcoin blockchain has URLs for pedophile sites. I don’t know if those sites are still up, but the urls will be there forever.
While I know plenty of developers who are on Windows or Linux, I think implying it’s of no use to most developers is a bit of a stretch. The overwhelming majority of web developers I know use Macs, as do most of the mobile developers I know. They combined may be a strict minority, but it should still easily get plenty of use.
Anecdata: of the ten laptop backs I can see, all have apple logos on them. They’re not all programmers, but there was definitely some syntax highlighting in the mix when I walked by.
Web and mobile developers are irrelevant here, and a minority. Okay, you have a bias from what you see. But most programmers are on Windows, and a version for that alone would help Linux developers, too, because of WINE. I just see these people battling with git and this is a solution that will be completely useless to them. Maybe next time.
I suspect that most Windows-using developers don’t use Git and that most Git users actually use either MacOS or Linux.
Maybe, I couldn’t find any data now, but even if, then it’s gradually changing in favor of git, as people are leaving CVS, Subversion and such. And the ratio of Windows to $anything_else developers is huge. I know several places where they use git on Windows.
Yeah, I didn’t respond to that particular item, but going off that logic, virtually all Linux GUI software wouldn’t “be of any use to most developers.”
Web and mobile developers are irrelevant here,
I genuinely don’t get what you mean. Are you under the misapprehension that they don’t use Git, or that we don’t have mobile and web developers on lobste.rs?
I see it as an expression of bias and nothing more, i.e. why mention them at all?
Though let’s not continue in this thread, it’s unproductive and began as a sigh.
I do wonder if someone has useful stats on what kinds of systems programmers use… Like, if npm, cargo, rubygems, pip, etc. would keep track of what platforms people are on when they install packages (although the numbers would probably be a bit skewed, since a decent chunk on package installations happen on server systems on which no development is being done).
It wouldn’t surprise me if there was a good amount of people on macOS, simply because there are quite a number of amazing macOS-only developer-centric apps. I mean, do you think Kapeli would sell as many Dash licenses if there was hardly any developers out there using the platform? At least me, Dash has almost revolutionised my workflow.
Brew collected some usage stats, but used Google analytics, creating a giant shitstorm of outrage.
I’ve managed to do this, making me feel rather productive:
I’ve been trying to get elementary features required for GUIs working with BurntSushi/xgb and XRender.
Unfortunately, things are in a miserable state and I’m just surveying the wastelands.
I’ve learnt a shitton about X11 and extensions so far.