« first day (1414 days earlier)      last day (3612 days later) » 

Bob
9:05 AM
Heh.
I think I'll wait.
$75 right now.
$60 if I buy through someone in the US, but still more than I'd like to pay for a game
Incidentally, I can get a Celeron NUC for $150 o.O (@allquixotic)
Tempting. Might replace the RPi as a router... hmm.
The problem is the RAM and storage :P
 
Im trying to find a cheap gigabit router :P
any suggestion
 
@Bob: I'm tempted to get the bay trail one, but meh, between the steam sale, and my quadrocopter it can wait
@pipja: I'd look at what the wirecutter says ;p
 
Bob
@pipja Router? Switch? What do you really need?
How many devices? What do you do on your network? What kind of WAN connection do you have?
@JourneymanGeek Quadrocopter? o.O
 
@Bob: Yeah ;p
 
I have a crappy ADSL 100mbit ethernet modem
when I swap files between my computers the 100mbits is saturated and my wife cannot watch youtube
so she screams across the house
 
Bob
9:10 AM
@pipja Modem or modem/router? Do you intend to bridge it? Or do you plan to chuck it and get a new modem/router?
 
Bob
@pipja That's... not how a switch works.
 
the modem has wifi and 4 LAN ports
you get the drift
 
modem is likely crap
 
Bob
(Theoretically,) saturating the link between two hosts via a switch should not affect the links of other hosts.
 
9:10 AM
we are using the LAN on the modem
 
Would having a seperate network for file transfers be an option?
 
please enlighten me on that option
 
(or if its the same two boxen, just link em straight with static IP addresses)
 
should I get a second NIC on my desktop and setup a separate filesharing business?
 
@pipja: I would seriously consider this
 
Bob
9:12 AM
@pipja Again, do you wish to completely replace your current ADSL modem/router?
 
its probably cheaper
 
Bob
@JourneymanGeek And far more complicated.
 
@Bob: meh. You have a point there
 
Bob
As far as networks go, complicated is bad <== personal experience
 
but you know my network ;p
At the moment, 2 routers + powerline networking ;p
 
9:12 AM
okay what i was planning is using a separate router with a WAN port
 
Bob
...should I describe my topology again? pretty damn crazy :P
 
i would plug my modem into the WAN port for WAN access
 
Bob
@pipja then you end up with double-NAT
which can be quite nasty
 
while I just use the router gigabit so i wouldn't saturate it
 
Bob
the clean solution is to set the modem to bridge mode (PPP passthrough) and handle the auth on the router
Alternatively, replace the whole damn thing :)
 
9:14 AM
replacing the damn thing is expensive
+_+
 
Bob
I just got a Billion 7800NXL for my modem/router recently. It's wonderful.
~$125
 
that's what i call expensive :p
 
Bob
@pipja What kind of price range do you expect?
 
lookin at 70$ or less ball park
 
Bob
You can get a decent(ish) router for ~$70-80 and either double-NAT (eww) or bridge the modem.
 
9:15 AM
i'll have to take a look at bridging the modem
 
Bob
Or you can just get a gigabit switch for ~$20 and chuck the high-bandwidth stuff on it
I'm still not sure that's really your problem, because saturating two ports on a switch shouldn't affect any of the others
But it's a cheap solution if it is the prob.
 
so theoretically i can chug a giga switch into the mix and plug up the pcs together, saving a port for the modem right?
 
Bob
@pipja ya
you know what your "modem/router" really is?
 
not really
 
Bob
it's an ADSL2+ modem, and a router, and a wireless access point, and a switch
all in one physical box
...naturally, it does all these jobs worse than dedicated devices :P
 
9:16 AM
yes, and it's a crap pos at that
but its free with the adsl
hahahaha
 
Bob
anyway, what actually happens is you have the modem bridging the phone line and a virtual "WAN" port.
the router between the "WAN port" and a virtual "LAN port"
and a switch to make that one LAN port => 4 ports
 
okay, that's a lot of pain i didn't need to know but that's cool
 
Bob
well, that's one way to visualise it
 
i'm just a lowly programmer happen to have to live with this linux box
 
Bob
anyway, what that means is, when you put it in bridged mode it skips the router step
that helps prevent double-NAT
 
9:18 AM
right, so i can get the new router to handle the NAT by itself
that's another way to look at it
 
Bob
what it also means is, theoretically, saturating two switch ports should not affect other ports at all
 
most modem routers suck ;p
 
Bob
but I guess you never know what the actual implementation is with that thing :\
@pipja what model is your existing one?
 
theoretically is one thing, them being cheap is another
some tp-link crap
 
Bob
@pipja the easier and cheaper solution might still be a $20 GbE switch
 
9:20 AM
tp-link makes suprisingly decent routers in some cases
 
Bob
just a pure switch
 
im at work so no access to the little plastic box
 
Bob
@pipja model number is better :P
I have a TP-LINK TL-WDR4300 as my primary router
it works pretty damn well
 
$20 switch sounds like a cool plan
 
@pipja: meh, a good router is an investment
 
Bob
9:20 AM
powerful thing
 
I had a WRT54GL that lasted over a decade
 
Bob
@pipja mind telling us which country you're in?
 
i would if my wife would agree on the investment
 
Only reason I retired it is we got a free 802.11ac router ;p
 
she would most likely reject it
somewhere in South East Asia :D
 
9:21 AM
lol
 
Im running 2 adsl lines to my apt
cuz i cant be a torrent whor while my wife watch youtube
 
Bob
@pipja y'know, there's nothing particularly identifying about a country, except to try to find some local-ish prices and shops
 
Can't be singapore, we have better options ;p
 
Bob
@JourneymanGeek curse you! :P
 
well we do have fiber but my apt building doesnt have the backbone built in
 
Bob
9:22 AM
aussie here, stuck on barely-working ADSL2+ :P
 
so there, i cannot get fiber
 
hm
Might be singapore ;p
 
Bob
XD
 
I wanna go back to oz
but ISPs in Oz are bastids
 
Bob
@JourneymanGeek wonder if he'd hear you if you yelled loud enough?
 
9:23 AM
they cap your download
not good for a torrent whor
 
Bob
@pipja eh, unlimited TPG here
 
Bob
the prob is the shitty wiring
 
Bob
NBN would've been great, except the whole "cancelled" part of it
 
9:24 AM
thinks @pipja may be local to him ._.
 
I used to live in QLD
 
unless the malaysians, indonesians or thais sneakily got a fibre optic program up
 
what's that gamers network thing over there again
i think they cap it at 60gb/mo or some crap while i was there
 
Bob
Anyway, I was going to suggest something like this: arc.com.au/pub.php?gid=23471&pid=41811&p=product
 
Bob
9:25 AM
@pipja depends which ISP and which plan, I guess
@pipja when'd you leave?
 
left in 2007
 
Bob
might've been before unlimited was really an option
 
planning on coming back
 
Bob
ah, that would be it
 
back then 2CD games were big :3
 
Bob
9:26 AM
@pipja if you do, for the love of god, pick some place with NBN/fibre connectivity
 
3 were monstrous
 
Bob
so I can be envious of yet another person :P
 
I just downloaded, oh... 30-40 gb in games today I think ;p
 
I don't download games much these days
too tired from work
so I just enjoy some AVs :3
or maybe comics/manga/anime
on that topic if I ever get back to Oz I'll build myself a little NAS
 
9:27 AM
@pipja: eh, the most I've used in a month is 120gb, Half of that was my brother's in laws watching soap operas on youtube ;p
 
Bob
@pipja DIY or prebuilt?
 
probly DIY
this desktop uses too much juice
 
Bob
lol
 
some 200kW/h a month if I leave it on all the time
 
Less likely someone will use your NAS to mine bitcoin that way? ;p
 
Bob
9:28 AM
I'd suggest looking into a NUC if you're happy with connecting disks by USB3
if you want SATA... gonna need a more traditional box
 
yeah was looking at some cheap, low power stuff and pile SATA drives into it
 
@Bob: there's a few nice atom mini ITX nas boards these days
Then there's that asrock with 12 sata ports ._.
 
Bob
@pipja ouch
mine is more like 100 kWh/month
 
well the idea is get a mini itx and put it into a desktop casing
 
Bob
9:30 AM
wait
I hope you meant kWh and not kW/h
 
I don't keep track of mine, but my desktop gets switched off when I officially go to bed
 
Bob
very different things :P
 
sorry kWH
my mind went blank for a sec
well I only start torrenting when Im about to go to sleep or go to work
 
Bob
I'd love to see a 200kW/h machine though :P
if I didn't have to pay for the power
 
@Bob: "For sale, one used desktop, with nuclear power plant attached. Owner moving to austalia"
 
9:31 AM
that'd be a full rack server :3
i dunno man, but 200kW/h would be the equivalent of 100 microwave ovens at full blast or something like that
or not :p
 
Bob
...ohwait
it sounds wrong, but 200kW/h == 200kWh
gah units
wait does it?
 
it isn't
200kW = 200k Jules/sec
 
Bob
@pipja yes, but per hour
 
200kWh = 200k Jules/sec x 3600
 
Bob
200kJ/s/h
hm. the hell is that.
 
9:33 AM
it is wrong bro
you cant divide time with time again :p
 
Bob
eh.
@pipja tell that to acceleration :P
 
it'd be messed up
but we are talking about energy
anyway thx for the heads up on the router/switch thing
gotta try that out at home tonight with my spare router
will need to reconfigure all the port-forwarding and crap
 
Bob
@pipja good luck!
@pipja that's why you don't want double-NAT
oh yea, when you connect a home "router" as a switch, just ignore the WAN port
and turn off DHCP on it
if you use the WAN port, you're also connecting the router, and you end up with an additional gateway, layer of NAT, etc..
 
true true
 
9:51 AM
@Bob: not all routers let you do that. At one point I was messing with double nat on the old office router ;p
(when I was still trying to solve the dead spot problem ;p)
 
 
1 hour later…
10:51 AM
Anyone know what the deal with the Spotify premium offline tracks is?
 
Bob
@MichaelFrank ?
What about them?
 
Can I download a playlist to a USB?
 
Bob
It caches offline so you don't need an active connection to stream.
You still need to play it through the Spotify client. And you still need a valid account/subscription.
It's stored in an encrypted format.
There's third-party programs (probably against the ToS) (@allquixotic) that can download tracks via Spotify to standard audio formats.
 
I suppose I could always just use the offline play on my phone...
@allquixotic is Predator a replacement for tactician?
 
11:50 AM
 
12:17 PM
Shameless plug n. 1: Have y'all voted in the Unix & Linux elections?
 
12:45 PM
I don't think I can :p
 
1:02 PM
@JourneymanGeek Why not? Too hard to choose among all them grrrrrreat candidates? You have the rep.
 
Bob
> Only users with more than 150 reputation can vote in this election.
I'm only 128 there :P
 
:(
 
Bob
I could answer some questions to get more rep.
Hm.
 
@Bob And I'd already upvoted your single question so I can't help there either :)
 
Bob
lol
I haven't really done much Q/Aing recently.
 
1:19 PM
@Bob yeah, but the Celeron NUC that goes that cheap is Sandy Bridge, and that doesn't include RAM or disk :(
@MichaelFrank no. right now Predator is kind of broken, except for on certain custom match types like ARAB
 
Bob
@allquixotic Eh, it's that price on Amazon normally, but as far as AU prices go that's cheap.
Something like $50 below the normal price here.
 
very very few actually good players run Predator, especially not in the solo queue... you can create viable builds around a Predator or two (or more...) if you get a group of 5 people together and plan it out exactly, but it's a bitch to do that
 
@terdon I do?
 
Waystone (the dev) says they are going to fix the Predator class so it's used more often in solo queue
 
@JourneymanGeek Yup. You have 245. It only takes 150 to vote I think.
 
1:21 PM
@Bob yup -- although I seem to have introduced a bug into the code lately that I need to fix because it hasn't been working very reliably... maybe I just need to update my version of libspotify
 
Ahh. I was not aware I did
 
@MichaelFrank if you want me to provide you a tested build of yasdown for Windows, let me know. it's a gray area but I'm fine with providing it to you. I'd just need this weekend to sort out the one bug/regression that seems to be there
 
huh? o.O
Oh, you mean for Spotify?
 
yeah.
I'm not sure I'm calling sp_session_process_events properly (or at the right time)... I tried doing it in a timer and things got wacky so I started calling it in the application idle callback, which seems to work, but I get such weird stuff spewed in the log... :S
 
Oh, well that'd be cool.
 
1:25 PM
I mean... oy
 
cc @Bob ^^
 
Bob
@allquixotic that's a lot of dependencies to manually install :P
 
Just finished this game.
 
@Bob the tested build I provide to Michael (or anyone in here who wants it, really) would have all the dependencies included in the same directory, so just unzip and run
 
Bob
1:27 PM
TIL Application.Idle
 
I think the problem I was having is that sp_session_process_events was setting timeout to 0, which then prompted my timer routine to set the timer for 0 seconds, i.e., trigger it constantly
that might (be/have been) a bug in libspotify
or just IDIW
 
Bob
@allquixotic Application.Idle seems like a rather non-deterministic place to be calling this.
> Occurs when the application finishes processing and is about to enter the idle state.
 
@Bob yeah, basically whenever the OS scheduler thinks "now's a good time"
 
Bob
@allquixotic And only once per idle period?
 
I think "calling sp_session_process_events too frequently" might cause buggy behavior in libspotify.
 
Bob
1:30 PM
What if it receives no more messages, i.e. permanently idle?
 
0
A: Why use nextTimeout in sp_session_process_events()?

paddyThe next_timeout value is there to prevent you from calling sp_session_process_events too frequently, and is not necessarily intended to reduce the number of main thread 'wake-ups'. I don't see anything unusual about the timeout values you're seeing. The notify_main_thread callback is often inv...

@Bob it'll keep calling it periodically... trust me, it calls it a lot :P
there are window messages buzzing all over the place nearly constantly
DWM asking for updates, etc
 
Bob
@allquixotic ya, but again, non-deterministic :P
user moves mouse? it does something and goes idle
user doesn't move mouse? that doesn't happen, so it's going to go a little longer between calls this time
other program launches and causes a screen redraw?
etc. etc. etc.
I wonder why a timer didn't work.
If nothing else it's gotta be more predictable.
...
I just googled for sp_session_process_events and got a whole load of nothing
 
@Bob I have it commented out. basically what happened is that I couldn't get sp_session_process_events to give me a timeout value other than 0
 
Bob
surprised there aren't any public docs
 
there are API docs on developer.spotify.com
i can't get there from work :P
 
Bob
1:35 PM
> According to documentation, libspotify is not thread safe. What does this mean?

It means that you can not invoke any libspotify API function while another API is invoked in a different thread. This includes all of the functions, even sp_session_process_events(). In other words, having a thread that just spins and invokes sp_session_process_events() when needed (either due to that the notification callback fires or a timeout happens), while another thread invokes API functions, is not supported.
o.O
then again, you just have the single (UI) thread so that shouldn't be an issue
 
yeah, I don't actually do any threading in this code (thank god. I had thought of it for the UI updates, but then I realized that most of the callbacks are short enough in duration as to not really disrupt the UI message loop)
Session_OnAudioDataArrived() gets called thousands of times per song download
something like 64K at a time, give or take
(PCM, remember, not MP3 or any other compressed format)
I had thought maybe the Windows message loop is somehow interfering with Spotify or something like that, so maybe I need to call all Spotify functions from a separate, "clean" thread whose entire mainloop is to sleep for as long as sp_session_process_events() tells me to
then do async message event loop queuing with a Dispatcher (basically Form.BeginInvoke, since this is WinForms and not WPF) to update the status in the UI
 
Bob
@allquixotic have you checked the return code?
> Returns:
One of the following errors, from sp_error SP_ERROR_OK
 
@Bob aha. good point. no, I don't check the error code. BAD ME!
meh, I just need to encapsulate the entire "engine" that deals with Spotify at all into its own class, and then its own thread, and provide like 4 high level APIs to interact with it
and just have everything be async with callbacks for inter-thread communication
 
Bob
@allquixotic Just don't forget your synchronisation :P
 
@Bob you shouldn't need synchronization with async... the spotify thread will be its own (only) writer; since the callers of the API (GUI, or whatever) won't be writing at all, no synchronization needed
well, I take that back
the spotify thread needs a thread-safe queue of spotify URLs to download
which gets appended to whenever the GUI makes a request to download a song
 
Bob
1:48 PM
ah, I'm still not that familiar with C# 5 (async, await)
isn't it just syntactic sugar for Task stuff?
 
I meant more along the lines of BeginInvoke, not async keyword
when the spotify thread needs to update the GUI, it can BeginInvoke a lambda into the GUI thread
when the GUI needs to update the spotify thread (the ONLY time it needs to do that is to ask it to download a song), it can enqueue an item into a thread-safe collection
 
Bob
ah
 
I totally do not get that one, even after looked it up
 
great way to find source code on the internet: google.com/…
it hurts
lol
 
2:02 PM
That was great and terribad
 
punny
 
@allquixotic hahaha
 
@Bob the fail at the end of this comment thread is embarrassing -_- (e.g. Greg Havas) plus.google.com/app/basic/stream/…
 
2:41 PM
> This site does not supply identity information.

Connection with this site is not totally safe because it contains unencrypted elements (such as images)
...should I worry?
 
@ThatBrazilianGuy I would
 
for that site I might
unless you have an email with html content, hyperlinked from another domain
which is stupid
whoot
got a load of rep for what was essentially a brain dump
 
@allquixotic ^
and bed time!
 
@CanadianLuke @JourneymanGeek I asked a question on security.se:
0
Q: "No identity information" alert on gmail

That Brazilian GuyAm I being hacked? Firefox is displaying this warning to me: This site does not supply identity information. Connection with this site is not totally safe because it contains unencrypted elements (such as images). Permissions: open popup windows: allow. Clicking on "more info...

 
hm. I'm not sure but that dosen't seem right
and yay, proper translation of non english dialogues !
 
2:53 PM
This might be the cause, but that's 10 years of personal info we're talking about here, so I'd like to be really, really, really sure.
 
Thats mine @ThatBrazilianGuy
Its not screaming at me though ;p
 
@JourneymanGeek Yours is verified by "Google Inc.", mine is by "unspecified". O_o
@JourneymanGeek To be more precise, it shows a ! besides the URL.
The screaming is all done by me.
 
;p
thats screaming
and it seems not quite right
 
>_<
I have to try it from another computer in another OS on another network and see if it changes.
 
3:10 PM
@ThatBrazilianGuy go here grc.com/fingerprints.htm and put in mail.google.com
then compare the fingerprint the server shows with the sha-1 fingerprint in your cert
grc.com and my SSL cert both tell me 84:45:3A:42:E0:2D:3D:50:00:30:C1:2D:D3:2C:26:06:6F:78:AB:3D
 
@allquixotic Same here, both on grc.com and on the Firefox dialog.
 
@ThatBrazilianGuy then it is mathematically impossible that someone is doing something nasty
google's cert just sucks
(it's not EV)
@JourneymanGeek what does your fingerprint say?
VegetaGeek! What does the scouter say about his fingerprint level?
 
!! s/your fingerprint/the fox/
 
!!undo
NO!
 
But... but...
 
3:15 PM
That song is ridiculous! It's worse than the Hamster Dance!
 
let me check again, I did switch off my desktop where I took the screenie from
 
Was my ---joke--- lame attempt worse than
> VegetaGeek! What does the scouter say about his fingerprint level?
 
I refuse to maintain a normal conversation with that... that... ABOMINATION... sitting on the screen, secretly playing through my head
 
84:45:3A:42:E0:2D:3D:50:00:30:C1:2D:D3:2C:26:06:6F:78:AB:3D
 
yep, same
 
3:16 PM
holds up a large book resembling a bible THE POWER OF KNOWLEDGE COMPELS THE FOX TO NOT SAY ANYTHING!
2
 
@CanadianLuke: You're talking to a dog. What is this... normal conversation you speak of?
(we're going to the vet tommorrow, back leg's acting up again :/)
 
@allquixotic THEN WHY IS GOOGLE VERYFYING @JourneymanGeek'S CERTIFICATE BUT NOT MINE!!!!!
 
Words? Knowledge? Intelligence? You got it, JMG, so I can talk to dogs... But foxes are like the lower class citizens of <insert random 3rd world country here>
 
Is it because I'm no cutesy dog?
 
@ThatBrazilianGuy different browsers?
 
3:25 PM
@allquixotic No, I prefer the cute dog theory.
 
@ThatBrazilianGuy what does it say your connection is encrypted with? the cipher suites
 
@CanadianLuke Yeah, people from third-world country are the worst. And the worst of the worst are those in South America. Man, what's with those people!
@allquixotic Sorry, the what?
 
@ThatBrazilianGuy at the bottom of the page info window, like geek posted above
 
My FF 30.0 on Ubuntu doesn't have that last session ("technical details").
 
under the Security tab?
 
3:29 PM
@ThatBrazilianGuy At least you acknowledge the jokingness
 
pics or it didn't happen
 
No, wait, it does, it just doesn't display actual technical details
 
post it
 
Translation:
> Technical details: Partially encrypted connection. Parts of the displayed page aren't encrypted before being sent over the internet. Unencrypted Information is subject to interception.
 
either they made Firefox on Linux more strict about its definition of mixed content, or there's a partial MITM going on there
 
3:33 PM
So it's either nothing to worry about, or something to worry. Great! ;p
WTF. I just (1) opened firebug on the Network tab and (2) CTRL+F5... AND NOW FIREFOX TRUSTS IT.
 
Sweet, I'm the target of a serial downvoter... But not enough to activate the script :/
 
@CanadianLuke You want some more? :)
 
It's on Freelancing.SE
-2 37 mins ago downvote Fixed price development days contract
-2 37 mins ago downvote I have a meeting with a potential client tomorrow and I have no idea what to do.
-2 37 mins ago downvote May you include projects from books into your portfolio
 
@CanadianLuke If it was only 37 minutes ago, it wouldn't trigger the detection
AFAIK the task runs daily
 
I know
It's just irritating
And I'm pretty sure that only 3 downvotes won't activate the script anyways
 
3:54 PM
whoot
repcapped :)
 

« first day (1414 days earlier)      last day (3612 days later) »