|
cinci zoo sniper posted:we have postgres and mysql (and/or maria) (for legacy projects). ill investigate this then and write jetbrains support i guess if datagrip is misleading me on what i can do in a read-only connection I guess it depends on what your explain is doing actually, normal selects are fine for read only but an explain will get rejected if it includes a "write" level command like insert/update/copy or granting user crap. I would've thought of this sooner but im terrible
|
# ? Oct 12, 2017 02:19 |
|
|
# ? May 14, 2024 07:15 |
|
bob dobbs is dead posted:does it still have the problem where if you go 2 inches out of the happy path everything goes to hell probably not as bad anymore but yeah. my workplace has a website that was started in ember but now it's an enterprisey spa thats supposed to support multiple different products w/ their own feature sets. thankfully i dont touch front end but the majority of our dev time is spent there because of the hacky rear end poo poo required to make everything work and work well. only use ember if you can fit your backend to it imo
|
# ? Oct 12, 2017 02:32 |
|
the thing I hate the most about c and its offspring is the soup of______ident__someotherthing___ Foo
|
# ? Oct 12, 2017 03:26 |
|
aaaaaaa i got it working i can write a pointer to an amiga-style linked list to the jaguar GPU and it will process each node and blit a sprite, so far it can do 60 8bpp sprites at 60fps no problem
|
# ? Oct 12, 2017 03:32 |
Master Stur posted:I guess it depends on what your explain is doing actually, normal selects are fine for read only but an explain will get rejected if it includes a "write" level command like insert/update/copy or granting user crap. I would've thought of this sooner but im terrible explain select
|
|
# ? Oct 12, 2017 03:59 |
|
jony neuemonic posted:long as we're dorking out on c++ what are people's thoughts on vcpkg? i set it up last night to grab sdl and catch, seems to do what it says on the tin well enough. It has some nice features (ie you can install different version of libs at the same time), but since it is Windows only... Also asking for older version of dependencies is kinda awkward. e: Dat new stupid newbie avatar
|
# ? Oct 12, 2017 05:50 |
|
i really kinda don't like Elixir. I wish I'd started on Erlang; I only chose elixir because I wanted a more batteries-included web framework like Phoenix to work with for this project.
|
# ? Oct 12, 2017 05:57 |
I just didcode:
edit: git reflog --all to the rescue! I found the commit I wanted, then did a git reset --hard <id> and it worked. So, nevermind I guess VikingofRock fucked around with this message at 07:36 on Oct 12, 2017 |
|
# ? Oct 12, 2017 07:32 |
|
akadajet posted:it's 2017, why are you using knockoutjs? bad reasons knockout was the closest thing to an ms-approved front end thing in like 2013 or 2014. our cto is very very reluctant to use pretty much anything from the outside world, and we have to get every single external dependency (loving everything - software, libraries, tools, web apps) personally approved by him. he chose knockout as the thing to use for a rewrite of a major component because of ms' implicit blessing so we picked the only front end thing available to us gently caress front end
|
# ? Oct 12, 2017 07:45 |
|
because no one here can write software (myself obviously included), our front end things have turned into awful, unfriendly, unmaintainable wastes of time and goodwill
|
# ? Oct 12, 2017 07:48 |
|
LinYutang posted:413: Butt too large that isn't a real error message
|
# ? Oct 12, 2017 07:54 |
|
quiggy posted:i get that it's valid c but it's loving obnoxious that g++ won't even throw a warning for that one. i had a construct like this: just use std::string string str; for( auto c : str ) {}
|
# ? Oct 12, 2017 08:42 |
|
MononcQc posted:I don't want any idiot to be bringing back the equivalent of java applets either well yeah, comment forms and presenting visitor comments with practically the same importance as the site's own content is cancer. it's not such a big problem on joe schmoe's cooking and car tuning blog, but it is when major news sites let nazis post their vile garbage with little or no moderation next to their news due to "free speech" (actually because hateful messages make people angry and angry people will poste their own angry reactions and later return to the site to read reactions to their own sick burns and returning visits mean more ad impressions! capitalism ftw)
|
# ? Oct 12, 2017 08:53 |
|
ctps: im looking at a 4000 line Java file i did not write this and im tempted to just delete this entire repo from our local git
|
# ? Oct 12, 2017 11:58 |
AggressivelyStupid posted:ctps: im looking at a 4000 line Java file i can send you a substitute, 4000 line sql file with line width exceeding monitor
|
|
# ? Oct 12, 2017 12:27 |
well i can't tbf but you get jt
|
|
# ? Oct 12, 2017 12:27 |
|
update: i have found a 3000 line file that is essentially just logging
|
# ? Oct 12, 2017 12:41 |
|
AggressivelyStupid posted:update: i have found a 3000 line file that is essentially just logging primo un/post combo
|
# ? Oct 12, 2017 12:56 |
|
quiggy posted:i get that it's valid c but it's loving obnoxious that g++ won't even throw a warning for that one. i had a construct like this: why would you not do: code:
|
# ? Oct 12, 2017 13:31 |
|
fritz posted:why would you not do: iterating the string twice? gross
|
# ? Oct 12, 2017 13:37 |
|
Glorgnole posted:i am once again rebuilding opencv from source because i forgot to include the path to the 3rd-party modules last time 2 months ago, whoops! opencv's surprisingly got a not-horrible build process (at work our setup means that we rebuild our third party dependencies all the loving time, opencv's one of them, this has been bad enough but now we're supposed to bring tensorflow into that process and oh god that's gonna suck)
|
# ? Oct 12, 2017 13:38 |
|
hackbunny posted:iterating the string twice? gross the library call can be vectorized
|
# ? Oct 12, 2017 13:41 |
|
redleader posted:bad reasons jesus christ try to find a better job
|
# ? Oct 12, 2017 14:51 |
|
man, imagine having shaggar as your cto
|
# ? Oct 12, 2017 14:58 |
|
you'd have the best technology and nobody would have to write javascript
|
# ? Oct 12, 2017 14:59 |
what's the good, the bad, and the ugly about microsoft sql server 2016/2017? wouldn't mind a brief rundown, or a link to a decent one. of a specific interest, i guess, t-sql if there is something special about it (compared to postgre or mysql), and all the analytical bells and whistles - siss, sass, whatever the gently caress is olap cube, r and python integration through procedures, interoperability of sql server with various visualisation poo poo/external data sources also a few words about mdx, linq, and other like 6 query languages in it would be nice too. basically, one of the two db-related devs at my job has completed his project and is now proposing mssql for centralised data store. while it deffo will do the trick for a while for us, in terms of amounts and capabilities, msdn is too nice looking and too verbose to find all the rocks worth stubbing toes again
|
|
# ? Oct 12, 2017 15:04 |
akadajet posted:man, imagine having shaggar as your cto i wouldn't mind tbf as long as we can avoid talking about public transportation at work
|
|
# ? Oct 12, 2017 15:04 |
|
Zlodo posted:just use std::string i work in a c++03 hellworld, we don't have your fancy for-each loops (or auto, for that matter) fritz posted:why would you not do: i could do this in theory, but i need this to be as fast and lightweight as possible so i don't want to double-iterate the string if possible. also just as personal preference i usually try to avoid the default c-string manipulation methods because they're all full of demons and poo poo that i don't understand that will explode if i'm not careful
|
# ? Oct 12, 2017 15:14 |
|
once your company gets to the point where it can afford to buy software, SQL Server is probably the first purchase you should make if data is important to your business. the db is the best, the tools are the best, and the addons like SSIS and SSRS that come with it are so good (esp SSIS). The only downside to sql server I can think of compared to MySQL/PostgreSQL is that sql server licensing can be confusing and it costs money. The one gotcha I can think of is that sql server has pretty sane defaults, except for its default memory limit. By default its set unlimited so sql server can and will starve your os and other applications of resources if you let it. Plan your resource sizing appropriately and set memory limits for your sql instances relative to available resources.
|
# ? Oct 12, 2017 15:18 |
|
Shaggar posted:once your company gets to the point where it can afford to buy software, SQL Server is probably the first purchase you should make if data is important to your business. sql server is the largest operating expense at my job and they are always trying to figure out how to bring that cost down lol
|
# ? Oct 12, 2017 15:23 |
|
good tools cost money and management trying to take them away is a good sign that your company is bad.
|
# ? Oct 12, 2017 15:26 |
On the other hand, trying to use both sql server and postgres at the same company is fuckin awful because of weird default collations and uggggggggh.
|
|
# ? Oct 12, 2017 15:27 |
|
i only do java every couple of years, so i'm out of the loop. what's the current best way to get a unique, sorted list of strings?
|
# ? Oct 12, 2017 15:33 |
that sounds fairly good, i guess? going to read up more on ssrs since that might be something relevant to my duties. that's what im wondering about the most, how relevant are the extra bells and whistles that don't come with postgre silvergoose posted:On the other hand, trying to use both sql server and postgres at the same company is fuckin awful because of weird default collations and uggggggggh. we are going to migrate everything to sql server, i think. either way im neither dev nor ops
|
|
# ? Oct 12, 2017 15:34 |
|
ssrs is poop from a butt
|
# ? Oct 12, 2017 15:46 |
|
prefect posted:i only do java every couple of years, so i'm out of the loop. what's the current best way to get a unique, sorted list of strings? It's probably a tie between adding them all to a TreeSet and using stream().ordered().distinct(), with the latter having a slight edge because you can do other stream stuff in the process.
|
# ? Oct 12, 2017 15:47 |
|
cinci zoo sniper posted:that sounds fairly good, i guess? going to read up more on ssrs since that might be something relevant to my duties. SSIS is very very good. SSRS is serviceable
|
# ? Oct 12, 2017 15:50 |
|
CPColin posted:stream().ordered().distinct() .collect(Collectors.toList())
|
# ? Oct 12, 2017 15:59 |
|
CPColin posted:It's probably a tie between adding them all to a TreeSet and using stream().ordered().distinct(), with the latter having a slight edge because you can do other stream stuff in the process. CRIP EATIN BREAD posted:.collect(Collectors.toList()) thank you both. i will begin cobbling together something to do this
|
# ? Oct 12, 2017 15:59 |
|
|
# ? May 14, 2024 07:15 |
|
cinci zoo sniper posted:what's the good, the bad, and the ugly about microsoft sql server 2016/2017? i was trying to run sharepoint in ~the cloud~ and there's some things you can't do with SQL Server in RDS (roles related: https://forums.aws.amazon.com/thread.jspa?threadID=111780) you have to self host + janitor it if you wanna run sharepoint. mine was a very dumb edge case so this probably isn't at all relevant
|
# ? Oct 12, 2017 16:00 |