Open Side Menu Go to the Top

08-07-2012 , 08:23 AM
No, I don't want to bitch. I want this problem solved. I know exactly how I would do it in any Windows or Linux build I would use. Why doesn't it "just work" in OSX?

Here, I deleted the SE 7 JVM and restored it to the identical pane you have. Rebooted, restarted all browsers, cleared all cache, and you're looking at it in a Chrome incognito window.

** 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 **
08-07-2012 , 08:32 AM
Agree with Noah and Neil. Generally use a single return point unless a good case exist for doing something different.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 08:32 AM
Well delete the stock ones as well I'd say. If it didn't work after you installed them to begin with.

Again, sorry. I didn't realize just how touchy I was getting this morning. LOUD NOISES. RIGHT OUTSIDE. NOT GOING TO STOP ALL DAY. *sigh* My fault for not realizing it and modulating my posting accordingly.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 08:36 AM
It's fine. I have dealt with a lifetime of Thremp. I can filter out noise/rage for good info.

I've been up all night working on database ****. Had another bounty on StackOverflow that didn't get answered because no one could tell me how to correctly load sqlsrv functions in PHP 5.3, so I have to use ****ty ODBC drivers.

But I can't use ODBC drivers on my Macbook, because I can't connect to the DBs without VPN access. And our VPN client requires Java.

So I'm doing development on my Linux machine because it actually works instead of my $2500 Mac Retina because no one can tell me how to load MSSQL extensions into PHP for OSX nor can they tell me how to install/configure Java correctly.

OSX is worlds better than Linux and Windows for 90% of tasks, I've found. But when things rely on "it just works" magic, irreparable damage is inevitable. As evidenced.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 10:38 AM
Quote:
Originally Posted by kyleb
I have dealt with a lifetime of Thremp.
Insta suicide.


Anyone here nerdy enough to have played Vim Golf? Super nerdy but it sounds like great practice using Vim
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 11:22 AM
Quote:
Originally Posted by PJo336
Insta suicide.


Anyone here nerdy enough to have played Vim Golf? Super nerdy but it sounds like great practice using Vim
Nope, but I have played Vim Adventures!! http://vim-adventures.com/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 12:24 PM
Quote:
Originally Posted by MrWooster
Nope, but I have played Vim Adventures!! http://vim-adventures.com/
Haha, awesome
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 12:33 PM
ha great. i just installed vimium to practice navigating the web with the shortcuts
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 01:00 PM
You really don't need much to get really effective with vim. You could probably learn like 5% of the shortcuts and end up being able to use it well enough that you won't feel like you're losing time or struggling.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 01:36 PM
I dont want to start a discussion about the pros/cons of vim vs emacs, its long been shown that it doest really matter which editor you choose to go with. What does matter is that you choose one and learn how to use it.

Wherever you go, whatever you do, you will be able to do it in either Vim or Emacs.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 02:45 PM
i will give it a shot shortly, and i will not be going all out.

this advice seems right, altho title could be worded better
http://yehudakatz.com/2010/07/29/eve...vim-was-wrong/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 03:52 PM
Quote:
Originally Posted by greg nice
i will give it a shot shortly, and i will not be going all out.

this advice seems right, altho title could be worded better
http://yehudakatz.com/2010/07/29/eve...vim-was-wrong/
This post is right. I didn't drop the arrow keys and mousing day one with Vim. That came over time. Literally just one day it clicked and I started using hjkl properly and it felt natural to do so.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 05:41 PM
Quote:
Originally Posted by gaming_mouse
vim is great but also any IDE will solve the problem you're describing. Pretty much all you need is a jump to definition hotkey, or an outline view pane of your code.
i use notepad++ and i cant find any feature like this

and researching vim, it seems i need some type of ctags plugin to do it?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 06:11 PM
Quote:
Originally Posted by clowntable
Here's why you should know vim/some light standardish unixoid editor...one day everything will fail miserably and you'll have to ssh into some box to fix large chunks of code and configuration and do it as fast as possible. Good luck if you've been using Eclipse or smth all your life.
nano, though
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 06:18 PM
Quote:
Originally Posted by ChazDazzle
nano, though
It takes about 5 minutes to learn all the features of nano in vim

edit - the point being that if you learn how to use nano, you might as well have learned how to use vim
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 06:25 PM
Hey kyle, now I'm wondering about your issue. I gathered you just went to unix and finished your task there, but I'm still wondering if the fix is just wiping the stock Javas and getting the OS to reinstall it itself.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 07:08 PM
Wait what is wrong with 'else'? I dont understand your argument against it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 07:21 PM
I gave up and installed Mountain Lion. It now works. I have no idea what the root cause was.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 07:44 PM
Quote:
Originally Posted by greg nice
i use notepad++ and i cant find any feature like this

and researching vim, it seems i need some type of ctags plugin to do it?
yep, you need ctags or another plugin to do it in vim

any IDE will have it built in though, if you wanted to go the easier route. but ctags in vim is not that hard to set up

the problem is pretty important to solve. if you think about it, currently you are letting the arbitrary view you have of your code (your current text editor) dictate your structural decisions about that code.

as opposed to insisting on the natural conceptual structure that you want as a human being, and then finding a tool that allows you to see and express that structure. ofc, even vim or a good IDES won't do this perfectly, but you can get a lot closer than you are now.

EDIT: also, looks like notepad++ does has some plugins for it: http://stackoverflow.com/questions/7...-to-definition
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 10:20 PM
Quote:
Originally Posted by clowntable
That Hickey keynote is really good. Highly recommended, thanks for posting.
Glad you enjoyed it. I started watching the one in infoq, but the youtube one is much better and to the point.

Quote:
Originally Posted by Ryanb9
Wait what is wrong with 'else'? I dont understand your argument against it.

Code:
if: <code>

else: pass / lone comment / whatever 
         <never code here>
That the above is even suggested or up for debate is out-right strange to me, and I think that this is plain wrong that people would seriously resort to this for readability on something so fundamental to programming.

If you want to look at the "when and how to use else-block" wars, just look no further than the long threads on SO or anything on Google. The suggestions around "else" are many and spark tons of debate, and a debate on something that really should be moot. I mean, no one has long circular debates on how to create a function or how to create a variable in their favorite language because there's (usually) only one way to do so (naming conventions aside, obv).

As I said, I think the way Lisp handles if-expressions is far more intuitive and most certainly far less ambiguous. No one would ever look at an if block in Lisp and say "I'd rather do it this way because it's more readable." No, there's one way to do it, and if you change it, the program fails, and that is, IMO, how it should be on the elements of the programming language.

Code:
(if (< Boolean test>)
    <do this if true>
    <do this if false>)
That's it. No other alternative. If you don't like it, so what, just get back to worrying about **** that matters which tends to be more interesting and less trivial that when to you that worrying about how to format an else expression or making a decision one using one.

Now that I think of it, I think that from now on in Python, I'll just use else at all times because otherwise, I'm just wasting time with it for reasons I can't justify outside of some unknown preference, though I will never use the abomination that is a commented out else-block. Lines have to be drawn somewhere.

*mind that I am also a weirdo, so take my rants for what they are: babbling rants, sort of.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 10:24 PM
Maybe I can convince you to consider emacs with three simple commands (terminal games!):

M-x Pong
M-x Tetris
M-x Snake

I can only wish this myth was true:

M-C Hammer
==> Error: "Can't Touch This."

But it's not, as far as I know....
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-07-2012 , 11:29 PM
If I'm getting 3Mbps download speed internet, what is a solid modem that I can get on the cheap right now?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-08-2012 , 12:18 AM
one from a different isp?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-08-2012 , 07:17 AM
I thought I could buy a new modem when I got a line in recently but it didn't work, phoned them up and it's because only the service provided modem will work with it! So you might want to check that first.

If you're looking for a good router I recommend the ASUS RT-N16 and I've heard Tomato:
http://www.polarcloud.com/tomato/

Is good firmware to install on it (but haven't done it to mine yet)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-08-2012 , 07:47 AM
I'm moving into a new place and currently don't have a modem. Isp wants to charge 75$ for theirs or they said I can provide my own. I was hoping to grab a decent used one off ebay/cl for ~50$.

Didn't know if my internet speed would be a bottleneck to higher grade modems though?
** 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