Better HN
topnewbestaskshowjobs
Log inSign up

Sakes

565 karma · joined Oct 19, 2010 (16y ago) · 259 submissions

Developer, gDesign Enthusiast, Founder, Father

hnsakes [at] gmail.com

Submissions

comment 7y ago · link · parent

When done correctly and performantly, animations in web apps allow for a user experience that is closer to that of native apps.

comment 7y ago · link · parent

If available in all major browsers, I'd use it for collapsable horizontal/vertical navigation panes/bars.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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>

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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?

comment 9y ago · link · parent

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?

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

"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.

comment 9y ago · link · parent

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?

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Down vote instead of engaging in a discussion? Here's another comment for you to down vote.

comment 9y ago · link · parent

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.

18.

Medium.com has such a beautiful UX (please ignore, just a love post)

3 points · by Sakes · 9y ago · 3 comments

19.

Ask HN: What css frameworks do you use for email templates?

1 points · by Sakes · 9y ago · discuss

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

> 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.

comment 10y ago · link · parent

While I'm not happy about this outcome, at least it is consistent with the way that I assume our government/legal system operates.

comment 10y ago · link · parent

No home is impenetrable so we shouldn't expect anything there to be private either.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

I think eventually poetry and music would be created by AI. The question is what happens when AI is better than humans at everything.

comment 10y ago · link · parent

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.

28.

Ask HN: What lib/frameworks are you in love with?

1 points · by Sakes · 10y ago · 2 comments

comment 10y ago · link · parent

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...

12345
9