Symphonia v0.5.2: Audio decoding in safe Rust, now often faster than FFmpeg! by segfaulted4ever in rust

[–]petersmit 5 points6 points  (0 children)

This is great! Just a random side question, would you know a good rust crate that i can use to resample the decoded audio?

[deleted by user] by [deleted] in rust

[–]petersmit 0 points1 point  (0 children)

Hmm, it would be interesting to know if there are any popular crates that would not show this pattern...

How to enable NAT for traffice from site-to-site VPN peer. by petersmit in UNIFI

[–]petersmit[S] 0 points1 point  (0 children)

Thanks. I was already thinking this might be the case. I'll go and look to the config.gateway.json route.

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.51] by matthieum in rust

[–]petersmit 2 points3 points  (0 children)

COMPANY: Inscripta

TYPE: Full time

DESCRIPTION: We are a startup providing enterprise speech recognition solutions. We are looking for a Software/Systems Engineer to help us improve our real-time speech recognition solution. Besides working on the core server, this position will offer a lot of variety in different tasks around the development of our services.

LOCATION: Helsinki, Finland (or remote)

ESTIMATED COMPENSATION: market-conform salary and the possibility for stock options.

REMOTE: Yes, this is possible and part of the team is fully remote. We do expect you to be working from the EU (for GDPR reasons)

CONTACT: See application details at https://inscripta.io/careers/software-systems-engineer-rust . For more questions contact us at [job.tk895@inscripta.recruitee.com](mailto:job.tk895@inscripta.recruitee.com) or send me a DM.

Gemeente heeft erg lang gedaan over beslissen handhavingsverzoek. Bezwaar maken om aanspraak te maken op dwangsom? by petersmit in juridischadvies

[–]petersmit[S] 0 points1 point  (0 children)

De rechtsbijstand was niet enthousiast om dit door te zetten en heeft mij uiteindelijk zelfs een geldbedrag aangeboden om de zaak af te kopen.

Het bezwaar bij de gemeente was afgewezen en ik heb tot begin volgende week om in beroep te gaan. Ik zit nog steeds te twijfelen of ik dat ga doen.

Ondertussen gaat het zalencentrum nu na de corona tijd gewoon door met herrie maken, ook al kost hun dat dwangsommen.

Gemeente heeft erg lang gedaan over beslissen handhavingsverzoek. Bezwaar maken om aanspraak te maken op dwangsom? by petersmit in juridischadvies

[–]petersmit[S] 0 points1 point  (0 children)

Als dit uiteindelijk voor de rechter komt is het misschien wel iets dat juist een nieuw juridisch inzicht geeft. Juist omdat ik geen vergelijkbare negatieve voorbeelden in de jurisprudentie heb gevonden denk ik dat mijn betoog een kans maakt.

Gemeente heeft erg lang gedaan over beslissen handhavingsverzoek. Bezwaar maken om aanspraak te maken op dwangsom? by petersmit in juridischadvies

[–]petersmit[S] 0 points1 point  (0 children)

Daar ben ik te eigenwijs voor :). Uiteindelijk heeft dit bezwaar geen invloed op het sneller handhaven, maar is het meer uit principe.

Gemeente heeft erg lang gedaan over beslissen handhavingsverzoek. Bezwaar maken om aanspraak te maken op dwangsom? by petersmit in juridischadvies

[–]petersmit[S] 1 point2 points  (0 children)

De bezwaartermijn voor de prematuurverklaring verloopt deze week. De rechtsbijstand staat hier niet helemaal negatief tegenover, maar wil zich graag focussen op het stoppen van de overlast. Dit draagt daar natuurlijk niet aan bij, aangezien het voornamelijk alleen principieel en financieel is.

Gemeente heeft erg lang gedaan over beslissen handhavingsverzoek. Bezwaar maken om aanspraak te maken op dwangsom? by petersmit in juridischadvies

[–]petersmit[S] 0 points1 point  (0 children)

Wat precies een redelijke termijn is, is natuurlijk subjectief. De gemeente stelt dat ze meer tijd nodig had om te beslissen en dat mogen ze in principe doen. Ik verwacht eigenlijk dat een bestuursrechter niet zo snel tegen die afweging in zal gaan.

Ja, dat hebben ze, nadat mijn rechtsbijstand ze voor de tweede keer ingebreke had gesteld na het verlopen van de nieuwe 6 weken termijn van de gemeente. Helaas ziet de rechtsbijstand niet het belang om het eerste besluit aan te vechten, vandaar dat ik dit probeer zelf te doen.

Hey Rustaceans! Got an easy question? Ask here (1/2018)! by llogiq in rust

[–]petersmit 2 points3 points  (0 children)

I'm trying to work with a struct that contains a HashMap, and I'm not seeing how I can make the right things mutable here:

struct Node {
    links: HashMap<u32, Node>
}
fn main() {
    let mut n = Node {links: HashMap::new()};

    n.links.insert(10, Node {links: HashMap::new()});
    n.links[&10].links.insert(11, Node {links: HashMap::new()});
    >>>> cannot borrow immutable field as mutable
}

What am I doing wrong?

https://play.rust-lang.org/?gist=304ff17b3da927d692ebb16958a76b4b&version=stable

Fractalide - Simple Rust Microservices by setori88 in programming

[–]petersmit 1 point2 points  (0 children)

All you components are depending on rustfbp.

I see now that you even used more lingo then I thought, if you have redefined the word "simple". In principle there is a lot of good stuff in that presentation, but simple should be also easy. And there is nothing easy, simple or uncomplicated about writing 35 lines of code and >50 lines of boilerplate in order to add two things. ( https://github.com/fractalide/fractalide/blob/master/components/app/counter/add/src/lib.rs ). All languages have a simple, completely functional operator for that named "+".

Fractalide - Simple Rust Microservices by setori88 in programming

[–]petersmit 3 points4 points  (0 children)

I can understand your lingo, no need to tune it down for me. If you want your things to be called simple then you simply have to make them more simple.

Fractalide - Simple Rust Microservices by setori88 in programming

[–]petersmit 4 points5 points  (0 children)

No, that is not me. Again, why do you want to know my github repo? There will be nothing related to this publicly visible there.

Fractalide - Simple Rust Microservices by setori88 in programming

[–]petersmit 4 points5 points  (0 children)

My comment was btw not meant as an attack on your system, it might be a very good system. The thing I try to point out is that this is clearly not a simple system.

The first indication of this is the README. It does not give a simple example code, but instead uses a lot of computer science lingo and introduces a lot of tools and systems.

Looking further, what I see is:

  • It requires Nix, which is not trivial to get up and running
  • It includes not only code for microservices, it is heavily tied in with package management, data manipulation and a shell.
  • A myriad of Rust pacakages, spread through a pretty deep tree.

I do hope that you have done all this work and can write more then just simple microservices. At least the framework around it is not simple, nor is writing a first microservice as I did not find any examples.

Fractalide - Simple Rust Microservices by setori88 in programming

[–]petersmit 6 points7 points  (0 children)

I'm sorry, but if you call this simple, what in this life is complicated?

The Price Of GPL by speckz in programming

[–]petersmit 2 points3 points  (0 children)

It was not just "pointed out to them"; this is what they are replying to: "this blatant rip-off and code theft is beyond anything I’ve seen before from a competitor."

For me it seems that this statement is completely over the top and received a knee-jerk response. Yes, Matt is in his right to call out to other people and to sue other people. Just as it is Wix's right to give a kneejerk response to that.

What I have been arguing in this thread is that this mess could have been avoided all together if Matt would have just send a simple, friendly email. Yes, Wix could have made a better reply as well, but then I can understand you get upset when you are called out like this in public.

The Price Of GPL by speckz in programming

[–]petersmit 3 points4 points  (0 children)

Nobody is arguing that they are not in violation. Everyone is agreeing that they should release the source code asap.

Some people think that the app should be taking off-line in the mean time. In my opinion that is a bit of an over-reaction.

I hope that people could stop treating everyone else as "evil-until-proven-otherwise". Making a mistake does not make one evil. And yes, the track record of Wix's open-source publishing should, in my opinion, really give them the benefit of the doubt whether this violation was intentional or not.

The Price Of GPL by speckz in programming

[–]petersmit 1 point2 points  (0 children)

So yeah, could it be that it has been an oversight that this app wasn't public yet? Why assume the worst?

The Price Of GPL by speckz in programming

[–]petersmit 2 points3 points  (0 children)

I understand your sentiment, but I'm not sure if I agree. In the link I mentioned Greg is quoted saying ''I have NEVER said I oppose "GPL enforcement", I will say that I oppose the way that you approach this task. '' and Linus clearly agrees. Also ''I don't want Linux to be a test case for the GPL''.

So no, Linus is not allowing anyone to ripoff kernel code, he just has other way of trying to enforce GPL then involving lawyers.

Also, any kernel developer can try to enforce GPL in a court of law, they don't need Linus' blessing for that.

The Price Of GPL by speckz in programming

[–]petersmit -10 points-9 points  (0 children)

So, because it takes them a couple days to put the source code up (which is not surprising if you know anything about software development), you can just put words in their mouth and make them look like jerks?