« first day (2567 days earlier)      last day (2381 days later) » 

8:00 PM
Nevermind I figured it out. :)
I tried to use reaction commerce and deploy it on Docker. Damn that thing crashed like crazy. Nobody was able to help me out on the issue. I can no longer run the platform on my computer.
 
@KamilSolecki the use of docker is more about that you are deploying than how many people
 
well I will be
plenty of stuff
I guess I need ngnix as well for reverse proxy
Since I wanna put stuff under one domain
 
@Luggage Not much if you are using Fish or Zsh iterm2.com/features.html
 
but the split panes is very helpful
 
8:13 PM
I only ever used tabs, not panes
tmux for panes
 
iterm has tmux built in
(i started using it 4 years ago though)
 
Terminator has panes
 
the first time i had a mac
@rlemon Mac
 
no mac support for terminator?
 
Terminal.app added mouse support a few version back, it seems like a solid terminal. Maybe I started with macs after Terminal.app didn't suck as much as the earlier days.
 
8:14 PM
@rlemon haven't checked
 
is terminator a shell like tmux or a terminal emulator?
 
yes (well seems so)
and the first SO page linked iTerm
 
fink install terminator
 
whats fink
 
the instructions Terminator gave for OSX install :D
 
8:16 PM
MHmm
Ok so I have ehternet packets now
whats next
I guess I'll need to build a DHCP or something of that sort
 
profit?
What are you doing?
making a vpn?
 
@Luggage building a rtc backed VPN
 
hm
 
(also learning a ton about Networks :D)
So far I have RTC working
and now I have ethernet packets
(mac only so far)
 
Hey guys! I am a noncoder doing something for work and since i am not really confident with my code i'd like someone to review it. It's just a short snippet
 
8:22 PM
go ahead :)
also, do note that there's a code review branch of SE
 
I have an array which size can vary between hundreds and thousands of entries. I am trying to transfer the data from this array to a spreadsheet and in order to save space I want to transfer just the last "range".

In my case, a range is formed by all entries with an identical date.

For instance, in the array below the ranges would be three:


var data = [
['Wed Sep 20 09:00:00 GMT+02:00 2017', 'SKYSCANNER', '04b073133c7843248a7a3dbc968f75a0', 'network1', 'affiliate',
1141338.0, 18164.0, 0.08, 0.07, 0.62, 0.06, 0.0138, 0.0738, 0.465, 0.10695, 0.57195, 0.0525, 0.012075, 0.064575],
 
@towc ^^
 
1 message moved to Trash can
@RobertRoss Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
@rlemon is that a pruning?
 
8:24 PM
no, new growth
 
var lastRangeStart = 0;
console.log(lastRangeStart);

for(var i = 0;i<=data.length;i++) {
   if(i < data.length-1){
        //var next = data[i+1][0];
        if(data[i][0]!=data[i+1][0]){
        lastRangeStart = i+1;

        }
    }

}
 
@RobertRoss how confident do you feel?
because you're about to be trashed in a good way
 
@towc don't be a dick
 
why?
 
the good news is that, I assume, it works :)
and that's already a long way!
 
8:25 PM
^
 
yeah, it does work
 
@RobertRoss It looks good
keep at it :)
 
have a look at airbnb's styleguide
 
@towc don't be a dick
 
then at how semantics work in programming in general (data[i][0] is fairly confusing)
 
8:26 PM
AirBNBs styleguide is an absolute nuisance, I can barely keep up with it
 
have a look, don't follow them strictly
 
and it there a better way to achieve what I achieved with this snippet...like with anonymous functions?
 
ofc
!!tell RobertRoss mdn array.forEach
 
Good afternoon fam
 
!!cap?
 
8:28 PM
@towc That didn't make much sense. Maybe you meant: cap,
 
she's being weird right now
 
a'ight
if you feel adventurous, look at array.reduce as well
 
thanks, mate!
 
@RobertRoss so you wanna get the last group of X arrays from a parent array with the same first index?
 
@rlemon yep
 
8:31 PM
@towc shouldn't taht be reduce?
 
you don't need to loop the entire array
if it is already ordered
 
loop from the end of the array and break when you see a new value
.forEach is wrong
you could probably do it in a reduce, but I don't see the point
 
@ShrekOverflow reduce can be really overwhelming if you've just learnt about array methods
 
for(;;) would be fine
 
8:32 PM
> There's a new Android permission in town, that shares with apps whether you're walking, driving, sitting, etc.

> It's called "Activity Recognition" and you can find it in an app's permissions page, in the "Other" category, but it can't be disabled.
 
reduce is hard
 
point is start from the end of the array and move backwards
 
Good job google!
 
ah, yes...makes sense!
 
in the newest version of ios, siri can't be disabled
 
8:33 PM
@ShrekOverflow you can only turn it off when the activity it detects is not to try to turn it off
 
I use an iPhone 8, never touching a Droid for a significant time.
 
@KendallFrey I assume they're joking?
 
am I questioning if I'm assuming it?
so it seems?
 
Always question your assumptions
 
8:34 PM
!!s/u.*^//
 
@rlemon Always q (source)
 
dammit!
 
But seriously don't replace water with milk
 
0
Q: jQuery - set text

Doe J.I have a problem with setting text on div: When I normally click on div and set text, in google chrome console I have code like this: <div contenteditable="true" id="chat-text"> "Hello!" </div> But this is my div in google chrome console: <div contenteditable="true" id="chat-text">Hello!</div>...

 
email girl hasn't been online on facebook for 2 days 😒 Starting to wonder if she took my passport on purpose
 
8:36 PM
@KendallFrey Skim milk is basically water
 
semi skimmed is the shit
 
if water is made of hydrogen and oxygen why doesn't it burn
 
@towc Check tor, it's probably on sale
 
!!s/is the//
 
@KendallFrey semi skimmed shit (source)
 
8:37 PM
cheers
 
@towc there, now when she gets online she'll have no reason not to talk to you
 
yay
 
She deleted her facebook and hit the gym
 
lol
lawyered up
 
Also expect a restraining order from her lawyer
 
8:40 PM
and a date
the lawyer is into that
 
Lol
 
looks like i squashed a sock
 
wtf facebook
 
:)
 
 
8:41 PM
Lo
 
just about everyone in the "19 others" has never even been in SK
 
south korea is hard to get into
 
the 2 names on the left are highschool friends
they're also not the kind of people who like things on facebook
ffs facebook
 
@Mosho god dammit, I was looking way too hard at the picture trying to figure out the south korea reference.
 
lol
did you find it
 
8:44 PM
yea, when I came back here to ask about it
then I saw it
 
mmiszy isn't even replying to my facebook messages
 
how do you 'react' to something on fb?
all I see it like
 
my basil is dying
 
I'm surprised it lasted so long
 
8:48 PM
my mother wants to hear a happy voice from me when I keep making it perfectly clear that I don't feel happy about our relationship at all
 
break both your arms
it'll help
 
oh no
 
@BenFortune twss
 
my godfather is texting me about philosophies of life
 
I hope it's cinnamon life
 
8:50 PM
@KendallFrey so uhh, if I send you a picture with dimensions of a part I need to print.. you wanna model it for me 😛 ?!
 
out of all of them, he's probably still the one I think genuinely wants to help me out
 
@rlemon I'll probably need more info, but... yeah
 
it's the stupid clips that hold the top of the blinds on
 
I am surprised node doesn't have something like secdev.org/projects/scapy, I want to write one but I think it'll be too long :P
 
we have apparently impossible to find ones (that's not it)
 
8:51 PM
That looks simple enough that you could just use a tool to convert it
 
and I need 4 of them 😒 but I do have in tact ones right now
so I could take a pic and measure it and shit
 
1. Trace to SVG. 2. Use an online SVG converter.
 
my jaw still hurts a lot. I think beer does this to me
 
okay, I'll give it a go I guess :D
@towc it's what you do after you've drank the beer
 
you mean go to sleep? Yeah, there's too much of that going around
 
8:53 PM
if you have a scanner, it might be more accurate to scan it rather than photo it
perspective distortion and all
 
@KendallFrey like, a paper scanner? got one at work
I like the plans for the 3d scanners tho
 
yeah
 
gonna have to look at building one of those
 
Like a laser scanner or what?
 
user1596138
Paint it black
 
user1596138
8:54 PM
take photo on white paper dead on
 
user1596138
Deepen
 
still bloody hungry but it's 11pm
I had to drink rice for dinner, can't get many solids now
 
Cura also handles bitmaps, but it only does rectangle
 
close, but no cigar
 
8:54 PM
Could also be one of the other dozens of models :P
 
those are the ones in the store. ours differ enough to make them unusable.
 
so you'd need to treat the white area as a brim, effectively
 
@rlemon Modding that model might be easier than doing it from scratch though, wouldn't it?
 
no clue :P
gonna piss around with tinkercad tonight some more
 
tinkercad looks like cancer
 
8:57 PM
my wrists still hurt for some reason. Hadn't had much with calcium in it for days, so there's that. Drank 3 yoghurt containers today, so hopefully that helps
also with the jaw
 
I have a very mechanical mind so I'd try to make it do what CAD does
@towc "yoghurt containers" ;)
 
cans?
 
> I am using vue.js v1 and my requirement is so simple that I am not finding solution.
 
yoghurts?
@KevinB source?
 
@towc it's a joke dammit
 
@KevinB gosh darn those simple requirements
 
not vue's fault, that guy's just dumb
or girl
@KendallFrey what's a joke?
 
How should I convert these to names ?
EtherType is a two-octet field in an Ethernet frame. It is used to indicate which protocol is encapsulated in the payload of the frame. The same field is also used to indicate the size of some Ethernet frames. EtherType was first defined by the Ethernet II framing standard, and later adapted for the IEEE 802.3 standard. This field is used by the data link layer to determine which protocol to hand over the payload to on the receiving end. == Overview == In modern implementations of Ethernet, the field within the Ethernet frame used to describe the EtherType also can be used to represent the size...
 
@ShrekOverflow There is a map right there in the article
 
never heard of this joke thing
 
9:01 PM
don't flag me
 
Code wise @OliverSalzburg
I saw the table :P
 
@ShrekOverflow Use a map
 
Full name ?
 
@KendallFrey no news there
 
as in IETF TRILL Protocol
 
9:02 PM
@ShrekOverflow Why not full name?
 
It'll endup translating to something like Ethertypes.IETF_TRILL_PROTOCOL
 
Ah, I guess I understand the problem
 
I don't want to write that 100s of times in my code :P
(even though I only care about IPV4, DHCP and AARP) I still want debugging information
 
Well, you don't have to assign a name to each value
 
true I was just wondering if there is a good practice that is to be followed
 
9:05 PM
Maintaining only a numeric→name mapping should be sufficient for most tasks
If there is, I'm not aware of one for this particular case
 
Your suggestion feels the most familiar actually
 
tmux doesnt wanna cooperate with the shortcuts
 
ok then this will goto the unpaid intern lol
 
:D
@ShrekOverflow Did you check the full list for that?
Fuck that :P
 
9:07 PM
Yes I did
 
RIP your intern
 
I don't care about private protocols / properitery crap
there isn't an intern (I was kidding)
 
I on principle basis
will never make someone do this shit
well a friend of mine wnats to do its ;P
power to them for their 1st oss project :D
 
wtf are these starred messages
some exciting stuff seems to happen ~3 hours before i wake up in the morning
 
9:18 PM
Hi David!
 
hey @ShrekOverflow, how's it going?
 
Perfecto
enjoying my code filled vacation
 
oh lucky, is it just a break or have you gone away somewhere?
 
@david Kinda both
how are things on your end/
 
Somebody messed up
 
9:24 PM
Yea, who would name their kid 'firstname'?
 
@Luggage Maybe they just hit "I agree" when the child was born
 
"Yes, I do want a firstname."
Shit.
 
Recalculate base encryption hash key? Okay, whatever!
 
@ShrekOverflow All good, doing boring stuff atm but hopefully not for much longer
 
9:46 PM
yay, another university rejected me
(which, again, had let me through for an even harder course last year)
 
goooooooood morning rejecterinos
 
I'm getting more and more of a feeling that academy is still being this long-lasting hype :/
and just about everyone's on the train
they just want the fresh new things, applied to old systems
tbf I might just be biased because I'm getting rejected
so I'll acknowledge that
 
nah, you are just bad
 
and advise everyone not to listen to me, if you didn't already get the warnings from peeps
 
im learning LLVM
its a pain in the (_._)
 
9:51 PM
ignored tuple? Ikr
 
at least... if you can call whatever I am doing, "learning"
ignored tuple?
 
@KendallFrey OF COURSE it goes to Toronto to be sorted.. from Milton to Toronto only to be shipped back to Kitchener the next day
ffs
 
of course
 
do they have better sorting algorithms in Toronto?
 
10:25 PM
@towc just apply for MIT
you are too smart for the rest
 
right
 
No seriously jsut give SATs
 
“Rhino dragon” bitch that’s a triceratops
 
no, it's a Rhino Dragon
can't you read?
 
10:28 PM
@SterlingArcher to be fair its America
people might get offended
 
You’re more likely to find shit like this in China though
 
@SterlingArcher No offense but US had Harry Potter movie names changed for better market value
 
I just spent $300 on liquor I may die this weekend
 
TIL "porn" in Thai means "blessing"
 
10:32 PM
how do you guys document business logic? any tools you'd recommend?
 
@SterlingArcher So exactly one shot of Johnny Walker Blue?
 
@SterlingArcher ^ That link
I think is the reason why they are calling it rhino dragon
 
like what's the best way to document a decision tree?
 
flowchart?
sounds ugly but that's what they do
 
@KendallFrey yes
@KendallFrey unless there's a better way to document it
for example, say i have 8 data points that determine what operation should be performed on a system. i want to document every relevant combination of those 8 data points, and how they should affect this system
 
user2620028
10:35 PM
@KendallFrey yep, i think one of the princesses names had porn in it and she used a nickname in college instead when she realized
 
i was taught in school that a flowchart works, but i hate them
 
user2620028
my girlfriend graduated in the same class as her lol
 
user2620028
@kendall they also changed her name on lots of the public billboards throughout the country to the nickname as well iirc
 
@NathanJones Maybe a table, though that's 16x16 to cover all options
 
10:39 PM
@KendallFrey it is
 
@NathanJones ASCII Flows
> Goto GYM -> Hit on the hot girl -> Get Arrested -> Sue the Gym -> $$$
 
@ShrekOverflow how is that better than Google Draw?
 
You can convert that to a flow chart
via code :P
and change / mantain it
or just flowchart in LaTeX like a boss (and also a person with lots of time)
@SterlingArcher also do not die, we need to visit the museum first
 
@ShrekOverflow you got your priorities straight
 
@KendallFrey Ofcourse!
I don't want my last day in US To be my best friends Funera
 
10:45 PM
which museum?
 
> and "The Madness of King George III", which had to drop the "III" because it was realised that Americans would be uninterested in the film since they'd obviously missed the first two films of the trilogy.
O
M
G
 
Look man, you don't get it, Roman Numerals in a movie title are sacred here in burger land, you can't just mess with it for the sake of 'Historical Accuracy'.
 
burger land?
hamburger?
I think I'll just send these title changes to michael mcintyre
he loves to have american - british differences in text
such as "pavement" -> "side walk"
because americans wouldnt know where to put it if it was called pavement
but with side walk, they now now that it is on the side
and as a bonus, they know that they are supposed to walk over it
 
lol
 

« first day (2567 days earlier)      last day (2381 days later) »