« first day (3049 days earlier)      last day (1978 days later) » 

12:14 AM
You can't exactly ask for much for $60 FWIW. That's Celeron-level pricing.
Despite technically being a locked processor, some motherboard manufacturers have enabled overclocking on this processor. Pushing it to 3.9 GHz helps, but it's not quite enough to close the gap with Pentium chips. It does not help that it's only 2C/4T.
Despite the anemic performance, at least AMD has a somewhat viable competitor at the low end. Celerons and Pentiums of an even slower variety (e.g. Apollo Lake) are common in OEM systems that use processors in this price range, so having a value-oriented chip that performs more like Skylake than Goldmont is a plus.
I wonder if OEMs will release desktops with this processor as an alternative to Apollo Lake or Gemini Lake...
Because cheap as it may be, it's still Raven Ridge and it fits in the AM4 socket.
 
1:04 AM
@DavidPostill I remember when I was a kid seeing a Linux magazine in a store that came with a distro on a CD. I was trying to convince my Dad that we should buy it because Linux was "Free software!" as the magazine advertised. Luckily, he never bought it as the only computer we had was the one he was writing his PHD on and I imagine if I accidentally installed Linux over the top of that it might not have gone down so well...
 
@MichaelFrank I've been fortunate enough to typically manage to grab handmedowns ._.
 
Bob
@rahuldottech Errrrrm. My primary "laptop" is a convertible with detachable keyboard. And I just bought a second one as a gift.
 
@JourneymanGeek Oh, I had a couple of hand-me-down systems, but his was the best in the house, and the one we used the most.
 
Bob
That said, I personally still run a few win32 programs on it
but the one-to-be-gifted would be fine with UWP-only
 
I never ever thought of using Linux on the other systems, they were for my DOS games and Windows 3.1 ;)
 
1:10 AM
@Bob A Surface?
 
Bob
@rahuldottech Lenovo.
 
Ooh. Bet it's not a budget device tho.
 
Bob
@rahuldottech Miix 700, was 600 AUD at the time.
Miix 510, got it for 600 AUD last week
that's ... reasonably budget
 
Huh.
lol @ native windows app browsers tho
 
Bob
They're probably targeting the Atom-derivatives, which would've worked for basic browsing purposes if anyone actually made them anymore.
Well, anyone from a major brand.
They're still available from off-brands but that doesn't look so nice as a gift :P
I still use my Z3735F-based tablet sometimes and it handles basic browsing fine. A more modern Atom (branded Celeron/Pentium) should be a fair bit more powerful.
 
1:27 AM
@MichaelFrank I started with a cheap eMachines desktop.
Then it was laptops on a 3-4 year cycle, until Astaroth came online last year.
 
ISP: Has SMTP servers, can be used by you. You: Should use them. Using residential IPs will get you blacklisted from many email services because residential IPs are commonly associated with spam. You can totally get a VPS or cloud service and safely host an SMTP server on there tho — rahuldottech 8 mins ago
You'd think someone with >30k on SO would know how to write clear questions and use search engines
And then he keeps editing his comments so my replies look weird
Eugh
I'm going to bed
 
1:45 AM
@rahuldottech My ISP doesn't offer any email services.
 
@MichaelFrank Apparently a US thing
No Indian ISPs do either
Ok why would you answer a question if you're unsure what the question is about? This is stupid. superuser.com/questions/1382489/…
wow amazing answer from 17k user superuser.com/a/1382142/432540
 
...interesting. Under heavy load, and with high-power devices plugged into USB ports, the battery on my HP ENVY x360 can be drained slowly even when plugged in. I wonder if a larger AC adapter would help...
 
@bwDraco high power devices should have independent supplies anyway
 
2:01 AM
(the stock AC adapter is 45W and it's barely enough; a 65W adapter may help)
 
Bob
2:18 AM
> PCI is 50% common sense and 50% kabuki theater.
3
 
3:16 AM
Because people put too much faith in machine learning.
 
Yes, people are expensive and bots are cheaper. But if you seriously pride yourself on being customer-centric, you need to not skimp on customer service.
 
@bwDraco its possible even with people
 
Bob
> disrupt innovative metrics
> revolutionize front-end markets
> recontextualize plug-and-play communities
 
3:21 AM
@Bob sounds like a company newsletter
 
incentivize world-class partnerships
 
pity I have no idea if I can share em, they're terrible.
 
reinvent wireless experiences
 
3:44 AM
._.
 
4:52 AM
Hey @HornOKPlease, try this: "C:\Program files\NVIDIA Corporation\NVSMI\nvidia-smi.exe" -pl <watts> (the default is 260W on your RTX 2080 Ti)
I don't know what the minimum is, though I suspect it's in the ballpark of 125W.
I know the card will automatically adjust in case of thermal throttling, but you'll get more consistent performance if you cap the card's power manually to prevent it from hitting the temperature limit, because thermal throttling typically involves brief but sharp drops in clock frequency. Power throttling is more stable.
Also... consider downloading AORUS Engine so you can tune the card more easily.
(making this software suggestion based on the vendor of your graphics card)
When you get a chance, be sure to move the fans as suggested earlier and post some photos of your new setup so we can give you appropriate feedback.
 
@bwDraco Riot/Matrix
 
 
2 hours later…
7:30 AM
Does somebody know if windows logs when it deleted folders under windows/temp? and when and why it deletes folders there?
My problem is that my app has some css and js in a temp folder. And now it got suddenly deleted, but I don't know why. Usually the folder stays as long as the app is online
 
its a temp folder.
probably not, and probably belongs on the main site if its an actual question
and if your 'app' has css and js...
blame your browser?
 
why blame my browser? It puts the css/js into a folder where the browser gets it. Don't get why I should blame the browser?
 
7:49 AM
what do you think likely deleted it?
 
No idea... My only guess would be my coworker, couldn't ask him yet. But that is the problem I have no idea how to go about finding this out.
Don't think the browser would delete it. Especially what makes it weird is this: superuser.com/questions/296824/…
This is also the first time this has happened
 
Bob
8:48 AM
@Hakaishin btw, generally that temp folder shouldn't be used
that's kinda leftover from over a decade ago
the standard temp folder is now per-user under appdata\local\temp
win10 will now auto-clear temp folders on a schedule, iirc
it's part of the maintenance tasks
but I think that's off by default
@Hakaishin yea that Q&A is a little outdated
 
Do you have a link about that clean up schedule? The only thing I found is that it get's cleaned when the pc restarts. This is not a problem, since my app will then also restart. It would be a problem if the cleanup deletes files while the app is active
But yeah I realised that on win10 it is appdata and on windows xp it is the old dir
I'm not directly using the tmp folder, it is pyinstaller that unpacks its resource into it
 
Bob
@Hakaishin try google, I don't exactly memorise links
the option lives under Settings => Storage
 
9:07 AM
run storage sense: When Windows decides :D Ok, thanks meaning what windows^^
 
> I'm going to start welding guns to all of my possessions, maybe then the cops would do something about them getting stolen....
> This is the most american thing i've read all day
 
morning
 
hi
 
9:36 AM
Roses are red, I don't want to go to bed;
It's alright password, I'm insecure as well.
3
 
 
1 hour later…
10:38 AM
I actually meant to type hell, not bed. I clearly need sleep.
 
10:53 AM
clearly you do
 
For those wondering about my fun with virtualbox yesterday, for linux you use 'run' while windows uses 'start'
other than that, the arguments are identical in layout etc.
helpful how the manual doesn't seem to specify that anywhere
 
11:18 AM
just solved the issue of my chromebook not loading websites
basically i turned off all prediction services
 
Bob
@djsmiley2k hm?
 
ok.... maybe not
 
Bob
looks like run forwards stdin/stdout/stderr and start doesn't
 
11:40 AM
hmmm
yeah
:)
ok
Still, doesn't state that run is linux and start is windows
(maybe it's like run and start in win batch files?!)
 
Bob
@djsmiley2k it doesn't state that because ... that's not the case?
Either should work on either OS.
 
welp, start isn't working iwth a linux guest, yet run does
/me shrugs
 
Bob
I mean they even provide examples of both commands on both OSes
 
yeah
 
Bob
@djsmiley2k what exactly are you trying to start?
 
11:41 AM
but, I can't get 'start' running
init script to restart the network
 
Bob
@djsmiley2k what's the actual command?
I would suspect the Linux script might not be too happy about a lacking stdin/out/err
 
oh god you're gonna make me scroll back 24 hours
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" guestcontrol "Gentoo" start "/etc/init.d/net.enp0s8" --username root --password test -- "restart"
 
@Bob oh great, so even computer scripts have feelings now!? First men, now computers!? What is this world coming to!?
 
or "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" guestcontrol "Gentoo" run "/etc/init.d/net.enp0s8" --username root --password test -- "restart"
/me should really change the root password now :D
 
Bob
@djsmiley2k erm... I think you're either supposed to use --exe "/etc/blah" -- args or -- "/etc/blah" args
what you've run doesn't match the documented syntax
 
11:47 AM
ah hmmm ok
 
Bob
also common options come first?
 
the run one works, btw.
 
Bob
so vboxmanage guestcontrol <uuid> run --username foo --password bar --exe "baz" -- quux
or vboxmanage guestcontrol <uuid> run --username foo --password bar -- "baz" quux
I don't have vbox installed anymore to test that though
wait, --exe is documented as mandatory
 
12:19 PM
@rahuldottech you been busy? -> hackaday.com/2018/12/10/…
 
12:48 PM
yaaaaaaaaaaaaaaaawn
 
 
1 hour later…
2:36 PM
@Burgi why not both?
 
:)
 
I wonder which series though
dosen't look F1
 
Formula E, now racing in Gotham CIty
 
the new season starts on saturday
 
2:37 PM
ah
 
it's........... programmin time!
And I'm stuck :D
Who knows python ? D:
 
Bob
@djsmiley2k deeeeeeeeeeeepends
I know enough to mess things up :D
 
python3, and telnet
I can get the version string outta the switches
but nothing more, which is.... weird
 
Bob
(forgot most of it since I haven't really used it in 3+ years)
@djsmiley2k uhhh. the sw... oh, cisco?
 
yes
 
Bob
2:44 PM
gimme code :P
 
or we could use ssh
 
Bob
if it needs to be quiet-ish, maybe riot
 
some switches using telnet because OLLLLLLLLLLLLLLD, some uses ssh
 
@djsmiley2k read_eager() only returns data currently available in the buffer and will not block. If the switch is being slow about sending you data or is write-blocked it won't get you everything.
 
@djsmiley2k A lil
 
2:49 PM
@djsmiley2k you probably want to use read_until(whatever the prompt looks like)
 
AFAIR there's an actual telnet interaction lib? I used it for... something
Lemme check
Hmm, seems I ripped the guts of it out and went with json instead
 
Bob
@ToxicFrog I think he has that covered with client.read_until(b"login: ")
 
@Bob yeah, but then later he sends a bunch of upload/show commands and then read_eager()s the results
Which potentially discards some of the output of those commands
read_until is only used to get the login prompt(s).
 
Bob
ah
 
I'd also be interested to know what the output of this is, which should be the bash equivalent: gist.github.com/ToxicFrog/9c0e5aaafdd236e6e1bd51da283bf3a0
 
Bob
2:52 PM
@djsmiley2k chuck some prints (or a debugger) and make sure it's actually getting past login/password first
 
@bertieb if you look at the pastebin he's already using telnetlib
 
@ToxicFrog how do I just keep printing the output?
@Bob oh yeah I forgot, it does, because it uploads the config to me, that bit works
 
@djsmiley2k output = read_until(whatever the prompt looks like); print(output)
 
@ToxicFrog So he is
 
read_until returns everything it read up to that point.
 
2:53 PM
(was git checkout-ing an old copy of my code and hadn't glanced properly yet :P)
 
Bob
@ToxicFrog that assumes there is a prompt
 
@ToxicFrog what if i don't know what the prompt is :/
^^
 
Bob
if there isn't a prompt, all you can do is read_until a newline (\n) in a loop, with a timeout
 
there's a multitude of cisco's, extremes, other old crap.
 
Bob
2:54 PM
once it exceeds the timeout you can probably assume it's finished
 
Ick
Can you safely assume that if you send it multiple commands in succession, it'll finish each one before starting the next?
 
i didn't, hense the sleeps
but sometimes it waits for you to hit space in a command too
 
Like, if you send "show vlan" and then "exit" while it's still outputting vlan info, it'll finish outputting before disconnecting?
Oh wow, that's super gross
 
welcome to switches :)
 
Bob
lol
 
2:55 PM
it's the 1970's back here, and we love it...
tbh newer stuff is better, but i dont' get to choose to just have newer stuff...
 
It takes extra effort to make it do that though! You need one thread doing the output and another reading and immediately responding to user input
 
Bob
line = client.read_until(b"\n", 5)
while line:
    blah
    line = client.read_until(b"\n", 5)
 
nah user input can wait
 
Bob
I guess that'd work
you'd need to check what's actually returned if it times out
 
/me thinks for a bit
 
2:57 PM
@djsmiley2k that doesn't match what you said earlier though?
 
maybe I can simplify this by splitting it up a bit
@ToxicFrog as in, we can just keep reading until we're bored
 
Bob
read for new lines in a loop, until there's no new lines for 5 seconds
assuming each command doesn't pause output for longer than that at any point
 
@Bob they do, but we'll ignore that fact
 
@djsmiley2k I asked "if you send it 'show vlan' and then 'exit' before it finishes outputting vlan info, will it finish outputting before disconnecting you" and you said "no"
 
I don't actually need the interactive session, I just need to check for 'unsaved changes'
 
2:58 PM
I.e. it will disconnect you immediately on receiving "exit" even if there's another command in progress
 
@ToxicFrog ok, i'm not sure.
 
Bob
can you chain commands?
 
i've never actually seen the vlan info
@Bob no
 
Bob
command1; command2; command3
command1 && command2 && command3
 
I have a feeling that show vlan will span multiple pages
 
Bob
2:59 PM
sh syntax would be too much to hope for wouldn't it :P
 
And see if it outputs all the vlan/port info
 
so it'll stop with a 'press [space] to continue or [q] to quit.'
 
(remove the "
(remove the "upload configuration" part if you want)
Oh noooooo. In that case you're going to have to read until you see a prompt like that and then respond appropriately, too.
You might end up doing something with telnetlib.expect: docs.python.org/3/library/…
(I wonder if there's a way to turn off pagination?)
 
@ToxicFrog there maybe a way to turn it off, except different models etc, so would need to handle them all lol
i'm getting off track tho
the idea of this was get the config, then compare it to the config in the backup.
Nonthing else mattersl ol
that gist.... how do i run it :/
 
And to get the configuration, you need the "upload configuration" command and the "show" commands?
It's a shell script, just paste it into bash
 
3:02 PM
nah, just upload config, which actually works
 
Or save it and run with "bash -e script.sh"
 
Yeah I did that
./toxic.sh: line 9: warning: here-document at line 1 delimited by end-of-file (wanted `__EOF__')
 
Oh. In that case why not just client.write("upload config ...\nexit\n"); client.read_all()
 
@ToxicFrog yup, I think I'll do exactly that
the other stuff was a case of "It'd be interesting if I could...."
and getting distracted.
 
But if you don't actually need the "show" output this is completely irrelevant, so never mind :P
 
3:06 PM
hehe
piping stuff directly into telnet felt dirty.
 
All shell scripting is dirty! Embrace the filth!
 
Exactly! Just accept that once in a while you'll need to grab a towel or two, throw the sheets in the washer and have a nice long shower afterwards
...wait, what are we talking about again?
 
Bob
@bertieb telnet in bed, do try and keep up
 
@Bob Oh, now that is filthy
puts away live chicken
 
oh ffs
the firewalls, which the other script needs to login to, uses a weird shell
 
3:15 PM
ash, you say
 
cli actually
cli.sh, 'clish' as the 'experts' call it.
Do I ask the boss if I can create a user specifically for this, when he's already said we don't need one...
 
clish... sounds real dirty
 
aye
i think I'll just do the telnet/ssh thing, but with 2 versions, one for extremes and one for cisco's... maybe
then, with the db of all the assets, I can check the manufacturer tag and run the correct script, automagically...
(also need to build that db ;))
 
:\
For whatever reason, the USB controller freaks out whenever I try to use the USB Type-C port on my main laptop Stolas for a USB 3.1 Gen 2 device over an C-to-A adapter.
 
3:32 PM
> Networks. All rights reserved.
Protected by U.S
Looks like it executes the next command right away @ToxicFrog
or..... it's echoing the text out before it's finished printing it
 
If it's executing the "exit" right away I'd expect the "show" output to get cut off. If it's just echoing you'll get all the output.
 
ok, so the prompt ends with #
print(client.read_until(b" # ").decode('ascii'))
So this?
> #
show vlan
dafaq?
it.... kind of works
cept it doesn't seemingly execute/send the command
even tho the upload command DOES work
:D
> print(client.read_until(b" # ").decode('ascii'))
that works, that prints out the MoTD stuff, shows the line waiting for the command.
> 12/11/2018 15:42:36.91 <Info:SYST> upload config succeeded to 1
> # show
ahhaha wut?!??
Where did the 'vlan' go...
 
3:59 PM
screw it, getting distraccted agian :P
@ToxicFrog can I have variables/wildcards in the read_until ?
as these cisco's it's $hostname\>
oh god they use ssh too
/me goes back to learning
 
@djsmiley2k no you can't: docs.python.org/3.6/library/…
If you want to match a regex you need docs.python.org/3.6/library/…
 
4:20 PM
It's sad that a bash script, will actually bit better than using python
@ToxicFrog ok thanks, I can just build the string from the hostname I guess, or think of something else.
python -> system call -> ssh djsmiley2k@switch "upload config overthere".
 
NGL I would have switched over to shell scripting for this half an hour ago~
 
 
2 hours later…
6:00 PM
@ToxicFrog lol yah
i'm trying to learn python however...
NO CLIPPY
 
 
1 hour later…
7:11 PM
My Github octocat!
I don't like the specs tho
Ok I'mma make a better one
:D
 
7:44 PM
Time to stream jc3 agfain
 
8:13 PM
Jul 17 '16 at 21:00, by Ben N
Oh hey, it's time for some Windows Updates! <game show music>
 
8:30 PM
@bertieb a tip for JC3
when you first get the garage
check out the car park near by
 
8:46 PM
So... Who knew that pine nuts were the main ingredient in Pesto Sauce?
 
9:30 PM
@bwDraco :)
 
9:41 PM
Running backups on Astaroth and Stolas after this round of Patch Tuesday updates...
I repurpose my old laptop hard drives for this purpose.
 
 
1 hour later…
11:01 PM
0
A: What's the best way to store over 400 GB of digital photos?

bwDracoMy current approach is to use two external hard drives for local backup, combined with Backblaze B2 for remote backup. Photos are initially stored locally on an SSD, grouped into one or more folders per day. Post-processing, if necessary, is performed on the files stored there. Files on the SSD ...

 

« first day (3049 days earlier)      last day (1978 days later) »