|
compuserved posted:SQL is cool and good this is not a desirable feature
|
# ? Jun 18, 2016 23:22 |
|
|
# ? May 22, 2024 17:42 |
|
MononcQc posted:Options/configs for something. Imagine that instead of going with binary flags you can pass in [read, write, {encoding, "utf-8"}, {buffer, Size::Int, Delay::Int}] as a list of config options. Makes for readable stuff. A couple pages late, but you can do this in Haskell with GADTs. code:
If you really want to be able to specify names at run-time, I think there are ways to do that as well, using open coproducts, but that's a type of magic even I don't understand yet.
|
# ? Jun 19, 2016 05:12 |
|
Bloody posted:this is not a desirable feature you say that now, but in two week you suddenly get a feature request where you must get the value of a coordinate in the mandelbrot set from the database
|
# ? Jun 19, 2016 06:20 |
|
Cybernetic Vermin posted:sql is poo poo and old-school databases are poo poo but databases in general and query languages with some sound logical basis are good fun to work with yeah its fun to gently caress around and be like "gimme the top 5 idiots who bought our worst product" or some poo poo
|
# ? Jun 19, 2016 16:27 |
|
I just learned today that Nim ignores n-dash characters in identifiers too. Which is doubleplusbad because it's the m-dash that should be used without spaces.
|
# ? Jun 19, 2016 21:00 |
|
Bloody posted:i dont doubt that postgres contains chronic traumatic encephalopathy
|
# ? Jun 20, 2016 13:46 |
|
Zemyla posted:A couple pages late, but you can do this in Haskell with GADTs.
|
# ? Jun 20, 2016 21:32 |
|
Kopros is Greek you pleb
|
# ? Jun 21, 2016 01:47 |
|
rjmccall posted:hipster database programming is just doing manual joins in ruby on a non-performant object store with no transactional guarantees same
|
# ? Jun 21, 2016 03:54 |
|
suffix posted:is there a hipster relational query language that is like sql but good? no, because what plain SQL is good for is for interoperability, or "please dear god i don't want to write any more analytics or reporting by hand, from scratch" quote:i've been hitting cases of things that should be easy but turns out to require bolt-on-feature x that is only supported in some random 25% of sql servers they did, postgres, and then they dropped quel and added sql to get postgresql
|
# ? Jun 21, 2016 03:57 |
|
what does postgres even mean
|
# ? Jun 21, 2016 14:32 |
|
post-ingres there is little reason to remember ingres since it is like postgres except even worse
|
# ? Jun 21, 2016 15:48 |
|
postgres is fine
|
# ? Jun 21, 2016 16:04 |
|
it refers to life after taking the GREs
|
# ? Jun 21, 2016 20:27 |
Bloody posted:it refers to life after taking the GREs Oh god is postgres like grad school?
|
|
# ? Jun 21, 2016 21:32 |
|
so mongo is a postged db?
|
# ? Jun 22, 2016 01:50 |
|
postgood maybe
|
# ? Jun 22, 2016 02:00 |
|
VikingofRock posted:Oh god is postgres like grad school? they own wired tiger now so they bought themselves some "credibility" misquote this was for mongo Sweeper fucked around with this message at 06:11 on Jun 22, 2016 |
# ? Jun 22, 2016 05:49 |
|
are we talking about postgres? it's good. pretty good, even.
|
# ? Jun 22, 2016 05:54 |
|
postgres may be the least bad piece of software to ever exist its still bad
|
# ? Jun 22, 2016 06:01 |
|
i mean its execution engine isn't as good as Oracle's but if you get to the point where you need a single monster database server for your business then you should maybe think about scaling out instead if possible idk i'd put up with a whole bunch of bullshit just to make sure i do not become yet another one of larry's multitudinous bitches
|
# ? Jun 22, 2016 06:15 |
|
jony neuemonic posted:are we talking about postgres? isn't pretty good < good?
|
# ? Jun 22, 2016 06:23 |
|
Wheany posted:isn't pretty good < good?
|
# ? Jun 22, 2016 07:34 |
|
mystes posted:I think they're actually equal in JavaScript.
|
# ? Jun 22, 2016 07:52 |
|
Breakfast All Day posted:postgres may be the least bad piece of software to ever exist postgres 8 was awful postgres 9 is better postgres shows that after what 30-40 years you can get there pandoc, sqlite otoh, miracles
|
# ? Jun 22, 2016 13:21 |
|
|
# ? Jun 22, 2016 14:09 |
|
wat
|
# ? Jun 22, 2016 14:16 |
|
mystes posted:I think they're actually equal in JavaScript.
|
# ? Jun 22, 2016 14:31 |
|
|
# ? Jun 22, 2016 14:32 |
|
duh, typeof null isn't undefined the first 4099 times you test for it. after that it is.
|
# ? Jun 22, 2016 14:35 |
|
is that like, deterministic on your machine, flipping at the same number of iterations? lol if it is, double lol if it happens on other machines exactly the same too.
|
# ? Jun 22, 2016 14:46 |
|
lol on this machine it goescode:
if you remove the "let", its 10000 false every time.
|
# ? Jun 22, 2016 14:53 |
|
the gently caress is even happening with that
|
# ? Jun 22, 2016 14:54 |
|
4917 - false 5083 - true on my mba lol
|
# ? Jun 22, 2016 14:55 |
|
is the let syntax valid? safari wouldn't take it
|
# ? Jun 22, 2016 14:55 |
|
wtf
|
# ? Jun 22, 2016 14:57 |
|
you know when people say that JavaScript is getting better all the time, what they're actually saying is the transpilers are. implementations of JavaScript aren't moving that fast at all. what in gods name is that let declaration doing to the scope of those brackets to bring that out of the VM?
|
# ? Jun 22, 2016 14:59 |
|
i'd assume it is an optimizer bug and the optimizer doesn't get triggered until the code has run ~5000 times
|
# ? Jun 22, 2016 15:34 |
|
it's a v8 JIT bug in Chrome, there's a V8 bugfix (https://github.com/v8/v8/commit/7dfb5beeec8821521beeb2b8eac36707a663064c) and it's fixed in Canary, dunno if they'll patch stable/beta channel or what
|
# ? Jun 22, 2016 18:51 |
|
|
# ? May 22, 2024 17:42 |
|
mystes posted:I think they're actually equal in JavaScript.
|
# ? Jun 22, 2016 19:15 |