NostraDavid

joined 2 years ago
[–] NostraDavid 18 points 1 month ago (1 children)

Oh man, I'm so happy you've told us, instead of making a snarky comment. SO, so happy...

[–] NostraDavid 3 points 1 month ago

Not to undermine their work, but didn't Microsoft not already release Aurora Forecasting (a 1.5b model, which compared to models for text is rather small - those tend to start at 3B - which makes sense because there is also a lot less data to build a model on).

Anyway, I am happy to see competitors popping up, because NWP is hard enough already.

[–] NostraDavid 1 points 1 month ago* (last edited 1 month ago)

Jenkins is neat if you use a shared repo. Yes, the functions are weird (a file is a function, and the function inside is named call.), but having a default list of *Pipeline.Jenksfile (ingestionPipeline, modelPipeline, parserPipeline, dataProductPipeline, etc - data engineer here) is so nice. You can also specify which branch of that repo you are running as well!

It's less neat if you previously had to migrate off of a Jenkins that had everything running as root, to a Jenkins that doesn't.

At least if you fix a bug for a function that's used in multiple pipelines, it's fixed everywhere. Or if you fix a bug in a single pipeline, it's fixed for multiple repos.

edit: the Groovy language isn't great though. Not being able to pass kwargs in my own order, unclear how to define the pipeline (somewhat lacking docs, grabbing working examples from SO). I wish something like Python would've been used instead.

[–] NostraDavid 2 points 1 month ago* (last edited 1 month ago)

You can see here my theme with autodetect of Python (I work a lot in Python). The orange bit is the error code returned by the previous command. Git is supported as well, and looks pretty much like powerline-gitstatus, as you'll read about below.

NostraDavid's Starship theme, based on powerline-status + powerline-gitstatus

First, lets make Bash a little better:

# throw this in your `~/.bashrc`, and then `source ~/.bashrc` for it to take effect, or just restart your terminal.

# == shopts ==
# https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html
shopt -s autocd         # cd into folder without cd, so 'dotfiles' will cd into the folder
shopt -s cdspell        # attempt spelling correcting on folders
shopt -s direxpand      # expand a partial dir name
shopt -s checkjobs      # stop shell from exit when there's jobs running
shopt -s dirspell       # attempt spelling correcting on folders
shopt -s expand_aliases # aliases are expanded
shopt -s histappend     # append to the history file, don't overwrite it
shopt -s histreedit     # lets your re-edit old executed command
shopt -s histverify     # I'm confused.
shopt -s hostcomplete   # performs completion when a word contains an '@'
shopt -s cmdhist        # save multiple-line command in single history entry
shopt -u lithist        # multi-lines are saved with embedded newlines rather than semicolons; explictly unset
shopt -s checkwinsize # update LINES and COLUMNS to fit output

Autocd is a big one here, cdspell and direxpand as well. Ensures I don't need Zsh for the same experience. With Zsh I'd just get annoyed by small stuff like having to wrap things in quotes (I think pip install some_lib[some_extra] works in Bash, but not in Zsh And Ohmyzsh just felt it kept slowing things down, so I actually dislike Zsh ^(please don't kill me) >_>

Anyway, I based this on powerline-status + powerline-gitstatus (if you want to use that instead (no, my config doesn't work), just sudo apt install powerline-status powerline-gitstatus - DO NOT USE THE PYPI VERSION (it's too outdated, and a pain to install)) because I had issues with finding the right combination of my configuration and which libraries to install for bash - there are too damn many: powerline-bash, powerline-status, powerline-rs, powerline-go, etc, etc. And they all do things just that little bit different.

Anyway, here is my ~/.config/starship.toml (archive1, archive2). It's a little long, and can probably be shortered, but that might break something again, and I'm not willing to risk anything right now.

https://gist.github.com/NostraDavid/675a0706716b98816fd2809560ffe42c

[–] NostraDavid 2 points 1 month ago (1 children)

My additions:

  • F5: Also quicksave in most games
  • F6: Also selects the "url bar" in most browsers, and Everything (by voidtools - very cools file-search tool. The literal best, even)
  • F8-F11: user for debugging in vcode
[–] NostraDavid 1 points 1 month ago (1 children)

number key and ctrl

Ctrl-[1-9] selects the first few, and last tab in most browsers.

I get your point, though. I, for one, wish vertically staggered keebs had more keys. (just straight up F1-F24, because more keys is more better)

[–] NostraDavid 5 points 1 month ago* (last edited 1 month ago)

Sovereign Citizen, not Soviet Citizen... I was so confused!

[–] NostraDavid 2 points 1 month ago (2 children)

Eyy, it's Tim Berglund! I love that guy! He's so good at explaining complex topics!

[–] NostraDavid 2 points 1 month ago (1 children)

Dialectical Materialism

How about "a tug-of-war between owners and workers for jobs, resources, and technology"

Three examples:

Factory Work and Labour Unions

Early 20th-century factory jobs involved long hours, low pay, and unsafe working conditions. When workers tried to unionize, factory owners often resisted, viewing unionized labour as a threat to profits. This created a direct conflict: owners wanting to keep costs low vs. workers demanding better wages and safer workplaces.

Automation in Warehouses

Warehouses (e.g., Amazon fulfilment centres) are increasingly adopting robotic systems to speed up sorting and packing. Employees might feel pressure to meet higher performance metrics set by a partly automated workflow, while also fearing that further automation will reduce human jobs. Here, the “tug-of-war” is between technological efficiency (and profit) vs. workers’ job security and well-being.

Tech Industry Outsourcing

Companies sometimes outsource tech-related jobs to countries with cheaper labour costs. This lowers expenses for the company but can lead to local layoffs and economic hardship for employees in higher-wage regions. The conflict revolves around the benefit of increased profit margins for the company vs. the material needs of domestic workers who lose their livelihoods.

[–] NostraDavid 0 points 1 month ago (3 children)

The USA actually spends several billions, if not trillions on Medicare (meant for the old) and Medicaid (meant for the poor, and single mothers, and young children) combined.

In 2023, the federal government spent about $848.2 billion on Medicare, accounting for 14% of total federal spending.

source - and that's just Medicare.

I agree with you that it's weird that corporations get a bailout, instead of selling the company to competitors, but no need to act like the USA doesn't spend a TON of money on its citizens, keeping their head above water :)

[–] NostraDavid 4 points 1 month ago* (last edited 1 month ago) (1 children)

Also make sure it has a decent SSD

That means any SATA SSD that can pull 500MB/s. No need to try to stick an m.2 7000GB/s SSD into such a weak laptop. Not trying to poop on his hardware - just staying realistic for when you look for an SSD (presuming he does not already have one).

After 10 years, I still remember switching to an SSD from a classic HDD. Probably the biggest hardware upgrade I've ever done.

[–] NostraDavid 1 points 1 month ago* (last edited 1 month ago)

The technical requirements for 11 were reasonable

My 8700k (from 2018) disagrees.

view more: ‹ prev next ›