|
im setting up an amazon ec2 linux vm just for fuckin around on erlang, seems like u can put it on osx but its clearly for a linux
|
# ? Nov 14, 2013 01:03 |
|
|
# ? May 13, 2024 10:13 |
|
Socracheese posted:im setting up an amazon ec2 linux vm just for fuckin around on erlang, seems like u can put it on osx but its clearly for a linux It works fine on OSX and you can grab pre-built packages at https://www.erlang-solutions.com/downloads or you can build it from source with Wx and use some graphical apps like observer or whatever (the packages should work with it too, and it works on all platforms in general).
|
# ? Nov 14, 2013 01:26 |
|
Zlodo posted:same reinterpreting the distinction as functional v. destructive instead of functional v. imperative highlights that imperative is an optimization, with all caveats that entails
|
# ? Nov 14, 2013 01:28 |
|
Brain Candy posted:reinterpreting the distinction as functional v. destructive instead of functional v. imperative highlights that imperative is an optimization, with all caveats that entails plus the best quality C compiler (llvm) actually optimizes the other way, into SSA form, removing all destructive reassignments edit: that's just in the intermediate representation though. the generated assembly code still works as usual
|
# ? Nov 14, 2013 01:57 |
|
MononcQc posted:It works fine on OSX and you can grab pre-built packages at https://www.erlang-solutions.com/downloads or you can build it from source with Wx and use some graphical apps like observer or whatever (the packages should work with it too, and it works on all platforms in general). thx. it will be more fun for me on the cloud anyway if i can make it do an internet thing
|
# ? Nov 14, 2013 01:59 |
|
Socracheese posted:thx. it will be more fun for me on the cloud anyway if i can make it do an internet thing check out cowboy for doing web things in erlang.
|
# ? Nov 14, 2013 02:08 |
|
Posting Principle posted:check out cowboy for doing web things in erlang. ok i have dived into this for a lil' bit and erlang is some voodoo poo poo. currently trying to get this thing listening on port 80 instead of 8080 e: aww yiss got hello world workin. trip report erlang is weird but p cool Socracheese fucked around with this message at 07:36 on Nov 14, 2013 |
# ? Nov 14, 2013 06:54 |
|
JewKiller 3000 posted:plus the best quality C compiler (llvm) actually optimizes the other way, into SSA form, removing all destructive reassignments ssa and cps being formally identical is a really interesting thing
|
# ? Nov 14, 2013 16:53 |
|
Socracheese posted:ok i have dived into this for a lil' bit and erlang is some voodoo poo poo. currently trying to get this thing listening on port 80 instead of 8080 If you get Recon you can start tracking your most active connections over time and see where all the precious bandwidth goes (use recon:port_info/1 to get details about each connection then)
|
# ? Nov 14, 2013 16:58 |
|
I've always been good enough with SQL but never got the kind of experience to really dig in. Trivial stored procedures and such. What's a good place to learn how do do more?
|
# ? Nov 14, 2013 17:09 |
|
2banks1swap.avi posted:I've always been good enough with SQL but never got the kind of experience to really dig in. Trivial stored procedures and such. i got a copy of this with a class. haven't really dug into it but it seems pretty comprehensive?
|
# ? Nov 14, 2013 17:59 |
|
2banks1swap.avi posted:I've always been good enough with SQL but never got the kind of experience to really dig in. Trivial stored procedures and such. design your apps to use the highest normal form possible, and write selects that get what you want in a single query
|
# ? Nov 14, 2013 19:42 |
|
Cocoa Crispies posted:design your apps to use the highest normal form possible, and write selects that get what you want in a single query the more normalized your tables, the more joins you'll have to write, and it's good mental exercise to get you into an sql mindset
|
# ? Nov 14, 2013 19:44 |
|
prefect posted:the more normalized your tables, the more joins you'll have to write, and it's good mental exercise to get you into an sql mindset normalization and adding constraints is great for enforcing correctness
|
# ? Nov 14, 2013 19:50 |
|
Cocoa Crispies posted:normalization and adding constraints is great for enforcing correctness i forgot about constraints. when you're learning db stuff, put primary keys on every table unless you have a really good reason not to. and any table that references those primary-keyed values should be foreign-keyed. your db diagrams should look like they're covered with long-legged spiders
|
# ? Nov 14, 2013 19:56 |
|
Cocoa Crispies posted:normalization and adding constraints is great for enforcing correctness mysql will happily accept constraints and then silently not enforce them. then you can't port your code because your db operations mysteriously fail on databases that actually enforce your constraints don't use mysql
|
# ? Nov 14, 2013 21:02 |
|
mysql is so bad but silently ignoring check constraints is the worst part of it
|
# ? Nov 14, 2013 21:17 |
|
the rationale is compatibility with DDL for good DBs, I'm not even joking
|
# ? Nov 14, 2013 21:18 |
|
mssql is so cheap theres no reason to use MySQL.
|
# ? Nov 14, 2013 21:19 |
|
Shaggar posted:mssql is so cheap theres no reason to use MySQL. surely you mean postgresql
|
# ? Nov 14, 2013 21:57 |
|
no i don't.
|
# ? Nov 14, 2013 22:04 |
|
Shaggar posted:mssql is so cheap theres no reason to use MySQL.
|
# ? Nov 14, 2013 22:33 |
|
Shaggar posted:no i don't. but postgresql is cheaper than mssql and just as capable
|
# ? Nov 14, 2013 23:13 |
|
isnt postgres supposed to be one of hte most internally consistent dbs? or is that just some koolaid someone handed me
|
# ? Nov 14, 2013 23:18 |
|
Mido posted:isnt postgres supposed to be one of hte most internally consistent dbs? or is that just some koolaid someone handed me idk but postgres repl is getting better faster than mysql correctness is getting less awful and it's thousands of dollars cheaper per node than mssql
|
# ? Nov 14, 2013 23:20 |
|
Mido posted:isnt postgres supposed to be one of hte most internally consistent dbs? or is that just some koolaid someone handed me postgresql does *everything* inside a transaction. including ALTER TABLE. and DROP DATABASE
|
# ? Nov 14, 2013 23:24 |
|
http://howfuckedismydatabase.com
|
# ? Nov 14, 2013 23:30 |
|
|
# ? Nov 15, 2013 00:04 |
|
sqlite is pretty awesome
|
# ? Nov 15, 2013 00:12 |
ive just recently been thinking about playing around with django again since i could have case for doing so, but i'm not sure how much enjoyment i'd get of it. i haven't touched it or python in well over a year and a half at this point
|
|
# ? Nov 15, 2013 00:16 |
|
use flask if you're gonna use a framework django is surprisingly rigid if you want to make anything more interesting. Django admin is pretty neat but you can do just as well with a plugin for your favorite db
|
# ? Nov 15, 2013 00:51 |
|
gucci void main posted:ive just recently been thinking about playing around with django again since i could have case for doing so, but i'm not sure how much enjoyment i'd get of it. i haven't touched it or python in well over a year and a half at this point use java dumbshit
|
# ? Nov 15, 2013 00:55 |
|
gucci void main posted:ive just recently been thinking about playing around with django again since i could have case for doing so, but i'm not sure how much enjoyment i'd get of it. i haven't touched it or python in well over a year and a half at this point anyone else notice how the poo poo tier types talk about "playing around" with things while the pro tier types just do poo poo
|
# ? Nov 15, 2013 00:56 |
|
FamDav posted:anyone else notice how the poo poo tier types talk about "playing around" with things while the pro tier types just do poo poo gotta learn somehow
|
# ? Nov 15, 2013 01:00 |
|
those that can, do. those that can't do,
|
# ? Nov 15, 2013 01:01 |
|
Notorious b.s.d. posted:gotta learn somehow i ran erl today code:
|
# ? Nov 15, 2013 01:05 |
|
Nomnom Cookie posted:i ran erl today you use '.' to end an expression and get it to run. code:
|
# ? Nov 15, 2013 04:56 |
|
Also I gotta try this thing soon:
|
# ? Nov 15, 2013 04:59 |
|
MononcQc posted:you use '.' to end an expression and get it to run. n
|
# ? Nov 15, 2013 05:07 |
|
|
# ? May 13, 2024 10:13 |
|
MononcQc posted:you use '.' to end an expression and get it to run. yeah i started reading my copy of lyse after that experience
|
# ? Nov 15, 2013 05:27 |