Show newer

@101101000 people might understand better what you are trying to say, if you skip the over-dramatic BS

> And control over the very existence of that project.
How exactly? You can move to something else anytime.

> People have had projects *undeleted*...
Everyone can redistribute any FOSS project anywhere they want, including microsoft on github.

> this is giving Microsoft *complete* control over who gets to access...
Hosting providers, dns providers, ISPs, email providers or what have you also have complete control over great many things, so are we talking no github here or are we talking p2p everything? Not everything that can happen necessarily happens, a project on github can be FOSS.

namark boosted

Roti Prata is really nice. If you ever visit Singapore, don't miss it. If course the true answer to the question that that the best place can be found in the North 😂

If anyone has a good example of a similar channel in their own country that I can watch, please share a link.

youtu.be/e-Z51ipAezg

@sjb I mean you could have min and max variables and calculate them in the your sorting loop, min/max-ing the same thing multiple times is not an issue, but that's just a cop-out.

@sjb oh nooo, what a bummer, then nothing I said makes sense, I was so excited to write this, now I have to come up with something else.

@sjb I meant min/max is the first and last elements

@loke @sjb hmm, that would be changing the rules of the game though. I could also say that if the array happens to be sorted in the first place then you can do it in constant time. I was expecting something like "in my garbage collected language, allocating memory is as fast as accessing it"... "and/or accessing it is as slow as allocating"...

@snowyfox

@loke shouldn't matter? In what bizarro world is O(n) memory use not worse than n log(n) processing?

@sjb @snowyfox

@sjb this, but in opposite order: lexicographical sort and remove duplicates (single n log(n) pass with early return if duplicates are found) then get the area from the first and last element of the sequence.

@codewiz yes, unless there are any explicit restriction in the standard that I'm not aware of, the operator can return any type based on the value of the literal. The literal value comes in as a variadic pack of chars.

@codewiz keeping in mind that it's still a half measure, which won't save your from many potential pitfalls. For anything non trivial you'd still need to do a lot of mental (or pen and paper) calculations to make sure there is no overflow, so literals would be the least of your concerns on that front.

@codewiz another thing you could do is define and use your own bound checked literals of different sizes. Here is an example for just plain integers
git.sr.ht/~namark/libsimple_su

If you stick with just one duration type throughout the codebase that would be all you need, otherwise if you want to mix and match duration of different granularity and size, your custom literals can return a wrapper type that would only be implicitly convertible to durations that they can fit in.

@erkin and anyone who is accountable can make a management decision.

@tripu *no society of mindless sheltered hoarders with no concept of collaboration

guess this StevenPinker guy can't imagine people who refuse to accumulate, want nothing but freedom for their children and/or consider earnings to be gifts... no wonder his name is camel case...

what do you call an operation that is inequality(!=), addition(+) and substraction(-) all in one?

@bonifartius the code you generated is harder to read than whatever it was generated from, unless you are just wasting your time with the whole thing, so you are essentially requiring the knowledge of your DSL, especially from people who don't just want to painstakingly reverse engineer your project, but actually comfortably learn and contribute to it. That is, once you have it, you will go haywire with it, generating ton of hard to read and understand code, otherwise, if you just wanted it for one small thing, there is no point in doing it in the first place.

With this requirement in mind, you also introduce a new dependency to set up and maintain, a new build step to integrate. Especially for large projects if your generator is not careful about, what files it reads and especially writes to it can be a huge pain to deal with.

It also indicates that original language of choice was not expressive enough for the task at hand, since it by itself is conceptually the same as a code generator. In theory instead of making a code generator for your code generator, you should just improve your code generator or use a better suited code generator. If you need to write a part of C project in python, use language bindings instead of reinventing wheels.

Then there are things like Qt meta object compiler, which solves problems nobody needed solved and breaks standard language conventions, the kind of nuances that are beyond just code formatting and can have various annoying side effects.

@samuraikid lesson number 1 is "not being knowing the difference between going in and getting out"? The masks are not supposed to protect you from airborne virus, they are meant to minimize the amount of virus that escapes from your respiratory system and becomes airborne. I would say dialectics 101, but this is just growing half a brain 101.

@jmw150 comparing R&D to driving, low key admitting that we're just continuously shuffling shame trash and just packaging it in different ways to sell in a market of fads and have not a single clue how to establishing an actual industry where independent local customer facing business can form.

who are these clowns coming up with prepositional logic courses that downplay xor and never even mention zhegalkin?

@barefootstache @hackernews@die-partei.social nothing to be proud of there

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.