Depecation issues starting with home assistant 2024.1

When using the add-on and starting home assistant, the log is spammed with deprecation issues:
2024-01-04 11:46:04.819 WARNING (MainThread) [homeassistant.const] ENERGY_WATT_HOUR was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:04.897 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:04.995 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:05.096 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.439 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ENERGY was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ENERGY instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.475 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_POWER was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.482 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.498 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.514 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.533 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.552 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.567 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.574 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL instead, please report it to the author of the 'smasw' custom integration
2024-01-04 11:46:06.596 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from smasw, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please report it to the author of the 'smasw' custom integration

These will be removed in 2025.1, for sure, but it would be worth while to fix this before hand.
@garthberry thoughts?

Fixed this in my fork, feel free to pull changes into this project if you want: https://github.com/Marck/hass-sma-sw


ROX-20232: Extract common pipelines for tekton pipeline runs

Description
The PipelineRuns in the .tekton subdirectory have a very similar structure (parameters, results, workspaces, sequence of tasks). This PR aims at reducing the duplication across pipelineSpec for the various PipelineRuns through the addition of common Pipeline objects referenced with appropriate parameters.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
TODO(replace-me)
Use this space to explain how you validated that your change functions exactly how you expect it.
Feel free to attach JSON snippets, curl commands, screenshots, etc. Apply a simple benchmark: would the information you
provided convince any reviewer or any external reader that you did enough to validate your change.
It is acceptable to assume trust and keep this section light, e.g. as a bullet-point list.
It is acceptable to skip testing in cases when CI is sufficient, or it's a markdown or code comment change only.
It is also acceptable to skip testing for changes that are too taxing to test before merging. In such case you are
responsible for the change after it gets merged which includes reverting, fixing, etc. Make sure you validate the change
ASAP after it gets merged or explain in PR when the validation will be performed.
Explain here why you skipped testing in case you did so.
Have you created automated tests for your change? Explain here which validation activities you did manually and why so.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

Let's close this out in favor of https://github.com/stackrox/stackrox/pull/10866?

Closing this PR in favour of #10866


Replay button does not work

When a live show ends, the following screen shows and the replay button does nothing.
I am using Bambuser 1.3.0
Screenshot

Working on this now, should have a fix up soon.

Fixed in 1.3.2


Build with webpack failing sass loader in 6.3.0

I have updated my project to use 6.3.0 and getting error while building. What's the fix for this?
ERROR in ./src/assets/css/common.scss
Module build failed:
undefined
        ^
      Argument `$color` of `red($color)` must be a color

Backtrace:
	node_modules/foundation-sites/scss/util/_color.scss:19, in function `red`
	node_modules/foundation-sites/scss/util/_color.scss:19, in function `color-luminance`
	node_modules/foundation-sites/scss/util/_color.scss:44, in function `color-contrast`
	node_modules/foundation-sites/scss/util/_color.scss:63, in function `color-pick-contrast`
	node_modules/foundation-sites/scss/components/_badge.scss:59, in mixin `foundation-badge`
	src/assets/css/foundation/_settings.foundation-includes.scss:10
      in \node_modules\foundation-sites\scss\util\_color.scss (line 19, column 10)

@gaurav2887 This issue should help you: https://github.com/zurb/foundation-sites/issues/9508
Basically you have a missing variable in your settings file by the look of it.

@brettsmason - Thanks. Yeah just found out that I was missing $badge-palette.


Client Allocation Request for: Dekun cloud data tecnology

Client Allocation Questions
Core Information

Name: Dekun cloud data tecnology
Website / Social Media: https://dekun.decoo.io/
Region: Greater China Region
DataCap Requested: 450TiB
Addresses to be Notarized: f1n6lyl2qcxnjn2aoiinmrux6rnumxnzdyoslcpmi
Notary Requested: neogeweb3

@taskerone Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

#2398

Could you give me more information on your scope of business, as your Twitter is about investment research, but your website is about IPFS pinning service with very limited info.

@neogeweb3 We are so sorry it took so long to reply your message. Our official link is below which can help learn further about us: https://www.dkskcloud.com

What is the best email I could reach out to you, I will need a work email under the domain dkskcloud.com or dekun.decoo.io thanks.

@neogeweb3 This is my business email<EMAIL_ADDRESS>you can contact me through this email.

A verification email was sent.

@neogeweb3 It's my honor to receive your mail. My employment certificate letter has been email to you.

Thank you for your patience. I will allocate 1TiB to get you started. Feel free to request more DataCap when you use up the allocation.

Allocation was successful. https://filfox.info/en/message/bafy2bzaceade2v5t3wr7zc4wf5ilrhsr2um26qcceyiu6h65fsx4sknj3jzdo

@neogeweb3 I'm glad you can pass my application. When I use up 1TiB allocation, will you continue to allocate the remaining DataCap to me through this application? Or do I need to start a new application?

You need to submit a new application, thanks.


fix: Register new stdlib packages in 1.21

Without this patch, the stdlib package check fails,
and we emit a spurious error about a nil non-stdlib module
The new list of packages can be seen in the release notes:
https://tip.golang.org/doc/go1.21
Out of these, the log/slog and testing/slogtest packages
already have their prefixes present in the stdlib package map.
Fixes #48

Tested against https://github.com/varungandhi-src/slice_test and this patch fixes the panics.


Cannot Use Existing Service Connection

[--service-connection SERVICE_CONNECTION] does not pick up existing service connections, --service-connection myserviceconnect keeps returning
"Could not create service hooks subscription. The repository does not reference a service connection."
If I remove --service-connection I can select the existing Service Connection in the list and build is created

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

ID: 2a2123ca-5408-8f93-6f5c-93fe74684523
Version Independent ID: 7a03fe73-da7f-9b5a-38e7-ef51d85d49fd
Content: az pipelines
Content Source: latest/docs-ref-autogen/ext/azure-devops/pipelines.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@deecoaccela Can you try using the service connection Id instead of name. The help text does mention this though.
--service-connection : Id of the Service connection created for the repository for GitHub repository. Use command az devops service-endpoint -h for creating/listing service_connections. Not required for Azure Repos.

To get the id of the service connection you can use list command az devops service-endpoint list.

@deecoaccela Can you try using the service connection Id instead of name. The help text does mention this though.
--service-connection : Id of the Service connection created for the repository for GitHub repository. Use command az devops service-endpoint -h for creating/listing service_connections. Not required for Azure Repos.

To get the id of the service connection you can use list command az devops service-endpoint list.

@atbagga I have tried with the --service-connection , I get returned

Could not create service hooks subscription. The repository does not reference a service connection.

@atbagga thanks, how to switch between projects ? as service connections appearing for default or first project created. cannot list for other projects tried az devops project -h

Each command takes --project as an input parameter and this has preference over auto select (from local git repo) or auto configured (az devops configure project=XYZ).
If you want to list service connections of some project use az devops service-endpoint list --project XYZ.
You can also check/change your default configured project using -

az devops configure -l
az devops configure -d project=XYZ

ok, now I get
"The user doesn't have access to the service connection(s) added to this pipeline or they are not found. Names/IDs: 12345-d558-66e7-a669-4229c137d692"
--service-connection '12345-d558-66e7-a669-4229c137d692'
tried with and without quotes, what should the syntax look like ?

Quotes should not matter.
Please run the commands with --debug flag to confirm from the logs that you are creating the pipeline in the same project where the service connection exists.

TF400813: The user<EMAIL_ADDRESS>is not authorized to access this resource.

turns out I was using the wrong ID , there are 2 defined one for the user who created the service connection , the second id is the actual id of the service connection

Closing the issue since it looks like it worked for you as per your comment.
Incase you still have any issue please tag me to reopen this or feel free to open a new issue.


Add Oracle Adapter that allows for arbitrary asset pair prices

Detailed Description
As a runtime developer I want to be able to query the price between any two assets in the omnipool. Currently the oracle only provides prices from/to LRNA. We can abstract over this by combining two prices to LRNA into one final price.
Possible Implementation
Write a generic struct in the common runtime crate that takes two asset ids and returns their price.
cc @dmoka

@apopiak For my DCA, I am already creating a PriceProviderAdapter, with signature
fn price(asset_a: AssetId, asset_b: AssetId) -> Option<Self::Price>

Where Price type is EmaPrice
I guess it should be sufficient enough?! What do you mean by generic struct, what do you want to abstract?


fixed the code generation for the exception handling

This pr is linked to #10, but doesn't fix it.

Maybe this deserves a comment in code and commit message that explains why and what this does.
I know I would not have any idea what that warning means if I looked at that code.


How to config private video

I want to configure public video blocking and set secret mode without knowing how to configure it. The config always returns an error. Can you help me with this .. thanks
when add
The first argument must be one of type string or Buffer. Received type boolean
    const args = {
        token: "TOKEN", // with the permission to upload
        id: "408178802639894", //The id represent {page_id || user_id || event_id || group_id}
        stream: fs.createReadStream(pathVideo), //path to the video,
        title: _name,
        description: _name,
        no_story: true,
        published:false
        // if you want the default thumb from the video just remove the field
        // you can add any extra fields from the api https://developers.facebook.com/docs/graph-api/reference/page/videos/#Creating
        // all keys except token, id, stream are passed to the final request
      };

ERROR==>
_http_outgoing.js:607
    throw new ERR_INVALID_ARG_TYPE('first argument',
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string or Buffer. Received type boolean

I don't understand what you try to achieve. Are you referring to the field ?
privacyPrivacy | Privacy setting for the video.
Check the extra fields documentation https://developers.facebook.com/docs/graph-api/reference/video

I had the same problem and solved it with putting the Booleans into quotes so they will be handled as Strings.


[Feature Request] override toString() for UMP FormError class

as title
now no, ref:
https://github.com/googleads/googleads-mobile-flutter/blob/7599cbae4e56d139f533043fc3b2838c6f86fd0b/packages/google_mobile_ads/lib/src/ump/form_error.dart#L16

Thanks, I will submit this feature request to the SDK team.

still no https://github.com/googleads/googleads-mobile-flutter/issues/891

@NVentimiglia  why still no?
more than 1 year, i need to catch the error then crash log the code & message
if the library just override tostring(), no need that lines of code


Add a SwiftPM 4 version of the manifest.

Looking at the SwiftPM docs:
https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md#version-specific-manifest-selection
this naming seems to be what is needed to support SwiftPM 3 getting
the old file while folks using SwiftPM 4 will get the new.
Hopefully this is a step in the direction of supporting folks only
having to build the parts they want, i.e. -
https://github.com/apple/swift-protobuf/issues/125

I should add, without this, it seemed like swift build|test was building with 3.x instead of 4.

I believe we need to have a SwiftPM4 manifest available (which likely means cutting a point release) for folks to actually get the library built with Swift 4 if they are using SwiftPM themselves.  From my quick look at this, it appears the SwiftPM will use the library in Swift 3 mode if there isn't a manifest saying it supports 4.

Ah, last paragraph on swiftlanguageversions

If a package does not specify any Swift language versions, the language version to be used will match the major version of the package's Swift tools version. For e.g.: A Swift tools version with a major version of '3' will imply a default Swift language version of '3', and a Swift tools version with a major version of '4' will imply a default Swift language version of '4'.

So by not having a 4 manifest, we're saying we only support Swift 3.

@tbkka any reason to go with the conditional (what you did in 6314d80) vs. using the proper support for a separate file?  Should we update that conditional to be closer to what this has?

Huzzah!  I'd been looking for the separate file approach, but couldn't find it documented anywhere.
This is much better.  Let's merge this and I'll back out my change.


update spreadsheet cc

thanks

ohh yes you are right, ill try to check what an be done on cc load

should now behave as expected with #1101

Nice! works now on my end 👏

i can try create a check module avaliable method as a custom cc, and we can probebly implement it in the xml view, to catch all of the non cc ciontrols who are not in openui5…
could be a better way tho..
for now can figure a way without try define the module with a try catch.
the part on whete and how to implement the check logic is the intresting one…
ill do something, we cam echance it from there,
let me know if you think of a better idea @oblomov-dev


PoC for a matcher sort that works

This is an sorting algorithm for marchers that "just works", it is dirt and inelegant, it's just a PoC to show that no heuristics is required to sort correctly.
Although it kind-of brute force the ordering, it's probably faster than the original, because comparing two MatchCase only take a few instructions, and the biggest tables only have a few thousand entry's.
Here the result of x86-64: https://gist.github.com/rbran/74d92fd2247726db752d81f97865d08b
This is not meant to be merged, just want to know your opinion about it. Fell free to close it.

I forgot to mention, the sorting of constructors is not done directly, is the result of pattern conflict verifications.
The code needs to find constructors specializations and verify if it's possible for a pattern to match two constructors, creating a conflict, if so, it needs to find a third constructor that contains the previous two (mask and values) to solve the conflict.
That algorithm will automatically find the best constructor order.

Thanks for looking at this further.
However, I seem to get an ordering issue with decoding [2d e9 f0 41] push {r4,r5,r6,r7,r8,lr} (ARMv7LE THUMB). With this ordering algorithm I seem to get the instruction decoded as: stmdb sp!,{r4,r5,r6,r7,r8,lr}
Which corresponds to ordering ARMTHUMBinstructions.sinc:4310  before ARMTHUMBinstructions.sinc:3251
(I haven't fully worked out why this is happening, it could be some other issue)
My understanding of the logic of the sorting algorithm in this PR is:

Search through the current list of ordered cases to find the first case that needs to be match after the current case, and insert the current case before that position.
Since cases are added in order, if there is no strict ordering between

I think this approach makes a lot of sense, but I'm a bit wary with how it interacts with partially overlapping cases since it results in an unstable ordering.
Consider a SLEIGH specification that looks something like this:
define token instr (32)
    op0 = (0,7)
    op1 = (8,15)
    op2 = (16,23)
    op3 = (24,31);

1:  is op0=0x1           & op2=0x1 { }
2:  is op0=0x1 & op1=0x1           { }
3:  is           op1=0x1 & op2=0x1 { }

Following the algorithm, I think we end up with:

[1]
[1, 2]
[1, 2, 3]

Then consider what happens if a new constructor is inserted:
+0:  is          op1=0x1            { }
1:  is op0=0x1           & op2=0x1 { }
2:  is op0=0x1 & op1=0x1           { }
3:  is           op1=0x1 & op2=0x1 { }

Now if we follow the same algorithm we end up with:

[0]
[0, 1]
[2, 0, 1]
[2, 3, 0, 1]

However, if we place constructor 0 in a different position, we end up with another different ordering.
1:  is op0=0x1           & op2=0x1 { }
+0:  is          op1=0x1            { }
2:  is op0=0x1 & op1=0x1           { }
3:  is           op1=0x1 & op2=0x1 { }

[1]
[1, 0]
[1, 2, 0]
[1, 2, 3, 0]

Which means that relative ordering of individual constructors is not just dependant the constraints and relative position in the original SLEIGH file, but also all other partially overlapping patterns. Notice that 1 and 0, do not overlap at all, but still has an influence on the ordering of 1.
My opinion is that these ordering rules in Ghidra are likely to result in bugs, and makes writing and understanding SLEIGH specifications  difficult. (I found this discussion around similar issues very interesting: https://github.com/bytecodealliance/wasmtime/issues/4717#issuecomment-1216014041)

The goal is to try and be as compatible with Ghidra as possible (so we can't really avoid problematic ordering rules), so I'm definitely open to accepting a change to the ordering code, I just want to be mostly sure that whatever algorithm is used is likely to stay correct even with changes to the SLEIGH specification.

1:  is op0=0x1           & op2=0x1 { }
2:  is op0=0x1 & op1=0x1           { }

This is actually illegal, because the token 0x10101 can match both, it require a third constructor to solve this conflict: op0=0x1 & op1=0x1 & op2=0x1
From the doc

If two constructors intersect, but there is a third constructor whose pattern is exactly equal to the intersection, then the third pattern is said to resolve the conflict produced by the first two constructors. An instruction in the intersection will match the third constructor, as a specialization, and the remaining pieces in the patterns of the first two constructors are disjoint. A resolved conflict like this is not flagged as an error even with the strictest checking. Other types of intersections, in combination with lenient checking, can be used for various tricks in the specification but should generally be avoided.

It seems that ghidra break it's own rules and allow that to happen.
I'll rethink this algorithm with more results in the comparison, with Conflict, Different, etc,

I also wasn't able to find any issues in my brief testing.
I’m not sure about how complex constraints should be handled. I’m fairly sure that Ghidra just brute-forces every possible value in the comparison. If you have a complex constraint on a large enough field (e.g. something like immed24 > 0), then Ghidra's sleigh compiler never completes.

I'm happy to merge something like this if you want -- but let me know.

I still I'm getting the this issue:

I seem to get an ordering issue with decoding [2d e9 f0 41] push {r4,r5,r6,r7,r8,lr} (ARMv7LE THUMB). With this ordering algorithm I seem to get the instruction decoded as: stmdb sp!,{r4,r5,r6,r7,r8,lr}

But I think this is not related to ordering, because all push constructors comes first that all stmdb constructors. I'll investigate when I got more time.

I’m not sure about how complex constraints should be handled. I’m fairly sure that Ghidra just brute-forces every possible value in the comparison. If you have a complex constraint on a large enough field (e.g. something like immed24 > 0), then Ghidra's sleigh compiler never completes.

I also don't know how to handle that, so I left  @todo comments in the complex_equal_intersection function.

I'm happy to merge something like this if you want -- but let me know.

I'll open this PR for review, but I think there is still cleaning to be done, specially the index linked list need to abstracted.
Maybe it's better to have this whole thing squashed to avoid the noised created by try-and-error in the dev.


Add support for instantclient

I've added some modified scripts that download the instant client, sdk, and sqlplus.  It is (at least) partially duplicative of XE, so I'm not sure it should be a part of the travis-oracle repo - maybe a travis-oracle-instantclient repo?
The immediate use for this was to get http://github.com/mattn/go-oci8 building on travis.
As you can probably see the code is seriously violating DRY.  It might make more sense to just put all 3 packages into a single download and install script, and just have one environment variable to explain the version number.

This is a followup to #2

I think it makes sense for the client tools to be in this repo.

It might make more sense to just put all 3 packages into a single download and install script, and just have one environment variable to explain the version number.

That seems like the right approach to me too. Should it be possible to install each one of these things separately (basic, sdk, sql*plus) or does one typically install two (or all three?) I expect we should keep the server and client as separate choices.

For my use I only needed the basic + sdk, but the instructions I find usually include sql*plus, so I suspect that is a common use case.  It is only an additional 800kb or so, so I figure bundling them makes more sense.
We could always do something fancy like checking to see if the environment variable identifying the sdk or sql plus files exist, and if so, downloading and installing them.  Something like
if [ -z "$ORACLE_INSTANTCLIENT_SDK_FILE" ]; then
   download_instantclient_sdk.sh
   install_instantclient_sdk.sh
fi

Is there anything I can do for this?  This isn't meant to poke you along; I just have some free time.

Sorry for the delay, I've been looking at oci8 modules/packages to understand the differences between the full client that comes with XE and the instant client. It seems that files end up in different places for different clients and different versions.
Regarding what's here,

I'd like to compare the contents of these zip and rpm downloads to see if there is any benefit to just using the zips. Are you familiar enough with rpm or dpkg to help with that?
download.js can probably be fixed take a few arguments, but I don't know how to do that in node/phantom atm.
There are quite a few clients available to download... how should we expose the choice to the user?

I picked the rpm's because their file size was slightly smaller.  For the basic lite client, it is about 400k.  Nothing to write home about, but without a reason to choose either that seemed like a sensible choice.  I've never used alien before.
I don't really know javascript very well but I can take a shot.
Maybe providing a list of packages with a path separator, and then feeding the names to the script in no. 2?

Parameterizing download.js looks straightforward.  I'll submit a pull request sometime later today, hopefully.

It seems overkill to script the Instant Client install because the RPMs have almost no prerequisites (only one library.) I've decided to extend download.sh to make it easy to get the RPMs, then leave it to the user to execute sudo rpm --install right in .travis.yml. We can keep the wiki up-to-date with instructions. Let me know what you think.

Sounds good to me!


Haxelib Broken, I can't compile the game

I want to compile the game on my distribution (Debian Bullseye)
I can't, because haxelib gives me an error when downloading and trying to install any library Error: std@date_set_day
(the date on my computer and operating system is correct)

I have tried a fresh install on a virtual machine on Debian bullseye and Fedora. I keep getting the same error.
I do not know what will be the cause of this error, I have already been able to compile the game without problems in Windows, haxelib worked without problems.
now i am trying to compile haxe, hoping that this can be fixed, but currently i am having trouble with that, i keep trying.
I have also written in the haxelib repository https://github.com/HaxeFoundation/haxelib/issues/513

Make sure you use the PPA and not your distro's version.

@VMGuy23
I can't install it, it needs libc6 equal to or greater than 2.32, on Debian Bullseye 2.31-12 is installed.
dpkg says that it might break something if I install a higher version.

this is a problem with haxelib and not kade engine

@VMGuy23
I can't install it, it needs libc6 equal to or greater than 2.32, on Debian Bullseye 2.31-12 is installed.
dpkg says that it might break something if I install a higher version.

What does it say it might break? I'm on ubuntu 21.04 and all works fine

dpkg dice que podría romper algo si instalo una versión superior.

¿Qué dice que podría romperse? Estoy en ubuntu 21.04 y todo funciona bien

For Debian it is something else, you should test it on a virtual machine.

@VMGuy23

I tried it on kubuntu 21.04, and I have the same problem.

make sure you got all the updates

make sure you got all the updates

I keep it up to date

thats weird. I'm on Ubuntu 21.04, withthe Haxe PPA, and everything works great

I think he is not taking it from the ppa

sudo add-apt-repository ppa:haxe/releases -y
sudo apt-get update
sudo apt-get install haxe -y
mkdir ~/haxelib && haxelib setup ~/haxelib

sudo add-apt-repository ppa:haxe/releases -y
sudo apt-get update
sudo apt-get install haxe -y
mkdir ~/haxelib && haxelib setup ~/haxelib

already tried that, but it did not work.
I am going to try a new installation on a real machine, this one is from the other PC that already died.

that didn't work, I will try Ubuntu 21.04 on real machine.

definitely did not work.
I will borrow a friend's PC.

@VMGuy23 now it works, but I am not using the correct time, nor the correct time zone for my country.
thank you for helping me.
I will not set the correct time, it may fail again.


I set it in Chinese but it still seems to be in English;

<Vue3-json-editor v-model="jsonEditor.json"
class="scrollbar"
style="width: 100%;height: 100%;overflow: hidden;"
:expandedOnStart="false"
mode="form"
lang="zh"
@json-change="onJsonChange" />

你好
thanks for informing, i will validate.

你好。- Hi
Currently only the save button is translated, this button is an optional feature, it is only visible if you set the "showBtns" property

你好。- Hi
Currently only the save button is translated, this button is an optional feature, it is only visible if you set the "showBtns" property


ARROW-5190 [R]: Discussion: tibble dependency in R package

tibble is now on Suggests. The code still makes tibbles, so that if tibble is otherwise loaded, data frames are nicely print, etc... but does not need to specifically Imports  it.

Codecov Report

Merging #4454 into master will decrease coverage by 11.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master    #4454       +/-   ##
===========================================
- Coverage   87.94%   76.92%   -11.03%
===========================================
  Files         737       51      -686
  Lines       81709     1976    -79733
  Branches     1253        0     -1253
===========================================
- Hits        71858     1520    -70338
+ Misses       9604      456     -9148
+ Partials      247        0      -247

Impacted Files
Coverage Δ

r/R/feather.R
58.33% <ø> (ø)

r/R/RecordBatch.R
96% <ø> (ø)

r/R/Table.R
86.66% <100%> (ø)

r/R/parquet.R
100% <100%> (ø)

r/R/read_table.R
100% <100%> (ø)

cpp/src/arrow/csv/chunker-test.cc

cpp/src/parquet/column_page.h

cpp/src/parquet/bloom_filter-test.cc

cpp/src/arrow/array/builder_decimal.cc

cpp/src/plasma/client.cc

... and 783 more

Continue to review full report at Codecov.

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

LGTM; we aren't using tibble for anything special ourselves, just returning a data.frame with the tbl_df class, so it makes sense not to depend on it (not that the weight of the dependency is so significant, relative to libarrow :)
This does make the as_tibble arguments in read_feather/parquet/etc. slightly misnamed, but I'm not too concerned because I'm hoping we can remove that arg soon. IMO read_feather et al. should always return a data.frame, and we should provide a different function (I've proposed open_dataset()) for opening a file or directory of files (local or remote) in Arrow-space.


configuration.yaml file is in JSON format? Plugin not updating, cannot change configuration

Description of problem:
SInce 2018.1.1-1 I am getting strange behaviour:

Plugin works,
Plugin stopped updating automatically, nor does detect newer version for manual update.
When HA starts it is complaining that :

21-05-12 12:28:37 WARNING (MainThread) [supervisor.addons.options] Unknown option 'new_api' for Zigbee2mqtt (7ad98f9c_zigbee2mqtt)
21-05-12 12:28:37 WARNING (MainThread) [supervisor.addons.options] Unknown option 'restartdelay' for Zigbee2mqtt (7ad98f9c_zigbee2mqtt)
21-05-12 12:28:37 WARNING (MainThread) [supervisor.addons.options] Unknown option 'initialdelay' for Zigbee2mqtt (7ad98f9c_zigbee2mqtt)
I cannot remove them, once I save they always come back in the configuration.

I lookend into configuration.yaml and it is in ... json format. I tried to overwrite it with yaml as taken from configuration file, yet it is always coming back in json format. Why is that?

// Please do a short description of the problem
// Make sure your problem is related to the add-on, not to core Zigbee2mqtt functionality, like problems with specific devices - for such issues use https://github.com/Koenkk/zigbee2mqtt/issues
Zigbee2mqtt add-on version (if edge, please report commit hash):
// Example:
// ><EMAIL_ADDRESS>start /app

Your entire configuration from the frontend (with sensitive fields redacted):
// replace this line with your pasted configuration

Running platform (details from Suypervisor > System)
// Example
Core: core-2021.2.2
Supervisor: supervisor-2021.02.6
Operating System: HassOS 5.4

Your logs from Home Assistant Supervisor
// Your logs here

I've got the exact same problem but didn't see your post so I also posted. => https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/115

btw. I don't see a problem with the json format as the addon description explicitly states it:
Home Assistant requires add-on configuration in JSON format, rather than YAML. If you don't understand the difference, you can use a YAML-to-JSON converter.
I would simply love to be able to edit my config again :-)

about the issue with the addon no longer updating: https://github.com/Koenkk/zigbee2mqtt/discussions/7478

btw. I don't see a problem with the json format as the addon description explicitly states it:
Home Assistant requires add-on configuration in JSON format, rather than YAML. If you don't understand the difference, you can use a YAML-to-JSON converter.
I would simply love to be able to edit my config again :-)

Why not change file extension from .yaml to .json then? This would be much more intuitive and consistent.

If you are using Home Assistant OS with Supervisor and the Add-On you should always manage your configuration using the add-on UI.
If you are deleting config options and saving and they appear back it might be because you messed some permissions and Home Assistant Supervisor can't save the config for it.

This is an excellent remark. I did not realize this (does not seem intuitive).
Was already puzzling why my changes kept converting back.. Thanks.

If you are using Home Assistant OS with Supervisor and the Add-On you should always manage your configuration using the add-on UI.
If you are deleting config options and saving and they appear back it might be because you messed some permissions and Home Assistant Supervisor can't save the config for it.


OrThrow support

Previous releases of Prisma had a special query API option called rejectOnNotFound.
However, with Prisma 4 it is now replaced with XYZOrThrow methods.
typegraphql-prisma should support that and expose kinda get methods.
Not sure how to name it, as we have canonical query names based on model, like query users.

Done in b03d1e8 🔒


Allow setting King Konf's ignore_unknown_variables

When running on Kubernetes, if there are any Service objects with names that start with racecar-, invalid environment variables will be present since Kubernetes provides Service details as environment variables
This results in the error:
unknown environment variable RACECAR_XYZ_EXAMPLE (KingKonf::ConfigError)
King Konf has a setting to get around this by setting ignore_unknown_variables: https://github.com/dasch/king_konf/blob/master/lib/king_konf/config.rb#L14-L16 but we're unable to set that in racecar before it starts up.
Would it be possible to add this?

Racecar's config just inherits from KingKonf, so you maybe you can use that configuration by adding something like this in your initializer
Racecar::Config.ignore_unknown_variables true

I tested if my example would work. Unfortunately KingKonf immediately initializes configuration from ENV, even before any other configuration are loaded.

@sean-heller did you ever find a solution to this? we're running into the same problem here


What's the really cause for performance

I have two powerbi report servers, they are same as each other except one is Form Authentication, and another one is Windows Authentication,  I find a strange  thing, the Form Authentication server is slower then the Windows Authentication server when access the same report. What's the really cause?

The report render is slow even though in  Windows Authentication,  how can I to improve it？ Thanks!

The problem is fixed. I thing it is caused by the bug of report file upload function，the field "Content" of table "catalogItemExtendedContent" store "datamodel" info for redundancy, it wil take more 40% times to render the report. Of course, the datamodle does't store when the report publish from Power BI Destop.
I write a sql clr function to solve the issue.
public class BI
{
    [Microsoft.SqlServer.Server.SqlFunction(DataAccess = DataAccessKind.Read, IsDeterministic = true, Name = "RemoveModel")]
    public static SqlBinary RemoveModel(SqlBinary bin)
    {

        using (var memoryStream = new MemoryStream(bin.Value))
        {
            using (var archive = new ZipArchive(memoryStream, ZipArchiveMode.Update, true))
            {
                ZipArchiveEntry entry = archive.GetEntry("DataModel");

                if (entry != null) entry.Delete();
            }
            memoryStream.Seek(0, SeekOrigin.Begin);
            bin = new SqlBinary(memoryStream.ToArray());
        }

        return bin;

    }

}
CREATE FUNCTION [dbo].[f_BIRemoveModel](@bin varbinary)
RETURNS varbinary
AS
EXTERNAL NAME [XXX].[XXXX.SqlClr.BI].[RemoveModel]
GO
update B set Content=dbo.f_BIRemoveModel(b.Content)
from CatalogItemExtendedContent B
where B.ContentType='PowerBIReportDefinition'


added card box shadow

Hey @Ayushpanditmoto thanks for your contribution. I would love to see some more modifications. 🚀  Good Luck :)


[Feature Request] - Ability to recreate and redeploy multiple containers at once

Portainer Version 1.21.0
Hi There,
Currently a single deployed container can be recreated by clicking:
Containers
Click Select Container
Click Recreate
Toggle "Pull Latest Image"
Click Recreate.
The selected single container is then updated with the latest image and redeployed, replacing the existing container.
It would be useful to be able to do this for multiple containers in one go, i.e. have the ability to select which containers the user wishes to be recreated at the Container List page and then click recreate to be able to recreate all with their corresponding latest image -> The flow would be something like the following:
Containers
Select single / multiple / all Containers via their checkbox
Click new Recreate button which is positioned alongside the existing Start / Stop / Kill / Restart ... etc buttons
Toggle "Pull Latest Image"
Click Recreate.
The selected containers would each then be updated with their latest corresponding image and all redeployed, replacing the existing containers. Obviously, it would still be good to also have the existing "Recreate" button under the individual container's page if a user wishes to recreate just that single container in the way they do currently...
Thanks for your consideration!

I would love to see this feature too!

At present, this is unlikely to be added as we are defocussing on containers, and focussing on services/stacks as thats a more resilient and scalable solution, and even single node swarm clusters make sense for a variety of reasons.
That said, as part of our edge compute strategy, this might see standalone hosts make a come back, so watch this space.
Rgds,
Neil Cresswell
On 8/02/2020, at 1:17 PM, NightDragon<EMAIL_ADDRESS>wrote:

I would love to see this feature too!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_2997-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAFQ2XFMTGLQULNBVZP3CE6LRBYI3VA5CNFSM4H7NZI7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFG6JQ-23issuecomment-2D583692070&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=GwNFaufsmiYVPMimewjbyTC0RgEDSW7TIE7mYvk4Z_0&s=WIbtYiR4XxHGtUNE1QiuCYgJiYUQP5e3tWJp0DgfC6s&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFQ2XFIJF3UMXAXJ7QMYRL3RBYI3VANCNFSM4H7NZI7A&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=GwNFaufsmiYVPMimewjbyTC0RgEDSW7TIE7mYvk4Z_0&s=Ty2wPdQ0YrTDiaf0AA33xOXGeizKLrPIz0Zxf0RgpIo&e=.


Replacing request library for callbacks with fetch

Adding ability to check status codes and return proper errors to Looker

From what I could tell node-fetch did not offer the same event granularity as the request library. You do not receive the same type of events and errors will be piped to the catch/reject rather than an event.


Support for Unicode in CCG

Changes the definition of words in the regex of the lexicon parsing in CCG to support Unicode and a test is added too.

Thanks very much @bryant1410

You're welcome. I'm glad to have helped :smile:


Add find_package(spdlog) in CMakeLists

-This commit adds the find_package(spdlog) which was missing
in CMakeLists.txt according to issue #137:
https://github.com/sheiny/OpenDB/blob/e0e98c4ab23094184598fa579d51ff2d1b897569/CMakeLists.txt#L18
-It also includes the #include  in lefout.h, since
the PR from issue #134 was not merged yet. Otherwise, I would
not be able to build the code on my machine.
https://github.com/sheiny/OpenDB/blob/e0e98c4ab23094184598fa579d51ff2d1b897569/include/opendb/lefout.h#L36
Please let me know if you need more information.
Thanks,
Sheiny

@sheiny find_package(spdlog) is not missing. It is in the CMakeLists.txt under src/db/ directory.

Hi, thank you for your reply. You're completely right.
I'm sorry, I just realized that I made a mistake in my fork, so I'm closing this PR.


Let's Get Started!

Hi guys! I'm really excited my project idea was chosen and first off I wanted to thank you for joining me. Now, I'd like to think about some ideas we could implement for the project and get a feel for what exactly we would like to create, as well as where we can go to get our sources and what we can do with them. Jamie, I know you told me you weren't very familiar with who Tesla was, and Aaron I'm not certain if you are familiar with him either, so I think a good place to start would be to research he and Edison and get some basic history about the time period under our belt. I'll link some good sources here for our reference.
I find that biography.com is a great unbiased source of information about people, and I cite it quite often: Tesla ; Edison
and
I would be careful about using this as a source for obvious reasons, but the Wikipedia articles are pretty extensive and may help if you browse through them a bit: Tesla ; Edison

I think the first question we have to answer is what we want to do with this project. What did you have in mind @quantum-satire? What articles are we trying to mark-up and what is our final goal of this project?

@ajnewton1 I originally had some ideas in mind on my initial project proposal, which I'll quote myself on here:

[The] initial idea for this project was to scour the internet for texts, journalistic publications, and newspaper articles about Nikola Tesla versus Thomas Edison in the AC/DC "War of Currents" (AC stands for Alternating Current and DC for Direct Current). We could then read through each piece of text and mark up locations cited to create a map of the hotspots where electricity hosted its earliest years, and to see who was mentioned the most for the public eye. I'd also like to take a look at the major differences between the two currents, marking up definitions of the original patents or published articles explaining what each does and how they work. However, I can understand this part may not be the paramount of excitement for everyone, so I'm also proposing the possibility of logging which person was mentioned more times in newspapers and journals, what the overall mood of that piece was (was it shedding a positive or negative light on the person in question; what adjectives were being used to describe that person; was the piece propaganda, etc.) and other creative ways to show, in the end, who was more popular for which reasons. We can read a great number of books about these two, but being able to show their differences is what will really make this project unique!

I think that this could be a good start! We could begin with newspapers and public journals that mention them or their work, and I can try to find a way to acquire the original patents and take a look to see if they would be interesting enough to markup the differences between them. I'd also really like to get any ideas you or @Jamielynn92 might have too!

@quantum-satire This looks like a potentially useful resource (and I imagine you probably know it): It appears to be a pile of largely uncategorized articles about Tesla, and you can sort them by the chronological order in which they were published: https://teslauniverse.com/nikola-tesla/articles The articles seem to be in digital form so you wouldn't have to transcribe them.

@ebeshero This is insurmountably helpful, thank you! @Jamielynn92 @ajnewton1 We can look through these and pull any that might be relevant to the period we are looking for into a space on our hub. I'm going to make a special folder for collecting resources like this that we can use. If we place a file into the folder, let's try to keep the URL with the source so that we can reference the original source later!

@quantum-satire I saw that you made a folder and put the format inside of it. Do you think maybe we should make a schema for this and then that way all the documents that we mark-up would be for certain the correct format

@ajnewton1 This is a good idea! I think I went ahead and made the format the way I did in the folder just to compile some potential material before we actually code them. That way we wouldn't have to spend more time on marking up materials we may not use--but it's a good idea to write the schema, so I'll make a start on it tonight and post what I have on this hub so we can work from it as a team!

I saw that you uploaded the schema, looks great!

[ ] Schema

[ ] Webspace Name

We need to think of a name for our website. I personally think 'ac-dc' could be easily confused with the band AC/DC but maybe its just me. We should decide soon so @ebeshero can create us a directory so we could start adding pages to our site.
warofcurrents.newtfire.org
teslavsedison.newtfire.org
ac-dc.newtfire.org
dc-ac.newtfire.org
Edit this comment to add any ideas that you ( @quantum-satire @Jamielynn92 ) come up with.

I like the teslavsedison one. Maybe because i don't know how many people are aware of the name ac-dc. (Like me) I was unaware that was what he was known for. But I'm excited to learn more about it. Although the waroncurrents is clever cause it pulls you in a bit. But it is a bit obscure on what the topic is.but I know small details. So I shall learn about it as we go.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Aaron Newton<EMAIL_ADDRESS>Sent: Wednesday, September 27, 2017 10:55:22 PM
To: quantum-satire/AC-DC
Cc: Downey, Jamie L; Mention
Subject: Re: [quantum-satire/AC-DC] Let's Get Started! (#1)
I saw that you uploaded the schema, looks great!

Schema

Webspace Name

We need to think of a name for our website. I personally think 'ac-dc' could be easily confused with the band AC/DC but maybe its just me. We should decide soon so @ebesherohttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Febeshero&data=01|01|jld195%40pitt.edu|58193afd32684a2b3ed708d5061c5d16|9ef9f489e0a04eeb87cc3a526112fd0d|1&sdata=sObSK%2BJq895sy%2Bh33TyFLwNclN0CZ8HGD4N4vRsFE6w%3D&reserved=0 can create us a directory so we could start adding pages to our site.
warofcurrents.newtfire.org
teslavsedison.newtfire.org
ac-dc.newtfire.org
dc-ac.newtfire.org
Edit this comment to add any ideas that you ( @quantum-satirehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fquantum-satire&data=01|01|jld195%40pitt.edu|58193afd32684a2b3ed708d5061c5d16|9ef9f489e0a04eeb87cc3a526112fd0d|1&sdata=JucMVnugzoI9hG0dpL5443na47ssCPc4uWbWeOSgTD8%3D&reserved=0 @Jamielynn92https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjamielynn92&data=01|01|jld195%40pitt.edu|58193afd32684a2b3ed708d5061c5d16|9ef9f489e0a04eeb87cc3a526112fd0d|1&sdata=nmjgF7DdkUrJyVQdY8VeBlnkGOoiT7u%2FRmw2VRsO1UI%3D&reserved=0 ) come up with.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fquantum-satire%2FAC-DC%2Fissues%2F1%23issuecomment-332713340&data=01|01|jld195%40pitt.edu|58193afd32684a2b3ed708d5061c5d16|9ef9f489e0a04eeb87cc3a526112fd0d|1&sdata=D%2FmyJLPUqEy1AHkatz6r11QDzAlhkuY62ONkP3VhRuE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAeBcSab5d-QSQxHlKsJToRcfSSDcVfc8ks5smwqagaJpZM4PeO-V&data=01|01|jld195%40pitt.edu|58193afd32684a2b3ed708d5061c5d16|9ef9f489e0a04eeb87cc3a526112fd0d|1&sdata=I3OTej8JxyNly0tMHkQzfeK31JEbsxNpLzML4S9lIgY%3D&reserved=0.

Unfortunately I am on mobile and unable to edit the comment directly, but I really like warofcurrents.newtfire.org as my first pick and teslavsedison.newtfire.org as my second. Those are great—I emailed Dr. B earlier today but I’ll see if we can use one of these instead—I like these a lot better!


chore(iam): add samples for mocks and StatusOr usage

This change is

Why is this chore(iam)?  Adding documentation and examples is valuable work, it helps our customers.  This should be doc(iam).


Autofill on iOS (Chrome, Safari) causes infinite loop and crashes the application

When I try to autofill any value into phone input created via ReactInputMask, it crashes the application. This is the error we receive in console on production:
https://reactjs.org/docs/error-decoder.html/?invariant=185
This is how InputMask is called from parent:
<InputMask
        mask='(99) 999-99-99'
        type='tel'
        alwaysShowMask
        fontSize={fontSize}
        phoneChanged={phoneChanged}
        value={(getValue() || '').substring(code.length)}
        name='phone-suffix'
      />

And this is how it looks inside:
function InputMask(props) {
  const { mask, maskChar, formatChars, alwaysShowMask, fontSize, phoneChanged, name, ...rest } = props;

  return (
    <ReactInputMask
      mask={mask}
      maskChar={maskChar}
      formatChars={formatChars}
      alwaysShowMask={alwaysShowMask}
      onChange={phoneChanged}
      {...rest}
    >
      {(inputProps) => (
        <TextInput
          fontSize={fontSize}
          name={name}
          {...inputProps}
        />
      )}
    </ReactInputMask>
  );
}

Reproducible only on iOS

Faced the same issue in Chrome iOS
Credit card mask 9999 9999 9999 9999
Application crashes when autocomplete

@therealsqvad This is where I migrated instead and what solves the issue https://github.com/s-yadav/react-number-format

Was facing same issue and found that forgot to pass the value prop to the mask.

Just reproduced this same issue on iOS only.

Same thing here. I managed to fix the crash by passing maxLength={5} to the expiary date element. It should help you


Adding positional params, space separated extensions

Tests passed except for ember-release due to npm issues unrelated to these changes.


Create Ayodele_Oluwatosin.md

Hi Tosin,
Is this the correct file for the part 2 of our assignment?
It looks correct, but the pull request is closed.
Cheers
Igor

Great Tosin 👍


Bug:

PHP Version
7.4.29
CodeIgniter4 Version
4.2.5
Shield Version
1.0.0-beta.3
Which operating systems have you tested for this bug?
Windows
Which server did you use?
cli
Database
MariaDB  10.4.24
Did you customize Shield?
No,
What happened?
When i run "php spark shield:setup"
system\Validation\FileRules.php error line 42
I think this file need add valid type request cli or add more condition switch case when use cli ,  sorry if i am wrong.

Steps to Reproduce

run

composer require codeigniter4/shield:^1.0.0-beta

run

 php spark shield:setup

Expected Output
assert(): assert($request instanceof IncomingRequest) failed

Anything else?
No response

Hello, in the report you announced version 1.0.0-beta.3, in the re-production process you announced 1.0.0-beta !
Which one is correct?
Also, Shield requires version PHP 7.4.3+ not 7.4.29.
Please increase the CI version.

Hello, in the report you announced version 1.0.0-beta.3, in the re-production process you announced 1.0.0-beta ! Which one is correct? Also, Shield requires version PHP 7.4.3+ not 7.4.29.
Please increase the CI version.

i try both version, first i run 1.0.0-beta, it's error.
Then i go to github download 1.0.0-beta.3 and copy vendor folder, it's error too.

This problem does not apply to shield,
please change your CI framework version to v4.2.7+.
@Kenjis do you increase the minimum CI version in docs?

This is not an issue with shield. Upgrading CI to v4.2.6 removes the error:
> php spark shield:setup -f

CodeIgniter v4.2.6 Command Line Tool - Server Time: 2022-11-09 23:47:52 UTC-06:00

  Created: APPPATH\Config\Auth.php
  Created: APPPATH\Config\AuthGroups.php
  Skipped APPPATH\Controllers\BaseController.php. It has already been updated.
  Skipped APPPATH\Config\Routes.php. It has already been updated.
  Security Setup: Everything is fine.
  Run `spark migrate --all` now? [y, n]: y
Running all new migrations...

[CodeIgniter\Database\Exceptions\DatabaseException]

Unable to connect to the database.
Main connection [MySQLi]: Access denied for user ''@'localhost' (using password: NO)

Also, Shield requires version PHP 7.4.3+ not 7.4.29.

PHP 7.4.29 is greater than PHP 7.4.3
> php -r "var_dump(version_compare('7.4.29', '7.4.3', '>'));"
Command line code:1:
bool(true)

please change your CI framework version to v4.2.7+.

This should be changed in composer.json

> php -r "var_dump(version_compare('7.4.29', '7.4.3', '>'));"
Command line code:1:
bool(true)

@paulbalandan Thanks, I learned.

i update CI 4.2.10, It's working well.
Tks for help.


Fix CVE-2023-45133 of @babel/traverse

Upgrade @babel-traverse to non-vulnerable version 7.23.2. CVE-2023-45133
Unpin dependencies to permit future upgrades, without changing prettier-plugin-sort-imports.
Fix #262

🙏🥺

@ayusharma Could you help with reviewing this?

@byara

Thank you for your contribution. Other than the new lines added to the snapshots, this looks good to me. Can we figure out a way not to add those new lines? Otherwise, this is a breaking change

I couldn't find any @babel/generator that controls it.

@byara #266 only updates @babel/traverse and leaves other dependencies untouched.
That could be the non-breaking one. And this PR could lead to a breaking change. What do you think?

The change for babel traverse is release in v4.2.1

@byara any updates?

This should be addressed in the v5. Please feel free to reopen in there is an issue.

This should be addressed in the v5. Please feel free to reopen in there is an issue.

v5 looks to have updated the dependencies but kept them pinned.
https://github.com/trivago/prettier-plugin-sort-imports/blob/35d7b0b0ec7f277bfc13d4cd4be92d4f0867ba8f/package.json#L36-L41
That means next time there's a vulnerability found, we  will again need to wait for an update here, or override the dependencies.
I can't reopen, since it's not my PR.

FYI @StavNoyAkur8 #322


Option to create branch (destination_branch_create)

Hi,
I've added an option to create a new branch for the file.
This is particularly useful if you want to go on to create a pull request for your commit.

I can see how this could be useful in some situations.


Showing title of youtube video

I solved this problem with the help of aria-label attribute. Here is the CodePen Link. I think this can be added as an option to this library. It will be a very helpful feature.

It's already used for the label on the play button and the iframe title attribute? Not really an issue but glad you sorted it.


Filament Export Action Queue Issue

Package
filament/filament
Package Version
v3.2.6
Laravel Version
v10.41.0
Livewire Version
v3.3.5
PHP Version
8.2
Problem description
When Export the file the  Illuminate\Bus\ChainedBatch keep running
Illuminate\Bus\ChainedBatch.................................................... RUNNING
Expected behavior
Export the file successfully
Steps to reproduce
ExportBulkAction::make()
                    ->label('Export')
                    ->icon('heroicon-o-arrow-down-tray')
                    ->color('primary')
                    ->modalHidden(true)
                    ->exporter(UserExporter::class),

UserExporter
<?php

namespace App\Filament\Exports;

use App\Models\User\User;
use Filament\Actions\Exports\ExportColumn;
use Filament\Actions\Exports\Exporter;
use Filament\Actions\Exports\Models\Export;

class UserExporter extends Exporter
{
    protected static ?string $model = User::class;

    public static function getColumns(): array
    {
        return [
            ExportColumn::make('name'),
        ];
    }

    public static function getCompletedNotificationBody(Export $export): string
    {
        $body = 'Your user export has completed and '.number_format($export->successful_rows).' '.str('row')->plural($export->successful_rows).' exported.';

        if ($failedRowsCount = $export->getFailedRowsCount()) {
            $body .= ' '.number_format($failedRowsCount).' '.str('row')->plural($failedRowsCount).' failed to export.';
        }

        return $body;
    }
}

Reproduction repository
https://github.com/Umar-Farooq-Shafi/filament-export-action
Relevant log output
No response

What is Laravel v10.41.0? The latest is v10.3.2. You need to be on the latest version to use the exports feature, as chained batches are a relatively new feature.

Hi,
I'm not sure if this is related or not, but I have what might be a similar issue.
I am running Filament v3.2.6 and I have defined an export action for a resource and the job is sent to the queue just fine. I can see the jobs in Horizon, but I get the following error:
Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [Filament\Actions\Exports\Models\Export]
This used to work, up until a few days ago when I was running a version slightly older than v3.2.6. I believe I was running 3.2.2 or 3.2.4 - as I tend to update quite a bit as I am still in development.
I see the record in the exports table just fine, but the export file is never created and then of course, there is not a corresponding record in the notifications table.
If there is anything else I can provide, please let me know!
Thank you!
Rick

It probably is going to be a separate problem, so setting up a new issue and a reproduction repository will help me fix it in the least time

I need more info to be able to fix the issue. I downloaded your repository, and tested it with both sync & Redis connections. It worked both times:
https://github.com/filamentphp/filament/assets/41773797/3f266a99-dd37-4092-bb9d-5e8f048beb5b

$this->app->bind(Authenticatable::class, User::class)
that was the issue. thanks @danharrin

@danharrin Is there a way to add the same functionality
https://filamentphp.com/plugins/pxlrbt-excel
The issue is it's too slow and does not use of batch jobs and Laravel-Excel is slow

Filament's ExportAction does heavily use batched jobs, and what functionality are you looking for?

@danharrin like Custom Query, do not export the column that are headen.
Instead of using exporter class

You can have multiple exporters, one for each table if you want. We have chosen this structure as there is less "magic" involved, and it can be completely decoupled from the table definition. If we used the table definition within the export jobs, then the export process would be slower, since we'd have to instantiate a Livewire component in the queue and extract the data from it.
I'd accept a PR that allowed you to pass a custom ->query() into the ExportAction.

How I can manage the column that are hidden and filter and Table Filters?

Table filters are applied to the query automatically. Columns can be hidden by conditionally returning them from getColumns() based on auth()->user().

getting error while downloading the file.

Is there a way to download just CSV file only?

You can PR an option to remove XLSX if you want it
For the Not Found, make sure your APP_URL is correct.

thanks @danharrin

Filamat version 3.2. The Excel output I receive has its permission set to root, preventing users from downloading it. We haven't found a solution yet. I've tried commands like chmod 777 and chown www-data, but they didn't work. Do you have any solutions?

A proper disk like S3 should solve file perms issues?

I'm trying to chain a job who will send the report to user email, and then another job who will delete the sended report from storage
PrepareExportJob -> SendReportJob -> DeleteFileJob
However, when SendReportJob is loading file from storage throw an error because cant find the xlsx report, this happens because the xlsx takes more time to write on the storage than SendReportJob takes to run
How can I achieve to wait for xlsx be writed on local before send mail?

@joao-antonio-gomes maybe add some delay to SendReportJob?

A proper disk like S3 should solve file perms issues?

thank you, this solution worked but i want store in storage folder

I have make  export but nothing shows to notification

I got same error, filament always create with root permission, prevent user to download it.

I'm already modify the filesystem.php like this
'export' => [ // Custom disk for exports
            'driver' => 'local',
            'root' => storage_path('app/public/exports'),
            'url' => env('APP_URL') . '/exports',
            'visibility' => 'public',
            'permissions' => [
                'file' => [
                    'public' => 0644,
                    'private' => 0600,
                ],
                'dir' => [
                    'public' => 0755,
                    'private' => 0700,
                ],
            ],
            'throw' => false,
        ],

But the filament still uses root in file permissions.

I found away to solve "filament always create with root permission" @mohammadapr @danharrin (but unsafe). Just modify this file inside vendor filament folder

you can change the visibility to public.
Can I patch this code to add some flexibility so developers can adjust the permissions?

Export files do not need to be directly accessible as far as I know, we stream the downloads from the filesystem. If they do not stream open that as an issue with a reproduction repository and we will look into it. I am not open to a PR making these files get stored publicly.

Export files do not need to be directly accessible as far as I know, we stream the downloads from the filesystem. If they do not stream, open that as an issue with a reproduction repository and we will look into it. I am not open to a PR making these files get stored publicly.

Thats true, the downloader files will stream from the filesystem, no matter the permission is root / not.
Idk why, when I download the exported file got this error
[2024-11-15 17:58:25] production.ERROR: fpassthru(): Argument #1 ($stream) must be of type resource, null given {"userId":1,"exception":"[object] (TypeError(code: 0): fpassthru(): Argument #1 ($stream) must be of type resource, null given at /vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php:309

And I tried changing the permission from 600 to 644. It works perfectly.

So this is my temporary solution without modify the vendor files, add new disks with private permission from 600 to 644
'export' => [ // Custom disk for exports
            'driver' => 'local',
            'root' => storage_path('app/public/exports'),
            'url' => env('APP_URL') . '/exports',
            'visibility' => 'public',
            'permissions' => [
                'file' => [
                    'public' => 0644,
                    'private' => 0644, // from my pervious config 600 change to 644
                ],
                'dir' => [
                    'public' => 0755,
                    'private' => 0700,
                ],
            ],
            'throw' => false,
        ],

I think this is a server issue on your end and not to do with the code in Filament, we just use Laravel's filesystem helpers.

I need more info to be able to fix the issue. I downloaded your repository, and tested it with both sync & Redis connections. It worked both times:
Screen.Recording.2024-01-20.at.16.10.23.mp4

why does it take so long to get the download file, even when on hosting I have to run queue:work to see the process. how to run behind the server without having to do that?

I need more info to be able to fix the issue. I downloaded your repository, and tested it with both sync & Redis connections. It worked both times:
Screen.Recording.2024-01-20.at.16.10.23.mp4

why does it take so long to get the download file, even when on hosting I have to run queue:work to see the process. how to run behind the server without having to do that?


DebouncingOnClickListener is really debounce

@OnClick(R.id.register)
void click() {
    openFragment(new RegisterFragment(), R.id.main_container);
}

I use this for a view click event. when i click quickly. it open two fragment.it seem that DebouncingOnClickListener enabled variables doesn't work.

It only debounces two clicks on one frame. If you click twice on two separate frames then that's the responsibility of the application layer to handle. You can fix this by disabling the button on the first click.

Does it makes sense to add an option to specify debounce interval in the annotation like@OnClick(id, debounceInterval=1000)? In my current application i've been adding additional logic to avoid this issue.

That also sounds like an application-layer concern that I'd be very
hesitant about adding.
On Tue, May 24, 2016 at 4:13 AM leesocrates<EMAIL_ADDRESS>wrote:

@OnClick(R.id.register)
void click() {
openFragment(new RegisterFragment(), R.id.main_container);
}
I use this for a view click event. when i click quickly. it open two
fragment.it seem that DebouncingOnClickListener enabled variables doesn't
work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/JakeWharton/butterknife/issues/590

Does it makes sense to add an option to specify debounce interval in the annotation like@OnClick(id, debounceInterval=1000)? In my current application i've been adding additional logic to avoid this issue.

A not very good solution is:
create a same class as that in butterknife: butterknife.internal.DebouncingOnClickListener in your project, and just modify the follow code:
from v.post(ENABLE_AGAIN); to v.postDelayed(ENABLE_AGAIN, 300);
then the button can just be clicked only once in 300ms.


QEMU config for Windows 98 that will work with v86?

Hello, I've been playing with v86 on a website I'm building and I was using the images from the oldweb.today.
Those were working well while loading the state, but I couldn't boot them without the state file.
So I tried to start my own installation of windows 98 from scratch on qemu.
So I created a hard disk image like this:
qemu-img create -f qcow2 win98.img 2G
Then I ran the vm like this and installed Windows 98 (originally using drive d to boot):
qemu-system-i386 -cpu pentium3 -m 256 -drive file=win98.img,format=qcow2,media=disk,cache=directsync -drive file=(win98iso).iso,media=cdrom -boot c -soundhw sb16 -device ne2k_pci,netdev=net0 -netdev user,id=net0 -vga std -k en-us -drive file="[path to]/vmdisp9x-1.2023.0.24-driver-only.ima",index=0,if=floppy,format=raw -monitor stdio
After windows was installed, I converted the image to raw like this:
qemu-img convert -f qcow2 -O raw win98.img win98raw.img
Then I went on v86 on my page and tried to boot this image using settings similar to the ones from the oldweb.today and the machine started to boot, I even saw the windows splash screen.
But then the machine hung forever. Same as when I tried to use the oldweb.today image without the saved state.
Does anyone know how I can get Windows 98 booting properly?
Are there maybe settings for qemu that make the emulated computer more smiliar to v86 so when I transfer the image it works?
I want to eventually run Windows 98 with backups of ISOs from cd-roms that used to come with magazines. But I need to be able to boot the system first.
I really appreciate any help I can get!

Hello!
You could probably use an ISO disk image from https://winworldpc.com. Download at https://winworldpc.com/product/windows-98/98-second-edition.
Use this ISO disk image to install Windows 98 in QEMU.
Command line would be qemu-system-i386 -cpu pentium -m 256 -hda win98.img -cdrom win98.iso -device newk_pci,netdev=net0 -netdev user,id=net0 -k en-us

Hmm, strange, it doesn't seem to boot when add the cdrom setting, if I comment it out it boots.

Make use of these video drivers for high-resolution video on your emulated Windows 98 configuration in Virtual x86:
https://bearwindows.zcm.com.au/vbe9x.htm

@ericmackrodt known issue, see #225

Hi @markostamcar , thanks for the answer. Yeah, sadly this issue is a blocker for my project.
I tried to build this branch:
https://github.com/copy/v86/pull/901
But I had no luck. I left a comment there and I wish I could fix this issue but that goes a bit beyond my skill level.
Hopefully the author of that PR will finish that work at some point.

For what it's worth, the bluescreen is a known issue that has been around for a long time. Several years ago, I spend a few days debugging it and couldn't figured it out.
For my the windows98 state image on the website I reboot until it works, and then save the state.

Maybe I'm late, but...

Now, do you happen to know why I get this error during startup?

If I correctly remember, some VxD bluescreen appears for me when I have installed drivers for PCI devices or had a "Parallel port" device. Sometimes I didn't get bluescreens when I selected "Boot Logged" in the boot menu (press F8 on start, or enable in msconfig).

Hmm, strange, it doesn't seem to boot when add the cdrom setting, if I comment it out it boots.

Have you tried booting with Bochs BIOS? At least it worked for me with an MS-DOS hard drive (MSCDEX driver) + non-bootable CD image.


Some behaviours with prompt.choice

Hi,
I have two things that I don't know if I can change them:

Everytime I use a Prompt.choice I get a "Options:" message. Can I delete this somehow?

When I use the Prompt.choice Telegram can put the choices into the keyboard, not into a message. Can we do this with the BotBuilder or is impossible?

Thank and best regards,
Pablo

Can you post an example of how you're calling Prompts.choice?
In Telegram, we display Prompts.choice as a set of buttons to the user. Telegram won't display buttons unless some text accompanies them, so if there is no text sent along, we add "Options:" so that Telegram will not reject the message.

The other part of your question about keyboards: While we don't directly support Telegram's popup keyboard, it is still possible to display one by sending a channel-specific command in the channelData field of the message activity. In BotBuilder/NodeJS this field is called sourceEvent. Here's an example:
This keyboard would resemble a numeric keypad:
reply.sourceEvent = {
    telegram: {
        method: "sendMessage",
        parameters: {
            text: "This is a reply keyboard",
            parse_mode: "Markdown",
            reply_markup: JSON.stringify({
                "keyboard": [
                    [{ text: "1" }, { text: "2" }, { text: "3" }],
                    [{ text: "4" }, { text: "5" }, { text: "6" }],
                    [{ text: "7" }, { text: "8" }, { text: "9" }],
                    [{ text: "*" }, { text: "0" }, { text: "#" }]
                ]
            })
        }
    }
};

@Hanoko closing this issue now. If you're still having trouble please open a new issue and we'll continue to troubleshoot.


Update to Scala 2.13, update dependencies

Update to Scala 2.13, update depedencies & sbt script

Coverage decreased (-0.09%) to 91.726% when pulling bb4924386fc6f07376a512c23e405e54f54069d2 on edgarmueller:feat/scala-2.13 into 92e4c81d0915d6a9bc411218e957fd0fdc3e5a53 on eclipsesource:master.


plugins/debugprint-nvim: init

Add support for the https://github.com/andrewferrier/debugprint.nvim plugin.
Notes:

Although, this plugin works in my Nixvim configuration, I am currently unable to run the added tests due to my system setup. Could someone try them for me?
Once https://github.com/NixOS/nixpkgs/pull/271007 lands, the hard-coded pkgs.vimUtils.buildVimPlugin statement can be replaced by the Nixpkgs package.

Closes: https://github.com/nix-community/nixvim/issues/763
Requires:

https://github.com/NixOS/nixpkgs/pull/270968
https://github.com/NixOS/nixpkgs/pull/271007

I opened a PR to add debugprint to nixpkgs but forgot to mention it here sorry !

I opened a PR to add debugprint to nixpkgs but forgot to mention it here sorry !

No worries. Thanks for all the hard work.

For reference, here is my current Nixvim connfiguration for this PR: https://github.com/trueNAHO/dotfiles/commit/378b53db1d06bb5f6c30ac0c8b146f68dfb4417a.

Superseded by: https://github.com/nix-community/nixvim/pull/821


Pipeline Parrallelism for Internvl chat 26b model

I have 4 machines, each machines had 16GB gpu. I need to split the model to load and inference across multiple machines. Is it possible. Already you are supporting single node multi gpu, I need to achieve multiple node. Is it possible?
I was try to deploy using vLLM,
But i have an error.
If I am not wrong, currently vllm supports only the Language models not the Vision models.
NotImplementedError: Pipeline parallelism is only supported for the following architectures: ['AquilaModel', 'AquilaForCausalLM', 'DeepseekV2ForCausalLM', 'InternLMForCausalLM', 'JAISLMHeadModel', 'LlamaForCausalLM', 'LLaMAForCausalLM', 'MistralForCausalLM', 'Phi3ForCausalLM', 'GPT2LMHeadModel', 'MixtralForCausalLM', 'NemotronForCausalLM', 'Qwen2ForCausalLM', 'Qwen2MoeForCausalLM', 'QWenLMHeadModel'].
This feature would greatly benefit teams and projects working with vision-language models, allowing them to scale out their workloads efficiently and maintain performance as model sizes continue to grow.
Also It would be greatly helpful, if someone can point me out on other possibilities for pipeline parallelism. Thanks in advance

Internvl is currently supported in the vllm framework. See https://github.com/vllm-project/vllm/releases/tag/v0.5.4


m1 macos installation problem

Hi, I am using an m1 macbook, and when I try to install openl3, I encounter the problem when the script tries to install h5py, but I have installed h5py in my virtual environment.
The problem is as below:
building 'h5py.defs' extension
creating build/temp.macosx-11.0-arm64-3.8
creating build/temp.macosx-11.0-arm64-3.8/private
creating build/temp.macosx-11.0-arm64-3.8/private/var
creating build/temp.macosx-11.0-arm64-3.8/private/var/folders
creating build/temp.macosx-11.0-arm64-3.8/private/var/folders/rz
creating build/temp.macosx-11.0-arm64-3.8/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn
creating build/temp.macosx-11.0-arm64-3.8/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T
creating build/temp.macosx-11.0-arm64-3.8/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz
creating build/temp.macosx-11.0-arm64-3.8/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308
creating build/temp.macosx-11.0-arm64-3.8/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include -arch arm64 -DH5_USE_16_API -I./h5py -I/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/lzf -I/opt/local/include -I/usr/local/include -I/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/numpy/core/include -I/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include/python3.8 -c /private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c -o build/temp.macosx-11.0-arm64-3.8/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.o
In file included from /private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:731:
In file included from ./h5py/api_compat.h:26:
In file included from /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969:
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:16556:56: error: too few arguments to function call, expected 3, have 2
__pyx_t_1 = H5Oget_info(__pyx_v_loc_id, __pyx_v_oinfo); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1509, __pyx_L1_error)
~~~~~~~~~~~                              ^
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include/H5Opublic.h:497:15: note: 'H5Oget_info3' declared here
H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
^
/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:16671:95: error: too few arguments to function call, expected 5, have 4
__pyx_t_1 = H5Oget_info_by_name(__pyx_v_loc_id, __pyx_v_name, __pyx_v_oinfo, __pyx_v_lapl_id); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1520, __pyx_L1_error)
~~~~~~~~~~~~~~~~~~~                                                             ^
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include/H5Opublic.h:557:15: note: 'H5Oget_info_by_name3' declared here
H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields,
^
/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:16786:144: error: too few arguments to function call, expected 8, have 7
__pyx_t_1 = H5Oget_info_by_idx(__pyx_v_loc_id, __pyx_v_group_name, __pyx_v_idx_type, __pyx_v_order, __pyx_v_n, __pyx_v_oinfo, __pyx_v_lapl_id); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1531, __pyx_L1_error)
~~~~~~~~~~~~~~~~~~                                                                                ^
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include/H5Opublic.h:631:15: note: 'H5Oget_info_by_idx3' declared here
H5_DLL herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type,
^
/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:17821:100: error: too few arguments to function call, expected 6, have 5
__pyx_t_1 = H5Ovisit(__pyx_v_obj_id, __pyx_v_idx_type, __pyx_v_order, __pyx_v_op, __pyx_v_op_data); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1630, __pyx_L1_error)
~~~~~~~~                                                                             ^
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include/H5Opublic.h:1326:15: note: 'H5Ovisit3' declared here
H5_DLL herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op,
^
/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:17936:143: error: too few arguments to function call, expected 8, have 7
__pyx_t_1 = H5Ovisit_by_name(__pyx_v_loc_id, __pyx_v_obj_name, __pyx_v_idx_type, __pyx_v_order, __pyx_v_op, __pyx_v_op_data, __pyx_v_lapl_id); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1641, __pyx_L1_error)
~~~~~~~~~~~~~~~~                                                                                ^
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include/H5Opublic.h:1492:15: note: 'H5Ovisit_by_name3' declared here
H5_DLL herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type,
^
/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:21846:13: warning: assigning to 'void *' from 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
__pyx_t_1 = H5Pget_driver_info(__pyx_v_plist_id); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2016, __pyx_L1_error)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/rz/zx876pv95_39jqfx9hwszfq00000gn/T/pip-install-uj6hq2xz/h5py_235d3597fd094986b308a5244243c308/h5py/defs.c:34606:68: error: too few arguments to function call, expected 4, have 3
__pyx_t_1 = H5Sencode(__pyx_v_obj_id, __pyx_v_buf, __pyx_v_nalloc); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 3303, __pyx_L1_error)
~~~~~~~~~                                            ^
/opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/include/H5Spublic.h:373:15: note: 'H5Sencode2' declared here
H5_DLL herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl);
^
2 warnings and 6 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: No metadata found in /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages
Rolling back uninstall of h5py
Moving to /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/h5py-3.6.0.dist-info/
from /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/~5py-3.6.0.dist-info
Moving to /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/h5py/
from /opt/homebrew/Caskroom/miniforge/base/envs/pytorch_env/lib/python3.8/site-packages/~5py
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> h5py
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
My python version: 3.8.13
By the way, I have tried to build from source, but this problem of h5py still exists

Same issue for me with python version 3.10.4

Having the same error as of July 2022 with both Python 3.8 and 3.9. Help would be greatly appreciated!

I am also having this issue. I have tried Python 3.7, 3.8 and 3.9.

same issue here, anyone figure this out?


Hook up UFS init/uninit functions (though they don't do anything)

Signed-off-by: Graham MacDonald<EMAIL_ADDRESS>

Commit a1374fba4c9851d5b8a853e8e09ca78a9ccba132 is not signed-off.
Please fix these issues:

Graham MacDonald has not signed-off a1374fb.

If you'd like more information on how to sign your commits please visit signed-off-by.me


Updated validations.py python script.

Updated validations.py python script.
Fixed the behaviour of validate_user function in validations.py
Closes: #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Mark certain bindings as experimental

Binding like Twilio and SandGrid needs to be marked as experimental.

Why? These bindings are solid - what's the problem with them?

This is because we want to make breaking changes to the bindings once we create binding extensibility.

What bindings do we expect to break? Why would that be impacted by the extensibility work?

Once we support 3rd party binding extensibility, these bindings will not ship "in the box". You'll need to add them to your function app. In this world, the promises we make about core bindings vs 3rd party bindings are very different e.g. 3rd party bindings are as-is, we can't guarantee that they always work, you might need to accept a license agreement to use them, etc. There is a difference in customer expectations. I think @yochay wants to communicate that now, ahead of time, by moving these to the experimental category (please correct me if I'm wrong).

Marking these experimental allows us to handle future updates and not ship them 'in the box'. We also want the partners (eco-system) to start picking such bindings on their own. Furthermore, what happens if tomorrow either of  these providers release a security fix. Are we on the hook to take the updates and then when and how...

This issue was moved to Azure/azure-webjobs-sdk-templates#391

This issue was moved to Azure/azure-webjobs-sdk-templates#394


Docs- add hints for configuring behat locally

@ptmkenny I hope you can check out https://github.com/drud/ddev-selenium-standalone-chrome/pull/17 and see if it works for you. Testing instructions provided there.


Compatibility with USGS web download format

TIFF downloads of 1x1 degree tiles available from The National Map from USGS. The "local" data source is currently configured to work with an older format raster database provided by USGS and used at NREL. Adding capability to use elevation data in the latest format will allow users to download individual tiles based on the location of the data that they wish to append elevation and grade to.

Included with the new loading using xarray in cc727b016522ecceb8b9bf30c806014bc8b7048e


Override table of contents layout to enable dynamic positioning

Enable single page Table of Contents layout to dynamically move out to the right when scrolling down. Move back on top when scrolled back to top.

Will not change position on mobile devices.
Will not change position on smaller desktop browser windows either.

/lgtm
/approve


[BUG] does not listen on IPv6

Environment
Self-Hosted (Docker)
System
any
Version
2.1.1
Describe the problem
dashy's web server only listens on IPv4, even if the Docker container has IPv6 enabled, making it unusable in IPv6-only setups. It can be run in dual-stack containers, of course.
Example (actual global IPv6 obscured):
[0 root@durnik ~] docker container inspect dashy | rg 'IPAddress|GlobalIPv6Address' | tail -n 2
                    "IPAddress": "<IP_ADDRESS>",
                    "GlobalIPv6Address": "2a01:4f8:262:xxxx::x:y:z",
[0 root@durnik ~] telnet <IP_ADDRESS> 80
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
HTTP/1.1 400 Bad Request
Connection: close

Connection closed by foreign host.
[1 root@durnik ~] telnet 2a01:4f8:262:xxxx::x:y:z 80
Trying 2a01:4f8:262:xxxx::x:y:z...
telnet: Unable to connect to remote host: Connection refused

Additional info
No response
Please tick the boxes

[X] You have explained the issue clearly, and included all relevant info
[X] You are using a supported version of Dashy
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

The issue is very much still there.

Now, It works!

Heya @mbunkus
Does @GuodongQi's solution work for you? If not, I can look into making some changes to the container - if you've got suggestions about what would need to be modified to get this working, that'd also be helpful :)

Yes, that works. Thanks.

if you've got suggestions about what would need to be modified to get this working, that'd also be helpful :)

Well, you could make the behavior triggered by HOST=:: the default. I would very much welcome such a change as I'm a firm believer in having the most useful default settings (as in, it's nice that this is configurable, but users shouldn't have to configure it in the first place).
On Linux listening on the IPv6 wildcard address :: will also listen on the corresponding IPv4 wildcard address, <IP_ADDRESS>:
[0 root@durnik ~] docker exec -ti dashy-dashy-1 /bin/sh
/app # apk add curl
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
(1/5) Installing ca-certificates (20220614-r0)
(2/5) Installing brotli-libs (1.0.9-r5)
(3/5) Installing nghttp2-libs (1.46.0-r0)
(4/5) Installing libcurl (8.0.1-r0)
(5/5) Installing curl (8.0.1-r0)
Executing busybox-1.34.1-r3.trigger
Executing ca-certificates-20220614-r0.trigger
OK: 13 MiB in 23 packages
/app # curl -s http://<IP_ADDRESS>/ | head -c 20                                                                                <!DOCTYPE html><html/app #                                                                                /app # curl -s 'http://[::]/' | head -c 20                                                                                <!DOCTYPE html><html/app #                                                                                /app #

I cannot really tell you how to do that as I have no experience whatsoever with node.js.
Here's a more expansive answer I wrote in a similar bug report I filed on a different project (Yacht):
Anyway, in the case of Yacht "proper IPv6" support would probably mean nothing more than making the daemon listen on IPv6, too. In terms of sockets this means listening on :: instead of <IP_ADDRESS>, or if the port number is part of the listen spec, on [::]:8000 instead of <IP_ADDRESS>:8000. The reason is that at least on Linux listening on the IPv6 wildcard address will automatically listen on IPv4, too.
If you're worried about that, you can also try listening on both [::]:8000 and <IP_ADDRESS>:8000, in that order, and ignore failures if exactly one of those fails:

if listening on [::]:8000 succeeds & turns on listening on IPv4 as well, then <IP_ADDRESS>:8000 will fail; the daemon will now listen on both IPv6 & IPv4
if listening on [::]:8000 succeeds & but doesn't turn on listening on IPv4 as well, then <IP_ADDRESS>:8000 will also succeed, and the daemon will now listen on both IPv6 & IPv4
if listening on [::]:8000 fails due to IPv6 being completely turned off on the host but listening on <IP_ADDRESS>:8000 succeeds, then the daemon will only listen on IPv4, and that'd be OK for those hosts

As a last resort one might make the address/port number to listen on configurable via environment variables. Other images go that route.
As an example for Docker images that support listening on IPv6 out of the box (or where I could configure it via an environment variable): Authentik; Wekan; PowerDNS Admin; Docker Registry; Portainer.

Thanks @mbunkus - that's really helpful!
I've set this ticket to 'keep open', and will update you here once complete, or within an update

I too would like to see this work with IPV6. Running this in a pure IPV6 environment causes failures to start.


[OPPRO-273] Enable gluten interval expression suite

What changes were proposed in this pull request?
Fixed runtime dependencies issue and enabled gluten interval expression suite.
How was this patch tested?
under test

cc @PHILO-HE


Need ttnn.index or lowering of aten.index.Tensor performance too bad

In beit, has this input varation of aten.index.Tensor
["Tensor<[732, 12]> self = ?", "List[Optional[Tensor]] indices = [<[38809]>]"]

It mean it will pick part of input 38809 times, and its output is [38809, 12]
The original run can pass
cd pytorch2.0_ttnn
pytest tests/models/beit/test_beit_image_classification.py
# pass

But if it apply the lowering method of #559 , it took very long time
git checkout swimdi/stage4-index
pytest tests/models/beit/test_beit_image_classification.py
# took very long time

And I think so the performance is unaceeptable, so cannot use the lowering method of #559 , TT should implement an operator named ttnn.index to completely fit this lowering

Hi @ayerofieiev-tt :
I think maybe I can try to implement ttnn.index.
Here's example use of index and slice

index(input, indices = [None, tensor([0, 1, 1]), tensor([2, 1, 2])]) result is
[input[:][0][2], input[:][1][1], input[:][1][2]]
ttnn.slice(input, begins=[0, 32, 0], ends=[1, 64, 16], step = [1, 2, 1]) result is
input[0:1:1,32:64:2,0:16:1] # shape before: [1, 64, 16], after: [1, 16, 16]

I think there will have some similar tt-metal code between them
So maybe I can imitate slice code under ttnn/cpp/ttnn/operations/data_movement/slice to implement ttnn.index

@swimdi , sure, lets try

And I think so the performance is unaceeptable, so cannot use the lowering method of https://github.com/tenstorrent/pytorch2.0_ttnn/pull/559 , TT should implement an operator named ttnn.index to completely fit this lowering

I am with @swimdi.  It is infeasible to compile an aten.index.Tensor instance to 38809 ops.  I propose two ways to deal with this op.
For our year-end goals, we set up a threshold for aten.index.Tensor, e.g. N = 20.  If lowering with #559 produces at most N ops, go for it.  Otherwise, skip the conversion (letting it fall back).
For the ultimate goals, we still need ttnn.index in the kernel to fully support aten.index.Tensor.

For our year-end goals, we set up a threshold for aten.index.Tensor, e.g. N = 20. If lowering with https://github.com/tenstorrent/pytorch2.0_ttnn/pull/559 produces at most N ops, go for it. Otherwise, skip the conversion (letting it fall back).

I try to merge #559 , but it encounter a problem
There's a usecase of index
indices = [None, tensor([0, 1, 1]), tensor([2, 1, 2])]
=> output is [input[:][0][2], input[:][1][1], input[:][1][2]]

So I need to add a getitem op like this
getitem(input, (slice(None), 0, 2)) # equal to input[:][0][2]

But I cannot add getitem node with slice(None) argument to graph module because it say slice(None) is unhasable
So currently #559 cannot handle indices with None, and then it become useless to increase the model coverage, so I'm not merge it
And also @ayerofieiev-tt  is not suggest to merge mentioned  at the meeting, so I think it can just implement on tt-metal


Can I mock a request to trigger HttpContext.RequestAborted

Hi,
I wanna to test a scene when the user abort the request before server writes its response.
But seemed to not work with my cancellation on my browser.
So can I mock a request cancel behavior in my test?

I would take a look at some of our tests in Kestrel. Specifically, look at
https://github.com/aspnet/AspNetCore/blob/8c41472336f1d6364c454b4b6ce19cb63c527dca/src/Servers/Kestrel/test/FunctionalTests/ResponseTests.cs#L187. This is a test that verifies RequestAborted is triggered when the client aborts the request.

I'd tried to use a HttpClient to send a request with 3 second cancellation, while the server wait for 5 seconds then judge the HttpContext.RequestAborted.IsCancellationRequested, seemed to be false always
request client:
            using (var client = new HttpClient(new HttpClientHandler()
            {
                Proxy = new WebProxy(new Uri("http://<IP_ADDRESS>:8888")),
                UseProxy = true
            }))
            {
                // var resString = client.GetStringAsync($"https://weihanli.xyz").GetAwaiter().GetResult();

                var cts = new CancellationTokenSource(TimeSpan.FromSeconds(3));
                cts.Token.Register(() => Console.WriteLine("request canceled"));

                try
                {
                    var responseMessage = client.GetAsync($"http://localhost:65125/api/chat/hello", cts.Token).GetAwaiter().GetResult();
                }
                catch (Exception e)
                {
                    Console.WriteLine(e);
                }
            }

web server:
            await Task.Delay(5000);
            var requestAborted = HttpContext.RequestAborted.IsCancellationRequested;