watchOS support

Could this potentially support watchOS out of the box?
The steps for symbolicating watchOS crash logs are here. Haven't found any other articles or documentation on how to do it, except for that single post (from 2015).
Having to symbolicate one line at a time, as well as manually fetching UUIDs, checking architectures and combing through log files is a pain, so I thought about creating a small console app that does this for me and happened to stumble upon your symbolicator. :)
I'm happy to help test/develop this if you're interested.

Hmm, don't know, never really needed watchOS symbolication, but it seems to use the same underlying formats and tools. So it should be supported as long as symbol files are available for watch app - though perhaps they are burried inside iPhone symbols and you need to use cmd line argument to point symbolicator to...

I can confirm that the steps in the link in my original post work for watchOS.
Just tried symbolicator by just specifying a path to the crash log (it's sitting next to the watchOS extension app/bundle), but unfortunately it doesn't work out of the box:
symbolicator watchOS.Extension/bin/iPhone/AdHoc/Tyomaarain.watchOS.Extension.crash
symbolicator: version 1.0 (build 99)

Symbolizing 1 crash logs...

Symbolizing watchOS.Extension/bin/iPhone/AdHoc/MyApp.watchOS.Extension.crash...
Detected com.company.myapp.watchkitapp.watchkitextension ARM [MyApp.watchOS.Extension 3830 (1.0)]
Found 53 lines that need symbolication
WARNING: Didn't find starting address for MyApp.watchOS.Extension
...

Here's also an line from the log:
3   MyApp.watchOS.Extension  	0x010c5f6e 0x24000 + 17440622

I think it's just not finding symbol files - are they present in Xcode Archives folder? Otherwise you can try with --archives option

Ah, that might be it as this is a Xamarin project.
What does the symbolicator expect to find in the archives folder?
If it's just a specific directory structure etc. I could try to emulate it.

Xcode uses ~/Library/Developer/Xcode/Archives, the contents are folders with date time-stamps as their names, then inside those there's binary + dSYMs subfolder and in it you find dSYM bundles inside which DWARF files are located (they have the same name as the bundle and are found under Content/Resources/DWARF subpath). So all together:
~/Library/Developer/Xcode/Archives/<DATE>/<BINARY>/dSYMs/<BINARY>.app.dSYM/Contents/Resources/DWARF/<BINARY>

(this is from memory so there might be some small difference).
Symbolicator expects --archives path to be pointing to the base archives path (so ~/Library/Developer/Xcode/Archives by default). If Xamarin places DWARF files to some other location but retains the same subfolder structure then just point symbolicator to it, but if it uses completely different folder structure, then dwarfPathWithIdentifier(_:version:build:) function from ArchiveHandler class needs adjusting so it can work with arbitrary file.

Thanks for the clarification!
In Xamarin's case, an example folder structure would be MyApp/iOS/bin/iPhone/Release/MyApp.app.dSYM, so I guess adding arguments for specifying the relative or absolute paths for both the binary (.app) and dSYM (.app.dSYM) would work in Xamarin's case.

In this case try --archives ~/.../MyApp/iOS/bin - symbolicator blindly jumps over 2 folders (at least it wouldn't hurt :)

No dice yet, unfortunately. Even if the path to the archives is non-existent, it doesn't actually complain about not finding the dwarf files (contrary to what I see in the code), so I'm not sure what's going on. :/

Tried printing inside dwarfPathWithIdentifier, but nothing is printed, so I'm guessing the function doesn't even get called.

Okay, narrowed it down to this:
let binary = (match.groups[1] as! RxMatchGroup).value!.trimmingCharacters(in: whitespace)
guard let baseAddress = baseAddressForSymbolication(contents, identifier: binary) else {
	// This is being hit for every line/match
	continue
}

If it helps, here's an actual crash report.
It does find the lines, as it reports that it's symbolicating 53 lines, but it can't seem to parse the addresses, not sure why.

Crash report seems normal. Seems like regexes in baseAddressForSymbolication function don't resolve the base address for the symbol (hex value in third column) for some reason... But can't determine more without debugging in Xcode

To be more precise: "base address" should return 0x24000 from this line in crashlog:
0x24000 - 0x1183fff Tyomaarain.watchOS.Extension armv7k  <d5c85926c8ff3f698540e5dd14fb69e3> /var/containers/Bundle/Application/

baseAddressForSymbolication(_:identifier:) tries to search first for:
0xADDR1 - 0xADDR2 [IDENTIFIER]...

(where IDENTIFIER is Tyomaarain.watchOS.Extension in your case) and if this doesn't produce result, it falls down to find all lines looking like:
0xADD1 - 0xADDR2 *

And then iterates over all and uses 0xADDR1 value from the first one where the string contains IDENTIFIER

Hmm, I tried printing the match.value in symbolicateString and it might be a tab issue with regex?
"2   Tyomaarain.watchOS.Extension  \t0x01065aaa 0x24000 + 17046186"

Never mind, that's not it either. Tried replacing tabs with spaces for the entire log contents, but same result.

Oh, I guess it can't find the identifier because the format is Tyomaarain.watchOS.Extension 0x01065aaa 0x24000 + 17046186, and not 0x01065aaa 0x24000 Tyomaarain.watchOS.Extension, right?

Never mind, got confused for a bit there and didn't remember that it's looking for the identifier/UUID under binary images, where the addresses don't really matter.

Got it. I marked the whitespace checks in the regex optional (see here) and it's now properly detecting the identifier. :)

Oh, cool! Thought it was something with regex/file format, am not behind computer till today evening or tomorrow so couldn't test. Would you mind creating pull request with fix? I want to test with existing crashes to make sure it works everywhere and merge so others can benefit from the solution...

To be honest I'd rather wait until I have it working with these crash logs, then push a PR, if that's alright?
Trying to get it to find the dwarf files now, since it's not finding them.

Ok, that's perfect! It's first time Xamarin issue, so adding support for it out of the box would be real nice:

If possible automatically enumerate Xamarin "archives" path (that's if Xamarin saves them at single path similar to Xcode). Though judging from path above it's saved on per-project basis. In this case specifying project root and then automatically search for dwarf in there would also work (this would require extending ArchiveHandler so it checks paths for both tools).

Changd regex pattern

I can help along the way, though don't have Xamarin so can't test. But I can prepare the basics then you can tackle the details from there...


Save and Load parameters

You would like to see a new example being implemented by the Flax core team or the community? Please let us know by filling the following template.
Description of the model to be implemented
I created a vanilla MLP trained with Adam. I will like to save the parameters into a file so I can read them for future usage.
Dataset the model could be trained on
Specific points to consider
How to save and load the parameters to/from a file
Reference implementations in other frameworks

Hi @RodrigoAVargasHdz, what is it exactly your are proposing in this issue? Do you want know how to save/load parameters to/from a file for a model you created?

Close this since the issue is too vague.


Pull Request etiquette

The guidance in this new section is designed to enhance how this document reflects our current ways of working in the SDK Team, so I'm hoping that none of it is surprising or contentious.
Reviewers can preview the rendered markdown here:
https://github.com/ably/engineering/blob/pr-etiquette/sdk/pull-requests.md#etiquette

I've invited other contractors ('outside collaborators' in GitHub nomenclature) to have Write access to this repository so that they can participate in this review. As they accept those invites I shall add them as reviewers.

@tomkirbygreen I appreciate completely where you're coming from in respect of the size of PRs, and I'm sure you have particular experiences that have influenced this being a particular complaint. However, I'm not going to add anything to this particular PR on that as it's potentially quite a subjective area and will depend on the PR context (e.g. which SDK, what type of work is being done, etc..). We can always write something up on this in future, however my feeling is that generally as long as we all stick to agile principles then PR size should 'look after itself'. cc @jamienewcomb

Thanks, everyone, for your input on this pull request.
We can and will evolve this in future if our needs or ways of working change, of course. Equally, for those who didn't get an opportunity to contribute to this review, please feel free to create an issue or even a PR. 😁


UVa taking 200ms more than normal retrievals

Most likely it is the redundant query to uvadb problems table. Remove and monitor it

This is now resolved. The current state is now every profile site has 0.01 seconds extra overhead over the request times.


Device (BE469ZP - 2 of them) Interview fails with timeouts and missing values.

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within ZWaveJS2MQTT?
NO, my problem is NOT within ZWaveJS2MQTT
Checklist

[X] I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog and my problem was not mentioned there.

Describe the bug
When I attempt to include the locks (through zwavejs2mqtt or zwavejs) they fail to interview completely, leaving parameters missing or values as undefined, including the User Code section (see image below).

Looking at the logs shows many Timed out while waiting for a response from the node (ZW0201) errors throughout. Moving the lock within inches of the stick doesn't seem to make a difference.
Attempts to Re-Interview the device result in a loss of nearly all to all the information previously interviewed. Similar to  (#1517).
Device information
Manufacturer: Schlage/Allegion
Model name: BE469ZP
Node ID in your network: 28
(I have 2 of these locks, both have the same issue. One is brand new. One is firmware version 11.0 and the other is version 10.4. Both devices behave the same way.)
Aeotec Z-Stick Gen 5 Plus (ZW090)
How are you using node-zwave-js?

[X] zwavejs2mqtt Docker image (latest)
[ ] zwavejs2mqtt Docker image (dev)
[ ] zwavejs2mqtt Docker manually built (please specify branches)
[ ] ioBroker.zwave2 adapter (please specify version)
[ ] HomeAssistant zwave_js integration  (please specify version)
[ ] pkg
[ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
[ ] Manually built from GitHub (please specify branch)
[ ] Other (please describe)

Which branches or versions?
version:
zwavejs2mqtt: 6.15.2
zwave-js: 9.6.2
Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Yes (please describe)
If yes, where did it work?
This lock worked at a previous house but started developing issues after moving to a new house. It was excluded then began having issues when I tried to include it again. I was using zwavejs and was having issues there before moving to zwavejs2mqtt and experiencing the same issues.
Attach Driver Logfile
zwavejs_2022-08-17.log

Duplicate of #4918


Redundant storage of deltas for partials

The partials oscillator stores each set of partial trajectories by a sequence of partial_breakpoint_t elements in partial_breakpoints[].  The last three elements of a partial_breakpoint_t are  ms_delta, amp_delta, freq_delta, which are redundant with the ms_offset, amp and freq of the next breakpoint entry for that oscillator (specifically, ms_delta is the increment in the ms_offset, and amp_delta and freq_delta are multiplicative scales to transform the current amp and freq into the next ones).
We could save three fields for each breakpoint entry by, instead, scanning ahead to the next entry for the current oscillator, reading its ms_offset, amp, freq, and calculating the deltas on-the-fly.  This would also simplify adding partials, since the partial-construction system would not have to calculate the deltas.

Would it make sense to also compress the remaining fields to uint16_t fixed-point values too?
It would still be easy to get back to the original floating point values at runtime, with a relatively minor loss of precision.
I mean, something like this:

frequency: 8.8 split, where MSB is semitones (same as midi note, but extended beyond 127), and LSB 256ths of a semitone.
amplitude: 0.16 no sign and fractional part only (since I presume it's always < 1.0 right?)
phase: 1.2.13 with sign, so with a range of -2.0000 to 1.9999 (and still allow for that -2.0 terminator thing)


Provide performance related documentation

There are many scenarios to consider for performance but it would be helpful to provide guidelines for general use cases. Such as migrating an app from a Windows container to an Eflow container. Intuitively one might think that linux interop overheads are higher compared to "pure" windows. Or general interop performance between a Windows UI and a backend workload running on windows vs Eflow.
A good place to mention or link to performance considerations might be here:
https://docs.microsoft.com/en-us/azure/iot-edge/iot-edge-for-linux-on-windows?view=iotedge-2018-06

@milijan,
You are absolutely right that there are many scenarios as well as variables to consider. The challenge is that this is a bit like comparing apples to oranges, they are both round fruit but the similarities end there.
Although Azure EFLOW does have an overhead of a virtual machine to run Linux-based IoT Edge modules there are benefits.  For instance, the same .Net Core workload packaged as a Linux module is smaller than one packaged as a Windows module due to differences in the operating system architectures.  For IoT Edge devices, this has both footprint as well as in memory benefits to partially offset the virtual machine overhead.
As for interop, performance, it really depends on what you are trying to do, the type of messaging involved etc.  The samples we have here on GitHub show you how to send messages using module identities to the EdgeAgent as well as transforming a USB camera feed into RTSP, but you could also use sockets.  The approach you take depend on what works best for your solution.
Terry Warwick
Microsoft

@TerryWarwick thanks! What you have said there about memory is worth mentioning somewhere. Especially since memory is often the bottle neck (keeping more things in cache, containers or High Availability). Anything that may help understand trade-offs is good.

Will a 1.1Ghz processor with 4 cores will do just to run eflow etc? We'll just run one small container.

@TerryWarwick thanks! What you have said there about memory is worth mentioning somewhere. Especially since memory is often the bottle neck (keeping more things in cache, containers or High Availability). Anything that may help understand trade-offs is good.

Thanks @milijan, we will consider adding some extra information about memory usage on future updates to our documentation.

Will a 1.1Ghz processor with 4 cores will do just to run eflow etc? We'll just run one small container.

@nealpeters86,
Please check EFLOW minimum requirements. We don't have minimum requirements for the CPU speed or cores, so you should check the memory and hard drive requirements.
Furthermore, it's important to highlight that the amount of RAM that needs to be allocated to the VM is highly dependent on the workload that is being deployed o the VM.


Transaction limit on batches

[Enter feedback here]
No mention transaction limits.  Tried to use to upload 100's of documents and it errored out.  What is the limit?

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

ID: 5c870bbb-ee69-9266-3d09-3f2e68ed4175
Version Independent ID: 444850f9-9318-3b75-8b76-504ae37357e6
Content: Container.CreateTransactionalBatch(PartitionKey) Method (Microsoft.Azure.Cosmos) - Azure for .NET Developers
Content Source: xml/Microsoft.Azure.Cosmos/Container.xml
Service: cosmos-db
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

This issue was transferred to the repository where the Microsoft.Azure.Cosmos library is maintained as #3853.


Adding Support for Get All DHCP Options

add DescribeDhcpOptionsResponse
support filtering describe_dhcp_options
add get_all_dhcp_options

@spulec made the requested change

thanks!


Base (Sightly) AJAX component

Sightly version for turning “normal” components into components that
are pulled into the page via AJAX.

Why is this necessary? A component extending the existing ajax component can be written in Sightly, just by creating the script as ajax.html instead of ajax.jsp.

See related thread here: http://sling.markmail.org/thread/5sxsywvqhjmdjto2

@justinedelson that was my initial thought but when I tried wasn't really working so that's the reason I created the Sightly version.
Changed instance and gave it another shot and seems fine


Town with parking space

Is there any version of Carla where any Town contains parking open street lots?

Hey @carola173, what do you mean by parking street lots?
Most of our towns have parking spaces but none of them are part of the road topology, so no lanes pass through them.
Additionally, some towns (such as Town10HD or Town03) also have parking lanes next to the driving ones.

This seems solved, closing the issue. Feel free to reopen it if needed


Display problems in the app

I have a problem with the display in the application (Android) as you can see in the picture,
In the browser it is excellent, but in the application there is no division between the columns,

Currently it shows the original arrival time and in addition a message about the real time deduction, is it possible to set it to show only the final arrival time, it is confusing to have to calculate the time deduction,

Is it possible to write the hours and minutes in Hebrew and not in English,

Thank you very much for the wonderful plugin

Hi

is this a tablet? it looks like there was error in console, so the page is kind of broken
i will try to reproduce it
the time is not the  original time, it is already the real time arrival.
meaning:
8 min = the bus will be here in 8 min
2 min delay = the original was to be here in 6 min, but he have 2 min delay.
bottom line is that the bus will be here in 8 min and by the way this bus has a total delay of 2 min

The screenshot I attached is from a tablet, but I also checked on a smartphone and there was the same problem,
I got it, I thought it was the other way around,

@meni123 fixed on version v1.07
plz let me know if worked

Great, now it's fine.
If you translate the minutes and hours into Hebrew, that would be wonderful,
Thank you


Adding SQLite example

A simple example showing how to access a SQLite database from a Quilt
package.

@kevinemoore Closing this PR from 2018.


Merging isn't Working

Describe the bug
Merging isn't working
build.js:2 Uncaught (in promise) TypeError: Cannot read property 'textContent' of undefined
at B.merge (build.js:2)
at i.runReport (build.js:2)
at chrome-extension://gkibdicghcpcikhjpgjoijpobdipklnp/public/async chrome-extension:/gkibdicghcpcikhjpgjoijpobdipklnp/build.js:2
To Reproduce
Steps to reproduce the behaviour:

Go to a User
Click on the Open permission Report
The User has a Custom Profile, standard permission sets and Permission Set Groups. The unique permission Sets are Quip Permission Set provided from Salesforce, Scan to Salesforce permission provided from the app exchange Scan to Salesforce. Pardot Permission Set from the Pardot Lightning App (this is new since this is the new lightning version of Pardot), Analytics Permission Set from Einstein Analytics Platform User with Export. And Tableau CRM Platform User permission set.

Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Browser version [e.g. 88.0.4324.150]
Extension version [e.g. 1.0.0]

Thanks for the bug report! Could you please expand on your repro steps? I will need to reproduce the error so I will need information on what permission sets, permission set groups, licenses and profiles to use.
Where the above is custom made, no need to specify the actual name.

@xsudiptaster could you please run:
SELECT PermissionSet.Name, PermissionSet.Type FROM PermissionSetAssignment WHERE AssigneeId = 'USERID' AND PermissionSet.IsOwnedByProfile = false
Where "USERID" is the ID of the user you are running the report for. Please censor anything confidential.

PermissionSet.Name PermissionSet.Type
EinsteinAnalyticsUser Regular
ChangeRecordOwner Regular
Messenger_User Regular
Champions Group
GeoRefrenceAdmin Regular
Scan_to_Salesforce Regular
BPO_Change_Requests Regular
Create_Change_Request Regular
EinsteinAnalyticsUser Standard
Quip Regular
Pardot Regular
ManageDashboardsForOthers Regular
Manage_Territories Regular
Export_Reports Regular
Standard_User Group
On Mon, Apr 26, 2021 at 2:58 PM Aurel Hudec @.***>
wrote:

@xsudiptaster https://github.com/xsudiptaster could you please run:
SELECT PermissionSet.Name, PermissionSet.Type FROM PermissionSetAssignment
WHERE AssigneeId = 'USERID' AND PermissionSet.IsOwnedByProfile = false
Where "USERID" is the ID of the user you are running the report for.
Please censor anything confidential.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hudec117/sf-user-perm-report/issues/38#issuecomment-826814366,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALMHAS6GLKHLBPIP5PQUDYTTKVPRDANCNFSM42Q7HXMA
.

This could be related to another issue. Could you please try running:
SELECT PermissionSet.Name, PermissionSet.Type, PermissionSet.IsOwnedByProfile FROM PermissionSetGroupComponent WHERE PermissionSetGroup.DeveloperName IN ('Champions', 'Standard_User ')

@xsudiptaster have you been able to look at my previous comment?

@raleighing to debug this I'll release a version with error handling in the merge function to get more info on the error.

@raleighing 1.2.2 has been released to the Chrome Web Store and should be downloaded by your browser. Could you please try to replicate this error? Open the console before it happens, you'll see an error log with the metadata that it failed on. Please Right Click -> Copy outerHTML, paste in a file and attach here?
I appreciate it may contain sensitive information so I just need to know what kind of metadata it is and why it does not have a "fullName" element.

Here's what is returned when I right-click on "metadata" in the console error and select "Copy outerHTML":
<records xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>

@raleighing sorry, what if you selected "Copy element"? It may be very large. I'm looking for what the metadata is (standard permission set? standard profile? guest user? something special? wrongly downloaded metadata?)

I have been able to replicate this issue by putting a managed Permission Set into a permission set group and then trying to run the report. Is this the case in your scenario?

This should be fixed as of 1.2.4, in the process of being published to the Chrome Web Store. If you find it still doesn't work with the update, feel free to re-open!


feature request

Can u please make a theme for React DevTools? :)

I am on it! :rocket:

Theme has been added! :+1:


avoid qt 5.13 deprecations

QApplication::flush is deprecated: https://doc.qt.io/qt-5/qcoreapplication-obsolete.html#flush
QPixMap::grabWindow is also deprecated:  https://doc.qt.io/qt-5/qpixmap-obsolete.html#grabWindow
The first one is a straightforward replacement, the second one however needs an initialization of a QScreen object with a window ID.
Signed-off-by: Karsten Knese<EMAIL_ADDRESS>

closing in favor of https://github.com/ros2/rviz/pull/435


GitHub Action CI/CD Migration

Description of Changes

Migrated Build, Release, and Test CI/CD to Github Action
Temporarily removed benchmark reporting and runs on CI. Will revisit later once we have a more reliable system.

Please check that the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] Add a changelog entry (for non-trivial bug fixes / features)
[ ] CI passes

Investigating CI/CD Issues


configuring Permissions Policy

Is your feature request related to a problem? Please describe.
It seems that the module currently does not support Permissions Policy (docs,brief summary). It would be nice to add it :)
Describe the solution you'd like
Permissions Policy is supported and can be configured accordingly with the features that the app uses.
Describe alternatives you've considered
Write some custom code instead, I guess
Additional context
Nice module btw, pretty time saving

Hey Łukasz!
Awesome to hear from you. This is a good feature idea indeed. I will take a look at it to add in the next release :)

Released in https://github.com/Baroshem/nuxt-security/releases/tag/v0.12.0


cannot use this app

I'm trying to use this app to program my mac to run terminal programs. When I hit download the files, I don't see any file that looks like the app.  When I hit download to desktop it's just a github app.

problem solved


autoComplete="off" is broken

The prop autoComplete="off" don't work in Chrome 67 and Opera 54.
It translates to autocomplete="nope" attribute on the input element. This is ignored in Chrome 67 and Opera 54 (latest at the time of writing). However autocomplete="off" on the input would work.

Value got overwritten by another library.


site unable to load

thefacebook.us unable to load

It hasn't been updated in 7 years so it's probably all outdated including the API to connect with facebook i guess


Vulnerability roundup 80: bind-9.14.8: 1 advisory

search, files

[ ] CVE-2019-6470 CVSSv3=7.5 (nixos-19.09)

Scanned versions: nixos-19.09: fd4ccdbe3a6. May contain false positives.

See also: #75495

Solved by #77345.


Assets ordered differently in html markup than what is written to disk when filenames begin with uppercase letters

Environment:

CentOS release 6.5 (Final)
Symfony 2.5
PHP 5.3.3

When referencing a whole directory of assets, eg. Resources/public/js/Default:
Ascript.js
bscript.js
cscript.js

like so:
{% javascripts '@MyGreatBundle/Resources/public/js/Default/*' %}
        <script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}

What gets written in the html is:
<script type="text/javascript" src="/js/60d13ef_part_1_Ascript_1.js"></script>
<script type="text/javascript" src="/js/60d13ef_part_1_byscript_2.js"></script>
<script type="text/javascript" src="/js/60d13ef_part_1_cscript_3.js"></script>

But what is written to disk in web/js is:
60d13ef_part_1_bscript_1.js
60d13ef_part_1_cscript_2.js
60d13ef_part_1_Ascript_3.js

So all of the javascripts 404.  Renaming Ascript.js to ascript.js resolves the issue.

We are having this same issue. It looks like assetic when dumping assets runs them all through a lowercasing function, which will 404 any assets that have a capital letter in them! Why does it work this way?

Maybe this can help you
https://github.com/kriswallsmith/assetic/pull/315


Unknown asset format 15

$ disunity extract resources.assets
[info] DisUnity v0.3.4
[info] resources.assets
[warning] FileCommand: Can't process resources.assets, caused by info.ata4.unity.asset.AssetException: Unknown asset format 15
at info.ata4.unity.asset.AssetFile.load(AssetFile.java:145)
at info.ata4.unity.asset.AssetFile.load(AssetFile.java:105)
at info.ata4.unity.asset.AssetFile.open(AssetFile.java:58)
at info.ata4.unity.cli.cmd.AssetCommand.processAssetFile(AssetCommand.java:97)
at info.ata4.unity.cli.cmd.AssetCommand.processFile(AssetCommand.java:90)
at info.ata4.unity.cli.cmd.FileCommand.processPath(FileCommand.java:58)
at info.ata4.unity.cli.cmd.FileCommand.run(FileCommand.java:76)
at info.ata4.unity.cli.DisUnityCli.run(DisUnityCli.java:110)
at info.ata4.unity.cli.DisUnityCli.main(DisUnityCli.java:123)
I've uploaded related file to my github, you can download through the following link:
https://github.com/larryhou/cdn/blob/master/resources.assets?raw=true

disunity is an awesome tool, I love it very much, so if you can fix this problem, I'm really appreciated from the bottom of my heart

I'm having the same issue too...


Update basyx.tck and sdk version to 1.1.0-SNAPSHOT

Updated version in the basyx.tck parent otherwise the modules of basyx.tck will not build. Also updated the basyx sdk version to 1.1.0-SNAPSHOT

Many thanks for your contribution!
Would it be possible to sign the Eclipse Contributor Agreement? Since BaSyx is an Eclipse project, this is required for contributing.
Additionally, you have to ensure that your mail in the commit matches your Eclipse account mail address.


GradToCurl fix for vector and scalar valued curl.

This PR addresses @v-dobrev's comment here

[x]  Revert changes in GradToCurl (For Scalar-Valued 2D curl)
[x]  Add a new method for vector-valued 2D curl (rotated gradient)

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#3337
@psocratis
@tzanio
@mlstowell + @v-dobrev
11/22/22
⌛due 12/6/22
⌛due 12/13/22

PR Checklist

[ ] Code builds.
[ ] Code passes make style.
[ ] Update CHANGELOG:

[ ] Is this a new feature users need to be aware of? New or updated example or miniapp?
[ ] Does it make sense to create a new section in the CHANGELOG to group with other related features?

[ ] Update INSTALL:

[ ] Had a new optional library been added? If so, what range of versions of this library are required? (Make sure the external library is compatible with our BSD license, e.g. it is not licensed under GPL!)
[ ] Have the version ranges for any required or optional libraries changed?
[ ] Does make or cmake have a new target?
[ ] Did the requirements or the installation process change? (rare)

[ ] Update continuous integration server configurations if necessary (e.g. with new version requirements for each of MFEM's dependencies)

[ ] .github
[ ] .appveyor.yml

[ ] Update .gitignore:

[ ] Check if make distclean; git status shows any files that were generated from the source by the project (not an IDE) but we don't want to track in the repository.
[ ] Add new patterns (just for the new files above) and re-run the above test.

[ ] New examples:

[ ] All sample runs at the top of the example source file work.
[ ] Update examples/makefile:

[ ] Add the example code to the appropriate SEQ_EXAMPLES and PAR_EXAMPLES variables.
[ ] Add any files generated by it to the clean target.
[ ] Add the example binary and any files generated by it to the top-level .gitignore file.

[ ] Update examples/CMakeLists.txt:

[ ] Add the example code to the ALL_EXE_SRCS variable.
[ ] Make sure THIS_TEST_OPTIONS is set correctly for the new example.

[ ] List the new example in doc/CodeDocumentation.dox.
[ ] If new examples directory (e.g.examples/pumi), list it in doc/CodeDocumentation.conf.in
[ ] Companion pull request for documentation in mfem/web repo:

[ ] Update or add example-specific documentation, see e.g. the src/examples.md.
[ ] Add the description, labels and screenshots in src/examples.md and src/img.
[ ] In examples.md, list the example under the appropriate categories, add new categories if necessary.
[ ] Add a short description of the example in the "Extensive Examples" section of features.md.

[ ] New miniapps:

[ ] All sample runs at the top of the miniapp source file work.
[ ] Update top-level makefile and makefile in corresponding miniapp directory.
[ ] Add the miniapp binary and any files generated by it to the top-level .gitignore file.
[ ] Update CMake build system:

[ ] Update the CMakeLists.txt file in the miniapps directory, if the new miniapp is in a new directory.
[ ] Add/update the CMakeLists.txt file in the new miniapp directory.
[ ] Consider adding a new test for the new miniapp.

[ ] List the new miniapp in doc/CodeDocumentation.dox
[ ] If new miniapps directory (e.g.miniapps/nurbs), add it to MINIAPP_SUBDIRS in the makefile.
[ ] If new miniapps directory (e.g.miniapps/nurbs), list it in doc/CodeDocumentation.conf.in
[ ] Companion pull request for documentation in mfem/web repo:

[ ] Update or add miniapp-specific documentation, see e.g. the src/meshing.md and src/electromagnetics.md files.
[ ] Add the description, labels and screenshots in src/examples.md and src/img.
[ ] The miniapps go at the end of the page, and are usually listed only under a specific "Application (PDE)" category.
[ ] Add a short description of the miniapp in the "Extensive Examples" section of features.md.

[ ] New capability:

[ ] All new public, protected, and private classes, methods, data members, and functions have full Doxygen-style documentation in source comments. Documentation should include descriptions of member data, function arguments and return values, template parameters, and prerequisites for calling new functions.
[ ] Pointer arguments and return values must specify whether ownership is being transferred or lent with the call.
[ ] Any new functions should include descriptions of their intended use e.g. for internal use only, user-facing, etc., along with references to example code whenever possible/appropriate.
[ ] Consider adding new sample runs in existing examples to highlight the new capability.
[ ] Consider saving cool simulation pictures with the new capability in the Confluence gallery (LLNL only) or submitting them, via pull request, to the gallery section of the mfem/web repo.
[ ] If this is a major new feature, consider mentioning it in the short summary inside README (rare).
[ ] List major new classes in doc/CodeDocumentation.dox (rare).

[ ] Update this checklist, if the new pull request affects it.
[ ] Run make unittest to make sure all unit tests pass.
[ ] Run the tests in tests/scripts.
[ ] (LLNL only) After merging:

[ ] Update internal tests to include the new features.

This looks good to me. I would like to see a companion PR for the MFEM web pages. We just need to add this integrator to the tables shown here .

I will take care of it. Thanks @mlstowell.

These changes make things much clearer. Thanks @psocratis!

Merged in next for testing...


fix: restore switch from pusher-wave to wave

Partially reverts jenkins-x/jx3-versions#3909

No point in merging this until jx updatebot pr is prevented from doing this kind of upgrade

/cc tomhobson JordanGoasdoue Skisocks


Update lilconfig

Hi, lilconfig maintainer here 👋
I have recently released a new major version that is fully compatible with how it is currently used.
Hope this helps!

Thanks! Commit message could be chore(deps): update<EMAIL_ADDRESS>to pass the commit linter, and you also need to add a changeset file using npx changeset. Let me know if you want me to handle these, that's fine. 👍

Thanks. I've updated the commit message and added the changelog entry. This should do it

I'm seeing some failing tests in this branch with npm test.

I will open a PR for updating the test snapshots, seems to be a separate issue in main.

@antonk52 can you rebase on top of master now? You should also try leaving the cache setting enabled because I disabled lilconfig entirely when in the situation lint-staged already has a possible config file from git (and can just directly load it).


Fixed/pagination

@biplobice

@biplobice

Please, register the assets from the package controller, not the block controller.

Fixed above case.

It's better not to use the alias as much as possible. You could use $this->app->make('database) & $this->app->make('user')

If use  $this->app->make for getRatedValue() and getRatingsCount() , there is no problem,
but if use it in on_start() method , preview page doesn't work fine in edit.php and add.php.


README: add godoc reference in heading

Provide the GoDoc reference in the README's heading.
Exhibit:
Before

After

Thank you for the merge @toorop and for the API client!


Support direct file names

Hi Arjen, I started using Fog and it's really convenient. However one thing is quite counterintuitive - it expects all the files in specific directories. Any chance to check if the given argument is an existing filename and if it is use it right away? And only if not try to find it under templates/ or wherever?
For example:
# template.yml exists in the current dir -> use it
fog -f template.yml -n stack-name

The same for parameter files, tags, etc. If the given argument is a file use it and don't look elsewhere. Otherwise it's quite confusing - I give it a file and it says it can't find it.
Thanks!

Hi Michael, that's a good point and I've been meaning to add some functionality around this. Would the following work for you?

check if file exists in current directory
check if file exists in defined templates/tags/parameters directory
check if file exists in defined templates/tags/parameters directory

In the meantime as a workaround you could create a global fog.yaml (or your preferred syntax) in your homedir that includes
templates:
  directory: .
tags:
  directory: .
parameters:
  directory: .

I think that should work until I've implemented this, although it might still complain as it doesn't expect an extension in the provided argument for the template. I have that on my list of things to fix (basically step 2 in the above list), but haven't gotten around to it yet.

IMO Fog should check if the -f argument is a file or not, just like that even if it's not in the current directory.
Assuming I run fog -f /some/path/template.yml -n xxx then in ReadTemplate() the templateName is /some/path/template.yml then before you loop over the extensions etc simply check with os.Stat(templateName) if it's an actual file name. If it is job done and you can read it immediately, if not loop through the extensions. The same in ReadTagsfile() and in ReadParametersFile().
I'm not a big fan of any auto-detection magic, it's often confusing. If I give it a file I mean to use file, not templateDir + file + oneOfTheExtensionsInWhoKnowsWhatOrder ;)

After almost a year I've actually merged your PR. Sorry for the long wait, I was originally not planning to merge it as it was but finally decided it should just be included when I was doing some cleanup.


SideNav new feature : options icon always visibles

Hi,
To improve the design of the side-nav component it could be interesting to add an option to let the side-nav visible with inly the icons in the ul > li > a
sample
For instance, the side-nav js component hide/show the menu.
It might add options to :

align the content on the right side of the menu
don't collapse fully, but only remove text
push the main content on the right to prevent the side-nav to be over it
display the menu when a user touch the menu (mobile) or when the mouse is hover / click

I don't think this is necessary since it's not a part (it's go against it) of Material Design

This doesn't actually go against material design; there is a "Mini SideNav" is the Material Design Spec. I would love to see this feature added!

@TomDevs Thank you for the clarification. Please, ignore my previous post.

+1

Do you mean something like this here? The application is a little bit broken. Don't blame me

Closed due inactivity and missing feedback. Feel free to reopen it, if it's still necessary.


Using async

Hello, I'm attempting to create an abstraction of this package for use in my application, but I'm encountering issues with asynchronous execution. The UI freezes while the function is running. I'm still learning Flutter and Dart, and I've successfully implemented simple async tasks in the past.
Here's a snippet of the function:
Future<ModbusRegisterModel> sendFrameWriteSingleRegister(int addr, int register, int data) async {
  // Check if already connected
  if (!_modbusClientSerialRtu.isConnected) {
    // Connect only if not already connected
    await _modbusClientSerialRtu.connect();
  }

  // Create ModbusRegisterModel
  ModbusRegisterModel r = ModbusRegisterModel();

  // Create ModbusInt16Register
  var _reg = ModbusInt16Register(
    name: "Registrador $register",
    address: register,
    type: ModbusElementType.holdingRegister,
    onUpdate: (self) {
      r.registerId = self.address;
      r.registerValue = self.value as double;
    },
    offset: 0,
  );

  // Send Modbus frame
  try {
    await _modbusClientSerialRtu.send(_reg.getWriteRequest(data));
  } catch (err) {
    // Handle the error appropriately
    print("Error sending Modbus frame: $err");
  }

  // Return ModbusRegisterModel
  return r;
}

I'd appreciate any suggestions or examples to address the UI freezing issue.

Hi,
I am not a Flutter expert as well :(
Dart wise I don't see mistakes in your code. Flutter wise, I need to understand where and when are you calling your sendFrameWriteSingleRegister method.
You can use Provider to notify your widget on any change of the modbus register.
Here an example:
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:modbus_client/modbus_client.dart';
import 'package:modbus_client_serial/modbus_client_serial.dart';

var _modbusClientSerialRtu = ModbusClientSerialRtu(portName: "COM2", unitId: 1);

class ModbusRegisterModel extends ChangeNotifier {
  int? registerId;
  dynamic registerValue;

  void update(int registerId, dynamic registerValue) {
    this.registerId = registerId;
    this.registerValue = registerValue;
    notifyListeners();
  }
}

void sendFrameWriteSingleRegister(
    ModbusRegisterModel model, int addr, int register, int data) async {
  // Create ModbusInt16Register
  var _reg = ModbusInt16Register(
    name: "Registrador $register",
    address: register,
    type: ModbusElementType.holdingRegister,
    onUpdate: (self) {
      print("Register updated!");
      model.update(self.address, self.value);
    },
    offset: 0,
  );

  // Send Modbus frame
  try {
    await _modbusClientSerialRtu.send(_reg.getWriteRequest(data));
  } catch (err) {
    // Handle the error appropriately
    print("Error sending Modbus frame: $err");
  }
}

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Modbus Demo',
      theme: ThemeData.dark(),
      home: const Center(child: ModbusElementWidget()),
    );
  }
}

class ModbusElementWidget extends StatelessWidget {
  const ModbusElementWidget({super.key});

  @override
  Widget build(BuildContext context) {
    // Capture model changes
    return ChangeNotifierProvider<ModbusRegisterModel>(
        // Create the model
        create: (_) => ModbusRegisterModel(),
        builder: (context, child) {
          // Here we are watching at this model (getting notified on its changes)
          var model = context.watch<ModbusRegisterModel>();
          return Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Text("Register ${model.registerId} : ${model.registerValue}"),
                const Divider(),
                ElevatedButton.icon(
                  onPressed: () {
                    // NOTE: you might get the register attributes from somewhere!
                    sendFrameWriteSingleRegister(model, 400001, 400001, 123);
                  },
                  icon: const Icon(Icons.send),
                  label: const Text("Send"),
                )
              ],
            ),
          );
        });
  }
}

Hi, thank you for the response.
I was already doing something similar and tested your code, but I encountered the same result. I apologize for the poor description in my previous message, as I forgot to mention a few things:
Here's where I call the function:
TextButton(
  child: Text('Click me'),
  onPressed: () async {
    try {
      await _modbus.modbusclient.sendFrameWriteSingleRegister(
        0x0001,
        0x0041,
        (!ModbusController.instance.reles[0]).toInt(),
      );
      // Update UI based on success
    } catch (err) {
      // Handle errors gracefully
    }
  },
),

The problem arises when the result code is requestTimeout, specifically when the slave board is disconnected.
Here's a visual representation of the issue (using your code as an example, but I'm facing the same problem in my own code):
Image of the problem: https://github.com/cabbi/modbus_client_serial/assets/153322116/5aaed78d-7075-4e8d-8544-146de1ecdc63
Aside from this particular situation, everything works flawlessly. The package is indeed easy to use, great work!

I'm currently running this code on an embedded Linux board, but I also tested it on an x86 Linux system and encountered the same results. This leads me to suspect a potential issue with Linux systems in general. Here's what happens:
Error
This the log :
flutter: FINE: 2024-01-17 08:29:54.371865 - Opening serial port /dev/ttyUSB0...
flutter: FINE: 2024-01-17 08:29:57.383015 - Request completed with code: requestTimeout
flutter: FINE: 2024-01-17 08:30:02.242950 - Request completed with code: requestTimeout
flutter: FINE: 2024-01-17 08:30:21.850988 - Request completed with code: requestTimeout
flutter: FINE: 2024-01-17 08:30:25.983892 - Request completed with code: requestTimeout

I tried also with serial port not responding and I don't have UI getting stuck

I see.
Perhaps the issue is with mine installation.

no, I didn't

Hi there,
I've been investigating the reported issue further and identified the root cause. It seems to be specific to Linux devices, based on both my limited testing with other platforms and your confirmation that it works on your Windows machine.
The problem lies in the libserialport package, which is wrapped by flutter_libserialport. Within the read() function, there are two conditional branches based on the timeout parameter:
@override
Uint8List read(int bytes, {int timeout = -1}) {
  return Util.read(bytes, (ffi.Pointer<ffi.Uint8> ptr) {
    if (timeout < 0) {
      return dylib.sp_nonblocking_read(_port, ptr.cast(), bytes);
    } else {
      return dylib.sp_blocking_read(_port, ptr.cast(), bytes, timeout);
    }
  });
}

The problem arises because of the timeout of your package doesn't support a timeout of -1, intended for non-blocking behavior. Consequently, the read() function always falls back to blocking mode, leading to the observed issue.
Here's what I suggest:

Enable -1 timeout for Linux: Modify your package to allow setting the timeout to -1 . This would enable the desired non-blocking behavior when needed.

Document the limitation: Clearly explain this platform-specific limitation on the package's pub.dev page. This would raise awareness among developers and suggest potential workarounds.

Additional thoughts:

Consider thorough testing across different platforms to avoid similar platform-specific issues in the future.
Explore alternative serial port libraries or custom implementations for Linux if addressing the -1 timeout limitation proves difficult.

I hope this information helps diagnose and resolve the issue!

Nice catch!
I did a quick check and current reading implementation uses that timeout. Strange is that the high level modbus reading is marked as async.

While implementing the fix I've discovered this issue in libserialport: https://github.com/jpnurmi/libserialport.dart/issues/83
I was simply moving all the serialPort!.read(....) to the below method, but it throws exception
  Uint8List _serialRead(int byteCount, int timeout_ms) {
    List<int> rxData = [];
    var stopWatch = Stopwatch()..start();
    while (stopWatch.elapsedMilliseconds < timeout_ms) {
      var data = _serialPort!.read(byteCount - rxData.length);
      rxData.addAll(data);
      if (byteCount <= rxData.length) {
        break;
      }
    }
    return Uint8List.fromList(rxData);
  }


Add a tool to generate chunks given substack

Basically, port https://github.com/dglazkov/ask-my-substack/blob/main/prepare.py here.

[ ] Document how to use the importer. python3 -m import.main --importer substack <DIRECTORY>


Example doesn't work - Code shown below

Hi
I've been trying to use this library and had a general issue with the stream being unreadable. So I've had a go at using the simplest case example from this tutorial instead.
The code below is what I've tried (I've omitted the mandatory open statements).
let binearySerializer = FsPickler.CreateBinarySerializer()
let xmlSerializer = FsPickler.CreateXmlSerializer(indent = true)

let stream = Unchecked.defaultof<System.IO.Stream>

xmlSerializer.Serialize(stream, [0. .. 0.1 .. 1.])
xmlSerializer.Deserialize<float list>(stream)

The error I get is the following:
System.ArgumentNullException: Value cannot be null.
Parameter name: stream

at System.IO.StreamWriter..ctor(Stream stream, Encoding encoding, Int32 bufferSize, Boolean leaveOpen)
at Nessos.FsPickler.XmlPickleFormatProvider.Nessos-FsPickler-IPickleFormatProvider-CreateWriter(Stream stream, Encoding encoding, Boolean _arg1, Boolean leaveOpen) in C:\Users\eirik\Development\nessos\FsPickler\src\FsPickler\Format\XmlFormat.fs:line 382
at Nessos.FsPickler.FsPicklerSerializer.Serialize[T](Stream stream, T value, FSharpOption1 pickler, FSharpOption1 streamingContext, FSharpOption1 encoding, FSharpOption1 leaveOpen) in C:\Users\eirik\Development\nessos\FsPickler\src\FsPickler\FsPickler\Serializer.fs:line 49
at <StartupCode$FSI_0057>.$FSI_0057.main@() in c:\users\richard\documents\visual studio 14\Projects\ConsoleApplication12\ConsoleApplication12\Program.fs:line 31
Stopped due to error

I'm using Visual Studio 2015 Community Edition and F#4

Hi,
you need to pass it an actual stream parameter, like MemoryStream or FileStream. Unchecked.defaultof is a placeholder F# primitive that in this case returns null, hence the error. If you just want to get serialized bytes, try using the Pickle and UnPickle methods.


Fluid Interface Not Allowing Removal

Issue description:
Once you put fluids into a network, you can't extract them
What happens:
If you put a fluid in the "out" section of a fluid interface, it won't let you pipe the fluid out using Ender IO fluid conduits or Extra Utilities fluid transfer nodes, even if the conduits are set to extract.
What you expected to happen:
You should be able to remove fluids from an RS network using the fluid interface
Steps to reproduce:

Put fluid into an RS network using the fluid interface
Set the fluid you just put in on the "out" area of the interface
Connect an Ender IO fluid conduit, an XU fluid transfer node, or other fluid-piping method
Nothing happens

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>2
Refined Storage: 1.0.5

Does this issue occur on a server? [yes/no]
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

Like the regular interfaces, you can only extract fluid from the fluid interface from the bottom side. Does that fix it?

Yes it does! Thanks for clarifying!
It seems that if you're only able to extract from one side, it might be nice to have a method of rotating the interface to choose what side to extract from. Do you think that could be added in sometime?

No, I think it's fine this way


Version 0.3.5 is on crates.io but not here

The Cargo.toml here specifies version 0.3.4, but https://crates.io/crates/yaml-rust/ has 0.3.5. I presume we're missing at least a commit that changes the version number, but possibly others?

Could we get a reply on this please, @chyh1990?

I confirmed that no other commits are missing compared to the 0.3.5 on crates.io. I pushed acbdc9e7e420ebc0a82ceff1ecd9ffc8cc2b45fd which is identical to the code that was published as 0.3.5. I also pushed tags corresponding to all of the existing releases on crates.io.


ManagerConnection.IsConnected() always true in event ConnectionState

I have next part of the code:
using AsterNET.Manager;
using AsterNET.Manager.Event;

private ManagerConnection manager;
private bool StartManager()
        {
            manager = new(
                Properties.Resources.amiAddress,
                Int32.Parse(Properties.Resources.amiPort),
                Properties.Resources.amiLogin,
                Properties.Resources.amiPass
                );
            manager.ConnectionState += new ConnectionStateEventHandler(ConnectionState);

            try
            {
                manager.Login();
                return true;
            }
            catch
            {
                return false;
            }
        }

private void ConnectionState(object sender, ConnectionStateEvent e)
        {
            if (manager.IsConnected())
            {

                MessageBox.Show("on");
                notifyIcon1.Icon = Properties.Resources.phone_on;
            }
            else
            {

                MessageBox.Show("off");
                notifyIcon1.Icon = Properties.Resources.phone_off;
            }
        }

Asterisk is in the local net. When I break the connection (pull out the cable), manager.IsConnected() is true, but must be false. I don't understand this behavior. How can I check connection?
And the most interesting thing is if I add a manual status check like this:
private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show(manager.IsConnected().ToString());
        }

then everything is displayed correctly. When there is a connection, it shows true; when there is no connection, it is false.

Duplicate of #150

I seem to have found a particular solution for my case. The fact is that it seems that when the ConnectionStateEvent event fires, the state of the ConnectionManager does not change immediately. Why this happens I did not understand. But when adding a delay, the IsConnected method began to work correctly.
private async void Connection_State(object sender, ConnectionStateEvent e)
        {
            await Task.Delay(1000);
            MessageBox.Show(manager.IsConnected().ToString());
            if (manager.IsConnected())
            {
                notifyIcon1.Icon = Properties.Resources.phone_on;
            }
            else
            {
                notifyIcon1.Icon = Properties.Resources.phone_off;
            }
        }

Don't use IsConnected (ManagerConnection.cs#L1955), it just checks the state of the underlaying TCP socket, which doesn't reflect the actual AMI state.
Instead, use the event argument from the ConnectionStateEvent, it has a property that explains the current state better.
Basically, read some of the things discussed in #150 and maybe look at the source code.

If I remember on monday, I can look at shat I did in my project. But I think mainly I just catch the SystemException, monitor the ConnectionStateEvent and set ReconnectRetries to int.MaxVlue.

Here is my code:
private void Monitoring_ConnectionState(object sender, ConnectionStateEvent e)
{
    if (e is null)
        throw new ArgumentNullException(nameof(e));

    switch (e)
    {
        case ConnectEvent e1:
            System.Diagnostics.Debug.WriteLine($"{nameof(ConnectEvent)}: {e1}");
            break;
        case DisconnectEvent e2:
            System.Diagnostics.Debug.WriteLine($"{nameof(DisconnectEvent)}: {e2}");
            break;
        case ReloadEvent e3:
            System.Diagnostics.Debug.WriteLine($"{nameof(ReloadEvent)}: {e3}");
            break;
        case ShutdownEvent e4:
            System.Diagnostics.Debug.WriteLine($"{nameof(ShutdownEvent)}: {e4}");
            break;
        default: // Should only be the 4 ConnectionState event types, but just to be sure.
            System.Diagnostics.Debug.WriteLine($"Unknown {nameof(ConnectionStateEvent)}: {e}");
            break;
    }
}

As mentioned in #150, the connection state is weirdly conveyed in AsterNET, that part could really use a rewrite.

Ок, its fine. Thank you!


"Is in" assertion randomly fails

Describe the bug
When asserting whether a value is contained in an Iterable (i.e. using isIn(Iterable<T>)), the assertion may or may not randomly fail, even though the actual value is, indeed, contained in the expected values, which is indicated by:

The assertion ocassionally passing without any changes made
The logs of the failed assertion

NOTE: I am not actually sure this is specifically an AssertJ issue. This very well might be caused by the test framework, some subtle concurrency behavior or something else entirely. That being said, I'd still like to submit this GitHub issue in case it is an AssertJ problem, and apologize if it is not.

AssertJ core version: 3.24.2
Java version: 17
Test framework version: JUnit 5.9.3
OS: Fedora 38 (kernel 6.4.4-200.fc38.x86_64)

Test case reproducing the bug
Consider the following utility method:
public static <R extends APIRequest> void assertExpectedURIsContainActual(
        Supplier<R> requestSupplier,
        String... possibleOutcomes) {
    R request = requestSupplier.get();

    Iterable<URI> expected = Arrays.stream(possibleOutcomes)
            .map(URI::create)
            .toList();
    URI actual = request.getURI();

    assertThat(actual).isIn(expected);
}

...where APIRequest, for the sake of simplicity, can be considered a @FunctionalInterface with a getURI() method.
Then consider the following JUnit 5 test method:
@Test
void reqURI() {
    assertExpectedURIsContainActual(() -> {
                LocalDate start = LocalDate.of(2020, Month.JANUARY, 1);
                LocalDate end = LocalDate.of(2020, Month.JANUARY, 31);
                LocalDateInterval interval = new LocalDateInterval(start, end);
                return new FrankfurterExchangeRateSetRequest(FOO_DOLLAR, Set.of(BAR_FRANC, BAZ_POUND), interval);
            },
            "https://api.frankfurter.app/2020-01-01..2020-01-31?from=FOO&to=BAR%2CBAZ",
            "https://api.frankfurter.app/2020-01-01..2020-01-31?to=BAR%2CBAZ&from=FOO"
    );
}

...where FrankfurterExchangeRateSetRequest is a deeply-immutable type, so "accidental" mutations are not possible.
There is a non-deterministic chance that the test will either pass flawlessly or throw an assertion error with a message that actually shows the actual value is contained in expected:
java.lang.AssertionError:
Expecting actual:
  https://api.frankfurter.app/2020-01-01..2020-01-31?from=FOO&to=BAZ%2CBAR
to be in:
  [https://api.frankfurter.app/2020-01-01..2020-01-31?from=FOO&to=BAR%2CBAZ,
    https://api.frankfurter.app/2020-01-01..2020-01-31?to=BAR%2CBAZ&from=FOO]

What's more, if @Test is to be replaced with @RepeatedTest, in the case of a failure all repetitions fail, and in the case of success all repetitions succeed.

isIn shouldn't really do anything special under the hood, aside from invoking URI::equals.
I was thinking that there might be URI fields to look at which are not shown in its toString but are still evaluated in equals. However, with a quick look at the Java 17 sources, I couldn't find any.
With a debugger, would you maybe have the chance to see which part of URI::equals is returning false?

I think it's not a problem related to the AssertJ itself, but to the way you build the URI from the string chunks.
In fact you expected this URI
https://api.frankfurter.app/2020-01-01..2020-01-31?from=FOO&to=BAZ%2CBAR
to be contained in a connection that contains this one
https://api.frankfurter.app/2020-01-01..2020-01-31?from=FOO&to=BAR%2CBAZ
You can see that the to query param has different values.
This because the Set collection (that you use to BAR_FRANC, BAZ_POUND values) doesn't guarantee the order

Apologies for the delayed response.
@amodolo I think you are completely right! Which means this was my bad all along and the issue is not related to AssertJ after all.
Thanks to both of you for dedicating a few minutes either way.


Setting the world seed seems to break sway randomly.

Also doesn't affect world generation for some reason

Confirmed to happen with arguments 0 and f. Haven't had any crashes with a random seed yet.
The issue doesn't apply to the main branch yet btw.

Never crashed on windows, and since fixing that the given seed was not looked at for the initial loading of chunks, I haven't had any crashes on sway so I think we're good!

Seems to be an issue with xwayland. Try to run with pure wayland:
export SDL_VIDEODRIVER=wayland

SDL2 update seemed to fix this


bugfix:remove MT BranchType

Ⅰ. Describe what this PR did
bugfix:remove MT BranchType
Ⅱ. Does this pull request fix one issue?
fix #741
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@498773f). Click here to learn what that means.
The diff coverage is 20%.

@@            Coverage Diff             @@
##             develop     #747   +/-   ##
==========================================
  Coverage           ?   32.65%
  Complexity         ?      926
==========================================
  Files              ?      229
  Lines              ?     8950
  Branches           ?     1089
==========================================
  Hits               ?     2923
  Misses             ?     5679
  Partials           ?      348

Impacted Files
Coverage Δ
Complexity Δ

...java/com/alibaba/fescar/core/model/BranchType.java
100% <ø> (ø)
5 <0> (?)

...m/alibaba/fescar/server/session/GlobalSession.java
81.69% <20%> (ø)
44 <1> (?)

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 498773f...d9841f5. Read the comment docs.


[Docs] Document error handling (pessimistic & optimistic)

The best summary of error handling with Orbit is at https://github.com/orbitjs/todomvc-ember-orbit#pessimistic-error-handling but this is a little hard to find and not in the official docs. We should port this over and validate that it's still best practice/current for 0.17.
Refs https://github.com/orbitjs/orbit/issues/778#issuecomment-684843135

The README in the TodoMVC project references RequestStrategies at https://github.com/devotox/ember-cli-utilities/blob/master/addon/data-strategies/


Tally wifi compatible with livestream studio

Today you can build and program the wifi tally to work with atem and it is working very well. I also use the livestream studio software, can it be added to the list of supported switchers? This is the software.
https://help.livestream.com/hc/en-us/articles/360002071667-Adding-Configuring-Tally-Lights

Yes please


Mhof dev merge

Added the functionality to avoid naming collisions to the mhof_dev branch.

Codecov Report
Attention: Patch coverage is 81.75896% with 56 lines in your changes missing coverage. Please review.

Project coverage is 90.77%. Comparing base (1577a7e) to head (d2ac388).
Report is 1058 commits behind head on mhof_dev.

Files
Patch %
Lines

domainlab/algos/msels/c_msel_val_top_k.py
29.62%
19 Missing :warning:

domainlab/algos/trainers/fbopt_mu_controller.py
84.03%
19 Missing :warning:

domainlab/algos/msels/a_model_sel.py
82.35%
6 Missing :warning:

domainlab/algos/builder_fbopt_dial.py
44.44%
5 Missing :warning:

domainlab/algos/msels/c_msel_setpoint_delay.py
84.21%
3 Missing :warning:

domainlab/algos/msels/c_msel_val.py
90.00%
1 Missing :warning:

domainlab/algos/observers/b_obvisitor.py
92.85%
1 Missing :warning:

domainlab/algos/observers/c_obvisitor_cleanup.py
91.66%
1 Missing :warning:

domainlab/algos/trainers/a_trainer.py
92.30%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##           mhof_dev     #845      +/-   ##
============================================
- Coverage     95.15%   90.77%   -4.39%
============================================
  Files           127      137      +10
  Lines          4994     5853     +859
============================================
+ Hits           4752     5313     +561
- Misses          242      540     +298

Flag
Coverage Δ

unittests
90.77% <81.75%> (-4.39%)
:arrow_down:

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

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


Add USB support

Adds USB support in concert with pybricks/pybricks-micropython#208

@dlech This adds enough functionality to push programs. I'm still working on receiving data from the device.

I added a branch with a few more changes here: https://github.com/pybricks/pybricksdev/tree/dlech-usb

@dlech This now processes stdout and status messages. Marking as ready for review.

Cool! It will probably be a few weeks before I can have a close look.

New patchset using transport composition class.

64931654e1fa563233f5434db114831b1d4c5858 is going to be a disruptive breaking change. I agree it is better to do things in the constructor but I am undecided if it is that much better that it is worth breaking peoples programs.

Waiting for command responses now works. I need to clean up the pybricks-micropython code a bit and will then push that up.


maintainers/README: add guidelines for committers

WIP!

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Note that this PR is very much a draft and also doesn't reflect the final structure.

Change looks good! I wonder if we could use this PR to introduce some of the changes @infinisil had mentioned over at https://github.com/NixOS/nixpkgs/issues/347586?

I will be adding future changes as fixup commits. Once we are confident, I can run git rebase --autosquash to merge them all into a single commit

Rebased, squashed, and resolved conflict with new nixpkgs-review-bot section. This should be good to merge

Rebased, squashed, and resolved conflict with new nixpkgs-review-bot section. This should be good to be merged. If there are no objections I will merge this in a few hours


Stored locally?

Hello Andrey,
Love your extention / code, a little creepy that it's so easy but very cool at the same time :)
In your README you say that the extention stores the data locally, can you tell me where it stores the data?
I've been looking around for about a hour but I can't find anything.
Thanks in advance 👍

Hello,
The Chrome App uses a local IndexedDB database. The relevant code is in background.js.
The database is opened by the openDatabase() function, with the opening itself happening here.
You can see some of the writes to the database happening here and here.
You can also inspect the database using the Chrome development tools, by right-clicking the window, selecting 'Inspect', going to the 'Application' tab, and clicking the 'IndexedDB' option from the pane on the left.
Hope this helps,
Andrey

Hello Andrey,
Thanks for your reply, I'll look into it once I have some time :)
Kind regards,
Rowin


Update oracle-create-upload-vhd.md

Fixing spelling, grammar and swap file configuration.

@markusries - Thanks for your contribution! Note that the contractions correctly follow Microsoft's writing style. Is it possible to undo those changes?

@srijang
Can you review the proposed changes? (Specifically, the changes on lines 124, 264, and 265.)
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


[CTIS qsf tools] Separate script to combine changelog

Description
Add a separate script (combine_changelogs_eu.R) to combine changelog, copied from combine-codebooks. Parameters are the same.
Changelog
Itemize code/test/documentation changes and files added/removed.

change1
change2

Fixes

Fixes #(issue)

Replaced by #1624.


[audio] remind users to install nightly build in the CTC forced alignment API tutorial

Summary: see title
Differential Revision: D46051772

@xiaohui-zhang is this still relevant?

@mthrok . no. we can close it


Improve logging by ConfigStoreYaml

What this PR does:
Adds more information on logging by ConfigStoreYaml, both for failures and successful loads.
Which issue(s) this PR fixes:
No issue filed, needed for troubleshooting
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

@jeffreyscarpenter Changed based on your suggestion: access (via cache) is now debug; actual loading (less common since there's just single config file shared by components) at info. I can change that to debug too if need be but I suspect it really is once per Coordinator run.


fix(outputs): build outputs config even when using cache

Resolves [ANT-1314]

The test is good and the code works but it's more a workaround than a solution.
Because, i did not investigate why we loose the information at some point :/

Good job! I only improve the unit tests to use fixtures.


Add a diacriticsSensitive option like vue-text-highlight

I need to support Vue3, I've previouslly used the vue-text-highlight extension with the diacriticsSensitive option, but I don't see this option on vue-word-highlighter.
Can you add this option please?
vue-text-highlight used the diacritics npm package and the following code for text match:
 if (!diacriticsSensitive) {
    strCpy = diacritics.remove(strCpy);
    searchStringCpy = diacritics.remove(searchStringCpy);
  }

https://github.com/AlbertLucianto/vue-text-highlight/blob/2e356952f68162e36f21462b22a9fd9ab25c9319/src/utils/indicesOf.js#L42

Sorry for the very slow response.
Supported in v1.1.0. Try it.
https://user-images.githubusercontent.com/11070996/194713706-8c39e108-4ae9-4472-9444-b33d91bde911.mp4
https://kawamataryo.github.io/vue-word-highlighter/


little doubt

Is it possible to configure the miner on a raspberry?
If so, can you explain the process a little to me?

Hello o/
I'm not entirely sure what you're trying to achieve. This miner is a GUI tool - it won't work without a monitor to display the main window on, a mouse you can click on different elements of the interface, and a keyboard to type new information in. If your raspberry has a display, mouse and keyboard, then it's just a matter of running the miner from source. An ARM executable is not available at this time, so running from source if your only option.
I've detailed out the installation instructions here: https://github.com/DevilXD/TwitchDropsMiner/wiki/Setting-up-the-environment,-building-and-running
Please let me know if this answers your question.

If you're trying to achieve a headless version of the miner (i.e. run it without the GUI), you can set up a virtual framebuffer as a "dummy" display which will let you run the miner on a machine with no physical display. I personally use a tool called Xvfb (docs, Wikipedia) to create a virtual framebuffer and set it as the display for the shell instance.
Here's a bash script I wrote to launch everything using Xvfb on headless Ubuntu 22.04. Note that this script was made for my personal use, so it's not guaranteed to be robust and may not work on your system. Make sure you understand it first, and use it at your own risk!
echo "Starting Twitch Drop Miner in HEADLESS MODE"

# Kill any existing Xvfb process
pkill Xvfb
# Remove the display lock file
rm -f /tmp/X19.lock

# Create a new virtual framebuffer with display ID 19
Xvfb :19 -screen 0 1024x768x16 &
# Change the X display to 19
export DISPLAY=:19
# Run the miner (replace this path with your own)
python3 /path/to/TwitchDropsMiner/main.py

You will likely still need to access the GUI occasionally, for example to sign in and change settings. The miner works over X11, so if you have X11 forwarding set up then you can access the GUI version over SSH from a machine with a display.

I am trying to mine 24/7 without having to always have my PC on since it consumes a lot and I don't want to have it on all that time. A raspberry would be a good idea

If you're trying to achieve a headless version of the miner (i.e. run it without the GUI), you can set up a virtual framebuffer as a "dummy" display which will let you run the miner on a machine with no physical display. I personally use a tool called Xvfb (docs, Wikipedia) to create a virtual framebuffer and set it as the display for the shell instance.
Here's a bash script I wrote to launch everything using Xvfb on headless Ubuntu 22.04. Note that this script was made for my personal use, so it's not guaranteed to be robust and may not work on your system. Make sure you understand it first, and use it at your own risk!
echo "Starting Twitch Drop Miner in HEADLESS MODE"

# Kill any existing Xvfb process
pkill Xvfb
# Remove the display lock file
rm -f /tmp/X19.lock

# Create a new virtual framebuffer with display ID 19
Xvfb :19 -screen 0 1024x768x16 &
# Change the X display to 19
export DISPLAY=:19
# Run the miner (replace this path with your own)
python3 /path/to/TwitchDropsMiner/main.py

You will likely still need to access the GUI occasionally, for example to sign in and change settings. The miner works over X11, so if you have X11 forwarding set up then you can access the GUI version over SSH from a machine with a display.
EDIT: Everything that @DevilXD said in his reply also still applies, make sure you understood what they said.

very thanks you

Does this answer your question? Can I close this?


BUG - Users can't input their own recipient-region codes

Hi AidStream,
When entering a <recipient-region> users can only select a DAC region code. This is correct when using vocabulary 1 (DAC) or no vocabulary.
However, when the vocabulary is changed to 2 (UN) or 99 (org's own) there's no option to enter your own code.
Please can this functionality be added?

Hi Amy,
This issue has been fixed. You can check it from your side.
On behalf of AidStream team,
Sonika

Hi @soneeka, the fix is perfect. Thank you.


Trying to use Hooper with Vue 3

So I'm using vue.js 3 I followed the same steps in the doc but I keep getting this error and nothing is rendering
Uncaught TypeError: vue__WEBPACK_IMPORTED_MODULE_4__.default is not a constructor

My small example is:
<hooper>
   <slide>slide 1</slide>
   <slide>slide 2</slide>
</hooper>

<script>
import { Hooper, Slide } from 'hooper';
import 'hooper/dist/hooper.css';

export default {
  components: {
    Hooper,
    Slide
  },
}
</script>

Can somebody help me please

Running into this issue as well -- were you able to find a solution?

I'm not ! "export 'default' (imported as 'Vue') was not found in 'vue' Does Not support VUE3!

Please see: https://github.com/baianat/hooper/issues/197

anyone still interested using this plugin in vue 3? I forked the repo and made necessary changes. https://www.npmjs.com/package/hooper-vue3 let me know if you are experiencing some issue

@magFixCorp
Tried your fork, getting:
Failed to resolve import "hooper" from "src\views\Hooper.vue". Does the file exist?

@magFixCorp Tried your fork, getting: Failed to resolve import "hooper". Does the file exist?

@rezab777 try import { Hooper, Slide } from 'hooper-vue3'

@rezab777 I worked past day on this and finally managed it to work with vue3. (Please note that I was using this plugin on a vue 2 app and I migrated to vue 3) The plugin is only tested on migrated version(options API), I haven't tested it yet with composition API. Here is a link to npm please use it to install. In readme you can find a simple example of how to use the plugin. Please let me know if you run into some other problems I will assist you in order to make it work.
https://www.npmjs.com/package/hooper-vue3

For Vue3 you can use this lib instead: https://github.com/ismail9k/vue3-carousel

Hi @rezab777 , I have justed install new plugin hooper-vue3 and added sample code but still it's not working for me.

But still getting the below UI only

Could you please help me here ?

Please note that Hooper doesn't support Vue 3, and it's also not maintained anymore by me, please consider using Vue3-carousel. (https://github.com/ismail9k/vue3-carousel)

@ismail9k Do we have any flag regarding slider scroll horizontal or verical in (https://github.com/ismail9k/vue3-carousel)?

anyone still interested using this plugin in vue 3? I forked the repo and made necessary changes. https://www.npmjs.com/package/hooper-vue3 let me know if you are experiencing some issue

Navigation, Pagination - not work
I connect

import { Hooper, Slide, Navigation as HooperNavigation, Pagination as HooperPagination } from 'hooper-vue3';


TypeError: axios_1.default.create is not a function

Describe The Bug:
Unable to install and configure the plugin.
To Reproduce:
Search for plugin on UI. Click install, click settings. Shows spinning cog.
Expected behavior:
Bring up config setttings
Logs:
[homebridge-lg-thinq] /var/lib/homebridge/node_modules/.pnpm/homebridge-lg-thinq@1.2.16/node_modules/homebridge-lg-thinq/dist/lib/request.js:10
const client = axios_1.default.create();
                               ^

TypeError: axios_1.default.create is not a function
    at Object.<anonymous> (/var/lib/homebridge/node_modules/.pnpm/homebridge-lg-thinq@1.2.16/node_modules/homebridge-lg-thinq/dist/lib/request.js:10:32)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/var/lib/homebridge/node_modules/.pnpm/homebridge-lg-thinq@1.2.16/node_modules/homebridge-lg-thinq/dist/lib/API.js:30:19)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)

Plugin Config:
N/A
Environment:

Plugin Version: v1.2.16
Homebridge Version: 1.4.1
Node.js Version: 15.14.0
NPM Version:
Operating System: hb-service

please try using nodejs LTS version, node 14.x or 16.x

the issue still persists with node 14.x or 16.x

hmm, not sure what happened, look like it's nodejs issue, I using nodejs v16.15.1 and it's working fine, never see this error before


server: Stop having work_done variable

Not sure if we need to have a variable which we never use or clear
This might close #168

@tdaede I do see why we actually need a variable to store these runs information, when we have large work list like 20-30k over few days, it can eat up large memory I think?


multi: manage shutdown requests with status codes [TEST]

Change Description
In this commit, we manage shutdown requests with status codes. Exits with code 1 for critical errors (e.g, from exhausted attempts connecting to chain backend), and code 0 for normal shutdowns (e.g., from Stop Daemon RPC call).
Steps to Test
Steps for reviewers to follow to test the change.
Pull Request Checklist
Testing

[ ] Your PR passes all CI checks.
[ ] Tests covering the positive and negative (error paths) are included.
[ ] Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

[ ] The change obeys the Code Documentation and Commenting guidelines, and lines wrap at 80.
[ ] Commits follow the Ideal Git Commit Structure.
[ ] Any new logging statements use an appropriate subsystem and logging level.
[ ] Any new lncli commands have appropriate tags in the comments for the rpc in the proto file.
[ ] There is a change description in the release notes, or [skip ci] in the commit message for small changes.

📝 Please see our Contribution Guidelines for further guidance.

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

11 of 23 (47.83%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on manageShutdownRequestsWithStatusCodes at 48.817%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

log.go
0
1
0.0%

lnd.go
2
4
50.0%

config_builder.go
0
9
0.0%

Totals

Change from base Build<PHONE_NUMBER>8:
48.8%

Covered Lines:
99376

Relevant Lines:
203567

💛  - Coveralls


With preview mode off, the Grid just shows "Doc Type" whenever this package is used

With preview mode off, the Grid just shows "Doc Type" whenever this package is used in the grid. Picture attached showing this:

Changing line 23 in the doctypegrideditor.controllers.js to write:
$scope.title = $scope.control.value.dtgeContentTypeAlias;

Instead of:
$scope.title = $scope.control.value.value.name;

Partially improves this issue, as shown below:

This is slightly better as it shows what is being rendered to the user rather than just writing a generic name.
Can I just check there isn't a better solution to this problem?

@HarveyWilliams The words "Doc Type" is coming from the "name" of whatever grid-editor is defined in the grid.editors.config.js, see line 2.  Our recommendation is to make your own grid-editor definitions, then you can name them accordingly.

Closing issue, this is intended behaviour.
@HarveyWilliams - I've recently added in some nicer CSS styles - they're commented out at the moment, but you might like them? See doctypegrideditor.css, line 16.

@leekelleher Nice those styles make it much prettier, thanks!
Otherwise in the future I'm just gonna put more effort into making the previews work. :)


Can't use underscore-db 0.9.1 with lowdb 0.12.5 - TypeError: undefined is not a function

I was using lowdb and underscore-db without problem until now. But method where() doesn't exist anymore in newer versions of lodash, so each time I want to use a method from underscore-db, I get the following message : TypeError: undefined is not a function.
All was working fine with underscore-db 0.8.1 and lowdb 0.8.1.
Here is my previous code :
var low = require('lowdb');   low.mixin(require('underscore-db'));   var db = low('db.json');   var users = db('users).removeWhere({id: 1});
I am now using :
var low = require('lowdb');   var db = low('db.json');   db._.mixin(require('underscore-db'));   var users = db('users).removeWhere({id: 1});

Thanks for the heads up :+1:
I'll check that.

As a workaround I'm using wr.db._.mixin({     where: function () {         return this.filter.apply(arguments);     } });

Just released v0.10.0 it should be good.


Replacing 'SetWindowLongPtrA' with 'SetParent' on windows

According to windows doc:
Do not call SetWindowLongPtr with the GWLP_HWNDPARENT index to change the parent of a child window. Instead, use the SetParent function.

There is difference between window owner and window parent. What I meant is to set the window owner. Unfortunately the SetParent method seems to not work with windows from other processes.

Thanks for the explanation. I had a wrong idea.


blazorjs.spawndev.com WebWorker demo fails on Firefox

The demo works for me on Chrome.
In Firefox, I get ReferenceError: blazorWASMScriptEl is not defined.
(Firefox 111.0.1 (64-bit) on Windows 11)

Thank you. Fixing now.

I have updated the repo, demo site, and Nuget. Thank you for the heads up. 👍

Awesome. Thanks!

Fyi: I created a small demo project, demonstrating how to use SpawnDev.BlazorJS.WebWorkers from F#, together with Bolero, a F# adaptation of Blazor. And posted it in the F# community.
Thank you for making WebWorkers for Blazor available.


nixos/shells-environment: allow int and float in environment variables

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Do we want to merge this?

Do we want to merge this?

Of course!

Just a little note, this might be a breaking change, because:
nix-repl> "${/etc/nixos}"
"/nix/store/92iarj2qa7kfalx247sqa333i995zycr-nixos"

nix-repl> toString /etc/nixos
"/etc/nixos"

See https://github.com/NixOS/nix/issues/7327

Not a fan of automatic coercions but I guess for ints the only downside is increased complexity.
We should not stringify floats, though, because it is lossy in Nix and can be pretty confusing https://github.com/NixOS/nix/issues/5733#issuecomment-1529002378

please see #308779


Add images from the Mediawiki image export

This PR adds images from the Mediawiki image export that @smallketchup82 provided me. Currently only adds ship images, other images will be added as required.

2k file diff is giving me flashbacks to linux kernel github repo

and also the winamp github repo


⚠ Turnos 24x7 has degraded performance

In af3c7e9, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 4376 ms

Resolved: Turnos 24x7 performance has improved in 08a359e.


Export script fails to generate html with component.default is not a function. Build script deletes email package.

Describe the Bug
When trying to run the export script defined within the default package.json configuration which comes from running npx create-email or yarn create email, I get the following issue (No code is altered):

Another issue arises when I try to run the build script and then all email related commands stop working:
Output of build command:
> yarn build
yarn run v1.22.19
$ email build
   ✔ Successfully preapred `.react-email` for `next build`

><EMAIL_ADDRESS>build
> next build

   ▲ Next.js 14.0.5-canary.46
   - Experiments (use at your own risk):
     · webpackBuildWorker

   Creating an optimized production build ...
 ⚠ Found lockfile missing swc dependencies, patching...
 ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
 ⚠ Lockfile was successfully patched, please run "npm install" to ensure @next/swc dependencies are downloaded
Compiler server unexpectedly exited with code: null and signal: SIGTERM
 ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
Compiler client unexpectedly exited with code: null and signal: SIGTERM
 ✓ Compiled successfully
   Skipping validation of types
   Skipping linting
   Collecting page data ...
   Generating static pages (0/9) ...
   Generating static pages (2/9)
   Generating static pages (4/9)
 ⚠ Entire page / deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /
 ⚠ Entire page /preview/[slug] deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /preview/[slug]
 ⚠ Entire page /preview/[slug] deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /preview/[slug]
   Generating static pages (6/9)
 ⚠ Entire page /preview/[slug] deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /preview/[slug]
 ⚠ Entire page /preview/[slug] deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /preview/[slug]
 ✓ Generating static pages (9/9)
   Finalizing page optimization ...
   Collecting build traces ...

Route (app)                               Size     First Load JS
┌ ○ /                                     5.63 kB         199 kB
├ ○ /_not-found                           884 B          84.7 kB
└ ● /preview/[slug]                       28.5 kB         222 kB
    ├ /preview/notion-magic-link.tsx
    ├ /preview/plaid-verify-identity.tsx
    ├ /preview/stripe-welcome.tsx
    └ /preview/vercel-invite-user.tsx
+ First Load JS shared by all             83.8 kB
  ├ chunks/618f8807-9dbebfab530e5092.js   53.3 kB
  ├ chunks/69-7d1f5e60ac26b43d.js         28.5 kB
  ├ chunks/main-app-9b33ef7db7b6d4fd.js   218 B
  └ chunks/webpack-e866d5ae4ea27257.js    1.72 kB

○  (Static)  prerendered as static content
●  (SSG)     prerendered as static HTML (uses getStaticProps)

✨  Done in 23.26s.

Then yarn dev & yarn export yield the following error:
x yarn dev
yarn run v1.22.19
$ email dev
/bin/sh: email: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Which package is affected (leave empty if unsure)
create-email, react-email
Link to the code that reproduces this issue
https://github.com/resend/react-email
To Reproduce

Pull latest react-email configuration using npx create-email@latest.
Try to run npm run export
Try to run npm run build
Try to run any email related script such as dev, build & export

Expected Behavior
npm run export should export html files.
npm run build should generate a build and not throw SIGTERM errors
What's your node version? (if relevant)
v18.17.1

Seems like all of these issues don't happen if running on canary for me.
Could you try again with npx create-email@canary?

Seems like all of these issues don't happen if running on canary for me.
Could you try again with npx create-email@canary?

Worked! Thanks a bunch!


Naming confusion with GNU AutoGen

Hello, firstly, thanks for providing this tool - it's a great little time saver! I have a slightly annoying request, though: would you consider changing the name to something that doesn't clash with GNU AutoGen?
One problem with the current name is that it's very tempting to sudo apt-get install autogen which installs the 22-year-old GNU AutoGen tool rather than your package. I've made this mistake myself and wasted some time puzzling over why none of the example autogen invocations from your docs worked. I know at least a couple of colleagues who've made the exact same mistake, so it can't just be me!
If you're not willing to change the name, can I suggest adding a note to the README warning users about this?

Hi @alimuldal — thanks for the note! Sorry for the confusion. I will look into renaming it, but will need to carefully add backwards-compatibility to make sure existing users aren't broken by it. I know some folks have hard-coded the GitHub repo path and script names, but thankfully, GitHub forwards renamed repos, so this should be feasible to do.
In the short-term, I will add a note to the README as you suggested.

Hi, thanks for the quick response - sounds like a solid plan


Padding area must always have the background color of the element

Currently, the padding area is transparent/black on some elements like layouts.

This is due to the fact that layouts do not render at all. This is not clearly documented on the layout type as it should be here.


ESLint: one more spot change

Followup to #1172 (tweak all the ESLint things!) and #1174 (much better name) we have one spot that needs re-linking.

Even when we're trying to be careful it's so easy to accidentally miss one of the 52 spots where the super-repetitive change gets made.


Fix definition for customDomainAnalysisResult

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[x] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Same with https://github.com/Azure/azure-rest-api-specs/pull/19014. We need to update it in all api version to align with server

@tadelesh - this is fixing the bug in the swagger as it does not match what the RP has been returning for those versions since the release. So this API has been broken in the existing client SDKs.

Thanks @JeffreyRichter for approving this PR. @tadelesh - can you please merge it to main?

@yuchwang-microsoft Could you please review the breaking for Python?


self.mask_token at 553 line in vision_transformer.py

Hi, i'm really impressed with your work and i'm getting a lot of help !
But, there is an error in vilt/modules/vision_transformer.py when mask_it == True.
The error occur because self.mask_token at 553 line in vision_transformer.py is not initilized.
So, i wonder what self.mask_token means?
Thanks.

Hi @hspark92,
mask_it=False is a legacy argument for the MPP (masked patch projection) objective.
I refer you to https://github.com/dandelin/ViLT/issues/18

Hi @dandelin ,
Thanks you for your reply.
It's helpful !
But i wonder why self.mask_token is trainable parameters.
if self.mask_toekn is cnostant, will it affect training ?
Thanks,

@hspark92
I set it as a trainable parameter following BERT's way of treating [MASK] tokens.
I'm not sure whether constant [MASK] tokens' embeddings affect the training or not.
But if an experiment on those fixed [MASK] tokens' embeddings exists in the NLP domain, then I believe ViLT's MPP would follow the trend.
Thanks.

I get it, thank you for answer !

Hi, i'm really impressed with your work and i'm getting a lot of help !
But, there is an error in vilt/modules/vision_transformer.py when mask_it == True. The error occur because self.mask_token at 553 line in vision_transformer.py is not initilized. So, i wonder what self.mask_token means?
Thanks.

Hi, I find the same problem as yours. The 'self.mask_token' has not been defined. So I can't run the pre-train code. How do you solve it? Thanks!