|
Zombywuf posted:The output is 31 characters. No-one seems to be anywhere near that yet.
|
# ¿ Nov 2, 2011 19:58 |
|
|
# ¿ May 23, 2024 12:17 |
|
GrumpyDoctor posted:Just so I'm clear - there isn't any portable way to do what he's asking, right? I'm sure there are plenty of things that will work, but there's nothing that must work? Well there's some dumb options: code:
|
# ¿ Nov 7, 2011 05:40 |
|
SaaS implies a b2b business model.
|
# ¿ Nov 22, 2011 18:54 |
|
the world would be a better place if probability/statistics was a mandatory class for everyone
|
# ¿ Nov 27, 2011 06:45 |
|
Neslepaks posted:No, see, if I build the list and shuffle it before starting to pick, I'd have to store/persist the shuffled lists and I wanted to avoid that. But yeah, maybe it'll have to be that way.
|
# ¿ Dec 1, 2011 17:51 |
|
There's a fairly obvious maximum font size of "the largest that will fit in the vertical space", which is trivially calculatable.
|
# ¿ Dec 5, 2011 06:36 |
|
If your SDK is for something run on the client and not a server, the GPL will probably work fine. Non-commercial licenses aren't very popular for libraries as once you eliminate open source and commercial uses, you're mostly just left with toys.
|
# ¿ Dec 6, 2011 06:52 |
|
hieronymus posted:Things I've noticed about unit testing in addition to previous comments: You've never used a functional programming language, have you?
|
# ¿ Jan 12, 2012 00:16 |
|
Clearly users is a view and friends is an aggregate column.
|
# ¿ Jan 20, 2012 00:33 |
|
baquerd posted:Suppose we have n series of data points, for which each series can be graphed as a line. On this graph, a mouse pointer moves and in real time I need to detect whether the pointer is on top of a line. I have the happy constraint that across all series the x-axis coordinates are shared. That is to say that for any x-value for which I have data, all series will have such a data point. Just sort the data by x coordinate (if it isn't already) then do a binary search rather than a linear search?
|
# ¿ Jan 28, 2012 00:44 |
|
Oh, I misread that as n data points, not n series. Are you actually looking at drawing enough series on a single graph that interpolating between two points for each of them is even vaguely a concern? That sounds like a usability nightmare even if it is fast enough. I suppose if it's a massive graph that's pan and zoomable you might be able to get there. One idea would be to use a quadtree rather than a grid of fixed size boxes for precomputing which series are potentially near each pixel.
|
# ¿ Jan 28, 2012 01:01 |
|
At the minimum it can cut down on wasted work by helping you find design problems before you start writing code.
|
# ¿ Feb 13, 2012 21:42 |
|
ToxicFrog posted:Because otherwise the students in the co-op program will be unhireable (it's not like anyone actually uses Python in the real world, right?), and we don't have the budget to make C and Java addon courses for the co-op students rather making them the introductory courses for everyone.
|
# ¿ Feb 22, 2012 05:25 |
|
Probably not. The icons aren't directly associated with a creating process, so there's no way to check if the process still exists without risking unswapping it if it does.
|
# ¿ Apr 6, 2012 01:22 |
|
How you divide the responsibilities is relatively unimportant as long as you actually do so and your division isn't completely insane.
|
# ¿ Apr 10, 2012 21:42 |
|
find recurs into subdirectories by default, so find . -size -13M -exec rm {} \; should be all you need to delete all files under 13 MB in the current directory and all subdirectories.
|
# ¿ Apr 11, 2012 23:43 |
|
ZanderZ posted:Just a silly question, but when did they make it so you could ID/Class everything in HTML? Is it a 5 feature, or has it been like that for quite some time? The other day I was happily surprised that <li id="foobar"> actually worked when applying styles.
|
# ¿ May 7, 2012 18:04 |
|
It depends on the school. At mine the Masters program was basically a slightly more advanced version of the undergrad degree crammed into fewer years and was mostly targeted at people with an undergrad degree in a different field or from a terrible school, but I do know a few people who got Masters degrees in CS by dropping out of PhD programs.
|
# ¿ May 15, 2012 18:47 |
|
Two of the four comments mention things that the code is not actually doing.
|
# ¿ May 22, 2012 04:38 |
|
Goat Bastard posted:Why? What specific thing are you trying to achieve?
|
# ¿ May 25, 2012 17:49 |
|
a year of low-volume mysql hosting should not cost more than an hour of your time
|
# ¿ Jun 15, 2012 16:49 |
|
Objective-C code:
|
# ¿ Jun 18, 2012 01:30 |
|
Coca Koala posted:You process the *, and it's an operator. So you pop everything on the stack, which means now you're looking at the +. The + is an operator of lower precedence than the *, so you cease popping items from the stack, enqueue the +, and push the * on the stack.
|
# ¿ Jun 18, 2012 22:28 |
|
KNITS MY FEEDS posted:For iPhone apps, if you have a developer account, you can register the UDIDs of the devices to authorize them for testing your app on. You have to format the phones though...
|
# ¿ Sep 11, 2012 23:59 |
|
oRenj9 posted:This should probably go in the homework help thread, but I figured this one attracts more attention. Your main problem is that you made a very poor choice when naming your function's argument.
|
# ¿ Oct 9, 2012 01:31 |
|
WCF makes SOAP relatively easy if you view the fact that it uses SOAP as an implementation detail that you never try to take advantage of in any way.
|
# ¿ Oct 21, 2012 00:37 |
|
If you want a really terrible job that isn't any easier to get or better paying than a decent job then learning COBOL is a good idea.
|
# ¿ Oct 21, 2012 22:29 |
|
Discrete Math is a very broad category of topics and in practice the class is often basically Remedial Everything since a quarter simply isn't enough time to go into depth in any of them. There's a good chance you already know half of the things that the class will cover, but it won't be the same half as any of the other students.
|
# ¿ Oct 25, 2012 19:33 |
|
Zhentar posted:Virtual memory was added to Windows 3.0, in 1990, so you get a fair bit more than just one decade.
|
# ¿ Nov 2, 2012 23:42 |
|
Jewel posted:Because in most languages something like Class : ChildClass is pretty much only for inheritance, and having something completely out of brackets and just.. there, is weird. You're declaring a variable so why have it completely unlike every other variable declaration in all of c++, yet alone all other languages?
|
# ¿ Dec 15, 2012 03:44 |
|
In general the only time you should store something you can calculate is if calculating it is too slow.
|
# ¿ Dec 20, 2012 00:49 |
|
biochemist posted:and then for each dead pixel, you lose all of the starting positions north and west of the dead pixel by the width and height of the image (unless they go outside of X=0 or Y=0).
|
# ¿ Feb 5, 2013 17:36 |
|
mobby_6kl posted:Didn't we use to have a parsing thread or something like that?
|
# ¿ Feb 15, 2013 02:51 |
|
Mr. Crow posted:Doing my first contract job, in general for contract work, is it unheard of for you to be able to use your own hardware and software (barring necessities) for the work or is it something common?
|
# ¿ Feb 20, 2013 02:48 |
|
Install Visual Studio versions in release order or you might run into goofy installer issues. Otherwise I've had no problems with having 2008, 2010 and 2012 installed and switching between them regularly.
|
# ¿ Feb 21, 2013 18:34 |
|
Mr. Crow posted:More contractor-ish related questions... Keep in mind that software is a business expense, and therefore effectively half-price. Beyond that, the general answer is "charge enough money to be able to afford it".
|
# ¿ Feb 23, 2013 00:37 |
|
Delightfully insane covers is a longstanding tradition for CS textbooks.
|
# ¿ Mar 14, 2013 00:24 |
|
Mr. Crow posted:Like the '...' character Word adds, the 'smart quotes' characters, the em/en-dash characters etc. Basically having problems with content/designers copy+pasting from word and then some characters are being garbled in the web page. Trying to fix corrupted data after the fact is nearly always the wrong approach.
|
# ¿ Mar 18, 2013 16:03 |
|
Different working directory?
|
# ¿ Apr 18, 2013 17:43 |
|
|
# ¿ May 23, 2024 12:17 |
|
Profile your code then make the slow parts faster. Most appengine-specific optimizations are related to improving your use of the datastore, which generally doesn't directly effect your frontend instance costs much.
|
# ¿ Apr 29, 2013 03:51 |