Payload form-builder example creates extra random fields

Link to reproduction
https://github.com/payloadcms/payload/tree/master/examples/form-builder
To Reproduce

Create a new form using payload from-builder plugin using the example code from https://github.com/payloadcms/payload/tree/master/examples/form-builder
Create a few fields and name the block with something meaningful to you, like this:

check what form fields payload returns. Note that a field consent_swich has block name Teaching track

render the form on the frontend and submit the form
observe the request payload to see extra random field appear there:

Describe the Bug
buildInitialFormState from the example is using field.blockName to populate initial form data.
that must use field.name instead
Payload Version
1.11.8

@leikoilja Good catch! Just reviewed your PR and merged it - thank you!


Submitted tfjobs cease to start running under unknown conditions

See logs. Sometimes see a previously working deployment no longer launch tfjobs and upon re-deploying cluster the same attempted tfjob deployment then works. The next time it happens I can get log or config data, let me know what you'd need.

Please provide the logs of the TfJob operator pod.
Also please provide the result of
kubectl get tfjobs -o yaml
Also if I have access to this cluster please leave it up and running when it happens so I can inspect it.

Sure will do.

I think I'm encountering this myself.

Controller pod has been running for 8 days

I have submitted multiple TfJobs that started successfully.

Currently there is a single TfJob (see tfjobs.yaml.txt)

The TfJob doesn't have runtimeId which indicates it hasn't been updated by the controller.

Log for the [controller.log.txt]controller.log.txt shows

Added event is recieved
I1211 21:40:38.516560       1 controller.go:349] event: ADDED {
...
E1211 21:40:38.530912       1 training.go:112] TfJob failed to setup: tbReplicaSpec.LogDir must be
   specified

I1211 21:40:38.706580       1 controller.go:349] event: MODIFIED {

So I think there is at least one bug with training.go:112 not updating the TfJob status to indicate that setup failed.

tfjobs.yaml.txt

I opened #218 for the specific issue I encountered. Chris we can continue to use this issue to track your particular problem.

Sounds good.

/lifecycle stale


feat: implement snowflake algorithm

解决两个问题：
1.时钟回拨，没有采用redis的方式，而是本地保存当前最大timestart，每次启动时就找到这台机器上面的max_time自增就好了，保持逻辑时钟
2.跨毫秒起始值起始每次默认都是0，这会导致末尾是偶数不方便取余，所以采用random的方式选取1～3的随机数

action:
调研一下要不要接存储
调研一下时钟回拨问题

@seeflood
This subject participated in GLCC.I think we should follow the rules of GLCC.
PR should not be submitted now.It's not fair.
We should choose the candidate from all students who have submitted their proposal.

@ZLBer Agreed. We should follow the rules and make it fair.
@azhsmesos Thanks for your contribution, but please submit a GLCC proposal and wait for the approval before submitting this PR.
We have to close this PR and wait for the GLCC process.
For now, you can continue with other PR, like #554 and #137


feat: driver option presets

This PR adds support for driver option presets, allowing us to curate a set of useful option presets, starting with:

Preset
Description

SAFE_MODE
Increases several timeouts to be able to deal with controllers and/or nodes that have severe trouble communicating. This should not be enabled permanently, as it can decrease the performance of the network significantly

BATTERY_SAVE
Sends battery powered nodes to sleep more quickly in order to save battery.

AWAKE_LONGER
Sends battery powered nodes to sleep less quickly to give applications more time between interactions.

@zwave-js-bot automerge


Tidy up and improve placeholder/default texture creation

description and requirements to be expanded upon - discussion started here: https://github.com/playcanvas/engine/pull/2731/#discussion_r566074361

NB Texture placeholders have been updated/fixed/improved in PR: https://github.com/playcanvas/engine/pull/3074

Hey @slimbuck and @mvaligursky - it's not clear to me what this issue is advocating for. Do either of you know? If not, I suggest we just close it.

I actually think the issue was addressed in the linked PR #3074. Probably fine to close.

Great stuff. Closing.


24153 Callback to D365 when subscription setup completes successfully

PR related to Callback to D365 and Retry mechanism
Unit test cases

Thanks for changes @Shirin14926, looks good and I will approve & merge when the checks are all successful.


Listing of RFCs in the profile database

Describe the issue
Apparently, when RFCs on which an individual is listed as author are listed on that individual's profile page, only relatively recent documents are listed.  Unless there is an effort underway to get older RFCs and their authors into the database, perhaps the "RFC(s)" title line should read "RFC(s) after " or equivalent.  Maybe similar treatment should be given to the listing of I-Ds, but that seems less important to me.
In trying to track this problem down, I discovered that

Jon Postel had no RFCs published before RFC 1111 in August 1989, which could lead a reader to believe that, e.g., RFCs 791 and 793.  Similarly Vint Cerf is credited only with RFC 1217, which might lead an inexperienced user of the system to conclude that he is good only for jokes.  Among the missing for both Jon and Vint are several current Internet Standards with normative references from recent documents, so that is not a trivial deal.

While, for example, Sandy Ginoza has her own page, listing 11 RFCs (but not 3700), attempting to look up Joyce Reynolds redirects to a page labeled "RFC Editor".  There, RFC 3700 is listed but the RFC shows Joyce and Sandy as co-editors.  The omission of 3700 in Sandy's listing looks like a bug.  Having no page at all for Joyce seems discourteous, especially since, like Jon, a number of important contributions, including documents still listed as Internet Standards, appear earlier.

It appears to me that, even if it has to be done manually, we should have document pages in the datatracker for every document that represents a current Internet Standard (and maybe any current standards track document) and profile pages for their authors.  If that needs to be done manually, I feel sufficiently strongly about this that, if there is some reasonable tool that allow building such pages manually, I'd be willing to at least make a start on them.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

This will, indeed, require a manual effort to improve.
There isn't a simple tool available (at least at the moment) to facilitate helping with adjusting the data.
Further, there is a significant issue in the way the datatracker models RFCs - currently they are a type of internet-draft internally - a psuedo-version of a draft. This has proven to be an incorrect modeling mechanism - RFCs like 3700 did not come from an internet-draft. The current modeling would allow us to correct the author attributions for it (by adding documentauthor records). But we have a pending effort to change the models to make RFCs their own kind of document and at that point, a careful review of how authors are modeled will be needed, and is probably the best place to add in the effort to ensure that the attributions match what the document says. See #2917.
And then, we have another effort staged to make the subseries documents (BCP, STD, etc) their own kind of document. At the moment, the datatracker is actually broken in modeling those things - it cannot reflect that a BCP consists of several RFCs. See #4426.
In summary, yes, there's a lot to do here, and I'm expecting to approach it as one coordinated project to get coverage, and I'll reach out to you for assistance when we get to the step of verifying the authors are correctly reflected.
In the meantime, if there's a particular RFC (such as those you call out) that you think are important enough to need to be adjusted to the extent we can adjust them now, send a note to<EMAIL_ADDRESS>with the rfc number and the secretariat will look into adjusting the current documentauthor set.

Robert,
Thanks very much for the detailed response.  Given that we have lived without this for years, I don't see it as an urgent problem, so progressing in the way you suggest and solving interconnected problems together makes perfect sense to me.  If it is easy and it is possible to pick a date that works for everyone, it might still be worth patching the template for author profiles to say "RFC(s) after..." rather than "RFc(s)" to avoid being misleading, but, again, not a huge problem and, if it would require more than a few minutes work, it probably should be deferred.
thanks,
john


[ENHANCEMENT] Map HDMI to corresponding CEC input.

I have an Apple TV and a Playstation 4 attached to my Sony TV via HDMI. By utilizing CEC, the TV can control those devices. In the plugin config UI, there are two separate inputs listed: HDMI and CEC inputs separately. However, "under the hood", they are the same physical device. There is a major difference when configuring them for use in HomeKit: If I configure HDMI inputs, the TV will switch to them, but not start the attached devices. If I configure CEC inputs, this will actually work, which is kind of a nice feature IMHO. But there is one catch:
[12/5/2020, 10:31:20 PM] [BraviaTVOS] TV: Changing input source to Player 1 (extInput:cec?type=player&port=1)
[12/5/2020, 10:31:29 PM] [BraviaTVOS] TV: Polling tv state
[12/5/2020, 10:31:30 PM] [BraviaTVOS] TV: {"source":"extInput:hdmi","title":"HDMI 3","uri":"extInput:hdmi?port=3"}
[12/5/2020, 10:31:32 PM] [BraviaTVOS] TV: Changing input source to Player 2 (extInput:cec?type=player&port=2)
[12/5/2020, 10:31:40 PM] [BraviaTVOS] TV: Polling tv state
[12/5/2020, 10:31:40 PM] [BraviaTVOS] TV: {"source":"extInput:hdmi","title":"HDMI 4","uri":"extInput:hdmi?port=4"}

While the correct input is set, the polling reports the "wrong" one. While this could in theory be a bug, I don't think it is: The actual input returned is correct. But since HomeKit just knows about the configured CEC inputs, it doesn't know what to do with the response and doesn't show the selected input source.

@lukasmalkmus
The polling only shows what the TV thinks it is displaying. The problem with CEC is that the TV only displays it correctly when the connection is established. Otherwise it is only e.g. HDMI 3.
Also during the installation the TV is switched on when configuring or reading the inputs because the CEC devices are not readable when switched off.
The plugin does NOT manipulate the output of the TV, but queries the endpoint getPlayingContent and the TV responds. For example, if you have Apple TV turned on but the TV says HDMI 3, this is because the underlying API has not yet updated the state because CEC devices needs some time.


[ClangImporter] Preserve the names of imported ObjC properties.

This is necessary for proper working of #keyPath, as well as improving the experience of PrintAsObjC.
rdar://problem/28543037. Some discussion of trickier problems in SR-3075.

@swift-ci Please test macOS

@swift-ci Please smoke test Linux

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 5c426f16a251f4036824ee6f84dce2ea3d880219
Test requested by - @jrose-apple

18:32:36
/Users/buildnode/jenkins/workspace/swift-PR-osx/branch-master/swift/test/ClangImporter/objc_parse.swift:489:5: error: unexpected error produced: Objective-C method 'started' provided by getter for 'isStarted' does not match the requirement's selector ('isStarted')
18:32:36     get { return _started }
18:32:36     ^

Huh. Well, that's what tests are for.

Okay, this change uncovered another issue: @objc names of accessors are not inferred from a protocol that has a matching requirement. Setting this aside for now.

Recursively ~shaved yaks~ fixed issues in #6698 and #6634 in order to clear the way for this, which should now work. @milseman, mind checking the last commit? (The other two are covered by the other PRs.)
@swift-ci Please test macOS

@swift-ci Please smoke test Linux

Post-hoc LGTM.


Use a const map in TrajectoryManager

This avoids the problem of dangling references to objects in the map which have been deallocated after new items are added to the map

@calcmogul I understand that, but we're deleting copying anyways so that's irrelevant I believe?

You should still support move semantics.

It's a singleton? Why?

Consistency with existing good practice.

By the way, WPILib typically uses static functions with an internal static object instead of a public instance getter and non-static member functions because it's less typing for the user.

I'd much prefer the safety of making the map const within the object over adding semantics we don't need. We really don't have time for this, can you please accept the PR?


⚠ RPC server - Astar has degraded performance

In b655ddb, RPC server - Astar ($ASTAR_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Astar performance has improved in 736926b after 5 minutes.


Crash in first run

MagellanMapper bounces a few times and immediately quits on MacOS 10.15.7. Crash happens on first run of application and app quits before any error is logged abd before user directory is created.
Restarting computer and re-launching app solves issue.

Thanks for reporting @clifduhn ! I can reproduce this with the v1.4beta2 release (https://github.com/sanderslab/magellanmapper/releases/tag/v1.4-beta.2). Looks like the app is starting to load but never completes and then quits. The app starts without a hitch on the next and subsequent launches.
I can actually get this again each time I copy the MagellanMapper.app file from the downloaded .dmg to /Applications and rerun the app. The sequence for me is this, on the same macOS 10.15.7:

Right-click on the app in Applications in Finder, select open, get unidentified developer warning with only the option to Move to Trash or Cancel
Right-click and open the app again, getting the warning but with the option to open anyway, leading to a bouncing icon in the Dock followed by a crash without any app window display
Right-click and open the app yet again...open sesame!
After exit, then double-click to launch as normal

So it seems to be related to the first-launch security screening. The workaround for now is to launch repeatedly the first time, but we'll clearly need to hunt this down.

Tracked this down to a spurious argument during first launch of .app bundles, which leads to a crash because the command-line parser doesn't recognize this argument. Apparently macOS passes an argument of the form, --psn_xyz, where xyz is a process serial number, to the app when it has an internet-download quarantine flag (see comment).
Normally PyInstaller filters out this argument (see https://github.com/pyinstaller/pyinstaller/issues/5442), but for some reason it slips through here. Perhaps launching the PyInstaller-built app with the quarantine flag somehow bypasses this filtering (eg see https://github.com/pyinstaller/pyinstaller/issues/5021#issuecomment-667657071 where the argument appears in another situation with PyInstaller).
As a workaround, I changed the command-line argument parser (argparse) to read only known arguments so that it filters out these -psn_xyz arguments. This change also has the advantage of tolerating any other unrecognized user argument that previously would have crashed the app, although the downside is that it's not as obvious when the user gave an argument that was ignored. To make this a littler clearer, any unrecognized arg will at least be reported to the user after parsing all args.
Fix will be included in the next installer build. Thanks again for reporting this, @clifduhn!


Add Debug/Info/Verbose messages to generator for debugging

These would be AutoRest messages that are emitted through the pipeline process.

We haven't found a need for this in a while. Will reopen if required.


Feature: Add the community chat support[both frontend + backend]

Add the community chat support[both frontend + backend]

@arunimaChintu  can u work on this? how much time would u take to do this

@RohitGupta1237 yes, I want to work on this issue... Please assign me this issue... 1 day

@RohitGupta1237 can you please assign the gssoc label and levels


Timeline record's progress value does not affect build progress.

Setting the progress value of any logging commands including both task.setprogress and task.logdetail doesn't have any impact on any counters of build progress. The left sidebar percentage shows a fixed percentage for the duration of a PowerShell Script test, even if the script itself outputs a logging command specifying a value for progress. The progress is also not shown in any timeline views.
What does this value actually influence?
EDIT: It also appears that the 'current operation' value for the task.setprogress command also does not have any effect on the UI. What exactly is task.setprogress supposed to do?

You should log this in the agent repo.  These are the same commands the agent itself uses
https://github.com/Microsoft/vsts-agent


chore(Dependencies) : update zio-logging-slf4j from 0.5.16 to 2.3.2

About this PR
📦 Updates dev.zio:zio-logging-slf4j from 0.5.16 to 2.3.2 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-logging-slf4j" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-logging-slf4j" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #769.


Software tab missing

Hi,
Pretty easy to explain, in LuCi master, the software tab is missing since a while, is it possible to add it again?
thanks

Did you bake a custom firmware?

errror by myself, sorry ;-)

So there is no "System->Software" if custom firmware is used?

OK, I see it now. I had to do it:
opkg install luci-app-opkg

Hi, I have restored OpenWRT from one of the backups taken and I have also faced similar issue where the software tab is missing.
I have run the below command and it give the below error. opkg update is working without any issue.
`root@OpenWrt:~# opkg install luci-app-opkg
Installing luci-app-opkg (git-22.273.29004-9f6876b) to root...
Downloading https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/luci/luci-app-opkg_git-22.273.29004-9f6876b_all.ipk
Collected errors:

opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/luci/luci-app-opkg_git-22.273.29004-9f6876b_all.ipk, wget returned 8.
opkg_install_pkg: Failed to download luci-app-opkg. Perhaps you need to run 'opkg update'?
opkg_install_cmd: Cannot install package luci-app-opkg.`
Kindly asaking for help if anyone knows the reason of the issue.
Thanks

you need to update your package lists again with "opkg update".
The package has been just rebuilt in the last buildbot build round...
https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/luci
It is there now:
https://downloads.openwrt.org/releases/22.03.2/packages/mips_24kc/luci/luci-app-opkg_git-23.093.42303-e16f620_all.ipk
luci-app-opkg_git-23.093.42303-e16f620_all.ipk | 9.8 KB | Tue Apr 4 21:47:25 2023
(You have likely just have had a bad timing, as you have tried it just when the buildbot is uploading new files, but there is not yet a new package index.)


Big trouble with first use and display

Sorry, but I can't use your plugin.
I am running Sketch 462
I have to restart it 3 times before seeing a bad Preferences windows

@rodnem: Hey! Thanks for the report. Sorry to read. Did this problem come right after you installed the plugin or maybe after an update to the latest version via Sketch update system?

I downloaded it and then double-click on it.
I have first update to 462 then install your plug.
After that, when I try it for the first time (click on your tab) Sketch seems to freeze.
I forced the restart. Nothing.
Restart. Nothing.
Then I got the screen you've seen
Kill Craft & Sketch Plugin Monster. Restart
No change :(

After you forced to restart on freeze did Sketch show you any kind of error sending dialog? If so please try to reproduce this freezing again, restart Sketch and past an error report here.
Without error, I can't even try to find out the reason of this behavior.

No, I can't actually get this error sending dialog box.
Interesting test :
I disable all plugins. I Restart Sketch
I enable Keys → it works.
I enable all plugins → it works (slow to display them all)
I close the Preferences dialog.
I reopen it, I select Keys tab and ... 💥 again the destroyed dialog box appears.
So to my mind, there could be a trouble
either with one of my plugin
either with the number of my plugins

Not sure I can test them all. 🙃 But maybe you can send me a copy of your Plugins folder as zip archive (like via Dropbox link or similar)?

Sure !
here you can download the zip
https://drive.google.com/file/d/0B60wzuc_LefzcDJzeDVQbGkyREU/view?usp=sharing

Even with all the stuff activated I still can't reproduce this bug on my side. 🙄
So the only thing I can do now is waiting for other reports from people with the same issue, sorry. Of course, if you have some time to determine which plugin is causing such a behavior on your machine I'll be really appreciated for your help.
Thanks again for the report.

Closing for now, will refer to this issue if something similar will appear in future.
Thanks!


Create issue with copyable fixes #26

connect #26

Meow!
PR merged and pushed to gitlab: https://gitlab.com/oursky/devsecops-ignore/tree/oursky-ci-pr-oursky/devsecops-ignore/pr-29

Meow!
PR merged and pushed to gitlab: https://gitlab.com/oursky/devsecops-ignore/tree/oursky-ci-pr-oursky/devsecops-ignore/pr-29


Specify metadata in pyproject.toml

I get the following build failure:
⚠  Warning: the following metadata fields in `package.metadata.maturin` section of Cargo.toml are removed since maturin 0.14.0: classifier, maintainer, maintainer-email, please set them in pyproject.toml as PEP 621 specifies.

I've updated the project to the latest version of maturin and py03, that should solve this issue..


As a server admin, I can limit nodes connecting to me via authentication.

6/10

7/10

6

6/10

7

6.4 story points total


Signed packages

Hi,
Currently, installing Ubuntu packages requires requires overwriting the security settings, by explicitly allowing to install unsigned/unauthenticated packages:
http://vagga.readthedocs.org/en/latest/installation.html#ubuntu
Would it be possible to have signed packages?
Thank you.

By the way, you can use the following in the apt-sources.list, to skip confirmation on each upgrade:
deb [arch=amd64 trusted=yes] http://ubuntu.zerogw.com vagga main

@tailhook Just one more request to either provide signed packages or (even through a gateway), provide HTTPS on ubuntu.zerogw.com (I assume it's running your zerogw server, so I can see how that could be difficult without a reverse proxy like Cloudflare :confused:).
With both HTTPS and package signing off, the current installation process is painfully insecure, to the point that I daren't even suggest it as an option in something low-priority (was going to try integrating it to the integer32 playpen), by this approach.

Yes, you're right. I'll try to move it to HTTPS in a week or so (should be a little bit easier than package signing).

Okay, https://ubuntu.zerogw.com is up and running. I'm not going to enable HSTS or redirects. I mean it will be accessible both by HTTP and HTTPS at least for some time.
Will upgrade files.zerogw.com (scripts and static binaries) shortly too.

Thanks! I guess I can understand not enabling HSTS/redirects for now, at least so people have time to migrate any existing uses of vagga (and since the docs are updated, for new users).
Again, thanks for taking the time!

BTW, I'm curious about your integration with integer32 playpen. I would be cool if you share some details in chat or just contact me privately.


The simulation slows down with visualization

In gitlab by @smaqbool on Jun 12, 2017, 17:20
The simulation slows down drastically when I build the program with visualization enabled. Could possibly be because of lag over SSH, but I am not sure.

In gitlab by @simonspa on Jun 12, 2017, 17:38
To add: it's enough to enable the Viz module in the configuration to trigger this behavior


fix failed unit tests

@rubio41,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Crash AndroidX

Describe the bug 🐛
Migration to AndroidX produce crash at runtime
To Reproduce 🔍
Steps to reproduce the behavior:

using api "com.algolia:algoliasearch-android:3.27.0"
migrate a project to AndroidX

Environment:

compileSdkVersion 28
targetSdkVersion 28

Additional context
I saw that you did a fix on the instant search. Is it possible to get it to algoliasearch too?

Hi @Satyre, thanks for reporting this! I am currently replicating your situation.
We won't apply the same solution as on InstantSearch, considering that solution forced us to create diverging instantsearch-android and instantsearch-androidx artifacts.
However as  Google since fixed the jetifier bug that forced us to do this split, we should be able to simply migrate this library to AndroidX while still supporting the former AppCompat applications. I'm investigating this solution today.
I'll come back to you as soon as we have fixed the issue!

@Satyre, can you share the actual stacktrace you get?
I tried to replicate your situation in algolia-android-demo, branch clientWithAndroidX, but am not getting a crash when running on the emulator. Can you confirm that the code I pushed there causes the same crash on your side?
In the meantime I'll anyway move forward on the migration of the library to AndroidX.

Hi @PLNech, thanks for your answer.
I tried with android studio 3.4 and Gradle plugin 3.4 it seems to work.
Apparently, the fix on jetifier did the tricks ;)

Glad to hear :)
From my research, we'll have to stick to AppCompat in the library, as we can only support androidX apps with an androidX-based lib unless going down a lengthy route with dejetifier.
Thanks for sharing the details on the gradle plugin version, hopefully it will be useful if others encounter the same issue!
Have a nice day,

While you're around @Satyre, could you tell us a bit more on your usage so that we can serve better your needs? As we're working on a new version of this client, I'm curious to know:

Are you using Java, Kotlin, or a mix of both?
Had you considered InstantSearch for your application? What was your reason for choosing the client over it?
What current limitations do you see with this api client? Is there any feature that you feel is missing?

Looking forward to hearing your thoughts!


Add string concatenation to mixer expression language

String concatenation could make attributes combination handy in mixer rule and instance definition.

This was previously requested as part of: https://github.com/istio/istio/issues/2316.

/assign @kyessenov


Netflix Issue

System Details

OS: [e.g.  Ubuntu 22.04, Windows 7, 8.1, 10, 11]
Thorium Version [e.g.107.0.5347.0]

Problem
Netflix on the browser doesn't work and give an error when launching a video.
Screenshots
[If applicable, add screenshots to help explain your problem.]
(https://i.imgur.com/HGptjzd.jpeg)
it says : sorry for interruption.
This title can't be streamed. Try another one - 1044
Error code M7121-1331
Additional Notes
You are doing a good job, very satisfied, gonna fund you.

https://github.com/Alex313031/Thorium-Win-AVX2/issues/84#issuecomment-1627702006


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 3.0.55 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Find all references and go to definition for type and lifetime parameters

It would be nice to be able to perform these operations. Specifically Find all references is helpful on structs and traits where it's not-obvious how the parameter is going to be used at declaration time.

I'd be willing to take a crack at this, but I'm still learning the codebase.
I think the issue is that we're not indexing the references from Type and Lifetime parameter use-sites. If this is indeed the problem, could someone point me to where that would need to happen in the codebase. Thanks!

Awesome, @djrenren!
So in general symbol search in IDEs work like this:

iterate all potential references
resolve each reference and check if it indeed resolves to the source definition

That is, IDE does not maintain a persistent use-def index.
For lifetime and type parameters the "all potential references" set is easy to define: they can only be used inside the item which defines them.
However, I don't think we actually handle "resolve" bit yet. Specifically, for something like
struct S<Quuux> {
    t: Quuux
}

we can't yet see that Quuux in t: Quuux is the same as in S<Quuux>. That needs to be fixed first....
Aha, I see, we actually handle that, it's just not exposed via goto defenition UI:
https://github.com/rust-analyzer/rust-analyzer/blob/592b906604d60a86af74c5dbb3bf40b2ddcf8061/crates/ra_ide_api/src/goto_definition.rs#L121
@djrenren what would you think about fixing ^ first? It's an easier issue which should make you more familiar with name-resolution infrastructure we currently have.

Specifically, that fragment of code is tasked with turning an IR-level representation of name resolution back into source-level one. Looking at how this is is done for local variables is helpful:
https://github.com/rust-analyzer/rust-analyzer/blob/592b906604d60a86af74c5dbb3bf40b2ddcf8061/crates/ra_ide_api/src/goto_definition.rs#L111-L117
Basically, we use an integer id in IR, and store a separate source-map, which maps id back to syntax.
The similar infrastructure should be implemented for generic parameters.

Wow there's a lot of infrastructure behind those lines, but I think I'm getting a handle on it.
Do we still want to construct that full mapping in the style of BodySyntaxMapping, or is it sufficient to just bubble up the items. Because type parameters can only be introduced on items, it seems like we could do something much simpler.
But for starters? How do I start doing anything with syntax, because everything in scope seems to be talking about IR. Is that mapping fundamentally in the db?

@djrenren let's talk this through on Zulip perhaps? https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/rust-analyzer.23907

How do I start doing anything with syntax,

Here's a useful API walkthrough: https://github.com/rust-analyzer/rust-analyzer/blob/00b09bcd8c96c37633964aa40df711dc013a6ca5/crates/ra_syntax/src/lib.rs#L96

Hi there!
Out of curiosity, did any work been done on this topic?
It's the big missing one for me compared to RLS ^^

No, this still isn't implemented

I'm hoping to free some time to pour into rust-analyzer, maybe one day I'll gather enough knowledge on this project to tackle this. I'll keep you guys posted :)

Type parameters part of this is handled by https://github.com/rust-analyzer/rust-analyzer/pull/2494#

This was also implemented for lifetimes: #6907 and a couple of follow-ups.


Import generation fails in specific project

FD version: <IP_ADDRESS>0
Haxe version: 4, RC3

Checkout https://github.com/GameMakerDiscord/GMEdit/commit/df1a3aa1ae8b9df205ff40c18a39ae014309fc03 (JS target, no dependencies)
Open src/parsers/GmlLinter.hx
Uncomment line 12
Start typing ":EditC" on line 12 and press Enter to insert editors.EditCode
Note that EditCode is inserted but no import is created for it.
This seems to be a strangely widespread problem in this specific project and I cannot seem to replicate it in an empty one.

@YellowAfterlife can you try the latest dev build?

Seems to work as intended, cheers!


fix(test): update to match UI changes, removed unneeded commented out…

… code

@ldimaggi snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1523-fabric8-ui.int.rdu2c.fabric8.io


Fix a typo in Vandermonde

https://en.wikipedia.org/wiki/Vandermonde_matrix

Thanks!  I didn't see this before now, but I appreciate the correction.  I have merged it.


added mraa_boards.c and mraa_boards.h issue #642

Signed-off-by: Nicola Lunghi<EMAIL_ADDRESS>

issue #642

I've updated the branch please check
also there was an issue with up board
the maximum length of a string now is 12 bit
the up code was
#define MAX_LENGTH 12
strncpy(pin_info->name, name, MAX_LENGTH);
so it was copying only the first 8 byte on the string resulting in: -> not correctly copying the null terminator on string with more than 8 char
I2C1_SCL    #��|
UART1_RXion/����
SPI_MOSI
��
SPI_MISO    �-�
I2S_DOUTmraa


Add build-id to header of compiled source kernels

What is happening to StaticAnalysis test? It failed with many error messages.

Not sure what those errors were about. Reran StaticAnalysis and it's passing now.

Could you give us a bit more detail about why we need this option?

It's a new requirement for packaging that our source kernel binaries must be generated with a build-id for identification/reproducability or potential caching.


Evaluate if CachedERC1155ContractDictionary and its usage is optimal and improve if necessary

A few considerations:

Does it cache only results we are sure of (i.e not false due to network connectivity issues)
Should we include RPCServer as the key, so it's address+chain

Followups:

[ ] Rename it so it can be used for other token types
[ ] Use it for other token types

We can actually update IsInterfaceSupported165 and cache values there, then we wouldn't need to apply caching for each class that is use IsInterfaceSupported165

Yeah, even better!


Bug: solo cluster setup and solo network deploy are not taking the --chart-dir flag

when running the solo cluster setup and solo network deploy supplying the -d option, I noticed that my local solo charts were not being used.  It looks like the code got removed to make this work correctly. Please add it back.  Also, add unit test cases with mocks to ensure that it doesn't get removed again.

:tada: This issue has been resolved in version 0.32.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


testing: skeleton: testing: run cleanup_cluster on exit if clusters.cleanup_on_exit

test passed, merging.


Cargo releases are not getting new versions, so examples won't build anymore

A recent update added the Builder type and updated all the examples.  Problem? The release mechanism you use didn't bump the semantic version in Cargo.toml, making it impossible to grab these changes and work with them without using a github URI for the manifest entry.  This is problematic for a number of configurations and kind of makes it difficult to adopt / push for the adoption of libsql.

Never mind. I give up. It seems the rust community is more toxic than I realized and I'll use a different solution. Thanks for creating the newer interface but I'm switching to a different language for this project.


Not honoring Vault configurations "spring.cloud.config.server.vault" at start-up

Question:
Issue with honoring "spring.cloud.config.server.vault" property values while boot-up and hence its connecting to default Vault endpoint values like localhost:8200 ?  Is there a know issue when integrating with both GIT+Vault sources ? or please correct me if I'm missing anything? Reference to any sample configuration with my scenario would be of great help!
More Description:
I'm using "spring-cloud-config" to integrate with two back end sources(GIT + Vault) to get configurations from both sources.
here are version details in my pom:
spring-boot-starter-parent
2.3.2.RELEASE
<spring-cloud.version>Hoxton.SR6</spring-cloud.version>
spring-cloud-dependencies
${spring-cloud.version}
Here is my bootstrap.yml file:

Thanks and Appreciate any help!

@ryanjbaxter @spencergibb any help/inputs are much appreciated !

If you are using multple profiles in bootstrap, please use composite repositories https://docs.spring.io/spring-cloud-config/docs/3.0.2/reference/html/#composite-environment-repositories

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Support for multi-team resources

Love kubecost, but wondered if you have any suggestions. Some of the resources in our clusters are shared by multiple teams - we have labels like teams.company/team1=true and teams.company/team2=true on such objects.
Are there any strategies for splitting the cost of these between the teams?

The free Kubecost product has a number ways of supporting this concept of shared resources/costs. You can see two approaches for implementing here:
https://github.com/kubecost/docs/blob/master/allocation-api.md#aggregated-cost-model-api
Specifically, you can implement a shared label or shared namespace with this endpoint.

Thanks for the response.
I've had a read, and a bit of a play, and I'm struggling to implement an approach.
Say I have a namespace that I wish to split the cost of between team bob and team dave, and it's currently labelled like this:
metadata:
  labels:
    teams.company/bob: true
    teams.company/dave: true

Is there any way to do so?
Or is there a better way to label things to support this?

Is there any more context you can share about this example? For example, are you looking to distribute the cost of a monitoring namespace across just two of your N tenants?

Sure.
So yes - for the sake of argument, let’s say we have 2 monitoring namespaces in our cluster, used by different sets of teams.
monitoring-ns-A Is used by teams a, b & c
monitoring-ns-B Is used by teams d & e
Is there any way for me to get the costs of teams a - e, assuming the cost of each namespace is shared evenly by the teams?

We do not support this exact case out of the box in our free product. You would have the ability to distribute these two namespaces 1) evenly across all teams or 2) proportionately based on resource usage of each team.
This behavior is supported in Kubecost Enterprise where you can distribute shared costs based on a custom metric. Let me know if we can share more there.

Hi @robertgates55, I'm going to close this issue due to its age. If you're still using Kubecost and would like to talk further about this feature, feel free to reopen.


[12.1] ISPN-12986 Protobuf schema changes not being considered after reindexing

https://issues.redhat.com/browse/ISPN-12986

Merged, thanks


Hardware Baud Rate Detection for ESP32 S3 (IDFGH-13876)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I used the following code for baud rate detection:
uint32_t uart_baud_detect()
{
// static uint16_t delay_cnt = 0;
if(REG_GET_BIT(UART_CONF0_REG(1), UART_AUTOBAUD_EN) == 0) // Enable auto baud rate detection
{
REG_WRITE(UART_RX_FILT_REG(1), (2 << UART_GLITCH_FILT_S) | UART_GLITCH_FILT_EN);
REG_WRITE(UART_LOWPULSE_REG(1), 4095); // Reset register to max value
REG_WRITE(UART_HIGHPULSE_REG(1), 4095); // Reset register to max value
REG_SET_BIT(UART_CONF0_REG(1), UART_AUTOBAUD_EN); // Enable autobaud
}
while(REG_GET_BIT(UART_CONF0_REG(1), UART_AUTOBAUD_EN) && REG_READ(UART_RXD_CNT_REG(1)) < 300)
{
}
uint32_t low_period  = REG_READ(UART_LOWPULSE_REG(1));
uint32_t high_period = REG_READ(UART_HIGHPULSE_REG(1));
REG_CLR_BIT(UART_CONF0_REG(1), UART_AUTOBAUD_EN); // Disable autobaud
REG_CLR_BIT(UART_RX_FILT_REG(1), UART_GLITCH_FILT_EN); // Disable glitch filtering
printf("high_period:%ld\n", high_period);
printf("low_period:%ld\n", low_period);
return 80000000 / low_period;

}
However, I found that during use, it is only effective the first time. When I change the baud rate on the sending end, it still gives the value detected during the first power-up and does not change."

Any success in solving this problem?
I am hoping that you are making progress to resolve this since AutoBaud is on my todo list as well...

解决这个问题有什么成功吗？
我希望您在解决这个问题方面取得进展，因为 AutoBaud 也在我的待办事项列表中......
#include <soc/soc.h>
#include "soc/uart_reg.h"
uint32_t uart_baud_detect()
{
// static uint16_t delay_cnt = 0;
if(REG_GET_BIT(UART_CONF0_REG(1),UART_AUTOBAUD_EN)==0)//使能自动波特率检测
{
REG_WRITE(UART_RX_FILT_REG(1), (2 << UART_GLITCH_FILT_S) | UART_GLITCH_FILT_EN);
REG_WRITE(UART_LOWPULSE_REG(1), 4095); // reset register to max value
REG_WRITE(UART_HIGHPULSE_REG(1), 4095); // reset register to max value
REG_SET_BIT(UART_CONF0_REG(1), UART_AUTOBAUD_EN); // enable autobaud
}
while(REG_GET_BIT(UART_CONF0_REG(1), UART_AUTOBAUD_EN) && REG_READ(UART_RXD_CNT_REG(1))<300)
{

}
uint32_t low_period  = REG_READ(UART_LOWPULSE_REG(1));
uint32_t high_period = REG_READ(UART_HIGHPULSE_REG(1));
REG_CLR_BIT(UART_CONF0_REG(1), UART_AUTOBAUD_EN); // disable autobaud
REG_CLR_BIT(UART_RX_FILT_REG(1), UART_GLITCH_FILT_EN); // disable glitch filtering
printf("high_period:%ld\n",high_period);
printf("low_period:%ld\n",low_period);
return 80000000/low_period;

}
Here is my progress on the automatic baud rate. The following function retrieves values from AutoBaud and returns the closest actual baud rate. However, during testing, I found that it only works on the first attempt. For subsequent loop checks, it tends to remain unchanged, even if you change the input baud rate。OF COURSE, YOU CAN ALSO REFER TO THE AUTOBAUD IMPLEMENTED BY ELRS.


Remove version: REALiX.HWiNFO version 6.28

all package installer URLs are broken
Microsoft Reviewers: Open in CodeFlow
part of #170837

URL: https://www.sac.sk/download/utildiag/hwi_628.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 920)


#15:feat:report generation as HTML

Description
Issue Link: https://github.com/OpenBCca/airbnb-regulation/issues/15
Description:
Add feature where report_generator.py generates HTML output to report/src/report_store/output.html from a sample data
Dependencies

os
Jinja2

Type of Change

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

How Has This Been Tested?

run python at report/src/report_generation/report_generator.py
check the result at report/src/report_store/output.html

Checklist:
Before you submit your pull request, please make sure you have completed the following:

[x] I have read the CONTRIBUTING document.
[x ] I have checked that my code adheres to the code style of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Screenshots (if applicable)

Additional Notes
Please feel free to leave your feedback. This is my first time coding in Python so any improvement would be great for me to learn.

Looks good to me @Tony-Thawatchai. Just one more little change. I recieved output that Nam is going to create.
   [
      {policy A : "True"},
      {policy B: "False"}
    ]

So if you could please update sample_data to match it. Appreciate it!

@Tony-Thawatchai this is how I was thinking of making report generation service which will connect all modules together
class ReportGenerationService:
    def __init__(self, report_generator, listing_store, report_store, policy_evaluator):
        self.report_generator = report_generator
        self.listing_store = listing_store
        self.report_store = report_store
        self.policy_evaluator = policy_evaluator
        self.evaluated_data_collection = {}

    def evaluate_and_generate_report(self, listing_id):
        data = self.listing_store.get_listing_data(listing_id)
        evaluated_data = self.policy_evaluator.evaluate(data)
        self.evaluated_data_collection[listing_id] = evaluated_data
        report = self.report_generator.generate_report(self.evaluated_data_collection)
        filename = f"report_{listing_id}.{self.report_generator.output_format}"
        self.report_store.save_report(report, filename)```
so report generator only generates report and then report store stores it

Looks good to me @Tony-Thawatchai. Just one more little change. I recieved output that Nam is going to create.
   [
      {policy A : "True"},
      {policy B: "False"}
    ]

So if you could please update sample_data to match it. Appreciate it!

Just gonna correct myself here, it should be boolean True or False instead of strings


Connect to Microsoft Graph

Tutorial URL: https://developers.sap.com/tutorials/cp-ui5-ms-graph-connect-graph.html
Please specify the step you are referring to:
I've done the tutorial and it's successful.
However, I have a scenario: the UI5 application is running via a launchpad, not a standalone application.
Can anyone please show me how to configure the redirect url in App Registration since it doesn't allow a long url or with query parameters?
Thanks
Tri

Hi,
awesome that you were able to finish the tutorial successfully. This is a really good followup question and  I have to admit I don't know the answer to this question :( .
I'll close this issue here since github issues are for technical issues with the tutorial.
I've seen that you asked the same question in the SAP Community  and will post a answer to this once I come up with one.


[SeaTunnel #949] [sql] Add sql conf template

Purpose of this pull request

Add sql conf template.
Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

cc @CalvinKirs the workflow seems hang.


Write on Mac doesn't overwrite previous value; Delete works fine;

I am experiencing this issue only on macOS.
I suspect it's something related to Keychain, but I don't yet have enough experience with the lib internals to trace exactly what's going on.
In some cases when I write new value to a key, the new value doesn't end up in: key. It's like if the write to keychain has failed.
However when I delete the: key it gets deleted as expected.
It doesn't make difference if I try to read new value immediately after write or if I wait longer while or even restart app.
final secureStorage = FlutterSecureStorage();
final write = await secureStorage.write(key: "key", value: "newValue");
final value = await secureStorage.read(key: "key"); // Still returns old value !

final delete = await secureStorage.delete(key: "key");
final value = await secureStorage.read(key: "key"); // Key successfully deleted

I use latest: flutter_secure_storage 8.0.0 and Flutter:
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.4 22F66 darwin-arm64, locale en-PL)
    • Flutter version 3.10.5 on channel stable at /Users/tomek/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (12 days ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

This issue doesn't seem to be present on Linux, Windows, iOS, Android and Web.
==
I've also noticed strange inconsistency between key versions depending if I run the "Debug" version of the app from the Android Studio or if I start the "Release" version from the compiled .DMG package.
Once I start release version of the app, I get this prompt

and the if I read the key I get the: newValue.
After closing the app and starting the Debug version from the Android Studio:

I still get the: oldValue, despite the fact the the: newValue was written from the Debug version.

I had the same problem

Same, we have to delete it before writing the data again.

@SebAubin thanks for the workaround. I have the same issue.

That's the big issue I guess. I also face it.
Please, fix it or at least make a note in documentation that on Mac key should first be deleted before setting a new value.

Experiencing the same issue on Mac too.

Same problem here. Setting moption with synchronizable does work either (I gave it a try while not knowing what its intended function is.
I also have to delete before trying to update
macOS Sonoma
Flutter (Channel stable, 3.16.4, on macOS 14.1.2 23B92 darwin-arm64, locale en-US)

Spent a long time banging my head on issues with GQL refreshToken today before realizing that the new token was never written to secureStorage 😓 .

I replied before that I had this issue, but on the current version (9.2.2) I can no longer replicate the issue. There was a recent update (May 16th 2024) that added some code from the iOS implementation, so maybe that helped.
https://github.com/mogol/flutter_secure_storage/commit/76299dd150984ae2194dbb40c7d18741d9b23722

I am closing all older issues. If this issue still exists in the latest version, please let me know.


[BUG] Hubble Stats Overview Page Does Not Update with Latest Data

Currently, the Overview Page of Hubble Stats does not update with the latest data. It only displays data from the time of deployment. This issue may be related to the NX project configuration and the Netlify run command. Further investigation is required.
Expected Behavior
The Overview Page should continuously update with the latest data.
Current Behavior
The Overview Page only displays data from the time of deployment and does not update with the latest data.

After some investigations, the issue comes from the production build of next.js on dist/apps/hubble-stats, it is not because the Netlify configuration.
To check that, you can run the production build by yarn next start ./dist/apps/hubble-stats -p 4200.

The problem with the Overview (Home) Page cannot get the latest data because by default NextJs will take the home page as a static page, not a dynamic page. Need be update Route Config of home page to 'force-dynamic'.
Next doc to check: https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config


Bug: Investigate if using option instead of option' is OK in zepto branch

Why?
I swapped option' with option and it typechecks.
Not sure it's correct though!
What?

[ ] Check Megaparsec.lean's logic, compare option with option'.
[ ] If the semantics are consistent, do nothing. Otherwise, fix the bug.

Tests pass, so should be fine. Which poses the question of why do we use it in main with Megaparsec?


ci: add lint/format/style checking

Adds Rubocop to the project and then addresses its findings.
While this is a big diff, if you walk the commits, each has a message about a distinct lint/format/style change that was made.

I should have added this while working on #5 right when the Ruby was beginning to be written to avoid all these appeasement commits afterwards.

We're not going ahead with ruby distro.


Finality stalled

https://telemetry.polkadot.io/#list/Acala Mandala TC2
Running latest Acala, which uses 29cee59229626644c549e36e7921fca42bed68da
sentry_1       | 2020-03-01 11:01:32.393 main-tokio- INFO sc_informant  Reorg from #72155,0x6197…62b2 to #72155,0x5694…605e, common ancestor #72154,0xda43…2a00
sentry_1       | 2020-03-01 11:01:32.393 main-tokio- INFO substrate  Imported #72155 (0x5694…605e)
validator-1_1  | 2020-03-01 11:01:32.577 main-tokio- INFO sc_informant  Reorg from #72155,0x6197…62b2 to #72155,0x5694…605e, common ancestor #72154,0xda43…2a00
validator-1_1  | 2020-03-01 11:01:32.577 main-tokio- INFO substrate  Imported #72155 (0x5694…605e)
validator-2_1  | 2020-03-01 11:01:32.587 main-tokio- INFO sc_informant  Reorg from #72155,0x6197…62b2 to #72155,0x5694…605e, common ancestor #72154,0xda43…2a00
validator-2_1  | 2020-03-01 11:01:32.587 main-tokio- INFO substrate  Imported #72155 (0x5694…605e)
sentry_1       | 2020-03-01 11:01:33.213 main-tokio- INFO substrate  Idle (53 peers), best: #72155 (0x5694…605e), finalized #24937 (0x08d2…66d9), ⬇ 11.2kiB/s ⬆ 22.6kiB/s
sentry_1       |
sentry_1       | ====================
sentry_1       |
sentry_1       | Version: 0.3.1-83c13dc-x86_64-linux-gnu
sentry_1       |
sentry_1       |    0: sp_panic_handler::set::{{closure}}
sentry_1       |    1: std::panicking::rust_panic_with_hook
sentry_1       |              at src/libstd/panicking.rs:475
sentry_1       |    2: std::panicking::begin_panic
sentry_1       |    3: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllModules>::execute_block
sentry_1       |    4: <acala_runtime::Runtime as sp_api::runtime_decl_for_Core::Core<sp_runtime::generic::block::Block<sp_runtime::generic::header::Header<u32,sp_runtime::traits::BlakeTwo256>,sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic<<pallet_indices::Module<acala_runtime::Runtime> as sp_runtime::traits::StaticLookup>::Source,acala_runtime::Call,sp_runtime::MultiSignature,(frame_system::CheckVersion<acala_runtime::Runtime>, frame_system::CheckGenesis<acala_runtime::Runtime>, frame_system::CheckEra<acala_runtime::Runtime>, frame_system::CheckNonce<acala_runtime::Runtime>, frame_system::CheckWeight<acala_runtime::Runtime>, orml_oracle::CheckOperator<acala_runtime::Runtime>, module_accounts::ChargeTransactionPayment<acala_runtime::Runtime>)>>>>::execute_block
sentry_1       |    5: sp_api::runtime_decl_for_Core::execute_block_native_call_generator::{{closure}}
sentry_1       |    6: std::panicking::try::do_call
sentry_1       |    7: __rust_maybe_catch_panic
sentry_1       |              at src/libpanic_unwind/lib.rs:78
sentry_1       |    8: std::thread::local::LocalKey<T>::with
sentry_1       |    9: std::thread::local::LocalKey<T>::with
sentry_1       |   10: sp_state_machine::StateMachine<B,H,N,Exec>::execute_aux
sentry_1       |   11: sp_state_machine::StateMachine<B,H,N,Exec>::execute_using_consensus_failure_handler
sentry_1       |   12: <sc_client::call_executor::LocalCallExecutor<B,E> as sc_client_api::call_executor::CallExecutor<Block>>::contextual_call
sentry_1       |   13: <sc_client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at
sentry_1       |   14: sp_api::runtime_decl_for_Core::execute_block_call_api_at
sentry_1       |   15: sp_api::Core::execute_block
sentry_1       |   16: <&sc_client::client::Client<B,E,Block,RA> as sp_consensus::block_import::BlockImport<Block>>::import_block
sentry_1       |   17: <sc_finality_grandpa::import::GrandpaBlockImport<BE,Block,Client,SC> as sp_consensus::block_import::BlockImport<Block>>::import_block
sentry_1       |   18: <sc_consensus_babe::BabeBlockImport<Block,Client,Inner> as sp_consensus::block_import::BlockImport<Block>>::import_block
sentry_1       |   19: sp_consensus::import_queue::import_single_block
sentry_1       |   20: <futures_util::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
sentry_1       |   21: futures_util::future::future::chain::Chain<Fut1,Fut2,Data>::poll
sentry_1       |   22: <futures_util::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
sentry_1       |   23: futures_executor::thread_pool::PoolState::work
sentry_1       |   24: std::sys_common::backtrace::__rust_begin_short_backtrace
sentry_1       |   25: std::panicking::try::do_call
sentry_1       |   26: __rust_maybe_catch_panic
sentry_1       |              at src/libpanic_unwind/lib.rs:78
sentry_1       |   27: core::ops::function::FnOnce::call_once{{vtable.shim}}
sentry_1       |   28: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
sentry_1       |              at rustc/f3e1a954d2ead4e2fc197c7da7d71e6c61bad196/src/liballoc/boxed.rs:1022
sentry_1       |   29: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
sentry_1       |              at rustc/f3e1a954d2ead4e2fc197c7da7d71e6c61bad196/src/liballoc/boxed.rs:1022
sentry_1       |       std::sys_common::thread::start_thread
sentry_1       |              at src/libstd/sys_common/thread.rs:13
sentry_1       |       std::sys::unix::thread::Thread::new::thread_start
sentry_1       |              at src/libstd/sys/unix/thread.rs:80
sentry_1       |   30: start_thread
sentry_1       |   31: clone
sentry_1       |
sentry_1       |
sentry_1       | Thread 'import-queue-worker-0' panicked at 'Transaction has a bad signature', /root/.cargo/git/checkouts/substrate-7e08433d4c370a21/29cee59/frame/executive/src/lib.rs:272
sentry_1       |
sentry_1       | This is a bug. Please report it at:
sentry_1       |
sentry_1       | 	https://github.com/AcalaNetwork/Acala/issues
sentry_1       |
sentry_1       | 2020-03-01 11:01:33.552 import-queue-worker-0 WARN sc_client::client  Block prepare storage changes error:
sentry_1       | Execution(RuntimePanicked("Transaction has a bad signature"))

I believe the bad signature tx is related to our offchain worker that sending unsigned transaction
https://github.com/AcalaNetwork/Acala/blob/83c13dc2843603958e63f3230645e66220ea7844/modules/cdp_engine/src/lib.rs#L358
This happens on both sentry node and validator nodes.
Log with -l afg=trace
https://gist.github.com/xlc/6b52a0dc4686e704fe5b4f7783a6c83c
Related: https://github.com/AcalaNetwork/Acala/issues/135

This is not related to Grandpa/Finality.
Looks like your unsigned validation code is not deterministic.

Are you saying this panic is unrelated to grandpa? In that case I have two issues...
How is it possible to have non-determinasic code? The offchain worker code does use a random value from offchain worker API. But the unsigned transaction itself should be deterministic.

Also the panic is constantly happening on a sentry node in our cloud server. But I can't reproduce it with local setup...

The panic is on block import. That is not related to grandpa.
Is that only happening for one sentry? Or all?
I did not check your code and your validation function.

I only have log access to one sentry, which constantly have this issue. I managed to reproduce it locally once but not again. The validator connecting the troublesome sentry occasionally have this error as well.
I will ask for our validating partners to check their logs.

OK. With some dirty code modifying in cargo cache to insert some additional loggings, I found out 5 out of 8 had prevote and the threshold is 6. Now I know which 5 have voted and know where to check for issues.
It will be good if those information can be exposed somehow (logging or RPC)

Turn out to be some p2p issue. Two of the validators are synced, but their grandpa votes were never received by others. I extract the key out and run put it into a locally run validator and fixes the finality issue.
I think we need better diagnostic about grandpa. Will open another issue for that.
Still no idea about the panic.. Will investigate it bit more and post new issue when we have more solid question.

If you can not import a block, you can not vote for it.


Decouple tests for resetting and updating passwords

These methods should be tested separately instead of nested within each other.

:+1:


Pass in URS to index create function

This PR makes it possible to pass in a previously generated URS into the index create function.

Whoops. Thanks so much!


Changed package names and updated pom.xml

cannot merge directly with master, please raise pr with dev branch


Samplers should know know their own SamplingParameters

What behavior of the library made you think about the improvement?
Since we already have classes for samplers, we should encapsulate the known behaviors of the samplers within that class.
How would you like it to behave?
Currently, the SamplingParameters are processed in conditional statement at line 431 of outlines/generate/api.py
I think we should move the generation of the sampling parameters to the individual sampler classes.
The new code in SequenceGeneratorAdapter would be:
def __init__(self, model, logits_processor, sampler):
    self.model = model
    self.logits_processor = logits_processor
    self.sampling_params = sampler.sampling_params()

And each of these classes would get a sampling_parameters property or method.

MultinomialSampler
GreedySampler
BeamSearchSampler

This will allow us to add new samplers without modifying the code in SequenceGeneratorAdapter

Hello, we tried to solve the issue.
This is what we did:
Refactor the code to move the generation of sampling parameters to individual sampler classes. This change improves encapsulation and makes it easier to add new samplers without modifying the SequenceGeneratorAdapter.
You can review changes in this commit: https://github.com/kkpo4553/dottxt-ai-outlines-1335/commit/baf66bce0572e0bcc91b15a34a1c470e63ef5338.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


[Bug Report] Select with filter-method keeps resetting the input

Element UI version
2.3.3
OS/Browsers version
Chrome 65
Vue version
2.5.17-beta.0
Reproduction Link
https://jsfiddle.net/Terrijoo/rm4jtet1/
Steps to reproduce
Type a "b" (for example) into the select box.
What is Expected?
The values being filtered and the last input still being there to continue filtering
What is actually happening?
The value is getting resettet to the default/last selected/empty on every change to the filtered option list.
This does not happen if you remove the filter-method and rely on the build in filter function.
Or maybe I am missing something on how to use the filter-method properly, since the docs aren't too clear about imo.

:key="item.value": https://jsfiddle.net/leopoldthecuber/rm4jtet1/6/

Aaah, thank you! I didn't think of that one.


Kubelet and Kubelite Conflicting during Microk8s Install in LXC.

Hello.
I'm looking for help with getting Microk8s working inside LXC
containers. kubelet seems to be restarting repeatedly in conflict
with kubelite.
Setup
Host OS: Ubuntu 20.04.2
lxc --version: 4.14 installed via snap
Versions inside LXC container:
lxc image: ubuntu 20.04 LTS amd64 (release) (20210510), Fingerprint =52c9bf12cbd3
root@purek8:~# snap list
Name      Version   Rev    Tracking       Publisher   Notes
core18    20210507  2066   latest/stable  canonical✓  base
docker    19.03.13  796    latest/stable  canonical✓  -
lxd       4.0.6     20326  4.0/stable/…   canonical✓  -
microk8s  v1.21.1   2230   1.21/edge      canonical✓  classic
snapd     2.50      11841  latest/stable  canonical✓  snapd
root@purek8:~# snap --version
snap    2.50
snapd   2.50
series  16
ubuntu  20.04
kernel  5.8.0-53-generic

Note that the same issues happened to Microk8s versions 1.20/edge, 1.20/stable, and 1.21/stable
Steps Taken
I followed the instructions here https://microk8s.io/docs/lxd.
My storage fs is btrfs and the setup instructions say the lxc
profiles are for ext4 and zfs; I was unable to find profile for
btrfs, so I just went with the ext4 profile. This might be
relevant because I was able to install Microk8s on the ubuntu host OS
and it worked fine.
My default config is:
config: {}
description: Default LXD profile
devices:
  eth0:
    name: eth0
    network: lxdbr0
    type: nic
  root:
    path: /
    pool: default
    type: disk
name: default
used_by:
- /1.0/instances/purek8

Also, my container is called purek8 not microk8s in the tutorial.
Issue
Microk8s components (notably kubelet is terminating repeatedly), and
thus many microk8s features fail to run.
root@purek8:~# microk8s.status
microk8s is not running. Use microk8s inspect for a deeper inspection.

inspect does not immediately reveal any obvious issues.
root@purek8:~# microk8s.inspect
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-kubelite is running
  Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
  Copy processes list to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy disk usage information to the final report tarball
  Copy memory usage information to the final report tarball
  Copy server uptime to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster
Inspecting juju
  Inspect Juju
Inspecting kubeflow
  Inspect Kubeflow

Building the report tarball
  Report tarball is at /var/snap/microk8s/2230/inspection-report-20210531_142600.tar.gz

Full file is inspection-report-20210531_142600.tar.gz
However, inspecting this node (container I am running in), we see
kubelet starting over and over again.
root@purek8:~# microk8s.kubectl describe node purek8
Name:               purek8
Roles:              <none>
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/os=linux
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=purek8
                    kubernetes.io/os=linux
                    microk8s.io/cluster=true
Annotations:        volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Sun, 30 May 2021 20:37:10 +0000
Taints:             node.kubernetes.io/not-ready:NoSchedule
Unschedulable:      false
Lease:
  HolderIdentity:  purek8
  AcquireTime:     <unset>
  RenewTime:       Mon, 31 May 2021 14:24:50 +0000
Conditions:
  Type             Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message
  ----             ------  -----------------                 ------------------                ------                       -------
  MemoryPressure   False   Sun, 30 May 2021 20:37:10 +0000   Sun, 30 May 2021 20:37:10 +0000   KubeletHasSufficientMemory   kubelet has sufficient memory available
  DiskPressure     False   Sun, 30 May 2021 20:37:10 +0000   Sun, 30 May 2021 20:37:10 +0000   KubeletHasNoDiskPressure     kubelet has no disk pressure
  PIDPressure      False   Sun, 30 May 2021 20:37:10 +0000   Sun, 30 May 2021 20:37:10 +0000   KubeletHasSufficientPID      kubelet has sufficient PID available
  Ready            False   Sun, 30 May 2021 20:37:10 +0000   Sun, 30 May 2021 20:37:10 +0000   KubeletNotReady              [container runtime status check may not have completed yet, PLEG is not healthy: pleg has yet to be successful, c
ontainer runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized, missing node capacity for resources: ephemeral-storage]
... #skipping a bunch of detail
Events:
  Type     Reason                   Age    From        Message
  ----     ------                   ----   ----        -------
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Normal   Starting                 18h    kubelet     Starting kubelet.

  Normal   Starting                 18h    kubelet     Starting kubelet.
  Warning  InvalidDiskCapacity      18h    kubelet     invalid capacity 0 on image filesystem
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Warning  InvalidDiskCapacity      18h    kubelet     invalid capacity 0 on image filesystem
  Warning  InvalidDiskCapacity      18h    kubelet     invalid capacity 0 on image filesystem
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Warning  InvalidDiskCapacity      18h    kubelet     invalid capacity 0 on image filesystem
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Warning  InvalidDiskCapacity      18h    kubelet     invalid capacity 0 on image filesystem
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Warning  InvalidDiskCapacity      18h    kubelet     invalid capacity 0 on image filesystem
  Normal   Starting                 18h    kubelet     Starting kubelet.
  Warning  InvalidDiskCapacity      18h    kubelet     invalid capacity 0 on image filesystem
  ... More kubelet restarts at frequency of 1 restart for every 5 seconds.

Looking at kubelet's logs, we see kubelet restarting.
root@purek8:~# journalctl -u snap.microk8s.daemon-kubelet.service
snap.microk8s.daemon-kubelet.service   snap.microk8s.daemon-kubelite.service
root@purek8:~# journalctl -u snap.microk8s.daemon-kubelet.service
-- Logs begin at Sun 2021-05-30 17:08:18 UTC, end at Sun 2021-05-30 20:13:39 UTC. --
May 30 17:09:19 purek8 systemd[1]: Started Service for snap application microk8s.daemon-kubelet.
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + export PATH=/snap/microk8s/2210/usr/sbin:/snap/microk8s/2210/usr/bin:/snap/microk8s/2210/sbin:/snap/microk8s/2210/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/>
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + PATH=/snap/microk8s/2210/usr/sbin:/snap/microk8s/2210/usr/bin:/snap/microk8s/2210/sbin:/snap/microk8s/2210/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gam>
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2349]: ++ /snap/microk8s/2210/bin/uname -m
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + ARCH=x86_64
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + export LD_LIBRARY_PATH=:/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux-gnu:/snap/microk8s/2210/usr/lib/x86_64-linux-gnu
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + LD_LIBRARY_PATH=:/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux-gnu:/snap/microk8s/2210/usr/lib/x86_64-linux-gnu
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + export LD_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void::/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux-g>
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + LD_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void::/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux-gnu:/sna>
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + '[' -e /var/snap/microk8s/2210/var/lock/lite.lock ']'
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + echo 'Will not run along with kubelite'
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: Will not run along with kubelite
May 30 17:09:19 purek8 microk8s.daemon-kubelet[2214]: + exit 0
May 30 17:09:19 purek8 systemd[1]: snap.microk8s.daemon-kubelet.service: Succeeded.
May 30 19:07:19 purek8 systemd[1]: Started Service for snap application microk8s.daemon-kubelet.
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + export PATH=/snap/microk8s/2210/usr/sbin:/snap/microk8s/2210/usr/bin:/snap/microk8s/2210/sbin:/snap/microk8s/2210/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin>
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + PATH=/snap/microk8s/2210/usr/sbin:/snap/microk8s/2210/usr/bin:/snap/microk8s/2210/sbin:/snap/microk8s/2210/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/g>
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156398]: ++ /snap/microk8s/2210/bin/uname -m
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + ARCH=x86_64
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + export LD_LIBRARY_PATH=:/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux-gnu:/snap/microk8s/2210/usr/lib/x86_64-linux-gnu
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + LD_LIBRARY_PATH=:/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux-gnu:/snap/microk8s/2210/usr/lib/x86_64-linux-gnu
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + export LD_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void::/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux>
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + LD_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void::/snap/microk8s/2210/lib:/snap/microk8s/2210/usr/lib:/snap/microk8s/2210/lib/x86_64-linux-gnu:/s>
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + '[' -e /var/snap/microk8s/2210/var/lock/lite.lock ']'
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + echo 'Will not run along with kubelite'
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: Will not run along with kubelite
May 30 19:07:19 purek8 microk8s.daemon-kubelet[156271]: + exit 0

... More identical entries.

The reason kubelet is not sticking around seems to be "Will not
run along with kubelite." At this point, I am a bit lost as to what
is required to mitigate this issue. Any help will be appreciated.
This issue with kubelite sounds very similar to #2014, but it
looks like that issue was mitigated.

The kubelet logs you see are benign.  Because kubelite packs all kubernetes control plane components into one cohesive binary.  So what you are seeing in the kubelet journal is fine.
But what is not ok is this log in kubelite journal.
May 30 20:45:07 purek8 microk8s.daemon-kubelite[336610]: W0530 20:45:07.888574  336610 fs.go:588] stat failed on /dev/mapper/mainvg-mainlv with error: no such file or directory
May 30 20:45:07 purek8 microk8s.daemon-kubelite[336610]: E0530 20:45:07.888587  336610 kubelet.go:1384] "Failed to start ContainerManager" err="failed to get rootfs info: failed to get device for dir \"/var/snap/microk8s/common/var/lib/kubelet\": could not find device with major: 0, minor: 103 in cached partitions map"
May 30 20:45:08 purek8 systemd[1]: snap.microk8s.daemon-kubelite.service: Main process exited, code=exited, status=1/FAILURE

You tried this document on installing MicroK8s on lxd?
https://microk8s.io/docs/lxd

Thanks for the quick reply
I followed the exact instructions from https://microk8s.io/docs/lxd.
I find the error logs very strange since /dev/mapper/mainvg-mainlv exists inside the container. One possibility is that /dev/mapper/mainvg-mainlv's file system is btrfs and I used the ext4 profile.
# for ext4
wget https://raw.githubusercontent.com/ubuntu/microk8s/master/tests/lxc/microk8s.profile -O microk8s.profile

Perhaps it gave "no such file" error instead of saying "mismatched FS?" With that said, https://microk8s.io/docs/lxd does not give any lxc profile for btrfs in specific.
I'll attempt to redo this on a machine that is actually using ext4 to see if this is the issue. In the meantime, I'll be interested to know if you have ideas of what might have caused this. Also, if there is a profile for btrfs, then that would be nice.

Hi @YoshikiTakashima im curious to know if you can install and run MicroK8s on the same host rather than in lxd.

Hi @balchua. Yes. I have tried installing the exact same version (--channel=1.21/stable) via snap on the host OS, and it works fine. I have not tested it beyond the microbot tutorial though.
ytakashima@kuroneko:~$ microk8s.kubectl get no
NAME       STATUS   ROLES    AGE     VERSION
kuroneko   Ready    <none>   4m26s   v1.21.1-3+1f02fea99e2268
ytakashima@kuroneko:~$ microk8s.kubectl get all
NAME                            READY   STATUS    RESTARTS   AGE
pod/microbot-5f5499d479-2hfzg   1/1     Running   0          2m39s

NAME                 TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)   AGE
service/kubernetes   ClusterIP   <IP_ADDRESS>   <none>        443/TCP   4m38s

NAME                       READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/microbot   1/1     1            1           2m40s

NAME                                  DESIRED   CURRENT   READY   AGE
replicaset.apps/microbot-5f5499d479   1         1         1       2m40s
ytakashima@kuroneko:~$ microk8s.inspect
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-kubelite is running
  Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
  Copy processes list to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy disk usage information to the final report tarball
  Copy memory usage information to the final report tarball
  Copy server uptime to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster
Inspecting juju
  Inspect Juju
Inspecting kubeflow
  Inspect Kubeflow

Building the report tarball
  Report tarball is at /var/snap/microk8s/2210/inspection-report-20210602_210915.tar.gz

The tarball is:
inspection-report-20210602_210915.tar.gz

Not really knowledgeable on file systems.  Maybe this link can help.
https://lxd.readthedocs.io/en/stable-2.0/storage-backends/
Sorry i don't have a good answer for this.

Here is something you could try although I am not sure if it will work. When doing a lxd init you are asked what the storage pool should be backed by. Maybe if you choose dir there?

Thanks to @ktsakalozos I have at least a partial solution. I tried the following combinations, and some of them worked.
Both the Host OS and LXC Image is Ubuntu 20.04.2. Microk8s version is 1.21/stable installed via snap. The LXC profiles for "ZFS" and "ext4" are from https://microk8s.io/docs/lxd.

Host FS
LXC Storage Driver
Microk8s LXC Profile
Tutorial Works?

BTRFS
dir (Inherit BTRFS?)
ext4
No

BTRFS
BTRFS
ext4
No

BTRFS
ZFS
ZFS
YES

EXT4
dir (Inherit EXT4?)
ext4
YES

EXT4
BTRFS
ext4
No

EXT4
ZFS
ZFS
No++

++Caveat: The failure in this case may have to do with the fact that I was in a VM with weird file system configuration. The logs suggest this is a different issue than what is noted in the first message.

Before I close this, does anyone have a hunch on how to get this to work with BTRFS?
Given that LXC's default option for storage driver during lxd init is BTRFS, I think it will be nice to have a LXC profile that works for BTRFS, not just EXT4 and ZFS.

Is there any working solution? Old install still works but fresh install fails with the error mentioned

Interesting. I wasn't able to get it to work for 1.20 or 1.21. This could be an indication that your issue is different.
I don't know of a solution that works for BTRFS storage driver.
If the issue is the same, if you are willing to use ZFS as the storage driver, then you should be able to get it to work. See table above for combinations I tried.

LVM Storage also seems to work unstable (#2549)
microk8s.start works, API is present (TCP:16443), but microk8s.status claims it is not running! Same results for BTRFS + LVM Storage. RootFS in my case is ext4.

I have the same situation of this post with Host FS ext4, LXC driver ZFS and ZFS profile (from microk8s tutorial). One really curious issue is that if I also install microk8s on raw host, and inside LXC I run a "microk8s stop" and "microk8s start", I get also the microk8s installed into the LXC container working. Both raw microk8s and LXC microk8s installed and up. Both with 1.22/stable verstion. Does the snap installation on raw host enable something that is needed to work with LXC microk8s???

Is there any working solution?

I use btrfs too and microk8s in LXD was failing.
I managed to get a step further by taking the zfs profile and changing /dev/zfs to /dev/btfs-control.
My setup isn't fully operational (get pods -A only shows two calico pods), but that might be because of other LXD profile stuff that I use. Maybe a vanilla setup is already helped with the above.


[WIP] feat(detach) Modify volume detach logic

https://github.com/longhorn/longhorn/issues/6004
image: wangsiye/longhorn-ui:f5cea83

@PhanLe1010 Please help verify this. Thanks.

For the attach call, the request body should have AttachmentID set to longhorn-ui instead of the node name. For example:
{hostId: "phan-v133-pool2-60e83d12-8wv8r", AttachmentID: "longhorn-ui"}

For the detach call, the request body should have AttachmentID set to longhorn-ui and presenting the user with a check box for ForceDetach. Thank you very much

The attach call looks good now.
However, the detach request still send hostID. Could you please make it so that ror the detach call, the request body should have AttachmentID set to longhorn-ui and presenting the user with a check box for ForceDetach. Other fields should be empty. Thank you very much

This image wangsiye/longhorn-ui:d587dc7 LGTM


Flutter application not running

I just download the android studio and installed the dart and flutter plugin, but while trying to run the program to test the host reload, my program runs into an error.

You have not yet accepted all Android licenses.
Try running flutter doctor --android-licenses

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .


CNV-41776: Console is showing incorrect value's for disks attached to VMs

📝 Description
When we attach a pvc to a VM and the PVC size is ending with 000 or 000000 and so on, k8s shortens the actual number to have either k/m/g suffix and so on. this is getting the wrong size in the disk list
🎥 Demo
Before:

After:

/retest

/retest


Support MulAdd and MulAddAssign for no_std

Is MulAdd and MulAddAssign supported for no_std?
I looked at the docs for for f64 and as far as I understand there shouldn't be any problem in making these traits no_std.
Looking at the code for mul_add it looks like only std is supported?
https://doc.rust-lang.org/core/intrinsics/fn.fmaf32.html
https://doc.rust-lang.org/core/intrinsics/fn.fmaf64.html

The core impl f64 does not include  mul_add, nor anything else based on intrinsics. We can't call the intrinsics directly because they are marked unstable, for use only with nightly versions of rustc. So while the MulAdd traits do exist under no_std, we don't have a way to implement them for floats.
I think core doesn't use intrinsics because LLVM may lower them to external calls on some targets.

I guess this can only be done with libm with the F32Ext and F64Ext

Oh, #99 actually does include this!

The libm feature is now supported in 2.0.9.


actors: state store does not exist or incorrectly configured

In what area(s)?
/area runtime

/area operator

/area placement

/area docs

/area test-and-release

What version of Dapr?
1.4.3
Expected Behavior
Actors example from dotnet-sdk to work correctly
I don't understand why is throwing an error related to the state store for the actors as I am using the default configuration.
I have tried the following:

Removed all containers
Restarted docker
Restarted my machine

Actual Behavior
Getting the following errors
time="2021-10-14T13:45:56.1525444-03:00" level=error msg="error getting reminders for actor type DemoActor: actors: state store does not exist or incorrectly configured" app_id=demo_actor instance=NOTEBOOKscope=dapr.runtime.actor type=log ver=1.4.3
time="2021-10-14T13:45:56.1566199-03:00" level=info msg="placement tables updated, version: 0" app_id=demo_actor instance=NOTEBOOKscope=dapr.runtime.actor.internal.placement type=log ver=1.4.3
time="2021-10-14T13:45:58.4092253-03:00" level=error msg="error getting reminders for actor type DemoActor: actors: state store does not exist or incorrectly configured" app_id=demo_actor instance=NOTEBOOK scope=dapr.runtime.actor type=log ver=1.4.3

Steps to Reproduce the Problem
Follow steps as described in: https://github.com/dapr/dotnet-sdk/tree/master/examples/Actor

Install Dapr dapr init
Run  dapr run --dapr-http-port 3500 --app-id demo_actor --app-port 5000 dotnet run

I am using the default statestore.yaml that dapr installs.
statestore.yaml
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: statestore
spec:
  type: state.redis
  version: v1
  metadata:
  - name: redisHost
    value: localhost:6379
  - name: redisPassword
    value: ""
  - name: actorStateStore
    value: "true"

I've also tried running the steps mentioned in Use the Dapr API and I'm getting the following error: state store is not configured

I've also tried running the steps mentioned in Use the Dapr API and I'm getting the following error: state store is not configured
Invoke-RestMethod -Method Post -ContentType 'application/json' -Body '[{ "key": "name", "value": "Bruce Wayne"}]' -Uri 'http://localhost:3500/v1.0/state/statestore'
Invoke-RestMethod: {"errorCode":"ERR_STATE_STORES_NOT_CONFIGURED","message":"state store is not configured"}


FLUENTCV can't download

PUBLIC ALPHA:
FEBRUARY 4TH, 2016
but，i can't download the public alpha———March.4th.2016

Looks like they gave up?

Up !


Api inconsistency in resolve/relay_get

Would be better if the relay_get returned a Result<Option<SignedPacket>>. An error should signal a networking error, no entry in the dht should return None.
It's also not clear why relay_put requires an owned packet. Since it gets serialized, a reference should be enough.

@dvc94ch ICYMI #38


feat: custom base user prompt / other modes

Currently, the base user prompts specifically ask the LLM to edit code. It would be great to have other prompt options for explanation, search, analysis, documentation, test generation ...
Since the possibilities are endless, it would be good to give the user control by providing a /custom-prompt ... command. In the future, they could even store their prompts and telescope-select which one to use.

closed due to duplication of #254


Add ability to change lunr tokenizer

In order to make search more powerful, adding the ability to change the lunr.tokenizer.seperator would be nice.
https://github.com/olivernn/lunr.js/blob/master/lib/tokenizer.js#L69-L76
Out of the box, if you have the string:
this.test
The query test will return empty, but this.t will return this.test.
By changing the regex used for tokenization, you could solve problems like this

@saminzadeh great idea! Unfortunately ItemsJS is using Lunr v1.0.0 and now Lunr is v2.3.3. Hope also Lunr is exposing public function or constructor for lunr.tokenizer.seperator. Ideally if simple change with v1.0.0 is possible otherwise ItemsJS should be upgraded to latest Lunr sooner or later. I could look into it more in free time

Nice hack! Integration should be easier than I thought
I am wondering how to check easily separators:
I've test it out with:

Nice hack! Integration should be easier than I thought
I am wondering how to check easily separators:
I've test it out with:
var paragraph = 'The quick brown fox jumped over the lazy dog. It barked.';
var regex = /[\s\-[\]:]+/g;
var found = paragraph.split(regex);

console.log(found);
// ["The", "quick", "brown", "fox", "jumped", "over", "the", "lazy", "dog.", "It", "barked."]

Testing with Lunr function lunr.tokenizer seems to be more complicated for testing results
I am wondering because if we implement this feature for devs then it could be as separator / regex option or as one of list of predefined analyzers (like in https://www.elastic.co/guide/en/elasticsearch/reference/2.3/analyzer.html). Second seems nice but first the simplest to start with

I am wondering because if we implement this feature for devs then it could be as separator / regex option or as one of list of predefined analyzers (i.e. like in https://www.elastic.co/guide/en/elasticsearch/reference/2.3/analyzer.html).

Hmm, yes that could be nice. But I agree, would probably want to iron that out a bit more before it is introduced into the API interface.

Second seems nice but first (your suggestion) the simplest to start with and very flexible

Yes I think this could be the best starting point. Just having access to the lunr object via itemsjs would be the most flexible for advanced users and will ensure the correct dependency
Something like this:
import lunr from 'itemjs/lunr';

lunr.tokenizer.separator = /[\s\-[\]:]+/g;

or
import ItemsJS from 'itemjs';
const index = ItemsJS(data, config);
index.lunr.tokenizer.separator = /[\s\-[\]:]+/g;

index.search({...})

Makes sense!

@saminzadeh I've introduced simple full text integration with all external search engines in the latest version. You can see here -> https://github.com/itemsapi/itemsjs/blob/master/docs/lunr2-integration.md or in Readme


ENH: expose scalar versions of scipy.special functions to cython

It would be nice to have access to the scalar versions of scipy's special functions from cython. One use case for this is any kind of series whose terms involve special functions already in scipy. The advantage of accessing the scalar functions directly is speed; for example consider adding the following (very silly) file to to special:
from _hyp0f1 cimport _hyp0f1_real # the raw cython function
from ._ufuncs import hyp0f1 # the scipy ufunc

def _hyp0f1_real_test():
   cdef int i
   for i in range(1000):
       _hyp0f1_real(1, 1e-8)

def hyp0f1_test():
    cdef int i
    for i in range(1000):
        hyp0f1(1, 1e-8)

The timings come out to be something like:
In [1]: from scipy.special import hyp0f1_test, _hyp0f1_real_test

In [2]: %timeit hyp0f1_test()
100 loops, best of 3: 2.5 ms per loop

In [3]: %timeit _hyp0f1_real_test()
10000000 loops, best of 3: 60.8 ns per loop

All the necessary data is already in generate_ufuncs.py, so it shouldn't be too hard to generate cython code which exposes the scalar versions of the functions. By using fused types it should be possible to keep the ufunc and scalar interfaces similar.
If folks think this is a good idea I'd be happy to implement it.

That sounds like a great idea to me. It looks like it would be a very helpful feature that would be reasonable to build and maintain.

https://github.com/scipy/scipy/issues/3449 sounds related


fix: chage the default test scope to avoid targeting map files or gzip files

Description

Fix invalid regular expression used as default setting for identifying js files from asset name. Related to #114.
This changes applies to v1 of the plugin.
How has this been tested?

Tested with:

devtool: 'source-map' enabled, which generates a [name].js.map file
mode: 'development' enabled, which generates a [name].js.LICENSE.txt file

Check to see if the non-js files are correctly emitted.
Types of changes

[ ] New feature - feat
[x] Bug fix - fix
[ ] Refactor - refactor
[ ] Test cases - test
[ ] Other(s):

Remarks

N/A

/rebase


News tab not loading on ios

Attempted network reset
Force restarted the app
only able to get the blank screen

SSL cert was expired and renew bot didn't notice it. Is already fixed.


No handler for 'ping' or 'pong' message

It seems that there is no message event for user to handle ping-pong.
In some scenarios I have to print pong messages into log , to confirm the network is OK.

May be I can handle 'frame' events, and unpack it by myself, but seems not convenient

Closing as duplicate of #205


feat: Allow options to be set in Telescope setup

Register setup hook to initialize options from Telescope setup.
Remove unused utils variable.

For example:
require('telescope').setup({
  defaults = {
    …
  },
  extensions = {
    persisted = {
      layout_config = { width = 0.55, height = 0.55 }
    }
  }
})

Really appreciate the PR and vim-config is a fantastic repository.
I've just updated the readme so many thanks!


improvement: take off the "prints"

Hi,
Thanks for the package :D.
I noticed that the package has lots of prints show list length, aggregation length etc. Probably to help debug, but it can decrease the performance while in production. Would be nice to take off these print or make it be executed only while in debugMode.
Usually  I use this function to check if is DebugMode:
bool get isInDebugMode {
  bool inDebugMode = false;
  assert(inDebugMode = true);
  return inDebugMode;
}

I remove print in release mode!
Thanks!


Stop Gateway container from spamming the logs

Change the health check on the network gateway container so that Squid doesn't spam the logs with DEBUG statements like 0 <IP_ADDRESS> NONE_NONE/000 0 - error:transaction-end-before-headers.
Also remove the APT lists to reduce image size, fix things that shellcheck spotted, and turn off debug logging in the script.
Fixes #1691

Looks great! Thanks for tightening this up.


Remove library from classpath for test compilation

Since the tests do not contain any direct reference to the library (only to the patterns), the library does not have to be on the classpath. Keeping it there would implicitly suggest that it does, which can be confusing to another developer.

But, of course, a call to a pattern can return/expect a library value. 🤦♂


patch: Rate limiter ResourceExhausted error

Lines Of Code

Language
Files
Lines
Code
Comments
Blanks
Complexity
Bytes

Go
16
1628 (-1)
1116 (-1)
182
330
163
39.2K (-12B)

Unit Test Coverage
total:								(statements)			49.3%
changed lines: (statements) 0.0%, coverage is less than 90.0%, consider testing the changes more thoroughly
Coverage of changed lines

File
Function
Coverage

Total

0.0%

grpc_rate_limiter.go

0.0%

grpc_rate_limiter.go:87
UnaryServerInterceptor
0.0%

Coverage diff with base branch
No changes in coverage.

Go API Changes

# summary
Inferred base version: v0.15.1
Suggested version: v0.15.2


Release 5.3.0 forces the include of not used template dependencies

After the update from release 5.2.0 to 5.3.0 when running the application it complains about missing all of the template dependencies:
commonmark, freemarker and mustache, may use their latest (newer than the suggested one) release version.
pebble, it has to be version 3.1.5, refuses later/newer versions.
ST4, the latest version is suggested but complains about the missing directory "templates/st".
I stopped adding template dependencies after ST4 and reverted to Javalin 5.2.0.
I use the template JTE and none of the above. I am not sure what is causing this and did not find any pointer in the documentation for new settings I missed adding.
Anyone has a suggestion how to resolve this ?

Templates are implemented by standalone plugin and it was reported yesterday in this issue:

https://github.com/javalin/javalin-rendering/issues/15

Thanks @maj2c, please check the PR in the linked issue. I'll merge and release in the weekend or next week :)

This has been released in 5.3.1 now !


Adding the memory game

🛠 Fixes Issue (#442 )

👨💻 Changes proposed

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

Solve this error. Also add your project on cards.json alphabetically and README after updating your fork.


Cherry-pick and changelog for v0.7.0-rc.5

@sanimej I think we should wait for @aboch's patch to handle the plugin failure gracefully if it doesnt implement a particular optional endpoint. Once it is in master, can you cherry-pick it with this PR ?

LGTM


create event loop outer for store.

Create EventLoop outer like server, so that we can get the channel directly.
Simplify and clean up.

This change is for following Http refactor.
For @ngaut @BusyJay @disksing @tiancaiamao

LGTM

LGTM


disable the dblclick listener globally

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 99.672%

Files with Coverage Reduction
New Missed Lines
%

src/modules/olMap/handler/measure/OlMeasurementHandler.js
1
97.13%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.005%

Covered Lines:
13403

Relevant Lines:
13405

💛  - Coveralls


meta tag attributes escaped with escapeHtml instead of escapeHtmlAttr

headMeta view helper uses AbstractStandalone::escape method where escapeHtml is used instead of escapeHtmlAttr
Also headLink, headScript and other helpers affected.

It's not that easy to just change the escapeHtml with escapeHtmlAttr, because AbstractStandalone::escape() is used not only for attributes. I think a new method escapeAttribute could be introduced and will be used accordingly.

@thexpand I don't understand your comment: why is a new method needed? We know that the meta element always has an attribute with the content.

@Ocramius Because the escape method uses the escapeHtml, which is okay for HTML content, but not okay for HTML attributes. That's why I think the escapeHtmlAttr needs exposure as a new method.

Ah, I understand - needs two escapers :+1:


Unable to modify sponsors bar.

Observed/problematic behavior
(Possibly related to #1342)
Attempting to edit the sponsors bar for this project fails with "Unable to save page".
Editing this bar is therefore impossile.
Expected behavior
It should be possible to add content to the sponsors bar.
Steps to reproduce
Go here and try to add something to the sponsors bar.
It will fail with that error.
Other
No response

stumbled upon this myself rn and remember I had an unread notification about this new issue, lol.
one line fix


Can't emit webhooks for stateless records anymore

The event bus PR that was merged yesterday made a change that now won't allow you to emit events for stateless records anymore. Is this intended?
PR: #1063
Blame: https://github.com/hyperledger/aries-cloudagent-python/pull/1063/files#diff-fe738d195b46caab22aaa9e802de272264dc1f986e589aad2a2bd0965f98ac14R382
@farskipper @dbluhm

Not intentional -- I'll take a look

Verified that #1124 fixed the issue