« first day (2712 days earlier)      last day (2461 days later) » 

user9107868
00:00
@Cerbrus just be careful and use (some) common sense.
user9107868
Do that and you should be perfectly fine.
in my experience you still die profusely :P
user9107868
@ssube what color brain did you use?
I don't know what color my brain is. Grayish, probably?
user9107868
00:05
@ssube what class do you play? (sorry for my terminology)
I see there's quite a lot of spawns from rooms I cleared...
uh, class?
I play fringe class
user9107868
@ssube what type of weapon? (magic, ranged, melee, summoner)
most of them, mixed. My current gear is an Eye with the white string and black counterweight, the scythe-shooting scythe, a portal gun, and some other stuff.
user9107868
hm. Melee.
medium-range melee, if anything
user9107868
@SterlingArcher Whoever made that did a nice job of making a cliff hanger...
user9107868
@ssube I use magical ranged melee.
user9107868
Which breaks a lot of rules.
how can the built-in weapons break rules?
00:11
@rlemon ?
user9107868
@Cerbrus stuff spawns all the time down there.
user9107868
@ssube umm... Terrablade? In my case, a Legendary Terrablade?
not sure what you mean by rule breaking, it's just a weapon
user9107868
@ssube just means it's not what you consider a sword to usually be.
00:19
stackoverflow.com/questions/49374439/… where is a good dupe for this question? it's been asked 100s of times
I usually close =/== as typos, but that means no hammer
you should check the pending edit, though
it's almost worse than the question :D
00:48
morn
@SterlingArcher I hope the instructions of this firework don't actually say "Light and hold it"
01:47
@KendallFrey oh shit you're factorio famous
factorious
02:02
@david lol "famous"
though this will probably soon be my most upvoted post
it's the top post, that totally counts
even if it doesn't last
people will link to it sporadically for years
02:28
Go to bed
03:05
03:26
morning
@ndugger who is that? it looks scarily similar to me ><
03:49
@KendallFrey hover text
took so long to get drones
man
I researched medium domes before I got them
i hate that you can't connect domes together
i have like 6 small ones
and i want to trash them all and make them mediums
but mediums are so far down the tree
04:30
OMG I MET @monners
Lies
05:37
@ssube You mind seeing if you can help me with this strange test case? It's in PHP, but I'm thing it's a language independent problem. Chat Here
Hello friends, how does one make it so that resources (like an image) isn't visible in dev-tools . . . ? That's really all I'm trying to do. I need to display some images to canvas, but make sure the images aren't locatable.
I hate to ask this question, I know it is essentially a useless thing to do, but it's what I am required to do . . .
I know it's possible "somehow". I really can't make a great guess on how though. I think it has to do something with having some sort of custom rendering layer that can draw images given data rather than an image instance. I got this impression because image-resources don't show up in browser tools if they're from an engine like Defold, or from an Emscripten project . . .
(Packaged data does show up, but I was surprised to find they could actually display images to the screen without any of them popping up in the dev tools)
05:59
Use putImageData or something like that, perhaps?
People can always screenshot what they can see, though
Chrome even lets you "copy/save image" for canvas now, so you'll probably want to z-index it to be below other elements too, so it's hard to right click on
I've tried making a lot of arguments against trying to protect images at all and just use your copyright as a defense but it's, unfortunately, a lost cause! And thanks, I will see if that does what I'm looking for :)
Regardless, screenshots and dev-tools will always be able to extract the image
I can see ways to make it harder still, though
The biggest hurdle for me right now has been making an image be displayable without chrome being able to rip it for the user somehow
Individually that is, apparently as a whole(the actual scene) isn't a concern . . .
@ShaifulEzani Welcome to the JavaScript chat! Please review the room 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.
06:05
I was looking in the wrong API this entire time . . . wow, rookie mistake. I was looking at canvas instead of context . . .
@CapricaSix Who flagged that?
@Andrew Hahaha happens
06:22
hey ssup guys
06:35
ohhi
07:10
ohai
@Andrew have you ever seen the network tab in the dev tools? What they’re asking is impossible.
@ndugger there are ways to do it, although not certain how plausible it is with JavaScript
And if you're talking about data _at all_ being shown, yeah no matter what the data will show up but some engines are able to make sure the actual image source isn't in the dev tools
WTF is wrong with TS ? in this code , foo is type of FOO and not string ??
function identity<T>(val: T): T {
  return val;
}
const foo = identity("FOO");
I really tried convincing them it isn't possible . . . but I have to make something convincing enough for them to make it look "difficult"
wtf
does not compute.
@Andrew unless you’re using webpack and packing up the binary as base64 inline in your js, the network tab will show the url to the image
07:19
@ndugger yeah, deflation will originally make it so it doesn't show up "loaded", but as soon as we deflate it on the client side (even as a freaking blob) chrome will show the image . . . So IDK if there's any way to render images unless it's through some custom rendering layer . . .
meh, typos in there but the idea is there I guess
Sounds like you work for idiots
I think there’s a drm api now, but I don’t think it applies to images
I don't understand why the requirement is so adamant . . . I mean what they want is doable in engines that do exactly what I describe ( I think ), but what's the point if as soon as someone rips it it'll be forever ripped
Anyone able to take a quick look at my jsfiddle and help please?
paste it on here, someone will probably look eventually
jsfiddle.net/3Lp0s4wu/2 all the stars should be yellow because of the js code, but only half of one of them are?
07:25
Not sure what you mean but all of them are yellow for me
hmm not on my end
Actually works perfectly for me
What browser?
Works on chrome for me, and works on Edge too
works on firefox as well
07:27
hello
why click event of span is not triggered?
the span is displayed in rightmot part
rightmost*
strange what should i do?
are all the stars yellow when you go onto the jsfiddle?
None of them are yellow onload
oh that is my problem, i need all of them to be yellow onload
if you look at the js code starlabels[i].checked = true; it should click them all and make them yellow
if you look in the console, you will see it lists all the stars/inputs, but doesn't check them all
ignore my quesiton
i havent imported jquery
the fish
oh boy lol
@TheCodesee doesn't actually do anything but error on my side
07:32
what is the error?
missing an element with the id="starrating"
I just put it on now
the fieldset should have that id
oh i forgot to update the fiddle silly me
do you see the issue now
@Sherlock Another problem solved by adding jQuery!
maybe, not yet
07:35
@Neil and another problem added
looks like starlabels is empty on my side
@Andrew try this jsfiddle jsfiddle.net/3Lp0s4wu/8
That’s some ridiculous code
?
i think the issue must be with starlabels[i].checked = true; because console.log(starlabels[i]); outputs all the inputs which should be checked
Don’t use radio buttons
07:40
but isn't that the easiest option to change the colour of the stars when they're clicked?
and hovered
You can only have one checked radio button of the same name
Use checkboxes
Yeah
Just realized the problem by that fact
the last element is the half star
so when you make it true, it's the only one that's checked
@TheCodesee that's the solution for your radio buttons
Was sad to find out Dart does not support Blob's for ImageData constructor
i see but that won't really help because sometimes i might not want all 5 checked e.g 3
Lol, dart
so i should change the radios to checkboxes
07:46
Dart is love
dart is a nice language though
Dart is dead
Dart is gaining popularity every month
Lol no
And flutter coming into Beta, and Google Fuschia, is making it even more popular
Dart 2.0 is literally just announced this last few weeks too
07:47
Dart died like a year after it came out
screw grammar
Only like 3 people use it in production
It looks healthy too me
Yeah, as a job language it's dead
dart?
isnt it dead
But Google obviously sees it's potential, and Flutter is probably going to bring it back to life for mobile dev
07:48
Yes it is
It was a novel effort
Looking at it's repo, I'd say it's very much alive
But nobody cared
@Andrew people still contribute to jquery as well
A lot of things may not be used as much, but even Angular.js isn't dead
Its like one of those wanna be C, but they can't just become Rust so they throw in a little of functional language into it
@Andrew if you attempt to use Angular.js in production I will find your boss and ask him to fire you lmao
Dart is alive, okay guys don't hurt my feelings
lol
07:51
@Andrew for anything new it is, and that’s how you define dead in the programming world; there will always be legacy apps
Have you seen flutter though
for real
that's real appealing
No, because I don’t waste my time with dead languages
Lol how to win arguments 101
Is lua dead
no
@Andrew I mean he is right, you know. Not many people using it means that not much stuff is created in it, and you end up either having to write every little solution yourself (dependency injectors, state managers, etc etc)
#define DEAD(X) (!isUsed(X))
07:55
Lua is a scripting language that’s a widely used drip-in to things like game dngines. It’s not common anymore though
It’s not comparable to dart
If Flutter is good enough, Dart will be very alive. The language is less important than the framework
I want to believe that Dart is not dead
like most old languages, it sticks around for niche roles
I know for sure it's not commonly used
I can agree on that
an old language that isn't useful in some context is dead
07:56
@Andrew no, besides what nick said lua is the to-go language for platforms that offer users to code their own functionality (for example, home automation systems)
But I feel like even if it is dead, it's just bursting with potential and it's uncertain what if in the future it will "remain" dead
Just like fortran
Dart is special in this case I think, it still has active projects going on which bring life to it . . I think it has a chance to comeback. Languages that were dead in the past always have the chance to come back, you know what I'm saying? I'll call it dead for now then
One man’s potential is another man’s jquery
@Andrew and NASA still uses fortran
Moot
Haha
We'll see ! :)
07:59
No, i know everything
xD I have no doubt of that
What would you classify Haxe as? I'd say it's lively, but there are no real jobs with it, and it's got a small community
Haxe came and went pretty quickly, like dart
It was really hip and cool for a few months, but failed to gain any adoption
Yeah vastly different goals, but vaguely similar outcomes
@ndugger do you do any game dev?
- suddenly sees "eclipse games"
@Andrew I happen to love groovy, but nobody seems to like it
It actually has some clever features involving changing the context of code dynamically
you can write def somecode = { a() b() c() } without defining a, b, c
:D the website looks . . . groovy? Hahaha. It does look fresh! I'd be fooled thinking it wasn't a commonly used language
08:07
Then assign an instance of an underlying class with methods a, b, and c, and run it
Oh wow
but it's a dead language, no point kidding myself :P
Similar to what javascript can do, right? Except without the necessary "this"?
yep
That's interesting, saw you can have symbols which have spaces like: 'a function name' or maybe im confusing it with something else
I would really appreciate if you give me some insights on implementing audio, video call support, and media upload?
I love questions like these
@Andrew yeah, you can do obj."$someVar" to do the equivalent of obj[someVar]
groovy seems like a nice language 😄
but you could get away with obj."${someVar}Property" to do obj[someVar + "Property"]
08:16
it's got some neat aspects for sure
Hell . . . I'll use any language if it has a nice way to make games
@MadaraUchiha "isolated from each other". And from the underlying OS and resources too ?
I use Monkey2 and it's perfect for my needs - though it will never be a language used by businesses
@DenysSéguret As in separate memory? Yes.
Their own heap, stack and garbage collector
Can you sandbox the system access they have? Like writing/reading files?
08:26
@Andrew I think you can, only place I've seen it used in production is Screeps, and they do that as well.
I feel sorry for people
@MadaraUchiha I got that but how is that enough to run "untrusted code" if it still can for example read your files? Does it come without access to require and node's libs ?
@ShrekOverflow I actually hear pretty great things about firebase
completely ignoring what the tools are built for and thinking that it'll be an easy development
@MadaraUchiha Firebase is firebae :3 if you know what you are looking for
they brand it as a silver bullet and it usually becomes a fireball for the entire dev team
and firestorm for the people who pay the bills
Unfortunately most people who fall for those are the same ones who think Ionic is a good idea for app development and is future proof
@DenysSéguret Yeah
You choose what to expose to the isolate
if I'm reading this correctly.
08:33
@DenysSéguret we have something in production at Auth0, we call it auth0-extend
in our case we just built a product to properly isolate containers and manage them
Thanks, that's interesting
09:03
boy, I did not knew that sales meeting is that boring
currently in it and started to reddit
😪
09:39
TypeScript question
Is it possible to get all of the keys of a type whose values are functions?
i.e.
interface Foo {
  a: () => void;
  b: string;
}

type OnlyFunctionKeys = Magic<Foo>; // 'a'
why do SASS and postcss transform css vars into static?
@MadaraUchiha what is the type of ?
eg you can keep them at runtime codepen.io/wesbos/pen/adQjoY
or typeof
w/e
and then modify them
09:48
@Wietlol Eh?
typeof anything that's a function is function, which I thought might be useful, but ended up not so much
TypeScript can't follow the extra level of indirection between the key and the value.
do you even sass?
I most likely need to wait for 2.8, should be fairly easy wtih conditional types.
@MadaraUchiha seconds?
@MadaraUchiha hmm, good question. To get a specific one is easy, but i don't think TS yet provides what you want
what's wrong with teamspeak?
09:54
@MadaraUchiha you cannot loop through all properties of an object?
I do prefer discord, but for big groups and organized parties, TS is better
@Neoares ?
@Wietlol Sure, you can
Object.keys(obj).forEach(key => {...})
I tried what you're getting at already though
It doesn't work
if (typeof obj[key] === 'function') {
  // type of key should be only the relevant subset here, but it's not
}
closes the door
09:57
TypeScript @Neoares
@Neoares Give up you pleb lmao
We're talking about TypeScript
@BenFortune on what
If you tried to be extra funny, it came up more as extra dense :D
09:58
xDDDDDD lel
I'm not trying anything
Just dense then, got it 👍
@MadaraUchiha it works for normal JS objects dough, what is so special about the typescript object?
@MadaraUchiha yes
@Wietlol I want to get the type, it works in runtime if I cast explicitly
I'm always dense in the morning

« first day (2712 days earlier)      last day (2461 days later) »