« first day (2316 days earlier)      last day (2641 days later) » 

5:02 PM
In Dutch: gozer = guy in slang (I was born in Amsterdam)
 
0
Q: How to remove account from ask ubuntu?

ArseniiThe http://askubuntu.com/help/deleting-account shows wrong information. I am looking for a real way to remove my account from this site.

 
Heh, in Spanish it's slang for enjoy.
 
5:18 PM
anyone here have any experience with xrandr being dumb?
User calling out another user in a post, askubuntu.com/questions/872877/… (cc @terdon) // flag was for rev 4 specifically
@Seth, if you're here --^
 
Boo
 
5:34 PM
AAAAAAAAH
 
@JacobVlijm me too. AMC.
 
You scared yourself
Feeling better?
 
No born inadan
Geez
 
Que?
 
Amsterdam
Stupid phone
 
5:35 PM
Really??
where?
 
AMC
 
if anyone wants to help with graphics -- askubuntu.com/questions/878376/…, ty <3
 
I guess you didn't live in AMC?
 
Osdorp till 1978
 
Ah, Bos en Lommer straat
 
5:36 PM
I met a woman online I probably
Went to kindergarten with
 
^ not sure how to read that line :)
Ah, now I understand
 
Lol
 
Recently?
 
We where talking about masterchef and ended up talking about and osdorp.
 
The world is much smaller we assume..
 
5:40 PM
Where we realised: same age, and in the 70s we lived near each other probably 2 streets apart
Oh I am a forum.fok.nl user ;)
Lots of chatting goes on there :P
Sigh still no good Q on Sunday
Wtf
 
It says: FOK!forum - Er zijn 609 leden en 893 gasten online.
 
Au not Sunday
I doubt that number :)
Bbl x
Chinese food is ready
 
@Rinzwind being jealous have a nice diner!
 
@Rinzwind Bon apetite ! :)
 
5:52 PM
@Zanna I believe strictly programming
 
voted OT
thanks :)
 
Me too (OT)
...and thanks too :)
 
Added mine ... OT :)
 
...not extremely clear too if I may add. what kind of answer is he expecting?
 
graphics are too hard...
 
5:58 PM
@KazWolfe I will take a look later, but my mind is kind of blurry :)
 
thanks, i'm pretty sure this is optimus, which is making me mad.
optimus is stupid and it should die.
 
:) kill optimus
 
@KazWolfe not necessarily ... I think it has more to do with the 4K display ... because you are using NVIDIA on both (built-in and external) displays ... optimus is nothing more than a service to switch between both graphics solutions (intel and NVIDIA). :)
 
helu ppl
im very bored
because my history "teacher" doesn't really teach
 
awww that sucks :(
 
6:06 PM
what does the teacher do?
 
I still have to make up the exam from November
 
my history teacher and our history curriculum was super dull
 
wait, you can chat while in class?
 
History lessons always have been boring @Zacharee1 ! :D
 
tablet
this teacher just talks about random things
 
6:07 PM
example?
 
Let's make a script that activates a sirene on your tablet
 
I think it's totally deliberate, because if we found out actual important interesting stuff that explains how stuff ended up the way it is, we would rise up and start a revolution
 
it's a US history class and I think we learn more about EU history
or Asian history
because of the random stuff he talks about
@Zanna X-Files theme music plays
 
hey you should be thankful you get some Asian history
 
I'm probably taking world history next year though
 
6:09 PM
a little of that would have been an extremely welcome respite from English Kings, Kings and Queen
 
huehuehue
 
I like studying English Kings and Queens
And Asian too
 
Asian Kings?
 
shrug I figure it's just a distraction
 
Ooops, need to teach almost (no tablet here)
 
6:11 PM
Hi @chaskes ! :) FYI : a temporarily fix for mesa was released today -> bodhi.fedoraproject.org/updates/FEDORA-2017-0d59b99f18 It reverts libglvnd support in order to fix mesa dependency issues until the properly working packages are available ! :)
 
now we're talking about Moby Dick...
 
/home
wantan soup \o/
 
pls
 
speaking of food, time to go meet my friend for dinner \o/
 
@cl-netbox Awesome ;)
 
6:12 PM
grr
 
@Zacharee1 Moby had a small one
 
@Zacharee1 I had an English teacher who just talked about random crap all the time, it drove me nuts
 
@chaskes I installed it this morning ... everything went flawlessly ! :) Good job from the maintainers ... :)
 
I feel for you hahaha
 
blegh
@Rinzwind hue
 
6:15 PM
I had a math teacher that resigned cuz he could not fit through the door
 
@Rinzwind Those kind of teachers are the ones students appreciate most ... giving them a good reason for time off ... :D :D :D
 
he was the most fun dude ever :D
but diabetic and whenever he ate something with sugar he'd blow up
 
good afternoon!
 
good evening
 
@KazWolfe WTF? Poor donatela didn't even touch the body of the Q! If any links were added that made the OP "look like an idiot", the OP has only themselves to blame.
 
6:26 PM
@terdon Hence the Rude/Abusive flag.
Links weren't even edited in the first place, so I have no bloody idea what OP is going on about.
 
oops
As I mentioned in Q: byte count starts with 0, not 1, therefore 8==0 ... — user367890 54 secs ago
I'll just leave this here . . . For your Freudian pleasure
 
6:58 PM
U&L is dead :(
 
@Rinzwind oh ? how so ?
 
We are currently offline for maintenance

Routine maintenance usually takes less than an hour. If this turns into an extended outage, we will tweet updates from @StackStatus or post details on the status blog.
-- and back up :)
 
man, I guess I just accidentally managed to produce my first stack overflow
I was recursively calling a function with a condition that would never stop being true without realizing it
 
AU is down...
 
@IanC that's why recursion is dangerous to use on MCU chips. Very limited memory => very easy to create stack overflow
 
7:04 PM
Errmmm... not anymore... ? That was quick...
 
@Serg I'm starting to become a little afraid to test my code outside a VM considering I need root priviledges to run it, no risk of me screwing up some important memory section with those overflows?
I don't think so because of virtual memory right?
was just a bit afraid because root could have some freedom of accessing other programs memory sections (like gdb for example)
 
hi
I guess our ISP is rolling out Gigabit internet..
I wonder how much that will cost
 
@IanC Well, as long as you're not writing to that memory, I don't see it dangerous. Reading is probably fine
 
@Serg the stack overflowing would be writing I guess, but I think the kernel handles these situations
 
It's okay I am not human, you can ignore me :-P
 
7:12 PM
@TheXed sorry! How are you doing man? :)
 
@IanC well as well as one could expect for a Tuesday at work...
 
@TheXed are you still at work?
 
Yup, 7:30am-3:30pm m-f, on call 24/7
 
what do you work with? Not sure if I asked that before
 
Technology Coordinator for a prek-12th grade school district.
 
7:17 PM
after running sudo ifconfig wlan1 mtu 500 how can I set the MTU back to MTU path discovery value?
 
So I work with just about anything that gets electricity...but mostly computers and network equipment.
But I have been known to plug in toasters, and carry in copier paper...
sweep floors, take out trash...
 
@TheXed well, that's closer to IT than what I work with, I only get to touch a computer when the day is slow and I take my notebook for work to do some code reviews :p
 
I have a question about running mongod on ubuntu. is there an appropriate chat for me to ask it?
 
I am pretty sure I have asked before, but where do you work?
 
@TheXed at the docks, I work mooring ships
 
7:23 PM
Oh yes, that is right...
@IanC so you tie ships to the dock? or something like that?
 
@TheXed yeah
 
hat might be fun for a while, but I would imagine one would have to be in fairly decent condition...
 
@TheXed it depends on the job, some ships have light lines, some have heavier ones, but it's not always much exhausting
 
@IanC I see
 
7:40 PM
@NathanOsman ^
OnePlus says it's going to stop doing it for benchmarks, but not for specific games.
 
oh, but if LG did it, "no, they just enabled a specific unsafe performance mode for the test, which they disabled for the good on the customers once they realized it murdered the battery and made the phone really hot"
 
man, I think I wait too much before I make a commit on git, think I need to get used to using branches so I can commit even when the work isn't complete yet
I just wrote several lines of complicated code without doing a single commit, because I didn't want to commit anything not functional
 
@IanC Yup, a branch is the way to go.
The NitroShare GitHub repo has only about 10-15 commits since July last year.
So it appears that not much is happening there.
But if you look at the list of branches, you'll see over 100 new commits waiting to be merged once things get more stable.
 
@NathanOsman I learned how to use them before, but I didn't put it into practice often, so I usually work straight on the master branch. If I used them I could make several small commits of small code changes I do, then just merge it with the master after I get something solid
I think I better get used to it now, maybe it will improve my productivity :p
 
@KazWolfe you know that I'm objective with phones. If it turns out LG is doing this too, it's to the LG support forums we go.
LG's latest kernel source doesn't compile for the T-Mobile V20
And they missed the first and third versions
 
7:55 PM
i'm pretty sure everyone is doing this.
it's one of those things, like diesel emissions cheats.
 
Did you read the article?
 
I did.
 
It already happened in 2013.
They say HTC, Huawei, etc are fine
 
stupid. css. stop. making. my. life. hard.
 
Take a break and do some PHP
 
7:57 PM
my website is already php.
 
Maybe a little XSS
Throw in some Ajax and Java
While you're at it, give Assembly a go
Ooh, make it work fully with ActiveX
Now that sounds like a fun day
 
ActiveX. Meh. DirectX is where it's at.
Enjoys throwing random jargon around.
 
Lel
Lemme.just fire up IE real quick. See you in.... 10 years
 
Today, I bid farewell to one of my beloved servers.
 
Windows Server 2008
 
8:00 PM
It's been faithfully serving my website for nearly two years.
 
Vista, in admin form
 
Well, Server 2012 R2 is basically Windows 8 in server form.
 
No, R2 is Windows 10
 
Nope.
 
2012 normal is 8
 
8:01 PM
Screenshot incoming.
 
2008 R2 is 7
 
I have an R2 server.
 
What is this?!!! Do I really see V**a being discussed in the Ask Ubuntu General Room?! ;)
 
Yes, we do pretty often for some reasn.
 
Wait wtf, R2 only came out a year later?
And 2016 exists???
Ahhh
R2 is 8.1
 
8:03 PM
Then pressing WinKey:
 
So it's still sort of following the same numbering
 
Read up
 
^-- looks like 8 to me
Lol. I disappear to get a screenshot and you change your story while I'm gone :P
 
Well unlike some people I'm willing to learn
 
8:06 PM
Server 2003 = XP
Server 2008 = Vista
Server 2008 R2 = Win7
Server 2012 = Win 8
Server 2016 = Win 10
I'm surprised they haven't renamed it to "Windows Server" and just that.
 
Why
Is there a Server 2000?
Nope
What'd people do before then
 
yes, there is
Win 2000 was both client/server
 
Windows 2000 was already intended for enterprise deployment.
It wasn't really marketed to consumers.
I mean it was but it wasn't the primary market.
 
That explains why it was such a stable OS
 
Windows XP merged the business and consumer lines.
 
8:09 PM
Brb installing chrome canary
 
A consumer-friendly OS built on the NT kernel 2000 was using.
 
@NathanOsman oh, so ME was consumer?
 
YES. And its stability showed :P
 
Whoa
 
It was probably the most-hated edition until Vista came along.
And having used Vista, I can say Me was worse.
 
8:10 PM
Yup
 
Yes, it really was that bad.
 
On November 10, 1983, Microsoft announced Windows, a graphical user interface (GUI) for MS-DOS and a competitor to the Macintosh operating system. The product line eventually changed from a mere GUI for DOS into a fully complete, modern operating system over two lines of development, each with their own separate codebase. The first versions of Windows (1.0 through to 3.11) were actually just programs run from MS-DOS which then took over the screen and launched an application called Program Manager; later on, Windows 95, though still being based on MS-DOS, was its own operating system, using a 16...
 
I never really understood why ME was so bad
I didn't really use it thoigh
 
stability, and it was the upgrade to 98.
 
RIP canary won't even run
 
8:12 PM
ME, however, cut out something called real-mode DOS, which is basically like Linux's TTYs.
 
Didn't real mode have more to do with the older segmented memory model?
 
real mode was underlying DOS
which a lot of 98 apps used, which caused a lot of annoyances.
real mode gives very low-level access to memory, etc.
 
I thought ME was still based on DOS
 
no multitasking at all.
It was, but they cut out access to real-mode.
 
Yes, that was my point, too. Maybe I didn't understand your comment before.
 
8:16 PM
Real mode, also called real address mode, is an operating mode of all x86-compatible CPUs. Real mode is characterized by a 20-bit segmented memory address space (giving exactly 1 MiB of addressable memory) and unlimited direct software access to all addressable memory, I/O addresses and peripheral hardware. Real mode provides no support for memory protection, multitasking, or code privilege levels. Before the release of the 80286, which introduced protected mode, real mode was the only available mode for x86 CPUs. In the interest of backward compatibility, all x86 CPUs start in real mode when reset...
 
Windows Me was also the first to ship with a generic mass storage driver.
 
which was cool --^
 
Up until that point, you needed separate drivers for every flash drive you plugged in.
Although...... if you knew what you were doing, it was possible to reuse drivers on Win98. I had quite a bit of success with this.
Towards the end, it became more and more useless since everything was being formatted with NTFS.
 
Yeah, yeah. I was around for all of that. Did you mean that by cutting real mode they made it more like tty's?
 
they made it less like TTYs.
I was just using a really generalist example that was on the vague side.
just to sort of like some sort of concept in.
 
8:19 PM
Hey, back in the olden days, we had to type "win" at a DOS prompt to start Windows.
And who can forget autoexec.bat?
We used to have to put our mouse driver in that file.
 
Ok, fair enough, but I was focusing on how you no longer had to worry about segmented memory, that was a huge change. In fact I got into a comment war one time with an OP who insisted that a Win 32 console program would be able to run in Dosbox, but Dosbox only runs the 16 bit segmented model.
 
@chaskes Your friend was wrong.
 
Exactly!
 
Windows applications are in PE format and DOS can't read PE headers.
So it doesn't even matter about the memory.
 
He kept insisting the correct answer was wrong because of that. Ok, that 2nd detail I didn't know.
 
8:22 PM
Scandisk was one of the few dual-mode applications that included both a DOS executable and PE executable in a single file.
So it ran under both DOS and Windows.
 
Ugh
Installed Chrome Dev to get the navbar on the bottom but it breaks chat
 
OP haven't clarified their answer . . . close it as unclear until they do: askubuntu.com/q/878419/295286
 
8:37 PM
@Zacharee1 lol the OP3T scores aren't even that different if they bypass the cheating.
 
Hey guys what's up
i got some interesting question ..
maybe python may help, how can i get the amount of hours between the time now to AM , for example if now 23:30 PM it will give me 8.5
to 8:00 AM ****
 
@Benny so you want the hours between two times
i assume in decimal representations?
and which python version? 2 or 3?
 
no metter man
 
give me a minute
i need to write some code
 
really thank u man
take your time
 
8:49 PM
@Benny how do you want to provide the two times? With AM/PM notation, or 24-hour time like you specified? (12-23 don't need PM, nor does 00-11 need AM)
and is it user-input or are you OK with hardcoding them in variables
 
let me explain
for why i need it
every night when i go to sleep i put ALARM clock so i need to calculate the minutes for this scrpit
at -f /home/bg/Scripts/sc_play_music.sh now +435 minutes
 
if we're doing 24-hour time, something like this at its base
timearray = stdtime.split(":")
return float(timearray[0]) + (float(timearray[1]) / 60)
 
if you want hours and minutes, then this:
from datetime import datetime, timedelta

TIME_FORMAT = "%H:%M"

start_time = "23:30"
end_time = "08:00"

delta_time = datetime.strptime(end_time, TIME_FORMAT) - datetime.strptime(start_time, TIME_FORMAT)

if delta_time.days < 0:
    delta_time = timedelta(days=0, seconds=delta_time.seconds, microseconds=delta_time.microseconds)

print delta_time

# This could do whatever
as an example that just prints the time delta
but it otherwise is accurate
 
the output i get is always 8:30:00
 
yes because you didn't tell me what you want to provide input as
 
8:57 PM
oh
 
if you want to pass it in as two arguments TELL US THIS
 
i see ..
 
we aren't psychic
 
thanks you so much
 
it's hardcoded as start_time, end_time
BUT
from datetime import datetime, timedelta

TIME_FORMAT = "%H:%M"

start_time = "23:30"
end_time = "08:00"

delta_time = datetime.strptime(end_time, TIME_FORMAT) - datetime.strptime(start_time, TIME_FORMAT)

if delta_time.days < 0:
    delta_time = timedelta(days=0, seconds=delta_time.seconds, microseconds=delta_time.microseconds)

print delta_time

delta_minutes = delta_time.seconds / 60.0
delta_hours = delta_minutes / 60.0

print "Time delta in Minutes: %s\nTime delta in Hours: %s" % (delta_minutes, delta_hours)
^ this of course goes further and calculates the actual minutes/hours
8:30:00
Time delta in Minutes: 510.0
Time delta in Hours: 8.5
 
8:58 PM
@Benny just dropping by, but looking for something like askubuntu.com/questions/219095/alarm-clock
 
^ example output using 23:30 and 08:00 overnight as your suggestion of timestamps
 
Alright. About to decommission the server. I hope everything has been removed.
Crosses fingers...
 
@NathanOsman you broke it congrats
 
Broke what?
 
everything
 
8:59 PM
@Thom
thank u so much !!!
 
@Benny you're welcome.
 
u make my year better !!
:D
 
nah you could have just searched StackOverflow
then done basic math after their work to get what I did
 
:)
thanks
 
yep
 
9:02 PM
@JacobVlijm Was there a reason you used sudo vi instead of sudo visudo?
 
I just this code I wrote sucks, and @ThomasWard gave a much better solution, but since I wrote it already:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main(int argc, char **argv){
	if(argc != 3){
		printf("USAGE: ./get_time_diff <hour> <minute>\n\n"
				"\t<hour> must be given in military time notation (0-23)\n");
		return 1;
	}

	int target_hour = atoi(argv[1]);
	int target_minute = atoi(argv[2]);

	if(target_hour > 23 || target_hour < 0){
		printf("Invalid hour!\n");
		return 1;
	}
	if (target_minute > 59 || target_minute < 0){
		printf("Invalid minute!\n");
		return 1;
	}

	time_t current_time = time(NULL);
 
LOL
@IanC they asked for python so I gave them python
but I could get external args.
I'm lazy.
 
@ThomasWard I like torturing myself using C for simple tasks :D
but this code could be much better, I'm using manual calculation of time difference when I could have filled another struct tm with the correct time and minutes and simply subtract the epoch times of each
 
@chaskes actually no, It was quite a while ago, I don't really remember that well :)
 
@Benny FYI
 
9:06 PM
@JacobVlijm No, it should. visudo does basic syntax error checking and won't let you save the file if you made mistakes (that it catches). It has saved me from myself several times. You should always use visudo when editing sudoers
 
@Benny if you want to provide it as command line args, like timedelta.py 23:30 08:00 then this works:
#!/usr/bin/env python

import sys
from datetime import datetime, timedelta

# Check arguments
if len(sys.argv) < 3:
    raise SyntaxError("You need to provide two timestamps in HH:MM format.")
elif len(sys.argv) > 3:
    raise SyntaxError("You cannot provide more than two timestamps.")

TIME_FORMAT = "%H:%M"

start_time = sys.argv[1]
end_time = sys.argv[2]

try:
    delta_time = datetime.strptime(end_time, TIME_FORMAT) - datetime.strptime(start_time, TIME_FORMAT)

    if delta_time.days < 0:
        delta_time = timedelta(days=0, seconds=delta_time.seconds, microseconds=delta_time.microseco
 
my previous message has a typo, I meant "I just realized this code I wrote sucks!"
 
Hi guys
 
sup
 
@JacobVlijm Ohh... you meant no there was no special reason? I think you should edit it. :)
 
9:09 PM
@chaskes ^ will do!
 
Just a quick question !
If I do this :
cat myfile | python mypython.py
Then my file is send on standard input to my python function, right ?
Now what if i type input in the console while doing this, where is it sent ?
 
@Lordofdark If you type input while doing this, it goes nowhere normally
it'd be absorbed into the keystroke buffer, but unless you have handling code for such keypresses it does nothing
case in point if I run sudo apt-get update and type gibberish it ends up on the CLI after command completion but didn't interfere
(same concept)
 
@chaskes thanks for mentioning! edited
 
@ThomasWard Ok thnaks ! Could this keystroke buffer be access from my python function then ?
 
Not sure, never had to handle that, I could find out though.
To 'do something' you'd probably need loops
 
9:13 PM
I have found a few things that only seems to read keystroke on stdin
 
@Lordofdark I don't think so, if you want to send the file through stdin and then send whatever key is pressed after it to your script you might need some other program than cat
I think you can write it in python itself
 
the truth is I'm not doing cat but `tail -f` to read indefinitely, so I can not read "after"
I want something like another thread listening just to keyboard input
 
@Lordofdark I think @IanC is right, it's also not easy to capture the keypress without a GUI window.
 
@JacobVlijm Cool. And I just saw the comment with the actually incorrect syntax for it. lol.
 
i don't see a command-line-only capture method
 
9:16 PM
@chaskes yeah, I saw that too :)
 
@Lordofdark but what exactly do you want to do with those keypresses that are read? I can't see much use to sending the keypresses through stdin, since they will just get mixed inside the dynamic output of tail
if you want something like "quit when 'q' is pressed", you'll probably need some library to handle keyboard input, like Glib/Gtk
 
@IanC Yes that something I want
Let me check those libraries
 
it's not a simple task, let me check if I have some example hanging around here..
I have one in Ruby I believe
you will have to connect a signal to the "key-press-event" and then write the callback function, which will check which key was pressed
there is also a "key-release-event", so if you need the action to happen on a key hit (press + release) you will need to make the logic yourself, since there is no Gtk event that handles this automatically
 
@Seth have you tried listening to fun./Nate Reuss?
 
    @window = Gtk::Window.new

    @window.signal_connect("key-press-event") { |widget, event|
      key_press_callback(widget, event)
    }
    @window.signal_connect("key-release-event") { |widget, event|
      key_release_callback(widget, event)
    }

  def key_press_callback(widget, event)
    key = event.keyval

    if key == Gdk::Keyval::KEY_q
      @key_q = true
    end
  end

  def key_release_callback(widget, event)
    key = event.keyval

    if key == Gdk::Keyval::KEY_q
      @key_q = false
 
9:26 PM
@Lordofdark look into this: stackoverflow.com/a/7141375/3701431
 
@Lordofdark that snippet is from a small Asteroids game I wrote in Ruby, I tried to take the parts related to what you want to achieve
 
@Zacharee1 no
 
I gotta say, I find Ruby syntax pretty
 
@Seth it's that 2-3% edge that OEMs were trying to get in 2013. OP is probably going for the same thing
 
Ok thanks for everything, let me read and try this
 
9:30 PM
@Zacharee1 fair enough.
 
@Seth you should. All Alone, Carry On, Some Nights are good.
 
9:42 PM
Matrices are quite interesting . . .
You know , sometimes there's moments when the stuff from algebra and (maybe) calculus comes back and you're like "Oh . . . that's actually quite interesting/useful . . . "
 
@Serg still waiting for that moment...
 
@ByteCommander It takes a while for it to arrive :p
 
I see...
 
9:57 PM
Blegh
I don't wanna do homework
 

« first day (2316 days earlier)      last day (2641 days later) »