Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
laserbeam
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
laserbeam
11mo ago
My point is not that it’s bad UX or not, my point is the website is bad at selling me their product and could never convince me that it’s good.
62.
▲
by
laserbeam
11mo ago
This is a mobile OS, right? I go to the homepage. Zero screenshots. I go to the User Experience page. Zero screenshots. I even go to Design Principles under the UX page. Zero screenshots. Talking about mobile phone design is like dancing ab
63.
▲
by
laserbeam
1y ago
Kind of is a bad idea. Even the author’s library is not using the latest zig IO features and is planning for big changes with 0.16. From the readme of the repo: > Additionally, when Zig 0.16 is released with the std.Io interface, I will
64.
▲
by
laserbeam
1y ago
Yeah, overall it feels somewhat useful in a work context. Nothing transformative though.
65.
▲
by
laserbeam
1y ago
It’s really hard to parse both the announcement (too much hyperbola) and the article (too technical), however as I understand it, this is what quantum computing should be good at. Not at making classical algorithms faster, but at simulating
66.
▲
by
laserbeam
1y ago
You really do need units in your tables. It is not very obvious you are talking about FPS in them… or is it milliseconds or microseconds. The only place a unit of measurement is actually mentioned (FPS) is the window title of a screenshot.
67.
▲
by
laserbeam
1y ago
This, is gorgeous! I absolutely hate the PDF ecosystem, and how painful it is to get a reasonably simple tool to just do basic edits to files (adding/removing pages, combining multiple PDFs etc). I particularly hate how hard it is to f
68.
▲
by
laserbeam
1y ago
I love my e-ink tablet. Regardless of manufacturer (remarkable, boox, supernote…), all e-paper tablets have one major performance problem: quickly scrolling through multiple pages of notes. No idea if the display is the limiting factor, or
69.
▲
by
laserbeam
1y ago
Reminds me of dion systems. A few years ago a group of devs was working on a programming environment that feels very close to what DIANA is describing. The project is dead enough that they no longer own the TLD for the company. As far as I
70.
▲
by
laserbeam
1y ago
Zig is currently undergoing lots of breaking changes in the IO API and implementation. Any post about IO in zig should also mention the zig version used. I see it’s 0.15.1 in the zon file, but that should also be part of the post somewhere
71.
▲
by
laserbeam
1y ago
It reads like the author has never written a test in their life. Yeah, HTTP (one of the examples) doesn’t rely in types, it relies in rolling your own input validation… Type checking is simply built in testing for a subset of problems. At s
72.
▲
by
laserbeam
1y ago
I imagine it would be straightforward to support this for codebases which already define multiple allocators (game engines, programs written in zig, bunch of other examples I’m less familiar with). If you’re already in memory management lan
73.
▲
by
laserbeam
1y ago
I love kagi’s approach to AI summaries. They are disabled by default, but if you add a question mark at the end of the query you get an AI summary. Perfect opt-in for when you actually want it.
74.
▲
by
laserbeam
1y ago
As a Romanian who has been very involved in Olympiads as a kid, I can tell that most of this is accurate. I’ve also lived in Denmark at university for several years and can contrast educational systems from first hand experience. The sortin
75.
▲
by
laserbeam
1y ago
Geopolitical reasons for making your own OS are actually reasonable and understandable. Not saying they are good, because I would much prefer a planet where we collaborate on these things… but they’re not dumb. They make sense in a similar
76.
▲
by
laserbeam
1y ago
I… will not update my zig side projects to 0.15.x. I can see why Andrew wanted to release this, and I can appreciate getting the new Io in people’s hands… but it’s merely a few weeks after merging massive amounts of breaking changes on read
77.
▲
by
laserbeam
1y ago
Every single dj software is super crammed and has no empty space in it. This is true because djs cannot switch views while performing. There’s a lot of info which must be visible at all times on 1 single page. Regardless of UI framework or
78.
▲
by
laserbeam
1y ago
Oh yeah, I can only actually use them via private browsing (or nuking cookies, of course)
79.
▲
by
laserbeam
1y ago
> There has yet to be a usecase for distributed ledger that isn't solved better by a centralised ledger As I understand it, many countries in the European Union use distributed ledgers for elections. Essentially it lets you cross re
80.
▲
by
laserbeam
1y ago
This short article is not about TODOs, it’s about good comments, in general. Any comment that gives you context about edge cases, about why some decision was made, about why other approaches went wrong is great! I would argue TODO means “in
81.
▲
by
laserbeam
1y ago
As I understand it, you only need to allocate locals in other languages for stackless coroutines because every return statement is a yield point. I think zig is trying a different approach where they can’t get away with that assumption.
82.
▲
by
laserbeam
1y ago
Keep in mind that you can’t really express half the concepts in lamport’s papers in most languages. You don’t really talk about total and partial clock ordering when starting a thread. You only really do it in TLA+ when designing a protocol
83.
▲
by
laserbeam
1y ago
Mutexes are part of the Io interface in zig. So is sleep, select, network calls, file io, cancellation…
84.
▲
by
laserbeam
1y ago
I hope this is not a bad answer as I tried to understand what stackless coroutines even are for the past week. 1. Zig plans to annotate the maximum possible stack size of a function call https://github.com/ziglang/zig&#
85.
▲
by
laserbeam
1y ago
The article should include a very obvious way for someone to test if they are affected. How does one verify (in an in a VERY clear and straightforward way) if some arbitrary system will run into this issue in September?
86.
▲
by
laserbeam
1y ago
Yielding in this context means to a different “thread” in your context, not the OS. If you want to express “this is a point where the program can do something else” it is a yield. If you block and can’t switch to something else… it is not.
87.
▲
by
laserbeam
1y ago
There are plenty of libraries out there which require users to do an init() call of some sorts at startup. It is perfectly possible to design a library that only works with 1 io instance and gets it at init(). Whether people like or want th
88.
▲
by
laserbeam
1y ago
Yes. You can always use the blocking syscalls your OS provides and ignore the Io system for stuff like that. No idea how they’d do that by default in the stdlib, but it will definitely be possible.
89.
▲
by
laserbeam
1y ago
> If anything, it would make sense to me to have IO contain an allocator too. Allocation is a kind of IO too. Io in zig is for “things that can block execution”. Things that could semantically cause a yield of any kind. Allocation is not
90.
▲
by
laserbeam
1y ago
At some points in life I spent several weeks with my therapist and one session with a psychiatrist exploring whether I have ADHD. Turns out I don’t. It was an important journey in my past, not because it determined that brain is “normal”, b
More ›