« first day (2198 days earlier)      last day (2733 days later) » 

12:11 AM
I may have what some people call "a problem".
 
1:06 AM
Hey guys, Which stack channel is the best to get help to debug?
 
1:54 AM
Is anyone here..... oooooo maybe a ghost >>
 
no
 
user6820627
@rlemon why the room name change?!
 
user6820627
what happen here? Stop asking if websites are down.
 
2:09 AM
Stop asking why people were asking why websites were down
 
user6820627
@ndugger can you give me a quick transcript link when that problem happen?
 
no
 
user6820627
@littlepootis the message is starred. revert the room name pls. it looks weird. maybe add this to the room's rule.
 
user6820627
2:21 AM
@littlepootis ?!?! disagree. or add this to room info?
 
He doesn't have permissions to do it anyways
but also no, because you don't tell us how to run the room
 
user2620028
the room owners change the name all the time... why does it matter
 
user6820627
2:48 AM
@HatterisMad it matters for new users
 
@LearnHowToBeTransparent still says Javascript
 
Almost certainly a repost, but jesus, this is bad dirtycow.ninja
 
Hi Good morning
 
3:02 AM
Is there a way to load dynamically google maps??
I looked around and I found thisd
Is this support with current google map API ?
 
user6820627
3:16 AM
Can you help me with this weird problem?
 
user6820627
3:53 AM
help me by mentioning me. i am going to go to school soon.
 
@LearnHowToBeTransparent your problem might be that you're setting control to a boolean when you do control = control == controller1 ? controller2:controller1;, but i don't know
 
user6820627
@NathanJones control is not type boolean
 
user6820627
if you check
 
oh, you're right. ignore me.
 
 
2 hours later…
5:49 AM
-1
A: Do trees die of cursing in Solomon Islands?

SudhindraIt is true. It is also true that pigs can fly when they are praised.

 
 
3 hours later…
8:58 AM
posted on October 22, 2016 by Axel Rauschmayer

This blog post gives tips for using async functions. If you are unfamiliar with them, you can read chapter “Async functions” in “Exploring ES2016 and ES2017”. Know your Promises The foundation of async functions is Promises. That’s why understanding the latter is crucial for understanding the former. Especially when connecting old code that isn’t based on Promises with async functions, you

 
 
1 hour later…
user6820627
10:40 AM
@AwalGarg wow!!!!!
 
10:52 AM
I have a friend who wants to try programming/webdev
where do I send him nowadays?
 
codecademy is still a fair place to start
very very bad practices, but it works
 
11:04 AM
Is anyone else getting TLS errors when trying to get to smashingmagazine? smashingmagazine.com/2016/10/web-development-reading-list-155
 
@Mosho shay howe
 
user6820627
 
@towc yeah that was my first thought
though I never tried it myself
 
@towc w3schools works too
 
it's good enough. Its strong point is that it doesn't make you want to give up if you just started, like most other non-interactive resources
 
@littlepootis it does
@littlepootis oh, nice!
 
> Learn to Code HTML & CSS
 
For programming in general, like all sane people would, I'd recommend python.
 
thanks
he's looking for something light
to see if he likes it and can handle it
has 0 experience
 
@littlepootis most python code is extremely bad practice code, because everyone uses it. I would only have reccomended it after someone'd learnt another language, to prevent the person to ask questions and get the wrongest answer
does he use windows? If so setting up a python interface can already lead to giving up
 
11:15 AM
@Mosho Both resources I linked to are for absolute beginners.
 
aight, thanks
 
while for web langauges he'd be already comfortable with the browser
 
I've suggested them to others who've liked them.
@towc "extremely bad code". example?
 
bad practice
 
@towc ? I've had 0 problems
 
11:17 AM
Oh, you mean because everyone uses it
That's.. a given.
I mean, look at PHP.
Or JS>
 
@Mosho but you kind of understood some underlying computer things, right? Or did you start with python directly?
 
I didn't start with python
 
@littlepootis I would have said that js/css/html are already slightly better
 
but I did nothing more than install it
 
@Mosho so it was easier to get into python
 
11:18 AM
what problems was I supposed to in windows?
 
getting familiar with the interface, handling possible errors
 
@towc not really
 
@littlepootis sure, there are many many bad examples, but the good ones are easier to find
bad examples are immediately condemned in web languages, because they're front-end stuff
 
That's not really "programming" though.. all he'll end up doing is making fake 3d animations (puntended).
 
fuck you too :D
 
11:22 AM
You can do a lot of cool things in Python.
Like dealing with libraries that don't support your language version.
Unintended Indentation.
 
11:45 AM
> Rust, Haskell, OCaml
Hippie.
Why did you leave JS, btw?
 
@littlepootis OCaml and Haskell are not hippie at all. I can see why you'd say that for Rust, though. Left JS because once you experience the power of a good static type system, you reach enlightenment and stop falling over clever concise code in dynamic and weakly typed languages.
 
@AwalGarg What do you think of TypeScript?
 
@MadaraUchiha I like it a lot! It suffers drag because of two things: it still has to rely on the rest of JS ecosystem which is primarily un-typed, so the overall benefits from typing are reduced. And executing it requires transpilation even on the server, which is a bit of a hiccup. Otherwise TS is good.
 
Last I checked it was over a year ago, and it wasn't great
But now I've got multiple people telling me it's good or at least better
I'll probably need so start a project with it soon to test it again
 
@MadaraUchiha Yup, I tried it back then too and it wasn't that good. TS 1.7 is good though. Note though that it still feels like hammering types over an un-typed language. You won't get the same benefits as in the other languages. Same with the optional typing in Python 3.5 (except that Python isn't exactly weakly typed as JS, so it is, atleast in theory, a bit better).
 
12:23 PM
TS is great
and does all things
at 2.0 now
got new and exciting stuff like non-nullable types
in the form of null type
also undefined as a type
 
@Mosho ADTs?
 
had them for a while I believe
and you have typings for existing libraries
they are working on streamlining it
added a new @types/package npm namespaced package typing scheme in 2.0
and for smaller libraries it's easy to write your own typings for them
worst case you don't get typings for libraries
but for all major libraries you do
we used Elm for a bit
it has some really cool features
 
@Mosho ah great, seems like I just haven't had a usecase in JS so far.
 
but small community holds it back for now, imo
to me, a use case would be anything that required transpilation anyway
 
@Mosho Same thing for me about Elm. Love it, love the Elm compiler error messages - but small comunity.
 
12:29 PM
so most front-end projects
or long term small/big projects, working with other people etc.
typing is worth its weight in gold
 
12:44 PM
@littlepootis check hangouts
@towc so is your friend's self-compiling OS ready? Is it open-source btw? I'd like to contribute to it :D
 
@AwalGarg the iso is up and public, if you know where to look, but he'd rather not share it yet
I can ask him if I can give you the link if you want
 
@towc that'd be really cool. I find this pretty interesting btw - pootis told me you are doing all these super cool things these days
congrats @towc!
 
pootis... >:(
 
OMG HALLOWEEN MODE IS HERE OMG OMG
 
(that's an angry ellipsis btw)
 
12:56 PM
 
@towc nah just kidding. I was reading the transcript when I found out. Asked pootis but he won't tell me anything, so I asked you.
 
-_-
I'm done
 
@towc how'd you get to know this guy btw? darkweb or something?
 
safeweb
 
30 secs ago, by towc
I'm done
 
12:58 PM
what?
 
@towc btw there is also rump kernel in case you didn't know (I guess you do already...)
 
Also, I got into some silly stuff
 
@AwalGarg I know mostly nothing about what he's doing. If I did, I would have managed to install arch already
 
in The Winter Lodge, 23 hours ago, by little pootis
> Hi Erik,

Thank you for emailing us about this. Your account was flagged because we received reports that you were intentionally abusing Git configuration to impersonate other users. If you would like your account unflagged, we'll need you to agree to stop engaging in this behavior.

Please let us know if you have any other questions.

Thanks,
GitHub Support
 
@littlepootis lol
 
1:01 PM
@towc ah still. anyways, you have great contacts now with leet people. don't forget us mere mortals Mr. c00l guy!
 
user6820627
How to swap 2 variables without using temp variable?
 
@AwalGarg I have no clue how much of that is ironic
 
what is ironic?
 
@LearnHowToBeTransparent you can, but you shouldn't, and it's not efficient
 
@LearnHowToBeTransparent Are they integers?
 
1:03 PM
sarcastic*
 
user6820627
@towc just curious. Tell me.
 
or.. you know decimal numbers?
 
@LearnHowToBeTransparent My C++ professor asks me the same shit kind of questions all time. The right answer, as I have learned the hard way, is "why in da actual flying fuck do you want to do this".
 
@AwalGarg btw, I do know you're so fucking good at security stuff and I look up to you, if it was about you thinking I was getting cocky
 
@towc nah I was just teasing you a bit, not being sarcastic. Really happy you are engaging with good people now. good luck! :)
 
user6820627
1:06 PM
@AwalGarg please tell me. Please please
 
@LearnHowToBeTransparent why do you need to know? Homework?
to win a bet?
 
user6820627
@towc curious
 
@LearnHowToBeTransparent have you done any research at all?
do you want us to spoonfeed you?
 
!!> var a = 1, b = 2; a=[b,b=a][0]; console.log(a, b)
 
@AwalGarg "undefined" Logged: 2,1
 
1:08 PM
@LearnHowToBeTransparent ^ that's one way, among 3000 of ways. Pick a random number and I can tell you more.
 
a=1, b=2
a=a+b
b=a-b
a=a-b
 
so you are using three temp variables instead of 1. great :D
 
that's no temp variables
it's a temp reassignment, just like yours
I wonder if...
!!> a = 1; b = 4; [ a, b ] = [ b, a ]; console.log( a, b )
 
@towc "undefined" Logged: 4,1
 
lol, there ya go
 
1:35 PM
Has anyone tried angular2 yet?
 
user6820627
 
@user6582640 many
 
what's everyone saying about it?
 
user6820627
@user6582640 130284190238490234891203841923890840 users :D
 
lol
I don't see any trending angular 2 repos on github!
 
user6820627
1:37 PM
:33643071
Math.random()*3000
1767.4727783302994
 
@user6582640 that it's pretty bad. No one is stopping you from trying it yourself, but there are better alternatives. By all means go ahead and try it ;)
@LearnHowToBeTransparent that's not funny
 
it seems pretty overwhelming to get started with it
 
user6820627
never use angular js
very hard
you cant understand. only god can.
only jquery allowed or no library at all if you dont want to learn some hard to understand api
 
he's messing with you
 
angular is kinda crap, when you need to figure out, what in their magic DI system you have set up wrong
 
user6820627
1:45 PM
@tereško what school do you learn js
 
the one of hard knocks
 
@LearnHowToBeTransparent Me from W3School
 
user6820627
me too @littlepootis
 
@LearnHowToBeTransparent if you want to learn JS, you probably should start reading: eloquentjavascript.net
w3schools is piece of garbage
 
user6820627
@tereško if you want to learn stack overflow, you probably should start reading: meta.stackoverflow.com
the tour is piece of garbage
 
user6820627
1:50 PM
@tereško looks better than w3schools.
 
way better
 
@LearnHowToBeTransparent before you try to explain StackOverflow, you should click in the profile of that person, to make sure you are not making ass of yourself
 
user6820627
i know already @tereško
i saw your profile 10 days ago.
 
user6820627
@tereško how can you farm rep like that? is there any resources on farming SO rep?
 
I have never farmed reputation
 
user6820627
1:57 PM
@tereško what?!
 
user6820627
if so why do you have high rep?
 
user6820627
jon skeet is not here
 
because I write long answers to non-trivial questions
 
user6820627
@tereško so write long answers is the key to high rep.
about me, i have a [tag:noob-search-query] http://stackoverflow.com/search?tab=newest&q=%5bjavascript%5d%20or%20%5bhtml%5d%20or%20%5bbootstrap%5d%20or%20%5bjquery%5d%20-%5bangularjs%5d%20-%5bajax%5d%20-angular%20-xmlhttprequest%20-mvc
 
user6820627
but that's also a good place to find bad questions
 
2:27 PM
Do you want to continue? [Y/n] Y
Abort.
 
2:56 PM
@LearnHowToBeTransparent tbh, @tereško never "farmed rep" or tried to accumulate reputation in any despicable way and has always been very supportive of the site's legit reputation system.
As in - he never tried to answer really easy duplicate questions real quick to accumulate rep.
He's just been around for a while.
 
... and you ruined by saying that I am old :(
 
I know 17 year olds that have been here longer than you :P
@LearnHowToBeTransparent compare one of your answers to one of his.
@LearnHowToBeTransparent look at this - it's a duplicate question and you answer just with a link to a direct solution and just shows what variable swapping is - it's not a bad answer it's fine but it's pretty trivial stackoverflow.com/questions/40178556/… - anyone who has been coding for a month could have provided it.
@LearnHowToBeTransparent most of the answers you write require very little domain knowledge or understanding of abstractions. I'm not holding it against you - in fact: I think providing these answers is important and you're genuinely helping people. I'm just explaining that it's more "gaming the system" than what some other people you're criticizing do.
 
3:32 PM
Since I'm fairly new to functional programming with lodash/fp, I was wondering if this could be written in a smarter way:
const getPinned = state => flow(
  get('comparison.products.entities'),
  get(get('comparison.products.pinned', state))
)(state)
entities is normalized (id as key) and pinned is just an id
 
What does that do?
 
I would just not do any of that
I hate using strings as property getters with a passion
 
meh.
 
perl is love perl is life
 
@littlepootis +1 for xterm, -1 for oh-my-zsh
 
3:45 PM
It has some kick-ass auto completion features.
 
It returns { name: 'b' }
Given:
const state = {
  comparison: {
    products: {
      entities: {
        1: {name: 'a'},
        2: {name: 'b'},
      },
      pinned: 2
    }
  }
}
Without throwing errors if any of the input does not exist
Any smarter patterns?
 
 
2 hours later…
5:21 PM
ffs, I can't find bluetooth headphones that ship to the uk on amazon :/
as in, there were plenty before brexit
 
@towc conspiracy
 
oh wait, TIL that amazon.co.uk and amazon.com don't do the same stuff
 
 
1 hour later…
6:47 PM
Hello World!!! Finaly got 20 points! Just want to say hi :)
 
@JavaEvgen Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
7:04 PM
hey @JavaEvgen
 
Java isn't welcome 'round these parts
 
7:21 PM
Hey i need to somehow connect my Rasperry pi to computer
i got the IMG file in my USB which is connected to raspery pi motherboard , and i connected the battery to motherboard and the HDMI Cable to motherboard, while its Wifi cable
Now how do i after plugging in the HDMI Cable to Computer make computer start of that HDMI Cable?
 
@Shmiddty This is only my nick name :D
 
 
1 hour later…
8:53 PM
@AwalGarg can you check your gmail?
 
Anyone offhand know a simple way to read and write JSON file asynchronously using React?
 
@Phrancis await and JSON.parse?
 
Just plain old JavaScript, no npm package or anything?
 
err
using React?
in a browser?
 
Correct
Say the JSON file is stored on the server
 
9:07 PM
you can't write a file on a server, from a browser
 
Oh. Guess that explains why I'm having a hard time with this :)
 
indeed
@Phrancis I suggest reading through this softwareengineering.stackexchange.com/questions/171203/…
 
I will, thank you
 
9:34 PM
Suppose I want to keep some data in a list on a page like this one (as in, the posts in this chat room, for example) that I need to poll periodically for updates, as well as add items to, would it be simplest to just keep the data in objects in a regular array/list? Or use temp storage like a cookie?
 
Haha.. it would be soo funny if Google Goes Down
The internet will go to havoc. And all living will become robots
 
10:11 PM
Lmao
> Why are oyu mixing javascript and Jquery?
 
 
1 hour later…
11:41 PM
> 0 RESPECTS
Man I mashed F a lot too
alright respected.
Had to make an account but worth it
nice writeup
 
yey :)
See what the larger community thinks
 
was that schematic done for you via a tool
or did you make that
 
read
> (image from Adafruit)
 
idk wtf adafruit is dude
 
and Adafruit made it with Fritzing
 
11:45 PM
taking my respect away
ah cool lol well cool project man
 
@Loktar You don't belong on the Arduino website >:(
 
psh whatever I've owned one for like 6 years
sits in my drawer collecting dust
totally belong on the site
 
change that
> Hello there,

> You must be awesome because you were just awarded a new badge for having one of your projects respected for the first time.
 
actually I did use it forever ago for a mind reader device
 
It makes so so sad to see some of the projects using neopixels on the website
 
like what's the fucking point if you don't even use the addressable ability
 
Hooked the arduino into that so I could read the values on the PC
the values seemed pretty damn random.
 
oh, neat
yeah the game seems like a gimmick
 
yeah it is a bit, I got mine on clearance for $10 though
so not much money lost
they use the neurosky chip iirc
 
I have a bunch more stuff I can publish, when I get around to it
 

« first day (2198 days earlier)      last day (2733 days later) »