When done correctly and performantly, animations in web apps allow for a user experience that is closer to that of native apps.
HN user
Sakes
Developer, gDesign Enthusiast, Founder, Father
hnsakes [at] gmail.com
If available in all major browsers, I'd use it for collapsable horizontal/vertical navigation panes/bars.
Good advice, I'll set it up. The problem I ran into with react-router-redux was the requirement of using location to provide the value for a key on CSSTransition. I had to use this implementation to solve the problem of the missing exit animation. https://reacttraining.com/react-router/web/example/animated-...
This uncovered a new problem for nested animations. The high-level page transition animation occurs even when the url root does not change. So I need to be able to ignore animations on Route components located high in the VirtualDOM, and apply animations (sometimes different animations) on Route components located further down.
Maybe you already know of an elegant solution to solve this problem? If so let me know! In the meantime, I'll keep bang'n on this.
Edit:
Concerning giving an indication that a panel has been opened, I'd just use CSSTransition wrapped around whatever element that is going to be introduced to show that it has been opened. Then define your 'enter' animation in css.
If that seems like overkill, and you can't use did mount to determine if the animation should be applied, then I'd just add a css className to your element to introduce some animation defined in CSS.
Obviously, I may be misunderstanding your use cases here. The above are just knee-jerk thoughts on it.
Sure! Will do. Honestly, I was just building it for myself, so no mailing list. But I'd be excited to see how you like it.
The problem I'm aiming to solve is nested route animations, and allowing for different animations to be applied depending upon the previous route in history.
I'm literally working on a lib to solve this right now, specifically to be used with react-router. If you want I can contact you when finished and you can give it a whirl.
Implementation will look something like <TransitionGroupRoutes><CSSTransitionRoute path="..."/><CSSTransitionRoute path="..."/></TransitionGroupRoutes>
I agree. Coding is not fun because writing a command that a machine can compute is inherently enjoyable. Coding is fun because you can manipulate a machine and build something you want that didn't exist before.
I downloaded GameSalad one weekend. My 6-year-old son and I ran through the tutorial which took about an hour. Part way through he got distracted. He spent about 20 minutes changing movement speed properties, object colors, & sizes. I was happy to see him get engaged and just start experimenting. While he did not learn how to code, the seed was planted that creating mobile games is something within his reach.
You have to take into account a person's expectations of themselves as well as the scope of what they are trying to learn. If your expectations are overly ambitious, it's hard. If you are trying to learn to code some narrowly scoped solution, then its simple.
There are a number of things you can do to improve performance of queries generated by ORMs.
* Make sure you are indexing properly
* limit the number of items returned by introducing paging
* use lazy loading where applicable
I'm sure there are other techniques, but these are my gotos.
It appears to me that this is a tool to identify a market / need that is not being met.
There are people who simply want a product/service, no desire for ownership. They post what they'd be will to pay for it, as a customer, and you decide if it is worth your time to build it.
Anyone? Am I understanding this correctly?
As far as I have observed, the only thing people consistently respond to is pain. This can be done through the introduction / removal / or threat of pain. It'd be nice if we all empathized more with other people's pain, but that doesn't appear to be the culture that we live in. Maybe there are cultures that do elsewhere, but I am unaware of them.
But I do have a question for you, when the interests of those with influence align with the ignored, why would your initial reaction be a negative one?
For me, it's fear, fear of being dependent upon an economic/labor system that does not favor labor. If you are not an owner, and make a living selling your time, you are threatened by both outsourcing and automation.
As a programmer / engineer / whatever label you want to give, it is a little easier for us to adjust to changing labor conditions because our careers, as long as not overly specialized, require constant learning.
But I'd prefer not to live a life competing with people all over the globe, or being blindsided by some tech that can execute a majority of my responsibilities as an employee.
"This might be controversial, but I don't think you get to be a half decent developer without being a reasonable sysadmin."
Couldn't this argument be applied to any developer for any discipline/speciality?
Sure, more knowledge/context is always better if reasonable to attain, but my experience suggests that your above concerns could also be addressed via team organization rather than expecting all developers to know all things.
You were originally correct. They currently have one book specific to California.
They do have federal books as well that apply nation wide, but as most lawyers are highly specialized, that may not apply to what you do?
I'll reach out to them. I used to do some contract coding for them. They may have more books for Cali that haven't made it to the marketing site.
If you are in either Texas or California check out https://www.oconnors.com/ (formerly Jones McClure Publishing)
They have an online reader for all their legal commentary books. They've invested heavily in search. It is pretty fantastic.
Down vote instead of engaging in a discussion? Here's another comment for you to down vote.
Definitely a reasonable critique. What I didn't originally realize is that medium is more than blogging software. It promotes community among writers. You can also create an account and just follow people. (Yes, I know this is obvious to most)
I'm of the opinion that when you're developing an app that will be used regularly, it is justifiable to have an expensive initial load time, provided it allows for a better experience on following uses.
I understand there are purists out there that disagree with this, but... "Yeah, well, that's just like... their opinion man". There are always trade offs. You just have to make tradeoff decisions based upon the needs of your primary user base.
I suspect he didn't want the main point of the article being lost in partisan internet arguments. If he said Fox was bad news, the conservatives would lose it. If he said MSNBC was bad news the liberals would lose it.
I assume Snopes will approach it article by article, episode segment by episode segment, and let the quality of a given source be revealed over time.
I think the only thing toxic here is how you write and view other humans and your fellow countrymen as inferior beings.
Eh, might be toxic. Might be a natural human response to seeing the majority of his countrymen accept propaganda without question. You don't know this guy. For me his comment read more like a frustrated individual than someone that thinks he is superior.
I imagine similar trends can be found in many countries, including the US. The desire to belong is strong, and sometimes it's in our best interest to think less and cheer more.
While I'm not happy about this outcome, at least it is consistent with the way that I assume our government/legal system operates.
No home is impenetrable so we shouldn't expect anything there to be private either.
Not you, just some general person who believes "self monitoring" is inherently a wrong thing to do.
I probably should have used "one" instead of "you" in my above comment. My apologies. Will modify it.
The way I see it, if one believes they should always be authentic, then they probably never take in to consideration how their thoughts/actions might affect others or the goals of a group. Hey, they're just being honest.
But, if one decides to potentially self sensor by taking the time to consider how their current thoughts or desired actions might affect others and they conclude they will have a negative outcome resulting in them not expressing or acting on them... Well, they may have just made a decision to be inauthentic. But they did so out of consideration and empathy for others. And if their authentic self does care for others, well maybe they are still being authentic.
If one doesn't care about others, and doesn't have empathy, well then they sound like an asshole to me. To them I say continue on spewing filterless thoughts... asshole. :)
edited for clarity.
I think eventually poetry and music would be created by AI. The question is what happens when AI is better than humans at everything.
I've honestly been curious about this for years. Currently, at least in America, we have a culture where if you are not meeting your financial expectations it is your fault. So if you find yourself in an industry that has been outsourced or replaced by technology, you simply need to retool. Ignoring specifics, this is typically sufficient to satisfy concerns of people that are not directly affected.
So, what happens when retooling isn't even an option? Utopia for some, utopia for all? I just can't seem to make any sense of it, but given the lack of empathy in the current climate for people labeled as other, I would suspect the former.
haha, yup, you'd have to modify 'style' attribute in the new level definition. I didn't test but i'm assuming it determines the position of the lily pads.
You can reference his levels here when trying to create your own.
https://github.com/thomaspark/flexboxfroggy/blob/gh-pages/le...
His code is pretty damn awesome. Open the site in chrome. Open web inspector.
Paste this into the console:
levels.push({ name: 'super secret-1', instructions: 'This is a secret level you get no instructions.', board: 'rggggyyyyy', style: {'flex-direction': 'column-reverse', 'flex-wrap': 'wrap-reverse', 'align-content': 'space-between', 'justify-content': 'center'}, before: "#pond {\n display: flex;\n", after: "}", });
Proceed to the secret 25th level! You can create your own levels, and make a pull request to his git repository if you really want to add some interesting practice levels. Just modify levels.js.
Ya, I've been enjoying it :) I was worried you hadn't based upon your previous comment. I'm sorry I haven't returned to this yet, but will soon I promise.
I think we should try to find out where we have agreement and where we begin to diverge. That should make the remainder of this discussion tighter.
Nice, you're back.
I can for example show that a surge in the population of rabbits on a small island 'predicts' a surge of the population of their main predator. That's the island ecosystem predicting a population bubble and then acts on those predictions. Intelligent?
So I am assuming you are claiming to be part of the ecosystem?
That's beside the point though, because your example didn't show 'capitalism' making a prediction, it showed the Fed making a prediction.
Not besides the point, it attacks a necessary part of my argument.
Anyways, you have made some good points. I'll give it some thought and get back to you.
I hope you don't mind, but I'm only going to address one thing right now. If the conversation continues, I will continue to discuss more with you.
Lets start with (A). You are correct, the way I described it does not explicitly explain how it is intelligent. Lets adopt the strictest definition of intelligence which is the ability to predict.
When I refer to capitalism here, I'll be referring to capitalism implemented, not the theory. Capitalism is intelligent. It is made up of people which are intelligent. These components are at times working together, and at times working against each other. Much like your conscious mind and subconscious mind. Conflicts are resolved in the market or through the state via legislation and trials. The results of components working together and resolving their conflicts is how capitalism has decided to behave. Having behavior is not sufficient for intelligence. A virus has behavior but is not intelligent.
So does a capitalist system make predictions? One example should be sufficient to make the answer to this question yes. If I can show that a capitalist system makes predictions, then I will have proven that it is intelligent.
Lets use America for this example. One thing American Capitalism seeks is to mute the highs / lows of the inherit booms and busts in-order to increase the level of stability of the economy. The Fed watches the rates of lending / borrowing to predict bubbles and raises interest rates to slow / stop the growth of bubbles. Once it has popped, and lending/borrowing slows, the Fed then lowers interest rates to promote lending / borrowing. I know this is not new info for you. I just wanted to be thorough in my response.
So American Capitalism predicts bubbles and acts on those predictions. Thus, intelligent.
You might say the Fed isn't capitalism. Which would be true. But your brain isn't you yet it is the component which makes you intelligent. The Fed is part of America's capitalist system.
You might say that capitalism does not involve government. Which I would say, pure capitalism doesn't involve government, but the active capitalist systems we have today do.