Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
tef
May 30, 2004

-> some l-system crap ->

Internaut! posted:

yeah I still use it pretty much daily and for that it's fine

I just assumed people who spend their time working on complex software projects had discovered modern tools that are a lot more context aware than a simple text editor

or are people using vim all riced up with a ton of halfassed plugins

effort

but yeah going out of your way to change the behaviour of the editor is pretty common amongst geeks with too much free time

Adbot
ADBOT LOVES YOU

jony neuemonic
Nov 13, 2009

Internaut! posted:

yeah I still use it pretty much daily and for that it's fine

I just assumed people who spend their time working on complex software projects had discovered modern tools that are a lot more context aware than a simple text editor

or are people using vim all riced up with a ton of halfassed plugins

that's why i use sublime, edit a couple settings and install solarized/colorscheme of choice and you're done

i could probably set macvim up the same way but i'm lazy

Beve Stuscemi
Jun 6, 2001




yo im learning python, despite being a p language it seems pretty sw8

tef
May 30, 2004

-> some l-system crap ->
python's ok

salted hash browns
Mar 26, 2007
ykrop

Olde Weird Tip posted:

yo im learning python, despite being a p language it seems pretty sw8

yeah i did my new project in python (for kicks) and it seems pretty good it's easy to develop in and my code looks pretty readable

tef
May 30, 2004

-> some l-system crap ->
sig check

as seen on hacker news

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome

Internaut! posted:

yeah I still use it pretty much daily and for that it's fine

I just assumed people who spend their time working on complex software projects had discovered modern tools that are a lot more context aware than a simple text editor

or are people using vim all riced up with a ton of halfassed plugins

those people exist and should really probably just use emacs and get over it

Sneaking Mission
Nov 11, 2008

tef posted:

sig check

wanna check that sig

MononcQc
May 29, 2007

http://www.rudism.com/s/vimcreep posted:

It all started out innocently enough. You experimented with it once or twice in your first year of college, but Nano and Pico were easier—closer to what you had already been using during high school on the Windows machines and Macs. But as time went on and you got more experience under your belt in the college-level computer science courses, you started to notice something: All of the really great programmers—the kind who churned out 4 line solutions for an assignment that took you 10 pages of code to complete; the kind who produced ridiculously over-featured class projects in a day while you struggled with just the basics for weeks—none of them used Nano or Pico.

Staying late one night to finish an assignment that was due at midnight, you happened to catch a glimpse over one of the quiet uber-programmer's shoulders. Your eyes twinkled from the glow of rows upon rows of monitors in the darkened computer lab as you witnessed in awe the impossible patterns of code and text manipulation that flashed across the screen.

"How did you do that?" you asked, incredulous.

The pithy, monosyllabic answer uttered in response changed your life forever: "Vim."

At first you were frustrated a lot, and far less productive. Your browser history was essentially a full index to the online Vim documentation; your Nano and Pico-using friends thought you were insane; your Emacs using friends begged you to change your mind; you paid actual money for a laminated copy of a Vim cheat sheet for easy reference. Even after weeks of training, you still kept reaching for your mouse out of habit, then stopped with the realization that you'll have to hit the web yet again to learn the proper way to perform some mundane task that you never even had to think about before.

But as time went on, you struggled less and less. You aren't sure when it happened, but Vim stopped being a hindrance. Instead, it become something greater than you had anticipated. It wasn't a mere text editor with keyboard shortcuts anymore—it had become an extension of your body. Nay, an extension of your very essence as a programmer.

Editing source code alone now seemed an insufficient usage of Vim. You installed it on all of your machines at home and used it to write everything from emails to English papers. You installed a portable version along with a fine-tuned personalized .vimrc file onto a flash drive so that you could have Vim with you everywhere you went, keeping you company, comforting you, making you feel like you had a little piece of home in your pocket no matter where you were.

Vim entered every part of your online life. Unhappy with the meager offerings of ViewSourceWith, you quickly graduated to Vimperator, and then again to Pentadactyl. You used to just surf the web. Now you are the web. When you decided to write an iPhone application, the first thing you did was change XCode's default editor to MacVim. When you got a job working with .NET code, you immediately purchased a copy of ViEmu for Visual Studio (not satisfied with the offerings of its free cousin, VsVim).

Late one night, as you slaved away over your keyboard at your cubicle, working diligently to complete a project that was due the next morning, you laughed to yourself because you knew no ordinary programmer could complete the task at hand before the deadline. You recorded macros, you moved entire blocks of code with the flick of a finger, you filled dozens of registers, and you rewrote and refactored entire components without even glancing at your mouse. That's when you noticed the reflection in your monitor. A wide-eyed coworker looking over your shoulder. You paused briefly, to let him know that you were aware of his presence.

"How did you do that?" he asked, his voice filled with awe.

You smile, and prepare to utter the single word that changed your life. The word that, should your colleague choose to pursue it, will lead him down the same rabbit hole to a universe filled with infinite combinations of infinite possibilities to produce a form of hyper-efficiency previously attainable only in his wildest of dreams. He reminds you of yourself, standing in that darkened computer lab all those years ago, and you feel a tinge of excitement for him as you form the word.

"Vim."

Opinion Haver
Apr 9, 2007

tef posted:

sig check

did you write that sig yourself b/c it owns

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome

so loving gay

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome

yaoi prophet posted:

did you write that sig yourself b/c it owns

someone post it so i dont have to go and turn on sigs

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

yaoi prophet posted:

did you write that sig yourself b/c it owns

didn't execute but i assume it's a japh where p=python. tef has a bit of the perl in him no matter how hard he denies it :3:

MononcQc
May 29, 2007

my editor of choice is a culture thing

*wears XXL vim t-shirt*

*has sweatpants with --INSERT-- written on the rear end*

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

MononcQc posted:

my editor of choice is a culture thing

*wears XXL vim t-shirt*

*has sweatpants with --INSERT-- written on the rear end*

uncalled for

MononcQc
May 29, 2007

I use vim every day and I'll be considering the acquisition of --INSERT-- pants. Maybe --VISUAL-- for people who do not feel comfortable with --INSERT--.

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip
where are you quoting this from

tef
May 30, 2004

-> some l-system crap ->

Panic! At The cisco posted:

wanna check that sig

rotor posted:

someone post it so i dont have to go and turn on sigs

Python code:
print"\n".join(x.rstrip()for x in(lambda y:y["t"](y,5,1))({"t":lambda y,n,w:[
" "*w for _ in xrange(1,w)]+["__"*w]if n == 0 else ["%s%s%s"%(" "*(len(t)//2)
,t," "* (len(t)//2)) for t in y["t"](y,n-1,w)]+["%s%s"%m for m in zip(y["l"](
y,n-1,w), y["r"](y,n-1,w))], "l":lambda y,n,w:["%s/%s"%(" "*i," "*j) for (i,j
) in zip(xrange(w-1,-1,-1), xrange(w,w*2))] if n==0 else ["%s%s%s"%(" "*(len(
t)//2),t," "*(len(t)//2)) for t in y["r"](y,n-1,w)]+["%s%s"%m for m in zip(y[
"t"](y,n-1,w),y["l"](y,n-1,w))],"r":lambda y,n,w:["%s\\%s"%(" "*i," "*j)for(j
,i) in zip(xrange(w-1,-1,-1), xrange(w,w*2))] if n==0 else ["%s%s%s" %(" "* (
len(t)//2),t," "*(len(t)//2)) for t in y["l"](y,n-1,w)]+[("%s%s"%m) for m in(
zip(y["r"](y,n-1,w), y["t"](y,n-1,w)))]}))
code:
                               __
                              /  \
                              \  /
                            __/  \__
                           /        \
                           \__    __/
                         __   \  /   __
                        /  \__/  \__/  \
                        \              /
                      __/              \__
                     /   __          __   \
                     \__/  \        /  \__/
                   __      /        \      __
                  /  \     \__    __/     /  \
                  \  /   __   \  /   __   \  /
                __/  \__/  \__/  \__/  \__/  \__
               /                                \
               \__                            __/
             __   \                          /   __
            /  \__/                          \__/  \
            \      __                      __      /
          __/     /  \                    /  \     \__
         /   __   \  /                    \  /   __   \
         \__/  \__/  \__                __/  \__/  \__/
       __               \              /               __
      /  \            __/              \__            /  \
      \  /           /   __          __   \           \  /
    __/  \__         \__/  \        /  \__/         __/  \__
   /        \      __      /        \      __      /        \
   \__    __/     /  \     \__    __/     /  \     \__    __/
 __   \  /   __   \  /   __   \  /   __   \  /   __   \  /   __
/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \

yaoi prophet posted:

did you write that sig yourself b/c it owns


yes :3: I was bored at work so I started drawing ascii fractals, it's fun.

Otto Skorzeny posted:

didn't execute but i assume it's a japh where p=python. tef has a bit of the perl in him no matter how hard he denies it :3:

i don't deny perl. i just like arrays that don't auto flatten :3:

tef
May 30, 2004

-> some l-system crap ->
don't ask me how it works

Opinion Haver
Apr 9, 2007

the fact that you can change the 5 to other numbers and get more/less recursion is really nice

also it looks like the 1 should be changeable to change the length but there's some bug and lol if you think i'm going to debug that

tef
May 30, 2004

-> some l-system crap ->
Python code:
print "\n".join(x.rstrip() for x in (lambda y:y["t"](y,5,1))({"t":lambda y,n,w:["  "*w for _ in xrange(1,w)]+["__"*w] if n == 0 else ["%s%s%s"%(" "*(len(t)//2),t," "*(len(t)//2)) for t in y["t"](y,n-1,w)]+["%s%s"%m for m in zip(y["l"](y,n-1,w),y["r"](y,n-1,w))],"l":lambda y,n,w:["%s/%s"%(" "*i," "*j) for (i,j) in zip(xrange(w-1,-1,-1),xrange(w,w*2))] if n==0 else ["%s%s%s"%(" "*(len(t)//2),t," "*(len(t)//2)) for t in y["r"](y,n-1,w)]+["%s%s"%m for m in zip(y["t"](y,n-1,w),y["l"](y,n-1,w))],"r":lambda y,n,w:["%s\\%s"%(" "*i," "*j) for (j,i) in zip(xrange(w-1,-1,-1),xrange(w,w*2))] if n==0 else ["%s%s%s"%(" "*(len(t)//2),t," "*(len(t)//2)) for t in y["l"](y,n-1,w)]+ ["%s%s"%m for m in zip(y["r"](y,n-1,w),y["t"](y,n-1,w))]})) 
this was the original before I broke it with line breaks

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome
now do the peano curve

tef
May 30, 2004

-> some l-system crap ->
it's not as pretty http://mathworld.wolfram.com/PeanoCurve.html

tef
May 30, 2004

-> some l-system crap ->
besides I already wrote the hilbert curve in logo

Run at logo.twentygototen.org

Star War Sex Parrot
Oct 2, 2003

look at dat fukken turtle! :buddy:

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome

i guess i meant the hilbert curve, how embarassing :shobon:

tef
May 30, 2004

-> some l-system crap ->

Star War Sex Parrot posted:

look at dat fukken turtle! :buddy:

someone made penrose tiles

Run at logo.twentygototen.org

Zombywuf
Mar 29, 2008

tef posted:

i don't deny perl. i just like arrays that don't auto flatten :3:

Arrays don't flatten, lists flatten, which arrays are coerced to in a list context.

Beve Stuscemi
Jun 6, 2001




tef posted:

Python code:
print"\n".join(x.rstrip()for x in(lambda y:y["t"](y,5,1))({"t":lambda y,n,w:[
" "*w for _ in xrange(1,w)]+["__"*w]if n == 0 else ["%s%s%s"%(" "*(len(t)//2)
,t," "* (len(t)//2)) for t in y["t"](y,n-1,w)]+["%s%s"%m for m in zip(y["l"](
y,n-1,w), y["r"](y,n-1,w))], "l":lambda y,n,w:["%s/%s"%(" "*i," "*j) for (i,j
) in zip(xrange(w-1,-1,-1), xrange(w,w*2))] if n==0 else ["%s%s%s"%(" "*(len(
t)//2),t," "*(len(t)//2)) for t in y["r"](y,n-1,w)]+["%s%s"%m for m in zip(y[
"t"](y,n-1,w),y["l"](y,n-1,w))],"r":lambda y,n,w:["%s\\%s"%(" "*i," "*j)for(j
,i) in zip(xrange(w-1,-1,-1), xrange(w,w*2))] if n==0 else ["%s%s%s" %(" "* (
len(t)//2),t," "*(len(t)//2)) for t in y["l"](y,n-1,w)]+[("%s%s"%m) for m in(
zip(y["r"](y,n-1,w), y["t"](y,n-1,w)))]}))
code:
                               __
                              /  \
                              \  /
                            __/  \__
                           /        \
                           \__    __/
                         __   \  /   __
                        /  \__/  \__/  \
                        \              /
                      __/              \__
                     /   __          __   \
                     \__/  \        /  \__/
                   __      /        \      __
                  /  \     \__    __/     /  \
                  \  /   __   \  /   __   \  /
                __/  \__/  \__/  \__/  \__/  \__
               /                                \
               \__                            __/
             __   \                          /   __
            /  \__/                          \__/  \
            \      __                      __      /
          __/     /  \                    /  \     \__
         /   __   \  /                    \  /   __   \
         \__/  \__/  \__                __/  \__/  \__/
       __               \              /               __
      /  \            __/              \__            /  \
      \  /           /   __          __   \           \  /
    __/  \__         \__/  \        /  \__/         __/  \__
   /        \      __      /        \      __      /        \
   \__    __/     /  \     \__    __/     /  \     \__    __/
 __   \  /   __   \  /   __   \  /   __   \  /   __   \  /   __
/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \
yes :3: I was bored at work so I started drawing ascii fractals, it's fun.


i don't deny perl. i just like arrays that don't auto flatten :3:

poo poo dont even work

File "test.py", line 1
print "\n".join(x.rstrip()for x in(lambda y:y["t"](y,5,1))({"t":lambda y,n,w
:[
^
SyntaxError: invalid syntax

Condiv
May 7, 2008

Sorry to undo the effort of paying a domestic abuser $10 to own this poster, but I am going to lose my dang mind if I keep seeing multiple posters who appear to be Baloogan.

With love,
a mod


Project Jigsaw for java is being delayed again. Now it looks like it'll be released in 2015.

http://mreinhold.org/blog/late-for-the-train

"Mark Reinhold posted:

Jigsaw is currently slated for Java 8. The proposed development schedule for Java 8 expects work on major features to be finished by May 2013, in preparation for a final release around September. Steady progress is being made, but some significant technical challenges remain. There is, more importantly, not enough time left for the broad evaluation, review, and feedback which such a profound change to the Platform demands.

I therefore propose to defer Project Jigsaw to the next release, Java 9. In order to increase the predictability of all future Java SE releases, I further propose to aim explicitly for a regular two-year release cycle going forward.

At least we still get lambdas in Java 8.

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

tef posted:

code:
                               __
                              /  \
                              \  /
                            __/  \__
                           /        \
                           \__    __/
                         __   \  /   __
                        /  \__/  \__/  \
                        \              /
                      __/              \__
                     /   __          __   \
                     \__/  \        /  \__/
                   __      /        \      __
                  /  \     \__    __/     /  \
                  \  /   __   \  /   __   \  /
                __/  \__/  \__/  \__/  \__/  \__
               /                                \
               \__                            __/
             __   \                          /   __
            /  \__/                          \__/  \
            \      __                      __      /
          __/     /  \                    /  \     \__
         /   __   \  /                    \  /   __   \
         \__/  \__/  \__                __/  \__/  \__/
       __               \              /               __
      /  \            __/              \__            /  \
      \  /           /   __          __   \           \  /
    __/  \__         \__/  \        /  \__/         __/  \__
   /        \      __      /        \      __      /        \
   \__    __/     /  \     \__    __/     /  \     \__    __/
 __   \  /   __   \  /   __   \  /   __   \  /   __   \  /   __
/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \__/  \

i like programming. programming is pretty neat

GameCube
Nov 21, 2006

Internaut! posted:

vim all riced up with a ton of halfassed plugins

i use a vim plugin for visual studio, basically the same thing

gangnam reference
Dec 26, 2010

shut up idiot shut up idiot shut up idiot shut up idiot

Werthog posted:

visual studio

0xB16B00B5
Aug 24, 2006

by Y Kant Ozma Post
someone make a joke about visual studio then you press i and get into insert studio

GameCube
Nov 21, 2006


man some of us don't have a choice :saddowns:

Rufus Ping
Dec 27, 2006





I'm a Friend of Rodney Nano

tinselt0wn posted:

someone make a joke about visual studio then you press i and get into insert studio

lol

homercles
Feb 14, 2010

im gonna need more pixels on my screen before i enable sigs

anyone here running portrait instead of landscape? vesa multimon mounts are drat expensive

skeevy achievements
Feb 25, 2008

by merry exmarx

Condiv posted:

At least we still get lambdas in Java 8.

drop groovy in your classpath and get them today

homercles posted:

anyone here running portrait instead of landscape? vesa multimon mounts are drat expensive

I run 3x30" dells in portrait at work but they just sit on their edges on the desk

like this but bigger

skeevy achievements fucked around with this message at 16:53 on Jul 18, 2012

Condiv
May 7, 2008

Sorry to undo the effort of paying a domestic abuser $10 to own this poster, but I am going to lose my dang mind if I keep seeing multiple posters who appear to be Baloogan.

With love,
a mod


Internaut! posted:

drop groovy in your classpath and get them today


I run 3x30" dells in portrait at work but they just sit on their edges on the desk

like this but bigger



I use Scala for the most part, but java lambdas would still be nice.

Adbot
ADBOT LOVES YOU

homercles
Feb 14, 2010

Internaut! what kinda job do you have to merit such a sweet rear end rig?

i was wondering lately why my 8yo work pc was especially slow in Eclipse, turns out the cpufrequtils governator was being environmentally conservative and limux was running at halfspeed permanently just a pleasure really

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply