Skip to content

u/dk01

In this archive from Aug 2011 to Oct 2018

1
posts
93
comments
0
media
249
score

I guess we'll have to see and in the mean time, agree to disagree because in my mind, a useful fad is still useful. :)

Implementation tools are by their very definition useful so I'm not sure how that speaks to the utility or staying power of node itself. For example, I'm sure we can agree that some C programmers had thoughts about PHP being a fad but it is clearly useful and notable.

Anecdotally, for me there is value in eliminating the cognitive overhead of switching languages when working on the front and back end. I'm not saying node is compelling for all use cases. It is single threaded so it should not be used for things that would be better handled by multi-threaded apps, but I think calling it a fad and referring to hysteria is perhaps a bit too dismissive. It has very real use cases in which it performs better than other languages. In other areas it falls short. Same as PHP really.

Use the right tools for the job, IMO.

1 points

No worries. Im ok with people having that view even though I disagree. I'm personally involved in both communities and I've got to say, I find Node pretty great to work with but also enjoy working in PHP. I'm not sure what warrants something being a fad but both Netflix and Walmart are using Node heavily in production to tie together their various heavy lifting queues and micro services.

1 points

Correct. Essentially you as a developer follow the commit message format and your changelog is auto generated at release time from merged commit messages using a predefined template. The generated changelog is committed to the repo. Perhaps it is a different use case but just figured I'd bring it up. Cheers.

1 points

Hmm, pretty sure I didn't say anything about a trophy. The decision wasn't painless or perfectly executed, but the right decision was made at the end of the day, which ultimately is what I care about. Realizing a mistake has been made, correcting it, and moving on is something a lot of people in this community could benefit from.

2 points

I am working with these two. There really isn't a whole lot you need to do in order to make them work together. Auth is the trickiest, but that's true of any app. If we wanted to swap out PHP for Python and keep the frontend, we could easily. Makes me feel like we are doing something right.

1 points

I haven't really come across a whole lot when it comes to tutorials and best practices. I am using angular-localforage. I think a blog post is probably in order so I'll write one up then post it here when I am done. I am working on moving my blog so it may be a few days. Once you get localforage into your project properly, it is really easy to use.

I've only run into one weird problem with it. It only happened on older iOS (v6). When redirecting away from the current page (using window.location = 'new.html') and using localforage.clear in the same promise chain. This combination caused a really weird indexOf(a) not found error. It could have been my fault for all I know, but I ended up just throwing localforage.clear in the page load for my login form rather than in the promise for my log out button. Again, this was a temporary thing and certainly is an edge case since most ionic apps will be a single html page.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.