Error: Cannot find type definition file for depedencies

Hello everyone,
I've upgraded to the last version of typedoc whick contains the last version of Typescript 2.4.1
C:\Users\lozya\Desktop\Materiale Stage\davebackend>npm cache clean --force & npm uninstall -g typedoc & npm install -g typedoc
npm WARN using --force I sure hope you know what you are doing.
removed 60 packages in 2.608s
C:\Users\lozya\AppData\Roaming\npm\typedoc -> C:\Users\lozya\AppData\Roaming\npm\node_modules\typedoc\bin\typedoc
+<EMAIL_ADDRESS>added 60 packages in 10.151s

C:\Users\lozya\Desktop\Materiale Stage\davebackend>typedoc -v

TypeDoc 0.8.0
Using TypeScript 2.4.1 from C:\Users\lozya\AppData\Roaming\npm\node_modules\typedoc\node_modules\typescript\lib

When i'm trying to build my project documentation, I get this error
C:\Users\lozya\Desktop\Materiale Stage\davebackend>typedoc --out docs/typedoc/ --module node --target ES5 --mode file ./app/

Using TypeScript 2.4.1 from C:\Users\lozya\AppData\Roaming\npm\node_modules\typedoc\node_modules\typescript\lib
Error: Cannot find type definition file for 'fs-extra'.
Error: Cannot find type definition file for 'glob'.
Error: Cannot find type definition file for 'handlebars'.
Error: Cannot find type definition file for 'highlight.js'.
Error: Cannot find type definition file for 'lodash'.
Error: Cannot find type definition file for 'marked'.
Error: Cannot find type definition file for 'minimatch'.
Error: Cannot find type definition file for 'node'.
Error: Cannot find type definition file for 'shelljs'.

Some advice to solve this?
Thanks for your time

Running into the same issue as well

Could you provide more information about how to reproduce this issue? My guess would be that you need to provide arguments to the typescript compiler.

Maybe worth noting: Today I ran into the same problem but only with one of my own projects. I'm having a project directly included as TS dependency (not transpiled).

The project is not in the @types directory (I have additional type-roots set in tsconfig)
As the module is not transpiled the globals file is called globals.ts
globals.ts is not located in the root directory of the dependency

This is a shortened tree of the dependency:
./node_modules/@private/base
├── dist
│   ├── api
│   │   ├── globals.ts
│   ├── config
│   ├── index.ts
│   ├── logging
│   ├── main
│   ├── module
│   └── util
├── package.json
└── README.md

TSC compiles the project without any errors.
TypeDoc spits out this error: Error: Cannot find type definition file for 'base'.
My current workaround is the ignoreCompilerErrors switch. Docs are being built fine.


goldwarden: 0.2.12 -> 0.2.13

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for goldwarden is: A feature-packed Bitwarden compatible desktop integration
meta.homepage for goldwarden is: https://github.com/quexten/goldwarden
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.13 in filename of file in /nix/store/qkii7rmkfz9vrf4n6vwkrdascapwkswq-goldwarden-0.2.13

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
goldwarden

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qkii7rmkfz9vrf4n6vwkrdascapwkswq-goldwarden-0.2.13 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A goldwarden https://github.com/r-ryantm/nixpkgs/archive/94e55276f8cb3ee93acc15c493a728f2519c691b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/94e55276f8cb3ee93acc15c493a728f2519c691b#goldwarden

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qkii7rmkfz9vrf4n6vwkrdascapwkswq-goldwarden-0.2.13
ls -la /nix/store/qkii7rmkfz9vrf4n6vwkrdascapwkswq-goldwarden-0.2.13/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

goldwarden

Maintainer pings
cc @arthsmn for testing.

@arthsmn Would you like to test https://discourse.nixos.org/t/nixpkgs-merge-bot-testing-and-plan/39824/12?
@NixOS/nixpkgs-merge-bot merge

@arthsmn Would you like to test https://discourse.nixos.org/t/nixpkgs-merge-bot-testing-and-plan/39824/12?
(Just type @NixOS/nixpkgs-merge-bot merge in a comment)

Sadly came too late lol. Maybe on another PR.


Update README and CHANGELOG

I don't know why but I could not attach my review comments here, could you please move it from draft status?

Thanks for this PR, I updated these docs based on your proposal https://github.com/Kotlin/kotlindl/commit/93f31c1b72bfd68dcfef552eeec045b9efec97f4


chore: update test matrix with kitty v0.33.1

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


Cost analysis for custom Plonk Gates

We should check the cost of custom Plonk Gates, namely:

Range gate
And gate
Xor gate

Although they are more efficient than their arithmetic counterpart, it may not be true in all cases, for instance with 1-bit inputs.
We should know what is the cost depending on the input size so that Noir can decide what is best to use.
When there is no advantage, arithmetic version can provide more opportunities for simplification.

This seems like something we want to upstream to ACIR ie functionality where the proving system tells us how expensive an opcode is relatively speaking.
The problem is that this is non-trivial; the cost needs to be measured in something like field element complexity.
I'll close this and opt to reopen an issue in ACIR and the Aztec backend


More details for the Artifact.from_x constructors

While writing tests, I wanted to look up some more detailed behavior of ln.Artifact.from_anndata but the description is very superficial:
https://docs.lamin.ai/lamindb.artifact#lamindb.Artifact.from_anndata
What exactly does it validate and link? Consider adding more details to all from constructors.

Actually, I think I just got lost for a sec.


i18n for columns

Provide i18n for columns. Good library that migh be helpful: https://github.com/danhper/python-i18n

Closed by #6


fix: add retry logic for adding app password

Description
add retry logic for adding app password while provisioning

Task Item
#minor
Screenshots

Taking this into 1.4.1


fix: regenerating GPT nodes that are actively generating should cancel the previous stream

as to prevent gibberish situations like this occurring: https://www.loom.com/share/0efcd2bea3a840359467fa175ea4cb9d


How to trace request with two Envoys in a call flow

Let's say the call flow is as below:
client ---> Envoy (generate a x-request-id) ---> server1 ---> Envoy (generate another x-request-id) ---> server2

As my understanding, x-request-id is used to trace request. But in the case above, two different x-request-ids will be generated. In this case, how could Envoy trace the request? Or must I use x-client-trace-id to trace request?

https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto
generate_request_id
(BoolValue) Whether the connection manager will generate the x-request-id header if it does not exist. This defaults to true. Generating a random UUID4 is expensive so in high throughput scenarios where this feature is not desired it can be disabled.
preserve_external_request_id
(bool) Whether the connection manager will keep the x-request-id header if passed for a request that is edge (Edge request is the request from external clients to front Envoy) and not reset it, which is the current Envoy behaviour. This defaults to false.


read LIBRATO_TOKEN

on heroku, the api token is set in LIBRATO_TOKEN, not LIBRATO_API_TOKEN.
it would be nice if the library picked up either, so i don't have to replicate the config var in both.

Hi. We're release version 0.40.5 which addresses this issue. Upgrading to this version ought to address this issue.


Applying of ISV License packages in self-service environments

It looks like self-service environments don't supported applying of ISV license packages (https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/isv-licensing#production-environments). It is not mentioned in the article.

@EvSeVo - than you for the feedback.
@jorisdg - can you please take a look at and address this?

Applying ISV licenses is the same across all types of environments. That is why self-service is not mentioned, but the older VM-based environments are also not mentioned.
The article talks about ensuring/how the ISV license can be included in the deployable package. That deployable package can then be deployed to your environments through LCS (~ regardless of the type of environment).


Drop-down issues

General:
~- [ ] After I select an option, I lose focus.  The drop-down should keep focus.~ New Ticket
Ingress: Create - Add Path

[x] The Target service Drop-down is bigger then all the fields?  If I select something, then the Port gets bigger as well?

[x] When I select a target the example text moves to the left edge for Port field

[x] Prefix drop-down has issues when there is more then 1 path

Create Workload: Pod Scheduling

[x] Drop-downs that i can type in, the text is too close to the left boarder (This might be regulated to the multi-select drop-down)

~- [ ] In Add Volume the drop-down should open in the direction where this more space.  Right now it's always opening down and adding space to the bottom below the footer.~ New Ticket

OPA: Create Constraint

[x] In the Namespace tab, all the drop-downs are way bigger then they should be.

Logging: Create ClusterFlows & Flows

[x] The Specific Nodes & Specific Container drop-down are very thin until I select a node or container then they go to correct size

~- [ ] Same issue as Volume drop-down where direction is always down and adding space below footer~ New Ticket

I broke the remaining items into new tickets so the bulk of this ticket can be validated without those two issues.

Fixed


Transports, refactoring

Suggest moving the transport logic from gui to somewhere else, see https://github.com/abapGit/abapGit/pull/4056
There are currently two transport related classes

ZCL_ABAPGIT_CTS_API
ZCL_ABAPGIT_TRANSPORT
maybe these should be more focused

guess its okay for now, closing


chore: update ios 0.19.5

For others watching this repo. These are the changes:
https://github.com/BranchMetrics/ios-branch-deep-linking/releases/tag/0.19.5
It went from ios 0.18.8 to 0.19.5

Thanks for the link! I'll be sure to include links to the changes in future releases.

Great! looking forward getting this update included in the next version of the plugin so I can install it via npm.


Hotfix: Stop syncing forum groups from scheduler

This is causing the queue to crash at the scheduled time each day

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


Importing debug in angular 2 app with system.js

I am working on a MEAN stack app with Angular 2 frontend. I have successfully used debug in the express app. However I am unable to cleanly import debug in app.components.ts or main.module.ts. Any idea on how to proceed?

<script src="/node_modules/debug/debug.js"></script> Results in error: Uncaught ReferenceError: module is not defined
<script>System.import('./node_modules/debug/debug.js');</script> Not good either: zone.js:101 GET http://localhost:8002/ms.js 404 (Not Found) Some dependency script not able to load.
import { debug } from '../../../node_modules/debug/debug.js'; inside any app file also gives error: zone.js:101 GET http://localhost:8002/ms.js 404 (Not Found); (index):25 Error: Error: XHR error (404 Not Found) loading http://localhost:8002/ms.js(…)

I took some inspiration from Importing lodash into angular2 + typescript application and finally figured out how to import it. No console errors and no compiler errors this time.
First I should mention: when upgrading from typescript 1 to typescript 2 the typings tool gets deprecated. Instead, npm package manager is used to install type definitions.
I followed these steps:

npm install debug --save
npm install @types/debug --save
Mapped debug in system.config.js

system.config.js:
map: {
    'debug': '../node_modules/debug/browser.js',
    ...
}

import in 'index.html' as System.import('debug');
Also importing in any .ts file could work: import * as debug from 'debug';

Untill now this should suffice, however a pesky error persists: GET http://localhost:8002/ms.js 404 (Not Found)
I fixed this by editing node_modules/debug/debug.js. Replace line 14:
exports.humanize = require('ms'); with exports.humanize = require('node_modules/ms/index');
I am not sure what this implies for other use cases of debug. If you have any suggestions on how to improve this solution so it is not necessary to edit inside node_modules/debug/debug.js write a comment.
I still need some help
I cannot figure out what to do next, how to output anything in the console. I tried and nothing happends, not event errors:
import * as debug from 'debug';
var debugApp = debug('app');
debugApp('test');

Further issues
I had an unexpected issue with this method. I could either load the server path or the frontend path for the debug script. So I had to do another improvisation.
node_modules/debug/debug.js - Line 14
if (typeof process === 'undefined') {
  exports.humanize = require('node_modules/ms/index.js');
} else {
  exports.humanize = require('ms');
}

This triggers another issue on itself. System.js likes to parse ahead the exports so this leads to abnormal behavior when exports statement is combined with an if statement. More details here. Fortunately there is a fix. More details here thanks to @guybedford
In system.config.js add:
System.config({
	map: {
		ms: '@empty'
	}
});

In the end it's a patch-up job, but it works. Hopefully debug authors will suggest a better solution. Until then use this.

I am having the same issue, but your suggestions didnt work

Can you offer some details? Where do you get stuck?

import * as Debug from 'debug';

export class HomeComponent {
    constructor() {
        var debug = Debug('app:someModule');
        debug('Some message');
    }
}

I get
[19:30:14]  Error: Cannot call a namespace ('Debug')

Your code sample seems legit. The error message doesn't ring any bells for me. Sorry, I can't help. I'm still waiting for some contributor to take part in the discussion...

got it
`
import debug from 'debug';
(window).debug = debug;
export class HomeComponent {
constructor() {
debug.enable("cesco")
debug("cesco")("HELLO")
}
}
`

@cescoferraro Is the above a fix? Would you like to add documentation via a PR?

@thebigredgeek Well, I would stick with the first solution I written in the first reply. It did not need to instantiate globals to get the code working.
Concerning the PR: I am not confident enough that this is the best solution to pull. I thought maybe somebody with a lot more experience then me will improve on this ticket.

@adrian-moisa unfortunately the implementation you described is likely to break webpack, browserify, and others.  It's definitely interesting that SystemJS has issues loading ms as a dependency.  Usually when you want to import commonjs code into the browser, you use a module loader than can resolve the entire dependency tree for the commonjs dependency.  Is it possible that some sort of mapping is missing?  With systemjs, don't you need to tell the loader where ms lives?

Closing this for now.  Will open it back up if anyone has further ideas.

@thebigredgeek I will send a PR later today

Using the Angular CLI  1.0.0 (which uses Webpack) I got debug working using the following steps:
First of, nstalling and configuring the debug library for angular (see also CLI wiki entry)

npm install debug --save
npm install @types/debug --save-dev
add "debug" to the "types": [ ] in src/tsconfig.app.json

Then in any ts file use (import and define namespace) it as following:
import { Injectable } from '@angular/core';

import * as Debug from 'debug';
const debug = Debug('app:auth');

@Injectable()
export class AuthService {

  constructor() { }

  login() {
    debug('Login please...');
  }

}

Finally to enable the debug in the console, type the following in the console (see also NPM debug package page)

localStorage.debug = 'app:*'
or using the Chrome Developer Tool, go to the 'Application' tab, expand the 'Local Storage' entry, select the domain which you are working on and add debug as key and app:* as value.

Differences with the initial suggestion:

No need to edit node_modules/debug/debug.js
No need to assign the debugApp to the global window

I'm not 100% sure if this is the correct way, but it works.

@Sjiep are you using rollup?  There was another issue here that sounded like the same problem

@thebigredgeek not that I'm aware of. It looks like rollup is a JS bundler? I'm using the Angular CLI which uses Webpack for bundling.

@Sjiep weird.  I am using webpack as well, and haven't had this issue.  It looks like it is probably some sort of conflict with the @types namespace... not sure why

@thebigredgeek I'm not having any issue though. I just wanted to share a solution for using debug in Angular 2 that worked for me (which was a bit cleaner then the initial solution posted).


fix index column orders

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#71

Awesome thank you very much.

@Insolita can you add also an indents for this sql nowdoc block?

@Insolita can you add also an indents for this sql nowdoc block?

Sorry, it is not clear to me - what is wrong with indents

Thank you!


URI not accepting :9000

when the stats are exported over port :9000 the haproxy_exporter is not accepting the ":" any workaround on that except unix socket ?

If the problem is that you can see that no colon can be set in the URL, remove the quotes... It doesn't make much sense but it works...
Got the idea from:
https://stackoverflow.com/questions/53930260/failed-to-create-client-parse-http-127-0-0-18200-first-path-segment-in-ur

Stagly enough when I do like:
--haproxy.scrape-uri="http://localhost:9000/haproxy_stats;csv"
in the pod manifest under args fails to parse the URL...
but if I do it like:
"--haproxy.scrape-uri=http://localhost:9000/haproxy_stats;csv"
it works just fine... :)

This looks solved.


data ttl

we are using siddhi to process the realtime event collected online. i want to know the TTL of event processed.
eg. when an event belong to stream testStream arrived,will the event always be available untill restart or shutdown siddhi cluster? if the event group by time window, the event will be discard once it is expired?
i guess the strategy above will affect something like memory use and the perfomance of docker run the siddhi.

The event will be removed after processed. For window/pattern, it will only keep necessary events in memory and while time moves or new events added, the expired events will be removed.


Support for protobuf?

Hi!
Would it be feasible to add support for protobuf that is used by google play?
See attached screenshot.
Thanks and regards

Please check out version 1.4. I add it with hard code and will think how to put it into configuration of fiddler

Cool thanks!
I will try it out, where did you put the files:
Protobuf2Json.dll
Inspectors/ProtobufInspector.dll
?
Thanks and regards

You may download it here:
https://github.com/BlueMatthew/ProtobufInspector/releases

Seems to work, thanks for the update!

Is it also possible to generate a .proto file from the decoded protobuf?
Thanks and regards

No, it can't gen proto file and it's not reversible. I just use the method like "protoc --decode_raw" to parse the data without proto and it's human-readable(json style). But it is not always accurate.


SubFlow: Web3 microblogging Smart Service

Project Abstract
SubFlow aims to develop a decentralised social media platform that empowers users with control over their data and interactions.
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted.
[x] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @antsu:matrix.org

I have read and hereby sign the Contributor License Agreement.

I have read and hereby sign the Contributor License Agreement.

I have read and hereby sign the Contributor License Agreement.

For reference, conversation has moved to https://github.com/w3f/Grants-Program/pull/1997


Add Photo button not clickable in no results screen

Checklist

[x] Bug Report - The issue you are reporting might be there already. Please search on the issues tracker before creating or reporting an issue.
[x] Before reporting, please ensure (if you can) that you have tested it with the latest (dev) version of the software.
[x] Don't forget to tag your issue, it makes it easier to discover.

Summary:
Add Photo button not clickable.
Steps to reproduce:
Search for a product not present on OFF database (example: "qwerty"). When the "no results found" screen is displayed (as shown in the screenshot below), try clicking on the add photo button.
Expected behavior:
Add photo button should open the scan activity.
Observed behavior:
Add photo button is not clickable.
Screenshots:

I am working on this issue.


Roman Numerals Encoder

hey, in this kata i put this code  https://pastebin.com/qsx2k1EX  but i keep having those errors https://prnt.sc/u4meuq ,my code works perfectly in C::B

Hi,
this repo is about codewars in a general meaning, not about problems while solving a kata. The discourse page of that kata is made for this kind of thing. But for instance, before going to raise an issue there, begin with reading this. If not enough, post in the discourse of the kata, but use the question label, not the issue one.
Cheers


Pointer Gets Disable While Press Out

I'm working with LineChart from the react-native-gifted-charts library in my React Native app. By default, when I tap on a data point in the chart, a pointer appears to highlight the selected point, which is the expected behavior. However, this pointer disappears as soon as I release the tap (press out). What I'm trying to achieve is to have the pointer stay visible on the last selected data point, even after I lift my finger off the screen. I've shared my current implementation and a video demonstrating the issue for clarity. I'm looking for guidance on how to modify the chart behavior so the pointer remains visible after selecting a data point until a new point is tapped
  const data = [
    { value: 0 },
    { value: 50, label: '0' },
    { value: 110, label: '1' },
    { value: 80, label: '2' },
    { value: 100, label: '3' },
    { value: 120, label: '4' },
  ]

<LineChart
                  data={data}
                  noOfSections={4}

                  height={Dimensions.get('window').height * 0.25}
                  onFocus={(point) => {
                    console.log(point)
                    setSelectedPoint(point)
                  }}
                  thickness={3}
                  dataPointsColor={colors.orange}
                  dataPointsRadius={5}
                  color={colors.orange}
                  yAxisThickness={0}
                  xAxisThickness={0}
                  yAxisTextStyle={styles.labelStyle}
                  xAxisLabelTextStyle={styles.labelStyle}

                  pointerConfig={{
                    pointerStripColor: 'transparent',
                    pointerStripUptoDataPoint: true,
                    pointerLabelComponent: (items, index) => {
                      return (
                        <View style={styles.lableCont}>
                          <Text style={styles.labelValue}>
                            {items[0].value}
                          </Text>
                        </View>
                      )
                    },
                    pointerColor: 'transparent',
                  }}
                />

https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/assets/93268659/0aa97001-4e69-4409-affc-cbd4b519dc56

Hey i just want to inform you  i have find the solution  by just pass the prop
   persistPointer: true,
now pointer is not disable on press out


Last notification is send again when refreshing the page

When refreshing dashboard page, the last notification is opening again. You can refresh the page multiple times and the notification is send again and again.

Thanks for flagging! Think I know the cause, will get it addressed, although I'm locked into some other work atm.
May be end of this week, latest next week

Just updating here, have investigated and this requires some (justified) architectural changes to better support this. Currently, when the Dashboard is loaded, we run the onInput functionality for all widgets in order to load existing state, however, this for something like the notification causes the notification to show again.
We should look at separate onInput from loadState functions across all of our widgets, but support (where in most cases this is is appropriate) shared logic.


Cannot read properties of null (reading 'getStyleFunction')

Describe the bug
I've got vector tiles generated from QGIS which I have successfully loaded Mapbox GL but when I load them in a simple OL setup I get the error "Cannot read properties of null (reading 'getStyleFunction')".
https://codesandbox.io/s/vector-tile-info-forked-hbivu?file=/main.js
I'm new to OL so its quite possible I'm doing something wrong. I've tried applying a style property to the VectorTileLayer without success. Any recommendations would be greatly appreciated.

It looks like at least one of your tiles contains incorrect data. A quick debugging session showed that the https://s3.amazonaws.com/net.livefeed.public.data/tiles/nysdot-accidents/9/150/188.pbf tile contains a feature with type === 0, which is not handled properly in the MVT format. MVT.prototype.createFeature_ returns null in this case, and readFeatures() adds that null feature to the features array instead of skipping it.
The fix should be an easy pull request if you want to give it a try.

Thank you for debugging @ahocevar and for the fix @EvertEt. I can confirm this fix resolved the problem I was experiencing -
https://codesandbox.io/s/vector-tile-info-forked-hbivu?file=/package.json
I prepared a branch with the fix @ahocevar suggested last night ( https://github.com/lklepner/openlayers/tree/prevent-null-features ) but I had trouble figuring out how to run my branch after running yarn build-package.
The DEVELOPING doc doesn't have any references to this part of the lifecycle.
https://github.com/openlayers/openlayers/blob/main/DEVELOPING.md
Is there another doc which describes a way to manage this workflow? If not can/should we add something to the existing dev doc?

The ol package is published from build/ol. So when you cd into build/ol and run npm link, then np link ol in your project, you should be all set for testing your branch. If you feel that some information along these lines could be added to the docs, a pull request would be welcome.

Thanks @ahocevar. I just submitted a PR with these notes -
https://github.com/openlayers/openlayers/pull/13228


fix go releaser

Docker release is failing

Scan submitted to Checkmarx

Checkmarx SAST - Scan Summary & Details
Cx-SAST Summary
Total of 8 vulnerabilities 0 High 0 Medium 8 Low 0 Info
Violation Summary
No policy violation found

Checkmarx SCA - Scan Summary & Details
Cx-SCA Summary
Total Packages Identified: 0
Scan Risk Score: 0.00
 0 High severity vulnerabilities
 0 Medium severity vulnerabilities
 0 Low severity vulnerabilities
View more details on Checkmarx UI
Cx-SCA vulnerability result overview
No package violation found


fix: move pointer to right position for webp animation detection

1. Why is this change necessary?
This commit fixes a bug in shopware where almost any webp media image is flagged as "animated" even when it's not animated. This animated flag later prevents shopware from generating thumbnails so this fix is meaningful.
2. What does this change do, exactly?
Moves the pointer that identifies the animated flag to the right location.
3. Describe each step to reproduce the issue or behaviour.
Upload a webp image (from photoshop) to media section. The file will be flagged as "animated" and media:generate-thumbnails will skip the file.
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

I have tested manually, no tests written yet, sorry

Hey @pakeil ,
we need unit tests to proceed here. I will close this as its inactive. Let us know if you need help there

hi @pakeil.
This fix was high voted. So we decided to implement it.
Thank you very much for your contribution, it helped me! :blue_heart:


Allow inverting netdata sensor values

Description:
Netdata returns all bandwidth related sensors as positive/negative numbers related to the interface. When you are uploading at 10Mbps, the net.eno1 / sent sensor it will report a speed of -10 Mbps. When you are downloading at 10Mbps, the net.eno / received sensor will report a speed of 10 Mbps. This is only useful when you want to put both values on a graph. For automations, graphs, ... it's counter-intuitive that the value is negative also.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8883
Example entry for configuration.yaml (if applicable):
- platform: netdata
  name: netdata-proxmox
  host: proxmox.local
  resources:
    internet_upstream:
      data_group: net.eno2
      element: sent
      icon: mdi:upload-network
      invert: true
    internet_downstream:
      data_group: net.eno2
      element: received
      icon: mdi:download-network

Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

⚠ I was unable to find a documentation PR (matching this code change) in our documentation repository.
Please, update the documentation and open a PR for it (be sure to create a documentation PR against the next branch) and link 🔗 this PR and the new documentation PR by mentioning the link to the PR's in both openings posts/descriptions.
🏷 I am adding the docs-missing label until this has been resolved.

The tests seem to fail on No matching distribution found for amcrest==1.2.4

I will merge it and fix the remaining stuff later if needed.


ENORESTARGET "URL sources can't resolve targets" when installing from URLs with user information

Output of bower -v && npm -v && node -v:
1.8.0
3.10.9
v7.1.0

Additional environment details (proxy, private registry, etc.):
We use bower install -s in our travis steps to install some content from a private repository even for open source builds. See https://github.com/bower/bower/issues/2176 for some more details about this.
Steps to reproduce the issue:

bower install -s<EMAIL_ADDRESS>
GH_TOKEN is an environment variable containing a GitHub token for repository access.
Describe the results you received:
bower                     ENORESTARGET URL sources can't resolve targets

Describe the results you expected:
(bower installing the requested item)
Additional information:

This used to work in pre-1.8.0 bower.
The problem is the '@' character in the URL: Due to other means of authentication, this works my development machine: bower install -s https://github.com/Collaborne/collaborne-build-tools.git.
#2272 might be related (this was closed because one must not specify a version in the URL - but note how the '@' in their URLs is part of the path.)

https://github.com/bower/bower/pull/2322 looks like the cause of this.

Yep, it looks like is was caused by #2322, I'll put a fix in today.

For reference: #2395 is the PR that should fix this.

I'm still seeing this in bower 1.8.0. It's preventing me from referencing a development branch version of a package.

I'm still seeing this in bower 1.8.0

This was introduced in bower 1.8.0, so yes, you'd be seeing it there. If you can: use bower 1.7.9 to avoid the problem.

I reverted to 1.7.9 and had the same problem. (Uninstalled globally, installed 1.7.9 globally, added 1.7.9 to my local project. The only thing I couldn't do was change ember-cli's dependency on 1.8.0, which may have been why it persisted.)

Is there a workaround for this? I'm currently having this same problem.

I saw the problem with bower 1.8 but is working as expected in 1.8.2


When re-running a migration with SequelizeStorage it throws SequelizeUniqueConstraintError

The SequelizeStorage contains this model:
		return this.sequelize.define(
			this.modelName,
			{
				[this.columnName]: {
					type: this.columnType,
					allowNull: false,
					unique: true,
					primaryKey: true,
					autoIncrement: false,
				},
			},
			{
				tableName: this.tableName,
				schema: this.schema,
				timestamps: this.timestamps,
				charset: 'utf8',
				collate: 'utf8_unicode_ci',
			}
		) as ModelClassType;
	}

which implies migration can be added only once however Re-running migration should add it twice.

#602

thanks @mau31415


Remove unitless comparison

This addresses a change to Sass that raises this deprecation warning in apps running Neat:
DEPRECATION WARNING on line 19 of …/core/neat/functions/_neat-column-width.scss:
The result of `0px == 0` will be `false` in future releases of Sass. Unitless numbers will no longer be equal to the same numbers with units.

More info at https://github.com/sass/sass/issues/1496.

Whoops, I think this one was my fault! I had set gutter: 0px instead of gutter: 0 for one of my Neat grids.
Carry on! Thanks for all that you do.


Update dependencies

Can you update dependencies to last version.
For Eg:
device_info_plus 8.0.0 -> 9.0.3
Thanks.

Updated.


High vram usage for long audio.

The model seems to process the entire audio at once, which leads to high vram usage for long audio. I was trying to compute MERT on a 9:58 audio with an A100 80GB GPU, and it tried to allocate 90GB of vram.

Is it possible to split the audio first, process each segment and obtain the same results? I tried to split the audio into 60s windows using the code below. Even though I managed to make the segmented embedding into the same shape, it seems to give a large mean square error from the original calculation if the entire audio is passed in at once.
window_length = int(self.sr * 60) # 60 seconds
overlap_length = int(self.sr * 4.987) # 4.987 seconds (5s window - 1 * 75Hz framerate)
overlap_frames = int(4.987 * 75) - 1 # 75 Hz frame rate
embeddings = []

print("Audio shape:", audio.shape)
print("Window length:", window_length)
print("Overlap length:", overlap_length)
print("Overlap frames:", overlap_frames)

# Iterate over audio with overlap
for start in range(0, audio.shape[0], window_length - overlap_length):
    end = start + window_length
    segment = audio[start:end]
    print("Segment:", segment.shape)
    # if len(segment) < window_length:
    #     break

    # Process each segment
    inputs = self.processor(segment, sampling_rate=self.sr, return_tensors="pt").to(self.device)
    with torch.no_grad():
        out = self.model(**inputs, output_hidden_states=True)
        out = torch.stack(out.hidden_states).squeeze() # [13 layers, timeframes, 768]
        out = out[11] # [timeframes, 768]

        print("Frames before:", out.shape[0])

        # Remove overlap from the end of the segment
        if end < audio.shape[0]:
            out = out[:-overlap_frames, :]

        print("Frames after:", out.shape[0])

    embeddings.append(out)

# Stack embeddings for all segments
out = torch.cat(embeddings, dim=0)

return out

Here is the absolute error between the original and the segmented calculations on a graph... it's weird that the overlapping areas are not the only thing that is affected, but the error seems to bleed to the entire rest of the segment.


html signature support

As others have pointed out when this project was hosted on Google Code, would be really nice if you add html support in signatures too.

bump
It doesn't look that good if I'm writing business letters without HTML signatures.
You know?  But it's clearly lacking this one feature.. :(

Jurekam, do you know a free Android email client that supports html signature? If yes can you please tell me what it is?

Jurekam, do you know a free Android email client that supports html signature? If yes can you please tell me what it is?

This is a technical issue tracker, not a discussion forum. If you don't have technical details to add please use the mailing list.
In volunteer-run open source projects the answer to the question "when will it be ready?" is always "when it's done". I will delete further inquiries of this kind as they only add noise and no value.

This is a technical issue tracker, not a discussion forum. If you don't have technical details to add please use the mailing list.
In volunteer-run open source projects the answer to the question "when will it be ready?" is always "when it's done". I will delete further inquiries of this kind as they only add noise and no value.

I am looking forward to this feature too. Everything else is fine, but I cannot write any mails - private or business - on my phone, as long as I cannot import my .html signatures like in Thunderbird.
Please priorize this feature request. Thanks to all developers!

Isn't this rather a bug? You aldready distinguish between HTML/ no HTML within the code but it doesn't work
https://github.com/k9mail/k-9/blob/master/k9mail/src/main/java/com/fsck/k9/message/TextBodyBuilder.java#L189

No its not. A bug is something that doesn't work. Not something that is missing. We don't supporting writing HTML formatted emails and signatures. That's not a bug.
That code does work. It converts plaintext into HTML formatted plain text. i.e. it replaces new lines with <br>'s
That doesn't mean you can use HTML formatting to write formatted text (i.e., bold, underline, links) which is what this bug is about.
This bug is either:

the implementation of an editor to write a signature
or an option to write HTML tags directly in the signature code.

The second would be a bit ugly. The first is a lot of work.
In any case, bug vs enhancement is bikeshedding. It won't affect the speed at which it gets implemented.

Is there a reason this hasn't happened yet? Is there something making this difficult to implement, if not, then I might be able to try and open a pull request to fix this, as this has been extremely annoying for me.
Unless it's a lot of work to implement.

i  agree with @nose-gnome in this moment i consider the biggest thing that is missing , i agree to write my entire HTML and use  to external source for images in signatures . is frustrating that the body support HTML but signature not
Thank you and keep up the good work

I am really here in 2024 to find out this is not a thing yet.

Welcome to 2024 ;-) We'd love to have this as well, but there is only so much we can do at once. If someone wants to dive into contributing we're happy to help.
In the meanwhile, I think the best way to indicate your support is upvoting https://connect.mozilla.org/t5/ideas/allow-html-signatures-in-k-9-mail/idi-p/28983 . We use connect as one of many source for our roadmap.

Would it be possible to consider an incremental approach for implementing HTML signature support? Perhaps starting with image support first, so users can include logos or banners in their signatures. This would be a great intermediate step, especially for professionals who use branding in their communication.
Further down the line, a rich text editor for formatting (like bold, italics, and different fonts) could be gradually introduced. I think this step-by-step process might make development and testing easier, while providing immediate value to users.
Just a suggestion. I realise this is a volunteer work. Since this is a much requested feature maybe this can be tackled in a different way without increasing workload too much.

Please add this feature. I was about to switch from Spark to Thunderbird. Now I am hesitating to finish the setup and will keep my old email client.

the implementation of an editor to write a signature (selecting text and bolding it, inserting links)
or an option to write HTML tags directly in the signature code.

The second would be a bit ugly. The first is a lot of work.

Hey, in the desktop version, you just check a box ([ ] Use HTML) and drop your HTML code in the box and It Works! I know the app should validate the code and protect against injection (which is the hard part I guess?) but I don't get what's "ugly" about that?
This is currently the only thing that prevent me from switching from Spark to Thunderbird Mobile for my work emails.

In Thunderbird desktop version, you can attach a signature from (whether paintext or html, even an image is possible).
This SUMO article even describes how to create a html signature with the Thunderbird composer.
In the first step it could be possible to just source the very same signature from a file on Thunderbird for Android as well.

The easiest thing in terms of UI would be allowing to pick an html file

This, an html signature, is the biggest issue, which prevents my using the mobile thunderbird/k-9 email for business use, and hence personal use. It's a necessary feature to implement if a wider adoption of your mobile client is sought.

I'm wainting for some months for a way to add a signature at least one method for beginning :

write a html code in a input (i will copy paste it)
add a link that contain the html code
add a file that contain the html code

And i still waiting ...
bare minimum ... tags like : table,tr,td,span,div,a,img, and support for attributes: style , href (for "a" tag) and src (for  "img" tag) the rest of things can be stripped


1.1.6 wmagent patch4

WMAgent branch version of
#8101 retrieve PromptReco PhysicsSkim data tier from CMSSW
#8187 adjust some T0 workflows to automatic datatier in output module
#8189 Add no retry exit code
#8195 add more cpu performance for wmarchive

I'm merging it and cutting a new tag.

1.1.6.patch4 RPM available on both architectures. Thank you very much, Seangchan

 Release candidate 1.1.6.patch4 created


Replaced python calls with json

Added a mechanism to replace exec and function calls with a structured json that can only execute functions in a whitelist

Will force push without the code formatting, as there are too many changes to review


Add UV2 morph support and load UV and UV2 morph targets from glTF

I'm opening this PR following the suggestion in https://forum.babylonjs.com/t/morph-uv2-and-import-the-morph-target-from-gltf/53558/2.
The PR adds uv2 morphing to the built-in materials as well as the morph target block in the node material. It also modifies the glTF loader to load the TEXCOORD_0 and TEXCOORD_1 morph target attributes.

To reviewer: I'm not sure how to test the code changes. I only know it works because I have a downstream application that uses node material. Haven't tested other materials at all.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15602/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15602/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15602/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15602/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15602/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15602/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15602/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15602/merge#BCU1XR#0

@chubei-urus can you add a gltf visualization test ? so it would not experience nme but already a big part of the code.

@chubei-urus can you add a gltf visualization test ? so it would not experience nme but already a big part of the code.

Sure @sebavan! Do you have any pointers on where to add that?

@chubei-urus can you add a gltf visualization test ? so it would not experience nme but already a big part of the code.

Sure @sebavan! Do you have any pointers on where to add that?

you can add a test model in https://github.com/BabylonJS/Assets and then follow the contributing doc here to add the new test https://doc.babylonjs.com/contribute/toBabylon/HowToContribute#visualization-tests Do not hesitate to provide doc feedback so we can improve it if needed :-)

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15602/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGL 1 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15602/merge/testResults/webgl1/index.html
If tests were successful afterwards, this report might not be available anymore.

Seems like some WGSL shader updates are missing, is this PR still a draft?

Seems like some WGSL shader updates are missing, is this PR still a draft?

I didn't know how to run the vis tests locally. I'll convert to draft and fix the errors before requesting review again.

The code looks really solid at a first glance, I ll let @deltakosh validate and @bghgary for the gltf part

Looks good from the glTF perspective. The spec says this FYI:

Client implementations SHOULD support at least three attributes — POSITION, NORMAL, and TANGENT — for morphing. Client implementations MAY optionally support morphed TEXCOORD_n and/or COLOR_n attributes.

Seems like some WGSL shader updates are missing, is this PR still a draft?

I didn't know how to run the vis tests locally. I'll convert to draft and fix the errors before requesting review again.

This might help you to create the visualization tests if you you didn't create the tests yet:
https://forum.babylonjs.com/t/visualization-tests/41753

Hey there! any update?

Hi! I haven't found time to work on this PR yet.

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15602/merge/testResults/webgpuplaywright/index.html

@sebavan @Popov72 Thank you for the review! I addressed the comments but still haven't got time to add the visualization test yet. Let's keep this PR in draft state?

@chubei-urus Do you think you can add the visualization test, as we are waiting for this PR to be merged so we can make another one related to morph targets? Thanks in advance.

Thanks for the heads up. I'll try to do that within this week.

I think I hit an existing bug that's blocking me from adding the vis test. See https://forum.babylonjs.com/t/uv-morphing-results-in-two-textures-of-different-types-use-the-same-sampler-location/55346

Hi @Popov72, I added the test model in https://github.com/BabylonJS/Assets/pull/86. Will update this PR after it's merged.


Document that  kubelet does not restart static pods when kube-apiserver is down

This is a Feature Request

What would you like to be added
We have an issue: the kubelet does not reliably restart static pods when the kube-apiserver is down. We should mention that in the docs - eg https://kubernetes.io/docs/tasks/debug/debug-cluster/
Why is this needed
This change would help readers know that there is a Kubernetes bug, and should help them pick a troubleshooting strategy that accounts for the defect.
Comments
/language en
/sig node
/kind feature

/triage accepted

@sftim Would we want that listed against the first bullet point in the Specific scenarios section? Or do we want to list this as a separate bullet point under that section or elsewhere?

I am open to implementers' own ideas about where to mention this.

Hi @sftim please assign me this issue, I will like to work on it

@reetasingh Please use the /assign command followed by your name to assign yourself the issue. Please also note that we have a no cookie licking policy which means that anybody is welcome to submit PRs to k/website against an issue even with an assignee.

/assign

Hi @reetasingh, Are you working on this issue? If yes, any update on this?
Thanks

/lifecycle frozen


json-language-features: Add new line at EOF for code formatting

The json-language-features LSP code formatting should add a new line at EOF for code formatting.
It should according to POSIX, see https://stackoverflow.com/a/729795/1853417.

We have setting for this: 'files.insertFinalNewline'
The value of the setting is passed to the formatter,

@aeschli even if that works, this still belongs to a formatter. Isn't the LSP allowed to be used with other editors? I consider that a workaround, not a proper solution.
A formatter should generically be designed as editor agnostic, and adding a new line at EOF thus fits into formatters.

'files.insertFinalNewline' is just a VS Code setting name.
In LSP, the formatter gets that option in the FormattingOptions (insertFinalNewline)
See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_formatting
When VS Code calls the formatter, it fills in that property based on the current VS Code settings.

@aeschli that was more than I was aware about, thanks. I am still not sure I find it correct though.
Maybe if I phrase it like this: Any other formatter I know of, Prettier, Ruff, markdownlint all add a new line at the end of file without the files.insertFinalNewline VS Code setting. Naturally, they are all often invoked both via CLI, or via extensions for each formatter in VS Code. In the case them being extensions, the formatters still do not look at files.insertFinalNewline.
Ergo: A formatter should add new lines by default, without editor specific configurations. One should not have to set specific config for this just for this LSP implementation for formatting.
At least that is my firm belief 😄


feat: Million Meta-framework

Hi, author of vite-plugin-ssr here.
While Million works with Next.js it can, at some point, make senses to break compatibility with Next.js.
If that's something you're considering, then let me know as the upcoming v1 release enables libraries like Million to easily build their own meta framework. See:

https://vite-plugin-ssr.com/build-your-own-framework
https://github.com/brillout/vike-react/tree/main/vike-react (see https://vite-plugin-ssr.com/vike-packages)
https://github.com/brillout/restack (showcasing a framewrok that completely abstracts vite-plugin-ssr away from the user)

Congrats on the very successful Million launch :rocket:.

Thank you @brillout! Big fan of you and your work :). FWIW this is definitely an area we are considering to work in

Thank you @brillout! 🙌🙌

FWIW this is definitely an area we are considering

Keep me in the loop! Could be very exciting to do something together. More than happy to introduce new lower-level APIs for accommodating a Million Meta-framework (although the V1 design is very flexible already, so chances are that no change is required, even for advanced integrations such as RSC).


Invalid character range: \x80-\x10fffd

Hi, I'm trying to parse some cddl which has this \x80-\x10fffd wide range of characters in their spec: https://www.rfc-editor.org/rfc/rfc8610.html
It throws an Invalid character range error since the comparison is just using the first character:
https://github.com/peggyjs/peggy/blob/f3235636b1be6a9944fa8b4088f5ec45966dedef/src/parser.pegjs#L398C10-L398C10
It's like saying 80 > 100 because 8 > 1. Could support be added for ranges outside 1 byte?

Peggy matches one UTF-16 code unit at a time, not a byte or a codepoint at a time.  Therefore, you want something like:
PCHAR
  = [\x20-\x7E]
  / [\x80-\ud7ff]
  / [\ue000-\uffff]
  / $([\ud800-\udbff] [\udc00-\udfff]) // Surrogate pair

I hope this worked for you.  If not, please re-open this issue.


[rmlui] Update to 4.2

Describe the pull request

What does your PR fix?
Updates RmlUi to version 4.2.

Which triplets are supported/not supported? Have you updated the CI baseline?
All, Yes

Does your PR follow the maintainer guide?

Yes

All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

LGTM, thanks for the update!


Enable the app deployment from a private container registry

This pull request resolves #18.
Assumptions:

A user provides only a single secret,
We don't make any secret or secret-name validity check, i.e. when a user inputs an empty key name or two secret (comma separated), then the app deployment simply fails.

Please fix the failing test shouldReturnComplexType

The test is not related to this PR, but seems to be flaky on the CI runners

Please fix the failing test shouldReturnComplexType

I was confused why it failed as it seems to have nothing to do with this PR.


Add Dependencies to Readme

We need to add the list of dependencies to the readme file.

The readme file has been updated.


Fix Some Nondeterministic failures

This was my attempt to address some of the nondeterministic build failures that we are seeing in Travis. The code is evolving fast enough that the issues weren't really helpful, and I'm not really certain what may have been causing the issues. I've added more error information.
I think I'm in favor of closing some of the older nondeterministic build failure issues. It's good to have a log of the nondeterministic failures that travis is spitting out, but if we don't get to them quickly they become very difficult to debug.

It also seems that, in general, Travis is not failing as much anymore.

poor timing on that comment lol

It's okay both failures are fixable, wrote a commit to fix the first, working on the commit to fix the second.

rebased, ready to go

fixed, rebased, build passed


Rpgle Lint

Hi,  I work in local, reading from documentation I activated various lint configuration, now I don't understand the exact meaning of this lint report:

Obviously qualified is clear, but for me is not clear the meaning of:
No reference to definition. sometimes appear and sometimes no...
Is possibile to have a better explanation of this lint item?
NoUnreferenced
NoGlobalsInProcedures (here's the meaning is clear, but my ignorance, why?)
Many thanks.
A little note about the project:
I think that this project is fantastic, I have some problem to convince some colleagues to pass from SEU to this wonderful IDE.
I think then this is really a modernization step, I decide for me and my group then this is the way, but another group stil use SEU, and stil use opcode: z-add, move, movel, goto, and they won't to pass to free, How can I help this colleagues to the importance of modernization???

I think I understand, sometimes I copy prototypes and variable from other programs, but in this program I didn't use it, I resolve this with the H-spec definition:
Option(*NoUnRef :*SrcStmt :*NoDebugIo)
*nounref
https://www.ibm.com/docs/en/i/7.4?topic=csk-optionnoxref-nogen-noseclvl-noshowcpy-noexpdds-noext-noshowskp-nosrcstmt-nodebugio-nounref#hoption
Many thanks again

Hi,
another question about lint:
if I have a sqlrpgle:
Select nullif('aaa', '') from sysibm/sysdummy1;
where 'aaa' is a filed of my table, lint give me the error:

but in this case I can't put *blank.
Many thanks


Update hardcoded version string

Update date format of version string
-Should be more compatible with both builds (ubuntu and osx)

:+1:


Include guard macro uses a reserved name

https://github.com/cnbatch/dynarray/blob/7d86b2f743d3edb1009d24953bab92539521b86c/dynarray.hpp#L55
_VLA_DYNARRY_ is a reserved name, which makes this header undefined according to the standard. There's no reason you need a leading underscore for that macro, you can just use VLA_DYNARRY or VLA_DYNARRY_HPP_INCLUDED or something like that.

The macros have been updated to prevent the use of reserved names.
Thank you for your valuable suggestion!

Nice, thanks!

Commit d9189b4 didn't fix the issue. The new names (for example, _VLA_HEADER_DYNARRAY_HPP_) still have leading underscores.

Right, that's just as bad (I didn't check the actual code, just assumed what was said here was correct).
The problem is not that the names don't end in "HPP" it's that the start with an underscore followed by an uppercase letter. _VLA_DYNARRAY is bad, VLA_DYNARRY is good. If you want so use XXX_HEADER_XXX_HPP that's fine, but it can't use a leading underscore.

Truely sorry about that.
Please try the new version, I have now deleted the underscores at the beginning of the macros.


HUB Support

Hi, You have mentioned Hub support on project front page but I cannot find any indication of that support on your code. After executing  the program I saw that hub class is not recognized:

D] [HOST] HS DEV:00 Set device address to 01
[D] [HOST] HS DEV:01 Device VID:05e3 PID:0608
[D] [HOST] HS DEV:01 Class (0x09,0x00,0x00) not found, init it as raw device
[D] [HOST] HS DEV:01 Interface (0x09,0x00,0x00) has 1 endpoints:
[D] [HOST] HS DEV:01   Ep  addr:0x81, attr:INTR, mps:1
[D] [HOST] HS DEV:01 Device has 1 interfaces
[D] [HOST] HS DEV:01 Set to configuration 1(1)

Can you confirm that missed support or indicate the source files ?
Thanks

Hi, You have mentioned Hub support on project front page but I cannot find any indication of that support on your code. After executing the program I saw that hub class is not recognized:
D] [HOST] HS DEV:00 Set device address to 01
[D] [HOST] HS DEV:01 Device VID:05e3 PID:0608
[D] [HOST] HS DEV:01 Class (0x09,0x00,0x00) not found, init it as raw device
[D] [HOST] HS DEV:01 Interface (0x09,0x00,0x00) has 1 endpoints:
[D] [HOST] HS DEV:01   Ep  addr:0x81, attr:INTR, mps:1
[D] [HOST] HS DEV:01 Device has 1 interfaces
[D] [HOST] HS DEV:01 Set to configuration 1(1)
Can you confirm that missed support or indicate the source files ? Thanks

The code support HUB is no longer maintain, it's moved to archive repo at here https://github.com/xtoolbox/archive_TeenyUSB


update bin/cachetool to include global autoloader

bin/cachetool must use the global autoloader too if it exists, otherwise the command cannot find it.
I grabbed this from how bin/doctrine.php works

Fixed in 8e7d758

Bumped tag to 1.4.2

Thanks :)


Relative paths considered relative to the current url (differs from Sapper behaviour)

Porting the hackernews app I have found that:
From the ask page, hitting the ask navigation link:

ask

in Sapper - visits the /ask/1 page
In Svelte App - visits /ask/ask/1 page (which 404s)
I'm assuming this has something to do with baseUrl.
Note that in line with the thinking in sveltejs/kit#16 - we recently made this change to baseUrl which should be considered https://github.com/sveltejs/sapper/pull/1562
This also isn't specific to hrefs since I've noticed that from the ask page, all references to static assets are attempting to be loaded under the /ask/ path.

This is really two separate issues — #192, which we decided to close for now, and #595 which I'll close this in favour of


Icon colour has stopped changing even though state is correct

Before you submit a new bug report, please check that

[X] I have read frequently asked questions and limitations
[X] I'm running the newest version of Garbage Collection, or the next pre-release.
[X] I have enabled debug logging for my installation.

Describe the bug
I have been using this for some time now and it has been working very well indeed. The custom garbage collection card has been working correctly and showed the changing icon colours for teh day before and day of collection last week, however today (collection due tomorrow) the icon colour is no longer changing and remains the regular green colour set in 'icon_color' within the card.
Only things that I am aware have changed since it worked correctly last week are a HA Core update which i ran yesterday and the latest HA OS update today which I installed.
Looking at the state of my recycling sensor in Dev Tools, correctly shows a state of '1' and an attribute of 'next_date: 2022-12-14T00:00:00+00:00' which is correct for tomorrow. My card config hasn't changed:
type: custom:garbage-collection-card
entity: sensor.recycling
icon_color: green
icon_size: 35px
due_color: red
due_text: true
hide_on_click: false

I've also just noticed that the attricute 'last collection' shows 7th June this year? Shouldn't that be showing the date last wednesday?

Configuration
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.12.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/London",
    "os_name": "Linux",
    "os_version": "5.15.80",
    "supervisor": "2022.11.2",
    "host_os": "Home Assistant OS 9.4",
    "docker_version": "20.10.19",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hildebrandglow_dcc": {
      "version": "0.6.0",
      "requirements": []
    },
    "garbage_collection": {
      "version": "4.10.1",
      "requirements": [
        "python-dateutil>=2.8.2"
      ]
    },
    "wiser": {
      "version": "3.2.2",
      "requirements": [
        "aioWiserHeatAPI==0.1.8"
      ]
    },
    "hacs": {
      "version": "1.28.4",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "sun2": {
      "version": "2.1.3",
      "requirements": []
    },
    "fullykiosk": {
      "version": "1.1.0",
      "requirements": [
        "python-fullykiosk==0.0.11"
      ]
    },
    "holidays": {
      "version": "1.9.0",
      "requirements": [
        "python-dateutil>=2.8.2",
        "holidays>=0.14.2"
      ]
    },
    "browser_mod": {
      "version": "2.1.2",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "garbage_collection",
    "name": "Garbage Collection",
    "version": "4.10.1",
    "documentation": "https://github.com/bruxy70/Garbage-Collection/",
    "issue_tracker": "https://github.com/bruxy70/Garbage-Collection/issues",
    "iot_class": "calculated",
    "integration_type": "helper",
    "dependencies": [],
    "config_flow": true,
    "codeowners": [
      "@bruxy70"
    ],
    "requirements": [
      "python-dateutil>=2.8.2"
    ],
    "is_built_in": false
  },
  "data": {
    "entity_id": "sensor.recycling",
    "state": 1,
    "attributes": {
      "days": 1,
      "last_collection": "2022-06-07T21:30:32.885763+01:00",
      "last_updated": "2022-12-13T17:37:12.295098+00:00",
      "next_date": "2022-12-14T00:00:00+00:00",
      "device_class": "garbage_collection__schedule"
    },
    "config_entry": {
      "entry_id": "fe47b40ed9b82760c8be08f61552bf74",
      "version": 6,
      "domain": "garbage_collection",
      "title": "Recycling",
      "data": {
        "unique_id": "d03385be-6587-458f-9304-cbd6c3ec65d1"
      },
      "options": {
        "frequency": "weekly",
        "icon_normal": "mdi:recycle",
        "icon_today": "mdi:recycle",
        "icon_tomorrow": "mdi:recycle",
        "manual_update": false,
        "verbose_state": false,
        "first_month": "jan",
        "last_month": "dec",
        "collection_days": [
          "wed"
        ],
        "verbose_format": "on {date}, in {days} days",
        "date_format": "%d-%b-%Y",
        "hidden": false
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": null,
      "disabled_by": null
    }
  }
}

Debug logs
No error message

Please check that with the custom card repository. The integration does not do any colors.


Question: Always unblock?

I'm trying to think of a case when I would not want to unblock my publish function. The only case would be if I'm using the published data to pass as an argument (from the client) to another publish function. However, if I'm doing that, I would always have that code in an autorun, so it will rerun once the data from the first publish function arrives.
So I think it's safe to unblock all functions always, in which case, maybe you could make a version of this package that automatically unblocks all?
Am I overlooking something?

Is the null publication one that needs blocking? Eg
Meteor.publish null, ->
  if @userId
    Meteor.users.find @userId,
      fields:
        services: 0
        server: 0
  else
    null

Hmm. Nope.
You should not write null publications at all.

I thought this is the universal subscription that's in every app to get user data?
http://support.kadira.io/knowledgebase/articles/379961-what-is-null-autopublish-publication

Ah! yep. You mean about the core null publication.
Yep, there are using a null publication to send user data.
On Tue, Jul 28, 2015 at 9:53 AM Loren Sands-Ramshaw <
<EMAIL_ADDRESS>wrote:

I thought this is the universal subscription that's in every app to get
user data?
http://support.kadira.io/knowledgebase/articles/379961-what-is-null-autopublish-publication
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/unblock/issues/2#issuecomment-125434546.

for always unblock
export default {

  safeMethods(methods) {
    const _methods = {};

    _.each(methods, (method, methodName) => {
      _methods[methodName] = function () {
        return _isUserLogin(this, arguments, method);
      }
    });

    Meteor.methods(_methods);
  },

  safePublish(name, func) {
    Meteor.publish(name, function () {
      this.unblock();
      return _isUserLogin(this, arguments, func);
    });
  },

  safePublishComposite(name, func) {
    Meteor.publishComposite(name, function () {
      this.unblock();
      return _isUserLogin(this, arguments, func);
    });
  },

  safePublishTransformed(name, func) {
    Meteor.publishTransformed(name, function () {
      this.unblock();
      return _isUserLogin(this, arguments, func);
    });
  },

}

function _isUserLogin(ctx, args, fn) {
  return ctx.userId
    ? fn.bind(ctx)(...args)
    : ctx.error(new Meteor.Error('unauthorized'));
}


feat: add scraper for omdena and methods for retrieving datasets, projects and blogs

Description
I've added the Omdena class which has three methods: get_datasets(), get_projects(), and get_blogs(). These methods allow users to retrieve information about datasets, ongoing projects, and latest blogs from Omdena.
Resolves: #1099
Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

[x] Have you adhered to the repository's defined coding convention rules?
[x] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[x] Have you used the try-catch technique?
[x] Has the method/class been added to the documentation (md file)?

Screenshots
class:

working example:

Additional Notes/Comments
I've also upated the dev-documentation and have added omdena.md in docs/modules
I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

Hi @nikhil25803 , thanks for pointing this out. There must be some exception that's getting triggered, could you please switch the return type to print the exception so that I can see what's happening exactly. Unfortunately I won't be able to replicate the case since the code is getting executed successfully in my env.
from scrape_up.omdena import Omdena

omdena = Omdena()
projects = omdena.get_projects()
print(projects)


Addresses #385 Bump log4j to 2.16.0 in java package

Description
Update log4j dependency to 2.16.0
General Checklist

[ ] Tests added for this feature/bug
if it was a bug, test must cover it.
[ ] Conform by the style guides, by using formatter
[ ] Documentation updated
[ ] (optional) Please add a label to your PR

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.141%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3744

Relevant Lines:
4536

💛  - Coveralls


MicroG not working with Android 15

Micro G is not getting installed in Android 15

Must be a conflict. Install over ADB/SAI and send the error code


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98161

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98828


[editor]: Support c in preview

Please add support for .c files to the editor preview.
Generated by adamraichu.zip-viewer

NO REOPEN IT BRO

NO REOPEN IT BRO

I added it to the preview.... Make sure you are using version 3.15.2 or later. If you are still having trouble, send me a screenshot.

oh yeah now it works... but anyway before i recived a error message regarding so. Thanks


History and press

Un-commented and cleaned up history
Restored press section, making sure it was up-to-date with Google News results
Some of the requests in #1 are addressed in this PR.

We are curating a list of press links and have a couple of members who have pretty excellent writing skills that are in process of overhauling most of the site's copy, so closing this for now

Will there be a history that includes the founders of the CDA?

Hey Bret, I'm currently working on writing up something more cohesive and formal that can be used cross-platform for stuff, since that falls under my role and responsibilities now. At this time, I'm planning on going away from listing names of anyone on the website beyond leadership because I think we need to move toward recognizing the community of CDA versus individual efforts as our mission is focused on pursuing civic good for the whole rather than individuals. This is based on viewing other brigade websites (such as OpenOakland) and following their lead.
That being said, we are working through the idea of a "History" section to honor the contributions of others in the formation of CDA.


arena netdeck bug?

This line should be arena = true shouldn't it?

Yep, you're totally right. Thanks


"textlength" isn't working

I have my files formatted as "{date} {text} {media_id}.{ext}" but the "textlength" variable in config.json doesn't seem to be working. I'm not sure if any of the filenames are adhering to the limit.
Running the latest development version on Windows.

Just read through the page about command line args and see the explanation (textlength counts number of words, not characters). My bad, closed the issue.

done


Adds unique equips for syndie duffels.

I split this from the holding PR because it didn't seem right to bundle it together.


Possible to proxy multiple mySQL containers on port 3306?

I have a set up with multiple mysql containers on the same host with port 3306 exposed (but not published). Linked app containers within the docker host access the db containers just fine.
I'd like to be able to access each mysql container externally (for example, with a mysql client for development) via hostname1:3306,  hostname2:3306, etc just as I would multiple web apps on port 80.
Is it possible to configure the nginx-proxy to proxy mySQL traffic?  Alternatively, does anyone know of a dockerised mySQL specific proxy that might do the trick?

nginx-proxy is a reverse proxy for web servers (HTTP) and won't be able to proxy just TCP traffic.

Have had a good hunt for something that might do the trick.  Am coming up empty. Calls for a different plan of attack I'd say.
Thanks for confirming nginx-proxy is not the path to take :)

Would it be a big mission to implement this. I was thinking of playing around with the Nginx template to see if I can pull it off, because I have read that can do something like this.

@batandwa you mean for load balancing? don't think it is possible or at least to trivial to route to different mysql servers based on hostname

Yep... spent a few minutes and got that same conclusion.

I tested a simple TCP proxy https://github.com/jmparra/nginx-proxy/commit/b3977a8f335dda0a3285c0e435074f4e3bf423d4

I expanded on @jmparra's work a bit at https://github.com/drud/nginx-proxy/blob/5a2626d346b9c49be151e238af489b9d9e03ff28/nginx.tcp.tmpl
To use, simply define a "TCP_PORT" environment var in the form of [hostname]:[port].

@modius Same thing annoyed me a lot and often recurring problem with port conflicts when starting another dockerized application which had database setup with port mapping to default like 3306:3306 or some other repeating ports e.g. 3336:3006 and necessity to change or comment these lines in docker-compose.yml files. Sometimes also commit them by mistake. And always need to change db configuration in GUI (Sequel Pro, Mysql Workbench).
So I got inspiration from a different approach and made a proof of concept to solve this problem via SSH tunneling which is supported by every database GUI. You can check it here https://github.com/speto/docker-db-tunnel Now I don't need to map database ports at all and can access databases easily with stable connection configuration via hostnames and no matter how much application is running simultaneously.


Authorizator or LogIn() should use escaping closure for easier data access

New Issue Checklist

[x] I have looked at the README.md
[x] I have looked at the Example project
[x] I have filled out this issue template.

Issue Info

Info
Value

Swift Version
3.1

Issue Description
Consider the official Facebook Swift SDK - https://developers.facebook.com/docs/swift/login
// Once the button is clicked, show the login dialog

@objc func loginButtonClicked() {
  let loginManager = LoginManager()
  loginManager.logIn([ .PublicProfile ], viewController: self) { loginResult in
    switch loginResult {
    case .Failed(let error):
      print(error)
    case .Cancelled:
      print("User cancelled login.")
    case .Success(let grantedPermissions, let declinedPermissions, let accessToken):
      print("Logged in!")  }

What im suggesting is implement auth states handling based on @escaping enum variable for easier data access (loginResult in Facebook example)

Done


Fastapi recommends use gunicorn with uvicorn workers why?

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
async def root():
    return {"message": "Hello World"}

Description
Currently i use uvicorn only in production but when i check the docs it says you should run uvicorn workers inside gunicorn, what do i get when i replace it with gunicorn?
Operating System
Linux
Operating System Details
No response
FastAPI Version
latest
Python Version
3.9
Additional Context
No response

There are recent updates in deployment section of docs, you can read about docker deployment and variants:
https://fastapi.tiangolo.com/deployment/docker/#deployment-concepts


ImportError: cannot import name 'Sequence' from 'collections'

I'm using docx 0.8.10. import does not appear to work with python 3.10+. This is because an attempt is made to  import name 'Sequence' from 'collections' in section.py line 7: in python 3.10+ it should be "from collections.abc import Sequence".

I solved this by upgrading to 0.8.11

Thank you for the response 🙏 On 8 Apr 2023 16:11, Valentin Oliver Loftsson @.***> wrote:
I solved this by upgrading to 0.8.11
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Try to get url from stdin if --url is not provided

Hello!
Thanks for creating this tool! I was wondering, it'd be useful to make it read the URL from stdin so putting url-parser in a shell pipe would look better:
curl --silent $url | pup '#css-id-selector attr{href}' | url-parser path

Also, it's kind of weird that if no --url is provided, no error message is given. Moreoever, it's surprising that this doesn't work:
url-parser --url=... path

Whereas only this works:
url-parser path --url=...

Thanks for your feedback. That url-parser --url=... path works while url-parser --url=... path is the result of trying to be smart :sweat_smile: --url is a global flag and a such the only order that should work is url-parser --url=... path  or to be more generic url-parser [global options] command [command options] [arguments...]. In general, the library is strict in how flags are handled, and the order always matters.
Adding support for stdin and return an error in case of an empty URL makes sense, already working on a PR.


Update 06/2020

update .gitignore file 🐞
use xo as linter 💅🏻
update LICENSE 🗝
use nyc over istanbul for coverage 💯
update mocha ☕
update test code (use koa 2) 🧪
update all deps. 🥡
update ci pipeline 🎲
remove makefile ❌
improve the source code (asyn/await >> koa@2) ✨
update README.md (use koa@2 for the usage section) 📋
update example with koa@2 ✨
better pkg.json 🎗

READY TO 2.0.0 🚀

Coverage remained the same at 100.0% when pulling bd2dc57b91555b6b4e980b8dde0488e54c29ac39 on 3imed-jaberi:3imed-jaberi-update-06-2020 into 755a0da30a21196b0d1afed80e5e81fafac866dc on koajs:master.

Coverage remained the same at 100.0% when pulling bd2dc57b91555b6b4e980b8dde0488e54c29ac39 on 3imed-jaberi:3imed-jaberi-update-06-2020 into 755a0da30a21196b0d1afed80e5e81fafac866dc on koajs:master.

@niftylettuce, @dead-horse, @jonathanong ...
can anyone merge this PR then publish the next version or give me access to do that !!

@dead-horse, done ✔ !

@niftylettuce added you as owner

v2.0.0 was just released https://github.com/koajs/charset/releases/tag/v2.0.0

@dead-horse, @niftylettuce plz, update History.md file.

History should be deprecated.  We use Releases tab now.


[ja] Translate tasks/administer-cluster/kubeadm/configure-cgroup-driver into Japanese

This is a Feature Request
What would you like to be added
Translate tasks/administer-cluster/kubeadm/configure-cgroup-driver  into Japanese.
Why is this needed
This page has not been translated.
Comments
/language ja
/assign

/triage accepted


Network Diff number/calc wrong? Or am I missing a conversion?

Network Diff is showing up as "6.570702248007084e+40 E" for example, when reported network diff by coin is 14281.24, for example.
Am I missing a conversion value or something here, or is the wrong number being reported to the API?

Fixed in dev

Reopen if not fixed.

Appears to still be broken. Seeing 4.6674359872960025e+35 as the value for ZEN Net Diff, for instance.

Fixed by 46a0c843165aede73547ec0b72435aa394337fa1

I have error 2

check code 46a0c84 its ok, but network diff error


Restana tests

This PR introduces most of the res.send tests from Restana to check the low-http-server's res.end for viability. Introducing these tests uncovered certain problems:

HTTP requests would hang, if res.body was not a string, TypedArray or Buffer

These issues were also solved in this PR with improved input validation.

@jkyberneees perfect, then it needs to be included in the next release version


initSession promise is not resolved on app resume on Android

Hi,
when disabling tracking (Branch.disableTracking(true)) on Android the promise Branch.initSession() is not resolved anymore on app resume.
We are waiting for the promise to be resolved before we finish our app resume process. Now that the promise is never resolved our app gets stuck in the resume screen.

@Luro91 We tried it on the ionic app, we are unable to reproduce it. Are you trying on ionic/cordova/phonegap?
On ionic it opens the app with data on resume.
We used latest branch SDK 3.0.1. Can you please try it on the latest version and let us know if you still face this issue.

@Luro91  Since we have not heard back , we will close the issue. if you still face the issue please feel free to reopen


Integrate Swarms, dozens of multi-modality agents.

I'm the lead contributor to Swarms, an framework on enabling collaboration to advance Autonomous agent reliability to automate all digital tasks.
https://github.com/kyegomez/swarms

Can you expand on how exactly it would be integrated? And more on how Swarms work?


Change grubscrew M5 to M6

Addresses #21

@lost-hope Have I fixed the documentation adequately?

you missed one :

1 M6x5 or M5x8 grub screw (eg ISO 4026 M6x5, for pre loading spring)

Not sure how I missed that, thanks.


Visual testing reveals problems

step 1. generate result
bash tools/dist_test.sh projects/configs/flashocc/flashocc-r50.py ckpts/flashocc-r50-256x704.pth 4 --eval map --eval-options show_dir=work_dirs/flashocc_r50/results
step 2. visualization
python tools/analysis_tools/vis_occ.py work_dirs/flashocc_r50/results/ --root_path ./data/nuscenes --save_path ./vis
An error occurs when running the second step：
vis: VisualizerWithKeyCallback with name Open3D
view_control: None
Traceback (most recent call last):
File "tools/analysis_tools/vis_occ.py", line 420, in
main()
File "tools/analysis_tools/vis_occ.py", line 359, in main
view_control.set_lookat(look_at)
AttributeError: 'NoneType' object has no attribute 'set_lookat'

I'm having the same issue, has it been solved?

If your server is not connected to a monitor, you can download the data locally.

I have encountered the same problem, have you solved it?


New variant parameters class

I created a new class VariantParameters and moved the params that I thought could differ by variant into this new class.  Default values are set here.
SimulationParameters now has a dict variantParameters with one entry per variant.
Modified places where parameters are accessed to use the new variant parameters.

Looks good.

Roger, I'll make those changes and submit a new PR.


Upgrading DBT to v18+ causes errors with Postgres targets

Migrated from GitLab: https://gitlab.com/meltano/files-dbt/-/issues/3
Originally created by @david.tout on 2021-05-04 23:38:49

This issue is being created to document an MR already in progress.
This MR supports a corresponding MR in the main meltano repository which resolves: https://gitlab.com/meltano/meltano/-/issues/2694
When dbt is upgraded to v0.18.2 (presumably newer versions too) some errors are encountered with postgres targets:
dbt             | Running with dbt=0.18.2
dbt             | Encountered an error while reading profiles:
dbt             |   ERROR Runtime Error
dbt             |   Credentials in profile "meltano", target "postgres" invalid: '5432' is not of type 'integer'

The following change needs to be made to the dbt file bundle.

Update profiles/profiles.yml and cast the postgres port variable to int

View 6 previous comments from the original issue on GitLab


when request is complete, send another request

Hi,
I have a problem from use Alamofire. I send request and get response without problem. but want send request and when complete, use data from first request for second request params.
My code is here:
postRequest(URL: "translate", parameter: ["from" : "en", "to" : "ar", "text" : fromLanguages], completion: { result in

                    self.translateObject = translateJsonToModel(jsonText: result as! Dictionary<String, Any>)

                    if self.translateObject.ResponseErrorCode == 0 {

                       postRequest(URL: "translate", parameter: ["from" : "en", "to" : "ar", "text" :  fromLanguages], completion: { result in

***                         if self.testResult.ResponseErrorCode == 0 {
                             print(result)
                         }
                      }
                     })
                    }
                })

func postRequest(URL:String = "", parameter: [String : Any] = [:], header: [String : String] = [:], completion: @escaping (Any?) -> Void) {

    let urlString = "\(mainURL)\(URL)"
    let storedUserToken = PreferencesManager.loadValueForKey(key: "Token") as? String

    Alamofire.request(urlString, method: .post, parameters: parameter, encoding: JSONEncoding.default, headers: header).validate().responseJSON {
        response in

        switch response.result {
        case .success:
            print(response)

            break
        case .failure(let error):

            print(error)
        }

        guard response.result.isSuccess else {
            print("Error while fetching remote rooms: \(String(describing: response.result.error))")
            completion(nil)
            return
        }
        completion(response.result.value)
    }
}

but this code doesn't work correct. this *** line run before first request complete!!!

There are a variety of ways to make requests sequential, like Operations, DispatchGroup, DispatchSemaphore, but we don't provide any built in mechanism. I suggest you find one you like and work from there.
In the future, you should open questions like this on Stack Overflow and tag alamofire.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Toggling binary hangs the application

If the binary selection is toggled after a custom path is set, the application hangs.

Install custom rsync binary at /usr/local/bin
Open RsyncUI for the first time.
Set binary path to /usr/local/bin.
This will cause a notice of missing binary pop up time after time.
Finish the entering of the custom path
Ensure the save of config is done, check mark green and name of binary shows up in the main window.
Rastart RsyncUI and open config.
Custom path is now gone.
Used binary is back to default.
Relaunch RsyncUI and custom binary is back as active.
Open prefs and toggle the 3.3 binary selection
The warning of missing path is displayed and the RsynUI application hangs.

RsyncUI: 2.0.0. b101
rsync binary path: /usr/local/bin

I am not able to get RsyncUI to hang even with missing path for rsync. The app should not complain when adding path /usr/local/bin if there is a rsync file in that catalog. The check for valid rsync is a simple FileManager check if file exists. It is interesting to find out why the app is hanging, it seems like there is some other issue.
Questions:

is the app working as expected with default rsync in /usr/bin?
do you have Xcode installed and know how to run execute a project in Xcode?
if you have Xcode installed (Xcode 16 beta 5) it is very easy to compile and run the app, and Xcode will report any problems like hangs..


[flutter_tools] Add additional bash entrypoint for running dart sdk directly

Description
The bash side of https://github.com/flutter/flutter/pull/53470.
This PR:

Moves the previous //bin/flutter shell script to //bin/shared.sh.
The main execution code in //bin/shared.sh is wrapped in the function shared::execute().
The definition of the variables PROG_NAME and BIN_DIR and the functions follow_links() and path_uri(), as these will be defined in the entrypoints, before invoking shared::execute().
At the end of shared_execute(), there is a switch-case over the BIN_NAME, or the filename of our entrypoint, which determines whether or not we invoke the dart binary directly or the flutter_tools snapshot we've created.
Creates two new entrypoint scripts, //bin/flutter and //bin/dart, which at this point have all the same code. It defines the variables and functions from step 3, and then invokes shared::execute "$@", passing it the command-line args.
Updates .cirrus.yml to trigger all steps if editing one of the bash scripts in flutter/bin.

To help code review, I uploaded a diff from master's //bin/flutter and this branch's //bin/shared.sh, which should be easier to read than the PR diff.
Note, I merged in this PR, which was already code reviewed. Thus, the changes to *.bat files should be approved already. Feel free to double check however :).
Related Issues
Part of https://github.com/flutter/flutter/issues/57063.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

Argh, looks like I borked CI again, lemme investigate...

cc @gspencergoog and @jcollins-g for bash sanity check

(for batch script :)  )

Also, try and wrap the comments at 80 columns.

Done


Kibana version 7.5

Area you considering a port for version 7.5?
Saw that you are working on #52 but that's still ongoing.
API Changes list: https://www.elastic.co/blog/kibana-plugin-api-changes-in-7.5

+1 That'd be great yes!


Use env in drmaa.wrapper.run_job_locally

The job environment can be specified when jobs are run via
run_job_using_drmaa(... job_environment = None ...)

but not when the job is executed locally:
def run_job_locally (cmd_str, logger = None):

    process = subprocess.Popen(  cmd_str,
                                 cwd = os.getcwd(),
                                 shell = True,
                                 stdin = subprocess.PIPE,
                                 stdout = subprocess.PIPE,
                                 stderr = subprocess.PIPE )

If a tool requires specific PATHs to be present that are in conflict with current environment variables, this complicates switching between grid and local mode.

Thanks for the bug report
drmaa_wrapper.run_job_locally() doesn't support setting the working directory either.
The changes to support both have been checked into the git hub repository and will be in the next release of Ruffus (2.6.3)
The unittest is test/test_drmaa_wrapper_run_job_locally.py
I have also taken the opportunity to tweak drmaa_wrapper.run_job_locally():
When running commands on a remote computational cluster (usually in parallel), one obviously should not expect to see the console results as they happen. drmaa_wrapper.run_job() returns the stdout and stderr results in two lists of strings.
This is annoying when running the job locally (e.g. for debugging) when it would be nice to see the results scrolling on the screen as they come out.
There is now a "local_echo" parameter that causes both stdout and stderr to be echoed to the local console, as well as saved in the resulting two lists
# stdout and sterr are two lists of lines (python strings)
stdout, stderr = ruffus.drmaa_wrapper.run_job(cmd_str = "ls -la",
                                                 # set environment
                                                 job_environment = environ,
                                                 # set working directory
                                                 working_directory = home_dir,
                                                 run_locally = True,
                                                 # run with echo
                                                 local_echo = False)

The echoed output, however, only guarantees that the output line order are preserved among stdout lines and among stderr lines. In rare cases, when there is interleaved stdout and stderr output, a stdout line will appear before a stderr or vice versa.
Leo

Thanks for the quick response.
Ran all unit tests successfully with Python 3.2.3 - works like a charm!
Peter

Hi Leo,
I just discovered that the problem still exists in 2.6.3 (Python 3.2), but in another location (it's not covered by any of the unit tests). This time, it's the def enqueue_output(out, queue, echo) method, where the iterator returns iter(out.readline, b''), but it should be str. It only happens when jobs are run locally with echo, that's why I hadn't noticed that before :-( Sorry for that!
Best
Peter

Hi Peter,
Sorry about that.
This is fixed in the repository and will be in the next release.
I am always a bit surprised how fiddly this unicode / bytestring division is to get right.
Leo


Don't enforce container sigpolicy by default

(Draft for discussion, also this depends on https://github.com/containers/bootc/pull/229 )
--
Don't enforce container sigpolicy by default
Closes: https://github.com/containers/bootc/issues/218
Basically this effort has not been really successful and adds
more pain than it solves.  We need to have a solution that works
for podman too.
In many scenarios, TLS is sufficient - or at least, we're far
from the only thing that if fetched from a compromised server
would result in a compromised system (e.g. privileged containers).
Signed-off-by: Colin Walters<EMAIL_ADDRESS>

/test all

/retest

/test all

Why would bootc behave differently than other github.com/containers tools? If /etc/containers/policy.json is configured, I expect all tools to adhere to it. So this change worries me.

That's exactly it - currently (before this change) bootc does explicitly behave differently (to try to enforce a policy is enabled by default).  After, it doesn't.

OK passing CI, and we now also drop this new default value out of the spec/status struct.

Thanks, @cgwalters !  I must have misread the code.

There's https://github.com/coreos/rpm-ostree/issues/4272 and general confusion about how to sign & verify.

As someone who's tried to walk the path to adopt hands off automated container signing in a CI workflow I can say a lot of these are purely documentation issues. The upstream cosign docs are not great really. Improvements on that end whether directly to the upstream docs or if there were examples in bootc docs would be very helpful to golden path this for users and also show that this is possible today.


Run away from buggy UglifyJS 2.5.0

Related issue: https://github.com/mishoo/UglifyJS2/issues/861

Thanks

Cool! Thanks for merge. Please release an update soon. :)