HomeKit device not showing up.

I installed the plugin and configured it correct following the description. But in my Home app it won't show a new device to control the PoE Port with. Am I doing something wrong?
I'm using an USW Lite 8 PoE & a UDM Pro as controller.
This is my Config:
"platforms": [
     {
            "platform": "UniFiPoeControl",
            "name": "UniFi POE",
            "url": "https://<IP_ADDRESS>:443",
            "username": "xxxxx",
            "password": "xxxxx",
            "refreshInterval": 60000,
            "ports": [
                [
                    {
                        "mac": "xx:xx:xx:xx:xx:xx",
                        "idx": 3,
                        "name": "CCTV Switch",
                        "onMode": "auto"
                    }
                ]
            ]
        }
    ]
Of course I blurred out the sensitive information.
Can someone help me please?
P.S. I'm sorry for the code markup

It seems that your JSON is wrong: You declared an array within another array for the ports property:
"ports": [
{
"mac": "xx:xx:xx:xx:xx:xx",
"idx": 3,
"name": "CCTV Switch",
"onMode": "auto"
}
]

I replaced the "ports" section and now the switch showed up in the accessory tab in the Homebridge UI but not in the home app, It's also not showing up when I try to add a new accessory. I rebooted my iPhone and the complete Homebridge OS multiple times but it didn't worked at all. any ideas on that?

Your Homebridge is added to HomeKit? That’s strange. Did it appear in the Default Room?

My Homebridge controller is added to HomeKit.
My bedroom is the default room, I changed the name of it. it doesn't appear there neither the complete home or bridged accessory's.
I added my log files
homebridge.log.txt
:

Is your mac address lowercase and is it correct?
Please enable debug logging for the homebridge and open after some time the /var/lib/homebridge/homebridge.log file.
Search for config: {"method":"GET","url":"proxy/network/api/s/default/stat/device" - the next log output should be the response with a very large JSON object. Copy it and search for your mac address.

I enabled Debug mode and copied the output log from the config: {"method":"GET","url":"proxy/network/api/s/default/stat/device" line to the end and searched for my MAC-Address from the switch as you said. I found my MAC-Address 15 times so I don't think that's the problem. The switch in the Homebridge UI is visible and is even working. but it isn't showing up in the Home App as I said earlier.

Well Ok, I don't know how but it just appeared randomly. The only think I changed is turning on and off the debug mode. I'm sorry for the problem. Thanks anyway for the help!


In Bars chart first line hide yAxis numbers

First bar hide yAxis numbers...

The same thing I think on P

ie chart

I don't know if it helps, but in the file Bar.js at line 134 you have <Axis ... />, move this line down until it's below the {lines}  tag. Then you'll see the numbers on top, but the lines will also go on top of the bars.

Looks like #27 addresses your first issue with the y-axis labels being covered by the bars. Once we get that merged to master, it would be great if you could verify that fixes it for your example.
The pie chart example is different. I do see an extra G element (dealing with offset handling) that looks like its impacting the text labels being "centered" within each pie section. However, the problem with the example is that the combination of the length of the labels, the font size/weight, and the size of the chart make it so that the text is too big to fit into each pie section. There's also no concept of "wrapping" a label and constraining it to a particular width to fit within the pie section (is that basically what you are asking for?). I would suggest adjusting your labels to be smaller in length (if possible) and/or changing the font size/weight settings. If you see a way we can enhance the library in a generic manner to address this issue, please open a new issue and offer a proposal.
I will close this for addressing the bar chart example once we get #27 merged in and as noted above, you're welcome to add a new issue to address the pie chart problem.

#27 was merged in so closing this one now.


[5.6] Remove unused foreach

It is unclear to me why the foreach is needed

No tests to prove this doesn't break anything.


[HOLD for payment 2023-03-17] The hint below text box in "Add a bank account" flow is not left aligned.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app.
Open settings
Open Workspaces, select any workspace.
Go to connect bank account and fill step 1.
Notice that the "PO box", "e.g" text hints are not left aligned with the text input

Expected Result:
The hints should be left aligned with the input just like other places in the app.
Actual Result:
The hint have an unnecessary padding.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.2.79-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
Issue reported by: @Prince-Mendiratta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678098395693209
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~017ae68840656981d2
Upwork Job ID:<PHONE_NUMBER>847650816
Last Price Increase: 2023-03-07

Triggered auto assignment to @davidcardoza (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Job added to Upwork: https://www.upwork.com/jobs/~017ae68840656981d2

Triggered auto assignment to Contributor Plus for review of internal employee PR - @Santhosh-Sellavel (Internal)

Reassigning the issue to @mananjadhav  since he's already assigned to the PR

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.81-1 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/15722

If no regressions arise, payment will be issued on 2023-03-17. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[ ] [@mananjadhav / @luacmartins] The PR that introduced the bug has been identified. Link to the PR:
[ ] [@mananjadhav / @luacmartins] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[ ] [@mananjadhav / @luacmartins] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[ ] [@davidcardoza] Determine if we should create a regression test for the bug.
[ ] [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to the appropriate location to ensure the same bug will not reach production again.
[ ] [@davidcardoza] Review the proposed regression test steps and location.
[ ] [@davidcardoza] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

Looks like something related to react-navigation may have been mentioned in this issue discussion.
As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.
Feel free to drop a note in #expensify-open-source with any questions.

@davidcardoza As requested last time here's a summary of the payout:

Reporting Bonus - @Prince-Mendiratta $250
C+ Review Internal PR - @mananjadhav  $1000

@luacmartins do you think we need a regression test for this one? I am of the opinion we don't, but do let me know if you think it's needed.

I agree that we don't need it.

@davidcardoza quick bump on this one.

@mananjadhav could you please address the other items on [this checklist](https://github.com/Expensify/App/issues/15698#issuecomment-1463826282? It's a bit crazy for me at the moment coming back from ECX.

@mananjadhav Contracts sent. Sorry for the delay I was pretty logged off last week as a project lead for ExpensiconX

No worries @davidcardoza. Accepted.
@luacmartins I’ll get to it by tomorrow

@luacmartins I tried checking the offending PR but it seems FormHelpMessage has gone through iterations. Earlier this used DotIndicatorMessage. We added FormHelpMessage in this PR. I am not sure how do we link it further.

I'm pretty sure that this is the offending PR since it updated the input styles, but didn't take into account hints.

I completed the checklist. I also don't think that we need regression tests in this case.

@mananjadhav @luacmartins I think you can find helpful comment after reading last part of this thread
Maybe https://expensify.slack.com/archives/C01GTK53T8Q/p1677758582523269?thread_ts=1676895140.727779&cid=C01GTK53T8Q

@davidcardoza have we processed the payments for this issue?

@luacmartins C+ payment is processed, I am not sure about Reporting bonus.

Both contracts have been paid, screenshot below for reference. Closing.

thanks @davidcardoza !


EPA-124: Provide GitHub Action to notify new issues

Would it make sense to put this in shared actions repo so that we don't have to copy it? Just to have something reuseable if we decide to add it to more repos

Would it make sense to put this in shared actions repo so that we don't have to copy it? Just to have something reuseable if we decide to add it to more repos

In theory yes, but unfortunately you can't call an internal/private reusable workflow from a public repo. Given how simple it is though (1 single reusable action), I'd go this way instead.


New gcc

didn't push the new container image yet.
This new toolchain increases the size of the targets by about 10%.

Here is a a later commit that attempts an upgrade (to GCC 11.3):
https://github.com/benma/bitbox02-firmware/tree/update-gcc
That one increases the binary size by ~15kB, which is a lot.


How to highlight the selected cluster item?

I would like to provide visual feedback when the user selects a cluster item (not a cluster group). Although I get notified about the click event in onClusterItemClick(CustomClusterItem clusterItem) I wasn't able to find out how I can access the associated MarkerOptions in order to change the icon or title of the cluster item. I am using a custom render which extends DefaultClusterRenderer if this is of interest. Another way would be to use setIcon on the Marker itself if I would have access to it as one has in onMarkerClick(Marker marker).

I just relalized that DefaultClusterRenderer#getMarker() allows resolving the Marker associated with a ClusterItem. This allows me to update the icon.

For reference: How to change the clicked marker icon using android-maps-utils?

@johnjohndoe i get NPE when trying to access the marker object using this ?

@johnjohndoe, how did you solve the problem?


"2.5KB" claim on the mainpage is no longer accurate

2.0.1   gzipped is 2.58KB
2.0.10 gzipped is 3.20KB
Call me an alarmist, but I don't like where this is going. Maybe there should be an explicit list of non-goals?

I don't like that either. Size increase is definitely a non-goal we want to avoid. Keeping things under 3KB is hard and every size reduction idea is greatly welcome.
No feature creepies on our release notes and after an upcoming plugin system all new features will be outside the core

Website is also updated.
Thank you!


gulp-sass inserts byte order mark EF BB BF in output

I've been getting this odd issue where Chrome ignores some of my @font-face declaration.
After checking the output, I've noticed an odd character preceding the declaration, which a hex editor revealed to be EFBBBF (byte order mark).
It is only apparent because i'm piping the output with gulp-header.
My build task is like this:
gulp.task('sass-style', function () {
  return gulp
    .src('scss/build.scss')
    .pipe(sass({outputStyle: 'compressed'}).on('error', function(err) {notify().write(err); this.emit('end');}))
    .pipe(rename('style.css'))
    .pipe(header('/*! <%= name %> - <%= version %> - <%= author %>  <%= (new Date()).getFullYear() %> */',pkg ))
    .pipe(gulp.dest('build/'))
    .pipe(browserSync.stream())
  ;
});

The BOM gets placed right after the header, but it isn't inserted by gulp-header itself, which just concatenates the header with the piped output.
I've tried to remove some of the stream handler to make sure they're not the culprit.
gulp.task('sass-style', function () {
  return gulp
    .src('scss/build.scss')
    .pipe(sass({outputStyle: 'compressed'}).on('error', function(err) {notify().write(err); this.emit('end');}))
    .pipe(gulp.dest('build/'))
    .pipe(browserSync.stream())
  ;
});

And checked the out with Text Wrangler (osx) and it confirms that a BOM is added.

Unless i'm missing something in my build script, there seems to be an BOM incorrectly inserted in the output.
(There was a vague mentioned of the BOM in this other issue https://github.com/dlmanning/gulp-sass/issues/82 which said it was marked as fixed in the 2.x branch, but I'm on the latest – 2.0.4 – and it's happening)
I've got the following gulp packages in my build setup:
    "gulp": "^3.9.0",
    "gulp-concat": "^2.6.0",
    "gulp-footer": "^1.0.5",
    "gulp-header": "^1.2.2",
    "gulp-notify": "^2.2.0",
    "gulp-rename": "^1.2.2",
    "gulp-sass": "^2.0.4",
    "gulp-uglify": "^1.2.0",
    "gulp-util": "^3.0.6",
    "gulp-webpack": "^1.5.0",

Happy to test further if you have any suggestions.

Thanks for the report @doginthehat. Could you please created a small GitHub repo with a minimal wotk example reproducing this issue. This will do will help us collaborate with the node-sass and libsass teams to get to the bottom of the issue. It will also ensure there are no other external factors. In our experience the process of creating these test repos in itself surfaces the problem.

Hi @xzyfer
Thanks for getting back to me.
I took your advice and setup a bare bone test repository to replicate the issue and as you thought, I couldn't reproduce the error then.
But
I then went back to the faulty project and tried to prune down chunks of the sass source files to try to narrow it down to what was causing the issue in that specific project.
And I did narrow it down to one specific line of sass, from Font Awesome's source scss files.
Here's the test repo: https://github.com/doginthehat/gulp-sass-bug-test
If you checkout commit 687cdcc and run gulp, this has some lines of codes from font awesome that trigger the BOM creation.
If you checkout commit 87d4534 (the current head)  and run gulp, I'm modified one line of code and it doesn't trigger the BOM creation.
Specifically, it seems that the unicode string "\f000" triggers the BOM creation.
According to Font Awesome's source, that code is from the Unicode Private Use Area (PUA).
So, there's the info :smile:
Not sure if that's a gulp-sass, node-sass, libsass, or event font awesome bug.
Let me know if I can be of further help.

Additional info (if it's any use)
# node --version
v4.1.1
# npm --version
3.3.4

Interestingly, I've tried gulp-header again and it's now stripping the BOM header in the concatenation ok.
(I did update node to the latest version since the initial bug report, can't remember which version it was).
If you checkout commit 4bfa60c and run gulp, gulp-header will successfully remove the BOM before concatenating, which solves the initial issue I had.
Still leaves the actual BOM bug from \f000

Thanks @doginthehat this is perfect! I'll get to this when I have a moment.

@doginthehat I didn't previously understand this issue.
This problem has been filled a handful times. LibSass is creating the output. Ruby Sass produces the same output. The output CSS may look strange but the browsers interpret it correctly because the @charset "UTF-8"; which LibSass adds.
Interestingly in compressed mode the @charset isn't being generated which could be why Chrome is unhappy.

I can confirm this bug - any updates? For us it breaks our CSS.

We're having the exact same issue. None of the source files use BOM, but these get added on output, and then when the files are concatenated BOMs end up in the middle of the file. This sometimes caused Chrome to break the display of icon fonts.
I seem to have tracked it down to use of unicode characters in the CSS. Our icons are being specified in psuedo-classes likes so: content: "\F43E". The output from gulp-sass replaced those identifiers with the actual unicode character, so it appears something like content:"". (This is a character from the private use area of Unicode.) Every file that had an icon in a content property had the BOM added. Every file that didn't have an icon/unicode character didn't get the BOM.
This seems to have resulted in Chrome being confused about the encoding. Sometimes (especially on a slow connection) it will show gibberish. I believe Chrome has to read a certain amount of the file before it figures out what's going on with the encoding, but when the load is slow it doesn't read enough before it makes its guess.
I have currently solved the problem by using two tools - one that reverts the unicode characters back to their code point identifier ("\F43E") and one that strips out BOM characters. By piping to both of these before piping to gulp-concat the issue is resolved.

@shockthetoast How exactly do you strip out BOM characters?

@kapooostin I run the output from gulp-sass through gulp-sass-unicode (which converts unicode characters into their escape sequences) and then gulp-stripbom to remove the BOM.

@shockthetoast Thanks a lot!

Interestingly in compressed mode the @charset isn't being generated which could be why Chrome is unhappy.

@doginthehat, it turns out that in compressed mode, sass uses the BOM instead of @charset rule because... it's shorter. https://github.com/sass/sass/issues/1449
The Unicode Guidelines state that using the BOM is allowed in utf-8, but not recommended.
(Source: this Stack Overflow answer which links to the official docs.)
The concatenation issue is one reason it's a terrible idea. I love saving space as much as the next guy, but I don't feel the savings sixteen characters is worth it. From the 17 characters of @charset "UTF-8"; to the  one BOM character.
Of course, this being done by sass itself, and not gulp-sass, so it can't be fixed here. But hopefully this information is helpful to someone.

@xzyfer this is also unrelated to gulp-sass itself.


Update Links “tiktok-18”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: b8f92faff4204df157f5db008c276959fce99e89
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/610d8a3ad910750008d1c548


docs: create a documentation site with Docusaurus

This PR aims to combine the project documentation into a documentation site using Docusaurus.
A preview version will always available during development at: https://fusion44.github.io/raspiblitz/docs/intro
Thank you for your contribution to RaspiBlitz. Before submitting this PR, please make sure:

[x] That its based against the dev branch - not the default release branch.

To be continued at: https://github.com/raspiblitz/raspiblitz-docs/pull/1


AnvilChunk.java:225: this.holders.isEmpty() &&*/...

The puzzle 1-32af5a0d from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/ff7539ba30326ff3a7d14c6f861cbab6de82e224/src/main/java/io/github/shiruka/shiruka/world/anvil/AnvilChunk.java#L225-L225
The puzzle was created by @portlek on 23-Dec-20.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-32af5a0d has disappeared from the source code, that's why I closed this issue.

The puzzle 1-32af5a0d has disappeared from the source code, that's why I closed this issue.


Fix for following symbolic links, plus start testing things

Closes #64.
The comments in #64 and in the code explain the motivation. New tests I added cover the behavior.

I also functional tested this by creating a link to a directory and cding into it. Confirmed PWD was displayed. I confirmed this is the behavior that the default bash prompt has. And finally confirmed that cd .. takes me to the correct parent directory (not the parent of the actual directory).


convert EventDatesLink to ts

Who is this for?
People who like links to work
What is it doing for them?
Making the event date link work
It stopped working with the next update, as the link functionality changed slightly.
This isn't actually a next link, so best we don't use it as such.
You can see it broken here:
https://www-stage.wellcomecollection.org/events/X5aeBhIAAB4Aq3nK

@gestchild @davidpmccormick nice catch, changed.


[GHSA-98j2-hfxp-8h8r] Hard-coded Cryptography Initialization in Apache Doris

Updates

Affected products
References
Source code location
Summary

Comments
Updating product metadata, title & references.

Any ideas why this is closed?

Hi @dwisiswant0, my apologies for the confusion!
This, and a couple other Pull Requests, were closed by mistake (human error). I will be reviewing these PR's this week. Thank you for your patience.

Hello @dwisiswant0,
I appreciate your frustration. As described in our supported ecosystems section, we cannot accept contributions on advisories that do not have a package in one of our supported ecosystems. There are a few reasons we do not disable contributions for those advisories, for example, when adding a new ecosystem, community members will often make contributions on advisories that were previously unsupported.
As noted in #623, Apache Doris does not seem to be in our supported ecosystems.


WSLRegDistro Failed

Took a look at it in dmesg to see what is actaully failing.
[    1.764575] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    1.816979] init: (1) ERROR: ConfigApplyWindowsLibPath:2402: open /etc/ld.so.conf.d/ld.wsl.conf
[    1.816987]  failed 2
[    1.825387] init: (2) ERROR: UtilCreateProcessAndWait:636: /bin/mount failed with 8
[    1.826027] init: (1) ERROR: UtilCreateProcessAndWait:656: /bin/mount failed with status 0x
[    1.826031] ff00
[    1.826049] init: (1) ERROR: ConfigMountFsTab:2457: Processing fstab with mount -a failed.
[    1.830380] init: (3) ERROR: UtilCreateProcessAndWait:636: /bin/mount failed with 8
[    1.831004] init: (1) ERROR: UtilCreateProcessAndWait:656: /bin/mount failed with status 0x
[    1.831008] ff00
[    1.837920] WARNING: /usr/share/zoneinfo/America/New_York not found. Is the tzdata package installed?
[    1.862365] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\system32

[    1.862612] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS
[    1.862815] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\System32\Wbem

[    1.863021] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0\

[    1.863297] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\WINDOWS\System32\OpenSSH\

[    1.863509] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Program Files\Microsoft VS Code\bin

[    1.863720] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Users\Bytor\AppData\Local\Programs\Python\Python39\Scripts\

[    1.863925] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Users\Bytor\AppData\Local\Programs\Python\Python39\

[    1.864129] init: (9) ERROR: UtilTranslatePathList:2671: Failed to translate C:\Users\Bytor\AppData\Local\Microsoft\WindowsApps

[    1.867360] init: (9) ERROR: CreateProcessEntryCommon:606: execvpe /bin/ash failed 8
[    1.867369] init: (9) ERROR: CreateProcessEntryCommon:616: Create process not expected to return
[   13.946328] blk_update_request: I/O error, dev sdb, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[   13.947488] sd 0:0:0:1: [sdb] Synchronizing SCSI cache
[   13.985665] Buffer I/O error on dev sdb, logical block 33521664, lost sync page write
[   13.985669] JBD2: Error -5 detected when updating journal superblock for sdb-8.
[   13.985669] Aborting journal on device sdb-8.
[   13.985670] Buffer I/O error on dev sdb, logical block 33521664, lost sync page write
[   13.985671] JBD2: Error -5 detected when updating journal superblock for sdb-8.
[   41.873601] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[   41.874447] sd 0:0:0:1: Attached scsi generic sg1 type 0
[   41.876126] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[   41.876132] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[   41.876409] sd 0:0:0:1: [sdb] Write Protect is off
[   41.876414] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[   41.876876] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   41.883473] sd 0:0:0:1: [sdb] Attached SCSI disk
[   41.896195] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered

found this. Says it mounted but had loads of errors with access and locations in the fs.
Is there a workaround for this. give Error of access denied.
Fixed. Got a mini rootfs from alpine linux site for my arch and it seems to work just fine after manual mount/import. using alpine.exe after works as expected.

I'm just calling the windows api. I cannot change how the windows API performs the import.
And if you say that manually importing it works, that's just more strange, as this application is just downloading the tar.gz from alpine linux and throwing it against the windows api (without any preprocessing).
Currently the only thing that I found out is that this api starts to work again if one uninstalls reboots and reinstalls hyper-v, container, Hypervisor Platform and wsl.
Can you provide what exactly you did to manually import?

So the work around based on what I found from the command wsl dmesg is that it looks that the image downloaded is either corrupt or incompatible with wsl at least on my system it was or the specific version downloaded did.
What I downloaded and used was mini rootfs from alpine linux website for my specific arch type (in this case arm64/aarch64) and used the location in appdata/local/packages/(alpine app location)/LocalState/ for the mount point of the drive and the install path (location of tar.gz) from where ever the mini rootfs was located (in this case downloads).
Doing it this way ensured that it was still compatible with the windows UWP app for alpine and can still access and change as needed without having to rebuild from scratch. Again wsl dmesg is your friend it gives you loads of insight into what is going on.

It's verry unlikely that the downloaded file is corrupted.
We would have to reliably hit a sha256 hash collision for this to occur...
Also the mini rootfs is the same image that this application uses.

arm64/aarch64

I currently don't support this as I cannot test for this platform.
And the hardcoding of the x86_64 url is intentional as checking the GPG signature via C++ is quite complicated and therefore the simplest solution to guarantee a similar level of security is to check the sha256 hash.
(Also the launcher is currently compiled as x86_64 only, so I'm a bit surprised that the launcher works on arm64).


Using a non-default profile window for the profile toolbar

I'm trying to set a non-default profile window using the profileWindow argument:
_profileWindow = PlotWidget()
self._profileToolBar = ProfileToolBar(plot=self, profileWindow=_profileWindow)
self.addToolBar(self._profileToolBar)

However when I close the main plot window, the profile window remains open. Any ideas how to fix this?

One possibility is to re-implement the main window close event. A brute force approach used with PyMca:
code:
def closeEvent(self, event):
    if __name__ == "__main__":
        app = qt.QApplication.instance()
        allWidgets = app.allWidgets()
        for widget in allWidgets:
            try:
                # we cannot afford to crash here
                if id(widget) != id(self):
                    if widget.parent() is None:
                        widget.close()
            except:
                _logger.debug("Error closing widget")
    return PyMcaMdi.PyMcaMdi.closeEvent(self, event)

If you set the parent of your _profileWindow to the profile toolbar, it should be destroyed when your main plot window and the profile toolbar is destroyed.
Oherwise, as an alternative to overrriding closeEvent, you can install an event filter to get the close event: http://doc.qt.io/qt-5/qobject.html#installEventFilter

Actually, you could have provided your main plot window as the parent of the profile plot, but there is some code in PlotWidget which changes the PlotWidget behavior from a main window to a widget when a parent is provided to __init__.... which prevents to simply use Qt parenting to handle the closing.
You are left with overriding closeEvent or using an event filter.

Using event filters used to be discouraged because it could slow down applications quite a bit (all events going though python code instead of C++ code)

Just for future reference, I've ended up using the closeEvent of my plot widget to close the _profileWindow.
def closeEvent(self, event):
    self._profileWindow.close()
    event.accept()

Unless you are absolutely sure nobody else can be connected, it is preferable to forward the event instead of event.accept()


Condition for the CC and BCC

Adding the Condition for CC and BCC for the laravel X mailersend plugins
Trying to send some email with CC and BCC but no luck so I just altered the sourcecode and it works.

HI @fosron ,
Is there a possibility to get this pull request to be approved? or there's a solution to use the CC and BCC without editing library?

@jestherthejoker Hey, thanks for your input. We do, however, require, every PR to have tests added.


[WIP] Changes to upgrade the mio version (in support of ppc64le)

Using the deprecated mio APIs, based on the discussion here:
https://github.com/pingcap/tikv/issues/1965
Please review - thanks!

warnings are being treated as errors @ circleci - these are related to introduction and use of deprecated mio APIs

/cc @BusyJay
Do we have any way to ignore this warning?
Maybe we should use new mio directly later.

Hi @siddontang, @BusyJay, any thoughts on this? Thanks!

Thanks @seth-priya
But CI still failed. :sob:
We should think a way to ignore the warning. any idea? @BusyJay

allow the lint should fix the warning. But I'm quite worry about the performance. Last time I check, when upgrading mio, performance of channel is 3 times slower. Maybe it's better to drop the mio dependency.

Thanks @siddontang @BusyJay for you response.
I understand the concerns here and have been thinking about your suggestion to remove the dependency on mio and feel that I may not (at least at this point) have sufficient knowledge of the tikv codebase to implement and understand the implications / impact of a major change like this.
So, wanted your thoughts on it. I was wondering if, in case there are already some code changes for this from a previous effort, I may be able to pick them up and test them on Power. If not, I would need your guidance on what could be the best way forward on this.
As I mentioned earlier, this would actually be the last change to support ppc64le architecture.
Any thoughts?
Thanks!

Sorry for the late reply, @seth-priya
@BusyJay and I decided to use std channel directly, the pseudo code like:
for {
    if let(Ok(msg)) = rx.recv_timeout(1s) {
        do_msg_here()
    }

    on_tick()
}

on_tick() {
     // do the origin thing like raftstore tick does.

     // check timer
}

Using std channel is simple and we think the hardest thing is to support timer, but it is also simple, we can use an std BinaryHeap. In check timer, we try to peek the heap and to see whether the next timer is expired or not, if expired, we pop the timer and handle it.

@seth-priya
In our test, although std channel is still slower than origin 0.5 mio channel, it is faster than 0.6 mio channel.

Hi @siddontang - thanks for looking into this and for the detailed response. So, just to be sure that I understand clearly, I should look at the rest of the changes to implement this (std channel)?
Thanks again!

@seth-priya, it is very appreciated that you can support this feature.  :-)
If you have any problem, you can tell us directly.
/cc @BusyJay

@siddontang @BusyJay - no issues, I will start looking at this and get back with any questions / doubts that I may get.

Hi @siddontang - looking into this now, Based on what I understand, so far, we need to do some of the following:
1- use https://doc.rust-lang.org/std/sync/mpsc/ interfaces instead of mio
2- Replace mio EventLoop implementation and make corresponding changes - this will be one of the major changes
3- Referring to changes done for this PR - https://github.com/pingcap/tikv/pull/1691/commits/fa118e817f02ccbd0a383acae88074a1bbc2cf62
it seems there are parts in the code where we have made such changes? I believe we can refer to such changes, wherever applicable?
Just wanted to check if I started on the right track and this is what we are expecting? Thanks!
Regards,
Priya

Thanks @seth-priya
Your understanding is right, what we need to do is using channel to replace mio.
But we should notice that the previous Scheduler didn't have any timer but raftstore has, we should also implement a simple timer too.

I believe that this is no longer relevant as the plan is now to remove dependency on mio.
This is tracked by https://github.com/pingcap/tikv/issues/2516 and PRs/issues raised as part of that - will create new PRs for raftstore refactoring and any further work required to address these issues or any other ppc64le specific changes.


switch to 'Numerical Recipes' constants and remove random8

To increase period. See https://github.com/trezor/trezor-core/issues/440

:+1:


KC 3.4.0 update

prep work for UPS going KC 3.4.0

@lgriffin I had to temporary disable the sonoar bits - looks like the build takes too long and/or fails just fails on Travis .
Once I have cut out the 1.2.1 release of UPS, I am fine w/ enabling it again, and we can case the issue - ok ?


ETags on records cause too aggressive caching

From https://inspirehep.zulipchat.com/#narrow/stream/122202-devel/topic/record.20response.20caching/near/219582433

I think the caching we're doing on records is fundamentally flawed. We're using the record version for the Etag, but things might change without affecting the record version. As Harun already mentioned in the past, we might change the serializers, but also the data itself might change, e.g. citation count or linked proceedings on conference records, which don't affect the record version as their data is kept outside of the record and put into the record when serializing for ES. Paulina got confused by this today, because a Proceedings link for a proceedings she had just created was not appearing on a conference record, but it worked when she cleared her cache.

Related issue https://github.com/inspirehep/inspirehep/issues/1534

Related issue https://github.com/inspirehep/inspirehep/issues/1534

Tech:
We need a way to distinguish when serializes change. Easiest approach for this would be to md5 whole records/marshamllow dir when app starts and keep this value in config.
Easiest way to achieve this would be to use checksumdir python module and callculate this hash inside config_loader and insert it to invenio_config_loader kwargs
Now to get proper check/set etag we can

use record.revision_id as this is actually an etag (it's only parameter we can set used in etag checking) we can create our own method in inspirehep.record.base.InspireRecord which will just call original one and it will add this md5 at the end of revision_id.
otherwise we would have to modify every call for check_etag and set etag in invenio_records_rest: set_etag check_etag: 1 2 3 and concatenate this md5 with revision_id

Tech:
We need a way to distinguish when serializes change. Easiest approach for this would be to md5 whole records/marshamllow dir when app starts and keep this value in config.
Easiest way to achieve this would be to use checksumdir python module and callculate this hash inside config_loader and insert it to invenio_config_loader kwargs
Now to get proper check/set etag we can

use record.revision_id as this is actually an etag (it's only parameter we can set used in etag checking) we can create our own method in inspirehep.record.base.InspireRecord which will just call original one and it will add this md5 at the end of revision_id.
otherwise we would have to modify every call for check_etag and set etag in invenio_records_rest: set_etag check_etag: 1 2 3 and concatenate this md5 with revision_id

This is not sufficient, in doesn't take into account dependencies from outside the record. For example changed citation count (which doesn't affect the record in the DB and hence the version number). Or even worse, being logged in or not, which affects the output of the serializer (can_edit field).

This is not sufficient, in doesn't take into account dependencies from outside the record. For example changed citation count (which doesn't affect the record in the DB and hence the version number). Or even worse, being logged in or not, which affects the output of the serializer (can_edit field).

Problem is that we are not having any field which stores information if citation count was updated :/ The only way to make it working would be to add citation_count to etag directly... But this will slow down response as we will have to retrieve citation_count from DB...
For logged_in/logged_out user we could extend etag with this information (0/1) just like we update it with md5.

Problem is that we are not having any field which stores information if citation count was updated :/ The only way to make it working would be to add citation_count to etag directly... But this will slow down response as we will have to retrieve citation_count from DB...
For logged_in/logged_out user we could extend etag with this information (0/1) just like we update it with md5.


docs: fix bullet point checker

Change bullet point format checker so it ignores space after colon which was letting some errors slip past test


[System Monitor] ... Battery level bug

Extension
https://www.raycast.com/hossammourad/raycast-system-monitor
Raycast Version
1.88.4
macOS Version
12.7.6
Description
The power menu in this extension gets a 4 digit number for Battery Level like 6150% etc, I keep getting this error even if I uninstall and install the extension. Four digit percentage instead of the actual one. The following image is my current Power information.

Steps To Reproduce

Running raycast version 1.88.4
Install and open System Monitor extension from raycast://extensions/hossammourad/raycast-system-monitor/system-monitor
Navigate to power menu
Find the four digit error

Current Behaviour
Shows four digit battery percentage maybe unrelated to actual percentage
Expected Behaviour
Should've shown 2 digit battery percentage (or 3 digit in case of 100%)

Hey @thaufiqsiraj! Thanks for raising this issue. :)
Could you please paste the output of the following command?
/usr/sbin/ioreg -arn AppleSmartBattery

Thanks!

/usr/sbin/ioreg -arn AppleSmartBattery

AdapterDetails

AdapterID
0
AdapterRevision
0
FamilyCode
0
SerialNumber
0

AdapterInfo
0
Amperage
-1889
AppleRawAdapterDetails

AdapterID
0
AdapterRevision
0
FamilyCode
0
SerialNumber
0

AppleRawCurrentCapacity
6974
AppleRawMaxCapacity
8747
AvgTimeToEmpty
221
AvgTimeToFull
65535
BatteryData

AdapterPower
850930859
CellVoltage

3824
3888
3874

CycleCount
137
DesignCapacity
8755
LifetimeData

UpdateTime
1734876862

PMUConfigured
0
Qmax

8755
8755
8755

Serial
D868236N06SFWLKvw
StateOfCharge
80
SystemPower
2704
Voltage
11805

BatteryInstalled

BatteryInvalidWakeSeconds
30
BootPathUpdated
1733983129
ChargerData

ChargingCurrent
0
ChargingVoltage
12592
NotChargingReason
1

CurrentCapacity
6974
CycleCount
137
DesignCapacity
8755
DesignCycleCount70
33334
DesignCycleCount9C
1000
DeviceName
bq20z451
ExternalChargeCapable

ExternalConnected

FirmwareSerialNumber
5901
FullPathUpdated
1734876803
FullyCharged

IOGeneralInterest
IOCommand is not serializable
IOObjectClass
AppleSmartBattery
IOObjectRetainCount
6
IORegistryEntryID
4294967899
IORegistryEntryName
AppleSmartBattery
IOReportLegend

IOReportChannelInfo

IOReportChannelUnit
0

IOReportChannels

7167869599145487988
6460407809
BatteryCycleCount

IOReportGroupName
Battery

IOReportLegendPublic

IOServiceBusyState
0
IOServiceBusyTime
52783
IOServiceState
30
InstantAmperage
-1830
InstantTimeToEmpty
166
IsCharging

LegacyBatteryInfo

Amperage
-1889
Capacity
8747
Current
6974
Cycle Count
137
Flags
4
Voltage
11547

Location
0
Manufacturer
SMP
ManufacturerData

		AAAAAAcCAAoDiQAAA0o0NAMwMEEDU0RJAS0A

MaxCapacity
8747
MaxErr
1
OperationStatus
58439
PackReserve
200
PermanentFailureStatus
0
PostChargeWaitSeconds
120
PostDischargeWaitSeconds
120
Serial
D868236N06SFWLKvw
Temperature
2981
TimeRemaining
221
UpdateTime
1734876862
UserVisiblePathUpdated
1734876862
Voltage
11547

That's interesting. What do you see on the following screen?

Could you paste it here?

@thaufiqsiraj

This is what I've got.

@thaufiqsiraj that's interesting.
Could you please try another command?
pmset -g batt | grep -Eo '\d+%' | tr -d '%'

Thanks.

pmset -g batt | grep -Eo '\d+%' | tr -d '%'
97


adjust integration tests to not do string compare, to make tests work better in JDK 1.8

Hashing mechanism is different in JDK 1.8. String compare of json output is generally not a good idea. The tests that are failing under JDK 1.8 has been updated to parse the JSON object and compare it with the expected JSON object.

@usnavi, @ChandraAddala, @VinnyQ, @tilogaat, @GeorgeJahad pls review.

:+1: great job finding the bug and fixing the tests Shinta!

lgtm


athena.read_sql_query() not recognized as a method

I ran a query in Athena's Query editor, and obtained the desired result. (It does not seem that the specific query mattered here.) I pasted that working query into a python variable query_string, and then ran:
df = wr.athena.read_sql_query(
     sql=query_string, database="reports_neo", ctas_approach=False
)

I used ctas_approach=False since I do not have write access to the S3 bucket.
Got the following stack trace, which seems ... surprising:
Traceback (most recent call last):
  File "/home/ec2-user/SageMaker/ChampionChallengeModeling/src/./autobuild_voting_models.py", line 1066, in <module>
    rockTheVote()
  File "/home/ec2-user/anaconda3/envs/py3.10.8/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/ec2-user/anaconda3/envs/py3.10.8/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/ec2-user/anaconda3/envs/py3.10.8/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ec2-user/anaconda3/envs/py3.10.8/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/ec2-user/SageMaker/ChampionChallengeModeling/src/./autobuild_voting_models.py", line 1063, in rockTheVote
    vmb.main()
  File "/home/ec2-user/SageMaker/ChampionChallengeModeling/src/./autobuild_voting_models.py", line 1020, in main
    self.update_metastable_doc_ids()
  File "/home/ec2-user/SageMaker/ChampionChallengeModeling/src/./autobuild_voting_models.py", line 626, in update_metastable_doc_ids
    dfnew = self.fetch_QC_UI(
  File "/home/ec2-user/SageMaker/ChampionChallengeModeling/src/./autobuild_voting_models.py", line 530, in fetch_QC_UI
    df = wr.athena.read_sql_query(
  File "/home/ec2-user/anaconda3/envs/py3.10.8/lib/python3.10/site-packages/awswrangler/__init__.py", line 55, in __getattr__
    return getattr(getattr(DynamicInstantiate.__default_session, self._module_name), name)
AttributeError: 'Athena' object has no attribute 'read_sql_query

conda list | grep awswrangler
awswrangler               0.3.1                    pypi_0    pypi

conda list | grep python
ipython_genutils          0.2.0                      py_1    conda-forge

Hey,
Can you please send us the full script, including the imports section?
Also, can you try to update awswrangler to a more recent version? Our latest one is 2.18.0.
Best regards,
Leon

As Leon said, I think it's simply due to the fact that you are using a very old version (0.3.1) where the Athena module did not exist. Updating to the latest version should resolve this

Thank you @LeonLuttenberger and @jaidisido for your prompt replies. You had it right: a very stale version, which, oddly enough, conda-forge selected for a fresh install. Supplying an explicit version resolved the issue:
conda install -c conda-forge awswrangler=2.18.*

I faced this issue a few time. The following steps help me fix the issue.

Make sure boto (or boto3) is installed.
-- pip install boto (or pip3 install boto)
Make sure you are using the latest version of awswrangler (as read_sql_query() is part of this library).
In my case I was using the awswrangler verion 0.0.8. Upgrading it to the latest version 3.9.0 fixed the issue.
-- pip install --upgrade awswrangler (or pip3 install --upgrade awswrangler)


Numeric Separator: Stage 1

Advance Numeric separators proposal to Stage 1 slides (Sam Goto) (@samuelgoto)

Info
Proposed at TC39 Meeting: May 2017
Slides at the meeting: https://docs.google.com/presentation/d/1hcajTemZB2Ruo4EePOyFiva1xpyv5ukKk4aQ0B83dUA/edit#slide=id.p
Proposal Repo: https://github.com/samuelgoto/proposal-numeric-separator
Example
var thousands = 10_000; // Instead of 10000.
var credit_card_number = 1234_5678_9012_3456; // Instead of<PHONE_NUMBER>12345.
var social_security_number = 999_99_9999; // Instead of 999999999.
var pi = 3.14_15; // Instead of 3.1415
var bytes = 0b11010010_01101001_10010100_10010010; // Instead of 0b11010010011010011001010010010010.
var 0xCAFE_F00D; // Instead of 0XCAFEF00D.

Basic Rules

to use the _ character.
only one consecutive underscore is allowed.
only between digits (not allowed at the beginning or end of literals)

ESTree/Parsing

looks like we need to figure out how to change the tokenizer tt.num
Start reading a number at getTokenFromCode : https://github.com/babel/babylon/blob/9709c8d932731273c7f936595491fe1568c48cc2/src/tokenizer/index.js#L456-L464
calls readNumber, or readRadixNumber or readInt
ultimately need the value to include the _ or to just keep the regular value + track where the _ are?

Transform

if the AST is simple (just the value/raw) would be trivial to remove (regex replace _ with '')?

ESTree: I guess there's nothing to add to the AST spec since this changes the value of the number itself?
cc @ajklein and @domenic

@hzoo I was thinking about writing a plugin for this, as a way to get involved. I will likely need your guidance :)

I actually just saw this issue because I'm trying to setup the babylon repo locally, but it's failing when I run npm install, here's the failure:
$ npm install

><EMAIL_ADDRESS>prepublish /Users/rwaldron/clonez/babylon
> cross-env BABEL_ENV=production yarn run build

yarn run v0.24.5
$ yarn run clean && rollup -c
yarn run v0.24.5
$ rimraf lib
✨  Done in 0.23s.
🚨   (babel plugin) /Users/rwaldron/clonez/babylon/src/index.js: path.arrowFunctionToExpression is not a function
src/index.js

awesome @rwaldron 😄 , already added some thoughts about the parser/transform. I think the hard part is figuring out how to change the parser itself. The transform should be trivial to remove the _
Also, can you try with yarn instead of npm install? It's possible I did screw something up yesterday though.

already added some thoughts about the parser/transform

I'll follow your notes in the op—thanks!

Ok I found a bug after a lot of investigation.. I pinned the deps in master so can pull and it should be ok now. Also I don't remember whether we need a polyfill for Number/parseInt in the discussions but we can get to that later. Having the dependency graph is going to help enforce that kind of thing though (https://github.com/babel/babel/pull/5735)

I have an implementation and a little test runner that verifies all of the following:
☉ 68 tests run:
✔ 68 tests passed
✘ 0 tests failed
.............................
✔ 1_1 is 11 (module)
✔ 1_1 is 11 (script)
✔ 1_1.1_1 is 11.11 (module)
✔ 1_1.1_1 is 11.11 (script)
✔ .1_1 is 0.11 (module)
✔ .1_1 is 0.11 (script)
✔ 0x1_1 is 17 (module)
✔ 0x1_1 is 17 (script)
✔ 0xa_1 is 161 (module)
✔ 0xa_1 is 161 (script)
✔ 0xA_1 is 161 (module)
✔ 0xA_1 is 161 (script)
✔ 0b01_1 is 3 (module)
✔ 0b01_1 is 3 (script)
✔ 0b0_1_1 is 3 (module)
✔ 0b0_1_1 is 3 (script)
✔ 0o1_1 is 9 (module)
✔ 0o1_1 is 9 (script)
✔ 0o0_11 is 9 (module)
✔ 0o0_11 is 9 (script)
✔ 1_ is Invalid NumericLiteralSeparator (1:1) (module)
✔ 1_ is Invalid NumericLiteralSeparator (1:1) (script)
✔ 1_1_ is Invalid NumericLiteralSeparator (1:3) (module)
✔ 1_1_ is Invalid NumericLiteralSeparator (1:3) (script)
✔ 1_1__ is Invalid NumericLiteralSeparator (1:3) (module)
✔ 1_1__ is Invalid NumericLiteralSeparator (1:3) (script)
✔ 1__1 is Invalid NumericLiteralSeparator (1:1) (module)
✔ 1__1 is Invalid NumericLiteralSeparator (1:1) (script)
✔ 1_1_.1_1 is Invalid NumericLiteralSeparator (1:3) (module)
✔ 1_1_.1_1 is Invalid NumericLiteralSeparator (1:3) (script)
✔ 1_1._1_1 is Invalid NumericLiteralSeparator (1:4) (module)
✔ 1_1._1_1 is Invalid NumericLiteralSeparator (1:4) (script)
✔ 0x1_1_ is Invalid NumericLiteralSeparator (1:5) (module)
✔ 0x1_1_ is Invalid NumericLiteralSeparator (1:5) (script)
✔ 0xa_1_ is Invalid NumericLiteralSeparator (1:5) (module)
✔ 0xa_1_ is Invalid NumericLiteralSeparator (1:5) (script)
✔ 0x_a_1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x_a_1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0x__1_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x__1_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0x_1__1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x_1__1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0x_1_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x_1_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0o_1_1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_1_1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0o_11 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_11 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0o_01_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_01_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0b_0_1_1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0b_0_1_1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0b_01_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0b_01_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0b01_1_ is Invalid NumericLiteralSeparator (1:6) (module)
✔ 0b01_1_ is Invalid NumericLiteralSeparator (1:6) (script)
✔ 0o1_1_ is Invalid NumericLiteralSeparator (1:5) (module)
✔ 0o1_1_ is Invalid NumericLiteralSeparator (1:5) (script)
✔ 0o_1_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_1_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ ._1_1 is Unexpected token (1:0) (module)
✔ ._1_1 is Unexpected token (1:0) (script)
✔ 0o01_8 is Unexpected token, expected ; (1:5) (module)
✔ 0o01_8 is Unexpected token, expected ; (1:5) (script)
✔ 0b2_1 is Expected number in radix 2 (1:2) (module)
✔ 0b2_1 is Expected number in radix 2 (1:2) (script)
✔ 0xZ_1 is Expected number in radix 16 (1:2) (module)
✔ 0xZ_1 is Expected number in radix 16 (1:2) (script)

I'm now figuring out a way to migrate my fixtures.

Neat!!! Good stuff Rick!!
I believe we converged to keeping parseInt intact and changing the Number
constructor to take the new syntax (which leads to a backwards incompatible
change, but seemed like an acceptable one).
Does that make sense?
(sent from phone, apologies for the brevity)
On May 26, 2017 2:22 PM, "Rick Waldron"<EMAIL_ADDRESS>wrote:
I have an implementation and a little test runner that verifies all of the
following:
☉ 68 tests run:
✔ 68 tests passed
✘ 0 tests failed
.............................
✔ 1_1 is 11 (module)
✔ 1_1 is 11 (script)
✔ 1_1.1_1 is 11.11 (module)
✔ 1_1.1_1 is 11.11 (script)
✔ .1_1 is 0.11 (module)
✔ .1_1 is 0.11 (script)
✔ 0x1_1 is 17 (module)
✔ 0x1_1 is 17 (script)
✔ 0xa_1 is 161 (module)
✔ 0xa_1 is 161 (script)
✔ 0xA_1 is 161 (module)
✔ 0xA_1 is 161 (script)
✔ 0b01_1 is 3 (module)
✔ 0b01_1 is 3 (script)
✔ 0b0_1_1 is 3 (module)
✔ 0b0_1_1 is 3 (script)
✔ 0o1_1 is 9 (module)
✔ 0o1_1 is 9 (script)
✔ 0o0_11 is 9 (module)
✔ 0o0_11 is 9 (script)
✔ 1_ is Invalid NumericLiteralSeparator (1:1) (module)
✔ 1_ is Invalid NumericLiteralSeparator (1:1) (script)
✔ 1_1_ is Invalid NumericLiteralSeparator (1:3) (module)
✔ 1_1_ is Invalid NumericLiteralSeparator (1:3) (script)
✔ 1_1__ is Invalid NumericLiteralSeparator (1:3) (module)
✔ 1_1__ is Invalid NumericLiteralSeparator (1:3) (script)
✔ 1__1 is Invalid NumericLiteralSeparator (1:1) (module)
✔ 1__1 is Invalid NumericLiteralSeparator (1:1) (script)
✔ 1_1_.1_1 is Invalid NumericLiteralSeparator (1:3) (module)
✔ 1_1_.1_1 is Invalid NumericLiteralSeparator (1:3) (script)
✔ 1_1.1_1 is Invalid NumericLiteralSeparator (1:4) (module)
✔ 1_1.1_1 is Invalid NumericLiteralSeparator (1:4) (script)
✔ 0x1_1 is Invalid NumericLiteralSeparator (1:5) (module)
✔ 0x1_1 is Invalid NumericLiteralSeparator (1:5) (script)
✔ 0xa_1_ is Invalid NumericLiteralSeparator (1:5) (module)
✔ 0xa_1_ is Invalid NumericLiteralSeparator (1:5) (script)
✔ 0x_a_1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x_a_1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0x__1_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x__1_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0x_1__1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x_1__1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0x_1_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0x_1_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0o_1_1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_1_1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0o_11 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_11 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0o_01_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_01_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0b_0_1_1 is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0b_0_1_1 is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0b_01_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0b_01_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ 0b01_1_ is Invalid NumericLiteralSeparator (1:6) (module)
✔ 0b01_1_ is Invalid NumericLiteralSeparator (1:6) (script)
✔ 0o1_1_ is Invalid NumericLiteralSeparator (1:5) (module)
✔ 0o1_1_ is Invalid NumericLiteralSeparator (1:5) (script)
✔ 0o_1_1_ is Invalid NumericLiteralSeparator (1:2) (module)
✔ 0o_1_1_ is Invalid NumericLiteralSeparator (1:2) (script)
✔ ._1_1 is Unexpected token (1:0) (module)
✔ ._1_1 is Unexpected token (1:0) (script)
✔ 0o01_8 is Unexpected token, expected ; (1:5) (module)
✔ 0o01_8 is Unexpected token, expected ; (1:5) (script)
✔ 0b2_1 is Expected number in radix 2 (1:2) (module)
✔ 0b2_1 is Expected number in radix 2 (1:2) (script)
✔ 0xZ_1 is Expected number in radix 16 (1:2) (module)
✔ 0xZ_1 is Expected number in radix 16 (1:2) (script)
I'm now figuring out a way to migrate my fixtures.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/babel/babylon/issues/538#issuecomment-304354558, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqV6qj2h_i6A-wgHJ-Np9Tx8tLo9sAMks5r9xhNgaJpZM4NnDpy
.

I believe we converged to keeping parseInt intact and changing the Number constructor to take the new syntax (which leads to a backwards incompatible change, but seemed like an acceptable one).

That's correct, but I have to admit that I don't understand where that fits for Babylon? Guidance please :)

Ah fair question. Henry?
(sent from phone, apologies for the brevity)
On May 26, 2017 3:05 PM, "Rick Waldron"<EMAIL_ADDRESS>wrote:

I believe we converged to keeping parseInt intact and changing the Number
constructor to take the new syntax (which leads to a backwards incompatible
change, but seemed like an acceptable one).
That's correct, but I have to admit that I don't understand where that
fits for Babylon? Guidance please :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/babel/babylon/issues/538#issuecomment-304364005, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqV6jzmkbW_UkCcHIXCYGI6KLdGL4j0ks5r9yJbgaJpZM4NnDpy
.

Yeah it wouldn't be related to the parser. After the parser change, we need to make the transform itself and then determine whether we need a new polyfill for those kinds of methods or not

@babel-bot move to babel/babel

Hey @hzoo! I've moved your issue to the correct repository. Please make sure to keep an eye on the new issue for the latest information.


WRKLDS-1292: Bump(k8s.io/kubernetes)=v1.30.1, bump(github.com/openshift/*)=release-4.17

Pulling https://github.com/kubernetes/kubernetes/releases/tag/v1.30.1

/retest-required

go: go.mod requires go >= 1.22.2 (running go 1.22.1; GOTOOLCHAIN=local)
Need to wait until the builder gets bumped to 1.22.2 at least.

Still with go 1.22.1:
go: go.mod requires go >= 1.22.2 (running go 1.22.1; GOTOOLCHAIN=local)

/retest-required

error: build error: failed to pull image: After retrying 2 times, Pull image still failed due to error: initializing source docker://image-registry.openshift-image-registry.svc:5000/ci-op-w6khtcd8/pipeline@sha256:8f21f6e6d0051e0519ec69e797490b7474a434c703e6fb36000c9ec7a1521736: reading manifest sha256:8f21f6e6d0051e0519ec69e797490b7474a434c703e6fb36000c9ec7a1521736 in image-registry.openshift-image-registry.svc:5000/ci-op-w6khtcd8/pipeline: unknown: unable to pull manifest from quay-proxy.ci.openshift.org/openshift/ci@sha256:8f21f6e6d0051e0519ec69e797490b7474a434c703e6fb36000c9ec7a1521736: manifest unknown: manifest unknown

/retest-required

/retest-required


Fixed table truncation in limb darkening results in Web app

Fixes #372 so that the table of LDC results is not truncated.

Hello @hover2pi, Thank you for submitting the Pull Request !

In the file exoctk/exoctk_app/app_exoctk.py:

Line 189:21: W605 invalid escape sequence '('
Line 189:25: W605 invalid escape sequence ')'
Line 189:57: W605 invalid escape sequence '\c'
Line 189:74: W605 invalid escape sequence '\e'
Line 195:46: W605 invalid escape sequence '('
Line 195:48: W605 invalid escape sequence '\l'
Line 195:56: W605 invalid escape sequence '\m'
Line 195:66: W605 invalid escape sequence '\h'
Line 195:79: W605 invalid escape sequence '\m'
Line 195:85: W605 invalid escape sequence ')'
Line 196:46: W605 invalid escape sequence '('
Line 196:48: W605 invalid escape sequence '\l'
Line 196:56: W605 invalid escape sequence '\m'
Line 196:66: W605 invalid escape sequence '\h'
Line 196:79: W605 invalid escape sequence '\m'
Line 196:85: W605 invalid escape sequence ')'
Line 197:46: W605 invalid escape sequence '('
Line 197:48: W605 invalid escape sequence '\l'
Line 197:56: W605 invalid escape sequence '\m'
Line 197:66: W605 invalid escape sequence '\h'
Line 197:79: W605 invalid escape sequence '\m'
Line 197:85: W605 invalid escape sequence ')'
Line 203:58: W605 invalid escape sequence '('
Line 203:62: W605 invalid escape sequence '\m'
Line 203:69: W605 invalid escape sequence '\m'
Line 203:75: W605 invalid escape sequence ')'

In the file exoctk/limb_darkening/limb_darkening_fit.py:

Line 108:46: W605 invalid escape sequence '\m'
Line 490:30: W605 invalid escape sequence '\m'
Line 491:32: W605 invalid escape sequence '\m'
Line 491:39: W605 invalid escape sequence '\m'

If you have not done so, please consult PEP8 and PEP257


Complete GridFS backend and add integration tests

I doubt anyone has a need for this backend yet, but I ported it over from requests-cache anyway. The main use case is for responses that can be potentially very large (>16MB). Currently, GridFSCache has a couple missing functions, and the operations are blocking. It looks like Motor includes support for GridFS, so it shouldn't be too much work to finish this up if/when someone needs it.

Closing this issue for now, but this can be reopened if anyone is interested in GridFS support. WIP changes here: https://github.com/JWCook/aiohttp-client-cache/tree/gridfs


fix: Check if example directory already exists

Currently, when the multistage-delivery.sh script of the quickstarter example is run multiple times, it fails since the examples repository already exists.
fatal: destination path 'examples' already exists and is not an empty directory.

Now the existence of the directory gets checked before cloning the repository to remove the possibility of this error.
Fixes
Keptn.sh issue

Another option would be to ask the user if he wants to replace the directory.
read -p "Examples directory already exists. Want to overwrite it (y/n)?" choice
case "$choice" in
  y|Y ) echo "Replace directory";;
  n|N ) echo "Keep old directory";;
  * ) echo "invalid";;
esac


Fix tuple indexing for Lean backend

A proposed fix for #76. This PR maps the field ID for tuple structs into the nested index for the Lean tuple.
For example, for the Rust tuple struct
struct Tuple(i32, bool, u8);

which gets translated to
def Tuple := I32 × Bool × U8

the indices map as follows:

Rust
Lean

Tuple.0
Tuple.1

Tuple.1
Tuple.2.1

Tuple.2
Tuple.2.2

Resolves #76

I'm closing this because it is subsumed by https://github.com/AeneasVerif/aeneas/pull/82 (I cherry-picked the commit). Thanks for submitting this!


Remove usage of quasi-quoting in tests

Only clippy and cargo use the old quasi quoting stuff, and we should be
removing it.
r? @alexcrichton

@bors: r+

:pushpin: Commit 5f76583 has been approved by alexcrichton

:hourglass: Testing commit 5f76583c2ad8cf33556e77dfa2d066dbf0c50fe9 with merge 9e4b3257a346c3008c61de67fa0d17697f8de83f...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 9e4b3257a346c3008c61de67fa0d17697f8de83f to master...


Sample code not provided under a permissive license

Half of these files are marked Copyright (c) … Adyen. All rights reserved., with the other half missing an explicit copyright assignment.
Is this sample code intended for customers to incorporate directly into their applications?
If so, could we get the files licensed under a suitable license?

The repo is now licensed as MIT but I'm not sure which information prevails.

Hi @cysp,
Thanks for reporting this issue, and sorry for the late reply! We've updated the headers in all files to clarify the license.
Best,
Joost


Internal database structure

We need a database system that allows us to store and access our data.
As well as being a central program that can listen to websockets and broadcast to other programs when changes happen (see #1), Kesh should also be control access to our internal database.
We need to decide what database system we should use for Kesh. It will primarily (though not necessarily only) be used by Nidaba to access data and write new data to it.
At the moment we use MongoDB because it's simple to get running.

Yo! Need the username, pass and the internal URL for mongo.


Add more Stack Problems

Do you mean Implementation?

@Rishikavishnoi

Can you please assign this issue to me.

Evaluation of Postfix Expression
Reverse a string using Stack


Support for

Hi is there any plans to support superscript in this markdown parser? I tried using 1 but this tag gets converted to  even if I specify skipHTML option.

Commonmark doesn't specify any type for it, but html should be supported. I suspect the sloppy inline html parsing is causing this, but can't check right now. What does it get converted to?

Sorry I missed that in the original issue. It is converting sub to span

Hrm, yeah. I really have to get the inline HTML handling fixed. No solution for this right now, unfortunately.

+1 As I need support for sup

I tracked this down to this line;
https://github.com/rexxars/commonmark-react-renderer/blob/master/src/commonmark-react-renderer.js#L89
It seems that all HtmlBlock and HtmlInline node types are either rendered as
 or  regardless of what the original HTML was.

@rexxars Could you do a regex on props.literal to determine what kind of tag it is? Seems like props.literal.match(/[A-Z]+/i)[0] could work. Or something like props.literal.match(/^<(sup|sub|span)>$/i)[1]. I'll open a PR on commonmark-react-renderer.

Oh, actually, this is related to https://github.com/rexxars/commonmark-react-renderer/issues/9
I'll continue discussion there.

The new release candidate for v3 has (very basic) support for attributeless, inline html nodes. Please read this issue for more information. Please give it a go and let me know if you encounter issues.

@rexxars Coming into this in 2020, I don't see an easy way of using the sub tag other than enabling "allowDangerousHtml". Any clues here?


CE review - Getting started revamp Virtual device section

External Contributor Checklist

🚨 Please review the guidelines for contributing to this repository.

[x] Make sure that all commits follow the conventional commit specification for the Mender project.

The majority of our contributions are fixes, which means your commit should have
the form below:
fix: <SHORT DESCRIPTION OF FIX>

<OPTIONAL LONGER DESCRIPTION>

Changelog: <USER-FRIENDLY-CHANGE-DESCRIPTION> or <None>
Ticket: <TICKET NUMBER> or <None>

[x] Make sure that all commits are signed with git --signoff. Also note that the signoff author must match the author of the commit.

Description
Revamp of Get started docs for Virtual devices and "Deploying an application Update" that is related to the "Virtual Device" section

@merlin-northern
Hey,
you're doing the onboarding test this sprint.
Could you follow the docs from this PR and do the review of these doc as part of it?

@merlin-northern Hey, you're doing the onboarding test this sprint. Could you follow the docs from this PR and do the review of these doc as part of it?

@TheMeaningfulEngineer any chance it will get merged this week?


is it ok to update state too frequently?

Example:
I have a component which plays video and i want to update another components based on video playback time.
Is it a good practice to fire an action "onplaybacktimechange"? which will update state?
as i know Redux keeps all versions of states so it means that i will consume too much memory too soon?
what are your suggestions, how i can handle this kind of scenario?

as i know Redux keeps all versions of states

This is absolutely not the case.
To be clear, Redux DevTools keeps state history for a while (until you commit or reset it) but you should never use it in production.

Is it a good practice to fire an action "onplaybacktimechange"?

I would not suggest to fire actions way too often but once a second seems fine to me. As with any technological decision, you should write a stress test that models your use case reasonably accurately, and see whether the performance is acceptable.

as i know Redux keeps all versions of states
This is absolutely not the case.

Thanks, that's what i wanted to know :)


stbi__err doesn't set error reason

https://github.com/StbRust/stb_image_rust/blob/ca137a3caadc1f25c3a22d2ac87b80cd938eedfc/stb_image_rust/src/stb_image.rs#L4

Thanks for the reporting. Fixed in the 2.27.1.


The documentation links are dead

The documentation links are dead

Thanks for letting me know! Seems like a recent change silently broke the docs build. Should be up again now.


Timescale: Load existing tag ids on processor init

Codecov Report

Merging #151 (77b0020) into master (123f6aa) will decrease coverage by 0.09%.
The diff coverage is 8.82%.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   65.40%   65.30%   -0.10%
==========================================
  Files         145      145
  Lines        5952     5961       +9
==========================================
  Hits         3893     3893
- Misses       1946     1955       +9
  Partials      113      113

Impacted Files
Coverage Δ

pkg/targets/timescaledb/process.go
21.85% <8.82%> (-1.14%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 123f6aa...77b0020. Read the comment docs.

Codecov Report

Merging #151 (77b0020) into master (123f6aa) will decrease coverage by 0.09%.
The diff coverage is 8.82%.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   65.40%   65.30%   -0.10%
==========================================
  Files         145      145
  Lines        5952     5961       +9
==========================================
  Hits         3893     3893
- Misses       1946     1955       +9
  Partials      113      113

Impacted Files
Coverage Δ

pkg/targets/timescaledb/process.go
21.85% <8.82%> (-1.14%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 123f6aa...77b0020. Read the comment docs.


Support for all icons and icon font

Hi,
many thanks for this!
I used it in a project and added support for all OpenWeatherMap icon states in conjunction with an icon font. It could be added as an option, so the plugin outputs icon font tags with classes for each state and day or night instead of images.
Philipp

When I originally wrote this plugin I had accounted for all possible OpenWeatherMap icons but it's possible they've added some since. I'm not exactly sure how the plugin would work with an icon font, but if you'd like, fork the repo and make a pull request with your updates.


chore: disable profile burn in tests because of profile guardian

@krzysu what's the next step here?


Allow to specify terminal profiles

Please describe feature/problem details and solution you'd like.
My default profile is "powershell", but I always have a "JavaScript Debug Terminal" split open. I would like to open my VS Code and always have both of these terminal ready to go. If I have not missed anything, I didn't see anything related to opening other terminal profiles. It always opens the default terminal, in my case, "powershell".
Describe alternatives you've considered
I tried searching for other terminal extensions for this feature, but none has it. Maybe it's not possible with the current VS Code API?

I have searched for the same possibility with this extension but have found nothing, I think it would be an excellent feature. I support the idea!. 👍🏼

I have searched for the same possibility with this extension but have found nothing, I think it would be an excellent feature. I support the idea!. 👍🏼

After a few searches, here's how to do it:
There is no need to include it as a feature (though it'd be nice, I guess), you just need to follow the Auto Attach article in official VSCode site.
I've set it up with smart option for a NestJS project and works like a charm. 🔥

This anser was given following some stack overflow answers, I'll leave theme here:

Debugging nest.js application with vscode
Run javascript debug terminal with tasks

I have searched for the same possibility with this extension but have found nothing, I think it would be an excellent feature. I support the idea!. 👍🏼

After a few searches, here's how to do it: There is no need to include it as a feature (though it'd be nice, I guess), you just need to follow the Auto Attach article in official VSCode site.
I've set it up with smart option for a NestJS project and works like a charm. 🔥

This anser was given following some stack overflow answers, I'll leave theme here:

Debugging nest.js application with vscode
Run javascript debug terminal with tasks

Oh wow, I didn't know about this. This is pretty useful. The sad thing is.. I don't want to run debugger every time 😅 sometimes I want to use the regular powershell because it's faster. It's a bummer that --inspect flag does not work for me for some reason 🥲 But thank you for sharing anyway!


genericx86-64-ext: make megaraid_sas built-in

We now build megaraid_sas as a module which means flasher is able to flash balenaOS to a device lying on it (because the driver is loaded from the flasher media) but the newly flashed balenaOS does not boot because the driver lies on the same device it enables.

@balena-ci retest this please

@balena-ci retest

@balena-ci test


Not able to downgrade from 1.19.0 > 1.18 or 1.17.

Environment

Telemetry Streaming Version: 1.19.0
BIG-IP Version: <IP_ADDRESS>

Summary
After upgrading to telemetry streaming 1.19.0 we had some issues with data in the logs missing out, so we had to rollback, but after un-installation of version 1.19.0 the older versions doesn't get installed properly. Checking the GUI they are installed, but when checking for the plugin status using the api, it only gives me a 404 all the time. I've tried to reboot the F5 device but that has made no difference, tried installing back and forth and same issue. I can only get "back" to 1.19.0 but there we have issues with the logging itself...
We have a Splunk consumer which I suspect might be causing this, I read something about a compressionType, we haven't declared it but I see when I check the declaration with the 1.19.0 installed that it's there. How do I disable it since it's there as default? I can't find the proper properties in the schema reference. Or should the uninstallation be enough (it isnt)?
Edit: I tried setting compressionType to "none" before reinstalling but it made no difference. Still only 404 after installing a lower version than 1.19.0. This is causing huge issues with our logging so would be great to know what's causing it.

I tried going from 1.19.0 to 1.18.0 and found this error in the restnoded log:
Tue, 20 Apr 2021 21:34:40 GMT - severe: [telemetry] Startup Failed
Traceback:
Error: Error: [{"keyword":"enum","dataPath":"/schemaVersion","schemaPath":"#/properties/schemaVersion/enum","params":{"allowedValues":["1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.11.0","1.10.0","1.9.0","1.8.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.0","1.1.0","1.0.0","0.9.0"]},"message":"should be equal to one of the allowed values"}]
    at configUtil.validate.catch.err (/var/config/rest/iapps/f5-telemetry/lib/config.js:203:46)
    at tryCatcher (/usr/share/rest/node/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/usr/share/rest/node/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/usr/share/rest/node/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromiseCtx (/usr/share/rest/node/node_modules/bluebird/js/release/promise.js:606:10)
    at Async._drainQueue (/usr/share/rest/node/node_modules/bluebird/js/release/async.js:138:12)
    at Async._drainQueues (/usr/share/rest/node/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/usr/share/rest/node/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:794:20)
    at tryOnImmediate (timers.js:752:5)
    at processImmediate [as _immediateCallback] (timers.js:729:5)
Tue, 20 Apr 2021 21:34:40 GMT - severe: [RestWorker] [RestWorker] worker failed to load state: undefined:shared/telemetry

It looks like the problem is the schemaVersion property in the Telemetry class. It looks like if you do not specify it, Telemetry Streaming will insert the current version as a default. I was able to work around this with the following steps:

Switch back to version 1.19.0
Submit a declaration that sets schemaVersion to 1.18.0
Downgrade the RPM from 1.19.0 to 1.18.0

We are unlikely to resolve this downgrade issue in older versions, but I am working with the developers to see if we can avoid this issue in future versions.

It looks like this was at least partially resolved in version 1.19.0. Future versions should be able to downgrade to version 1.19.0 (or newer) without encountering this start up problem.

I had to change the schemaVersion and also remove the Splunk consumer (as the issue with the compressionType also caused an error (saying that the declaration shouldn't have any additional properties).
After removing Splunk & adding schemaVersion to 1.17.0 I was able to downgrade it.
Thank you : )


Add comments for the missing sequences

Description
This PR adds comments to the missing sequences in the sequence diagram.
Note: Mermaid editor reports Syntax error if there is any missing comment for the sequences and does not generate the diagram.
Related issues
Addresses [issue #].
Testing
Tested locally using visual studio code. The mermaid extension previews diagrams of these updates files without any syntax error.
FHIR Team Checklist

[x] Update the title of the PR to be succinct and less than 50 characters
[x] Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
[x] Tag the PR with the type of update: Bug, Dependencies, Enhancement, or New-Feature
[ ] Tag the PR with Azure API for FHIR if this will release to the managed service
Review squash-merge requirements

Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)

In searchindexer.md there is a missing comment on line 19. I don't know why this one doesn't cause a syntax error like the others.

In searchindexer.md there is a missing comment on line 19. I don't know why this one doesn't cause a syntax error like the others.

/azp run

/azp run

In searchindexer.md there is a missing comment on line 19. I don't know why this one doesn't cause a syntax error like the others.

Good find. I just took a look and see there is a whitespace. And if I remove the whitespace, I get syntax error. So it seems mermaid allows whitespace as comment too.

In searchindexer.md there is a missing comment on line 19. I don't know why this one doesn't cause a syntax error like the others.

Good find. I just took a look and see there is a whitespace. And if I remove the whitespace, I get syntax error. So it seems mermaid allows whitespace as comment too.


inconvenient sort behavior

The sort direction toggle behavior is a little inconvenient.

The default for date-based columns should be descending sort (recent first)

The last-used order should be used when clicking on a non-sorted column. For example,

Load modules.perl6.org, notice that it is sorted by Name ascending
Click Description header, it is sorted by Description ascending
Click Name header, it is sorted by Name descending

It should only toggle the sort order when clicking on the current sort header.

Just curious, what's the use case for the second issue? (Trying to estimate how useful that would be, since the fix is non-trivial).

I do it a lot when looking through the modules. I like to look at what's happening in the ecosystem, and sort by Updated gives me that. I like to look at some project, look at what's being committed or new issues, etc., and then go back to the list and keep working through them.
I may be an odd one here, and perhaps it's not worth the effort at this time to fix. I can open links in new tab to avoid the re-sort on back button as a workaround.

Sorry, I meant the second item in the list above:

The last-used order should be used when clicking on a non-sorted column. For example,
Load modules.perl6.org, notice that it is sorted by Name ascending
Click Description header, it is sorted by Description ascending
Click Name header, it is sorted by Name descending

Hm. I don't see a good solution that doesn't require hacking directly on the TableSorter plugin for either of the items in this ticket.
Adding sortInitialOrder: 'desc', to its options cheats a bit that if you click on Updated it sorts it by newest first, but then, this cheat will probably not work when we'll add Added to the ecosystem on date field.
If anyone else wants to have a go, go ahead :D

Zoffix, thanks. I don't have a specific use case for the last-used-order issue other than just clicking around and expecting things to work "normally". Thanks for looking, I guess this is low priority but would be nice to fix eventually. Perhaps w/ a different plugin?

Both of the issues are resolved by the above commit and the Issue will be closed when the branch gets merged and goes live.


Feature request: could you add a forgot password button in the gui to open the default browser and go to a url that can be specified in the config.ini

I use ldap as authentication methode in proxmox it all works great. but i would love to have a forgot password button on the login screen so users can selfservice there password reset.

I will probably need to implement this to open a web browser or other program instead of just calling a URL, as this is done differently with every platform. Shouldn't be difficult to do.

Commit 2bac614 implements this feature. See the ini file example for implementation.


UHF-8908: Group HELfi entity types under one link

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.24%.  Consider uploading reports for the commit 6040b99 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #155   +/-   ##
=========================================
  Coverage     67.24%   67.24%
  Complexity      540      540
=========================================
  Files            73       73
  Lines          1850     1850
=========================================
  Hits           1244     1244
  Misses          606      606

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Error object contains certificate in text

Summary

Simplest Example to Reproduce

const auth = {
   "cert": "THESE ARE THE CONTENTS OF THE CERT",
   "key": "THESE ARE THE CONTENTS OF THE KEY",
   "ca": "THESE ARE THE CONTENTS OF THE CA",
};

const options = {
  url: 'https://www.aurl.that/doesntexist/really',
  cert: auth.cert,
  key: auth.key,
};

request(options)
.catch((err) => {
  console.log(err);
});

Expected Behavior
The error object should not include the cert, key or ca information, unless there is a very good reason why these should be part of the error (and I can't thing of one) they should be silenced, as error objects generally are supposed to be caught and thrown in different layers. Error objects are also supposed to be logged. I understand that a solution is to only take the secure info from the error object and log these, leaving the insecure. But I still don't understand why the error object needs to contain the whole cert/ket/ca.
Current Behavior
When making an SSL request, with a cert/ca/key, any error object returned contains the cert/ca/key information.
Possible Solution
Take out any sensitive information from the options object of the error object,
Context

Your Environment

software
version

request
2.81.0

node
v6.11.3

npm
5.4.2

Operating System
Centos7

This is still a thing, it even prints out the private keys, which could lead to them being dumbed in log files for anyone to just scoop up and impersonate you :/


touch(): Unable to create file C:\Windows\TEMP\laravel-excel-iTD4AzbCp1407pqPOqeGszC1xvc1ZMet because Permission denied

Prerequisites

[ y] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[y] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[y ] Checked that your question isn't already asked before.
[y ] Filled in the entire issue template

Versions

PHP version: PHP/7.1.6
Laravel version:5.5.48
Package version: 3.1
Server: Microsoft-IIS/7.5

Description
Code:
return (new OrdersExport($orders))
            ->download('订单数据' . Carbon::now()->toDateTimeString() . '.xlsx');

Exception message:
touch(): Unable to create file C:\Windows\TEMP\laravel-excel-iTD4AzbCp1407pqPOqeGszC1xvc1ZMet because Permission denied
Additional Information
Upload file is work.

Did you able to correct the error

yes, I reset the user permission, it's work!

how to reset the user permission?

add other user's write & read to the folder C:\Windows\TEMP


Real-Time Animation Rendering

Problem Description
I am encountering an issue with synchronizing real-time audio-driven animation when capturing video using WebVideoCreator. The animation is based on audio frequency data and is rendered in real time in a browser environment.
The visualizer, implemented in JavaScript, creates a series of bars whose heights vary according to the frequency data obtained from the audio. This is achieved using the Web Audio API and the requestAnimationFrame method for smooth animations.
The problem I'm facing is capturing the real-time animation synchronously with the audio. When attempting to record the animation using tools like the Web Video Capture (WVC) API, I encounter synchronization issues where the audio and the visual elements are not perfectly aligned in the final video output. This desynchronization becomes more pronounced as the recording progresses, leading to a noticeable lag between the audio and the visual animation.
Attempted Solutions

FPS Logging and Performance Tweaks: I've added code to log the frames per second (FPS) to monitor the performance and ensure the animation runs smoothly. Adjustments were made to optimize the animation's performance.

Code Refinements: Throughout the development, I've tried several refinements to the code, aiming to optimize both the audio processing and the animation rendering.

Different Capture Methods with WVC: I tried various capturing setups using the Web Video Capture API to try and resolve the synchronization issues. Also running on Macbook or AWS EC2 instances gave similar results.

Code Snippets:
This is my audio processing setup:
// Create an AudioContext
const audioContext = new AudioContext();

// Create an AnalyserNode
const analyser = audioContext.createAnalyser();

// Configure the analyser
analyser.fftSize = 2048;
analyser.maxDecibels = 80;

// Fetch the audio file and start the animation
fetch(audioUrl)
  .then(response => response.arrayBuffer())
  .then(arrayBuffer => audioContext.decodeAudioData(arrayBuffer))
  .then(startAnimation)
  .catch(error => console.error('Error loading audio:', error));

This is my animation loop:
function animate() {
  drawBars();
  animationFrameId = requestAnimationFrame(animate);
}

function update() {
  const dataArray = new Uint8Array(analyser.frequencyBinCount);
  analyser.getByteFrequencyData(dataArray);
  // Processing of dataArray...
  updateFrequencyData(normalizedData);
  requestAnimationFrame(update);
}

Following is my WebVideoCreator capturing setup:
// Import WebVideoCreator and necessary components
import WebVideoCreator, { VIDEO_ENCODER, core, AUDIO_ENCODER } from 'web-video-creator';

const { ResourcePool } = core;

// Create a new instance of WebVideoCreator
const wvc = new WebVideoCreator();

// Global configuration
wvc.config({
    mp4Encoder: VIDEO_ENCODER.CPU.H264, // Choose the encoder based on your hardware
    browserUseGPU: true,                // Enable GPU acceleration if available
    frameFormat: "jpeg"                // Use jpeg for frame capture
});

// URL of your animation page with query parameters
const animationURL = '';

// Create a new ResourcePool with browser options
const resourcePool = new ResourcePool({
    numBrowserMin: 1,
    numBrowserMax: 5,
    browserOptions: {
        args: ["--autoplay-policy=no-user-gesture-required"], // Add Chrome flags here
        useGPU: true,
    },
});

// Create a single screen video with custom resource pool
const video = wvc.createSingleVideo({
    url: animationURL,
    width: 1920,    // Video width
    height: 1080,   // Video height
    fps: 60,        // Frame rate
    duration: 25000, // Duration in milliseconds (adjust based on audio length)
    outputPath: './recordings/25secwvc60fps2.mp4', // Output file path
    showProgress: true, // Show progress in the CLI
    resourcePool: resourcePool, // Use the custom resource pool
});

// Start rendering the video
video.start();

Recordings
"Normal Screen Recording" gives the expected result when capturing the animation and represents the animation when looking at it in the browser window.
Normal Screen Recording:
https://github.com/Vinlic/WebVideoCreator/assets/48747427/e6e56a33-48d2-4af2-8e9b-b7d00eda6675
At 60 fps the animation in the recorded video runs too fast when combining with the audio:
WebVideoCreator 60 fps:
https://github.com/Vinlic/WebVideoCreator/assets/48747427/e4bdfff4-2ced-4d26-9b5f-4cdfff906606
At 30 fps the animation in the recorded video runs too slow when combining with the audio:
WebVideoCreator 30 fps:
https://github.com/Vinlic/WebVideoCreator/assets/48747427/d33811d6-d3de-4fec-99be-5919db2637a7

Hey, I noticed that you used requestAnimationFrame but did not handle the currentTime provided in the callback. The WVC recorded content should be an animation on a timeline, while the audio input synthesizer is a real-time animation creation process. If you want to accurately capture it, please first pre organize the PWM amplitude of the audio and play it back using anime.js or other animation libraries that support timelines. :D

Thanks for the response!
Will try to adjust my code accordingly and let you know if it worked out for me. :)

I will close this issue and you can reopen it at any time if you have other questions. 😸


The OwnerReferences in Longhorn system is wrong

The schema of the field Kind should be like EngineImage rather than longhorn.rancher.io/v1alpha1, Kind=EngineImage.

Test case 1:

Launch v0.6.2 Longhorn system. Create a volume with recurring jobs and deploy a compatible engine image. --> For the engine image DaemonSet and instance manager objects, the field ownerReferences[0].kind is longhorn.rancher.io/v1alpha1, Kind=EngineImage. For the engine/replica manager pods, the field is longhorn.rancher.io/v1alpha1, Kind=InstanceManager. For the engine, replicas and recurring jobs, the field is longhorn.rancher.io/v1alpha1, Kind=Volume
Upgrade to the version containing this PR. --> the field kind of all the above components will be like EngineImage rather than longhorn.rancher.io/v1alpha1, Kind=EngineImage.
Delete the volume. --> The related engine, replicas, recurring jobs will be removed.
Delete the deployed engine image. --> The related instance managers, instance manager pods, engine image DaemonSet will be removed. The engine image will be cleaned up after all of the above components are gone. Check the manager's log to see if there are tons of errors during engine image deletion.
Use uninstaller to uninstall this Longhorn system. --> Uninstallation will succeed.

Test case 2:

Launch the Longhorn containing this PR. Create a volume with recurring jobs and deploy a compatible engine image. --> The field ownerReferences[0].kind will be like EngineImage, InstanceManager, or Volume.
Use uninstaller to uninstall this Longhorn system. --> Uninstallation will succeed.

Validation: PASSED

Notes: the following one-liners will help checking owner reference for all mentioned components.
for INST_MGR in `kubectl get instancemanager --no-headers -n longhorn-system | awk '{print $1}'`; do
  echo -n "${INST_MGR}:   "
  kubectl get instancemanager -n longhorn-system -o json ${INST_MGR}  | jq ".metadata.ownerReferences[0].kind"
done

for REPLICA in `kubectl get replicas --no-headers -n longhorn-system | awk '{print $1}'`; do
  echo -n "${REPLICA}:   "
  kubectl get replicas -n longhorn-system -o json ${REPLICA}  | jq ".metadata.ownerReferences[0].kind"
done

for ENGINE in kubectl get engine --no-headers -n longhorn-system | awk '{print $1}'; do
echo -n "${ENGINE}:   "
kubectl get engine -n longhorn-system -o json ${ENGINE}  | jq ".metadata.ownerReferences[0].kind"
done