« first day (1837 days earlier)      last day (3123 days later) » 

3:00 PM
milliseconds matter
 
Xeo
prolly even nanoseconds
 
Why would using a direct connection to a SQL database be inferior to providing a REST API over it and using the REST API instead?
 
Ell
I need to give vbox more cores
 
user406009
Yes, but there are strategies to ignore garbage collection.
 
user406009
Object pooling, etc, etc.
 
Ell
3:02 PM
@Jefffrey it wouldn't imho
 
user406009
@Jefffrey Usually people use the REST API inside of a place where they can't directly access the database, such as JavaScript.
 
user406009
Also, a REST API allows you to add some security.
 
@Lalaland There are no libraries for making a connection to a database?
@Lalaland How so?
 
user406009
@Jefffrey JavaScript doesn't have TCP sockets. You usually need TCP sockets in order to connect to a database.
 
user406009
@Jefffrey You can verify that a user can only modify their records.
 
3:03 PM
@Lalaland I've read row level security is being added to PostgreSQL
 
user406009
In other words, you can do security on a row by row level, while SQL security is usually restricted to table level.
 
In the meantime you can just provide modifications via procedures with all the security you want
 
Ell
@Columbo I'm going to epic fail at this comp looking at the challenger series :V
 
how to learn c# fast or is there any block programming method — Suyog Patil 11 mins ago
oh boy...
 
troll
 
3:07 PM
@Jefffrey That's extreme pain to maintain
 
@CatPlusPlus How so?
 
You're reimplementing shit that database already provides and you have to keep it in sync with your data model
SQL databases are just not made to be public, don't do that
 
Ell
I thought all SQL stuff should be done with fixed procedures or w/e so that you can't inject into them
@Jefffrey is the database facing the public?
 
It's also a pain to load balance
And throttle
And doesn't scale
Because now your public interface is extremely tied to your data store
Also doesn't leave room for cache
It's a bad idea just don't do it
 
3:09 PM
I see
 
thats when i say there is no elevator to success you have to take the stares :-) — M.kazem Akhgary 11 mins ago
staring intensifies
 
user1804599
@Jefffrey SQL is more complex than REST APIs so it'll be more difficult to introduce changes without breaking existing consumers.
 
If you want ready-to-use query language then there's OData or GraphQL
 
@M.kazemAkhgary like how we're staring at him now? yeah I bet he's taking it. — Alex M. 24 secs ago
 
Ell
@Mr.kbok lol
 
user1804599
3:11 PM
@Mr.kbok staring at your boobs
 
@Elyse whose?
 
And yes SQL is poor at versioning
 
user1804599
Vanessa Paradis'
 
@CatPlusPlus PostgREST uses schemas for versioning
 
3:13 PM
@CatPlusPlus GraphQL is pretty neat.
 
PostgREST is garbage that'll never be deployed into production anywhere
 
Would recommend, definitely supersedes REST in rich clients IMO.
 
Why is it garbage?
 
Also Falcor, can't choose which I like better.
 
3:14 PM
You can do dumb CRUD scaffolding in any language and it'll be infinitely more maintainable than whatever uses stored procedures for logic not directly related to data manipulation
JSON assembled in the database? Yeah no thanks
 
user1804599
It's not assembled in the database.
 
user1804599
PostgREST is a separate server.
 
^
 
immature
 
> Serializing JSON responses directly in SQL
 
3:15 PM
@CatPlusPlus Postgre actually has pretty a capable JSON data type, just saying. You can assemble JSON pretty well in Postgre. It's just usually not a great idea.
It usually beats "json" DBs like Mongo in benchmarks :D
 
user1804599
oh ok
 
@BenjaminGruenbaum It's for storing shit
 
The problem is REST itself though, rest is terrible for working against a client in more-than-trivial cases.
 
And also it's jsonb that's good at that
 
Postgre does both.
 
3:17 PM
Stop calling it 'Postgre'
 
Ell
call it Pogs
Pogs is a cool name
 
user1804599
And Pugs is a Perl 6 implementation.
 
Also APIs are rarely just a CRUD over a data store, so you'll need custom logic, and it probably really shouldn't be going into stored procedures
> Being stateless to allow horizontal scaling
lol
 
Scales well with horizontal explosions
 
Infinite scaling on top of a single database
 
3:19 PM
Flies a looong way away
 
Also versioning with schemas implies creating new tables when they need to be updated, so good luck shovelling all that data to and from to keep compatibility
It's just useless
 
@Ell What about it
Doesn't look that bad
Obviously you have to think about it a bit, but it's managable
 
Ell
it's all puzzles n shit
I don't understand some also
like the palindrome one
 
@Borgleader Gave me a mini heart attack, though nubel was getting into C# with a blast
 
Ell
INPUT
baaa
OUTPUT
7
EXPLANATION
The shortest palindrome you can construct from 'baaa' is 'aaabaaa'.
^the shortest palindrome will always be n*2 -1 if n is odd
or n*2 if it's even
wait even just always n*2 - 1
 
user784668
3:24 PM
The shortest palindrome you can construct from 'Ell' is 'Elle'.
 
Ell
Sorry, I missed a key point
you can only prepend characters
Oh actually
 
Reasons to ever construct palindromes:
8
 
You Won't Believe Who Just Joined Lounge<C++>
 
Ell
eeeep -> peeeeep
lol see I'm going to fail this epicly
 
user784668
@CatPlusPlus Dammit I'm mad.
 
3:26 PM
@GregorMcGregor who? who? tell me tell me tell me
 
Ell
max
maxmp
 
user1804599
@CatPlusPlus no, views
 
@Fanael lol
 
@Elyse Maybe
Still mental overhead
 
@Ell the shortest palindrome you can construct from "e" is "e"
the shortest palindrome you can construct from "ee" is "ee"
 
Ell
3:28 PM
3 mins ago, by Ell
lol see I'm going to fail this epicly
 
the shortest palindrome you can construct from sex is sexes
 
the shortest palindrome you can construct from oop is poop
 
And the shortest palindrome you can construct from "I don't give a fuck about palindromes" is kind of longer.
 
the shortest palindrome you can construct from the alphabet is "why the fuck are you constructing palindromes get your ass home and have a beer fuck"
 
Ell
@Mr.kbok or xesex
Well even if I fail epically I still get free food and drink
 
3:30 PM
@Ell that's otherkin mating
 
@Lalaland There's a bunch of reasons. It's significantly more difficult to use a managed language for performance reasons. The bigger problem is actually the OS. Windows doesn't give you as much control over the network stack as Linux does.
 
The shortest poldrayme you can construct from kayak is... oh wait.
 
@Griwes semordnilap tuoba kcuf a evig t'nod I don't give a fuck about palindromes
you're welcome
 
god the xaml designer in VS is the biggest piece of shit ever
 
The shortest palindrome you can construct from penis is yours
 
user406009
3:31 PM
I can see the trivial n^2 brute force.
 
user784668
@Mysticial You know you can run your code in kernel mode on Windows and thus do anything?
 
user406009
Does anyone see a more optimal method?
 
Ell
Linux gives you absolute control over network packets
esp if you use one o'dem fancy things where you can route raw packets manually yourself
 
@Ell Windows also after you wipe it to install Linux
 
@Lalaland more optimal than not giving a shit?
nah
 
3:32 PM
bsd has better raw sockets than linux
 
user784668
@Ell Manually controlling the NIC from userspace is even fancier.
 
Ell
@Lalaland something about checking the number of consecutive distinct characters from the RHS
 
You have raw sockets on Windows too
 
@Fanael Linux you have absolute control since you can modify it. I'm not trying to bash Windows. (I like Windows very much for everything else.) But I've heard that even Kernel mode code has network latencies on the order of microseconds. That's an order of magnitude more than what you can do with a modified Linux kernel.
 
3:32 PM
@CatPlusPlus Yes but not rawer than that
 
If you already go to kernel mode then you can skip the entire TCP/IP stack either way
 
AFAIK there is no kernel bypass on windows?
 
@GregorMcGregor There always is
 
@Mysticial "bash" and "windows" in the same sentence made me lol
 
@SteveWilford MSYS2
 
3:33 PM
I wouldn't pick Windows as a server platform anyway
 
s/as a.*//
 
You don't need Windows for C#
 
user784668
You need glasses for that, not windows.
 
SeeHash
 
Ell
There was something like fast sockets but even fasterer
I forget what it's called
but it was interesting to read about it
 
user1804599
3:35 PM
@wilx don't tell @R.MartinhoFernandes and @BartekBanachewicz
 
user784668
@Ell Userspace NIC driver using vfio or some shit.
 
3 mins ago, by wilx
http://imgur.com/gallery/p28qs
 
user1804599
@Jefffrey REPOST DETECTED
 
Literally half a screen above.
 
I'm dumb
4
 
3:36 PM
Starred for posterity :P
 
I've probably clicked on wilx's link and thought it would be a good link for the Lounge
 
user784668
Self-depreciation is the easiest way to get starred in the Lounge.
 
@Jefffrey it happens
 
@wilx not on motorcycles.
 
@Fanael Exokernels all the way
 
3:38 PM
also not on race tracks.
I'm pretty sure self-driven cars are perfectly fine and safe, but that's also besides some points of driving.
I think Audi nails it when it comes to self-driven cars.
 
I'm worried about internet connected cars
 
Self-drive on boring jams and highways, allow you to take control when driving is fun
 
user1804599
I read "SPEED LIMIT 25" and thought "well that's shitslow" but then realised it's the retarded imperial system.
 
Bit too late for that
 
Ell
@BartekBanachewicz highways are the fun bit of driving
 
user1804599
3:39 PM
Driving is never fun.
 
user1804599
Automate everything.
 
Factorio IRL
 
user1804599
Exactly!
 
@Ell maybe for the first 10 minutes
trails are where it's at
 
user784668
Highways are the best way to fall asleep and die.
 
@Ell They are so boring I almost fell asleep one day
 
@Ell are you allowed to be here during your competition
 
this is the kind of road I'd drive manually
 
no anti-cheating stuff?
 
Ell
@AlexM. sure why not
I won't be ablt to ask about code though
 
3:41 PM
@Ell Unless you're driving through some Canadian hwys I guess.
 
@BartekBanachewicz looks like the transfagarasan in romania
 
Or other flat locations.
 
Ell
balls I think clang may actually not build in time for the competition :V
 
user1804599
@BartekBanachewicz Too dangerous.
 
3:41 PM
lol
 
jesus christ what kind of time are you given to build your program, 10 microseconds?
 
Yes disable autodriving on the more difficult thing good choice
 
user1804599
Disable autodriving, then forget you disabled it.
 
I'm installing the Haskell Platform
 
Ell
@AlexM. I mean, I'm compiling clang itsself
 
3:44 PM
why are you compiling a compiler? :O
can't you download binaries?
 
user1804599
I feel teerrribbblellelelelelelelelelelelelelelelellleleee.
 
~~~Gantoo~~~
 
@Elyse why?
 
@Elyse Eat more hard drugs
 
user1804599
@JohanLarsson lack of botany
 
3:46 PM
not sure what that means
 
Ell
@AlexM. I prefer 2compile
I want latest and gr8est
 
you might not win the competition because of it
 
Ell
@AlexM. I'm not gonna win anyway
I can't even ssh into my compile machine atm
 
@Jefffrey on what?
 
Ell
3:49 PM
though
it looks like to submit online anyway
 
@Elyse Life is too short to not live it dangerously
 
Ell
I have 2 hrs
to sort
 
user1804599
@BartekBanachewicz Life is too short so make sure you get the most out of it by avoiding danger.
 
@Ell Whatever for
 
Ell
3:50 PM
@CatPlusPlus idk man
it's fun
 
user1804599
@Ell quick, sort!
 
@Elyse If you're avoiding danger you're not getting the most of it.
 
Ell
@GregorMcGregor shit that's cool
 
user784668
@BartekBanachewicz [citation needed]
 
gah I need to dig through options because even if I open the xaml file as a normal source code file VS still spawns the shitty designer process and hangs
FUCK YOU MICROSOFT
NOBODY USES VISUAL TOOLS
 
3:52 PM
Visual Poodio
 
user1804599
CHOKING HAZARD
 
nobody I know ever said "you know I'm going to use the designer to edit this meaningful xaml"
 
user1804599
I should get that tattooed on my dick.
 
Designing UIs without visual feedback is painful as fuck
 
@BartekBanachewicz is young and does not have kids. I predict his opinions on this would change if he had kids to love and support.
 
3:53 PM
What
 
user1804599
 
@BartekBanachewicz On my Mac
 
@CatPlusPlus there's snoop for wpf, you can edit properties on the fly and then just apply them
easier than having VS hang on every save for 10 seconds
 
@Jefffrey Don't. Install via brew instead. Or via stack.
 
3:54 PM
@JohanLarsson oh god thank you
 
@wilx I predict yours would change if you hadn't had kids as well. Or if you were a millionaire. Or if the world was flat.
 
@JohanLarsson does it also prevent it from showing up when I'm saving a xaml
 
@Fanael it's an opinion.
 
@AlexM. not sure, I have not seen it wake up yet
 
user1804599
Why you shouldn't get kids: Prophet Bjarne doesn't have kids either.
 
3:55 PM
Bjarnellah Akbar
 
user1804599
(piss be upon him)
 
> Is it ok to talk to be wife before marriage?
guess the website
 
superuser?
 
user1804599
3:57 PM
@GregorMcGregor Islam
 
you win
 
@JohanLarsson if I kill it manually it respawns on every xaml save even if I opened it as source file
what piece of crap this IDE is
 
> Questioning about girl's virginity before marriage?
 
user1804599
> I need a clear answer is v got proposed before marriage can v b chat in phone or can speak each other?? Please answer anybody briefly?
 
@RichardDawkins Dutch court revokes Scientology's tax-exempt status http://bluebelldigital.co.uk/eastgrinsteadonline/2015/10/23/dutch-court-revokes-scientologys-tax-exempt-status/ via @grinsteadonline
 
3:58 PM
> do not show your sexual organs, except for your married partner, and for the slaves which you own
wtf
 
@AlexM. hmm, I have never seen it happen. The extension will probably not solve that issue.
 
I can show my dick to my slaves?!
 
Still nice to have a fast way to kill it
 
@GregorMcGregor my married partner is a sexual organ?
 
user1804599
@wilx now all the other religions.
 
3:58 PM
@GregorMcGregor lol you didn't know that? I do it all the time.
 
@AlexM. I guess yes
 
I'm gonna start my own religion
 
Ell
@wilx why? :O
 
> Islam and Crossdressing
 
@Elyse Wonder what would be classified as a troll question.
 
3:59 PM
@Ell Because it's a scam?
 
> This is a crystal clear evidence that imitating women in anyway (including wearing their clothes) is prohibited even in private and in public as well, and those who do it are cursed by the Prophet PBUH.
ITT elyse is haram
And cursed by the Prophet PBUH
 

« first day (1837 days earlier)      last day (3123 days later) »