|
pokeyman posted:I'm not the one who was asking, and I believe you, but what are some of those reasons? Three major reasons:
|
# ? May 6, 2011 23:24 |
|
|
# ? May 16, 2024 18:50 |
|
Cool, thanks for the replies.
|
# ? May 7, 2011 02:08 |
|
Edit: nm, worked it out!
Banjos4Hobos fucked around with this message at 13:51 on May 7, 2011 |
# ? May 7, 2011 13:07 |
|
Yeah, those were the types of answers I was looking for (although not really what I wanted to hear ). Thanks for the replies.
|
# ? May 7, 2011 17:08 |
|
Crossposted from the Apple Software Thread I have no clue if this can be done, but see that in Mail under rules there is an option to run an applescript. I don't even know if that is what I need to do. I have 2 emails forwarded to my me.com account. I would like Mail to pick which signature to use based off which email account the mail came from. Is there a way to do this and if so any direction on how to get this started? I have zero experience with coding of any type.
|
# ? May 8, 2011 20:20 |
|
I'm trying to work out what some micro controller code is doing but am getting getting confused by what's going on or how it's working. The code basically displays stuff on the LCD. code:
I've got two kind of ideas on how the code works. 1.LCD points to two spaces of memory. LCD_RAM and LCD_REGISTER. Once they are written to something read them straight away and does stuff with them. So I write the whole image to the same space of memory and something does stuff with that. Maybe it's more like sending a signal rather than writing to large block of memory. 2.Something to do with pointers, so that after LCD_WriteRAM has been used the space of memory the next write goes to is incremented? My guess at what stuff means. LCD_BASE: uint32. LCD is a pointer to LCD_BASE which is typecast. Everything else just writes different values to what is at the the addresses in the LCD_BASE definition.
|
# ? May 8, 2011 20:45 |
|
I'm not totally sure what you're asking, but do you have the documentation for the LCD? I did a microcontroller module at Uni which involved a similar kind of low level access to an LCD (poking around in registers etc) but each manufacturer has their own set of standards and even different models within the same manufacturer will vary depending on their feature set. I'm guessing the code is C (or C++?) and is being written to run directly on an embedded processor, but knowing your build environment/toolchain would help along with whether you're using any related libraries etc. edit: A brief explanation of what I think is going on, although I could be out as it's a while since I've done much with pointers. The LCD_BASE define is declaring the base address for accessing the LCD. Why this is done by logically OR-ing two 32 bit numbers I'm not sure but might have some significance to whatever's in the documentation. The LCD define is then setting up the LCD constant to be a pointer to an LCD_TypeDef struct at the LCD_BASE address. Again, presumably the significance of this would become clear from information in the LCD documentation. After that it all gets a bit murky especially as there are constants in use (LCD_REG_nn) which aren't declared in your code sample. Presumably these represent individual registers in some way but again, without seeing documentation, it's difficult to say exactly what's happening. It's also not immediately obvious how the values placed into the memory pointed at by the LCD constant are picked up - my guess would be that the LCD's microcontroller is constantly polling that address to see what's in it, but that is literally just a guess. rolleyes fucked around with this message at 22:12 on May 8, 2011 |
# ? May 8, 2011 21:54 |
|
Do you just want someone to walk through the code and explain everything?
|
# ? May 8, 2011 22:18 |
|
Alfalfa posted:I have 2 emails forwarded to my me.com account. I would like Mail to pick which signature to use based off which email account the mail came from. Is there a way to do this and if so any direction on how to get this started? I don't think you want to use a rule for that. From what I gather, rules are applied to incoming messages. If you wanted to automatically reply to every incoming message immediately after it's received using a certain signature, you could use a rule, but that sounds like an unhelpful rule. I notice that you can select which signature is used in the compose message window (there's a pulldown menu), so what I'm picturing is an AppleScript that you run from the script menu. The workflow would be: you select a message you want to reply to, and then invoke an AppleScript that 1. Finds said selected message, 2. Checks which email address it was sent to, 3. Creates a new reply, 4. Sets the signature depending on the email address from step two. (Once it's in the script menu, you can assign a hotkey from the Keyboard pane in System Preferences.) I have no idea how to do any of that, however I came across some guy's collection of Mail scripts, so maybe that'll give you a start. quote:I have zero experience with coding of any type. Enjoy the rabbit hole!
|
# ? May 8, 2011 22:28 |
|
rolleyes posted:I'm guessing the code is C (or C++?) and is being written to run directly on an embedded processor, but knowing your build environment/toolchain would help along with whether you're using any related libraries etc. I didn't even think about looking at the LCD docs, that could explain stuff. TasteMyHouse posted:Do you just want someone to walk through the code and explain everything? I gave two ideas on how I thought it worked and wanted to know if one either one was on the right track. But if you are offering to walk through the code and explain everything I wouldn't complain. FSMC fucked around with this message at 22:43 on May 8, 2011 |
# ? May 8, 2011 22:37 |
|
Basically, we can point you in the right direction for learning C but the chances of anyone here being able to help with your specific hardware (which seems to be the problem) are vanishingly small. If you're that new to the platform you're probably going to have better luck on the manufacturer's/supplier's forum (if they have one) or finding a community forum.
|
# ? May 8, 2011 22:57 |
|
pokeyman posted:I don't think you want to use a rule for that. From what I gather, rules are applied to incoming messages. If you wanted to automatically reply to every incoming message immediately after it's received using a certain signature, you could use a rule, but that sounds like an unhelpful rule. Appreciate the help. Time to start digging around on that script link and get to work.
|
# ? May 8, 2011 23:51 |
|
Hey dudes. I'm wondering just how integrated facebook can get. What I need is a website that functions as a sort of social network but uses facebook to login. For example, if someone went to rubiesstupidexample.com, they could create a profile and all that but would use facebook to login. Maybe it would pull some of their info or photos or something but beyond that there are things going on unrelated to facebook. And it all happens on rubiesstupidexample.com, not in a window within a person's facebook or anything. I know I'm not explaining myself well, but an example of what I'm interested in is how MySpace is now (remember the good times we used to have together, myspace? ). They have a thing where you can log in w/ your ms username/password BUT beneath it it says "or connect with facebook". And when you do that you're browsing myspace but they know who you are from facebook. Whew. If this needs some clearing up let me know. Thanks in advance, smarty pants!
|
# ? May 9, 2011 05:44 |
|
I've become interested in obsolete platforms so I'd like to do some programming for Windows 7. What are good resources for learning about unmanaged Windows programming in the programming language C/C++?
|
# ? May 9, 2011 06:42 |
|
Rubies posted:What I need is a website that functions as a sort of social network but uses facebook to login.! http://developers.facebook.com/docs/guides/web/
|
# ? May 9, 2011 07:03 |
|
I blew some time last night trying to figure out how to generate Python bindings for some C++ source code. For my own code I don't consider it a huge fuss to manually mash out the Python bindings using Boost's own stuff, but I sure do for other people's stuff. But I guess there isn't a free lunch. I was trying to use Py++ against a few files from another project and got bit on it. Particularly I wanted to get some template code turned into Python. Not the template itself, but instantiable typedef'd types because they had the parameters filled in completely. It sounds like a solvable problem but all the stuff online points to web sites that were down. I wondered if there were other systems in place for doing automatic binding generation that I could try. I suspect though that at the end of the day I'll just have to manually write the bindings for the stuff I want as I come to know I want them.
|
# ? May 9, 2011 17:46 |
|
shrughes posted:I've become interested in obsolete platforms so I'd like to do some programming for Windows 7. Petzold is the classical author of Windows programming books. The sample code included with the Windows SDK is extensive. I've found it fairly productive to figure out how to do something by looking at the sample code and keeping MSDN open to look up functions and structures. The downside to the above is that some of the samples have barely been updated since 1995, or the 1995 samples were superseded in 1999 and then again in 2006 but they're all included in the SDK anyway; but the upside is that there's still additions ongoing to this day.
|
# ? May 10, 2011 08:14 |
|
I'm looking for some assistance with creating an xml schema. I've got little to no experience with it and could use some assistance with some errors I see when validating. I'm attempting to create an xml file for a java program that will send out VMS (traffic sign) data. I'll gift a forum upgrade to anyone who can help me out as this is driving me nuts, just drop me a PM. Thanks
|
# ? May 11, 2011 19:58 |
|
The people who need the forum upgrades the most can't send private messages
|
# ? May 11, 2011 20:21 |
|
rt4 posted:The people who need the forum upgrades the most can't send private messages Feel free to email me then *removed* edit: Figured out my problem. Was simpler then I thought Morand fucked around with this message at 00:20 on May 12, 2011 |
# ? May 11, 2011 20:35 |
|
Very true, you'd have better luck with email. Set up a disposable email address if you don't want to use your real one. drat you! VVV rolleyes fucked around with this message at 20:41 on May 11, 2011 |
# ? May 11, 2011 20:36 |
|
rolleyes posted:Very true, you'd have better luck with email. Set up a disposable email address if you don't want to use your real one. Already done
|
# ? May 11, 2011 20:39 |
|
So, I don't know if this is against the rules here, but if it is, I'm sorry, and will delete this post. MY MOM called me today, and told me that if I can accomplish this one computer related thing for her, that she will never ask me to come over and turn her printer on again. She is all riled up because the local news has an online poll that asks really divisive questions every day, and the results are always like 90 to 10 in favor of the "conservative" answer. She wants me to come up with some sort of voting bot for her. The news website seems to allow me multiple votes if I just disable cookies, but I need to refresh the page and then scroll down to vote, hit the radio button, and submit. Entire operation takes like 15 sec, and I am not willing to sit there and manually submit like 1000 votes or more. Any advice on how I can automate this? I'd need some way to be able to choose different options to vote for every day.
|
# ? May 12, 2011 00:21 |
|
artificialj posted:So, I don't know if this is against the rules here, but if it is, I'm sorry, and will delete this post. Either throw WWW::Mechanize (or a port or equivalent thereof) at it, or ask your mother not to be a loving Liar
|
# ? May 12, 2011 00:49 |
|
Otto Skorzeny posted:Either throw WWW::Mechanize (or a port or equivalent thereof) at it, or ask your mother not to be a loving Liar I have no idea what the first part means, but will do some research on it. As for her being a loving Liar, I tried to call her out on it, but then realized that if I accomplished this, not only would she not be calling me every afternoon to "vote on her side," but maybe, just possibly, her ISP would figure out her deal, and "ban her from the internet."
|
# ? May 12, 2011 01:27 |
|
I'm very new to programming, with a little more experience in HTML than anything else, just getting into Python. I've got a small project that should be quite simple, but it is driving me insane. I've got two web-pages, each of which display a simple list of account numbers. What I'm trying to do is read both lists, and display elsewhere the difference between them. Ideally this would be list 2 minus list 1. It would be nice to be able to output the difference as html, but right now I would be satisfied with anything that displayed and could be manipulated later. I should also note, and this part has me frustrated the most, while the lists on each page are essentially the same format, one list has additional information at each line. Really all I need is a comparator that looks at the first 12 characters found on each line. Any help with this would be greatly appreciated!
|
# ? May 12, 2011 01:32 |
|
artificialj posted:So, I don't know if this is against the rules here, but if it is, I'm sorry, and will delete this post. There's a plugin for Firefox called "Selenium IDE" that will record and automate clicks for you, maybe that'll do it.
|
# ? May 12, 2011 01:51 |
|
So I have some programming experience, but it all deals with SQL stuff and geo-spatial types of things (Web-mapping applications). I'd like to write a little script that monitors the text on a web page that refreshes every 60 seconds by itself. I've tried viewing the source code of the web page to find out if it's reading off a SQL server or what it is pinging for the information but I can not seem to figure out how to use Firebug for this task with any success. I'd like the script to send me a text or e-mail upon certain words or phrases showing up on the monitored webpage. This will happen about once/twice a day sometimes slightly more or less. Can someone tell me which concepts/language they would recommend for this? I have Web Dev. Express '10 that I use every once in a while. I also have Flash app building experience. Any guidance would be greatly appreciated, because Google failed me.
|
# ? May 12, 2011 02:32 |
|
Hey guys, have a question. Wasn't sure if it fit in Tech Support or here, but figured since it was command line database stuff here was more appropriate. I'm fairly a newb but I run a decent sized gaming forum using vBulletin. I'm wanting to duplicate that forums database and files to another directory to have a test bed to work on. I've been using this guide. I have root access to the server it's hosted on so I've been doing everything via Putty command line. Phpmyadmin or nothing like that is installed on the server. I get through all the steps fine until I restore the .sql backup into a new database. It takes forever to complete in putty but when it says it's done I fire up the cloned forum and I just get DB errors. It fails every time at the point of restoring the backup into the new forum. I'm not sure if it's just timing out or if the file is too big. It's size is listed as 2,230,551,151 in WinSCP. Any tips would be appreciated. I tried to find a command to just duplicate a database with a new name so I don't gently caress up the live database but I didn't have much luck at all. Disappointing Pie fucked around with this message at 08:31 on May 12, 2011 |
# ? May 12, 2011 08:29 |
|
Modern Pragmatist posted:I'm not entirely sure what you are asking, but I think that I understand enough to be able to point you at parametric equations. Basic idea being that X and Y coordinates are functions of (at least) one other parameter (t). As t changes, X and Y evolve. So basically your different points in the snake will have different starting t's but the size of delta-t will be the same. So all circles will follow after one another. Thanks for this, it's definitely something that helped, in my game as well as some other projects I was doing...
|
# ? May 12, 2011 14:23 |
|
rt4 posted:There's a plugin for Firefox called "Selenium IDE" that will record and automate clicks for you, maybe that'll do it. Cool, thanks, I'll look into that one.
|
# ? May 12, 2011 15:23 |
|
Disappointing Pie posted:Hey guys, have a question. Wasn't sure if it fit in Tech Support or here, but figured since it was command line database stuff here was more appropriate. What are the actual errors? Are you moving this to another machine, or the same machine? Do you have a second install of vbulletin? Try connecting to the DB manually (with mysql or whatever you're using) as the forum software user and see if you can view the 'new' DB. 2GB is big but not in the database world. I did some 1GB files the other day and it took about 15 minutes to import it on a C2D server.
|
# ? May 12, 2011 17:03 |
|
are there any good resources for puzzles/"programming challenges"? i'm working through the facebook puzzles and past google code jams, but i'm looking for other sources. project euler is kinda math-heavy for me. also i like optimization problems.
|
# ? May 12, 2011 19:36 |
|
Pie Colony posted:are there any good resources for puzzles/"programming challenges"? i'm working through the facebook puzzles and past google code jams, but i'm looking for other sources. project euler is kinda math-heavy for me. also i like optimization problems. http://uva.onlinejudge.org/
|
# ? May 12, 2011 20:24 |
|
Are there any decent references on how to do screen scraping on ASP.NET forms? There's a web page I access that's an ASP.NET interface to a MySQL database. I don't have access to the database itself, only to this interface. I enter specific parameters into a series of textboxes and drop-down listboxes, then c/p the results (HTML tables) into a different document. There's roughly 100 such queries on two different web pages that I need to do periodically, and I'd like to automate the process to relieve the tedium. I'll need to programmatically change the value of the input parameters, initiate the query, then from the results identify the beginning and end of the HTML tables I need, then copy that data and store it elsewhere. Rinse and repeat through a range of input variables. I've got a general idea of how to code it, but any references especially on changing the value of dropdown listboxes on ASP.NET forms would be very helpful. Thanks in advance!
|
# ? May 13, 2011 05:41 |
|
I assume this would be the place for a UNIX sort question? Maybe the linux thread? - except I'm running on HP/UX and the sort is different. Anyway: I'm trying to get UNIX to sort a field numerically, then alpha and I can't come up with a graceful way to do it: code:
code:
I feel like I'm missing something stupid (I usually am); and my natural instinct is to develop a inanely complex solution. I want to ignore that urge and actually find a proper solution. The file isn't just that above, but it's a series of grouped data points that are all perfectly sorted, except the ONS's need to move down to the bottom of each subset. I feel like awk might do it, but every time I man awk I feel like kicking myself in the junk
|
# ? May 13, 2011 06:05 |
|
Boobo posted:I'm very new to programming, with a little more experience in HTML than anything else, just getting into Python. I've got a small project that should be quite simple, but it is driving me insane. The set datatype has a difference function. foo.difference(bar) would show all the values of foo that aren't in bar.
|
# ? May 13, 2011 18:47 |
|
Right, I'm still trying to get a schema up for some xml. Here is the xml I am trying to generate a schema for. code:
code:
quote:cvc-complex-type.2.3: Element 'vmss' cannot have character [children], because the type's content type is element-only. Google's not helping. My offer of a forum upgrade to the first person to help still stands. Morand fucked around with this message at 19:41 on May 13, 2011 |
# ? May 13, 2011 19:21 |
Morand posted:Here is the xml I am trying to generate a schema for. Is it intentionally typed with double > (first line)?
|
|
# ? May 13, 2011 19:37 |
|
|
# ? May 16, 2024 18:50 |
|
Shy posted:Is it intentionally typed with double > (first line)? Typo
|
# ? May 13, 2011 19:41 |