text:
WHOIS cache miss for fubar.com

Describe the bug
No matter what domain I enter, I get "WHOIS cache miss for fubar.com". I have tried waiting 24 hours based on a different ticket.
Running via docker
whois data folder set to 777
To Reproduce
Steps to reproduce the behavior:

Add a domain
Get a error
8/18/2021, 9:31:10 AM: Socket Connection Established
8/18/2021, 9:31:10 AM: Configuration data received.
8/18/2021, 9:31:10 AM: Domain configuration received.
8/18/2021, 9:31:10 AM: WHOIS cache miss for bartdyer.com

Expected behavior
Whois to load
Screenshots

What are the contents of /app/whois-data inside the container?
Can you share the log for the container?

Whois is blank

Permissions

Mounts

Logs (actual domain changed to fubar.com. Can provide actual in non-public way. Also seen above. )

,
0 entries in whoisdata,
Error: No match for "fubar.com" in the registrar database.
,
,
at /app/lib/whois-manager.js:204:14,
at new Promise (),
at writeWhoisData (/app/lib/whois-manager.js:200:10),
WHOIS: Cached entries: ,,
d,
at /app/lib/whois-manager.js:186:14,
at async Promise.all (index 0),
::ffff:192.168.1.237 - WS client W2_34LFqTBmzd8ByAAAF | disconnection (ping timeout),
::ffff:192.168.1.237 - WS client 0OkViV3xJAC_UVJIAAAG | connection,
::ffff:192.168.1.237 - WS client 0OkViV3xJAC_UVJIAAAG | sent config,
::ffff:192.168.1.237 - WS client 0OkViV3xJAC_UVJIAAAG | sent domains,
::ffff:192.168.1.237 - WS client 0OkViV3xJAC_UVJIAAAG | No cached WHOIS for fubar.com,
::ffff:192.168.1.237 - GET / HTTP/1.1 304 - - 1.093 ms,
::ffff:192.168.1.237 - WS client 0OkViV3xJAC_UVJIAAAG | disconnection (transport close),
::ffff:192.168.1.237 - GET /js/main.js HTTP/1.1 304 - - 0.731 ms,
::ffff:192.168.1.237 - WS client EAo6i3r5Ozd3j2h1AAAH | connection,
::ffff:192.168.1.237 - WS client EAo6i3r5Ozd3j2h1AAAH | sent config,
::ffff:192.168.1.237 - WS client EAo6i3r5Ozd3j2h1AAAH | sent domains,
::ffff:192.168.1.237 - WS client EAo6i3r5Ozd3j2h1AAAH | No cached WHOIS for fubar.com,
::ffff:192.168.1.237 - GET /favicon-32x32.png HTTP/1.1 200 1181 - 1.025 ms,
creating whois promise for fubar.com,
WHOIS: No existing whois.yaml for fubar.com. Fetching..,
string received. No match for "fubar.com" in the registrar database.
,
,
0 entries in whoisdata,
Error: No match for "fubar.com" in the registrar database.
,
,
at /app/lib/whois-manager.js:204:14,
at new Promise (),
at writeWhoisData (/app/lib/whois-manager.js:200:10),
at /app/lib/whois-manager.js:186:14,
at async Promise.all (index 0),
WHOIS: Cached entries: ,,
d,
::ffff:192.168.1.237 - WS client EAo6i3r5Ozd3j2h1AAAH | disconnection (ping timeout),
::ffff:192.168.1.237 - WS client u2XdxOJJzfvXB_yUAAAI | connection,
::ffff:192.168.1.237 - WS client u2XdxOJJzfvXB_yUAAAI | sent config,
::ffff:192.168.1.237 - WS client u2XdxOJJzfvXB_yUAAAI | sent domains,
::ffff:192.168.1.237 - WS client u2XdxOJJzfvXB_yUAAAI | No cached WHOIS for fubar.com,
creating whois promise for fubar.com,
WHOIS: No existing whois.yaml for fubar.com. Fetching..,
string received. No match for "fubar.com" in the registrar database.
,
,
0 entries in whoisdata,
Error: No match for "fubar.com" in the registrar database.
,
,
at /app/lib/whois-manager.js:204:14,
at new Promise (),
at writeWhoisData (/app/lib/whois-manager.js:200:10),
at /app/lib/whois-manager.js:186:14,
at async Promise.all (index 0),
WHOIS: Cached entries: ,,
d,
::ffff:192.168.1.237 - WS client u2XdxOJJzfvXB_yUAAAI | disconnection (transport close),
creating whois promise for fubar.com,
WHOIS: No existing whois.yaml for fubar.com. Fetching..,
string received. No match for "fubar.com" in the registrar database.
,
,
0 entries in whoisdata,
WHOIS: Cached entries: ,
Error: No match for "fubar.com" in the registrar database.
,
,
at /app/lib/whois-manager.js:204:14,
at new Promise (),
at writeWhoisData (/app/lib/whois-manager.js:200:10),
at /app/lib/whois-manager.js:186:14,
at async Promise.all (index 0),,
d,
creating whois promise for fubar.com,
WHOIS: No existing whois.yaml for fubar.com. Fetching..,
string received. No match for "fubar.com" in the registrar database.
,
,
0 entries in whoisdata,
Error: No match for "fubar.com" in the registrar database.
,
,
at /app/lib/whois-manager.js:204:14,
at new Promise (),
at writeWhoisData (/app/lib/whois-manager.js:200:10),
at /app/lib/whois-manager.js:186:14,
at async Promise.all (index 0),
WHOIS: Cached entries: ,,
d,
creating whois promise for fubar.com,
WHOIS: No existing whois.yaml for fubar.com. Fetching..,
string received. No match for "fubar.com" in the registrar database.
,
,
0 entries in whoisdata,
Error: No match for "fubar.com" in the registrar database.
,
,
at /app/lib/whois-manager.js:204:14,
at new Promise (),
at writeWhoisData (/app/lib/whois-manager.js:200:10),
at /app/lib/whois-manager.js:186:14,
at async Promise.all (index 0),
WHOIS: Cached entries: ,,
d

Updated docker images :latest and tagged specifically :0.3.3
Please try with the changes and let me know how it goes.

same results. added 2nd domain just in case.

Serving static site from /app/client,
Web interface available at http://localhost:4201/,
::ffff:192.168.1.237 - WS client P1eXH1YWxyPbPdOaAAAA | connection,
::ffff:192.168.1.237 - WS client P1eXH1YWxyPbPdOaAAAA | sent config,
::ffff:192.168.1.237 - WS client P1eXH1YWxyPbPdOaAAAA | sent domains,
::ffff:192.168.1.237 - WS client P1eXH1YWxyPbPdOaAAAA | No cached WHOIS for bartdyer.com,
creating whois promise for bartdyer.com,
WHOIS: No existing whois.yaml for bartdyer.com. Fetching..,
string received. No match for "bartdyer.com" in the registrar database.
,
,
0 entries in whoisdata,
Parsing seems to have failed, writing dump.,
Error: No match for "bartdyer.com" in the registrar database.,
,
at /app/lib/whois-manager.js:204:14,
at new Promise (),
WHOIS: Cached entries: ,,
d,
at writeWhoisData (/app/lib/whois-manager.js:200:10),
at /app/lib/whois-manager.js:186:14,
at async Promise.all (index 0),
::ffff:192.168.1.82 - GET / HTTP/1.1 200 10506 - 8.170 ms,
::ffff:192.168.1.82 - GET /js/main.js HTTP/1.1 200 11835 - 1.994 ms,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | connection,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | sent domains,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | sent config,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | No cached WHOIS for bartdyer.com,
::ffff:192.168.1.82 - GET /favicon-32x32.png HTTP/1.1 200 1181 - 1.248 ms,
::ffff:192.168.1.82 - GET /favicon-32x32.png HTTP/1.1 304 - - 1.124 ms,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | SCK_UPDATE_DOMAIN: {"name":"F3 Nation","fqdn":"f3nation.com","alerts":true,"enabled":true},
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | sent domain update.,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | No cached WHOIS for bartdyer.com,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | No cached WHOIS for f3nation.com,
::ffff:192.168.1.82 - GET / HTTP/1.1 304 - - 0.592 ms,
::ffff:192.168.1.82 - WS client j78Is9cKqsSF9h03AAAB | disconnection (transport close),
::ffff:192.168.1.82 - GET /js/main.js HTTP/1.1 304 - - 0.561 ms,
::ffff:192.168.1.82 - WS client BjMW1S_uwvYwmKffAAAC | connection,
::ffff:192.168.1.82 - WS client BjMW1S_uwvYwmKffAAAC | sent config,
::ffff:192.168.1.82 - WS client BjMW1S_uwvYwmKffAAAC | sent domains,
::ffff:192.168.1.82 - WS client BjMW1S_uwvYwmKffAAAC | No cached WHOIS for bartdyer.com,
::ffff:192.168.1.82 - WS client BjMW1S_uwvYwmKffAAAC | No cached WHOIS for f3nation.com,
::ffff:192.168.1.82 - GET /favicon-32x32.png HTTP/1.1 200 1181 - 1.111 ms,
::ffff:192.168.1.82 - GET / HTTP/1.1 200 10506 - 2.149 ms,
::ffff:192.168.1.82 - WS client BjMW1S_uwvYwmKffAAAC | disconnection (transport close),
::ffff:192.168.1.82 - GET /js/main.js HTTP/1.1 200 11835 - 0.758 ms,
::ffff:192.168.1.82 - WS client J-4xGWBzXK-uVqnXAAAD | connection,
::ffff:192.168.1.82 - WS client J-4xGWBzXK-uVqnXAAAD | sent config,
::ffff:192.168.1.82 - WS client J-4xGWBzXK-uVqnXAAAD | sent domains,
::ffff:192.168.1.82 - WS client J-4xGWBzXK-uVqnXAAAD | No cached WHOIS for bartdyer.com,
::ffff:192.168.1.82 - WS client J-4xGWBzXK-uVqnXAAAD | No cached WHOIS for f3nation.com,
::ffff:192.168.1.82 - GET /favicon-32x32.png HTTP/1.1 200 1181 - 1.105 ms

I'm testing again. When I did previous did so literally for fubar.com and since I had it produce the error then resolve I thought I got it. When I with my test conditions defined below, I only get an error for one of your domains and it's because the registrar said it had no data (basically replied with that string and it isn't WHOIS data). No match for bar********.com in the registrar database.
I will improve the handling for this error. I didn't have any issues with the other domain you used in my test scenario.
docker-compose.yml:
services:
  dm:
    image: ghcr.io/nwesterhausen/domain-monitor/server:latest
    ports:
    - 127.0.0.1:4201:4201/tcp
    volumes:
    - /home/nwest/dm-test/config:/app/config:rw
    - /home/nwest/dm-test/whois:/app/whois-data:rw
version: '3.9'

and in ./config/domain.yaml (redacted):
domains:
  - name: Test
    fqdn: fubar.com
    alerts: true
    enabled: true
  - name: Test2
    fqdn: bar********.com
    alerts: true
    enabled: true
  - name: Test3
    fqdn: f3n********.com
    alerts: true
    enabled: true

Resulting logs (previously ran with just fubar.com and had a cached entry for it):
Attaching to dm-test_dm_1
dm_1  | Serving static site from /app/client
dm_1  | Web interface available at http://localhost:4201/
dm_1  | creating whois promise for fubar.com
dm_1  | WHOIS: Validating cached whois data for fubar.com
dm_1  | creating whois promise for bar********.com
dm_1  | WHOIS: No existing whois.yaml for bar********.com. Fetching..
dm_1  | creating whois promise for f3n********.com
dm_1  | WHOIS: No existing whois.yaml for f3n********.com. Fetching..
dm_1  | WHOIS: Age of existing whois.yaml is 00:00:07:27 (447331)
dm_1  | WHOIS: fubar.com expires in 58:08:05:55 on Fri Oct 22 2021
dm_1  | WHOIS: Within age boundary checks for fubar.com whois.yaml
dm_1  | string received. No match for "bar********.com" in the registrar database.
dm_1  |
dm_1  | 0 entries in whoisdata
dm_1  | Parsing seems to have failed, writing dump.
dm_1  | Error: No match for "bar********.com" in the registrar database.
dm_1  |
dm_1  |     at /app/lib/whois-manager.js:204:14
dm_1  |     at new Promise (<anonymous>)
dm_1  |     at writeWhoisData (/app/lib/whois-manager.js:200:10)
dm_1  |     at /app/lib/whois-manager.js:186:14
dm_1  |     at async Promise.all (index 1)
dm_1  | string received. Domain Name: f3n********.COM
dm_1  | Registry Domain ID: 1674397384_DOMAIN_COM-VRSN
dm_1  | Registrar WHOIS Server: whois.cloudflare.com
dm_1  | Registrar URL: https://www.cloudflare.com
dm_1  | Updated Date: 2021-02-05T12:25:32Z
dm_1  | Creation Date: 2011-08-29T17:35:56Z
dm_1  | Registrar Registration Expiration Date: 2021-09-24T11:59:59Z
dm_1  | Registrar: Cloudflare, Inc.
dm_1  | Registrar IANA ID: 1910
dm_1  | Domain Status: clienttransferprohibited https://icann.org/epp#clienttransferprohibited
dm_1  | Registry Registrant ID:
dm_1  | Registrant Name: DATA REDACTED
dm_1  | Registrant Organization: DATA REDACTED
dm_1  | Registrant Street: DATA REDACTED
dm_1  | Registrant City: DATA REDACTED
dm_1  | Registrant State/Province: NC
dm_1  | Registrant Postal Code: DATA REDACTED
dm_1  | Registrant Country: US
dm_1  | Registrant Phone: DATA REDACTED
dm_1  | Registrant Phone Ext: DATA REDACTED
dm_1  | Registrant Fax: DATA REDACTED
dm_1  | Registrant Fax Ext: DATA REDACTED
dm_1  | Registrant Email: https://domaincontact.cloudflareregistrar.com/f3n********.com
dm_1  | Registry Admin ID:
dm_1  | Admin Name: DATA REDACTED
dm_1  | Admin Organization: DATA REDACTED
dm_1  | Admin Street: DATA REDACTED
dm_1  | Admin City: DATA REDACTED
dm_1  | Admin State/Province: DATA REDACTED
dm_1  | Admin Postal Code: DATA REDACTED
dm_1  | Admin Country: DATA REDACTED
dm_1  | Admin Phone: DATA REDACTED
dm_1  | Admin Phone Ext: DATA REDACTED
dm_1  | Admin Fax: DATA REDACTED
dm_1  | Admin Fax Ext: DATA REDACTED
dm_1  | Admin Email: https://domaincontact.cloudflareregistrar.com/f3n********.com
dm_1  | Registry Tech ID:
dm_1  | Tech Name: DATA REDACTED
dm_1  | Tech Organization: DATA REDACTED
dm_1  | Tech Street: DATA REDACTED
dm_1  | Tech City: DATA REDACTED
dm_1  | Tech State/Province: DATA REDACTED
dm_1  | Tech Postal Code: DATA REDACTED
dm_1  | Tech Country: DATA REDACTED
dm_1  | Tech Phone: DATA REDACTED
dm_1  | Tech Phone Ext: DATA REDACTED
dm_1  | Tech Fax: DATA REDACTED
dm_1  | Tech Fax Ext: DATA REDACTED
dm_1  | Tech Email: https://domaincontact.cloudflareregistrar.com/f3n********.com
dm_1  | Registry Billing ID:
dm_1  | Billing Name: DATA REDACTED
dm_1  | Billing Organization: DATA REDACTED
dm_1  | Billing Street: DATA REDACTED
dm_1  | Billing City: DATA REDACTED
dm_1  | Billing State/Province: DATA REDACTED
dm_1  | Billing Postal Code: DATA REDACTED
dm_1  | Billing Country: DATA REDACTED
dm_1  | Billing Phone: DATA REDACTED
dm_1  | Billing Phone Ext: DATA REDACTED
dm_1  | Billing Fax: DATA REDACTED
dm_1  | Billing Fax Ext: DATA REDACTED
dm_1  | Billing Email: https://domaincontact.cloudflareregistrar.com/f3n********.com
dm_1  | Name Server: gabe.ns.cloudflare.com
dm_1  | Name Server: paris.ns.cloudflare.com
dm_1  | DNSSEC: unsigned
dm_1  | Registrar Abuse Contact Email: registrar-abuse@cloudflare.com
dm_1  | Registrar Abuse Contact Phone: +1.4153197517
dm_1  | URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
dm_1  | >>> Last update of WHOIS database: 2021-08-25T14:54:04Z <<<
dm_1  |
dm_1  | For more information on Whois status codes, please visit https://icann.org/epp
dm_1  |
dm_1  | Cloudflare provides more than 13 million domains with the tools to give their global users a faster, more secure, and more reliable internet experience.
dm_1  |
dm_1  | NOTICE:
dm_1  |
dm_1  | Data in the Cloudflare Registrar WHOIS database is provided to you by Cloudflare
dm_1  | under the terms and conditions at https://www.cloudflare.com/domain-registration-agreement/
dm_1  |
dm_1  | By submitting this query, you agree to abide by these terms.
dm_1  |
dm_1  | Register your domain name at https://www.cloudflare.com/registrar/
dm_1  |
dm_1  | Key found before newline, attempting to elaborate whois data.
dm_1  | 65 entries in whoisdata
dm_1  | WHOIS: Cached entries:
dm_1  | [ 'fubar.com', true ]
dm_1  | undefined
dm_1  | undefined
dm_1  | ::ffff:10.210.6.1 - GET / HTTP/1.1 200 10506 - 13.691 ms
dm_1  | ::ffff:10.210.6.1 - GET /js/main.js HTTP/1.1 200 11835 - 2.404 ms
dm_1  | ::ffff:10.210.6.1 - WS client G-rEEJD5efrslHWQAAAA | connection
dm_1  | ::ffff:10.210.6.1 - WS client G-rEEJD5efrslHWQAAAA | sent config
dm_1  | ::ffff:10.210.6.1 - WS client G-rEEJD5efrslHWQAAAA | sent domains
dm_1  | ::ffff:10.210.6.1 - WS client G-rEEJD5efrslHWQAAAA | No cached WHOIS for bar********.com
dm_1  | ::ffff:10.210.6.1 - WS client G-rEEJD5efrslHWQAAAA | Sent WHOIS for f3n********.com
dm_1  | ::ffff:10.210.6.1 - WS client G-rEEJD5efrslHWQAAAA | Sent WHOIS for fubar.com
dm_1  | ::ffff:10.210.6.1 - GET /favicon-32x32.png HTTP/1.1 200 1181 - 1.735 ms
dm_1  | ::ffff:10.210.6.1 - GET /site.webmanifest HTTP/1.1 200 263 - 1.734 ms

I haven't been able to duplicate messed up WHOIS queries since switching to golang for the project. Please open a new issue if lookups are failing / cache breaking

authors: nwesterhausen sugarfunk

repo: nwesterhausen/domain-monitor


text:
Java v3

Code changes
Add new source code for V3
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

All good

source: gharchive/pull-request

repo: nylas-samples/java-read-calendar-events

license: MIT

license_type: permissive

license_source: github-api


text:
Delete a contact using Python

Code sample to delete a contact using Nylas Python SDK.

Hey @relaxedtomato I would like to contribute to this. Can you please assign it to me!

@SouvikDcoder There you go 😉

Done and merged.

source: gharchive/issue

authors: SouvikDcoder atejada relaxedtomato


text:
[pref] Fix CSS textarea issue whereby the signature box was too small…

… when editing raw HTML.
Before:

After:

Is there something wrong with my commit?

repo: nylas/nylas-mail

license: mit

license_source: bigquery


text:
"Error detected while processing BufWritePre Autocommands for "<buffer=1>" when writing to file with :w

This error does not happen with plain text files (without an extension) but does so for each "source" file (.lua, .rs, .cpp)

I can confirm this on the WIP web-module also appearing (e.g. js)

Same issue here for rust, cpp, and python files

Same issue here, but buffer=23, specifically cpp. Error detected while processing BufWritePre Autocommands for "<buffer=23>":

I believe this should be fixed now

authors: dennisorlando shaunsingh steale-dot thebashpotato therealnv6


text:
Use tank-basin states to correct model prediction error

Return/store tank basin states for further state based error correction.
Reference:

https://www.sciencedirect.com/science/article/pii/S0098300421003010

@Alveehannan fyi this is the reference.

repo: nzahasan/tank-model


text:
support ECMAScript modules

Chessboard2 should be available as an ES module and available via CDN.

Done with commit #d753381

license: ISC


text:
Feat sticky nav for new plan a lesson - LESQ-782

Description
Music year: {owa_music_year}

Adds plan a lesson page nav to page
Connects to cms
Crudely adds some content without styling

Acceptance Criteria:

[x]  Using “sanity data” create sticky contents menu
[x]  Ensure bullet-point style exists in Oak Components
[x]  On mobile it is just displayed at the top
[x]  Click an item in the contents menu and it takes you to the section
[x]  Focus moves to the section you have selected
[x]  At the bottom of each section there is a “Return to contents” link

Issue(s)
Fixes #
How to test

Go to https://deploy-preview-2416--oak-web-application.netlify.thenational.academy/lesson-planning-new

Test nav and back to contents buttons

Screenshots
How it used to look (delete if n/a):
{screenshots}
How it should now look:
{screenshots}
Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

:tada: This PR is included in version 1.432.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: oaknational/Oak-Web-Application


text:
Feat/pupil 1040/change share behaviour

Description
Music year: 2019
Job Story
When a user clicks share,
I want to instantly create and link and copy url for the share page; and in the background store the lesson attempt data; and on the share page add a loading state to give the data a chance to store if the user uses the link before the data has been stored
So that user experience is more intuitive.
Implementation details

make share button instantly copy url to clipboard
add loading state to share page
style share button

Acceptance criteria

[x]  share button has no loading state
[x]  share page has to attempts to load data
[x]  share buttons are styled
[x]  test coverage
[x]  documentation where relevant
[x]  pa11y and percy

Issue(s)
Fixes #
How to test

Go to https://deploy-preview-2829--oak-web-application.netlify.thenational.academy
Click on a lesson and complete a lesson to the review page
You should see a share button, when pressed should instantly inform user the the share url has been copied to clipboard
and all button styles are correct

Screenshots
How it used to look (delete if n/a):
{screenshots}
How it should now look:
{screenshots}
Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

:tada: This PR is included in version 1.569.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: benprotheroe oak-machine-user


text:
fix: email error message only on error

Description
Hotfix for release

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: codeincontext oak-machine-user

repo: oaknational/oak-ai-lesson-assistant


text:
[Feature]Integrate swagger

Add this feature to ensure the sync of code and api documents.

@majian159 To help others better understand the feature, please elaborate the feature description. Thanks.
On my side, I support this feature. I spent much time on the old restful api doc and it will be easy to become out-of-date.

fixed by #764

authors: hongchaodeng majian159 zzxwill

repo: oam-dev/kubevela


text:
Fix: vela status from app.status.services

Description of your changes

Fixes #
I have:

[ ] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

prefer #2662


text:
[GJ-79] Enable the second stage on master branch

This pr enabled the second stage computing on master branch. A fake result will be returned.
The change to Substrait will soon be raised to Substrait in a PR.
By setting below config as false, final aggregation can be fallbacked.
spark.oap.sql.columnar.hashagg.enablefinal
Closes https://github.com/oap-project/gazelle-jni/issues/79.

@zzcclp @marin-ma rebased this PR to PR-78. Verified the functionality locally.

Verified with ClickHouse Native Engine. LGTM.

authors: rui-mo zzcclp

repo: oap-project/gazelle-jni


text:
PyInstaller - Key Error: 'v21' in _detect_spec_version

Hi!
I'm building a python executable that utilizes stix2 and taxii2client to fetch MITRE ATT&CK Enterprise data.
When I'm running the python script everything works, but after building the executable, I'm getting a Key Error in the method _detect_spec_version.
Is there some way to specify the stix version when calling the taxii datastore, so that I can mitigate this error?
Minimum code example:
from stix2 import TAXIICollectionSource, Filter
from taxii2client.v20 import Server, Collection

collection = Collection("https://cti-taxii.mitre.org/stix/collections/95ecc380-afe9-11e4-9b6c-751b66dd541e/")
tc_source = TAXIICollectionSource(collection)

filter = Filter("type", "=", "attack-pattern")
techniques = tc_source.query(filter)

Traceback:
  File "stix2\datastore\taxii.py", line 309, in query
  File "stix2\datastore\taxii.py", line 309, in <listcomp>
  File "stix2\parsing.py", line 47, in parse
  File "stix2\parsing.py", line 129, in dict_to_stix2
  File "stix2\parsing.py", line 82, in _detect_spec_version
KeyError: 'v21'

I am not familiar with PyInstaller therefore my help there is limited. For the DataStore API there is a way to provide a static version like so:
from stix2 import TAXIICollectionSource, Filter
from taxii2client.v20 import Server, Collection

collection = Collection("https://cti-taxii.mitre.org/stix/collections/95ecc380-afe9-11e4-9b6c-751b66dd541e/")
tc_source = TAXIICollectionSource(collection)

filter = Filter("type", "=", "attack-pattern")
techniques = tc_source.query([filter], version="v2.0")

Let me know if this helps.

Thanks @emmanvg !
That got me one step further, although now I'm getting a key error in parsing.py
Traceback:
  File "stix2\datastore\taxii.py", line 309, in query
  File "stix2\datastore\taxii.py", line 309, in <listcomp>
  File "stix2\parsing.py", line 47, in parse
  File "stix2\parsing.py", line 131, in dict_to_stix2
KeyError: 'v20'

Do you know how to fix this?

It might be a problem with PyInstaller, but it seems this global variable is not populated when you reach line 131 in the traceback you provided. Not sure if you would need a hook for it.
Normally that global variable is populated via a call to this method and that happens here.

Okey thanks, I'll close the issue and investigate some more:)

authors: emmanvg stianvale


text:
Make Mutex 'name' required. Bunch of formatting changes, add test for custom extension

Related to #68

Codecov Report

Merging #72 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   96.54%   96.55%   +<.01%
==========================================
  Files          53       53
  Lines        4807     4814       +7
==========================================
+ Hits         4641     4648       +7
  Misses        166      166

Impacted Files
Coverage Δ

stix2/test/test_custom.py
100% <100%> (ø)
:arrow_up:

stix2/observables.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Looks nice! Should we also check that the custom extension's properties arg is not an empty dict ({}) in addition to checking that it's not None?

That's right, we should also check is not empty. Good catch!

Could you add it, as part of merging with master?

Will do.

authors: clenk codecov-io emmanvg


text:
Grant Types Supported?

In the documentation for this module on npmjs here: https://www.npmjs.com/package/node-oauth2-server
There is some confusing wording regarding supported grant types. Under the features section: https://www.npmjs.com/package/node-oauth2-server#features it says: Supports authorization_code, password, refresh_token, client_credentials and extension (custom) grant types.
But, under the options section https://www.npmjs.com/package/node-oauth2-server#options under grant types it says: currently the module supports password and refresh_token
The docs appear to show support for authorization code and refresh token flow. Can you clarify/fix this please. Thanks.

The correct npm package is named oauth2-server. The claims made in that package's README regarding grant types are correct:

Supports authorization_code, client_credentials, refresh_token and password grant, as well as extension grants, with scopes.

Support for the implicit grant flow is pending in PR #271 as well.
In case you already started coding, note that oauth2-server is at 3.x which is not compatible with node-oauth2-server's latest version (2.x).
@mjsalinger Do you have write access to the alternate npm package? We should probably mark it as deprecated to avoid confusion in the future.

authors: kitsonswannff maxtruxa


text:
1.6.0  let store = try Store(directoryPath: directory.path) 这个方法不能使用？

我使用的是1.6.0，我在使用的时候用这个方法创建“let store = try Store(directoryPath: directory.path)”会报错误
Incorrect argument labels in call (have 'directoryPath:', expected'model:directory:maxDbSizeInKByte:fileMode:maxReaders:readOnly:')这个是怎么回事？

I use 1.6.0. When I use this method to create "let store = try store (directorypath: directory. Path)", an error will be reported
Incorrect parameter label in call (with 'directorypath:', expected 'model: directory:maxDbSizeInKByte :fileM ode:maxReaders What's the matter with this?

I use 1.6.0. When I use this method to create "let store = try store (directorypath: directory. Path)", an error will be reported   Incorrect parameter label in call (with 'directorypath:', expected 'model: directory:maxDbSizeInKByte :fileM ode:maxReaders  What's the matter with this?

Funny, It still now work after built the project

@greenrobot I am facing the exact same issue here.
The project compiles perfectly with just one entity defined.

Compiled n number of times and trying clean-and-build. Nothing.
Tested with CocoaPods and SPM same result.

Could you give an insight on things to check? With a perfectly compiled project, it is still complaining for the same reason.
Thanks!

So, I realised I missed one step using CocoaPods and now it is working fine.
I am noting it down in case it helps someone else:
As per the documentation, you have to execute a second step. A ruby script after pod install:
Pods/ObjectBox/setup.rb

As for the original issue:

When I use this method to create "let store = try store (directorypath: directory. Path)", an error will be reported Incorrect parameter label in call (with 'directorypath:', expected 'model: directory:maxDbSizeInKByte :fileM ode:maxReaders What's the matter with this?

This means the generated Store initializer is missing, which accepts the directoryPath argument. Make sure that the project is set up correctly and build at least once to generate code. I added an explicit step (similar to our main docs) for this: https://swift.objectbox.io/getting-started#generate-objectbox-code
Closing this issue due to inactivity. :zzz: Feel free to comment with more details or submit a new issue.

authors: 624990742 greenrobot-team marcocebrian swulog

repo: objectbox/objectbox-swift


text:
feat(#89): Implement compilation of 'InstanceField' AST node to opcodes

Implement compilation of InstanceField AST node to bytecode opcodes.
Closes: #89.

History:

feat(#89): add unit test to check bytecode transformation
feat(#89): save field scope
feat(#89): add attributes
feat(#89): fix all qulice suggestions
feat(#89): add name to Attributes
feat(#89): use attributes in instance field
feat(#89): use Attributes in invokation
feat(#89): use correct constructor of Invocation in DecompilerMachine
feat(#89): save owner to instance field scope attribute
feat(#89): fix all qulice suggestions

PR-Codex overview
This PR focuses on improving the code diff by introducing a new Attributes class to represent field and method attributes.
Detailed summary

Added Attributes class to represent field and method attributes
Refactored InstanceField and Invocation classes to use Attributes
Updated relevant tests to use Attributes

The following files were skipped due to too many changes: src/main/java/org/eolang/opeo/ast/Invocation.java, src/main/java/org/eolang/opeo/ast/Attributes.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 3min)

authors: rultor volodya-lombrozo

repo: objectionary/opeo-maven-plugin


text:
add readme for the project

the names of the specialized object may be different, but overall that's how I see it.
please inform the person, who is going to work on this project, that full .xmir files, which they can use as examples, are available in aoi project in resources for integration tests. I'll add more tests soon.
@yegor256 pls check

@OlesiaSub perfect, thanks!

repo: objectionary/speco


text:
twitter "joddorg" -> not found anymore

Hi,
twitter page for jodd is not available anymore :
Do you know the reasons?
Any comments possible?
Thx!
Greetz

Yeah, sorry for that. I need to reboot the Twitter, as I was using it for personal tweets

@jodd_org is the new one - only for the Jodd-related tweets :)

authors: igr moh-sushi

repo: oblac/jodd


text:
Request: Add du-scroll-delay

Thanks for the great project I've been using it for a while. But I ran into a small issue today when using it with angular-material(however this is general). I want to request a du-scroll-delay directive be added so that we can delay the scrolling for x milliseconds. I need this so that I can wait for a dialog to close before scrolling otherwise there are big jumps if your dialog is animated. I don't think this is specific to angular-material so I thought it'd be a good feature. Let me know your thoughts.

Hi! You can use $timeout and then $document.scrollToElementAnimated. A directive just for this seems to be a bit too specific imho.

Thanks I think I'll do that.

authors: epelc oblador

repo: oblador/angular-scroll


text:
ToolbarAndroid tablet padding too much

I found this is the case with RN ToolbarAndroid and Icon.ToolbarAndroid but when you are using a tablet or a larger screen, the margin is consistently too much. Would prefer not to have to target each size screen with conditional styling.

Hi, this is an issue with the RN core component. Please report it there :-)

authors: oblador ssomnoremac

repo: oblador/react-native-vector-icons


text:
[NTR]Epithelial stem cell of gut

Please check that the term does not already exist by using the ontology search tool OLS:
https://www.ebi.ac.uk/ols4/ontologies/cl
Preferred term label
Epithelial stem cell of gut
Synonyms (add reference(s), please)
Epithelial fate stem cell [PMID:29362471] [PMID:38835047]
Definition (free text, with reference(s), please. PubMed ID format is PMID:XXXXXX)
A type of stem cell located at the base of intestinal crypts. This cell is capable of self-renewal and multipotent differentiation into all intestinal epithelial cell types including enterocytes, goblet cells, enteroendocrine cells, and paneth cells. Expresses markers such as LGR5, ASCL2, SMOC2. Interacts with supportive Paneth cells in the stem cell niche. Rapidly dividing to maintain intestinal epithelial homeostasis[PMID:24326621][PMID:38835047].
Parent cell type term (check the hierarchy here https://www.ebi.ac.uk/ols4/ontologies/cl)
Epithelial stem cell
Anatomical structure where the cell type is found (check Uberon for anatomical structures: https://www.ebi.ac.uk/ols4/ontologies/uberon)
Epithelium
Your ORCID
https://orcid.org/0009-0005-7919-4905
Additional notes or concerns
Cell guide definition to be added as extended:
Epithelial fate stem cells, also known as epithelial stem cells, possess remarkable abilities for self-renewal and the generation of diverse cell types constituting epithelial tissues. The epithelium, derived from these cells, acts as the body's frontline defense against external threats and facilitates the exchange of nutrients, gases, and waste materials within the internal environment.
Epithelial fate stem cells contribute to tissue development, homeostasis, and repair, maintaining the structural and functional stability of epithelial tissues throughout the human body, including the skin, organs, and glands. Through a delicate balance of quiescence, proliferation, and differentiation, these cells ensure the continuous turnover of epithelial cells.
Furthermore, these cells serve a critical role in cellular differentiation, where initially unspecialized stem cells mature into specialized entities that perpetuate the functionality of epithelial tissues. This process is intricately regulated by a network of gene expression patterns and external signaling cues to guarantee a coordinated and balanced cellular turnover. Hence, epithelial fate stem cells, with their unique attributes of self-renewal and differentiation, are central to the physiological and reparative functions performed by epithelial tissues in the human body.

should be part of intestinal epithelium

These are commonly known as IESCs - Intestinal epithelial stem cells.  I would use this name and add the abbreviation.
"Epithelial fate stem cell" is very broad sounding - I don't think useful as synonym.  Looks like it belongs on parent class.
Some suggested tweaks to def.
An epithelial stem cell located in a stem cell niche at the base of intestinal crypts. This cell is capable of self-renewal and multipotent differentiation into all intestinal epithelial cell types including enterocytes, goblet cells, enteroendocrine cells, and paneth cells.  These cells divide rapidly to maintain epithelial homeostatis.  A variety of adjacent cell types secrete signals that support and maintain the identity of this cell type in the niche, including Paneth Cells and specialised fibroblasts.
Expresses markers such as LGR5, ASCL2, SMOC2.  <-- Make clear in what species these apply (Do they cover both mice and humans?
[PMID:24326621][PMID:38835047].
Some more potential refs: PMID:22610555, https://doi.org/10.1038/s12276-024-01179-1

Probably the same cell type as intestinal crypt stem cell http://purl.obolibrary.org/obo/CL_0002250

authors: JABelfiore dosumis

repo: obophenotype/cell-ontology


text:
unresponsive toelectrical stimuli - typo

unresponsive toelectrical stimuli MP:0013922
Insert space in primary term label after "to"

Primary term label for unresponsive toelectrical stimuli MP:0013922 looks fine in Protege, Ontobee and OLS but does not display properly on the MGI MP Browser (no space between "to" and "electrical". I deleted and re-entered the term label to see if that fixes the issue.

Issue has been fixed. Primary term label for MP:0013922 now displays properly on the MGI MP Browser.


text:
Docker compose quay is not working with docker-compose version 1.25

[ ] Verify that it is working for Docker Compose version v2.14.1
[ ] Add a check in the Makefile

@seepgoel any progress on this one?

authors: eranra seepgoel

repo: observ-vol-mgt/observ-vol-mgt


text:
Stdin input

Description of Changes
Adds stdin operator, which reads lines from stdin. Fixes #174
Example:
pipeline:
  - type: stdin
  - type: stdout

❯ echo "test" | stanza -c ./dev/config.yaml
{"level":"info","timestamp":"2020-11-10T11:07:59.106-0500","message":"Starting stanza agent"}
{"level":"info","timestamp":"2020-11-10T11:07:59.106-0500","message":"Stanza agent started"}
{"timestamp":"2020-11-10T11:07:59.106781-05:00","severity":0,"record":"test"}
{"level":"info","timestamp":"2020-11-10T11:07:59.106-0500","message":"Stdin has been closed","operator_id":"$.stdin","operator_type":"stdin"}

Please check that the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] Add a changelog entry (for non-trivial bug fixes / features)
[x] CI passes

Log Files
Logs / Second
CPU Avg (%)
CPU Avg Δ (%)
Memory Avg (MB)
Memory Avg Δ (MB)

1
1000
1.7069178
-0.017258525
127.74313
-0.67684937

1
5000
6.189815
+0.12073755
136.62701
-2.053482

1
10000
12.276136
+0.5862818
141.38362
-2.548355

1
50000
58.74226
-0.15599442
178.10722
-2.4920502

1
100000
115.44281
-0.20703125
236.96094
-0.6283722

10
100
2.4310653
-0.06900215
136.06169
+2.584732

10
500
6.7932086
-0.08626032
141.1149
+1.7618561

10
1000
13.448516
-0.2419529
148.20703
+3.6915436

10
5000
63.518803
+0.0875206
184.99596
-2.9669952

10
10000
126.407814
-4.751045
226.5827
-9.930222

authors: camdencheek djaglowski

repo: observIQ/stanza


text:
Exception: Ctypes_ffi_stubs.CallToExpiredClosure

Hi, I'm currently playing with a proof-of-concept Gtk4 bindings and I've run into this issue CallToExpiredClosure exception being thrown.
It happens when I let window open a rather long time, and here is the closure
action_save#activate <~> (fun _ ->
     Out_channel.(
         if not readonly then
            with_open_bin path (fun ch -> output_string ch buffer#text)
     );
     self#application#quit ()
);

Where <~> is just a shortcut for signal_connect and (fun _ ...) is the callback. Is that something expected?
Now that I think of it probably yes, since buffer is local to the method were this is called.
Is that the case?

Is that something expected?

It's expected (though not guaranteed) if the closure passed to C is garbage collected before it's called from the C side.  It should be possible to avoid the problem by keeping a reference of some kind to the closure in OCaml, but the details will depend on your library or application.

authors: vrotaru yallop

repo: ocamllabs/ocaml-ctypes


text:
Describe your use case
增加代码格式化检查的插件来规范开发的代码合入
Describe the solution you'd like
增加代码格式化检查的插件来规范开发的代码合入
Describe alternatives you've considered
No response
Additional context
No response

https://github.com/oceanbase/obdiag/pull/221

repo: oceanbase/obdiag


text:
[Bug]: The database change task that failed to be pre-checked cannot be started again

ODC version
ODC 4.2.0
OB version
Any version of OceanBase
What happened?
The database change task that failed to be pre-checked cannot be started again.
I need to deliver it again.

What did you expect to happen?
A re-launch button should be added for database change tasks that fail to pre-check.
How can we reproduce it (as minimally and precisely as possible)?
1.Deliver a database change task
2.CREATE TABLE "全类型表" (
"col1" NUMBER(*,0),
"col2" NUMBER,
"col3" CHAR(120),
"col4" VARCHAR2(120),
"col5" VARCHAR2(120),
"col6" BLOB,
"col7" CLOB,
"col8" DATE,
"col9" TIMESTAMP(6),
"col10" TIMESTAMP(6) WITH TIME ZONE,
"col11" TIMESTAMP(6) WITH LOCAL TIME ZONE,
"col12" RAW(200),
"col13" INTERVAL YEAR (2) TO MONTH,
"col14" INTERVAL DAY (2) TO SECOND (6),
"col15" NCHAR(120),
"col16" NVARCHAR2(120),
"col17" FLOAT(126),
"col18" BINARY_FLOAT,
"col19" BINARY_DOUBLE,
"col20" UROWID(4000),
"col21" UROWID(4000)
)
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit 57504c68d6544653188a5bd627ac79faca90d450
------
咏和
Fri Dec 1 12:22:40 2023 +0800

pass

authors: HSunboy sl01388797 tonghan-gsh

repo: oceanbase/odc


text:
[Bug]: when the amount of data executed during database change is too large, OOM occurs

ODC version
4.2.0
OB version
none
What happened?
When  the amount of data executed during database change is too large, OOM occurs
What did you expect to happen?
OOM should be avoided in any case.
How can we reproduce it (as minimally and precisely as possible)?
Raise a database change task with a lot sql files.
Anything else we need to know?
No response
Cloud
No response

@LuckyPickleZZ Can you provide a sample SQL script?

In current, When user init a database change task and upload SQL script files, the single file size limit is <=256MB, and user can upload multiple files with size 256MB. ODC will read SQL files to a single Java String object. So if the SQL files is very large, then OOM may happened.
The most directly solution is decrease the upload SQL file's size. We will make it as 32 MB at largest in a task.

This issue have not been fixed. We should not decrease the SQL file size limit, but refine it by reading files using stream.

authors: LuckyPickleZZ smallsheeeep


text:
use docker digest if defined and starts with sha

Closes #69
There is a fallback for now, if the docker checksum is not defined, we will the tag.
This option is going to be removed soon

we will the tag. we will the tag indeed 😆

repo: oceanprotocol/operator-engine


text:
Multiple compile warnings and an error in 0.6.0 with node 16.14.2 - error in mouse.c

Expected Behavior

Code should compile. :-)

Current Behavior

warning Error running install script for optional dependency: "/var/rpmbuild/BUILD/infinity_one/client/node_modules/robotjs: Command failed.
Exit code: 1
Command: prebuild-install || node-gyp rebuild
Arguments:
Directory: /var/rpmbuild/BUILD/infinity_one/client/node_modules/robotjs
Output:
prebuild-install WARN install No prebuilt binaries found (target=16.14.2 runtime=node arch=x64 libc= platform=linux)
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@16.14.2 | linux | x64
gyp info find Python using Python version 3.6.8 found at \"/usr/bin/python3\"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/var/src/.asdf/installs/nodejs/16.14.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/var/rpmbuild/BUILD/infinity_one/client/node_modules/robotjs/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/var/src/.asdf/installs/nodejs/16.14.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.cache/node-gyp/16.14.2/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/16.14.2',
gyp info spawn args   '-Dnode_gyp_dir=/var/src/.asdf/installs/nodejs/16.14.2/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/16.14.2/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/var/rpmbuild/BUILD/infinity_one/client/node_modules/robotjs',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/var/rpmbuild/BUILD/infinity_one/client/node_modules/robotjs/build'
  CXX(target) Release/obj.target/robotjs/src/robotjs.o
cc1plus: warning: command line option ‘-Wbad-function-cast’ is valid for C/ObjC but not for C++
In file included from ../src/robotjs.cc:1:
/root/.cache/node-gyp/16.14.2/include/node/node.h:842:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \\\n                                           ^
/root/.cache/node-gyp/16.14.2/include/node/node.h:876:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../src/robotjs.cc:907:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(robotjs, InitAll)
 ^~~~~~~~~~~
../src/robotjs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE keyToggle(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/robotjs.cc:592:17: warning: ‘down’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    toggleKeyCode(key, down, flags);
    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:294,
                 from ../src/robotjs.cc:2:
../../nan/nan_implementation_12_inl.h: In function ‘void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
 Factory<v8::FunctionTemplate>::New( FunctionCallback callback
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:294,
                 from ../src/robotjs.cc:2:
../../nan/nan_new.h:239:32: note: called from here
     return imp::Factory<T>::New(callback, data);
            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:294,
                 from ../src/robotjs.cc:2:
../../nan/nan_implementation_12_inl.h:119:1: warning: inlining failed in call to ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’: --param large-function-growth limit reached [-Winline]
 Factory<v8::FunctionTemplate>::New( FunctionCallback callback
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:294,
                 from ../src/robotjs.cc:2:
../../nan/nan_new.h:239:32: note: called from here
     return imp::Factory<T>::New(callback, data);
            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  CC(target) Release/obj.target/robotjs/src/deadbeef_rand.o
  CC(target) Release/obj.target/robotjs/src/mouse.o
../src/mouse.c:12:11: fatal error: X11/extensions/XTest.h: No such file or directory
  #include <X11/extensions/XTest.h>
           ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [robotjs.target.mk:135: Release/obj.target/robotjs/src/mouse.o] Error 1
make: Leaving directory '/var/rpmbuild/BUILD/infinity_one/client/node_modules/robotjs/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/var/src/.asdf/installs/nodejs/16.14.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:526:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 4.18.0-425.13.1.0.1.el8_7.x86_64
gyp ERR! command \"/var/src/.asdf/installs/nodejs/16.14.2/bin/node\" \"/var/src/.asdf/installs/nodejs/16.14.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /var/rpmbuild/BUILD/infinity_one/client/node_modules/robotjs
gyp ERR! node -v v16.14.2
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error

Possible Solution

Steps to Reproduce (for bugs)

Build

Context

Trying to build a load of our system. Apparently we ignore this because it's an optional dependency, but that doesn't mean I shouldn't tell you about it. Might help someone else out.

Your Environment

RobotJS version: 0.6.0
Node.js version: 16.14.2
npm version: 6.14.15
Operating System: Linux RHEL 9

Your machine is missing XTest headers

fatal error: X11/extensions/XTest.h: No such file or directory

Your machine is missing XTest headers

fatal error: X11/extensions/XTest.h: No such file or directory

Thanks. If this project depends on that header, shouldn't the library and/or package be declared as a dependency of this package, so that installing this code ensures installation of all its dependencies? and maybe have the make file set up so that if the dependency is missing it fails with a more definitive message?
Also, I'm running this in RedHat Linux, so if I understand the "X" reference correctly, nothing here is running in X (probably why I don't have the package), so should the code that needs this header have some conditional compilation around it so that it doesn't use the X headers if it isn't compiling in an X environment, or for an X target?

To be fair, it's listed as a dependency in the readme.
But IMHO, using the library shouldn't require you to compile anything.
In my own framework everything comes pre-compiled.
On the other hand, this repo is inactive, so it is what it is.

Also, I'm running this in RedHat Linux, so if I understand the "X" reference correctly, nothing here is running in X (probably why I don't have the package), so should the code that needs this header have some conditional compilation around it so that it doesn't use the X headers if it isn't compiling in an X environment, or for an X target?

Well, if it did that most of its Linux part wouldn't work.
I'm currently investigating a generic way to make input simulation work generically on both X11 and Weyland, but that's only in its planning phase at the moment.

Robotjs (https://github.com/octalmage/robotjs)is build use V8 API.So it must be rebuilt for different Node versions.
This is a big trouble when installing on a platform that has no build environment..
So I rewrapped Robotjs with Node API and prebuilt it. Now you can install robotjs_addon with just one command
npm install robotjs_addon
And it is compatible with different Node versions. It's open source. You can check it out if you are interested.https://github.com/ftyszyx/robotjs
Warm: some api is removed,because there is no need for me, you can help to improve.

repo: octalmage/robotjs


text:
one and only one [Interface] is expected

Managed to get it up and running on Debian bullseye with no issues.
However , on Macbook Pro M1 (arm64), using the same conf file,  I am getting this error
one and only one [Interface] is expected
Any suggestions for troubleshooting?

Odd, this error should only occur when you have 2 [Interface]s in your config. Do you have an example config that can reproduce the problem?

I used the same config file on both Debian Linux and M1 Mac.
`
SelfSecretKey is the secret key of your wireguard peer
SelfSecretKey = #MYSECRETKEY
SelfEndpoint is the IP of your wireguard peer
SelfEndpoint = 10.13.13.6 #From peer.conf file on wireguard server
PeerPublicKey is the public key of the wireguard server you want to connec to
PeerPublicKey = #MYPEERPUBLICKEY
PeerEndpoint is the endpoint of the wireguard server you want to connec to
PeerEndpoint = #MYSERVERIP:MYPORT
DNS is the nameservers that will be used by wireproxy.
Multple nameservers can be specified as such: DNS = 1.1.1.1, 1.0.0.1
DNS = 10.13.13.1
KeepAlive is the persistent keep alive interval of the wireguard device
usually not needed
KeepAlive = 25
PreSharedKey is the pre shared key of your wireguard device
if you don't know what this is you don't need it
PreSharedKey = #DONTNEEDTHIS
TCPClientTunnel is a tunnel listening on your machine, and
forward any TCP traffic received to the specified target via wireguard
some applications on your LAN -> 127.0.0.1:25565 --wireguard--> play.cubecraft.net:25565
#[TCPClientTunnel]
#BindAddress = 127.0.0.1:25565
#Target = play.cubecraft.net:25565
TCPServerTunnel is a tunnel listening on wireguard, and
forward any TCP traffic received to the specified target via local network
some applications on your wireguard network --wireguard--> 172.16.31.2:3422 -> localhost:25545
#[TCPServerTunnel]
#ListenPort = 3422
#Target = localhost:25545
Socks5 create a socks5 proxy on your LAN, and any traffic would be routed via wireguard
[Socks5]
BindAddress = 127.0.0.1:25344
`

I figured out that this was because I was using an older version of the wireproxy config format.
After updating my config file to match the new format (having the [interface] tag, all works fine, and as expected.
The following config works fine for me.
[Interface]
Address = 10.13.13.6/32
PrivateKey = #MYPRIVATEKEY
DNS = 10.13.13.1

[Peer]
PublicKey = #MYPUBLICKEY
Endpoint = #MYSERVER:MYPORT

# Socks5 create a socks5 proxy on your LAN, and any traffic would be routed via wireguard
[Socks5]
BindAddress = 0.0.0.0:25344

repo: octeep/wireproxy


text:
github: cli: support extension mechanism

Motivation: experiments with distribution and best practices, idiomatic way for interaction with GitHub.
See

https://github.blog/2023-01-13-new-github-cli-extension-tools/
https://github.blog/2021-08-24-github-cli-2-0-includes-extensions/
https://github.blog/2021-03-11-scripting-with-github-cli/

After resolving the issue, I have to check https://www.infoq.com/news/2023/01/docker-desktop-416/.

repo: octomation/maintainer


text:
phase_common_static：ERROR: Opening [1Z.vcf]: unknown error

hi，dear Delaneau.
Sorry to bother you, I have a problem with phase_common that bothers me.
as follows:
[root@localhost LD-Decay]# docker run shapeit5_2023-03-23_a4a1818 phase_common_static -I 1Z.vcf -R 1 -O shapeitphase_1Z.vcf --thread 6
[SHAPEIT5] phase_common (jointly phase multiple common markers)

Author        : Olivier DELANEAU, University of Lausanne
Contact       : olivier.delaneau@gmail.com
Version       : 5.1.0 / commit = 492781e / release = 2023-04-13
Run date      : 15/05/2023 - 14:17:53
Files:
Input         : [1Z.vcf]
Output        : [shapeitphase_1Z.vcf]
Output format : [bcf]
Parameters:
Seed    : 15052011
Threads : 6 threads
MCMC    : 15 iterations [5b + 1p + 1b + 1p + 1b + 1p + 5m]
PBWT    : [window = 4cM / depth = auto / modulo = auto / mac = 5 / missing = 0.1]
HMM     : [window = 4cM / Ne = 15000 / Constant recombination rate of 1cM per Mb]
Reading genotype data:
[E::hts_open_format] Failed to open file "1Z.vcf" : No such file or directory
ERROR: Opening [1Z.vcf]: unknown error

I'm pretty sure 1Z.vcf is in the current running directory. But these errors still occur.
I still have this problem when I try to add absolute paths.
How can I solve this problem?
Looking forward to your reply!

Right-hand side of the GitHub page, there's the "release" panel.
You'll find there precompiled static binaries.
Try using them instead of the docker.
That might be easier.

Hello,
I am getting the same error as the original poster. My unphased vcf is in the current directory, but shapeit is saying it's not there: ERROR: Opening [NC_053450.1.vcf.gz]: unknown error
[E::hts_open_format] Failed to open file "NC_053450.1.vcf.gz" : No such file or directory
I am using the following command: docker run shapeit5_2023-05-05_d6ce1e2 phase_common_static --input NC_053450.1.vcf.gz --region NC_053450.1 -O NC_053450.1.phased
I have been unable to compile from source or to use the precompiled static binaries.
Please help, thank you.

By default, containers cannot see the file system of their host.
Please read about docker or use static binaries.


text:
Log extracted record information

Is your feature request related to a problem? Please describe.
Meteor run does not mention during extraction which records it has extracted.
Describe the solution you'd like
Meteor run can log the name of the record it succeeds to extract.
Successfully extracted table `user_table` from data source `xyz` with recipe `recipe_name`
Successfully extracted dashboard `total users` from data source `redash` with recipe `recipe_name`

@ravisuhag @StewartJingga @mabdh with which approach are we proceeding with this issue ?
Suggested approach :
We can add a utility function in all the extractors which will append all the tables in a string array and its count and it will be used to log detail in a key-value format  like tables = table1, table2  table_count=2.
wdyt ??

@scortier @StewartJingga I am thinking instead of putting this in extractors, it can be handled at central place from agent. Yes, something like this will work
type=extractor table=sample-urn plugin=postgres recipe=sample1
Doing is just after extraction will be better. We can log one line for sink also if needed which shows that this info has been successfully sent to sink as well. But both the abstractions should ideally be handled by agent only.

@scortier  Yes it would be better to be centralised on the Agent itself, at least the basic information.
If we want to log in the extractor, it is totally up to the extractor itself, but it would not be required unless it has information that is generic to that extractor only.

authors: StewartJingga ravisuhag scortier

repo: odpf/meteor


text:
🛑 urbamonde.org is down

In 3ff9996, urbamonde.org (https://www.urbamonde.org) was down:

HTTP code: 429
Response time: 582 ms

Resolved: urbamonde.org is back up in af16037.

repo: odqo/upptime


text:
🛑 urbamonde.org is down

In 69aae2b, urbamonde.org (https://www.urbamonde.org) was down:

HTTP code: 429
Response time: 549 ms

Resolved: urbamonde.org is back up in 218a434.


text:
AttributeError: module 'site' has no attribute 'getsitepackages'

% lx init
Initializing LightEx in current directory.
Traceback (most recent call last):
File "/disk/venv/p3/bin/lx", line 46, in
main(args)
File "/disk/venv/p3/bin/lx", line 28, in main
task_init()
File "/disk/venv/p3/bin/lx", line 12, in task_init
asset_dir = Path(site.getsitepackages()[0]) / 'lightex' / 'assets'
AttributeError: module 'site' has no attribute 'getsitepackages
Looks like this is a known issue in virtualenv with no fix:
https://github.com/pypa/virtualenv/issues/737
Alas, most ML development is in a virtualenv...

Thanks for pointing this out.
A tmp fix is to copy files from lightex/assets directory into current directory. That's what lx init does.
Will look for a permanent fix to this.

Thanks for looking into this. Yes, get_python_lib() is working correctly. As a temp fix, I locally modified bin/lx to hardcode the site-packages directory.

authors: ekshaks jayargo

repo: ofnote/lightex


text:
gen: discriminator property is removed from structures

The discriminator field is removed from the generated structs. Suppose some API endpoint accepts a String and not a TypeDef and it expects to receive the kind property. Currently, the generated API client can not call such an endpoint since it wont be including the discriminator field. There could also be cases where the value of the discriminator property is useful for other things than deciding the type. Should it not always be included in the types? Especially if I manually put it as a required field like in the example below.
What version of ogen are you using?
$ go list -m github.com/ogen-go/ogen

github.com/ogen-go/ogen v0.81.0

Can this issue be reproduced with the latest version?
Yes
What did you do?
TypeDef:
  oneOf:
    - $ref: '#/components/types/String'
    - $ref: '#/components/types/Int'
  discriminator:
    propertyName: kind
    mapping:
      string: '#/components/types/String'
      int: '#/components/types/Int'

String:
  type: object
  required:
   - kind
  properties:
    kind:
      type: string
Int:
  type: object
  required:
   - kind
  properties:
    kind:
      type: string

What did you expect to see?
// Ref: #/components/types/String
type String struct{
    Kind string `json:"kind"`
}

// Ref: #/components/types/Int
type Int struct{
    Kind string `json:"kind"`
}

What did you see instead?
// Ref: #/components/types/String
type String struct{}

// Ref: #/components/types/Int
type Int struct{}

@johanhenriksson did you find a workaround for this issue?
The only thing I've found it to define a kind of type alias to use in oneOf schema, e.g.
StringForDiscriminator:
  allOf:
    - $ref: '#/components/types/String'
    - type: object
      properties:
         kind:
           type: string

In that case we have 2 objects generated, one to be used in the case with discriminator, and another one without. But it looks a bit ugly, tbh.

So having following schema
openapi: 3.0.3
info:
  title: Discriminator example
  description: Example
  version: 1.0.0
paths:
    /example:
      get:
        responses:
          200:
            description: OK
            content:
              "application/json":
                schema:
                    $ref: '#/components/schemas/Response'
components:
  schemas:
    Alpha:
      type: object
      required:
        - kind
        - variant
        - data
      properties:
        kind:
          type: string
        variant:
          type: string
        data:
          type: string
    Beta:
      type: object
      required:
        - kind
        - variant
        - value
      properties:
        kind:
          type: string
        variant:
          type: string
        value:
          type: string
    SumAuto:
      oneOf:
        - $ref: '#/components/schemas/Alpha'
        - $ref: '#/components/schemas/Beta'
    SumFirst:
      discriminator:
        propertyName: kind
        mapping:
          alpha: '#/components/schemas/Alpha'
          beta: '#/components/schemas/Beta'
      oneOf:
        - $ref: '#/components/schemas/Alpha'
        - $ref: '#/components/schemas/Beta'
    SumSecond:
      discriminator:
        propertyName: variant
        mapping:
          a: '#/components/schemas/Alpha'
          b: '#/components/schemas/Beta'
      oneOf:
        - $ref: '#/components/schemas/Alpha'
        - $ref: '#/components/schemas/Beta'
    Response:
      type: object
      required:
        - Auto
        - First
        - Second
        - Alpha
        - Beta
      properties:
        Auto:
          $ref: '#/components/schemas/SumAuto'
        First:
          $ref: '#/components/schemas/SumFirst'
        Second:
          $ref: '#/components/schemas/SumSecond'
        Alpha:
          $ref: '#/components/schemas/Alpha'
        Beta:
          $ref: '#/components/schemas/Beta'

Discriminator properties are removed from Alpha and Beta, but should not.
@tdakkota please take a look.

@vkuptcov I have not found a good workaround to this, no. We managed to do without it, but having the discriminator field on the generated types would make life easier.

authors: ernado johanhenriksson vkuptcov

repo: ogen-go/ogen


text:
能支持自定义容器节点吗

目前看上去好像只能挂载到body下面，但是需求是想在指定的位置展示——也就是希望能随着滚动条的滚动而移动

目前并不支持自定义模型容器，但在我未来的开发计划中其实包含此功能，奈何我一直忙于工作没有多余时间来维护这个库，若你有更多想法或者愿意的话，可以为此贡献代码，感谢支持🙏

好的，
上面提到的需求，最后是通过加入了一个 index.html 引入 live2d，然后在 next 中使用 react-iframe 嵌入这个html页面实现的....
这样做总感觉有点别扭...
如果过一段时间（大概十月的时候，最近确实太忙了）还没有pr的话，我想我会来试试看。

已PR: #20

authors: CoderSerio loclink


text:
Fixed Misaligned text when there's no data

Proposed Changes

Fixes #8805
Updated the rendering of the shifting card list
The grid is only rendered when there's data to display.

This is how it looks now:

@ohcnetwork/care-fe-code-reviewers
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

LGTM


text:
🛑 Reportes is down

In b2957e1, Reportes (https://repository.ohelit.co/jasperserver/login.html) was down:

HTTP code: 502
Response time: 574 ms

Resolved: Reportes is back up in a468222.

repo: ohelitco/status


text:
Some bug fixes

Added ability to request all orders pairs
2.Fixed .text() error when parsing response, i think this occurs because of copy-paste of .json()

Please increse the version in setup.py according to the rules specified here https://semver.org/

authors: Flowelcat dantimofte

repo: ohenrik/bitfinex


text:
Private fields should be ignored when Unmarshaling

When unmarshaling or recomposing to a struct, if a key matching a private field is found, the private field is attempted to be set resulting in a panic:
reflect: reflect.Value.Set using value obtained using unexported field

Playground demonstration: https://go.dev/play/p/r6oam713GJo

Please try the "respect-private" branch.

Looks to be working as expected on that branch.

Thanks

Released

Thanks for the quick fix.


text:
CLD-5271 Add changes necessary for Close monitoring - support for red…

…irects and make local script optional

seems you are creating a pr from a fork. Any reason to do that?
Could you simply clone the repo?

authors: lucky-edu mpivarnikohpen


text:
OIDC-based user authentication

These changes introduce the functionality for configuring Funnel and for using any external OIDC authentication provider. It can co-exist with the existing Basic authentication solution. It is intended for the HTTP-based TES API and OIDC-based authentication is now also supported by the Funnel UI (webdash).
Overview of changes:

configuration – Server.OidcAuth.* fields for specifying the target OIDC service by configuration URL, client credentials of Funnel, and optional JWT requirements.
authentication interceptor – changes to adapt authentication to both Basic and Bearer tokens.
new endpoints:

GET /login for redirecting user to the configured OIDC-service;
GET /login/token for exposing the returned JWT authentication token to the webdash.

webdash – requires authentication at OIDC (if OIDC is enabled) but also supports Basic authentication (if OIDC is disabled)

updated existing fetch-calls to use the common fetching functionality in utils.js (which also forwards the Authorization header).

documentation – README file about configuring Funnel for OIDC-based user authentication.

JWT validation is handled by an externally developed library: github.com/lestrrat-go/jwx/v2/jwk.
Another good feature is that UserInfo is now added to the request context. It can be used for deciding user's access to resources.

I'm providing this functionality for you to evaluate and decide if it's worth to include it in the main Funnel codebase. Feel free to test and provide feedback. If necessary, I can do some additional changes.

Thank you @mrtamm! Funnel lacks robust authentication support and this has been a blocker for many collaborators — we will review the PR and update here by the end of this week.
Ideally we can then get this feature included in the next release cycle — thanks again! 🚀

Thank you for the first approval! :)
At this point, I wanted to clarify a bit this OIDC-based authentication solution.
When OIDC is configured, authentication interceptor can accept and validate Bearer tokens in the HTTP request headers. It expects an Access Token there. JWT validation includes checking signature, audience, scope, and also token validness (call to OIDC introspection endpoint).
If OIDC-based authentication is initiated through the UI (or /login endpoint), the same endpoint also stores the Access Token in a jwt session cookie, which is exposed to JavaScript through the /login/token endpoint. From there on, the JavaScript fetch() calls will use the obtained token in the Authorization header. This Access Token based authentication is also suitable for external TES API clients that have already authenticated the user at the same OIDC Identity Provider.
If OIDC is not enabled, however, Basic authentication is enabled, the /login endpoint will request Basic-authentication, and the /login/token endpoint will just provide an empty response. The fetch() calls will provide the browser-managed Basic Authorization header to the server.
Note that both Basic and Bearer authenticated user-session solutions are currently based on the browser session – if the window is closed, the credentials are forgotten. Currently, there is no logging out option for the user. It would require storing the related ID token somewhere, however, I was not sure where and how to store it, so I preferred not to do it at this point. Though, I'm open to suggestions here.
As a heads-up, I am also preparing another pull request for storing user as task owner, and restricting access to tasks based on the owner information (if enabled through configuration). That solution is based on the user info functionality provided in this pull request. (We can leave that discussion to the new PR.)

repo: ohsu-comp-bio/funnel


text:
🛑 Ekşi Sözlük is down

In 18ad649, Ekşi Sözlük (https://eksisozluk.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ekşi Sözlük is back up in dea40df.

repo: okankocyigit/upptime


text:
add cmake support and .gitignore file

I tried to add cmake file for this project. The test and example are not built by default.
I didn't add install option because I don't know exactly how to.
And the new .gitignore file is used to ignore some generated files and directories.

Sorry there are some problems. I will check and later open a pull request again.

Now things should be OK.
Sorry for my careless.

I have modify the name and other things in CMakeLists.txt. Thanks for your advice!

Things are ok now. Thanks for your comment!

Thanks a lot!


text:
Ettepanek - maakondlik vaade uutele juhtumitele

Palun tehke "uusi juhtumeid päevas" maakondlik vaade

This is in the app now.

authors: Incincinc keeganmcbride

repo: okestonia/koroonakaart


text:
Suggestion: Create embeddable link for graphs and tables

Nice to have, as long as it's okay with all the legal rights.

We are working on adding this now. Highcharts has a free license only for open source projects, so I assume as long as there is no ads etc on the page it should be okay, but I am not a lawyer and will need to check this out.

This is done now. Anyone can click on the chart menu, and then "embed graph", for ex:

authors: argokasper keeganmcbride


text:
fix: always use unix slashes in paths and correctly handle ../ globs

This PR adds the normalize-path module for always converting file paths to unix-like forward slashes. It also fixes a bug in generateTasks where absolute paths were resolved incorrectly when the working directory is a sub directory of the git repository.
TODO

[x] Figure out why some tests started failing

@okonet please see commit 44d7723 of this branch. For some reason, no matter what I tried, these tests started failing when resolveGitDir no longer returned a via path.resolve/path.normalize. The integration tests work fine, so I assume this has something to do with test mocks.

Codecov Report

Merging #678 into master will decrease coverage by 0.34%.
The diff coverage is 100%.

This is based on the fact that I removed failing tests. It doesn't actually change the coverage of 99.64 %.

Ah, the problem was with the mock implementation of execa messing up the resolveGitDir method. I fixed this by mocking the latter in the failing cases.

rebased

:tada: This PR is included in version 9.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: iiroj okonet

repo: okonet/lint-staged


text:
defaultCredentialDataSource()

Describe the bug?
val credentialDataSource: CredentialDataSource = CredentialBootstrap.defaultCredentialDataSource()
This extension fuction doesn't exit and the exchange token is not clear about how to use this__
What is expected to happen?
        val credentialDataSource: CredentialDataSource = CredentialBootstrap.defaultCredentialDataSource()

found the extension fuction
What is the actual behavior?
Unresolved reference: defaultCredentialDataSource
Reproduction Steps?
write this line
val credentialDataSource: CredentialDataSource = CredentialBootstrap.defaultCredentialDataSource()
Additional Information?
No response
SDK Version and Artifact(s) used.
1.1.1
Build Information
No response

@skdesarrollo, thanks for bringing this to our attention! It should be CredentialBootstrap.credentialDataSource. I noticed that the README mentions this non-existing API. I will put up a fix for this. If you noticed this in any other documentation than the README, please let me know about that as well so I can get that fixed.

authors: rajdeepnanua-okta skdesarrollo

repo: okta/okta-mobile-kotlin


text:
Rename Go module

Renamed the Go module to allow installation through go install.
Without renaming the module, installation fails given the module name & URL mismatches.
PS C:\Users\user> go install github.com/olafhartong/DefenderHarvester@latest
go: downloading github.com/olafhartong/DefenderHarvester v0.9.8
go: github.com/olafhartong/DefenderHarvester@latest: version constraints conflict:
        github.com/olafhartong/DefenderHarvester@v0.9.8: parsing go.mod:
        module declares its path as: defenderharvester
                but was required as: github.com/olafhartong/DefenderHarvester

thanks Maxime! :)

repo: olafhartong/DefenderHarvester


text:
Broken daily(?)

This may be within the random chance of dailies but seems unlikely. Just did a BSO daily which, when answered correctly, awarded no gp and had the appearance of an incorrect answers reward. It even had the random space and emoji found in failed dailys.

There is a 1 un 73 chance that your coins reward will be 0. The bank image removes the 0 qty item, that is why the empty space.

Hmmm okay so it was within the random chance. Just wanted to make sure.

authors: kevinsmendes parallack

repo: oldschoolgg/oldschoolbot


text:
[BUG] Unable to render dataview query.

OS: Windows 11
Obsidian: v1.1.12 / v1.1.9
Dataview Plugin: 0.5.55
Digital Garden plugin: 2.36.0

Solved. Some notes use dataviewjs, which is not supported.

repo: oleeskild/obsidian-digital-garden


text:
Update README.md

rtltg,rtlg,lrtglñrtgrtgr

Todo ok


text:
return config.dark_theme error Default configuration

Can you share your config? I can't replicate this

require("onedarkpro").setup({
dark_theme = "onedark", -- The default dark theme
light_theme = "onelight", -- The default light theme
-- Theme can be overwritten with 'onedark' or 'onelight' as a string
theme = function()
if vim.o.background == "dark" then
return config.dark_theme
else
return config.light_theme
end
end,
colors = {}, -- Override default colors by specifying colors for 'onelight' or 'onedark' themes
hlgroups = {}, -- Override default highlight groups
filetype_hlgroups = {}, -- Override default highlight groups for specific filetypes
plugins = { -- Override which plugins highlight groups are loaded
native_lsp = true,
polygot = true,
treesitter = true,
-- NOTE: Other plugins have been omitted for brevity
},
styles = {
strings = "NONE", -- Style that is applied to strings
comments = "NONE", -- Style that is applied to comments
keywords = "NONE", -- Style that is applied to keywords
functions = "NONE", -- Style that is applied to functions
variables = "NONE", -- Style that is applied to variables
virtual_text = "NONE", -- Style that is applied to virtual text
},
options = {
bold = false, -- Use the themes opinionated bold styles?
italic = false, -- Use the themes opinionated italic styles?
underline = false, -- Use the themes opinionated underline styles?
undercurl = false, -- Use the themes opinionated undercurl styles?
cursorline = false, -- Use cursorline highlighting?
transparency = false, -- Use a transparent background?
terminal_colors = false, -- Use the theme's colors for Neovim's :terminal?
window_unfocussed_color = false, -- When the window is out of focus, change the normal background?
}
})

I think this may have been fixed in the latest commit. Could you check?
By the way, you can format a code block on GitHub with three `. Makes it easier for us to read.

Thank you for the update

authors: olimorris xMonody


text:
Can't build anymore

I have the following error when i'm trying to build the current master:
[  6%] Building CXX object src/CMakeFiles/ppconsul.dir/agent.cpp.o
[  9%] Building CXX object src/CMakeFiles/ppconsul.dir/catalog.cpp.o
[ 11%] Building CXX object src/CMakeFiles/ppconsul.dir/consul.cpp.o
ppconsul/src/consul.cpp:91:13: error: function 'ppconsul::Consul& ppconsul::Consul::operator=(ppconsul::Consul&&)' defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ''
Consul& Consul::operator= (Consul &&op) PPCONSUL_NOEXCEPT = default;
^~~~~~
make[2]: *** [src/CMakeFiles/ppconsul.dir/build.make:89: src/CMakeFiles/ppconsul.dir/consul.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:146: src/CMakeFiles/ppconsul.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
Boost 1.73

This is caused by using old ABI, i.e. compiling with CXX="g++-7 -D_GLIBCXX_USE_CXX11_ABI=0".

I've pushed the fix. Please verify and reopen the issue if you still have problem.

authors: Ambrase oliora

repo: oliora/ppconsul


text:
Documentation: Issue in example Code for Pre-building Indexes

Hi, I hope this is the correct place to post an issue on https://lunrjs.com/guides/index_prebuilding.html .
In the sample node script for building an Index, var documents = JSON.parse(buffer.join()) is used to parse STDIN to a JSON array. However, this does not work for large inputs (i.e., in case the buffer has more than one element), because if called without arguments, join() will join the array elements with a comma separator, resulting in invalid JSON. So, correct is: var documents = JSON.parse(buffer.join(''))
Many thanks for correcting this.

The website is in this repository, please open an issue there, or better yet send a pull request ;)

The specific page is https://github.com/olivernn/lunr-site/blob/master/source/guides/index_prebuilding.html.md

Perfect, I was looking for the repo of the site but did not find it - shame on me. :smile: Will open a pull-request!

No problem, thanks for taking the time to open an issue and provide a fix!

See olivernn/lunr-site#3

authors: olivernn stjosh


text:
modify template, system,or params on webpage

after pushing a model, sometimes I hope to modify template, system,or params on webpage.

You can change template, system and params in Modelfile, then recreate model and repush model to ollama.
Or use a base model, then create a new model with different template, system and params.
FROM baseModel
PARAMETER temperature 1
# sets the context window size to 4096, this controls how many tokens the LLM can use as context to generate the next token
PARAMETER num_ctx 4096

# sets a custom system message to specify the behavior of the chat assistant
SYSTEM You are Mario from super mario bros, acting as an assistant.

and then ollama create newModel -f Modelfile

You can change template, system and params in Modelfile, then recreate model and repush model to ollama.
Or use a base model, then create a new model with different template, system and params.
FROM baseModel
PARAMETER temperature 1
# sets the context window size to 4096, this controls how many tokens the LLM can use as context to generate the next token
PARAMETER num_ctx 4096

# sets a custom system message to specify the behavior of the chat assistant
SYSTEM You are Mario from super mario bros, acting as an assistant.

and then ollama create newModel -f Modelfile

so i must re-push all files,especially that big model. what i wish is to just push a file which contain necessary modification only.

If you do the FROM baseModel approach it should actually use the same model files on the system in the model cache folder but only override parameters you are manually setting as needed. Should not have an impact on your storage.

You can change template, system and params in Modelfile, then recreate model and repush model to ollama.
Or use a base model, then create a new model with different template, system and params.
FROM baseModel
PARAMETER temperature 1
# sets the context window size to 4096, this controls how many tokens the LLM can use as context to generate the next token
PARAMETER num_ctx 4096

# sets a custom system message to specify the behavior of the chat assistant
SYSTEM You are Mario from super mario bros, acting as an assistant.

and then ollama create newModel -f Modelfile

so i must re-push all files,especially that big model. what i wish is to just push a file which contain necessary modification only.

If you do the FROM baseModel approach it should actually use the same model files on the system in the model cache folder but only override parameters you are manually setting as needed. Should not have an impact on your storage.

for example, I push a model A + template A to ollama.com; then I modify template A to B, and create a model A + template B on my laptop, if I want to push new one to ollama.com, I must re-push model A again. it is time consuming. so , I wish I can modify template A which I have uploaded to ollama.com to template B.so I need not to re-push model A.

You can change template, system and params in Modelfile, then recreate model and repush model to ollama.
Or use a base model, then create a new model with different template, system and params.
FROM baseModel
PARAMETER temperature 1
# sets the context window size to 4096, this controls how many tokens the LLM can use as context to generate the next token
PARAMETER num_ctx 4096

# sets a custom system message to specify the behavior of the chat assistant
SYSTEM You are Mario from super mario bros, acting as an assistant.

and then ollama create newModel -f Modelfile

so i must re-push all files,especially that big model. what i wish is to just push a file which contain necessary modification only.

If you do the FROM baseModel approach it should actually use the same model files on the system in the model cache folder but only override parameters you are manually setting as needed. Should not have an impact on your storage.

for example, I push a model A + template A to ollama.com; then I modify template A to B, and create a model A + template B on my laptop, if I want to push new one to ollama.com, I must re-push model A again. it is time consuming. so , I wish I can modify template A which I have uploaded to ollama.com to template B.so I need not to re-push model A.

authors: Skarian alwqx taozhiyuai

repo: ollama/ollama


text:
There are issues with the upgrade

What is the issue?
Why is the version always 0.3.14 during each upgrade, and why can't it be upgraded to the latest version?
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
0.4.3~0.4.5

Have you previously installed ollama in WSL (https://github.com/ollama/ollama/issues/6701)?  What's in your server logs?

I haven't installed it in WSL. Additionally, I found an old installation package in this folder and have now deleted it. I'm not sure if this will solve the problem:
C:\Users%username%\AppData\Local\Ollama
server.log
server-1.log
server-2.log
server-3.log
server-4.log
server-5.log

The server has been upgraded to 0.4.6.  It looks like you briefly rolled back to 0.3.14, but the server is currently on the most recent release.
time=2024-11-25T15:33:44.048+08:00 level=INFO source=routes.go:1248 msg="Listening on [::]:11434 (version 0.4.4)"
time=2024-11-26T09:38:45.057+08:00 level=INFO source=routes.go:1248 msg="Listening on [::]:11434 (version 0.4.4)"
time=2024-11-30T09:17:35.951+08:00 level=INFO source=routes.go:1248 msg="Listening on [::]:11434 (version 0.4.4)"
time=2024-11-30T09:22:23.190+08:00 level=INFO source=routes.go:1248 msg="Listening on [::]:11434 (version 0.4.4)"
time=2024-11-30T09:30:08.086+08:00 level=INFO source=routes.go:1205 msg="Listening on [::]:11434 (version 0.3.14)"
time=2024-11-30T09:31:25.090+08:00 level=INFO source=routes.go:1248 msg="Listening on [::]:11434 (version 0.4.6)"

What's the output if you run ollama --version in a PowerShell terminal window?  Is OLLAMA_HOST set in your environment?  If you open a PS window in Adminstrator mode, what's the output of netstat -bano | Select-String -Pattern 11434 -Context 0,1?

The reason it reverted to the new version is that I manually installed version 0.4.6 using the installation package.
1.
C:\Users\wesley>ollama --version
ollama version is 0.4.6
2.
PS C:\WINDOWS\system32> netstat -bano | Select-String -Pattern 11434 -Context 0,1

TCP    0.0.0.0:11434          0.0.0.0:0              LISTENING       11636
[ollama.exe]
TCP    [::]:11434             [::]:0                 LISTENING       11636
[ollama.exe]


text:
Windows automatically recognizes username

get the current username by "%username%"

Thank you!

authors: TCOTC jmorganca


text:
Error - Failed to open stream: Permission denied

I'm having this error in my production logs:
file_put_contents(/var/www/vendor/olssonm/l5-very-basic-auth/src/config.php): Failed to open stream: Permission denied
It happens every few seconds. Besides that the authentication is working.
I have published the configuration file in my config folder.

@bianchi Thanks for reaching out. Yeah, you seem to have a clash there where the system tries to write to /var/www/vendor/olssonm/l5-very-basic-auth/src/config.php, and the system isn't the same owner as the one that installed the package via composer.
However, this shouldn't happen if you have published the config-file. Can you just double-confirm that in your project that you have a file named /config/very_basic_auth.php? And I'll work on a solution.
Thanks!

@bianchi This should now be solved with the v7.0-release. Please update and get back to me if you encounter any other issues.

I'll do that. Thank you @olssonm

authors: bianchi olssonm


text:
django_app/default: Migration 0003_alter_email_max_length wrong for Django 1.7

Hi,
Django 1.8 changed the default max_length for EmailField to 254. In response, python-social-auth added migration 0003_alter_email_max_length, which sets its own email field's length to 254. However, the email field itself does not have an explicit max_length specified, so on Django 1.7 (where the default max_length is still 75) Django issues this message (when running migrate and there are no other migrations to run):
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

Of course, if you follow that advice, you get an automatic migration.
Proper fix, probably, is setting the Code.email's length to 75 explicitly as long as Django 1.7 is supported (254 is also an option, but may be a problem if the value is then copied into other, default-lengthed, email fields).

FYI, this was solved in 663a174db194b1cc46effcaa4a2dc45d41d0d8e3

No, this was introduced in 663a174. Before that commit, migrations create a field that doesn't work well with Django 1.8. With it, migrations create a field which works well with Django 1.8, but not Django 1.7.

Ouch. Misread that. You're right. Hmm.....

Specify the length on the EmailField manually to fix this.

@omab could you maybe release this fix to PyPI?  This is currently breaking my builds, so I've had to downgrade python-social-auth.

@hwkns, v0.2.13 released to pypi.

authors: hwkns koterpillar nickcatal omab shaib

repo: omab/python-social-auth


text:
manual activity lock screen callback for success?

Intent intent = new Intent(getActivity(), PinLockActivity.class);
intent.putExtra(AppLock.EXTRA_TYPE, AppLock.UNLOCK_PIN);
startActivity(intent);
how to do something ? on if successfully unlocked

That's not how the library is supposed to work sorry
Your activities have to extend PinActivity in order to show the PinLockActivity after a certain timeout.

@olivierg13 Is there a reason for this decision? The issue is, if you do it that way, technically (unless I'm incorrect) it is hard to be a gateway.
E.g. Use case: Pin code as an another set of gateway before login. I could technically put it in the place where login happens, however, login is still happening in the background even though UI is blocked. If someone connected their phone to the laptop the logs are still shown given that login is still happening.
I love this library so far, since it is one of the more advanced ones (other ones are mostly UI or just does PIN and not fingerprint). It's just that it will be awesome to know when it's coming back successful.

repo: omadahealth/LolliPin


text:
With contributing.md file

the Readme.md has mentioned about the Contributing.md file but it was not present in the main branch, My first contribution sorry if i made any mistakes.

Hey that's impressive!
Please have a look to https://github.com/ombhojane/explainableai?tab=readme-ov-file#run-locally
please add this steps too in contributing.md
first have fork the repo
then setup project locally
do contributions
and have later github flow like git add ., commit and push

Thanks @karthik-kiran-29 for contributions :)

repo: ombhojane/explainableai


text:
README.md downloads the unstable omisego/ewallet:latest image

The docker-compose.yml and docker-compose.override.yml mentioned in README.md pulls down omisego/ewallet:latest which is from the tip of master and unstable.
The README.md should refer to the latest stable docker image.

Unfortunately the current :stable is still using the old MIX_ENV=prod mix omg.server so the rest of instructions (in general) won't work. I
agree we should recommend people to use :stable once 1.1 is released though.
Unnawut Leepaisalsuwanna notifications@github.com writes:

Assigned #769 to @sirn.
--
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
https://github.com/omisego/ewallet/issues/769#event-2111654008

authors: sirn unnawut

repo: omisego/ewallet


text:
tabbed-admin not working with django 1.11

in django 1.11, using tabbed-admin causes an error when rendering the admin add view template. Error says "context must be a dict, not RequestContext".

👍  solution needed. @omji can you review and merge suggested solution?

Hi,
All apologies for the long delay. This should be fixed with release 1.0.2

authors: Gedzis MathiasWedeken omji

repo: omji/django-tabbed-admin


text:
Try to fix https://coveralls.io/ in WIP

https://coveralls.io/github/omniauth/omniauth_openid_connect

Seems (break in CI)[https://github.com/omniauth/omniauth_openid_connect/runs/5078489583?check_suite_focus=true#step:4:33]

@Eric-Guo I think we should add it as an explicit Github Action step, then we can use the repository secrets instead.
https://github.com/marketplace/actions/coveralls-github-action#complete-parallel-job-example

https://github.com/omniauth/omniauth_openid_connect/pull/109
@Eric-Guo Please check out my suggestion 🙂

authors: Eric-Guo davidwessman


text:
List element selection in interpolation seems not to work

Describe the bug
It seems like the interpolation of lists with [] is not always carried out.
To Reproduce
c = OmegaConf.create({'a': '${b[1]}', 'b': [0, 1, 2]})
c.a ## expected 1, but the result is '${b[1]}'

but
c = OmegaConf.create({'a': '${b.1}', 'b': [0, 1, 2]})
c.a ## 1, as expected

Expected behavior
I expected c.a to evaluate via c.b[1] to 1, but it evaluated to ${b[1]}.
Additional context
c = OmegaConf.create({'a': '${b[1]}', 'b': [0, 1, 2]})
assert c.b[1] == 1

Hi @davidavdav, thanks for the report!
This is fixed in our recent release candidate, OmegaConf version 2.1.0.rc1. Please consider giving it a try :)
pip install omegaconf==2.1.0.rc1 --upgrade

repo: omry/omegaconf


text:
Offline map download auto-resumption needs attention

It seems that if the network is disconnected or the internet is unavailable during an offline map download, the map download is stuck. The offline map download should resume once the internet connection is back. However, this does not seem to happen

The resumption seems to work well for a few minutes.
The resumption also works if you exit the app and come back since the download uses a foreground service that maintains the download progress notification on the notification bar.
When the internet is disconnected for around 11 minutes and resumed. It takes some minutes before the download progress bar starts showing progress.
From the logs the internet was disconnected at around 6:09 PM and errors were logged by Mapbox at:

6:09 pm
6:11 pm
6:12 pm
6:14 pm
6:18 pm

The wifi was turned on at 6:22 pm and the download did not start until 6:26 pm.
This shows that Mapbox retries resuming the download after 1 min, 2 mins, 4 mins, 8 mins and so on. The Mapbox OfflineManager however uses a broadcast receiver for android.net.conn.CONNECTIVITY_CHANGE which might not be utilised as expected from this observation

Offline map download resumption works OK when inside activities using the mapbox MapView. It seems that this is because the MapView activates the com.mapbox.mapboxsdk.net.ConnectivityReceiver and thus the
The Android MapboxSDK OfflineManager does not directly enable the com.mapbox.mapboxsdk.net.ConnectivityReceiver when offline region download resumes. It is only enabled when an offline region is being created and deactivated immediately after the region creation succeeds or fail. However, the OfflineManager and it's components use the com.mapbox.mapboxsdk.net.ConnectivityReceiver(which is a singleton) if it is activated.
The fix would be to activate the com.mapbox.mapboxsdk.net.ConnectivityReceiver before an OfflineRegion status is activated and deactivated after the OfflineRegion is done downloading, encounters a tile count limit exception or the MapboxOfflineDownloaderService is shutdown. Classes using the MapboxOfflineResourcesDownloader should deactivate the ConnectivityReceiver when they are destroyed to prevent a memory leak

Getting very many notification error messages when wifi is turned off when downloading map.
Samsung J5 physical phone.

authors: ekigamba vincent-karuri

repo: onaio/kujaku


text:
update validator_service_version to 2.1.0

Update validator service to v2.1.0

You should wait until we release v1.9.0 to merge this though.

authors: arscan yunwwang


text:
腾讯云 COS 列文件返回结果中 isDir 全部为 false

借助本项目获取腾讯云 COS 存储桶文件列表时发现返回结果中所有项目 isDir 均为 true，不管是文件还是目录。看了下代码这个地方是硬编码了并没有进行判断，不知能否修复呢？

你好，此问题已修复。
原因是腾讯云列出文件列表接口中并无是否表示为目录的参数。但是可以通过文件名称的最后一个字符'/'来判断是否为目录。

authors: Robotxm oncemi


text:
Add new GPU power domain

CARD domain is technically for whole PCI card which might include more than just the GPU IP. So, adding separate GPU domain helps to provide GPU specific power related info.
Addresses: #223

@sanilkumar0 @jandres742 @joshuaranjan @saik-intel @wdamon-intel @jitendrasharma1989

repo: oneapi-src/level-zero-spec