kernel: set POWERCAP and INTEL_RAPL

These enable some power management settings. They are needed for s-tui
to show power readings.
The values chosen here match what Arch Linux has. In particular
the Intel specific code is loadable as a module rather than compiled in.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @Infinisil

I won't merge this until further approval by other community members.

Hm, not quite sure how to get that. Maybe I should post about it on Discourse?
I suspect many people would appreciate s-tui showing power, and might not even know that it can (I didn't, until I saw someone else referring to it!).

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/57

cc @NeQuissimus


Add ignore_index keyword arg in dropna and drop_duplicates (Part of GH624)

[x] Should cover two bullet points of #624 (dropna and drop_duplicates for both Series and DFs)

[x] Tests added

Additionally add overloads to dataframe drop_duplicates method

Additionally convert existing tests of DF drop_na method to use assert_type.

Right thanks! definitely missed the subtlety. I applied the suggestions.


Let's Encrypt SSL certificate generation - 403 Forbidden

Describe the bug
SSL certificate generation using Let's Encrypt result in 403 Forbidden error.
Logs and dumps
Output of modsec_audit.log

--dde07d07-A--
[18/May/2020:16:27:44 +0300] XsKNUBSLv@CtAoRchMQbWwAAAAU <<IP>> 54146 <<IP>> 80
--dde07d07-B--
GET /.well-known/acme-challenge/g0xtVr2JZjrCGgaXXH1xC8Fp-EXRRdiEAdL3Cm9B3QA HTTP/1.1
Accept-Encoding: identity
Host: autoconfig.domain.tld
Content-Type: application/jose+json
Connection: close
User-Agent: acme-tiny

--dde07d07-F--
HTTP/1.1 403 Forbidden
Content-Length: 272
Connection: close
Content-Type: text/html; charset=iso-8859-1

--dde07d07-E--

--dde07d07-H--
Message: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/httpd/modsecurity.d/activated_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "47"] [id "960015"] [rev "1"] [msg "Request Missing an Accept Header"] [severity "NOTICE"] [ver "OWASP_CRS/2.2.9"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client <<IP>>] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/httpd/modsecurity.d/activated_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "47"] [id "960015"] [rev "1"] [msg "Request Missing an Accept Header"] [severity "NOTICE"] [ver "OWASP_CRS/2.2.9"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "autoconfig.domain.tld"] [uri "/.well-known/acme-challenge/g0xtVr2JZjrCGgaXXH1xC8Fp-EXRRdiEAdL3Cm9B3QA"] [unique_id "XsKNUBSLv@CtAoRchMQbWwAAAAU"]
Action: Intercepted (phase 2)
Stopwatch:<PHONE_NUMBER>029236 20211 (- - -)
Stopwatch2:<PHONE_NUMBER>029236 20211; combined=2753, p1=1779, p2=877, p3=0, p4=0, p5=97, sr=484, sw=0, l=0, gc=0
Response-Body-Transformed: Dechunked
Producer: ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/); OWASP_CRS/2.2.9.
Server: Apache/2.4.6
Engine-Mode: "ENABLED"

--dde07d07-Z--

Expected behavior
SSL certificate generation should be successful as it is when disabling mod security.
Server (please complete the following information):

ModSecurity 2.9.2
Apache/2.4.6
CentOS 7.8

Rule Set

CRS ruleset only

Hi @ShopixRo,
What you meant by ModSecurity disabled?

Hi @zimmerle
If I disable ModSecurity everything works fine. But the problem is that with ModSecurity enabled, SSL certification generation with Let's Encrypt fails.
Is this the normal behavior? Shouldn't ModSecurity allow for Let's Encrypt access?
If this is the expected behavior, how can it be bypassed so we can generate the certificates?
Thanks!

@ShopixRo, that is likely to be a false positive. However, there are two different entities: ModSecurity and the Rule Set. ModSecurity is the engine, that is what this GitHub project is about.
It seems that you are running OWASP CRS as Rule Set, in that case, you should reach them at https://github.com/coreruleset/coreruleset

@zimmerle Thanks for the clarification, now I understand what you mean. Are there any official Rule Set that I can install? I believe having ModSecurity without any Rule Set is useless, right?

@zimmerle Thanks for the clarification, now I understand what you mean. Are there any official Rule Set that I can install? I believe having ModSecurity without any Rule Set is useless, right?

There are different options on that front: You can create our own ruleset based on your specifics needs, use a commercial ruleset, or even use an open-source one.
The commercial ones: Trustwave, Atomiccorp.
The public ones: Comodo and OWASP CRS
Those are the ones a the top of my head.


wrapping name creation in a function for save_json(observer)

If I'm not mistaken, the wrapper function you wrote does not take into account that maximum architecture and duplication rate need to be added to the document name for all mutation types that change the architecture. Could you add that? Or do you want me to do it?

Oi Clemio,
Yes please do that if you can!


error-friendly componentWillUnmount

in some rare (unexplained yet) cases the componentWillUnmount can be called without this.hammer initialiased and it breaks in theses cases.

Thanks @revolunet


Committing live changes on DO to github branch

So I don't know my city halls. Is the one that's in this pull request from Chicago or Miami? @adamold? @wordyallen?

That's Chicago. Miami-Dade's looks like a 1980s office tower.


random NPE when moving between files

I'm getting this:
17:40:58 ESLint plugin: java.lang.NullPointerException
17:42:51 ESLint plugin: java.lang.NullPointerException
No idea where it comes from, but happens always when changing file. As a first step i suggest to add some logging to the error messages.

Please update


Build from command line

In order to create a CI pipeline I'm going to need to be able to generate a build from the command line as opposed to in the Unity editor. This can either be done with a build script in the project or possibly just through command line arguments when launching Unity.

Ended up writing a build script for this. The scene to build is just hardcoded as the only scene that currently exists. The build target is also hardcoded to be universal linux and the build options are also hardcoded to be headless mode.
The command to run this launches Unity in batch mode (Unity can't be running) and executes the build method in my build helper file. All the output files get put into the Builds folder.


Splash Missing

Currently , there is no splash screen in our app and we instead see a grey screen due to app initialization as shown in the gif.

We can replace the grey screen by below splash.This splash will be shown for time exactly the same as time taken by app to initialize (grey screen).

This is a good practice as recommended by very own Chris Stewart in this article - BigNerdRanch.

@opticod @croozeus Can I proceed if it's intended enhancement ?

@croozeus Presently, all template apps have splash screen but the toolkit 's splash screen is only enabled for first time run to take the author name as input.

@opticod ah, yes! It would be a good idea to add the splash screen on subsequent launches as well then. @codingblazer do you want to take this up?

@croozeus Yeah sure !.Should I implement fixed time splash or splash with time exactly as time required for app initialization(black screen).

Hey! how are you going to calculate the time required to app initialisation? Is it possible to calculate for all devices and all environments for each startups and apply it for the same startup?

Or are you going to display the splash screen without having any timer and the effect will be mimicked automatically ?

Its actually done using theme as explained in this article by Chris - Big Nerd ranch

Its same as my approach asked in 2nd question.
You can proceed. Make the layout looks like the old one with Edit text removed in normal startup.
@croozeus Is the design fine or want to modify it :) !

@opticod Yeah sure. Was just confirming. :-)
Will be sending a PR soon.

@opticod the design looks fine, EditText for name should be removed.
@codingblazer this splash should be shown for initialisation time. The approach mentioned in the article you shared seems to be the correct one.

@croozeus Great ! Please assign me.

Can i work on this?

@saketkumar95 , @codingblazer is already working on this. Feel free to take anyother unassigned issues.

Merged via d7f0fbd5882075d5c39aed0454d8d68fcd2f71f5 and fa3dc90c9e2031c565cda7d41d6b06b60a88230e


How to manually click on an AccordionItem -> AccordionItemButton ?

i tries to use a ref to the button with no success.
is there any handler to toggle an item ?

We provide dangerouslySetExpanded now to programatically toggle accordion items, though it is usually not recommended as the name implies, what is the use-case for this?


add method to blacklist certain user

Feature Request
Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Teachability, Documentation, Adoption, Migration Strategy

What is the motivation / use case for changing the behavior?

This should be done manually as we do not want users of the system to be able to block other users

This should be done manually as we do not want users of the system to be able to block other users


proposal: add dynamic load balancer support for openyurt (#400)

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/pinned

/pinned


i18n - patches are shown as empty, translation lost

Hi, I did a full translation de-DE on https://direct.codecombat.com/i18n/level/underground-business. Tested it and it was shown when playing the level.
Now all translation de-DE are missing. The patches are shown, but the first patch says:
Diplomat submission for lang de-DE: 8 change(s).
Keine Änderungen (No changes)

The second patch show further changes I made to my first patch, it's not accepted yet.

Found a somewhat related issue: The diffs in the patches section of i18n are not shown correctly:
At https://direct.codecombat.com/i18n/level/zoo-keeper
I did some small changes. This is the text after my edits (English section was not altered):

However, the diffs in the patches section show some of the changed, new text (for example Feld was changed to Array) without green color, whereas the changes marked green show falsely one "," too much and "eineinen", instead of "einen". (see first picture for actual text in this patch).

I'm checking in on the Underground Business translations; it's possible was a patch-acceptance mistake, will see; else a bug. I think @Bryukh might have accepted that one?
For the diff view thing, does the expert view show it correctly, if you click to expand that?

Underground Business: The two patches I made with the i18n interface show up in the level editor (as well as in the i18n interface).

The first patch was made in the i18n interface and it was accepted automatically, as it was i18n only. It was also test-played and showed the translated level name on the map as well as the translated texts in the source and the Hints.
The second patch I edited in the level editor and changed an minor spelling mistake in the English text, too. This is the expanded view of the patch:

This patch was pending. I suppose @Bryukh has accepted this patch, as the correction of the English text is now applied.
The spelling correction of the German text, done in the same patch, is shown in the diff, but all i18n de-DE translations seem to be gone.
As far as zoo-keeper is concerned: I am sorry, I cannot remember wether the expert view showed the same. And I cannot re-check: Now the patch shows "No Change" , so I cannot  reproduce this faulty diff. The translations are still there and the patch was apparently applied correctly. I was only concerned about the false diff view which showed strange changes that did not happen.

@joca16 About "Underground Business". It was a problem because I was working on the level at the same time when you added the translation. So when I saved my changes, I "removed" your translation because they weren't in my cached version. Sorry, I restored (I hope all) your translations to this level.

@Bruyukh Thank you for the explanation and your effords in getting the texts back! Glad that there is no larger bug, just a race condition ;-) Thanks for resolving! Part Underground Business  can be closed imho.
As far as zoo-keeper is concerned: I will continue to watch whether similar strange diffs occur. I have noticed, that there are quite a few accepted patches, that show "No Change". Is this maybe the default behaviour for patches, that have been incorporated into the database?

I'm closing this issue, as the initial problem was solved. Thanks @nwinter & @Bryukh! I will open separate issues for two things that popped up in the discussion here later:

Implement a locking / mutex mechanism for editing levels, thangs, etc. This would prevent that changes might get lost if two persons work on the same object at the same time.

There seem to be some issues with showingpatches. As in the examples here, there seem to have been some editing conflicts before, it is not quite clear what was going on. I will try to look for reproducable errors an open a new issue then.


fix fails when try to find links when duplicates=False if anchors contains invalid url

hi,
i was trying to crwel links from homepages of some websites but it fails when i use  duplicates=False parameter of find function and the keyError  : 'href'  exception arise
>>> import linkGrabber
>>> from linkGrabber import Links
>>> links = Links("http://www.freep.com/")

>>> links = links.find(duplicates=False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/linkGrabber-0.3.0-py3.6.egg/linkGrabber/__init__.py", line 113, in find
    if link['href'] == anchor['href']:
  File "/usr/lib/python3.6/site-packages/bs4/element.py", line 1011, in __getitem__
    return self.attrs[key]
KeyError: 'href'

but when i remove  duplicates=False it work fine

I added more test data to cover this case
Before this PR the unit tests will fail .. after this PR unit tests passes sucsssullly.
then i edit this line search = self._soup.findAll('a', **filters) to use href=True parameter of beautiful soup selectAll function to get only links with href attribute
search = self._soup.findAll('a', href=True,**filters)
and now it work fine with me

Thanks for submitting this PR!
It seems simple enough, just wondering about someone being able to pass the href argument into the findAll function

hi @neurosnap , thanks for your reply,
yes indeed, you can pass it in **kwargs  as keyworded parameter, and inside findAll it update attrs  value with new key value attribute href=True , and it search for all a  with href

hi @neurosnap ,
hi have updated code and add vcr_cassettes/third_test.yaml file because number of anchors changes in homepage
can you close or merge the pull request ?

Uploaded 0.3.1 to pypi, let me know if you have any issues!

@neurosnap  no thanks , thank you for accept the pull request


Downstream AKS Cluster Management > Cluster details page not displaying accurate message during update

From https://github.com/rancher/aks-operator/issues/179

Setup

Rancher version: 2.7.0
Rancher UI Extensions:
Browser type & version: Chrome

Describe the bug

When updating a downstream AKS cluster, Cluster Management > Cluster details page does not display accurate message.

To Reproduce

Fresh install of 2.7.0
Provision a downstream AKS cluster
Update downstream AKS cluster
Navigate to Cluster Management > Cluster Details page
Reproduced

Result

The following message is seen:
This resource is currently in a transitioning state, but there isn't a detailed message available.

Expected Result

expected to show more detailed message, as seen in AKS operator logs:
time="2023-03-07T02:10:50Z" level=info msg="Waiting for cluster [REDACTED] to update node pool [REDACTED]"

Screenshots

This is one for the back end team. We show this fallback message when the provisioning.cattle.io.cluster metadata.state reports as transitioning but does not contain a message.
That message should be updated to contain the requested text

Blocked on https://github.com/rancher/aks-operator/issues/179

@richard-cox Is there actually anything for the UI to do here? or is a case of backend giving better status messages?

@nwmac In my opinion, given https://github.com/rancher/aks-operator/issues/179#issuecomment-1547497963, there's nothing UI side. Once that suggestion has been implemented we will automagically show the correct message.

@kkaempf Based on the above, I don't think there is anything to UI to do - this was marked backend blocked, so we would validate in the UI once the backend work was done - but for now, we will close this issue and the work to fix will be purely in the operator.


Update pkcs11 submodule

Update pkcs11 submodule
Description
update pksc11 submodule head
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/but run checks


#185 Add zend-serializer to composer suggestion.

I am not sure about this. It does not add any functionality to zend-mvc.

@Xerkus
If a end-user wants to use the LazyControllerAbstractFactory in his application, then zend-serializer is required – but only there.
Therefore the hint / suggestion in the Composer file for this soft dependency.
https://github.com/zendframework/zend-mvc/blob/fe43713dd6d251343139142ad680eab049edb6c6/src/Controller/LazyControllerAbstractFactory.php#L21
At the moment we have no reference or guide for the Composer file, but we use the suggestion section with the introduction of Composer.

Neither use statement or magic ::class constant require presence or existence of the referenced class. It is just a glorified string literal. I would argue this use case does not create soft dependency.
Controller requiring serializer adapter plugin manager as dependency would need to declare zend-serializer as a dependency on the other hand.

 The factory doesn't use the serializer for running.


Manage Parms and their Pieces Directly on CEN2

Currently Parms and their pieces are entered into CEN2 by the monthly update that transfers the CEN1 input files to CEN2.
There is a requirement to a) load Parms and Pieces directly into CEN2 by uploading a parms file directly into CEN2; b) Perform online edits to Pieces; c) protect these uploads and changes from the monthly transfer update.

The new set of parms extracted from TNA by @richardofsussex have been loaded into test3.
The process for accessing these parms is described here
https://drive.google.com/file/d/1kUz0pOhnoQaNjVDBuJUT2gORGFRC57FD/view?usp=sharing.
There are a few warts in the data but in most cases it is of high quality.
Parms are there for all counties in England and Wales for all years  1841-1911.
The next step is for @geoffj-FUG @FreecenBren to conduct an initial review and assessment.

Kirk
Looks good.
I have a question. I presume we are looking at a .csv version of the PARMS. How is the actual file formatted. Is it a table / array?
I ask because we are going to test the Civil Parish in the transcriptions against the PARMS. As it is presented at the moment we would be searching on a sub-string. When I downloaded the files that were previously available from Richard and transferred them to a spreadsheet they came up as a table. I assume that that is the format of the actual table.
The format available in the view is suitable for the Coordinators. That is what they are used to. The link with the TNA is very good. It allows the Coordinator to check the TNA record when there is a mis-match.
I presume that the code to test the Civil Parish against the PARMS is now on the To Do list for future testing?
We need a procedure for reporting any errors to the TNA. I will put it on my To Do list and pick that up later.
Regards
Geoff
From: Kirk Dawson<EMAIL_ADDRESS>Sent: Tuesday, 16 June 2020 2:02 AM
To: FreeUKGen/FreeCENMigration<EMAIL_ADDRESS>Cc: geoffj-FUG<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [FreeUKGen/FreeCENMigration] Manage Parms and their Pieces Directly on CEN2 (#852)
The new set of parms extracted from TNA by @richardofsussex https://github.com/richardofsussex  have been loaded into test3.
The process for accessing these parms is described here
https://drive.google.com/file/d/1kUz0pOhnoQaNjVDBuJUT2gORGFRC57FD/view?usp=sharing.
There are a few warts in the data but in most cases it is of high quality.
Parms are there for all counties in England and Wales for all years 1841-1911.
The next step is for @geoffj-FUG https://github.com/geoffj-FUG  @FreecenBren https://github.com/FreecenBren  to conduct an initial review and assessment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/852#issuecomment-644223798 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFLWXK4L5BFTOGYOFJ3RWZAYDANCNFSM4ML2Z7RA .  https://github.com/notifications/beacon/AKCPIFNQ4HA2A6GR5RFGZRDRWZAYDA5CNFSM4ML2Z7RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEZTBGNQ.gif

@geoffj-FUG
The files from Richard are not csv but xml
They are ingested into CEN2 are linked database collections are created for each Districts, Subdistricts, and Civil Parishes with the District keyed to the Chapman Code.
Is there the need for any download????? and if so what. Don't tell me ctyParms. What is the actual requirement?
CSVProc use of these tables remains to be done.

Kirk
There is no need for a download as far as I can see. However there needs to be a process to edit corrections.
For integrities sake I see this as being centralised so that when a correction is done we do advise National Archives of the need.
Geoff
From: Kirk Dawson<EMAIL_ADDRESS>Sent: Thursday, 18 June 2020 12:54 AM
To: FreeUKGen/FreeCENMigration<EMAIL_ADDRESS>Cc: geoffj-FUG<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [FreeUKGen/FreeCENMigration] Manage Parms and their Pieces Directly on CEN2 (#852)
@geoffj-FUG https://github.com/geoffj-FUG
The files from Richard are not csv but xml
They are ingested into CEN2 are linked database collections are created for each Districts, Subdistricts, and Civil Parishes with the District keyed to the Chapman Code.
Is there the need for any download????? and if so what. Don't tell me ctyParms. What is the actual requirement?
CSVProc use of these tables remains to be done.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/852#issuecomment-645424496 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFK6PAT6LGV3GXVNQIDRXDKHFANCNFSM4ML2Z7RA .  https://github.com/notifications/beacon/AKCPIFNV25KURJBBRQWV2VDRXDKHFA5CNFSM4ML2Z7RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEZ4GK4A.gif

Thank you @geoffj-FUG
I agree on the need for an edit capability. I also agree on the need for centralized control and this should likely be the Data Managers

Edit capability to be added


Latest Blazor Breaks Bootstrap Layouts

After updating Radzen, I'm having issues with broken Bootstrap layouts. After investigating, it's due to this being defined by Radzen, which overrides box-sizing: border-box
*::before,
*::after {
  box-sizing: inherit;
}

Radzen version 5.0.6

OS: Garuda Linux
Browser: FireDragon 11.15

I don't know why that code was introduces but you should avoid breaking Bootstrap layouts.
When I look in the browser with inspect tools and disable this Radzen rule, then the row comes back to normal.
Here's a sample row that should display on a single line; but now splits into 2.

Email:

<input type="text" style="width: 100%" />

I tried fixing it with this in my CSS but it's not working. Removing Radzen.Blazor.js is the only "fix" I found.
*::before, *::after {
  box-sizing: border-box !important;
}

The other working fix is reverting back to Radzen 4.34.4

Duplicate of https://github.com/radzenhq/radzen-blazor/issues/1632


[bug] Duplicate error message shown

Describe the bug
The error output on score-humanitec is a little messy. It starts with the error message, then the help text and then the error message again it seems.
$ score-humanitec run --env development
Error: validating workload spec: 1 error(s) decoding:

* 'Resources[db].Properties[name]' expected a map, got 'string'
Usage:
  score-humanitec run [flags]

Flags:
      --env string          Environment ID
      --extensions string   Extensions file (default "./humanitec.score.yaml")
  -f, --file string         Source SCORE file (default "./score.yaml")
  -h, --help                help for run
      --overrides string    Overrides file (default "./overrides.score.yaml")
      --verbose             Enable diagnostic messages (written to STDERR)

validating workload spec: 1 error(s) decoding:

* 'Resources[db].Properties[name]' expected a map, got 'string'

We probably don't need to show the help text here.
Additional context
Reach out to Will Overton (https://github.com/williamoverton) for further context, who initially reported this issue.

The first output is written into stderr, where the "help" message is a standard output produced for the User and written into stdin.
I would agree that we are better to supress the "help" message on application errors, and only show it if there is a usage error.


Derivatives are only doing a delta, not applying the time component

Bug report
System info: [InfluxDB 0.13.0~n201604180800, CentOS 6.7]
Steps to reproduce:

Create a derivative of a value grouped by time

Expected behavior: The results should be calculated as the difference of the value over the grouped time range divided by the time range itself
Actual behavior: The results only show the difference for the time range
Additional info:
Derivative results
> select derivative(mean(value)) as value from vsvrTotalResponses where time > now() - 5m and Grouping='TESTSERVICE' group by time(1m),*
name: vsvrTotalResponses
tags: DC=, Grouping=TESTSERVICE, Host=<IP_ADDRESS>
time                    value
----                    -----
2016-04-29T00:24:00Z    291.5
2016-04-29T00:25:00Z    279.5
2016-04-29T00:26:00Z    249.5
2016-04-29T00:27:00Z    239.5
2016-04-29T00:28:00Z    268.5
2016-04-29T00:29:00Z    224.5

Source data
> select  value from vsvrTotalResponses where time > now() - 5m and Grouping='TESTSERVICE'
name: vsvrTotalResponses
------------------------
time                    value
2016-04-29T00:24:32Z    1392598
2016-04-29T00:25:02Z    1392724
2016-04-29T00:25:32Z    1392806
2016-04-29T00:26:02Z    1392943
2016-04-29T00:26:32Z    1393086
2016-04-29T00:27:02Z    1393216
2016-04-29T00:27:32Z    1393292
2016-04-29T00:28:02Z    1393457
2016-04-29T00:28:32Z    1393588
2016-04-29T00:29:02Z    1393747

Manually calculating
 2016-04-29T00:26:02Z    1392943
 2016-04-29T00:25:02Z    1392724
					     -------
                             219

But since this is over a period of 60 seconds, it should be 3.65/s

Thank you for the bug report and for all of the information and the nice formatting. It really does make it easier to look at the issue.
I think there might be a misunderstanding in the docs that needs to be clarified. First, the manual numbers you have calculated aren't correct with the query you used, but I can understand where the confusion came from. You used derivative(mean(value)) which means you want to group every minute interval by their mean. So you end up with these values for the ones you manually calculated:
2016-04-29T00:25:00Z    1392765.0
2016-04-29T00:26:00Z    1393014.5

The derivative is then calculated by subtracting these two and you get 249.5. That's only a minor misunderstanding though and just changes your expected output to something like 4.15/s. The problem is that derivative does something special with a nested aggregate as documented here:

DERIVATIVE() also works with a nested function coupled with a GROUP BY time() clause. For queries that include those options, InfluxDB first performs the aggregation, selection, or transformation across the time interval specified in the GROUP BY time() clause. It then calculates the difference between chronological field values and converts those results into the rate of change per unit. The unit argument is optional and, if not specified, defaults to the same interval as the GROUP BY time() interval.

Since you have an aggregate and a GROUP BY time(), it defaults to using that (1m) as the divisor. So you end up with a change of 249.5/m. If you want to switch it back to using seconds, you can do this:
SELECT derivative(mean(value), 1s) FROM vsvrTotalResponses where time > now() - 5m and Grouping='TESTSERVICE' group by time(1m),*

I hope this helped. If there's anyway we can improve the documentation to prevent this kind of confusion, please tell us.

Jonathan,
Thanks for a gracious reply to an RTFM bug report. I think perhaps breaking the last sentence out as a separate note might help for those of use with reading comprehension issues :-)

DERIVATIVE() also works with a nested function coupled with a GROUP BY time() clause. For queries that include those options, InfluxDB first performs the aggregation, selection, or transformation across the time interval specified in the GROUP BY time() clause. It then calculates the difference between chronological field values and converts those results into the rate of change per unit.

Note: The unit argument is optional and, if not specified, defaults to the same interval as the GROUP BY time() interval.


During recovery, allow select multiple files at once

Feature Request
Description
When selecting the files to recover from, allow the user to select multiple files at once. Importing shares one-by-one can be tedious.
Possible solutions:

allow to select multiple files
shares may be grouped in one folder, allow to import a complete folder at once

Totally agree, this is a nuisance in the current UI. Do you have any interest in taking this one on yourself?

Yeah, maybe. I'm new to this project and the used framework, but I am willing to look into some of the easy issues and contribute some work.
I got here via the Freedom of Press twitter and wanted to list some of the issues I encountered while testing. I hope it's not too much if I open multiple issues in such a short time.

On the contrary, file away! These are very useful observations, thank you. :) Starting with an "easy" issue is indeed a good way to go, and if you get stuck, feel free to just post questions in the issue you're working on and we'll try to help.

@koenaad Just a note - if you would like to take on this or any other Sunder-related issues and have any questions about the architecture or code, the maintainer team can now also be found on Gitter chat: https://gitter.im/freedomofpress/sunder

Resolved by #141.


Minimal gRPC service-to-service config example with health checking

Envoy is impressive, and its documentation is far-reaching, but the wealth of configuration options means its difficult to know if you're setting things up right. In my case, all I want is automatic health-check driven connection draining to ensure zero-downtime deploys. Yet after setting up an SDS server, health check listeners, retry policies, and more I still see requests being forwarded to Envoy servers that are returning 503's.
Has anyone put together a minimal configuration example that provides what I'm looking for? I know that gRPC is a bit of a special case but I suspect many folks would love something simple to start with, as opposed to the extremely complex configs on the documentation website.
I should note that I'm running Envoy on both the client and server.

We would like to have more examples, but unfortunately don't have resources to have someone work on refining all of the getting started/example documentation. Will leave this open to track us doing it at some point or perhaps someone contributing an example. In the meantime, we can help you debug on Gitter if you ask questions there.

@egoldschmidt Have you found anything? How did you solve your problem?

Has anyone got anywhere with this?

Were you able to get something to work? Im trying to build grpc service mesh.

Any chance we can enhance the grpc bridge example to satisfy this issue?

@cmluciano optimally it would be a pure gRPC example IMO.

I have a (too) simple setup example here: https://github.com/dio/simple-grpc will add xDS (probably CDS first) in the mix. After some cleanups, I'll try to submit a PR.

@mattklein123, feel free to assign this to me.

cc. @phlax

@phlax I am looking to work on this. If you have any suggestions let me know. I will share my plan before i start work.

i would take a look at the example in @dio's repo
not sure if we want/need to have TLS - i think the main thing is showing the gRPC proxy and health check - but perhaps im wrong and it is necessary for some reason

The example repo currently doesn't have a LICENSE so not sure how the code contribution will work @dio advise here when youy get a chance. Of course, can create my own examples.
To summarize, what should the sandbox demonstrate? Are they:

Static configuration (i.e. considers CDS out of scope) for gRPC service to service communication

Will verify if TLS is required for some reason

Active healthchecking support

I have started working on this with two example gRPC services - hello and world custom made for this sandbox. Will create a PR when I am ready.

Sharing some in progress work.
I currently have a verification script: https://github.com/atlassian-forks/envoy/blob/314f274a62461a4fb1f52ad891363c0b0b79188f/examples/grpc-s2s/verify.sh - the comments sort of explain what is currently happening.

I created a draft PR: https://github.com/envoyproxy/envoy/pull/24674. I am not sure about a issue i am facing that i would like to fix before creating the documentation.
When a host is marked unhealthy, it seems like, Envoy updates the cluster statistics to mark the host as unhealthy only after 60s. I have configured Envoy to flush on admin request, but that doesn't seem to help. So, now I am not sure is it that the statistics are not updated or the host is actually not evicted from the load balancer's upstream pool.
I will keep digging.

The 60s delay noticed for eviction was happening due to the default value for no_traffic_interval (https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/health_check.proto#config-core-v3-healthcheck). By setting that I can now see host eviction within that configured almost immediately the host becomes unhealthy. https://github.com/envoyproxy/envoy/pull/24674/commits/695de5cd3d528e9751b61ddc2611a753fcce0b69#diff-3af0ad67fbabd75de88150efd1552588adcf5a6c1cfe6bf20b9e8b29fedb0b93


Termeter doesn't respond to SIGINT

On Ubuntu 18.04, in Tilix, sending Ctrl + C (SIGINT) does not do anything and the process continues running.
What could be the reason for this?

This is also happening to me. If it makes any difference, I am running the binary directly from the gopath directory. Eg: alias termeter="$GOPATH/bin/termeter"
I am then running the provide example
seq 100 | awk 'BEGIN{OFS="\t"; print "x","sin(x)","cos(x)"}{x=$1/10; print x,sin(x),cos(x)}' | termeter

System config:
OS: 64bit Mac OS X 10.15.7 19H114
Kernel: x86_64 Darwin 19.6.0
Shell: zsh 5.7.1
Resolution: 3840x2160
Font: MesloLGSForPowerline-Regular 12
CPU: Intel Core i7-8850H @ 2.60GHz
GPU: Intel UHD Graphics 630 / Radeon Pro 560X
RAM: 16130MiB / 32768MiB

This is also happening to me. If it makes any difference, I am running the binary directly from the gopath directory. Eg: alias termeter="$GOPATH/bin/termeter"
I am then running the provide example
seq 100 | awk 'BEGIN{OFS="\t"; print "x","sin(x)","cos(x)"}{x=$1/10; print x,sin(x),cos(x)}' | termeter

System config:
OS: 64bit Mac OS X 10.15.7 19H114
Kernel: x86_64 Darwin 19.6.0
Shell: zsh 5.7.1
Resolution: 3840x2160
Font: MesloLGSForPowerline-Regular 12
CPU: Intel Core i7-8850H @ 2.60GHz
GPU: Intel UHD Graphics 630 / Radeon Pro 560X
RAM: 16130MiB / 32768MiB

To add to my original report, I am using on Ubuntu 18.04, with zsh in the default Ubuntu terminal.

To add to my original report, I am using on Ubuntu 18.04, with zsh in the default Ubuntu terminal.


Fix manuallyAdded files setting maxFiles on remove

This just makes an additional  check that the maxFiles options was actually set (default is null), before incrementing it on removal of a manuallyAdded file.
Fixes #433.

Thanks @kynetiv

Released as 3.5.8


Tweak the TTL of a service?

Heya,
the time before a "service down" event is emitted seems to be a little long. Is there a way to change the behaviour beside by controlling it additionally within the application?

Heyo,
no, I'm afraid, there are no TTL controls. It's just not in the API.


Add request body into non application/json post/put/delete requests

The request body was not inserted into the callback function of the expect.
The current pull request sends the body of the request into the callback argument instead of nil

@johantell, thanks for the feedback. I have tried to address all the listed concerns in the follow-up commit(s)


Guzzle hangs when executed under FastCGI on IIS 8.5

Q
A

Bug?
yes

New Feature?
no

Version
6.3.3

Actual Behavior
Guzzle hangs when performing the request. Script eventually times out, no error is thrown. Setting a timeout has no impact (and time elapses past timeout).
Tested on PHP 7.1.1 and PHP 7.2.8.
Expected Behavior
The request to complete.
Steps to Reproduce
This script causes the issue for us.
error_reporting(E_ALL);

include "../vendor/autoload.php";

$client = new GuzzleHttp\Client([
    'timeout' => 5,
    'connect_timeout' => 5
]);

$response = $client->request('GET', 'http://example.com');
$body = $response->getBody();
echo $body;

echo ' END';

If we replace Guzzle with a boilerplate PHP cURL example it works as expected.

Can you try to trace the request (eg. with blackfire) to see where it hangs?

We've found out the root cause of the problem in our environment, cURL was unable to create a temporary files and errors cascaded down from there.
If anyone stumbles across this post 3 years from now and is wondering why their unusual combination of IIS, Windows Server, FastCGI and PHP is causing Guzzle to not work - try clearing C:\Windows\temp
🤦♂

Great, glad you could find it.


Fixed timer changes not being updated in UI

I saw https://github.com/brandonp2412/Flexify/issues/5 and had a go testing the latest release build to see any issues.
While testing I noticed these bugs:
The timer UI gets out of sync if you start the time (+1 min), then save a set, the timer page would show the wrong remaining time.
If you save a set while another is in progress, it doesn't restart the timer.

Great work King! I just noticed the Tween animation builder wow it's easy as to do animations in flutter. I had doing these types of animations on my list so great to see how easy it is to do.


Create LICENSE

You may also want to consider moving the versioned directories into seperate releases/tags

I'll do it this week when I have time. I'm currently busy on something else.


Incorrect alignment of the text

When I scan same pdf file, then in a resulted searchable pdf, the text seems not aligned correctly.
To explain myself better, this is a comparison between abby and gimagereader (that use tesseract):

How can I improve this behavior?
This is the resulting txt file, if it can be useful:
pho-eng.txt

shit!


How the scan credit card works?

I saw in the example a link above the ios keyboard "Scan Credit Card"
I cant figure out how this work.
Any help will be appreciated

Asking my own question:
1: You have to use correct id for input field.
Example: id="credit-card-number"

Site have to be accessed over HTTPS and need to have valid certificate.

I am closing this issue.


Made Building happen async and in multiple process

Prior to this on my machine building the docs for nimibook took roughly around 30s it now takes around 10s. For Norm's docs it went from around 60s down to around 30s. No clue if this is an overly interesting thing, just seen the easy ability to speed it up a bit so thought I wouldd make a PR

It's probably fine now, there were issues with it prior that I realized after

sorry about letting this sit here so long, last two/three months I had very little time for nim stuff. I have a bit of backlog to catch up now but realistically I should be able to look and merge (along with a new release of nimibook) by the end of July (last words...).

It's fine by me it was like less than an hour of work so it's not a big deal.

thanks for this! had time to check it out and it does indeed work as expected. Will now merge and work on documenting last changes and adding netlify preview before releasing 0.3


Package versions 1.1.0 will not install on .NET Framework

Both base and full distribution package versions 1.1.0 will not install on .NET Framework.
This is a known issue and is being investigated.
Error seen in package manager console:
PM> install-package Grafana.OpenTelemetry.Base

Attempting to gather dependency information for package 'Grafana.OpenTelemetry.Base.1.1.0' with respect to project 'NetFxDistroDemo', targeting '.NETFramework,Version=v4.8.1'
Gathering dependency information took 2.33 sec
Attempting to resolve dependencies for package 'Grafana.OpenTelemetry.Base.1.1.0' with DependencyBehavior 'Lowest'
install-package : Unable to resolve dependency 'OpenTelemetry.Instrumentation.GrpcNetClient'. Source(s) used:
'nuget.org', 'Microsoft Visual Studio Offline Packages'.
At line:1 char:1
+ install-package Grafana.OpenTelemetry.Base
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackage
   Command

This is an issue specific to the previous project format that relied on packages.config. The csproj format was changed in 2017, and uses different package resolution rules. The new resolution rules allow for stable packages that have pre-release dependencies, while the older format will not install any pre-release dependencies unless the package is also marked as pre-release.
All .NET projects use the new format, and .NET Framework projects may be upgraded to the newer format.
Please reply to this issue if you encounter this problem with your projects.


Creating a DestinationRule but omitting tls defaults to none

We have the following default meshPolicy:
apiVersion: "authentication.istio.io/v1alpha1"
kind: "MeshPolicy"
metadata:
  name: "default"
  labels:
{{ include "istio.labels.standard" . | indent 4 }}
spec:
  peers:
  - mtls: {}

Which enables mTLS for all peers.
We added a destinationrule for a service:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
  name: supply-and-demand-service
spec:
  host: app
  trafficPolicy:
    loadBalancer:
      simple: LEAST_CONN

This in turn broke mtls:
[atcloud@vehicle-metric-service-5b7f659f5c-w9wpv app]$ curl http://app.supply-and-demand-service
upstream connect error or disconnect/reset before headers

Adding:
    tls:
      mode: MUTUAL

Resolved this.   This behaviour seems a little weird, if that value is omitted, surely it should use the global policy rather than defaulting to none

OK it didn't, it got pilot stuck in a crash loop https://github.com/istio/istio/issues/7591

Note that you must specify ISTIO_MUTUAL, not MUTUAL, in this case. See an example in https://github.com/istio/istio/blob/master/samples/bookinfo/networking/destination-rule-all-mtls.yaml.

Thanks @vadimeisenbergibm - I've updated this - I do still think if that value is omitted it should fall back to the global policy, not presume NONE

This is actually a very serious issue, since Tasks that apply DRs, like this one for example, won't work when mTLS is globally enabled, unless we add alternate instructions (for mTLS on/off) everywhere we apply DRs, which would be ugly.
Why is the default not the global setting, if not specified in the DR? The doc doesn't actually say what the default tls mode is if the TLSSettings aren't specified, so we should be able to fix this without making a breaking change.
If we can't fix it, we need to update several tasks and add something in the troubleshooting doc about "503 errors immediately after setting DestinationRule".

Checking for CONFLICT under STATUS is the way to confirm this has happened:
$ istioctl authn tls-check httpbin.default.svc.cluster.local
HOST:PORT                                  STATUS       SERVER     CLIENT     AUTHN POLICY     DESTINATION RULE
httpbin.default.svc.cluster.local:8000     CONFLICT     mTLS       HTTP       default/         httpbin/default

Okay, this is bad docs on our part (fyi @diemtvu ).
The authentication policy applies to server side policies.. i.e. service owner decides whether they will allow ONLY_MTLS or mix of plaintext and mTLS.
the destination policy applies to client-side only. So, yes, you have to set this in two places.
Now, the actual intent was that you would set the global authentication policy to be a permissive one(allowing both TLS and plain text). This way, you could incrementally rollout mTLS by setting destination rules (applied client side) for each service to use mTLS (i.e. clients start using mTLS one by one).

So I guess the default global authentication policy should be set to permissive (at least in install/kubernetes/istio-demo-auth.yaml) or we've got to fix the tasks that are broken when Istio is setup with mTLS enabled.
Either way, I think we need to document this better.

We have tried to mention destination rules on security side (e.g Authentication policies or tasks, but I guess we miss doing so on the networking side.
Any suggestion to make this concept clearer in all places are welcomed.

It would be clearer if there was a new TLSSettings.TLSmode "INHERIT" which means to use the mode that would be used if there was no DestinationRule.  This could be optional or we could make it the default and say that defaulting to DISABLE was a bug.
To me it feels like a bug that defining
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: reviews
spec:
  host: reviews.bookinfo.svc.cluster.local

causes reviews to start returning 503 when mTLS is enabled.

@esnible I think this is the rule that @rshriram is referring to: https://github.com/istio/istio/blob/d0442336247bf4015c1dde1045d5b02b516771a8/install/kubernetes/helm/istio/charts/security/templates/enable-mesh-mtls.yaml#L23

btw, I added this to the configuration guidelines: https://istio.io/help/ops/traffic-management/deploy-guidelines/#503-errors-after-setting-destination-rule

I like @rshriram idea of not enabling global mTLS and gradually rollout it for every service.
@esnible I don't think we need an INHERIT value. I believe it's enough to assume the parent/global value in absence of an explicit value.
Folks, is it a breaking change to assume the global value - instead of assuming NONE if the user doesn't explicitly set a value?
BTW, as another option, it would be useful if Galley could accept the DestinationRule with no TLS setting in it but if it could print a WARNING if global setting is mTLS enabled. It seems it's not possible currently on Admission Webhooks though...

Removing option to enable mTLS globally will be a pain for security operators.
I am in favor of INHERIT, though we need to have a good way to define the 'hierarchy'. Another option is to break the TLSSettings into a separate policy (CRD).

Yes, please do not remove the global entry.  We want opt out, rather than opt in.  INHERIT seems to make the most sense to me, or enforce the value to be set in the CRD.  The current behaviour of omit = none is just wrong

You guys seems to have misunderstood what I wrote above. I didn't mention to remove the mTLS option at all. What I said was indeed inheriting the global setting is the way to go in my opinion. I just think we don't need a special flag for that, like INHERIT. We could infer that automatically, if the user doesn't explicitly set one in their DestinationRule.

Are there any plans to implement the INHERIT feature ?

@nitishm Not that I know of, but there is a way to avoid setting a DestinationRule altogether. I'm not sure if a DR without TrafficPolicy is the same as no DR, but if so, it would behave just like INHERIT.
https://istio.io/docs/tasks/security/authentication/auto-mtls/

I'm not sure if a DR without TrafficPolicy is the same as no DR, but if so, it would behave just like INHERIT.

A DR without trafficPolicy defaults to no mTLS as an override for mesh/NS level DRs. So I haven't experienced the inheritance.


Add links to 5.0 and 6.0 back-compat clients

Hi!,
I've just added two missing links on the "PREVIOUS VERSIONS OF ELASTICSEARCH" to point to 5_0 and 6_0 clients.

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Thanks @diegok


Can't find COM.ibm.db2.app.*;

Hello,
I am trying to write my own Java UDFs. But it looks like the COM.ibm.db2.app dependency is missing.
Can you please provide pointers on where I can download it?
Sincerely,
Xinyu

Have you see the documentation on building Java routines?  Let me know if that's helpful, or not.
https://www.ibm.com/docs/en/db2/11.5?topic=routines-creating-java

Thank you so much for the quick reply! I will take a look at it.


Make SearchTemplateRequest implement IndicesRequest.Replaceable

Description
Companion PR in Security plugin that includes tests of the behavior: https://github.com/opensearch-project/security/pull/2921
This PR makes SearchTemplateRequest (inside modules/lang-mustache) implement IndicesRequest.Replaceable and for the implementation of each method is calls that underlying SearchRequest's implementation.
This change resolves an issue in authorization of SearchTemplateRequests where the security plugin is unable to extract the indices associated with the request properly. See Details: https://github.com/opensearch-project/security/issues/1678
As an effect, even if a user does a SearchTemplateRequest on a specific index:
i.e.
GET /movies/_search/template
{
  "source": {
    "query": {
      "match": {
        "title": "{{title}}"
      }
    }
  },
  "params": {
    "title": "Titanic"
  }
}

within the security plugin, it is not able to determine the request is on movies index and instead tries to evaluate whether the user has permission to do search template requests on * index.
With this change, the Security plugin will be able to extract the indices from the request as is already done for Replaceable requests here: https://github.com/opensearch-project/security/blob/main/src/main/java/org/opensearch/security/resolver/IndexResolverReplacer.java#L752-L758
Related Issues
Resolves https://github.com/opensearch-project/security/issues/1678
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Are any maintainers available for a PR review?

Tests for this are being added in the security plugin here: https://github.com/opensearch-project/security/pull/2921/files

@reta Could I trouble you for a review of this PR? It's a small one for a bug fix related to privilege evaluation of SearchTemplateRequests

@reta or @dblock Would either of you be able to review this PR? This calls on the underlying implementations in the SearchRequest that a part of the SearchTemplateRequest. This fixes an issue with how SearchTemplateRequests are authorized where the security plugin cannot currently get the list of indices the SearchTemplateRequest is executed on and instead assumes * meaning that a user needs a read permission on * index pattern to do any SearchTemplateRequests.

@reta or @dblock Would either of you be able to review this PR?

Sorry about the delay @cwperks , looking right now


Installer changes request

Change CODEXToolkit shortcut name into CODEXuploader
Group the icons in the Start menu into a single 'CODEXToolkit' folder (right now they are loose)

Sure, I will make these changes

These changes have been done and the setup files have been updated. The release has not happened yet.

Now available in latest release.


BUGFIX MySQLi has collation conflict issues when using COALESCE()

To Reproduce:

Install fluent https://github.com/tractorcow-farm/silverstripe-fluent
Ensure SS_DATABASE_CLASS is not set or set to "MySQLDatabase"
Login to the CMS
Go to pages
Search, entering a date range for LastEdited

Expected:

Shows pages last edited within the given date range

Actual:

MySQL Error "Illegal mix of collations (utf8mb4_unicode_ci,COERCIBLE) and (utf8mb4_general_ci,COERCIBLE) for operation '>='"

This is a problem with the MySQLi connector not setting the character set correctly between the client/database: http://php.net/manual/en/mysqli.set-charset.php#121647

Related question: why is a datetime comparison getting a string collation error?

@micmania1 did you ever get any time to dig into my comments above?

@sminnee nah, not yet. This got de-prioritised as we had a workaround.

Anyone has any objections if close this? Speak now or hold your peace.


add scirate

I haven't selected any bounties
There certainly are a few large features that could be treated that way; not sure which is best. I don't have a good sense for how much time estimate an issue should have to receive a bounty; no matter how I think about it the bounty seems like it would be very high to cover dev costs :)

Happy to help discuss/rubber duck the bounty stuff, but I'll merge this in for now. I'll be on the UF discord tomorrow at 8am PDT (15 Mar) if you want to talk synchronously, else I'll send you an email :)

This is great, thanks @silky!


Add build to prod workflow so it will build dist/baseCode.js

The prod workflow tests use dist/baseCode.js in their tests, and are failing because it is not there. The build step builds this file.

@jfkhoury I'm working on a change to have more control about which files are built.


Uniformity in headers

Changed the header links to plain headers as the links are already mentioned in following paragraphs.

FWIW we added these links (even though they are redundant) because we thought it helped make that content more discoverable.


feat: XSB accessibility cleanup

:tada: This PR is included in version 1.4.0-dev.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Set the rust toolchain to nightly.

This PR provides a rust-toolchain.toml that ensures nightly is used, regardless of the developer's default / ambient toolchain.
Problem
I attempted to follow the compiling from source README instructions and got error messages about experimental nightly features. My ambient / default rust toolchain is stable.
Solution Verification
After placing this file in the repository root, cargo build succeeds.

It might be a good prerequisite to merging this to configure CI to use an "ambient" setting of stable rust, verify that fails, then verify this patch causes that CI to pass.

Against:
git show
commit 19e1537feb3ee7809f3c943e4a021b315b4478f2 (HEAD -> dev, origin/dev, origin/HEAD)
Merge: 0288aca f27a455
Author: Gygaxis Vainhardt<EMAIL_ADDRESS>Date:   Wed Dec 7 12:51:58 2022 -0400

    Merge pull request #197 from zancas/fix_test

    reverse order of bytes in zcash-cli output

Running:
rustup toolchain uninstall nightly && cargo clean && cargo build
This appears to succeed, so I run:
which prost
which: no prost in ...

Regardless...  I think we want to remove whatever makes us depend on nightly and set the toolchain to stable.

I just did a successful build on stable on a pristine checkout after running rustup update, so I think I just had an older stable.


Herd Metadata Catalog - Unstructured data

Can Herd Metadata Catalog store sample data, and if yes, can it store unstructured or semi-structured sample data?

Consolidated along with other questions into #413


az network watcher connection-monitor list | incorrect syntax in example

Describe the bug
There is an extra az in the example:
Link: https://learn.microsoft.com/en-us/cli/azure/network/watcher/connection-monitor?view=azure-cli-latest#az-network-watcher-connection-monitor-list-examples

Related command
az network watcher connection-monitor list
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
n/a
Additional context
n/a

Thank you for opening this issue, we will look into it.


Warning using the disabled and using ngModel on the same form field as formControl

I'm trying to use the implementation for Angular 7, but I get these warnings and I'm not using disable or ngmodel

Not able to reproduce. Could you please check with your implementation or provide steps to reproduce ?

you can see the same warnings in the demo console
https://stackblitz.com/edit/mat-select-autocomplete

Release 1.2.4 has fixed first warning. Would come up with solution for second warning later.

Partial fix committed. The library does not support another part of it.

This issue is still here :/


✨ camel-whatsapp component

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/main/CONTRIBUTING.md

Hello, since WhatsApp business released new public API, https://developers.facebook.com/docs/whatsapp/cloud-api/, I created a new component camel-whatsapp which integrate camel with those API (pretty much like telegram).
As you can see from the integration test, the producer is working as expected, but before adding more features, documentation and so on I'd like to have your feedback if it is worth to have this component.
Moreover I have some question:

I'm using async-http-client as HTTP client, but seems like that the project is not maintained anymore, should I use another library?
As you can see from cloud-api documentation, webhook can be used, I was wondering if camel-webhook can be used and if I could receive some help

The output of the test right now is:

@Croway BTW, please let me know if you need the build/test logs. The access to them is restricted, but I can upload them here as needed.

What's the status of this?

What's the status of this?

Hello @oscerd i'm working on it, I'm refactoring HTTP client in order to use java11 one.

Whats the status of this PR. Is it good to be merged?

We missed this for 3.18.0, I'm going to merge it next week probably


Track index out of range Error When Initial MKVTrack

Describe the bug
When adapting pymkv2 from pymkv library, I notice that when initialing an MKVTrack from an existing file, an IndexError: track index out of range error will occur.
To Reproduce
My source code:
https://github.com/Masterain98/PlexMuxy/blob/a0e9c9fab409667a3daaf7f3a34ad7befaa1b617/main.py#L107-L115

Minimum reproduce:
    mkv = pymkv.MKVFile("./sample.mkv", mkvmerge_path=MKVMerge)
    mkv.add_track(pymkv.MKVTrack("./sample.JPSC.ass", mkvmerge_path=MKVMerge))

Expected behavior
MKVTrack can be created, separated, and added to MKVFile. This can be achieved in the old pymkv library without any error.
Screenshots
Traceback (most recent call last):
  File "C:\Users\i\Documents\GitHub\pymkv2\simple_tests\simple_test.py", line 11, in <module>
    process_file()
  File "C:\Users\i\Documents\GitHub\pymkv2\simple_tests\simple_test.py", line 8, in process_file
    mkv.add_track(pymkv.MKVTrack("./sample.JPSC.ass", mkvmerge_path=MKVMerge))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\i\Documents\GitHub\pymkv2\pymkv\MKVTrack.py", line 145, in __init__
    self.file_path = file_path
    ^^^^^^^^^^^^^^
  File "C:\Users\i\Documents\GitHub\pymkv2\pymkv\MKVTrack.py", line 218, in file_path
    self.track_id = 0
    ^^^^^^^^^^^^^
  File "C:\Users\i\Documents\GitHub\pymkv2\pymkv\utils.py", line 98, in wrapper
    return method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\i\Documents\GitHub\pymkv2\pymkv\MKVTrack.py", line 289, in track_id
    raise IndexError(msg)
IndexError: track index out of range

Software (please complete the following information):

OS: Windows 10 22H2
MKVToolNix v88

Looks like the issue comes from here: https://github.com/GitBib/pymkv2/blob/51f73ea420a9b8ee4f03f54425c0483422dda9f9/pymkv/MKVTrack.py#L286-L287
For new initialed MKVTrack, len(tracks) will always be zero, because _info_json is {}
https://github.com/GitBib/pymkv2/blob/51f73ea420a9b8ee4f03f54425c0483422dda9f9/pymkv/MKVTrack.py#L143

The MKVTrack class is intended as an internal structure within MKVFile. If you need to create a file, you can do so through MKVFile and then use add_file.

However, I suspect that the ensure_info decorator is not performing its intended function. I will verify this.

Fixed the issue in #48 . Now, creation via a track should work without any problems.

Thank you @GitBib, I tested on my side with the latest version, and it works.

An off-topic question: You marked the is_bcp47 function as deprecated. What's the plan for this module? In my project, I handled some subtitle files with very specific regional codes and got errors (highfestiva/bcp47.py#7), so I'm trying make a new verification method.


Make rvm_builder work with IPs or node names, add Ruby 2.3.1

/cc @aj

Wow, bad docs, my bad. +1

No worries :)


Serial bug

The newly-introduced Serial API does not exist in Scope.
JS code cannot access it and it also cannot be found through the browser console (there is no SugarCube.Serial on global).
Did you forget to export/globalize it?

@Valen-H When you say "does not exist in Scope.", do you mean rhat API cant be accesses within:

the Private Scope contexts that SugarCube's engine creates to execute JavaScript code defined within:

a project's Story JavaScript (or TWEE equivalent) area.
JavaScript executing macros like <<script>> or <<run>>.
handlers listening for SugarCube Events like :passagerender and :dialogopened

Private Scoped contexts created by the web-browser itself to execute things like: Console commands; a handler assigned to the onclick attribute of a HTML element; or JavaScript code contained within a script added via TweeGo's module option.

Because if you mean the 2nd, then none of the SugarCube APIs are available within those Private Scoped contexts.

Turns out it was a bug with Tweego mixing old versions (from other directory) and new ones (after checking SugarCube.version I noticed it was different each time).
I cleaned my environment and fixed the PATH and now it seems to work.
Sorry for bothering you.


Unable to run v13.3 in Linux

Ignoring the UI issues already reported (https://github.com/aelij/RoslynPad/issues/216), I can't actually get a snippet to run.
For example, attempting to run the code "asdf".Dump(); results in Unable to create host process:

I am running Linux Mint 18.3.
$ lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 18.3 Sylvia
Release:	18.3
Codename:	sylvia
$ dotnet --info
.NET Command Line Tools (2.1.200)
Product Information:
Version:            2.1.200
Commit SHA-1 hash:  2edba8d7f1
Runtime Environment:
OS Name:     linuxmint
OS Version:  18.3
OS Platform: Linux
RID:         linuxmint.18.3-x64
Base Path:   /usr/share/dotnet/sdk/2.1.200/
Microsoft .NET Core Shared Framework Host
Version  : 2.0.7
Build    : 2d61d0b043915bc948ebf98836fefe9ba942be11

I'm having the same issue.
There is an untapped market if you supported this product as the cross platform linqpad.
Linqpad has over 2million downloads... There is nothing like this for OSX, this could be the thing!

This is happening because RoslynPad is expecting dotnetcore 1 not 2.X

I've updated RP to .NET Core 2.1 (latest master). Give it another go.

Closing this issue for now as the Avalonia version is still work in progress :) I'd still welcome any feedback you have.


:seedling:  Implement basic controller for runtime extensions

Signed-off-by: killianmuldoon<EMAIL_ADDRESS>Fixes #

@killianmuldoon I merged your lint fix PR. Fine to merge this PR from your side?

Yup these shouldn't overlap at all.


chore: semantic release build issue fix

Signed-off-by: Nitish Kulkarni<EMAIL_ADDRESS>PR summary
configurations changes for semantic release
Fixes: <! -- (https://github.ibm.com/Notification-Hub/planning/issues/7182)-->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Go Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
semantic release build is getting failed with node version 14
What is the new behavior?
updated the project with new confuration for semantic release which uses node 14 and semantic release 19.0.5 version instead of 20.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.1.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


pytest ordering warning in tests

🐛 Bug
Just started noticing this warning when running tests:
napari/_tests/test_viewer.py:50
  /home/jni/projects/napari/napari/_tests/test_viewer.py:50: PytestUnknownMarkWarning: Unknown pytest.mark.first - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    @pytest.mark.first  # provided by pytest-ordering

Anyone else notice this?

I feel like I have in the past... but I think i somehow didn't pytest-ordering in my env... you double checked that you have it?

I did. Also, back when I first implemented this test, the entire suite failed without that ordering, that's why it's in there! :question: :question: :question:

Closed by #1383


python311Packages.sentry-sdk: 1.30.0 -> 1.31.0

Diff: https://github.com/getsentry/sentry-python/compare/refs/tags/1.30.0...1.31.0
Changelog: https://github.com/getsentry/sentry-python/blob/1.31.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 254990 run on x86_64-linux 1

7 packages marked as broken and skipped:

netbox_3_3
python310Packages.dalle-mini
python310Packages.dalle-mini.dist
python311Packages.dalle-mini
python311Packages.dalle-mini.dist
tts
tts.dist

46 packages failed to build:

openai-full
openai-full.dist
pentestgpt
pentestgpt.dist
python310Packages.fastai
python310Packages.fastai.dist
python310Packages.k-diffusion
python310Packages.k-diffusion.dist
python310Packages.langchain
python310Packages.langchain.dist
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-loggers.dist
python310Packages.spacy-lookups-data
python310Packages.spacy-lookups-data.dist
python310Packages.spacy-transformers
python310Packages.spacy-transformers.dist
python310Packages.spacy.dist
python310Packages.textacy
python310Packages.textacy.dist
python310Packages.textnets
python310Packages.textnets.dist
python310Packages.wandb
python310Packages.wandb.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-loggers.dist
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.wandb
python311Packages.wandb.dist

50 packages built:

alerta-server
alerta-server.dist
cura
gns3-gui
gns3-gui.dist
gns3-server
gns3-server.dist
home-assistant-component-tests.sentry
ledfx
ledfx.dist
matrix-synapse
matrix-synapse-plugins.matrix-synapse-ldap3
matrix-synapse-plugins.matrix-synapse-ldap3.dist
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam.dist
matrix-synapse-plugins.matrix-synapse-s3-storage-provider
matrix-synapse-plugins.matrix-synapse-s3-storage-provider.dist
matrix-synapse-plugins.matrix-synapse-shared-secret-auth
matrix-synapse-plugins.matrix-synapse-shared-secret-auth.dist
matrix-synapse-unwrapped
matrix-synapse-unwrapped.dist
moodle-dl
moodle-dl.dist
mozphab
mozphab.dist
netbox
notus-scanner (python310Packages.notus-scanner)
notus-scanner.dist (python310Packages.notus-scanner.dist)
octoprint
octoprint.dist
ospd-openvas
ospd-openvas.dist
peering-manager
python310Packages.django-rq
python310Packages.django-rq.dist
python310Packages.sentry-sdk
python310Packages.sentry-sdk.dist
python310Packages.wagtail-localize
python310Packages.wagtail-localize.dist
python311Packages.django-rq
python311Packages.django-rq.dist
python311Packages.notus-scanner
python311Packages.notus-scanner.dist
python311Packages.sentry-sdk
python311Packages.sentry-sdk.dist
python311Packages.wagtail-localize
python311Packages.wagtail-localize.dist
skytemple
skytemple.dist
tribler

Result of nixpkgs-review pr 254990 run on x86_64-linux 1

7 packages marked as broken and skipped:

netbox_3_3
python310Packages.dalle-mini
python310Packages.dalle-mini.dist
python311Packages.dalle-mini
python311Packages.dalle-mini.dist
tts
tts.dist

96 packages built:

alerta-server
alerta-server.dist
cura
gns3-gui
gns3-gui.dist
gns3-server
gns3-server.dist
home-assistant-component-tests.sentry
ledfx
ledfx.dist
matrix-synapse
matrix-synapse-plugins.matrix-synapse-ldap3
matrix-synapse-plugins.matrix-synapse-ldap3.dist
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam.dist
matrix-synapse-plugins.matrix-synapse-s3-storage-provider
matrix-synapse-plugins.matrix-synapse-s3-storage-provider.dist
matrix-synapse-plugins.matrix-synapse-shared-secret-auth
matrix-synapse-plugins.matrix-synapse-shared-secret-auth.dist
matrix-synapse-unwrapped
matrix-synapse-unwrapped.dist
moodle-dl
moodle-dl.dist
mozphab
mozphab.dist
netbox
notus-scanner (python310Packages.notus-scanner)
notus-scanner.dist (python310Packages.notus-scanner.dist)
octoprint
octoprint.dist
openai-full
openai-full.dist
ospd-openvas
ospd-openvas.dist
peering-manager
pentestgpt
pentestgpt.dist
python310Packages.django-rq
python310Packages.django-rq.dist
python310Packages.fastai
python310Packages.fastai.dist
python310Packages.k-diffusion
python310Packages.k-diffusion.dist
python310Packages.langchain
python310Packages.langchain.dist
python310Packages.sentry-sdk
python310Packages.sentry-sdk.dist
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-loggers.dist
python310Packages.spacy-lookups-data
python310Packages.spacy-lookups-data.dist
python310Packages.spacy-transformers
python310Packages.spacy-transformers.dist
python310Packages.spacy.dist
python310Packages.textacy
python310Packages.textacy.dist
python310Packages.textnets
python310Packages.textnets.dist
python310Packages.wagtail-localize
python310Packages.wagtail-localize.dist
python310Packages.wandb
python310Packages.wandb.dist
python311Packages.django-rq
python311Packages.django-rq.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.notus-scanner
python311Packages.notus-scanner.dist
python311Packages.sentry-sdk
python311Packages.sentry-sdk.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-loggers.dist
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.wagtail-localize
python311Packages.wagtail-localize.dist
python311Packages.wandb
python311Packages.wandb.dist
skytemple
skytemple.dist
tribler


Just updated compatible versions no code was changed.

PR o'clock
Description
Just updated compatible versions no code was changed.
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/615

[ ] Change added to CHANGELOG.md. All changes must be added and breaking changes and highlighted
[ ] CI tests are passing
[ *] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

actaully still an issue


horovod cpu build segfault

This works:
pip3 install https://repo.mxnet.io/dist/python/cpu/mxnet-2.0.0b20200306-py2.py3-none-manylinux1_x86_64.whl

pip3 uninstall horovod -y; pip3 install horovod --user --no-cache-dir
horovodrun -np 4 python3.6 test.py

test.py:
import horovod.mxnet as hvd
import mxnet as mx

hvd.init()
a = mx.nd.ones((1))
hvd.allreduce_(a)
print(a)

This fails:
pip3 install https://repo.mxnet.io/dist/python/cpu/mxnet-2.0.0b20200313-py2.py3-none-manylinux2014_x86_64.whl

@apeforest FYI

@TaoLv @PatricZhao FYI

@eric-haibin-lin @apeforest I cannot install mxnet and horovod through the command lines shared in the description. Besides, with pip install --pre mxnet -f https://dist.mxnet.io/python/cpu, I can only get https://repo.mxnet.io/dist/python/cpu/mxnet-2.0.0b20200312-py2.py3-none-manylinux1_x86_64.whl.

@TaoLv can you try wget https://repo.mxnet.io/dist/python/cpu/mxnet-2.0.0b20200313-py2.py3-none-manylinux2014_x86_64.whl and then pip install mxnet-2.0.0b20200313-py2.py3-none-manylinux2014_x86_64.whl

@TaoLv can you try wget https://repo.mxnet.io/dist/python/cpu/mxnet-2.0.0b20200313-py2.py3-none-manylinux2014_x86_64.whl and then pip install mxnet-2.0.0b20200313-py2.py3-none-manylinux2014_x86_64.whl

Got:
(mxnet) [lvtao@mlt2-clx103 ~]$ pip install mxnet-2.0.0b20200313-py2.py3-none-manylinux2014_x86_64.whl
ERROR: mxnet-2.0.0b20200313-py2.py3-none-manylinux2014_x86_64.whl is not a supported wheel on this platform.

I'm using CentOS 7.2 and python 3.6.


Extract the GUI from IML

Extract the IML GUI and fetch it as a RPM instead.

Maybe just still to come, but will this patch include excising the GUI build stuff from the IML build process?

Maybe just still to come, but will this patch include excising the GUI build stuff from the IML build process?

Not yet, because there are still a few more node modules being built into the resultant manager RPM.
Everything under dependencies here needs to be repackaged.
On the plus side, extracting this module drops us to 5.35MB for the tar file. The vast majority of the bulk is in ui-modules/node_modules, so once that's gone the tar file will be tiny.

A few more can be extracted without more work, but the rest are going to need a configuration service to get some values. Consul looks interesting for this.


Realm Objects never deallocated, thus app inevitably crashes because of memory. (Memory Management)

Goals
What do you want to achieve?
UIViewController deinit is called -- 0 memory leaks
Expected Results
Realm objects deallocated, thus reference count = 0 and allows uiviewcontroller to deinit
Actual Results
Realm object never deallocated, standard Out Of Memory crash as no uiviewcontrollers are deinitialized.
Steps to Reproduce
Create a few object models, with a major model containing instances of those. Parse data into those optional object models inside the initializer for the major model. This should give you these results.
Code Sample
Here is a standard object I am using (There is more variables but this is an example)
class FullData: Object {
    dynamic var venueType: VenueType?
    dynamic var travelerType: TravelerType?

    dynamic var owner: ProfileData?

    let keywords = List<NewKeywords>()
    let cuisines = List<NewCuisines>()
    let images = List<Images>()
}

In the convenience initialization of this model, I will use a function to create a new VenueType Instance , and assign that new instance to the optional variable in the model.
    fileprivate func parseVenueType(_ dictionary: NSDictionary) {
        let venues = VenueType()
        dictionary.forEach { (key, val) in
            let keyString = key as! String
            let value = val as! Bool
            switch keyString {
            case "Bar":
                if value == true {
                    venues.bar = true
                }
                break
            case "Restaurant":
                if value == true {
                    venues.restaurant = true
                }
                break
            case "Cafe":
                if value == true {
                    venues.cafe = true
                }
                break
            default:
                break
            }
        }
        venueType = venues
    }

Using the Leaks tool in Instruments, I see that there are tons of leaks, all regarding situations almost identical to this. A new instance of an object is created to assign to an object in our model.
Here are some Images detailing these leaks.

I create new instances of a basic Realm() all across my app, but 99.99% of the time I don't persist the models I am creating. I use these as basic models to populate cells, etc. In theory, they should be deallocated once they are done.
Im really unsure what I am doing wrong, as all of my leaks are because of Realm Objects. Its almost as if none of the created models I am using for my data are being deallocated once they leave the view controller.
Am I supposed to do this manually? I have read a few comments on autoreleasepools and also realm.invalidate but am unsure if this would fit my case.
Some help on this ASAP would be extremely helpful. We are stalling our current release until we can address these memory issues as they inevitably will crash our app. (No VC's ever deinit because refCounts never reach 0)
Thanks so much!! I love realm and enjoy using it. Thanks for a great platform.
Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.12.2
BuildVersion:	16C67

Xcode 8.2.1
Build version 8C1002

/usr/local/bin/pod
1.1.1
Realm (2.2.0)
RealmSwift (2.2.0)

/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)

(not in use here)

/usr/bin/git
git version 2.10.1 (Apple Git-78)

Realm version: 1.1.1
Realm (2.2.0)
RealmSwift (2.2.0)
Xcode version: Xcode 8.2.1
Build version 8C1002
iOS/OSX version: ProductName:	Mac OS X
ProductVersion:	10.12.2
BuildVersion:	16C67
Dependency manager + version: git version 2.10.1 (Apple Git-78)

Can you please share the declaration of your VenueType and TravelerType classes?

class VenueType: Object {
    dynamic var cafe = false
    dynamic var bar = false
    dynamic var restaurant = false
}

class TravelerType: Object {
    dynamic var single = false
    dynamic var couple = false
    dynamic var group = false
    dynamic var family = false
}

In Instruments' Leaks instrument you should be able to navigate to a given leaked object and see all of the retain / release activity on that object. Presumably there are mismatched retains and releases on some of these objects. Determining which code is responsible for these mismatched retains and releases should reveal where the leak is originating.

@bdash Thanks for the information. Doing further research using leaks, Going down the retain / release list I get to this last object:

It seems that the object venues in the function screenshotted above is never released. Should I/How do I/ do that manually? As you can see, Im using that object to assign it to the model being initialized. If I release that, will it null out the object it was assigned to?
Thanks in advance for your help and the quick support. Anything I can do give you more insight I will be more than happy.

You can look at the backtrace of each event (in the sidebar at the right of the window) to see what code was responsible for each retain / release event. You can then use that information to determine which retain event is missing its corresponding release, which tells you who is responsible for the leak.

It's giving me the initialization of the object as the last user written trace in that stack. It seems that the Malloc Is the one giving it the extra retain count, as every other retain/release is accounted for.
I tried making venues an optional and nulling it out after it is assigned, but the leak remains. Do I have to mark something in that class with weak? Is Malloc supposed to give the retain count + 1: so that would mean it's the last retain count without an immediate release that is my issue? - If that is the case, It still leads me back to the 93 byte code screenshot attached in my last response.

hi JPROFFICIAL. Did you solve the problem of the memory leaks, I have found the same problem.

@springhand nope. I fixed a good few of my leaks by adding [weak self] inside all of my closures containing self, and checking for it. The memory leaks regarding these realm models is my only leak sources left.

@JPROFFICIAL . I am so. Can't completely solve the problem of leakage.

@springhand @JPROFFICIAL can either of you share a project that reproduces this leak? You can send code to us privately at<EMAIL_ADDRESS>(making sure to reference this issue by URL).
If you're not in a position to share that, we could spend some time on our side preparing a basic project that attempts to reproduce this and share back with you if we can't trigger the leak so you can modify it to highlight the issue.

Bringing attention back to @jpsim's request:

@springhand @JPROFFICIAL can either of you share a project that reproduces this leak? You can send code to us privately at<EMAIL_ADDRESS>(making sure to reference this issue by URL).

If you're not in a position to share that, we could spend some time on our side preparing a basic project that attempts to reproduce this and share back with you if we can't trigger the leak so you can modify it to highlight the issue.

It's been three weeks since we've asked for further information and we've not heard back. There's nothing we can do to help you further until more information is provided. Please feel free to file a new issue, reopen this issue, or contact us via email as mentioned above, if you're still encountering this problem.


[SPARK-24935][SQL][followup] support INIT -> UPDATE -> MERGE -> FINISH in Hive UDAF adapter

What changes were proposed in this pull request?
This is a followup of https://github.com/apache/spark/pull/24144 . #24144 missed one case: when hash aggregate fallback to sort aggregate, the life cycle of UDAF is: INIT -> UPDATE -> MERGE -> FINISH.
However, not all Hive UDAF can support it. Hive UDAF knows the aggregation mode when creating the aggregation buffer, so that it can create different buffers for different inputs: the original data or the aggregation buffer. Please see an example in the sketches library. The buffer for UPDATE may not support MERGE.
This PR updates the Hive UDAF adapter in Spark to support INIT -> UPDATE -> MERGE -> FINISH, by turning it to  INIT -> UPDATE -> FINISH + IINIT -> MERGE -> FINISH.
How was this patch tested?
a new test case

cc @pgandhi999 @m44444

Test build #104904 has started for PR 24459 at commit 3d523b6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10212/
Test PASSed.

Test build #104904 has finished for PR 24459 at commit 3d523b6.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveUDAFBuffer(buf: AggregationBuffer, canDoMerge: Boolean)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/104904/
Test PASSed.

Logic looks good to me, will perform a few quick tests of my own on the PR and get back to you soon @cloud-fan

@cloud-fan The fix LGTM. Had a question though. After this change, do we still need to fix the initialization of aggregate buffer for SortBasedAggregate that https://github.com/apache/spark/pull/24149 originally addressed in the first commit https://github.com/apache/spark/pull/24149/commits/400db3d1dad4b92e0a70b89c2c687a42017d589b ?

@pgandhi999 Yes we need, but your patch can be simplified after the Hive UDAF issue is fixed.

thanks, merging to master/2.4!


Export as PDF from the command line

Hi there 👋
First of all, marp is an amazing tool, can't wait to see its reboot released 🎉 !
This is more a feature request than a bug report. Would it be possible to add a feature to automatically export as a PDF a .md file using the relevant command line flags?
We can already a open a .md file with (on macOS):
/Applications/Marp.app/Contents/MacOS/Marp example.md

The API would look like something like this:
alias marp="/Applications/Marp.app/Contents/MacOS/Marp"

marp example.md --pdf # would produce example.pdf
marp example.md --pdf=output/other_name.pdf

Is this something planned?
Thank you!

@yhatt WDYT? Is it hard to implement?

I believe this will skip this pre-release version of Marp and be implemented directly in marp-team/marp-cli if its not already!

We have implemented PDF export in @marp-team/marp-cli v0.0.4. :+1:


prow.sh is missing kind cluster cleanup

This is the current suspected reason why jobs are timing out
/assign

/help

/assign

Here's an example test run where the prow job timed out on teardown. https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/ci-kubernetes-csi-canary-on-kubernetes-1-14/1195515914515124230
The recommendation I got from kind folks was to explicitly teardown the cluster instead of depending on prow to clean up the containers


Construct a handle on the base provider constructor

This makes the Provider base class constructor an unhydrated Handle object as a part of it, which means every Provider always carries a handle (hydrated or not).
This ties the two classes even tighter together. Next step is to move a lot of logic from the handles to the providers, turning handles into a useless object eventually (that can be removed).

@prbot approve


Building caravel from master throws error in javascript console

dashboard.entry.js:71 Uncaught Error: Cannot find module "react-map-gl"

What command is "building"? :)

Oops. I meant after building. This is the sequence of commands.
pushd caravel/assets
npm install
python setup.py sdist
pip install dist/caravel-0.10.0.tar.gz
caravel runserver -d

When I visit the dashboard on caravel, this error is thrown in the javascript console.
dashboard.entry.js:71 Uncaught Error: Cannot find module "react-map-gl"

You forgot npm run prod after npm install


removed repo open source code

Contributing
If you want to add a project to this list, please make sure that:

[x] You read the contributing guide
[x] The project can't be just an "add your name" or simply + 1 contribution to hacktoberfest
[x] Place them in alphabetical order
[x] One repository per PR/contribution - avoid conflicts and simplify review
[x] Your pull request is not spammy just adding an empty line, otherwise it will be marked as invalid and not count to hacktoberfest.

If they meet the requirements above, feel free to create a PR. Happy Hacking! :sparkles:

@OtacilioN In an earlier pull request, I had not changed any files and I apologize for the same. I checked the repo Open Source Code and it seems that they aren't accepting pull requests for Hacktoberfest 2020, so I've made a PR removing that. Thanks!


add property main in package.json

Main is the main file, when using imports in Webpack for example

Cool. Thanks.

Released as 2.2.0.


Chapter 2: Ethics and Bias in AI

Hey team members, this is the issue for the second chapter of Unit 12: Ethics and Bias.
Main issue: https://github.com/johko/computer-vision-course/issues/51
Sub-tasks:

[x] What is Ethics and Bias in AI?
[x] Ethical AI principles.
[x] Asimov's principles
[x] 23 AI principles
[x] UNESCO Ethical AI principles
[x] Bias in AI.
[x] Final structuring
[x] PR
[x] Reviews and Edits
[x] Push to main

Merged here: https://github.com/johko/computer-vision-course/pull/174
Closing the issue.


Add reducer for saving user's data in state tree

Completed and added support for localstorage as well


Added approve/reject status in table for organizers

fixes #88
--
TODO:

Send email to participants about approval status

We can do one thing in event_participants make a new column with isApproved and then update this true or false on the click and change in backend

We can do one thing in event_participants make a new column with isApproved and then update this true or false on the click and change in backend

@TejasNasre : Yeah, that is exactly what I have done. But, instead of boolean, I have used it as text for string such as Pending or Accepted or Rejected.

So, I fetch that directly from db and show in table

Also, updated schema in LEARN.md


New preset: amenity=music_venue

A place for concerts.
https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dmusic_venue

I don't understand the statement about missing consensus.
It has 500+ usages (by now) and I don't see any remarks on the discussion page that would question the usefulness or definition of the tag.
In case it has been referred to the fact that leisure=music_venue also exists and that there is no clear winner yet, looking at the usage numbers now, it looks very much like amenity=music_venue won against leisure=music_venue:
https://taghistory.raifer.tech/#***/leisure/music_venue&***/amenity/music_venue


nodePackages.create-react-native-app: drop

per https://github.com/expo/create-react-native-app#-deprecated, create-react-native-app is now deprecated, so it's safe to remove.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[x] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 363374 run on aarch64-linux 1

1 package blacklisted:

nixos-install-tools


Equal ImplicitObjectBaseType and ObjectBaseType when comparing base types

Fixes #362

This PR also fixes apiaryio/drafter#138 and apiary/drafter#243

Squash it into one commit please.


Is there something wrong with me writing like this in liquid? It doesn't work. . .

do  not   work

do  not  work

``

The most common cause of this is not placing the [iframeResizer.contentWindow.min.js](https://raw.github.com/davidjbradshaw/iframe-resizer/master/js/iframeResizer.contentWindow.min.js) script inside the iFramed page.
See: https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/troubleshooting.md

iframe {
width: 1px;
min-width: 100%;
}

https://google.com


Updated langs for notices and added placeholders

For pull request on main repository.

Awesome, thank you!! Merged.


Avoid unnecessary shuffling for single-input elementwise operations.

I was surprised there were two shuffles in our taxi dataframe example, this bug is why. This also exposed a bug with respect to the comparison methods.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @TheNeuralBit

Run Portable_Python PreCommit


How to save vue ui configurations?

What problem does this feature solve?
It solves the problem with multiple developers work in the same project!
What does the proposed API look like?
some vuecli setting file in project repo

I love working with vue/cli, Thanks a lot!
I would like to save configuration in vue ui and share with my team via git.
Everytime if someone in the team creates a project and fix the settings (ex. serve, build parameters, project name and etc. ), other guy should do the same thing.
Also is there any way to change the project name in vue ui list?
Best regards,
Mudin


Mark streams refused by server as unprocessed

Along with #198, this should fully implement #195.

Rebased on master and marked a few other conditions as unprocessed.


Issue in editor in service page

Describe the bug
Issue in editor
Desktop (please complete the following information):

https://www.berrycast.com/conversations/d3e44671-272a-504b-9b6a-4bb34fe2a983

https://www.berrycast.com/conversations/c2c36e97-d507-51f4-a611-f5d8a31201c3