text:
Mac 10.9: Brackets Helper process erroneously shown as "Not Responding" in Activity Monitor

Description:
Mac 10.9: Brackets Helper process Not Responding 15-20 seconds after launch in Activity Monitor.  Shows up in red text in Activity Monitor.  The same thing happens with Google Chrome on Mac 10.9, so this is a tracking bug.  According to Peter Flynn, it's the GPU helper.  We checked the Chrome process ID that was not responding > opened Chrome's task manager (hamburger icon > Tools > Task Manager) > mapped not responding process ID from Activity Monitor to process ID in Chrome Task Manager > GPU Process.  Here is the Chromium bug for this issue:
Issue 304860:	Mavericks: Helper processes shown in Activity Monitor as "Not Responding"
https://code.google.com/p/chromium/issues/detail?id=304860

Repro on Mac 10.9 using Brackets Sprint 33 10188 GM, Sprint 32 9791 GM, Sprint 31 9569 GM.  UTR on Mac 10.8 using BK Sprint 33 GM 10188.
Repro steps:

Install Brackets on Mac 10.9.
Launch Activity Monitor.
Launch Brackets.
Watch Activity Monitor for ~15-20 seconds.

Actual results:
Activity Monitor says Brackets Helper process is not responding.

Expected results:
Brackets Helper is responding.
Workaround:
None.  Everything seems to be working fine, so it appears this is a false positive.  Comment from Chromium bug: "This is an issue with how Activity Monitor determines responsiveness – these processes are running perfectly fine. (We changed chrome to work around that Activity Monitor issue, and the fix will reach you eventually, depending on which channel you use, how far we merge this, etc.)"

From what I can see, this isn't related to chrome. I don't use Chrome, only Safari.
Brackets Helper on my Mac isn't responding as well, on fresh restart, without the use of live preview.

This bug is about brackets helper 'erroneously' appearing unresponsive in Activity monitor.
The application should not be affected by this. Do you mean the same?
Also which version of brackets are you using? I notice from the comments above that the issue may have been fixed in the chromium build we integrated some time back. Are you seeing this in Brackets 1.2?

@prksingh Good catch!  It does appear fixed now on Mac, so let's close it.
@ElegantScripting If you're seeing slow performance when using Live Preview, that's a different issue. Could you file a new bug with more details? (E.g. does it happen with the simple Getting Started project that comes with Brackets too, or only with your own projects?)

No live preview
Extensions disabled
Restarted brackets
Using latest version

Hmm, so apparently looks like the Chrome bug regressed on Yosemite: https://code.google.com/p/chromium/issues/detail?id=397642.
They did land a fix on the Chrome 39 2171 branch shortly before we started out upgrade  to CEF 2171, but I'm guessing we just narrowly missed the boat on picking up that fix. (If I'm reading the version numbers right, we need 2171.50 and we currently have 2171.36).
Updating the bug title and reopening.

authors: ElegantScripting dalcala peterflynn prksingh


text:
CIF-826 - Add integration tests

Description
This PR adds integration tests in it/http. To run the integration tests, a test content package at it/content needs to be installed. Also the tests rely on a mock server in it/mock-server.
These tests are automatically executed on the master branch for any new change. Coverage is reported to codecov.io with the #integration flag. Unit tests are marked with the #unittests flag.
External contributors are supposed to run the integration tests locally as described in the README.md. Pull requests will be validated using the integration tests running on a Jenkins instance on Adobe internal infrastructure. The tests need to be executed against AEM 6.4, 6.5 and master, the Jenkins job has to be triggered manually for each PR.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes and the overall coverage did not decrease.
[X] All unit tests pass on CircleCi.
[X] I ran all tests locally and they pass.

Codecov Report

Merging #22 into master will increase coverage by 7.1%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master      #22     +/-   ##
===========================================
+ Coverage     71.34%   78.45%   +7.1%
- Complexity      205      237     +32
===========================================
  Files            16       16
  Lines           904      905      +1
  Branches        143      143
===========================================
+ Hits            645      710     +65
+ Misses          160      112     -48
+ Partials         99       83     -16

Flag
Coverage Δ
Complexity Δ

#integration
78.23% <ø> (?)
237 <ø> (?)

#unittests
71.34% <ø> (?)
205 <ø> (?)

Impacted Files
Coverage Δ
Complexity Δ

...mmerce/graphql/core/GraphqlProductViewHandler.java
58.67% <0%> (+0.34%)
11% <0%> (ø)
:arrow_down:

...a/impl/CatalogDataResourceProviderManagerImpl.java
77.71% <0%> (+4%)
33% <0%> (+5%)
:arrow_up:

.../cq/commerce/graphql/resource/ProductResource.java
90.62% <0%> (+6.25%)
9% <0%> (+1%)
:arrow_up:

...adobe/cq/commerce/graphql/core/MagentoProduct.java
64.36% <0%> (+6.89%)
37% <0%> (+4%)
:arrow_up:

...e/cq/commerce/graphql/resource/ResourceMapper.java
79.88% <0%> (+8.87%)
34% <0%> (+4%)
:arrow_up:

...mmerce/graphql/magento/GraphqlDataServiceImpl.java
88.88% <0%> (+9.09%)
39% <0%> (+3%)
:arrow_up:

...atalog/admin/impl/CatalogIdentifierDatasource.java
100% <0%> (+11.11%)
12% <0%> (+2%)
:arrow_up:

...aphql/resource/GraphqlResourceProviderFactory.java
100% <0%> (+11.11%)
10% <0%> (+2%)
:arrow_up:

...ommerce/graphql/resource/RootCategoryResource.java
100% <0%> (+18.18%)
4% <0%> (+1%)
:arrow_up:

...cq/commerce/graphql/resource/CategoryResource.java
85% <0%> (+20%)
5% <0%> (+2%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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

source: gharchive/pull-request

repo: adobe/commerce-cif-connector

license_type: permissive

license_source: github-api


text:
Performance: fix CLS on main element in Doc Detail page

Issue mentioned in this PR:
https://github.com/adobe/helix-website/issues/353#issuecomment-1649418313
Details:

main element still seems to move around quite a bit:
.
use.live URL as test URL to have a cached and more constant reference

Test Urls to be used:
Before: https://main--helix-website--adobe.hlx.page/docs/sidekick
After: https://redesign-doc-page-perf-fix--helix-website--adobe.hlx.live/docs/sidekick

@snowiewdev i think this was fixed https://github.com/adobe/helix-website/pull/388

@davidnuescheler Thank you so much! The fix on #388 is looking good to me:
https://pagespeed.web.dev/analysis/https-www-hlx-live-docs-sidekick/lbesvr3spj?form_factor=desktop
Closing this issue

source: gharchive/issue

authors: davidnuescheler snowiewdev

repo: adobe/helix-website


text:
fix: Add rum tracking to form block

Adding rum tracking to form block.
https://main--helix-website--adobe.hlx.page/developer/forms
vs.
https://main--helix-website--pareesh.hlx.page/developer/forms
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Seems outdated. Closing for now, feel free to reopen and refresh if needed.

authors: Pareesh kptdobe


text:
chore: deprecate bookmarklet

The Sidekick Bookmarklet is being deprecated due to lack of use (0.1%). Bookmarklet users should:

no longer be able to install new bookmarklets
receive a deprecation message when they click the bookmarklet

Test URLs:

Before: https://main--helix-website--adobe.aem.page/tools/sidekick/?giturl=https://github.com/adobecom/blog
After: https://deprecate-bookmarklet--helix-website--adobe.aem.page/tools/sidekick/?giturl=https://github.com/adobecom/blog


text:
TableHeaderProps.columns should be readonly T[] instead of T[]

Provide a general summary of the issue here
Basically to make types work better I as const the columns, which causes the <Row types to be better (I get a union of literals), but TableHeaderProps errors since it expects a mutable array
🤔 Expected Behavior?
Allow readonly arrays being passed
😯 Current Behavior
Readonly arrays not allowed
💁 Possible Solution
No response
🔦 Context
No response
🖥 Steps to Reproduce
The type 'readonly [{ readonly id: "teamName"; readonly name: "Team"; }, { readonly id: "creator"; readonly name: "Creator"; }, { readonly id: "createdAt"; readonly name: "Created"; }, { readonly id: "status"; readonly name: "Status"; }]' is 'readonly' and cannot be assigned to the mutable type 'object[]'.ts(4104)
types.d.ts(1740, 5): The expected type comes from property 'columns' which is declared here on type 'IntrinsicAttributes & TableHeaderProps<object> & RefAttributes<HTMLTableSectionElement>'
(property) TableHeaderProps<object>.columns?: object[] | undefined

const columns = [{id: 1, col1: "col1"}] as const;
<TableHeader columns={columns}>
() => <div/>
</TableHeader>

Version
1.0.0
What browsers are you seeing the problem on?
Safari
If other, please specify.
No response
What operating system are you using?
Mac OS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Thanks for the issue, this seems fine. I don't think we mutate the columns.

authors: sbdchd snowystinger

repo: adobe/react-spectrum


text:
CSF 3 Well & Switch

Closes
The goal is to outline a few simple patterns for some easy components.
I've also taken some liberties in removing stories I think are covered well enough by Chromatic.
And I've tried to combine some of our render functions to instead utilize CSF 3's property spreading as they recommend in their docs.
See docs for v2 vs v3 comparisons: https://storybook.js.org/blog/component-story-format-3-0/
Open questions/opinions needed:
Do we like this style over the Template.bind({}) syntax? Do we like spreading all the props or would we prefer more stories with custom render functions instead. For instance, should our Default Switch story render children, or should it take children as args?
In both cases, you could override the children, however, it's a little different.
export const Default: ComponentStoryObj<typeof Switch> = {
  render: (args) => (
    <Switch {...args} />
  ),
  args: {children: <>Switch Label</>}
};
// two options here, omit the Default.args
export const NoLabel: ComponentStoryObj<typeof Switch> = {
  ...Default,
  args: {'aria-label': 'This switch has no visible label'},
  name: 'no label',
  parameters: {description: {data: 'Try me with a screen reader.'}}
};
// or include them
export const NoLabel: ComponentStoryObj<typeof Switch> = {
  ...Default,
  args: {...Default.args, children: null, 'aria-label': 'This switch has no visible label'},
  name: 'no label',
  parameters: {description: {data: 'Try me with a screen reader.'}}
};

vs
export const Default: ComponentStoryObj<typeof Switch> = {
  render: (args) => (
    <Switch {...args}>Switch Label</Switch>
  ),
  args: {}
};
// two options here now to override the children for our story with no labels
export const NoLabel: ComponentStoryObj<typeof Switch> = {
  ...Default,
  args: {children: null, 'aria-label': 'This switch has no visible label'},
  name: 'no label',
  parameters: {description: {data: 'Try me with a screen reader.'}}
};
// or
export const NoLabel: ComponentStoryObj<typeof Switch> = {
  render: (args) => <Switch {...args} />,
  args: {'aria-label': 'This switch has no visible label'},
  name: 'no label',
  parameters: {description: {data: 'Try me with a screen reader.'}}
};

✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

I think I like the first example better, but it feels like a pretty small difference overall. Think I would have to try using this format for a more complex component that has a more involved setup/varied setups (aka the collection ones) to form a strong opinion. Definitely like this over the bind syntax though, that syntax was always a bit confusing to me.

authors: LFDanLu snowystinger


text:
Get past 30 days' data

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Thanks for contributing!

no activity, closing

repo: adobe/spacecat-audit-worker


text:
Add In-line Alert component

Description

Let's implement this re-imagined Alert component https://spectrum-contributions.corp.adobe.com/page/in-line-alert-beta/
Why do you need this feature or component?

@badimon asked for it
Additional context

Alert was previously deprecated and was nuked, this is a new version of it: https://github.com/adobe/spectrum-css/pull/757/files#diff-47c0d377df764997b3c618a2fd561fdd7d8737a96e35dc906ee0b921618ed819L1

This has been implemented and migrated to use @adobe/spectrum-tokens: https://github.com/adobe/spectrum-css/tree/main/components/inlinealert

authors: lazd pfulton

repo: adobe/spectrum-css


text:
FieldLabel: Change left/right to start/end

Description

Currently, FieldLabel has left/right variants, it should probably be start/end
Why do you need this feature or component?

This makes the API make more sense. Right now, left/right work according to LTR/RTL, but it doesn't make sense.
Additional context

#532
synced to jira: https://jira.corp.adobe.com/browse/CSS-128

Closing this, it's tracked in Jira

authors: lazd misterbrownlee


text:
chore: separate out js functionality for each component

Description
Continue migrating the JS into enhancement.js files for the components they relate to
Files Changed:
// Load Inputgroup functionality from components/Inputgroup/metadata/enhancement.js
// Load Stepper functionality from components/stepper/metadata/enhancement.js
// Load Picker functionality from components/picker/metadata/enhancement.js
// Load Treeview functionality from components/treeview/metadata/enhancement.js
// Load Accordion functionality from components/accordion/metadata/enhancement.js
// Load Cyclebutton functionality from components/cyclebutton/metadata/enhancement.js
// Load Sliders functionality from components/slider/metadata/enhancement.js
// Load Dial functionality from components/dial/metadata/enhancement.js
// Load Dialog functionality from components/dialog/metadata/enhancement.js

I'm sure you realize this and just haven't gotten to take care of it yet, but when I run this locally and try to view the docs site, I'm getting a setPickerValue is not a function error in the console, and it's preventing anything else on any of the component pages from loading properly.
Again, you probably know about this already, but I thought I should call it out so that we can take care of it!

Great catch Patrick! I suspect this comes from needing to load the enhancement.js assets first before tools/documentation/assets/js/site.js which references it. We'll also need a more graceful degradation if the function can't be found - an if check should do the trick to see if window.setPickerValue is undefined.

authors: Rajdeepc castastrophe


text:
Deprecate profile-counters-v1

Please link to the issue #…
https://jira.corp.adobe.com/browse/CJM-17091

@prabhum2 @Seth0115 when are we planning to merge this change?

@prabhum2 @Seth0115 when are we planning to merge this change?

Whenever XDM team deems possible?

repo: adobe/xdm


text:
[MWPW-143523] Accessibility Fixes

Describe your specific features or fixes
Bundles several accessibility fixes together.

Modifies template-x to display a border when the hidden link is in focus
Modifies the marquee to make the pause button keyboard accessible.
Modifies the layout block to be an  that links to the configs destination instead of using an onclick tracker.
Modifies the Monthly / Yearly pricing radio button to be selectable via keyboard
Modifies the hero animation on pages with the columns block such that it can be paused / unpaused by the enter key.

Resolves: MWPW-143523
MWPW-143518
MWPW-143516
MWPW-143517
MWPW-143524
MWPW-143520
MWPW-143525
MWPW-143522
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/
-https://template-x-accessibility--express--adobecom.hlx.page/express/
-https://template-x-accessibility--express--adobecom.hlx.page/express/feature/image/resize
-https://template-x-accessibility--express--adobecom.hlx.page/express/create/logo

Codecov Report
Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 36.03%. Comparing base (75a7616) to head (f50cce1).

Files
Patch %
Lines

express/blocks/layouts/layouts.js
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #762      +/-   ##
==========================================
- Coverage   36.26%   36.03%   -0.24%
==========================================
  Files         132      131       -1
  Lines       25728    25611     -117
==========================================
- Hits         9331     9228     -103
+ Misses      16397    16383      -14

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

nice! This also helps me see one issue with the updated billing-toggle. Let me push a fix directly to this branch tomorrow

I can't tell which card in the layout block I'm tabbing through on https://template-x-accessibility--express--adobecom.hlx.page/express/feature/image/resize. Is it intended?

I still can't perform the copy to clipboard action on the template-x templates. Do we plan to fix that in this PR?

authors: JingleH codecov-commenter echen-adobe qiyundai

repo: adobecom/express


text:
MWPW-157100: Merch card headers as p tags for Accessibility #3080

This PR changes the tag names of all headings to <p> except for the first heading <h3> as per accessibility requirements, as changed in this milo PR: https://github.com/adobecom/milo/pull/3080

Closing this PR since merch card block NALA tests has been moved to Milo repo.

repo: adobecom/nala


text:
Kerberos Credential Retrieval from Cache not Working in Cross-Realm Setup

Summary
We have a problem with JDK and Kerberos in a cross-realm setup, of which we suspect the root cause to be in the JDK.
We assume cross-realm support was implemented as described here: https://bugs.openjdk.java.net/browse/JDK-8005819
The ticket's test description states the following setup:
client@REALM2 has established a kerberos context with krbservice1@REALM1 with delegcred=false, krbservice1@REALM1 delegates to krbservice2@REALM1 using S4U2PROXY
However, in our setup krbservice2, the one we want to delegate to, is in a different realm than krbservice1. This means we have no official statement if our setup is supposed to work at all.
The delegation to krbservice2 is configured as resource-based delegation. Which means in the AD for krbservice1, krbservice2 is not in the property list of "allowedToDelegateTo". Instead, we configured the trust relationship for delegation with the PowerShell command Set-ADUser. krbservice2 cannot be added to the allowedToDelegateTo property of krbservice1 because they are in different realms.
Steps to reproduce

On the first round the user "client" establishes a connection to our krbservice1. krbservice1 sends a delegated search request to krbservice2. The Java security module successfully retrieves a ticket on the user's behalf, which is attached to the search request to krbservice2 and search results are returned.
However, on the second search query, in the class sun/security/krb5/internal/CredentialsUtil.java it restores the credentials from the cache, but it is not able to retrieve a valid ticket for krbservice2. Instead, we get the following error messages:

KRBError:
sTime is Tue Jun 01 14:03:37 CEST 2021 1622549017000
suSec is 204909
error code is 28
error Message is null
sname is HTTP/krbservice2@REALM2
msgType is 30

and

KRBError:
sTime is Tue Jun 01 14:03:37 CEST 2021 1622549017000
suSec is 201727
error code is 13
error Message is KDC cannot accommodate requested option
sname is HTTP/krbservice2@REALM1
eData provided.
msgType is 30

When we look into the first error message with Wireshark, we found the error to be:
KRB5KRB_AP_PATH_NOT_ACCEPTED
When we decode the "Unknown eData field of KRB-ERROR" sent along with the first error message, we get:
C:\Users\me\Downloads>.\Err_6.4.5.exe c0000272
for hex 0xc0000272 / decimal -1073741198
STATUS_NO_MATCH                                                ntstatus.h
There was no match for the specified key in the index.
as an HRESULT: Severity: FAILURE (1), FACILITY_NULL (0x0), Code 0x272
for hex 0x272 / decimal 626
ERROR_NO_MORE_MATCHES                                          winerror.h
There are no more matches for the current index
enumeration.
2 matches found for "c0000272"
From these error messages we understand the following: For some unknown reason in the second search request with the credentials retrieved from ReferralsCache it is not possible to find krbservice2 in REALM2 anymore.
Analysis
We think that this is a bug in the JDK, because when we clear the ReferralsCache between search requests, it returns search results successfully. We did this manually with the remote debugging options of an IDE.
When remote-debugging into the code of CredentialsUtil we see that on the first request, Credentials of type Proxy are not stored, but the ones with None are. A comment in the code explicitly states that Credentials for Proxy should not be cached. However, in the second search request, the Credentials for Proxy are retrieved from the Cache. We think this contradicts the warning in the comment, as this is basically a caching of Proxy credentials. Therefore we suspect this to be the location of the bug and Credentials for type Proxy should not be retrieved from the cache.
Please fix.
Triaging info
This is the data of the middle service, krbservice1 in the above described setup.
Java version: We tried both:
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
and
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
We encounter the same problem in both versions.
What is your operating system and platform?
Windows Server 2016 Datacenter
Did it work before?
Our setup works successfully with krbservice1 and 2 in the same realm with resource-based delegation configured.

Here is our suggestion for a fix. We successfully tested it on our internal environment.
#318_add_check_before_requesting_referrals_cache_to_prevent_usage_of_an_inappropriate_tick.zip

Duplicated by https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8270137

Thanks for reporting this bug.
Just for the record, the OpenJDK discussion is taking place in the context of https://github.com/openjdk/jdk/pull/5036

merged upstream.

authors: Raytion karianna martinuy

repo: adoptium/adoptium-support


text:
exclude jdk_tools testcases due to upstream issue

Fixes #3061

@sophia-guo @llxia @ShelleyLambert

@llxia here are the requested changes

repo: adoptium/aqa-tests


text:
Reenable JDK19 tests after the fix for eclipse-openj9/openj9#15251

The following four tests are reenabled since
eclipse-openj9/openj9#15251 has been fixed.
Previously they were exclude in adoptium/aqa-tests#3750
SC_Softmx_JitAot
SC_Softmx_JitAot_Linux
SharedClasses.SCM23.MultiThread
SharedClasses.SCM23.MultiThreadMultiCL
Signed-off-by: Annabelle Huo Annabelle.Huo@ibm.com

@llxia @Mesbah-Alam May I ask you to review? Thank you!
@JasonFengJ9 @pshipton @0xdaryl  fyi


text:
Add gcc11.2 role for jdk19+

Fixes #2538
Signed-off-by: Adam Brousseau adam.brousseau88@gmail.com

Checklist

[ ] commit message has one of the standard prefixes
[ ] faq.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[ ] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

@sxa can you review or delegate? I basically copy/pasted the gcc10 role. Will need Adopt to do the binary work on the the other side.

Is there an outlook on timeframe for completing this work? Ie. adding the gcc11 binary to Adopt's Jenkins' userContent.

VPC run: https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/1458 - I'm not sure why the CentOS6 run failed to extract GCC10 in that run though - it /shouldn't/ be anything to do with this PR.

We have GCC11 now available on all of the requiredLInux platforms now (I will update the ARM32 one next week, but hat won't require a playbook change), so this should be good to go in if you're happy to take it out of draf @AdamBrousseau

Think this is in order now @sxa

authors: AdamBrousseau sxa

repo: adoptium/infrastructure


text:
Problem uninstalling AOJDK 11.0.7_10 OpenJ0.20.0 (x64) LTS in Windows 10 2H2 x64

This is a copy/move from temurin-build Issue #2572 at github https://github.com/adoptium/temurin-build/issues/2572
(as the topic also concerns the installer, and it could be useful to all to open the issue here under /installer  for everyones benefit, as kindly suggested by @karianna )
What are you trying to do?
-to uninstall OLD LTS (to upgrade to a current JDK 11 LTS (11.0.10_9_openj9-0.24.0.msi)) - currently the installer and the associated uninstaller is stuck, impossible to uninstall it
Expected behaviour:
Old 11 LTS 11.0.7_10 to be uninstalled smoothly (and replaced with the new one)
Observed behaviour:
The old AOJDK can not be uninstalled from windows system by its uninstaller, even if it is exactly the same name dot subvairiant etc.
When trying to circumvent the problem by installing new LTS supposedly to uninstall or rewrite registry entries pointing to the correct LTS - it fails the same by invoking the same old failing uninstaller script.
It asks for .msi name AOJDK EOJ9 11.0.7_10 (x64) , and when matched - just refuses to proceed and continues to insist that it is not the right one, although the name and variant is the exact subvariant dots and an exact match of a filename (downloaded .msi of the 11.0.7.10 build from github while trying to correct the situation)
Any other comments:
By the way of trying to resolve this, under releases history I noticed some sub-variant versions of LTS 11.0.10_9 / openj9.0.24.0 installer on github - it would be good to get everything coherent  in th final outcome of eradicating .msi uninstall problem for good.
Useful observation: A solid manual removal instructions is missing - it was not possible to find it only by search engine query.
Thank you in advance for considering this critical uninstaller bug

Please give us some log files from the msi

msiexec /x "C:\MyPackage\Example.msi" /L*V "C:\log\example.log"

Then try to reboot and uninstall.

@douph1
Thank you for the swift reply; as I am in daily workplace, will try to provide log answer ASAP in the work break.
Thank you for the log cmd line as the next step, have a great day!

Closed as no new input since long time

repo: adoptium/installer


text:
Another problem with isless

As a complement to https://github.com/adrhill/SparseConnectivityTracer.jl/issues/152, with non-evenly distributed t:
using SparseConnectivityTracer: TracerLocalSparsityDetector, jacobian_sparsity
using DataInterpolations: LinearInterpolation
detector = TracerLocalSparsityDetector()
A = LinearInterpolation([0.0, 2.0, 10.0], [0.0, 2.0, 3.0])

function f!(output, input)
    output .= A.(input)
end

input = rand(5)
output = zero(input)

jacobian_sparsity(f!, output, input, detector)

this gives
ERROR: MethodError: isless(::SparseConnectivityTracer.Dual{Float64, SparseConnectivityTracer.GradientTracer{SparseConnectivityTracer.IndexSetGradientPattern{Int64, BitSet}}}, ::Float64) is ambiguous.

Candidates:
  isless(dx::D, y::Real) where D<:SparseConnectivityTracer.Dual
    @ SparseConnectivityTracer path\to\.julia\packages\SparseConnectivityTracer\tpAG2\src\overloads\dual.jl:25
  isless(x::Real, y::AbstractFloat)
    @ Base operators.jl:178

Possible fix, define
  isless(::D, ::AbstractFloat) where D<:SparseConnectivityTracer.Dual

Stacktrace:
  [1] lt(o::Base.Order.ForwardOrdering, a::SparseConnectivityTracer.Dual{…}, b::Float64)
    @ Base.Order .\ordering.jl:117
  [2] bracketstrictlymontonic
    @ path\to\.julia\packages\FindFirstFunctions\2w5qZ\src\FindFirstFunctions.jl:179 [inlined]
  [3] searchsortedlastcorrelated
    @ path\to\.julia\packages\FindFirstFunctions\2w5qZ\src\FindFirstFunctions.jl:266 [inlined]
  [4] get_idx(A::LinearInterpolation{…}, t::SparseConnectivityTracer.Dual{…}, iguess::Int64; lb::Int64, ub_shift::Int64, idx_shift::Int64, side::Symbol)
    @ DataInterpolations path\to\.julia\packages\DataInterpolations\i1xgb\src\interpolation_utils.jl:133
  [5] get_idx
    @ path\to\.julia\packages\DataInterpolations\i1xgb\src\interpolation_utils.jl:120 [inlined]
  [6] _interpolate(A::LinearInterpolation{…}, t::SparseConnectivityTracer.Dual{…}, iguess::Int64)
    @ DataInterpolations path\to\.julia\packages\DataInterpolations\i1xgb\src\interpolation_methods.jl:19
  [7] _interpolate
    @ path\to\.julia\packages\DataInterpolations\i1xgb\src\interpolation_methods.jl:5 [inlined]
  [8] AbstractInterpolation
    @ path\to\.julia\packages\DataInterpolations\i1xgb\src\DataInterpolations.jl:24 [inlined]
  [9] _broadcast_getindex_evalf
    @ .\broadcast.jl:709 [inlined]
 [10] _broadcast_getindex
    @ .\broadcast.jl:682 [inlined]
 [11] getindex
    @ .\broadcast.jl:636 [inlined]
 [12] macro expansion
    @ .\broadcast.jl:1004 [inlined]
 [13] macro expansion
    @ .\simdloop.jl:77 [inlined]
 [14] copyto!
    @ .\broadcast.jl:1003 [inlined]
 [15] copyto!
    @ .\broadcast.jl:956 [inlined]
 [16] materialize!
    @ .\broadcast.jl:914 [inlined]
 [17] materialize!(dest::Vector{…}, bc::Base.Broadcast.Broadcasted{…})
    @ Base.Broadcast .\broadcast.jl:911
 [18] f!(output::Vector{SparseConnectivityTracer.Dual{…}}, input::Vector{SparseConnectivityTracer.Dual{…}})
    @ Main path\to\Ribasim_development\runners\runner.jl:35
 [19] trace_function(::Type{SparseConnectivityTracer.Dual{…}}, f!::typeof(f!), y::Vector{Float64}, x::Vector{Float64})
    @ SparseConnectivityTracer path\to\.julia\packages\SparseConnectivityTracer\tpAG2\src\interface.jl:49
 [20] _local_jacobian_sparsity(f!::Function, y::Vector{…}, x::Vector{…}, ::Type{…})
    @ SparseConnectivityTracer path\to\.julia\packages\SparseConnectivityTracer\tpAG2\src\interface.jl:94
 [21] jacobian_sparsity(f!::Function, y::Vector{…}, x::Vector{…}, ::TracerLocalSparsityDetector{…})
    @ SparseConnectivityTracer path\to\.julia\packages\SparseConnectivityTracer\tpAG2\src\adtypes.jl:122
 [22] top-level scope
    @ path\to\Ribasim_development\runners\runner.jl:41
Some type information was truncated. Use `show(err)` to see complete types.

Thanks a lot! Looks like the overload of isless(x::Dual, y::Real) added in #149 isn't specific enough for input types and we also need an additional overload on isless(x::Dual, y::AbstractFloat).
Maybe we should run our Dual tests on more diverse input types to catch this type of problem.

authors: SouthEndMusic adrhill

license: MIT


text:
Open Weather Map

Can't find open weather map API on rapid Api website and alternate or some sort of help will be appreciated.

same problem here

You can make a free account on the OpenWeather website.
Assuming you have created the .env file to hide your api keys you can then update the getWeatherData function in the js file of the api folder:
export const getWeatherData = async (lat, lng) => {
  try {
    const apiKey = process.env.REACT_APP_OPEN_WEATHER_API_KEY;
    const { data } = await axios.get(
      `https://api.openweathermap.org/data/2.5/weather?lat=${lat}&lon=${lng}&appid=${apiKey}`
    );

    return data;
  } catch (error) {
    console.log(error);
  }
};

Additionally, the img src will need to be updated in the Map.jsx file:
{weatherData?.list?.map((data, i) => (
          <div key={i} lat={data.coord.lat} lng={data.coord.lon}>
            <img
              src={`https://openweathermap.org/img/wn/${data.weather[0].icon}.png`}
              height={75}
              alt=""
            />
          </div>
        ))}

When console.log'd, the api calls return the expected data with these updates, however, I haven't been able to get the weather icons to successfully render on the map.


text:
Cannot reach myIP:3000 permission denied

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I had tesla mate for a year use to work on debian base with docker, but lately cannot get into the UI the grafana log give me
=eror msg="failed to determine the status of alerting engine. Enable either legacy or unified alerting explicitly and try again" err="failed to verify if the 'alert' table exists: unable to open database file: permission denied"
and container Telamate log give me
(File.Error) could not write to file "/opt/app/lib/tzdata-1.1.1/priv/latest_remote_poll.txt": permission denied
no issue with ip :4000
also cannot update image: postgres:13 to image: postgres:14 not compatible?
Expected Behavior
Before could access the UI but not anymore
Steps To Reproduce
Start Teslamate as normal using step 3 The Grafana dashboards are available at http://your-ip-address:3000
Relevant log output
[error] GenServer :tzdata_release_updater terminating
** (File.Error) could not write to file "/opt/app/lib/tzdata-1.1.1/priv/latest_remote_poll.txt": permission denied

logger=migrator t=2022-12-31T21:42:31.39+0000 lvl=eror msg="failed to determine the status of alerting engine. Enable either legacy or unified alerting explicitly and try again" err="failed to verify if the 'alert' table exists: unable to open database file: permission denied"
logger=settings t=2022-12-31T21:43:31.72+0000 lvl=info msg="Starting Grafana" version=8.5.6 commit=623255cf2d branch=HEAD compiled=2022-06-14T09:25:38Z
logger=settings t=2022-12-31T21:43:31.72+0000 lvl=info msg="The state of unified alerting is still not defined. The decision will be made during as we run the database migrations"
Client TESLAMATE_302E3936363 closed its connection.
1672521241: mosquitto version 2.0.15 terminating

[42] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.663 UTC [41] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.663 UTC [46] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.663 UTC [43] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.663 UTC [38] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.664 UTC [44] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.664 UTC [45] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.665 UTC [1] LOG:  background worker "logical replication launcher" (PID 33) exited with exit code 1
2022-12-31 21:14:01.665 UTC [37] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.667 UTC [40] FATAL:  terminating connection due to administrator command
2022-12-31 21:14:01.667 UTC [39] FATAL:  terminating connection due to administrator command

Screenshots
No response
Additional data
_teslamate-database-1_logs(1).txt
_teslamate-teslamate-1_logs(1).txt
_teslamate-grafana-1_logs(2).txt
_teslamate-mosquitto-1_logs.txt
Type of installation
Docker
Version
1.27.1

Do you have space available on the system hosting TeslaMate?

Definitely not the issue, the partition where docker folder is got 430Gib free

#3040 - similar errors. No fix, but possible collaboration.

It looks like the both the teslamate and grafana containers have file permission problems.  Were they upgraded from older versions?
The output of
docker exec tm_grafana_1 ls -la /var/lib/grafana
docker exec tm_teslamate_1 ls -la /opt/app/lib/tzdata-1.1.1/priv

might be useful (replace tm_grafana_1 and tm_teslamate_1 by the names of your containers).

Just in case I removed _1 at the end of all my containers's names and relaunched the stack in portainer
# docker exec teslamate-teslamate ls -la /opt/app/lib/tzdata-1.1.1/priv total 20 drwxr-xr-x 4 root users 4096 Jul 22 10:35 . drwxr-xr-x 4 root users 4096 Jul 22 10:35 .. -rw-r--r-- 1 root users    9 Jul 22 10:35 latest_remote_poll.txt drwxr-xr-x 2 root users 4096 Jul 22 10:35 release_ets drwxr-xr-x 2 root users 4096 Jul 22 10:35 tmp_downloads
~# docker exec teslamate-grafana ls -la /var/lib/grafana Error response from daemon: Container b1a475948dab1774bf8444a25ec1681ce75837921c3c9e06838b0ff3a2d714a3 is restarting, wait until the container is running

In the teslamate container, you somehow have all these files owned by root.  They are owned by nonroot for me with a container created using the instructions at https://docs.teslamate.org/docs/installation/docker on debian 11.  Is that different from what you are doing?
The command for the grafana container failed because the container was restarting.  You could try it again but wait a little longer after starting it to avoid this error.

I tried stopping the container and starting it after the other, this is not working because of permission issue
I followed the instructions to the letter, you can see my install in the attached file is also running on a Debian 11 base : OMV.
So for some reason the user became root, how can I change it back to nonroot without recreate everything and loosing all my data?
teslamate.txt

look like  for docker exec teslamate-teslamate-1 ls -la /opt/app/lib/tzdata-1.1.1/priv
the files  owner is somehow fixed
total 28 drwxr-xr-x 1 nonroot nonroot 4096 Jan 13 13:47 . drwxr-xr-x 1 nonroot nonroot 4096 Jan 13 13:47 .. -rw-r--r-- 1 nonroot nonroot    9 Jan 13 18:17 latest_remote_poll.txt drwxr-xr-x 1 nonroot nonroot 4096 Jan 13 18:17 release_ets drwxr-xr-x 1 nonroot nonroot 4096 Jan 13 18:17 tmp_downloads
but beside this basicaly the same result, no fixed.
_teslamate-teslamate-1_logs(2).txt
_teslamate-mosquitto-1_logs(2).txt
_teslamate-grafana-1_logs(4).txt
_teslamate-database-1_logs(4).txt

authors: cwanja dyxyl galosre

repo: adriankumpf/teslamate


text:
Script de création de CSV en sortie de LiveCAM

Créer un script permettant de créer un CSV avec comme information la date, le nombre de personnes, le chemin de la photo et le nom du fichier
Ce CSV permettra de comparer le nombre de photo avec une (ou +) personne détectée et le nombre de photo total

Excellent, on va bien s'amuser à analyser ce fichier 🚀

@adriens LiveCAM Stats.xlsx

:bomb:

authors: adriens gbertherat

repo: adriens/person-counter-api


text:
🛑 adv-compass-pmdevel is down

In 94ca810, adv-compass-pmdevel (https://api.github.com/orgs/advancedcsg/actions/runners/310) was down:

HTTP code: 200
Response time: 161 ms

Resolved: adv-compass-pmdevel is back up in 4e34375.


text:
[BUG] Angle D3D11 glEnableVertexAttribArray() program state rendering error.

This bug seems like it's up to google angle to fix it but just to throw it out there it seems sometimes when a shader is switched, it's vertex attributes do not switch from the old one to the new one, and an OpenGL error 0x0502 error is thrown, this bug was discovered by making a mesh render in 2D queue setForce2DQueue() with a sprite that exists in the same scene but with a lower local z value than the 2D queued mesh.
Unexpected result: mesh will not be shown and an opengl error is thrown.
CCRenderer.cpp:320

When flush2D is called (which renders all sprites in a scene in a single batch to minimize draw calls), it calls drawElements() in the same sort order GLOBALZ_XXX as the mesh, they both set up their vertex attributes in:
CommandBufferGL.cpp:283

Now that triangle batch is drawn with it's according vertex attributes, and here comes the turn to drawMeshCommand() which does the same thing and sets up it's vertex attributes according to the program state just like before, BUT an opengl es angle error is thrown OpenGL error 0x0502 when the draw call is finally issued, which confused me as to how could a previous opengl state affect future states?
I don't know if that bug affects only D3D11 Angle or OpenGL ES devices and if both are affected then mobile devices are affected by this bug too.

Do you have a reproduce demo about this issue

Somehow I can't reproduce the bug again with d3d11...
The helloworld sprite seems to render fine behind the mesh of quads:

I think it's a vertex attribute problem, the bug is really confusing.
I'll close this issue for now.

repo: adxeproject/adxe


text:
Command line arguments for Operator

In the docs https://github.com/adyanth/cloudflare-operator/blob/main/docs/configuration.md#operator it says you can add command line arguments like --overwrite-unmanaged-dns but it isn't clear to me where or how this should be done.
Thanks

Hey @acrogenesis,
It is to be added to the deployment's spec.template.spec.containers[1].args after --leader-elect. Currently, it is a manual step, but I am planning to worry about making it easier to configure when I start looking into Helm charts for it since there are very few meaningful configurable parameters for now.
Obligatory patch: (Note that it is not idempotent)
kubectl -n cloudflare-operator-system patch deploy cloudflare-operator-controller-manager --type=json -p='[{"op": "add", "path": "/spec/template/spec/containers/1/args/-", "value": "--overwrite-unmanaged-dns=true"}]'

Reference:
https://github.com/adyanth/cloudflare-operator/blob/702e042e33c1cf802c80a0e3aaf73b20e515409e/main.go#L60

That makes sense. Thanks!

authors: acrogenesis adyanth

repo: adyanth/cloudflare-operator


text:
[ENH] Loading unequal length, no missing values classification problems

This PR:

Fixes #1059 because I have reconfigured tsc.com to return 404 when file not found.
Adapts load_classification to match load_regression, so that the equal length and no missing value variants of problems can be loaded directly from the zip. Allows suffixes
_discr : discrete version of a regression problem
_eq : equal length version of a variable length
_nmv : no missing values version of set with missing values.

so dataset Foo_disc_eq_nmv_TEST.ts is a variant of the regression problem with a discretised target, made equal length (method may vary on dataset) and missing values imputed.

Removes the requirement for data to be on one of the data set lists (which are not really lists,
Changes the name of tsc_data_lists to tsc_datasets. They are sets not lists (for query reasons)
Adds a note book "data_unequal.ipynb" to demonstrate usage.
Allows for loading the discrete versions of regression problems

@TonyBagnall does this allow to load discrete version of regression problems using the load_classification or load_regression function ?
and second question, the equal length fix follows the padding zero or the 2nd bake off ? I think we already discussed but completely forgot which is why i am asking here to keep track :)

@TonyBagnall does this allow to load discrete version of regression problems using the load_classification or load_regression function ?
and second question, the equal length fix follows the padding zero or the 2nd bake off ? I think we already discussed but completely forgot which is why i am asking here to keep track :)

loading discrete versions with load_classification is the plan, but I think in future PR. Series padded with mean+small amount of noise

repo: aeon-toolkit/aeon


text:
build: use graphql-tools to load files

Fixes failing integration tests in jobs/5744

Thanks for the fix, did anything to to make the test fail?

I noticed the build is failing in https://github.com/aerogear/graphback/pull/1616. So it is blocking dependency updates.
Though I see this is failing for a different reason now, will do some more checks.

I noticed the build is failing in #1616. So it is blocking dependency updates.
Though I see this is failing for a different reason now, will do some more checks.

Thanks for the quick fix!!

repo: aerogear/graphback


text:
enable VNC not working in Robot framework with selenoid

we were using Protractor for test automation and we have setup Selenoid for remote execution. Everything is working perfectly fine.
Now we are switching to Robot framework (Java version). I have setup the desired capabilities and remote url in "Open browser keyword"
Code in robot framework for launching tests on remote with desired capabilities
${desired caps}    getCapabilities    // capabilities are returned in this in string format with enablevnc as true
Open Browser    ${SSO_URL}    ${Browser}    None    http://0.0.0.0:4444/wd/hub  ${desired caps}
Tests are executing on Selenoid but not able to see the execution, VNC flag is missing.
On the other hand i had done the setup in selenium 4 chrome standalone docker image and executed the robot tests on this image , i am able to see the execution even without the enable VNC flag. (tests are executed on noVNC).
Could some one help me in viewing the robot test (Java Port) execution on Selenoid.

@kiruparkuma see https://github.com/aerokube/selenoid/issues/554#issuecomment-432604950.

Trying to run Selenoid on my Robot Framework tests but I am unable to view Video or record it.

What am I doing wrong?

@madb1ker see my comment above.

@madb1ker see my comment above.

desired_capabilities has been deprecated and removed.
I can run my tests in Robot Framework with Selenoid, I just cannot find how to set enableVNC and enableVideo to True.

@madb1ker Selenoid supports W3C version of the protocol which is current standard, so Selenoid capabilities can go under selenoid:options key. Not sure how to add this in robot-framework. https://www.w3.org/TR/webdriver2/#extensions-0

@madb1ker Selenoid supports W3C version of the protocol which is current standard, so Selenoid capabilities can go under selenoid:options key. Not sure how to add this in robot-framework. https://www.w3.org/TR/webdriver2/#extensions-0

Thank you!
For the record this is the correct way to use Selenoid with Robot Framework passing the arguments in the browser options:
${selenoid_args}    Create Dictionary     enableVNC=${True}    enableVideo=${True}       Open Browser  ${WMS_URL}  ${BROWSER}  remote_url=${SELENOID_SERVER}  options=set_capability("selenoid:options",${selenoid_args})

Ok, closing then.

authors: kiruparkuma madb1ker vania-pooh

repo: aerokube/selenoid

license_source: bigquery


text:
video rename failed cause no such file or dictionary

I started Selenoid using CM, and overwrote the default video storage path, but when a task ended, an error was reported that the video file was not found. The following is the output log of Selenoid：
···
023/03/30 09:50:24 [-] [INIT] [Using Docker API version: 1.41]
2023/03/30 09:50:24 [-] [INIT] [Timezone: UTC]
2023/03/30 09:50:24 [-] [INIT] [Listening on :4444]
2023/03/30 09:51:50 [-] [NEW_REQUEST] [unknown] [10.19.43.154]
2023/03/30 09:51:50 [-] [NEW_REQUEST_ACCEPTED] [unknown] [10.19.43.154]
2023/03/30 09:51:50 [0] [LOCATING_SERVICE] [chrome] [101.0]
2023/03/30 09:51:50 [0] [USING_DOCKER] [chrome] [101.0]
2023/03/30 09:51:50 [0] [CREATING_CONTAINER] [selenoid/vnc_chrome:101.0]
2023/03/30 09:51:50 [0] [STARTING_CONTAINER] [selenoid/vnc_chrome:101.0] [57a8fa68185b5b76751cb9adb93cd65f664a7b87031604e9d97ba4e5b89b70dc]
2023/03/30 09:51:50 [0] [CONTAINER_STARTED] [selenoid/vnc_chrome:101.0] [57a8fa68185b5b76751cb9adb93cd65f664a7b87031604e9d97ba4e5b89b70dc] [0.36s]
2023/03/30 09:51:50 [0] [CREATING_VIDEO_CONTAINER] [selenoid/video-recorder:latest-release]
2023/03/30 09:51:50 [0] [STARTING_VIDEO_CONTAINER] [selenoid/video-recorder:latest-release] [52d2a818239b4b3e3f17d9cdbc4017f7ba6c5a50d92339b4cdf00a95174b7376]
2023/03/30 09:51:51 [0] [VIDEO_CONTAINER_STARTED] [selenoid/video-recorder:latest-release] [52d2a818239b4b3e3f17d9cdbc4017f7ba6c5a50d92339b4cdf00a95174b7376] [0.57s]
2023/03/30 09:51:51 [0] [SERVICE_STARTED] [selenoid/vnc_chrome:101.0] [57a8fa68185b5b76751cb9adb93cd65f664a7b87031604e9d97ba4e5b89b70dc] [0.00s]
2023/03/30 09:51:51 [0] [PROXY_TO] [57a8fa68185b5b76751cb9adb93cd65f664a7b87031604e9d97ba4e5b89b70dc] [http://172.17.0.4:4444/]
2023/03/30 09:51:51 [0] [SESSION_ATTEMPTED] [http://172.17.0.4:4444/] [1]
2023/03/30 09:51:52 [0] [SESSION_CREATED] [a8535d93afac3bb6f2ceb066cd48fe46] [1] [1.75s]
2023/03/30 09:56:59 [4164] [SESSION_DELETED] [a8535d93afac3bb6f2ceb066cd48fe46]
2023/03/30 09:56:59 [0] [STOPPING_VIDEO_CONTAINER] [52d2a818239b4b3e3f17d9cdbc4017f7ba6c5a50d92339b4cdf00a95174b7376]
2023/03/30 09:57:00 [0] [REMOVING_CONTAINER] [52d2a818239b4b3e3f17d9cdbc4017f7ba6c5a50d92339b4cdf00a95174b7376]
2023/03/30 09:57:00 [0] [FAILED_TO_REMOVE_CONTAINER] [52d2a818239b4b3e3f17d9cdbc4017f7ba6c5a50d92339b4cdf00a95174b7376] [Error response from daemon: removal of container 52d2a818239b4b3e3f17d9cdbc4017f7ba6c5a50d92339b4cdf00a95174b7376 is already in progress]
2023/03/30 09:57:00 [0] [REMOVING_CONTAINER] [57a8fa68185b5b76751cb9adb93cd65f664a7b87031604e9d97ba4e5b89b70dc]
2023/03/30 09:57:00 [0] [CONTAINER_REMOVED] [57a8fa68185b5b76751cb9adb93cd65f664a7b87031604e9d97ba4e5b89b70dc]
2023/03/30 09:57:00 [0] [VIDEO_ERROR] [Failed to rename /data/apps/selenoid/video/selenoid4d7d695b45a07445ff6aa168a7e82297.mp4 to /data/apps/selenoid/video/chrome982Z.mp4: rename /data/apps/selenoid/video/selenoid4d7d695b45a07445ff6aa168a7e82297.mp4 /data/apps/selenoid/video/chrome982Z.mp4: no such file or directory]
···
The strange thing is that the video storage address I specified has this video. What is the reason?
[@jsy19-43-152 /data/apps/selenoid/video]# ls -ll
total 51300
-rw-r--r-- 1 root root  6061329 Mar 30 14:33 selenoid2f04e740e2924418e96f37c946892986.mp4
-rw-r--r-- 1 root root  5052357 Mar 30 16:30 selenoid3eafdd6088457654abfdae3f23754ade.mp4
-rw-r--r-- 1 root root  5030674 Mar 30 17:57 selenoid4d7d695b45a07445ff6aa168a7e82297.mp4
-rw-r--r-- 1 root root 15894839 Dec  9 17:22 selenoid529b1de5f2ab1b8791abbbca9801676e.mp4
-rw-r--r-- 1 root root  6139882 Mar 30 14:34 selenoid8459de847e5fb72108bead8abea1ec31.mp4
-rw-r--r-- 1 root root 14338547 Dec 13 12:56 selenoidf4c92d231db8b4a399d3a1e6260246cf.mp4

here is my cm command :
./cm selenoid start --config-dir /data/apps/selenoid/ --browsers-json /data/apps/selenoid/browsers.json --vnc --port 4444 --args "-limit 2 -timeout 3m -log-output-dir /data/apps/selenoid/logs/ -video-output-dir /data/apps/selenoid/video/ -session-attempt-timeout 2m -service-startup-timeout 2m -container-network bridge"

@suzhenyu006 just using --config-dir should be sufficient. No need to override -log-output-dir and other flags as these directories are inside container and --config-dir is outside.


text:
How to hide/disable the Custom button in Color Palette

[yes ] I have verified there are no duplicate active or recent bugs, questions, or requests

I would like to remove the "custom" button in the Color Palette dialog. How can this be done?
Reason: I have an array of preset colors. I want the user to pick only the preset colors not a custom color using seekbar
Regards

Hi @CeJienAJPC,
this is not a bug you can deny the custom Color selection by set the Option "allowUserColorInput" to false.
builder.allowUserColorInput(false);
Best regards,
Vall0n

@Vall0n
Thank you for the solution. I know it ain't a bug. I was just looking if there was a way. Thanks again

repo: afollestad/material-dialogs


text:
Progress Dialog in v3

What module does this apply to?
core
Description what you'd like to happen:
Google clearly stated in its design guidelines that progress dialogs are deprecated and that they should not be used.
Despite this, almost every google app (Gmail, Drive, Sheets, Slides, Docs) make use of dialog progress bars to display downloads/uploads.
Since this library is opinionated it may be worth the effort packing a progress layout and creating an extension function that transforms the dialog into a progress dialog.

I don't want to include a progress dialog, cause I still prefer and want to encourage the use of inline progress indicators.

authors: AndreaCioccarelli afollestad


text:
How to set a global style for the Dialogs

I have different style per activity. When I use the Dialog, they show up with different colours in each activity .

Read the README on the front page.

authors: MrThiago afollestad


text:
Additional fix for vibrating windows

Previously we only checked if the listview could scroll down, which was
incorrect when the listview had already been scrolled to the bottom

Release 0.6.0 is now available
Thanks @teslacoil and @hzsweers!

authors: afollestad teslacoil


text:
Provide an option to disable animations

Maybe as a real Jenkins plugin that could be updated using the normal update center?
The problem for me is that our users can't reach fonts.googleapis.com and afonsof.github.io from where they access the Jenkins server.
Also it would be awesome if there were no animated graphics. Our clients have to be accessed using Remote Desktop and Firefox for example uses a ton of CPU to render the gif animations (It uses way less CPU for the CSS based animations) also since you use distinct shapes for yello-anime.gif and yellow.png the animations don't add anything.

If I'm not mistaken this theme is only using SVG files, not gifs: https://github.com/afonsof/jenkins-material-theme/tree/master/images

@jhasse you are right, the lack of gifs is a big reason for me to use this theme :)
With the gifs in the original jenkins theme the animations are necessary because they look identical if I were to disable gif animations in my browser.
With this theme however the animations are not needed because a Yellow and a Yellow animated (in progress or something) can be easily distinguished.
I hope this explains my reference to the gif files :)

Ah I understand :)
I guess it would be really good to make this theme into a dedicated Jenkins plugin then, since a configuration option could then be added to disable things like animations. I like them though! Not having any CPU issues in Firefox with them.

Well animations are one of those things...
IMO the animated items are of no interest to me - while they are animated I don't care about them, but they grab my attention. When the build is finally done and may be interesting because it failed or has test results - they are not animated anymore.
About that CPU use: Open 5 or more tabs, access your browser over Remote Desktop note CPU use multiply by the number of developers. Then cry for all the CPU cycles that your VM server has to spend to do really important stuff like animating icons... maybe you don't see it because your browser has access to one of those fancy GPUs (any actually because VMs don't have real GPUs). ;)

Guys, thanks for the suggestions! I guess both of them are interesting to implement. What about splitting it in 2 different issues?

Disable animation option
Created a dedicated plugin for this theme

Yes, good idea. I've published the Python plugin to Jenkins in the past, so I can help with the latter one :)

Done. Version 1.1.7

Awesome thanks!

authors: afonsof cobexer jhasse

repo: afonsof/jenkins-material-theme

license: mit


text:
Ensure ?mode=vr forces stereo

https://aframe.io/aframe/examples/showcase-shopping/?mode=vr doesn't seem to force stereo. Perhaps we want ?mode=stereo, idk.
Per https://webvr.slack.com/archives/declarative-vr/p1450387507000072

Yeah, I think its useful to force stereo.   You wouldn't be able to so otherwise unless you are on mobile or a VR enabled browser.

Also would be useful to have a function call to do the same.

And a postMessage call.

Hi all,
I'm looking for a solution to be able to force the vr view on smartphone when my webpage is launched.
Anyone can help me with that ?
Thank you in advance

I'm working on this now. I'll update the bug when it's ready.

authors: caseyyee cvan evilgouky

repo: aframevr/aframe-core


text:
⚠ AGEG website (prod) has degraded performance

In b367389, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1261 ms

Resolved: AGEG website (prod) performance has improved in 06438d0.


text:
Start Error

Why i recive thies error ?
root@vps-zap59814x-4:~/SnapchatBot-master/examples# python reflectorbot.py -u noxxxxx -p 19wr#%xxxxxxxxx
[1] 21608
-bash: FeFOZyU9T@T2YRyUR%SxPz%Sg7vOCrdg5: command not found
root@vps-zap59814-4:~/SnapchatBot-master/examples# [2018-12-05 11:02:36,165] Starting new HTTPS connection (1): feelinsonice-hrd.appspot.com:443
[2018-12-05 11:02:36,536] https://feelinsonice-hrd.appspot.com:443 "POST /loq/login HTTP/1.1" 400 None
Traceback (most recent call last):
File "reflectorbot.py", line 22, in
bot = ReflectorBot(args.username, args.password)
File "build/bdist.linux-x86_64/egg/snapchat_bots/bot.py", line 26, in init
File "/usr/local/lib/python2.7/dist-packages/requests-2.20.1-py2.7.egg/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

I have the same error and without any idea how to fix it. Did anybody got a fix?

First line in the readme
"This repo is deprecated due to changes in Snapchat's unofficial API."

So there is no way to send snaps again ?

authors: Nisutec Smadger1 rhpo rydeom

repo: agermanidis/SnapchatBot


text:
chapter 11 Question 8 restore_model parameter function ?

in chapter 11 Question 8 the code written to restore model parameter to value of best parameters in early stop is  :
    def _restore_model_params(self, model_params):
        gvar_names = list(model_params.keys())
        assign_ops = {gvar_name: self._graph.get_operation_by_name(gvar_name + "/Assign")
                      for gvar_name in gvar_names}
        init_values = {gvar_name: assign_op.inputs[1] for gvar_name, assign_op in assign_ops.items()}
        feed_dict = {init_values[gvar_name]: model_params[gvar_name] for gvar_name in gvar_names}
        self._session.run(assign_ops, feed_dict=feed_dict)

I'm not able to understand this code properly .Can you please explain assign_ops and init_values code ?

Hi @nitml,
Good question.  When you create a variable, TensorFlow automatically creates several operations and tensors, including an assignment operation to initialize the variable to whatever initialization value you chose for that variable.
The first line of the function gets the list of names of variables whose values we want to restore.
The next line gets a reference to all the assignment operations for these variables.  Indeed, if a variable is named "V", then the assignment operation is called "V/Assign".
The third line gets a reference to the tensors that represent the initialization values for these variables. Indeed, an assignment operation has two inputs: (1) a reference to the variable, (2) the value to assign.  Here, I am getting each assignment operation's second input (op.inputs[1]).
The I prepare a feed_dict to tell TensorFlow to use the given model_params values instead of the initialization values for each variable.
Then I run all the assignment operations, feeding the values to use instead of the default initialization values.
Here's a simpler example, to help you understand what's going on:
>>> import tensorflow as tf
>>> V = tf.Variable(1, name="V")
>>> graph = tf.get_default_graph()
>>> sess = tf.InteractiveSession()
>>> V.initializer.run()
>>> V.eval()
1
>>> assign_init_value_op = graph.get_operation_by_name("V/Assign")
>>> init_value = assign_init_value_op.inputs[1]
>>> sess.run(assign_init_value_op, feed_dict={init_value: 2})
>>> V.eval()
2

Hope this helps,
Aurélien

Great Explanation, i have another doubt in this Question 8 to use RandomizedSearchCV we created Sklearn learn compatible class DNNClassifier and then used following code  :
`from sklearn.model_selection import RandomizedSearchCV
def leaky_relu(alpha=0.01):
def parametrized_leaky_relu(z, name=None):
return tf.maximum(alpha * z, z, name=name)
return parametrized_leaky_relu
param_distribs = {
"n_neurons": [10, 30, 50, 70, 90, 100, 120, 140, 160],
"batch_size": [10, 50, 100, 500],
"learning_rate": [0.01, 0.02, 0.05, 0.1],
"activation": [tf.nn.relu, tf.nn.elu, leaky_relu(alpha=0.01), leaky_relu(alpha=0.1)],
# you could also try exploring different numbers of hidden layers, different optimizers, etc.
#"n_hidden_layers": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
#"optimizer_class": [tf.train.AdamOptimizer, partial(tf.train.MomentumOptimizer, momentum=0.95)],
}
rnd_search = RandomizedSearchCV(DNNClassifier(random_state=42), param_distribs, n_iter=50,
random_state=42, verbose=2)
rnd_search.fit(X_train1, y_train1, X_valid=X_valid1, y_valid=y_valid1, n_epochs=1000)`
My question is why have we defined leaked_elu function such that in has another function parametrized_leaky_relu and not simply :
def relu_elu(z,alpha=0.01,name=None):       return tf.maximum(alpha * z, z, name=name)

Hi @nitml ,
With your leaky_relu() function, how would you define the param_distribs dict?  For example, the following would NOT work, because the leaky_relu() function would complain that the argument z is missing:
# THIS WILL NOT WORK
param_distribs = {
    ...
    "activation": [tf.nn.relu, tf.nn.elu, leaky_relu(alpha=0.01), leaky_relu(alpha=0.1)],
    ...
}

Of course you could try to pass some inputs z, but which ones? We don't have that data yet, as it will only be computed during training, and it will be different for each training batch.
However, you could do this:
# THIS SHOULD WORK
param_distribs = {
    ...
    "activation": [tf.nn.relu, tf.nn.elu, lambda z: leaky_relu(z, alpha=0.01), lambda z: leaky_relu(alpha=0.1)],
    ...
}

As you can see, the activation function needs to be, well, a function, not the result of calling the leaky_relu() function.  My function creates a parametrized_leaky_relu() function that has the desired alpha hyperparameter already set to the desired value. So TensorFlow will just give it the input data, and it will compute the right thing.  Your function directly returns a result, so it must be wrapped into a function, for example using a lambda.
I hope this is clear,
Aurélien

Thanks for your Time and explanation,but things are not properly clear,
suppose i want to use leaky_rule having parametrized_leaky_rule() function within it as activation function  then my code will be :
Z=tf.layers.dense(X,20,name="hidden_layer2")
hidden2=leaky_rule(Z)`
then will not it be a error as leaky_rule function does not have parameter "z "as it is parameter of parametrized_leaky_rule() function and not leaky_rule.
In question 8 we used "dnn" function in "fit" function to make layers :
`def _dnn(self,inputs):
    for layer in range(self.n_hidden_layers):
        if self.dropout_rate:
            inputs=tf.layers.dropout(inputs,self.dropout_rate,training=self.training)
        inputs=tf.layers.dense(inputs,self.n_neurons,kernel_initializer=self.initializer,
                              name="hidden%d" % (layer + 1))
        if self.batch_norm_momentum:
            inputs=tf.layers.batch_normalization(inputs,momentum=self.batch_norm_momentum,training=self.training)
        inputs = self.activation(inputs, name="hidden%d_out" % (layer + 1))
    return inputs`

so when we use "RandomizedSearchCV(DNNClassifier" with activation function as "leaky_rule" then second last line "inputs = self.activation(inputs, name="hidden%d_out" % (layer + 1))" should rise error as "inputs" is parameter of "parametrized_leaky_rule()" function and not "leaky_rule".
i hope my question is clear ?
Thanks for all  your Time and support !!

Hi @nitml ,
Sorry I wasn't clear.  As you can see on the second to last line in the _dnn() method, the self.activation attribute needs to be a function that takes some inputs as its first argument, and also takes a name argument.
For example, I could use this function if I want alpha=0.01:
def leaky_relu_001(z, name=None):
      return tf.maximum(0.01 * z, z, name=name)

Then I could just create a DNNClassifier like this:
dnn_clf = DNNClassifier(activation=leaky_relu_001, ...)

If I want to use alpha=0.1 instead, then I can create another function:
def leaky_relu_01(z, name=None):
      return tf.maximum(0.1 * z, z, name=name)

I could then create a param_distribs dict like this:
param_distribs = {
    ...
    "activation": [tf.nn.relu, tf.nn.elu, leaky_relu_001, leaky_relu_01],
    ...
}

And then create a RandomizedSearchCV using this param_distrib, and everything should work fine.  Now instead of manually copy/pasting the code to write a new function every time I want a different alpha value, I could write a create_leaky_relu_function() function, that creates a leaky_relu() function for me, with the desired alpha value:
def create_leaky_relu_function(alpha):
    def leaky_relu(z, name=None):
          return tf.maximum(alpha * z, z, name=name)
    return leaky_relu

Now if I want a new function for alpha=0.2, it is much easier to create:
leaky_relu_02 = create_leaky_relu_function(0.2)

Now this leaky_relu_02() function is a function that takes the inputs z and an optional name. I can use it when creating a DNNClassifier(activation=leaky_relu_02), and I can use it in param_distribs={"activation": [leaky_relu_02, ...], ...}.
The main difficulty is to understand that the create_leaky_relu_function() returns a new function with its own alpha value that will never change once the function is created. Perhaps this simple example may help:
>>> def create_multiplier(factor):
...   def mul(x):
...     return factor * x
...   return mul
...
>>> mul2 = create_multiplier(2)
>>> mul3 = create_multiplier(3)
>>> mul2(10)
20
>>> mul3(10)
30

First I create a function that can be used to create functions. Then I use it to create two functions mul2() and mul3().  The first one has factor=2, so it multiplies its argument by 2, while the second has factor=3 so it multiplies its argument by 3.
Now let's look at your function:
def your_leaky_relu(z, alpha=0.01, name=None):
      return tf.maximum(alpha * z, z, name=name)

It can indeed be used as you showed:
Z = tf.layers.dense(X, 20, name="hidden_layer2")
hidden2 = your_leaky_relu(Z)

You could even set alpha to any value you want:
Z = tf.layers.dense(X, 20, name="hidden_layer2")
hidden2 = your_leaky_relu(Z, alpha=0.2)

However, suppose you want to pass it to the DNNClassifier constructor, and you want alpha=0.2, how can you do that? If you write the following code, then alpha is not set, so it will default to 0.01:
dnn_clf = DNNClassifier(activation=your_leaky_relu, ...)

But if you write the following code, then you will get an error, because activation is supposed to be a function, not a tensor (which is what your function returns):
dnn_clf = DNNClassifier(activation=your_leaky_relu(alpha=0.2), ...) # ERROR

The error will actually not happen right away, but only when self.activation is used (when you fit the DNNClassifier).
So, as you can see, the problem is that there is no way to set the alpha argument in your function when you pass it to the DNNClassifier. This is why, if we want to try 3 different alpha values, we need 3 different functions, and this is why it is useful to have a function that creates them.
Hope this helps,
Aurélien

Great Explanation,
Thanks for your time and support

authors: ageron nitml

repo: ageron/handson-ml


text:
SELECT 1 bug

First bug to fix from here
    SELECT 1 FROM t1 WHERE 1 IN (SELECT 1)

Error message:
context is not defined

Very strange error. It occurs from command line:
    alasql 'SELECT 1 FROM @[1,2] WHERE 1 IN (SELECT 1)'

but does not inside the Mocha test....

Very strange error. It occurs from command line:
    alasql 'SELECT 1 FROM @[1,2] WHERE 1 IN (SELECT 1)'

but does not inside the Mocha test....

Fixed. Hope now we can pass at least one SQLLOGICTEST file in2.test.
@mathiasrw May I ask you to run the test again?

Fixed. Hope now we can pass at least one SQLLOGICTEST file in2.test.
@mathiasrw May I ask you to run the test again?

Sure !

Sure !

ZAP - you have done it again!
Solution to this issue tested and confirmed...
The rest of the tests are still running. Ill update the repo as soon as they are done.
Regarding  in2.test we get the following at the moment:

2/125 ./test/evidence/in2.test
Mimic sqlite
SELECT 1 FROM t1 WHERE 1 IN (SELECT 1,2)

No exception thrown

Fail found for statement setting up data so skipping rest of tests
☓ Ran 53 tests as sqlite

3 skipped
1 failed
92% was OK

Time: 465ms

ZAP - you have done it again!
Solution to this issue tested and confirmed...
The rest of the tests are still running. Ill update the repo as soon as they are done.
Regarding  in2.test we get the following at the moment:

2/125 ./test/evidence/in2.test
Mimic sqlite
SELECT 1 FROM t1 WHERE 1 IN (SELECT 1,2)

No exception thrown

Fail found for statement setting up data so skipping rest of tests
☓ Ran 53 tests as sqlite

3 skipped
1 failed
92% was OK

Time: 465ms

So basically its expecting to get an error on the following 4 statements
statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT 1,2)

statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT x,y FROM t1)

statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT * FROM t1)

statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT min(x),max(x) FROM t1)

So basically its expecting to get an error on the following 4 statements
statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT 1,2)

statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT x,y FROM t1)

statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT * FROM t1)

statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT min(x),max(x) FROM t1)

I will check this tonight after LegoLand (try to get some inspiration there:) )...

I will check this tonight after LegoLand (try to get some inspiration there:) )...

No stress :)

No stress :)

Just remember that Lego is from Denmark )))

Just remember that Lego is from Denmark )))

It iiissss - and we are very proud of it. I have a feeling its not the one in Denmark you are at :)

It iiissss - and we are very proud of it. I have a feeling its not the one in Denmark you are at :)

https://github.com/agershun/alasql/blob/develop/TESTLOG.md is updated.

https://github.com/agershun/alasql/blob/develop/TESTLOG.md is updated.

authors: agershun mathiasrw

repo: agershun/alasql


text:
ModuleNotFoundError with welly version 0.4.10

I receive the error message below when trying to import welly version 0.4.10, I do not receive the same error with version 0.4.9:
ModuleNotFoundError                       Traceback (most recent call last)
/tf/eds_repos/eds-ppfg/ppfg_utils.py in <module>
      7
      8 import os
----> 9 import welly
     10 import numpy as np
     11 import matplotlib.pyplot as plt

/usr/local/lib/python3.6/dist-packages/welly/__init__.py in <module>
      4 ==================
      5 """
----> 6 from .project import Project
      7 from .well import Well
      8 from .header import Header

/usr/local/lib/python3.6/dist-packages/welly/project.py in <module>
     16 from tqdm import tqdm
     17
---> 18 from .well import Well, WellError
     19 from . import utils
     20 from .utils import deprecated

/usr/local/lib/python3.6/dist-packages/welly/well.py in <module>
     23 from .curve import Curve
     24 from .header import Header
---> 25 from .location import Location
     26 from .synthetic import Synthetic
     27 from .canstrat import well_to_card_1

/usr/local/lib/python3.6/dist-packages/welly/location.py in <module>
     19 from .fields import dev_fields
     20 from .crs import CRS
---> 21 from .tools import compute_position_log
     22
     23

/usr/local/lib/python3.6/dist-packages/welly/tools.py in <module>
      6 """
      7 import numpy as np
----> 8 import wellpathpy as wp
      9 import warnings
     10

ModuleNotFoundError: No module named 'wellpathpy'```

@kwinkunks @EvanBianco PR #162 is a fix for this

repo: agile-geoscience/welly


text:
DRY project name

email handler uses message_details.project_name to get the project name from distutils. we also set the project name as part of the Supervisor object, but there is no connection between these two. either link or remove need.

To me it sounds simpler to use the project name from distutils. Could the object sent to supervisor be optional and an override?

authors: jacobdadams steveoh

repo: agrc/supervisor


text:
Calculation "Time to solution + Progress"

Hello, I would like to ask for support to calculate the time for solution + progress that is shown on the GLPI calls page, I still haven't been able to concatenate the data via the database and arrive at the same calculation used by GLPI, what bases and parameters could I use?
Note: in my calendar all days and times are useful.

repo: agrorural/GLPI


text:
Request: add GNU patch

Having patch would be useful on all platforms. https://savannah.gnu.org/projects/patch/

cli.zip https://github.com/ahgamut/superconfigure/releases/tag/z0.0.33 has patch.

authors: ahgamut mattyclarkson

repo: ahgamut/superconfigure

license: Unlicense


text:
Typed channels support

introduced a new method FromTypedChannel()
From() calls FromChannel() if channel is of type chan interface{} and FromTypedChannel for all other channels
benchmark for FromTypedChannel() and FromChannel() performance comparison

calls FromChannel() if channel is of type chan interface{}

but can't all chans be casted to chan interface{} ?

calls FromChannel() if channel is of type chan interface{}

but can't all chans be casted to chan interface{} ?

No, I don't think so. You can think of chan as a type constructor that is parameterized by some inner type and it is invariant. So, chan interface{} and chan int are totally different types.
Disclaimer. I am not 100% sure, since I am not a Go developer in real life :) So, there might be a way.

@ahmetb I've remembered that we use a naming convention of -T() for the methods that identify user types with reflection, e.g. WhereT(predicateFn interface{}) vs Where(predicate func(interface{}) bool). So, probably the right name for FromTypedChannel() is FromChannelT(). What do you think?

Yeah we currently don’t have FromXxxT, but this would reinforce the pattern. FromChannelT is good. Please make sure we explain the difference in its godoc.

Yeah we currently don’t have FromXxxT, but this would reinforce the pattern. FromChannelT is good. Please make sure we explain the difference in its godoc.

@ahmetb done.

authors: ahmetb kalaninja

repo: ahmetb/go-linq


text:
[Idea] Allow configuration of pattern groups through a config file

What if there was a file that holds common queries, in a rc file somewhere on the home dir:
e.g.
context-groups:
  prod-new:
    include: "/prod/"
    exclude: "^/legacy/"
  stg:
    include: "/stg/"

$ kubectl allctx -g prod -- get nodes # g used as a flag for context group

It is a great idea! I will try to implement this feature and raise a PR.

No need.
This is basically just a note so that I don't forget someday later. It doesn't mean I'm interested in adding this.

repo: ahmetb/kubectl-allctx


text:
e621 doesn't work?

ahoviewer won't let me add it.

That booru doesn't seem to support an XML API, but provides a JSON one.
This could be supported with a plugin similar to what I created for Sankaku.
Gonna close this, and recommend you open a request issue over at ahoviewer-plugins repo.

authors: ahodesuka blissfulVoid

repo: ahodesuka/ahoviewer


text:
tres compiler error in TDNSResolver::getResponse

I'm on Ubuntu 16.04 with "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609".
Since 947908cb565cc4fb72517329a23b76ebd15eeeed make tres fails with this:
$ nice make tres
g++ -std=gnu++14 -Wall -O2 -MMD -MP -ggdb -Iext/simplesocket -Iext/simplesocket/ext/fmt-5.2.1/include -Iext/ -pthread    -c -o tres.o tres.cc
tres.cc: In member function ‘DNSMessageReader TDNSResolver::getResponse(const ComboAddress&, const DNSName&, const DNSType&, int)’:
tres.cc:129:32: error: converting to ‘const key_type {aka const std::tuple<ComboAddress, DNSName, DNSType>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {ComboAddress, DNSName, DNSType}]’
   if(skips.count({server,dn,dt})) {
                                ^
tres.cc:185:36: error: converting to ‘std::set<std::tuple<ComboAddress, DNSName, DNSType> >::value_type {aka std::tuple<ComboAddress, DNSName, DNSType>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {ComboAddress, DNSName, DNSType}]’
         skips.insert({server,dn,dt});
                                    ^
<builtin>: recipe for target 'tres.o' failed
make: *** [tres.o] Error 1

I will address this - some c++17-isms have crept in. For now, replace {server, dn, dt} by std::tie(server, dn, dt)

since travis can compile tdns again, this should be resolved. Can you check?

Hmm. It compiles, but the output is mostly on one line. And it segfaults at the end.
$ ./tres mattnordhoff.net A
Retrieved . NSSET from hints, have 26 addresses
Result of query for mattnordhoff.net.|A (0 intermediate, 2 actual)
mattnordhoff.net. 300 A 104.18.56.175
mattnordhoff.net. 300 A 104.18.57.175
Used 6 queries
sh: 1: dot: not found
{"answer":[{"content":"104.18.56.175","name":"mattnordhoff.net.","ttl":300,"type":"A"},{"content":"104.18.57.175","name":"mattnordhoff.net.","ttl":300,"type":"A"}],"dot":"","intermediate":[],"msec":143,"name":"mattnordhoff.net.","numformerrs":0,"numqueries":6,"numtimeouts":0,"rcode":0,"trace":"mattnordhoff.net.|A Starting query at authority = ., have 26 addresses to try\nmattnordhoff.net.|A Sending to server k.root-servers.net. on 2001:7fd::1\nmattnordhoff.net.|A Received a 838 byte response with RCode Noerror, qname mattnordhoff.net., qtype A, aa: 0\nmattnordhoff.net.|A Authority net. IN NS 172800 c.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 m.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 d.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 f.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 k.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 e.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 a.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 i.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 h.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 g.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 l.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 b.gtld-servers.net.\nmattnordhoff.net.|A Authority net. IN NS 172800 j.gtld-servers.net.\nmattnordhoff.net.|A Additional a.gtld-servers.net. IN AAAA 172800 2001:503:a83e::2:30\nmattnordhoff.net.|A Additional b.gtld-servers.net. IN AAAA 172800 2001:503:231d::2:30\nmattnordhoff.net.|A Additional c.gtld-servers.net. IN AAAA 172800 2001:503:83eb::30\nmattnordhoff.net.|A Additional d.gtld-servers.net. IN AAAA 172800 2001:500:856e::30\nmattnordhoff.net.|A Additional e.gtld-servers.net. IN AAAA 172800 2001:502:1ca1::30\nmattnordhoff.net.|A Additional f.gtld-servers.net. IN AAAA 172800 2001:503:d414::30\nmattnordhoff.net.|A Additional g.gtld-servers.net. IN AAAA 172800 2001:503:eea3::30\nmattnordhoff.net.|A Additional h.gtld-servers.net. IN AAAA 172800 2001:502:8cc::30\nmattnordhoff.net.|A Additional i.gtld-servers.net. IN AAAA 172800 2001:503:39c1::30\nmattnordhoff.net.|A Additional j.gtld-servers.net. IN AAAA 172800 2001:502:7094::30\nmattnordhoff.net.|A Additional k.gtld-servers.net. IN AAAA 172800 2001:503:d2d::30\nmattnordhoff.net.|A Additional l.gtld-servers.net. IN AAAA 172800 2001:500:d937::30\nmattnordhoff.net.|A Additional m.gtld-servers.net. IN AAAA 172800 2001:501:b1f9::30\nmattnordhoff.net.|A Additional a.gtld-servers.net. IN A 172800 192.5.6.30\nmattnordhoff.net.|A Additional b.gtld-servers.net. IN A 172800 192.33.14.30\nmattnordhoff.net.|A Additional c.gtld-servers.net. IN A 172800 192.26.92.30\nmattnordhoff.net.|A Additional d.gtld-servers.net. IN A 172800 192.31.80.30\nmattnordhoff.net.|A Additional e.gtld-servers.net. IN A 172800 192.12.94.30\nmattnordhoff.net.|A Additional f.gtld-servers.net. IN A 172800 192.35.51.30\nmattnordhoff.net.|A Additional g.gtld-servers.net. IN A 172800 192.42.93.30\nmattnordhoff.net.|A Additional h.gtld-servers.net. IN A 172800 192.54.112.30\nmattnordhoff.net.|A Additional i.gtld-servers.net. IN A 172800 192.43.172.30\nmattnordhoff.net.|A Additional j.gtld-servers.net. IN A 172800 192.48.79.30\nmattnordhoff.net.|A Additional k.gtld-servers.net. IN A 172800 192.52.178.30\nmattnordhoff.net.|A Additional l.gtld-servers.net. IN A 172800 192.41.162.30\nmattnordhoff.net.|A Additional m.gtld-servers.net. IN A 172800 192.55.83.30\nmattnordhoff.net.|A Additional . IN OPT 0 \\# 0\nmattnordhoff.net.|A We got delegated to 13 net. nameserver names \nmattnordhoff.net.|A Have 26 IP addresses to iterate to: a.gtld-servers.net.=2001:503:a83e::2:30 a.gtld-servers.net.=192.5.6.30 b.gtld-servers.net.=2001:503:231d::2:30 b.gtld-servers.net.=192.33.14.30 c.gtld-servers.net.=2001:503:83eb::30 c.gtld-servers.net.=192.26.92.30 d.gtld-servers.net.=2001:500:856e::30 d.gtld-servers.net.=192.31.80.30 e.gtld-servers.net.=2001:502:1ca1::30 e.gtld-servers.net.=192.12.94.30 f.gtld-servers.net.=2001:503:d414::30 f.gtld-servers.net.=192.35.51.30 g.gtld-servers.net.=2001:503:eea3::30 g.gtld-servers.net.=192.42.93.30 h.gtld-servers.net.=2001:502:8cc::30 h.gtld-servers.net.=192.54.112.30 i.gtld-servers.net.=2001:503:39c1::30 i.gtld-servers.net.=192.43.172.30 j.gtld-servers.net.=2001:502:7094::30 j.gtld-servers.net.=192.48.79.30 k.gtld-servers.net.=2001:503:d2d::30 k.gtld-servers.net.=192.52.178.30 l.gtld-servers.net.=2001:500:d937::30 l.gtld-servers.net.=192.41.162.30 m.gtld-servers.net.=2001:501:b1f9::30 m.gtld-servers.net.=192.55.83.30 \n mattnordhoff.net.|A Starting query at authority = net., have 26 addresses to try\n mattnordhoff.net.|A Sending to server b.gtld-servers.net. on 192.33.14.30\n mattnordhoff.net.|A Received a 188 byte response with RCode Noerror, qname mattnordhoff.net., qtype A, aa: 0\n mattnordhoff.net.|A Authority mattnordhoff.net. IN NS 172800 cody.ns.cloudflare.com.\n mattnordhoff.net.|A Authority mattnordhoff.net. IN NS 172800 dana.ns.cloudflare.com.\n mattnordhoff.net.|A Additional cody.ns.cloudflare.com. IN A 172800 173.245.59.107\n mattnordhoff.net.|A Not accepting IP address of cody.ns.cloudflare.com.: out of authority of this server\n mattnordhoff.net.|A Additional cody.ns.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::adf5:3b6b\n mattnordhoff.net.|A Not accepting IP address of cody.ns.cloudflare.com.: out of authority of this server\n mattnordhoff.net.|A Additional dana.ns.cloudflare.com. IN A 172800 173.245.58.105\n mattnordhoff.net.|A Not accepting IP address of dana.ns.cloudflare.com.: out of authority of this server\n mattnordhoff.net.|A Additional dana.ns.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::adf5:3a69\n mattnordhoff.net.|A Not accepting IP address of dana.ns.cloudflare.com.: out of authority of this server\n mattnordhoff.net.|A Additional . IN OPT 0 \\# 0\n mattnordhoff.net.|A We got delegated to 2 mattnordhoff.net. nameserver names \n mattnordhoff.net.|A Don't have a resolved nameserver to ask anymore, trying to resolve 2 names\n mattnordhoff.net.|A Attempting to resolve NS dana.ns.cloudflare.com.|A\n  dana.ns.cloudflare.com.|A Starting query at authority = ., have 26 addresses to try\n  dana.ns.cloudflare.com.|A Sending to server f.root-servers.net. on 2001:500:2f::f\n  dana.ns.cloudflare.com.|A Received a 847 byte response with RCode Noerror, qname dana.ns.cloudflare.com., qtype A, aa: 0\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 l.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 b.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 c.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 d.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 e.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 f.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 g.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 a.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 h.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 i.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 j.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 k.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Authority com. IN NS 172800 m.gtld-servers.net.\n  dana.ns.cloudflare.com.|A Additional l.gtld-servers.net. IN A 172800 192.41.162.30\n  dana.ns.cloudflare.com.|A Additional l.gtld-servers.net. IN AAAA 172800 2001:500:d937::30\n  dana.ns.cloudflare.com.|A Additional b.gtld-servers.net. IN A 172800 192.33.14.30\n  dana.ns.cloudflare.com.|A Additional b.gtld-servers.net. IN AAAA 172800 2001:503:231d::2:30\n  dana.ns.cloudflare.com.|A Additional c.gtld-servers.net. IN A 172800 192.26.92.30\n  dana.ns.cloudflare.com.|A Additional c.gtld-servers.net. IN AAAA 172800 2001:503:83eb::30\n  dana.ns.cloudflare.com.|A Additional d.gtld-servers.net. IN A 172800 192.31.80.30\n  dana.ns.cloudflare.com.|A Additional d.gtld-servers.net. IN AAAA 172800 2001:500:856e::30\n  dana.ns.cloudflare.com.|A Additional e.gtld-servers.net. IN A 172800 192.12.94.30\n  dana.ns.cloudflare.com.|A Additional e.gtld-servers.net. IN AAAA 172800 2001:502:1ca1::30\n  dana.ns.cloudflare.com.|A Additional f.gtld-servers.net. IN A 172800 192.35.51.30\n  dana.ns.cloudflare.com.|A Additional f.gtld-servers.net. IN AAAA 172800 2001:503:d414::30\n  dana.ns.cloudflare.com.|A Additional g.gtld-servers.net. IN A 172800 192.42.93.30\n  dana.ns.cloudflare.com.|A Additional g.gtld-servers.net. IN AAAA 172800 2001:503:eea3::30\n  dana.ns.cloudflare.com.|A Additional a.gtld-servers.net. IN A 172800 192.5.6.30\n  dana.ns.cloudflare.com.|A Additional a.gtld-servers.net. IN AAAA 172800 2001:503:a83e::2:30\n  dana.ns.cloudflare.com.|A Additional h.gtld-servers.net. IN A 172800 192.54.112.30\n  dana.ns.cloudflare.com.|A Additional h.gtld-servers.net. IN AAAA 172800 2001:502:8cc::30\n  dana.ns.cloudflare.com.|A Additional i.gtld-servers.net. IN A 172800 192.43.172.30\n  dana.ns.cloudflare.com.|A Additional i.gtld-servers.net. IN AAAA 172800 2001:503:39c1::30\n  dana.ns.cloudflare.com.|A Additional j.gtld-servers.net. IN A 172800 192.48.79.30\n  dana.ns.cloudflare.com.|A Additional j.gtld-servers.net. IN AAAA 172800 2001:502:7094::30\n  dana.ns.cloudflare.com.|A Additional k.gtld-servers.net. IN A 172800 192.52.178.30\n  dana.ns.cloudflare.com.|A Additional k.gtld-servers.net. IN AAAA 172800 2001:503:d2d::30\n  dana.ns.cloudflare.com.|A Additional m.gtld-servers.net. IN A 172800 192.55.83.30\n  dana.ns.cloudflare.com.|A Additional m.gtld-servers.net. IN AAAA 172800 2001:501:b1f9::30\n  dana.ns.cloudflare.com.|A Additional . IN OPT 0 \\# 0\n  dana.ns.cloudflare.com.|A We got delegated to 13 com. nameserver names \n  dana.ns.cloudflare.com.|A Have 26 IP addresses to iterate to: a.gtld-servers.net.=192.5.6.30 a.gtld-servers.net.=2001:503:a83e::2:30 b.gtld-servers.net.=192.33.14.30 b.gtld-servers.net.=2001:503:231d::2:30 c.gtld-servers.net.=192.26.92.30 c.gtld-servers.net.=2001:503:83eb::30 d.gtld-servers.net.=192.31.80.30 d.gtld-servers.net.=2001:500:856e::30 e.gtld-servers.net.=192.12.94.30 e.gtld-servers.net.=2001:502:1ca1::30 f.gtld-servers.net.=192.35.51.30 f.gtld-servers.net.=2001:503:d414::30 g.gtld-servers.net.=192.42.93.30 g.gtld-servers.net.=2001:503:eea3::30 h.gtld-servers.net.=192.54.112.30 h.gtld-servers.net.=2001:502:8cc::30 i.gtld-servers.net.=192.43.172.30 i.gtld-servers.net.=2001:503:39c1::30 j.gtld-servers.net.=192.48.79.30 j.gtld-servers.net.=2001:502:7094::30 k.gtld-servers.net.=192.52.178.30 k.gtld-servers.net.=2001:503:d2d::30 l.gtld-servers.net.=192.41.162.30 l.gtld-servers.net.=2001:500:d937::30 m.gtld-servers.net.=192.55.83.30 m.gtld-servers.net.=2001:501:b1f9::30 \n   dana.ns.cloudflare.com.|A Starting query at authority = com., have 26 addresses to try\n   dana.ns.cloudflare.com.|A Sending to server b.gtld-servers.net. on 2001:503:231d::2:30\n   dana.ns.cloudflare.com.|A Received a 581 byte response with RCode Noerror, qname dana.ns.cloudflare.com., qtype A, aa: 0\n   dana.ns.cloudflare.com.|A Authority cloudflare.com. IN NS 172800 ns3.cloudflare.com.\n   dana.ns.cloudflare.com.|A Authority cloudflare.com. IN NS 172800 ns5.cloudflare.com.\n   dana.ns.cloudflare.com.|A Authority cloudflare.com. IN NS 172800 ns4.cloudflare.com.\n   dana.ns.cloudflare.com.|A Authority cloudflare.com. IN NS 172800 ns6.cloudflare.com.\n   dana.ns.cloudflare.com.|A Authority cloudflare.com. IN NS 172800 ns7.cloudflare.com.\n   dana.ns.cloudflare.com.|A Additional ns3.cloudflare.com. IN A 172800 162.159.0.33\n   dana.ns.cloudflare.com.|A Additional ns3.cloudflare.com. IN A 172800 162.159.7.226\n   dana.ns.cloudflare.com.|A Additional ns3.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:21\n   dana.ns.cloudflare.com.|A Additional ns3.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:7e2\n   dana.ns.cloudflare.com.|A Additional ns5.cloudflare.com. IN A 172800 162.159.2.9\n   dana.ns.cloudflare.com.|A Additional ns5.cloudflare.com. IN A 172800 162.159.9.55\n   dana.ns.cloudflare.com.|A Additional ns5.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:209\n   dana.ns.cloudflare.com.|A Additional ns5.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:937\n   dana.ns.cloudflare.com.|A Additional ns4.cloudflare.com. IN A 172800 162.159.1.33\n   dana.ns.cloudflare.com.|A Additional ns4.cloudflare.com. IN A 172800 162.159.8.55\n   dana.ns.cloudflare.com.|A Additional ns4.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:121\n   dana.ns.cloudflare.com.|A Additional ns4.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:837\n   dana.ns.cloudflare.com.|A Additional ns6.cloudflare.com. IN A 172800 162.159.3.11\n   dana.ns.cloudflare.com.|A Additional ns6.cloudflare.com. IN A 172800 162.159.5.6\n   dana.ns.cloudflare.com.|A Additional ns6.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:30b\n   dana.ns.cloudflare.com.|A Additional ns6.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:506\n   dana.ns.cloudflare.com.|A Additional ns7.cloudflare.com. IN A 172800 162.159.4.8\n   dana.ns.cloudflare.com.|A Additional ns7.cloudflare.com. IN A 172800 162.159.6.6\n   dana.ns.cloudflare.com.|A Additional ns7.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:408\n   dana.ns.cloudflare.com.|A Additional ns7.cloudflare.com. IN AAAA 172800 2400:cb00:2049:1::a29f:606\n   dana.ns.cloudflare.com.|A Additional . IN OPT 0 \\# 0\n   dana.ns.cloudflare.com.|A We got delegated to 5 cloudflare.com. nameserver names \n   dana.ns.cloudflare.com.|A Have 20 IP addresses to iterate to: ns3.cloudflare.com.=162.159.0.33 ns3.cloudflare.com.=162.159.7.226 ns3.cloudflare.com.=2400:cb00:2049:1::a29f:21 ns3.cloudflare.com.=2400:cb00:2049:1::a29f:7e2 ns4.cloudflare.com.=162.159.1.33 ns4.cloudflare.com.=162.159.8.55 ns4.cloudflare.com.=2400:cb00:2049:1::a29f:121 ns4.cloudflare.com.=2400:cb00:2049:1::a29f:837 ns5.cloudflare.com.=162.159.2.9 ns5.cloudflare.com.=162.159.9.55 ns5.cloudflare.com.=2400:cb00:2049:1::a29f:209 ns5.cloudflare.com.=2400:cb00:2049:1::a29f:937 ns6.cloudflare.com.=162.159.3.11 ns6.cloudflare.com.=162.159.5.6 ns6.cloudflare.com.=2400:cb00:2049:1::a29f:30b ns6.cloudflare.com.=2400:cb00:2049:1::a29f:506 ns7.cloudflare.com.=162.159.4.8 ns7.cloudflare.com.=162.159.6.6 ns7.cloudflare.com.=2400:cb00:2049:1::a29f:408 ns7.cloudflare.com.=2400:cb00:2049:1::a29f:606 \n    dana.ns.cloudflare.com.|A Starting query at authority = cloudflare.com., have 20 addresses to try\n    dana.ns.cloudflare.com.|A Sending to server ns6.cloudflare.com. on 2400:cb00:2049:1::a29f:506\n    dana.ns.cloudflare.com.|A Received a 67 byte response with RCode Noerror, qname dana.ns.cloudflare.com., qtype A, aa: 1\n    dana.ns.cloudflare.com.|A Answer says it is authoritative!\n    dana.ns.cloudflare.com.|A Answer dana.ns.cloudflare.com. IN A 86400 173.245.58.105\n    dana.ns.cloudflare.com.|A We got an answer to our question!\n    dana.ns.cloudflare.com.|A Additional . IN OPT 0 \\# 0\n    dana.ns.cloudflare.com.|A Done, returning 1 results, 0 intermediate\n mattnordhoff.net.|A Got 1 nameserver A addresses, adding to list\n mattnordhoff.net.|A We now have 1 resolved A addresses to try\n  mattnordhoff.net.|A Starting query at authority = mattnordhoff.net., have 1 addresses to try\n  mattnordhoff.net.|A Sending to server dana.ns.cloudflare.com. on 173.245.58.105\n  mattnordhoff.net.|A Received a 77 byte response with RCode Noerror, qname mattnordhoff.net., qtype A, aa: 1\n  mattnordhoff.net.|A Answer says it is authoritative!\n  mattnordhoff.net.|A Answer mattnordhoff.net. IN A 300 104.18.56.175\n  mattnordhoff.net.|A We got an answer to our question!\n  mattnordhoff.net.|A Answer mattnordhoff.net. IN A 300 104.18.57.175\n  mattnordhoff.net.|A We got an answer to our question!\n  mattnordhoff.net.|A Additional . IN OPT 0 \\# 0\n  mattnordhoff.net.|A Done, returning 2 results, 0 intermediate\n","type":"A"}
Segmentation fault

(this issue was fixed in e3891625e4c98c00cad97660a391104c73a767f8 )

authors: ahupowerdns mnordhoff

repo: ahupowerdns/hello-dns


text:
Fix bug in shell meridional transect

Short description of why the PR is needed and how it satisfies those requirements, in sentence form.
(Delete unused sections)
Added public API:

symbol (e.g. vcm.my_function) or script and optional description of changes or why they are needed
Can group multiple related symbols on a single bullet

Refactored public API:

Bulleted list of removed or refactored symbols, such as changes to name, type, behavior, argument, etc. Be cautious about doing these and discuss with team more broadly.

Significant internal changes:

Bulleted list of changes to non-public API

Requirement changes:

Bulleted list, if relevant, of any changes to setup.py, requirement.txt, environment.yml, etc

[ ] Ran make lock_deps/lock_pip following these instructions

[ ] Add PR review with license info for any additions to constraints.txt
(example)

[ ] Tests added

Resolves # [JIRA-TAG]
Coverage reports (updated automatically):

Need to add test


text:
Request - beetroot to biofuel (1.10)

Beet roots should make perfectly good biofuel, right?  Currently fairly useless (unless you like soup) but plentiful from villages.
Ditto for beet seeds.
Can't remember if I recommended it before but it would be nice to be able to whitelist other mods' items for crushing into biofuel, too.

Added, thanks!

repo: aidancbrady/Mekanism


text:
Nitpick: Change CLI command profiles to profile

I noticed that the CLI command to check your profiles is profiles:
❯ aiidalab-launch --help
Usage: aiidalab-launch [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose  Increase the output verbosity of the launcher. Use '-vv' or
                 '-vvv' for even more verbose output
  --help         Show this message and exit.

Commands:
  exec      Directly execute a command on an AiiDAlab instance.
  logs      Show the logs of a running AiiDAlab instance.
  profiles  Manage AiiDAlab profiles.
  reset     Reset an AiiDAlab instance.
  start     Start an AiiDAlab instance on this host.
  status    Show AiiDAlab instance status and entry point.
  stop      Stop an AiiDAlab instance on this host.
  version   Show the version of aiidalab-launch.

Not unreasonable, but since verdi uses profile, I vote we switch to use that in the name of consistency. It's backwards incompatible, sure, but aiidalab-launch is a top-level tool that I think no scripts should rely on?

While we're at it, verdi also shows the default profile by default:
❯ verdi profile show
Report: Profile: dev
PROFILE_UUID: 66c852a2bc4b4047a2eef0c018eadc1a
default_user_email: mbercx@gmail.com
options: {}
process_control:
  backend: rabbitmq
  config:
    broker_host: 127.0.0.1
    broker_password: guest
    broker_port: 5672
    broker_protocol: amqp
    broker_username: guest
    broker_virtual_host: ''
storage:
  backend: core.psql_dos
  config:
    database_engine: postgresql_psycopg2
    database_hostname: localhost
    database_name: aiida-core_dev
    database_password: foobar
    database_port: 5432
    database_username: mbercx
    repository_uri: file:///Users/mbercx/envs/aiida-core/.aiida/repository/dev
test_profile: false

Let's do the same for aiidalab-launch:
❯ aiidalab-launch profiles show
Usage: aiidalab-launch profiles show [OPTIONS] PROFILE
Try 'aiidalab-launch profiles show --help' for help.

Error: Missing argument 'PROFILE'.

I am second on this!

authors: mbercx unkcpz

repo: aiidalab/aiidalab-launch