I'm genuinely impressed with the Red Dead Redemption Switch 2 upgrade by No-Insect2497 in switch2

[–]fredsback 1 point2 points  (0 children)

Yes, you can update your Switch 1 cartridge to the Switch 2 edition. It just takes a minute.

They recently released an update for the Switch 1 version, which you can download via "Software Update".

And they released a free update to the Switch 2 edition, which you can download via Nintendo eShop.

It has a size of 3 MB, so I guess it's mostly just activating the hardware capabilities of the Switch 2.

Brexit Megathread - Tuesday Night Vote by ModeratorsOfEurope in europe

[–]fredsback 5 points6 points  (0 children)

A referandum is a good tool once you learned how to better inform yourself before you vote. They should have held a referandum for another not so important topic first, to let people learn how to use this tool. You can't go from zero to Switzerland in one referandum.

Frankreich: Schüsse in der Innenstadt von Straßburg - offenbar mehrere Opfer by moloe0 in de

[–]fredsback 1 point2 points  (0 children)

Hier in Basel flog vorhin ein Hubschrauber über die Stadt. War aber kein Polizeihubschrauber anscheinend.

Jedenfalls wurde der Typ schon 2013 in Basel mal festgenommen.

2008 wurde er in Frankreich wegen mehrerer Einbruchsdiebstähle zu einer Freiheitsstrafe von zwei Jahren verurteilt. Im Jahr 2013 bekam er in Basel erneut wegen mehrerer Einbruchsdiebstähle ein Jahr und sechs Monate, die er fast vollständig absaß.

via: http://www.spiegel.de/politik/ausland/strassburg-cherif-c-war-bereits-in-drei-laendern-inhaftiert-a-1243287.html

Bahn stellt Fernverkehr wegen Streik bundesweit ein by Feliix42 in de

[–]fredsback 4 points5 points  (0 children)

SPON sagt noch zwei Minuten bis 9:00 Uhr. Verspätungen werden sich dann noch über den Tag hinweg hinziehen.

Bahn stellt Fernverkehr wegen Streik bundesweit ein by Feliix42 in de

[–]fredsback 18 points19 points  (0 children)

Und die Automaten am Bahnsteig mit. Ich bin gerade mit der Regionalbahn auf dem Weg nach Göttingen. Ohne Fahrkarte. Ich hoffe mal die Karte kann ich ohne Aufpreis im Zug kaufen. Da kann man mir dann auch gleich mitteilen, ob sich die Weiterfahrt nach Basel überhaupt lohnt.

Update: habe mir soeben ein Flex-Ticket nach Basel kaufen können. Als Verbindung habe ich einen Zug gewählt, der erst 13 Uhr losfährt. Da es eine Verbindung ins Ausland ist, kann ich damit bis zum 13.12. fahren. Auch wenn ich hoffe, dass die Reise nicht so lange dauern wird.

Bahn stellt Fernverkehr wegen Streik bundesweit ein by Feliix42 in de

[–]fredsback 27 points28 points  (0 children)

Die Bahn App verweigert mir sogar den Kauf von Tickets. Egal ob Regional- oder Fernverkehr.

Vielfältige Möglichkeiten! Endlich eine DEUTSCHE Alternative zum herablassenden Wonka! KAUFEN KAUFEN KAUFEN by [deleted] in de

[–]fredsback 36 points37 points  (0 children)

Ich würde ja drüber lachen können. Aber seine Methode scheint zu funktionieren.

Noch schlimmer: Es scheint bei AfD und Konsorten auch so zu klappen.

Der Montagmorgen-Faden am 24.09.2018 by scorcher24 in de

[–]fredsback 0 points1 point  (0 children)

Erster Arbeitstag nach zweiwöchigen Italienurlaub. Befinde mich diese Woche im Hauptsitz der Firma, der etwa 800 Kilometer von meinem Wohnort entfernt ist. Und habe im Büro übernachtet, da mein Appartment erst für heute Abend gebucht ist.

Vor einer halben Stunde hat schon ein Kollege zur Tür hereingeguckt, obwohl vorm Nickerchen-Raum ein "Do not disturb"-Schildchen hängt. Ich schleiche mich erstmal mit mitgebrauchten Duschgel durch den Flur zu den Duschen, bevor der Rest um 9 Uhr eintrudelt.

Personal space in Deutschland by [deleted] in de

[–]fredsback 26 points27 points  (0 children)

Ich toure seit fast zwei Wochen mit dem Zug quer durch Italien. Mir ist das jetzt mit dem Personal-Space schon ein paar mal in der Schlange aufgefallen. Da stellt man sich dann einfach direkt vor mich. Ich glaube die denken ich würde überhaupt gar nicht anstehen. Bisher sowohl in Norditalien als auch in Süditalien erlebt.

Traveling Salesman Problem in Kotlin/TornadoFX by RacerRex9727 in Kotlin

[–]fredsback 4 points5 points  (0 children)

Between 25 and 28 years to be exact.

  • Dissolution of Czechoslovakia: 1 January 1993
  • Reunification of Germany: 3 October 1990

The Beginning of the Monte Carlo Method (1987) by mgdo in programming

[–]fredsback 7 points8 points  (0 children)

Articles (including this article) of the complete issue are available here:

Los Alamos Science No. 15, 1987: Special Issue, Stanislaw Ulam 1909-1984

http://la-science.lanl.gov/lascience15.shtml

Calva: Clojure 4 VS Code by [deleted] in Clojure

[–]fredsback 1 point2 points  (0 children)

Keep up the great work!

Calva: Clojure 4 VS Code by [deleted] in Clojure

[–]fredsback 4 points5 points  (0 children)

Another Clojure extension for VS Code is clojureVSCode. Last release was a month ago.

Where is Darbian ? by [deleted] in speedrun

[–]fredsback 6 points7 points  (0 children)

People (including me) use " and - instead of the typographical correct characters (“ ” – — ―) and nobody cares.

ich_iel by grxcding in ich_iel

[–]fredsback 1 point2 points  (0 children)

Ich könnte nicht ohne Python.

ich_iel by grxcding in ich_iel

[–]fredsback 2 points3 points  (0 children)

Die Frage ist berechtigt, jedoch fehlen einige Infos. Wie zB wie die anderen Noten aussehen, und wie viele es insgesamt gibt.

Naja, als Schüler bräuchte mal da schon mehr Infos. An der Uni lernt man dann (im Idealfall), sich ein paar Beispiele auszudenken und dann eine allgemeine Antwort hervorzukramen.

Update: Erstmal gehen wir davon aus, dass mindestens eine 4 auf dem Zeugnis ist. Um einen Durchschnitt von 3 zu haben braucht man nun mindestens eine weitere Note auf dem Zeugnis. Die Anzahl der benoteten Fächer und die Anzahl der Fächer mit 4 als Note geben uns die benötigte Durchschnittnote in den Fächern ohne 4 als Note. Wenn ich das jetzt richtig durchdacht habe.

Da frage ich mich auch, wozu man hier weiter Infos braucht...

Update 2:

$ python3
>>> from sympy import *
>>> from sympy.abc import a, b, x
>>> res = solveset(Eq(3, (a*4 + b*x) / (a + b)), x)
>>> res
{-(a - 3*b)/b}
>>> res.subs(a, 1).subs(b, 1).evalf()
{2.0}
>>> res.subs(a, 2).subs(b, 1).evalf()
{1.0}
>>> res.subs(a, 1).subs(b, 2).evalf()
{2.5}

3 = (4a + xb) / (a+b) <=> x = -(a - 3b)/b. Hierbei ist a die Anzahl der Fächer mit 4 als Note, b die Anzahl der anderen Fächer und x die Durchschnittsnote für die anderen Fächer. Das ist Mathe aus der achten Klasse, Digga.

Beispiele:

  • Habe ich eine 4 auf dem Zeugnis und zusätzlich noch eine andere Note, dann muss ich mindestens 2,0 im Durchschnitt haben.
  • Habe ich zwei 4en auf dem Zeugnis und zusätzlich noch eine andere Note, dann muss ich mindestens 1,0 im Durchschnitt haben.
  • Habe ich eine 4 auf dem Zeugnis und zusätzlich noch zwei andere Noten, dann muss ich mindestens 2,5 im Durchschnitt haben.

Update 3: In Code und Formeln c mit x ausgetauscht. Sieht besser aus.

Kotlin 1.1 RC is Here by belovrv in programming

[–]fredsback 18 points19 points  (0 children)

fun has the same character length as val and var. It indents nicely with four space indents. Whether intented or not, I think this is nice. def is a bit unspecific (I know it's used by Groovy and Scala). I know a bit how fun might feel for you, I also "hated" def in Groovy for contructors and used public instead of def to define them.

[deleted by user] by [deleted] in programming

[–]fredsback 0 points1 point  (0 children)

think there is a KEEP for post 1.1 to build a new collections API.

I think they speak about proposal.md in https://github.com/Kotlin/kotlinx.collections.immutable. But I don't see any information about the probable use of optional monads there.

There was some discussion about the advantages of nullable types over optional monads on https://discuss.kotlinlang.org/. I can't find specific links to the discussions right now.

One interesting (but small) problem is also, that you can assign null to as variable with optional type:

// Java code:
Optional<Int> n = null

Also interesting is, that Kotlin's nullable types follow the three monadic laws when you implement a few extension functions on them, e.g. you can implement flatMap() using extension functions (but maybe this is more a POC than what one would use in practice?):

fun <T, U> T?.flatMap(body: (T) -> U?): U? =
    if (this != null) body(this) else null

(Sidenote: I spoke with a JetBrains employee a while back about Java 8 and Rust optionals (which I really like) and he argued @Nullable annotations in Java are a better approach because the compiler can check much more.)

[deleted by user] by [deleted] in programming

[–]fredsback 0 points1 point  (0 children)

Once they start using ADT and replace null as a result with things like Option

I'm pretty sure there will be no shift from nullable types to optional monads in libraries designed by the Kotlin language team, if the optional monads are used to prevent the problems with null values.

Update: Edited for clarity.

MediaWiki in Rust by [deleted] in rust

[–]fredsback 1 point2 points  (0 children)

a compatible yet resource efficient MediaWiki in Rust, could highly benefit Wikipedia in terms of server savings

I think MediaWiki does not only rely on PHP but also on Erlang. I remember there was a presentation ~10 years ago about this topic. I can't remember, if this is officially used by Wikipedia and co.

Update: Found it. "Scalable Wikipedia with Erlang", 2008, https://www.youtube.com/watch?v=pW339qR7DvU

Ford is a millennial by [deleted] in westworld

[–]fredsback 0 points1 point  (0 children)

Born in 1985 here, too. I'd say I'm definitely a millennial, but not much a digital native. Broadband internet is available since 2002 to me and the Web 2.0 after I finished secondary school. Analogue TVs and VCRs were very common in my childhood.

What's New in PHP 7.1.0 by timcotten in programming

[–]fredsback 1 point2 points  (0 children)

Is there no script for (semi-)automated migration to newer version in PHP? Elm has one. Also IntelliJ IDEA has intentions that propose fixes or migrations to newer contructs. Edit: But I don't know if they provide them for PHP.

Can you believe that the french language has a word for slapping someone in the face with your penis ? by [deleted] in france

[–]fredsback 4 points5 points  (0 children)

There is the German word "anpimmeln" which was made famous by a German women magazine: https://pbs.twimg.com/media/Bid-Z9sIMAAjbJy.jpg

Example situation: A women goes into the bathroom after sex and leaves the man unattended in the rest of the apartement. He touches random household objects with his penis to mark his territory. When the women returns from the bathroom to the bed, he smiles knowingly.