Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Fiedler
Jun 29, 2002

I, for one, welcome our new mouse overlords.

ratbert90 posted:

I’ve maintained a “PostgreSQL and SQLite are good for 99% of all projects, and for very different reasons” for quite a while, and haven’t found a situation yet where this hasn’t held up as true.

for large enterprises the savings in productivity are worth the cash.

Adbot
ADBOT LOVES YOU

champagne posting
Apr 5, 2006

YOU ARE A BRAIN
IN A BUNKER

Fiedler posted:

for large enterprises the savings in productivity are worth the cash.

where in azure sql server are these productivity savings kept?

champagne posting
Apr 5, 2006

YOU ARE A BRAIN
IN A BUNKER

Vanadium posted:

How do people verify the signatures of npm packages? Do you keep a local database of which author/public key you trust to publish each of your dependencies?


jony neuemonic
Nov 13, 2009

Fiedler posted:

for large enterprises the savings in productivity are worth the cash.

postgres is good, mssql has better tools. both are fine choices.

jony neuemonic
Nov 13, 2009

just never oracle.

Shy
Mar 20, 2010

was there ever an effort post about why oracle sucks?

Shy
Mar 20, 2010

besides costing a billion dollars

Vanadium
Jan 8, 2005

I'm serious, I have no idea how security-conscious people consume packages other than pinning known-good hashes for individual deps or w/e. :(

cinci zoo sniper
Mar 15, 2013




Shy posted:

besides costing a billion dollars

that’s the key problem though. theoretically you can do anything with oracle, and well - you just need to make theoretical amounts of money to afford that

jony neuemonic
Nov 13, 2009

Shy posted:

besides costing a billion dollars

someone with deeper knowledge will have to do the effortpost but imo it’s mostly this. it costs a fortune and doesn’t do much to justify it.

Sapozhnik
Jan 2, 2005

Nap Ghost
also everything is just a terrible unnecessary ordeal with Oracle, like you don't just connect to a (hostname, database, username, password) you've got all this TNS poo poo to deal with. i think the actual sql parser and compiler lives in the client as well, maybe? so that makes language bindings "fun"

first party tools are some 1970s command line SQL client thing so you have to use some enterprise shitware like TOAD for interactive queries

Fiedler
Jun 29, 2002

I, for one, welcome our new mouse overlords.

Boiled Water posted:

where in azure sql server are these productivity savings kept?

tools. breadth of features. query optimizer.

Athas
Aug 6, 2007

fuck that joker

Vanadium posted:

I'm serious, I have no idea how security-conscious people consume packages other than pinning known-good hashes for individual deps or w/e. :(

This is what you should do. What's the problem with this?

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Vanadium posted:

I'm serious, I have no idea how security-conscious people consume packages other than pinning known-good hashes for individual deps or w/e. :(

why would you perform a security audit on a proof of concept? you're not deploying node to production are you?

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

Vanadium posted:

I'm serious, I have no idea how security-conscious people consume packages other than pinning known-good hashes for individual deps or w/e. :(

host known-good versions on an on-prem artifactory instance and have builds consume those

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
i feel like hash pinning is probably the right solution but with the number of deps npm libraries pull in it seems untenable to me. but i could be wrong.

Notorious b.s.d.
Jan 25, 2003

by Reene

abigserve posted:

what's with every Java application ever written feeling like absolute hot trash to use

even extremely widely used things like Jenkins just have this feel about it like any wrong click is going to send the whole thing into a death spiral, and, sometimes, it does

what's up with that?

it's a gigantic tower of plugins written by 300 authors around an api meant for a single user

Notorious b.s.d.
Jan 25, 2003

by Reene

Fiedler posted:

tools. breadth of features. query optimizer.

i think you would be surprised at how good postgres is these days

Notorious b.s.d.
Jan 25, 2003

by Reene
ms sql is good i just don't see why i would want to pay for it in the year 2018 when postgres isn't terrible anymore

MrMoo
Sep 14, 2000

Are there Postgres equivalents for MemSQL and TokuDB? They are amazing when you fit the requirements.

Notorious b.s.d.
Jan 25, 2003

by Reene

MrMoo posted:

Are there Postgres equivalents for MemSQL and TokuDB? They are amazing when you fit the requirements.

postgres is primarily built out of plugins so someone will sell you a plugin for literally anything dude

(that said i am pretty sure the base postgres is faster AND higher conformance to standards than tokudb anyway)

Fiedler
Jun 29, 2002

I, for one, welcome our new mouse overlords.

Notorious b.s.d. posted:

ms sql is good i just don't see why i would want to pay for it in the year 2018 when postgres isn't terrible anymore

i'm not saying that postgres is terrible. I'm saying that enterprises get value from the productivity gains of using better tools, having features they need built in, and having a very forgiving query optimizer. it turns out that developers are very expensive and paying them to waste time can be even more expensive than a sql server license.

but i'm curious - have you used mssql and its tools? sql server database projects?

Shaggar
Apr 26, 2006
SQL Server comes with a lot of really good add ons too like SSIS and SSRS that are part of the base license.

bob dobbs is dead
Oct 8, 2017

I love peeps
Nap Ghost
cto at my company is ex-microsoft
two of the top devs used to work directly on sql server itself, also ex-microsofties
we just did a mass hire of 4 dudes direct from a failing startup, all ex-microsoft except one

we use postgres, lol

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Shaggar posted:

you still don't understand. he didn't get his key pwned he got his npm creds pwned because npm is an untrustworthy host that doesn't enforce mfa. package signing would have protected everyone from this attack since his key was never stolen.

I understand package signing just fine, but people seem to call for it to exist when it would solve very few problems. Debian package signing is a joke.

There are multiple authors that can publish the estest package. How should they manage this?

1. Each maintainer has their own privkey, and the user is supposed to add all of the authors to their system. If so, how are new keys communicated officially if a new maintainer joins?

2. There's a single privkey, and it's shared between all the maintainers on their local hard drives.

3. Set up a shared build infrastructure with a private key stored on the server, and build a system so that only maintainers can publish a release? If so, how do users authenticate with a server? Username/password?

What happens when a key is compromised? Key revocation?

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Vanadium posted:

I'm serious, I have no idea how security-conscious people consume packages other than pinning known-good hashes for individual deps or w/e. :(

People are laughing because key management is the unsolved problem and what happens in practice is that everyone presses "yes" to the prompt and installs the malware anyway. Debian solves this problem by having shared infrastructure that anybody can use to sign the malware with its key.

Fiedler
Jun 29, 2002

I, for one, welcome our new mouse overlords.

bob dobbs is dead posted:

cto at my company is ex-microsoft
two of the top devs used to work directly on sql server itself, also ex-microsofties
we just did a mass hire of 4 dudes direct from a failing startup, all ex-microsoft except one

we use postgres, lol

oh they worked on sql server? then odds are very good that they have zero experience using an rdbms in the real world and probably couldn't tell you how to run visual studio.

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



Suspicious Dish posted:

People are laughing because key management is the unsolved problem and what happens in practice is that everyone presses "yes" to the prompt and installs the malware anyway. Debian solves this problem by having shared infrastructure that anybody can use to sign the malware with its key.

gatekeeper works pretty well

i mean, unsigned apps are rare enough that the prompt makes me go "hmmm" before clicking "yes run it idgaf"

Soricidus
Oct 21, 2010
freedom-hating statist shill

abigserve posted:

what's with every Java application ever written feeling like absolute hot trash to use

even extremely widely used things like Jenkins just have this feel about it like any wrong click is going to send the whole thing into a death spiral, and, sometimes, it does

what's up with that?

idk what you’re talking about tbqh. I’ve not used the Jenkins gui but there are plenty of java apps that run perfectly well, like jetbrains ides (or eclipse, if you’re a shaggarite)

prisoner of waffles
May 8, 2007

Ah! well a-day! what evil looks
Had I from old and young!
Instead of the cross, the fishmech
About my neck was hung.
re: java-looking stuff and apprehensions of badness, hm, I think good-looking applications tend to be like the opposite of brutalist architecture: if at first glance you can tell what it is made out of, that's a negative quality signal.

I literally have poo poo-talked jenkins' gui for basically this reason, though it's less because it looks java-y and more because several views look like random HTML fragments thrown together

HoboMan
Nov 4, 2010


from a ways back, but i'm the constant stream of people leaving

Athas
Aug 6, 2007

fuck that joker

MALE SHOEGAZE posted:

i feel like hash pinning is probably the right solution but with the number of deps npm libraries pull in it seems untenable to me. but i could be wrong.

If your tools make it impractical to do a reasonable thing, then it is not the reasonable thing that is wrong.

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

a lot of java software has some trash ui thrown together in swing since it's one of the easiest ways to throw up a quick cross platform ui if you don't care about look and feel

like all software, quality takes effort

Notorious b.s.d.
Jan 25, 2003

by Reene

Fiedler posted:

i'm not saying that postgres is terrible. I'm saying that enterprises get value from the productivity gains of using better tools, having features they need built in, and having a very forgiving query optimizer. it turns out that developers are very expensive and paying them to waste time can be even more expensive than a sql server license.

yeah and like ten years ago that would have actually mattered, and paid for sql server. today postgres actually has a great query optimizer, and a huge ecosystem of tools

microsoft isn't porting sql server to linux and cutting prices out of the goodness of their hearts

Fiedler posted:

but i'm curious - have you used mssql and its tools? sql server database projects?

i haven't worked with ms sql in five years -- two jobs ago

it was p. dang nice

maybe not hundreds of thousands of dollars per year nice, but i have nothing bad to say about it

Notorious b.s.d.
Jan 25, 2003

by Reene

prisoner of waffles posted:

I literally have poo poo-talked jenkins' gui for basically this reason, though it's less because it looks java-y and more because several views look like random HTML fragments thrown together

of course, it is exactly this

rjmccall
Sep 7, 2007

no worries friend
Fun Shoe

Fiedler posted:

i'm not saying that postgres is terrible. I'm saying that enterprises get value from the productivity gains of using better tools, having features they need built in, and having a very forgiving query optimizer. it turns out that developers are very expensive and paying them to waste time can be even more expensive than a sql server license.

so this is interesting. the number of developers who as part of their jobs write queries against a database roughly scales with its importance which in turn roughly scales with its size and query volume and thus the number of cores that need to be devoted to it. the exact ratios are going to vary wildly but let's be really conservative and assume that it's as low as two cores per developer. so at standard ms sql licensing rates that's about $30k, per developer per year, that has to be saved in developer productivity solely by using ms sql over postgres. so somewhere around 10% of a programmer's total work time for the year, when most of those programmers probably spend no more than 20% of their total work time writing database code at all. (a full-time database specialist is definitely contributing way more than two cores of workload to this database)

like, your phrasing here is illuminating, because it's very much the same line of thought that leads rich people to spend hundreds of thousands of dollars in wealth-management fees in order to get marginally better returns than a vanguard index fund. "i'm important enough to justify spending more money on this, so let's spend more money"

tef
May 30, 2004

-> some l-system crap ->

Fiedler posted:

tools. breadth of features. query optimizer.

postgres 10 is almost as good as sqlserver was in uh 2004, if not better in some places, but like since then mssql has gone on to do a lot more performance work, amongst other things

like if you're using an ORM, or you're using it as a fancy object store, then it doesn't much make much of a difference

but if you're doing DBA poo poo with a team of DBAs then it'll make a difference

Progressive JPEG
Feb 19, 2003

jenkins has an rpc mechanism where it just serializes a function to be run on the target machine

need to recursively delete a directory? just serialize a recursiveDelete() function and send that to the machine to be executed!

this is also why jvm versions must exactly match across a jenkins install

Volte
Oct 4, 2004

woosh woosh

Suspicious Dish posted:

I understand package signing just fine, but people seem to call for it to exist when it would solve very few problems. Debian package signing is a joke.

There are multiple authors that can publish the estest package. How should they manage this?

1. Each maintainer has their own privkey, and the user is supposed to add all of the authors to their system. If so, how are new keys communicated officially if a new maintainer joins?

2. There's a single privkey, and it's shared between all the maintainers on their local hard drives.

3. Set up a shared build infrastructure with a private key stored on the server, and build a system so that only maintainers can publish a release? If so, how do users authenticate with a server? Username/password?

What happens when a key is compromised? Key revocation?
consider: each maintainer has their own keypair, and the admin can issue 'publishing licenses' to them by signing a document saying as much. conceptually, these could be considered as pseudo-packages in and of themselves, so a package version that has been signed by maintainer A implicitly requires maintainer A's publishing license for that package as a dependency. if the admin wants to revoke maintainer A's publishing ability, then they can publish a revoked version of maintainer A's publishing license. the package manager should no longer accept packages signed by keys that are not licensed to publish, and clients attempting to install packages published without a valid license should be an error. that would even support retroactively revoking publishing access after packages have been published, and those packages would automatically become effectively unsigned.

Adbot
ADBOT LOVES YOU

Fiedler
Jun 29, 2002

I, for one, welcome our new mouse overlords.

rjmccall posted:

so this is interesting. the number of developers who as part of their jobs write queries against a database roughly scales with its importance which in turn roughly scales with its size and query volume and thus the number of cores that need to be devoted to it. the exact ratios are going to vary wildly but let's be really conservative and assume that it's as low as two cores per developer. so at standard ms sql licensing rates that's about $30k, per developer per year, that has to be saved in developer productivity solely by using ms sql over postgres. so somewhere around 10% of a programmer's total work time for the year, when most of those programmers probably spend no more than 20% of their total work time writing database code at all. (a full-time database specialist is definitely contributing way more than two cores of workload to this database)

like, your phrasing here is illuminating, because it's very much the same line of thought that leads rich people to spend hundreds of thousands of dollars in wealth-management fees in order to get marginally better returns than a vanguard index fund. "i'm important enough to justify spending more money on this, so let's spend more money"

1) nobody pays retail for anything and the standard sku in ms sql 2017 has nearly all of the previously enterprise-only features
2) you're excluding the cost of third party functionality to replace missing features
3) you're excluding the cost of avoidable oopsies due to increased complexity

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply