Some day I will figure out vim and finally be a programmer.... that incredibly expensive piece of paper I'm getting in August notwithstanding.
I've been saying that for about 10 years now while using it nearly every day (I seem to bounce between vim and emacs depending on my mood as well and primarily use vim as my plain text editor in the shell). There are certainly features of it that would make me more productive if I knew them, but honestly, all I've ever truly needed is search, replace, save, quit, delete line, and occasionally I'll have to remember how to do a replace or delete for a range of lines.
While I'd probably never give up my IDEs when programming with Java or C#, I've found that coding python with vim is awesome.
The keybindings feel natural after a while, and having good themes, splits and a few addons make it an awesome tool. You can also just symlink your vim profile and addon files to dropbox and have them around always.
Here is a picture of my current vim setup running inside Terminator, the file browser is NERDTree.
For some reason I always thought vim was strictly a command line editor. I must be thinking of something else... My professors didn't really delve into it all that much. Though one swore by it for debugging purposes.
I'm surprised there aren't message boards like stack overflow oriented around it though. I don't really care for XNA honestly. It seemed out of place. Have they updated it for the new Visual Studios yet or does it still require like C# express version 9 ?
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Nano is my default editor when I'm at a terminal prompt. I'm sure I could use emacs or vim if I spent the time to learn it, but nano is simple and does almost everything I need. Since I'm usually ssh'ing in, I'll also keep a notepad window open and copy/paste between the two if I need to.
I also decided that I really like Sublime Text. But who doesn't?
I'm surprised there aren't message boards like stack overflow oriented around it though. I don't really care for XNA honestly. It seemed out of place. Have they updated it for the new Visual Studios yet or does it still require like C# express version 9 ?
it works on 2010
i don't know what's to like or hate
it's the most basic thin-layered framework to deal with timings and maths and in the case of 2D, just painting an image on the screen
I'm writing basically all of the same code I would write if I just used GLUT with C++, barebones, except for the texture rendering itself
Ok, anyone want to help out a Linux novice? Trying to do a make of nano and I get curses.h: No such file or directory.
I checked and my libncurses5 and libncursesw5 are both up to date. Any ideas?
Ok, anyone want to help out a Linux novice? Trying to do a make of nano and I get curses.h: No such file or directory.
I checked and my libncurses5 and libncursesw5 are both up to date. Any ideas?
install the development packages
(so something like libncurses5-dev or whatever)
I wish that someway, somehow, that I could save every one of us
Ok, anyone want to help out a Linux novice? Trying to do a make of nano and I get curses.h: No such file or directory.
I checked and my libncurses5 and libncursesw5 are both up to date. Any ideas?
install the development packages
(so something like libncurses5-dev or whatever)
This will sound really stupid, but when I try to do that I get "unable to locate package" and a search on my system doesn't find them. Do I need to get those and do a make of those as well?
So, I have been tasked with simplifying the API for our product. It's actually been interesting so far gathering information about what other developers just can't grasp about our framework.
I learned that these things are challenging: Serialization, XML, Command Pattern, "Cloud" Processing.
This is going to be fun.
0
ShivahnUnaware of her barrel shifter privilegeWestern coastal temptressRegistered User, Moderatormod
I can't really help, but that is an excellent comment you have there.
It's not surprising people struggle with that first one (how many programmers do you know understand how integers and such are mapped in memory let alone how to represent that as binary data in a file?), the second one is just
The last two are business buzz words so there's no real meaning behind it? As far as I knew Command Pattern was just a fancy way to say "Implement an interface and keep a collection of objects of that interface".
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
It's not surprising people struggle with that first one (how many programmers do you know understand how integers and such are mapped in memory let alone how to represent that as binary data in a file?), the second one is just
The last two are business buzz words so there's no real meaning behind it? As far as I knew Command Pattern was just a fancy way to say "Implement an interface and keep a collection of objects of that interface".
The interesting part is the last two. I have tried to explain how we accomplish what we do, and when I do explain it the closest approximation I can come up with is Command Pattern.
What I am going to end up doing is giving people a class they can create an instance of that contains one method that they can call and pass a string and an enum value.
Trying to edit this makefile to work on my computer is becoming a chore.
F90 = df.exe
I can't seem to find this "df" it's looking for.
Do you have a Fortran 90 compiler installed?
I don't. Just going through these examples that I'm finding haven't had me install one yet. And nothing on his article suggests that I need one. Should I find one and install it? Most of the stuff that's listed in the makefile are located in the Windows DDK.
It's not surprising people struggle with that first one (how many programmers do you know understand how integers and such are mapped in memory let alone how to represent that as binary data in a file?), the second one is just
The last two are business buzz words so there's no real meaning behind it? As far as I knew Command Pattern was just a fancy way to say "Implement an interface and keep a collection of objects of that interface".
The interesting part is the last two. I have tried to explain how we accomplish what we do, and when I do explain it the closest approximation I can come up with is Command Pattern.
What I am going to end up doing is giving people a class they can create an instance of that contains one method that they can call and pass a string and an enum value.
That is pretty much a command pattern, AFAIK. Common ways of implementing that are with interfaces/virtual inheritance (I think that's what it's called in c++ anyways).
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
It's not surprising people struggle with that first one (how many programmers do you know understand how integers and such are mapped in memory let alone how to represent that as binary data in a file?), the second one is just
The last two are business buzz words so there's no real meaning behind it? As far as I knew Command Pattern was just a fancy way to say "Implement an interface and keep a collection of objects of that interface".
The interesting part is the last two. I have tried to explain how we accomplish what we do, and when I do explain it the closest approximation I can come up with is Command Pattern.
What I am going to end up doing is giving people a class they can create an instance of that contains one method that they can call and pass a string and an enum value.
That is pretty much a command pattern, AFAIK. Common ways of implementing that are with interfaces/virtual inheritance (I think that's what it's called in c++ anyways).
Yeah, we just had a lot more boilerplate that they needed in order to be able to get our service to execute the command they wanted.
So, I have been tasked with simplifying the API for our product. It's actually been interesting so far gathering information about what other developers just can't grasp about our framework.
I learned that these things are challenging: Serialization, XML, Command Pattern, "Cloud" Processing.
This is going to be fun.
I would hope that they say XML is "challenging" because it's heinously overused and rarely fully applicable. It's the jack-of-all-trades markup: suitable for everything, ideal for nothing. Dealing with it directly, instead of through some convenient API, is the very definition of a chore.
The rest are reasonable though, I think. Serialization can be a pain to get right on all the edge cases, remote processing has to be centralized to avoid conflicts and resource scarcity, and... well, the command pattern could be considered complex, depending on the language. It's just the object-oriented version of a function closure for languages without proper first-class functions.
I started using PDO again, what does this mean? "Call to a member function prepare() on a non-object." I'm on a new server so I think it's just an error on my part.
I started using PDO again, what does this mean? "Call to a member function prepare() on a non-object." I'm on a new server so I think it's just an error on my part.
I started using PDO again, what does this mean? "Call to a member function prepare() on a non-object." I'm on a new server so I think it's just an error on my part.
Wow I thought nano and pico were installed by default?
Pico is almost always just an ln -s to nano. Pico was part of the Pine suite of command line utilities for various shenanigans like email that the UW wrote back in the precambrian, whereas Nano is an improved gpl rewrite of it.
"I resent the entire notion of a body as an ante and then raise you a generalized dissatisfaction with physicality itself" -- Tycho
0
GnomeTankWhat the what?Portland, OregonRegistered Userregular
Nano isn't even a full re-write, it's just a license change. Pico was released under a non OSI complaint license, so they forked it, made a few changes, re-did the license, and called it Nano.
Posts
it's not a requirement
The keybindings feel natural after a while, and having good themes, splits and a few addons make it an awesome tool. You can also just symlink your vim profile and addon files to dropbox and have them around always.
Here is a picture of my current vim setup running inside Terminator, the file browser is NERDTree.
surprised that there is no real open source community for XNA
oh wait
no i am not surprised at all
Nano is my default editor when I'm at a terminal prompt. I'm sure I could use emacs or vim if I spent the time to learn it, but nano is simple and does almost everything I need. Since I'm usually ssh'ing in, I'll also keep a notepad window open and copy/paste between the two if I need to.
I also decided that I really like Sublime Text. But who doesn't?
it works on 2010
i don't know what's to like or hate
it's the most basic thin-layered framework to deal with timings and maths and in the case of 2D, just painting an image on the screen
I'm writing basically all of the same code I would write if I just used GLUT with C++, barebones, except for the texture rendering itself
I checked and my libncurses5 and libncursesw5 are both up to date. Any ideas?
install the development packages
(so something like libncurses5-dev or whatever)
This will sound really stupid, but when I try to do that I get "unable to locate package" and a search on my system doesn't find them. Do I need to get those and do a make of those as well?
I snagged a VMWare image because I didn't want to have to install it myself. I may have to go back to square one it seems.
I tried that.
TARGET = example TARGETDIR = ..\..\bin\x86 ASM = ml CPP = \x86\cl RSC = rc.exe F90 = df.exe MTL = midl.exe REBASE = rebase.exe OBJDIR = .\obj\i386 ASM_PROJ=/coff /c /Fo$(OBJDIR)\\ CPP_PROJ=/nologo /MD /W3 /Oxs /Gz /Zi \ /I "..\..\..\..\inc" \ /I "..\inc" \ /I "\NTDDK\inc" \ /D "WIN32" /D "_WINDOWS" \ /Fr$(OBJDIR)\\ /Fo$(OBJDIR)\\ /Fd$(OBJDIR)\\ /c LIB32= link.exe LIB32_FLAGS = /LIBPATH:..\..\..\..\lib /LIBPATH:\NTDDK\libfre\i386 /DEBUG /PDB:$(TARGETDIR)\SYMBOLS\$(TARGET).PDB -entry:DriverEntry /SUBSYSTEM:NATIVE /nologo $(LIBS) /out:$(TARGETDIR)\$(TARGET).sys OBJS = \ $(OBJDIR)\entry.obj \ $(OBJDIR)\functions.obj LIBS = \ wdm.lib \ ntoskrnl.lib # This is a comment $(TARGETDIR)\$(TARGET): $(OBJDIR) $(TARGETDIR) $(OBJS) $(RESFILE) $(LIB32) $(LIB32_FLAGS) $(OBJS) $(LIBS) $(RESFILE) $(REBASE) -b 0x00400000 -x $(TARGETDIR)\SYMBOLS -a $(TARGETDIR)\$(TARGET) {.\}.c{$(OBJDIR)}.obj:: $(CPP) $(CPP_PROJ) $< {.\}.cpp{$(OBJDIR)}.obj:: $(CPP) $(CPP_PROJ) $< {.\}.asm{$(OBJDIR)}.obj:: $(ASM) $(ASM_PROJ) $< {.\}.rc{$(OBJDIR)}.res:: $(RSC) $(RES_PROJ) $< $(OBJDIR): if not exist "$(OBJDIR)/$(NULL)" mkdir "$(OBJDIR)" $(TARGETDIR): if not exist "$(TARGETDIR)/$(NULL)" mkdir "$(TARGETDIR)" CLEAN: [email protected] /S /Q $(OBJDIR)I can't seem to find this "df" it's looking for.
I learned that these things are challenging: Serialization, XML, Command Pattern, "Cloud" Processing.
This is going to be fun.
A self-documenting comment, even.
Do you have a Fortran 90 compiler installed?
The last two are business buzz words so there's no real meaning behind it? As far as I knew Command Pattern was just a fancy way to say "Implement an interface and keep a collection of objects of that interface".
The interesting part is the last two. I have tried to explain how we accomplish what we do, and when I do explain it the closest approximation I can come up with is Command Pattern.
What I am going to end up doing is giving people a class they can create an instance of that contains one method that they can call and pass a string and an enum value.
I don't. Just going through these examples that I'm finding haven't had me install one yet. And nothing on his article suggests that I need one. Should I find one and install it? Most of the stuff that's listed in the makefile are located in the Windows DDK.
That is pretty much a command pattern, AFAIK. Common ways of implementing that are with interfaces/virtual inheritance (I think that's what it's called in c++ anyways).
Yeah, we just had a lot more boilerplate that they needed in order to be able to get our service to execute the command they wanted.
I would hope that they say XML is "challenging" because it's heinously overused and rarely fully applicable. It's the jack-of-all-trades markup: suitable for everything, ideal for nothing. Dealing with it directly, instead of through some convenient API, is the very definition of a chore.
The rest are reasonable though, I think. Serialization can be a pain to get right on all the edge cases, remote processing has to be centralized to avoid conflicts and resource scarcity, and... well, the command pattern could be considered complex, depending on the language. It's just the object-oriented version of a function closure for languages without proper first-class functions.
It'd have been great if it was simple, nope, they have an overabundance of tags in the spec.
Haha I didn't even see that. Like I said I pulled this from a guy's tutorial on windows drivers.
$sql = "INSERT INTO online_customers (customer_id, first_name, middle_name, last_name, company_name, email, phone, password, is_active,activation_key) VALUES (:customer_id,:first_name,:middle_name,:last_name,:company_name,:email,:phone,:password,:is_active,:activation_key)"; $q = $conn->prepare($sql); $q->execute(array(':customer_id'=>$customer_id,':first_name'=>$first_name,':middle_name'=>$middle_name,':last_name'=>$last_name,':company_name'=>$company_name,':email'=>$email,':phone'=>$phone,':username'=>$username,':password'=>$hash,':is_active'=>$is_active,':activation_key'=>$activation_key));It means it's not reading $conn as an object. Are you positive it's declared and accessible in that file?
Aw damn, you're correct. I need a PDO connect first. Thank you.
Bless your heart.
Pico is almost always just an ln -s to nano. Pico was part of the Pine suite of command line utilities for various shenanigans like email that the UW wrote back in the precambrian, whereas Nano is an improved gpl rewrite of it.