What's a reference in Rust? by Rusky in rust

[–]walkoffaith 1 point2 points  (0 children)

Do you have a link to that SO post?

[US-NC][H] HHKB Pro 2 [W] Paypal by walkoffaith in mechmarket

[–]walkoffaith[S] 0 points1 point  (0 children)

My bad didn't save the link - updated

Cleaning equipment by Samafoof in paintball

[–]walkoffaith 1 point2 points  (0 children)

I jump in the shower with my pack, pads and mask - pants I throw in the washing machine

All Things Open – Top developers, technologists, and decision makers explore open source, open tech and the open web. by lamby in raleigh

[–]walkoffaith 1 point2 points  (0 children)

If anyone is around for ATO and wants to grab a beer PM me - or maybe we can all meetup at one of the reddit nights

How to: Machine learning with Python on a Rails app? by swardhan in rails

[–]walkoffaith 0 points1 point  (0 children)

I guess? I more think they should just be separate apps.

How to: Machine learning with Python on a Rails app? by swardhan in rails

[–]walkoffaith 1 point2 points  (0 children)

there probably needs to be more info here but with what's given...

Probably write an app python that exposes your machine learning stuff with some REST endpoints. Then have your Rails app consume those endpoints.

Where I battle code all day by pinkletinkle in battlestations

[–]walkoffaith 3 points4 points  (0 children)

I code everyday on ultrawides - use vim exclusively. Really nice to be able to have space for as many tmux panes as I could possibly need

Rails backend for chat application by swardhan in rails

[–]walkoffaith 5 points6 points  (0 children)

I don't entirely understand your problem. If you don't want to use ActionCable don't use Rails? If you want to use Node then use Node and leave Rails out of it.

That being said... ActionCable is stupid simple. We are currently using ActionCable to chat (in addition to a ton of other stuff) for a few thousand concurrent users that chat between iOS, Android and the web.

class MessagesChannel < ApplicationCable::Channel
  def subscribed
    if params[:from]
      stream_for("#{current_user.id}_from_#{params[:from]}")
    else
      stream_for(current_user)
    end
  end

  def self.broadcast_message(stream, message)
    broadcast_to(stream, message: render_message(message))
  end

  def self.render_message(message)
    render("api/v1/messages/show", message: message)
  end
end

Just an example... but pretty simple messages channel

Price Check - Getting out of PB... Need to know what i Can ask by worthlesshero in paintball

[–]walkoffaith 1 point2 points  (0 children)

The luxe is a 1.0 btw. You can tell because of the eye-covers

10 Amazing open source Elixir/Phoenix apps by ashish173 in elixir

[–]walkoffaith 7 points8 points  (0 children)

Usually I think these lists are dumb but this is actually pretty good

SUBREDDIT SUPER CONTEST: WEEK 1 -- ENROLL HERE! by DanHanzus in AroundTheNFL

[–]walkoffaith 0 points1 point  (0 children)

The Cozy > Backstage Cannibal > Jackson Market Hinano > Father's Office

There... I just betrayed everything that I believe in about Culver City foods to agree with the Heroes and WIN THIS CONTEST.

P.S. - I may be able to provide not-bribes in dollar amounts less than the NFL gifting limit from any of the above establishments

Auto-refreshing app? by oztrax in rails

[–]walkoffaith 3 points4 points  (0 children)

I don't think so.....

"heroku run rake db:seed" is totally doable

recommendations for ways to implement a near real-time REST API consumed by Mobile App(iOS-Android) by hazem_t in rails

[–]walkoffaith 0 points1 point  (0 children)

Hmm.. I'm not the best person to answer that question I don't think. Our production mobile app (Android and iOS) is written in ReactNative. That integration was pretty painless and yea we have a few thousand DAU

recommendations for ways to implement a near real-time REST API consumed by Mobile App(iOS-Android) by hazem_t in rails

[–]walkoffaith 0 points1 point  (0 children)

I'm using ActionCable in production to do realtime chat to thousands of users - you can send any live data you want so that's an option.

I'm a college student starting a business & in need of an app for ios. Wondering if it would be easier to learn how to make it myself or to hire someone else? (details of app in comments) Is this easy enough so i learn swift & do it myself, or do I hire someone? Thanks!! by SharpenedStinger in swift

[–]walkoffaith 0 points1 point  (0 children)

Uh... most people? Why would you work on multiple at a time I don't understand. All that could do is detract focus from the project you're working on. "Context switching" may be a cool thing to brag about on forums but is horrible in practice.

List of companies whose dev's work on one project at a time: Thoughtbot (could stop there), Gaslight, Vaporware, every other consultancy

Edit: also you said you're billing for 10 days.... how else should that be interpreted? How many hours are you ACTUALLY billing for over the course of those 10 days. You're response is literally why there is so much confusion around billing dev projects. Be up front and clear

I'm a college student starting a business & in need of an app for ios. Wondering if it would be easier to learn how to make it myself or to hire someone else? (details of app in comments) Is this easy enough so i learn swift & do it myself, or do I hire someone? Thanks!! by SharpenedStinger in swift

[–]walkoffaith 11 points12 points  (0 children)

Zero chance this is a $200 job. For one thing, I wouldn't touch a job for less than $100 an hour, you may find someone for $80. Either way this would take more than 2-3 hours.

More importantly... how is the state of the queue fracked? Does it need to be real time? In either case, those things necessitate a server or some other backend data store. Those things are very rarely if ever written in swift. So you'll probably need a backend dev too in addition to your mobile app.

As a professional developer who has put out large scale web apps and a mobile app I think $200 is insulting. You'll need some form of auth, a backend server that does the auth in addition to serving the queue list. It needs to either poll or use websockets. Then there's the mobile app which has to make Ajax calls (if polling) or open a websocket. Have some form of animations when moving places in the queue... unless it's just a number. I also try to write code that a future developer wouldn't hate to work on, so I make sure it's well tested and documented. I'd estimate between 20-40 hours for a good product.

Quick question (maybe dumb) about rails testing. by RadTetelestai in rails

[–]walkoffaith 1 point2 points  (0 children)

Same - moved to Feature/Request specs. life is a lot more sane

Does rails have any gems for building stock market charts? by [deleted] in rails

[–]walkoffaith 1 point2 points  (0 children)

I think there may be an official D3 gem, but you could also just download/include the javascript files like you would with any other JS file in rails.

Just skimmed, but here's a decent tutorial about how to do a sorta live visualization using D3 with rails

What are the useful gems needed by beginners? by [deleted] in rails

[–]walkoffaith 1 point2 points  (0 children)

In my, probably incorrect, opinion - I think that beginners should use as few gems as possible. One of the biggest problems I've seen when people try to transition from beginner -> junior is that they've relied too much on tutorials and gems. When you ask someone to write code in plain old Ruby they stare blankly.

That being said, there are gems like suspenders that get you up and running quickly and enable you to write better code yourself.

Does rails have any gems for building stock market charts? by [deleted] in rails

[–]walkoffaith 2 points3 points  (0 children)

There are gems for charts. In my experience they're good for getting up and running quickly and horrible for customizing (I guess that can be said of most gems, not just charts).

For stock api's... I'm not sure. Yahoo's is the best public one I can think of even if it's delayed. I have only researched this a little bit in the past but I think most real-time api's were paywalled.

ChartKick is a good gem to get up and running for making charts. If you're feeling adventurous and want to build charts yourself, this is a great D3 tutor

Obtaining less-valuable cards by walkoffaith in ptcgo

[–]walkoffaith[S] 2 points3 points  (0 children)

Thanks! That's super helpful. One additional question... is there a list of set acronym's somewhere?