HackerTrans
TopNewTrendsCommentsPastAskShowJobs

_pvxk

no profile record

comments

_pvxk
·il y a 2 ans·discuss
Oh and another one I use all the time is as an "identity transform" when selecting between filters, e.g.

    dostuff () { 
        if [[ $1 = clean ]]; then 
            grep -v dirt
        else 
            cat
        fi | do_other_stuff
    }

See also https://www.in-ulm.de/~mascheck/various/uuoc/ (via https://lobste.rs/s/rtvp2u/useful_uses_cat#c_0xpqkr )
_pvxk
·il y a 3 ans·discuss
And in Bergen you can use "lukt" to mean both, "høyt opp i lukten", maybe the Hanseatic influence?

(My kid uses "luft" to mean both, "lufte ekkelt".)
_pvxk
·il y a 3 ans·discuss
https://www.datatilsynet.no/en/news/aktuelle-nyheter-2023/th...

> the Norwegian Data Protection Authority strongly doubts that Meta's proposed ‘consent’ mechanism, often dubbed ‘pay or okay’, complies with the GDPR. The EDPB’s decision is therefore important to avoid Meta's infringement continuing while the company is exploring its options.

https://www.theregister.com/2023/11/28/metas_eu_privacy_fee_...

> noyb (None Of Your Business) has filed a data protection complaint against Meta over the "Pay or Okay" subscription model
_pvxk
·il y a 3 ans·discuss
Well, being an Operating System, there have been many things programmed "in Emacs":

* email, slack and reddit clients * web wowser * tetris * Amazon's customer service handling https://tess.oconnor.cx/2006/03/quality-without-a-name (not sure what that says about Emacs Lisp. Or Amazon.) * PIM / OCD management software * video editing https://www.nongnu.org/gneve/ * mind control https://github.com/jonnay/mindwave-emacs * Thermonuclear word processor * vim and vi emulators, if you ever need to use it for coding * Internet of Toys https://news.ycombinator.com/item?id=29207607 * Air traffic control system https://news.ycombinator.com/item?id=33524683
_pvxk
·il y a 3 ans·discuss
It's for the UI, yes, since they're not my accounts, I'm just tech support for them ;-) I've seen there is an hledger-web, but there's a bunch of reports and workflows already set up in Gnucash and switching would involve learning new things and I'd rather spend as little time as I can on accounting and taxes. (OTOH adding a script to enable "git log -p" took like ten minutes.)
_pvxk
·il y a 3 ans·discuss
I store the .gnucash file in git, and after editing things in Gnucash I run a script that exports[0] it to a hledger file in the same directory and commits both. So `git show` gives me a readable view of what changed, but the accounts are still usable by non-nerds.

[0] https://hledger.org/gnucash.html
_pvxk
·il y a 3 ans·discuss
Big stores that sell DRM-free e-books:

- https://www.ebooks.com/en-uk/drm-free/

- https://www.bloomsbury.com/uk/

DRM-free audiobooks:

- https://libro.fm/

- https://www.downpour.com/

Other lists and tips on where to buy DRM-free:

- https://libreture.com/bookshops/

- https://aperiodic.net/phil/archives/Geekery/where-to-get-ebo...

(Here in Norway we've so far been lucky, I've yet to see e-books with DRM. There's ebok.no which does watermarks, but that feels acceptable.)
_pvxk
·il y a 3 ans·discuss
I was in a similar position using Python at work. At first I learnt Ocaml on the side, which was really fun, and taught me to work with types instead of avoiding thinking about them as I did with C++. Then I got a job where I got to write "simple" Haskell – picking up Haskell after Ocaml was no problem, mostly just felt like a change of syntax. It's been fun, and for the domains I've used it for (mainly combining data from various sources, analysing, predicting), a very good fit. Also used it for web stuff with IHP lately, which has also been a success.

The Haskell ecosystem is somewhat larger than Ocaml's (more support, users, learning materials, libraries). The difficulty with Haskell is mostly that it makes abstraction so easy that you can be tempted to make your code too abstract. But if you can manage to KISS, it can feel like a safer, cleaner, faster Python. Haskell doesn't require you to code in pure functions, but it will let you know through the types that a function is not pure / is "in IO", and it has lots of features to let you easily do things purely that you would otherwise do in IO. That may lead to more of your code being pure in the end. F#'s main advantage is access to the C# ecosystem, though at the cost of possibilities for null pointers when calling C# libraries / .NET API's.
_pvxk
·il y a 7 ans·discuss
> [session manager] can now run commands not only "autostart style" at login time, but also when your computer suspends, logs out etc.

> larger thumbnails as well as support for a "folder.jpg" file altering the folder's icon

> "Do Not Disturb" mode

> HiDPI support