Integration with the Azure Event Hub

I want to send logs to the Azure Event Hub. I executed the following command when I installed Falco, I get the below error in the container.
Command
helm install falco falcosecurity/falco
--set falcosidekick.enabled=true
--set falcosidekick.webui.enabled=true
--set falcosidekick.config.azure.subscriptionID="lkjkljj-kjkj-llklk-8c4601adba21"
--set falcosidekick.config.azure.resourceGroupName="ResourceGroupName"
--set falcosidekick.config.azure.podIdentityClientID="af000a07-rfvs-7852-a012-98521edb9b78"
--set falcosidekick.config.azure.podIdentityName="application-identity"
--set falcosidekick.config.azure.eventhub.namespace="abcdy.servicebus.windows.net"
--set falcosidekick.config.azure.eventHub.name="test"
-n falco
Error
2021/04/14 13:31:38 [ERROR] : AzureEventHub EventHub - neither Azure Active Directory nor SAS token provider could be built - AAD error: failed to refersh token: &{{{ 0 0 0 } 0x2d06db0 {{ false } { false } {http <IP_ADDRESS> /metadata/identity/oauth2/token false api-version=2018-02-01&resource=https%3A%2F%2Feventhubs.azure.net%2F } { false }} https://eventhubs.azure.net/ true<PHONE_NUMBER>00} 0xc0005f5f08 0xc0001aed80 [] 5}, SAS error: unable to build SAS token provider because (EVENTHUB_KEY_NAME and EVENTHUB_KEY_VALUE) were empty, and EVENTHUB_CONNECTION_STRING was empty
Could you please share the configuration guide for Event Hub integration?

Hello,
I didn't developed this output myself and don't know Azure, I asked to the person who integrated it to help us with.

It's been a while but we ran using AzureIdentity and AzureIdentityBinding, the code basically assumes the credentials will be set by AKS. Behind this line of code there are couple of methods it tries to get the credentials: https://github.com/falcosecurity/falcosidekick/blob/1963830d4e3e21799a2e49e071eb8ff4acedb093/outputs/azure.go#L32

If you want to use azure eventhub with the current solution you will need to define 4 environment variables.
export AZURE_CLIENT_ID="af000a07-rfvs-7852-a012-98521edb9b78""
export AZURE_CLIENT_SECRET="super-secret-password"
export AZURE_TENANT_ID="000000-0000-0000-0000-0000000"
export AZURE_SUBSCRIPTION_ID="000000-0000-0000-0000-0000"

This you can do with with the current helm chart using
config.extraEnv
But the bad thing with that is that you have to send in your AZURE_CLIENT_SECRET when installing falco exporter and that isn't awsome from a security point of view. Especieally if you are using GitOps and don't want secrets in your git repo (which you shoulden't).
So the solution for this is to use aadpodidentity (at least if you are running in azure) which is already supported in the helm.
I have written some code that I think will work for this. I will do some verification and I hope that I will be able to provide a PR to improve how we use aadpodidentity in falcosidekick.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

/remove-lifecycle rotten

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


chore(deps): upgrade pg15 to <IP_ADDRESS>

What kind of change does this PR introduce?
upgrade pg15 to latest version
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Fixes: https://github.com/supabase/cli/issues/2902

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 59.721%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
7652

Relevant Lines:
12813

💛  - Coveralls

Seems like these 15.8 images are not mirrored to ghcr and ecs
https://github.com/supabase/cli/issues/2977


Provide default names for all components

Development moved to presentation/grids, now only bugfixes in this repository.


Contribution Recognition for Taiko Team - Assistance with GITPOAP 2024 Minting #16392

Hello Taiko Team,
I am reaching out regarding a previous issue, #16392, which was mistakenly closed.
I intended to provide additional information and evidence of my contribution to Taiko Geth.
Unfortunately, the issue was closed before I could supply the necessary details.
I would like to rectify this and request a GitPOAP for my contribution. Here are the specific details :
Issue Raised: #160
Pull Request: #162
Discord Confirmation: @davidtaikocha has confirmed on Discord that I will be included in the new GitPOAP when it is created.
I understand from the documentation that opening a meaningful issue is also eligible for a GitPOAP. I believe my contribution through the issue and subsequent pull request aligns with the requirements.
I kindly request that a GitPOAP be awarded to me for this contribution. I would greatly appreciate it if you could manually invoke the GitHub bot to send the GitPOAP.
I have also made additional contributions to the Taiko project, including a merged pull request on taiko/website
Thank you very much for your attention to this matter.
I look forward to receiving the GitPOAP and continuing to contribute to Taiko
Screenshots

in the future.

any news? thanks for your answer

Hopefully you'll receive a response soon!

are you part of the team?

are you part of the team?

No i'm just a community member

i am excited to be part of Taiko team

@gitpoap-bot can you please award a poap to @samui68400

yay it worked. thx @samui68400

This is just a first step for me, I'm going to continue to do my utmost to learn and help the community and the project. Thanks


Alternative mathoid server for --texvcinfoUrl because api.formulasearchengine.com is really slow

Are there alternative servers for the --texvcinfoUrl parameter?
The default http://api.formulasearchengine.com/v1/media/math/check/tex is really slow for me and I can not setup a local mathoid  instance.

@leokraemer please describe why you can not set up a local mathoid instance.
There is a guide at
https://github.com/wikimedia/mathoid
which points to some OS dependent setup instructions
https://www.npmjs.com/package/librsvg#installation
For alternative locations you might want to refere to
wikipedia.org/api/

but in your own interest you should try really hard to set up mathoid locally

I finally succeeded to install mathoid by following the instructions, the most crucial step was to downgrade from the latest node LTS 4.6.0 to node 4.2.3.
Also I had to run npm install in the new \node_modules\mathoid\ folder to install missing packages and rename config.dev.yaml to config.yaml then I could start the server by running node server.js
This really makes the extraction fast, it went from over 1 hour (even with wikipedia.org ad host) to 55 seconds!
Side note: npm test fails on the jshint tests, but this does not seem to have an impact on the server.

I keep this bug open to investigate potential issues with mathoid together with @d00rman

ok I just tested with node 4.4.4 ... no issues

v4.6.0 works for me too.


Make more test cases

Make test case for barker code that will go in Test folder. Also make plotting code available too.

Also add way to test just spectrum and fitting of that spectrum. A fit surface would also be good to have too.

No fit surface test but a bunch of them were added.


[fix request] About DBFS in setting up Databricks streaming checkpoints

[Enter feedback here]
We think the description below is misleading.
One of our customers who is setting up streaming checkpoint get confused at the description.
======================================
You should not use DBFS for streaming checkpoint storage.
link
We guess the 'DBFS' means 'DBFS root' or 'default DBFS' which mounted on the managed storage account.
As there is a lock on that storage account, user can not manage or monitor that storage account.
We hope you provide quick fix about the description.
Thank you.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0e96ee75-2b72-d802-3cfa-82017916bcd9
Version Independent ID: 59c9093b-11fd-d2aa-d005-b6b7f1521a7a
Content: Streaming job gets stuck writing to checkpoint - Azure Databricks
Content Source: databricks/kb/streaming/streaming-job-stuck-writing-checkpoint.md
Service: azure-databricks
GitHub Login: @jose-gonzalezmunoz
Microsoft Alias: saperla

@shoshii Thank you for sharing feedback. We are actively validating it. We will share updates soon.

@mssaperla & @leifbro Could you please validate customer feedback and update document as appropriate? Thank you.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to review your issue and apologize for the delayed response. The scope of our feedback channel here on GitHub covers specific documentation fixes and this issue is related to the KB. We recommend that you visit the Databricks Knowledge Base to submit your feedback. Because this issue does not relate to documentation, we are closing this issue.
#please-close


Not subscribing to all events

Our Asterisk guy says that when I connect to he AMI interface I am not subscribing to events. I have FireAllEvents set to true before I Login, but he still says my session doesn't have events enabled and he has pointed me to This Page which shows an events option with the login action. I have checked the Asterisk Documentation and that is missing this parameter. Looking at the AsterNET Code there isn't another option for turn on events either.
So my question is, how do I turn on events if events isn't FireAllEvents?

You should be subscribed to events as part of the manager.conf not as part of you logging into AMI.
You're asterisk tech needs to determine which events you need to be subscribed too. See this: https://www.voip-info.org/wiki/view/Asterisk+config+manager.conf
See the read/write section of the user's config.

Yes, of course it depends on how you're blocking the read thread from ManagerReader.cs.
If you are wait for an event, execute some code inside that event that then waits for another event, you'll be blocking everything else!
You should look at: http://asternet.github.io/AsterNET/html/F_AsterNET_Manager_ManagerConnection_UseASyncEvents.htm


Maintenance: Create github actions for v3 branch

Why is this needed?
Our automation is configured to work when we open/merge pull requests in the develop branch. The v3 branch is the default branch for working on Powertools v3 issues, so, we need to add actions in this branch.
Which area does this relate to?
Automation
Solution
No response
Acknowledgment

[X] This request meets Powertools for AWS Lambda (Python) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Closed via #4232


Hamcrest to AssertJ conversion script

see : http://danhaywood.com/2015/04/17/converting-from-hamcrest-to-assertj/
Fix also the existing scripts as some regex are not correct

I did similar migration using bash script from Hamcrest to AssertJ in my commercial project with more than 16,000 different assertions. It's more advanced than the one from link, eg. it handles multi-line assertions without any problems and it converts about three times more different Hamcrest matchers, also without static imports.
I'm really willing to share my script after additional testing on other projects. @joel-costigliola, can you assign me to this issue?

16 000 assertions, impressive !
Your script would be a nice addition.
I can't assign the issue to you as you are not an admin of this project (I don' understand the rationale of this limitation), if you want to work on an issue just add a comment to say so.

OK, I'm taking it. The current version of my bash script uses perl to execute regular expressions to match multiple lines. Sed has a lot of problems with it. Is this fine? Or maybe I should rewrite the script to e.g.  Groovy?

Perl is fine as long as the script is commented, otherwise I would python but it's just a matter of preferences.

Perl is just used to do multiline replacement in file, the rest is Bash. You can monitor the progress at https://github.com/mkordas/hamcrest-to-assertj

This comment is a little late to the party.
I have created an IntelliJ plugin that can convert most JUnit and Hamcrest Assertions to AssertJ.
Assertions2Assertj - https://plugins.jetbrains.com/plugin/10345-assertions2assertj
Hopefully this will be of help to others.

@ricemery we will mention it in the website/doc, thanks for providing it!

I'll put a reference to @mkordas script in assertj website.


Update deploy_app.sh

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

Wrong button pushed during an Hashicorp hands-on session.
Closing the pull request.


Documentation is contradictory

The documentation seems broken to me, on one hand:

Service Discovery
...
The default discovery system is multicast DNS which requires zeroconf...

on the other hand, right after that, there's a section on Consul

Consul
Consul is used as the default service discovery system.

so which one is it? Or are they nonexclusive (you can use both at the same time)?

Mdns is the default. Consul used to be the default. We'll change the doc thanks.


Added the option to not weight cooccurrence counts by word distance

I am using GloVe in a context where the order of the tokens and distances between tokens in the context window don't have the same meaning as in most language modeling tasks. Just counting the unweighted cooccurrences leads to more meaningful vectors in some contexts. In the proposed change I am adding an argument in cooccur.c to take a flag to ignore distance between words when counting coocurrences.
The default behavior remains the same as before, so an explicit flag needs to be passed to switch on the new behavior.

Looks good!


translator loses spacing in block quotes

indents / spaces in a block quote from wiki have no indents in markdown.
see trac gcf tickets 320 and 323

commented out the regex that stripped out leading spaces. Not sure why that was there


Add AutoSuggestBox

SearchBox is in here but AutoSuggestBox is missing.

This is fixed by @tro's change from PR #37


[Feat]: Should we add more args to the command to specify some params or the location of config file

Please make sure you have read the above considerations and tick the confirmation box below.

[X] I'm sure this is a feature that has never been proposed and implemented.
[X] I've looked for the question I'm asking in Issue Tracker, and I didn't find the ISSUE for the same question.

Describe the solution
I have more than one clash instance. I want to control them separately.
At the moment, it looks like I can only create the data directory in two paths at the same time and have two binary files for clashtui.

A argument should be added to specify the location of the clashtui configuration.


⚠ Bofrost.at has degraded performance

In 4ba25cc, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1064 ms

Resolved: Bofrost.at performance has improved in 7d53d76.


MixedRealityPlayspace keeps being created, camera bug.

Describe the bug
Hello, i recently converted my unity project to a MRTK and getting ready to export it to my hololens 2 for testing. I keep getting an error where i have a playspace already thats set as main camera but once i exit out of unity and reopen it, unity will duplicate the playspace and put the one i want as a child to the new one that was just made. This gives me an error were there are too many cameras etc. below i uploaded a video to streamable thats a minute long and shows exactly what im talking about and what happens. Any suggestions or idea, been messing with this for a few hours and cant figure it out.
Screenshots
https://streamable.com/oxy5iq
Target platform (please complete the following information)

HoloLens 2
OpenVR

First time posting sorry if format is wrong

Hi @jarrettd96 it looks like your project has ended up in a weird state with the MixedRealityPlayspace gameobject not being named correctly. I recommend starting a new project and using the "Add to Scene and Configure" button to automatically configure your scene for MRTK.


fix flapping network issue

#34

Once entering: https://github.com/apache/helix/blob/helix-0.6.8/helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java#L815, we need to shutdown worker otherwise it will keep running without connecting to helix zookeeper.


Public map page fixes

[x] Use dropdown style in public pages like commercial

[x] User thumbnail alignment

[x] Edit in CartoDB button alignment

[x] In my opinion breadcrumb separator is too light

[x] Fix Vertical align

[x] Disqus block should take up all the available space (PLEASE) :)

[x] Footer styles appear weird (device: mobile)

[x] Hide module when dataset not used in any map

[x] margins between heart "vertical line" and "api call" should be 28px, text should be semibold (400 in lato) -> Issue created #5072

[x] Only 3 elements in "maps using this dataset"

[x] Login is pointing to this team url, should point to cartodb.com/login
This is another issue

[x] margin of this elements on the map should be always 20px to the edge

[x] Color for CTA button and links should be: #3AA9E3

[ ] Hide module when dataset not used in any map

[ ] margins between heart "vertical line" and "api call" should be 28px

[ ]

@carlostallon, your enquiries moved to the description ;)

And, about colors, @carlostallon, there is another ticket: https://github.com/CartoDB/cartodb/issues/5054, could we discuss there?

done! :)


Add the grid node id in the asset portfolio

And remove the grid node id in the orders since it can be retrieved from the asset portfolio

Hm this needs to be discussed. While a portfolio in general might have a grid node id, it is not obvious that it will always offer flexibility on that particular grid node. I don't see any particular use case for that now, but I will discuss it internally.
However, removing grid node id from orders does not make sense to us. If you post a BUY order you don't specify a portfolio, but you still want to declare where in the grid you want flexibility?

Oh indeed, I forgot this particularity of the buy orders. I agree to keep the gridNodeId in the orders then. And in that case, there is no point to add it in the portfolio..

If we do not add the gridNodeId in the portfolios, then I guess we may have to add a gridNodeId (or replace the assetPortfolioId by gridNodeId) in the baselines and in the measurements. What do you think ?

We can not replace the portfolio id in a baseline with a grid node. The baselines applies to a specific asset(portfolio). There typically are many portfolios (and thus baselines) per grid node.

Furthermore, the FSPs are not necessarily aware which grid node id the portfolio is placed on, that is the responsibility of the DSO.

And in addition, we have a use case where we have movable assets, i.e. assets which can swap location (and thus grid node). The baselines would in that case better be linked to a portfolio, removing the need to update the grid node for already saved baselines.
However, we don't see a problem with adding grid node id to BaselineInterval per se. However, it should be up to the FMO whether this field is forbidden, optional or required.

Hello Narve,
I think there is a misunderstanding/misalignment on the workflow here. In our understanding, the asset portfolios are defined by the FSP/aggregator and should be related to a gridNode.
We should spend time during the meeting today to clarify the process. Then after good alignment on the process, we can discuss the impacts on the API.
Concerning the movable assets, can you clarify the use case ? From my business point of view, I see a lot of potential problems when doing this. And I really don't believe this has ever been considered in any of the demos.

Note from meeting: Clean up the PR so that it only adds gridNodeId to Portfolio and nothing else.


Update GUIDE.md

Function changed

Coverage remained the same at 91.096% when pulling 0acbbb5312eea2ae6a261f8b835620bfb5c3ac8e on ayazahmadtarar-pikessoft:patch-1 into 986ab1e3d63c9217170a76c829bb3dfa05f11f28 on bitpay:master.


chore(docs): remove samples

Samples have been migrated to https://github.com/GoogleCloudPlatform/python-docs-samples/tree/main/secretmanager/snippets. Do not merge until snippetbot is happy, there may be docs updates still need.

Submitted cl/521009374, just need to wait for snippetbot to catch up.

Missed one, sent cl/521312942 to finish up.


Create documentation on best practices/how to develop for integrated Explorer/Portal

Historically, the development of Explorer and Portal has been disjoint -- one could work on developing features for one app without thinking too much about the impact of the other. Over time, the two apps have become more intertwined and as such, the architecture will be moving more towards a microservice-based architecture.
In order to accelerate onboarding for new engineers and to share best practices around development for this larger system, we would like to create some documentation on how an engineer can develop new features for the applications and ensure that that the other is working as expected. This documentation should also be helpful for engineers that are working on building out features that span both applications.
As part of creating documentation on best practices for setting up an environment to develop across the two apps, we can also consolidate individual READMEs to set up the dev environment into this single doc page.
Definition of Done: Create a new page in /how-we-work that discusses the above. Remove any duplicate information from READMEs in other repos.

This would include all infra & ops docs, covering deployment, Terraform, testing, etc.?

Deprecating this ticket as we have updated instructions from the Onboarding doc.


Bump versions

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6602236253

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6602236253
Status: success


compute_success and condition_list in the new pipeline

trialexp version: dev f0d71ae
Python version: 3.9.16
Operating System: Version	10.0.19045 Build 19045

Description
We need clearer definitions of the trial types as well as success for the analyses.
Currently, much of the pipeline relies on compute_success()

https://github.com/juliencarponcy/trialexp/blob/spike_sorting/trialexp/process/data_import.py#L648
https://github.com/juliencarponcy/trialexp/blob/master/trialexp/process/data_import.py#L648

reach_time_before_reward = self.df_events.loc[:,['spout_trial_time','US_end_timer_trial_time']].apply(
        lambda x: find_last_time_before_list(x['spout_trial_time'], x['US_end_timer_trial_time']), axis=1)

However, the definition of success there is if water (US_end_timer_trial_time) is preceded by spout (spout_trial_time). Successes include water_by_bar_off and button_press. We can argue about this, but for most of the analysis, this is probably not good enough.
To compensate for this, at the time of analysis, we defined a list of dictionaries to be more specific in the old pipeline.
# Defime each trial type as a dictionary of conditions to be met

conditions_dict1 = {'trigger': 'hold_for_water', 'success': True, 'button_press': False, 'break_after_abort': False, 'water by spout': True}
conditions_dict2 = {'trigger': 'hold_for_water', 'success': False, 'button_press': False, 'break_after_abort': False}
conditions_dict3 = {'trigger': 'hold_for_water', 'success': False, 'button_press': False, 'break_after_abort': True}
# conditions_dict2 = {'trigger': 'hold_for_water', 'spout':False, 'valid': True, 'busy_win_timer': False, 'button_press': False}

# Aggregate all condition dictionaries in a list
condition_list = [conditions_dict1, conditions_dict2, conditions_dict3]

# Aliases for conditions
cond_aliases = ['hit','miss','abort']

How they are treated:
https://github.com/juliencarponcy/trialexp/blob/d42df8479ff7e4544c4e75a9d799198a61c4648a/trialexp/process/data_import.py#L1130
How about this Dataframe?
On the other hand, workflow\scripts\01_process_pycontrol.py (dev branch) creates and save df_condtions.pkl, which looks like this:

df_condtions.pkl has the following keys/columns:

uid
trigger
valid
break_after_abort
US_end_timer
water_on
water by bar_off
water by spout
water for free
water success
busy_win_timer
spout
button_press
waiting_for_spout
success

What we need
I think we should be able to define different types of categories. Each with a timestamp of trial onset.

Success (water_by_spout)

water_by_spout should be good
You can also check if water is delivered after spout as in compute_success(), but this is not good enough

water_by_bar_off (water_by_bar_off)
water_by_button (button_press )

Need to be careful with this one. If a button_press happened after trial onset before busy_window, that should be counted as water_by_button or something

abort ( break_after_abort)
Miss (none of above)

They can be used as a Coordinate in xArray
Questions to you!
@juliencarponcy @teristam @Rashasoliman80

Can we agree on the 5 categories of the trials above? Can you think of more? Or are these too many???
At what level should this be covered??? This probably takes task-specific code and Snakemake pipeline is meant to be more generic. So, it's a bit difficult to find the best place.

Do this outside of the pipeline (the same idea as the old pipeline)? --- can be error-prone
Do this by replacing compute_success() in the pipeline? --- This can break many things
Embed the definitions somehow in a CSV file? --- Probably we need Python code

At the architecture level, I believe that it should be flexible and based on:
https://github.com/juliencarponcy/trialexp/blob/master/params/tasks_params.csv
This to allow any arbitrary number of arbitrary combination of the declared events or condition for a task.
This is more in:
https://github.com/juliencarponcy/trialexp/blob/d42df8479ff7e4544c4e75a9d799198a61c4648a/trialexp/process/data_import.py#L1239-L1313
Trial type computation (arbitrary like: hit abort miss) could possibly be added on the already computed xarray since all events and conditions are already presents there. Ths would create a new coordinate ("trial_type"?) which would be a categorical string variable, and of the same length as the trial_nb coordinates.
The above cited function could possibly be adapted to the xarray.
Me to write (chatgpt helped) documentation to help
I personally think that 3 trial types to start with in our current analysis is enough, as I discussed with @kouichi-c-nakamura.
In the category you describe:

2 by bar_off could be either hit, aborted, or a miss so ambiguous or need to be even more specified and hence too many trial types and too few trials

Same for

3 button press which could be also hit miss etc.

Maybe so that function should take The following and consider adding 2 more categories trial_tyope like button_pressed and hit_bar_off ?

# Defime each trial type as a dictionary of conditions to be met

conditions_dict1 = {'trigger': 'hold_for_water', 'success': True, 'button_press': False, 'break_after_abort': False, 'water by spout': True}
conditions_dict2 = {'trigger': 'hold_for_water', 'success': False, 'button_press': False, 'break_after_abort': False}
conditions_dict3 = {'trigger': 'hold_for_water', 'success': False, 'button_press': False, 'break_after_abort': True}
# conditions_dict2 = {'trigger': 'hold_for_water', 'spout':False, 'valid': True, 'busy_win_timer': False, 'button_press': False}

# Aggregate all condition dictionaries in a list
condition_list = [conditions_dict1, conditions_dict2, conditions_dict3]

# Aliases for conditions
cond_aliases = ['hit','miss','abort']

Displaying hit, abort and miss as selectively defined above should be enough for plot clarity?
Open to all the above. I hope that could be of help.

Thanks, I'm kind of in the surgery, so I can't answer in detail, but for now I still maintain that the 3 categories of trials you mentioned (hit, miss, abort) are not good enough to compute success. My concern is that including button press and bar_off in success can mislead ourselves. If you can assure me and others that it's not the case (i.e. we don't have to worry about that), that would be great. Right now I don't fully understand how comute_success() affects other things in the pipeline.

At the architecture level, I believe that it should be flexible and based on: https://github.com/juliencarponcy/trialexp/blob/master/params/tasks_params.csv
This to allow any arbitrary number of arbitrary combination of the declared events or condition for a task.
This is more in:
https://github.com/juliencarponcy/trialexp/blob/d42df8479ff7e4544c4e75a9d799198a61c4648a/trialexp/process/data_import.py#L1239-L1313
Trial type computation (arbitrary like: hit abort miss) could possibly be added on the already computed xarray since all events and conditions are already presents there. Ths would create a new coordinate ("trial_type"?) which would be a categorical string variable, and of the same length as the trial_nb coordinates.
The above cited function could possibly be adapted to the xarray.
Me to write (chatgpt helped) documentation to help
I personally think that 3 trial types to start with in our current analysis is enough, as I discussed with @kouichi-c-nakamura.
In the category you describe:

2 by bar_off could be either hit, aborted, or a miss so ambiguous or need to be even more specified and hence too many trial types and too few trials

Same for

3 button press which could be also hit miss etc.

Maybe so that function should take The following and consider adding 2 more categories trial_tyope like button_pressed and hit_bar_off ?

# Defime each trial type as a dictionary of conditions to be met

conditions_dict1 = {'trigger': 'hold_for_water', 'success': True, 'button_press': False, 'break_after_abort': False, 'water by spout': True}
conditions_dict2 = {'trigger': 'hold_for_water', 'success': False, 'button_press': False, 'break_after_abort': False}
conditions_dict3 = {'trigger': 'hold_for_water', 'success': False, 'button_press': False, 'break_after_abort': True}
# conditions_dict2 = {'trigger': 'hold_for_water', 'spout':False, 'valid': True, 'busy_win_timer': False, 'button_press': False}

# Aggregate all condition dictionaries in a list
condition_list = [conditions_dict1, conditions_dict2, conditions_dict3]

# Aliases for conditions
cond_aliases = ['hit','miss','abort']

Displaying hit, abort and miss as selectively defined above should be enough for plot clarity?
Open to all the above. I hope that could be of help.

Yes, all the conditions are already in the array. We just need a way to map those conditions to a string representing trial outcome. Perhaps we can organize the trial outcome definition in a pandas dataframe/csv and store it somewhere else?
I doubt hard-coding them will be a good solution because those definitions will depend on the task the animal is doing (e.g. in some task there is no hold_for_water event)

Thanks, I'm kind of in the surgery, so I can't answer in detail, but for now I still maintain that the 3 categories of trials you mentioned (hit, miss, abort) are not good enough to compute success. My concern is that including button press and bar_off in success can mislead ourselves. If you can assure me and others that it's not the case (i.e. we don't have to worry about that), that would be great. Right now I don't fully understand how comute_success() affects other things in the pipeline.

I think you are mislead a bit by the distinction between hit (arbitrary set of conditions) and success defined by compute_success():
compute_success() is just computing whether the spout was touched before the reward was delivered, but then my dictionary precise the 'hit' category as:
hit = should include only trials where button_press was not pushed and the reward was delivered by 'water_by_spout'
So specifically, compute_success disregard any complex logic and just say if the spout was touched prior to reward (for the ensemble of tasks where events and triggers are similar, this is time-based logic.
On the other hand the dictionary specify non-time-based logic and allow to further refine trial type as hit = (success Union water_by_bar_off Union non-button-pressed)
Don't know if this helps

Thanks, @juliencarponcy . I see that hit and success are defined differently in different places. They are different but similar to some extent. It sounds a bit like "double standard" to me. Couldn't this cause a problem? Like the trial numbers do not add up? Or put it another way, why do we need two different rules?

I forgot to include free_reward in the description above.

Success (water_by_spout)

water_by_spout should be good
You can also check if water is delivered after spout as in compute_success(), but this is not good enough

water_by_bar_off (water_by_bar_off)

controlled by v.consec_fail_for_bar_off_water

free_reward

controlled by v.consec_fail_for_free_water

water_by_button (button_press )

Need to be careful with this one. If a button_press happened after trial onset before busy_window, that should be counted as water_by_button or something

abort ( break_after_abort)
no reaching (none of above)
human intervention

Cannot determine with pycontrol data
Needs DLC or red channel analysis

@teristam

I have implemented this trial_outcome separation in my branch. Now working on the plotting part. However, one thing I noticed during the implementation is that all these conditions must be mutually exclusive (there can be only 1 outcome type per trial). And in the case where there can be more 1 type in a trial (e.g. water by spout and free water), we must determine their relative priority.
There is also on more late reach, the animal did not reach out during the reward window but only during the inter-trial interval.

Fixed in #45


tutorial problem on readthedocs

going through the tutorial here: http://bigchaindb.readthedocs.io/en/master/python-server-api-examples.html, i found i needed to manually create and add blocks in order to insert the actual transactions:
y=b.create_block([tx_signed])
b.write_block(y)

where b is the Bigchain object in the tutorial.

Did you do these steps
$ bigchaindb configure
$ bigchaindb init
$ bigchaindb start

If bigchaindb start process is running it should pick up the transactions and create the blocks after using b.write_transaction(..)

I did, (and have wiped down the db, re-initialized, and started from scratch to be sure) but no joy.  the only thing I notice is, at bigchaindb start I see the following:
Process validate_transactions:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/multiprocessing/process.py", line 254, in _bootstrap
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/jamie/Code/bigchain/venv/lib/python3.5/site-packages/bigchaindb/block.py", line 60, in validate_transactions
    self.q_tx_to_validate.qsize(),
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/multiprocessing/queues.py", line 117, in qsize
    return self._maxsize - self._sem._semlock._get_value()
NotImplementedError

in the shell output before gunicorn starts.  Also, I am running this on OSX with a native installation of everything (RethinkDB 2.3.1 installed to OSX not VM/Docker, etc).  Python v3.5.1

Yes its a known problem. We are currently only focusing on supporting linux. For other systems we have a docker deployment http://bigchaindb.readthedocs.io/en/latest/installing-server.html#run-bigchaindb-with-docker

Understood - it's worth pointing out that docker is quite a bit less convenient for developing against the server api, which is my main interest.

@jvsteiner I understand. Although with the new docker setup you can access the running in a docker container from the host


 I don't know what I will do with this information :trollface:

I forgot about this issue, I think I made it while I was severely under the influence at nix.camp

Understandable, don't do drugs kids


[NEW ALGORITHM] Implement Pigeonhole Principle-Based Sorting Algorithm

Issue Title: Implement Pigeonhole Principle-Based Sorting Algorithm
Description:
This task involves implementing a sorting algorithm based on the pigeonhole principle, an often-overlooked but powerful concept in combinatorics. The pigeonhole principle asserts that if there are more items than containers, at least one container must hold multiple items. In sorting, this principle is applied by mapping values to unique "pigeonholes" (or bins) based on their range or specific properties, making it highly efficient for certain types of data.
The Pigeonhole Sorting algorithm is most suitable for datasets where values lie within a small, fixed range, allowing each value to be directly placed into an array bucket, which makes it faster than comparison-based sorts like quicksort or mergesort for constrained ranges.
What It Will Do:
The implementation will involve:

Identifying the minimum and maximum values in the dataset to determine the range.
Creating a set of "pigeonholes" (bins) based on this range.
Iteratively placing each item in the dataset into its corresponding pigeonhole.
Retrieving items in sorted order by reading from the pigeonholes.

Benefits:
This algorithm is efficient for integer-based sorting with a constrained range and will provide a unique solution for handling data in specific scenarios, such as preparing data for radix sort or simplifying histogram-like problems. Implementing this algorithm will also introduce users to the pigeonhole principle, a useful concept in both combinatorics and computer science.
Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

https://github.com/AlgoGenesis/C/tree/main/Sorting Algorithms/Pigeon Hole Sort


Refactor rgbd_camera_bridge demo

Refactors the rgbd_camera_bridge demo leveraging the latest improvements in ros_gz.

I replaced the previous launch file from Python to XML.
I didn't tackle the options using ros_gz_image or ros_gz_point_cloud for now.

Summary

Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Do you to add the Grid plugin to RViz?

Is this plugin available for rolling?

Do you to add the Grid plugin to RViz?

Loaded in aebe372.

similar comment #634

This one is a bit tricker. The rgbd_camera sensor publishes on the ROS side:
- topic_name: "/rgbd_camera/image"
 ros_type_name: "sensor_msgs/msg/Image"
- topic_name: "/rgbd_camera/camera_info"
  ros_type_name: "sensor_msgs/msg/CameraInfo"
- topic_name: "/rgbd_camera/depth_image"
  ros_type_name: "sensor_msgs/msg/Image"
- topic_name: "/rgbd_camera/points"
  ros_type_name: "sensor_msgs/msg/PointCloud2"

All of these topics share the same frame_id, which is rgbd_camera/link/rgbd_camera. The problem is that the ROS/Gazebo coordinate convention is different for all these topics except for /rgbd_camera/points, which is correct.
The proper solution should be to republish /rgbd_camera/image, /rgbd_camera/camera_info and /rgbd_camera/depth_image with a different topic and also changing frame_id. We could then add a static_transform_publisher for the new frame_id with the transformation.
Alternatively, we could also try to resurrect #257 and combine it with some remappings similar to https://github.com/osrf/mbzirc/blob/main/mbzirc_ign/src/mbzirc_ign/model.py#L235-L260 (thanks @iche033 for the pointers).
I'd leave it for a separate PR.


Faster ways to process messages

I think we need to process messages faster, specifically spending less time on transporting messages from the sidecar to the main container.

For builtin steps, we could execute this within the sidecar.
Unix domain socket.
Change from HTTP to socket transport (event stream). This could introduce async replies (which we might want).

Alternatives:
https://docs.oracle.com/cd/E19455-01/806-4750/6jdqdfltn/index.html

In process PoC:
Before: 2ms

After: 160μs (10x faster)

UDS (up to 2x faster):

Language support:

Lang
UDS
Sys-v
shm
mmap

Java
No?
No
No?
Maybe

Golang
Yes
Yes
Yes
Yes

NodeJS
Yes
Maybe
Maybe
Maybe

Python
Yes
Maybe
Maybe
Maybe


Backers wall streep page

Kneits

Pull Request Test Coverage Report for Build 69

5 of 57 (8.77%) changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-8.08%) to 71.775%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/App/Buixieval/Backer.js
2
5
40.0%

src/App/Buixieval/BuixievalSelection.js
2
6
33.33%

src/App/Buixieval/Buixieval.js
0
20
0.0%

src/App/Buixieval/Grid.js
1
26
3.85%

Totals

Change from base Build 68:
-8.08%

Covered Lines:
512

Relevant Lines:
658

💛  - Coveralls


[NEW FEATURE] NGC masks

Some NGC objects are large, closeby galaxies, which should be masked.
E.g. this is a zoom-in of the shape catalogue of P7:

Some NGCs are too small and/or faint to cause problems, some are included in the Messier catalogue.
The rest should be masked.

Checked again, there are 7840 objects in the NGC. The catalogue we provide with the pipeline has all those, and an additional 3866 objects from the IC II (Index Catalogue lI, update to NGC from 1908).
So this should be a pretty complete list of NGC(+) objects. I think we can close this PR.


Add helper methods to make it easier to modify the schema

Product
Hot Chocolate
Is your feature request related to a problem?
If you add a base classwith the AddType, Hot Chocolate will automatically add the sub classes as well.
We have two requirements:

Possible to have more than one endpoint with different subsets of the whole schema.
Some of the subclasses of base class should not be included in any of the schemas

From what we have been able to figure out, it is hard to modify the types in a schema as it is now. You can remove fields relatively easily with a TypeInterceptor, but it is not easy to remove a type from the schema. Yes, we can use Dynamic Schemas, but that means quite a bit of work, and it introduces a lot of complexity for something that is almost perfect with a much simpler implementation.
The solution you'd like
We see two possible solutions that we think will improve Hot Chocolate and they should be relatively easy to make:
1.) Create an overload for AddType where subclasses aren't added automatically, so we can control which types we add to the schema. This would allow us to do something like this to build the schema:
var allTypes = StaticContext.GetAllContentTypes().Where(p => p.IsClass && !p.IsAbstract && p.GetTypeInfo().IsSubclassOf(typeToSearch)).ToList();
var filteredTypes = allTypes.Where(t => !excludedTypes.Contains(t)).ToList();
foreach (var type in filteredTypes) {
    builder.AddType(type);
}

2.) Create some helper methods to alter the schema after it has been generated. Entity GraphQL have some methods you could use for inspiration that would solve our usecases (https://entitygraphql.github.io/docs/schema-creation#modifying-the-generated-schema):
schema.UpdateType<Person>(personType => {
    personType.RemoveField("firstName");
    personType.ReplaceField(
        "lastName",
        p => p.LastName.ToUpper(), // new expression to resolve the lastName field
        "New description"
    );
});
schema.RemoveType<TType>();
schema.RemoveType("TypeName");
// Remove a type and all fields that return that type
schema.RemoveTypeAndAllFields<Type>();

The HotChocolate schema immutable. Once a schema is composed it cannot be changed.

Create an overload for AddType where subclasses aren't added automatically, so we can control which types we add to the schema. This would allow us to do something like this to build the schema:

This basically exists, you can use the type objects to  specify which fields shall be added. If you add a field also the return type will be inferred. But only if you do not specify a more precise configuration first.
In the end we guarantee consistency.

Create some helper methods to alter the schema after it has been generated.

As said, Hot Chocolate schemas are immutable and will even use frozen collection for .NET 8. For the execution engine we need the guarantee that a schema cannot change and it must be optimized for execution performance.
Why dont you use type definitions to mutate things? If you remove all usages of a type in a type interceptor we will remove  that type at the end of the process.
For version 14 we have created a project called HotChocolate.Skimmed which is a mutable schema. Its still in early development. It allows to refactor and reshape a schema. We at the moment use it to reshape schemas in a distributed context.
We have plans for redoing the schema builder for version 15 and also use skimmed there to allow for a more powerful schema inference engine. But this is a fairly complex task and at the moment at least 1 1/2 years off.
https://github.com/ChilliCream/graphql-platform/tree/main/src/HotChocolate/Skimmed

I am closing this issue since what you want can be achieved already with version 13 although you need some lower level understanding of the type system for that.

@michaelstaib Thank you for replying and explaining. Either I'm not understanding the TypeInterceptors, or I'm not explaining our use case very good.
We already use the Type Interceptors to remove some properties we have in our C# classes that we don't want as fields in our schema.
public override void OnAfterInitialize(ITypeDiscoveryContext discoveryContext, DefinitionBase definition) {
            if (definition is ObjectTypeDefinition def) {
                var fields = (IList<ObjectFieldDefinition>)def.Fields;
                for (var i = fields.Count - 1; i >= 0; i--) {
                    if (fields[i].Name == "dataProvider" || fields[i].Name == "dataProviderCommon") {
                        fields.RemoveAt(i);
                    }
                }
            }
        }

But I can't find out how to remove types from the schema in a similar fashion.

Why dont you use type definitions to mutate things? If you remove all usages of a type in a type interceptor we will remove that type at the end of the process

This is the point I don't understand.
If we have 3 classes,
public class A{
	public string Name{get;set;}
	public int Id{get;set;}
}

public class B:A{
	public string Email{get;set;}
}

public class C:A{
	public int Calories{get;set;}
}

There are no usage of type B or C, but aren't they still added to the schema if I do builder.AddType()?
How do I remove type C from the schema in the above example?

@vlangber  you are probably looking for this:
            services
                .AddGraphQLServer()
                .ModifyOptions(x => x.RemoveUnreachableTypes = true

@PascalSenn Ok, I wasn't familiar with that option.
I guess what I'm wondering is what is the definition of an unreachable type?  Is it when there is are no queries or fields that reference the type? I can see what Intellisense is saying, but it's not clear to me what a Root Type is.

If it cannot be reached by writing a query, mutation or subscription.


Paged Flux abstractions

PagedFluxCore type has following properties:

PagedFluxCore is not tied to protocol (http/tcp etc), it assumes each page is of any type that Extends from Page contract. Though the type Page is generic, it's exists under http package, if needed we can have a new PageCore then Page extends from it.
Each Subscription to PagedFluxCore will have an internal java.util.Map associated with it, this is where page-retriever can store state and access it across multiple calls. When SDK implementer creates PagedFluxCore, he can pass an initial map (with some state), this map will be used as the base for state-per-subscription.
PagedFluxCore Ctr takes only one Function, PageRetriever, we don't explicitly ask for two retrievers (first and next). This function will be called initially with null-continuation-token and all subsequent calls will have a non-null-continuation-token
The PageRetriever returns Flux, so PagedFluxCore don't care it emits one item or multiple items, all it care is if the last item (last Page) of the Flux has a continuation-token then that will be used for the next invocation of PageRetriever

The generic abstraction don't assume there is a 1:1 mapping between a Page and a network-call, hence the pageRetriever returns Flux<T:Page>, if there is a 1:1 mapping then flux can emit one item, but if for whatever reason you want to emit multiple items (e.g. you retrieved multiple pages internally e.g. a range of pages) then you can do that.

The only  assumptions generic abstraction make are:
(1). Each Page has a pointer to the next page
(2). The last page will have this pointer as null

A quick overview of types:

PagedFluxCore (PFC) = no public continuation token (can be internal via state), supports state management
ContinuableFluxCore (CFC) = supports public generic continuation token, supports state management
SimplePagedFlux (SPF) = supports public string continuation token, no state management

PagedFluxCore (PFC):
The "PagedFluxCore" is the core base type and all it require is Flux<P:PageCore>. It doesn't enforce user facing continuation token constrain, hence "PageCore" contract contains only page items.
"PagedFluxCore" optionally support state through capture. The SDK implementor is free to use any number of objects for state, "PagedFluxCore" don't have to aware of type used for state. To support state capture, PagedFluxCore takes a "Provider (supplier) of Page retrieval Supplier".
ContinuablePagedFlux:
The "ContinuablePagedFlux" extends from "PagedFluxCore" and add support for continuation token. The continuation token is not tied to String, it can be anything that implements ContinuationToken contract.
The page type that "ContinuablePagedFlux" use is "ContinuablePage" which extends from "PageCore" and expose continuation token.
"ContinuablePagedFlux" also support optional capture based state management, hence it takes "Provider (Supplier) of Page Retriever Function that take continuation token".
SimplePagedFlux:
"SimplePagedFlux" extends from "PagedFluxCore" and specialized to String based continuation token, it does not support state, it's for most of the pagination scenarios in Az SDKs.

The mapPage method (which is marked as @Deprecated  in this PR) is used only by Data Lake SDK https://github.com/Azure/azure-sdk-for-java/blob/d6a8381fce62ea74c2658234004427ea0432748f/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceAsyncClient.java#L259 and

@JonathanGiles  we talked about identifying the places where mapPage is used: It is used only by Data Lake SDK as the moment https://github.com/Azure/azure-sdk-for-java/blob/d6a8381fce62ea74c2658234004427ea0432748f/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceAsyncClient.java#L259

Would this handle only requesting 1 page at a time and not trigger subsequent page requests? https://github.com/Azure/azure-sdk-for-java/issues/6518

@alzimmermsft Would this handle only requesting 1 page at a time and not trigger subsequent page requests: its configurable in the ContinuablePagedFluxCore Ctr through prefetch argument. If not specified we default to the reactor prefetch.

Any chance the a corresponding change is made to how PagedIterable works currently? https://github.com/Azure/azure-sdk-for-java/issues/6750 and https://github.com/Azure/azure-sdk-for-java/issues/6751 are the two sides of the sync and async paging concepts, this PR should resolve https://github.com/Azure/azure-sdk-for-java/issues/6750 but doesn't affect https://github.com/Azure/azure-sdk-for-java/issues/6751, would there be a follow-up PR to enable this concept for PagedIterable?

@alzimmermsft I will look into PagedIterable #6751 today.

@alzimmermsft, regarding mapping error in PagedIterable (#6751): it looks like PagedIterable is backed by a PagedFlux instance, the Ctr signature is:
public PagedIterable(PagedFlux<T> pagedFlux) {

So if the provided pagedFlux already has various error types mapped to one error type via decoration pattern I outlined previously then we don't need any special handing on PagedIterable. Right? Please let me know your thoughts.


React 18 Update

Hi
Are you planning to update to React 18?

Hi @fabich, yes! I just added a coworker of mine as collaborator to this repo. He will be upgrading. :-)


settings.json Broken after update to 1.31.0

VSCode Version: 1.31.0
OS Version: Windows 10 1809, Ubuntu 18.04, Ubuntu 18.10

Issue is that when opening settings to settings.json it only opens the user customized settings.json, It does not open it in 2 panes with the defaults on the side. and it does not open the ${workspaceFolder}/.vscode/settings.json when there is one.
Steps to Reproduce:

Open Settings page (json, not UI) through any method

I have tried it on my Windows 10 PC, my Ubuntu 18.10 Laptop and on my Ubuntu 18.04 VM (hyper-v) on the Windows 10 PC
Issue occurs even when extensions are disabled

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

settings.json unnecessarily opens twice (#65032)

Nope, I checked and these are different issues

https://code.visualstudio.com/updates/v1_31#_use-simple-text-editor-for-editing-settings-as-json

You are 100% correct, I just updated and wanted to try whether the title bar was fixed in Ubuntu 18.10 (it is), so I went into settings even before I read the release notes.
My mistake.
Thanks @usernamehw !


htobe64/32 functions are not standard POSIX

See http://www.unix.com/man-page/linux/3/htobe64/
"CONFORMING TO - These functions are nonstandard."
I tried building rippled on Alpine Linux, which uses a non-gnu libc (called "musl") and ran into this issue. My guess is, this just means that endian.h needs to be imported explicitly instead of assuming that conversion functions are globally available in https://github.com/ripple/rippled/blob/develop/src/ripple/basics/base_uint.h#L209 for example.


'debconf-apt-progress' seems to be broken on ubuntu

PR to resolve issue #426
stopped using debconf-apt-progress on ubuntu as it seems to be broken.

Thank you a lot @username-is-already-taken2  ... Can this solve more issues we have around here??
Seems good to merge into test branch... however didn't have the time to test and replicate this and now that we know that the package is causing issues .. I'd rather see it this as a more permanent solution rather the package and keeping users in the dark regarding installation progress ... IMO this is more "temporary" fix ...
Has the package been ditched? has it changed name? is it now part of another package?
think that replacing it with the correct package name and version would be more appropriate...
@redfast00 @0-kaladin what you think about it??

@username-is-already-taken2 made some more testing and it seems that the issue is a far more specific thing than a general issue ... this being said ... closing the PR.
Feel free to make a new PR if you notice that something needs fixing from our side!! =)
Thank you a lot @username-is-already-taken2


Support mixing 32-bit and 64-bit ancestor files

I've noticed some minor issues when compiling tundra using the MSVC toolset.
I get some compiler warnings (and since these warnings are treated as errors, it causes the following problems)
src\generic_scanner.c(131) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data
dest->is_system_include = scanner->bare_means_system;

c:\projects\github\tundra\src\generic_scanner.c(91) : warning C4701: potentially uninitialized local variable 'kw' used
This one is just sad, the compiler should be able to realize that kw is initialized (given that KWSET_COUNT is larger than zero). But MSVC doesn't.
Until now, I've just removed /WX from tundra.lua but maybe we could address these issues by ignoring the specific warnings. Or applying the following changes.
dest->is_system_include = scanner->bare_means_system;

into:
dest->is_system_include = (unsigned char)scanner->bare_means_system;

...and set kw to 0 from start on line 65.
No big deal really, and my C skills are not really that amazing so if there's a better way here, I'm all ears.
The last thing I've noticed is that there's appears to be alignment differences between MinGW (this is the cross compiler in question, right?) and MSVC. When I use the official tundra builds for win32 they always complain about a bad .tundra-ancestors file. And I've arrvied at the conclusion that this is due to compiler alignment differences (though, I could be wrong). Now I would fully expect this to be an issue between win32 and win64 builds but when talking about an official win32 builds and a MSVC build it would be nice if the .tundra-ancestors file could be reused. I have to perform full rebuilds when I try out things with tundra myself because of this difference.
To illustrate this point I download the source and the offical win32 build and then build tundra using tundra.
tundra win32-msvc-production-standalone

And that takes a couple of seconds but then everything is fine. But if I use the tundra.exe from tundra-output\win32-msvc-production-standalone now, I get the following error:
illegal ancestor file: 5360 not a multiple of 48 bytes

Maybe we could fix this with some compiler flags or metadata/attribute for forcing alignment across platforms?

Ah, yeah these warnings creep up because I don't use MSVC to build the official Tundra binary anymore, I cross-compile it with GCC on Mac OS X. I'll fix the warnings.
The ancestor warning you're getting is because you're mixing 64-bit and 32-bit versions of tundra. I'll rename the issue to be about that. The best thing to do is probably to keep time_t as a 64-bit quantity in the ancestor file for all platforms, or just print a warning and delete the ancestor file.

The warnings are fixed in e013382

Right, I should probably get to that (prematurely closed it).
While deleting the file works won't that cause a huge rebuild? Or is the ancestor file not that important?

Yeah the ancestor file tracks the signatures from previous builds, so if you wipe it everything will rebuild.
I have a fix for this issue I will push in tomorrow. It's better to avoid time_t entirely and use uint64_t instead.

Tested this myself today, worked really well.


Python dictionary keys are not necessarily in order of entry

Could cause trouble with running total.

https://pymotw.com/2/collections/ordereddict.html


No termination in 3 hours (when I cancelled)?

Hi, after I followed the setup instructions, I successfully make run which used the standard test.ml which took 4.7s. So far so good!  Now I'm wondering: is this something "dynlang" can't handle and should reject, or would it eventually terminate after (3..n..billions) hours, or might I have triggered a so-far undetected infinite-loop bug? Probably unlikely, but anyway maybe this is of interest to you here  =)

Hi Phil,
thank you for testing this prototype and for your report :)

is this something "dynlang" can't handle and should reject, or would it eventually terminate after (3..n..billions) hours

In theory, the type inference always terminates. In practice however, it may take 3 billions hours :) This is the case with this example. However, after 3 billions hours, I think it would infer a type successfully.
If we try with this other example (the only difference is the annotation on l):
let rec filter f (l:['a*]) =
  match l with
  | :Nil -> nil
  | (e,l) & :List ->
    if f e is True
    then (e, filter f l)
    else filter f l
  end

then it infers the type (('b -> Any) -> [ 'b* ] -> [ 'b* ]) & (('a -> Any \ True) -> [ 'a* ] -> [  ]), which is less precise that what we obtain by annotating f with the type ('a -> Any \ True) & ('b -> Any) (this is because the type inference does not try to give f an overloaded type).
The reason it takes so long is because of a combinatorial explosion. When infering the type for a recursive function, the type system first tries to infer a type for a stub function that is similar to filter but with an additional parameter filter (that intuitively represents filter itself and that will be called by the body):
let filter_stub filter f l =
  match l with
  | :Nil -> nil
  | (e,l) & :List ->
    if f e is True
    then (e, filter f l)
    else filter f l
  end

If you try to type this example, you will see that the type inferred is very complex, because the type inference tries to consider all the cases (if l is nil, if l is a pair, if l is either nil or a pair, if l is something else, etc., and then for each case it also tries multiple types for f and filter).
The second step is the one where the combinatorial explosion happens: the type system tries to type the application of the fixpoint combinator with filter_stub:
let fixpoint = fun f ->
  let delta = fun x ->
      f ( fun  v -> ( x x v ))
  in delta delta
(* Has type (('a -> 'b) -> ('a -> 'b) & 'c) -> ('a -> 'b) & 'c *)

let filter = fixpoint filter_stub

I am not going into the details here, but the idea is that for typing this application, the type system has solve a "tallying" problem (which the equivalent of "unification" but in presence of semantic subtyping). Here, as the type of filter_stub is very complex and feature many type variables, this tallying instance is too complex to be solved in a reasonable time (tallying is decidable but the complexity is exponential).
Maybe we may be able to infer a simpler type for filter_stub and/or to solve the tallying instance faster by using heuristics, but for this prototype I wanted to avoid using heuristics as much as possible.
I hope I have answered your questions, and thank you again for experimenting with this prototype!


"Isolate" command to act as inverse of filter

I often find myself in the situation of only wanting to analyze a single directory or filetype out of a target repo. Seems like a command that works like filter but instead marks all results not matching the pattern as irrelevant would be useful.

Have you tried the invfilter command?

Ah, that would be what I'm looking for :facepalm:


Fix #0 discriminators on new usernames

Some of the embeds still have the #0 discriminator at the end of their username in the footers.

Resolved with https://github.com/ThatGuyJacobee/Elite-Music/commit/1b563c1443233f458a53e2c22c57d020251b5ee4 commit!


Fix exception handling for getPLD/getTLD.

I've combined the two separate definitions of PSL in url.pxd. Previously, there were two conflicting definitions. One did not specify the required exception handling, and this one appears to
have been taking affect since it was first.
I've also switched over to using except + instead of except +ValueError. This allows the C++ code to throw other types of exceptions besides invalid_argument and for them to be mapped
correctly.
This fixes #56.

After this is merged, I'm going to bump the rep-cpp submodule to the latest version and push out a new release of url-py.


Black hole route cleanup

Custodian should have a capability to clean up black hole routes.

looks like #732 is also related (-kapil)

detect on a number of network misconfigurations added in #925 .. that includes bad routes in a route table, bad/dead peers. also has a missing route filter for peering connections.

i think we'll leave this at detection and notification which is implemented, modifying route tables feels like a bridge to far, i'd rather a human get involved to evaluate those.


Add decision making section to CONTRIBUTING.md

Fixes #143.
Signed-off-by: Nick Young<EMAIL_ADDRESS>

Codecov Report

Merging #149 (605154b) into main (0fe5e38) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #149   +/-   ##
=======================================
  Coverage   54.25%   54.25%
=======================================
  Files           6        6
  Lines         317      317
=======================================
  Hits          172      172
  Misses        137      137
  Partials        8        8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fe5e38...605154b. Read the comment docs.


count() in BooleanQuery could be early quit

Since all queries are pure disjunctional, we could quit early and make the logic much simpler?

This makes me think that we could also enhance this logic to count queries that have a mix of SHOULD and MUST_NOT clauses, in case this is something you are interested in looking into in a follow-up.

This makes me think that we could also enhance this logic to count queries that have a mix of SHOULD and MUST_NOT clauses, in case this is something you are interested in looking into in a follow-up.

Thanks @jpountz  I would like to look into it later.


Client Fullscreen Issue

Runelite will not go fullscreen on the client.
I had a runelite client that would go fullscreen earlier, but was having this issue https://github.com/runelite/runelite/issues/1449 . I redownloaded the runelite client from the website and now it will not go fullscreen. See picture

duplicate of #9696
try the launcher at this comment in the issue

I fixed the fullscreen issue but im still having problems with the sidebar glitch #1449. None of the previous solutions have been able to help and i have downloaded a new client twice.

https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration

I will let you know if this works. thank you for the quick response

This is still an issue. Any other ideas @Alexsuperfly ?

even with the earlier fix

hop in discord, its more suited to this kind of support

The individual who made this entered the discord and we were able to resolve the issue, it was hw acceleration and after messing around with the different methods to disable it he managed to finally get one to work.
This can be closed now.


StepCounterKotlin  stuck on empty white popup after selecting Google Account

Hello,
I try to run StepCounterKotlin sample.
After selecting a Google Account, an empty white popup is shown, just with a loader at the top. And it stuck in this place.
No errors are visible in logcat .  I tested in the emulator and on  Redmi Note 8 phone.
Package name match credentials for my Cloud project, package name matches the applicationId in the app/build.gradle file, and Signing-certificate fingerprint from debug.keystore is entered correctly.
Should I make some additional setup on Google API Console?
Best

I'm experiencing the same problems since yesterday, both on a custom app as well as in the BasicHistoryApiKotlin sample.
After selecting a Google account the popup where the permissions are selected is blank and only see a circular loading indicator.
It will stay indefinitely like that unless I cancel the popup.
I tested on an emulator, a Huawei Pro 20 Lite, and on another device, with four different accounts, same result...
Also have the correct configuration in the Google Cloud Console, tried on two different projects, one of them brand new.
Any help would be appreciated.

I'm experiencing the same problems since yesterday, both on a custom app as well as in the BasicHistoryApiKotlin sample.
After selecting a Google account the popup where the permissions are selected is blank and only see a circular loading indicator.
It will stay indefinitely like that unless I cancel the popup.
I tested on an emulator, a Huawei Pro 20 Lite, and on another device, with four different accounts, same result...
Also have the correct configuration in the Google Cloud Console, tried on two different projects, one of them brand new.
Any help would be appreciated.

I am facing the exact same issue. Any updates yet?

I am facing the exact same issue. Any updates yet?

Seems like a few people are experiencing the same:
https://stackoverflow.com/questions/65759476/google-fit-api-login-stuck-at-loading/
Is there any way we can bring this to the attention of someone at Google?

Seems like a few people are experiencing the same:
https://stackoverflow.com/questions/65759476/google-fit-api-login-stuck-at-loading/
Is there any way we can bring this to the attention of someone at Google?

私も同じ問題に直面しています。
サンプルが動作せずに困っています。

私も同じ問題に直面しています。
サンプルが動作せずに困っています。

Facing the same issue, anyone finds the solution?

Facing the same issue, anyone finds the solution?

Same issue here, and the worst part is that it gives no error/warning message in logcat to tell us what is going on.

Same issue here, and the worst part is that it gives no error/warning message in logcat to tell us what is going on.

Same here,
user can still select an account [1], but then it goes into endless loading [2]
[1]

[2]

Same here,
user can still select an account [1], but then it goes into endless loading [2]
[1]

[2]

user can still select an account [1], but then it goes into endless loading [2]

はい。私のデバイスで同じ事が発生しています。
(Yes. The same thing is happening on my device.)

user can still select an account [1], but then it goes into endless loading [2]

はい。私のデバイスで同じ事が発生しています。
(Yes. The same thing is happening on my device.)

A couple of issues have been opened on Google Issue Tracker:
https://issuetracker.google.com/issues/177921105
https://issuetracker.google.com/issues/178029596
Hopefully Google takes notice soon.

A couple of issues have been opened on Google Issue Tracker:
https://issuetracker.google.com/issues/177921105
https://issuetracker.google.com/issues/178029596
Hopefully Google takes notice soon.

I found a solution, it is strange but anyway it works for me:

Delete your Cloud project
Instead of the following instructions from http://developers.google.com/fit/android/get-started  create a new project with firebase.
Add an android app in firebase project settings
Add both the SHA1 and SHA256 to it.
Download google-services.json to android/app in your project folder.
Make sure to have my "support email" set on general Project settings.

If this not help, please also check https://stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google
Guys have a similar problem with GoogleSignIn

I found a solution, it is strange but anyway it works for me:

Delete your Cloud project
Instead of the following instructions from http://developers.google.com/fit/android/get-started  create a new project with firebase.
Add an android app in firebase project settings
Add both the SHA1 and SHA256 to it.
Download google-services.json to android/app in your project folder.
Make sure to have my "support email" set on general Project settings.

If this not help, please also check https://stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google
Guys have a similar problem with GoogleSignIn

I found a solution, it is strange but anyway it works for me:

Delete your Cloud project
Instead of the following instructions from http://developers.google.com/fit/android/get-started  create a new project with firebase.
Add an android app in firebase project settings
Add both the SHA1 and SHA256 to it.
Download google-services.json to android/app in your project folder.
Make sure to have my "support email" set on general Project settings.

If this not help, please also check https://stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google
Guys have a similar problem with GoogleSignIn

IT WORKS!!!

I found a solution, it is strange but anyway it works for me:

Delete your Cloud project
Instead of the following instructions from http://developers.google.com/fit/android/get-started  create a new project with firebase.
Add an android app in firebase project settings
Add both the SHA1 and SHA256 to it.
Download google-services.json to android/app in your project folder.
Make sure to have my "support email" set on general Project settings.

If this not help, please also check https://stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google
Guys have a similar problem with GoogleSignIn

IT WORKS!!!

https://github.com/android/fit-samples/issues/58#issuecomment-765193687
ありがとうございます。
この返信を参考にして設定したところ、問題が解決しました！
私のプロジェクトでは、既にFirebaseでプッシュ通知を使っています。
実際に私が行った手順を送付いたします。

Google Cloud Platformの対象プロジェクトからOAuth2.0クライアントIDを削除しました。
Firebaseの対象プロジェクトの設定 > 全般 > マイアプリ > Androidアプリ > SHA証明書フィンガープリントにSHA-1のフィンガープリントを追加しました。
google-services.jsonを再ダウンロードしてappフォルダに格納（または変更）しました。

=====
Thank you very much.
I set it up with reference to this reply and the problem was solved!
My project already uses push notifications in Firebase.
I will send you the procedure that I actually took.

The OAuth 2.0 client ID has been deleted from the target project of Google Cloud Platform.
Added SHA-1 fingerprint to Firebase target project settings> General> MyApps> Android app> SHA-1 certificate fingerprint.
I re-downloaded google-services.json and stored (or modified) it in the app folder.

https://github.com/android/fit-samples/issues/58#issuecomment-765193687
ありがとうございます。
この返信を参考にして設定したところ、問題が解決しました！
私のプロジェクトでは、既にFirebaseでプッシュ通知を使っています。
実際に私が行った手順を送付いたします。

Google Cloud Platformの対象プロジェクトからOAuth2.0クライアントIDを削除しました。
Firebaseの対象プロジェクトの設定 > 全般 > マイアプリ > Androidアプリ > SHA証明書フィンガープリントにSHA-1のフィンガープリントを追加しました。
google-services.jsonを再ダウンロードしてappフォルダに格納（または変更）しました。

=====
Thank you very much.
I set it up with reference to this reply and the problem was solved!
My project already uses push notifications in Firebase.
I will send you the procedure that I actually took.

The OAuth 2.0 client ID has been deleted from the target project of Google Cloud Platform.
Added SHA-1 fingerprint to Firebase target project settings> General> MyApps> Android app> SHA-1 certificate fingerprint.
I re-downloaded google-services.json and stored (or modified) it in the app folder.

I can also confirm that this works, but hope there will be some guidance on how to use the fit api without needing to setup firebase.

I can also confirm that this works, but hope there will be some guidance on how to use the fit api without needing to setup firebase.

Another workaround https://github.com/krokyze/FitKit/issues/69
Publish the app at oauth consent screen setting

Another workaround https://github.com/krokyze/FitKit/issues/69
Publish the app at oauth consent screen setting

I am not getting the workaround to work. Do I not activate the Fitness API at all for the project? How would it know the allowed scope for Google Fit then?

I am not getting the workaround to work. Do I not activate the Fitness API at all for the project? How would it know the allowed scope for Google Fit then?

Another workaround is to switch your project (Oauth Consent Screen in console.developers.google.com) from testing to production.

Another workaround is to switch your project (Oauth Consent Screen in console.developers.google.com) from testing to production.

Another workaround is to switch your project (Oauth Consent Screen in console.developers.google.com) from testing to production.

worked for me

It worked for me too!

Having the same issue. All credentials (SHA1, Package Name, App Name) is properly set, and my Firebase project's Google Sign In method is enabled. Have tried what https://github.com/android/fit-samples/issues/58#issuecomment-765227174 said, but the OAuth2 screen just keeps on loading infinitely. I'm using Java. Any help is appreciated.

I can't get this to run.
In order to switch OAuth Consent Screen from test to production I need to record a video of how the google fit data is used within my app. I can't record the video because its not even working on my google accounts specified for testing.
So in order to make it work I have to show you a video of it working?

I found a solution, it is strange but anyway it works for me:
* Delete your Cloud project

* Instead of the following instructions from http://developers.google.com/fit/android/get-started  create a new project with firebase.

* Add an android app in firebase project settings

* Add both the SHA1 and SHA256 to it.

* Download google-services.json to android/app in your project folder.

* Make sure to have my "support email" set on general Project settings.

If this not help, please also check https://stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google
Guys have a similar problem with GoogleSignIn

Had the same issue, this works for me as well! Thanks a lot

Same here,
user can still select an account [1], but then it goes into endless loading [2]
[1]

[2]

I already created with firebase, but it have never fixed at my side. what solution? I hope your guide.

Same here,
user can still select an account [1], but then it goes into endless loading [2]
[1]

[2]

I already created with firebase, but it have never fixed at my side. what solution? I hope your guide.

Follow this step
Go to Google Console -> Select OAuth consent screen ->Test Users->Add Users->add your gmail account which you are using as signin and make sure you have added the scopes

Hi I followed the same process not able to proceed ahead @akdogan
@vkubiv Hi did you find any solution

I'm seeing this same issue on a different app where the GCloud project is under a GSuite account. This project was created recently.
Only users that belong to the orgnization are able to sign in. The OAuth consent screen is in "Production" and open to external users so the behavior is unexpected. There is no error whatsoever – just infinite loading.
I'm wondering if the app must be verified to work with external users (it says verificaiton not required)? This could be what's happening to others in this thread but Google's documentation is not clear enough for me to make a conclusion.
https://developers.google.com/fit/verification#what_are_the_authorization_changes

I am having the exact same issue as @osamaqarem. Members of our organization can sign in, but we get the infinite loading progress spinner whenever we use a Google account that isn't part of our organization. Our is also external, we've specified all of the fields, and we are going through the verification process.

@ToastedNickel It's suddenly stopped working for us again this week... without any code changes or adjustments to the GCloud project. Any chance you found any information about this? We're considering to pay for GCloud support so we can get some answers.

@ToastedNickel It's suddenly stopped working for us again this week... without any code changes or adjustments to the GCloud project. Any chance you found any information about this? We're considering to pay for GCloud support so we can get some answers.

Ours eventually started working, but not until Google finished verifying our account.

The publish status is production and the user type is external, it should work with an unverified app warning, but it gets stuck on a blank white popup.
It only worked after passing Google's OAuth consent screen review.
Because development/test apps are not subject to verification, users had to experience inconvenience before verification.

Any update on the above issue? We started facing it from 15 September.

I can also confirm that our issue was resolved as soon as Google verified our app.

Same here,
user can still select an account [1], but then it goes into endless loading [2]
[1]

[2]

I already created with firebase, but it have never fixed at my side. what solution? I hope your guide.

Follow this step Go to Google Console -> Select OAuth consent screen ->Test Users->Add Users->add your gmail account which you are using as signin and make sure you have added the scopes

working for me! thanks!


How to set the begin date (not the current day) and set the range of timeline (not all days)?

New Issue Checklist

[x] Use the latest version of CalendarKit
[x] I've read the Contribution Guidelines
[x] I've searched for existing GitHub issues

Issue Description
Code I'm using with CalendarKit

[INSERT CODE HERE]

Result I am trying to achieve

[INSERT API OR UI MOCKUPS HERE]

Hi, feel free to correct me if I'm wrong.
As I understood the question, you'd like to limit the user to be unable to view events before and after certain dates, so that the calendar displays only a specific range. For example, 12th December 2019 to 12th of January 2020.
Currently, there is no such functionality and issues #34 and #54 already request these features.
If you'd like to simply show a different date (other than Today) when the calendar opens, it's as easy as invoking a move(to:) method on viewWillAppear lifecycle event:
  override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    let desiredDate = Date()
    dayView.state?.move(to: desiredDate)
  }


Infinite loop when serializing feature flags

How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.18
Steps to Reproduce
from sentry_sdk._lru_cache import LRUCache

cache = LRUCache(3)
cache.set(0, 0)

copied = copy(cache)
copied.set(2, 2)
cache.get_all()  # spins forever

Expected Result
The loop breaks and flags are returned.
Actual Result
Infinite loop.

This is fixed by: https://github.com/getsentry/sentry-python/pull/3861
We missed a deepcopy on the LRU.  Added a deepcopy and am now using an explicitly terminating to prevent this error.

This has been released with version 2.19.2: https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#2192


Using a tilde (~) inside backticks freezes the epub builder

To replicate:
softcover new demo
cd demo
nano chapters/a_chapter.md

Add the following inside the chapter:
`~`

Then try to build the epub:
softcover build:epub

It will hang indefinitely it seems, not outputting errors or anything else. It appears that using a \q inside of backticks also does this if that helps figure out the root cause.
I'm also happy to dig myself if you can give a little guidances as to where to start.

I'm unable to reproduce. It works fine on my system. (It renders as \( \sim \), but that's a Markdown artifact. To get a tilde, use \textasciitilde.)


Ability to load unread properties after deserialization

Refreshed patch from https://github.com/mybatis/old-google-code-issues/issues/300
I also did refactor cglib & javassist deserialization proxy classes because they share some code. EnhancedResultObjectProxyImpl could be refactored the same way but I did not do that because it's not needed for this issue.

Why is a ConfigurationFactory necessary on the Configuration class when all the ConfigurationFactory just ends up returning a Configuration instance? Why do we need a completely separate instance of a Configuration instance?


vendors.js: Uncaught TypeError: Cannot read property 'apply' of undefined while using webpack

This occurs on hot module reload or refresh. Not sure why is this happening. I have to restart the build process to bootstrap the app again. Below is my config file:
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var path = require('path');
var VendorChunkPlugin = require('webpack-vendor-chunk-plugin');
module.exports = {
  'devtool': 'eval-source-map',

  'entry': {
    'vendor': [
      'react',
      'react-dom',
      'react-router',
      'react-redux',
      'redux-thunk',
      'react-bootstrap',
      'redux',
      'redux-form',
      'axios'
    ],
    'app':  __dirname + '/src/main.js'
  },
  'output': {
    'path': __dirname + '/build',
    'publicPath': '/',
    'chunkFilename': '[id].[name].chunk.js',
    'filename': '[name].[hash].js'
  },

  'module': {
    'loaders': [
      // JSX and JS transpilation using babel
      {
        'test': [/\.js$/, /\.jsx$/],
        'exclude': /(node_modules|bower_components)/,
        'loader': 'babel'
      },
      // SASS modularization using style, css and postcss sass loader
      {
        'test': [/\.css$/, /\.scss$/],
        'loader': 'style!css!sass'
      },
      // Font path loader
      {
        'test': /\.(ttf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
        'loader': 'file-loader?name=fonts/[name].[ext]'
      },
      // Image path loader
      {
        'test': /\.(jpe?g|png|gif|svg)$/i,
        'loaders': [
          'url-loader?limit=15000&name=images/[name].[ext]',
          'image-webpack?bypassOnDebug&optimizationLevel=7&interlaced=false'
        ]
      }
    ],
  },

  'sassLoader': {
    'includePaths': [
      path.resolve(__dirname, 'src/components/'),
      path.resolve(__dirname, 'src/components/common/assets/')
    ]
  },

  'resolve': {
    'root': [
      path.resolve(__dirname, 'src'),
      path.resolve(__dirname, 'src/components/common/assets/'),
      path.resolve(__dirname, 'src/components/common/'),
      path.resolve(__dirname, 'node_modules')
    ],
    'extensions': ['', '.js', '.jsx', '.scss'],
  },

  'plugins': [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin(),
    new webpack.BannerPlugin("App has been developed by PRDXN."),
    new HtmlWebpackPlugin({
      'template': __dirname + '/src/index.tmpl.html'
    }),
    new webpack.optimize.CommonsChunkPlugin('vendor', 'vendors.js', Infinity),
    new VendorChunkPlugin('vendor'),
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.optimize.UglifyJsPlugin({
      'minimize': true,
      'screw-ie8': true,
      'mangle': false,
      'compress': {
        'warnings': false
      },
      'output': {
        'comments': false,
        'semicolons': true,
      }
    }),
    new webpack.optimize.DedupePlugin()
  ],

  'devServer': {
    'contentBase': './build',
    'host': '<IP_ADDRESS>',
    'https': true,
    'colors': true,
    'compress': true,
    'hot': true,
    'historyApiFallback': true,
    'inline': true,
    // Display only errors to reduce the amount of output.
    'stats': 'errors-only',
  }
};

I can't find much about this bug. I have also cleared my browser cache and deleted all the cookies but to no avail.
I have also checked the vendor.js file. It's minified, but I can see it breaking on the hot module reload function. Any help would be much appreciated.

It's better to use CommonsChunkPlugin only for your production configuration. Please don't mix it with HotModuleReplacementPlugin as that's bound to lead to problems.
If it's still problematic after that change, please re-open at Stack Overflow.

Hey @bebraw , I ran into this problem as well (also using CommonsChunkPlugin).
In my case, I was relying on CommonsChunkPlugin to factor out common libraries (ie jQuery) that might have been relied on in multiple files (that were each included in my page). By removing CommonsChunkPlugin, it resulted in two jQuerys being loaded into the page and sometimes causing subtle interactions with each other.
I assume the correct fix is "you should only import one script per page, and only import a second (CommonsChunk) script if you're running in production".
Seems a bit limiting (and not sure it was documented as such, so thanks for responding on this thread). But if this is the hoop I need to jump through for hot reloading, then I'll do it... :P

And if these are incompatible, can/should there be some sort of check in webpack or a plugin, to error-out when these two plugins coexist?

@mikelambert I would need a concrete example to study to say anything more. Could you open a question at Stack Overflow and link to that?

I also had this issue when forgot to add 'new' before webpack.optimize.CommonsChunkPlugin (...)
before:          webpack.optimize.CommonsChunkPlugin (...)
after:     new webpack.optimize.CommonsChunkPlugin (...)

Even I add new before webpack.optimize.CommonsChunkPlugin (...) still I am getting Cannot read property 'apply' of undefined while using webpack (sometimes)

I'm having same issue. Strange is than I'm getting this error only on Android default browser and IE.


Changelog and versionning system ?

Hi there,
Again, I'm still grateful for your work ;). It would be great to have 2 things :

A versionning system
A changelog

I didn't see the fix for the last build : https://github.com/wolveix/satisfactory-server/commit/bc2733992892a7ccdd8809c6591988592864b821
Regards,

Versioning is now implemented, curtesy of @thijsvanloef :D
I'm torn about the changelog. I think I'll add a CHANGELOG file to the repo, but suggestions are welcome.

A changelof file to the repo should be fine :).

Gonna close this and add a changelog file in the next feature-related release :) Versioning is already implemented :D


Add a "Scroll to Top" Button

We need to add a "Scroll to Top" button that appears when the user scrolls down the page. The button should be styled to match the website's theme and offer a smooth scrolling experience.
Features to Include:
Button Visibility:
The button should be hidden when the page is at the top and only appear after the user has scrolled down by a certain amount.
Design:
Use CryptoX's theme colors (Black, White, Blue) to design the button.
The button should have a circular shape with an up arrow icon in the center.
Include a hover effect, such as changing the button color or enlarging the icon slightly.
Behavior:
The button should smoothly scroll the user back to the top when clicked.
Position the button at the bottom-right of the screen.
Responsiveness:
The button should be responsive and not interfere with content on mobile screens.
Ensure a consistent appearance across different screen sizes.

@Durgesh4993 Sir, Please assign this issue to me under WoB'24.
Thank You!!

Sir, Please assign this issue to me