« first day (893 days earlier)      last day (4111 days later) » 
00:00 - 21:0021:00 - 23:00

12:02 AM
@JimmyHoffa Could be handy for some things.
 
 
1 hour later…
1:25 AM
@JimmyHoffa It's not an observer, it's a different approach. The main benefit, as you've already guessed, is that you have a central owner. Sometimes that's a good thing, sometimes it's a bad thing, kinda depends on what you're building. My thingy there is just for illustration purposes, but I've already sneaked it in a pet project. Also calling it "Event Mediator" is a bit pompous (I'm trolling the CR crowd), it's a dump hook system.
Essentially it's a central registry of subjects. The subjects share a common interface, they have a name and a trigger. The mediator decides what subjects to trigger based on certain conditions (just the name in my dumbed down implementation), and pulls the trigger. That's all it does, everything else is up to each subject. If that's a violation of the SRP... I couldn't care less ;)
 
psr
@YannisRizos - What kind of feedback are you looking for?
 
@psr It's code review, I'd welcome any kind of feedback ;) If you have an account on CR, go for it.
If you've found a design flaw, that would be awesome.
 
1:50 AM
1
Q: please tell me how to delete my P.SE account

user25791I would like to delete only my P.SE account only, but I can't find the directions anywhere.

^^^ Interesting. Somebody just deleted my comment.
 
@JimG. > Who just deleted themself??
That's unanswerable, the comment is obsolete.
 
Yeah. I wanted to know if we lost another @Pierre303.
It's unanswerable?
 
Yeah, no way of knowing who it was after the deletion.
 
Oh OK.
Does anyone have an opinion about Jeff Atwood's latest adventure? Discourse.org?
 
Unless of course you stumble upon one of their posts you've read in the past and remember who it was. Still, that's not really something that should be on Meta, when a user decides to have their account removed, we kinda have to respect that they don't want to be associated with the site anymore and stop talking about them.
 
1:54 AM
@YannisRizos: OK. Got it.
 
I've played around with discourse but I really don't see the point.
 
If implemented correctly, Discourse.org seems like it could kill off some of the weaker *.SE sites.
But I'm not sure it is implemented correctly.
 
I think the one thing that might differentiate it from a ton of similar services is its API.
 
@YannisRizos: I'm fascinated by the prospect of "forums done right". My current issue with Discourse.org is that it doesn't look half as impressive or as engaging as stackoverflow.com did when it originally launched.
It just seems very raw right now; and to be honest, given all of the venture capital that they've already accepted, I expected much more out of that group.
But perhaps they will rapidly iterate.
 
Yeah, it's still a bit rough around the edges.
 
2:01 AM
Here's how raw it is: I tried to authenticate with my OpenID, and it wouldn't let me in.
 
It's early beta, lots of bugs.
 
@YannisRizos psst
Does this make sense: Mediator has a list of objects who hold subscriptions (not just the list of callbacks) so that you can maintain the setting an object's mediator within the mediator (through property injection on the object it attaches to) and removal of it also there?
My main objection (other than the race conditions in the way you're using the callbacks) is that the mediator is known around a bunch of different various places, but there's no way to say Mediator.destroy() in a way that removes the references to it from all those places, so one of those places may still try firing something through it when it's got.
s/got/gone/l
 
@JimmyHoffa EventfulTrait::detachEventMediator()
 
that's on each individual object though
there's no way to remove all references to the mediator
if the mediator knew everyone who referenced him, he could detachEventMediator() on all of them if it wants to implode
 
Why would that be useful?
 
2:14 AM
It just feels...leaky that the references are strewn about without a central list of who's referencing what is essentially supposed to act like a global object
Dunno, just makes my spidey sense tingle. Nothing bad about it though, if you need to swap mediators out at some point you'll implement it then
@YannisRizos you do see the race conditions right? Or does PHP multithreading not behave like I would expect?
 
Heh, bug on MSO (right now) allows you to see deleted posts on user profiles. Mod vision for everyone!
6
Q: I see deleted posts!

DennisI just found out that I can see all my deleted answers on my profile page here on Meta. Excited about the change, I visited another user's profile page. I can see his deleted questions and answers as well: Is this a new feature or is it a bug? (Please let it be a feature.)

@JimmyHoffa It's a bit leaky, I suppose, but it's not a big deal. Everything dies at the end of the script anyway.
 
heh not used to thinking of things as "scripts", just attaching that word yeah I can see leakiness matters a good bit less
 
@JimmyHoffa Yes, you kinda have to think about this in a PHP way. There's no shared memory, objects created in one request, live for exactly that request.
 
gotcha
You have more rep than me on codereview, lame
actually not surprising I guess, it seems PHP comprises a large portion of the CR crowd
@YannisRizos not a fan of how PHP closure's get variables enclosed if I understand correctly how you're using it, anytime you want to enclose a variable in a closure you have to specify it at the top of the closure?
 
2:36 AM
@JimmyHoffa Yes. PHP's notion of scope is... eccentric.
...also I should be passing references instead of copies in my example code, but it's just for illustration purposes.
 
3:02 AM
@JimmyHoffa @YannisRizos is CR.SE a decent thing to get involved in?
I've never looked at it, but have referred some SO posts there
 
@Deco It's... weird. For one, all questions are too localized.
 
@YannisRizos I assume they aren't all closed for that reason though? :P
 
Heh, no. CR and Code Golf were (and I guess still are) experimental. I'm not seeing either graduating any time soon, but also I don't see any reason to close them.
CR especially has a few high reps that don't really participate in other SE sites. That's a good thing, the site has it's own crowd.
 
Yeah that's good - I might have to check it out later
 
@Deco it's worth getting involved in if: you generally like reviewing code. Can be fun, but it's a small crowd and there's not a lot of posts there in my langs, lots of PHP/javascript though. Often times though people posting Qs are from people of such low skill as to not understand critiques you might often give
 
3:11 AM
That meta post I was drafting happened to be posted for me this morning anyway
@JimmyHoffa shudder... I don't do PHP :P
Although @YannisRizos did convince me yesterday to perhaps look at it again... Java and .NET are my passions though
 
At some point I wanted to have "review my design" questions on Programmers - I was shot down on Meta (too localized).
 
Perhaps we could raise it on meta again? Sometimes looking at other peoples designs helps you out
Unless of course, that sorta thing already exists on CR
 
It was asked again, and was shot down again ;)
 
Oh :<
 
No CR is strictly for code.
 
3:13 AM
Code Golf might be interesting... I could put some ABAP answers in there just to throw people >:)
 
I asked on their Meta if they would consider "review my design" questions and... they pointed me at Programmers ;)
 
Brilliant!
IMO design questions are a lot of fun to answer
 
Yeah, but they are a bit useless to everyone but the asker.
 
@YannisRizos I think asking review my design questions on P.SE is actually really easy, you just have to structure the question with choices, and high level enough verbiage as to generalize the design to a conceptual purpose
 
@JimmyHoffa Sure, if you generalize it it would be perfectly on topic.
 
3:17 AM
and designs should be general enough for it not to take much of a leap
I think the key people might miss is asking "Which of these choices" rather than "Is just this choice good"
"Is this good" becomes pollish
 
0
Q: Review my class hierarchy

Kyel John DavidI have created a class hierarchy for an inventory system for a book/magazine. Here's the picture: Will it do? I know there's no magazine class yet but I was wondering if anyone could suggest a better idea.

@JimmyHoffa This ^^^ is more what I have in mind as a "review my design" question.
 
Yeah that belongs on CR.SE
sans the UML
though even with UML it would probably stand over there
CR is a small enough crowd they seem to stay super lax with standards
 
Nope, CR didn't like it.
 
Ah
If he put it in code they would have taken it you figure?
 
Yes, probably.
11
Q: Should design questions be on-topic here?

Michael KDesign questions are ones that deal with architecture, package layout, object hierarchies, etc., but do not necessarily include code. We already deal with this sort of question on a daily basis at programmers. While a certain amount of overlap is inevitable (and desirable, see this StackExchange...

 
3:55 AM
I really dislike that guys gravatar, please delete your message so he'll stop staring at me
...or shouting at me..
 
lol i missed it :(
 
4:17 AM
Hi guys.
 
/wave Hi
 
Anyone here develop in javascript primarily?
 
...I don't primarily but have I got a library for you!
lol
What's up @Stephen
I know some javascript ok
 
haha.
:)
I was looking for developer input on a new lib I open sourced. Trying to see if it's a good idea.
Or, rather, if it might seem useful
 
4:37 AM
@Stephen what's the purpose?
 
@Stephen Hm... Overloading is useful, but also hacky and confusing. If you're hijacking Tony's code, you better be absolutely certain you know what you're doing.
 
I got the idea looking at jQuery's $.ajaxSetup method. It lets you setup defaults for an ajax request that can be overwritten by the actual call, and I wanted something that would let you jump in after a call and change some settings.
 
...and of course, couple of years in the future you'll look back at that code and have absolutely no idea what version of ThirdPartyLibrary.doSomethingCool you are using and where
 
I plan to add a registery to Middleman that lets you easily inspect what was overloaded.
Also, I think I need better examples that don't show me "helping tony"
Because the lib could be used for a lot better reasons.
 
I agree with @YannisRizos this looks like a dangerous-like-goto type thing
 
4:42 AM
I can see the appeal. You just got to be extra careful and disciplined.
@JimmyHoffa I love goto ;)
 
you're also a php developer
:P
 
I also think I might add some internal checking that will emit a console log if you're trying to overload Javascript core objects like String or Array.
:)
The danger component is a confirmation. Thanks for that insight.
 
@Stephen I mean, dangerous-like-goto, as in when you think it's a good idea, it's not; every time
It's a clever idea I can appreciate, but the key is that it isn't an override, it's hiding, totally different
 
Prefiltering isn't dangerous, per se, though.
 
That's not the dangerous part
As soon as you make it return a new object that's wrapped or give access to the wrapped object by a dictionary great, but as long as it's replacing the functionality actually on the lib you hand to it, it's hiding that functionality, that is making it inaccessible
that's the dangerous-like-goto part
 
4:47 AM
Solid point.
I wish there was a way to alert the dev that things have been overloaded.
In general, I see lots of issues wrapping a String.prototype method, but way less issue wrapping an Underscore.js lib, for instance.
 
@Stephen make them access the overload through middleMan.wraps[whatever]
like middleMan.wraps[_] where all of underscore lives with the few overloads that have been applied (and any new ones applied)
 
Right, make them call a middleman method instead of the original method.
 
@YannisRizos hey look, I think I just suggested a mediator ;P
who's the GoF master now
 
@JimmyHoffa The question really comes down to Monkey patching, and if you're okay with it, I think.
Thanks for the input, though! Really appriciate it.
Might update the lib to be less dangerous.
 
5:33 AM
hi! I read a story some time ago about a computer that had skewed randonmess and produced random numbers always within 12 (or so) planes... can anybody remember the name of the computer or some tip? I'm having a hard time googling it
 
6:12 AM
@JimmyHoffa thanks @JimmyHoffa . My colleague is account/administration manager of our company. And as such he constantly deals with numbers and certain characteristic datasets. I thought MS Access would be suitable for his needs as it doesn't involve lot of coding in the traditional sense. I was not aware of dreamincode.net forums and other online resources. Thanks for pointing.
@JimmyHoffa My specific question was related to MS Access. I passed on MSDN links (getting started with MS Access etc. articles) to him and I will point him to the dreamincode.net forums for more help. If you know any specific/trusted/good links/URIs to learn MS Access, please let me know. Again, thanks for your help
 
Wow... I really truly did not intend to help somebody end up in MS Access... forgive me, I knew not what I had done..
 
@JimmyHoffa hehe, MS Access is not that bad. I just want to help him get his work done efficiency and accuracy thats all
 
 
9 hours later…
user55340
3:33 PM
@Sudhi MS Access is a pellet gun with no safety. It is enough of a tool that you can hurt yourself, and rarely set up correctly with the proper access... and frustrating for those who are familiar with "real" tools to use that they want to stay away from it when the business person (invariably) has a problem down the road.
 
user41796
@maple_shaft, @ThomasOwens, @YannisRizos - is there a way to find out which mod declined a flag so I can explain why it was flagged? There was some context behind the flag that the system didn't carry through.
 
user55340
In the mean time, when someone needs a real database tool that MS Access doesn’t scale to, the business person often has difficulty understanding why something better is needed (after all, MS Access has a check mark to all the features that is being asked for...).
 
@GlenH7 VLQ?
 
user41796
@YannisRizos - yes.
 
user41796
It popped up in the /tools section as a serial closed question issue; so after reviewing, I flagged to agree that "yes, this is really low quality." However, I think the question had moved to closed by that time, which I wasn't aware of before flagging.
 
user41796
3:37 PM
I don't care about the "declined"; just wanted to make sure that the handling mod didn't think I was being a complete buffoon. Regular buffoon, yes. Complete, no. :-)
 
@GlenH7 Ok. First of all, that question doesn't qualify for VLQ.
VLQ == delete this disease before it kills us all!
If you can parse it, even barely, it's not VLQ.
 
user41796
@YannisRizos - agreed; more off-topic than anything else. However, I only had two options on the follow-up flag. VLQ or other. Should I have gone with "other" and added in that it was a good candidate for instant-close?
 
@GlenH7 That's the weird part.
 
user41796
Nice def on VLQ; hadn't looked at it that way.
 
The autogenerated flag should give you two options: agree/disagree.
 
user41796
3:40 PM
Yes, it wasn't worth typing much of a message about. I saw VLQ as meaning "this is crud and can't be salvaged."
 
user41796
Nope, it doesn't. I think the original flag I was agreeing with was actually a consecutive bad question flag. But the /tools follow-up doesn't provide an agree / disagree option. It's just a simplified version of the normal flag panel.
 
@GlenH7 No, I don't see an off topic flag. The flag was an auto-generated "consecutive closed questions" flag that pops up when a user had 3-4 questions closed in a short while.
 
@MichaelT there's no reasoning with people who suggest using MS Access
 
@GlenH7 Or... Hm... Yes, there might have been an off topic flag that I can't see.
 
I think I declined that flag.
 
user41796
3:43 PM
@YannisRizos - no, you're right. I mistyped
 
user41796
it was a weird flag
 
Off topic flags get cleared automatically when an off topic close vote is cast.
 
It wasn't a VLQ question, and given that flags go into the review queue for a honeypot, I've been more strict about declining flags.
 
...reasoning people off of the access cliff is about as possible as reasoning them off the PHP cliff...
 
user41796
@ThomasOwens - if so, my apologies. Looks like there was a timing issue between my flagging to "agree" with the consecutive closed question flag
 
3:45 PM
I don't see all of that, and I don't know if I can. I just saw a question (which was edited at some point) and found that it wasn't VLQ.
 
@GlenH7 Hm, you can't really agree with that flag, it's an auto generated flag, there's no equivalent user flag. In the future, just ignore it.
 
It may have been VLQ when the flag was cast, though.
 
user41796
That user definitely had a string of poor questions. I think the consecutive ... flag even linked to some of them, since I recall going through some of that users' deleted questions.
 
user41796
ironically, I was trying to make mod-life easier by agreeing and saying "yes, this ought to get closed pronto." I'm liking @YannisRizos's advice on ignore that particular flag in the future
 
@GlenH7 Yes, it has three closed questions in the flag message. In any case, it's not a flag you can counter and it's silly that it appears for 10K users. Just ignore it next time.
 
3:48 PM
Perhaps report it's appearance on MSO?
It sounds like it probably shouldn't be visible.
 
7
Q: Why are "consecutive closed questions" flags exposed to non-moderators?

OdedThe new flagged posts page is great, but I do wonder about the "Consecutive closed questions" comment that comes up, for example for this question: How to process credit card payments in ASP.net? There is the following comment (as reason for being flagged): Consecutive closed questions; stacko...

 
user41796
Interesting that the MSO Q's answer doesn't address whether non-mod 10k+ users should see that flag though. I'd vote "no, I shouldn't."
 
user41796
ChrisF's explanation for the flag is really good though.
 
user41796
 
user41796
@YannisRizos - that's typical of what I see when something pops up on /tools. I don't get a simple "agree" with option.
 
3:56 PM
0
Q: Stop showing "consecutive closed questions" flag to 10K users

Yannis"consecutive closed questions" is an automatically generated flag that's raised when a user has... consecutive closed questions. The flag can only be actioned by moderators, there's no point in showing it to 10K+ users, as they can't do anything useful with it: Closing the question is not an op...

 
user41796
I do have a close button available, so I could close for the same reason that the question was flagged.
 
@GlenH7 You couldn't close, the question was already closed.
The flag is only raised after the question is closed.
 
user41796
@YannisRizos - sorry, my last comment about having a close button was in reference to the NARQ flag that just came up and that I provided a screenshot of what I see with the "flag or disagree" button.
 
@GlenH7 I need to get myself a 10K+ sock puppet, I have no idea what a 10K+ user sees :) (got elected with 8K, went straight to the mod flag interface).
 
@YannisRizos It has been over a year since I have been a normal 10k rep user so I don't remember how it looks either
 
user41796
4:06 PM
@YannisRizos - we could turn it into a game. Let everyone in chat know the puppet's name and the questions / answers it's putting out. Then we can break all sorts of records in getting it past 10k.
 
Ohhh! Then I get to suspend everyone!
 
user41796
@ThomasOwens - or randomly merge folk with either Goma or Leslar. That would be even more painful retribution.
 
@GlenH7 Ewww... thats just wrong man
Gomlar
> This isn't even my final form
 
user41796
<shudder>
 
Neat fact... if you remove the G from the name Goma, then you have the appropriate medical suffix for a type of cancer
Carcin-goma
 
4:16 PM
Goma is a city in the eastern Democratic Republic of the Congo. It is located on the northern shore of Lake Kivu, next to the Rwandan city of Gisenyi. The lake and the two cities are in the Albertine Rift, the western branch of the East African Rift system. Goma lies only 13 to 18 km due south of the crater of the active Nyiragongo Volcano. The recent history of Goma has been dominated by the volcano and the Rwandan Genocide of 1994, which in turn fuelled the First and Second Congo Wars. The aftermath of these events was still having effects on the city and its surroundings in 2010. ...
My apologies to legitimate users on Programmers from Congo.
 
"The word for rubber in Spanish, colloquially may also refer to a hangover"
Guy Goma (born 1969) is a business studies graduate from Brazzaville in the Republic of the Congo who gained international fame when he was accidentally interviewed live on BBC News 24, a UK television news station, on Monday 8th May 2006. The interview Guy Goma was waiting in the main reception area of the BBC Television Centre in west London to be interviewed for a position as a "Data Support Cleanser" in the corporation's IT department. At the same time, Guy Kewney, a British technology expert, was in another reception area, known as Stage Door, preparing for a live television intervie...
 
@ThomasOwens Oh man... I had a wild night of merging and destroying spam accounts... I got such a wicked Goma right now... turn off the lights
 
user41796
@maple_shaft - is that your sample usage for an urbandictionary definition?
 
@GlenH7 No I boycott urbandictionary
they don't admit words that they feel are too localized
Story: ...
 
user55340
@maple_shaft Didn't you see the star'ed chat a few days ago?
 
user55340
4:24 PM
Feb 7 at 15:55, by Yannis Rizos
@MichaelT has a point @ThomasOwens. So, let's start by merging all staff members into Goma.
 
user41796
@maple_shaft - that really begs the question of how do the determine what is "too localized." I understand the point, but ... sounds like an impossible task to stay ahead of.
 
Years ago I was a developer on an old legacy project and we were working on refactoring a feature into the new application that was still based on the old legacy schema
... well as it turns out this schema had a status table and they didn't give enough varchar column space for the status value...
so for the Cancelled status they had the value as 'CXCELLED' ...
Well one of the junior developers bound the value directly rather than converting it to a display value like 'Cancelled' and we all had a laugh
it went to QA that way and like 30 QA people rushed to get the bug in first
So then the entire office and even the management started using the word Caxcelled to describe nixing something or cancelling something that was pointless, stupid or trivial
A bunch of people submitted and signed up to submit the word to Urban Dictionary and they rejected it saying it sounded like too localized a word
So to make a long story even longer, we all collectively decided from that day on out to boycott urban dictionary until the day we die
 
user41796
@maple_shaft - that's hilarious. And I think the word deserved an honorary mention in UD anyway. There's certainly enough banal entries that a localized, humorous one wouldn't have hurt.
 
user55340
5:29 PM
@maple_shaft I remember submitting a word to the jargon file back in my college days... "progasm". Used by a dozen programmers in one lab. Its in there. Too localized wasn't a problem.
 
@MichaelT Prograsm n. def: The moment monadic composition becomes clear
 
user55340
[University of Wisconsin] The euphoria experienced upon the completion of a program or other computer-related project. For example, the rush you get when you finally run the code you've been hacking for the past week and it works first time. (The quality of the experience is directly proportional to the complexity of the code and inversely proportional to the amount of debugging it took to get the code working.) Compare geekasm.
 
I think my definition fits in there :)
 
@MichaelT Nice... I will have to add that one to my vernacular
 
user55340
5:39 PM
@maple_shaft I'm trying to figure out how to use Goma and Progasm in the same sentence.
 
ProGosma
 
Gomasm def: The sensation when merging another account into goma
 
@JimmyHoffa that feel
 
user55340
Brings new meaning to "Big O notation"
 
HA!
 
 
1 hour later…
user20683
7:09 PM
Gomlargasminoma?
 
user20683
What I think of when I hear Goma mentioned
 
user20683
for some reason
 
user55340
People need to talk more to get that to scroll off the top of my screen...
 
why?
does it bother you?
Do you have something against tom hanks?
he is a great actor I will have you know
he played in the green mile
big
 
user55340
7:22 PM
Nope - I just don't need to have such a face staring at me (and my cow-orkers) whenever I switch to this window.
 
forrest gump
mmmm shrimp
i like shrimp
grilled shrimp
popcorn shrimp
shrimp scampi
bbq shrimp
asian stir fried shrimp
 
user20683
shrimp brulee`
 
user20683
it exists
 
user55340
There we go... thank you.
 
wild caught lousiana shrimp
 
user20683
7:24 PM
that's actually horrifying
 
user55340
Ever eaten at Forest Gump's?
 
nope
 
user55340
Not too hard to find in touristy locales (Navy Pier Chicago, Pier 39 San Francisco, Monteray CA, Mall of America MN...) Not bad food... obviously shrimp based. I like the "bucket of boat trash" menu item.
 
I am one of those people that I only ever have a craving for seafood when I am at the beach
I think it is because as a child my parents would only take us to seafood places on the beach, and I associated how awesome the beach is with seafood
 
user55340
Three of the four places I listed are within 10 feet of a large body of water...
 
7:31 PM
There's a Bubba Gumps in downtown denver too
 
i wish I was within 10 ft of a large salty body of water right now
 
and absolutely no water in sight
@maple_shaft get a bucket and start crying
 
user55340
@JimmyHoffa Mall of America only counts if you consider the log ride in the Nikelodian park.
 
@JimmyHoffa or go to Salt Lake City
which will also result in a bucket of tears
 
user55340
Try the "Whoa Nellie Deli" near Mono Lake. Best food you'll ever find at a gas station... or many other fine restaurants. (Tangent: Mono Lake saltier than Salt Lake)
 
user55340
7:34 PM
The Whoa Nellie Deli is a casual gourmet restaurant located in Lee Vining, California. The restaurant has received coverage from newspapers and magazines across the United States. Location and services The Whoa Nellie Deli is located in a Mobil gas station on a hilltop just west of the intersection of U.S. Route 395 and California State Route 120, one mile south of the business district of the small town of Lee Vining, California. Geographically, this location is where the eastern edge of the Sierra Nevada meets the western edge of the Great Basin. Mount Dana and other High Sierra...
 
Now I'm hungry, think I'm going to go grab some snarfs for lunch
 
8:25 PM
hey guys
when i have import /some library/ in Java sourcode
does that library has to be in the same package as my Java project?
otherwiese Netbeans doesn't know how to build the project?
 
user55340
'lo
 
user55340
The library has to be on the build path (eclipse term - not sure about netbeans) for the project.
 
@EinsteinsGrandson I don't think it has to be, but if it is a third party dependency then sometimes it is a good idea
Not sure about NetBeans though...
 
ok
and antother thing
 
Eclipse has its own builder module that looks in the project properties for a build path
 
8:30 PM
i downloaded the library in *.zip
can i keep it in zip?
 
or do i have to unzip it?
 
a JAR file is exactly the same as a ZIP file
they just have different file extensions
 
user55340
Javac needs to be able to look at the class files in the jar - and know its a jar. A .zip doesn't let it do that digging.
 
user55340
8:32 PM
A .jar also has a specific structure to it (things such as the MANIFEST).
 
@EinsteinsGrandson Does your zip file have a folder in it called META-INF?
 
that's the content of that zip
 
user55340
@EinsteinsGrandson The zip is likely actually a jar.
 
@EinsteinsGrandson You can rename it from XXXXXX.ZIP to XXXXXX.JAR
 
so no MANIFEST
 
8:36 PM
oh
nvm
dont rename the file
 
i mean no META-INF
so i should keep it in zip ?
;-)
 
That is a bundle that includes libraries, source, javadocs and documentation
 
user55340
Extract the zip - it is quite a few things in there. The .jar is likely in the lib.... and yea, what maple said.
 
pl
ok
so i only need the direcotry - bin ?
 
user55340
You need the jar files from wherever they are.
 
8:37 PM
sorry
lib, not bin
 
@EinsteinsGrandson Ok... one second...
^^^ If you learn how to use Maven as your project library and build manager then your life will be easier ;-)
 
;o)
we are pushed to use NetBeans at university
;o)
don't know why
 
user55340
Likely the licensing deal the U got...
 
It basically handles the complexity of grabbing all the necessary JARS you need for any framework you want
 
user55340
maven isn't an ide - it is a build tool.. like ant, but more.
 
8:40 PM
i know
 
user55340
(thus the O'Reilly choice for the animal...)
 
user55340
 
but that means i am going to build and run Java projects from console
 
user55340
Or build server, or eclipse plugin, or netbeans plugin...
 
NetBeans probably has built in integration for it, or a plugin that will make it easier to use...
you don't need to use maven through a command line
 
8:41 PM
so import it into NetBeans ?
I import...
 
importing maven? Or twitter4j?
 
user55340
"In NetBeans IDE 6.7 and newer, Maven support is included in the IDE."
 
user55340
@EinsteinsGrandson Set up your project as a maven project. Add twitter4j as a dependency for the project in maven. Let maven take care of the rest.
 
8:44 PM
ok
 
@EinsteinsGrandson You are a student though right?
I encourage you still to master how the Java classpath works
 
what do you mean?
or where can i learn that?
 
Maven should be a tool to help you get all your project libraries and frameworks easier and faster, but it shouldn't be a replacement for understanding the very basics of the Java classpath
 
user55340
@EinsteinsGrandson You will have bugs some time that stem from the class path (trying to find the right libs). Having something do everything for you takes away learning opportunities.
 
First master the concepts of any Java classpath tutorial... then delve into how Maven works...
 
user55340
8:48 PM
And if you ever find yourself in an ant shop that resists maven ("maven downloads the internet every time you connect!"), you will need to understand the classpath.
 
@EinsteinsGrandson when you understand how Maven works then you will have learned all you need to know
 
user55340
And if you ever have a problem with maven setting up the class path (because you've got two versions of the same jar and don't know which one to exclude) - you will need to know how to say "the problem is in maven, not in the application."
 
user55340
@maple_shaft ``When you have learned to snatch the error code from the trap frame, it will be time for you to leave.''
 
@MichaelT lol.... i am actually an ant shop and am pretty anti-maven
idk y I just recommended it :)
lol
 
so what build automation tool NetBeans uses instead of Maven?
NetBeans has its own tool ?
 
8:51 PM
I think they have their own custom builder
 
OK
I am gonna use that one
 
eclipse does for sure
 
Life is too short to learn everything
and I work 16+ hours a day anyway.... no time to learn Maven in this life
 
ok... just make sure that you import your twitter4j libraries manually then
 
user55340
@maple_shaft I've still got a soft spot for make... but none of the tools bother me much. The more they try to do, however, the more frustrating they are when they don't work.
 
8:52 PM
yeah, that's what i want
import it manually
 
@MichaelT that goes for just about anything
 
user55340
To that extent, I like ant the most... but the dependency management of maven is very nice. Beyond that, it gets complex and into the specialists (oh, you need this pom to inherit that pom which defines these things and has those settings... please don't ever make me go in and fix something in there).
 
@MichaelT I agree wholeheartedly
BLARGH... java.util.Date Y U NO MAP CORRECTLY TO MySQL DATETIME?!
 
user55340
The company I work at has (had - most are now let through) a... restrictive internet policy. That completely messes up interns (who don't have internet access on their PCs) when they try to do a build - go out to fetch a .jar from maven repo, and get the "naughty you - you aren't allowed to see the internet."... and maven thinks this is the .jar and tries to build it.
 
.... seriously... I am struggling with this
everybody is all like "use @Temporal annotation and ..." but I am in a legacy app that is configured with XML files not with annotations...
 
user55340
8:57 PM
I've got xdoclets in this code... I'd kill for proper annotations.
 
what? am I supposed to just rewrite the entire data access layer to fix this bug now?
@MichaelT R U ME?
geez
this query still isn't working with java.sql.Timestamp
when i changed the hibernate entity type to Timestamp it still is unable to return anything
i just
what is...
i don't even...
 
user55340
@maple_shaft Point of sale register software, third party, 1.5M lines of code. Written in java 4... every antipattern you can imagnie in the code.
 
@MichaelT enjoy your POS software buddy
 
00:00 - 21:0021:00 - 23:00

« first day (893 days earlier)      last day (4111 days later) »