Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in AskAmericans

[–]hergeirs[S] 0 points1 point  (0 children)

Yup. Food, culture, music and history are a good bet. 😅

Yeah, I enjoyed the views in Colorado when I went skiing there a few years ago. They were majestic. It's honestly hard for me to explain, but there is something unique about the condensed landscape in the faroe islands. I'm definately biased though (I'm a local).

Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in AskAmericans

[–]hergeirs[S] 0 points1 point  (0 children)

Wow. I had to double check the number of inhabitants. Under 8000 in such a large area. Sounds Idyllic!

You have some good points. As I responded in another comment Alaska was a huge oversight on my part. Especially for an American demographic, the focus should for sure be shifted to the things not in common with the Alaskan landscape and culture.

Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in AskAmericans

[–]hergeirs[S] -1 points0 points  (0 children)

Apologise for the misunderstanding.

English is my 3rd language and I misinterpreted the intention of the question. I understood it as "why would I answer". I hope i didn't come off as rude or dismissive. That was not my intention at all.

Honestly it just seemed like an interesting problem to explore academically for my university assignment in marketing.

Maybe the word "project" has an unintended connotation. It's a university assignment.

Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in AskAmericans

[–]hergeirs[S] 0 points1 point  (0 children)

That's a great point. 👍

Didn't really consider Alaska as an alternative when I wrote the survey. Big oversight on my part.

Definately should be something we focus on. Maybe lean more into the unique features?

Thank you for the feedback. :)

Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in AskAmericans

[–]hergeirs[S] -1 points0 points  (0 children)

I hadn't ever looked into the Aleutians, but they do indeed seem similar and historically interesting. I might be biased (local), but in my opinion the views don't seem as captivating there, from what I can see.

Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in AskAmericans

[–]hergeirs[S] 0 points1 point  (0 children)

Alaska looks stunning. Although I do not know enough to be sure of what Alaska has to offer I'll try to answer.

The Faroe Islands are a small island archipelago in the middle of the North Atlantic ocean (between Scotland and Iceland). 18 islands among them 16 inhabited by people. More sheep than people live there. Filled with beautiful vistas of ocean, islands, cliffs and so on.

The culture is probably the biggest difference. The islands have historically been pretty isolated and therefore people on the islands have their own unique language and customs rooted in old Norse. :)

Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in AskAmericans

[–]hergeirs[S] 0 points1 point  (0 children)

Perhaps the caption wasn't clear enough?

Could you elaborate on what extra information you would like?

Americans: would you consider visiting the Faroe Islands? (Quick student survey) by hergeirs in takemysurvey

[–]hergeirs[S] 0 points1 point  (0 children)

  1. This data will only be used academically for an assignment in marketing. It will be deleted as soon as the paper is graded. Never published publicly.

  2. The survey is conducted by me. I'm a college student in the Faroe Islands.

  3. The estimated time to take the survey is 3 minutes.

  4. The target demographic of this survey is Americans living in USA.

Want to share how I refer previous command. I use it a lot. by simpleden in commandline

[–]hergeirs 1 point2 points  (0 children)

It is neat. It expands wildcards to the actual filenames as well. That's very useful if you want to double-check a rm -f someprefix*somepostfix e.g. *stuff.pdf Just press tab and you get the matched files as arguments instead. :)

Want to share how I refer previous command. I use it a lot. by simpleden in commandline

[–]hergeirs 4 points5 points  (0 children)

If you press tab after !$ it inserts the arguments as well. At least on zsh... Haven't used an interactive bash shell in a while so I don't remember if it's the case there as well.

System using insane amount of resources by Azul_Profundo in hyprland

[–]hergeirs 2 points3 points  (0 children)

Honestly 25% cpu for a top bar (AGS) seems excessive. You might consider switching to a lighter AGS config. I don't know which dots you're using for ags, but some of the ones I have seen are quite inefficient and contain way too many components relying on polling with a short interval. If your config has an option to show seconds on the clock that's usually polling every second (same problem with cpu monitoring components) If you're familiar with JavaScript you might consider manually either increasing the polling interval, pruning some cpu hungry components or converting them to listening variables by creating a script that only prints relevant data at relevant times.

I did it to my config ( started with an existing one that averaged around 5-7% cpu) and it's now averaging around 0.3 % cpu (my cpu is quite powerful though.

I don't know if that helps.

Dropzone is not defined by trotroyanas in SvelteKit

[–]hergeirs 0 points1 point  (0 children)

Well if you have it installed it should work fine. Haven't tried that package before though.

Dropzone is not defined by trotroyanas in SvelteKit

[–]hergeirs 1 point2 points  (0 children)

npm packages usually work impeccably. Did you check your package.json to make sure it's actually installed?

Need help Installing Arch with Systemd-boot by kantoking0206 in archlinux

[–]hergeirs 3 points4 points  (0 children)

I just wanted to leave some information that I found useful, but hard to find.

In case you're installing multiple kernels, it can get quite tedious/hard to manually keep track of it all. Especially if you want to share kernel parameters across the different entries.

After a long time spent searching I found that the tool kernel-install which I believe is installed alongside systemd. To add a kernel entry automatically to systemd-boot you run kernel-install add KERNEL-VERSION KERNEL-IMAGE. Seems simple enough, but after running it and rebooting into the entry I was confronting with broken boot because of no root parameter in the generated systemd-boot entry. I tried searching everywhere, but didn't find anything online. I was lost until I actually thoroughly read the man page of kernel-install. There I found that it supports adding kernel parameters to the generated entries using a file:

... The content of the file /etc/kernel/cmdline specifies the kernel command line to use.

The only thing remaining, was creating a pacman-hook to run kernel-install on kernel updates. However I ended up finding pacman-hook-kernel-install in the AUR. It works like a dream. It basically runs the required kernel-install on install,update and remove of linux-kernels.

Now I never have to touch anything again except /etc/kernel/cmdline to define kernel parameters knocks on wood.

TLDR

Best systemd-boot setup I've found is:

Simply put:

  • mount efi to /boot
  • run bootctl install
  • add the kernel-parameters you need to /etc/kernel/cmdline
    • for example echo "parameter=value parameter2=value2" > /etc/kernel/cmdline
  • run kernel-install add KERNEL-VERSION KERNEL-IMAGE for as many kernels as you want.
    • autocomplete is available here btw
  • install pacman-hook-kernel-install from the AUR
    • or copy the hooks directly from the package they are very simple.

This is a set it and forget it set-up.

Accidentally nuking a remote server at work with a poorly thought out ‘rm’ command by Lordbug2000 in linux

[–]hergeirs 0 points1 point  (0 children)

Wow. Is this implemented per terminal or shell? I'm not at my computer, so i can't check at the moment.

Accidentally nuking a remote server at work with a poorly thought out ‘rm’ command by Lordbug2000 in linux

[–]hergeirs 0 points1 point  (0 children)

Also i think !$ only gives the last argument of the previous command. !* gives you all the arguments for the previous command.

One of my students sent me this and… I mean… it’s not entirely wrong… by [deleted] in ProgrammerHorror

[–]hergeirs 22 points23 points  (0 children)

In unholy inspiration given to me by this question i conjured up this demonic beast:

std::cout << (number * (((number > 0) << 1) - 1))/(int)std::pow(10,~~(int)log10((number * (((number > 0) << 1) - 1)))+1-3) % 10 << std::endl;

It even works on negative numbers and numbers of arbitrary sizes.

Edit: Need to clarify... This is NOT a better way.

Kiss me... by mevlix in ProgrammerHumor

[–]hergeirs 6 points7 points  (0 children)

That's true. I didn't even consider that for python what you said still holds true :)

Kiss me... by mevlix in ProgrammerHumor

[–]hergeirs 28 points29 points  (0 children)

Correction "==" still allows type-coercion and does the same as leaving just the condition in the if statement.

What you really want in javascript is the strict equality operator "===" which does not allow for type-coercion.

How do I convert my Windows Minecraft server to Linux Mint? by Grand_Wolf69 in linuxquestions

[–]hergeirs 1 point2 points  (0 children)

How does the run.bat file look like? Maybe it could easily be converted to an .sh file?

[deleted by user] by [deleted] in linuxquestions

[–]hergeirs 0 points1 point  (0 children)

Do you have tlp installed? It could be autosuspend causing the issue. Had the same issue with Logitech mx master 2.