Mods

Next round: editing characters!

Turn off the UI for default character icon and creating templates if the editor is not the owner
Character editor uses correct templates/galleries rather than defaulting to current user's
Correct edit/delete permissions
Requires audit comment when editing a character you don't own
Incidentally give Throne's seed user mod permissions while I'm in here

Ah, yeah, I think I'd had multiple checks in here and took one out and
didn't fix it. Ah well.
On Sat, Nov 25, 2017 at 1:06 PM, Edward Jones<EMAIL_ADDRESS>wrote:

@Throne3d commented on this pull request.
In app/views/characters/_editor.haml
https://github.com/Marri/glowfic/pull/587#discussion_r153051150:

@@ -39,6 +41,10 @@
%tr
%th.sub.vtop Description
%td{class: cycle('even', 'odd')}= f.text_area :description, placeholder: 'Description', class: 'text', cols: 35
+- if current_user.id != @character.user_id

unless … ==?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Marri/glowfic/pull/587#pullrequestreview-79008385,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAs60qd61mrCRI1cEBc1YCPXM8Fd5Munks5s6FcPgaJpZM4Qm2g4
.


Persistent filter

It would be very helpful if the user could save a set of filter criteria in their profile, or, at least, if the Control Plane could save it in the session. Currently, I am losing context every time I switch from one view to another. Thanks!
Best regards,
Thomas

@Kumarapandian  - We must do this improvement.  Let's track this closely

This will be taken care through the itrac https://itrac.eur.ad.sag/browse/WCO-2953


Union of Return

The generated sret variable by julia doens't actually have sret marked on the LLVM function, leading to issues.
The sret condition needs to be replaced with something more robust.
cc @vtjnash
using Enzyme
function meta(a, out, cond)
    if cond
        out[] = a
    end
end

out = Ref(0.0)
dout = Ref(1.0)
@show Enzyme.autodiff(meta, Active(2.0), Duplicated(out, dout), true)

Fixed by https://github.com/EnzymeAD/Enzyme.jl/pull/437


enable Multi-Gen LRU in the linux kernel config

Description of changes
This will give us vastly better behavior under memory pressure.
See also https://github.com/NixOS/nixpkgs/issues/196332#issuecomment-1280130181
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

We still have to agree on whether we want this enabled by default or just available (more conservative stance).

cc @kanashimia @alyssais

Well this is interesting.
From what I've read about it, I personally would vote to have it enabled by default.
I can't find any terrible regressions concerning it. :+1:

This is already enabled in the xanmod kernel, considering that this is enabling lru for every kernel >= 6.1 it should be disabled for xanmod   mainVariant and enabled explicity only for ltsvariant

@QuantMint Why? I don't see any problem in having it enabled both here and there. Disabling it for xanmod would just add needless complications.

Well it will become dead code in the future, but doesn't do any harm either. I can add a note there, that it can be removed once the LTS variant reaches version >=6.1?

For reference, these are the states in other distros:
Arch Linux: LRU_GEN=y, LRU_GEN_ENABLED=y (https://github.com/archlinux/svntogit-packages/blob/52d130003058f99d7a4b7144747a93f0444bceac/trunk/config#L1136)
Debian: LRU_GEN=y, LRU_GEN_ENABLED is not set (https://salsa.debian.org/kernel-team/linux/-/blob/c96789d448bb51b5f22793a28eb3bc8f8d7f03ee/debian/config/config#L6798)


Revisit the usage reports implementations for teams - period and date implementation

Continuing the conversation from #1174
I am going to change the TeamsReportDeviceUsageUserCountsCommand implementing the period and date scenario. You can assign this activity to me. I will then continue once #1174 is completed

See discussion in #1174

@plamber, Please let me if you need any help from my side. I have completed the following commands so far


Make step 3 in Introduction doc clearer for MVC users

Q
A

Documentation
yes

Bugfix
no

BC Break
no

New Feature
no

RFC
no

QA
no

Description
This PR is in relation to my issue #111.
Updates the Introduction to give more clarity to step 3 for MVC users.
This is my first PR to this project so apologies if I've made any mistakes.

@froschdesign - Whilst there are further improvements to be made to the docs, I'm about to do a release and it looks to me like this is a sound improvement regardless of other noted flaws, so I'll merge and release. Hope that's OK 🤞
Thanks @brian-n-millar


AFM: Docs for the April release

Diego, Harsha, and Luis, here is the list of doc files that I've revised or deleted.  One file is new.  Click a link to review the corresponding file. The deadline is 3 p.m. PDT this Friday.
Diego, I need you to review to be sure that the docs are accurate in how they describe how AFM works.
Harsha, I need you to review to be sure that the docs make AFM easy to understand for first-time users.
Luis, I need you to review to be sure that descriptions of where to do things in the UI are accurate.
Thanks.
About API Functional Monitoring Revised
Monitoring the Endpoints of Public APIs Revised
Monitoring the Endpoints of Private APIs and Mixes of Both Public and Private APIs Revised
API Functional Monitoring in API Monitoring Revised
  Create a Monitor Revised
  Create a Private Location Deleted
  Add a Schedule Revised
  Modify a Schedule Revised
  Delete a Schedule Revised
  View Your Locations and the Schedules That Use Them Revised
  Delete a Version of a Test Deleted
  Run a Test Immediately
  View the Details of Past Executions of a Test Revised
  Download a Copy of a Monitor, Upload a Test Suite as a Monitor, or Both Consolidation and revision of "Download a Monitor" and "Upload a Monitor"
  Delete a Monitor Revised
  Create a New Test from an Existing One Deleted
  Upload a Monitor Deleted

No longer relevant


Include headers when populating the payloads on reports

Request/Response headers would be useful

Examples of added headers:

Let me know what you think @nickmcdowall


[Build] AssetCompilerApp package should not have non-IL executable in the lib folder

Release Type: GitHub
Version: 4.1
Platform(s): Windows
Describe the bug
The Stride.Core.Assets.CompilerApp is built as an executable which under .NET Core/5 means it has a .NET DLL and a Win32 EXE which serves as a runtime host. Having this native executable in the lib folder makes MSBuild try to load it as a reference for any project that includes a package reference to the CompilerApp. But since it's not a valid assembly we get an error MSB0001: Internal MSBuild Error: Unexpected CopyLocal flag. This has been mitigated for user projects by making them only include build and buildTransitive folders. However, if a project references a dependent of the CompilerApp, such as Stride.Assets.Presentation there is no way to prevent it from trying to load the executable (as it's among libraries that are required).
To Reproduce
Steps to reproduce the behavior:

Create an empty .NET project
Reference Stride.Assets.Presentation or Stride.Core.Assets.CompilerApp
Have VS flip out, or run msbuild to see the internal exception

Expected behavior
There should be a separate folder in the package for the executable, and only DLLs in the lib folder.
Log and callstacks
error MSB4018: The "ResolveAssemblyReference" task failed unexpectedly
error MSB4018: Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: Unexpected CopyLocal flag.
error MSB4018:    at Microsoft.Build.Tasks.CopyLocalStateUtility.IsCopyLocal(CopyLocalState state)
error MSB4018:    at Microsoft.Build.Tasks.ResolveAssemblyReference.LogResults(ReferenceTable dependencyTable, List`1 idealAssemblyRemappings, List`1 idealAssemblyRemappingsIdentities, List`1 generalResolutionExceptions)
error MSB4018:    at Microsoft.Build.Tasks.ResolveAssemblyReference.Execute(FileExists fileExists, DirectoryExists directoryExists, GetDirectories getDirectories, GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata, GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue getRegistrySubKeyDefaultValue,GetLastWriteTime getLastWriteTime, GetAssemblyRuntimeVersion getRuntimeVersion, OpenBaseKey openBaseKey, GetAssemblyPathInGac getAssemblyPathInGac, IsWinMDFile isWinMDFile, ReadMachineTypeFromPEHeader readMachineTypeFromPEHeader)
error MSB4018:    at Microsoft.Build.Tasks.ResolveAssemblyReference.Execute()
error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

Additional context
I got inspired to come to this conclusion by https://github.com/dotnet/sdk/issues/9981 and was able to make the error go away by going into the nuget package folder ~\.nuget\packages\stride.core.assets.compilerapp\<IP_ADDRESS>-beta\lib\net5.0-windows7.0 and changing the extension from exe to exe_.

Interesting bug, thanks for the investigation.
I just did a quick test, and it looks possible to move the launcher part (Stride.NuGetLoader) into the tools subfolder while keeping the rest in the lib folder. So I guess we should just do that.


Document Snowflake user provisioning process

Write up steps to provision users in Snowflake.
In Worksheets tab, must switch role to the right of "Run" button to properly limit scope.
show users; #see all users and their roles
show grants to user "nate"; #see granted roles to a specific user
show grants to role accountadmin; #see permissions granted to a specific role

create user yz MUST_CHANGE_PASSWORD = TRUE PASSWORD = "" default_role = cloud_eng; #create a new user with a password and require the to change the password upon login
grant role cloud_eng to user yz; #note: setting a default_role does not grant the role to the user. Make sure to grant any privileges they need!

Data sources are all organized by Schema, since Snowflake allows only one DB table (Registration).
grant select on all tables in schema registration.javascript to role looker_role;
grant select on future tables in schema registration.javascript to role looker_role;

Done at https://cockroachlabs.atlassian.net/wiki/spaces/PROD/pages/1074921626/Snowflake+User+Provisioning+Permissions


Use SchemaPublishMissingServiceError in schemaPublish mutation by default

All versions of the CLI older than v0.9.1 does not support SchemaPublishMissingServiceError and the resolver of Mutation.schemaPublish detects if a fragment of SchemaPublishMissingServiceError is used in the DocumentNode.
Let's drop this logic in 30d after deploying #139 to prod.

SELECT COUNT(*) as total, client_version FROM operations_new WHERE target = 'xyz' AND timestamp >= subtractDays(now(), 30) AND client_name = 'Hive CLI' GROUP BY client_version

┌─total─┬─client_version─┐
│    32 │ 0.4.6          │
│     6 │ 0.8.1          │
└───────┴────────────────┘

Ok, it's now 0.0008% of the traffic from Hive CLI, time to remove it


new method on getting fps?

i found this new method while i was reading https://api.haxeflixel.com/lime/ui/Window.html

aw shit windows ci build broke

maybe add a vsync option
if it helps also if it corresponds to your link


add test for underestimation

https://github.com/morpho-org/morpho-blue-irm/blob/c2b1732fc332d20a001ca505aea76bd475e95ef1/src/AdaptiveCurveIrm.sol#L135-L136
quantify and test this underestimation

Some tests were added in #80 and some other comparison tests were written by @adhusson on the test/rates-test-2 branch

indeed
for some reasons i missed this PR


Improve types for set state

This resolves issue #656 by making the Part type conditional on whether the state it represents is an array or object.
There was a comment left on the Part type

changing this to "T extends any[] ? ArrayFilterFn : never" results in depth limit errors

I tested this with a depth of 8 arguments/path parts which is the maximum supported by the set state function and didn't run into any errors, but I didn't try a lot of different permutations.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 89.912%

Files with Coverage Reduction
New Missed Lines
%

packages/solid/src/reactive/scheduler.ts
1
89.16%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
1108

Relevant Lines:
1178

💛  - Coveralls

Thanks


[BUG]: As a bank, adding a user to a partner does not work.

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The feature to add users to a partner organization as a bank doesn't work. It seems like it is successful but the User record isn't created. See video here:
https://jam.dev/c/7775c08f-bfbb-4904-ad11-59161057da09
Expected Behavior
An invite is sent to the partner to register
Steps To Reproduce
See video - https://jam.dev/c/7775c08f-bfbb-4904-ad11-59161057da09
Environment
N/A

Criteria for Completion

[ ] The feature continues to work again
[ ] Ideally test is added to make sure to avoid regression in the future.

Anything else?
This was submitted by Judi
Code of Conduct

[X] I've read the Code of Conduct and understand my responsibilities as a member of the Ruby for Good community

@edwinthinks Can I take a look at this?


[release-4.16] OCPBUGS-36450: Can't install operator on 4.15 after uninstalling it on a prior version

Manual Cherry pick of commits from #758
Awaiting verification for OCPBUGS-32439.
/hold

/retest

/jira refresh
/retest

/label cherry-pick-approved
/label qe-approved

/retest

/label backport-risk-assessed

/lgtm

Tests are flaking, we're getting different failures each time :/
/retest

/retest

/approve

/retest


Styling of strength meter

Make it look like the screenshot at
https://blogs.dropbox.com/tech/2012/04/zxcvbn-realistic-password-strength-estimation/
Split it in bars and alter color on score.
Would be great, thanks

There is currently valid and invalid, so you can easily hook into those.  If you want to style based off each score value, you can use the parent attribute data-score attribute.
[data-score="4"] span.passwordField__meter {
   background: orange !important;
}

or pass the style in as an object.

the split bars, you could use gradient if you know the width, or overlay with lines.  Best I can think of there.

tell me, how do you pass the style in as an object?

would be great if I can set the background of the getMeterStyle() on ever score change in a listener.

here some inspiration i worked out the SASS/CSS for the split bars:
  @mixin passwordMeter($score, $colour) {
    background: linear-gradient(
      to right,
      $colour, $colour 90%,
      transparent 90%, transparent 100%
    ) !important;

    width:           #{($score * $barWidth) + $barWidth} !important;
    background-size: $barWidth 24px !important;
  }

  .passwordField__meter {
    @include passwordMeter(0, #FC6F6F);
    margin-right: 0 !important;
  }

  &[data-score="1"] .passwordField__meter {
    @include passwordMeter(1, #FCAF6F);
  }

  &[data-score="2"] .passwordField__meter {
    @include passwordMeter(2, #DCCF73);
  }

  &[data-score="3"] .passwordField__meter {
    @include passwordMeter(3, #CCEF7F);
  }

  &[data-score="4"] .passwordField__meter {
    @include passwordMeter(4, #5CF072);
  }

nice.  looks good... lemme know when there's something public to check out.


Affine Cipher Cryptography using Java

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Given the input to the Affine Cipher algorithm, it produces the coded message for the given input, and vise versa, that is given encrypted message to the Affine Cipher algorithm, it produces the original message.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#486 Affine Substitution Cipher

I have changed according to the suggestions, please review them.

Sorry for being late... I have made changes suggested by @plazzy99, hope this PR will be okay now

You told me to delete the readme file now which file to update??

You told me to delete the readme file now which file to update??

update the existing readme file of java
You can refer to any merged pr for reference

Hey I changed it please review it and tell me...
As I am new at it I tried my best please help me if I am wrong

I guess we can solve it out while cleaning out the Repository. Thanks for the PR @PrasadMulherkar
Merging it!

Thanks😀


Troubles with permissions on windows 10

Codebase: built-in vanilla Drupal or mounted codebase?: mounted codebase
Drupal version: 8
PHP service image with tag: wodby/drupal-php:7.1-2.4.2
Host OS: windows 10
Docker version: 17.06.0-ce-win18 (12627)
Logs output:

H! I have troubles with permissions on windows 10.
If I first time to load a file to image field, then Drupal create folder for it in default/files
But all other times I have the error: The file could not be upload (like this https://github.com/geerlingguy/drupal-vm/issues/99 )
I trying change permissions for files but cannot do it on NTFS system from docker.
The same situation for other commands (chmod -R 777 ./ and chown)
Can you help me?

Have you tried to set 777 permissions on files directory from the host machine? AFAIK Windows 10 has ubuntu shell or something.

Hi,
I have the same problem, I dont't know why I can't set 777 permission in default/ folder
I use:
chmod -R 777 ./
chown www-data:ww-data-R ./
Need help :)
Loïc

I think, Linux permissions impossible if you use Windows and NTFS. I went back to Linux again )

In Windows 10, when I create a volume in my docker-composer, permissions are always root:root. Impossible to change with chmod ou chown...
But, if I create a DockerFile, I copy source to /var/www/html, and I put chown www-data permission, it works, but it's not acceptable...
I want back to Linux, but I cant't for the moment. It would be possible to create a volume without root permission in Windows !
Thks :)

I've been adding my workaround for the same problem : https://github.com/wodby/docker4drupal/issues/29

Oh, I think a find a trouble here.
It's the method is_writable of PHP. is_writable return false, but if i try to write in the same directory, it's done !
Many method of Drupal use is_writable function, and if I comment in file.inc:309
  // The directory exists, so check to see if it is writable.
  $writable = is_writable($directory);
  if (!$writable && ($options & FILE_MODIFY_PERMISSIONS)) {
    return drupal_chmod($directory);
  }

  return $writable;

and I return true instead of $writable, all Done, my upload files are uploaded.

Read this: https://github.com/wodby/docker4drupal/issues/29#issuecomment-316055081

Documented https://wodby.com/stacks/drupal/docs/local/permissions/#windows


New feature: segment categories TEDU-58

One of our contributors has added the ability to add a segment to a category (https://github.com/mautic/mautic/pull/9544) - the documentation might need to be updated for this. Would be great if the team could have a quick look!

Raised in Jira https://mautic.atlassian.net/browse/TEDU-58

Raised in Jira https://mautic.atlassian.net/browse/TEDU-58


homepage responsiveness

The responsiveness of the homepage needs to be fixed. For large devices, it is fine, but for smaller devices, the bootstrap doesn't work out. Some of the components in the homepage needs to be removed while others need to be enlarged to fill up the empty space. This means that the  width of sm and xs should be 12 or hidden depending on which component it is.

Can I work on this ?


Should Routes and Routers be nestable and interchangeable?

If routes and routers both conformed to the same 'Router' protocol, it would be easier to build routers.

Closing... Just a Router and RouterDelegate now.


Automatic get daily arxiv papers about [Segment Anything] or [SAM]

Much work is being proposed on Segment Anything, however we are unable to keep track of them. Perhaps with the help of the arxiv api we can do this. For example:
# Get [SAM] arxiv paper
https://export.arxiv.org/api/query?search_query=all:sam&start=0&max_results=30

# Get [Segment Anything] arxiv paper
https://export.arxiv.org/api/query?search_query=all:segment+anything&start=0&max_results=30

With python you can also automate the task of crawling these papers about segment anything or sam on a daily basis. Automation scripts demo: https://github.com/WangRongsheng/ChatGenTitle/blob/main/get_daily_llm_paper.py
I don't know if these suggestions fit this repo, but I still think it's a great thing.

Great comments. We will adopt it.

Thank you!


Add TMA4120 Matematikk 4K

After talking with you earlier this year i got the impression you'd rather have an unfinished pull request than no pull request at all, so here you have it. This is by no means a finished summary, but a work in progress. It might serve as a start if someone wants to expand/complete the summary at a later time.

Could maybe go in a work in progress/unfinished branch?


Enhancement: Add support for SuperTokens SDK

Summary
I would be nice if LiteStar was supported in the SuperTokens Python SDK, ref discussion https://github.com/orgs/litestar-org/discussions/1490
The SDK already supports Flask, Django and FastAPI and provides a pretty simple way to get started with authentication.
https://supertokens.com
Basic Example
No response
Drawbacks and Impact
No response
Unresolved questions
No response

I think @Goldziher wanted to have discussion on their (SuperTokens) repo and not here?

I think @Goldziher wanted to have an issue on their (SuperTokens) repo and not here?

Yeah, that arena more logical…🙈 ill fix it

I added a draft PR. I'm afraid I'm stuck - https://github.com/supertokens/supertokens-python/issues/310#issuecomment-1509833120


Bundled scripts do not work with --compatibility-mode=base flag

Hi, I have cloned the repo, followed the build and run steps as can be seen in the screenshot below. Everything runs fine without the compatibility flag, but with the flag I get the following error:
ERRO[0000] file:///D:/repos/template-es6/build/app.bundle.js: Line 1:16652 Unexpected reserved word (and 1451 more errors)
I have tried following the docs to re-create a webpack project from scratch and got the same error when running compatibility.
Any ideas?

This seems to be related to the cheerio issue discussed in #3.
If I remove cheerio, everything works as expected:
➜ k6 run build/app.bundle.js --compatibility-mode=base                                                                    1633ms

          /\      |‾‾| /‾‾/   /‾‾/
     /\  /  \     |  |/  /   /  /
    /  \/    \    |     (   /   ‾‾\
   /          \   |  |\  \ |  (‾)  |
  / __________ \  |__| \__\ \_____/ .io

  execution: local
     script: build/app.bundle.js
     output: -

  scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):
           * default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)

INFO[0000] null                                          source=console
INFO[0000] [object Object]                               source=console
INFO[0000] {"items":{"$":{"xmlns":"http://foo.com"},"item":["Foo",{"_":"Bar","$":{"color":"green"}}]}}  source=console

running (00m00.3s), 0/1 VUs, 1 complete and 0 interrupted iterations
default ✓ [======================================] 1 VUs  00m00.2s/10m0s  1/1 iters, 1 per VU

     data_received..................: 7.9 kB 31 kB/s
     data_sent......................: 568 B  2.2 kB/s
     http_req_blocked...............: avg=227.99ms min=227.99ms med=227.99ms max=227.99ms p(90)=227.99ms p(95)=227.99ms
     http_req_connecting............: avg=9.06ms   min=9.06ms   med=9.06ms   max=9.06ms   p(90)=9.06ms   p(95)=9.06ms
     http_req_duration..............: avg=17.62ms  min=17.62ms  med=17.62ms  max=17.62ms  p(90)=17.62ms  p(95)=17.62ms
       { expected_response:true }...: avg=17.62ms  min=17.62ms  med=17.62ms  max=17.62ms  p(90)=17.62ms  p(95)=17.62ms
     http_req_failed................: 0.00%  ✓ 0 ✗ 1
     http_req_receiving.............: avg=153µs    min=153µs    med=153µs    max=153µs    p(90)=153µs    p(95)=153µs
     http_req_sending...............: avg=199µs    min=199µs    med=199µs    max=199µs    p(90)=199µs    p(95)=199µs
     http_req_tls_handshaking.......: avg=217.52ms min=217.52ms med=217.52ms max=217.52ms p(90)=217.52ms p(95)=217.52ms
     http_req_waiting...............: avg=17.27ms  min=17.27ms  med=17.27ms  max=17.27ms  p(90)=17.27ms  p(95)=17.27ms
     http_reqs......................: 1      3.879066/s
     iteration_duration.............: avg=247.86ms min=247.86ms med=247.86ms max=247.86ms p(90)=247.86ms p(95)=247.86ms
     iterations.....................: 1      3.879066/s

If you share my impression, feel free to close this issue and track the other one, otherwise I'll get back to you once #3 is solved.

@simskij Can you please explain the fix? You said something about cheerio, but on my side I was using faker and getting the same issue. I looked over the commit and the only thing that stood out is the engine change?

@simskij Can you please explain the fix? You said something about cheerio, but on my side I was using faker and getting the same issue. I looked over the commit and the only thing that stood out is the engine change?

The big change was in the versions specified in the lock file. There was a mismatch in what packages were used.
I'll have a look at faker. From what I remember there was an issue that required you to import a specific locale.
Did you follow my article on https://dev.to/k6/performance-testing-with-generated-data-using-k6-and-faker-2e ?

Yep, your article is how I got here :) Sounds like the changes you've made are unrelated. Let me double check everything and if I'll report back.

Great, I'll reopen the issue meanwhile.

Here is my fork based on your latest commits with faker added in the most minimal way possible and referencing the locale like in your article:
https://github.com/denious/template-es6
Getting the same error with base compatibility:
ERRO[0000] file:///D:/repos/template-es6/build/app.bundle.js: Line 1:28236 Unexpected reserved word (and 1 more errors)

This should be fixed now. Would you mind confirming and reopening the issue if the problem persists?

Sure! Download it and place it next to the main.js file, and then import it from the unpacked test using for instance
import { randomItem } from "./k6-utils.js";. Run webpack to have it packed into app.bundle.js, then run and profit 👍🏽

Works like a charm! Thanks again!


Yeta Wrench crashing client.

Issue Description:
Yeta Wrench crashing client.
Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. If you are using an unreleased version of Ender IO (e.g. for 1.8.9), please don't open an issue for features that have not been announced as "finished" or "working".
What happens:
Whenever i try put away the Yeta wrench after use it crashes my client. No matter where i put it, as long is i try to put it away, the client will crash.
What you expected to happen:
I expected to put it away because I was done using it.
Steps to reproduce:

Put Yeta wrench in main inventory bar
Use the yeta wrench
Shift item or try to drop/move the yeta wrench out of hand
Immediate crash
...

Affected Versions (Do not use "latest"):

EnderIO: EnderIO-1.10.2-<IP_ADDRESS>_beta
EnderCore: EnderCore-1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.1.10
Forge: 1.10.2-forge1.10.2-<IP_ADDRESS>5

Your most recent log file where the issue was present:
http://pastebin.com/umYMsGN1

Wtf?

you are 5 version behind...

no, I use that "out of date" for stuff that was already fixed and where people just need to update


Migration problems

Hi, I need your support.
Look, in this code snippet I did some kind of trick with Utils, which doesn't work after recent Rendering update (from 0.13.3 to 1.0).
import ReactRouter from "react-router";
import RouteConfig from "../../Configs/RouteConfig";

var router = ReactRouter.create({
    location: ReactRouter.HistoryLocation,
    routes: RouteConfig
});

export default {
    makePath (to, params, query) {
        return router.makePath(to, params, query);
    },

    makeHref (to, params, query) {
        return router.makeHref(to, params, query);
    },

    transitionTo (to, params, query) {
        router.transitionTo(to, params, query);
    },

    replaceWith (to, params, query) {
        router.replaceWith(to, params, query);
    },

    goBack () {
        router.goBack();
    },

    run (render) {
        router.run(render);
    }
};

So the question is how can I do something like this with a new version?
Regards!

@Dodelkin Instead of using router, you will use history. If you want the history instance to automatically add query params for you, you have to enhance it using the useQueries enhancer. As for run - there is no direct equivalent for that. You could try to emulate the previous behavior using match - but I'm currently not sure how well that'd work out.
So your updated code would look like this:
import { useQueries, createHashHistory} from 'history';
import RouteConfig from "../../Configs/RouteConfig";

export const history = useQueries(createHashHistory());

export default {
    makePath (path, query) {
        return history.createPath(path, query);
    },

    makeHref (path, query) {
        return history.createHref(path, query);
    },

    transitionTo (path, query) {
        history.pushState(path, query);
    },

    replaceWith (path, query) {
        history.replaceState(path, query);
    },

    goBack () {
        history.goBack();
    }
};

Notice that you have to export your history instance, because you have to pass it to the Router component. Every time the state in that instance changes, the router will automatically re-render. There is no need for a render callback. If you were using it to fetch data then you will most likely want to emulate the old behavior so you don't have to re-write a lot of things. In that case you might just want to use RoutingContext in combination with match, as illustrated in the server-side rendering guide.
I haven't thought about all the details, but this should help you get started :)

Nice answer! Thank you so much.


Best workflow for calling an API

Hey there,
I'm using failsafe to call an API and do auto-retries on throttle/limit exceptions.
However, i'm using a Executors.newSingleThreadExecutor() in the Failsafe.with(executor).getAsync(this::callTheApi) command.
Now, this is the problem.
When i have, let's say 10 calls, and at call 5 the exception is caught, call 6 gets automatically executed without waiting.

Is it clear what i tried to explain?
Thanks in advance!

Sorry for the delay.

To clarify, you'd like to wait until a call is successful before going ahead with a retry? Once a call is successful a retry wouldn't be needed. If you want to delay between retries, you can do that of course. https://jodah.net/failsafe/javadoc/net/jodah/failsafe/RetryPolicy.html#withDelay-java.time.Duration-

Closing for now. Please reopen if needed for further discussion.


QC: PR pkgdown sites

QC Details
While researching how to build a dev pkgdown site for #1606, I found that {epoxy} has PR pkgdown sites to visually validate that nothing is broken via a PR. The sites are automatically deleted when the PR is merged. We might benefit from implementing roughly the same thing.
Additional Comments
It's only roughly the same, since he doesn't use a dev branch.

Let's skip this for now.


maintainers: add jljox

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@superherointj Please review when you have time. Related to PR review comment https://github.com/NixOS/nixpkgs/pull/355668#issuecomment-2481637337

@superherointj Please review when you have time. Re. PR comment https://github.com/NixOS/nixpkgs/pull/355668#issuecomment-2481637337

see the above comment


Update to support Python 3.5

Coming across this error when installing and using Python 3.5:
Traceback (most recent call last):
  File "so_monitor.py", line 17, in <module>
    print(message.format(**question.__dict__))
  File "/Users/dalanmiller/repos/SO_monitor/lib/python3.5/site-packages/stackexchange/__init__.py", line 543, in __str__
    return str(unicode(self))
NameError: name 'unicode' is not defined

Adding a hack such as:
import builtins
builtins.unicode = str

Results in:
...

    return str(unicode(self))
  File "/Users/dalanmiller/repos/SO_monitor/lib/python3.5/site-packages/stackexchange/__init__.py", line 543, in __str__
    return str(unicode(self))
  File "/Users/dalanmiller/repos/SO_monitor/lib/python3.5/site-packages/stackexchange/__init__.py", line 543, in __str__
    return str(unicode(self))
  File "/Users/dalanmiller/repos/SO_monitor/lib/python3.5/site-packages/stackexchange/__init__.py", line 543, in __str__
    return str(unicode(self))

...

RecursionError: maximum recursion depth exceeded

EDIT:
I see what is actually happening and why it's an infinite loop. Trying to port this portion of the code to be Python 3 compatible.

Fixed with #41


[doc] Fix typo and formatting in CONTRIBUTING.md

Objective
Issue: There is a typo in CONTRIBUTING.md ("then" used in place of "them"). There is also an inconsistency of usage of periods at ends of items in lists, and one section is written with non-breaking spaces without good reason.
Solution
Fix the aforementioned typo and consistency issues.

Whoops, forgot to mention making items of the first list in the document start with an uppercase letter, and removal of one probably insignificant newline.
Usage of newlines seems sporadic in the document in general, but I felt it would make this a bit more annoying of a commit to deal with, and so decided to not do anything with that lol

Oop-
I'd have fixed the above too, but was asleep. Ah well, at least I hope I made somewhat of an improvement lol


core: add mechanism to notify of udev events

Add a general mechanism to pipe udev events into the container, perhaps with a LABEL on the container specifying a subscription.

Done with mounting /var/run/udev


Refactor (iou_assigner): set low quality match as an option

Add an option in iou assigners: match_low_quality.
This option decides whether to allow quality matches. This is usually allowed for RPN and single stage detectors, but not allowed in the second stage.

Missing cascade_rcnn?


Fix Apigee add-ons configuration

When using the apigee module, Terraform keeps planning an update for the add-ons configuration (google_apigee_addons_config.addons_config), because the provider does not expect the add-on's block when it's disabled (add-on can either have a block with enabled = true or its block not present at all).
See discussion here

Checklist

I applicable, I acknowledge that I have:

[ x ] Read the contributing guide
[ x ] Ran terraform fmt on all modified files
[ x ] Regenerated the relevant README.md files using tools/tfdoc.py
[ ] Made sure all relevant tests pass

@mwarm2 can you sign the cl so we can go ahead and merge this?

ignore my previous message, it's already signed. It'll merge once all tests pass


KhanhPham1905 - convert  file properties ->file yml and init docker compose

KhanhPham1905 - convert  file properties ->file yml and init docker compose

successfully


Sublime plugin inconsistent readme and platform support

I stumbled about a platform inconsistency with the current sublime plugin.
In 2015 @ckesc introduced the sst command which sudos sublime (commit 5b90092). Readme was later updated to reflect this change (commit c28b226).
This is misleading now. Having a look at the plugin source sst is only available for Linux, no alias were introduced for macOS and cygwin. The latter may not provide sudo but macOS indeed does.

#7715 will fix this.

@mcornella Thanks for taking care of!


Added missing "fall through" comments

Fixed tengine build fails when using gcc7 compiler.
https://trac.nginx.org/nginx/ticket/1259

ack


New Client Metrics Available

Google seem to have exposed a new set of client metrics which could be captured and reported as part of the client performance testing with XLT.
https://github.com/GoogleChrome/web-vitals/

Here is a project to derive the API access from: https://github.com/GoogleChrome/web-vitals-extension

Add at least LCP, evaluate INP.
For more see also https://github.com/GoogleChrome/web-vitals#oninp


Attempting to use uninitialized value Variable

Hi all,
I had Import a graph with go:
			bmodel := res.GetBytes(0)

			graph := tf.NewGraph()
			if err := graph.Import(bmodel, ""); err != nil {
				log.Error(err)
				continue
			}

			sess, err := tf.NewSession(graph, nil)
			if err != nil {
				log.Error(err)
				continue
			}

			p.model = &tf.SavedModel{
				Graph:   graph,
				Session: sess,
			}

use the model:
	output := tf.Output{
		Op:    p.model.Graph.Operation("input"),
		Index: 0,
	}
	target, err := tf.NewTensor([][]float32{})

	if err != nil {
		log.Error(err)
		return "accept", err
	}

	tensor, err := tf.NewTensor([][]float32{preData})
	if err != nil {
		log.Error(err)
		return "accept", err
	}

	feeds := map[tf.Output]*tf.Tensor{
		output: tensor,
		p.model.Graph.Operation("target").Output(0): target,
	}

	fetches := []tf.Output{
		{
			Op:    p.model.Graph.Operation("infer"),
			Index: 0,
		},
	}

	result, err := p.model.Session.Run(
		feeds,
		fetches,
		nil,
	)

but get error:
2018-07-10 14:36:41 ERROR (shield-ai-engine/predict.go:188):20187 Attempting to use uninitialized value Variable_3
	 [[Node: Variable_3/read = Identity[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](Variable_3)]]

It haven't init in NewSession? how to initialize variable?
env:
OS: mac 10.11.6
python version: python2.7
tensorflow install base on https://www.tensorflow.org/install/install_go
tensorflow-go version: v1.9.0-rc2
go version: go1.9.2 darwin/amd64

save model with python:
        builder = tf.saved_model.builder.SavedModelBuilder('shield')
        builder.add_meta_graph_and_variables(self.sess, ['login3'])
        builder.save()

here has all code:
https://github.com/tensorflow/tensorflow/issues/20511

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Invalid GitHub App configuration on default template app

Bug Report
Current Behavior
I created a new app using the basic-ts template and executed npm start.
Then, when I go to http://localhost:3000 and try to register a new app, I get an error: "Invalid GitHub App configuration"

Terminal output:
> probot run ./lib/index.js

Unable to connect to smee.io, try restarting your server.
INFO (probot):
INFO (probot): Welcome to Probot!
INFO (probot): Probot is in setup mode, webhooks cannot be received and
INFO (probot): custom routes will not work until APP_ID and PRIVATE_KEY
INFO (probot): are configured in .env.
INFO (probot): Please follow the instructions at http://localhost:3000 to configure .env.
INFO (probot): Once you are done, restart the server.
INFO (probot):
INFO (server): Running Probot v12.3.0 (Node.js: v18.15.0)
INFO (server): Listening on http://localhost:3000
INFO (http): GET / 302 - 4ms
INFO (http): GET / 302 - 5ms
INFO (http): GET /probot 304 - 17ms
INFO (http): GET /probot 304 - 18ms
INFO (http): GET /primer.css 304 - 2ms
INFO (http): GET /robot.svg 304 - 2ms

Expected behavior/code
A clear and concise description of what you expected to happen (or code).
Environment

Probot version(s):  v12.3.0
Node/npm version: Node 18.15.0  npx 9.5.0
OS:  Windows 11

You can get work around this by creating an app and then importing it - I had the same problem.

Do we still support heroku?


Adding basic health check

Codecov Report

Merging #50 into master will decrease coverage by 4.56%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
- Coverage      85%   80.43%   -4.57%
==========================================
  Files           1        1
  Lines          40       46       +6
==========================================
+ Hits           34       37       +3
- Misses          6        9       +3

Flag
Coverage Δ

#Controller
80.43% <50%> (-4.57%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/Controller/Controller.swift
80.43% <50%> (-4.57%)
:arrow_down:

Continue to review full report at Codecov.

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


The AdMob at the top is not displayed in the correct position.

It will be displayed in the correct position when we display AdMob at the bottom. However, when we display AdMob to the top, that position is incorrect. We just set AnchorType.top to show() anchorType. What did we make a mistake? What should we do?

import 'package:firebase_admob/firebase_admob.dart';
import 'package:flutter/material.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Title',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: new MainPage(),
    );
  }
}

class MainPage extends StatefulWidget {
  MainPageState createState() => MainPageState();
}

class MainPageState extends State<MainPage> {
  BannerAd _bannerAd;

  @override
  Widget build(BuildContext context) {
    FirebaseAdMob.instance.initialize(appId: FirebaseAdMob.testAppId);
    if (_bannerAd == null) {
      _bannerAd = createBannerAd();
    }
    _bannerAd
      ..load()
      ..show(anchorType: AnchorType.top);
    return Container();
  }

  BannerAd createBannerAd() {
    return new BannerAd(
      adUnitId: BannerAd.testAdUnitId,
      size: AdSize.banner,
      targetingInfo: MobileAdTargetingInfo(
        testDevices: <String>[],
        keywords: <String>[],
        birthday: new DateTime.now(),
        gender: MobileAdGender.female,
      ),
      listener: (MobileAdEvent event) {
        print("BannerAd event $event");
      },
    );
  }
}

$ flutter doctor -v
[✓] Flutter (Channel dev, v0.7.5, on Mac OS X 10.13.6 17G65, locale ja)
    • Flutter version 0.7.5 at /Applications/flutter
    • Framework revision eab5cd9853 (10 days ago), 2018-08-30 14:47:04 -0700
    • Engine revision dc7b5eb89d
    • Dart version 2.1.0-dev.3.0.flutter-760a9690c2

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/xxxxx/src/android-sdks
    • Android NDK at /Users/xxxxx/src/android-sdks/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/xxxxx/src/android-sdks
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.25.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.18.0

[✓] Connected devices (1 available)
    • iPhone 6 Plus • 60e0f8bcceec5dcf9fe990b894577912cfb12b26 • ios • iOS 11.4.1

• No issues found!

@ganessaa
The issue at https://github.com/flutter/flutter/issues/21634 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @ganessaa
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


Bump django to 4.2.14

Fixes https://github.com/inventree/InvenTree/security/dependabot/116 and 11 other alerts

@matmair thanks for your attention on this

@matmair looks like the auto-backport to 0.15.x did not work - did you want to submit a patch for that branch?

can do!


Make it into a plugin

Make it into a plugin so its easier to use

Did not create any, but found this: http://patrickwalters.net/making-out-first-plugin/

@patrek thx, Ill have a look at that after I have fixed the bugs found

Did some tests here:
https://github.com/vegarringdal/test
loading css global resources is failing
Added issue here:
https://github.com/aurelia/skeleton-plugin/issues/26

work in progress, closing this for now


Terminfo

Read keys defined as terminal capabilities from terminfo
A first step towards making pick truly portable. Defining a key using
the new CAP() macro will read the corresponding value for the given
capability using tigetstr(), the result will be stored in the keys
structure in order to only invoke tigetstr() once per capability.
@DBOTW could you verify that this PR works as intended on your machine?

Tested and works flawlessly, so other KEY() macros could be replaced with CAP() too ...

@DBOTW great! I would like to do a release before we migrate the rest of
the keys just make any regression easier to bisect. Feel free to open a
new PR with your KEY -> CAP changes.
/cc @calleerlandsson

Great feedback! The length is now cached.


bug: selector needs to change all id keys to _id keys

In order for the selector queries to work properly, we need to replace all of the id keys to _id keys

https://tinyurl.com/ydo28zxh


About rendering on a Windows system

Hi dear authors,
I would like to start by saying thank you for your amazing work.
I tried rendering in my Windows system the way you wrote it, but it didn't work.
I can not Install those packages in the python environnement of blender.
like "defaulting to user installation because normal site-packages is not writeable"

Hi , Thank you for your great contribution in this field. I have "No module named 'omegaconf' when i run render.py , however, the 'omegaconf' is in my environment . Can you help me ? "

Hello, I have also encountered this problem. Have you resolved it?

Hello all,
Sorry for the delay, I don't have a Windows machine so I cannot reproduce the error myself. Did anyone succeed at the end?

@fyyakaxyy @HappyPiepie
hello, i have solved this problem in the following instruction: if you install package without a specific address such as:
/path/to/blender/python -m pip install --user numpy --target=.\lib\site-packages
this package will be installed default in the C:\Users\<username>\AppData\Roaming\Pythonxx\site-packages.
so in the begin of script, adding
sys.path.insert(0, C:\Users\<username>\AppData\Roaming\Pythonxx\site-packages)
can solve it.

@TLDX-XIONG Can you expand a little bit on what you mean by "add to the beginning of the script". What script are you refering to? If you can clarify a little on what you mean exactly, that would be very helpful.


review result

The changes  done by you are correct,so shall I do the "Merge pull request".

Yes, pls merge it if it looks good to you.

Merged the changes done by @yinxusen


subtyping in the PER model

#121

I think this PR is already ready.

why CI doesn't start? how do I kick it off manually?


PADV-1927 feat: add page size param to services

Ticket
https://agile-jira.pearson.com/browse/PADV-1927
Description
add page size param to services
Changes made
Add page size param to services, to get max 200 records
Add spinner loaders where is missing
Update test
How to test
Clone the Institution Portal MFE
Run npm install.
Run npm run start
Go to http://localhost:1980/institution-portal

This change won't be added to events?

Same as instructors portal, we don't need pages in this component and we already implement a function to call all pages, so we don't change to avoid performance issues


Bump to v0.0.3

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3642c7c) 97.82% compared to head (b6d1554) 97.82%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   97.82%   97.82%
=======================================
  Files          10       10
  Lines         184      184
=======================================
  Hits          180      180
  Misses          4        4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add the plugin registry to the docker compose file

The following PR needs to be merged first:

https://github.com/UST-QuAntiL/qhana-ui/pull/27

Superseded by https://github.com/UST-QuAntiL/qhana-plugin-runner/pull/64


Default value for "floor" BLEU smoothing

The default value for floor smoothing of counts for BLEU is 0.0:
https://github.com/mjpost/sacrebleu/blob/master/sacrebleu/metrics/bleu.py#L70
I think this means that if "floor" is used as the smoothing method and the value is not specified as an argument, then what happens here:
https://github.com/mjpost/sacrebleu/blob/master/sacrebleu/metrics/bleu.py#L190
is that the precision for a particular ngram order is still 0.0 after smoothing.
Users of the compat API are currently getting those defaults for sentence BLEU:
https://github.com/mjpost/sacrebleu/blob/master/sacrebleu/compat.py#L58
Wouldn't a small epsilon value (as in the original paper: http://aclweb.org/anthology/W14-3346) be a more reasonable default?
Thanks
Mathias

Hi @bricksdont
This is part of an issue (#98) which remained unsolved. Since it has more content than this issue on the subject, I think it would be good if you add your comments there and we follow from there.
Thanks!

Hi @bricksdont
This is part of an issue (#98) which remained unsolved. Since it has more content than this issue on the subject, I think it would be good if you add your comments there and we follow from there.
Thanks!


Added Crypto Info API

🎯 Title and Issue Number
Crypto Info API

Closes #91

🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x]  I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have followed proper file structure.
[x] I have gone through CONTRIBUTING GUIDELINES.md.

Thank you for contributing!❤
Don't forget to show some love by ⭐ the repository!

Hey @rahulkarda, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

Hey @rahulkarda, PR is not proper. As it has submodule so I cannot merge it and it indicates that it is coming from some other repo.
So closing this PR.

@rahulkarda ,I wanted to reach out and let you know that we have decided to close your pull request.🙇
In case of any issues, you can contact us on Discord.
Thank you! ❣
Happy Coding! ✨
Will See you soon❣

Hey @rahulkarda, PR is not proper. As it has submodule so I cannot merge it and it indicates that it is coming from some other repo. So closing this PR.

what do you mean by submodules coming from another repo? It's my own repo only.


⚠ SceneTime has degraded performance

In b7790f8, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1311 ms

Resolved: SceneTime performance has improved in a4aebc3 after 11 minutes.


Add VPR submodule

This PR integrates VPR flow with Yosys to create a full open-source FPGA flow. A Verilog library has been added to Yosys in order to support hard blocks defined in a typical VPR architecture file.

Looks great! I think this is ready to merge once the comments from our code review are addressed.
I'm still not sure if 'utils.py' is the best place for the XML-parsing 'Arch', etc classes. But if nobody has alternative suggestions, it should be a reasonable place to put them for now.

Have you looked at the F4PGA flow (previously called SymbiFlow) which supports using Yosys+VPR to target Xilinx 7 series parts? See https://f4pga-examples.readthedocs.io/en/latest/

Have you looked at the F4PGA flow (previously called SymbiFlow) which supports using Yosys+VPR to target Xilinx 7 series parts? See https://f4pga-examples.readthedocs.io/en/latest/

Yes, I am familiar with F4FPGA.

This looks great! Please add a simple pytest as well (I recommend the heartbeat example) so that we can add this to the CI.

Excited to see Silicon Compiler getting support for VPR! Can't wait to see you being able to compile RTL to bitstream for Xilinx and QuickLogic FPGAs.
There might be some potentially useful info in the pull requests at https://github.com/verilog-to-routing/vtr-verilog-to-routing/pull/2068 and https://github.com/olofk/edalize/pull/322
There is a weekly meeting for Verilog to Routing developers on Thursday mornings (US/Pacific) that I can add you too if you are interested.

There is a weekly meeting for Verilog to Routing developers on Thursday mornings (US/Pacific) that I can add you too if you are interested.

@mithro I don't think I would add a lot to the meeting, but it would be fantistic if Peter Grossmann from Zero ASIC could join the call. (email is<EMAIL_ADDRESS>

Happy to participate in VTR developer meetings.

@petergrossmann21 - You should have an invite now!
Feel free to ask people to test your VPR integration with Silicon Compiler on the #F4PGA channel on the CHIPS Alliance slack.


different default months when ≥ 1 window

when user selects 2 window let's make the default months different than those in window 1. Can have 2 windows that broadly make sense for Ethiopia for demoing

added month initialization parameter to module so we can set the initial pub_mo/valid_mo how we want for different windows


Link Zemismart Curtain with HA

As a developer, I will need to experiment with HA Scripts to see if the curtains open with the remote (mobile) and make routines.

[x] I will know this issue is complete when I can see my curtains within my local HA


Lookup driving side automatically

Not sure if this is an OSM data issue but, this ain't right:

You need to use Settings to change driving side to left. #73 is in progress to figure this out automatically

Also: I need to update OSM to say sidewalk=no

I've never gotten the Overpass query for country to work. What if we do something... more brute-force? Per https://en.wikipedia.org/wiki/Left-_and_right-hand_traffic, only 54 countries use left-handed driving. "admin 0 countries" from http://geojson.xyz/ is only about 600KB. Once stripping out 140 right-handed countries, removing all the properties, and maybe further simplifying the geometry, I bet we can get this file pretty small and quick to load. Would it be so crazy to just do a point-in-polygon check?

This isn't a crazy idea at all. https://github.com/westnordost/countryboundaries#speed is doing it already, reporting fantastic performance. Maybe the equivalent for us is to build a quadtree once and serialize it too, if that helps

https://github.com/a-b-street/osm2lanes/issues/103 is related.
https://github.com/streetcomplete/countrymetadata/blob/master/data/isLeftHandTraffic.yml
https://crates.io/crates/reverse_geocoder
I'm thinking:

a small standalone Rust crate to do the query
a quick python script to filter that geojson file using the YAML list

We might also be able to get rid of the double dependency in osm2lanes of celes and locale-codes

That would be another co-benefit :tada: watching this one with interest

In terms of the actual issue, realise I wasn't clear in the original post. The issue is with the sidewalks being on the inside. Reproducible example: https://a-b-street.github.io/osm2streets/#19.5/53.81977/-1.54114

Another issue with that view, this important shared use footway is not imported by osm2streets it seems: https://www.openstreetmap.org/way/1087921367#map=18/53.81506/-1.53894
Important one because the only way to go North up Scott Hall Road from Buslingthorpe Lane without mixing with fast moving traffic. Worthy of a new issue? Will open one if so.

Ah hmm, both of those are bugs. I'd like to keep this issue for autodetection of driving side, so do please open new issues if you don't mind. Thanks!

We now have automatic driving side lookup plumbed through everywhere! And the original issue with sidewalks on the inside is fixed on the deployed site:

I'm still pretty sure the original problem was leaving the default right-handed driving, so the inferred sidewalks were put on the incorrect side

Amazing work, thanks for making adjustments for 'do everything different' Brits!


Fix: Allow custom arrow and applyStyle modifiers

Please refer to the next bug to find some more information about these changes.
https://github.com/FezVrasta/react-popper/issues/305

I think this has been fixed with #333


traverse * from $variable always returns empty result set in batch mode

We get no result when calling TRAVERSE * FROM $v in batch mode.
Using this script
CREATE DATABASE remote:localhost/test root root memory

script sql;
LET v1 = CREATE VERTEX V SET name = 1;
LET v2 = CREATE VERTEX V SET name = 2;
CREATE EDGE E FROM $v1 TO $v2;
TRAVERSE * FROM $v1;
end;

We get
Server side script executed in 0.011000 sec(s). Value returned is: []

Even when wrapping the variable in a select
TRAVERSE  * FROM (SELECT FROM $v1);

We get an empty result set.
But when using
TRAVERSE * FROM (SELECT FROM V WHERE name = 1);

We get the correct values.
Using develop branch (f6ef462)

What release? Please always tell us the release to speed up issue management. Did you try with last 2.1-rc5?

Using develop branch (f6ef462). You probably read the issue from mail, because I updated it right after.


Add interop tests to verify that Kestrel's HTTP/2 implementation works with HttpClient's implementation

There are not currently any functional test for the Http2 features. We accidentally disabled the entire feature when merging the https and core packages due to a missing TFM and didn't notice. https://github.com/aspnet/KestrelHttpServer/pull/2224
The big blocker here is the lack of consistent client support. However, even if there's one client on one of the OS's then that would be a good start.

We think there's enough support to do this now.

@Tratcher to follow up on the status of HTTP/2 support in HttpClient.

@Tratcher turned the existing tests on again 🎉
We do need some additional interop tests that use Trailers.

This issue is now tracking adding tests that use Trailers to the HttpClient interop test suite.

HttpClient interop to verify:

[ ] ALPN handshake
[ ] H2C (via app context switch AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true);)
[ ] Response Trailers
[ ] Reset

[ ] Reset after CompleteAsync (kill the request body)

[ ] Multi-frame request & response headers
[ ] Settings

[ ] Concurrent request limits
[ ] Frame size limits
[ ] Header table size
[ ] Window size
[ ] Max header list size

[ ] Header validation (e.g. Custom host, url encoding, header encoding)

Moving to preview9 for now. The bar for test-only changes is super low (basically just tell mode)

We can keep churning on this in master for now. We have a lot of tests now, but @Tratcher's list has some things we still want to cover. We'll look at backporting test coverage if it would be helpful.


Bug: Popover not resizing to short texts

Popover too big (not resizing) when using with texts shorter than 20 characters:

Expected behavior
Expected the popover to resize to short texts, as it does for long ones.
Screenshots
If applicable, add screenshots to help explain your problem.

add this style:
.popover {
    min-width: 0!important;
}


The Inference Code

Hi yhygao! Thank you for the codes first!
I have a dataset for inference and it was pre-processed and was not post-processed in the same way as my training dataset. Can I ask how to use the model to run inference for my dataset for inference and output the nii.gz file? It would be really helpful if you can update the codes.
Thanks again!

I uploaded a prediction.py in the dev branch. It provides an example of how to make inference and save the predicted label map into a nii.gz file. it's not fully tested, but you can modify it to fit your case. You need to modify the preprocess steps and target_spacing in the 'preprocess' function to make sure the testing data is processed the same as the training data. My code will do the other steps like resample to the target spacing, ensembled prediction, resample back to the original spacing, and save nii.gz file.

Awesome! Big thank you for the quick response. I'll test it and keep updated

Hi @yhygao , I have tested the prediction.py. I have modified the preprocessing steps and target_spacing in the 'preprocess' function. I got the label files saved as nii.gz file, but the result is blank without any outputs, only showing the black background.
I tried to comment lines 92-96, then, the result is exactly what I need, except that the label image size is not correct. Do you have any clues? Thank you!
https://github.com/yhygao/CBIM-Medical-Image-Segmentation/blob/4c21adee784224ebe0c8561781650492c6ec4095/prediction.py#L94

This function is used to resample the predicted label map to the original (the testing image) spacing. If you don't use the dataset conversion code in my framework, it might be because the testing data and the predicted label map have different origin corrdinates. You can try to add the following code between line 93 and 94:
itk_pred.SetOrigin(itk_img)
itk_pred.SetDirection(itk_img)
These commands will set the correct origin and direction for the predicted label. And then the ResampleLabelToRef will resample the predicted label to have the same spacing as the original testing image.
Also, make sure you set the target_spacing to be consistent with the training spacing setting.

This works perfectly!


feat(ARQ-2148): Implements Spring Boot and JPA support

Short description of what this resolves:
Add a DSL method to load connection SQL configuration values from persistence.xml or application.properties.
Changes proposed in this pull request:

Adds loader for Spring Boot configuration file
Adds loader for JPA configuration file

Fixes: ARQ-2148 (https://issues.jboss.org/browse/ARQ-2148)

Possible future work could be do the same for NoSQL engines, since Spring has also specific configuration fields for that.


Rescue more errors during cask upgrade.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

This makes brew cask upgrade a little more robust in case of a single bad cask.

Makes sense, thanks @reitermarkus!


Run Corsy to scan CORS misconfiguration

https://github.com/s0md3v/Corsy
It'd be nice if we can automate to make sure CorsService does not produce a bad configuration.

May I try to solve this?

@monorisk Sure. It's all yours. :wink:


Setup CI

Would be nice to have a simple CI which:

runs the tests - we could even run the current tests or wait until #3 is done
checks code style - I'd suggest to start using PEP8 but to only check style in the changed lines to avoid introducing a lot of formatting changes at once which would pollute the history

I just discovered that git supports ignoring certain revisions when running git blame by using the --ignore-rev and --ignore-revs-file options. The latter is even supported by GitHub if the commits to ignore are listed in .git-blame-ignore-revs.
This will allow us to reformat the entire project in a single commit and then we don't have to bother with running style checks for changed lines only, which is not supported by many linters, e.g. black which I would like to use.


remove stand alone server

This is the pull request for issue #7

You removed a bit too much.

Sorry. I was a bit over aggressive ;)
Do you need release.sh as well?

I'm thinking about a less radical way, like this: 6dbaaf60c5428247868e614c0c934d2661a0cbc0

I am happy either way as your solution fixes my issue with composer conflicts.  If you want, I will just close this pull request.

Ok, cool. :)


CLA? And is there some core code not in c I can look at.

I was wondering why you require the 'CLA' declaration it seems to be against opensource approaches, either it's a BSD3 project or it's not, I wonder does it mean that people will branch to extend but not pull?  Surely it would be better for someone to branch the whole project and then people can contribute directly without corporate ownership rules that probably are not a problem but are no doubt one sided giving only protection to fb. Surely the BSD3 licence is enough to provide suitable protection?
To port code to another language I was wondering if the core functionality is implemented only in c or are the low level parts implemented in a managed typed language as well which might be an easier port - would be greatful if you could point me to the relevant part of the project, I am just curious at the moment.  I have looked at your react stuff and found it a bit bloated no doubt due to the inexpressiveness of javascript as a language and a corporate approach, have a suspicion this is similar, but I like flexbox in javascript it's quite powerful.

The core is implemented in C (https://github.com/facebook/yoga/blob/master/yoga/Yoga.c) and other languages are supported through language bindings such as JNI (for java) or P/Invoke (for .NET).


Plot the bounding box using timestamp

Hi,
I am using RTSP as input and MQTT as output in the pipeline. RTSP stream is simulated using vlc from the recorded video files. The input stream is received in the code using OpenCV. When I run the pipeline, I receive the messages to MQTT callback. I would like to use the timestamp from the MQTT message and overlay the bounding box co-ordinates on the frame.
What is the timestamp parameter that is received in the MQTT message?
How can I match the timestamp from the MQTT message and timestamp of video stream?
Any help is welcomed
Thanks,
Ram prasad

Do you need to do the watermarking after the fact? From a synchronization point of view it is easiest to do the watermarking in the pipeline itself using gvawatermark and then exporting the result to file (either frames or segments).
In our next release we are planning improved samples for RTSP restreaming to make it simpler -
Another option is to save the results and the incoming video with a common time basis.
https://github.com/intel/video-analytics-serving/tree/master/samples/record_playback
Demonstrates how to do this via file - it could be modified to use mqtt as the source of results -

Do you need to do the watermarking after the fact? From a synchronization point of view it is easiest to do the watermarking in the pipeline itself using gvawatermark and then exporting the result to file (either frames or segments).
In our next release we are planning improved samples for RTSP restreaming to make it simpler -
Another option is to save the results and the incoming video with a common time basis.
https://github.com/intel/video-analytics-serving/tree/master/samples/record_playback
Demonstrates how to do this via file - it could be modified to use mqtt as the source of results -

@venkataram9
Did this help?
Do you have additional requirements?

@venkataram9
Did this help?
Do you have additional requirements?

Thank you for your post.
I am focusing to synchronise the rtsp stream and metadata using the code. I have gone through the callback mechanism using gvapython element from pipeline in which I can provide the path of python file for callback. I would like to run multiple pipelines for multiple cameras. In that case, how can the callback function determine the results from particular camera. Like how can we know the results are from which camera stream?

Thank you for your post.
I am focusing to synchronise the rtsp stream and metadata using the code. I have gone through the callback mechanism using gvapython element from pipeline in which I can provide the path of python file for callback. I would like to run multiple pipelines for multiple cameras. In that case, how can the callback function determine the results from particular camera. Like how can we know the results are from which camera stream?

For this use, the simplest approach is to add tags and or arguments to your vaserving request which can specify any additional details.
Option 1: Add arguments to your gvapython module and send parameters into the request.
This issue covers this in detail:
using gvapython in va serving pipelines
@whbruce We should add this to our documentation.
Option 2: Add tags to your request and add gvametaconvert to your pipeline in front of gvapython.
In this case gvametaconvert will automatically add in tag information into the gvajsonmetadata - this can be read either in the final mqtt / kafka / file result or by gvapython via the messages in the videoframe.
Here is an example of passing in tags to a vaserving request:
https://github.com/OpenVisualCloud/Smart-City-Sample/blob/e929e97ac8a5ca93d2ac2b9e37b02ae069536a2e/analytics/common/runva.py#L53
Can you share more details on your project / use case?
We are actively planning our next release and if you have ideas on a multicamera sample we can provide to illustrate key capabilities - please share / add a feature request.

For this use, the simplest approach is to add tags and or arguments to your vaserving request which can specify any additional details.
Option 1: Add arguments to your gvapython module and send parameters into the request.
This issue covers this in detail:
using gvapython in va serving pipelines
@whbruce We should add this to our documentation.
Option 2: Add tags to your request and add gvametaconvert to your pipeline in front of gvapython.
In this case gvametaconvert will automatically add in tag information into the gvajsonmetadata - this can be read either in the final mqtt / kafka / file result or by gvapython via the messages in the videoframe.
Here is an example of passing in tags to a vaserving request:
https://github.com/OpenVisualCloud/Smart-City-Sample/blob/e929e97ac8a5ca93d2ac2b9e37b02ae069536a2e/analytics/common/runva.py#L53
Can you share more details on your project / use case?
We are actively planning our next release and if you have ideas on a multicamera sample we can provide to illustrate key capabilities - please share / add a feature request.

Does adding tags to your request help with your solution?

Use the pattern shown in the record_frames samples to match frames to MQTT meta-data results.

@venkataram9 as @whbruce's suggestion resolved your issue?


Folder .vscode and launch.json weren't created automatically

Congratulations! This series is fantastic. Just what I wanted and needed.
I have a slightly different experience. From your Enhance the app section, suddenly a .vscode folder exists without explanation.
The next lesson depends on the launch.json file. I had to create it manually by starting a new debug config. New users of VS Code might be lost.
Thanks once again.

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

ID: 40d7fd04-e358-9a83-aef2-bfcba1169699
Version Independent ID: f5df932b-b092-2832-9c9a-61a9c43dcdb3
Content: Debug a .NET console application using Visual Studio Code - .NET
Content Source: docs/core/tutorials/debugging-with-visual-studio-code.md
Product: dotnet-fundamentals
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

@RevealedFrom Thanks for reporting that - I'm adding an explanation that VS code asks about adding assets when you edit a .cs file for the first time in a folder, and when you answer yes, it creates the .vscode folder and launch.json.


Cannot search in Latest Updates

I cannot search in Latest Updates: both SEARCH BY FILE NAMES AND NORMAL SEARCH
Please fix it.
VS Code version: Code 1.44.0 (2aae1f26c72891c399f860409176fe435a154b13, 2020-04-07T23:31:18.860Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz (4 x 2294)

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
1.2.1

gitlens
eam
10.2.1

EditorConfig
Edi
0.14.5

php-debug
fel
1.13.0

mssql
ms-
1.9.0

python
ms-
2020.3.71659

powershell
ms-
2020.3.0

vscode-typescript-tslint-plugin
ms-
1.2.3

vetur
oct
0.24.0

phpstorm-snippets
phi
1.1.1

trailing-spaces
sha
0.3.1

@dovancao What happens when you try to search? Is there an error, or are no results shown?

@RMacfarlane I didn't get any results in my search menu

Please give more details and see whether the tips here help: https://github.com/microsoft/vscode/wiki/Search-Issues

Please give more details and see whether the tips here help: https://github.com/microsoft/vscode/wiki/Search-Issues

Thank you so much. It's better when i tried to search something in absolute path. But search by file name was not worked so well

Can you give me some more details so I can check whether there is a bug here?

I've experienced (what I think are) similar problems. Search worked great before the latest update, and is now thoroughly borked. I can't tell for sure, but the global find (cmd-shift-F) and file nav (cmd-p) are both now worthless. It seems that there is some relationship with the open editors, or at least recently opened ones, but I haven't been able to pin anything down.
Here's a trace log recorded (per the Search Issues wiki page) while doing a global find for a variable name that appears in several files in my repo, yet only results from a single (open) file are returned. The blue "loading" indicator above the search field is still animating left to right.
[2020-04-13 22:32:56.563] [renderer1] [trace] telemetry/searchResultsShown {"count":5,"fileCount":1,"options":{"isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"},"duration":4785,"type":null,"scheme":"mixed","searchOnTypeEnabled":true}
[2020-04-13 22:32:56.563] [renderer1] [trace] telemetry/searchResultsFinished {"duration":4785}
[2020-04-13 22:32:56.564] [renderer1] [trace] telemetry/searchResultsFirstRender {"duration":4785}
[2020-04-13 22:32:58.385] [renderer1] [trace] SearchService#search {"_reason":"searchView","folderQueries":[{"folder":{"$mid":1,"fsPath":"/Users/pdfowler/myrepo","external":"file:///Users/pdfowler/myrepo","path":"/Users/pdfowler/myrepo","scheme":"file"},"folderName":"employer","excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"/var/**":true,"**/node_modules":true,"**/bower_components":true,"**/*.code-search":true,"**/run/build/**":true,"**/*.bundle.js":true,"**/public/build/**":true},"fileEncoding":"utf8","disregardIgnoreFiles":false,"disregardGlobalIgnoreFiles":true,"ignoreSymlinks":false},{"folder":{"$mid":1,"external":"gitlens://7d8a987/Users/pdfowler/myrepo?%7B%22path%22%3A%22%2FUsers%2Fpdfowler%2Fmyrepo%22%2C%22ref%22%3A%227d8a9870d4e329557fb149c7e1cc8dace599a2ee%22%2C%22repoPath%22%3A%22%2FUsers%2Fpdfowler%2Fmyrepo%22%7D","path":"/Users/pdfowler/myrepo","scheme":"gitlens","authority":"7d8a987","query":"{\"path\":\"/Users/pdfowler/myrepo\",\"ref\":\"7d8a9870d4e329557fb149c7e1cc8dace599a2ee\",\"repoPath\":\"/Users/pdfowler/myrepo\"}"},"folderName":"employer","excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"/var/**":true,"**/node_modules":true,"**/bower_components":true,"**/*.code-search":true,"**/run/build/**":true,"**/*.bundle.js":true,"**/public/build/**":true},"fileEncoding":"utf8","disregardIgnoreFiles":false,"disregardGlobalIgnoreFiles":true,"ignoreSymlinks":false}],"usingSearchPaths":false,"maxResults":10000,"type":2,"contentPattern":{"pattern":"indexKey","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":1000},"usePCRE2":false}

Do you have a folder in your workspace that comes from a filesystem provider extension? Does it work in a window with a single local folder open? If so, this is probably https://github.com/microsoft/vscode/issues/94928. If you don't know what I'm talking about then it's probably something else 😁


Installation failed on OS X 10.11

host% sw_vers
ProductName:    Mac OS X
ProductVersion: 10.11.6
BuildVersion:   15G1004
host% uname -a
Darwin alderaan.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
host% npm install sodium
-
><EMAIL_ADDRESS>preinstall /usr/local/myproject/software/node_modules/sodium
> node install.js --preinstall

Static libsodium was not found at /usr/local/myproject/software/node_modules/sodium/deps/build/lib/libsodium so compiling libsodium from source.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/local/myproject/software/bin/autoconf --force
configure.ac:94: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:172: error: possibly undefined macro: AC_CHECK_DEFINE
autoreconf: /usr/local/myproject/software/bin/autoconf failed with exit status: 1
make: *** [libsodium] Error 1
/usr/local/myproject/software/node_modules/sodium/install.js:288
            throw new Error(cmdLine + ' exited with code ' + code);
            ^

Error: make libsodium exited with code 2
    at ChildProcess.<anonymous> (/usr/local/myproject/software/node_modules/sodium/install.js:288:19)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/myproject/software/bin/node" "/usr/local/myproject/software/bin/npm" "install" "sodium"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>preinstall: `node install.js --preinstall`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script 'node install.js --preinstall'.
npm ERR! This is most likely a problem with the sodium package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js --preinstall
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs sodium
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls sodium
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/myproject/software/npm-debug.log

I can't reproduce this on OS X 10.11.5. Since it's an autotools-related error, would it be worth checking:
autoconf --version
automake --version
libtool -V

I have it working here with GNU Autoconf 2.69 and GNU Automake 1.15. I installed those using:
brew install libtool autoconf automake

check #95

BTW, it may be worth putting the libtool/autoconf/automake dependencies up on the main README for OSX.  I had this same problem in April 2017 installing from a new-ish computer that didn't actually have any of them, and I got the same error as above.  (For what it's worth, I installed node and npm through Homebrew; not sure if it matters.)


Enable to work without internet connection on server

Enhancement: Allow WordPress plugin to work in enterprise environment without internet access #42


[Form] Resolved query 'set errors' leaving DOM element invisible.

Reported this issue with patch file, but it seems to be deleted by github or some other behind the scene force. Here is the fix. Currently adding errors to form via 'set errors' will leave the dom element invisible. Fix is to set the css class after error message.

@akotulu This will most likely never be merged, its over 1 year now since last release of SUI (https://github.com/Semantic-Org/Semantic-UI/releases) take a look at Fomantic-UI the community fork.

I cannot seem to create a usecase where your described scenario is happening.
See https://jsfiddle.net/uLrm0wcd/
set errors show the errors just fine... 🤔
Could you please adjust the example, so we can see what exactly your code is going go fix?
In Fomantic-UI 2.7.3 we fixed a similar issue for safari not showing the message via CSS by https://github.com/fomantic/Fomantic-UI/pull/558


Add investment project export

Description of change
Adds exporting of investment project search results. This includes a few utility functions that can be used to help build queries for reports.
I think there's some scope to share a few testing utilities between tests for the different data exports. However, I'll leave that for the next one as there's quite a bit here already.
Checklist

[x] Have any relevant search models been updated?
[x] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[x] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[x] Has the admin site been updated (for new models, fields etc.)?
[x] Has the README been updated (if needed)?

Codecov Report

Merging #1076 into develop will increase coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1076      +/-   ##
===========================================
+ Coverage     96.4%   96.45%   +0.04%
===========================================
  Files          218      220       +2
  Lines         6199     6226      +27
  Branches       591      592       +1
===========================================
+ Hits          5976     6005      +29
+ Misses         154      153       -1
+ Partials        69       68       -1

Impacted Files
Coverage Δ

datahub/investment/query_utils.py
100% <100%> (ø)

datahub/core/query_utils.py
100% <100%> (ø)

datahub/search/investment/views.py
100% <100%> (ø)
:arrow_up:

datahub/search/views.py
96.29% <0%> (+1.48%)
:arrow_up:

Continue to review full report at Codecov.

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


[CI] Migrate from paths-filter to changed-files

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
The dorny/paths-filter project we use in our CI to skip workflow steps is no longer actively maintained and @kezhenxu94 suggested  that we should replace it given its excessive warnings. Now I just found out a better alternative that can achieve the same but beyond simple filtering >>> https://github.com/tj-actions/changed-files
With this one we can save hours of wait time every week:

Omit unncessary CI runs within a single PR, i.e. doc polishing commits since last successful workflow run

build checkers to enforce the change of certain files (e.g. changelog.md) in some cases.

I believe we only got two repos to refactor for now, correct me if I'm wrong @kezhenxu94 and let me know if there are other repos that would benefit from this upgrade (maybe java agent?):

[ ] OAP repo
[ ] Python agent repo
[ ] CLI

Use case
Unnecessary CI workflows will no longer execute.
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Added CLI to the list, though it uses getsentry/paths-filter, a forked of the GHA in problem

This will be done before 17th, the settled date where GitHub starts to enforce node16

This will be done before 18th, the settled date where GitHub starts to enforce node16.
https://github.blog/changelog/2023-05-04-github-actions-all-actions-will-run-on-node16-instead-of-node12

Do you have time to do that before 18th? I can help if needed

This will be done before 18th, the settled date where GitHub starts to enforce node16.
github.blog/changelog/2023-05-04-github-actions-all-actions-will-run-on-node16-instead-of-node12

Do you have time to do that before 18th? I can help if needed

I'm very busy this week but I'm pretty sure I can do this over weekend. I will let you know if I cannot make it in time.

Hey @Superskyyy @kezhenxu94 , has this issue been resolved? If not, I would like to give it a try and see if I can help.

Hey @Superskyyy @kezhenxu94 , has this issue been resolved? If not, I would like to give it a try and see if I can help.

Hi, the main repo is already migrated as you can see the draft PR is there.
And this issue is a mission critical migration that we have to do very carefully, so it's not open for contribution. Please feel free to find other issues labeled with good first issue if you would like.


boto3 delete object ISSUE

Reporting Bugs
Please be aware of the following things when filing bug reports:

Avoid raising duplicate issues. Please use the GitHub issue search feature
to check whether your bug report or feature request has been mentioned in
the past.

When filing bug reports about exceptions or tracebacks, please include the
complete traceback. Partial tracebacks, or just the exception text, are
not helpful.

Make sure you provide a suitable amount of information to work with. This
means you should provide:

Guidance on how to reproduce the issue. Ideally, this should be a
small code sample that can be run immediately by the maintainers.
Failing that, let us know what you're doing, how often it happens, what
environment you're using, etc. Be thorough: it prevents us needing to ask
further questions.
Tell us what you expected to happen. When we run your example code,
what are we expecting to happen? What does "success" look like for your
code?
Tell us what actually happens. It's not helpful for you to say "it
doesn't work" or "it fails". Tell us how it fails: do you get an
exception? A hang? How was the actual result different from your expected
result?
Tell us what version of Moto you're using, and
how you installed it. Tell us whether you're using standalone server
mode or the Python mocks. If you are using the Python mocks, include the
version of boto/boto3/botocore.

If you do not provide all of these things, it will take us much longer to
fix your problem.

ef delete_object(bucketName,key):
try:
response = client.delete_object(Bucket=bucketName,Key=key)
return reponse
except Exception as e:
return ("Error: %s" %str(e))
i = delete_object(xyx','test/test.txt')
Question:
I was passing a wrong key and it returned HTTP 204 and then I tried with a valid key and also got a 204. Why I'm not getting any error when I'm passing the wrong key.

I don't believe we've implemented that yet; will set as a feature request.

I've just tested this against S3 itself, and it doesn't throw an error either.
This is the actual AWS response:
{'ResponseMetadata': {
    'HTTPStatusCode': 204,
    'RetryAttempts': 0,
    'HostId': '...',
    'RequestId': '...',
    'HTTPHeaders': {
        'x-amz-id-2': '...',
        'date': 'Sat, 20 Jun 2020 10:35:46 GMT',
        'x-amz-request-id': '...',
        'server': 'AmazonS3'
    }
}}

From the docs:
Removes the null version (if there is one) of an object [...]. If there isn't a null version, Amazon S3 does not remove any objects.
No mention of an exception being thrown.
Will close this - let me know if I've missed anything.


An error occurred while starting the kernel on Windows

I get this error when start the execution of some optical recognition routines
Tensorflow: 1.0.1
OS: Windows 10 x64
Nvidia cuDNN: 5.1
Nvidia CUDA: 8.0
An error occurred while starting the kernel
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cublas64_80.dll locally
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cudnn64_5.dll locally
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cufft64_80.dll locally
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library nvcuda.dll locally
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library curand64_80.dll locally
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:885] Found device 0 with properties:
name: GeForce GTX 670
major: 3 minor: 0 memoryClockRate (GHz) 0.95
pciBusID 0000:01:00.0
Total memory: 4.00GiB
Free memory: 3.36GiB
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:906] DMA: 0
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:916] 0: Y
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:975] Creating TensorFlow device (/gpu:0) ‑> (device: 0, name: GeForce GTX 670, pci bus id: 0000:01:00.0)
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "CountExtremelyRandomStats" device_type: "CPU"') for unknown op: CountExtremelyRandomStats
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "FinishedNodes" device_type: "CPU"') for unknown op: FinishedNodes
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "GrowTree" device_type: "CPU"') for unknown op: GrowTree
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ReinterpretStringToFloat" device_type: "CPU"') for unknown op: ReinterpretStringToFloat
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "SampleInputs" device_type: "CPU"') for unknown op: SampleInputs
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ScatterAddNdim" device_type: "CPU"') for unknown op: ScatterAddNdim
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNInsert" device_type: "CPU"') for unknown op: TopNInsert
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TopNRemove" device_type: "CPU"') for unknown op: TopNRemove
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "TreePredictions" device_type: "CPU"') for unknown op: TreePredictions
E c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "UpdateFertileSlots" device_type: "CPU"') for unknown op: UpdateFertileSlots
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:975] Creating TensorFlow device (/gpu:0) ‑> (device: 0, name: GeForce GTX 670, pci bus id: 0000:01:00.0)
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:975] Creating TensorFlow device (/gpu:0) ‑> (device: 0, name: GeForce GTX 670, pci bus id: 0000:01:00.0)
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:975] Creating TensorFlow device (/gpu:0) ‑> (device: 0, name: GeForce GTX 670, pci bus id: 0000:01:00.0)
I c:\tf_jenkins\home\workspace\release‑win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:975] Creating TensorFlow device (/gpu:0) ‑> (device: 0, name: GeForce GTX 670, pci bus id: 0000:01:00.0)

...

This has been fixed at HEAD since January 17th. You can safely ignore this error message, or upgrade to a nightly build to use the fix. Closing as a duplicate of #8336.

@mrry The linked issue was reported for the previous 1.0.0 version compared to the latest 1.0.1 that I'm using. In what release will be included?

Sadly the fix was not cherry-picked into the 1.0.1 release. It will be in 1.1.
(@gunan I assume we're still not doing a 1.0.2? If we are, we should definitely cherry-pick this fix.)

We will start working on 1.1 soon, that will definitely have the fix. since 1.1 is around the corner, I think we will not do 1.0.2

I get it.Thanks.

@gunan sadly I just installed Tensorflow today March 26th and received the same message.

@mrnameless123 Could you file a new issue, filling in the issue template as much as you can?


Fix c api reference files for documentation

Update conf.py with correct relative path
Update copyright symbols

@nightlark I'm not sure why the appveyor build failed. I'm going to go ahead and merge because this shouldn't actually cause any issue with HELICS, these changes are only whitespace / in the docs folder.


Remove error rendering

What
Remove error rendering
Who can review
Anyone

Can remove config from README / config.go as well