|
the best mgmt is the ones that don't want to be there beware the ones that love meetings
|
# ? Mar 5, 2015 22:49 |
|
|
# ? Jun 5, 2024 08:19 |
|
Brain Candy posted:oh, i totally like stories too. but when duder admitted he got sucked into mgmt the hints of a wounded ego suddenly made more sense e: on second thought, just: lol Subjunctive fucked around with this message at 23:03 on Mar 5, 2015 |
# ? Mar 5, 2015 23:00 |
|
tef i want to learn logic programming but i don't even know what the gently caress it is about. with python and junk i just sort of said i want to do a thing and kept learning what to do until i got it done. you seem like someone that is good a pedagogy and you use prolog, so what are some approachable problems to solve with logic programming. im using clojure core.logic and i looked at a sudoku solver after reading a chapter on prolog in some book at my library and it doesnt even make sense. it seems like its time scheduler: the language. i think i want to write static analysis tools for my lovely programs or something. help
|
# ? Mar 5, 2015 23:12 |
|
prefect posted:he might have been serious i was
|
# ? Mar 6, 2015 02:25 |
|
for serious, knowing your own limits, and being able to take the immediate problem for the larger issue at hand, well, it's a hard choice, so uh yeah HELP I WAS BEING NICE
|
# ? Mar 6, 2015 02:29 |
|
HOW DO I SAY NICE THINGS I HAVE FORGOTTEN
|
# ? Mar 6, 2015 02:34 |
|
tef posted:HOW DO I SAY NICE THINGS I HAVE FORGOTTEN
|
# ? Mar 6, 2015 02:36 |
|
ten years being an rear end in a top hat, ama
|
# ? Mar 6, 2015 02:37 |
|
are there web frameworks for prolog. is there an equivalent to monad tutorials for prolog?
|
# ? Mar 6, 2015 02:49 |
|
oracle now forcing installation of ask jeeves adware on install of Java runtime
|
# ? Mar 6, 2015 03:08 |
|
PleasureKevin posted:
by what non Chrome Web Store method does this adware install itself with? i thought they blocked that.
|
# ? Mar 6, 2015 03:12 |
|
you down with JRE? yeah you Ask Jeeves
|
# ? Mar 6, 2015 03:12 |
|
crazysim posted:by what non Chrome Web Store method does this adware install itself with? i thought they blocked that. Doesn't Chrome deactivate drive-by extension and app installs by default?
|
# ? Mar 6, 2015 03:14 |
|
you can't opt out any more?
|
# ? Mar 6, 2015 03:23 |
|
i guess oracle is mad about adobe stealing the limelight lately with flash 16 being a colossal piece of poo poo
|
# ? Mar 6, 2015 03:34 |
|
MrMoo posted:Doesn't Chrome deactivate drive-by extension and app installs by default? That's what I thought. Was it Windows only? As for getting around, I thought that's Beta, Developer, and Canary. Stable blocked.
|
# ? Mar 6, 2015 03:37 |
|
it's only blocked on windows and beta also blocks And developer/canary crashes every 3rd page
|
# ? Mar 6, 2015 03:56 |
|
Tavistock posted:tef i want to learn logic programming but i don't even know what the gently caress it is about. with python and junk i just sort of said i want to do a thing and kept learning what to do until i got it done. you seem like someone that is good a pedagogy and you use prolog, so what are some approachable problems to solve with logic programming. eh it's weird to want to know something because you don't know what it is you'll learn, but eh, prolog's just plain weird. it's somewhere between writing sql queries in regular expressions and executable grammar. it was my first weird language and it stuck with me, the aha moments where you understand what the gently caress you are doing are rather nice, and there is this notion of finding a very declarative essence of what makes a program. indeed, many prolog programs can be run backwards as well as forwards. quote:im using clojure core.logic and i looked at a sudoku solver after reading a chapter on prolog in some book at my library and it doesnt even make sense. it seems like its time scheduler: the language. i think i want to write static analysis tools for my lovely programs or something. help tbh "the reasoned schemer" or something around kanren/minikanren might be good rrrrrrrrrrrt posted:are there web frameworks for prolog. is there an equivalent to monad tutorials for prolog? yes. and not really as for other bits, well in prolog you tend to write meta-interpreters a lot so uh
|
# ? Mar 6, 2015 03:59 |
|
prolog in a nutshell. 1. prolog is a database. code:
?- foo. and it is true, yes, foo exists ?- poop. it is false, so no poop does not exist. and we can build up queries ? - foo, butt. % is foo and butt true 2. prolog is a query language code:
we can say either AND or OR, so foo :- a; b is foo if a OR b, and foo :- a,b is a AND B. 3. prolog is a grammar code:
and they are tried in order. we can actually get multiple results for queries too. 4. prolog is a programming language we can add in parameters to queries and facts in the database member(X, List) :- head(List, X). member(X, List) :- tail(List, T), member(X, T) this says: X is a member of a List, if it is at the front of a list, or member of the tail of the list
|
# ? Mar 6, 2015 04:06 |
|
tef posted:4. prolog is a programming language 5. Prolog is an imperative programming language. You add a built-in predicate that succeeds while performing a side effect. printButts([butt | Butts ]) :- !, print('found butt'), printList(Butts). printButts([ _ | Butts ]) :- printButts(Butts) "Practical" Prolog can be some really nasty poo poo. No idea why anyone would take something so beautiful and make it so nasty.
|
# ? Mar 6, 2015 08:22 |
|
Basically, if you want to learn Prolog, actually learn Datalog.
|
# ? Mar 6, 2015 08:26 |
|
Prolog sucks because it is dynamically typed, it's practically Javascript only with easier to understand evaluation order.
|
# ? Mar 6, 2015 08:43 |
|
sarehu posted:Prolog sucks because it is dynamically typed, it's practically Javascript only with easier to understand evaluation order. i havent used prolog but aren't head() and tail() algebraic types in this example? if you want to use a head() you have to have head() in your function (does prolog have functions?) member(X, List) :- head(List, X). member(X, List) :- tail(List, T), member(X, T)
|
# ? Mar 6, 2015 10:14 |
|
Shinku ABOOKEN posted:i havent used prolog but aren't head() and tail() algebraic types in this example? if you want to use a head() you have to have head() in your function (does prolog have functions?) Prolog does not have functions, only predicates. 'head(List, X)' means to see if you can take the head of List and unify it with X, which is done by checking all the rules for 'head'. There is probably only one such rule, and it looks like this: head([X | _], X).
|
# ? Mar 6, 2015 10:42 |
|
Athas posted:Basically, if you want to learn Prolog, actually learn Datalog. Mercury
|
# ? Mar 6, 2015 12:46 |
|
sarehu posted:Prolog sucks because it is dynamically typed, it's practically Javascript only with easier to understand evaluation order. static typing in prolog would make very little sense. it is not really clear what it would even mean.
|
# ? Mar 6, 2015 14:42 |
|
there are statically typed logic programming languages (or at least logic DSLs embedded in languages with such type systems)
|
# ? Mar 6, 2015 14:44 |
|
What's the deal with complex numbers as a built-in feature?
|
# ? Mar 6, 2015 21:52 |
|
sarehu posted:What's the deal with complex numbers as a built-in feature? it's tricky to get the exact semantics right if they aren't built-in because just promoting the values to complex can do the wrong thing with infinities and negative zero
|
# ? Mar 6, 2015 23:14 |
|
gonadic io posted:there are statically typed logic programming languages (or at least logic DSLs embedded in languages with such type systems) mostly what i find difficult about it is that all of prolog restricts objects to some domain prescribed by a sequence of predicates, and drawing the line between what predicates are "types" seems artificial while numbers and lists have a sort of special status at the very least all kids of user-defined types are fundamentally a matter of logical constraints which are by their nature, and design, indistinguishable from what constitutes computation
|
# ? Mar 6, 2015 23:15 |
|
Cybernetic Vermin posted:static typing in prolog would make very little sense. it is not really clear what it would even mean. gonadic io posted:there are statically typed logic programming languages lambda prolog, for example. edit: misread "there are" as "are there". fixed crazypenguin fucked around with this message at 23:20 on Mar 6, 2015 |
# ? Mar 6, 2015 23:17 |
|
i took classes from sergio antoy it is completely batshit
|
# ? Mar 6, 2015 23:22 |
|
Cybernetic Vermin posted:mostly what i find difficult about it is that all of prolog restricts objects to some domain prescribed by a sequence of predicates, and drawing the line between what predicates are "types" seems artificial Basically, it allows you to draw a distinction between data and relations. So: (and my lambda prolog is rusty so forgive my syntax errors) code:
clear anything up, or do I just muddle things further?
|
# ? Mar 6, 2015 23:33 |
|
help I can't stop using x-macros I'm now using them to generate sql statements they're so convenient but how ugly
|
# ? Mar 9, 2015 23:46 |
|
how can't there be a more c++ way in tyool 2015
|
# ? Mar 9, 2015 23:47 |
|
like, a compile-time ast api
|
# ? Mar 9, 2015 23:48 |
|
where are your stored / parametrized queries???
|
# ? Mar 10, 2015 00:00 |
|
hackbunny posted:like, a compile-time ast api
|
# ? Mar 10, 2015 00:02 |
|
hackbunny posted:like, a compile-time ast api use a lisp
|
# ? Mar 10, 2015 00:35 |
|
|
# ? Jun 5, 2024 08:19 |
|
hackbunny posted:like, a compile-time ast api what's this about gcc pulling ahead of llvm recently?
|
# ? Mar 10, 2015 00:49 |