How can i change the color of the dots?

Thanks for the great lib! Though it is possible to change indicator dots' color by providing custom IndicatorController, it would be great if one could do it just by calling AppIntro methods.
@cabuhatprince Until I make the pull request for this feature, or someone else beat me to it, this is how you can do it with providing custom IndicatorController.
Step 1:
At the bottom of your init method in AppIntro activity add this line setCustomIndicator(new CustomIndicator());
Step 2:
Create 2 drawable files to your liking.
Step 3:
Create CustomIndicator class and implement IndicatorController. Copy DefaultIndicatorController code and replace drawable ids with files you created in step 2.
Step 4:
Enjoy :)

@milosjovac ETA on that PR?

This issue was addressed in PR #93.


Links to official halo api documentation are invalid

The official link naming must have changed. Links to official halo api within our own documentation are invalid.
Example
current:
https://developer.haloapi.com/docs/services/58acdf27e2f7f71ad0dad84b/operations/58acdf28e2f7f70db4854b36
actual:
https://developer.haloapi.com/docs/services/58acdf27e2f7f71ad0dad84b/operations/Halo-5-PC-Match-Result-Custom?

I would like to help solve this issue.


upgrade clouddebugger API to latest release version v2-rev4-1.20.0

@patflynn @benwulfe

ping

LGTM


Add reference types support to wasm-opt

Ensures that wasm-opt is called with the relevant flag when reference types are enabled.

Checklist

[x] Updated CHANGELOG.md describing pertinent changes.
[ ] Updated README.md with pertinent info (may not always apply).
[ ] Updated site content with pertinent info (may not always apply).
[x] Squash down commits to one or two logical commits which clearly describe the work you've done. If you don't, then Dodd will 🤓.

Will merge once CI is green :bow:


stdio: ignore

// input => req,  output => res
var res = spawnSync(command, args, {input: req});

so don't inherit IO from parent process.

Why would we do this?  Using inherit ensures that any errors that occur in the child process get reported to stderr and can be debugged.


unpolished value in ObjectBrowserWidget mode:image

Describe the bug
objectbrowser widget in image mode doesn't have a proper validated image-name as a placeholder value.

Correct data structure had to pass down to objectBrowserData.


mapdl.asba seems to fail with circles (randomly)

tested various radii
from ansys.mapdl.core import launch_mapdl

mapdl = launch_mapdl()

mapdl.prep7()

a1 = mapdl.cyl4(0, 0, 20)
a2 = mapdl.cyl4(0, 0, 10)
a3 = mapdl.asba(a2,a1)
mapdl.aplot(cpos = 'XY')

mapdl.exit()

Which Operating System are you using?
None
Which Python version are you using?
None
PyMAPDL Report
Error in instance GRPC_<IP_ADDRESS>:50054
SUBTRACT AREAS
AREA NUMBERS TO BE OPERATED ON =       2
AREAS OPERATED ON WILL BE DELETED IF POSSIBLE
AREA NUMBERS TO BE SUBTRACTED  =       1
AREAS SUBTRACTED WILL BE DELETED IF POSSIBLE
*** ERROR ***                           CP =       0.172   TIME= 12:13:48
Boolean operation failed.  Try adjusting the tolerance value on the
BTOL command to some fraction of the minimum keypoint distance.Model
Size (current problem) 7.982540e+01, current BTOL setting
1.000000e-05, minimum KPT distance 1.000000e+01.

Hi @mcMunich Can I ask what the point of this ASBA operation?  It is trying to subtract an area [1] that completely covers another area [2].  Nothing of area 2 will be left - it's not really an subtraction as a area deletion.  Did you mean to end up with a hollow circular area like this?

If so switch the NA1 and NA2 area number of the command.  If you really want to delete the smaller area, why not just directly delete it?
Mike

hello @mikerife. ASBA is the boolean to subtract areas. There is a square example in the pymapdl docus and that works but I get the bug only with the circles. I would like to recreate the apdl example of the bracket and they use asba.
https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v231/en/ans_tut/structural_cb.html


fix: preserve form input values on custom form validation

Background
See #58
Sometimes we will want to do custom validation on form submission. (See the login / signin form in data-sources). When this happens, the UX will be better if we preserve the current input values for the user, rather than clearing them on every form submission automatically.
Description

Adds new prop resetOn to Form of type 'submit' | boolean. If 'submit' is passed, the form clears on submission. If boolean is passed, the form only resets when the resetOn prop changes to true.
Updates Form tests
Updates documentation

To test

Run the demo app, navigate to localhost:8888/sign-up-demo
Add a valid password in each box, but mis-matched (i.e. Password1! and Password2!
Ensure that on form submission, you are presented with an error, but the form input values persist.
Correct the mis-match
Click the submit button, ensure that the form data you entered is logged to the console (it's a debug log, so you may have to turn those on in your browser).

@joshuagraber When I go to test, using the same password in each field, I still get an error.
In the console, I'm getting a message about cookies...relevant?

Hmm, @josh-chamberlain could you share more steps to reproduce? If both inputs contain a matching, valid (per validation currently on data-sources) password, it should clear automatically.
https://github.com/Police-Data-Accessibility-Project/design-system/assets/68428039/ccb48efb-109d-47dd-936d-4e85cfc22dc6
Not sure about the cookies, but we're not reading anything cross-site, so it must be something about the dev env.
(We do want to handle that placeholder warning though, so I'll do that next week after I'm back.)

sorry about the delay @joshuagraber !
I get the same behavior whether I use the same password or different passwords.

@josh-chamberlain No worries. Those are field-level errors, which means these are not valid passwords. The messages aren't super informative (we'll craft better ones for v2), but on this demo it's just dummy validation.
A valid password requires:
8 characters, of which:
1 Capital letter
1 lowercase letter
1 number
1 special character
I've just been using Password1!
What we're testing here is the form-level errors passed while the calling component validates any extra requirements that we can't handle with our schemas (yet, although that's not a bad idea...) on submission, i.e. that the passwords match. So no input-level errors should be there at all. Otherwise, the form is prevented from submitting.


Copy (M-w) does not deselect region

Therefore, it requires a C-g after M-w to deselect the region.

@tigerhawkvok it also serves as a visual cue that the operation succeeded! I'm hoping to send in a pull request.

Should be fixed for some time I think.


Unchecked "Enable Annotation" isn't fully working?

https://youtu.be/miomuSGoPzI?t=217
By "fully" I mean it's working only partially. In the video above, if you have "Enable Annotation" unchecked you would disable only those annotations on the left bottom, but not those on the left middle/top.
PS: It seems it could only disable those annotations with a "(x)close" function.
Thank you.

It's highly possible that you're correct. If I remember correctly a friend of mine has told me about that issue before.

So glad you're back, sincerelly appreciate.

I made an Issue awhile back about what you need to change in the userscript so that annotations stay off. I'll Post the parameters here.
Here are the parameters that need to be changed for Annotations to be turned off.
fixHTML5Annotations: set it to true
enableAnnotations: set to false
channel_enableAnnotations: set to false
embed_enableAnnotations: set to false

@fat2slow, have you checked my youtube link in main post?
I just follow your steps, 1st to true, rest of 3 to false and I"m still seeing those annotations.
Thank you.

@NiGHTsC  I used to do whatfat2slow is saying but it stopped working for me about a year ago.Some video's its turned off and on others its always on so its hit and miss it seems sorta like some video's still autoplay and others dont. Something is broken in the chain

@andyb2, Thank you for reporting.


homework answer

hi：
I want to comparis your homework and similar aanswer

Hello!
Unfortunately we do not provide solutions. If there's a particular task you have doubts about, please specify the task


KAFKA-16936 : Upgrade slf4j, sys property for provider

Resolves https://issues.apache.org/jira/browse/KAFKA-16936

Upgrade slf4j to 2.0.13
Add sys property for default slf4j provider , with default as org.slf4j.reload4j.Reload4jServiceProvider
Add new dependency org.slf4j:slf4j-reload4j:$versions.slf4j for the default provider to server module

Committer Checklist (excluded from commit message)

[X] Verify design and implementation
[X] Verify test coverage and CI build status
[X] Verify documentation (including upgrade notes)

@chia7712 can you pls take a look.
Here is a script when server is ran

 % ./bin/kafka-server-start.sh config/kraft/server.properties
SLF4J(I): Attempting to load provider "org.slf4j.reload4j.Reload4jServiceProvider" specified via "slf4j.provider" system property
[2024-06-13 14:31:29,948] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$)
[2024-06-13 14:31:30,805] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util)

@gharris1727 Do you have bandwidth to give a look as you have raised a valuable concern in the jira :)

BTW, I change this PR to MINOR, so we can keep origin jira :)

@muralibasani it seems there is a empty file? could you please check it

Removed. Not sure how it came up. thx.


GCLB backends are not populated by AutoNEG controller: RESOURCE_NOT_READY

Hi,
I am trying to use AutoNEG controller in Workload Identity mode (configured according to the manual), and I face a problem with auto populating the GCLB backends.
I noticed that shortly after creating GKE services, the backends show the NEGs in GC console, but then they disappear and never show up again.
The sequence of events according to Stackdriver logs:
https://pastebin.com/FKdhqYTy
I can see BAD_REQUEST and RESOURCE_NOT_READY errors there.
I have AutoNEG controller working correctly in neighbor projects, but using cloud access scopes. It's just for extra context, I am not sure if this particular issue is related to Workload Identity setup or not.
Inside the affected NEG I can see undefined health status:

However I think (though not sure) that this is because it is "Not used yet" by the backend, so it's a consequence.
Also the problem persists, even if I remove GKE services and create them again - so it is not any kind of a race with LB backend service creation.
Any idea what goes wrong here?
Also posted: https://serverfault.com/questions/1036096/gclb-backends-are-not-populated-by-autoneg-controller-resource-not-ready

The reason was: the workload identity account created for AutoNEG should have compute.networkUser permission in the host project to obtain the name of the network/subnet. This is true for shared VPC environments.
The action item in this issue is to update the documentation accordingly.

Fixed, thanks for reporting!


doc: introduce documentation about the unified topology design

Description
This begins the process of documenting the general design of the Unified Topology. Hopefully this should serve as a good resource to point confused users to, as well as guidance for our continued development of this piece of the driver.

@daprahamian yes, I'll convert it to RST. Should we remove the markdown folders for docs completely now that they are converted to RST?


fix: add total runnings jobs at any given time panel metrics

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

28 of 28 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 92.447%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
8494

Relevant Lines:
9188

💛  - Coveralls


bool Datatype Missing

is it possible to add bool data type to this library ?

Bool is not support at this time.
Since Firebase RTDB supports only text and number then my library will support only string, json (string), integer (number) and float (number).
If I add support something like boolean, I need to develop special method to store string that prefixed with some extra 5 bytes header e.g. bool,0 or  bool,1 to identify it differently than other data types.
If you ever using FirebaseExtend's Firebase-Arduino before, Boolean data type will store as integer 1 for true and 0 for false which no guarantee when you read Boolean data from any path that store as number and evaluate it to Boolean.
Furthermore, if you look at the data in Firebase RTDB panel, you cannot identify the actual data type (bool, integer, float) from number stored at that node.
I will add support Boolean data type if you don't mind about some extra 5 bytes for each Boolean data.
There are some exception when you using other client like javascript or other Firebase library to read data from this node, you will get string like bool,0 or bool,1.

It's okay i kinda got my issue solved so no problem. thank you so much for this library.

Now add support Boolean (v 2.3.4).

omg you added it already that's awesome. great work sir keep it up!


This is learning phase of github

I created a branch and file and done a commit and opened a pull request.


[bug] React 17 support

This lines breaks on React 17.
https://github.com/Kiarash-Z/react-modern-calendar-datepicker/blob/0cd7478b2fda3f755f0128a2ba1244346ed9eba0/src/Calendar.js#L47
React 17 changes the way references are handled for unmounted components. They are cleared right after the component is unmounted, but the effect unmount function is called later on. This means that references values must be stored in a local variable other wise they are undefined.
https://it.reactjs.org/blog/2020/08/10/react-v17-rc.html#potential-issues
That portion of code should be rewritten as
useEffect(() => {
    const element = calendarElement.current
    const handleKeyUp = ({ key }) => {
      /* istanbul ignore else */
      if (key === 'Tab') element.classList.remove('-noFocusOutline');
    };
    element.addEventListener('keyup', handleKeyUp, false);
    return () => {
      element.removeEventListener('keyup', handleKeyUp, false);
    };
});

Duplicate of https://github.com/Kiarash-Z/react-modern-calendar-datepicker/issues/204


feat: stepper: Add scroll to active step support

SUMMARY:
Ability to scroll to active step on the load.
GITHUB ISSUE (Open Source Contributors)
JIRA TASK (Eightfold Employees Only):
https://eightfoldai.atlassian.net/browse/ENG-45610
CHANGE TYPE:

[x] Bugfix Pull Request
[ ] Feature Pull Request

TEST COVERAGE:

[ ] Tests for this change already exist
[ ] I have added unittests for this change

TEST PLAN:

TBD

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3b4a7db). Click here to learn what that means.
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #591   +/-   ##
=======================================
  Coverage        ?   84.88%
=======================================
  Files           ?      793
  Lines           ?    17193
  Branches        ?     6059
=======================================
  Hits            ?    14595
  Misses          ?     2532
  Partials        ?       66

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@prathi-eightfold Please update the commit template with more details as this is an abstracted production repository. Also tickets should be logged here for tracking -->
https://eightfoldai.atlassian.net/jira/software/c/projects/ENG/boards/20/backlog?atlOrigin=eyJpIjoiZjlkODQ2ZWE1ZTcyNGQ1Y2I3NzE1ZDdkNWEzNTNhN2EiLCJwIjoiaiJ9


[console] When filtering addresses by *, all addresses disappear, however result = x address

When filtering addresses by symbol * (star ), all addresses from the address list disappear, however the results box show x results,
steps to reproduce:
in console, create 4 new topics with names:
*addr
addr*addr
addr*
addrwithnostars
and then filter addresses by * symbol
(for bonus points, you can remove the filter for * and add another one now for . and observe that all addresses remain even though they have no . in the names, its understood this may be due to some regex happening)
workaround:
escape the * when filtering produces the correct number of filtered addresses and results value

Closing and creating another identical issue as the name seems to be giving some problems to github2jira script.


[Return Largest Numbers in Arrays] I've gotten same result, however I failed to pass

Challenge Name

Return Largest Numbers in Arrays
Issue Description

As I mentioned on the title, I've gotten same result, however I failed to pass.
Browser Information

Browser Name, Version: Safari 10.0.3(12602.4.8)
Operating System: Mac OS X Sierra 10.12.3
Mobile, Desktop, or Tablet: Laptop

Your Code

function largestOfFour(arr) {
  var largest = [];
  arr.map(function(inner){
    var tmp = 0;
    $(inner).each(function(){
      if(this > tmp) tmp = this;
    });
    largest.push(tmp);
  });
  return largest;
}

largestOfFour([[13, 27, 18, 26], [4, 5, 1, 3], [32, 35, 37, 39], [1000, 1001, 857, 1]]);

Screenshot

Probably similar issue in "Basic JavaScript: Access Multi-Dimensional Arrays With Indexes".

@z16844
For the Return Largest Numbers in Arrays challenge, the this variable in the $(inner).each loop refers to a Number object. This results in your largestOfFour function returning an array of Number objects. The current test checks for equality with an array of primitives, thus returning an error.
As for the last test, initialising the tmp variable at 0 forces your largestOfFour function to only consider values greater than 0, thus ignoring the negative values.
@Greenheart @systimotic I feel that the current test can be updated to include a map function which converts array elements to primitives before testing. i.e. ( largestOfFour().map(function(x) {return x.valueOf();}) ) Any suggestions? 😄

http://beta.freecodecamp.com/en/challenges/basic-javascript/shopping-list
It doesn't work too ..

@Gardemarin The challenges you shared work fine for me. Can you try it again? Perhaps they got fixed since the last time you tried them.
@hay-dee Nice debugging! Interesting suggestion. To me, this raises the question of whether we should allow instances of the Number object as a valid answer. I'm not sure about this.
From the jQuery docs:

The .each() method is designed to make DOM looping constructs concise and less error-prone.

You're not supposed to use jQuery's .each for looping over anything that isn't DOM, that's what forEach is for.
I can't think of any other way that a camper would return a Number instance rather than a primitive. If we work around the case where it might happen behind the scenes, this may only cause more problems when the camper is on their own.
var numbers = [1, 2, 3];
var specialNumber = 4;
var newNumbers = [];
$(numbers).each(function() {
  newNumbers.push(this * 2);
});

console.log(newNumbers[1] === specialNumber); // false

I expect things like that would happen if we work around this.
I think the we should close this as an issue with the solution. It returned Number instances, which is not the expected result, so the tests failed correctly.

@systimotic Thanks for the assistance! You are right that it might be better for them to learn to seek help on this matter instead of classifying as a bug, which would encourage the usage of .each in this manner 😄

👍 Closing as an issue with the solution. Thanks @hay-dee for looking into this!
@Gardemarin If these issues persist, please open separate issues for them. Thanks!

@hay-dee Yeah thanks for looking into this, we need more discussions like this to help move the curriculum forward :blush:


[stable/nextcloud] Create option to specify extra deployment volumes

Is this a new chart
No
What this PR does / why we need it:
This is useful when converting from a legacy NextCloud environment to Kubernetes. Our deployment has data stored in an NFS volume. Using these new options, we can now directly import that volume into our Kubernetes NextCloud pods and migrate the data more easily (or even run the new pods with the old storage).
Which issue this PR fixes
None
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @chrisingenhaag

/ok-to-test

@bklang one minor request: can you please bump the minor version instead of the patch version?
e.g. change Chart.yaml version to 1.10.0 instead of 1.9.7?

@billimek No problem, done! Thanks for the quick review.

/lgtm


Projects mobile view won't go up when moving to another page

When someone visits the projects UI and tries to move to another page using the pagination buttons, the UI won't go up so the user can see the first project for that page. This is for mobile UI only.

Resolved as part of https://github.com/ANDRESROMEROH/web-portfolio-react/pull/7/commits/de8d771aca7ab7476094eef18805200288f1f345


IDEA - extend circe-literal to be able to generate extractors too

Building a lightweight service call with literal JSON is an absolute breeze, but to process results we still have to use cursors or to derive extractors from case classes (or equivalent)
A technique to specify a json template that could match a fragment and extract a number of values would be insanely useful.

For the record, I'm not actively working on this, but would really like to see it happen.

I started looking into a crossover between what circe-literal does and propensive/contextual.  Alas, time is such a precious resource...


Simple Standalone BatchUtils for SharePoint Online

I have created small BatchUtils  which might be helpful to add as reference code or example for SharePoint Batch API on Batch API documentation page
Usage for BatchUtils and other SharePoint Rest API Sample code also written over here

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

ID: e3f963c2-441f-8f40-9c2a-3d31f4a79b1f
Version Independent ID: d4a6f050-b632-a5a0-1814-33699760fccb
Content: Make batch requests with the REST APIs
Content Source: docs/sp-add-ins/make-batch-requests-with-the-rest-apis.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Thanks, but as a general rule the docs don't reference 3rd party code / projects that haven't been vetted by Microsoft. However, having this comment on the page will help others find it


feat: please build a multi-arch image?

The old argocd extensions image was multiarch - and we discovered today that this updated process is only an amd64 image. Please make this a multi-arch build so we don't have to pin our ArgoCD Server pods to AMD64 hosts.

Old method is deprecated but new one extension image is amd64 only.

Starting with tag v0.0.4 we now support multi platforms.
See: https://quay.io/repository/argoprojlabs/argocd-extension-installer?tab=tags


Version 0.3.7 doesn't work on iOS

This line https://github.com/yahoo/react-dnd-touch-backend/commit/c210e11a499928e11a577d3decfd1ebc38341a10#diff-694049bbccadc234052edce94ace9cbcR335 breaks on iOS because Document.elementsFromPoint() is not available on Safari.  See: https://developer.mozilla.org/en-US/docs/Web/API/Document/elementsFromPoint.

same problem

ping @JoaoMosmann ^^

My bad, sorry. I was sure that elementsFromPoint was supported everywhere. Even IE10 supports it. I'll work around it and commit.

@calrsom I added a pull request with a polyfill for when the function document.elementsFromPoint is not available. I've tested it in every major browser but Safari, so if you could do it, it would be great.

0.3.8 published that should address this

We have tested 0.3.8 and it appears to work.  Thanks!


Include information about slice nodes when querying slices

It would be a nice addition to get either the count of nodes for each slice or a list with the names of the nodes for that slice. So some form of a "nodes":  field.

The idea is that "slices()" return a list of slices with the ids, name, and state. "slivers(slice_id=") returns the slivers for a slice.
I think you are right that there is a need for a more complex call that gets the slice info and slivers for a specific slice.
Examples:
slice_man.slice(slice_name="NannaSlice")    --- Returns just "NannaSlice" but with all the slivers too.
slice_man.slices(slice_state="StableOK")    --- Returns a list of all "StableOK" slices.  "Error" and "Configuring" should be possible too.
All of these extra functions are easy to implement as wrappers around the other ones.  I wonder if we (i.e. the student group) wound be interested in implementing some of them.

Fablib has been updated to return nodes/networks/interface information.


allow IP to pass through reverse proxy

requires update

to nginx config: proxy_set_header X-Real-IP $remote_addr;
to uvicorn: include --proxy headers --forwarded-allow-ips '<IP_ADDRESS>'


Hauki 222 loading indicator

Add LoadingIndicator-component according to HDS-guidelines: https://hds.hel.fi/components/spinner
Use indicator in app-init and resource-page

Yes, most of the time, it is way faster, but sometimes individual requests can take more than three seconds.

Good job! 💪


ref(osm/*): rename osm mesh delete to osm mesh uninstall

Rename to more accurately describe command
and resolves #1622
Please mark with X for applicable areas.

New Functionality      [ ]
Documentation          [X ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [X ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests / CI System      [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Also I'd reccomend using git mv cmd/cli/mesh_delete.go cmd/cli/mesh_uninstall.go, which will preserve the history of the file (right now it looks like delete + add)

Please use git mv if it isn't the case to preserve history.

@shalier - thanks for the change. Please remember to hit "Squash and Merge" when you have an approved pull request or are merging community pull requests.


Change HIPPA to HIPAA

Change file names, titles, and headings

@SvenAelterman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@adamboeglin If you approve the PR--the updates look correct--the PR review team can move this to the private repo so we can verify the updates on staging and create a redirect for the renamed .MD file. Thanks.

@adamboeglin Because of a longstanding issue related to syncing between public and private architecture-center repositories, I'm not able to move the commit to the private repo like I usually do. Would you or @SvenAelterman submit this work in a new PR in the private repo? The renamed MD file needs a redirect added to the repo's redirection JSON file, and it's a good idea to check everything on staging because of the file renaming.

I would be happy to redo the PR, but I am not sure how to find the private repo?

Hi @SvenAelterman - To get to a Microsoft Docs private repo, add "-pr" to the repo name (true for most Microsoft Docs content repos, with only one exception that I'm aware of). For example, the private iteration here would be architecture-center-pr: https://github.com/MicrosoftDocs/architecture-center-pr
Thanks!

Actually, I think the key step for getting access is in the next section in the article I linked to: Join MicrosoftDocs organization and others.

@doodlemania Would you add a redirect for the renamed file to the repo's openpublishing.redirection.json file per the quality criteria in the contributor guide? Otherwise, anyone who has the link bookmarked or embedded will get a broken link. Also, make sure when it goes live that all the images appear (they're referenced correctly). Thanks.

@doodlemania The images actually won't render, because the PR renames the image files but doesn't change the image references:

I'll do a PR in the private repo to fix these items.

oh drat - thanks @ktoliver for the catch.


Workspace - Paybills - Hovering on<EMAIL_ADDRESS>shows as a URL in the bottom left corner and redirects to a page reported by @0xmiroslav

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login with any account
Go to Settings -> Workspaces -> Pay bills page
Hover<EMAIL_ADDRESS>
Expected Result:
There should be no URL link shown at the bottom left as it is an email
Actual Result:
Pay bills page url (https://staging,new.expensify.com/workspace/xxx/bills) shows
Workaround:
unknown
Platform:

Where is this issue occurring?

Web

Version Number: 1.2.27-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
Issue reported by: @0xmiroslav
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1668426810134239
View all open jobs on GitHub

I was not able to reproduce taking the steps outlined above.
@0xmiroslav @kavimuru
Can you clarify reproduction steps and/or to check the reproduction steps again.

Chrome was used when attempting to reproduce

@abekkala Video here.
https://user-images.githubusercontent.com/43996225/201760419-31d00408-3c75-48da-910e-1083a58d1e0d.mp4

I am in Chrome Staging taking the same steps provided. I do not receive a URL link shown at the bottom:


Create BigBed as outputs

BigBed for the DESeq2 results with color:

grey for NS
red and green for FDR < 0.05 and |LFC| > 0.59
orange and blue green for FDR < 0.05 and LFC cutoff based off of ELBOW

These BigBed files can then be loaded in UCSC browser sessions.

Completed with previous commit


Sample code for image translation

Hi,
Can you please share a sample code to translate img_src.jpg with img_reference.jpg. This seems very interesting project. Just wanna have some fun with this :)

Hi,
You can translate a single image using the python -m synthesis swap command. Assume that your images are stored as below:
./testphotos
├─ content
│  └─ img_src.jpg
└─ style
   └─ img_reference.jpg

You can translate img_src.jpg with img_reference.jpg using the following command:
python -m synthesis swap --checkpoint checkpoints/afhq-stylegan2-5M.pt --folder testphotos/content testphotos/style/ --save-each true

Let me know if you have any other questions!


Attachments are showing error on safari browser for macOS/iOS

Attach (recommended) or Link to PDF file here:
Attachments having pdf.pdf
Configuration:

Web browser and its version: Safari / 14.6.3
Operating system and its version: macOS BigSur / 11.2.3
PDF.js version: Latest (2.9.2)
Is a browser extension: No

Steps to reproduce the problem:

Navigate to the online demo link - https://mozilla.github.io/pdf.js/web/viewer.html
Click on Open File option on the toolbar
Download the pdf from the link above and select the file to be opened in the viewer
Click on the sidebar and goto attachments and click on the element present in the list
It will open the viewer in a new tab and we see an error while loading

What is the expected behavior? (add screenshot)
If I try the same replication steps in Chrome browser on mac/iPad devices the document is loaded

What went wrong? (add screenshot)

If I try to just open the blob link the file is loaded but somehow it is not able to load with the viewer
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): N.A

This suggests that the Safari browser doesn't handle blob-URLs correctly, rather than an outright bug in the PDF.js default viewer, and that this code thus fails: https://github.com/mozilla/pdf.js/blob/6ddc297170a48475b2fdb882efd895d0236474c3/web/download_manager.js#L66-L107
In a custom implementation of the viewer, you can set the disableCreateObjectURL option to instead (indirectly) trigger direct downloading of the attachment rather than trying to opening it; please note http://mozilla.github.io/pdf.js/getting_started/#introduction (emphasis mine):

The viewer is built on the display layer and is the UI for PDF viewer in Firefox and the other browser extensions within the project. It can be a good starting point for building your own viewer. However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it.


attempt to first uninstall the old service on silent upgrade as well …

Backport of https://github.com/arangodb/arangodb/pull/14731

[ ] https://jenkins.arangodb.biz/job/arangodb-ANY-windows-packages/2033/


Fix NPE on resetting configs with null default value

None of the @Alpha default methods currently return null, so I changed the one in CannonConfig.java to replicate the exception.  Default method returning null behaves as though there is no default method, in both cases of individual reset and plugin-wide reset.
Fixes #12226

Is it that changing the alpha value of a color doesn't reflect as an alphahex in the panel?

I've fixed the couple of issues here and squashed this into a single commit.


Notification: Update UI + Refactor

Notification: Update UI + Refactor

WIP!
Netlify linky:
https://deploy-preview-410--hsds-react.netlify.com/?selectedKind=Notification&selectedStory=Default&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs

I know things are failing, Travis! I'm workin' on it!!

Pull Request Test Coverage Report for Build 1349

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

Totals

Change from base Build 1348:
0.0%

Covered Lines:
5093

Relevant Lines:
5093

💛  - Coveralls

I'm gonna merge this one 😊


feat: compare checksums when downloading web-platform; bump ver

this way is more secure than fetching the checksum from GitHub
so it's fine by me
we can reiterate later if we want


How to create angular 4 project with latest angular cli

I am using angular cli 1.6.1 . 'ng new' command creating angular 5 project. How can i switch angular version to 4.
Thanks in advance.

i think you can update package.json  set the dependencies like @angular/... from 5 to 4.
then do npm install.
of course, it not a very good solution, because it will update @angular/core、@angular/compiler ... etc.

See : https://github.com/angular/angular-cli/issues/8200#issuecomment-339977020

this isn't actually a issue .

Closing as answered by @lomo1 and @blackholegalaxy, thanks!

You can use below command to create angular 4 project using higer versinos of CLI
ng new yourProjectName -ng4


feat(regex_parser): Implement RegExp parser

Part of #1164
Progress updates 🗞
The Obon holiday... 🕺🏻
TODOs

[x] RegExp(Literal = Body + Flags)#parse() structure
[x] Base Reader impl to handle both unicode(u32) and utf-16(u16) units
[x] Global Span and local offset conversion
[x] Design AST shapes

[x] Keep enum size small by Box<'a, T>
[x] Rework AST shapes

[x] Split body and flags w/ validating literal
[x] Parse RegExpFlags
[x] Parse RegExpBody = Pattern
[x] Parse Pattern > Disjunction
[x] Parse Disjunction > Alternative
[x] Parse Alternative > Term
[x] Parse Term > Assertion

[x] Parse BoundaryAssertion
[x] Parse LookaroundAssertion

[x] Parse Term > Quantifier
[x] Parse Term > Atom

[x] Parse Atom > PatternCharacter
[x] Parse Atom > .
[x] Parse Atom > \AtomEscape

[x] Parse \AtomEscape > DecimalEscape
[x] Parse \AtomEscape > CharacterClassEscape

[x] Parse CharacterClassEscape > \d, \D, \s, \S, \w, \W
[x] Parse CharacterClassEscape > \p{UnicodePropertyValueExpression}, \P{UnicodePropertyValueExpression}

[x] Parse \AtomEscape > CharacterEscape

[x] Parse CharacterEscape > ControlEscape
[x] Parse CharacterEscape > c AsciiLetter
[x] Parse CharacterEscape > 0
[x] Parse CharacterEscape > HexEscapeSequence
[x] Parse CharacterEscape > RegExpUnicodeEscapeSequence
[x] Parse CharacterEscape > IdentityEscape

[x] Parse \AtomEscape > kGroupName

[x] Parse Atom > [CharacterClass]

[x] Parse [CharacterClass] > ClassContents > [~UnicodeSetsMode] NonemptyClassRanges
[x] Parse [CharacterClass] > ClassContents > [+UnicodeSetsMode] ClassSetExpression

[x] Parse ClassSetExpression > ClassUnion
[x] Parse ClassSetExpression > ClassIntersection
[x] Parse ClassSetExpression > ClassSubtraction
[x] Parse ClassSetExpression > ClassSetOperand
[x] Parse ClassSetExpression > ClassSetRange
[x] Parse ClassSetExpression > ClassSetCharacter

[x] Parse Atom > (GroupSpecifier)
[x] Parse Atom > (?:Disjunction)

[x] Annex B

[x] Parse QuantifiableAssertion
[x] Parse ExtendedAtom

[x] Parse ExtendedAtom > \ [lookahead = c]
[x] Parse ExtendedAtom > InvalidBracedQuantifier
[x] Parse ExtendedAtom > ExtendedPatternCharacter
[x] Parse ExtendedAtom > \AtomEscape > CharacterEscape > LegacyOctalEscapeSequence

[x] Early errors

[x] Pattern :: Disjunction(1/2)
[x] Pattern :: Disjunction(2/2)
[x] QuantifierPrefix :: { DecimalDigits , DecimalDigits }
[x] ExtendedAtom :: InvalidBracedQuantifier (Annex B)
[x] AtomEscape :: k GroupName
[x] AtomEscape :: DecimalEscape
[x] NonemptyClassRanges :: ClassAtom - ClassAtom ClassContents(1/2)
[x] NonemptyClassRanges :: ClassAtom - ClassAtom ClassContents(2/2)
[x] NonemptyClassRanges :: ClassAtom - ClassAtom ClassContents(Annex B)
[x] NonemptyClassRangesNoDash :: ClassAtomNoDash - ClassAtom ClassContents(1/2)
[x] NonemptyClassRangesNoDash :: ClassAtomNoDash - ClassAtom ClassContents(2/2)
[x] NonemptyClassRangesNoDash :: ClassAtomNoDash - ClassAtom ClassContents(Annex B)
[x] RegExpIdentifierStart :: \ RegExpUnicodeEscapeSequence
[x] RegExpIdentifierStart :: UnicodeLeadSurrogate UnicodeTrailSurrogate
[x] RegExpIdentifierPart :: \ RegExpUnicodeEscapeSequence
[x] RegExpIdentifierPart :: UnicodeLeadSurrogate UnicodeTrailSurrogate
[x] UnicodePropertyValueExpression :: UnicodePropertyName = UnicodePropertyValue(1/2)
[x] UnicodePropertyValueExpression :: UnicodePropertyName = UnicodePropertyValue(2/2)
[x] UnicodePropertyValueExpression :: LoneUnicodePropertyNameOrValue(1/2)
[x] UnicodePropertyValueExpression :: LoneUnicodePropertyNameOrValue(2/2)
[x] CharacterClassEscape :: P{ UnicodePropertyValueExpression }
[x] CharacterClass :: [^ ClassContents ]
[x] NestedClass :: [^ ClassContents ]
[x] ClassSetRange :: ClassSetCharacter - ClassSetCharacter

[x] Add Span to Err(OxcDiagnostic::error()) calls
[x] Perf improvement

[x] Reader#peek() should avoid iter.next() equivalent
[x] Use char everywhere and split and push 2 surrogates(pair) for Character?
[x] Try 1(+1) loop parsing for capturing groups?

Follow up

[x] @Boshen Test suite > #4242

[x] Investigate CI errors...

Next...

Support ES2025 Duplicate named capturing groups?
Support ES20XX Stage3 Modifiers?

Thanks for the quick review!
Next time, I will:

[ ] Apply Box to enum

with reading that comment and link

[ ] Remove ast_builder

@Boshen  I have managed to parse minimal patterns such as /ab|c/.
I would like to confirm if this direction is correct, so could you provide a review or general advice for implementing the parser at this initial stage?

Thanks for your time!

The architecture is really good!

I'm relieved to hear that. 😎
I'll leave a TODO for chars.nth() within peek() to be addressed later.

Now that we have some of the implementation working, we should think about how to support the regex eslint rules 🤔

@leaysgur hello, im currently working on a smaller version of regex groups, maybe u find some usefull snippets here:
https://github.com/oxc-project/oxc/pull/4096/files
interesting method:

get_regex_group_by_open_bracet

Currently Missing implementations:

Named Captures (named capture can be accessed by it's number reference. (?<foo>a)(\1) is valid)

This is awesome, I'm looking forward to this PR😍
I always had a theory that there are only 5 people on StackOverflow who write all the regex examples and everyone else just copies them into production. If that theory is correct I bet you'd be the 6th after this😆

That's the truth. 😅
I will do my best to reverse my position from copying to be copied side!

Perf trial

Current
pub struct Reader<'a> {
    source: &'a str,
    unicode_mode: bool,
    index: usize,
    // NOTE: For now, this exists only for `span_position()` method.
    char_indices: std::str::CharIndices<'a>,
}

impl<'a> Reader<'a> {
    pub fn new(source: &'a str, unicode_mode: bool) -> Self {
        Self { source, char_indices: source.char_indices(), unicode_mode, index: 0 }
    }

    pub fn span_position(&self) -> usize {
        let mut char_indices = self.char_indices.clone();

        if self.unicode_mode {
            char_indices.nth(self.index).map_or(self.source.len(), |(i, _)| i)
        } else {
            let mut utf16_units = 0;
            let mut byte_index = 0;
            for (idx, ch) in char_indices {
                if utf16_units == self.index {
                    return idx;
                }

                utf16_units += ch.len_utf16();
                byte_index = idx + ch.len_utf8();
            }
            byte_index
        }
    }

    fn peek_nth(&self, n: usize) -> Option<u32> {
        let nth = self.index + n;

        // ❗ This is not efficient
        if self.unicode_mode {
            self.source.chars().nth(nth).map(|c| c as u32)
        } else {
            #[allow(clippy::cast_lossless)]
            self.source.encode_utf16().nth(nth).map(|u| u as u32)
        }
    }

    pub fn peek(&self) -> Option<u32> {
        self.peek_nth(0)
    }
}

Try1: Reuse `Iterator`
pub struct Reader<'a> {
    source: &'a str,
    unicode_mode: bool,
    index: usize,
    u8_units: std::str::CharIndices<'a>,
    u16_units: std::str::EncodeUtf16<'a>,
}

impl<'a> Reader<'a> {
    pub fn new(source: &'a str, unicode_mode: bool) -> Self {
        let u8_units = source.char_indices();
        let u16_units = if unicode_mode { "" } else { source }.encode_utf16();
        Self { source, unicode_mode, index: 0, u8_units, u16_units }
    }

    pub fn span_position(&self) -> usize {
        let mut char_indices = self.u8_units.clone();

        if self.unicode_mode {
            char_indices.nth(self.index).map_or(self.source.len(), |(i, _)| i)
        } else {
            let mut utf16_units = 0;
            let mut byte_index = 0;
            for (idx, ch) in char_indices {
                if utf16_units == self.index {
                    return idx;
                }

                utf16_units += ch.len_utf16();
                byte_index = idx + ch.len_utf8();
            }
            byte_index
        }
    }

    fn peek_nth(&self, n: usize) -> Option<u32> {
        let nth = self.index + n;

        if self.unicode_mode {
            self.u8_units.clone().nth(nth).map(|(_, c)| c as u32)
        } else {
            #[allow(clippy::cast_lossless)]
            self.u16_units.clone().nth(nth).map(|u| u as u32)
        }
    }

    pub fn peek(&self) -> Option<u32> {
        self.peek_nth(0)
    }
}

Try2: Collect `Vec` at first
```rs
pub struct Reader<'a> {
    source: &'a str,
    unicode_mode: bool,
    index: usize,
    units: Vec,
    // NOTE: For now, this exists only for `span_position()` method.
    char_indices: std::str::CharIndices<'a>,
}
impl<'a> Reader<'a> {
pub fn new(source: &'a str, unicode_mode: bool) -> Self {
let units = if unicode_mode {
source.chars().map(|ch| ch as u32).collect::<Vec<>>()
} else {
#[allow(clippy::cast_lossless)]
source.encode_utf16().map(|cu| cu as u32).collect::<Vec<>>()
};
    Self { source, unicode_mode, index: 0, units, char_indices: source.char_indices() }
}

pub fn span_position(&self) -> usize {
    let mut char_indices = self.char_indices.clone();

    if self.unicode_mode {
        char_indices.nth(self.index).map_or(self.source.len(), |(i, _)| i)
    } else {
        let mut utf16_units = 0;
        let mut byte_index = 0;
        for (idx, ch) in char_indices {
            if utf16_units == self.index {
                return idx;
            }

            utf16_units += ch.len_utf16();
            byte_index = idx + ch.len_utf8();
        }
        byte_index
    }
}

fn peek_nth(&self, n: usize) -> Option<u32> {
    let nth = self.index + n;
    self.units.get(nth).copied()
}

pub fn peek(&self) -> Option<u32> {
    self.peek_nth(0)
}

}

</details>

In my environment, `cargo bench --bench parser` said Try2 is faster.

I'll seek for Try3 for a while.

@Boshen ^ How do you think? (maybe also related to https://github.com/oxc-project/oxc/pull/4242#discussion_r1705694511)

Hello @leaysgur
for eslint/no-useless-backreference it would be really nice to have the AST-Span of the Backreference.
But there is a difference with RegexLiterals and the RegExp Obj: The Backlash is double escaped.
See:
  ⚠ no back reference
   ╭─[no_useless_backreference.tsx:1:6]
 1 │ /(b)(\2a)/
   ·      ──
   ╰────
vs.
  ⚠ no back reference
   ╭─[no_useless_backreference.tsx:1:6]
 1 │ new RegExp("(b)(\\2a)");
   ·                 ───
   ╰────

Did you considered this use case for escaped backslashes?
Do we want to catch the doubled backslash?

@Sysix Thanks for your comment!

nice to have the AST-Span of the Backreference.

The current AST for backref already holds span.
Please check https://github.com/oxc-project/oxc/pull/3824/files#diff-8a24d853ad0d7af27dc285d21a4b1f2d6aa97d2fab6153fa441805750266d7e4R245-R248 👀

Did you considered this use case for escaped backslashes?

Yes, but as a RegExp parser, I do not specifically address backslash escaping (rather escape sequences).
Because it's a topic of string literals themselves, not just RegExp.
For now, the treatment of pattern \\2 is (escaped)backslash and (number)2.
My understanding may be wrong and I'm not sure how OXC parser handle these escapes. 😅

Nope… For this reason, we may need to implement a lexer layer...? (And also isolate the surrogate pair issue?)

I solved it in my PR with a simple bool and counted 2 up instead of 1 for the span offset (start) :)
The PR is closed because I am waiting for your PR 🤩
https://github.com/oxc-project/oxc/pull/4096/files#diff-afa407d7754315f9d88597efc36c532c89aabeb1e8639433a3401252efd5b92dR111-R115

@Sysix Sorry to bother you from already closed PR.
But I finally found that we do not need to care about escaped backslash issue you mentioned.
Please see example/parse_file in https://github.com/oxc-project/oxc/pull/5106


Huge difference in perplexity score from iteration to iteration

I am doing two test with the latest code in this repository on Ubuntu 16.04, CUDA-8.0 and I updated my torch last week

With two GPUs and I am using demo data. It's working as expected.

With four GPUs and with the same data The perplexity score is fluctuating too much. With my actual data it is doing that so I wanted to recreate the problem and I am sharing a screen shot

As stated in the guide for asynchronous training:

Note that a GPU core is dedicated to storage of the master copy of the parameters and is not used for training.

So in the first screenshot it is actually a training with a single GPU.
For the second screenshot, the asynchronous computation starts when:
epoch > 1 or iteration < opt.async_parallel_minbatch

with -async_parallel_minbatch defaulting to 1000. In you case, asynchronous computation starts at the beginning of epoch 2 after 649 batches of size 16 which may not be enough to provide a good initialization for asynchronous mode to converge.
With the size of your dataset, I would not use multiple GPUs at all.

I was using this with 20Million training sentences and yes after iteration < opt.async_parallel_minbatch  PPL is jumping from 4001.12 to 199928390.90 and again 54789032.65. Is it right behavior?
After iteration < opt.async_parallel_minbatch I also saw the number of source tokens/s increased from 1900 to 3500.

Did the perplexity completely diverge or did it go down after some iterations?

I will say it is fluctuating too much. I waited 2/3 hours to go down but It did not happen. I will recreate the problem and possible share screen short but as I have only 4 GPUs and 2 of them are used, So i will wait few days to complete one epoch.
Thanks for your support though

Here is the screen shot perplexity odd jumping. It's even becoming NAN and I stop it. I am using same command as above except 4 GPUs

Hello @mdasadul - could you retry the same on a more recent version? the ppl fluctuation  for the first epochs when the async really starts is not that surprising, when the network is not really initialized the async convergence is a bit random since all the replica are fighting against each other to find the way down. as Guillaume stated, you can try to increase async_parallel_minbatch default value to unleash the replica only on a more stable nn.
but the nan is not normal so I welcome any reproduction scenario.

Thanks @jsenellart-systran for getting back to me. I am closing the issue for now and  I will reopen the issue if that problem still exists with more recent version of the code.
Thanks


Vaccine Data Not Updated Since 3/22

The Hourly Vaccine Data has not been updated. The last Date is 3/22. Is there an issue with the hourly bot?

Good evening @dje1591 -- both the time series and the hourly update have been restored, and you will now see data through 3/24/21.

Is there an issue with the hourly update? The file states updated 19 hours ago. Just trying to understand when 3/25 vaccine data will be available.

HI there! You should see the data now @dje1591. Please let us know if you have further questions, thanks!

@marycvaughan Thank you so much! Your hard work is much appreciated!


Add a few presets

init/start/stop with (and without?) long-press

broadcast state feedback - bright background when state active

toggle with (and without?) long-press

broadcast state feedback as per default settings

stream health display

Added presets for all state-transition actions.


vm create: expose --boot-diagnostics-storage to capture boot log

Related command flows will be
    1. az storage account create -g yg -n ygstor --sku standard_lrs
    2. az vm create -g yg4 -n yg4-1  --image ubuntults --boot-diagnostics-storage ygstor

For VM with unmanaged disk, I thought about defaulting the storage account to the os disk's but it turns out not very worthy for 2 reasons:

boot diagnostics only works with standard storage sku, so CLI default on using premium sku will not work.
VMs using managed disk is the majority scenario now which requires a pre-existing storage account any way. So defaulting for vm with unmanaged disk with standard_lrs will be pretty minority, hence could become confusing

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6302
This is an experimental preview for @microsoft users.

Can you make this private build public? I need this functionality for early stage boot diagnostics. I'm not getting anywhere with trying to Stop, enable diagnostics, and reboot. For whatever reason, I can't even get Azure to Stop the VM I'm trying to debug.

@dsboulder, the release date will be around May 22, based on the milestone page https://github.com/Azure/azure-cli/milestones

storage name has to be unique across groups and subscriptions, so accepting a name is  enough


As no valid configuration was found, execution cannot continue" error while running tests from Jenkins on the  CentOS Linux 7

Hi,
The environment:
Host machine: AWS EC2 Jenkins(master-slave)
I am using test containers-java in my project and have few integration tests which get executed when the build happens, these integration tests used to perform DB operations with Postgres(org.testcontainers:postgresql:1.15.2).
This is my jenkins pipeline build stage
steps {
sh 'ls -la /var/run/docker.sock'
sh 'docker -v'
sh 'docker info'
sh 'sudo usermod -a -G docker $USER'  //user=centos //
sh "docker build --target builder -t test-app."
}
I am getting the below error when the docker build happens
Obtained Jenkinsfile from 2a11d91fb43ca687a4658f4704dabcec1c9w2422241697b
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on EC2 (ec2-default) - jenkins-ec2-builder (i-0c2222429) in /home/centos/workspace/test-app
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
Commit message: "Update Jenkinsfile"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh

ls -la /var/run/docker.sock
srw-rw----. 1 root docker 0 Mar  4 05:13 /var/run/docker.sock
[Pipeline] sh
docker -v
Docker version 19.03.12, build 48a6e2424
[Pipeline] sh
docker info
Client:
Debug Mode: false

Server:
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 8
Server Version: 19.03.12
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad1233131133313429
runc version: dc920232323223239dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-1127.13.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 30.26GiB
Name: ip-10-313-3-100.us-east-1. UU.
ID: FIVH:TJ4U:ZFAB:BPU4:MTEU:MNUR:K64F:2D4K:V7DG:OILJ:5CFZ:HCDW
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
[Pipeline] sh

sudo usermod -a -G docker centos
[Pipeline] sh
docker images
REPOSITORY          TAG                 IMAGE ID            CREATED              SIZE

[Pipeline] sh

docker build --target builder -t test-app
[Test worker] WARN org.testcontainers.utility.TestcontainersConfiguration - Attempted to read Testcontainers configuration file at file:/root/.testcontainers.properties but the file was not found. Exception message: FileNotFoundException: /root/.testcontainers.properties (No such file or directory)
[Test worker] INFO org.testcontainers.dockerclient.DockerMachineClientProviderStrategy - docker-machine executable was not found on PATH ([/opt/java/openjdk/bin, /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin])
[Test worker] DEBUG org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy - $XDG_RUNTIME_DIR is not set.
[Test worker] DEBUG org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy - '/root/.docker/run' does not exist.
[Test worker] DEBUG org.testcontainers.dockerclient.RootlessDockerClientProviderStrategy - '/run/user/0' does not exist.
[Test worker] DEBUG org.testcontainers.dockerclient.DockerClientProviderStrategy - UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause NoSuchFileException (/var/run/docker.sock)
[Test worker] ERROR org.testcontainers.dockerclient.DockerClientProviderStrategy - Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
[Test worker] ERROR org.testcontainers.dockerclient.DockerClientProviderStrategy -     UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause NoSuchFileException (/var/run/docker.sock)
[Test worker] ERROR org.testcontainers.dockerclient.DockerClientProviderStrategy - As no valid configuration was found, execution cannot continue

Any thoughts?

You're building an image. There is no /var/run/docker.sock inside the container that builds the image.


feat: show depth in signcolumn

fix #478

Sorry but I think we'll pass on this.

Sorry but I think we'll pass on this.
@lewis6991  thanks for your reply.

Can we instead add api to get context info and a new user event such as ContextRenderPost, so that users can take advantage of the event and api to achieve what is described above?

No sorry, an autocmd wouldn't solve the problem as anything you build off of it may break in the future if we decide to change how the contexts are rendered.
We can't make everyone happy as if we did, the plugin would become low quality and too difficult to maintain.
I didn't want to add go_to_context, but decided to since it was simple enough. The intended use is to enable line numbers (or relative line numbers) and use Ngg or Nk to go to the context, rather than having to remember additional specialized mappings.


Bug report

Aider version: 0.56.0
Python version: 3.12.6
Platform: Windows-10-10.0.19045-SP0
Python implementation: CPython
Virtual environment: Yes
OS: Windows 10 (64bit)
Git version: git version 2.36.1.windows.1
Aider v0.56.0
Main model: openrouter/anthropic/claude-3.5-sonnet with diff edit format, prompt cache, infinite output
Weak model: openrouter/anthropic/claude-3-haiku-20240307
Git repo: \<IP_ADDRESS>\YonaVmDataShare\Projects\SCO.git with 80 files
Repo-map: using 1024 tokens, files refresh
Added uMain.fmx to the chat.
Added uMain.pas to the chat.
uMain.fmx uMain.pas

/ask want to se on teh screen my live camera connected to teh computer, there is sfunction calleed testCamera

Unexpected error: 'APIError' object has no attribute 'response'
Traceback (most recent call last):
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\litellm\utils.py", line 10495, in next
chunk = next(self.completion_stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\openai_streaming.py", line 43, in next
return self._iterator.next()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\openai_streaming.py", line 72, in stream
raise APIError(
openai.APIError: {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 210286 tokens >
204698 maximum"}}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\aider\coders\base_coder.py", line 1124, in
send_message
yield from self.send(messages, functions=self.functions)
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\aider\coders\base_coder.py", line 1408, in send
yield from self.show_send_output_stream(completion)
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\aider\coders\base_coder.py", line 1482, in
show_send_output_stream
for chunk in completion:
^^^^^^^^^^
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\litellm\utils.py", line 10582, in next
raise exception_type(
^^^^^^^^^^^^^^^
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\litellm\utils.py", line 8438, in exception_type
raise e
File "C:\Users\Administrator\pipx\venvs\aider-chat\Lib\site-packages\litellm\utils.py", line 6723, in exception_type
response=original_exception.response,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'APIError' object has no attribute 'response'
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
uMain.fmx uMain.pas

/report

Attempting to open the issue URL in your default web browser...
Browser window should be opened.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
uMain.fmx uMain.pas

As you can see I did not use OPENAI my model is:
Main model: openrouter/anthropic/claude-3.5-sonnet with diff edit format, prompt cache, infinite output
Weak model: openrouter/anthropic/claude-3-haiku-20240307
the file that was included uMain.pas has 3200 lines

As you can see I did not use OPENAI

The log refers to the API used, not the model. May provider use OpenAI compatible APIs with a different API base URL. So if the log says something about OpenAI it does not mean you connecting to openai.com.
The error that I quoted from your issue tells you that the API rejected your request because it was too large.

Got it.
My question is, while I understand that a file should ideally be around 800
lines for optimal performance with Aider, would a file with around 3,000
lines be too large and likely to crash? Also, would it be more manageable
to work with many smaller files that total well over 3,000 lines?
On Wed, Sep 11, 2024 at 11:01 PM fry69 @.***> wrote:

As you can see I did not use OPENAI
The log refers to the API used, not the model. May provider use OpenAI
compatible APIs with a different API base URL. So if the log says something
about OpenAI it does not mean you connecting to openai.com.
The error that I quoted from your issue tells you that the API rejected
your request because it was too large.
—
Reply to this email directly, view it on GitHub
https://github.com/paul-gauthier/aider/issues/1494#issuecomment-2345170103,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAFUORUNAAOA4D6YF23IQULZWD7XPAVCNFSM6AAAAABOB3VKOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGE3TAMJQGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Yona Tauber | Computer Dimensions
P<PHONE_NUMBER>
F<PHONE_NUMBER>
E @.*

Models like gpt-4o and sonnet tend to get confused when you send more then 20-30k tokens. Use /tokens to see what you're going to send.
I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.


Created strings.xml for nb

Proposed for getting the keyboard name into norwegian language.
See this issue for the reason to choose the 'nb' language code: https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1307

@FTno can you check the latest state of Norwegian branch?
https://github.com/AnySoftKeyboard/LanguagePack/tree/Norwegian
It needs some love with flags and stuff.

Created some icons adding the norwegian flag. Use them if you want.
The norwegian flag was found here (Public domain):
https://en.wikipedia.org/wiki/Flag_of_Norway#/media/File:Flag_of_Norway.svg
Attachment:
icons.zip


implemented useMongoDBAuthState function to allow saving authentication data in mongodb

This PR aims to contribute to the development of a new function that makes it possible to maintain authentication data recorded in the mongodb database

🚀

Do you need the mongo models?

Sorry but the idea of Baileys is to provide a non opinionated library. You are more then welcome to publish this as a separate package. Anyways thanks for your contributions anyways!
(Same reason for why I declined the MySQL pr)


Check if notifications are loaded

I created this PR because the notification center was loading an empty message before loading the list.
I added a check before rending the component to make sure it shows the list after requesting the back-end.
FYI @QilongTang

Thanks for looking into this! Good one, would you also bump up the version so we can publish after?


Check white HCM

Some components do not display properly when the High Contrast Mode is enabled with a light background.
To enable High Contrast Mode with a light background with Windows:

go to Settings > Ease of Access > High Contrast
set "Turn on high contrast" to true
in "Choose a theme" select the "High Contrast White" option

We need to test all components and create tickets when a display issue is detected.

https://teams.microsoft.com/l/message/19:meeting_YjllMTQ2NDctMGJhNy00MGMyLTliNzYtN2U0MDg1ZDM4Nzc2@thread.v2/1707816227555?context={"contextType"%3A"chat"}

HCM Light/Dark: Badge checked state is not visible
HCM Light/Dark: Forms invalid and valid feedback + border colors should be kept
HCM Light: Select arrow icon is not visible
HCM Light: Forms elements with disabled attribute are not different from default
HCM Dark/Light: Switch is not usable
HCM Light: Internet Header icons are not displayed
HCM + without: Button Group miss an active state
HCM Dark/Light: Stepper checkmark is not visible
HCM Light: Toast close icon is not visible on hover
HCM Dark/Light: Tooltip arrow has a bigger border

Also note that storybook controls as select are not really visible, neither switch boolean control, but there are several issues on the storybook repo linked to that, so we can let Storybook team address those.


Make extraction target multivalued and implement migrator

Addresses issue https://github.com/microbiomedata/nmdc-schema/issues/2043

Closing this - wonky merge conflicts with this branch.  Switching to https://github.com/microbiomedata/berkeley-schema-fy24/pull/192.


Close login popup do nothing

When I use useGoogleLogin or GoogleLogin it opens popup on click. After I logged it it do onSuccess action, but if I close the popup nothing happens. Can you maybe trigger "onFailure" error?

Added onNonOAuthError now for<EMAIL_ADDRESS>It's supported only for useGoogleLogin, as Google doesn't that for the implicit authentication
If you figured out a way to add it the personalized button, Submit your PR I will be happy to add it.


Monorepo for docker files and starter kits

As you can see, pull requests often come in pairs: one to dockerfiles and one to whatever-starter-kit. It should be one atomic change. Furthermore, it's inconvenient for contributors to propose new platforms without you creating a new empty starter kit repo first.
Consider merging all this stuff into a monorepo.
It will make getting started a bit harder (one can't just clone favorite-language-starter-kit, has to copy a sub-directory), but I think it's worth it.

It makes sense, but our current process more closely resembles actual contest situation: separate repository that contains team solution, separate repository that contains Dockerfiles. We have an internal CI that continuosly checks all starterkits against current Dockerfiles, so I can make sure everything works.
Your suggestion is valid though. I'll give it a thought.


Issue with packages built with pdm-backend 2.x

Hi tox-dev team, I've filed a bug to setuptools but it is related to pipdeptree (manifests through it), I think you may want to be aware - https://github.com/pypa/setuptools/issues/4250.
TL;DR is packages built with pdm-backend 2.x use unexpected normalization for .dist-info folder name, causing pipdeptree to fail mapping requrement to dist.

Thanks 👏 is an upstream problem so closing.

I feel we should normalize package names on our side, PR for that welcome. I don't think it's a setuptools bug.

I feel we should normalize package names on our side, PR for that welcome. I don't think it's a setuptools bug.
Right, my gut feeling is similar. I filed a bug to pdm-backend as well, because that is the source of change - https://github.com/pdm-project/pdm-backend/issues/218


xrdp failed for display 0

#Platform
No LSB modules are available.
Distributor ID:	Uos
Description:	UnionTech OS Desktop 20 Home
#Version of xrdp

ls /tmp/.X11-unix/X* /tmp/.X*-lock /run/xrdp/*

/run/xrdp/xrdp.pid  /run/xrdp/xrdp-sesman.pid  /tmp/.X0-lock  /tmp/.X11-unix/X0
/run/xrdp/sockdir:

/usr/sbin/xrdp --version

xrdp 0.9.9
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2018 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/var/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -fdebug-prefix-map=/build/xrdp-GQ2R2u/xrdp-0.9.9=. -fstack-protector-strong -Wformat -Werror=format-security
      LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
      PKG_CONFIG_PATH=/build/xrdp-GQ2R2u/xrdp-0.9.9/pkgconfig

  Compiled with OpenSSL 1.1.1d  10 Sep 2019

#xrdp installed from package manager or built from scratch?
#symptoms of failure

The username and password you have entered have not been accepted.
Do the username and password you are using with over ssh? What is the username you are using?

dpkg -l | grep openssh-client

ii  openssh-client                                1:7.9p1.1-1+dde                     amd64        secure shell (SSH) client, for secure access to remote machines

1,使用的root用户和密码
2,使用的新建用户和密码
两种方式我试试了,还是报这个错误

XRDP will not let you log in as root or with a UID of 0. You'll need a different user.
I'd recommend setting up a new user as follows:-

UID is 1000 or larger
User name just uses letters 'a' to 'z'.  We've had some reports of problems with systemd when user names have unusual characters in them.
User name not too long. Nine characters or less is recommended.

Get the new user working with an ssh login and then we can look further into what is happening on your system.

Thank you, please ignore, system bug

url:https://bbs.deepin.org/post/204101

Thanks for letting us know what you've found.
I'll close this issue for now.


empty certificate.pem

When extracting the key.pem and certificate.pem from the .p12 file it seems the certificate.pem is empty.

openssl pkcs12 -in PushEmail.p12 -nocerts -nodes -out key.pem
openssl pkcs12 -in PushEmail.p12 -clcerts -nokeys -out certificate.pem

The key.pem is generated with content but the certificate.pem is not.
I might be doing something wrong, but i have repeatedly followed the instructions.
I'm on OSX El Capitan.

Same problem here, actually...

Please read the section, what to export again. I've done the same mistake and only exported the key, not the appropriate certificate.

Thanks, reading again solved the issue for me! I guess i just searched for com.apple.servermgrd.apns.mail and exported that. For others facing this issue: The certificate that needs to be exported starts with 'APSP:' and contains this private key: 'com.apple.servermgrd.apns.mail'


can't pass validation_data to a model with several inputs

I've got a model with two inputs and a single output:
...
model = models.Model([l_in_wv, l_in_ng], [l_out])
model.compile(optimizer="Adam", loss=loss_fn, metrics=[...], sample_weight_mode="temporal")
model.fit([tokens_wv_j, tokens_ng_j], anno_onehot, validation_split=0.2  verbose=1, epochs=20, batch_size=400, sample_weight=sample_weights, callbacks=[checkpoint])

It trains fine as long as I don't try to pass a separate dataset as validation_data, e.g.
model.fit([tokens_wv_j, tokens_ng_j], anno_onehot, validation_data=[[tokens_wv_j_val, tokens_ng_j_val], anno_j_val], verbose=1, epochs=20, batch_size=400, sample_weight=sample_weights, callbacks=[checkpoint])

If I try to do this, the model instantly raises this error
ValueError: Error when checking target: expected l_out to have 3 dimensions, but got array with shape (131943, 50)

I've tried changing the way I pass the dataset to ([tokens_wv_j_val, tokens_ng_j_val], anno_j_val) or ((tokens_wv_j_val, tokens_ng_j_val), anno_j_val) or even (tokens_wv_j_val, tokens_ng_j_val, anno_j_val) (which is obviously wrong, because in this case the third array is considered sample_weights) , but all options only result in a slightly different error message. Is this feature supported? The documentation on multiple-input models tells nothing about it.

Did you fix the problem?
I had a similar one


Optimize toggling logic of options for git

Enable git do not override the existed configuration of auto commit and auto sync after commit. The override level from top to bottle should be auto sync after commit, auto commit and git.


Installing daru on a fresh system

There are couple of problems faced after installing Daru on a new computer.

It produces some NameError.

NameError: uninitialized constant Daru::Accessors::ArrayWrapper::Forwardable

The above error goes away on installing reportbuilder gem

Second is this one:

2.3.0 :002 > dv = Daru::Vector.new [1, 2, 3]
 => #<Daru::Vector(3)>
   0   1
   1   2
   2   3
2.3.0 :003 > dv.to_s
NameError: uninitialized constant Daru::Vector::ERB

This one is the cause of build failure in Statsample here.
It goes away after one do require 'erb'.
The issue can be reproduced doing the following:

rvm remove 2.3.0
rvm install 2.3.0
gem install daru
require 'daru'

Here are all error messages in detail.
Can we include a test in Travis CI to check for such things in future?

It produces some NameError.
NameError: uninitialized constant Daru::Accessors::ArrayWrapper::Forwardable
The above error goes away on installing reportbuilder gem

This should not have anything to do with reportbuilder. ArrayWrapper uses the Forwardable module.
I changed that line to ::Forwardable and added a require 'forwardable and it worked.

It goes away after one do require 'erb'.
Did that too. Pushing in a while.

Need to think of a foolproof way of testing deployment of daru on new systems hmmm....

Should be fixed with https://github.com/v0dro/daru/commit/be6cea41da684830b3eb012f6d660c52d47b2477


[PE-D][Tester C] Typo in group command in UG

Currently, the format says that all three parameters are optional as indicated by the square brackets [ ]. However, when tested in the application, it seems id/NUSID field is required to executed the command.

The same typo can be found in the command summary as well.

Labels: severity.VeryLow type.DocumentationBug
original: lokidoki102/ped#2

Same as #212


Allow underscores in hostnames

A hostname can be set up on freedns.afraid.org with underscores.  The underscores allow for more readable hostnames.  Entering a hostname with underscores in K-9 Mail on android results in the 'Next' button becoming greyed-out.  Other systems permit the usage of underscores (e.g. the google mail client).
Expected behaviour
Underscores in domain names for incoming and outgoing servers should be allowed.
Actual behaviour
The 'Next' button becomes greyed-out.
Steps to reproduce

Go to settings -> Account settings -> Fetching mail or Sending mail -> Outgoing or incoming server settings
Put an underscore in the server name
'Next' becomes greyed-out.

Environment
K-9 Mail version: 5.600
Android version: 9 PKQ1.180729.001
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
Please take some time to retrieve logs and attach them here:

DNS names may contain underscores. Hostnames may not. See https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames


Site format change?

Prerequisites

[x] Did you read FAQ section?
[x] Did you test with the latest releases or commit ?

Description
It appears the site changed again and any of the download options no longer work.
Steps to Reproduce
Just attempt to use a download option and it returns 'NoneType' object has no attribute 'artist'
Versions
You can get this information from executing PixivUtil2.py --help.

Same problem
umping html to: Error medium page for image 65345313.html
Stack Trace: (<type 'exceptions.AttributeError'>, AttributeError("'NoneType' object has no attribute 'artist'",), <traceback object at 0x03802BE8>)
pixivutil.log

They moved everything into two "meta" tags, I just adapted ppixiv to use them. User data with id "meta-global-data" and image-specific data with id "meta-preload-data". Besides that most things parse the same (at least within ppxiv's handling). User data is in a slightly different format.

updated on latest commit, can you try? not fully tested with all mode, so it migth have some issues?

v20191105-beta2 fixed it for me

Still getting occasional issues. I'd estimate about 5% of images:

2019-11-06 01:05:47,974 - PixivUtil20191105-beta2 - ERROR - Error at process_member(): (<type 'exceptions.ValueError'>, ValueError("Single '}' encountered in format string",), <traceback object at 0x040D4F30>) Member Id: 110672
Traceback (most recent call last):
File "PixivUtil2.py", line 576, in process_member
File "PixivUtil2.py", line 861, in process_image
File "PixivModel.pyc", line 722, in WriteJSON
ValueError: Single '}' encountered in format string

json issue already reported in #558
will fix soon

Using the latest release (v20191111) I am still seeing this error when trying to download images.
When I upgraded I carried over the database and the config file from v20190919. Would either of these files cause this issue to continue in the current version?

which image that cause the error?
DB and config should not cause any issue (unless mentioned in the changelog).

I have a lot of examples, but here's one with all the info you requested:
Processing Member Id: 214035
Reading C:\RoboSoftware\pixivutil20190919\config.ini ...
done.
Page  1
Member Url: https://www.pixiv.net/ajax/user/214035/profile/all
Member Name  : 富蔵
Member Avatar: https://i.pximg.net/user-profile/img/2008/06/29/19/56/19/184796_43386d5602d46e022bb8ddf215045095.jpg
Member Token : tomizofu
Member Background : no_background
Processing images from 1 to 46 of 46
Local file exists: C:\RoboSoftware\PixivArtists\富蔵 (214035)\folder.jpg
#1
Processing Image Id: 77610242
Image ID (77610242): 'NoneType' object has no attribute 'imageId'
Dumping html to: Error medium page for image 77610242.html
Stack Trace: (<type 'exceptions.AttributeError'>, AttributeError("'NoneType' object has no attribute 'imageId'",), <traceback object at 0x03D74350>)
Wait for 0.721s

works on latest version here

can you upload the pixivutil.log? delete the old log file first and rerun that member id and then upload it.

Ok. When I run the following I get proper results like you above:
.\pixivutil2.exe --startaction=1 214035
When I run the following I get the behavior I reported above (Enclosed in a Powershell script file):
C:\RoboSoftware\pixivutil20190919\Pixivutil2.exe --startaction=1 63411<PHONE_NUMBER>35 2262016 4507770 4991228 6398752 7349257 9736385 9870296 12436872 12063067 12751315 14371149 15032923 16461231 16833855 17238909 17305623 20223015 20283127 26291244 29535589 32020889 36332168 36451797 40926351 --exitwhendone
Buffer overflow?

not sure, try this one?
C:\RoboSoftware\pixivutil20190919\Pixivutil2.exe  --exitwhendone --startaction=1 63411<PHONE_NUMBER>35 2262016 4507770 4991228 6398752 7349257 9736385 9870296 12436872 12063067 12751315 14371149 15032923 16461231 16833855 17238909 17305623 20223015 20283127 26291244 29535589 32020889 36332168 36451797 40926351

also, you can list the member id in the list.txt and use option 4 instead.

Well your initial correction to my command worked. Don't know why but it does point to something on my end that is somewhere between SNAFU and FUBAR.
And with the number of artists I'm pulling I'm going to switch to list.txt over the overly long command line.
Thanks.


color markup bug in picocli.Main description

picocli.Main demo has a bug:
   description="@|bold Demonstrating picocli @|", // line 14

should be
   description="@|bold Demonstrating picocli |@", // closing markup is |@, not @|

Because of this, the usage help screenshots in the picocli article show markup in the usage message. I worry that users would think this is picocli behaviour on Windows. Would it be possible to fix the screenshot?

Commit 26a38a1 fixes the issue. The screenshots in the article also look good now.  Thanks for your prompt action!


School.yml not found

Hi there,
I'm testing the one-click install and the installation fails at the precompilation of the Rails assets, with the error that the file /home/app/webapp/config/school.yml can't be found. This could be a documentation error (one-click install docs don't mention it) or with the installation script (server/Autolab/bin/setup.sh is supposed to copy it but is never called).
Thanks!

Hello @GjjvdBurg we have pushed a fix for this in master. Please pull the latest master and let us know if you have any further issues

@nayak16 Thanks!


Floating point

It would be interesting to have floating point range with the possibility to tweak the number of decimal places.

I do not quite understand what you mean. Can you please describe more clearly.

I'd like to have a range from 1.0 to 30.0 with a step of 0.1. Is it possibile?

FluidSlide.position changes from 0.0f to 1.0f. Here is shown how to change range and bubbleText: https://github.com/Ramotion/fluid-slider-android/issues/2#issuecomment-364995790

Thanks!


[WIP] Vapor 2 Compatibility

Updates for Vapor 2 compatibility.
Follows file structure of MySQL library.

I'll see to getting Travis to run.

If we can get Circle to allow us to test macOS builds then we should drop Travis. It's such a configuration pain.

Codecov Report

Merging #22 into master will decrease coverage by 52.25%.
The diff coverage is 37.88%.

@@           Coverage Diff            @@
##           master   #22       +/-   ##
========================================
- Coverage   76.25%   24%   -52.26%
========================================
  Files           2     5        +3
  Lines         139   450      +311
========================================
+ Hits          106   108        +2
- Misses         33   342      +309

Impacted Files
Coverage Δ

Sources/PostgreSQLProvider/Error.swift
0% <0%> (ø)

...ources/PostgreSQLProvider/Droplet+PostgreSQL.swift
0% <0%> (ø)

Sources/PostgreSQLProvider/Driver+Config.swift
18.75% <18.75%> (ø)

Sources/PostgreSQLProvider/Provider.swift
45.37% <87.5%> (ø)

Tests/PostgreSQLProviderTests/ProviderTests.swift
95.45% <95.45%> (ø)

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 087f7fc...b16b5a8. Read the comment docs.


Fix: No need to update composer itself twice

This PR

[x] stops updating composer itself twice

💁♂ See, for example,

https://travis-ci.org/WsdlToPhp/PackageGenerator/jobs/408827252#L426
https://travis-ci.org/WsdlToPhp/PackageGenerator/jobs/408827252#L439

Codecov Report

Merging #142 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #142   +/-   ##
==========================================
  Coverage      98.73%   98.73%
  Complexity      1603     1603
==========================================
  Files            110      110
  Lines           3796     3796
==========================================
  Hits            3748     3748
  Misses            48       48

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 90bf226...b130d43. Read the comment docs.

Thank you, @mikaelcom!


fix readme

While deploying to my cluster I noticed that the example values.yaml in the readme is not correct.
The username and password values should be under the key basicAuth for both loki and prometheus.

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

Ooh! Thank you so much for this. Good catch. Can you make the same change in charts/k8s-monitoring/README.md.gotmpl? That's the source file for README.md and we use helm-docs to generate it.


ACCESS_TOKEN_LIFETIME not working as expected in Prod

Hello,
I'm facing a very strange issue in which the ACCESS_TOKEN_LIFETIME is always getting expired after an hour no matter what is the timedelta value I set, also this happens only after  deployment, I am  new to this so please let me know what other details are required to help you debug this.
I'm current using
 djangorestframework-simplejwt==5.0.0
I even tried installing the latest version 5.1.0

Settings for jwt would be great. Seems like you might be using env vars on deployment or you have separated settings files

SIMPLE_JWT = { 'ACCESS_TOKEN_LIFETIME': timedelta(days=60), # 'REFRESH_TOKEN_LIFETIME': timedelta(days=1), # 'ROTATE_REFRESH_TOKENS': False, # 'BLACKLIST_AFTER_ROTATION': False, # 'UPDATE_LAST_LOGIN': False, 'ALGORITHM': 'HS256', # 'SIGNING_KEY': settings.SECRET_KEY, # 'VERIFYING_KEY': None, # 'AUDIENCE': None, # 'ISSUER': None, # 'JWK_URL': None, # 'LEEWAY': 0, # 'AUTH_HEADER_TYPES': ('Bearer',), # 'AUTH_HEADER_NAME': 'HTTP_AUTHORIZATION', 'USER_ID_FIELD': 'id', 'USER_ID_CLAIM': 'id', # 'USER_AUTHENTICATION_RULE': 'rest_framework_simplejwt.authentication.default_user_authentication_rule', 'AUTH_TOKEN_CLASSES': ('rest_framework_simplejwt.tokens.AccessToken',), # 'TOKEN_TYPE_CLAIM': 'token_type', # 'JTI_CLAIM': 'jti', # 'SLIDING_TOKEN_REFRESH_EXP_CLAIM': 'refresh_exp', 'SLIDING_TOKEN_LIFETIME': timedelta(hours=24), # 'SLIDING_TOKEN_REFRESH_LIFETIME': timedelta(days=1), }

is it reproducible on local? Because if it's only reproducible on production, then I can't really help. The settings look fine to me.

It doesn't replicate on my local, anyways thanks for your time. It would be great if you have any suggestions what should be my next step?

If you are using v5.2.1 downgrade or add verifying key.
https://github.com/jazzband/djangorestframework-simplejwt/issues/627
https://github.com/jazzband/djangorestframework-simplejwt/pull/629
https://github.com/jazzband/djangorestframework-simplejwt/pull/629/files

This is resolved in 5.2.2 or downgrading to 5.2.0. Apologies for the troubles and delay. We did not think carefully about this merge.


Introduce a dictionary type

As fell out of the discussion in #144.
I'm going to be difficult and say that we should probably aim for making the dictionaries take any hashable key, not just string keys. (Like in Python.) Without that extra requirement, I would slap a "low-hanging fruit" label on this issue, but with it, it's a wee bit bigger.
Why do I want that? Because experience shows that hashes are central to many other things one might want to build, and allowing anything-hashable makes some code a lot nicer. Sets, bags, graphs come to mind. And I know more than one reason to want to key on tuples/enums, once we get them. So the high road it is.
What should "hashable" mean for the purpose of this issue? Let's go with "has a hash method". Maybe some requirements should be placed on that method, but that can probably wait. Also, once 007 has interfaces, then Hashable should probably be one. But all in due time.
A number of methods that currently sit on Val::Object (fsvo "sit") ought to move to and/or be rethought for Val::Hash:

get
keys
has
update/extend

Some of these should maybe be available in some form on Val::Object too? For example, Q::Postfix::Property in runtime.007 is currently implemented as a hash indexing operation:
        Q::Postfix::Property(op) {
            return eval(op.operand)[eval(op.property)];
        },

This is clearly leaning on the "objects-as-hashes" confusion we're about to erase — in other words, there's already a relevant use case in user code that we don't want to erase completely.
I don't feel ready to propose a solution yet. Just noting that sometimes it's useful to treat an object as something slightly hash-like.

Before we address this issue, we should do some thinking about how we want the syntax to look. The property shorthands like varname and method() {} are useful for object literals; less so for dictionary literals.
Worse, the object literal syntax builds on object properties having string keys (which they do, and still will), but for dictionaries we will need something that doesn't assume string keys.
This, in the end, is why Python doesn't have autoquoted keys, I suspect.

I'm going to be difficult and say that we should probably aim for making the dictionaries take any hashable key, not just string keys. (Like in Python.)

This is easier than it might first seem. We don't have all that many hashable built-in types:

Val::Bool
Val::Int
Val::Str
Val::Type

Hm, Val::Sub, Val::Macro, Val::Regex and Val::Exception are sort of on the fence. We could perhaps make them hashable, but it might not be in their best interest to be hashable, so let's conservatively make them not-hashable for now.
The biggest thing to watch out for is basically that 5 won't hash the same way as "5".

In Ruby, hash keys can be anything. However you might need to manually rehash

Interesting. Perl 6 could essentially also have a .rehash method if it wanted, I guess.
Putting my language designer hat on, I think 007 has enough Python in it to want to disallow up front rather than go the route of re-hashing when things mutate. I grant that the question comes down mostly to taste.

I'm going to be difficult and say that we should probably aim for making the dictionaries take any hashable key, not just string keys. (Like in Python.) Without that extra requirement, I would slap a "low-hanging fruit" label on this issue, but with it, it's a wee bit bigger.

Vide this tweet and this tweet.

Here's a summary of this issue, and an attempt to enumerate the forces that apply to the design. If you feel cognitive dissonance reading the below criteria, it's because they're mutually opposing in many cases.

Consistency. It'd be nice if we could use "the same" syntax for object terms and for dictionary terms. For example, we'll use curly braces ({}) and colons (:) in both, because that's what people expect. And we either want to autoquote everywhere, or nowhere.

Autoquoting. Makes sense for string-key data structures (like objects), but not for data structures where the keys can be anything hashable (like Python dictionaries).

Shorthands. The varname and method () {} shorthands (a) only really make sense on objects, and (b) kind of half-rely on autoquoting because that's when the sugar comes out nice.

Convertibility. It's perfectly reasonable, and sometimes even desirable, to render an object as a hash, in order to do more dynamic lookup on it, or process it in some other way. Converting from hash to object would also be possible, provided the hash only had string keys.

Hashability. Hashing only on strings is simple but arbitrary. (It could be seen as an aspect of stringly typed code.) Allowing hashing on anything which is immutable enough to function as a hash key makes a lot more sense, and allows for the easy implementation of other useful data structures, such as Set and Bag. (Those can be implemented with just string-key hashes, too, but the complexity of hashing other things would bubble up in the implementation of those data structures. The same problem would need to be solved over and over again.)

Looking at the above, the path forward looks quite straightforward after all:

Keep auto-quoting keys in object terms.
Disable auto-quoting keys in hashes (losing full Consistency, but that's the only one we lose).
Keep the shorthands in object terms.
Let objects be convertible to hashes through a method.
Hash on anything hashable.

Also, it would mean the proposed syntax is now:
my obj = new Q::Literal::Int {
    value: 42
};    # exactly the same as before, including auto-quoted keys if you want

my dict = {
    "value": 42
};    # the quotes are mandatory here
hash = obj.Dictionary();    # proposed conversion method syntax

I started out calling the above type Hash, but the conversion method .Hash() ends up looking very much like the hashing method .hash(), which isn't good. So Python ends up bequeathing the name "dictionary"/"dict" to 007 as well. Can't say I care much for that name, but the one upside is that it'll be easier to motivate why 007 dictionaries are so similar to Python dictionaries.

The .update and .extend methods would move over to dictionaries. Well, .update could keep existing on objects too, but I don't know if there's a strong use case for it. Maybe converting-to-dictionary, then updating, then converting back is in some sense clearer and a better separation of concerns.

What should looping over a dictionary do?
In Python, it loops over the keys:
$ python3 -c'
d = { "a":1, "b":2, "c": 3 }
for k in d:
    print(k)'
c
a
b

In Perl 6, it loops over the pairs:
$ perl6 -e'my %h = a => 1, b => 2, c => 3; .say for %h'
a => 1
c => 3
b => 2

In Perl 5, it loops over a flattened list of keys and values:
$ perl -Mstrict -wE'my %h = (a => 1, b => 2, c => 3); say for %h'
b
2
c
3
a
1

Finally in Java, you can't loop over a Map directly, but you instead have to specify whether to loop over keys, values, or entries (pairs).
Since the designs are all over the place, I'm left to my own judgement on this. I kinda like Perl 6's approach, because it gives you both key and value without judging. Together with some kind of destructuring, that's quite enough. But I hadn't planned on giving 007 pairs, at least not at this point. Tuples we may get, but also not quite yet.
So I think I'll go with the Java approach, which has the advantage of being the most boring and conservative one. At least then it'll be easy to upgrade to something nicer later.

Converting from hash to object would also be possible, provided the hash only had string keys.

I suddenly realized that the main use case for this would be the .create method; see #208. For example, runtime.007 wants to do this when implementing Q::Term::Object.eval, because its task is exactly "I have this bunch of key/value mappings (a dictionary), make me an object from that".

I think dictionaries (like Val::Object and like Python dictionaries, but unlike Perl 5/6 hashes) should throw an exception if lookup fails. But I'm open to having one of them get() methods (with the second default being non-optional in 007's case, because we don't have optional parameters by default).

I added the "needs-more-design" label to this, because when I picture the {} and the new Q {} syntax co-existing, both with braces but each with its own rules about key quoting and stuff, it feels... hard to use. Program authors would trip up on it. I would trip up on it.
So we probably need two slightly more different syntaxes to distinguish them. Needs more design.
In completely unrelated news, back in November and December I started a branch for this issue, and got more or less stuck — basically the kind of stuck brought on by overwhelming changes without a really clear direction.

I'm going to be difficult and say that we should probably aim for making the dictionaries take any hashable key, not just string keys. (Like in Python.) Without that extra requirement, I would slap a "low-hanging fruit" label on this issue, but with it, it's a wee bit bigger.

I think this early requirement might have been a mistake. Even though using any hashable type for keys is nice, language-wise, the cost for it is pretty big.
Notably, the syntax
{ foo: 42 }

in a language that only supports strings as keys is "free" to assume that foo is a string key here, like so:
{ "foo": 42 }

(Python, on the other hand, can't.)
So firstly, it's nice to be able to skip quotes on dictionary keys.
Secondly, the above syntax is strangely consistent with the short-hand:
{ foo }

For
{ foo: foo }

That is
{ "foo": foo }

There is some other syntactic bit here that's also bugging me about not being able to to assume that keys are strings... related to object creation. But I can't quite put it into words now.

Why do I want that? Because experience shows that hashes are central to many other things one might want to build, and allowing anything-hashable makes some code a lot nicer. Sets, bags, graphs come to mind. And I know more than one reason to want to key on tuples/enums, once we get them.

I mean, this is all still true, it's just that the language design cost is higher than I expected.

Oh, hey — add Object (after #144) as a hashable type, too. Trivially hashable, even. It's counter to how people will probably use Object instances most of the time... but they are hashable and if someone wants to, they could.

Oh, hey — add Object (after #144) as a hashable type, too.

This... does not seem like a good idea. Not sure what I was thinking. :smile: If we make Object hashable, then everything is suddenly hashable.

So we probably need two slightly more different syntaxes to distinguish them. Needs more design.

This seems to be resolving itself now, since we're moving in the direction of #307 and #308. Sure, with #299 in the mix we'll still have the colon in both syntaxes, but they'll be differentiated enough I think by the different contexts they occur in.
Removing the needs-more-design label.

It just occurred to me that we might be able to steal Perl 6's :{} syntax directly for hashes/dictionaries that take any hashable key, not just strings. Just a thought.
It's possible that this syntax need not be on my default. Maybe one can import it via a module.