angular2-data-table.d.ts' is not a module. Please contact the package author to update the package definition

release/angular2-data-table.d.ts
line 483
add prefix keyword export is compile success
export declare module "angular2-data-table"
my environment is angular-cli

Try now please. This file is generated by the build, need to figure out how to do this automagic for now i manually added

I had the same problem, your commit fixed it. Thanks.

Typescript is sooo annoying sometimes! Let me do some research on how to package this, this is a big issue everyone is having.

The problem seems to be with the reference to core-js at the very first line. I've tried to use this file without luck.
https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/core-js/core-js.d.ts

@amcdnl
0.2.3 is non problem
Thanks!

Was wondering if one of you could do me a favor and try this out - https://github.com/swimlane/angular2-data-table/tree/better-build

There are less errors:
`ERROR in ./app/home.component.ts
(5,41): error TS2307: Cannot find module 'angular2-data-table'.
ERROR in ./app/home.component.ts
(11,8): error TS2307: Cannot find module 'angular2-data-table'.
ERROR in ./app/app.module.ts
(16,41): error TS2307: Cannot find module 'angular2-data-table'.
ERROR in ./app/app.module.ts
(21,8): error TS2307: Cannot find module 'angular2-data-table'.`

This is now on master.

It seems good :)

Finally! LOL

I may have been too fast, sorry ^^
When I do
`import { Angular2DataTableModule } from 'angular2-data-table';
import {
TableOptions,
TableColumn,
ColumnMode
} from 'angular2-data-table';`
I have a ts2307 error: cannot find module angular2-data-table.
However, the table is working well.

Ugh... ok thanks

I found when I did an import for it with 0.2.2 at least the import had to be:
import {Angular2DataTableModule} from "angular2-data-table/release/angular2-data-table";

@DanielRosenwasser Is that the best way? Wouldn't declaring the typings fix this?

How exactly do you want users to import your library?

@DanielRosenwasser Like in this format - https://plnkr.co/edit/TLx2vYlCTLsqcLwvWafd?p=preview

@Tempus35 can you try again today? Might very well be that it was fixed by #67.

The error changed:
ERROR in ...\node_modules\angular2-data-table\release\models\TableOptions.d.ts
(1,1): error TS1084: Invalid 'reference' directive syntax.

I am defining angular2-data-table  in system.config.js as 'angular2-data-table': 'node_modules/angular2-data-table' and implementing it in as import {Angular2DataTableModule} from 'angular2-data-table'
I am getting error 'cannot find module 'angular2-data-table'
We converted our application to RC5.
Please let me know what I need to do?
-Vijay

Please apply the following PRs and let us know if you are still experiencing the issue.
https://github.com/swimlane/angular2-data-table/pull/67
https://github.com/swimlane/angular2-data-table/pull/69

I changed the types to typings , but when I remove ///  from TableOptions.d.ts and made a build it is getting appended in the First line and give the same eror
Error		Build:Invalid 'reference' directive syntax  in node_modules\angular2-data-table\release\models\TableOptions.d.ts	1

I imported angular2-data-table with webpack by import {Angular2DataTableModule} from 'angular2-data-table/release/angular2-data-table'; and got an exception:
ERROR in /home/fbelov/job/projects-gramant/modeus/modeus-course-catalog/node_modules/angular2-data-table/release/models/TableOptions.d.ts
(1,1): error TS1084: Invalid 'reference' directive syntax.

ERROR in ./~/angular2-data-table/release/components/DataTable.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./datatable.scss in /home/fbelov/job/projects-gramant/modeus/modeus-course-catalog/node_modules/angular2-data-table/release/components
 @ ./~/angular2-data-table/release/components/DataTable.js 18:0-27

Is there any workaround?

For us to continue working if you give the files needed as single directory with package.json .... We can continue to work until the issue is researched and fixed.

Got the same problem :(
import {Angular2DataTableModule} from "angular2-data-table";

leads to the error zone.js:484 Unhandled Promise rejection: Template parse errors: Can't bind to 'rows' since it isn't a known property of 'datatable'.
and
import {Angular2DataTableModule} from "angular2-data-table/release/angular2-data-table";

leads to the error client:47./~/angular2-data-table/release/components/DataTable.js Module not found: Error: Cannot resolve 'file' or 'directory' ./datatable.scss in C:\www\front-portal-v2\node_modules\angular2-data-table\release\components
I'm using typescript 2.0.0 and webpack 1.13.2

Ok so the problem is just that you reference your scss in the source files, you should either use the styles property of the components and use an appropriate loader to transform your scss to css, or not import the scss files in your ts source files, and build the styles separately

Ok I went back to the original import {Angular2DataTableModule} from "angular2-data-table"; which worked fine except for the "Template parse error".
I originally import the module into a submodule where my table is, but it didn't work.
I changed my code to import it into a shared module that is imported in all my other modules, and I added it to the exports property here, and now it works.
I tried to import/export it into my root NgModule but it doesn't work, only the shared module works :-/

@ocombe:

Ok so the problem is just that you reference your scss in the source file

The release/angular2-data-table.js is only for TypeScript defs. The main file uses the umd version and I recommend you use that. In that version the scss, is built straight into the source using rollup.
The bind error is related to the table not init'ing given the error.

simple install... hour later:
I am defining angular2-data-table in system.config.js as 'angular2-data-table': 'node_modules/angular2-data-table' and implementing it in as import {Angular2DataTableModule} from 'angular2-data-table'
Leads to:
ERROR in ...\node_modules\angular2-data-table\release\models\TableOptions.d.ts
(1,1): error TS1084: Invalid 'reference' directive syntax.
Removing the
///
leads to
http://localhost:3000/node_modules/angular2-data-table/release/components/datatable.scss.js 404 (Not Found)
and now...?

I don't know if that will help some of you but we never know..
To fix this error:
ERROR in ...\node_modules\angular2-data-table\release\models\TableOptions.d.ts
(1,1): error TS1084: Invalid 'reference' directive syntax.

I have updated typescript to 2.0.0 - previously in 1.8.0
To fix this error:
Template parse errors: Can't bind to 'rows' since it isn't a known property
I have updated angular to rc5 - previously in rc4
It also raised another error about types core-js not find so I installed @types/core-js via npm
Since I did many trials I wouldn't guaranty the execution order.
Hopefully that helps.

In the sytem.config.js I Implement 'angular2-data-table': 'node_modules/angular2-data-table' and in the shared module I import it as import {Angular2DataTableModule} from "angular2-data-table";  I am getting Build : Invalid 'reference' directive syntax and it is pointing to ///  in Tableoption.d.ts.
I am not sure what I need to do have it working. If someone can give me some detail work around that will help. I tried to implement what @GoNode5  mentioned but could not do so. I am not sure where I need to implement it. I also looked into the package.json to see if the version are different and it is rc5 and typescript 2.0.0
It will be helpful if someone can post the code so I can try it out.

Also stuck on this issue, got angular2-data-table/release/models/TableOptions.d.ts(1,1): error TS1084: Invalid 'reference' directive syntax.

I have the same issue with the error: node_modules\angular2-data-table\release\models\TableOptions.d.ts (1,1): error TS1084: Invalid 'reference' directive syntax.

Can you guys try again in latest release 0.3.0 ?

No still Invalid reference directive syntax.
I added 'angular2-data-table': 'node_modules/angular2-data-table' in system. config and Imported in shared module (import {Angular2DataTableModule } from "angular2-data-table";).
When I build I am getting the Invalid reference directive syntax error.

Try the UMD build one.

Can you help me how to define?
Is this how to define?
'angular2-data-table': 'node_modules/angular2-data-table/release/angular2-data-table.umd.js'
import {Angular2DataTableModule } from "angular2-data-table

As @ben-go mentioned, I was able to resolve error TS1084: Invalid 'reference' directive syntax. by switching to Typescript 2
As my understanding, typescript 2 is still under beta, so for the one who are willing to take risks, here are my steps:

npm install --save-dev typescript@beta
npm install --save-dev @types/core-js @types/jasmine @types/node
rm -r typings* Caution!: I did this to remove old definitions that are no longer needed.
remove "postinstall": "typings install" in packages.json as it is no longer needed also.
add those to tsconfig.json:

"compilerOptions": {
    ...
    "types": [
        "core-js",
        "jasmine",
        "node"
    ]
}

U shouldn't need this anymore, can u try w/ latest?

@amcdnl I had just updated to 0.3.3 (previous post was like 0.2.5). Building was fine, but I still got ```
Error: Uncaught (in promise): Template parse errors:
Can't bind to 'row' since it isn't a known property of 'datatable-body-row'.

Also, you had mentioned UMD build, but I don't know how to set it up in webpack. any hints? Thx

One more update, I found out that the
Error: Uncaught (in promise): Template parse errors:
Can't bind to 'row' since it isn't a known property of 'datatable-body-row'.

issue was introduced by rc5, as stated under this: https://github.com/angular/angular/issues/10618
So, the temporary workaround is to add
plugins: [
    ...
    new webpack.optimize.UglifyJsPlugin({ mangle: { screw_ie8 : true, keep_fnames: true } })
]

to webpack.prod.config

So I think we are good now :)

C:\Projects\MGM\mandatory-webapp\node_modules\angular2-data-table\release\components\body\body-cell.component.d.ts
Error:(9, 5) TS2300: Duplicate identifier 'readonly'.

I have lot errors from angular2-data-table

@TakhirMirzaev can you paste the errors?

I'm getting bunch (around 80) of such errors:
Build: '=' expected.	\node_modules\angular2-data-table\release\components\body\body-cell.component.d.ts	9
I've grabbed the latest angular2-data-table sources. No clue why that's happening...

What node version...we only support >=6


ScreenshotPlugin: Capture theatre of blood rewards

Updated to use the widgetLoaded event, resulting in much more consistent screenshots. Worked 5/5 times at ToB and Barrows

5 more ToB completions and still 100% success. Just need testing at Raids 1


Added three free Italian video courses

Fixed a couple of links to topics in the page
Removed a course that is accessible only to students of the university which made the course
Added three courses

What does this PR do?
Add Resources | Remove Resource
For resources
Description
Added three courses from Politecnico di Torino
Removed one course which is not actually available to everyone (only to students of Politecnico di Torino who have an account and access to the page)
Why is this valuable (or not)
More free courses
How do we know it's really free?
They're simple playlists on youtube, freely available to everyone
For book lists, is it a book?
No, it's for a courses list
Checklist:

[✔] Not a duplicate
[✔] Included author(s) if appropriate
[✔] Lists are in alphabetical order
[✔] Needed indications added (PDF, access notes, under construction)

Nice work. welcome to free-programming-books!

I just lost my pull request virginity to this repo. First time in my life! Thank you!


create3_sim: 1.0.2-1 in 'galactic/distribution.yaml' [bloom]

Increasing version of package(s) in repository create3_sim to 1.0.2-1:

upstream repository: https://github.com/iRobotEducation/create3_sim.git
release repository: https://github.com/ros2-gbp/create3_sim-release.git
distro file: galactic/distribution.yaml
bloom version: 0.11.1
previous version for package: 1.0.1-1

irobot_create_common_bringup
* update changelog
* Contributors: Alberto Soragna

irobot_create_control
* fix dependency tree of create3_sim packages (#177 <https://github.com/iRobotEducation/create3_sim/issues/177>)
* update changelog
* remove minimum version requirement
* Contributors: Alberto Soragna

irobot_create_description
* fix dependency tree of create3_sim packages (#177 <https://github.com/iRobotEducation/create3_sim/issues/177>)
* update changelog
* Contributors: Alberto Soragna

irobot_create_gazebo_bringup
* fix dependency tree of create3_sim packages (#177 <https://github.com/iRobotEducation/create3_sim/issues/177>)
* fix setting environment variable GAZEBO_MODEL_PATH for aws models (#174 <https://github.com/iRobotEducation/create3_sim/issues/174>)
* 1.0.1
* update changelog
* Contributors: Alberto Soragna, crthilakraj

irobot_create_gazebo_plugins
* update changelog
* Contributors: Alberto Soragna

irobot_create_gazebo_sim
* fix dependency tree of create3_sim packages (#177 <https://github.com/iRobotEducation/create3_sim/issues/177>)
* 1.0.1
* update changelog
* Contributors: Alberto Soragna

irobot_create_ignition_bringup
* fix dependency tree of create3_sim packages (#177 <https://github.com/iRobotEducation/create3_sim/issues/177>)
* update changelog
* Contributors: Alberto Soragna

irobot_create_ignition_plugins
* 1.0.1
* update changelog
* Contributors: Alberto Soragna

irobot_create_ignition_sim
* fix dependency tree of create3_sim packages (#177 <https://github.com/iRobotEducation/create3_sim/issues/177>)
* update changelog
* Contributors: Alberto Soragna

irobot_create_ignition_toolbox
* Renamed Ignition Toolbox libraries (#178 <https://github.com/iRobotEducation/create3_sim/issues/178>)
  * Renamed Ignition Toolbox libraries
  * Pre-pend library names with irobot_create_ignition
* update changelog
* Contributors: Alberto Soragna, roni-kreinin

irobot_create_nodes
* update changelog
* Contributors: Alberto Soragna

irobot_create_toolbox
* update changelog
* Contributors: Alberto Soragna

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/preparing-for-galactic-sync-2022-05-06/25405/3

Thanks.


ARM support for Linux

Hey @bab2min,
Thanks again for adding ARM support! Everything compiles great on Mac. I also tried compiling on Linux, but ran into this error:
/home/runner/work/tomoto-ruby/tomoto-ruby/vendor/tomotopy/src/TopicModel/../Utils/EigenAddonOps.hpp:119:35: error: cannot convert 'const Packet4f' {aka 'const __vector(4) float'} to 'int32x4_t' {aka '__vector(4) int'}
  119 |    return vcvtq_f32_s32(vandq_s32(a, vdupq_n_s32(1)));
      |                                   ^
      |                                   |
      |                                   const Packet4f {aka const __vector(4) float}
In file included from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/eigen/Eigen/src/Core/util/ConfigureVectorization.h:392,
                 from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/eigen/Eigen/Core:22,
                 from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/eigen/Eigen/Dense:1,
                 from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/tomotopy/src/TopicModel/../Utils/serializer.hpp:10,
                 from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/tomotopy/src/TopicModel/../Utils/Dictionary.h:9,
                 from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/tomotopy/src/TopicModel/TopicModel.hpp:5,
                 from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/tomotopy/src/TopicModel/LDAModel.hpp:4,
                 from /home/runner/work/tomoto-ruby/tomoto-ruby/vendor/tomotopy/src/TopicModel/DT.h:2,
                 from ../../../../ext/tomoto/dt.cpp:1:
/usr/lib/gcc-cross/aarch64-linux-gnu/9/include/arm_neon.h:1565:22: note:   initializing argument 1 of 'int32x4_t vandq_s32(int32x4_t, int32x4_t)'
 1565 | vandq_s32 (int32x4_t __a, int32x4_t __b)
      |            ~~~~~~~~~~^~~
make: *** [Makefile:240: dt.o] Error 1

Thoughts on supporting ARM Neon on Linux as well?

Looks like this was added in #200 - thanks @claudinoac and @bab2min!


In CI, refresh nltk_data cache if the hash of index.xml differs from the cached hash

Rather than simply caching nltk_data until the cache expires and it's forced to re-download the entire nltk_data, we should perform a check on the index.xml which refreshes the cache if it differs from some previous cache.
I would advise doing this in the same way that it's done for requirements.txt:
https://github.com/nltk/nltk/blob/59aa3fb88c04d6151f2409b31dcfe0f332b0c9ca/.github/workflows/ci.yaml#L103
i.e. with ${{ hashFiles('...') }} using a downloaded index.xml from https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/index.xml. Alternatively, with some other hash function.
References:

HashFiles documentation: https://docs.github.com/en/actions/learn-github-actions/expressions#hashfiles

Tom Aarsen

Hey @tomaarsen, I would like to try working on this problem. Could I be assigned?

Sure!

I'm a little confused with this as it's my first issue where I'm handling CI. Could you provide me with some resources where I could read up a little to understand the problem better? @tomaarsen

The GitHub CI is a bit of a fickle beast, simply because (seemingly) the only way to test the performance of it, is to push a commit to GitHub and observe it there. You can't easily test it locally.
That said, the documentation of GitHub Actions as a whole is here: https://docs.github.com/en/actions. Furthermore, https://docs.github.com/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python?langId=py seems like a really nice resource. Beyond that, we use https://github.com/actions/cache for caching. There's some examples here: https://github.com/actions/cache/blob/main/examples.md#python---pip. As you can see, the hashFiles function is used on a specific file as a part of the cache "key". With other words, if the file changes, then the key changes, and then it can't find a cache, and it won't use a cache. However, the result of the next action will be stored in the cache using the key, allowing future runs to use the cache. This is essentially what we want, except not with a requirements.txt, but with the index.xml contents from https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/index.xml. (This is a core nltk_data file that specifies which packages exist in nltk_data, alongside some information like checksums and package size. If nltk_data is updated, then this file is also going to be updated).
An option might be to prepend a "regular" GitHub action step that fetches index.xml before the nltk_data caching step. The index.xml contents or hash might be placed in some variable (not sure how - haven't done that before I believe), allowing the caching step to use the index.xml contents to create a cache key.
I hope that helps a bit.

I can access the GitHub Action caches via the UI now, so this should no longer be needed.


Adding ARM network module and samples

This PR adds the ARM network module, along with a CHANGELOG, README, ci.yml and examples.

/check-enforcer override


No  .log files at ~/.voltron

I've enabled debug_logging in my config(default.cfg), but in ~/.voltron/  wasn't created voltron_debugger.log and voltron_main.log files :(
All's  working with LLDB. This problem is just with GDB. Mac OS X 10.11.3

Please enable debug logging per the README file in ~/.voltron/config rather than in the default.cfg.

On 23 Feb 2016, at 9:57 PM, dianapinkberry<EMAIL_ADDRESS>wrote:
I've enabled debug_logging in my config(default.cfg), but in ~/.voltron/ wasn't created voltron_debugger.log and voltron_main.log files :(
All's working with LLDB. This problem is just with GDB. Mac OS X 10.11.3
—
Reply to this email directly or view it on GitHub https://github.com/snare/voltron/issues/107.


Open email - Nguyen

Request for @awhb to test on Mac OS.
Request for @Singa-pirate to test on Ubuntu.


Added getvmsbycluster.py Sample script that provides vm placement inf…

In addition to the info provided by getallvms I also needed the host/cluster placement info of the vm and the ability to export to json.
I'm not attached to the csv export functionality and was thinking about removing it for my own purposes and grabbing all of IPs and macs on the vm instead of just getting vm.summary.guest.ipAddress.
Other thoughts included adding a check to see if silent was specified without an export option and adding a more verbose screen print.

@tianhao64

@chupman Thanks for the sample. I added a couple of comments, can you take a look?

tested with 2.7.5, 2.7.12, 3.4.5, and 3.5.1. Output changed to json since making a decent looking console output that supported all the information fields would require a good chunk of irrelevant code.


Docker image for cardano node

I will be involved in a project involving cardano in coming days. I will eventually have to containerize the cardano node, so I wanted to express my interest to add a contribution here.

[ ] Create Dockerfile for image with default settings
[ ] Add script to read configuration options from environment variables.
[ ] Setup CI for automatic update on hub.docker.com

Following! I'm interested to host a node using Docker as well :-)

Following! I'm interested to host a node using Docker as well :-)
I found this repo via the docs: https://testnets.cardano.org/en/cardano/get-started/installing-and-running-the-cardano-node/running-the-node-using-docker/

Clicking in this link I'm being redirected to https://developers.cardano.org/

Only the subdomain is different, try this linke instead: https://developers.cardano.org/en/testnets/cardano/get-started/installing-and-running-the-cardano-node/running-the-node-using-docker/

Maybe its worth mentioning there is an official docker image at dockerhub https://hub.docker.com/r/inputoutput/cardano-node

@robinboening thank you. Any instructions about the configs?

@pascalandy If you are familiar with docker-compose, Here is an example
https://github.com/input-output-hk/cardano-graphql/blob/master/docker-compose.yml

Thank you @mesudip ! Yes I am and I run many things in prod using docker, compose and stacks :)
Now, where do we find all the configs to set up ? The obvious one would be ENV_WALLET_ADDRESS. I'm sure there is more.
Thanks again

@mesudip With respect, I think the issuse that @pascalandy is trying to express is that your documentation has no real information regarding environment variables or configurations. This is a real issue I've noticed with this project and it really affects developer adoption.

Please also check some details here > https://docs.cardano.org/getting-started/installing-the-cardano-node
We'd appreciate it if you could raise development issues directly in this repository:
https://github.com/input-output-hk/cardano-node/tree/master/doc/getting-started


What permissions to give a cluster role in able to see metrics.

Describe the bug
I have a production cluster running a prometheus server already but when I create a cluster role to put view-only users on my team in (very restrictive), metrics are not visible.
What permissions are needed for this?
My current Cluster Role
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: view-only
rules:
- apiGroups:
    - "*"
  resources:
    - bindings
    - componentstatuses
    - configmaps
    - endpoints
    - events
    - limitranges
    - namespaces
    - nodes
    - nodes/metrics
    - persistentvolumeclaims
    - persistentvolumes
    - pods
    - pods/logs
    - podtemplates
    - replicationcontrollers
    - resourcequotas
    - serviceaccounts
    - services
    - mutatingwebhookconfigurations
    - validatingwebhookconfigurations
    - customresourcedefinitions
    - apiservices
    - aplogconfs
    - appolicies
    - apusersigs
    - controllerrevisions
    - daemonsets
    - deployments
    - replicasets
    - statefulsets
    - tokenreviews
    - localsubjectaccessreviews
    - selfsubjectaccessreviews
    - selfsubjectrulesreviews
    - subjectaccessreviews
    - horizontalpodautoscalers
    - cronjobs
    - jobs
    - certificatesigningrequests
    - leases
    - eniconfigs
    - endpointslices
    - targetgroupbindings
    - events
    - ingresses
    - globalconfigurations
    - policies
    - transportservers
    - virtualserverroutes
    - virtualservers
    - alertmanagerconfigs
    - alertmanagers
    - podmonitors
    - probes
    - prometheuses
    - prometheusrules
    - servicemonitors
    - thanosrulers
    - ingressclasses
    - ingresses
    - networkpolicies
    - runtimeclasses
    - poddisruptionbudgets
    - podsecuritypolicies
    - clusterrolebindings
    - clusterroles
    - rolebindings
    - roles
    - priorityclasses
    - csidrivers
    - csinodes
    - storageclasses
    - volumeattachments
    - securitygrouppolicies
  verbs:
   - get
   - watch
   - list

I am having a similar scenario:

multiple teams on one cluster
each team gets a single namespace
each team gets a single Role and RoleBinding in their namespace
no clusterroles are binded to the team members, yet

what else can i give them so that they can see the metrics in lens?

Can you try adding these resources as well?
      - services/proxy
      - services/portforward

(portforward only if you need this feature)

@cbluth Did you get this working?

@jim-docker
yeah, here is the template im using, apply it to the lens-metrics namespaces:
# role
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: lens-metrics
  name: read-only-lens-metrics
rules:
- apiGroups:
  - ""
  - "apps"
  resources:
  - pods
  - events
  - services
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - ""
  resources:
  - "services/proxy"
  verbs:
  - create

# role binding
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  annotations:
  namespace: lens-metrics
  name: vendor-read-metrics
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: read-only-lens-metrics
subjects:
- kind: Group
  name: ${SOMEGROUP1}
  apiGroup: rbac.authorization.k8s.io
- kind: Group
  name: ${SOMEGROUP2}
  apiGroup: rbac.authorization.k8s.io


Delayed Response from Apple's APNS Server using HTTP/2

My project is using Pushy Library to send APNS to iOS devices from last one year, recently we upgraded Pushy to use HTTP/2 mechanism for sending APNS. (our application is in Java 8)
It works as it supposed to in our test environment, but when We installed it on client's machine we are getting following error:
io.netty.handler.ssl.ApplicationProtocolNegotiationHandler.handshakeFailure : [id: 0x581db609, L:/IP-Address:58781 - R:api.push.apple.com/<IP_ADDRESS>:443] TLS handshake failed: javax.net.ssl.SSLException: handshake timed out
I checked for everything available on forums but nothing seems to help.
As a last resort I tried looking into Wireshark to see the difference between my test environment & client environment, what I see is the "Server Hello" message is getting delayed due to which the connection times out.
Snapshot of WireShark Capture:

You can see the delay in "Server Hello" & what I observed the "Server Hello" always comes after "Close Notify" is sent by a client, exactly after 10 seconds. As per my understanding its done by the client to say we are timing out on the connection.
I tried increasing connection time-out value in Pushy, but it did not work, but that may be a different question, I think.
Can someone tell me what are we doing wrong? Is there some setting we have to do on client's network to enable HTTP/2? Is there something I have to change in Pushy Library?

FYI: I have posted same over StackOverflow, Link:
https://stackoverflow.com/questions/45500359/delayed-response-from-apples-apns-server-using-http-2

Hello!
This sounds more like a request for general support than it does like a bug report or a feature request. We generally ask people to move these kinds of questions to the Pushy mailing list because:

The mailing list has a wider audience, and you're more likely to find somebody who has experience with your particular circumstances on the mailing list.
Posting your question to the mailing list can help other people who are having the same problem.
Because there isn't (I think!) a bug to fix or a feature to add, we can't reasonably solve your problem by making any kind of engineering change.

To be clear, I acknowledge that whatever is going wrong here is technical in nature, but it seems unlikely to be a bug in Pushy itself (if it were in Pushy, it seems like many more people would be having this problem). I suspect there might be something fishy going on with a firewall or some other piece of network configuration.
I emphasize that we'd be happy to help, but let's move this conversation to a different venue. Thanks!


examples: add public deployment of LinearLite

Depends on https://github.com/electric-sql/electric/pull/1886
Uses Electric Cloud & sst.dev to deploy Linearlite.
TODO:

[ ] Add github action to deploy the site

Superseded by #1929


Append Elements when Closing

An implementation of https://github.com/google/incremental-dom/issues/214#issuecomment-191817487.

After looking at this, I'm not sure that this change is worth making.
Primarily, I'm focused on mobile browsers and this change really only helps Firefox, which has about 0.7% usage of mobile browsers. In exchange, we would be increasing payload for 99.3% of users without a tangible benefit. At the same time, we would be increasing the code complexity.

I'm seeing some impressive improvements on my iPhone 5S and Galaxy S6:

Test
Phone
Old
New

Mutation High
Galaxy
4.4
4.5

Mutation High
5S
3.7
6.4

Mutation Creation
Galaxy
14.9
14

Mutation Creation
5S
8.4
11

List Creation
Galaxy
14.2
16

List Creation
5S
9
12.4

List Selection
Galaxy
1.3
3.4

List Selection
5S
1.6
4.2

Since no DOM insertions occur outside of the creation tests, those ones shouldn't be relevant. If you are seeing significant differences, there could be a problem with the tests / how they are being measured.
I'm not sure I'm reading your table correctly. Is it time in ms for the test? What is old/new?


Remove side effect of the handles method

Bugsquad edited:
Fix partially https://github.com/godotengine/godot/issues/70688
I tracked down the cause of the problem, but I am not sure the fix is appropriate, as I am not familiar enough with the editor code.
The cause of the problem is that, when the inspector panel is on, selecting a Path3D object will generate two calls to Node3DEditorPlugin::handles(Object *p_object). In the first call, the p_object parameter is the Path3D object itself, so the gizmo is turned on.
However in the second call, generated by the inspector to test if inner resources can be handled by editor plugins
https://github.com/godotengine/godot/blob/0160fea1ced6697d5b72ad2f41332e8768080be4/editor/editor_properties.cpp#L4114-L4120
the parameter is a Curve3D, the inner resource of "Path3D". Because the side effect of the handles method, the gizmos is turned off again, hence the problem. When the inspector panel is off, there is no second call, hence no problem.
Removing the side effect from "handles" method solve current problem, but based on the comments, it may cause problem in places where side effect is desired. But I think those place should clear gizmo explicitly, or call a version that contains side effect.

As I commented in https://github.com/godotengine/godot/issues/70688#issuecomment-1370637385, there are too many objects affected by this method and I feel that other methods should be investigated. At worst, it may be better to revert #70696.

While on the surface this hacky code seems unnecessary, it was added recently for a reason: https://github.com/godotengine/godot/pull/61292
Ultimately, it boils down to the overall issue with how edited objects are tracked. But either way it seems to be necessary for now. cc @KoBeWi

This will reopen #13849

Is this still needed after #70909?

Yeah, as I said in #70914, regardless of #70909 there is a problem that is causing a little bit of a drawing problem in Editor. This eliminates the bug in Editor due to the inspector status, but https://github.com/godotengine/godot/issues/13849 will reopen.

@akien-mga With this fix, the SkeletonEditor display is now proper, regardless of whether the subinspector is opened or closed:
Before (hidden bone gizmo):

After this fix:

This also fixes a bug in Path3D caused by opening and closing the Curve inspector.
https://user-images.githubusercontent.com/61938263/210781168-a155e34c-c403-459c-8669-a76ca2696925.mp4
However, there is remaining problem is that the CollisionPolygon and Path3D editors can still be broken by opening and closing the Sctipt SubInspector. I think it depends on the update order of the inspector.
Well, since this PR was implemented as a hack in #61292 for #13849 in the first place, it will need to be reverted at some point anyway. To fix it completely, we need to do a radical fix after these reverts, as discussed in RocketChat with @YuriSizov and @KoBeWi.

In fact, if there is no good way to solve #13849, changing the condition to else if (p_object->is_class("Node")) may be a compromise.


Release Tracking

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

#2200 1b770f90 Thanks @TylerJDev! - Add rubocop linter for Truncate component

#2207 ba01f4e9 Thanks @langermank! - Bump Primitives v7.12.0

Patch Changes

#2203 3f504021 Thanks @orhantoy! - Fix guide URLs (in lib/primer/deprecations.yml)

#2192 73fc40bb Thanks @camertron! - ActionMenu: Don't allow items to be unchecked in single-select mode

#2202 d7da4012 Thanks @camertron! - Label BorderBox lists with their header

#2190 0a9bcda2 Thanks @radglob! - Updates Primer::Beta::Button.with_tooltip to not accept :label type.

#2201 ba90a43d Thanks @kintner! - add aria-invalid when fields are invalid

Dotcom integration PR (internal only): https://github.com/github/github/pull/284653


The difference between HelmholtzMedia and Modelica.Media?

I am planning to choose a base media library for my model, I am interested in this library, but I am not sure what the difference is between HelmholtzMedia and Modelica.Media, could you give me some clue about it?
I read the paper about this library but didn't get a clue. It would be more user-friendly with an illustration about why we need this new library other than Modelica.Media.

Hi,
Modelica.Media defines interfaces for different fluids, and implements some fluids also (water, R134a, many gases, ...).
HelmholtzMedia extends from one Modelica.Media interface:
https://github.com/thorade/HelmholtzMedia/blob/master/HelmholtzMedia/Interfaces/PartialHelmholtzMedium/package.mo#L9
Based on this interface, it implements some refrigerants (R134a, butane, CO2, others) , using similar or identical algorithms as RefProp. These algorithms are assumed to be very accurate, but also computationally heavy, so not super fast.
So the first question is: What fluid are you interested in? And do you need to model phase change?

I am using supercritical CO2 as my working fluid, but there are gonna be transcritical and phase change processes in the loop, such as evaporation and condensation, and so on.

OK, that sounds like PartialTwoPhaseMedium is the interface that you want (pure fluid, with phase change). CO2 is already implemented in HelmholtzMedia. CO2 with phase-change is not available in Modelica.Media. You could also investigate using ExternalMedia+CoolProp. Both HelmholtzMedia and ExternalMedia extend from Modelica.Media, so that you can also switch between them later on with acceptable effort.
You could also try to get input on the best approach from @casella, he is also interested in CO2 (as probably many more researchers).

I also notice the MultiPhaseMixtureMedia, I see that it is a try to extend the scope of Modelica.Media. Considering there are a few different libraries such as Modelica.Media, ExternalMedia, MultiPhaseMixtureMedia, and some new libraries like FreeFluidsModelica, BrineProp, the media modeling is definitely evolving, I remember that there is a ppt from Casella showing that there is a modification plan about Modelica.Media, but I am not sure if there is a schedule to finish it. Now let's just wait and see what it is gonna be evolving into.


Can not finish install script due to minio #13181

While run install script, the minio pod crash due to binary minio move to /opt as issue at https://github.com/minio/minio/issues/13181.

Currently work-around is to redeploy minio pod:
kubectl apply -f $BASE_DIR/infrastructure/minio.yml
kubectl delete pod minio-0


Grid fixed column

Is there any possibility to fix first or last column?
It will be good for line numbers, or action buttons, when table is too wide
STH like this http://www.jeasyui.com/tutorial/datagrid/datagrid5_demo.html

Hi,
I know this is a pretty old chain, but has there been any progress on the column freezing?
Thanks.

@jroddrof frozen/fixed columns are implemented in 1.5, simply add frozen: true to the column properties.
Example: https://jsfiddle.net/e9ggtox9/4/

Just to make sure, is 1.5 stable?

yes


Custom repository cannot be added, integration cannot be installed

I've tried using the My button in the ReadMe as well as manually within HACS, but either way it turns out saying the repository cannot be found.
Any suggestions?

Hey, for me the link is working. Can somebody else confirm this? What exactly is the URL you are trying to add manually and what other options are you selecting?

Thanks guys, I've now had a chance to try using a desktop (I work on HA mainly using Android phones and tablets), and it worked fine - go figure. Perhaps a HACS or HA issue? I'll report it to them if it happens again with another integration.
I've just started trying things out, looks perfect for what I'm trying to achieve, thanks!


Option to include the section number in a cross-reference

If the :sectnums:  I think the cross-reference should include the section numbers or at least you should offer an option for it.

In other words, the challenge is how and where to describe this. We know where to change the code. What we need to figure out how to tell the code what to write out.

I suggest to do it like DocBook
 results from example in Section 31.8, “Create the initial product export” in one of my documents. I think that is a pretty decent result.

The problem is, we can't do it just one way, because different people working in different scenarios will want different behavior. We have to have a way to specify it. (I'm also thinking this is an opportunity for an extension point to make further customization possible).

Just to explain this issue a bit more. I use frequently cross-links in my printouts for example:
See <> to learn how to do this.
This may result in:
See "Creating a template folder in Android Studio" to learn how to do this.
Unfortunately without section this is very hard to print in a > 400 pages printout. Desired would be to have the section number:
See "4.5.2 Creating a template folder in Android Studio" to learn how to do this.

I assume https://github.com/asciidoctor/asciidoctor-pdf/blob/1d7c91fbc1be7ec67200a5098989627396bdb0db/lib/asciidoctor-pdf/converter.rb#L1646 is the correct place to change this.

I would like to start with this. From my understanding we need to implement this in the core, so that the reftext that gets accessed by the converter is already set correctly, is that right?
reftext = node.document.references[:ids][refid]

@fap- thanks for starting to work on this. The index (recently added) and the table of context already include the section number. So I assume this information is already available for the converter and no change is required.
@mojavelinux please feel free to correct me.

From what I've seen the information is there but it isn't connected. (we can't get a section instance, who knows about it's sectnum, by it's refid)
asciidoctor/asciidoctor#858 and asciidoctor/asciidoctor#1132 seem to have a broader scope but I'm not sure if I understand everything correctly, as I haven't had prior experience with either AsciiDoctor or AsciiDoc.
My proposal would be to introduce {sectnum} and {sectname}.
{sectnum} getting substituted with section.sectnum and {sectname} with section.name.
So we could have:
:section-label: {chapter-label} {sectnum} {sectname} // global default

[id="X2",reftext="{chapter-label} {sectnum}"] // local
== Paragraphs

I think the right place to substitute would be in Parser.initialize_section but at this point the Section.number is still set to the default of '1' and only gets set  correctly when the Section later gets added to it's parent.

@fap- maybe you can provide a PR for your suggestion? I know @mojavelinux is currently busy at the Devvox conference.
We have a clone at @vogellacompany which you can use for it. If you can adjust our Gradle script to use the vogellacompany clone, I can also test it with our PDF scripts.

@mojavelinux could you look at @fap- pull request? @fap- is available to adjust the pull request based on feedback from you.

Can this issue be targeted for the next pdf release? Without it references in printed material are not usable. We using a patched version with the patch from @fap-  included since > 6 months and we are very happy with the result.

Absolutely. The only hold up was that we needed to set the behavior in core (which defines terminology, settings, and expectations). With that in place, it's almost trivial to add this to Asciidoctor PDF because all the hard work is done.
As you can probably tell by now, I don't add features until I can be sure they fit consistently. But when we do it right, we get a lot more than just the feature in front of us.

To prove my point, the way I implemented this feature in core, you don't even have to think about how to make formal cross reference text. It just happens automatically now...and it can be tuned using the xrefstyle attribute. Thus, your example from above can be written as:
:xrefstyle: full

See <<createtemplate>> to learn how to do this.

//...

==== Creating a template folder in Android Studio

And you'll see:
See “Section 4.5.2, Creating a template folder in Android Studio” to learn how to do this.

There's still an open question about whether to allow the word "Section" to be dropped.
See 4.5.2, “Creating a template folder in Android Studio” to learn how to do this.

As it stands now, the xref won't show the number if you unset section-caption (e.g., :!section-caption:). Perhaps we should support that scenario. wdyt?

There's still an open question about whether to allow the word "Section" to be dropped.

Would be nice to have the option to drop the "section". But having the correct section link included in the printed text is much more important, so if that is hard to do I think it is OK to have the section included.

Consider it done.

This is now ready to test in Asciidoctor PDF. See #834.


[Sema] Allow weak/unowned types when checking Hashable/Equatable conformance

This PR fixes an issue with Equatable and Hashable conformance checking, where it won't look through a ReferenceStorageType.
The following code works as expected now:
struct Foo: Equatable, Hashable {
    weak var foo: Bar?
    unowned var bar: Bar
}

class Bar {
   let bar: String

   init(bar: String) {
     self.bar = bar
   }
}

extension Bar: Equatable, Hashable {
  static func == (lhs: Bar, rhs: Bar) -> Bool {
        return lhs.bar == rhs.bar
  }

  func hash(into hasher: inout Hasher) {}
}

Related Swift forums thread:
https://forums.swift.org/t/struct-with-weak-member-prevents-synthesized-equatable/19778

@dlindenkreuz This won't make 5.0, but will be available in 5.1.


Adding the EC Logo

this logo prolly wont work for us cause its white text, and will appear on a white background. ill fix it up though.


Use protocol/v2

Description
Upgrade datachannel to protocol/v2 for consistency.

Was upgrade by 5d80d2b258a569d7823e0a1a427c90b387615b26
Sorry I missed this @asnyatkov


Sleep calculator

Fixes Issue🛠
Closes #153
Description👨💻
Added Sleep calculator based on age and activity level.
Type of change📄

[] New feature (non-breaking change which adds functionality)

How this has been tested✅
I tested with different ages and got the required results. Error messages were also displayed as expected.

Checklist✅

[] 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 added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

Screenshots/GIF📷

Good, Merged!! Congrats on getting your PR merged to this repo under SWOC S4 🎉🎉 @PRASUN-SITAULA


API Panics after upgrade from 2.4.5 (k3s,HA)

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Install k3s 2.4.5 HA Cluster
Deploy another cluster with nodes
Upgrade to 2.4.6
Upgrade to 2.4.7
Upgrade to 2.4.8
Add a bitbucket pipeline and try to run it (worked on 2.4.6)

Result:
Receiving API Kernel panics for example, when running a new Pipeline a retrigger of a pipline works well.
Other details that may be helpful:

2020/09/08 04:58:47 [ERROR] Panic serving api request:
goroutine 13270 [running]:
runtime/debug.Stack(0xc0066627c0, 0x37776c0, 0x6e16430)
	/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
github.com/rancher/rancher/vendor/github.com/rancher/norman/api.(*Server).ServeHTTP.func1(0x480c000, 0xc0165fe090)
/go/src/github.com/rancher/rancher/vendor/github.com/rancher/norman/api/server.go:175 +0x7a
panic(0x37776c0, 0x6e16430)
	/usr/local/go/src/runtime/panic.go:679 +0x1b2
github.com/rancher/rancher/pkg/pipeline/remote/bitbucketcloud.(*client).GetHeadInfo(0xc015a13c80, 0xc00252d2c0, 0x32, 0xc0086ae080, 0x7, 0xc012f226e0, 0x94, 0x0, 0x0, 0x4862760)
	/go/src/github.com/rancher/rancher/pkg/pipeline/remote/bitbucketcloud/client.go:302 +0x369
github.com/rancher/rancher/pkg/api/customization/pipeline.(*Handler).getBuildInfoByBranch(0xc000f2d980, 0xc001595000, 0xc0086ae080, 0x7, 0xc001595000, 0xc0086ae080, 0x7)
	/go/src/github.com/rancher/rancher/pkg/api/customization/pipeline/pipeline.go:239 +0x129
github.com/rancher/rancher/pkg/api/customization/pipeline.(*Handler).run(0xc000f2d980, 0xc0134bb9e0, 0xc0143ae101, 0xc001453860)
	/go/src/github.com/rancher/rancher/pkg/api/customization/pipeline/pipeline.go:117 +0x336
github.com/rancher/rancher/pkg/api/customization/pipeline.(*Handler).ActionHandler(0xc000f2d980, 0xc0084506d2, 0x3, 0xc00ecc8da0, 0xc0134bb9e0, 0xc001453860, 0xc015862e40)
	/go/src/github.com/rancher/rancher/pkg/api/customization/pipeline/pipeline.go:75 +0x330
github.com/rancher/rancher/vendor/github.com/rancher/norman/api.handleAction(0xc00ecc8da0, 0xc0134bb9e0, 0x0, 0x0)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/norman/api/server.go:263 +0x62
github.com/rancher/rancher/vendor/github.com/rancher/norman/api.(*Server).handle(0xc000032dc0, 0x480c000, 0xc0165fe090, 0xc0014fa000, 0xc004d74d08, 0x1232e7f3, 0x55025dbb5dfc4a0a)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/norman/api/server.go:251 +0xd2
github.com/rancher/rancher/vendor/github.com/rancher/norman/api.(*Server).ServeHTTP(0xc000032dc0, 0x480c000, 0xc0165fe090, 0xc0014fa000)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/norman/api/server.go:180 +0x99
github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter.ContentTypeOptions.func1(0x480c000, 0xc0165fe090, 0xc0014fa000)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter/cache.go:47 +0x131
net/http.HandlerFunc.ServeHTTP(0xc00ecc8d40, 0x480c000, 0xc0165fe090, 0xc0014fa000)
	/usr/local/go/src/net/http/server.go:2007 +0x44
github.com/rancher/rancher/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc00004de00, 0x480c000, 0xc0165fe090, 0xc00262a400)
	/go/src/github.com/rancher/rancher/vendor/github.com/gorilla/mux/mux.go:212 +0xe2
github.com/rancher/rancher/pkg/auth/requests.authHeaderHandler.ServeHTTP(0x47d1580, 0xc0014cf7e0, 0x4792c40, 0xc00004de00, 0x47d1540, 0xc001470fc0, 0x480c000, 0xc0165fe090, 0xc00262a400)
	/go/src/github.com/rancher/rancher/pkg/auth/requests/filter.go:62 +0x4eb
github.com/rancher/rancher/pkg/rbac.NewAccessControlHandler.func1(0x480c000, 0xc0165fe090, 0xc001cd8100, 0x4791c00, 0xc0011b8990)
	/go/src/github.com/rancher/rancher/pkg/rbac/user_based.go:32 +0x194
github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/auth.Middleware.Wrap.func1(0x480c000, 0xc0165fe090, 0xc001cd8100)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/auth/filter.go:36 +0x55
net/http.HandlerFunc.ServeHTTP(0xc0014cf9a0, 0x480c000, 0xc0165fe090, 0xc001cd8100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
github.com/rancher/rancher/pkg/websocket.websocketHandler.ServeHTTP(0x4799f00, 0xc0014cf9a0, 0x480c000, 0xc0165fe090, 0xc001cd8100)
	/go/src/github.com/rancher/rancher/pkg/websocket/handler.go:35 +0xa0
github.com/rancher/rancher/pkg/audit.auditHandler.ServeHTTP(0x4791e40, 0xc0003476a0, 0x0, 0x480c000, 0xc0165fe090, 0xc001cd8100)
	/go/src/github.com/rancher/rancher/pkg/audit/filter.go:31 +0x623
github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter.ContentType.func1(0x47f9e00, 0xc013f2e450, 0xc001cd8100)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter/content.go:33 +0x93
net/http.HandlerFunc.ServeHTTP(0xc0014df6c0, 0x47f9e00, 0xc013f2e450, 0xc001cd8100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter.Gzip.func1(0x480ae80, 0xc0019d77a0, 0xc001cd8100)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter/gzip.go:60 +0x1f5
net/http.HandlerFunc.ServeHTTP(0xc0014df6e0, 0x480ae80, 0xc0019d77a0, 0xc001cd8100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter.ContentTypeOptions.func1(0x480ae80, 0xc0019d77a0, 0xc001cd8100)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/responsewriter/cache.go:47 +0x131
net/http.HandlerFunc.ServeHTTP(0xc00ecc8ca0, 0x480ae80, 0xc0019d77a0, 0xc001cd8100)
	/usr/local/go/src/net/http/server.go:2007 +0x44
github.com/rancher/rancher/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc00004dd40, 0x480ae80, 0xc0019d77a0, 0xc0026a0000)
	/go/src/github.com/rancher/rancher/vendor/github.com/gorilla/mux/mux.go:212 +0xe2
github.com/rancher/rancher/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc0063d8480, 0x480ae80, 0xc0019d77a0, 0xc002bbde00)
	/go/src/github.com/rancher/rancher/vendor/github.com/gorilla/mux/mux.go:212 +0xe2
github.com/rancher/rancher/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc0063d8540, 0x480ae80, 0xc0019d77a0, 0xc002bbdb00)
	/go/src/github.com/rancher/rancher/vendor/github.com/gorilla/mux/mux.go:212 +0xe2
github.com/rancher/rancher/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc0063d8600, 0x480ae80, 0xc0019d77a0, 0xc002bbd800)
	/go/src/github.com/rancher/rancher/vendor/github.com/gorilla/mux/mux.go:212 +0xe2
github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/dashboard.Route.func2(0x480ae80, 0xc0019d77a0, 0xc002bbd800)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/steve/pkg/dashboard/ui.go:56 +0xe5
net/http.HandlerFunc.ServeHTTP(0xc0063d59e0, 0x480ae80, 0xc0019d77a0, 0xc002bbd800)
	/usr/local/go/src/net/http/server.go:2007 +0x44
github.com/rancher/rancher/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc00140b8c0, 0x480ae80, 0xc0019d77a0, 0xc00e1d5800)
	/go/src/github.com/rancher/rancher/vendor/github.com/gorilla/mux/mux.go:212 +0xe2
github.com/rancher/rancher/vendor/github.com/rancher/dynamiclistener/server.wrapHandler.func1(0x480ae80, 0xc0019d77a0, 0xc00e1d5800)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/dynamiclistener/server/server.go:187 +0x95
net/http.HandlerFunc.ServeHTTP(0xc007354e70, 0x480ae80, 0xc0019d77a0, 0xc00e1d5800)
	/usr/local/go/src/net/http/server.go:2007 +0x44
github.com/rancher/rancher/vendor/github.com/rancher/dynamiclistener.HTTPRedirect.func1(0x480ae80, 0xc0019d77a0, 0xc00e1d5800)
	/go/src/github.com/rancher/rancher/vendor/github.com/rancher/dynamiclistener/redirect.go:20 +0x221
net/http.HandlerFunc.ServeHTTP(0xc0098162e0, 0x480ae80, 0xc0019d77a0, 0xc00e1d5800)
	/usr/local/go/src/net/http/server.go:2007 +0x44
net/http.serverHandler.ServeHTTP(0xc000e60620, 0x480ae80, 0xc0019d77a0, 0xc00e1d5800)
	/usr/local/go/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc007cab4a0, 0x482de00, 0xc015611d00)
	/usr/local/go/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2927 +0x38e

Missing Variables warning:
2020/09/08 04:59:26 [ERROR] ProjectAlertGroupController p-2vhhb/projectalert-workload-alert [project-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:26 [ERROR] ClusterAlertRuleController c-7bv7h/deployment-event-alert [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:26 [ERROR] ProjectAlertRuleController p-2vhhb/memory-close-to-resource-limited [project-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:26 [ERROR] ProjectAlertRuleController p-nqbv9/memory-close-to-resource-limited [project-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:26 [ERROR] ProjectAlertRuleController p-5jrp5/less-than-half-workload-available [project-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertRuleController c-7bv7h/high-memmory [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertRuleController c-7bv7h/cluster-scan-manual-failure-only [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertGroupController c-7bv7h/event-alert [cluster-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertGroupController c-7bv7h/etcd-alert [cluster-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertRuleController c-7bv7h/cluster-scan-scheduled-all [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertRuleController c-7bv7h/scheduler-system-service [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ProjectAlertRuleController p-mknql/memory-close-to-resource-limited [project-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ProjectAlertGroupController p-kgn7q/projectalert-workload-alert [project-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ProjectAlertRuleController p-kgn7q/less-than-half-workload-available [project-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ProjectAlertRuleController p-2vhhb/less-than-half-workload-available [project-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ProjectAlertGroupController p-mknql/projectalert-workload-alert [project-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertRuleController c-7bv7h/node-disk-running-full [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 04:59:27 [ERROR] ClusterAlertRuleController c-7bv7h/high-cpu-load [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 05:03:39 [ERROR] ProjectAlertGroupController p-5jrp5/projectalert-workload-alert [project-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 05:03:39 [ERROR] ClusterAlertRuleController c-7bv7h/db-over-size [cluster-alert-rule-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

2020/09/08 05:03:39 [ERROR] ClusterAlertGroupController c-7bv7h/node-alert [cluster-alert-group-controller] failed with : Update Webhook Receiver Config: Get secret: secrets "webhook-receiver" not found

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
2.4.8
Installation option (single install/HA):
K3s HA

same problem on our clusters with v2.4.8


Release/v2.0.0 beta2

rename the branch for the github action to kick in

I just pushed a small change in DisplayListenerMetadata and now the machine metadata is visible. I moved the key={idx} to the Grid component instead of Card.
I'm not sure why this fixed it, because the other way was in a number of previous commits and I don't remember seeing this bug.


added some wording changes to contribution rules

added in a few extra words to the contribution rules section

Awesome :D


Add option to bypass checksum verification in verify mode

Why:  checksum verification can be time-consuming, and is done at write-time anyway. So in some cases it might be preferrable to skip this at the verify stage.

I think I've done something similar, disabling hash checks in dfxml scripts
sometimes, or skipping checksum generation when generating a PREMIS XML if
a manifest sidecar is detected - the PREMIS XML gets populated with values
pulled from the manifest..
On 21 Feb 2018 12:50 pm, "Johan van der Knijff"<EMAIL_ADDRESS>wrote:

Why: checksum verification can be time-consuming, and is done at
write-time anyway. So in some cases it might be preferrable to skip this at
the verify stage.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KBNLresearch/omSipCreator/issues/56, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABEyvpSq72XLQ-VYo9ydAJRcppnAOoj9ks5tXBEfgaJpZM4SNlPE
.

Done: https://github.com/KBNLresearch/omSipCreator/issues/56


How to evaluate RAFT?

请问repo中提供了raft fine-tuning后测试模型效果的代码吗？比如在imdb测试集上计算reward或perplexity

Thanks for the feedback!
We should add these features in the next update soon. For your current need, you may see the main loop of raft in ~line442 of src/lmflow/pipeline/raft_aligner.py and evaluate the model at each iteration.
For the perplexity, you can check the example provided by the hugging face https://huggingface.co/docs/transformers/perplexity , and for the reward, you can check the function _get_batch_dataset_top of raft_aligner.py.
Also for a little bit of my personal experience, for most of the time, the reward function is far from perfect. For instance, the reward model we trained on imdb dataset only achieve a 92% accuracy in the test set and also we have trained a reward model for the hh-rlhf dataset, with only ~80% accuracy. So early stopping is important to avoid the model from losing too much fluency and diversity.

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks


I got an error when trying to open a fiel with encoding GB2312

Description
I an runing on my server which hoding a poject. And there are some chinese comment within the code.  I am trying to set the file.encoding = gb2312 or gb18030 or some others, after the set, I open the file with on error: unknown encoding "gb12312" or unknown encoding "gb18030"

Related Issues
It seems only utf-8 works.

Requesting further information. Failure to reply means it was fixed in your end and I'll close this automatically after 3 days.


enable error backtraces

This is the result of a yakshave to get backtraces on http-types errors, which were not previously functional as documented.
#[cfg(backtrace)] does nothing by itself. Anyhow provides this flag to itself using a build script, so this PR adds a nearly-identical build script to http-types.
It also correctly forwards Debug fmt to the inner error.

I'm not entirely sure how to conditionally test this, but on a nightly toolchain, given this file in http-types/examples/backtrace.rs:
fn main() {
    dbg!(http_types::format_err!("error").backtrace());
}

env RUST_LIB_BACKTRACE=1 cargo run --example backtrace →
[examples/backtrace.rs:2] http_types::format_err!("error").backtrace() = Backtrace [
    { fn: "backtrace::backtrace::libunwind::trace", file: "/Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs", line: 86 },
    { fn: "backtrace::backtrace::trace_unsynchronized", file: "/Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs", line: 66 },
    { fn: "std::backtrace::Backtrace::create", file: "src/libstd/backtrace.rs", line: 308 },
    { fn: "std::backtrace::Backtrace::capture", file: "src/libstd/backtrace.rs", line: 277 },
    { fn: "anyhow::error::<impl anyhow::Error>::msg", file: "/Users/jbr/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.31/src/backtrace.rs", line: 10 },
    { fn: "http_types::error::Error::from_str", file: "src/error.rs", line: 40 },
    { fn: "http_types::error::Error::new_adhoc", file: "src/error.rs", line: 49 },
    { fn: "http_types::private::new_adhoc", file: "src/lib.rs", line: 199 },
    { fn: "backtrace::main", file: "examples/backtrace.rs", line: 2 },
    { fn: "std::rt::lang_start::{{closure}}", file: "/Users/jbr/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/rt.rs", line: 67 },
    { fn: "std::rt::lang_start_internal::{{closure}}", file: "src/libstd/rt.rs", line: 52 },
    { fn: "std::panicking::try::do_call", file: "src/libstd/panicking.rs", line: 348 },
    { fn: "std::panicking::try", file: "src/libstd/panicking.rs", line: 325 },
    { fn: "std::panic::catch_unwind", file: "src/libstd/panic.rs", line: 394 },
    { fn: "std::rt::lang_start_internal", file: "src/libstd/rt.rs", line: 51 },
    { fn: "std::rt::lang_start", file: "/Users/jbr/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/rt.rs", line: 67 },
    { fn: "main", line: 0 },
]

With the addition of 8f92490, this is technically a breaking change.  However, it's safe to say that zero apps were depending on this function, as was always conditionally compiled out regardless of toolchain and RUST_LIB_BACKTRACE.  With that commit, here are three different outputs for the same examples/backtrace.rs example above:
$ RUST_LIB_BACKTRACE=0 cargo +nightly run --example backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/examples/backtrace`
[examples/backtrace.rs:2] http_types::format_err!("error").backtrace() = Some(
    <disabled>,
)

$ RUST_LIB_BACKTRACE=1 cargo +nightly run --example backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `target/debug/examples/backtrace`
[examples/backtrace.rs:2] http_types::format_err!("error").backtrace() = Some(
    Backtrace [
        { fn: "backtrace::backtrace::libunwind::trace", file: "/Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs", line: 86 },
        { fn: "backtrace::backtrace::trace_unsynchronized", file: "/Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs", line: 66 },
        { fn: "std::backtrace::Backtrace::create", file: "src/libstd/backtrace.rs", line: 308 },
        { fn: "std::backtrace::Backtrace::capture", file: "src/libstd/backtrace.rs", line: 277 },
        { fn: "anyhow::error::<impl anyhow::Error>::msg", file: "/Users/jbr/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.31/src/backtrace.rs", line: 10 },
        { fn: "http_types::error::Error::from_str", file: "src/error.rs", line: 40 },
        { fn: "http_types::error::Error::new_adhoc", file: "src/error.rs", line: 49 },
        { fn: "http_types::private::new_adhoc", file: "src/lib.rs", line: 199 },
        { fn: "backtrace::main", file: "examples/backtrace.rs", line: 2 },
        { fn: "std::rt::lang_start::{{closure}}", file: "/Users/jbr/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/rt.rs", line: 67 },
        { fn: "std::rt::lang_start_internal::{{closure}}", file: "src/libstd/rt.rs", line: 52 },
        { fn: "std::panicking::try::do_call", file: "src/libstd/panicking.rs", line: 348 },
        { fn: "std::panicking::try", file: "src/libstd/panicking.rs", line: 325 },
        { fn: "std::panic::catch_unwind", file: "src/libstd/panic.rs", line: 394 },
        { fn: "std::rt::lang_start_internal", file: "src/libstd/rt.rs", line: 51 },
        { fn: "std::rt::lang_start", file: "/Users/jbr/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/rt.rs", line: 67 },
        { fn: "main", line: 0 },
    ],
)

$ cargo +stable run --example backtrace # stable ignores rust_lib_backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.14s
     Running `target/debug/examples/backtrace`
[examples/backtrace.rs:2] http_types::format_err!("error").backtrace() = None

With the addition of 9446815, this is technically a breaking change.  However, it's safe to say that zero apps were depending on this function, as was always conditionally compiled out regardless of toolchain and RUST_LIB_BACKTRACE.  With that commit, here are three different outputs for the same examples/backtrace.rs example above:
$ RUST_LIB_BACKTRACE=0 cargo +nightly run --example backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/examples/backtrace`
[examples/backtrace.rs:2] http_types::format_err!("error").backtrace() = None

$ RUST_LIB_BACKTRACE=1 cargo +nightly run --example backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `target/debug/examples/backtrace`
[examples/backtrace.rs:2] http_types::format_err!("error").backtrace() = Some(
    Backtrace [
        { fn: "backtrace::backtrace::libunwind::trace", file: "/Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs", line: 86 },
        { fn: "backtrace::backtrace::trace_unsynchronized", file: "/Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs", line: 66 },
        { fn: "std::backtrace::Backtrace::create", file: "src/libstd/backtrace.rs", line: 308 },
        { fn: "std::backtrace::Backtrace::capture", file: "src/libstd/backtrace.rs", line: 277 },
        { fn: "anyhow::error::<impl anyhow::Error>::msg", file: "/Users/jbr/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.31/src/backtrace.rs", line: 10 },
        { fn: "http_types::error::Error::from_str", file: "src/error.rs", line: 40 },
        { fn: "http_types::error::Error::new_adhoc", file: "src/error.rs", line: 49 },
        { fn: "http_types::private::new_adhoc", file: "src/lib.rs", line: 199 },
        { fn: "backtrace::main", file: "examples/backtrace.rs", line: 2 },
        { fn: "std::rt::lang_start::{{closure}}", file: "/Users/jbr/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/rt.rs", line: 67 },
        { fn: "std::rt::lang_start_internal::{{closure}}", file: "src/libstd/rt.rs", line: 52 },
        { fn: "std::panicking::try::do_call", file: "src/libstd/panicking.rs", line: 348 },
        { fn: "std::panicking::try", file: "src/libstd/panicking.rs", line: 325 },
        { fn: "std::panic::catch_unwind", file: "src/libstd/panic.rs", line: 394 },
        { fn: "std::rt::lang_start_internal", file: "src/libstd/rt.rs", line: 51 },
        { fn: "std::rt::lang_start", file: "/Users/jbr/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/rt.rs", line: 67 },
        { fn: "main", line: 0 },
    ],
)

$ cargo +stable run --example backtrace # stable ignores rust_lib_backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.14s
     Running `target/debug/examples/backtrace`
[examples/backtrace.rs:2] http_types::format_err!("error").backtrace() = None

Added a nice big comment explaining how this works. Didn't link to the PR because I think the comment probably explains it better than this PR does thus far, but can tack a link on if you think it helps

The comment helps a lot, this seems pretty sketch but I guess if it does what we need then that's just how it is. I can't say I understand a lot about rust backtraces, so...

I suggest we go with this pr instead of #215, since this is only semver-minor, and treat eyre as a later change

Going to merge this since it was approved and just enables the feature as documented, basically making this a bugfix


[CI] Add Gaudi2 inference workflow

Add inference workflow for llama-2-7b-chat-hf on Gaudi2.

Merged, thanks! @jiafuzha


Docs is not updated to v0.5.0

The docs weren't updated to comply with v0.5.0 changes.
For example, there is no deprecated note on E999 and RUF024 is still in preview.

Thanks for reporting. I wasn't aware that we need to start the action to publish the documentation manually. It's now running and that should hopefully fix it. I'll update the contribution guidelines.
https://github.com/astral-sh/ruff/actions/runs/9700308469/job/26771392459

I don't think that should need to be manual, presumably this is an oversight because docs are not published in uv. cc @charliermarsh

And it just finished and the docs are up to date.

Assigning to you @charliermarsh to look into if this should be triggered automatically

Yup, will fix!


chore(dynamic plugin version checking): quieter output when the versions match

What does this PR do?
chore(dynamic plugin version checking): quieter output when the versions match
Signed-off-by: Nick Boldt<EMAIL_ADDRESS>Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
N/A (or see commit message above for issue number)
How to test this PR?
N/A
PR Checklist
As the author of this Pull Request I made sure that:

[x] Code produced is complete
[ ] Code builds without errors
[ ] Tests are covering the bugfix
[ ] Relevant user documentation updated
[ ] Relevant contributing documentation updated

Reviewers
Reviewers, please comment how you tested the PR when approving it.

Instead of warnings that we're using version x.y.z instead of x.y.z, suppress those pointless warnings and empty lines so the warnings are cleaner and easier to address. Related to release of 1.3.1 (RHIDP-4343)
manual partial cherrypick of https://github.com/redhat-developer/red-hat-developers-documentation-rhdh/pull/643 but for main branch


Consolidate best practices in Docker section of troubleshooting document

The Docker section in puppeteer/docs/troubleshooting.md suggests some undesirable flags. Instead, please consider recommending better solutions found by the community.

[x] https://github.com/jessfraz/dockerfiles/blob/master/chrome/stable/Dockerfile shows how to set up a dedicated chrome user, so sandboxing can remain on
[ ]  https://github.com/c0b/chrome-in-docker/issues/1 documents that setting up a larger /dev/shm size can help eliminate crashes when rendering large pages.

Current fix: in the docker run add --shm-size=1gb

Thank you!

Thanks for the suggestions. We'll add the chrome user. For some reasons, I recall that not fixing the --no-sandbox issues but will check again.
For /dev/shim, unfortunately it looks Google Cloud doesn't allow you to customize the docker run command. At least, I couldn't find anything. Also not sure about other cloud container platforms. The fix is to add a flag in headless Chrome.

To follow up on the chrome user...it looks like it does work without --no-sandbox on Google App Engine Flex! However after some research, running the container from the CLI needs docker run --cap-add=SYS_ADMIN to account for usernames.

also don't forget font issues at docker container

The published Dockerfile doesn't give me any font errors. That may be specific to using other base images?

not errors, but displays different compare without docker

Yes, because fonts are entirely os dependent. And containers are very minimal. So they will of course be different, just like rendering in all 3 major desktop platforms are each different in subtle ways.

@ebidel also, using dumb-init in docker should help for proper chrome termination (see https://github.com/GoogleChrome/puppeteer/issues/615)

Also, a suggestion to save on disk space if using the built-in Chrome binary, only install the required deps of google-chrome-unstable and not the ~50mb package itself:
apt-get install -y $(apt-cache depends google-chrome-unstable | awk '/Depends:/{print$2}') --no-install-recommends

Does anyone want to take care of this? cc @ebidel

@davidwindell https://github.com/GoogleChrome/puppeteer/pull/1235 adds more Docker info and a tips section. Feel free to send a PR with that suggestion as an additional tip.


doc: update references to now missing command util:extract

Fixes issue # N/A
Changes proposed in this pull request:
Cecil's documentation references a non-existing util:extract command in pages Templates and Commands, I assume this was previously the name for the now named util:templates:extract command, both references are updated in this PR.
PS: I read the contributing guide but since this is a documentation change I assumed it wasn't necessary to create an issue first, if my assumption was incorrect I'd be happy to resubmit after first creating an issue.

Nice catch, thanks a lot!

@all-contributors please add @maxalmonte14 for doc


Make Spec compile on win32

This makes the spec runner work on win32, and also fixes a few issues in the windows File port caught by the addition of exception support.

Sorry for the extended delay getting this PR up to date!

Nothing I guess? Let's merge?

@ysbaddaden I was waiting for another review actually after modifying the PR


WebComment: use CKEditor native support for inline comments in replies

Originally on 2011-09-14
CKEditor 3.6.2 introduced the possibility to exit from blockquotes by using the Enter key on empty paragraphs, behaving more like in mail client where users expect to be able to insert inline replies. See http://dev.ckeditor.com/ticket/7354
A workaround to mimic that behaviour had been introduced with commit 4e5bb5f9f6e7526ee678e57c13df5abd0e3bed55 (+ later fixes):
When displaying the editor to submit a reply, use a markup that will let users insert inline comments in the quoted replies. This is done by using a block for each line instead of a single  for the complete quotation.
This workaround introduced overheads in the processing/cleaning and displaying of comments (to circumvent various behaviours in various browsers), which could be avoided by using the newly introduced feature.
Unfortunately it is currently not fully possible to make use of this feature as it does only apply to CKEditor area configured with enterMode=P, while WebComment area use enterMode=BR (closer to the behaviour of a plain textarea). See
http://dev.ckeditor.com/ticket/8304
So either wait for the above ticket to be closed, or update WebComment to use enterMode=BR.

Invenio v1/2 is in feature freeze so closing ticket.


doesn't work with melonds

melonDS
0104449009444001
1.0.0
(NSP from: https://gbatemp.net/threads/homebrew-nsp-forwarder-for-firmware-12-0-0.588005/)

it worked when I booted it from the hbmenu,
my bad :O

There is no support for NSP homebrew, you should use atmosphere's title takeover feature which usually works fine.


Need timestamp while receiving CAN messages (IDFGH-2413)

Since CAN messages are in RX queue and can_receive() is called in some task, the timestamp of returning from can_receive() is not the real time of receiving from bus.
On vehicle, there are many messages sent to bus in cycles. If we want show them by calling can_receive(), the cycles are not accurate as they should be. So, it's better to add timestamp to a received CAN message.

Here is what I got by using timestamp on can_receive() returned successfullly.

Here is the performance of a third-part tool:

And what I got by using
can_receive(&msg, pdMS_TO_TICKS(10);

@keelung-yang I was thinking of adding a can_get_diagnostics() which would read some sort of event queue. Each event queue would contain an event ID and a time stamp. Would this meet your requirements?

@Dazza0 As what I understand, can_get_diagnostics() and events are for general using, events cann't match with each received message. So, it's cann't help with accurate received timestamp.

@keelung-yang Unfortunately the hardware does not store any time information when it receives a message. All it does is place the message into RX FIFO. If you require the exact time when the message is considered successfully received (i.e., the moment the message is considered valid as per the CAN2.0B protocol), this can only achieve by a hardware change.
However, if you can accept a less precise time stamp, the current system time can be collected by the ISR when in reads messages from the RX FIFO. However, this precision of an ISR time stamp will be dependent on the latency of the ISR. This can be affected by:

Other higher priority ISRs that need to run before the CAN ISR
Critical sections that disable interrupts

Would an ISR time stamp be precise enough for your application?

@Dazza0
Since ISR is a bad solution, just forget it please. Drivers should be keep generial.
And, where are the documents about CAN hardware you referred? I checked some datasheet and reference manual shortly, no enough infomation found just now.

And, where are the documents about CAN hardware you referred? I checked some datasheet and reference manual shortly, no enough infomation found just now.

We don't have a chapter on regarding CAN in the TRM, however the features and interface of the CAN peripheral is nearly identical to the SJA1000.

Thanks for reporting, feel free to reopen.

Reopening this in-case HW time-stamp added to future chips


[tool_crash] FileSystemException: Cannot create file, OS Error: Access is denied., errno = 5

Command
flutter --no-color run --machine --track-widget-creation --device-id=edge --start-paused --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot create file, OS Error: Access is denied.
, errno = 5
#0      _checkForErrorResponse (dart:io/common.dart:55:9)
#1      _File.create.<anonymous closure> (dart:io/file_impl.dart:286:7)
#2      _rootRunUnary (dart:async/zone.dart:1407:47)
#3      _CustomZone.runUnary (dart:async/zone.dart:1308:19)
<asynchronous suspension>
#4      ForwardingFile.create (package:file/src/forwarding/forwarding_file.dart:20:12)
<asynchronous suspension>
#5      ForwardingFile.create (package:file/src/forwarding/forwarding_file.dart:20:12)
<asynchronous suspension>
#6      _renderTemplateToFile (package:flutter_tools/src/flutter_plugins.dart:37:3)
<asynchronous suspension>
#7      _writeAndroidPluginRegistrant (package:flutter_tools/src/flutter_plugins.dart:345:3)
<asynchronous suspension>
#8      injectPlugins (package:flutter_tools/src/flutter_plugins.dart:1077:5)
<asynchronous suspension>
#9      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:386:5)
<asynchronous suspension>
#10     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1736:7)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1394:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.19045.4598], locale en-US)
    • Flutter version 3.22.2 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (4 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Asadullah Al Galib\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)

[✓] VS Code (version 1.90.0)
    • VS Code at C:\Users\Asadullah Al Galib\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.90.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.4598]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 126.0.6478.127
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 126.0.2592.81

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.4+4
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 4d7946a68d26794349189cf21b3f68cc6fe61dcb
Plugins
advance_pdf_viewer-2.0.1
connectivity_plus-6.0.3
file_picker-8.0.2
file_selector_linux-0.9.2+1
file_selector_macos-0.9.3+3
file_selector_windows-0.9.3+1
firebase_core-2.30.0
firebase_core_web-2.15.0
firebase_messaging-14.8.2
firebase_messaging_web-3.8.2
flutter_barcode_scanner-2.0.0
flutter_downloader-1.11.7
flutter_local_notifications-17.1.0
flutter_plugin_android_lifecycle-2.0.19
fluttertoast-8.2.5
image_picker-1.1.0
image_picker_android-0.8.10
image_picker_for_web-3.0.4
image_picker_ios-0.8.10+1
image_picker_linux-0.2.1+1
image_picker_macos-0.2.1+1
image_picker_windows-0.2.1+1
path_provider-2.1.3
path_provider_android-2.2.4
path_provider_foundation-2.3.2
path_provider_linux-2.2.1
path_provider_windows-2.2.1
permission_handler-11.3.1
permission_handler_android-12.0.5
permission_handler_apple-9.4.4
permission_handler_html-0.1.1
permission_handler_windows-0.2.1
print_bluetooth_thermal-1.1.0
shared_preferences-2.2.3
shared_preferences_android-2.2.2
shared_preferences_foundation-2.3.5
shared_preferences_linux-2.3.2
shared_preferences_web-2.3.0
shared_preferences_windows-2.3.2
sqflite-2.3.3
url_launcher-6.2.6
url_launcher_android-6.3.1
url_launcher_ios-6.2.5
url_launcher_linux-3.1.1
url_launcher_macos-3.1.0
url_launcher_web-2.3.1
url_launcher_windows-3.1.1

\Asadullah Al Galib\

@asadullah-al-galib You have spaces in this folder name. Can you remove them and re-run your scenario to check if the crash still occurs or not ?


Support encoding Buffer objects

Coverage decreased (-8.3%) to 91.667% when pulling c28b78c2b8ee734d4f547f76b2f01132097bd663 on shesek:patch-1 into b4e0e1ba6e351b77a1ccf0a471f3c859f365c58c on joaquimserafim:master.

Hmm, actually, it looks like Buffer.from(new Buffer('x'), 'utf8') does return the buffer object (disregarding the incorrect encoding argument), meaning that base64-url already works with buffers as-is, although in a somewhat unexpected manner. Maybe its still better to explicitly support it?


Tmux issue

I get this now and again have to kill TMUX to get the server to restart
http://pastebin.com/WTGswpKi

./arma3server details
./arma3server debug

I am having a very similar issue myself while running this script. The server will start up fine if I use the startup command manually (by switching into /arma3server/serverfiles/) but when using the script I get the following "tmux errror : No such files or directory.
Logs:
./arma3server start: http://pastebin.com/jKJjVNPZ
./arma3server details: http://pastebin.com/u0c0fX72
./arma3server debug: http://pastebin.com/k9131KPA

It might be a problem with /dev/pts being mounted to your container (based on your root filesystem being a loopback device).
Does your system have any problem with starting a generic tmux session?
Just issue tmux,  Then type 'exit'.

I now get this error,  I wont run Debug because it breaks my mods......
[ .... ] Starting arma3-server: no server running on /tmp/tmux-1003/default
[ FAIL ] Starting arma3-server: Unable to start BPTanoaExile1.0Revive|Advancemods|Tanks|
http://pastebin.com/5ZsYheXv  Details...
Also How do you get it to restart using a crontab?   everytime i try to run it, i get errors about tmux
I've tried restart as well
my crontab
http://pastebin.com/wyZw7Nxq

Here is how you do crontabs : https://github.com/dgibbs64/linuxgsm/wiki/Automation
For your other issue, seems like it's about mods you installed, so i won't be able to help.

script log
http://pastebin.com/v7Rra6gp
the console log shouldn't matter since it wont actually start the server.......
funny thing is i had it running 1 second before that happen all i did was issue the restart command

No server console logs generated since it fails to start ? Take not that i'm trying to help without having ever made an Arma3 server. I know more about LGSM than Arma3.
I just saw your start parameters, they seem to be on several lines. Is that an issue with pastebin's formatting, or is it really like that ?
I'd simplify the start parameters and try again to see if it's due to that first.
Starting with debug function would help too to isolate a possible issue with tmux.

thats a paste bin issue..   it wouldn't have a console log because it never gets to the point of the start command, it fails way before then.   it had logs right before i restarted the arma server

This is definitely a problem with tmux rather than LGSM. However what is causing the issue I dont know. So you wont get much of an output from logs apart from teh error you get given from tmux. I recommend Googling the error  "protocol version mismatch (client 8, server 7)" and see what comes up.

@dgibbs64 The problem evolved, i suppose after what Cedar said.
Now it's "no server running on /tmp/tmux-1003/default"
I'm just thinking about it : what if you got a ghost tmux session running preventing the new one from opening ?
ps auxn | grep tmux
ps auxn | grep arma3

I didn't have either running.
a reinstall fixes it 3rd time now.
but as far as crontabs go  still doesn't work gives me an error..
this paste bin is from my mail logs from the crontabs
http://pastebin.com/bXS3BeZr  doesn't make sense since I can run the command and it works...

Did you fix your crontabs as i suggested in the first place ?
Your syntax is not what we suggest,, and all those "stop/start"... The "restart" function would be way more efficient as it does the exact same thing, but without any delay.

yes, I did.

If I could get the server running then it would be working but since, Tried to get root to issue the command It now has locked me out of executing the ./arma3server
root cron
http://pastebin.com/V7BAei1Z
/var/spool/mail/ log
http://pastebin.com/AcBtEied
I have since deleted the user cronjob but still have the /var/spool/mail/ for said user and the cronjobs were copied and pasted from the example linked above but with my settings
http://pastebin.com/CG3vL8S1
I get this when I am the user trying to start the server..
bash-4.2$ ./arma3server start
bash: ./arma3server: Permission denied
I have all the files Chmod 777 so I know any one could execute it.

Your cronjobs seem fine now.
You probably messed up permissions
Who owns arma3server ?
ls -al

Arma3server user does..   which i dont understand why it would all of a sudden say that user doesn't.  if I chmod 0777 everything that has to do with the server it would allow everyone and their mother to edit/run/view so I dont see how that would change it.

bash-4.2$ ./arma3server start
bash: ./arma3server: Permission denied

Doesn't look like you're logged to the user, otherwise it would be something like
arma3server$ ./arma3server start

It is logged in as arma3server.
http://pastebin.com/YGdrCqNh
Its worked 99% of the time since I started the server minus the hiccups.

That "-bash-4.2$" is kinda disturbing.
Show us your output of :
ls -al /home/arma3server
And ls -al /home/arma3server/lgsm/functions

I agree when it happen i was a little confused.    but it ran the server so why fix something if its not broke....
ls -all
http://pastebin.com/2XJ6ixjv
lgsm functions
http://pastebin.com/NKDp3dzS

Well, everything seems fine in terms of permissions.
What if your user just can't run scripts anymore due to something else you did ?
Some googleing lead me to think it could be related to fstab settings.
cat /etc/fstab

I also Added arma3server login to be a sudoer.  maybe that will fix it.  im having my fingers crossed.  I didnt change any settings just added the root to cronjob it since the user cron would error out as well..  thinking the root would override the permission.

Did you try backuping your arma3server script, then remove the lgsm foler, then download arma3server again, put back your settings in it, and try again ?
Could you try to run any bash script with that user, to at least see if it can ?
If it doesn't help and you can't fix what's wrong on your system, if got nothing else installed on this machine, maybe go for a fresh system install and make sure to not break it this time. :o))

I mean I'm sure the datacenter I use can do that for a small fee,  but from what I did,  I didn't touch anything just changed permission from 0775 to 0777 which from my understanding shouldn't do such a thing like this.  I may just be more of a entry level linux tech (since I am in school for network admin) but I am very confident that I didn't change anything I wasn't suppose to...  maybe it was just a freak error or something. just weird how the user cronjob didnt run and would give me a error then root cron would lock me out..  I have 4 different directory with the server install already done for issues like this,  all i have to do is drag and drop mods and cfgs into the base set ups to get it back online. but unfortunately I am not at home so all I can do iss ssh in and just try to figure out what the problem is.

I personally have never seen something like that, and it's been like 1.5 years i don't miss an issue on the github support and almost 1 year for the steam group. So i'm kinda clueless here.
As you now can't run the script for denied permission, the only thing i'm sure about is that it's not a script issue.
Anyways, did you try what i just suggested ? https://github.com/dgibbs64/linuxgsm/issues/928#issuecomment-235382092

Nope,  im at work so I cant just focus on this, So im  just going to swap to a different user and directory and just delete the dir and user  and go from there.   makes it easier since I already have a test server up and just make that one the main and remake a test server, and hope to see if this user can cron a restart..

No update for 1 month, closing.
Please, use the steam group or Discord if further help is needed.


python311Packages.google-cloud-spanner: 3.41.0 -> 3.42.0, python311Packages.grpc-interceptor: 0.15.3 -> 0.15.4

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 286915 run on x86_64-linux 1

6 packages built:

python311Packages.google-cloud-spanner
python311Packages.google-cloud-spanner.dist
python311Packages.grpc-interceptor
python311Packages.grpc-interceptor.dist
python312Packages.grpc-interceptor
python312Packages.grpc-interceptor.dist


scipy.integrate.solve_ivp try to evaluate the function with much larger value than t_span

scipy.integrate.solve_ivp try to call the object function (sometimes) with very large step.
It displays runtime warning although the result is OK,
when the function is not assumed to receive such a large value.
Reproducing code example:
import numpy as np
from scipy import integrate

def V(r):
    return -11/r + 10 * r / (0.05 + r**2)

def func(t, p):
    P = p[0]
    Q = p[1]
    r = np.exp(t)
    dPdr = r * Q
    dQdr = -2.0 * r * ((-0.2 - V(r)) * P + 1 / r * Q)
    return np.array([dPdr, dQdr])

result = integrate.solve_ivp(
    func, (-17, 2),
    y0=np.array([1, -11]), max_step=0.03, vectorized=False,
    t_eval=None,
    atol=1e-8, rtol=1e-5)

In this example, func is called with t>30000, resulting in the overflow.
As I pass t_span=(-17, 2), I do not expect func receive such a large value for t.
This happens in select_initial_step
https://github.com/scipy/scipy/blob/dfb0cc2e5946e81a7ccefbe101a72b0f96317a6e/scipy/integrate/_ivp/common.py#L93-L102
which does not consider max_step or t_span.
I think the initial step inferred in select_initial_step should stay within t_span or t_span[0] + max_step.
Error message:
/home/keisukefujii/anaconda3/envs/xarray/bin/ipython:11: RuntimeWarning: overflow encountered in exp
  sys.exit(start_ipython())
/home/keisukefujii/anaconda3/envs/xarray/bin/ipython:6: RuntimeWarning: invalid value encountered in double_scalars

Scipy/Numpy/Python version information:
1.0.0 1.14.0 sys.version_info(major=3, minor=6, micro=2, releaselevel='final', serial=0)

Related https://github.com/scipy/scipy/issues/9198 and https://github.com/scipy/scipy/pull/9367

As a workaround consider setting first_step=max_step


Problem with UTF8 characters in geoip fields

We use geoip filter and for <IP_ADDRESS> we get this: geoip.city_name = 'Kysucké Nové Mesto'. The UTF8 character causes crash:
Traceback (most recent call last):                                                                                ] [88/1000] [  8%] [0:00:00] [ETA:  0:00:00] [  2.68 kB/s]
  File "/usr/local/bin/es2csv", line 11, in <module>
    sys.exit(main())
  File "/Library/Python/2.7/site-packages/es2csv.py", line 248, in main
    es.write_to_csv()
  File "/Library/Python/2.7/site-packages/es2csv.py", line 212, in write_to_csv
    csv_writer.writerow(json.loads(line))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/csv.py", line 152, in writerow
    return self.writer.writerow(self._dict_to_list(rowdict))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)

Would it be possible to fix the writer to work with UTF8?
Thanks for the script it is exactly what we were looking for!

It was already fixed in #1 by @pokab.
I have merged this changes and have updated pip package. Could you, please, upgrade your version and provide feedback? If you are using pip you can simply run:
 $ pip install --upgrade es2csv

Great! Thank you!


THRIFT-5632: [java][lib] fix pmd main for java

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

After the fix:
thrift/lib/java on  master [$?] via △ v3.23.3 via ☕ v<IP_ADDRESS> took 8s
❯ ./gradlew :pmdMain

> Task :compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

BUILD SUCCESSFUL in 4s
3 actionable tasks: 2 executed, 1 up-to-date