HN user

b5n

355 karma
Posts0
Comments140
View on HN
No posts found.

All the extra steps serve as some type of verification + data collection.

The devs know how to make the experience better, but they get paid to implement some mbas mining scheme.

The future is ok but mostly sucks.

`use-package` has pretty much simplified everything:

  ;; c
  (use-package c-mode
    :ensure nil
    :defer t
    :mode "\\.cu?\\'"
    :config (setq c-default-style "gnu"
                  c-basic-offset 2)
    :hook ((c-mode . lsp)
           (c-mode . bmacs-ide)))

There's a bit more nuance here than 'basic errors', and modern c compilers offer a lot of options _if you need to use them_.

I appreciate that there are guardrails in a tool like rust, I also appreciate that sharp tools like c exist, they both have advantages.

-Wconversion ... assumes converting 1000.0 to 1000 is ok due to no loss in precision.

Additionally, `clang-tidy` catches this via `bugprone-narrowing-conversions` and your linter will alert if properly configured.

I've generally chosen a new (to me) or spartan lang to challenge myself, but this year I'm going easy mode with python and just focusing on meeting the requirement.

Personally I prefer cli over tui, but you can just toss something like this in a `.gdbinit`:

  tui new-layout default regs 1 {-horizontal src 1 asm 1} 2 status 0 cmd 1
  tui layout default
  tui enable

I've spent a lot of time fixing/explaining python exceptions over the years, and I get pretty annoyed when I encounter bare exceptions. Exceptions themselves are so often misunderstood, it seems most people just take them at face value. However, do we really need to dull all the sharp edges and add guardrails to every fucking thing? In a corporate environment, sure, you can implement all the protections you like _without attempting to force your constraints on all users_.

If you care about types, safety, etc. there are plenty of fantastic projects that share your priorities, but they don't need to bleed into everything under the sun.

Sharing and adopting new ideas is healthy, but homogenization kills creativity.

Maybe I'm just grumpy today.

So we've moved on from open washing to full on source laundering lmao.

I'd like to buy a beer for the 'zealot' that buried themselves so far underneath the author's skin that they were compelled to write this useless article.

This is currently the top post, feeling pretty disappointed in you hn.

I assume this varies widely across setups.

    (use-package visual-regexp
      :defer t
      :bind (("C-c r" . vr/replace)
             ("C-c q" . vr/query-replace)
             ("C-r" . vr/isearch-backward)
             ("C-s" . vr/isearch-forward)))

    (use-package visual-regexp-steroids
      :defer t)

Quantized 6-8b models run well on consumer GPUs. My concern would be vram limits given you'll likely be expecting the card to do compute _and_ graphics.

Without a GPU I think it will likely be a poor experience, but it won't be long until you'll have to go out of your way to buy consumer hardware that doesn't integrate some kind of TPU.

Everything Curl 2 years ago

I've built a few projects on top of libcurl, the documentation is great, they've made it very easy to get started.

Big thanks to everyone involved in the project.

Useful Uses of cat 2 years ago

I usually do it all in awk:

    awk '/mail/ && NR <= 500 {...}' access.log
If you want N matched lines:
    awk '/mail/ && i < 500 {i++; ...}' access.log

I just use whatever is in debian testing or unstable, but it's trivial to download firefox _directly_ from mozilla which will then keep itself updated to the latest version.

This just chucks firefox in /usr/local but its straightforward to edit and use ~/, opt, etc., just make sure the created symlink is somewhere in $PATH. Desktop integration will depend on your DE/WM, but should be pretty simple to figure out if not automatic.

    wget -O firefox-latest.tar.bz2 \
      "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US"
    tar xjf firefox-latest.tar.bz2
    sudo rm -rf firefox-latest.tar.bz2 /usr/local/bin/firefox /usr/local/firefox
    sudo mv firefox/ /usr/local/
    sudo ln -s /usr/local/firefox/firefox /usr/local/bin/firefox