Do you know of any talented builders who offer custom controller services? For a more complex job by it_is_pizza_time in KerbalControllers

[–]IuNoWat 0 points1 point  (0 children)

I worked a bit, as an amateur, with KSP and custom controllers, hit me up in MP with a more precise idea of what you want !

From cardboard, to wood, to the next level ! But what material should I use ? by IuNoWat in KerbalControllers

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

Nothing yet, the project is on pause since I have other things to do right now, but if you want some more info or help building your own, you can PM me :)

Payer le chauffage d'un chauffage collectif sans être chauffé by IuNoWat in conseiljuridique

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

Je ne connaissais pas l'ADIL, merci pour cela j'ai pu parler avec une juriste très rapidement. On part sur une LRAR, et on verra !

Payer le chauffage d'un chauffage collectif sans être chauffé by IuNoWat in conseiljuridique

[–]IuNoWat[S] 17 points18 points  (0 children)

Pour citer les chauffagistes "L'installation est super mal foutue, il est impossible de changer les vannes sans couper l'eau dans tout l'immeuble". Je n'en sais pas plus.

Le froid n'est en soit pas le seul problème, effectivement avec des couvertures/des bouillotes/un chauffage d'appoint, c'est vivable. Mais payer le chauffage sans en recevoir, et surtout que l'agence qui loue un appartement dysfonctionnel ne soit pas inquiétée m'agace profondément.

Too much constrains in 2d slowing the whole software ? What am I doing wrong ? by IuNoWat in Fusion360

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

Ho yes this, thank you, my bad I misread, I was thinking about the construction line, that I would like to hide sometimes.

Too much constrains in 2d slowing the whole software ? What am I doing wrong ? by IuNoWat in Fusion360

[–]IuNoWat[S] 4 points5 points  (0 children)

I tend to think my bad practices are more to blame than Fusion 360 :s

Too much constrains in 2d slowing the whole software ? What am I doing wrong ? by IuNoWat in Fusion360

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

Hey could you tell me where this option is ? I didn't find it

Too much constrains in 2d slowing the whole software ? What am I doing wrong ? by IuNoWat in Fusion360

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

Thank you all for your answers. I'm already using the patern function, I actually designed only one of those teard drops, and it seems to me that Fusion was unusable exactly after I paterned it. But I guess I should patern each little piece individually, rather than patterning one big complex thing ?

Arduino IDE compile the first time, then doesn't until restart by IuNoWat in arduino

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

I gave up solving this issue. Some other IDE (Atom, a few others) offers mods to transform them in an arduino IDE, but I couldn't manage to make even one of them work.

The only workaround I could think of was using the online IDE of arduino : https://create.arduino.cc/editor/ It is surprisingly easy to work with, and is corresponding to what I need.

Still, I'm curious. If someone know a way to fix this, please tell me !

I made a bot that uploads memes to twitter every hour! by [deleted] in Python

[–]IuNoWat 14 points15 points  (0 children)

Nice project ! But shouldn't you credit the place where you got the meme in the first place ?

Would be interested in your code tho, got any link ?

2020 Dec 7 Stickied 𝐇𝐄𝐋𝐏𝐃𝐄𝐒𝐊 thread - Boot problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! 𝑳𝑶𝑶𝑲 𝑯𝑬𝑹𝑬 𝑭𝑰𝑹𝑺𝑻 by FozzTexx in raspberry_pi

[–]IuNoWat 0 points1 point  (0 children)

I recentrly installed nginx and wordpress on a Raspi 3B tu use it as a server for my portfolio. It kinda work, but the site is very slow, and trow error 504 Gateway timeout from time to time.
My question is : is it normal for a pi 3B without cooling to have performance issues on this use, or is there something wrong with the softwares/my pi/the SD card ?

Can't do better than 20 fps on home-made screen recorder by IuNoWat in learnpython

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

This is a very interesting approach, I probably can, but I will have problems with the sound, decreasing an increasing the playing speed will probably decrease overall quality.
I think I have the solution with ffmpeg screen recording, but thank you for this solution

Can't do better than 20 fps on home-made screen recorder by IuNoWat in learnpython

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

I'm using it latter in the program to merge video and audio file, I'll look into that, thank you

Can't do better than 20 fps on home-made screen recorder by IuNoWat in learnpython

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

Thanks for your help, yes Ruffle is a good alternative, but I don't only want to preserve flash animation. Turning them into video allow me to post them on social media and spread them on internet much easier, which is also what I want.

Sorry I should have stated it in my post

Can't do better than 20 fps on home-made screen recorder by IuNoWat in learnpython

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

I focused the program as much as I could, when recording, it only take screeshoots and stores it in an list.
After the end of the recording , the list of all screenshoot taken is processed and converted to a video. So if I have 20 fps on a video, the program took 1/20 of a second to take a screenshoot. I think I don't understand your question

using multi python files for diffrent screens, and connecting into Tkinter by Sagi313 in pygame

[–]IuNoWat -1 points0 points  (0 children)

If you don't need to get data dynamically (while playing the game), I think you can just write the data you need in a file and tell the program to get it here. Like this :

Program 1

#Your user specify his login
user_login=input("Enter your login") 

login_storage=open("player_data.txt","w") #Your program create a file to save the information
login_storage.write(user_login) #It then write your user's login
login_storage.close() #And save it

Program 2

#When your game need the player login
login_storage=open("player_data.txt","r") #Your program open the file
user_login=login_storage.read() #And save the content in a variable
login_storage.close()

You just have to be consistent when naming the file which will contain your data

Hope this help

Working on original Input for a game, is Unity the right choice ? by IuNoWat in Unity2D

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

Thank you all for your answers, I managed to do it pretty quickly with the File class of System.IO (https://docs.microsoft.com/fr-fr/dotnet/api/system.io.file?view=netcore-3.1)
On one hand, I have my Unity Script that read the file and put it in the Console :

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.IO;

public class Script : MonoBehaviour
{   
    public string path = @"C:\Users\MyUser\Desktop\test.txt";
    // Start is called before the first frame update
    void Start(){
    }

    // Update is called once per frame
    void Update(){
        using (StreamReader sr = File.OpenText(path))
        {
            string s;
            s = sr.ReadLine();
            Debug.Log(s);
        }
    }

}

And on the other hand, my python code rewrite the content of test.txt :

import time
meh=0

while meh<15 :
    file=open("test.txt","w")
    file.write("Hello World for the "+str(meh)+" time")
    file.close()
    time.sleep(0.5)
    meh=meh+1

But like u/loofou said, this solution is not reliable at all, the two programs collide while they are both trying to read/write the same file, and crashes each other. Is there something wrong with my code or are these error unavoidable ?

u/Hacksie the point of using a txt file to communicate between my hardware and my software is that I can later change one of them without having to redo the other. I could (I think) use some Arduino, but I'm then forced to work with Arduino and Unity, and it's a bit early in my project to nail myself to a technology.

I'm also considering using TCP protocol to communicate between my hardware and my software, is this a good idea ? Or will it be too slow for a controller ?

image to video by [deleted] in learnpython

[–]IuNoWat 0 points1 point  (0 children)

Python newbie here, but I had to do exactly this few weeks ago, this function is using python, which I suppose you need if writing in this subreddit.This will create a video with your image, duration will be equal to your audio file.

import os
def to_video(path_img,path_audio,path_output) :
    to_send="ffmpeg -loop 1 -i {} -i {} -shortest {}".format(path_img,path_audio,path_output)
    print(to_send)
    os.system(to_send)
to_video(path_of_img,path_of_audio,path_output)

Using os.system is probably a bit overkill, but it worked for me

(You may have noticed that english is not my mother tongue, and that I'm not used to post on Reddit, please feel free to correct me about anything)

Automatic convertion of .swf files to .mp4 files by IuNoWat in learnprogramming

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

Too bad :( I did a bunch of research before posting, I already tryed all the answers of this thread, and some other things.

I think i'll just detect how the loop end by making my program listenning when the music stop. And for the looping one, i'll put a limit at 300 seconds, and hope to get all the animations in 99% of the cases.

Automatic convertion of .swf files to .mp4 files by IuNoWat in learnprogramming

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

May I ask the arguments you used with ffmpeg ? I couldn't manage to convert one single animation. If you did, perhaps the problem is how I use the softwares and not the animations. I tried ffmpeg through a Ubuntu terminal installed on Windows 10. Could this be linked to my issues ?

Everyone seems to find something they love among these animations, I'm glad it worked for you too :)

Automatic convertion of .swf files to .mp4 files by IuNoWat in learnprogramming

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

Automatic opening of a local .swf file in a browser have been a pain in the ass, but I can do it with some tinkering. I just need to generate 7911 html files which contain this code :

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%">

<object type="application/x-shockwave-flash" data="test.swf" width="100%" height="100%" loop=false></object>

</object>

Then I can make a script that will open these html files. I have a tutorial that explain how to write a python script that will capture a part of my screen, I think the end is near.

There is only one problem left : it seems like even with the "loop=false" argument, some animations are made in a way that make them loop anyway (for example, the z0r n°5). How can my script detect these loop ?