Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ElatedOwl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ElatedOwl
9y ago
>I've said things that I regret, especially in my younger years. I was both blessed and cursed to have the internet be mainstream while I was going through puberty. Maybe I seem weird for not being on Facebook, but Myspace was a hum
62.
▲
by
ElatedOwl
9y ago
>A simple, but practical example we're using in production: on a GitLab Issue, the issue's state is displayed as either closed or open. That simple value can change often and needs to be represented in several views. With JQuer
63.
▲
by
ElatedOwl
9y ago
All I'm saying is that Vue doesn't do two way binding. v-model translates directly into a DOM event, ie <input v-model="someProp"> is equivalent to <input v-bind:value="someProp" v-on:input="s
64.
▲
by
ElatedOwl
9y ago
Thanks for the clarification but I'm still a little confused. >VueJS keeps two way data-binding between the template and the component In what sense? If you need to update your data on the JS side from the DOM you have to use events
65.
▲
by
ElatedOwl
9y ago
>And VueJS employs two-way binding Two way binding is an anti-pattern in Vue. https://vuejs.org/v2/guide/components.html#One-Way-Data-Flow You actually get console warnings if you try to affect state in that ma
66.
▲
by
ElatedOwl
9y ago
I absolutely had a lot of the same concerns, and I was just as confused as you as to why Vue wouldn't support remote url templates. That said, once I decided to roll with it, it took about a week* to get it configured how I have it now
67.
▲
by
ElatedOwl
9y ago
You can do script style templates, e.g. <script type="text/x-template" id="component-name-template"> <div> {{ msg }} </div> </script> Then when setting up your component you specify
68.
▲
by
ElatedOwl
9y ago
The problem I always have with jQuery is it turns into a maintenance nightmare (read: spaghetti everywhere) and there's a lot of repetition. I'm sure there are some people with organized jQuery front ends, but it's way too ea
69.
▲
by
ElatedOwl
9y ago
Have you seen Vue's single file components? It's a (single file), which would look something like (idk how to format code on h/n lol): <template> <ul> <li v-for="message in messages">{{
70.
▲
by
ElatedOwl
9y ago
In a larger Vue application you would use a data store (ie Vuex). The only thing that can mutate the data are "mutation" methods in the data store. It is your single source of truth. If you aren't using a data store, your p
71.
▲
by
ElatedOwl
9y ago
I'm interested in applying but don't have a LinkedIn or traditional portfolio - is a stack careers Developer Story acceptable?
72.
▲
by
ElatedOwl
9y ago
>When you find the populations of people that want to "go with their gut" in the face of any evidence, where are they concentrated? That's an interesting thought, but to be fair this is an issue with just about anyone. htt
73.
▲
by
ElatedOwl
9y ago
I was born in raised in a suburban midwest area, my wife is from WV. In some ways the area seems so backwards; a guy with the legal name "Stingray", trashy houses and trailers all over. The closest mall is an hour drive. The only
74.
▲
by
ElatedOwl
9y ago
>bruh >gainz These terms come from the fitness world. At first glance, it seems you're implying that the fitness world is full of gender discrimination etc. FWIW bro (brah, bruh, etc.) is commonly used gender neutrally, much like
75.
▲
by
ElatedOwl
10y ago
I'm admittedly bias, I love SQL. That said, I think having the database server worry about being a database is a good thing. In my career I've had a few projects that I've been too ambitious with; by trying to do too many thi
76.
▲
by
ElatedOwl
10y ago
>I guess where we're in disagreement, though, [...] "useful idiots" that will follow along with dangerous patterns that might have their source in extremely negative astroturfing/forum-sliding/shilling, but which
77.
▲
by
ElatedOwl
10y ago
Sure, he's a compilation post from Reddit. https://np.reddit.com/r/conspiracy/comments/56u8vz/new_evide...
78.
▲
by
ElatedOwl
10y ago
Linguistics aside I think we're in agreement. :) The article doesn't outright define trolling, but gets pretty close with: >humans like trolling. It’s easy for people to stay anonymous while they harass, pester, and bully other
79.
▲
by
ElatedOwl
10y ago
It is; but they're employing shills, not trolls. It doesn't even have to be political, I'm sure we've all seen the forced corporate memes that totally aren't an advertisement.
80.
▲
by
ElatedOwl
10y ago
I'm surprised at the concern over trolling compared to shilling. If someone wants to be an ass whatever, but CTR and similar seems like a much more serious problem to me.
81.
▲
by
ElatedOwl
10y ago
>If I was after rendering performance, I wouldn't buy a Ryzen But why? http://www.anandtech.com/show/11170/the-amd-zen-and-ryzen-7-... The benchmarks show Ryzen being the obvious choice other than cinebenc