« first day (2575 days earlier)      last day (2388 days later) » 

12:01 AM
What was its Name?
 
12:13 AM
I forgot to buy an sdcard with this Pi..
 
pi for the printer?
 
Durp. Yes.
 
printer comes with a sd card
 
(the durp was for me)
yes, but that might need to stay in there, right?
 
it holds the print files
 
12:14 AM
if i don't need it when using a pi, that might work
 
but I mean, really, you can get a small cheap sd card for that at the gas station
 
Or.. I'll just run withou a pi until I go to Microcenter again
ohh yea.. i guess so
 
I don't know if the pi replaces the need for a sd card for the gcode files
@Loktar ?
I haven't done it yet
 
I figured you would. I though you have a Pi in every room.
On every stalk of corn
 
lol, I do. but I'm super lazy and you can just print from the sd card direct
so I haven't done it yet
 
12:15 AM
corn with a status LED
 
I just printed three air bubblers for my fish tank
 
Everything's on a cobb!
 
well, two. last one is on the bed
 
@rlemon our country's technological advancement hasnt yet come to Sd cards being available at gas stations
 
things with holes that go on the end of a hose?
 
12:17 AM
Why did i word this so wierdly
 
@Luggage yup
 
will PLA survive in water? I thought it was biodegradable.
 
it will break down eventually
 
will it poison your fish in the mean time?
 
shouldn't be harmful (says the interwebs)
and should take a decent amount of time
 
12:18 AM
ohh, ok.
 
Fingers crossed for the fish.
 
it's in my newt tank with Mr.T (newt) two sucker fish, and a bunch of shrimp
 
The list of things that I can print to upgrade the printer is long enough that I'll stick with that for a bit.
after gettign one decent 'bullshit' print while tuning
 
you gotta print some smaller fun things to start
a) calibrate the printer
b) fun
 
right.
 
tempting, but I'd have to paint that for it to look good..
ohh, and a pi case.
 
It's almost mandatory to make your own Pi/Arduino cases on a 3D printer lol
 
The day the military starts using that to generate camo the shit has hit the fan and they are fighting robots.
 
Unless they're using FLIR and just blanketly killing anything that makes heat.
 
12:30 AM
@Luggage When AI is used to search for enemy troops, you know they'll try that
 
"Wear this t-shirt and the robots will all think you are a kitten and let you by" Sounds like a sci-fi channel daytime for-tv movie.
 
The military will try anything
 
@KendallFrey The way you said that makes me think about the beginning sequences of Metal Gear Solid 4
How it all goes on about how technology changed war etc etc.
 
The Allies gave Hitler free porn in WW2
 
Ahh, Metal Gear. Adult angst.
 
12:32 AM
Yeah but Metal Gear was so quirky and silly the angst never really broke through for me.
 
ohh, i liked it. I only played the one one in alaska and the one in water.
the first two, i think
 
That would be the first two yes.
 
ohh, and the one in russia
maybe.
 
That would be 3.
 
the codec sounds was my cell phone ringtone for quite a while. I'm sure it was for a lot of people. It worked well for it.
 
12:38 AM
Earlier today @realdonaldtrump’s account was inadvertently deactivated due to human error by a Twitter employee. The account was down for 11 minutes, and has since been restored. We are continuing to investigate and are taking steps to prevent this from happening again.
 
VSCode doesn't do make tasks? :(
 
you can have it run any command
 
Can you without manually configuring it?
i.e. the Run Task option
 
got me. maybe with a plugin that recognizes makefiles, like the one that does that for gulp.
 
how is TwitterGov even a thing
 
12:41 AM
They manage twitter accounts and such for government officials
 
Not very well, evidently.
 
Wasn't just first-come-first-served for @POTUS
Also, what are the odds that it wasn't an accident and someone just got fired?
 
You know, given how much our Government uses Twitter, I wonder to what extent Twitter can enforce their TOS upon Govt. officals.
Like, I imagine that the Twitter TOS essentially says, like most "We can deactivate your account for any reason we want to because this is our service" or something to that effect.
Of course, that's speculation; but if it's there, is it enforcable?
 
I'm angry and my feet are hot for some reason
 
@towc Would that be called autopodophilia?
 
12:48 AM
not that kind of hot
my feet are somewhat disgusting, actually
but they were really really warm for a minute there
tbf I haven't looked at my feet in a while
uuuuh! The skin mostly grew back nicely!
probably a sign that I haven't been doing close to any exercise lately
I'm glad to announce I have decent feet
I don't even think I got fatter
am I still in a bad place, psychologically? Sure
 
wat
 
1:07 AM
morn
 
i didnt realise javascript was now about feet
 
1:24 AM
What would be funny, you ask? 's/doubt/rare\ manfeet\ fetish/g' on #stackoverflow. That would be funny.
Holy crap I've been on Twitter for 5 years now
 
1:42 AM
i wonder how long i have
2008 or something
 
1:53 AM
what a noob
 
2:07 AM
I am feeling bad
 
fuuuck
edge.js isn't updated for current node
 
The second video of this sells it: thingiverse.com/thing:239105
 
2:33 AM
@BenFortune That should be on a t-shirt
 
2:51 AM
Through our investigation we have learned that this was done by a Twitter customer support employee who did this on the employee’s last day. We are conducting a full internal review. https://twitter.com/TwitterGov/status/926238960594178048
2 hours ago, by Kendall Frey
Also, what are the odds that it wasn't an accident and someone just got fired?
Almost right
 
ahah, that's pretty good
 
3:41 AM
I'm sure they're messing with algorithms to exclude that account from
heh wonder what will happen to that employee
Trump is the best thing to happen to Twitter
 
@Loktar Loktar ogar?
 
aye
 
"Heh, greetings"
 
Best terminal emulator for Windows/Cygwin? I tried Cmder, Babun. They both suck.
Hyper sucks too.
 
@littlepootis Bash
 
3:51 AM
Git bash? That's bad too.
 
@littlepootis format c: \q\f\s
 
 
2 hours later…
5:58 AM
I think he did that :D
 
user1731387
Hi good morning @ShrekOverflow
 
@Vijay Good Evening.
 
user1731387
30:1 error Component should be written as a pure function react/prefer-stateless-function
 
user1731387
it says while fix in eslint
 
user1731387
in react native
 
user1731387
6:13 AM
do you have any idea about it
 
user1731387
?
 
user1731387
@ShrekOverflow
 
@ShrekOverflow sadly, no
 
God damnit :P
@littlepootis theoritically
you can use WSL to get X11 working
and then use Terminator inside it :)
but thats theoritically, i wouldn't recommend that
And I agree Hyper is hypercrap
> The directory '/help' does not exist
 
6:31 AM
var arr = [{
    "a":1,
    "b/c":2,
    "b/d":3
},
{
    "a":6,
    "b/c":9,
    "b/d":12
}]
to [{a:1,b:[{c:2},{d:3}]},{a:6,b:[{c:9,d:12}]}]
how i get
 
magic
Try breaking what you are trying to do
in simpler steps
(or if you prefer a different language, then in think how you'd do it it in that language)
Its very simple code wise
you missed it ;)
 
6:58 AM
@magic your solution is working for me except one error a:{} not a:1
 
@ShrekOverflow No WSL on Windows 7
I got Gnome terminal to work, thanks to cygwin
But it can't run Windows programs.. so yeah.
I could install wine on cygwin.
hmm
 
Its not a solution :)
Its just an example
you can figure it out from there
 
ok @ShrekOverflow i will find
 
7:33 AM
Oi
 
7:48 AM
oo
 
8:09 AM
I need help in transferring sql to mysql data using cron job or windows task scheduler. What i've achieved so far:
Linking of server: sql to mysql (problem is i can't create sql scheduler because Its is in express mode onnly (freeware)). Idk how to bash or batch to transfer data from sql to mysql but ive been doing a research and so far. I can execute mysql script using bash
 
@ShrekOverflow where i need to change
 
@BenjaminGruenbaum do you know what replaces require('_debugger') in node?
 
8:45 AM
^ found it :)
 
9:16 AM
morning
lol
just listening a song called "Phenomenon"
and last message from @phenomnomnominal
what's the meaning of life now?
 
@phenomnomnominal do share?
 
@EarvinNillCastillo I've stopped writing bash scripts almost exclusively in favor of node scripts.
Why torture yourself with a write-only language when you can write a script with a full-featured one?
 
@KendallFrey fills me with both happiness and profound sadness
 
So I found out that I am not the only one that faces the issue
 
9:37 AM
@littlepootis Ubuntu
 
@ShrekOverflow Now that is annoying
 
Does anybody here have an opinion on Graphcool?
 
I gave the issue a thumbs up. It will probably be fixed momentarily now
 
@OliverSalzburg I am wrapping it around using posix select
but because how node works (and mostly how much I suck at C++ now) I basically added up 1ms of latency T_T
 
9:40 AM
So my VPN adds 1 MS Latency
on the same device :|
trying to fix it now :)
although I must say that its a micro optimization
as expected latency in any realistic scenario will be > 10ms :P
Also, I am curious is there a node utility that I can pass a "pipeline" to (a bunch of piped nodejs streams) that can visualize the data flow, speed etc?
 
@ShrekOverflow Like pv but for Node internally?
 
@ShrekOverflow maybe it's 0.01 wit it always rounds upperwise
 
@OliverSalzburg No just for normal streams
It'll be pretty cool to monitor the stream things graphically imo
 
:39870224  [{   status: 'UNASSIGNED',
    'lineItems/ItemId': 'BNWG001',
    'lineItems/size1': '5',
    'lineItems/size2': '92.88',
    'lineItems/size3 ': '9.375' },
    {   status: 'UNASSIGNED',
    'lineItems/ItemId': 'BNWG001',
    'lineItems/size1': '5',
    'lineItems/size2': '92.88',
    'lineItems/size3 ': '9.375' } ]

  and i need

[{   status: 'UNASSIGNED',
    'lineItems': [{'ItemId':'BNWG001',
    'size1': '5',
    'size2': '92.88',
    'size3 ': '9.375'}] },
    {   status: 'UNASSIGNED',
 
@ShrekOverflow I don't work much with streams :( Sorry
 
9:55 AM
@Neoares No.
It is 1 - 2 ms
and will increase if I have more cards on the same computer (though that is a nightmare scenario)
My python code (for testing) outperforms the async node version by like 0.4 - 0.5 ms because of the wait delay
which is pretty bad :P
although that code is sync and therefore is at an added advantage
 
10:28 AM
When you create a new view in Google Analytics, does it take some time for it to populate? I created a new view and enabled the "Filter known bots and spiders" and there is now no data at all in the view
I somewhat doubt that we had only bots/spiders on that site
That would be depressing
And it would mean I'm a bot :(
 
10:54 AM
hi
 
If you ever happen to run into those cmder+ssh+tmux issues again, this might help: github.com/cmderdev/cmder/issues/1160 @ssube @Luggage
 
11:16 AM
@KamilSolecki how good are you with linear algebra? :D
 
11:26 AM
can I have children with defined width inside a flex container?
 
@Neoares so, to have children, let's talk about bees...
 
I want 3 children, 1st and 3rd with a defined width, and the middle one is the one that has to adapt
23
and CSS' width doesn't work well
it scales the width for some reason :S
 
I want 4 children, 2 girls and 2 boys
their width shouldnt matter much
as long as it doesnt have an abnormal value
 
you're bad people, chat
 
:)
 
11:32 AM
@Neoares still, doesnt firstchild and lastchild work?
 
it's not about selecting elements
it's all about flex
 
flex all the way down
and up
and sideways
 
@Neoares and you're a great dad, for getting your children into body building early on
 
I found the solution
flex: 0 0 child_desired_width
instead of
width: child_desired_width
xDDD I give up
done
it only took me 7 edits
 
11:38 AM
@GNi33 thank you :D
 
@OliverSalzburg This appears to be by-design. New views start collecting data from the time they were created. Historical data from the "base" view is not copied upon creation
It seems stupid, but that is because it is
 
@FlyingGambit that also works, thanks
I don't understand exactly why, but it works
I guess if some child has set flex-grow to 1 and rest to 0, it assumes that he's the chosen one to be flexible
 
jointObj.forEach(d=>{
            var Obj = {};
            for(k in d) {
                var f = /[/]/;
                if(f.test(k) == true){
                    var s = k.split('/');
                    if(Obj.hasOwnProperty(s[0]) !== true){
                        Obj[s[0]] = [{[s[1]]:d[k]}];
                    } else {
                        Obj[s[0]].push({[s[1]]:d[k]})
                    }
                } else {
                    Obj[k] = d[k];
                }
                insertObj.push(Obj)
finally i resolved
Thanks every One
 
11:55 AM
@KARTHIKEYAN.A I would rename Obj to o to make it more confusing
 
rename it to arr
 
@KARTHIKEYAN.A my eyes
 
@GNi33 shoot, but im slightly busy atm so I might take a while to respond
 
it's fine, just wanted to ask if I could ask you some questions when I'm on my assignments
did try it yesterday, I kinda know what's going on but there are some parts that I simply don't know exactly if what I'm doing is correct
 
user1731387
12:20 PM
what is the propType for jsonUri in react native
 
user1731387
?
 
@Vijay Good thing you added that
!
 
Indeed
.
 
Morning people. Not sure how good it is though
I'm hungover and bleeding out of my face
 
Sounds like a typical day
 
12:28 PM
Which isn't the worst place I've woke up bleeding out of if you know what I mean
If you don't I'm not really gonna expand
@Cereal I'm a noob at drinking. I went by our local casino looking to burn 30 minutes and ended up winning like $300+
So I went to the bar and proceeded to make sure that my net was no more than $200
I don't know if that was a good move but it was last night
 
Check phone for new photos
Check recent call list
Delete Facebook
 
check your lower back for a butterfly tattoo
 
huh, you can have a lambda in a default parameter, but looks weird af :/
const doSomething = (cb=()=>{}) => { a(); cb(b()); }
I feel like I wouldn't do (cb=() => {})
 
I guess if you really wanted a default callback
 
@towc Should be (cb=Function.prototype) => {}
Then it's clearer in two regards
 
12:42 PM
honestly, not really
 
If the function has an actual implementation, then you've fucked up
Especially if you're defining it inline
 
the way I'd solve it is maybe something like const emptyLambda = () => {}; ... (cb=emptyLambda)
 
@towc If you feel the need to create another noop, then, yes
 
using function.prototype is a hack, I think :/
 
12:44 PM
that's strangely fascinating
 
@towc Well, whatever works and is acceptable. Using Function.prototype is the way to go in our team. Except when in AngularJS, where it's angular.noop
Either way, a clearly defined symbol makes sense and clear up the confusing syntax
And it makes it clear that the default is a noop
And not another piece of ES9000 syntax one just hasn't seen before
 
@GNi33 neat
 
noop is not a term one should use in higher level languages unless the point was to show do low-level stuff with it
so shame on you, angular
 
@towc Why?
 
In regards to Angular 4, if I have a component that needs to make use of a javascript file, how do I link it?
 
12:47 PM
It's generally accepted as a description for operations that have no effect
 
Google says I need to add it in my angular.cli.json in the scripts but that doesn't seem to work
 
it's supposed to be an assembly-only term, right?
 
Thinking up a new term for the same thing just introduces unnecessary confusion
 
it's something purely imperative
@OliverSalzburg empty lambda, or empty function seem to be reasonable
 
I still don't see how introducing a new term for a generally accepted and understood concept is helpful in any way
 
12:50 PM
@rlemon I have a trampstamp that says "SLUT" now, but the lettering is really tastefully done
 
it's not a new term, that's the thing
 
If you start naming you noops as "empty function", then, yes, it's a new term
 
it's a fairly basic combination of common terms that doesn't make you mistakenly think of low level stuff
 
Why would you think of low level stuff?
 
I'm googling "noop" to see what is referencing it as a high-level thing
 
12:51 PM
You think the noop() method involves inline assembly to call the x86 NOP?
 
I do hear it from time to time, but rarely
@OliverSalzburg for angular? No, that's why I said "shame on you"
 
@towc Apparently, jQuery has jQuery.noop() also
So you know it's good!
 
since when are we taking jQuery as a source of things done right?
 
@towc We don't
It was a joke
 
good
 
12:54 PM
Just call it doNothing(), and you avoid the noop problem
 
sure
or emptyLambda
 
Or just don't introduce another function into you code base that does nothing and reuse the one that already exists
 
(makes it more clear it's a callable thing)
@OliverSalzburg so you don't agree Function.prototype is a hack?
 
52
A: What is the JavaScript convention for no operation?

Alan C. S.To answer the original question, the most elegant and neat implementation of a noop function in pure Javascript (as is also discussed here) is Function.prototype. The snippet below shows it's usage: setTimeout(Function.prototype, 10000); All three browsers (Chrome, Firefox and IE 11) do not c...

 
sure, we use some hacks sometimes
 
12:56 PM
@towc How is it a hack?
 
I even argue |0 is a useable hack
@OliverSalzburg is it intuitive it's something invokeable?
are you going to have a prototype in your code base?
 
@towc You're not invoking it. You're invoking what it is assigned to. And, ideally, you wouldn't even do that, because it's pointless
 
!!> let a = Function.prototype; [a === Function.prototype, Function.prototype()]
 
@towc [true,"undefined"]
 
man, converting an existing bootstrap based UI to React is a bit of a pain
 
12:59 PM
Does react also do styling?
 

« first day (2575 days earlier)      last day (2388 days later) »