|
more like dICK posted:edit: I like a lot of Java now. I'm worried that makes me a bad or dumb person. dumb? definitely not bad? probably. after you've used a sane platform, it's hard not to get judgmental when you hear jackasses spout off about java in between tales of their amazing rails/django/php prowess.
|
# ? Jun 5, 2014 18:34 |
|
|
# ? May 13, 2024 09:58 |
|
the worst is crufty old unix CJs who bitch about java being slow java is slow lol *gets back to work on garbage shell script to coordinate yum operations*
|
# ? Jun 5, 2014 18:34 |
|
oh god gc leaks in class loaders i'm having flashbacks
|
# ? Jun 5, 2014 18:34 |
|
tef posted:oh god gc leaks in class loaders i'm having flashbacks yeah this is a serious problem even w/ tomcat stop using containers guys. embed your container in your app, not the other way around. java doesn't need any external help to listen for http
|
# ? Jun 5, 2014 18:35 |
|
Notorious b.s.d. posted:dumb? definitely not django and java both own
|
# ? Jun 5, 2014 18:36 |
|
what in the gently caress are you guys talking about signed, a .net dev
|
# ? Jun 5, 2014 18:37 |
|
current javascript status: i just read the words "bubble up the DOM tree" and now i want to kill myself
|
# ? Jun 5, 2014 18:38 |
|
Notorious b.s.d. posted:the real answer to classloader/container hell: embed jetty in your app, run every component in its own jvm and its own unix service. i had issues with storm because storm workers use the same classloader for everything. servlet classloading works pretty good imo for single-tenant
|
# ? Jun 5, 2014 18:39 |
|
Werthog 95 posted:current javascript status: i just read the words "bubble up the DOM tree" and now i want to kill myself event.stopPropagation(); erryday
|
# ? Jun 5, 2014 18:40 |
|
my current javascript status is I have to figure out cors.
|
# ? Jun 5, 2014 18:41 |
|
Shaggar posted:my current javascript status is I have to figure out cors. I have until tomorrow to fix a disaster in PL/SQL which involves writing four new functions and changing a gigantic procedure. lol
|
# ? Jun 5, 2014 18:42 |
|
Kevin Mitnick P.E. posted:i had issues with storm because storm workers use the same classloader for everything. this happened to me, too. storm wants to keep everything in the same jvm, surprise surprise that's a multi-tenant setup that's gonna need complex classloaders storm re-invents a lot of java wheels because it was written by a p-lang weenie. c.f. it jumps through insane hoops to avoid xml at any cost w/ all those python startup scripts natharn marz is a cool dude but that doesn't excuse that mess
|
# ? Jun 5, 2014 18:51 |
|
Careful Drums posted:what in the gently caress are you guys talking about .net "solves" the classloader hell problem by pushing it to a different level of abstraction, the AppDomain. nobody uses appdomains.
|
# ? Jun 5, 2014 18:53 |
|
ugh goddammit so right now we're doing this code:
code:
|
# ? Jun 5, 2014 18:57 |
|
something else is going wrong because i've used callbacks like that bottom snippet. stupid question: 'callback' is a function right? e: is it possible you're getting a 500 and the 'error' callback is happening instead? Careful Drums fucked around with this message at 19:25 on Jun 5, 2014 |
# ? Jun 5, 2014 19:21 |
|
Citizen Tayne posted:I have until tomorrow to fix a disaster in PL/SQL which involves writing four new functions and changing a gigantic procedure. lol lol that's gross
|
# ? Jun 5, 2014 19:24 |
|
Careful Drums posted:something else is going wrong because i've used callbacks like that bottom snippet. stupid question: 'callback' is a function right? yes it's a function. here it is in angular being used in our app right now: code:
|
# ? Jun 5, 2014 19:27 |
|
Werthog 95 posted:ugh goddammit you're missing a semicolon at the end of that, otherwise its fine. JavaScript code:
here is how to enable cors in webapi in WebApiConfig.cs C# code:
C# code:
|
# ? Jun 5, 2014 19:28 |
|
Careful Drums posted:what in the gently caress are you guys talking about Notorious b.s.d. posted:.net "solves" the classloader hell problem by pushing it to a different level of abstraction, the AppDomain. we use app domains let me kill myself marshaling bytes off the app domain boundaries the things u have 2 do to process trillions of records a day
|
# ? Jun 5, 2014 20:49 |
|
Notorious b.s.d. posted:.net "solves" the classloader hell problem by pushing it to a different level of abstraction, the AppDomain. fwiw we only use them b/c .net has the equivalent of dlopen but not dlclose (intentionally, apparently)
|
# ? Jun 5, 2014 20:51 |
|
anyone who wants to unload DSOs has way too much faith in their ability to clean up after themselves
|
# ? Jun 5, 2014 22:08 |
|
Malcolm XML posted:fwiw we only use them b/c .net has the equivalent of dlopen but not dlclose (intentionally, apparently) lol. so you are using appdomains only because you don't have classloaders. (as with so many .net vs java differences, this seems like a case where .net makes different tradeoffs but isn't actually better or worse)
|
# ? Jun 5, 2014 22:28 |
|
Kevin Mitnick P.E. posted:anyone who wants to unload DSOs has way too much faith in their ability to clean up after themselves i assume he meant unloading a .net assembly, not an actual old-school windows dll. that would be scary
|
# ? Jun 5, 2014 22:29 |
|
Notorious b.s.d. posted:i assume he meant unloading a .net assembly, not an actual old-school windows dll. that would be scary this is basically why they dont have dlclose and have the marshaling requirements but it's just a pita. but tbh there is not really a better way to compile .net code on demand and load it
|
# ? Jun 5, 2014 22:39 |
|
we use angular and it's terrible. so are all the other js frameworks though and i think angular may be the least terrible of all of those. it's good for filtering, anyway...
|
# ? Jun 6, 2014 02:37 |
|
actually just never do web ui work. we had a chrome-specific lag issue and it wasn't due to our lovely js but rather a hiccup on rendering several :first-child css rules. wtf
|
# ? Jun 6, 2014 02:39 |
|
if you ever have to work on a big enough web ui project that angular or requirejs seem like a good idea, you may have made some bad life choices kill me
|
# ? Jun 6, 2014 02:50 |
|
Malcolm XML posted:compile .net code on demand and load it i would be interested to hear the rationalizations of whoever thought this was a good idea
|
# ? Jun 6, 2014 02:53 |
|
FamDav posted:no i mean like lets say i do some some poo poo like what i've heard is browsers will try to store up all the dom changes and do one redraw when your code returns, but i don't know if there's any guarantee it has to reflow the page if you read layout information after you've changed the dom though, so you can trigger worst-case behavior by alternating reading and writing.
|
# ? Jun 6, 2014 03:19 |
|
FamDav posted:no i mean like lets say i do some some poo poo like jQuery also has a .replaceWith() that might help you
|
# ? Jun 6, 2014 03:28 |
|
MagicBob posted:if you ever have to work on a big enough web ui project that angular or requirejs seem like a good idea, you may have made some bad life choices it's only going to become more common
|
# ? Jun 6, 2014 03:32 |
|
Stringent posted:it's only going to become more common it's still true
|
# ? Jun 6, 2014 03:32 |
|
Werthog 95 posted:the debugger breaks in a callback from a jquery function but the particular line it breaks on seems fine. no errors in the browser console anyway I've seen this happen before when a space was actually the wrong character and the JS interpreter thought it was a line break, and helpfully attempted to parse the rest of a comment as an instruction
|
# ? Jun 6, 2014 03:52 |
|
Werthog 95 posted:so i'm trying to fix this javascript and i've never javascripted before you must be using it wrong. javascript tools are JUST FINE and not a shitshow, a yosposter told me so
|
# ? Jun 6, 2014 04:37 |
|
i had to update our deploy process yesterday because we're now dependent on a java thing and: no java runtime on the far end, so i just shoved a hundred megabytes of /usr/lib/java/default-java or w/ever in there and updated a couple environment variables and : it worked but i feel like I'm in a state of sin somehow
|
# ? Jun 6, 2014 14:47 |
|
if you didn't setup the server yourself, 99.999% of the time the java install will be hosed because its probably from a package manager, so copying the java bins is standard practice for deployment on Linux. for windows theres really only the sun vm so its not a problem, but I still copy the binaries anyways cause theres no need for it to be integrated into the browser or os or anything. ibm ships their own jvm with any of their products that use java (ex: notes/sametime/domino) so you don't need to install java separately. copying the jvm with ur poo poo is pretty normal.
|
# ? Jun 6, 2014 14:53 |
|
like you don't even need environmental variables if your thing is going to be the only thing using the jvm you copied (in fact its probably a good idea not to in case other people want to use other vms).
|
# ? Jun 6, 2014 14:53 |
|
suffix posted:what i've heard is browsers will try to store up all the dom changes and do one redraw when your code returns, but i don't know if there's any guarantee There's better chance when executing after a RAF call.
|
# ? Jun 6, 2014 15:06 |
|
fritz posted:i had to update our deploy process yesterday because we're now dependent on a java thing and: no java runtime on the far end, so i just shoved a hundred megabytes of /usr/lib/java/default-java or w/ever in there and updated a couple environment variables and : it worked you should be using cfg mgmt to set up prereqs
|
# ? Jun 6, 2014 15:09 |
|
|
# ? May 13, 2024 09:58 |
|
copy-quotin into this thread cause there are a fair few UK devs itt who i respect n id like to know their opinioncoffeetable posted:UK advice needed: I've been unemployed for nine months while learning software development, and a few weeks back I finally decided to put 10 resumes out there to see what the reaction was. Got 4 interviews off the back of it from all over the country, and that's panned out to two poor offers and one seemingly-decent one: £35k in the north of England for a small biotech company. They want me to join a two-man team who're developing a research-council backed project, with a look to leading it by the end of the year.
|
# ? Jun 6, 2014 15:12 |