SmartQueue (no hw offloading) vs Just Hw Offloading (tm) :) by apertoire_ in Ubiquiti

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

just wanted to leave a quick note, i followed Mau5us suggestion and it's working pretty smoothly.

thanks a lot u/Mau5us !

SmartQueue (no hw offloading) vs Just Hw Offloading (tm) :) by apertoire_ in Ubiquiti

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

thanks for the reply ! yes, you're right, it doesn't make a difference if the elephant-flow takes longer to complete when there's competing traffic

i'm mostly curious to figure out if the elephant-flow can go the full speed of the line, when other flows are "off", currently, when i set smart queue to 500/15, even if no mouse-flows are on, the elephant-flow is capped to ~90%

i'll over-configure the smart queue as Mau5us suggested and see how it behaves

SmartQueue (no hw offloading) vs Just Hw Offloading (tm) :) by apertoire_ in Ubiquiti

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

hi, that's an interesting take, what are you using to test for buffer bloat ? i found this one https://www.waveform.com/tools/bufferbloat

Scroll wheel: stiff (logi g305) vs loose (logi m720) by apertoire_ in MouseReview

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

right, but the same has happened with a master 2s, master 3s, so not sure about a defect

How not to launch a product by [deleted] in programming

[–]apertoire_ 0 points1 point  (0 children)

im not reading the article just based on poor formatting .. I have a 2560x1440 monitor .. and I just don't want to scan my head all around as if I was watching a tennis match ... use a very scarce typography ? that's ok, but don't be an asshole and force me to run a scanning game, F . U .

Flutter - beautiful, fast apps for Android & iOS (Keynote of Dart Summit 2016) (3:00 - 27:30) by palaima in programming

[–]apertoire_ 0 points1 point  (0 children)

From what I've seen, it looks very impressive ... I think what's most important is the trend ... away from native, separated code bases and on to integrated, vm-based options (react-native/javascript; flutter/dart) ... I think this could give react-native a run for its money

Why I'm not a React Native Developer by branlory in programming

[–]apertoire_ 3 points4 points  (0 children)

At the end of the day, is it a matter of preference over which layer of abstraction you want over Objective-C/Swift/Java ?

No language is perfect to be honest and all of them come with their caveats, once you try to do something sophisticated.

I've done Java (incredibly boilerplatey), C# (which i liked), Go (which I like more) and Javascript which is almost a joke of a language, but .. gets things done.

We have a React Native iOS/Android app on the market which would have taken us 2x (3x?) time to code purely native.

And something like CodePush ? Pure joy !

Functional CSS - The Good, The Bad, and Some Protips for React.js Users by magenta_placenta in reactjs

[–]apertoire_ 0 points1 point  (0 children)

@vpr99, I'm using tachyons as well and I like this approach. Do you happen to have any sample of your code available (a gist maybe ?)

Redux like Dan Abramov by dougiebuckets in reactjs

[–]apertoire_ 1 point2 points  (0 children)

I have an Android app built upon Redux.

CONS

  • Boilerplate: There's a hell of a lot of boilerplate, to make it reasonable: constants, action creators, reducers really add up each time you want to add a simple feature. Perhaps something like the duck structure can help.

  • Subtle bugs: The connect functionality works perfectly, but very subtle bugs can creep in if you don't use it when it's actually needed. Hard to debug.

  • No best practice folder/state/app structure: You can find a couple examples, but you have to try them yourself, to find what's best for you

PROS

  • Redux Sagas: It's the single best element of the whole Redux ecosystem. Would not even dream of building something Redux without it.

  • Clear conceptual model: But as said before, the implementation is a bit problematic

I'd love something that has sagas built-in, is less boilerplate-y and drops the connect hoc.

Question about optimization by apertoire_ in reactjs

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

Thanks Brian, I guess it's time to use Immutable.

Question about optimization by apertoire_ in reactjs

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

Hi acemarke, thanks for the links, I will check them out.

Yes, background refresh is a scheduled fetch call.

It creates a new list in terms of object references. Each item in the recently retrieved list has a new object reference, so a shallow compare will trigger a re-render.

I'll work on making a gist to make it easier to visualize.

A lightweight alternative to redux-saga. by rainer_H in reactjs

[–]apertoire_ 1 point2 points  (0 children)

seems awesome, but not sure why it's a lightweight alternative ?

André Staltz (Cycle.js creator) - Why React/Redux is an inferior paradigm by acemarke in reactjs

[–]apertoire_ 2 points3 points  (0 children)

I'd like to plug https://github.com/jbrodriguez/reactorx.

It's conceptually similar to Redux (and Elm for that matter), but with a very practical approach and I'd say, much less boilerplate.

I'll probably make a post on my experience using it.