Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zkldi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
zkldi
5y ago
> it's what it appears to be that is apparently the problem. Yep, Someone mentioned in another part of this thread that Vue compiles most of this out before production, so my remaning confusion pretty much stems from the DSL being a
152.
▲
by
zkldi
5y ago
Then that sounds pretty good that it's not ran in production and compiled out! I guess my remaining alien issue is that the DSL for Vue is a mish-mash of JS, custom syntax, dom attribute context and possibly more?
153.
▲
by
zkldi
5y ago
Yes.
154.
▲
by
zkldi
5y ago
I don't really see much of a difference - that is still storing it as a text attribute inside a DOM node. To be clear, I vastly prefer Reacts approach of putting HTML into JS, rather than Vue/Angulars approach of putting JS into H
155.
▲
by
zkldi
5y ago
The "scary underscore" expression isn't scary because it's an underscore, it's because it implies the evaluation of JS, such that you could (and obviously wouldn't) do things like v-for="x in console
156.
▲
by
zkldi
5y ago
My issue isn't the existance of programmatic expressions (yeah, it's the point of templating languages), but more that the way vue (and angular) do it is a mess of syntaxes that creates a really, really strange template. The lodas
157.
▲
by
zkldi
5y ago
> :href="xxx" isn't a string, that is javascript in there. This is the part I don't really follow, though. Technically: <a href="print(1//3)"></a> href here isn't a s
158.
▲
by
zkldi
5y ago
If it's a template then it's a very complex one, and under closer inspection it reads almost like storing code in a string and evalling it. Let's say we want to iterate over commits in reverse. A google shows that we can do s
159.
▲
by
zkldi
5y ago
I feel like I'm in an alien world when it comes to Vue - it has this weird pattern of making strings do loads of heavy lifting. The Github Commits[1] example on their documentation has a load of stuff that just doesn't sit right w
160.
▲
by
zkldi
5y ago
Sorry for the long delay on replying to this - what packages depend on files being there? I've never had a single issue with pnpm's approach to package management, minus some poor support from github.
161.
▲
by
zkldi
5y ago
You can see the original error message in vscode by clicking "output" and navigating to Git in the dropdown.
162.
▲
by
zkldi
5y ago
I really like this approach - I forget CSS has native variables now (maybe it has had it for a while?) and always think of scss's $variables.
163.
▲
by
zkldi
5y ago
I've had a wonderful time with PNPM ever since switching for a couple of projects - installs are near instant, and my hard drive is no longer stuffed with a million installs of the same package in different places. I always thought it
164.
▲
by
zkldi
5y ago
But why would you use @apply instead of something like: .button { background-color: $gray-100; border: 1px $gray-200 /\* so on... \*/ } i don't understand how these "micro" css c
165.
▲
by
zkldi
5y ago
> Declarative goal based development. You type in English what you want the application to do, Isn't that just code? I'm convinced that for sufficiently complex "no-code" solutions, you just end up with a poor mans pr
166.
▲
by
zkldi
5y ago
I've seen this posted around quite a lot now and it seems quite interesting. Is there a JS/TS implementation of the spec?
167.
▲
by
zkldi
5y ago
PNPM[1] has became a must-use for me in every node project I work on now. [1]: https://pnpm.io/
168.
▲
by
zkldi
5y ago
Completely agree. Whenever html attributes start containing logic is when the templating engine has just implemented its own programming language - poorly.
169.
▲
by
zkldi
5y ago
The latency on cloud gaming makes it unusable for so many games. Especially anything multiplayer.
170.
▲
by
zkldi
5y ago
> NFTs will enable new interconnected markets that we haven’t even dreamed of yet. How? My understanding of it is that it's a JSON document that points to a URL (which is just some webserver 99% of the time). How does this allow any
171.
▲
by
zkldi
5y ago
These articles always seem to pop up everytime there's a JS language update - and they're all just copy-pasted content from MDN.
172.
▲
by
zkldi
5y ago
Whoops, looks like they took it down. There's a reupload here: https://www.youtube.com/watch?v=6SAkUs3urrg . And it depends on your definition of advertisement, I guess. A new version of $product coming out getting to t
173.
▲
by
zkldi
5y ago
It's probably less of a personal thing and more of a marketing/advertisement campaign thing. The website itself claims to be organic advertising, and it's certainly something that would work. This is actually used in practice
174.
▲
by
zkldi
5y ago
Just to be clear: you can do this with basically all social media, but I think it's an interesting discussion to be had that these services exist (and have specific detail, such as the comments[1] or FAQ[2]) one. This isn't a knoc
175.
▲
You can buy Hacker News upvotes and comments
(upvotes.club)
28 points
by
zkldi
5y ago
|
27 comments
176.
▲
by
zkldi
5y ago
It's always DNS...
177.
▲
by
zkldi
5y ago
Mediation is a real word though?
178.
▲
by
zkldi
6y ago
> Depends on the language really. JavaScript? Yeah, good luck even spinning up a year old project on NodeJS without any breakages. Slightly better situation in the browser but most likely you'll need to change something if you'
179.
▲
by
zkldi
6y ago
That solution is great! But it sounds like something that could be automated or managed for me.
180.
▲
by
zkldi
6y ago
I do! And I think node has a lot of flaws (Ryan seems to agree). I do not understand why deno has gone for this route. It seems primed to produce a package manager eventually, and it seems like a bad idea to leave package manager creation
More ›