Really weird error that i can't think of a proper issue title

Codepen
https://codepen.io/jimfilippou-the-animator/pen/yRKxLM
Explanation

What is the behavior you expect?
The chart to be rendered.

What is happening instead?
The chart is not rendered

What error message are you getting?
TypeError: a.globals.seriesNames[v].replace is not a function

I don't know where the error is happening since I'm using a minified version. This error fix is urgent since it breaks the chart (not a minor issue). Thanks in advance 😃

You are inputting a numeric value for series name 😀
Although, I have added a check now - you should pass a String there.

Fixed on my end as well!


Segfaults due to JSON stream writer not being thread safe

Changed to using a single JSON stream writer in commit 96326e5ffdde4a47b476fc0ca4bf3c9f8588bb67 . Turns out it's not a thread safe object (because it copies the stream pointer to a local member in BuiltStyledStreamWriter::write() )
Short term, I'll revert the change, so it'll be back to creating and destroying a new stream writer for every write :-(. Long term there must be a better way. I'll ask the jsoncpp devs if it's meant to be thread safe...

Reverted the problem code in commit 1c0ca24cd5af03f3aafcd4159882bcc64c6162f2


Detect phishing with chainpatrol

Design: https://www.figma.com/file/2nYhrm0rlJtfJoMwrT51Ep/SubWallet-Apps?type=design&node-id=5587-152780&t=YPPkMFV6LwCk79XI-4

[ ] UI bug


Incompatibility between Spring Cloud Stream Binder Rabbit and spring-amqp after upgrading Spring Boot dependencies to 3.4.0

Issue Overview:
After upgrading Spring Boot dependencies BOM to version 3.4.0 and Spring Cloud dependencies to 2023.0.3, we encountered an incompatibility issue where Spring Cloud Stream Binder Rabbit (version 4.1.3) pulled in spring-amqp version 3.2.x. This caused a method resolution error due to the following method being removed in spring-amqp 3.2.x:
org.springframework.amqp.core.ExchangeBuilder.durable(boolean)
The error occurs when RabbitExchangeQueueProvisioner attempts to use the durable(boolean) method, which was moved from a child class to an abstract class in spring-amqp 3.2.x.
The issue appears due to spring-amqp version 3.2.x being included from the Spring Boot BOM, which is incompatible with the method usage in Spring Cloud Stream Binder Rabbit.
Steps to Reproduce:

Upgrade Spring Boot dependencies BOM to 3.4.0 (which includes spring-amqp:3.2.0).
Upgrade Spring Cloud dependencies BOM to 2023.0.3.
Use spring-cloud-stream-binder-rabbit (version 4.1.3 or later) without explicitly defining the AMQP binder.
Run the application, and the following error occurs:

An attempt was made to call a method that does not exist. The attempt was made from the following location:
    org.springframework.cloud.stream.binder.rabbit.provisioning.RabbitExchangeQueueProvisioner.buildExchange(RabbitExchangeQueueProvisioner.java:654)

The following method did not exist:
    'org.springframework.amqp.core.ExchangeBuilder org.springframework.amqp.core.ExchangeBuilder.durable(boolean)'

Expected Behavior:
The application should function correctly with no method resolution errors when using spring-amqp 3.2.x. If there are breaking changes in the spring-amqp API, they should be properly handled, and the correct version should be included to avoid conflicts.
Workaround:
We were able to resolve the issue by explicitly downgrading spring-amqp to version 3.1.8. However, it would be ideal to handle this conflict in a way that ensures compatibility across versions.
To fix this:
Potential solution 1:  Modify spring-cloud-stream-binder-rabbit to properly align with spring-amqp versions and avoid pulling in incompatible versions of spring-amqp.
Potential solution 2:  Ensure that method calls in RabbitExchangeQueueProvisioner are updated to reflect changes made in spring-amqp 3.2.x or earlier versions.
Versions Used:
Spring Boot BOM: 3.4.0 (which includes spring-amqp:3.2.0)
Spring Cloud Stream Binder Rabbit: 4.1.3
Spring AMQP: 3.2.0 (problematic version)
Spring Cloud: 2023.0.3

I believe this is due to bytecode incompatibility: the method is there, but it is in the super class. So, to make it working , that old Spring Cloud version has to be compiled against latest Spring AMQP. That’s why we didn’t notice any difference from current main: no need in code change - works because we have compiled it against Spring AMQP 3.2.
We will think next week what we can do. Meantime I’d like to know if there was really a claim that Spring Cloud 2023 is supposed to be compatible with just released Spring Boot 3.4. Maybe we all just need to wait when Spring Cloud 2024 is released: https://github.com/spring-cloud/spring-cloud-release/milestone/147?

Thanks for the reply.
You are right, official claim is that 2023 is supposed to be compatible with 3.3.x and 3.2.x
As you stated, recompilation is necessary so I hope 2024 will already make the job so we can use latest BOMs from both.
Thank you again for the feedback.

Well, I definitely can treat this as a duplicate of: https://github.com/spring-cloud/spring-cloud-stream/issues/3048.
Since looks like everyone tries to upgrade to the latest Spring Boot, while staying on the previous Spring Cloud.
As we have agreed this is not what has been claimed, so better to upgrade to the latest Spring Cloud when it is available.


Combine csharp and diff

Hi,
Is it possible to combine the language diff and csharp
In the block code i would like the style of csharp and if i have some line with + or - the same behavior if i use language-diff.
thanks you for your help

Hi! I guess you could create your own hybrid component by extending the diff component with the csharp one. Something like this : http://codepen.io/anon/pen/zNPpdb

thanks you


Fuse Node, React, ReactNative together in Typescript

When I was finding Typescript web app example half year ago, I got an idea why not mix TypeScript-Node-Starter, TypeScript-React-Starter, and TypeScript-React-Native-Starter together.
Then I tried my best to build such a template in Typescript and wonder if anyone would like it?
https://github.com/shanhuiyang/TypeScript-MERN-Starter
Any issue and comment is welcome.

For our use case of learning and getting started with understandable basic principles, I think having them separate is fine. This is a cool template though, so I'll leave this open for people to find.


Use a message broker

SAP DataHub -- Use a message broker
Followed all the steps in the tutorial, but unsuccessfully
The created pipeline is dead:
Message
test.myFirstPipeline.Kafka Consumer: kafka: error while consuming sensordata/-1: zk: node does not exist
What can be the problem?
Many thanks in advance

@schneidertho Thorsten, can you respond?

Hi. Sorry for the very late reply. 2 months is definitely too late. We clearly missed to see your question earlier.
To the point: typically that message indicates that the pipeline cannot reach Kafka (it is either not running, not running in the same network etc.)
Did you pull the kafka image as described in the tutorial and did you start a container based on that image in the same Docker network you run the developer edition container in?
In general, https://blogs.sap.com/2017/12/06/sap-data-hub-developer-edition/ is IMO a better place for questions. We typically respond there within a couple of days. But again apologies that we did not see your question earlier.
Best regards
Thorsten

Thank you for your feedback. We haven't heard from you in the past 30 days, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


Can this program run in Jupyter?

If I want to run Online Deep Clustering for Unsupervised Representation Learning with Jupyter Python on Windows.
Is it workable, please?
Thanks

Currently, MMSelfSup supports Windows. But there is workaround you can try (we do not test it officially, reported by some other community users):

comment out line#156 in tools/train.py

requirements:

nvidia gpus with cuda installed on your local machine
use distributed training

Closing due to inactivity, please reopen if there are any further problems.


[Enhancement]: Word Guessing Game

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
While playing the Word-Guessing-Game, it sometimes asks the same question to in the same round, which should be avoided for better user experience. Furthermore, there are only 30 words to choose from, which basically means only 3 rounds, and the game won't be playable again.
Describe the solution you'd like
Some possible solutions would be:

Creating an array of the words that the user has guessed, and make sure the new word is not in that array.
Adding a lot of new words for more possible game rounds for all.

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @VijaySamant4368 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Please also add the level label

Hey @VijaySamant4368 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Index errors when using the IN operator with embedded collection types

Setup, using OrientDB 2.1.16:
CREATE CLASS Foo
CREATE PROPERTY Foo.bar EmbeddedSet String
CREATE INDEX Foo.bar NOTUNIQUE
INSERT INTO Foo SET bar = ['abc', 'def']
INSERT INTO Foo SET bar = ['abcd', 'defg']
INSERT INTO Foo SET bar = ['xyz', '123']

Per the docs, the following two queries should be identical and should hit the index:
SELECT * FROM Foo WHERE bar CONTAINS 'xyz'
SELECT * FROM Foo WHERE 'xyz' IN bar

The first query hits the index (as evidenced by EXPLAIN) and works as expected. However, the second query does not hit the index (EXPLAIN says 3 records were read, and involvedIndexes is null) and causes the following error to be printed to the logs:
Error on using index Foo.bar in query 'SELECT * FROM Foo WHERE 'xyz' IN bar'. Probably you need to rebuild indexes. Now executing query using cluster scan
java.lang.IllegalArgumentException: Key 'xyz' is not valid
	at com.orientechnologies.orient.core.sql.operator.OQueryOperatorIn.executeIndexQuery(OQueryOperatorIn.java:81)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchForIndexes(OCommandExecutorSQLSelect.java:1929)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.searchInClasses(OCommandExecutorSQLSelect.java:922)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.assignTarget(OCommandExecutorSQLResultsetAbstract.java:199)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.assignTarget(OCommandExecutorSQLSelect.java:493)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch(OCommandExecutorSQLSelect.java:475)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:446)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:90)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLExplain.execute(OCommandExecutorSQLExplain.java:51)
	at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:90)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1433)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1406)
	at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:67)
	at com.orientechnologies.orient.server.network.protocol.http.command.post.OServerCommandPostCommand.execute(OServerCommandPostCommand.java:81)
	at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.service(ONetworkProtocolHttpAbstract.java:180)
	at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.execute(ONetworkProtocolHttpAbstract.java:627)
	at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)

This bug is causing significant performance degradation in my project and making the error logs near-useless.

Hi @obi1kenobi
It seems to be a critical one, I'll take a look at that asap
Thanks
Luigi

Hey Luigi,
I see that version 2.1.17 came out -- congrats! Is the fix for bug included, or is it slated for a future release?
Predrag

Hi @obi1kenobi
No, unfortunately we could not manage to fix it, it will be in next hotfix
Thanks
Luigi

Hi @obi1kenobi
I just pushed a fix on 2.1.x and develop, the fix will be available in next 2.1.18 and 2.2 GA
Thanks
Luigi


Editor changes cause .spyder.ini write fail

From<EMAIL_ADDRESS>on 2012-08-31T03:14:42Z
Spyder Version:  2.1.11
Python Version:  2.7.2
Qt Version:      4.7.4, PyQt4 (API v1) 4.8.6 on Windows
What steps will reproduce the problem?

Changing the fontsize in Tools->Preferences->Editor
Hit apply button
If an error is printed in the internal console (the editor text does not change), hitting the apply button one more time usually works. What is the expected output? What do you see instead? Get the following traceback in internal console:

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\spyderlib\plugins\configdialog.py", line 164, in button_clicked
configpage.apply_changes()
File "C:\Python27\lib\site-packages\spyderlib\plugins\configdialog.py", line 71, in apply_changes
self.save_to_conf()
File "C:\Python27\lib\site-packages\spyderlib\plugins\configdialog.py", line 309, in save_to_conf
self.set_option(option, checkbox.isChecked())
File "C:\Python27\lib\site-packages\spyderlib\plugins_init_.py", line 210, in set_option
CONF.set(self.CONF_SECTION, str(option), value)
File "C:\Python27\lib\site-packages\spyderlib\userconfig.py", line 317, in set
self.__save()
File "C:\Python27\lib\site-packages\spyderlib\userconfig.py", line 161, in __save
conf_file = file(self.filename(),'w')
IOError: [Errno 22] invalid mode ('w') or filename: u'C:\Users\lennart\.spyder2\.spyder.ini'
Please provide any additional information below
. The bug was annoying before I discovered you can just hit apply button again to make it work. The bug seems to appear somewhat irregular, sometimes the change working immediately, sometimes it takes 4 or more tries before there is no error. I'm uncertain if there's a higher chance of success if pressing 'OK' instead of 'Apply'. The same problems applies to other settings on the Editor preferences page.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1141

From<EMAIL_ADDRESS>on 2013-04-26T12:55:45Z
Thanks, the code change fixed the problem.

From<EMAIL_ADDRESS>on 2013-04-26T11:48:38Z
This issue should already be addressed by the solution to issue #1242 and is fixed in the current 2.2.0 release candidate that is available from the "Downloads" page. If you are willing to upgrade to 2.2.0rc you can get the solution that way. Or you can browse the code changes that were made to solve issue #1242 and apply them manually to your instance of userconfig.py if upgrading to 2.2 is not an option.
Status: Duplicate
Mergedinto: 1242

From<EMAIL_ADDRESS>on 2013-04-26T10:58:49Z
I'm also seeing a similar problem. I installed python(x,y) yesterday and was able to use it fine. Unfortunately I can't remember any changes I made that would have caused problems but now I am unable to launch spyder from the GUI. If I run the spyder.bat script I can see the error message:
C:\Python27\Scripts>spyder.bat
Traceback (most recent call last):
File "C:\Python27\Scripts\spyder", line 2, in <module>
from spyderlib import spyder
File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 96, in <module>
from spyderlib.utils.environ import WinUserEnvDialog

File "C:\Python27\lib\site-packages\spyderlib\utils\environ.py", line 17, in <
module>
from spyderlib.widgets.dicteditor import DictEditor
File "C:\Python27\lib\site-packages\spyderlib\widgets\dicteditor.py", line 31,
in <module>
from spyderlib.config import get_icon, get_font
File "C:\Python27\lib\site-packages\spyderlib\config.py", line 511, in <module
>
set_default_color_scheme(_name, replace=False)
File "C:\Python27\lib\site-packages\spyderlib\config.py", line 508, in set_def
ault_color_scheme
set_color_scheme(name, COLORS[name], replace=replace)
File "C:\Python27\lib\site-packages\spyderlib\config.py", line 503, in set_col
or_scheme
CONF.set(section, "names", sorted(list(set(names))))
File "C:\Python27\lib\site-packages\spyderlib\userconfig.py", line 317, in set
self.__save()

File "C:\Python27\lib\site-packages\spyderlib\userconfig.py", line 161, in __s
ave
conf_file = file(self.filename(),'w')
IOError: [Errno 22] invalid mode ('w') or filename: u'C:\Users\David\.spyder2
\.spyder.ini'
Python(x,y): <IP_ADDRESS>
Python: 2.7.3
If anyone can think of any workaround so that I can use spyder again that'd be great, at the moment I'm totally unable to use it! Thanks


[WIP] Make new ExtesionManager based on folder observation

Description
Adds a new ExtensionManager that use FolderMonitor to detect, load and unload extensions.
Commits:

Created a FolderMonitor and a new ExtensionManager in a new module

Related Issue

#819

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[ ] I documented my code
[ ] Review requested

Notes

Old code form the ExtensionsStore module is still included, but is not actively used right now.
Please check the name of the module, better name suggestions are welcome

I think FileItem may have some of this folder watching functionality already built into it, perhaps you might want to reuse that class?

This probably can be put on hold, because this uses the bundle loading functionality, which we are not sure of we are going to use. It can wait till @thecoolwinter has talked about secure bundle loading with some other developers.

This probably can be put on hold, because this uses the bundle loading functionality, which we are not sure of we are going to use. It can wait till @thecoolwinter has talked about secure bundle loading with some other developers.

@thecoolwinter have you found anything out about this?

I think my questions weren't really related to Bundle vs Package loading, this should move forward but leaving empty TODO load and unload methods to change later

@matthijseikelenboom can you add this TODO?

@austincondiff @thecoolwinter TODOs have been added

Can this be merged then?

It can, but it will likely be refactored into the main app with the refactoring PR


Add Gtest and quick build boost python shell

if there is a need to consider the situation for user can't get internet

Got it, Check boost package and source code exists before download.


ARROW-7160: [C++] Update string_view backport

is the main diff here the ability to compare two string_views?

No, to compare a string_view against something else.

+1, LGTM.

can't merge at the moment, can do it a little later if you don't get to it first

Will do, thank you!


Validation fails when initializing a data object with a nested instantiated dataobject

✏ Describe the bug
Validation fails when initializing a data object with a nested instantiated dataobject
↪ To Reproduce

it('should probably pass validation here', function () {

    class BaseData extends Data
    {
        public function __construct(
            public ChildData $child,
        ) {
        }
    }

    class ChildData extends Data
    {
        public function __construct(
            public string $name,
        ) {
        }
    }

    // Illuminate\Validation\ValidationException: The child field must be an array. (and 1 more error)
    BaseData::factory()->alwaysValidate()->from([
        'child' => new ChildData('Spatie'),
    ]);

});

✅ Expected behavior
I expect validation to pass
🖥 Versions
Laravel: 10.x
Laravel Data: 4.0.0
PHP: 8.3

This is correct behavior, the validator can only validate what Laravel can validate. A data object cannot be validated by Laravel itself.
Technically we could transform this structure into an array again and validate that, but that would not be that performant + when passing another object we never can do more than the Laravel validator can.
Tricky situation I know but sadly enough we can't do anything about it 😞

@rubenvanassche Wouldn't it make sense to simply not validate nested data objects when they are instantiated already, maybe it should be assumed the user knows what they are doing, and it is in a valid state? 🤔

Hmm I think the reverse can also be said, if you've created the objects yourself from a request and then passed them to a data object to be validated are they still valid?
If someone finds a way to validate these things without compromising on performance, I would certainly merge such a PR but at the moment we're not using it that way so I don't have the time available to build such a thing.

Just ran into this myself and ended up here.
I think that since validation always happens before the DTO is created there's a good argument for accepting that an instantiated DTO of the correct type should be considered valid - in fact, the docs do say "once a data object is created, it is assumed that the data is valid."
That said, my current workaround for things that I will always supply as a DTO is going to be to add #[WithoutValidation] to those properties.

I encountered a similar issue in my project and have been exploring potential solutions.
Is it possible to configure Laravel Data in the config file to convert the Data instance into an array, validate it, and then recreate it? I understand this might not be the most performance-efficient approach.


opinion_rto repeats twice in modelkeys, also subj_weak_rto?

hi, @cjhutto @jpfairbanks
check out modelkeys = ['vader_sentiment',
***       'opinion_rto',
'modality',
'liwc_3pp_rto',
'liwc_tent_rto',
'liwc_achiev_rto',
'partisan_rto',
'liwc_work_rto',
'presup_rto',
'hedge_rto',
'assertive_rto',
***       'opinion_rto']
The last field shouldn't be opinion_rto but i think subj_weak_rto which is no longer in this version of bias detector?
thanks!

git-bisect says that this was broken in f58fabd16f07 and correct in 52f62ba22fba.
That would be the following commit:
Author:     Hutto, CJ<EMAIL_ADDRESS>AuthorDate: Tue Dec 26 10:14:26 2017 -0500
Commit:     Hutto, CJ<EMAIL_ADDRESS>CommitDate: Tue Dec 26 10:14:26 2017 -0500

Parent:     e85fe13 Merge pull request #13 from cjhutto/server
Merged:     installing linting requirements
Containing: master

Major revision to features, lexicons, quote handling, training data/input text

Updated reference lexicons JSON to contain orthogonal / distinct lists
of words, terms, phrases.
Added, removed, modified, combined, features in "features dictionary"
used for predictions.
Added functionality to include considerations for quoted material.
Added new sentences from news to use as training data / input text.

which contains the following diff:

@@ -497,14 +446,12 @@ def compute_bias(sentence_text):
                 8.3551389 * features['liwc_3pp_rto'] +
                 4.5965115 * features['liwc_tent_rto'] +
                 5.737545 * features['liwc_achiev_rto'] +
-                5.6573254 * features['liwc_discr_rto'] +
-                -0.953181 * features['bias_rto'] +
+                -0.953181 * features['partisan_rto'] +
                 9.811681 * features['liwc_work_rto'] +
-                -16.6359498 * features['factive_rto'] +
+                -16.6359498 * features['presup_rto'] +
                 3.059548 * features['hedge_rto'] +
                 -3.5770891 * features['assertive_rto'] +
-                5.0959142 * features['subj_strong_rto'] +
-                4.872367 * features['subj_weak_rto'])
+                5.0959142 * features['opinion_rto'])
     return bs_score

@cjhutto, when you updated the coefficients, was this a simple typo? Is the correct coefficient 5.09 or 4.87? Or something else?

@connieimdialog, @jpfairbanks:
actually, you are both correct -- I'm looking at the code as checked in on GitHub, and the modelkeys (represented by the types of bias indicators aggregated in each of the lexicons) are not up to date/in sync with the latest bias model in my dev environment... I'll need to update and load the next version of bias.py and the correct lexicon set (which organizes opinion, strong subj, and weak subj into the same category representing the type of of bias called subjective "value" bias indicators).  Note that due to travel and other work commitments at the moment, it may be Wednesday before I get it up... (or, if the need is dire, I could stay up late tonight and at least get the main parts straightened out -- I can at the very least implement the multiple linear regression model, but I'm still working out how to translate SVM machine learning model (as used in R stats package 'caret') to executable python for the inline bias computation).

hi @cjhutto thanks so much.    there is a strong need -- we are trying to present this with results for a joint project proposal, but totally understand that you are swamped.  if a correct mult. linear model is possible sooner later day/early tomorrow, but if it's only one more day until you get what you're hoping for...  anyhow, lmk what you think and are able to do.

@cjhutto can use the old model coefficient for now and use the new models when they are ready?

@connieimdialog, @jpfairbanks, @scottagt
I think I've straightened it out, or at least on my own host machine...
I'm still writing up details, but here is a summary of how the (orthogonal) bias markers/features are organized:
Lexical level indicators of bias in sentences:

presupposition markers
-- reflects epistemological bias and presupposed truths; "leading" or suggesting a conclusion; endowment/shepherding bias; editorializing; indicators of framing bias
-- includes: factive verbs, implicative verbs, asserting words, causation words,  coherence markers
value laden language
-- injects a writer's own subjective values into the presentation of issues/facts; subjective opinion or positively/negatively loaded language; partial tone; sensationalism
-- includes: VADER opinion lexicon, Subj weak, Subj strong, Wikipedia flagged words as NPOV-violation watch words, and degree modifiers that may reflect attempts at subtle sensationalism
figurative language
-- reflects non-neutral perspective bias; WP NPOV "puffery/peacock" language, editorializing; sensationalism
-- implicit nature of figures of speech manipulates the opinion of the reader
-- includes: English idioms, metaphors, metonymy, hyperbole, simile
partisan language / contentious labels / one-sided terms
-- reflects ideological bias and/or framing bias, and a non-neutral point of view
-- includes, for example, consideration of phrases such as "terrorists" vs "freedom fighters" vs "rebels" vs "insurgents"...or "pro-choice" vs "pro-abortion" or "pro-life" vs "anti-abortion"
self reference
-- may indicate personal thoughts rather than objective/unbiased (neutral) point of view
-- uses LIWC list of self reference pronouns
attribution
-- reflects possible (fundamental) attribution bias, actor-observer bias; ultimate attribution bias
-- uses LIWC lists of third person pronouns, achievement words, work words
expressions of doubt, uncertainty, unsupported/vague attributions
-- may reflect or imply inaccuracies, calling a statement's credibility into question
-- includes: LIWC tentative words, WP NPOV hedges/weasels

Sentence level level indicators of bias in sentences:

Sentence length (word count)
Flesch-Kincaid Grade Level
Quote length (no. of words in quotation)
Absolute value of VADER Sentiment (compound score)
Modality (degree of certainty)
Negative-Perspective (negativity/positivity bias; fading effect bias)

thanks @cjhutto, checking it out now!

actually, quick Q @cjhutto -- can you share what the p-values are for these features? do you have anything published w/r/t these results or is this currently in dev?  thanks!

@cjhutto  oops, one more thing,  just confirming that the modelkeys should now be pointing to counts and not to ratios (like value_cnt instead of value_rto)?

@connieimdialog

yes - these are currently all in dev, being written up now though for publication. p-values and other model statistics for the trained multiple linear regression model are below...

yes - this model uses word count (sentence length) in addition to the counts of feature occurances

	Call:
	lm(formula = .outcome ~ ., data = dat)

	Residuals:
		 Min       1Q   Median       3Q      Max
	-1.50902 -0.50169 -0.08946  0.46715  1.93443

	                 Estimate   Std. Error t value Pr(>|t|)
	(Intercept)      0.844952   0.068159  12.397  < 2e-16 ***
	word_cnt        -0.015031   0.003612  -4.162 3.44e-05 ***
	vader_abs        0.055452   0.087178   0.636 0.524877
	neg_persp        0.064741   0.039045   1.658 0.097627 .
	certainty       -0.018446   0.061806  -0.298 0.765427
	quote_length    -0.008512   0.003881  -2.193 0.028524 *
	presup_cnt       0.048985   0.014079   3.479 0.000525 ***
	doubt_cnt        0.047783   0.034899   1.369 0.171274
	partisan_cnt     0.028755   0.015699   1.832 0.067319 .
	value_cnt        0.117819   0.012941   9.104  < 2e-16 ***
	figurative_cnt   0.269963   0.095018   2.841 0.004590 **
	attribution_cnt -0.041790   0.014378  -2.906 0.003740 **
	self_refer_cnt   0.129693   0.032812   3.953 8.30e-05 ***
	---
	Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

	Residual standard error: 0.6471 on 955 degrees of freedom

Is this issue resolved and ready to be closed?

hi @cjhutto , i am wondering if normalized_features should multiply not divide by the coefficients?
or --  see attached example, i'm having trouble making meaningful interpretations about which factor has more impact on the bias_score, so could use some help with this!
bias-2018-03-16-normalized.xlsx

@connieimdialog
Ok!
So, it appears that the code is now working on the troublesome non-ASCII text?  Good...that was step 1.
I'll need to inspect the code for the normalization function (and wrap @jpfairbanks into the discussion, as I spoke to him over the phone and email about this process, but didn't do any testing or evaluation of that functionality).  My feeling is that simple division by the coefficient night not exacatly give the kind of "impact" measure we are looking for... let me take a quick look at perhaps (instead) using the trick of taking the log after transforming all feature scores to be between 0 and 1 (should be easy -- most features are counts except for sentiment, negativity, and certainty)...

@connieimdialog
check the following - I think it might do what you are wanting. It normalizes using a sigmoid function method (specifically, via the top half of the logistic function)...this seems (to me) to make more sense that the existing normalization method:

This was my sample script that generated the logistic normalization data in the above table:
# import the req'd methods from bias.py
from bias import compute_bias, extract_bias_features

# make a reference dictionary containing the multiple linear regression coefficients
mlrmdict = {  # 'intercept'      : 0.844952,
    'word_cnt': -0.01503,
    'vader_senti_abs': 0.055452,
    'neg_persp': 0.064741,
    'certainty': -0.01845,
    'quote_length': -0.00851,
    'presup_cnt': 0.048985,
    'doubt_cnt': 0.047783,
    'partisan_cnt': 0.028755,
    'value_cnt': 0.117819,
    'figurative_cnt': 0.269963,
    'attribution_cnt': -0.04179,
    'self_refer_cnt': 0.129693}

# calculate the (normalized) impact of each feature for a given sentence using the
#    top half of the logistic function sigmoid
def measure_feature_impact(sentence):
    impact_dict = {}
    e = 2.7182818284590452353602874713527  # e constant (Euler's number)
    ebf = extract_bias_features(sentence)
    for k in mlrmdict.keys():
        impact_dict[k] = (2 * (1 / (1 + e**(-abs(ebf[k])))) - 1) * abs(mlrmdict[k]) * 100
    return impact_dict

# make a quick printout to the console to see the data
def detailed_bias_analysis(sentence_list):
    for s in sentence_list:
        b = compute_bias(s)
        imp = measure_feature_impact(s)
        imp_str = "\n\t".join([str((k, round(imp[k], 3))) for k in imp])
        print ("{}\n\tbias: {}\n\t{}".format(s, b, imp_str))

# example using a list of realistic sample sentences
sentences = [
    """British ministers including Theresa May and Philip Hammond have made hair-raising
       claims about the dangers of migrants entering the country.""",
    "But do the facts bear them out?",
    """When you're facing the world's biggest refugee crisis since the second world war, it
       helps to have a sober debate about how to respond.""",
    """But to do that, you need facts and data - two things that the British migration debate
        has lacked this summer.""",
    """Theresa May got the ball rolling in May, when she claimed on Radio 4 that the vast
       majority of migrants to Europe are Africans travelling for economic reasons."""]

# do the sentence by sentence bias analysis and print the bias score and feature impacts
detailed_bias_analysis(sentences)

thanks for this @cjhutto diving in today

actually, we're willing to give this a go @cjhutto  -- could you check in the function?

could you check in the function

Done!

hey @cjhutto i think there's some syntax errors in the code. the test cases aren't passing. we can try again tomorrow to debug but in case you find them first..

hiya, we have something working so can consider this closed @cjhutto @jpfairbanks @scottagt.  i'll share some results/interpretations with you for your thoughts soon.
in the meanwhile, i've condensed some of the above in the update to this page: https://newsframes.globalvoices.org/tools/using-bias-detector-in-newsframes/  feedback/thoughts welcome.

This functionality, a collaboration with Georgia Tech's
Behavioral Modeling and Computational Social Systems

I think this should end with a noun like "group" or "lab". Erica
can confirm, but I think "Georgia Tech Research Institute
Behavioral Modeling and Computational Social Systems Group" would
be the full name of our organization group.

Human interpretation is required to affirm or reject the
suggestions made by these algorithms.

I think this should emphasize "definitively affirm or reject"
otherwise it sounds like the software is totally untrustworthy.

Self Reference – may indicate personal thoughts rather than an
objective/unbiased point of view. Includes: self-referential
pronouns.

Maybe an example of writing like, "I got fired from X, this my
story" would be appropriate for this list item.
connieimdialog writes:

hiya, we have something working so can consider this closed
@cjhutto @jpfairbanks @scottagt. i'll share some
results/interpretations with you for your thoughts soon.
in the meanwhile, i've condensed some of the above in the update
to this page:
https://newsframes.globalvoices.org/tools/using-bias-detector-in-newsframes/
feedback/thoughts welcome.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the
thread.

Also a direct reference to the article in addition to the github would be helpful.

Hutto, C.J. (2015). Computationally Detecting and Quantifying the Degree of Bias in Sentence-Level Text of News Stories. Second International Conference on Human and Social Analytics (HUSO-15). Barcelona, Spain 2015.


Add PriorityClass for operator pod

Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@elsnepal thanks for the PR!
I think you will need to run make generate to update files that are generated from the helm chart in order to make CI pass.

@elsnepal thanks for the PR!
I think you will need to run make generate to update files that are generated from the helm chart in order to make CI pass.

@caseydavenport is there any docs around required version for me to be able to run that?
➜  calico git:(master) ✗ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
➜  calico git:(master) ✗ make generate
/Library/Developer/CommandLineTools/usr/bin/make gen-semaphore-yaml
cd .semaphore && ./generate-semaphore-yaml.sh
sed: 1: "semaphore.yml": unterminated substitute in regular expression
sed: 1: "semaphore-scheduled-bui ...": bad flag in substitute command: 'd'
make[1]: *** [gen-semaphore-yaml] Error 1
make: *** [generate] Error 2

@elsnepal ah, looks like you're running on a mac and the sed command might be functioning differently.
This is all that script is doing: https://github.com/projectcalico/calico/blob/master/.semaphore/generate-semaphore-yaml.sh
You might need to install GNU sed for mac

@caseydavenport Sorry i forgot to get back, i did make local switch sed to gsed and stumbled at this:
F0124 14:00:34.819366      17 deepcopy.go:890] Hit an unsupported type invalid type for invalid type, from github.com/projectcalico/api/pkg/apis/projectcalico/v3.BGPConfiguration
make[1]: *** [gen-files] Error 255
make: *** [generate] Error 2

➜  calico git:(patch-1) ✗ echo $GOROOT
/usr/local/Cellar/go/1.21.3/libexec

Anything i could do to get this reviewed and merged?

@elsnepal Sorry for the delay - let me see if I can figure out what is going on. Just need to get make generate working.

It looks like our generation code won't work very well on a mac, so I've taken your changes and added an additional commit on top that gets past that hopefully.


Issues with recent IPR commits

Bug with new IPR features:
Opened my material test, activated IPR.  Got this error but it still launched:
X00002 {ERROR}   Plugin error: PxrPathTracer: invalid parameter sampleMode).
Went to the node editor and added in a LMLayer node.  IPR did not refresh to show the new inputs.  Went to select the material tab and Blender crashes.
Log:
Error: EXCEPTION_ACCESS_VIOLATION
R05004 {WARNING} RiEnd called before its proper nesting level.
C:\Program Files\Blender Foundation\Blender>An application exception has occurre
d in PRMAN.EXE.
Error codes: 0x0000006D75696465 0xC0000005 0x00000000 (0x00000008) (0x75696465
)
*** exception ***
If the material tab is already open when IPR is launched, trying to add a node in the node editor gives me this:
WM: failed to allocate texture for triple buffer drawing (out of memory).
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.75\scripts\modules\nodeite
ms_utils.py", line 99, in draw_node_item
item.draw(item, col, context)
AttributeError: type object 'RendermanOutputNode' has no attribute 'draw'
After that I tried different ways of adding and removing a LMLayer.  Adding the layer in the material tab triggers a refresh in IPR and shows the new shading.  Deleting the layer in the material tab (by selecting 'remove' in the dropdown) does not trigger a refresh.  After creating the LMLayer in the material tab, clicking on the node in the node editor crashes Blender with this error:
Error: EXCEPTION_ACCESS_VIOLATION
C:\Program Files\Blender Foundation\Blender>R05004 {WARNING} RiEnd called before
its proper nesting level.
An application exception has occurred in PRMAN.EXE.
Error codes: 0x000000006D756964 0xC0000005 0x00000000 (0x00000008) (0x6D756964
)
*** exception ***
Close to the same, but one different error code.......

X00002 {ERROR} Plugin error: PxrPathTracer: invalid parameter sampleMode).
This sounds somewhat suspect.... What's your RMANTREE set to?

To be more clear sampleMode is definitely a parameter of PxrPathTracer...

RMANTREE is C:\Program Files\Pixar\RenderManProServer-20.0\

Windows 7 if it helps.  I'm running a Linux Mint OS as well but I haven't tried this on that one yet.

I don't have a windows machine at home to test on...  Can you verify on linux?

Sure.  Give me a bit.

I can confirm that this error happens on windows 7. I do not have time to do extensive testing tonight but I get the same error as jdent02. For me interactive rendering refreshes before blender crashes.

I offhandedly noticed a crash consistantly once when you do IPR with the surface preview window open.  Any chance that was the case?

Got it to crash under identical circumstances (adding a LMLayer node in the node editor).  No IPR refresh occurs.  Selecting the material tab crashes Blender with the following error:
R05004 {WARNING} RiEnd called before its proper nesting level.
*** received SIGSEGV ***
And no, I did not have the surface preview open on either system due to that bug.

Ayite.  I see this too.

Alright.  So here's whats happening.  For some reason blender is calling the update method for the RenderEngine after interactive has started which is basically stomping on ri contexts.  It's actually a similar problem to the above described issue with having the preview panel open... basically the same exact problem.
I'm going to put in a quick fix tonight.  And fix it for real tomorrow.  Leaving this open.

Basically prman doesn't like 2 RI contexts going from the same thread.

Did that works for you guys?

Sorry Brian, I didn't get a chance to try it out this morning.  I can give it a spin this evening...

Quick test with Windows and it looks like the problem was fixed.  I tried multiple additions and removals of LMLayer nodes through both the material tab and the node editor and the IPR refreshed with the new material and didn't crash Blender.  Opening the preview window in the material tab didn't cause a crash either.  Nice work Brian.  Will test Linux later this evening.


[New Food] Pelmeni

About the PR

Media

https://user-images.githubusercontent.com/100022571/234249394-84fd734d-1c9c-4ffb-b65d-7bb1a49e2f37.mp4

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: SonicDC

add: Added pelmeni!

whys the video from corvax?

There is a current freeze on new recipes: https://github.com/space-wizards/space-station-14/issues/8524

@SonicHDC you didn't have to close the PR. You can keep it open.

@SonicHDC when the chef rework is done please feel free to reopen this

Just make it dumplings as they're significantly more popular than this.

This pr is closes.
Recreated to https://github.com/space-wizards/space-station-14/pull/16286


Memory leak in the example  file "foo_client.c"

    foo__HelloReply *r;

    char str[BUFSIZ];
    snprintf(str, BUFSIZ, "world");
    h.name = str;

    /*
     * This will invoke a blocking RPC
     */
    int status = foo__greeter__say_hello__sync(client, &h, &r, NULL, 0);
    printf("Got back: %s\n", r->message);
    printf("Finished with %d\n", status

In the example file foo_client.c ,the memory pointed by the "foo__HelloReply *r" hadn't free. I added "create_response_free(NULL,r);" to free the memory.Please tell me, Is it OK?

_free function will be generated by protobuf_c for each structure. That can be used here to free data. I will update this.

@ajhai Are you talking about _reply_free() stub that you added?  If so that doesn't really work here, because the prototype of the xxx_reply_free (grpc_c_context_t *context, void *buf) requires a context to pass in.  But in https://github.com/Juniper/grpc-c/blob/master/lib/client.c#L1177 you end up freeing the context yourself, so it's impossible to pass in anything..

this project has a lot of codes missing a free. had better pray if want to use this for long-term running application.


AD410 recognized as generic RTSP

I had some authentication problems with my Amcrest account and had to re-add my AD410 to the integration. Upon re-adding, the doorbell is now recognized only as generic RTSP camera and as such is missing the call_no_answered sensors to catch doorbell presses.

exact same issue, any luck sofar?

Exact same issue for me too :-(


Clarify instructions on initial compiling step

Hi, nice. Can you add the same for other plataforms? Thanks.


Installation Guide

Hi,
Hope you are doing well,
Would like to appreciate you for the wonderful peace of work.
Can you please guide me how to install this with decklink video input preset.
Regards,
Fahad

Hello Kashin,
I had tried installing pipencoder-base for some reason unable to setup pipencoder web server
using Flask nginx uWSGI  for some reason cannot start the api server properly
I would request you if you can share me some tips for installation of pipencoder or a bash script if possible
would appreciate your help
Best regards
Joseph
some error listed below tried to fix some of them but seems need to change setup approach
Error compiling Cython file:
...
self.logger.info('[PresetsManager] Update: Associated active jobs were restated ' + str(active_job_counter))
info = _JSONTools.JSONToString(json_data = preset_data)
_AlarmManager.OnAction(report = { 'event': 'AV Preset ' + action, 'info': info[:-2] })
self.logger.info('[PresetsManager] ' + action + ': OK')
return response, 200, 'OK'
except FileNotFoundError:
^
main/preset/preset.py:115:36: undeclared name not builtin: FileNotFoundError
Error compiling Cython file:
...
self.logger.info('[PresetsManager] Update: Associated active jobs were restated ' + str(active_job_counter))
info = _JSONTools.JSONToString(json_data = preset_data)
_AlarmManager.OnAction(report = { 'event': 'AV Preset ' + action, 'info': info[:-2] })
self.logger.info('[PresetsManager] ' + action + ': OK')
return response, 200, 'OK'
except FileNotFoundError:
^
main/preset/preset.py:115:36: undeclared name not builtin: FileNotFoundError
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 1167, in cythonize_one_helper
return cythonize_one(*m)
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 1149, in cythonize_one
raise CompileError(None, pyx_file)
CompileError: main/preset/preset.py
[ 65/101] Cythonizing main/server/init.py
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 1167, in cythonize_one_helper
return cythonize_one(*m)
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 1149, in cythonize_one
raise CompileError(None, pyx_file)
CompileError: main/preset/preset.py
[ 66/101] Cythonizing main/server/init.py
[ 67/101] Cythonizing main/server/server.py
[ 68/101] Cythonizing main/server/server.py
[ 69/101] Cythonizing main/server/views.py
Traceback (most recent call last):
File "make_bin.py", line 47, in
'always_allow_keywords': True
File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 1018, in cythonize
result.get(99999)  # seconds
File "/usr/lib/python2.7/multiprocessing/pool.py", line 572, in get
[ 70/101] Cythonizing main/server/views.py
raise self._value
Cython.Compiler.Errors.CompileError: main/preset/preset.py


mod is on 1.20.1 fabric/quilt even though create does not exist on that version

Description
minecraft doesnt load
To Reproduce
Steps to reproduce the behavior:

install any 1.20.1 version
try to open the game
see error

Expected behavior
the game is supposed to launch like normal and function
Screenshots
the crash

Software (please complete the following information):

Minecraft Version [e.g. 1.20.1]
Mod Version [e.g. 1.6.2b mc 1.20.1]
ModLoader [Quilt]
CC: Tweaked [1.107.0]

Create Fabric does exist on that version. There is just no release for the distribution platforms, so you gotta build it by yourself or download it via their maven.
You could also wait for it to be done and ready.
CC:C Bridge is hard dependent on Create.


Updated Spring Boot versions for Spring 1.5.5 for Old Spring 1.5 Branch

Tested running on PWS CF.
Also removed non-spring-boot app since it was on Spring 1.3.

@tnwang Let's talk about this PR when you get a chance.


Get-ChildItem -Recurse -File fails

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I know there is a Notable.exe file located in a subdirectory, under C:\Users\ronny\AppData\Local\Programs\notable
PS> Get-ChildItem -Path AppData\Local\Programs\notable -Filter Notable.exe

    Directory: C:\Users\ronny\AppData\Local\Programs\notable

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          21/01/2020    21:02      104728576 Notable.exe

But the Get-ChildItem -Recurse fails when I don't supply a path
PS> Get-ChildItem -Path . -Recurse -File -Filter Notable.exe

Note that I don't need to specify the full path to get a positive match. It's enough to provide -Path AppData.
Expected behavior
PS> Get-ChildItem -Path . -Recurse -File -Filter Notable*
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          21/01/2020    21:02      104728576 Notable.exe

Actual behavior
PS> Get-ChildItem -Path . -Recurse -File -Filter Notable*

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.5
PSEdition                      Core
GitCommitId                    7.4.5
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

There are some long standing quirks with Get-ChildItem and recurse.
For this case use -include instead of -filter  although Include doesn't work in some other cases
get-childitem  -Include "*.ps1xml"
get-childitem . -Include "*.ps1xml"
get-childitem *.* -Include "*.ps1xml"
get-childitem -Include "*.ps1xml" -Recurse -Depth 0

You might expect to all get ps1xml files in the current directory, but only the last two do - and the final one is fairly perverse.
get-childitem -Include "*.ps1xml" -Recurse   will look in all subdirectories.

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I suggest the problem is because AppData is normally hidden so excluded from searches. Force is required in the example below.
PS> Get-Item AppData -Force

    Directory: C:\Users\foo

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d--h-          30/10/2022    21:53                AppData

The -Include flag makes Get-ChildItem very slow, so That's not the preferred solution.
The -Force flag does indeed work :)

Solution by @rhubarb-geek-nz : AppData is normally hidden. Force is required


add Flatbuffers flatc

Thanks. Also added autoupdate with https://github.com/lukesampson/scoop/commit/444b466091b0c7168f378bfa8ff9a954e907f959


An endpoint to determine whether a node is a raft leader

Hello there!
As per thread on the forums[1] I think it might be worth implementing what Hashicorp Vault does with its /sys/health endpoint[2] to return 200 status code if the node is a raft leader.
This would allow for auto-failover when using HAProxy L7 load-balancer to a next node that has become a leader of the raft.
I have gone ahead and hacked together a PR #2581 which adds another webapi component to the controller which allows for determining whether a controller is a raft leader.
However I need a response whether this idea is viable enough to be even considered to be merged upstream.
[1] https://openziti.discourse.group/t/ziti-controller-ha-setup-behind-a-haproxy-load-balancer/3535
[2] https://developer.hashicorp.com/vault/api-docs/system/health

Tested it with the following HAproxy config. It works nicely and as intended. HAProxy automatically detects a backend node to direct traffic to using this /sys/health endpoint.
Tested by manually shutting down leader node -> after a few seconds traffic starts to be directed to a newly elected leader.
global
  # Global Configuration

defaults
  timeout connect 5000
  timeout client 50000
  timeout server 50000

frontend main
  mode tcp
  bind *:443
  use_backend ctrl

backend ctrl
  mode tcp
  option httpchk GET /sys/health
  http-check expect status 200
  server ctrl1 <IP_ADDRESS>:1281 check check-ssl verify none
  server ctrl2 <IP_ADDRESS>:1282 check check-ssl verify none
  server ctrl3 <IP_ADDRESS>:1283 check check-ssl verify none

Overall, seems like a useful thing to have. The only thing to note is that there is an existing health check implementation in controller/health.go.
My preference would be to consolidate this functionality in with that code and distinguish between overall health and raft later status with a parameter or path.
Thoughts?

Overall, seems like a useful thing to have. The only thing to note is that there is an existing health check implementation in controller/health.go.
My preference would be to consolidate this functionality in with that code and distinguish between overall health and raft later status with a parameter or path.
Thoughts?

I guess this change would be breaking backward compatibility with this 429 status code being returned if the node isn't the leader. If backward compatibility not to be the obstacle I think its safe to migrate this logic directly into health-check handler.
This health-check can't be used for routers, correct?

This health-check can't be used for routers, correct?

Correct, router has a separate health check implemented, with router specific logic.


Login test: use --password-stdin

Great timing: this new test collided against #5268, which added
a warning about using command-line --password. CI is now going
to fail all over.
Fix: rework test to use --password-stdin. Am doing so only
in the places where output string is checked; other instances
can keep using '--password xxx' because it's simpler.
Signed-off-by: Ed Santiago<EMAIL_ADDRESS>

Sorry everyone; this is super-urgent because without it CI will be blocked on all PRs. Any open PRs will probable need to be rebased once this merges.

To be precise: any PRs based against e7d8bda8 or later will need to be rebased. Any open PRs based against earlier master are fine.

/approve
LGTM pending tests

/lgtm

Barn door has been closed, but LGTM
thanks for the quick turn around @edsantiago


'Viewed by' popup is loading very slowly.

The "Viewed by" function causes a problem when there are too many views, for example 3290. It takes about 35 seconds to get the results. Maybe there is some optimization to do or only show the last x.

For quick fix in v.11 just limit it to 30, for v.12 implement paginate.

The changes which are planed for v. 11 were done.


[Accessibility]A11y_AzureDataStudio_MapDataSrcObjects_Keyboard: On expanding tree view items with the help enter key ,keyboard focus directly shift to the fifth "Summary" screen.

Check out Keros! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
GitHubTags: #A11yMAS; #A11yTCS; #MAS3.3.2; #A11y_AzureDataStudio; #Win32; #DesktopApp
Environment Details:
Application name: Azure Data Studio
Version: 1.9.0-insider (user setup)
Commit: 2ca39b5
Electron: 3.1.8
Node.js: 10.2.0
V8: 6.6.346.32
OS :Windows_NT x64 10.0.18362
Additional Details:
Tools Name: Keyboard
MAS References: MAS3.2.2
Steps to Reproduce:

Install the app Azure Data Studio.
Enable SQL server2019 preview->select table from the database->Create External Table screen should open->Next button->Create Database Master Key screen should open->click on next button->fill all the required details->click on next button.
Select any tree view item from left panel using arrow key and press enter.
Observe that keyboard focus directly shift to fifth "Summary" screen.

Actual:
On expanding tree view items with the help enter key ,keyboard focus directly shift to the fifth "Summary" screen.
Expected:
On expanding tree view items with the help enter key ,keyboard focus remains on the same screen .
User Impact:
Keyboard user will get confuse with the unauthorize behaviour of the expand tree view, because when user expand any tree item and enter he will redirect to the next page and content on the first page will miss out.
Recommendation:
Please refer the following snippet link for fixes:
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
MAS Reference :
MAS3.2.2:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={24cbfff7-374e-42e6-b9ab-d87fcd53b3e8}
Attachment for Reference:
6153_[Accessibility]A11y_AzureDataStudio_MapDataSrcObjects_Keyboard.pptx
Does this issue occur when all extensions are disabled?: Yes

@AccessibilityTestingTeam-TCS - I wanted to confirm, but is tree expansion toggle on enter press a standard we should be following everywhere? The base tree control we're using here doesn't have that by default (it just selects the item) so if that is the intended behavior it seems like we should open a bug against VS Code to fix that there.

@AccessibilityTestingTeam-TCS The current behavior is to toggle the expansion state upon pressing enter on the node (so it'll switch to opened/closed based on the current state of the node). Let me know if this isn't the desired behavior - for example if it should be just expanding the node on enter and not collapsing it if it's already opened.


[HUDI-4514] optimize CTAS to adapt to saveAsTable api in different modes

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@xushiyan @XuQianJin-Stars please help to review this.


Script to list versions of Go, Docker, Kubernetes

As part of #2647, we need a way to list all versions of Weave Net's dependencies:

Go
Docker
Kubernetes

in various ways:

releases only
releases and latest release candidate

Closing, as change is part of: weaveworks/build-tools#53.


Implement CBOR decoder for Data constants

The plutus data constant has two representations: a textual representation and a CBOR-encoded bytestring format. We currently have an implementation of the former and we need to support the latter. Since CBOR is not readablefor humans, we would like to translate the CBOR bytestring into a textual representation during the return phase of the computation. By doing so, the semantics of builtin functions that operate on data can remain the same.

CBOR spec: https://www.rfc-editor.org/rfc/rfc8949.pdf
IoG's Data implementation: https://github.com/input-output-hk/plutus/blob/master/plutus-core/plutus-core/src/PlutusCore/Data.hs
CBOR playground: https://cbor.me/

Decoding 0xd87980
0xd8 is a byte consisting of the top 3 bits and the bottom 5 bits.
110      11000 -> 24
type 3   (argument's value is held in the following 1 byte)
type 3:
A text string (Section 2) encoded as UTF-8 . The number of bytes in the string is
equal to the argument. A string containing an invalid UTF-8 sequence is well-formed but
invalid (Section 1.2). This type is provided for systems that need to interpret or display
human-readable text, and allows the differentiation between unstructured bytes and text that
has a specified repertoire (that of Unicode) and encoding (UTF-8). In contrast to formats such
as JSON, the Unicode characters in this type are never escaped. Thus, a newline character (U
+000A) is always represented in a string as the byte 0x0a, and never as the bytes 0x5c6e (the
characters "" and "n") nor as 0x5c7530303061 (the characters "", "u", "0", "0", "0", and "a").
0x79 (decimal 121)
This is a tag that represents Contr 0. If this value were to be 0x7A, it would represent Contr 1
0x80
This represents an array with zero elements.
Therefore, d87980 represents the data term Constr 0 []

Section D.4

[ ] decode head
[ ] decode indefinite length terms

Section D.5

[ ] decode blocks
[ ] decode bytes
[ ] decode B*

Section D.6

[ ] decode Z

Section D.7

[ ] decode data

[ ] map
[ ] list
[ ] constr
[ ] I
[ ] B

[ ] decode n data*
[ ] decode indef data*
[ ] decode n data2*
[ ] decode ctag

Specification has defined the decoder using function notation so this should be a straight translation of the spec to the k functions.


Noisli Extension

The Noisli extension is a browser add-on that provides ambient soundscapes and white noise, which can be used to enhance focus, relaxation, or productivity.
Users can mix different sounds like rain, wind, forest, and more to create personalized background noise.
It's useful for people who work in noisy environments, need to concentrate, or want to relax with soothing sounds.
@Sulagna-Dutta-Roy, assign me this issue user gssoc

@Sulagna-Dutta-Roy assign me this issue


how to define FOV and training iteration?

For the optimization step, how do you define the FOV value and iteration time for the customized dataset?

If I am correct FOV is "Field of View", if this is so you could check this Udacity video. I omitted this value and by default it assigns 85.6

We us the cameras specifications for fov. What camera was your scene captured with?
Number of iterations can be changed with  add_frames_every and n_iters_per_frame impacts the number of iterations between added frames and for refinement, respectively.

How should I specify FOV if my horizontal FOV and vertical FOV are different?


[Android] Created password from "Suggest strong password" doesn't populate text field

Steps to reproduce

Use an emulator with play services, or a real device running Android 14.
Enable "Use Autofill with Google" in device settings to be able to get the "Suggest strong password" option.
Run sample code.
Select the "New password" text field, which is using AutofillHints.newPassword, and use "Suggest strong password" to create a password.

Expected results
Text field should be populated upon creating a strong password and selecting "Use password".
Actual results
There are no changes in the text field and the password is not populating text field.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: SafeArea(
          child: FillForm(),
        ),
      ),
    );
  }
}

class FillForm extends StatelessWidget {
  const FillForm({super.key});

  @override
  Widget build(BuildContext context) {
    return const AutofillGroup(
      child: Column(
        children: [
          TextField(
            keyboardType: TextInputType.emailAddress,
            autofillHints: [
              AutofillHints.email,
            ],
            decoration: InputDecoration(hintText: 'Email'),
          ),
          TextField(
            obscureText: true,
            autofillHints: [
              AutofillHints.newPassword,
            ],
            decoration: InputDecoration(hintText: 'New password'),
          ),
        ],
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
autofill_issue.webm

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel beta, 3.19.0-0.3.pre, on macOS 14.2.1 23C71 darwin-arm64, locale en-GB)
    • Flutter version 3.19.0-0.3.pre on channel beta at /Users/per/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1b197762c5 (7 days ago), 2024-01-25 22:23:26 -0800
    • Engine revision 968e2945c7
    • Dart version 3.3.0 (build 3.3.0-279.2.beta)
    • DevTools version 2.31.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/per/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 14 (API 34) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 121.0.6167.139
    ! Error: Browsing on the local area network for Per’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hello @PerLycke.
Thanks for filing this. I see a similar/related issue to this https://github.com/flutter/flutter/issues/137760. Can you please check it out?

I guess the root cause is the same, and creating a new password and picking a saved password uses the same underlying mechanism, so I'm closing this and hopefully this is fixed when the linked issue is fixed.


Check if attack correct

Unit can attack only units from neighbor hexes.

Closed by #148

Closed by #148


add ability to scan sources for updates

This allows us to determine when upstream sources have a different commit than the one we recorded in distgit, without cloning either. It works on both RPMs and images, and can spit out yaml for our jenkins job to grok. Examples:
🐚 doozer -r '' config:scan-sources
2019-01-29 23:06:33,907 INFO Using branch from group.yml: rhaos-4.0-rhel-7
2019-01-29 23:06:34,233 INFO Checking if target branch release-4.0 exists in git@github.com:openshift/service-catalog.git
2019-01-29 23:06:34,233 INFO Checking if target branch release-4.0 exists in git@github.com:openshift/service-idler.git
2019-01-29 23:06:34,233 INFO Checking if target branch openshift-4.0 exists in git@github.com:openshift/autoheal.git
2019-01-29 23:06:34,740 INFO Target branch does not exist in git@github.com:openshift/autoheal.git, checking fallback branch master
2019-01-29 23:06:34,740 INFO Target branch does not exist in git@github.com:openshift/service-idler.git, checking fallback branch master
2019-01-29 23:06:34,741 INFO Checking if target branch master exists in git@github.com:openshift/autoheal.git
2019-01-29 23:06:34,742 INFO Target branch does not exist in git@github.com:openshift/service-catalog.git, checking fallback branch master
2019-01-29 23:06:34,742 INFO Checking if target branch master exists in git@github.com:openshift/service-idler.git
2019-01-29 23:06:34,744 INFO Checking if target branch master exists in git@github.com:openshift/service-catalog.git
2019-01-29 23:06:35,742 ERROR [rpms/openshift-enterprise-service-idler] No OS_GIT_COMMIT found in specfile 'service-idler.spec'
RPMS:
  openshift-enterprise-service-idler is changed
  openshift-enterprise-service-catalog is the same
  openshift-enterprise-autoheal is the same

🐚 doozer -i openshift-enterprise-console,ose-installer,ose-etcd,logging-fluentd -r '' config:scan-sources --yaml
2019-01-29 23:07:14,528 INFO Using branch from group.yml: rhaos-4.0-rhel-7
[...]
---
images:
- {changed: true, name: openshift-enterprise-console}
- {changed: false, name: ose-etcd}
- {changed: true, name: ose-installer}
- {changed: false, name: logging-fluentd}
rpms:
- {changed: true, name: openshift-enterprise-service-idler}
- {changed: false, name: openshift-enterprise-service-catalog}
- {changed: false, name: openshift-enterprise-autoheal}

Some notes:

Does not pay any attention at all to local checkouts of sources or distgits.
I considered just naming it something top-level, but it works somewhat similarly to other config: commands. Open to suggestions here.
I thought it might be helpful to have the atomic-openshift RPM definition here, but disabled, so that we could run doozer -r atomic-openshift config:scan-sources and know whether we actually needed to rebuild that. I'm not sure if it has value though since we do the merge. Maybe once the merge job is separate?...
Not all RPM specfiles have the necessary bits to capture the source commit. This is why the ERROR above and results in the source always being counted as "changed".

/poke @adammhaile

/lgtm
I just tried this out and it is awesome. That was much faster than I expected it to be.
Only thing I would change in the future is how the YAML is output. For example, adding a -o type option to say "write output to ". And maybe grouping the changed vs. not changed stuff a little differently. Really depends on how we plan on using this.
I could see this being one step of several in a job. In the sync job I run doozer to generate input files for other commands. This could generate input for doozer itself or have the image build command pull from this command if it can pass the generated datas to it.
Or, we could have the option of invoking it as part of the custom build job! Parameter to custom build job only build changed?.
So many possibilities! I'm excited.

also, :+1: for adding unit tests.
Some brain dumping while I'm in here:
I would like to see more docstring examples for config:scan-sources in the next round. The way the global -r handling works isn't exactly intuitive and seems to conflict with how config:scan-sources works. -r says it is all by default, so if I omit the -r '' then I get back config:scan-sources with no rpms listed.
But when I run config:scan-sources with -r '' I get back several RPMs in the list. That seems to conflict with the documented "all by default" behavior.
Other optional output selectors for the command would be useful, i.e., only return items which have changed.
And, honestly, I think you could drop the basic plain text output and make yaml the default. It's presenting the same information and adding extra presentation layer fluff to have to maintain. Switching --yaml to --output, -o would be value, imho.

@tbielawa

Or, we could have the option of invoking it as part of the custom build job! Parameter to custom build job only build changed?.

Or maybe a custom job like https://github.com/openshift/aos-cd-jobs/pull/1691 ?

@tbielawa

Or, we could have the option of invoking it as part of the custom build job! Parameter to custom build job only build changed?.

Or maybe a custom job like openshift/aos-cd-jobs#1691 ?

Yes. Exactly like that!


assume is not propagated to Apalache

Consider assumes.qnt:
module assumes {
    const N: int
    const F: int

    var msgs: Set[str]

    assume Majority = N > 3 * F

    action init = {
        msgs' = Set()
    }

    action step = {
        msgs' = msgs
    }
}

module instance {
    import assumes(N = 2, F = 1).*
}

Running quint verify does not result into any warnings or error messages, even though the assumption of Majority is obviously violated:
$ quint verify --main=instance --invariant=inv assumes.qnt

@bugarela From what I see, Majority is not present in the LookupTable returned by parsePhase3importAndNameResolution, which might be why it is lost after flattening?

Yes @romac, anything not used is discarded in flattening. Here, init and step are implicitly used, because the default values of --init and --step options match them and therefore we "add" them to the main module for simulation.
I think the problem with assume is actually bigger than this: we don't do anything with assumptions at all, not even in the Quint side. If we implement some assumption checking in the simulator, we will need to make sure it is in the lookup table and flattened modules, and therefore it will end up being sent to Apalache.

Yes @romac, anything not used is discarded in flattening. Here, init and step are implicitly used, because the default values of --init and --step options match them and therefore we "add" them to the main module for simulation.

Right, so I guess a potential solution would be to implicitly reference or copy all assumptions from imported modules?

I think the problem with assume is actually bigger than this: we don't do anything with assumptions at all, not even in the Quint side. If we implement some assumption checking in the simulator, we will need to make sure it is in the lookup table and flattened modules, and therefore it will end up being sent to Apalache.

What I would suggest doing is first ensure we do not loseassumptions in the first place, so that they will be passed along to Apalache already. Then we can figure out how to check them during simulation. Would that work for you?

I believe I managed to implement assumptions checking in the simulator, but of course right it only works if the assumption is in the main module: #1487


Digitize maps from Len

09-Apr Need to follow up with Liam to see how he is going with the work
05-Mar Check in with Liam to see if this has started
20-Feb Liam is currently handling this work
Work with Liam to digitize the maps from Len. Once we have them as shape files, we can convert to RDF

Response from Liam work is ongoing. about 35 polygons drawn up as of 11-04-24

Digitization completed by Liam. Now for me to complete the conversion to RDF.

Data has been converted to RDF and committed to the spatial-data repository, ready for fuzzy rendering workload.


Runners use separate directories to allow parallelism

This PR resolves the issues that are run into when running two separate unit tests in the same crate (see issue #58). Previously, doing this would cause the test runners to use the same crate directory, leading to one overwriting the other's manifest. This resulted in confusing errors and tests failing to no fault of the user.
To solve this, separate directories are defined for each run, using a hash of the test paths used by the TestCase. Therefore, the following now works correctly:
use trybuild::TestCases;

#[test]
fn test_1() {
    TestCases::new().compile_fail("compile_failures/1.rs");
}

#[test]
fn test_2() {
    TestCases::new().compile_fail("compile_failures/2.rs");
}

This does add a dependency on rustc-hash, the hasher used within rustc. I would say this is a trustworthy additional dependency, as it is owned by the Rust core team. The hash is not cryptographic, but it doesn't need to be for this use case. If you would rather not add this dependency, let me know and we can discuss another way.

Ah, looks like rustc-hash would cause a bump in MSRV. After looking into it a little more, it looks like we can just use the DefaultHasher from the standard library, and it will accomplish the same thing without the extra dependency. I think that's the best way to go, since I don't want to unnecessarily cause bumps in the MSRV :)


[gallery] new gallery

https://vx-demo.now.sh/gallery

https://vx-demo.now.sh/dots

This is super cool.


Improve the injection process

Currently we either inject elements pointing to assets or eval them with inline source maps. Might want to consider merging and streaming down JS/JSON assets with offsets.
Ref: https://github.com/facebook/react-native/blob/ea882b6f161409ff439b93dfa146431944a42d9d/packager/react-packager/src/Bundler/Bundle.js#L199-L232

Incidentally, babel's added support for something approaching bundling: https://github.com/babel/babel/pull/3323/files
Probably not of relevance, but it's worth being aware of.

#111 is another possible solution


add regex

@wenchajun You'll need to describe the functionality of this PR.
And fix the CI issue https://github.com/kubesphere/notification-manager/actions/runs/5780050128/job/15663186756?pr=214#step:5:67


Get-BinRoot should really be C:\ProgramData\chocolatey\bin by default.

What was that command to get C:\ProgramData\chocolatey\bin? A lot of packages do it manually, and to get it, semantics and intuition suggest you would do Get-BinRoot to get it. However, Get-BinRoot points to the arbitrary C:\Tools by default.
When I originally made Get-BinRoot, it was when Chocolatey still installed in C:\chocolatey\ and binaries installed to C:\chocolatey\bin\ unless env:chocolatey_bin_root was set to an alternative binary root which was later renamed to env:chocolateyBinRoot which some packages ignored and others even had a hardcoded $binRoot. Get-BinRoot fixed all problems and phased out the deprecated environment variable.
See the original stub from https://github.com/chocolatey/chocolatey/issues/217#issuecomment-11622061:
    if($env:chocolatey_bin_root -eq $null) {
        $binRoot = "$env:ChocolateyInstall\bin"
    }

However, there were some bugs and during fixes Get-BinRoot was set do default to C:\Tools. This is someone's preference, and in my opinion it is wrong. According to the packaging guidelines, personal preferences (including mine to use C:\Common\bin) are or should be irrelevant for packages, and I think that should apply to where they are installed by default too.
It makes sense to keep everything clean by default and use the chocolatey bin folder that is used to install shims anyway. It is already in the path.
If c:\tools is your personal favorite, you should manually edit the chocolateyBinRoot environmental variable. Otherwise, the default should be $env:ChocolateyInstall\bin.
Apart from that, we need to encourage packages to use Get-BinRoot instead of manually grabbing join-path %ProgramData% "bin" $PackageId.
Similarly, we should replace that 4 line code you see in many packages to create and use a temporary folder by a helper function.

That's the problem. Get-ToolsRoot is really the name of this. It's horrrrrribly named.

Is this in your comment referring to C:\ProgramData\chocolatey\bin or C:\Tools?
I am assuming the latter, but with the confusion and all, I'm not sure.

The problem is that the terminology of the command is so bad, you and many others have identified it as essentially the same location as c:\programdata\chocolatey\bin when in fact it represents something else entirely.

Can you try and explain it to me?

There is a concept of a place where you can install tools due to two reasons - 1) the lack of current POSH choco putting version numbers on folders and 2) folks want a place on the system out of the choco folders where they can put tools.
This is basically a location that a user can specify as ToolsRoot.
Now muddy that up and call it BinRoot instead.

Perhaps we should have a binRoot and a toolsRoot

Do we need a bin root? Or is it that choco is not doing a sufficient job in some cases?

Do we need a bin root? Or is it that choco is not doing a sufficient job in some cases?

With the changes that are coming in vNext, or at least, how I understand them, the need to Get-BinRoot should become non-existent, but that does raise the question about deprecating and updating the use of it.

Do we need a bin root? Or is it that choco is not doing a sufficient job in some cases?

I don't know. I prefer a non-shimmed binRoot for command line tools, and for everything else a subdirectory of chocolatey (like lib and bin already are). If anyone prefers something arbitrary like C:\Tools they should manually make it so.
With players and browsers and libraries - not just tools but plain software - installing to Get-BinRoot ATM AKA Tools, I think software or programs or bin is a more intuitive and canonical name. It makes sense to put this inside chocolatey unless manually changed to something that has personal preference.

the need to Get-BinRoot should become non-existent

What did I miss/forget?

I don't know. I prefer a non-shimmed binRoot for command line tools

This is what I'm curious about. Is is the older shims that were batch files? Is it performance?

Brutal honesty, nitpicking, lack of knowledge and a touch of ocd combined:
I like to (re-)use my 'own' bin folder and be able to specify it as $binRoot for chocolatey. I like this bin directory to be copyable to USB sticks and between VMs. I like to pipe stuff between 'exe' files within batch files, being able to assume that the .exe files are in the same folders (relatively named). And I like, when some complicated piped script doesn't work, not to have to wonder if it's the shimming that causes a pipe to break.

@ferventcoder Could you please clarify what "tools" are in this context? Does this refer to tools used by the chocolatey install/uninstall process? If so, would it not make sense to install these to a /tools folder under whatever ChocolateyPath currently is?
On the other hand, if this refers to a location where the artifacts constituting the actual software are to be installed (which is what a lot of packages rightly or wrongly use it as), would it not make sense to return a location under /lib based on the package name?

Tools (or portables) in this context refers to the actual software that does not come with a native installer, which is like git for windows portable zip compared to git for windows install. If software is offered as an archive of some sort in addition to or instead of through an installer - that is what is meant by "tools." We actually have a pretty extensive definition of portables vs install in the context of chocolatey in the faq on the wiki.

Will all *.install packages create a symlink in %ALLUSERSPROFILE%/chocolatey/bin?

@CMCDragonkai Shim, not symlink. And no, only executables found in the package directory will be shimmed automatically. Anything else that one wants to shim, they would need to use Install-BinFile.
References:

https://github.com/chocolatey/choco/wiki/HelpersReference

This is fixed in choco with https://github.com/chocolatey/choco/issues/631


Artificial build bump - to 'eclipse' the accidental release of 3.11 RC onto main channel ASAP

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


Vulkan: Flashing Lights through Fog while Alt+Tabbed

Godot version
Godot_v3.4.4-stable_win64
System information
Windows 10, Intel Core i9-9900k, Nvidia RTX 2070 Super
Issue description
Fast flashing light occurs when I alt-tab from my Godot project, only happens in certain areas.

Steps to reproduce
!!! WARNING FLASHING LIGHTS !!!
https://user-images.githubusercontent.com/68210683/169533668-8923a85d-cfd3-47e9-92eb-707155439da7.mp4
Minimal reproduction project
couldn't upload zip, maybe 30mbs is too much?
here's a GDrive link
https://drive.google.com/file/d/1dzYtAY3YB0DYOTQvvImt5EmC49KyXj06/view?usp=sharing

couldn't upload zip, maybe 30mbs is too much?

Indeed, GitHub attachments are limited to 10 MB.

I tested it in master since I have a similar system and the issue is reproducible.
The feature that causes trouble is the Auto Exposure. The MRP uses the following parameters

Note that, the scale is at the minimum while the speed is at its maximum.
While Alt+Tabbed godot runs at 100ms.
Given
double step = env->auto_exp_speed * time_step;

Used in shader (params.exposure_adjust):
avg = clamp(prev_lum + (avg - prev_lum) * params.exposure_adjust, params.min_luminance, params.max_luminance);

Considering that exposure_adjust is 64 * 100ms = 6.4. The avg result flickers between the min_luminance and a value.

Can you reproduce this after enabling Interface > Editor > Update Continuously in the Editor Settings?
It does fixes the problem since the frame rate of godot will not "drop" when alt+tabbed.

I'm wondering what would be the next step for this issue...

I tested it in master since I have a similar system and the issue is reproducible.
The feature that causes trouble is the Auto Exposure. The MRP uses the following parameters

Note that, the scale is at the minimum while the speed is at its maximum.
While Alt+Tabbed godot runs at 100ms.
Given
double step = env->auto_exp_speed * time_step;

Used in shader (params.exposure_adjust):
avg = clamp(prev_lum + (avg - prev_lum) * params.exposure_adjust, params.min_luminance, params.max_luminance);

Considering that exposure_adjust is 64 * 100ms = 6.4 and the scene's avg luminance is near the minimum. The avg result flickers between the min_luminance and the average luminence value.

Can you reproduce this after enabling Interface > Editor > Update Continuously in the Editor Settings?

It does fixes the problem since the frame rate of godot will not "drop" when alt+tabbed.
I'm wondering what would be the next step for this issue...

Great work! The next step is to research how other auto exposure implementations work and determine if this line of code needs to change or another line of code. IMO auto exposure should be robust enough that it can handle variable frame rates. At the same time, perhaps the chosen speed is way outside a reasonable range, so perhaps its the range exposed in the editor that needs to change. Either way, a little bit of research is needed to form a good opinion on what to do next

I wonder if https://github.com/godotengine/godot/pull/82222 can help with this.


install-pi.sh stops on non-existent path

----- Installing openocd-spi...
+ '[' '!' -d /home/pi/openocd-spi ']'
+ cp /home/pi/openocd-spi/src/openocd /home/pi/pinetime-rust-mynewt/openocd/bin/openocd
cp: cannot create regular file '/home/pi/pinetime-rust-mynewt/openocd/bin/openocd': No such file or directory

At first I had this script in subdirectory /home/pi/PineTime/pinetime-rust-mynewt/scripts/, so I moved the solution to /home/pi/ but the issue was still there. So I created directory openocd/bin by mkdir -p ../openocd/bin and run the script install-pi.sh again and it worked.
Expected behavior:

script will autodetect path.
required directory will be autocreated

Thanks! Lemme find a good way to fix this. We will have to create the directory if it doesn't exist.
I will have to do regression testing, which means installing a fresh Raspberry Pi from scratch with a new SD card. Wonder if there's a simpler way...

When I tested it again on the fresh install of Raspberry Pi and Raspbian, this issue is still there.

Yep not fixed yet :-)

Closing this issue because pinetime-rust-mynewt has been revamped for educational use.


change name from 'idm' to 'keyrock' in the docker-compose.yml file

as in the case of other GEs we are using the name of the GEri, we need to be consistent and do the same with the IDM

Closed in #112.


Softlock during Breaking The Bank quest

While aboard the Siren Of The Stars, it's possible to softlock by heading to the engineering deck and aggroing somebody. The quest updates, telling you to disable the life support systems - but the life support systems cannot be interacted with. Additionally when you return to the ballroom you are locked behind a door that cannot be opened (it is labelled INACCESSIBLE).
If instead you stealth-kill the inhabitants of the engineering deck, the quest updates in the same way but the life support systems can be interacted with, and you are able to return to the ballroom (there is no longer a locked door in your way). I believe this is the intended behaviour, but as stated above it doesn't work properly if you draw aggro.

Game Version
<IP_ADDRESS>
New Game
No
Reproduction Steps

Progress the Crimson Fleet questline up to the Breaking The Bank quest.

Board the Siren Of The Stars and head to the engineering deck.

Loot the ID from Chief Engineer Sandin's corpse and use it to access the computer. Open the Life Support Access file.

The quest updates automatically, telling you to disable the Life Support System. The doors to the chamber open automatically.

Attempt to interact with the Life Support System switches.
EXPECTED RESULT: It is possible to interact with the switches to turn the system off.
ACTUAL RESULT: It is not possible to interact with the switches.

Now attempt to return to the ballroom.
EXPECTED RESULT: You are able to return to the ballroom, at which point everyone attacks you.
ACTUAL RESULT: A door blocks your path to the ballroom. The door is marked INACCESSIBLE and cannot be opened.

Having now completed the quest, it seems that even being allowed on the engineering deck at that stage in the quest introduces weird continuity things. You shouldn't even be able to disable the life support systems until instructed to by Rokov, and doing so has no effect. Since the only purpose of the engineering deck is to allow the life support systems to be disabled, perhaps access to it should only be possible after the dialogue with Rokov has made it relevant?


confirm volare download the D variant for gf180mcu

Volare downlods the D variant for gf180mcu as of e44ca166825d6dcc4f4b20cfdadaaf8cc5bc3eae.


Update gateway-migration.md

#sign-off

@duongau
Can you review this PR? Sign-off or approve if you're okay with the changes.
NOTE: To sign off, add #sign-offto a comment."
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Questions about scons scripts

Tested versions
godot-3.0
System information
linux
Issue description
#!/usr/bin/env python
# godot-3.0/thirdparty/zstd/SCsub
Import('env')

thirdparty_zstd_dir = "#thirdparty/zstd/"
thirdparty_zstd_sources = [
	"common/entropy_common.c",
	"common/error_private.c",
	"common/fse_decompress.c",
	"common/pool.c",
	"common/threading.c",
	"common/xxhash.c",
	"common/zstd_common.c",
	"compress/fse_compress.c",
	"compress/huf_compress.c",
	"compress/zstd_compress.c",
	"compress/zstd_double_fast.c",
	"compress/zstd_fast.c",
	"compress/zstd_lazy.c",
	"compress/zstd_ldm.c",
	"compress/zstdmt_compress.c",
	"compress/zstd_opt.c",
	"decompress/huf_decompress.c",
	"decompress/zstd_decompress.c",
]
thirdparty_zstd_sources = [thirdparty_zstd_dir + file for file in thirdparty_zstd_sources]
env.add_source_files(env.core_sources, thirdparty_zstd_sources)
env.Append(CPPPATH=["#thirdparty/zstd", "#thirdparty/zstd/common"])
env.Append(CCFLAGS="-DZSTD_STATIC_LINKING_ONLY")

My question is:
env.add_source_files(env.core_sources, thirdparty_zstd_sources)

it calls:
# godot-3.0/methods.py

def add_source_files(self, sources, filetype, lib_env=None, shared=False):
    import glob
    import string
    # if not lib_objects:
    if not lib_env:
        lib_env = self
    if type(filetype) == type(""):

        dir = self.Dir('.').abspath
        list = glob.glob(dir + "/" + filetype)
        for f in list:
            sources.append(self.Object(f))
    else:
        for f in filetype:
            sources.append(self.Object(f))

The problem is these two compilation options:
env.Append(CPPPATH=["#thirdparty/zstd", "#thirdparty/zstd/common"])
env.Append(CCFLAGS="-DZSTD_STATIC_LINKING_ONLY")

These two compile options are executed perfectly even after self.Object(f),self.Object(f) does not compile immediately when executed, but only saves the address of the file. What signal can be used to start compiling?I don't know when to start compiling. I don't know which statement starts compiling immediately? Is this automatic?
Steps to reproduce
N/A
Minimal reproduction project (MRP)
N/A

This platform is for bug reports on currently supported versions of Godot.
It's not for general questions about how to use Godot or its buildsystem, and we no longer support Godot 3.0 (released in 2018) since many years.

I don't know where to ask... And I think it's easier to get started from the old version.

Easier to get started doing what?

Your suggestion makes sense. I'm starting over from the latest version.

https://godotengine.org/community/
The social tools in here are hard to use in my place.It would be nice if there were people learning the source code to communicate with.

Only after SCons has finished reading and parsing the SConstruct script does it start performing the actual compilation and build steps.