12:19 AM
This may seem like common knowledge to WinRT programmers, but this question was unanswered, with a bonus, for about 5 days. — Stephen Hosking 1 min ago
1:21 AM
This is about not being a programming (code) or programmers tool related question. I linked you to the guidelines in my previous comment. OS configuration is not a programming question unless you're trying to do so from source code. Read the help center page if you need clarification, as I mentioned before. — Ken White 1 min ago
I am an enthusiast programmer, I write code because I love it. I put a bit of source code in my question. And my question covers: a specific programming problem, a software algorithm and software tools commonly used by programmers. — David Vartanian 1 min ago
1:55 AM
Yes, the method returns an object. If it did not return an object, how could the "thing" returned have a toString() method which we both agree on. What I disagree with is your statement that the code is wrong. What u r forgetting is that the js language implicitly casts things all the time. Some people call that being a weakly typed language. All js programmers need to spot the casting & recognize it for what it is. After the browser returns the object js implicitly calls the toString() method & returns a string. That happens for any object in js, not just getSelection(). The code is NOT wrong — Ted Cohen 29 secs ago
1) Why code an applet? If it is due to the teacher specifying it, please refer them to Why CS teachers should stop teaching Java applets. 2) Why use AWT? See this answer for many good reasons to abandon AWT using components in favor of Swing. — Andrew Thompson 52 secs ago
1) Why code an applet? If it is due to the teacher specifying it, please refer them to Why CS teachers should stop teaching Java applets. 2) Why use AWT? See this answer for many good reasons to abandon AWT using components in favor of Swing. — Andrew Thompson 1 min ago
This isn't really an appropriate question for the stackoverflow format. If you can reword it as being about a programming principal rather than just a survey of opinions it could be appropriate for programmers.stackexchange.com — George Mauer 1 min ago
Lots of questions about this on programmers at stackexchange: programmers.stackexchange.com/questions/22146/… programmers.stackexchange.com/questions/20628/… — darlinton 2 mins ago
1 hour later…
3:37 AM
You could ask this at programmers.stackexchange.com or workplace.stackexchange.com, but I'm not sure whether they'll accept it — l19 52 secs ago
4:57 AM
@l19 neither Programmers nor Workplace will accept a question like this; both sites have custom close reasons for these. Recommended reading: What goes on Programmers.SE? A guide for Stack Overflow — gnat 1 min ago
1 hour later…
6:21 AM
Not that I can answer the question, but I personally know some people who worked on the JIT compiler team at MS, and they are those type of ninja-genius programmers whose reasoning for programming goes way beyond the comprehension of us mere mortals, and I'd bet the answer would be extremely complicated (then again, I may be wrong and it can be dead simple, like storing a type object somewhere in the heap or something :-) ) — Jcl 1 min ago
2 hours later…
7:57 AM
Hello Robert, Thanks! And yes, you're right. I was just being lazy. Lazy programmers like me often think long lines of code are not "elegant". Also I was wondering what was the reason to have the plan holding the stream as an attribute. I have seen this is handle different when using Thrust transforms. There streams are given as a parameter together with the fuctor (execution plan). It would be cool to have a tighter integration of Thrust and CUDA FFT. Don't you think? — Omar Valerio 18 secs ago
NullReferenceException
is a common situation for beginner programmers. The link provided should help you understand the problem. Then use the debugger to find what/where/when you have a variable that is null
. — Soner Gönül 1 min ago
2 hours later…
10:07 AM
sigh I was almost done writing my answer :( Instead, I'll provide it here, in the form of comments, as the question has been closed now: "But the function MyFunction signature with return type specified first is in programmers habit since C." - This is irrelevant, as the definition of the
Func<...>
delegates is not specific to C#, but available to any CLI languages. ... — O. R. Mapper 1 min ago11:05 AM
I don’t agree about the “easier … writing an Iterator” point. I have written too many
Iterator
s to see it that way. When I first saw the tryAdvance
method, I was so excited, I didn’t care about all these other features. I converted all Iterator
s in my code and don’t regret it. I was very surprised when I noticed how many new Java 8 methods implement the more complicated Iterator
s where Spliterator
s are required. It seems that this is all just about what programmers are used to. Granted, getting a single item without storing it into a data structure doesn’t work with Spliterator
s… — Holger 21 secs ago11:25 AM
@MarioRossi The Streams framework does not exist to only write parallel code. Its butt, unfortunately, sits on two sides of the fence, and many programmers use it to write sequential code. There are even built-in methods that cannot be parallelized (such as
skip
). — Aleksandr Dubinsky 42 secs ago11:41 AM
This question is off-topic, although it would be appropriate to post on programmers.stackexchange.com Try there. — johnyu 1 min ago
I'm voting to close this question as off-topic because while it may be ontopic for other Stack Exchange sites, it is not for SO. — deceze 1 min ago
HAHA this is hilarious. I don't know whether to laugh or weep on the new breed of degenerate stack overflow programmers. — Muhammad 27 secs ago
interesting but too broad question, some parts migth fit on superuser.com, with more details maybe programmers.se could have this. — rene 2 mins ago
@AlexanderMeesters This might be acceptable on Programmers (READ THEIR HELP CENTER), or if you're looking for advice on how to resolve this workplace dispute, you might checkout The Workplace (READ THEIR HELP CENTER). This would be off-topic on Code Review (READ OUR HELP CENTER). — nhgrif 47 secs ago
12:27 PM
Can we migrate this to Prgrammers.SE? There is a version of this question for UNTYPED lambda-calculus: programmers.stackexchange.com/questions/185941/… — mac389 2 mins ago
12:53 PM
Yeah, how to make 6100 lines look like less in Microsoft Word is really completely off-topic for Stack Overflow. This is a site for programmers and programming enthusiasts, not typists. — David Wallace 45 secs ago
@DavidWallace I assume that programmers would have experience exporting their code? — user3622016 1 min ago
2:09 PM
Please, show a sample input and expected output. You can meet much more programmers than bioinformatics experts here. — choroba 50 secs ago
2:41 PM
@shanyangqu The scope for Stack Overflow includes tools used by programmers. So that question you link to is perfectly on-topic. — Duncan 14 secs ago
3:03 PM
while I appreciate your remarks about overabstracting - I am indeed mostly a high level programmer - the
GPIO_{Set,Reset}Bits
functions actually do a BSRR = ...
or BRR = ...
, respectively, not a |=
or &= ~
, so I can't get around the branching either way, and repeating all that branching is something I don't want to do. My concern is not "readable to non-programmers" but DRY and code locality. Anyway, thanks for both parts of your answer! — Silly Freak 2 mins ago@mgiuca: There are many situations where it's necessary to test floating-point numbers for equivalence. If programmers wanting to test fp equivalence have to write something like
bool equals(double x, double y) { return (x==y) || (x!=x) && (y!=y); }
, such testing is apt to be inefficient even on hardware which would allow direct equivalence testing. Adding a means of equivalence testing which would work for fp types, but could also be implemented by other types that promise that it represents an equivalence relation would seem nicer than adding one just for fp types. — supercat 18 secs ago3:57 PM
ah all right, just noted but frankly I still haven't experienced anything wrong with fflush alongside with scanf string input but if you say it's not recommended then I do believe in it! After all you're an experienced programmers — Cal Fox 16 secs ago
4:13 PM
4:33 PM
C++ programmers may know a bit about OOP, but they are not likely to know what (limited) OOP facilities are provided by modern Fortran (and more importantly, what is missing). In any case, this question is not about C++ and unless you want a C++ solution, that tag doesn't make sense. — casey 1 min ago
5:23 PM
Decompiling won't really help C/C++ programmers who actually produce real binary compiled code. — Tomáš Zato 1 min ago
6:07 PM
The biggest problem I have with this is that I, like nearly all programmers I know, use the same terminal for editing code and running code. If you set your terminal to be 80ish wide so you have room for other things on your monitor, when you run your code, your stacktraces and log files are unreadable. This causes you to use a wider terminal. Therefore, your text editor is wasting space. Why not use separate terminals? Sometimes we do, but for 95% of cases 1 terminal window with 1 tmux inside is the optimal "get out of my way and let me code". — Richard Bronosky 1 min ago
6:23 PM
6:39 PM
Your question is too broad now. It all depends on sizes of every field in your document... on size of your database... on other issues that can occur. And I think that this kind of question is more about design. You should ask it on programmers.stackexchange.com. — Michael Sivolobov 2 mins ago
7:05 PM
@user2230627 Yeah, polymorphic containers is where smart pointers become instrumental. Before these pointers were introduced, programmers needed to deal with allocation and deallocation of items individually, creating memory leaks right and left. — dasblinkenlight 1 min ago
7:25 PM
Stack Overflow is a question and answer site for professional and enthusiast programmers. Super User is a question and answer site for computer enthusiasts and power users. — Cyrus 36 secs ago
Duplicate of Where would I typically use a Deque in production software? on Programmers.SE. — mins 2 mins ago
AdamNYC, no I never used anti-piracy tools to protect my own software; open source is better. And running software (fully or partially) in your own server/cloud (SaaS) may be better way. Please, read answers in programmers.stackexchange.com/questions/46434 as their authors have more experience than I. Also I know that flexlm in different versions was and is popular to protect software for Linux (older versions can be easily cracked; don't know about TPM support); the other possible google keyword HASP (hardware usb keys/tokens). Same pair in stackoverflow.com/questions/1073497 — osgx 1 min ago
8:33 PM
8:53 PM
This question might be a good fit for security.stackexchange.com, or possibly programmers.stackexchange.com. I don't think it belongs here on Stack Overflow. — Benjamin Hodgson 1 min ago
9:41 PM
programmers are supposed to be open minded :P come on what's the harm?! I actually totally disagree with peeps who don't want a custom operator here. If an operator being customized allows a dev team to customize their app domain's programming techniques then do it! I think as nerds we get too caught up in trying to look smart with our code (definitely guilty myself), when instead we need to look as newb as possible at least on the surface level. This allows newer people to not be intimidated and more intra-dev trust! trust = good business!! :D — Mike Socha III 2 mins ago
10:15 PM
@deceze ...see above ^^^ Recommended reading: What goes on Programmers.SE? A guide for Stack Overflow — gnat 36 secs ago
@nhgrif off-site resurce recommendation questions are very bad fit for Programmers - it would be quickly voted down and closed over there, see meta.programmers.stackexchange.com/questions/6483/… Also... — gnat 1 min ago
11:19 PM
It is very bad practice to modify superglobals like this. Have a look here as to why programmers.stackexchange.com/q/76406/162446 — rjdown 1 min ago
11:31 PM
if there is such a source it is something that many programmers would like to know, I guess — Day_Dreamer 29 secs ago
« first day (44 days earlier) ← previous day next day → last day (3333 days later) »