12:00 AM
com.gistlabs.mechanize.exceptions.MechanizeException: com.gistlabs.mechanize.exceptions.MechanizeIOException: org.apache.http.NoHttpResponseException: chat.stackexchange.com failed to respond
1 hour later…
1:24 AM
Certainly that pair can work. Android, the mobile OS runs on Java and Java still leads as most popular language. Pretty much any modern programming language and database servers can pair together. However, possibly for small applications, this pair may not be first option. See this SE discussion. But if comfortable, go for it. Learn about JDBC and Java web frameworks (not to be confused with Javascript). — Parfait 1 min ago
2:00 AM
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. — Andrew Thompson 21 secs ago
2 hours later…
3:38 AM
Thanks for the nice answer. But I think only us programmers could think that the second definition of N shadows the first only inside the parens :) — Anonymous 36 secs ago
4:24 AM
Asking for code without a specific programming issue isnt for SO. Also theres plenty of great programmers to help you out when you have a specific problem. — 436f6465786572 38 secs ago
Hi tinker, there can be only one user logged in or "go offline/invisible" in my client app. I tried to do some dependency injection, and use Service Locator pattern link to make the "member status" object accessed by other classes. It's still ugly though. — pac 17 secs ago
2 hours later…
6:52 AM
1 hour later…
2 hours later…
10:00 AM
That's still not a question, you're just telling us your requirements which makes it sound like you just want someone to write/finish your code for you. We're a Question and Answer site, not volunteer programmers. You'll need to tell us what specific problem you're facing in implementing this yourself, are you getting an error? Incorrect output? — Aiken 1 min ago
11:32 AM
Whatever Jens, I guess you're the resident expert on protocol. Incidentally, Mcrypto is just a python module that just wraps openssl. I guess if I had asked about mcrypto everything would be kosher. The task of openssl smime to decrypt eml files is not some sysadmin task inherently -- it is a programmers task, and my query stemmed from code I am writing right now. But I will defer to the arcane strictures here I guess. — Bill Cody 32 secs ago
Totally agree with you that they are good works worth mentioning. The problem I have is that while suggesting alternatives to
subset
, you are omitting to mention that there is nothing wrong with the base [
function. Which remains the reference, the tool beginners (for which installing and learning dplyr should not be a priority) or advanced programmers (caring about not adding dependencies) should be using 99% of the time. So I find the disclaimer a bit misleading. I'll leave a chance for you or other advanced users to give their opinion before I choose to rollback (or not.) — flodel 1 min agoWell after 30 years of using SQL and 15 years with MySQL I can say that I have never seen a situation where persistent connections were the answer. They just sound attractive to flat file programmers. Worry about this sort of thing when you hit a real performance bottleneck. I'll bet that when you do it will not be the database connection overhead that is the problem — David Soussan 1 min ago
12:08 PM
1:30 PM
Try yourself and then come back when you have a specific programming issue. Stack Overflow isn’t a site to get professional programmers to write solutions for you free of charge. — Martin Bean 1 min ago
1:52 PM
Because most programmers doesn't even know that arrays are objects themselves. A common opinion is that they are just pointer to array first element. Very few knows that they can be passed via reference or pointer. Otherwise I'm sure that they'll share my opinion. But the case here is the 'defect' in the C++ standard. You didn't say anything about it. — FISOCPP 17 secs ago
I don't agree that it's too broad. Perhaps it's my perspective as one of the early adopters of SO and I used to see such questions quite a lot back then and see some of the best answers arise from them. It is a BIG question. But it is not too broad because there is a limited number of processes that happens when a user logs in. Regardless of the mechanism (oAuth, HTTP auth, cookies) the same general process must happen to process logins and keep state. A good answer to this question will help beginner web programmers a lot. — slebetman 1 min ago
@FISOCPP: You seem to have a low opinion of most programmers. While the "arrays are pointers" meme seems quite common among beginners, you can't get far with the language without learning how the object model actually works, and every non-beginner I've met had a decent working knowledge of that. — Mike Seymour 16 secs ago
@juanchopanza So do I, but given a forum at which answers are used by both novices and experienced programmers, in all kinds of different contexts, I think it's best to stick to best practices. Programmers experienced enough to deviate from such dogma will make that choice when they see fit. — JorenHeit 25 secs ago
There, I modified the code to be even more explicit, by specifying the
>= 1
test that clarifies what happens on the LHS of the ternary operator. A lot of Perl programmers seem to be anti-explicit and pro-crytic, so they'll hate that, but screw that, it's better to be clearer than not. — bgoldst 32 secs ago3:08 PM
It is called short echo tag. programmers.stackexchange.com/questions/151661/… — mark.sagikazar 1 min ago
3:48 PM
Are you getting any console errors? What output if any are you getting? "Would you have done anything else differently" doesn't really fit with stackoverflow as it's too opinionated. Code review type stuff fits a bit better at programmers stackexchange. — scrappedcola 50 secs ago
@scrappedcola Code Review stuff usually fits better at Code Review - I suggest you take a look at the CR Help Center (hint: code that doesn't work as expected is explicitly off-topic)... and Programmers' Help Center, too. — Mat's Mug 1 min ago
I'm don't think this is the problem here, but be very careful creating a function with a default arg of
[]
, its a common gottcha for new python programmers: stackoverflow.com/questions/1132941/… — Matt 1 min ago4:34 PM
1 hour later…
6:02 PM
Regardless of platform, it is usually best to avoid moving data around. Moving data mostly consumes a lot of energy. It is better to incorporate the data movement into actual processing. For example, CUBLAS API functions typically allow programmers to specify individual (sub-)vectors and sub-matrices. Most functions taking vectors also allow to specify a stride between vector elements. If you can't find CUBLAS functions that meet your need, pull the data from the appropriate locations during your own custom processing. Regular access patterns will lead to high memory bandwidth (100s of GB/sec) — njuffa 56 secs ago
6:58 PM
cublasSetVector()
and cublasGetVector()
are just wrappers around cudaMemcpy()
so, yes, you can use cudaMemcpy()
instead. Why do these CUBLAS functions exist? The original goal for CUBLAS was to make it completely self-contained so programmers using it had to know nothing about CUDA in general. How do I know this? I wrote the initial version(s) of CUBLAS from 2005 to 2008 and had been given this "must be self-contained" requirement. — njuffa 1 min ago7:24 PM
That's a pretty big topic. There are lots of great designing resources out there. Perhaps you could post at Stack Exchange Programmers or Stack Exchange Code Review. Do some google searches for "dependency injection", "object oriented design composition", and "object oriented design patterns". Good luck! — Joseph Malicke 2 mins ago
7:58 PM
It's actually a pretty common question and you'll probably have to be patient if you're going the academic route. They put you on a slow drip of information. Get a couple books; one that's reference type. This is your go to guide for questions. Read it then buy one that's more advanced and application based. Meaning they're teaching you through the process of building actual apps. Deitel "For Programmers" series are pretty good (C# at least). Learning Android the right way will also make you better at Java pretty quickly. — Chief Two Pencils 34 secs ago
8:18 PM
I love that when I have a problem I can't come to this overbearingly strict website to learn anything. What a great tool for programmers. — user3391187 17 secs ago
8:42 PM
You're welcome :) I'm more familiar with CR, but generally SO is more about specific coding issues. There might be a way to word it so that it's well-received on Programmers.SE, but don't take my word for it! (and sorry for all the bouncing between SE sites.... I hope you get a better SE experience in the future!) — Mat's Mug 1 min ago
@Mat'sMug Thanks Mat's Mug for pointing Programmers. It seems that it is a better place to ask such a question. My "bouncing experience" was not so pleasant indeed, but very education - that's for sure. I'll be soon deleting this topic. — luqo33 29 secs ago
9:54 PM
What have you tried? Many good programmers here will help you with programming. Fewer will be a code writing service. — chux 2 mins ago
10:42 PM
Oh and please don't consider jQuery a synonym to JS, it would be part of the ECMAScript standard if it wasn't such a huge pile of steaming poo. jQuery is a terrible collection of hacks built to lure bad programmers into thinking they know Javascript. I never use it, neither do any of the professional web developers I know. — Niels Keurentjes 2 mins ago
11:00 PM
« first day (63 days earlier) ← previous day next day → last day (3344 days later) »
Transcript for
Mar23
Mar '1524
Mar25
Duga's Neighborhood
It's a beautiful bot in the neighborhood. Would you be mine, w...