« first day (2367 days earlier)      last day (2598 days later) » 
00:00 - 19:0019:00 - 00:00

7:19 PM
Reading RFCs == hard
 
7:43 PM
Hi, is it good practice to create a CRONJOB when the user installs my program? I want to execute a program every minute that sends a JSON to my server.
 
@MarcosAguayo Why can't the program do that?
That continues to blow my mind everytime I watch it.
 
And it's certainly rude. I would be very annoyed if installing some random program cluttered up my cron and had it sending data every minute (!).
I would probably consider the program malware.
 
@NathanOsman Wow! Really cool. Reminds me of Tesla's autonomous driving.
 
But this is powered by a Raspberry Pi.
It looks like all he is using is the Pi camera and some sort of sensor on the front (maybe sonar for distance?).
Looks like one of these: modmypi.com/blog/…
 
@NathanOsman Some people say that is more stable with cronjobs
 
7:54 PM
@MarcosAguayo I have no idea why anyone would say that.
The cron daemon is a program like any other.
 
@NathanOsman Oh he's using ultrasonic?
I can only imagine that being really unreliable in the real world.
 
Yeah, but for short distances in a controlled environment, it works great.
Aren't resistors supposed to have colored bands that indicate their resistance and tolerance?
 
@MarcosAguayo This really really sounds like an XY problem. Why do you want to have cron doing something every minute?
 
@NathanOsman Yes, but those do have them
 
> The band colors leave something to be desired. Most of the colors on the resistors are very "muddy", so you don't really know what color you are looking at. Each set of values comes in a sleeve as show, and is marked with it's value, so that helps. However, once the resistor is out of the sleeve, and in my junk box, pretty hard to read the colors.
 
8:02 PM
Ah.
The photo suggested they weren't colored at all.
 
8:31 PM
Where do I report two RFCs that conflict with one another?
 
@MarcosAguayo Please don't do that. What would you even send?
So, @Serg. I have a USB cable. And and Arduino. And a 0.01 ohm resistor. How do I use the Arduino and the resistor to measure how much current is going through my USB cable?
 
Le sigh:
0
Q: How to resolve a conflict between RFCs?

Nathan OsmanRFC 4034 and RFC 6762 appear to contradict one another. RFC 4034 states the following: A sender MUST NOT use DNS name compression on the Next Domain Name field when transmitting an NSEC RR. * emphasis mine RFC 6762 states the following: All compliant Multicast DNS implementations MUST...

 
8:59 PM
@KazWolfe Use this: adafruit.com/product/1852 Or if you're feeling adventerous , you can cut a USB cable in two and wire up ammeter in between: hardwarecanucks.com/forum/attachments/guides-how-tos/… You will need to know what you're measuring though - VCC current (which is probably OK), or data pin current
In other news . . . . I really want a shot of vodka right now
 
9:14 PM
@NathanOsman Are you sure that's not more of a Software Engineering question?
 
@Seth are you sure you aren't more of a Software Engineering question?
C>_C>
 
@Seth I had someone else suggest SF.
Maybe I'll go bug someone and ask them.
 
@Zacharee1 You can take Seth out of software engineering, but you cannot take software engineering out of Seth
Oh, look, i messed it up and i'm not even drunk
 
@NathanOsman SF?
 
Server Fault.
 
9:20 PM
I don't see how that could be an Server Fault question..
 
Well, I'll try asking someone from SoftEng then.
 
hwitebohd
 
^--- is spelled wrong
 
9:22 PM
really
you dont say
 
(Unrelated question: shouldn't we say "spelled wrongly" since the word is functioning as an adverb? Or am I making a different mistake?)
 
I don't have the heart to ask another question there.
 
@NathanOsman since wrongly isn't really a word anymore, you want incorrectly
 
@Zacharee1 Maybe I meant "bigly".
 
9:24 PM
but yeah it's supposed to be an adverb
@NathanOsman TRUMP
 
@Zacharee1 Hey, lots of slang comes from questionable characters.
 
maybe i should just throw away everything . . . it's hard to decide which things to keep and which let go
it's not like i've any idea what was happening with those old classes anyway, so old notes don't seem to hold much value anymore
 
@Serg, yeah, I saw those. The issue is I need my computer to be aware of the current. Hence the Arduino.
Basically here's what I'm trying to do.
I have a little Qi charger on my desk plugged into the wall. It's charging my phone and putting out X power. When my phone is full, it's going to stop charging and using that much power. Same if I remove my phone from my charger.
Therefore, I'd like to set up my computer to lock when it detects my phone isn't on the charger anymore (when amperage on data pins is below a certain threshold)
 
interesting scenario. . . though i'm not quite sure how to approach it. Personally, I'd figure out how the phone knows when it's charged ( maybe there's a way to doing via busybox shell or something ) and use netcat to communicate it back to your computer
@Zacharee1 jackspedicey is doing live q&A
 
@Serg I can't assume the phone and my computer are on the same network.
 
9:40 PM
@KazWolfe Google Cloud Messaging.
That should work regardless.
Oh wait.
You need the opposite - phone to PC.
Hmm...
Wouldn't a proximity sensor work better?
Then it can tell when you've picked it up.
 
@NathanOsman prox sensor on my computer?
that's sorta what my charger is.
 
@KazWolfe Well isn't the whole point to figure out when you pick up your phone from the charger?
 
@NathanOsman yep.
 
Why not put a sensor next to it to detect the "pick-up" action?
Seems easier.
 
because i can already sense it by power draw.
 
9:44 PM
Then what's the problem?
 
I don't have a way to sense power draw.
Hence the arduino and this discussion.
 
@KazWolfe How can you sense it by power draw if you don't have a way to sense power draw?
is confused
 
I can't.
I'm asking Serg how I can make one of those.
 
Ooooooh.
I get it.
 
I was just thinking using an arduino and a shunt resistor.
Arduino reads data, and sends a USB event or something to my computer, locking it.
Really, I'd assume the Arduino would only have to read the voltage differential before and after my shunt resistor. But, I don't know how to do that or wire that up.
 
[ SmokeDetector | MS ] Manually reported answer: Screen tearing v 16.04, AMD Radeon rx470, intel i5 by raelynnk on askubuntu.com
 
I submitted an errata report for the RFC.
 
10:28 PM
@NathanOsman actually, no. I don't know enough about it to provide confident advice
 
gotta admit it when i suck
 
It's never a bad thing to admit you don't know something.
 
Agreed. Too often we are fooled by charlatans.
 
I am totally a charlatan when it comes to electrical engineering
 
10:38 PM
It just takes time to learn... it's pretty complicated stuff.
An electrician is a lot easier and they make 40 to 80 bucks an hour.
Well time to learn about bash array insert and bash array delete. Wish me luck in googling.
 
Lol, good luck. Although it's on SO and easy to find
 
haha deleting is super easy: "unset arr[3]"
 
11:00 PM
0
Q: How to use java plugin in Firefox 52 in Ubuntu?

MsalvatoriI am using Ubuntu Mate Xenial and can`t find a way to run Java in Firefox 52. Anyone can help me?

 
11:51 PM
0
Q: File permissions changed but group user can't write in them

A. LauI have done the follow: chown'd it to a group chmod 775 usermod this is the status of the permission drwxrwxr-x 3 root www-data 4096 Mar 22 23:11 html The groups my user is in ubuntu : ubuntu adm dialout cdrom floppy sudo audio dip www-data video plugdev netdev lxd But if I do touch test i...

 
00:00 - 19:0019:00 - 00:00

« first day (2367 days earlier)      last day (2598 days later) »