nous

joined 2 years ago
[–] nous@programming.dev 2 points 1 month ago (2 children)

Or use systems timers which keep track on this information for you. Can even tell you when the job will next run and automatically captures the logs and exit status from the runs.

[–] nous@programming.dev 5 points 1 month ago

If everything is highlighted, nothing is highlighted.

Kinda ironic given the whole site looks like someone attacked it with a highlighter.

[–] nous@programming.dev 4 points 2 months ago

I have more then once gave up on pressing up, hit ctrl + c to reset only to see the command I wanted briefly flash up as I am hitting ctrl + c

[–] nous@programming.dev 11 points 2 months ago (1 children)

Important part from the article, not all VPNs are equal:

Instead, the authors recommend using paid VPNs, which are generally considered to be more reliable and secure. For example, no serious privacy or security issues were found with Lantern, Psiphon, ProtonVPN or Mullvad.

VPNs are not a magic bullet. They are at best a transfer of trust from your IPS - which in a lot of cases you have little to no control over and also very little trust in.

Picking a well trusted VPN can improve things, picking a bad one can make your situation worse. And there are more important things that you need to worry about first before a VPN will really help at all.

[–] nous@programming.dev 1 points 2 months ago* (last edited 2 months ago)

You never want build artifacts to be committed. You don't want to have everyone working on your project to need to setup their own gitignore for every project. So it makes sense to have a common commited gitignore for files the project produces that should never be tracked by git.

I dislike when people put in editor files in the gitignore though. People should setup global ones for their local tooling.

[–] nous@programming.dev 2 points 3 months ago (1 children)

What are you talking about? Capitalists love the free market. It lets them do any underhanded tactic they want to crush competition and form monopolies. Capitalists have always been the ones pushing for a free market. The 'free' is free from regulations. That is not something good for consumers.

[–] nous@programming.dev 3 points 3 months ago

There are quite a few downsides to what the author proposes as well that they did not consider. If you store code in an intermediary format then every tool that needs to interact with that code needs to understand that language. Back when ada was out that might not have been a big issue. It has a dedicated IDE, lots of languages did. There was no real source control either, at least not like today.

To do that today, does not matter if the source is some binary format or minified it would need to be understood and processed by so many different tools. Just the source control alone, GitHub, bit bucket, gitlab, etc, all editors and idea, simple cli tooling like grep and sed. All would be much more of a pain to work with.

IMO it is much nicer to just work with a nicely formatted code to start with. And have your editor auto format things so you don't need to think about it. Then all downstream tools don't need to care about or understand the language you have chosen to use.

[–] nous@programming.dev 3 points 3 months ago (2 children)

When there is a gold rush, be the ones selling the pickaxes. If the companies behind the models could make a profit using their models then why would they be selling them so freely?

[–] nous@programming.dev 3 points 4 months ago

It also lets you checkout, cherry-pick, rebase or merge work on other branches without needing to sync between the local clones.

[–] nous@programming.dev 6 points 4 months ago (1 children)

Worktrees are great. Although I use them is a different way. I only use them to allow me to rebase or cherry pick onto branches, which require a working tree to do, without ever leaving my main branch. Basically I use them as more powerful branches then full worktrees.

Instead I just do all my work in the main branch/worktrees. When I have something I want to push to a pr I commit just that change to main. Then create a branch and work tree (I store them in .git/wt/). Then cherry pick the commits onto that branch and push that creating a pr from it. Then go back to working on main again on top of the changes I have done. Once the pr gets merged I do a pull --rebase which drops the commits from main.

This means I don't need to switch directories ever and let's me work on a feature, then do a refactor (or minor bug fix), commit and push the refactor in isolation while continuing to work on the feature on top of the refactor.

[–] nous@programming.dev 1 points 4 months ago

Disposable/single use vapes have been illegal to sell in the UK since the first of June this year. This is the kind that the article is talking about litter everywhere as people just throw them away when done rather then refilling them. Vapes themselves are still legal to sell. It has only been a couple of months though so likely will still see people using them for a bit but I would hope to see their use start to tail off quite quickly now as you should no longer be able to buy them.

https://www.gov.uk/guidance/single-use-vapes-ban

[–] nous@programming.dev 16 points 4 months ago

Yes magnets can affect HDDs. But it needs to be very strong and close to the HDD. I wouldn't worry unless you are directly attaching it to you HDD and even then it probably won't do much if anything at all.

Remember HDDs already have strong permanent magnets inside them. Probably way stronger then the one on the bottom of that support.

view more: ‹ prev next ›