« first day (2720 days earlier)      last day (2243 days later) » 

4:00 PM
f16711d182bfe1e1ac499228ed00ea95
how hard can it be to guess that
^^
 
22
A: Is the format of GUID always the same?

icktoofayNo; there are other formats, such as the format you listed except with braces. There's also more complex formats. Here are some of the formats MSDN lists: UUID formats 32 digits: 00000000000000000000000000000000 (N) 32 digits separated by hyphens: 00000000-0000-0000-0000-00000000000...

so, in characters, you might need more
but you never ever store it in characters
you store it as a uuid
 
@jAndy the fuck kind of guid is that
 
which is a 128-bit number
an unsigned very long if it pleases you
 
@KendallFrey couchdb -> uuid()
 
the fuck
 
4:01 PM
it's got the right number of characters. it's a uuid
just not formatted
 
it's nonstandard though
there's no "e" version
 
it's data from a db-specific function
 
@Luggage why was I over thinking this
problem solved :D
 
@KendallFrey 85439310538887472206282820280666028846
that is your value in base10 :D
 
4:02 PM
@rlemon Was that the solution to the bed issue you were showing us yesterday?
 
rlemon has bed issues?
poor soul
 
@hilli_micha knobs back off during the print
 
yeah,he has to take piills and everything
That would make sense.
Vibrations/Movement are an annoying gremlin to deal with
 
posted on March 28, 2018 by CommitStrip

 
user2620028
@rlemon and thread sealant isn't appropriate why lol
 
4:04 PM
he may need to adjust later
 
It can't be an inherent problem. Mine at home is fine and only two screw on this one do it
 
that picture reminds me of my live-time quest... to find a macbook (or any laptop stand whatsoever) which just has cooling elements, without FAN's. Much like Peltier or something just not as cold
 
@HatterisMad it's not set and forget
 
I wasted months for that, it doesn't exist :(
 
user2620028
@rlemon wut lol
 
4:04 PM
but i but you can print a knob or part to apply friction to them to prevent turning
 
@jAndy peltier wouldn't help, it generates more heat than you started with
 
@HatterisMad I don't wanna be cranking on knobs to adjust it later.
 
user2620028
thats why i said thread sealant and not loctite
 
@KendallFrey well yea.. but on the other side I guess. The effect of cooling a device would still hit
 
I think a stronger spring would solve it as well
 
4:05 PM
It doesn't solve any cooling problems though, only moves it and makes it slightly bigger
 
but again, no one needs to like "freeze" in negative celcius degrees. Would be totally sufficient to have something which cools electronically to 0-4°C
 
yea, the spring is to blame, i bet.
 
but such things don't seem to exist
I guess a refrigerator is a technical wonder
 
or just print a small circular shim to pre-load the spring
 
user2620028
@jAndy then make it
 
4:07 PM
That or use some washers you have laying around
 
@jAndy no, it's just a bad solution
 
I know I've got a few stuck in every couch in our house
 
@KendallFrey how can that be a bad solution? To have an external cooling plate as stand sounds terrific to my ears. Especially of outside temperatures raise
 
user2620028
@hilli_micha the steering rack bushings in my car disintegrated and i just shoved washers in it till it worked again, i think hilli might be on to something here.
 
@hilli_micha thought of that but then saw the solution I used first
 
4:08 PM
@jAndy Because then your cooling stand would require a cooling stand
 
jAndy replace its fan with a noctua
 
@KendallFrey so you're saying a mechanical, rotating.. "thing" aka Fan is the best we can do in 2018?
 
yup
 
user2620028
@KendallFrey with proper design, the cooling stand could cool the cooling stand and the thing that sits on it. ALSO you could make iced cream like they do on the side of the road in thailand
 
@jAndy No, I'm saying that your proposed alternative isn't really an alternative
 
4:09 PM
fans move air, so you get a free place to dump heat. getting fancier doesn't mean you have less heat to dump, it means more
 
user2620028
@jandy buy one of these and set your macbook on it youtube.com/watch?v=YSQxQN6WTaI
 
exactly
 
just turn a compress air can upside down and spray your laptop
 
basically, if air isn't enough, use something with more heat capacity (liquid)
 
That would certainly be the most expensive way to cool a laptop lol
 
4:11 PM
also, the heat of your laptop is coming out as air, usually, so helping that airflwo is the most efficient way
unless your laptop has heat-conductive pads on the bottom
also, try closing visual studio
 
basically we're talking 1st world problems heavily. Macbooks aren't even very loud, even if the fan gets fired up to full spin. Usually you can't even hear the fans, but... from time to time, if you connect like two screens to your macbook
 
Visual Studio getting a lot of love today lol
 
the fan runs on like 3-4k rpms instead of 2k
which makes SOME NOISE
WHICH ANNOYS ME
:p
 
user2620028
have you tried removing the hair stuck in them
 
Get noctua
 
4:13 PM
In your defense, when you're used to silence from a laptop, and then all a sudden it makes even a mediocre amount of noise, it sticks out like a sore thumb.
 
it's perfectly aligned, cleaned and on an aluminium stand
 
stick a kazoo onto the exhaust
 
The easiest way to improve the cooling:noise ratio is liquid cooling
 
@jAndy The Game
5
 
there is no such thing as hairs :P
 
user2620028
4:13 PM
get @user1596138 coworker to blow some tea into your laptop vents and im sure it will work better
 
TS question, what's this syntax called? this.props.onKeyDown!(e)
 
@corvid The ! is a non-null assertion
109
A: In Typescript, what is the ! (exclamation mark / bang) operator when dereferencing a member?

LouisThat's the non-null assertion operator. It is a way to tell the compiler "this expression cannot be null or undefined here, so don't complain about the possibility of it being null or undefined." Sometimes the type checker is unable to make that determination itself. It is explained here: A ...

 
nice thanks
 
Essentially a typecast to NonNullable<T>
 
Oh doesn't work with functions :\
 
4:18 PM
what do you mean?
 
Basically, if it's undefined, call noop
 
oh it doesn't actually check types
it's just a cast
 
Can I ask an Angular question here. Here's my post: stackoverflow.com/questions/49538398/…?
 
yeah, I have a lot of places where I use an event to perform some operation, but then want a user to be able to optionally pass through a handler for it
onKeyDown: React.KeyboardEventHandler<HTMLDivElement> = (e) => {
  if (this.props.onKeyDown instanceof Function) {
    this.props.onKeyDown(e);
  }
  // my code
}
 
I'm updating my package manager (from bower)
 
4:22 PM
to?
 
At the actual state shall I prefiere yarn or npm ?
 
0
Q: Form validation is not working in angular?

its meI want to check whether the dropdown is empty. Need to show the required message and If not empty, enable the submit button. If empty, disable the submit button. Below is my html Below is my html <form [formGroup]="myForm" (ngSubmit)="save()" > <mat-form-field> <mat-select formControl...

 
I like yarn, but is uses the npm repository and npm is the 'standard'
 
not supported yet
but proposed
 
4:23 PM
On vote for npm
 
That wasn't a vote
 
The main point I see is checksum of dependencies
 
4:38 PM
posted on March 28, 2018 by Myles Borins

Notable Changes Upgrade to OpenSSL 1.0.2o: Does not contain any security fixes that are known to impact Node.js. Fix for 'path' module regular expression denial of service (CVE-2018-7158): A regular expression used for parsing POSIX an Windows paths could be used to cause a denial of service if an attacker were able to have a specially crafted path string passed through one of the impa

posted on March 28, 2018 by Myles Borins

Notable Changes Upgrade to OpenSSL 1.0.2o: Does not contain any security fixes that are known to impact Node.js. Fix for inspector DNS rebinding vulnerability (CVE-2018-7160): A malicious website could use a DNS rebinding attack to trick a web browser to bypass same-origin-policy checks and allow HTTP connections to localhost or to hosts on the local network, potentially to an open inspector p

posted on March 28, 2018 by Myles Borins

Notable Changes Upgrade to OpenSSL 1.0.2o: Does not contain any security fixes that are known to impact Node.js. Fix for inspector DNS rebinding vulnerability (CVE-2018-7160): A malicious website could use a DNS rebinding attack to trick a web browser to bypass same-origin-policy checks and allow HTTP connections to localhost or to hosts on the local network, potentially to an open inspector p

posted on March 28, 2018 by Myles Borins

Notable Changes Upgrade to OpenSSL 1.0.2o: Does not contain any security fixes that are known to impact Node.js. Fix for inspector DNS rebinding vulnerability (CVE-2018-7160): A malicious website could use a DNS rebinding attack to trick a web browser to bypass same-origin-policy checks and allow HTTP connections to localhost or to hosts on the local network, potentially to an open inspector p

 
o.O
 
user1596138
Someone catered Brisket Burritos for lunch
 
user1596138
So I'm eating a BBq brisket burrito. Which turns out to be an awesome combo
 
user1596138
No.
 
I'm all brained out
[...colors[0], ...colors[1], ...colors[2], ...colors[3]]
Is there a better way to do this
 
4:48 PM
Hey there, any google spreadsheet experts in the house?
Does anyone know how to interpolate a column letter with a custom row number?
 
I guess flatten is a thing
 
How does that work?
 
@KendallFrey yeah I really, really like that feature... that and that "pipe" operator with functions. Not sure how to use with typescript
 
@corvid basically, wait and hope they add it
 
@gespinha Sorry, I was just rubber ducking the entire room, ignore me
 
4:55 PM
@Cereal [].concat(...colors);
 
What is the name of the feature that's like this?
myString
   |=> capitalize
   |=> trim
 
Is that an actual feature?
that just looks like myString.capitalize().trim()
 
Pipeline
The operator is |> tho
 
The pipeline operator could be the single best feature since destructuring added to JavaScript if it lands IMO. If I had to choose between this and Observable landing in JS, I'd honestly choose the pipeline operator, @littledan. I'm a big fan https://github.com/tc39/proposal-pipeline-operator
Yeah found it
 
Holy shit SO embed just took whole of my screen
Although I need a bigger monitor
1280x720 :(
 
4:57 PM
forgive me
 
Although it's clean only if you have functions that take single parameter ..
 
Can't you make a function that returns a function to handle that?
 
hi all i have a quick question for those smarter than myself on JS

i am writing code that creates an event when someone clicks a button

`event = document.createEvent('HTMLEvents');
event.initEvent('sidebarState', true, true);
document.dispatchEvent(event);`

so that code will *create* the event. how would i go to modify the event so that i am not making a new event every time the button is clicked?
 
Why not just use Haskell at that point
 
@corvid That would be the obvious functional approach. There are others discussed in that article
I don't think you can make a decent attempt at solid FP in JS as long as this sticks around.
 
5:01 PM
Push Haskell for the language of the web for 2020..
 
WASM, basically
 
@HollerTrain I don't think you would want to
why mutate then re-use an event?
 
I still think the pipeline operator is ugly af
 
so it is suggested to create a brand new event every time this button is clicked @rlemon ?
 
Other than referencing functions within a class, I can't really remember the last time I've used this, maybe I'm just bad though
 
user1596138
5:02 PM
@RahulJain didn't mean to be a dick we jus have enough creepers in here. Best of luck
 
🚽
 
@HollerTrain yes, why wouldn't you?
 
yup lol
 
the most exciting thing about |> is that it would bring the minimal character set size to run any other js code to 5 chars instead of 6 :D
 
5:03 PM
@rlemon that just seems like it would be a lot of overhead and DOM work every time
 
it's minimal overhead, and nothing on the DOM
 
@rlemon should i at least check if an event exists with that name and then removeEventListener ?
 
event listeners are not events
 
before creating it again
 
they don't care or need to be touched
 
5:04 PM
so i see dispatchEvent, is there something like for that for removing an event from DOM @rlemon
 
most of the event api is read only anyways. so even if this were optimal, I don't see it being possible.
@HollerTrain no, why would you? you don't have anything you need to remove.
 
when i create an event is it taking up "space" on my DOM @rlemon ?
 
no. the event has nothing to do with the DOM
the DOM can trigger events, but they live in different spaces
 
so to conclude, having a button and every time it is clicked it runs through the code of creating a new event is totally acceptable?
 
yes, I don't see another way
 
5:08 PM
DETIAL
 
800$ off
 
@KevinB Every day
 
so in other words, they're way overpricing shit after the 30th
 
Almost every day
 
i'm still curious where the event sits in memory @rlemon
 
5:09 PM
@KevinB No there will just be another sale on the 30th
 
The CSSWG is great at naming stuff
 
@HollerTrain it sits no where. the event is fired, the handlers capture it, it bubbles or not, then it's gone.
 
they just introduced a css specificity override selector and called it :something()
 
npm start
 
ah ok i was missing that point @rlemon thank you
 
5:10 PM
shit
2
 
:superimportant
when :important isn't enough
 
I love it when the name of a tab takes up 1/4 of my screen width
 
if you had more tabs it wouldn't
 
it would, this is VS
 
ew
 
5:14 PM
anyone use google docs? How come when you copy paste text lists, it doesn't copy the numbers?
total rubbihs
 
@rlemon what i could do is check the current event created, if it is same eventName as what i am trying to create, i can just dispatchEvent instead of creating it over again
 
@KendallFrey sounds like SSMS
 
@HollerTrain do you currently have a problem with making new events?
 
@SuperUberDuper you mean like the bullet point numbers? Just highlight the list and click 'numbered list' on the ribbon
 
@rlemon making the new events is easy. i do not want to go through the three lines of code and overhead to createEvent, set the name, set bubble status, etc - if it is already created i can just run dispatchEvent and be done
does that make sense
where 'eventName' is the title of the Event i am passing into my method
 
5:17 PM
1 message moved to Trash can
@HollerTrain Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
@KevinB yeah, except :something() does the opposite; it sets the specificity of its 'argument' to zero so that other styles will always override it
 
if (this.sidebarState === eventName) {
        console.log('same name');
        event = document.createEvent('HTMLEvents');
        event.initEvent('sidebarState', true, true);
    } else {
        console.log('not same name');
        document.dispatchEvent(event);
    }
this.sidebarState would be just a string saving eventName
 
1) I'm not even sure you can dispatch the same event twice.
2) I'm still not convinced this is solving a real problem
3) you can't as far as I can tell change the data associated with the event.
 
@TylerH I mean when you copy select with the mouse, it doesn't selected the numbers on the list
 
sorry i had my if/else backwards it would be this:

if (this.sidebarState === eventName) {
        console.log('same name');
        document.dispatchEvent(event);
    } else {
        console.log('not same name');
        event = document.createEvent('HTMLEvents');
        event.initEvent('sidebarState', true, true);
        document.dispatchEvent(event);
    }
 
5:19 PM
@SuperUberDuper that's standard behavior across like all programs
 
that code seems to work for me currently
 
@SuperUberDuper the numbers are not actually part of the list
they're a display property/element in the HTML
 
its really annoyinf if you want to paste into an email
 
Your email program probably supports highlighting text and turning it into a numbered list
if not then you need a new email program
 
wtf rimworld is tiny
that's impressive for how much content you get
 
5:22 PM
@BenFortune yea. it's not graphics intense and procedural shit is small usually
 
oh, filesize
I was like what
 
hwat
 
Yeah in hours played per GB of data it's pretty good
 
@rlemon no sorry my code i just posted isnt working fyi
@rlemon i'm just trying to come up with a solution to edit the existing event data
 
there is none
 
5:24 PM
instead of going through eventCreate every time
ok
 
just make a new event. unless you're doing this a few thousand times a second it isn't any concernable overhead.
 
@rlemon is what i am suggesting not "squelching the event" ?
 
@user1596138 I was actually kidding yunno
 
@rlemon like that lenovo laptop that updated the registry every time you scrolled... brilliant design twitter.com/SwiftOnSecurity/status/835353433322446851
 
everything about the event api is telling me they're one time use. you fire it, the event phase happens, it's done.
new Event('foo') each time you want a new foo event to fire
@TylerH nice
 
already?!?! I freaking hate dandy lions i.redd.it/1liyy9xageo01.jpg
 
s/n/d/
 
@SterlingArcher I freakidg hate them too
 
good god, I'm seen that gif 3 times in 3 different places now
 
5:40 PM
Wanna see it again?
 
It's a good gif
 
@SterlingArcher incoming turtle porn
 
oh boy
 
@SterlingArcher It just makes me think of Haas F1's weekend (cause the gif was used to describe it). Come race day, they only had 2 pit stops to do, and both of them they left a loose wheel.
like how badly can you fuck this up
 
not everybody does VR racing Kendall
 
5:43 PM
that has nothing to do with anything Chordan
 
@BenFortune uh
 
@BenFortune protip: if you notice lag in the game, don't generate 100% of the world. 30% gives you plenty to choose from and the game doesn't have to track the rest
 
@KendallFrey that's what I got as a random seed
 
the rooms now work \o/
 
5:49 PM
either go full LCARS or make it pretty.
 
In the Star Trek fictional universe, LCARS (; an acronym for Library Computer Access/Retrieval System) is a computer operating system. Within Star Trek chronology, the term was first used in the Star Trek: The Next Generation series. == Production == The LCARS graphical user interface was designed by scenic art supervisor and technical consultant Michael Okuda. The original design concept was influenced by a request from Gene Roddenberry that the instrument panels not have a great deal of activity on them. This minimalized look was designed to give a sense that the technology was much mo...
you picked the worst possible link to showcase it
but yes.
 
okay... tbh I haven't seen any thing from the star trek franchise, and I'm not sure I get the reference :P
 
you're dead to me
 
no time to watch anything else, since my plan to watch anime list is pretty big
 
5:55 PM
TNG isn't a show, it's a lifestyle.
 
@rlemon except when it gets banned in the 23rd century
Fuckin Welshie, man.
 
@user1596138 i.imgur.com/uaUoLZh.gifv :D
 
i.imgur.com/MoYt4Uq.gifv apparently he's been workin on this for a bit
@KamilSolecki ^ check out this polish dude
 
@rlemon any ideas on how I can make it more pretty? :>
 

« first day (2720 days earlier)      last day (2243 days later) »