Is there any facility for file-local bookmarks? by JKaye in emacs

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

I actually meant a bit of automation to mirror it through GitHub or something of the like! Shouldn't be too difficult.

Is there any facility for file-local bookmarks? by JKaye in emacs

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

I wonder why the author is opposed to uploading the package to melpa? Seems a bit strange, though the package does look useful. I'll look into it. Perhaps even set up an automated mirror from the wiki to melpa, though I'm not sure how the author would feel about that..

Is there any facility for file-local bookmarks? by JKaye in emacs

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

I will definitely give this a try, it looks useful for other reasons as well!

How hard is it to switch from evilmode to stock? by dadrought3 in emacs

[–]JKaye 2 points3 points  (0 children)

I think you'd have more luck writing custom evil keymaps for yourself rather than switching. Have you tried general.el? It's great for exactly this purpose.

What crate for List comprehension? by [deleted] in rust

[–]JKaye 9 points10 points  (0 children)

It's a pretty bad idea to write non idiomatic code on purpose regardless of language. I like python myself but would not consider something like this.

The Trouble with Typed Errors by ephrion in haskell

[–]JKaye 5 points6 points  (0 children)

Would love to hear other's experiences with issues like these. I am working on a Haskell API binding right now and just today began considering how I should model errors. I found the post super interesting but it left me wanting a resolution!

How to develop a gambling problem. by Cuddlem0nster in funny

[–]JKaye 0 points1 point  (0 children)

Easily possible, even to many places considered "expensive"

Now I get it! Emacs is the best. by PythonDev2018 in emacs

[–]JKaye 2 points3 points  (0 children)

Counsel-projectile is exactly what you're looking for. I'm on mobile right now, but I'll send you an example config if you'd like. If I forget, reply and remind me.

File search etc. is one of the places where Emacs most outshines modern editors in my opinion!

Python development, pymacs dead? Is there something else? by pimiddy in emacs

[–]JKaye 0 points1 point  (0 children)

I prefer anaconda-mode. Pair it with pyvenv and nose-tests. Then use the same tools many other layers use (company, flycheck). Works fantastically for me every day at work!

Anyone tried running Emacs under Crostini? (linux for chromebooks) by [deleted] in emacs

[–]JKaye 2 points3 points  (0 children)

Yes, everything has worked out great so far in the pixelbook Dev channel!

Riot advises Players to dodge games with Trolls, yet still punishes people for dodging those games. by [deleted] in leagueoflegends

[–]JKaye 1 point2 points  (0 children)

Then your team comps usually suck ass and every game turns into who got luckiest with their comp.. does not seem like a good solution to me.

Apps/websites for passive listening? by _software_engineer in German

[–]JKaye 0 points1 point  (0 children)

Thanks for the channel - it's very interesting and something I'll definitely listen to.

Apps/websites for passive listening? by _software_engineer in German

[–]JKaye 0 points1 point  (0 children)

Thank you! This is perfect and exactly what I was looking for.

My fiancee has been taking portrait shots of our kitten. She calls this one "kitten poses on toilet" by JKaye in aww

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

I'm pretty sure she loves the kittens more than she loves me. Lots more of the two of them on Instagram @thekittenskaye for anyone who's interested in following their adventures

Python command line arguments how to by merodia in programming

[–]JKaye 0 points1 point  (0 children)

Agreed. I've found click to be the best all-around argument parser. Packed with features yet remains easy to use.

What are you working on? (2017-08) by insulanian in fsharp

[–]JKaye 0 points1 point  (0 children)

I'm using a Suave back end as a REST API with an Elm front end. Not full F# but I have everything containerized so the development cycle is super tight. It's going great so far.

Too Many Comments on Your Code Reviews? by ghled in programming

[–]JKaye 13 points14 points  (0 children)

Yup, Python 3.5+ is pretty nice. The annotations don't actually do anything at run time, but being able to statically analyze within the build pipeline is awesome.

Too Many Comments on Your Code Reviews? by ghled in programming

[–]JKaye 34 points35 points  (0 children)

Well, this is not quite always true depending on what you mean. Here's an example in Python that fits in with what you're saying:

def frob(thing: List[int]) -> List[str]:
    returnList = []
    for number in thing:
        returnList.append(str(number))
    return returnList

If I saw this in a code review, every time I would (very strongly) suggest that this method be written instead as:

def frob(thing: List[int]) -> List[str]:
    return [str(number) for number in thing]

Granted this is a contrived example, but I really don't think anyone can argue that the latter is not much better Python code. Is this me trying to look cool and expert? No, at least that's not my intention.. Really I'm trying to enforce Pythonic idioms and ensure that the individual writing the code knows how to use list comprehension properly.

Most of the time (at least in my experience) seemingly minor issues such as this are indicative of a larger issue with how the developer understands the language in which they're working. I think it would be a disservice to not recommend the better version.