« first day (2048 days earlier)      last day (3212 days later) » 

00:00
/lib/systemd/system, I believe.
There should be a bunch of other .service files there.
You'll need root to put something there, BTW.
Oh, actually, you will probably also want to remove the User= and Group= lines from the service file too.
Those are for the Ubuntu packaging.
Unless you want to go through the fuss of setting up a user and group for Hectane...
0
Q: ubuntu server 16.04: cannot get supervisor started automatically

qinking126I installed supervisor on ubuntu server 16.04. $ sudo apt-get install supervisor $ sudo update-rc.d supervisor defaults After reboot it, supervisor didnt get started automatically. Checked the status. qinking126@nas:~$ sudo service supervisor status [sudo] password for qinking126: ● supervi...

@NathanOsman Is the from field required?
In the PUT request
PUT?
Are you using /v1/send?
It's a POST request.
/v1/send
Sorry, that's what I meant
:)
Let me check...
Yes, it's required.
It is used to identify the sender when connecting to SMTP servers.
You can just use a fake address though.
[email protected] or something.
00:10
Okay
Also, you'll need to enable the service in systemd...
sudo systemctl daemon-reload
sudo systemctl enable hectane.service
sudo systemctl start hectane.service
^--- enables and starts it
sudo systemctl status hectane.service
^--- tells you if it's running
If you used the configuration I gave you earlier, you can view the logs at /var/log/hectane/hectane.log.
Hrm, I'm get a 405, method not allowed?
Oh wait
For which method (and which route)?
It was the POST /v1/send, but I was trying to do it locally when hectane is running on my server :P
:)
Just remember that the default config is listening locally only.
You'll need to change "127.0.0.1:8025" to "0.0.0.0:8025" if you want to send requests from another machine.
00:19
Worst part about github is writing the commit statements >.<
Out of curiosity... which programming language are you using to send the requests?
JS
jQuery's AJAX to be exact
Oh right, I remember you telling me.
:)
Hrm...getting a 404 not found for the POST request :/
Port 8025?
00:22
Ooooh, right
Oh, looks like it's not allowed to do a cross-port AJAX request
I could only do JSONP, which is a GET
I was afraid that would happen.
Don't panic.
I can add CORS headers to Hectane to allow those requests.
I'll see if I can do that later this evening.
Cool, thanks :)
You'll need to use the bleeding-edge version but you're probably already doing that :D
00:25
Yeah, I pulled from GitHub via go get sooo
Yup, that's bleeding-edge, alright :)
@NathanOsman shall i recomment deletion on that one ? i mean its an aswer at all
im reviwing low qual post actually
@Videonauth Which one?
-9
A: How do I stop the constant requests for a password?

binilThe following method is highly NOT RECOMMENDED since this will make your system the most vulnerable machine on the planet (esp if your on internet). Better to have a sticky note on your monitor. But these steps would help you never to enter password even for installing any software. Press Ct...

00:30
@RPiAwesomeness Wait. That's you on Twitter?
Yeah, I made it for communicating with dev people I work with
Ah. I had no idea.
You have a new follower now :)
@Videonauth I would leave it.
00:41
@RPiAwesomeness fixed.
Go to the source directory and do "git pull" to grab the new changes.
Then "go get ..." to rebuild the binary.
Finally, add this to the "api" section of the config:
"cors-origin": "*"
Restart with:
sudo systemctl restart hectane.service
...and profit! \o/
@NathanOsman I'm not seeing any change :/
How should I make the POST?
It should work the same way.
Did you pull the changes and rebuild the binary?
I tested it with a POST request on my end and it worked.
Also don't forget to restart the daemon.
I ran go get github.com/hectane/hectane & restarted the daemon
You need to "git pull".
I never used git
Just directly installed via go get
00:53
Go uses it internally.
You'll need to do that in $GOPATH/src/github.com/hectane/hectane.
Alternatively, I think "go get" has an update option.
The issue is that I can't make a cross-origin AJAX request
And JSONP only does GET
I know.
I just fixed it so that it can make a cross-origin request.
No, the JS can't make a cross-origin request
It can if the server provides the right header.
Do I need to change my JS?
function sendMsg() {
    $.ajax({
        url: '/v1/send',
        type: 'POST',
        data: {
            from: $('#contact-email').val(),
            to: '[email protected]',
            subject: '33rd Virginia Website Contact - ' + $('#contact-name').val(),
            text: $('#contact-msg').val()
        }
    })
    .done(function(request) {
        console.log(request);
    });
}
01:01
Nope.
That's giving me the 404
The change is server-side.
Is that going to the right port?
You can't change the port in a jQuery AJAX request :(
That's the issue
You can.
url: "http://whatever.com:8025/v1/send"
And as long as Hectane has the cors-origin option I just added set to "*", it will work.
How do i get the number of bytes per cylinder in fdisk
01:16
There's a Kiwi in the room
Haven't seen you here in a while @Neil
@NathanOsman I'm getting a connection timed out & nothing in the hectane logs :(
What does "sudo systemctl status hectane.service" report?
Anything?
# systemctl status hectane
* hectane.service - Lightweight SMTP Client
   Loaded: loaded (/usr/lib/systemd/system/hectane.service; enabled; vendor pres
   Active: active (running) since Sun 2016-05-08 00:45:58 UTC; 32min ago
 Main PID: 5426 (hectane)
    Tasks: 7 (limit: 512)
   CGroup: /system.slice/hectane.service
           `-5426 /home/alarm/go/bin/hectane -config /home/alarm/33rdSite/config

May 08 00:45:58 alarmpi systemd[1]: Started Lightweight SMTP Client.
Can I see what's in /home/alarm/33rdSite/config?
@Neil fdisk -l -u=cylinders
01:19
{
    "api": {
        "bind": "0.0.0.0:8025",
	"cors-origin": "*"
    },
    "log": {
        "logfile": "/home/alarm/33rdSite/hectane.log"
    },
    "queue": {
        "directory": "/home/alarm/hectane"
    }
}
@Videonauth Thanks i thought i was missing something.
Hmm... should work. Does "curl localhost:8025/v1/version" work on the Pi?
Yup
{"version":"0.3.0"}
Does it work from another machine?
(Substituting "localhost" with the correct IP address for the Pi.)
@neil yep the default is displaying sectors
01:21
Also, it should be reporting 0.3.1, not 0.3.0. You need to run:
go get -u github.com/hectane/hectane
(I looked up the parameter that updates and rebuilds the binary. It's "-u".)
That will (at least) make the cross-origin issue go away.
@NathanOsman No luck so far
Oh wait
I'm probably blocking that port
Yup
That looks like it was it
ufw allow-ed it and instantly curl completed
\o/ Getting error messages :D
Well, that's an improvement, at least.
@Videonauth i wish this how to told me that i been imaging it wrong this whole time. dam thing needs to be updated. etherboot.org/wiki/sanboot/transfer
I really should create a PKG_INFO for Arch...
@NathanOsman Object {error: "invalid character 'r' in literal false (expecting 'a')"}
01:29
Well, for one thing, To needs to be a list:
Not:
@NathanOsman Changed it to a list, no change :/
Where are you seeing that error?
Also, thanks YouTube for giving us comments like this:
lol
@NathanOsman that's the response from hectane
Ah.
I know what you're missing.
data: JSON.stringify({...})
Hectane is expecting JSON data.
Well, it's not returning an error, but it's not sending it either :/
01:42
The request is completing though?
The log should have something in it now, if the request is completing.
time="2016-05-08T01:40:33Z" level=info msg="message received in queue" context=gmail.com
It's just not sending
Does your ISP block port 25?
Quite a few of them do.
It shouldn't, how would I tell?
telnet gmail-smtp-in.l.google.com 25
If that hangs, then they are blocking it.
Looks like it
Ugh...Comcrap Y U DO DIS
01:47
It's fairly common.
I bugged the frack out my unity launcher , woohoo ! ^_^
wanna know how ?
"FIREFOX AND TERMINAL ALL THE THINGS."
These are my running apps
01:48
@Serg I'm not so sure....
while true ; do qdbus org.ayatana.bamf /org/ayatana/bamf/control org.ayatana.bamf.control.Quit ; sleep 0.25 ; done
Apparently after ayatana quits, it respawns and inserts the running .desktop files
problem is that it probably didnt have enough time to figure out theres dupes
@RPiAwesomeness do you have a server outside your network anywhere?
Oi , say it as the proper british mates
01:50
@NathanOsman I do actually
speaking of british . . .
@RPiAwesomeness Then you could set up a VPN or SSH tunnel.
Or... just run Hectane on that server ;)
How much RAM does it use? I've only got 512MB
01:52
It's extremely minimal. It's using 4 MB on my machine.
@Serg did you see my latest monster answer ? :D
@Videonauth no, link please :)
0
A: How to Make Persistent Live Ubuntu of 16.04?

VideonauthTo make yourself a complete normal Ubuntu installation on an USB or an external HDD you can follow the procedure I describe here. You want to start by doing some preparatory installations, you need gksudo which is in the package gksu, schroot and debootstrap. Those packes are not installed by de...

this is the result of what i was on with masi the wole day long
When drives are mounted in the Live Environment, what's the path?
Is it /media/ubuntu?
@Zacharee1 use lsblk and find out
i am pretty sure that's /media
01:58
@Serg I'm not in a LiveCD
I'm writing an answer
@Zacharee1 yep its /media/username and user in this case is ubuntu
@Zacharee1 you can tell OP to use udisksctl mount -b /dev/sdb1
if automounted if mounted by hand they can be everywhere
it will tell you where it mounts
and no root necessary with udisksctl
that's what i use
actually . . . . let me turn that into a function
02:00
@Serg too late for that :p
@Zacharee1 it's never too late for a good function to be added to .bashrc
Anybody knows how to use screen ?
If I have /home on a separate drive and reinstall, but I use the same username, will it overwrite the existing directory or merge it?
no clue tbh
Em . . . I am no expert, but in all the newer live USB images there's no option to reinstall
02:04
as long as you do not reformat /home, it will merge
OK. I'll leave the copying in to be safe
@chaskes even the user folder?
That's good
I suspect you will need to reset /etc/fstab and tell it to mount home again
use something else
I've done this before, but... not since 12.04
02:05
oh
Well I'm going to keep the rename in then
If someone says it isn't necessary, I'll take it out
which question?
@Zacharee1 if you say pls because it is shorter than please, i say no because it is shorter than yes :p
@Videonauth i say pls bcuz its fun
i can tok liek dis
in spodermen
@Zacharee1 use the something else option when formatting / but not /home
@chaskes yeah. I detailed to format the / partition before the installer
02:08
takes a lot more explaining to OP's though
with Gparted
ok, I don't know what you're doing. which question?
@chaskes That ^
They want to keep their data, but they don't have a backup drive and they want a fresh reinstall
byobu F4 shortcut doesn't work for some odd reason
So I'm giving instructions on how to set up a /home partition and then reinstall
Grr. I keep getting upvotes on my questions, but never any answers or comments: hardwarerecs.stackexchange.com/questions/2669/…
02:12
umm, do the same to /home makes it sound like he should format it @Zacharee1
works in tty , so something must be wrong in unity
@chaskes the format isn't a default option, but I'll put a warning
ok, I see what you mean, but it needs to be stressed
O_o found it . . .for whatever reason i bound F4 to F11 some time ago
@chaskes edited
@Serg lol
02:14
OOOOOO, that was for an answer. Some guy's F11 key wasn't working , i remember
I don't always stick to the plan, but that's why I make a 2nd install for AU experimenting.
@chaskes hmm....
interesting idea
I've changed settings and forgotten waaaayyy too many times before
lol
aww, no upvotes?
(I'm kidding!! [Jacob])
especially when you're trying to duplicate an error (which is something I wish more people would do before answering)
02:19
@chaskes I just wish I had the space for that.
TADA ! Here's the function
DIR:/xieerqi|20:18|skolodya@ubuntu:
$ toggleblk /dev/sdc1
Unmounted /dev/sdc1.

DIR:/xieerqi|20:18|skolodya@ubuntu:
$ toggleblk /dev/sdc1
Mounted /dev/sdc1 at /media/xieerqi/XINDE.
Edit it in if you want
Or make a supplement answer
toggleblk()
{
  # Mount if not mounted; unmount if mounted
  if grep -q "$1" /proc/mounts ; then
     udisksctl unmount -b $1
  else
     udisksctl mount -b "$1"
  fi
}
hi world
python -c 'print("Hello SQL squirrel")'
02:22
figlet "HIYA SERG" | lolcat
I see what you did there :p
@Serg cout << "USE C++ YOU PLEB";
:p
using computer
using keyboard
using google-chrome
02:23
@Zacharee1 System.out.println(" Who cares what language to use ? As long as it does the job ");
@Serg Serial.println("I guess");
@Serg some scripting for you askubuntu.com/questions/769158/…
10 rep until 6k
@ParanoidPanda I am definitely getting to 10k
sooner or later
It gon' happen
@Zacharee1 did i make it happen ?
What's the GUI for git ? I know there's one
If you join 10k Stack-exchange communities it'll say you have 10k rep on ubuntu chat :D
no it won't :p
The default rep isn't counted
@Serg wat
@Zacharee1 Actually it is....
02:31
Never for me
I've joined other communities and my chat rep hasn't gone up unless I make rep on those communities
6010 rep
@Zacharee1 you said youre 10 rep from 6k, so i threw you a bone
@Serg good thing Jacob isn't here...
@Zacharee1 oh, shush, Jacob is on my upvote list
He was pretty overly-aggressive to me
He probably gets more votes from me than i from him
02:35
sigh
To be fair, he does a good job with his python skills. I just don't like that he overuses xdotool and wmctrl while there are builtin tools for half the things
I use LTS
No, LTE
:p
Ah, well that's not in my department
02:36
huehuehue
Maybe you can make an autocorrect script for the people who say Ubantu, Ubonto and all that ;p
Along with LTE>>LTS
I think that's a job for @NathanOsman to make a bot ^
@Zacharee1 by the way, do you want to form a collab aliance ? sorta
LTE is hardware enablement stack, isn't it?
@Serg for hwat?
@Zacharee1 if you see scripting questions, can you ping those to me plz ? I can ping you watever questions that you prefer
@chaskes 4G LTE
Long-Term Evolution
02:40
Old questions are OK for me too, especially something for Ubuntu desktop
@Serg I guess :p
My questions are... idk
well, what's the tags that you usually answer ? You profile should have info on that
but look at his question. He means LTSEnablement or HWE. I think he just shortened the former
@Serg I shall
@chaskes I doubt it. I've seen it before
top tag is boot, but that's because of my GRUB answer
boot dual-boot 14.04 partitioning 16.04 nvidia
I'm pretty generic :pp
@Zacharee1 Once he was on 14.04.2 his kernel jumped to the wiley stack and he wants to know what the benefit is
02:44
oh
yeah
But I still think it's supposed to be LTS
probably. main point is, it's a poorly worded question
02:59
Can someone do the explanation? Trying to sleep askubuntu.com/posts/comments/1149037?noredirect=1
he is not going to try to compile a kernel himself, is he ?
thats what i read from this comment ^
I think so
I think he needs to be told how to install kernels using apt-get
@Zacharee1 already did that
@Serg thx
Your code got messed up though
Corrected. Thx
03:09
@serg can you post me that link again with the script answers for sources ?
Wohoo!
I just realized I have a Windows 10 Pro license.
That means I can use the Group Policy editor to disable automatic updates.
or you use ubuntu to disable that spyware crap completely :p
god i love when people edit their questions so answers are no longer valid and now he begins to complain to me that my answer is not what he wanted
03:26
@Videonauth sure, in a minute. Working on an answer
np i saw you posted that link already thee as well
18
Q: Add and remove update channels in an easy terminal way

A.B.I know there is a GUI in Ubuntu Software & Updates to enable the update channels updates proposed backports security as shown in this screenshot: I am looking for an easy way to do this from within a terminal using commands such as sudo apt-add-update enable updates sudo apt-add-update ...

@Videonauth here you go, by the way, did you know that if you click on the "star" icon bellow upvote and downvote question arrows , you can save those questions to the list of your favorites
i use that all the time to bookmark questions and answer them later
yes i do know that
i use it for bookmarking Q&As i find usefull and interesting :)
especially look at the edit history and edit time of his question ....
must have been shortly after i answered and now 12 hours later hes being inquisitive about that my answer isnt a solution to him
03:51
What he wants can be simply done with one sed line
And he hasn't responded to my comments,too
This type of user is picky. Probably it's better to stay away from them, as they will pick a solution they like, not the correct solution
well im not sure if a sed line will cut it he wants it to be portable to whatever version the end user is running , but he didnt include that in his question unless i answered
Also , VTC this askubuntu.com/q/768980/295286 Dupe already linked
i for sure wont reply anymore on this
@Videonauth it is portable. Default structure of the sources.list file is the same. The deb-src lines are commented out by default
any version of ubuntu adheres to the same rules
he wants it to fit on whatever changes the end user has made to his list :D
well no need to beginn my day upset :) im now having a coffee and bread with strawberry jelly
03:57
Well , the answer i linked does that. All the scripts that posted there have been worked on for days. Soo they cover a lot of cases and uses
but a short script with sed and some if statements can also work , even awk
VTC : Possible dupe of No Unity , no launcher appears : askubuntu.com/q/768907/295286
04:27
:g/^function/ s/$/()/
:s/^function//
That's how you convert function definition form function foobar to foobar()
In VIM of course
Super speady editing. Bet nano can't do that :p
04:41
well i dont know
im being tired right now
guess i should drink more coffee, it makes me sleepy
@Videonauth Be careful this is a WARNING about too much coffee!
i know
@Videonauth How many PLs do you know?
@Videonauth programming languages
04:49
look at my profile
I was looking that's why I asked the question.
im sure i even forgot to mention some :) but mainly im working in c++ right now
in fact if you once have gotten the grasp of control structures learning another programming language gets easy
the structures are almost the same just a different syntax
I just bought a reserved EC2 instance.
...for Windows.
Ducks.
did he say jehova ? :p
How can someone learn so much programming languages This is so so so AMAZING I am so VERY jealous also but 10+ programming languages and all I know is PYTHON . :(
05:04
Experience, I'm afraid, is the only way.
As @Videonauth was saying, most languages share concepts, even though the syntax is different.
Although learning syntax is often very easy - mastering a language involves far more than syntax.
indeed and to add to it i had now 37 years to learn so many languages :)
Experience will give you two things - the ability to think through complex problems and the ability to know which tool is best suited for the task.
The mods are always right!
I think.
05:31
I think i figured out how compiz shows desktop and hides windows

« first day (2048 days earlier)      last day (3212 days later) »