News for hackers. Stuff that matters.

jetako

Re:Aging programmer on Saturday September 24, 2022 @02:41PM (#32965450)
I can't speak to the prevalence of this mentality, but it rings true for my consultancy. The idea of maximizing hours is absurd. We do everything we can to minimize hours, thus maximizing value to the client. That's how we keep our clients happy, and make room for more business.
Re:The new wave of React state management on Saturday July 02, 2022 @02:50PM (#31961365)
Shoutout to MobX-state-tree
Re:Dark mode in a website with CSS on Wednesday October 09, 2019 @12:36AM (#21200058)
No need for dark mode if the canonical design is dark. I wish this was more prevalent.
Re:$35,000 Tesla Model 3 Available Now on Saturday March 02, 2019 @03:21AM (#19288252)
Vanguard ETFs are my jam: VOO, VXF, VGT, VTI, etc.
Re:$35,000 Tesla Model 3 Available Now on Thursday February 28, 2019 @09:33PM (#19277491)
How do you figure? I've been financing a car at ~3% interest for the past 4 years. My investments have returned triple that over the same period.
Re:Start with a Website, Not a Mobile App on Friday January 04, 2019 @04:52PM (#18828002)
> Safari is literally worse than IE6 was.

You're joking, right?

Re:Google's cross-platform Flutter UI toolkit goes 1.0 on Tuesday December 04, 2018 @07:37PM (#18604822)
I share your concern regarding text fields. That's the one area where I never want to mess with native behavior. The search results for "flutter ios text field copy paste" aren't encouraging.
Re:How to fail as a new engineering manager on Monday September 17, 2018 @10:35PM (#18012002)
> 1. Keep Coding

Hardest pill to swallow, but it's mostly true. The old adage, "If you want something done right, do it yourself" is a subversive kind of fallacy, because it's half correct. Yes, you could probably get it done better and sooner, but every minute you spend doing it yourself could have been invested in empowering your team.

Re:Things I’ve learned using serverless on Friday May 04, 2018 @08:06PM (#16999420)
Can't believe I've gone this long (2 years) without knowing about the `sls logs` command. It's life-changing.
Re:Learn React by building a web app on Tuesday April 10, 2018 @10:43PM (#16807628)
I've been using redux-zero on my latest projects with reasonable success. It does away with the distinction between actions and reducers, so you're basically just calling functions that update the app state.

This eliminates almost all boilerplate-ish code compared to redux, but it comes with its own caveats. I think it's a solid choice for small to medium size applications.

https://github.com/concretesolutions/redux-zero

Re:Amazon Go on Monday December 05, 2016 @03:33PM (#13109210)
I hope all of the bleeding-heart armchair economists in this thread see your post. They've clearly never worked these jobs they claim to value so much.
DO NOT move to Seattle if you have any kind of seasonal-affective disorder, or you value seeing the sky.
Re:Lell.js – FRP, State Model, No Boilerplate, Built on Rx on Friday January 15, 2016 @09:07PM (#10913847)
Why is it insane?
Re:Los Angeles Plays Itself on Wednesday May 27, 2015 @06:48PM (#9614967)
The city only gives back what you put in. It's an onion with enormous depth, and you have to dig. I guess she wasn't willing to put in the effort. It's definitely not for everyone.
Re:Los Angeles Plays Itself on Wednesday May 27, 2015 @06:30PM (#9614870)
The city does seem to be in constant flux, but there are plenty of landmarks. Griffith Observatory and the Downtown Library come to mind.

The author sounds like she spent most of her life west of Hollywood. I would be bitter too if my outlook was so myopic. She somehow managed to miss the bustling Jewelry District and Gallery Row on her way to Skid Row, and must have turned around before she reached the Arts District.

Re:How Does This Not Blow Your Mind? on Tuesday December 24, 2013 @08:08PM (#6961803)
Distributed fairly evenly from K to 12, I enjoyed a handful of passionate teachers that conducted class in a more Montessori fashion, all at public schools. At the very least, they permitted me to guide my own curriculum.

My CAD/CAM teacher permitted me to spend an entire semester messing around with Photoshop. He would simply check in on me once a week. Without question, the skills I learned in those months got me my first industry job 3 years later.

The vast majority of my teachers followed the mediocre status quo that you describe, but there certainly was no mandate to teach that way. I know the problem is far more complex than individual teacher engagement, but that's what it boils down to. Anything that can be done to inspire teachers and keep them happy (better pay wouldn't hurt) should have a positive effect on education. The teachers that had the best impact on me cared the most about teaching, simple as that.

Re:Grasshopper 100m Lateral Divert Test on Wednesday August 14, 2013 @07:52PM (#6215271)
I submit that a major, if not the primary reason for the Leaf's disappointing sales is its atrocious, shameful, ugly design. It honestly makes me wonder if Nissan wanted it to fail so they can say "we tried" and have a scapegoat for backing away from electric tech.
Re:Ember.js 1.0 RC1 released on Saturday February 16, 2013 @03:25AM (#5230874)
I chose Ember in part to make use of its sibling framework, ember-data. Is there a relational model abstraction that integrates well with Angular?
Re:Ember.js 1.0 RC1 released on Saturday February 16, 2013 @02:57AM (#5230828)
Funny you mention reinventing the wheel. YUI may have been around for just as long, but jQuery won the DOM abstraction battle years ago.

Both Ember and Backbone depend on jQuery, incidentally. Leveraging popular libraries is an important feature of any framework.

Re:My iOS 7 Wishlist on Monday January 21, 2013 @05:03PM (#5094005)
Google Now is the one feature that will determine whether I switch from iPhone to Android in the next 6 months. If Apple doesn't come up with something comparable in that time frame, they will lose a customer.
Re:Why aren't we all using Japanese toilets? on Wednesday November 14, 2012 @08:10PM (#4786555)
Sounds like your hairy ass is the real problem. Ever considered trimming down there? Dry paper might afford you the illusion of cleanliness, but I guarantee you your bum remains dirty without a thorough washing.
The question wasn't about Windows. The single-app setting only works when you use the Dock to switch apps, not when you use Command+Tab. I would like to know if there's a way to affect the latter as well.
Re:I’m too lazy to be a HTML developer on Sunday December 18, 2011 @09:04AM (#3366637)
I'm sure you have better things to do than build a lightbox from scratch. Take 10 minutes to learn someone else's solution and you can move on to solving the actual problem for which you were tasked, which likely has little to do with lightboxes.
Re:If you have to learn just one programming language on Thursday May 13, 2010 @05:12PM (#1345699)
Haxe is even better. Very similar to Actionscript but with more comprehensive type inference and generics, to be brief.
Re:WTFJS? on Friday February 12, 2010 @06:14PM (#1122092)
Yea, what a weird mental block, not realizing null is equivalent to 0, even in math statements. I guess it's because null is not the same as 0 when converted to a String.
Re:WTFJS? on Friday February 12, 2010 @05:59PM (#1122063)
isNaN(null) == false; is the only wtf I can never remember to avoid, because I can't rationalize it no matter how hard I try.

Edit: I get it now. null coverts to 0

Compared to javascript, yes. True class-based inheritance, optional strict typing, getter setters, and methods and closures retain class scope. What's not to like? Null-reference errors?
Re:How To Develop a jQuery Plugin on Wednesday July 22, 2009 @04:55PM (#718539)
Nice tut for simple plugins. For plugins that keep lots of state per element and allow subsequent modification thereof, I would suggest building with the jQuery UI widget framework. Among its conveniences are method calls via $(element).customWidget('methodName') I was pleasantly surprised to find the core to be completely independent of the template system, meaning there's no custom css mixed in there, and no explicit/hacky support for any of the jQuery UI widgets.
Re:A Coder's Guide to Coffee on Thursday May 21, 2009 @07:38AM (#620239)
It's like sushi. Mediocre sushi can be enjoyable, especially when you get a multi-course meal out of it. But premium sushi, the kind shipped straight from Japan or wherever the fish live best, is another thing entirely. You can't even compare the mediocre with the premium. Different planes of satisfaction. It's the difference between decent and incredible.
Re:Javascript in Ten Minutes on Monday May 11, 2009 @07:02AM (#603282)
Please read up on MVC before you write any more code, for the love of sanity.

Older »