« first day (3255 days earlier)      last day (1716 days later) » 

12:41 AM
@EliahKagan Yes. Anyway after reading how SystemD prefers sh my new years resolution (assuming I'm comfortable with bash) is to learn sh and how the "professional developers" utilize it.
 
@WinEunuuchs2Unix sh was the primodial shell BASH was ... bourne again
 
@JourneymanGeek Yeah I know I'm saying something like "After I learn C I wanna learn Assembler" :P
 
but if you call sh, wouldn't you get bash anyway?
 
I think I've gotten lazy and bloated coding everything in bash. I think it's time to learn old school sh and get lean mean and green (less electricity consumption? :P)
bash is 6.73 times larger than sh
1,037,528 bytes vs 150,472 bytes
bash is great for slow user speed of seconds but I think I'll try to start rewriting my bash daemons (where a microsecond is a long time) in sh next year
 
 
1 hour later…
1:59 AM
0
Q: Bluetooth headphone unable to connect to windows after returning from Ubuntu

user368987I'm using a dual boot of windows and ubuntu. I've been using a pair of headphones when i was using windows. Then, i rebooted to ubuntu, successfully connected the bluetooth headphone while in ubuntu. Now when i returned from ubuntu to windows, i still see the headphone shown as paired, but when...

 
 
2 hours later…
3:57 AM
@terdon I meant to write “syntax highlighting” – there was none when I viewed the post, so I automatically edited the post only to wonder afterwards why I didn’t already see any highlighting before – should have been implicitly added because of [bash], but I swear it did not for me…
 
 
4 hours later…
8:10 AM
@dessert Really? That's strange. And also explains you edit :) Thanks.
 
8:25 AM
@JourneymanGeek No. On Ubuntu, you get dash, not bash. And even on systems where /bin/sh is a symlink to /bin/bash, when bash is called as "sh" it runs in POSIX mode, so almost (but not quite) indistinguishable from sh.
 
0
Q: Web server in ubuntu

Lisa WilliamsonI am new to linux server development. I want to create a webserver for our college so that it can be accessed by everyone over internet in our android app. Anyone please answer whether i can access data in our server remotely on internet through android app. Please explain in ubuntu os.

 
9:29 AM
@terdon same thing. only difference is the reversed c with the d and b :=)
 
9:50 AM
Weeeel, not quite ;)
 
:D
B:
 
10:11 AM
@terdon & @EliahKagan, I'm back after yesterday's fiasco! It's quite clear that I created a lot of confusion and mess with this question. In the meantime, I think I've figured out what I want and how to do it. I ask your advice about what to do with the existing question. Should I delete it? But Eliah has posted an answer.
 
@DKBose You need cp "$latest" not cp $(latest).
$(latest) will try to run "latest" as a command.
That said, I really don't know if what you want is possible. You can never be sure that the last file modified in your $HOME is the last file you modified. If you could limit this to only specific directories, like ~/Documents for example, where you can be sure no automatic process would write to, then yes.
But trying to build a list of exclude directories under $HOME will most likely fail.
 
@terdon, that's exactly it. I took your advice of yesterday and have now gone the route of specifying the files I'm interested in using -name "*ods" -o -name "*txt" -o -name "*html" etc.
I've got it working for various text editors (gedit, mousepad, kate, featherpad, leafpad, geany) and with LibreOffice. And I have used xdotool.
 
Ah, nice!
In that case, I would just post your solution as an answer.
Tweak the question, if necessary and if possible without invalidating @EliahKagan's answer. But if that isn't possible, we can always apologize to Eliah and ask him to delete the answer if it's no longer applicable.
I think now that it's solved it's a useful Q&A to have around.
 
@terdon okay but I hope @Eliah won't mind. I want to modify at least the question's title.
 
The other option is to roll this one back to the version @EliahKagan answered, and then post a new question and put your answer there.
That's what I would normally suggest. I only mention the other approach because both you and Eliah are active in chat and can sort it out. And because I know Eliah won't be devastated if he loses 20 rep points ;)
But yes, please see what Eliah prefers.
 
10:24 AM
@terdon re. the question Eliah answered, is it okay if he edits the question to suit his answer (if it's not something that's been asked before)? I don't mind at all. I'll go ahead and post a new Q&A.
 
@DKBose In that case, I'd just roll the question back to the version Eliah answered.
 
@terdon I'll feel happier if Eliah does what he feels like. I really messed up there!
 
Pfft, you were confused, happens to the best of us!
 
10:52 AM
wow I go sleeping to warm here.
 
 
2 hours later…
12:54 PM
@DKBose No worries!
 
@EliahKagan so will you please decide on what has to be done? If it needs any action from me please let me know. Thanks!
 
I was sort of going to say the same thing to you actually. :)
I really have no preference for what should be done here. If my answer ultimately fits the question it can stay, otherwise it can go. Indeed, the -20 would not be a big deal, plus there might be somewhere else (now or in the future) where an answer based from that could go.
If you end up strongly preferring not to decide alone, then I can think more about it later and maybe develop a preference. I'm really quite fine with either outcome though.
 
 
1 hour later…
1:57 PM
@EliahKagan, I "rollbacked" the question close to what the original was. That makes your answer appropriate, IMO.
 
2:19 PM
@DKBose Okay.
 
 
1 hour later…
3:46 PM
0
Q: Is it possible to expand the partition created on Ubuntu trial (live USB) flash drive?

raddevusYesterday I created a Live USB Ubuntu boot flash drive (16GB) and booted up with no problems. It runs great on my i7, 8GB laptop. Android Studio Test I'm attempting to test running Android Studio and Android Emulator from Ubuntu on my 8GB RAM laptop so I downloaded and attempted to install it....

 
 
2 hours later…
6:07 PM
I would like to have your personal opinion regarding the on-topicness of some (actually most) 16.04 flavours that officially reached EOL in April 2019. If you look at help.ubuntu.com/community/EOL#Ubuntu_16.04_Xenial_Xerus (see below), what do you think we as a community should do with questions about these EOL flavours?
 
Ill answer what I can up to 2021-04. Regardless of flavor. Only when an upgrade is in play Ill toss in the "end of life so reinstall/upgrade to 18.04".
 
6:32 PM
On the one hand the difference between vanilla Ubuntu and a flavour like Lubuntu is merely DE and standard software choice, on the other hand e.g. Kubuntu has a lot of packages that are not part of vanilla Ubuntu – but available in the official repos of course. Anybody can make Ubuntu to Kubuntu, it’s still just software choice.
 
@dessert I like to KISS: Keep it Simply Stupid...
In this case: Simply follow Canonical's main version instead of each individual flavour.
We get enough FLAK already for closing as off-topic for EOL vanilla Ubuntu versions that I would call all that red above very light grey
;-) >:-)
 

« first day (3255 days earlier)      last day (1716 days later) »