« first day (2458 days earlier)      last day (2803 days later) » 
00:00 - 19:0019:00 - 00:00

19:02
Hello friends.
Can anyone update me on Trelby, the screenwriting software?
@katyasehgal: What exactly would you like to know?
Hello @DavidFoerster .
I want to know how I can use it on 16.04.
There is no deb file.
there is a deb at trelby.org/download
Hi @edwinksl
It doesn't work. A little research told me that some python is necessary.
@edwinksl: ^this also contains an explanation why it doesn't work.
19:09
I have seen that @DavidFoerster and @edwinksl
"Looks like it was fixed, but no new package was built."
oh i see
compile from source then?
@katyasehgal: Did you look at the other answers?
Exactly
Some expertise is needed for that.
@katyasehgal will be nice if you tell us upfront what you have tried/seen so we don't waste time
The answers are unsure @DavidFoerster . For instance...
Excuse me @edwinksl, how am I not upfront?
19:11
@katyasehgal the best way to get help for something like this is to post a question on Ask Ubuntu, linking to the existing one you mentioned. Then, explain what you have tried and show the exact error messages you have received.
To quote an answer there: "(Surely there must be a smarter way to do this, but I don't know how)"
@katyasehgal He didn't mean you are not upfront. He just meant it is easier to help if you tell us what you tried from the start. But that's why it's better to ask on the main site.
@katyasehgal: There are two answers that explain an installation from source (though not every detail). Can you please try either of them? If you're stuck with a step I'm sure we can help you.
alright @terdon
I agree with terdon
19:12
alright @DavidFoerster .
Gor a complete newcomer to compiling, how much time does it take, so I can estimate and plan?
For*
@NathanOsman 's about right :)
@katyasehgal it varies wildly
@katyasehgal askubuntu.com/a/925407/175814 looks pretty straight-forward. Step 2 lacks detail for the inexperienced. You may run into complications during step 3 that are difficult to foresee.
19:14
@katyasehgal Anything from ~1-2 seconds to several days depending on what you are compiling and your hardware. For most things, expect a few minutes.
trelby doesn't look too complicated, so i don't expect it to take too long
@katyasehgal: I'll edit and elaborate step 2.
Alright @DavidFoerster , I'll try after that and hope for the best.
@edwinksl I wonder though then why there is no deb or prepared source available. Since many use the software. If I manage to do it, I will share.
@katyasehgal done
As I just saw @DavidFoerster .
As soon as I make time, I will get to it and get back to you.
19:18
@katyasehgal Can't be that many. That looks like a specialized editor for screenplays. How many screenplay authors are there and how many of those use open source tools and how many of those do so on Linux and how many of those on Ubuntu?
I mean, I'm sure some people use it, but it seems like a pretty limited audience.
so apparently I can have my compile API be 26, my minimum API be 23 and my target API be 22...
@terdon okay. Perhaps not many use it. That's possible.
I'd build a Debian package for it myself if I had an installation of Xenial (or anything with Wx 3.0).
That's the problem with free software. On the one hand, it is often excellent and often free (as in beer), on the other, if you're unlucky and not many experienced developers are interested in it, you're stuck :(
@terdon I agree. That issue exists for free Windows software too btw.
19:22
@DavidFoerster I didn't mention an OS, did I?
No, but I wanted to highlight that it doesn't depend on the OS at all.
No, only on the fact that it is a community-driven project.
@terdon I agree
Kindly have a look:

"git clone [email protected]:oskusalerma/trelby.git
Cloning into 'trelby'...
The authenticity of host 'github.com (192.30.253.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
grrrrr
 if (Settings.System.PUBLIC_SETTINGS.contains(name)) {
                    return;
                }
I can only write to Settings.System if the property is pre-defined...
@katyasehgal Try this instead:
19:27
@katyasehgal What's the current working directory where you're running the command? What's the output of ls -la ~/.ssh?
@terdon just a min
@DavidFoerster firstly can i delete what I added as known host... github.com?
"Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts. "
@DavidFoerster No, that's a git thing. It expects key authorization when you use that format since it would then allow you to push to the repository. Using the https link avoids that.
@katyasehgal Yes, but there should be no reason to do so.
la ~/.ssh
I get

known_hosts
19:30
@katyasehgal Forget about the ssh stuff. You don't need it just to clone (download) the source.
Oh, right. You need an SSH key even if you're using anonymous SSH. In that case terdon's suggestion would be the easier solution.
@terdon typing your code now
Or, you could just go to the webpage and click on "Clone or Download" and then download a zip file. But if the git clone works, it's the same thing.
@terdon possibly it worked.

git clone https://github.com/oskusalerma/trelby.git
Cloning into 'trelby'...
remote: Counting objects: 3923, done.
remote: Total 3923 (delta 0), reused 0 (delta 0), pack-reused 3923
Receiving objects: 100% (3923/3923), 5.25 MiB | 228.00 KiB/s, done.
Resolving deltas: 100% (2449/2449), done.
Checking connectivity... done.
Looks good.
19:32
@terdon @DavidFoerster step 3 the same as you mentioned ?
It says 'navigate to the trelby folder'
where would that be?
Wherever you just cloned/downloaded the Trelby source code.
I didn't mention. Is there a default?
Found the folder
If you used "git clone", it will create a directory with the name of the repository inside your current working directory.
19:41
"Done, you can now type, or add a shortcut pointing to, /opt/trelby/bin/trelby to start Trelby"
This is a shortcut I presume.
@DavidFoerster how do I point a shortcut to that path?
Steam summer sale has begun!
@Seth Portal is $1.09 and Portal 2 is $2.19.
@katyasehgal First check if it works. Can you run this:
Get 'em while they're cheap.
./trelby
@katyasehgal I'll look up the Q&A for that in a moment. But first I suggest you try to run the application using the stated command. :-)
19:44
@terdon you mean type this in the terminal? ./trelby

bash: ./trelby: No such file or directory
sudo ln -s /usr/bin/trelby /opt/trelby/bin/trelby to add it to PATH.
plus you can make a .desktop if you're so inclined
@KazWolfe will follow up as soon as the above step is solved
42
Q: Creating a .desktop file for a new application

cooldood3490I just installed the lastest version of UGENE. I works fine but in order to use it, I have to enter the following in the terminal: cd ugene-1.11.5/ then execute ./ugene -ui to launch UGENE GUI. This takes too long. I would like to build a .desktop file for UGENE to be used in Ubuntu 12.04 so th...

Meh, Steam's website is overloaded.
sale is soon
19:46
Sale is now. I have the HTTP 504 errors to prove it.
@KazWolfe Woah, no! What makes you think there's a /usr/bin/trelby?
@terdon did I type correct? bash: ./trelby
@terdon did i get the other way around?
sorry... ./trelby
oh, i did.
damnit
19:47
@katyasehgal Yes, that's what I mean. And this would all have been so much simpler if you hadn't ignored me and had asked a question on the site where you could have shown what you did and where you did it.
sigh
??????
@terdon Ignored you? where?
@KazWolfe Katya has just built from source and we're trying to find where the generated executable is.
So it won't be in either /urs or /opt. I deleted your message so as not to confuse Katya more.
ah. nevermind then
19:48
@katyasehgal: The application is at /opt/trelby/bin/trelby according to the installer output. That's also what the installation manual says is the default.
@KazWolfe Oh man. Sorry! Turns out you were absolutely right and I had my head up my donkey. Apologies.
meh, just because the installer says that doesn't mean it's necessarily there
@DavidFoerster I should have installed step 3 there then?
@KazWolfe Nah, I thought it was just built in the current dir, I had managed to completely miss the fact that there was an installer in the first place.
@katyasehgal What happens if you open a terminal and run this:
/opt/trelby/bin/trelby
@katyasehgal I'm not sure what you mean. It appears you ran the command outlined in step 3. The application is installed but apparently you can't seem to find where. :-)
19:52
Wow, the Steam client itself can't even connect to the network.
@DavidFoerster there is another Trelby in my 'main' directory. Tat's where I typed the step3 command
@terdon Traceback (most recent call last):
File "/opt/trelby/bin/trelby", line 8, in <module>
import trelby
File "/opt/trelby//src/trelby.py", line 5, in <module>
import cfgdlg
File "/opt/trelby//src/cfgdlg.py", line 1, in <module>
import config
File "/opt/trelby//src/config.py", line 8, in <module>
import screenplay
File "/opt/trelby//src/screenplay.py", line 46, in <module>
from lxml import etree
ImportError: No module named lxml
@katyasehgal Oh, you can run that but that's the source code. (You can often run Python programs straight from source.) It would be better/cleaner to run the installed program at /opt/trelby/bin/trelby though.
@DavidFoerster should I have done step 3 in /opt/trelby/bin/trelby
?
@DavidFoerster Sounds like that's where they are, but they need the lxml python package.
@katyasehgal I suspected that would happen but the installation manual is a bit… sparse and outdated. I'll get to it and edit the question again.
19:55
@terdon @DavidFoerster to be clear... should I have done
sudo python setup.py install

in

/opt/trelby/bin/trelby ?
@katyasehgal No, you misunderstood. /opt/trelby/bin/trelby is the executable file that (supposedly) starts the application.
I did it in a directory under Home where I found the Trelby Folder.
@DavidFoerster ok.
However it's missing a Python module. You need to install the package python-lxml. See also my update to askubuntu.com/a/925407/175814.
Just curious, but with what argument(s) is this post reopened? askubuntu.com/questions/927750/…
@DavidFoerster I'll repeat step one then? Do I have to repeat 2 & 3 as well?
19:59
@JacobVlijm Why was it closed?
I understand I'll get lxml from step 1
@JacobVlijm I'm not sure. I voted to keep it closed. I think the rationale was that OP would have liked more features than the linked question offered.
Ah, dupe
@katyasehgal No, just step 1.
Anything to delete first @DavidFoerster ?
The previous pythons perhaps? Just asking for cleanliness.
20:00
Well, according to the review history, the OP added a whole paragraph to explain why the dupe wasn't working for them. @JacobVlijm
@katyasehgal No, don't remove anything. Just run the new command to install the packages. Package installation is idempotent (meaning that doing it more than once is the same as doing it once).
@DavidFoerster good to learn that.
Yeah, the dupe is providing an action that can do it, the OP wants to change a setting and have it done automatically. They're not looking for a hotkey.
@terdon the dupe offers a whole series of options, some of them pretty made ch do exactly what he is asking for, but he is not reporting any attempt to make it work, nor why it doesn't
...work for him.
@JacobVlijm Every option I see there requires an action from the OP.
20:03
@DavidFoerster @terdon am I dreaming or did Trelby just open? Hopefully it will work well? Do I need to do any other step?
The OP wants that if an application has focus, then all of its windows should be raised. Not by clicking on something, not by using a shortcut, not by running a script. Always.
@JacobVlijm
@katyasehgal Yay!
@katyasehgal Nope. That should be it. If you want a more convenient and pretty application launcher you can use terdon's link: askubuntu.com/questions/281293/…
github.com/oskusalerma/trelby/tree/master/resources contains neat launcher icons. :-)
@terdon ah, I get it. Thanks. That would require the background script. Unfortunately no time for it atm :)
Yeah, or some sort of daemon or something.
Weird thing to ask for, really. But hey/
Yeah :)
20:07
@DavidFoerster as I understand, this is a shortcut you can click to open Trelby instead of /opt/trelby/bin/trelby
@DavidFoerster I think this will be a big learning curve. Will try later.
Can you have a look at this? Found it on the Trelby folder:

If you prefer to install Trelby e.g. to /usr/local, run

sudo python setup.py install --prefix=/usr/local \
--install-lib=/usr/local/share/trelby \
--install-data=/usr/local/share

You can then run it by invoking "/usr/local/bin/trelby", or just by "trelby",
if the installation path you chose has a "bin/" subdirectory that is part of
your system's path (as is /usr/local/bin).
Is this advisable? Or will it break things?
@katyasehgal I saw that. It's the installation manual. It explains how to install Trelby into a different directory than the default. I don't think it will be much of a difference to you either way.
okay @DavidFoerster
good night and thanks @DavidFoerster and @terdon .
 
2 hours later…
22:25
Oooh. Scaleway announced servers with faster ARM CPUs.
Must quickly switch.
The ARM builders in my farm always hold everything up.
22:46
Heh - I couldn't figure out why the Docker package wouldn't install on my armhf server and then I remembered that it wasn't an armhf server, it was arm64.
# dockerd
-bash: /usr/bin/dockerd: cannot execute binary file: Exec format error
Wat.
>_>
ohhh this new monitor is great
23:06
Argh.
0
Q: How to run armhf executables on an arm64 system?

Nathan OsmanI have Ubuntu 16.04.2 LTS installed on an arm64 server: # uname -a Linux test 4.9.23-std-1 #1 SMP Mon Apr 24 13:18:14 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux I ran the following command to enable armhf package installation: # dpkg --add-architecture armhf I then installed the traceroute ...

23:19
We now have an tag and excerpt. (Can someone please approve it? I'm still not at 20K yet.)
@NathanOsman The excerpt is supposed to contain usage guidance
Always?
Okay, I can fix it.
Oh no I can't.
Hmm...
Yeah, the excerpt is for usage information, the wiki for what the tag is about
0
Q: Compare and delete larger video files in 2 directories

JoshI have been converting all of my home videos to HEVC and sometimes the files end up smaller and sometimes they don't. I am currently comparing all the video files manually and it takes forever. I was wondering if there is a script that can check the 2 folders and delete the larger of the 2 files ...

23:25
@NathanOsman Wait you can do that?
You can't?
I always thought arm64 CPUs could execute armhf executables.
But I mean, isn't the instruction set different and a bunch of other stuff?
Yes, but isn't it similar to x86/amd64?
The CPU is capable of executing both instruction sets.
Really? Well, I'll take your word for it I guess
Hold on a sec though...
Well, I'm not 100% sure.
That's why I asked :D
23:27
Doesn't that mean that you could run Android apps natively?
Well, Android apps are written in Java and compile to DEX.
Android itself (from Lollipop on) can run on arm64.
Yes, but you could essentially run the ARM version of Android in a VM with no overhead
And I have an x86 Jelly bean emu, so I think it's run on x86 for quite a while
In theory yes.
If I understand everything correctly.
Well, I upgoated :)
23:30
But then what about this:
"Yes, ARM native code runs on Intel x86 using an emulation feature named Houdini
What this library does is reads ARM instructions on the fly and converts them to equivalent x86 instructions. This is the reason why many apps may work as is on x86 without actually having to build an equivalent library."
That's just an emulator.
Yeah but why would you need an EMU if the CPU supports ARM instructions?
It does?
At the transistor level or the microcode level?
@NathanOsman facepalm Ooops - I read amd64 instead of arm64
hides in a dark corner
whimpers
:P
It's okay, the letters are so similar.
23:35
I was genuinely confused there for a second. I was trying to wrap my head around how an x86 CPU could run ARM code :D
Me too :P
Hahaha :)
So the question is, will Zach break all my bug fixes when he rewrites the fragments again......
00:00 - 19:0019:00 - 00:00

« first day (2458 days earlier)      last day (2803 days later) »