Who Honors those we love for the very life we live? Who sends monsters to kill us...and at the same time sings that we'll never die? Who teaches us what's real...and how to laugh at lies? Who decides why we live and what we'll die to defend? Who chains us...and who holds the key that can set us free? It's you. You have all the weapons you need. Now fight!”
and dont get me wrong, nothing wrong with doing it the right way, using a nice, safe gtk wrapper, etc
I just really want to have a choice!
code in question:
https://paste.sr.ht/~not-fl3/67a2eb9c93f23ef9f4586c7d21384936973551a4
120loc, opens a dialog, prints a path, depends on nothing
I can't make piece with this math.
File dialog is a pretty standalone thing, I do not believe that SUDDENLY the project scope will increase and will include half of gtk.
The hand-written headers (took me like 15 minutes with the help of c2rust) are not so hard to maintain.
I would prefer most crates on crates.io be no-dependencies, 160 lines, not monsters with 227kloc of deps!
but if you hand-write only the part of the header required for the dialog - the problem might be solved with ~160 lines of rust
in total, including "generated" headers and the dialog itself
There is a ~50 lines C snippet to get a GTK file chooser dialog: https://stackoverflow.com/a/30815396
Basically the same thing in rust https://github.com/PolyMeilex/rfd depends on ~227000 lines of rust code, not counting "rfd"'s code itself.
Which makes sense - C's includes are also thousands of lines of code as well. And most of this rust is a generated rust headers out of C headers
BUT
than I was following all the RPI-based "notebooks", but they never excited me enough to actually go build one
the device I actually had was nokia n810, to the day the best portable device I ever had
the keyboard was surprisingly usable, maemo linux really nice to work with
back then the future of mobiles seemed very bright
not exactly a replacement for a Jornada, more of what smartphones could've look like in a better world
"for years" is not a bit of exaggeration. I was always excited by really small devices with keyboards
I guess it started with HP Jordana, the device I never had but always wanted
MNT Pocket Reform is coming!
Here are all the technical details that are nailed down so far: https://mntre.com/media/reform_md/2022-06-20-introducing-mnt-pocket-reform.html
You can also sign up for email updates on the project at the end of the page.
Ana Dantas returned for industrial design. The snazzy 3D art was done by Philipp Broemme. Illustrations by Anri Hennies.
yes, each sloop project should carry complete sloop source code
yes, this is ridiculous
but I wanna try it anyway, should be fun!
august is waaay to far ahead, maybe will try it earlier, without the jam
to use this:
```(yes, it doesnt work here)
> rustc build.rs
> ./build
Welcome to sloop!
Building cratea
Building crateb
"test" ready!
> ./test
Hello world!
```
still excited about the sloop
"sloop" is not going to have binary at all. Just "sloop", the crate, used inside project's build.rs
How to get use the crate inside "build.rs" without cargo?
I guess build.rs will look like
include!("./sloop.rs");
use sloop;
fn main() {
let crate_type = sloop::CrateType::Binary;
let crate_name = "test";
let dependencies = ["cratea", "crateb"];
sloop::build(&crate_type, &crate_name, &dependencies);
}
@fedor if you want a joke on this subject: https://www.youtube.com/watch?v=BgxklT94W0I
there was not a single time in my entire life when I downloaded a CLI tool in python, neither from github or PIP, and it worked
"> pip install TOOL"
"> TOOL"
"TypeError: write() argument must be str, not bytes"
is my most typical python user experience
"Pything > Bash" is one of the takes I really can't get behind
Forking all the repos with a "fork" button is perfectly legal.
It will take the power away from Microsoft and will give the power to the community.
With some nice search API on top, it will allow building an "ethical" CoPilot or any other tool like this.
And microsoft controls this incredible amount of knowledge. Search functionality available only for registered users.
CoPilot only for paid users.
I am pretty sure more tools like CoPilot are going to happen and I highly doubt they are going to be more open than a paid CoPilot
CoPilot is just the beginning
Let me confess - GitHub search box is my primary source of knowledge.
I see a weird constant in the datasheet and want to see what exactly it means - I looks for that constant on github. It gives me 0 stars, no readme, 1 contributor project from 2003 and there someone used this constant.
Thats incredible time saver!
Game developer and a vagabond.