1:07 AM
@SpYk3HH And that is why things like "use strict" and -Weverything (clang) and static analyzers and literally anything you can throw at your code to see if it is incorrect are not merely useful, but essential. If you've worked with the DoD, you might know of Ada, which was created explicitly to allow contractual designs and force programmers to prove what they have done works correctly. If you are playing catchup, I would hazard a guess you are at least 10 years behind; the entire point of functional programming is to enforce the same "academic guidelines" you are against. — Alice 27 secs ago
@Alice Then we are from 2 different worlds. As I said, College grads I've seen, have all the understanding in the world of "theory", but have rarely ever applied the practice and tend to make contracts extend far beyond budget. As a matter of fact, that's how I got started "professionally", was cleaning up college educated programmers code and finishing jobs they couldn't get done in the time constraints required.And ADA is an international standard and not always what I was held adherent too. In fact, it was only ever referenced once. Instead, I often had to submit thumbdrives to the FBI. — SpYk3HH 1 min ago
@SpYk3HH As I've said, the self taught programmers I've seen have an inadequate understanding of what they are actually doing; they are not experienced programmers, no matter what the amount of code they have created says. I would trade 10 code monkeys for a single Haskell programmer, because while the Haskell programmer might take longer to get to market, her product won't suffer concurrency issues and will have automated tests proving it works. We are quite different, as I was originally hired to bugfix code that cowboy programmers had written without testing! — Alice 29 secs ago
2:05 AM
Code the functionality in panels, and use a
CardLayout
to flip between them. Either that or pop the 'log in panel' in a JOptionPane
But.. 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 49 secs ago1) 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 24 secs ago
2:51 AM
I would argue that
do
notation is sort of a happy accident. There is underlying mathematical theory to Monads - but a Monad is just the mathematical construct (m, return :: forall a . a -> m a, bind :: forall a b . m a -> (a -> m b) -> m b)
. Do notation happens to be syntactic sugar which is compatible with the Monad structure; happens to look like a "stateful" control flow (which makes sense - monads are often used to model stateful computations) that is recognizable to programmers coming from imperative languages; and makes it easier (sometimes) to reason about monadic computations. — user2407038 1 min ago
3 hours later…
5:25 AM
But programmers are the people most likely to have had similar requirements, and as such are most likely to know what workarounds/obscure APIs/alternatives might be effective. — Brett 2 mins ago
6:11 AM
Once upon a time, "programmers" actually wrote code. From scratch. Can you believe that? There was not Stack Overflow to copy & paste from. — Jonathon Reinhart 1 min ago
3 hours later…
8:51 AM
9:33 AM
I'm voting to close this question as off-topic because it belongs on Programmers StackExchange — Yuval Itzchakov 2 mins ago
1 hour later…
10:41 AM
2 hours later…
12:41 PM
12:57 PM
COM components should have an installer. Most programmers equate creating one to having a root-canal done. But simple with the right utility, like this VS extension. You don't have to have one, you can limp along with Regasm.exe without putting it in the GAC. Use the /tlb and /codebase options. — Hans Passant 2 mins ago
1 hour later…
2:11 PM
yeah SO isn't here to help you optimise your code use programmers.stackexchange.com as thwy are allowed code reviews and suggestions for optimisations on that page — ZoomVirus 29 secs ago
@DavidMakogon is right, you'd be better off asking that question on programmers.stackexchange.com I think. — SolarBear 1 min ago
@ZoomVirus This is not on-topic for either Programmers or Code Review. There is a problem that needs to be fixed in this code, which belongs on SO. — Simon André Forsberg 1 min ago
@ZoomVirus: No, programmers.se does not do code reviews. Don't spread wrong information. On codereview.stackexchange.com we review working code that needs to be improved which doesn't seem to be the case here: this code doesn't work as intended. — Jeroen Vannevel 2 mins ago
@SimonAndréForsberg All preference, but this is not a place for discussion "I like windows, no I like Apples" ... I personally like to recommend it to new programmers as it displays directly what kind of datatype was used. — Johan 2 mins ago
2:53 PM
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 ago3:13 PM
@YuvalItzchakov - This would be off-topic on Programmers. It's an invitation for discussion, or more generously a "pros & cons" type question. Neither of which are on-topic for Progs. — GlenH7 51 secs ago
3:41 PM
Stack Overflow is intended to answer objective questions that are generally useful to other programmers. This question is not of that sort, and is better suited to a forum or discussion group. I suggest having this conversation with your classmates, or even your professor. — Chris Baker 2 mins ago
4:37 PM
@Jonathan Green try adding ' & Chr(13) & Chr(10) ' anywhere you want a line break in access query. additional info link — Bill 1 min ago
5:01 PM
@VladfromMoscow: Can we not call people "stupid" and "low-qualified programmers"? And can we not call SO a "forum"? You only just got off suspension. — Lightness Races in Orbit 51 secs ago
An interesting curiosity: you can add the semicolon if you want and it is not the empty statement but a concession for C++ programmers: stackoverflow.com/a/24614664/895245 — Ciro Santilli 1 min ago
"
Stack Overflow
is a question and answer site for professional and enthusiast programmers". This doesn't look like a question. — Rubens Farias 52 secs ago5:43 PM
@arisalexis - this question, as asked, doesn't look to be a good fit for Programmers either. It's too broad. — ChrisF ♦ 39 secs ago
6:17 PM
6:39 PM
Tell us what the "Something" class has to do then we might be able to give you a path. You most likely dont want to clone the array, but as long as we dont know your base intent, it is hard to tell what you should do. I'll make sure I read any edit to your question. Just make sure you dont ask two questions at the same time, "philosophy" questions should probably be posted on "Programmers" or "Code Review" depending on the nature of the question. — RaNuD 2 mins ago
I agree with you in theory, but in practice, programmers make mistakes and mess up. Case in point, we all know that you use "==" in a conditional and not "=", but we ALL have made that mistake before and didn't realize it until later. — Tim Holt 12 secs ago
This question is off-topic here for at least two reasons. 1) It's not a programming or programmers tools related question. 2) It's asking for a recommendation for a product, which is expressly mentioned as being off-topic here in item #4 of this help center page. — Ken White 2 mins ago
8:15 PM
StackOverflow is meant for specific questions about programming (e.g., How do I ..., or what does this error message mean...) I'm not sure where to send opinion-based questions. Maye programmers.stackexchange.com ? — james large 26 secs ago
8:39 PM
2015-03-02T20:42:00.636Z Warning: Retrieved 100 comments. Might have missed some. This is unlikely to happen
+1. Perhaps (I'm not sure) if you could form that into a proper question, it might fit on [Programmers SE](programmers.stackexchange.com). Don't forget to try out the search function first though :) — Niek Haarman 1 min ago
@loeschg This was a conflicting point in companies I worked at. Some said that if methods to test are private, they shouldn't be in this class. Some just employed a testing framework that allows to test private methods. But changing visibility level is quite bad - a method that was never designed to be in a public contract suddenly is. The general agreement on Programmers is that you don't test private methods. — Ordous 58 secs ago
1 hour later…
9:53 PM
Millions of programmers can be infected with a hurtful idea, namely that finding speedups needs lots of samples, summarized. The idea has no grounding, theoretical or practical. The way it hurts them is the summarizing masks actual speedups, which are simply not found. Some people are not so crowd-influenced, like Jon Bentley, slide 35, Agner Fog, page 18, and those who voted on this. — Mike Dunlavey 1 min ago
10:15 PM
@KyleL: By itself, no -- but it's one of a collection of macros for all the supported widths (8, 16, 32, and 64 bits, and possibly more). Some but not all of these will be no-ops. By defining them all, programmers don't have to worry about how they're defined. — Keith Thompson 55 secs ago
10:37 PM
it works perfectly, thx a lot, a simply thing but for the no programmers is hard to know how to do hehe, gracias! — user3009863 27 secs ago
10:59 PM
This may be a better fit for Programmers(programmers.stackexchange.com). Their on-topic list includes development methodologies and processes and software engineering management — Barmar 59 secs ago
Would this question be suitable for reopening if ported to Super User, the Programmers Stack Exchange, or the Computer Science Stack Exchange? There's quality content here now, and it doesn't feel right being just closed. — Slipp D. Thompson 1 min ago
11:21 PM
@Jongware Real Programmers™ encode the bits on the drive using a sharp, magnetized needle. — David Conrad 26 secs ago
« first day (41 days earlier) ← previous day next day → last day (3352 days later) »
Transcript for
Mar1
Mar '152
Mar3
Duga's Neighborhood
It's a beautiful bot in the neighborhood. Would you be mine, w...