HNHacker News
TopNewBestAskShowJobs

cgdub

137 karma · joined April 7, 2016

submissionscomments
cgdub··on Why Emacs keys are painful (2007)

    (setq mac-command-modifier 'control)
cgdub··on Show HN: Analysis of 2018 Hacker News “Who Is Hiring” Job Posts
Scala seems suspiciously high compared to the data on Hacker News Hiring Trends: https://www.hntrends.com/
cgdub··on Performance Reviews Are a Waste of Time
Did you mean "Your livelihood depends on X"?
cgdub··on Pyre: Fast Type Checking for Python
C++ and JavaScript in the browser that you're using to read this would be a good example of #2.
cgdub··on Best Practices Are Not Always the Best
> you really should just say don't do that

You should also say WHY not to do that.

This lets whoever asked decide whether the reasoning applies to their own unique situation. Perhaps they are doing a one-off scrape of a single file with consistent structure like in the other comment.

The asker can also apply the same reasoning to similar situations. They won't come back to ask if they should use regex to parse JSON tomorrow.

And if you can't explain why something is "best practice", maybe it shouldn't be "best practice".

cgdub··on Ask HN: What stack would you use to build a CRUD web app in 2018?
What should I use to write a CR app?
cgdub··on VS Code to autocomplete JavaScript class 'this' properties automatically
Unlike JavaScript, Java requires classes.
cgdub··on A CEO's Guide to Emacs (2015)
You could give Dumb Jump a shot: https://github.com/jacktasia/dumb-jump
cgdub··on A regression is the kernel not giving the same result with the same user space
If upstream changes, pick a better upstream.
cgdub··on A regression is the kernel not giving the same result with the same user space
There's a great talk about backwards compatibility in Java by Brian Goetz: https://www.youtube.com/watch?v=2y5Pv4yN0b0
cgdub··on JuNest: Arch Linux-based distro that runs on any Linux OS, without root access
Nix is reproducible, supports easy rollbacks, and can manage multiple versions of everything for different projects. You don't have to worry about "works on my machine" or "don't update X right now because Y will break" when collaborating.
cgdub··on Job applicants over 40 filtered out by employers
Sounds like people over the age of 30 are too smart to work "into the early morning" in exchange for lottery tickets.
cgdub··on Macaron: a high productive and modular web framework in Go
Does this have hot reloading?
cgdub··on Ask HN: What are some books where the reader learns by building one project?
The closest thing I know of is Test-Driven Development in Python. http://chimera.labs.oreilly.com/books/1234000000754

It goes through making an app in Django, but is heavier on TDD than Hartl's book.

cgdub··on Ask HN: Are we overcomplicating software development?
If you need to change your microservice's API in a non-backwards compatible way, you have the exact same problem plus significant operational complexity.
cgdub··on Clojure for the Brave and True (2015)
If you're developing a web app, you can share code between the frontend and backend and still use the JVM on the backend.
cgdub··on The Joy of Linux Desktop Environments
Spacemacs works fine if you install it normally. Most dotfiles in your home directory will work as usual.

I'm not familiar with ebuild or PKGBUILD. You'd probably have to rewrite them as Nix expressions.

cgdub··on The Joy of Linux Desktop Environments
You can also go one step further and have the configuration for the entire OS in text files with something like NixOS. https://nixos.org/nixos/about.html

Want to see what your PC was really like 2 months ago, including rolling back updates and removing new applications you installed and vice-versa? You can do that. Even if you switched desktop environments.

cgdub··on How did an entire state price itself out for entry-level home buyers?
Seattle. To name another.
cgdub··on NixOS 16.09 released
Because of how Nix works, upgrading should leave your system in an identical state as if you had done a fresh install.

You can even downgrade if you want. I've switched to unstable and back to 16.03 (and now to 16.09) without a reinstall and everything still works perfectly.

cgdub··on Why I Don't Use React Router
This can happen with any release of any open source project. The only surefire way of dealing with it is diving into the source and fixing it yourself.
cgdub··on Ask HN: Any great talks you would like to share?
Simple Made Easy by Rich Hickey

https://www.infoq.com/presentations/Simple-Made-Easy

cgdub··on Ask HN: Famous Programmers' Editor Choices?
Here's a few of them that use Emacs: http://wenshanren.org/?p=418
cgdub··on Ask HN: How do you install developer tools on a fresh system?
I use the Nix package manager. I use it on both Linux and OSX.

Setting up tools is quick and easy:

1. Install Nix

2. Copy my config to ~/.nixpkgs/config.nix

3. Run "nix-env -i all"

← PreviousPage 2 of 2