[Settings] Rework update settings

Summary of the Pull Request
This PR reworks the ux for the update settings and update the description of the "update download" policy.

PR Checklist

[x] Closes: #30642
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Tested with a local build.

@jaimecbernardo
For me the settings window crashes when running as admin and I open the General page. Can you please check this. I don't know what is causing this.

@jaimecbernardo For me the settings window crashes when running as admin and I open the General page. Can you please check this. I don't know what is causing this. (Maybe it is not caused by the changes I made.)

It's crashing for me as well without running as admin. (just in this PR) Going to take a look.

@jaimecbernardo For me the settings window crashes when running as admin and I open the General page. Can you please check this. I don't know what is causing this. (Maybe it is not caused by the changes I made.)

It's crashing for me as well without running as admin. (just in this PR) Going to take a look.

It's not crashing if a debugger is attached, tough, which makes this a bit harder to debug 🤔

OK, from the crash dump, here's what I'm getting:
No installed components were detected.

Cannot apply a Style with TargetType 'CommunityToolkit.WinUI.Controls.SettingsCard' to an object of type 'Microsoft.UI.Xaml.Controls.InfoBar'.

@htcfreek , I'm guessing we can't put InfoBar inside settings expanders, only setting cards?
I assume that's likely to be it. Can you please also handle conflicts 😄  Thank you!

@htcfreek , I'm guessing we can't put InfoBar inside settings expanders, only setting cards?
I assume that's likely to be it. Can you please also handle conflicts 😄  Thank you!

@jaimecbernardo
We have to put the info bar into a settingscard. (That was new for me.) https://github.com/microsoft/PowerToys/blob/main/src%2Fsettings-ui%2FSettings.UI%2FSettingsXAML%2FViews%2FPowerLauncherPage.xaml#L345-L360

@htcfreek , I'm guessing we can't put InfoBar inside settings expanders, only setting cards?
I assume that's likely to be it. Can you please also handle conflicts 😄  Thank you!

@jaimecbernardo
We have to put the info bar into a settingscard. (That was new for me.) https://github.com/microsoft/PowerToys/blob/main/src%2Fsettings-ui%2FSettings.UI%2FSettingsXAML%2FViews%2FPowerLauncherPage.xaml#L345-L360

@htcfreek @jaimebernardo Better to put the InfoBar in the ItemsHeader and/or ItemsFooter.

@htcfreek , I'm guessing we can't put InfoBar inside settings expanders, only setting cards?
I assume that's likely to be it. Can you please also handle conflicts 😄  Thank you!

@jaimecbernardo
We have to put the info bar into a settingscard. (That was new for me.) https://github.com/microsoft/PowerToys/blob/main/src%2Fsettings-ui%2FSettings.UI%2FSettingsXAML%2FViews%2FPowerLauncherPage.xaml#L345-L360

@htcfreek @jaimebernardo Better to put the InfoBar in the ItemsHeader and/or ItemsFooter.

@niels9001
Can you push against my branch or post the code?

I expect that early next week I'll start trying to build release candidates.

@jaimecbernardo
The crash is fixed. It works like a charm.


Updated package.json

I have updated most of dependencies in package.json manually one-by-one without breaking anything.

Is the application still working properly? I can't check it now.

Yes, it's working like before.
I have attached a screenshot with code.

There was one warning in the console before updating anything, and it is still there and I am working on it. When I will figure it out will raise an other issue for it in future.

Great! Thank you!


First commit of GUI of BLE app.

This is a crude outline of the GUI component of the BLE telemetry app. It has a bottom navigation bar.

I just accidentally closed and reopened this pull request


relative urls missing base url on project page

I have a project page (https://user.page/project)
In my index.html if I make a link like so:
/foo
The link builds as https://user.page/foo
rather than https://user.page/project/foo (as expected)
I went so far as to add a base tag to the head.
<base href="{{ site.url }}">

I have other project pages that create the urls just fine, and I have the same settings in config.yml.. so I'm at a loss.
https://infominer.id/bitcoin-history
the very first link on that page is an example ^^^
thank you!

probably an operator error, but I defined a custom variable to work around it


Consider converting the if/elseif block inside Process-JAR into case/switch

See https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_switch?view=powershell-5.1
&
https://docs.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-switch?view=powershell-5.1
Not sure whether it's a good idea in this particular case yet, however.

I don't believe switch would provide any readability improvement.  It may even be a detriment because fewer people are familiar with it.


[8.x] Drop ramsey/uuid v3

laravel 8 supports php 7(by composer), but ramsey/uuid 4 required PHP 8 to be installed. Is it okey ?


Add IN_PARTITIONED_SUBQUERY support

Description
Add IN_PARTITIONED_SUBQUERY transform function to support IDSET aggregation function as the subquery on the server side. Because the subquery is solved on the server side, in order to make it work, the subquery must hit the same table as the main query, and the table must be partitioned at server level (all the segments for a partition is served by a single server).
E.g. The following 2 queries can be combined into one query:
SELECT ID_SET(col) FROM table WHERE date = 20200901
SELECT DISTINCT_COUNT(col), date FROM table WHERE IN_ID_SET(col, '<serializedIdSet>') = 1 GROUP BY date
->
SELECT DISTINCT_COUNT(col), date FROM table WHERE IN_PARTITIONED_SUBQUERY(col, 'SELECT ID_SET(col) FROM table WHERE date = 20200901') = 1 GROUP BY date

High-level comments on the signature of IN_PARTITIONED_SUBQUERY(col, 'SELECT ID_SET(col) FROM table WHERE date = 20200901')
Instead of taking a subquery as the last argument, shall we consider an expression? With the function IN_PARTITIONED_SUBQUERY and the first argument col, we can already construct the subquery together with the expression for the where clause.

High-level comments on the signature of IN_PARTITIONED_SUBQUERY(col, 'SELECT ID_SET(col) FROM table WHERE date = 20200901')
Instead of taking a subquery as the last argument, shall we consider an expression? With the function IN_PARTITIONED_SUBQUERY and the first argument col, we can already construct the subquery together with the expression for the where clause.

Can you please elaborate - maybe an example will help

Looking at the implementation, the subquery can take only predicates and which is translated to a filter. Then we might not want IN_PARTITIONED_SUBQUERY  to take a free-formed SQL query as the argument.
The signature can be :
IN_PARTITIONED_SUBQUERY (col, col_filtrerTable, filterTable, conditions_filterTable)

I think we are having mixed semantics here. Even though it is a combination of 2 queries, are implementation is a transform function. It is not a correct subquery syntax that we usually see in other systems.
The name of the transform functions should not contain subquery since it is implementation detail. On that  note, don't think transform function should even be used to implement subquery semantics in Pinot since that is not the standard SQL semantics.
We should just have the inner query in parentheses to implement a proper non correlated subquery in SQL. Is it absolutely necessary to have this subquery specified in a transform function?

Looking at the implementation, the subquery can take only predicate which is translated to a filter. Then we might not want IN_PARTITIONED_SUBQUERY  to take a free-formed SQL query as the argument.
The signature can be :
IN_PARTITIONED_SUBQUERY (col, col_filtrerTable, filterTable, conditions_filterTable)

@yupeng9 Added some validation on the subquery. I prefer having the sql query as the argument because that is more flexible, and we can add other subquery support easier in the future.

I think we are having mixed semantics here. Even though it is a combination of 2 queries, our implementation is a transform function. It is not a correct subquery syntax that we usually see in other systems.
The name of the transform functions should not contain subquery since it is implementation detail. On that note, don't think transform function should even be used to implement subquery semantics in Pinot since that is not the standard SQL semantics.
We should just have the inner query in parentheses to implement a proper non correlated subquery in SQL. Is it absolutely necessary to have this subquery specified in a transform function?

@siddharthteotia Currently our query parser & PinotQuery does not support inner query, thus we use transform function as a work around for this. In the future when we have the inner query support, we can change this to use inner query if necessary. This feature is in experiment phase, and I don't want to block this on the nested query project which has much bigger scope.


e2e: Reorder generate test cases

The script runs generation against 3 taxonomy types. Reorder so
knowledge is last. Whatever runs last is what training runs again. I
want knowledge last for testing some SDG library output in that repo,
since that's what is working first in the major rework happening at
the moment.
The impact shouldn't be noticable.
Signed-off-by: Russell Bryant<EMAIL_ADDRESS>

I'm going to quick merge this -- it's a trivial thing and I want it for testing some SDG library work.  I will keep an eye on this in case I typoed something, but otherwise it should have no impact for most people


When clicking "send to repeater" the generated request is application/x-www-form-urlencoded

Steps to reproduce:

Download http://petstore.swagger.io/v2/swagger.json
Open swagger.json in Swagger Parser
Find the POST /pet endpoint and click "send to repeater"

POST /v2/pet HTTP/1.1
Host: petstore.swagger.io
Accept: application/xml, application/json
Content-Type: application/json, application/xml

id={integer}&id={integer}&name={string}&name={string}&photoUrls={array}&tags={array}&status={string}

This is an application/x-www-form-urlencoded while content-type says  application/json, application/xml

@eoftedal thanks for the feedback. This behavior is the one expected, in the JSON swagger file at http://petstore.swagger.io/v2/swagger.json you can clearly see that the pet endpoint produces and consumes data of type application/json, application/xml. Consequently my advice is to manually edit the Swagger file and replace application/json, application/xml with application/x-www-form-urlencoded, see the following screenshot.

Hope my answer will help you.

If the endpoint consumes application/xml and application/json, why does swurg create a request of type application/x-www-form-urlencoded ?
I would like swurg to put JSON in the body, not application/x-www-form-urlencoded when the content-type from swagger clearly says application/json. Is it because of the duplicate content-types ?

@eoftedal that is a fair request, I will add it in the to do list.
Thanks,
Alex

https://github.com/aress31/swurg/commit/044ac747e10d5e19d18f50a00583bc16b37440e1


include filename property for files uploaded through the HTML UI

Resolves: https://jira.duraspace.org/browse/FCREPO-1850

Resolved with: https://github.com/fcrepo4/fcrepo4/commit/43678c283d11a99c2baf0e546d7dcd364b7be6ad


how to fix kicost or how to uninstall then new install it?

Sorry all. How to fix it? Please help me.
enhee@M92p-1:~/regulator/pcb_dzd1$ kicost --version
KiCost v.1.1.4
enhee@M92p-1:~/regulator/pcb_dzd1$ kicost -i dzd.xml
Progress:   0%|                                        | 0/29 [00:00<?, ?part/s]Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 996, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 314, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7ff619d77a00>: Failed to establish a new connection: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dev-partinfo.kitspace.org', port=443): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff619d77a00>: Failed to establish a new connection: [Errno 110] Connection timed out'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/enhee/.local/bin/kicost", line 8, in
sys.exit(main())
File "/home/enhee/.local/lib/python3.8/site-packages/kicost/main.py", line 306, in main
kicost(in_file=args.input, eda_name=args.eda,
File "/home/enhee/.local/lib/python3.8/site-packages/kicost/kicost.py", line 251, in kicost
api_partinfo_kitspace.query_part_info(parts, distributor_dict, currency)
File "/home/enhee/.local/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 353, in query_part_info
get_part_info(queries[slc], query_parts[slc], query_part_stock_code[slc])
File "/home/enhee/.local/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 197, in get_part_info
results = api_partinfo_kitspace.query(query, distributors)
File "/home/enhee/.local/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 124, in query
response = requests.post(QUERY_URL, {'query': query_type, "variables": variables})
File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='dev-partinfo.kitspace.org', port=443): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff619d77a00>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Progress:   0%|                                        | 0/29 [02:09<?, ?part/s]

Try:
pip3 uninstall kicost # To remove it.
pip3 install kicost # To reinstall it.
If you want it present to all user, use
sudo -H pip3 install kicost

I did it. But still showing this errors.

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dev-partinfo.kitspace.org', port=443): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff619d77a00>: Failed to establish a new connection: [Errno 110] Connection timed out'))

Means that the KitSpace server is offline. At the moment KiCost just rely on KitSpace into but is possible to change it to direct use Octopart (./kicost/distributos/api_octopart.py) or develop other API/scrape modules.

I received this. I will change HTTPSConnectionPool(host='dev-partinfo.kitspace.org', port=443) to Octopart (./kicost/distributos/api_octopart.py). But where is this function HTTPSConnectionPool(host='dev-partinfo.kitspace.org', port=443).

This is just a internal error of the library.
The function responsible to do the work is query_part_info(foo) on both files. To use Octopart you will need to have your on registered KEY (line 92 of api_octopart.py).


how does one get access to item magnet blacklist

I have the gene and it's not picking up cobble
there's a option in client config to see items in blacklist in tooltips but cobble doesn't show up there
how are you supposed to access the blacklist and edit it?  don't see a key command for it
geneticsresequenced-1.21-1.1.1

Currently it uses item tags, it should be the tag geneticsresequenced:magnet_blacklist. Cobblestone is the only item with that tag by default.

thanks!


reorder

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments.
[ ]  I have added necessary unit tests and integration tests.
[ ]  I have added test labels as necessary.
[ ]  I have added fuzzing tests or opened an issue to track them.
[ ]  My PR contains breaking changes.
[ ]  My PR changes performance-critical code, so I will run (micro) benchmarks and present the results.
[ ]  My PR contains critical fixes that are necessary to be merged into the latest release.

Documentation

[ ]  My PR needs documentation updates.

Release note

#19894  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Code sample will need updating due to changes in using the login.microsoftonline.com/common endpoint

I have been following the 30 days of MSGraph series and this article is used as the basis for days 23 & 24.
The code to login:
//Pass null for default authority (https://login.microsoftonline.com/common)
var myMSALObj = new Msal.UserAgentApplication(applicationConfig.clientID, null, acquireTokenRedirectCallBack,
{storeAuthStateInCookie: true, cacheLocation: "localStorage"});
Will need to be changed. If you use an App Reg that is not multi tenant you'll get the following error:
"AADSTS50194: Application 'XXXXXXXX' is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant."
If the code is changed to something like:
//Pass null for default authority (https://login.microsoftonline.com/common)
var myMSALObj = new Msal.UserAgentApplication(applicationConfig.clientID, "https://login.microsoftonline.com/<mytenant>.onmicrosoft.com", acquireTokenRedirectCallBack,
{storeAuthStateInCookie: true, cacheLocation: "localStorage"});
Basically pass in your tenant then the code will work. Alternatively you could configure the App Rge to be multi-tenant too perhaps?

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

ID: 4c6d2219-cb28-5527-1079-6e3195cad282
Version Independent ID: 70c2aad0-6883-51a9-fed7-01be62302483
Content: Azure AD v2.0 JavaScript single-page application (SPA) guided setup
Content Source: articles/active-directory/develop/tutorial-v2-javascript-spa.md
Service: active-directory
GitHub Login: @andretms
Microsoft Alias: andret

@colinrippeyfinarne Thanks for your feedback! We will investigate and update soon on it.

@MohitGargMSFT  I also raised an issue on Bob German's AADsamples repo:
https://github.com/BobGerman/AADsamples/issues/3
Bob mentioned that the issue I saw could have been down to me browsing to http://<IP_ADDRESS>:8080 and not to http://localhost:8080 so the error I see about multi-tenant settings could be misleading (just to give you some wider context).

@colinrippeyfinarne - thanks for your feedback - the code sample in Github was already updated with the single-tenant scenarios as well as the Quickstart - this content for this tutorial will be updated soon.

Please reassign to @navyasric as JavaScript SPA tutorial owner.

This should be addressed in the tutorial by this PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/72784

Issue has been resolved. #please-close

@navyasric  - your link 404s

@Verikon The PR is in a  Private repository. It has been merged with the public doc.


misspelled preference: asyncronousSoftwareUpdate

asyncronousSoftwareUpdate should be asynchronousSoftwareUpdate but it would need to be changed in the code and the docs.

Fixed with https://github.com/macadmins/nudge/commit/55cc93bb16ce330706345e3b87659418014fddab


odo watch constantly redeploying when running in the background

[kind/bug]

What versions of software are you using?

Operating System: macOs
Output of odo version: beta1

How did you run odo exactly?
odo watch &
Actual behavior

Interestingly this doesn't happen when odo watch is running in the foreground.
Expected behavior
odo watch should not constantly redeploy when nothing changes.

/kind bug
/priority high

I'm going to set this as priority medium as it's not very high at the moment on the list (not many people run odo in the background in this way...)

We are aware of this limitation and we will revisit this soon.
/lifecycle frozen

/close
No longer relevant with v3.
Feel free to reopen if you think otherwise.


Wildcard branch filters fail validation

Azure Pipelines now supports branch filters with general wildcard syntax: * or ? anywhere in the filter.  In the past, only "prefix filters" -- where * is at the end of the pattern -- were supported.
For example, the extension warns on these filters, which are actually valid:

Not sure if the same issue, but this fails, too:

Hmm, not sure if this belongs to the schema endpoint or to the language service. Tagging both @damccorm and @joscol.

This should be resolved on the schema side. We can just take out the stuff that excludes *

Added a PR internally to do this.

Fixed in https://github.com/microsoft/azure-pipelines-vscode/releases/tag/v1.155.0


Potential issue with LD functions

Thank you for this wonderful API, it's been very useful!
I am finding that it seems to "miss" some SNPs when I use _GET ld/:species/:id/:population_nam_e in humans.
For example,  rs492400 and rs600057 are 100k bps apart and have high ld (r2=1.0, d_prime= 1.0 in CEU). However, when I try to run  GET ld/:species/:id/:population_name on rs492400, rs600057 never pops up in the result, regardless of which 1000G population I use. It also doesn't work if I try to run the function on rs600057.
I'd really appreciate your help!

Hi @hsinyen, the C script which computes the LD values overwrites the window size and sets it to 100kb. I need to update the documentation of the endpoint accordingly. We used to see performance problems with an allowed window size of 500kb. If you need a larger window size than 100kb I recommend you try our perl script for computing LD. Thank you for reporting the error. If you have any questions for example regarding the LD script please contact<EMAIL_ADDRESS>or our helpdesk team.

Ensembl does not use Github to track bug reports. I will close this issue. If Anja has not resolved your problem, please contact us through<EMAIL_ADDRESS>or<EMAIL_ADDRESS>


Not working with normal Fragments and FragmentManager

It would be awesome if this library also work with Fragments and Fragmentmanager. Some people like me don't use support fragments.

Good call. I'll fix this ASAP.

Now working in the latest version, which is 1.1.1., and you can use both normal and support Fragments with the way.


This is used to reduce the amount of images that are downloaded.
This change is to enable this functionality by pushing the option up into oc-mirror.
From initial investigation there are 4 places where this change is required.
./cli/mirror/options.go In here a new a new variable for 'filter-by-os' is added which defaults to .*
OR
./config/v1alpha1/config_types.go In here a new variable for 'filter-by-os' is added which defaults to .*
./cli/mirror/operator.go:	a.FilterOptions = imagemanifest.FilterOptions{FilterByOS: "."}
./cli/mirror/additional.go:	opts.FilterOptions = imagemanifest.FilterOptions{FilterByOS: "."}
./cli/mirror/publish.go:	genOpts.FilterOptions = imagemanifest.FilterOptions{FilterByOS: ".*"}
In these 3 places the variable is now mapped.
For complete testing it would be ideal to push a manifest lists which contains several os/arch's, into the same repositories used in the current e2e testing.

Just wanted to comment on the limitation here right now.
Because images in the catalog are statically referenced by digest, we do not allow filtering for mirroring.
Possible solutions:

Sparse manifest lists are allowed by registries
Multi-arch management moves into images that can be rewritten on mirror (i.e. the bundle images themselves, not the images referenced inside of the bundle images).
Allow ICSPs to mirror by tag (this is a current OpenShift enhancement)


For Soccer League templates make Event (League selected) the final sub category

Currently shows men's league - make it the event selected from the drop down...will help in sorting

Similar to ticket 6903, that @phoebemirman did for tennis

closing


Should we remove the references folder and merge the references into their sections?

Since we are moving all activity specific references into their activities there should be a lot less re-use of references between sections. With this, it might make sense to just create a references file for each section and get rid of the references folder to clean up the repository. What do you think?

There remains some cross-talk and re-use of references, and their separation also provides (as it always has) a nice centralized location for external guides/links/docs/etc.


TOBI-102: Haneke Crash

What's this PR about?
Backstory:
Haneke sometimes crashes when trying to resize image.
Problem:
As Fabric logs imply crash is caused when forcing to unwrap optional value.
Verdict:
Optional value must be unwrapped in the safe way.
Resolution:
Method hnk_imageByScaling(toSize:) is changed to return optional value and in method resizeImage(_ image) this optional value is being unwrapped in the safe way.

Hmm, no sure if it's the right solution. Does solve the crash but also means that the image will not be resized. I think we should investigate why UIGraphicsGetImageFromCurrentImageContext is returning nil?

@balapoq if we have GSize with 0 width and 0 height we get UIGraphicsGetImageFromCurrentImageContext nil

Makes sense @rokaspoq. Would be good to add an assertionFailure for cases where the method still returns nil despite non-zero size, so we can detect the crash in debug builds.


Ignore hidden directories by default

This commit adds a new config level option to ignore hidden
directories by default. Hidden directories on Linux and macOS
begin with a dot (".").
It will also ignore directories that start with "__" in order
to ignore directories such as "__pycache__".
To override this behavior, a new config option "include_hidden"
can be defined and set to True or False.
Fixes #543
Signed-off-by: Eric Brown<EMAIL_ADDRESS>

Makes sense.


JCS-14565 - Default is_rms_private_endpoint_required to true

Set is_rms_private_endpoint_required to true by so CLI users do not have to set this to false. Since a true value is only relevant to ORM execution the default of true was causing issues for CLI users. Verified that default value of false in terraform while ORM UI YAMLs have a default true does not cause any regressions.

Looks good to me.


fix lifecycle for datahub-frontend chart

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

@vsavinkov what's the problem are you fixing?

Closing this in favour of: https://github.com/acryldata/datahub-helm/pull/201/


Export Windows Desktop create bad exe on gitlab docker image

Godot version:

3.2.3
OS/device including version:

Windows for the valid exporting exe,
Issue description:
when I run the godot export for windows on my windows pc, everything is ok : I get a exe that runs !
whereas the artefact exe from gitlab creates an exe that fails : I can open the exe, I can see the first scene, and that's it ...
Steps to reproduce:
https://hub.docker.com/repository/docker/evanboissonnot/godot-mono
Here the gitlab yml
image: evanboissonnot/godot-mono
stages:

export
deploy

variables:
EXPORT_NAME: synale-memories-beta
before_script:

echo $CI_PROJECT_DIR
mkdir -v -p $CI_PROJECT_DIR/build

windows:
stage: export
script:
- godot -v --path $CI_PROJECT_DIR/v0/Motor --export "Windows Desktop" $CI_PROJECT_DIR/build/$EXPORT_NAME.exe
artifacts:
name: $EXPORT_NAME-$CI_JOB_NAME
paths:
- $CI_PROJECT_DIR/build

@evan-boissonnot Can you upload the GitLab CI artifact here so we can take a look at its files?

Hi for sure
Here the link to download it :
https://we.tl/t-7ld4436q0i

When you launch the exe, it seems to be ok.
But there is just one loading scene that is stopped ... nothin is running.

It looks like your download doesn't include the data/ folder that should be included with the exported project.

I don't have any data folder needs.
The same exe, with only pck and exe I mean, exporting from godot on windows will run perfectly, without data folder.

I try to force build solution :
godot -v --build-solutions --path $CI_PROJECT_DIR/v0/Motor --export "Windows Desktop" $CI_PROJECT_DIR/build/$EXPORT_NAME.exe
But I got this error :
Running: "/usr/bin/msbuild"  "/builds/la-diagonale-du-poulpe/ladiagonaledupoulpe-game-one/v0/Motor/la-diagonale-du-poulpe.sln" /restore /t:Build "/p:Configuration=Debug" /v:normal "/l:GodotTools.BuildLogger.GodotBuildLogger,/usr/local/bin/GodotSharp/Tools/GodotTools.BuildLogger.dll;/root/.local/share/godot/mono/build_logs/e6a18d19d0d17b19cc9c46566ccffa1f_Debug" /p:GodotTargetPlatform=server
ono_project_debug_build: end
ERROR: call_build: An EditorPlugin build callback failed.
At: editor/editor_node.cpp:5408.
ERROR: iteration: Command line option --build-solutions was passed, but the build callback failed. Aborting.
At: main/main.cpp:2183.
Is it possible is about that ?


[Bitwarden_rs] Upstream name change

Details
Helm chart name and version:
Bitwarden_RS upstream is changing their name to Vaultwarden
Container name and tag:
bitwarden_rs and Vaultwarden
Relevant Helm values:
Image and Tags
What did you expect to happen:
We need to change our tags and chart name once Vaultwarden's changes reach the registrars

I'm workiong on a PR

Would be a good chance to migrate to common. @DirtyCajunRice wanted to convert it :D any progress?

Only basic templates atm. still need to do testing
https://github.com/rwaltr/charts/tree/vaultwarden
It appears that at least these versions of vaultwarden have all their items config thru ENV


Change <> to [] for typing

Hacky fix for #293. Not sure what the proper fix is.
I'm not sure why array_test is failing on the Linux CI, but it seems to succeed on my Ubuntu...

On Mac OS X. I get some interesting behavior.
>>> import ray
>>> import typing
>>> from ray.pickling import loads, dumps

>>> typing.List
typing.List<~T>

>>> loads(dumps(typing.List))
typing.List<~T>[~T]<~T>

>>> typing.Callable
typing.Callable

>>> loads(dumps(typing.Callable))
typing.Callable

>>> typing.List[int]
typing.List<~T>[int]

>>> loads(dumps(typing.List[int]))
typing.List<~T>[~T]<~T>[int]

>>> typing.Callable[[], int]
typing.Callable[[], int]

>>> loads(dumps(typing.Callable[[], int]))
typing.Callable

Closing because of behavior in message above.


Rotate entry value and entry label

Can i rotate entry value and label to show horizontal

I added this functionnality into last prerelease.

@aloisdeniel, does it work with animations in 0.8.3? I'm struggling to unite animations with labels on LineChart, don't know it's me or some trouble in version under development.

it dosnt work I need to display char in horizontal way
ValueLabelOrientation = Orientation.Horizontal, LabelOrientation = Orientation.Horizontal

Yes, it doesn't work. I try to change LabelOrientation and don't show the Chart when I add LabelOrientation = Orientation.Vertical

Try this -> ValueLabelOrientation = Microcharts.Orientation.Horizontal,

Try this :)
PointChart pc = new PointChart();
pc.LabelOrientation = Microcharts.Orientation.Vertical;
var chart_USD = new LineChart()
{
Entries = obj_1,
MaxValue =100,
MinValue =0,
LabelOrientation = pc.LabelOrientation
};

i have also the latest verison but its still not working :(

Any chance to get LabelOrientation in the current stable version? (I am on 0.7.1 for Microcharts and Microcharts.Forms)

i have tried this and it appears the properties don't exist in the version stated? has anyone got this working?

@AloysiusParedes

le from last 0.8.3-pre prerelease.

It Works just Fine.
Example:
Frecuent = new BarChart() { Entries = Dl,LabelTextSize=42f, LabelOrientation=Orientation.Horizontal, ValueLabelOrientation=Orientation.Horizontal};

I would like to rotate the labels in my current project because I have the problem as in Issue #180.
With version 0.7.1 of Microcharts and Microcharts.Forms everything works perfectly but when I switch to version 0.8.3-pre the application crashes. Is there anything else changed since version 0.8.3-pre that I should be aware of?
Xamarin.Form (version 4.6.0)


[C++] Cannot enable CUDA on Ubuntu 22.04 with conda + system packages

Describe the bug, including details regarding any error messages, version, and platform.
Because of https://gitlab.kitware.com/cmake/cmake/-/issues/25127 , it is difficult or impossible to enable CUDA with Ubuntu 22.04 and the system package for the CUDA toolkit.
However, since we only seem to use libcuda.so and cuda.h (which is a standalone include file), perhaps we don't need to rely on CMake's FindCUDAToolkit at all.
Component(s)
C++, GPU

It seems that this is fixed. The upstream issue was closed.

It's not fixed in CMake, as CMake considers one should use the conda packages for CUDA when the conda toolchain is used. I was trying to use the Ubuntu-provided CUDA toolkit inside a conda environment.

That said, we can also choose not to support this, as it might later dysfunction for other reasons.

Does -DCUDAToolkit_ROOT=/usr for you?
I'm using it on Debian GNU/Linux sid.

No, it doesn't. CUDAToolkit_ROOT expects a layout that is not the one used by the CUDA system package.

Hmm. Did you try -DCUDAToolkit_ROOT=/usr not -DCUDAToolkit_ROOT=/usr/lib/x86_64-linux-gnu/?
How about -DCUDA_CUDART=/usr/lib/x86_64-linux-gnu/libcudart.so?


[Synapse] Enable the use of eslint plugin

Currently the lint script in all the synapse packages do not run the linter. This PR

updates the lint and lint:fix scripts in the package.json of all the synapse packages to run the linter
includes the changes from running the lint:fix script

@bterlson, @xirzec, @jonathandturner Since this touched the API view files, any concerns?


Added JavaScript Hello Wolrd

This PR has been idle for more than 24 hours, and will now be closed. Feel free to re-open.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

a1ffbdf97069622145ac6dbe8b17b4f398048bf5

Your pull request needs further work because of the following reason(s):

Your submission does not follow the format, Make sure to follow the readme!
With input K1ITR7:
You responded with: ```/code/main.js:5
var myName = prompt("Hello, whats your name?", "Frankenstein");
^

ReferenceError: prompt is not defined
at Object. (/code/main.js:5:14)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/mo...```
while the expected result was:
Hello K1ITR7!

Once you have resolved the issues, comment on this request to be re-judged
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

a1ffbdf97069622145ac6dbe8b17b4f398048bf5

This PR has been idle for more than 24 hours, and will now be closed. Feel free to re-open.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

a1ffbdf97069622145ac6dbe8b17b4f398048bf5


fix readme HTML

fixes some weird end tags and adds the lang=en atribute

Hi
This repo is for the video code as I update, nothing else, so I'm closing this.


Feature/add deployment strategy to crd

Which problem is this PR solving?

Resolves #1480

Short description of the changes

Added deployment strategy customization for deployment of all-in-one, ingester, collector and query.

@jpkrohling Hi, I wonder what should I revise to pass the failing test?

Here's what I see from the build logs:
time="2021-07-05T09:57:34Z" level=info msg="Running deepcopy code-generation for Custom Resource group versions: [jaegertracing:[v1], kafka:[v1beta1], ]\n"
time="2021-07-05T09:58:01Z" level=info msg="Code-generation complete."
Formatting code...
Build failed: a model has been changed but the generated resources aren't up to date. Run 'make generate' and update your PR.

Here's what I see from the build logs:
time="2021-07-05T09:57:34Z" level=info msg="Running deepcopy code-generation for Custom Resource group versions: [jaegertracing:[v1], kafka:[v1beta1], ]\n"
time="2021-07-05T09:58:01Z" level=info msg="Code-generation complete."
Formatting code...
Build failed: a model has been changed but the generated resources aren't up to date. Run 'make generate' and update your PR.

I fixed some PATH issue in my development environment and rerun the code generation pipeline, seems it is fixed now.


Revert "Nest clipping rectangles by default"

Reverts lapce/piet-wgpu#8
Sorry about that, the PR seems to have unintended consequences. I'm not sure if we should immediately revert, but I'll leave this here in case. I'll try and figure out something to fix.

I'm hoping https://github.com/lapce/piet-wgpu/pull/10 fixes the issue instead of this.


Use the alpha component from getColor when mask is turned off in IconLayer

For #2260

Change List

Change the logic in icon-layer-fragment shader

Can you update the layer documentation and What's New


File errorMessage never set

On VTransmitFile there's an errorMessage property but it looks like this is initialised to an empty string and then never used again if I've read the code correctly?
It seems like it should be set in the errorProcessing method but currently isn't.
I know we can handle errors by catching the error event but it seems quite useful to have the error message stored with the file when it has the Error state.

This a great catch! I agree it should get written to the file in the errorProcessing. The two spots for errors are the accept phase and the upload. I'll write those up to write properly!

By the way, on my production app that uses this library (v8.x), the error messages are written to the file object. I'm trying to trace where that's happening, but not seeing it in my app, or in the library right now. I'd like to find how the current mechanism is working in my app so I don't miss something implementing this.

Thanks!

Thanks for catching this! I'm changing up jobs, so I should have some time to spend finalizing and releasing v9 this coming week.


[Sidebar] "Very Thin" doesn't work

Hello,
"very thin" class doesn't work on sidebar. I had to override the rules by switching the order of "thin" and "very thin" css rules. The order is not good into the file src/definitions/modules/sidebar.less

Fixed in 2.1.7


Enable interactive elements in parallax layer

The current background_area.gd script has logic for adding a RectangleShape2D which covers the entire background Sprite to make it clickable. The problem with this approach is that it makes it impossible to add interactive elements in parallax layers, eg. the sun in the second demo room.
I think the best solution might be to disable the shape logic altogether and instead write better documentation on how to add an Area2D and shape to act as input catch. By adding a custom shape, you can choose not to cover the transparent regions of the foreground layer and it's possible add background items to parallax layers. In the second demo room, for instance, one could add a RectangleShape2D to the bottom of the screen, and draw a PolygonShape2D to cover the mountain.
It's also not straightforward to add a shape to background items, since typically you will set a motion scale and offset to the background to make it scroll at a different speed than the background, but that also makes the shape not fit the element it was drawn around. This problem I'm not sure how to solve easily, so it will require some experimenting, and finally some documentation (plus maybe a custom script).

Closed by #149.


No audio decoded after SDRSharp upgrade

After upgrade SDRSharp from v<IP_ADDRESS>6 to latest v.<IP_ADDRESS>9 The Tetra plugin does not decode any Clear Audio. The plugin works and show comunications in the multiplex, but any audio is decoded and played. Tested again with the previous SDRSharp and works well

Can try to build from main ?
With #5 it was working for me using 1919.
Maybe @vgpastor can create a new release ?


SELECT specific fields from both streams on an INNER JOIN is not working

Environment:

eKuiper version: 1.12.1-slim, Docker
Hardware configuration: x86_64
OS: Ubuntu 22.04.3 LTS

What happened and what you expected to happen:
When I try to declare specific fields of both streams on a SQL query with an INNER JOIN, I'm getting and empty JSON object, {} in the output file.
For example, with this SQL query, using * FROM, I obtain all the fields of the first stream, and all the fields of the second stream, but the problem here is that some of the fields of the first stream have the same name of the fields of the second stream, so I lost that fields in the JOIN:
SELECT * FROM failed_logins_count_same_user INNER JOIN successful_logins
ON `failed_logins_count_same_user.account_for_which_logon_failed.account_name` = `successful_logins.new_logon.account_name`
GROUP BY TumblingWindow(ss, 60)

But when I try to do this SQL query with specific fields on SELECT, I get an empty JSON object, {}, in the output file:
SELECT from_unix_time(`failed_logins_count_same_user.StartTime`) AS failed_StartTime,
from_unix_time(`failed_logins_count_same_user.EndTime`) AS failed_EndTime,
`failed_logins_count_same_user.EventRecordIDs` AS failed_EventRecordIDs,
`failed_logins_count_same_user.Total` AS failed_TotalFailedLogins,
`failed_logins_count_same_user.failure_information.failure_reason` AS failed_FailureReason,
`failed_logins_count_same_user.logon_type` AS failed_LogonType,
`successful_logins.TimeCreated` AS successful_EndTime,
`successful_logins.EventRecordID` AS successful_EventRecordID,
`successful_logins.detailed_authentication_information.logon_process` AS successful_LogonProcess,
`successful_logins.logon_information.logon_type` AS successful_LogonType,
`successful_logins.new_logon.account_domain` AS UserDomain,
`successful_logins.new_logon.account_name` AS UserName,
`successful_logins.network_information.workstation_name` AS WorkstationName,
`successful_logins.network_information.source_network_address` AS NetworkAddress,
`successful_logins.Computer` AS Computer
FROM failed_logins_count_same_user INNER JOIN successful_logins
ON `failed_logins_count_same_user.account_for_which_logon_failed.account_name` = `successful_logins.new_logon.account_name`
AND `failed_logins_count_same_user.network_information.workstation_name` = `successful_logins.network_information.workstation_name`
GROUP BY TumblingWindow(ss, 60)

How to reproduce it (as minimally and precisely as possible):
The raw event received on first stream, failed_logins_count_same_user:
{"EndTime":1704656880000,"EventID":"4625","EventRecordIDs":["8175416","8175417","8175418","8175419","8175420","8175422","8175423","8175424","8175425","8175426"],"StartTime":1704656820000,"Total":10,"account_for_which_logon_failed.account_domain":"LAB","account_for_which_logon_failed.account_name":"Administrator","failure_information.failure_reason":"Unknown user name or bad password.","logon_type":"3","network_information.workstation_name":"AGUIDA-NTB"}

The raw event received on second stream, successful_logins, in the next 60 seconds of the first event:
{"ActivityID":"","Channel":"Security","Computer":"LABDC.LAB.ARG","DescriptionTitle":"An account was successfully logged on.","EventID":"4624","EventRecordID":"8156680","Keywords":"0x8020000000000000","Level":"0","Opcode":"0","ProcessID":"656","ProviderGUID":"","ProviderName":"Microsoft-Windows-Security-Auditing","RelatedActivityID":"","Task":"12544","ThreadID":"8344","TimeCreated":"2024/01/06 02:36:25.18752200","UserID":"","Version":"2","detailed_authentication_information.authentication_package":"NTLM","detailed_authentication_information.key_length":"128","detailed_authentication_information.logon_process":"NtLmSsp","detailed_authentication_information.package_name_(ntlm_only)":"NTLM V2","detailed_authentication_information.transited_services":"-","impersonation_level":"Impersonation","logon_information.elevated_token":"Yes","logon_information.logon_type":"3","logon_information.restricted_admin_mode":"-","logon_information.virtual_account":"No","network_information.source_network_address":"<IP_ADDRESS>","network_information.source_port":"0","network_information.workstation_name":"AGUIDA-NTB","new_logon.account_domain":"LAB","new_logon.account_name":"Administrator","new_logon.linked_logon_id":"0x0","new_logon.logon_guid":"{00000000-0000-0000-0000-000000000000}","new_logon.logon_id":"0x15319407F","new_logon.network_account_domain":"-","new_logon.network_account_name":"-","new_logon.security_id":"S-1-5-21-1212037701-3946723201-1981249032-500","process_information.process_id":"0x0","process_information.process_name":"-","subject.account_domain":"-","subject.account_name":"-","subject.logon_id":"0x0","subject.security_id":"S-1-0-0"}

The result output to a file of the SQL query that is working (the first one in the example at the top):
{"ActivityID":"","Channel":"Security","Computer":"LABDC.LAB.ARG","DescriptionTitle":"An account was successfully logged on.","EndTime":1704656880000,"EventID":"4625","EventRecordID":"8175445","EventRecordIDs":["8175416","8175417","8175418","8175419","8175420","8175422","8175423","8175424","8175425","8175426"],"Keywords":"0x8020000000000000","Level":"0","Opcode":"0","ProcessID":"656","ProviderGUID":"","ProviderName":"Microsoft-Windows-Security-Auditing","RelatedActivityID":"","StartTime":1704656820000,"Task":"12544","ThreadID":"1840","TimeCreated":"2024/01/07 19:48:17.167877000","Total":10,"UserID":"","Version":"2","account_for_which_logon_failed.account_domain":"LAB","account_for_which_logon_failed.account_name":"Administrator","detailed_authentication_information.authentication_package":"Kerberos","detailed_authentication_information.key_length":"0","detailed_authentication_information.logon_process":"Kerberos","detailed_authentication_information.package_name_(ntlm_only)":"-","detailed_authentication_information.transited_services":"-","failure_information.failure_reason":"Unknown user name or bad password.","impersonation_level":"Impersonation","logon_information.elevated_token":"Yes","logon_information.logon_type":"3","logon_information.restricted_admin_mode":"-","logon_information.virtual_account":"No","logon_type":"3","network_information.source_network_address":"::1","network_information.source_port":"58959","network_information.workstation_name":"AGUIDA-NTB","new_logon.account_domain":"LAB.ARG","new_logon.account_name":"LABDC$","new_logon.linked_logon_id":"0x0","new_logon.logon_guid":"{0983c1c7-d6f6-e760-93ea-ed1c71613c68}","new_logon.logon_id":"0x16D316671","new_logon.network_account_domain":"-","new_logon.network_account_name":"-","new_logon.security_id":"S-1-5-18","process_information.process_id":"0x0","process_information.process_name":"-","subject.account_domain":"-","subject.account_name":"-","subject.logon_id":"0x0","subject.security_id":"S-1-0-0"}

Anything else we need to know?:
Nothing in particular.

@canob Use failed_logins_count_same_user.StartTime instead of failed_logins_count_same_user.StartTime. xxx will interprete as it is, so . will become part of the field name. It is used to escape keyword only/

@canob Use failed_logins_count_same_user.StartTime instead of failed_logins_count_same_user.StartTime. xxx will interprete as it is, so . will become part of the field name. It is used to escape keyword only/

Hi @ngjaying
The problem with your suggestion is that sometimes I have field names with dots (I know, it is not ok that, but is the way that Fluentd construct the JSON of Windows Events...), like successful_logins.new_logon.account_name (successful_logins is the stream name), and in that cases, if I don't use ` at the beginning and at the end of the field name, is not working, is not appearing in the SELECT, :(

@canob You do not need to quote all the fields. You can use something like

streamName.`ns.var`

@canob You do not need to quote all the fields. You can use something like

streamName.ns.var

@ngjaying I tried your suggestion before I opened the issue, but not on SELECT, instead on the ON of the JOIN, and if I don't put all between ` ` (the stream name and the field name with dots), the JOIN is not working, the rule is not firing. That was the reason that I assumed that then in the SELECT part I need to do the same. To Translate what I'm saying to an example:
This is working for the JOIN:
...
ON `failed_logins_count_same_user.account_for_which_logon_failed.account_name` = `successful_logins.new_logon.account_name`
AND `failed_logins_count_same_user.network_information.workstation_name` = `successful_logins.network_information.workstation_name`
...

And this is not working for the JOIN:
...
ON failed_logins_count_same_user.`account_for_which_logon_failed.account_name` = successful_logins.`new_logon.account_name`
AND failed_logins_count_same_user.`network_information.workstation_name` = successful_logins.`network_information.workstation_name`
...

So, I changed my SQL query with your suggestion, and now is working the SELECT of SQL query, but on ON of the JOIN, I need to stil put all between ` ` (the stream name and the field name with dots).
This is the final SQL query that is working:
SELECT from_unix_time(failed_logins_count_same_user.StartTime) AS failed_StartTime,
from_unix_time(failed_logins_count_same_user.EndTime) AS failed_EndTime,
failed_logins_count_same_user.EventRecordIDs AS failed_EventRecordIDs,
failed_logins_count_same_user.Total AS failed_TotalFailedLogins,
failed_logins_count_same_user.`failure_information.failure_reason` AS failed_FailureReason,
failed_logins_count_same_user.logon_type AS failed_LogonType,
successful_logins.TimeCreated AS successful_EndTime,
successful_logins.EventRecordID AS successful_EventRecordID,
successful_logins.`detailed_authentication_information.logon_process` AS successful_LogonProcess,
successful_logins.`logon_information.logon_type` AS successful_LogonType,
successful_logins.`new_logon.account_domain` AS UserDomain,
successful_logins.`new_logon.account_name` AS UserName,
successful_logins.`network_information.workstation_name` AS WorkstationName,
successful_logins.`network_information.source_network_address` AS NetworkAddress,
successful_logins.Computer AS Computer
FROM failed_logins_count_same_user INNER JOIN successful_logins
ON `failed_logins_count_same_user.account_for_which_logon_failed.account_name` = `successful_logins.new_logon.account_name`
AND `failed_logins_count_same_user.network_information.workstation_name` = `successful_logins.network_information.workstation_name`
GROUP BY TumblingWindow(ss, 60)

Thanks for your help!

Hi @canob, Could you explain the first rule (by following this document https://ekuiper.org/docs/en/latest/api/restapi/rules.html#query-rule-plan) in order to let us know the plan.

@ngjaying , so, after additional testing, the ON part of the JOIN is not working at all, :(
If I use stream_name.`field.with.dots` in the SQL query, the rule not fire.
If I use `stream_name.field.with.dots`, the rule fire, but is incorrect, because for example join events where account_name and workstation name are not the same. Here is an example of the ouput of that JOIN to a file:
{"Computer":"LABDC.LAB.ARG","NetworkAddress":"fe80::d014:e53a:df15:54c0","UserDomain":"LAB.ARG","failed_EndTime":"2024-01-08 02:12:00","failed_EventRecordIDs":["8178512","8178513","8178514","8178515","8178516","8178517","8178518","8178519"],"failed_FailureReason":"Unknown user name or bad password.","failed_LogonType":"3","failed_StartTime":"2024-01-08 02:10:00","failed_TotalFailedLogins":8,"failed_UserName":"Administrator","failed_WorkstationName":"AGUIDA-NTB","successful_EndTime":"2024/01/08 02:11:53.990305400","successful_EventRecordID":"8178547","successful_LogonProcess":"Kerberos","successful_LogonType":"3","successful_UserName":"LABDC$","successful_WorkstationName":"-"}

And as you can see, successful_UserName is not equal to failed_UserName, and successful_WorkstationName is not equal to failed_WorkstationName, :(
Here is the SQL query rule:
SELECT from_unix_time(failed_logins_count_same_user.StartTime/1000) AS failed_StartTime,
from_unix_time(failed_logins_count_same_user.EndTime/1000) AS failed_EndTime,
failed_logins_count_same_user.EventRecordIDs AS failed_EventRecordIDs,
failed_logins_count_same_user.Total AS failed_TotalFailedLogins,
failed_logins_count_same_user.`failure_information.failure_reason` AS failed_FailureReason,
failed_logins_count_same_user.logon_type AS failed_LogonType,
successful_logins.TimeCreated AS successful_EndTime,
successful_logins.EventRecordID AS successful_EventRecordID,
successful_logins.`detailed_authentication_information.logon_process` AS successful_LogonProcess,
successful_logins.`logon_information.logon_type` AS successful_LogonType,
successful_logins.`new_logon.account_domain` AS UserDomain,
failed_logins_count_same_user.`account_for_which_logon_failed.account_name` AS failed_UserName,
successful_logins.`new_logon.account_name` AS successful_UserName,
failed_logins_count_same_user.`network_information.workstation_name` AS failed_WorkstationName,
successful_logins.`network_information.workstation_name` AS successful_WorkstationName,
successful_logins.`network_information.source_network_address` AS NetworkAddress,
successful_logins.Computer AS Computer
FROM failed_logins_count_same_user INNER JOIN successful_logins
ON `failed_logins_count_same_user.account_for_which_logon_failed.account_name` = `successful_logins.new_logon.account_name`
AND `failed_logins_count_same_user.network_information.workstation_name` = `successful_logins.network_information.workstation_name`
GROUP BY TumblingWindow(ss, 60)

Any additional way to declare fields with dots in the ON part of the JOIN?

@canob stream_name.field.with.dots this just means a field with two dots. As in schema-less mode, this evaluates to nil.  When using stream_name.field.with.dots, does it happen to have no equal condition met, thus no output.

@canob stream_name.field.with.dots this just means a field with two dots. As in schema-less mode, this evaluates to nil. When using stream_name.field.with.dots, does it happen to have no equal condition met, thus no output.

So, the reason that I'm getting an output when I use `stream_name.field.with.dots` , even that is not correct, is because at the end the evaluation is nil = nil, and that is true, right?
I'm sure that that fields (user_name and workstation_name) are the same between both events in both streams, in a 60 seconds time window, but I'm going to double check that to see If I did a mistake.
Thanks for all your patience to help me.

Hi @canob, Could you explain the first rule (by following this document https://ekuiper.org/docs/en/latest/api/restapi/rules.html#query-rule-plan) in order to let us know the plan.

Hi @Yisaer. Here is the rule-plan:
{"type":"ProjectPlan","info":"Fields:[ $$alias.failed_StartTime, $$alias.failed_EndTime, $$alias.failed_EventRecordIDs, $$alias.failed_TotalFailedLogins, $$alias.failed_FailureReason, $$alias.failed_LogonType, $$alias.successful_EndTime, $$alias.successful_EventRecordID, $$alias.successful_LogonProcess, $$alias.successful_LogonType, $$alias.UserDomain, $$alias.failed_UserName, $$alias.successful_UserName, $$alias.failed_WorkstationName, $$alias.successful_WorkstationName, $$alias.NetworkAddress, $$alias.Computer ]","id":0,"children":[1]}

   {"type":"JoinPlan","info":"Joins:[ { joinType:INNER_JOIN, binaryExpr:{ binaryExpr:{ failed_logins_count_same_user.account_for_which_logon_failed.account_name = successful_logins.new_logon.account_name } AND binaryExpr:{ failed_logins_count_same_user.network_information.workstation_name = successful_logins.network_information.workstation_name } } } ]","id":1,"children":[2]}

         {"type":"WindowPlan","info":"{ length:60, windowType:TUMBLING_WINDOW, limit: 0 }","id":2,"children":[3,4]}

               {"type":"DataSourcePlan","info":"StreamName: failed_logins_count_same_user, StreamFields:[ EndTime, EventRecordIDs, StartTime, Total, account_for_which_logon_failed.account_name, failure_information.failure_reason, logon_type, network_information.workstation_name ]","id":3,"children":null}

               {"type":"DataSourcePlan","info":"StreamName: successful_logins, StreamFields:[ Computer, EventRecordID, TimeCreated, detailed_authentication_information.logon_process, logon_information.logon_type, network_information.source_network_address, network_information.workstation_name, new_logon.account_domain, new_logon.account_name ]","id":4,"children":null}

And the rule content in this moment, after applied the suggested changes by @ngjaying , is this one:
SELECT from_unix_time(failed_logins_count_same_user.StartTime/1000) AS failed_StartTime,
from_unix_time(failed_logins_count_same_user.EndTime/1000) AS failed_EndTime,
failed_logins_count_same_user.EventRecordIDs AS failed_EventRecordIDs,
failed_logins_count_same_user.Total AS failed_TotalFailedLogins,
failed_logins_count_same_user.`failure_information.failure_reason` AS failed_FailureReason,
failed_logins_count_same_user.logon_type AS failed_LogonType,
successful_logins.TimeCreated AS successful_EndTime,
successful_logins.EventRecordID AS successful_EventRecordID,
successful_logins.`detailed_authentication_information.logon_process` AS successful_LogonProcess,
successful_logins.`logon_information.logon_type` AS successful_LogonType,
successful_logins.`new_logon.account_domain` AS UserDomain,
failed_logins_count_same_user.`account_for_which_logon_failed.account_name` AS failed_UserName,
successful_logins.`new_logon.account_name` AS successful_UserName,
failed_logins_count_same_user.`network_information.workstation_name` AS failed_WorkstationName,
successful_logins.`network_information.workstation_name` AS successful_WorkstationName,
successful_logins.`network_information.source_network_address` AS NetworkAddress,
successful_logins.Computer AS Computer
FROM failed_logins_count_same_user INNER JOIN successful_logins
ON failed_logins_count_same_user.`account_for_which_logon_failed.account_name` = successful_logins.`new_logon.account_name`
AND failed_logins_count_same_user.`network_information.workstation_name` = successful_logins.`network_information.workstation_name`
GROUP BY TumblingWindow(ss, 60)

Thanks for your help.

@canob stream_name.field.with.dots this just means a field with two dots. As in schema-less mode, this evaluates to nil. When using stream_name.field.with.dots, does it happen to have no equal condition met, thus no output.

So, the reason that I'm getting an output when I use stream_name.field.with.dots , even that is not correct, is because at the end the evaluation is nil = nil, and that is true, right? I'm sure that that fields (user_name and workstation_name) are the same between both events in both streams, in a 60 seconds time window, but I'm going to double check that to see If I did a mistake. Thanks for all your patience to help me.

Ok, so I finally understood what happened @ngjaying , after double check the events. My use case is a successful login after 5 failed logins, all of the same account name and from the same workstation name. The problem is the "closure" of the time window, that happen after the successful login (basically, I'm doing 6-7 failed logins, and immediately after that a successful login), and that was the reason because the rule was not firing using stream_name.`field.with.dots`.
If I wait 30-45 seconds after the last failed login, to produce a successful login, the rule is firing like expected.
Maybe the incorrect think here is the type of windows that I'm using, tumbling window, and I need to think again about what is my best option of time window for my use case.
Again, thanks again for all your help and your patience with a newbie like me. Feel free to delete this post, or convert it into a Discussion maybe, if can help others.


perf(app): combine multiple awaits into Promise.all()

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
566

Relevant Lines:
566

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
566

Relevant Lines:
566

💛  - Coveralls


Page Redirection « localhost » error

Hello i configurate all de file and it is working bit when here i clik in « Autoriser » he moove me in a page error

moove here

My code ⬇

I do not know many of things which could influence this, you are doing something wrong most probably. Re-open once you can supply full information.


Progress bar with tensorflow.keras.load_model

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):1.15
Are you willing to contribute it (Yes/No):Yes

Describe the feature and the current behavior/state.
When loading larger multiple models it is taking too much time. It will be better to have a progress bar to know current status of model loading.
Will this change the current api? How?
I do not know.
Who will benefit with this feature?
Those working with models trained using transfer learning or using very learge models on a CPU.
Any Other info.
I checked on progressbar2 and tqdm. But both requires an iterable to work with.

Hello, I would love to work on this issue! Can you plz give me some pointers so I can start working on it...

Most of the current python libraries I checked works on an iterable. I don't know we have such an iterable in this case. If there's one, then a separate thread may be used to monitor this. This is my initial guess. May be wrong.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


The latest version gets detected as a trojan

windows defender is detecting this as a tojan where the prior one did not

#136


Hide Console and Detecetions

hi nice and simple code, but the console of batch file is visible, i think it would be alot better to hide the console and turn off debug mode, also it's detected by 16/70 on virustotal , i think it would be nice to add some junk code to the app to make it undetecteable
a very good idea is to just add dropper code to a legit app so wouldn't rise any suspecious

but the console of batch file is visible, i think it would be alot better to hide the console and turn off debug mode, also it's detected by 16/70 on virustotal , i think it would be nic

I made a fud dropper + in somalifuscator it has a method for exe2bat which turns an exe file into a bat file and it's fud. Sorry for the high detections on this.

but the console of batch file is visible, i think it would be alot better to hide the console and turn off debug mode, also it's detected by 16/70 on virustotal , i think it would be nic

I made a fud dropper + in somalifuscator it has a method for exe2bat which turns an exe file into a bat file and it's fud. Sorry for the high detections on this.

the fud dropper will still give back bat and ps1 format not exe which makes it suspecious and the somalifuscator unfortunately in all of the methods the console is still visible and it's not hidden

but the console of batch file is visible, i think it would be alot better to hide the console and turn off debug mode, also it's detected by 16/70 on virustotal , i think it would be nic

I made a fud dropper + in somalifuscator it has a method for exe2bat which turns an exe file into a bat file and it's fud. Sorry for the high detections on this.

the fud dropper will still give back bat and ps1 format not exe which makes it suspecious and the somalifuscator unfortunately in all of the methods the console is still visible and it's not hidden

Make it so your exe hides console

yh either you can use my code on my github ( https://github.com/EvilBytecode/HideConsoleWindows )
or just recompile and add your code, my has support in powershell,batch, and python :}. and c# since the powershell executes c# code lolz

yh either you can use my code on my github ( https://github.com/EvilBytecode/HideConsoleWindows )
or just recompile and add your code, my has support in powershell,batch, and python :}. and c# since the powershell executes c# code lolz

In this case it would be easier for me to add it straight to the js code for when it compiles. I'm also going to add support for command line args too.

I also plan to make it follow through the current window so new ones aren't created.

nice 👍

ALL DONE


Feedback Request: NFT Advanced Features

There have been a number of questions about the right way to implement certain features with NFTs in Algorand.  Starting an issue here to gather ideas for what features might go into the spec(s).
Examples of advanced features might include things like Royalty payments or Collections.
I'd like for anyone working or thinking about these things to chime in with their use cases.

Creating a new issue for NFT Collections here: https://github.com/algorandfoundation/ARCs/issues/25

Creating new issue for NFT Royalties here: https://github.com/algorandfoundation/ARCs/issues/27

I would like to propose an additional property to handle the 3d nfts. The animation_url field doesn't work for this particular use case as i can see this field being used to provide a video clip of the asset, for the platforms that don't "support" the 3d display.
as there are a lot of different formats being used across teh 3d modeling stack (.fbx, .obj, .stl......) i propose a following solution.
introduce a "model_url" to the json schema - model url should point to a .zip archive that includes the follwing folders

Material (optiona - metadata for the native usecase)
Models (mandatory -> mesh reprensetation in agreed upon formats e.g. .fbx, .obj)
Textures (optional -> texture to be used on the .png, if any)

Each containing appropriate files... Thats a standard hierarchy to represent 3d models and most libraries will be able to parse the .zip archive and link/map textures properly.
Curious to hear your thoughts, but i think its pretty essential to think about the 3d model NFT's becoming more and more frequent in teh future.
We for one are working on a project with 3d NFT's and are also in talks with up-and-coming marketplace about this exact topic/implementation.

@simonbelingar I'm also looking to create 3d NFT on the Algorand network in the future, unfortunately, there has no standard for the 3d NFT now. You probably can propose an idea with ARC Pull Request based on your experience? And curious how the ETH/Others chain defined the 3D NFT spec.

@simonbelingar I'm also looking to create 3d NFT on the Algorand network in the future, unfortunately, there has no standard for the 3d NFT now. You probably can propose an idea with ARC Pull Request based on your experience? And curious how the ETH/Others chain defined the 3D NFT spec.

hey, thanks for the suggestion, i'll go ahead and do that later today. We've learned quite a bit about the topic since the time of writing the above post, happy to share the vision/our approach and to discuss potential pitfalls/improvements.
on the side note: curious to hear about your project and your insight.
Cheers

I am very interested in this topic especially for its use within Immersive Virtulal Worlds that I am creating. However, I believe it is necessary to create a new ARC dedicated to the particular needs of 3D MESHs. They are often thought of as a white blob in some format, but the innovative idea is to allow an optimized flow to be created for transfer across the network. What do you think about?

@Vytek I'm not sure I understand the requirement yet but Please file a new issue specific to that interest and we can discuss there?


Host header does not seem to be passed when Client termination is selected

Continuing with experiments in the desired setup described in https://github.com/boringproxy/boringproxy/issues/42#issuecomment-774841268, Nextcloud helped us again to spot a certain condition under which Boringproxy unexpectedly fails.
Considering the tunnels
garten.hackenow.de:35637 -> ex -> garten.hof.pause:80
garten.outpost.chn.io:33421 -> ex -> garten.hof.pause:80

the prior would always redirect to the login page when set to Client TLS termination. Switching to Server has it working.
While deeper investigations of traffic logs were not conducted, the assumption is that the Host header is not passed when set to Client.

Hm the client and server should be sharing a code path here. I'll need confirmation before digging too deeply into this.

I will indeed need to inspect this and have to look at the protocol level what is sent. What I can tell with Caddy running behind boringproxy, that lately also the Server terminated routes omitted to pass a Host header that was previously available as
header_up Host {http.reverse_proxy.upstream.hostport}

but now had to be hard coded for it to work. Nothing changed in used versions of Boring Proxy or Caddy, but a reboot of the tunneled system and reestablished tunnels after joining the client to the server.

@almereyda I believe this part at least:

the prior would always redirect to the login page when set to Client TLS termination

Has been fixed in the last few releases. When using client termination the Golang http.Client was following redirects, rather than returning the 301 response upstream.


Interest in contributing, possible with unit tests

I have interest in contributing to the project, and was thinking in how to.
I didn't see any unit tests on the project. Would you accept unit tests as a first contribution? It would allow me to better understand the code structure and contribute while doing so.

@leal26 I saw that you returned to the project. Will propose the PR them.

Hello Rafael,  sorry for the late response (I haven't checked the Issues section for a while). Do you still intend to PR the unit tests?
Thanks


Stocks has both tabs reified in the wiget tree

We were recomputing which widgets to show only when we were on the other side
of the repaint boundaries. That doesn't work well for pageable lists because we
come to rest exactly on a repaint boundary, which means we don't cull the other
page.
After this patch, we recompute the set of widgets using an edge-trigger when we
hit the boundary. That's better than using a level-trigger so that we don't
continuously recompute the set of widget as we sit at the boundary.

LGTM


fix(client): no submit on server fail

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #37615
22/07/2021 This includes the change in solution-form to fail a submission - for testing.
This does not make use of the updateFetchState state, as I am leaving this open for some discussion as how best to use it. ?
This was largely possible thanks to the help of these developer: Oliver

Sorry for thinking about this so late, but do we definitely want to wait for a server response before the user can continue?  The reason I ask is that this is not how we do things for the rest of the challenges - we just let them continue and save the submission in local storage.
Do we maybe want to keep the existing behaviour, but make sure that the warning persists?

Do we maybe want to keep the existing behaviour, but make sure that the warning persists?

The way I see it, whilst we might not want to unnecessarily delay a Camper from completing challenges quickly sans saving, project submissions are different, and not meant to be "rushed" through. That is, I suspect most Campers want utter-and-complete confirmation their project submission has gone through, and, if not, then they want to try again, or, realise they have submitted something the server is never going to be happy with.

That makes sense.  As long as we only change the flow for project submission, that sounds like a plan.


Update README.md

Fix console format for some chip-tool commands

@bzbarsky-apple
I replaced CHIPTool by chip-tool as requested.


Compatibility with Next.js CSP

Hi, I'm wondering if this plug-in is compatible with Next.js CSP. I didn’t find anything in the documentation, and trying it out appears to inject some inline JS code without including the nonce value.
Thanks.

Hi, can you send an example of your problem? Can’t understand what you mean by appears to inject some inline JS code without including the nonce value.

To have a strict CSP, you have to either use the hash of your internal or external scripts or use a nonce value (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/nonce). Next.js opts for the nonce value, which requires middleware so that for each request, the nonce is freshly generated and included in both the headers and the various JavaScript tags on the page. Next.js doesn't allow statically generating a website with support for CSP with strict JS code because they do not support hash generation during build time.
I can't share the code because it comes from a private repository, but to reproduce the issue, it should be sufficient to create a Next.js site with middleware that configures the CSP using the nonce, and then use Nextra to create something, e.g., the doc page, and notice how it doesn't work. IIRC, this issue is linked with routing and app vs pages.
I'm sorry bur right now I can't go back and reproduce everything ☹

this issue is linked with routing and app vs pages.

Do you mean the issue comes from pages router? Would you want to try Nextra 4 with app router support and see if it was fixed?

IIRC The middleware works only with App Route (the only reference I found with a quick search https://github.com/vercel/next.js/issues/67042).

thanks for the information, so it will definitely works with Nextra 4 since support of pages router is removed
Will add this issue as completed to Nextra 4 roadmap


Consider updating to d3.v4

I am using in this for a personal project in conjunction with typescript and d3.v4. I had to make some changes, mainly to incorporate the different naming convention used in v4. If you like, I could PR these updates back to your gantt-chart.
If you decide this is a valuable addition to your repo, please tell me how you would like to incorporate the changes (updating the old file, inserting a separate file for v4, etc.).

@cyremur I am trying to incorporate this Gantt chart into a project with typescript as well, and I'm interested in how you achieved this, would you mind sharing?

@SOSharkie Have a look at this project: https://github.com/cyremur/InDiFront
I've rewritten the gantt js code in gantt-chart-d3.ts. Note that although it is working, it's not a perfect adaptation to typescript and probably breaks quite a few best practices I wasn't aware of since I only just started using typescript. Should give you a somewhat better starting point, though. You can also look at index.ts for some example code how to use the gantt-chart.


Add example and more info to README

Example will help show off Sap's API and the error messages shown by
Sap.

bors r+


I need your help,please

1,  I run your code that show
Image: [316 / 776] Time: 2.011 sec
Image: [317 / 776] Time: 1.959 sec
2,how show :training loss,training accuracy.

I am sorry for the late reply, I was busy with my graduation affairs recently. (But the thesis was not related with computer vision, lol... )

I found that the prediction time was higher than expected. Did you setup your GPU?

I thought you was running the 'predict' mode. If you want to train, you have to run:

python FCN_finetune.py --mode=finetune

or
you can just revise the line 16 in FCN_finetune.py as
tf.flags.DEFINE_string('mode', 'finetune', "Mode of FCN: finetune / predict")

Then you will see training loss and accuracy on your screeen. ^_^

Thank you for your reply to my question, I'm according to your steps, but my training loss function is very poor, and can't get the results you so good, training with crack figure is you give.So I want to ask you, how did your loss graph come out?Can you give me some guidance? Thank you.My QQ:<PHONE_NUMBER>. Sincerely can give you help.thank you,help me.（what is your loss funtion）


Commenting code

@sderygithub could you please add more information on features you are incorporating with this change set?
I did a quick eyeballing and it seems like lot of them were documentation related changes and also logging stuff. It would be harder to do PR unless we have more information on change set.

@kpfadnis Slip of the fingers, didn't realize I had made a PR request ;). Thanks for notifying!


update hugo to v0.120.3

resolve https://github.com/kubesphere/dev-guide/issues/271

/lgtm

/approve


Update Icon component and docs

Fixes BLUI-4370.

Changes proposed in this Pull Request:

Add/update icon component and docs to work with MD3

Screenshots / Screen Recording (if applicable)

To Test:

cd md3
yarn && cd ios && pod install && cd ..
yarn ios or yarn android
observe various forms of icons rendered in channel values
ensure all potential use cases are covered in the docs and examples

Any specific feedback you are looking for?

The screenshot shows the icon and the text is not aligned properly. Is that a Channel Value issue or an icon issue?

The screenshot shows the icon and the text is not aligned properly. Is that a Channel Value issue or an icon issue?

Looks like a channelvalue issue to me.

And do our BLUI icons work with RNP's IconButton component?  I was trying to figure out how our icons are injected but didn't see the docs for that.

And do our BLUI icons work with RNP's IconButton component?  I was trying to figure out how our icons are injected but didn't see the docs for that.

 I was wondering the same thing. Based on the documentation it doesn't look like we can use a custom icon for icon button, but I'll have to dig deeper into that. @joebochill do you have any insights around this?

There are several ways to customize the icon for iconButton (or any other component that takes an icon, presumably):

The quickest way to do it is probably to use the function: icon={(iconProps) => <OurIcon {...iconProps} />}
You could also use a SettingsProvider to set the icon library to use with the string version of the prop, but this is a little hairier since it doesn't let you mix libraries, so you'd have multiple providers all over to switch between BLUI and MD icons:


chore(deps-dev): update dependencies (Node v12)

This branch is based on #16

This somewhat duplicates #16, right?

@voxpelli This PR was based on #16, that's probably why you saw some duplication here


Extract all content from pdf

Hi,
Tabula can extract tables from pdf perfectly.
Now I need to extract all content from pdf files, but when I used -t option, tables wered merged. When I tried -l option, other text in pdf cann't be extracted.
How can I extract all content from pdf files with tables extracted correctly?
Thanks a lot!

Tabula is only for tables, the surrounding text cannot be extracted using Tabula.
But there is pdftotext, from poppler, you can try that. :)
Your favourite Linux distribution should have it as a package, check here, for windows check XpdfReaders' xpdf-tools.


Calendar crashes when minimumDate & maximumDate is set

I am using xcode 8.2 and ios 10.1 .
*** Assertion failure in -[UICollectionViewData validateLayoutInRect:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3600.6.21/UICollectionViewData.m:433
2017-02-02 12:01:42.310 DemoCalendar[788:16847] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UICollectionView received layout attributes for a cell with an index path that does not exist: <NSIndexPath: 0xc000000000000716> {length = 2, path = 7 - 0}'

*** Assertion failure in -[UICollectionViewData validateLayoutInRect:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3600.6.21/UICollectionViewData.m:433
2017-02-02 12:01:42.310 DemoCalendar[788:16847] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UICollectionView received layout attributes for a cell with an index path that does not exist: <NSIndexPath: 0xc000000000000716> {length = 2, path = 7 - 0}'

confirmed - I have the same issue too

@krezzoid I tried your solution. Somehow it worked on some random dates but If I set minimum date two days earlier than current date it still crashes and even 3 days or 4 days. but if I try 7 days before current day it works.

复现了这个bug.
2017-02-13 10:32:13.672 FitFile[2198:56208] *** Assertion failure in -[UICollectionViewData validateLayoutInRect:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3600.6.21/UICollectionViewData.m:433
在iPhone上,设置minimumDate和maximumDate都没有问题
但是iPad上,设置这两个必现crashes.

Can't reproduce this in demo project. Can anyone provide a demo with latest code in master?

I have this problem too.  Although in my case the minimum date is set to 3 months ago..
If I set the maximum date to today, it crashes.  Changing that to Date.distantFuture it's fine.

I still get this problem with the latest master (with #585 merged in).

Strangely the issue occurs when running the iPhone only app on an iPad but not on an iPhone.

for me this always happens with iPhone only app running on iPhone :) latest version of Xcode & simulator

I've updated the swift demo app with code similar to what I'm using.
Strangely it doesn't crash in the situation I when running against iOS 10 but it does show the same problem for iOS 9 running on the iPhone 4s.
https://github.com/markj/FSCalendar/commits/master
To reproduce,

Start iPhone 4s sim (9.3)
Launch swift demo app
Select FSCalendarScope

Boom:
2017-02-13 10:06:51.771 FSCalendarSwiftExample[2951:2320699] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UICollectionView received layout attributes for a cell with an index path that does not exist: <NSIndexPath: 0x7a0cff00> {length = 2, path = 4 - 0}'
*** First throw call stack:
(
	0   CoreFoundation                      0x00cbd494 __exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x0077ee02 objc_exception_throw + 50
	2   CoreFoundation                      0x00cbd32a +[NSException raise:format:arguments:] + 138
	3   Foundation                          0x003fa322 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
	4   UIKit                               0x02353e55 __45-[UICollectionViewData validateLayoutInRect:]_block_invoke + 1116
	5   UIKit                               0x02352dfb -[UICollectionViewData validateLayoutInRect:] + 1329
	6   UIKit                               0x02355b79 -[UICollectionViewData layoutAttributesForElementsInRect:] + 132
	7   UIKit                               0x022ef237 -[UICollectionView _updateVisibleCellsNow:] + 605
	8   UIKit                               0x022f57df -[UICollectionView layoutSubviews] + 254
	9   UIKit                               0x01a333d4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 810
	10  libobjc.A.dylib                     0x00793059 -[NSObject performSelector:withObject:] + 70
	11  QuartzCore                          0x01829096 -[CALayer layoutSublayers] + 144
	12  QuartzCore                          0x0181c8b6 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 388
	13  QuartzCore                          0x0181c71a _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
	14  QuartzCore                          0x0180eee7 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 317
	15  QuartzCore                          0x01843847 _ZN2CA11Transaction6commitEv + 561
	16  QuartzCore                          0x018450b8 _ZN2CA11Transaction17flush_transactionEv + 50
	17  UIKit                               0x01994f55 _afterCACommitHandler + 197
	18  CoreFoundation                      0x00bcf75e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
	19  CoreFoundation                      0x00bcf6be __CFRunLoopDoObservers + 398
	20  CoreFoundation                      0x00bc503c __CFRunLoopRun + 1340
	21  CoreFoundation                      0x00bc4846 CFRunLoopRunSpecific + 470
	22  CoreFoundation                      0x00bc465b CFRunLoopRunInMode + 123
	23  GraphicsServices                    0x05d2a664 GSEventRunModal + 192
	24  GraphicsServices                    0x05d2a4a1 GSEventRun + 104
	25  UIKit                               0x01962eb9 UIApplicationMain + 160
	26  FSCalendarSwiftExample              0x00110cf1 main + 145
	27  libdyld.dylib                       0x002a5a25 start + 1
)

We started to have this issue when we upgraded from 2.3.0 -> 2.6.0, we tried with the latest release also, still the same issue, so we downgraded back to 2.3.0, happening when we have a date selected, plus a min and max date set, can happen when loading the view, or scrolling to change the month.
Strange thing is that I think it's happening only when having a selected date in february, maybe it has to do with the fact that they are less days in this month.
When we have a selected date in a different month, we can't reproduce the bug.
:crossed_fingers: Hope it'll help.

@markj I reproduced your issue from your forked branch. But this is fixed after I override the FSCalendar folder from development branch.  Would you guys like to try again and provide some feedback?

Using the development branch worked me. Thanks! When do you think this might be pushed to the CocoaPod repository?

Oh darn it!  You are right.  Sorry, I didn't see the dev branch - just master was newer than the tag..
I no longer see the issue with the development branch either..
Great stuff! Thanks.

FSCalendar.selectDate is not working now.

There's definitely an issue when the selectDate = minimumDate. The selected date that shows on the calendar is the day before what was specified. I've attached a small project showing this.
CalendarTest.zip

@backofthecup Pushed to Cocoapods. Please try 2.7.2, along with the fix of your last issue.

Awesome! Got the update. Everything looks good. Thanks for getting this done, we have a production release next week and we really needed this working. If you're ever in Austin, TX the drinks are on me!

Still app is crashing when minimum or maximum date is current date...these both dates am getting from webservice so how can i do this one?

Still this crash happens


Automated cherry pick of #4283: feature: 1. baremetal server reuse host ip 2. server name use expression

Cherry pick of #4283 on release/2.13.
#4283: feature: 1. baremetal server reuse host ip 2. server name use expression

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@b74b94f). Click here to learn what that means.
The diff coverage is 27.95%.

@@              Coverage Diff               @@
##             release/2.13   #4284   +/-   ##
==============================================
  Coverage                ?   6.89%
==============================================
  Files                   ?     521
  Lines                   ?   88248
  Branches                ?       0
==============================================
  Hits                    ?    6086
  Misses                  ?   81656
  Partials                ?     506

Flag
Coverage Δ

#aFlag
6.89% <27.95%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/guestdrivers.go
18.18% <ø> (ø)

pkg/compute/guestdrivers/virtualization.go
0% <0%> (ø)

pkg/baremetal/manager.go
0.51% <0%> (ø)

pkg/compute/models/schedpolicies.go
5.45% <0%> (ø)

pkg/compute/models/dynamicschedtags.go
7% <0%> (ø)

pkg/compute/models/guests.go
0.55% <0%> (ø)

pkg/cloudcommon/db/db_dispatcher.go
0% <0%> (ø)

pkg/compute/models/hosts.go
0.33% <0%> (ø)

pkg/compute/models/guestnetworks.go
0.22% <0%> (ø)

pkg/compute/guestdrivers/baremetals.go
1.47% <0%> (ø)

... and 2 more

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 b74b94f...c3355e2. Read the comment docs.

/lgtm
/approve


Backport "Fix treatment of separately compiled @native methods in FirstTransform" to LTS

Backports #21593 to the 3.3.5.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to backport-lts-3.3-21857.
Reference


Aligned ASP.NET Core YAML template to "classic" UI builds template

Purpose of this PR is to fix #355 and align the ASP.NET Core YAML base template to what is the "classic" template when we create a pipeline from the "classic view".

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


where do i put the resources file

Your Question
i updated Geode to 1.0 and it tells me that i have to put a resource file somewhere in the geometry dash folder but it doesn't specify where. where am i supposed to put it?

GD Directory is wherever your GD install is (so probably in your steamapps folder)

The directory is <GD Directory>/geode/resources/geode.loader. A new release should be coming soon that automatically downloads the resources there

The directory is <GD Directory>/geode/resources/geode.loader. A new release should be coming soon that automatically downloads the resources there

i think i put them in that directory but it still says that it's missing the resources.


Unsupported operation: Unsupport download API in browser

My project is using Flutter Web. It's not for production but we need the functionality for something else..
However, I got an exception caught when I used .downloaded method:
"Unsupported operation: Unsupport download API in browser"
The code I wrote is like this:
void downloadImage() async {
Dio dio = Dio();
String urlTest = 'some url string';
try {
await dio.download(urlTest, './testPic123.png');  //trying to save in local directory of my own computer
print('Success!');
} catch (error) {
print(error);
}
}
Its just a simple code
I'm using Dio version 3.0.6
Here is my Flutter doctor:
[✓] Flutter (Channel dev, v1.12.2, on Mac OS X 10.14.6 18G95, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.40.1)
[✓] Connected device (3 available)
• No issues found!
I don't know if these next information is relevant but I also have disabled CORS by adding this to my http.conf: Access-Control-Allow-Origin "*"
Moreover, this is my httpd -v
Server version: Apache/2.4.34 (Unix)
Server built:   Feb 22 2019 20:20:11
I'm using MacBook Pro with Mojave OS ver 10.14.6
Any clue??
Thank you everyone!

Same for me. Flutter web seems to have some issue :(

I'm getting the same build for web

The same is happening to me. Hope they reopen this issue.
I've solve it using  html.window.open(url, ''); if dart:html is available. If not, use dio as usual.

If anyone finds a solution then please share it. I'm facing the same problem.

If anyone finds a solution then please share it. I'm facing the same problem.

Was this ever resolved?

The same is happening to me
Unsupported operation: Unsupport download API in browser
E/flutter (15503): #0      DioMixin.download (package:dio/src/dio_mixin.dart:362:5)
E/flutter (15503): #1      ObtainM3u8Imp.startDownload (package:app/ui/player/obtainm3u8imp.dart:302:34)

Still an issue...
Error: Unsupported operation: download() is not available in the current environment.

It seems that still the same. Reopen pls !! :'(

Still uncompleted in web right now 😢