|
replace catch with tweet imo
|
# ? Jan 31, 2014 15:51 |
|
|
# ? Jun 6, 2024 00:09 |
|
log everything cause it will eventually come in handy and theres no real cost since u can just turn it off when u don't need it. altho the vs remote debugger is fantastic
|
# ? Jan 31, 2014 15:54 |
|
I hate front end coding so much it hurts and procrastinate when I do it. So I spend more time on it. Ugh.
|
# ? Jan 31, 2014 15:57 |
|
USSMICHELLEBACHMAN posted:replace catch with tweet imo code:
|
# ? Jan 31, 2014 15:59 |
|
i have a timed coding test for a job interview soon
|
# ? Jan 31, 2014 16:21 |
|
code:
EAT THE EGGS RICOLA fucked around with this message at 16:39 on Jan 31, 2014 |
# ? Jan 31, 2014 16:34 |
|
gently caress the instagram and pinterest APIs don't let you post new images this is the worst
|
# ? Jan 31, 2014 17:34 |
|
i wish code academy lessons didn't stop well before they get to the part where there are things i want to learn also i wish they were in languages that are hard to learn
|
# ? Jan 31, 2014 17:36 |
|
USSMICHELLEBACHMAN posted:i wish code academy lessons didn't stop well before they get to the part where there are things i want to learn http://learnyouahaskell.com/ hth
|
# ? Jan 31, 2014 18:06 |
|
that doesn't count because haskell is inherently fun
|
# ? Jan 31, 2014 18:09 |
|
2banks1swap.avi posted:I hate front end coding so much it hurts and procrastinate when I do it. So I spend more time on it. Ugh. the biggest obstacle to front end ive found is getting anything javascript to play nice css and html are easy also im working on not using so many frameworks.
|
# ? Jan 31, 2014 18:30 |
|
USSMICHELLEBACHMAN posted:i wish code academy lessons didn't stop well before they get to the part where there are things i want to learn we're slowly replacing books in our intro to x classes with codeacademy lessons it's working out p dece but not so much for anything more than a survey of the language. that being said, a lot of students are having difficulty with them..
|
# ? Jan 31, 2014 20:00 |
|
uncurable mlady posted:we're slowly replacing books in our intro to x classes with codeacademy lessons is this sagebrush i cant remember who the other professor yosposters are
|
# ? Jan 31, 2014 20:17 |
|
uncurable mlady posted:we're slowly replacing books in our intro to x classes with codeacademy lessons i think it's definitely a really fast way to get the basics down. which is good because once you've learned the basics a few times learning slightly different variations on the same thing is pretty boring
|
# ? Jan 31, 2014 20:25 |
|
USSMICHELLEBACHMAN posted:i think it's definitely a really fast way to get the basics down. which is good because once you've learned the basics a few times learning slightly different variations on the same thing is pretty boring yeah, and it's genuinely useful in the courses because people tend to come in at varying skill levels esp. for web stuff. it allows us to define a plateau that we can jump into more advanced crap with, and structures the learning environment we've gotten student feedback that some of them don't like it because they want to buy a book. i'm trying to think of a funny one to put on the requirements list for those people.
|
# ? Jan 31, 2014 20:40 |
|
uncurable mlady posted:yeah, and it's genuinely useful in the courses because people tend to come in at varying skill levels esp. for web stuff. it allows us to define a plateau that we can jump into more advanced crap with, and structures the learning environment http://www.amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/0262033844
|
# ? Jan 31, 2014 20:45 |
|
but that's actually a good book
|
# ? Jan 31, 2014 20:51 |
|
Shaggar posted:Add twitter lib from maven shaggar can u actually write some comedy app that does this just constantly tweeting its logs and all about all the great java poo poo that its logggin. just something that does a lot of smug twitter logging really idk
|
# ? Jan 31, 2014 21:49 |
|
Mr SuperAwesome posted:shaggar can u actually write some comedy app that does this just constantly tweeting its logs and all about all the great java poo poo that its logggin. just something that does a lot of smug twitter logging really idk http://pastebin.com/RE96mWFU https://twitter.com/ShaggarWasRight example config here: http://pastebin.com/hFf4UBdM Shaggar was right.
|
# ? Feb 1, 2014 01:17 |
|
nice. you could also add a setLayout(Layout<E> layout) (or encoder) to have the config stuff in a layout/encoder so you can use it to format the string using existing layout classes instead of it being static
|
# ? Feb 1, 2014 02:39 |
|
but for reals logback/slf4j is so loving well designed.
|
# ? Feb 1, 2014 02:41 |
|
Shaggar posted:nice. you could also add a setLayout(Layout<E> layout) (or encoder) to have the config stuff in a layout/encoder so you can use it to format the string using existing layout classes instead of it being static I couldn't figure out how to use the standard encoding in the 10 minutes I spent in the documentation. I'll check this out, thanks. I think I'll try to do this for lager as well.
|
# ? Feb 1, 2014 02:43 |
|
take a look at OutputStreamAppender. basically the encoder fires up an internal stream and when your appender gets an event you just fire it into the started encoder and it handles writing it to w/e the stream is. For u this would be kind of a pain cause you'd end up sending in an outputstream from your appender and then reading off of it after the encoder finishes writing. This is I guess so you can do more than just string stuff w/ the encoder (ex: the encoder could compress the output stream data before passing it back to the appender which could then send the compressed data 2 whatever the appender destination is). tbh for a twitappender I would keep it to only accepting layouts cause it makes the most sense and outputstreams are effort as hell
|
# ? Feb 1, 2014 02:53 |
|
like literally just addJava code:
Java code:
Java code:
|
# ? Feb 1, 2014 02:58 |
|
hell yeah writing logger codes on a Friday night. fuckin love it
|
# ? Feb 1, 2014 02:59 |
|
I'm using knockout.js for a thing. Is there a proper way to read an list and print out <p> for strings and <ul> for arrays? Maybe this is better for COC, but i saw someone talk about knockout here.
|
# ? Feb 1, 2014 03:24 |
|
hope u get knucked out
|
# ? Feb 1, 2014 04:14 |
|
MeruFM posted:I'm using knockout.js for a thing. whats ur viewmodel and markup look like? if ur tolkein about an observableArray that contains strings and lsits you could do like HTML code:
|
# ? Feb 1, 2014 04:49 |
|
more like dICK posted:http://pastebin.com/RE96mWFU Fucker, I was going to do this tomorrow morning. Meh I'll probably still do it and publish the maven artifact.
|
# ? Feb 1, 2014 05:03 |
|
Shaggar posted:whats ur viewmodel and markup look like? if ur tolkein about an observableArray that contains strings and lsits you could do like on monday
|
# ? Feb 1, 2014 05:30 |
|
Shaggar posted:whats ur viewmodel and markup look like? if ur tolkein about an observableArray that contains strings and lsits you could do like that seems like an ok way to eat poo poo with a spoon if you have to serve only static assets
|
# ? Feb 1, 2014 05:32 |
|
Nomnom Cookie posted:that seems like an ok way to eat poo poo with a spoon if you have to serve only static assets observables are dynamic it doesn't matter though because my poo poo is static.
|
# ? Feb 1, 2014 05:37 |
|
Nomnom Cookie posted:that seems like an ok way to eat poo poo with a spoon if you have to serve only static assets yeah theres not much point to doing that w/ knockout if it isn't static. even then i don't like the viewmodel that would create something that gross.
|
# ? Feb 1, 2014 06:25 |
|
would it really break javascript to and add some explicit public/private declarations? like i get that it would affect closures somehow but it seems like it could be worked out? and then add something like a module so you can actually have namespaces?? i mean i guess the funky scoping is the point but goddamn
|
# ? Feb 1, 2014 06:28 |
|
javascript isn't worth trying to fix
|
# ? Feb 1, 2014 06:29 |
|
Shaggar posted:javascript isn't worth trying to fix shaggar was right
|
# ? Feb 1, 2014 06:29 |
|
Shaggar posted:javascript isn't worth trying to fix it's better than flash
|
# ? Feb 1, 2014 06:32 |
|
ehhhh
|
# ? Feb 1, 2014 06:32 |
|
barely
|
# ? Feb 1, 2014 06:33 |
|
|
# ? Jun 6, 2024 00:09 |
|
USSMICHELLEBACHMAN posted:barely is this one of those 'drown or burn' sort of questions that don't really have a right answer
|
# ? Feb 1, 2014 06:33 |