Issue JSON on ubuntu

pakcage: "read-vietnamese-number"
version: 2.1.4 (latest)
Run start with error:
node_modules/read-vietnamese-number/dist/cjs/package.json: Expected property name or '}' in JSON at position 1

Hi @TranNghiaHiep,
Thank you for reporting the issue. Could you provide the content of the node_modules/read-vietnamese-number/dist/cjs/package.json file? This will help me in bug troubleshooting.
I also noticed you opened a PR; it looks good to me.

Content of the node_modules/read-vietnamese-number/dist/cjs/package.json file:
{type: commonjs}
==> Error: node_modules/read-vietnamese-number/dist/cjs/package.json: Expected property name or '}' in JSON at position 1
Updated:
{"type": "commonjs"}
==> It works fine now. The issue only occurs on Ubuntu; it works without any problem on my Mac.

Looks like the root cause is the build script producing invalid JSON format. I've checked the package on NPM, the issue only happens on v2.1.4 (latest).


Fail On Preloading

Describe your bug here.
i was just doing a little mechanic where a pop up would appear asking you to change the options
if you click no, you go straight into the song but i'm having issues right now that i didn't experience before
everytime i try to load the song, an error that says "ERROR: fail on preloading song youre-too-late/Inst"

i would be glad if you're able to help me
Command Prompt/Terminal logs (if existing)
source/states/LoadingState.hx:550: ERROR! fail on preloading song youre-too-late/Inst

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I edited TitleState so that the intro doesn't appear and there's only the pop up i talked about

Inst.ogg

it is Inst.ogg

Remove the ogg so

that's the file format tho
i have the file format option enabled

now i'm getting this??
pain

What's the point of preloading the inst?

idk dude
it's doing it by itself

The game do not preload assets, delete the preload

i'm getting this error on these lines

ok so i deleted the lines that caused issues and it worked
idk if this will impact stuff


Tomzn/Hiking MCB238 80A 2P Din Rail wifi MCB BK7231T

Hello, again, I am not sure if you already got that dump, so I am posting it here:

I apologize if it's a duplicate, but i haven't found it here:
https://github.com/tuya-cloudcutter/tuya-cloudcutter.github.io/tree/master/devices
readResult_BK7231T_QIO_2023-13-2--19-49-14 (MCB238) (1).zip
I will have next 3 devices soon, this time from a donation, I will also post them here.

Thanks, added as TOMZN "MCB238 Hiking Circuit Breaker Smart Switch


Fake player issue

As of a few updates ago, Digital miners have stopped working on my Towny servers.
[Mekanism] is listed as an OP fake player and in the Towny Fake Residents config, but still have no luck getting the Miner wrking.
I know this isn't really your problem, but I was just wondering if you knew of anything I could do without having to remove Towny to get the Digital Miner working..

After going through closed tickets, found that /mk op fixes the issue as mentioned in #2821


[Fix] Comic import fails due to issue having a non-integer comic number

Here's a fix for bug #51

Thanks @bpepple for all this work! I feel a tad ashamed realizing that I'm not PEP-8 compliant. Haha. This definitely will help others be able to work on it.
I was excited to see that you're using the comicapi from comictagger. I was actually looking at that for inspiration for support of comicinfo.xml, which is probably why you added it. I'm debating maybe separating comicapi out into a separate repo in the future so that we can maintain it a bit better, but for now it's fine where it is.
I'll test this a little bit soon before merging.

The IssueString function with a padding of 3 should keep sorting correct (tho with Action Comics hitting 1,000 soon it might need to be changed down the road to 4). It might also make more sense to order by publication date tho, instead of by the issue number. I'm thinking about issues like Astro City #½ and the various #0 issues DC and Marvel have put out, but haven't really looked to hard at it just yet to see if there are any downsides to doing that.

There's an idea! That would actually make more sense anyway. Are there any Star Wars like ordering in any series that you're aware of?

Not that I'm aware of off the top of my head, but I'll look into it some more later today.

I moved my comicapi repo into  a publicly viewable repo (and also rename it to comicarchive). As  I've got free time I'll clean it up a bit so eventually it can be a separately installed library.
https://github.com/bpepple/comicarchive


Ensure virtual environments

As python supports virtual environments, using /usr/bin/env python will make sure that your scripts runs inside the virtual environment, if you are inside one. Whereas, /usr/bin/python will run outside the virtual environment.

LGTM!


Fix spacing for new Github design

The discussion-sidebar has now a 200px width, so the margin/padding of the discussion-timeline should be 220px (200px + 20px to keep the vanilla 20px github margin)

Thanks, and sorry for the very slow merge!


documentation: Admin API Swagger Docs

Hello
I like to request if at all possible for Kong to provide as part of their admin api documentation swagger docs so that it easier to work with the API in a adhoc basis including interrupting with other products like postman, api generators etc.
Regards

@dmportella Thanks for asking. We recently had a hackathon within Kong, Inc., and I participated with @kikito to build just that! We had a few ideas:

With our new schema on our new model, let's use that to generate OpenAPI specs for all our Admin APIs (we made half-way through with this in hackathon)
Have a plugin that verifies requests (based on spec file) and if there are errors with compliance, gives 400 back.
Have mechanism to analyze proxy traffic and collect information about APIs, so that we can also generate OpenAPI specs to them (for any API) (sort of AI or something) (and the spec can then also be auto correcting)
Have admin API endpoint where you can upload (or import) a spec file and Kong then autogenerates all the APIs for proxy (and applies the verification plugin as well)

@kikito do you remember if we had other ideas as well?

And yes, I hope that we get a change to work on it in future, to make it actually a shippable thing.

@dmportella, We don't use Github to discuss about new features (anymore). We'd prefer to have such discussion at Kong Nation Discussion board: https://discuss.konghq.com/. We cannot give estimate of this work, but it is on our backlog. That's why I am closing this. Lets hope we get that prioritized and done (I can say that you weren't the first one to propose this) OR perhaps contributed by community, who knows.

no worries @bungle i am glad you guys though of if and are giving a serious consideration.
All our ideas sound fun and great I would be just happy to have a swagger or openAPI spec for the admin API. It would make playing with kong with things like post man etc a lot easier and more fun.
I will keep an eye on the discussion board tho  thank for the update

Note
I created a topic on the discuss.konghq.com: https://discuss.konghq.com/t/documentation-admin-api-swagger-docs/861

I posted an update to the Kong Nation discussion forum thread noted above.

Any news on this topic ? It would be nice to get autogenerated openapi client with tools like https://github.com/janephp/janephp


Default repo syncs isn't working (on bitbucket/target branch)

This behavior: https://github.com/mergestat/mergestat/blob/bitbucket/target/internal/jobs/repo/vendor_github.go#L105-L132 doesn't seem to be working as expected on the bitbucket/target branch. In our tests from the frontend, it seems like the default syncs aren't getting picked up properly by the backend (when an auto import runs)

Addressed here: https://github.com/mergestat/mergestat/pull/876


WFCORE-6791 Tidy wildfly-discovery code to better use as a reference for wildfly-subsystem usage

Consolidate ResourceDefinitionRegistrar and ResourceServiceConfigurator to single class.
Reduce visibility of static fields where sensible.
https://issues.redhat.com/browse/WFCORE-6791

@pferraro what's your confidence whether these classes are not used outside of WildFly?, more formally, do you think it is worth for WF32 without deprecating the old ones?

There are zero consumers within WildFly let alone outside...

Thanks @pferraro and @yersan


Update cats-effect to 3.2.6

Updates org.typelevel:cats-effect from 3.1.1 to 3.2.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

labels: library-update, semver-minor

Superseded by #198.


remove security artifacts, create a sros2_cmake based package instead

This fixes #7.
Requires https://github.com/ros2/sros2/pull/72 and follow-up PRs to be backported to crystal
What's included in the PR

remove the keystore from the source tree
make a policy file using the new sros2 xml syntax
make confobt_security an ament_cmake package using sros2_cmake to generate artifacts

What's not included:

update instructions accordingly (blocked by #8)

How to build it:
docker run -it --rm ros:crystal
apt update && apt upgrade -y
apt install git python3-colcon-common-extensions python3-lxml
mkdir -p ws/src && cd ws/src/
git clone https://github.com/ros2/sros2.git
git clone https://github.com/Karsten1987/roscon2018.git -b security_fixup
cd ..
export ROS_SECURITY_ROOT_DIRECTORY=/ws/confbot_keystore
source /opt/ros/crystal/setup.bash
colcon build --cmake-args -DSECURITY=ON -DPOLICY_FILE=/ws/src/roscon2018/confbot_security/safe_zone_publisher_policies.xml

How to run it:
cd /ws/
source /opt/ros/crystal/setup.bash
source install/setup.bash
export ROS_SECURITY_ENABLE=true
export ROS_SECURITY_STRATEGY=Enforce
export ROS_SECURITY_ROOT_DIRECTORY=/ws/confbot_keystore
cd src/roscon2018/confbot_tools/confbot_tools/
python3 safe_zone_publisher.py

This will work
and
python3 safe_zone_publisher_hacked.py

will fail with:
 [SECURITY Error] Error checking creation of local writer d0.9b.b9.b.<IP_ADDRESS>.c.f3.df.f4|<IP_ADDRESS> (rt/cmd_vel topic not found in allow rule

Closing/reopening to trigger travis


Output info on file and content causing errors

Needed to debug failures in https://github.com/kubernetes-sigs/reference-docs/pull/275/files#r873107442

cc @brianpursley

I'm guessing you need an updated docker image too.  I can push one tomorrow.
Also, feel free to fork this if you want, and update the reference docs to pull your image.  I am glad to maintain it as needed, but don't have any special attachment to it in case it is easier to do it that way.

I built it locally while working on that PR, so no rush, but if it gets rebuilt and pushed it'll help the next person


Failed to install plugin

I am doing this from scratch to test this plugin. The plugins and platforms folder is empty.
I then go cordova platform add<EMAIL_ADDRESS>--save
and get the following error:
Failed to install 'cordova-plugin-document-scanner': Error: ENOENT: no such file or directory, open '/Users/dylan/Desktop/Projects/Antel/platforms/android/AndroidManifest.xml'

Am I missing something?
Info:
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : android 7.1.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2
    ios-sim    : 6.1.2
    Node       : v8.11.1
    npm        : 5.8.0
    OS         : macOS High Sierra
    Xcode      : Xcode 9.3 Build version 9E145

Is there no way this plugin can work on cordova-android 6?

Seems to install fine on a blank ionic project with cordova-android 7.1.

Sorry, Right now there is no support for cordova-android 6. But we might work on this in the future. Were you able to solve the Failed-to-install issue?

I am going to close this issue for now as I can install the plugin on a blank starter app.


a . in $replace doesn't match reference implementation

Running a $replace in the js version of the library returns the full string:

But in jsonata-python returns an empty string
 echo '{}' | python3 -m jsonata.cli '$replace("hello", ".", "")'

This is due to the difference in $replace implementation in the js version of the library versus the python library.
The js library does a simple replace:

While the python library does a re.sub in this case:

@rayokota I'm also happy to take a stab at fixing this issue if you'd like!

@pavanagrawal123 , yes, PRs are welcome :)


Has already support sql like SELECT * INTO newtable FROM table1 WHERE 1=1;?

JSqlParser helps a lot ,  pretty good.
I reviewed then closed issues and opened issues want to find the examples like
SELECT *
INTO newtable
FROM table1
WHERE 1=1;

the newtable should not be exists
find some cases like
https://github.com/JSQLParser/JSqlParser/issues/950
https://github.com/JSQLParser/JSqlParser/issues/65
in issue-950 , the example is good
issue-950  implements the sql like   insert into  new_table select * from old_table
which  the new_table  should be  exists;
Has already support sql like
SELECT * INTO newtable FROM table1 WHERE 1=1;

?
version : 3.1

This kind of statement is supported. Unfortunately I am not sure in which version it was included. However the corresponding commit seems to be from 2014.

You mean the nearly  latest version  3.1 may not support this kind of sql?
I

No. I meant this should be included at least since version 2 or so. 3.1 should definitely support this. If not, then there is another problem I guess.

Thanks, I using the following code like this:
        sql = "SELECT * INTO newtable FROM table1 WHERE 1=1";
        Select select = (Select) CCJSqlParserUtil.parse(sql);
        PlainSelect plainSelect = (PlainSelect) select.getSelectBody();
        System.out.printf("SSS");

JSqlParser 4.0 parses this.

JSqlParser 4.0 parses this.


renewable_power_plants_UK.csv malformed input file

Hi there!,
we'd like to use the OPSD country datasets for our model.
However, the input format of renewable_power_plants_UK.csv seems corrupt:
Reading the file from its url (i.e for Germany DE or Denmark DK) with pandas ( pandas.read_csv(https://data.open-power-system-data.org/renewable_power_plants/2020-08-25/renewable_power_plants_DK.csv) works properly.
But in case of UK (pandas.read_csv(https://data.open-power-system-data.org/renewable_power_plants/2020-08-25/renewable_power_plants_UK.csv), I receive the following error:

Error tokenizing data. C error: Buffer overflow caught - possible malformed input file.

I tried it with different machines, always the same issue.
After downloading the file and reading it from my local computer, the error remains. However, after opening and saving once without making any changes to the file, the error is vanquished and the file can be read with pandas.
I face this problem with every older version (2019, 2018 and 2017) as well. All datasets work fine, only the one of UK is corrupt.
How can I overcome this problem? Or maybe it's worth uploading a fixed dataset for UK?
Thanks in advance

Thank you for pointing this out.
Did you try to specify python as the engine?
The following works fine on my machine.
df = pandas.read_csv('https://data.open-power-system-data.org/renewable_power_plants/2020-08-25/renewable_power_plants_UK.csv', engine='python')
Let me know if the problem still persists on your end.

Yes, that solves the problem. Thanks!

You're welcome.


add tini

https://github.com/rancher/rancher/issues/13858

close in favor of https://github.com/rancher/rancher/pull/14515


Allow ignoring certain paths from sorting

👋 I'm a big fan of this plugin and use it in http://github.com/JoshuaKGoldberg/template-typescript-node-package to sort package.json contents. Thanks for making it!
Turns out sometimes package.json content ordering does matter. Per https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing, the types resolution under "exports" > "." must come first:
// package.json
{
    "exports": {
        ".": {
            // Entry-point for TypeScript resolution - must occur first!
            "types": "./types/index.d.ts",
            // Entry-point for `import "my-package"` in ESM
            "import": "./esm/index.js",
            // Entry-point for `require("my-package") in CJS
            "require": "./commonjs/index.cjs",
        },
    }
}

Would you be open to a config option allowing to exclude certain object property paths? Maybe:
module.exports = {
	overrides: [
		{
			files: "*.json",
			parser: "jsonc-eslint-parser",
			rules: {
				"jsonc/sort-keys": [
					"error",
					{
						ignore: ["exports", "."],
					},
				],
			},
		},
	],
};

...I'm not confident in that ignore: string[] format. But can't think of a better option right now. 🤔
Potentially relevant: https://github.com/typescript-eslint/typescript-eslint/discussions/6017

Thank you for posting issue!
I think setting the rule options like this might work:
    "jsonc/sort-keys": ["error",
        {
            "pathPattern": "^exports(?:\\[[^\\]]+\\]|\\.[^.]+)$",
            "order": [
                "type",
                "import",
                "require"
            ]
        },
        {
            "pathPattern": ".*",
            "order": { "type": "asc" }
        }
    ]

DEMO

Thanks for the quick response! That's close and probably usable for my use case. But it still enforces an ordering. Is there a way to ignore that particular pathPattern altogether? It'd be nice to not have to specify the order, in case there are other types of exports defined.

There is currently no way to explicitly set it to be ignored.
I think it's probably a good idea to add a order: { type: "ignore" } option to the rule to achieve that.
The current rule ignores ordering for keys that are not defined, so by using a pattern that doesn't match anything, you can also use a hack like this to ignore ordering: "order": [ { "keyPattern": "(?=a)b" } ]


Error-messages on receipt

Description
We need a way to display error messages on the receipt page, in the case one or more rights delegation fails.
We are, as of now, lacking a design for this
Additional Information
No response

@allinox do you foresee any cases for this task anymore?


Create an SAP BTP ABAP Environment Trial User

Tutorials: https://developers.sap.com/tutorials/abap-environment-trial-onboarding.html
This point:
Enter your connection settings:
Region: choose your SAP BTP Cloud Foundry Environment region, for e.g. US East (VA)
Email: your email address
Password: your password
I don't have a E-Mail/Password Login. I only login with client certificate and two-factor authentication. This step is therefore missleading / not possible for all users.
Please also write about the option to use a service key.

Hi @jdees ,
thank you for your feedback. We'll update this information.
Best regards,
Merve


Perform security audit of rpc.go

I don't see any permission checking at all in rpc.go's Branch method.
Make sure that all the RPC methods perform correct authorization before performing actions.
Check the pushing and pulling endpoints, too.

This is almost a duplicate of https://github.com/dotmesh-io/dotmesh/issues/179

Yeah, this is about dot-level authz as well as admin/hub mode.


about nonOAuthError

Hey.
i created a google console project, i tested in one local project, it worked fine. i then moved to my another project, it didn't work there.
but there wasn't any error, or success, or ...
it's not clearly stated that there is a nonOAuthError.
developer will get alot confused (hopeless), becase nothing will happen (popup opens, account is selected, then nothing will happen, no error, no success.).
so i think:

you should merge those errors
Or you should do a console.error on that case
Or making it so clear that there is another error handler
...
After moving the package out of nodemodules and changing the code to log it , It still says message: "popup closed". at lease now it's a bit clear that it's from the google part.
so i think this situation is alittle pain for developer, so you better to handle it different. (that callback is kind of unclear / hidden now. maybe it's better to be part of onError. and console.error it if it's not possible.)

Hey. the solution was:
sometimes when you test multiple times (between multiple projects), or etc, google stop issuing token. it fixed by

wait 1 day (after 1 day, it worked 1 time)
or :
use another google account and setup a new google clound account / project (creating new google cloud project on same google account didn't work.).
so for dev / test, if google stops issuing token, change your google account during dev, and setup a new project / client id.


"Stroring PV in EV" strategy should not lead to bigger peaks

This happens in this LES

I spotted a potential origin for the issue. More EV profiles have been added to the database. Some of these have very high capacities... The cars still appear to have 3.7kW as capacity but perhaps the 'profile default' overwrites this in the calculation?

This has been fixed. The high-capacity profiles are no longer automatically selected when changing concurrency.


rt entpoints to hep

Move rt endpoints and change the ingress to point to hep.
Tech notes :

Move these endpoints to hep to editor/views as they are
Change the permission from @editor_permission to @login_required_with_roles([Roles.cataloger.value])
All the methods needed from the rt module are already in hep so you can just use them. (Note: these methods are not tested)
Tests for this on next are simply mocking RT and checking the correct methods are called, we could do the same
Remove the endpoints from next
Ask Ben to change the ingress to hep

@MJedr did we change the ingress to point to hep?

No, the PR is still waiting to be merged https://github.com/inspirehep/inspire-next/pull/3959


Prepare Travis, CodeClimate, and deployment

Prepare Travis, CodeClimate, and deployment

Hold on merge as for some reason I can't update CodeClimate settings...did someone else set it up ahead of me?

I cannot get codeclimate to update the status of this PR for some reason, but it all looks like it's set up correctly.  @agrare I'm saying this is good to go :)


[build-script] Fixed a typo in llvm configuration

What's in this pull request?
Fixed a typo in llvm configuration options.
I believe it's NFC, because LLVM_INCLUDE_DOCS is ON by default.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

@swift-ci Please test and merge


Some errors in output

Some errors in output, see "[resources]/fail" for example (note the 'scratchy' sounds in background)

Seems to be fixed with the fix to kHuffmanTables


Brightness, Saturation and Hue

Hi @lovell,
Does sharp support brightness, saturation and hue?
I was looking for something similar to modulate of imagemagick or graphicsmagick.
I took a look at the docs but could not find.

Hello, *magick's "modulate" operator is approximately equivalent to a colourspace conversion to LCH (Luminance, Chroma, Hue) then a multiplication of pixels in the L and C channels. libvips supports these operations, but this is not currently exposed in sharp.
As always, I'm happy to accept a PR and help with discussions about how the API for this might work.

I would like to work on this. Can you point me to some resource which teaches about how can this be done?

@adityapatadia Thanks for your interest.
This feature will involve a combination of converting to the LCH colourspace via colourspace, splitting out any channels to be "modulated", using multiply to modify them with the relevant value before joining the channels back up again.
You probably won't need to worry about the colourspace conversion away from LCH as there's already logic to clean up at the end of the pipeline.

L(ightness) ~= brightness
C(hroma) ~= saturation
H(ue)

The API could look something like:
// identity transform, 100 means 100% of the original value so no change
.modulate({ brightness: 100, saturation: 100, hue: 100 })

// reduce saturation by ~25%
.modulate({ saturation: 75 })

// convert red to green etc.
.modulate({ hue: 166 })

I would be asking much more questions.
Apart form API, how do I implement in the C code? Which files should I add the operations? Can you show me sample from which I can learn?

@adityapatadia Although it's marked patch-welcome, this is a relatively complex task. Perhaps look at implementing something like #577 first?

@jonathan-kosgei Thank you for the offer of help.
sharp uses libvips C++ API
http://jcupitt.github.io/libvips/API/current/using-from-cpp.html
Your idea to start with an existing operation such as blur is a good idea. Perhaps follow blurSigma as it moves through the various layers.
https://github.com/lovell/sharp/search?q=blurSigma&type=Code
https://github.com/lovell/sharp/blob/master/lib/operation.js#L180
https://github.com/lovell/sharp/blob/master/src/pipeline.cc#L1209
https://github.com/lovell/sharp/blob/master/src/operations.cc#L237
I'm always happy to help with and provide feedback on partially-complete PRs.

v0.22.1 now available with this feature.


hello windows and webauthn authetification

Hello,
I'm using a navigator.credentials.get({publikKey}) to trigger the webauthn but it take a lot lot of time to trigger) . I'm on window11 (HELLO WINDOWS authenticator).
Also when i test the demo of webauthn (https://webauthn.io/). It take a lot time juste for authentification.
any idea please!

Yes, i'm using my laptop with power mode full but i have the same problem

I haven't seen any full solution to this yet. Make sure to keep your windows updated and all the drivers -- hopefully they can resolve it. Closing since we can't do anything about it.


Do I really need the name type ?

For callstack, a string without index (for parsing) can be similar to a name

Nope, removed


This page still has syntax issues (also mentioned in the other issue that was incorrectly closed)

gt datetime'@{body('Get_past_time')}' in the Filter Query step should be
CreatedTime gt datetime'@{body('Get_past_time')}'
or Timestamp gt datetime'@{body('Get_past_time')}'
(both will work)
The body step later has ('Get_entities')?['value'] in the code/quoted formatting, it should include the word "body" first so it looks like body('Get_entities')?['value'] all inside the code/quoted formatting (the word 'body' is currently outside of it by accident)

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

ID: 067dc36a-c98a-73fc-cee0-59a311619401
Version Independent ID: 362a1a3f-b536-123c-2dd1-421051f0fec4
Content: Azure Table
Content Source: articles/marketplace/cloud-partner-portal-orig/cloud-partner-portal-lead-management-instructions-azure-table.md
Service: marketplace
GitHub Login: @dan-wesley
Microsoft Alias: pabutler

@thavidu Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

adding @qianw211

#sign-off
Made these code changes (and other content updates) with PR 77617.  Changes should go live tomorrow.


undefined method arel2_visitors in jdbc connection

Apologies for my unfamiliarity with the adapter but I am just trying to switch an application from ruby to jruby to take advantage of the Cache JDBC jar and there seems to have been changes recently preventing pure JDBC connections from succeeding.
I have been able to connect using version 0.9.6 from last year, but with Rails 3.1 and adapter 1.2.1 I am receiving the error below whichever way I try and define a connection.
I connected successfully directly in java so my authentication details etc are correct.  I have also attempted to use the extracted activerecord-jdbccache-adapter but get a similar error.
Any documentation you can point me towards would be helpful, or perhaps a workaround.
Kind regards,
Mark.
Environment details:  Debian Squeeze, jruby 1.65, Rails 3.1, Intersystems Cache DB
NoMethodError: undefined method arel2_visitors' for #<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x2ec7f1> 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-jdbc-adapter-1.2.1/lib/arjdbc/jdbc/adapter.rb:115:in configure_arel2_visitors'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-jdbc-adapter-1.2.1/lib/arjdbc/jdbc/adapter.rb:38:in initialize' 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-jdbc-adapter-1.2.1/lib/arjdbc/jdbc/connection_methods.rb:6:in jdbc_connection'
from org/jruby/RubyBasicObject.java:1694:in __send__' 	from org/jruby/RubyKernel.java:2118:in send'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:304:in new_connection' 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:323:in checkout_new_connection'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in checkout' 	from org/jruby/RubyKernel.java:1420:in loop'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:261:in checkout' 	from /usr/local/rvm/rubies/jruby-1.6.5/lib/ruby/1.9/monitor.rb:201:in mon_synchronize'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:260:in checkout' 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:162:in connection'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:409:in retrieve_connection' 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in retrieve_connection'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in connection' ... 15 levels... 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:455:in load_file'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:342:in require_or_load' 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:489:in load_missing_constant'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:181:in const_missing' 	from org/jruby/RubyArray.java:1612:in each'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:179:in const_missing' 	from (irb):1:in evaluate'
from org/jruby/RubyKernel.java:1093:in eval' 	from org/jruby/RubyKernel.java:1420:in loop'
from org/jruby/RubyKernel.java:1206:in catch' 	from org/jruby/RubyKernel.java:1206:in catch'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/railties-3.1.3/lib/rails/commands/console.rb:45:in start' 	from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/railties-3.1.3/lib/rails/commands/console.rb:8:in start'
from /usr/local/rvm/gems/jruby-1.6.5@cache/gems/railties-3.1.3/lib/rails/commands.rb:40:in (root)' 	from org/jruby/RubyKernel.java:1047:in require'

Sorry I didn't get to this until now! Look for 1.2.2.

I'm still getting this issue with activerecord-jdbc-adapter 1.2.2. However I'm using a the foxpro active record adapter using HXTT JDBC drivers. Could it be a connection issue or something else altogether?
DEPRECATED: require 'arjdbc' instead of 'jdbc_adapter'.
NoMethodError: undefined method `arel2_visitors' for ArJdbc::FoxPro:Module
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-jdbc-adapter-1.2.2/lib/arjdbc/jdbc/adapter.rb:116:in `configure_arel2_visitors'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-jdbc-adapter-1.2.2/lib/arjdbc/jdbc/adapter.rb:39:in `initialize'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-jdbc-adapter-1.2.2/lib/arjdbc/jdbc/connection_methods.rb:6:in `jdbc_connection'
	from org/jruby/RubyKernel.java:2078:in `send'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:229:in `new_connection'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:237:in `checkout_new_connection'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:191:in `checkout'
	from org/jruby/RubyKernel.java:1408:in `loop'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:187:in `checkout'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in `checkout'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:94:in `connection'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:317:in `retrieve_connection'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in `retrieve_connection'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in `connection'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/base.rb:679:in `table_exists?'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/activerecord-3.0.9/lib/active_record/base.rb:801:in `inspect'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:310:in `output_value'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:159:in `eval_input'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:271:in `signal_status'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:155:in `eval_input'
	from org/jruby/RubyKernel.java:1408:in `loop'
	from org/jruby/RubyKernel.java:1181:in `catch'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:154:in `eval_input'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:71:in `start'
	from org/jruby/RubyKernel.java:1181:in `catch'
	from /Users/marc/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:70:in `start'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/railties-3.0.9/lib/rails/commands/console.rb:44:in `start'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/railties-3.0.9/lib/rails/commands/console.rb:8:in `start'
	from /Users/marc/.rvm/gems/jruby-1.6.6@truetime/gems/railties-3.0.9/lib/rails/commands.rb:23:in `(root)'
	from org/jruby/RubyKernel.java:1027:in `require'

cool thanks!

Thanks for looking at this Nick.  Much appreciated.  I won't have access to the Cache server again until April but will revisit this then.

I try to get this fixed for SAP MaxDB (gem not released yet).
Where does the second code snippet has to go?
I get the following error on db:migrate:
undefined method new' for nil:NilClass /Users/d04/.rvm/gems/jruby-<IP_ADDRESS>@APjRuby/gems/activerecord-jdbc-adapter-1.2.2/lib/arjdbc/jdbc/adapter.rb:124:in configure_arel2_visitors'
/Users/d0/.rvm/gems/jruby-<IP_ADDRESS>@APjRuby/gems/activerecord-jdbc-adapter-1.2.2/lib/arjdbc/jdbc/adapter.rb:39:in initialize' /Users/d0/.rvm/gems/jruby-<IP_ADDRESS>@APjRuby/gems/activerecord-jdbc-adapter-1.2.2/lib/arjdbc/jdbc/connection_methods.rb:6:in jdbc_connection'
/Users/d0/.rvm/gems/jruby-<IP_ADDRESS>@APjRuby/gems/activerecord-maxdb-adapter-0.1-java/lib/arjdbc/maxdb/connection_methods.rb:7:in `maxdb_conne


N-Triples reader does not handle escaped embedded quotes in plain literals correctly

The tests are inadequate, as they just look that the serialization matches the input, and are not more objective.
This was reported in ruby-rdf/sparql-client#80, where the input is
<http://data.crystalbridges.org/object/2258> <http://www.w3.org/2000/01/rdf-schema#label> "Bison-Dance of the Mandan Indians in front of their Medicine Lodge in Mih-Tuta-Hankush" .
<http://data.crystalbridges.org/object/2258> <http://www.w3.org/2000/01/rdf-schema#label> "From \"Voyage dans l’intérieur de l’Amérique du Nord, executé pendant les années 1832, 1833 et 1834, par le prince Maximilien de Wied-Neuwied\" (Paris & Coblenz, 1839-1843)" .

The problem is that the result is returned as ASCII, when it is actually UTF-8. The code which attempts to correct this, en-encodes it first, thus removing necessary escapes.


Send OPTIONS request?

I have to mimic an Ajax call which sends an OPTIONS request before it does a GET request.
Is there anyway to force request() do to this? When I tried making two requests manually it doesn't work as expect -- I'm assuming because its taking too long, but not sure.
I was hoping for some flag like do_options_request: true I can set when I do a GET request.

Wrap request with your own function and check if it's a GET request, then do OPTIONS before GET.

that's what i'm doing. doRequest('OPTIONS').then(doRequest.bind(this, 'GET'));
But the problem is the results are not as expected.

That's a bit vague actually. How can I reproduce it? Is it a problem with your code or with request?

I'm not sure to be honest. It seems to be too slow to work. The options request is taking too long.


Support for ScanTweaks mod

When I use ScanTweaks, if the distance is too far, it still cannot be scanned. However, when I turn off ScanTweaks, it works again. I hope the support for ScanTweaks can be strengthened once more.Thank you.

Hello!
Thanks for the report :)
I'm currently looking into this, but I'm unsure what's limiting ScanTweak's range here...

Issue should be resolved.
Scanning far away nodes takes a while though


Scaffold project & CRD & controller

JIRA: https://issues.jboss.org/browse/AEROGEAR-9182
These are the defaults that the operator-sdk creates. Also I just copied the Makefile from the unifiedpush-operator.
Things that could use eyes & opinions here:

The naming: any suggestions other than AppMetricsService (and/or app-metrics-operator for the repo name)?
The vendor/ directory: I explicitly added an additional prune option unused-packages = true to the Gopkg.toml, which means that if you want to use a package from a dependency that has been pruned, you'll need to run dep ensure to get it, and then commit it. This is just to try to find a middleground between the convenience of checking in the dependencies and the slight inconvenience of the additional repo size that causes. I'm happy to remove that prune option and commit everything if that's considered better though.

Hi @grdryn Happy to approve this one as it's mostly scaffolding and I don't see anything out of the ordinary. I can't do a review properly as the code tab will only load for a short while and not long enough to write a message, but looks like this can be merged anyway without hitting the approval button.
Re the vendor directory, I have no strong opinion. Seems a happy medium to use the prune. Open to others' thoughts there.
Re naming, I've seen App Monitoring used in some of the architecture documentation so mobile-app-monitoring-operator might be an alternative worth considering.

@grdryn if it isn't a lot of work, mind pushing https://github.com/aerogear/app-metrics-operator/pull/1/commits/cbe0cb316a86a03c383aa02711a037a3aeda1d06 to master directly?
Let review this PR from there?

@aliok good idea, I'll push that and then update here

Hmm, I've pushed that commit to master now, but it still shows up here (and I can't "rebase" or "force-push", because technically it's all up-to-date already.


Getting unexpected error when accessing a collective page

Multiple times when accessing an URL directly, we got an "Unexpected Error" page with to error message in logs. This probably mean that data or data.Collective is null.
Note that the data initially loads (SSR works) but errors pop as soon as page gets rehydrated.
Steps to reproduce
Try to access one of the following page directly:

/{collective}/transactions
/{collective}/edit

Maybe related to https://github.com/apollographql/react-apollo/issues/2114

Putting priority back on this issue as a user faced it today (https://github.com/opencollective/opencollective/issues/1891)
I followed the investigation since last time but https://github.com/apollographql/react-apollo/issues/2114 is still the privileged candidate.
The bug translate to Apollo removing the data from collective props at some point. As this has been seen on different pages recently it is possible that we face a regression from Apollo library.
It's hard to investigate because the bug happens randomly.

The following video from @davojta clearly demonstrate the issue: page loads the error pop after page re-hydratation: https://www.dropbox.com/s/krcb6kuomf1sqm2/Screen Recording 2019-04-03 at 11.12.16 AM.mov?dl=0

@Betree should we downgrade apollo to an older version?

@znarf I'll try locally to see if it helps

Nay also be related to https://github.com/apollographql/react-apollo/issues/1314

Tried:

Setting an id on location
Changing the fetchPolicy to network-only and no-cache

Removing priority as a fix has just been deployed. However I'll keep this open to track down the issue in Apollo, that's a serious bug that shouldn't be ignored.

@Betree has the fix been released?

It has, I deployed https://github.com/opencollective/opencollective-frontend/pull/1625 on 5th April at 9AM. @mac-s-g what was the URL when you faced this issue?

My experience tracking this issue in various places so far is that Apollo randomly strips the data when one of the field in sub-queries or mutations are missing an id field.

Haven't this this issue in a while, looks like Apollo updates  + enforcing id field did the job. If it ever happen again in the future we should be able to solve it case by case.


Worker node does not join the master after master node was created with 'disable-agent' parameter when recycle agent vm

v0.9.1
Describe the bug
If the master node is created with 'disable-agent' option, and you decide to join the worker node using node_token, worker node does not get added to the master with Linode.
To Reproduce
Create Master node:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable-agent" sh -
Get the node token:
cat /var/lib/rancher/k3s/server/node-token
Join the worker node:
curl -sfL https://get.k3s.io | K3S_URL=https://mymaster:6443 K3S_TOKEN=XXX sh -
Expected behavior
Worker node should be listed while using:
kubectl get nodes
Actual behavior
kubectl get nodes
No resources found.
Additional context
On the master nodes the coredns and the helm-install pods are in Pending state.
k get pods -A
NAMESPACE     NAME                         READY   STATUS    RESTARTS   AGE
kube-system   helm-install-traefik-dzl5t   0/1     Pending   0          4m56s
kube-system   coredns-66f496764-5lcmn      0/1     Pending   0          4m55s

This seems like it may happen when we "recycle" a vm (agent node) machine.
When we tested with a fresh VM (1 server and 1 agent) and get config right the first time everything seems fine.
If we had made a configuration error when joining an agent and try again I think is when we encounter the issue. Perhaps the agent did already join and we are trying to join again and this breaks things.
We need to determine:

Is this an urgent issue to fix before GA release?
Is this a non-important issue that is nice-to-have-fixed after GA release?

I would think that other people may run into this so there is some concern. Perhaps someone else may misconfigure and try to join an agent again only to see if never works.

@ShylajaDevadiga Get into this failure-scenario again and show Erik please.

We are not advertising --disable-agent flag. This issue can be resolved passing  the K3S_NODE_NAME to a different value or setting a different hostname.
Closing issue.


Question about default prompt tokens: training-specific or general guidance?

Hi! 👋
First of all, thank you for making this model available to the community! The results are really impressive and I'm excited to see your future developments.
I have a technical question about the default prompts included in the inference pipeline:
(masterpiece), (best quality), (ultra-detailed), (unwatermarked),
{}
emotional, harmonious, vignette, 4k epic detailed, shot on kodak, 35mm photo,
sharp focus, high budget, cinemascope, moody, epic, gorgeous

I'm curious about how these specific prompt terms were chosen:
Were they specifically used during the model's training process as conditioning tokens?
Or are they more like general guidance terms that work well with the base architecture (similar to how they're used in standard Stable Diffusion pipelines)?
Understanding this would help me better utilize the model. Thanks in advance! 🙏
I'm also very excited about the upcoming TI2V.

No, both of the positive/negative system prompts are not included in the model training. They are more like some general guidance to make the output video looks better.


When Click Enter after Resultscreen Finish Something Wrong Here IDK How to describe that

https://user-images.githubusercontent.com/89444135/200308133-c308179d-e560-4a46-b246-4a35ff8d2478.mp4
Describe your bug here.
Here Bug in Video
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

https://user-images.githubusercontent.com/89444135/200307928-4589874b-57d4-4781-a8b7-207f7362056f.mp4

Latest Commit in This Build

ok fine i will close it , we met each other in school and it's a feature not a bug lmao


Mistake in example of datatype?

Is this not a field reference?
[Enter feedback here]

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

ID: 40a6dffa-6992-2346-10f3-3f04e1e64722
Version Independent ID: eec5afa1-3422-417e-169d-b5d72ca69f49
Content: Data types - Power Platform
Content Source: power-platform/power-fx/data-types.md
Service: power-platform
Sub-service: power-fx
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thanks for your comment, @nkatz01. This issue has been assigned to the doc author for review.

Accounts.Owner is an example of the polymorphic lookup it references in the description. In this case it actually points to the owner record.


Use bigint as data type for ID columns

This PR implements the changes that are required to support https://github.com/3dcitydb/3dcitydb/pull/66

Putting this PR back in draft mode. The delete worker works fine with the latest database schema using bigints, but fails to correctly deal with older schemas. Will fix it.

ready for review again

https://github.com/3dcitydb/importer-exporter/blob/feature-use-bigint/impexp-core/src/main/java/org/citydb/core/database/adapter/postgis/UtilAdapter.java#L193
and
https://github.com/3dcitydb/importer-exporter/blob/feature-use-bigint/impexp-core/src/main/java/org/citydb/core/database/adapter/oracle/UtilAdapter.java#L198
should use Type.BIGINT

Thanks, fixed both comments.
Interestingly, the createBoundingBox also works fine with the new env_cityobject function when using Types.INTEGER. But this doesn't feel right, so Type.BIGINT is used instead now if the 3DCityDB version is greater or equal to 4.2.0.


feature: adding message scheduler domain

Codecov Report

Merging #35 (65bda3d) into main (e568ea6) will increase coverage by 0.08%.
The diff coverage is 100.00%.

:exclamation: Current head 65bda3d differs from pull request most recent head c98155c. Consider uploading reports for the commit c98155c to get more accurate results

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   76.42%   76.51%   +0.08%
==========================================
  Files           6        6
  Lines         263      264       +1
==========================================
+ Hits          201      202       +1
  Misses         40       40
  Partials       22       22

Impacted Files
Coverage Δ

internal/adapters/notifications.go
76.92% <100.00%> (+0.60%)
:arrow_up:

internal/domain/notification/schedule.go
100.00% <100.00%> (ø)

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


FreeBSD 13.2 support

According to https://www.freebsd.org/security/#sup 13.1 reaches EOL on 2023-07-31. After that the package cluster would upgrade 13.* builders (e.g., 131amd64) to 13.2 (e.g., 132amd64), rendering /latest and /quarterly (but not /release_1) package repos unusable on 13.1 because the old kernel/libc/libthr/etc may not support features introduced by 13.2.

fixed,  the default version is using 13.2 now.


Add haroonhayat user

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

add user hayatharoon

Hey @hayatharoon , Do you need any help with the changes?


improvement: OSIS-51-use-scality-package-annotations

This PR

migrates the AppEnv and packages/ classes required for user authentication
removed Vmware stub code.

Codecov Report

Merging #85 (faf3d29) into improvement/OSIS-51-remove-vmware-ceph-implementation (4e5919f) will decrease coverage by 0.86%.
The diff coverage is 0.00%.

@@                                     Coverage Diff                                     @@
##             improvement/OSIS-51-remove-vmware-ceph-implementation      #85      +/-   ##
===========================================================================================
- Coverage                                                    74.31%   73.44%   -0.87%
  Complexity                                                     389      389
===========================================================================================
  Files                                                           38       41       +3
  Lines                                                         1861     1883      +22
  Branches                                                       139      139
===========================================================================================
  Hits                                                          1383     1383
- Misses                                                         416      438      +22
  Partials                                                        62       62

Impacted Files
Coverage Δ

...src/main/java/com/scality/osis/model/OsisUser.java
92.42% <ø> (ø)

...rce/OsisJackson2ObjectMapperBuilderCustomizer.java
0.00% <0.00%> (ø)

.../scality/osis/resource/ScalityOsisCapsManager.java
0.00% <0.00%> (ø)

.../ScalityOsisBasicWebSecurityConfigurerAdapter.java
0.00% <0.00%> (ø)

...ty/osis/security/platform/PlatformUserDetails.java
0.00% <0.00%> (ø)

.../security/platform/PlatformUserDetailsService.java
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 4e5919f...faf3d29. Read the comment docs.

build started again as force pushed a fixup

Hello anurag4dsb,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

/approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/1.0

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/1.0

Please check the status of the associated issue OSIS-51.
Goodbye anurag4dsb.


app.py supports restful-api

About  Rust/Golang,   give this link https://github.com/swagger-api/swagger-codegen  would be enough.
convert http://<IP_ADDRESS>:19999/openapi.json to  java/rust/gloang client, not  http client usage.

No blanks in the generated text.
It's 100% reproducible using llama-2-7b-chat model
double enter to end input >>> hi

Hello!It'snicetomeetyou.I'mheretohelpyouwithanyquestionsorconcernsyoumayhave.Pleasefeelfreetoaskmeanything,andIwilldomybesttoprovidehelpfulandaccurateinformation.I'mprogrammedtoberespectful,honest,andsociallyunbiased,soyoucantrustthatmyresponseswillbefreefromharmfuloroffensivecontent.Ifaquestiondoesn'tmakesenseorisnotfactuallycoherent,Iwillexplainwhyinsteadofprovidinganincorrectanswer.AndifIdon'tknowtheanswertoaquestion,Iwillletyouknowratherthanprovidingfalseinformation.Pleasegoaheadandaskmeanything!

typo 直接给你改了，git pull 一下。


Expose the emptyCommits property

I see that the emptyCommits was added to readme-box. I'd like to be able to set that from this action.

Closed by #15


Prevent tag builds from running

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


(BOLT-545) Explicitly set group based on id -g for chown

The chown <user>: syntax to inherit group from user is not portable.
Use id -g <user> to get the user's group and explicitly use it when
changing ownership to make it more portable.
Note that this will still fail on some platforms with very old versions
of id that don't support -g, such as the default id on Solaris 10.

CLA signed by all contributors.


dsVideoPort L3 Test Spec Update

Update the Level 3 Python Test Cases High Level class diagrams

merged to develop


Configure API urls via LineEnvConfig; bump lib version to v5.6.2

Configure API urls via LineEnvConfig
Bump lib version to v5.6.2
API Deprecation

LineApiClientBuilder

The openidDiscoveryDocumentUrl() and apiBaseUri() methods have been deprecated.

LineAuthenticationConfig.Builder

The openidDiscoveryDocumentUrl(), apiBaseUrl() and webLoginPageUrl() methods have been deprecated.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.EricLu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Error while migrating test plan and suites[EXCEPTION] Object reference not set to an instance of an object.

One test plan got migrated successfully.
While migrating the test suites, we get the following error:
vstssyncmigrator.exe Information: 0 :  Query Complete: found 1 work items in 340ms
TestPlansAndSuites:     EXISTS TestCase : 76603 - 72604-BVT_Verify all the links present for Service Technician login
TestPlansAndSuites:     Processing TestCase : 77515 - 72604-Verify UI of the Appliance section
TfsQueryContext: TfsQueryContext: TeamProjectCollection: https://xxxx.visualstudio.com/
TfsQueryContext: TfsQueryContext: idToFind: https://xxxx.visualstudio.com//xxxx/77515
TfsQueryContext: TfsQueryContext: TeamProject: xxxx
vstssyncmigrator.exe Information: 0 :  Query Complete: found 1 work items in 335ms
TestPlansAndSuites:     EXISTS TestCase : 77515 - 72604-Verify UI of the App section
TestPlansAndSuites:     Processing TestCase : 77602 - 72604-Verify Appliances section on Overview screen for login
TfsQueryContext: TfsQueryContext: TeamProjectCollection: https:/target.visualstudio.com/
TfsQueryContext: TfsQueryContext: idToFind: https://source.visualstudio.com//xxxxx/77602
TfsQueryContext: TfsQueryContext: TeamProject: xxxx
vstssyncmigrator.exe Information: 0 :  Query Complete: found 1 work items in 346ms
TestPlansAndSuites:     EXISTS TestCase : 77602 - 72604-Verify Appliances section on Overview screen for DSM login
TestPlansAndSuites:     SAVED StaticTestSuite : 10267 - FireFox 46
TestPlansAndSuitsMigrationContext:     Processing StaticTestSuite : 77757 - 74592-As a User I want to be able to Login to the Heat Pump / Quantum App to enable its usage
TestPlansAndSuitsMigrationContext:             Suite Exists
vstssyncmigrator.exe Warning: 0 :   [EXCEPTION] Object reference not set to an instance of an object.

Could you give me the SessionID from that run? I will look up the stack trace in the telemetry.

Please find the session ID
SessionID: 77f30dd9-33ba-49a6-8fee-a54bfc794811

Thanks :)
So I dived in and got the stack trace...

This code is pretty gnarly and I often have trouble in here. This is however a first for me where the target side errors out on Count.

It looks like the only posible option for this line is that the targetEntry.Configurations.Count call is causing the error... so I made the following refactor:

You should be able to download v7.5.5 in a few minutes with the fix above.

I am using the latest version but it fails with the same error.
[Info]: vstssyncmigrator
[Info]: Running version detected as <IP_ADDRESS>
[Info]: Telemitery Enabled: True
[Info]: SessionID: a60f2360-bdc0-4d0a-9ae2-56dc596302fa
TestPlansAndSuitsMigrationContext:     Processing StaticTestSuite : 77757 - 74592-As a User I want to be able to Login to the xxxx /xxxx App to enable its usage
TestPlansAndSuitsMigrationContext:             Suite Exists
TestPlansAndSuites:    CONFIG MNISSMATCH FOUND --- FIX AATTEMPTING
vstssyncmigrator.exe Warning: 0 :   [EXCEPTION] Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at VstsSyncMigrator.Engine.MigrationContextBase.Execute() in d:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\MigrationContextBase.cs:line 80
at VstsSyncMigrator.Engine.MigrationEngine.Run() in d:\a\1\s\src\VstsSyncMigrator.Core\MigrationEngine.cs:line 127
at VstsSyncMigrator.ConsoleApp.Program.RunExecuteAndReturnExitCode(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 156
at VstsSyncMigrator.ConsoleApp.Program.<>c.b__4_1(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 94
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func`2 notParsedFunc
at VstsSyncMigrator.ConsoleApp.Program.Main(String[] args) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 92

Any updates on this. Please let us know.

Thanks for poking me. I have been traveling and I'm coding from my hotel room in Ghana :).
As you can probably see in the screenshot of the code above line 266 will error out if targetEntry.Configurations is NULL. I have updated it and will push a new release...

Thanks a lot Martin. please let me know when i can test the migration

Thanks Martin.
Migration progressed further this time to second test plan but failed with the same error. Please find session details.
[Info]: vstssyncmigrator
[Info]: Running version detected as <IP_ADDRESS>
[Info]: Telemitery Enabled: True
[Info]: SessionID: d8a770b7-299c-4124-8124-091506c2ad9c
[Info]: User: XXXXX
[Info]: Start Time: 8/29/2017 5:57:22 PM
Again it fails with same error
vstssyncmigrator.exe Warning: 0 :   [EXCEPTION] Object reference not set to an instance of an object.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at VstsSyncMigrator.Engine.MigrationContextBase.Execute() in d:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\MigrationContextBase.cs:line 80
at VstsSyncMigrator.Engine.MigrationEngine.Run() in d:\a\1\s\src\VstsSyncMigrator.Core\MigrationEngine.cs:line 127
at VstsSyncMigrator.ConsoleApp.Program.RunExecuteAndReturnExitCode(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 156
at VstsSyncMigrator.ConsoleApp.Program.<>c.b__4_1(RunOptions opts) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 94
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func`2 notParsedFunc)
at VstsSyncMigrator.ConsoleApp.Program.Main(String[] args) in d:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 92
PS C:\tools\VSTSSyncMigration>

Would you be able to clone the repo and run the migration in Visual Studio? This would help isolate the issues... If you also fix the issue feel free to send a pull request...

I cloned the code and tried putting a debug point and find that the migration succeeded. Thats strange but the migrated got completed.

Meh, happens. If others report the same issue we can open this can of worms again...


Issue #271 - Added random delay in front of the api calls

Short Description:
Prevents all "[API] Requesting too fast. Retrying in 10 seconds..." notices so far.
Suggested by @robertyu in Issue #271
Changes:

added a delay to the api (0.5 - 1.5) calls, to prevent status code 52: too many requests.

@OpenPoGo/maintainers

Current coverage is 37.72% (diff: 100%)

Merging #288 into master will not change coverage

@@             master       #288   diff @@
==========================================
  Files            31         31
  Lines          1397       1397
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            527        527
  Misses          870        870
  Partials          0          0

Powered by Codecov. Last update dc5aece...e4378c1

:+1:

:+1: thanks!


Install software in Compute Node

I am using pcluster config file like:
[cluster default]
key_name = abckey
vpc_settings = public
master_instance_type = m5.2xlarge
compute_instance_type = c5.18xlarge
The Master instance created successfully
After that I write a helloworld.sh file where I use:
mpirun -np 144 ruby -v
or
mpirun -np 144 hostname
both cases it generates 2 compute nodes and throw a output file named helloworld.sh.o1
which contains 72 same hostnames and 72 other hostnames for "mpirun -np 144 hostname"
or
which contains 144 same ruby version.
Now my query is:
Instead of mpirun -np 144 hostname command I used mpirun -np 144 ruby -v and its returns 144 ruby version line. in helloworld.o1 file because AWS has default ruby installed in every instance. But I need some different fundamentals. After generating dynamically compute node by mpi command (e.g. mpirun -np 144 hostname) , I want to install some software package (e.g. imagemagic or anything which is not present in AWS instance by default)  dynamically in these compute node and there after want to see the version of this software package from compute node in helloworld.sh.o1 file. Is it possible ? if so then please help.
Thanks in advance

In order to install custom software I would recommend to look at the following options:

Custom Bootstrap Actions: allows you to define a script that is automatically executed at runtime every time a node is bootstrapped
Building a Custom AWS ParallelCluster AMI: describes how to build your own custom AMI that already contains all required software so that no runtime installation is needed when you launch new compute instances

In case you want to run an mpi program which executes a single process per node you could look at the --map-by ppr:1:node. By using -np 144 you are launching 144 processes running the specified command.
Based on the scheduler you can also use different commands to achieve the expected result.
For example with Slurm you could run sbatch -N 2 test.sh where test.sh contains the following code:
#!/bin/bash
srun hostname


Fix R_CreateImage() crash with r_logFile

Fixes a crash resulting from va() overflow. Fixes #1020.

Where are the contents of the "log file" printed? I tried that once and couldn't figure it out.

They're added into a GL log apparently, I can see that in a frame debugger:

Supposedly it should print to console with r_glDebugProfile, but that seems not to work.

Can you actually see the message there?
LGTM

Yeah, the part after "buf" (--- R_BindVBO...) is the message.


Editor area doesn't follow CMD+Backspace behavior on MacOS

Issue Summary
On MacOS, I have a habit of using  CMD+Backspace keyboard shortcut whenever I want to delete a whole line of text in the editor up to the beginning of the line.
As far as I know, this is a default behavior in any edit field in any app that I use on MacOS.
However, in Ghost editor mode, when I press CMD+Backspace, only the last character gets deleted.
This behavior can be observed in latest versions Chrome and Firefox
Steps to Reproduce

In the Ghost Posts admin page, click on "New Post" plus sign
Focus on "post body" area below "Post Title" input
Enter several letters or words in the area.
Press CMD+Backspace

Expected behavior: whole text in current line gets deleted
Actual behavior: only the last character gets deleted
https://user-images.githubusercontent.com/79406976/141865287-e3cf02f6-8b30-47a9-ac84-5353916933ed.mp4
Ghost Version
1.18.0
Node.js Version
14.18.1
How did you install Ghost?
Via the CLI on Ubuntu (DigitalOcean)
Database type
MySQL 8
Browser & OS version
Chrome 95.0.4638.69, Firefox 94.0.1
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Hi there 👋
This is an upstream issue in mobiledoc-kit.
There's quite an old spike into getting it working here: https://github.com/bustle/mobiledoc-kit/pull/636
PRS resolving this issue would be very welcome :)


Inconsistent: Network Connections Array - Jupyter

Same as #8 - Connections array missing
    {
      "sighting": "C2 - PowerShell drives network connections to C2 server",
      "id": "9e274527-31e3-438a-a401-81f05e8a29e1",
      "observables": [
        {
          "id": "79e977da-da06-43c7-a2e3-72593f60ec4b",
          "behavior": "PowerShell drives network connection attempts to C2 server.",
          "type": "Network Accessed",
          "notes": [
            "IP addresses correspond to Romania",
            "These connections seems to be the C2 channel established between the powershell execution and the actor"
          ],
          "att&ck": {
            "commandAndControl": [
              "T1071.001 - Application Layer Protocol: Web Protocols"
            ]
          },
          "process": "C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe",
          "protocol": "tcp",
          "method": "POST",
          "dstIp": [
            "45.42.201[.]248",
            "37.120.237[.]251"
          ],
          "dstPort": [
            80
          ]
        }
      ]
    }

fixed


Comparing minified size based on various tools

Hi.
I got aware of the project at the React.js HH Meetup.
Noticing you used babili, I asked myself, if you tested other compression tools, like uglify or closure.
Was there any particular reason for selecting babili?
I offer my help, if you haven't done this already before chosing babili.

Hello @PascalPflaum . I was looking for an ES6-aware minifier, since the code is never transpiled to ES5. From a quick search that I did, babili was the one that had this support, but honestly I din't do any extensive research on minifiers.
If you are interested, you are more than welcome to help 😄  ✨

I created a PR that automatically build a js and a js.gz file for babili and uglifyJS2. The gulp task then picks the smallest file for uncompressed js and compressed js.gz
#28


Mobile - Update main tabbar structure

Describe the task
Update main tabbar structure

Move Crowdloan to the Settings > General menu
Move the Mission pool to the main menu
Allow new category
Support redirect page: create whitelist dApp to open external app #1674, use appConfirmation to support show extra info for campaign

[ ] Do not show Crowdloan(check with account 5DRewsYzhJqZXU3SRaWy1FSt5iDr875ao91aw5fjrJmDG4Ap)

Version test: https://www.diawi.com/qrcode/link/v22uwG
Device test: IP 11
Validation passed.

Move Crowdloan to the Settings > General menu

Show Crowdloan
Show banner of Marketing Campaign

Move the Mission pool to the main menu

Allow new category

Support redirect page: create whitelist dApp to open external app https://github.com/Koniverse/SubWallet-Mobile/issues/1674, use appConfirmation to support show extra info for campaign1680
https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/894123ad-b458-4c03-b81b-efe4ef84345c

Install

Upgrade version