For iOS, Go Map!! (source) has a similar quests system. I don’t know how well they hold up to StreetComplete though, I’ve never used the latter.
Also, obligatory https://wiki.openstreetmap.org/wiki/How_to_contribute!
The bingo one actually uses crossbeam channels instead of mutexes, so that’s nice. I haven’t looked too closely at it though.
I don’t think you can do too much about the Spectrum one if you want to keep the two threads, but here’s what I would change related to thread synchronization. Lemmy doesn’t seem to allow me to attach patch files for whatever reason so have an archive instead… https://dblsaiko.net/pub/tmp/patches.tar.bz2 (I wrote a few notes in the commit messages)
Just to give the reason for Rc<RefCell> in the current project. I’m reading in a M3U file and I’m going to be referencing it against an Excel file. So in the structure for the m3u file, I have two BtreeMaps, one for order by channel number and one by name. Each containing references to the same Channel object.
So basically it’s channels indexed by channel number and name? That one is actually one of the easy cases. Store indices instead:
struct Channels {
data: Vec<Channel>,
by_number: BTreeMap<u32 /* or whatever */, usize>,
by_name: BTreeMap<String, usize>,
}
// untested but I think it should compile
fn get_channel_by_name(ch: &Channels, name: &str) -> Option<&Channel> {
Some(&self.data[*ch.by_name.get(name)?])
}
Not for the built-in Eq derive macro. But you can write your own derive macros that do allow you to take options, yeah.
Do you have some public code you could link to that you’re having this issue with? There isn’t a one-size-fits-all solution for Rc/RefCell, I think.
Whoa nice, I need to keep this in mind.
The article starts with a table of contents with the change highlights as the first item.
This is a great project. The way it handles mixing markup and code is on point. Also, for drawing its CeTZ is so much nicer than TiKZ, the LaTeX equivalent. I made some great graphics with it for a seminar presentation and paper that I couldn’t have done anywhere near as easily with LaTeX. (The presentation slides I made entirely with Typst, the paper had a LaTeX template that I didn’t feel like remaking because it was huge so I just embedded the graphics I made with Typst)
Here’s a demo one that works on rooted Android: https://github.com/Hirohumi/RustyRcs/
(Also iOS 18+ Messages lol)
It’s not RCS’s fault Google locks down the API on their OS.
No it’s not. Get the spec here: https://www.gsma.com/solutions-and-impact/technologies/networks/rcs/universal-profile/#download
Ah, so that you can easily replace it if it ends up on some spam list?
What do people use Google Voice for? Phone calls from PCs?
Seems fine to me except for all the firewall and special routing stuff, I’m not familiar with that. Does the wg command show received or only sent data? For the record, this is my config:
# /etc/systemd/network/mullvad.netdev
[NetDev]
Description=Mullvad
Kind=wireguard
Name=mullvad
[WireGuard]
PrivateKeyFile=/var/keys/mullvad/pk
[WireGuardPeer]
AllowedIPs=::/0
AllowedIPs=0.0.0.0/0
Endpoint=146.70.126.194:51820
PublicKey=ApOUMLFcpTpj/sDAMub0SvASFdsSWtsy+vvw/nWvEmY=
# /etc/systemd/network/mullvad.network
[Match]
Name=mullvad
[Network]
Address=10.64.130.96/32
Address=fc00:bbbb:bbbb:bb01::1:825f/128
[Route]
Destination=::/0
Metric=16384
[Route]
Destination=0.0.0.0/0
Metric=16384
I use it for Mullvad and a couple internal things but yeah it works for me.
Am I reading too much into this or are they essentially saying “don’t make us put too much stuff in our games that you think is profitable but players will widely hate and retaliate against us for”?
2024 is good for me so far, but I’m going to finish my bachelor’s degree in 2025 and still have no real clue what I want to do after (very likely something that has nothing to do with the degree though). So it’s completely up in the air lol. But hopefully I’ll find something I actually want to do and enjoy.
This is exactly what OpenAI etc. wanted to achieve with all the “AI safety” bullshit doomer talk. I really hope this doesn’t pass
For 2, has this actually ever happened to anyone in uefi times? Mbr overwrite was the good old times, now we have something at least better
I assume this is just from people remembering how that happens with MBR boot and just assuming it does the same with EFI.
The personal project I’m currently working on the most is Nucom, an implementation of Microsoft’s Component Object Model.
The IDL compiler for it, which takes .idl files which define COM interfaces and outputs C/C++ headers/source files and Rust modules, is written in Rust.
Originally, this project was all C++, and everything but the compiler still is (which also likely isn’t going to change since it involves building dynamic libraries which Rust does not do well at all), but I really did not want to go without Rust when writing a parser/compiler type thing because the language is so much nicer to work with.