Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 19 23:19
    icefoxen commented #1271
  • Feb 19 19:06
    jfizz commented #1209
  • Feb 19 09:11
    vinhig opened #1282
  • Feb 19 08:37
    dvc94ch synchronize #1274
  • Feb 19 05:53
    paulrouget opened #1281
  • Feb 19 05:42
    paulrouget unpinned #1167
  • Feb 19 05:42
    paulrouget unpinned #1160
  • Feb 19 05:42
    paulrouget unpinned #1172
  • Feb 17 23:10
    goddessfreya edited #1271
  • Feb 17 22:16
    dvc94ch synchronize #1274
  • Feb 17 19:47
    dvc94ch synchronize #1274
  • Feb 17 18:08
    dvc94ch synchronize #1274
  • Feb 17 18:07
    dvc94ch synchronize #1274
  • Feb 17 17:56
    dvc94ch synchronize #1274
  • Feb 17 17:50
    dvc94ch synchronize #1274
  • Feb 17 17:45
    dvc94ch synchronize #1274
  • Feb 17 17:39
    dvc94ch synchronize #1274
  • Feb 17 17:37
    dvc94ch synchronize #1274
  • Feb 17 16:31
    dvc94ch synchronize #1274
  • Feb 16 10:40
    goddessfreya transferred #1280
matrixbot
@matrixbot
UndeadLeech on Freenode est31: Nah, that would have been a terrible idea. Because they didn't have proper support for all platforms.
UndeadLeech on Freenode You can't just make another release for a cross-platform window toolkit and then remove half the platforms in a release.
matrixbot
@matrixbot
furiouzz Hello there 👋
matrixbot
@matrixbot
UndeadLeech on Freenode Hi, what's up?
furiouzz Well I am fine. Very interested by rust ecosystem and rust people. I want to help =)
UndeadLeech on Freenode That's great to hear. I'm not super familiar with winit's issue tracker, but if you're willing to learn and help, have you considered picking an easy issues and trying your hand at it?
matrixbot
@matrixbot
furiouzz I got a background of web developer, I supposed I could handle the Gamepad issue here rust-windowing/winit#944
UndeadLeech on Freenode Since Windows is already implemented, I'm sure you could try your hand at one of the other platforms using that as reference. Though it's not marked as easy, which might mean that it could be difficult for someone completely new to systems languages. But web developer != web developer, so it's hard to say for sure.
Levans I expect the difficulty of this issue to be mostly in the fact that every OS has a different API for handling gamepads.
furiouzz Well, I am learning Rust since June. Cried a bit with wgpu 😂, create small task runner for learning purpose (https://github.com/FuriouZz/wk-rs) and read a lot of articles.
matrixbot
@matrixbot
Levans I mean, 90% of winit is plumbing anyway, so... ^^"
furiouzz Every cross-platform project are kind of plumbing haha
matrixbot
@matrixbot
UndeadLeech on Freenode gentz, do you know how with_hardware_acceleration(None) should behave on macOS? Under which circumstances would that accelerate?
UndeadLeech on Freenode It seems like None is equal to false?
matrixbot
@matrixbot
furiouzz Well I succeeded the step 1, except an error with the Instant dependency the traitstd::hash::Hashis not implemented forinstant::wasm::Instant``. wasm::Instant wrap a f64 and a f64 can't be hashed =/
matrixbot
@matrixbot
est31 on Freenode <UndeadLeech> est31: Nah, that would have been a terrible idea. Because they didn't have proper support for all platforms.
est31 on Freenode good point
est31 on Freenode but even then you can have an LTS that you accept bugfixes for and some experimental but proper releases with removed support
UndeadLeech on Freenode I've considered this myself before and I don't think it would be acceptable to make any official release that removes support for a platform that was previously working just fine.
UndeadLeech on Freenode That's a massive red flag imho, while pre-releases are just fine.
matrixbot
@matrixbot
heeen on Freenode can someone help me with the two fixmes here https://gist.github.com/heeen/9e36b28f4251a84c5f1a1411044231a2
heeen on Freenode this is adapted from ash's example code
UndeadLeech on Freenode The borrow_mut() looks problematic. Have you tried without that?
matrixbot
@matrixbot
heeen on Freenode what would the line look like
matrixbot
@matrixbot
UndeadLeech on Freenode Just remove the borrow_mut().
heeen on Freenode uhm
heeen on Freenode event_loop is of type RefCell<EventLoop>
heeen on Freenode it doe snot have run
heeen on Freenode no?
UndeadLeech on Freenode Oh, sorry. I expected the event loop to be owned.
UndeadLeech on Freenode Which raises the question, why is it not?
heeen on Freenode maybe it could be owned
UndeadLeech on Freenode I'd assume that would fix the error.
heeen on Freenode I don't know. I'm a rust beginner, really, coming from c++
matrixbot
@matrixbot
heeen on Freenode and this code is trying to make ashs examples build with winit master
UndeadLeech on Freenode Try removing the RefCell in the event_loop struct type and then the Refcell::new and the borrow_mut.
UndeadLeech on Freenode Then it should work.
heeen on Freenode because at older winit was just not delivering window events in time or at all
UndeadLeech on Freenode I'm not sure who ash is.
UndeadLeech on Freenode Unless you're talking about pokemon that is.
heeen on Freenode UndeadLeech: https://github.com/MaikKlein/ash
heeen on Freenode ok, that seems to work so far. not sure if the full example will still work though.
heeen on Freenode thanks.
heeen on Freenode the second fixme is about the F parameter not living long enough
heeen on Freenode should it be +'static?
UndeadLeech on Freenode I don't see why it wouldn't.
UndeadLeech on Freenode By which I mean I don't immediately see why the events_loop is in a refcell in the example.
heeen on Freenode actually, no it does not work
heeen on Freenode annot move out of self.event_loop which is behind a shared reference
heeen on Freenode without the refcell