|
fleshweasel posted:+ to append to a list is fine but functional programmers go too far and start making up >>= and poo poo that is 1. unreadable 2. impossible to google and get documentation for my nigga have you tried hoogle??
|
# ? Apr 1, 2015 16:31 |
|
|
# ? May 25, 2024 14:18 |
|
that is actually pretty cool and, i bet, useful
|
# ? Apr 1, 2015 16:31 |
|
gonadic io posted:my nigga have you tried hoogle??
|
# ? Apr 1, 2015 16:33 |
|
still though, the fp complete one is better than the haskell.org one the haskell.org one has very few packages that it searches by default
|
# ? Apr 1, 2015 16:35 |
|
prefect posted:that is actually pretty cool and, i bet, useful hoogle owns. you can search by type signatures and stuff, like say i have a list of maybe values and i want to get a new list of the unwrapped values. does that function exist? what's it called? https://www.haskell.org/hoogle/?hoogle=[Maybe+a]+-%3E+[a]
|
# ? Apr 1, 2015 16:35 |
|
gonadic io posted:still though, the fp complete one is better than the haskell.org one yeah thats cool i've never seen that one before
|
# ? Apr 1, 2015 16:37 |
|
gonadic io posted:my nigga stop it.
|
# ? Apr 1, 2015 16:41 |
|
why would you use mongo when you could use ANY loving SQL THING EVER sqlite is free and text based and very good for your poo poo project you will never show anyone
|
# ? Apr 1, 2015 17:15 |
|
there is no hoogle to save scale tho
|
# ? Apr 1, 2015 17:16 |
|
mongo has cost me more time and money than any piece of poo poo sql database you can think of, do not use mongo
|
# ? Apr 1, 2015 17:17 |
|
it says everything about haskell that it needs its own search engine because google takes input as garbage
|
# ? Apr 1, 2015 17:26 |
|
Share Bear posted:why would you use mongo when you could use ANY loving SQL THING EVER even if you actually want a dumb document store, don't use mongo postgres hstore and json extensions let you do k/v in a real database and mix document/json data w/ regular sql queries
|
# ? Apr 1, 2015 17:27 |
|
of course the actual reason for hoogle's existence is searching for stuff by type signature, which it does really well and can even search for more general versions of what you want
|
# ? Apr 1, 2015 17:28 |
|
<<
|
# ? Apr 1, 2015 17:50 |
|
now that one's easy, it's the opposite of >> which is >>= without the =
|
# ? Apr 1, 2015 17:53 |
|
nice bitwise operator
|
# ? Apr 1, 2015 17:53 |
|
oh it's much more than that in the magical land of ruby~ e: come to think of it it's just += in a string context why are you being so different in a dumb way ruby because += works just fine Bhodi fucked around with this message at 18:04 on Apr 1, 2015 |
# ? Apr 1, 2015 17:55 |
|
Necc0 posted:who's out there pushing mongo as a good db choice? why do newbies keep insisting on using it? same goes for node.js which you're also using iirc my boss/ one of my professors preaches this poo poo HARD every new hire has to get that mongo university intro cert
|
# ? Apr 1, 2015 18:26 |
|
Subjunctive posted:"that story doesn't add up"
|
# ? Apr 1, 2015 18:56 |
|
Share Bear posted:why would you use mongo because you can load it up without doing much and dump poo poo in without thinking about it. as most people won't even put an index on a table, let alone write a migration or a schema, it performs just as well as mysql would do anyway
|
# ? Apr 1, 2015 19:00 |
|
mongoDB, named after its userbase
|
# ? Apr 1, 2015 19:02 |
|
Valeyard posted:mongoDB, named after its userbase it's not called valeyard ???
|
# ? Apr 1, 2015 19:05 |
|
|
# ? Apr 1, 2015 19:32 |
|
tef posted:it's not called valeyard ???
|
# ? Apr 1, 2015 19:35 |
|
oh poo poo i didn't even realize tef burned you tef, the nicest man on twitter
|
# ? Apr 1, 2015 19:35 |
|
but seriously, my technical manager wanted me to switch from postgre to mongo because it was good for extending into the future as we add more columns/keys. Iunno how I feel about it, because he has a ton of experience in enterprise SAAS stuff so I usually trust his judgement. And had really good calls when we were working on extending the db schema. All of them proving themselves 6 months later maybe he's just tired of working with oracleDB or something. we already have another system using sql and mongo so it doesn't seem to be for resume building
|
# ? Apr 1, 2015 19:38 |
|
its fine as long as you never have to restore or migrate or replicate ever
|
# ? Apr 1, 2015 19:39 |
|
there are use cases for document databases but if your postgre schema contains any relationships whatsoever replacing it with mongo is almost certainly a mistake
|
# ? Apr 1, 2015 20:13 |
|
The Leck posted:i never knew i wanted to see a gritty, adult-oriented reboot of mathnet until now. oh I didn't realize Lisa Simpson and darth vader were in this, neat
|
# ? Apr 1, 2015 20:29 |
|
i am actually a good programmer
|
# ? Apr 1, 2015 21:43 |
|
Bhodi posted:its fine as long as you never have to restore or migrate or replicate ever or read the data back
|
# ? Apr 1, 2015 21:50 |
|
DaTroof posted:there are use cases for document databases but if your postgre schema contains any relationships whatsoever replacing it with mongo is almost certainly a mistake postgres is a perfectly competent document database on its own (hstore, json) why would you deploy two databases just because you have two kinds of data
|
# ? Apr 1, 2015 21:50 |
|
Notorious b.s.d. posted:postgres is a perfectly competent document database on its own (hstore, json) oh yeah, i forgot about the json data type there's no good reason to switch to mongo at all
|
# ? Apr 1, 2015 21:55 |
|
gonadic io posted:my nigga have you tried hoogle?? Why on earth didn't you choose the vastly superior username "gonadic j/o"?
|
# ? Apr 1, 2015 22:16 |
|
giogadi posted:Why on earth didn't you choose the vastly superior username "gonadic j/o"? drat ur right. maybe next time
|
# ? Apr 1, 2015 22:21 |
|
Share Bear posted:why would you use mongo when you could use ANY loving SQL THING EVER mongodb is actually good i went from SQL to mongo and there is basically nothing to learn you just make javascript objects but now they have a .save() function making a "schema" is as easy as making a javascript object, no signing in to phpmyadmin or SQL tools and making new DBs and tables and poo poo (or via command line if you're that cool) i just learned about sub-documents which replace the need for many-to-many databases in many cases and are really easy to use as far as usability and speed it seems amazing. the only complaint i've heard is people lost data due to bugs a couple years ago (well, more than once).
|
# ? Apr 1, 2015 22:30 |
|
gonadic io posted:my nigga have you tried hoogle?? hoogle is neat but it doesnt solve haskell being a giant mess of unreadable operators
|
# ? Apr 1, 2015 22:32 |
|
ive to import a customers mongdob data into a sql db once a month. what's the best way of doing this without killing myself. would killing myself be preferable. what is the recommended way of killing oneself.
|
# ? Apr 1, 2015 22:35 |
|
mongodb is actually good if all you know or care about is the application layer doubly so if you get to throw your feces over the wall to operations
|
# ? Apr 1, 2015 22:36 |
|
|
# ? May 25, 2024 14:18 |
|
BLT Clobbers posted:ive to import a customers mongdob data into a sql db once a month. what's the best way of doing this without killing myself. would killing myself be preferable. what is the recommended way of killing oneself. why do you have to do that Bhodi posted:mongodb is actually good if all you know or care about is the application layer just put it in the
|
# ? Apr 1, 2015 22:47 |