|
i took an entire course in college dedicated to java web services and i still wasn't sure what a loving bean was after all of it
|
# ? Jan 2, 2015 06:09 |
|
|
# ? Jun 6, 2024 06:49 |
|
JavaBeans are classes that encapsulate many objects into a single object (the bean). They are serializable, have a 0-argument constructor, and allow access to properties using getter and setter methods. The name Bean was given to encompass this standard which is meant to create reusable software components for Java.
|
# ? Jan 2, 2015 06:13 |
|
I'm bean
|
# ? Jan 2, 2015 06:15 |
|
but ... but ... people dont reuse software components !!!
|
# ? Jan 2, 2015 06:15 |
|
this has ... heh ... this has BEAN a very tedious conversation!!!
|
# ? Jan 2, 2015 06:16 |
|
it was always fun debugging problems like "this Bean-based thing breaks for this one customer...oh by the way he's in Turkey and the property name starts with i tee hee". they could design RMI, but still had to settle for case-bashing for their component model
|
# ? Jan 2, 2015 06:21 |
|
|
# ? Jan 2, 2015 06:25 |
|
a bean isn't really anything in most contexts except a POJO with a zero arg constructor. no big deal. hell in most cases you don't even necessarily need getters/setters. most things that consume "beans" will resolve public fields without getters/setters just fine. i guess it's a little different in the context of strict java ee but lol just straight up 100% lol if you actually use actual java ee. it's a loving disaster. "bean" is just a loving convention. spring mvc + angularjs is actually a pretty good way to go i guess, but at that point you might as well just use jersey since you're just using spring for rest services. lmbo at those java hipsters those fire them all into space.
|
# ? Jan 2, 2015 07:20 |
|
rrrrrrrrrrrt posted:"bean" is just a loving convention.
|
# ? Jan 2, 2015 07:27 |
|
in C# there are only ll beans
|
# ? Jan 2, 2015 13:52 |
|
There's a burrito place here that uses black beans but they actually salt them so they taste p good
|
# ? Jan 2, 2015 15:09 |
|
i have written beans before apparently. i did not know this.
|
# ? Jan 2, 2015 15:28 |
|
Bloody posted:i have written beans before apparently. i did not know this. write a bean, do a shot
|
# ? Jan 2, 2015 18:32 |
|
MALE SHOEGAZE posted:There's a burrito place here that uses black beans but they actually salt them so they taste p good nerd
|
# ? Jan 2, 2015 18:33 |
|
rotor posted:yeah basically someone looked at the reflection API and had an idea then poo poo all over themselves Java beans are proto-dependency-injection. having a zero-argument constructor and getter/setter pairs with well-defined names means you can wire up an object graph using a config file rather than by writing code. it's actually not quite sufficient for that purpose—you also need an "awake" mechanism after the entire graph is constructed to establish non-hierarchical relationships—but the Java people didn't get that at first. then when they did get it, they went full enterprise on the problem space. basically, someone working on Java at Sun looked at how Interface Builder worked in NEXTSTEP and realized they could do something similar. might have been Patrick Naughton because that was kind of his thing. (that and jail!) (note that this is also the story of how IFC was created and then turned into Swing: "NeXT did this and we have similar capabilities in Java! oh, hey, that worked, now let's have a different group enterprise the gently caress out of it!")
|
# ? Jan 2, 2015 20:50 |
|
just wasted 5 hours writing c code and it turns out that solution doesn't fit aaaaaaaggg
|
# ? Jan 2, 2015 21:30 |
|
rotor posted:write a bean, do a shot 3 coffee beans in the sambuca
|
# ? Jan 2, 2015 21:32 |
|
lord funk posted:just wasted 5 hours writing c code and it turns out that solution doesn't fit aaaaaaaggg owned
|
# ? Jan 2, 2015 21:33 |
|
freebytes(x->life, argc * sizeof(*x->life));
|
# ? Jan 2, 2015 21:38 |
|
lord funk posted:just wasted 5 hours writing c code and it turns out that solution doesn't fit aaaaaaaggg -Osssssssss
|
# ? Jan 2, 2015 21:54 |
|
-Ofitgodamnit
|
# ? Jan 2, 2015 21:54 |
|
is stuff like topcoder a terrible scam at first i thought you did code fun code challenges and companies gave money to winners as like marketing. but you actually make real poo poo that goes to that company, which they plan to use, and of course it probably works out to less than minimum wage considering it's a lot of work. i just registered for one and they sent me some files with a .txt in them that said "thanks for choosing me as a winner", so the design spec they are sending me is obviously from a past contest.
|
# ? Jan 4, 2015 19:09 |
|
my company apparently hires people on topcoder and i thought it was just a software dev contractor but i just checked and lol
|
# ? Jan 4, 2015 19:31 |
|
On Sept. 14, 1999, Naughton flew from Seattle to Los Angeles on a private Disney jet.[12] expecting a five-foot, blonde haired girl to wait on the pier near the roller coaster, carrying a green backpack as instructed by Naughton.[3] Naughton had written to her about love and sex and that he "wanted to get [her] alone in his hotel room and have [her] strip naked for him".[3] Naughton had arranged this meeting, posing as "Hot Seattle", his online predator handle[1] in an online chat room called "dad&daughtersex."[13] The "girl" was actually an FBI agent.[6] Two days later, he was arrested by the FBI and was charged with traveling in interstate commerce with the intent to have sex with a minor, in violation of 18 U.S.C. §2423(b).[1][4][5] After a trial ended in a hung jury, Naughton struck a plea agreement where he took a reduced sentence and admitted that he traveled from Seattle to Los Angeles last September with a "dominant purpose" to engage in sexual acts with "KrisLA", an online chat buddy he believed was a 13-year-old girl.[2] He ended up serving no prison time, in exchange for working for the FBI for free for a year.[14][15] Novel defense[edit] His line of defense was that he claimed he was persuaded to participate online in a ritualized sexual role-playing exercise, dealing with a mature woman acting as a girl.[15] His then-novel defense, became known as the fantasy defense for pedophiles.[3]
|
# ? Jan 4, 2015 19:33 |
|
no your honor, she's really a 6000 year old dragon in a 12 year old's body
|
# ? Jan 4, 2015 20:29 |
|
the fantasy defence works if you're a New York police officer.
|
# ? Jan 4, 2015 21:24 |
|
PleasureKevin posted:is stuff like topcoder a terrible scam ah yes, let me use this complex algorithm that someone spent 5 minutes thinking of and 20 minutes to write
|
# ? Jan 4, 2015 22:42 |
|
MeruFM posted:ah yes, let me use this complex algorithm that someone spent 5 minutes thinking of and 20 minutes to write someday autonomous corporations will attempt to self-improve by ordering the development of additional modules via services like topcoder
|
# ? Jan 4, 2015 23:03 |
|
PleasureKevin posted:is stuff like topcoder a terrible scam you probably want the algorithm single round matches. the rest is crowd-sourcing bullshit i see they've made them harder to find, probably since they don't make money off them, but here is a list of previous matches http://community.topcoder.com/tc?module=MatchList you can click around and see the problems sets and results, and if you launch the arena you can do a test run with old problems
|
# ? Jan 5, 2015 00:31 |
|
PleasureKevin posted:is stuff like topcoder a terrible scam i'm running a competition, there's no entry fee but the winner gets a prize money, the rest of you can suck it you'd be better off getting contracting work. quote:at first i thought you did code fun code challenges and companies gave money to winners as like marketing. but you actually make real poo poo that goes to that company, which they plan to use, and of course it probably works out to less than minimum wage considering it's a lot of work. it's basically like rentacoder, except people do the work in advance. gamified spec work quote:i just registered for one and they sent me some files with a .txt in them that said "thanks for choosing me as a winner", so the design spec they are sending me is obviously from a past contest. a saw a talk by someone representing top coder https://speakerdeck.com/singhns/sharing-is-caring-narinder-singh-presentation-at-monkigras?slide=5 here's the slide where he cites a paper, saying that closed competitions, where entrants cannot see each other's work cause more people to enter, wider breadth of approaches, and more experimentation. i wasn't in the most agreeable mood at the time, but there was a heavy implication that top coder's model (closed competitions) was therefore better than running open competitions with collaboration http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2288746 anyway, the paper in question > In theory and in our experiment, final disclosure promotes higher levels of entry and effort and independent experimentation. On the one hand, this generated wide diversity of approaches; on the other hand, this led to considerable effort devoted to suboptimal approaches and overall lesser learning and performance achieved tl;dr we got more people doing more things but overall a lot of time was wasted, it took longer, and it wasn't as good. they don't say much on open collaboration but in terms of immediate disclosure, they said that it got optimal solutions faster: > In our setting, intermediate disclosure promoted efficient reuse, coordination and convergence on a globally optimal solution with less entry and effort (i.e., lower costs) and higher performance. they then go on to do a victor line: "welp but if i learned things it would limit my ability to innovate" > However, more generally and in a “rugged” landscape of possible solutions, we might be concerned that intermediate disclosure encourages path dependence and lock into a suboptimal solution approach, or leads incentives to evaporate. translated is: our data doesn't suggest this is a problem but doesn't conclude that it isn't, as this grant / research project is about behavioural incentives we're not going to dismiss close competitions straight away anyway, so he gave a talk, cited a paper to back up his arguments of why topcoder is the right approach, and then ignored all the evidence in the paper which stated negative consequences
|
# ? Jan 5, 2015 05:53 |
|
if you want to spend your time solving computer science puzzles written by algorithmic fetishists well, sure, go on. old google jams, acm competitions, icfp, and a bunch more are just sitting around. there's even more discrete math ones too on project euler et al. or if you like go off and knock out a bunch of terrible code for not much money to build a portfolio. craigslist, word of mouth, lots of effort but you can escape but don't go into a competition to win payment for your work. don't ever do spec work. if you do spec work you are explaining to someone how little your time is worth to them, which is nothing. people who ask for spec work also act pretty entitled throughout the project—it doesn't matter how much they ask for when the cost is always zero. sure, do favours, sure, do pro-bono work, help out a friend, but don't work for free to get paid work.
|
# ? Jan 5, 2015 06:05 |
|
PleasureKevin posted:is stuff like topcoder a terrible scam yes.
|
# ? Jan 5, 2015 06:06 |
|
I did some data science coursera thing and at some point it encouraged everyone to enter kaggle competitions. I never really got into kaggle maybe because I felt there was something off about it
|
# ? Jan 5, 2015 06:22 |
|
fuckkkk why won't you dealloc you piece of poo poo die die die
|
# ? Jan 5, 2015 14:50 |
|
lord funk posted:fuckkkk why won't you dealloc you piece of poo poo die die die is this objective steve if so use instruments
|
# ? Jan 5, 2015 14:54 |
|
b0lt posted:is this objective steve which of the instruments is the why-won't-you-die instrument?
|
# ? Jan 5, 2015 14:58 |
|
lord funk posted:which of the instruments is the why-won't-you-die instrument? allocations, then click on stuff until you find a list of retains/releases and then figure out why you have extra retains
|
# ? Jan 5, 2015 15:44 |
|
Symbolic Butt posted:I did some data science coursera thing and at some point it encouraged everyone to enter kaggle competitions. I never really got into kaggle maybe because I felt there was something off about it kegel competitions? sounds weird
|
# ? Jan 5, 2015 15:44 |
|
tef posted:if you want to spend your time solving computer science puzzles written by algorithmic fetishists well, sure, go on. old google jams, acm competitions, icfp, and a bunch more are just sitting around. there's even more discrete math ones too on project euler et al. or if you like go off and knock out a bunch of terrible code for not much money to build a portfolio. craigslist, word of mouth, lots of effort but you can escape man I miss my old acm hacking days :\
|
# ? Jan 5, 2015 16:20 |
|
|
# ? Jun 6, 2024 06:49 |
|
i could-a been a contender! i swear it!
|
# ? Jan 5, 2015 16:21 |