« first day (1092 days earlier)      last day (3872 days later) » 

1:02 PM
@Abhishek I know C, it's more for fun. And the code is right there: github.com/Ralt/png-reader
 
@SomeGuy hes friken awesome
 
and I like C.
 
Beautiful
uh, where is everything?
(you should probably check against argc here github.com/Ralt/png-reader/blob/master/src/main.c#L10)
 
@FlorianMargaine your c is gorgeous
:3 if u get what i am saying ;-)
nice use of whatspace :D :D
 
1:18 PM
Whatspace is the best kind of space.
 
@moefinley 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.
 
"765": {
    "id": 765,
    "name ": "Rain Butt",
    "useStyle ": 1,
    "useTurn ": true,
    "useAnimation ": 15,
    "useTime ": 10,
    "autoReuse ": true,
    "maxStack ": 999,
    "consumable ": true,
    "createTile ": 196,
    "width ": 12,
    "height ": 12
},
@Zirak the rain cloud is indexed as rain butt?
 
That'll be Octavian's extension.
 
lol
gotcha
 
@hexagoncode 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.
 
1:30 PM
this syntax.. does it mean it equals whichever one is true?
  navigator.getUserMedia = navigator.getUserMedia ||
    navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
 
@Zirak Oh crap ... you're right. hahah
@rlemon oh dude, 2.9!
 
just wait
uploading changes
 
@bushdiver truthy, not true
 
there are still ~30ish tiles I can't identify
 
it sets getUserMedia to whichever version it finds first
 
1:35 PM
@rlemon Why?
 
they are not listed :P
or not by the same way the others are
 
@ShuheiKagawa 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.
 
I need to add a loading bar next
 
Well, as long as you can identify the block related tiles it's fine.
 
i'm loading 78 sprite sheets
@OctavianDamiean there are 101 sprite sheets in total for block tiles.
i could only identify 78 of them via items.json
that is what i'm saying
and now that i've looked at these for a day and a half I think I know what to remove from the mapping for the center blocks
 
1:38 PM
Well that could be the desks and so on.
 
@OctavianDamiean nono
 
They're tiles too.
 
like i am looking at them
hold on
these
 
@phenomnomnominal it will equal the first one that is truthy? ( in the case of more than one truthy being in the statement )
 
like what is this?
adamantite ore it looks like
 
1:39 PM
191 is living wood.
 
but it wasn't in items.json so I just skipped over them
ohh how I wish I had the foresight to have automated this :/
 
198 might be asphalt
 
HAMMERZEIT!
 
hahahahahaha
 
1:40 PM
wat?
asphalt
 
asp halt
 
HAMMERZEIT!
 
it will be quite the satisfying little tool once I clean it up
add some options, organize the block types.
put in a filter
etc.
 
should I put sublime-project file on github or is .editorconfig enough
 
1:44 PM
@rlemon Yup, looks really good as it is already but it'll be awesome once it is done. We just need to add proper attribution for the image data.
 
no more MS paint for me !
 
Oh yea, @rlemon the wire will be important.
 
yea i've thought of that, just need to re-work the system now so I can have different maps for the different sprite types
 
That needs to be done in an overlay and we need an option to hide/show that wire layer.
 
then walls should be possible.
background-layer (walls)
middle layer (bricks)
foreground layer (wire / liquids?)
 
1:48 PM
Yea, walls and a nice background image.
 
yup yup
all part of the 'polish up'
 
Background image (selectable), wall layer, block layer, wire layer.
 
This should be fun
 
well for the background (because I generate based on screen size) I will let you select biome
 
Damn, that was a good idea. :D
 
1:50 PM
and i'll pick the images
the only thing I probably will not do is grass / moss
 
Yea, that's not necessary.
 
and would be stupid difficult.
 
@rlemon Why can't you place the dirt anywhere on your designer?
 
because that isn't how the game works :P
 
Wait, that's how Terraria has it too?
Yeah
Derp
 
1:52 PM
build it up
 
Also, there's one more thing which I'm sure you're aware of, sometimes it places the wrong blocks when there are adjoining blocks, like sometimes corners are brown when they shouldn't be.
 
ctrl+click to delete
@OctavianDamiean yea, that is mis mapping
 
Ooh, cool!
 
I include some parts that i shouldn't because I mapped from the dirt tile and they all look the same
 
Right click to remove would be more intuitive
 
1:53 PM
right click will eventually tell you block type
 
I see, yea well we'll get rid of that in the polishing process. I'll take a look at the code and try to understand it.
 
Ohh, big plans. that works, too
 
We should have a pickaxe tool which you select to destroy block be left-clicking on them.
 
@rlemon Will you be making just a designer, or the game as well?
 
and I will also allow for exporting and importing to json so you can 'share' designs with friends.
 
1:54 PM
Just like the wrench tools to place different colors of wire.
 
@SomeGuy who knows
 
Wait, like a clone tool, or a "this is stone"
 
@rlemon That's good!
 
@rlemon hah, that's the idea I forgot to tell you yesterday. :D
Gawd I <3 how you think just the same way I do.
 
lol
the code right now @OctavianDamiean is a mess.
I will have to re-factor most of it
 
1:57 PM
Yea but I need to understand at least the tile mapping part so I can start helping you. :)
 
@rlemon Crimtane Ore
Or the Crimson Blocks, something like that
 
shit, thanks @Zirak
ohh no
 
Whatever the Crimson things are called
 
that looks very much like Adamantite ore
but
 
@rlemon you don't know 202? Really? Sunblock.
 
1:58 PM
you could also be right
@OctavianDamiean like I said I just skipped them all
 
:D
I believe 204 is obsidian brick
 
well write em down and email / pm me with the list :P
 
@galleryguy 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.
 
and I will post this all to github soon
 
2:06 PM
wth
var val = this.value==="" ? "" : this.value; // mental IE8 fix :-(
that totally makes sense!
 
...what
 
What the heck could IE possibly be doing to require that?!
 
if a module is installed globally, does it not have to be required?
 
"a node"?
 
@SomeGuy: exactly my thought
but the datatables plugin seems to be weird anyway
 
2:08 PM
..
 
it's a jquery plugin but uses plain DOM internally for some stuff
and the whole 12k-lines code uses hungarian notation m(
 
Globally installed stuff are usually executables. But of course, if it's a library, it has to be required.
You have to require root stuff like fs and http, right?
 
ahh thats right
so the global part is more for permissions?
 
Global is for executables.
 
=D
 
2:10 PM
> The global install location is a place for command-line utilities to put their bins in the system PATH. It's not for use with require().
 
oh i see - it's so you can run from commnd line
 
WAIT!
@rlemon some parts are missing in items.json
There is a gap betwee ID 766 and 947!
A whole bunch is missing.
 
rain butt?
 
I couldn't extract stuff like pictures with the quick parser
Since they were made with some compound statements (nested ifs and the likes)
 
No, that's fine I'm going to look it up in the code, I just didn't know.
 
2:18 PM
The really correct thing to do is to just run the code and see what the items look like
A for loop and some hacky JSON output
 
user1125394
might be a bermuda triangle issue
 
I want a grub2 theme.
 
user1125394
!!> typeof NaN
 
@cc "number"
 
@Zirak It's a pain.
 
2:29 PM
This or this. They look badass enough.
@OctavianDamiean So as in most things in linux, looks simple on paper (pixels), is a giant pain in practice?
 
Yea but unlike most other things it can be a real fucking pain because if you screw up, you'll have to repair Grub. :/
 
Duuuude, @OctavianDamiean, duuude
 
ahahaha
I kinda want that. :D
 
So predictable
If I were a serial-killer + stalker, you'd be an easy target.
...just sayin'
...
 
Yea, up to the moment you decided to come for me. :D
 
2:32 PM
gnome-look.org/usermanager/… this page at the bottom and the next
 
So you had a thing with RainbowDash?
 
That's so awesome.
 
Why do people like MLP?
 
I might risk breaking Grub for that. :D
 
user1125394
2:41 PM
!!is urban biased?
 
@cc Impossible
 
You know, I lost all of my usb drives.
...I should probably burn Arch into one before I try and break GRUB
@OctavianDamiean Have you any experience with themeing GRUB?
 
user1125394
!!urban swag y u no work?
 
I had the experience that I broke Grub. :D
 
ouch.
 
2:43 PM
It might have been back in the legacy Grub days.
 
Can't remember.
 
Well fuck you then
 
Yea, it might be easier with Grub2.
Also, I've lost all of my Arch USB sticks too ...
So pissed.
 
People create such beautiful things
I just login into terminal and run startx
 
2:45 PM
lolwat
I feel sorry for you.
 
It's not bad at all. Sometimes I don't startx at all, just stay in terminal
 
But maaan
 
But ... well, everyone has his own environment.
 
Seeing people theme awesome for instance is so depressing.
I hate talented people
 
2:47 PM
lol
@Zirak so that explains why you hate yourself?
 
That's the problem, I see such talent, and I pale in comparison. My ego's fragile
 
Well, you have a different talent.
 
Nah with graphical stuff I've lost all hope. ...don't make a special episode on me
 
I didn't mean graphical stuff.
 
When will JavaScript 6 be released?
 
2:49 PM
You mean ES6?
 
Yesterday.
 
I mean the next version of javascript
 
It's being released right now. Firefox for instance implemented some stuff, like the arrow operator.
 
0
Q: jQuery UI Tabs not working Result is not displaying

Tomáš Aresak MalčánekCode is from jQuery UI Do you see any errors? I just copy and paste... Btw. why stackoverflow need to have so much words in one question? :D //Sorry for that <script> $(function() { var tabs = $( "#chats" ).tabs(); tabs.find( ".ui-tabs-nav" ).sortable({ axis: "x", stop: f...

 
@TomášAresakMalčánek 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.
 
2:50 PM
Really? What about other browsers?
 
There is no release date per se.
 
@Zirak it's an operator?
 
I've seen stuff in v8 that indicates they're implementing block scope (let), and I also vaguely recall hearing they're going to introduce arrows as well.
@BenjaminGruenbaum What else will it be?
 
I think let is silly, but people disagree
 
Is safari implementing new features?
 
2:52 PM
let is very stupid indeed.
 
^ agree
 
@TekiTech Not that I know.
 
@Zirak people argue that you shouldn't feel the difference from var if you're using it correctly anyway, and that it fixes some stuff like that it throws an exception on re-declaration
 
@Zirak Ok, thanks for your help. :)
 
The arrow operator also annoys me...it's such an easy obfuscator
 
I meant to link to the ES6 compat table.
 
@TekiTech np at all
ugh, and class being a thing...
 
@Zirak Why? I like the arrow operator
 
@OctavianDamiean wow, thats a big chart
 
2:54 PM
Yea.
 
@Zirak It's just syntactic sugar for prototypical inheritance though, that's all it does
 
You can see by the chart that Brendan Eich works for Firefox.
 
They're not changing the language, they're identifying patterns people use all the times and are trying to make them easy afaik.
 
@BenjaminGruenbaum And on the upside, we now have two seemingly identical beings. Imagine how fun debugging and explaining the difference to newbies will be.
 
:'( htere is no stun implementation for express :'(
 
2:55 PM
Bye. {=;
 
@Zirak It'll be dead simple "don't use var for new code"
 
Oh yea @BenjaminGruenbaum
20 hours ago, by Octavian Damiean
Well well, Brendan Eich gave a talk at JSConf and when he was talking about strict equality he says this. http://www.youtube.com/watch?v=IXIkTrq3Rgg&feature=player_detailpage#t=732
20 hours ago, by Octavian Damiean
Take that you cargo-culters.
 
@OctavianDamiean lol you think I haven't seen that?
 
Sadly he was over time towards the end and didn't get into why.
 
@BenjaminGruenbaum The 2nd part of the sentence, it's an easy "obfuscator". a.map(x => x*x);is a lot less readable and a lot less scannable.
 
2:56 PM
@Zirak You find x => x*x less readable than (function(x){ return x*x; }) ?
@OctavianDamiean I get why, because it's a behavioral language and === works against that.
I don't think equality is a behavioral property though
 
@BenjaminGruenbaum So it's going to take something 90% of the community doesn't understand because they think it's something else, and make it look like that something else, thus continuing the misunderstanding. Cool.
 
@BenjaminGruenbaum I wish he would have spent some time explaining his reasons.
I'm sure it's not the same reason I don't do it but still.
 
@OctavianDamiean Ask him, he has answered every email I've ever sent him and he is very often in es-discuss. You can also find him on IRC. BE is a pretty reachable guy. Most of these guys are.
 
@BenjaminGruenbaum Which is a shame anyway, since deprecating var is language rot. Function scope is enough.
 
That's a good idea actually.
 
2:58 PM
@BenjaminGruenbaum When reading code? Yes.
 
@Zirak You think I like the proposal? I think it's silly. However, most of the people who use JavaScript write it differently and use classes as object templates a lot. The language moves in their direction not the direction of the few.
@Zirak (function(x){ var x = 5; var x = 6; var x = 7; /* this seems unreasonable to me */ })
 

« first day (1092 days earlier)      last day (3872 days later) »