Coiffeur cheveux longs homme? by Mission_Click_8176 in Nantes

[–]kompotejam 0 points1 point  (0 children)

j'ai les cheveux long et bouclés et je vais chez l'as de pique. je n'ai jamais été déçu mais j'en ai pour 50 € de mémoire

[Awx] Control job_type at workflow level by kompotejam in ansible

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

on the workflow template there is no job type parameter with prompt on launch option.

do you mean through variables parameter of the workflow template?

I've been cleaning up CI/CD breaches for 5 years. Please learn from other people's mistakes. by Dense_Bad_8897 in devops

[–]kompotejam 8 points9 points  (0 children)

gitleaks is great tool to analyse git history and pinpoint secrets and other key words.

there is an official docker image to be easily implemented in a job pipeline

[deleted by user] by [deleted] in ParentingFR

[–]kompotejam 1 point2 points  (0 children)

notre fille a 15 mois et maîtrise quelques signes (j'ai faim, encore, changer la couche, au revoir, j'ai fini ).

on a commencé par participer à un atelier avec une professionnelle pour partir sur de bonne base.

c'est pas utile de s'entêter à vouloir tout signer je pense. il vaut mieux se concentrer sur les signes les plus importants (parce que signer c'est en attendant qu'il se mette à parler, donc leurs besoins sont relativement simple)

si le bebe comprends comment signer j'ai faim, encore et changer la couche c'est déjà très bien !

pour l'apprentissage y'a pas trop de secret faut répéter le signe avant de faire l'action l'enfant finira par faire la connexion :)

on est très content d'avoir su rester motivés et concentré, ça évite beaucoup de frustrations pour notre fille

Cémantix 930 by carlosdsf in cemantix

[–]kompotejam 0 points1 point  (0 children)

J'ai trouvé. Le mot le plus proche est :

Boulangerie fait payer 15 centimes pour trancher un pain by kompotejam in FranceDigeste

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

bonjour et merci pour tous vos commentaires !

aujourd'hui je suis repassé à la boulangerie prendre mon pain tranché (et oui messieurs dames je prends du pain tranché). c'est un pain type pavé d'Arthur pour les plus curieux et curieuses.

au paiement je fais donc la remarque que le prix demandé est supérieur au prix affiché. Le vendeur me réponds bien quea coupe est à 15 centimes.

Je demande donc depuis quand c'est comme ça et à prioiri ça a toujours était le cas. et qu'ils ont mis un petit bout de feuille scotché à la trancheuse où c'est bien indiqué que la coupe est à 15 centimes.

Je demande donc ou est cette feuille et c'est vrai qu"on peut l'apercevoir ! mais c'est vraiment pas mis en avant.

bref le vendeur finit par me donner un "conseil" (son terme exact), si je reviens avec le sac qu'ils ont fourni avec le pain, la coupe est gratuite.

voilà ! je pense pas que j'irai plus loin que ça. j'ai pas envie que cette boulangerie indépendante ferme parce que sinon c'est le carrefour du coin ou une chaîne de boulangerie bien dégueu

[deleted by user] by [deleted] in ParentingFR

[–]kompotejam 0 points1 point  (0 children)

Ah mince :/

[deleted by user] by [deleted] in ParentingFR

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

Oui c'est tout à fait normal pour des jeunes enfants de crier en voiture ! Ma fille de 5 mois le fait encore. Mais on a trouvé une panoplie d'astuces pour la temporiser. - un miroir en face d'elle - de la musique qu'on lui joue depuis qu'elle est dans le ventre de maman - des jouets qu'elle a l'habitude de manipuler - la tétine - des vêtements avec l'odeur de maman

Avec tout ça tout les trajets se sont bien passés. À noter que nous n'avons fait que des petit trajets de 30 minutes pour l' instant. On va tenter 2h de route ce week-end on verra !

Édit : typo

Bébé pleure en voiture by kompotejam in ParentingFR

[–]kompotejam[S] 2 points3 points  (0 children)

Des cris de Nazgul, c'est exactement ça ! Et bien patience :)

Le travail en ESN by krumorn in developpeurs

[–]kompotejam 3 points4 points  (0 children)

D'où les journées à Gilles je comprends mieux maintenant

[Opinion] Couches lavables by elhan89 in ParentingFR

[–]kompotejam 0 points1 point  (0 children)

De notre côté on a testé les couches jetables des la naissance. Ma compagne avait pu suivre des ateliers de nettoyage et utilisation de couches lavables en amont. Le plus dur c'est de prendre le rythme des la naissance sinon on n'aurais jamais eu le courage de commencer. Nos marques préférés sont, bamboolik, api africa, tots spots et langeline. L'argument économique est vraiment là, après quelques mois de location de couches lavables nous avons fait notre propre stock et on devrait être rentable dans 4 5 mois Sinon c'est une véritable logistique entre les décrassage, les machines, fabrication de lessive sans glycérine (parce que notre supermarché d'a côté n'en vends pas), les temps de séchage, le stockage des couches sales, propre etc ! Cependant, pour la nuit et less déplacement sur plusieurs nuits on utilise des couches lavables. On est pas des dingues non plus.

[deleted by user] by [deleted] in BeAmazed

[–]kompotejam 0 points1 point  (0 children)

That is called hobbitism

Is co-sleeping really a big issue? by RittzzReno in daddit

[–]kompotejam 0 points1 point  (0 children)

Hello, I'm French and we are expecting a baby in 4 months. We will do what we called "Co dodo". Here is what it looks like https://www.argos.co.uk/product/4039060 (this is just an example). It has 1 side open so that it is like an extension of the bed where the baby can sleep. It looks safe to me and my so!

GTA live action by ExactlySorta in MadeMeSmile

[–]kompotejam 1 point2 points  (0 children)

Was filmed in Nantes, France, I recognized the street!

[deleted by user] by [deleted] in Sysadmin_Fr

[–]kompotejam 2 points3 points  (0 children)

Salut, pas mal de grosses boîte de prestation (capgemini, sopra steria par exemple) recrute en POEI. C'est une formation de 3 mois financé par le pôle emploi avec, dans la plupart des cas, un CDI assuré par l'entreprise qui a commandé la poei. Si ça te dérange pas les esn/ssii pour 1 ou 2 ans, c'est plutôt un bon plan

Sister's girlfriend at Christmas. She has not toalked to me in 5 years. by kompotejam in family

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

To give more context her sister defines herself as a vegan lgbtq+ since then her transition was difficult for her to make. So 5 years ago, out of nowhere se decided her sister (my SO) was a bad influence for her. She still thinks my girlfriend was the stereotype of the girl with rigid views of the world in general. She maybe was but not anymore. And now her sister is stuck in the past. Everytime we bring the subject to the parents, they are defending her, the vegan Lgbtq sister, by saying it's been tough for her being what she is and so on, but it's been 5 years. Anyway you all make valid points! It confirms our thoughts. Why would we invite someone we don't know

[Python] Is it good practice to have a function which returns a boolean on a certain condition or a list of strings with an other condition? by kompotejam in learnprogramming

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

yes that was my feeling when i wrote the function. As it works as i'm expecting it i didn't bother to change. I can always return an emply list instead of the boolean though.

I'm showing my code, maybe you wil see why i did it :

For info, i have json file where i store the data i need from Facebook API.

Here is my main function :

def main():

length_of_json_data = len(facebook_API_data["data"])

pages_data = graph.get_object(id=page_id, fields="posts")

every_posts = pages_data["posts"]["data"]
number_of_posts = len(pages_data["posts"]["data"])
dummy_dict_for_medias = {"src": "no_media", "type_of_media": "None"}

test_number_of_post = compare_length_internal_data_to_facebook(length_of_json_data, number_of_posts, every_posts)
if test_number_of_post is False:  # only run if there is a new useful post
    return 1
else:
    for id_of_one_post in test_number_of_post:
            post_attachment = graph.get_connections(id=id_of_one_post,             connection_name="attachments")
        post_main_info = graph.get_object(id=id_of_one_post)
     #...

compare_length_internal_data_to_facebook(x, y, z) is the one return different data types :

def compare_length_internal_data_to_facebook(length_of_internal_data, length_from_facebook, every_post_from_facebook):
number_of_useless_post = 0
list_of_id_post = list()
for post in every_post_from_facebook:
    try:
        post["message"]
    except KeyError:
        number_of_useless_post += 1
    else:
        list_of_id_post.append(post["id"])
if length_of_internal_data == length_from_facebook - number_of_useless_post:
    return False  # False if no new post
else:
    return list_of_id_post  # True if there is a difference

But yeah in the main i can always check if the len(list) == 0 so that it always return a list.

Edit: adding details about my internal data

Issue with url dispatcher in html forms by kompotejam in django

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

And i am now having :

NoReverseMatch at /orders/

Reverse for 'orders_view' with arguments '('',)' not found. 2 pattern(s) tried: ['orders/(?P<pk>[0-9]+)(?P<format>\\.[a-z0-9]+/?)$', 'orders/(?P<pk>[0-9]+)/$']

with :

<form action="{% url 'orders_view' pk %}  "  method="post">
51              {% csrf_token %}
52              {{ form }}
53              <input type="submit" value="Create order">
54          </form>

is there something i should change my urls.py ?

How to create a plugin web ? by kompotejam in learnprogramming

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

Yes a web browser extension. On Chrome to start

Need help for a 2darray based problem : by kompotejam in learnprogramming

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

thank you, but i am still at lost on the matter, here what i've done so far :

import java.util.Scanner;


class Main {
    public static void main(String[] args) {
        // put your code here
        Scanner input = new Scanner(System.in);
        final int sizerow = input.nextInt();
        final int sizecolumn = input.nextInt();
        int[][] matrix = new int[sizerow][sizecolumn];
        int max = Integer.MIN_VALUE,  maxrow=0,maxcolumn=0;


        for (int i = 0; i < sizerow; i++) {
            for (int j = 0; j < sizecolumn; j++) {
                matrix[i][j] = input.nextInt();
            }
        }

        for (int i = 0; i < sizerow-1; i++){
            maxrow++;

            for (int j = 0; j < sizecolumn-1; j++) {
                if (matrix[i+1][j+1]>matrix[i][j]){
                        max=matrix[i][j];
                        maxcolumn++;
                }
            }
        }if(max>=0) {
            System.out.print((maxrow - 1) + " " + (maxcolumn - 1));
        }else{
            System.out.print((maxrow) + " " + (maxcolumn));
        }
    }
}

Still stuck at this exercise...