3,218 karma · joined February 1, 2021
I don't mind bash and the various cli programs I used to use for the tasks I was doing at the cli. However I was forced years ago to learn powershell. Now syntax aside I was able to use powershells native functionality to do things I'd have to call other programs for, read and process CSV, JSON, XML, etc. Nushell is like powershell but a much better syntax and I prefer the data model and love the output.
My main workflows consist of exploring data, cleaning it, and outputting what I need. Nushell has this covered.
[0] https://www.nushell.sh/ [1] https://github.com/kellyjonbrazil/jc
TL;DR
Approx 20 years ago, whilst still a child, a staffer in a contempory politically unpopular US gov dept, bragged on the internet.
Just to note: I'm no trump administration supporter and wouldn't be even if I was American.
If forced I would likely go with htmx.
Regards nue: do I need to know rust?
$medias = open .\medias.csv
The above is the initial read and format into table.I'm currently on my phone so can't go through all the examples, but knowing both PS and nu, nu has the better syntax.
EDIT:
Get data and view in table:
let $medias = http get https://github.com/medialab/corpora/raw/master/polarisation/medias.csv
$medias
Get headers: $medias | columns
Get count of rows: $medias | length
Get flattened, slight more convoluted (caveat there might be a better way): $medias | each {print $in}
Search rows: $medias | where $it.outreach == 'internationale'
Select columns: $medias | select foundation_year name
Sort file: $medias | select foundation_year name | sort-by foundation_year
Dedup based on column: $medias | uniq-by mediacloud_ids
Computing frequency and histogram $medias | histogram editoNot defending the behaviour, but it's definitely the pattern with every tech company.
I was able to demonstrate my long use of them, prior to LLMs. And since I write in quarto markdown I don't need keyboard shortcuts.
I obviously think the computer science degree is full of useful skills unlike a lot of degrees, but it's nothing I couldn't have got elsewhere.
With a kid in university I am torn because I know that having a degree actually means nothing in the job market, not like it used to.
They're not without their drawbacks, like no official standards etc, but they do their job well.
I will be bookmarking this like I have the ini critique of toml: https://github.com/madmurphy/libconfini/wiki/An-INI-critique...
I think the first line of the toml critique applies to CSV: it's a federation of dialects.
Recently I was accused of using AI to produce something because of my use of em-dash. I was able to show my use of the character going back years in my university work, long before recent AI.
Just to note I'm not making excuses for the issue in the article.
Great work.
I find it ironic that most of those defending edge's default ad infested config as ok because you can turn it off are likely the same people who'd lambast Firefox for having a lot less stuff turned on my default. I control everything in Firefox, no way anyone can say the say for edge, chrome or even safari.