|
x y problem strikes again
|
# ? Dec 9, 2012 19:17 |
|
|
# ? Jun 11, 2024 07:38 |
|
rotor posted:yeah, but you know, baby steps. you gotta admit that we've got the constantly observing our lives bit down pat and we're pretty good at using that information to make someone else's life easier. the rest is just bikeshedding
|
# ? Dec 9, 2012 19:49 |
|
gonna rebutt some of this cuz im boredZombywuf posted:* this: x is a list, then y is assigned to be the same list, then you concatenate [1] onto the list, and y is that, like you would expect. if you make x a tuple, thats immutable, so y is assigned to that same tuple, but if you change the tuple that x is assigned to, y doesn't get pointed to the new tuple.
|
# ? Dec 9, 2012 20:15 |
|
see perl conveniently pre-flattens all your poo poo so we dont ever have to worry about this besides, tuple is a terrible world e: keeping freudian typo
|
# ? Dec 9, 2012 20:18 |
|
Ronald Raiden posted:gonna rebutt some of this cuz im bored Show him the gift boxes.
|
# ? Dec 9, 2012 20:27 |
|
tef posted:x y problem strikes again xx problem
|
# ? Dec 9, 2012 20:32 |
|
rotor posted:I think we have enough languages, what we need now is a program to write other programs for us because we're super bad at it. what if WE are the programS??
|
# ? Dec 9, 2012 22:22 |
|
Toady posted:what if WE are the programS?? the world and everyone it is awful, so we were all written in p languages and are running on a linux
|
# ? Dec 9, 2012 22:26 |
|
Toady posted:what if WE are the programS?? naw.
|
# ? Dec 9, 2012 22:43 |
|
http://web.archive.org/web/20110726002019/http://diveintomark.org/archives/2004/02/04/incompatible-rss heh
|
# ? Dec 10, 2012 15:28 |
|
lol netscape.
|
# ? Dec 10, 2012 15:35 |
|
rotor posted:I think we have enough languages, what we need now is a program to write other programs for us because we're super bad at it.
|
# ? Dec 10, 2012 16:12 |
|
JawnV6 posted:lisp is p. good for this
|
# ? Dec 10, 2012 16:23 |
|
Ronald Raiden posted:gonna rebutt some of this cuz im bored You have correctly identified all the lines that do not do bad things. The line which does the bad thing is this one: code:
|
# ? Dec 10, 2012 16:25 |
|
Jonnty posted:clearly the solution is computers which constantly observe us and create programs to make our lives easier and more efficient automatically We just need to make a program to write programs then tell it to write a better program writing program. Repeat this a few times then make it write a time travel program that sends itself back in time to just before we write the first program writing program. Development solved. You're all going to have to get new jobs.
|
# ? Dec 10, 2012 16:28 |
|
Zombywuf posted:We just need to make a program to write programs then tell it to write a better program writing program. Repeat this a few times then make it write a time travel program that sends itself back in time to just before we write the first program writing program. I'm sure Skynet will be able to find new things for us to do.
|
# ? Dec 10, 2012 16:29 |
|
work from home earn $$$
|
# ? Dec 10, 2012 16:47 |
|
tef posted:work from home earn $$$ spam and prevention of are the cutting-edge of ai research, think about that every false-positive and false-negative a failed turing test with you as the human control input
|
# ? Dec 10, 2012 16:50 |
|
prefect posted:I'm sure Skynet will be able to find new things for us to do. 7 Scientific Reasons a Skynet Rising Would Fail (Quickly) | Cracked.com
|
# ? Dec 10, 2012 17:12 |
|
Cocoa Crispies posted:spam and prevention of are the cutting-edge of ai research, think about that there is a lot of work on text classification, the cutting edge of ai is a lot broader. (especially with work on statistical nlp, translation especially) quote:every false-positive and false-negative a failed turing test with you as the human control input i once wrote a bot that said 'heh' every 30s and left it running on my irc session. no-one noticed for a while. someone thought I was doing it on purpose and tried to keep up.
|
# ? Dec 10, 2012 17:14 |
|
eight reasons we're using an ai to write our dumb and epic fail cookie cutter articles | cracked.com
|
# ? Dec 10, 2012 17:16 |
|
such epic fail
|
# ? Dec 10, 2012 17:17 |
|
0xB16B00B5 posted:such epic fail *built a markov chain out of "please respond" posts*
|
# ? Dec 10, 2012 17:18 |
|
criticize my stupid idea please so for doing types you add a class to a type set, so Integer would be in the set number or something, and you could query the set for other types or objects. example: you wanted all the types that were real numbers, so querying the number set would return Integer, Fraction, Irrational, whatever i feel like this is just basically subclassing, but for some reason it feels different idk help me yospos. i also dont know why this would be useful either edit: also you do perform set operations and stuff obviously, union, intersection, etc also each type-set keeps track of its members
|
# ? Dec 10, 2012 17:32 |
|
code:
|
# ? Dec 10, 2012 17:43 |
|
that's maths but without all the number crunching that's got useful applications in the real world
|
# ? Dec 10, 2012 17:44 |
|
Sweeper posted:i feel like this is just basically subclassing it is Sweeper posted:edit: also you do perform set operations and stuff obviously, union, intersection, etc where would the ability to perform this on types be useful
|
# ? Dec 10, 2012 17:44 |
|
Tiny Bug Child posted:it is idk i have thought about it that much yet
|
# ? Dec 10, 2012 17:47 |
|
AlsoD posted:
ive been meaning to play with haskell but i have no problem to solve with it so i havent it looks neat
|
# ? Dec 10, 2012 17:51 |
|
what if you could have an infinite set of types im just postin here not thinkin
|
# ? Dec 10, 2012 17:52 |
|
z0rgohistomorphic prepromorphisms
|
# ? Dec 10, 2012 17:54 |
|
What if, like, the types are the program We'd never have to write code again
|
# ? Dec 10, 2012 20:51 |
|
Zombywuf posted:You have correctly identified all the lines that do not do bad things. The line which does the bad thing is this one: why, it's equivalent to x = x + (1,)
|
# ? Dec 10, 2012 22:49 |
|
+= with a tuple is fine, it makes perfect sense what isn't ideal is Python code:
Python code:
Python code:
|
# ? Dec 10, 2012 23:18 |
|
the real answer here is that you should use immutable data structures for everything and not have to worry about this poo poo
|
# ? Dec 11, 2012 00:19 |
|
Cocoa Crispies posted:spam and prevention of are the cutting-edge of ai research, think about that yes i too read that charles stross novel
|
# ? Dec 11, 2012 00:26 |
|
lol if you read
|
# ? Dec 11, 2012 00:29 |
|
yaoi prophet posted:the real answer here is that you should use immutable data structures for everything and not have to worry about this poo poo now you have 32767 problems
|
# ? Dec 11, 2012 00:41 |
|
look jsut loving decide what X is already stop changing your mind later int he program
|
# ? Dec 11, 2012 00:51 |
|
|
# ? Jun 11, 2024 07:38 |
|
immutable data structures are pretty nice to have but also getting well-delimited mutability is a nice tool. I do prefer a clear delimitation between both modes than only mutable if available though.
|
# ? Dec 11, 2012 01:30 |