If I import some methods from unocss, it will cause fileURLToPath' is not exported by __vite-browser-external at compile time

Describe the bug
A strange compilation problem,
If I import some methods from unocss, it will cause fileURLToPath' is not exported by __vite-browser-external at compile time
import { isNumber } from './utils'
// this will normal in building
// import { isString } from '@vueuse/core'
// this will error in building
import { isObject } from 'unocss'

export function test() {
  console.log('test', isNumber(0), isObject('isString'))
}

Reproduction
https://github.com/amihhs/vite-unocss-error-__vite-browser-external-
Steps to reproduce

pnpm i
pnpm build

System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (12) x64 AMD Ryzen 5 5500U with Radeon Graphics
    Memory: 2.00 GB / 15.34 GB
  Binaries:
    Node: 16.13.0 - D:\software\allnode\node.EXE
    Yarn: 1.22.18 - D:\software\allnode\yarn.CMD
    npm: 8.1.0 - D:\software\allnode\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (107.0.1418.42)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @vitejs/plugin-vue: ^3.2.0 => 3.2.0
    vite: ^3.2.3 => 3.2.4

Used Package Manager
pnpm
Logs

Click to expand!
vite v3.2.4 building for production...
✓ 293 modules transformed.
'fileURLToPath' is not exported by __vite-browser-external, imported by<EMAIL_ADDRESS>file: D:/job/zjh/test/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/local-pkg@0.4.2/node_modules/local-pkg/dist/shared.mjs:41:9
39: import path from "path";
40: import fs, { promises as fsPromises } from "fs";
41: import { fileURLToPath } from "url";
             ^
42:
43: //<EMAIL_ADDRESS>error during build:
Error: 'fileURLToPath' is not exported by __vite-browser-external, imported by<EMAIL_ADDRESS>    at error (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
    at Module.error (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:12429:16)
    at Module.traceVariable (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:12788:29)
    at ModuleScope.findVariable (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:11440:39)
    at ReturnValueScope.findVariable (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
    at Identifier.bind (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:7439:40)
    at CallExpression.bind (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
    at CallExpression.bind (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:8935:15)
    at ConditionalExpression.bind (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
    at ArrowFunctionExpression.bind (file:///D:/vite-unocss-error(__vite-browser-external)/node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
 ELIFECYCLE  Command failed with exit code 1.

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

#unocss 1885

unocss is a nodejs package. You can't import it in the browser as the error shows that it's unable to import the url module, which is a nodejs module.

here is a playground for it:
https://codesandbox.io/s/vigilant-wu-dg43bc?file=/package.json
run yarn run build to see the issue

This is expected behaviour.

@amihhs  @bluwy
How should I resolve this error, currently unable to pack
✓ 3845 modules transformed.
'fileURLToPath' is not exported by __vite-browser-external, imported by node_modules/local-pkg/dist/shared.mjs
file: unocss/node_modules/local-pkg/dist/shared.mjs:41:9
39: import path from "path";
40: import fs, { promises as fsPromises } from "fs";
41: import { fileURLToPath } from "url";
             ^
42:
43: //<EMAIL_ADDRESS>error during build:
Error: 'fileURLToPath' is not exported by __vite-browser-external, imported by node_modules/local-pkg/dist/shared.mjs
    at error (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
    at Module.error (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:12429:16)    at Module.traceVariable (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:12788:29)
    at ModuleScope.findVariable (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:11440:39)
    at ReturnValueScope.findVariable (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
    at Identifier.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:7439:40)
    at CallExpression.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
    at CallExpression.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:8935:15)
    at ConditionalExpression.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
    at ArrowFunctionExpression.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
    at VariableDeclarator.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
    at VariableDeclaration.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:5265:73)
    at Program.bind (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:5265:73)
    at Module.bindReferences (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:12425:18)
    at Graph.sortModules (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:23062:20)
    at Graph.build (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:22940:14)
    at async file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:23730:13
    at async catchUnfinishedHookActions (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:23126:20)
    at async rollupInternal (file:///unocss/node_modules/rollup/dist/es/shared/rollup.js:23727:5)
    at async doBuild (file:///unocss/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:45399:24)
    at async build (file:///unocss/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:45237:16)
    at async CAC.<anonymous> (file:///unocss/node_modules/vite/dist/node/cli.js:756:9)
ERROR: "build-only" exited with 1.

@mshamaseen  I don't understand what "don't export from unocss into your code" means, I didn't export from unocss into code

exclude some dependencies on build, check https://github.com/unocss/unocss/discussions/1953#discussioncomment-4298857


Add rspec tests to tagging_spec

I completed the test that were pending in the tagging_spec file. This helps to maintain the code.

I can't reproduce the travis error.. try touching the readme file with a small change and re-run and see if it's a spurious error...


B02 and B05 color temperature ranges wrong

Hello @AlexxIT
I just bought two B05-BL-A60 rgb light bulbs and I had some problems making them work with color temperature slider on HA.
I think the issue can be related to #766 (already closed).
I'm using version 3.0.5 of your repository.
Looking at sonoff SDK reference
https://sonoff.tech/sonoff-diy-developer-documentation-b02-bl-b05-bl-http-api/
It seems that the "CT" parameter must have a range of [0,100] but in your code the conversion from mireds is done like [153,500] -> [0,255]. So whenever you set the color with ltype=white the range is wrong and any value past 100 gives an error in integration.
2022-07-06 11:15:04 WARNING (MainThread) [custom_components.sonoff.core.ewelink.local] xxxxxxxxxx => Local4 | {'cmd': 'dimmable', 'ltype': 'white', 'white': {'br': 100, 'ct': 255}} <= {'sequence': '1657098904000', 'encrypt': True, 'seq': 6, 'error': 400}

I think you can fix this by changing the conversion max values from 255 to 100. I tried making changes on my local file and it seems to work.
https://github.com/AlexxIT/SonoffLAN/blob/c317407a09e5c5e9aaf2a95e044e5afb5a367dec/custom_components/sonoff/light.py#L324
https://github.com/AlexxIT/SonoffLAN/blob/c317407a09e5c5e9aaf2a95e044e5afb5a367dec/custom_components/sonoff/light.py#L335
https://github.com/AlexxIT/SonoffLAN/blob/c317407a09e5c5e9aaf2a95e044e5afb5a367dec/custom_components/sonoff/light.py#L385
https://github.com/AlexxIT/SonoffLAN/blob/c317407a09e5c5e9aaf2a95e044e5afb5a367dec/custom_components/sonoff/light.py#L400
I never did a pull request, I try to learn how to do it and attach here if I succeed :)
Regards.
Maurizio

Perhaps I did it: #892

What UIID have your bulb?

This is what I extracted from cloud configuration json:
  "extra": {
    "uiid": 136,
    "description": "20211223010",
    "brandId": "5c4c1aee3a7d24c7100be054",
    "apmac": "xx:xx:xx:xx:xx:xx",
    "mac": "xx:xx:xx:xx:xx:xx",
    "ui": "RGB五色灯_支持2.4G轻智能",
    "modelInfo": "611e0d429d679662bd8defd0",
    "model": "BL1-ALL-LED",
    "manufacturer": "深圳松诺技术有限公司",
    "chipid": "7CB94C81D0E1"
  },
  "brandName": "SONOFF",
  "brandLogo": "https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png",
  "showBrand": true,
  "productModel": "B05-BL"

(I removed what I think were sensitive data mac and apmac)

@SirDester Sorry for the OT, how did you connect B05-BL-A60 to HA? I installed SonoffLAN but it doesn't find my light bulb

@SirDester Sorry for the OT, how did you connect B05-BL-A60 to HA? I installed SonoffLAN but it doesn't find my light bulb

Hello, I simply added the 2 bulbs to the EWeLink mobile app and then forced a new sync on SonoffLAN from the cloud.
Then I applied the suggested changes to sources to manage the right ranges for color temperature.

@bwp91 what do you think about this?
Because in all other places I can see ct=255 for UIID 104 (Sonoff B05-B):
https://github.com/CoolKit-Technologies/ha-addon/blob/master/eWeLink_Smart_Home/dist/controller/CloudUIID104Controller.js
I can't find anything about UIID 136 (Sonoff B05-BL).
Looks like @SirDester using only LAN mode because this.
I don't want to break cloud for this model.

For UIID 136 i use a colour temperature scale of 0,255. I think I only implemented cloud mode for this model. Will need to check. Could be that local mode uses 0,100 and cloud mode uses 0,255 but this wouldn’t make much sense for the incoming notifications as you wouldn’t know which scale to use!
Interestingly, the bulb with UIID 137 uses a scale of 0-100 for colour temperature (cloud mode).
I’m not sure the protocols for lan mode for 136.

Hello,
I really don't understand this behaviour of these bulbs. I can't find any information on protocols for 136 other than the official documentation, but as @AlexxIT said if it's not so trustfull it's better to check elsewhere.
I assure that the only way I can achieve the right color is changing the scale to [0,100], any other value past 100 to 255 gives me an error as told in the log entry in the first post.
I confirm I'm using LAN only mode, but as @bwp91 it's really strange that protocol can change between Cloud and LAN mode... but nothing is impossible.
If I can suggest a way to exit this issue (but I'm not so able to code it, so I leave to @AlexxIT if he has the time...) is to set a configuration flag where you put min and max CT for the bulb so you can change it in yaml config file, with default values to [0,255].
Thanks for discussion for now.

@SirDester you need to log how this bulb works in only cloud mode. You also can log commands from mobile ewelink app. You will see them in Hass logs.

Ok,
I tried putting the addon to Cloud only, using the range [0,100] with my code changes, and this is the debug log I get when I try to switch color to red and then to white using Google Home (red command is given with RGB [255,0,0] while white command is given with CT)
2022-09-26 19:48:55 [D] x => Cloud4 | {'ltype': 'color', 'color': {'br': 100, 'r': 255, 'g': 0, 'b': 0}} |<PHONE_NUMBER>000
2022-09-26 19:48:55 [D] x => Cloud4 |<PHONE_NUMBER>001
2022-09-26 19:48:55 [D] x <= Cloud3 | {'version': 8, 'rssi': -58, 'fwVersion': '1.4.1', 'switch': 'on', 'ltype': 'color', 'white': {'br': 100, 'ct': 86}, 'remoteCtrlList': [], 'lightScenes': [], 'color': {'br': 100, 'r': 255, 'g': 0, 'b': 0}} |<PHONE_NUMBER>001
2022-09-26 19:49:03 [D] x => Cloud4 | {'ltype': 'white', 'white': {'br': 100, 'ct': 86}} |<PHONE_NUMBER>000
2022-09-26 19:49:03 [D] x => Cloud4 |<PHONE_NUMBER>001
2022-09-26 19:49:03 [D] x <= Cloud3 | {'version': 8, 'rssi': -58, 'fwVersion': '1.4.1', 'switch': 'on', 'ltype': 'white', 'white': {'br': 100, 'ct': 86}, 'remoteCtrlList': [], 'lightScenes': [], 'color': {'br': 100, 'r': 255, 'g': 0, 'b': 0}} |<PHONE_NUMBER>001

The I reverted the code with your original one and did exactly the same things (switch to red, switch to white)
2022-09-26 20:00:07 [D] x => Cloud4 | {'ltype': 'color', 'color': {'br': 100, 'r': 255, 'g': 0, 'b': 0}} |<PHONE_NUMBER>000
2022-09-26 20:00:07 [D] x => Cloud4 |<PHONE_NUMBER>001
2022-09-26 20:00:07 [D] x <= Cloud3 | {'version': 8, 'rssi': -60, 'fwVersion': '1.4.1', 'switch': 'on', 'ltype': 'color', 'white': {'br': 100, 'ct': 86}, 'remoteCtrlList': [], 'lightScenes': [], 'color': {'br': 100, 'r': 255, 'g': 0, 'b': 0}} |<PHONE_NUMBER>001
2022-09-26 20:00:15 [D] x => Cloud4 | {'ltype': 'white', 'white': {'br': 100, 'ct': 220}} |<PHONE_NUMBER>000
2022-09-26 20:00:15 [W] Cloud ERROR: {'error': 400, 'deviceid': 'x', 'apikey': '9538aef0-c7bf-41d8-801f-ad3a637e7902', 'sequence': '1664215215000'}

As you can see the first one white is translated to CT:86 and is accepted by the bulb, the second one is translated to CT:220 and it gives error (the light remains red)
Last I changed color a few times in a row from EWeLink app using CT and moving from total cold to total warm white, and this is the log reported by HASS:
2022-09-26 20:10:51 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 22, 'br': 100}} |<PHONE_NUMBER>557
2022-09-26 20:10:51 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 0, 'br': 100}} |<PHONE_NUMBER>758
2022-09-26 20:10:51 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 0, 'br': 100}} |<PHONE_NUMBER>083
2022-09-26 20:10:54 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 4, 'br': 100}} |<PHONE_NUMBER>041
2022-09-26 20:10:55 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 28, 'br': 100}} |<PHONE_NUMBER>259
2022-09-26 20:10:55 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 72, 'br': 100}} |<PHONE_NUMBER>458
2022-09-26 20:10:55 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 100, 'br': 100}} |<PHONE_NUMBER>673
2022-09-26 20:10:55 [D] 10016031e7 <= Cloud3 | {'ltype': 'white', 'white': {'ct': 100, 'br': 100}} |<PHONE_NUMBER>876

The value sent by the app is always between 0 to 100
Hope this helps.
Regards.

This is very strange because I have a user who states everything is working well, and my plugin uses a range 0-255.
https://github.com/bwp91/homebridge-ewelink/issues/358

Alas these are the only tests I can do and the only evidence I can bring of this color temperature range :(
I also saw there was a new 1.5.1 firmware, installed it right now but (as i thought) the logs are the same.

Ignore all my previous comments 🤦🏼♂
This uiid model 136 uses a colour temperature scale of 0-100 for both lan and cloud 🙂

Oh good to know !
If I'm not indiscrete... how did you reach this verdict ? I'm just curious :)

Using the ewelink app to change the colour temperature to both ends of the scale and checking the incoming logs for both lan and cloud.
Both report the whitest end as ct:100 (and obviously the yellowest value as ct:0)

Ok thanks for reporting.

I'm having similar type issues with the B05 bulbs. Color and brightness work great but temperature does not seem to work at all (or it's working but not using the correct scale maybe like above?)
Can I provide any info to get this addresses?

Sorry for very-very long delay. Should be fixed in latest master version. Will be in the next release

Sorry for very-very long delay. Should be fixed in latest master version. Will be in the next release

Awesome! Thanks a stack man.

No problem man, I was modifying the code on my installation by myself every new release, it was not so hard and long.
Thanks for your work !

https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.5.1


Remove templates

Description
Remove templates
Backporting
This change should be backported to the previous releases, please add the relevant labels.
Refer here to resolve backport conflicts if any.

[x] 2016
[x] 2017
[x] 2018
[x] 2019
[x] 2020
[x] 2021
[x] 2022

Type of change
Please check the options that are relevant, the corresponding labels will be added automatically.

[ ] Bug Fix (non-breaking change which fixes an issue)

[ ] bug (fixes an issue)
[ ] test (adds/updates test)
[ ] typo (fixes typo)
[ ] refactor (refactors code)
[ ] reformat with black (check this to reformat the code with black)

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

[ ] typing (adds/updates typing annotations)

[ ] Documentation Update

[ ] docs (adds/updates documentation)
[ ] docs preview (check this to preview docs)

[ ] Automation/Translation/Release

[ ] workflow (adds/updates workflow)
[ ] release (adds/updates release)
[ ] translation (adds/updates translation)

Codecov Report

Merging #3846 (6a0760e) into 2023 (9a42322) will decrease coverage by 0.40%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             2023    #3846      +/-   ##
==========================================
- Coverage   88.43%   88.04%   -0.40%
==========================================
  Files         932      931       -1
  Lines       27417    26275    -1142
==========================================
- Hits        24247    23134    -1113
+ Misses       3170     3141      -29

Flag
Coverage Δ

2023
88.04% <ø> (-0.40%)
:arrow_down:

Python-3.10
?

Python-3.11
?

Python-3.7
88.04% <ø> (+0.06%)
:arrow_up:

Python-3.8
?

Python-3.9
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/abqpy/__init__.py
56.25% <ø> (-2.58%)
:arrow_down:

src/abaqus/Canvas/Highlight.py
60.00% <0.00%> (-11.43%)
:arrow_down:

src/abaqus/Mesh/MeshElementArray.py
62.50% <0.00%> (-8.93%)
:arrow_down:

src/abaqus/BasicGeometry/Transform.py
75.00% <0.00%> (-8.34%)
:arrow_down:

src/abaqus/Feature/Feature.py
62.50% <0.00%> (-8.30%)
:arrow_down:

src/abaqus/BasicGeometry/Edge.py
62.85% <0.00%> (-8.26%)
:arrow_down:

src/abaqus/Sketcher/ConstrainedSketch.py
65.26% <0.00%> (-7.69%)
:arrow_down:

src/abaqus/BasicGeometry/Cell.py
69.23% <0.00%> (-7.24%)
:arrow_down:

src/abaqus/Mesh/MeshNodeArray.py
67.85% <0.00%> (-7.15%)
:arrow_down:

src/abaqus/Mesh/MeshEdge.py
66.66% <0.00%> (-7.02%)
:arrow_down:

... and 502 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


support for Expected Credit and Expected Debit

Need support for processing EC and ED transactions as well in 61 tag.
As you can see from the below screenshot took from https://www.ibm.com/docs/en/ftmfm/3.2.2?topic=2016-sr-mt942
Those are common as well.

Along with that need to return debit or credit mark as well, which can help easy the process of consumer to determine the credit or debit mark, as the only way consumer can identify debit or credit mark from amount sign and isReversalFlag.

I will try to solve this issue and make a pr asap.

@maticko @neelance @heymatthew @ncjones Can anyone you please give me access to push a branch and open pr for this issue?
I have fixed this issue and would like to open a PR.


ci: add pubsub integration test

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Test run: https://buildkite.com/risingwavelabs/integration-tests/builds/807
Checklist

[x] I have added necessary unit tests and integration tests

Then we can remove this part in CI.

LGTM given that all tests passed.


Add krew auto release and docs

kubectl vela krew plugin manifests has been merged into krew-index, and it is now possible to install kubectl vela via krew, now with the addition of an automatic release action that will automatically push each subsequent release to krew.

Good Job, we can not only use krew to download vela plugin but also automatically release new version plugin. \lgtm


Double clicking sidebar sash should optimize width of current sidebar, not just file explorer

Currently double clicking the sash when the search sidebar is open looks like it attempts to optimize the width of the explorer. Additionally it gets it slightly off, probably because it's hidden and the explorer measurement algorithm assumed it would be visible.
/cc @mquandalle

No, it sizes to the minimal sidebar width which is intended.

Isn't the behavior of the explorer more intuitive though? Getting rid of the text truncation?

I only implemented optimal resizing for the explorer viewlet but it would makes sense to have a similar behavior on other viewlets as well. I’m not sure about the exact formula we should use, I think it would be good to have an upper limit in case there are some long lines of text in the search results.
The implementation is pretty easy, it’s just a matter of defining a getOptimalWidth method on the viewlet (otherwise the default value is minimal sidebar), so someone should just come with a clear idea of the intended resizing behavior :)


0048_Rotate_Image

Description of the Problem
You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise).
You have to rotate the image in-place, which means you have to modify the input 2D matrix directly. DO NOT allocate another 2D matrix and do the rotation.
Code
class Solution:
    def rotate(self, matrix: List[List[int]]) -> None:
        for i in range(len(matrix)):
            for j in range(i,len(matrix)):
                if i != j:
                    matrix[i][j],matrix[j][i]=matrix[j][i],matrix[i][j]
        for each in matrix:
            each.reverse()
        return matrix

Code

Link To The LeetCode Problem
LeetCode

I would like to implement this one.

Problem already solved


can we ditch twitter bootstrap and use css grid instead?

Yes feel free to change that :) however leave the bootstrap dependancy if someone uses it for something else ;)

@leighayanid anyone working on this? feel free to open again if not I will close this

apologies for the late reply. Yes, I will be working on this :)


A curl tool that shows Covid-19 statistics for the visitor's Country.

Simply type  curl snf-878293.vm.okeanos.grnet.gr
Repo: https://github.com/catman85/TermApp-Node-Typesript-Docker-Express
Originally inspired by wttr.in which I use daily.

@catman85  Cool service, Dimtris, but the name is very bad. Do you have any plans for changing the name?

@chubin Thank you! Unfortunately I don't have any plans for changing the domain currently. Any future change will be visible from my github repo.

I wouldn't mind making an alias for this.

@eimon96 In what domain?

JFYI: I added also two additional curl-based trackers to the list:

https://github.com/sagarkarira/coronavirus-tracker-cli
https://github.com/trackercli/covid19-tracker-cli


Chore: Enabling isolated modules to speed-up client tests by 65%

Motivation, Context and Description
Currently, the client tests take a really long time to complete (usually around 40-45 minutes). By disabling the type-checking by using the isolated modules option of jest, we could gain a client test speed-up of ~27 minutes. This brings the total execution time of client tests down to around 15 minutes (~2 seconds per test suite).
While the speedup is very consistent for GitHub Actions, the Bamboo Job still fails most of the time (it fails faster though).

We can enable this again for a separate GitHub action, but I would like to avoid this for the normal test execution, because it is important to know if the tests compile, otherwise they will soon contain compile errors


Fix #2 branches with same name in multiple remotes

Use git config to get the correct upstream remote and branch when you
have branch with the same name in multiple remotes (e.g. "origin/master"
and "coworker/master"). Uses awk which may be a problem?

Going to redo this one on top of the new format changes

Whoops..sorry. I closed this one and created #74 before I saw your comment.

Balls, I was working on this branch yesterday and today to get it up on top of the format changes. Thanks for doing the same, I'll look at pulling #74 instead.


fix lm reference

fix lm reference when using custom llm

Thanks @haalcala ! I think the original here is intentional for legacy mode, which will be deprecated within 1-2 weeks.
When self.lm is None (which it usually is), old_generate relies on dspy.settings.lm.


Warning in IE when ActiveX is deactived

previous lighthouse ticket #2131
by Natasha

Hi everybody,
I'm really desperate - please, please I need your help:
In case that your Internet Explorer (at least in version 8 + 9) is configured NOT to allow Active-X then the following JavaScript command
document.createElement('object')
will cause a warning
An add-on for this website failed to run. Check the security settings in the Internet options for potential conflicts
.
In prototype.js that "createElement('object')" command is triggered each time the library is loaded (which is normally: always) because of the following line
var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = checkDeficiency('object');
or (depending on the prototype version)
var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = checkElementPrototypeDeficiency('object');
Am I the only one who things that this is very annoying and not a good idea?
What exactly is the reason for this HTMLOBJECTELEMENT_PROTOTYPE_BUGGY hack (it's not commented at all)?
Are there any fixes/suggestions regarding that problem?
What exactly will happen if I just replace the line above by
var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = false;
?
Thank you very much in advance for your dear help.
Hugs
Natasha

We ended up fixing this.


Fixing qubovert recipe (from incorrect noarch)

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@xhochy sorry to bother you directly. You pointed out to remove the noarch part of this recipe, but I've been banging my head against this for 24 hours now and I don't see what's wrong.
Could you have a look and help?


No Connection

A friend of mine recently opened a pub and organizes a "Pub Quiz" from time to time. Since i did all the lighting in there with some Neopixels (about 3500 of them) he asked if i could make him some buzzer system for the quiz. After some googling i found your Project and it seems to fit perfectly. But now i ran into some Problems.
I uploaded the Arduino Code to the ESP and the LED is blinking, serial monitor says following:
Connected, IP address: <IP_ADDRESS>
Listening at IP address <IP_ADDRESS> UDP port 4210 for multicast messages

<IP_ADDRESS> is my ESP and <IP_ADDRESS> is my laptop running Quiz-o-matic 9000 v1.1.
I hold pin D6 LOW but Nothing happens. You stated that there is a multicast message every 2 seconds, but i dont see any according traffic in Wireshark.
Also, how do i get the right port in the Arduino sketch? it says the port is specified in packet content, does that mean i can leave the port on 4210 in the sketch?
I'm kinda noobish and would appreciate every piece of help with this. If you wish, we can also continue this discussion elsewhere if this is not the right place for noob questions.

Here is the Arduino code if that helps:
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <WebSocketsClient.h>
#include <Ticker.h>

#define DEVICE_ID "14"

// Set DEBUG to 0 for production code (disables communication over serial port).
#define DEBUG 0

#ifdef DEBUG
 #define SERIAL_BEGIN(x)      Serial.begin(x)
 #define SERIAL_SET_DEBUG(x)  Serial.setDebugOutput(x)
 #define PRINT(x)             Serial.print(x)
 #define PRINTLN(x)           Serial.println(x)
 #define PRINTF(...)          Serial.printf(__VA_ARGS__)
 #define HEXDUMP(x,y)         hexdump(x,y)
// Macros don't expand if debug is disabled
#else
 #define SERIAL_BEGIN(x)
 #define SERIAL_SET_DEBUG(x)
 #define PRINT(x)
 #define PRINTLN(x)
 #define PRINTF(...)
 #define HEXDUMP(x,y)
#endif

#define LED D4  // 4=D2. 2 is builtin
#define OFF HIGH  // High for builtin
#define BUTTON D6  // 12=D6
#define PRESSED LOW
#define RELEASED HIGH

// Wifi AP information
const char* ssid = "MYSSID";
const char* password = "MYPASSWORD";
WiFiUDP Udp;
WebSocketsClient webSocket = WebSocketsClient();
Ticker timer;

void toggleLed();
void connectToWifi();
void listenForUdpMulticast(char* wsServerIp, uint16_t* wsPort);
void startWebSocket(char* wsServerIp, uint16_t wsPort);
void webSocketEvent(WStype_t type, uint8_t* payload, size_t length);
void registerBuzzer();
void sendClick();
unsigned long ping();

void setup() {
    char wsServerIp[20];
    uint16_t wsPort;

    pinMode(BUTTON, INPUT_PULLUP);
    pinMode(LED, OUTPUT);

    SERIAL_BEGIN(115200);
    SERIAL_SET_DEBUG(0);  // Don't print esp8266 debug messages
    delay(10);

    // Blink every second to indicate device is setting up. Timer should detach when websocket connection is established.
    timer.attach(0.5, toggleLed);
    connectToWifi();
    listenForUdpMulticast(wsServerIp, &wsPort);  // Blocking listen until websocket ip and port are received
    startWebSocket(wsServerIp, wsPort);  // Connect to computer running Quiz-o-matic. Computer must be on same wifi network
}

void loop() {
    static unsigned long lastPressTime = 0;
    static int prevState = RELEASED;
    static bool ignoreLongPress = false;

    if (digitalRead(BUTTON) == PRESSED) {
      Serial.println("BUTTON PRESS");
        if (prevState == RELEASED) {
            sendClick();
            lastPressTime = millis();  // Button was just pressed. Record start time so we can calculate hold duration
        }

        // If button was held pressed more than 2 seconds, record a long press. Send register event.
        if (millis() - lastPressTime > 2000 && !ignoreLongPress) {
            registerBuzzer();
            ignoreLongPress = true; // Do not re-record long press if button is held for longer
        }

        prevState = PRESSED;
    }
    else {
        prevState = RELEASED;
        ignoreLongPress = false;
    }

    webSocket.loop();
}

void toggleLed() {
    digitalWrite(LED, !digitalRead(LED));
}

void connectToWifi() {
    WiFi.mode(WIFI_STA);  // Disable AP behaviour
    WiFi.begin(ssid, password);
    WiFi.hostname("Buzzer14");
    PRINTF("Connecting to %s", ssid);

    while (WiFi.status() != WL_CONNECTED) {
        PRINT(".");
        delay(500);
    }

    PRINTF("\nConnected, IP address: %s\n", WiFi.localIP().toString().c_str());
}

void listenForUdpMulticast(char* wsServerIpBuf, uint16_t* wsPort) {
    // Look for multicast message sent by computer running Quiz-o-matic 9000 application. IP address of sender
    // is used for websocket address. Websocket port number is specified in packet contents.
    // This is essentially a very simple device discovery protocol.
    char incomingPacket[31];  // buffer
    IPAddress multicastIp = IPAddress(192,168,1,117);
    int localUdpPort = 4210;

    Udp.beginMulticast(WiFi.localIP(), multicastIp, localUdpPort);
    PRINTF("Listening at IP address %s UDP port %d for multicast messages\n", multicastIp.toString().c_str(), localUdpPort);

    int packetSize = Udp.parsePacket();
    // Loop until UDP packet is received
    while (!packetSize) {
        packetSize = Udp.parsePacket();
        delay(10);  // Let ESP8266 service wifi etc. and avoid soft reset
    }

    const char* remoteIp = Udp.remoteIP().toString().c_str();
    PRINTF("Received %d bytes from IP address %s, port %d\n", packetSize, remoteIp, Udp.remotePort());
    int len = Udp.read(incomingPacket, 31);
    if (len > 0) {
      incomingPacket[len] = 0;
    }
    PRINTF("UDP packet contents: %s\n", incomingPacket);

    sprintf(wsServerIpBuf, "%s", remoteIp);  // Write IP address of sender into buffer
    *wsPort = (uint16_t) strtol(incomingPacket, NULL, 10);  // Write contents of packet as port number, base 10
}

void startWebSocket(char* wsServerIp, uint16_t wsPort) {
    PRINTF("Opening websocket to ws://%s:%u/\n", wsServerIp, wsPort);
    webSocket.begin(wsServerIp, wsPort, "/");
    webSocket.onEvent(webSocketEvent);
    webSocket.setReconnectInterval(5000);
}

void webSocketEvent(WStype_t type, uint8_t* payload, size_t length) {
    static unsigned long pingSendTime;
    static unsigned long msgReceivedTime;

    switch(type) {
    case WStype_DISCONNECTED:
        PRINTLN("[Ws] Disconnected!");
        timer.attach(0.5, toggleLed);  // Connection problems. Blink led
        break;
    case WStype_CONNECTED:
        PRINTF("[Ws] Connected to url: %s\n", payload);
        timer.detach();  // Stop blinking to indicate connection finished and buzzer can be registered
        digitalWrite(LED, OFF);
        // pingSendTime = ping();
        break;
    case WStype_TEXT:
        msgReceivedTime = millis();
        if (strcmp((const char*) payload, "pong") == 0) {  // If msg is reply to ping
            PRINTF("[Ws] Roundtrip latency: %u\n", msgReceivedTime - pingSendTime);
        } else {
            PRINTF("[Ws] Received text: %s\n", payload);
        }
        break;
    case WStype_BIN:
        PRINTF("[Ws] Received binary, length: %u\n", length);
        HEXDUMP(payload, length);
        break;
    }
}

void registerBuzzer() {
    webSocket.sendTXT(DEVICE_ID",0");
    PRINTLN("Sent register message.");
}

void sendClick() {
    webSocket.sendTXT(DEVICE_ID",1");
    PRINTLN("Sent click message.");
}

unsigned long ping() {
    webSocket.sendTXT(DEVICE_ID",2");
    return millis();
}

i dont see any according traffic in Wireshark
The most likely reason is that the Windows Firewall is blocking the server from communicating. You might need to manually adjust the settings on the firewall to allow Quiz-o-matic to communicate on the network. Also double-check that the ESP and computer are connected to the same Wifi network.

I hold pin D6 LOW but Nothing happens
Nothing will happen until the websocket connection is established. This is because of this line:
listenForUdpMulticast(wsServerIp, &wsPort);  // Blocking listen until websocket ip and port are received
which prevents code in the loop() function from executing until the multicast message is received.

it says the port is specified in packet content
This refers to the port where the websocket server in Quiz-o-matic is communicating. This way theres no need to hardcode which port the ESP communicates with over websockets. The only hardcoded requirement is that the desktop program transmits multicast messages on the same port that the ESP will listen to (for multicast messages).

I'm kinda noobish and would appreciate every piece of help with this. If you wish, we can also continue this discussion elsewhere if this is not the right place for noob questions.
This is the place to ask questions, no worries there!

I was trying to get this working last night, and I can confirm that there are issues with communications with the app.  The quiz-o-matic application that runs on the PC was hanging whenever the esp8266 was connected to the network.  I queried the app using resource monitor on my PC as it was running, and checking the UPD ports, and the firewall was allowing incoming connections for the application and matching my esp8266 port allocation so they would be listening and communicating on the same ports.   It seemed as if the application was not finishing cleanly and there were background quiz-o-matic apps which had to be shutdown from task manager.
My esp is connecting fine to the network, but is stuck at the stage 'Listening at IP address UDP port for multicast messages'
It seems as if the app was trying to communicate with or reserving the IP address that is written into the arduino code for the esp8266 that is available on the hackaday.io page, as opposed to the actual IP address?

Just to clarify: I've updated the buzzer.ino sketch to match my PC's IP address and the UDP port matches the one that the app is listening on.  I used the port that the resource manager told me the app is listening on and uploaded it to the esp8266.  Any further advice on how to set this up in the instructions would be welcomed.


Specify encoding mode when autodetect=True

Is your feature request related to a problem? Please describe.
adata=ep.pp.encode(adata,autodetect=True)
Currently simply label encodes all autodetected columns.
Describe the solution you would like
adata=ep.pp.encode(adata,autodetect=True, encodings="one-hot") which one-hot encodes all detected columns.

This should be restricted tough to one-hot, label and count, since those won't need any additional information (for example hash-encoding would require the specification of buckets and since the encoded columns are unknown previously it won't be possible).

Agree. Need to throw appropriate errors if this expectation is not met.


Difficulty compiling bookmain.tex

Likely not an actual issue, but more my unfamilarity with Latex, however when I clone this repository and run "pdflatex bookmain.tex" it gives me "You didn't enable shell escape so it wasn't possible to launch the Inkscape export  for /figures/chapters/tapir_rainbow.svg" and then "Error: File tapir_rainbow_svg-tex.pdf is missing". Is there a workaround on this? {I assume the document calls Inkscape to compile the image as a pdf which is then combined into the main pdf, but have no idea what the setup is required for that. Could you share your setup or how to bypass the error since I'm mostly concerned with the non-image formatting. }

Resolved.
pdflatex --shell-escape bookmain.tex boxes.tex

That should definitely work, however I will advice you to use make bookmain which will utilize latexmk to compile the code enough times to have all references, tikz pictures, etc. displayed correctly.


Fix thumbnail generating

Previously there was passed incorrect scale value, because few lines above we already took the scale into account when calculated image size. This commit fixes it.
MOB-2249

Sorry for the approval from the personal account. Slack opened the PR in the wrong Chrome window

Sorry for the approval from the personal account. Slack opened the PR in the wrong Chrome window

Calling to police 🚓


AMD Context fix

@dmitrig01 Tested this in a sample reqirejs page, and it works great. Looks like this is the only change that needs to happen.

so if we include the js file on a page, we can later require(['branch'], function(branch) { ... }) or something like thtat?

maybe we shoudl docuent it :P

@scotthasbrouck did you look into module loading techniques and come up with something that'll work for everyone, as discussed?

Found the .jscs paramater that requires spaces inside arrays, so the linter should catch that going forward. I still need to ask the guy to clarify what problem he's having, because it all seems to work for me. I'll do that now

actually, do you want spaces around strings just inside of array brackets, or all brackets? There's a parameter for that also

array and curly

but really, most important is to make a rule and keep consistent :-)

i hate to nitpick on this, but what i meant (:-/) was: spaces inside single-line array literals and object literals, and no spaces inside the rest
what we use on backend
{
	"fileExtensions": [".js", ".jsx"],

	"requireCurlyBraces": [ "if", "else", "for", "while", "do", "try", "catch" ],
	"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "return", "try", "catch" ],
	"requireSpaceBeforeBlockStatements": true,
	"requireParenthesesAroundIIFE": true,
	"requireSpacesInConditionalExpression": { "afterTest": true, "beforeConsequent": true, "afterConsequent": true, "beforeAlternate": true },
	"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
	"disallowSpacesInFunctionExpression": { "beforeOpeningRoundBrace": true },
	"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true },
	"disallowSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true },
	"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
	"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
	"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
	"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
	"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true },
	"disallowSpacesInFunction": { "beforeOpeningRoundBrace": true },
	"disallowSpacesInsideParentheses": true,
	"requireSpacesInsideObjectBrackets": "all",
	"requireSpacesInsideArrayBrackets": "all",
	"disallowSpaceAfterObjectKeys": true,
	"requireCommaBeforeLineBreak": true,
	"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
	"disallowSpaceBeforePostfixUnaryOperators": ["++", "--", ";"],
	"disallowSpaceBeforeBinaryOperators": [ "," ],
	"requireSpaceBeforeBinaryOperators": [ "=", "+", "-", "/", "*", "==", "===", "!=", "!==" ],
	"requireSpaceAfterBinaryOperators": [ "=", ",", "+", "-", "/", "*", "==", "===", "!=", "!==" ],
	"disallowMultipleLineStrings": true,
	"validateLineBreaks": "LF",
	"disallowMixedSpacesAndTabs": "smart",
	"disallowTrailingWhitespace": true,
	"disallowTrailingComma": true,
	"requireKeywordsOnNewLine": [ "else" ],
	"requireLineFeedAtFileEnd": true,
	"requireCapitalizedConstructors": true,
	"safeContextKeyword": [ "self" ],
	"disallowYodaConditions": true,
	"requireSpaceAfterLineComment": true,
	"disallowNewlineBeforeBlockStatements": true
}

Ah, ok. Any reason I can't just use this? Minus the . jsx in fileExtensions

@scotthasbrouck  I will close this PR in 7 days because it's a bit outdated. Let me know if you think otherwise.

@Kirkkt this is still relevant - can you take on testing in AMD/RequireJS and making sure it works

This fix breaks webpack

Closing this as well.


RFC: Numeric literal types

This RFC proposes two new primitive types, ulit and flit, which represent unsized numeric literals. These are intended to be used as the types of untyped constants (like, for example, C-style #defines or Go-style constants), and as the argument types for a future custom literals feature.
Rendered.
CC @scottmcm

Am I right in understanding that there shall never be a runtime value of these types? So no coercion from ulit to u8 at runtime, but always at compile-time?
Otherwise we run into not so nice situations where the runtime value is silently losing bits due to a coercion and we can't even guarantee that we'd lint it. We can still do a best-effort variant, but that feels less nice.

It's not clear to me that Go-style "untyped" constants and custom literals should be using the same underlying types, or that we want custom literals.
My understanding of Go's "untyped" arbitrary-precision constants is that the only advantage they have relative to type inference of constants (which we still haven't figured out) is that Go can do arbitrary-precision arithmetic with those constants, deferring any cocercion into a fixed-size type until some non-constant code is involved. If I understand this RFC correctly, ulit/flit get coerced to a fixed-size type on first use no matter what, so they don't actually provide any arbitrary-precision arithmetic.
Of course, if they did provide arbitrary-precision arithmetic, then they wouldn't be "literal" types anymore and the names ulit/flit wouldn't feel right.
Since this RFC doesn't mention arbitrary-precision arithmetic or type inference of constants at all, I'm confused as to what this RFC on its own actually accomplishes or what the argument for it is supposed to be. Right now, it just feels like half of a custom literals proposal that doesn't make sense to discuss in isolation (especially since my concern with custom literals is motivation, not mechanism).
Did I misunderstand Go or this RFC somehow?

I think making custom literal machinery involve an arbitrary-precision type (unlike C++, where you only get the builtin fixed-size number and char types) only makes sense if we plan on going all the way with it and supporting arbitrary-precision arithmetic of custom-literal-using types, e.g.:
const SUPER_SAIYAN_SPEED: mps = 9_000_000_000_000_000_000_000_000_000_000_000_000_001_km / 1_hr;

Though I have no idea how we'd want to design custom km, hr, and mps types that can be arbitrary precision yet are somehow usable by runtime code. Seems like it'd get very magical very fast unless we actually embedded a BigNum type into the core language.

@oli-obk @Ixrec
I'll update the RFC in an attempt to make this a bit more clear, but I'll try to answer some questions somewhat more informally, for now:

The whole "in a Sized context" business is more of a proxy for "when it exits compile-time mode", which seems quite a bit harder to define. I haven't nailed it down yet, and I'm hoping someone with a bit more experience can help me do that.
Arithmetic is meant to be supported in a constant setting, though as @kennytm, I worry there is potential for some innocent-looking expressions to DoS the compiler. I'll have to think about this more.
@scottmcm suggests another reason to have arbitrary arithmetic: const generics. However, I think a bespoke const bignum would be the better choice here.
If we judge that such compile-time constants, as Go and C do them, are not valuable or too hard to pin down at the moment, that probably means a pared-down version of the proposal can be folded into whatever custom literals RFC ends up happening (which I'd hold off on proposing until after Rust2018).

I'm proposing this RFC now as a result of this internals thread, in an attempt to start resolving the big open questions.

Arithmetic is meant to be supported in a constant setting

Cool, thanks for clarifying.
In that case my major concern is, as mentioned above, whether this is possible without designing some sort of bignum type that's built into the core runtime language. I see the appeal of a "const-only bignum", but that would mean a massive divergence between const code and runtime code (instead of the status quo where const code is mostly a subset of runtime code), and getting the final bignum value into runtime code raises a lot of questions that Go didn't have to answer. If we just say that bignum is const-only and it coerces to fixed-size types, does that mean we can never have that bignum at runtime in the future? Does that create compatibility hazards for adding type inference in constants someday? How does a "const-only type" with implicit coercions interact with generics, e.g. can I write a fn foo<T: Debug, const x: bignum>(...) { ... } function that constructs a Vec<T> of size x? (I guess in this case it'd round x down to usize::MAX, but I can see this sort of thing getting pretty subtle)

Taking a step back from the various technical issues, I find it extremely difficult to read this as a RFC. It seems more like a superposition of several different and only slightly-overlapping proposals. While in some sense the union of all the features needed for the various proposals gives something that would technically addresses all the use cases, the result feels more like a hard-to-follow frankenstein proposal than a single general design to me.
As I see it, there are at least three mostly-to-entirely separate use cases that this RFC tries to address:

"Named literals" matching the existing inference variables {int} and {float}. This is the smallest proposal of the bunch, and the only one to receive actual motivation in the RFC text. Although it could presumably be emulated with solutions for the other two use cases below, it needs only a tiny subset of them and so bundling it up with the much more grandiose proposals does it a disservice IMO.

In short: why are we wracking our heads over bignums and rounding modes just to enable 123i8 & MASK and 123456u32 & MASK?

Compile-time arbitrary-precision arithmetic. This is a huge and hard topic, especially wrt "pseudo-floats". It does not seem necessary for "named literals" (as literals today are always inferred to be a specific fixed-size type before use), it goes much further and enables arbitrary-precision compile-time calculations that are unprecedented in the core language and not at all motivated in the RFC text. Honestly it seems obfuscating to tie this to literals, and it also complicates this part of the proposal compared to a standalone "compile-time bignums" proposal.

For example, the "implicit conversion to fixed-size primitive" part could be an explicit operation if this wasn't supposed to address the "typeless constants" use case.

Something that user-defined literals can be built on. While the RFC text says this is out of scope, fact is that it shapes the design and comes up frequently in the discussion. I think it's a lost cause to try and anticipate the needs of hypothetical future features that will themselves require significant design and discussion. Furthermore, none of the many complications of the above two points are relevant to user-defined literals: they just need to be a vessel in which we can safely transport the programmer's source code to the user-defined function, no arithmetic or coercions to primitives are needed.

I admit I'm not convinced by any of these three proposals, but it seems clear to me that muddling them together hurts all of them.

Thanks all for the feedback! It looks like I accidentally coupled a bunch of orthogonal features, and it'll take me a couple days to disentangle them. I'm going to close the PR for now, and I'll re-open it once I'm done consulting with Dr Frankenstein (i.e., once I have something a bit more workable)!


Do not call onActivityResult on null fragment.

Hi,
I think I've found a small bug in the library. As you can see the FragmentActivity checks in onActivityResult if the requesting fragment still exists and logs a warning if the reference is null. But it still runs into a NPE if the Fragment is null because the call to Fragment.onActivityResult is always done.
Is this the expected behaviour?
Regards
Robert

Nice find. Looking to release either tonight or this weekend after some final testing and tweaking.
Thanks!


Add documentation on build variants (testnet and mainnet)

Is your feature request related to a problem? Please describe.
The application is configured for build variants with testnet and mainnet, however no documentation exists to explain the difference between these two variants
Describe the solution you'd like

Add documentation on what the variants are and when one might use them
Add documentation on how to switch between the variants in Android Studio
Add documentation on how to add funds via the testnet faucet

Don't forget to mention this also in the other documentation files like Setup.md


link directly to the /joinslack page

I rule and have completed some work on Case Manager that's ready for review! Now the readme will take people interested in joining Slack directly to the page where they can do that.
This pull request makes the following changes:

README.md links directly to the the page on codefordc.org where people can join Slack.

Current coverage is 96.89% (diff: 100%)

Merging #780 into master will not change coverage

@@             master       #780   diff @@
==========================================
  Files            34         34
  Lines           709        709
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            687        687
  Misses           22         22
  Partials          0          0

Powered by Codecov. Last update ae05959...0c73695

My dude. 👍


tf.global_variables_initializer() doesn't work sometimes

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow version: 1.14.0
Python version: 3.8

tf.global_variables_initializer() doesn't work sometimes.
import tensorflow as tf
init = tf.global_variables_initializer()
a = tf.Variable([1,2,3])
with tf.Session() as s:
    s.run(init)
    s.run(a)

The above code throws an error of uninitialized variable.
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value Variable
	 [[{{node _retval_Variable_0_0}}]]

While the below code works fine:
a = tf.Variable([1,2,3])
with tf.Session() as s:
    s.run(tf.global_variables_initializer())
    s.run(a)

Output:
array([1, 2, 3], dtype=int32)

a = tf.Variable([1,2,3])
init = tf.global_variables_initializer()

Call tf.global_variables_initializer() after all variables you want to init.

@LoSealL
Your solution works. Thank you..
But why is this necessary to call it after? I mean, it too just creates a node to execute and is independent of any other node in the graph, right?

@ParikhKadam,
This StackOverflow comment might answer your query.

Thank you @amahendrakar
It is a lot helpful..


qemu not found

after installing qemu, make run gives the result as qemu not found

What OS are you using?

That issue was solved. I installed qemu system x86


List libxslt1 as required when building lxml from source.

Closes #227.

Ignore this for a bit; something broken with my local repo (that I cloned a minute ago), and I'm seeing coming that shouldn't be there.

Thanks and please merge after fixing those typos.

@hobarrera any update?

Fixed (via --amend).
Sorry for the delay. I'm moving these days, and my ISP has screwed up leaving me for seven days with not internet. :(

No worries, thanks for the patch!


pageserver: refined Timeline shutdown

Problem
We have observed the shutdown of a timeline taking a long time when a deletion arrives at a busy time for the system.  This suggests that we are not respecting cancellation tokens promptly enough.
Summary of changes

Refactor timeline shutdown so that rather than having a shutdown() function that takes a flag for optionally flushing, there are two distinct functions, one for graceful flushing shutdown, and another that does the "normal" shutdown where we're just setting a cancellation token and then tearing down as fast as we can.  This makes things a  bit easier to reason about, and enables us to remove the hand-written variant of shutdown that was maintained in delete.rs
Layer flush task checks cancellation token more carefully
Logical size calculation's handling of cancellation tokens is simplified: rather than passing one in, it respects the Timeline's cancellation token.

This PR doesn't touch RemoteTimelineClient, which will be a key thing to fix as well, so that a slow remote storage op doesn't hold up shutdown.

Pushed a few more commits:

PageService needed to emit QueryError::Shutting on the timeline stopping state, as well as on the timeline cancellation token being set.  That's because we can refuse to traverse ancestor timelines if they are in Stopping state (i.e. when we've started flushing but haven't yet entered shutdown().
Noticed that SeqWait had a shutdown flag that was never being set: that would have been a rare shutdown hang in the case where entering wait_lsn raced with shutdown.
Shut down the SeqWait for LSN immediately after stopping wal ingest, so that while we are flushing on shutdown, we don't have page_service requests just sat there waiting for an LSN that will never advance.


feat: add svelte/no-loss-of-prop-reactivity rule

This PR adds svelte/no-loss-of-prop-reactivity rule that disallow the use of props that potentially lose reactivity.
Related to https://github.com/sveltejs/eslint-plugin-svelte/issues/476#issuecomment-1546832126

Just was I was looking for! Would it be possible to extend this to stores as well?


【翻译完成】20190708 Go: Map Design by Example — Part I

https://github.com/studygolang/GCTT/issues/1303
#1321

感谢指正😊


sdwns channel count

While attempting to max pool with weblas.sdwns, I first got an error (this one), about channel count must be a multiple of COMPONENTS_PER_PIXEL, in my case 4.
But I wasn't using 4-channel data.  Is this a limitation?  What if I am not pooling rgba data, but data of another dimension?

Excellent question. It is a limitation, but very possible to workaround.
Standardizing on four element components allows optimizations that increase speed in most cases by 4x (because of available hardware instructions). If your data doesn't have four components the easiest solution is to repack it (with possible padding) to match.


Is the best result from the first fine-turing epoch ?

Dear author, I've tried to train your yolov on my dataset and an obvious improvement was observed almost at the first epoch of fine-turing, but in later epoches, the performance never got better. If a big lr is used, the performace will get worse quickly from the first epoch. Did you meet similar situation during the fine-turing training on pretrained model ?

For the VID and OVIS datasets, it will take about 3~4 epochs to get the best result, and then the performance decreases somewhat. You can try more augmentation in training, the code could be found in our x-large model pipeline.

Dear author, I've tried to train your yolov on my dataset and an obvious improvement was observed almost at the first epoch of fine-turing, but in later epoches, the performance never got better. If a big lr is used, the performace will get worse quickly from the first epoch. Did you meet similar situation during the fine-turing training on pretrained model ?
你好，请问下你复现了作者YOLOV在VID数据集上的结果了吗，如果复现了能否+wechat像您咨询下如何正确的训练并得到85+MAP呢？谢谢！

我只在自己的数据上实验了
WRX
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年12月24日(星期六) 中午11:15
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [YuHengsss/YOLOV] Is the best result from the first fine-turing epoch ?  (Issue #22)
Dear author, I've tried to train your yolov on my dataset and an obvious improvement was observed almost at the first epoch of fine-turing, but in later epoches, the performance never got better. If a big lr is used, the performace will get worse quickly from the first epoch. Did you meet similar situation during the fine-turing training on pretrained model ?
你好，请问下你复现了作者YOLOV在VID数据集上的结果了吗，如果复现了能否+wechat像您咨询下如何正确的训练并得到85+MAP呢？谢谢！
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

我只在自己的数据上实验了  WRX @.***
…
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年12月24日(星期六) 中午11:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [YuHengsss/YOLOV] Is the best result from the first fine-turing epoch ? (Issue #22) Dear author, I've tried to train your yolov on my dataset and an obvious improvement was observed almost at the first epoch of fine-turing, but in later epoches, the performance never got better. If a big lr is used, the performace will get worse quickly from the first epoch. Did you meet similar situation during the fine-turing training on pretrained model ? 你好，请问下你复现了作者YOLOV在VID数据集上的结果了吗，如果复现了能否+wechat像您咨询下如何正确的训练并得到85+MAP呢？谢谢！ — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

您好，问一下在自己数据集上实验如何生成train_seq.npy和val_seq.npy，.npy里面存储的数据格式和内容是啥？谢谢

记不太清了，作者应该提供了样本，读取看一下内容，按照原格式生成自己的
WRX
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年1月5日(星期四) 中午1:27
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [YuHengsss/YOLOV] Is the best result from the first fine-turing epoch ?  (Issue #22)
我只在自己的数据上实验了  WRX @.***
…
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年12月24日(星期六) 中午11:15 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [YuHengsss/YOLOV] Is the best result from the first fine-turing epoch ? (Issue #22) Dear author, I've tried to train your yolov on my dataset and an obvious improvement was observed almost at the first epoch of fine-turing, but in later epoches, the performance never got better. If a big lr is used, the performace will get worse quickly from the first epoch. Did you meet similar situation during the fine-turing training on pretrained model ? 你好，请问下你复现了作者YOLOV在VID数据集上的结果了吗，如果复现了能否+wechat像您咨询下如何正确的训练并得到85+MAP呢？谢谢！ — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
您好，问一下在自己数据集上实验如何生成train_seq.npy和val_seq.npy，.npy里面存储的数据格式和内容是啥？谢谢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Call for Contributors: Setting up imports & exports conditions definitions repo

Posting here as spillover from the discussion in https://github.com/nodejs/node/pull/40708 where it's been justifiably blocked for Node.js to define the "deno" condition in its documentation.
As a result there is a need for a community resource that maintains the environment resolution conditions definitions in a way that can be maintained as a well-defined definition registry over time.
Effectively taking this section from the docs - https://nodejs.org/dist/latest-v17.x/docs/api/packages.html#conditions-definitions, and moving it into an external shared resource with proper process around how conditions can be defined and shared widely.
Once set up, we can then remove that section from the Node.js documentation and link to the shared community repo being maintained from the Node.js docs as the primary home of these definitions.
We need volunteers though to help set up process and maintenance around this effort. We could possibly arrange initial meetings etc as needed to get to a point where things are running smoothly.
Please comment here if you would like to contribute to this effort and assist in getting a process set up to ensure this can be well-maintained. I think we would need at least two other people to volunteer to assist to move this effort forward.

cc @nodejs/modules @nodejs/loaders

Agreed that this would need to be a joint development effort.
I can contribute tests for a few runtimes and am aware of at least two OpenJS runtimes not yet listed.

Should Node.js still impose some restrictions on which keywords are allowed as conditions, and perhaps what data is attached to them?
A similar example exists in the HTML standard, for values that can be used as rel on <a>, , and `: https://html.spec.whatwg.org/multipage/links.html#other-link-types. HTML defines some values, links to where other values are “maintained”, plus describes what data they should have attached to them there (e.g., status).

Whatever gets done, gets done. Whatever doesn't get done, doesn't get done. Maintaining a list or some data structure as you describe sounds interesting…


[SUPPORT] Unexpected behaviour with partitioned hudi tables with impala as query engine

Describe the problem you faced
We have an unexpected behaviour with partitioned hudi tables when we query those tables with impala.
To Reproduce
Steps to reproduce the behavior:

We write data with hudi and spark to hdfs with the following config:

val inputSchema = StructType(
  List(
    StructField("id", StringType, false),
    StructField("attribute", StringType, false),
    StructField("p_year", IntegerType, false),
	StructField("p_month", IntegerType, false),
    StructField("sequence", IntegerType, false)
  )
)

val initialData = Seq[Row](
  Row("1", "abc", 2019, 1, 1),
  Row("2", "def", 2018, 2, 2),
  Row("3", "ghi", 2018, 3, 3),
)

val initialDataFrame = spark.createDataFrame(spark.sparkContext.parallelize(initialData), inputSchema)

initialDataFrame.write.format("hudi")
.option(TABLE_NAME.key(), "test")
.option(RECORDKEY_FIELD.key(), "id")
.option(PRECOMBINE_FIELD.key(), "sequence")
.option("hoodie.table.name", "test")
.option(OPERATION.key(), "insert_overwrite")
.option(PARTITIONPATH_FIELD.key(), "p_year,p_month")
.option(KEYGENERATOR_CLASS_NAME.key(), "org.apache.hudi.keygen.ComplexKeyGenerator")
.option(HIVE_STYLE_PARTITIONING.key(), "true")
.option(HIVE_SYNC_ENABLED.key(), true)
.option(HIVE_SYNC_MODE.key(), "HMS")
.option(HIVE_DATABASE.key(), "db_abc_raw")
.option(HIVE_TABLE.key(), "test")
.option(HIVE_CREATE_MANAGED_TABLE.key(), false)
.mode("append")
.save("hdfs:///datalake/abc/raw/abc2/abc3/abc4")

After the code has finished data is written to hdfs and a hudi table is created in Hive Metastore.
Now it is possible to read the data with spark and also with hive
However, when when we try to read the data with impala, no data is shown
So we execute the following query in order to recover the partitions. Result: "Partitions have been recovered.":
ALTER TABLE db_abc_raw.test RECOVER PARTITIONS;
We executed: REFRESH db_abc_raw.test
When we execute the following query
"show partitions db_abc_raw.test;"

We were able to query the hudi table with hive (tez). No Problems. Data is displayed
We were also able to read the data with spark and hudi .format("hudi")  . No problems here. Data could be read.

Expected behavior
It should be possible to query the table with impala and data should be displayed.
Environment Description

Hudi version :
0.10.0 + 0.10.1

Spark version :
3.1.1

Hive version :
3.1.3000

Hadoop version :
3.1.1

Storage (HDFS/S3/GCS..) :
HDFS

Running on Docker? (yes/no) :
no

Additional context

Could be connected with https://github.com/apache/hudi/issues/4830 ?

Stacktrace
No stacktrace available.

@garyli1019 : Can you help us here. we don't have any exp w/ impala.

hi, is the hudi table stored as impala external table or you are using hive metastore as impala's catalog? @fisser001

Hi @garyli1019 It is an external table. We tried two different approaches. First we created the external impala table manually by a ddl script. However, we also let hudi create the external table by "HIVE_SYNC_ENABLED" option. Both approaches end up in the same result / problem. Yes we are using hive metastore and impala gets table information from hive metastore.

@fisser001 I didn't try the HIVE_SYNC way myself so I am not sure if that would work, but the ddl script should work. If that possible to find any stack trace or log of the impala front end? Possible the file listing has some issues.

Hi @garyli1019: I have run the queries again and checked the logs. There are no errors visible in the logs. The query simply does not find any data. But this does not seem to be an error for Impala. I have exported the query plan. This is the only thing I can offer. Additionally I have created an external partitioned table, which is only saved in parquet format without hudi.  For comparison I attach this query plan too. In particular, differences in the query plans are visible in the recognition of the partitions (see "00:SCAN HDFS"). Hope this helps.
query_profile_partioned_hudi.txt
query_profile_partioned_parquet.txt

@garyli1019 : can you please follow up when you get a chance.

@fisser001 hi, do you mean your hudi table is not external table? Is the hudi table created like this docs https://hudi.apache.org/docs/querying_data#impala-34-or-later

@garyli1019 It is an external table. We tried both - creating the table like proposed in the docs and using hudi hive sync. Both ends up in the same result. The table gets created however impala can not show any data.

@fisser001 Impala actually doesn't support hudi hive sync, that why we need to manually create the external table, recover partition, and refresh table manually. The table created by hive sync are using HoodieHiveInputFormat, but impala read HUDI_PARQUET as regular parquet. Those two are totally different and it could be problematic if we use the hive and impala for the same table.
Would you try this, create an external impala table pointing to the hudi hdfs path, run impala query to recover partitions and refresh table. If this still doesn't work, we probably need some help from impala support.

@garyli1019 We also tried this. However, still no data. Maybe it is a good idea to increase the hudi version in the impala project?

Hi guys,
so it seems that we fixed the problem of reading partitioned Hudi tables with Impala by changing the Hudi-Operation from insert_overwrite to upsert.  Maybe it´s a problem of how Hudi handels Insert-Overwrites on the Filesystem paired with how Impala reads the resulting tables?
Cheers,
Christian

@garyli1019 : can you follow up on this issue please. create jiras for any AIs if need be. or add an FAQ if need be (you can ask Sudha to help w/ any documentation updates)

@nsivabalan https://issues.apache.org/jira/browse/HUDI-3537 I created a jira for this issue. To solve this we need to bump the Hudi version on impala codebase.

@garyli1019 Do we have a timeline when we can upgrade Hudi in Impala? We should close this issue and share the patch with user, if possible.


Safely handle cap update failures triggered by a devices ordered update

Context
We are occasionally returning errors to CC when they send us consumption updates. Here's what is happening:

They send us a consumed update
We save it against the allocation which triggers cap updates back to CC for the entire pool
At least one of these cap updates fails because the cap is below the devices ordered number
We return a 500 error back to them

Changes proposed in this pull request

Don't return a failure if a cascading cap update to CC fails

N.B. We already store failures in CapUpdateCall so I am not concerned that we are suppressing visibility of cap update failures.

A different way might be to set something on the allocation which means we don't send updates at all when devices_ordered is updated. Particularly open to suggestions on this one.


Locking only in the path that modifies the cache.

I removed the thread locking that was turing the cache into single-threaded. Locking is done only when the cache is modified.

Maybe we should implement proper double-checked-locking then...

I.e.:
if (!dictionary.ContainsKey(key))
{
	lock (dictionary)
	{
		if (!dictionary.ContainsKey(key))
		{
			...
		}
	}
}
return dictionary[key];

But I'm not sure if ContainsKey and dictionary[key] is 100% thread-safe...

See http://stackoverflow.com/questions/6018768/double-checked-locking-on-dictionary-containskey

I think there are two options:

Lock whole methods (as is) but with one lock per method (i.e. use dictionary as locks)
Use ConcurrentDictionary and double-checked locking (but the current PCL does not support this)

I dont think 1. will degrade performance that much... as soon as a key is loaded its extremely fast (acquiring lock & get existing value)

I'm confused. I've actually implemented double checked locking in this PR....

The problem is, that in double-checked locking you check outside the lock and inside the lock again and the check (ie. expression in the if) and access must be atomic which ContainsKey and dictionary[key] aren't... (see the stackoverflow question)

Ah yes. :-(
In that case, since we cannot use Concurrent Dictionary, locking on the while method is the way to go. I'll modify PR (will keep 3 separate locks).
Won't be much of a performance impact since we are single threaded at the moment.


[Improvement] Fix release artifiact LICENSE and NOTICE files

What would you like to be improved?
Fix the LICENSE and NOTICE for all of the 4 artifacts:

[ ] Apache Gravitino
[ ] Trino connector
[ ] Iceberg REST service
[ ] Python client

How should we improve?
To comply with ASF policy

@justinmclean is this one the same as  #4661?

No it's different, #4661 is for the jars.


Downloading an encoded message as an audio file

Would it be possible to have a button next to the message that would allow you to download the encoded message as an audio file, e.g. mp3

I am sure you meant encoded, as encryption will never be supported in Rattlegram.
If you need audio files, you maybe want to look at the command line version of the modem here:
https://github.com/aicodix/modem/tree/short

Of course, I meant encoded.
This was a question forwarded from a group of users who have been using the app a lot lately.
Thanks for the link to the modem. They will pass it on, but it would probably be more convenient for them to do it in the application.

I generated a test.wav file using a modem ./encode test.wav 8000 16 1 test.dat
When I play it Rattlegram says ANONYMOUS - Model 6 unsupported
How to get it to work and how to add Call Sign

You need to checkout the short branch, that's the modem used in Rattlegram

Thanks. It now decodes correctly. I made a small web interface for this. For now, it should be enough for my friends, but think about adding an option to download audio files in the application.

Cool, making a WASM web page out of Rattlegram is also on my TODO list. If you are interested, look at my examples:
https://www.aicodix.de/example3/


[21.0.x] Fix publication of wasmtime-wasi-threads for the future

Semi-backport of #8986 to remove invalid categories of the wasmtime-wasi-threads crate that aren't present on crates.io.

We may never do another patch release of 21.0.x, but I figure this is fine to get in anyway. I patched around this locally to get the 21.0.x release out.


[Bug] WaitUntilVisible(xpath for input in new contact page ) always returns false and fails to setValue

Backgound:
I am in the middle of automating dynamics 365 regression suite and I met an issue of creating a new contact page and I failed to setValue to first name, last name, etc with the command SetValue or SendKeys(value) due to the display=false. Actually the element like first name is shown on the page and the script found the element and I could update its value with javascript but I could not save it.  I hope you guys can give some solution to help me create a new contact page and save it successfully
Issue Summary:
Navigated to sales -> contact page and click new button and waited for page ready and then switched to a ready and right
content Iframe and tried finding the input element of first name
IWebElement IFramElement =_driver.WaitUntilAvailable(By.XPath("//iframe[@name='contentIFrame1']"));
_driver.SwitchTo().Frame(IFramElement);
Thread.Sleep(100000);
_driver.WaitUntilVisible(By.XPath("//td[@id='firstname_d']//input[@id='firstname_i']"));
or
_driver.WaitUntilVisible(By.XPath("//input[@id='firstname_i']"));
But always got the valid element id an enabled=true, displayed =false, location (x=0, y =0 ) size (width =0, height = 0)response from dynamics page. The xpath is right and I am pretty sure it is not related with timing issue. I waited for 10+ mins and it always returned displayed =false.
setValue for the input element and got the exception as below. I think it was caused by displayed =false
{"The command failed because the specified element is not pointer or keyboard interactable."}
Environment:
Dynamics 365 Version 1710 (<IP_ADDRESS>51) online
MicrosoftWebDriver  Version: 10.0.18362.836
Selenium C# web driver bindings  3.141.0
Microsoft Edge 44.18362.449.0
Microsoft EdgeHTML 18.18363

Solution or Workaround?
I saw the html script and observed the label and title was updated actually when I typed firstnamne "4444444".  I used javascript to update the tile and label value as a workaround and the value was set on the page and I could see it. I did the the thing for other fields. But when I clicked the save button and I could not save and got prompt "Please provide the value for the first name". It seemed like the value I typed did not pass data validation. Any idea how to set value and save the update.

First Name Required4444444
You must provide a value for First Name.
You must provide a value for First Name.

Can someone help me please? I am struggling for the fix for a long time and blocked by this.

you need to write a custom method where you pass XPath or CSS Selector based on that you can make it wait until the element load.

to write a custom method where you pass XPath or CSS Selector based on that you can make it wait until the element load.

Thank you so much for your reply. Actually, I am sure the element and page are loaded successfully and I could locate the element but displayed property of the returned element is set to be false. I cannot click the element and I cannot fill data either.


github: use our own ansible-lint action

Signed-off-by: Christian Berendt<EMAIL_ADDRESS>

Replaced by #790


First-timers-Guide for new contributors

Description
First-timers contribution guide for beginners
Problems solved

Alternatives

Additional context

Want to take up?

[Yes|No]
yes

The first timers guide is still required. Just with more relevant content.

Please guide me further on this.