pkg/columns: add support for column templates

This PR adds support for column templates - a way of reusing parameters for columns that have been registered with the library before.
How it works
We need to find a spot where we are sure these types get registered before calling NewColumns() and that is shared between kubectl gadget and local-gadget, but can also easily be imported by third parties using our gadgets:
func init() {
	// Register some commonly used column templates
	columns.RegisterTemplate("comm", "maxWidth:16")
	columns.RegisterTemplate("pid", "minWidth:7")
}

Registered columns can then be used in the structs like so:
type Event struct {
	Comm string `column:"template:comm"`
	Pid int `column:"template:pid`
}

Todo

[ ] Discuss where to place the template registration
[ ] Discuss which fields should have templates

Is it still possible to overwrite the template? So if there is a template for COMM with width:20 can i create a struct which wants its COMM to be 40?
Regarding which fields should have templates i would say at least:

PID
COMM
MNTNS

Is it still possible to overwrite the template? So if there is a template for COMM with width:20 can i create a struct which wants its COMM to be 40?

Yes, settings on fields always overwrite settings from templates.

Is it still possible to overwrite the template? So if there is a template for COMM with width:20 can i create a struct which wants its COMM to be 40?

Yes, settings on fields always overwrite settings from templates.

I suppose you simple don't use the template but define column:"comm,width:40", no?

Is it still possible to overwrite the template? So if there is a template for COMM with width:20 can i create a struct which wants its COMM to be 40?

Yes, settings on fields always overwrite settings from templates.

I suppose you simple don't use the template but define column:"comm,width:40", no?

I would still use the template as we might decide to change things like alignment of comm globally later on, for example.

What's the use case for "typed" templates? Can't we only implement RegisterTemplate and later on introduce typed templates if we realize it's needed?

Typed templates make sense for fields that have special attributes that can only apply to e.g. numeric values - like summing in groups. If you would use a template that has group:sum set on a string, it would not let you create the columns instance. But I agree that we probably won't use them directly, so I can remove them.


jfrog artifactory plugin documentation

GH issue: https://github.com/janus-idp/backstage-plugins/issues/559

@fmenesesg Please review the changes in this PR and share your comments.

@hmanwani-rh there seems to be issue with semantic, update the commit and PR title


Color help button when help command is entered

Codecov Report

Merging #339 (9495d92) into master (e31d1fa) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #339      +/-   ##
============================================
- Coverage     56.00%   55.92%   -0.08%
  Complexity      657      657
============================================
  Files           130      130
  Lines          2821     2825       +4
  Branches        352      352
============================================
  Hits           1580     1580
- Misses         1108     1112       +4
  Partials        133      133

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/trackitnus/ui/MainWindow.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

src/main/java/trackitnus/ui/SidePanel.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

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 e31d1fa...9495d92. Read the comment docs.


Eliminate HCL2 Warnings

This change addresses all warnings which show up with terrafrom 0.12+. Below is one such warning. A total of 144 warnings were eliminated. Terraform versions prior to 0.12 will show errors for new HCL2 constructs.
Warning: Interpolation-only expressions are deprecated
on /home/ubuntu/dev/terraform-aws-cognito-auth/modules/api/main.tf line 44, in resource "aws_iam_role" "lambda":
44:   assume_role_policy = "${
45:     file("${path.module}/iam/policies/assume-role/lambda.json")
46:   }"
Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.
Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.
(and 136 more similar warnings elsewhere)

Thanks! I'll try to review this PR within the next days.

Rather late than never - sorry this took so long and thanks again for the PR!


Faster streams with scalaxy-streams

https://github.com/nativelibs4java/scalaxy-streams
Could be especially useful for isSameImage().

Fixed in https://github.com/UprootLabs/grinder/commit/2cf4a2c415725b0aa1f51e09984291eaf2d2e3be


MisconfigurationError when installing nginx Debian 9

Hi fellas,
I am trying to install the script but I am facing some issue when nginx is installing.
Debian 9, Dedicated server, fresh install
Could you please have a look? Many thanks
https://pastebin.com/uUZisKqi

I think, I have managed to fix it. After the installation finishes just run the following and atm it seems to be working:
sudo nano /etc/nginx/sites-enabled/default
#listen [::]:80;
#listen [::]:443 ssl http2 default_server;
sudo /etc/init.d/nginx restart


gpiod: enable pullup/pulldown

This simple PR enables pullup/pulldown for gpiod, it's supported since python3-gpiod 1.5.2.
Note (independent from this PR)
The current code requires python3-gpiod <= 1.5.4, versions after 1.5.4 have completely changed the API. Hopefully, at least in my rasperry pi, pip seems to choose 1.5.4 instead of the latest versions. But it would be better to explicitly require  python3-gpiod == 1.5.4.

Done. I left flags_map as an attribute, to be consistent with the rest of the code (direction_map, interrupt_edge_map, etc). And just added pylint: disable=too-many-instance-attributes which is already used in a few other places, so I guess it's acceptable.


add sqlmodel support

as the title

I agree that this feels like a useful addition. Happy to support a PR if anyone has the time to work on this.

I gave it a quick try, but I can't do user creation from the web UI.

from sqlmodel import SQLModel, Field

class User(SQLModel, table=True):
    id: int | None = Field(default=None, primary_key=True)
    name: str

import logging

from flask import Flask, request, g
from flask_admin import Admin
from flask_admin.contrib.sqla import ModelView
from flask_admin.theme import Bootstrap4Theme
from flask_babel import Babel
from sqlalchemy import create_engine
from sqlmodel import SQLModel, Session

from models import User

app = Flask(__name__)
app.config["SECRET_KEY"] = "secret"

log = logging.getLogger('werkzeug')
log.setLevel(logging.ERROR)

def get_locale():
    user = getattr(g, "user", None)
    if user is not None:
        return user.locale
    return request.accept_languages.best_match(["en"])

def get_timezone():
    user = getattr(g, "user", None)
    if user is not None:
        return user.timezone

babel = Babel(app, locale_selector=get_locale, timezone_selector=get_timezone)

engine = create_engine("sqlite:///database.db", echo=True)
session = Session(engine)

admin = Admin(app, name="", theme=Bootstrap4Theme(swatch="simplex"))
admin.add_view(ModelView(User, session))

@app.route("/")
def index():
    return "Click me to get to Admin!"

def create_db_and_tables():
    SQLModel.metadata.create_all(engine)

if __name__ == "__main__":
    create_db_and_tables()

    app.run()


fix(ce/configs): ensure the code doesn’t crash in the worker environment

Description
This PR ensures getAppsmithConfigs executes both in the main thread – and the worker environments. It’s a quick hotfix; the proper solution would’ve included making variables like intercomAppID optional since APPSMITH_FEATURE_CONFIGS are not always defined. This is needed for EE (in EE, the Tern worker indirectly imports and calls getAppsmithConfigs).
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing
How Has This Been Tested?

[ ] Manual - ensured no console errors are thrown in EE anymore
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/ok-to-test


chore: cherry-pick qgb changes for BSR update

Overview
blocked until we merge #1638
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

:exclamation: No coverage uploaded for pull request base (v0.13.x@f2a18f4). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             v0.13.x    #1670   +/-   ##
==========================================
  Coverage           ?   49.10%
==========================================
  Files              ?       84
  Lines              ?     4531
  Branches           ?        0
==========================================
  Hits               ?     2225
  Misses             ?     2122
  Partials           ?      184


'year month' format doesn't parse correctly

Probably related to issue #424. Given a date 'YYYY-MM' format, the parser seems to wrongly assume it's seeing 'YYYY-DD' format and guesses the month as the current month. Examples (executed on June 3rd, 2019):
>>> dateparser.parse('1996-04')
datetime.datetime(1996, 6, 4, 0, 0)
>>> dateparser.parse('2010-05')
datetime.datetime(2010, 6, 5, 0, 0)

Hi!
Not able to reproduce the issue.
>>> dateparser.parse('1996-04')
datetime.datetime(1996, 4, 9, 0, 0)
>>> dateparser.parse('2010-05')
datetime.datetime(2010, 5, 9, 0, 0)

dateparser version: 0.7.1

I must say I can't reproduce this myself. I tried:

using RELATIVE_BASE setting set to datetime(2019, 6, 3),
rolling back to commits ac212f45096c2d3905207853b12555a2188f21c5 and 11a761c99d3ee522a3c63756b70c106a579e8b5c which would be likely ones,
playing Marty McFly, I set my system date and regional settings to match June 3rd, 2019 in US...
Proof that Github played along:

None of those tricks worked, no repro. If we can't get to the root of this issue, I guess we should close it and wait for it to resurface.
Perhaps we are missing some system details? Care to update the issue with any more details, @dmarx?

Hi Can we close this @dmarx @ArturGaspar ?


Images bytearray fix. Moved to a new ImportFile.

replaced legacy with ImportFile
Images are imported as a ByteArray by the default (fixed an issue with serializers and non readable data in UTF8)
StaticWebSite.wls was fixed and now supports StringTemplate

Side effect

no reason: server works slower ;(

огонь 🔥


Discord WebSocket requesting client reconnect

[discord-websockets.c:103] _ws_on_close_cb()
CLOSE=1001 46 bytes 'Discord WebSocket requesting client reconnect.'
* Operation timed out after 6517351 milliseconds with 7102 bytes received
* SSL: EOF without close notify

the message is from the latest test-ws.

the message is from the latest test-ws.

We are still lacking resume logic as of this moment, there are many scenarios that could be responsible for the disconnection. I don’t think its a bug (unless you are getting this consistently), since the on_close is an action triggered by normal websockets interaction.

We are still lacking resume logic as of this moment, there are many scenarios that could be responsible for the disconnection. I don’t think its a bug (unless you are getting this consistently), since the on_close is an action triggered by normal websockets interaction.

One thing that captures um attention though is this particular message:
* SSL: EOF without close notify

Do you know the meaning behind it?

One thing that captures um attention though is this particular message:
* SSL: EOF without close notify

Do you know the meaning behind it?

One thing that captures um attention though is this particular message:
* SSL: EOF without close notify

Do you know the meaning behind it?

I haven't been able to find out the cause yet.  But the message came after on_close is called.  So it should not be the cause for reconnecting.

One thing that captures um attention though is this particular message:
* SSL: EOF without close notify

Do you know the meaning behind it?

I haven't been able to find out the cause yet.  But the message came after on_close is called.  So it should not be the cause for reconnecting.

We are still lacking resume logic as of this moment, there are many scenarios that could be responsible for the disconnection. I don’t think its a bug (unless you are getting this consistently), since the on_close is an action triggered by normal websockets interaction.

Understood.  I was wondering how we can know what caused the server to send on_close event.  If we want to tell other people our lib is easy to debug, more diagnostic information will be really helpful.  I'm more interested in knowing the cause than fixing this problem.  How can we collect information to provide more diagnostic information?

We are still lacking resume logic as of this moment, there are many scenarios that could be responsible for the disconnection. I don’t think its a bug (unless you are getting this consistently), since the on_close is an action triggered by normal websockets interaction.

Understood.  I was wondering how we can know what caused the server to send on_close event.  If we want to tell other people our lib is easy to debug, more diagnostic information will be really helpful.  I'm more interested in knowing the cause than fixing this problem.  How can we collect information to provide more diagnostic information?

We are still lacking resume logic as of this moment, there are many scenarios that could be responsible for the disconnection. I don’t think its a bug (unless you are getting this consistently), since the on_close is an action triggered by normal websockets interaction.

Understood.  I was wondering how we can know what caused the server to send on_close event.  If we want to tell other people our lib is easy to debug, more diagnostic information will be really helpful.  I'm more interested in knowing the cause than fixing this problem.  How can we collect information to provide more diagnostic information?

I agree. Once the echo bot is done I think we should focus on polishing the established code and adding useful tools such as proper error diagnostics, what do you think?

We are still lacking resume logic as of this moment, there are many scenarios that could be responsible for the disconnection. I don’t think its a bug (unless you are getting this consistently), since the on_close is an action triggered by normal websockets interaction.

Understood.  I was wondering how we can know what caused the server to send on_close event.  If we want to tell other people our lib is easy to debug, more diagnostic information will be really helpful.  I'm more interested in knowing the cause than fixing this problem.  How can we collect information to provide more diagnostic information?

I agree. Once the echo bot is done I think we should focus on polishing the established code and adding useful tools such as proper error diagnostics, what do you think?

that's a good plan.

that's a good plan.

The bot was terminated after running for a while.   In the abort message, there is a Operation timed out message.   I was wondering if this is caused by heartbeats were not sent correctly.
[discord-websockets.c:111] _ws_on_close_cb()
        CLOSE=1001 46 bytes 'Discord WebSocket requesting client reconnect.'
* Operation timed out after 1219907 milliseconds with 2311 bytes received
* SSL: EOF without close notify

The bot was terminated after running for a while.   In the abort message, there is a Operation timed out message.   I was wondering if this is caused by heartbeats were not sent correctly.
[discord-websockets.c:111] _ws_on_close_cb()
        CLOSE=1001 46 bytes 'Discord WebSocket requesting client reconnect.'
* Operation timed out after 1219907 milliseconds with 2311 bytes received
* SSL: EOF without close notify

The code 1001 from https://tools.ietf.org/html/rfc6455#section-7.4.1
1001

      1001 indicates that an endpoint is "going away", such as a server
      going down or a browser having navigated away from a page.

The code 1001 from https://tools.ietf.org/html/rfc6455#section-7.4.1
1001

      1001 indicates that an endpoint is "going away", such as a server
      going down or a browser having navigated away from a page.

The bot was terminated after running for a while.   In the abort message, there is a Operation timed out message.   I was wondering if this is caused by heartbeats were not sent correctly.

[discord-websockets.c:111] _ws_on_close_cb()

        CLOSE=1001 46 bytes 'Discord WebSocket requesting client reconnect.'

* Operation timed out after 1219907 milliseconds with 2311 bytes received

* SSL: EOF without close notify

I'm not sure. But by the error code received we know that its a cloudflare issue.
See: https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors#error1001
And a similar issue (3y old): https://github.com/Just-Some-Bots/MusicBot/issues/1574
It seems to be on their end.

The bot was terminated after running for a while.   In the abort message, there is a Operation timed out message.   I was wondering if this is caused by heartbeats were not sent correctly.

[discord-websockets.c:111] _ws_on_close_cb()

        CLOSE=1001 46 bytes 'Discord WebSocket requesting client reconnect.'

* Operation timed out after 1219907 milliseconds with 2311 bytes received

* SSL: EOF without close notify

I'm not sure. But by the error code received we know that its a cloudflare issue.
See: https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors#error1001
And a similar issue (3y old): https://github.com/Just-Some-Bots/MusicBot/issues/1574
It seems to be on their end.

If it were heartbeats being sent incorrectly we would be getting one of the Discord opcodes, I believe.

If it were heartbeats being sent incorrectly we would be getting one of the Discord opcodes, I believe.

The bot was terminated after running for a while.   In the abort message, there is a Operation timed out message.   I was wondering if this is caused by heartbeats were not sent correctly.

[discord-websockets.c:111] _ws_on_close_cb()

        CLOSE=1001 46 bytes 'Discord WebSocket requesting client reconnect.'

* Operation timed out after 1219907 milliseconds with 2311 bytes received

* SSL: EOF without close notify

I'm not sure. But by the error code received we know that its a cloudflare issue.
See: https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors#error1001
And a similar issue (3y old): Just-Some-Bots/MusicBot#1574
It seems to be on their end.

I'm not sure. But by the error code received we know that its a cloudflare issue.

I'm glad it's cloudflare's issue.   I actually intentionally bypass cloudflare for the our cloud IDE's services provided over websocket. Using cloudfare to proxy websocket is always troublesome for me.
I found curl-websocket has this code too
curl-websocket.h:    CWS_CLOSE_REASON_GOING_AWAY           = 1001,

Both are 1001.  This is even more confusing.

The bot was terminated after running for a while.   In the abort message, there is a Operation timed out message.   I was wondering if this is caused by heartbeats were not sent correctly.

[discord-websockets.c:111] _ws_on_close_cb()

        CLOSE=1001 46 bytes 'Discord WebSocket requesting client reconnect.'

* Operation timed out after 1219907 milliseconds with 2311 bytes received

* SSL: EOF without close notify

I'm not sure. But by the error code received we know that its a cloudflare issue.
See: https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors#error1001
And a similar issue (3y old): Just-Some-Bots/MusicBot#1574
It seems to be on their end.

I'm not sure. But by the error code received we know that its a cloudflare issue.

I'm glad it's cloudflare's issue.   I actually intentionally bypass cloudflare for the our cloud IDE's services provided over websocket. Using cloudfare to proxy websocket is always troublesome for me.
I found curl-websocket has this code too
curl-websocket.h:    CWS_CLOSE_REASON_GOING_AWAY           = 1001,

Both are 1001.  This is even more confusing.

This should have been addressed from my latest commits (handling reconnection).

This should have been addressed from my latest commits (handling reconnection).


Intellisense when defining enums, classes, functions

Describe the bug
Intellisense is making defining enums / classes / functions very painful
To Reproduce
Steps to reproduce the behavior:

Go to /beta js editor
define a new enum
See intellisense pop up as you're defining enum members
Intellisense commits when you try to finish adding one (even after ,)

e.g.:

issues in the gif:

intellisense showing up while defining enum name (same for classes, functions)
intellisense showing up while defining enum members
intellisense persisting after , 'ends' the token
enum member that had previously been deleted is showing up in completion (I had erased the MyStuff enum before creating the gif)

similar for classes, functions, variable declarations:

intellisense will show up when defining variables - including symbols with namespaces / etc which would never be valid output here
intellisense showing up when defining parameters
intellisense shows up when defining fields
intellisense showing incorrectly for type info:

(at the very least the ones under control.GCStats are definitely wrong to show when completing type info, as those are properties on an interface)
Additional context
ran into these while making a few changes to jwunderl/pxt-status-bar

We switched toe the stock monaco service


error

DarkSky data will be written to InfluxDB on cron interval '*/10 * * * *'
/home/sdsadmin/darksky2influxdb/importForecast.js:71
var daily = forecast.daily;
^
TypeError: Cannot read property 'daily' of null
at /home/sdsadmin/darksky2influxdb/importForecast.js:71:34
at Request._callback (/home/sdsadmin/darksky2influxdb/node_modules/darksky-node/lib/darksky-api.js:34:13)
at Request.self.callback (/home/sdsadmin/darksky2influxdb/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request. (/home/sdsadmin/darksky2influxdb/node_modules/request/request.js:1157:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage. (/home/sdsadmin/darksky2influxdb/node_modules/request/request.js:1079:12)
at Object.onceWrapper (events.js:313:30)
I was thinking it was a problem with my location and Darksky but this work:
https://api.darksky.net/forecast/MY KEY HERE/38.4039,-96.1817
so it's not an issue with location.
any ideas?
regards
JC

sorry, it's my fault.

if you accept the pull request should be fine


Update azure-vmware-solution-platform-updates.md

Updated the suggestions provided on absolute links.

Closing this PR because it duplicates https://github.com/MicrosoftDocs/azure-docs/pull/120680.
Thanks for contributing!


Infinite tile looping

Hi,
I'm working with some legacy code using WebGLEarth and I'm stuck with a bug causing the browser to infinitely loop for a missing tile.
 WE.tileLayer('http://otile{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg', {
                subdomains: '1234',
                attribution: 'Title'
            }).addTo(earth);

I'm using this JavaScript code to map tiles onto the globe. My browser often loops, this is from Chrome developer tools:

Have anyone got any idea what might be causing this? Thank you in advance for any help

@JanTerlecki Hi, this seems to be working fine for me: https://jsfiddle.net/L4sc7006/
Can you please provide more details (exact code) where the issue happens?
Or even better fork the fiddle above and modify to show the issue?

Thanks for quick reply,
I've discovered that this issue only happens after other javascript action on my app, I've put it on a staging server for now if you'd like to see:
<IP_ADDRESS>
The issue only happens when you search for someone in the search bar (eg. Joseph Stalin), perhaps it has something to do with async http requests or other frameworks (DevExpress, Knockout, Jquery) that are somehow messing with WebGL. I'm quite not sure, this is legacy code and not very decent to be honest. Thanks for your time.

@JanTerlecki I'm still not able to reproduce the problem (Chromium 48). However it seems like some of your frameworks might be modifying prototypes of some objects and thus changing the standard behavior.
I'm afraid there's nothing we can do about this in this case. If you manage to create a minimal example of the bug (ideally only with WebGL Earth and pure javascript) let us know.


Please suport Python 3.9

Quite a lot of docker environments are running 3.9.  It would be great if this project could suport 3.9+

Thanks for the feedback on the NAR plugin @snowch.
As you noted in in issue #6, the current plugin implementation requires having the same Python version and architecture as the NiFi runtime environment.
In addition, the plugin itself uses Python zipfile features that were introduced in Python 3.11.
For these reasons, the initial target versions for the plugin were limited to Python 3.12 and 3.11. Although there are alternative approaches to workaround the zipfile features for older versions of Python, the focus of Python support will remain on the latest Python version, and one version previous.
Thanks again for using the plugin and providing the feedback!


NN interpolation of segmentation pauses problem of accuracy

here is an example of a straightened segmentation:

and what it produces when doing pure segmentation-based registration:

data: 100_004_s1

Using smoothing followed by linear interpolation improved things a lot:

And here are the results:


feat: Bronze Pack Opening

Prerequisites

[X] I have searched for existing issues that already include this feature request, without success.

Describe the Feature Request
Are you able to add something that open bronze packs(or any packs) for you automatically with coins. You can get it to either add everything to your club or get it to store certain leagues to your club. You could get it to discard anything you dont want stored to the club.
Describe the Use Case
With league SBCs out it would be benefical to be able to open loads off bronze packs for you to fill your club and make good profit. Bronze pack method is really good. This would help so much but im not sure if this would be possible to do
Describe Preferred Solution
No response
Describe Alternatives
No response
Additional Information
No response

Yes, it would be nice to be able to provide like: "Buy 20 Packs", Send all Duplicate cards to transfer list, Automatically Quick Sell club Emblems / kits.
Also it would be nice to have a multiple selection sell, to check items and then to bulk sell them. Or at least a key shortcut for selling stuff. Like press Q + Shift and the selected item will be quick sold.


EnsembleForward seeding, reseed pickles

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #384
What are the significant changes in functionality due to this change request?

Makes <samplerInit> work for the EnsembleForward sampler
Puts in place mechanics for pickledROMs setting the global RNG seed

Note: while the pickledROM can set seeds, the seed is ALWAYS reset by samplers in the initialization of MultiRun steps, so the pickle seed may be overwritten before it gets sampled.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

@alfoa @joshua-cogliati-inl @maljovec It looks like the tests are passing on this relatively small but time-sensitive change.
Can anyone look at the merge?

I'll take a look.

I see that there is no mention of the samplerInit for EnsembleForward, so I added it.  Thanks.


[QUESTION] 11.000 Images

Hi,
do you have any setting or recommendation for a CameraRoll with 11k images? For me, the Flatlist showing the images is quite ok, but its unusable when I open the "Modal". Is there also a way to disable the modal opening? I just want to get the image when I tap it in order to do some other actions.

Hi,
There has been new major updates.  Please update to latest and follow best practices for rendering extremely large datasets.

$ npm install --save react-native-camera-roll-gallery@latest

or
$ yarn add react-native-camera-roll-gallery@latest

:tada: Example Usage Customization
Version *4.0.0 update

If you like react-native-camera-roll-gallery, please be sure to give it a star at GitHub. Thanks.

import CameraRollGallery from "react-native-camera-roll-gallery";

//...
render() {
    return (
        <CameraRollGallery
            enableCameraRoll={false} // default true
            // Get data logic goes here.
            // This will get trigger initially
            // and when it reached the end
            // if there is more.
            onGetData={(fetchParams, resolve) => {
                resolve({
                    assets: [
                        // Can be used with different image object fieldnames.
                        // Ex. source, source.uri, uri, URI, url, URL
                        { uri: "https://luehangs.site/pic-chat-app-images/beautiful-blond-blonde-hair-478544.jpg" },
                        // { source: require("yourApp/image.png"),
                        //     // IMPORTANT: It is REQUIRED for LOCAL IMAGES
                        //     // to include a dimensions field with the
                        //     // actual width and height of the image or
                        //     // it will throw an error.
                        //     dimensions: { width: 1080, height: 1920 } },
                        { source: { uri: "https://luehangs.site/pic-chat-app-images/beautiful-beautiful-women-beauty-40901.jpg" } },
                        { uri: "https://luehangs.site/pic-chat-app-images/animals-avian-beach-760984.jpg" },
                        { URI: "https://luehangs.site/pic-chat-app-images/beautiful-blond-fishnet-stockings-48134.jpg" },
                        { url: "https://luehangs.site/pic-chat-app-images/beautiful-beautiful-woman-beauty-9763.jpg" },
                        { URL: "https://luehangs.site/pic-chat-app-images/attractive-balance-beautiful-186263.jpg" },
                    ],
                    pageInfo: {
                        hasNextPage: false
                    }
                });
            }}
        />
    );
}
//...

:tada: Example Usage With Provided CameraRoll
:information_source: Additional installation is required to install additional package and link binaries. Follow the Installation section.

If you like react-native-camera-roll-gallery, please be sure to give it a star at GitHub. Thanks.

import CameraRollGallery from "react-native-camera-roll-gallery";

//...
render() {
    return (
        <CameraRollGallery />
    );
}
//...


Docker build fails with "error : Unable to load the service index for source https://api.nuget.org/v3/index.json"

I have application code with dotnetcore5. i am trying to containerize with docker and dockerfile instruction as follows.However i have encoutered with NuGet.targets(131,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json.
Dockerfile
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
WORKDIR /app
EXPOSE 80
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
COPY src src
RUN dir
RUN dotnet restore "src/Web/Web.csproj"
Please do the needful.

Hello, apologies on the delay. If you're still having trouble, please open an issue here: https://github.com/NuGet/NuGetGallery/issues and we'll help you out.


MSAL.js logging config does not work

loggerCallback: (level: LogLevel, message: string, containsPii: boolean): void => {..
the above line is for typescript.  Running this in javascript caused the syntax error:
authConfig.js:22 Uncaught SyntaxError: Unexpected token ':' (at authConfig.js:22:35)
authPopup.js:3 Uncaught ReferenceError: msalConfig is not defined
at authPopup.js:3:52
Per Jason Nutter.
(level: LogLevel, message: string, containsPii: boolean): void => {
should be:
(level, message, containsPii) => {
<https://teams.microsoft.com/l/message/19:c2f15270c0bc4b0f93b61637b1140d7a@thread.skype/1665599479963?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=afafed2f-e0f0-406d-9ff0-9ffc71ca03f8&parentMessageId=1665599110352&teamName=Cloud Identity – DevEx - Supportability&channelName=Auth Libraries&createdTime=1665599479963&allowXTenantAccess=false>
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 458301cb-79ae-0f32-8df3-c39ca6eabe2b
Version Independent ID: 8ee3b8ee-2830-d72e-d743-07586def95cc
Content: Logging errors and exceptions in MSAL.js - Microsoft Entra
Content Source: articles/active-directory/develop/msal-logging-js.md
Service: active-directory
Sub-service: develop
GitHub Login: @mmacy
Microsoft Alias: marsma

@bachoang
Thanks for your feedback! We will investigate and update as appropriate.

@mmacy
Please review this issue


How to import modules from raw typescript files?

some-classes.ts
export class SomeClass {
    someNumber:number = 911;
    someString:string = "This is a string";
}

index.vue
<template></template>
<script lang="ts">
import Vue from "vue";
import Component from "nuxt-class-component"
import {SomeClass} from "./some-classes"

@Component({})
export default class extends Vue {
      some:SomeClass = new SomeClass();
}
</script>

This trigger Module not found: Error: Can't resolve "./some-classes"

TypeScript support will be supported in the 1.0.0-alpha1 release (coming very soon).

But in the meantime you can add ts-loader into build.extend of your nuxt.config.js

@Atinux I am using following config
config.module.rules.push({
    test: /\.(ts)$/,
    loader: "ts-loader",
    exclude: /(node_modules)/
});

but how do I tell webpack to use default import extension as .ts
with this configuration i need to add  .ts at the end of the import.
import {SomeClass} from "./some-classes.ts"
I need to use same ts files in node.js which will trigger error since typescript compiler not expecting .ts at the end.

@Atinux I am testing with 1.0.0-alpha1. What are the configuration to enable full typescript support?

@Atinux Never mind i figured it out.

I think the current example of Typescript is really good resource. The imports work perfectly https://github.com/nuxt/nuxt.js/tree/v1.0.0-alpha2/examples/typescript


[sw] Make log.h link-time rather than macro-time

This change moves log.h into libbase, replacing the previous macro-based implementation selction mechanisms with link-time dependendency injection.
This also introduces base_vprintf to support forwarding va parameters to "stdout".

@gkelly, is this ready to go in?


Allow exposure to be a float + connect to exposure changed signal

Previously if you also had a separate client to pymmcore-remote that changed the exposure then the gui would not update and then would overwrite the  value.
There is a similar issue with channels (perhaps config groups generally) but I'm struggling with figuring out the gets and sets`. I would open an issue about this by it seems that issues are disabled on this repo currently.

Codecov Report

Merging #20 (ed425c1) into main (2a5a62a) will increase coverage by 0.06%.
The diff coverage is 40.00%.

:exclamation: Current head ed425c1 differs from pull request most recent head 6789f24. Consider uploading reports for the commit 6789f24 to get more accurate results

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   31.15%   31.21%   +0.06%
==========================================
  Files           9        9
  Lines        1040     1041       +1
==========================================
+ Hits          324      325       +1
  Misses        716      716

Impacted Files
Coverage Δ

micromanager_gui/main_window.py
73.86% <40.00%> (+0.09%)
: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 4b8f023...6789f24. Read the comment docs.


source .bashrc in passenger-app script

I already have all the environment variables needed for the app to work exported from ~/.bashrc, so maybe executing source USER-PATH/.bashrc in the passenger-app script would do in order to get the app running as a daemon instead of exporting the env vars again from that file.
However, I wonder is there is some side effect or unintended consequence of doing it in that way.
Does anyone know whether that's a good idea (or even recommended) for setting up all the needed environment variables?

In general, .profile and .bashrc are geared toward setting up an environment for interactive use, so if you can get your app to work without sourcing .bashrc my recommendation would be not to source .bashrc.
That said, I've seen many deployments which source .bashrc just because that's where an interactive setup of, say, rbenv or rvm leaves the magic to hook up the ruby version manager by default. It's not wrong, it's just brittle.
Not sure if the issue tracker is the best venue for this discussion BTW.

I agree with @driehuis, as the apps are run as system services, they should run mostly independent of some user's shell profiles. That being said, this repo provides just example files which you're free to adapt to your local setup. I'd however recommend to put any environment configurations in a separate file, to make them reproducible.
Actually, an earlier version of passenger-systemd required a so-called env file, which is a feature supported by systemd:
https://github.com/mtgrosser/passenger-systemd/blob/cdb4dff8fbd41c12ef39657e610eaa3277201979/passenger%40.service#L12
There even was a rake task to generate it, which hasn't been removed yet, although it's no longer used. If you need special environment settings for your apps to run, it might be a way to go. Just change your local service file accordingly.

@driehuis @mtgrosser thanks for the tip, it's very much appreciated. I'm closing this then ;)


Stream method for loading the model from FlatBuffer (model.cc file)

Hi,
I would like to know whether there's a method to stream the load from buffer.
Since the model.cc file that generated only contains a buffer.
e.g.:
    unsigned char converted_model_tflite[] = {
      0x18, 0x00, 0x00, 0x00, 0x54, 0x46, 0x4c, 0x33, 0x00, 0x00, 0x0e, 0x00,
      // <Lines omitted>
    };
    unsigned int converted_model_tflite_len = 18200;

So I am trying to use external files which contains the same information instead of using a .cc file. Is there any method that I can use to stream the buffer when I load and use the model ?
For example, the method to load the model from .cc file is:
    model = tflite::GetModel(model_tflite);

The whole buffer takes quite a lot of space, and it will be quite a waste of space since I only invoke the model when it is needed.

Any optimizations to load a model into memory only when needed is outside the scope of the TFLM inference engine. Such optimizations will be closely tied to the broader application and should be implemented outside of TFLM.


added embedding nets: 1d conv and permutation invariant net

Thanks! Please let me know when it is ready for review :)

ready for review now.

It would of course be super cool if the CNNEmbedding and the PermutationInvariantEmbedding could be combined:
cnn = CNNEmbedding(...)
embedding_net = PermutationInvariantEmbedding(single_obs_embedding=cnn, fc_layers=3)
density_estimator = posterior_nn("nsf", embedding_net=embedding_net)

I worked on all comments, except the constant number of two conv layers for the CNN embedding, this is still fixed.
The invariant embedding now takes a nn.module as single_trial_net, which can be any net to process one datapoint.


Update ursula to make use of ursula-cli

The ursula cli has been broken out to the ursula-cli repository. This
change is intended to make use of that instead.

/me pours one out for bin/ursula

Found a couple issues in the Jenkins output:
20:34:41 ansible-playbook: error: no such option: -p

20:39:48 ERROR: the playbook: ubuntu could not be found

20:43:36 Usage: ansible-playbook playbook.yml
20:43:36
20:43:36 ansible-playbook: error: no such option: -p
20:43:36 ___________________________________ summary ____________________________________
20:43:36   python: commands succeeded
20:43:36   congratulations :)
20:43:36 ERROR: the playbook: ubuntu could not be found
20:43:36
20:43:36 real	0m0.522s
20:43:36 user	0m0.215s
20:43:36 sys	0m0.070s
20:43:37 ERROR: the playbook: ubuntu could not be found
20:43:37
20:43:37 real	0m0.530s
20:43:37 user	0m0.207s
20:43:37 sys	0m0.082s
20:43:37 ERROR: the playbook: ubuntu could not be found
20:43:37
20:43:37 real	0m0.550s
20:43:37 user	0m0.193s
20:43:37 sys	0m0.102s
20:43:37 test complete

So, this actually did not pass Jenkins tests, and the Jenkins check which said it did was incorrect. This is why I hit these same issues on my machine when trying to use them. I have a PR incoming that fixes these also.


RPG Project Uninitalized Variables

Describe the Issue
The use of the undeclared variable on this step is confusing for some learners. Do we want to be using undeclared variables in this project?
We do note that

Use dot notation to set the onclick property of your button1 to the variable goStore. This variable will be something you write later.

but I can definitely see how that still feels strange to users, esp this early on
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-basic-javascript-by-building-a-role-playing-game/step-37
Your code
button1.onclick = goStore; // This variable isn't declared!!

Expected behavior
minimize user friction
Screenshots
No response
System
All
Additional context
No response

The order is a little weird. We do the same in the next step with buttons 2 and 3.
I would prefer having steps 39-42 before 37-38. Or at the very least an empty function declaration. But that would move the explanation of how to write a function forward anyway.

Personally, I agree; I prefer anything referenced having been already defined. @jeremylt do you think @lasjorg 's suggestion makes sense to then close this?

having steps 39-42 before 37-38.

That said, when I code, I often reference things I have yet to define. So, it is not like it is an uncommon thing to do.

Yeah' that seems like a reasonable fix to me


Fix mongo tests

I don't understand the concern about arrow functions in tests. The other, yes, that prevents the PR from merging. @therightstuff can you please give it a try?


Merge pull request #1 from thenewboston-developers/master

Master

@DinShpati , please do not create PRs to merge into the master branch, anything you wanna do, merge it from your fork to the development branch here.

@DinShpati , please do not create PRs to merge into the master branch, anything you wanna do, merge it from your fork to the development branch here.

My bad, that was a mistake. Sorry about that.


V9 - Many antiviruses report the app as malware

With the new version 9 of OT many antiviruses report the app as malware Gen: Variant.Fugrafa.222451, here is the reference link VirusTotal:
https://www.virustotal.com/gui/file/5be368b09a07e39a6407626748f001a0029bfb0a4c3dc329975e8820fc19f290/detection/f-5be368b09a07e39a6407626748f001a0029bfb0a435c3d1a0029b329975e8820d
Versions 8.x gave 100% clean results.

And now it's 4 left.

The link you provided was 100% clean now. Thank you for your report.
Also, we will keep going on it after next version is released.


Refs #35844 -- Corrected expected error messages in commands tests on Python 3.14+.

Refs #35844 -- Corrected expected error messages in commands tests on Python 3.14+.
Trac ticket number
ticket-35844
Branch description
Updated CommandTests.test_subparser_invalid_option and CommandDBOptionChoiceTests.test_invalid_choice_db_option to address changes in Python 3.14+ error handling.
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[x] I have added or updated relevant tests.
[ ] I have added or updated relevant docs, including release notes if applicable.
[ ] I have attached screenshots in both light and dark modes for any UI changes.

To add some context, this has been changed in https://github.com/python/cpython/commit/66b3922b97388c328c9bd8df050eef11c0261fae.

I confirmed the fix on Python 3.14.0a1.


Blog: filtering by tags has duplicate post

Example:
https://www.sitecorespark.com/blog/tag/Meta
Top two post cards are duplicated.

Data duplication issue. Solved.


[NEW] leHACK 2024

Name: leHACK
Website: https://lehack.org/
Date(s): July 5-7 2024
Location: Paris, France
Twitter/Mastodon Handle<EMAIL_ADDRESS>Free: N

Thanks!


[Enhancement] Option to use normal Win32 title bar and window options instead

Not sure if this would be possible with Electron's whole thing but an option to use the normal Windows title bar would be appriciated cause right now the right-aligned window options make the general UI kind of wonky.

Just disable macOS emulation in preferences and that'll enable the windows titlebar.

Thanks, that worked. However the option is quite counter intuitive as its not made clear that the "Select One" option is the disabled option.

Well, I aim to make a Windows frame for that application, and clean up the menu with the options of Frame being dropdown for MacOS or normal.


[Feature] Provide a one-shot "upgrade only" mode?

Currently this image is supposed to be used as a drop-in replacement for the official postgres image, with the extra auto-upgrade feature on top of it.
However, I would assume some people would still prefer to stick using the official postgres image as much as possible, but would still be interested in the upgrading procedure embedded in this image.
To be able to combine both worlds: could we imagine using this image just for upgrading, using a dedicated flag? For instance with such flag we would check the version, perform an upgrade if required, and just exit. Then after that one could continue using the official postgres image once the upgrade is done.

It would be possible to implement, but it's not a high priority.
If someone really wants to use this just for the upgrade portion of things then they can already do so.
They just need to switch to this image + start it up.
When the database comes online, that means the upgrade is done.  At that point, they can shut down the database and switch to their desired "official" postgresql docker image and things should work fine.
In theory. :grin:

It would be possible to implement, but it's not a high priority.

I understand, better to keep the project focused.

When the database comes online, that means the upgrade is done. At that point, they can shut down the database and switch to their desired "official" postgresql docker image and things should work fine.

Yes that's what I had in mind. I'll try do achieve this on my own, and report here if it works out OK :)
Thanks!

I'll try do achieve this on my own, and report here if it works out OK :)

@Ezwen Did you have a chance to try it out? :smile:

Just added this "one shot" capability (https://github.com/pgautoupgrade/docker-pgautoupgrade/commit/d50f8c9234eb972c863df85e8e32bc9e2ddf2a02).
To use it, add a new environment variable PGAUTO_ONESHOT (set to yes) in the container when pgautoupgrade runs.
When it sees that environment variable, it'll exit after doing the upgrade instead of starting a PostgreSQL server.
New Docker images have been generated and pushed to Docker Hub.
If anyone wants to try it out and report back any weirdness (shouldn't be any though), that'd be cool. :smile:


AttributeError: 'NoneType' object has no attribute 'query_selector'

Hey thanks for writing these scripts!
I got it mostly installed, up to the point where it tries to launch the browser, but the browser only pops up for a split second and then goes away.
This is the error in the terminal:
┌──(flask)─(kali㉿kali)-[~/whatsapp-gpt/flask]
└─$ python /home/kali/whatsapp-gpt/server.py
Traceback (most recent call last):
File "/home/kali/whatsapp-gpt/server.py", line 61, in
start_browser()
File "/home/kali/whatsapp-gpt/server.py", line 52, in start_browser
if not is_logged_in():
File "/home/kali/whatsapp-gpt/server.py", line 25, in is_logged_in
return get_input_box() is not None
File "/home/kali/whatsapp-gpt/server.py", line 21, in get_input_box
return PAGE.query_selector("div[class*='PromptTextarea__TextareaWrapper']").query_selector("textarea")
AttributeError: 'NoneType' object has no attribute 'query_selector'
Any help would be appreciated.

same issue with me. how did you fix it


modify friendly dates test to improve thoroughness

Pre-Submission Checklist

[X] Your pull request targets the staging branch of FreeCodeCamp.
[X] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[X] You have only one commit (if not, squash them into one commit).
[X] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[X] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[X] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

While completing the Friendly Dates challenge, I noticed that none of the test cases ensure that dates in the twenty-thirty range actually end in the correct suffix (ex. 21 should be 21st). In other words, prior to this PR, a camper could write a switch that only targeted number 0-19, which doesn't reflect the requirements of the challenge. I modified one of the tests to account for this.

Thanks @dhcodes
LGTM


Quickfix: checkbox for optional

What❓
Make the for prop optional on the checkboxes
Why 💁♀
Here we make the for prop for the label that goes with the checkbox optional, so you can have things like links in the label
How to test ✅
Check on story book the "with for" toggle

This change is


🔱 Create a DAG that can deploy tables from Create-A-Derived-Table Successfully

Context
We want to explore whether Github Actions continues to be the best scheduling option for CaDeT as a product. Currently, we use it because it was a quick and easy way to get secure dedicated compute for running our deployments, which require the role to be relatively highly empowered. However, we're essentially just using a kubernetes pod running relatively generic linux and some public python packages to build our tables. As such, this could be theoretically be converted into a DAG pipeline, with scheduling handed off to airflow instead. As such, this spike looks to create an Image and DAG that would be able to deploy a CaDeT pipeline to prove out the concept.
Proposal
The first task will be in designing an image that does all the steps our deployment workflow currently does. Outside the github actions ecosystem, this may require scripting to achieve tasks that are currently achieved by handing off to other github actions directly. We should start with our testing domain, and prove out that we can deploy the testing domain from airflow. This will also minimise the possibility of disruption to customer work.

[x] Use our template repo to create a new image pipeline, per the airflow user guidance
[x] Name that image repo CADET-Airflow-Spike
[x] Add in the required scripting to replicate an existing CaDeT deployment - We should look to replicate the sandpit testing pipeline for deployment initially, as this will exist in a domain and target that are inaccessible to users.
[x] Test this locally, by running your python code to deploy the sandpit pipeline.
[ ] Once this is validated, publish the image, and create a DAG in the Airflow Repo that can consume it
[ ] Ensure the Role associated with this pipeline has permissions that are appropriately scoped for the operations it will need to carry out, and no higher.

Spike requirements
Data Engineer - 1/2-1 sprint
Definition of Done

[ ] An image has been created that can deploy the sandpit_testing CaDeT domain.
[ ] That image can be consumed in a DAG
[ ] The role has sufficiently empowered permissions to do all actions
[ ] A test deployment is done

just received a slack message from Francesca Von Braun-Bates about this bug.
https://github.com/ministryofjustice/analytical-platform/issues/6248
Need to follow the steps and reproduce verify if AWS CLI installation works.

@jnayak-moj summary of that bug is here https://github.com/ministryofjustice/analytical-platform/issues/6248#issuecomment-2523680048, not an issue with AWS CLI installation, rather lack of permissions to access paramater

I have run a pod using the new Airflow Python base and attaching the service account created by airflow repo and can see the following
analyticalplatform@cadet-pipeline-spike:/opt/analytical-platform$ aws sts get-caller-identity
{
    "UserId": "AROAYUIXP4BW73VMXZLBD:botocore-session-1733506906",
    "Account": "593291632749",
    "Arn": "arn:aws:sts::593291632749:assumed-role/airflow_dev_cadet_pipeline_spike/botocore-session-1733506906"
}
analyticalplatform@cadet-pipeline-spike:/opt/analytical-platform$ aws secretsmanager get-secret-value \
    --secret-id "create_a_derived_table/dev/github_app_key" \
    --region "eu-west-1" \
    --query SecretString \
    --output text
-----BEGIN RSA PRIVATE KEY-----
...

This pull request (https://github.com/moj-analytical-services/CADET-Airflow-Spike/pull/36) updates the Dockerfile to the new image which includes the AWS CLI

I tested various scenarios and I can confirm with the new airflow python base image, aws cli is being installed correctly. But still the code is failing reading the secrets from the secretsmanager. I think there may be some permission issue attached to the deploy key.
I am doing further investigation.

Export run artefacts to S3 (../scripts/export_run_artefacts.py) from the deployment steps was failing due to GITHUB_OUTPUT environment variable was missing in the environment. After I commented this step out, The airflow job ran successfully. The log of the job is below. All the DBT steps completed successfully.
https://23f37892-d1d1-4d9f-a03d-b8a53581fd20.c0.eu-west-1.airflow.amazonaws.com/log?execution_date=2024-12-20T15%3A33%3A40.259147%2B00%3A00&task_id=cadet-sandpit-pipeline-spike&dag_id=development-sandpit.deploy_sandpit&map_index=-1

image used

https://github.com/moj-analytical-services/CADET-Airflow-Spike/tree/v0.0.52

DAG in Airflow repo
A new DAG is added in the dev environment in the airflow repo.
https://github.com/moj-analytical-services/airflow/blob/main/environments/dev/dags/development-sandpit/deploy_sandpit.py
A new role is created with required permissions
https://github.com/moj-analytical-services/airflow/blob/main/environments/dev/roles/airflow_dev_cadet_pipeline_spike.yaml


Stylus handwriting to DPApp shows briefly and disappears

Hey HappyZ - first - amazing work.  Legend!
I'm crossposting from here - https://forum.xda-developers.com/general/help/idea-to-root-sonys-e-reader-dpt-rp1-t3654725/page23#post81497485
I successfully rooted.  I wanted to troubleshoot my drawing tool of choice (OneNote). Sadly I got the same results as other posters on XDA.
I have only one problem, which is that any pencil strokes written (in Sony's app) to a PDF or to a new blank document show up for a moment, but then blink away a few moments afterwards.
Opening a pre-existing hand-drawn document (one made before I rooted it) all the strokes showed briefly, then were removed completely (the file was left on the system, but effectively was blanked).
The trial PDF documents which ship with the device were also blanked out when i drew on them
I've gone as far as unrooting (leaving diagnosis in place) and this hasn't helped.  Interestingly when i factory reset the device my documents in /sdcard etc are not wiped.  This is factory resetting both before and after my 'unroot'.
Interestingly in Logcat I see many of these after my penstroke finishes:
E/document_foxit( 2647): report_error: 9, cannot set annotation creation time (-9) in add_element
E/document_foxit( 2647): report_error: 9, cannot set annotation modified time (-9) in add_element
There was another complaint somewhere (wanted to trap it again fresh but i've got to re-root to adb) where it complained about not being able to write like this:
(many of these)
E/document_foxit( 2547): report_error: 9, cannot set annotation modified time (-9) in add_element
E/document_foxit( 2547): report_error: 9, cannot set annotation creation time (-9) in add_element
E/document_foxit( 2547): report_error: 9, cannot set annotation modified time (-9) in add_element
W/ContentManager_com.sony.capas.contentmanager.utils.ExportManager$ExportThread$1( 2467): onProgress. progress 0.75.documentId : 9829e721-89c7-4a3d-b9fe-86ace35f765c ThreadID[97]
D/DocumentManager_ExportFile( 2547): ReaderCoreListener::complete(0, false) ThreadID[110]
E/DocumentManager_ExportFile( 2547): exportFile: failed to IDocument::save() ThreadID[110]
E/DocumentManager_ExportFile( 2547): exportFile: failed to IDocument::save(): error: 9, cannot set annotation modified time (-9) ThreadID[110]
And another episode about thumbnails.
Is there something I can do to help with any troubleshooting here?

Close this as it's a long time ago.


FEATURE Shopify Admin API PHP Library to integrate

The module will include a PHP API client to interact with the Shopify Admin API. The Admin API provides extensive access to data about individual Shopify stores, and will allow us to add custom features to the Shopify user experience.

Read and write Shopify store information, including data about products, inventory, orders, shipping, and more.
The Admin API is available through GraphQL and REST.

The ideal solution would be to serve as a wrapper for a mature, maintained Shopify PHP API library. Shopify lists existing Shopify PHP API classes that can be used to easily interface with the Admin API.
Initial proposed library to explore is phpclassic/php-shopify. This library appears to be mature, active, and was referenced most often during initial Shopify PHP research in articles and message boards. This module seems to offer both REST and GraphQL interfaces, Dynamic will need to decide which route to pursue.
API credentials would ideally be set per server in the environment file. If this is impractical, credentials could be stored in config yaml files, with different credentials set per website environment mode - typically one set for Test, one set for Live.
The client would utilize functions from the PHP library to sync data between the website and Shopify, such as product records and customer information.
The client would utilize functions from the PHP library to sync data between the website and Shopify, such as product records and customer information.

In discussions, @mak001 was leaning towards using the REST implementation of the API

resolved via #56


Replace console.log to logger.info

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: 85689b77224332ecff8257df59cd9d91fc9257a2

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: 3850d8699777bc711ffc10f0899e363c0f5a636b

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: 2277286b4017d598c6f9e53b5118a9f6747eef19

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: d169ac615405b8d147589129adb01634b10d53d7

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: 60314c53807133eb1529196d813cb12f4eb2a827

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: cf4ca4430388ca64e84ca89e6e9b04a6d0c41dc4

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: e70a9bc621e827539b97416e434083291268b805

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: 6525a44addb94ef653f1bb81d609dcfbedc0d7e3

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: 0854c50ec5a811a716688f08735f162548b2ee62

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: 641796b801fe9841d36252641c61c911a548051a

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Not a problem

Commit: 641796b801fe9841d36252641c61c911a548051a

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: a2702c8edbd5c0e35649039270c199b43730d66f

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/firebolt-certification-suite/37/rdkcentral/firebolt-certification-suite

Commit: e58e764ac667a2ded52f460a513107121e2cf365

Report detail: gist


Hand Support Development

Developing a mount for the full hand to be installed into, such that it can eventually be rotated about a vertical axis and is supported without the need of human effort while playing a set of 5 keys on the piano.

closed due to migration


Data As Json for functions.

Coverage remained the same at 100.0% when pulling 3e7e522c74ae246e57d60dc50947faab78e7e78a on FlorianLautenschlager:master into a3f6069ae271f4db2b25c4c0492b0d14b37e7153 on ChronixDB:master.


getting idle after 5 minute ! pls help

getting idle after 5 minute ! pls help.
i am able to extract about 6000 json files before its just idle.
thanks for any help or suggestion.
i am using Cheerio and<EMAIL_ADDRESS>currently this is my setup:
  const crawler = new Apify.CheerioCrawler({
        requestQueue,
        handleFailedRequestFunction: async ({ request, error }) => {
            console.log(`[failed] ${request.url} with error: ${error}`);
        },
        handlePageFunction: async ({ request, $ }) => {

            switch (request.userData.page) {

                case "main_page_1": {

                    const enqueued = await enqueueLinks({
                        $,
                        requestQueue,
                        selector: '.row a[href^=\"/find/\"]',
                        baseUrl: request.loadedUrl,
                        transformRequestFunction: req => {
                            req.userData = {
                                page: 'popular'
                            }
                            return req;
                        }

                    });

                    console.log("total links in main_page_1:",enqueued.length)
                return
                }

                case "popular": {

                    const enqueued = await enqueueLinks({
                        $,
                        requestQueue,
                        baseUrl: request.loadedUrl,
                        transformRequestFunction: req => {
                            req.userData = {
                                page: 'finalCategoryPage',
                            }
                            return req
                        },
                        selector: 'ul.dar
                    });

                    console.log("popular links:",enqueued.length)

                    return
                }

                case "finalCategoryPage": {

                    const enqueued = await enqueueLinks({
                        $,
                        requestQueue,
                        baseUrl: request.loadedUrl,
                        transformRequestFunction: req => {
                            req.userData = {
                                page: 'finalPage',
                            }

                            return req
                        },
                        selector: 'ul.sc',
                    });

                    return
                }

                case "finalPage": {

                    const script = $('script')

                    const links = script[0].children[0].data.substring(28)
                    const dataWithLinks = JSON.parse(links)

                    const requests = dataWithLinks.sites.list.map(p =>
                        ({url:`https://somelink${p.link}`, userData:   {page:'Page'}}))

                    requests.forEach(dataWithLink => {
                        requestQueue.addRequest({...dataWithLink}, {foreFront: true});

                    })
                    return
                }

                case "Page": {

                    const script = await Array.from($('script'))

                        let scriptWithData = script[0].children[0].data.slice(27, -1).replace(/\\"/g, '"')
                            .replace(/\\\\"/g,'\\"')
                        const data = JSON.parse(scriptWithData)
                        Apify.pushData({
                            info: data
                        })
                }
            }

        },
    });
    await crawler.run();
})

picture of the idle but nothing happen its just keep logging :

Update to apify 1.0.1 please<EMAIL_ADDRESS>is 10 months old.

I have upgraded a few times, but newer version are keep crushing with this message. nothing change on the code just upgraded:

ERROR CheerioCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://workingurl.com","retryCount":1,"id":"bSNWy2ii9jYtx9c"}
  RequestError: connect ECONNREFUSED <IP_ADDRESS>:443
      at ClientRequest.<anonymous> (C:\projects\scraper\node_modules\got\dist\source\core\index.js:953:111)
      at Object.onceWrapper (events.js:313:26)
      at ClientRequest.emit (events.js:228:7)
      at ClientRequest.origin.emit (C:\projects\scraper\node_modules\@szmarczak\http-timer\dist\source\index.js:39:20)
      at TLSSocket.socketErrorListener (_http_client.js:406:9)
      at TLSSocket.emit (events.js:228:7)
      at emitErrorNT (internal/streams/destroy.js:92:8)
      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
      at processTicksAndRejections (internal/process/task_queues.js:81:21)
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1134:16)

It seems that you're trying to connect to localhost over HTTPS, which obviously won't work. Maybe a bad proxy configuration?

no changes in configuration, but i am calling my function through api call through Postman:
<IP_ADDRESS>:8080/apify
Does it related? because it didnt affected my crawling in the previous version of apify.

The problem appear from version v0.21.0 .
my machine env is windows.
run on localhost.

Have you tried the suggestions in the thread you linked? Do you run anything else on your machine that could interfere with the network communication or modify the Node.js http module?

Problem solved using my mac instead windows


Include in F-Droid

It would be nice if this app was included in F-Droid. I am opening a request for this. Please make it known if you oppose to inclusion.

@julianfairfax it's MIT, see the badges. But yes, the license file should be added so Github discovers it and marks it more prominently.
Fastlane is present meanwhile btw. I'll trigger a rescan in the RFP.

@IzzySoft yes we use gradle. But our build process is a bit specific. There was some work done to allow Nativescript apps to be built by fdroid. Not sure where it is at. Will have to check

yes we use gradle

Strange: I didn't see a build.gradle in the root, in app/ or in app/android/ – and I guess those were the places the bot looked for it, too.

There was some work done to allow Nativescript apps to be built by fdroid.

Oh, I see – so there might be another delay then (I'm not familiar with the Native things I have to admit). for now, your app is already listed here in my repo – so if you want you can pick a badge and link there from your Readme.

About the license I need to see how to make github pick it up

Just add the original LICENSE or LICENSE.txt (or whatever it's named – these two names are detected by Github and their contents will be evaluated, works at least with GPL so I guess it will do with MIT as well – just checked with another MIT project: yupp, ' LICENSE` should work) and add it to the root of your project.

@farfromrefug sorry I did not look close enough. As you already pin specific versions of the dependencies this should work without the lock, execpt this one as there is no version pinned.

@jugendhacker yes this one i need to remove the link. If there is a resolution in the package.json (for yarn link) is it an issue? https://classic.yarnpkg.com/lang/en/docs/package-json/#toc-resolutions

If I get this correctly you are overriding the nativescript dependency with your fork checked out locally. The problem is, we could also locally clone your fork during the F-Droid build but will never know what commit of the fork you had checked out during your build. This will introduce quite some nondeterminism and might lead to build problems down the road.

@jugendhacker no what I do is use my Dev version locally. It is just a question of using Dev version of my fork of N which developing. Though fdroid should use the latest version of my fork from npm.
I just ask because resolutions are in package.json thus commited...

@farfromrefug I don't exactly know what you mean by "resolution committed" but from what I see here, F-Droid can't tell what version of your fork we need to build the 1.3.2 for example. If we just take the latest master at the time of building, this might lead to problems when we somehow need to restart the build later for example. Then you might already have committed stuff to your fork, which breaks the build of the release. That's why dependencies without specific version constraints and/or lock files is a rather bad practice, when it comes to reproducing builds of open source software.

@farfromrefug looks like this will work. Now the only thing missing, is building unsigned APKs....

@farfromrefug making it possible via an env var should be enough. And no I currently have no complete build script, because without unsinged APKs, it's useless. I'll notify you as soon as I have something ready you could take a look on!

@jugendhacker it is done. Here a script showing how to build unsigned APKs https://github.com/Akylas/oss-weather/blob/master/package.json#L9.
As for the nativescript cli not supporting unsigned APKs, here is a PR fixing it https://github.com/NativeScript/nativescript-cli/pull/5706.
Now right now even if the cli fails at the end saying there is no APKs, unsigned apks are actually there at ./platforms/android/app/build/outputs/apk/release
Let me know if i can help more

@farfromrefug I have a build script now, seems like I already got pretty far in the building, but current it fails with this error. Could you maybe give me some hints what might be wrong? Some additional info: I'm trying to build the latest master of oss-weather, because your F-Droid specific fixes are in no release currently (which needs to be fixed for official F-Droid publishing btw)

@jugendhacker awesome. Was actually a bug on my side! fixed an push. I also changed build.android.production.fdroid.unsigned because it creating split apks. Does f-droid support split apks? If so i ll bring it back, otherwise you are good to go with this.
For your output in your script you can use output: platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk

@farfromrefug I got quite some steps further: https://gitlab.com/jugendhacker/fdroiddata/-/jobs/3432652928#L13955 with this buildscript
And F-Droid does support split APKs in a way. But it's quite complicated, as we need seperate build blocks for all ABIs that should be supported. Take a look at the corresponding issue.

@jugendhacker that error is a bit more of a mistery. I really dont know what s happening :s
Searching ...

So we're still stuck – or were you lucky enough to find the culprit and just forgot to tell, @farfromrefug?

@IzzySoft sadly no I did not find the solution. Is there any way to reproduce the building process locally?

Maybe @jugendhacker can help you with that – I don't even have a local build environment (not being an Android dev).

Hm, sad. But then, it's at least in my repo – so maybe you want to add that to your Readme, next to the pointer to download it from releases? You can even pick a badge for that if you wish :smiley:

@IzzySoft it is not done. I will eventually push to get it to work in fdroid repo. But the build process for N is not yes 100% compatible with it.
And tbh I am not 100% sure I like the fact that fdroid repo needs to rebuild every single dependency. Not really good energy wise. I understand why ecologically does not seems so good.
About the badge  I thought i did it . will do this week.
Thanks again for everything @IzzySoft !

Not really good energy wise.

Ah. That level I addressed a couple of times in the past as well, as on every rebase etc. all the pipelines were running again, and once more after merging. Now we at least have a button to rebase without running the pipelines.
Hard to find an ideal path here. I fully understand the need to rebuild from source – but I also see what that means ecology-wise; but both things are important. I hope we find a good way in the middle (e.g. by bringing some libraries to trusted Maven repos where we then can just pick the "trusted binaries" from, and things like that).

About the badge I thought i did it . will do this week.

I just checked once more to make sure, but I really cannot see it :see_no_evil: So thanks for putting it on your list (again), and let's look forward to "this week" then :smiley:

Thanks again for everything

And to you!

@IzzySoft i added the badge ! Let me know if i can do more to promote your great repo!

Thanks! Maybe link the image to the correct target, so when clicked one does not end up in the larger image but at your app in my repo? :smile: https://apt.izzysoft.de/packages/com.akylas.weather/ should fit that.

@IzzySoft damn copy paste! Thank you

@IzzySoft i just realized izzyondroid was only picking up armv8 builds from my github releases. Shouldn't it pick all apks ? Right it means my app are nor compatible with armv7 devices

No, my repo only supports a single APK per release (and a single variant at that). We decided for arm64 here. I don't remember why, because last November (which was when your app was added) unless explicitly requested otherwise, I was still leaning towards 32bit (to also support older devices; back then the Pixel 7+ was the only 64bit device having dropped 32bit support). But it's like with the Highlander: there can only be one. Pure 32bit devices are getting fewer; in a year or two there are probably only few left running on a relatively recent Android version, so I slowly start preferring 64bit builds (for now I usually default to them when APK size is around 25 MB or higher, as to my experience those don't run smoothly on 32bit anyway; again no idea why I did it with yours, which was clearly below 10 MB then).

OK I thought you supported both as fdroid server was supporting this for a while. I can get your why but to be honest to me it excludes too many devices right now (many devices running android 8).
If I add universal build with archs apks would you use this one automatically?

as fdroid server was supporting this for a while

Maybe you read this wrong: fdroidserver only can do that if the APKs of a release have different versionCodes. Naming of the APKs creates a "unique ID": <packageName>_<versionCode>.apk. fdroidserver (and also the clients) use the combination of packageName and versionCode to identify an APK. So no, this wouldn't even work with F-Droid.org.
Now you will ask "but there are apps with per-ABI builds at F-Droid"? Yes, and each APK has its own versionCode and its own build block there.
Next expected question: "so if I use different versionCodes per ABI…" – and my answer is: that would work for F-Droid.org, which then builds them from source accordingly. But it wouldn't work with my framework, which only supports one APK per release. My repo is a one-man-show, so I wouldn't even have the resources to change that. And it runs on my personal space, so the limit of 30 MB per app kicks in as well.
TL;DR: please understand that this is not supported with my repo, sorry.

it excludes too many devices right now

That's my argument for usually going with armeabi. But then not only those with their 64bit-only devices complain, but some of those with 64bit-devices which support 32bit as well. You cannot do it right for everyone.

If I add universal build with archs apks would you use this one automatically?

Not automatically, but with a small adjustment in the config for your app here at my end – but yes, that can be done. Same if you want me to switch to the 32bit build. If the resulting universal APK is not larger than ~15 MB, the universal one would be a good option indeed (still allows me to keep 2 versions, so there's no confusion if someone wants to install your app while it was just updated in my repo while their client still has the last day's index). Beyond that I'd only keep 1 APK, so in the described situation the person trying to install it would get a 404.

@IzzySoft thanks for you explanation. You are right f-droid was not supporting that (i think they are doing it right now). I forgot that i used a modified version of f-droid server where i allowed multi arch apks with same version codes!
But i totally understand the per app limit on your repo.
Are there really some 64 bit only devices? Did not know that.
I will run some tests related to universal apk size but it wight not work as my apps use Nativescript which has some big so libs :(
Thanks again for your time and always kind and respectful attitude! we are lucky to have you!

i think they are doing it right now

as one of the maintainers, I can tell you: no, we don't.

I forgot that i used a modified version of f-droid server where i allowed multi arch apks with same version codes!

:rofl: OK, that explains. But no, I won't apply such a modification except when coming from "upstream". And even then, the 30 MB limit would be a hurdle: 2 separate APKs with a single ABI take up more space than an universal build having both (up to 99% – depending on the size of native stuff compared to the other; if native makes up less than 10% it's definitely not worth having per-ABI builds at all – if it makes up 50%, that's how much bigger a + b are than a ⋃ b).

Are there really some 64 bit only devices?

Currently the Pixel 7+. Some more on the horizon. Google outlined some (as usual vague) reasons for that: "possibly enhanced security", "up to 20% better performance", "up to 150 MB less RAM used" (due to dropping 32bit support and not loading its libs). Read: "possibly", "up to". I know from a smaller vendor of another reason which I can, for a smaller vendor, definitly understand and follow: less testing efforts before releasing another OTA, as there's only a single ABI to test.

Thanks again for your time and always kind and respectful attitude! we are lucky to have you!

Thanks for your kind words – and for your understanding!

@IzzySoft Sorry to bother you. I just realized my apps latest android update was not picked up by izzydroid. https://github.com/Akylas/oss-weather/releases/tag/android%2Fgithub%2F2.8.1%2F138
Is it because latest is actually the ios version?
It was built by CI so i dont control which (of ios/android) is released first on github

Is it because latest is actually the ios version?

Quite possible, let me check…
$ iod repo get com.akylas.weather
com.akylas.weather: looking for 'https://api.github.com/repos/Akylas/oss-weather/releases'
com.akylas.weather: checking tag 'ios/alpha/2.8.1/117'
com.akylas.weather: lastRelNo set to 'ios/alpha/2.8.1/117', checking for files

and then of course: no APK. Yupp. But we can fix that I think, let me try… Hah! Gotcha:
$ iod repo get com.akylas.weather
com.akylas.weather: looking for 'https://api.github.com/repos/Akylas/oss-weather/releases'
com.akylas.weather: checking tag 'ios/alpha/2.8.1/117'
com.akylas.weather: checking tag 'android/github/2.8.1/138'
com.akylas.weather: lastRelNo set to '138', checking for files
com.akylas.weather: Upstream file date (2024-10-23 22:36) is newer than ours (2024-10-10 19:43).
com.akylas.weather: returning ['138','https://github.com/Akylas/oss-weather/releases/download/android/github/2.8.1/138/app-arm64-v8a-release.apk',1729715804]
com.akylas.weather: 137/138, https://github.com/Akylas/oss-weather/releases: https://github.com/Akylas/oss-weather/releases/download/android/github/2.8.1/138/app-arm64-v8a-release.apk
- Grabbing update for com.akylas.weather: OK
- Checking 'repo/com.akylas.weather_138.apk' for libraries and malware …
…

OK, that did the trick. I've told it to only consider tags matching the RegEx pattern ^android/github/[^/]*/%c$, where %c represents an integer compared to the latest versionCode present in the IzzyOnDroid repo (i.e. ensuring it only fetches newer releases). That's the pattern you currently use. So now updates should work regardless of the order you release android/ios, as long as you stick to that tag naming pattern. You will, I hope?

@IzzySoft awesome. Yes will always stick to this tag naming.
Could you also apply this to
https://github.com/Akylas/OSS-DocumentScanner
https://github.com/Akylas/conty
Thanks

Those already have it :smiley:


Cross compile for Raspberry (armv6l-unknown-linux-musleabihf) with haskell.nix

Hello
I am trying to cross-compile HsOpenSSL for Raspberry using haskell.nix. Everything works well cross compiling for Win64 and statically linking with Musl but it fails for raspberry.
I am trying to cross-compile HsOpenSSL-<IP_ADDRESS> linked with Openssl-1.1.1g but it gives the following error:
OpenSSL/Cipher.hsc:20:7: error:
    Not in scope: ‘aesCTR’
    Perhaps you meant ‘aesCBC’ (line 94)
   |
20 |     , aesCTR
   |       ^^^^^^

Included opensslv.h has the following definition:
# define OPENSSL_VERSION_NUMBER  0x1010107fL
# define OPENSSL_VERSION_TEXT    "OpenSSL 1.1.1g  21 Apr 2020"

It seems to be related with OPENSSL_VERSION_NUMBER flag. Although, i am linking with Openssl 1.1.1g it seems that this flag indicate a previous version and, in any case, I do not understand the error because aesCTR should be defined if OPENSSL_VERSION_NUMBER indicates a previous version.
I understand that it a complex problem involving several tools as haskell.nix and cross compile but any indication would be great to find the root cause of the problem.
Thanks

Try HsOpenSSL-0.11.7. There was incorrect #include "HsOpenSSL.h" which come after #if OPENSSL_VERSION_NUMBER and hence not worked correctly. It's fixed in the latest version.

It works perfectly, thank you so much


Graceful shutdown of node

Provider should be able to be requested to be shut down.  At this point it should stop accepting new connections but continue any current transfer.  A timeout for continuing the existing transfer is not needed, if that takes to long a hard abort by the user is fine.

moving milestone, this is not really relevant right now

@flub how much more work is left here in your opinion?

I'm not sure how much all the current refactoring has changed things, so rebasing might be a bit tricky by now.  But what is needed:

magicsocket should not be shut down when magicendpoint's close is called.  It should stay alive until the quinn endpoint driver is done with it (this endpoint driver runs in a spawned and detached tokio task) at which point it will drop the magicsocket.
When dropped magicsocket should not stop, instead it should enter a draining state just like a socket from the kernel does.  When you send something to a real socket once it's accepted it won't be dropped.  We need to do the same.  So once magicsock is dropped it must refuse to accept any other sends, must refuse to receive anything or pass on anything received (that's easy, poll_recv is not going to be called anymore); but crucially it must still attempt to send all the things in the send buffers.
Once drained, magicsocket can finally be deallocated.

In my old PR I have the first point done, not the rest.  This will probably need some changes now that there have been so much refactoring on the send and receive path.
I'm guessing this is like 3ish days work?

There is also #2198, which is a duplicate of this I think.


App sits indefinitely at "Shadow is Ready" screen.

Describe the bug
Shadow PC never starts, just sits at "Shadow is Ready" screen forever.
System
https://nicolasguilloux.eu/hostbin/2720221942
Configuration
Script from README returns successful.
To Reproduce
Steps to reproduce the behavior:

Launch Shadow.AppImage or ShadowBeta.AppImage
Start Shadow PC
While loading the issues occurs.

Screenshots

Additional context
New install of Ubuntu 20.04 any help would be greatly appreciated!

Hi, you need to configure VA for your system :
https://nicolasguilloux.github.io/blade-shadow-beta/#vainfo

I had the same of using Wayland session btw...
Is it not compatible ?

Wayland is not compatible

Did cost me some time to find out, that it's not working on Wayland. Is there an ETA for Wayland?

Got it working on my machine after setting up VA and some tinkering. It doesn't load like 1/4 of the time but a quick restart of the app seems to fix it.

Got it working on my machine after setting up VA and some tinkering. It doesn't load like 1/4 of the time but a quick restart of the app seems to fix it.

Hey, you mean you got it working ON Wayland ?


Updates of the build process

I was unable to build the benchmarks (i.e. ant dist) unless I applied the following fixes. I believe they might be useful for others as well.
The changes include the following:

updates of URLs on SourceForge.net
allow override of avrora CSV root as the CSV service on SF.net is not always available (surprisingly, rsync of raw files works well)
update of several MD5s (not sure what could have changed)
download JAR of janino directly as I was unable to find the original ZIP file with sources (see #123)
for tomcat, bypass use of Java 1.6 for downloading (the problem with certificates is mentioned in build.xml but it did not work for me).

With these changes, I was able to build the JAR file with Java 8 as the default and with the following local.properties:
jdk16home=/usr/lib/jvm/java-6-jdk/
j16lib=/usr/lib/jvm/java-6-jdk/jre/lib
bms.avrora.cvsroot=/path/to/rsynced/avrora-cvs

Does it make sense?

Thanks Vojtech.    I'm a bit surprised that you had these problems---I know others are successfully building from source.    We're looking at it now.
BTW, what platform are you building on?

It might a problem on my side but I think I have a pretty standard environment on my machine. I use Arch Linux (64bit) with OpenJDK 1.8.0_144-b01 as the default. For Java 6, I have HotSpot 1.6.0_45-b06. And Ant 1.9.7.
I do not understand why I had to change the MD5 so that might be some issue on my side. The same for the Tomcat build with Java 6 where setting the ANT_OPTS did not work for me.
Thanks for looking into this.

Vojtech, this should have been resolved with the major revision committed a few weeks ago.   Have you had any luck with this?


Fix issue: "ready" event should be dispatched only once.

Any correction will be appreciated.

Thanks for the fix!

Thanks for the fix!


Bug with MidiFile.length

This will be computed by going through every message in every track and adding up delta times. But time can be in meta message. You can add  if(not msg.is_meta): for computing normal playback time.

Meta message delta times need to be included to get the correct total playback time. For example the EndOfTrack message at the end of a track often has a long delta time to allow played notes to fade out a bit after the end of the song. Without it the track would just end suddently at the last note_off.
If playback takes a bit longer than what MidiFile.length reports it is because MIdiFile.play() doesn't adjust for the time it takes to process each message so it will lag behind a bit more for each message. This has been fixed for the next version of Mido.
It may be that I've misunderstood what you meant, in which case let me know and I'll try to help you.

Thank you for your explanation. I understand what do you mean. If it doesn't bother you, can you add parameter in this function for getting correct musical measures?

From @olemb comment, I believe this was fixed.
@Dertosh please open another issue if your feature request is still standing. Thanks.


Change the React favicon and add a logo

Create a simple logo and add that logo to the repo and modify the favicon.

I can contribute to this issue, assign me

please assign this to me :)


Default non english text issue(Cyrillic)

Godot version:
3.2.4
OS/device including version:
Windows 7.
Issue description:
Label with text "Hellow Дмитрий."

but costom font (windows Arial) - working

Editor font is fine.
Steps to reproduce:
Set label lext = "Hellow Дмитрий."

Duplicate of https://github.com/godotengine/godot-proposals/issues/1079.

Duplicate of https://github.com/godotengine/godot-proposals/issues/1079.


[MRG] Fix MPIBackend platform logic

Updated the logic for MPIBackend and get_mpi_env function to not use the obtuse 'win' string search.
closes #875

what's the motivation for this fix? Does it break something for you? If it ain't broken, don't fix it ... we don't have the means to test it properly

Thanks @gtdang!


Aliases are incorrectly registered as commands on the server

Aliases are incorrectly registered as commands on the server. This leads to them being sent down within the syncDispatch event as commands.
This can lead to cosmetic side effects such in the interface:

It leads to a lot of warnings

But it can also lead to errors where Commander thinks that the command already exists. Once this error occurs in the registry, the interface does not start up.

(where rnsignal is an alias of railnetSignalDebug)

The error itself has been fixed in commit c254ef7, but there is currently a bug in the interface where command aliases will show up in suggestions as the "primary" name. So if you have an alias to one command you'll have 2 suggestions with the same name. I've opened an issue for this - #34.
Aliases are intended to be registered as commands, i.e. their paths are added to the commands map, but they point to the same BaseCommand class. Currently this works fine with the fix above, but this may be changed if it causes issues when attempting to fix the suggestions issue.

Thank you for the speedy fix!


Support for other types of coverage data format

While you can collect and publish code coverage results for many different languages using Azure Pipelines, the code coverage for pull requests feature discussed in this document is currently available only for .NET and .NET core projects using the Visual Studio code coverage results format (file extension .coverage). Support for other languages and coverage formats will be added in future milestones.

When are other formats supported? we use GO and generate coverage profile data and then can convert it to cobertura for reporting.
We need gated check-in for PRs where low code coverage PR can be rejected.
We have PublishCodeCoverageTask working for full code coverage but not diff coverage.
thanks!

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

ID: aaa4f4c6-0a42-108e-79dd-5724e1049bd5
Version Independent ID: f4a857d1-78bc-170b-b138-fcf490c85b38
Content: Code coverage for pull requests - Azure Pipelines
Content Source: docs/pipelines/test/codecoverage-for-pullrequests.md
Product: devops
Technology: devops-cicd-test
GitHub Login: @shashban
Microsoft Alias: shashban

@feiyushi -- Feiyu, thank you for your feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

If you feel this is a product issue, please add it here:

Developer Community

cc @shashban for awareness
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Documentation Error in Disable-SPOFeature

The title of the command is Disable-SPOFeature.
The documentation :- https://github.com/OfficeDev/PnP/blob/master/Solutions/PowerShell.Commands/Documentation/DisableSPOFeature.md
has examples using Disable-SPOOnlineFeature.
Enable-SPOFeature is OK.

Thanks Nigel!
Fixed in OfficeDev/PnP-PowerShell#24.


Add Tilt-based local dev workflow.

Summary of the changes included in this PR
Adds Tilt-based local dev workflow.
This is an iteration on #132 and #89 which I had to close due to GitHub repo migration changes. It no longer removes the ./hack/prepare-for-integration.sh script, but instead extends it to fit into the Tilt workflow.
Issue(s) addressed by this PR
N/A
Things to consider while reviewing this PR
Please see the doc/contributing.md changes, which should document what you need to get started.
Suggested release note for the first release which contains this PR
N/A

Merging after discussion w/@ankeesler and @cfryanr.