|
Counter Punch posted:Any ideas? [on slowing down copy and paste speed] Sorry, but it's not possible. Clipboard data is read by the application in one large chunk, and it's up to the application to process it however it's going to do it.
|
# ? Jul 10, 2008 19:15 |
|
|
# ? May 14, 2024 14:02 |
|
csammis posted:Sorry, but it's not possible. Clipboard data is read by the application in one large chunk, and it's up to the application to process it however it's going to do it. Actually, it depends on the storage medium used by the clipboard data. For something like Excel data, it's probably stored in global memory, so you'd be out of luck there, but it's totally possible to pass an IStream interface as the storage medium, and you could put in arbitrary delays when reading from the stream. This would be a pretty complicated task and would require the terminal to support reading from an IStream interface, though.
|
# ? Jul 10, 2008 19:32 |
|
Avenging Dentist posted:Actually, it depends on the storage medium used by the clipboard data. For something like Excel data, it's probably stored in global memory, so you'd be out of luck there, but it's totally possible to pass an IStream interface as the storage medium, and you could put in arbitrary delays when reading from the stream. Yeah, sorry, I should've been more specific. There's no external way to slow down your basic inter-application clipboard reading or writing, like a registry setting or whatever. If you want to go completely nuts, you could do what AD suggested, but it's probably easier just to copy+paste smaller chunks.
|
# ? Jul 10, 2008 19:49 |
|
Counter Punch posted:I'm working on a way to transfer data from an excel spreadsheet into an old NetTerm interface. I'm not familiar with NetTerm, but it might be easy to write a small app in Python or something which just watches for anything copied to the clipboard, reads it all, and then writes it back to the clipboard in smaller chunks with a pause between each chunk. I'd use PyQt for this because the Qt clipboard API's pretty easy to use, but that's because I'm already familiar with it and I have it set up - the Windows clipboard API is easy to use to so a small VB script might be just as good.
|
# ? Jul 10, 2008 20:18 |
|
JoeNotCharles posted:I'm not familiar with NetTerm, but it might be easy to write a small app in Python or something which just watches for anything copied to the clipboard, reads it all, and then writes it back to the clipboard in smaller chunks with a pause between each chunk. I'd use PyQt for this because the Qt clipboard API's pretty easy to use, but that's because I'm already familiar with it and I have it set up - the Windows clipboard API is easy to use to so a small VB script might be just as good. You'd have to invoke Paste events on the NetTerm session as well.
|
# ? Jul 10, 2008 20:44 |
|
mister_gosh posted:I don't think you can profit from reselling open source, so I would be careful how you implement and charge (and read the small print of any source package you use). Most open source licenses allow you to resell/profit. The GPL as well as BSD-style licenses absolutely do. I could take a GPL'd piece of software, rebrand it, and sell it for $1000 a copy. The main catch is the requirement to distribute the source code to anyone you give binaries to, and to do so with your own modifications GPL'd. What exactly qualifies as distribution can be sticky sometimes, but usually it's pretty clear cut. BSD-style licenses are much simpler, and generally boil down to "This copyright notice must be included in all copies of the software". (Though there are many that have other small variations) For example, I could take putty, rename it, and sell it WITHOUT source code as long as I leave the original copyright notices intact. Most common licenses are fairly short and easy to understand, so yes know the license before you redistribute someone else's software. However, provided the license requirements are met, it can almost always be modified and resold. That's half the point of open source.
|
# ? Jul 11, 2008 00:00 |
|
I'm completely loving new at this so bare with me. I need some code to stop a script from dying. Right now what I have is whenever you click on a button, the script launches whatever exe is specified. If you cancel that installation however the script gives an error and whatever else saying "Operation Canceled by User" Is there some sort of easy vb I can throw into this so that doesn't happen?
|
# ? Jul 11, 2008 20:53 |
|
Daedalus256 posted:I'm completely loving new at this so bare with me. No. fake edit: probably, but we're not psychic. We'd need the code that is responsible for running the EXE at the very least.
|
# ? Jul 11, 2008 21:00 |
|
csammis posted:No. Oh, sorry. Like I said I'm literally just starting out with VB. Here's an example using CCleaner: <SCRIPT LANGUAGE="VBScript"> Function ccleaner() set oShell = createobject("wscript.shell") cDir= oShell.currentdirectory oShell.Run "ccsetup209.exe", 4, 1 end Function </script> <br><br> <button onclick="ccleaner"STYLE="background-color:FFFFCC"><font size="3" face="Georgia" color="red"> Launch CCleaner Installer </font></button>
|
# ? Jul 11, 2008 21:44 |
|
Has anyone recently taken the computer science GRE? And if so, can you recommend any resources? Apparently, every online resource is dated and every book is inadequate. And inadequate is a euphemism for a giant piece of poo poo.
|
# ? Jul 14, 2008 04:20 |
|
this is probably a stupid question but what do you guys think are better for programming: macs or PCs? right now, i have a huge rear end 3.5-year-old Inspiron8600 that is too big and bulky that i hate. i'm thinking about buying a new laptop that's either a MacBook or one of the new Netbooks, although i'm a little hesitant to code on those due to the small screen size.
|
# ? Jul 14, 2008 06:01 |
|
Geno posted:this is probably a stupid question but what do you guys think are better for programming: macs or PCs? Macs, because OS X is Unix-derived, which is a much better programming environment than Windows.
|
# ? Jul 14, 2008 06:32 |
|
Scaevolus posted:Macs, because OS X is Unix-derived, which is a much better programming environment than Windows. Unless your doing .Net
|
# ? Jul 14, 2008 06:35 |
|
MEAT TREAT posted:Unless your doing .Net (I prefer Windows but I haven't used a Mac since System 7 so who knows. I hear it's pretty good now.)
|
# ? Jul 14, 2008 06:56 |
|
Sup Inspiron 8600 buddy. I can't speak for the Mac side, but there are a some exciting things happening right now on windows. Plus, I'm a huge fan of Visual Studio. So I guess I vote Windows.
|
# ? Jul 14, 2008 07:12 |
|
Geno posted:this is probably a stupid question but what do you guys think are better for programming: macs or PCs? If you are writing mac software, macs. If you are writing windows software, pcs. Why not ask this in sh/sc as I am sure this sensible question will get a sensible answer. Beyond that I think the answers are in the realms of personal preference. I would suggest avoiding anything with Vista
|
# ? Jul 14, 2008 08:44 |
|
tef posted:Beyond that I think the answers are in the realms of personal preference. Silly tef, an open ended question is clearly a plea for personal opinions and anecdotal evidence.
|
# ? Jul 14, 2008 08:47 |
|
Scaevolus posted:Silly tef, an open ended question is clearly a plea for personal opinions and anecdotal evidence. So - how do you pronounce Mac OS X, do you say ecks or ten ? Can we at least have one thread where we don't derail it into moot arguments about trivialities? (probably not)
|
# ? Jul 14, 2008 09:09 |
|
You assholes better not derail this thread, we've got like three dedicated to that already ~>
|
# ? Jul 14, 2008 14:06 |
|
tef posted:I would suggest avoiding anything with Vista Why? I work solely with Vista, and have for the last year and a half, and I haven't had any problems that were new to Vista (i.e. that didn't exist in XP.) I'm even using 64-bit. Edit: Some kid in my CS program pronounces Vista "vee-sta" and it's really annoying.
|
# ? Jul 14, 2008 17:00 |
|
Ugg boots posted:If the original poster still thinks this is a good question, can we move it to a thread.
|
# ? Jul 14, 2008 17:35 |
|
Ugg boots posted:Why? I work solely with Vista, and have for the last year and a half, and I haven't had any problems that were new to Vista (i.e. that didn't exist in XP.) I'm even using 64-bit. Please don't, I could manage a 5 page derail all by myself on that one.
|
# ? Jul 14, 2008 18:09 |
|
Zombywuf posted:Please don't, I could manage a 5 page derail all by myself on that one. Wasn't trolling, sorry.
|
# ? Jul 14, 2008 18:13 |
|
Can anyone recommend a spell checker for source code? I'll need it mostly for checking C sources, but hopefully there's something multi-language.
|
# ? Jul 14, 2008 19:21 |
|
In a C# application I'm wanting to make a class that has a List as a member, but I keep running into the issue that if I try to add some items to the List, but I run into the issue that the list is null. I thought that maybe I had to instantiate the list in the constructer of the class, but that didn't work either. I'm missing something obviously.code:
code:
|
# ? Jul 15, 2008 17:15 |
|
Femtosecond posted:In a C# application I'm wanting to make a class that has a List as a member, but I keep running into the issue that if I try to add some items to the List, but I run into the issue that the list is null. I thought that maybe I had to instantiate the list in the constructer of the class, but that didn't work either. I'm missing something obviously. code:
code:
Don't forget you still need the parens when you instantiate it. With generics it's a little confusing to have both the <> and ().
|
# ? Jul 15, 2008 17:39 |
|
DLCinferno posted:But you're not instantiating it. You need to do either Ahh I knew I needed to create the list in some way. I actually had written in code:
in the constructor and that didn't work. Changing it to: code:
worked since I had already declared m_Stufflist earlier.
|
# ? Jul 15, 2008 18:03 |
|
Apologies if this has been answered, but I'm writing documentation for some internal libraries that I wrote at work and I'm looking for a tool to quickly and easily make nice diagrams to avoid the whole thing being TEXT TEXT TEXT. I need flowcharts, UML diagrams, that kind of thing. Diagrams like the ones this guy uses to describe software/hardware processes: http://duartes.org/gustavo/blog/ I'd rather not pay but if it's a good solution then I don't mind.
|
# ? Jul 16, 2008 12:30 |
|
Div posted:to quickly and easily make nice diagrams There is always xfig Have you thought of emailing the guy you mentioned to ask him what he uses? tef fucked around with this message at 14:35 on Jul 16, 2008 |
# ? Jul 16, 2008 14:33 |
|
Div posted:Apologies if this has been answered, but I'm writing documentation for some internal libraries that I wrote at work and I'm looking for a tool to quickly and easily make nice diagrams to avoid the whole thing being TEXT TEXT TEXT. I need flowcharts, UML diagrams, that kind of thing. I actually like visio but it takes a lot of start up time to get used to.
|
# ? Jul 16, 2008 18:50 |
|
This seemed to be the best place to put my question, I apologize if I have made a mistake. Here is my situation. I have been asked to find a front-end gui entry system for a wiki page. We are in the beginning stages of a company-wide desktop re-imaging. We have a wiki set up and are planning on creating a page for every office. The page would include everything from the workstation serial and asset tag to the office phone numbers and address to the networking equipment, including pictures of certain key pieces of equipment. I am not maintaining the wiki myself. The person who is doing that has only just begun to learn how it works and is entering everything manually. It was suggested that because of its being open source, there would likely be something that would make our lives easier. Thanks in advance.
|
# ? Jul 17, 2008 00:25 |
Waltzing Along posted:We have a wiki set up and are planning on creating a page for every office. The page would include everything from the workstation serial and asset tag to the office phone numbers and address to the networking equipment, including pictures of certain key pieces of equipment. I don't think a wiki would be the best solution in this case. Have you guys thought about using a program based specifically on inventory? There are a lot of them out there and it makes it way easier to run reports and stuff, that seems like it would be nearly impossible with a wiki.
|
|
# ? Jul 17, 2008 00:57 |
|
fletcher posted:I don't think a wiki would be the best solution in this case. Have you guys thought about using a program based specifically on inventory? There are a lot of them out there and it makes it way easier to run reports and stuff, that seems like it would be nearly impossible with a wiki. They favor the wiki because it is free. Management is learning of its limitations but likes the price.
|
# ? Jul 17, 2008 02:03 |
|
Waltzing Along posted:They favor the wiki because it is free. Management is learning of its limitations but likes the price. Well, you get what you pay for...
|
# ? Jul 17, 2008 02:10 |
Waltzing Along posted:They favor the wiki because it is free. Management is learning of its limitations but likes the price. You should do more to convince them that it will be worth it, because it will be, without a doubt. The amount of money you will spend on extra time trying to do simple things with the wiki will far outweigh the couple thousand dollars you spend on a nice inventory application. Not to mention skimping on a critical and inexpensive piece of a potentially multi-million dollar project (not sure of the size of your company) is just stupid. What if you want to figure out how many Dell D620 laptops were purchased before a certain date? Good luck doing that with a wiki. If the requirements aren't too much more than what you posted earlier you could write this webapp yourself with a minimal amount of time, or pay to have somebody write it for relatively cheap.
|
|
# ? Jul 17, 2008 02:17 |
|
fletcher posted:What if you want to figure out how many Dell D620 laptops were purchased before a certain date? Good luck doing that with a wiki. If it's in a table you can sort by whatever header, then just count them up to that certain date like mah grandpappy did.
|
# ? Jul 17, 2008 02:47 |
|
Femtosecond posted:Ahh I knew I needed to create the list in some way. I actually had written in Femtosecond posted:in the constructor and that didn't work. Changing it to:
|
# ? Jul 17, 2008 03:01 |
|
hey wiz posted:That second way shouldn't work either. List (java.util.List) is an interface and unlike classes, interfaces can not be instantiated. Did you write your own List class? quote:In a C# application I'm wanting to make a class... I think we found the problem.
|
# ? Jul 17, 2008 03:03 |
|
hey wiz posted:The problem here is that your List is declared within the scope of the constructor, so after the constructor exits, you won't be able to access that list. In C#, the language he's using, List is a generic class, which can be specialized and instantiated, which is what he's doing here.
|
# ? Jul 17, 2008 03:04 |
|
|
# ? May 14, 2024 14:02 |
|
I didn't see the part where he mentioned C#. I need to stop assuming code that looks like Java is actually Java .
|
# ? Jul 17, 2008 04:22 |