Game ban in 1h

I know this isn't really a git issue but there also arent many others on here. I'm using a manual map injector & latest osiris public fork. I was game banned in 1h 30 min on a fresh steam account. I think its cause of the injector or because under cs;go play it says From the library of (my banned account)? How do i fix this/what injector do you all use that doesnt get you game banned?

Just make own injector, and dont use public source.
Best answer what you can get.

https://github.com/AMATEURZ1337/load-lib-injector
Use it for osiris

I know this isn't really a git issue but there also arent many others on here. I'm using a manual map injector & latest osiris public fork. I was game banned in 1h 30 min on a fresh steam account. I think its cause of the injector or because under cs;go play it says From the library of (my banned account)? How do i fix this/what injector do you all use that doesnt get you game banned?

Use Sazz Injector. Much safer.

game banned? u prolly played too blatant haha.

I use RandoInjector.
You have to compile it yourself.
Been injecting with it for a week now still no ban, don't go blatant and you should be good.

Your ban is mostly an injector issue! You need to look for another injector. I never get VAC Ban in 1 hrs. My last ban was 2017 on my Linux cheat because I used an username that cause the ban. Actually I hook csgo with a Kernel Module so VAC on Linux is not a case for me. It took 2012 to 2017 to Ban me and since 2017 no Ban on me. 👍  I use only open source and public cheats and don't have VAC Bans... Even if people complain VAC Bans here it mostly not the cheat that caused it.

There is nothing we can do about it.


How to find the rpc log by the api trace id

go-zero has integrated trace id, but the api and rpc trace id is different in once request. Is there any method to find the api called rpc log by the api trace id？

@kevwan My project go-zero version is 1.4.2, see your comment, I create a new demo project by the latest go-zero, and I find the api and rpc trace id is same.
So I compare my own project with the demo, the problem is I have a client interceptor, and use metadata.NewOutgoingContext to set the context, replace metadata.AppendToOutgoingContext then the api and rpc trace id is same.
Thanks.


Add FAQ item on interference

include video demonstrating the effect

We just discussed with @balloob to create a new section "Documentation", and have a "Troubleshooting Connectivity" section in there.


add contemplate function

https://github.com/jtmoulia/elisp-koans/issues/2

Great stuff @matthew-piziak -- thanks for suggesting and working through contemplate. Landed!!
The README also needs to be updated, but that can be done separately by anyone.


Creating memories using phone microphone (Finish feature) ($100)

Is your feature request related to a problem? Please describe.
This feature was started but not finished.
// widgets.dart
getPhoneMicRecordingButton(VoidCallback recordingToggled, RecordState state) {
  if (SharedPreferencesUtil().deviceId.isNotEmpty) return const SizedBox.shrink();
  return Visibility(
    visible: false, // set this to visible: true, when you start testing.

capture/page.dart ~ _recordingToggled
This was attempted using flutter_sound and record libraries, no success.
Describe the solution you'd like
The button should be able to start and stop recording from the device, every 30 seconds the current file/audio bytes, should be processed and _processFileToTranscript should be called.
This is it, this will start displaying the transcripts as if it was coming from the device.
THIS MUST WORK IN THE BACKGROUND.
Android and iOS.

This was attempted using flutter_sound and record libraries, no success.

What issue exactly are you facing? I uncommented your code and commented out _processFileToTranscript(f) call and instead tried playing the recorded audio, and it is playing without any issues

I sort of completed the functionality, and this how the output is. Can you please check if this is the expected output?
https://github.com/BasedHardware/Friend/assets/59914433/51aa40a5-8e74-4938-b267-d779e820867a

Hey @mdmohsin7 if you put the app in the background unfortunately it doesn't work, that's what needs to be fixed.

Hey @mdmohsin7 if you put the app in the background unfortunately it doesn't work, that's what needs to be fixed.

I see. When I uncommented _processFileToTranscript(f) call, deepgram was returning an error starting that the input isn't in a valid format. So something is wrong with the audio file.
I changed implementation to only use record package to record audio and send it to deepgram, and it was working fine without any issues.

Got it working on Android, battery optimisation stuff is there that has to be addressed. Once I finish iOS specific things as well, I'll open a PR
https://github.com/BasedHardware/Friend/assets/59914433/731bca22-526f-4636-9a27-5c57eddade15

Nice, what do you mean by android optimization issues? would the user have to set that up on the settings? @mdmohsin7

Nice, what do you mean by android optimization issues? would the user have to set that up on the settings? @mdmohsin7

Yes! Android doesn't let any app run in the background for long periods to improve battery life. For apps that need to run in the background for extended periods, they must prompt the user to disable battery optimization for that specific app through the settings. The user will have to do this manually in the settings.
We can just use this instead of writing the native code:
https://pub.dev/packages/disable_battery_optimization

Increasing bounty for this task to ($200) as it was much complicated than anticipated.


refactor(env): remove unnecessary clones

What does this PR try to resolve?
This was found during the review of #14701.
Not every environment variable access requires an owned type.
To be precise, most of our usages don't.
How should we test and review this PR?
Refactor only. Should not have any change in behavior.
One drawback is that the fn signatures deviate from std::env::var{_os}.

Thanks! Yea, I think the original intent was to mirror std's API, but I don't think we necessarily need to do that since we aren't under the same OS-level constraints.
@bors r+

:pushpin: Commit ce95009d054b64383fca5ac6fbe011bb6cf51e90 has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit ce95009d054b64383fca5ac6fbe011bb6cf51e90 with merge e75214ea4936d2f2c909a71a1237042cc0e14b07...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing e75214ea4936d2f2c909a71a1237042cc0e14b07 to master...


MINOR: Only require re-join if the metadata snapshot's topics info has changed

Ping @hachikuji for review.

Discussed with @hachikuji offline and we think this issue deserves a better solution, while this PR itself is not perfectly resolving it while introducing other issues. So closing it for now.

LOL, sorry. 😄  Don't remember how landed on this PR, but didn't see you had closed the issue. Excuse me.


Add SLG1 logging

To improve the general troubleshooting experience with proUBC, we can add config and code to capture all error messages to relevant destination in transaction SLG1 - the SAP standard destination for logging application error logs

Defined the ZPRVD message object in SLG0

Creating object ZCL_PRVD_LOGGER. Will call the BAL_LOG_CREATE, BAL_LOG_MSG_ADD, BAL_LOG_MSG_READ and other similar FMSs for standard logging. Class will let us implement any additional custom logs/traces we may consider necessary and dial the log level up or down based on system configs.
Any and all standard issued messages for proUBC should be listed in https://github.com/provideplatform/proUBC/blob/main/src/zclproubcmsg.msag.xml


[FEATURE REQ] Add partitioned cost export models

The ExportProperties within the export API corresponding to https://learn.microsoft.com/en-us/rest/api/cost-management/exports/get?tabs=HTTP currently does not include the partitionedData property. This makes it difficult to determine whether a configured export is partitioned, with the only workaround currently to check whether the fileName within the export execution history is set. It would be great to get this in the cost management SDK.

Related issue: https://github.com/Azure/azure-sdk-for-java/issues/33417

@weidongxu-microsoft could you please take a look at this Cost Management request?

@ejf-ibm
This appear to be a question/request for REST API, not only SDK for Java.
Do you mind I move it to https://github.com/Azure/azure-rest-api-specs repo and assign it to backend?


Correctly handle United Kingdom "May Day" holiday in 2020.

This holiday is normally on the first Monday in May, but in 2020
it's being moved to Friday 8th May in order to mark the 75th
anniversary of VE Day.  This is as published on the following
official government webpages for England and Wales, Scotland, and
Northern Ireland:

https://www.gov.uk/bank-holidays#england-and-wales
https://www.gov.uk/bank-holidays#scotland
https://www.gov.uk/bank-holidays#northern-ireland

However, note that Ireland (which also inherits from the
UnitedKingdom class in a not very politically correct manner)
seems to be following the normal 'first Monday in May' rules in
2020 to the best of my knowledge at time of writing:

https://publicholidays.ie/2020-dates/

Pull Request Test Coverage Report for Build 587

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

Totals

Change from base Build 586:
0.0%

Covered Lines:
6790

Relevant Lines:
6790

💛  - Coveralls

Force pushes above were purely to correct two typos in the commit message...

Good work, thank you very much!
Going to merge it.


Draft: Building OpenSearch 1.1 Distributions.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
Started writing a blog post on the distribution process we've been automating for 1.1.
By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@saratvemulapalli Can you please help me describing the testing process better? I am looking for links to actual test Jenkinsfile jobs, inputs, and examples/locations of outputs (test results).

@saratvemulapalli Can you please help me describing the testing process better? I am looking for links to actual test Jenkinsfile jobs, inputs, and examples/locations of outputs (test results).

Sure, would you like to put it up in the same post or another one?

@saratvemulapalli Can you please help me describing the testing process better? I am looking for links to actual test Jenkinsfile jobs, inputs, and examples/locations of outputs (test results).

Sure, would you like to put it up in the same post or another one?

Post it here, I want to include this in this post.

Just trying to write up a short summary here, let me know if you need more details:

As part of the workflow, the bundle build will kick off test orchestrator.
Jenkins DSL: https://github.com/opensearch-project/opensearch-build/blob/main/bundle-workflow/jenkins_workflow/test/orchestrator/Jenkinsfile
Orchestrator Readme: https://github.com/opensearch-project/opensearch-build/tree/main/bundle-workflow/jenkins_workflow/test#orchestrator
Test Orchestrator invokes individual test jobs in Jenkins. Each of the test job runs a single suite of tests i.e IntegTest, BwcTest, and PerfTest.
The test jobs are unified for IntegTest and BwcTest as they have similar dependencies.
Jenkins DSL: https://github.com/opensearch-project/opensearch-build/blob/main/bundle-workflow/jenkins_workflow/test/testsuite/Jenkinsfile
Test Job Readme: https://github.com/opensearch-project/opensearch-build/blob/main/bundle-workflow/jenkins_workflow/test/README.md#testsuite
Each of the test suites are run via test.sh.
https://github.com/opensearch-project/opensearch-build/blob/main/bundle-workflow/test.sh
All test suites depend on 3 manifests:
a. Bundle manifest (IntegTest, BwcTest, PerfTest)
b. Test manifest (IntegTest, BwcTest)
c. Build manifest (IntegTest, BwcTest)
All tests report results under the relative path of artifact s3 bucket: /builds/bundles/<bundle-version>/<build-id>/<arch>/tests/<test-run-id>/<test-suite>/<component>/<test-component>

Let me know if you need anything else.

@saratvemulapalli So let's say I did this:
git clone https://github.com/opensearch-project/opensearch-build
cd opensearch-build
./bundle-workflow/build.sh manifests/opensearch-1.1.0.yml
./bundle-workflow/assemble.sh manifests/opensearch-1.1.0.yml

How do I run these tests against the build that was just produced locally, without all our infrastructure?

How do I now run these tests against the build that was just produced locally, without all our infrastructure?

Good question. The test workflows cannot do it today.
The tests depend on S3 to pull these manifests and maven artifacts to run them.
Ref: https://github.com/opensearch-project/opensearch-build/tree/main/bundle-workflow#test-the-bundle

How do I now run these tests against the build that was just produced locally, without all our infrastructure?

Good question. The test workflows cannot do it today.
The tests depend on S3 to pull these manifests and maven artifacts to run them.
 Is there an issue on this?

How do I now run these tests against the build that was just produced locally, without all our infrastructure?

Good question. The test workflows cannot do it today.
The tests depend on S3 to pull these manifests and maven artifacts to run them.
 Is there an issue on this?

Agreed, this is something we have deferred as this is needed for developers to run tests on local machines. There is no issue but this should be done, i'll create one.

This is ready @stockholmux.
We could publish this now (preferably), or we could publish it after release. Either way I'll probably update the blog post with final artifacts in both Maven and opensearch.org when those are available, but that's really NBD.

How do I now run these tests against the build that was just produced locally, without all our infrastructure?

Good question. The test workflows cannot do it today.
The tests depend on S3 to pull these manifests and maven artifacts to run them.
 Is there an issue on this?

Agreed, this is something we have deferred as this is needed for developers to run tests on local machines. There is no issue but this should be done, i'll create one. opensearch-project/opensearch-build#629

I deferred writing about tests to a future blog post, we should queue that up.

How do I now run these tests against the build that was just produced locally, without all our infrastructure?

Good question. The test workflows cannot do it today.
The tests depend on S3 to pull these manifests and maven artifacts to run them.
 Is there an issue on this?

The test-workflow depends on the directory layout for artifacts set by build workflow defines, to read below.

Maven artifacts
Built zip dependencies like job-scheduler
Bundles artifacts.

test-workflow is able to generate the download paths using s3 bucket, build_id, architecture. if we want to build and test locally, we might need to modify the inputs to pre-provided paths. These paths could be s3 or local or remote url. Doable but interface seems less cleaner than what it is. The interfacing job between the build workflow and test workflow will have to generate these paths for a build id to invoke test workflow.

How do I now run these tests against the build that was just produced locally, without all our infrastructure?

Good question. The test workflows cannot do it today.
The tests depend on S3 to pull these manifests and maven artifacts to run them.
 Is there an issue on this?

The test-workflow depends on the directory layout for artifacts set by build workflow defines, to read below.

Maven artifacts
Built zip dependencies like job-scheduler
Bundles artifacts.

test-workflow is able to generate the download paths using s3 bucket, build_id, architecture. if we want to build and test locally, we might need to modify the inputs to pre-provided paths. These paths could be s3 or local or remote url. Doable but interface seems less cleaner than what it is. The interfacing job between the build workflow and test workflow will have to generate these paths for a build id to invoke test workflow.

another challenge with running test workflow locally is that the perf-test require vpc peering with rally setup, which is outside of the test setup process. This means we could enable only the integ and bwc test workflows to run locally (for now)

@setiah you should put all these comments into https://github.com/opensearch-project/opensearch-build/issues/629

@setiah you should put all these comments into opensearch-project/opensearch-build#629

ack!


AttributeError: ‘str’ object has no attribute ‘getTagset’

Hi,
When I try to set an object, I took an error like “ AttributeError: ‘str’ object has no attribute ‘getTagset’” . When I search it, I saw SNMP-typed values but I could not use it in my program. Simply my code is:
set(‘IPAdress’,{‘OID’:’value’},hlapi.CommunityData(‘CommunityData’))

I found a solution for that. Actually there is so many answers on the internet but I couldn't understand what to do. The solution is to use SNMP-based variables. For example to set an OctetString you have to write like OctetString("xxx").


add const ref to Prot

@braddr is there something going on with the Win64 box? It almost never runs.

cool

Auto-merge toggled on


Does building without CMake succeed?

Haven't tried it. How it can be done?

./configure && make. CMake version of glog was never really tested using NDK.

./configure && make

I'm pretty sure this one will build host libraries. I guess I need some extra options/environment variables (?)

Probably. Never used glog and NDK myself.

Hi, all, can Android NDK support glog??


Settlement System: Jobs Mechanic

Include the ability to assign jobs to followers who will then carry out the order. Examples:

Keeping the fire going using a nearby Woodpile
Keeping the Woodpile stocked by harvesting wood nearby
Refilling water barrels using a bucket at a nearby stream
Tending and checking nearby traps
Fishing from nearby water body
Hunting nearby game

Player continues to be responsible for setting up campsite and crafting any necessary components.
Provide mechanism of recalling all followers currently performing a job quickly and easily.
Keep system simple by being able to assign exactly one Action and exactly one Destination. Woodpile to Fire, Forest to Woodpile, Stream to Barrel, Traps to Container, etc.
System must continue to adhere to the Campfire "no background scripts" rule and be entirely event-driven. OnUpdateGameTime() loops acceptable.

This is an exploratory idea and may not happen.


Feature request: Hide OK urls

It would be great if there was a feature that allows you to view broken links only, excluding the links that are 200 OK.

duplicate of #133 #230 and maybe other

I am using programmatic API, so no need for this now. Closing.


BUGFIX - AWS Pricing API URL

AWS Pricing API URL does not depend on region.
AWS Price List Service API provides the following two endpoints.
so API URL have to fix as https://pricing.us-east-1.amazonaws.com or https://api.pricing.ap-south-1.amazonaws.com
https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-pelong.html
But Bulk APIs has support in  'us-east-1' only.

Looks good. Merged.
Thanks for the PR!


Fixing local notifications not fired

What
Where/Who

JIRA Issue
E2-1983

People Involved
@milos1290

Notes on PR descriptions
Background
The scheduled local notifications are not fired when the app is killed on Android 8.0+
Implementation
Switching IntentService to JobIntentService which will be started from BroadcastReceiver
Testing steps
Is this change backwards-compatible?

Can you please confirm if you tested on pre and post api 25 emulators or devices as well?

I've tested it on pre Oreo versions and can confirm that it works as intended.


Fix python versions in dev/cloud ci

[ ] Closes #230

The error in #230 is persisting here. Upon closer inspection it seems like it might be an issue with pint-xarray? @TomNicholas do you think that there is something going on upstream at pint-xarray?

Which part of that error message makes you think it is a problem with pint-xarray? It seems to me that the last thing it attempts to install before failing is rasterio.

Oh I might have misread the error log (which is pretty confusing IMO). I based this on line 1022 and the error appearing below.

Seems to be an issue with python 3.10 + rasterio + pip:
mamba create -n test_rasterio python=3.10 pip
mamba activate test_rasterio
pip install rasterio

The same works for python 3.9. Not sure if there is a rasterio issue already - maybe https://github.com/rasterio/rasterio/issues/2310 - it might work when installing rasterio with mamba/ conda.

Side note, cartopy is no longer a hard dependency of regionmask, and could potentially be removed from the upstream-dev packages (but I am of course not sure about the rest of your stack...)
https://github.com/jbusecke/cmip6_preprocessing/blob/7e75a548e24e87f447fbb4a5644bd84f7fc0b01f/ci/environment-upstream-dev.yml#L8

installing rasterio with mamba/ conda.

Thats a good idea. Testing that now.

Side note, cartopy is no longer a hard dependency of regionmask, and could potentially be removed from the upstream-dev packages (but I am of course not sure about the rest of your stack...)

Thanks for that update! I think for now I still need it, but I would be very keen to completely get rid of the masking via https://github.com/nvkelso/natural-earth-vector/issues/697. That way I could simply point users to the 'awesome regionmask package' 😎 and could get rid of some dependencies here!

Some of the code here requires the now deprecated 'extrapolate' padding option in xgcm. I have pinned an older version for now, but will raise a separate issue to discuss how we can integrate the latest xgcm developments.

Seems like the remaining issues are related to https://github.com/pangeo-data/xESMF/issues/170. I guess I have the option to either include sparse+numba in my env files or wait for a new release of xesmf here.

Yep @mathause you were right. Rerunning the test eliminated the error. Thanks for the quick reply!


Add Summary Card component to Gem

What
Adds a new component - Summary Card - to the Gem.
These changes

copy the component code from the Whitehall codebase (here, here and here) to this one
update some class names in line with the Publishing Components standards
refactor the ERB file to use Rails tags
adds a test for the new component

Why
This component already exists on Whitehall (Summary Card) but is required on other apps. To facilitate this we need to move the component from Whitehall to the Publishing Components gem for wider use.
Visual Changes
This should not introduce any visual changes. For reference the component in its default state is shown below.

Thanks David. It looks good to me. I was considering whether the summary card could be an extension of the summary list instead of a standalone component, but I see the code is quite different, and making that change would likely involve breaking changes to the summary list.

Thanks Jon, yes I was thinking about that. In the end I decided to keep it as much the same as possible as the component on Whitehall. Also, as you have said, it felt like it could cause problems that way.

I also thought about the accessibility of the action links, like ‘view,’ but I noticed that’s how they are in the Design System. I assume they get their context from the summary list key.

Yes, I think that should be OK with the visually hidden text so screen readers get "View key one" etc.


BeginCopyAsync is throwing wrong exception when source blob is not found.

Which service(blob, file, queue, table) does this issue concern?
Blob (BlobCopier)
Which version of the Azurite was used?
3.31.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
v20.10.0
What problem was encountered?
The exception thrown when a source blob was not found is "InternalServerError" (500) instead of a "notfound".
Steps to reproduce the issue?
If possible, please provide the debug log using the -d parameter, replacing <pathtodebuglog> with an appropriate path for your OS, or review the instructions for docker containers:
-d "<pathtodebuglog>"

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
Have you found a mitigation/solution?
No

@EmmaZhu
It look related with your code change on copy source permission check.
Would you please help to look?

Hi @johnemmanuelm ,
Could share the code you used to reproduce the issue?
I tried with following code, and Azurite return 404s error as expected:
const sourceBlobClient = containerClient.getBlockBlobClient(sourceBlob);
    const destBlobClient = containerClient.getBlockBlobClient(destBlob);

    const tmr = new Date();
    tmr.setDate(tmr.getDate() + 1);

    const url = await sourceBlobClient.generateSasUrl({
      permissions: BlobSASPermissions.parse('rwd'),
      expiresOn: tmr
    });

    try {
      await destBlobClient.beginCopyFromURL(
        url
      );
    }
    catch (err) {
      err;
    }


fix(sitemap): nuxt rc compability

Since the new Nuxt RC, this.nuxt.routes does not exist anymore... 😿
So we have to init staticroutes from this.extendRoutes(), instead of this.extendBuild(), and to filter routes with : or * patterns

@NicoPennec curious which version of Nuxt the sitemap is incompatible with? I'm trying out the sitemap module with 1.0.0-alpha4 of Nuxt and for some reason the sitemap is generating any routes.

@andreliem since version 1.0.0-rc3
Glad to know you use my module :)

Hi @NicoPennec thanks 👍


Links are out of date in notebook

Ensure we change konduit to konduit-serving ->
https://github.com/KonduitAI/konduit-serving/blob/master/docker/notes/running-python-server.ipynb

@agibsonccc yeah, remember when I asked you if naming the whole thing konduit would work as well? :D

@ShamsUlAzeem I'm working on a little CLI tool right now that let's you automatically send HEAD requests to all links in a project and returns potential error codes. this way we don't have to click on links like chimps.


Block: None

Line 14 appears to be a 'ZSPF' file, a format I have not seen before but looks like a list of effects. Block continues in next packets.
https://github.com/shooking/ZoomPedalFun/issues/1#L14
In packed form
00000000  f0 52 00 6e 60 23 10 07  00 00 00 78 05 00 00 00  |.R.n`#.....x....|
00000010  04 5a 53 50 46 68 00 00  00 00 48 44 49 46 24 00  |.ZSPFh....HDIF$.|
00000020  00 00 00 0c 00 00 00 00  00 00 66 43 05 05 05 01  |..........fC....|
00000030  00 04 00 00 00 00 00 00  00 00 32 00 01 00 0a 00  |..........2.....|
00000040  00 00 00 00 00 00 00 5a  00 49 46 00 60 00 00 00  |.......Z.IF.`...|
00000050  00 02 00 00 00 00 00 00  00 00 01 00 00 00 00 00  |................|
00000060  10 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 02 00 00 00  |................|
000000b0  00 00 00 00 00 50 49 46  00 00 20 00 00 00 01 00  |.....PIF.. .....|
000000c0  00 00 00 00 00 00 00 10  00 00 00 00 00 00 00 00  |................|
000000d0  00 07 00 00 00 00 00 00  00 00 41 50 49 46 38 00  |..........APIF8.|
000000e0  00 00 00 50 44 50 00 10  00 00 00 00 00 01 00 00  |...PDP..........|
000000f0  00 00 00 00 00 42 44 50  00 00 10 00 00 00 01 01  |.....BDP........|
00000100  00 00 00 00 00 00 00 47  00 44 50 00 10 00 00 00  |.......G.DP.....|
00000110  00 00 00 00 00 00 00 00  00 00 5a 44 4c 54 30 0c  |..........ZDLT0.|
00000120  00 00 00 5a 54 59 50 10  00 00 00 00 43 4f 4d 50  |...ZTYP.....COMP|
00000130  00 2e 5a 44 32 00 00 00  04 00 00 27 19 40 5a 54  |..ZD2......'.@ZT|
00000140  00 59 50 10 00 00 00 52  00 41 43 4b 43 4f 4d 50  |.YP....R.ACKCOMP|
00000150  00 2e 5a 44 32 00 27 19  40 40 5a 54 59 50 10 00  |..ZD2.'.@@ZTYP..|
00000160  00 00 00 53 4c 57 41 54  00 4b 2e 5a 44 32 00 00  |...SLWAT.K.ZD2..|
00000170  08 00 27 19 40 5a 54 59  00 50 10 00 00 00 5a 4e<EMAIL_ADDRESS>00000180  00 52 2e 5a 44 32 00 00  01 00 00 00 00 27 19 40  |.R.ZD2.......'.@|
00000190  00 5a 54 59 50 10 00 00  00 00 4d 55 54 45 53 57  |.ZTYP.....MUTESW|
000001a0  00 2e 5a 44 32 00 00 00  10 27 19 40 5a 54 59 50  |..ZD2....'.@ZTYP|
000001b0  00 10 00 00 00 47 52 41  00 59 43 4f 4d 50 2e 5a  |.....GRA.YCOMP.Z|
000001c0  02 44 32 00 27 19 40 5a  00 54 59 50 10 00 00 00<EMAIL_ADDRESS>000001d0  00 4e 5f 47 41 54 45 2e  00 5a 44 32 00 00 00 27  |.N_GATE..ZD2...'|
000001e0  20 19 40 5a 54 59 50 10  00 00 00 00 4f 50 54 43  |<EMAIL_ADDRESS>000001f0  00 4f 4d 50 2e 5a 44 32  04 00 00 27 19 40 5a 54  |.OMP.ZD2...'.@ZT|
00000200  00 59 50 10 00 00 00 42  00 4c 41 43 4b 4f 50 54  |.YP....B.LACKOPT|
00000210  00 2e 5a 44 32 00 27 19  40 40 5a 54 59 50 10 00  |..ZD2.'.@@ZTYP..|
00000220  00 00 00 4c 4d 54 31 31  00 37 36 2e 5a 44 32 00  |...LMT11.76.ZD2.|
00000230  08 00 27 19 40 5a 54 59  00 50 10 00 00 00 41 55<EMAIL_ADDRESS>00000240  00 54 4f 57 41 48 2e 5a  01 44 32 00 00 27 19 40  |.TOWAH.Z.D2..'.@|
00000250  00 5a 54 59 50 10 00 00  00 00 52 45 53 4f 4e 41  |.ZTYP.....RESONA|
00000260  00 4e 43 2e 5a 44 32 00  10 27 19 40 5a 54 59 50  |.NC.ZD2..'.@ZTYP|
00000270  00 10 00 00 00 43 52 59  00 2e 5a 44 32 00 00 00  |.....CRY..ZD2...|
00000280  02 00 00 00 27 19 40 5a  00 54 59 50 10 00 00 00<EMAIL_ADDRESS>00000290  00 53 45 51 46 4c 54 52  00 2e 5a 44 32 00 00 27  |.SEQFLTR..ZD2..'|
000002a0  20 19 40 5a 54 59 50 10  00 00 00 00 47 54 5f 47  |<EMAIL_ADDRESS>000002b0  00 45 51 31 55 2e 5a 44  04 32 00 27 19 40 5a 54  |.EQ1U.ZD.2.'.@ZT|
000002c0  00 59 50 10 00 00 00 47  00 54 47 45 51 37 31 55  |.YP....G.TGEQ71U|
000002d0  00 2e 5a 44 32 00 27 19  40 40 5a 54 59 50 10 00  |..ZD2.'.@@ZTYP..|
000002e0  00 00 00 53 54 47 54 47  00 45 31 55 2e 5a 44 32  |...STGTG.E1U.ZD2|
000002f0  08 00 27 19 40 5a 54 59  00 50 10 00 00 00 50 41<EMAIL_ADDRESS>00000300  00 52 41 45 51 2e 5a 44  01 32 00 00 00 27 19 40  |.RAEQ.ZD.2...'.@|
00000310  00 5a 54 59 50 10 00 00  00 00 52 4e 44 4d 46 4c  |.ZTYP.....RNDMFL|
00000320  00 54 52 2e 5a 44 32 00  10 27 19 40 5a 54 59 50  |.TR.ZD2..'.@ZTYP|
00000330  00 10 00 00 00 4c 4f 57  00 50 41 53 53 46 2e 5a  |.....LOW.PASSF.Z|
00000340  02 44 32 00 27 19 40 5a  00 54 59 50 10 00 00 00<EMAIL_ADDRESS>00000350  00 45 58 43 49 54 45 52  00 2e 5a 44 32 00 00 27  |.EXCITER..ZD2..'|
00000360  20 19 40 5a 54 59 50 10  00 00 00 00 53 54 45 50  |<EMAIL_ADDRESS>00000370  00 2e 5a 44 32 78 0c 2f  1a 00 f7                 |..ZD2x./...|

Line 432 appears to be reading back the FLTS_SEQ file
https://github.com/shooking/ZoomPedalFun/issues/1#L432
In packed form
00000000  f0 52 00 6e 60 04 22 01  00 78 05 00 3e 3e 3e 00  |.R.n`."..x..>>>.|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 42 59 00 50 41 53 53  |.........BY.PASS|
00000030  2e 5a 44 00 32 00 00 00  00 00 00 00 00 00 01 00  |.ZD.2...........|
00000040  00 00 00 00 00 00 00 3c  3c 3c 00 00 00 00 00 00  |.......<<<......|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 3e 3e 3e  00 01 00 00 00 00 00 00  |.....>>>........|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 43 00 4f 4d 50 2e  5a 44 32 00 00 00 00 00  |..C.OMP.ZD2.....|
00000090  00 31 2e 00 34 30 00 01  10 00 00 00 01 00 00 00  |.1..40..........|
000000a0  52 41 43 00 4b 43 4f 4d  50 2e 5a 00 44 32 00 31  |RAC.KCOMP.Z.D2.1|
000000b0  2e 34 30 00 00 01 20 00  00 01 00 00 00 00 53 4c  |.40... .......SL|
000000c0  57 41 54 00 4b 2e 5a 44  32 00 00 00 00 31 2e 35  |WAT.K.ZD2....1.5|
000000d0  30 00 01 00 30 00 00 01  00 00 00 00 5a 4e 52 2e  |0...0.......ZNR.|
000000e0  5a 44 32 00 00 00 00 00  00 00 31 00 2e 35 30 00  |ZD2.......1..50.|
000000f0  01 40 00 00 00 01 00 00  00 4d 55 00 54 45 53 57<EMAIL_ADDRESS>

Line 10 looks like its declaring upload file 'MODEL.ZSP' if you use the zoom-zt2-ui can you download that file???
00000000  f0 52 00 6e 60 20 01 00  00 00 00 00 00 00 00 00  |.R.n` ..........|
00000010  4d 4f 44 45 4c 2e 5a 53  50 00 00 00 00 f7        |MODEL.ZSP.....|
0000001e

Offsets are different again, but you can rebuild the file from the logs.
ChangeToG1Four_line14.py.txt
$ python3 ChangeToG1Four_line14.py
Checksum OK 0x34bc678
Checksum OK 0x4bc733de
Checksum OK 0x26822080
Checksum OK 0x10544a11
Checksum OK 0x12e4a644

$ hexdump -C -v rebuilt_MODEL.ZSP
00000000  5a 53 50 46 e8 00 00 00  48 44 49 46 24 00 00 00  |ZSPF....HDIF$...|
00000010  0c 00 00 00 00 00 66 43  05 05 05 01 04 00 00 00  |......fC........|
00000020  00 00 00 00 32 00 01 00  0a 00 00 00 00 00 00 00  |....2...........|
00000030  5a 49 46 00 60 00 00 00  02 00 00 00 00 00 00 00  |ZIF.`...........|
...

model.zip
Great - the GUI works lovely with GCE.
(some wxWidgets complaints but still works)
I zipped the model.
Do you ever frequent tonelib.net - I am shooking_sybase ... there is a lot more I would like to share but not in public. Could accelerate the process.

So in the model file I see ZIF - I have found a source of such files ... not sure if it is related.
the ZD2's can be used to check requirements of FLST_SEQ.ZDT and built to satisfy the pedal's requirements.
Then patches loaded accordingly.
Basically I have all of the model's for all of the pedals (everyone does if they know how to look).
I suspect the GCE itself needs it's own firmware to boot up the emulator.
Then one loads the models
After that they are supposed to populate the FLST and then the specific references ZD2s
Then "how many patches? What bank size?" - load them up with the "46" format - that seems to be 09 format with a placement.
And you then have an emulation.
The model above is for the B3n.
What's nice is the F0 52 00 6E 44 F7 works even on the B1XFour (and all in that series) - so I will use this to decide how to load patches with your zoomzt - instead of hardcoding range(10, 60) we can derive it along with a modulo factor.
I really need to get more into "construct" - what you do there is magic. My older pull from original zoomzt2 was getting confused because it looked for 5 IDs. Your modified code seems to be decoding G5n, B3n etc patches - awesome. I seem to recall the older pedals also had this "preamable, N FX, volume etc patch name, checksum, end" format.

I should have update here that I captured the mode switch sequence for the GCE-3 and added scripts to change modes - I must make the time to add it to my GUI. The traffic is checked into GIT. Probably under GCE-3 Derived Data.


Add aspectRatio and max properties to CGSize

Checklist

[/] I checked the Contributing Guidelines before creating this request.
[/] New extensions are written in Swift 4.
[/] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[/] I have added tests for new extensions, and they passed.
[/] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[/] All extensions are declared as public.
[/] I have added a changelog entry describing my changes.

          1 Warning

:warning:
Sources/SwifterSwift/CoreGraphics/CGSizeExtensions.swift#L62: use of ‘max’ as reference to global function in module ‘Swift’ will change in future versions of Swift to reference property in struct ‘CGSize’ which comes via a conditional conformance
        let minRatio = max(boundingSize.width / width, boundingSize.height / height)

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
iOS: Executed 536 tests, with 0 failures (0 unexpected) in 10.610 (11.902) seconds

:book:
tvOS: Executed 511 tests, with 0 failures (0 unexpected) in 1.981 (2.451) seconds

:book:
macOS: Executed 378 tests, with 0 failures (0 unexpected) in 0.880 (1.203) seconds

  Generated by :no_entry_sign: Danger


Add pronouns for more than one gender

As a gendered user
So W.I.L.L responds with my appropriate pronoun
I would like to tell W.I.L.L my pronoun on initialization

Hi. The only module (I believe) that has gender pronouns would be the personality module (which at the moment isn't hooked up to the main code either). The greetings are gotten from the file personality.txt https://github.com/ironman5366/W.I.L.L/blob/master/personality.txt. The personality.txt file is more of an example, and I wrote the greetings in it for me. If you'd like to add more, different, or modified greetings to yours, it's as easy as typing them. If you want to add a gender configuration to the personality module, I'll add it but as it's a temporary module that's not connected in any way right now I'd rather not spend time editing it. Sorry.
-Wil

I'm happy to make a PR with some more varied pronouns in the example personality.txt - it would feel more inclusive.

Sure.


Access_Denied when implementing Microsoft Account Login & Issue with Lucene Indexer (Missing Segments file)

Problem 1:
I'm attempting to implement the NuGet gallery as a private repository in our organization.  Since it doesn't have LDAP auth in the current build (from what I saw only as a fork), I decided I would enable MS account login since everybody that would be using it has MSDN / MS accounts.
Having an issue getting it working  however - I'm getting this as a response in the response headers after the MS login page pops up: /nugetgallery/users/account/authenticate/return?ReturnUrl=%2Fnugetgallery%2F&error=access_denied
Yes, I allowed the application to access my account.
Problem 2:
When I try to access the Packages URL on the site, I get this as an error:
no segments* file found in Lucene.Net.Store.SimpleFSDirectory@\App_Data\Lucene lockFactory=Lucene.Net.Store.SingleInstanceLockFactory: files:
This happened when I tried moving to our Test environment.  It worked initially on our Dev environment.  When I copy all of the Lucene files that were generated from our Dev environment, it doesn't error out; but the indexer is wrong of course then, as there are no packages on our Test environment so the results are incorrect.

Any help is appreciated, thanks!

For 1, you may want to double check application settings at MS account. The error you are seeing comes from their end and usually is URL related. Not much we can help from our end I'm afraid.
For 2, clear the Lucene folder. The gallery will regenerate the index (you may want to restart the app pool to make this happen sooner)

It seems to be working initially - previously when I had an incorrect URL, it would just toss back an error mentioning that an error occurred.  Now it will at least prompt for the login and prompt to allow the gallery access to my account (if I haven't already given it access).  After that, it just tosses back the login page with "Your external account credential expired or you did not allow us access to your account. Try logging in again." displayed, but the Network tab of Chrome's debugger tools shows that the request to MS shows an error.  Not sure why this is happening exactly.

Unfortunately there's nothing to even clear out, as there's no files in it at all.  I'll try getting the app pool cleared tomorrow though.

Thanks!

Keep us posted! (closing for now)

The URL is correct according to documentation I've found about adding MS Account auth.  Here's a screenshot of the network hops:

Unfortunately recycling the app pool didn't help; still receiving the "no segments* file found".

Can you make sure the Lucene index folder as write access?
In terms of the MS Account settings, afraid I can't help there immediately as there are quite a few variables at play. Usually entering the full http(s) URL in the MS Account interface, and then configuring the Auth.MicrosoftAccount.ClientId, Auth.MicrosoftAccount.ClientSecret and Auth.MicrosoftAccount.Enabled should do the trick. Can you try entering just the root URL instead of the full path on MS Account side?
VS will not like self-signed certs, but a CA-signed SSL will work.

Had our web team look at the permissions, and they said that it looked like the permissions were the same as our Dev environment (where it had initially worked).  How often does the Lucene index refresh/regenerate?  I tried moving the files on our Dev environment into a temp folder (to "remove" them), and then tried to access the Packages portion on Dev, and it blew up with the same "No segments* file" error.  Does the index not get generated on-the-fly when trying to access it when no Lucene files exist?
Ok, looks like it was an issue on my end with not using the right ClientSecret - just me being dumb :).  Sorry about that!
Looks like the Lucene issue is creeping into the API feed for VS as well, so not sure if that'll get fixed once I solve the Lucene issue or not.  If it doesn't, I will have our web team see if we can get a CA-assigned cert for the site.

Can you try uploading a package? That triggers a rebuild

Just uploaded a couple of packages and no change unfortunately.
I can maybe have them check the event logs on the web server to see if it is indeed a permissions issue or if anymore light gets shed on the problem that way.

Server logs didn't show anymore than what was already being displayed on screen with customErrors off.
Here's the exception:
Exception information:
Exception type: FileNotFoundException
Exception message: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@<app_file_share_path>\App_Data\Lucene lockFactory=Lucene.Net.Store.SingleInstanceLockFactory: files:
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\SegmentInfos.cs:line 736
at Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DirectoryReader.cs:line 117
at Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly) in d:\Lucene.Net\FullRepo\trunk\src\core\Search\IndexSearcher.cs:line 80
at NuGetGallery.LuceneSearchService.SearchCore(SearchFilter searchFilter) in C:\Work\Projects\NuGetGallery\Source\Main\NuGetGallery\src\NuGetGallery\Infrastructure\Lucene\LuceneSearchService.cs:line 60
at NuGetGallery.LuceneSearchService.Search(SearchFilter searchFilter) in C:\Work\Projects\NuGetGallery\Source\Main\NuGetGallery\src\NuGetGallery\Infrastructure\Lucene\LuceneSearchService.cs:line 50
at NuGetGallery.PackagesController.d__19.MoveNext() in C:\Work\Projects\NuGetGallery\Source\Main\NuGetGallery\src\NuGetGallery\Controllers\PackagesController.cs:line 406
Seems to be happening in LuceneSearchService.cs/SearchCore on line 60 when it tries to initialize the IndexSearcher.

So I may have it fixed (?).
Went into the Admin panel while logged into the site, and saw there was a "Lucene Maintenance" section.  Went there and clicked the "Rebuild Now" button, and it generated the necessary files and about 15-20min later it updated the Packages page.  Tested an upload...and it didn't update; waited for a couple of hours.  So I did another Rebuild Now and 20 min later it showed up.  So I went into the PackageController and ApiController and added the call to the "UpdateIndex" from the LuceneService, with a forceUpdate = true argument.
Tested the package upload through both the browser and the API (separately of course), and each time after about 20min it showed up in the Packages page.
So everything seems (?) to be working for now at least. Thanks for the help, appreciate it.


[FR]: Expose V8's CompileFunction (Along with the Rest of v8::ScriptCompiler)

I've been working on porting Node.JS APIs over to PowerShell via ClearScript:

https://www.reddit.com/r/PowerShell/comments/1dpg8i8/turning_powershell_into_nodejs_week_1_progress/

I've noticed that Node.JS uses V8's CompileFunction a lot for the underlying code behind internalBinding(). I also suspect that it is used for the vm.compileFunction().
For now, I think I can just get away with something similar to:
function Invoke-CompileFunction {
  param(
    [Microsoft.ClearScript.V8.V8ScriptEngine] $engine,
    [string] $script_body,
    [string] $script_argnames
  )

  $wrapper = @"
with( null ) { # ScriptCompiler.CompileFunction's 3rd/4th argument populates the `with` keyword
  return function(
$( $script_argnames -join ", " )
  ){
$script_body
  }
}
"@

  return $engine.Compile( $wrapper )
}

Could you guys please expose the V8 compiler or the rest of its functions?

Hi @anonhostpi,
We aren't clear on what this new method would provide over your existing solution. The other ScriptCompiler methods are already covered via ClearScript's Compile and CompileDocument, but V8's CompileFunction simply creates a function, and ClearScript already gives you a number of ways to do that.
Thanks!

Just asking to level the API with node's, since they frequently use it in their source code.
I think the listed workaround should be fine. I just don't know if it suffers any kind of performance impact.
I know that for one, ClearScript's Compile and CompileDocument don't offer the setting of the with keyword. Though, I'm sure that's not a big issue, because neither does node (and I'm pretty sure the with keyword is old and deprecated)

Hi @anonhostpi,

Just asking to level the API with node's, since they frequently use it in their source code.

Wrapping V8's CompileFunction seems unnecessary. Script compilation can be useful, since a compiled script can be re-executed in another context without recompilation, and there's no other way to create such an object. Script functions, on the other hand, are always context-bound in V8, and there are already multiple ways to create them.

I think the listed workaround should be fine. I just don't know if it suffers any kind of performance impact.

It might be slightly worse than a dedicated path to V8's CompileFunction, but since the function is being created presumably for frequent re-execution, that one-time impact should be negligible. The other thing the workaround is missing is support for compilation cache data, but you could get that by using a compiled script to create the function.

I know that for one, ClearScript's Compile and CompileDocument don't offer the setting of the with keyword.

Support for "context extensions" (equivalent to with) applies only to function compilation, and you could add that to the workaround. Consider the following CompileFunction extension method:
public static class V8ScriptEngineExtensions {
    public static ScriptObject CompileFunction(this V8ScriptEngine engine, IEnumerable<string> argNames, string body, params object[] extensions) {
        var create = (ScriptObject)engine.Evaluate(@$"
            (function (...extensions) {{
                with (Object.assign({{}}, ...extensions))
                    return function ({string.Join(", ", argNames)}) {{ {body} }};
            }})
        ");
        return (ScriptObject)create.InvokeAsFunction(extensions);
    }
}

With that in place, you could do something like this:
dynamic greet = engine.CompileFunction(
    [ "audience" ],
    "Console.WriteLine(format, audience);",
    new { Console = typeof(Console).ToHostType(engine), format = "Hello, {0}!" }
);
greet("world");    // prints "Hello, world!"
greet("friends");  // prints "Hello, friends!"

That's just one C# example, but hopefully it gives you an idea.
Good luck!

I was thinking along the same lines.
It does seem that Node does use CompileFunction specifically for context-specific compilation. They do also cache any of their compilations (context-specific or not).
It appears they use it as an optimized substitute for require

It appears they use it as an optimized substitute for require

Oh, interesting! CommonJS modules depend on things like require and exports. The usual way to inject those is to wrap the module code within a function that takes them as arguments. That's what ClearScript does, as it works for both V8 and JScript, but CompileFunction could be a better solution for V8.
The above sample should work as long as V8 supports the deprecated with statement, whereas V8's CompileFunction would presumably continue working after that. Actually, we can modify the above so that it doesn't depend on with:
public static class V8ScriptEngineExtensions {
    public static ScriptObject CompileFunction(this V8ScriptEngine engine, IEnumerable<string> argNames, string body, params object[] extensions) {
        var createContext = (ScriptObject)engine.Evaluate(@"
            (function (...extensions) {
                return Object.assign({}, ...extensions);
            })
        ");
        var context = (IDictionary<string, object>)createContext.InvokeAsFunction(extensions);
        var createFunction = (ScriptObject)engine.Evaluate(@$"
            (function (context) {{
                const {{ {string.Join(", ", context.Keys)} }} = context;
                return function ({string.Join(", ", argNames)}) {{ {body} }};
            }})
        ");
        return (ScriptObject)createFunction.InvokeAsFunction(context);
    }
}

Anyway, please feel free to reopen this issue if you have additional thoughts or questions about this topic. Thank you!


Is it program still under development

Hi, almost a year passed since last release, are you mr. bitbean still here?
2 months ago you wrote that you have a time now...
Sorry for asking but program is so good.
Thanks for all your efforts.

How to Update dnscrypt-proxy to version 2.0.45

Download dnscypt-proxy v2.0.45
For x32 OS:
https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.45/dnscrypt-proxy-win32-2.0.45.zip
For x64 OS:
https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.45/dnscrypt-proxy-win64-2.0.45.zip
Download dnscrypt-resolvers v3
https://github.com/DNSCrypt/dnscrypt-resolvers/archive/refs/heads/master.zip
Extract dnscrypt-proxy-win64-2.0.45, copy the content to your dnscrypt-proxy installation folder, in my case: C:\Program Files\DNSCrypt\dnscrypt-proxy\
Extract and copy the content of folder dnscrypt-resolvers-master\v3 to your dnscrypt-proxy installation folder, in my case:C:\Program Files\DNSCrypt\dnscrypt-proxy

Copy this setting to 'dnscrypt-proxy.toml' (i use cloudflare dns resolver) in your dnscrypt-proxy installation folder, in my case: C:\Program Files\DNSCrypt\dnscrypt-proxy\

server_names = ["cloudflare"]
listen_addresses = ["<IP_ADDRESS>:53", "[::1]:53"]
max_clients = 250
ipv4_servers = true
ipv6_servers = false
disabled_server_names = []
dnscrypt_servers = true
doh_servers = true
require_dnssec = true
require_nolog = true
require_nofilter = true
daemonize = false
force_tcp = false
dnscrypt_ephemeral_keys = false
tls_disable_session_tickets = false
offline_mode = false
timeout = 5000
keepalive = 30
lb_estimator = false
netprobe_timeout = 60
netprobe_address = "<IP_ADDRESS>:53"
log_level = 0
use_syslog = false
cert_refresh_delay = 240
fallback_resolvers = ["<IP_ADDRESS>:53", "<IP_ADDRESS>:53"]
ignore_system_dns = true
log_files_max_size = 10
log_files_max_age = 7
log_files_max_backups = 1
block_ipv6 = true
block_unqualified = true
block_undelegated = true
reject_ttl = 600
forwarding_rules = "C:\\Program Files\\DNSCrypt\\dnscrypt-proxy\\forwarding-rules.txt"
cloaking_rules = "C:\\Program Files\\DNSCrypt\\dnscrypt-proxy\\cloaking-rules.txt"
cache = true
cache_size = 1024
cache_min_ttl = 2400
cache_max_ttl = 86400
cache_neg_min_ttl = 60
cache_neg_max_ttl = 600

[query_log]
format = "ltsv"

[nx_log]
format = "ltsv"

[blacklist]
blacklist_file = "C:\\Program Files\\DNSCrypt\\dnscrypt-proxy\\blacklist.txt"
log_format = "ltsv"

[ip_blacklist]

[anonymized_dns]
skip_incompatible = false

[broken_implementations]
fragments_blocked = ["cisco", "cisco-ipv6", "cisco-familyshield", "cisco-familyshield-ipv6", "quad9-dnscrypt-ip4-filter-alt", "quad9-dnscrypt-ip4-filter-pri", "quad9-dnscrypt-ip4-nofilter-alt", "quad9-dnscrypt-ip4-nofilter-pri", "quad9-dnscrypt-ip6-filter-alt", "quad9-dnscrypt-ip6-filter-pri", "quad9-dnscrypt-ip6-nofilter-alt", "quad9-dnscrypt-ip6-nofilter-pri", "cleanbrowsing-adult", "cleanbrowsing-family-ipv6", "cleanbrowsing-family", "cleanbrowsing-security"]

[sources]

[sources.public-resolvers]
urls = ["https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md"]
minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3"
cache_file = "public-resolvers.md"
refresh_delay = 0
prefix = ""

[sources.relays]
urls = ["https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/relays.md"]
minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3"
cache_file = "relays.md"
refresh_delay = 72
prefix = ""

Launch Simple DNSCrypt, add DNSCrypt Service, and then choose the network cards.
See if it works:

Tried all that and the Icon appears, like its loading but it does not work


Android: check Android build in CI

A new CI workflow should be added to test that BigWheels for Android builds correctly.

If anyone else is already looking at or planning to, please let me know!


CI installs wasmtime 0.3.0 rather than testing current version

CI seems to install a precompiled binary of wasmtime 0.3.0, rather than the current version. Please consider testing against the current version.

Heh needed this when originally developing and forgot to leave a note to go back to dev when whatever I was relying on was fixed!
(not that I remember what it was any more...)


Allocation table mode

Allocation table mode

Closing for now as the UX doesn't look good. Maybe will revise down the road.


SBoM helper code out-of-sync with upstream

Expected Behavior

Fetching go modules before a unit test should succeed.
Current Behavior

Unit Tests fail when getting go modules.
Possible Solution

From the error messages linked above, it seems that packit's implementation of the SBoM generation logic is no longer compatible with its counterpart upstream. The problem seems to originate from this refactor.
Steps to Reproduce

Clone paketo-buildpacks/node-engine repository.
Run go get -u all
Run ./scripts/unit.sh

We have decided not to do this for now because its a big undertaking that no one is necessarily asking for - and we will have to do it again as soon as another release comes out. Instead, we should find a different workaround for resolving the Go updates in buildpacks


Note security considerations in readme

This PR modifies the readme to clarify that the bot does not run commands inside a secure sandbox, and adds a suggestion to use something like docker.
This repo's readme currently says that the bot runs nu commands "in a sandboxed context". This may be understood to mean that it's safe to run this bot without an additional layer of sandboxing around it. However, the bot has commands allowlisted that expose significant amounts of information about the system it's running on, as well as commands whose safety seems fragile to me.
The worst offender is the history command. Using this, discord users on a server with the bot installed are able to read the full command history of the host's nu install (if it's using the plaintext history format), which can contain extremely sensitive information:

As well as probably not being worth the effort because this project is unmaintained, I do not think a stricter default allowlist of nu commands would be an alternative to this PR because (as far as I know) there is no explicit effort by the nushell project to ensure that any of its built-in commands can safely be allowed to be run by untrusted parties, so the risk of a non-obvious "sandbox escape" vulnerability through some set of allowed commands would always be high.

Thanks!


add support for API 13

Please add support for API 13

You mean 8 right? #froyomatters

PRs welcome!

API 2 please... #PetitFourMatters

:crying_cat_face:  awesome...


Providing scopes

How to put a scopes in request? Actually request propert method seems to do not work and Im forced to get token via js app. Is there any other way how to do it?

You already opened #154, please don't create duplicates.


Fix Iterable Index error

Quickest fix in history of DQ
Turns out the error was caused because the indices were a generator not a list.
Added test

Codecov Report

Merging #600 (871b186) into main (4ccf4cb) will decrease coverage by 0.57%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #600      +/-   ##
==========================================
- Coverage   84.76%   84.20%   -0.57%
==========================================
  Files         161      162       +1
  Lines       12711    12759      +48
==========================================
- Hits        10775    10744      -31
- Misses       1936     2015      +79

Impacted Files
Coverage Δ

dataquality/integrations/fastai.py
86.69% <100.00%> (+0.85%)
:arrow_up:

tests/integrations/fastai/test_text_fai.py
100.00% <100.00%> (ø)

... and 8 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


More fine-grained definition of "API"

@pirapira You will soon be tempted to add eight or ten keywords because Ethereum contracts have different execution modes (in init mode / after deployment) (in staticcall / not in staticcall) (in  delegatecall / callcode / call instruction / call transaction) ((read-only / read-write) to (storage / balance)).
@pirapira if 'query' means read-only, in the beginning, 'query storage data' is more appropriate than 'api storage data'.
@pirapira 'api' by default should be read-only, and 'api action' should be able to update the state.  The more dangerous thing should be harder to use.

Maybe hierarchical state machines could be used: The top-level states are fixed and represent the generic lifecycles of a contract, and the specific behavior can be added as sub-states.


One module per controller.

If i have 2 routes , in one controller, it is generate 2 modules for each route (in the store).
for example i have authCntl that have login and logout routes.
i expect that i get one module  that have all auth functions.

I think your proposal could be better. @fazpu, @sangecz, do you see any drawbacks?

The generated ngrx files (actions, effects, reducers) are generated per endpoint and thus, the modules are per endpoint as well.
I believe this is the correct way.
Imagine you don't want to have the ngrx logic for login endpoint in the production-built js files, because you want to handle saving token in effect upon successful login and hence, you need to write your own implementation.
In the current setup, you import only the logout module and you write the login on your own (only using the generated controller and interfaces)
If both login and logout ngrx files were under one module, you would have unnecessary code in your production files.


tosca.nodes.Compute management.

tosca.nodes.Compute will be transformed in a SameServerEntity or BasicApplication depending on the number of children (hosted).

@sjcorbett , does it make sense? WDYT?

Thanks, @kiuby88. Looks good.


fix(curriculum): rework Project Euler 89

Adds second test.
Adds solution.
Defines arrays with tests numerals in background.
Removes external link in favor of expanded description. Per #40749.
Partially related to #40896.
Tested on local fork.

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

I added this solution to the forum guide article


sign-in css looks broken

This has been fixed before, I believe this is a caching issue that will be resolved as soon as the cloudflare cache is refreshed.


Shape Testing to simplify some objects

This would be a complicated feature, but some polygons or circles could be represented as single objects within QET, like a single polygon or ellipse, but in the dxf are represented as multiple splines. It would be nice if instead of the converted element file having a bunch of spline, it corrected these to the proper element types. This would simplify the element and likely improve performance (of QET with the converted element file) but would add significant complexity to dxf2elmt.
In order to do this I need to look at objects as a group and try to determine the shape, as the number of objects in the dxf increase you would get combinatorial growth of the processing needed to check.
I could try and start with an easier route. After I get clean up and get the block importing finalized I could try and do some shape testing for circles made of splines etc, just within each block. This would reduce the number of combinations that need to be processed.

hmm just a random thought, no clue if it will bear fruit. For circles, the any splines that make up the circle I would assume should have close to if not the same degree_of_curve. I might be able to filter on entities with the same degree_of_curve to narrow down splines to test for splines making up circles? Could narrow down some of the entities before doing more complex processing?

Ok maybe not....just looking at a single test file the degree_of_curve was 3 for all splines...and one of the circles, was made up of 5 splines and an LwPolyline....so, that add more complication.

So IF I can determine what group of lines make up a "circle" it looks like I could use the Thinness ratio, to try and determine how close to a circle it is: https://math.stackexchange.com/questions/1336265/explanation-of-the-thinness-ratio-formula. Essentially creating a ratio between the area and perimeter to try and determine if it's a circle. This would work easily if the "circle" was formed by multiple segments of a polyline. If it's multiple separate polylines/splines/etc I would still need to figure out which ones to group etc, to test.


Reflect error-handling changes in cuttlefish

Needed once basho/cuttlefish#180 lands.
I'm not sure what problem @joedevivo was addressing with the assertNotEqual on line 308; changed it to a match on the expected error tuple.

:+1: 5d5a886

@borshop merge


Where to place services with new router?

I'm currently using ui-router and I would like to move to newrouter, but when I'm looking at the examples it seems as services are placed outside the component structure and a component only includes one  template and one controller.
See attached screen shot on how I've structured the app with ui-router.
Please advice/comment on best practice for placing services with newrouter.
Thank you in advanced!

I encountered this myself with a new router project a few weeks ago. My instinct (as I've seen recommended elsewhere) was also to include services with their respective components. My last application was based on the older, out of fashion, approach to project layout that involved separating things by framework function (directives, controllers, services).
Obviously that approach doesn't work well for larger applications, but there is one attractive quality to it: shared services don't seem out of place.
I have found that there are lots of cases where I want to write a service that will be used by multiple controllers on different routes. As such, including the service in the component does indeed seem inappropriate.
The way I am building my application, I have a very strict separation of concerns: controllers are exclusively for moving data between the interface and my services. All of the business logic happens in my services. As such, I've had success with namespacing my services in a separate module (with submodules that group related services as necessary.
As far as directory layout, I keep that services module in it's own directory (as a submodule of my main application module), and then use subdirectories for the functionally related service submodules.
This has worked well for me, but I'd love to hear other ideas. I'd love to see some consensus develop around this like it has in previous Angular iterations.

I think that I am going with encapsulation of controller, template and styling (CSS/SCSS) in own folder. It will be well prepared for the introduction of web components. The services will be placed in a shared folder for all services and later divided to sub-folders, if needed.

Isn't this going somewhat against the Angular Best Practice for App Structure doc?
Or has that become obsolete by now? There is it clearly recommended to treat services and directives as components.

I assume that Angular App Structure guidelines will be updated as Angular is moving towards 2.0. As services can be shared across multiple components, they should be placed in own folder. A component is defined as a script (controller) and a mark-up (template). This is true for both Angular components and Angular directives. I have included styling (CSS) with each component to ensure encapsulation. This is how Web Components are developed. Style consistency is kept by follow a style book.

While that may be true, I'm still struggling to find it coherent on an Angular 1.x context.

I assume that Angular App Structure guidelines will be updated as Angular is moving towards 2.0.

Seems unlikely, given that it hasn't been updated in a long while. Maybe a new standard proposal is on the making.

As services can be shared across multiple components, they should be placed in own folder.

Yes, I agree. Typically within their own module, also. That is covered in the App Structure.

A component is defined as a script (controller) and a mark-up (template). This is true for both Angular components and Angular directives.

But, generally speaking, it is not for services, filters, factories and providers. Also, directives do not need to strictly define a controller. Am I to understand from this that, with this new router, I could conceptually define a route to a directive? Sounds to me like the definition of component has changed from that Google Doc.
With angular/router, what it's called to be a subsection in the doc has now become a component. And what was called a component (basically shared services and directives) should not be inside a components folder anymore. Am I right here?

I have included styling (CSS) with each component to ensure encapsulation.

And, as per the style doc, you should also include all other assets (fonts, images, etc.).

Service is not a component in neither Angular 2.0 nor Web Component definitions. I have folder named services. Service includes services, factories, providers. You shall see component as a widget. I keep images, videos separated from my code.

Yes, I got your point. My angle is that while this may seem logic in an Angular 2.0/Web component world it doesn't quite fit in an Angular 1.x context. Specially if you take into account the aforementioned doc.
I would like to a see an actual app scaffolding using this router.

The attached picture above shows an actual app with ui-router and Angular 1.3. I also built a test app with Angular 1.4 router + Angular Material and another with Angular 1.4 router + Polymer to see what would be best approach moving forward. It is why I raised the question to hear others comment. Now, I have decided to follow the "web-component" approach.

Please reopen this as I'd like to see an official word on it. I'm in the same boat as you: services should be defined outside of components so they can be used by multiple components. However, this is to the detriment of transportability ie. you can't just grab a folder from one project/repository and add it to a project - you will also need to inspect the source to see which services are required and grab those as well.
@btford has there been any discussion on this?

Yes. +1 to that.


Remove test builders from pipelinerunresolution_test.go

/area testing
/kind cleanup
#3178
There's still an opportunity to collapse some of these separate test methods into a single table-driven test, but I didn't think that belonged in this change.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[y] Includes tests (if functionality changed/added)
[n] Includes docs (if user facing)
[y] Commit messages follow commit message best practices
[y] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
NONE

/approve

/lgtm

/test pull-tekton-pipeline-unit-tests

/test pull-tekton-pipeline-unit-tests

@ImJasonH needs a rebase :panda_face:

/lgtm cancel
ping @ImJasonH

This fell pretty far out of sync, I'm going to give up and come back to it later.


Fix typo

Thank you for the PR! Contributors like you keep React awesome!
Please see the Contribution Guide for guidelines:
https://github.com/reactjs/reactjs.org/blob/master/CONTRIBUTING.md
If your PR references an existing issue, please add the issue number below:
#

@Ediiik sorry for the long delay, thanks!


Add instances test

Summary

Add test for methods of nifcloud_instances.go.
Fix to use isAPIError for handling error of computing API

529c42776d3410c588f06cdac794e54e74b3f49d

Review

[ ] CI is successful.

LGTM 🐱


Creating a Custom Environment in Azure ML using my compute-cluster instead of Serverless

I need to know how to create my custom environment forcing it to use my compute-cluster that already has "No public IP" on true.
I have tried create the custom environment by code:
my_env = Environment(name=env_name,
image="mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:latest",
conda_file=path,
description="I'm using azure sdk version 2.0")
my_env = ml_client.environments.create_or_update(my_env)
I have trying forcing it through running the code with a pipeline using
@dsl.pipeline(
compute = my_cluster
)
and didn´t work because the default job name "prepare image" is using the Serverless which in this moment has the parameter ServerlessComputeNoPublicIP=False (by default), my Azure ML is under a networking, then using my compute-cluster i thing won't be problems when creating the custom environment (what do you think?).
I have trying change ServerlessComputeNoPublicIP to True but i got the error:

Another option for my case, is if i have to use serverless as it is to "prepare image" job, how to avoid job download the snapshot (set it in disabled, something like that) into the Storge Account because i have the next error:

There are blocks from virtual networks, etc.
Thanks for your help in advanced!

Hello @eniac871, Do you have any idea/feedback for me? Thanks in advanced!


Error setting password

I am being able to connect into the REALM and add the user but not setting the password.
[HTTP 200] Login successful
[HTTP 200] ricardo.aspira: lookup  successful
[HTTP 201] ricardo.aspira: insert (209f22eb-68c7-4972-b060-ac6e8bd9428d,createdTimestamp) successful
failed04] ricardo.aspira: password set to test

Having the same issue. Any solutions yet?

I found the same problem even when using --test (not importing a CSV at all).
The problem is that grep in Ubuntu 18.04 doesn't support the non-greedy match in the way that line 102 of import-users.sh requires. Example:
$ echo '{"id":"abcd","foo":"bar","bax":"qux"}' | grep -Eo '"id":.*?[^\\]"'
"id":"abcd","foo":"bar","bax":"qux"

# was expecting only: "id":"abcd"

A simple solution is to change line 102 as follows:
-  userid=`echo $result | grep -Eo '"id":.*?[^\\]"' | cut -d':'  -f 2 | sed -e 's/"//g'`
+  userid=`echo $result | grep -Eo '"id":"[^"]*"' | cut -d':'  -f 2 | sed -e 's/"//g'`

This is closer to how lines 52-53 handle it.


Compare memory usage of V3 connector with V1

Memory usage when performing a write should not be substantially greater than the V1 connector.

Document the process to measure performance in the Spark Connector (for any test/example), and provide a baseline for the current V3 connector.


Fixed compile errors on windows

Fixed compile error that seems to be caused by https://github.com/apple/swift-nio/pull/2266/
Motivation:
Fixed compilation errors on Windows.
Modifications:
Fixed typos
Result:
Devs should be able to compile on Windows

@swift-server-bot test this please


Feature/103 table to show needs ive created but left unassigned

Currently this is implemented as another dashboard link in the sidebar

There are designs that display this embedded in a page, but as it is part of a wider dashboard redesign, that seems better left until those are finalized

 Table to show needs I've created but left 'unassigned'


face detector crashes with very small images

An issue that we've identified is that the face detector will crash when passed very small images (i.e., images of width less than 147 pixels), as well as some images that are very tall or very long.  We will fix this in a future release.
If you see a message like the following in the logs, then you're probably hitting this issue:
image_scaler.cc:54] Check failed: scale_factor<2.0f 2.37841<2
In the near term, I've added a "patch" that you can use in your app to avoid this problem.  See the SafeFaceDetector class in the sample code, and its use in the photo demo here.
That is, you just need to wrap your FaceDetector instance with the SafeFaceDetector instance, like this:
Detector<Face> safeDetector = new SafeFaceDetector(faceDetector);

And then you would use safeDetector in place of anywhere you were using faceDetector.
This wouldn't be an issue if you are using the camera, since the camera doesn't generate small images like this.  But it might be an issue if you are handling photos from a variety of sources.

Fixed in Google Play Services 8.4.  It is no longer necessary to use SafeFaceDetector.


Support printing on non utf-8 consoles

detects if encoding is utf-8 otherwise avoid utf-8 symbols.
not find an easy way to identify the encoding of the logging stream, so using sys.stdout as proxy.

Excellent, thank you!


fixes #116

Explicitly generate dimensions for arrays.

It generates 2D array arguments. It should be 1D arrays.
void gemm(float m1[64][64], float m2[64][64], float prod[64][64]) {
  #pragma HLS ARRAY_PARTITION variable=m1 factor=64
  #pragma HLS ARRAY_PARTITION variable=m2 factor=64
  for(int i = 0; i < 64; i++) {

    for(int j = 0; j < 64; j++) {

      float sum = 0.0;
      for(int k = 0; k < 64; k++) {
        #pragma HLS UNROLL factor=64
        float mult = (m1[(i + (64 * k))] * m2[(k + (64 * j))]);
        // combiner:
        sum += mult;
      }
      prod[(i + (64 * j))] = sum;

    }

  }
}
void kernel() {

}

Fixed.

I think I updated the flattened change https://github.com/cucapra/seashell/compare/fix-116...integration-data_extraction
I get following error in docker-compose build
[info]   Compilation completed in 9.0s.
[error] /seashell/src/main/scala/backends/VivadoBackend.scala:57
:14: value includes is not a member of fuselang.Syntax.Prog
[error]       vsep(p.includes.map(emitInclude)) <@>
[error]              ^
[error] /seashell/src/main/scala/backends/VivadoBackend.scala:57
:27: not found: value emitInclude
[error]       vsep(p.includes.map(emitInclude)) <@>
[error]                           ^
[error] /seashell/src/main/scala/backends/VivadoBackend.scala:58
:33: local val layout in method emitProg is never used
[error]       vsep(p.defs.map(emitDef)) <@>
[error]                                 ^
[error] /seashell/src/main/scala/backends/VivadoBackend.scala:55
:16: parameter value p in method emitProg is never used
[error]   def emitProg(p: Prog, c: fuselang.Utils.Config): Strin
g = {
[error]                ^
[error] /seashell/src/main/scala/backends/VivadoBackend.scala:55
:25: parameter value c in method emitProg is never used
[error]   def emitProg(p: Prog, c: fuselang.Utils.Config): Strin
g = {
[error]                         ^
[error] 5 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 16 s, completed Mar 11, 2019 10:24:43 AM
ERROR: Service 'workproc' failed to build: The command '/bin/sh
-c sbt assembly' returned a non-zero code: 1

Try running the command:
sbt “; clean; assembly”
Class files might be in some inconsistent state. Also, make sure this branch is building locally on your computer. Since this branch builds on circle CI, the error points to a local issue.

sbt compile is what's failing. It fails even with clean. As you point out fix-116 works. So does up to commit dde7eaf14470cd56166007f1494fb607dc5d087a on integration-data_extraction.
Merge fails due to line 57 I think vsep(p.includes.map(emitInclude)) <@>.

This: https://github.com/cucapra/seashell/blob/master/src/main/scala/backends/CppLike.scala#L149
Seems like you didn't merge with master and instead just copied the code over.
On a separate note, the script you're working with doesn't belong in this repo. You can simply work on a branch of fuse-benchmarks and use a master checkout of the compiler repo.


AsHashMap wrapper

Created the AsHashMap "with" wrapper, as described in previous PR. I also make serialize_from_iter private again since AsHashMap wrapper can do the job and it might create confusions (this comment)

I think I might have been a little unclear before. The wrapper you created is great! But it's probably not a good fit for the core crate. Would a new rkyv_contrib repo with an rkyv_as_hashmap crate work? I think the repo would be a good place to provide community contributions and share code for specific use cases. I can make one real quick and link it in the main repo's README so that people can find it.

Got it! I'll be happy to submit it to rkyv_contrib about this wrapper!

You can now make a pull request to rkyv_contrib! The rkyv_wrappers crate is premade, but you may have to add dependencies and such.


If the server interface is abnormal, the exception stack information will be serialized to the client.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 3.0.5
Operating System version: linux
Java version: 1.8

Actual Behavior

If an exception occurs in the interface, AsyncRpcResult#newDefaultAsyncResult will encapsulate the exception into an AppResponse object. future.complete(result) will cause the HeaderExchangeHandler to not recognize the future exception, and will give the AppResponse class sequence with the exception stack to the client, and the client will deserialize the exception information. It is because the exception stack class information on the server cannot be loaded, causing the metaspace to grow infinitely.
如果接口出现异常，AsyncRpcResult#newDefaultAsyncResult会把异常封装成AppResponse对象，future.complete(result)导致HeaderExchangeHandler无法识别future异常，会把带有异常堆栈的AppResponse类序列给客户端，客户端反序列化异常信息是因为无法加载服务端的异常堆栈class信息导致metaspace无限增长。

Transmit stack trace to client is by design and is a important message to locate the real problem.
Metaspace is not depended on the stack trace length or the expcetion itself will not effect the metaspace.


chore: test & release of 5.0.0

- What I did
Tested and fixed templates/
- How to verify it
- Description for the changelog
Test & release of 5.0.0

Should be good, all templates running well. Didn't take too long once I understood everything and had the time to work on it.

@Xlin123 would you like to do the honours of publishing to pub.dev?

Can you merge it before I publish :)


[Snyk] Security upgrade node from hydrogen-buster to 21.7.0-bookworm-slim

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to node:21.7.0-bookworm-slim, as this image has only 38 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

614
Memory Leak SNYK-DEBIAN10-IMAGEMAGICK-5850024
No Known Exploit

614
Memory Leak SNYK-DEBIAN10-IMAGEMAGICK-5850024
No Known Exploit

614
Memory Leak SNYK-DEBIAN10-IMAGEMAGICK-5850024
No Known Exploit

614
Memory Leak SNYK-DEBIAN10-IMAGEMAGICK-5850024
No Known Exploit

614
CVE-2024-0985 SNYK-DEBIAN10-POSTGRESQL11-6239518
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Memory Leak

fix high


Refactor AR models to inherit from ApplicationRecord and extract the CommonRelationships concern

Changes

Move common AR methods from ActiveRecord::Base to ApplicationRecord

AR models now inherit from ApplicationRecord

Remove cama_attr_changed? method used to detect Rails 4 - as from Rails 6 just use the ActiveRecord::AttributeMethods::Dirty.saved_change_to_attribute?

DRY a bit the PostType and Site models using conditional callbacks

Refactor the AR class method cama_define_common_relationships into the CommonRelationships AR Concern included only where it is necessary

@texpert I thought this PR was targeting the v3 branch, but I see it was merged into master. Shouldn't this go in version 3, since it affects behavior that was defined on ActiveRecord::Base? Sorry if it's my fault for misreading the PR earlier.


Add type field to TState

Closes #300.
Does this make sense?

The initial type signature is incorrect, { router: RouterState } is the type of the reducer output rather than the type of actions dispatched.
Would you mind correcting it as well as adding type?

Got it. Look better now?

RouterState is not exactly payload. I think payload should be:
interface Action {
    type: string,
    payload?: {
        route: State
        previousRoute: State | null
        transitionError?: any
    }
}

Oh I see. How about now?

Thanks 👍


Bug Report : cannot get an back-slash on AZERTY keyboards

Environment
Windows build number: [10.0.18362.175]
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce
Open the new terminal on a french machine, using AZERTY keyboard
Type Alt Gr + 8 to get the back-slash
Expected behavior
A back-slash should print on the window
Actual behavior
An underscore prints

Same issue on Windows 10 Enterprise build 1903 US (Build 18362.175) + Azerty (French keyboard)

Same issue here.
But it is not only for backslash.
Almost all Alt-Gr combination is broken.
For example, "~" (Alt-Gr 2) and "@" (Alt-Gr 0) give nothing.
Windows 10 Pro, v1903, Build 18362.175.
Keyboard : FRA FR, Azerty

Same Issue here.
The ALT+GR key is not reconized
Win10 Enterprise 1903 (18362.175)

Hungarian keyboard - which uses the Alt+Gr is broken. AltGr +V  (@) pastes V in the cmd, and does nothing in bash and powershell. windows 10 build 18362.175

Same here on german QWERTZ keyboard.

Same on the Swiss German QWERTZ keyboard.

same in french azerty alt-gr + |

Same issue on Windows 10 20H1 insider build 18912.1002. AltGr is simply ignored

Same issue on Dutch Belgian (Period) Azerty keyboard, unfortunately this makes the terminal unusable, backslashes are kind of a big deal :)

same on my swedish keyboard

There are some solutions #521

Duplicate 521


Health check command

Unlike e.g. Kubernetes, ECS does not support HTTP health checks.  Instead it can only perform health checks by executing a command in the container, similar to docker's HEALTHCHECK.
The exporter exposes a simple "liveness" /health endpoint that would be suitable as an ECS health check, but the docker image for this project does not include any command that can make a request to this endpoint and transmute failures to a non-zero exit code, as ECS requires.  So, users that want such a thing need to build their own images with such an executable.
I think normally supporting this kind of thing would be out of scope for a prom exporter, but this exporter is only ever supposed to run in ECS, so it makes sense to cave to its demands.
Should we add a second, separate binary for such a command, or should we add a flag or subcommand to the existing exporter binary so that it can be invoked in this way?

The container image contains busybox, which has a wget command. That should be sufficient for doing health checks.

Cripes you're right, I got my images twisted 🌞.


Integer type is not defined

In a bunch of types integer is specified as the parameter type, while integer is not directly specified in the spec and there are no coercion rules for it.
I've done some testing and in this implementation, coercion behavior varies from function to function, when you pass a floating-point number:

Truncate the fractional part:

datetime
eomonth
left
replace
rept
right
time
toString

TypeError:

fromCodePoint

Other:

deepScan -> looks like name just gets coerced to string instead.
find -> some strange behavior, find("m", "abm", 0.7) returns 2.7.
hasProperty -> looks like name just gets coerced to string instead.
mid -> thought it was truncation, but mid("Fluid Flow", 0.1, 4.9) returns Fluid instead of Flui.
round -> some unpredictable result, ex. round(1.95583, 3.8) returns 1.9557581994970148.
search -> similar to find, search("a?c", "acabc", 1.2) returns 1.2.
substitute -> not sure, what happens; substitute("aaaa", "a", "b", 1.2) returns "aaaa".
toNumber -> ignores value and uses 10 instead
trunc -> similar to round, ex. trunc(8.9122345, 4.1) returns 8.912203927959501.
value -> tries using number as-is, which results in null.
weekday -> returns null.

It would be better, if it was standardized across the board. Imo, converting to Number and then truncating the fractional part seems to be the way to go. TypeError doesn't look ideal for this, as it could cause issues in languages like JS, where numbers are treated as floats.
There are also no type size restrictions on integer either, but I assume it is not an issue, as, practically speaking, most reasonable values will fit [-(2^53 − 1), (2^53 − 1)] and there is little sense in using big integers for this, so it could be left up to implementations.

Valid concerns.  I will look at a fix.

I don't think we can make integer a first-class data type in json-formula, since it's not a JSON data type -- and the usage doesn't occur outside of functions.  I think it's best just to add some discussion in the Data Types section to describe the limited support.

I don't think we can make integer a first-class data type in json-formula, since it's not a JSON data type -- and the usage doesn't occur outside of functions. I think it's best just to add some discussion in the Data Types section to describe the limited support.

Makes sense. I was mostly concerned about inconsistent coercion.

Update spec to say "truncate" instead of "floor"


changing order of arguments

these changes are need to compile the package (I have torch 1.1.0 with cuda 10)

I had to fix the following things:

change at::ones to torch::ones
change argument order in torch::ones
With that I can run the pooling part (did not test the unpooling so far)


Issue when trying to install ggiraphExtra

Using R/3.6
When trying to use tsd_package_install for the package ggiraphExtra I get a "success" message for every package but then R says "there is no package called 'ggiraphExtra'"
here is a screenshot of the terminal:

Hi! Thanks for the issue. I also just discovered this happening with another package I was installing. Catching the failed install along the way is a little tricker than expected. I hope to be able to figure out how to better catch the errors.

I'm also getting the same issue installing "ggstatsplot" - if there's any extra info I can provide to isolate the issue let me know :)

Hi!
Ok, had the time to work a little more on things, but have not had time to test inside TSD yet.
Grab a new source file for the package to install in TSD, and try again. This time, save the output of the install function to an object, and then you will be able to inspect any error logs for failing package. Which should provide some information on why they are failing, and what we might be able to do to make it work.
Some extra information on that in the package site

Ok,
I got the error info now

By the way, the instruction of the github page to get the error log might be wrong - I could only get the log via
status <- tsd_package_install("dplyr.zip") rather than status <- tsd_package_prepare("dplyr.zip")

Ok,
I got the error info now

By the way, the instruction of the github page to get the error log might be wrong - I could only get the log via
status <- tsd_package_install("dplyr.zip") rather than status <- tsd_package_prepare("dplyr.zip")

Hmm, the error here is rather clear: the installation can't find the needed dependencies of ggstatsplot, viz. pairwiseComparisons, statsExpressions, and groupedstats. Once you install them, you shouldn't have any installation issue. IF they persist, fee free to raise issue here: https://github.com/IndrajeetPatil/ggstatsplot/issues

THanks for the feedback on the code  on the webpage. You'd think I would be able to keep two functions apart having made them.
The errors above, atleast two of them I know the answer to.
Both errors regarding "failed to lock directory" can happen when a previous install is aborted mid-install. This lock directories are necessary for temporary install, and if they already exist this error can happen. Manually delete both these lock directories using rm -r.
The other error may happen because of me not having set the install sequence correctly (ie. lme4 install maybe is coming before groupedstats). This will fail the install. I will look into that.

Hi!
After looking a little, it seems like ggstatsplot has a backwards dependency on Rrmpfr, which requires an OS library that is not by default installed on TSD mpfr-devel
https://rmpfr.r-forge.r-project.org/
You will need to ask IT to install this on your machine and submit host.
After this, I believe you should be able to install ggstatsplot from within TSD even without this package.

When it comes to ggiraphExtra, this can be easily installed if you load the correct R module in the terminal.
The foss R modules have extra OS libraries installed, and correctly set gcc so most packages install without alot of issues.
This did unfortunately not work for the  ggstatsplot package, for for ggiraphExtra, this worked for me on TSD:
module load R/4.0.0-foss-2020a
Rscript --verbose -e 'install.packages("ggiraphExtra")'

Hi!
After looking a little, it seems like ggstatsplot has a backwards dependency on Rrmpfr, which requires an OS library that is not by default installed on TSD mpfr-devel
https://rmpfr.r-forge.r-project.org/
You will need to ask IT to install this on your machine and submit host.
After this, I believe you should be able to install ggstatsplot from within TSD even without this package.

Thanks for tracking the source of this down!
Indeed, I need to specify this when I build ggstatsplot on Travis:
https://github.com/IndrajeetPatil/ggstatsplot/blob/e04911ee07329e650b08ee6bd28a40a2c2ea0bec/.travis.yml#L11-L16
I will add a note about this in README installation instructions.


[Ploi] Disable limit or enable pagination on servers/sites page

Extension
https://www.raycast.com/ploi/ploi
Raycast Version
1.75.2
macOS Version
14.5
Description
Currently the display of sites and/or servers must be limited to a certain number and does not allow the complete display of sites and/or servers linked to my account.
Steps To Reproduce
You need a Ploi account with a big amount of sites and/or servers.
Current Behaviour
No response
Expected Behaviour
No response

Hi @corentinbtmps!
I've made a PR #13249 to paginate Servers (not Sites ...yet) but I had to mock the data. Could you check out the updated extension and confirm if Servers are now paginating for you?
Thanks.

@xmok - https://github.com/raycast/extensions/pull/13249#issuecomment-2199651489


HPXConfig.cmake should include TCMALLOC_LIBRARY and TCMALLOC_INCLUDE_DIR

If TCMalloc is installed in a non-standard location i.e. TCMALLOC_LIBRARY and TCMALLOC_INCLUDE_DIR are set in the CMake cache, these variables should be written to HPXConfig.cmake. Not doing that causes find_package(HPX REQUIRED) to fail with the familiar
Could NOT find TCMalloc (missing:  TCMALLOC_LIBRARY TCMALLOC_INCLUDE_DIR)

In particular, this causes the build test (tests/unit/build) to fail.

The following patch works for me:
diff --git a/cmake/templates/HPXConfig.cmake.in b/cmake/templates/HPXConfig.cmake.in
index 9ba4dc3..dbc0060 100644
--- a/cmake/templates/HPXConfig.cmake.in
+++ b/cmake/templates/HPXConfig.cmake.in
@@ -36,6 +36,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} @CXX11_FLAG@")

 set(HPX_BOOST_ROOT @BOOST_ROOT@)
 set(HPX_MALLOC @HPX_MALLOC@)
+set(TCMALLOC_LIBRARY @TCMALLOC_LIBRARY@)
+set(TCMALLOC_INCLUDE_DIR @TCMALLOC_INCLUDE_DIR@)

 if(NOT HPX_CMAKE_LOGLEVEL)
   set(HPX_CMAKE_LOGLEVEL "WARN")

Maybe better make it conditional:
diff --git a/cmake/templates/HPXConfig.cmake.in b/cmake/templates/HPXConfig.cmake.in
index 9ba4dc3..434ccc8 100644
--- a/cmake/templates/HPXConfig.cmake.in
+++ b/cmake/templates/HPXConfig.cmake.in
@@ -36,6 +36,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} @CXX11_FLAG@")

 set(HPX_BOOST_ROOT @BOOST_ROOT@)
 set(HPX_MALLOC @HPX_MALLOC@)
+if("${HPX_MALLOC}" STREQUAL "tcmalloc")
+  set(TCMALLOC_LIBRARY @TCMALLOC_LIBRARY@)
+  set(TCMALLOC_INCLUDE_DIR @TCMALLOC_INCLUDE_DIR@)
+endif()

 if(NOT HPX_CMAKE_LOGLEVEL)
   set(HPX_CMAKE_LOGLEVEL "WARN")

This is not a problem specific to tcmalloc but probably affects all other allocators.

Suppose so. I've only tried tcmalloc...

Thanks for the report! I think the latest changes should take care of the problem at hand.


Get LinkedIn user full profile + Logout from LinkedIn

Really appreciate for your hard work with this great library!
Is there a way to get full profile of logged in user based on token?
I think that can be done easily during completion. Its just a suggestion 👍
Is there a possibility to logout user ?
I have this case:

enter credentials
get user token
get full profile by calling another API
join in app(my app)
logout from my app, and again login with LinkedIn
At this point its automatically fetch token for credentials added first time, and no way to enter other credentials only if I delete the app from device.
I think there should be a logout function just to remove initial data.

Thanks!

Hi @AndreiBoariu! Thanks for your feedback! I've just added the logout functionality. You can check it in new release v 0.1.3.

@AndreiBoariu Should be available. Just uploaded.


[New WTFBin]: iManage Document Protection

Contributor Name: Chris Beckett / @cbecks_2
Application/Executable: iManage Document Protection
WTF Behavior Description: When Office documents are protected by iManage, upon opening them they create script files in %TEMP% with a randomly generated file extension (such as .hta, .sct, .inf, .cpl, .wsf, etc.). This happens because iManage implements the Path.GetRandomFileName Method to handle this behavior. So while most instances result in files that look like x191krbu.idj, sometimes they end up being written like x191krbu.hta which likely will wreak havoc on a good defender's SIEM rules.
Link to Documentation of Behavior: This is undocumented behavior, but was made clear in a support ticket.
Please provide any images for additional evidence.

Added in 7b8513a08b3af867cba59b9321900d02bbdae7ee


Communication across different networks

Does the apple Home Kit supports communicating across different networks.
let say i want to turn off my heater sitting in office which i forget to switch off in home..
How this works??

I have an iPhone 6 using Elgato Eve connected and working on WiFi but can't get it to work outside the network. I have an AppleTV 3 running the latest updated and using the same iCloud account.
I never got prompted to use remotely but if I go to Settings->HomeKit->Home the "Allow Remote Access" is checked. Could it be anything else I am forgetting to do or has this been broken by apple with iOS 9.2?

Apple TV 3 had lots of problems with HomeKit Remote Access due to the old iOS (8.3), if you have 2-Step Authentication enabled for your iCloud account, disable that may help.
If it still won't work, I'd suggest consider getting an ATV 4😅

I checked and I don't have 2-Step Authentication enabled. I do have an older AppleTV 2 connected to my network, I wonder if that may be causing an issue.
I'm using the VeraHomeKitBridge from (https://github.com/Hackworth/VeraHomeKitBridge) to control my home automation system which uses your HAP-NodeJS. I did an npm update on your project so to make sure I had the latest. Another user of this project says he had it working with the AppleTV 3 with no problem and now has it working with the AppleTV 4 after some work.
I'll keep trying to get it to work as I don't really have any other need for an AppleTV 4 at this time. Use Kodi running on several Raspberry Pi 2's right now.


refactor copy logic to build a copy list first

Refactors the copy logic to build a copy list before executing copy between local FS and xet FS, each entry in the list contains src_path, dest_path, and the bytes to copy. This lays the foundation for hint shard batch prefetch and progress bar.

This seems like exactly what https://github.com/xetdata/pyxet/pull/46 does -- we should chat and coordinate efforts here.

This seems like exactly what #46 does -- we should chat and coordinate efforts here.

Partially yes. Since there are a lot of changes after #46 (https://github.com/xetdata/pyxet/pull/71, https://github.com/xetdata/pyxet/pull/50 and https://github.com/xetdata/pyxet/pull/83) it became difficult to rewrite #46 so I separate out the refactoring to this PR and want #46 to concentrate on the batch hint prefetch changes.