_ is not defined and browseriy

Hi,
I am getting the dreadful _ is not defined in the file generated by browserify, even though I require the proper libs in the right sequence in the source js file, like such:
require('../../bower_components/angular/angular.js');
require('../../bower_components/lodash/dist/lodash.compat.js');
require('../../bower_components/angular-lodash/angular-lodash.js');

Any thoughts?
Thanks!

if you're using browserify, why not simply do var _  = require('lodash')? I dont think this has something to do with angular-lodash

Thanks. I will give this a try and re-open the issue if it does not work.


abnormal phenylalanine levels

Add new terms:
abnormal phenylalanine level (a child of abnormal amino acid level MP:0005332)
DEF: anomaly in the amount of phenylalanine (2-amino-3-phenylpropanoic acid), an aromatic amino acid that is alanine in which one of the methyl hydrogens is substituted by a phenyl group; it is an essential alpha-amino acid and the precursor of tyrosine, the monoamine neurotransmitters dopamine, norepinephrine and epinephrine, and the skin pigment melanin
DEF SOURCE: CHEBI:28044, https://en.wikipedia.org/wiki/Phenylalanine
increased phenylalanine level
DEF: increase in the amount of phenylalanine (2-amino-3-phenylpropanoic acid), an essential alpha-amino acid that is the precursor of tyrosine, the monoamine neurotransmitters dopamine, norepinephrine and epinephrine, and the skin pigment melanin
decreased phenylalanine level
DEF: reduction in the amount of phenylalanine (2-amino-3-phenylpropanoic acid), an essential alpha-amino acid that is the precursor of tyrosine, the monoamine neurotransmitters dopamine, norepinephrine and epinephrine, and the skin pigment melanin
SYN:  reduced phenylalanine level

Added new terms:
abnormal phenylalanine level MP:0030696
increased phenylalanine level MP:0030697
decreased phenylalanine level MP:0030698


auto-linkification of topics links incorrectly generate relative links

If you're on, say, mysite.zulipchat.com and create a stream called #general>cooldomain.com, a little blue ↗ appears next to it which you can click on.  Cool!  Unfortunately this takes me to https://mysite.zulipchat.com/cooldomain.com which was probably not the intent; it should probably go to https://cooldomain.com/.

Library plug: if these are being generated server-side, hyperlink will let you perform this transformation in a structured way by doing something like this:
>>> from hyperlink import parse
>>> parse("example.com")
DecodedURL(url=URL.from_text('example.com'))
>>> url = parse("example.com")
>>> if not url.scheme:
...     url = url.replace(scheme='https', host=url.path[0], path=())
...
...
>>> url
DecodedURL(url=URL.from_text('https://example.com'))

@aero31aero can you investigate this?  It seems like potentially a regression.

❤


add usb test in edge-simplified-installer

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

This PR needs new coreos-installer rpm which was created on 12/09/2022 and the current snapshot is 20221115.
May need to wait https://github.com/osbuild/osbuild-composer/pull/3200 merged to update the repo snapshot.

@runcom in https://github.com/osbuild/osbuild-composer/pull/3065, you created a new case, includes new image, new vm. And in this pr I just added an usb disk to existing case. Do you think it's ok?

@runcom in #3065, you created a new case, includes new image, new vm. And in this pr I just added an usb disk to existing case. Do you think it's ok?

yeah, as long as we have other cases without usb it's good :+1:

included in https://github.com/osbuild/osbuild-composer/pull/3302 , closing this pull request.


Present on Worker Co-ops for JROST

The evening of December 15th Zane is presenting about using a worker co-op as an organizational container for open source / open science projects. Invited by Danielle Robinson at Code4Society.

Issue moved to catalyst-cooperative/business #20 via ZenHub


fix: make disabled prop work correctly on Link

This change will prevent a <Link /> element from navigating if the disabled prop is true,
The route will still prefetch on hover when disabled which I could also disable if requested.
Fixes #230

@tannerlinsley This change has been merged for a while and I would like to use it in my project. I can see it was included in pre-release version v3.6.5, however I can't find a matching version on npm. Can any of the pre-releases be installed from npm? Also, do you have a timeframe for the next stable release?
Thanks for all the work you do in these amazing open-source projects!

Try @tanstack/react-location


[Issue] Exporting items with nbt data not possible with me-bridge

Minecraft version: 1.16.5
Forge version: 36.0.42
AdvancedPeripherals version: 0.3.10b
I tried to export a enchanted book with a me-bridge into a chest.
'listItems()' shows:
{     {         amount = 1,         displayName = "Enchanted Book",         name = "minecraft:enchanted_book",         nbt = "{StoredEnchantments:[{lvl:1s,id:\"minecraft:mending\"}]}"     } }
exporting with 'exportItem("minecraft:enchanted_book",1,"down")' gives the following error:
Item minecraft:enchanted_book does not exist in the ME system or the system is offline
I can export other items with the same setup no problem. I also have problems with other items and they all have in common that they have nbt data and AE2 lists them as different items with the same name.
Other mods use some kind of hash over the nbt data do differentiate between those items and sometimes give the option to ignore nbt data completely. For example here, here. One solution would be to use the normal name like now to extract items while ignoring the nbt data so already written programs don't break but use something like this to extract specific items. To use this 'listItems()' needs an entry with the hash for every item in the system.

Added in https://github.com/Seniorendi/AdvancedPeripherals/commit/eaaeb28c69f57808cfe647610804261c4fd824c1 . I will upload 0.4b tomorrow, I need to create the documentation.

It seems to still not be working for me on version <IP_ADDRESS>b.
I made a quick script to sort items for my RS system. It works with cables for examples but won't work for any armor piece or tools.
Haven't tested with an AE system.

Could you show me your script?

Sure thing: https://pastebin.com/KW13d76n
It's a bit dirty atm but the call to exportItem is made line 21. I also tested exportItemToChest with the same results.


[v5] On-demand Shader Selector

A map to return the intended shader for the shader input into UIEffect.
Supports UIEffect shaders other than Hidden/<origin_name> (UIEffect).
Supports dynamically mutated shaders, such as SoftMaskForUGUI.

UI/Default -> Hidden/UI/Default (UIEffect)
UI/Default (SoftMaskable) -> Hidden/UI/Default (UIEffect)(SoftMaskable)

This would be a superset of the fallback behavior.

It is scheduled to be released in version 5.1.0! :+1:

:tada: This issue has been resolved in version 5.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add convenience functions for build/run in release mode

Added functions for both building and running with the --release option, for convenience purposes.

Thanks!


Mobile wallet footer

KPR, KBD, Connected Account account were very cramped in mobile version. I added a fixed footer component for those elements. I also fixed a width issue with the SVG and centered the links in the header with a placeholder icon on the right side for the time being. I think for mobile a good direction could be to loose the documentation, github, registry footer and add those as a modal opened from a "?" icon on the right side of header. I realize a lot of these aesthetic changes may seem premature but I'm using them as a way to get to know the code base. My next issues involve the limitations of current connectable wallets.

Sis....

Thanks for all the PRs.


[Bug/Glitch] "Display HUD" option does not hide the "new recipies unlocked" popup

Legacy4J Version
1.7.2
Mod Loader Version
Fabric Loader 0.16.0
Bug/Glitch Occurrence Context
Go to Settings > User Interface > "Display HUD" and set it to "off". Unlock new recipes so the popup shows up.
Crash Report
No response
What happened wrong?

Apon turning on the "Display HUD" option, it does not hide the "New recipes unlocked" popup.

this happens in the LE too, the toasts were visible even with the Display HUD disabled


Empire agent breaking backend by sending multiple cookies with unique ID

Empire Version
OS Information (Linux flavor, Python version)
Running Empire on the latest Kali (Linux kali 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-7kali2 (2016-01-27) x86_64 GNU/Linux)
Python 2.7.11
Target OS - Microsoft Windows 10 Version 10.0.10586
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
I've been working on a setup where I log into a remote VPS using reverse tunneling with SSH (ssh -R 8080:localhost:8080 ) and the VPS has NGINX to upstream requests to localhost:8080. This forwarding requests works fine, I can test this with my browser as well as a stager connecting for the first time. Update: I have now also tested this with a plain TCP proxy, this seems to a bug in the agent.
As soon as a launcher has downloaded the stager it decrypts it properly but when this connects the first time it works, second time empire actually breaks:

Exception happened during processing of request from ('<IP_ADDRESS>', 36940)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 655, in init
self.handle()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/root/Documents/Empire/lib/common/http.py", line 80, in do_GET
name, sessionID = part.split("=")
ValueError: too many values to unpack

Looking at a capture I can see what is happening:

GET /index.asp HTTP/1.1
Cookie: SESSIONID=F2CC4EMAC2W1KSYF,SESSIONID=GT3PMXT1WPUNMYNF

Somehow the client checks in with two IDs. I originally thought this was caused by NGINX itself (I'm still unsure) so I disabled any Set-Cookie headers but the agent should send this header itself, it isn't set through any Set-Cookie from the empire backend. Current configuration for NGINX is:

server {
listen 80;
   location / {
           proxy_pass https://localhost:8080;
   }

}

Screenshot of error, embedded text output, or Pastebin link to the error
Mentioned above in the description.
Any additional information

I get why it breaks from looking at the code, I don't get why the agent would send these multiple IDs from a clean system.

Was digging some more, found the issue comes when you set a launcher to use >1 attempts. It adds a new ID to the list of ID's for the checkin. This is what happens when I set the launcher to use 10 attempts:

GET /index.asp HTTP/1.1
Cookie: SESSIONID=XLZNMHS4WKSD2UTD,SESSIONID=CFVDMEALMLBPWVCS,SESSIONID=XCKEHYUR4HVTAWTG,SESSIONID=1NVFNDUN1ZFL4YMF,SESSIONID=P34XKW1RUXBCNLWK,SESSIONID=RMG4YKHP1XA1XMAU,SESSIONID=SW4212LXSVEGZCNN,SESSIONID=YZGM4ZP3XGZFAWMM,SESSIONID=VAZAAUFBAEHMZXMB
Host: AAAAABLABLABLA
Connection: Keep-Alive
HTTP/1.0 200 OK
Server: Microsoft-IIS/7.5
Date: Sun, 05 Jun 2016 21:33:37 GMT

I was having the same issue with the cookies field that contain multiple unique ID's, but in the do_POST() method at line 95 (defined right below the do_GET() ).
Could be a different issue, but it occurred when I was attempting to go through proxies as well.
In my case, the culprit was hiding at line 104, with the delimiter ';' of the cookie.split method.
Changing the delimiter to ',', as in
parts = cookie.split(",")
each part (in parts) was having a clean sessionID to be extracted and everything going smoothly afterwards.
Maybe because this problem comes up only when using intermediates, it has not been issued separately (and I am hesitant to do so myself as too new in here). But after my 'fix' it still function, intermediates (hops) or not.
Hope this helps !

@0x3a,
Do you mind giving the above solution a try and see what happens?
Thanks!

That fix worked, sorry I never replied to this issue. Not sure if its a nice fix as the IDs that are cached might be different in order? (not sure how cookie order is specified).

I have an issue similar to that. I'm using Empire 1.6.
When creating a launcher for an HTTPS listener with anything different than StagerRetries set to 0, the launcher will not work properly (though I can see some hits in the access logs). If I use StagerRetries > 1, I get an error message similar to the following:
----------------------------------------
Exception happened during processing of request from ('X.X.X.X', 56853)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/opt/Empire/lib/common/http.py", line 122, in do_POST
    name, sessionID = part.split("=")
ValueError: too many values to unpack
----------------------------------------

Note: this message is printed once when using StagerRetries = 2, twice when using StagerRetries = 3, etc..

@qgrosperrin Can you test this with the 2.0_beta branch??

@qgrosperrin I'm am going to close this out. If you can replicate this, just comment here and we can revisit this.


Export-SqlLogins not exporting Object Level permissions

Need to add EnumObjectPermissions to be able to export database level object permissions.  I am thinking the below should work.
Collect and output Object Level Permissions
                $perms = $sourcedb.EnumObjectPermissions($username)
                foreach ($perm in $perms)
                {
                    $permstate = $perm.permissionstate
                    $permtype = $perm.PermissionType
                    $grantor = $perm.grantor

                    if ($permstate -eq "GrantWithGrant")
                    {
                        $grantwithgrant = "WITH GRANT OPTION"
                        $permstate = "grant"
                    }
                    else
                    {
                        $grantwithgrant = $null
                    }

                    $outsql += "$permstate $permtype ON $($_.ObjectName) TO [$username]"
                }

Hi @js0505,
I think that enhancement as place on a new command Export-SqlUser (along with Copy-SqlUser).
We can't forget that Login object is not the same as User object. Mixing both here is not the best option (IMHO).
I have a draft for Export-SqlUser. I will add both to trello board.
But I want to here other opinions :smile:

Also - the script exports using ALTER ROLE even on 2008 R2 systems.  Need to update script to focus on version and then use either exec sp_addrolemember or ALTER ROLE .

Also - Script does not output the "SCHEMA::[dbo]" on something like GRANT VIEW DEFINITION ON SCHEMA::[dbo] TO UserA  output is GRANT VIEW DEFINITION ON TO UserA.

This command is for exporting logins so would not include specific database level object permissions, and shouldn't. A database level permission would be included in a separate command, and maybe at that point we could make a wrapper to do something like Export-DbaSqlAccount that utilizes both Export-DbaSqlLogin and Export-DbaSqlUser.
Closing this for now...if anyone feels it should be opened by all means.


⚠ GreatPosterWall has degraded performance

In 1b41426, GreatPosterWall ($GPW) experienced degraded performance:

HTTP code: 200
Response time: 8073 ms

Resolved: GreatPosterWall performance has improved in 750208b.


S3 upload ssl exception

I tried d3 upload sample but always got "Unable to execute HTTP request: Write error: ssl=0x55a55d6250: I/O error during system call, Connection reset by peer" error   i share my problem on link
I need help for solve exception

Are you using the sample in the repo or following the tutorial that you linked?

I tried both of them. If you look upload method you will see they are same.

I found my exception reason after 3 days. Reason is cognito credential region and s3 region at different region. I hope this answer help others


The Cookie needs to set SameSite

Since the February Chromium update the Browser update cookie provides an error.
It should be updated

This should be fixed now.

It's not. This is after clearing the cache:

These cookies are only set when you visit the browser-update.org site. This is not set by the script, so normally this error should not show up if you just see the bar.

Also the cookie __cfduid will be gone by May 10.
See:
https://blog.cloudflare.com/deprecating-cfduid-cookie/


Retention Creation Confusion

I created a ticket about this, and talked to a support tech (Case# 26731025).
If I go in to information governance, retention, and create a retention policy, and assign a mailbox to it for testing, after enabling archiving, I don't see a message in the inbox stating it has a policy setup on it (did the generic retain for 7 years, and then delete).  When I deleted the account, it did not show up as an inactive mailbox.
If I go to classic exchange after enabling archiving, and enable an old MRM based retention policy, it shows up in outlook, and when I delete the mailbox, it shows up in the inactive mailbox.
Basically my issue is none of the retention documents I have found have worked, and even state I should not use the MRM anymore, but I have found that retention doesn't work unless I do, and the tech even said I should still keep using classic exchange MRM for now, and that at some point the features there will be migrated to the modern exchange interface.

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

ID: ef663fdc-1776-3c73-7743-332796c284e6
Version Independent ID: ceb29788-39be-8c30-b92a-7a22243ebe83
Content: Create and configure retention policies to automatically retain or delete content - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/create-retention-policies.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

Looking into this

@yogkumgit what writer-input-required are you all needing, to warrant the tag?  I haven't seen any questions, just @cabailey  looking in to it 5 days ago.

@rconiv  Thanks for your patience while I reviewed the case notes and made inquiries from the support team.  There are just 2 scenarios where you might need to continue to use the older retention policies: For an archiving policy (applicable to you) to move emails from the primary mailbox to the archive mailbox, and to automatically apply different retention settings to different Outlook folders (instead, users can achieve the same result by applying a default retention label).   If you need to continue to use the older retention policies for these scenarios, they can work side by side with Microsoft 365 retention policies and retention labels.
We'll add these exceptions to the documentation to clarify when you might need to keep using them.  But for the stated business requirement I see in the support notes (for eDiscovery purposes, retain email for 7 years and then permanently delete it), a Microsoft 365 retention policy is recommended and should work. I don't see anything in the notes that suggest it wouldn't work and you should exclusively use the old retention policies?

Thanks, what we are needing it for is when someone leaves the company, and I delete their M365 Office license, the mailbox will go to inactive.  If I enable archiving, and have everyone in the company or just the person tied to the policy I created under the M365 Admin\compliance\information governance\retention policies, and delete the account (did on test account), it doesn't show up under inactive inbox in the retention policies area.  It also doesn't show retention is enabled in Outlook 365.
If though I have the archive enabled, but go in to classic exchange admin center and then go to recipients\mailboxes, and double click on the person while in something that is not Edge Chromium (it crashes a lot as soon as I pick anything in there), and go to mailbox features and under retention pick something besides MRM default, it will show up as a retention policy on the persons inbox and when I delete the account it shows up in the inactive inbox area in retention policies under the modern M365.
Basically the issue is, is the documentation, and the website I am doing this in, is saying I should use the modern M365 Admin area, but it doesn't seem to actually enable the retention policy created there, or at least what is needed to have a mailbox go to inactive mode when deleted, and is just deleted.

Yes, what you're requesting for an inactive mailbox is documented here: https://docs.microsoft.com/en-us/microsoft-365/compliance/retention-policies-exchange#when-a-user-leaves-the-organization
"If a user leaves your organization and the user's mailbox is included in a policy for retention, the mailbox becomes an inactive mailbox when the user's Microsoft 365 account is deleted. The contents of an inactive mailbox are still subject to any retention policy that was placed on the mailbox before it was made inactive, and the contents are available to an eDiscovery search. For more information, see Inactive mailboxes in Exchange Online."
It doesn't explicitly include archiving but I don't see why that would make any difference and I don't see this issue being addressed in the support notes.  If the mailbox didn't go inactive for you I'm wondering if it was because of a timing delay.  What did the support engineer advise here?
Can you also explain what you mean by the retention policy "... doesn't show retention is enabled in Outlook 365".  What were you expecting to see that wasn't there?

I found that if I didn't enable archiving, I could pick either retention option, and and when the mailbox was deleted in M365, it didn't go to inactive mode.  If I did activate it, and enable the retention in classic mode, it would go inactive.  I though could enable archive, and retention in the modern M365, wait a day or 3, and delete the account, and it wouldn't go to inactive mode.
The support engineer basically said I have to enable archiving and do retention in classic mode, because the capability hasn't migrated yet to the modern mode, even though there are banners all over classic mode saying do this in modern mode.  They did though say the modern view retention is either everyone, or have to pick people one at a time.  It was a phone conversation, so I can't copy/paste exactly what they said.
When I enable archiving, and the retention in classic view it would eventually say on emails that they would be deleted in 7 years.   At least there used to be, though I had turned off the retention on my account in classic view at some point, and just turned it back on, so it could take a while to see if it shows up again.

Thanks for the screenshot - yes, that's the same notification on emails I see when I assign Microsoft 365 retention policies to a mailbox, and the experience is documented here: https://docs.microsoft.com/en-us/microsoft-365/compliance/retention-policies-exchange#user-notification-of-expiry-date  If you weren't seeing this for your retention policy, it might be a timing delay and you should ask the support engineer to investigate (I didn't see this in the support case notes). The behavior doesn't change if you enable archiving.
I've verified that the behavior and timing for a mailbox going inactive is also the same for Microsoft 365 retention policies as it is for MRM. I didn't see this addressed in the support notes either, but the first thing to confirm is that the policy is assigned to the mailbox before the account is deleted.
Good news - you don't have to select users one-by-one if you configure a retention policy for Exchange and you use the options to "include" or "exclude". You can select distribution groups or email-enabled security groups and behind the scenes, these groups are automatically expanded to select the mailboxes of the users in the groups. This is a very efficient way to select multiple recipients who are already grouped, and we're soon going to release another feature that is even more flexible - adaptive scopes. Then you'll be able to specify users based on their Azure AD attributes, such as users in a specific region or specified departments. You can also use custom Exchange attributes. It's called adaptive because new users will be picked up (or removed) dynamically. In the meantime, you might want to look into the group configuration, documented here: https://docs.microsoft.com/en-us/microsoft-365/compliance/create-retention-policies#configuration-information-for-exchange-email-and-exchange-public-folders
In summary, we do recommend you use Microsoft 365 retention rather than MRM, even if for now, you need to carry on using MRM for your archiving policy (and the two solutions are designed to co-exist). Microsoft 365 retention has a lot of benefits that you can easily extend to other workloads, with new functionality and enhancements being added all the time. I'll close this GitHub Issue for the documentation now that we clarify the two MRM features that don't have parity: https://docs.microsoft.com/en-us/microsoft-365/compliance/retention#use-retention-policies-and-retention-labels-instead-of-older-features.
Thank you for your patience in trying the new retention policies, and I encourage you to talk with Support again to investigate the unresolved issues you raised.


[Bug]: external-name can't be set on Instance.rds.aws.upbound.io/v1beta1

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
rds.aws.upbound.io/v1beta1 - Instance
Resource MRs required to reproduce the bug
apiVersion: rds.aws.upbound.io/v1beta1
kind: Instance
metadata:
  annotations:
    crossplane.io/external-name: eu1lab-eks001-default-mysql-1
  name: mysql-1-d6msv-q7h8m
spec:
  deletionPolicy: Delete
  forProvider:
    allocatedStorage: 20
    applyImmediately: false
    autoMinorVersionUpgrade: true
    availabilityZone: eu-west-1b
    backupRetentionPeriod: 0
    backupWindow: 14:00-16:00
    caCertIdentifier: rds-ca-rsa2048-g1
    copyTagsToSnapshot: true
    dbSubnetGroupName: private_net_vpc-***
    deleteAutomatedBackups: true
    enabledCloudwatchLogsExports:
    - audit
    engine: mysql
    engineVersion: 8.0.35
    instanceClass: db.t4g.small
    iops: 3000
    licenseModel: general-public-license
    maintenanceWindow: Mon:11:00-Mon:14:00
    manageMasterUserPassword: true
    maxAllocatedStorage: 1000
    multiAz: false
    networkType: IPV4
    optionGroupName: default-mysql-8-0
    parameterGroupName: eu1lab-eks001-default-mysql-1
    performanceInsightsEnabled: false
    port: 3306
    publiclyAccessible: false
    region: eu-west-1
    skipFinalSnapshot: true
    storageEncrypted: true
    storageThroughput: 125
    storageType: gp3
    username: root
    vpcSecurityGroupIds:
    - sg-06d7ecbe89aabc75a
    - sg-048580a25883584ad
  initProvider: {}
  managementPolicies:
  - '*'
  providerConfigRef:
    name: upbound-provider-aws
  publishConnectionDetailsTo:
    configRef:
      name: default
    metadata:
      labels:
        secret.crossplane.io/owner-uid: 98f13eb9-d748-4787-b0ba-bec432febf2d
    name: default-mysql-1-rdsinstance

Steps to Reproduce
create Instance ManagedResource with custom custom name set by crossplane.io/external-name: eu1lab-eks001-default-mysql-1 annotation
What happened?
During above MR creation in console I was able see in EXTERNAL-NAME column mysql-1-d6msv-q7h8m name
In AWS Resource was named: terraform-20240301080146611000000001
After resource was successfully provisioned in AWS, crossplane changed value of crossplane.io/external-name to db-EZPPTHUGTJANNMPS7SMQI4QGYE (In AWS Console this value is visible as ResourceID)
Relevant Error Output Snippet
No response
Crossplane Version
1.15.1
Provider Version
1.1.0
Kubernetes Version
1.27.x
Kubernetes Distribution
local/kind
Additional Info
No response

We have the same behaviour

<EMAIL_ADDRESS>@mlubanski try this

@shxdxwraze thx, worked for me.
However if you describe the managed resource the external-name is still generated by crossplane.
apiVersion: rds.aws.upbound.io/v1beta2
kind: Instance
metadata:
  name: aleks-test-01
spec:
  providerConfigRef:
    name: provider-aws
  forProvider:
    identifier: aleks-test-01

k get managed

NAME                                        SYNCED   READY   EXTERNAL-NAME                   AGE
instance.rds.aws.upbound.io/aleks-test-01   True     True    db-IZ3A2WLOJTEG4HBTMMJJXH4ELQ   8m2s

@mlubanski, is this still an issue?

I face the same issue. I've tried setting the identifier but got an error spec.forProvider.identifier: field not declared in schema
Setting metadata.name also didn't help

I've added the identifier, but ArgoCD can't sync the change successfully.

In the CRD, I can see the identifier added under the 'last-applied-configuration' annotation, but it's not present under 'spec'.

Which API version are you using in your composition?
spec.forProvider.identifier doesn't exist in v1beta1, only in v1beta2 and
v1beta3.
On Thu, Aug 15, 2024, 11:21 PM Momchi @.***> wrote:

I've added the identifier, but ArgoCD can't sync the change successfully.
image.png (view on web)
https://github.com/user-attachments/assets/c4992535-6ee3-495e-9309-cbb9dea144a8
In the CRD, I can see the identifier added under the
'last-applied-configuration' annotation, but it's not present under 'spec'.
—
Reply to this email directly, view it on GitHub
https://github.com/crossplane-contrib/provider-upjet-aws/issues/1185#issuecomment-2292893325,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2UAJGZ4B6J6OMS6QVPATZRWLADAVCNFSM6AAAAABEBLDSK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJSHA4TGMZSGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
com>

@mbbush, I use apiVersion: rds.aws.upbound.io/v1beta2

Update:
Currently, I see the 'identifier' under the specs in the CRD:
apiVersion: rds.aws.upbound.io/v1beta2
kind: Instance
metadata:
annotations:
...
...
spec:
forProvider:
...
...
identifier: xyz
Also, as I was renaming the DB Identifier manually via the AWS console, it was scheduling to rename the instance back to 'terraform-XXXXXXX' during the maintenance window, but now that's not the case. Now I think that the issue is more probably related to ArgoCD, which is unable to sync the changes properly.

@mlubanski, is this still an issue?


Upgrade compatibility to DGL 0.5.0+

Currently, Graphein is built with DGL 0.4.3
This throws an error:
File "d:\desktop2.0\prot\graphein\graphein\construct_graphs.py", line 23, in <module> from dgllife.utils import mol_to_bigraph, mol_to_complete_graph, mol_to_nearest_neighbor_graph File "D:\Anaconda\envs\myenv\lib\site-packages\dgllife\__init__.py", line 9, in <module> from . import model File "D:\Anaconda\envs\myenv\lib\site-packages\dgllife\model\__init__.py", line 8, in <module> from .model_zoo import * File "D:\Anaconda\envs\myenv\lib\site-packages\dgllife\model\model_zoo\__init__.py", line 33, in <module> from .acnn import * File "D:\Anaconda\envs\myenv\lib\site-packages\dgllife\model\model_zoo\acnn.py", line 14, in <module> from dgl import BatchedDGLHeteroGraph ImportError: cannot import name 'BatchedDGLHeteroGraph' from 'dgl' (D:\Anaconda\envs\myenv\lib\site-packages\dgl\__init__.py)
See: https://github.com/dmlc/dgl/issues/2104
This has also been mentioned in #16

I'm working on it. I think there might be some other compatibility issues as well and let me try to make a PR for graphein.

Thanks @mufeili that would be great!


Ability to serialize enums as strings

According to serde docs, it is more idiomatic to serialize enums as strings, rather than as numbers. As far as I can see, currently TOML deserializer implementation forces enums to be represented as numbers. Maybe add a flag which would tweak this behavior?

Currently the way enums are treated in this crate are as sort of "case statements" when decoding. This crate will attempt to decode each enum variant, returning the first successful one. This means that enums like Option<T> decode if the field isn't or is present, and you can otherwise express multiple forms of configuration for one key with an enum value.
Did you see different behavior locally though?

I'm not sure what exactly do you mean. What I'm saying is, currently toml-rs forces enums to be serialized/deserialized as numbers. This follows from the error I'm observing, and also from the code. Here is a part of impl de::Deserializer for Decoder for enum variants:
        for variant in 0..variants.len() {
            let mut de = VariantVisitor {
                de: self.sub_decoder(self.toml.clone(), ""),
                variant: variant,
            };

Here, variant is usize. In the VariantVisitor there is the following code:
    fn visit_variant<V>(&mut self) -> Result<V, DecodeError>
        where V: de::Deserialize
    {
        use serde::de::value::ValueDeserializer;

        let mut de = self.variant.into_deserializer();

        de::Deserialize::deserialize(&mut de)
    }

Here, the self.variant value is turned into a "constant" deserializer which always yields this number to the visitor. This code fails with a type error if the actual TOML document contains a string instead of a number, e.g.
value = "First"

instead of
value = 0

for an enum like
enum Something {
   First, Second,
}

According to serde documentation, this is not how enums are supposed to be serialized.
Maybe I don't understand something, and this code does something else than I think it does, but for the following enum:
#[derive(Deserialize, Debug, Copy, Clone, PartialEq, Eq)]
pub enum ChangeMode {
    #[serde(rename = "sequential")]
    Sequential,
    #[serde(rename = "random")]
    Random,
}

and the following TOML document:
mode = "random"

I'm getting an invalid type: string error when using toml::Decoder.

Hmm, that's interesting. If I change mode = "random" to e.g. mode = 1 in the piece of code I provided in #132, I also get an error about invalid type:
Error: invalid type: integer
DecodeError {
    field: None,
    kind: InvalidType(
        "integer"
    )
}

How then enums should actually be represented for TOML decoder to understand them?

In general the serde TOML behavior is just modeled after the rustc-serialize TOML behavior (quite old at this point). This crate's stance is that it explicitly doesn't support encoding/decoding arbitrary Rust values, but rather instead intends to facilitate ergonomic decoding of values. In that sense enums are interpreted not as rust enums but basically switch statements of how to decode.

Ok I'm going to close this because I believe that this is largely a Deserialize/Serialize implementation issue and I think that Serde even has support for attributes like this now?


22369 - fixing issue with missing message text.

*Issue:22369 *https://github.com/bcgov/entity/issues/22369
Description of changes:

fix issue with message text.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-dashboard-dev--pr-22-2gjr6ws6.web.app


have trouble running mathematica

My wolfram works well in terminal, but when i press the button to run in obsidian, there is no reaction. And I can't find any issue that report this. So I post this to inquire.

Also, I have noticed that it seems that the setting for mathematica was connected to setting of kotlin. By which i mean, when you change the path of Kotlin, the path of mathematica will also change. It seems a bug.

Hi! Yep, I see that bug too. I've made a hotfix for the issue; thank you very much for reporting it!
Could you try running your script in a file? If you put your script in file.wls and run wolframscript file.wls, then it will replicate what the plugin does more closely.

Partially fixed in #152

#151 is released in 1.3.0. I think we can close this issue?

Thank you very much for fixing this!

You're welcome.


[MINOR] improvement(client): flushing buffer if the size of the first record of WriterBuffer larger than buffer size

What changes were proposed in this pull request?

Flushing buffer if the size of the first record of WriterBuffer larger than buffer size.
hasRequested is always true when the first record is inserted to the buffer, so remove this condition in this case.

Why are the changes needed?
More accurate.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
No need.

hasRequested is needed, please see the original comment.

hasRequested is needed, please see the original comment.

Updated.


Bottlerocket - SelfManaged NodeGroup - extra parameter issue

Hi,
I am facing a weird issue when trying to add the following parameters to bottlerocket via bootstrap_extra_args .
This works fine :
      bootstrap_extra_args = <<-EOT
        [settings.host-containers.admin]
        enabled = true

        [settings.host-containers.control]
        enabled = true

        [settings.kubernetes.node-labels]
        "nodegroup" = "stable"
        "eks-cluster-name" = "tf-eks-devops-ontario"

        [settings.kubernetes.kube-reserved]
        cpu = "100m"
        memory = "300Mi"
        ephemeral-storage = "1Gi"

        [settings.kubernetes.system-reserved]
        cpu = "100m"
        ephemeral-storage = "1Gi"
        memory = "100Mi"

        [settings.kubernetes.eviction-hard]
        "memory.available" = "200Mi"
        "nodefs.available" = "5%"

      EOT

Adding the last argument block, as seen in the feature PR ( https://github.com/bottlerocket-os/bottlerocket/pull/2930 ) , causes kubelet to fail, the node does not join the cluster, SSM does not start so i can test the issue....
     bootstrap_extra_args = <<-EOT
        [settings.host-containers.admin]
        enabled = true

        [settings.host-containers.control]
        enabled = true

        [settings.kubernetes.node-labels]
        "nodegroup" = "stable"
        "eks-cluster-name" = "tf-eks-devops-ontario"

        [settings.kubernetes.kube-reserved]
        cpu = "100m"
        memory = "300Mi"
        ephemeral-storage = "1Gi"

        [settings.kubernetes.system-reserved]
        cpu = "100m"
        ephemeral-storage = "1Gi"
        memory = "100Mi"

        [settings.kubernetes.eviction-hard]
        "memory.available" = "200Mi"
        "nodefs.available" = "5%"

        [settings.kubernetes]
        "shutdown-grace-period" = "60s"

      EOT

If i start the node without that argument and do
apiclient set settings.kubernetes.shutdown-grace-period=60s
it acccepts the command .
This is only for selfmanaged nodegroups, Karpenter managed nodes with this setting work fine.
Anyone else seen this ? I have no clue what crazy magic is causing this ....

Ok, i got it.... It was because of the LaunchTemplate which adds some default fields
[settings.kubernetes]
"cluster-name" = "****"
"api-server" = "*********eks.amazonaws.com"
"cluster-certificate" = "*******"
"cluster-dns-ip" = ["<IP_ADDRESS>"]
"shutdown-grace-period" = "60s"
"shutdown-grace-period-for-critical-pods" = "30s"

So adding another  [settings.kubernetes] block lower in the template caused it to fail; this worked though :
bootstrap_extra_args = <<-EOT
        "shutdown-grace-period" = "60s"
        "shutdown-grace-period-for-critical-pods" = "30s"

        [settings.host-containers.admin]
        enabled = true

        [settings.host-containers.control]
        enabled = true

        [settings.kubernetes.node-labels]
        "nodegroup" = "stable"
        "eks-cluster-name" = "tf-eks-devops-ontario"

        [settings.kubernetes.kube-reserved]
        cpu = "100m"
        memory = "300Mi"
        ephemeral-storage = "1Gi"

        [settings.kubernetes.system-reserved]
        cpu = "100m"
        ephemeral-storage = "1Gi"
        memory = "100Mi"

        [settings.kubernetes.eviction-hard]
        "memory.available" = "200Mi"
        "nodefs.available" = "5%"

      EOT


Change Default UI to New Display and Add Test Suite

Description of changes:

Change Default Value to the new display.
Add test suite for the output formats.
Change expected test suite to use old format as a temporary fix.
Fix issue that dry-run didn't run well with expected

This is what calling kani on a file looks like by default -

Call-outs:
To get the old output display, pass the flag --output-format old.
The new output display has an issue where --visualize doesn't act well with the --output-format flag. A fix is in the works.
Testing:

How is this change tested? Added a new test suite

Is this a refactor change? No

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Yes, that change makes sense. That is coming up next.

Does it make sense to add --output-format old in compiletest itself

This might make it difficult to write tests against other output formats. We'd have to see if multiple --output-format would mean last one wins on my new code, or if it'd just error.


Cloned Repo and I get Error: Failed to acquire configuration: Keycloak is misconfigured

I cloned the repo and followed the installtion steps closely and I keep getting
Error: Failed to acquire configuration: Keycloak is misconfigured
I know my keycloak api requests are working and all the urls in the config are fine, not sure why this is happening.
this seems to be an issue in main.js getting the config correctly

Hi @CodeNameNinja,
The Keycloak is misconfigured error likely means that you haven't supplied all the custom environment variables necessary for the application to run. The custom-environment-variables.json file provides a complete mapping of ENV variables to the config that the node application will see, and the default.json provides generic defaults for all non-sensitive config values. If you are running this on a local machine, you'll need to create a local.json file the values you want set in the same directory as custom-environment-variables.json. For more information on how the config library loads and searches for environment variables, take a look at this article: https://github.com/lorenwest/node-config/wiki/Configuration-Files.
At an absolute bare minimum, you will want your local.json to at least have the following values defined:
{
  "frontend": {
    "keycloak": {
      "clientId": "REDACTED",
      "realm": "REDACTED"
    }
  },
  "server": {
    "keycloak": {
      "clientId": "REDACTED",
      "publicKey": "REDACTED",
      "realm": "REDACTED",
      "clientSecret": "REDACTED"
    },
    "logLevel": "debug",
    "morganFormat": "dev"
  }
}

You may need more configured depending on your own personal environments. Hope that helps.

No this did not work
its still complaining that keycloak is misconfigured
{
"frontend": {
"keycloak": {
"clientId": "REDACTED",
"realm": "REDACTED",
"serverUrl": "REDACTED"
}
},
"server": {
"apiPath": "/api/v1",
"baseUrl": "http://localhost:8080",
"basePath" : "/",
"bodyLimit": "30mb",
"keycloak": {
"clientId": "REDACTEDt",
"clientSecret": "REDACTED",
"serverUrl": "REDACTED",
"realm": "REDACTED"
},
"logLevel": "debug",
"morganFormat": "combined",
"port": "8080"
}
}

Make NODE_ENV production seemed to resolve my issue


bing "CAPTCHA"  error

just an error that started occurring while searching using Bing Chatbot.
It appears that Bing is requesting verification that I'm not a bot and proceeds to give me a link that will confirm that I'm human.
However, that link is just a search link in Bing that doesn't lead to any prompt of any kind.
Can someone clarify what am I doing wrong?
the error:
Error:
You must pass Bing's verification. Please go to https://www.bing.com/search?q=Bing+AI&showconv=1&FORM=hpcodx and send a message
CaptchaChallenge: User needs to solve CAPTCHA to continue.

OS: kali linux
Browser: chrome
Extension Version: 2.3.9

Can you see the chat button on Bing's official website? If you don't have chat permission, you won't be able to pass the verification.

I have the same error, but I can't resolve the captcha clicking in cloudflare box, it gives me an error


Out of scope call to redtxt.val() was throwing an error.

redtxt.val() was throwing an error since it was not in scope. Changed to use redfnval instead.

woha, people are using this, cool :)

Yep. Using it to build a Map Reduce educational tool for Learning Registry.
Sent from my iPhone
On Feb 8, 2012, at 5:29 AM, Jan<EMAIL_ADDRESS>wrote:

woha, people are using this, cool :)

Reply to this email directly or view it on GitHub:
https://github.com/janl/jscouch/pull/2#issuecomment-3867495


Models

Description
This PR accomplishes the following:

Removes old ORM folder.
Adds additional hash canaries to check changes in the hash.
Adds a ObjectId class so Pydantic object can validate ids at a minimal level.
Updates the template tests so they work on OSX.
Adds an OptimizationDocument class to represent the QCFractal optimization data.

Effectively a lot of little changes to the data to prevent later data munging.
Status

[ ] Changelog updated
[ ] Ready to go

This pull request introduces 5 alerts when merging a6ab9e0e660a88d910578d1193e5c48c2963df22 into 8bef7c283ab55648efc3dcccb7b642c417a7fc58 - view on LGTM.com
new alerts:

5 for Unused import

Comment posted by LGTM.com

This pull request introduces 1 alert when merging 1e71c242644a4509c65951f6a27d4d49f74934db into 8bef7c283ab55648efc3dcccb7b642c417a7fc58 - view on LGTM.com
new alerts:

1 for Unused import

Comment posted by LGTM.com

This pull request introduces 1 alert and fixes 1 when merging 963c2ecde9a95b8485911d52d543fe5b582ffb64 into 8bef7c283ab55648efc3dcccb7b642c417a7fc58 - view on LGTM.com
new alerts:

1 for Unused import

fixed alerts:

1 for Mismatch between signature and use of an overridden method

Comment posted by LGTM.com

This will required a QCEngine bump as well, which come today. Please review if you have time.

This pull request introduces 1 alert and fixes 1 when merging 96124c92940bc5e28c668a2a78952ae110a8baea into 8bef7c283ab55648efc3dcccb7b642c417a7fc58 - view on LGTM.com
new alerts:

1 for Unused import

fixed alerts:

1 for Mismatch between signature and use of an overridden method

Comment posted by LGTM.com

Pulling this, failures due to QCA ecosystem disruption.


Context issues with solid-element

I have 2 custom elements created with solid-element. One is a context provider and the other is a consumer.
<sld-component-a message="hello world"> // message gets added to a provider
  <sld-component-b></sld-component-b> // hello world gets rendered in here
</sld-component-a>

It works fine if the consuming element is a direct child of the provider. However, when the child is further down in the DOM the consumer will instead get the default value of the context instead.
<sld-component-a message="hello world">
  <div>
    <sld-component-b></sld-component-b> // renders the default context value instead of the updated value from the message
  </div>
</sld-component-a>

Working example:
https://stackblitz.com/edit/solid-vite-se4fzw?file=src/index.tsx

I see.. hmm.. interesting and tricky since it suggests that connectedCallback happens earlier than I'm expecting. Basically at clone time rather than when element.isConnected time. Stackblitz isn't really letting me debug (it hangs with the debugger open) but I will see if I can pull this project somewhere else and confirm this.
Thanks for reporting.

It isn't what I thought thankfully. It's simpler. Just need to fix the lookup.

Thank you so much! I've been really stoked with solid so far. I love what you're doing.

Yeah it isn't released yet but I will release it in the next patch version in the next day or so. So look out for 1.3.3.

I've already built the latest solid-element locally and can confirm that the problem is solved on my end. 🙏


jsoup update to 1.10.2 breaks getting the subpage

See the following code. This site is using a "#No.Title" on page "http://mov-world.net/archiv/TV/A/"
When i used version 1.83 i managed to download this page with "%23No.Title". But this seems broken in "1.10.2"
I tried some things but i do not know how to fix this.
	String url;

	/* this one works fine with 1.83.
	 * If i use 1.10.2 i get a site result: "main.archive.inc.php Fehler 6: Der Ordner "%23No.Title" existiert nicht!"
	 *
	 */
	url = "http://mov-world.net/archiv/TV/A/%23No.Title/";

	/* 1.10.2: the next one results in the content of "http://mov-world.net/archiv/TV/A/" and not the subpage!
	 *
	 */
	url = "http://mov-world.net/archiv/TV/A/#No.Title/";

	/* 1.10.2: this one generate a exception
	 * java.lang.IllegalArgumentException: Malformed URL: http%3A%2F%2Fmov-world.net%2Farchiv%2FTV%2FA%2F%23No.Title%2F
	 * */
	url = URLEncoder.encode( "http://mov-world.net/archiv/TV/A/#No.Title/", "UTF-8");

	Response response = Jsoup.connect(url)
			.method(Method.GET)
		    .execute();

	Document doc = response.parse();

	LOG.info(doc.toString());

in fact, 1.10.1 works fine. I suspect it has something to do with this change: "Bugfix: in Jsoup.Connect, URLs containing non-URL-safe characters were not encoded to URL safe correctly."

I'm seeing the same behavior with encoded URLs. If the page is 'https://www.nar.realtor/educsess.nsf/programsbyTopicfrm?OpenForm&CategoryName=Hot Topics'
it will load into the document just fine. But the location attribute is set to 'https://www.nar.realtor/educsess.nsf/programsbyTopicfrm?OpenForm&CategoryName=Hot%2520Topics'
I switched to 1.10.1 and it's behaving as expected (thanks @EdwinKM)

Also find the bug in version 1.10.2.

Simply don't encode url at your side will be OK, or it would be encoded twice. Yesterday I also faced this issue when I try to upgrade from 1.8.3 to 1.10.2, after realized that I would have to change my code at several place I finally gave up and stay at 1.8.3 for a while.
Good luck.

This is fixed by 56a728d482ce0c88cd9513eca1e7c7585f0718f9 which is in 1.10.3. I'll leave this open until that's released. Apologies for the problems this has caused.

jsoup 1.10.3 is out now: https://jsoup.org/news/release-1.10.3


METRON-148 compress logs with logrotate

Add compress configuration for logrotate.d/ configurations
Tested using the logrotate -f /etc/logrotate.d/metron-* commands

kicking travis

Looks good to me, Otto. How did you test it?

vagrant - full_dev and quick running >logrotate -f /etc/logrotate.d/metron-{CONFIGNAME}
I changed some of the retain numbers down to 1/2 as well while testing

If you know a better way - I'd be happy to learn it

Nope those are the best ways. I'd be happy with only quick_dev, but I'm good with both.
+1, thanks!


Looks like we cannot locate the path the 'chromedriver' if limit is included

OS: osx 10.12.6
Python version: 3.6.5
Issue steps:
When running CLI with -l or --limit option specified, the following error is returned.
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine
executing without -l works fine.
Attempted to use json input but still returning same error. json file contents below:
{     "Records": [         {"keywords": "tops","limit": 1000},         {"keywords": "jacket","limit": 1000}     ] }

@kevng9 the limit is set to 100 if you do not specify thee -l flag. If you want to download more than 100 images, you will have to specify the -cd flag and give the path to chromedriver that is installed in your machine. More details can be found in the documentation of this project.
Do let me know if that works for you.

Closing this issue for now. If you are still experiencing this issue, feel free to reply back here.

@hardikvasa I'm having this error happen in this following environment:
Ubuntu 16.04.3 LTS
ChromeDriver 2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881) on port 9515
Command:
googleimagesdownload --config_file gid.json --chromedriver /home//bin/chromedriver
... where that path does work I checked it separately.

The precise error is
(fastai) paperspace@ps2ev9u4q:~/data$ googleimagesdownload --config_file gid.json --chromedriver ../bin/chromedriver
Item no.: 1 --> Item name = vespa gtv
Evaluating...
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine

@boxabirds i am guessing based on your PR #98 , this issue is now resolved for you.
sorry for the late reply. Let me know if you have any other questions.

Hi no I'm not having any more luck, the exception doesn't take me any further. Nowhere can I find simple examples of where the chromedriver binary should be and the path that I included isn't working.

Have you tried giving the chromedriver inside python in a dictionary ? Maybe this will work and the error is somewhere in the argument parsing to it
is the path to the executable or to the folder containing the executable? It must be  directly to the executable, not only the folder
Why are there two "/" in your path? Maybe this breaks it
Try an absolute path

@boxabirds yes it is either the path issue as Kevin suggested or it could be with the google chrome browser itself.
can you follow this guide to fresh install google-chrome-stable?
https://askubuntu.com/questions/510056/how-to-install-google-chrome
do let me know if that works.

Chrome's working fine -- I was able to run it directly ok. I'll have a look at it another time. BTW it'd be nice if you had an option to exclude the number prefixes. I've done a local build with a new flag that excludes it as an option

Hi,
I have the same issue. my chromedriver is installed in /usr/bin and I'm running the following code:
python3 google_images_download.py -k 'cat' -cd ../../../usr/bin -l 140
google_images_download.py file's path: ~/Documents/google-images-download/google_images_download
And the same error appears when I run the code:
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine (exception: Message: 'bin' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home )
Any solution?

Exactly the same issue on my side...
I tried locating the chromedriver in the same folder of setup.py or in the same folder as google_images_download.py (changing the -cd path accordingly of course).
Nothing helped...

OK, I was able to make it work like this:

Installed the chromium-chromedriver: sudo apt-get install chromium-chromedriver
Adding the path to the selenium line.
Line 167 in ./google_images_download/google_images_download.py to:
browser = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver")

@omrysendik thanks a lot for sharing your knowledge. It worked for me perfectly as well :+1:

chromdriver ==2.40 fail ,but re-roll to 2.37 ,all confused resolved   ,see  more detail in
#120

I was having the same problem, turns out you have to provide the path to the executable itself, not just the path. For example:   /usr/bin/chromedriver , not just   /usr/bin/

googleimagesdownload -k "car" -l 150 --chromedriver C:\Users\rsushmitha\Downloads\chromedriver_win323
Item no.: 1 --> Item name = car
Evaluating...
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine (exception: Message: 'chromedriver_win323' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home)

I had my chromedriver in this location - "/usr/lib/chromium-browser/chromedriver"
So just append your previous command with --chromedriver /usr/lib/chromium-browser/chromedriver
Hope it helps.

OK, I was able to make it work like this:
1. Installed the chromium-chromedriver: sudo apt-get install chromium-chromedriver

2. Adding the path to the selenium line.
   Line 167 in ./google_images_download/google_images_download.py to:
   browser = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver")

Thank You ! This works perfectly fine.

OK, I was able to make it work like this:

Installed the chromium-chromedriver: sudo apt-get install chromium-chromedriver
Adding the path to the selenium line.
Line 167 in ./google_images_download/google_images_download.py to:
browser = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver")

I find the easy to fix this
2.
googleimagesdownload -k "angelababy" -cd /usr/lib/chromium-browser/chromedriver -l 400
thanks everyone

While using arguments,
you can specify the path...kinda like this
First
response = google_images_download.googleimagesdownload()
Then,
arguments = {"keywords": query,  				"format": "jpg",  				"limit":200,  				"print_urls":True,  				"size": "medium",  				"aspect_ratio": "panoramic", 				"output_directory": r"E:\Python Coding\Images download\Images3", 				"chromedriver": r"E:\DATA SETS & compressed\chromedriver_win32\chromedriver.exe"}
Then,
response.download(arguments)
Keep it inside try: and catch:

could also be you rights on the chromdriver are not the appropriate one (let's chromedriver is root root and you are trying to run the script as ubuntu ubuntu)

Here is the solution that work for me.
Step 1
Download chrome browser where you want it (https://chromedriver.chromium.org/downloads)
Step 2
from google_images_download import google_images_download
press ctrl and click google_images_download and open google_images_download.py file
go to line 177 where it is written as browser = webdriver.Chrome(chromedriver, chrome_options=options)
change it to browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
Here chromedriver is not the name of folder, but its the exe file

Here is the solution that work for me.
Step 1
Download chrome browser where you want it (https://chromedriver.chromium.org/downloads)
Step 2
from google_images_download import google_images_download
press ctrl and click google_images_download and open google_images_download.py file
go to line 177 where it is written as browser = webdriver.Chrome(chromedriver, chrome_options=options)
change it to browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
Here chromedriver is not the name of folder, but its the exe file
Note: This (D:/chromedriver_win32/) should be your path to chrome file

I use the same method as you, but I still get wrong.
File "google_images_download.py", line 179
browser = webdriver.Chrome('D:/chromedriver_win32/chromedriver', chrome_options=options)
^
TabError: inconsistent use of tabs and spaces in indentation

Here is the solution that work for me.
Step 1
Download chrome browser where you want it (https://chromedriver.chromium.org/downloads)
Step 2
from google_images_download import google_images_download
press ctrl and click google_images_download and open google_images_download.py file
go to line 177 where it is written as browser = webdriver.Chrome(chromedriver, chrome_options=options)
change it to browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
Here chromedriver is not the name of folder, but its the exe file
Note: This (D:/chromedriver_win32/) should be your path to chrome file

I use the same method as you, but I still get wrong.
File "google_images_download.py", line 179
browser = webdriver.Chrome('D:/chromedriver_win32/chromedriver', chrome_options=options)
^
TabError: inconsistent use of tabs and spaces in indentation

actually you have made indentation error. can you post the screen shot

这是适合我的解决方案。
步骤1
在您想要的地方下载Chrome浏览器（https://chromedriver.chromium.org/downloads）
步骤2
from google_images_download import google_images_download
按ctrl并单击google_images_download并打开google_images_download.py文件
转到第177行，将其写为browser = webdriver.Chrome(chromedriver, chrome_options=options)
将其更改为browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
此处chromedriver是不是文件夹的名称，而是它的exe文件
注意：这个（D：/ chromedriver_win32 /）应该是你的chrome文件的路径

我使用与你相同的方法，但我仍然错了。
文件“google_images_download.py”，第179行
browser = webdriver.Chrome（'D：/ chromedriver_win32 / chromedriver'，chrome_options = options）
^
TabError：缩进中标签和空格的使用不一致

实际上你做了缩进错误。你可以张贴屏幕截图吗？

这是适合我的解决方案。
步骤1
在您想要的地方下载铬浏览器（https://chromedriver.chromium.org/downloads）
步骤2
from google_images_download import google_images_download
按CTRL并单击google_images_download打开并google_images_download.py文件
转到第177行，将其写为browser = webdriver.Chrome(chromedriver, chrome_options=options)
将其更改为browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
此处chromedriver是不是文件夹的名称，而是它的exe文件
注意：这个（D：/ chromedriver_win32 /）应该是你的chrome文件的路径

我使用与你相同的方法，但我仍然错了。
文件“google_images_download.py”，第179行
browser = webdriver.Chrome（'D：/ chromedriver_win32 / chromedriver'，chrome_options = options）
^
TabError：缩进中标签和空格的使用不一致

实际上你做了缩进错误。你可以张贴屏幕截图吗？

sorry，

Here is the solution that work for me.
Step 1
Download chrome browser where you want it (https://chromedriver.chromium.org/downloads)
Step 2
from google_images_download import google_images_download
press ctrl and click google_images_download and open google_images_download.py file
go to line 177 where it is written as browser = webdriver.Chrome(chromedriver, chrome_options=options)
change it to browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
Here chromedriver is not the name of folder, but its the exe file
Note: This (D:/chromedriver_win32/) should be your path to chrome file

I use the same method as you, but I still get wrong.
File "google_images_download.py", line 179
browser = webdriver.Chrome('D:/chromedriver_win32/chromedriver', chrome_options=options)
^
TabError: inconsistent use of tabs and spaces in indentation

actually you have made indentation error. can you post the screen shot

sorry，

Here is the solution that work for me.
Step 1
Download chrome browser where you want it (https://chromedriver.chromium.org/downloads)
Step 2
from google_images_download import google_images_download
press ctrl and click google_images_download and open google_images_download.py file
go to line 177 where it is written as browser = webdriver.Chrome(chromedriver, chrome_options=options)
change it to browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
Here chromedriver is not the name of folder, but its the exe file
Note: This (D:/chromedriver_win32/) should be your path to chrome file

I use the same method as you, but I still get wrong.
File "google_images_download.py", line 179
browser = webdriver.Chrome('D:/chromedriver_win32/chromedriver', chrome_options=options)
^
TabError: inconsistent use of tabs and spaces in indentation

actually you have made indentation error. can you post the screen shot

sorry，

Here is the solution that work for me.
Step 1
Download chrome browser where you want it (https://chromedriver.chromium.org/downloads)
Step 2
from google_images_download import google_images_download
press ctrl and click google_images_download and open google_images_download.py file
go to line 177 where it is written as browser = webdriver.Chrome(chromedriver, chrome_options=options)
change it to browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
Here chromedriver is not the name of folder, but its the exe file
Note: This (D:/chromedriver_win32/) should be your path to chrome file

I use the same method as you, but I still get wrong.
File "google_images_download.py", line 179
browser = webdriver.Chrome('D:/chromedriver_win32/chromedriver', chrome_options=options)
^
TabError: inconsistent use of tabs and spaces in indentation

actually you have made indentation error. can you post the screen shot

apparently it seems you have some issue with indentations, can you undo all changes, you have made.
you can try pip uninstall google_images_download
and then install again.
make sure, instead of changing the complete
browser = webdriver.Chrome(chromedriver, chrome_options=options)
just change chromedriver.
this will help to avoid indentation issue

sorry，

Here is the solution that work for me.
Step 1
Download chrome browser where you want it (https://chromedriver.chromium.org/downloads)
Step 2
from google_images_download import google_images_download
press ctrl and click google_images_download and open google_images_download.py file
go to line 177 where it is written as browser = webdriver.Chrome(chromedriver, chrome_options=options)
change it to browser = webdriver.Chrome("D:/chromedriver_win32/chromedriver", chrome_options=options)
Here chromedriver is not the name of folder, but its the exe file
Note: This (D:/chromedriver_win32/) should be your path to chrome file

I use the same method as you, but I still get wrong.
File "google_images_download.py", line 179
browser = webdriver.Chrome('D:/chromedriver_win32/chromedriver', chrome_options=options)
^
TabError: inconsistent use of tabs and spaces in indentation

actually you have made indentation error. can you post the screen shot

apparently it seems you have some issue with indentations, can you undo all changes, you have made.
you can try pip uninstall google_images_download
and then install again.
make sure, instead of changing the complete
browser = webdriver.Chrome(chromedriver, chrome_options=options)
just change chromedriver.
this will help to avoid indentation issue

Thankyou @talhaanwarch It works as charm !

I had this issue too, the issue is that all command line arguments are ignored when the config file argument is present. googleimagesdownload  -cf cfg.json --chromedriver '/usr/bin/chromedriver' will ignore the --chromedriver command. You can add it to the config file { "Records": [ {"keywords": "tops","limit": 1000, "chromedriver": "/usr/bin/chromedriver"}, {"keywords": "jacket","limit": 1000, "chromedriver": "/usr/bin/chromedriver"} ] }

Use chormedriver 80 so will solved this problem
https://chromedriver.storage.googleapis.com/index.html?path=80.0.3987.106/
eg. When i extract chormedriver exe to chromedriver_win32-80
chromedriver = "chromedriver_win32-80/chromedriver.exe"
response = google_images_download.googleimagesdownload()
response.download({
    "keywords": "portrait transparent background",
    "color_type": "transparent",
    "size": "medium",
    "limit": 500,
    "output_directory": output_dir,
    "chromedriver": chromedriver})

Use chormedriver 80 so will solved this problem
https://chromedriver.storage.googleapis.com/index.html?path=80.0.3987.106/
eg. When i extract chormedriver exe to chromedriver_win32-80
chromedriver = "chromedriver_win32-80/chromedriver.exe"
response = google_images_download.googleimagesdownload()
response.download({
    "keywords": "portrait transparent background",
    "color_type": "transparent",
    "size": "medium",
    "limit": 500,
    "output_directory": output_dir,
    "chromedriver": chromedriver})

Failing, but in a new way for me
$ googleimagesdownload -l=5000 -k "car" --chromedriver  $(pwd)/chromedriver

Item no.: 1 --> Item name = car
Evaluating...
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine (exception: Message: session not created: This version of ChromeDriver only supports Chrome version 80
)

Use chormedriver 80 so will solved this problem
https://chromedriver.storage.googleapis.com/index.html?path=80.0.3987.106/
eg. When i extract chormedriver exe to chromedriver_win32-80
chromedriver = "chromedriver_win32-80/chromedriver.exe"
response = google_images_download.googleimagesdownload()
response.download({
    "keywords": "portrait transparent background",
    "color_type": "transparent",
    "size": "medium",
    "limit": 500,
    "output_directory": output_dir,
    "chromedriver": chromedriver})

Failing, but in a new way for me
$ googleimagesdownload -l=5000 -k "car" --chromedriver  $(pwd)/chromedriver

Item no.: 1 --> Item name = car
Evaluating...
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine (exception: Message: session not created: This version of ChromeDriver only supports Chrome version 80
)

Solved by matching the version of chromedriver with my version of Chromium
googleimagesdownload -l 5000 -k "car" -cd $(pwd)/chromedriver

Item no.: 1 --> Item name = car
Evaluating...
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine (exception: Message: session not created: This version of ChromeDriver only supports Chrome version 89
Current browser version is 87.0.4280.66 with binary path /usr/bin/chromium-browser
)


404 page shown during build when pointing to a repo

I have a binder repo here. When people click on the "Launch binder" button, they see this:

Which is really not ideal because then they think that something went wrong and that there is some bug, when in fact everything is fine.
I think the reason it looks that way is that I'm actually not linking to a specific notebook, but instead just to the whole repo. I think in that case it would be better to not show a 404 link during build, but something that looks less scary and that doesn't look like something went wrong.

Thanks for reporting this. Could we close the issue here and move it to https://github.com/jupyterhub/binderhub? Unfortunately I can't move it across organisations on GitHub :(
There should already be an issue in the BinderHub repository discussing if we can detect if the nbpreview would show something useful or not and only if it would show it, otherwise hide it.

Alright, opened my issue over there, @betatim can you open your response over there as well? And thanks for the workaround, that fixes things for us now!


Implement and surface list-based deferred metrics

Description

Implement pseudo-models (managed = False) for creators, providers and media and custom filters for the Django admin. Create the Django admin UI to present the following leaderboards for each media type.

most reported creators
most reported sources
most reported media items

Additional context

Implementation plan (with code samples)

The surfacing of the metrics depends on the Django admin views (https://github.com/WordPress/openverse/milestone/22) to be ready.

Reprioritised as per https://github.com/WordPress/openverse/issues/383#issuecomment-2151103330

Closing as won't do as per https://github.com/WordPress/openverse/issues/383#issuecomment-2153354643


Support multiple signature types

Edge service need to support multiple signature types.

This has been implemented as part of https://github.com/trustbloc/edge-service/pull/296.


main config and instance config are not deep merged

See https://github.com/azhurbilo/puppet-elasticsearch/commit/d2be8b55a9dbd643b9bbf27e6c577391970ba929 for details.

This would help DRY up our configurations across various clusters. :+1:
On Wed, Sep 16, 2015, 11:07 Richard Pijnenburg<EMAIL_ADDRESS>wrote:

See azhurbilo@d2be8b5
https://github.com/azhurbilo/puppet-elasticsearch/commit/d2be8b55a9dbd643b9bbf27e6c577391970ba929
for details.
—
Reply to this email directly or view it on GitHub
https://github.com/elastic/puppet-elasticsearch/issues/456.

Been looking into this further and it breaks current behaviour.
Not sure if I just should break it or have a flag for normal or deep merge the config hash?
Any idea's?

Should be functional as of #656.


number_with_delimiter method? (thousands separators)

I searched for some time in the API docs and in the source code but could not find a function to format numbers with thousands separators (something like Rails' number_to_delimiter helper).
I'm using this snippet for now (which I adapted from ActiveSupport's source code):
def number_with_separator(number)
  sprintf("%0.2f", number).gsub(/(\d)(?=(\d\d\d)+(?!\d))/, "\\1,")
end

number_with_separator 12345678.09
# => "12,345,678.09"

I wonder if something like that shouldn't be included in the standard lib?

Resolved by #6314

Can this be closed now?


Add Eric to MAINTAINERS

I've already merged code that he's reviewed, better late than never :hear_no_evil:

LGTM


Remove trailing spaces in distributed_tfjob.yaml

Came across these during yaml lint check.

This change is

Coverage remained the same at 76.744% when pulling 7db78dac1df15dde92cb27c41d6a8b9658deeb53 on terrytangyuan:patch-1 into 47e5d0ec03818e412448bc260a23dbf8a9f722c8 on kubeflow:master.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 7891587, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 5263 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in a4ecab2.


Mongo error -> Uninitialized constant ActiveRecord Did you mean? ActiveModel

Setup
We do not use ActiveRecord at all.

About the error
The error occurs for some MongoDB documents.

Stack trace
/gems/draper-4.0.1/lib/draper/query_methods/load_strategy.rb:10 in allowed?
/gems/draper-4.0.1/lib/draper/query_methods.rb:7 in method_missing
app/views/manage/room_offers/show.html.erb:2

Possible solution on our end?
The most evident solution will be to implement this setup https://github.com/drapergem/draper#decorated-query-methods
However, I still do not understand why this occurs for some mongo documents, and not for all of them. Any ideas? Thanks.

Seems like we were decorating a nil object. Please disregard.


Chinese Translation

A translation of the readme in chinese to help native speakers understand.

@Schweinepriester could you add me to the repo and assign me this issue? I'm an intermediate Chinese speaker

kinda the same as https://github.com/Schweinepriester/github-profile-achievements/issues/255#issuecomment-1199254596

mhhh I don't like the prospect of having to maintain the same information multiple times or setup a somewhat complex system to generate each language file… unless you/someone knows a convenient way to do that (e.g. github actions)?

I'll leave the issue open, at the very least to gather interest.

Yeah you're right, maintenance is a lot.

It is easy to use google translate to translate the whole page(I often do this).
If someone really know what this is, he or she will try every means to understand.
:)

❤


CI failure：Failed to create ippool in batch

Set title to be in the format CI: Failed to create ippool in batch
Copy-paste the output the test failure.
• [FAILED] [1.091 seconds]
test ippool CR [ippoolCR]
/home/runner/work/spiderpool/spiderpool/test/e2e/ippoolcr/ippoolcr_test.go:19
  create and delete batch of ippool
  /home/runner/work/spiderpool/spiderpool/test/e2e/ippoolcr/ippoolcr_test.go:182
    [It] create and delete batch of ippool and check time cost [D00006]
    /home/runner/work/spiderpool/spiderpool/test/e2e/ippoolcr/ippoolcr_test.go:185

  Begin Captured GinkgoWriter Output >>
    create namespace ns436-183682264
    ipPoolObj.Spec.IPs : [fd00:1382::2-fd00:1382::3]
    ipPoolObj.Spec.IPVersion : 6
    ip segment is : [fd00:1382::2 fd00:1382::3]
    time cost for create  10 ipv6 ippool 1.07113877s
    delete namespace ns436-183682264
  << End Captured GinkgoWriter Output

  Unexpected error:
      <*errors.errorString | 0xc000350860>: {
          s: "input variable is not valid",
      }
      input variable is not valid
  occurred
  In [It] at: /home/runner/work/spiderpool/spiderpool/test/e2e/ippoolcr/ippoolcr_test.go:217

BatchCreateIppoolWithSpecifiedIPNumber API Failed to create an ippool (no corresponding code executed), returned an empty array, resulting in a failure
Upload the zip file generated from that test failure.
e2edebugLog 12.txt
Copy-paste the link of the CI build where that test failure has happen.
https://github.com/spidernet-io/spiderpool/runs/7887073644?check_suite_focus=true
Include any output from logs that you think may be relevant (to ease GitHub searches).

#627 Restarting the node caused the failure, but the error capture in the case was inaccurate and was modified in that pr

#627


Upgrade elasticsearch version to 5.3.2

Elasticsearch version upgrade to 5.3.2.

@bitjourney/kibela-developers please review 🙏

LGTM


Sign up page using js html css

#294 signup page
Title: Sign up page
Issue No. :#294
Code Stack: Creating a sign-up page using js,  HTML nad CSS
Close #294

Checklist:

[] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md
[] I have updated the Index.html file for my contribution

One challenge per PR @AnshMeshram

Is the sign in page copied from this yourube video ?


Log4jPatternLayout doesn't work with default date format ISO8601

I use below pattern
<PatternLayout pattern="%d{ISO8601} %-5p [%t] %m%n"/>
in log4j2.xml config file.
The log looks like
2017-10-14T23:02:45,412 INFO  [main] waiting to stop...
But the log format can't be detected by any pre-defined parser in the olv-1.4.6 binary package.
I assume it should be detected by predefined parser in log4j-1-native.pattern file.

In 1.4.8 It will be possible to convert Log4j/logback pattern to OtrosLogViewer definition. It is already merged into master.
By the way, you can add log4j-1-native.pattern file with following content:
dateFormat=yyyy-MM-dd HH:mm:ss,SSS
name=%d{ISO8601} %-5p [%t] %m%n
type=log4j, pattern=TIMESTAMP LEVEL [THREAD] MESSAGE
charset=UTF-8


Rename premiseOf / succedentOf to downlink / uplink

Should we still rename the premiseOf / succedentOf in NodeInfo to downlink / uplink to reduce cognitive load while reading the code? If yes, I'm willing to do this.

I think @cowl already did it.

I see there's functions for downlink/uplink. Sure!
2015-02-18 22:36 GMT+01:00 Julian Gonggrijp<EMAIL_ADDRESS>
I think @cowl https://github.com/cowl already did it.
—
Reply to this email directly or view it on GitHub
https://github.com/jgonggrijp/net-prove/issues/5#issuecomment-74953170.


ASA-5626

Change the Jenkins DAST Scan report format to html

 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.


[Idea] - Improve recalbox.conf edition with syntax highlighting

Hi,
I explore this amazing recalbox manager (just found it) and i try to edit the recalbox.conf but its a bit difficulte without syntax highlighting and red line from my web browser :

When i copy/past the text on a text editor and save it as .sh, its looks better

Maybe it can be a nice improvement to look like this second screen :)

I allready thought about using Codemirror for this part but this was not in the top priority list for now. But there is a problem about the syntax used in config file, what is the name of syntax kind you used in your screenshot ?

Nice :).
I dont really undesrtand your question.

What he probably wanted to hear is shell script or .sh.


After saving a recipe w/ a new photo, it doesn't appear on the detail page

After editing a recipe and uploading a new photo, you land back on the recipe detail page with the old photo visible. This is the same behavior as when the recipe save happened via REST, but I expected it to be fixed by mutating via graphql.

The photo saves correctly, it just doesn't make it into the client cache until you force it to update (lib search, refresh app).

This appears to apply to any update except for the title.

Apparently, I did not actually solve the weird caching thing I was seeing.

Done!


updated boptest bacnet proxy

I updated the bacnet proxy to use the 0.3.0 boptest API. You should be able to drop most of your changes in the patch to BopTestProxy. You can now give the boptest URL as a commandline option.
The bacpypes.ini file will still need to be to be patched, bacpypes can't take its IP address through a commandline argument or env variable, it's got to be in the .ini file. (Same with the object identifier).
BACpypes can take a commandline argument of where to find the .ini file, though - so maybe it'd be better if the docker-compose setup could at least the object identifier as a commandline/env variable and then maybe a script could write out a .ini file in the container and pass that as a commandline argument to BopTestProxy.

Thanks! I have updated the repo -- the one fix is the global declaration at https://github.com/epaulson/boptest-bacnet-proxy/blob/main/BopTestProxy.py#L235 needs to be updated so that baseurl is also considered a global variable


fix(designer): Revert of Add UI for invoker connection support (#1990)

Main code changes

This PR Add UI for invoker connection support (#1990) introduced changes that caused issues when user wants to select dynamic data from dropdown

The issue was detected while using the Transform using Data Mapper XSLT connector. When trying to select map name from the dropdown, no option gets rendered.
Without isssue
https://user-images.githubusercontent.com/102700317/232141073-0cc378ed-d305-4718-a59e-5dca8c52661e.mov
Issue
https://user-images.githubusercontent.com/102700317/232141137-8157ccba-4d92-45fb-a8b7-db379c09e37c.mov

Hi @bnarayanared we are reverting the changes from this PR

You don't have to revert the entire PR, you can just undo the changes in files:

libs/designer/src/lib/core/queries/connector.ts
libs/designer/src/lib/core/utils/parameters/dynamicdata.ts

I don't know how those got checked in, These changes are in a separate PR that isn't checked-in


Add support for TrackballControls

Hello !
What is the complexity to add TrackballControls feature ?
I'm pretty new to Vue and JS (few days, im a python dev :) ), Im trying to understand /dist/Controls/OrbitControls.d.ts and /src/Controls/OrbitControls.vue
Thank you for this projet !

Added <TrackballControls> with basic props. Update drie to 1.0.0-alpha-1.26 to use it.

Thank you very much !
I will probably make lot of tickets eheh

Closing as resolved.


ui: the list view of the payment can contain a expandible card

The work in this PR is good https://github.com/dart-lightning/lndart.clnapp/pull/16 but the item can be an expandable card like the one used in the https://lnmetrics.info
You find an example in the trash package

Hi, @vincenzopalazzo Can you assign me this issue? I want to participate in the summer of bitcoin!!

Hi @vincenzopalazzo @KAVAN-DESAI, I have a doubt. Do I have to set up a lightning node for the settings page or do you guys have test credentials for Node ID, Host, Lamda Server & Rune?

@believeInJha you can use the Unix RPC socket of core lighting, but for sure you must run a lightning node

Hi @vincenzopalazzo , please assign this to me. I'll get the work done.


[[FIX]] Correct parsing of arrow function

Ensure that the "token" object is consistently returned by the "prefix"
( operator's null denotation function. This alleviates calling code
from having to account for "functor" objects and instead consistently
interpret operands as token objects.
@rwaldron I stumbled across this while updating gh-3150 to match the latest draft.

Coverage decreased (-0.02%) to 97.753% when pulling 4ddc744c7f94e5436ba418b22b5f86d301688165 on jugglinmike:correct-arrow-parsing into c52a55ce975f2d25749f927f449cf151401b73ff on jshint:v2.10.0.

Coverage decreased (-0.02%) to 97.753% when pulling 4ddc744c7f94e5436ba418b22b5f86d301688165 on jugglinmike:correct-arrow-parsing into c52a55ce975f2d25749f927f449cf151401b73ff on jshint:v2.10.0.

Coverage decreased (-0.02%) to 97.753% when pulling 4ddc744c7f94e5436ba418b22b5f86d301688165 on jugglinmike:correct-arrow-parsing into c52a55ce975f2d25749f927f449cf151401b73ff on jshint:v2.10.0.


[C++] Add support for OpenBSD

Describe the enhancement requested
OpenBSD doesn't have librt.so.
Component(s)
C++

Issue resolved by pull request 44984
https://github.com/apache/arrow/pull/44984


Fix/replace month name

calendar.month_abbr has Sep for september but in ui it shows Sept so ln 1683 should have a key error

eccv pc console is doing
date.toLocaleDateString('en-GB',{...}...
which should output Sept

This test is failing on my machine also.


User Feedback Button

A Button In The Settings To Send A Feedback Email On iOS, macOS And iPadOS.

Completed In Release: 1.1
Commit: https://github.com/markydoodled/DW-Episode-Guide/commit/0d5bf5dbab747b20ac17feb295e7ad1d402ee3b1


Re-work CI

Re-work CI by doing, as individual patches

Add two lock files (done separately because of change to the manifest)
Add a script to update the lock files
Add a justfile
Fix lint warnings in fuzz/
Re-write CI to use run_task from rust-bitcoin-maintainer-tools
Run the fuzzer daily

Let's give Kix a full two weeks unless we need this for some reason. This crate is pretty low-activity.

Fair, cheers.

Merge please mate, @Kixunil has had 2 weeks now.


The N3DS warning about homebrew is too subtle

The guide says you can increase the clockspeed in two separate places in the installing arm9loaderhax, first in Section III step 3 with a brief mention that "This breaks the Homebrew Launcher on 11.3!" without any explanation of how this is relevant, despite homebrew launcher being needed later. But it's also in Section VI step 23 anyway, and it's confusing users who have forgotten why homebrew launcher isn't working by the time they're told to use HomeBrew launcher.

I'll bold it, but if they can't remember a warning they just read a few sections earlier that's not really my problem.


HtmlUnit setJavaScriptTimeout returns immediately

Eg URL: https://www.tdsinc.com/investor-relations/financials/quarterly-results/default.aspx
Using 2.44 HtmlUnit version, I have tried getting the entire page with webClient.getPage(url), the page was returned immediately though the following options are set:
webClient.waitForBackgroundJavaScript(100000); 		webClient.setJavaScriptTimeout(20000);
While, I added an explicit Thread.sleep(3000) //3s  after calling webclient.getPage(url) returned me the entire page. Is this expected or is there something I am missing out.

can you please check if page.getFrames() returns some frame windows

Getting an empty list on calling page.getFrames() on the above URL

Ok, thanks, will try to reproduce your problem here

webClient.waitForBackgroundJavaScript(100000);

is not an option. You have to call this after getPage().
This code works here
    String url = " https://www.tdsinc.com/investor-relations/financials/quarterly-results/default.aspx";

    WebClient webClient = new WebClient(BrowserVersion.FIREFOX);

    HtmlPage page = webClient.getPage(url);
    webClient.waitForBackgroundJavaScript(20_000);

    System.out.println("#### ---- ");
    System.out.println(page.asText());
    System.out.println("#### ---- ");

It is working now. Thanks for your help.


Give superuser privileges to a user

When I try to use shell_plus as mentioned here: https://github.com/codalab/codabench/wiki/Administrator-procedures#give-superuser-privileges-to-an-user
docker-compose exec django ./manage.py shell_plus

I get this error:
# Shell Plus Model Imports
from analytics.models import AdminStorageDataPoint, CompetitionStorageDataPoint, StorageUsageHistory, UserStorageDataPoint
from announcements.models import Announcement, NewsPost
from competitions.models import Competition, CompetitionCreationTaskStatus, CompetitionDump, CompetitionParticipant, CompetitionWhiteListEmail, Page, Phase, PhaseTaskInstance, Submission, SubmissionDetails
from datasets.models import Data, DataGroup
from django.contrib.admin.models import LogEntry
from django.contrib.auth.models import Group, Permission
from django.contrib.contenttypes.models import ContentType
from django.contrib.sessions.models import Session
from django.contrib.sites.models import Site
from forums.models import Forum, Post, Thread
from leaderboards.models import Column, Leaderboard, SubmissionScore
from oauth2_provider.models import AccessToken, Application, Grant, RefreshToken
from oidc_configurations.models import Auth_Organization
from profiles.models import GithubUserInfo, Membership, Organization, User
from queues.models import Queue
from rest_framework.authtoken.models import Token
from social_django.models import Association, Code, Nonce, Partial, UserSocialAuth
from tasks.models import Solution, Task
# Shell Plus Django Imports
from django.core.cache import cache
from django.conf import settings
from django.contrib.auth import get_user_model
from django.db import transaction
from django.db.models import Avg, Case, Count, F, Max, Min, Prefetch, Q, Sum, When, Exists, OuterRef, Subquery
from django.utils import timezone
from django.urls import reverse

Traceback (most recent call last):
  File "/app/./manage.py", line 15, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.9/site-packages/django_extensions/management/commands/shell_plus.py", line 125, in run_from_argv
    return super(Command, self).run_from_argv(argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.9/site-packages/django_extensions/management/utils.py", line 62, in inner
    ret = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django_extensions/management/commands/shell_plus.py", line 517, in handle
    shell()
  File "/usr/local/lib/python3.9/site-packages/django_extensions/management/commands/shell_plus.py", line 322, in run_bpython
    embed(imported_objects, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/bpython/__init__.py", line 38, in embed
    return main(args, locals_, banner)
  File "/usr/local/lib/python3.9/site-packages/bpython/curtsies.py", line 191, in main
    exit_value = repl.mainloop(True, paste)
  File "/usr/local/lib/python3.9/site-packages/bpython/curtsies.py", line 108, in mainloop
    self.initialize_interp()
  File "/usr/local/lib/python3.9/site-packages/bpython/curtsiesfrontend/repl.py", line 1713, in initialize_interp
    del self.coderunner.interp.locals['_Helper']
KeyError: '_Helper'

I can use ipython flavour:
docker-compose exec django ./manage.py shell_plus --ipython

Yes, I had to use docker-compose exec django ./manage.py shell_plus --plain to make it work.
It was supposed to be solved by #814.

Do we want to fix this or update the documentation with --plain flag?

Maybe we want to understand what it is broken, it was working in the past.


button colors not shown when needed

When "Mark Stats" button is turned on the colors disappear.
I believe the desired behavior is to see the five colors on the button when the feature is turned on (personally it helps me remember that blue is better than green).  However, the button colors are only shown when the feature is off.

If both the colors and the borders settings are turned on, then the button color behaves as expected.
Thank you.

Fixed in v1.2.1


Add Augmint Euro Token (AEUR)

Currency name: Augmint Euro Token
Symbol: AEUR
Website: https://www.augmint.org
Theme color: #051d2d
Logo (SVG): https://github.com/Augmint/augmint-web/tree/staging/src/assets/images/logo

You have written the currency name different in the title and the description.

The SVG logo also doesn't show anything for me.

fixed it
where could I get the Sketch template from? (mentioned in https://github.com/atomiclabs/cryptocurrency-icons/wiki)

where could I get the Sketch template from? (mentioned in atomiclabs/cryptocurrency-icons/wiki)

Cryptocurrency Icons.sketch.zip
Note that we don't accept direct icon contributions.

thank you - it will help us in the interim anyway, until you do it yourself.


How to retrieve the value MatTextField inside the code

How can I retrieve the value MatTextField inside the code (say a button click)?
If I use @bind-Value it works, but I want it as a one-way binding and I need the updated value only while clicking on a button.

Never mind.
Was able to achieve it using the following in code behind   MatTextField noteField;
and referring it in the html like this,
<MatTextField @ref="noteField"


New features in Flows pilot 10.3.8

Is there an existing issue for this?

[X] I have searched the existing issues

What kind of idea is it?
Add or revise existing page
Who is it for?
User (Learn)
Which area (SuperOffice entity) is this related to?
Other
Description
US 56886 Support for step "Internal action - Notify by E-mail"
US 56949 Flow preview of step settings
US 59572 Form data - Support for rating fields in trigger and splits

US 59572
Split based on form data states "Available criteria depend on the selected form's fields."
The Triggers list doesn't go deeper than "Form submitted".
We don't have screenshots of the Form data criteria list.
No content to update, but will bump the date and version to show the info is current.
US 56949
The View flow screen states "[The Flow tab] offers a read-only view of the flow, allowing users to get an overview without pausing and editing the flow."
Adding "Select a step to view the details." Otherwise, no content changes.
US 56886
Adding section Notify by email to step settings page and to "Define flow actions"
Retake flow-editor-with-step-menu (shown on index)


Make HIPSYCL_SYCLCC_EXTRA_ARGS none-cache variable

On my system, this has fixed the issue #316 . I could reproduce it with a sort of up to date arch Linux distro. After some "printf" debugging it was clear that the HIPSYCL_SYCLCC_EXTRA_ARGS won't be updated if there is already a value in the cache. Forcing the set has resolved the issue for me.

Ah, thank you :) @fknorr please review :)

Looks good to me!

Thanks everybody :)


Create ServiceMonitor for operands

The Jaeger Operator should be creating service monitor objects for operands, so that they can be used out of the box with Prometheus instances managed by the Prometheus Operator.
Context: #1114

It's yours! Let us know if you need any information.


v4.0.9 upgrade to v6.2.0: upgrade successful but cdc is alway oom

What did you do?

Install v4.0.9 cluster, 3 * ticdc 8c 16GB, create 3 changefeeds
Case: cluster_upgrade_sync
Workload: /go-tpc tpcc --db workload --warehouses 30 -T 30
Upgrade cluster to v6.2.0
Case log:
[2022/08/08 07:07:08.566 +00:00] [INFO] [step.go:30] ["Upgrade TiDB All Component to version=v6.2.0-pre"]
W0808 07:07:08.566572       6 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
[2022/08/08 07:07:08.635 +00:00] [INFO] [tidb_cluster.go:294] ["Current TiDB Cluster version: v4.0.9"]
[2022/08/08 07:35:13.165 +00:00] [INFO] [tidb_cluster.go:308] ["upgrade tidb cluster success"] [option="Upgrade TiDB All Component to version=v6.2.0-pre"] [elapsed=28m4.5588713s]

What did you expect to see?
No response
What did you see instead?

TiCDC has oom in v4.0.9 this is expected.

Upgrade to v6.2.0 successful, but all ticdc  pods are still always oom.

Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):
(paste TiKV version here)
TiKV
Release Version:   6.2.0-alpha
Edition:           Community
Git Commit Hash:   fbf4c33f8e6cc037d2638f7237c8494172c93328
Git Commit Branch: heads/refs/tags/v6.2.0
UTC Build Time:    2022-08-05 09:07:12
Rust Version:      rustc 1.62.0-nightly (7c4b47696 2022-04-30)
Enable Features:   pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           dist_release

TiCDC version (execute cdc version):
(paste TiCDC version here)
Release Version: v6.2.0
Git Commit Hash: bd21a6ea5ce58b86fe139eddca8dc4436320ca60
Git Branch: heads/refs/tags/v6.2.0
UTC Build Time: 2022-08-02 12:17:53
Go Version: go version go1.18.5 linux/amd64
Failpoint Build: false

/assign @leoppro @sdojjy

it's hard to reproduce this issue, and v4.0.9 is a very old CDC version, better to upgrade the CDC sever to a higher version,(like v5.4) then upgrade to v6.2.


Tweaks from kevmoo

Awesome, thanks. Can you confirm that nothing other than dartfmt was run on commit 0b2b7ef? I can't diff it visually.

Can you confirm that nothing other than dartfmt was run on commit 0b2b7ef? I can't diff it visually.

Yup!

Great, we'll go with dartfmt going forward. I'll spend some time getting this merged and getting the other open PR rebased against it, and then we'll have 1.0.4 available.