4
submitted 5 months ago* (last edited 5 months ago) by MinekPo1@lemmy.ml to c/test@lemmy.ml

Latin-1 suplement: ÆëÛÙ£µº

Latin Extended-A: łŃńŤđĩı

Latin Extended-B: ƮǜDžǥǡƪǾȫȵ

Cyrlic: дЦВтѝоМЍтэНтэЦТъм

Unified Canadian Aboriginal Syllabics: ᑃᐍᑞᒣᓥᔓᕆᕻᕊᖮᗤᖺᘥᙋᘚᙳ᙮

[-] MinekPo1@lemmy.ml 6 points 5 months ago

honestly I don't think your conclusion is that accurate as you are missing a common factor between RT/Sputnik and MAGA : both are right wing nationalists .

while from what I remember there is some evidence showing that the raise of the new alt-right in the US is not fully organic , I feel like saying their views are just astroturfed end of discussion is quite pointless .

just to make my point clear : Israel also has a online propaganda campaign which often aligns itself with the views of the Democratic party in the US . one could say something along the lines of "It couldn't be any clearer. What are the odds that Democrat views nearly in 100% [of cases] overlaps with Israeli best interests?" suggesting that the entirety of the Democratic party's support is artificial , which is made easier by the exsiance of Israeli funded political organizations in the US .

but this is of course bullshit . the impact of Israel's foreign politics is not the entirely of the Democratic party , nor is it correct to say that everyone who says anything positive about the Democratic party is a "Hasbara troll" . (also of course as neonazis on twitter have realised , Trump is as also affected by these forces , no you don't want to know)

I believe this also should be applied to the other side : Trump has tapped into preexisting American sentiments towards right wing nationalism and with a mixture of luck , charisma and support from both national and foreign interest groups rallied them around himself .

mind you I'm not saying this to paint the views of Trump's supporters as legitimate , I hold quite opposite views , but because I think your analysis is limited .

lets take the EU as an example : an American nationalist will quite naturally hold some distrust of foreign blocks , which is then compounded by the EU having some liberal policies . its not necessary for a foreign entity to artificially create these views since they are a natural extension of other views this political group has .

[-] MinekPo1@lemmy.ml 22 points 5 months ago

fun fact : the angle is now around 3" 26' which is just slightly over ¹/₂₀ of a degree !

7
submitted 5 months ago by MinekPo1@lemmy.ml to c/videos@lemmy.ml

took me a bit haha

sorry for any jump cuts, I had to fix stuff around the base (incl. an almost blackout oops) and didn't want to add to the stress by trying to record it.

[-] MinekPo1@lemmy.ml 9 points 6 months ago* (last edited 6 months ago)

minor nitpick but the value of π is technically a parameter of the space you are operating in . which means it can have any arbitrary value as long as you are willing to operate in non euclidean spaces (and the space we live in is not euclidean though not to a measurable extent unless you are near a black hole)

but yeah in this context saying π is a constant is as correct as saying you cant take a square root out of a negative number .

edit : possibly better example is that a triangle's angles sum to 180°

[-] MinekPo1@lemmy.ml 27 points 7 months ago* (last edited 7 months ago)

No its microsofts database GUI program that's part of Microsoft Office . imagine software made for users who have a vague understanding of SQL and visual basic but then an exec. forced the designers and devs to make it accessible to everyone while giving them barely any teamembers causing a fuckton of technical debt and unintuitive quirks , making anyone who opens the software feel like they have just been placed in a highly equipped tank , in front of a wall of unlabeled levers and told to drive the tank , or at least that's how I view it.

(reposting from another account sorry if you see both comments)

[-] MinekPo1@lemmy.ml 15 points 7 months ago

sorry but I believe you are mistaken , there is both control and moderation on both the main fdroid repo and other repos .

  • the official fdroid repo only requires apps to be fully FLOSS , see their inclusion policy
  • izzydroid requires the app to be both free and gratis , not promote "violence, hate, harassment, racism and similar topics" and to have limited tracking see their inclusion policy

other repos only include apps from a single project/dev

[-] MinekPo1@lemmy.ml 5 points 8 months ago

sorry but I think you are misjudging just how much you learn both grammar and vocabulary from speaking a language natively and possibly misjudging how well education can teach someone a language

languages are these surprisingly complex and irregular things, which are way easier to learn by doing than by trying. often entering school you can already use tenses or grammatical structures that students learning English as a second language will struggle with a few years later in their educational journey, while you can spend that time unknowingly building up an even better subconscious understanding of the language.

Besides, from my experience, having basic Polish and extended English mind you, the tasks you are expected to do in the lessons of ones native language require a way higher degree of mastery than those in the second language of a pupil.

Also, it should be noted that non native speakers, or fluent speakers of multiple languages, can often borrow things from another language into English, either translating fraises literary (ex. once in a Russian year instead of once per blue moon) or using a unrelated word which happens to have a connection in the other language for other reasons (ex. castle and zipper both translate to "zamek" in Polish)

also mind that for a not insignificant number of people, though due to how more connected our world is today this has slightly decreased in the recent years, the level of English they ended up with from school is quite poor.

[-] MinekPo1@lemmy.ml 19 points 9 months ago

honestly , while I believe this is random=funny, I think it is interesting to interpret:

I believe that the person is a transmasc individual , who had a supportive grandma , but she died and he has been sent to conversion therapy by his unsupportive parents

[-] MinekPo1@lemmy.ml 12 points 9 months ago
105
submitted 9 months ago by MinekPo1@lemmy.ml to c/programmerhumor@lemmy.ml

alt

#include <type_traits>

// from https://stackoverflow.com/a/8625010/12469275
// cmath's sqrt is constexpr from c++26
constexpr std::size_t isqrt_impl
	(std::size_t sq, std::size_t dlt, std::size_t value){
	return sq <= value ?
		isqrt_impl(sq+dlt, dlt+2, value) : (dlt >> 1) - 1;
}

constexpr std::size_t isqrt(std::size_t value){
	return isqrt_impl(1, 3, value);
}

// because pack indexing is only in c++26
template <std::size_t I, typename T = void, std::size_t... V>
struct At;

template <std::size_t I>
struct At<I, void> {};

template <std::size_t V0, std::size_t... V>
struct At<0, void, V0, V...> {
	static const std::size_t value = V0;
};

template <std::size_t I, std::size_t V0, std::size_t... V>
struct At<I, std::enable_if_t<I != 0 && I <= sizeof...(V),void>, V0, V...> {
	static const std::size_t value = At<I-1, void, V...>::value;
};

template <std::size_t A, std::size_t B>
struct Add {
	static const std::size_t value = A + B;
};

template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t A, std::size_t B> typename R, std::size_t I, typename _, std::size_t... V>
struct _ReduceFor;

template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t A, std::size_t B> typename R, std::size_t I, std::size_t... V>
struct _ReduceFor<begin, end, step, R, I, std::enable_if_t<(begin < end),void>, V...> {
	typedef R<At<begin,void, V...>::value,_ReduceFor<begin+step, end, step, R, I, void, V...>::type::value> type;
};

template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t A, std::size_t B> typename R, std::size_t I, std::size_t... V>
struct _ReduceFor<begin, end, step, R, I, std::enable_if_t<(begin >= end), void>, V...> {
	typedef std::integral_constant<std::size_t,I> type;
};

template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t A, std::size_t B> typename R, std::size_t I, std::size_t... V>
using ReduceFor = _ReduceFor<begin,end,step,R,I,void,V...>;

template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t I, typename T> typename V, typename T, typename _>
struct AllFor;

template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t I, typename T> typename V, typename T>
struct AllFor<begin, end, step, V, T, std::enable_if_t<(begin < end), void>> {
	typedef std::enable_if_t<std::is_same<typename V<begin, bool>::type, bool>::value, typename AllFor<begin+step, end, step, V, T, void>::type> type;
};
template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t I, typename T> typename V, typename T>
struct AllFor<begin, end, step, V, T, std::enable_if_t<(begin >= end), void>> {
	typedef T type;
};

template <std::size_t begin, std::size_t end, std::size_t step, template<std::size_t I, typename T> typename V, typename T>
using AllFor_t = typename AllFor<begin, end, step, V, T, void>::type;

template <std::size_t S, typename T, std::size_t... V>
struct ValidRows {
	template <std::size_t I, typename T2>
	struct Inner {
		typedef std::enable_if_t<ReduceFor<I, I+S, 1, Add, 0, V...>::type::value == S * (S*S + 1)/2, T2> type;
	};
	typedef AllFor_t<0, S*S, S, Inner, T> type;
};
template <std::size_t S, typename T, std::size_t... V>
struct ValidColumns {
	template <std::size_t I, typename T2>
	struct Inner {
		typedef std::enable_if_t<ReduceFor<I, I+S*S, S, Add, 0, V...>::type::value == S * (S*S + 1)/2, T2> type;
	};
	typedef AllFor_t<0, S, 1, Inner, T> type;
};
template <std::size_t S, typename T, std::size_t... V>
struct ValidDiags {
	typedef std::enable_if_t<ReduceFor<0,S*S,S+1,Add, 0, V...>::type::value == S * (S*S + 1)/2 && ReduceFor<S-1,S*S-1,S-1,Add, 0, V...>::type::value == S * (S*S + 1)/2, T> type;
};

template <typename T, std::size_t... V>
struct Unique;

template <typename T, std::size_t N, std::size_t... V>
struct Unique<T,N,V...> {
	template <std::size_t I, typename T2>
	struct Inner {
		typedef std::enable_if_t<N != At<I,void,V...>::value,T2> type;
	};
	typedef AllFor_t<0,sizeof...(V),1,Inner,T> type;
};

template <typename T, std::size_t V>
struct Unique<T, V> {
	typedef T type;
};

template <typename T, std::size_t... V>
struct InRange {
	template <std::size_t I, typename T2>
	struct Inner {
		typedef typename std::enable_if<1 <= At<I,void, V...>::value && At<I,void,V...>::value <= sizeof...(V), T2>::type type;
	};
	typedef AllFor_t<0,sizeof...(V),1,Inner,T> type;
};

template <typename T, std::size_t... V>
struct Grid {
	static const std::size_t S = isqrt(sizeof...(V));
	typedef std::enable_if_t<S*S == sizeof...(V), typename ValidRows<S, typename ValidColumns<S, typename ValidDiags<S, typename Unique<typename InRange<T,V...>::type, V...>::type, V...>::type, V...>::type, V...>::type> type;
};

using ok = Grid<void,
	2, 7, 6,
	9, 5, 1,
	4, 3, 8>::type;

int main() {}

[-] MinekPo1@lemmy.ml 44 points 9 months ago

TL;DR: Grid simplifies to true, if and only if it is a 3x3 magic square.

full explanation

  • Fifteen is an array of length 15
  • T checks if an array of length A+B+C is equivalent to an array of length 15, thus checking if A+B+C is equal to 15
  • And is simplifies to X if A is true, else it simplifies to false
  • Df checks if A and B are Diffrent , simplifying to X if they are
  • Grid first checks if every row, column and diagonal is equal to 15, then checks if every item is unique.
2
test post (lemmy.ml)
submitted 1 year ago by MinekPo1@lemmy.ml to c/test@lemmy.ml
[-] MinekPo1@lemmy.ml 7 points 1 year ago

I find the inclusion of WhatsApp hilarious.

[-] MinekPo1@lemmy.ml 21 points 1 year ago

LMAO giving r/BuyItForLife as a good example of where to put ads.

[-] MinekPo1@lemmy.ml 8 points 1 year ago

We are likely before the main exodus, so this will likely change, or so I hope.

104
submitted 1 year ago by MinekPo1@lemmy.ml to c/memes@lemmy.ml

I mean I know its likely gonna change once the big waves wash over but still.

Alt: Drake meme template but with a anime girl. Top row with the girl gesturing approvingly says: if reddit is gonna kill 3rd party clients then I'm just gonna switch to Lemmy. Bottom row, with the girl showing distress, says: there arent as many funny trans people on Lemmy rn

view more: next ›

MinekPo1

joined 2 years ago