|
iirc the idea behind postscript was that the same source information could be used to generate graphics to display to the computer screen and print out, and postscript was one of the earliest things of its type right?
|
# ? Oct 7, 2015 14:04 |
|
|
# ? May 13, 2024 10:29 |
|
Bloody posted:btw why ityool 2015 are computer graphics still a left-handed coordinate system with 0,0 being the top-left corner that not much of a contribution but I haven't posted in a while so...
|
# ? Oct 7, 2015 14:11 |
|
if I remember why I'll report back
|
# ? Oct 7, 2015 14:11 |
|
Kilroy posted:that not much of a contribution but I haven't posted in a while so... don't sign your posts
|
# ? Oct 7, 2015 14:20 |
|
a terrible programmer story: i spent half a day adding 10mins of features to a lovely console app because i realised that the layout was total garbage despite it only having been written 2 months before so spent ages refactoring almost every method for clarity and getting rid of stupid poo poo like nested classes with separate yet dependent bools. i was the one that wrote it all originally. I'm the terrible programmer.
|
# ? Oct 7, 2015 14:25 |
|
eschaton posted:you know you at least want to give CADR and Meroko a try lol how to tell your product was made in 1988: USER AIDS also Jesus Christ it sounds like Hercules but even less useful, is there even any software out there specifically for that thing
|
# ? Oct 7, 2015 14:37 |
|
eschaton posted:you know you at least want to give CADR and Meroko a try the best part of this screenshot is in the background. a driver failed on boot so it is putting you into an interactive debugger better still, you can see that the driver code is object oriented because youre inside the method ETHERNET::NUBUS-ENC :ALLOCATE-COMMAND_BLOCK and your SELF variable is of type NUBUS-Controller. this owns so many bones
|
# ? Oct 7, 2015 14:56 |
|
Luigi Thirty posted:also Jesus Christ it sounds like Hercules but even less useful, is there even any software out there specifically for that thing most of the software for lisp machines cost more than the machines themselves turnkey was the norm: you pay $200k for some sw package and get a symbolics box for free
|
# ? Oct 7, 2015 14:59 |
|
Notorious b.s.d. posted:the best part of this screenshot is in the background. a driver failed on boot so it is putting you into an interactive debugger how will I post in yospos from it with no DECnet
|
# ? Oct 7, 2015 15:00 |
prefect posted:the pro-dvorak people are obnoxious, so i'm okay with mocking them
|
|
# ? Oct 7, 2015 15:38 |
|
Luigi Thirty posted:how will I post in yospos from it with no DECnet get into that debugger and hack around the problem. it's lisp, so you can load new code dynamically.
|
# ? Oct 7, 2015 15:59 |
|
sarehu posted:As a Dvorak user I can tell you being a Dvorak user is like being in a secret club -- when you meet another one, there's that unnecessary bit of implicit telepathy like that which you'd share with a fresh clone, where you know what each other's thinking: that Dvorak isn't really better than Qwerty but it's our little secret. for the first time ever i agree with sarehu
|
# ? Oct 7, 2015 16:00 |
|
dvorak is not actually faster than qwerty. what makes it seem faster is that learning any new keyboard layout is faster than your bad habits on qwerty. touch-typing is loving miraculous, and it's very, very hard to unlearn bad habits if you are a lovely hunt-and-pecker at 40 wpm you could probably double your speed learning a random layout. or colemak, for that matter. learning literally anything but qwerty gives you an opportunity to un-gently caress your typing not that i would endorse colemak or whatever flavor of the week
|
# ? Oct 7, 2015 16:01 |
Notorious b.s.d. posted:not that i would endorse colemak or whatever flavor of the week
|
|
# ? Oct 7, 2015 16:04 |
|
https://github.com/hmlb/phpunit-vw "helps you ship lovely code. faster." ... "any similarities with a current event concerning... a multinational automobile manufacturer are purely coincidental."
|
# ? Oct 7, 2015 16:06 |
|
I wonder if Bjorn and Michael ever got the networking going in meroko. they've had 9 years.
|
# ? Oct 7, 2015 16:12 |
|
I I have a log4j question. Im worried about performance and was going to start creating queues that contain Strings, and then have a thread running that pollls the queue and calls Logger.debug() on anything in the queue. I have a feeling that Logger.debug () does all this in the background anyway. Is that right? The genesis of this is worrying about the logging creating overhead and blocking things that are time critical
|
# ? Oct 7, 2015 18:38 |
|
I wouldn't worry about it until its an actual problem, but if you really want to do something there are a few things. 1) use the formatter based logging methods ex: log.debug("The boner size is {}",bonerSize); instead of log.debug("The boner size is "+bonerSize); The first statement incurs no string concatenation cost when debugging is disabled, while the second one will always concatenate the strings even if debugging is disabled. 2) when you cant do the above, wrap stuff in a logger.IsDebugEnabled statement. or whatever the equivalent in your framework is. 3) lastly, if you really need to have debug logging on and maximize throughput use asynchronous loggers and appenders. These will differ the actual blocking work. The downside is if the logging fails it can be a pain to figure out where it failed. Though that's generally not really a problem cause logging failures are almost always configuration or I/o problems which are unrelated to your code.
|
# ? Oct 7, 2015 18:48 |
|
idk if regular log4j supports formatter statements but I known slf4j and log4j-2 do.
|
# ? Oct 7, 2015 18:48 |
|
i made my own logger it pretty much just wraps code:
|
# ? Oct 7, 2015 18:52 |
|
hope u aren't logging from multiple threads
|
# ? Oct 7, 2015 18:52 |
|
code:
|
# ? Oct 7, 2015 18:53 |
|
ya, my logger will block random threads for no apparent reason, suck it
|
# ? Oct 7, 2015 18:54 |
|
if i was hardcore yak shaving i'd give the logger its own thread and have the Log(String value) method just add poo poo into a thread-safe collection and a worker thread pull poo poo from the thread-safe collection
|
# ? Oct 7, 2015 18:54 |
|
just use nlog or something.
|
# ? Oct 7, 2015 18:56 |
|
eh, this is good enough for the foreseeable future
|
# ? Oct 7, 2015 18:58 |
|
Bloody posted:eh, this is good enough for the foreseeable future you're in the right thread
|
# ? Oct 7, 2015 18:58 |
|
idk choosing to not replace a 39-line logger with another dependency for no reason at all doesnt seem that terrible
|
# ? Oct 7, 2015 19:05 |
|
log4j2 and disruptor for 1 million lines per second+. Good luck doing anything useful with that.
|
# ? Oct 7, 2015 19:07 |
|
Kilroy posted:there was a time when this made sense to me but I can't remember why now it makes sense because most of what computers display is text, and text in most languages starts at the top left and moves down the page I mean sure there's no reason why text coordinates and graphics coordinates have to be the same but it's not inherently dumb to say "OK the origin is always at the top left"
|
# ? Oct 7, 2015 19:21 |
|
Thank you shags those are some helpful optimization tips. I need to log stuff from Thread X but absolute cannot block thread X to write to the log. I just don't know how well log4j deals with concurrency. I'll look up nlog
|
# ? Oct 7, 2015 19:42 |
|
Bloody posted:eh, this is good enough for the foreseeable future a good rule to live by
|
# ? Oct 7, 2015 19:42 |
|
Bloody posted:btw why ityool 2015 are computer graphics still a left-handed coordinate system with 0,0 being the top-left corner i work in 3 dimensions
|
# ? Oct 7, 2015 19:45 |
|
Valeyard posted:Thank you shags those are some helpful optimization tips. nlog is for .net. log4j is java so you want either log4j-2 or slf4j/logback. both of them have asynchronous loggers.
|
# ? Oct 7, 2015 20:06 |
|
other things you can do if you really have severe performance requirements is have the logger log to some kind of external in memory message queue (MSMQ in .net, JMS in java) so it doesn't block and the messages are retained in the queue. I wouldn't try to write the queue inside your own program tho.
|
# ? Oct 7, 2015 20:08 |
|
or syslog (v)
|
# ? Oct 7, 2015 20:39 |
|
yeah syslog is probably the way to go
|
# ? Oct 7, 2015 20:44 |
|
by the time i had typing class in school i had been typing for years already, but i had been doing it by looking at the keyboard. it wasnt really hunt and peck, I used the home row mostly, and i was actually really fast that way as long as i was typing straight from my head - but what i found was that i couldn't break more than about 30wpm in our typing program because i had to look up, read a few words, then look down to type them out, and i would often make translation errors like "grey" -> "gray" which hurt me even more so mid-year, i reset my profile, and started from the basics "sad sass sag" etc. but touch typing (still qwerty). everyone in the class made fun of me for suddenly being so far behind, but by the time the year was over i was the fastest in the class, something like 40-45wpm. i spent a lot of time in irc, and so by the time i was 16 or so my typing speed was more like 100-120. which is kind of insane by most standards. later on i read that dvorak was more efficient so i learned it, got up to about 40wpm, and then i got tired of having to constantly switch mentally because i'd remote desktop into a machine and be in qwerty. since most of my job in those days was remoting into machines, i just switched back for consistency then i had the wrist problems and tried dvorak again, since now my job consists mostly of local coding. now my typing speed is around 90-100 on dvorak and 60ish on qwerty. i use vim keybindings everywhere, even in dvorak, with no remapping. i just got used to using my left hand for up/down and my right for l/r. it's not that big a deal, the major benefits of vim keybindings have nothing to do with where the keys are physically well thats my story hope you liked it
|
# ? Oct 7, 2015 21:51 |
|
nice avatar
|
# ? Oct 7, 2015 21:53 |
|
|
# ? May 13, 2024 10:29 |
|
Awia posted:nice avatar thanks, the source image is something i made with the deep dream technique and then EMILY BLUNTS did the cga+animation
|
# ? Oct 7, 2015 22:02 |