« first day (2522 days earlier)      last day (2653 days later) » 

13:00
thank you for that
Every time I read Florian's name my inner voice tells me "Margarine"
Why are there never any USB sticks lying around when I need one
I own like 20
@towc Florian is french, so he'll probably eat it for dinner
@MadaraUchiha yeah, you're definitely an odd guy. It's ok, we like you.
13:00
I can't believe he isn't butter.
3
they eat frogs for breakfast here
@towc no, for dinner
🐸
it's pretty good :)
they eat frogs in most places
they can be a little greasy, but otherwise good
13:02
yeah
snails are good too, although it's mostly the butter sauce that is good
i was with you until the smails.
I've never had snails, but I'm curious
so far I've enjoyed most of the reptiles and bugs I've eaten
you have to eat them well prepared, or it's not really good
I've got a data object that holds information that I'm plotting with d3. The object get assigned like so:
there's a shitton of snails around here, maybe I should start learning how to cook them
13:05
dataObject = [
    {
      series: 0,
      strokeWidth: 4,
      values: DataBinded,
      key: "With",
      color: "#000000",
      classed: "dashed"
    },
    {
      series: 1,
      strokeWidth: 4,
      values: noDataBinded,
      key: "Without",
      color: "#66A5AD",
      classed: "dashed"
    }
  ];
When I try to plot this, I'm only wanting to plot series 0 or series 1. So I'd assume I can set the relevant data source using dataObject[0].. this is giving me an error in the console: Uncaught TypeError: data.map is not a function
@ssube Just imagine chewing a piece of rubber that has been put into a sauce which has the purpose of helping you forget about chewing a piece of rubber
From what i've read, it's saying my object is a string object? How do I change this
@OliverSalzburg sounds like calamari, which is delicious
Love calamari
It's so expensive here though
@ssube The snail dish I had once was a lot tougher to get through. I did not see the point. The other people eating them told me it's mostly about the sauce. I dunno :P
13:08
does anyone know what the right type signature is for a component which wraps a component?
export default function ThemeWrapper(ComponentToWrap: React.ComponentClass<Props>) {
  const Themeable: (React.StatelessComponent<Props>) = (props: Props, { theme }: Context) =>
    <ComponentToWrap {...props} theme={theme} />;

  Themeable.contextTypes = {
    theme: React.PropTypes.object.isRequired,
  };

  return Themeable;
}
@BenFortune I can't find it fresh outside of specialty stores, the really fancy ones
Themable() should return a component, not take one.
it's a component, so it should take props.
ohh, i see. nevermind. the () were throwing me off
yeah, it's basically used like:
@Themeable
export default class MyComponent extends Component {}

export default Themeable(function MyComponent() {});
I use use context to pass theme info down to children..
I mean.. without this wrapper. not sure i see the value, but I can ignore that.
just re-creating inject() from mobx :)
I think you want ThemeWRapper to be a generic <Props>
What do you mean by that?
13:13
export default function ThemeWrapper<Props>(ComponentToWrap: React.ComponentClass<Props>) {
hi guys
when I have a 4gb mp3/wav file and embed it with the audio tag - will the browser download the whole file to be able to play it?
@IccheGuri from the info that you already have said: you want to prevent spam by checking HDD "number". Or "uuid"
@ssube Ive had them long time ago, bathed in a garlicky-buttery-parsleyish sauce. The overall experience was pretty nice, but not something I'd eat regulairly. Tasted a little between an oyster and meat, still hard to explain :P
check onto fingerprinting. that's the right way to do
depends on what?
13:14
@Suisse depends
@Suisse --> test it yourself? <--
@KarelG - I will do it - at the moment dont have the big file ..
Depends on whether you change the question and void my answer
and also when I jump to a time in the file -will it first wait to download the whole file?
download a movie and play it locally
@Suisse no. It does async. Look to youtube which is able to stream large videos
13:16
dd if=/dev/zero of=file.wav bs=1M count=4000
@KarelG I thought youtube is solved with flash and the adobe Media server (RED5)
simply said, youtube sends first batch; 10 mins to you. It continues the download of another batch if the time is at x seconds
no. Youtube already went onto HTML5 lol
true - but in the backend they must have special things to "stream"?
@BenjaminGruenbaum is probably the leading expert in the room about video streaming in general
or is it just a file on the server?
13:17
That's basically what he does these days.
@Luggage, got a question for you about relational databases. Main thing is that I think I know the answer if I think in the paradigm of what I've seen so far, but it feels very wrong, and maybe relational databases are stopping being lazy for this particular thing. Imagine I was describing relationships between 2 users, again, like in twitter. Because it's many to many, we already decided we need at least a second table. Say there are 3 relationship properties (something like following, ...ct'd
@Suisse HTTP1.1 range requests
// corvid
export default function ThemeWrapper<Props extends { theme: string }>(ComponentToWrap: React.ComponentClass<Props>) {
implementation of it requires knowledge tho
I don't know how to make theme optional on the output wrapped component, though..
13:21
... blocking, muting). I have 3 options: a table for each property specifying an origin and target id; having a "relationship table" which is like the one before, but has an enum on what the type is, so you'd need 3 rows if you wanted to specify all of the properties (one with the enum set to "following", another with it set to "blocking" and so on); or a table which has 3 boolean columns, one for each of the properties
now, I think the relational way to do it is the second one, and maybe the first one
what do?
1 or 2.
3 is just a more complex form of 2.
ah, data normalization. That's what started people down that dark road to NoSQL.
@towc look up EAV
one of the things I've noticed is that there must be a lot of storage I can save, because if you're blocking, you're not muting, and if you're muting, you're not following, which is why I think 2 might be best, but then so many things come in, that it might bring a fetching cost
entity-attribute-value
13:23
on it :)
@ssube o.O? Can you ellaborate on that
people think all these tables are a problem, so they go with noSQL. They aren't a problem, they are the power or relational DBs.
@KarelG in document databases especially, you don't have to think about this, you just add another property to the document
You have to think about it in another way, later.
You trade adding a column and thinking about indexes for a lack of integrity and fragile search performance :)
13:25
like "how the hell to I efficiently get values that are deep on another collection"
as I implement more of this schema stuff I'm working on, heavily nested objects just look worse and worse
the occasional array or JSON typed column has their value, though. As long as you know how to use it in the traditional relational way first.
@FlorianMargaine it feels wrong 😒 Still reading about why it can be good, but urgh
it's basically implementing a graph database, isn't it?
@towc I'm using something similar and it's much more elegant than trying to treat all data the same
I might have my terminology all wrong
13:30
that's not a graph database, although it is incredibly easy to query as a graph
CREATE TABLE user_relationships (
    user INT NOT NULL REFERENCES user.id,
    related_user INT NOT NULL REFERENCES user.id,
    relationship_type INT NOT NULL // or a string, or enum or whatever
);
just seems like a lot of redundancy. But tbf can make it really easy to fetch things, and storage is basically free, as I hear very often
@Luggage that's approach 2, right?
yea.
using EAV, would it be like normalizing 3 tables? I realize this probably only makes sense in my head
if your tables are 'normalized' then there is very little redundancy.
13:33
even if storage weren't cheap, that layout lends itself well to compression
just flat tables with keys that let you make complex object graphs or filter however you like.
with any kind of dictionary compression, that enum will be reduced to a few bits
but would be something like user, relationship_type, target
also good.
user_relationships.relationship_type is long
user_relationships.type seems just as clear
13:34
@ssube oh, wait, this would have been in the same table as anything else for the user
or anything, if I use the "entity" approach
still no
ok, so approach 2 as I first defined it, I'll go with that
you don't have to keep all the attributes/value pairs in the same place
you can have multiple tables, each containing one attribute for a bunch of entities
13:36
but before I go ahead, I don't know if I should port everything to EAV
maybe I'll finish this first, and try that later
it may not be textbook EAV, but it's related
sure, I think it makes sense
"port everything" no. probably not.
ECS is a related pattern on the class structure side
@ssube user_r<tab>.r<tab>
13:37
You can have specialized tables for each type of attribute or even each attribute, it helps with lookups.
seems fine to me :D
.createTable('user_relationships', (table) => {
  table.increments();
  table.timestamps(false, true);
  table.enu('type', ['follow', 'block', 'mute']);
  table.integer('origin_id').references('users.id');
  table.integer('target_id').references('users.id');
})
got this right now (knex syntax)
@ssube ya know, sometimes people has to fight with their nested objects being stored in their NoSQL DB.
I'm still not certain if NoSQL should be used by everyone
@Luggage Nice, that makes sense
good afternoon ^^
13:43
we have seen lots of clogged mongodb's and that " we should fix that "
@KarelG i think sql databases make sense sometimes
mostly, it doesnt matter if you have a relational database or a non-relational database
but in other cases, a non-relational database would be optimal to get good scaling and better queries
please allow me to disagree with you
permission granted
KarelG is not muted
posted on September 11, 2017 by Mathias Bynens

Every six weeks, we create a new branch of V8 as part of our release process. Each version is branched from V8’s git master immediately before a Chrome Beta milestone. Today we’re pleased to announce our newest branch, V8 version 6.2, which is in beta until its release in coordination with Chrome 61 Stable in several weeks. V8 v6.2 is filled with all sorts of developer-facing goodies. This post

(@KarelG on a side note... on which of the three statements do you disagree?)
13:53
> Lookbehind assertions, another new regular expression feature, are now available by default. The name already describes its meaning pretty well. Lookbehind assertions offer a way to restrict a pattern to only match if preceded by the pattern in the lookbehind group. It comes in both matching and non-matching flavors:
cc @Zirak ^
finally
(?<=[a-z]) and (?<![a-z])
I wonder who if anyone ever had problems with strings not being longer than 2^28-16 chars
i never had problems with strings not longer than 2^28-16 chars
that's 268 megabytes
13:56
at least... no problems related to its length
@towc parsing files
I guess?
wait... you mean 2^(28-16) or (2^28)-16?
large amounts of JSON are easy to come by
well, it's ~1.07 GB now
13:57
@Wietlol powers have precedence over subtraction.
any kind of sensor suite can produce a gb of json in minutes
wait, is this one of the main reasons doing data science with JS is not a thing people do much?
i have no idea how he gets to 268 bytes with 2^28-16
work logs, my car, anything really
I mean, there's countless ways around it, but still..
13:58
@Wietlol <--- this one
@towc not compared to what real big data tech provides
!!> (Math.pow(2,28)-16)/1024/1024
@towc 255.99998474121094
@KamilSolecki Annie isn't cancer. Yasuo is cancer.
oh wut. I guess google divides by 1000
yeah, they do
wth google
14:00
using 1000 is technically valid.
well... in most cases, efficiency in both storage and processing doesnt matter
on top of that, you can get good hierarchy-based sql libraries
so the only difference is writing queries
@rlemon is it? :/
assuming the management is done by the database management application
So, how many bytes in 1 char in js again?
2?
well, it's still "mega", but we're scientists damnit
14:01
@shriek usually but not always
@shriek variable-size, uses utf-8
*utf-16
ASCII*
oh, TIL
!!shrug
14:01
¯\_(ツ)_/¯
I thought it was utf-16 too. The heck.
that is some shitty garbage collector
!!woosh
@Wietlol it's referring to the bin icon utility thing, I think
@towc iDunno what that is
that's like, the defining feature of garbage collection
@ssube I thought it was the big trucks?
@Wietlol if you've ever used a desktop environment, chances are you know what it is
@rlemon nah, those are just a front for the mob
14:04
(that means windows/mac and most of linux)
gosh, I think I need to shave just about every day
it's getting irritating :/
@towc i still have no clue what bin icon utility thing you are referring to
what OS do you use?
I shave when people start thinking I'm homeless
@Cereal I fix that by never leaving the house
14:06
@towc why even shave then
@Cereal because he looks like a wet rat otherwise
But if he never leaves the house
@Cereal i shave when people start mentioning that they have started being bothered by me starting to look like im homeless
@Cereal sometimes I'm tempted to leave the house
14:07
link dead ? :o
works for me
oh, thank god the facebook link expired
oh, doesn't work for me
you're probably caching it
quick, take a screenshot so you can blackmail me
do it, i wanna see it
14:09
Oh god
fuck
what the shit
You look like the grinch
14:09
what is it
I hit a cat with my car once, kinda looked like that.
@jAndy found a rat in the shower and took a pic of it
Is it possible to interact with a windows GUI interface with Ansible?
some sort of rabid molerat
using something like pyautogui
14:10
I thought towc was middle eastern this entire time
I don't know why
@NathanJones probably but ansible doesn't work well on windows
@towc why
close enough
tbf there's an after image:
let's not forget
14:11
I too take selfies shirtless
for more nudes, call at 1-800-LAMBDA
!!s/LAMBDA/FBI/
@rlemon for more nudes, call at 1-800-FBI (source)
Is anyone else's chat constantly refreshing and re-pinging
Because it's really annoying
not mine
user1596138
14:15
Thanks for birthday wishes
user1596138
user1596138
Was a good one. Not much service the whole time tho
too busy with the goats
@Zirak would be jealous
user1596138
Dude yea haha we were hanging out with some mountain goats
user1596138
Technically sheep I think
user1596138
@BenFortune I tried it yeah
it sucked
well with the extension things I had, I'd rather use a mic boom or something idk
hmm
Friend at work wants to do something similar, I just linked him reddit.com/r/Vive/comments/4tcelk/…
I just kind of accepted that my vive cables are going to be everywhere
lol
Hi folks, I started an Electron project to manage my NodeJS scripts instances. The code is not quite ready, but I published it on GitHub to let ppl interact and maybe get some contribution. I actually have an open issue that I can't fix. I'm trying to kill all scripts that been started when I quit the app. That code is in an Angular Controller and it's never fired, but when I do use it on my entry point script, it work, but I don't have access to my Angular variable from there...
Anybody would be willing to help/collaborate? github.com/jonathanlaf/nim
I did find a use for my helghast helmet though
14:29
@BenFortune yeah I did it just like in the first video
it would wrap around my neck at times lol
Okay so I got roped into doing a meetup talk tomorrow at the last minute and I just made what are either the best or worst slides I've ever done: slides.com/craigspence/proxies-rocksies#
also the tension was off on the ones I bought they had issues holding them up sometimes
@phenomnomnominal 2/10. Not enough sheep.
@Trasiva that's mean/accurate
Also, only one kiwi? Do you like...hate your country?
That shit should be covered in kiwis eating kiwis.
14:32
@phenomnomnominal broken image on first slide slides.com/craigspence/proxies-rocksies#/1
@JonathanLafleur it's working for me?
also broken for me
I get a broken link image
@phenomnomnominal Broke for me too, figured it was a NZ thing.
@Loktar There's a dark fetus joke in there
14:33
Yeah it might be
for the record, it's a picture of a rock.
PSA: Make sure to see if you are affected by the Equifax data breach. Don't register for the service though, it basically will do nothing to protect you, and voids your right to litigation.
4
One of the ROs should sticky that.
@Trasiva not entirely true.
The wording applies to the service, not equifax.
you can also send a letter to opt out if you're super paranoid they added that option for people to have peace of mind.
They wanted it to void everything, but they changed it to exclude the breach anyway.
after folks got pissy about it
14:36
mongoose, if I wanted to completely update a child array on a document is .splice( 0, this.array.length, ...values); the best way to do it? I can't see anything on the api docs about a clear method or being able to just replace the MongooseArray or w/e with a new regular array
That seems like a really dumb pin tbh though
I'll star, but unpinned.. this happened a week ago lol
it's in the news
I just got access to the website today.
we don't usually pin world events
I mean so was Hurricane Irma
14:37
It's been so bogged down.
i like the tweet that shows that your ticket id is the current timestamp
@Trasiva weird I've had no issue getting to it
user1596138
@Trasiva Oh wow lol
user1596138
They give you a single click button to enroll in that TrustedId thing
@rlemon one bug per second please
14:37
@Jhoverit you get a day to go back
you wont be enrolled today
@Loktar My grandmother tried to call Saturday because she's computer illiterate. She was on hold for six hours before she hung up.
like for me I have to go back Sep 12th
@Trasiva she could have saved 5 hours and 50 mins by going to the site
user1596138
Good lol
user1596138
I don't want it yeesh
user1596138
I figured it would give me options
14:38
Screenshot of when you're assigned an Equifax security freeze PIN. It's just a timestamp of when you made the freez… https://twitter.com/i/web/status/906638411930497029
nah that's just a check really
to show if you're affected at all by it
according to his twitter, they changed it, but anyone who got an old pin needs to email them
they were giving false positives last week on it though
@rlemon yeah I might do that for all 3 of them, didn't know about the freeze
cost a diff amount of $$ per state though
user1596138
I was in the rockys and didn't see anything about that
yeah it came out like Wednesday I think? idk
pretty shitty overall
user1596138
14:40
I drank a bottle f rum on a waterfall at 8000ft lmao
like half of America was affected lol
user1596138
Jeez
user1596138
@Loktar did you see the goats lol
@Loktar And they waited six weeks to announce the breach, lol.
@Jhoverit no actually I'll have to look
user1596138
14:41
21 mins ago, by Jhoverit
https://streamable.com/3tt60
they really don't want to be in business anymore
user1596138
Lmao these mountain goats jus came up to hangout
woah crazy
@ssube LOL right? Reminds me of Target
chat.stackoverflow.com/transcript/message/39088927#39088927 I know some of you have drank the mongo juice before.
didn't they sit on it for a while?
14:41
not as interesting as equifax, but halp
although I still shop there 😒
never used mongo with mongoose
I should have used bookshelf.
@Suisse basically a file
It's a file telling you what other files to download
user2620028
@jhoverit who were you with? lol
user1596138
14:45
@HatterisMad My brother
user1596138
Half brother
@Jhoverit lmao, I actually debugged streamable the other day
@Jhoverit 26 now?
(The lmao is about the goat being funny.)
user1596138
23 lmfao

« first day (2522 days earlier)      last day (2653 days later) »