|
This isn't code specific, but specific to other programmers. I'm working on a large project for another internal department, and they don't understand programming concepts at all so I want a way to show them a list of tasks, with subtasks and some sort of visual way to show the progress. I don't need a server or web based, I just want to be able to send them a screenshot or document that shows this. Example of the "tasks": To Do permissions configuration - admin configuration and quota configuration validation error handling two reconciliations build reporting data transfer Completed UI Data Pull Tech Unit Assignment Category Unit Assignment Working On Timeframe Unit Assignment Any ideas?
|
# ? Nov 4, 2010 15:24 |
|
|
# ? May 15, 2024 13:57 |
|
Uziel posted:This isn't code specific, but specific to other programmers. I'm working on a large project for another internal department, and they don't understand programming concepts at all so I want a way to show them a list of tasks, with subtasks and some sort of visual way to show the progress. I don't need a server or web based, I just want to be able to send them a screenshot or document that shows this. Have you tried writing utensils and paper? Saving that, a "word processor" is known to format documents to your specification, or a "spreadsheet program" can sometimes generate graphs. All snarkiness aside, what is preventing you from doing this manually? It doesn't seem like very many categories, and it's not like you could give a hard date for flawless product anyway, so estimates all the way!
|
# ? Nov 5, 2010 07:23 |
|
baquerd posted:Have you tried writing utensils and paper? Saving that, a "word processor" is known to format documents to your specification, or a "spreadsheet program" can sometimes generate graphs.
|
# ? Nov 5, 2010 13:09 |
Anybody know if Monodevelop's assembly browser can do visual basic? Pretty much the situation is this: due to incompetence I have to clean up someone else's mess, and on top of it the source code no longer exists (or no one can find it). I was able to use .net reflector to take a look at the code, and I just need to make minor changes that should be easy, but I don't have access to professional (read: pay) tools. I can't figure out a way to get the source into an editable form easily. I don't have much experience with monodevelop so could anyone point me in the right direction?
|
|
# ? Nov 5, 2010 16:03 |
|
Uziel posted:It's unfortunately one of those situations where upper upper management is involved (Fortune 50 company) and this is the first time they've seen work from our 3 person mickey mouse operation regional team. If this app works as well as we hope, it's likely to get CEO attention and be rolled out nation wide so I want to be able to give them something a bit fancier than what they are used to seeing. Since we can't show of the app itself just yet, I just want something that looks reallllly good to present to show the progress. Urgh... I hate this product so much, but it may be what you want: http://www.macromediastudio.com/products/captivate/ You can make interactive movies to be a "product simulation." You'll probably kill a bunch of time making the throw-away demo, but bigwigs love this poo poo. Good luck!
|
# ? Nov 5, 2010 16:47 |
|
SniperWoreConverse posted:Anybody know if Monodevelop's assembly browser can do visual basic? Have you tried Reflexil: http://reflexil.net/ It's a free plugin for reflector that lets you change the code. Sounds like it might be what you need.
|
# ? Nov 7, 2010 12:17 |
|
Is there an app that you can batch insert a list of files and ask it to detect if there are changes between them?
|
# ? Nov 8, 2010 18:59 |
|
God Exists. posted:Is there an app that you can batch insert a list of files and ask it to detect if there are changes between them? diff?
|
# ? Nov 8, 2010 19:31 |
|
Svn?
|
# ? Nov 8, 2010 20:55 |
|
WinMerge WinDiff
|
# ? Nov 8, 2010 21:28 |
|
sha1sum
|
# ? Nov 8, 2010 21:34 |
|
I need to store two versioned trees along with a temporal series of data for each of the nodes. Does there exist a solution for this problem that: 1) Is elegant 2) Is simple 3) Can be stored in a fully-normalized relational database If not, what is the best solution using the most-fitting tools?
|
# ? Nov 9, 2010 03:09 |
Amtiskaw posted:Have you tried Reflexil: http://reflexil.net/ Thanks, it looks pretty cool. This is pretty much exactly what I want, but I can't seem to get it to work, when I go to "replace all with code" it brings me to the namespace, main(), and then the part that I would like to edit is just code:
Also it comes up with like 20 popup messages saying it can't find System.Data.DataSetExtensions.dll I think I'm just gonna tell them to have someone rewrite it from scratch.
|
|
# ? Nov 9, 2010 17:08 |
|
I've got a database like this,code:
code:
(this is just a personal spending tracker, it's not an important app, so hacks are welcome)
|
# ? Nov 16, 2010 01:01 |
|
N.Z.'s Champion posted:I've got a database like this, Should have posted in the SQL thread but here's your answer anyway: code:
It's not a good idea to store calculated data that can change unless you have all the data needed to recalculate it and it would be prohibitive to calculate it each time. If you want to do it you can update all the rows with an UPDATE query: code:
Btw sum() is used to add together several rows from the same column so it's probably not what you want in this case.
|
# ? Nov 16, 2010 02:05 |
|
Psychorider posted:Should have posted in the SQL thread but here's your answer anyway:
|
# ? Nov 16, 2010 03:37 |
|
SML Question: I have a datatype: pre:(* BST type definition *) datatype 'a bst = Empty | Node of 'a * 'a bst * 'a bst; pre:(* Generates a new leaf *) fun leaf n = Node(n,Empty,Empty); (* inserts inpt into our tree given rule opt *) fun insert(inpt,Empty,opt) = Node(inpt,Empty,Empty) | insert(inpt,Node(n,left,right),opt) = (* if true, insert into the left *) if opt(inpt,n) then Node(n,insert(inpt,left,opt),right) (* otherwise insert into the right *) else Node(n,left,insert(inpt,right,opt)); (* Inserts a list into an empty tree *) fun insertList([],opt) = Empty | insertList(x::y,opt) = (* Insert the head of the list into the tree containing the tail *) insert(x,insertList(y,opt),opt); val t = insertList([0.6,~1.0,0.4],op <); pre:fun member(inpt,Empty,opt) = false | member (inpt,Node(n,left,right),opt) = (* If we have the element, return true *) if (inpt = n) then true (* Otherwise recursively search in the correct subtree *) else if opt(inpt,n) then member(inpt,left,opt) else member(inpt,right,opt); pre:member(0.6,t,op <); pre:stdIn:4.1-4.19 Error: operator and operand don't agree [equality type required] operator domain: ''Z * ''Z bst * (''Z * ''Z -> bool) operand: real * real bst * ('Y * 'Y -> bool) in expression: member (0.6,t,<) -
|
# ? Nov 16, 2010 21:27 |
|
FamDav posted:I realize this is because polyEquals does not work on real values. What is the best way to get around this issue? Use a tri-valued ordering function instead of the combination of a boolean ordering function and the builtin equality operator. That gives you a more general data structure anyway, and it also makes a certain flaw in your insert function more obvious. The standard environment defines datatype order = LESS | EQUAL | GREATER.
|
# ? Nov 16, 2010 22:46 |
|
I have an application on windows that depends on a library that constantly loads and unloads a dll at a fixed address. If I happen to have allocated something at that address, calls to the library will start to fail. I was hoping I might just be able to allocate a few hundred kb at that address and wrap all calls to the offending library functions with something that will free and then reallocate that memory. Is this possible, or is there some other way anyone can think of to mark an address range as "reserved?" [edit] Nevermind, I see VirtualAlloc accepts an address. Open to other slightly less dirty solutions if any exist though! guenter fucked around with this message at 23:36 on Nov 18, 2010 |
# ? Nov 18, 2010 17:25 |
|
I remember reading it was possible to d/l mp3s from websites where they are streaming, but it was tedius, and I forgot. maybe this isn't a programming question, but i read about it in a hacker book, and you guys seem like the right crowd bruckner fucked around with this message at 05:11 on Nov 20, 2010 |
# ? Nov 20, 2010 05:00 |
|
Please try yospos or sh/sc or google
|
# ? Nov 20, 2010 18:35 |
|
I posted this horror in the coding horrors thread. Now I'm faced with the task of making sure it's been fixed. What's a good way of doing an automated test to consistently reproduce the bug, and what's a good way of verifying that the bug's been fixed? Additional relevant details: the request processing is a separate thread from the response sending, and due to a lack of mocks, etc, it can only be tested by uploading it and sending requests to the server, as it does a lot of stuff behind the scenes whose details we're not privy to.
|
# ? Nov 22, 2010 03:14 |
|
Put an md5 of the input request into the output via some headers or similar (inject a trace paramter which is returned unchanged in the output - although make sure it can't be used to inject anything terrible) You should be able to cheaply check if the result is for your request. Next up, as it is a race conditon I don't imagine it will be easy to reproduce without lots of connections in parallel, (even then not so easy). You might find playing with the timing of the requests (and delaying internal requests) will help produce more errors. You might want to add a proxy in production that verifies all user requests with the md5 option or similar.
|
# ? Nov 22, 2010 03:47 |
|
Can someone write a program to read the numbers on these pictures for me? There used to be a "small coding projects" crowdsourcing thread, but I can't find it. I have about 2000 (and counting) all in .png format in a folder in Windows, and I ultimately would like them in an Excel spreadsheet. I learned how to use AutoIT yesterday to collect these photos, and I have an idea of how to do it in AutoIT using very basic pixel color analysis, though it's obviously challenging since you can see that the numbers are not fixed-width, fixed-placement, OR fixed number of digits. Since I'm an incredible newbie to AutoIT, and someone on here surely knows a better/easier to implement strategy or even better tool to use, I thought I'd ask before spending upwards of 2 hours on this part of the code too. Background: I'm on Thanksgiving break, and my friends and I have a bet about Kitten Cannon. Two of us think that the lowest angle will give a higher average distance and the other thinks that it will behave more or less like normal projectile motion, and thus 45 degrees would be best. When I got to the room where they had started this bet, they were both dutifully playing the game and writing down the results each time while carrying on a conversation about what statistics would be most important (mean, mode, maximum, etc). I offered to join in, and decided it would ultimately be worth the time investment to try and automate it. They managed ~60 data points each in that first hour. In a couple of hours, I wrote a script that manages 240 per hour, but still requires additional human effort to look at the pictures and record the data. Thanks for any advice you can give, and if you would like the .exe or the source to play around with, I can guarantee more immediate and guaranteed results than using your computer's down time for SETI@Home!
|
# ? Nov 23, 2010 14:36 |
|
BrianBoitano posted:my friends and I have a bet What's the developer's cut of the winnings?
|
# ? Nov 23, 2010 15:57 |
|
Mathematica I have a list (list #1) of True False values. I have another list (list #2) of equal length. Then I have two functions. If the value an element of list #1 is False, I want to run function 1 on the corresponding element of list #2. If the value of element in list #2 is True, I want to run function #2 on list #2. I've been funking around with If, Map, and Extract statements. No luck so far. (beginner with no programming experience. I'm teaching myself Mathematica.)
|
# ? Nov 23, 2010 22:38 |
|
BrianBoitano posted:automatic number recognition Personally, my approach would be something like: - use imagemagick to automatically crop out the section of the image containing the score (which is always the same part) and make it black-on-white - use gocr to read the numbers (and discard "," and "ft"), training it as needed However, this requires gocr and imagemagick, which - as you're on windows - you may not have. There are windows versions of both, though.
|
# ? Nov 24, 2010 00:37 |
|
Jam2 posted:Mathematica code:
|
# ? Nov 24, 2010 02:42 |
|
Can anyone recommend me a good postal address verification service? I want to be able to enter an address, and have it return True or False depending on whether the address is in the postal database. Bonus points if it will return a 'cleaned' version of the data passed in if it is slightly off. I've tried CDYNE, but it sucks. Google has a geocoder, but the terms disallow usage outside of a google maps applet.
|
# ? Nov 25, 2010 01:10 |
|
I'm using Yahoo's service, but it's only good for the US.
|
# ? Nov 25, 2010 02:01 |
|
Ruby Question I am trying to split up a string in Ruby into words using pattern matching. A word is: 1) surrounded by double quotes or 2) surrounded by whitespace My code is only detecting the double quote words, but not the words surrounded by whitespace. Any ideas? code:
|
# ? Nov 25, 2010 07:40 |
|
Super Dude posted:Ruby Question code:
|
# ? Nov 25, 2010 07:53 |
|
litghost posted:
When I try to print the array out to make sure the results are correct, I get some nil results. My input is ’ aaa "bbb ccc" ddd "eee"’. It is indicating that aaa and ddd are nil in the array. Why? Super Dude fucked around with this message at 08:38 on Nov 25, 2010 |
# ? Nov 25, 2010 08:35 |
|
I posted this to StackOverflow and gis.stackexchange, but I haven't managed to get a result. http://stackoverflow.com/questions/4262411/segmentation-fault-segfault-when-using-ogr-createfield-in-python Receiving a segfault when running this very short script in Ubuntu. code:
The suggestion that has cropped up a couple of times is that I need to uninstall and reinstall the GDAL and python-gdal packages. I've done that. Still no love. The other issue here is that when other people try to run this script with any shapefile -- including the one I'm using as an example -- it works perfectly for them, as intended. Here is the download link to the exact shapefile I'm using. In addition, here is a link to the debug info when I run the script with GDB. If it matters (I'm sure it doesn't) I'm running all this on Ubuntu in a virtual box. If anyone has some specific ideas on how to fix this, I am all ears.
|
# ? Nov 25, 2010 09:04 |
|
Super Dude posted:When I try to print the array out to make sure the results are correct, I get some nil results. My input is ’ aaa "bbb ccc" ddd "eee"’. It is indicating that aaa and ddd are nil in the array. Why? There are two separate capture groups. The quote group matches \1, the unquoted word matches \2. You need to check both \1 and \2. I used http://www.rubular.com/ to test it out.
|
# ? Nov 25, 2010 13:58 |
|
csammis posted:What's the developer's cut of the winnings? Oral credit? It's a friendly bet, so no money is on the line, and I don't really have a side in the bet anyhow. ToxicFrog posted:Personally, my approach would be something like: ToxicFrog posted:- use gocr to read the numbers (and discard "," and "ft"), training it as needed
|
# ? Nov 25, 2010 15:52 |
|
The reason I suggested gocr is that it has a fairly simple and effective learning mode. Do something like:code:
This won't work very well with handwriting - too much variation - but I've used it to automatically transcribe text from programs and video games with great success. You will need some preprocessing with imagemagick; it expects black-on-white, PNM format - try experimenting with the -threshold command. And use the PNGs as input; compression artifacts from JPEG may confuse it. EDIT: my automatic transcription command for Septerra Core screenshots: code:
ToxicFrog fucked around with this message at 21:42 on Nov 25, 2010 |
# ? Nov 25, 2010 21:37 |
|
What is the name of the language feature that lets type definitions be modified at runtime? egcode:
|
# ? Nov 27, 2010 11:07 |
|
Ruby classes are "open", which means you can reopen the class definition and add more stuff. The syntax is different from what you posted though. I don't know of any other names for that feature.
|
# ? Nov 27, 2010 13:33 |
|
|
# ? May 15, 2024 13:57 |
|
ultra-inquisitor posted:What is the name of the language feature that lets type definitions be modified at runtime? eg Monkey patching or duck punching. The former is a derivation from 'guerilla patching', and the latter is because if it walks like a duck, but it doesn't quack like a duck, you punch it until it makes the noise you want
|
# ? Nov 27, 2010 19:20 |