feat: create cli commands to initialize the project structure

Is your feature request related to a problem? Please describe.
For example, I want to create an island.js project that I can generate the project structure and default files with a single line of command instead of creating them one by one.
npx create-island@latest my-website

Describe the solution you'd like
Create a CLI project and declare the commands in package.json：
{
  "name": "create-island",
  "version": "1.0.0",
  "bin": {
    "create-island": "./bin/create-island.js"
  }
}

Write logic in bin/index.js to complete the task.
Describe alternatives you've considered
No response
Additional context
No response
Validations

[X] Read the docs.
[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.

🙋♂

cool! tks.👍


Fixed crash on Mono runtime when using string hiding

The type used for string hiding uses null for a name. Mono runtime really doesn't likes that, resulting in spectacular crash when loading the assembly. This fixes the issue by using a random name instead.

This might also be related to https://github.com/lextm/obfuscar/issues/82

Thanks.


Feature Request: Side by Side macro view

Cymiryc said this would be the best place for this. I'd love it if we could see 2 macros side by side in GSE in-game. That way when comparing two macros or making a new macro based on old ones, you wouldn't need to go back and forth between two different ones. Or need to have a macro in a word document and have to alt+tab in and out.
I don't know anything about addon creation, so I have no idea how complex this would be to implement. Just a feature I think many would get use out of.

Ive been looking into this and the problem is the two windows happening at the same time.  each could overwrite the other inadvertantly

This requires a rewrite of the interface which at the moment is not something I have the time to commit to.


Jkirkwood/upstream update

Update from upstream

not required. load-on-demand-poc is now rebased from upstream master


change hard coded ness!

https://github.com/stephbuon/democracy-lab/blob/main/util/pyfunctions/str_functions.py

def str_split_df_sentences(df, col_name): # returns a df with one sentence per row.
    split_rule = r"(?<!\w\.\w.)(?<![A-Z][a-z]\.)(?<=\.|\?)\s"

    try: # change w if line is list
        df = df.applymap(lambda x: x[0] if isinstance(x, list) else x)
    except:
        df[col_name] = df[col_name].apply(lambda x: re.split(split_rule, x))

    df = df.explode(col_name)
    df.reset_index()
    df.rename(columns = {col_name: 'sentence'}, inplace = True)

    df['sentence'] = df['sentence'].str.replace('[^\w\s]','') #if remove_punctuation == True:

    return df


error is running the znz-segment-buildingfootprint-20190108-alldata code

When I run the following line of code:
learn.fit_one_cycle(10, max_lr=lr, callbacks=[SaveModelCallbackVerbose(learn, monitor='dice', mode='max', name='20190108-rn34unet-comboloss-alldata-512-best')])
I get the following error:
TypeError: init() got an unexpected keyword argument 'monitor'

Change SaveModelCallbackVerbose to SaveModelCallback.

Apologies for the very late reply. @AhmadAmmar's solution is correct (thanks!). This issue was caused by version updates to the fastai library (which also negated the need for a custom SaveModelCallbackVerbose because in the latest version, SaveModelCallback reports the monitored value and model checkpoint saving by default).


Allow Prometheus data to persist to PVC

Currently, Prometheus data is stored in the pod's temporary storage. We need to make an example which mounts the data on a node's local storage. Should make it apply the deployment to the same node and utilized PV / PVC's accordingly.

After talking with @stevesloka this afternoon, this can probably be handled as a documentation improvement rather than explicit PV/PVC details.  Most users will likely either have their own existing prometheus deployments or will be leveraging other tools.


"Sync Tab Groups"-Tab opens...

I don't know when or why, but this tab
moz-extension://bb8fe090-c8c8-4b6a-8bb4-f7a14da9ea66/pages/priviledged-tab/priviledged-tab.html?title=Add-ons+Manager&url=about:addons&favIconUrl=chrome://mozapps/skin/extensions/extensionGeneric-16.svg
opens (to me) at random. Mostly when switching tab groups.
Screenshot of the page:

What is that? Where does it come from? How can I disable this feature?

This is because STG can't open "about:..." url. I never open "about:addons" except if you had it in your groups when it was closed.
Don't you have another addon that opens this URL ?

Gotcha! Whenever I have a tab "about:..." open, STG can/will not save this and then display the message above. Since I'm still testing FF57, I'll leave tabs open all over the place. Again, thank you for your time and sorry for wasting it.

Actually, it is always the same message but it reminds you the specific URL
where you were before. Just click on the blue button to copy the url and
you can paste it yourself in the URL bar.
It is especially useful if you are working on local files, you don't have
to seek again the path.
Le 15 déc. 2017 21:11, "Gilbert"<EMAIL_ADDRESS>a écrit :

Gotcha! Whenever I have a tab "about:..." open, STG can/will not save this
and then display the message above. Since I'm still testing FF57, I'll
leave tabs open all over the place. Again, thank you for your time and
sorry for wasting it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Morikko/sync-tab-groups/issues/45#issuecomment-352100366,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHeAFP1BdjyFlmRXiVq7tlS662aNCApUks5tAtJTgaJpZM4RDimm
.


Removing dependencies to speed up startup

Pull Request Description
Reducing the number of dependencies.
Important Notes
In a number of places importing all cats implicits could be simply replaced with a single or two method calls. Not to mention that this will reduce compilation times due to reduced implicit search space.
Examples of how the changes affect performance (not only startup):
Before:

Now:

(frequently executed)
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.

I liked the other PR title more but it wasn't descriptive enough.


allow to pass in alternative signing algoritm to RFC7523 authentication methods

This PR is a cherry-pick of https://github.com/lepture/authlib/pull/390, but into the master branch instead of v0.15
This feature is exactly what I need, but it's not in v1.0.0
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

[x] You consent that the copyright of your pull request source code belongs to Authlib's author.

Thanks


Add nativefilestream and several new methods to File and FileStream

Description

Add native file stream.
Add new methods to File and FileStream.
Major rework on existing code to use these new APIs.
Remove a few methods that now exist on .NET aligned API.
Remove several properties and methods that are unlikely to have any use (or hard to implement) in embedded systems context.
Improve/fix Intellisense comments.
Bump native assembly version.

Motivation and Context

Need to improve file access performance.
Need implementation to offer file access control/share between threads.
Need some APIs that are handy for basic file operations.
Improve alignment with .NET API.

How Has This Been Tested?

Unit tests being added and integration tests with real hardware.

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[x] New feature (non-breaking change which adds functionality to code)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[x] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project (only if there are changes in source code).
[x] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[x] I have read the CONTRIBUTING document.
[x] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[x] I have added new tests to cover my changes.

Looks good to me. A few comments but nothing major. Thanks :)

I have added a couple of comments regarding the native methods (as yet unimplemented). I feel that it might be advantagous to change the types of at least offset and count to better check that they "will" be valid as should always be a positive value. We also need to check whether they are in a valid range (offset + count cannot be greater than the file size).


Refactor libp2p interfaces

Refactor libp2p interfaces

Codecov Report

Merging #116 into master will increase coverage by 0.02%.
The diff coverage is n/a.

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


Typo causing check 2.6 to fail even with TLS enabled

Hello,
It seems like there is a tiny little typo on line 147 of file ./tests/docker-bench-security/tests/2_docker_daemon_configuration.sh :  instead of
if get_docker_cumulative_command_line_args '--tlskey' | grep 'tlskey=' >/dev/null 2>&1; then
I think we should have :
if get_docker_cumulative_command_line_args '--tlskey' | grep 'tlskey' >/dev/null 2>&1; then
ie without "=" because it makes the check fail.
In my case I had the docker daemon running with these command lines:
cat /proc/$PID/cmdline
/usr/bin/dockerd-Htcp://<IP_ADDRESS>:2376-Hunix:///var/run/docker.sock--storage-driveroverlay2--tlsverify--tlscacert/etc/docker/ca.pem--tlscert/etc/docker/server.pem--tlskey/etc/docker/server-key.pem--labelprovider=generic
in other terms with TLS enabled, but the check 2.6 kept failing with message "Docker daemon currently listening on TCP without TLS" , which obviously was not the case.
After checking where things were going wrong in the script, I fixed my problem by removing the "=".

Closing since #313 has been merged.


"Download Replaced" always shows for attachments

Describe the bug in current situation
On attachments in the Records tab, the ellipsis shows 'Download Replaced' available for each attachment, even when there were not replaced. This doesn't occur for the same file that was uploaded, but is not an attachment.
Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to Records tab
Click on Attachment's ellipsis
You can see the option "Download Replaced" even though the file is not replaced

Actual/ observed behaviour/ results
"Download Replaced" always visible for Attachments
Expected behaviour
"Download Replaced" should be visible only when the file is replaced
Screenshots/ Visual Reference/ Source

@abin-aot - confirmed working in test - assumption this includes disabling the 'Replace Manually'  temporarily, as I noticed it wasn't available

Thanks @KyEggleston

Working as expected now  - only observation is that when I replace an attachment, I think it should say 'Download Original' as the last option for clarity.

This was released to PROD yesterday.


Airline always shows the default [+]

I was trying to set an icon to be shown next to the file name when it's modified. Airline always shows the default [+] when a file is modified.

could this be due to &buftype = 'nofile' set by the file type aichat? According to :help 'bt':
'buftype' 'bt'		string (default: "")
			local to buffer  |local-noglobal|
	The value of this option specifies the type of a buffer:
	  <empty>	normal buffer
	  nofile	buffer which is not related to a file and will not be written

Closing due to inactivity


SVG Fonts become mixed up when using different font styles (weights)

Using 2 different font stlyes, I noticed, them beeing mixed up in the SVG.
This is how I use the font within my go project:
import (
	_ "embed"

	"github.com/tdewolff/canvas"
)

//go:embed res/fonts/Roboto-Regular.ttf
var robotoRegular []byte

//go:embed res/fonts/Roboto-Bold.ttf
var robotoBold []byte

var roboto = loadRoboto()

func loadRoboto() *canvas.FontFamily {
	fontFamily := canvas.NewFontFamily("roboto")
	loadFamily(fontFamily, robotoRegular, canvas.FontRegular)
	loadFamily(fontFamily, robotoBold, canvas.FontBold)
	return fontFamily
}

func loadFamily(fontFamily *canvas.FontFamily, data []byte, style canvas.FontStyle) {
	err := fontFamily.LoadFont(data, 0, style)
	if err != nil {
		panic(err)
	}
}

When used in a canvas they become indistinguishable in SVG:
@font-face{font-family:'roboto';src:url('data:type/opentype;base64,AAEAAAA...
@font-face{font-family:'roboto';src:url('data:type/opentype;base64,AAEAAAA...

Especially when using SubsetFonts on SVG rendering this causes problems.
This could be potentially sorted by using font-weight numeric values for the @font-face and style="font:..." attributes.
PNG,JPEG and PDF look fine.

I've added a fix, please let me know what you think and if it works well!


wrong extension

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 95.739%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
2033

Relevant Lines:
2083

💛  - Coveralls


only one of my toons gets this bug

Addon Version
v0.1.79
World of Warcraft Version
Retail
Describe the bug
only breaks on my auction toon that sales grey mogs
Steps to reproduce
Message: Interface/AddOns/BetterBags/core/hooks.lua:86: attempt to index field 'Backpack' (a nil value)
Time: Thu Jul 25 23:25:16 2024
Count: 2
Stack: Interface/AddOns/BetterBags/core/hooks.lua:86: attempt to index field 'Backpack' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/BetterBags/core/hooks.lua"]:86: in function ToggleAllBags' [string "@Interface/AddOns/BetterBags/core/init.lua"]:87: in function BetterBags_ToggleBags'
[string "BETTERBAGS_TOGGLEBAGS"]:1: in function <[string "BETTERBAGS_TOGGLEBAGS"]:1>
Locals:

There's another error that happens before this one, can you scroll back and see what it is?

these are the only other errors i found in my bug sack related to better bags
Error1
Message: Interface/AddOns/BetterBags/frames/search.lua:91: attempt to index field 'Backpack' (a nil value)
Time: Fri Jul 26 13:26:41 2024
Count: 1
Stack: Interface/AddOns/BetterBags/frames/search.lua:91: attempt to index field 'Backpack' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/BetterBags/frames/search.lua"]:91: in function `UpdateSearch'
[string "@Interface/AddOns/BetterBags/frames/search.lua"]:128: in function <Interface/AddOns/BetterBags/frames/search.lua:127>
Locals:
error 2:
Message: Interface/AddOns/BetterBags/frames/currency.lua:139: attempt to index local 'info' (a nil value)
Time: Fri Jul 26 13:26:38 2024
Count: 1
Stack: Interface/AddOns/BetterBags/frames/currency.lua:139: attempt to index local 'info' (a nil value)
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function CreateOverlay' [string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:78: in function RefreshExpansionOverlay'
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:37: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:35>
Locals: parent = Frame {
DragonflightLandingOverlay = Frame {
}
}
overlayFrame = nil

Are you tracking Trader's Tender as a currency at the bottom of the bag?

only on my main

This was fixed in v0.1.80.


高清演示效果，最高支持人脸384x384

演示效果 https://space.bilibili.com/3494353091693235 ，如有需要，联系metahuman668

what is model you're using?

It doesn't look like Wav2lip, it should be an advertisement. He is more like a form of AD-NeRF trained separately

advertisement


Can't build the repo with latest version of Fable (master)

@alfonsogarciacaro @ncave
I am moving the discussion I started in this PR https://github.com/fable-compiler/Fable/pull/1209
Today, I wanted to build the repl again to add new features. First, when trying to build it I was having:

error FABLE: Cannot find replacement for Char.isLetter

So I added, it. Then, I tryied to build it again with the version coming from this PR https://github.com/fable-compiler/Fable/pull/1209
And now, I get:

fable: Compiled ..\FSharp.Compiler.Service_fable\fcs\fcs-fable\service_shim.fs
[!] (fable plugin) Error: C:/Projects/FSharp.Compiler.Service_fable/src/fsharp/tast.fs(3210,148): (3210,161) error FABLE: Cannot find replacement for Microsoft.FSharp.Core.PrintfModule::PrintFormatToStringThen

I added some log, and I know that sometimes it go there: https://github.com/fable-compiler/Fable/blob/master/src/dotnet/Fable.Compiler/Replacements.fs#L910-L915
So, I don't understand why it's falling in this case. Any idea ?

@MangelMaxime This should be fixed now if you get all FCS latest and use latest Fable.

@MangelMaxime Also, netcore 1.0 is no longer needed, just 2.0.

Thanks you @ncave I will test it


ERROR: MethodError: no method matching ZygoteBackend()

julia> using AbstractDifferentiation

julia> AbstractDifferentiation.ZygoteBackend()
ERROR: MethodError: no method matching ZygoteBackend()
Stacktrace:
 [1] top-level scope
   @ REPL[3]:1

I know Zygote has to be imported for it to work.
I have it as a default value for a function, and I imported Zygote, but when I added some code to use PrecompileTools to precompile the main functions of my package in Julia 1.9, it failed. Probably because ZygoteBackend is an empty function.
https://github.com/impICNF/ICNF.jl/actions/runs/4822195143/jobs/8589112403#step:6:756

Now, it's fixed.


Installed clustalo_align module

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nf-test test main.nf.test -profile test,docker).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Closed in favor of #2


Double buffer for sequencer catch

What this PR does:
Using  double buffer to  solve the problem of sequencer local cache.
Which issue(s) this PR fixes:

Fixes #158
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@ZLBer Hi,the CI failed and u should use go mod tidy to reformat go.mod

I added some comments in your branch when reading the code  :>
It seems challenging to implement such a concurrent safe cache with shared memory programming style in golang. I will do some research on golang concurrent programming.
Anyway,it's an interesting feature to learn and practice concurrent programming in golang,since golang told u "do not communicate by sharing memory",haha

@seeflood  Yes it is, simple problems become complicated.  maybe  we can simplify the problem, we first only use one buffer to implement it.

@ZLBer Actually I'm trying to write a universal DoubleBuffer in golang (for fun)
,and maybe u can search for any existing lib providing DoubleBuffer.
It's better to use a double buffer here,but if there isn't any existing lib,I think it's OK to simplify the problem now and leave the optimization work later in the future ( in some other iteration)

I just found it was closed by bot.
@ZLBer are you still working on it?
Or I can assign it to others if you want to focus on other issues(e.g. integrating with Skywalking)

@seeflood  Any good idea to implement this ？

@seeflood @MoonShining  I use atomic.StorePointer  atomic.LoadPointer to achieve visibility to avoid locking， but  test performance is much worse than locking.  Any good idea ？

@seeflood @MoonShining I use atomic.StorePointer  atomic.LoadPointer to achieve visibility to avoid locking， but test performance is much worse than locking. Any good idea ？

!! That sounds weird
You can push your code into your forked repo and put your performance test result here,so that we can take a look at what happened

@seeflood  I changed it again, the performance has improved, a little bit worse than locking.
look at this branch : https://github.com/ZLBer/layotto/tree/id_catch_cas

@zhenjunMa and @MoonShining will help review your branch and try to find the reason;
Let me review the consul lock PR

hi @ZLBer，still several problem must be solved

concurrent map access must be protect by RLock or Lock
async getNewBuffer should't block getId

how about use CSP model? the idea is simple
// store next buffers
bufChan := make(chan Buffer, 1)

// use async goroutine to getNewBuffer
go func(){
  for {
    buf := getNewBuffer()
    bufChan <- buf
  }
}()

// and in swap, just get next buffer from bufChan

@MoonShining  change the  backupBuffer type  to channel , add  a cas status processing means getting new buffer. the performance is similar to locking.  thanks for your review again~

@seeflood  add seq key prefix，just move the lock_config method  to sequencer

@ZLBer Thanks ,I will read through it this noon, when eating my lunch.
By the way , please use go fmt to fix the CI error

@ZLBer Thanks ,I will read through it this noon, when eating my lunch.
By the way , please use go fmt to fix the CI error

i do the go fmt, but still hava  ci error,  Is there something wrong with the way I do it？

@ZLBer Yep,it seems that we should run go mod tidy.
I did it in your branch. Let's wait for the CI

@ZLBer now the ut failed :0
You can fix it according to the CI error messages

@seeflood   might too many  goroutine in ut, remove a ut..

@ZLBer the CI failed again because the test coverage went down :(
Could u please add some other ut (just to keep the test coverage)

@seeflood  all is fine,  thanks

Thanks again for your contribution!
By the way,your new avatar is interesting @ZLBer

@MoonShining @seeflood  hahhh, thanks for your review, learned a lot.


move to HSV colors and convert to RGB only when necessary

There are way more RGB utility functions in FastLED, closing this for now


ROCANA-6476: sigar collects Windows process information

Implements most process collectors on Windows. This brings in the StackExchange/wmi package, which has been forked to scalingdata.
WMI is like SQL for Windows data. The WMI package automatically introspects the struct name and members, and fills out the fields accordingly. Using WMI is a lot easier than touching the various Win32 API calls and dealing with buffers and API version differences, but is slower. In addition, sigar is structured around random access for various process attributes by pid, which causes the package to make a lot of the same WMI calls over and over again. Eventually we may need to refactor or at least add a new process struct that return the entire process list at once and composes all available information (this would reduce WMI calls to once per process listing).
No additional Windows tests have been added since they would test the same conditions found in sigar_interface_test.go.

Further testing with this branch showed its very slow to read all processes - will be adding another struct to reduce the WMI calls.

Follow-on in https://github.com/scalingdata/gosigar/pull/32


A very simple controller?

Is there an availability of a very simple controller in CARLA? I have high level actions as: accelerate, decelerate, continue, stop.  So for say accelerate, I want to increase the current velocity of the ego vehicle?
I tried the PID controller implementation of the BasicAgent. But its very noisy. I tried set_velocity() function but then there is problem while turning. I have a list of waypoints to be followed. I was wondering if there something already available to find the the correct value for   set_angular_velocity()? based on next waypoint?
Or if there is some other way I could get the control working?

You can tune the PID controller in the BasicAgent, or you can try with either the RoamingAgent, or the BehaviorAgent (see pull requests).

Yes @jackbart94. I have been tuning the existing PID controller. However, there seems some issue with braking. Even if I give any values between 0.1 to 1, it  always applies 1 to the brake parameter.


Add example of sheet with NestedScrollView

It turns out that the ScrollableSheet can't work with the NestedScrollView because each uses its own custom ScrollPosition. Other sheet widgets from some popular packages like DraggableScrollableSheet and modal_bottom_sheet have the same problem.


[logger] remove http logger

@bors-libra delegate+
I wonder if we should just remove this HttpLogClient all together? It sounds like something that docker log driver could do if needed

:v: @bmwill can now approve this pull request

@bors-libra r=andll
After discussing with a few people it seems like we haven't been using the http logger in quite some time and its not needed right now so I'm going to go ahead and remove it.

:pushpin: Commit 262c0aa has been approved by andll

:hourglass: Testing commit 262c0aaf0306c88b858c55cdf984fae8f0e26f34 with merge e514313452c682e6aa7b12bd51f78def41432cf0...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: andll
Pushing e514313452c682e6aa7b12bd51f78def41432cf0 to master...


request transformer does not allow modification of Host header

the request-transformer plugin should allow to modify the Host header just before sending the request (having resolved the endpoint of target_url), however, currently attempting to overwrite the Host header does nothing.
this is related to #444, and can potentially be solved by one of the suggested solutions there, or alternatively introducing that option here as part of the request transformer function.

should we keep this as an item to investigate?
context: the original need here was for preserve_host yet this is still technically separate


uprev to 0.4.3

Codecov Report

Merging #42 (c65945e) into main (1a0477b) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #42   +/-   ##
=====================================
  Coverage   8.25%   8.25%
=====================================
  Files         43      43
  Lines       5219    5219
=====================================
  Hits         431     431
  Misses      4788    4788

Flag
Coverage Δ

oasysgh
1.09% <ø> (ø)

unitnumber
7.31% <ø> (ø)

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

Impacted Files
Coverage Δ

OasysGH/OasysPluginInfo.cs
57.89% <ø> (ø)

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


Fix release condition

My comment is not a blocker - but we should create an issue to track it

My comment is not a blocker - but we should create an issue to track it

that's what I assumed. I looked into it initially but looks like we don't have the rights to create a team in dotnet org on Github. So we might have to ask someone to do that for us unless there's another way to create a team in Github.


No compatible binary build found for this package [Meteor]

Hi,
I am getting below error while adding materialize to meteor using meteor add materialize:materialize
=> Errors while adding packages:

While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to
publish it for your platform.

I am using
Meteor version: 1.5
OS: MacOS Sierra

Duplicate of https://github.com/Dogfalo/materialize/issues/5010


"ValueError: Unknown layer: name" when creating deep copy of model

I created a custom layer, which looks as follows:
class NoisyLayer(keras.layers.Layer):

    def __init__(self, in_shape=(1,2592), out_units=256, activation=tf.identity):
        super(NoisyLayer, self).__init__()
        self.in_shape = in_shape
        self.out_units = out_units
        self.mu_interval = 1.0/np.sqrt(float(self.out_units))
        self.sig_0 = 0.5
        self.activation = activation
        self.assign_resampling()

    def build(self, input_shape):
        # Initializer
        self.mu_initializer = tf.initializers.random_uniform(minval=-self.mu_interval, maxval=self.mu_interval)
        self.si_initializer = tf.initializers.constant(self.sig_0/np.sqrt(float(self.out_units)))

        # Weights
        self.w_mu = tf.Variable(initial_value=self.mu_initializer(shape=(self.in_shape[-1], self.out_units), dtype='float32'), trainable=True)
        self.w_si = tf.Variable(initial_value=self.si_initializer(shape=(self.in_shape[-1], self.out_units), dtype='float32'), trainable=True)

        # Biases
        self.b_mu = tf.Variable(initial_value=self.mu_initializer(shape=(self.in_shape[0], self.out_units), dtype='float32'), trainable=True)
        self.b_si = tf.Variable(initial_value=self.si_initializer(shape=(self.in_shape[0], self.out_units), dtype='float32'), trainable=True)

        super(NoisyLayer, self).build(input_shape)

    def call(self, inputs, resample_noise_flag):
        if resample_noise_flag:
            self.assign_resampling()

        # Putting it all together
        self.w = tf.math.add(self.w_mu, tf.math.multiply(self.w_si, self.w_eps))
        self.b = tf.math.add(self.b_mu, tf.math.multiply(self.b_si, self.q_eps))

        return self.activation(tf.linalg.matmul(inputs, self.w) + self.b)

    def compute_output_shape(self, input_shape):
        return (input_shape[0], self.out_units)

.......

The layer itself seems to work. However, the error arises when working with the following model, which makes use of the layer :
class Network:
    def __init__(self, actionspace_size, learning_rate, gradient_momentum, gradient_min):
        frames_input = keras.layers.Input((84, 84, 4))
        actions_input = keras.layers.Input((actionspace_size,))

        conv1 = keras.layers.Conv2D(16, (8, 8), strides=(4, 4), activation="relu")(frames_input)
        conv2 = keras.layers.Conv2D(32, (4, 4), strides=(2, 2), activation="relu")(conv1)

        flattened = keras.layers.Flatten()(conv2)

        # NoisyNet
        hidden = NoisyLayer(activation=tf.nn.relu)(inputs=flattened, resample_noise_flag=True)
        output = NoisyLayer(in_shape=(1,256), out_units=actionspace_size)(inputs=hidden, resample_noise_flag=True)

        filtered_output = keras.layers.merge.Multiply()([output, actions_input])

        self.model = keras.models.Model(inputs=[frames_input, actions_input], outputs=filtered_output)

        self.model.compile(loss='mse', optimizer=keras.optimizers.RMSprop(lr=learning_rate, rho=gradient_momentum, epsilon=gradient_min))

Particularly, the error occurs when I try to make a deepcopy of the network, which looks as follows:
import copy
q_net = Network(actionspace_size, learning_rate, gradient_momentum, gradient_min).model
target_net = copy.deepcopy(q_net)

The error raised looks as follows:
2019-05-16 00:35:37.698461: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
  File "DQN_tf_NoisyNet.py", line 318, in <module>
    main()
  File "DQN_tf_NoisyNet.py", line 255, in main
    target_net = copy.deepcopy(q_net)
  File "/usr/lib/python3.5/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib/python3.5/copy.py", line 299, in _reconstruct
    y.__setstate__(state)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 1266, in __setstate__
    model = saving.unpickle_model(state)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/saving.py", line 435, in unpickle_model
    return _deserialize_model(f)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/saving.py", line 225, in _deserialize_model
    model = model_from_config(model_config, custom_objects=custom_objects)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/saving.py", line 458, in model_from_config
    return deserialize(config, custom_objects=custom_objects)
  File "/usr/local/lib/python3.5/dist-packages/keras/layers/__init__.py", line 55, in deserialize
    printable_module_name='layer')
  File "/usr/local/lib/python3.5/dist-packages/keras/utils/generic_utils.py", line 145, in deserialize_keras_object
    list(custom_objects.items())))
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 1022, in from_config
    process_layer(layer_data)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 1008, in process_layer
    custom_objects=custom_objects)
  File "/usr/local/lib/python3.5/dist-packages/keras/layers/__init__.py", line 55, in deserialize
    printable_module_name='layer')
  File "/usr/local/lib/python3.5/dist-packages/keras/utils/generic_utils.py", line 138, in deserialize_keras_object
    ': ' + class_name)
ValueError: Unknown layer: NoisyLayer

Apparently, Tensorflow seems to be incapable of making a deepcopy of the custom layer, since, as soon as I replace the two instances of the custom layer by dense layers, the code works again.
So, I was  wondering whether there is some way to tell Tensorflow how to interpret the custom layer when executing the deepcopy command.
I am using Tensorflow 1.12.0 in Python3.5.2 on Ubuntu 16.04. Thanks in advance!

Is there maybe an alternative how I can circumvent making a copy of the entire network, just copying single weights and biases between equivalent network architectures, instead?

Found a solution:
Copying model including custom layer


Modular SCSS

Separate lazy loaded css (style.lazy.scss) and re-enable modular structure (style.scss).

Okay, it's ready. There's still an issue when CF can't deliver the chunked files. I guess it happens when we push a new version and people are still using an outdated bundle. Does anybody know where we can set something like an expiring date for the chunks?


fields in CRM

I have tried all these variants in opentest.
id=user_name
xpath=//input[@id='user_name']
xpath=//form[@id='loginPage']/div/div/input
xpath=//div/input
but it still not working, when iam using Selenium IDE plugin in chrome browser i can go to this item.
this is the html of the item
control-label" for="user_name">User name
User name

You probably need to use something like locator: { id: user_name } or locator: { xpath: "//input[@id='user_name']" }. OpenTest uses Selenium behind the scenes, so whatever works in Selenium should work the same way in OpenTest. If you still can't make it work you'll have to provide more information like:

the error you're getting in the test session log file
the relevant portion of the test you're trying to run (the YAML data)
the relevant portion of the HTML page (the one that contains the input element you're trying to get to)

I just found this information about Service now, i do not know if that is the reason of my issue?
Most enterprise software share the same structural challenges for test automation with existing tools: They rely on complicated technical implementations, nested iframes, dynamically changing the DOM and performing a lot of behind-the-scenes XHR requests. ServiceNow is no exception, and this has made it very difficult to test with tools such as Selenium without writing extensive amounts of code.

Okay, that would explain why you're not able to locate any elements. You'll first have to switch to the frame containing the elements, using the SwitchToFrame action. After you're done with the frame, you need to switch back using the SwitchToDefaultContent action. Other than that, everything should work just as it works when no frames are present.

If you find that the default wait time is not enough and you need to wait longer, you can use the explicitWaitSec argument to set a custom wait time, like this:
- description: Click the submit button
  action: org.getopentest.selenium.Click
  args:
    locator: { id: submit }
    explicitWaitSec: 30

The example above will wait up to a maximum of 30 seconds for the UI element to show up. This is the right way to wait because, if the element shows up sooner, your test will continue right away and most of the times it will execute faster than if you wait a fixed time interval to pass each and every time for each test action. Try that and let me know if it does the job for you.
Actually, it just occurred to me that there is a way to set the explicit wait time globally - you can do it in the actor.yaml file, by setting the selenium.explicitWaitSec parameter:
selenium:
    # ...
    explicitWaitSec: 30
    # ...

OK thanks that works now the crm and the delay

Hi @Adrian,
I update chrome driver and suddenly this test will not working, the switch  to Frame then to default frame is not working any more. Do you think that in the future not to update chrome driver if the test is stable? Or not?

You have to update, because the tests must be run on whatever browser your end users will have installed, and it's fair to assume that a big portion of those users are going to keep up to date with the latest Chrome version. As far as your tests, make sure to use the correct Chrome WebDriver executable for the Chrome version you're running. You can check to see if you have the correct version here: http://chromedriver.chromium.org/downloads.

The fact that most types of test actions work well doesn't necessarily mean that you are using the correct driver. Please check to make sure, especially since you just updated to a new version of Chrome.
If the switch to frame logic is not working, it makes sense that you cannot find the UI element you are looking for, since you are probably looking for it in the wrong frame.

Well this is how my actor.yaml looking for the driver
selenium:
# seleniumServerUrl: http://<IP_ADDRESS>:9515
desiredCapabilities:
browserName: chrome
chromeOptions:
args: [ --start-maximized ]
chromeDriverExePath: C:/Webdrivers/chromedriver.exe
chromeDriverExeArgs: [--start-maximized, --ignore-certificate-errors,  "--user-data-dir=C:\chrome-selenium-profile", "--disable-popup-blocking", "--disable-infobars" ]
and in my c drive is a directory called C:\Webdrivers  , and when i down load the new driver i just put it there and rename it to chromedriver.exe so i will use the right one. so iam sure the driver is ok.
can i use switch to default many times may be it make the switch to the frame that i want?

OK, so make sure that the C:/Webdrivers/chromedriver.exe executable is the correct one for your version of Chrome, according to this page. For example, I am running Chrome 75.0.3770.100, which means i need to use ChromeDriver 75.0.3770.90. What's your version of Chrome?

Version 75.0.3770.100 (Official Build) (64-bit)

ChromeDriver 75.0.3770.90

It sounds like you are already using the correct WebDriver executable (just make sure you are really using that, since the name of the executable itself doesn't contain the version number).
As I understand, you are not getting any error when you execute the SwitchToFrame action. Can you please try to use a different locator for the frame? For example, if you are currently using name, can you try to use css instead?
- description: Switch to the "products" frame (using a CSS locator)
  action: org.getopentest.selenium.SwitchToFrame
  args:
    locator: { css: "iframe[name='products']" }


pandas does not install on RedHat distrib

see:
https://sourceforge.net/p/spinalcordtoolbox/discussion/help/thread/9d988979/
@poquirion can you have a look using a Docker image of: Linux-3.10.0-693.5.2.el7.x86_64-x86_64-with-redhat-7.4-Maipo?

fixed by https://github.com/neuropoly/spinalcordtoolbox/pull/1525


eth scripts: generalize GMP/MHD-like builds (95% the same)

So some utility .sh file with parameters for N of the similar external dependencies?

yes, I even believe there are one or two more that are 90% similar, basically the usual suspects: configure+make+make install with little or no hacks

Right

Not worth bothering with.


My Window Does This When Playing A Song

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Play A Song With a fresh spotify & spicetify install

Screenshots

Desktop Setup

Operating System: Windows 11
Spotify: <IP_ADDRESS>1
Spicetify: 2.8.3
Theme: 3.3

Logs

spicetifyWrapper.js:879 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
Spicetify._cloneSidebarItem @ spicetifyWrapper.js:879
vendor~xpui.js:29 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit
    at c (https://xpui.app.spotify.com/vendor~xpui.js:29:2712035)
    at t.r.addListener (https://xpui.app.spotify.com/vendor~xpui.js:29:2714619)
    at https://xpui.app.spotify.com/vendor~xpui.js:29:2321867
    at Pa (https://xpui.app.spotify.com/vendor~xpui.js:29:2955910)
    at Is (https://xpui.app.spotify.com/vendor~xpui.js:29:2979642)
    at t.unstable_runWithPriority (https://xpui.app.spotify.com/vendor~xpui.js:29:3194923)
    at ho (https://xpui.app.spotify.com/vendor~xpui.js:29:2925446)
    at As (https://xpui.app.spotify.com/vendor~xpui.js:29:2979421)
    at ws (https://xpui.app.spotify.com/vendor~xpui.js:29:2964300)
    at vs (https://xpui.app.spotify.com/vendor~xpui.js:29:2963222)
c @ vendor~xpui.js:29
xpui.js:1 cosmos-connector:  fetchAdForSlot endpoint=%o sp://ads/v1/ads/hpto
vendor~xpui.js:29 The buttonLegacy prop has been deprecated. This prop will be removed soon. Please migrate to new button styles by removing this prop.

Yeah just manually downloaded the .js files and put them in the extensions folder and ran the manual install script and its all good now!
Thanks


Abstract graphite message and graphite to statsd message transformations

For improved testability and code-reuse between Graphite and StatsD consumers

Done in 0.10.0


Is this integration being sunset?

I'm considering Godot for my next project and I'm doing research into available options when it comes to monetization.
I used MAX in my previous (unity based) project and were rather happy with it. Unfortunately the Godot plugin seems to not be maintain.
Are there any plans on supporting this project further?

Hello.
I’m also waiting to hear any updates about the official plugin's future. In the meantime, I ended up writing my own plugin for Android with AppLovin MAX for Godot 4.3 in a single day, using all the necessary adapters. The new V2 plugin system is so much simpler to work with compared to V1, and there’s even a ready-made template for Android Studio that makes creating plugins straightforward. Unfortunately, my plugin is Android-only—I haven’t explored writing plugins for iOS yet.

@Beedevil If at any point you would consider making your work public and want some help with the iOS part, let me know!

Hey all,
We are still supporting this Godot, but our engineering pipeline has been busy the last few months. Apologies for the lack of communication during this time.
We are prioritizing updates to address the issues and support Godot 4.3 before the end of the year .
Stay tuned.

Yeah, very interested in this plugin also. I'm moving my game dev from iOS native and AdMob mediation to Godot 4.3. I've been... disappointed in monetization in Godot for mobile and didn't realize what the state of things was. But I'm a few months into my first game in Godot and worried about monetization now.

I'm looking at a Q1 release for my new project and would love to be able to use this plugin for monetization. I reallt hope you can get godot 4.3 support working soon!

Hi all,
Apologies for the delay. We have released a new plugin version, 1.1.0, which adds support for Godot 4.3 and the latest AppLovinSDK major version 13.0.0+. Support for the Android V2 plugin is something we're looking at for early next year, but it should not be a blocker for now since 4.3 still supports V1.
Moving forward, we'll do better with communication and updating everyone on timelines.


anistream/vidstreaming/gogo-stream no longer working due to website updates.

This should be a relatively easy fix.

Now working under mp4-only. Legacy code from m3u8 still exists in gogostream.cs; it may be removed at a later date.


Upgrade to ASP.Net 5 Core with backwards compatibility

These changes upgrade the project to ASP.Net 5 with compilation for .Net framework 4.5.1 and Dot Net Core, the cross-platform .Net framework. Fortunately, this required relatively few changes, however, the BufferedStream is not available in Core, so has been removed from Connection.cs.

@mdekrey Project has been converted to DNX RC2, I'm going to go ahead and close this one.  If you see any changes you would like, don't hesitate to submit another pull request.


NSURLSessionDownloadTask: 65 — Null passed to a callee that requires a non-null argument

Initial generation is all dandy. When I came back to the app a couple of days later this happens, doing Build -> Clean and then Build again does not alleviate the issue. This somehow seems to be a continuation of issue #1955.

I use the following software
Xcode: Version 7.0 (7A220)
"dependencies": {
    "react-native": "^0.11.0",
    "merge": "*",
    "reflux": "*",
    "superagent": "^1.3.0"
  }

What can be done to alleviate this issue?

Clear your node_modules and run npm install again. RCTDownloadTaskWrapper doesn't exist anymore.


Not bootable iso

Hello,
Thanks for your great job.
I running your script without errors. The IMG file was generate with 10GB.
I used DD to generate ISO file from IMG file, but on the test on Virtual Box the message "Not bootable medium found..." appear.

Yes, I've experienced this as well, except I tried dd'ing the img file onto a flash drive.
Also, when I mount the flash drive and run ls /mnt/flashdrive, I get something like ls: cannot access <dirname>: Bad message a bunch of times. I do not know enough about filesystems to determine what causes this. From what I read online, it might have something to do with the size of the img file not being the same as the drive it has been copied onto. I would love to find a fix for this, but I simply do not know how.
In the mean time, I am working on a somewhat poor --install command that will partition a target device, and then just cp everything from the img file onto the device.

Just wondering, how do you create the ISO from the IMG file? What are the commands?

Just wondering, how do you create the ISO from the IMG file? What are the commands?

He said he used DD..
so it might be
sudo dd if=/path/to/file.img of=/path/to/output.iso

i also tried a qemu-img solution to make a virtual drive, but it didn't work for me:
qemu-img convert -f raw -O qcow2 lfs.img lfs.qcow2 # for KVM/QEMU
# or
qemu-img convert -f raw -O vdi lfs.img lfs.vdi # for VirtualBox
```L

Hi there, thanks for joining in.

He said he used DD.. so it might be
sudo dd if=/path/to/file.img of=/path/to/output.iso

If that is indeed the command he used, he might as well have just cp'd or just renamed the file with mv...
Anywho, that xorriso sounds promising. Someone also pointed me towards mkisofs. Honestly reading the man pages for both of these commands is like chinese to me right now, but if you have a POC in that script you linked, that could be a good starting point for me to look into.

Anywho, that xorriso sounds promising. Someone also pointed me towards mkisofs. Honestly reading the man pages for both of these commands is like chinese to me right now, but if you have a POC in that script you linked, that could be a good starting point to look into. Thanks!

In that script there is a usage of both mkisofs and xorriso
I already forked the project to make an --iso action...
Will contact as soon as I integrate it

So, as it turns out, there is 1 more package with patch to install: syslinux (it's not a linux-kernel, but a bootable section with isolinux on board)
Also... @krglaws i spot 1 odd thing... on phase4 there is no output about last installation (grub installlation)...
I added RN that syslinux package to phase4, but i'll be able to check it on my morning
I think it might be a output issue, cause grub files are generated

I have also noticed the same thing about the phase 4 grub build. Not sure what's causing it. I'm planning on looking into it more this weekend.

@marceloengecom please, be patient we are on the road...
It finally loads vmz aka vmlinux on the VM, but there some issues that are not described in the book, and they must be resolved before making any further steps on generating a iso file from this.
Have a nice day!


BCMath is unmaintained

The bcmath extension has not had a maintainer since 2004 [ref].
This is currently preventing us from upgrading to 4.0, since our policy prevents us from enabling the bcmath extension.
Would it be possible to make the bcmath extension an optional requirement? I'd be happy to submit a PR.

You can declare that bcmath exists in config.platform or install a bcmath polyfill like https://github.com/phpseclib/bcmath_compat

Great suggestions @arokettu. But I leave this issue open for ow. I agree with @pevdh, making bcmath required while it is actually unmaintained deserves our attention. Maybe @Ocramius can help so shed us his thoughts on this remark.

ext-bcmath is maintained as part of php-src: https://github.com/php/php-src/tree/3fb7198034c0f2ed49eeb71f9757b58aaa26260d/ext/bcmath
It receives regular updates, and is not unmaintained?


chatgpt url change

Thanks for your maintaining. I found this notification function sometimes does not work when ChatGPT is in the background. Do you have any ideas to fix it? I have tried but couldn't find an appropriate way to solve it. Also, I'm not sure whether it is relevant to my Edge browser.

Thanks for opening the PR, I'll merge and update to the extension


Non-intrusive mode?

Readme states:

The program loads WinDivert driver which uses Windows Filtering Platform to set filters and redirect packets to the userspace. It's running as long as console window is visible and terminates when you close the window.

However, from what I an see it installs both DIRVER and SERVICE, which is intrusive. Can you add an actual mom-intrusive mode that does not install anything into the system (does not dirty it) and actually works as stated in readme (which is incorrect and misleading atm).

The program neither installs service nor driver. The driver is automatically, but not getting unloaded after you close the program (that's a feature of WinDivert driver: it may be used not only by GoodbyeDPI and stays loaded until unloaded manually), but is it not installed to the system (it does not copy any files to the system, it will not load after reboot).
The service installation is a manual process (run .bat script), the program does not do that.


[ES-1074670][SQL] Add parquet nanosAsLong behavior change to 3.2 migration guide

What changes were proposed in this pull request?
Add Spark 3.2 migration guide for CREATE TABLE AS SELECT... behavior change.
SPARK-40819 allows for nanosecond precision in Parquet timestamp type when the config spark.sql.legacy.parquet.nanosAsLong is set to true. Otherwise, beyond Spark 3.2 there would be a behavior change where Parquet files with type INT64 (TIMESTAMP(NANOS, true)) are unreadable.
Why are the changes needed?
This documents a behavior change starting in Spark 3.2 for Parquet files with nanosecond precision for timestamp type.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
doc build
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.

Merged to master.


Fix for null exception

Nice catch! Thanks for checking the Java samples. To be honest, I mainly focused on Kotlin samples and gave the Java equivalent less love and attention 😅
Do you mind also updating the cheat sheet? https://github.com/vestrel00/contacts-android/blob/main/docs/cheatsheet.md#query-contacts-advanced
Either way, I'll merge this PR in a few hours when I get to my computer (on my phone right now lol)

[ ] I will update the gh-pages branch once I merged this PR.

I'm super excited to add another contributor 🎊 🥳

Why did you close this PR? I wanted to merge it! Please reopen? 🤞


Add a Command.spawn method

Add a Command.spawn method similar to Process.spawn. It should fork a new process, execute the command, and return the child PID in the parent process.

Closed by 132e0468f09951c10dd19576d2d8438b4bd5aba1.


MSYS2 mingw-w64-opencv2 build fail

Hi,
I am trying to install "mingw-w64-opencv2" on Windows 10, and when building via "MINGW_INSTALLS=mingw64 makepkg-mingw -sLf" it ends with an error:
https://pastebin.com/jZhVwSkV
Same issue as here: https://github.com/dthpham/butterflow/issues/90
Is there any workaround for this?
Thanks,
eC

Same error, windows 10.
Has anyone tried the manual installation steps?


*.iml problem with Android Studio

It appears as though apollo constantly generates the following in the *.iml file:
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/apollo/classes" isTestSource="true" generated="true" />

note that beforehand, there is another line:
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/apollo/classes" isTestSource="false" generated="true" />

where isTestSource is false.
The line with isTestSource="true" seems to suggest to the IDE that the generated classes can only be used in the test folder, making it complain for all usages in the source.
If we remove that line, everything works, but it gets reset whenever the project is cleaned/built.

Thanks @AllanWang this worked as a workaround for me too.

Is that happening on pure kotlin project?

Yes

I believe it was fixed, closing for now.


[WIP] Make read_file and write_file accept unicode strings on Windows

Fixes https://github.com/pytorch/vision/issues/2931.

@fmassa The complicated thing here is that, conventionally, we should provide both the ascii version (e.g. _read_file) and the unicode version of the function (e.g. _wread_file) and make the choice according to the macro _UNICODE in the header file. But it will make the code look messy. Do you have any good suggestions here?

@fmassa Oh, I come up with a better idea. Since pybind11 translates filename to a UTF-8 std::string, we just need to convert it to a Unicode string and then call the Unicode variants of the Windows APIs.

@fmassa BTW, could you please tell me a good place to host the unicode <-> utf8 util functions?

Thanks a lot for the quick fix!

could you please tell me a good place to host the unicode <-> utf8 util functions?

For now, you can either leave it in the body of the function as you currently did, or move it to the header of the file. We don't yet have a generic utils file for torchvision C++ (but we should at some point).
Additionally, can you take the test_read_file_non_ascii from https://github.com/pytorch/vision/pull/2946 and integrate it in your PR?
I'm thinking that I'll be cherry-picking this PR and integrating it in the dot release of torchvision which will be out in December.

@fmassa Thanks, and will do.

I'm thinking that I'll be cherry-picking this PR and integrating it in the dot release of torchvision which will be out in December.

I guess sth like still needs to be done in PyTorch. So you may only cherry-pick it if there's also a dot release for PyTorch.

There will be a dot release in PyTorch in December, but with this PR we can already fix this issue in torchvision right away, right?


help how to check if players opened inventory is example

hey lets say i have a SimpleInventory named example
now how can I check if a players topInventory is example
I need it when i change the inventory that the players topInventory gest updated or does SmartInvs has a automatic Inventory updater on item change?

a automatic Inventory updater on item change

What do you mean by that?
To check if a inventory is opened by SmartInvs you can use this if you need to return the inventory.
SmartInventory inv = SmartInvsPlugin.manager().getInventory(player).orElse(null);
if (inv != null && inv.getId().equals("idOfInventoryExample")) {
    return inv;
}
return null;

But preferred variant is:
SmartInvsPlugin.manager().getInventory(player).ifPresent(inv -> {
    if (inv.getId().equals("idOfInventoryExample")) {
        // Do stuff with inv here, or something else
    }
});

Thanks for the answer.
I mean by that if there is a Event or something that gets fired when something in the inventory gets changed like title a item ?
Example
a inventory with 1 item named Start and its an APPLE
so the player clicks on it the item gets changed in Starting...
this is easy but when something started like a Server i catch it and then I want to update the item to Started!
I thought abuot changeing the item to Started! but then the inventory wouldnt get updated
but also i dont want to use the update{} methode becouse it happens every tick and it would get very laggy

I am gonna use a plugin of mine as an example here.
This is the class that implements the InventoryProvider interface: WaypointsProvider.java.

As you can see, I init everything related to the inventory in #init() (the constructor is not that important here).
@Override
public void init(Player player, InventoryContents inventoryContents) {
    viewer = player; // Save the player which has the waypoints open to this instance
    contents = inventoryContents; // Save the inventory contents for later to this instance
    waypoints = new PaginationList<>(waypointsPerPage); // plugin specific stuff, pagination helper
    rebuildWaypointsList(); // plugin specific stuff, creates the `ClickableItem`s for me
    page = 0; // plugin specific stuff, pagination helper
    setupOverview(); // sets the basic gui, like controls and stuff in the contents saved in the instance from above
    updateOverviewPage(); // this method updates the pagination stuff
}

Now every time the player clicks on the arrows for previous / next page this.page is updated and then #updateOverviewPage() is called to update the pagination only thanks to the reference to the original inventoryContents saved in the instance.

Pros (for this method):

It does not require an update every tick, only when the player does something.

Cons:

You always need to create a new instance of the InventoryProvider

I hope this is what you have looked for.

Thanks for the example I will try it and report back if its working but I think its not exactly the thing that I am  looking for
by youre example the inv gets updated when the item gets clicked.
but I want to update the Inventory when some delayed task is finished and calls something like now();
and then the Inventory for the players that view it should get updated.
I hope I could explain it correctly and sry for my bad english I am from Germany

Just add a method to your class and call it pollData for example. Then just actually poll the updated data and then update the inventory contents.
or
Create a method and call it serverUp for example. Then just call it when you somehow get the info about the state change of the server and make it update the item X via the InventoryContents

sry for my bad english I am from Germany

No problem, I am from Germany, too. (But we should keep it in English, so others, who perhaps have the same problem can understand).

Hey Sytm I have some specific questions and I would like to talk with you becouse I can't explain it here in the chat and in english
whe can talk on Skype(live:tanju42) or Discord(https://discordapp.com/invite/mSzBPwE)


Initialise VoximplantApiClient without storing any credential files?

Ho to initialise VoximplantApiClient without storing any credential files but using only .env?
Something like:
const voxClient = new VoximplantApiClient({
  account_id: process.env.VOXIMPLANT_ACCOUNT_ID || "",
  api_key: process.env.VOXIMPLANT_ACCOUNT_API_KEY || ""
});

Sorry but you only can do this with file.

And why so? Of course, you can for example map values in JSON file to env variables with dotenv, but why make this so difficult? Why not just specify the params as an object?


multithreading & ZEN_INTERNAL_NO_POOLS

In documentation you declare that there is a flag "ZEN_INTERNAL_NO_POOLS" for not use memory pools.
I have not found any "ZEN_INTERNAL_NO_POOLS" in sources.
I use Zenject both at client and server sides of my game. Server is fully multh-threaded and async.
And it crashes due to static memory pools in Zenject.
In documentation you declare that "resolve and instantiate operations support multithreading", i set up "ZEN_MULTITHREADING" flag, but it does not help. Look at this sources:
    public object ResolveId(Type contractType, object identifier)
    {
        using (var context = InjectContext.Pool.Spawn(this, contractType))
        {
            context.Identifier = identifier;
            return Resolve(context);
        }
    }

"Resolve" method use static pool, it can't be thread-safe.
upd1
Ops, sorry for my inattention, found it at master branch
I could not expect that this key feature added so recently. I works with 7.2.0 release
upd2
Tested It on master, works good

Sounds like this is fixed in latest


Increase build timeout

Seems like the builds timeout after 2.5 hours see https://github.com/aspnet/AspNetCore-Internal/issues/2652. The successful builds in this repo often takes almost that long so we should just increase the limit.

This is a pretty trivial change, so I'll merge this without waiting for the build checkmark.

Thanks! I forgot to increase this after adding netcoreapp3.0 to all the tests.


Error: Could not find com.github.piasy:BigImageViewer:1.2.0.

Hi!
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:25.0.1'
    compile 'com.android.support:design:25.0.1'

    compile 'com.github.piasy:BigImageViewer:1.2.0'
}

allprojects {
    repositories {
        jcenter()
        mavenCentral()
        maven { url "https://www.jitpack.io" }
    }
}

Result:
Error:Could not find com.github.piasy:BigImageViewer:1.2.0.
Required by:
    MyLevel:app:unspecified
Search in build.gradle files

It should be available in jcenter.
But you can try to add maven { url  "http://dl.bintray.com/piasy/maven" } into your root project build.gradle.

Yes!
Ty!

And error:
android.view.InflateException: Binary XML file line #6: Binary XML file line #6: Error inflating class com.github.piasy.biv.BigImageView
    <com.github.piasy.biv.BigImageView
        android:id="@+id/mBigImage"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

@crysan the package name has been changed into com.github.piasy.biv.view.BigImageView, sorry that I haven't updated README in time.

Ok. It works.
Now
android:src="@drawable/start_wallpaper"
not works?

Yes, use showImage.

Ok. Ty!

android.view.InflateException: Binary XML file line #6: Binary XML file line #6: Error inflating class com.github.piasy.biv.BigImageView
this error is still bad at


MultiPolygons are incorrectly encoded as a single Polygon

A MultiPolygon is being incorrectly encoded as a single Polygon. It appears the rings of the multipolygon are being flattened into one polygon, so for instance, a multipolygon with two single-ring polygons is being encoded as a single polygon with two rings, which means the second polygon is misinterpreted as a hole in the first polygon.
Instead, since the format doesn't natively support multipolygons, it probably makes the most sense to simply "denormalize" the multipolygon into multiple, individual polygon features, and copy the feature properties from the original multipolygon to each of the new individual polygons.

Top image: correctly encoded multipolygon.
Bottom image: incorrectly encoded multipolygon, which renders as one polygon.

cc @hkrishna @rmarianski

Closing this issue. #5 explodes multipolygons


Wheelbarrow applying weight changes multiple times because of lack of check if the player is the local player controller

If there isn't a check, it will do this up to x people in the lobby times the calculations.

Made a pull request which seem to fix this. Will be live in next release

Also had this bug with the shopping cart as well

3.0.4


Use concurrent map when summarizing problems.

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

The merge queue build has failed. Click here to see all failures.


[WIP] Travis build

After merging the code into the main repo, this repo is obsolete. Closing this PR, too


A listing file

I have a newly minted Z80 (legacy) cross-assembler I'm trying to finalize.
I can assemble the hello world 16 program, using macros for RST.LIS and the like.
I would love to see a listing file of that project from someone that has the Zilog assembler installed.
I don't, for some reasons. What I am really after is to cross check my work against a known standard.

Wes

Apologies for the delay in getting back to you on this - attached is the .lst files for the Hello World 16 project as requested.

main.lst.txt
init.lst.txt

Hope that helps.

TYVM seems like a terse response. But I really mean it.

Wes


iOS 10 font weights support

In iOS the fonts creation from UIFontDescriptor are working differently

Looks good to me ✅


Edit title with single click

Describe the feature you'd like
When a new page is create the title is "New Page". To change the title it needs to be selected, deleted and then text can be written. Instead it would be nice to click into the area and directly be able to write the new title.
Describe the benefits this feature would bring to BookStack users
Just a small convenience feature
Additional context
I hope it is somehow understandably what I mean :D

as another improvement: the focus could already be on the title, so when I click on new page I am directly able to type. (maybe that would solve also this, thats why I am not creating another issue ^^)

Hi @Smoin1,
Thanks for the suggestion.
I have just made an update to the focus behaviour in 4ef362143bf9f2508b69da260e07ba0330ca6edf, following your suggestions.
If done things a little different, with the behaviour like so:

Upon edit, if the page title matches the default text for the current user's language then focus on the title element and pre-select all content for easy replacement.
Otherwise focus on the editor body instead.

Let me know if that doesn't suite, Otherwise I'll close this off and this behaviour will be part of the next patch release.

yes, good addon! :)


can you open source pretrained model for futher finetuning?

I would like to enhance some of the fundamental  ability such as captioning/reasoning, i would like the ability to do continue training, hence a pretrained model is required, also, to extent the modality to audio, i think a pretrained model is needed, thank you.

Hey, @runvyang , they've provided the weights on HuggingFace, check it out!
https://huggingface.co/rhymes-ai/Aria

I would like to enhance some of the fundamental ability such as captioning/reasoning, i would like the ability to do continue training, hence a pretrained model is required, also, to extent the modality to audio, i think a pretrained model is needed, thank you.

Updated Aria on the way, we will consider your proposal. Thanks!

We have released the base models (with native multimodal pre-training) for Aria (Aria-Base-8K and Aria-Base-64K)


How to register credentials for premium video download?

Hello,
I'm unable to download any Premium course while I have an active subscription.
I mean is it supported to download premium courses and if so where should I enter my credentials?
Thank you.

x2


Cannot import xml to "language" menu in Notepad++

Hi.
Thanks for your efforts here. I've landed now on this project.
I'm running Notepad++ v6.9.2. But when I try to import the xml file, I get an error "fail to import".
Maybe, Notepad++ has changed its XML format?
Thanks

What file are you trying to import? You cannot import the functions list - you can only import the SQLRPGLE syntax file.

Sorry, it was the SQLRPGLE file, yes.
And thanks for your fast answer.


Add some more context to the DEP_LLVM_15_CONFIG_PATH error

thanks for adding the message. I was confused by this llvm-sys's behavior as well.


Add additional tests and continue progress to support create base query

rewrite QueryClientProvider to match implementation in react-query
implement query error reset boundary
uncomment skipped tests in QueryClientProvider.tsx. Will use it.skip and describe.skip going forward (thank you for the tip @jennyckaplan)
add QueryResetErrorBoundary tests
transpile more createQuery tests
add suspense tests
add useIsFetching tests
add useIsMutating tests
continue progress from #18 in createBaseQuery

memoize defaultedOptions so they are recomputed reactively
clear error boundary reset in an effect
add isSuspense and isErrorBoundary flags based on logic from useBaseQuery. If either isSuspense or isErrorBoundary is true, we return the dataResource. If they are both false we return state.data. This change fixes issues with atomic state updates and still supports error boundary and suspense.

add createInfinityQuery tests
add createMutation tests

With this PR React Query has 273 passing tests, and Solid Query has 240 tests with 128 failed, 1 skipped, 111 passed...Solid progress 🎉

ok this is much improved
Tests:       64 failed, 7 skipped, 169 passed, 240 total

I did a review and LGTM but waiting for review from @ardeora and/or @jennyckaplan. In the interest of collaboration, lets try to avoid making more changes on top of this, and just check that the current changes are acceptable. We can then iterate on top once we merge.
66 tests remaining 🎉 lotta work but we're crushing it.
One thing @ardeora, we sort of combined your changes to createBaseQuery with my changes. Hopefully the final result looks good. It seemed ok to me.

Sounds like we have lgtm from me and @jennyckaplan. @ardeora Maybe you can branch off this at the current state and submit any changes you want to add. Then we can do a final review and merge everything into solid-query.


suggestion

if you guys are taking suggestions, I would LOVE to see a keyboard peripheral that works like the keyboards in moarperipherals in 1.7.10

This mod is not and will not ever be available for 1.7.10

https://github.com/SamsTheNerd/ducky-periphs
Ducky Peripherals might interest you then, it adds customizable keyboards

Thank you for the suggestion, however this feature is already covered by Ducky Peripherals in a way that's much better than anything I'd implement.


[Feature Request]: Improve Footer Section

How would you like to enhance the existing project.
Enhancement
There should be some Improve in Styles of Footer Section, If we see this follow area and footer area has been clashed and touched by each other
.

Describe breifly how would you implement the same.
Solution_steps
We can Add some MT(Margin Top) for the footer section
Are you contributing for a program?
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@kumarankit999 I want to work for this issue as a GSSOC contributor, please assign it to me

It was decided to be made like that only, for resembling the UX...

It seems to be clashed


WorldMapPlugin: Show quest state

Found it simpler to restart than rebase #8199.
I'd like to follow up this PR with adding the locations to the Quest enum, and removing the QuestLocation enum.
I think the icon for "In Progress" quests should be yellow, to match the color in the quest log. I just copied the images from the original PR, but I could remake the icon as yellow tomorrow.
There are some quests that are started in the same location. The logic will only show the latest non-completed quest, else it will show the last quest.

Also, I figured rolling this into the existing quest start config option made sense, instead of making a new config option.

FYI this should be co-authored-by the original PR writer, and should include their copyright on any files they added it to originally since you've used their patch as a starting point.

Good call - I add Co-authored-by: to the commit message.

X_MARKS_THE_SPOT(550, "X Marks the Spot"),
should be added to the quest enum

I won't bother with making the "In progress" icon yellow.

Updated images, made it pixel perfect on the minimap, fixed threading issues. should be g2g

This doesn't work if I log out and log in to a different account. And I don't actually see why it works to begin with. Previously you had it reload the icons on map widget load which I think might work.

I re-added the widget load event and that seemed to work.


(Kafka) TracingProducer errors without sending record if setting headers fails

Describe the Bug
TracingProducer tries to inject headers to propagate the current trace context. If an exception occurs during this then that exception is allowed to propagate and the record does not get sent to Kafka.
Steps to Reproduce
https://github.com/m50d/brave/commit/8e9b256f8f52219b5edd0accb41ca3c1eae15b6a has a test reproduction with the case I encountered: setReadOnly had already been called on the relevant record's headers, and so attempting to change them failed.
Expected Behaviour
I appreciate that this is arguable, but I would expect tracing to swallow and log exceptions as far as possible rather than allowing an error in tracing to interfere with the application's main functionality.

fair enough. I think we have some defense like this in JMS, in the setter implementation. Mind fixing this and adding your test? you can use the same exception logging approach as JMS

here's what I meant https://github.com/openzipkin/brave/blob/master/instrumentation/jms/src/main/java/brave/jms/MessageProperties.java#L40-L47


clean up hypo 4, erd diagram

@mandoiwanaga

Cleaned up hypo 4

nicer graphs, headers

Cleaned up the ERD diagram a bit.

looks great!


how to use %classpath magic correctly?

For context, I use this code:
%%sh
# Install java kernel
wget -q https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip
unzip -q ijava-1.3.0.zip
python install.py

# Install proxy for the java kernel
wget -qO- https://gist.github.com/SpencerPark/e2732061ad19c1afa4a33a58cb8f18a9/archive/b6cff2bf09b6832344e576ea1e4731f0fb3df10c.tar.gz | tar xvz --strip-components=1
python install_ipc_proxy_kernel.py --kernel=java --implementation=ipc_proxy_kernel.py

(from this gist) to load IJava as the kernel in a Google Colab notebook, but no matter what I do, the classpath is always
/usr/local/share/jupyter/kernels/java_tcp/ijava-1.3.0.jar

Here's a Google Colab gist that shows how I'm using %classpath and how the classpath isn't updated afterwards.
Am I using the magic incorrectly?  I was hoping to be able import my own classes to use in a Google Colab notebook, but I can't get IJava to recognize them.
Thanks for any help!

You're using the magic correctly (%classpath <path>).
The system property (System.getProperty("java.class.path")) isn't updated because that is the app classpath for the kernel itself but the managed JShell's classpath is still updated. When you run code in a cell it is compiled and run with a different classpath set through the various magic commands.
If you are distributing class files (rather than a jar) then they should be in folders matching their package structure and the root path added with %classpath.
e.g. with a class called HelloWorld in package com.example; located at /content/sample_data/com/example/HelloWorld.class, then you can use it with the following:
%classpath /content/sample_data
import com.example.HelloWorld;
System.out.println(HelloWorld.class);


Lines are played sequentially in a fractal loop, regardless of channel numbers

half-fixed

fixed as of initial release


HMAC auth should not default to Metal-Admin user

Some clients do not require admin privileges, but we enforce clients to use it:
https://github.com/metal-stack/metal-go/blob/v0.8.3/metal.go#L74
I think, a user should be able to choose the login user.

Its only the description, but still good point !

What do you exactly mean by description? The hard-coded sting value for Metal-Admin is what goes down into the Authorization header for API requests.

I didnt now that this is what makes an admin :fearful:


nightly tests: move creation / deletion of resources outside of It

Do this for the TCP Keepalive tests. This ensures that resources are not deleted
before logs are gathered.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>Related-to: #3821

test-nightly


Mojang license

I get the error:
"You have not accepted the license. Please visit the readme for more info!"
Even though I do manually set that field in the Globals.conf:
AcceptedMojangLic=true
Perhaps the keyword is not right?

Newest build fixes this issue! Actually the only way to pass was to turn it back off again. This check was re-written some time ago, and I never inversed the bool condition. Also this was moved somewhere it could totally interrupt startup, preventing exceptions that would otherwise have been thrown.

2.56.8031.12492 no longer displays the message when set to true.  I didn't change it back to false.  I may try that later, but will still close this issue.


[Storage] Fix indent on parquet warning

As title states, to address #33099

API change check
API changes are not detected in this pull request.


Rename gem's name

We need to rename this gem, not sure to what. Maybe rails_sync or something.
more info https://github.com/rubygems/rubygems.org/issues/1190

Maybe render_sync?

cc @chrismccord

:+1: for render_sync


Improve compatibility documentation

Description of the feature
Too many issues regard compatibility issues, especially with Ansys 2021 R1.
It seems the documentation is not clear.
The installation command is actually wrong when using Ansys 2021 R1.
Steps for implementing the feature

The compatibility table should be at the start of the "Getting Started" page
It mentions having to synchronize the ansys.grpc.dpf module but not explicitly the server and python client compatibility
The "Architecture" section mentions Ansys 2021R2 as required while the "Installation with PIP" section mentions "Ansys 2021 R1 or later" and gives only the command pip install ansys-dpf-core which is wrong is using Ansys 2021R1 (should be pip install ansys-dpf-core<0.3.0)
The Ansys 2021R1 row of the table should be visually separated in some way (thicker boundaries?)

Useful links and references
No response

@rlagha @cbellot000 @anslpa FYI


Contact information

Hey I would love to get in touch with your team to share of my implementation of your work! It's remarkable!

Hey @automateyournetwork! Thanks for your interests! This repo is maintained by the authors on our paper.
You could reach out to us at Zhengxuan Wu<EMAIL_ADDRESS>and Aryaman Arora<EMAIL_ADDRESS>


Cannot find package @acdh/network-visualization.umd.js@latest

trying to load
<script<EMAIL_ADDRESS>throws

<EMAIL_ADDRESS>net::ERR_ABORTED 404

this is because the package is not yet published to npm

Fixed in v0.1.0


Update link to OpenAI models in Quickstart

The original link is throwing a 404, so I removed the extra character.

@aschauhan22  @aldelar  can one of you review and approve this change? Thanks.

@mfurak Thank you for creating this PR. We appreciate it.
I will merge this PR for you now.


Allow file buffer instead of filepath

The lib was changed to allow file buffer directly from memory specially in the case of rest api.
Every function that required a file path was changed in the function def to
file_path=None, file_buffer=None

And inside the function two checks were added:
if not file_path and not file_buffer:
    raise Exception("file_path or file_buffer needs to be specified")

and
if file_path:
    f = open(file_path, 'rb')
if file_buffer:
    f = file_buffer

All the rest remains the same

Thank you for your contribution.
Sorry for the delay. I just manually tested code, and it passed (although it failed on Travis-CI). I will merge, and add some more fixing code before packaging a new version of it to PyPi


WSS Userkey

As we can see here https://github.com/search?q=repo%3ATheAxZim%2FWhitesource-Scan-Action userkey&type=code,
there is no such "with" parameter, but I'll try to define it via "env:" section for my step like this:
  - name: Mend
    uses<EMAIL_ADDRESS>    env:
      WS_USERKEY: ${{ secrets.WS_USERKEY }}
    with:
      wssUrl: https://whitesourcesoftware.com/agent
      apiKey: ${{ secrets.WS_API_KEY }}
      userKey: ${{ secrets.WS_USERKEY }}
      productName: 'One Pet-Project'
      projectName: 'pet-project'

Ok, yesterday I did make a fork, and it works the way it should. Can we ask an author to bring those changes for 1.0.1?
https://github.com/dc185334/Whitesource-Scan-Action


Unable to download package via NPM

Hi! I am looking to use this project package for some IIIF tiling I am aiming to do using NodeJS.
However, I can't get the package to download from NPM. It perhaps might be an NPM issue, but I've tried a few different NodeJS environments and the install gets stuck at this step
npm install --save iiif-processor
[..................] | fetchMetadata: sill resolveWithNewModule<EMAIL_ADDRESS>
Is anyone able to reproduce this as well? Thank you!

I've been unable to reproduce this. I'm assuming it was a temporary npm outage or network issue.


Append data to existing worksheet

I can't find any way to append data to existing worksheet in excel file.
Data are always overwritten - no matter whether I use a parameter -WorkSheetname or not.
Anyone can help?

There is no built in way to append data. You can use Import-Excel to read the data from the sheet, append the new data and then pipe back to Export-Excel.

I have implemented this. Hopefully I will upload later this week.

I'm sorry @jhoneill  I'm totally missing how to do this. I've had to manually track a counter to do startrow for now which is confusing/error prone. Is there a way for me to continue to append to a worksheet built in now?

I don't believe that got submitted

I will check what has happened with this - I thought I had submitted it, but I'm working with a version which is out of sync with what is here on GitHub,


[Spike] Reset the shipping cost when the shipping address changes.

At the moment of writing this ticket:

It seems that the backend can can adjust the shipping price when the shipping address changes.
We were able to assess this by using addresses in Vietnam and Belgium.

It also seems that changing items in the cart has no influence on shipping costs.

In Spartacus, we would like the shipping method to clear from the cart when we apply changes to the cart like changing the shipping address or updating items in the cart.
This behaviour/rules may be configurable in the backend.  The goal of this spike is to determine if it is possible for the backend to reset the shipping cost/method when we change the shipping address or the items in the cart.

looks like the cart is recalculated in all cases when cart changes, before submitting
can we do something to signal to the user that something changed?


Function assignability does the wrong thing on  dynamic -> Null

This code should have no errors, but produces an error on the first call only.
class A {

  void foo(void foo(String x)) {
  }
  Null bar1(dynamic x) => null;
  void bar2(dynamic x) => null;

  void test() {
    foo(bar1);
    foo(bar2);
  }
}

Note also:
class A {

  void foo(void foo(String x)) {
  }
  Null bar1(dynamic x) => null;
  void bar2(dynamic x) => null;
  Null bar3(String x) => null;

  void test() {
    foo(bar1);
    foo(bar2);
    foo(bar3);
  }
}

this actually had nothing to do with Null. For instance methods, we treated them sometimes as strict arrow and sometimes as fuzzy arrow. DOH.

https://codereview.chromium.org/2675963004/

I think this is still broken for named parameters:
typedef void Loader(String x);

class Bar {
  void foo({Loader foo}) {
  }
  Null bar1(dynamic x) => null;
  void bar2(dynamic x) => null;
  Null bar3(String x) => null;

  void test() {
    foo(foo: bar1);
    foo(foo: bar2);
    foo(foo: bar3);
  }
}

I'm going to pick this up, since I think @jmesserly is working on the other 1.22 issue.


feat: Search

Adds search to the HTMLTheme

@fussel178 Thank you very much for your review. Yep, I changed it to default to unknown later in the process and forgot to update the references 👀 .
Kindly have a look again, it should now have been fixed, as per your suggestions 😉

@fussel178 Thank you very much for your review. Yep, I changed it to default to unknown later in the process and forgot to update the references 👀 .
Kindly have a look again, it should now have been fixed, as per your suggestions 😉


Bugfixes and Feature Updates

Fix #24 - allowing screenshots to be disabled
Fix #20 - made simple protobuf merging tool
Fix #12 - Major updates to Visualization scripts
Changes keystroke dumping to occur after a 60 second timeout, rather than every 60 seconds.

@joncamp Let me know when the PR is ready for me to look at again. You can use the "Re-request review" image button next to my GitHub ID above (the icon with two arrows arranged in a circle).

All current code review feedback incorporated.


Fix a bug in #23.

Fix the issue referred here: https://github.com/Endilll/vapoursynth-preview/pull/23#issuecomment-826439141

It seems to work but when reloading, the checkbox "Sync Outputs" is always disabling.

It seems to work but when reloading, the checkbox "Sync Outputs" is always disabled itself.

Fixed.
Thanks for pointing out the problem.


Fix bugs for dropdown and date picker

Added className property to dropdown items
Added title property to dropdown items
Fixed behavior of selected items
Fixed handling of property changes
Added onChange property to propagate changes in react world
Fixed change event and styling of date picker

👍 I've tested it and it works well I will add something later for 'filterable' dropdowns that the input field gets auto-focused when the dropdown opens


Add support for zhimi.toilet.va1 (local mode)

https://home.miot-spec.com/s/zhimi.toilet.va1
08:26:48 -> {"id":5537,"method":"set_power","params":["off"]}
08:26:48 <- {"code":0,"message":"ok","result":["ok"],"id":5537}
08:26:49 -> {"id":5539,"method":"get_prop","params":["power","onseat_state","seat_ring","closestool_cover","inwater_temp","water_temp_lvl","seat_temp","seat_temp_lvl","flow_level","wind_temp_lvl","nozzle_level","night_led","deodorize","filter_life","mode","user_work_statue","buzzer"]}
08:26:49 <- {"code":0,"message":"ok","result":["off","off","on","on",22,3,36,2,2,2,1,"off","off",98,"idle",0,"on"],"id":5539}
08:27:08 -> {"id":5540,"method":"set_power","params":["on"]}
08:27:08 <- {"code":0,"message":"ok","result":["ok"],"id":5540}
08:27:14 -> {"id":5541,"method":"set_watertemp_lvl","params":[2]}
08:27:14 <- {"code":0,"message":"ok","result":["ok"],"id":5541}
08:27:22 -> {"id":5542,"method":"set_watertemp_lvl","params":[3]}
08:27:22 <- {"code":0,"message":"ok","result":["ok"],"id":5542}
08:27:27 -> {"id":5543,"method":"set_seattemp_lvl","params":[3]}
08:27:27 <- {"code":0,"message":"ok","result":["ok"],"id":5543}
08:27:28 -> {"id":5544,"method":"set_seattemp_lvl","params":[2]}
08:27:28 <- {"code":0,"message":"ok","result":["ok"],"id":5544}
08:27:30 -> {"id":5545,"method":"set_flow_level","params":[3]}
08:27:30 <- {"code":0,"message":"ok","result":["ok"],"id":5545}
08:27:31 -> {"id":5546,"method":"set_flow_level","params":[2]}
08:27:31 <- {"code":0,"message":"ok","result":["ok"],"id":5546}
08:27:33 -> {"id":5547,"method":"set_windtemp_lvl","params":[3]}
08:27:33 <- {"code":0,"message":"ok","result":["ok"],"id":5547}
08:27:34 -> {"id":5548,"method":"set_windtemp_lvl","params":[2]}
08:27:34 <- {"code":0,"message":"ok","result":["ok"],"id":5548}
08:27:35 -> {"id":5549,"method":"set_nozzle_level","params":[2]}
08:27:35 <- {"code":0,"message":"ok","result":["ok"],"id":5549}
08:27:36 -> {"id":5550,"method":"set_nozzle_level","params":[1]}
08:27:36 <- {"code":0,"message":"ok","result":["ok"],"id":5550}
08:27:39 -> {"id":5551,"method":"set_night_led","params":["on"]}
08:27:39 <- {"code":0,"message":"ok","result":["ok"],"id":5551}
08:27:40 -> {"id":5552,"method":"set_night_led","params":["off"]}
08:27:40 <- {"code":0,"message":"ok","result":["ok"],"id":5552}
08:27:41 -> {"id":5553,"method":"set_buzzer","params":["off"]}
08:27:41 <- {"code":0,"message":"ok","result":["ok"],"id":5553}
08:27:42 -> {"id":5554,"method":"set_buzzer","params":["on"]}
08:27:42 <- {"code":0,"message":"ok","result":["ok"],"id":5554}
08:27:44 -> {"id":5555,"method":"set_deodorizer","params":["on"]}
08:27:44 <- {"code":0,"message":"ok","result":["ok"],"id":5555}
08:27:45 -> {"id":5556,"method":"set_deodorizer","params":["off"]}

{'power': 'off', 'onseat_state': 'off', 'seat_ring': 'on', 'closestool_cover': 'on', 'inwater_temp': 22, 'water_temp_lvl': 3, 'seat_temp': 36, 'seat_temp_lvl': 2, 'flow_level': 2, 'wind_temp_lvl': 2, 'nozzle_level': 1, 'night_led': 'off', 'deodorize': 'off', 'filter_life': 98, 'mode': 'idle', 'user_work_statue': 0, 'buzzer': 'on'}

Would it be possible to add local mode also for zhimi.toilet.sa1? The specs are 100% the same in home.miot-spec.com.
I'm currently on the latest release v0.7.17.
Thanks in advance.

When adding the device locally (with IP and token) I get only 5 control entities and they appear unavailable.
In local mode I can control the device with the service xiaomi_miot.send_command, like opening or closing the lid.

service: xiaomi_miot.send_command
data:
  entity_id: binary_sensor.zhimi_sa1_849e_toilet
  method: set_cover
  params: "on"

These are the attributes of the binary sensor which gets created binary_sensor.zhimi_sa1_849e_toilet


Restructure sourceHarvestPositions to optimize memory and usage

sourceHarvestPositions should be stored in memory in the following structure
sourceHarvestPositions = [
packedSourcePositions // one packed array of positions (sorted by range to fastFiller, or in remotes by range to commune fastFiller) per source
]

There should be a room getter to enable easy access to the harvest positions. The result should be:
sourceHarvestPositions = [
[RoomPosition] // one array of unpacked room positions in previous sort order per source
]

can you clearify what you want to be done in this issue?


Expand documentation on conditional expressions

Summary
Inspired by: https://stackoverflow.com/questions/70306572/argo-workflow-when-a-condition-for-substring-match/70308809#70308809
The conditionals docs should point out:

the govaluate manual which is much more helpful than the base README
Argo Workflows does not augment govaluate with any additional functions, so you're working with the base comparators
param substitution happens before govaluate evaluation, so you're not allowed to mix quoted and unquoted strings
the operator =~ is doing regex (it's unclear in the current comments)

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Really good reference!

Going to close this one out since govaluate is on the way out per #7831.
Similarly, per https://github.com/argoproj/argo-workflows/issues/7576#issuecomment-1728725234, I plan to remove the govaluate references anyway and point folks toward expr docs instead.


Inherited class variable modification

In fact：

Expect：

we currently only show methods so it can be overriden, but not fields.

Dupe of #2059


Fix overrelease (and simultaneous leak) in _PylibMC_Inflate

Not really sure why the implementation is testing errno
when realloc returns a non-null pointer. Is that an
idiosyncrasy of a particular platform...?
You may even be failing spuriously due to stale errno
values. At least with this change, you won't crash the
process.

I'm not sure why we test errno there, I'll remove it. It should of course be && errno = ENOMEM, but there is no other failure case for realloc so it seems superfluous.
However, your change is not good. I quote the BSD man page for realloc:

For realloc(), the input pointer is still valid if reallocation failed.

And the Linux man page on the same subject:

If  realloc() fails, the original block is left untouched; it is not freed or moved.

To me it's very clear that if realloc fails, the user is responsible for freeing the input. That is exactly what we're doing.

I realize that maybe the || errno == ENOMEM is exactly what is triggering the bug. Will commit this fix instead; do you have any objections to this?

I'm closing this for now, I would love to hear your further arguments for your PR though!

I don't mean to spam a closed PR, but how often to you bump a release to PYPI?
I work with @ltdowney and this issue plagues us, so I just want to evaluate building and hosting a custom release of this ourselves versus just waiting for a release.

Sorry, I didn't notice the original response. Your argument doesn't make sense to me. There are two possible behaviors for realloc in a standards-compliant implementation:

the output pointer is non-null and the input pointer is freed
the output pointer is null and the input pointer is still valid

The way the code was originally written, it may attempt to free "out" even in case 1 above, if errno is not cleared by the implementation of realloc.
Really, the right thing to do would be just to test the return value of realloc to determine success. The value of errno is there for information only.

The original implementation also would never free the "tryrealloc" pointer. My change simply ensures that if "tryrealloc" is ever non-null, i.e. realloc succeeded, then the old "out" value is discarded (no longer valid) and the new "out" value is guaranteed to be freed (no leak).

IOW the problem is now fixed is what you're saying?

Ludvig

On 24 feb. 2016, at 23:02, Luke Tyler Downey<EMAIL_ADDRESS>wrote:
Sorry, I didn't notice the original response. Your argument doesn't make sense to me. There are two possible behaviors for realloc in a standards-compliant implementation:
the output pointer is non-null and the input pointer is freed
the output pointer is null and the input pointer is still valid
The way the code was originally written, it may attempt to free "out" even in case 1 above, if errno is not cleared by the implementation of realloc.
Really, the right thing to do would be just to test the return value of realloc to determine success. The value of errno is there for information only.
—
Reply to this email directly or view it on GitHub.

Your change should have the same effect that mine would have had. We're not planning to do any more rigorous testing until there's an official release, so I can't give you a definitive answer, but I'm reasonably confident.

Cool beans. Expect a release very soon!

On 25 feb. 2016, at 02:10, Luke Tyler Downey<EMAIL_ADDRESS>wrote:
Your change should have the same effect that mine would have had. We're not planning to do any more rigorous testing until there's an official release, so I can't give you a definitive answer, but I'm reasonably confident.
—
Reply to this email directly or view it on GitHub.

@lericson Do you have a specific date in mind?

@jstasiak New release is out!


[Enhancement Request] Add tracking for mean, median, and mode of dice rolls.

Would it be possible to add stats for the mean, median, and mode of each players' dice rolls?

Sure, I will work on it.