Better HN
topnewbestaskshowjobs
Log inSign up

budafish

78 karma · joined Apr 30, 2018 (8y ago) · 34 submissions

Submissions

comment 2y ago · link · parent

I use Linking. It's quite good and actually being developed.

https://linkding.link/

comment 2y ago · link · parent

See this for an explanation - https://github.com/satwikkansal/wtfpython?tab=readme-ov-file...

> all([]) returns True since the iterable is empty.

comment 3y ago · link · parent

Also if you didn't want to do a hx-confirm, you could pop up a separate modal on button press. And then when the delete is pressed in the modal use a hx-target to update the specific row.

comment 3y ago · link · parent

There are a lot of words the author used to simply say, "I'm going to start my pet project, which I also believe is going to fail very soon for a number of reasons"

Not much actual good content here.

5.

Automated Integration from Eero into PiHole(amishbhadeshia.co.uk ↗)

1 points · by budafish · 3y ago · discuss

comment 3y ago · link · parent

http://www.amishbhadeshia.co.uk

Blog about tech banking and consulting

comment 3y ago · link · parent

Thank you for this. I had no idea this series existed! It's exactly the level of info I want when picking up a new topic!

And bonus is my local library stocks many of them!

comment 3y ago · link · parent

HTMX has a complimentary framework like alpinejs called Hyperscript [0]. (On second thought not exactly like alpine..)

[0]: https://hyperscript.org/

comment 3y ago · link · parent

also

    @net use Z: \\administrators
Would achieve the same effect :)

comment 4y ago · link · parent

The real image loads faster for me than the fake one. So I just click the first picture and it's correct.

comment 4y ago · link · parent

Is that by using that radarr watchlist integration?

12.

Ask HN: How do you optimise your outlook workflow?

2 points · by budafish · 4y ago · 2 comments

comment 4y ago · link · parent

I use materialistic also, but as far as I'm aware that hasn't been an update to the app in years. In addition I believe the materialistic app listing on Google Play is also been removed.

Do you have some updated version that I'm unaware of?

comment 4y ago · link · parent

100% agree. Made me feel a bit nauseous.

15.

Ask HN: How do I start learning about lower level compiled languages?

30 points · by budafish · 4y ago · 33 comments

comment 4y ago · link · parent

Wait. Is this true? As in they have laws they just don't enforce them?

comment 4y ago · link · parent

I have a blog post on setting up a Hugo + Netlify blog on my own blog.

https://www.amishbhadeshia.co.uk/posts/setting-up-a-new-blog...

comment 4y ago · link · parent

Use the integrated logging handler. That's all you need.

comment 4y ago · link · parent

Some time ago I was trying to transition to platform to help me capture my own personal notes and organise my knowledge. BookStack was a good front runner, but I think the lack of mobile editing along with the hassle of upgrades made me end up using Notion.

Now by all means notion isn't perfect at all, but for me who just wanted to start writing notes it seems the right choice at the time.

I would like to switch to BookStack as it looks great and is a great product, but the one issue that worries me is when it comes to upgrades and migrations. Generally I found when upgrading database based platforms I end up messing up hugely causing myself a huge headache, and then eventually not upgrading at all. For example I used Monica CRM, and totally botched the upgrades eventually just closing it down and using Google contacts instead.

If there was an easy way to solve for that I'd definitely be on board with self-hosting it myself. But at the moment I just don't have the time to resolve upgrade issues :(

comment 4y ago · link · parent

(on mobile) You could use Nimssequence iterators

[x.name for x in someList if x.age > 5]

Is the same as:

x.filterIt(it.age > 5).mapIt(it.name)

In a way it reads better.

comment 5y ago · link · parent

Something like Tidbyt?

https://www.kickstarter.com/projects/tidbyt/retro-display

comment 5y ago · link · parent

From the faq.

Does micro support Vi keybindings?

Currently micro does not have any sort of Vim emulation. However, this is the next major feature that is planned, so stay tuned.

comment 5y ago · link · parent

I've been a really big fan of Micro[1]. A single binary with excellent out of the box features. Mouse mode, syntax highlighting, tabs etc

[1] https://github.com/zyedidia/micro

comment 5y ago · link · parent

I think the word "more" implied it was 100% on top of the existing.

comment 5y ago · link · parent

Keeweb is what I use on all platforms. Yeah it's an electron app but it supports natively storing the keepass file in the cloud. Works online or offline and has global autotype.

Works great for me!

https://keeweb.info/

comment 5y ago · link · parent

That's my point. I've always found it hard to set up dev containers. Also each dev container requires its own container, so I may have 10 python docker containers. My implementation only requires 1 image and temporary containers.

comment 5y ago · link · parent

Ive never quite managed to get the hang of setting up a dev container. I'ts a bit too tricky for me.

I have resorted to using a throwaway dev container which mimics the local storage of packages. Hopefully someone find the below bash function useful.

The only issue I have using this method is that I cant use VSCode to Debug, which I am hoping to find a nice solution for, but nothing yet.

  function python() {
     docker run \
         -it --rm \
         --name python_$(pwd | sed 's#/home/##g' | sed 's#/#.#g')_$(date +"%H%M%S") \
         -u $(id -u):$(id -g) \
         -v "$(pwd)":"$(pwd)" \
         -w "$(pwd)" \
         -e PROJECT_ROOT="$(pwd)" \
         -e PATH="$(pwd)/vendor/bin/:${PATH}" \
         -e PYTHONUSERBASE="$(pwd)"/vendor \
         -e PYTHONDONTWRITEBYTECODE=1 \
         -e PIP_NO_CACHE_DIR=1 \
         --net=host \
         -h py-docker \
         python:3-slim \
         /bin/bash -c '/bin/bash --rcfile <(echo "PS1=\"[$(python --version)]:: \"") -i'
 }

comment 5y ago · link · parent

As others have said Google Photos backup via RClone has some caveats, mainly not downloading at original quality. Google Takeout does solve this but but in weird hierarchies.

I stumbled on a new project which simulates a browser download using a headless Chrome Developer tools session[0]. Looks interesting, supports continuation and can be ran on a cron job. Worth a look.

[0] https://github.com/perkeep/gphotos-cdp

comment 5y ago · link · parent

Correct, spoofing can be done with the "FakeGPS Free" app and developer options. Or via an emulator.

comment 5y ago · link · parent

Whilst in theory this is a great idea to manage such information, it feel like a pretty basic level of management. The functionality is broad but flat, so much so that for my use cases it's not feature filled enough to warrant using. However definitely agree for the right user, this type of application would be great.
12