« first day (2524 days earlier)      last day (2647 days later) » 

00:18
Like that
lol the person who designed that was certainly not sober
00:32
I'd love something like that
I hate not having a nice view while pooping
don't really mind if people have a vue of me
that first one is LOOOOVELY
I just realized it sounds like I want to masturbate in it
I didn't sound like it until you said so
Maybe you should use the timed one for that
game's so close to being done
wanna test it?
let me push to github
will upload to a server anyway once I think it's ready so I can get more people to give feedback
just adding mobile support and tweaking some values
morn
so I installed react-form-generator instead of form-generator-react and wondered why the code was nothing like the examples on the github repo (incidently named react-form-generator).
01:18
it's almost as if it's not the same package
how to concatenate this two strings like this (mobile screen = msocbrieleen)
please help me how to do this?
@Mosho I know I felt very silly at how long I stared at the code going "but it's all just so different".
uploaded the game to server: towc.eu/game/loud-walls
welp, doing weird stuff on mobile
ok, that's fixed
but for some reason it's not remembering how many levels you get
ok, that's fixed too :)
there's some aesthetics I kind of don't like, but that's basically the whole thing
@KendallFrey don't leave me hanging bro
01:37
wtf is this?
a blind maze
idk how to play lol
for js13k
arrows keys to move around
the numbers are just stats, they don't give you any useful info on the maze
I should probably make sure that's clear, good catch
01:38
69 did I win?
that noise is loud
69 you win
everybody wins by definition
at one point I saw a 3d model thing?
idk man I have no clue wth to do
well, that's very useful for me, thanks :)
01:39
this motherboard doesn't have a speaker on it, but apparently one showed up and started chirping at me
I don't know what was I thinking, just putting numbers in there
@towc yeah not even being a jerk or trolling just saw the link and started messing around
it was like DDR, if you were having flashbacks to your time as a Russian spy
but not sure at all what to do lol
needs some directions or an explanation
oh, that's very fair, dw
you got what the controls are at least, right?
01:41
the title screen is nice
I started pressing arrow keys and parts of some cipher appeared, telling me about gulags in Siberia
yeah I was hitting all of those
@ssube ah, I see you found the easter egg
if you go deep enough, Keanu Reeves dies just so he can be reborn again and kill your character
it might take me all night to get a working tutorial within the 13kb limit :/
I think you need to make it less blind
@ssube it's to balance the epilepsy I've caused with last year's maze
01:44
or, like, constant low audio that changes volume and pitch as you go
the high chirps that I heard made me immediately turn off my speakers, so the rest of the game was even more confusing
I did think of that, but some things told me it was not a good idea
bass is always better
buttery biscuit bass is the best
hmmm
I've noticed that firefox makes some really annoying sounds compared to chrome/opera's
part of me thought "I can make it a completely blind-friendly maze game"
and I probably still can, using a speech synthesizer to read the titles should easily fit in the 13kb limit
but now I'm thinking "maybe I should drop sounds completely"
why
it'd be the only game in js13k to do that
and since I can't beat other competitors by actual skill...
sure, it's all about the fun, and I enjoy thinking sideways
like hanging from the wall like a dead pig
01:48
creepy
@towc even worse than the maze game I made
but but but
have I seen said game?
I've managed to fit in a better introduction to the whole game btw
you should add VR
that would really make it good
can you imagine?
01:59
@towc almost certainly not
I genuinely think this is a really good exercise (serialized memory?)
maybe with more soothing sounds
What if you made the sounds give more info?
like?
like, each time you move, you can know what's on every side of you
change volume or pitch
use the stereo output
02:01
the main point was that you'd have to go by memory
don't use the stereo output
@towc oh :(
and try to minimize how many times you hit a wall more than once
still, it would eliminate part of the guess and check
you wouldn't need to bump into a wall to find it
@KendallFrey did you randomly just go in all directions until you reached an end? XD
at first yeah
cause I didn't know what it was
02:02
here's the thing: bumping into a wall is not bad. Bumping into it twice means you've forgotten something
can't forget something you never knew
but I guess this is a whole philosophy that can't simply be explained from within the game
Did I ever tell/show you the idea I have for a 2x2x2...n maze?
@ssube hence why the first time is ok, if not encouraged
you haven't been able to explain your philosophy in the space of this chat room, multiple streams, and some years. What could possibly explain it within a 13kb game?
02:03
Rather than have a 2D nxn maze, have an nD 2x2 maze
@KendallFrey oh gosh. How would you display it? Shift the user's dimensions so that only 3 at a time are displayed?
that game is pretty hard
You couldn't display the entire maze
At most, a list of which dimensions the user can currently move in
got a prototype?
and every move is effectively a toggle in a certain dimension
02:04
urgh, it's 4am already 0.o
@towc I did a bit with it, let me look
You should also make it randomly flip the feedback
need to get this sent and all by 1pm
so black flash means open, and white flash means wall
@david oh god no
I need a backstory to this
not within a game
but between levels
or maybe within... if it's based on the tile
@KendallFrey oh, that's pretty clever
in fairness, it's what I'm doing, just more mathematically interesting
Also, have you seen Oskar's slider maze?
That was partly the inspiration for this
@david well, how many levels deep could you get?
02:08
@towc for 4 i needed a piece of paper :D
that's good :)
and sorry kendall, I really just want to get this done and go to sleep :/
trying to make up a back story that kind of explains how to play
> I'm lost in a maze, can't see anything. My hands are tied. I can bang my head on the walls. The air also makes a sounds when I move. Hmmm
this is just plain bad
I feel like there should be a moral message behind it
(can display 3 lines of text on the page with the numbers)
wait, let me upload it
One year ago my life changed forever https://twitter.com/dog_rates/status/775410014383026176
(right now it's only on level 0, but the engine is already in place to be able to put a different one in every level)
knowing how it works, it's playable, but that noise is still annoying
you can mute the tab and just play based off the visual cues
I think I can develop the story as a kind of stockholm-syndrome thing
the level names are meant to be set by an external person
while the commentary when playing (and when seeing the 3d scheme) of the level are by the user
02:20
Or you could stick with your theme and focus on making it good
so I can get the user to feel affection for the maze, as the creator tortures them
well, I can definitely improve the sounds
  protected isBound(expected: boolean): true | never {
    if (this.bound !== expected) {
      throw new (this.bound ? InstanceBoundError : InstanceNotBoundError)();
    } else {
      return true;
    }
  }
I think the looks are somewhat ok now
I'm tempted to use this, @towc, just to make you proud
I don't see what would make me feel proud of that :/
02:23
nested ternaries, touching parens, that sort of thing
ah, I see, good job
how to check if the time is null in a string?
if (time === null)?
2017-09-21T00:00:00.000Z
you forgot weird spacing
02:24
in the above
the time isn't null, it's midnight
@Sajeetharan none of that is null
you're null
go to your room
i want to ommit if the values are 00:00:00.000Z
is there a simple way
02:25
i try to get to bed before null, but the last three nights i've been playing endless space till late and end up going to bed at like quarter past null
!!> "2017-09-21T00:00:00.000Z".endsWith("00:00.000Z")
@littlepootis true
@littlepootis did you check out my latest craze?
I'm shamelessly pitching it now to get feedback
33
A: Check each node.js request for authentication credentials

Zikesapp.all('*',function(req,res,next){ if(req.isAuthenticated()){ next(); }else{ next(new Error(401)); // 401 Not Authorized } }); // NOTE: depending on your version of express, // you may need to use app.error here, rather // than app.use. app.use(function(err,req,res,ne...

so with that answer
the guy passes in a IsAuth method into the .get()
what I need is to pass in the IsAuth AND use the actual session
if I just passed the req.currentsession = sess
would that be okay?
02:39
8/10
im currently having an entire meme conversation. we literally haven't said a word to each other
dating in 2017
how about figuratively?
@rlemon up for some non-epileptic challenge? towc.eu/game/loud-walls
I'm liking where the plot is going in the storyline
not atm
did a guy called 'raynos' hang out in this chat ages back?
02:46
yes
did he ded?
no just busy and moved on
unless you heard otherwise
nah, i just saw an SO answer by him and thought the name sounded really familiar
Does anyone want to work on an open source project with me?
i seem to remember him being a cool guy
02:47
@TylerL how open is it?
Was thinking of redoing it in react if we can still use local storage instead of a database
that is fake, no massive explosion
ive seen planes do that all my life in games and action movies and there is always an explosion
@SterlingArcher that's actually a sick landing
03:01
i don't think you know what a landing is
I've played ksp
that's a solid landing
I saw a movie once
@rlemon you can land?
@rlemon I think that would be called dendrobraking.
@SterlingArcher when you end up on land, not especially dead
03:11
where do you guys go for some freelance work
Usually the jousting tournament but most blacksmiths wont work my lance for free :(
wat
03:27
wat
oh that was intentionally weird
carry on
i have built a webpack bundle which i then export as an npm module. i find myself having to then import it like this:
var Wave = require('MyModule').MyModule.default
normally you just require('MyModule'). i'm trying to think of what might cause the npm import to have the object i actually want nested so much.
@SterlingArcher Is it ribbed?
read through that see if it helps
@Mosho thanks. any points in particular (always find webpack docs hard to read)
libraryTarget
  output: {
    path: path.resolve(__dirname, "lib"),
    filename: "index.js",
    library: "WaveFormVisualizerLib",
    libraryTarget: "commonjs"
  },
03:48
see how the output changes
with different targets
I would tell you outright the answer if I knew
it also depends on how you export
from your code
Ace
Ace
hi
for exporting, i have my package.json's 'main' key point to lib/index.js (the output bundle), and i'm npm link'ing over to the consuming project.
04:02
dude should have launched streamable.com/y97mk
@Mosho looks like there is some tension between using webpack or npm for this. for example the peer dependencies.. i'm doing that in npm but it can be done in webpack. so i'm not sure if maybe i should eschew npm and just go full webpack.. then again .. npm link. oh jeeezz
user2620028
04:20
@david that was an immediate fuck no
@david woah
04:41
@AlexBollbach you can't get rid of npm/yarn for webpack, that's not how they work
that's pretty funny
05:21
lol "two weeks and 179 google searches later"
my title says "front end developer" but my real title should be "can google better than most"
user8210158
05:37
//= require jquery
user8210158
If I am using jquery should I use it as above because when I take off //=, I've got error.
where did you find that?
kinda looks like haskell's logo: =λ\ (in reverse)
user8210158
It is in my file application.js
and where did you get that?
user8210158
javascript/application.js
//= require jquery
//= require jquery_ujs
//= require ckeditor-jquery
//= require bootstrap
user8210158
05:43
So if I use jQuery , should i leave it as above?
that might be some special syntax for a bundler
user8210158
I just want to add some javascript feature to ruby on rails app and i have some trouble to adding. Basically I want to enlarge pictures when somebody click on it..
but yeah, you don't achieve anything with uncommenting it
user8210158
So, I'll left "as is" but still the images don't enlarge
1 message moved to Trash can
@User Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
1 message moved to Trash can
@User Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
user8210158
05:51
It is formatted as above.
user8210158
So, about 5 lines of code are considered the big enough and could not be posted?
user8210158
<script>
  (function() {
    var imgs = document.querySelectorAll('img');
    for (var i=0; i<imgs.length; i++) {
      var img = imgs[i];
      img.addEventListener('click', function(e) {
        this.style.transform = this.style.transform ?
            ''
          : 'scale(1.2) translate(20%, 20%)';
      })
    }
  }())
<script>
user8210158
Should I add some another code in additional to the code above to make the image enlarged?
should toggle classes isntead of setting the zoom each time
user8210158
I am not sure where in my code the line that you used:
<img src="https://68.media.tumblr.com/avatar_d1fb21fbe012_12
user8210158
06:05
There is folder for upload images ... and no <img src>.... Where it supposed to be in ruby on rails framework?
user8210158
just try to make it works:
https://stackoverflow.com/questions/45806292/how-to-enlarge-images-in-ruby-on-rails
added some fancy ambient music and slightly improved sound effects: towc.eu/game/loud-maze
I'd say it's almost ready :/
would be nifty to have a volume slider
06:28
Mornin
it has a volume slider 😃 kinda
(not uploaded yet)
I'll get that to work, then off to tesco's to get some stuff for breakfast
Tesco yay
I'm going as well :P
Well not exactly to tesco, but right next to.
letters are dancing, I guess that's not a good sign
I went for a 1hr walk at some point to get some air, and I started hearing voices of people singing the same words over and over again, for like 15 minutes, I'm pretty sure it wasn't real
06:45
wow, I really like hot module reloading with webpack. my page just reloads the content.
I accidentally learnt that you can put a script inside a canvas and it will still run
which might be super useful, semantically
i dont really know what a canvas is
nobody does
lol
i--
i--
@hsimah it is like a board where you can draw things using paint
06:51
that's basically my understanding
it's not something I've ever used or would probably want to use
i--
i--
define:canvas -> a strong, coarse unbleached cloth made from hemp, flax, or a similar yarn, used to make items such as sails and tents and as a surface for oil painting.
@hsimah you want to use canvas, trust me
have you ever heard of webgl? The "platform" is canvas
simple 2d raster graphics? canvas
Welp that seems closed
codepen.io ← most of these things are done in canvas
@KamilSolecki NOOOOOOOOO
i--
i--
wait ah are we talking about the HTML5 canvas here?
06:53
don't starve
@i-- no? What are you talking about?
Gotta wait 15 mins to opening :(
but you'll die!
It's not for food
take your leg off, you'll survive that way
They sell monitors :P
i--
i--
06:54
ah fine I am talking about the canvas used by painters to practise painting before they start painting house
everything is always for food, don't be a hypocrite
sure, monitors may not be the easiest to cook, but they contain a lot of nutrients
o/
i--
i--
\o
alright, here it is. I'll pass it to a few people and see if there's something worth fixing that bothers them a fair amount
I'm not fixing the whole game mechanic. That's the purpose of it. Stop asking.
@KamilSolecki hoodie dude
06:57
at this point should be explained enough for people to easily figure it out on their own
07:13
@KarelG ay, its cold af today
10 deg right now
18 °C here. But lots of wind (10 beaufort)
20C here. Sunny.
morning
@towc oh you did it, haha
DON
DON
07:28
hi all,
user8210158
Why  java script doesn't work (not enlarged images) code as below:
<html>
<head>
<title>children</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
var imgs = document.querySelectorAll('img');
imgs.forEach(function(img){
	img.addEventListener('click', function(e){
			this.classList
//-->
</script>

<style type="text/css">
.enlarged{
  transform: scale(1.2) translate(20%, 20%)
}
</style>

</head>
<body>
<center>
<img src="https://68.media.tumblr.com/avatar_d1fb21fbe012_128.png">
DON
DON
Jqgrid showing duplicate records while searching for a record.
user8210158
it looks like I took exact code as provided above.
@User incomplete script ? this.classList <-- no assignment of new class name ?
user8210158
07:32
I took code provided here
https://jsfiddle.net/78fddhmo/
DON
DON
Master of jqgrid...???
and since the script is above your <img> elements, the events won't be hooked
user8210158
So, what need to change/add?
put your stuff in <script> AFTER your image elements (thus before </body> )
and complete the this.classList
user8210158
this.classList?
My comprehension is much better if i could see it at least once how it supposed to be
07:36
I'm on my way to Amsterdam. I'll be there Sep 13th to Sep 18th. If anyone wants to meet up ping me. We'll also be presenting at IBC so if you're showing videos let me know.
5
user8210158
What do you mean by my stuff?
@User this.classList.toggle('enlarge'); as shown in the jsfiddle that you have linked ...
How can I unignore a dir with git, ie:

node_modules/*
!node_modules/bootstrap

doesn't work
and your "stuff" is the code in the <script> tag. Just select the whole script tag, cut it and past it after your image elements: so move your cursor to before </body> and paste it there.
07:44
@SuperUberDuper it works better if you add / at the start of the string
user8210158
I've changed as below but still no luck to see enlarged images:
<html>
<head>
<title>children</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
var imgs = document.querySelectorAll('img');
imgs.forEach(function(img){
	img.addEventListener('click', function(e){
			this.classList.toggle('enlarged');
  })
})
//-->
</script>

<style type="text/css">
.enlarged{
  transform: scale(1.2) translate(20%, 20%)
}
</style>

</head>
<body>
<center>
3 mins ago, by KarelG
and your "stuff" is the code in the <script> tag. Just select the whole script tag, cut it and past it after your image elements: so move your cursor to before </body> and paste it there.
or use a load event listener
like
/node_modules/*
/!node_modules/bootstrap
?
user8210158
It doesn't look right as below:
var imgs = document.querySelectorAll('img');
<script type="text/javascript">

imgs.forEach(function(img){
	img.addEventListener('click', function(e){
			this.classList.toggle('enlarged');
  })
})
//-->
</script>
user8210158
Is should be as above?
07:51
convert imgs to array
@SuperUberDuper uhm
/node_modules/*
!/node_modules/bootstrap
this one
User, if you didn't have understood what I have said, then it is ok. But please don't try with trial and error. Comprehend it first why it does not work. Why is that initialization of imgs outside the script element? And try to comprehend why the click events didn't got handled.
user8210158
How to convert images to array/example?
I suggest to learn the basics of javascript first.
user8210158
Is it possible to show (if you know of course) how it supposed to be?
user8210158
If i see example related, I could learn quickly
user8210158
08:03
By the way I took java course and got A but I forgot all since I didn't use it.
javascript != java
<html>
<head>
<title>children</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.enlarged{
  transform: scale(1.2) translate(20%, 20%)
}
</style>

</head>
<body>
<center>
<img src="https://68.media.tumblr.com/avatar_d1fb21fbe012_128.png">
<img src="https://68.media.tumblr.com/avatar_46d507974436_128.png">
</center>

<script type="text/javascript">
var imgs = document.querySelectorAll('img');

// Array.from is not supported in IE though
Array.from(imgs).forEach(function(img){
user8210158
I mean javascript.
@User please don't lie. Those are very basic javascript information. You cannot get an A in that.
you cannot forget a programming language. It's like using a bicycle. You may forgot how to use it, but you still know the basics of it so that you can work again with it much faster later
user8210158
I have transcript with A. I do't encourage to believe.
user8210158
by the why, I remember we wrote some line in code that supposed to support IE
user8210158
08:12
thanks for help wit code.
user8210158
08:23
What is confusing that I've used java script recently and structure
<title>Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
<!--
function MM_preloadImages()
then style, and only then body . But you provide code where java script on the end....
Though, it has some meaning and it doesn't want that java script be loaded before main part in order don't leave the page empty.
JavaScript should be loaded in the body IMO
08:43
...through the mouth
you mean "in your face"?
eh, there is a link on HN that I have read ( this one ). I think that Google's terrorism countermeasurement algorithm has flagged her account falsely positive thus leading to that event
Hey :D
if I do a post in PouchDB and return a result, it's of type any, where can I see what it contains?
this.db.post(event).then(function (result) {
      // handle result
      result
    }).catch(function (err) {
      console.log(err);
    });
So like the doc id or rev id would be VERY helpful
Got it on my own
never mind
08:58
result...

« first day (2524 days earlier)      last day (2647 days later) »