Open Side Menu Go to the Top

04-25-2014 , 09:33 PM
I want 'em both open and in place with one click! Haha, I guess I'm just lazy. The little shortcut thing helps.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
04-25-2014 , 09:50 PM
Quote:
Originally Posted by KatoKrazy
I had the interview this morning. I think it went well, I really hope I get it.

The position will be with the testing team for PCIe SSDs, which is freaking cool as hell. I would be working in C/C++ and TCL. Part of the job is working on the user interface and scripting for the firmware team to use, and the other part is working on the lower level stuff to get the tools and the hardware to talk back and forth.

It seems like I would learn a ton, and would be really interesting.
Perhaps that PITA bit manipulation homework has a chance to be relevant. Hope you get it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 02:54 AM
Quote:
Originally Posted by Phresh
I want 'em both open and in place with one click! Haha, I guess I'm just lazy. The little shortcut thing helps.
You highlight both of them and press enter?

Of all the time-saving things one can do, this is probably the most bizarre micro-optimization I've heard of... and my coworkers think I'm weird.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 04:21 AM
I have a "start programming" script (Python) on my desktop. It just opens Eclipse, FF and a bunch of terminal windows that are CDed into the right directory, have a title (SVN, DB etc) and do some minor stuff (start a server, tail a log, su to the database user etc.)

Haven't really used windows in forever but my guess is you could just have a script that calls explorer.exe folder for all the folders you want open?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 06:51 AM
Phresh, oh maybe someone disabled it.

You can right click your taskbar -> properties -> [start menu tab] -> enable both of the privacy check boxes.

But if you have manual shortcuts setup already that'll be faster. This just saves some room on your taskbar.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 01:28 PM
Quote:
Originally Posted by jjshabado
I only turn my computer off once a month. And I think OSX just remembers what I had open and where.
+1
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 02:14 PM
Doesn't work if you have multiple monitors. Mac is way behind Windows when it comes to remembering different monitor setups and moving your programs around accordingly. You have to use a third-party utility like Display Maid – which has side effects like it generally makes your system unstable and do weird things.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 02:58 PM
Granted, prior to Mavericks dual monitors sucked balls on osX though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 03:02 PM
I have noticed more stability when plugging/unplugging thunderbolts, since switching to Mavericks. Almost makes up for it taking several minutes to reconnect to my Wi-Fi after waking up from sleep. How the hell did they screw that up so bad in mavericks and why isn't it patched yet?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 04:23 PM
13 networks show up in my wireless menu and I don't notice any lag when waking from sleep, how old is your hardware?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 05:13 PM
I have a pretty new MacBook Air.

http://www.macworld.com/article/2146...-wakes-up.html

http://www.google.com/search?q=maver...20from%20sleep

I'm trying the setServiceOrder thing now.

Edit: still takes forever for any networks to show up. Then it still doesn't connect to my home network even though it shows up on the list. I have to manually pick it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 05:16 PM
Speaking of uptime, I once had Windows 7 up for 202 days before deciding to reboot.

Do you guys have any fun/interesting uptime reports for either your dev box or long running servers/processes?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 05:22 PM
Something about the combo of DisplayMaid, Synergy, Logitech mouse drivers, node, Redis, Remote Desktop, Cisco VPN, or plugging/unplugging from 2 thunderbolts at work or 30" at home seems to make my Mac unstable enough that I have to reboot every couple of days.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 05:36 PM
Quote:
Originally Posted by Shoe Lace
Speaking of uptime, I once had Windows 7 up for 202 days before deciding to reboot.

Do you guys have any fun/interesting uptime reports for either your dev box or long running servers/processes?
I had a VPN connection open to work for 400 hours once...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 10:23 PM
Quote:
Originally Posted by Shoe Lace
Speaking of uptime, I once had Windows 7 up for 202 days before deciding to reboot.

Do you guys have any fun/interesting uptime reports for either your dev box or long running servers/processes?
Not mine, but http://arstechnica.com/information-t...beat-16-years/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-26-2014 , 10:41 PM
I'm sure one of those banking mainframes has that number crushed.

Think my record is about 2 hours running a 215 x 6,000 macro-enabled excel sheet + a web browser.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-27-2014 , 06:35 PM
16+ years is pretty beastly. I'm surprised it lasted so long and that the HD ended up being the deciding factor. Pretty impressive considering how old that tech was but somehow I'm not too surprised.

Some older tech lasts so long. Think about tube amps for instance.

What about satellites and other things we launch in space. I guess those are up full time? I remember watching a talk about the mars rover code base. It was like a million+ lines of ridiculously well tested/reviewed/statically analyzed C and of course can do hot code swaps.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-27-2014 , 10:41 PM
Quote:
Originally Posted by daveT
Think my record is about 2 hours running a 215 x 6,000 macro-enabled excel sheet + a web browser.
I'm shocked, just shocked, I didn't get a standing ovation for pulling this off.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-27-2014 , 11:09 PM
Is there a not-annoying way in java to parse through a web page's HTML and extract all the links to pictures? I need the complete path name in each case.

My professor wants us to do incredibly annoying things with strings and i'm just really not in the mood.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-28-2014 , 01:07 AM
You mean besides using substring search loop through the whole html code?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-28-2014 , 04:51 AM
You should obviously use a dedicated library for that but since it's a course my guess is that it's either aimed at learning regexps so java.util.regex.Pattern.matches() or whatever it's called.
So tl;dr: java.util.regex.Pattern + java.util.regex.Matcher

Obvious better solution is writing an ANTL grammer to handle this
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-28-2014 , 11:39 AM
Quote:
Originally Posted by Barrin6
You mean besides using substring search loop through the whole html code?
Yea that's what I did.

I found a few libraries that handle this sort of thing but was still too lazy last night to implement them. I'm really getting burnt out haha.

I thought it was a pretty cool application though and one of the better HW assignments he's had us do.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-28-2014 , 12:14 PM
[insert "using rexex to parse html" link here]
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-28-2014 , 12:20 PM
Don't forget you'll need to keep the HTML page URL to work out the URL of the image as most of the time they are relative.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-28-2014 , 07:18 PM
I'm provided the HTML page URL already, I just added the file extension to the end of it. I ended up just using a delimiter and a loop to find anywhere that had the tag "img src =" and then whatever the jpg/gif extension was.

Not perfect but it passed all the tests so whatever. I'll have to screw around with Pattern/Matcher, I've never used those before.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m