Lattice 0

Results 149 comments of Lattice 0

Solution: `flutter pub add --dev freezed` but also make sure of the following: ``` flutter pub add freezed_annotation flutter pub add --dev build_runner ```

``` pub fn return_a() -> A { todo!() } #[derive(Debug, Clone)] pub struct A { pub event_type: Box, } #[derive(Debug, Clone)] pub enum EventType { ProfileF64(ProfileEvent), } #[derive(Debug, Clone)] pub...

``` pub fn return_a() -> A { todo!() } #[derive(Debug, Clone)] pub struct A { pub event_type: Box, } struct ProfileEventF64 { value: f64 } #[derive(Debug, Clone)] pub enum EventType...

``` pub fn return_event() -> Event { todo!() } pub struct Event { pub event_type: Box, } macro_rules! impl_profile_event { ($type:ty,$name:ident) => { pub struct $name { pub value: $type,...

What is the state of this? Wanted to render into Flutter which uses GTK, it gives me a GTKWindow and GdkGlContext. Works in C++ so should work in Rust

Turns out even without touching LIBTINS_ENABLE_PCAP variable (therefore letting it ON) gives me the error

Sorry, I just found that serialize() returns an std::vector. However, the serialization of ``` Tins::IP pkt = Tins::IP("192.168.0.1") / Tins::TCP(13, 15) / Tins::RawPDU("I'm a payload!"); ``` gives me a full...

``` Qt: Session management error: Could not open network socket MESA-LOADER: failed to open swrast (search paths /snap/yubioath-desktop/7/gnome-platform/usr/lib/x86_64-linux-gnu/dri) libGL error: failed to load driver: swrast QGLXContext: Failed to create dummy...

The appImage works. Using `IBGL_ALWAYS_SOFTWARE=1` on the snap has no effect. I tried IBGL_ALWAYS_SOFTWARE=1 yubico-oath-something (forgot the name)

I tried another raspbnerry on a whole other region and also had this problem. Maybe something is wrong with alpine certificates?