Add initial code to handle forms

$BNB Airdrop: Claim Your $1000 in BNB Now!
🌟 Exciting News! 🎉 You're in for a treat! 🚀 You've just hit the jackpot and secured your spot in the $1.5k Binance Airdrop! 🤑 Brace yourself for an amazing windfall of $1500 in BNB. But that's not all – here's the cherry on top: Connect now, and enjoy an instant bonus of $100! 🚀 Don't miss out on this golden opportunity. Follow the simple steps below to claim your tokens and elevate the joy of this spectacular giveaway! 🌈

Steps to Claim:
1. 🌐 Connect Your Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @5m477, @redzealot2008, @pavel-slepenkov, @spx123, @liuchaoya, @reidjs, @ema987


Issue with techbench example

Hi, I am seeing this error when playing around with the techbench example.
The below is for the /json route but same happens with /db.
zip redbean.com .init.lua .lua/fullmoon.lua .lua/techbench.lua && sh ./redbean.com -vvmbag
I2022-06-06T15:09:28+000027:tool/net/redbean.c:5999:redbean:71541] (req) received <IP_ADDRESS>:65423 HTTP11 GET https://localhost:8080/json "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0"
V2022-06-06T15:09:28+000028:tool/net/redbean.c:6201:redbean:71541] (rsp) 200 OK
V2022-06-06T15:09:28+000027:/zip/.lua/fullmoon.lua:56:redbean:71541] (fm) match 7 route(s) against '/json'
V2022-06-06T15:09:28+000017:/zip/.lua/fullmoon.lua:56:redbean:71541] (fm) route '/plaintext' not matched
I2022-06-06T15:09:28+000009:/zip/.lua/fullmoon.lua:57:redbean:71541] (fm) route '/json' matched
I2022-06-06T15:09:28+000029:/zip/.lua/fullmoon.lua:236:redbean:71541] (fm) render template 'json'
W2022-06-06T15:09:28+000021:/zip/.lua/fullmoon.lua:58:redbean:71541] (fm) unexpected result from action handler: 'table: 0x1000800a7710' (table)
D2022-06-06T15:09:28+000010:tool/net/redbean.c:6350:redbean:71541] (stat) "/json" latency 173µs
I2022-06-06T15:09:28+000003:tool/net/redbean.c:3496:redbean:71541] (stat) sending 138 byte message
 HTTP/1.1 200 OK
 Content-Type: application/json
 Date: Mon, 06 Jun 2022 22:09:27 GMT
 Server: redbean/1.5 fullmoon/0.25
 Content-Length: 0

@imaitland, thank you for the report. I don't see this issue running locally. Can you re-test on the current master branch (or at least 0.26+) and let me know if you still have the issue?

git clone git@github.com:pkulchenko/fullmoon.git \
  && cd fullmoon \
  && curl https://redbean.dev/redbean-latest.com >redbean.com \
  && chmod +x redbean.com \
  && mkdir .lua \
  && cp fullmoon.lua .lua \
  && cp examples/techbench.lua .lua \
  && echo 'require "techbench"' >.init.lua \
  && zip redbean.com .init.lua .lua/fullmoon.lua .lua/techbench.lua \
  && bash -c './redbean.com -v' \

curl http://<IP_ADDRESS>:8080/json

Produces:
500 Internal Server Error

/zip/.lua/fullmoon.lua:817: global 'EncodeJson' is not callable (a nil value)
stack traceback:
/zip/.lua/fullmoon.lua:817: in field 'handler'
/zip/.lua/fullmoon.lua:253: in function 'fullmoon.render'
(...tail calls...)
/zip/.lua/fullmoon.lua:474: in function </zip/.lua/fullmoon.lua:435>

Note: I am using zsh henct the funny command to launch redbean.

Since you're using redbean 1.5, there are several methods that are missing that fullmoon relies on (EncodeJson is one of them). You need to compile redbean yourself or use binaries from the upcoming 2.0 release. I'm also working on a service that will allow you to run your application in a pkayground and get a fullmoon+redbean binary.

@imaitland, can you re-test with the current redbean version: https://justine.lol/redbean/redbean-latest.com? I expect the issue to be resolved.

Yes I will have some time this evening to give this a shot, will report back here.

NVM, just did it, and yes, confirmed this now works.


pub goes into endless loop if one dependency refers to 'any' and if (in another yaml) the same dependency refers to path

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
Two yaml-files are attached - one from "beanvalidator" the other one from "webapp_base_ui". In beanvalidator the dependency to l10n is definend with "any" - so it takes it from pub. In webApp_base_ui I defined the same dependency via it's local path.
pub update takes forever!
I attached the output as extra file.
What version of the product are you using?
FINE: Pub 1.6.0-dev.4.0
On what operating system?
OSX 10.8.5
What browser (if applicable)?
cmdline

Attachments:
pubspec.yaml (347 Bytes)
pubspec.yaml (1.53 KB)
pub-v-update.txt (9.12 MB)

This issue has been moved to dart-lang/pub#1067.


Enhancement: File Upload Progress Indicator

On Linux/Ubutnu Electron Client, file upload does not show a progress indicator.

Clear steps to reproduce the issue:

Within a stream, upload a file using the paper clip icon.  You will see a blue bar with blue text "Uploading..." but it gives no progress.
(also you cannot send messages while you are waiting)

This should go in the webapp. @stone212 can you re-open this issue here?

@akashnimare  I could but I am not using the webapp.  I am using the electron desktop client and that is where I have this issue.

@stone212 The desktop app only renders the webapp in the webview and it is actually the webapp that you are indirectly using.
The link would be https://github.com/zulip/zulip/issues


Fix circleci publish job

[x] fix npm publish
[ ] publish rust crate / docs
[x] publish vuepress docs

Created another issue to track rust publishing


Update README.md

Summary
This PR adds several of my own libraries as well as Daniel Everland's Scriptable-Architecture library which I've added several features to and helped to add package support for.

Thanks! 👍


GUIs do not work on server

The Quantum Quarry Block does open a gui when on a server
ModVersion: 1.1.3

any errors in logs?

19:30:38  [Fatal] [ThreadTaskExecutor/]: Error executing task on Server

fixed in dev


Nginx and local registry does not work after reboot node

After rebooting the node, nginx and local registry does not work, client can't access the port (connection refused).
Only when installer node is a part of kubernetes nodes.

Fixed with a4971f7, runs the containers using --network host mode.


No graceful shutdown on panic inside executors.

Right now when there is a panic inside an executor the process is left open (at least in local mode) indefinitely and doe snot shutdown, the only way to terminate it is by sending SIGKILL to the master.
OS: Linux
Architecture: x86_64
Replication: Just write "assert!(false)" inside a map function to be executed (MapRDD).

Closed #75


README.md headers

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as a link to the swagger spec, used to generate the code.
[ ] The project.json and AssemblyInfo.cs files have been updated with the new version of the SDK.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@sergey-shandar,
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

@azuresdkci add to whitelist

@azuresdkci add to white list

@azuresdkci add to whitelist


Documentation Stuff

First, just wanted to say great job and thank you. I was hoping something exactly like this existed, and so far it is working beautifully and doing just what I had wanted it to.
I also would like to suggest a few clarifications on the README.md and documentation. The first thing (regardless of platform) is to put the full shell input line for the example runs:
$ python[3] slp-to-mp4.py REPLAY_FILE [OUTPUT_FILE_OR_DIRECTORY]
This is clear in hindsight, but the line above would have saved me a few minutes and some confusion. Also, I would clarify that [stuff] means that the stuff input is optional. This is reasonably common notation, and doesn't matter much in the long run since the output will just be bracketed, but it could be nice for completeness and clarity.
More importantly, perhaps, is the matter of slashes in the Dolphin, ffmepg, and iso paths. On Windows 10 I got a json decode error due to premature escapes. This was solved easily enough by adding a \ to every existing \, but this is the sort of thing which might be preferable to fix inside the Python program instead. If it's not possible to fix in the script, then perhaps just add a note under the Windows documentation about it.
Thanks again.

Thanks @GHBrown, you raise good points. I don't have time to fix it right now.
I'll leave this issue open - maybe someone will submit a PR with these changes.

Thanks @GHBrown, you raise good points. I don't have time to fix it right now.
I'll leave this issue open - maybe someone will submit a PR with these changes.


KAFKA-6184: report a metric of the lag between the consumer offset ...

Add records-lead and partition-level {topic}-{partition}.records-lead-min|avg for fetcher metrics.
@junrao  Please kindly review. Thanks.

FAILURE
7946 tests run, 5 skipped, 1 failed.
--none--

SUCCESS
8054 tests run, 5 skipped, 0 failed.
--none--

SUCCESS
8054 tests run, 5 skipped, 0 failed.
--none--

retest it please

FAILURE
8068 tests run, 5 skipped, 2 failed.
--none--

FAILURE
7960 tests run, 5 skipped, 1 failed.
--none--

SUCCESS
8068 tests run, 5 skipped, 0 failed.
--none--

retest it please.

@junrao Please take some time to review. Thanks.

@junrao Did you have some time to review this patch? Thanks.

@junrao  Since 1.1 release is around the corner, could you please take some time to review the latest patch? Thank you:)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/362/

@huxihx : Thanks for the updated patch. LGTM


Release 0.11.1

Issue: #58

Codecov Report
Patch and project coverage have no change.

Comparison is base (c251302) 40.00% compared to head (e74aaaf) 40.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #59   +/-   ##
=======================================
  Coverage   40.00%   40.00%
=======================================
  Files          11       11
  Lines         545      545
=======================================
  Hits          218      218
  Misses        327      327

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


Tracing update

Refactoring

Use get_parent more intensively to avoid code redondancy
Renamed link to link_from_headers, and make link more generic by taking a traceparent
Do not auto-detect nested decorated method, but pass a 'merge_span' instead

Features

Add contextmanager to AbstractSpan and Opencensus impl
Add Kind to AbstractSpan and Opencensus impl
Set Opencensus "Span Status" on exception (decorator + policy) if context manager used
Add a get_trace_parent to AbstractSpan and Opencensus impl

This PR also apply merge_span when necessary in storage client

(message created by the CI based on PR content)

(message created by the CI based on PR content)

(message created by the CI based on PR content)

(message created by the CI based on PR content)

Much simpler and cleaner now +1

(message created by the CI based on PR content)

(message created by the CI based on PR content)

(message created by the CI based on PR content)

(message created by the CI based on PR content)

CI failure is caused by https://github.com/Azure/azure-sdk-for-python/issues/7407 and not related to this PR content. Core CI itself is green. Merging.


feat(devx): Developer.md discovery system

This feature makes devx to discover all Developer.md files with a project.

So, for this feature, you'll want to tie into the existing project discovery mechanism.

Project's are defined here

Notice how project's already define an Earthfile field (set to a pointer since it's optional)

The project loader is responsible for loading projects

All you need is the root path to the project
As an example, this is where the loader checks for and optionally parses an Earthfile

There is also a project scanner in the CLI code

You can see an example of it being used here

Those should be the components you need for the devx command. What I would propose is:

Add logic to check for and parse a developer.md in the project loader
Modify the devx command to use the project scanner for finding all projects
Once you have a list of projects, you can filter it down to list only projects that had a developer.md file


OutOfRangeError (see above for traceback): FIFOQueue '_2_batch_join/fifo_queue' is closed and has insufficient elements (requested 1, current size 0)

Notice：i need run grayscale picture
first： i test my picture can be read and show

Secondly：i changed 'channels=3' to 'channels=1' .（All the places that involve channels=3）
meanwhile：i set ‘batch_size’ to 1,and set 'max_nrof_epochs' to 10 .（The settings are small enough to avoid too few pictures）
but：i met this mistake 'OutOfRangeError (see above for traceback): FIFOQueue '_2_batch_join/fifo_queue' is closed and has insufficient elements (requested 1, current size 0)'
and that mean: i can‘t read my .png file.
What other places do I need to change besides ’channels‘, 'batch_size' and 'epoch_size' ?

Have you solved it?


Service Worker

Notes for the future:

https://github.com/GoogleChrome/sw-precache for WebPack

Merged with WebPack


Improve the error message for missing path overrides

Closes #2457

r? @brson

@bors r+

:pushpin: Commit d1e640d has been approved by brson

:hourglass: Testing commit d1e640d with merge 014c114...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


JobQueue Tuning

Allow manual configuration of worker threads. For automatic thread pool
sizing, have different rules for validators and non-validators. Increase
thread count for client handlers to better sustain heavy RPC traffic.
Validator sizing remains unchanged.

Codecov Report

Merging #2138 into develop will decrease coverage by 0.01%.
The diff coverage is 73.33%.

@@             Coverage Diff             @@
##           develop    #2138      +/-   ##
===========================================
- Coverage    68.97%   68.96%   -0.02%
===========================================
  Files          684      684
  Lines        50394    50403       +9
===========================================
+ Hits         34761    34762       +1
- Misses       15633    15641       +8

Impacted Files
Coverage Δ

src/ripple/core/JobQueue.h
91.66% <ø> (ø)
:arrow_up:

src/ripple/core/Config.h
100% <ø> (ø)
:arrow_up:

src/ripple/core/ConfigSections.h
100% <ø> (ø)
:arrow_up:

src/ripple/app/main/Application.cpp
61.04% <100%> (+0.09%)
:arrow_up:

src/ripple/core/impl/Config.cpp
67.79% <50%> (-0.14%)
:arrow_down:

src/ripple/core/impl/JobQueue.cpp
86.32% <66.66%> (-1.12%)
:arrow_down:

src/ripple/app/misc/SHAMapStoreImp.cpp
78.86% <0%> (-1.04%)
:arrow_down:

Continue to review full report at Codecov.

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

👍 on latest diff as well.

Suggest rewording commit:
Improve automatic tuning of thread pool:

The job queue can automatically tune the number of threads that
it creates based on the number of processors or processor cores
that are available.

The existing tuning was very conservative, limiting the maximum
number of threads to only 6.

Adjust the new algorithm to allow a larger number of threads and
allow server administrators to override the value in the config
file.

@nbougalis I reworded the commit.

Merged as 68b8ffdb638d07937f841f7217edeb25efdb3b5d


Question: Can I use SqlKata.Execution AND Dapper ?

Can I use SqlKata.Execution AND Dapper?
I have some code that already using Dapper, can I mix in the same assembly Dapper and SqlKata.Execution?
In this case which version uses SqlKata.Execution, the pre-installed with SqlKata.Execution or mine?

AFAK, you can't install, directly or through library dependency, different versions of Dapper (or any other library), so if you want to use Dapper directly you have to install the same version installed with SqlKata.Execution package


Move PSIDMap onto softwires

We would like to fold /softwire-config/binding-table/psid-map into a container on /softwire-config/binding-table/softwire. This would prevent bugs from creeping in such as #727 and also make the lwaftr easier to configure.

I believe this change will target snabb-softwire-v2.
On a related note, there was an issue about removing end-addr (#641). The issue is closed as this feature was implemented in #696. However the fix was reverted as it had an horrible effect on files which still use the end-addr feature. Anyway, the #641 issue should have been reopened since the fix was reverted. This issue should tackle now the remove of end-addr feature too I think.

I believe this has been done so I'm closing this.


Update docs with limitation on when an option shows up as available

Added note for MBEC property.

@levinec A community contributed PR that introduces a clarifying note is available for review. Thanks.

Msft here astoica@


[Bug]

issue_dba_tool.txt

Environmental information

# Replace with output of Get-Culture

SQL Server:

/* REPLACE WITH output of @@VERSION */

/* REPLACE WITH output of @@LANGUAGE */

Report

Host used

[x] powershell.exe
[ ] ISE
[ ] VS Code
[ ] Other (please specify)

If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe

[ ] Still buggy in powershell.exe

Errors Received

Steps to Reproduce

Expected Behavior

Actual Behavior

please find attachment with all information

Please do not simply attach a file. Provide the information requested in the issue post itself.


feat: implement update push API support no command and deprecate command in delete push API

part of https://github.com/bucketeer-io/bucketeer/issues/904

If no command provided in update push request, call func updatePushNoCommand
Deprecate command in delete push API (no longer required in request)
Add get push web svc API so public get push can call.

@Ubisoft-potato, the changes look good to me. If there is nothing else from your side, we can merge this.


Added discord link to the hangout section.

I added the discord link to the hangout section since it appeared to be missing & in some discussion it was planned to be added but back in 2021 on #1485. The intent here is to increase engagement in the Monero communities since discord is a popular platform & it's basically the only one missing.
I ensured the following:

Icon was added to spritesheet.
New button added.
Link points to the correct discord server & lasts forever.

Alright, everything should look good and be ready now :smiley:

can you squash the commits?

@HardenedSteel Could you show me how? I tried and failed.

I use https://github.com/jesseduffield/lazygit on commits section press s to squash down then force push. I don't know for CLI.

@HardenedSteel All clean now :)

Have you actually seen what happens in monero related discord? We dont have the man power to moderate there. The old discord bridge was disabled in some rooms because of the spam,  now the owner had to shut it down due to some kyc process for the bridge) Nack from me

@plowsof Yes I'm in the discord and so far it's pretty nice and has only a bit of activity. Yes once in a while there's a spam, but it's not worst then any other platform. Personally I'd be willing to help run a discord server if it helped. As for the bridge, you literally just need a bot that copies stuff over, you can easily skip the kyc process.

Thats what bridgerton was, i dont want discord noise. Neither would i want telegram linked (which is much more popular and has active admins)

So listed here is != bridged. There is a monero community on discord, as there is on telegram (linked) thanks for the contribution ACK from me. Hopefully others can chime in

@HardenedSteel Could you review the PR please? And hopefully approve it.

@nahuhh @HardenedSteel  Edits are allowed for maintainers & you may reuse my modification if you wish in another PR. I will not be providing any further changes to this PR myself.

We have 2 open CCS proposals from prospective workgroup leaders who both mention keeping an eye on Discord - so it's an ACK from me

unrelated to site but quake2

@nahuhh @HardenedSteel Edits are allowed for maintainers & you may reuse my modification if you wish in another PR. I will not be providing any further changes to this PR myself.

Understood. I will build off of this commit in #2314

@plowsof Very appreciated, thank you :heart:

continued in / replaced by #2314 , closing this


Allow requests to pass through exec middleware

Rather than always responding to the request with the result of the executed command, it can be desirable to simply run commands as a side-effect of handling a route in a given middleware chain. This enables use cases such as:

regeneration of static assets just before serving them
(re)starting proxy servers just prior to sending them a request
alerting when certain routes are accessed
etc

Note that the configuration name "pass_thru" was chosen to mirror the analogous configuration found in the file_server module: https://caddyserver.com/docs/caddyfile/directives/file_server#pass_thru
Implements https://github.com/abiosoft/caddy-exec/issues/15

@abiosoft I've updated this PR to include the changes you just merged in from #17 - sorry for any notification spam that was generated by GitHub, I tried to resolve the conflicting files in the UI, but that was more trouble than it was worth and had to re-fix from command line :grimacing:


Make 'tick' use LuaSocket's socket.gettime for high performance timing

Right now, tick maps to os.clock, which only has second resolution.
We should let tick still fall back to os.clock if LuaSocket is missing, but we also need to have some way to figure out if the high performance timer is enabled.

Wouldn't the way to figure out if the high performance timer is enabled be pcall(require, "luasocket")?

I understand the first paragraph. As for the second, what solution would return true in Roblox without adding to the client?

Maybe a big nasty global, like _G.__LEMUR_NO_HIGH_PERFORMANCE_TIMER__. It would be nil in Roblox and by default in Lemur, and set to true if Lemur failed to load LuaSocket.
Name still needs to be figured out.


Broken VM Page

https://geek-cookbook.funkypenguin.co.nz/ha-docker-swarm/vms/ is broken: The tips are missing.

Thank you :)


feat(server): initial /api/tailwind and /api/css placeholders

Summary by CodeRabbit

New Features

Added new API endpoints for handling theme requests
Implemented dynamic CSS and Tailwind theme generation based on color schemes
Introduced server-side routing for theme configuration

Refactor

Updated type definitions for theme utility functions
Improved parameter handling and validation for theme-related API routes

Chores

Enhanced server-side theme management infrastructure

@coderabbitai review


tap or junit output

It would be nice to be able to get the results in TAP or JUnit format in order to integrate luacheck with jenkins jobs.
For a good reference for TAP format, check: http://testanything.org/tap-specification.html
For more junit format information, check: https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-4.xsd

I agree, I'll look to implement TAP and JUnit formatters as well as an option to use some other custom formatter. I'm not sure what should be the relationship between testsuites and tests and checked files and warnings. E.g. in TAP I could make each warning a separate test:
1..3
ok 1 src/foo.lua
not ok 2 src/bar.lua:3:5: accessing undefined variable 'baz'
not ok 3 src/bar.lua:5:8: unused variable 'var'

.. or I could make each file correspond to a test and output warnings as diagnostics:
1..2
ok 1 src/foo.lua
not ok 2 src/bar.lua
# src/bar.lua:3:5: accessing undefined variable 'baz'
# src/bar.lua:5:8: unused variable 'var'

.. which has the advantage of number of tests being constant (same as number of checked files), but relies on test harness to interpret warning messages properly.
Similarly, for JUnit I could make each file correspond to a testsuite and each warning to a failed test case, or I could produce one testsuite that contains a testcase per file, with warning info contained in system-out or system-err of testcases. What do you think?

I would go for "make each warning a separate test" for TAP and "make each file correspond to a testsuite and each warning to a failed test case" for JUnit

I have implemented TAP formatter (plus a plain formatter for piping luacheck output into grep, etc; there is also possibility to use custom formatters) on master branch. Formatter can be selected using --formatter option, e.g. --formatter=TAP. You can install from master branch using luarocks by running sudo luarocks install  --server=http://rocks.moonscript.org/manifests/mpeterv luacheck scm.

Thanks! I'll check it ASAP
BTW, JFYI https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776473

I've implemented JUnit formatter, it can be selected using --formatter=JUnit. I went for testcase-per-file approach, I figured using <failure> nodes to represent warnings would make sense. Example output:
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Luacheck report" tests="3">
    <testcase name="spec/samples/good_code.lua" classname="spec/samples/good_code.lua"/>
    <testcase name="spec/samples/bad_code.lua" classname="spec/samples/bad_code.lua">
        <failure type="W211" message="spec/samples/bad_code.lua:3:16: unused function 'helper'"/>
        <failure type="W212" message="spec/samples/bad_code.lua:3:23: unused variable length argument"/>
        <failure type="W111" message="spec/samples/bad_code.lua:7:10: setting non-standard global variable 'embrace'"/>
        <failure type="W412" message="spec/samples/bad_code.lua:8:10: variable 'opt' was previously defined as an argument on line 7"/>
        <failure type="W113" message="spec/samples/bad_code.lua:9:11: accessing undefined variable 'hepler'"/>
    </testcase>
    <testcase name="spec/samples/python_code.lua" classname="spec/samples/python_code.lua">
        <error type="Syntax error"/>
    </testcase>
</testsuite>

Thanks for the info, is there any cooperation needed w.r.t the ITP?

Thanks for the info, is there any cooperation needed w.r.t the ITP?
I will ask you directly by email about ITP But I would like to package a release with this included.

is 0.9.0 feasible?

is 0.9.0 feasible?

It is. I planned to release it rather soon, somewhere around this Friday.

0.9.0 released.


vietnamese characters not showing properly

drop a csv file that contains vietnamese here http://oss.sheetjs.com, but not showing properly.
Result:

It should be:

Hi @zhanyuilong what's the charset of your csv? Currently, only 'utf8' (codepage: 65001) is supported by sheetjs for uploaded csv, and it's due to the behavior of String.fromCharCode #892
And as I commented in #892 , I think sheetjs should try decoding the file in given codepage when it detects a csv. @SheetJSDev

The standard codepage in Vietnam is 1258.  You should be able to read the file with the option codepage: 1258.  If this issue still persists, please share a file and we can take a closer look.


Outline view (files.associations)

Issue Type: Bug
Don't work option "files.associations" with Outline View.
VS Code version: Code 1.24.1 (24f62626b222e9a8313213fb64b10d741a326288, 2018-06-13T17:51:32.889Z)
OS version: Windows_NT x64 6.1.7601

Please update this issue after reading https://github.com/Microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions#writing-good-bug-reports-and-feature-requests. Thanks.


US_5.1a: Generate plain name badge

As
organizer
I want to
be able to generate a plain name sign on one click
in order to
be faster
Acceptance Criteria

select all or select only a few
after selecting: button for printing/generate pdf
generate a pdf with plain name sheets with 10 on one site, dinA4

refs #45

[ ] create "print name badges" button on applications overview pages (estimation: 1)
[ ] create "print badges" page with a list of all participants (estimation: 1)
[ ] make list of participants selectable in order to choose all or only a few (estimation: 2)
[ ] create print button/generate pdf button on print page (estimation: 1)
[ ] create pdf generation functionality (estimation: 8)


Class circular reference：PendingRequest.php

Laravel Version: 8.65
PHP Version: 7.3.0
Database Driver & Version:

Description:
Memory leak
Steps To Reproduce:

Resident process consumption: new PendingRequest();

https://github.com/laravel/framework/blob/8.x/src/Illuminate/Http/Client/PendingRequest.php

php artisan queue:work --queue=test:test:test

    public function handle()
    {
        $request = new PendingRequest();
        //dump($request);
        echo round(memory_get_usage() / 1024 / 1024, 5)."m\n";
    }

I'm not really sure I see an issue here sorry. If you want to provide a fix feel free to attempt a PR.


Cannot reassign undefined to the parameter of a function parameter destructuring with default value

🔎 Search Terms
"function parameter destructuring", "destructured parameter", "named parameter", "undefined"
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about "Why Method Bivariance?"

⏯ Playground Link
https://www.typescriptlang.org/play/?target=0&ts=5.7.0-dev.20241018#code/GYVwdgxgLglg9mABGOAnAtgQwDYAVOqboCmUxqAYuNPGABQEDmAXIgEZxzbGZIA+icABNiwGGGJDEAXkRRUIYgEpEAbwBQiLYiaI+fWcNHjJAbnUBfdetCRYCRCIDO8kNBCpJ+QiTKVq9vSqOqiMMnIKxIgWrMFMrBxcPPyCYCJiElIWKhoAkLr6hmnGmeZWNgG0jsQuCu6eQgDyAA6BON5EpORUdrR0caHhrlExaiGMAPwJnNy80Tnq+YOFqekmQmXWtjQOzq71XgSdfj07YACM-eNDkTpO7DPJeqslktGx49NJcwJGGW-ZNSLAoGF7-DaWLaVXY1fZQDyHHxdfy9BAAJiuulGAxYD2+KT+62i4RxrGG8yBSzCK0JpUhQA
💻 Code
function normalParameterFunction(arg: boolean | undefined = true) {
    arg ||= undefined;
}

function destructuredParameterFunction({ arg = true }: { arg: boolean | undefined }) {
	arg ||= undefined;
}

function destructuredOptionalParameterFunction({ arg = true }: { arg?: boolean }) {
	arg ||= undefined;
}

🙁 Actual behavior
The normalParameterFunction works fine, but in destructuredParameterFunction and destructuredOptionalParameterFunction, I cannot assign undefined to arg.

Type 'undefined' is not assignable to type 'boolean'.

🙂 Expected behavior
I know that if I specify the default value to the arg, the arg will no longer be undefined, but maybe I can reassign it to the undefined.
I guess it should have the same logic as the following:
var arg: boolean | undefined = true;
arg ||= undefined;

Additional information about the issue

I don't know if it's really a bug or if it's a bad habit to change the value of a function parameter, but the function without parameter destructuring work as expected. Also, I hate recreate a new variable and come up with a new name in order to change the value of a function parameter, even though assigning the parameter itself directly doesn't modify the variable outside the function.

The above code is a real-world use case that aims to set arg to undefined when it is a falsy value. In fact, arg ||= undefined is not needed, just arg = undefined will trigger the issue, but in this case, the original value of arg is ignored and has no practical meaning.

You can also pass the type check in disguise with the following code:

function destructuredParameterFunction1({ arg = true as boolean | undefined }: { arg: boolean | undefined }) {
	arg ||= undefined;
}

function destructuredParameterFunction2({ arg }: { arg: boolean | undefined } = { arg: true }) {
	arg ||= undefined;
}

Prior feedback was that people felt that something with a default should be thought of as "not ever undefined" and that's the current logic. There's a lot of different interpretations on exactly how parameter and destructuring defaults should be thought of (i.e. equivalent to the caller having never passed undefined in the first place vs being a short-circuit assignment at the top of the function).


Is it ok to use batch_size=1?

❓ Questions & Help

I was looking at this example: https://github.com/rusty1s/pytorch_geometric/blob/master/examples/ogbn_proteins_deepgcn.py
You don't seem to define a batch size and from here: https://github.com/rusty1s/pytorch_geometric/blob/2b303b9ff504e073d2b4fc6d1c82edf7cd198da6/torch_geometric/data/dataloader.py it looks like default batch_size is set to 1.
I wonder if this is on purpose, is it ok to use a batch size of 1? Since this is a node prediction problem, I think it might be ok? What is the rule for batch size for GNN?
Thank you!

For the RandomNodeSampler, its batch size is defined by num_nodes / num_parts. Here, we create batches of nodes rather than for graphs (note that this is a different loader than the classical DataLoader). Hence, its batch size is far larger than a single node.
A a general rule is that your batch size should fully utilize your GPU, which is exactly what we are trying to do here.

ok thank you!


Delete Tracker Data on Recording Delete

Currently, deleting a recording does not delete the tracker data for that recording. This needs to be fixed at some point.
Also the current implementation triggers the following warning

(node:68248) DeprecationWarning: collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead.
(Use node --trace-deprecation ... to show where the warning was created)

Closed in https://github.com/opendatacam/opendatacam/pull/311


language/enum_duplicate_test/01 started hitting an assertion after hashing of canonical objects

The cl/54662 seems to have caused a crash in debug mode for the language/enum_duplicate_test/01 test on hot-reload bots.
Example failure:
FAILED: none-vm debug_x64 language/enum_duplicate_test/01
Expected: Pass
Actual: Crash
--- Command "vm" (took 675ms):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart --hot-reload-rollback-test-mode --ignore-unrecognized-flags --packages=/b/build/slave/vm-linux-debug-x64-reload-rollback-be/build/sdk/.packages /b/build/slave/vm-linux-debug-x64-reload-rollback-be/build/sdk/out/DebugX64/generated_tests/language/enum_duplicate_test_01.dart
exit code:
-6
stderr:
../../runtime/vm/object.h: 5495: error: expected: cls.is_finalized() || cls.is_prefinalized()
Dumping native stack trace for thread 3fee
../../runtime/vm/safepoint.cc: 53: error: expected: T->no_safepoint_scope_depth() == 0
Aborting re-entrant request for stack trace.
--- Re-run this test:
python tools/test.py -m debug --hot-reload-rollback language/enum_duplicate_test/01

@rmacnak-google Could you look into it (I think it started happening after your cl)?

Duplicate to https://github.com/dart-lang/sdk/issues/35885.


Recalibrate colors with HCL

See this blog

On second thought, hsb might be the way to go

On second thought, hsb might be the way to go


Zuul's dynamic routing

I think dynamic routing is one of the features of spring cloud zuul. If you modify the routing rules in the properties file, for the moment we can only update the rules by restarting zuul's service. This may be unfriendly to the gateway. By reading the source code I found that spring cloud has been prepared for the dynamic routing function, but the default SimpleRouteLocator does not implement RefreshableRouteLocator interface, which can not be completed dynamic routing capabilities. If you want to achieve dynamic routing function, we need to read the source code of zuul, and have some understanding of the source code to complete this function. The specific way to do dynamic routing is to extend the SimpleRouteLocator class and override the locateRoutes() method. This is difficult for the average user.

@ryanjbaxter Hello, maybe I am wrong, but if you agree with me, I am willing to submit a PR to improve this function, looking forward to your reply, the best wishes！

I have a solution according to your way. Do you need the source code?

@Lovnx Thank you for your answer, is this solutionis to inherit SimpleRouteLocator and rewrite the locateRoutes () method? :)

sure

@Lovnx Thank you, I know this method. As described in the same, I hope that spring cloud originally provided this feature. :)

hope too

I guess it depends on how you are using Zuul.  Sees like if you are using service discovery with Zuul your routes should be refreshable if not than it seems unlikely.

@ryanjbaxter  Thank you for your reply, I think you are right. I temporarily closed the issue for now :)


Pathing ignores curves used to drive distance attenuation

To reproduce:

Create a new scene.
Add an audio source, with a Steam Audio Source attached.
On the audio source, ensure that "Spatialize" is enabled, with the spatial blend set to 1.
On the audio source, use Logarithmic Rolloff, with the Min Distance set to 0.01, and Max Distance set to 500.
On the Steam audio source, enable Distance Attenuation and ensure it is set to "Curve Driven".
Enable "Pathing".
Create a pathing probe batch large enough to encompass the distance between the audio source and listener.
Add a floor to the scene, mark it as audio geometry.
Bake the pathing data and scene data, then drag the data into the audio source's Pathing Probe Batch.
Move the listener and probe so they are 10m apart.
Ensure that both the probe and listener are within the volume of the Pathing Probe Batch, are within the area encompassed by the probes, and are above the floor.
Press play, then toggle "Pathing" on the audio source.

Expected Behaviour: Audio is quiet; volume of the audio source does not change very much between toggling "Pathing" on and off; volume of sound is consistent with attenuation curves provided.
Actual Behaviour:

Volume is SIGNIFICANTLY louder when Pathing is enabled, and quiet when disabled.
Pathing appears to assume that "Physics Based" attenuation is used (equivalent to "Logarithmic Rolloff" with a Min Distance of 1).
Pathing ignores curved provided, e.g. linear falloff is present in "Direct Mix" but inverse distance in "Pathing Mix".

In our project, we are attempting "Physically Based Audio", in which audio source loudness is distinguished primarily by the "Min Distance" parameter when paired with Logarithmic Rolloff (AmplitudeObserved = AmplitudeAt1Meter / DistanceInMeters) Thus, quiet sounds have a short range, loud sounds have a long range, but their volume is always 1. This way quiet sounds, like a fly buzzing, will be loud if they are right against your ear.
Originally my instinct was to use "Physics Based" attenuation, but this makes all sound sources equally loud (AmplitudeObserved = 1 / DistanceInMeters).
It appears that the Pathing feature also assumes "Physics Based" attenuation, thus it inherits the inability to distinguish sound loudness on range, rendering the feature unusable for our goal.
In general, the attenuation provided by the designer for direct sound should be respected by indirect (pathing-based) sound.

commenting to keep open

I can confirm this!


Get TikTok live information without event

Is there a way to get live information but with no event? Like for example a function to get the numbers of like or something? For example:
from TikTokLive import TikTokLiveClient
from TikTokLive.events import ConnectEvent, CommentEvent

# Create the client
client: TikTokLiveClient = TikTokLiveClient(unique_id="@isaackogz")

if __name__ == '__main__':
    # -- Exmaples --
    client.getLikes() # get the numbers of likes
    client.getViewvers() # get the numbers of people who are watching the live
    client.getGift("Rose") # return number of roses

You can grab room info which should have all this.

How? Because when i check the documentation i only see events. By the way i wanna get live information this way so i can just make an api to collect data, for example http://localhost?username=@isaackogz and it returns json data with live information.

https://isaackogan.github.io/TikTokLive/TikTokLive.client.web.routes.html

can you show me an example?

No


Change example to single quotes for rubocop happiness

When copying and pasting this example, it would be great if it had single-quotes by default, so that rubocop doesn't immediately complain about it.
Thanks!
@martinb3

:+1:

@odcinek This should get merged as well

Thanks Martin. This has been (belatedly) merged.


Download as CSV does not work

Describe the bug
I tested in the "Latest(3.3.0-rc2)"
After created snapshot,
when I clicked the "Download as CSV" button, nothing happened on the screen
and only network traffic has continued.
To Reproduce
Steps to reproduce the behavior:

Create datasets with attachments.
Create dataflow with the datasets.
Apply header rule to the 'country_geo' dataset.
Join 'data2' and 'country_geo' with the key 'data2.country' and 'country_geo.admin'
Create snapshot.
Click the "Download as CSV"

Additional context
When I tested in the "Stable", the same thing occurred in the snapshot data preview
testfile.zip

@jeongeunkwon Could you let me know the size (or lines) of the snapshot? Or if I can access the server, please reply a link to that snapshot.

As you know, join operation consumes some memory.

@jeongeunkwon It seems like the snapshot is not a downloadable size.

I guess you'll see the download dialog pop-up in about 2 hours.
BTW, we really need to display the size (not line count) in the snapshot detail page.
@jeongeunkwon How about change this issue into implementing this feaure?

I'll make another issue for displaying the size of a snapshot. (Maybe, only file snapshots)
Closing this issue.


Perform statistical analysis on missing dynamics in phase transitions, and put them into reset maps

[x] Perform data fits on both measured and modeled state trajectories, just after phase transitions.
[ ] Compare data fits, detect significant differences
[ ] Estimate (or manually enter?) state transitions

Didn't finish, but determined reset maps heuristically


SimpleITK unable to be found during textural extraction.

I am trying to run a textural extraction in batch mode through the command prompt window, so I direct it to my CSV file of images, and then I run it, and these exceptions come up:
Traceback (most recent call last):
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK\SimpleITK.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "c:\users\chris\appdata\local\programs\python\python37\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\chris\appdata\local\programs\python\python37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\chris\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\chris\AppData\Local\Programs\Python\Python37\Scripts\pyradiomics.exe_main.py", line 5, in
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\radiomics_init.py", line 15, in
from . import imageoperations
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\radiomics\imageoperations.py", line 7, in
import SimpleITK as sitk
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK_init_.py", line 1, in
from .SimpleITK import *
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK\SimpleITK.py", line 17, in
_SimpleITK = swig_import_helper()
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK\SimpleITK.py", line 16, in swig_import_helper
return importlib.import_module('SimpleITK')
File "c:\users\chris\appdata\local\programs\python\python37\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_SimpleITK'
C:\Users\chris\AppData\Local\Programs\Python\Python37\Scripts>pyradiomics C:\Users\chris\Desktop\Julia's Scans\Scripts\pyrad patients 0-10
Traceback (most recent call last):
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK\SimpleITK.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "c:\users\chris\appdata\local\programs\python\python37\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\chris\appdata\local\programs\python\python37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\chris\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\chris\AppData\Local\Programs\Python\Python37\Scripts\pyradiomics.exe_main.py", line 5, in
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\radiomics_init.py", line 15, in
from . import imageoperations
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\radiomics\imageoperations.py", line 7, in
import SimpleITK as sitk
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK_init_.py", line 1, in
from .SimpleITK import *
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK\SimpleITK.py", line 17, in
_SimpleITK = swig_import_helper()
File "c:\users\chris\appdata\local\programs\python\python37\lib\site-packages\SimpleITK\SimpleITK.py", line 16, in swig_import_helper
return importlib.import_module('SimpleITK')
File "c:\users\chris\appdata\local\programs\python\python37\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_SimpleITK'
I have SimpleITK installed, so there must be another problem causing it to not be able to be found.

OS: Windows
Python version: 3.7
PyRadiomics version: unsure

How many python version in your computer? Maybe you have many python version, and the SimpleITK isn't in the loaded version.

I only have 1 python installed into my computer. Could it be a problem with
where SimpleITK is downloaded to?
On Thu, Apr 23, 2020 at 8:20 AM codecrazer<EMAIL_ADDRESS>wrote:

How many python version in your computer? Maybe you have many python
version, and the SimpleITK isn't in the loaded version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Radiomics/pyradiomics/issues/572#issuecomment-618369881,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APJPSFWREQOZUJ4P6LEWC73ROAXATANCNFSM4MOLPK4Q
.

@juliaryann, the problem you're having is different.
As you can read from the stack trace, SimpleITK is installed and found by your python interpreter. The problem is that it is unable to load _SimpleITK, which is the compile code holding all the SimpleITK c++ code (the python code is just a wrapper linking to the compiled c++ code).
For some reason or other, the newer version of SimpleITK don't play well with python. You can try an older version of SimpleITK by forcing it to that version, e.g. pip install SimpleITK==0.9.1

See also issue 513 on the SimpleITK github.


Utilize a standardized ClusterInventory API for the automatic import of clusters into ArgoCD

Is your feature request related to a problem? Please describe.
There are several community multicluster platforms that have the concept of a cluster inventory or cluster registry. When a user installs the argocd-operator, it would be beneficial to have an option that enables automatic importing of all these clusters into ArgoCD. This way, users wouldn't have to add them manually one by one.
Describe the solution you'd like
The k8s multicluster-SIG community is working on a plan to introduce a standardized ClusterInventory API. This API aims to facilitate the interaction between various multicluster platforms and third-party consumers like ArgoCD. By adopting this new API, the ArgoCD operator will be able to automatically import clusters into ArgoCD without the need to reference other third-party APIs.
Describe alternatives you've considered
Although scripting the import of clusters is possible, it's not user friendly.
Additional context
Cluster Inventory API

ClusterInventory/Profile Access/Credential discussion doc

https://github.com/kubernetes/enhancements/pull/4778

Fwiw, there are roughly 3 approaches I can think of:

ArgoCD supporting clusterprofile directly.
An ArgoCD generator plugin that sources clusters from ClusterProfile (See how we did it for GKE Fleet, we could replicate for ClusterProfile)
translating ClusterProfile to argoCD secrets (example)

I think we should be able to go pretty far with 2 and 3 without necessarily needing a drastic change in argo. What we could benefit from on the other hand is ArgoCD documentation showing ClusterProfile as a good source for the cluster list.
Is anyone talking about ClusterProfile at Argocon?


Table is created instead of view

System information:

win 10 x64
DBeaver version 5.3.2

Connection specification:

SQLite

Describe the problem you're observing:
Table is created instead of view.

I confirm version 5.3.4 on Windows 10 x64 has the same behavior. I'm using this driver for Sqlite: sqlite-jdbc-3-25.2.jar.
Thanks for such a great tool !

I recently updated both the Sqlite driver to version 3-27-2 and DBeaver itself to version 6.0 (x64, CE) but the issue is still there.
Driver config:

DBeaver version:

Thanks!

This bug common for all Generic drivers.
We need to separate GenericTable and GenericView classes

Verified: checked SQLite, MariaDB on DBeaver<IP_ADDRESS>907021224


New version: CyclicArrays v0.4.0

Registering package: CyclicArrays
Repository: https://github.com/udistr/CyclicArrays.jl
Created by: @udistr
Version: v0.4.0
Commit: 4c3ab9b16fbb6db2dcd4194186260673d6fdc5ba
Reviewed by: @udistr
Reference: https://github.com/udistr/CyclicArrays.jl/issues/7#issuecomment-670303027

Could this be merged? (sorry for the version skips...)

Thanks @giordano


Code is over 6k. Plz fix

What code

The CLI 😂

Remove offline-plugin from deps, you don't use it anyway 😋

Gonna add a second copy

Please fix this asap. Downloading 6k to node_modules is unacceptable

Closing for my sanity :P

:dancer:


src/net/bsd/brt.c:12:10: fatal error: 'net/route.h' file not found

Hello,
I am trying to build baresip for iOS, using the repository https://github.com/baresip/baresip-ios
Unfortunatelly, the make contrib command fails with the following issue:
src/net/bsd/brt.c:12:10: fatal error: 'net/route.h' file not found
#include <net/route.h>
         ^~~~~~~~~~~~~
1 error generated.
make[1]: *** [/Users/runner/work/1/s/build/aarch64/libre/net/bsd/brt.o] Error 1
make: *** [libre] Error 2
##[error]Bash exited with code '2'.

The file "src/net/bsd/brt.c" is in the re library.
In order to build the baresip-ios library, I use a pipeline which is running on macOS 11.
Do you know how to fix this issue? Is something missing on my pipeline?
Thank you for your help

@sreimers : thank you so much for your fix ! It works perfectly :)


BUG: Website is not fully responsive.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I have saw that the website is not fully responsive, is partially responsive in some some part but not the full website .
So i want to contribute to fix this issue and make this website fully responsive under GSSoC'24

@Its-Aman-Yadav  will you assign this issue to me please.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Its-Aman-Yadav  will you assign me this issue


light overlay stays orange even on mushroom island

Thank you for opening this issue!
The problem with this feature is, that there isn't a really good solution. There are some really nice tags and methods I could use to automatically detect if a Mob can spawn in a certain biome (also think of the nether, which even has biome specific light levels), but those methods are only available to the Minecraft server. Which isn't a problem for singleplayer, but it is a huge problem for multiplayer.
The only workaround would be implementing some kind of biome ignore list, which defaults to the mushroom_fields. This would probably be a new option, with the default being OFF.
No time estimate when I'll get around to implement this feature, but probably sometime in 2024.


Data Fixtures with Snippets

How to implement a fixture loader which allows you to load static data into your snippet
repository ?

you have to add a class like this https://github.com/sulu-io/SuluDeveloperBundle/blob/master/DataFixtures/Document/LoadSnippetFixture.php into your bundle folder DataFixtures/Document then you can run the build command or the command sulu:document:fixtures:load to write the to the database.

Ok thanks, it works.

no problem (:


Tier 'Developer' feature availability 'Multiple custom domain names' mismatch

--
This page shows that for the tier 'Developer' the feature 'Multiple custom domain names' is not available.
But in the pricing details page the same feature seems as available.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 21fbb610-abd2-8836-7d65-d2c880fc7cd9
Version Independent ID: 33502c62-7ecf-67a9-f687-ae1bea3c9fb4
Content: Feature-based comparison of the Azure API Management tiers
Content Source: articles/api-management/api-management-features.md
Service: api-management
GitHub Login: @vladvino
Microsoft Alias: apimpm

@miquelcv, Thank you for your feedback! We will review and update as appropriate.

@miquelcv Thanks for reporting this item! I have updated the doc and it will be published soon. We appreciate the feedback!


double language version to "path finder 4" after approval of the translation (java)

Hi,
Troubles while approving my java translation of https://www.codewars.com/kata/path-finder-number-4-where-are-you : there are 2 different versions (both seems to work properly).
cheers

Closing as duplicate of #1189

woops sorry... x)


Missing registry API endpoint for Get Provider

Thank you for reporting an issue.
I can query a provider's information in the Terraform registry like so:
curl -i https://registry.terraform.io/v1/providers/hashicorp/random/3.6.3

which allows me to see metadata about the provider source.
When I do the same for OpenTofu, I get a 404:
curl -i https://registry.opentofu.org/v1/providers/hashicorp/random/3.6.3

It is entirely possible that this is an enhancement request rather than a bug, and the HashiCorp-owned registry is somewhat cagey around the providers service endpoints - but this is how I'd expect the registry protocol to behave.
Context here is I'd like to obtain the sourcecode repo via metadata rather than via assumed naming convention.
OpenTofu Version
n/a

OpenTofu Configuration Files
n/a

Hi @abstractionfactory - thanks for the quick reply! 💟
I'm a little confused, as this endpoint is clearly accessible and public from the Terraform registry. You're right, though; this endpoint isn't documented in the registry protocol, so I figured it was an oversight.
I would expect both registry hosts to exhibit similar behavior, but of course if the spec isn't there, it's hard to implement.
My use case is this:
I would like to determine the source code location (i.e. githost/org/terraform-provider-foo) programmatically via the provider's registry endpoint, knowing a provider's OpenTofu name and version. I can infer it currently, assuming that the git host is always github.com and the org and module name  always map to the namespace and type. But that's an assumption based on current most common (?) practice.
When I run
curl -i https://registry.terraform.io/v1/providers/hashicorp/random/3.6.3
I get back a 200 response, headers, and the following payload:
{
  "id": "hashicorp/random/3.6.3",
  "owner": "hashicorp",
  "namespace": "hashicorp",
  "name": "random",
  "alias": "random",
  "version": "3.6.3",
  "tag": "v3.6.3",
  "description": "terraform-provider-random",
  "source": "https://github.com/hashicorp/terraform-provider-random",
  "published_at": "2024-09-11T14:08:43Z",
  "downloads":<PHONE_NUMBER>,
  "tier": "official",
  "logo_url": "/images/providers/hashicorp.svg",
  "versions": [...]
  ...
  }

It's the source field I'm after.

Alternatively, you can clone the registry repository and access the data directly.

Unfortunately that won't generalize to all Terraform registries. 😅 but thank you for pointing it out.

That's a fair point about other registries. I should file an issue against the registry protocol to at least get clarification here.
Thank you so much for considering! ❤


Restrict New-Object in NoLanguage mode under lock down

Steps to reproduce
This is only a possible exploitation of New-Object in NoLanguage mode. There is no repro for the issue. Fixing it as defense in depth issue. Potential for abuse is much less with no language elements (NoLanguage mode).

It will be very difficult for the team to assess the risk without a better explanation as to why it is an issue.

We're following up internally on this

Possibly related: #14071

Fixed with #14140


Fix credentials copy cluster create 2.6

https://github.com/stolostron/backlog/issues/25428

/cc @fxiang1

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required

/test all


CertificatePinner not working on Android

I tried to implement the CertificatePinner as described in the documentation (http://square.github.io/okhttp/javadoc/com/squareup/okhttp/CertificatePinner.html). I've tested it on the oneplus one, Android 5.0.2 official rom (minSdk15, targetSdk 22). The request is completing successfully, without any exception being thrown. It should throw an exception as described in the documentation. What's going wrong here? Or is it just a bug? I've included my code below:
RequestBody body = new FormEncodingBuilder()
                .add("test1", "lorem")
                .add("test2", "ipsum")
                .build();

        CertificatePinner certificatePinner = new CertificatePinner.Builder()
                .add(httpshostname, "sha1/testest")
                .build();

        OkHttpClient client = new OkHttpClient();
        client.setCertificatePinner(certificatePinner);

        Request request = new Request.Builder()
                .url(httpshostname)
                .addHeader("Cookie", "cookiename" + cookievalue)
                .addHeader("Content-Type", "application/x-www-form-urlencoded")
                .post(body)
                .build();

        Response response = client.newCall(request).execute();

Please add content or at least format of the httpshostname.
It should be a host name without protocols and slashes, for example: test.com

@artem-zinnatullin Thanks! That was the problem. The certificatePinner expects an hostname without a protocol, and I was giving it with the protocol. This issue is closed now, but maybe an idea to add a warning in the future? Or maybe give a clear indication in the documentation? Thanks for your help again!

@swankjesse let's add hostname format validation to CertificatePinner.Builder#add()?
Users expect increase of security from CertificatePinner, better to fail early, otherwise CertificatePinner will silently skip the check.

@artem-zinnatullin sure, hostname validation is a good idea. I'll accept PRs. Unfortunately, what constitutes a valid hostname is non-trivial. We might be able to reuse code from HttpUrl, once that's ready.

Great, saw your PRs for HttpUrl, I'll wait for it.
чт, 14 мая 2015, 22:58, Jesse Wilson<EMAIL_ADDRESS>
@artem-zinnatullin https://github.com/artem-zinnatullin sure, hostname
validation is a good idea. I'll accept PRs. Unfortunately, what constitutes
a valid hostname is non-trivial. We might be able to reuse code from
HttpUrl, once that's ready.
—
Reply to this email directly or view it on GitHub
https://github.com/square/okhttp/issues/1644#issuecomment-102150790.

@baszn can you close the issue?


Question: after sealos create a cluster, port 5000 is used.

Detailed description of the question.
After sealos create a cluster, port 5000 has been used, can I customize this port or close it?
Some reference materials you see.
No response

port 5000 is registry port . using env  registryPort replace it. sealos run -e  registryPort=6000 kuberneres:1.25.5 --single


What did you do?
I can reproduce this consistently (i.e. happens 100% of the time), but it is extremely deep in a live system, so I have no idea how to make a proper repro out of it.
I have the following Go code crashing:
		values := someFunc(...)

		values = append(make([][]byte, first), values...)
		values = append(values, make([][]byte, len(keys)-last)...)

The crash is in the runtime memory management. With Go 1.22.2 I got the following dump:
	unexpected fault address 0x0
	fatal error: fault
	[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x41b0f7]
	goroutine 226018 gp=0xc000e1f500 m=32 mp=0xc0079b1008 [running]:
	runtime.throw({0x1a826de?, 0xc047f3fcb8?})
		runtime/panic.go:1023 +0x5c fp=0xc047f3fc58 sp=0xc047f3fc28 pc=0x43fc3c
	runtime.sigpanic()
	    runtime/signal_unix.go:895 +0x285 fp=0xc047f3fcb8 sp=0xc047f3fc58 pc=0x4588e5
	runtime.(*mspan).typePointersOfUnchecked(0x0?, 0x0?)
	    runtime/mbitmap_allocheaders.go:202 +0x37 fp=0xc047f3fcd8 sp=0xc047f3fcb8 pc=0x41b0f7
	runtime.(*mspan).typePointersOf(0x7f20aca3af30, 0xc047ceca00, 0x0)
	    runtime/mbitmap_allocheaders.go:162 +0x45 fp=0xc047f3fd20 sp=0xc047f3fcd8 pc=0x41b065
	runtime.bulkBarrierPreWrite(0xc047ceca00, 0x0, 0x0, 0x35?)
	    runtime/mbitmap_allocheaders.go:465 +0x12d fp=0xc047f3fd90 sp=0xc047f3fd20 pc=0x41b52d
	runtime.memclrHasPointers(0xc047ceca00, 0x0)
	    runtime/mbarrier.go:371 +0x25 fp=0xc047f3fdc0 sp=0xc047f3fd90 pc=0x41a1e5
        [...]
        at this point the line is the last line from my snippet above

With Go 1.22.3 I still see the exact crash but it didn't spit out this much crash dump, only a shorter one (which 1.22.2 also spits out sometimes instead of the long one)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x41b0f7]
goroutine 115123 [running]:
github.com/ethereum/go-ethereum/trie.(*Trie).getBatch(0xc03ad422d0, {0x2009770?, 0xc0489ab450}, {0xc0488daa88, 0x25, 0x25}, 0x7)
 	github.com/ethereum/go-ethereum/trie/trie.go:286 +0xf65

The line referenced is the same exact last line the previous crash references; a simple slice append.
What did you see happen?
Boom
What did you expect to see?
No boom

For what it's worth, the boom seems to happen with first == 0; len(keys) == len(values) == N and last == n, so something akin to:
	values := f(keys)

	values = append(make([][]byte, 0), values...)
	values = append(values, make([][]byte, 0)...)

Managed to blow it up verbose with Go 1.22.3 too:
unexpected fault address 0x0
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x41b0fb]
goroutine 876768 gp=0xc0009e8c40 m=23 mp=0xc000981808 [running]:
runtime.throw({0x1a826de?, 0xc06e640148?})
	runtime/panic.go:1023 +0x5c fp=0xc06e6400e8 sp=0xc06e6400b8 pc=0x43fc3c
runtime.sigpanic()
	runtime/signal_unix.go:895 +0x285 fp=0xc06e640148 sp=0xc06e6400e8 pc=0x4588e5
runtime.readUintptr(...)
	runtime/mbitmap.go:466
runtime.(*mspan).typePointersOfUnchecked(0x0?, 0x0?)
	runtime/mbitmap_allocheaders.go:203 +0x3b fp=0xc06e640168 sp=0xc06e640148 pc=0x41b0fb
runtime.(*mspan).typePointersOf(0x7f0d81965270, 0xc07403a2c0, 0x0)
	runtime/mbitmap_allocheaders.go:162 +0x45 fp=0xc06e6401b0 sp=0xc06e640168 pc=0x41b065
runtime.bulkBarrierPreWrite(0xc07403a2c0, 0x0, 0x0, 0x1d?)
	runtime/mbitmap_allocheaders.go:465 +0x12d fp=0xc06e640220 sp=0xc06e6401b0 pc=0x41b52d
runtime.memclrHasPointers(0xc07403a2c0, 0x0)
	runtime/mbarrier.go:371 +0x25 fp=0xc06e640250 sp=0xc06e640220 pc=0x41a1e5
github.com/ethereum/go-ethereum/trie.(*Trie).getBatch(0xc06fb279e0, {0x2009730?, 0xc073ba11d0}, {0xc07402e588, 0x1d, 0x1d}, 0x7)
	github.com/ethereum/go-ethereum/trie/trie.go:285 +0xe93 fp=0xc06e640410 sp=0xc06e640250 pc=0xd0c693

Mostly the same crash, just one line difference in mbitmap_allocheaders

I think I see the bug here. Simplified:
func g(x []*byte, z int) []*byte {
	return append(x, make([]*byte, z)...)
}

When we call this with z==0 and x is a slice that points to an object that completely fills its size class, then we call memclrHasPointers with x.ptr + 8*x.len, 0, which may point to the next object in the span. That is a no-no, as the next object may be junk.
We need some sort of defense against past-the-end pointers in this generated code.
Possibly introduced in CL 418554

Ha, reproed it.
https://go.dev/play/p/zfi-jTPIIp_K

Further simplified: https://go.dev/play/p/pLh04Z_lzSd

Interestingly, with 100 items in the slice, it doesn't crash, with 53, it does. I'm assuming the former expands the array "nicely" whereas the latter hits some cornercase.

PS: The reason I pasted the images and not just stack traces is because I'm unsure how consistent the crashes are, so figured I'd better make some "proof".

Got a scarier one now: https://go.dev/play/p/AbxNigAFhCk

@gopherbot please open a backport issue for 1.22.

Seems to be ok in 1.21 and earlier.


setState inside navigationDelegate doesn't work on android?

Hello, I hope you're doing well. I am having an issue with adding setState(() {}); inside the navigationDelegate method on Android, It doesn't work. It's working properly on iOS but It's not working on Android. I want to add a loading indicator when the URL contains "checkout?identifier". Any thoughts?
 bool showSpinner = true;
 return ModalProgressHUD(
            opacity: 1,
            inAsyncCall: showSpinner,
            color: Colors.white,
            progressIndicator: CircularProgressIndicator(
              color: primaryColor,
            ),
            child: WebView(
              onWebViewCreated: (controller) {
                _webViewController = controller;
              },
              onWebResourceError: (e) {
                singleBookingBloc.add(FailedOperation());
              },
              onPageFinished: (e) async {
                setState(() {
                  showSpinner = false;
                });
              },
              navigationDelegate: (NavigationRequest request) {

                if (request.url.contains('checkout?identifier')) {
                  setState(() {
                    showSpinner = true;
                  });
                }

                return NavigationDecision.navigate;
              },
              javascriptMode: JavascriptMode.unrestricted,
              initialUrl: 'https://infavr.com/product/' +
                  widget.bookingSlug +
                  '?' +
                  widget.parameter,
            ),
          );

Flutter doctor -v
[✓] Flutter (Channel dev, 2.10.0-0.3.pre, on macOS 11.1 20C69 darwin-arm, locale en-PH)
• Flutter version 2.10.0-0.3.pre at /Applications/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fdd0af78bb (3 months ago), 2022-01-25 22:01:33 -0600
• Engine revision 5ac30ef0c7
• Dart version 2.16.0 (build 2.16.0-134.5.beta)
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/aikbusmeon/Library/Android/sdk
• Platform android-31, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 12.5.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
! Flutter recommends a minimum Xcode version of 13.
Download the latest version or update via the Mac App Store.
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
[✓] VS Code (version 1.66.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.40.0
[✓] Connected device (2 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 32) (emulator)
• Chrome (web)                • chrome        • web-javascript • Google Chrome 101.0.4951.54
[✓] HTTP Host Availability

Hi @aikonics, Thanks for filing the issue. Please share a minimal and complete reproducible code without any third party packages to investigate this issue further.


"Run tests" button doesn't respond

After task finishing and pressing "Run tests" the page doesn't show pop-up and doesn't unblock next level (task completed correctly + copy-paste method was used)
Challenge Name

https://www.freecodecamp.com/challenges/use-rgb-values-to-color-elements#?solution=
<style>
  body {
    background-color%3A rgb(255%2C 165%2C 0)%3B
  }
<%2Fstyle>

Issue Description

Change background-color from "#F00" to  rgb(255, 165, 0) and press "Run tests" button.
Browser Information

Opera Version:	42.0.2393.517
OS: Windows 8.1
Desktop

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

<style>
  body {
    background-color: rgb(255, 165, 0);
  }
</style>

Screenshot

@Aleksey3107 thanks for the issue, but your code is incorrect. That color was given as an example. Please read the test and instructions again to figure out which is the correct color to change it to. Happy coding!


Door inaccessible in City_CY_Runaway01 "Runaway"

Seems to be a pretty common bug, seeing as searching the internet for it returned quite a lot of results.
At stage 400 it's supposed to unlock the door on the 3rd floor of the Hotel Volii, this can sometimes not happen making it impossible to talk to Natan and continue the quest.
The door alias (NatanDoor) is filled.
This process has 2 steps, one makes the door accessible (using the new SetDoorInaccessible function), this makes the door show [Inaccessible] when hovered over instead of nothing at all, this part works perfectly fine.
Then the door is supposed to be unlocked, however this does not always happen.
No idea why it doesn't work, perhaps there needs to be a delay after calling SetDoorInaccessible before unlocking.

Have been unable to replicate this one in any playthrough. May have been fixed officially.

Still happens as per 1.14.70 in my save. Issue has existed before patch so it likely carried over


CI

@mxstbr Do you mind if I set up circleci for PRs? I would also like to add github-semantic-version so PRs to master will be automatically versioned and released
Add project here:
https://circleci.com/add-projects/gh/mxstbr
I would also need you to give me some admin access on the circleci builds

Do it! Just gotta add a circleci config and it should start building.

Unfortunately I can't add you to CircleCI, as I can only give you access to the whole org on CircleCI not just an individual project. 😕
Let's use Travis instead?


Da Vinci resolve processes whitelist request

hi @vit9696, how are you?
thank you for your time and efforts helping me and a lot of people with your solutions. I don't know if I'm writing in the right place but here https://github.com/vit9696/Shiki/issues/5
on the 10th of october you wrote that we can ask for more processes paths.
I would like to ask you as @emiliogonzalezjunior did to add davinciresolve to the processes whitelist please.
thank you in advance

Hi, Add the path to Patches.plist in a similar way to other tools, then rebuild Shiki, and ensure that the acceleration works for you.
Afterwards give me the changes, and I will include them in the latest update.
Thanks =)

Hi @xelanaiznac I submitted today a change in the patches.plist with the inclusion of Davinci Resolve. I've been running my own compiled version of shiki for 1 month and Davinci is working as expected. The only thing that I missing now is the airplay (only works without hardware acceleration), unfortunately I tried a lot of paths in the whitelist but none of them works with airplay. @vit9696, do you have any suggestion of paths that i should try and test? As always, thanks @vit9696 for your hard work.

Hi. Can you provide me please the modified Shiki kext?
Are you sure airplay is not working? Are you using shikigva=60 bootargs?
Alex Canzian
+393473300809

Il giorno 16 dic 2017, alle ore 19:21, emiliogonzalezjunior<EMAIL_ADDRESS>ha scritto:
Hi @xelanaiznac https://github.com/xelanaiznac I submitted today a change in the patches.plist with the inclusion of Davinci Resolve. I've been running my own compiled version of shiki for 1 month and Davinci is working as expected. The only thing that I missing now is the airplay (only works without hardware acceleration), unfortunately I tried a lot of paths in the whitelist but none of them works with airplay. @vit9696 https://github.com/vit9696, do you have any suggestion of paths that i should try and test? As always, thanks @vit9696 https://github.com/vit9696 for your hard work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/vit9696/Shiki/issues/19#issuecomment-352201169, or mute the thread https://github.com/notifications/unsubscribe-auth/AGge0aF_96x7aKNgUIt_qk57txdbf95Wks5tBAorgaJpZM4REZuM.

Ok, i have been successful on compiling Shiki kext with your modified patches, thank you.
Regarding airplay, here some news:
i have a MacBook Pro retina mid 2015 dual gpu and usually my macbook gives me a gt:0,25 ghz speed for my idle igpu (intel power gadget info)
When I enable airplay mirroring to my Apple TV, intel power gadget gives me the gt:0,20 ghz value (lower than idle!)
So, I’m just saying that maybe airplay mirroring is using intel gpu but we cannot find confirm using intel power gadget app in our hacks.
Do you understand what I mean?
Alex Canzian
+393473300809

Il giorno 16 dic 2017, alle ore 19:21, emiliogonzalezjunior<EMAIL_ADDRESS>ha scritto:
Hi @xelanaiznac https://github.com/xelanaiznac I submitted today a change in the patches.plist with the inclusion of Davinci Resolve. I've been running my own compiled version of shiki for 1 month and Davinci is working as expected. The only thing that I missing now is the airplay (only works without hardware acceleration), unfortunately I tried a lot of paths in the whitelist but none of them works with airplay. @vit9696 https://github.com/vit9696, do you have any suggestion of paths that i should try and test? As always, thanks @vit9696 https://github.com/vit9696 for your hard work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/vit9696/Shiki/issues/19#issuecomment-352201169, or mute the thread https://github.com/notifications/unsubscribe-auth/AGge0aF_96x7aKNgUIt_qk57txdbf95Wks5tBAorgaJpZM4REZuM.

I will upload a new release some while later, there are too few changes for the time being.
As for AirPlay, unfortunately I have no clue.


Getting Scores and Labels for prediction in multiclass classification with ML .NET

Hello! I would recommend this tutorial to also show the labels and scores when predicting, example:
Area: area-System.Data Score: 46.87811%
Area: area-Infrastructure Score: 27.88144%
Area: area-System.Security Score: 6.85226%
Area: area-Meta Score: 4.304262%
Area: area-Serialization Score: 3.70437%
Area: area-System.Net Score: 1.533578%
Area: area-System.ComponentModel Score: 1.258625%
Area: area-System.Reflection Score: 1.07564%
Area: area-System.Runtime Score: 0.8889261%
Area: area-System.Drawing Score: 0.8468383%
Area: area-Microsoft.CSharp Score: 0.8202795%
Area: area-System.Collections Score: 0.7278437%
Area: area-System.Xml Score: 0.6647807%
Area: area-System.Diagnostics Score: 0.4810925%
Area: area-System.Globalization Score: 0.3920802%
Area: area-System.Memory Score: 0.3072678%
Area: area-System.Threading Score: 0.2958634%
Area: area-System.Linq Score: 0.2904106%
Area: area-System.Console Score: 0.2705316%
Area: area-System.Text Score: 0.2450379%
Area: area-System.IO Score: 0.220165%
Area: area-System.Numerics Score: 0.06059819%
I use the following code:
using Microsoft.ML.Data;
using System.Collections.Generic;
public class IssuePrediction
{
[ColumnName("PredictedLabel")]
public string Area;
[ColumnName("Score")]
public float[] Score { get; set; }

}
   public static void PredictIssue()
    {
        // <SnippetLoadModel>
        ITransformer loadedModel = _mlContext.Model.Load(_modelPath, out var modelInputSchema);
        // </SnippetLoadModel>

        // <SnippetAddTestIssue>
        GitHubIssue singleIssue = new GitHubIssue() { Title = "Entity Framework crashes", Description = "When connecting to the database, EF is crashing" };
        // </SnippetAddTestIssue>

        //Predict label for single hard-coded issue
        // <SnippetCreatePredictionEngine>
        _predEngine = _mlContext.Model.CreatePredictionEngine<GitHubIssue, IssuePrediction>(loadedModel);
        // </SnippetCreatePredictionEngine>

        // <SnippetPredictIssue>
        var prediction = _predEngine.Predict(singleIssue);
        // </SnippetPredictIssue>

        // <SnippetDisplayResults>
        Console.WriteLine($"=============== Single Prediction - Result: {prediction.Area} ===============");
        // </SnippetDisplayResults>

        // Show score of each area ordered by score desc
        var scoreEntries = GetScoresWithLabelsSorted(_predEngine.OutputSchema, "Score", prediction.Score);
        foreach (var scoreEntry in scoreEntries)
        {
            Console.WriteLine($"Area: {scoreEntry.Key} Score: {scoreEntry.Value * 100}%");
        }
    }

private static Dictionary<string, float> GetScoresWithLabelsSorted(DataViewSchema schema, string name, float[] scores)
{
Dictionary<string, float> result = new Dictionary<string, float>();
        var column = schema.GetColumnOrNull(name);

        var slotNames = new VBuffer<ReadOnlyMemory<char>>();
        column.Value.GetSlotNames(ref slotNames);
        var names = new string[slotNames.Length];
        var num = 0;
        foreach (var denseValue in slotNames.DenseValues())
        {
            result.Add(denseValue.ToString(), scores[num++]);
        }

        return result.OrderByDescending(c => c.Value).ToDictionary(i => i.Key, i => i.Value);
    }

This should help a lot of people!
Thank you!
Daniel Liedke

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 77fc5686-2288-d607-8136-3146ed02dbf6
Version Independent ID: 8a16b9e9-b5cb-a55e-2135-191bc62c1656
Content: Tutorial: Categorize support issues - multiclass classification - ML.NET
Content Source: docs/machine-learning/tutorials/github-issue-classification.md
Product: dotnet-ml
GitHub Login: @natke
Microsoft Alias: nakersha

Thanks for the suggestion @dliedke . While this information is helpful for someone looking to go deeper into understanding the predictions, it adds some complexity to the tutorial that goes beyond getting started.

@dliedke Your labels and scores addition was very helpful. Saved me the trouble of having to write it myself. Thank you.

@dliedke Your labels and scores addition was very helpful. Saved me the trouble of having to write it myself. Thank you.

Great to hear and happy to help!!
Daniel

If I may ask one question. I am using the PredictionEnginePool, as recommended here . When I use PredictionEnginePool I am not able to get the OutputSchema as you did in your code. What do you recommend?

Actually, I realized that I can simply do something like _mlContext.Model.Save(loadedModel, _predEngine.OutputSchema, _schemaPath); and save the schema file to zip file (similar to model). Then I have it available for Web API or other project.

@dliedke I spent quite some time trying to do this myself and luckily I found your code! Thanks for sharing!

Great! thanks Walter! have fun!

@luisquintanilla I do not agree with you... that is what I spent most time looking for in the documentation...
This little function of @dliedke should be in the documentation
static Dictionary<string, float> GetScoresWithLabelsSorted(DataViewSchema schema, string name, float[] scores)
{
	Dictionary<string, float> result = new Dictionary<string, float>();

	var column = schema.GetColumnOrNull(name);

	var slotNames = new VBuffer<ReadOnlyMemory<char>>();
	column.Value.GetSlotNames(ref slotNames);
	var names = new string[slotNames.Length];
	var num = 0;
	foreach (var denseValue in slotNames.DenseValues())
	{
		result.Add(denseValue.ToString(), scores[num++]);
	}

	return result.OrderByDescending(c => c.Value).ToDictionary(i => i.Key, i => i.Value);
}

I also agree with @JeanCollas and @dliedke it took me hours to figure out how this works. The docs do not mention how to map the results of a multi class estimator to the corresponding labels. Very frustrating.

Thanks for all your feedback @pawod @JeanCollas @dliedke we're in the process of updating our documentation and will prioritize this change.


When splitting_pdf_page is started, only the last set of API requests can succeed.

Describe the bug
When I set split_pdf_page=True,split_pdf_concurrency_level=15.
Assuming the pdf is divided into 10 sets, it will report an error:
ERROR: Failed to send request for page 1
...
WARNING: Failed to partition set #1, its elements will be omitted in the final result.
...
WARNING: Failed to partition set #9, its elements will be omitted in the final result.
INFO: Successfully partitioned set #10, elements added to the final result.
To Reproduce
code:
import os, json

import requests
from unstructured_client.models.operations import PartitionRequest
from unstructured_client.models.shared import PartitionParameters, ChunkingStrategy

os.environ["UNSTRUCTURED_API_KEY"] = "EMPTY"
os.environ["UNSTRUCTURED_API_URL"] = ""

import unstructured_client
from unstructured_client.models import shared, operations

requests_client = requests.Session()
client = unstructured_client.UnstructuredClient(
    api_key_auth=os.getenv("UNSTRUCTURED_API_KEY"),
    server_url=os.getenv("UNSTRUCTURED_API_URL"),
    client=requests_client
)

filename = "./test_pdf.pdf"

file = open(filename, "rb")
req = operations.PartitionRequest(
    partition_parameters=shared.PartitionParameters(
        files=shared.Files(
            content=file.read(),
            file_name=filename,
        ),
        strategy=shared.Strategy.HI_RES,
        split_pdf_page=True,
        split_pdf_concurrency_level=15,
        chunking_strategy=ChunkingStrategy("by_title")
    )
)

try:
    res = client.general.partition(req)
    element_dicts = [element for element in res.elements]

    print(element_dicts)
    for e in element_dicts:
        print(e['text'])
except Exception as e:
    print(e)

Console Information：
INFO: Preparing to split document for partition.
INFO: Concurrency level set to 15
INFO: Splitting pages 1 to 23 (23 total)
INFO: Determined optimal split size of 2 pages.
INFO: Partitioning 11 files with 2 page(s) each.
INFO: Partitioning 1 file with 1 page(s).
INFO: Partitioning set #1 (pages 1-2).
INFO: Partitioning set #2 (pages 3-4).
INFO: Partitioning set #3 (pages 5-6).
INFO: Partitioning set #4 (pages 7-8).
INFO: Partitioning set #5 (pages 9-10).
INFO: Partitioning set #6 (pages 11-12).
INFO: Partitioning set #7 (pages 13-14).
INFO: Partitioning set #8 (pages 15-16).
INFO: Partitioning set #9 (pages 17-18).
INFO: Partitioning set #10 (pages 19-20).
INFO: Partitioning set #11 (pages 21-22).
INFO: Partitioning set #12 (pages 23-23).
ERROR: Failed to send request for page 1
ERROR: Failed to send request for page 3
ERROR: Failed to send request for page 5
ERROR: Failed to send request for page 7
ERROR: Failed to send request for page 9
ERROR: Failed to send request for page 11
ERROR: Failed to send request for page 13
ERROR: Failed to send request for page 15
ERROR: Failed to send request for page 17
ERROR: Failed to send request for page 19
ERROR: Failed to send request for page 21
WARNING: Failed to partition set #1, its elements will be omitted in the final result.
WARNING: Failed to partition set #2, its elements will be omitted in the final result.
WARNING: Failed to partition set #3, its elements will be omitted in the final result.
WARNING: Failed to partition set #4, its elements will be omitted in the final result.
WARNING: Failed to partition set #5, its elements will be omitted in the final result.
WARNING: Failed to partition set #6, its elements will be omitted in the final result.
WARNING: Failed to partition set #7, its elements will be omitted in the final result.
WARNING: Failed to partition set #8, its elements will be omitted in the final result.
WARNING: Failed to partition set #9, its elements will be omitted in the final result.
WARNING: Failed to partition set #10, its elements will be omitted in the final result.
WARNING: Failed to partition set #11, its elements will be omitted in the final result.
INFO: Successfully partitioned set #12, elements added to the final result.
INFO: Successfully partitioned the document.

I get the same error


Issue when using this in UITableview

Hi,
I have used this in UITableview for my UILabel, but issue is when the view is loaded Tapping works fine. But when the Tableview is scrolled, the UITap works fine, but the index path has the issue within. It takes the wrong IndexPath.

Hi, just updated. Make sure that you call clearActionDictionary  when preparing for reuse or before each time you configure your cell.

static NSString *CellIdentifier = @"HistoryCell";
cellHistory = [self.notificationTableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
//My Codes will be here.
return cellHistory;
This my "cellForRowAtIndexPath". I'm just using ARRAY to handle the Tableview count and to display the data i'm using the Array index paths.

Do something like this:
static NSString *CellIdentifier = @"HistoryCell";
cellHistory = [self.notificationTableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];

[cellHistory.label clearActionDictionary];
cellHistory.label setLink

//My Codes will be here.

return cellHistory;

static NSString *CellIdentifier = @"HistoryCell";
cellHistory = [self.notificationTableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
[cellHistory.label clearActionDictionary];
//Step 2: Define a selection handler block
void(^handler)(FRHyperLabel *label, NSString *substring) = ^(FRHyperLabel *label, NSString *substring)
{
[self userNameTapped:[[[[self.arrayHistory objectAtIndex:indexPath.row] objectForKey:Details] objectForKey:@"key"] objectForKey:@"key"]];
};
        //Step 3: Add link substrings
        [cellHistory.label setLinksForSubstrings:@[userName] withLinkHandler:handler];

return cellHistory;
I'm doing this, still when I scroll, the label which does not contain username is also clickable and also the labels containing the usernames is having different values in it. Please HELP

I'm not clear about your exact context, but you should be very cautious to avoid reusing mess up your cells. The code above seems fine, but be careful that the block you defined causes retain cycles.

Is this below block are you talking about :
void(^handler)(FRHyperLabel *label, NSString *substring) = ^(FRHyperLabel *label, NSString *substring) {
[self userNameTapped:[[[[self.arrayHistory objectAtIndex:indexPath.row] objectForKey:Details] objectForKey:@"key"] objectForKey:@"key"]];
};
if so then how else can I handle this ?

Yes it is. Use a weak reference of selfto avoid direct access within the block.
I'm closing this issue because the problem is in fact not originating from this library. If you are open to share your full codes, maybe I can help you to find out where is the issue exactly, but not here. Irrelevant discussion here may distract others from the library itself.


Ionic V4.beta11 ion-back-button changes tabs

Bug Report
Ionic Info
ionic (Ionic CLI)          : 4.1.2  (/usr/local/lib/node_modules/ionic)
Ionic Framework            : @ionic/angular 4.0.0-beta.8
@angular-devkit/core       : 0.7.5
@angular-devkit/schematics : 0.7.5
@angular/cli               : 6.1.5
@ionic/ng-toolkit          : 1.0.8
@ionic/schematics-angular  : 1.0.6

Describe the Bug
I have a tab page with 3 differents page. In the second tab, you can push another page. But when you want to come back to the tab page thanks to the ion-back-button, you come back to the first tab instead of the second.
Thank you in advance

@gfitas  did you already implemented tabs could you please help me.

@gfitas , i can help. i have done some tabs with Ionic V4

@yuankunluo Could you please help me for Tabs Issue.
tabs.html
  <ion-tabs color="primary" class="activity-tabs" tabbarPlacement="top" tabbar-highlight="true" translucent="true" use-router="true">
    <ion-tab padding-horizotal class="ionTabsPublic" label="Public" href="activeTabs/tabs/(public:public)">
      <ion-router-outlet stack name="public"></ion-router-outlet>
    </ion-tab>
    <ion-tab padding-horizotal label="Private" href="activeTabs/tabs/(private:private)">
      <ion-router-outlet stack name="private"></ion-router-outlet>
    </ion-tab>
  </ion-tabs>

tabs.module.ts

const routes: Routes = [
  {
    path: 'tabs',
    component: activeTabsPage,
    children: [
      {
        path: 'public',
        outlet: 'public',
        component: PublicPage
      },
      {
        path: 'private',
        outlet: 'private',
        component: PrivatePage
      }
    ]
  },
  {
    path: '',
    redirectTo: '/activeTabs/tabs/(public:public)'
  }
];

I am facing the problem PrivatePage and PublicPage components are loaded only once, if I need fetch the data from serve dynamically click on tab. I mean when I am clicking on tab data is not refreshing I wrote the code into ngOninit() , but it is calling only once. could you please help me solve this issue

Still in V4.beta11

I have the same issue.
It's is related to the route at which the back button is redirecting. its redirecting to /tabs instead of /tabs/(outlet:outletname). Seems that the history is not storing the outlet

Experiencing same issue with  Beta 12.
However, using NavController.pop() works just fine.

Same issue here:
ionic (Ionic CLI)             : 4.3.1 (C:\Users<user>\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework               : @ionic/angular 4.0.0-beta.15
@angular-devkit/build-angular : 0.8.6
@angular-devkit/schematics    : 0.8.6
@angular/cli                  : 6.2.6
@ionic/angular-toolkit        : 1.1.0

Still an issue in beta 16

I have the same issue. And I navigate with the NavController.goBack() now, it can really back to the latest selected tab.

Confirmed.
Ionic Framework: @ionic/angular 4.0.0-beta.17

I updated my project to beta 19 and the issue still persists. I have 3 tabs and a button on the second tab to navigate to a new page. When Back-button is clicked in the new page, I get thrown to tab 1 instead of tab 2. Using defaultHref makes no change. I also changed the page navigation to use routerLink instead of href as adviced in the changelogs.
"@ionic/angular": "^4.0.0-beta.19",

Still seems to be in an issue in beta 19

It still an issue in beta 19, though you can hack it. #15216

Still an issue in 4.0.0-rc.0
For example,
<ion-back-button defaultHref="tabs/notifications"></ion-back-button>
doesn´t work as expected.


Restrict killers to non-captures

Codecov Report

Merging #127 (69abfe2) into main (0739f66) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #127   +/-   ##
=======================================
  Coverage   94.02%   94.02%
=======================================
  Files          68       68
  Lines        7947     7947
=======================================
  Hits         7472     7472
  Misses        475      475

Impacted Files
Coverage Δ

search/src/alpha_beta.rs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Can you add experience gained during harvesting?

My girlfriend and I play games together. She prefers to do some farming work. She would be happier if there were experience rewards when harvesting.thanks！

Will be released soon :+1:


Ghost Branded Generic Dashboard Data Download

We have had a report from user that the data download on GBG is broken. I have checked the GBG dashboard and reproduced an error screenshot below which is a 524 cloudfare error.
My personal opinion is that this is not high priority to fix as the GBG measure is a surrogate identifier and doesn't accurately identify products 100% so it doesn't save much work when trying to identify the product in a clinical system.

For whenever we have time to look at this, I think the issue is this loop here:
https://github.com/ebmdatalab/openprescribing/blob/8df62aef5d9c30b730308fa0600b9cbc0c2df0fb/openprescribing/frontend/ghost_branded_generics.py#L220-L239
This does presentations X organisations loops which is fine for a single CCG, but takes too long when doing every individual practice in a CCG.


Help command crashes the game

Entering the /moodle help command instantly crashes the game.

Yupp, that was silly.
Should be fixed as of <IP_ADDRESS>


SXL documentation: typo in json example of M0019

On page 'RSMP Signal Exchange List for Traffic Light Controllers (1.0.15)' I discovered a typo in chapter 6.3.18 M0019 Force input. The value of 'cCI' in Command Request and Command Response should be M0019 instead of M0018.

Thank you for reporting this issue. A fix is included in the draft for version 1.1


Return correct intermediate certificate on digicert creation.

At the moment when we create a new cert through the digicert plugin, the export created has the created certificate twice rather than the certificate and intermediate. This commit corrects the return value of the plugin for digicert.
This commit also removes the unused DIGICERT_INTERMEDIATE env
var as it is not used.

Coverage remained the same at 66.331% when pulling e85692755a2e6e04e6bf90f038ec5775cc2a84ab on pvdvreede:digicert-int-certificate into 88ac783fd298f15e166f8f8c929c6ebdf1b7dc05 on Netflix:master.

Coverage decreased (-0.005%) to 66.326% when pulling 8e0e795404a176ce1a251944588a2178c785ce06 on pvdvreede:digicert-int-certificate into 88ac783fd298f15e166f8f8c929c6ebdf1b7dc05 on Netflix:master.

Coverage increased (+0.3%) to 66.662% when pulling d49626a58f4dca00dfb13ba997ae38921995ad33 on pvdvreede:digicert-int-certificate into 88ac783fd298f15e166f8f8c929c6ebdf1b7dc05 on Netflix:master.

Coverage increased (+0.3%) to 66.662% when pulling 8f5c6f8b3c936a226960c5d7bc35dcde50d56f1c on pvdvreede:digicert-int-certificate into 88ac783fd298f15e166f8f8c929c6ebdf1b7dc05 on Netflix:master.

lgtm thanks!


Build process

Several build process changes.
These are as follows:

Add satooshi/php-coveralls as a dev dependency, as squizlabs/php_codesniffer is, rather than installing it indirectly in the .travis.yml process.
Add a 'canary build' with Travis' php: nightly.  It won't break the build if this one fails, but it will tell us if there are any incompatibilities with PHP 7.2 that we need to be aware of.
Use PHP 7.1 to compute code coverage and run the 'phpcs' static analyser.  This makes it run faster than using PHP 5.6.
Add a 'prefer lowest' test with Composer.  This checks that we are telling the truth about the minimum necessary versions of dependencies in our composer.json file.

Coverage decreased (-0.4%) to 93.035% when pulling 476d7dc2e34835db13fdb841971fe28fb080007f on Sam-Burns:build-process into 6f765adb5dad996b586ecf6e362bb2ef7ae64ea4 on slimphp:4.x.

@Sam-Burns I added this, but am a little concerned that satooshi/php-coveralls has pulled in guzzle v3. Is this going to cause us issues?

@akrabat I'm pretty sure it uses an older version of Guzzle, but that the v4-6 versions are differently namespaced.  Do let me know if you notice any issues, but I don't think it's a problem.

@Sam-Burns Okay. The Composer warning isn't nice though, so lets hope they update.

@akrabat Sounds like they're working on tagging a stable release without it.  In the meantime, as it's a dev dependency, you only get the warning when you clone Slim.  It doesn't happen if Slim is a dependency in your Composer file.