« first day (3190 days earlier)      last day (1765 days later) » 

12:00 AM
To restore a sense of reality, I think Walt Disney should have a Hardluckland. -- Jack Paar (source)
 
 
2 hours later…
1:44 AM
morn!
 
morn
 
@Neil you cheeky basterd!
thank all y'all!
@KarelG still Singapore, but in a startup-ish now
I might have to move to Ho Chi Minh in the future. But I really like the place, so it doesn't bother me at all :)
 
 
3 hours later…
4:53 AM
@Tavo Language
 
basterd is not even a real word
on the other hand, cheeky is
 
5:11 AM
/urban basterd
 
@JennaSloan Basterd: A clever misspelling of the word BASTARD used to ensure your movie title stands out when Googled.
 
🤔
 
see? Even the UD
 
morning
 
Morning.
 
5:20 AM
howdy @geis
 
 
1 hour later…
6:27 AM
@Neil Language
 
back in kindergarten again I see
 
Captain America would be disappointed with both of you.
 
I imagine a society where everyone is kept happy and measures are taken so that they cannot possibly receive information which offends them
what comes to mind is a well-controlled society perfectly endowed to full government control
 
@Neil So... like communism then?
 
ooooh Neil did something
 
6:35 AM
@JennaSloan no, why would this be communism?
More like 1984
governments only torture and kill opponents to the government because they must for full control
ideally, nobody would be opposed to the government because nobody complains
 
like North Korea?
 
everyone would be patriotic and ready to report someone for saying something out of place
@KarelG north korea very much still resorts to killing and torturing its citizens. most citizens don't rebel out of fear
 
but again, that's not an ideal situation for a government to have full control
 
it does not exist, a moment where nobody has critics on what has been decided
 
6:40 AM
Google says 1984 is communist
 
@JennaSloan it is actually Dystopian
someone probably labeled that book (1984) as communistic and it gets picked up and ect ...
 
@JennaSloan have you read the book?
 
@Neil Have you?
 
@JennaSloan Yes, I have. So answer the question then, please?
 
people that has read the book would not say that it is communistic
 
6:43 AM
I don't read books; I write them.
 
the manifesto is more "red" (political left) than communism.
 
ah ok then
 
@JennaSloan Didn't know you had something to say here (:
 
I did not like the approach/insight/deduction that marx has written in the book.
 
The dude that wrote the "1984" book was communist
 
6:46 AM
had often a feeling that he formulated his opinion in an narrow minded view. He was missing some context when judging something
heh did not know that Orwell is a communist
 
so on that logic, if I were capitalist, ever book I write is about capitalism?
 
no but capitalistic
 
would it even be capitalistic?
 
what happens if Neil, as a capitalist, wrote a communistic book?
 
then it would be a book on communism, not capitalism
or both if anything
it isn't defined by my beliefs. A book is about what it is about
I haven't read Marx manifesto, but I'm guessing the oversight was that everyone would want to better the government through hard work with no reward other than the generic "the betterment of your government is reward enough"
it seems to me the biggest failing of communism
 
6:50 AM
I like communism, but not dictatorships, monarchies, or totalitarianism.
 
they - people that believes in communism - underestimates the human's will to distinguish from each other.
that is expressed in a form of status symbol. Like wearing more golden accessories. Or having expensive cars. Or having expensive clothing
ofc you can ensure that no such products exist, that everyone wears clothing of the same quality, have one brand/model of a car
 
@KarelG that doesn't work though
 
but even then people wants to have different colors. Or create clothing at their own, as an expression of creativity
 
aside from the fact that it's impractical, if there is a difference, and one is "better" than the other, you'll always have people who want the better version
 
@Neil see. That is why communism would not work.
 
6:54 AM
it's human nature
The government should step in where the natural growth of economy would cripple the environment or would allow cheating in the system
 
@Neil that is why capitalism works
@Neil that is how capitalism works
 
It's not the best system, but it's still better than most systems
In the same way that as Churchill gracefully said, democracy is the worst form of government except for all the others
communism is an ideology, not a form a government
 
You guys do know China is Communist?
 
@Neil he took it from Plato
@JennaSloan that is what they claim to be.
 
@JennaSloan they're ruled by the ruling party. That's a republic if anything
 
6:59 AM
There's more than one type of communism
 
but of course they can call themselves whatever they wish
 
don't you see that the top members of the communistic party have acquired fortune the past 20 years, thanks to a very good economic growth?
 
@JennaSloan sure, there's the type of communism that isn't communism
that's my favorite kind
 
they are doing exactly as what the 5% rich people in USA is doing
it is a social state. Not communistic. That is something I gladly want to deny.
 
@Neil It's a "collective leadership", not a democracy.
 
7:01 AM
@JennaSloan strawman fallacy
When did I call China's government a democracy?
 
There are still remnants of communistic governorship in NK that leans closely to Marx's principle.
but it also leans to dictatorship
Vietnam claims to be a communistic state as well. Might be. Socialistic is correct, like for Venezuela
 
a collective leadership is a republic at best. If their views differ very little, you've essentially got a dictatorship
 
@Neil That's how republics work, with democracy.
 
@JennaSloan I think you don't have a clear understanding of the difference
until every person in China who can vote, is allowed to vote for their leader, it isn't a true democracy
America isn't a democracy either by that definition, I'll fully admit
 
It's called a "democratic republic" for a reason.
 
7:04 AM
What we have is called a democratic republic
 
That's what I said
 
@JennaSloan China doesn't have a democratic republic, because they cannot choose who leads..
again, a republic at best.. like the senators of Rome
 
/inb4 chinese and fbi agent snooping
 
@Neil They could, but they choose to not choose.
 
but if their very likeminded, you've got a republic acting very much like a dictatorship
@JennaSloan if you truly believe this, then you're a little naive
 
7:06 AM
@Neil Have you ever been to China?
 
@JennaSloan Have you been alive for the past 5 years and had access to internet or a world news source?
Also, pretty sure if I were in China, that wouldn't qualify me to know whether or not you could vote like in a true democracy
 
In China, there is no bad news
 
What determines this is A) everyone can vote B) the votes actually count C) there is more than one party on the ballot and most importantly D) there is not significant fear of voting for the opposing party
Tiananmen Square incident would suggest that China is not yet at the point where opposing the ruling party is allowed if you value your life
@JennaSloan though you tell me. Have you been in China? Is this not the case? Honestly curious
 
@Neil I have not been to China myself, but my dad lived there a while as a study abroad student.
 
what was his experience?
 
7:19 AM
He likes to tell the story about how he ran a bar, selling beers to other abroad students. Every time he went down to the place to purchase more beers and asked the ladies there for beer, they would just start laughing.
He also mentioned that the Chinese students weren't allowed to talk to the abroad students
 
I've read that they do the same in North Korea as well
they aren't allowed to talk to foreigners
at least not the ones who aren't licensed to do so
 
Oh, and every day at the same time in the morning, everybody would wake up and the nation-wide PA system would activate, reporting the news, and have everyone do morning stretches.
Only good news though, like someone's farm exceeded their quota
 
but this was also some time ago I presume
 
Yeah, it was before he met my mom
Which happened before 1994
 
@JennaSloan not sure if that happens today. Maybe in the countryside. but who knows?
 
7:32 AM
China is already somewhat a dystopia
I mean at least in my eyes. If government controls all information allowed to its citizens, then it is the beginning of something I don't want to ever be a part of
 
One time my dad told a story about him and a friend were riding on a train, with a woman and child sitting across from of them, and the woman pulled out an apple, sliced it up, and shared gave some to the child, and handed some to my dad and his friend.
I think that was when he was in Nepal though
 
8:06 AM
morn
 
morn
 
/squirrelfight
 
I don't get it.
 
8:27 AM
@JennaSloan so, that makes the country communistic? I share my chocolate here at work if I want to.
that is just a human behavior - albeit influenced by culture (in this case, Buddhist?) -, that one person wants to share something with others
 
cool story bro
 
@KarelG our* chocolate, comrade.
 
blyat!
 
@KarelG You only share if you want to? How very capitalist of you.
 
@KarelG favoritism!
 
8:35 AM
one for me. one for you, nothing for Neil, one for you...
 
crimes against humanity! ..and me inparticular ._.
 
snatches chocolate
eats it
 
@Hans1984 I don't think that was chocolate...
 
its too late..
it will come out as "chocolate" anyway
if you know what i mean
 
oh no
 
8:47 AM
@JennaSloan reminds me to that scene in Austin Power's movie (I think) The spy who shagged me
 
8:59 AM
I feel like I've joined too late
 
*gives Tavo a club ticket* Welcome!
 
@Tavo where were you!? I needed you like an hour ago!
 
9:16 AM
trying to hire a front end architect
@KarelG I'm joining too many clubs lately...
but fine, as long as there is not a fee
also, can someone put me to sleep? I'm depleted...
 
@Tavo injects you with horse tranquilizer
 
no, I don't need anything to make me sleep. I just need someone to hold my hand, walk me to my bed, make sure I'm comfy and turn the light off
 
@Tavo ( ͡° ͜ʖ ͡°) ?
 
no sexual innuendo. Just sleep
 
"comfy"
😏
 
9:25 AM
I'm dying.
 
@萝莉w Is that good or bad?
 
Of course bad.
When they change their requirement.
As I am busy.
 
Oh, well I'm sorry you're dying.
 
@Tavo mood ._.
 
·¯·poow.
 
9:28 AM
@Tavo Front end architect for what?
 
For front ends.
 
It's my doom.
 
@geisterfurz007 But which front ends?
 
Well, probably not the ones in the back, eh?
 
our front ends. Both website and mobile
we are doing a bunch of stuff right now, but I have the feeling that our front end is quite stagnant atm
we are trying SSR, we have an infant design system, we are trying to make our Drupal headless...
but on the tech side we are doing things just for the sake of trying, not because we have a plan
 
9:31 AM
 
Day by day I try to NOT make people headless.
 
our frontend ain't that pretty
@geisterfurz007 are you succeeding though?
 
So far I did.
 
good man
 
Yesterday I was... rather close.
 
9:33 AM
@Neil loool
 
I don't want to kill people. You can only do that once. I'd rather punch them so I can punch them again
 
Hm...
Yeah, that makes sense.
 
last meeting in 10'!!!
 
!!!!!!!
 
if you ever think that climbing through the ranks makes your life better, think again
 
9:36 AM
I think that climbing through clouds will make my life better. We'll see (:
 
my life is a succession of meetings and quick decision-making while I try to drive better software engineering principles
 
10:08 AM
> It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter. -Nathaniel Borenstein
 
10:44 AM
@Neil in my case, it is the opposite
 
@Wietlol bad Wietlol! bad!
 
:D
my backend is fine, its my frontend that sukuchs
 
11:31 AM
@Neil front-end perspective vs back-end perspective
 
back end
/8ball do you prefer back end ?
 
@Hans1984 Very doubtful
 
heads to sandbox
 
/sandbox
 
Please go play in the sandbox
 
11:38 AM
maybe add that functionality?
 
12:00 PM
The word sembako refers to Indonesia's nine essential culinary ingredients: rice, sugar, egg, meat, flour, corn, fuel, cooking oil, and salt. When any of these becomes unavailable or more expensive, repercussions can be felt right through to the presidency. (source)
 
how can I use commands like "javac" after downloading jdk12.tar.gz and extracting it on Ubuntu
 
Add the bin folder to your path, no?
I am no linux crack but that is what you'd have to do under Windows.
You can also cd into that folder and run it from there.
 
hi everybody, someone had problems when exporting large files with primefaces?
 
I wanted a permanent solution, like setting the environment variable in windows
 
@AkashKarnatak edit the line in /.profile where it's written PATH=...
add the path of where you installed java with /bin
then javac works whereever
 
12:10 PM
@Neil I can't find /.profile did you mean /etc/profile?
 
Zoe
~/.bashrc is standard, isn't it?
 
~/.profile
@AkashKarnatak should be in your home directory
vi ~/.profile should work
 
@Zoe There is no standard, it feels like
There is .bashrc, .profile, .bash_profile
probably more.
 
each has their own functions
 
Zoe
oh, right
 
12:12 PM
@Neil found it, lemme try
 
.profile is for env variable
 
Zoe
and there's also more files for different shells
 
.bashrc gets called when a shell is loaded
ect
 
@AkashKarnatak you'll probably have to log out and back in again
i don't know if there's a way to execute .profile otherwise
 
@Neil will this work even when I log out and then log in
 
12:13 PM
@Neil source ~/.profile
 
@AkashKarnatak putting it in .profile means it will be set everytime you log in
 
^
 
@geisterfurz007 ah there you go
 
I love how Neil is just sitting there :D
In a world full of blocked images, a mouse and a cat still stand against the evil rulers of the interwebz.
 
hes just a lazy guy
 
12:15 PM
^
 
that mouse been sitting there for centuries
 
12:27 PM
You can format your code using Ctrl+K before sending :)
 
@Neil it didn't work, the bottom lines of .profile looked like this # set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
I changed it to
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="/home/akash/java/jdk-12.0.2/bin"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
 
@AkashKarnatak you want to do add this at the bottom.. (don't change existing assignments!)
if [ -d "/your/path/to/java/here" ] ; then
PATH="/your/path/to/java/here:$PATH"
fi
don't forget to include /bin (javac is in the bin folder, not the root directory)
 
@Neil ok
 
great formatting !
;)
 
it means basically, if the path exists to java directory, add it to existing path
 
12:37 PM
@Neil thanks a lot, now its working.
 
@AkashKarnatak good :)
 
class a{public static void main(String args[]){//nothing}}
@geisterfurz007 Ctrl+K seems to do nothing
 
Yes it does! Now it's in monospace font. It also make the message keep its indentation.
Compare this code:
for (int i = 0; i <= 10; i++) {
System.out.println(i);
}
With this code:
for (int i = 0; i <= 10; i++) {
    System.out.println(i);
}
The latter is way easier to read with the monospace font and the indentation :)
 
I plan to watch basketball this coming Sunday.
 
But how start a new line. Pressing enter keys send message
 
12:47 PM
@geisterfurz007 peasant! use ++i
@AkashKarnatak shift+enter
 
@KarelG why?
 
holding shift key
gives
new
lines
 
@KarelG
perfect
 
@geisterfurz007 i++ is slower than ++i and does not goof with your variables
 
Elaborate please.
(or gib link to explanation :D)
 
12:48 PM
if you do i++
then you get tmp = i
then i = i+1
then return "ref temp"
 
@KarelG @KarelG says who?
 
@KarelG wut, no it doesn't.
By no means does that how it works.
 
lol ++i is faster than i++
 
++i increases i, and returns the new value.
i++ increases i, and returns the old value.
It makes no sense to return something and then do an action on top of that.
 
did I not say that?
 
12:51 PM
I know the difference but it doesn't change anything in a for-loop, does it?
 
@KarelG There's no performance difference between the two.
 
there is ...
 
@KarelG Prove it.
You'll find that iteration with i-- is faster than i++, because comparing with 0 is a more efficient bytecode.
But I'm having trouble believing that ++i is in any way more efficient than i++.
 
Nerd, you there @Zoe?
 
1:18 PM
@MadaraUchiha pass it to a method that boxes it
hmm need an online compiler. Is ideone.com ok for you?
 
1:33 PM
@KarelG Sure, or repl.it
 
ideone.com/2XYFbU @MadaraUchiha
I have to admit that I did not expect to see that huge difference. Only with a millisecond or two
🤔 I don't believe the output
 
It's even more extreme in repl.it
100 to 8
Yeah, I'm almost sure there's something we're missing.
 
I knew it all along (:
;)
 
When I change the order I get a drastically different result.
 
Zoe
@geisterfurz007 You rang?
 
1:41 PM
Which shell do you use?
 
Zoe
Bash. Some times Powershell/cmd, but mostly bash
 
No fancies like zsh or fish?
 
Zoe
I tried zsh, but there's far too much config to get it looking nice. Bash looks nice out of the box
Besides, it has everything I need.
And integrates with fzf
 
Hi everyone
 
@MadaraUchiha I suspect caching
 
I just have a very general question regarding careers as a software developer
I am a computer science grad and I am being given this opportunity to do a 2 year programme to be a salesforce developer ( Apex development) I am sort of torn on if I should get into a market that is very niche at this stage of my life. Just need advice from people more experienced than me
sorry if this is kinda off topic by the way, could not think of anywhere else to ask that question.
 
@Tito IIRC Apex is exclusively for salesforce, a company that offers CRM's for clients. You can follow that program, but that makes you to train skills exclusively to use Salesforce environments. This might make you less flexible when you want to switch position, eg moving to a different company.
I suggest to ask around at your school. Some of your docents might give you appropriate advises. Don't listen too much to internet people that you may not know
 
2:20 PM
@KarelG Thanks for the advice.
 
2:51 PM
Would "what are Java 8 Streams meant to be used for" be on-topic on the main site?
 
@Nzall It's a bit broad
 
@MadaraUchiha Okay. I just want to know what the intended use case by the Java developers is for Streams. Currently I use them in place of iteration when I want to filter a collection or find a specific item in a collection I want to do something with, but I read somewhere that streams are meant for threading and parallel processing, so I'm not sure I'm using them right
like, instead of doing Object found; for(Object o: objectList){if(o.property == value){found = o; break;}}, I just do objectList.stream.filter(o -> o.property.equals(value)).findFirst().get();
Sorry, 1password is breaking my backtick, so I can't add monowidth font to that
 
3:06 PM
it is the multi line thingie
@Nzall that is ok, see that as a part of functional programming. It is also more readable and gives a concise code. I do that all times
but you can utilize .map tho
objectList.stream()
  .map(Class::getProperty)
  .filter(property -> property == value)
  .findAny() // or findFirst()
  .get(); // best to pick .orElse
 
3:28 PM
posted on July 18, 2019 by CommitStrip

 
 
2 hours later…
Zoe
5:45 PM
@geisterfurz007 apprawooved
 
 
2 hours later…
7:53 PM
hi! do you have a recommendation for an article or a video talking about a small example of an app - implemented in with micro services that illustrates a team that makes too many Micro services ?
 
 
2 hours later…
9:51 PM
@tgkprog research
 

« first day (3190 days earlier)      last day (1765 days later) »