Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marcus_cemes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
marcus_cemes
5y ago
Well, yes, to my understanding. If you add lang="ts" to the script block, you can write normal TypeScript code for the component logic, and it will also check props that you are passing to child components in the template. It'
92.
▲
by
marcus_cemes
5y ago
It might interest you that Wikipeida chose Vue to modernise its frontend in the future [1]. Different frameworks offer different benefits and different downsides. React is not the end-all, nor will it ever be, as long as there are interesti
93.
▲
by
marcus_cemes
5y ago
Well, good news for you, it does! Very well, in fact. Svelte itself is written in TypeScript.
94.
▲
by
marcus_cemes
5y ago
I'm not sure about "$some.prop = avalue", but props are declared as exports of your component [1], and they can be given types. Perhaps you're refering to "$$props"? The only time I've hacked into the comp
95.
▲
by
marcus_cemes
5y ago
I was initialy excited to try learning Elm, until I saw some of the drama on the GitHub issues and a blog post about leaving the Elm ecosystem after having a bad experience with the project leads (I think [1] was the post). I've since
96.
▲
by
marcus_cemes
5y ago
> Amazing projects like esbuild, SWC, and bun solve the first half of the problem, emitting JS from TS, but they skip the critical type-checking phase completely due to complexity. I love the idea behind it, but I'm also wary of now
97.
▲
by
marcus_cemes
5y ago
> One worry that I have with async rust is that the executors are so complex that the "baseline complexity" starts rather high. I completely agree, however I like that you have the option to swap out the executor for your own i
98.
▲
by
marcus_cemes
5y ago
Sounds like a lot of mental work just to log in. Or... Try a self-hosted password manager, or one that generally has a much better reputation?
99.
▲
by
marcus_cemes
5y ago
I like the ligatures in Fira Code. I find the arrows, boolean operators and the pipe symbol "|>" a lot easier to read as symbols instead of three seperate characters. I can understand why some people would dislike them. I'
100.
▲
by
marcus_cemes
5y ago
Same here, I've been using PotPlayer with MadVR for years on Windows. HDR, resolution and framerate matching worked beautifully, long before Windows had proper support for HDR. Even now, some HDR content just looks wrong in other media
101.
▲
by
marcus_cemes
5y ago
From Google's response: > If you are unsure what Android version you are on, confirm you are running Android 10 or above My Xperia X is still on 8.0.0, it only got a few months of updates before they just silently stopped sending th
102.
▲
by
marcus_cemes
5y ago
Does anyone know how Python/Django compares to something like Elixir/Phoenix?
103.
▲
by
marcus_cemes
5y ago
That's great! I very briefly went through the introductory docs, but otherwise I just dove right in. The language is really simple, the tough part is wrapping your head about immutability. There's an awesome repo with examples in
104.
▲
by
marcus_cemes
5y ago
I will never forget the first time I started IEx from within a Phoenix project, and found that I had a live shell into the running application, while the Phoenix development server was running and reachable from the browser, all with hot co
105.
▲
by
marcus_cemes
5y ago
I understand, but a lot of my refactoring is within functions to simplify and improve legibility once they work, renaming variables with generic names from "result" or "data". It's a lot faster to do a cheeky F2, kn
106.
▲
by
marcus_cemes
5y ago
After seeing Elixir pop up so many times on Hacker News these last few months, I deicded to give it a go for the Advent of Code. It's been pretty amazing actually, it takes a little getting used to, but it really feels like a language
107.
▲
by
marcus_cemes
5y ago
I've used LaTeX for the duration of my Bachlor studies. The results are superior to Word, but that's just about where the benefits end. It's a nightmare to use and I don't see how investing time to learn it will benefit
108.
▲
by
marcus_cemes
5y ago
It's burning electricity (that could in an ideal world be renewable, maybe one day) to provide a service to the network, therefore making it more secure by providing additional processing capacity that is controlled by a good actor, ma
109.
▲
by
marcus_cemes
5y ago
I'm glad that they're trying to make their voices heard, but I hope this doesn't have any long lasting effects on the Rust community/ecosystem as a whole. We all (mostly) want to see Rust succeed, but we're struggli
110.
▲
by
marcus_cemes
5y ago
Shoutout to Elixir/Phoenix for a (performant) backend.
111.
▲
by
marcus_cemes
5y ago
I pay $5 a month for 5 family members on 1password. I use it every day, it's as important as my credit card. Every other subscription based service seems to target the $10 range, even if you use it only a few times a month. Theese cost
112.
▲
by
marcus_cemes
5y ago
I've heard good things about https://gohugo.io/ (written in Go) and https://elderguide.com/tech/elderjs/ (uses Svelte), I've never used them though
113.
▲
by
marcus_cemes
5y ago
I find it fascinating that there are people still using script tags. I have personally become so tied to npm and typescript that it feels that I'm programming in a completely different language and ecosystem, with a build process and
114.
▲
by
marcus_cemes
5y ago
Correct me if I'm wrong, but: - GC pauses, Rc<T> does not, it's simply a deallocation by the last reference holder - Rc<T> still has predictable memory allocation/deallocation, GC is not guaranteed to run until ne
115.
▲
by
marcus_cemes
5y ago
Yes, I completely see your point. I really enjoyed using Koa on its own (still in production), and have recently come to respect Fastify after listening to a JS Party podcast with the author. I'm seriously considering going with a ligh
116.
▲
by
marcus_cemes
5y ago
Thanks for those, I agree. Although I think the term invest you used is very applicable, there'll definitely be a larger barrier to entry. I don't think they've every heard of Rust and it is a relatively minor project for a s
117.
▲
by
marcus_cemes
5y ago
Too true. I'm just wondering whether an ecosystem with better design and first-class developer tooling (unified linting, formating and compiler and native module system) might be easier than having to learn the Node.js/TS/Pre
118.
▲
Ask HN: Should I convince university against Node.js, maybe Rust/Go/Elixir?
12 points
by
marcus_cemes
5y ago
|
13 comments
119.
▲
by
marcus_cemes
5y ago
Being a mechanical engineer student myself, I can see where you're coming from, however, I have to respectfully disagree. It's true, most professionals use off-the-shelf solutions, the Office/Adobe suite, or other proprietary
120.
▲
by
marcus_cemes
5y ago
No worries, I've always been more interested by the technical aspect more than the creative aspect of filmmaking, hence my interest in programming. It's a personal project, I've been making films since the age of 11, although
More ›