« first day (2495 days earlier)      last day (2465 days later) » 

3:00 PM
@ssube Opened an issue with tslint
CCed you.
 
I have been avoiding using jQuery for this app but I need an autocomplete input/dropdown list from values in a JSON file... Does anyone know of a jquery-free plugin to do this or should I just code my own?
 
@Alesana It should be like, 10 lines of code
15 if you include a debounce.
 
That's what I was thinking... a text input and a select with all of the options having display:none;, then when you type in something in the text input it displays the select options that match. Sound like a good way to go about it?
 
display: none might cause things to move around
 
@Alesana There's the datalist attribute if you don't need special stylings
But that's not well supported by Safari, if you care about it.
You can use display: none only if your autocomplete panel is out of the document flow (i.e. position: fixed or position: absolute)
 
3:04 PM
@ssube I convinced this plce to move to git, but I think we may end up on bitbucket. I have input as to what we use, but we are already an Atlassian shop so it's the easiest sell. Also, as much as I like gitlab, we will be keeping Jira and our existing build server, etc, so we'd really only use it for git repo hosting and code reviews.
 
Yeah I was going to have it absolute, so it overlays everything
@MadaraUchiha I never knew about datalist, it is cross-browser otehr than Safari?
 
local hosted bitbucket.. not the online version. I don't know if there are differences.
 
@Luggage at least you're moving to git
 
bitbucket works like any other atlassian tool, it's slow and takes a ton of memory to run
 
3:06 PM
yea, mostly the "server" you use with git doesn't matter. it juts hosts the blessed repo..
 
@Luggage BitBucket is actually pretty OK for code reviews
My previous place used it
 
except for the code review, yes..
 
Seems supported enough :D
 
meh, our jira server seems very responsive. we can throw ram at it
 
Hey all. I'm using Ionic (and Cordova). But "ionic cordova *" doesn't do anything and doesn't give any output. (Windows)
 
3:07 PM
and we have been on jira for a decade and have a LOT of issues
probably 100,000 in the 10's of thousands somewhere, at least
 
I wonder how many tickets we have
 
yea, our 'support' project is at about 65,000
yea.. i'm pretty happy with jira. I've been with it and was the one to install /administer it for many years. It's running pretty nice these days and I like the new drag and drop uploads.
 
Actually, I'll end up making my own so I can style it
 
back to converting .coffee files to .js (cleaning up a bad decision I left this place with a few years ago...)
 
anyone with a good resume template?
 
3:12 PM
google
 
const resume = `Hello, I am ${name}. Please hire me.`;
 
can't find that pique my interest
Haha
 
you don't really need a template
 
just type what i needed right?
 
use comic sans
 
3:14 PM
@Luggage my last place ran it on-site and this one uses the cloud, but neither has been quick. I've always used it with custom workflows and fields, which I think break it.
@EarvinNillCastillo my resume is a header with 3 columns for bits of tech, then a list of work experience, then a list of school and open source stuff.
 
we use custom fields and workflows heavily.
we do everything on-site in our own data center for reasons.
 
huh.
 
the custom workflow is part of the reason we use Jira. We have it enforce rules that we are audited for
SAS70 / SSAE16 / Whatever the new one is that I forgot the name of
 
lol. My last place was supposed to do that (and told the auditors they did), but you could tell which scrum lord was working by the layers of workflow sediment.
 
I just want to point out after using GitHub issues (with ZenHub) that JIRA isn't that bad.
It's a decent issue tracker
 
3:18 PM
Every few months there would be a batch of "Copy - Test" workflows and then some the real ones, repeat.
 
Every time I'm seeing that term I read it as "scum lord"
 
Confluence is a decent wiki, and BitBucket is reasonable source control.
 
@ssube lol scrum lord
what a fun title
 
@MadaraUchiha or scrub lord
 
I would recommend JIRA to people.
 
3:19 PM
@BenjaminGruenbaum confluence doesn't even load correctly and the editor is utterly broken
 
@BenjaminGruenbaum Confluence sucks.
 
@ssube I've never had any issues with it, even on large files, and the editor is simple enough in my opinion.
 
the menus on their hosted confluence are all broken atm
 
I've used it for ± a year at TipRanks and I haven't had issues.
 
!!quote get scrumlord
 
3:19 PM
Yea. I get ssub'es comments about it being slow and heavy. It was. But it's running pretty nice these days for us.
 
JIRA is decent, bitbucket is decent, confluence just plain sucks.
 
yesterday, by Sterling Archer
As a scrummaster, I'm completely offended right nowpleasehelpmetheywontletmegothescrumassociationhasmyfamily‌​. — Sterling Archer 15 secs ago
 
Oh, that's new I guess.
 
pasting doesn't work at all
 
I have used jira for a LONG time. 2005-ish..
 
3:19 PM
Interesting, last time I used it which was several months ago it was fine.
 
The editor has been bad for a while, they redid the menus a few weeks ago and broke most of the rest.
 
We don't use JIRA at Peer5 and we don't have a QA team. Both are fun for us as developers but at the end of the day I'm not sure it's great business choices.
For example I spent an hour doing QA today (no one asked me to) because I was concerned about a feature I wrote.
 
I'm still upset that tslint custom rules have to be compiled to JS before tslint would read them
 
I've been a cowboy for about 3 years answering to no one and just publishing code when I want. Now I am back in a place where we have a 'process'. A process I created, but still.
 
I have a nice process with issues stages and pipelines for my personal stuff, but am pretty much on my own at work.
 
3:22 PM
being on your own, but voluntarilly having a well-tracked process is the best
you have the safety net you need with no additional BS
 
yeah, I just have to make sure it ends up in Jira every few days, for my boss and other teams to watch
sometimes I do the jiras first, sometimes last, sometimes never :D
 
@jAndy that is badass
 
@MadaraUchiha why no PR?
 
@BenjaminGruenbaum Might do from home
 
right now every commit (to trunk in svn) must have a jira ticket in the description, but branches are free-for-all. a decent balance
 
3:24 PM
Still figuring out router + mobx thing for the project
 
soon to be git. probably using a git-flow-loike workflow.
 
@Luggage I'm terrified without a process. Although Peer5 has a much stricter process (for better or worse) than Tipranks.
 
I think I'll just use MobX's <Provider> and @inject
 
@MadaraUchiha that sounds like a lot of fun
I wouldn't, but meh :P
 
@BenjaminGruenbaum It is, actually
@BenjaminGruenbaum Reasoning?
It's exactly what I need, it injects things in props
 
3:26 PM
@MadaraUchiha I wasn't kidding, I was serious - getting time to think about abstract design decisions and then thinking about them was one of my favorite parts
 
@jAndy that video led me to this one... which is also amazing facebook.com/GuitarOptics/videos/751818584999585/?permPage=1
 
@MadaraUchiha context
 
@BenjaminGruenbaum Hmm, while that's true, I don't think I care much
 
as in "don't use context"? or "just use context instead"
 
ouch, svn...
 
3:27 PM
To me, I have an API that injects what I want into the props, and I can send in fakes if I ever need to in a test
@Luggage It uses context, and he doesn't like it.
 
@MadaraUchiha also, it takes a thing and not a function, which works great if you want your injector to all be singletons but for everything else it's not really transparent
@MadaraUchiha TSLint can already do that (in case you haven't noticed the response)
 
I would think to make an autocomplete type of thing I would have to loop through all of the li elements and check if what is typed into an input box is a substring of what is in a data attribute of the li element, but if I have some thousands of li elements, am I doing this wrong?
 
@Alesana yes, the autocomplete should happen on the server and you should never download that much data to your client to begin with
 
yup
don't use html as a data struct
 
@Benjamin There is no server-side code, it is via a json file
 
3:29 PM
@Alesana there's your problem to begin with, don't send thousands of things to query to the client.
 
@BenjaminGruenbaum Seems like it, although it can't already do that, it will be able to next release.
 
If you have to, put them in a trie as soon as you get them and then store them someplace safe.
 
:| It's supposed to be a list of SE sites
 
@BenjaminGruenbaum That's true, but I don't think I'll need something different for MobX stores
 
It's also an app they download, and the json file will come with it
But I will have an option for them to update it if the site they are looking for isn't in there.
 
3:31 PM
@MadaraUchiha I think that's missing the point of DI
 
@Alesana Fairly sure there's an API for that
 
The whole point is that components do not care where they get their store.
@Alesana electron or native?
 
@BenjaminGruenbaum And they don't.
 
@MadaraUchiha There is, but you cannot filter through them, and it asks you not to query it often
 
For the component, it's in the props.
 
3:32 PM
@MadaraUchiha they know that there is only one store since that is an assumption <Provider> makes
 
@BenjaminGruenbaum The component isn't aware of that.
 
That's like Angular 1 DI
 
@BenjaminGruenbaum Electron, but I was thinking of also making it work native
That way I can show a demo online
 
Sure it is, the person writing the component is aware of that and you're going to get a bunch of components talking to each other with side channels through stores
That's fundamental
 
@BenjaminGruenbaum You have to define the stores each component gets regardless
You're going to have an @injector or some such decorator anyway because you have no other choice
Putting it next to the store and not in some abstract JSON (or XML) file someplace away is just QoL at this point
MobX's @inject doesn't do anything anyway if the component is not instantiated inside of a <Provider>
So aside from the case where I might one day want to have a store per component or store per route or something similar, what's the downside for using mobx/@inject?
 
3:35 PM
Well, for now I will just have it list the top SE sites via a normal select element
 
@ssube cc see the tslint issue I've opened. Will be possible in next release.
 
I saw
 
it's a shame they're using the ts-node syntax
seems like a hack, but it's better than nothing
 
@ssube I can forgive that
 
3:39 PM
no forgiveness
 
It opens a path in the future to have my exact proposal which is what mocha has
 
it's palantir, they mostly make federal software, it's not gonna be pretty
I'm curious if I can use the tslint AST walker to replace typedoc, though
 
> they mostly make federal spyware
ftfy
 
lol, I thought about editing that in
 
@MadaraUchiha who said anything about JSON or XML?
 
3:42 PM
@BenjaminGruenbaum How do you imagine the API looking?
 
Good question, something like:
const {injector, inject} = new Injector();
injector.provide(UserStore, () => new UserStore()); // everyone gets a new store
const store = new UserStore();
injector.provide(UserStore, () => store); // everyone gets the same store.
injector.provide(UserStore, props => props.isAdmin ? store : Readonly<Store>)
@inject
class UserViewer extends React.Component<{store: UserStore}, {}> {
  render() {
    <div> Hello {this.props.store.currentUser}! </div>
  }
}
Or, without reflect type metadata (what Angular does):
@inject('store', UserStore)
class UserViewer extends React.Component<{store: UserStore}, {}> {
  render() {
    <div> Hello {this.props.store.currentUser}! </div>
  }
}
 
@SterlingArcher We just call it... JSX.
React never would have gotten popular if they called it JSXML. :P
 
user1596138
JXON
 
JXON, JXOFF
 
3:47 PM
@ssube they should have just called it E4D :D
@MadaraUchiha it's fine to use a technically inferior solution that's a broken abstraction - seriously. It's fine to make that sort of technical decision and introduce a tiny amount of debt and pay for it later.
 
user1596138
@Trasiva One is real
 
@ssube Truth
 
@MadaraUchiha also I realize I'm not proposing the most popular solution and there is not a lot to read about it compared to the most popular solution (React + Redux or Angular 4) - but we both know I'm right.
We both know deep down that technically, sound injection works. Which is why it has been the standard almost everywhere except the JS ecosystem that traditionally wrote smaller apps.
 
oh good, a meme with an obvious typo
 
3:56 PM
Are relational databases being outpaced by nosql?
 
outpaced?
define an actual metric please
 
who knows, people asked the same question 3-5 years ago
@ChrisRasys the metric was pace
 
Conceptually I'm impressed by NoSQL (Mongo, etc), but performance wise, I don't see how it's up to snuff against SQL. But then again big data relies on nosql dbs too so idk
 
Conceptually you're impressed by NoSQL?
 
pace doesn't mean anything
 
3:59 PM
@ChrisRasys There's no typos there, silly metal slime.
Okay, maybe there is.
But ask me if I care
 
@BenjaminGruenbaum well yeah, it's just JSON storage and searching, no real need for complex join statements etc
 
@Trasiva clearly you do
 

« first day (2495 days earlier)      last day (2465 days later) »