« first day (3068 days earlier)      last day (1872 days later) » 

12:00 AM
Using TSO is like kicking a dead whale down the beach. -- S.C. Johnson (source)
 
Which TSO?
General Tso?
 
12:36 AM
morn
 
morn
 
1:22 AM
ohai
 
 
2 hours later…
3:47 AM
ho
 
4:15 AM
I have a scenario where I want to avoid nested for loops for obvious performance improvement. I am implementing a GET API, which send a bean called "Year Register". I have a list of "Students" inside it. The "Year Register" also has a variable called "year". Now I want to fetch the students for each "year" without using a nested loop. I imagine the solution to this would be to map the year to the "List of Students" and then process the students later using Futures.

I wanted to know if there was a better way to achieve this
 
 
3 hours later…
7:26 AM
Which is better for a java interface? 1. single method with enum input 2. multiple methods with no-input
 
 
2 hours later…
9:00 AM
@gaurav hmm, depends
what are you trying to accomplish with these methods?
@DarshitPatel I don't see how you could get a nested loop from this. Worst case scenario is you have to make a pass for every Student and check if its year is the same as the one requested, but that's O(n)
ideally, you would make your database search for it, and year would be under an index
 
9:17 AM
@Neil can you elaborate?
 
@gaurav elaborate on my question on what you're trying to accomplish with these methods?
Or elaborate on "depends"?
 
9:40 AM
@DarshitPatel I recommend using a native database that supports SQL queries (e.g. SQLite)
 
10:38 AM
@Neil The second one. "elaborate on depends"
 
11:22 AM
It's Monday my dudes and dudines
 
BLOODY MONDAY! 🤬
 
@gaurav I was waiting to elaborate, because it depends on how you answer my question
 
11:38 AM
@KarelG considering the shooting... it is a bloody mondae
 
new shootings? or are you talking about that one from last friday?
 
did not check the feeds. Sad.
 
Why would someone hurt dutch people? :o
 
11:41 AM
> The shots fell around 10.45 when the tram was running around 24 October Square in the west of the city. Surrounding schools keep their doors closed by order of the police. Prime Minister Rutte has interrupted the coalition consultation and speaks of "a disturbing situation".
 
It seems like no one died
I bet that guy was like Silver 2 or something
 
one person dedded
 
> Several people were injured in a shooting at 24 Octoberplein in Utrecht. One person may also have died. The police takes a terrorist motive into account. In the province of Utrecht, the threat level has been raised to the highest scale, 5. This lasts until at least 6 p.m.
 
That appears to hold most information (in english)
How did the shooter escape tho?
Your law enforcement sucks @Wietlol
 
11:46 AM
If I managed the law enforcements, they wouldnt suck
 
Why didn't you just run after him?
I mean
You are somewhere in the Netherlands
He was somewhere in the Netherlands
 
because I dont do that stuff
 
should have added an "anymore" for movie purposes
 
do you know how long it takes to run 100 kilometers?
 
for a Wietlol
Probably like 10min
 
11:50 AM
no way
3 tops
 
my top speed is 100km/h
 
hmm
 
a full hour? for shame, man
 
around 2h and 13min then
 
@Neil that is top speed
you cant run top speed for a full hour
am Lion, not robot
 
11:51 AM
It may only be reached once in 15min and lasts for 45 seconds
Yeah but you're green, so more of a nuclear lion
 
keep in mind, I am bigger and faster than most lions
 
6 million dollar man theme song plays
 
but I dont have nuclear powers
 
should have added an "anymore" for movie purposes
 
I dont do movies
I also dont do purposes
apart from survive
 
12:00 PM
The Ritz Carlton of Hong Kong has the world's most expensive High Tea meal, at a price of $8,888 per couple. (source)
 
@OakBot That had better be some fine tea
 
@Neil Type /help to see all my commands.
 
None of that iced tea crap
 
nvm
 
Zoe
12:45 PM
@d0n.key do you even know how far 100 km is?
 
@Zoe do you even know what a Majestic Green Lion is?
 
posted on March 18, 2019

archive - contact - sexy exciting merchandise - search - about ← previousMarch 18th, 2019nextMarch 18th, 2019: DINOSAUR COMICS BOOK ARE ON SUPERSALE! THIS NEVER HAPPENS– Ryan

 
Zoe
@Wietlol do you even know what a brain matrix is? :p
 
do you even know what a thin matrix is?
 
do you even know what a d0n is?
 
1:02 PM
d0n is Nothing
 
no u
Then all my names would be NullPointers lol
// NothingPointers
 
1:22 PM
if, at any point in time, you think you have a d0n, you have reached an unreachable universe
that is what Nothing means
 
1:36 PM
quantum sort: shuffle array. Check if array is sorted. If not, destroy universe and try again in another universe.
 
what is the most used language in programming?
 
English I guess
Or Hindi, depending on what you mean by "in programming"
Probably still English tho
 
1:51 PM
profanity
 
^
To quote, Korbin Dallas: Listen lady, I only speak two languages: English and bad English.
 
2:15 PM
Henlo my people
Can someone motivate me to do important stuff please?
 
geister, do enjoy Wietlol with some pleasure. You will understand that such non-important tasks does not matter....
 
Excuse me wat?!
 
@geisterfurz007 I'm as motivated to motivate you to do important stuff as you are to do important stuff
 
Reasonable.
 
@KarelG wot?
@geisterfurz007 you can do it!
 
2:21 PM
I don't wanna ._.
 
#define it brexit
 
Definition found: Don't look at the edit history.
 
@geisterfurz007 write an application that visualizes pi calculation using collision of frictionless objects
that is super important
 
pffft
 
write one with 100% accuracy
then make it run for Long.MAX_VALUE digits
wait for the end of the universe
then post the result online
the universe (or rather, whats left of it) will thank you
 
2:29 PM
Okay done
3
 
what is done?
are you done?
will you leave now?
:p
 
y u so rude :'c
 
cuz i iz bish
> 1 Days until Java 12
- http://www.java-countdown.xyz/
someone should fix dat
@KarelG did you see my version?
 
version of ... ?
 
2:44 PM
pi calculation
18 hours ago, by Wietlol
on a side note.... I made something cool
it calculates pi based on mass and physics
in a perfect simulation
(I already made a better version tho, with more information about what is actually going on)
 
I read somewhere that PI being 3.14159... is a constant of the universe
so this universe isn't special, it just happens to have 3.14159 as the value for PI
in some other universe, PI is 5.6143
if that's not mindblowing, I don't know what is
 
I calculated pi by simulating our universe, so I would get 3.14159...
it also showed me the simplicity of kotlin vs JS
keeping in mind, I built this in 2 hours
while I did a contest a few days ago, where I took 1 hour to make a clock in js (not an actual clock, just a span that shows the current time)
 
so we're in your running simulation?
ffs, I bet you used interfaces, didn't you?
that explains a lot
 
ackchually... no
also... I only had 2 classes... one of them was "Program"
Program shouldnt even have been a class in there
 
ah I see.. you know god classes are an anti-pattern, right?
 
2:52 PM
as I said, it shouldnt even have been a class
maybe it should, but then I need to rethink the abstraction layer
keeping in mind, I had to think of a physics engine on the go
 
black holes.. really?
you divide by zero?
 
not 0
but infinity was one part of it
I needed elastic collision
with infinite mass
 
well you got sloppy. it's sucking in everything.. the program's gonna crash at this rate
 
it doesnt crash actually
but it does require exponential amount of computation time based on the precision you want
the growth of operations is O(10^n)
where n is the digits of pi you want
so n = 3
pi = 3.14
operations = 315
 
i think there exists an algorithm which can calculate n to m digits of pi
you could conceivably create a random number generator with seed n
and simply use that algorithm to generate random digits which don't repeat
 
2:59 PM
but this algorithm is using physics ;)
 
pff, overrated
scrap the universe and begin anew
 
I would gladly do that
funny thing tho... it uses elastic collision, but in that physics engine, objects never "collide"
object never "colliding" was a core requirement to be able to create the simulation
I can run it for 10 digits, but it would take about 3 minutes before it ends
everyone else I have seen doing it used a massively less accurate system tho
 
@Wietlol that sentence itself ...
when a pc is "doing physics", it is mere a simulation of physics itself
 
:)
but it is a better simulation than every single game engine out there
 
@KarelG and pondering the universe is really just the universe pondering itself
 
3:17 PM
one day, I will make my own universe, but it is not this day
this day, I sleep
 
Isn't that your own universe?
Dreams?
atleast lucid dreams
 
if dreams were my universe, I would sleep all time
 
I find it interesting that you can't prove that anyone else exists
it's an old argument, but nobody has been able to prove it
I think it's been proven that it is unprovable
 
@Neil fermi paradox?
 
@KarelG no, more basic than this
I mean, you cannot prove that you're living a dream, and that everything that you see, hear, taste, touch, etc. isn't simply in your head
 
3:26 PM
Matrix confirmed
 
at least in the matrix, everyone was real, even if the world wasn't
 
@Wietlol Or just thoughts in general - you can daydream all time.
I daydream pretty much all the time - I guess everyone does a little bit
 
I am too rational for that
 
 
1 hour later…
4:54 PM
 
 
4 hours later…
8:45 PM
posted on March 18, 2019 by CommitStrip

Today we’re welcoming back Oracle, who’re organising their Code Explore conference in Paris! It’s a small (free!) tech conference, open to all, for an afternoon. There’s Kubernetes, bots, serverless and all that, mostly (but not only) focusing on Oracle technologies. It’s the perfect opportunity to get yourself up to date on the latest new technologies, and the venue is really neat (the Livepoi

 

« first day (3068 days earlier)      last day (1872 days later) »