Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marcus_cemes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
marcus_cemes
4y ago
From the repository that I found, it seems that you wrote the backend in Go. How did it hold up? Any lessons learned?
32.
▲
by
marcus_cemes
4y ago
I've done some C/C++, a lot of JS/TS due to its web dominance. I found Elixir a year ago and fell in love with it. I love the functional style of Elixir, it's elegant to write and read, but feels unsafe. The lack of a ty
33.
▲
by
marcus_cemes
4y ago
This is brilliant. Just made my day
34.
▲
by
marcus_cemes
4y ago
That's perfectly sufficient for a large number of use cases, keeping things simple. The edge isn't just where the cool kids hang out, through. There is a very noticable latency hit over long distances, amplified by the number of
35.
▲
by
marcus_cemes
4y ago
The type inferrence only applies to ReScript code, it's not a magic compiler that can statically analyse JS code and generate interfaces for any arbitrary npm package. For Typescript interop, it can "trust" the TS declaration
36.
▲
by
marcus_cemes
4y ago
I don't understand why ReScript is trying to sell itself as a language for React. React is already "kind of" functional, has a rich JS/TS ecosystem and there are fantastic alternatives such as Elm. I think this would hav
37.
▲
by
marcus_cemes
4y ago
It takes time to establish discoverability with a website, you either rely on a search engine, word of mouth, business cards, etc. A new small-business website won't magically start generating traffic without some significant effort. U
38.
▲
by
marcus_cemes
4y ago
I'm not an expert, but here's my take. The public key is generally not considered a secret and is therefore "less guarded". Anybody with access to the public key is able to encrypt and create legitimate looking files tha
39.
▲
by
marcus_cemes
4y ago
Unfortunately, I have to agree. I've been using Elixir for the last year and it's one of the very few languages that I've really enjoyed using, a lot. I would love to see it get traction, but it doesn't have the same m
40.
▲
by
marcus_cemes
4y ago
I guess the "digital but with physical buttons" is the middleground. It still gives the designers the ability to mess around with acceleration curves that amplify fast movements, or to not sample the value fast enough to get coher
41.
▲
by
marcus_cemes
4y ago
I've actually been deterred from Heroku because of the pricing. I find $7/month too much for a website or a blog, especially as I like starting new projects. There may be months where nobody visits my sites. I pay 2.49 euros/
42.
▲
by
marcus_cemes
4y ago
Most people trust that the script is not malicious, including me. There is wrong with this approach, it is extremely convienient to try something out that has good reputation. For these people, running the script or downloading a signed Git
43.
▲
by
marcus_cemes
4y ago
A website that is able to function without JavaScript increases its accessibility, that doesn't mean that the user explicitly disabled JavaScript. You could be on a train in a 5G-equipped country with an unreliable connection. Have you
44.
▲
by
marcus_cemes
4y ago
I'm in love with the design of that website. It's clean, there are subtle graphic changes such as the pixel art that changes when you toggle the light switch, a really fantastic job there (one small remark, hovering over the pixel
45.
▲
by
marcus_cemes
4y ago
It's easy to server-side render Next.js apps, but usually they still have to talk to a backend. I don't think Next.js' API routes are good for this, especially if you need messages queues, cron jobs, etc. Now you have three d
46.
▲
by
marcus_cemes
4y ago
I think the machine has just gotten too big, it would require a huge effort, even the original creator or Node.js, Ryan Dahl, is strugling create sufficient displacement with Deno. Innovation over safety? Like cheap products I guess, either
47.
▲
by
marcus_cemes
4y ago
It makes me deeply sad to see these sort of interactions in open source [1]. > Hmm, I think it's a worthwhile fix. Where did you see malware here? > I think the author of this repo is free to decide what code he publishes. Say th
48.
▲
by
marcus_cemes
4y ago
Also, these types of global modifications make such libraries fundamentally incompatible with projects such as Tauri that focuse on safety and security. In a recent video of theirs they mentioned that of the popular frameworks, the only one
49.
▲
by
marcus_cemes
4y ago
If anyone is curious as to why, I believe it's the only way that React can "poke" your code to see whether it really is side-effect free, and therefore concurrent mode/suspense compatible. The idea is that React can re-r
50.
▲
by
marcus_cemes
4y ago
This is my sentiment as well, I understand some people's reservations and the fact that "async pollutes every calling function, as now everything must async as well", but to me this is correct behaviour and beneficial for the
51.
▲
by
marcus_cemes
5y ago
I've been very attracted to learn Ruby a couple of times, being exhausted of the JS ecosystem. Everybody who's used it seems to fall in love with it, but I can't get over just how slow it is... It takes a fresh installation o
52.
▲
by
marcus_cemes
5y ago
I'm not familiar with NaCl, websites that don't seem to have been updated in 7 years (version states 2016?) make me a little suspicious about the future viability of said projects. Perhaps it's not something that needs to be
53.
▲
by
marcus_cemes
5y ago
> Using golang cloud functions. I have a constant stream of hits, so there are always available functions. There is no way to avoid cold starts althogether, there will always be tail latencies unless there is a generous amount of idle in
54.
▲
by
marcus_cemes
5y ago
Static pages relied on the client being able to run JS to populate user-specific data. Also, a lot of data is fine with being eventually consistent, which is a good fit for edge functions. An example is rendering the account icon and userna
55.
▲
by
marcus_cemes
5y ago
Amazing work, kudos to the Supabase team! > However, Supabase already offers a flexible solution for that - Database Functions! As such, for Supabase [Edge] Functions, we decided to deploy far-and-wide so that they are as close to your e
56.
▲
by
marcus_cemes
5y ago
Great work already! I do have one nitpick, however. Instead of handling click events, it seems to be using a more direct mouse input and acting on the mouse button being pressed. In webpages, this is the difference between onmousedown and o
57.
▲
by
marcus_cemes
5y ago
> There are many context where a 0conf tx makes sense, mostly IRL. I'm curious, like what? To me this is more like "someone wrote a cheque but there's no guarantee that they'll give it to you".
58.
▲
by
marcus_cemes
5y ago
I think that their leaders should sit down and negotiate, rather than stick weapons in the hands of ordinary people and deter Russia with the threat of causing genocide. Nobody wins in that scenario, unless Russia backs down which seems unl
59.
▲
by
marcus_cemes
5y ago
> I'm about to graduate from a broke high-schooler to be a broke college student. I could reduce costs and run a minimal VM that acts as a WireGuard VPN server and proxy TCP using fancy firewall rules or whatnot, but that would also
60.
▲
by
marcus_cemes
5y ago
> You can have 5 rocks destroyed in the future. Exactly, you use it to store some information that has no real quantity but may be converted to a real quantity in the future through some other process. I'm a polytechnic university s
More ›