• 3 Posts
  • 156 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle


  • The answer is always speculation investment. People are on average richer and real estate is the only trully limited economic resource as we have limited land especially in desired locations.

    Seriously lookup how much of real estate is uninhabitable.

    People are richer, the tech is better and everything we know about economy would indicate that real estate should be more accessible but that’s not the case because the market is manipulated.

    The best part? If you invest in a stock index you’ll almost always out do real estate ownership almost anywhere in developed world. So people are hustling this stupid game while they could just sit back and watch money do money things.



  • Dr. Moose@lemmy.worldtoAsklemmy@lemmy.mlWhat's a handy terminal command you use often?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    2 months ago

    I really like how nushell can parse output into it’s native structures called tables using the detect command.

    Unlike string outputs, tables allow for easy data manipulation through pipes like select foo will select foo key and you can filter and even reshape the datasets.

    This is great if you need to work with large data pipes like kuberneters so you can do something like:

    kubectl get pods --all-namespaces | detect columns | where $it.STATUS !~ "Running|Completed" | par-each { |it| kubectl -n $it.NAMESPACE delete pod $it.NAME }
    

    This looks complex but it parses kubectl table string to table object -> filters rows only where status is not running or completed -> executes pod delete task for each row in parallel.

    Nushell take a while to learn but having real data objects in your terminal pipes is incredible! Especially with the detect command.

    There’s are few more shells that do that though nu is the most mature one I’ve seen so far.


  • It’s incredible how little people spend on free software :(

    I used to have a dream of developing free software and launched a couple of big projects (thousands of github stars, millions of downloads) and no one fucking pays for anything no matter how easy you make it and how critical your software is to them.

    To give some perspective - some Youtubers earn same amount annually from Patreon than both Gnome and KDE yearly budgets combined (which is ~3M usd).

    I realized that the only way to fund something is to make people pay either through early releases, insider programs or something that forces the credit card form on them. That’s the only way.


  • I’ve updated some legacy nodejs to Deno recently and it’s actually not bad! If you’re using serverless Denoflare is super convenient and DTN is a tool for building Deno to NPM (both esm and commonjs) so you can have easy backwards compatibility if needed, it even shims all of the Deno standard lib.

    It’s really impressive what Deno and Bun people have done - for the first time I actually somewhat enjoy server side JS!