|
Nifty posted:Is there a way to view the code or purpose of a .cmd file Open a text editor?
|
# ¿ Jul 27, 2012 17:11 |
|
|
# ¿ May 4, 2024 03:39 |
|
Rigged Death Trap posted:I'm starting a computer science course later this year and I was wondering, since I am wet behind the ears on programming, what stuff I could read up on to begin with? If you want a leg up on your course, it probably wouldn't hurt to read up on a few sorting algorithms. Try quick sort and bogo sort and please skip bubble sort. vvv If you want real-time, free is mutually exclusive to good. Actually free+good basically doesn't exist for market data at all.. leper khan fucked around with this message at 20:58 on Jul 29, 2012 |
# ¿ Jul 29, 2012 15:38 |
|
soapydishwater posted:Thanks for the advice everyone, it really helps (even Bognar's "word vomit"). That part about the interface driving the logic from Nielsm made a lot of what I already know click into place. To narrow the scope, by the way, I was mostly taking about a desktop, GUI sort of application, since I've been wanting to write my own image editor for a while- but like I said, I wasn't sure where to start. I'm sure there's more specific stuff that applies to image editors, but I can probably figure it out myself. Start with pen and paper. This may sound strange, but it will lead to better results faster than everything else. At least it has in my experience.
|
# ¿ Aug 22, 2013 15:09 |
|
Snak posted:So basically all my problems with this entire project are caused by the way the files are set up. I don't know how to avoid duplicate definitions because, there are supposed to be four files of source code, which can be assembled in different combinations using a makefile. I can't put my includes in just one of the headers because not all combinations use all the source files. This project is a nightmare. Please tell us more in the horrors thread. Also I don't understand why you can't have more than four files? Or why it's desirable that including in different orders changes behavior.
|
# ¿ Oct 10, 2014 15:51 |
|
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 creating a script that would write the results directly to the table? This time-sucking project would be completed pretty drat fast if that was the case. As it is, we are having to touch over 1300 medications by hand. Connecting straight to the DB is probably a bad idea. The application could be altering some data you don't notice at which point you've forced the DB into a bad state. Boot up wireshark; hopefully it's simple http queries.
|
# ¿ Oct 11, 2014 15:46 |
|
I like turtles posted:I'm on a team looking at building an android application, and I'm hoping to get suggestions on an optimal technology stack. Why not just make sure your data is in 3nf? I doubt that MySQL is your bottleneck, and it isn't clear why mongo would be better.
|
# ¿ Oct 14, 2014 17:14 |
|
Fisticuffs posted:Cool, then I will definitely look into customizing someone else's base into something that can hopefully offer similar quality to ESPN3. Thanks for this info this is really awesome. Do you know of any open source databases, search engines or basically some site that'll help me locate these programs and start vetting them for my needs or looking into how customize-able they are? Thanks again for the help everyone! Just to be clear, you're trying to break into a crowded market with absolutely no understanding of the underlying technology. I hope you have a lot of money that you're willing to burn. If you're really looking into this, it might be better to read the RFCs on streaming web content before looking for half fleshed out services. If you want something minimal though, you can probably just host full videos and play them on a site with an html5 player. Live-transcoding content can probably be added later.
|
# ¿ Nov 1, 2014 02:17 |
|
Kiryen posted:Thanks! You can prepend std:: to anything you're using from std. std::string, etc.
|
# ¿ May 20, 2016 04:25 |
|
PRADA SLUT posted:I have a text file with lines of data. I want a script that will enter the first line into a text box on a website, hit enter, wait 5 seconds, enter the second line, wait, etc. I've done similar things in C#; it's pretty simple, just look up the API for emulating mouse/keyboard events on the MSDN. You can "type" by passing strings, etc. Depending on what you're actually doing, it may make more sense to just use curl to directly send web requests though.
|
# ¿ Jun 21, 2016 17:02 |
|
pokeyman posted:Erlang uses =< and >= They're inherited from mathematics. But yes, prolog does that too.
|
# ¿ Jul 11, 2016 12:08 |
|
dupersaurus posted:I was involved with a (much smaller that wow) mmo a few years back, and I'm pretty sure it was some flavor of SQL. The whole game state is loaded on startup and kept in memory, so it's not like you have to be constantly pulling and pushing into the db. The MMOs I've worked on all used MSSQL. They weren't at WoW's scale, but there's nothing wrong with RDBMS. Especially when you know the form data should have (as with most problems in games).
|
# ¿ Jul 16, 2016 16:47 |
|
LP0 ON FIRE posted:What are your thoughts of using Aerospike for a database vs Cassandra or MongoDB? Aerospike claims to beat them both on all fronts, but I'm afraid they are desperately feeding me propaganda. If you're reading their marketing material instead of third party analysis on real data then you're being fed propaganda.
|
# ¿ Jul 18, 2016 19:05 |
|
baquerd posted:Also, don't correct them, they're not going to understand and will take back to the hiring manager that you didn't have a firm grasp on rational databases. It's also indicative of the type of place where there's an incompetent in a position of minor authority that will "correct" valid terms with whatever nonsense lives in their broken mind. Guaranteed HR isn't arguing semantics of terms if an engineer tells them it's something other than what they were saying previously. People in recruitment are shockingly good at parroting.
|
# ¿ Jul 20, 2016 04:26 |
|
it is posted:I wanna write something to scrape manta.com (a directory of local businesses) for work. I started but my rough draft got sniffed out by their security. The site is clearly designed to be crawled, but what are some best practices to make sure I can get the information I'm looking for without getting in trouble? It depends? Easiest thing to do is ask for their data (they won't give it to you). Failing that, you can write your crawler to distribute scraping tasks to multiple machines and make sure any given machine doesn't make calls extremely quickly or at precise intervals. Eg, use a bot net. I don't know what "getting into trouble" means to you. If you don't want to get your bot shut down, try to mimic human actions. If you are worried from a legal/ethical standpoint, maybe don't do a thing. Basically don't piss off their CJ's and even if they catch you they may not care enough to bother dealing with you. But if you interfere with the operation of their site by DOSing them, they'll very likely blacklist you.
|
# ¿ Aug 3, 2016 14:06 |
|
Mathematicus posted:This is a shot in the dark, but I'm looking for advice on creating a LIMS system. What does LIMS stand for?
|
# ¿ Aug 4, 2016 19:19 |
|
This sounds like the type of thing that will be easier, cheaper, and more functional to license. Why not just use the best off the shelf one?
|
# ¿ Aug 4, 2016 22:20 |
|
C-Euro posted:Humble Bundle is offering a book bundle of coding texts, and I've always wanted to pick up some coding skills (especially in my new job of typing numbers into spreadsheets) but never had a good guide to walk me through stuff. Anything worthwhile here? The best books listed (namely learn you some erlang) are free on the web. R is probably the most relevant topic for you I see there?
|
# ¿ Aug 22, 2016 06:45 |
|
rt4 posted:There's a bunch of books in existence on modeling problem domains in the course of designing object oriented software. Does the same sort of reading material exist for functional programming? All the stuff I can find is about languages or algorithms. This seems to leave a very large hole when it comes to building usable software. It's all just algorithms though..? For erlang there's a bunch of books on structuring things in OTP containers I guess.
|
# ¿ Aug 22, 2016 20:14 |
|
HappyHippo posted:I guessed underscore and google tells me I'm right. It's not anything special in lua, just a convention. It's a special thing in Erlang.
|
# ¿ Aug 30, 2016 06:17 |
|
Jsor posted:Ugh, this is surprisingly difficult to actually do. I have a few dozen graphs, stored as PNGs with identical dimensions. I need to print all of them to bring to a meeting. At first, I figured I'd just use LaTeX, write a quick python script to make an \includegraphics for each, and be done. No, "Too Many Unprocessed Floats". Every attempt to easily fix this has failed. Imagemagick to chain them together then print the png at whatever scale fits the printer?
|
# ¿ Aug 30, 2016 21:50 |
|
Guy Innagorillasuit posted:Can anyone recommend a text editor/IDE to me? I'm writing Nessus audits and need a little help keeping my syntax straight. I'm looking for the following: Vim handles xml tags natively. I typed up a thing in that syntax and all the verb motion stuff seemed to work; cit and so forth. It's also rainbow colored to hell, so I'm pretty sure that's doing what you would want too.
|
# ¿ Aug 31, 2016 21:59 |
|
Jsor posted:I was looking over one of my old wrappers, and I'm wondering how you all would handle something. The library I'm wrapping only has one way to load or save a type: calling a function with a string pointing to a file destination. However, I want my type to be serializable using the language's serialization feature. You almost certainly don't need to write a file, the ease of doing so depends on the language you're using and if you have source access to the underlying type. What you have is a straightforward workaround for a seemingly bad API. It sounds like the simplest alternative is a memcpy, but I can't know that there aren't hidden types allocated that you would probably need to replicate as well. e: You may want to look into how your language handles reflection. leper khan fucked around with this message at 12:52 on Sep 13, 2016 |
# ¿ Sep 13, 2016 12:50 |
|
Jsor posted:Yeah, the problem is that while I have access to the exposed types, the thing is a snake's nest of pointers to structs to pointers (some of which may be null, or irrelevant). Deep copies of the underlying objects are non-trivial. If you have write access to the exposed types, you could easily add deep copy functions to every viper in the pit. If there weren't a really strong need for it, I'd probably just
|
# ¿ Sep 13, 2016 12:58 |
|
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? I would probably set up an expect script or the like to run through cron and dump data to a db? Having a web session actually drive ssh sounds like a disaster waiting to happen. If you did need to do that, I'd probably set up predefined tasks or something.
|
# ¿ Sep 21, 2016 01:51 |
|
Minorkos posted:hi I've recently started studying computer sciences after bumbling around in humanities for a couple of years. I did some research and it turns out that this degree will be largely worthless as well unless I really put some effort into learning programming and stuff at home as well. we've done a bit of programming in C# at my college already but it's all been extremely basic and easy stuff, and I want to really learn a lot of stuff fast. seeing as I'm already in over my head, what would you recommend for a person such as myself? I'd like to do something that starts out somewhat easy but can be built upon from there. I was thinking of making some dumb project in Unity or something like that, but I don't know if that's a silly plan. Maybe go through some C# tutorials? i don't know Unity is fine, but be sure to stick to a project that seems far too simple to start with. Minesweeper/Tetris/etc. You'll find a number of people with a similar background to yours in the various game dev threads, but many have strong technical backgrounds as well. Those threads are also generally open to people starting out.
|
# ¿ Sep 21, 2016 13:25 |
|
Stinky_Pete posted:you mean template classes? Generic programming.
|
# ¿ Sep 23, 2016 20:08 |
|
cubicle gangster posted:I work for a marketing agency that creates interactive experiences and sales galleries and have a question about time/pricing. have a client asking for a ballpark timeframe/cost, for something we & they know we'd need to hire a freelancer for. Tell your client to provide an API to their database and you're basically done? Smart fox is probably the wrong tool due to both cost and complexity. All you need is a web API with preconfigured queries into the database. If you don't have DB experience in house, you may just want to ask your client for the API, unless you want to get stuck with support contracts you'll continuously feed to random people. It shouldn't be terribly complicated, but I also don't know what kind of nightmare their schema is. I would expect the contract for that bit to be less than a month at whatever mid level dba's charge in your area. After the API is up, you can just pull things down using unity's WWW class.
|
# ¿ Sep 27, 2016 22:07 |
|
ButtWolf posted:OK update on that stupid text conversion. I'm having trouble grabbing these weird characters. I'll open in wordpad and notepad and sometimes they are different, so what I copy into the code does not work when finding and replacing. Œ is killing me right now. Is there a way I can figure out what it actually is? like I copied some ' and it shows up as STX when copying to editor and it works but Œ shows up as Œ and does not get replaced. idgi Read the file raw, tokenize on whatever, format in whatever format from your tokenized input.
|
# ¿ Sep 29, 2016 23:46 |
|
dupersaurus posted:The day where I don't wonder if I'm writing a Daily WTF is the day it's time to find a new career I stopped wondering and started accepting years ago.
|
# ¿ Sep 30, 2016 18:38 |
|
csammis posted:Those methods are all about foreground-background subtraction which requires learning or being told what is "background" and what isn't. If you can assume that everything in the foreground that you care about is definitely moving in every set of images you analyze, then this may work for you. If you don't know (or can't determine) what "background" means in your image set then you may want to look into object tracking. In OpenCV this involves selecting a set of points, usually by a feature detection algorithm like FAST, and running it through one of these methods. Are there any libraries other than kinect for grabbing 3d pose information for humans out of an rgbd image? Looked around but couldn't find anything. If not, a short reading list would be appreciated if you're familiar with the domain.
|
# ¿ Oct 21, 2016 04:42 |
|
csammis posted:Unfortunately I don't have any knowledge of that area. The data I work with is meh-quality IP camera-style video streams. I wish I had depth information to work with as an additional data stream but I've been told it's "not feasible" to bolt Kinects on top of our cameras Thanks for the links. I'm trying to track people through a headset but don't have any background in image processing and everything is a bit
|
# ¿ Oct 21, 2016 16:45 |
|
huhu posted:Curious what everyone listens to when they code. My typical stuff is either classical, EDM, or video game soundtracks but I'm starting to get bored of all three. Any suggestions for Spotify playlists or genres to checkout? Pouring coffee, mechanical typing, and persistent air conditioning. Occasionally other people's conversations.
|
# ¿ Oct 25, 2016 15:54 |
|
Peristalsis posted:You forgot your office-mate's mouth-breathing, buzzing fluorescent light bulbs, and loud conference calls from your boss in the next office (who never shuts his door, not that it matters, because every noise leaches through the walls anyway). It's like you totally get me. Except I'm the mouth breather occasionally barking at my monitor.
|
# ¿ Oct 26, 2016 04:43 |
|
Mycroft Holmes posted:Ok, new question. I am trying to create a function that will take the results of 4 check boxes and, depending on which are marked, define a variable as a number. The number will be different depending on which boxes are checked. More than one can be checked at a time. Is there some way to do this without a huge block of if..then statements? Sure, decompose the math behind each bool and then directly formulate the thing. Or use them as flags into a lookup table.
|
# ¿ Oct 30, 2016 14:36 |
|
Thermopyle posted:Looking over my oldest questions on Stack Overflow this morning. I started asking questions on there within months of the site opening in 2008 and it's funny how wet behind the ears I was stack overflow is pretty bad for anything that reasonable documentation couldn't answer trivially. forums and user groups have been much better for less trivial or more specialized things in my experience. though the private clones of it some middleware providers have can be good for questions on their middleware.
|
# ¿ Nov 25, 2016 19:26 |
|
Bob Morales posted:What is a good example of a simple CPU to use if you want to experiment with writing an emulator or assembler or something? i hear chip8 is popular for doing some of that. there's a thread for it somewhere. anything from an 80s console was relatively simple, but still might be more complex than what you're looking for. e.g. 6502 or a z80.
|
# ¿ Nov 28, 2016 03:59 |
|
dupersaurus posted:Massive oversimplification, but in c# whenever you pass a non-primitive value to a function, you're essentially passing a pointer (the location of the item in memory rather than creating a copy). While c# assumes the pointering, in c++ you have to explicitly declare it. that's true for 'class'es, but 'struct's are value types in c#
|
# ¿ Dec 3, 2016 02:22 |
|
Fergus Mac Roich posted:<.*(?!>).*< I think. you can't do paren matching with a regular expression
|
# ¿ Dec 7, 2016 05:39 |
|
Jsor posted:Can't you with the weird not-technically-regular backtracking PERL flavor? yes
|
# ¿ Dec 7, 2016 13:38 |
|
|
# ¿ May 4, 2024 03:39 |
|
anyone familiar with the windows device portal api (specifically for hololens) or why it would return 429 on any POST requests i make?
|
# ¿ Dec 9, 2016 17:32 |