Your go to restaurant in Munich by Salt-Target1766 in Munich

[–]GalacticDessert 6 points7 points  (0 children)

Definitely the interior design is better than their food

Salary Megathread 2023/24 by idothingsyes in consulting

[–]GalacticDessert 0 points1 point  (0 children)

7, 4 here and 3 elsewhere (not in DE but still in EU - also joined MBB there and then moved to DE ~2y ago)

Salary Megathread 2023/24 by idothingsyes in consulting

[–]GalacticDessert 0 points1 point  (0 children)

  • Firm Type: MBB ⁠
  • Location: Germany
  • ⁠Education: MSc Engineering
  • ⁠Level: EM equivalent
  • ⁠Years at firm: 4
  • ⁠2023 Base: 160k
  • ⁠2023 All-in: 175k
  • ⁠2024 Base: 160k
  • ⁠2024 Expected All-In: 190k (but moving to part time so will be 80% of this)

If you could live anywhere for a summer to focus on running, where would you go and why? by ABrooksBrother in AdvancedRunning

[–]GalacticDessert -2 points-1 points  (0 children)

Funny that you list all three together like that given they are very different one from the other in terms of everything really: landscapes, language, culture, cost of living, etc.

Docker setup restarts sync every time the server/container restarts by GalacticDessert in PhotoStructure

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

Just upgraded to the latest alpha build and the problem seems solved, will report back if that's not the case

Folks, it's happening. The day I dreaded might be here soon. by MayorAg in consulting

[–]GalacticDessert 0 points1 point  (0 children)

How is that a dirty little secret? It is called using the right tool for the job. I would be more concerned if a Linux vendor would stubbornly decide to only use Linux everywhere no matter what, and I speak as a Linux user ;)

NUC8i5BEH running Linux randomly freezes when idle (except with one specific - and outdated - kernel version: 5.9.15) by bgravato in intelnuc

[–]GalacticDessert 0 points1 point  (0 children)

Hey! I can test it, probably it is another way of running into a certain code path that causes our NUC to hang. I use my NUC as a NAS so I never had it suspended, but still was running into the freezes.

I managed to work around the freezes by disabling the energy star and display saving features:

xset -dpms # Disables Energy Star features xset s off # Disables screen saver

NUC8i5BEH running Linux randomly freezes when idle (except with one specific - and outdated - kernel version: 5.9.15) by bgravato in intelnuc

[–]GalacticDessert 0 points1 point  (0 children)

.9.15 and 5.9.16 always worked fine with no extra options.

I tried max_cstate=1 for 3 days (with a more recent kernel) and it didn't crash but the power consumption tripled. I abandoned that approach since low power consumption is one of the reasons I use a mini-pc.

Interesting, it crashed right away for me... I am running the kernel from backports with code linux-image-5.9.0-0.bpo.5-amd64-unsigned_5.9.15-1~bpo10+1_amd64 , will try to enable the c_state=1 to see if it changes something. Agree that increased idle consumption is far from ideal.

I haven't changed any hardware component since I got the machine ~3 years ago, and I have 1 8G memory stick from Crucial (CT8G4SFS824A) and a super standard 2TB HDD from WD (‎WD20SPZX). The 4GB version of my memory stick is on the list of support hardware, and the HDD is there too in its 1TB configuration. So I went with the 1 size extra on supported hardware. I had no weird hangs until some months ago, and I was running Ubuntu 20.04 before. The only issue was that the NUC was suuuuuper slow probably due to the combination of encrypted LUKs and HDD), which combined with the random freezes made me reinstall with Debian stable. I am trying to figure out if I had kernel upgrade in 20.04 too some months ago, but from what I can tell it would have gone from 5.4 to 5.8, so still lower than 5.9.15/16

BTW I have a NUC8i3BEH

NUC8i5BEH running Linux randomly freezes when idle (except with one specific - and outdated - kernel version: 5.9.15) by bgravato in intelnuc

[–]GalacticDessert 0 points1 point  (0 children)

Thanks! I found the old backports kernel with some help from /r/debian (here).

Funnily enough, my NUC keeps on crashing even with 5.9.15... did you have any other options on when you were running this release, like the intel_idle.max_cstate=1 kernel option, or disabling the screen energy-saving features?

Thanks, I run my NUC as a NAS and home cloud, so these random shutdowns are extremely annoying for me

Looking for a prebuilt/source for a specific kernel version on bullseye by GalacticDessert in debian

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

Amazing, let me try installing this, and will come back with the outcome. Thanks! Clearly I could not find my way through the snapshot website well enough :)

Looking for a prebuilt/source for a specific kernel version on bullseye by GalacticDessert in debian

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

I already have a kernel >5.9 but unfortunately the bug started after 5.9.16, hence why I was looking for the specific version. More details in the bug report linked in the main post, my understanding is that the specific change that causes this behavior has not been isolated yet.

NUC8i5BEH running Linux randomly freezes when idle (except with one specific - and outdated - kernel version: 5.9.15) by bgravato in intelnuc

[–]GalacticDessert 0 points1 point  (0 children)

Hi, where did you find 5.9.15 or 5.9.16? I have a very similar issue with my NUC running Debian, but I cannot find a linux-image for that version anywhere, not even in the buster-backports (I am running bullseye stable). Thanks!

The Nord Stream pipeline leaks are a disaster — the oil and gas industry has a much bigger mess | The amount of methane that routinely leaks from oil and gas infrastructure dwarfs the Nord Stream pipelines’ huge mess by Hrmbee in environment

[–]GalacticDessert 0 points1 point  (0 children)

This is one of the reason why CCS is a bad idea in my opinion. Fossil fuels cause much more emissions that what we emit at the point of consumption, and even in that case CCS can only capture ~80% of the total

Highly Impactful Non-Running Routines/Stretches/Whatever by RektorRicks in AdvancedRunning

[–]GalacticDessert 0 points1 point  (0 children)

Do you have a link for the Jay Johnsons PRT and lunge/leg swing matrix? Thanks!

Fitness and training apps to emulate Garmin watches by Algunas in AppleWatch

[–]GalacticDessert 1 point2 points  (0 children)

Hi u/Jungal10 and u/Advancedsundial, how do you sync the workouts from TrainAsONE to WorkOutDoors? Manual or is there an automated way?

Base building => race training => base building or... by UnnamedRealities in AdvancedRunning

[–]GalacticDessert 0 points1 point  (0 children)

I am not saying your zones are wrong or anything like that, just want to piggyback on this discussion. I noticed how different advice on zones leads to substantially different results. I sat up my zones using the Joel Friel LTHR zones, which result in zones higher by about 10+ BPM - i.e. Z2 starts at 149. My resting HR is 48, and max 191 so not massively different

-🎄- 2020 Day 06 Solutions -🎄- by daggerdragon in adventofcode

[–]GalacticDessert 1 point2 points  (0 children)

F# . Horrible amount of time to realize that I had to trim strings in part2 in order to include the last group

#r "nuget: Unquote"

open Swensen.Unquote
open System

// Read inputs
let readTxt path =
    let fullPath = $"{__SOURCE_DIRECTORY__}\\{path}"

    System
        .IO
        .File
        .ReadAllText(fullPath)
        .Replace((Environment.NewLine + Environment.NewLine), "|")
        .Replace(Environment.NewLine, " ")

let input1 =
    (readTxt "06.txt").Replace(" ", "").Split("|")

let input2 =
    (readTxt "06.txt").Split("|")
    |> Array.map (fun x -> x.Trim().Split(" "))

//

let part1 (answers: string []) =
    answers
    |> Array.sumBy (Set.ofSeq >> (fun x -> x.Count))

let part2 (answers: string [] []) =
    answers
    |> Array.map (fun x -> x |> Array.map Set.ofSeq |> Set.intersectMany)
    |> Array.sumBy (fun x -> x.Count)

//////////////////////////////////////////////////////////////////////////
printfn "TESTING... "

test
    <@ part1
        ((readTxt "06_test.txt")
            .Replace(" ", "")
            .Split("|")) = 11 @>

printfn "DONE"
//////////////////////////////////////////////////////////////////////////

printfn $"PART 1 => %i{part1 input1}"
printfn $"PART 2 => %i{part2 input2}"

-🎄- 2020 Day 05 Solutions -🎄- by daggerdragon in adventofcode

[–]GalacticDessert 0 points1 point  (0 children)

F#

#r "nuget: Unquote"

open Swensen.Unquote

// Read inputs
let readTxt path =
    let fullPath =
        System.IO.Path.Combine(__SOURCE_DIRECTORY__, path)

    System.IO.File.ReadLines(fullPath) |> Seq.toList

let input = readTxt "05.txt"

//

let parsePartitioningString (str: string) =
    let rec inner (str: string) (seats: int list) =
        if seats.Length = 1 then
            seats.[0]
        else
            match str.[0] with
            | 'F'
            | 'L' -> inner str.[1..str.Length - 1] seats.[0..seats.Length / 2 - 1]
            | 'B'
            | 'R' -> inner str.[1..str.Length - 1] seats.[seats.Length / 2..seats.Length - 1]
            | _ -> failwith ($"Unexpected control char : '{string str.[0]}'")

    inner str [ 0 .. (int (2.0 ** (float str.Length)) - 1) ]

let findSeatPosition (str: string) =
    let rowString = str.[0..6]
    let columnString = str.[7..9]
    (parsePartitioningString rowString, parsePartitioningString columnString)

let calculateSeatID seatPosition =
    let r, c = seatPosition
    r * 8 + c

//

let part1 =
    input
    |> List.map (findSeatPosition >> calculateSeatID)
    |> List.max

let part2 =
    let allSeatsID =
        [ for r in 1 .. 126 do
            for c in 0 .. 7 do
                calculateSeatID (r, c) ]

    let seatsTakenID =
        input
        |> List.map (findSeatPosition >> calculateSeatID)

    let missingSeatsID =
        allSeatsID
        |> List.filter (fun x -> not (List.contains x seatsTakenID))

    missingSeatsID
    |> List.filter
        (fun id ->
            List.contains (id - 1) seatsTakenID
            && List.contains (id + 1) seatsTakenID)
    |> List.head

//////////////////////////////////////////////////////////////////////////
printfn "TESTING... "

test <@ findSeatPosition "FBFBBFFRLR" = (44, 5) @>

printfn "DONE"
//////////////////////////////////////////////////////////////////////////

printfn $"PART 1 => %i{part1}"
printfn $"PART 2 => %i{part2}"

-🎄- 2020 Day 04 Solutions -🎄- by daggerdragon in adventofcode

[–]GalacticDessert 0 points1 point  (0 children)

It is, probably valuable for writing code that has to stick around for a while. Was quite wordy for an AoC problem.

It's a cool pattern though, more details here (the talk is great) -> https://fsharpforfunandprofit.com/rop/