|
Bloody posted:use the sqlite.net driver it's first-party and then use sql like an adult yeah thats what i ended up doing last time i tried sqlite + ef.
|
# ? Mar 15, 2016 01:05 |
|
|
# ? May 12, 2024 01:42 |
|
Bloody posted:sql is an actual modern technology; ef is not
|
# ? Mar 15, 2016 01:15 |
|
hey all those bad renderings would be much appreciated in the Post Your Glitches thread https://forums.somethingawful.com/showthread.php?threadid=3611075
|
# ? Mar 15, 2016 01:25 |
|
ok, so if i wanted to try my hand with an orm before i just write my own sql stuff, what's a good one that is popular. im basically doing this github because nothing i code for work can ever be shown to another potential employer (yay closed source) so i want to brush up on some more current skills and also end up with a project i can actually have in a public repo. this particular project is as unrelated to my job as possible so that i have a leg to stand on if they come at me with any of the more draconian clauses w/r/t outside projects in my contract.
|
# ? Mar 15, 2016 01:26 |
|
sql
|
# ? Mar 15, 2016 01:51 |
|
like just get the sqlite database browser and start loving around with a database you will very quickly overcome your fear of sql
|
# ? Mar 15, 2016 01:51 |
|
SQL is a handy skill to have
|
# ? Mar 15, 2016 02:18 |
|
i know enough sql to do what im asking for, dont get me wrong. its just more that this is a fun+learning project so if theres a popular modern orm framework out there i may as well learn it at the same time.
|
# ? Mar 15, 2016 02:37 |
|
there is and it's sql
|
# ? Mar 15, 2016 02:58 |
|
sorry I really like sql is all
|
# ? Mar 15, 2016 02:59 |
|
Bloody posted:sorry I really like sql is all
|
# ? Mar 15, 2016 03:15 |
|
like 90% of the sql i do is simple crud stuff and 90% of the time performance doesn't matter so i'll happily let an orm generate the code for me when i can
|
# ? Mar 15, 2016 03:19 |
|
tbh it sounds like your queries would be pretty simple so just learn u a SQL and make some stored procs or maybe use an ORM
|
# ? Mar 15, 2016 03:21 |
|
uncurable mlady posted:tbh it sounds like your queries would be pretty simple so just learn u a SQL and make some stored procs or maybe use an ORM i will just do stored procs then. the data model is absolutely simple. i guess instead i will learn wpf so i can do some slick ui poo poo. making vb6 activex controls all day makes me feel sad.
|
# ? Mar 15, 2016 03:28 |
|
Do a project where you examine how bad all popular orms are.
|
# ? Mar 15, 2016 03:29 |
|
I've been using dapper on .net. It's not ideal but it's ok. Mybatis + spring mybatis is the best.
|
# ? Mar 15, 2016 03:30 |
|
Shaggar posted:Do a project where you examine how bad all popular orms are. if i examined all the bad software and libraries in the world then i would have to examine 99.9999999999......% of software in the world.
|
# ? Mar 15, 2016 03:34 |
|
i recently saw a bit of the source code to one of our android apps and all the methods seemed to be side effecting calls that dont return a value and after years of doing haskell and elm i was shocked
|
# ? Mar 15, 2016 04:19 |
|
running through ms's wpf tutorial. they have you doing most of the layout via typing in the xaml. its pretty straightforward, but do people usually do it that way, or do they typically use the designer and just drag-n-drop poo poo and make the occasional tweak in the xaml?
|
# ? Mar 15, 2016 05:05 |
|
Shaggar posted:Do a project where you examine how bad all popular orms are. findings: they are very bad.
|
# ? Mar 15, 2016 05:23 |
|
hmm, i need to query the database, so instead of using the sql language that was designed specifically for the purpose, i think i'll make 50 java classes and then eat my own poo poo
|
# ? Mar 15, 2016 05:58 |
|
we're getting to the point in things where we start to need structured logging / data storage beyond 'hey, just dump it all to console' and ive always known i dont really know the first thing about database design, turns out i really dont know the first thing about database design
|
# ? Mar 15, 2016 07:18 |
|
fritz posted:we're getting to the point in things where we start to need structured logging / data storage beyond 'hey, just dump it all to console' and ive always known i dont really know the first thing about database design, turns out i really dont know the first thing about database design use mongodb, it's webscale
|
# ? Mar 15, 2016 07:44 |
|
fart simpson posted:i recently saw a bit of the source code to one of our android apps and all the methods seemed to be side effecting calls that dont return a value and after years of doing haskell and elm i was shocked have you never used a print() function or output data to a file or anything? im learning android rn and yeah it feels kind of weird sometimes like you're passing off all this stuff into the ether and nothing is coming back. but the reality is that it's gone to the parts of the system that you sent it to, and you can check this by using all the getter and query functions that are available.
|
# ? Mar 15, 2016 07:50 |
|
Lutha Mahtin posted:have you never used a print() function or output data to a file or anything?
|
# ? Mar 15, 2016 08:25 |
|
Lutha Mahtin posted:have you never used a print() function or output data to a file or anything? in haskell and elm you push stuff line print() and outputting data to a file to the edges of your program, you dont just do that stuff wherever. every function has a return value and no functions side effect without it being explicitly captured by the type system. so seeing something where any method just outputs stuff or draws to the screen or whatever on its own without having to declare anything or be pushed to well defined points of contact with the outside world seems really haphazard and crazy to me
|
# ? Mar 15, 2016 08:29 |
|
LeftistMuslimObama posted:running through ms's wpf tutorial. they have you doing most of the layout via typing in the xaml. its pretty straightforward, but do people usually do it that way, or do they typically use the designer and just drag-n-drop poo poo and make the occasional tweak in the xaml? I do, I only use the designer to check some layout stuff. I'd quite like to turn off the drag and drop because it's always an accident and it fucks up my beautiful xaml
|
# ? Mar 15, 2016 08:34 |
|
LeftistMuslimObama posted:running through ms's wpf tutorial. they have you doing most of the layout via typing in the xaml. its pretty straightforward, but do people usually do it that way, or do they typically use the designer and just drag-n-drop poo poo and make the occasional tweak in the xaml?
|
# ? Mar 15, 2016 09:12 |
|
I can't use sql, orms have spoiled me. validation hooks and change notifications are the things I miss the most when I'm using bare SQL, and schema migration is a pain
|
# ? Mar 15, 2016 10:54 |
|
you can use tools like liquibase or mybatis to handle your migrations, you don't need a full-on orm for that literally every time i've used an orm it bit me in the rear end at some point... you end up having to redesign your entities to match 1) the database structure and 2) the quirks of the orm, and at that point you're better off just using regular objects and some mapping logic to convert your resultsets back to your po[j|c]os
|
# ? Mar 15, 2016 11:57 |
|
Mybatis is a statement mapper, not an orm. That's why it's good.
|
# ? Mar 15, 2016 13:12 |
|
exactly, so mybatis is good, jdbi's also nice, jooq, querydsl, whatever as long as you stay away from ef or (n)hibernate you're pretty much good to go
|
# ? Mar 15, 2016 13:26 |
|
ef is so bad
|
# ? Mar 15, 2016 13:27 |
|
i have unfucked my dev machine enough that clash-ghc is installing
|
# ? Mar 15, 2016 13:29 |
|
Bloody posted:i have unfucked my dev machine enough that clash-ghc is installing rock that casbah
|
# ? Mar 15, 2016 13:39 |
|
good news: can now poo poo out verilog from a language that doesnt suck bad news: lol wtf is haskell
|
# ? Mar 15, 2016 13:51 |
|
haskell is good
|
# ? Mar 15, 2016 14:04 |
|
haskell is also bad, but its bad in refreshingly different ways
|
# ? Mar 15, 2016 14:05 |
|
fritz posted:we're getting to the point in things where we start to need structured logging / data storage beyond 'hey, just dump it all to console' and ive always known i dont really know the first thing about database design, turns out i really dont know the first thing about database design don't do it in a db dump it to files, use logstash and elasticsearch, and then use logrotate to delete older logs
|
# ? Mar 15, 2016 14:06 |
|
|
# ? May 12, 2024 01:42 |
|
hey speaking of logs i've got an application that generates logs on remote machines that are occasionally not on networks. currently, it just logs to local logfiles. what i would like is that when they aren't on networks, they keep logging to files; when they are on networks, they send their logs to a server of some sort, including any logging that happened when they were offline is this easy
|
# ? Mar 15, 2016 14:08 |