« first day (2441 days earlier)      last day (2579 days later) » 

Dog
12:03 AM
> Dear Customer,

OVH is proud to announce the opening of its 20th datacenter worldwide (and counting) at the heart of South-East Asia: Singapore!

Whether you would like to optimise your latency or enter the Asia-Pacific market, Singapore is the easiest place in the world to set up a business with an exciting economic and technological environments.

Take advantage of our limited-quantity special offer on Dedicated Servers in Singapore:
 
I have to learn JPA, EJB 3.0 and JMS 2.0 - hoping I can find good resources
 
Bob
15 hours ago, by Bob
@JourneymanGeek OVH Sg just opened :P
:P
@allquixotic Ow, ow and ow.
 
-1
Q: Setting a Span of Bytes to NULL Speedily

AidanCodeXI'm trying to reinvent the memset function in C++, compiled with GCC suite 32&64 bit archs. By 'reinvent', I mean repurpose. I need to zero-set a span of bytes in an array of characters (cast void*) as fast as physically possible. BTW: When I use memset on the whole array (i.e memset(array, 0, l...

 
Dog
15 hours ago,
I WAS ASLEEP
And sulking
£144 a month for an E3 Xeon and 100Mbps bandwidth, eurgh.
Urgh Chrome you stinking pile of shit
"Your connection to this site is not secure"
Great, now WHY is it not secure? They've hidden the info. They've hidden the view certificate page. Everything just redirects to some generic HTTPS help guide
> Not secure: Proceed with caution. Something is severely wrong with the privacy of this site’s connection. Someone might be able to see the information you send or get through this site.
Yeah, and WHAT WOULD THAT BE?
UUUUURRGGGHHHHHH
headdesk
That's it. Fuck Google, I'm switching to Firefox.
5
 
12:26 AM
@Dog The info is still there, but it's in a slightly more obscure place.
I remember hearing about it on a podcast, but I can't remember where the cert info was moved to.
 
Bob
@Dog It's available in devtools. Which is dumb Google.
@MichaelFrank ^
Hm. Could people with a linux machine handy run this and tell me what it outputs? And also the distro and version?
cat /proc/sys/net/core/wmem_max /proc/sys/net/core/rmem_max /proc/sys/net/ipv4/tcp_wmem /proc/sys/net/ipv4/tcp_rmem
It just reports TCP send/receive window sizes
 
It probably outputs cats.
 
Bob
I'm trying to get a comparison across distros, if possible
And different installs of the same distro
 
Upgrading the stream to windows 10 creator update broke the touchpad driver
and I'm having trouble downloading it
 
Bob
12:33 AM
So, basically, I'm trying to do network tuning on Linux because the defaults are dumb.
I wanted to get a bit more info... especially if anyone has Ubuntu, CentOS, OpenSuSE handy...
 
[geek@phoebe ~]$ cat /proc/sys/net/core/wmem_max /proc/sys/net/core/rmem_max /proc/sys/net/ipv4/tcp_wmem /proc/sys/net/ipv4/tcp_rmem
212992
212992
4096 16384 4194304
4096 87380 6291456
Fedora 25
 
Bob
Thanks. So still ~21 kB o.O
Which means if a program doesn't override the max, you would only get ... around 2.1 MB/s max on a 10ms link.
 
geek@journeymanweb:~$ cat /proc/sys/net/core/wmem_max /proc/sys/net/core/rmem_max /proc/sys/net/ipv4/tcp_wmem /proc/sys/net/ipv4/tcp_rmem
212992
212992
4096 16384 4194304
4096 87380 6291456
Ubuntu 16.10
 
Bob
Or 210 kB/s max on a 100ms link
@JourneymanGeek So, looks like most Linux distros are still similar :S
But SuSE 10 was much better
waiiit. no. that's 210 kB
I can't math
21 MB/s max on 10ms isn't so bad
 
howdy is there keydown keyup keypress events in ncurses terminal similar to jquery
 
12:54 AM
ah! I need serial IO to be reinstalled for the touchpad to work
 
> 212992
212992
4096 16384 4194304
4096 87380 6291456
CentOS 7
@Bob What's a 10 milisecond link and how do I find out if a program is overriding the defaults?
Do wget and / or curl override the defaults?
I have at least 100 MB/s down at this server.
 
@Bob couple that with inane defaults for "interrupt moderation" for Intel NICs (especially on Windows) "to save CPU and reduce power usage" and we're getting to a scenario where tuning your networking stack is once again part of every physical OS install :/ after years of the defaults being pretty good for most people.
 
Bob
@allquixotic was 2.1 MB/s over 100ms, I mathed wrong
@ThatBrazilianGuy thanks
 
No, wait, I have 100 Mb / s. Or, more accurately, 21,5MB/s - 84s to download 1.3 GB.
Turns out @Bob is correct? If I manipulated it, would it increase?
 
Bob
@ThatBrazilianGuy 10ms RTT (ping)
@allquixotic Looks like the max isn't too bad, but the defaults are terrible... bleh. Though apparently Windows actually uses sane max/default for window sizes.
 
1:17 AM
36 mins ago, by Bob
21 MB/s max on 10ms isn't so bad
 
@Bob Windows might have good window sizes, but the interrupt moderation destroys gaming if you're using it as a game server
 
I won't manipulate TCP values on this server, however. It's a production server.
 
have to disable that on the NIC
 
Bob
@ThatBrazilianGuy 21.5 MB/s is almost double what 100 Mbit/s is capable of
For low-latency links (10ms) the default max is fine
They just fall over at higher latencies
The default default is terrible but programs can request higher
 
Eh, maybe they have gigabit internet at work but the OS defaults cap it?
 
Bob
1:22 AM
Default max is actually a max I think
@allquixotic Wasn't that part of TCP offloading too?
Works well for high throughput but not so much for low latency
 
user image
2
One of those is not like the others...
 
Bob
Well lookee here. My terribad ~30-50kB/s rsync is now 150-200kB/s
@ThatBrazilianGuy Ha. You and @allquixotic actually took a good crop.
I was lazy.
 
lol
 
Meow, meow. I'm a cow.
 
I don't even know what it is or where it comes from Obviously, it is a cloud. And comes from the skies.
 
1:24 AM
I don't follow fads.
2
 
lol
You guys wouldn't recognise me if I had anything but a dog as an ava ;p
 
Bob
Heh.
I've already got my next gravatar lined up :)
 
@JourneymanGeek Who's Ava? Ash's girlfriend? ;P
 
actually I have no idea what I'll do in 5-6 years when ash passes on
 
Bob
Oh look. 600kB/s
 
1:25 AM
@ThatBrazilianGuy avatar ;p
 
Bob
WHY DIDN'T I DO THIS EARLIER
@JourneymanGeek :(
 
@Bob he's 12. 17-18 years is a damned good run for a dog
 
@JourneymanGeek you could photoshop "Dog" into the body of the singing sheep and have the slogan "Jog, jog. I'm a dog."
 
naw
(also, He's got pretty big booties for any future dog to fill)
 
Bob
bah, back down to 120 kB/s. still much better than before, but the network link still sucks for a server
 
1:31 AM
hmm
Should I bother upgrading the 'spare' windows install on my linux box to creator's update as well?
 
That's still prerelease software, right? I would be inclined to leave at least one Official Stable Build around in case something goes horribly wrong
 
Admittedly I haven't been keeping up with new Windows development though
 
I've actually upgraded most of the systems in use
this literally is an install that came with the hardware that I left alone for no real reason
Its probably still on the original release of 10
 
Bob
@BenN it's RTM now
 
1:34 AM
but I'm unlikely to use that install... ever
 
Bob
well, it's been RTM for 2-3 weeks
 
Oh. Carry on then
 
Bob
it's actually out (GA?) as of 12 hours ago
 
yup
but I don't trust online updates so I'm just doing it myself
 
Bob
Personally I prefer to wait a month or two after GA before doing big updates
 
1:35 AM
shrug
Its backed up home systems
at worst I roll back
 
Impressive!
 
1:51 AM
-1
A: Hot do I fix Windows 10 Creators Update desktop icon positioning

LTTSame here, no way outta trying to deal with it

 
Bob
@Dog Speaking of whirlpool being surprisingly techy... o.O forums.whirlpool.net.au/archive/1928171
 
I had when you try to connect to a network printer, and windows refuses to find it, then after words you realize that it's not even connected to your wireless network :-$
 
2:17 AM
20 hours ago, by bwDraco
I intend to name my systems after theological demons.
...speaking of which, the full vision for Astaroth has been updated a bit:
PCPartPicker part list: https://pcpartpicker.com/list/WyJBJV
Price breakdown by merchant: https://pcpartpicker.com/list/WyJBJV/by_merchant/

CPU: AMD RYZEN 7 1800X 3.6GHz 8-Core Processor ($499.99 @ Newegg)
CPU Cooler: Corsair H100i v2 70.7 CFM Liquid CPU Cooler ($119.99 @ Newegg)
Motherboard: Asus CROSSHAIR VI HERO ATX AM4 Motherboard ($258.98 @ Newegg)
Memory: G.Skill Ripjaws V Series 32GB (2 x 16GB) DDR4-3333 Memory ($329.99 @ Newegg)
Storage: Samsung 960 PRO 512GB M.2-2280 Solid State Drive ($329.99 @ Newegg)
A pared-down version would look like this:
 
@Ramhound Stupid Windows. It should keep a list of all the printers its ever seen so you don't have to be bothered with turning the printer on again just to install it. Something like WINS for printers. Windows Image-producing-device Name Store. yah.
 
PCPartPicker part list: https://pcpartpicker.com/list/yJYfjc
Price breakdown by merchant: https://pcpartpicker.com/list/yJYfjc/by_merchant/

CPU: AMD Ryzen 5 1600X 3.6GHz 6-Core Processor ($271.11 @ B&H)
CPU Cooler: Corsair H100i v2 70.7 CFM Liquid CPU Cooler ($119.99 @ Newegg)
Motherboard: Asus CROSSHAIR VI HERO ATX AM4 Motherboard ($258.98 @ Newegg)
Memory: G.Skill Ripjaws V Series 32GB (2 x 16GB) DDR4-3333 Memory ($329.99 @ Newegg)
Storage: Samsung 960 PRO 512GB M.2-2280 Solid State Drive ($329.99 @ Newegg)
I am absolutely not skimping on the PSU.
Apr 7 at 15:11, by bwDraco
> Before testing these three units, we would not believe that such performance would be possible with a consumer-grade PC PSU.
 
2:39 AM
why doesn't microsoft/windows embrace open source technologies more? Instead of creating powershell couldn't they embrace bash?
 
Why doesn't Linux embrace CMD or Powershell instead?
 
hmm because they aren't open source?
to be fair bash has no arrays which messes up everything
 
MS are also very open source...
 
although that is cool you know there is a problem when C# and powershell and there 2 most popular open source languages
mono I guess runs c# but I have heard not well
 
Why? Those are Microsoft products, of course they are the biggest.
Not every platform needs to run every piece of software.
 
2:48 AM
I just want a open source shell with arrays. So I can run it on linux/mac
I mean shell like syntax and everyting
 
Bob
3:03 AM
"shell like syntax" is ... meaningless
if you're bash-biased, then it's more "bash-like syntax"
there's no such thing as a global "shell-like syntax"
 
@Bob true but it has to work a specific way to be truly a shell
 
Bob
@William Why doesn't bash open itself up to inclusion by more products?
It's GPL-licensed. That's more copyleft than truly open.
 
I do not know the difference between different licenses. I think I typically use MIT to make my stuff as open as possible.
 
Bob
@William Not at all. Python is a shell by some definitions. In fact, most REPLs can be used as a shell.
 
@Bob how do I open vi/vim in python?
 
Bob
3:06 AM
@William GPL => if you even think about including this, you must licence all your code under GPL (or compatible) too.
 
if you can't its not a shell replacement imo
GPL is not ideal true.
 
Bob
@William It's ideal if a viral licence is your intention.
But it does mean instead of asking "why doesn't Microsoft include it", you could be asking "why doesn't GNU allow it to be included"
 
GNU is stupid then
 
Bob
The answer, depending on your perspective, can be "Microsoft should open-source Windows" or "GPL is too restrictive".
 
Even if bash was MIT or something better I doubt Microsoft would adopt it.
 
Bob
3:12 AM
@William Maybe, maybe not. Well, not at this point, but 15 years ago? Maybe. It doesn't mesh too well with non-nixy OSes.
By now, it doesn't matter how open bash becomes - that ship has sailed.
@William subprocess.call, probably
 
Infact, wouldn't Powershell for Linux be the best chance at a unified shell at the moment?
 
probably the apis would be a problem though
 
Bob
@MichaelFrank Ironically? Yes, that's quite possible by now. Also, it's MIT-licensed :P
@William How so?
@William fyi, subprocess.call('vim') works fine
@William Then perhaps your question should be "why doesn't bash support arrays", to which the answer is "yes it does"
 
@Bob sorry should have been more clear multidimensional arrays unix.stackexchange.com/questions/236788/…
@Bob what is the equivalent for subprocess.call('vim') for node.js?
if you know
the question I linked talks about variable types but the real issue is multidimensional arrays
 
@William by that token you can open a shell from vi/vim, then open vi/vim in that. In theory
3
Q: Opening vi from Python

Scott FrazerI want to replicate the functionality that happens when you do something like 'git commit'. It opens up your editor and you type some stuff and then save/exit to hand off that file back to the script that launched the editor. How would I implement this functionality in Python? EDIT: Thanks fo...

 
Bob
3:22 AM
@JourneymanGeek most those are overkill, this works fine
 
speaking of Powershell on linux wouldn't they have to change all the built in commands
like ls, cp, mv, all would have different syntaxes then hardly a solution
 
Bob
@William nodejs doesn't really have a good REPL in the first place
 
I prefer nodejs to python for various reasons
the callback hell is easy for beginners like me
 
Bob
@William ...that's not how powershell works
firstly, .NET via mono is largely feature-complete, minus some very few Windows-specific things that can't be translated (e.g. active directory stuff)
 
3:25 AM
@William those are all valid aliases in Powershell currently...
 
exactly so do you make them aliases in the linux version also then?
 
Bob
secondly, powershell provides most of those basic functions natively
it'll provide the exact same Move-Item regardless of which OS you're on
it'll also alias mv to Move-Item as it already does
you can always remove the alias and use the coreutils binary if you prefer, but then of course you lose portability.
 
Another issue is NTFS vs EXT4 and that stuff
 
Bob
How is that an issue?
 
permissions
 
Bob
3:28 AM
If your shell scripts care about what filesystem it runs on, your shell script is broken
@William How so?
It seems like you're just throwing out vague complaints.
Do you even know what you want?
 
basically you will run into the same issues that you run into cygwin
Cygwin(doesn't support file descriptors) How do you fix stuff like this?
assuming the goal is to have similar c programs running across the Operating Systems
A shell is useless without aliases/programs right? yeah lol
 
Bob
@William That's... not even remotely the goal.
 
portability of scripts seems like a good goal
 
Bob
You're worrying over implementation details when the entire point of a common interface is to abstract these details away.
Why would file descriptors matter?
They shouldn't. And don't.
Because you can deal with handles in a PS-native way.
 
Bob
A 'file descriptor' is an implementation detail.
 
you are probably right I just love the web/html/js/css and get annoyed with things don't work as easily and as well
 
Bob
@William And when you write something in JS - say, to get a file upload - do you care about permissions then? Do you care which file descriptor it's opened under?
Same idea.
It's the same reason someone can write a program in python - assuming no custom calls to native libs - and expect it to be portable.
 
I don't particular like python
 
Bob
Heck, if you implement your own abstraction layers, it's enough that the core script is portable, leaving the low-level stuff to be hidden behind custom classes.
@William ???
I used python as an example.
It would be literally the exact same sentence if you s/python/yourfavouritelanguage/
 
3:37 AM
again you are probably right
Bob what is your favorite software then?
 
Bob
Eh. C# is still great, modern JS isn't too bad...
Then again it'll be years before ES6/7 is safe to use in production.
 
3:54 AM
all software sucks ;p
 
you are a genius thank for the subprocess.call program. The following works in node.js
require('child_process').spawnSync('vi', ['file.txt'], { stdio: 'inherit' })
 
 
3 hours later…
6:40 AM
yaaaaaaaaaaaaawn
was late to work, yey traffic
 
user226528
6:53 AM
I hate printers.
 
worst tech ever, right?
they've not improved in like 30 years
Sure, there's been changes, which have meant the costs stayed up
but they are less reliable
more expensive
 
user226528
Our HP printers need a lot of white margin and we need to print something edge-to-edge.
 
7:12 AM
yey bleed settings
you'll generally need a special printer for that
 
7:27 AM
@djsmiley2k I was late, my brother told me he would pick me up, and he forgot.
 
user226528
I can't seem to find what you called "special" printer on the web. Maybe I am searching wrongly.
 
morning
 
also to print edge to edge, if your printer supports it, just set a larger size of paper than what you actually use.
 
user226528
7:50 AM
@satibel I see. It suggests three HP models, two of which are photo printers. (Out of question. Managing their ink alone is a whole new class of torture by itself.) As for HP CP2025X, it seems HP isn't sell it anymore. I have to buy second hand.
 
do you need to print that edge to edge stuff always or is it just once?
if it's just once, you'll probably be better off using a printing service.
 
user226528
I think I am going to go with designing them more compact. We have good quality Black & White LaserJet printers right now.
 
user226528
It is just a shame they don't print well.
 
user226528
A printing service means sending confidential forms to a third party. That's a big No-No.
 
Bob
23
Q: Can drinking "harmonized" water prevent sunburn?

AdamOsmosis Skin Care offers what they call "Harmonized H20" This product is a UV Neutralizer-Tan Enhancing: Boost your body’s defenses with this innovative new technology utilizing frequencies that work against the damaging effects of the sun. Specifically, they claim that drinking this water at r...

wat
 
8:03 AM
wat wat
 
any relation @Bob?
 
user226528
@Burgi There are millions of Bobs in this world, so... yeah, it is definitely him!
 
user226528
8:22 AM
Oh, God some people need to learn more about computers! LOL Read the comments here: superuser.com/a/1198898/477799
 
@FleetCommand It's probably someone who has never used a command line :)
 
user226528
@DavidPostill And yet this person wants to install WinDbg! Is that funny or lamentable, or both?
 
@FleetCommand Both. We can expect a heap of questions about how to use WinDbg :/
afk for 3 hours
 
8:38 AM
> Issue the following command: winsdksetup /layout
> prompt:> /layout winsdksetup

how?
 
Bob
@JourneymanGeek used your favourite puget thermal paste link in an answer :P
 
@FleetCommand loll
 
9:08 AM
@Bob lol. I saw.
 
9:24 AM
has anyone used invisible recaptcha yet?
 
Is that the new google one?
 
yes
 
@FleetCommand welcome to the world of programmers who've never set up a system themselves.
 
turns out it is just a tweaked algorithm to the existing recaptcha
 
the 'click the box saying your not a robot' one?
 
9:32 AM
yes
you are now less likely to get presented with crazy images
 
woo
 
9:48 AM
You realise this is the Google AI at work?
It's gone.... how best can we create robots that replicate humans? Ah yes, we make tests that robots fail, and humans don't
 
Dog
Skynet
 
therefore robots will become more human like.... and we can enslave them too
the Google AI wants to enslave everyone, including other robots!
Meanwhile Musk has realised that all robots will be solar powered eventually, so he's planning his under city fortress.
(infact the whole digging thing is about mars, but meh, it's funny to say it isn't)
 
10:00 AM
Dem vitamans
 
Dog
> After launching a preliminary test in October, Google has officially rolled out an automatic fact check tag program on its search pages.
Dem Google AIs
 
dat AI.
 
Dog
!! Doge ai,ai,AI
 
we are a bit light on users today
 
we having that exact discussion at work right now
there's no one here :/
it's terrribad
annoying when just 2 days ago they are telling us how much the desk has grown etc
Im like.... there's 3 first liners in, sort it out -_-
 
that's pretty much the same story every tuesday.
 
10:44 AM
@FleetCommand Also the last ever patch for Vista:
> it is the last time that updates will be available for Vista. Hopefully everyone has migrated from Vista but if you have not then now is the time.
 
user226528
@DavidPostill That's not scary.
 
yah it is
then again the idea of even using vista is scary
 
@djsmiley2k Erm, today is Wednesday
 
but the patches were deployed on tuesday
 
Patch Tuesday DAMNIT.
There's a reason thursdays mean my PC gets slooooooooooow (ops release the patches)
 
10:55 AM
i'd be more worried if there was only 1 patch in the update
 
win 7 rollup
:D
@Dog you back on chrome yet?
 
11:06 AM
hey hey
 
@djsmiley2k i think @Dog mentioned that yesterday
 
i thought i'd heard about it being down
 
8.5 hours...
 
to go? it was down for? wut?
 
11:21 AM
thats be at least £100m in lost revenue for the period
 
user226528
Those websites are up again.
 
yah
funny eh
it's like at old jo
 
user226528
Meesa thinks they've never been actually down.
 
they wouldn't pay for someone to come and document the warehouse system
jag landrover deffo not happy
it went down
8 hours lost
we laughing because we had no info on it either
 
user226528
Huh. Lovely.
 
11:26 AM
didn't domino's had the same problem?
at least I think is was that they didn't have any toppings on their pizzas
 
o_+OP
Is that from the time when people were seen in domino's uniforms emptying sainsburys of any pizzas?
 
user226528
Ew
 
user226528
At least their slogan is "Oh, yes, we did".
 
Well GAME sent me out to buy all the Wii's from Sainsburys once
 
11:42 AM
Oo
 
@djsmiley2k that is quite funny
were they cheaper in sainsburys?
 
@Burgi yup
Sainsburys had some kind of fire sale, where they were like £155 or something, when the RRP was £180
I remember me and my collegue got like 4
telling them we were fitting out student flats.
Answered 2 unanswered questions \o/
150k to go :D
 

« first day (2441 days earlier)      last day (2579 days later) »