Support AES Jasypt algorithms

Since Jasypt v1.9.3, PBEWithDigestAndAES algorithms (from the JCE Provider of JAVA 8) are supported (http://www.jasypt.org/faq.html#i-receive-null-when-encrypting-decrypting)
This PR allows the use of this algorithms for configuration encryption.

Would it be better to have the IvGenerator classname be specified instead of a boolean that turns on RandomIvGenerator? There is a NoIvGenerator if someone wanted to turn it off for some reason (or that could be the default). Would it hurt other algorithms that don't need it to have RandomIvGenerator be in the default jasypt config? Ideally nobody would have to set anything and all algorithms would work.

Yes, providing the IV class name was my first option at the start.
But ultimately, i preferred the boolean flag because :

Not all IV classname works. For example, FixedIvGenerator needs a additionnal input value parameter (to have the same IV)
The NoIvGenerator is automatically used by Jasypt when no IV is provided
The boolean flag is simple and RandomIvGenerator  seems to be the most secure option for most use cases

Would there be a downside to always setting the IV generator to RandomIvGenerator?  If it doesn't hurt the other algorithms (or impact decryption of values already encrypted via non-AES algorithms that weren't broken), could it just it just be set by default? Or could it be set if the chosen protocol needs it?

I was not sure of the impact of always providing a RandomIvGenerator, even for algorithms that don't need it.
I just launched the JUnit which checks all the algorithms of the Sun (default) and BoucyCastle providers and it works when RandomIvGenerator is systematically set.
So this may be an option to make configuration easier (but I can't be absolutely sure about other providers)

I don't think we are worried about any other providers beyond the ones available with Java and the BouncyCastle providers. If we were supporting other providers we would need to add their dependencies and have some tests to make sure they worked.

I don't think we are worried about any other providers beyond the ones available with Java and the BouncyCastle providers. If we were supporting other providers we would need to add their dependencies and have some tests to make sure they worked.

I'm OK to set RandomIvGenerator as default for all algorithms.
2 options ;

completly remove the new iv parameter
keep the new new iv parameter with true as default value (in case we need to disable it for some reason)

a preference ?

I'm OK to set RandomIvGenerator as default for all algorithms.
2 options ;

completly remove the new iv parameter
keep the new new iv parameter with true as default value (in case we need to disable it for some reason)

a preference ?

My preference is to remove it.
On Mon, Jan 11, 2021 at 4:08 PM antoine777<EMAIL_ADDRESS>wrote:

I'm OK to set RandomIvGenerator as default for all algorithms.
2 options ;

completly remove the new iv parameter
keep the new new iv parameter with true as default value (in case we
need to disable it for some reason)

a preference ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apereo/cas/pull/5016#issuecomment-758225498, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL4CKKUAZ6UKCAAZT73EA3SZNSDDANCNFSM4VMLP2SA
.

--
Hal Deadman
703-725-6686

My preference is to remove it.
On Mon, Jan 11, 2021 at 4:08 PM antoine777<EMAIL_ADDRESS>wrote:

I'm OK to set RandomIvGenerator as default for all algorithms.
2 options ;

completly remove the new iv parameter
keep the new new iv parameter with true as default value (in case we
need to disable it for some reason)

a preference ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apereo/cas/pull/5016#issuecomment-758225498, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL4CKKUAZ6UKCAAZT73EA3SZNSDDANCNFSM4VMLP2SA
.

--
Hal Deadman
703-725-6686

You should probably just remove the ALGORITHM_BLACKLIST variable since it isn't used and hopefully will never need to be used.  There is also a checkstyle finding: Error: eckstyle] [ERROR] /home/runner/work/cas/cas/api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/support/CasConfigurationJasyptCipherExecutor.java:32:69: '{' is followed by whitespace. [NoWhitespaceAfter]
It is saying the new line is not covered by tests, is there not a test that hits the new lines you added?

You should probably just remove the ALGORITHM_BLACKLIST variable since it isn't used and hopefully will never need to be used.  There is also a checkstyle finding: Error: eckstyle] [ERROR] /home/runner/work/cas/cas/api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/support/CasConfigurationJasyptCipherExecutor.java:32:69: '{' is followed by whitespace. [NoWhitespaceAfter]
It is saying the new line is not covered by tests, is there not a test that hits the new lines you added?

OK, i've removed the ALGORITHM_BLACKLIST.
I've checked :  the new line is covered by existing tests

OK, i've removed the ALGORITHM_BLACKLIST.
I've checked :  the new line is covered by existing tests

There a couple checkstyle issues (unused imports). See build results.

There a couple checkstyle issues (unused imports). See build results.

My bad

My bad

Still getting an error:
 Error: eckstyle] [ERROR] /home/runner/work/cas/cas/api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/support/CasConfigurationJasyptCipherExecutor.java:7:1: Import statement for 'org.apereo.cas.util.crypto.CipherExecutor' is in the wrong order. Should be in the 'SAME_PACKAGE' group, expecting group 'STANDARD_JAVA_PACKAGE' on this line. [CustomImportOrder]

If you are using intellij, you should install the checkstyle plugin and use the rules, import-control and suppressions from the style folder in the project.

Still getting an error:
 Error: eckstyle] [ERROR] /home/runner/work/cas/cas/api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/support/CasConfigurationJasyptCipherExecutor.java:7:1: Import statement for 'org.apereo.cas.util.crypto.CipherExecutor' is in the wrong order. Should be in the 'SAME_PACKAGE' group, expecting group 'STANDARD_JAVA_PACKAGE' on this line. [CustomImportOrder]

If you are using intellij, you should install the checkstyle plugin and use the rules, import-control and suppressions from the style folder in the project.


Live unit testing support for .NET Core

.NET Core test projects don't support live unit testing yet.
Steps to reproduce
Test > Live Unit Testing > Start
Expected
It works
Actual
Log shows

Live Unit Testing does not yet support .NET Core

Environment
VS 15.0 RTW
To triage team: I'm sure this is already a known issue, but I couldn't find an issue on GitHub or in VSTS to track this.

Please, we need it!. It is a very practical tool!.
Thanks!

Still unavailable in VS 15.2

It is in VS 15.3 (still in preview).

Closing this since it shipped in 15.3-preview release!


[BUG] First launch midi.exe, it will not recognize any external devices.

Describe the bug
When you first launch midi.exe, it will not recognize any external devices.
To Reproduce

With the PC powered off, connect the ProtoZoA.
Restart your PC and launch midi.exe

>midi endpoint monitor --verbose
Microsoft Windows MIDI Services Console
Please select an endpoint
🔁 Diagnostics Loopback A
🔁 Diagnostics Loopback B
🔙 (Cancel)
ProtoZoA is not recognized.
3)Cancel and launch midi.exe again.
> midi endpoint monitor --verbose
Microsoft Windows MIDI Services Console
Please select an endpoint
🎹 ProtoZoA
🔁 Diagnostics Loopback A
🔁 Diagnostics Loopback B
🔙 (Cancel)
The second time, midi.exe will recognize ProtoZoA.

Thanks. This is fixed in DP7. The service now waits for enumeration to complete for the two USB transports (KS and KSA) before returning back from the initial activation call.
Demand-start (start the service when it is first called) is a requirement for this to be in-box in Windows. Customers who use MIDI all the time will be encouraged to set the service set to auto-start instead of demand start so there's no delay on first call.

Closed with release of DP7


Issue 29097: adjusted ids in entities and entitylist to be PascalCase

About the PR

I adjusted files inside of entities and entitylist so that the ids: feild is all in pascal case: the entities list is below
./Markers/clientsideclone.yml:  id: clientsideclone
./Markers/construction_ghost.yml:  id: constructionghost
./Markers/drag_shadow.yml:  id: dragshadow
./Markers/hover_entity.yml:  id: hoverentity
./Objects/Fun/dice.yml:  id: d20Dice
./Objects/Fun/dice.yml:  id: d12Dice
./Objects/Fun/dice.yml:  id: d10Dice
./Objects/Fun/dice.yml:  id: d8Dice
./Objects/Fun/dice.yml:  id: d6Dice
./Objects/Fun/dice.yml:  id: d4Dice
./Structures/hydro_tray.yml:  id: hydroponicsTray
./Structures/Machines/Computers/computers.yml:  id: computerBodyScanner
./Structures/soil.yml:  id: hydroponicsSoil
./Structures/Storage/filing_cabinets.yml:  id: filingCabinet
./Structures/Storage/filing_cabinets.yml:  id: filingCabinetTall
./Structures/Storage/filing_cabinets.yml:  id: filingCabinetDrawer
./Structures/Storage/filing_cabinets.yml:  id: filingCabinetRandom
./Structures/Storage/filing_cabinets.yml:  id: filingCabinetTallRandom
./Structures/Storage/filing_cabinets.yml:  id: filingCabinetDrawerRandom
./Objects/Tools/t-ray.yml:  id: trayScanner
Why / Balance

https://github.com/space-wizards/space-station-14/pull/28693
Also, I found this to be an easier task and want to get use to working within this project before I take on bigger projects.
Also, Cases matter to keep the same:
NOTE: I didn't changed dice_bag.yml or any behavior ids:, I'm not sure if we want to change those but if we do It is an easy fix.
Technical details

Media

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

Breaking changes

Changelog

tweak: ids: fields to match PascalCase usage else where.

this also doesnt account for the few ids with _ in them

Thank you I assumed it was somewhere else as well @lzk228  @TheShuEd : ) @deltanedas  all the ones with _ in the name are behavior Ids: and i didn't know if we also wanted those changed. I didn't do behavior ids: or the dice_bag.yml because those were pretty weird and i didn't know if their was a reason.

ok leave it as it is for now, just do what i and Ed said

i ran find . -type f -exec grep -H -f p.txt {} + > FilesToAdjust.txt
at root with FilesToAdjust.txt containing all the names of ids: I've changed and had many occurrences of those so I changed all of those and the mirgration.yml actually didn't have any occurrences in it: )

you dont need to change maps if you write all changes in migration.yml

ahhh the more you learn then. I am sorry about that
today I learned

you still need to add changes to the migration because the forks have their maps still using those items.  Forcing ALL projects to rewrite these changes manually is a very bad idea.

I got that sorry I also had to figure out the error that was caused when I changed the entityList .ymls

One day latter and I got all the checks: )

Ed tfym approved
@MrMothman you should revert all map changes

Hello! Thank you for your contribution.
This was discussed internally and due to concerns about downstream forks, merge conflicts and migration issues we're not interested in large-scale entity ID refactors at the moment, so I will be closing this PR for the time being.


Fragment name displayed instead of query/mutation name in left column

I am on version 1.6 and I am still having the issue that the left column is displaying one of the fragment names instead of the query or mutation name.

Had an issue due to the order of the fragment/query. I have pushed version 1.7 which fixes this issue regardless of query/fragment definition order. Should be released in the next couple of days.


[now dev] Remove requiresInitialBuild and make shouldServe() optional for v2 Builders

@now/next will be removing shouldServe() in favor of returning a routes config array upon bootup. This makes now dev's shouldServe() wrapper function support matching a routes config entry when shouldServe() is not defined.

Codecov Report

Merging #2209 into canary will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           canary   #2209      +/-   ##
=========================================
- Coverage    4.37%   4.37%   -0.01%
=========================================
  Files         245     245
  Lines        8867    8872       +5
  Branches      944     944
=========================================
  Hits          388     388
- Misses       8460    8465       +5
  Partials       19      19

Impacted Files
Coverage Δ

src/commands/dev/lib/types.ts
0% <ø> (ø)
:arrow_up:

src/commands/dev/lib/dev-server.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@TooTallNate I added workPath to this branch, please give it a review https://github.com/zeit/now-cli/pull/2209/commits/0987ab9770ff24339f3a0719430c68c6cf47eae5 🙏


feat: rewrite WelcomeScreen API (raw take)

fix https://github.com/excalidraw/excalidraw/issues/6046
currently stacks on top of https://github.com/excalidraw/excalidraw/pull/6034

POC. On top of the magic we do in #6046, this PR's implementation is also drilling into props.children. As such, it depends on children inlining, so unlike in #6046, we cannot defer rendering by having the host wrap WelcomeScreen into their own component. Not that we currently do with <Menu>, but we could, since we only need to retrieve the top-level Menu component.
With WelcomeScreen, we need to separately retrieve WelcomeScreen.Center, WelcomeScreen.MenuHint, WelcomeScreen.ToolbarHint, and WelcomeScreen.HelpHint components.
The <WelcomeScreen> wrapper isn't even rendered to DOM, it's used just to retrieve its children (so effectively it's just a glorified JSX dictionary). As such, we could do away with the wrapper, and have host apps render the WelcomeScreen components separately. It comes down to what we think is a better API.
Downside of this approach, as alluded above, is that pretty much the whole WelcomeScreen component tree must be rendered in the render function rendering the <Excalidraw/> component. This is why I'm memoizing it for perf (which we should be doing with <Menu> in the host app as well btw), because 99% of the time there's no point re-rendering the WelcomeScreen tree that's hidden.

[x] split WelcomeScreen.tsx and put into its own folder
[x] fix mobile breakpoints
[x] refactor CSS/classes
[ ] update i18n files (align naming with en.json and update Crowdin)
[x] docs & changelog

Some notes:

I'm supporting any HTML attributes on the welcomeScreen menu items as there's not reason not to. This way the host app can pass any ARIA or data and other attributes they like. We should do that with DropdownMenu as well.
I didn't add readme examples for every component because there's no need. We should aim for completeness, but also brevity. Excess information is not good either.
I've made some tiny tweaks to the readme for MainMenu as well, but I bet it will get lost in the migration. I'll do a pass of the docs before we ship them.

Also as discussed yesterday lets folllow kebab case for folder so welcomeScreen - >welcome-screen

Also as discussed yesterday lets folllow kebab case for folder so welcomeScreen - >welcome-screen

Oh, forgot to add to PR todos — wanted to do last for better reviewing experience.


NancyProvider with custom bootstrapper

I've modified the existing NancyProvider class so that we can inject a custom DefaultNancyBootstrapper.

@mrstebo your PR is using tabs instead of spaces

@luisrudge Ah, my bad! I'll swap them out.


Need a redirect from the old gh-pages site to the new one.

cloud.google.com has hundreds of links to variations of https://github.com/GoogleCloudPlatform/gcloud-node and https://googlecloudplatform.github.io/gcloud-node/
The old GitHub pages site (https://googlecloudplatform.github.io/gcloud-node/) does not redirect to the new https://googlecloudplatform.github.io/google-cloud-node/, therefore we have hundreds of broken links.
Is it possible to publish something to the old gh-pages site that will redirect visitors to the new one?

The only thing I believe we can do is create a new repo called "gcloud-node" and create a "gh-pages" branch. But the downside to that is it would break the repository/issues/PR redirects.
@jgeewax @omaray for the official response.
Maybe we should start using custom domains that redirect to our docs, i.e. cloud.google.com/google-cloud/node

I'm noticing an update happened on this page: https://cloud.google.com/datastore/docs/client-libraries
where the Google Cloud Client Library for Node.js link has been updated already.
Is that your magic @jmdobry ?

Fixed with a JS redirect on the org's 404 page. @callmehiphop saves the day!


Getting started with sensors

Hi,
I am first learning on how to use Mujoco and I am having some trouble with the sensors feature. The documentation isn't the most clear on how to start using sensors and then display the results of a contact events in the simulate window. For mow, I am just using the Hello World given by Mujoco (https://mujoco.readthedocs.io/en/latest/overview.html?highlight=hello.xml#examples) and trying to add a sensor on the bottom plane. The goal for now is for when the block hits the bottom "floor"/plane, the contact sensor would show readings that there was a contact event. Thank you for your help in advance!
-Max

Hi, @mwinnick4, one helpful thing you can start with is creating a site and visualizing it in the simulate window. Visualization is so helpful, and the simulate app makes this so easy to do!
For example, I added a box site in transparent blue and made it as wide and large as the plane:

Next, I added a touch sensor that references that site. When toggling the sensor button on the left pane, I can now visualize an impulse as the block falls down.
https://user-images.githubusercontent.com/10518920/174910429-83559a6b-856b-4329-a7d1-389dc708a357.mp4
Try using the docs to do this. I'll add a hidden solution at the end of this response that you can toggle if you get stuck or want to confirm. Cheers 😊

XML file
<mujoco>
<worldbody>
  <light diffuse=".5 .5 .5" pos="0 0 3" dir="0 0 -1"/>
  <geom type="plane" size="1 1 0.1" rgba=".9 0 0 1"/>
  <site name="plane_contact" type="box" size="1 1" rgba="0 0 1 0.3"/>
  <body pos="0 0 1">
    <joint type="free"/>
    <geom type="box" size=".1 .2 .3" rgba="0 .9 0 1"/>
  </body>
</worldbody>
<sensor>
  <touch site="plane_contact"/>
</sensor>
</mujoco>


docs: initialize variable s in table of contents example

Hello,
The third example (table of contents) in the sections and subsections chapter: https://touying-typ.github.io/touying/docs/sections does not compile for me due to error: unknown variable: s. I think a line similar to the one I've added was missing.
The compiled PDF still doesn't exactly match the corresponding .png example. The compiled PDF in this pull request adds a gray header titled "Section" - I'm not sure if that is because simple is the wrong theme or if the .png just needs to be updated.

Thanks, these png images need to be updated.


Travis fails with "Could not find module: TestUtils" on MacOS

For which test-suite? Or is that the whole error message?

See Travis logs: https://travis-ci.org/haskell/haskell-ide-engine/jobs/526823736
To find this log by hand do the following:

go to https://github.com/haskell/haskell-ide-engine/commits/master
see all those X which mean failed CI
click on any X to see a popup
click details link in a failed Travis build (the first line)

Stack 1.7.1 is outdated: there's a bug with internal libraries that was fixed in 1.9.1.
I think there is a flag you can use to tell travis to run brew update

We can close this now since there's been enough time for Stack 1.9.1


Added new param to CustomImageCrop for new image fit types.

New calculations to use for fitting/filling image inside screen/cropArea.

Not in PR yet, but will add fillCropSpace

I have trouble fixing Format test.
Can you explain how to check if file formating is correct?

@JolimJostar Thank you for your PR! We use dart format . to format our packages, normally running this command will fix the formatting.

@JolimJostar Thank you for your PR! We use dart format . to format our packages, normally running this command will fix the formatting.

Thank you

Thank you! We'll look at it this week 😁

@JolimJostar Excellent mate! Precisely what I was looking for ❤

Very nice work!
One issue I see, the CustomImageFit.fillCropHeight and CustomImageFit.fillVisibleHeight work differently:
fillCropHeight uses the height of the screen to determine the cropheight. This is different from the current behaviour and changes the crop
case CustomImageFit.fillCropHeight:
  final cropSize = screenHeight;
  final cropSizeToPaint = cropSize * cropPercentage;

fillVisibleHeight uses the width of the screen to determine the cropheight.
case CustomImageFit.fillVisibleHeight:
  final cropSize = screenHeight;
  final cropSizeToPaint = screenWidth * cropPercentage;

I would actually expect both to use the smallest size (width or height) as we don't want to change the crop depending on the imageFit IMO.
Or at least act in a similar way, was this intentional? What do you expect here?

Very nice work! One issue I see, the CustomImageFit.fillCropHeight and CustomImageFit.fillVisibleHeight work differently: fillCropHeight uses the height of the screen to determine the cropheight. This is different from the current behaviour and changes the crop
case CustomImageFit.fillCropHeight:
  final cropSize = screenHeight;
  final cropSizeToPaint = cropSize * cropPercentage;

fillVisibleHeight uses the width of the screen to determine the cropheight.
case CustomImageFit.fillVisibleHeight:
  final cropSize = screenHeight;
  final cropSizeToPaint = screenWidth * cropPercentage;

I would actually expect both to use the smallest size (width or height) as we don't want to change the crop depending on the imageFit IMO. Or at least act in a similar way, was this intentional? What do you expect here?

I will look into this. Sorry for delayed response.


JSON export dumps JSON fields as TEXT

Hi!
When a user tries to export data as JSON, I would expect to see the value of JSON columns represented as JSON instead of being rendered as a string. What do you think?

There is a feature for this at the moment, but it's a little bit hidden: you can use ?_json=col to tell
Datasette that you would like a specific column to be exported as nested JSON: https://docs.datasette.io/en/stable/json_api.html#special-json-arguments
I considered trying to make this automatic - so it detects columns that appear to contain valid JSON and outputs them as nested objects - but the problem with that is that it can lead to inconsistent results - you might hit the API and find that not every column contains valid JSON (compared to the previous day) resulting in the API retuning  string instead of the expected dictionary and breaking your code.

There is a feature for this at the moment, but it's a little bit hidden: you can use ?_json=col to tell
Datasette that you would like a specific column to be exported as nested JSON: https://docs.datasette.io/en/stable/json_api.html#special-json-arguments

Thanks :)

I considered trying to make this automatic - so it detects columns that appear to contain valid JSON and outputs them as nested objects - but the problem with that is that it can lead to inconsistent results - you might hit the API and find that not every column contains valid JSON (compared to the previous day) resulting in the API retuning string instead of the expected dictionary and breaking your code.

If a developer is not sure if the JSON fields are valid, but then retrieves and parse them, it should handle errors too. Handling inconsistent data is necessary due to the nature of SQLite. A global or dataset option to render the data as they have been defined (JSON, boolean, etc.) when requesting JSON could allow the user to download a regular JSON from the browser without having to rely on APIs. I would guess someone could just make a custom template with an extra JSON-parsed download button otherwise :)


Generate Cypress coverage

Packages you might need:

start-server-and-test
@cypress/instrument-cra

Sample script in package.json:
"e2e": "start-server-and-test instrument 3000 cy:run", <- this will run cypress test and generate a coverage report
Might need to add the following script to cypress.config.ts
    setupNodeEvents(on, config) {
      require('@cypress/code-coverage/task')(on, config);
      // It's IMPORTANT to return the config object
      // with any changed environment variables
      return config;
    }

Definition of Done:

Cypress tests can run locally without manually starting a front-end server
A coverage report is generated in a folder under ./src

Why is this blocked?

reassigned to myself since it requires collab with devops


Stream Browser Error

In the Stream Browser  press the filter then Feed = some feed
press OK,
press the filter and select Feed = None
You will get then an error
ResponseException{method='POST', url='https://xxxk/api/meta/v1/find', json='{"code":500,"message":"Unable to find doc with reference 'DocRef{type='', uuid='', name='None'}' for term: Feed is None","details":"java.lang.RuntimeException: Unable to find doc with reference 'DocRef{type='', uuid='', name='None'}' for term: Feed is None"}', code='500', message='Unable to find doc with reference 'DocRef{type='', uuid='', name='None'}' for term: Feed is None', details='java.lang.RuntimeException: Unable to find doc with reference 'DocRef{type='', uuid='', name='None'}' for term: Feed is None', responseKeyValues='code: 500, message: Unable to find doc with reference 'DocRef{type='', uuid='', name='None'}' for term: Feed is None, details: java.lang.RuntimeException: Unable to find doc with reference 'DocRef{type='', uuid='', name='None'}' for term: Feed is None'}
	at Unknown.Hh(stroom-0.js)
	at Unknown.Uh(stroom-0.js)
	at Unknown.new Pof(stroom-0.js)
	at Unknown.wof(stroom-0.js)
	at Unknown.Dof(stroom-0.js)
	at Unknown.aqd(stroom-0.js)
	at Unknown.dw(stroom-0.js)
	at Unknown.rw(stroom-0.js)
	at Unknown.eval(stroom-0.js)
	at Unknown.ij(stroom-0.js)
	at Unknown.lj(stroom-0.js)
	at Unknown.eval(stroom-0.js)
Caused by: org.fusesource.restygwt.client.FailedResponseException:
	at Unknown.Rh(stroom-0.js)
	at Unknown.Th(stroom-0.js)
	at Unknown.hqd(stroom-0.js)
	at Unknown.new iqd(stroom-0.js)
	at Unknown.aqd(stroom-0.js)
	at Unknown.dw(stroom-0.js)
	at Unknown.rw(stroom-0.js)
	at Unknown.eval(stroom-0.js)
	at Unknown.ij(stroom-0.js)
	at Unknown.lj(stroom-0.js)
	at Unknown.eval(stroom-0.js)

Id
Status
Parent Id
Processor Id
Processor Filter Id
Processor Task Id
Create Time
Effective Time
Status Time
Duration
Read Count
Write Count
Info Count - All the Counts in fact
All the Sizes


apache2 parser expression excludes valid user agents

The expression in the apache2 parser uses "(?<agent>[^\"]*)" to identify user agents however this excludes the " character, which appears to be valid according to the RFC.
I am seeing at least one build of Safari 11 on IOS that sends \" as part of its user-agent and none of this clients requests are being picked up by fluent, instead we see:
[warn]: #0 pattern not matched: "<IP_ADDRESS> - - [25/Feb/2020:18:55:34 +0000] \"GET / HTTP/1.1\" 302 5080 \"-\" \"\\\"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1\\\"\""
I solved this by changing the parser from apache2 to regexp and use expression with "(?<agent>.*)") but I'm not sure that is 100% correct solution.

however this excludes the " character, which appears to be valid according to the RFC.

According to https://tools.ietf.org/html/rfc7231#section-5.5.3 and https://tools.ietf.org/html/rfc7230#section-3.2.6 's BNF,  user-agent does not accept an double quote( " ). or I missed something?
Can you please give us a pointer where you found double quote is valid?

I'll close this. if you have any questions, please feel free to ask.


(maint) Use TravisCI container-based builds

Enable TravisCI container-based builds by avoiding (and explicitly
disabling) sudo and using the APT addon instead.
Normally pip install requires root access, which is incompatible with
TravisCI container-based builds. Use pip install --user instead to
install in user-space.

Reminder: file a bug against cppcheck and push up a /tmp/userdir build of cppcheck-1.68

CLA signed by all contributors.

This needs a fix in leatherman that LTH-14 is already adding, so blocked on that.

Merged to master as 553a0a98be1461d74d714c8a3bd43d463737dfa5.


AWS Api key Exposed !

This repo doesn't contains any AWS key or any other sensitive information


Spinner  expanded icon color

Hi. When using your component expanded spinner icon sets to yellow color by default.
Can you please tell me what style should I override to solve this? Thank you!

Sorry, I just noted that change was done directly in the code.


Fix typo in "Active Directory" section

Hi @mkhodary, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

Thanks for the fix, @mkhodary


Label ${properties:separator:key} in ${if:condition:display_value1:display_value2} shows unexpected results

Version of Archi

4.9.2
Archi Plug-ins

none
Operating System

Win 10
Expected Behaviour

In the below explanation I would expect with the not connected Note in row 4 the same result as in row 3.
Or did I misunderstood something?
Actual Behaviour

In a Note Label this is entered:

"$connection:target{property:REMARK}"
"$connection:target{properties: --- :REMARK}"
"${if:$connection:target{property:REMARK}:('REMARK' properties found):(no 'REMARK' properties found)}"
"${if:$connection:target{property:REMARK}:$connection:target{properties: --- :REMARK}:(no 'REMARK' properties found)}"

The Note is not connected and shows following result, here row 4 is strange for me:

""
"$connection:target{properties: --- :REMARK}"
"(no 'REMARK' properties found)"
"${if::$connection:target{properties: --- :REMARK}:(no 'REMARK' properties found)}"

When I connect this Note to an object with two 'REMARK' properties following is shown and what I expected:

"1. value of 'REMARK' property."
"1. value of 'REMARK' property. --- 2. value of 'REMARK' property."
"('REMARK' properties found)"
"1. value of 'REMARK' property. --- 2. value of 'REMARK' property."

Thanks and kind regards.

Can you please attach a simple model that demonstrates this problem with simple instructions on what to expect. I'm having difficulty understanding your problem. Maybe if you reduced it to a simple case it would help.

Good morning, please find attached a model with just this issue. Also a screenshot as it looks on my screen. Thanks for your help.

Issue 805 Example.archimate.zip

Seems to be do with the : character and escaping them.
@jbsarrodie Can you see the problem here?

Hi,
This is due to some discrepencies in the way ${property} and ${properties} work. In the first case, it renders to an empty string if there's no connection, in the second one, it doesn't render at all (and left you with the label expression unchanged).
I'm investigating to find the root cause of this...

I'm investigating to find the root cause of this...

Done ;-)
In PropertiesRenderer.java, text.replace is called outside of the refObject instanceof IProperties check for property, but inside for properties.
@Phillipus for the sake of consistency, I'd suggest to alway have text.replace inside, this would make it clear that the expression has not been evaluated because the prefix was invalid. If you're ok I can commit a (really small) patch.

Seems to be do with the : character and escaping them.

That's what I first though, but no :-)

Seems to be do with the : character and escaping them.

That's what I first though, but no :-)

But, if I submit a patch, I can also use this opportunity to refactor a bit the regexp for $prfix{properties:separator:name} so that colon can be escaped and used as part of the separator.

OK for a patch, thanks for looking at this.

Hi, will it fix the following as well?


after you close the site

will we still be able to use this on our desktop or pythonanywhere.com

Hi @dynamitemedia, the question isn't clear, I suggest you ask on our Telegram or Slack.


Implements ES2016 check for "use strict"

In ES2016, you can no longer have "use strict" in the body of a function
that has complex parameters (destructured or using default values).
Fixes #423

Is there anything else I need to do to land this?

Nope, it looks good. I've merged it as a062434d4 and followed up with a small patch to remove the ref prefix and reorder a conditional to make it slightly cheaper.

Thanks!


Modify sample.py to utilize argparse for handling input options

Argparse retrofitting so that we can set values cleanly from the command line interface.

Looks good


runtime/pprof: "signal" test failures

runtime/pprof is failing with unhelpful "signal: blah" error messages on a lot of builders.  For some reason we're not getting any further details though.  E.g., which runtime/pprof test is failing or a sigpanic stack trace.
linux/386 ("signal: segmentation fault"):
http://build.golang.org/log/07ee563d20864714eacb0e7307b474f7442008d7
http://build.golang.org/log/9ec79d102626ec6e8fc3fd392380bc0b520f35f4
linux/amd64 ("signal: segmentation fault"):
http://build.golang.org/log/10ef18cb3cd066f886ae1e8a8402f506a3cdb119
http://build.golang.org/log/1f5252c1bfda6d36b3dd5f1145cb702e075244b6
http://build.golang.org/log/59217a106b0b2382b49fec6f3519ed8336a971a9
http://build.golang.org/log/7b6a1ea33b8328df1effa7c793cebe137db2bf92
http://build.golang.org/log/d9507dafead6918ad32bcfeb8755f1fa78556911
http://build.golang.org/log/f2c7f09283cbba3767f0494a7be2a33a0e53132a
linux/arm64 ("signal: segmentation fault (core dumped)"):
http://build.golang.org/log/581d4aa6c33932de2ed35c4be71f1cd351ac4525
http://build.golang.org/log/881f201ecb2c30677f09e7ea9c2f3c3c44dfbde7
http://build.golang.org/log/90143ce9b0f68fc8e7b62f5ca26404b13ab033e1
http://build.golang.org/log/e2606ffaac1b253d21cd788ce0a2c561edf4d61e
http://build.golang.org/log/f93c432aa050385a27afc0227df3b96c101fcf96
netbsd/386 ("signal: killed"):
http://build.golang.org/log/93432c69d4ebf598a862589ab9283eff5b66373a

The message is the exit status being reported by the go command. The test binary seems to be exiting due to the signal, without handling it itself.
Are there more recent instances of this?

All of the Google search results for site:build.golang.org "signal: segmentation fault" appear to be from April.  Looks like this isn't a problem anymore.


Cannot resolve symbol 'MssqlConnectionConfiguration'

I am currently trying to implement r2dbc into one of my Spring Boot applications, but I get this error. I used this repo as a reference: https://github.com/jdubois/spring-reactive-sql-server/blob/master/src/main/java/com/example/reactivesql/reactivesqlserver/config/DatabaseConfiguration.java

Turns out you have to use implementation 'io.r2dbc:r2dbc-mssql' instead of runtimeOnly.


NotFoundError  in test_imagenet_models.py

Hello, we met an error when we run "python test_imagenet_models.py"
We run "python realsafe/example/imagenet/ens4_adv_inception_v3.py" and checked out that three chekpoint files have been downloaded successfully.
But the error occurred like:

NotFoundError: Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint.

We run "python realsafe/example/imagenet/ens4_adv_inception_v3.py" and checked out that three chekpoint files have been downloaded successfully.

The original ens4_adv_inception_v3 model conflicts with inception_v3 model, so we use another scope name Ens4InceptionV3 and convert the scope name after the original checkpoint downloaded. This is done in https://github.com/thu-ml/realsafe/blob/master/example/imagenet/ens4_adv_inception_v3.py#L52. Please make sure this step has succeed.
What's more, some of the functionality of RealSafe requires GNU Linux and does not work under Windows.


[Documentation] Beatmap.GeneralSection.Length is the length of the beatmap in seconds, unlike the milliseconds stated in the docs.

https://github.com/mrflashstudio/OsuParsers/blob/master/docs/BeatmapDocumentation.md#general-section-properties
Here it says

Length
int
Beatmap length in ms.

which is wrong

No idea why i did that honestly


Support for chalkboard

I would like to use the revealjs chalkboard plugin to illustrate things spontaneously.

Already implemented and available in obsidian plugin settings.


[17.09] Don't filter nodes if logdriver==none or logdriver==""

This is a cherry-pick of https://github.com/docker/swarmkit/pull/2396 and https://github.com/docker/swarmkit/pull/2438 applied in that order.
git cherry-pick -s -x 9608c63711181bff3a33c71f763aedde2d3596ec
git cherry-pick -s -x 05c8675eeeece04daffec34c5f99769b560d2d0d

Cherry-picks were clean (when applied in order).

Ping @vide @thaJeztah @cpuguy83 @anshulpundir


Age and sex group counts

One of the important diagnostics we do is look at age distribution.
Right now I can only see we calculate summary measures, but it would be great if we have a 5y and sex  strata  counts and %  , so we can view it in an age pyramid.
This is much more useful for diseases where the age onset may be multimodal.

Sure! We can add this to cohortDiagnostics using summariseCohortCount(cohort, cohortId = NULL, strata = list())

As discussed with @martaalcalde @albertpratsu - start by:

add age groups to summariseCharacteristics https://github.com/OHDSI/phenotypeR/blob/26146adced7c4ffd1db83a4bb7e074d2c780b7a9/R/cohortDiagnostics.R#L24 (start using the same as for population diagnostics https://github.com/OHDSI/phenotypeR/blob/26146adced7c4ffd1db83a4bb7e074d2c780b7a9/R/populationDiagnostics.R#L28
add density plot of age (see https://github.com/darwin-eu-dev/CohortCharacteristics/blob/4d1660e8a3dd3eb21b8d88913af024f55ab47ec6/R/summariseCohortTiming.R#L47 for example of how this can be done)

Great, so just to check in, now cohortDiagnostics does:

strata argument has been removed
tableCharacteristics stratified by age_group (default) and sex (but not crossed strata)
Age density stratified by sex (the overall group isn't included)

I also removed the cohortDiagnostics part of the vignette where the strata argument was explained.
Is this okey?


Adding a div below.

I want to add some css to particular dates and show the details of the respective classes below such as cheaper and expensive as shown in the above image,
Maybe we can add a prop that takes a component as calendar footer and display the footer accordingly.
Or we can find out if the same data can be places at some other place in the component.
We need to highlight the dates on which the rate are cheap or expensive and also let the user know what color means what.

You can only use our Calendar component and build everything you wish outside of it.


Fix deployment process

This PR sets up the github.io deployment process to work properly.
It also removes the CircleCI config from the repository.

@JosephMontoya-TRI take a look at this and let me know what you think.


Title numbers start from 1

If the minimum heading level in a Markdown document is a second-level heading (##), the inserted numbering will start from 0. Is it possible to make it start from 1 instead?

If the minimum heading level in a Markdown document is a second-level heading (##), the inserted numbering will start from 0. Is it possible to make it start from 1 instead?

@kxccc
I plan to take some time to implement it recently, I also have similar usage scenarios now.
Should be easy to implement based on current code.

@kxccc
Please update the plugin and try this:
{
    min_level = 2, -- start to add section number after min_level
}

If there are no problems in use, I will close this issue.


C++ build problem (already fixed June 21 but not included in 5.3) (IDFGH-13331)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
5.3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
No compile errors
What is the actual behavior?
In file included from /home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_panel_io.h:12,
                 from /home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/managed_components/espressif__esp_lcd_touch/include/esp_lcd_touch.h:18,
                 from /home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/managed_components/espressif__esp_lcd_touch_ft5x06/include/esp_lcd_touch_ft5x06.h:14,
                 from /home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:14:
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:82:37: error: found ':' in nested-name-specifier, expected '::'
   82 |             i2c_master_bus_handle_t : esp_lcd_new_panel_io_i2c_v2, \
      |                                     ^
/home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:100:3: note: in expansion of macro 'esp_lcd_new_panel_io_i2c'
  100 |   esp_lcd_new_panel_io_i2c((esp_lcd_i2c_bus_handle_t)I2C_NUM_0, &io_config, &tp_io_handle);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:82:13: error: 'i2c_master_bus_handle_t' is not a class, namespace, or enumeration
   82 |             i2c_master_bus_handle_t : esp_lcd_new_panel_io_i2c_v2, \
      |             ^~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:100:3: note: in expansion of macro 'esp_lcd_new_panel_io_i2c'
  100 |   esp_lcd_new_panel_io_i2c((esp_lcd_i2c_bus_handle_t)I2C_NUM_0, &io_config, &tp_io_handle);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:83:13: error: expected primary-expression before 'default'
   83 |             default : esp_lcd_new_panel_io_i2c_v1) (bus, io_config, ret_io) \
      |             ^~~~~~~
/home/danny/src/esp-idf/ZX3D95CD01S/minimal-gc9503/main/ft5x06.cpp:100:3: note: in expansion of macro 'esp_lcd_new_panel_io_i2c'
  100 |   esp_lcd_new_panel_io_i2c((esp_lcd_i2c_bus_handle_t)I2C_NUM_0, &io_config, &tp_io_handle);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/home/danny/src/github/esp32/esp-idf-v5.3/components/esp_lcd/include/esp_lcd_io_i2c.h:81:58: error: '_Generic' was not declared in this scope
   81 | #define esp_lcd_new_panel_io_i2c(bus, io_config, ret_io) _Generic((bus),  \
      |                                                          ^~~~~~

Steps to reproduce.
Compile something that includes esp_lcd_new_panel_io_i2c with a C++ compiler
Build or installation Logs.
see above

More Information.
Fixed in https://github.com/espressif/esp-idf/issues/14037 but not included in 5.3, or so it would appear

The backport has merged in our internal Gitlab server. It just needs some time to get synced to Github.

Fixed in https://github.com/espressif/esp-idf/commit/0903bcca1bb1999b0431b68d9b496f5f406775ec


[Feature] RG validation (just General Registry for now)

Implement the validation for RG's (just General Registry for now, not including UF specific RG's) class, and tests

I don't know if there is a way to validate RG.
See: http://pt.stackoverflow.com/questions/71/validação-de-rg


action: install g++-multilib on Linux hosts

Install g++-multilib on Linux hosts for use with native_sim.

Pushed v1.0.3 and update v1 to point to this one.


Coding rule for model equations

As we add more complexity to the model (in particular taxes on dynamically optimizing firms), I'm noticing that equations become quite messy.  This is leading to more algebra and coding errors on my part when I try to solve for an endogenous variable analytically.
We should think about how to best balance algebraic simplification with computational efficiency?  I'm thinking of cases where you might be able to find a closed form solution, but it's very messy.  Would it be better to code up the necessary condition from the model and let a numerical root finder get the answer? The trade off seems to be computational time (the time to solve with a root finder vs the time to do simple calculations) versus accuracy (and flexibility) of the code.
Basically, for our sake as we code this up initially (and for the ability to make the model more flexible in the future), it would be nice to to have something like in Dynare- where the user can just change/enter the necessary equations as specified by theory and off it goes.  This is in contrast to what I'm doing now where I do a lot of algebra to derive other equations from these necessary conditions, e.g. the factor demands of each firm.

This is the approach we take (have to take, I think) on the household side.  We have a series of intertemporal Euler equations and budget constraints for each household that must hold over their lifetime.  We have a constraint that the asseet holdings left at the end of some final period (age S+1 if there are no bequests) must be zero.  If we guess at the initial consumption value the Euler equations and budget constraints give us a whole time series of consumptions and asset holdings.  We use a root finder to get the value of initial consumption that sets final asset holdings to zero exactly.
This is much too complex a function to write out algebraically and solve.  I believe, in principle, we could do the same thing with profit-maximizing conditions for the firm.  it is probably more efficient to do so, as you rightly point out.
The devil is in the details, I suppose.  But it is a good idea to pursue.


Start up using pins ( from another pi)

I understand that OnOffShim can be used to cut the power off but is there a way to start up pi using Pins and not a buttom? My intention is to use another pay to control "main" pi both cutting power and starting it up (cold reset).

For the benefit to the community I am updating the docs and will soon make a PR. I made a drawing of OnOffShim Fritzing and will submit it the parts DB shortly.
Closing this Issue now.

Can @Gadgetoid or someone else take a look at this PR https://github.com/pimoroni/clean-shutdown/pull/20 ?

I made a drawing of OnOffShim Fritzing and will submit it the parts DB shortly.

Do you have a link to the part? I cannot seem to find it. Thank you! :)


ollama ps not working

What is the issue?
When the ollama ps command is executed, it returns a 404 error whether or not any model is loaded.
It was expected that it would return a message saying there are no models loaded or some line with information about the corresponding loaded model.
Note: if the installed Ollama package could influence anything, it is the one provided in the archlinux repositories. Ollama website localhost:11434 works
OS
Linux
GPU
AMD
CPU
Intel
Ollama version
0.1.38

Hi @alnoses, do you know if you're running the latest version of Ollama (0.1.38)? This version is required for ollama ps to work (you can view the version by running ollama -v) ?

Hello @jmorganca , when I checked it the first time I only got this line.
Warning: client version is 0.1.38
and checking again what comes out indicates this
ollama version is 0.1.36
Warning: client version is 0.1.38


fluid.waveform~ freaks out when renaming buffer

Haven't really done any testing with this as it came out after I had done a bunch of coding that would have used it, but returning to a cascaded offline slicer and wanted to incorporate this and ran into an issue.
Basically if you rename the buffer that fluid.waveform~ is referring to it throws an error message, then clears, then starts spamming the console with error messages.
Patch:

----------begin_max5_patcher----------
692.3ocuVtsbZCCDF9Z7SgFeU6LTOxGwzmf9NzzIivdMQTaIFIYBoYRd16JI
afDHGJkjaPiVjVq+u8ek88ASBWH2B5Px2I+jLYx8ASl3BYCLYX9jvN11pVl1
srvJYWGHLgS8+mA1ZbwSWDQtkwMjV9uARLkngJonVOkzz1yqitksAZjptGIU
s.SouRjVMrClPZtATGrILTMA+GsgoLZhdMqqiKVR.kRpHcfVyVBZhQRvMRvs
nksv3QpkKvrzKbmqjgfh9NYuoELNUPGhtlYptAS70Jnx3oPbYZDcJINNwNjU
L2NjhwH+Zep3hwLEODjW6nfbwpuEGGZi8PPf8mo+ubMhXT2gfwXrDXDiD1RF
WP9xSHxWG2ciTXz7+.NBPinuJDrKVv5bKN7GP6FvvqXguIhJybDJK1NjTb.g
rYrgUAGBn2hZkWRnkDQTfUSjE8MMn0BcJWExVutEzWE94PoYdGTblCVIyJtH
XZ1kDSwQjELzTYtg6ZlZkr5cNrOUuTliUIyoWDHUbNPZnG5HHsuiyYeBOo9G
OD9Pl6VCd4EFtSHmxhP22GM2cQSRxKcQSxwxL4bjo.tE26nJ1vT6JW0RPyO1
j36fdjrRJVh52OdWDi2bZTj7RnnAsWX5wLhdtWmKCsNXOSNNjN60QyIb.oy9
Pr.CL3x6AxbdfXZx+rIX94HzU5d9t9adKryC7r2UGs5CPqCk0BJNTjSokwzz
xrY4zro9qCJlMeNMAmmlWlm+9q4y2eOiBEjATWiJaQq6rQO.StT59Ngm8oOt
yrM9SYmV1qpFUnG5SI6KQ0fFe2LyvkhCVS5vhNY4489fRNuGjWf3EVa.kdX0
tmAZCVIU1okScS4B+zb2TErgOtdeDlBKhFrB1q7NjsEYg9sJqAk.8Q1pQfUc
3izYwrtI7S17Bw4DCdH3uL73MFE
-----------end_max5_patcher-----------

The first error it throws when trying to use a new buffer after changing the name of existing one is:
jsui: fluid.waveform~.js: Javascript TypeError: layerData[i] is undefined, line 783
After a while it starts spamming this over and over (with no user interaction):
jsui: fluid.waveform~.js: Javascript TypeError: layerData[i] is undefined, line 783 jsui: error calling function paint [fluid.waveform~.js]

I should that once it breaks, nothing seems to fix it short of deleting and reinstantiating it. Changing the buffer name back does nothing.


Remove datetimepicker JS from frontend template

Oscar's base frontend layout template includes JS for the Bootstrap datetimepicker that we use in the dashboard.
There are no core frontend views that use any date/time picker widgets, so I don't think these scripts should be in the template. If a project needs to use a datepicker on the front end then they can add them - but it seems like innecessary overhead to load them everywhere just in case?

Agreed, I've felt the pain of the datetimepicker not working at all in the dashboard and having to disable it anyway. I'll see if I can submit a PR for this.
AFAIK, all major browsers now support datetime fields by default and there is hardly a requirement to use a custom solution for a mainstream problem with default solutions.


Script and generators

This PR introduces two large changes

move to a single point of entry script
generators for selecting annotation entries based on various criteria

Plus all the tests and test data to go with!
Closes #33. Closes #34. Closes #36.

Current coverage is 100% (diff: 100%)

No coverage report found for master at 4fde89f.

Powered by Codecov. Last update 4fde89f...446e3ce


Fix linebreaks in summary in README

CLA is valid!

Changes have been manually incorporated into README.md along with other formatting issues. Thanks.


Support trace logging

Motivation
Need to see information about parts of particular functions that would be too verbose for debug level.

Codecov Report

Merging #2838 into master will decrease coverage by 8.43%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master    #2838      +/-   ##
==========================================
- Coverage   84.71%   76.27%   -8.44%
==========================================
  Files         667       45     -622
  Lines       37912     3313   -34599
  Branches     4550      387    -4163
==========================================
- Hits        32116     2527   -29589
+ Misses       4462      690    -3772
+ Partials     1334       96    -1238


[CHALLENGE] - Hashing without a salt

Use something like sha256 to encrypt passwords without a salt.
Find a nice dictionary with pre computed hashes for help documentation
The scenario could be an sql file with dump of a DB with some credentials (but it looks like weak hash)
Other idea could be the hashed version of the password used in a cookie to manage authentication.
in documentation show the differences between bruteforce an hash with and withouth the salt. The difference in time.
Always use passwords from the TOP 500, just to make it fast

For this example, and to make it look like a real attack/vulnerability, you could make it like a DB dump full of hashes and have 5 users with the same password, including the Admin. To make it easier, the admin password should be 123456.
This makes the exercise simple and manageable. You only need to notice the same hash on several users and know what are the most common passwords.

@AVBC-Sec sounds good.
We already have a similar scenario in the weak hashing challenge, a DB dump with some hashed credentials.
So I would recommend having a similar case but witha PHPmyadmin like system, where you can query some tables and eventually see the user hashes.  Just to try to make it a little bit different.
Also the action to submit the solution to the challenge could be logging into that system as admin

Will not implement this for now...
Weak hashing doesn't use salt either, and as an easy and reliable challenge we should not use


showmethekey: 1.13.0 -> 1.13.1

Diff: https://github.com/AlynxZhou/showmethekey/compare/refs/tags/v1.13.0...v1.13.1
Changelog: https://github.com/AlynxZhou/showmethekey/releases/tag/v1.13.1
Description of changes

Things done

Built on platform(s)

[ ] 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

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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.

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

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

1 package built:

showmethekey


PageInfo method to get parent position

Here is my pull request for issue #260.
It mimics the Facebook canvas methods. Let me know if it looks about right. You call the getPageInfo from the content window with a callback. The message is sent to the parent which makes the calculations and send a message back to the content window. Then the callback is invoked.
I didn't write any tests or documentation yet but I will if you wish to merge it to your repo.

Hey that looks great. Would love it if you could add some Jasmine tests and docs.
My one comment is that after it has been triggered, should the parent page start listening for scroll events and update the callback in the iFrame.

Ok, I added some docs but I have no idea how to test this since it's a two way call. The iframe pings the parent who sends back information. I looked at different tests you made but could not find any that would be a good baseline. If you have any idea on how this could be done or an example you could point me to, let me know.
As for listening to scroll events, my concern is that many different events can change the page infos. Scroll is one, resizing the browser is another, resizing the iframe, moving the iframe, etc. I'm afraid it could get messy trying to catch all the scenarios that would trigger an update and that's why calling the method when needed seems more appropriate in my opinion.

Thanks for this, I've fixed the jsHint errors and added morked tests for both scripts. Will release in next version.

Great, thanks!

Just updated this on the dev branch, so that the callback gets recalled on parent scroll and resize events.


Make platform PlatformManager::PostEvent() return status

Problem
void PlatformManager::PostEvent() can fail on some platforms, but does
not report this to callers.
In the #9543 case, an intermediate layer unconditionally returned
CHIP_NO_ERROR, and Inet code assumed it could actually test whether
PostEvent() succeeded.
Fixes #9543 PacketBuffer leak
Change overview
Made PlatformManager::PostEvent() return CHIP_ERROR.
Marked it [[nodiscard]] to catch all uses, and made callers
propagate or at least log any error.
Testing
CI.

@kpschoedel ?

@kpschoedel ?

Kevin is OOO for another 2 weeks. @mrjerryjohns - should your comments be addressed by code changes in this PR or are you ok to merge and change as a followup to expedite changes going in?


NullPointerException

When I invoke dpd.setDatePickerScrollOrientation(OrientationHelper.HORIZONTAL); ,NullPointerException occurred.
There is the exception:java.lang.NullPointerException: Attempt to invoke virtual method 'void com.wdullaer.materialdatetimepicker.date.DayPickerView.setScrollOrientation(int)' on a null object reference.

This feature wasn't supposed to be in this release, I must have made a mistake when switching between my different branches.
So this is coming up, I'll try and patch it up shortly so it doesn't blow up if you accidentally try to use it.


useAuth0 causes internal server error

Hi, i'm really enjoying using envelop.
Thank you for creating great libraries.
Describe the bug
I set up envelop with useAuth0 and if I make a request without authorization header,  it causes internal server error and the http status code will be 500.
To Reproduce
Make envelop setup below and serve it in the same way of graphql-helix example.
const getEnveloped = envelop({
  plugins: [
    useSchema(executableSchema),
    useExtendContext(createContext),
    useLogger(),
    useAuth0({
      onError: (e: any) => {
        throw new EnvelopError('request not authenticated', {
          code: 'NOT_AUTHENTICATED',
        })
      },
      domain: process.env.AUTH0_DOMAIN!,
      audience: process.env.AUTH0_AUDIENCE!,
      headerName: 'authorization',
      preventUnauthenticatedAccess: true,
      extendContextField: 'auth0',
      tokenType: 'Bearer',
    }),
    useMaskedErrors(),
    useErrorHandler((error: any) => {
      console.log('ERROR: ' + JSON.stringify(error))
    }),
    useTiming(),
    useDepthLimit({
      maxDepth: 10,
    }),
  ],
})

Expected behavior
I think it should be caught internally and server should send back with http status 200.
Environment:

<EMAIL_ADDRESS><EMAIL_ADDRESS>NodeJS: 14.16.0

This is because graphql-helix handles it as 500 error when OnContextBuildingHook throws error.
https://github.com/contrawork/graphql-helix/blob/master/packages/core/lib/process-request.ts#L310
I'm not sure if it is correct or not, but I think it's not common to handle 500 in graphql client.

@dotansimha
Hey, thank you for handling this issue :)
As this is related to graphql-helix, this issue can be closed after the next version of graphql-helix is released.

close this as it is solved in graphql-helix 1.8.0


the streaming aspect ratio is 3:4 not 4:3 while i set PREVIEW_SIZE_RATIO.RATIO_4_3

the streaming aspect ratio is 3:4 not 4:3 while i set PREVIEW_SIZE_RATIO.RATIO_4_3

It's not good idea to implement the PREVIEW_SIZE_RATIO.RATIO_4_3 as the stretch maybe happens.
But, you still can implement the effect on Version 1.3.1.
You can use the FULL show mode, and fix the layout.

I want the 4:3 stream to be published,but my server receive stream of 3:4.
The sdk for iOS does well on my iPhone, but i failed on android

You should use the landscape, not portrait.

my app use portrait and I want get the stream of 4:3 like wechat's small video

？？？

It's not a common req. Maybe the req is same as issue 16. I will take into consideration it after issue 27 finished.

Could you take this problem as high priority. I will appreciate it if possible.


[WIP] Final fix to linux_ns_itype tests

Do not pivot_root when under the host mount namespace. Chroot instead.
Fix #240
Also passes "linux_ns_itype/linux_ns_itype.t" test.

@yihuaf This test has been running forever. Can you check it out?
Running linux_ns_itype/linux_ns_itype.t

@yihuaf This test has been running forever. Can you check it out?
Running linux_ns_itype/linux_ns_itype.t

Yes I will.

@utam0k So the hang has been reported since 2019. (https://github.com/opencontainers/runtime-tools/issues/698). I'd rather get this change in without this test. On my local machine, I can't reproduce this. The test passes with flying color. On the Github action, the test passes, but as the issue indicated hang on the clean stage. What do you think?

@utam0k So the hang has been reported since 2019. (opencontainers/runtime-tools#698). I'd rather get this change in without this test. On my local machine, I can't reproduce this. The test passes with flying color. On the Github action, the test passes, but as the issue indicated hang on the clean stage. What do you think?

Oops... Thanks for your research. Let's comment on what goes through locally and the problems and comment it out.
Lastly, just to confirm, if it doesn't work under certain conditions, we can consider skipping it with check_enviroment(), but is that going to be difficult? (I don't think you need to  spend that much time investigating this.)
When you will do, it would be helpful if you could also update the README.md in a similar fashion to following PR.


Check: Zooming does not improve resolution: Resolution-type events does not get sent

Please check if the zooming improves resolution (see https://github.com/ably/ably-asset-tracking-android/issues/535 for details)
┆Issue is synchronized with this Jira Task by Unito

This problem also exists in AATSwift.


Production timeline

Greetings! This looks like a really cool re-tooling of Meteor. Is there currently a road map / est. time when it will be ready for production?

There are 2 things that are needed for this to be considered production ready

A python version of Minimongo (one that works in local memory and doesn't touch the database) to replace lightweight in memory dictionary implementation
Tests - automated and running on CircleCI or TravisCI

At the moment I don't have enough resources to tackle these 2 items, if someone ends up submitting a working PR with a python Minimongo implementation I'd likely add them as a developer to this project.
As far as the APIs, I've gotten enough feedback to say that these are stable and ready for production use. As long as you can live without a full implementation of Minimongo, id say its safe to start building on top of the current APIs.


Support python 3.7

Then we are supporting all currently supported python versions.

Fixed as of 454ee8c00200b09e6ca2b7418f7683390b69f4a5.


Need a way to override march=native in CFLAGS

Hi, I'm using linuxbrew on a bunch of x86-64 machines w/ different Linux versions and CPUs, and with $HOME shared via NFS. In order to be able to use the same install on all the machines, and to be able to build packages (from source) on any machine, I need a way to set arch-specific option to the minimal supported across all the machines (sse2 would be a safe bet). However, I see from the source code that actually linuxbrew overrides all the march settings, so I wonder if such a feature would be deemed useful. A knob which forces linuxbrew to always install its own glibc would be useful too.

export HOMEBREW_ARCH=core2 should do what you want.
As for installing glibc you just need brew install glibc.

Sorry for a delay. As far as I can tell, HOMEBREW_ARCH=core2 worked.


可以用于搭建tensorflow_serving模型服务平台吗？

请教个问题，现在我们有需求搭建机器学习的模型服务平台，看到simple_tensorflow_serving，感觉这个工具还是很方便的，对于启动一个tensorflow serving和客户端的请求来说都很方便很灵活。
可是机器学习的模型服务平台又会涉及到模型的更新、自动化的部署、弹性扩容、灰度发布、测试和验证等多方面的内容，您觉得要做到这些，结合simple_tensorflow_serving，可以从哪些方面来考虑，会不会用到docker。
多谢！

Thanks for your attention.
Simple TensorFlow Serving focus on loading and serving machine learning models which supports TensorFlow SavedModel and MXNet checkpoint now. It can load multiple models at the same time and re-load the TensorFlow models automatically. If you want to put model versions online/offline, you can simply add/remove the model files, just like TensorFlow Serving.
However, if you want to deploy the serving service in cluster and support rolling update, you need the service management cluster and I would recommend Kubernetes or the similar orchestration tools.
Now Simple TensorFlow Serving has provided the docker image and you can pull from the public registry with docker pull tobegit3hub/simple_tensorflow_serving. You can use this docker image to deploy the model services for machine learning very easily.

Thank you very much.

I will close this because it is not the issue of this project.
Feel free to re-open this if you have any other questions.


flexible config-file input

no matter, whether
borgcron_starter.sh is called with
foo or foo.sh

Thanks, this makes the script a bit more complex, but it is okay for a small "convenience feature", IMHO.


Document how to deal with JSON responses

I had a hard time figuring out how to use aresponses with json responses and I had to inspect aiohttp web.Response to understand it. Thought it may help future users with the same problem

@brycedrennan done!

@MattBlack85 thanks for your contribution!


Use -trimpath for go1.13

Currently, the binary built by go build includes the file paths for the source files. For most people, GOPATH is in their home directory, so their username is embedded in the resulting binary, which makes reproducible images difficult for us.
In 1.13, we can use go build -trimpath to fix this.
See https://github.com/golang/go/commit/74695644e0c38586a85b9b483830c546efbb6642

Hi @jonjohnsonjr Can I take this?

Definitely!


Wrong CSS selector type passes challenge

The challenge is asking to use an element selector but the regex allows for a class selector.
Challenge: https://www.freecodecamp.org/learn/responsive-web-design/basic-css/import-a-google-font
Forum post: https://www.freecodecamp.org/forum/t/html-css-font-help/395209

Thanks for reporting this @lasjorg. I agree that this can be confusing even if the text makes it clear to use an element selector.
To anyone who works on this, it seems like changing the third testString to the following will fix this:
assert(/^\s*h2\s*\{\s*font-family\:\s*(\"|")?Lobster(\"|")?(.{0,})\s*;\s*\}/gim.test(code));
That change should still allow all valid rules targeting h2, but not match .h2.

Hi. I understand the bug. I want to do this. Can I take it.

@1t1e1 : as per contribution guidelines all the issues with Help wanted label are up for grabs and you do not need to seek permission before start working on them

hello, I am working on the issue, just one question ,  the last line testString should include gim.test(code));   OR gi.test(code));

@g4rry420 , probably best using:
assert(code.match(regex)

@g4rry420 I think it must be gim. I guess it part of regex and m stand for multi line. This will solve to pass challenge with rule that does not ask like font-size:30px.
@Ieahleen Thank you. I missed. Actually I found this document too late. newbie problems. :relieved:

#38944

@scissorsneedfoodtoo
The regex works if you test it with
`h2 {
font-family: "Lobster";
}
h2 {
font-family: Lobster;
}`
but not
h2 {      font-family: 'Lobster';    }
So I added something to the regex. Regex101 says it should work. I linked it below. However, when I changed it in the code and test it locally, it doesn't work. It only works for Lobster with double quotes or without it. Single quote doesn't seem to work. This is what I tried:
testString: 'assert(code.match(/\s*h2\s*\{\s*font-family\:\s*(\"|"|')?Lobster(\"|"|')?(.{0,})\s*;\s*\}/));'
I tried it on both Safari and Chrome and on incognitos windows too. This is the directory path where I changed the code. If there's somewhere else that I need to change please let me know.
client/curriculum/challenges/basic-css/import-a-google-font.english.md
https://regex101.com/r/g9WCbi/7

@scissorsneedfoodtoo
Your regex works for
`
h2 {
font-family: "Lobster";
}
h2 {
font-family: Lobster;
}
but doesn't work for single quoted Lobster as such : 'Lobster' `
I changed the regex to be this and it works for all three test cases.
assert(/\s*h2\s*\{\s*font-family\:\s*(\"|"|\')?Lobster(\"|"|\')?(.{0,})\s*;\s*\}/gi.test(code));
Making pull request soon.

Awesome, thanks for catching that @ptkpyitheim and for submitting a PR so quickly.

is still open ? i like to contribute can i?

@programmerraja , Sorry, this issue has a linked pull-request that is likely to close the issue. You are welcome to work on other issues with the help wanted label which do not have open PRs.

@Sky020 @scissorsneedfoodtoo See my comment on the original issue.  If we expect the user to use a type selector, then why don't we ask the user to use a type selector.  Other, the user should be allowed to create an .h2 selector and specify h2 in the class attribute.   Then, the testString changes in #39084 make sense.  If you all agree, I can make the additional commit and we can get this PR approved/merged.  Let me know your thoughts.

@RandellDawson . In that case, shall we edit the test to be inclusive of all selector types?
We could edit the instructions to be more specific, but I am concerned there will be too much jargon which will confuse more.

I don't see why we should complicate this any more than we have to. The previous challenge shows how to set the font family on an element using the element selector. This challenge was in my opinion clearly made with the intention of the camper using an element selector to set the font, even if it is not explicitly said so.
I suggest we limit the valid selector to just the element selector. If we can get @ptkpyitheim to update the challenge instructions with the proposed change to the text that @RandellDawson gave in the PR I'd be in favor of this.

I would like to contribute.

@prakharindoria There currently is an outstanding PR #39084 that we are waiting on the contributor to update based on the latest discussion in this issue.  If the user does not make the changes in the next week, then you could go ahead and create a PR.
There are many other issues listed where you could help.  See if you can find one that does not currently have a PR for it.

Its great to hear from you @RandellDawson. I will look into something else.

@Sky020 Would you be OK with @lasjorg's latest suggestion?  If so, then can one of you make the necessary commit?  I will approve such a change.

Awesome, thanks for catching that @ptkpyitheim and for submitting a PR so quickly.

Yes, no problem. I'm checking out the comments on the PR link.


Latest Beta Version Depends on My BMW from US

Hi, I am from Malaysia and have My BMW application installed to be proxy for this application to run, unfortunately, it keeps on asking to install My BMW from Play Store which opens other country which I am not able to download, I suspect it's US

Nothing in AAIdrive's MyBMW detection should have changed in the last year or so. Can you share the Play Store link or the package name of your installed MyBMW application, perhaps AAIdrive isn't detecting it properly?
AAIdrive only links to the US version because it thinks your phone is US, by default it links to the European version.

Hi,
It's within your mobile application, clicking will try to open https://play.google.com/store/apps/details?id=de.bmw.connected.mobile20.na
Even I already have installed:
https://play.google.com/store/apps/details?id=de.bmw.connected.mobile20.row
I am not sure what's the difference between .na and .row

Hi,
I am able to install both MyBMW and MINI app, but not Supra app due to country restriction similar with the link to install MyBMW within your app.
Even when I have both of them installed, your app still require me to install the different country's MyBMW.

That's the difference (North America vs Rest Of World). I'm puzzled, because AAIdrive has many more European users than American users and you are only the second person to notice a problem. What version of MyBMW do you have? I see 3.3.1 in the store, and the same version in America.

Both of those links are pointing to the same version which is 3.3.1

does it support Chinese ver？
our app is：de.bmw.connected.mobile20.cn

If AAIdrive says it can connect to any car (even Mini), it has found the security service and will work with your MyBMW connection. Does it say it is ready to connect to Mini with the Mini app installed?

AAIdrive does not know about the Chinese version, thank you for the pointer! It should be easy enough to add support for it.
Until then, you should install (perhaps manually) the US or European version of MyBMW/Mini/Supra app to get the security service (and AAIdrive should say it is ready to connect), and then AAIdrive should connect through the Chinese MyBMW's connection to the car.

Hi, the app seems has some problem on bmwapp detection.
I installed the following apps, downloaded from external readme.md.
1|ruby:/ $ pm list packages|grep bmw
package:de.bmw.connected.mobile20.cn
package:de.bmw.connected.mobile20.na
package:de.bmw.connected.mobile20.row
package:de.bmw.connected.na
ruby:/ $
But aaidrive can not detect it sometimes.

That's the difference (North America vs Rest Of World). I'm puzzled, because AAIdrive has many more European users than American users and you are only the second person to notice a problem. What version of MyBMW do you have? I see 3.3.1 in the store, and the same version in America.

Both of those links are pointing to the same version which is 3.3.1

Could you check your phone settings.
Maybe you set your location to US.
I checked aaidrive code. It using system settings to determine which bmw app should installed,and it maybe not same region with gplay.

Thanks for making me test it out and helping find the bug! AAIdrive was never updating the BMW installation status in the UI after the initial draw, even after the async connection happened.
Please test the latest build which should fix this, and also add support for the Chinese MyBMW app.

AAIdrive picks the US version if the phone's locale is set to US, otherwise it defaults to the Rest of World version. What locale is your phone set to?

Hi,
I don't have any problem installing any application, I set my phone to use US as locale, and country is Malaysia.
I suggest the application to just check any of My BMW installed, why in the first place what to lock that?

AAIdrive does check if any MyBMW is installed, and as of the latest build (and the latest Play Store beta) it will even properly show that it found it. The connection logic still worked, even though the UI was prompting to install MyBMW, but now it will know that it's already installed and not prompt.


trying to load libe_sqlite3.so from /usr/lib (reopen)

@ericsink
@bricelam
in continuation to https://github.com/dotnet/efcore/issues/20462
I am opening the issue again because i am stuck, and have no other channel to ask for some guidance.
i need the native library libe_sqlite3.so to run from /usr/lib and not from the relative path like ../runtimes/linux-x64/native/libe_sqlite3.so
following this hint from eric:
https://github.com/ericsink/SQLitePCL.raw/issues/325
I have edited the /src/common/batteries_v2.cs file,
added the code:
class NativeLibraryAdapter : IGetFunctionPointer
{
    readonly IntPtr _library;

    public NativeLibraryAdapter(string name)
        => _library = NativeLibrary.Load(name);

    public IntPtr GetFunctionPointer(string name)
        => NativeLibrary.TryGetExport(_library, name, out var address)
            ? address
            : IntPtr.Zero;
}

to class:

static class Batteries_V2

then changed the

static void DoDynamic_cdecl

method to use
SQLite3Provider_dynamic_cdecl
    .Setup("e_sqlite3", new NativeLibraryAdapter("e_sqlite3"));
SQLitePCL.raw.SetProvider(new SQLite3Provider_dynamic_cdecl());

and, of course nothing is working...
So, is there a different way for me to load the native library from /usr/lib?
even if it is hardcoded path and file name, its fine,  I just cant find the place for this to work.
Thank you in advance.

When trying to load from /usr/lib, you probably want the name of the library to be sqlite3 instead of e_sqlite3.
I use the e_sqlite3 name specifically to avoid clashes with other instances of the library.

I tried both, as i have both libe_sqlite3.so and libsqlite3.so in the /usr/lib

Just to confirm, you're on .NET Core 3.x, right?

yes

Attached is a little sample app that demonstrates what you are trying to do.
In this example, I dropped libe_sqlite3.so in my home directory and used that path to access it, but you can use whatever path you want.
g341.zip

Thank you,
the little program works, do i have to use "ugly" or its just for debugging?
I will try to integrate it again.

Nah, ugly was just a convenient (for me) way to write the little test at the bottom to verify that it works.

i changed the batteries_v2.cs file like this:
batteries_v2.cs.txt
please note that I had to change the code to this :
		class NativeLibraryAdapter : IGetFunctionPointer
		{
			readonly IntPtr _library;
			System.Reflection.Assembly assy = typeof(SQLitePCL.raw).Assembly;

			public NativeLibraryAdapter(string name)
				=> _library = NativeLibrary.Load(name,assy,0);

			public IntPtr GetFunctionPointer(string name)
				=> NativeLibrary.TryGetExport(_library, name, out var address)
					? address
					: IntPtr.Zero;
		}

due to exception in the build:

SQLitePCLRaw.provider.dynamic_cdecl -> C:\GIT\SQLitePCL.raw\src\SQLitePCLRaw.provider.dynamic_cdecl\bin\Release\netstandard2.0\SQLitePCLRaw.provider.dynamic_cdecl.dll
C:\GIT\SQLitePCL.raw\src\common\batteries_v2.cs(44,33): error CS7036: There is no argument given that corresponds to the required formal parameter 'assy' of 'NativeLibrary.Load(string, Assembly, int)' [C:\GIT\SQLitePCL.raw\src\SQLitePCLRaw.batteries_v2.e_sqlite3.dynamic\SQLitePCLRaw.batteries_v2.e_sqlite3.dynamic.csproj]

after i changed the code and compiled,
i take the files from ..\SQLitePCL.raw\src\SQLitePCLRaw.provider.dynamic_cdecl\bin\Release\netstandard2.0
and replace only SQLitePCLRaw.core.dll and SQLitePCLRaw.provider.dynamic_cdecl.dll files in my folder, run my app, and i get this error:

An assembly specified in the application dependencies manifest was not found:
                               package: 'SQLitePCLRaw.lib.e_sqlite3', version: '2.0.2'
                               path: 'runtimes/linux-x64/native/libe_sqlite3.so'

Why do you have a batteries_v2.cs file?
The sample I attached does not.

where else can I integrate the code inside the SQLitePCL.raw code?
as far as i understand there is a chain of dependencies, when in the higher c# code  someone access the database, it is calling the Microsoft.Data.Sqlite.dll which is calling the SQLitePCLRaw.core.dll which is calling the provider that trying to find the native so file.
and the only place i found which is calling to SQLitePCL.raw.SetProvider is in batteries file

The batteries/bundles are convenience packages that call SetProvider for you.  In your case, you want to call SetProvider yourself, as shown in the sample I uploaded.
I'm pretty sure you should be using this version of Microsoft.Data.Sqlite if you are not already:
https://www.nuget.org/packages/Microsoft.Data.Sqlite.Core/
The difference between Microsoft.Data.Sqlite.Core and regular Microsoft.Data.Sqlite is that the former doesn't take a dependency on a bundle, so that you can initialize SQLitePCLRaw for yourself.

@ericsink, I need your help. How can I use this in a class library that uses "netstandard2.0;net461;monoandroid90;monoandroid10.0;xamarin.ios10"
?

@angelrishi That question is too vague.  You need to open a new issue and post complete information about what trouble you are having.

@ericsink Apologies for not being clear. We are using "Azure.Mobile.Client" for offline sync in Xamarin.Forms.
I purchased SEE from sqlite team (as I wanted to use SEE instead of SQLCipher). I then created a custom build of SQLite and placed in XAMARIN FORMS under the Android project under "/lib/x86/libsqliteX.so". Similarly added appropriate build file in Xamarin's iOS project too.
I found that "Microsoft.Azure.Mobile.Client.SQLiteStore" uses "SQLitePCLRaw.bundle_green" and they use:
SQLitePCLRawHelpers.GetSqliteConnection(dbPath)
This function further calls:
Batteries_V2.Init();
This INIT call infact would call:
For Android:
SQLitePCLRaw.provider.e_sqlite3
SQLitePCLRaw.lib.e_sqlite3.android
For iOS:
SQLitePCLRaw.provider.sqlite3 I guess.
Now, as we're using a custom build of SQLITE as .so file in Android, I cannot use Batteries_V2.Init();.
Instead, I removed "SQLitePCLRaw.bundle_green" and installed SQLPclRaw.core and SQLite3Provider_dynamic_cdecl.
Then I removed Batteries_V2.Init(); and replaced it with:
SQLite3Provider_dynamic_cdecl.Setup("sqlite3", new NativeLibraryAdapter("libsqliteX.so"));
raw.SetProvider(new SQLite3Provider_dynamic_cdecl());
For NativeLibraryAdapter, I am using SQLITEPCL.NATIVELIBRARY as this is not .net core:
class NativeLibraryAdapter : IGetFunctionPointer
{
readonly IntPtr _library;
    public NativeLibraryAdapter(string name)
        => _library = NativeLibrary.Load(name, typeof(NativeLibraryAdapter).Assembly, 0);//Assembly.GetExecutingAssembly()

    public IntPtr GetFunctionPointer(string name)
        => NativeLibrary.TryGetExport(_library, name, out var address)
            ? address
            : IntPtr.Zero;
}

The things are not working. The file is not being read and the following line:
SQLite3Provider_dynamic_cdecl.Setup("sqlite3", new NativeLibraryAdapter("libsqliteX.so"));
breaks the Mobile APP.
Could you please give me a direction that how I can use "libsqliteX.so" in Xamarin Android using SQLitePCLRawHelpers?
Your guidance will help me a lot. Please guide.
Thanks.
Angel

I can't find libe_sqlite.so file anywhere and this is the only forum I came into. Where can I find this library for both armv7 and arm64 architectures?

@bartutiryakioglu In the nuget package sqlitepclraw.lib.e_sqlite3
https://www.nuget.org/packages/SQLitePCLRaw.lib.e_sqlite3

Closing old/stale issue. If there is anything here that still needs attention, please open a new issue.


Update index.yml

Changed className from cardsM to cardsC to experiment with style

@thedanfernandez,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/index.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Shake of

Is there a way to get the peepers off your body without causing any damage? If not, would it be possible to establish a way?
I have no idea how much effort it would be, but maybe it would be possible for the peepers to jump from one player to another?

There are ways to get them off without taking damage already. Experiment with different equipment.

Ah ok, we don't use regular flashlights anymore, we use the Advanced Company tactical helmets, but now flashlights have a use for us again. However, I would still find peepers passed from player to player funny.
Thank you for your response. :thumbsup:


Fancy Zone: Allow export and imports of custom Fancy Zone layout directly from UI

Description of the new feature / enhancement
After creating a new fancy zone, it would be very useful to export and import the layout of the fancy zone layout directly from the UI instead of changing the files in the directory.
Currently this is done through editing files at  %localappdata%\Microsoft\PowerToys\FancyZones
Scenario when this would be used?

When I need setup Fancy Zone in multiple computers that I use for office/home work.
Useful to share the most productive/useful fancy zone to wider audience.
When I need to restore fancy zone which got deleted due to reformatting / resetting the PC

Supporting information
No response

/dup #586


Files operator

Description

Create a FileOperator to handle database operations for files, and files endpoint
Related issues

#148

Type of change

[x] New feature (non-breaking change which adds functionality)

Changes Made

Refactor operators, use new BaseOperator to share functionality
Add FileOperator
Add /files API endpoint to fetch files attached to a project
Submission files endpoints

Testing

[x] Unit Tests
[x] More tests with files - issue created #629

Mentions

Rebased and added new changes.

Spent too much time trying to write more async code, as async generators for the FileOperator, but turned out I didn't manage to make it work, and reverted to the working version.

Additions look good and the operator refactor seems sensible. Just one question. Is the BaseOperator class useful anymore after this? the few remaining methods could just be some common methods or something

Did you notice that BaseOperator is a new class that didn't exist before? I didn't put much effort into it, but we could group common functionality there.


Missing PHP 7.2 support

After updating composer with plugin installed on PHP 7.2, this error is raised.
Loading composer repositories with package information
Updating dependencies (including require-dev)
    Prefetch start: total: 1

  [ErrorException]
  count(): Parameter must be an array or an object that implements Countable

Will look into it if I have a bit of spare time.

I think you should remove all related packs like, php and composer, then reinstall to try again. A fresh install worked fine here.

Unfortunately, the issue persists since the runningRequests property of Hirak\Prestissimo\CurlMulti may be null, and it's not allowed to be passed to count().


Configure Cadence to use HTTP/2

Is there a way to configure cadence to use HTTP/2?

Sorry for so many questions, but is there any way to configure cadence to go through http/1? I saw in https://github.com/uber/cadence/issues/348 that it might be possible?

@samarabbas

Cadence now uses yarpc which already has support for exposing our existing thrift handlers as http.  This could be achieved by simply initializing yarpc dispatcher with http inbound.  Currently we statically initialize Cadence server with tchannel inbound.  It should be a relatively straight forward to add support for also initializing the server using http inbound.
We don't have resources to work on this right now, but I will be willing to work with you if you are up for it.

Yea sounds good. Can you point me to what is needed (I.e which files need to be modified) to make the change?

Is there any progress on this?
I looked into switching the transport to HTTP, but it appears that ringpop-go lib has a hard dependency on TChannel transport (common/service/config/ringpop.go)

@mfateev Is the grpc migration still on track to finish by end of this year? If not, do you have a new timeline that you can share?

Currently we are targeting beginning of Q1.

Thanks!


shapenet voxels

Hello,
I saw in the docs "Kaolin supports multiple formats in which you can load a ShapeNet class (eg. meshes, pointclouds, voxels, " at https://kaolin.readthedocs.io/en/v0.1/notes/datasets_tutorial.html
However I can no longer find the dataset object  shapenet.ShapeNet_Voxels. Has this been depreciated?

Hi @JTT94 thanks for you interest in Kaolin, as you can see from the URL this is 0.1 version of Kaolin, we indeed dropped this "dataset" but it's very easy to reproduce by applying a CachedDataset on our ShapeNet datasets

Thank you for your response.
I do not see how the cachedataset provides voxels?
Ultimately, is it possible to get voxels and corresponding texture coordinates for shapenet using kaolin?

I am also interest if Kaolin support voxels with texture.


Remake MSTransferor alert subject; increase alert expiration time to 1h

Fixes #10468
Status
ready
Description
Instead of providing ALL the Rucio transfer ID in the email alert subject, provide only the workflow name.
Also removed the new lines \n from the description, they get escaped anyways in AlertManager.
Last but not least, increase their expiration time to 2 days (could be something configurable as well). such that the link from Slack to AM can bring us to real content.
UPDATE: expiration time set to only 1 hour, otherwise AM keeps sending a notification both via email and slack every 2h, until the alert is gone from the system.
Is it backward compatible (if not, which system it affects?)
yes
Related PRs
none
External dependencies / deployment changes
none

I just tested it and now emails come with a subject like:
[FIRING:1] MSTransferor: input data transfer over threshold: amaltaro_ReRecoSkim_HG2105_Val_210503_131254_4340 (ms-transferor high wmcore)

links to the alert in AM are also still alive, with the new expiration time.

Thanks Todor and Erik.
@goughes I will keep the consistency then and change it back.
@vkuznet Valentin, does AlertManager keep retriggering the notifications for existent alerts? As you can see in this PR, I set the expiration time for this alert to 2 days, but I keep getting an email notification - the same one - every ~2h. Same goes to the Slack channel, notification is pushed into #alerts-dmwm every ~2h.
The use case for this type of alert is to warn the team and/or computing operations that there is a very large input data transfer, which people should be aware of and/or review if needed. That's the only reason I increased its expiration time.
At the same time, I don't want to get the same notification multiple times, but I do want to have the ability to see details for this alert.
Would you suggest anything different?

Thanks for your review, Todor and Erik. I have updated this PR to keep the consistency mentioned by Erik. I also decreased the expiration time to avoid getting the same notification over and over. Last but not least, I have just ran another test to make sure everything is sound ;)
Could one of you have another look into it please? Thanks @goughes @todor-ivanov

LGTM, although the commit message and PR title are now misleading since you changed the time.

Thanks Erik! I have updated the PR and the commit message to reflect what's provided in this PR.


smaller fixes / changes

slugify to replace "&" with "and" before cleaning up:
Tips & Tricks will now become Tips and Tricks and not just Tips  Tricks
slugify to replace double-space with single-space after cleaning:
sometimes after replacing a symbol/char between words, text might be like Tips  Tricks as only the symbol is remove, now remove double space in case it happens again (not with & at least)
change to avoid calling _extract_subtitles() / _extract_sources() multiple times

These are not http calls so does it affect some sort of functionality and i don't think so changing & to and is good idea material should be same as it is retrieved. Thanks for the PR any way, i have all these in plan for next version code will be a lot cleaner then it is now.


chore: bump version of puppeteer to latest version

The version of Puppeteer used in this project is deprecated: https://www.npmjs.com/package/puppeteer/v/21.3.6.
This pull request bumps the version of Puppeteer used in this project to the latest version.

@condorheroblog What do you think of this one?

Great and Thanks.
However, there are no new features or bug fixes, so no new versions will be released for this time.

Great and Thanks.
However, there are no new features or bug fixes, so no new versions will be released for this time.

Thanks @condorheroblog.
This change resolves an issue I had that seems to be described in: https://github.com/puppeteer/puppeteer/issues/12094. My workaround for now is to set a resolutions in package.json to force Puppeteer to resolve to version "22.15.0".

Thank you for the information you provided. I have now published a new version - v1.2.0.
Wishing you a pleasant life.✌

Thank you for the information you provided. I have now published a new version - v1.2.0.
Wishing you a pleasant life.✌

Thanks so much. I can confirm that this works great!


Points used as number separators

Long time no see, hope you're doing well Andre!
Here's an interesting example from hkis:
        Traceback (most recent call last):
          File "HOME:/solution.py", line 1
            print(21.900 * 43.800 * 1.051.200)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        SyntaxError: invalid syntax. Perhaps you forgot a comma?

I think the pattern to spot is 1.051.200, I mean where the dot is used multiple times, intended as a separator. A good occasion to remind that underscore can be used instead :)

Closing as it has been now recorded for friendly-traceback (instead of friendly) as it is where the fix will be needed.


Firstly I thought it is cool to use proper type for bytes data and started to refactor my whole project to use std::byte but then I've faced a million compatibility issues with the third party libraries and standard types.
Blocked ctors, reinterpret_cast and memcpy everywhere.
Now I hate std::byte the most, is it possible to add some define to use std::uint8_t or smth similar, please?

Thanks for making me literally laugh about this because I kind of agree, but to be clear - which thing is not working for you with std::uint8_t

The most troublesome thing is initializing std::vectorstd::uint8_t as you can't use begin(), end() and it does not have data() + size ctor (even if it had, you would need to cast). And ofc you often don't want to just copy it, you want to use std::move.
std:;vectorstd::uint8_t is commonly used in 3 party libs, for example cryptopp (VectorSink), there is ArraySink (ptr+size) but in my case cryptopp handles resize itself when pass vector and for ArraySink you have to resize yourself (calc output block size etc).
Initalizing std::string (sometimes needed for legacy code, http libraries like cpr etc) with iterators. You can init with ptr + size but you have to cast ptr for this (if I recall correctly).
So when I use zpp, I have to create new vector + resize + memcpy when I could have just used std::move to target vector\ctor that accepts std::vectorstd::uint8_t

I think I know what you are trying to do but somehow I don't realize what is not working for you and what the issue is.
Suppose this code example - https://godbolt.org/z/exjTz4saK

That is my bad. I somehow missed that you can provide your own data source despite it is clearly demonstrated right in the readme🙃

No worries, glad it is working.
You can also pass a byte type to the various factory functions for example data_in_out<std::uint8_t>()