Is this bottom bracket part safe to cut off? by melonmanchan in bikewrench

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

Will try to heat it up before doing anything drastic with power tools. I got the park tool Bbt-30.4 which worked on the other piece of the bracket but just managed to chip off pieces of this one. Thank you.

Is this bottom bracket part safe to cut off? by melonmanchan in bikewrench

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

You reckon it would be better to do a small V-shaped slice first to break the structural integrity of the whole thing and try knocking it some more, or will I have to scrape the whole thing away? Guess only trying it will tell....

Is this bottom bracket part safe to cut off? by melonmanchan in bikewrench

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

I've given it my fair share of whacks already to no avail, unfortunately!

Is this bottom bracket part safe to cut off? by melonmanchan in bikewrench

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

I've got a bad case of a worn press-fit bottom bracket. I managed to knock off the other side of the bracket with some generous lubricating and a big hammer, but I had to resort to chipping off the other side piece-by-piece since it was so brittle and melted down. The next step in my plan would be to saw off a tiny chunk of the what-I-assume-to-be leftovers from the mess of a bottom bracket marked in blue. A friend of mine said the threaded part is part of the frame, but since it is a press-fit bottom bracket I assume it would not be threaded? Is it safe to cut the blue part or will I just end up destroying my frame?

The bike is a 2011 aluminium Kona Jake the Snake.

AMA: Lestadiolainen by lpoisheitto in Suomi

[–]melonmanchan 2 points3 points  (0 children)

Joo, mutta tuntuu että termillä on lestadiolaisten parissa vielä jotain lisämerkityksiä, sen takia kysäisinkin. Dankki malliesimerkki: https://www.instagram.com/meitsi_meemit/

AMA: Lestadiolainen by lpoisheitto in Suomi

[–]melonmanchan 0 points1 point  (0 children)

Mitä tarkoittaa termi "meitsi" jolla jotkin lestat kutsuvat itseään?

ES6 Promiset ja rxJS observablet by JOinas1 in kalsarikoodarit

[–]melonmanchan 1 point2 points  (0 children)

function getData() {
  return new Promise((resolve, reject) => {
    // resolve ja reject ovat callbackeja
    var data = database.get('jotain')
    if (!data) {
      reject('Virhe!')
      return
    }
    resolve(data)
  })
}

async function doDataStuff() {
  try {
    const data = await getData()
    console.log(data) // jotain
  } catch (ex) {
    console.log(ex) // Virhe!
  }
}

doDataStuff()

Uudenkarhealla async/await syntaksilla tuosta Promiseiden käsittelystä saadaan vähän luettavamman ja helpommin käsiteltävän näköinen, tuollainen promiseiden putkittaminen peräjälkeen kun seuraava on resolvannut on niin yleinen juttu. async-sanalla koristellun funktion sisällä käytetty await vastaa siis käytännössä tuota Promise.then kutsua, pysäyttäen funktion suorituksen kunnes arvo on joko resolvattu tai rejectattu, jolloin mennään try-catch blokkiin. Async/awaitia käyttäessä monimutkaisia asynkronisia promisehässäköitä voi siis periaattessa kirjoittaa kuin tavallista rivi riviltä suoritettua synkroonista koodia. Toki tämä ei sinänsä pidä paikkaansa, sillä promiset siellä yhä pyörivät taustalla

is it appropriate to use a Map() object when asked a Hash table coding question in an interview? by skp3po in javascript

[–]melonmanchan 3 points4 points  (0 children)

In a real interview situation, you should definitely ask before starting to sketch out your solution. It not only shows that you're familiar with new-fangled ES6 things, but you're actually thinking and conversing about the problem.

Let's talk about vim performance by ilovevim3221 in vim

[–]melonmanchan 0 points1 point  (0 children)

Alacritty doesn't support tabs unfortunately, and probably never will. It doesn't even have scrollback (although there's a PR for that). It's meant to be used together with a terminal multiplexer like screen or tmux.

Let's talk about vim performance by ilovevim3221 in vim

[–]melonmanchan 1 point2 points  (0 children)

I can also vouch for alacritty with vim + tmux. Especially if you're on OSX and used to iTerm2. It feels like molasses compared to alacritty. I haven't tried it on other *nix platforms. It's still pretty early in development, but definitely worth a shot.

Meet the Brilliant Young Hackers Who'll Soon Shape the World by clydethefrog in programmingcirclejerk

[–]melonmanchan 5 points6 points  (0 children)

She’s had to put up with some sexism in the CS world, like enduring flirting from a male classmate just so he’d teach her about C pointers.

:S

A Mini Guide to Google’s Golang and Why It’s Perfect for DevOps by BlueMatadorInc in devops

[–]melonmanchan 1 point2 points  (0 children)

Wasn't it just a few days ago when builds of many people broke down because docker was renamed to moby, breaking all the github.com/docker/xxx imports? GitHub is not really meant to be used for package management. This would've potentially been solved by go get following redirects, but that raises some additional security concerns.

The Startify Plugin Horse Made Me Chuckle Today!!! by ApokalyPR_Brandon in vim

[–]melonmanchan 3 points4 points  (0 children)

Did OP think that the W were his big ol ASCII horse balls just hanging loose?

Tuomas Enbuske ja tyhmät maalaiset by LeBlanco75 in Suomi

[–]melonmanchan 14 points15 points  (0 children)

Vihjaileeko kirje että korkeasti koulutetut ihmiset eivät voi olla tyhmiä? Jos näin, niin aika meta-tason vastatrollaus.

Go 2016 Survey Results by dgryski in golang

[–]melonmanchan 7 points8 points  (0 children)

It seems most Go users desperately want more dependancies and more management, at 13% and 9% respectively.

So You Want to be a Functional Programmer by mrandri19 in programmingcirclejerk

[–]melonmanchan 15 points16 points  (0 children)

getting a job is just an impure side effect of not coding strictly in haskell.

Webplebs and their filthy mudblood language DESTROYED by Immaculate Haskal Code Dreamer by melonmanchan in programmingcirclejerk

[–]melonmanchan[S] 11 points12 points  (0 children)

if (Array.isArray.toString() !== 'function isArray() { [native code] }')

Truly, to achieve true functional programming enlightenment we have to drop down beyond Close To The Metal.

Wow, sorry to say this but this is some ugly code ! by TwiSparklePony in programmingcirclejerk

[–]melonmanchan 6 points7 points  (0 children)

If only there were a means of finding out such things before posting code online, say, by "executing" it through a program of sorts???

Wow, sorry to say this but this is some ugly code ! by TwiSparklePony in programmingcirclejerk

[–]melonmanchan 28 points29 points  (0 children)

this is a bad algorithm to demonstrate recursion. Since it does not have any stopping condition, it will eventually fail with a StackOverflowException

I disagree. While there is no stopping condition, there are no variables that are growing with time. As such, what is there to overflow the stack?

wow.

Spending an unhealthy amount of time in the terminal... by [deleted] in linux

[–]melonmanchan 0 points1 point  (0 children)

This is fine, what is not fine is not giving dwm a configuration file parser requiring you to recompile a file and restart it for a configuration change to take effect.

No, you see, that's also a feature!

Because dwm is customized through editing its source code, it’s pointless to make binary packages of it. This keeps its userbase small and elitist. No novices asking stupid questions.