|
If anyone has tried making a google docs extension, is there no way to even get it to work outside of a single document without getting google approval right now? I thought that I would only need approval if I wanted to share it, but it looks like maybe at the moment docs extensions are entirely bound within single documents unless you go through the process to put them on the store. I'm annoyed because I just spent like an hour trying to make a really trivial add-on and apparently it was pointless because I can't even use it.
|
# ¿ Oct 4, 2014 21:46 |
|
|
# ¿ May 4, 2024 06:01 |
|
Hughmoris posted:I believe that the medical software that my hospital uses is mostly some version of .Net, as window info controls tell me that the windows are "Windows Forms" and an Internet Explorer Server. I just finished up a very rough script using AutoIt that simulates a user clicking through this software application by sending keystrokes and mouseclicks. I realize this is a vague and general question but is there possibly a way to pass information directly to the application in means other than simulating keystrokes and mouseclicks on the GUI? What you can do will depend on how it's implemented. If you're lucky, it's really a normal webpage, maybe with some plugins that you don't need to actually touch. In this case you will be able to automate it with any programming language (optionally with something like mechanize which is designed to make this type of thing easy). If you're unlucky, it could be a local app that generates html, or a page that just embeds one big silverlight app or something, which will mean that you probably won't actually be able to automate it as if it was a web site which will make it much harder or maybe essentially impossible.
|
# ¿ Oct 11, 2014 03:31 |
|
Hughmoris posted:Thanks for this. I have a feeling that it is a local app that generates html. The software is something similar to the Epic EMR package. The kicker is that I'm 99% sure that all the application is doing is writing my entry to a database table. I know jack poo poo about databases but that means if someone had write access to the database, then they could simplify all of this by writing the results directly to the table? This time-sucking project would be completed pretty drat fast if that was the case. That's why the easiest thing to do is just to look at what you can see on wireshark first, since you will hopefully be able to tell what's being transmitted (even if it turns out to be SSL, that would at least be a good sign that either the web pages or maybe a SOAP API are being used and it would be worth the effort to pull out mitmproxy or whatever). mystes fucked around with this message at 03:55 on Oct 11, 2014 |
# ¿ Oct 11, 2014 03:49 |
|
Squashy Nipples posted:I build a lot of Office Automation stuff in VBA. I recently came across a rather clever system that someone else built for producing batches of PowerPoint books: while the heavy lifting is done inside of the VBA environment, it's triggered and tracked with a series of BAT files, so that if Office crashes, it will pick up right where it left off. Sadly, my understanding of BAT files never progressed past basic MSDOS autoexec stuff. For example, I didn't realize you could use branching and such. 2) You might actually benefit from moving some of the VBA stuff into COM automation or whatever it's called these days, too. 3) For that matter, is automating office the best way to actually do what you're doing? mystes fucked around with this message at 18:49 on Nov 1, 2014 |
# ¿ Nov 1, 2014 18:45 |
|
Squashy Nipples posted:I'm not a real developer, I'm a business analyst. As such, my toolset is limited to whatever is installed on the corporate laptop. I couldn't even install the "Custom UI Editor For Microsoft Office"; I had to install it on own PC, and then stick the EXE on a USB drive. I'm sure there are WAY better ways to do what we are doing, but they all involve money and manpower that are not available. And finally, the output has to be in PowerPoint, because that's what my client's clients are used to, and no way am I going to rebuild a complex 40-page template if I can keep populating the old one within VBA. Also, if the content you're populating the powerpoint file with isn't too complicated, it would probably be a million times easier to just edit the XML inside the PPTX file directly. You could probably use some off-the-shelf templating language designed for HTML and be done in like 5 minutes. This way you wouldn't have to worry about stuff like COM automation or office crashing. You could even allow people to edit the powerpoint file and just put stuff like %{companyname} where you need stuff filled in. mystes fucked around with this message at 20:44 on Nov 1, 2014 |
# ¿ Nov 1, 2014 20:39 |
|
Hughmoris posted:How would one go about creating a simple webpage with a text box, and that text box acts as a search field, and it searches a local folder that is full of files?
|
# ¿ Nov 26, 2014 04:45 |
|
thegasman2000 posted:I am not using a framework at all. At this stage its all hand coded in php and html files. What framework should I be using? I am a wordpress guy really In the real world if the "search, add and list functions are all sorted" before you've even thought about users/permissions/security you're hosed and should start again with some sort of real framework that handles the security parts for you, and possibly some sort of preexisting software intended specifically for multi-user databases. mystes fucked around with this message at 01:45 on Nov 27, 2014 |
# ¿ Nov 27, 2014 01:42 |
|
Reisen posted:I'm trying to decide if a particular task I'm working on is worth automating. Normally you should just be able to 1) send the query, 2) get the IFRAME location from the result, and 3) download the IFRAME page. This should literally be 5 minutes work if there's nothing complicated about it. If you like python you can use mechanize which uses a sort of web browser metaphor so you can tell it to select the form field and submit the query from the page. *:It's hard to tell based on your question so I apologize in advance if you actually have a good reason and this comes of as lovely and condescending. mystes fucked around with this message at 23:00 on Dec 6, 2014 |
# ¿ Dec 6, 2014 22:55 |
|
swagger like us posted:Since the Excel thread is dead I thought I'd ask here. If you have to do this without an actual programming language, it might theoretically be possible to make a macro in word to use search and replace add a delimiter between the difference sections and export to a text file. Then you could somehow concatenate all the files together if you can even do this in windows, and open the resulting file in excel and use the right delimiter to import it. However, since as far as I know word's search function doesn't support regular expressions this would be extremely painful, but it might be possible.
|
# ¿ Dec 10, 2014 06:09 |
|
Lord Windy posted:I've been making Interactive Fiction games in my spare time and one of the big issues with the genre is it is not very user accessible. Most games require you to download an interpreter and the file itself, which is fine for people who enjoy IF but it's not easy for people to get started (particularly not tech savvy people). I want to make something that is user accessible and doesn't require the user to download anything. My original idea of using Telnet is really not much more user friendly than what we have now, so I'm investigating some browser based solutions.
|
# ¿ Jan 10, 2015 16:32 |
|
Exitlights posted:I'm looking to start developing amateur apps for my MS SP3 that have all the whizbang fullscreen and touch poo poo, and I'm having a hell of a time finding what I'm looking for with Google or (probably) knowing the right way to ask it. Like the stuff I'm finding so far is the Touch SDK for Windows 7, only compatible with Visual Studio 2010, and that doesn't seem right. Can somebody point me at some resources or a thread or anything on setting up a development environment and walking through creating a basic touch-y "hello, world" app? E.g.: https://dev.windows.com/en-us/getstarted edit: ^^^ argh beaten
|
# ¿ Jan 17, 2015 23:53 |
|
hooah posted:I'm not sure if this would be better here or in a math thread, but I'll start here since it is computer science in nature. In my distributed systems class, we've been talking about safety and liveness. I understand the professor's definition of safety well enough:
|
# ¿ Feb 3, 2015 08:26 |
|
Sinestro posted:I'd suggest Elm. I think C# would be a good choice because it's supported by default in Unity and there appears to be a module adding support for it to Unreal Engine 4 using Mono, plus it's easier than C or C++ and will be fairly transferable to other stuff. Otherwise, Unity and Unreal Engine both have their own scripting languages.
|
# ¿ Mar 7, 2015 16:47 |
|
Shaocaholica posted:Curious on peoples thoughts here on the feasibility/difficulties in running something like Maya or Solidworks inside a browser. I'm sure plenty of people have already looked into this including the developers of similar products. Basically being able to pay a fee and use one of these '3D' apps with minimal local files over the web. You can do a lot of neat stuff when the app doesn't have to be maintained locally by either an end user or IT team.
|
# ¿ May 3, 2015 19:59 |
|
Biowarfare posted:https://www.google.com/alerts with a bunch of inurl: and site: keywords
|
# ¿ Sep 12, 2015 05:44 |
|
Bruegels Fuckbooks posted:You can't do OLE automation with Chrome.
|
# ¿ Oct 4, 2015 21:39 |
|
TacoHavoc, you say that people are going to be connecting through an app, but is the app going to be accessing the device only from within the local network or remotely? If remotely, is there a centralized service that the app is going to use to access the device? In other words, does the user actually need authenticate the device directly, or does the user just need to access a central single server that can then authenticate the device? (This is the standard solution in consumer-oriented networked appliances, but you probably don't want to use this approach if you don't have to.) Otherwise, how does the app find the device? By manually entering an IP? By some sort of discovery protocol? mystes fucked around with this message at 13:36 on Oct 25, 2015 |
# ¿ Oct 25, 2015 13:30 |
|
TacoHavoc posted:Usually from within the local network. Sometimes remotely. You could also use your own CA that the user would have to trust but it's not going to do much good without domain names; it would pretty much only allow you to add a preassigned name that would show up in the certificate. It might actually be better to just enable SSL as an option so that companies that are competent and either have their own internal CA or understand self signed certificates can enable it. This would make the chain of trust the user's problem. mystes fucked around with this message at 14:24 on Oct 28, 2015 |
# ¿ Oct 28, 2015 14:22 |
|
22 Eargesplitten posted:This is probably really obvious, but I'm not figuring out what to google. In powershell, I'm making a script to archive old items in some folders. I'm having trouble at this line: move-item -path $olditems\ -destination "C:\Users\me\DownloadsArchive. Olditems is everything in downloads that hasn't been accessed in 30 days. The thing is, it wants a specific file name. Do I have to do a for each object to get this to work? So do a foreach-object: $olditems | % {mv $_ C:\Users\me\DownloadsArchive} mystes fucked around with this message at 06:07 on Nov 2, 2015 |
# ¿ Nov 2, 2015 06:05 |
|
NihilCredo posted:I have a few coworkers who struggle with regular expressions. Would it be a good idea to introduce VerbalExpressions into our code base? Has anybody used it and liked it? CopyValuetoRegister(0, RegisterNumber1).IncrementRegister(RegisterNumber1).AddFirstRegistertoSecondRegister(Register1,Register2).GotoSection("My Section") mystes fucked around with this message at 20:34 on Nov 15, 2015 |
# ¿ Nov 15, 2015 20:28 |
|
I have a windows/C++ related question (I'm not sure if there's a more specific thread this would fall under?): For a really dumb reason, I want to modify a method in a C++ COM library DLL but that isn't included in the COM interface by which the DLL will actually be used. In the unlikely event that I'm understanding how this stuff works correctly, can I theoretically just create a replacement DLL that in its DllGetClassObject substitutes another method and returns the result of the all get class object function from the original DLL? Edit: oh I see. This won't work because only the methods exposed through com interfaces go through virtual function tables. Hmm. I guess this is getting to the point where I would need to know assembly to start messing around with it. mystes fucked around with this message at 06:17 on Dec 2, 2015 |
# ¿ Dec 2, 2015 04:56 |
|
Bruegels Fuckbooks posted:You can use Microsoft detours to do this. See "http://www.codeproject.com/Articles/30140/API-Hooking-with-MS-Detours" - it's possible to detour arbitrary functions if you know the address of the function. I was able to figure out the address of the function by mucking around in IDA Pro and comparing the dll with another dll I compiled with debugging symbols from source that I know the first DLL is based on. Now I just need to make sense of the examples for hooking C++ member functions. It's annoyingly a bit more complicated than C functions, but I think I'll be able to figure it out. Unfortunately, I've realized I don't actually understand how computers/compilers actually work at all. This is probably an embarrassingly dumb question, but here it goes: I want to open a file when the DLL I create is loaded and I hook the function. Then I want to write to the file when my replacement function is called. But how can I give the file handle to my replacement function? Can I just use a global variable? Will this actually be accessible from within the replacement function? (Are global variables just assigned a specific memory address rather than being on the stack?) mystes fucked around with this message at 16:24 on Dec 2, 2015 |
# ¿ Dec 2, 2015 16:19 |
|
Bruegels Fuckbooks posted:I mean you could just declare a global file handle and pass it, but you're cruising for a bad time trying to do file IO in a trampoline function. Like if you don't know what you're doing, just use ::outputdebugstring function whenever you need to log and run dbgview.exe to collect the logs if you need it. The other alternative would be to go back to square one and manipulate the directshow graph (the COM DLL in question is a directshow filter) which is theoretically what you're supposed to do, but the filter is a complete piece of poo poo that's apparently only intended to work in one magic sequence of hackish filters for this one program and keeps crashing when I try to mess with it through the normal methods. I have a prototype for detours now anyway but I won't actually be able to test it for a week now unfortunately. The C++ magic to get it to work with the thiscall calling convention is quite scary and I doubt it will work on the first try. If file io directly from the function doesn't work well I'll have to try something more complicated. mystes fucked around with this message at 05:38 on Dec 3, 2015 |
# ¿ Dec 3, 2015 05:24 |
|
Gothmog1065 posted:Okay goons, help point me in the right direction. Otherwise, you can no doubt do this in python, as well. Definitely try to avoid learning vbscript in 2016. mystes fucked around with this message at 01:49 on Feb 19, 2016 |
# ¿ Feb 19, 2016 01:45 |
|
You probably want to use wmi directly to do this programmatically though, rather than parsing the output of one of these commands. I think you can do this in either powershell without anything extra, or in python if you install the wmi module.
|
# ¿ Feb 19, 2016 15:11 |
|
TooMuchAbstraction posted:Jesus Christ, no. You want to bind your parameters into a query, and let your query library handle escaping quotes, etc. for you. In general, if you are generating a query by inserting variables into strings, You Are What Is Wrong With Databases.
|
# ¿ Mar 28, 2016 20:02 |
|
fletcher posted:I want to force a HTTP request to a particular host timeout in order to test something. Any sort of iptables or hosts file trickery I can do to achieve that?
|
# ¿ Apr 2, 2016 00:38 |
|
P-Value Hack posted:I know in the real database world, MS Access is poo poo on a lot for being bloated and dumb, but nevertheless, I have no programming skills and all I need is a simple database (not even really relational in structure, there's only one table) to store contact information. So, is there a thread in Cavern of COBOL for MS Access questions? Option 1 ($): Use Acrobat (probably pro) to create form, and then use Acrobat to export the form data into CSV files, which you will be able to import into Access with a little work (the easiest way is to create a table with columns that exactly match the names of the columns in the CSV file). Option 2: Use libreoffice to make the form and then use any of various programs/libraries. Pdftk is a simple command-line program that can dump pdf form data, but it's not in a csv format, so you might need to write or find a really simple program to fix this.
|
# ¿ Apr 8, 2016 13:38 |
|
ulmont posted:You're right since the OP has no programming experience, but if you ever want to read text data out of a PDF in Java, Apache PDFBox is pretty good at it. P-Value Hack posted:Yes, I think I'll either try the first one (since I do have Acrobat Pro I believe) or just use a Word document instead. Otherwise, there are lots of ways if you can program, but if you can't, it's sort of ugly, but one option is to create an excel file with two tabs. The first will be a "form" for entering data with all the cells that aren't fillable being locked. The second will be a hidden tab that uses formulas to convert the data from the first tab into a proper format to import into access. Office might have some sort of built in form filling thing, but you probably wouldn't want to actually use it even if it exists (or still exists). mystes fucked around with this message at 23:53 on Apr 8, 2016 |
# ¿ Apr 8, 2016 23:45 |
|
Pryor on Fire posted:Is this "machine learning" fad the reason google search results and netflix suggestions keep getting shittier and shittier?
|
# ¿ Jun 24, 2016 00:48 |
|
TooMuchAbstraction posted:I'm not an expert on these matters, but no, it won't be, because the full frames aren't encoded raw into the file -- as you surmised, the file is compressed so that it doesn't need to store everything. If you were to download the raw form of one of those 24-hour-long YouTube "videos" that's just a blank screen with the Enterprise engine noise on repeat, you'd get a single frame of video and the audio track and that's it. Edit: Oops, beaten by like 15 minutes. Skandranon posted:most modern video encoding uses a combination of keyframes (which effectively perfectly represents a frame, compressed) and b-frames (which contain delta information from the last keyframe) mystes fucked around with this message at 03:09 on Jul 7, 2016 |
# ¿ Jul 7, 2016 02:43 |
|
wargames posted:This is not worth its own thread but is involved, my coding skill level is basically zero, but my overall computer knowledge is fairly ok. I've managed to bang together a website, I self host a wordpress site, I run mybb forums, doku wiki, and soon rocket chat on this site. Right now I have wordpress doing my auth for the site. I have mybbsync plugin inside wordpress so when you go to login on mybb wordpress pushes the info into the mybb sqldb. question is how do I make it so they just sign into the website and click on the forums and have them auto login? This can also be asked of dokuwiki I have the wordpress auth plug for dokuwiki, I would like a SSO just don't know how to go about that. pretty sure I am making no sense at 3am but i am stumped. Ideally, if the sites only store a session ID in their cookies, and have some sort of session database is just a simple mapping of session ID to user ID, then you would just need to change the functions that check the session and that get the username to use the equivalent from wordpress. This way there wouldn't even be a separate login process. Being logged into wordpress would mean being logged into the other software as well. However, there are going to be lots of annoying details in terms of synchronizing user databases (the different programs will probably have their own database schemas for user information, etc., and you might have to translate user numbers if the programs pass them around internally) and it's probably going to be a pain to get everything working perfectly. mystes fucked around with this message at 13:04 on Jul 8, 2016 |
# ¿ Jul 8, 2016 12:53 |
|
ToxicFrog posted:You can, that's how screen/game streaming software like OBS or Steam Home Streaming work.
|
# ¿ Jul 11, 2016 01:53 |
|
LOOK I AM A TURTLE posted:The plan is that on a successful login the server will generate a signed token that contains at least the user's ID and a security stamp... The server decrypts the token and verifies that the security stamp matches what's in the database. If it does, the user is logged in.
|
# ¿ Jul 11, 2016 11:20 |
|
http://stackoverflow.com/questions/13817452/how-can-i-generate-a-cryptographically-secure-number-in-sql-server Use CRYPT_GEN_RANDOM
|
# ¿ Jul 11, 2016 15:09 |
|
ultrafilter posted:Is there a good quick introduction to Excel's dialect of Visual Basic? I'm trying to reimplement an algorithm that's in that language, and it's tough going cause it's kinda weird. I've had the misfortune of trying to use it lately so if you have any specific questions I might be able to help. For data-intensive stuff that doesnt need to directly interact with the object model you might want to look into making an xll plugin with excel DNA if possible; it can be a lot easier than doing everything in VBA. mystes fucked around with this message at 20:35 on Jul 11, 2016 |
# ¿ Jul 11, 2016 20:30 |
|
cybertier posted:It should be able to interface with Excel to fill placeholders in a Spreadsheet (xlsx) with information that is gathered through the application.
|
# ¿ Aug 19, 2016 15:20 |
|
rjmccall posted:http://www.pcworld.com/article/2365240/intel-expands-custom-chip-work-for-big-cloud-providers.html
|
# ¿ Aug 19, 2016 16:19 |
|
Suspicious Dish posted:This is Sun Microsystems levels of naivety. mystes fucked around with this message at 02:24 on Aug 24, 2016 |
# ¿ Aug 24, 2016 02:21 |
|
|
# ¿ May 4, 2024 06:01 |
|
Fergus Mac Roich posted:If you were writing a little internal web app that had to (sigh) fetch its data by using a proprietary app accessed only through ssh, what FOSS glue would you use to allow your web app to drive your ssh session?
|
# ¿ Sep 22, 2016 19:19 |