« first day (2202 days earlier)      last day (2746 days later) » 

6:01 PM
I'm not familiar with the Java position
 
Java can be front end, though. Not all front ends are web-based.
 
@KendallFrey strictly back end
 
That's Reverse Java Position.
 
public void ColdDayInHellITakeAJavaJobFactoryBean(Object me)
@SterlingArcher send her this
 
6:03 PM
Fuck recruiters though
 
FactoryAdapterFlyWeightDecoratorBean
 
Had to change my number
 
why would you give your phone number out so willingly?
 
can't just click block?
er, press
 
It was on my CV
 
6:04 PM
damn
 
@KevinB They were sharing my cv with other recruiter companies
 
online cv = no number
 
and it branched out
 
sending a cv = number
 
was getting at least 20 calls a day
 
6:04 PM
I love that android now has a block number feature on the phone itself
 
20 of the best quality recruiters, too, I bet
 
so handy
not sure when they added it, but I just noticed it earlier this year
 
is there a harmony setting on node for decorators yet?
 
If only there was a way to find out.
 
I've been looking on google
 
what do you guys use for small projects these days, Heroku is not working well for me, as the site takes ages to boot each time I visit
 
TypeError: Cannot read property 'map' of undefined
 
linode I think works pretty well
 
i know it is an array.. i don't know why is this message coming up
it's reactjs
 
I have a node app and plan to use a simple postgres DBA and simple auth
 
6:15 PM
@Shmiddty yoo betcha. Add me.
@SuperUberDuper if you want dirt cheap, use OVH or ramnode
@Trasiva yes and it's super hard.
 
super cheap for me
 
I pay $20 every 6 months for a dev machine (capable of RDP and Atom) on OVH.
 
@KevinB don't see decorators at all listed there :\
 
@SuperUberDuper get a VPs or dedi and host everything from there?
Tis what I do
 
@corvid decorators aren't es6
they aren't even finalized
 
6:18 PM
@ssube Did you find a good guild yet?
 
@ssube you know any all in one solutions for a web app with an auth layer I can deploy on OVH?

was thinking of using next.js (iso-js) + postgress for the auth, what do you think?
 
@SuperUberDuper there's no such thing
you can deploy anything to OVH, it's a server, but an "all in one solution for a web app" does not exist
@Trasiva I'm in a decent one, get 1400 GP a week or so, so I can buy a legendary scroll (4-5*) once a month ish.
 
@towc did you see the js13kGames winner? it's geometry wars!
 
@ssube Not bad, what's your name on there? I'll look into adding you tonight.
 
@ssube did you try rimworld
 
6:20 PM
@SuperUberDuper Pro tip: if anything claims to be an "all-in-one solution", never use it.
 
@Trasiva I think it's ltfugi at the moment. Def add me, my rep can solo up to giant 5 and with a decent DPS mon can be the carry in giant 6 and 7.
 
@SuperUberDuper express + passport + nodejs
it's an all in three solution
+ your db layer of choice ofc.
 
plus soloing Faimen or something just before that
 
@ssube I'll look you up, I have no idea which name I used, but I'll snap whatever it is so you know.
 
@rlemon yep. Rolled my own scenario just to play with. I have 6 or 7 doods with refugees showing up every 10 days and a drop pod every 1.5 or 2, a pet spider and scarab, decent distribution of jobs and a giant potato field already going, spawned on a planet with scattered jaguar skin dusters, so all my doods are wearing those.
 
6:22 PM
Yea, my Dagora farms Faimon hell no problem.
 
@Trasiva lemme delete a few people next time I go poop, pretty sure my friend list is full
 
HEY GUYS, has anyone used this node module express-socket.io-session ?
 
@ssube any horrific deaths yet?
I should start streaming rimworld sessions
 
@rlemon i'd watch that
 
@rlemon no, although we were attacked by a rabid squirrel. That led to one colonist getting infected and I almost cut off her arm before she developed an immunity. During the fight, my geologist/hunter came in hot with a charge rifle and may have accidentally shot the two melee fighters, but they recovered (one was only shot in the foot anyway).
then a pirate showed up and we stomped him and stole his stuff
 
6:24 PM
I have 0 melee fighters.
 
@corvid sounds like you have your answer
 
I made sure to roll a pair of melee fighters and one gunner, a pair of farmers, etc.
 
and if I end up getting someone who pref melee I kill them or make them do something else like 100% haul / clean
melee fighters just end up getting hurt too often in early game
 
Having played plenty of similar colony-survival games, this one has been pretty easy to get into so far.
 
later when you get armour and shit they are not bad
@ssube what 'character' and difficulty did you choose?
 
6:25 PM
@rlemon so far I've only fought a turtle, a pirate, and a squirrel.
 
ohh man. you must be on 'base builder' then
 
the screw-around one on either easy or normal
and a pretty favorable starting load out, obvs
 
yea you should up the difficulty to the third from easiest and choose the middle chick
then you get waves of 4-8 people attacking you every few days
 
orly? this world is already too easy, so I kind of want to do that and just frontload my colony with resources
quick start + challenging is probably my favorite setting (for the genre)
 
the only resources that are harder to come by are components and gold.
 
6:27 PM
how is the trap system? I use those heavily in gnomoria to defend my base
 
you need mods to make them useful
otherwise they are a pos imo
auto re-arm and the one that makes it less likely for you to trigger your own
I use gun turrets and a large map
the large map means more time to position my doods while they fuck around before the attack
and ofc wall off your complex, but don't use doors. make a 'maze' entrance on all four sides.
 
hey what's up @ssube ?
 
they will go to that and less likely to just bomb your walls
then you put guns inside of the 'maze'
 
@rlemon Does passport have any sort of ORM stuff so I don't have to worry about making a DB?
 
sure there is some mongo bs you could use
I use it with pg, so I have to do it all myself.
@KendallFrey i.imgur.com/wKEwNqM.jpg :D
well... it's shitty, but I could totes do that with crap around the house
 
user1596138
6:33 PM
@rlemon lol best halloween ever
 
i need to pass the full parent href to the iframe, and i'm thinking of using postMessage to do so.
 
I just googled "jeb costume" expecting to see KSP and not bush
I'm an idiot
okay this is just wrong.
 
that's so right
 
That's amazing.
 
@rlemon I usually just build my colonies like classic forts, either half buried or with walls on three sides and a chokepoint at the one entrance.
 
6:41 PM
@rlemon do you have a membership schema?
 
@SuperUberDuper no
@ssube I'm now trying to play open area maps
 
@Trasiva when you say solo (for faimon), do you mean auto? I just tried running my archangel through the last stage of faimon hell on auto and he just barely lost to the dragon.
 
no chokes or mountains to hide in
also makes dealing with dry thunderstorms harder.
 
@ssube I do Faimon 1 or 2 on auto hell.
 
ok, do you think passport will save me a lot of hastle @rlemon?
 
6:42 PM
20% of my time is cutting the grass around my map to make sure I don't burn down
@SuperUberDuper if you don't want to write the code yourself, yea
spinning up an auth system is like programming101 tho
 
@Trasiva ok, before those stupid unelemental monsters. I've heard the doing Aiden is better for energy/XP, but haven't tested it thoroughly.
 
@ssube Aiden is far better, but I don't have the runes for my Ramagos to do it properly yet.
 
last time I done an app with AUTHI used ASP MVC membership cause I was told by a colleague security should be done by the experts
 
rama isn't a farmer anyway
although if your ramagos is so good, you should get an ahman or chasun to back him up
 
I just got crushed by Giants B7 even with Arta
They just... stunned him every turn. He barely got to attack
 
6:44 PM
@SterlingArcher there's a reason you get awards for beating #7
and why I usually just farm GB6
 
what we talking boot here?
badgers?
 
vidja gaems
 
My best mons are fire so I can't even tackle GB5 on my own
 
what vidja gaems
 
@SuperUberDuper those who strive to only stand on the shoulders of giants never become giants. they're too afraid to try
 
6:47 PM
hmm yeah
 
ofc, that goes out the window if you wanna auth your own crypto and don't have a phd
don't do that
 
security is the only exception to that rule, imo
 
and you can implement security in your auth system while building the rest of the system
like. don't write your own crypto
 
@rlemon I thought every person should write their own crypto at least once?
Just so they realize how shit they are.
 
rot13 isn't crypto
 
6:48 PM
Turn. Your. Headphones. Down.
10/10
 
ah this is so painful to force myself to code something not easy
how to deal with the pain?
 
Learn to like it.
sexualize it.
 
I just split a simple code generator into a redux app with 4 components and 2 reducer functions, all i all I have 4x the number of files I started with...hmmmm
not sure I feel I accomplished much here
 
then why did you split it up?
 
6:53 PM
wanted to learn redux
so I can charge some $$$
 
then you accomplished something
 
charge them per loc and sleep on the enter key
@ssube you're a smart cookie.
you ever sent binary data via websockets server -> client?
 
I haven't yet, but I plan to be, and the options are messagepack or BSON.
 
I have an image in memory and I want to send it to the client. base64 data seems kinda stupid
 
6:55 PM
I believe you can send blob frames over a socket.
 
websockets seem like the right approach and just send a blob
yea, I'm just having 0 luck googling for it
everything is either socket.io which I dunno if it mutates things or client -> server
 
I've been looking and that's what I'm seeing pretty much everywhere
 
anyone get tired of learning?
 
no idea why .map is having an issue..seems like it is not seeing array
 
6:56 PM
yea okay but that describes sending the blob from the client to the server?
(20 second skim)
 
it's not specific, that I know of
 
hrm, I'll read it then
the one I was looking at basically just did socket.send(file)
but it was with socket.io
 
the code, at least, is just how to use an ArrayView around the socket message
 
I would be absolutely stunned if normal websockets handled the data properly and automagically
 
and ws.send(data, { binary: true });
15
A: How send arraybuffer as binary via Websocket?

Konga RajuGecko11.0 ArrayBuffer send and receive support for binary data has been implemented. connection = new WebSocket('ws://localhost:1740'); connection.binaryType = "arraybuffer"; connection.onopen = onopen; connection.onmessage = onmessage; connection.onclose = onclose; connection.onerror = onerror;...

I dunno, I think they expected this
 
6:58 PM
ty
I guess I can just send the file contents and the mime type (or assume it) and build it with a filereader on the other end like the examples show right?
yea.... why am I over thinking this
 
the tricky part, in my research, has been treating the binary messages like normal REST requests
 
I just need to stream a image to the client and change it periodically.
 
I want the client and server to be protocol-agnostic (mostly because it's a game and I want to run against an in-memory "server")
 
and the image is not saved.
it is generated
 
otherwise, actually putting together and sending the binary data, seems pretty simple
 
7:01 PM
Yea I think I'm over thinking this
My new gravatar is throwing me off
 
hi all :+)
 
also, this just came to me, I think I'm going to be prefixing binary messages (regardless of the protocol I use) with a null and allow JSON messages as well
 
one of these days I want to figure out how streaming video works.
I've looked into it once, was over my head
 
could someone explain the behavior of _.debounce() if no wait parameter is given?
will it just wait until the next call of the function?
 
@rlemon it's interesting. My understanding stops at keyframes and temporal encoding, which I think is enough to cover the basics.
 
7:09 PM
@KevinMurphy good starting point
check out what the fix was and that should be the behavior
 
I think you can write a very basic streaming video codec just by taking the difference of each pixel vs the previous frame, RLE/huffman encoding that, and sending keyframes every so often.
 
@ssube when I started looking into it I expected it to be a lot easier considering how long we've been doing it
 
On the client, discard any partial frames and just consume full frames as you receive them, blindly applying them to the current buffer.
 
my expectations of ease might have made me give up a lot sooner
 
I think writing compression and a messaging protocol once are some of those things you should eventually do.
 
7:11 PM
@ssube there are p-frames for that
 
at least RLE and Huffman, since they're both day projects at worst
 
@rlemon huh interesting. so say I use 0 - it's rare that a function i call twice could possibly happen with 0 milliseconds between calls, right?
 
impossible even
 
@bitten that's the same concept, just the name they use in real codecs, right?
 
unless there is some async involved and even then..
 
7:12 PM
@KevinMurphy nope
 
impossible.
 
@ssube yeah
 
it depends on your timer, but the ones built into JS are worthless
 
@ssube how would you get two functions to execute at the exact same time?
rather, with 0ms time between
 
@rlemon lack of precision in the timer
or lack of accuracy, either way
 
7:13 PM
depends on how precise 0 is
 
@ssube but js timers don't allow 0ms
:D
 
they won't truly have 0ms, but it could be 0.1ms and rounds down, or 1.5ms with a 4ms accuracy timer
 
@rlemon so in the case i use 0, it will set a js timeout for 0ms
 
and b-frames which can look both ways essentially
 
@KevinMurphy I dunno, don't use underscore
 
7:13 PM
@bitten and that's where it goes over my head.
 
check out the code
 
it uses setTimeout() for whatever I specify in the debounce args
 
I understand key frames, partial frames, and the basics of how to compress the data and recover from dropped frames.
 
@ssube yes this is my point. if you called setTimeout(fn, 0); twice in a row, I can't see how even the JIT would process those two functions at the exact same time
 
@KevinMurphy then it's up to the browser, but don't rely on anything < 10ms.
 
7:14 PM
i guess i should write my own debounce function manually
 
I could be greatly underestimating computers tho
 
@rlemon ah, they won't run at the exact (in real life) same time, but Date.now() might return the same value in both.
 
fair enough
 
i know my function gets called twice every time, regardless of an error and i want it to wait to send values until it's called for the second time
i wanted to use debounce but i'm not sure the wait time i should use
it might vary
 
hello world
 
function dummyOnce() { bindRealMethod(); unbindDummyOnce();} onEvent.do(dummyOnce)
 
If I lived in the star trek universe, I could never trust reality. It's terrifying.
 
@ssube yeah.. me too. p-frames just store the difference between it and the previous frame all the way back until you hit an i-frame which is a full frame
like i don't know -the math- just the concept
 
or a simple counter
 
@bitten yeah. I feel like, knowing basic compression and basic streaming, I could put together a workable streaming algorithm but none of the crazy temporal stuff.
 
7:17 PM
@ssube jsfiddle.net/x8hrsL6e/1 Date.now() sucks
 
@rlemon abso-lutely
 
@ssube if you can make it unidirectional then that's already pretty sweet
 
I need to take some lessons from you chaps
I can teach you all about corn farming in exchange
 
What do you need lessons in?
I offer basketweaving, react.js and tax evasion.
 
en.wikipedia.org/wiki/Run-length_encoding is a nice way to say you've written compression
 
7:19 PM
ohh I would love some 1 on 1 stuff for react
I offer aquarium information, and gardening information... umm.. and Canadian things?
 
rtfm
 
@ssube hahah
 
I can offer dank memes
 
@Luggage "1 on 1"
;) thanks pops
 
you have lots of react people here, so that's an easy one.
 
7:21 PM
@ssube s/ / /g #compression
@Luggage yea but no one wants to get on hangouts for an evening and have some beers and teach me react
 
@rlemon s/ /4/g #
@rlemon i would do that minus the react, maybe i'll listen
 
@KevinB was this in reply to me?
 
i'd thirdwheel or something
 
heh
 
lol
 
7:23 PM
I'm down for hangouts mostly whenever
 
@KevinMurphy yes. basically, why use a debounce if you know the event will happen exactly twice?
just code the handler to expect to be called twice
 
@KevinB yeah that's the plan. thanks :D
 
'teach'? No thanks. Sorry. But answer near-vamp-like questions? That I can do.
 
function h() {
  let n = 0;
  return function() {
    if( n > 1 ) return thing();
    n++;
    // other things.
  }
}
 
ohh, i did a compression thing. pdfsharp.net had a broken ccitt group 4 implementation and I had to reeimplement: github.com/luggage66/pdfsharp/tree/master/ccitt-group4/src
that was a form of RLE.
 
7:31 PM
how do I write a function that takes 2 params and adds them together?
 
use jquery
 
hahahahahaha
 
wasup
as you can see the subject matter here is esoteric
 
we owe our smileys to the badger
 
user1596138
7:44 PM
I don't need nor want to do this..... But how would you manage to find out if a prop is equal to it's defaultProp within React
 
user1596138
One of those dumb curiosity questions.
 
defaultProps.prop
 
user1596138
Nope
 
user1596138
You can't access defaultProps
 
Apparently dinosaurs didn't roar, they quacked nerdist.com/…
 
user1596138
7:45 PM
After instantiation I mean
 
user1596138
I.e. render method is best example, but really any other method of the class.
 
user1596138
@Loktar this isn't something I need for work I just got myself wondering lol
 
user1596138
Before everyone starts jumping me for doing stupid stuff haha
 
Component.defaultProps
if it's a static anyway
rather, ClassName.staticthing
 
7:47 PM
 
duplicate
 
user1596138
@Loktar Ah yeah I guess the closure is there
 
user1596138
But how would you do it using this?
 
user1596138
/me keeps adding bogus requirements to the question
 
you'd have to assign it somewhere
since a static is static
 
user1596138
7:48 PM
I didn't realize that would work, nice.
 
anybody in here ever work with a Bayesian library?
 
probably in the constructor assign it to this I suppose
 
user1596138
I wondered more if there was something inside of React that knew the default props for a component
 
user1596138
@Loktar Yea guess so
 
@Jhawins this.constructor.___ I think...
 
7:51 PM
What are some must-have mods for factorio?
 
this.constructor.defaultProps
 
user1596138
Oh that's a thing
 
ah yeah that works too
makes sense that react would bind it already
 
@Luggage Depends how you like to play. I find the combat aspect of it annoying and out of place, so I installed a mod to make alien science craftable.
 
agree.
so you defend only, or turn off the aliens?
 
7:54 PM
I usually turn them off
 
That's so fucking dank
 
I thought the dude was dead
 
user1596138
@ndugger That's a thing??
 
@Luggage Oh yeah I knew I had another one. Endless Resources (makes everything behave like oil).
 
7:58 PM
what a cheater :)
 
@Jhawins Seeing as how static properties are just set as properties on the constructor, I believe so...
 
Actually, I've been just turning up the 'richness' in the settings.
 
!!kinkykendall
 
@SterlingArcher holy shit shit's legit
 
7:59 PM
Oct 16 '15 at 15:11, by Kendall Frey
I can do goatse
 
cc @KendallFrey
 

« first day (2202 days earlier)      last day (2746 days later) »