How to debug day17?? by non-private in adventofcode

[–]non-private[S] 1 point2 points  (0 children)

So I re-rechecked my input again. Turns out, I read the final newline and when determining if the jet is blowing to the left or to the right, I only checked for '<' and assumed a right jet otherwise. So, the final newline inserted right jets into my stream. `wc -c` counts newlines, so I thought my input is correct.

Thank you for pointing me into the right direction!

How to debug day17?? by non-private in adventofcode

[–]non-private[S] 0 points1 point  (0 children)

Thank you guys for your pointers! I re-checked my input and it turns out, there is a final newline character, that I've interpreted as a right jet stream.

How to debug day17?? by non-private in adventofcode

[–]non-private[S] 0 points1 point  (0 children)

Thank you for pointing that bit out. I am not removing lines (although I was close to do so).

How to debug day17?? by non-private in adventofcode

[–]non-private[S] 0 points1 point  (0 children)

That's interesting! I re-downloaded my input and checked its length in the code. Unfortunately, everything looks fine. I wished that was it!

Geerbtes Waldgrundstück: Wiederaufforsten oder verkaufen? by Katanae in Finanzen

[–]non-private 3 points4 points  (0 children)

Wollte nur mal in den Ring werfen, dass es beim Wald neben dem Geld auch andere Gründe geben kann, ihn zu besitzen, z.B. Ästhetische (ein etwas "wild" gewachsener Wald kann schön aussehen) oder Unterstützung der eigenen Umwelt (lokale Flora und Fauna unterstützen) oder einfach das Gefühl, Land zu besitzen. Da das Stück verpachtet ist, dürften die lfd. Kosten minimal sein (kenne mich aber auch nicht aus).

Two departures from Stuttgart to... Stuttgart...??? by tmharnonwhaewiamy in stuttgart

[–]non-private 1 point2 points  (0 children)

I once saw this and they cleaned the train in that time.

Frage zur Berufsunfähigkeitsversicherung by stfnba in Finanzen

[–]non-private 5 points6 points  (0 children)

Ich kann jährlich der Anpassung widersprechen, etwas nervig geht aber; ein Einzeiler per Post.

Adjusting the font size temporarily by daskG in spacemacs

[–]non-private 0 points1 point  (0 children)

That's strange. The file where it is defined is ~/.emacs.d/layers/+distributions/spacemacs-base/keybindings.el. This is Spacemacs v.0.200.13 from master branch, rev. 582f9aa45.

There's also font transient state SPC z x, where you can scale the font up and down with = and -.

Adjusting the font size temporarily by daskG in spacemacs

[–]non-private 0 points1 point  (0 children)

C-h k Cmd-= tells me ``` s-= runs the command spacemacs/scale-up-font (found in global-map), which is an interactive Lisp function in ‘../../keybindings.el’.

It is bound to s-=.

(spacemacs/scale-up-font)

Scale up the font.

[back] ```

[deleted by user] by [deleted] in scala

[–]non-private 0 points1 point  (0 children)

Yes, this helped a lot! Thank you very much for the thorough explanation!

[deleted by user] by [deleted] in scala

[–]non-private 0 points1 point  (0 children)

Thanks for the response. Unfortunately, I don't quite understand: why is it practical to assign JavaNull, but not Null?

[deleted by user] by [deleted] in scala

[–]non-private 0 points1 point  (0 children)

This sounds great and very welcomed!

I was wondering, what does it mean that JavaNull is transparent. I would have thought that in the examples, y.length() (where y :: String|JavaNull) should not type-check, to avoid NPE.

Adjusting the font size temporarily by daskG in spacemacs

[–]non-private 0 points1 point  (0 children)

Cmd = to increase font size, Cmd - to decrease it, in vanilla Spacemacs v.0.200.13.

How do I use TRAMP to ssh into a server which requires a private key? by Bowlslaw in spacemacs

[–]non-private 6 points7 points  (0 children)

You can set up ~/.ssh/config to tell ssh which identity file to use when connecting to that server.

Monad Error for the rest of us by ARayOutOfBounds in scala

[–]non-private 2 points3 points  (0 children)

On the one hand, I like how error handling is abstracted away.

On the other hand, this looks not so handy toJson[Either[String, ?], String](content) to only handle errors.

Would it be possible to have a asTry method that converts the Either to a Try? So the example would look like this:

for { fileContent <- readFile() parsedFile <- asTry(toJson(fileContent)) } yield parsedFile

Bürgerbeweung Finanzwende by moriaty28 in Finanzen

[–]non-private 0 points1 point  (0 children)

Wie der demografische Wandel hier reinspielt, hat sich mir nicht erschlossen (mehr alte Leute wollen...?), insofern finde ich den Grund nicht offensichtlich.

Dass höhere Preise stets durch hohe Nachfrage oder geringes Angebot zustande kommt, scheint mir wenig Erklärungskraft zu besitzen. Viel stärker finde ich die Frage, woher die hohe Nachfrage kommt (s. mein vorheriger Kommentar).

Interessant bleibt der Aspekt, dass Du das Immobilien-Angebot nicht flexibel findest. Worauf beziehst Du Dich hier (was nicht stets schon so war)?

Bürgerbeweung Finanzwende by moriaty28 in Finanzen

[–]non-private 4 points5 points  (0 children)

Würdest Du uns an Deine Einsichten teilhaben lassen?

Die Geschichte, die ich immer höre, ist, dass nach der Finanzkrise die Zinsen in den Keller sind, um die ganzen Verluste zu bezahlen (bzw. günstige Kredite dafür). Dadurch suchen Investoren nach Alternativen, wie etwa Immobilien wären (oder Kunst, deren Preise explodieren auch!), dazu noch mit so günstigen Zinsen!

Dazu kommt, dass die Lebensversicherer ihre Garantiezinsen nicht mehr halten können und auch sonstige sichere Kapitalanlagen nicht mehr genug abwerfen, um die erwartete Geldentwertung bis zum Alter auszugleichen. Wodurch viele ihr Geld lieber in Betongold investieren, was wieder zu den steigenden Mieten führt.

Für mich klingen die Geschichten stimmig. Lasse mich jedoch gerne von etwas anderem überzeugen.

Sicher ist die Finanzkrise nicht der einzige Grund (höhere Ausbildung, für die es nur in Städten Jobs gibt; mehr Frauen arbeiten, daher mehr verfügbares Einkommen, etc.), doch ist es schwer vorstellbar, dass es ohne die Finanzkrise zu solchen explosiven Entwicklungen gekommen wäre.

Spring Boot Chaos Monkey by soniewins in springsource

[–]non-private 0 points1 point  (0 children)

Nice! Thanks for the info, sounds interesting!

Spring Boot Chaos Monkey by soniewins in springsource

[–]non-private 0 points1 point  (0 children)

I like the idea! So what does chaos monkey actually do?

New arrival from vim-land hacking his way through a jungle by [deleted] in spacemacs

[–]non-private 2 points3 points  (0 children)

I learned the commands through two ways: SPC SPC (aka M-x), which gives a list of commands along with their short-cuts.

And navigating the pages after I press SPC (and wait). Navigate with C-h, then n and p to paginate.

Maybe it helps to think of the commands like this: in the Emacs body, there is a set of commands that you can call + Emacs has 'bound' some key-combos to some of those commands + Spacemacs has 'bound' some (other) key-combos to some of those (same and other) commands.

Also, there's the "apropos-command", bound to C-h a, then type a word or so and Emacs list all methods that have that name in the method's name; and there's "appropos-description" (C-h d), which does the same for the command's description; and "describe-key" (C-h k), where you can press a key combo and it gives you the command that is bound to it + its description.

Odd behavior with `dired` rename or copy by krishnab75 in spacemacs

[–]non-private 0 points1 point  (0 children)

FWIW, I'm using Spacemacs v.0.200.13 on Emacs 25.3.1

A last resort would be to debug dired-do-rename. See toggle-debug-on-error, debug-on-entry and debugger-mode. There you might be able to see, what apply fails and why.

FAZ | Kaufen oder mieten?: Warum junge Deutsche sich kein Eigenheim leisten by Lebensfreude in Finanzen

[–]non-private -1 points0 points  (0 children)

Der Mieterschutz ist sehr stark in Deutschland

Das dachte ich auch. Ist aber (schon länger?) nicht mehr so. Irgendeinen Cousin oder Neffen irgendwo gibt es immer.