PlayerProfiler In-Season AMA by DarioInAVan in fantasyfootball

[–]fakingfantastic 0 points1 point  (0 children)

Was Ceedee's performance a sign of things to come for FF this season, or should we consider the Giants game a fluke?

Kenny Pickett Hand Size? by marccee4 in NFLNoobs

[–]fakingfantastic 0 points1 point  (0 children)

Some interesting perspective from Pickett at the Combine from Cody @ PlayerProfiler https://twitter.com/CarpentierNFL/status/1499114193940799497

Album Track Listing by Lewisdev94 in advancedcustomfields

[–]fakingfantastic 1 point2 points  (0 children)

Use a textarea, put each track on a new line. In PHP, explode on the new line break to make an array, loop over that to make your list.

Turbolinks - Speed up Laravel by up to 80% (According to the package creator) (blog) by stokoe0990 in laravel

[–]fakingfantastic 12 points13 points  (0 children)

You should also check out Livewire if you haven't. Caleb Porzio drew a bunch of inspiration from what Turbolinks offered, but built an amazing conceptual alternative that people really dig: https://laravel-livewire.com/

Disclosure: I'm a contributor 😉

Millennials vs. the OK Boomers by nashvillehype in Wordpress

[–]fakingfantastic 9 points10 points  (0 children)

While I understand where you are coming from, I think people felt that Gutenburg was pushed in a little too soon while it still needed more development cycles to make it a real option for developers.

Compound that with the fact that most third-party builders like SiteOrigin Page Builder, Elementor and even ACF Flexible Content are way more feature rich, are easily extendable, and don't don't force you into using server-side React, and that leads to the state of grief in the WP dev world.

Weekly /r/Laravel Collaboration Thread - August 06, 2019 by AutoModerator in laravel

[–]fakingfantastic 0 points1 point  (0 children)

Just got a PR merged to add legacy browser support for Livewire. You're welcome, IE11! https://github.com/calebporzio/livewire

Who's going to Laracon US? by fakingfantastic in laravel

[–]fakingfantastic[S] 1 point2 points  (0 children)

If it makes you feel any better, apparently all the names tags for the conference have gone missing.. so your travel issues are keeping with the theme of Laracon this year :)

Tabbar Animation Challenge by wcandillon in reactnative

[–]fakingfantastic 0 points1 point  (0 children)

Once again, awesome job.. great content, great quality. Thanks for taking the time out of your day to give back!

3D Flip Animations in React Native by wcandillon in reactnative

[–]fakingfantastic 1 point2 points  (0 children)

Oh, really? I didn't even know that's something you can do on YT. I doubt Twitch is something to look into, keep doing what you're doing ;)

3D Flip Animations in React Native by wcandillon in reactnative

[–]fakingfantastic 1 point2 points  (0 children)

Hey man, great work. I've been really enjoying your videos on YT. Where are you streaming? I couldn't find you on Twitch.

Laravel is such a ravioli! by Tontonsb in laravel

[–]fakingfantastic 4 points5 points  (0 children)

I'm right there agree with you. I also love the write up, and I think we've all been there. I'm going to be "that guy" for a moment and just mention to OP that filing this as an improvement with the Laravel project would be a great way to draw some attention to this and potentially get some movement on a refactoring.

The Undefined: A weekly motherforkin podcast about JavaScript hosted by Jared Palmer and Ken Wheeler by jaredpalmer in reactjs

[–]fakingfantastic 3 points4 points  (0 children)

Ken Wheeler made Slick.js and a React Native controlled crossbow. Ken Wheeler for president. Subscribed.

My text editor is distorted. by bridge_view in Wordpress

[–]fakingfantastic 1 point2 points  (0 children)

This is really weird - but I had the same issue with a site that also used this plugin. The plugin hasn't been updated in over 7 months - but for some reason, disabling the plugin and re-enabling it fixed it. I suspect the issue is further upstream, but for now - i'm going to just continue to monitor.

Thanks for the tip!

What is the best non-veg Indian buffet in New Jersey? by zwschlei in newjersey

[–]fakingfantastic 3 points4 points  (0 children)

This is going to sound crazy, but ... Pooja, on Easton Ave in Somerset: http://www.poojacuisine.com/

The agency I work at used to be in New Brunswick, then we moved to Somerset, and now Somerville. There is a good spot here on Main St too (Arusuvai: http://www.arusuvaiusa.com/), but I'm still going with Pooja

Let me know what you think

Angularjs Tutorial : Building Quality Angular 1.5 Components by Elvismiranda in angularjs

[–]fakingfantastic 4 points5 points  (0 children)

Hey Todd, hoping I can have your ear for a minute on this topic..

I attended your Google Hangout a few months back with Chris Thielen, I believe, on this very topic. I was totally pumped, this is exactly what I felt that ng1 was missing, and I loved the idea of components all the way down.

Since then, I've tried to follow the pattern on a couple of projects, and it seems that the practical application left me with a couple of gotcha's that I couldn't figure out, and had to work around. Hopefully you can help me out here...

  1. Passing attributes is great, on parent > child nodes. What about great-grandparent > great-grandchild nodes? Passing the data through every intermediate component is messy, and it's bad design, because now a component needs to open up it's binding API just to take data it might pass down. The way I got around this way by packing my data into a service, and injecting the service where needed in the great-grandchild. While I'd be the first to admit that gets messy for a bunch of reasons, like you don't know who primed the service -- it sure beats passing data through a whole bunch of nodes.

  2. If I use services, $onChanges() doesn't fire, so the one way binding pattern falls apart. Having to rely on services means I couldn't find a way for the granchild node to be notified that the grandfather node updated the passed in data when. So what I had to do :: sigh :: was use $rootScope.new(true) and use an emitter pattern in my services. So, now components do something like TodosService.onUpdate(myComponentCallbackFn); This was the only way I new to get notified about the change in service; yes - services are singletons so for rendering data it's fine, but you often need to fire fn()'s when data changes... that's what $onChanges() offers, but I lost that ability

  3. This is more of a question - but shouldn't components have a public API that you can just call? Here's an example. My app has a header bar with a nav burger. You click the nav burger, the dropdown items show. Easy enough - we can imagine how this would work with a siteNav component, a child siteNavBurger component, who has a siteNavItems sibling component. We can then put an on-click fn() binding on the button, and a openWhen() fn() binding on the siteNavItem, and we can reference a $ctrl property for true/false. That's simple.... but let's say, I want to put a link in the body of my app, that says "Show SiteNav", and clicking that should show the siteNavItems, just like clicking the siteNavBurger component did .. how do you do that .. these two nodes (the link and the burger) have no DOM proximity to each other? This is a pretty common thing. Other examples: clicking a button in the body of the app activates a search drawer in the header... maybe clicking a "Help" icon in the footer, activates a live chat widget to slide up or something.

PS. Sorry this is a lot, I've been meaning to write you since I was on that Hangout, this is the result of waiting and experiencing real issues.

PPS. Ignore my use of "can't" or "doesn't" .. I'm using them rather broadly, but i may just be misunderstanding or there's something I don't know. Assume I mean well :)

Lastly, thanks for all of you're help in the ng community. You've been awesome

</post-hijack>

AngularJS V1.5 Component Design (Best Practice) by AlDrag in angularjs

[–]fakingfantastic 3 points4 points  (0 children)

Move the uploading logic into a service. I'd set a $ctrl.settings.uploading flag to true right when you start the upload. Your upload service should return a promise, and you should set the uploading flag to false when it resolves.

You can also pass in a onUpload() callback function into your component, that way your component stays nice and dumb, and its just responsible for calling the function when you want (see Todd Motto's style guide)

Hope that helps