VS Code is NOT a political platform

I'm referring to this ticket. I find it abhorrent that a company like Microsoft will bow to religious extremists, who, by misrepresenting and twisting out historical facts, claim victimhood over things like a santa hat.
Microsoft is a western company, headquartered in a country whose money is even stapled with Christianity, and will observe Western traditions as such. Christmas is one of the most prominent such tradition that has transcended religion for hundreds of years. To make it even more prominently less religious, the "santa hat" has zero connection to religion again - it is attributed to depictions of Saint Nicholas, who, while is a Christian saint, has gotten famous not for being Christian, not for following Jesus and spreading his word, but for being generally a good person, giving out gifts. No, not massacre of Jewish people, not an attack on another religion, but simply by leaving gifts for children.
The santa hat, regardless of religion, is tied to the period of the winter holidays, no matter the name, around the world. It has no negative connotation, and the only proof given in that post was a pseudo-historical description of questionable sources. It's nothing more than playing victim, to eradicate a well-known symbol of happiness, joy, and love in favour of a minority.
In other words: having the santa hat in VS code does not repress anyone's rights, however removing it because of a single complaint opens the floodgates of such influence. It was a small easter egg (uh-oh, will I get ostracised for mentioning another Christian celebration, even though it is an internationally accepted term for small, fun features?), not the depicted war cry "death to the Jews" said person is envisioning in it. It was not a swastika, it was not "Heil Hitler" playing on a loop, it was not a manifesto to encourage creation and operation of another Auschwitz. Comparing it to them is just as disrespectful to the victims of the Holocaust than outright denying it happened. When everything, even a little santa hat, suddenly equals the Holocaust, it loses its significance. Yes, keep remembering people it happened so we never repeat such a horror, but do not diminish its effects, and compare it to an effin' santa hat.
 It's a tool. It's not a political platform.
Also, if he can be offended by the addition of the santa hat, I can be offended by the removal. Pushing religious propaganda is completely unacceptable. To me this is almost as equally offensive as forcing another religion on me. Please make the re-addition of the santa hat your top priority!
Sincerely: an atheist

It is sad that in a community they let in toxic people and they are offended by anything like the user who opened the ticket to cry.
The cancer of humanity, religions. Without them we would all live better.
Microsoft that simply makes an act showing the hat of a Coca Cola character (the original Santa Claus was not red) to remember the time of festivities of a great majority of the planet and some only know how to think about genocides.
If so, that user won't use VideoLan to watch his videos either, since it also shows the Coca-Cola Santa's hat.  He should go open a complaint to the VideoLan repository as well.
Let's see if humanity has already overcome its problems and left behind the mistakes it has made.

Although I agree with most of what you have said, let's please stop opening issues related to this.
I believe the situation has already gotten out of hand:
https://github.com/microsoft/vscode/issues/87440
Let's move on and focus on what matters.

We have to mention how Microsoft's Kai Maetzel @kieferrm responded just an hour later:

@Christian-Schiffer we're sorry we hurt your and other's feelings. We'll remove the Santa Hat.

And a little bit later by Microsoft's Erich Gamma @egamma :

Closing the issue as confirmed by @Christian-Schiffer the issue has been addressed.

@joaoportela Sure, and what matters here is why Microsoft didn't realized the obvious - what will happen next... And the issue you mention https://github.com/microsoft/vscode/issues/87440 is far away from the desired reaction. The ONLY correct one was:

@Christian-Schiffer , we are adding a setting so you can change it

Not closing the project and thinking 2 days what went wrong...

@joaoportela We can't move on as long as this issue is not addressed and discussed properly. Microsoft's unwillingness of leaving the discussion open is what's prompting these tickets to be opened. Just like how said sad person had the right to express his opinion about the topic (even if it was based on totally skewed material and false equals), we, the other users also have the right to express our opinion about him. Microsoft choosing to side with him, and practically silence every opposing opinion is something that should not happen in the open software segment. It says that that one person's opinion is more important than the other users', and by acting so quickly, locking down any further discussion, just shows that Microsoft is either ignorant enough to believe falsified historical documents and twisted out facts, or outright they agree with it. Neither is acceptable.
And to focus on what matters... This matters. Because this is a slippery slope, and listening to a single users' complaints, then ignoring hundreds of others is a bad practice, and should be pointed out.

Santa hat is both religious and cultural symbol. VS Code is software product used by a lot of developers in different countries with different cultures. Including it in VSCode is pushing the Western Christian culture into other cultures. VS Code should be religious and cultural neutral!

@salifm I am sure you can handle a setting which changes that red hat which so much hurts your feelings, can you ?

@fonix232
If they are not careful it could end up as Notepad++ 2.0, but without the Chinese propaganda.

I think that handled it wrong and got some serious backlash for it.
They've since did what they could have done in the first place, which is to add a setting to change the icon.
I believe that a new issue related to this subject opened every 10 minutes is only wasting people's time.

In #87440 Chris says "even a single person being offended is one too many". If one person is allowed to control and influence a project so big due to cancel culture and their belief the world evolves around them, then surely I too can propose such changes and claim certain features of VS Code deeply offend me and therefore require immediate change?

Agreed. And no doubt you can get a pork sandwich at Redmond - offending muslims - of a beef philly steak at Zurich - offending hindus, or a chicken fillet offending vegeterians. MS need to walk back this PC position of "one silly bugger offended is one too many"

I'm referring to this ticket. I find it abhorrent that a company like Microsoft will bow to religious extremists, who, by misrepresenting and twisting out historical facts, claim victimhood over things like a santa hat.
Microsoft is a western company, headquartered in a country whose money is even stapled with Christianity, and will observe Western traditions as such. Christmas is one of the most prominent such tradition that has transcended religion for hundreds of years. To make it even more prominently less religious, the "santa hat" has zero connection to religion again - it is attributed to depictions of Saint Nicholas, who, while is a Christian saint, has gotten famous not for being Christian, not for following Jesus and spreading his word, but for being generally a good person, giving out gifts. No, not massacre of Jewish people, not an attack on another religion, but simply by leaving gifts for children.
The santa hat, regardless of religion, is tied to the period of the winter holidays, no matter the name, around the world. It has no negative connotation, and the only proof given in that post was a pseudo-historical description of questionable sources. It's nothing more than playing victim, to eradicate a well-known symbol of happiness, joy, and love in favour of a minority.
In other words: having the santa hat in VS code does not repress anyone's rights, however removing it because of a single complaint opens the floodgates of such influence. It was a small easter egg (uh-oh, will I get ostracised for mentioning another Christian celebration, even though it is an internationally accepted term for small, fun features?), not the depicted war cry "death to the Jews" said person is envisioning in it. It was not a swastika, it was not "Heil Hitler" playing on a loop, it was not a manifesto to encourage creation and operation of another Auschwitz. Comparing it to them is just as disrespectful to the victims of the Holocaust than outright denying it happened. When everything, even a little santa hat, suddenly equals the Holocaust, it loses its significance. Yes, keep remembering people it happened so we never repeat such a horror, but do not diminish its effects, and compare it to an effin' santa hat.
 It's a tool. It's not a political platform.
Also, if he can be offended by the addition of the santa hat, I can be offended by the removal. Pushing religious propaganda is completely unacceptable. To me this is almost as equally offensive as forcing another religion on me. Please make the re-addition of the santa hat your top priority!
Sincerely: an atheist

Obviously, I agree with you that VSCode is not a political or religious platform. Therefor I opened that issue. Thus, you calling me a religious extremist while being part in some of the most extremist behavior I have seen to date is rather irrational. This begins to look a bit like the reaction in relation to the Muhammed drawings, only I as opposed to those who did that, I did not in any way mock your religion, I just stated that such symbols, religious and otherwise have no place in a professional dev environment and documented that said symbol has a long history of being used in hate crimes and crimes against humanity.
Therefor, I understand this as yet another spam issue related to me opening issue microsoft/vscode#87268 on the santa hat. If these kinds of spam comments and bad jokes were all that it was, we could all have a good laugh together. Yet, even if that were the case, the sheer magnitude of such spam alone borders to harassment. Unfortunately, spammy issue openings and comments like yours were pretty much the best of them.
 And then on top of it all, opening issues with complaint about me practically claiming I forced them to utter those incitements against me, people of color, Jews and others by opening issue #87268 . I mean c'mon, are these people for real?
One would think that developers at the very least would have some deductive reasoning, so using the n and k word against me, when my profile picture and name clearly show I am neither, I am just a dev who is trying to do the right thing and my complaint about that religious symbolism on globally available software that has nothing to do with religion whatsoever, is completely out of place as well as pointing out that the particular religious symbol, the Santa hat has been used in xmas traditions over the centuries to mock, tarnish, murder and torture people, especially Jews thus for many is a frightening symbol almost as bad as the swastika. I also added a link to document this. Microsoft of course understood that their well-meant holiday greeting has diverse effects on diverse population and ethnic groups and that some of us do not feel particularly happy about getting such symbols forced down our throats and that some even experience fear and anxiety due to the historic meaning of xmas including its symbolism as said Santa hat.
Now, I was not surprised that not everyone agreed with my concern, yet given I felt I explained why and documented it well, I would have expected supposedly intelligent fellow developers to show understanding and respect for my position.
The aforementioned hates fest by the way also proves the absolute necessity to keep dev apps and networks as well other professional apps and networks free of political and religious symbolism, apparently especially xmas related symbolism since history in fact did repeat itself and I for some reason became a proxy for the hate these people have for people of color and Jews. I can only imagine how those groups must feel, I after all have only been subject to this for the third day now, the groups in question however must live with this their whole lives. So, think people and stop this madness. It most certainly is not funny, not funny at all.
As to people claiming Santa is not a religious symbol, the kind of murderous and genocidal rage some of you exhibited in the aftermath, very similar to the type of murderous and genocidal rage of old inn relation to xmas, in most cases are exhibited solely by religious and political extremists, so based on that, I am going to have to beg to differ.
Now Microsoft has changed the symbol into something that is optional, great, I guess everyone now should be happy and be able to go on with their lives. I also hope, that this unbelievable terror some of you have subjected Jews, people of color and other groups as well as me to in the aftermath now has come to an end and that if anyone feels the need to send yet another message in this matter, that massage will be a message of either support or an apology for past behavior. An apology I would suggest many of you ow the Jewish People, People of Color, Microsoft as well as myself.
Happy Holidays.

next logo sketch 👇

I think, at the end of the day, Schiffer, with possibly good intentions, solitary knighting on behalf of a group he believes have been so terribly offended, has basically done the equivalent that "Jussie Smollett" did for racism for antisemitism, there's a lot of guilt to shoulder there - I think everyone should think carefully about the implications of being "offended" on behalf of others.

I think, at the end of the day, Schiffer, with possibly good intentions, solitary knighting on behalf of a group he believes have been so terribly offended, has basically done the equivalent that "Jussie Smollett" did for racism for antisemitism, there's a lot of guilt to shoulder there - I think everyone should think carefully about the implications of being "offended" on behalf of others.

Yet another of those what psycharity call deflection, blaming others for crimes committed by themselves. What a sad world we live in.

While I disagree with the personal harrassment you have received outside of Github, I do want to point out however that I personally find the image you posted pretty amusing, the Santa hat takes up such a minute percentage of the screen that it not only required a huge red arrow to point it out, but it is so small you can't even tell it's a Santa hat until you closely examine it.
And regarding your comment on the article you linked, I would like to reference a Reddit comment that highlights the absurdity:

I love that someone sourced something from the 1400s on why VSCode can't have a christmas hat

And lastly I would just like to say as well the reason your post was viewed as "extremist" is because you mention stuff like "To me this is almost equally offensive as a swastika.", which is blatantly false. The swastika is a symbol connected to a movement about hate and genocide while a Santa hat is simply not even a religious symbol for the majority of people. As one user mentioned, the reason the Santa hat is even red is due to a marketing campaign by Coca Cola. Microsoft's inclusion of the Santa hat was not for religious reason at all like you falsely claim, it was (as they stated) a wholesome festive easter egg that was included as a lead up to the holidays.

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

 indeed

While I disagree with the personal harrassment you have received outside of Github, I do want to point out however that I personally find the image you posted pretty amusing, the Santa hat takes up such a minute percentage of the screen that it not only required a huge red arrow to point it out, but it is so small you can't even tell it's a Santa hat until you closely examine it.
And regarding your comment on the article you linked, I would like to reference a Reddit comment that highlights the absurdity:

I love that someone sourced something from the 1400s on why VSCode can't have a christmas hat

And lastly I would just like to say as well the reason your post was viewed as "extremist" is because you mention stuff like "To me this is almost equally offensive as a swastika.", which is blatantly false. The swastika is a symbol connected to a movement about hate and genocide while a Santa hat is simply not even a religious symbol for the majority of people. As one user mentioned, the reason the Santa hat is even red is due to a marketing campaign by Coca Cola. Microsoft's inclusion of the Santa hat was not for religious reasons at all like you falsely claim, it was (as they stated) a wholesome festive easter egg that was included as a lead up to the holidays.

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

Yes, indeed now it is, had it been done from the start, I would not have filed the issue.

That said, I am pretty sure, if Microsoft had added the Magen David or a Hanukkah candle holder to that list, may of you would have flooded this forum with complains. Am I wrong?

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

indeed

That said, I am pretty sure, if Microsoft had added the Magen David or a Hanukkah candle holder to that list, may of you would have flooded this forum with complains. Am I wrong?

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

indeed

That said, given your reactions, I am pretty sure, if Microsoft had added the Magen David or a Hanukkah candle holder to that list, many of you would have flooded this forum with complaints. Am I wrong?

Yep, you're wrong.

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

indeed

That said, given your reactions, I am pretty sure, if Microsoft had added the Magen David or a Hanukkah candle holder to that list, many of you would have flooded this forum with complaints. Am I wrong?

Yep, you're wrong.

Great, than I'll make a suggestion for Microsoft to add it in the next update.

As a non-religious person, this entire debacle highlights a regressive approach to cultural expression. Instead of everyone attempting to cleanse the world around them of things they don't fancy, we should be mature enough to tolerate the views and expressions of others. Instead, we've allowed a disappointing over-rotation in society that is setting a precedent for less cultural tolerance, less genuine expression, and less goodwill among people.

They added the option after @Christian-Schiffer and many other people discussed about it.
Please, let's move over Reddit, the conversation that you/we are taking is valuable, but this is not the right place to conduct it. As others said, this is a wider issue, not only vscode had a santa hat. (For example VLC)
They made it optional, they apologized for it, I think it's not a vscode specific problem anymore.

@Christian-Schiffer I am really sorry you suffered abuse, nobody deserves that.. BUT:

The VAST majority of people do not see a Santa hat as religious.
The VAST majority of people think comparing it to a swastika is absurd, and probably offensive.

You are not the only user of this software, and you have no right to dictate it's appearance. Maybe if many more people agreed with you then there would be a case, but judging from reactions here almost nobody agrees with you.

Report @Christian-Schiffer for continuously insulting and provoking everybody.
@Christian-Schiffer Didn't you advertised yourself as a person in hes 50s ? I can't imagine you still think like in https://github.com/microsoft/vscode/issues/87517#issuecomment-568183281

Reminder that CLISP has been using a menorah as its logos since decades:
https://clisp.sourceforge.io/impnotes/faq.html#faq-menorah-why
There are of course those who disagree with it, but the overwhelming majority couldn't care less because they realize Judaism and Zionism are not the same thing, in the same way most Christians condemn past violence against Jews and Muslims.
But neither of this really matters because the Santa hat has nothing to do with religion. I would find it more logical that a Socialist gets offended by it.

@Christian-Schiffer initially the problem was just in how demandingly you almost ordered to do something that only you wanted to see be done.
There's such thing as COC (gawd please nobody misspell it and do not report me), there's such thing as society and community, and not a single person has a right to dictate what and how should look and work like.
People understand that anything in this world can be harmful for someone, I respect this opinion, but who gave you the right to ask to "remove it immediately and make it top priority?" Why should a mass product made for developers all over the world bend to a will of a single person? That's just not the right thing.
I think if you just asked to make it customizable and just explained calmly your problem, nobody would've been offended by YOUR demands and none of this would've happened in the first place.
But now all you do is just excusing yourself, calling everybody who disagrees with you rasict and extremist and abusing people around you.
How are you better than the situation you adressed in your initial issue?

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

indeed

That said, given your reactions, I am pretty sure, if Microsoft had added the Magen David or a Hanukkah candle holder to that list, many of you would have flooded this forum with complaints. Am I wrong?

Yes, you are

@remenyo It is an issue that Microsoft have officially stated:

There were a few “thumbs down” on the issue

and that

even a single person being offended is one too many

It seems they are misrepresenting the actual strength of feeling against this on purpose, and also refuse to change their policy even after a massive democratic backlash.
It is absurd to say "even a single person being offended is one too many". Given the nature of offense it is impossible to not offend anyone. How are sane developers meant to react to this nonsense proposition?

Sadly I think @Christian-Schiffer is not right in the head. I shall pray to my Christian god for your recovery and hope you can work out the issues in your personal life. Love is the spirit of Christmas do not give up or despair my friend.

Well guys, I do not want to dictate you how to behave but as much as the situation itself is ridiculous and the guy just behaves absurdly as of now, I think we should not make it personal and call on someone's mental health.
Sorry, just MHO

Sadly I think @Christian-Schiffer is not right in the head. I shall pray to my Christian god for your recovery and hope you can work out the issues in your personal life. Love is the spirit of Christmas do not give up or despair my friend.

Yet another fine example to why many do not like the kind of "love" you people are spreading. Thank you for yet again, proving my case.

@Christian-Schiffer I am really sorry you suffered abuse, nobody deserves that.. BUT:

The VAST majority of people do not see a Santa hat as religious.
The VAST majority of people think comparing it to a swastika is absurd, and probably offensive.

You are not the only user of this software, and you have no right to dictate it's appearance. Maybe if many more people agreed with you then there would be a case, but judging from reactions here almost nobody agrees with you.

I already answered that, please read the following. https://github.com/microsoft/vscode/issues/87517#issuecomment-568182017

Sadly I think @Christian-Schiffer is not right in the head. I shall pray to my Christian god for your recovery and hope you can work out the issues in your personal life. Love is the spirit of Christmas do not give up or despair my friend.

Yet another fine example to why many do not like the kind of "love" you people are spreading. Thank you for yet again, proving my case.

I didn't mean to offend you. You see I tried to directly translate a figure of speech from my native language to English and I understand it did not come out so well. Still I hope you can find a peace with yourself.

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

indeed

That said, given your reactions, I am pretty sure, if Microsoft had added the Magen David or a Hanukkah candle holder to that list, many of you would have flooded this forum with complaints. Am I wrong?

Why on earth would people be upset over the devs adding more options to the holiday gear icon?

@Christian-Schiffer if you truly don't understand what the issue with your whole issue ticket was, I'm truly sorry for you.
First of all, I will get into this again: Santa is NOT a religious icon. Yes, one of the characters he is based on, St. Nicholas, was a Christian man of faith in the 3rd century - way before your linked article's claim of Jewish genocide in the 5th century. Not to mention that that very article you linked is full of factual errors, exaggeration of events (e.g. making out he whole Saturnalia event as something as inherently anti-Jewish, or making out the birth of Jesus as "anti-Torah"), and is, no matter how we look at it, extreme religious.
Now, if you base your argument on a religious extremist claim, it is pretty straight-forward to presume that you belong in that group - why else would you bring it as an argument? You're either white-knighting a religious extremist group, or belong to them.

See, this is where you're reaching. The santa hat has - historically - no connection to any sort of Jewish-torture, or mockery. It's a symbol of love, joy, giving, and family. You bringing in this argument, without actual proof (no, the fact that during Saturnalia, there were Jewish victims, along Anglo-Saxons, Germanic tribe members, and even Christians - it was not targeted at Jews).

 And I haven't seen anyone inciting genocide against any groups.  The very way you worded it, including the "santa hat = swastika" and "christmas = holocaust", furthers the impression that you're either a very dedicated troll, or a religious extremist. And your vehemence of protecting your argument when it has been proven to be on the wrong side of facts and history, does not help your case.

Now, I was not surprised that not everyone agreed with my concern, yet given I felt I explained why and documented it well

Your issue posted was not a concern, but a religious demand. Also, you "felt" you documented it well? Dude, you brought, I repeat, a factually wrong documentation, a single source you based your argument on. Jewish culture is quite prevalent

As to people claiming Santa is not a religious symbol, the kind of murderous and genocidal rage some of you exhibited in the aftermath, very similar to the type of murderous and genocidal rage of old inn relation to xmas

Holy crap. You're more than delusional, you need serious psychiatric help, ASAP. You're comparing an event that hasn't happened for thousands of years (and it was far from genocidal - yes, there were gladiator games that involved some deaths, however genocide is defined as the systematic murder of certain people - and again I repeat, Saturnalia was NOT targeting Jews only, thus the genocide argument is false), with something that doesn't even have remotely anything to do with it? The only link between Saturnalia and Christmas is the timing. And the thing is, this is the effin' winter solstice. It was celebrated BEFORE the Romans were even a wet dream in Romulus' dreams. There are even some proof that Stonehenge was built with the winter solstice in mind - which predates the Romans by a few thousand years. Or is suddenly Stonehenge a sign of inciting genocide against Jews too?
I find this debate slightly pointless - you're not getting what you did wrong, in your own little skewed world, and don't understand why people are attacking you.

if Microsoft had added the Magen David or a Hanukkah candle holder to that list, many of you would have flooded this forum with complaints.

Honestly, no.  It's a nice gesture. It's not an offensive thing, no matter how much you're trying to convince us. In any sane person's mind, a santa hat represents joy, happiness, giving out gifts, and being together with your family. If it represents genocide aimed at you, then it's something wrong with you, and not with the rest of the world.

@Christian-Schiffer if you truly don't understand what the issue with your whole issue ticket was, I'm truly sorry for you.
First of all, I will get into this again: Santa is NOT a religious icon. Yes, one of the characters he is based on, St. Nicholas, was a Christian man of faith in the 3rd century - way before your linked article's claim of Jewish genocide in the 5th century. Not to mention that that very article you linked is full of factual errors, exaggeration of events (e.g. making out he whole Saturnalia event as something as inherently anti-Jewish, or making out the birth of Jesus as "anti-Torah"), and is, no matter how we look at it, extreme religious.
Now, if you base your argument on a religious extremist claim, it is pretty straight-forward to presume that you belong in that group - why else would you bring it as an argument? You're either white-knighting a religious extremist group, or belong to them.

See, this is where you're reaching. The santa hat has - historically - no connection to any sort of Jewish-torture, or mockery. It's a symbol of love, joy, giving, and family. You bringing in this argument, without actual proof (no, the fact that during Saturnalia, there were Jewish victims, along Anglo-Saxons, Germanic tribe members, and even Christians - it was not targeted at Jews).

 And I haven't seen anyone inciting genocide against any groups.  The very way you worded it, including the "santa hat = swastika" and "christmas = holocaust", furthers the impression that you're either a very dedicated troll, or a religious extremist. And your vehemence of protecting your argument when it has been proven to be on the wrong side of facts and history, does not help your case.

Now, I was not surprised that not everyone agreed with my concern, yet given I felt I explained why and documented it well

Your issue posted was not a concern, but a religious demand. Also, you "felt" you documented it well? Dude, you brought, I repeat, a factually wrong documentation, a single source you based your argument on. Jewish culture is quite prevalent

As to people claiming Santa is not a religious symbol, the kind of murderous and genocidal rage some of you exhibited in the aftermath, very similar to the type of murderous and genocidal rage of old inn relation to xmas

Holy crap. You're more than delusional, you need serious psychiatric help, ASAP. You're comparing an event that hasn't happened for thousands of years (and it was far from genocidal - yes, there were gladiator games that involved some deaths, however genocide is defined as the systematic murder of certain people - and again I repeat, Saturnalia was NOT targeting Jews only, thus the genocide argument is false), with something that doesn't even have remotely anything to do with it? The only link between Saturnalia and Christmas is the timing. And the thing is, this is the effin' winter solstice. It was celebrated BEFORE the Romans were even a wet dream in Romulus' dreams. There are even some proof that Stonehenge was built with the winter solstice in mind - which predates the Romans by a few thousand years. Or is suddenly Stonehenge a sign of inciting genocide against Jews too?
I find this debate slightly pointless - you're not getting what you did wrong, in your own little skewed world, and don't understand why people are attacking you.

if Microsoft had added the Magen David or a Hanukkah candle holder to that list, many of you would have flooded this forum with complaints.

Honestly, no.  It's a nice gesture. It's not an offensive thing, no matter how much you're trying to convince us. In any sane person's mind, a santa hat represents joy, happiness, giving out gifts, and being together with your family. If it represents genocide aimed at you, then it's something wrong with you, and not with the rest of the world.

It's quite ironic to think that VS Code has been developed or maintained by a group of people who may have different religious beliefs to each other,  and something quite mundane as a gear icon with a santa hat blew up into a huge argument! I say just enjoy the week off! It'll be interesting to see what happens at Easter!

I see it as a cool upgrade to this Easter egg forced by a questionable debate.
Should vscode devs revert the Easter egg entirely, or leave it as is now at least during the holidays?
I think the answer is clear.
Do anyone here want vscode devs (you know, people, who put this Easter egg into vscode because at least for them this part of year is connected to celebration) feel bad during their holiday because threads of religion × democracy discussion here on a feature which was modified since then to mitigate a problem?
I think the answer is clear here too.
Try to think what MSFT could do in this divisive situation.
(This, as many other threads will be partially or fully removed I think.)
(You = reader)

If you don't like this new feature please, discuss in a new issue.
If you like this new feature, that's it buddy, you did it, but please discuss on a different medium.
If you feel being unequally treated:

Probably you are celebrating Christmas, then please think, that this was a generous present to people who are not celebrating Christmas.

If you don't celebrate Christmas and/or you don't practice any religion, probably you are the minority here. Please try to accept the majority's traditions, while respectfully telling the community about your own traditions or history related to your problem. Try to discuss nicely how can the community develop solutions to your specific problems. As we can see there are open ears. (This advice is not specific to religion/this problem. In another universe, the thing would be that the layout is optimized for average aspect ratio, but you have a 32:9 monitor.) If the solution is easy / actual vscode developers will address the problem quickly.

If you are hateful, you are probably not in line with the code of conduct (I'm not sure, but you shouldn't be.)

Be nice.
Inclusive design is cool.
Chill, maybe code something.
As @Wagnerp said,
Have a great, peaceful weekend! 😀

I'm referring to this ticket. I find it abhorrent that a company like Microsoft will bow to religious extremists, who, by misrepresenting and twisting out historical facts, claim victimhood over things like a santa hat.
[...]
Sincerely: an atheist

Thank you brother. I wanted to write the same thing.
As an atheist I'm not taking offense in Christmas. I may have some religious roots in the past, but today it is a holiday of being together with your loved ones (and the commercial aspect of gift exchange).
And being honest, it doesn't bother me that some snowflake who is miserable with his life would take offense in a Santa hat. What really grinds my gears though, is how fast M$ bowed to his unreasonable demands. That is a perfect example of what is wrong with the world today. How one miserable individual can spread his own hate and misery to the rest of the world using the shield and sward of "social justice" and employ companies as M$ for his cause. And that is why we can't have nice things any more.

@unstoppable-force  precisely my point. I have no problem with someone voicing their opinion, or said opinion being taken account. I have a problem with rush decision-making without any research - as any sane person minimally versed in history and access to Google/Bing/Yahoo could determine that the article posted by @Christian-Schiffer as the sole argument is full of factual errors, and heavily skewed opinions, not facts. And to make things worse. he further claimed such exaggerated things - and while I do not agree with the people harassing him, and find much of the hate mail he got, the issue he sparked, and stoked, is far from over.

@Christian-Schiffer it's all about being both social and normal as considered by society.
 I'm an atheist, I don't celebrate Christmas and neither does my family, we all celebrate New Year. And Santa (or a local equivalent) has been a symbol for winter festivities for all normal people throughout the last millenium or so, independent of the religion. If it hurts you (which I actually doubt), you are not normal.
But being anormal is totally fine by itself! What you should have done is close the editor and move on with your life. That would have been the normal social choice. Instead you chose to ruin the festive attitude of every developer who saw these threads. After the massive backlash of the community, instead of moving on with your life, you are continuing to ruin the fun. This behavior is antisocial and it clearly indicates that either you really have some psychological problems (in which case, I'm really sorry for you and wish you to disconnect from the internet for a while and get better) or you are outright trolling/attention whoring. In both cases, I think you should stop.

Hey, isn't it configurable in insider settings.json holiday.gearIconStyle?

Yes, indeed now it is, had it been done from the start, I would not have filed the issue.
Just to let you know, before I filed that issue, I did try to find a way to remove it through configuration, I'll add a portion of my search history for your convenience.

You could just roll back the update in case you really can't stand this symbol. What you chose to do instead is deprive thousands of developers of some festive attitude.

I really wonder if @Christian-Schiffer has ever talked about him being offended in the name of all Jewish people with any Jewish person. Or even met any Jewish person in the current year. 🤔

I wouldn't even want to criticise them for being offended.
You can be offended for a myriad of reasons, and they don't need to make sense to other people.

I'm Jewish myself, and I personally do not associate Christmas with the torture Jews were submitted to during the past few millennia.
Christmas nowadays is mostly associated with joy, presents, and sharing positive feelings. I doubt there are many (if any at all) people left, that still celebrate Christmas by torturing people, or even celebrating it for the fact, that that was done in the past.
The analogy the article you linked to pulled, by claiming that it's similar as if we still celebrated Hitler's Birthday is non-sensical. Hitler's birthday would be celebrated for, well, Hitler.
Christmas is being celebrated because Jesus was born - a Jew himself.
And Santa Clause, or even more specifically - Santa's head is not a religious symbol. It's a pagan symbol, the colours wereeven influenced by Coca Cola (iirc.).
Santa never hurt a Jew, he couldn't if he tried since he doesn't exist. And Christmas wasn't celebrated as what your article rightfully points out ever since Santa Clause was a thing.
Again, you're free to dislike it as you please, but expecting a change in something so subliminal, simply because it goes against your own believes is presumptuous, as far as I'm concerned.

I really wonder if @Christian-Schiffer has ever talked about him being offended in the name of all Jewish people with any Jewish person. Or even met any Jewish person in the current year.

Might have. Radicals tend to stick together, exchanging hate and pad each other on the back. And before someone tells me that not all Jewish people are like that, I know, I've never met a person who would take offense in Santa because of the Jewish faith, till now. The thing about internet, that if you look, you will find people who share what you may wanna believe. Flat Earth, Holocaust denials, pray away cancer groups or Santa haters.
Really sad for @Christian-Schiffer . But I'm more dad for the people who work with him, because I feel like this snowflake has a complete meltdown over every and any issue either it affects him out not in his post-factual reality

Slow down there Sherlock. You're making a lot of assumptions based on a few comments you read, quite hurtful ones as well.

Please stop engaging the troll you guys. It's like playing chess with a pigeon.

Santa hat is both religious and cultural symbol. VS Code is software product used by a lot of developers in different countries with different cultures. Including it in VSCode is pushing the Western Christian culture into other cultures. VS Code should be religious and cultural neutral!

Perhaps we can include a bomb for what the wapo would call austere religious scholars like you?

In Russian there's a proverb "a fool taught to pray will break his forehead".

In Russian there's a proverb "a fool taught to pray will break his forehead".

Are you the Russian that pulitzer award winner and esteemed publications like new York times , Washington Post and CNN say single handedly cast enough votes for bad orange man to win the election?

In Russian there's a proverb "a fool taught to pray will break his forehead".

Are you the Russian that pulitzer award winner

for quoting proverbs? Well, why not.

 If you care so much about a Santa hat then just roll back to the update or patch it back in your own branch of VS Code.

Santa hat is both religious and cultural symbol. VS Code is software product used by a lot of developers in different countries with different cultures. Including it in VSCode is pushing the Western Christian culture into other cultures. VS Code should be religious and cultural neutral!

You are completely correct, that is the very reason I filed the issue. At first I was satisfied with their solution switching it out for a snowflake, yet I am very disappointed with Microsoft for partially caving into actual racists and nazis horracements and demands and also for allowing them to flourish here in this forum and bringing that symbol it back in settings without adding religious and cultural symbols from other culture like the Magen David and the Muslim Crescent moon and Star. Very cowardly. Also, they have allowed a regular witch hunt against my person to continue for days in end here in this forum, allowing it to develop into what they have named Santagate.

Please stop engaging the troll you guys. It's like playing chess with a pigeon.

Santa hat is both religious and cultural symbol. VS Code is software product used by a lot of developers in different countries with different cultures. Including it in VSCode is pushing the Western Christian culture into other cultures. VS Code should be religious and cultural neutral!

Perhaps we can include a bomb for what the wapo would call austere religious scholars like you?

Perhaps we should include a santa with a bomb on its head like you people did with Mohammed? Freedom of speech right? Yeah right, as long as you are the only ones getting it.

Santa hat is both religious and cultural symbol. VS Code is software product used by a lot of developers in different countries with different cultures. Including it in VSCode is pushing the Western Christian culture into other cultures. VS Code should be religious and cultural neutral!

You are completely correct, that is the very reason I filed the issue. At first I was satisfied with their solution switching it out for a snowflake, yet I am very disappointed with Microsoft for partially caving into actual racists and nazis horracements and demands and also for allowing them to flourish here in this forum and bringing that symbol it back in settings without adding religious and cultural symbols from other culture like the Magen David and the Muslim Crescent moon and Star. Very cowardly. Also, they have allowed a regular witch hunt against my person and diverse ethnic groups to continue for days in end here in this forum, allowing it to develop into what they have named Santagate.

It literally took less than 24 hours for Microsoft to close down github issues for VSCode due to "santagate". What are you on about with "for days on end"?
Also the reason they didn't add Jewish or Muslim symbols to the settings icon is not because they "caved into actual racists and nazis", but rather because they didn't add any religious symbols period. They added back the santa hat (which isn't a religious symbol) and then added a number of extra options such as snowflake (not a religious symbol), beach (not a religious symbol) and confetti (also not a religious symbol).
If you for whatever reason feel that VSCode need to show a religious symbol during the holidays, then feel free to make a new issue with a big list of all the religious symbols you feel should be included as an option in VSCode Winter Holiday Edition, and I'm sure the devs will add them at some point.

It literally took less than 24 hours for Microsoft to close down github issues for VSCode due to "santagate". What are you on about with "for days on end"?
If you for whatever reason feel that VSCode need to show a religious symbol during the holidays, then feel free to make a new issue with a big list of all the religious symbols you feel should be included as an option in VSCode Winter Holiday Edition, and I'm sure the devs will add them at some point.
24 hours you say? Then why are you still at it, now, is four days later? I am not sure actually, cause your attacks on my person are going on day and night.
As to Santa being a religious symbol, for many it is, for others it may not be, for other again it is a symbol of hate and fear, it most certainly has become a symbol of hate for me the last couple of days.I actually made a few suggestions, for instance a Magen David and a Muslim Crescending moon and star, 25 downvotes and no one dared to vote for, last I counted. That is how much you have intimidated people by your racist homicidal and genocidal rage.
For a time there, I too was inclined to pull away, but it became clear to me, unless I stand tall against your hatred, I am allowing evil to prevail. And then I decided, that I will never do, not till the day I die.  I for one will not go silent into the night.

I am beyond sorry for the hatred and bigotry you experienced. Anti-semitism and racism are still very prominent things in modern society, more so than non-involved people usually know.
However, not distinguishing between racists and people who just criticise (even if they could do so more politely) your position, is a dangerous endavour and one that I do not support.
Again, I'm terribly sorry for the harrassment directed at you. Bear in mind though, that a lot of those people are most likely very young, and just think it is "funny".
I don't want to go in the greater debate regarding the issue at hand here, but anonymity mixed with people who aren't yet empethatic enough to comprehend how much they can hurt a person results in harrassment like the one you're facing. Stay strong regarding that, but accept that the community has largely deemed the santa hat as neutral, and that it being optional is probably the best solution for both parties.
Regarding the menorah and the muslim crescent - those are a lot stronger religious symbols, and worst of all - it's hard to design the settings-gear with either of them, so I wouldn't be surprised if they were met with more backlash - if just because they are a stronger message than a santa hat.

24 hours you say? Then why are you still at it, now, is four days later? I am not sure actually, cause your attacks on my person are going on day and night.

@Christian-Schiffer I did not open this ticket as a personal attack on you. I opened it because I felt that both your complaint, and how it was handled, was out of order for a company like Microsoft, and rightfully felt threatened by similar religious zealots launching attacks in the future not just on cosmetic changes, but features as well - which is something unacceptable. I also opened the ticket because Microsoft took a "discussion closed" stance, which is clearly not the case.
You also accuse people who oppose your opinion, of being Nazis. I hope you realise that doing so in a public forum, especially in such baseless situations, can be considered as defamation. As I have made absolutely NO point that would indicate me as a Nazi, this is your final warning - continue this, and the next email you'll be receiving won't be a bunch of Santa hats and "merry Christmas", but either one from my lawyer, or a court summon. Labeling people Nazis just because they disagree with you is NOT OKAY. Labeling an international, non-religious figure as Nazi is also not okay. Comparing the santa hat to a swastika is definitely NOT OKAY. Hope you finally understand this.
And while I disagree with your point, and the way you presented it, I also disagree with the people who have threatened you, or sent distasteful/hateful emails that are clearly visible in your new profile picture. Please note that I never encouraged it, nor did I partake in this. My point with this post did not aim to discredit the Jewish religion, it was not against Jews, it was against the perceived religious extremism you presented with your demand and false equivalence.  However you, even after realising WHY the attacks were going on, decided to double down on the manner and behaviour instead of trying to find common ground. This is not "preventing evil from prevailing", this is, as I stated before, religious zealotry - something that has no place in the open software world. The moment religion dictates software (either pro or contra), it loses its open and free nature, which is the only evil that can happen here.

And in a world where a religious zealot (or troll) can dictate, alone, what's offensive and what isn't, I do not care to partake, however I will fight till the end to preserve the religion-free state of software.

As to Santa being a religious symbol, for many it is, for others it may not be, for other again it is a symbol of hate and fear, it most certainly has become a symbol of hate for me the last couple of days.

Except Santa, I repeat again, is NOT a religious symbol. How many times do I have to go over this? Santa is not part of any Christian scripture, the Bible, or any teachings. It is an amalgamation of various legendary figures, such as Odin, St. Nicholas (who was indeed a Christian bishop, though that's not the significant part of him that got included in the final image), Father Christmas (again, not a Christian entity, but a local folclore), and a bunch of other similar characters from Germanic, Dutch, and even Anglican folclore. It's religious significance is so little that while Vatican accepted it as part of the culture, it was never made part of Christianity.
And let me remind you that the decision if something is a religious icon or not is not up to you, who do not even practice said religion - just because you claim it to be, it doesn't suddenly magically become so. I could claim that hummus is a Jewish religious symbol, and that it offends me, and I want it removed from all western restaurants. This claim is just as sane as yours - i.e. not at all.

As to Santa being a religious symbol, for many it is, for others it may not be, for other again it is a symbol of hate and fear, it most certainly has become a symbol of hate for me the last couple of days.I actually made a few suggestions, for instance a Magen David and a Muslim Crescending moon and star, 25 downvotes and no one dared to vote for, last I counted. That is how much you have intimidated people by your racist homicidal and genocidal rage.

Have you considered for a moment that the reason your suggestions were so heavily downvoted was not because people were "too intimidated by the homicidal and genocidal racists" to vote positively, but rather, that they objectively thought that your suggestions were not very good?
Or do you mean to say that it's racist or antisemetic to disagree with your personal opinions and ideas?

Just to clarify a point here, since we've so far we had a passive stance on it, but I believe that the vast majority of us don't only disagree with the hatred you've been subjected to, but also condemn it to the utmost extend.
The behaviour presented by what you show in your profile picture (although hard to read, I am able to make out most headlines) is completely unacceptable and shouldn't be part of this nor any other community.

Just to clarify a point here, since we've so far we had a passive stance on it, but I believe that the vast majority of us don't only disagree with the hatred you've been subjected to, but also condemn it to the utmost extend.
The behaviour presented by what you show in your profile picture (although hard to read, I am able to make out most headlines) is completely unacceptable and shouldn't be part of this nor any other community.

What profile picture are you referring to? It it this one here, where I had to take down my own image since it is being spread all over the internet? See that particular picture is a screenshot of the very hate messages I received from some of the users here. So, Yes, I most certainly agree that that their messages are completely unacceptable. If that is what you refer to I wonder what this is about?  Silent Night? Is that it?

Good grief. You won. you single handedly capsized this project, and it's still not enough? Everyone's comment who isn't 100% pro is being deleted. There could be no greater victory. I envy you troll-level.

Good grief. You won. you single handedly capsized this project, and it's still not enough? Everyone's comment who isn't 100% pro is being deleted. There could be no greater victory. I envy you troll-level.

I do not see this as a victory at all, I find this devastating, it has been horrible for me, I barely got sleep at all these last couple of days. I had never expected such a thing. especially not here. I have gained so much more respect these day for Jews and other groups being persecuted in this way their whole lives. Unbelievable. And now you ask me to feel sorry that those attacking me and whole protected group with oftentimes nothing less than homicidal and genocidal rage? Do I understand you correctly? Are they the victims now?
I must say though, as @Folling said, such things do not belong in any community, let alone this one. So we should all see it as a good thing that those kind of people now no longer have a place among us.

I hope we now all can put this behind us an have happy holidays those of us who have them and put an end to it here. I hope we can all agree on that at least.
Happy Holidays, whatever your holiday may be and those who do not celebrate anything these day, I wish you happy coding.

Meanwhile "Christian originated as a Baptismal name used by persons of the Christian religion".
Another Russian proverb is saying smth that can be translated as "a thief's hat is burning on him".
Jokes aside we should conclude that religions have had deep and rather powerful impact on human history and trying to cut out of our history everything that only ever had any relation to them isn't possible only but is irrational also. We've all have already seen irrational pushing out terms "master-slave" because some people think that slavery is bad. Of course slavery is bad, but using a database instance as "slave" doesn't mean there's human-slave (we call'em DBAs) linked to keyboard.

Christian with respect it's just a Santa Hat... A figure prominent in pop culture representing no more then the spirit of the holiday season and all that comes with it.
Best Wishes

Santa hat has nothing to do with religion in the modern society, which was discussed in so may posts above, and it's only @Christian-Schiffer who is simply, either too stubborn or mentally incapable, of understanding such. And to his argument about Star of David or Moon and Star, those are equal to the Christian Crucifix. Know the religions you try to attack.
But I'm not surprised at all at his ignorance, since he claims also victimhood based on his race as well.

I started reading this thread as it sounded interesting, and might give some insight on why the santa hat was removed as fast as it was. But very quickly I noticed that this thread had moved away from this topic and is just arguing against @Christian-Schiffer (whose account is now deleted anyway). It seems that y'all are attacking this guy because he has a different opinion to yourself, which is not going to get anywhere, as everyone has different opinions.
The true issue we should be highlighting here is how Microsoft dealt with this.

@Christian-Schiffer we're sorry we hurt your and other's feelings. We'll remove the Santa Hat.

I started reading this thread as it sounded interesting, and might give some insight on why the santa hat was removed as fast as it was. But very quickly I noticed that this thread had moved away from this topic and is just arguing against @Christian-Schiffer (whose account is now deleted anyway). It seems that y'all are attacking this guy because he has a different opinion to yourself, which is not going to get anywhere, as everyone has different opinions.
The true issue we should be highlighting here is how Microsoft dealt with this.
i.e. when @kieferrm very promptly said

@Christian-Schiffer we're sorry we hurt your and other's feelings. We'll remove the Santa Hat.

This seems like the wrong approach by Microsoft. And it would be nice to get a reason / get the change rolled back for why this happened in the first place.
It shouldn't be up to the community to deal with this, especially not in the way that you guys have. I feel ashamed of the Typescript community in acting in such a way. It's clear that this guy is trolling or does actually have this opinion on stuff.
If possible i would like it if @fonix232 or a Microsoft employee would close this thread as it has just been causing problems rather than treating the actual issue of why this change was made in the first place.

It seems Mr Schiffer has elected to terminate his presence on GitHub.
Go with Santa, Christian.

Go with Santa, Christian.

Interestingly, is Christian Schiffer offended with his own name for the reason that it's religious? And if yes, why he didn't change it?

Go with Santa, Christian.

Interestingly, is Christian Schiffer offended with his own name for the reason that it's religious? And if yes, why he didn't change it?

Yep, like Vikerness did :)

Iam quite sad Microsoft agreed with the removal of the Santa hat from vscode. It was quite obvious this was a troll attempt when you read the original issue.
The funny thing is Santa has nothing to do with religion. Maybe Microsoft should give their employees some history lessons.

Thanks for the feedback. There are many points raised in here, some of which we try to address in our latest update in https://github.com/microsoft/vscode/issues/87440#issue-540437717.
As mentioned above, per the original request we added a configuration for the gear. Because of this we are closing the issue, but we will continue to listen to the discussion here.

Atheist here.
I hope everybody had a happy Christmas.


Making the drush command visible to drush pmpi

If you use now the command drush pmpi boilerplate you will see your drush command in the output.

I tested the other patch while the boilerplate.drush.inc file was within the /boilerplate directory and it worked fine.
Can you explain please how is this different than the other patch, and why the file needs to be moved?

If you merge the other patch and you use the command:
drush pmpi boilerplate
You will see this:
Name             :  Boilerplate (boilerplate)
 Type             :  module
 Version          :  7.x-1.0
 Status           :  1
 Extensions       :  boilerplate
 Path             :  sites/all/modules/drupal7-boilerplate

you can see now the project information, but not the define drush command inside the project, so you need to move your boilerplate.drush.inc file to the project document root to see this:
Name             :  Boilerplate (boilerplate)
 Type             :  module
 Version          :  7.x-1.0
 Status           :  1
 Extensions       :  boilerplate
 Drush Commands   :  boilerplate-hello
 Path             :  sites/all/modules/drupal7-boilerplate

Now you can see the Drush Commands

Understood, thanks for clarifying and providing the patch :)


Group Dependabot PRs for dependency upgrades

By default, Dependabot raises a single pull request for each dependency that needs to be updated to a newer version, these PRs can become quite noisy as we have a lot of packages in our repos which have a variety of dependencies. In an effort to reduce this noise we can explore grouping to group Dependabot version updates and Dependabot security updates.

We may want to resolve https://github.com/FuelLabs/fuels-ts/issues/2673 before introducing this since the dependabot intervals will be temporarily adjusted for that PR.


feat: add support for TES v1.1.0

Fixes #11.
Added TES v1.1.0 pydantic model

This looks really good @LakiG! Any other updates needed before @uniqueg completes a review?

Very sorry for my very late review, been too busy! 🙈
However, this was the last issue in my backlog, so next ones will be much faster!

No problem, thank you Alex for reviewing.
I have added parameterization, its quite helpful. I also did basic cleanup/refactoring, though it can be further improved.

Sure. I have also reviewed it multiple times now. I think it should work.
Merging this.


olm_sas_generate_bytes doesn't fail if their key is not set

Describe the bug
It's possible to call olm_sas_generate_bytes via the JS wrapper without an error without setting the other public key
To Reproduce
var alice = new Olm.SAS();
undefined
alice.generate_bytes('SAS', 5);
Uint8Array(5) [208, 166, 111, 167, 184]

Expected behavior
Probably an error to be thrown.
Additional context
The Python implementation safeguards this, and an exception is thrown. In addition, having a way to know if the key was set or not might be desirable. The Python implementation does have this, too.
I'd be happy to work on a patch if we agree on a way forward.

At least to me this sounds like a very good idea, well I implemented the Python side so no surprise there.
It can also be added without breaking compatibility so I don't think there are any downsides to this.
But let's wait for @uhoreg to see what he thinks.

That sounds like a good idea.  It probably makes sense to implement this on the C side so that it's consistent across all the bindings.
I'm planning on making a release of olm soon.  If you can get it done quickly, go ahead.  Otherwise, I can fix it.
I think we can either add an extra field to the OlmSAS struct that indicates whether the key is set, or else initialize the secret field to all 0s, and throw an error if you try to generate bytes when secret is 0.

I'll see if I can get it done today.

Here you go! https://gist.github.com/saghul/82c18657f92d24f7d59ee7c245c7f30c
Tests seem to be happy:
$ npm run test

><EMAIL_ADDRESS>test /Users/saghul/work/jitsi/olm/javascript
> jasmine-node test --verbose --junitreport --captureExceptions

creating junit xml report save path: ./reports/
têst1 -> { plaintext: 'têst1', message_index: 0 }
hot beverage: ☕ -> { plaintext: 'hot beverage: ☕', message_index: 1 }
☕ -> { plaintext: '☕', message_index: 2 }
têst1 -> têst1
hot beverage: ☕ -> hot beverage: ☕
têst1 -> têst1
hot beverage: ☕ -> hot beverage: ☕
têst1 -> têst1

megolm - 30 ms
    should encrypt and decrypt - 28 ms

olm - 21 ms
    should encrypt and decrypt - 21 ms

pk - 53 ms
    should import & export keys from private parts - 14 ms
    should encrypt and decrypt - 14 ms
    should pickle and unpickle - 14 ms
    should sign and verify - 11 ms

sas - 40 ms
    should create matching SAS bytes - 14 ms
    should create matching MACs - 14 ms
    should fail to generate bytes if their key is not set - 12 ms

Finished in 0.147 seconds
9 tests, 23 assertions, 0 failures, 0 skipped

Thanks for the patch.  I've merged it now.
@poljar I guess the checks in the Python SDK can be removed now that it's done at the C level.  Is it fine to just remove the @other_pubkey_set annotations (and the other_pubkey_set function)?

Cheers!

This was fixed but I forgot to close it


[ISSUE #7592] testCleanBuffer unit test modifies, changed non-direct …

…to direct buffer allocation

Which Issue(s) This PR Fixes

Fixes #7592
Brief Description
testCleanBuffer unit test modified, changed non-direct to direct buffer allocation

How Did You Test This Change?
using mvn test

good catch

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a194e1e) 43.20% compared to head (a2e6706) 43.22%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7593      +/-   ##
=============================================
+ Coverage      43.20%   43.22%   +0.01%
- Complexity      9785     9790       +5
=============================================
  Files           1162     1162
  Lines          84376    84378       +2
  Branches       10954    10955       +1
=============================================
+ Hits           36457    36469      +12
+ Misses         43394    43384      -10
  Partials        4525     4525

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create a new branch for this commit and start a pull request

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

0 out of 2 committers have signed the CLA.

[ ] RDapps
[ ] RichardDrury

Have you signed the CLA already but the status is still pending? Recheck it.

wrong


Without move_to, What's the best pattern to transfer assets to other people? earmark?

Without move_to, you are unable to send an asset to someone unless she has the asset.
you can only modify other people's assets, you can't create the assets.
This pattern is totally different from what etherum ERC20 does.
What's the best pattern to transfer assets to other people?
Just use the earmark pattern in the example?
What's the guide line?

The pattern suggested in the Earmark example is one way. This discourse post suggests a technique for fungible assets, which I'll partially quote here:
module CustomCoin {
  resource T { value: u64 }

  public zero(): R#Self.T {
    return T { value: 0 };
  }

  // anyone can publish a coin with value zero
  public publish() {
    let zero_coin: R#Self.T;

    zero_coin = Self.zero();
    move_to_sender<T>(move(zero_coin));

    return;
  }

  public deposit(coin: R#Self.T, recipient: address) {
    // do BorrowGlobal<T>(move(recipient)), call logic for merging T's
  }

  // ... remainder of the logic for the custom coin, including splitting/merging T's
}


B450M PRO-VDH Plus flashing colors

When I select a solid color, the strip goes white for 6 seconds, then the color I selected for 1. If I try to do breathing or flashing the effect works, but the colors still change.

Never mind, misinterpreted the way this software works. My bad. :|


controllers: Add namespace as list option while listing resources

To prevent listing of clusterwide resources unnecessarily, A list
option with the operator namespace as the desired namespace is added
to the places where we are trying to list any resources.
We are trying to fix this BZ https://bugzilla.redhat.com/show_bug.cgi?id=2092737
Although we haven't been able to find any root cause due to the inability to reproduce the issue, We suspect the listing of unnecessary cluster-wide resources might be one of the causes. So fixing that.

1. The change has been applied to all the occurrences
controllers/subscriptions.go:45: Change has been applied
controllers/subscriptions.go:115: Change has been applied
controllers/subscriptions.go:190: Namespace is already specified
controllers/storagecluster_controller.go:74: Namespace is already specified
controllers/subscription_controller.go:84: Change has been applied
controllers/delete.go:70: Change has been applied

Shouldn't the operator namespace be the same as storage system namespace?

/test odf-operator-bundle-e2e-aws

/retest-required


Vc/new containers

Description
Make sure the PR is against the main branch (see Contributing).
Make sure to set the corresponding milestone in the PR.
Please include a summary of the change(s) and which issue(s) it addresses. Please also include relevant motivation and context.
Fixes #34
Type of change
Select the relevant option(s):

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works (optional)
[ ] New and existing unit tests pass locally with my changes

Approving my own code.


Download to mod storage Post (FAF)

I took as a basis the mod Total Mayhem ( removed it unbalanced units) replaced the HP and the time of construction of turrets.
Now I want to upload a mod in Faf to play with friends.
I changed the name of the mod to Tutal Mayhem
But at the same time I'm in the Authors of fashion pointed out the one who created Total Mayhem.
But the problem.
when I try to upload the mod comes out error 401
More on the screenshot.

I updated faf myself today.
How to fix ?
text.txt

Новый текстовый документ.txt

the whole mod

Closed due to inactivety


when using the esp in examples, nothing happens

when i execute the esp in examples, nothing happens and idk why. yesterday it worked just fine

ok


docs: fix forceObject to true to enforce objects

The documentation for 6.x says forceObject should be false if you want to enforce objects. This is wrong, it should be true.

The next docs are the ones in docs/docs, I assume. Done!


Changed handling of size == 0 in scalable_aligned_malloc

I modified scalable_aligned_malloc to be consistent with scalable_malloc and allocate sizeof(size_t) bytes when the requested size is 0. The same can obviously be achieved in the calling code, but I thought it might be a good idea to have both functions behave the same.

The main idea why scalable_malloc and scalable_aligned_malloc have different behavior is the compatibility with malloc and _aligned_malloc behavior:
MSDN malloc states: "... If size is 0, malloc allocates a zero-length item in the heap and returns a valid pointer to that item. ..."
MSDN _aligned_malloc states: "... If alignment is not a power of 2 or size is zero, ... ,  this function returns NULL and sets errno to EINVAL."

OK, fair enough.
The whole thing started with a quick emergency change that I had to make in our code to always use scalable_aligned_malloc on Mac. We override the new operator and macOS started requiring new to return memory aligned to at least alignof(std::max_align_t) which is 16 on 64-bit macOS. scalable_malloc doesn't meet this requirement, so I switched to scalable_aligned_malloc.
And yes, I do realize that having future versions of tbbmalloc return memory aligned to 16 bytes from scalable_malloc would be the best and preferred, so maybe I should request that somewhere?
Anyway, if you think compatibility with Microsoft's mallocs is more important than consistency between these two functions, I understand. It was worth a try. Thanks for your time!

You are welcome. Personally, I agree with you that the inconsistency between malloc and scalable_malloc looks strange. However, many existing codes rely on implementation behavior of particular functions. In some cases, it is easier to have implementation behavior compatibility than change the legacy codes. Another curious example is that safer_aligned_malloc accepts zero alignment.
As far as I know, since Intel TBB 2017, the memory allocator on 64-bit platforms aligns memory to 16 bytes by default for all allocations bigger than 8 bytes.
If you want to request functionality, report a bug or discuss a problem, feel free to use the issues page or the forum. If your have a private/confidential question or problem, you can e-mail us.


Feature request: set order of resolvers instead using the fastest

Hello, I'm new to this great looking software and I want to start using it, but...
I don't like automation anywhere.
As far as I know I can set an online source for usable resolvers or I can set a list (called 'static') in the config file and dnscrypt-proxy v2 will ping each of the items on my list and use the fastest one automatically.
Can we have a simple feature where this behavior can be turned off and the user can set the order of resolvers to be used?
So for example I set resolver_1 as 1st on my list, resolver_2 as 2nd etc. and dnscrypt-proxy v2 will use the first one only and if that doesn't respond it will change to the second one, but only when the 1st is offline or unresponsive and it won't ping or try any other resolvers just the ones I set and only in the set order and only when the actual one doesn't respond.
Thank you for everyone who contributes in any way in developing this software!

I'd prefer this feature too~

Sorry, I don't know how this works...I saw you closed this issue and added "timeout" label to it.
What do you mean by this?
It was open a for weeks, I thought you will consider this feature, but now you closed it.
Can you explain please?
I'm not a programmer, also I'm new to Github, I don't know how things work around here.

@dntndnm There has been zero progress on this for 30 days, because nobody showed interest in implementing this.
After 30 days, ticket are closed but get a "timeout" label. So a query can be used later to look at all the tickets that are good ideas, but are not high priority and that no one was interested in implementing by the time they were posted.


Command: git remote set-url gives me problems as documented?

Command: git remote set-url gives me problems as documented, see https://docs.github.com/en/free-pro-team@latest/github/using-git/changing-a-remotes-url
Steps to reproduce the behavior:

Run git remote set-url origin git@github.com:USERNAME/REPOSITORY.git on my repo
Run git pull
I get an error like:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
Instead run git remote set-url origin git@github.com:/REPOSITORY.git (minus the username)
Run git pull - no error and the repo pulls

Do you need to correct the documentation for the command?
Or am I missing something?

Thanks @michaelbowler! Someone will take a look.

Thanks @michaelbowler! Someone will take a look.

@michaelbowler: you don't have ssh configured for github -- see https://github.com/michaelbowler.keys
These pages are what you need:
https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh
https://docs.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account
If I don't have a ~/.ssh/ directory configured, this is what I see:
% git ls-remote git@github.com:github/docs.git
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

When I have ~/.ssh/config + ~/.ssh/id_rsa and https://github.com/jsoref.keys, the above command works properly. And I can run:
% ssh github.com
Hi jsoref! You've successfully authenticated, but GitHub does not provide shell access.

Thanks so much @jsoref! Looks like this is resolved, let us know if you see any documentation update needs!

Hi Josh, Thanks for he update, but I'm still struggling with this.My enterprise account (michaelb not michaelbowler) is configured for github.so, https://github.com/michaelb.keys works and I can see my ssh key...I also have a ~/.ssh/ directory and can see my id_rsa and id_rsa.pub just fine.I have re-added said rsa key to my github, see: But when I run % ssh github.com, I getAzureAD+MICHAELBOWLER@LAPTOP-DSJBBHS9 MINGW64 ~ (master)$ ssh<EMAIL_ADDRESS>Permission denied (publickey).I think there is some internal mismatch in github between "michaelb" and "MICHAELBOWLER" - what do you think?RgdsMICHAEL BOWLERInformation designerPhone: 353-1-815-2130E-mail<EMAIL_ADDRESS>Soref<EMAIL_ADDRESS>wrote: -----To: github/docs<EMAIL_ADDRESS>Josh Soref<EMAIL_ADDRESS>02/18/2021 05:16AMCc: Michael Bowler<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>[EXTERNAL] Re: [github/docs] Command: git remote set-url gives me problems as documented? (#2831)@michaelbowler: you don't have ssh configured for github -- see https://github.com/michaelbowler.keysThese pages are what you need:https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-sshhttps://docs.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-accountIf I don't have a ~/.ssh/ directory configured, this is what I see:% git ls-remote git@github.com:github/docs.gitThe authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.Are you sure you want to continue connecting (yes/no/[fingerprint])? yesWarning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known<EMAIL_ADDRESS>Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.When I have ~/.ssh/config + ~/.ssh/id_rsa and https://github.com/jsoref.keys, the above command works properly. And I can run:% ssh github.comHi jsoref! You've successfully authenticated, but GitHub does not provide shell access.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

you need to set your thing to ssh as git not your username.
ssh<EMAIL_ADDRESS>
should work.
And thus, you should be able to do a git clone via ssh.
fwiw, I have this in ~/.ssh/config:
host github.com
RequestTTY no
user git

Which lets me ssh github.com instead of having to type ssh<EMAIL_ADDRESS>

Thanks Josh,I still get $ ssh git<EMAIL_ADDRESS>Permission denied (publickey).I already have a config file containing:Host github.ibm.comUser<EMAIL_ADDRESS>~/.ssh/id_rsaThink changing 2nd line to user gitmight help...MICHAEL BOWLERInformation designerPhone: 353-1-815-2130E-mail<EMAIL_ADDRESS>Soref<EMAIL_ADDRESS>wrote: -----To: github/docs<EMAIL_ADDRESS>Josh Soref<EMAIL_ADDRESS>03/01/2021 09:57AMCc: Michael Bowler<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>[EXTERNAL] Re: [github/docs] Command: git remote set-url gives me problems as documented? (#2831)
you need to set your thing to ssh as git not your username.ssh<EMAIL_ADDRESS>work.And thus, you should be able to do a git clone via ssh.fwiw, I have this in ~/.ssh/config:host github.comRequestTTY nouser gitWhich lets me ssh github.com instead of having to type ssh<EMAIL_ADDRESS>—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

pon., 1 mar 2021 o 02:15 Michael Bowler<EMAIL_ADDRESS>napisał(a):

Thanks Josh,I still get $ ssh git<EMAIL_ADDRESS>Permission
denied (publickey).I already have a config file containing:Host
github.ibm.comUser<EMAIL_ADDRESS>~/.ssh/id_rsaThink
changing 2nd line to user gitmight help...MICHAEL BOWLERInformation
designerPhone: 353-1-815-2130E-mail<EMAIL_ADDRESS>Soref <
<EMAIL_ADDRESS>wrote: -----To: github/docs <
<EMAIL_ADDRESS>Josh Soref<EMAIL_ADDRESS>03/01/2021 09:57AMCc: Michael Bowler<EMAIL_ADDRESS>Mention <
<EMAIL_ADDRESS>[EXTERNAL] Re: [github/docs] Command:
git remote set-url gives me problems as documented? (#2831)
you need to set your thing to ssh as git not your username.ssh
<EMAIL_ADDRESS>work.And thus, you should be able to do a git clone
via ssh.fwiw, I have this in ~/.ssh/config:host github.comRequestTTY nouser
gitWhich lets me ssh github.com instead of having to type ssh
<EMAIL_ADDRESS>—You are receiving this because you were mentioned.Reply to this email
directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/2831#issuecomment-787830155, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AS5KRWLBE26OUKKJLDLYD33TBNSL7ANCNFSM4V7XXQBA
.


Adds Frontier Mappings

Description
Concise description of proposed changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

@tmm can you please check this now ?


new v-slot syntax not working with lazy loaded components inside slot template

Version
2.6.2
Reproduction link
https://codepen.io/anon/pen/ZwXRKJ
Steps to reproduce
Since 2.6.x when using the new v-slot syntax the following will not work:
<template #header>
  <my-component></my-component>
</template>

When the component is imported "lazy" like this:
components: {
  MyComponent: () => import('./MyComponent'),
},

This worked with the old slot syntax.
Now just nothing is shown. Only if the dom is refreshed (e.g. by some display toggle) the component is shown afterwards. But not on the first load.
Another workaround is not to use lazy imports and directly import the component.
What is expected?
v-slots should work with lazy loaded components like it did with the old slot syntax.
What is actually happening?
It is not shown (until the dom is reloaded)

Unfortunately I could not reproduce this async issue with codepen.
It took me quite a while to figure out it is the lazy import which causes my page is not working correctly anymore after updating to 2.6.2.

might be related to: https://github.com/vuejs/vue/issues/9432

Duplicate of #9432. Fixed in dev by b9de23b


Allow long quantifier identifiers

When generating a verification condition, Boogie automatically gives ":qid"s to quantifiers based on their position in the source files. These names are especially helpful when profiling quantifier instantiation performance. However, Boogie previously limited the filename to the first 8 characters, which sometimes made it difficult to tell which exact file was being referenced. This PR removes this upper limit.
I am open to discussion on the approach, because I didn't really understand the comments in the code. It says the filenames were limited in length "so the SX file doesn't grow too big". I'm not sure what SX means, but assuming it means the .smt2 file, this doesn't seem like a big issue to me. If people feel otherwise, we could make it a configurable option, but I kind of feel like that's overkill for this feature.

/cc: @utaal @jonhnet

.sx was the file extension for Simplify, the original SMT solver and the first backend for Boogie.

You could also delete the mysterious comment "Rustan's claim!".

done

Does git show you the option to merge the PR?  If so, you can merge it yourself.  If not, I can do the merge for you.

No, I don't have commit privileges to Boogie. Please go ahead and merge it. Thanks!


CUDA SETUP: Something unexpected happened. Please compile from source:

Getting the following error:
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 7.5
CUDA SETUP: Detected CUDA version 116
CUDA SETUP: Loading binary /opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg/bitsandbytes/libbitsandbytes_cuda116.so...
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 7.5
CUDA SETUP: Detected CUDA version 116
CUDA SETUP: Loading binary /opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg/bitsandbytes/libbitsandbytes_cuda116.so...
CUDA SETUP: Something unexpected happened. Please compile from source:
git clone git@github.com:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=116 make cuda11x
python setup.py install
Traceback (most recent call last):
  File "train_dreambooth.py", line 811, in <module>
    main(args)
  File "train_dreambooth.py", line 528, in main
    import bitsandbytes as bnb
  File "/opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg/bitsandbytes/__init__.py", line 6, in <module>
    from .autograd._functions import (
  File "/opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg/bitsandbytes/autograd/_functions.py", line 5, in <module>
    import bitsandbytes.functional as F
  File "/opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg/bitsandbytes/functional.py", line 13, in <module>
    from .cextension import COMPILED_WITH_CUDA, lib
  File "/opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg/bitsandbytes/cextension.py", line 121, in <module>
    https://github.com/TimDettmers/bitsandbytes/issues''')
RuntimeError:
        CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs aboveto fix your environment!
        If you cannot find any issues and suspect a bug, please open an issue with detals about your environment:
        https://github.com/TimDettmers/bitsandbytes/issues

I already installed from source by running:
git clone git@github.com:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=116 make cuda11x
python setup.py install

But I keep getting the same error (and suggestion).
I am wondering if my installation from source went ok, because I do get a SyntaxError when installing from source:
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/__main__.py to __main__.cpython-37.pyc
  File "<fstring>", line 1
    (COMPILED_WITH_CUDA = )
                        ^
SyntaxError: invalid syntax

byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/optimizer.py to optimizer.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/lamb.py to lamb.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/adamw.py to adamw.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/adagrad.py to adagrad.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/lars.py to lars.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/sgd.py to sgd.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/adam.py to adam.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/rmsprop.py to rmsprop.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/utils.py to utils.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/nn/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/nn/modules.py to modules.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/autograd/_functions.py to _functions.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/autograd/__init__.py to __init__.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
bitsandbytes.__pycache__.cextension.cpython-37: module references __file__
creating 'dist/bitsandbytes-0.35.4-py3.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing bitsandbytes-0.35.4-py3.7.egg
removing '/opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg' (and everything under it)
creating /opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg
Extracting bitsandbytes-0.35.4-py3.7.egg to /opt/conda/envs/dreambooth/lib/python3.7/site-packages
  File "<fstring>", line 1
    (COMPILED_WITH_CUDA = )
                        ^
SyntaxError: invalid syntax

bitsandbytes 0.35.4 is already the active version in easy-install.pth
Installing debug_cuda script to /opt/conda/envs/dreambooth/bin

Installed /opt/conda/envs/dreambooth/lib/python3.7/site-packages/bitsandbytes-0.35.4-py3.7.egg
Processing dependencies for bitsandbytes==0.35.4
Finished processing dependencies for bitsandbytes==0.35.4

got the same error as well

When compiling from source, you're encountering an error on:
https://github.com/TimDettmers/bitsandbytes/blob/08fa2e7b01dda8959a930295de9829516f8c77bc/bitsandbytes/__main__.py#L48
The reason for your SyntaxError is that this use of = in f-strings were only introduced in Python 3.8.
But you are using Python 3.7, as indicated by your path (/opt/conda/envs/dreambooth/lib/python3.7).
Upgrading to Python 3.8 would fix this issue, but I believe that bitsandbytes ought to support Python 3.7 as well for the time being. That said, the Python 3.7 end of life is in only 7 months, so I understand that it doesn't have the highest priority to push for Python 3.7 support again.
bitsandbytes never mentions a supported Python version, but I believe that Hugging Face's transformers is still on Python 3.6+, and it relies on bitsandbytes for some functionality. So, I believe the line should be changed to work for Python 3.7, but I'm unsure if there are more cases of syntax that would prevent it from working for Python 3.7.
Perhaps I can make a PR to add (reintroduce?) Python 3.7 support in the coming week or two, if @TimDettmers would like.

@tomaarsen i think its only important to document this better. Compatibility issues are fine, but when errors messages and vague and docs are non-existent days can be wasted :)

Got the same error on Python 3.9 (not the syntax error from the f-string but the CUDA setup failed).
Fixed the error by adding
export LD_LIBRARY_PATH=/usr/local/cuda/lib64/:$LD_LIBRARY_PATH

To my .bashrc

Congratulations on finding a solution to your problem, I had the same problem as you.
But sorry I'm a computer noob, I'd appreciate it if you could explain a little more detail.Thank you! @jpiabrantes

@RiceCat7487 has you can see in the error above:
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so

bitsandbytes try to look for my CUDA files in the wrong place and then finds them on /usr/local/cuda/lib64.
You can tell it from the start to look at the right place by opening a terminal and writing
export LD_LIBRARY_PATH=/usr/local/cuda/lib64/:$LD_LIBRARY_PATH

However, if you want to do this automatically every time a new terminal is open you write this line on a file called .bashrc that stays in your home folder (assuming you are using linux).

Thank you @jpiabrantes ,Thanks for your help, the problem was solved ：）

@tomaarsen Thanks for being on this so quickly! Looking at the PyPi statistics, it seems that about 4% of installs are Python 3.7. I think at this point it is better to prioritize other issues. I will update the README to reflect the Python >=3.8 requirement.

Works for me!

@RiceCat7487 has you can see in the error above:
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so

bitsandbytes try to look for my CUDA files in the wrong place and then finds them on /usr/local/cuda/lib64.
You can tell it from the start to look at the right place by opening a terminal and writing
export LD_LIBRARY_PATH=/usr/local/cuda/lib64/:$LD_LIBRARY_PATH

However, if you want to do this automatically every time a new terminal is open you write this line on a file called .bashrc that stays in your home folder (assuming you are using linux).

what if i use windows? it doesn't work

Windows is not supported by bitsandbytes at the moment. See the Requirements section of the README:

The bitsandbytes library is currently only supported on Linux distributions. Windows is not supported at the moment.

Bitsandbytes was not supported windows before, but my method can support windows.（yuhuang）
1  open folder J:\StableDiffusion\sdwebui，Click the address bar of the folder and enter CMD
or WIN+R, CMD  。enter，cd /d J:\StableDiffusion\sdwebui
2  J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes
3 J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes-windows
4 J:\StableDiffusion\sdwebui\py310\python.exe -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl
Replace your SD venv directory file（python.exe Folder） here（J:\StableDiffusion\sdwebui\py310）


Switch from lazy_static to once_cell

With tokio having switched from lazy_static to once_cell in 0.3, the dependencies on lazy_static are going way down in many of my projects. It would be nice to get rid of it completely in favor of once_cell. Would you be open to a PR?

 As discussed in https://github.com/tokio-rs/tokio/pull/3187, there are several benefits.
However, I'm not sure how this interacts with loom PR (#487).
cc @jonhoo: Do you think loom can provide API like once_cell's Lazy?

Hmm, I think loom probably could, though it doesn't have such an API today. I think you best bet would be asking over in the tokio Discord in the #loom channel :)

Since lazy_static has increased the MSRV to 1.40, I will do this without waiting for support on the loom side.

May be valuable to open a bug on the loom side to track that this is a desired feature :)

filed https://github.com/tokio-rs/loom/issues/263

Any chance we can get new releases of crossbeam-epoch and crossbeam-utils with this?

Published in crossbeam-epoch 0.9.9 and crossbeam-utils 0.8.9.