I really don’t care that a new shell is written in rust. I care to see examples of how it actually would be better than bash.
3,012 karma · joined March 24, 2016
I really don’t care that a new shell is written in rust. I care to see examples of how it actually would be better than bash.
You can gain a lot from the article and see it as both manipulative, or as insights for working through your own social anxieties. You could bring both attitudes to the article. And one of those is obviously healthier than the other.
Should I expect a “good enough” pdf export experience in zensical at some point or now?
We just don’t have good desktop GUI platforms anymore. Qt and GTK are massive beasts, Windows changes theirs every 4 years (and no one wants to be tied to a single platform anyway), we don’t want to deal with Electron, and writing your own GUI from scratch is hard.
Terminals just got good lately and it’s way easier to make something higher quality in them than as a GUI. It’s just too hard to make a good small desktop app.
It’s the same reason why it’s easier to make something look great with LEGO than if you want to mold clay. I’d also wager that devs today on average know more about good UX than devs did back in the 80s when clunky terminal apps used to be made.
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 about architecture. Show the thing or bust.
> Additionally, when Zig 0.16 is released with the std.Io interface, I will implement that as well, allowing you to use the entire standard library with this runtime.
Unrelated to this library, I plan to do lots of IO with Zig and will wait for 0.16. Your intuition may decide otherwise and that’s ok.
This SHOULD be the main application of the tech. It’s hard to tell if it is because authors can’t do science communication, they can apparently only do sales.
This looks dead simple to use! LOVE IT.
The one feature request I have is for adjusting margins (adding/removing fixed amount of space from every page, optionally adding/removing different amounts from odd numbered pages). Target audience: People who want to read PDFs on small ebook readers.
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 the cpu, but I’ve hit this issue on all tablets I’ve used. If you like riffling through pages in you paper notebook, you will hit the limit too. I know at least 2 people who stopped using their tablets over time because of this issue.
If this tech helps solve that problem, it’s more important to me than an eink monitor.
Edit: this is mainly important for notes, because sketches, scribbled diagrams and quick notes half-taken in meetings are not really searchable. PDFs and ebooks don’t have this problem.
The project is dead enough that they no longer own the TLD for the company. As far as I know, the only remnants of the project are youtube recordings of demos held at conferences.
I see it’s 0.15.1 in the zon file, but that should also be part of the post somewhere.
Type checking is simply built in testing for a subset of problems. At scale, the only thing you gain from dynamic typing is the need to write even more tests than usual.
If you’re not in manual memory management land, then you probably don’t care about this optimization just like you barely think of stack vs heap. Maybe the compiler could guess something for you, but I wouldn’t be worrying about it in that problem space.
The sorting the author describes absolutely DOES happen in Romania. Exactly as he describes it, “getting into a good school” is incredibly important for students and parents here.
I’d also like to add the high school curriculum is very dense. The kind of math we did in 10th grade (there are 12 grades in Romania) was math people were only introduced to in their first year of university in Denmark.
There’re also a significant amount of optional after-school programs for contests, and I’ve only encountered students from good schools in them (as far as I can remember).
Yes, Romania is much better at filtering and at training people who are predisposed to intelectual work from a young age. Yes, Romania is bad at educating the masses.
However, I disagree with his conclusion and value judgement. I’d much rather see Romania adapt a system which educates everyone, rather than the world be better at filtering.
For those working on the standard library, it’s a great thing. For one like me who casually uses zig, it feels like waiting for 0.16.0 for most of the IO dust to settle is the right thing to do.
As I understand it, many countries in the European Union use distributed ledgers for elections. Essentially it lets you cross reference votes and store that database across servers in multiple countries. It also prevents post-election data tampering by the state holding the election.
My understanding is this this system is not an open to every random Joe who wants to have a server (like bitcoin is). I think you still need to be a state actor to be part of the distributed database (so it's not a zero trust environment).
(Unfortunately, I don't have any good links to back this claim up)
I would argue TODO means “intent to implement”, and they should be regularly converted into either tasks, documentation or just standard comments without a special keyword.
That being said, I agree we don’t need a new term to express “Zig has a function in the async API that throws a compilation error when you run in a non-concurrent execution. Zig let’s you say that.” It’s fine to so that without proposing new theory.
1. Zig plans to annotate the maximum possible stack size of a function call https://github.com/ziglang/zig/issues/23367 . As people say, this would give the compiler enough information to implemented stackless coroutines. I do not understand well enough why that’s the case.
2. Allegedly, this is only possible because zig uses a single compilation unit. You are very rarely dealing with modules that are compiled independently. If a function in zig is not called, it’s not compiled. I can see how this helps with point 1.
3. Across FFI boundaries this is a problem in every language. In theory you can always do dumb things after calling into a shared library. A random C lib can always spawn threads and do things the caller isn’t expecting. You need unsafe blocks in rust for the same reason.
4. In theory, zig controls the C std library when compiling C code. In some cases, if there’s only one Io implementation used for example, zig could replace functions in the c std library to use that io vtable instead.
Regardless, I kinda wish kristoff/andrew went over what stackless coroutines are (for dummies) in an article at some point. I am unsure people are talking about the same thing when mentioning that term. I am happy to wait for that article until zig tries to implement that using the new async model.
So if you’re using an API like mmap like that you should think of it as IO (I don’t think you can, but am not sure).