Off Topic Chit Chat - (Silliness factor 5)

The blackarch repo is so full of unmaintained junk with a lot of python2 stuff. :dizzy_face:, Iā€™d rather have archstrikes repos than blackarchs, I do love though that there is garuda-blackarch, would have loved garuda-archstrike too

1 Like

LOL, I didnā€™t knew

I just added this repo as a quick solution , when I participated in a CTF workshop/competition and I didnā€™t got the required packages :sweat_smile:

Next time I will use archstrike :slightly_smiling_face:

2 Likes
1 Like

Curious on you guys take on Wpengine and Matt?

  • Initially I was like matt you wrong, then heard about the trademark thing and the zero effort of Wpengine to wordpress (which I do not mind since wordpress is open source), but considering there is a trademark. I feel like Wpengine is leeching of the good wordpress name?

Opinions?

I was scrolling insta and saw a meme which basically said,

>>> l = [2, "hi"]
>>> print(l)
[2, 'hi']

you can do something like this in python but not in C++. So I thought bet you can,

#include <cstdint>
#include <iomanip>
#include <iostream>
#include <type_traits>
#include <variant>
#include <vector>

template <typename T> struct is_string {
  static constexpr bool value = false;
};

template <typename T, typename Traits, typename Alloc>
struct is_string<std::basic_string<T, Traits, Alloc>> {
  static constexpr bool value = true;
};

template <typename T> constexpr bool is_string_like() {
  if constexpr (std::is_same_v<std::decay_t<std::__remove_cvref_t<T>>, char *>)
    return true;
  return false;
}

template <typename T> constexpr bool is_string_v = is_string<T>::value;

template <typename T>
concept BasicType =
    std::is_arithmetic_v<T> || is_string_v<T> || is_string_like<T>();

class CommonDataType {
  std::variant<uint64_t, int64_t, double, std::string> m_Data;

  template <class... T> struct overloaded : T... {
    using T::operator()...;
  };
  template <class... T> overloaded(T...) -> overloaded<T...>;

public:
  template <BasicType T> CommonDataType(const T &data) { write(data); }
  CommonDataType() : m_Data(static_cast<uint64_t>(0U)){};

  template <BasicType T> void write(const T &data) {
    if constexpr (std::is_floating_point_v<T>)
      m_Data = static_cast<double>(data);
    else if constexpr (std::is_integral_v<T> && std::is_unsigned_v<T>)
      m_Data = static_cast<uint64_t>(data);
    else if constexpr (std::is_integral_v<T> && std::is_signed_v<T>)
      m_Data = static_cast<int64_t>(data);
    else
      m_Data = data;
  }

  friend std::ostream &operator<<(std::ostream &os,
                                  const CommonDataType &data) {
    std::visit(overloaded{[](auto &arg) { std::cout << arg << '\n'; },
                          [](const std::string &arg) {
                            std::cout << std::quoted(arg) << '\n';
                          }},
               data.m_Data);
    return os;
  }
};

int main() {
  std::vector<CommonDataType> v = {0, 7L, "String", 8.8};

  for (const auto &ref : v) {
    std::cout << ref;
  }
  return 0;
}
g++ anytype.cpp -o anytype -fconcepts
./anytype
0
"String"
7
8.8

seems you can do that in C++ as well. :slight_smile:

3 Likes

Not really news worthy but interesting none the less. The last bit of the first one is the best.

The Decline of Usability: Revisited | datagubbe.se The Decline of Usability: Revisited
Gnome Files: A detailed UI examination | datagubbe.se Gnome Files: A detailed UI examination

not a screenshot , maybe a deskshot ā€¦ so I donā€™t know where to put it :sweat_smile:

Just installed garuda on my friendā€™s laptop


and here is mine ā€¦ :slightly_smiling_face:

fun fact

Tomorrow is my exam :no_mouth:

another fun fact

Already prepared :sunglasses:

6 Likes

:joy: :joy:, you the one who told me people with anime wallpapers lack social skills :rofl: :rofl:, now look at that waifu lookin cute in your laptop

1 Like

Well, I accept that I donā€™t have gf and yeah I donā€™t have any social skills for that :upside_down_face:

Because my normal college schedule is like this :
Start my at 6 AM

8 AM - 5:30 PM : in college and classes (lunch time 1 hour of sleep included )

6:00 PM - 7PM : gym and freshen up
7PM -7:30PM : take my dinner
7:30 PM - 11:30 PM : in library
11:30 PM - 12 AM : talking to my parents
12AM -2AM or 12AM -1 AM : trying to do some coding stuffs and thinking of some ideas to make some project, solving doubts of my friends, or recharging myself with songs because i am mentally exhausted

And rest of the time left is for sleeping

So yeah, my point is still valid , just I am not able manage my time in my case to gf thing

I do have girls as friends to whom I ask for notes or for help in understanding any concept.

But I donā€™t have any time to get into any relationship stuffs .

And in future I would have less time , as soon I will get involved in research stuffs with my computer science professor, and also have to get involved in clubs . (The club in which I am involved is named as linux club :grin:) .

My seniors say that 1st year is the time when you have the most free time, it will get tougher and tougher later in college. Well , I am a first year student . And I donā€™t think I will have much time in upcoming years . :upside_down_face:

So I donā€™t even think about it because it is not even possible for me :sweat_smile:

4 Likes

ā†’ Talk to any girl cousin you have or girl in the family, I just learned they are way too excited and eager to give you their friends, makes it easier to connect with people as friends and not strangers. Good place to practice trial and error.

I am in the same boat, majorly because of my finance status :joy:

Maybe I have bad advice, but hangout with friends, get drunk, enjoy life a little. After college, it is tough making friends.

2 Likes

Hmmā€¦ not considered good in my country culturally
(it is not banned but still )
If caught then my college can even debar me (well, their rules , their way ā€¦ )

Yes, i do a little bit but I doesnā€™t need to get drunk for that

, thatā€™s why i even have

And I also know girls who are linux users btw :sunglasses:

For me it is lack of time , I am experimenting multiple things in my life .
And yeah, exploring more things , and while doing this I always end up with peoples which have same mindset

For example, just by going gym daily I got connected to around 10 peoples , just because they are all health conscious .

Then, some 5-6 from library , because I go there daily.
And the list goes on ā€¦ :slightly_smiling_face:

So even while being busy and not having enough time , everything still seems working for me :sweat_smile:

the lack of social skills comes just for girlfriend things ā€¦

2 Likes
  • Avoid it then, enjoy fun like you always have or whats considered right where you areā€¦ :sweat_smile: You are valuable, donā€™t want some idiots stoning/rebuking/cursing you or anything.
  • Awesome to know you have time friends, that way life will always be filled with joys:slightly_smiling_face:

:joy: :joy: We just got deep after some wallpaper :joy:

2 Likes
2 Likes

Too long :wink:

If google supports firefox it will be the same as when M$ helped Apple, some years ago.
Itā€™s about avoiding a monopoly that can be broken up much more easily.
Have any of you seen any advertising before his video?
Iā€™m not logged in to Google, and I donā€™t pay anything to not see ads.

I donā€™t mean his commercial in the clip. :smiley:

Furthermore, I love Linux and FireDragon :slight_smile:


Wenn google firefox unterstĆ¼tzt, ist es dasselbe wie damals als M$ Apple geholfen hat.
Es geht um die Vermeidung eines Monopols, das wesentlich leichter zerschlagen werden kann.

Nebenbei, hat jemand von Euch Werbung vor seinem Beitrag gesehen?
Ich bin nicht angemeldet bei Google, ich bezahle auch nichts, um keine Werbung zu sehen.
Ich meine nicht seine Werbung im Clip. :smiley:

4 Likes

4 Likes

nein

Oh no, does that mean I wont be able to wake up in the middle of the night to check out the forumā€¦

:grinning:

2 Likes

Will hurt more than average FB, Twitter downtime for sure! :laughing:

Iā€™ll try to sleep thenā€¦

Wanted to switch my terminal emulator to something with a multiplexer like feature.

Was considering wezterm, but its compatibility with hyprland is so horrible at the moment.
Love foot, but it doesnā€™t have multiplexing capabliities.

P.s: I hate distro shipped terminals like gnome-terminal, xfce4-terminal, or whatever KDE ships.

I use tmux btw, so I just need a terminal with its own multiplexing in built.

Any suggestions on what you guys use?