budafish
> all([]) returns True since the iterable is empty.
Not much actual good content here.
Blog about tech banking and consulting
And bonus is my local library stocks many of them!
@net use Z: \\administrators
Would achieve the same effect :)Ask HN: How do you optimise your outlook workflow?
There not that much discussion on this on the internet as it is quite personal, but I am really interested to see what "hacks" people have added into outlook (or others) to optimise their workflow, more than just simple "move to folder" rules. A lot of the standard webpage's just seem to show "grouping" as advanced usage.What do you do? Any advanced usage using things like columns, formulas,...
Do you have some updated version that I'm unaware of?
Ask HN: How do I start learning about lower level compiled languages?
Hi HNI work quite a lot with Python and JS, and some other higher level languages, but have recently wanted to get involved in lower level languages, particularly NIM. I have already started coding with it, but it comes with a whole range of new topics that are semi-unknown to me, heaps, stacks, memory management, pointers, compilers, debugging compiled applications, garbage collection, etc....
https://www.amishbhadeshia.co.uk/posts/setting-up-a-new-blog...
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 :(
[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.
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.
Works great 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'
}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.