|
heres the source (play where's waldo and try to find my avatar in it!) one of my earlier experiments, i have a couple of them that came out much better and i'm sure ill revisit the technique sometime in the future
|
# ? Oct 7, 2015 22:11 |
|
|
# ? May 27, 2024 03:41 |
|
i just do some 6 finger touch typing bullshit that i homegrew by spending too much time in irc as a teen and now i can easily do 90-100 wpm and break 130 if im really goin at it
|
# ? Oct 7, 2015 22:12 |
|
its the funny eye looking thing in the top left
|
# ? Oct 7, 2015 22:12 |
|
Luigi Thirty posted:how will I post in yospos from it with no DECnet only DECnet failed to come up, I believe TCP/IP works you could write an HTTP client and a forums HTML parser, and just hook that in as a back-end to the mail system so YOSPOS just shows up as another mailbox hooking into the mail service was a common thing to do because in those days different sites used different systems and then you could also easily port it to gnus too
|
# ? Oct 8, 2015 01:36 |
|
No USER AIDS. I tried.
|
# ? Oct 8, 2015 01:44 |
|
I found the first > 10 loc program I ever wrote: And now you can try it yourself. code:
|
# ? Oct 8, 2015 02:41 |
|
to make up for the lack of USER AIDS I downloaded lispworks personal edition and made a button that pops up a dialog box containing goatse
|
# ? Oct 8, 2015 02:43 |
|
i wrote a cool recursive algorithm that walked a horrific db and it ran super fast in linqpad when I put it in the controller it takes like 5 minutes hjalp
|
# ? Oct 8, 2015 02:48 |
|
i suspect anonymous types, iis express, or my own personal failings also recursion
|
# ? Oct 8, 2015 02:50 |
|
you should be able to profile even IIS stuff if you have the Microsoft symbol pack why an algorithm would be 50 times slower in VS than Linqpad I have no idea
|
# ? Oct 8, 2015 02:51 |
|
Luigi Thirty posted:you should be able to profile even IIS stuff if you have the Microsoft symbol pack linqpad is really good and iis is very bad is my assumption. I was also running the query against a remote db rather than local but the time diff is still nuts when I ran against the remote db in linqpad (17s remote, 2s local, over 5 minutes in iis)
|
# ? Oct 8, 2015 03:01 |
|
MALE SHOEGAZE posted:I found the first > 10 loc program I ever wrote: better than a lot of what i deal with professionally, tbh.
|
# ? Oct 8, 2015 05:03 |
|
I wish I could find a copy of the game I wrote in mirc script
|
# ? Oct 8, 2015 05:21 |
|
uncurable mlady posted:linqpad is really good and iis is very bad is my assumption. I was also running the query against a remote db rather than local but the time diff is still nuts when I ran against the remote db in linqpad (17s remote, 2s local, over 5 minutes in iis) Is your local database on a SSD while the remote one is on spinning platters?
|
# ? Oct 8, 2015 07:41 |
|
I dug up the "text adventure" I wrote in TurboPascal in 10th grade. I didn't know anything about non-array data structures or about loading from/saving to files so the entire game map is encoded as several hundred methods. Each method does the following: 1)Print a description of where you're standing 2)Perform a random number generation to determine if you are attacked by a monster, initiate battle engine if so. 3)State which directions you can go in, prompt for input. Each method then simply called the method that represented the "cell" in the direction you wanted to go in. The map was close to 500x500 cells (I drew it in Excel to use as a reference while I coded). Also no validation of any input at any point. I spend close to 50 hours over thanksgiving weekend coding the stupid thing, and the file got so big that I exceeded the maximum line count TurboPascal for Windows could handle and had to switch to Borlean's shareware DOS pascal IDE (I hadn't learned about header files yet either).
|
# ? Oct 8, 2015 16:41 |
|
sounds like a text rpg thing I made in Java in high school it was bad
|
# ? Oct 8, 2015 16:57 |
|
things I didn't expect to see in this decade: Perl 6 ✔ shall i dare ask for Half Life 3? http://www.pigdog.org/auto/software_jihad/link/3138.html
|
# ? Oct 8, 2015 16:59 |
|
I think I found a use for lisp using magit to simplify my stupid loving git workflow down from a shell, a program, and 3 shell scripts down to alt+shift+hyper+meta UPDATE MY REPOSITORY
|
# ? Oct 8, 2015 17:27 |
|
MALE SHOEGAZE posted:I found the first > 10 loc program I ever wrote: I'm surprised that you used functions
|
# ? Oct 8, 2015 18:19 |
|
Luigi Thirty posted:I think I found a use for lisp welcome to the best editor
|
# ? Oct 8, 2015 18:29 |
|
God scalas type inference is just incredibly broken. Functions like compose and tupled just might as well not exist for all the good that they do
|
# ? Oct 8, 2015 18:53 |
|
Dessert Rose posted:welcome to the best editor now as soon as I figure out how to trap the error generated by magit-stash if there are no local changes so my awesome key command continues without stashing or unstashing I'll be in business
|
# ? Oct 8, 2015 19:54 |
|
Luigi Thirty posted:now as soon as I figure out how to trap the error generated by magit-stash if there are no local changes so my awesome key command continues without stashing or unstashing I'll be in business
|
# ? Oct 8, 2015 19:56 |
|
gonadic io posted:God scalas type inference is just incredibly broken. Functions like compose and tupled just might as well not exist for all the good that they do its a bad language, op
|
# ? Oct 8, 2015 20:05 |
|
Nitrocat posted:things I didn't expect to see in this decade: Perl 6 ✔ ugh all that metaprogramming poo poo. uuuuuuuuugh
|
# ? Oct 8, 2015 20:22 |
|
gonadic io posted:God scalas type inference is just incredibly broken. Functions like compose and tupled just might as well not exist for all the good that they do why would you use scala when you could just use java?
|
# ? Oct 8, 2015 20:23 |
|
Shaggar posted:why would you use scala when you could just use groovy? :3
|
# ? Oct 8, 2015 20:38 |
|
MALE SHOEGAZE posted:ugh all that metaprogramming poo poo. uuuuuuuuugh it's so gross. perl please die faster
|
# ? Oct 9, 2015 03:14 |
|
Ralith posted:Maybe it would be easier to check if there are local changes and only then call magit-stash. yes. yes it was. now i can press M-c c in an emacs window instead of punching a bunch of poo poo into a git console. turns out adding new commands to this thing is easy.
|
# ? Oct 9, 2015 03:21 |
|
are you posting from inside my company
|
# ? Oct 9, 2015 03:25 |
|
I really like linq stuff for collections in c# but am currently doing a thing in python because numpy/scipy/etc. I wanna use python collections good and preferably in a way similar to linq. Is this a thing and how
|
# ? Oct 9, 2015 04:13 |
|
Bloody posted:I really like linq stuff for collections in c# but am currently doing a thing in python because numpy/scipy/etc. I wanna use python collections good and preferably in a way similar to linq. Is this a thing and how this? https://github.com/heynemann/pynq/wiki quote:Microsoft created Linq (Language Integrated Query) using Expression trees, which is a math concept on how to parse operations into trees in a way that you can analyze the operations independently from the result.
|
# ? Oct 9, 2015 04:14 |
|
Oh http://mark-dot-net.blogspot.com/2014/03/python-equivalents-of-linq-methods.html Ugh This is so much shittier Maybe I should just port numpy to c# instead
|
# ? Oct 9, 2015 04:15 |
|
Luigi Thirty posted:No USER AIDS. I tried. I'll dig through my working copy and see what I had to tweak, I'm sure there was something straightforward
|
# ? Oct 9, 2015 04:21 |
|
Shaggar posted:why would you use scala when you could just use java? when u can't use Java 8
|
# ? Oct 9, 2015 04:26 |
|
Luigi Thirty posted:yes. yes it was. now i can press M-c c in an emacs window instead of punching a bunch of poo poo into a git console. turns out adding new commands to this thing is easy. you should see how commands worked in the Symbolics Dynamic Listener and CLIM commands along with descriptions of the types of their arguments are described independently from how they're invoked so they can be represented by menu items, or by automatic completion on the command line, or by picking from a pop-up window or other UI widget, or just supplied by clicking on any other things of the right type on-screen way more awesome than emacs
|
# ? Oct 9, 2015 04:44 |
|
Bloody posted:Oh what are you trying to do exactly? because most of that looks less convenient in c# if you skip the parts about itertools which you should, because the itertools module's only valid use case is making stack overflow answers long enough to submit also that writer is really bad at python and misses a lot of easy similarities
|
# ? Oct 9, 2015 05:14 |
|
eschaton posted:you should see how commands worked in the Symbolics Dynamic Listener and CLIM eschaton posted:I'll dig through my working copy and see what I had to tweak, I'm sure there was something straightforward for some reason the arch was set to pentium3. I had to set it to x86-64 to get it to compile. I get to a diagnostic screen but when it tries to boot from the disk i just get a black screen. I am only on the surface of Richard Stallman's monument to autism but I like how extensible it is
|
# ? Oct 9, 2015 05:31 |
|
Doesn't CLIM still sort of work on modern Common Lisp implementations?
|
# ? Oct 9, 2015 05:38 |
|
|
# ? May 27, 2024 03:41 |
|
Corla Plankun posted:what are you trying to do exactly? because most of that looks less convenient in c# if you skip the parts about itertools it probably isn't hard in python but I do not know how to do things I have a collection of tuples. I want to take the subset of tuples where item 1 is equal to 2 and then apply a function to item 2, yielding a new set in c# I'd do something like var result = collection.where(e => e[0] == 2).select(e => function(e[1]) how do I do that in python in a way that isn't gross I know it has map and filter and fold and whatever but like how do I use them good
|
# ? Oct 9, 2015 05:53 |