« first day (1816 days earlier)      last day (3357 days later) » 

17:00
just for brevity. this example is simplified. my use case, the variables have longer names
@SterlingArcher 2obnoxious4me
If brevity is causing you to consider changing a solid logic setup, then re-consider IMO
It should be about 100kB. I prefer streaming it whenever possible.
@SterlingArcher I set off a car alarm with my exhaust one time. Made me feel like a douche.
@Cereal DOOTDOOT
@ssube lmao
17:01
HIS NAME IS JOHN CENA
!!stats user9170
@Luggage user9170 (http://stackoverflow.com/users/3618212/user9170) has 43 reputation, earned 0 rep today, asked 9 questions, gave 5 answers, for a q:a ratio of 9:5.
avg. rep/post: 3.07. Badges: 0g 0s 7b
Fun fact. 'Cena' is 'supper' in latin
HIS NAME IS JOHN SUPPER
I'm gonna put exhaust on my car for sure. But probably not until after christmas
You have to turn the car on to get exhaust
17:02
@SterlingArcher 0-60 <2s with 1800 ft pounds of torque
Also, buy a nice catback and a test pipe, don't fuck with cats
I think you'll wake a few people with your burnouts
@user9170 Stream should work, too as loong as you are only res.send() OR attaching it to mail.
not both at the same time.. though maybe you can split the stream for that
They are separate. thanks Luggage
e.g. I just pass the stdout Stream of an external process to res.send to send excel files generated elsewhere. that sounds similar here?
17:05
strong edit
But can one stream to a buffer? Or is there glue code I need to write?
well, yea, you can read a stream into a buffer, if it's not too big
that's how you get any binary data out of a stream
I do already stream stdout to res.send, but this scenario is different. I have a file that is being piped to a pipe, to a pipe to a buffer.
You can stream buffers, buffer streams, pretty much anything. Personally, I prefer to suffer beams and beam surfers.
You lost me on the second part of that, @user9170
17:08
stuffer beams is the implementation that makes the most sense
Yeah, I'm lost as well.
just watch
user3119231
yo, Riccardo990 whats up? Are you all friends now? :D
*hit windows key*
*type skype*
*hit enter*
*bing opens searching for skype*
Fuck I need an ssd
17:12
@rlemon that's gold
@Cereal doesn't fix that
win10 just sucks for that most times
Why the shit not
type "GIMP" and it cannot find "GIMP 2"
I have to wait a bit for it to find spotify
it doesn't find sublime text
ever
turn on web search
helps, but not much
17:13
one of my housemates got a new xbox the other day and we figured out how to get the voice commands working
totally looked up kitties and titties without touching the controller
hands-free porn is the holy grail of computing
my fucking ps4 constantly turns on voice mode on itself.
!!youtube Till The Last Breath Case #67
But! But! Windows is meant to user-friendly! And intuitive! And helpful!
17:13
like background noise from the game/ show will enable voice
function getThumbnail() { return someStream; }

// express
app.get('/getThumbnail', function(req, res) {
    getThumbnail().pipe(res);
}

// nodemailer
function sendMail() {
    var email = {
        attachments: [
            { name: 'text.png', getThumbnail() }
        ]
    };
}
user3119231
then start talking about cortana and watch her listening to you ;)
@user9170 ^^
I guess that's why it seems like edge never closes
am I missing something or is that all you are doing?
17:15
@Cereal da fuck is "Get Office"? An app to Get Something Specific? Seriously?
@AwalGarg It's the app that tells you to buy office when you install win10
Luggage: that will work? what about the data events and end event?
There's also 'get skype'
~_~
How the fuck do you bare that?
17:16
I bare it all, baby
Luggage: but yes, essenttially
@user9170 should.. both express and nodemailer work with streams already
@user9170 search github.com/andris9/Nodemailer#attachments for 'text4.txt' and you'll see them using a stream that way
TIL Ctrl + X, A will open command prompt with admin permissions
Luggage: thanks, I missed that
Rumor has it windows 10 command prompt allows you to copy text, finally?
17:22
Indeed
I mean, you always could
windows 7 had it too, you turned on aontoher mode, i forget what it was called
quick edit, i think
Awal: you could always do that, enable "Quick edit mode"
But now you can do it with ctrl + c!
user1596138
@Cereal That's retarded lol
windows 10 prompt is better, but still lacking
17:23
Win2k had it
user1596138
Control+C is sigint lol
I think Win95 did too
user1596138
Why would you want it to copy
i tried out cmdr, but it doesn't want to pin to the task bar, gotta play with that, I know ther eis a way
@Cereal in what context?
17:23
conemu, man
user1596138
@ssube Cmder is built on conemu
yea, conemu might be all i need. i'm not sure what else cmdr brings tot he table.
@KendallFrey I meant windows x
even the w10 cli doesn't have tabs, does it?
user1596138
Just more features.
17:24
it has transparency!
Last time I tried Powershell it was just horrible slow. I am guessing it's just me, or not? Cause /help took like 5s to execute
windows has had transparency since XP or before
they just didn't really use it
@Cereal wait what
still can't do it
17:24
@AwalGarg wat? PS is pretty fast, what with being .net
What does this mean? cb(err ? operation.mainError() : null, addresses);
@KendallFrey Windows + X, then hit a
@corvid what do you think it means?
17:25
@ssube "what with being .net"?
@corvid break it down into it's components.
@corvid cb(if err then operation.mainError() else null, addresses);
@AwalGarg PS is just a .Net REPL
Oh der. So it's passing two parameters to a node style callback. Not sure why that looked so weird
you can write a DLL in any .Net language and load it up in a PS window and instantiate classes, run stuff
it's pretty useful, actually
17:27
indeed, once you get over some oddities that PS brings, like making arrays of one element into non-arrys sometimes
I don't suppose a mod would unstar the Riccardo990 messages? I really think "hate starring" is a bad practice.
Also, ActiveX components can be used that way. I used an activeX barcode reader from PS with success.
it encourages a nice, clean, "this is the library" and "this is the UI" separation, cause then you can use the library as the CLI
ugh. gf uses my Amazon account because I have Prime
every time a package comes for her I get excited thinking one of mine arrived early.
I'm not good at this powershell thing
17:32
does she remember what she ordered?
sometimes
is the UPS man fuckin your wife?
My ups guy can't find the doorbell, let alone my gf's vagina
Zing!
@Cereal add-twoThings 1 2
commands don't use comma separated values for arguments
and functions defined that way are 'commands'.
kinda
17:36
Is it possible for a web app to download several MB of encrypted text data (into the browser) and let the user perform searches on that data (via some standard JS API), without the user being able to retrieve the entire data?
Not a chance.
Web Cryptography API doesn't help?
If the browser can decode it (as in, it has the key), then any technical use can get that.
The user has full control over the browser, so your sandbox is non-existent.
17:37
@ŠimeVidas That's not how cryptography works.
That's a field of research
Homomorphic encryption is a form of encryption that allows computations to be carried out on ciphertext, thus generating an encrypted result which, when decrypted, matches the result of operations performed on the plaintext. This is sometimes a desirable feature in modern communication system architectures. Homomorphic encryption would allow the chaining together of different services without exposing the data to each of those services. For example, a chain of different services from different companies could calculate 1) the tax 2) the currency exchange rate 3) shipping, on a transaction without...
Man I totally read that Wiki title wrong
seediscover.com/2015/10/06/… the bees are getting stronger
how can you not like dave grohl.
17:41
@SterlingArcher homophobic encryption could be hilarious
@Luggage @ssube @MadaraUchiha Ok. But is my use case valid, or should this not be possible in a web app at all?
I feel like that long form video format is all porn
@ŠimeVidas it's not possible
@ŠimeVidas have you shared your use case?
17:43
@ssube My q is, should it be possible? Would it be useful in the web platform?
@ŠimeVidas Generally, no.
If you send encrypted data and the key to decrypt it, you can't control how the user will use it.
If you want to keep it secret, don't give it out in the first place.
@rlemon Enabling web apps to download an encrypted data base and let users perform limited searches without allowing users access to the entire thing.
17:44
bah
in PHP, 4 mins ago, by PeeHaa
Anybody worked with momentjs and if yes does it really unfuckify having to properly handle clientside timezones?
The PHP people suck
@ŠimeVidas The client would need to decrypt it, no?
@PeeHaa It works well, but timezones are still fucked.
@ŠimeVidas Then to the search on the server and send jsut the results
@Luggage Technically, the browser could handle it. cc @Cereal
17:45
@ŠimeVidas The client is the browser
If the browser can do it, so can the user
it's not a question of if the browser can 'handle' it.
@PeeHaa timezones are always fucked. take the timezone.min file and hope for the best
@PeeHaa short answer: no
@ŠimeVidas ever hit f12 and debug JS? Any user can do that, too.
@ŠimeVidas The browser is not a secure sandbox and the human user will typically have physical access to unrestricted hardware.
17:46
Ugh fucking timezones
yup
I just had the same fucking issue
@Cereal @Luggage The browser can retrieve data via Ajax and then prevent an app’s JS code from accessing it if CORS isn’t set.
@ŠimeVidas If the browser retrieves the data, then it's stored locally, and they can access it
@ŠimeVidas that only prevents your code on the browser/client side form using the data. the user can still see it
17:47
You can decrypt the data on the server, then return only the plain text
Want your data safe? don't send it.
@rlemon Only two? So it must actually not be that bad :P
@ŠimeVidas The browser can't do that.
"Here is all my data and the key to it.. just please only look at the bits I tell you to, ok? Please?"
17:48
@rlemon I see a pattern...
@rlemon quits life
Honor-system cryptography
@Luggage nah, "Here is all my data which you need to see. But! Don't share that section with your master."
Man twitter knows how to catch my eye
@Luggage like take-a-penny leave-a-penny but with data.
17:50
though, hopefully the data has some value
unlike a penny
fucking pennies.
> MMA Fighter Poops Himself on the Mat After Being Defeated
http://www.commitstrip.com/en/2015/10/06/before-timestamp-0/
CommitStrip - Blog relating the daily life of web agencies developers
Before timestamp 0
CommitStrip
1444153710
You had me at poop
@Luggage How can the user view it? When I Ajax a cross-origin non-CORS file, and check the response in the browser's DevTools, it's empty.
with a tool that doesnt' depend on cors, like a proxy
the point is it prevent any use in the browser, but the data is still available
wow indeed
> The Brown Bomber will never live down his nickname
@Luggage Ok. So the browser is able to prevent the data from leaking, or?
same answer as before
17:55
@ŠimeVidas No
@rlemon quick help
@ŠimeVidas If you download all the data with ajax, then decrypt it client side, it means the client can decrypt any of your data
@ŠimeVidas No.
@ŠimeVidas You will be able to look at this clearly if you stop thinking it in terms of "browser<->server" and start thinking in terms of "client<->server".
Would someone know how to help me with a BootStrap javascript issue with tabs?
17:56
@CodedContainer Welcome to the JavaScript chat! Please review the room pseudo-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.
Girl sees that today is the day we met a year ago, txts me "Happy Anniversary lol"
@Luggage I'm asking specifically for this CORS case now. If an app requests cross-origin data via Ajax, and the data doesn't have CORS set, can the user view that data only using the browser?
What's a clever thing to say back to that
@CodedContainer There's probably a good chance
(without hacking the browser of course)
17:57
@SterlingArcher "a/s/l?"
@SterlingArcher "Want to celebrate?"
Boom, banging
god dammit Zirk
Too bad you already have a date with lemon
> Zirk
@Cereal :O that's subtle enough to work
17:57
awesome
@ŠimeVidas The user can see the data.
@ssube which girl?
Your plan will not work.
redhead?
@ssube How?
17:57
Not redhead
@Cereal I tried to add tabs using getbootstrap.com/javascript/#tabs without extra JavScript, however my tabs still do not work. I literally copied and pasted from Bootstrap and they will not work.
@SterlingArcher I'm sorry, you seem to have confused me with someone who gives a fuck
@rlemon huh?
different girl
@ŠimeVidas Hit F12, go to sources
17:58
@SterlingArcher do want coitus?
@rlemon I mean sure I guess
aw
@ssube MY BAD
Does a bear shit in the woods?
Wow. What a let down.
Security is not meaningful if it only prevents non-technical users from seeing private data
17:58
@rlemon FUCK YOU I LOVED YOU
At least give him something @rlemon
So, best response so far is "Wanna celebrate?"
@SterlingArcher "according to halmark the first anniversary gift is a clock, but I'm all out of L's"
Reverse the roles, and that'll be the response you'll be happiest with.
@CodedContainer Pretty sure you need javascript
17:59
oh my god YES
Using it
@Cereal It's not in sources
@rlemon funny that you missed an l in hallmark
@ŠimeVidas The javascript is

« first day (1816 days earlier)      last day (3357 days later) »