Language:
switch to room list switch to menu My folders
Go to page: First ... 25 26 27 28 [29]
[#] Tue May 02 2017 17:29:42 EDT from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


WSL has improved a lot. It's now possible to run The Java Interpreter. :-P

[#] Tue May 02 2017 17:54:54 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

It's also more stable than the Windows API. The Windows kernel is intentionally hidden behind the WinRT/Win64/Win32/etc. API family, so MS feels more freedom when it comes to tweaking kernel APIs. Linus mandates that user-land applications from 0.99 kernels are able to still run on 4.11 kernels, so actually has a better track record of compatibility than Windows from that particular aspect.

[#] Wed May 03 2017 16:22:10 EDT from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


As someone who still uses Windows 10 for games but also does development work for a living, I'm really quite excited by all this.

[#] Wed May 03 2017 20:48:49 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I am too; it really makes everything a little more accessible.

At the same time, now that I have two well-powered laptops, I can have the best of both worlds. I just installed Kubuntu on one of them and am realizing how much I missed having a native Linux around. KDE is looking good these days. For a while it had too much of a eurotrash thing going, but they've cleaned it back up. I like how they make it look and act like an actual desktop, instead of pretending to be a phone or a tablet.

I figured I'd go with KDE this time because it's the native environment of my very favorite video editor on any platform: Kdenlive.

[#] Thu May 04 2017 07:34:38 EDT from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


I wonder, sometimes, how people manage to make interesting debian packages at all.

There's this thing called debconf that one ought to use for asking the user things like the password to a database engine so you can add a new database and tables, etc. And there are these commands with which you may littler your postinst scripts to drive this kind of thing.

But you aren't likely to find the documentation for these commands easily.
No. On the official debconf site, they claim that because these commands are now part of Debian policy, you have to find them there. So you try to find them there, and you're treated to a byzantine labyrinth of text, hinting of the promised text without offering it to you easily.

I wonder how many people would use this system, but give up and just use bash's 'read' instead because fucking hell, you can at least find documentation for bash.

[#] Thu May 04 2017 15:20:05 EDT from kc5tja @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

(raises hand.)

[#] Fri May 05 2017 06:29:10 EDT from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


I did, eventually, figure out what I needed, following debian policy, etc.

But, sincerely, those guys ought to make the documentation a tad less dense, and a bit more streamlined for the guy in a hurry.

Basically:

* Redirect all stdout to a file, so you can refer to it later if something fucks up.
* You might also want to redirect stderr there, too.
* Output nothing to the user at all, short of something on stderr telling the user where to find this output.
* Use debconf commands for the rest. If you're using sh or bash, they start with db_, and you have to run their script to make the commands accessible.
* Remember to write a lot of echo statements into your log file so you can figure out when something fucks up. Because debconf sometimes just seizes up the whole damned script when you set -e at the top of the script (per policy) and something decides to go wrong.
* Test the fucker until your eyes bleed.

[#] Fri May 05 2017 06:32:05 EDT from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Oh, the actual prompting happens within config, not postinst. But if you used db_reset to kill off the password (like you should), and you need it again on uninstall, you'll need to reproduce whatever you wrote in config in your prerm script. Or, be sneaky like me, and simply call config from prerm.

I have to say, it all does look very clean and slick when you use debconf, but the documentation leaves much to be desired.

[#] Sat May 06 2017 14:01:47 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

the best of both worlds. I just installed Kubuntu on one of them and

am realizing how much I missed having a native Linux around. KDE is

And I'm really liking this. KDE 5 looks and acts like a desktop.

I just dropped my Linux laptop into the dock (which fits both of my laptops) and it picked up *everything* without requiring any configuration. Multiple monitors, multiple audio devices, multiple network interfaces, it's all there, no fuss, no muss. And it looks fantastic.

I'm tempted to make this my daily driver for a while and see how it does at the workplace. In the meantime it's going to stay in the dock all weekend.

Go to page: First ... 25 26 27 28 [29]