Prohibit DecisionTimeout larger than certain max value

This seems to be a common problem clients run into where they set very large DecisionTimeout value when starting workflow execution.  This cause the workflow to appear it is stuck when decision is dropped by the worker for whatever reason.  Decision should be very fast and most of the time should take under a second.  We need to restrict DecisionTimeout to some reasonable value, like 60 seconds for instance.
Things to consider when restricting are:

Local Activity
Debugging experience is effected as decision will timeout when stepping through decider code

One idea is to log a warning when someone sets a decision timeout higher than a threshold.
Another idea is to reject request on docker with higher decision timeout for developers to catch these during development.

decision mac start to close timeout is default to 4 min:
https://github.com/uber/cadence/blob/master/service/history/service.go#L196


Parent-child relationship should trump chronological order

Github displays commits in chronological order, which may not make a lot of sense if a child commit has commit and author timestamps older than its parents.
I would also be curious how Github displays graphs with more than one initial commit, or more than one connected component.

Hi, I believe this is a question about GitHub.com, the website. This issue tracker is for a command-line utility called hub, not the website itself. For reporting bugs and requesting features for GitHub the website, please go to https://github.com/contact or visit https://github.community. Thank you!

Oops, my mistake, thank you for clarifying.


[Rust][Diagnostics][WIP] Add initial boilerplate for Rust diagnostic interface.

This PR exposes new diagnostics to Rust so we can reuse the better libraries for diagnostics rendering via Rust.

cc @gussmith23 and @mwillsey

I think this one is now ready to roll.


Lizard namegen can produce a forbidden name

Description
The file for female reptilian names contains "Lifts" and "Tail", meaning "Lifts-Tail" can be generated randomly. People have been bwoinked for similar names before, so this name probably shouldn't be possible.
Reproduction
N/A
Screenshots
N/A
Additional context
This name can be seen as a Rule 4 violation, and has previously been interpreted as such.

I see Three ways to handle this

Remove one of the two words from the list
Create a system where we can designate specific "rejected combinations" in the random name generation
Declare that players are ultimately responsible for making sure randomly generated names are rule-compliant

Just removing it seems simple. I think the game giving you a name that's not compliant with the rules is basically just baiting players into being bwoinked and thus not the option that should be chosen.

am i stupid or what is wrong with this name

Declare that players are ultimately responsible for making sure randomly generated names are rule-compliant

Can't rely on (new) players knowing the specifics of rules and why they're bad.
A rejected combinations list is likely the way to go. Not that this is a huge priority.

Declare that players are ultimately responsible for making sure randomly generated names are rule-compliant

Can't rely on (new) players knowing the specifics of rules and why they're bad.
A rejected combinations list is likely the way to go. Not that this is a huge priority.

Join wizden as four first time for SS14, gee, I do not know what to do, better click that join button and find out in game...


bug: build with nextjs failed

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.8.5
Current Behavior
there is a related issue https://github.com/wagmi-dev/wagmi/issues/1255 about lower typescript, however I using higher version
run npm run build failed
<EMAIL_ADDRESS><EMAIL_ADDRESS>node version v18.12.1
typescript version 5.0.0-dev.20221117

Thanks for reporting. This issue is temporarily closed due to lack of information. Please provide a minimal reproducible example and reopen this issue.

@tmm Hi, can you check on https://github.com/callmejm/check_sample , I have uploaded a repo, when npm run build having the same issue

<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>


Don't use deprecated DatasetFilter + update deps

DatasetFilter has been deprecated since version 0.21.0 and will be removed in next version of huggingface_hub (0.24.0). This PR updates the code to get rid of DatasetFilter and use plain args instead. I also took the liberty to update the minimal huggingface_hub version. For the record transformers/datasets/diffusers latest versions are already set to use 0.22.0+ so should be fine. I also removed tests for Python3.7 since latest versions don't support it (since June 2023).
Related deprecation PR: https://github.com/huggingface/huggingface_hub/pull/2028.
cc @tomaarsen

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

I appreciate it. I'll look at this PR (and others on SetFit) after the v3.0 Sentence Transformers release (scheduled this month). Apologies for the delays.

Tom Aarsen

No worries, that's fine I think. Just wanted to make sure we don't forget.

No updates on this?

Hello!
Apologies for the delay! I've merged these changes into main and resolved the remaining outstanding issues as well. I expect this'll all be included in a release quite soon (this week?). Thanks a bunch for making this PR!

Tom Aarsen


Team 1 HW3 - Slack Chatbot Submission

This pull request introduces enhancements to the Slack chatbot, improving message handling and integration. It addresses the initial setup requirements and lays the groundwork for future feature expansions.

The changes we have suggested in the earlier review havent been introduced

The changes we have suggested in the earlier review havent been introduced

@mittalmridul here is the link for the new PR to be reviewed, it was also in excel sheet: https://github.com/nyuoss/mAIgic-nyu/pull/14


Update backend to use the new local database instead of JWPlatform APIs

Use the new django models to search for the media items.

An implementation of this is in https://github.com/rjw57/sms-webapp/tree/issue-68-use-synced-metadata but opening a PR is blocked until #71 is merged.


LineEdit does not open the iPad virtual keyboard when exported to HTML

Godot version:
Godot v3.2.3
OS/device including version:
MacOS exporting to HTML
Issue description:
When clicked, a LineEdit does not open the virtual keyboard (of a tablet or phone) when running on an HTML exported project
Steps to reproduce:

Open on a phone or tablet a project exported to HTML containing a LineEdit, for example  https://origamer.itch.io/ortografiator
Click on the LineEdit
The device virtual keyboard should open, but it doesn't

Minimal reproduction project:
Any project with a LineEdit exported to HTML

Duplicate of https://github.com/godotengine/godot/issues/32680.


hopm support (connection notices)

Hi,
I've set up an Oragono server (I really appreciate how quick & easy it was, well done everyone), but I have a problem with bots connecting via TOR and other open proxy services and spamming all visible channels.
In the past when I used unrealIRCD, I installed hopm and that got rid of the bots. I wanted to install it on my Oragono server too, but it seems that since Oragono has no option to send connection notices to opers, there's no way hopm would work with Oragono.
It would be awesome if there was a special oper capability level that would cause connection notices to be sent to this oper, so that I could configure hopm to ban those bots.
Thanks!

Hey @elad661!
I just threw in this commit that makes Oragono compatible with HOPM.
With these settings and the above commit (either compiling a new copy of Oragono from scratch or waiting for the new release to drop), you should be able to have it work without any trouble:
Oragono config:
# operator classes
oper-classes:
    # hopm
    "hopm":
        # title shown in WHOIS
        title: Proxy Monitor

        # capability names
        capabilities:
        - "oper:local_kill"
        - "oper:local_ban"
        - "oper:local_unban"
        - "nofakelag"

# ircd operators
opers:
    # operator named 'hopm'
    hopm:
        # which capabilities this oper has access to
        class: "hopm"

        # custom hostname
        vhost: "oragono.test"

        # modes are the modes to auto-set upon opering-up
        modes: +is c

        # password to login with /OPER command
        # generated using  "oragono genpasswd"
        password: JDJhJDA0JGxqbnNBN1FjSDJBR3NLMFBRTzRsRmVQODkyUXhEcnBiUFl3SVpDblVSSGJnY0dWNFM3cjZH

hopm config:
	/* oragono */
	connregex = ".+-.+CONNECT.+-.+ Client Connected \\[([^ ]+)\\] \\[u:([^ ]+)\\] \\[h:([^ ]+)\\] \\[ip:([^ ]+)\\] .+";

	/* A DLINE example for oragono */
	kline = "DLINE ANDKILL 2h %i :Open proxy found on your host.";

I'll leave this issue open 'til a new release is cut and put in anyways. If you can tell me which OS you use I'll build and upload a new Oragono build you can test now if you'd like :)

Wow, that was quick! thank you!
I'm using CentOS, and I have no problem compiling Oragono myself. I'll test it tomorrow evening :)

Nice. I'll add instructions to the manual around this, add the hopm classes to the default config and then close this issue!

If I understand correctly, the only remaining task is a config / documentation change? In that case we could fit this into v0.13.0.

Documentation change yeah. Makes sense to explicitly include this in the manual. Particularly as it involves explicitly changing the hopm detection config to detect our snomask lines. I could see including the hopm oper class, commented-out, in the default config to simplify things though, if you're leaning towards doing that and possibly also including the commented-out hopm oper?


Add dotPeek to support SourceLink

@maartenba,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thanks!


Plugin no longer works for some reason.

So i've been running it fine on 1.16.2 Tuinity for a while now and all of a sudden I start up the server today and it loads in fine yet doesn't want to spawn the screen. Any ideas? Am on Java 8.
https://pastebin.com/raw/81NUYTwr

The plugin is updated to 1.16.3.

Unfortunately it doesn't seem to want to work: https://pastebin.com/raw/euvjqsed

Make sure you're building with shadowJar to shade the command framework

I got it to compile now but it seems to crash everytime I play a video, no matter the length. Granted this is my screen size:
display-height: 120 display-width: 180
Although I have 6GB on a tuinity server which seems really odd... it worked fine on 1.16.2.

Try using either 72x128 or 144x256

Same issue, I also get this error when I play the already downloaded video but I would presume that has to do with me not being able to change/setup the server properly. Here is the log file btw.

You currently need to delete the data folder inside of the plugin folder. The previously saved videos are saved with the wacky resolutions. We do not support non standard resolutions as of now tru and stick to the ones I mentioned above

Okay so i'm having mixed/random results. At first it was crashing but it now seems to be working apart from the obvious resource pack thing. The server has 6 GB though and the plugin always seems to bring it down to 18 TPS which is odd. Here is a timings report if this will help diagnose any issues. One thing I noticed is that the video slowed down and sped up at random times which would make it off sync with the audio from my custom resource pack, is there any way to fix this?
Thank You though!

Updated to 1.16.4. https://pastebin.com/raw/CiKRyGK5


fix(docs): prevent browser to download the entire video in first page load + fix empty controls attribute

fix(docs): prevent browser from downloading the entire overview video in the first page load
fix(docs): allow embedded video to be playable
SUMMARY

As above
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before

After

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

I wonder if this would work on the README.md too.


chore(lib/fetch): dynamic import @supabase/node-fetch

Dynamic import('@supabase/node-fetch') in lib/fetch to avoid possible Cannot read property 'bind' of undefined error.
Closes #1303

Similar updates are made to @supabase/postgrest-js, see https://github.com/supabase/postgrest-js/pull/576

Hi @soedirgo, please kindly look at this PR, thanks~

In my opinion this is a very good improvement, thanks for the work @liyachun01!  This will probably also solve problems when using supabase-js in an Angular project with SSR enabled.
I hope that this PR can be reviewed and merged in the near future. 🤞


Update Readme.md

Hope You Like It :)

Before Merging Just Add hacktoberfest-accepted label to count the contribution 👍🏻


Update README.md: add link to script to query the rest api

link to script to query the rest api from the commandline

perhaps it's possible to only run puppeteer, if this script returns ok - it should reduce the load on the server.


Need script for mariadb ver 5.5

Hi, Would you share a SQL script for MariaDB version 5.5 cause that version did not has tables performance_schema.global_status, performance_schema.events_statements_summary_global_by_event_name, and performance_schema.replication_connection_status.
Thank you

I got an error below after created m2.db

Did You tried the MariaDB version of the dashboard?
You can find it here: https://grafana.com/grafana/dashboards/11679

Did You try the MariaDB version of the dashboard?
There are many little differences between MySQL and MariaDB for DBAs queries...
You can find it here: https://grafana.com/grafana/dashboards/11679

Have You tried the MariaDB version of the dashboard yet?
There are many little differences between MySQL and MariaDB for DBAs queries...
You can find it here: https://grafana.com/grafana/dashboards/11679

Hi Thanks for your help, but any change in file my2.sql ?


Add String() operator for Quat

mmmh the same method in the main Godot repository is:
`Quat::operator String() const {
return String::num(x) + ", " + String::num(y) + ", " + String::num(z) + ", " + String::num(w);

}`
Why add the square brackets?
I don't think they are necessary + no consistency with main repo.

I implemented for display purposes only for my debug window.  As far as I know we do not do any operations for String(Quat(x,y,z,w)). Is there?
I was just making sure it won't look like a "Vector4" (which it is technically if such type exists here) but I was dealing with a Quaternion which are dealt with differently so I want to further emphasize it by displaying it with square brackets.
Just an additional question, are we waiting for the "complete" rewrite mentioned here: https://godotengine.org/article/vulkan-progress-report-1 at the moment?

I would still obey the format set forth by the main Godot repository as deviations between can only lead to inconsistencies and confusion along the line.
If you think the format of printing Quats is ugly/wrong or confusing you can always make an issue on the main godot repo to discuss this :D (this is NOT ment in a pedantric way, the problem should just be tackled at the source imho)
Regarding the wait for Vulkan implementation, you'll have to ask @karroffel if we are waiting for that or not. Honestly, I also don't really have an idea on how much this will break..

I think this "complete rewrite" is referring to the rendering features.

Thanks guys, my last question is not related to the main topic here. I just wanted to ask a quick one since the last commit was 2 months ago I thought this repo is in a sort of a code freeze due to that "complete rewrite".
I'm closing this pull request now but I'll come back some other day with other pull requests since I'm looking into something that seemingly not working on my project ( not mine really, I'm just rewriting tps-demo's scripts to gdnative). Thanks again.


Use list instead of table for better readability on mobile devices

Context
The mobile layout of the new wrapper chapter is broken due to use of a table for the command line options.

Ah, so much better.

❤  our new focus on mobile!

@lptr why? (not debating, just curious)


redux not found

<EMAIL_ADDRESS>start /home/cdps/Downloads/reactjs-jointjs-example-master
watchify app/app.js -t babelify -o public/js/bundle.js --verbose --debug

Error: Cannot find module 'redux' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'react-redux' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'react' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'react-dom' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'redux-immutable' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
{ [Error: ENOENT: no such file or directory, open 'public/js/bundle.js']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'public/js/bundle.js' }
Error: Cannot find module 'react-redux' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'react' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'react-redux' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'react' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app'
Error: Cannot find module 'react-dom' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app/stations'
Error: Cannot find module 'react' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app/stations'
Error: Cannot find module 'react-redux' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app/stations'
Error: Cannot find module 'react' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app/stations'
Error: Cannot find module 'react' from '/home/cdps/Downloads/reactjs-jointjs-example-master/app/stations'

Did you run npm install first?


Implement Crossdock TChannel requests

[ ] rename thrift package to crossdock.thrift
[ ] use master image for Go

LGTM


pronto-reek doesn't respect --exit-code option

I'm experimenting with using reek as part of our CI process however I'm noticing that reek seems to always return 0 (success) even though it logs a number of issues.
Is this the expected behaviour, and if so, can it be overridden?

@edude03 could it be because of https://github.com/mmozuras/pronto-reek/pull/13?

ugh..seems like it- can we make this configurable?

@dstull sure, go ahead, I'd be open to a PR implementing it 😄

hmm, I was just looking into doing that...but I'm more of the opinion that https://github.com/prontolabs/pronto-reek/pull/13 should be reverted.  The whole point of using this is to be made aware of possible issues, if ran manually and automatically.  If someone wants to mute a reek smell, then they should exclude it in their .reek file or inline...not here.

@dstull is this still an issue?

@ashkulz i have since changed jobs, and no longer use it.  So not for me, but maybe for others if they use this.

Hey guys, I bumped into this issue today! I'm using pronto (with pronto-reek) along with git-hooks managed by Overcommit. Overcommit is unfortunately swallowing errors coming from pronto-reek since it does not return an error code 😢 (see https://github.com/sds/overcommit/issues/754)


Multi scene objs

Allow multiple scene objects to be tracked at the same time by the RadianceObj.  This is accomplished by running makeScene multiple times, each one appends a new SceneObj to RadianceObj.scenes which is a new list to track scene objects.
todo:

[ ] CompileResult is hardcoded to run once over all sceneNums, even if bifacial modules and details are different.
[ ] Functionality to pop scenes from trackerdict if desired. This may mess up some naming, for instance if we have Scene0, Scene1, Scene2 and Scene1 gets popped.  May require renaming the remaining scenes...
[ ] RadObj.addPiles needs to be moved out of RadObj and refactored
[ ] Check appendtoscene function- it's currently both in RadObj and SceneObj, and operates differently in each place...
[ ] In modelchain, sceneNum is hardwired to 0 in  simulationParamsDict.get('saveImage') (line 253 of modelchain)
[ ] notebooks need to be updated to demo new functionality
[ ]  readthedocs API and whatsnew
[ ] Code changes are covered by tests
[ ] Code changes have been evaluated for compatibility/integration with GUI
[ ] New functions added to __init__.py

Moved over to PR #488

OK, nevermind, we'll work on this branch to make it easier.  Closing #488

calculateResults() failing with multi scene and multi result objects...

backseat driving --- there is an option of AgriPV = True which basically bypasses calculating module results (I think it might also look at only 1 single csv result front or back, I don't recall), but it was also not working with multi result/object

Tests are passing, just a coveralls error.  This is ready to merge with development.  We can update journals from there.


Support aarch64 in walredo seccomp code

Aarch64 doesn't implement some old syscalls like open and select. Use openat instead of open to check if seccomp is supported. Leave both select and pselect6 in the allowlist since we don't call select syscall directly and may hope that libc will call pselect6 on aarch64.
To check whether some syscall is supported it is possible to use scmp_sys_resolver from seccopm package:
> apt install seccopm
> scmp_sys_resolver -a x86_64 select
23
> scmp_sys_resolver -a aarch64 select
-10101
> scmp_sys_resolver -a aarch64 pselect6
72

Negative value means that syscall is not supported.
Another cross-check is to look up for the actuall syscall table in unistd.h. To resolve all the macroses one can use gcc -E as it is done in dump_sys_aarch64() function in libseccomp/src/arch-syscall-validate.

should fix https://github.com/neondatabase/neon/issues/3852 and https://github.com/neondatabase/neon/issues/3847


make a basic hello world example.

@linshire
In this month(-2.28),

Please make a basic hello world example in the repo.
Implement basic string APIs for string.c;
Implement basic ctype.h APIs;
Add SConscript for RT-Thread building.

ok，I will finish it.


deps: NRT: consume API v1alpha2

update deps to consume the v1alpha2 API
perform the (trivial) local changes to consume the updated deps

/retest

/cherry-pick release-4.13


BC_19: Only one bar is appeared while all region name are displayed on Y-Axis

SEVERITY: Major
MODULE: Bar Chart
OS/BROWSER: Windows 7 / Chrome 45.0
STEPS TO REPRODUCE:

Navigate to URL: http://static.gapminderdev.org/vizabi/develop/preview/fullscreen/Barchart.html
Bar chart page will be loaded
Click on axes menu
Select x-axis dropdown as “indicator/_default”
Select y-axis dropdown as Region or Geo Code
Note that only one bar is appeared while all others region name are appeared on y-axis

ACTUAL RESULTS:
Only one bar is appeared on x-axis while all other name are displayed on y-axis
EXPECTED RESULTS:
All bars of region should be appeared as long as their name displayed on axes
SCREENSHOT:

All bars of region should be appeared

x-axis contains bars, indicator/default it is only one bar. When you change x-axis to Region and y-axis to indicator/default then there will be 4 bars.

@IncoCode
As you instructed in above comment, but issue still remain the same as "Only one bar is appeared" on Y-axis. Retested in "develop" branch, see below screenshot.

Seems like axis dialog doesn't wait for loading data from waffle-server or something. this._dataId still contains old request id when user selected new value in indicator picker, after a few moments this._dataId got updated, but it's too late. Have no idea how to fix that.

Guys, @IncoCode 's fix seems be correct but it treats a different problem
Meanwhile "steps to reproduce" make absolutely no sense and show that we need to just hide impossible options from the list. See #372 for more

Retest Result: Failed
RELEASE: v0.7.0
DESCRIPTION: This issue is reproduced in another way, can be seen in below screenshot
SCREENSHOT:

@k6Labz as you can see from your screenshots Constant has only one value in ita domain (_default). The same with Region, Region equals world for America, Asia, Africa and Europe.

@k6Labz see the discussion above. "steps to reproduce" make absolutely no sense and show that we need to just hide impossible options from the list. See #372 for more


Validation should not be triggered on FieldArray push() when validateOnBlur=false and validateOnChange=false

Hi there!
I might have found a bug, let me describe it.
Steps

Open the following form https://codesandbox.io/s/formik-example-yyo9j with FieldArray used and validationOnBlur=false and validateOnChange=false set on the Formik.
Focus the text input field.
Click the "Add new" that adds a value using push() to the FieldArray.

Result
Validation is triggered and an error for the email field is shown.
Expected
Validation should not be triggered and email field error should not be shown.
Could you please check that? Thanks.

I see, you are using very old and outdated react and formik versions, would recommend you to upgrade your react to 16.8 and formik to the latest stable


Add detach support

Added detach support !

:+1:

Hi,
Do you want this features ?
Thanks,

:+1:


Unable to restore or run vNext application

Development platform: Windows Server 2012 R2 Datacenter (Azure Visual Studio Template CTP6 build)
All of the projects that I have been playing around with are no longer build in Visual Studio or at the command line. Let me use the simplest example. A web project with the following project.json:

{
    "dependencies": {

        "Kestrel": "1.0.0-*",
        "Microsoft.AspNet.Diagnostics": "1.0.0-*",
        "Microsoft.AspNet.Hosting": "1.0.0-*",
        "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
        "Microsoft.AspNet.StaticFiles": "1.0.0-*",

    },
    "commands": {
        "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001",
        "kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
    },
    "frameworks": {
	"aspnet50": {},
        "aspnetcore50": {}
	}
}

When attempting to run a kpm restore at the command line I get the following error:

C:\Git\vnhelloweb>kpm restore
Restoring packages for C:\Git\vnhelloweb\project.json
  CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Kestrel'
  CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Kestrel'
  CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics'
  CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics'
  CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting'
  CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting'
  CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener'
  CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener'
  CACHE https://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles'
  CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles'
Writing lock file C:\Git\vnhelloweb\project.lock.json
----------
System.ArgumentException: Can not add property Microsoft.AspNet.Hosting to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.
   at Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken existing)
   at Newtonsoft.Json.Linq.JContainer.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
   at Newtonsoft.Json.Linq.JObject.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
   at Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object content, Boolean skipParentCheck)
   at Newtonsoft.Json.Linq.JContainer.Add(Object content)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteObject[TItem](IEnumerable`1 items, Func`2 writeItem)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WritePackageDependencySet(PackageDependencySet item)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteObject[TItem](IEnumerable`1 items, Func`2 writeItem)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteLibrary(LockFileLibrary library)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteObject[TItem](IEnumerable`1 items, Func`2 writeItem)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.WriteLockFile(LockFile lockFile)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.Write(Stream stream, LockFile lockFile)
   at Microsoft.Framework.Runtime.DependencyManagement.LockFileFormat.Write(String filePath, LockFile lockFile)
   at Microsoft.Framework.PackageManager.RestoreCommand.WriteLockFile(String projectLockFilePath, Project project, List`1 graphItems, PackageRepository repository)
   at Microsoft.Framework.PackageManager.RestoreCommand.<RestoreForProject>d__79.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Framework.PackageManager.RestoreCommand.<>c__DisplayClass77_0.<<ExecuteCommand>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Framework.PackageManager.RestoreCommand.<>c__DisplayClass89_0`1.<<ForEachAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Framework.PackageManager.RestoreCommand.<ExecuteCommand>d__77.MoveNext()
----------
Restore failed
Can not add property Microsoft.AspNet.Hosting to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.

C:\Git\vnhelloweb>

***

This seems to be happening across my projects. I tried to get the development version of the KVM (that has helped in the past when things break):

***

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.ps1'))}"

***

...but that fails with the error:

***

Using temporary directory: C:\Users\tdu\AppData\Local\Temp\2\kvminstall
Downloading from https://raw.githubusercontent.com/aspnet/Home/dev
Downloading KVM.ps1 to C:\Users\tdu\AppData\Local\Temp\2\kvminstall\kvm.ps1
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:16 char:1
+ $webClient.DownloadFile("$BaseUrl/kvm.ps1", $kvmPs1Path)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Downloading KVM.cmd to C:\Users\tdu\AppData\Local\Temp\2\kvminstall\kvm.cmd
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:18 char:1
+ $webClient.DownloadFile("$BaseUrl/kvm.cmd", $kvmCmdPath)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Installing KVM
& : The term 'C:\Users\tdu\AppData\Local\Temp\2\kvminstall\kvm.cmd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:20 char:3
+ & $kvmCmdPath setup
+   ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\tdu\Ap...install\kvm.cmd:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I can see some changes came in over the weekend moving from kvm to dnvm, but I am not sure if that is related to this. I am a bit stuck. Any help would be much appreciated. Here are the KRE's installed on my machine:

C:\Git\vnhelloweb>kvm list

Active Version           Runtime Architecture Location                 Alias
------ -------           ------- ------------ --------                 -----
       1.0.0-beta3       clr     x64          C:\Users\tdu\.k\runtimes
       1.0.0-beta3       clr     x86          C:\Users\tdu\.k\runtimes
       1.0.0-beta3       coreclr x64          C:\Users\tdu\.k\runtimes
       1.0.0-beta3       coreclr x86          C:\Users\tdu\.k\runtimes
       1.0.0-beta4-11169 clr     x86          C:\Users\tdu\.k\runtimes
       1.0.0-beta4-11169 coreclr x86          C:\Users\tdu\.k\runtimes
  *    1.0.0-beta4-11181 clr     x86          C:\Users\tdu\.k\runtimes default
       1.0.0-beta4-11181 coreclr x86          C:\Users\tdu\.k\runtimes

@ChengTian I've seen a similar issue yesterday while restoring the MVC package. I think there is a bug there...

There's no bug here. You can't use k/kre/kvm with the newest packages, it doesn't understand the DNX TFMs.
@jsacapdev You need to download the dnvm from the Home repository or stick to packages that existed before last friday.

Come on, folks.  This is the second time in as many months that the dev branch has had a complete and total compatibility break with current dev tools and that users of it were provided no notification or instructions about it.  To top it off, all of the associated packages were changed so that they will only work with DNX, but there was no semantic version change.  "You'll have to use the packages that existed before last friday" is not terribly helpful when the packages from before last friday and today are BOTH -beta4-11xxx packages!  What other realistic option do we have other than back-tracking entirely to beta3?
I've installed DNX and of course Visual Studio has no idea what to do with it.  Junctioning .dnx to .k doesn't help this time (as it did for the .kvm to .k change).
While obviously we're playing with the bleeding edge here and have no expectation of things being stable, I also want to point out that there's obviously value in having a significant number of developers involved with the dev branch and I imagine that this is going to cause a significant number of those developers to drop it.
Therefore I have a few questions:

Is there a list of packages, or a dedicated feed that will provide us with the latest versions of the "kvm"-compatible packages before they all switched to DNX?
Is there any known way of getting DNX working with Visual Studio?
If not, is there any sort of ETA for when that's going to happen?
Is there some sort of place where people can look for announcements and have discussions about major changes like this, so that we can have some sort of warning or information?  I would imagine that the Home page would be a place for this, but no information gets posted on there.
For those of us who have been using the dev branch with Visual Studio, do we have absolutely any recourse other than just waiting, or dropping back to beta-3 packages, which are now months old?
If the answer is no, should we expect that major compatibility breakages like this will be the norm from now on and that we should not expect it to be usable with Visual Studio until the next master release?  Has there been a conscious decision by the project leads that this is a compromise that's for the greater good of the project, assuming that each time this happens you lose a major chunk of the devs using Visual Studio?

I've been in the beginning stages of starting a major project with the assumption that aspnet5 will be production ready around the time when the project is completed (in another 6-9 months) and while I've been having very good experiences with the state of most of the frameworks themselves (excluding EF7, which we're probably dropping) the constant state of flux of the runtime and build tools has been making this experience feel pretty excruciating over the last few months (since the .kvm to .k switchover).

This video answers most of the questions:
https://www.youtube.com/watch?v=-qt0POsiAF8
So far the answers seem like:

No
No
No
Not really

I'll see if we can get a list of package versions that work.

Thanks.  You've probably seen that I've created issue #377 specifically for that.


feat(linux): expose gtk_window method

Nice project, I'd love to make some desktop widgets for Linux using Tauri. Is there any way we could set the type hint on Linux and possibly use the layer shell API?
Describe alternatives you've considered
Perhaps the developer could create their own modified window and pass it to Tauri or modify it in a closure?

Here is the relevant line in Tao  https://www.github.com/tauri-apps/tao/tree/dev/src%2Fplatform%2Funix.rs#L18

@reujab  Hello, did you achieve to create a layer shell ?

No additional functionality is needed in Tao, we already expose a method to get the gtk_window so users can do what they want with it, will transfer back to tauri.

It looks like it is impossible to make a layer shell because the gtk_window is already used before getting it with the getter.

No additional functionality is needed in Tao, we already expose a method to get the gtk_window so users can do what they want with it, will transfer back to tauri.

It looks like it is impossible to make a layer shell because the gtk_window is already used before getting it with the getter.

Agree, here is my attempt
// tauri = { version = "1.4", features = ["shell-open"] }
// serde = { version = "1.0", features = ["derive"] }
// serde_json = "1.0"
// gtk-layer-shell = "0.4.4"

// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

use tauri::Manager;
use gtk_layer_shell::init_for_window;

fn main() {
    tauri::Builder::default()
      .setup(|app| {
        let main_window = app.app_handle().get_window("main").unwrap();
        let gtk_window = main_window.gtk_window().unwrap();

        init_for_window(&gtk_window);

        Ok(())
      })
      .run(tauri::generate_context!())
      .expect("error while running tauri application");
}

the result looks just like what @LucaCoduriV said
** (tauri-app:1234859): CRITICAL **: 20:59:12.253: custom_shell_surface_init: assertion '!gtk_widget_get_mapped (GTK_WIDGET (gtk_window))' failed

https://github.com/wmww/gtk-layer-shell/blob/master/src/custom-shell-surface.c#L80
Since the initial goal was to enable Tauri to use layer shell, should this issue be marked as open again?

To be able to make layer shell would be so nice ! It would open a lot of possibilities !

@amrbashir @nothingismagick
Can we reopen this issue ?

the expected API is already exposed here https://docs.rs/tauri/latest/tauri/window/struct.Window.html#method.gtk_window so there is no reason to re-open the issue.

Well, this part seems to be unresolved:

It looks like it is impossible to make a layer shell because the gtk_window is already used before getting it with the getter.

Though i'm not sure how to resolve it in tauri tbh. Maybe a setter in the WindowBuilder? Or maybe this is just something we consider out of scope for tauri itself and something that should be done by using Wry instead idk

This should have its own issue then

Thanks to @MrAdhit’s comment (https://github.com/andrewbaxter/wongus/issues/4#issuecomment-2408108123), I managed to make Tauri work with GTK Layer Shell. I hope this will be useful to someone.
// [dependencies]
// gtk = "0.18.1"
// gtk-layer-shell = "0.8.1"

use gtk::prelude::{ContainerExt, GtkWindowExt, WidgetExt};
use gtk_layer_shell::LayerShell;
use tauri::Manager;

tauri::Builder::default()
    .setup(|app| {
        let main_window = app.get_webview_window("main").unwrap();
        main_window.hide().unwrap();

        let gtk_window = gtk::ApplicationWindow::new(
            &main_window.gtk_window().unwrap().application().unwrap(),
        );

        // To prevent the window from being black initially.
        gtk_window.set_app_paintable(true);

        let vbox = main_window.default_vbox().unwrap();
        main_window.gtk_window().unwrap().remove(&vbox);
        gtk_window.add(&vbox);

        // Doesn't throw errors.
        gtk_window.init_layer_shell();

        // Just works.
        gtk_window.set_layer(gtk_layer_shell::Layer::Top);

        gtk_window.set_width_request(640);
        gtk_window.set_height_request(480);

        gtk_window.show_all();
        Ok(())
    })
    .run(tauri::generate_context!())
    .unwrap();

Hey! I'm writing an app that requires a keyboard to use. To get keyboard focus I also had to add:
// gtk-layer-shell = { version = "0.8.1", features = ["v0_6"] }
gtk_window.set_keyboard_mode(gtk_layer_shell::KeyboardMode::Exclusive);

to allow for keyboard interactivity.

Thanks for this solution! The above code can indeed create a webview window with a layer shell.
However, I cannot use app_handle.get_webview_window("main").hide() to hide the window on demand because get_webview_window still gets the original window that we have hidden instead of this new gtk_window.
I need a solution... Thanks.

Thanks for this solution! The above code can indeed create a webview window with layer shell enabled.
However, I cannot use app_handle.get_webview_window("main").hide() to hide the window on demand because get_webview_window still gets the original window that we have hidden instead of this new gtk_window.
I need a new solution... Thanks.

I think that it should be possible to reference the new window somewhere to get access to it.


Feature Request: Empty Mask on Image Upload Without Running SAM

Problem
While preprocessing images, I find that some small text cannot be easily detected using segmentation. Thus I find it easier to just manually mask out parts of the image that I want to inpaint. However the current state of this module requires that I first upload my image, then run segmentation, then create a mask from the segmentation. This flow is incredibly slow and wastes a lot of time.
Request

When I upload an image, I would like for the mask editing region (mark in red in the image above), to just have the uploaded image displayed with an empty mask. This way we can use the inpainting/cleaner features with our manually masked image without ever having to run the SAM model.
Alternatively, if there already exists a mask when a new image is uploaded, then it may be nice to keep the previous image's mask loaded. The mask would of course need to be scaled to the new image. You could also choose to just reset the mask if the image sizes are different. Which ever you'd prefer to implement.
Additional Notes
It looks like the input_image_upload event handler is expected to return the selection mask as its 2nd variable so I would expect it to just be a 2D numpy array of bools but it appears to be a uint8 array of the same shape as the input image (including depth channel). At some point, however, this return is being converted into a gradio Image but I can't seem to find where that is happening. Is there a possible edge case in here where the sam_image and sel_mask parameters to this handler are passed as NoneType causing the handler to return numpy arrays which would in turn throw an error later on?
Also it seems like the Clear button in the mask image editor doesn't work. I'm not sure if this just needs to be hooked up or if more needs to be done but it isn't currently clearing the mask.

I have made a revision based on your suggestion. Now, when uploading an image, an empty mask will be displayed in the mask area at the bottom right, allowing you to edit the mask immediately. If a mask already exists and the size of the input image and mask match, the mask will be retained. If they do not match, the mask will be cleared.
Please update the repository sd-webui-inpaint-anything and try it out.

Is there a possible edge case in here where the sam_image and sel_mask parameters to this handler are passed as NoneType causing the handler to return numpy arrays which would in turn throw an error later on?

If the input is of NoneType, there should be no problem with returning an np.ndarray. However, if the input is a instance such as dict, the function will need to return the result using gr.update().

Tested the changes and they appear to be working as expected. Thank you for the fix! :)
For future readers, these changes were made in the following commits:

4f0d8eba6ee46b9a2b79abeff7a2b124b024918d
067038bd18dd2b5ea93f55622670b5315051d422


yolo-nas sem

💡 Your Question
i want to learn about yolo nas with segmentation. but I tested with 1 image and got an error, can you help me?
from super_gradients.common.object_names import Models
from super_gradients.training import models
model = models.get(model_name=Models.PP_LITE_T_SEG75, pretrained_weights="cityscapes")
IMAGES = [
"https://deci-pretrained-models.s3.amazonaws.com/sample_images/beatles-abbeyroad.jpg",
]
predictions = model.predict(IMAGES)
predictions.show()
predictions.save(output_folder="")  # Save in working directory
AttributeError: 'PPLiteSegT' object has no attribute 'predict'
Versions
No response

Hi @POVTUASTHOV, the .predict API for segmentation models is still in our roadmap.
Until we release it, you can write a few lines of code to do the same, as shown in this collab notebook (check the segmentation part).
Hoping this helps!


Peer-to-Peer Code Review

First of all, congratulations for making the effort of optimizing your code, you did an amazing job!
Here is a suggestion for improvement:

Consider adding screenshots of the project to the READMe.md file

Solved on migration


ansi sequences

hi, i searched a tool like fzz for a long time, i like it.
let me add in some improvement ideas.
it does not handle ansi escape sequesnces (eg. color codes) well. see:
ls -l | fzz grep --col=always {{.}}

Hey @bAndie91, sorry for not replying earlier!
Happy to hear that you're interested in fzz and that you like it, but I have to admit that your tickets are a little bit "waking the dead" 🙂 I haven't worked on and with fzz in a long time. And I don't think I can do so in the next few weeks or even months.
If you want to hack on it and open a PR: please, go for it! Happy to merge it!


multiline input please?

I'd like to run a longer jq script, but the one-line input field is very unweildy for that.
Replacing the input with textarea should do the trick. It can even be the same size, but then I can resize it myself.

Additionally, this should make it monospace (which I was considering suggesting too)

This is done in https://github.com/owenthereal/jqplay/pull/124.


Guest can not see the projector

Even when the permission for the guest user allows him to see the projector, he can not see it.
The problem seems to be, that he tries to get the config and thereby gets a 403. So this seems to be a problem on the server side

Sry. The guest was not enabled... maybe we shoud hide the guest group when it is not enabled to user (or developers...) don't get confused


Moved version to yaml format to expose to application

Failing CI...
 [Symfony\Component\Config\Exception\FileLoaderLoadException]
  There is no extension able to load the configuration for "version" (in /home/travis/build/TransformCore/HayPersistenceApi/app/config/version.yml). Looked for namespace "version", found "framework", "security", "twig", "monolog", "swiftmailer", "assetic", "doctrine", "sensio_framework_extra", "transform_core_phe_hay_api_persistence", "fos_rest", "fos_user", "nelmio_api_doc", "jms_serializer", "transform_core_phe_exporter", "transform_core_phe_local_health_authority", "debug", "web_profiler", "sensio_distribution" in /home/travis/build/TransformCore/HayPersistenceApi/app/config/version.yml (which is being imported from "/home/travis/build/TransformCore/HayPersistenceApi/app/config/config.yml").

https://travis-ci.org/TransformCore/HayPersistenceApi/jobs/90545052

Yeah, working on this at present
On Thu, Nov 12, 2015 at 1:35 AM, Eddie Abou-Jaoude<EMAIL_ADDRESS>
wrote:

Failing CI...
[Symfony\Component\Config\Exception\FileLoaderLoadException]
There is no extension able to load the configuration for "version" (in /home/travis/build/TransformCore/HayPersistenceApi/app/config/version.yml). Looked for namespace "version", found "framework", "security", "twig", "monolog", "swiftmailer", "assetic", "doctrine", "sensio_framework_extra", "transform_core_phe_hay_api_persistence", "fos_rest", "fos_user", "nelmio_api_doc", "jms_serializer", "transform_core_phe_exporter", "transform_core_phe_local_health_authority", "debug", "web_profiler", "sensio_distribution" in /home/travis/build/TransformCore/HayPersistenceApi/app/config/version.yml (which is being imported from "/home/travis/build/TransformCore/HayPersistenceApi/app/config/config.yml").
https://travis-ci.org/TransformCore/HayPersistenceApi/jobs/90545052
—
Reply to this email directly or view it on GitHub
https://github.com/TransformCore/HayPersistenceApi/pull/17#issuecomment-155969247
.


Calculation ID 258

Hi all,
It seems that ID 258 in calculation.py is returning the software version running on the RBE
For me this is 1.12 and the data returned is "112". My luxtronik controller runs version v3.85.8
Anyone else seeing the same?

What exactly is RBE in this context?

I think it's short for "RaumBedienEinheit", a remote control thingy for the heat pump

Ah, okay, don't have it, so can't verify.

For me this value is:

Number: 258   Name: Unknown_Calculation_258                                      Type: Unknown              Value: 0

Probably 0 means "no RBE" then. Are we sure that only value 258 is relevant here, i.e. that the version is represented in only on parameter and not i.e. in multiple ones? What is 259 saying for you?
In my case it is:

Number: 258   Name: Unknown_Calculation_258                                      Type: Unknown              Value: 0
Number: 259   Name: Unknown_Calculation_259                                      Type: Unknown              Value: 1

Hi @kbabioch
See here:

Value 256: 0
Value 257: 0
Value 258: 112
Value 259: 1

So unsure if there is a connection with 259 for example

Do you have a screenshot from the web interface showing this value, i.e. how exactly it is called?

It is shown here at the bottom, freely translated "Firmware version RBE"

Okay, I'm just wondering how 112 is converted into 1.12 here. Probably the first byte is the "major" version and the second byte the "minor" version.
But does the web interface really have some logic to convert / understand every kind of calculation?

The webinterface gets human readable data from the heat pump already. The conversion is done on the heat pump itself.

The webinterface gets human readable data from the heat pump already. The conversion is done on the heat pump itself.

Ok. Do you happen to know how this functionality is implemented? Is it reversible via Ghidra? Might be an interesting location to have a closer look at :-)

No, not really. There are many functions fill_menu (or similar), which seem to be responsible to fill the menus (surprise!), in particular in the settings of the heat pump (all the lists with temperatures, etc). These menus seem to be mirrored to the web interface itself. How ever, I was not able to understand these functions...

I guess that 259 is related to cooling, see #112.

I digged again in the "source" code. Actually the setting of the calculations is done in WebServerAktualisieren (aka refresh web server). Here, one can find the code which sets calculation 258:
  if (Einst_RFVEinb_akt == 4) {
    this = (MB_RMU *)MB_RMU::getInstance();
    local_2c = MB_RMU::getRevision(this);
  }
  else {
    local_2c = 0;
  }

but
undefined2 __thiscall MB_RMU::getRevision(MB_RMU *this)

{
  return *(undefined2 *)(this + 0x42);
}

is not quite helpful (I think that it returns a member variable).

It seems to be trivial to calculate 1.12 from 112, but I would still prefer to understand what exactly is done here (and where). Not sure, if we will find out, though :-).

I've worked on this in #118. If possible, would be great to have some additional feedback. Also having other values reported from the "real world" might be interesting, since we only have two data points so far.


GBIN from DLC

Hi,
I'm editing texts here and there in Re;Birth1, until now everything was fine, but when I wanted to edit the GBIN files from NRB1DLC000000012, the changes won't take effect. I even tried to replace in the PAC file, but doing that makes the items disappear from the game.
DLC where the edit works:
NRB1DLC000000007
NRB1DLC000000008
NRB1DLC000000009
Is it something I'm doing wrong?

I didn't check the DLCs until now so I have no idea what could be wrong. Maybe the game doesn't even use that file (there's a lot of unused/leftover data in the data files...).
Could you try running (the debug version) of neptools server with something like -f log.txt -lcpk=3 and check the log.txt if it actually does something with the aforementioned file?

I don't think they are leftovers. The files I'm trying to edit are stitem12.gbin and stremake12.gbin. These files contains the names and descriptions of items or dungeons that have been added for the DLC.
Here's the log:
https://www.mediafire.com/?fejji2f5l4rtb38
For the two files I mentionned above, it says:
can't fs hook
CreateFileW failed

Hmm, error code 3 means path found. Does neptools/DLC/NRB1DLC000000012/NRB1DLC000000012\database\stitem12.gbin (or .gbin.txt) exists?

So that's what I was doing wrong. My path until now was:
neptools\DLC\NRB1DLC000000012\database
I was missing another NRB1DLC000000012 folder, now everything is fine, thanks.


Sync - project setup, sync module and sync test module

Added library-sync module under packages and configured it to depend on library-base (former library).
The test module now hosts a base module which contains all previously existing tests that target local db use cases and a sync module for sync-related tests. For now sync only contains a sample test.

TODO:

[x] CI: run sync tests
[ ] Dokka: publish documentation only for sync https://github.com/realm/realm-kotlin/issues/394
[ ] Release: analyse release process to include changes for sync https://github.com/realm/realm-kotlin/issues/421

test/sync will be added in the next PR.

I agree with your module naming comment but implementing that change in this PR would pretty much flood my upcoming PR with conflicts so I will do it in the next one.

There will be some cleanup related to the comments in the PR we will put up next.
Tests for base are run, just checked the build log for build no. 14 and everything looks normal.
Dokka seems to be working and generates the artifact correctly, but the docs format is not correct. @rorbech says it is likely this issue has been introduced after the build script cleanup task.
Apart from that nothing that I'm aware of.

Dokka seems to be working and generates the artifact correctly, but the docs format is not correct. @rorbech says it is likely this issue has been introduced after the build script cleanup task.

Created #438 to fix this separately as it doesn't seem related to this PR.


Model ssd

i can set scoreThreshold for model SSD ?

What you are looking for is the "minConfidence" parameter of SSDMobilenetV1Options.

tks i knew


⚠ Secret Website 3 has degraded performance

In d3ddb87, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 3231 ms

Resolved: Secret Website 3 performance has improved in 8c29dd6.


Added MonoBank payment system to GreenCityUBS

GreenCityUBS PR
Summary Of Changes 🔥

Added new DTOs for monobank API.
Added new endpoint to validate paymet.
Added logic to form payment request to API.
Added tests.

Issue link
#7508
PR Checklist Forms
(to be filled out by PR submitter)

[ ] Code is up-to-date with the dev branch.
[x] You've successfully built and run the tests locally.
[x] There are new or updated unit tests validating the change.
[x] JIRA/ Github Issue number & title in PR title (ISSUE-XXXX: Ticket title)
[x] This template filled (above this section).
[x] Sonar's report does not contain bugs, vulnerabilities, security issues, code smells or duplication
[x] All files reviewed before sending to reviewers

please fix this Sonare issue

please fix this Sonare issue

This is because of the commented line where we set the payment:

Please fix sonar issue


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 16:39:29 on 2023.04.11
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 15304
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=15304

Problem has been resolved in 12m 0s at 16:51:29 on 2023.04.11
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 15304


Move the map and its attributes from the Farm domain to the Area domain.

The first time users use Tania, they must choose their farm location by clicking on the map. We realize that this feature is useless for the farm level.
It's better to move the map to the area level so that users can draw a geoJSON polygon to the map for each area. If users have the geoJSON data of each area, they can integrate it with other 3rd party services such as plant health analysis service or maybe to fly an autonomous drone.
Any thought about this? Let's discuss.

To add to the feature, it would be even better to have numerical inputs for the polygon to be as precise as possible. In my expirience planning is done by knowing what the size of the area is (along the edges) and then possibly creating sub-areas that have certain sizes (ie beds of length x and a width y)


Wasm support for use in JupyterLite

It would be nice to be able to run this in-browser for Jupyter lite.
AFAIK the only steps that need to be changed are here:
https://github.com/janpfeifer/gonb/blob/ec07209f333a5f432a3fda9dd71dc35b67c0d113/internal/goexec/goplsclient/exec.go#L52
https://github.com/janpfeifer/gonb/blob/ec07209f333a5f432a3fda9dd71dc35b67c0d113/internal/jpyexec/namedpipes.go#L101
I might implement this, just wanted to see if this was a thing that anyone else has thought about

hi @joshcarp, oh, that is so cool! Let me know if you need some help.
But having said that, there are few things to consider, and I'm not sure what is the "wasm virtual machine" available for Jupyter-Lite. From the top of my head, GoNB will try to execute: go get, go build, go fmt, gopls (the LSP/autocomplete), and the binary it just built.
The named pipes are used to establish an optional out-of-band communication with the kernel, to add support to the special interactions with the front-end (like widgets, or simply display HTML). But if it's not available in the Jupyter Lite environment, I'm sure we can find another way to communicate, and use the same trivial protocol there.
Let me know if you would like to do a VC call to discuss this in details. PRs would be most welcome as well.


F4 Shortcut documentation is missing

According to the keyboard shortcut list, F4 is NOT supported.
However, when hitting F4 (in Microsoft New Edge) e.g. on the customer card, the system open a apparently random page.
What we think is that the F4 takes the user to the assistedit / drilldown of the last flowfield that is shown on the page.
However, this is unwanted behavior. Users coming from the RTC client, tend to use F4 a lot on drilldown fields / field with a dropdown, but it does show a totally irrelevant page, which is confusing.
Can you please document the logic behind the F4 key?
For us, it seemed like a bug instead, but it won't be solved according to https://partner.microsoft.com/en-us/dashboard/collaborate/engagements/1173/feedback/wits/Bugs/389423

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

ID: d96fd662-e905-9df6-60f5-c709f92077c1
Version Independent ID: 172fd943-0f5c-6d4c-b764-ced7fd077a96
Content: Keyboard Shortcuts - Business Central
Content Source: business-central/keyboard-shortcuts.md
Service: dynamics365-business-central
GitHub Login: @bholtorf
Microsoft Alias: bholtorf

Hello Frédérik,
Thanks for reporting this. I think you've found a issue that's related to some legacy code from the Windows client, so I've created a bug for the development team to investigate. The documentation is correct in that the F4 key is not used by Business Central online, so it should not open pages or dialog boxes. In browsers, the F4 key should highlight the URL in the Address bar.
To display the options in a drop-down field in Business Central, use the Alt+Down arrow keyboard shortcut combination.


Missing $ properties

Added a setting to allow properties with a $ in them, for example $type, to be sent through restangular. Right now these properties are stripped out because of the $http service. This should solve the issue described in #896.

Is it still necessary as it turns out that this has been fixed in Angular 1.3.x due to the bug in their serialisation library?

No its not. I've tested it with 1.3 and it works fine.

Cool, still might be helpful for users under 1.3 so maybe worth linking in readme? @mgonto


Error Upon opening file

I get this when I try to open a ROFL file

Try using this program instead https://github.com/fraxiinus/ReplayBook
If that doesn't work, there's a good chance that replay file is corrupted.


Deploy is successful, but out script exits with error

So I am currently using this resource to deploy to a internal snapshot repo. The resource successfully deploys everything, but the script still exits with an error code which causes the build to fail:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.374 s
[INFO] Finished at: 2017-09-26T00:26:19Z
[INFO] Final Memory: 12M/432M
[INFO] ------------------------------------------------------------------------
jq - commandline JSON processor [version 1.5]
Usage: jq [options] <jq filter> [file...]

	jq is a tool for processing JSON inputs, applying the
	given filter to its JSON text inputs and producing the
	filter's results as JSON on standard output.
	The simplest filter is ., which is the identity filter,
	copying jq's input to its output unmodified (except for
	formatting).
	For more advanced filters see the jq(1) manpage ("man jq")
	and/or https://stedolan.github.io/jq

	Some of the options include:
	 -c		compact instead of pretty-printed output;
	 -n		use `null` as the single input value;
	 -e		set the exit status code based on the output;
	 -s		read (slurp) all inputs into an array; apply filter to it;
	 -r		output raw strings, not JSON texts;
	 -R		read raw strings, not JSON texts;
	 -C		colorize JSON;
	 -M		monochrome (don't colorize JSON);
	 -S		sort keys of objects on output;
	 --tab	use tabs for indentation;
	 --arg a v	set variable $a to value <v>;
	 --argjson a v	set variable $a to JSON value <v>;
	 --slurpfile a f	set variable $a to an array of JSON texts read from <f>;
	See the manpage for more options.

As you can see from the build output, it seems to be some issue with how jq is being called.

Can you post a sanitized version of your pipeline?

Sure thing.
---
resource_types:
- name: maven-resource
  type: docker-image
  source:
    repository: pivotalpa/maven-resource
    tag: latest

resources:
- name: catalog-snapshot
  type: maven-resource
  source:
    url: {{nexus-release-url}}
    snapshot_url: {{nexus-snapshot-url}}
    artifact: com.tixhub.catalog:catalog-service:jar
    username: {{stub-username}}
    password: {{stub-password}}
    repository_cert: {{mvn-repo-cert}}

- name: catalog-service-code
  type: git
  source:
    uri: {{catalog-repo-uri}}
    private_key: {{github-private-key}}
    ignore_paths:
      - .gitignore

- name: cf-push-catalog
  type: cf
  source:
    api: {{cf-api}}
    username: {{cf-username}}
    password: {{cf-password}}
    organization: {{cf-org}}
    space: {{cf-space}}
    skip_cert_check: true

jobs:
- name: build-test-docs
  serial: true
  plan:
  - get: catalog-service-code
    trigger: true

  - task: install
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: corp.docker.repo:443/jdk8
          tag: "latest"
          username: {{stub-username}}
          password: {{stub-password}}
          insecure_registries:
            - "corp.docker.repo:443"
      inputs:
        - name: catalog-service-code
      outputs:
        - name: build-output
      caches:
        - path: catalog-service-code/.m3
      run:
        dir: catalog-service-code
        path: ./pipeline/build.sh
  - put: catalog-snapshot
    params:
      file: build-output/target/catalog-service.jar
      pom_file: catalog-service-code/pom.xml
      version_file: catalog-service-code/version
- name: test-deploy
  plan:
  - get: catalog-snapshot
    trigger: true
    passed:
      - build-test-docs
  - put: cf-push-catalog
    params:
      manifest: catalog-service-code/manifest.yml
      current_app_name: catalog-service

You can use the undocumented debug: true parameter in your source config to output more info:
- name: catalog-snapshot
  type: maven-resource
  source:
    url: {{nexus-release-url}}
    snapshot_url: {{nexus-snapshot-url}}
    artifact: com.tixhub.catalog:catalog-service:jar
    username: {{stub-username}}
    password: {{stub-password}}
    repository_cert: {{mvn-repo-cert}}
    debug: true

WARNING: this will output all your variables (including your password) to the build output, so use with caution (make sure your pipeline is not exposed on a public facing Concourse).
What are you using for your Maven Repository Manager (Nexus 2.x, Nexus 3.x, Artifactory, etc)?

So I figured out what the issue was. Inside of the check script there is curl -s  command which was failing silently due to certificate issues. This made the $version return as empty from the check script which triggered the help dialog for jq.  Setting skip_cert_check: true made everything worked.
I tried setting debug: true and it also does not show this issue. Could there be a clean way of handling errors inside of this variable assignment instead of using curl -s, which swallows up any potentially useful error messages.

ah, got it. let me reproduce and look at a fix.  thx!

Fixed:

check operation no longer silently fails on ssl cert errors.

See:
https://github.com/Pivotal-Field-Engineering/maven-resource/releases/tag/v1.3.3


Unable to Start App

I'm trying to start the app but it shows an error on console.
Error when try to connect to the server: connect ECONNREFUSED <IP_ADDRESS>:7077
and also I'm not able to show my wallet balance just like the app default screen shot. I already have a valid nano account wallet.

Finally, I've resolved the connect ECONNREFUSED issue and get the whole screen but, there is an issue regarding not updating my account balance on Home Screen. I've checked and not found any error in console.
I've checked my account balance on a play store app named "Natrium". And it shows some nano in my account but on Home Screen, I saw "000000000" XRB.


Unwanted line breaks between consecutive inline elements

Hi !
It seems like multiple inline elements on the same line force wrapping between each one of them.
-
Lorem ipsum ipsum ipsum dolor sit amet, consectetur adipiscing elit. Fusce cursus massa vel augue

+

+  Lorem ipsum
+  ipsum
+  ipsum dolor sit amet, consectetur adipiscing elit. Fusce cursus massa
+  vel augue
+

I would expect for them to stay on the same line until the line_width is exceeded ?
Something like that:
-
Lorem ipsum ipsum ipsum dolor sit amet, consectetur adipiscing elit. Fusce cursus massa vel augue

+

+  Lorem ipsum ipsum ipsum dolor sit amet, consectetur
+  adipiscing elit. Fusce cursus massa vel augue
+

Is this expected behavior ?
Thank again for this tool, and let me know if you need more details

This isn't expected, and the latter example you gave should be preferred. But, for the example below, they shouldn't stay on the same line:

a

b


How to define maximum quantity that can be selected in the multiple?

@marcelonepomucenoti did you find a solution for it? I'm interested as well.

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?

@vasilich6107 : awesome! (pun intended) I'll check it out!

Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.


Add support for submitting and viewing polls.

This involves creating two new classes to represent poll data and poll options.
These changes do not include the ability to vote in polls. I leave that as future work.

I thought that resolving merge conflicts through the web interface would merge polls into master and let me resolve those conflicts, rather than merging master into polls. I was wrong, so I've just rebased this PR.

Thanks for reviewing, @PythonCoderAS!


Expand IteratorType to include primitives

This means that the FunctionReturnType will have to include pointers to primitives.
This is needed to simplify DNP3 octet string iterators, but should also be useful anytime we need to deal with callbacks containing raw bytes.

completed in https://github.com/stepfunc/oo_bindgen/pull/78


Formatter breaks when ability | clause is on its own line

The formatter currently panics for this:
write : Path, val, fmt -> Task {} [FileWriteErr Path WriteErr]* [Write [File]*]*
    | val has Encode.Encoding, fmt has Encode.EncoderFormatting
write = \path, val, fmt ->

This syntax is no longer supported


select with required and only 1 option fails to validate (and set ng-model) until change event is manually triggered

I have a select element, using ng-option over an array of integers
<form name="form">
    <select ng-model="bar.foo" ng-options="foo as foo|filter for foo in fooarray"  required>
        <option ng-if="fooarray.length > 1" value="" selected>Choose</option>
    </select>
    <input type="submit" ng-disabled="form.$invalid" />
</form>

When the fooarray has only 1 option, it should be chosen by default. Visually, it indeed is.
The DOM looks like this:
<select ng-model="bar.foo" ng-options="foo as foo|filter for foo in fooarray" class="ng-pristine form-control ng-invalid ng-invalid-required" required="">
    <!-- ngIf: fooarray.length > 1 -->
    <option value="0">filtered foo</option>
</select>

But:

the select is considered invalid, thus the submit is always disabled
the ng-model bar.foo is not set
furthemore clicking on the select and re-choosing the same option doesn't trigger an onchange event (presumably because there was indeed no change)

So the form is never actually valid.
Triggering a change event manually ($('select').trigger('change')) indeed sets the model and makes the form valid.
It would seem it's related to the conditional <option>, since when I remove it in the source, the select  magically gets another (empty and default) option - but then the only option I wanted is no longer longer default, nor ..the only one. Which is IMHO a second bug.
Version: 1.2.13

Quite old thread but the solution posted here: https://github.com/angular/angular.js/issues/2365 (romario333) worked for me, in short:
module.directive('select', HackedSelect);     /* @ngInject */     function HackedSelect() {         return {             restrict: 'E',             require: '?ngModel',             link: function(scope, element, attr, ngModelCtrl) {                 if (ngModelCtrl) {                     ngModelCtrl.$isEmpty = function(value) {                         return !value || value.length === 0;                     }                 }             }         }     }

The second version in original plunker works now (ngIf in the empty option is supported since 1.4.9 at least). The third version works as intended. If you want the first and only option to be auto-selected, you have to set it in the model. That's how angular works.


Not able to complile sample

Getting the following error
[schoolboy@schoolgirl tun_tcp_echo]$ go build main.go
# github.com/google/netstack/tcpip/link/fdbased
../../link/fdbased/endpoint.go:252:26: constant<PHONE_NUMBER> overflows int
../../link/fdbased/endpoint.go:260:27: cannot assign *tcpip.Error to err (type error) in multiple assignment:
        *tcpip.Error does not implement error (missing Error method)
../../link/fdbased/packet_dispatchers.go:72:4: cannot use uint64(virtioNetHdrSize) (type uint64) as type uint32 in field value
../../link/fdbased/packet_dispatchers.go:84:4: cannot use uint64(len(b)) (type uint64) as type uint32 in field value
../../link/fdbased/packet_dispatchers.go:207:27: cannot use uint64(iovLen) (type uint64) as type uint32 in assignment
../../link/fdbased/packet_dispatchers.go:234:5: cannot use uint64(virtioNetHdrSize) (type uint64) as type uint32 in field value
../../link/fdbased/packet_dispatchers.go:246:5: cannot use uint64(len(b)) (type uint64) as type uint32 in field value
# github.com/google/netstack/tcpip/transport/tcp
../../transport/tcp/snd.go:198:3: constant<PHONE_NUMBER>854775807 overflows int

My go version
[schoolboy@schoolgirl tun_tcp_echo]$ go version
go version go1.12 linux/386

Apologies. Looks like some recent refactor broke it. Will take a look.

Got it working on go 1.12.1

Curious what version were you using earlier. Looking at those errors it looks like an integer overflow error.

Were you by any chance compiling to a 32 bit linux binary target? Netstack is part of gVisor as a result the only platform we really target is a x86_64.

yeah, I targeted 32 bit.
Thanks for the help.
Closing this.


Setup docker actions

Summary by CodeRabbit

New Features

Introduced automated workflows for building and publishing Docker images for both stable releases and staging updates.
Added a new Dockerfile for a multi-stage build process of a Java application, optimizing image size and runtime efficiency.
Integrated a new Gradle plugin for enhanced build capabilities.
Updated .dockerignore to streamline the Docker build process by excluding unnecessary files.
Added a new workflow for publishing a fat JAR file, automating the build and artifact publishing process.

Bug Fixes

Improved build process by ensuring proper configuration of the shadowJar task in Gradle.

Documentation

Updated workflow files to clarify the automated processes for Docker image management.

@coderabbitai review

@coderabbitai review

@coderabbitai review

@coderabbitai review


[AVG POOL] Asymmetric padding (SAME) support.

Ref. https://discuss.tvm.ai/t/avgpool-same-padding/314

@tqchen  & @Huyuwei  Please have a look at this patch to support asymmetric padding with count_include_pad option.
padding attribute extended to accept 4 values by keeping 2 value logic intact.
Now the SAME padding option work perfectly for all operations.
Convolution : inserting pad operator before with pad_value = 0.
Maxpool : inserting pad operator before with pad_value=-inf
Avgpool : padding accepts (pad_top, pad_left, pad_bottom, pad_right)

Do you want to continue to support Convolution / Maxpool and so on for SAME padding to accept 4 values? I have implemented it in my codebase, but my company has its own open source rule and need long time to contribute. So if you want to implement continually,   I am glad to see it. And you also need  to update WORKLOADS. i.e.:
_Workload = namedtuple('Workload',
                       ['in_dtype', 'out_dtype', 'height', 'width', 'channel', 'multiplier',
                        'hkernel', 'wkernel', 'hpad', 'wpad', 'hstride', 'wstride'])

Here, it only has hpad / wpad，you should update to 4 elements. It also affects schedule. For example:
    HPAD, WPAD = wkl.hpad, wkl.wpad  # You should update
    HSTR, WSTR = wkl.hstride, wkl.wstride

    VH, VW = sch.vh, sch.vw
    BC = sch.bc
    VC = sch.vc

   # You should update
    TH = H + 2*HPAD
    TW = W + 2*WPAD

If you would like to do it, I would like to do code review it. Because I have implemented and work perfectly.

@FrozenGene I am glad you brought up this change in schedule.
I will update the PR with schedule changes soon.

@FrozenGene  BTW, Convolution and Maxpool need not require these changes as there is alternative to achieve the same.

You mean insert the pad operator? I think that is not an elegant solution. As @Huyuwei comment in this PR : https://github.com/dmlc/nnvm/pull/472 this pad operator brings overhead. Extend it will make us convert much easier and clearer.

I am open to extend the padding internal to Conv and Maxpool as well.
In any case there is no extra_pad in SAME option. We either insert pad at frontend (pad values will be [0,0] for actual operation) or we pass the pad values to the operation and the compute will add pad operation accordingly.
This PR is just accommodate count_include_pad effect with asymmetric padding.

@Huyuwei  & @tqchen any comment here ?

@Huyuwei  can you have a look at this ?

Here is my suggestion:

On topi implementation level, alwasys pass 4 pad values. It can be in the format of [height, left, bottom, right] or [[height, bottom], [left, right]]
On nnvm symbol level, support api like this: https://keras.io/layers/convolutional/#zeropadding2d
Support asymmetric padding for both avg and max pooling, to keep these two kinds of pooling consistent.

@Huyuwei review comments handled.

@Huyuwei patched as per review. Please check.

@Huyuwei thanks for the review.


Thumbnails not working

Current Behavior:
Thumbnails from thumbnails.vtt are not displaying
Expected Behavior:
Thumbnails must be shown
Steps To Reproduce:

Create a basic player and pass the URL to DefaultVideoLayout component

Environment:

Framework: React
Node: 21.0.0
Device: Mac
OS: MacOS
Browser: Chrome

Anything Else?
N/A

Hey there! The file provided is not a valid VTT format. The millisecond time unit separator should be a dot (.), not a comma (,) which is used in the SRT format.

@mihar-22 Would it be possible to add support for that format too? I was previously using Plyr and have a lot of thumbnail files generated in the format and it was working with Plyr. Now I want to migrate to vidstack, but this will be a blocker.

Are you able to modify the response content-type header to return text/srt? That would resolve the issue.

Are you able to modify the response content-type header to return text/srt? That would resolve the issue.

I changed the thumbnail generation code, so that future thumbnail VTT files will be in the correct format. So changing Content-Type will be a little troublesome. My only option is to go through all the old files and edit them changing , to .. If the code could be changed in a way that would support the case it would be awesome (it would also keep backward compatibility for Plyr), but I understand that it might make the code less beautiful.

Right now with how it's all implemented it's a little tricky supporting SRT on the fly because we parse response streams. We support SRT but it just needs to be specified in the content-type header. If this becomes an issue for a larger number of users I'll come back and review it. Hopefully it shouldn't be too hard from your end mapping , to . or setting the header.


How do I stop switching off the terminal service?

After the Nuxt project is released, it runs on the Lunix server. When the NPM start is executed, the terminal is turned off, and the service is stopped. How can we solve this problem?

@xufengzi Would you please send terminal errors? If your terminal force closes there should be an npm.*.log file in your project (possibly hidden) so you can check it too.

There is no error log, it is the terminal shutdown and the process is stopped. I want to know how your nuxt project is running on the Linux server and running it in the background？ Just NPM start is OK?

@pi0  Thank you very much. The problem has been settled.


Use relative url function for custom CSS files

I don't know if it's the right way to address this issue, but it works in both server mode and publishing mode.

This looks good, Thanks @daniele-athome


Site and Admin Error latest Grav Develop: Invalid argument supplied for foreach()

Just installed latest Grav Develop.
Site broken:

In admin, after I click on username:

Must have been one of the commits from 4/5 May (guess it's the Groups selection pre-filled in user form)

Thanks for reporting!


Cannot use this with Microsoft Fabric

Hi
It seems the generate_faker_model only works with Snowflake, can you advise if there will be a release compatible with other dwh's such as Microsoft Fabric?

Hi @alexanderfa24 , sorry for the very delayed response!
The dbt-faker package relies on dbt Python models, and unfortunately there is no way to run a dbt Python model in a Microsoft platform at the moment (see supported platforms here).
Cheers

Issue closed to prepare for Repository Archival


Issue #525 Switch to using an attribute for disk path

@cschanck wisely recommended that the simplest solution to the disk path trimming problem would be to move to using an attribute rather than an element body to hold the disk path.  This is my attempt at doing exactly that.

Can we do this by using regex patterns in xs restrictions ? if its possible

What exactly do you want to achieve with a regexp?
<persistence>
  <directory>
    /some/dir
  </directory>
</persistence>

The above would be illegal then?
I like the proposed solution as anyone with a bit of XML knowledge will realise that the content of the attribute will be the path. And so if they want special chars, they can have them. Including leading and trailing whitespace.

Why do leading and trailing whitespaces are legal in directory path ?
On Thu, Aug 27, 2015 at 12:49 PM, Louis Jacomet<EMAIL_ADDRESS>wrote:

What exactly do you want to achieve with a regexp?

    /some/dir

The above would be illegal then?
I like the proposed solution as anyone with a bit of XML knowledge will
realise that the content of the attribute will be the path. And so if
they want special chars, they can have them. Including leading and trailing
whitespace.
—
Reply to this email directly or view it on GitHub
https://github.com/ehcache/ehcache3/pull/535#issuecomment-135318340.

Why? No idea
But they are a possibility, and as such, why should we trim them? Think that the Ehcache XML config could be generated for example.
So given this, why would we change what the user entered.

Most modern filesystems support pretty much any character in a filesystem path: https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits


Preload not loading all data?

I'm facing Ecto behaviour I'm having hard time explaining to myself. Consider this example, which is also published on github as a standalone mix app – ecto_redundancy_issue.

Schemas (hidden for brevity)
defmodule Author do
  use Ecto.Schema

  schema "authors" do
    field :full_name, :string
    field :email, :string
  end
end

defmodule Comment do
  use Ecto.Schema

  schema "comments" do
    field :subject, :string
    field :content, :string
    field :post_id, :integer

    belongs_to :author, Author
  end
end

defmodule Post do
  use Ecto.Schema

  schema "posts" do
    field :title, :string
    field :body, :string

    has_many :comments, Comment
    has_many :commenters, through: [:comments, :author]
  end
end

Data:
RedundancyRepo.insert_all("posts", [
  %{id: 1, title: "My title", body: "My body"}
])

RedundancyRepo.insert_all("authors", [
  %{id: 1, full_name: "Full name 1", email<EMAIL_ADDRESS>  %{id: 2, full_name: "Full name 2", email<EMAIL_ADDRESS>  %{id: 3, full_name: "Full name 3", email<EMAIL_ADDRESS>])

RedundancyRepo.insert_all("comments", [
  %{id: 1, post_id: 1, author_id: 1, subject: "Subject 1", content: "Big content 1"},
  %{id: 2, post_id: 1, author_id: 2, subject: "Subject 2", content: "Big content 2"},
  %{id: 3, post_id: 1, author_id: 3, subject: "Subject 3", content: "Big content 3"},
  %{id: 4, post_id: 1, author_id: 1, subject: "Subject 4", content: "Big content 4"},
  %{id: 5, post_id: 1, author_id: 2, subject: "Subject 5", content: "Big content 5"},
  %{id: 6, post_id: 1, author_id: 3, subject: "Subject 6", content: "Big content 6"}
])

Test code:
commenter_emails_query = from a in Author, select: struct(a, [:email])
posts_query = from p in Post, preload: [commenters: ^commenter_emails_query]

[post] = RedundancyRepo.all(posts_query)
post.commenters == Enum.map(post.comments, & &1.author) |> Enum.uniq |> Enum.sort # => false

I expect the final statement to be true. What am I missing?
Environment

Elixir version: Elixir 1.7.2 (compiled with Erlang/OTP 21)
Database and version: PostgreSQL 10.5
Ecto version (mix deps): master branch, specifically 63d075d66201819e37d6774f155a487ace583855
Database adapter and version (mix deps): 0.13.5
Operating system: macOS

Current behavior
Preload is not loading all authors.
Expected behavior
Preload loads all authors.

Can you please post your schema declarations?

@josevalim it's in the body of the issue. Click "Schemas (hidden for brevity)". Here it is once again:
defmodule Author do
  use Ecto.Schema

  schema "authors" do
    field :full_name, :string
    field :email, :string
  end
end

defmodule Comment do
  use Ecto.Schema

  schema "comments" do
    field :subject, :string
    field :content, :string
    field :post_id, :integer

    belongs_to :author, Author
  end
end

defmodule Post do
  use Ecto.Schema

  schema "posts" do
    field :title, :string
    field :body, :string

    has_many :comments, Comment
    has_many :commenters, through: [:comments, :author]
  end
end

Oh, thanks! I believe this is a duplicate of #2534. You can confirm it by looking at the SQL queries in logs.

@josevalim got it. Thanks for looking into this! Closing.

Thanks @gmile for the detailed issue and the app to reproduce it. I am back at the computer now so I can look at things more closely but I decided to ask you upfront in case it was something simpler. :)

@gmile oh, your issue is a separate one. Ecto computes the uniqueness by ID and, since you remove the IDs from the association, we consider all of them to be equal. Maybe we should raise if the ID is nil?


Conda installation instructions are incomplete

Software Versions

Python: 3.7.6
OS: macOS Catalina 10.15.3
Kivy: 1.11.1
Kivy installation method: conda

Describe the bug
Kivy unable to display window when installed following the  installation instructions using conda.
Expected behavior
Kivy should be ready to use after following the installation instructions.
To Reproduce
Follow the conda intallation instructions.
Install Kivy in a new conda environment and run App().run()
conda create --name app
conda activate app
conda install kivy -c conda-forge
python test.py -d

test.py
import kivy
from kivy.app import App
App().run()

Code and Logs and screenshots
[INFO   ] [Logger      ] Record log in /Users/izxle/.kivy/logs/kivy_20-03-22_37.txt
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "/usr/local/anaconda3/envs/app/lib/python3.7/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.7.6 (default, Jan  8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)]
[INFO   ] [Python      ] Interpreter at "/usr/local/anaconda3/envs/app/bin/python"
[INFO   ] [Factory     ] 184 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [Image       ] Providers: img_tex, img_imageio, img_dds, img_pil, img_gif (img_pygame, img_ffpyplayer ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [App         ] Loading kv </usr/local/anaconda3/envs/app/lib/python3.7/site-packages/kivy/.kv>
[DEBUG  ] [App         ] kv </usr/local/anaconda3/envs/app/lib/python3.7/site-packages/kivy/.kv> not found
[DEBUG  ] [Window      ] Ignored <pygame> (import error)
[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
pygame - ModuleNotFoundError: No module named 'pygame'
  File "/usr/local/anaconda3/envs/app/lib/python3.7/site-packages/kivy/core/__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "/usr/local/anaconda3/envs/app/lib/python3.7/site-packages/kivy/core/window/window_pygame.py", line 13, in <module>
    import pygame

[CRITICAL] [App         ] Unable to get a Window, abort.
(app)

Additional context
It is clear that the cause is that pygame is not installed. In the Kivy Basics tutorial it says:

Kivy depends on many Python libraries, such as pygame, gstreamer, PIL, Cairo, and more. They are not all required, but depending on the platform you’re working on, they can be a pain to install. For Windows and MacOS X, we provide a portable package that you can just unzip and use.
Have a look at one of these pages for detailed installation instructions:

Installation on Windows
Installation on OS X
Installation on Linux
Installation on Raspberry Pi

However, the provided links takes you back to the same incomplete installation instructions. I think pygame should be mentioned in the installation instructions or listed as a prerequisite to use kivy.
Everything works fine after installing pygame, but I get the following warning:
[WARNING] [Deprecated  ] Pygame has been deprecated and will be removed after 1.11.0: Call to deprecated function __init__ in /usr/local/anaconda3/envs/app/lib/python3.7/site-packages/kivy/core/window/window_pygame.py line 42.Called from /usr/local/anaconda3/envs/app/lib/python3.7/site-packages/kivy/core/__init__.py line 71 by core_select_lib().

Yeah, I just wasted a lot of time on this. Here's hoping I can save someone else some time.
To install pygame on a Mac OS X, this should work for most situations (including if you use Anaconda)...
$ sudo pip install -U pip setuptools
sudo pip install pygame
But hopefully this is a blip in the space-time continuum and pygame support will in fact be completely dropped sometime during 1.11.x.
Note all homebrew options appear to be deprecated, old, and crusty, at least as far as I could tell just now. Not even sure that is a sensible option when using Anaconda. I'm a n00b with all this really.
To check the pygame install, launch a Python console and...
import pygame
...obvs(?)
✌

Pygame is not supported and will be removed at some point. Conda should have installed sdl2 and used that for the window provider - it's not clear to me why that didn't happen.

Can you please try again installing kivy into a clean new environment and providing the full installation log and running log? I just re-released kivy 1.11.1 on conda so it may already be fixed.


[BUG] typo in the output of "crane export --help"

What version of crane are you running, and what are your clutsters+platform
crane:
Version: v0.0.3
crane-lib:
Version: v0.0.5
What did you expect to happen?
What actually happened?
Please include any relevant logs or errors
Typos:

Example is mispelled:  "An eample is --as-extras key=string1,string2;key2=string3"
Should be "to impersonate"?:  "The group to impersonation."
Should be "to impersonate"?:  "The user to impersonation."

Hello @ppremru, I have trying to fix this one, So, could you please help with confirmation on point 2 & 3?
I understand, that you expect to have the statement in #L68 modified as following:
extras requires specifying a user or group to impersonation ?
Let me know, if I am misinterpreting. Thanks!

I believe this has been fixed by #80, thank you @apoorvajagtap !

The change in L68 above is not addressing 2 & 3 in the output of "crane export --help".
At the time this bug was reported, the output looked like this:    (The 3 typos are highlighted below).
Usage:
crane export [flags]
Flags:
--as-extras string    The extra info for impersonation can only be used with User or Group but is not required. An eample is --as-extras key=string1,string2;key2=string3
--as-group strings    The group to impersonation. This should say "The group to impersonate."
--as-user string      The user to impersonation. This should say "The user to impersonate."
--context string      The kube context, if empty it will use the current context. If --namespace is set it will take precedence
-e, --export-dir string   The path where files are to be exported (default "export")
-h, --help                help for export
-n, --namespace string    The kube namespace to export.
Global Flags:
--debug               Debug the command by printing more information
-f, --flags-file string   Path to input file which contains a yaml representation of cli flags. Explicit flags take precedence over input file values.
.

/priority minor
/triage accepted

@eriknelson i think, though #80 doesn't address 2 & 3, but with the latest changes, we might not need to modify the flag description. As the current output of crane export --help is as follows (--as-user option is no longer available/probably replaced by "--as", and description for "--as-group" has been modified already)
$  ./crane version                                                                                [±main ]
crane:
	Version: v0.0.3
crane-lib:
	Version: v0.0.6

$ ./crane export --help                                                                                [±main ]
Export the namespace resources in an output directory

Usage:
  crane export [flags]

Flags:
      --as string                      Username to impersonate for the operation
      --as-extras string               The extra info for impersonation can only be used with User or Group but is not required. An example is --as-extras key=string1,string2;key2=string3
      --as-group stringArray           Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --cache-dir string               Default cache directory (default "/home/apoorva/.kube/cache")
      --certificate-authority string   Path to a cert file for the certificate authority
      --client-certificate string      Path to a client certificate file for TLS
      --client-key string              Path to a client key file for TLS
      --cluster string                 The name of the kubeconfig cluster to use
      --context string                 The name of the kubeconfig context to use
  -e, --export-dir string              The path where files are to be exported (default "export")
  -h, --help                           help for export
      --insecure-skip-tls-verify       If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
      --kubeconfig string              Path to the kubeconfig file to use for CLI requests.
  -n, --namespace string               If present, the namespace scope for this CLI request
      --request-timeout string         The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
  -s, --server string                  The address and port of the Kubernetes API server
      --tls-server-name string         Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
      --token string                   Bearer token for authentication to the API server
      --user string                    The name of the kubeconfig user to use

Global Flags:
      --debug               Debug the command by printing more information
  -f, --flags-file string   Path to input file which contains a yaml representation of cli flags. Explicit flags take precedence over input file values.


Using @SendTo where ReplyingKafkaTemplate is only used for tests?

What is the behavior of the @SendTo annotation where the annotated listener will never receive from a replying template?
I would like to have this annotation on the listener though for testing purposes where I will use the replying template for validation in an integration test.
Thanks

If the method returns a result, there is an empty @SendTo and no REPLY_TOPIC header, the adapter will throw an exception.

Thanks, this answers my question, in a non-test environment this listener would have no reply/return value although having the ability to do so would be useful in tests for validation. Perhaps if there is an empty @SendTo there could be an option to not throw an exception if the REPLY_TOPIC header is missing.
I'll keep further questions to Stack Overflow.

Actually, a side-effect of a change we recently merged on master (upcoming 2.2 release) does exactly that - now you would just get a log message (at DEBUG level).

2018-07-11 17:16:28.624 DEBUG 23060 --- [   kgh737-0-C-1] .a.RecordMessagingMessageListenerAdapter : Listener method returned result [FOO] - generating response message for it
2018-07-11 17:16:28.628 DEBUG 23060 --- [   kgh737-0-C-1] .a.RecordMessagingMessageListenerAdapter : No replyTopic to handle the reply: FOO

Ah, perhaps the side-effect can be made a feature ? :)