Pinned post

I don't know the future. I didn't come here to tell you how this is going to end. I came here to tell you how it's going to begin.

Pinned post

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!

Show thread

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!

Show thread

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

Show thread

There is a ~50 lines C snippet to get a GTK file chooser dialog: stackoverflow.com/a/30815396

Basically the same thing in rust 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

Show thread

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

Show thread

"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

Show thread

MNT Pocket Reform is a device I dreamed about for years

one of the very few projects I am truly 100% excited about, everything about it is just so cool

Fedor boosted

MNT Pocket Reform is coming!

Here are all the technical details that are nailed down so far: mntre.com/media/reform_md/2022

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

Show thread

to use this:

```(yes, it doesnt work here)
> rustc build.rs
> ./build
Welcome to sloop!
Building cratea
Building crateb
"test" ready!
> ./test
Hello world!
```

Show thread

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);
}

Show thread
Fedor boosted
Fedor boosted

everyone's always complaining about how much they hate computers but I love them, I love computers

the things mostly dislike about computers come from a feeling of disempowerment. but computers can be very empowering, if we let them, if we make that a priority

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.

Show thread

I have a solution tho

We should fork all the repos on github!

Show thread

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

Show thread

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!

Show older
Gamedev Mastodon

Mastodon server focused on game development and related topics.