alevans4
Re:Ask HN: What is your best advice for a junior software developer?
on Wednesday October 03, 2018 @10:51AM (#18130745)
I agree that this is one of the most useful things that you can do and one of the most commonly overlooked for whatever reason. I can't underestimate the number of times I've worked with someone who is looking in seemingly random places to solve an error instead of tracing backwards from the error message in front of their face.
Re:A curated list of things related to Vue.js
on Saturday September 02, 2017 @12:58PM (#15157007)
I agree. JSX is supported but in my experience, very rarely used.
Re:A curated list of things related to Vue.js
on Saturday September 02, 2017 @12:54PM (#15156981)
I spend a good amount a time answering questions in the Vue StackOverflow tags. While this is documented, it's nevertheless something a huge amount of people stumble over. I'd say the change detection caveats are right behind "this" issues (which isn't really a Vue issue, just javascript) in terms of the most common problems I see in Vue code.
Re:A curated list of things related to Vue.js
on Saturday September 02, 2017 @12:50PM (#15156959)
They moved it. It's under List Rendering now in the guide. I have no idea why. https://vuejs.org/v2/guide/list.html#Object-Change-Detection...
Re:Vue.js vs. React
on Saturday August 19, 2017 @11:02PM (#15056797)
Not yet as far as I know.
Re:Vue.js vs. React
on Saturday August 19, 2017 @09:57PM (#15056608)
Vue templates are compiled into render functions. They are checked when the template is compiled. If you are using a build process, then that would be at build time.
Re:Vue.js vs. React
on Saturday August 19, 2017 @05:01PM (#15055575)
You nailed it :) You could also destructure the passed properties in the scoped slot (scope="{list}") so you could just use "option in list".
Re:Vue.js vs. React
on Saturday August 19, 2017 @03:38PM (#15055153)
1. The MobX-like functionality is moreso simply a native feature of Vue. All data values are converted into observed values. A render is triggered by changes to data. I believe Evan himself basically said React + MobX = Vue. Using a render function was just a choice. It could just as easily have been written with a template.
2. Again, this was basically just a choice for the example. The spinner could be defined in a module and imported/registered locally. Codepen/JSFiddle just isn't the greatest place for that kind of example.
3. Scoped slots are a way for a component to expose internal data to elements contained in a slot (content thats contained within the component but defined by it's parent). I agree, its initially one of the more confusing concepts in Vue.
Re:Vue.js vs. React
on Saturday August 19, 2017 @02:13PM (#15054754)
Here is an example of that code implemented in Vue.
https://codepen.io/Kradek/pen/JyLPaL?editors=1010
I really haven't run into anything I could do in React that I couldn't do in Vue. What I mainly miss in Vue is react-native.
Re:Vue in 2016
on Wednesday December 28, 2016 @04:35PM (#13273879)
There is no way to get typing in the template currently that I am aware of. There are various libraries that help with Typescript integration like https://github.com/itsFrank/vue-typescript, but you cannot currently write Typescript as the language in a single page component (again that I am aware of). I'm definitely hoping this is coming this year.
Re:Intro to jQuery: Learn jQuery with Street Fighter and Hadoukens
on Monday November 25, 2013 @12:30PM (#6795430)
What is the purpose of the opacity fade at the bottom? Stylistic? I'd really rather be able to see everything clearly. Looks like there is some good content otherwise.
Re:AngularFire - A real-time backend for AngularJS from Firebase
on Friday August 30, 2013 @01:28PM (#6303009)
Their decision to dump the data right into the controllers and not have some interface with services always puzzled me too and was the reason I rolled my own instead of using angularFire.
Re:Quickly generate product screenshots in realistic environments
on Tuesday July 30, 2013 @11:07AM (#6127362)
Would be awesome if this had stages for industrial environments.
Re:LINQ Ruined My Favorite Interview Question
on Thursday July 11, 2013 @11:18AM (#6026547)
Underscore has groupBy and some of the others you may be looking for.
Re:Why Professors at San Jose State Won't Use a Harvard Professor's MOOC
on Thursday May 02, 2013 @12:53PM (#5645701)
I agree. Was interested enough to click through and start to read, stopped when I couldn't find a definition.
Re:RapidShare will delete free users' data over 5GB tonight
on Tuesday March 19, 2013 @02:29PM (#5402692)
Am I missing something or did the date change? Looks like this happens on April 8th, 2013.
Re:Meet the Obama campaign's $250 million fundraising platform
on Wednesday November 28, 2012 @11:00AM (#4843151)
It seems to me that disappointment in the current state of campaign finance reform and interest in how a campaign dealt with the current reality are not mutually exclusive.
Re:Minecraft experiment devolves into devastating resource war
on Tuesday August 21, 2012 @01:13PM (#4413609)
Doesn't seem that difficult. Raiding guilds in Everquest and WoW pulled this off for years with 40 players and more.
Re:Anonymous hacks RCom servers, warns Indian government against web c...
on Saturday May 26, 2012 @12:30PM (#4027644)
"we will unleash hell and shiver on you". Oh Anonymous, you make me laugh.
Impressive. My initial reaction watching the clip is that he got the sound right (loud). I've stood near the runway as a real Blackbird took off and could feel my chest rattle from the sound as it rolled by.
Re:Coding Horror - Welcome to the Post PC Era
on Monday March 19, 2012 @08:10PM (#3727087)
My parents, who are 70 and 66, both primarily use an iPad for computing these days. My mother's main email client is her iPad. When they went on vacation late last year, both brought their iPads along to allow them to communicate, find things, etc. It's gone way beyond expensive toy.
Re:WAT Driven Development
on Wednesday March 14, 2012 @02:49PM (#3704712)
I tend to agree with this, but in the circles I run in where it was used it's also spelled 'wut'. I was a little confused when I first saw it here on HN as 'wat'.
Re:Middle-aged prodigies: Seven poster children over 40
on Friday March 09, 2012 @12:37PM (#3685043)
Agreed. I don't know why people run without Adblock.
Re:This site cost $18m to make
on Tuesday January 17, 2012 @08:56AM (#3474881)
Is there an older story on the internet than a software project overruns budget or doesn't get finished? I'd be more interested to see something like, software project costs $18M and here's where we went wrong, or software project costs $18M and here's why the client got their money's worth.
Re:Writing Eloquent JavaScript Without CoffeeScript
on Friday December 09, 2011 @11:20AM (#3334251)
I had to enable three sites in NoScript just to be able to see the blog post.
Re:Space Station time lapse
on Sunday November 13, 2011 @10:39PM (#3232729)
Looks like lightning.