Sakes
Sakes on Hacker News
When done correctly and performantly, animations in web apps allow for a user experience that is closer to that of native apps.
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.
Posted by
Sakes on Wednesday December 28, 2016 @12:57PM
from the self-post dept.
I'm in love with medium.com's UX. It's just so clean, responsive, simple, and beautiful.Just giving a shout out to you guys over at medium. Your team must be amazing to produce something so elegant.
Posted by
Sakes on Wednesday November 30, 2016 @11:18AM
from the ask-hn dept.
I'm looking for a good starting css framework for email. I have recently used inked, but there are still clients where the HTML gets mangled. Anyone out there have a css email framework that they love?
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.
Posted by
Sakes on Thursday December 03, 2015 @08:03AM
from the ask-hn dept.
As developers we use many many tools, and every now and then one gets put in the tool box that we just love. It feels intuitive to use and is rarely a source of confusion or requires a deeper understanding to resolve some bug in your app. I haven't fallen in love for a while, so I'd like to know if you all have and with what.What do you have in your tool box that you have fallen in love with?
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.