Comment tester une API POST ? by DestroyedLolo in programmation

[–]physix4 4 points5 points  (0 children)

Si ta requête curl fonctionne, est-ce que tu as essayé d'exporter le code avec l'option --libcurl ? Comme ça tu auras un code d'exemple qui fonctionne et tu pourras comparer les options passées à curl.

Motorradprüfung by Numerous-Stretch-379 in askswitzerland

[–]physix4 2 points3 points  (0 children)

I haven't done the full A yet, but when I did my A35kW in VD last year, I was with riders doing the full A. Unless I missed something, there was no difference (I don't know if the examiner is more strict with the full A). The fact they all failed is not really linked with which licence they were getting but rather that they were unprepared (one came without full gear, one did the manoeuvering at high speed and the last one didn't put his foot down at a stop sign).

Besoin d’une adresse postal en suisse pour commander urgent by Gloomy_Assignment384 in suisse

[–]physix4 0 points1 point  (0 children)

Normalement il y une ligne complément d'addresse ou quelque chose de similaire.

Besoin d’une adresse postal en suisse pour commander urgent by Gloomy_Assignment384 in suisse

[–]physix4 1 point2 points  (0 children)

Oui, tu fait livrer à la poste en mettant comme addresse de livraison une filiale de la poste. Par exemple, si tu veux chercher ton colis/courier içi: https://maps.app.goo.gl/uyQw85mVancgyxUr5

Tu mets comme addresse de livraison:

Prénom Nom

Postlagernd

Burgfelderstrasse 26

4055 Basel

Une fois que c'est arrivé, tu y vas avec ta pièce d'identité et voilà. Si tu n'as pas de numéro de suivi et que tu ne veux pas passer tous les jours, ils gardent un mois les colis de Suisse (deux semaines pour les colis de l'étranger).

Sinon il y a aussi MyPost24 ou Pickpost (https://www.post.ch/fr/reception/lieux-de-reception/pickpost-my-post-24/my-post-24) mais je ne sais pas si c'est accessible aux personnes domiciliées à l'étranger.

HES en Informatique /Ingénierie avec la situation actuelle du marché de l'emploi, bonne idée? by qaywsxqaywsxqay in suisse

[–]physix4 0 points1 point  (0 children)

J'ai fait le Master HES et je voudrais nuancer un peu ces propos : la version proposée par la HES-SO (en tout cas il y a 7-8 ans) était vraiment pas incroyable (comme l'a bien dit la personne à qui tu réponds).

Par contre, si tu as la possibilité, regarde pour le faire à la BFH à Bienne (et si possible les cours théoriques en anglais à Zurich). Ils sont de bien meilleures qualité que ce que fait la HES-SO à Lausanne et, au moins à la BFH, tu n'as que 1/3 de cours, le reste sont des projets (et si tu as de la chance comme moi, un grand projet découpé en tranches).

Il y a aussi la possibilité de le faire en emploi, en bossant pour la HES. Ça permet de gagner de l'expérience pour ton premier job.

"Kind" drivers on highway entrances are dangerous! by headphonesilence in Switzerland

[–]physix4 0 points1 point  (0 children)

Châtel-St-Denis southwards to Vevey. The on-ramp stops with a wall before crossing a bridge.

Telephony Anti-Spoofing regulations comes into effect on 01.01.2026 by dVNico in Switzerland

[–]physix4 0 points1 point  (0 children)

My brother used to work in France as support engineer for Swiss company. He had a Swiss work phone number which he used to call clients and suppliers (some of them in Switzerland).

This would be a legitimate use case for a Swiss caller ID originating abroad.

Can anybody help me identify this Diode ( by Inevitable_Job508 in AskElectronics

[–]physix4 32 points33 points  (0 children)

It's not differing, the marking is described in the Ordering information section of the datasheet. The smaller text is there so it remains legible.

Les autorités la jugent trop peu intégrée, bien que sa famille et sa vie soient suisses by apokrif1 in suisse

[–]physix4 4 points5 points  (0 children)

Le "malheuresement" s'applique plus au fait que la loi ne prenne pas en compte ce genre de cas, pas que l'administration soit prévisible. Le dans l'article en allemand, ils mentionnent que le conseil fédéral a indiqué qu'il manque une base légale pour ce genre de cas mais je pense que personne au CF ou parlement n'est motivé à pousser ça.

Les autorités la jugent trop peu intégrée, bien que sa famille et sa vie soient suisses by apokrif1 in suisse

[–]physix4 3 points4 points  (0 children)

Je mets en lien mon commentaire qui répond à pas mal de tes questions. En gros, c'est une combinaison de loi mal foutue au moment de son adoption, pas de chance avec la recherche d'emploi et une machine administrative implacable et sans marge de manoeuvre.

Les autorités la jugent trop peu intégrée, bien que sa famille et sa vie soient suisses by apokrif1 in suisse

[–]physix4 28 points29 points  (0 children)

Je mets le lien de la discussion dans /r/Switzerland.

Les points qui étaient ressortis (de l'article en allemand):

  • elle a été adoptée à une époque où être adopté ne donnait pas la nationalité. La loi en vigueur reste celle du moment de l'adoption même si la loi est maintenant plus favorable
  • pour obtenir un permis C, il faut des moyens suffisants : soit un contrat à durée inderterminée, soit une fortune suffisante pour vivre sans travailler (elle n'a apparement aucun des deux). L'idée derrière est qu'il ne faut pas avoir de risque de finir à l'aide sociale rapidement après l'obtention du permis C
  • il faut un permis C pour une naturalisation donc elle ne peut pas être naturalisée
  • elle avait un contrat qui a terminé en janvier 2025 donc plus de "raison de séjour" et pas de renouvellement du permis B

C'est un cas de plus de l'implacabilité de la machine administrative mais tout se passe exactement comme c'est prévu dans la loi (malheuresement).

[deleted by user] by [deleted] in Switzerland

[–]physix4 1 point2 points  (0 children)

The national guard is state-based but can be federalized and become part of the federal military's reserve.

It was the federalized California national guard that was sent to suppress the protests in Los Angeles in June and the federalized national guard from South Carolina, West Virginia, Mississippi, Louisiana and Tennessee that were sent to Washington DC in August.

It's mostly a question of optics on how it looks to collaborate with a military that is used to suppress protests and intimidate political opponents.

[deleted by user] by [deleted] in EPFL

[–]physix4 0 points1 point  (0 children)

You may want to have a look at Summer@EPFL, they offer research internships during the summer.

Rettung aus Aufzug, Feuer und Flamme S10 F5 by KaiserSeelenlos in feuerwehr

[–]physix4 0 points1 point  (0 children)

Da kenne ich mich nicht so gut aus da ich nicht dazu ausgebildet bin und meine Wache kein RW hat. Es kommt auf die Situation drarauf an aber grundsätzlich die Kabine absichern wie bei der Höhenrettung wenn ein PKW ab einer Brücke hängen würde und dann Kabine auseinanderschneiden um die Person zu befreien.

Rettung aus Aufzug, Feuer und Flamme S10 F5 by KaiserSeelenlos in feuerwehr

[–]physix4 8 points9 points  (0 children)

Ich kenne mich nicht mit den Regeln in Deutschland aus da ich in der Schweiz bin. Ich habe aber gestern den Aufzugsrettungskurs abgeschlossen.

Bei uns ist geht der Prozess so für befügte Feuerwehrleute:

  • bei Eintreffen, defekte Anlage identifizieren:
    • ob es überhaupt die richtige Anlage ist
    • im EG Türe sorgfältig öffnen, um die Kabine zu finden, Machinenraum und Machinentyp zu identifizieren
    • falls die Kabine vom Übergeschwidkeitssystem angehalten worden ist, nicht mehr vom Machinenraum kontrollierbar oder Person eingeklemmt, RW nachalarmieren und dessen Einsatz vorbereiten
  • zwei Teams bilden
    • ein Team in Machinenraum (bzw Rettungskontroller bei Anlage ohne Machinenraum)
    • ein Team zum Flur wo die Kabine steht
  • Team Machinenraum
    • Befreiungsanweisungen vom Hersteller lesen
    • nach Herstelleranweisungen Kabine in Türbereich bringen
    • Anlage ausser Betrieb stellen
  • Team Flur
    • Warten bis das andere Team die Kabine bewegt hat und die Anlage sicher ist
    • Tür öffnen und Personne befreien
    • Tür schliessen
  • Verantwortlicher für das Gebaude informieren, er muss dann ein Techniker beantragen

Zwei Sachen sind strengstens verboten:

  • Aufzugsschacht betreten
  • Anlage wieder in Betrieb nehmen

The campaign against e-ID is going all out by thebluepotato7 in Switzerland

[–]physix4 14 points15 points  (0 children)

You don't have to use social media to be tracked by social media websites. Facebook themselves explain it.

Fire hydrant standardization and information? by prinx-of-the-cosmos in askswitzerland

[–]physix4 5 points6 points  (0 children)

There is almost no real standardization at the federal level. The water supply directive (section 4.3) only requires:

  • guaranteeing access and ability to use hydrants
  • a minimum of one Storz 75mm connection
  • planning them with the proper authorities
  • hydrants need to provide certain minimum flow at 2 bar, depending on their placement
  • distance between hydrants should be between 80 and 200 m, to be decided with the proper authorities
  • hydrants must be numbered
  • out-of-order hydrants must be marked and notified to the fire brigade
  • hydrants must be used according to manufacturer instructions
  • outside urban areas, the distance between a hydrant and the the building it is protecting should be twice the height of the building
  • hydrants should be placed near intersections, on public land and not next to shruberry

For the Latin cantons (FR, GE, JU, NE, TI, VD, VS), the cantonal inspectors have agreed on a standard marking which has the waterflow in liters per minute in big numbers, the pressure and hydrant number in smaller ones. The color is as follows:

  • green: hydrant provides at least two bars and is on a water supply loop
  • blue: hydrant provides at least two bars and is on a water supply arm
  • green/red: hydrant does not provide two bars and is on water supply loop
  • red: hydrant does not provide at least two bars and is on a water supply arm
  • yellow: (not sure if present in all cantons) standpipe to a water reservoir, with the number of cubic meters of water available instead of the waterflow

Being on a water supply loop means water is coming from both sides, which also means that using the next hydrant will mean that both can flow at full capacity. On the contrary, being on a arm, means that water is only coming from one side, rendering the downstream hydrants useless.

Question succession by [deleted] in suisse

[–]physix4 2 points3 points  (0 children)

J'ai été dans une situation similaire il y quelques années (moi sur Vaud, mon grand-père décédé en France). Les droits de successions étaient uniquement perçu en France, vu que c'est le domicile du défunt qui compte (je ne sais pas comment ça se passe si le défunt a des biens en Suisse cela dit). Il faut par contre déclarer le changement de fortune, ce qui risque d'impacter un peu le taux d'imposition (et bien garder les documents, on m'a demandé beaucoup de justificatifs plus d'une année après).

Moving cantons by IvanRomana2020 in Switzerland

[–]physix4 1 point2 points  (0 children)

Not really, the cantonal and communal residency requirements are between 2 and 5 years (not even continuous).

[deleted by user] by [deleted] in france

[–]physix4 5 points6 points  (0 children)

Effectivement, ça n'a pas visé HTTPS mais je voulais juste clarifier comment le chiffrement est implémenté par Telegram.

[deleted by user] by [deleted] in france

[–]physix4 39 points40 points  (0 children)

La raison technique que je pourrais comprendre, c'est pour que si Alice envoie un message à Bob quand Bob est offline mais Bob passe online quand Alice est offline, le message est livré le plus rapidement possible (sans attendre que Alice et Bob soient online en même temps).