Plugin Nothing to show

pubspec.yaml
storage_inspector: 0.4.0
preferences_local_storage_inspector: 0.4.0
drift_local_storage_inspector: 0.6.0

code
final StorageServerDriver driver = StorageServerDriver(
  bundleId: 'com.example.abc',
);
final PreferencesKeyValueServer preferencesKeyValueServer = PreferencesKeyValueServer(
  await SharedPreferences.getInstance(),
  'ABC',
);
final DriftSQLDatabaseServer sqlServer = DriftSQLDatabaseServer(
  id: "1", // A 'random' id for the server, just ensure you don't use the same one in the same project
  name: "ABC", // Identification name for this database, shown in the plugin UI
  database: database, // Your drift database
);
driver.addKeyValueServer(preferencesKeyValueServer);
driver.addSQLServer(sqlServer);
await driver.start();
log('StorageServerDriver: ${driver.port.toString()}');
log('StorageServerDriver: ${driver.protocolVersion.toString()}');
ref.onDispose(() {
  driver.stop();
});

log
Debug service listening on ws://<IP_ADDRESS>:55463/SlW3zJK12dI=/ws
I/flutter (19660): Storage Inspector server running on 37391 [1a574b][paused=false][service=ws://<IP_ADDRESS>:55463/SlW3zJK12dI=/ws]
[log] StorageServerDriver: 37391
[log] StorageServerDriver: 1

Test configuration
Testing ADB
=======================================
ADB defined at path: /Users/alan.chang/Library/Android/sdk/platform-tools/adb
ADB path seems ok
Checking ADB command
Starting ADB server
Listing devices
ADB devices returns: 1 device(s)
Testing SDB
=======================================
Path to SDB not found

Testing iDevice
=======================================
iMobileDevice folder defined at path: /opt/homebrew/Cellar/libimobiledevice/1.3.0_2/bin
ideviceinfo seems ok
ERROR - iproxy file not found
idevice_id seems ok

I think code is correct, but plugin can't show it.

Can you provide more details? Are you running on an actual device, emulator? Which type, ...

Mac mini Apple M2 Pro (Sonoma 14.1.1)
Google Pixel 4 (Android 13)
Android Studio Giraffe | 2022.3.1 Patch 4

There is an additional plugin that I developed called 'Niddler' which is very similar to this one but for network requests. If you could add this to your setup, in the plugin settings in intellij/android studio it has an option under the 'Niddler > Per Project' configuration to turn on debug logging for the plugin. Since it uses the same connection mechanism, this could help us identify why this plugin is not working.
Does that sound feasible? https://pub.dev/packages/niddler_dart and https://plugins.jetbrains.com/plugin/10347-niddler

I got this.

java.net.ConnectException: Connection refused
	at java.base/sun.nio.ch.Net.connect0(Native Method)
	at java.base/sun.nio.ch.Net.connect(Unknown Source)
	at java.base/sun.nio.ch.Net.connect(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/java.net.Socket.<init>(Unknown Source)
	at java.base/java.net.Socket.<init>(Unknown Source)
	at se.vidstige.jadb.JadbConnection.createTransport(JadbConnection.java:27)
	at se.vidstige.jadb.JadbConnection.createDeviceWatcher(JadbConnection.java:62)
	at com.chimerapps.discovery.device.debugbridge.DebugBridgeInterface.createDeviceWatcher(DebugBridgeInterface.kt:35)
	at com.chimerapps.discovery.model.connectdialog.DeviceScanner.startScanning(DeviceScanner.kt:39)
	at com.chimerapps.discovery.ui.ConnectDialog.init(ConnectDialog.kt:154)
	at com.chimerapps.discovery.ui.ConnectDialog.<init>(ConnectDialog.kt:139)
	at com.chimerapps.discovery.ui.ConnectDialog$Companion.show(ConnectDialog.kt:104)
	at com.chimerapps.discovery.ui.ConnectDialog$Companion.show$default(ConnectDialog.kt:93)
	at com.chimerapps.niddler.ui.component.NiddlerSessionWindow.showConnectDialog(NiddlerSessionWindow.kt:248)
	at com.chimerapps.niddler.ui.component.NiddlerSessionWindow.access$showConnectDialog(NiddlerSessionWindow.kt:86)
	at com.chimerapps.niddler.ui.component.NiddlerSessionWindow$setupConnectToolbar$1.invoke(NiddlerSessionWindow.kt:205)
	at com.chimerapps.niddler.ui.component.NiddlerSessionWindow$setupConnectToolbar$1.invoke(NiddlerSessionWindow.kt:204)
	at com.chimerapps.niddler.ui.actions.DisableableAction.actionPerformed(DisableableAction.kt:20)
	at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:197)
	at com.intellij.openapi.actionSystem.impl.ActionButton.lambda$performAction$0(ActionButton.java:176)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:350)
	at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:176)
	at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:465)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:831)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:753)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Hmm, that seems to be caused by a third party library to connect to adb
server. I wonder if there is some new security stuff on m* macs that
prevents creating local connections
On Fri, 17 Nov 2023, 10:33 Shun Min Chang, @.***> wrote:

I got this.
[image: image]
https://user-images.githubusercontent.com/13265628/283748585-06f486fa-08fb-4caf-90f2-6655189a280f.png
java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/java.net.Socket.(Unknown Source)
at java.base/java.net.Socket.(Unknown Source)
at se.vidstige.jadb.JadbConnection.createTransport(JadbConnection.java:27)
at se.vidstige.jadb.JadbConnection.createDeviceWatcher(JadbConnection.java:62)
at com.chimerapps.discovery.device.debugbridge.DebugBridgeInterface.createDeviceWatcher(DebugBridgeInterface.kt:35)
at com.chimerapps.discovery.model.connectdialog.DeviceScanner.startScanning(DeviceScanner.kt:39)
at com.chimerapps.discovery.ui.ConnectDialog.init(ConnectDialog.kt:154)
at com.chimerapps.discovery.ui.ConnectDialog.(ConnectDialog.kt:139)
at com.chimerapps.discovery.ui.ConnectDialog$Companion.show(ConnectDialog.kt:104)
at com.chimerapps.discovery.ui.ConnectDialog$Companion.show$default(ConnectDialog.kt:93)
at com.chimerapps.niddler.ui.component.NiddlerSessionWindow.showConnectDialog(NiddlerSessionWindow.kt:248)
at com.chimerapps.niddler.ui.component.NiddlerSessionWindow.access$showConnectDialog(NiddlerSessionWindow.kt:86)
at com.chimerapps.niddler.ui.component.NiddlerSessionWindow$setupConnectToolbar$1.invoke(NiddlerSessionWindow.kt:205)
at com.chimerapps.niddler.ui.component.NiddlerSessionWindow$setupConnectToolbar$1.invoke(NiddlerSessionWindow.kt:204)
at com.chimerapps.niddler.ui.actions.DisableableAction.actionPerformed(DisableableAction.kt:20)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:197)
at com.intellij.openapi.actionSystem.impl.ActionButton.lambda$performAction$0(ActionButton.java:176)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:350)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:176)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:465)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:831)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:753)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
—
Reply to this email directly, view it on GitHub
https://github.com/NicolaVerbeeck/flutter_local_storage_inspector/issues/24#issuecomment-1816031596,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3LA3ZGMHPWWSREKMMC2A3YE4VPNAVCNFSM6AAAAAA6DH26ECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWGAZTCNJZGY
.
You are receiving this because you commented.Message ID:
<NicolaVerbeeck/flutter_local_storage_inspector/issues/24/1816031596@
github.com>

Did you turn on the debug logging option? Did it log anything to the IDE messages (bottom right)

I am not sure what you mean.
This image was from bottom right.

This is Niddler setting, do I set correct?

There should also be logs next to errors. 'Notifications' with the steps the plugin is taking to connect etc. At least that's what I hope

BTW When I clicked this URL in the log when project is running, It will lead me to Storage Inspector View and work fine.
I/flutter ( 1992): Storage Inspector server running on 42831 [439449][paused=false][service=ws://<IP_ADDRESS>:57627/txO9krHdu_s=/ws]

That's one of the reasons it is in there, to have a fallback using the built-in flutter service, which does not use the discovery mechanism employed by the dialog

Bottom right meas this?

Yes next to the error icon

I use the New UI of Android Studio.
So you need to see Notifcations?
Like this

Yes that's what I meant. But it seems like not enough information is posted :(

I can click the url to open Storage Inspector now, so this issue's prority maybe is not high.

Hi, what information that I can provide to fix this?

Are you using an m* mac?

Yes, Apple M2 Pro

There have been reports of things not working on m* mac devices. As I don't have any of those I am very limited in the way I can debug this. From what I can tell it is a security permissions thing with local socket connections

Is it possible that fork your code and let me debug it, push a MR to you?

Feel free to fork, these repositories are public

I think I need the code of Storage Inspector in the Jetbrains Plugin

You mean this public repo? https://github.com/NicolaVerbeeck/local_storage_inspector_plugin All the items you need are either in my profile's repositories or in https://github.com/Chimerapps

OK. I will try to debug it. Thank you very much.

It wroked with Android Studio Jellyfish | 2023.3.1 Patch 1


[Bug] alarm OP "=" do not support

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
I config the backend-alarm according to the doc https://skywalking.apache.org/docs/main/latest/en/setup/backend/backend-alarm/. When I use the equal "=" op in the config, I got an IllegalArgumentException "unknown op, ="
What you expected to happen
I check the code org.apache.skywalking.oap.server.core.alarm.provider.OP
public static OP get(String op) {
        switch (op) {
            case ">":
                return GREATER;
            case ">=":
                return GREATER_EQ;
            case "<":
                return LESS;
            case "<=":
                return LESS_EQ;
            case "==":
                return EQUAL;
            default:
                throw new IllegalArgumentException("unknown op, " + op);
        }
    }

And found that there are no op "=" in the switch, but "==" op exist. So the doc https://skywalking.apache.org/docs/main/latest/en/setup/backend/backend-alarm/

OP. The operator. It supports >, >=, <, <=, =. We welcome contributions of all OPs.

which is error. The alarm doc should be updated.
How to reproduce
config an alarm config including "=" op
Anything else
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Welcome to contribute.


add gitignore in doc folder for _build etc

I don't think we are building below doc/ anymore. Closing.


Travis CI?

Would you be interested in a patch to include this in travis-ci so it can run against various rubies and Rails versions?

I have a work-in-progress branch for that here:
https://github.com/KensoDev/record-cache/tree/travis
Right now travis is wired up but the build is failing on installing RCOV gem on Travis.
You can have a look at the build results here:
http://travis-ci.org/#!/KensoDev/record-cache/jobs/586898
I am trying to figure out where is this coming from.

The problem is here :  ruby-1.9.2-p290 + rcov 1.0.0 ...  I am successfully using Simplecov + simplecov-html on the same ruby platform

Thanks, I'll update the gems and push, see if this works

Maybe would be nice if you add Rails 3.2 to the test env ...

yeah, I added it, you can see it on my branch.
Right now it's testing agains both.
SimpleCov solved the issue, this and making the default rake task run the spec.
Now the build is running on Travis, currently failing on 2 examples.
When I run the suite locally, only 1 example is failing.
I am trying to figure out what the issue is.


[WebAPI] 2D Canvas, Fx 74 tasks

Trello
https://trello.com/c/N0hJJV95/129-2d-canvas-api-fx-74
Acceptance criteria

[ ] Implement extended TextMetrics object. See https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics — there is quite a bit to do here.

@Elchi3 not saying you necessarily have to do this one; but I'd like help in giving it a proper estimate. Thanks!

BCD: https://github.com/mdn/browser-compat-data/pull/5760

Updated/created docs:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/74#Canvas_and_WebGL
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxAscent
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxDescent
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxLeft
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/actualBoundingBoxRight
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/alphabeticBaseline
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/emHeightAscent
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/emHeightDescent
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/fontBoundingBoxAscent
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/fontBoundingBoxDescent
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/hangingBaseline
https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics/ideographicBaseline
review? @chrisdavidmills

@Elchi3 awesome work here, nice one!
I only had a few comments here:

Some of the descriptions are quite hard to parse. Particularly difficult was this bit, in actualBoundingBoxLeft|Right — "Is a double giving the distance parallel to the baseline from the alignment point given by...". Umm, what does that mean? It'd be nice to try to clarify this text a bit.
I think a diagram of an actual piece of text would really help, to show where these different lines sit on the text. The diagram in this section might help: https://html.spec.whatwg.org/multipage/canvas.html#text-styles
None of the child pages have a Syntax section.

Thanks @chrisdavidmills!

Yeah, the descriptions are from the main page, I'm not a font expert, so not sure how to express this better. Trying to read up on this.
Do you think we can embed this diagram for clarity? https://html.spec.whatwg.org/images/baselines.png
These are all properties. Per stumptown content types, properties have no syntax box, because (unlike methods) there is no signature to show. Do you disagree with this?

Do you think we can embed this diagram for clarity? https://html.spec.whatwg.org/images/baselines.png

Yes, that would work for me, along with a little bit of context.

These are all properties. Per stumptown content types, properties have no syntax box, because (unlike methods) there is no signature to show. Do you disagree with this?

Ah, so that's what we've agreed going forward for stumptown? I guess it works for me, as long as the value type is explained in the summary of the page, which it usually is.

Do you think we can embed this diagram for clarity? https://html.spec.whatwg.org/images/baselines.png

Yes, that would work for me, along with a little bit of context.

So, I've given this another try and added a live sample, see https://wiki.developer.mozilla.org/en-US/docs/Web/API/TextMetrics#Examples, with the goal of illustrating this like done in the spec diagram. Of course it only fully works in browsers that support the TextMetrics API or have the respective flags enabled.

Ah, so that's what we've agreed going forward for stumptown? I guess it works for me, as long as the value type is explained in the summary of the page, which it usually is.

Yup. I think it is a good change. I never fully saw the point of syntax boxes for properties.

@Elchi3 live example looks good; illustrates what the lines mean nicely. It's a shame so few of them are supported right now ;-)

Particularly difficult was this bit, in actualBoundingBoxLeft|Right — "Is a double giving the distance parallel to the baseline from the alignment point given by...". Umm, what does that mean? It'd be nice to try to clarify this text a bit.

So, I now get why these two properties exist and I have added example that shows the usefulness of these two: https://wiki.developer.mozilla.org/en-US/docs/Web/API/TextMetrics#Measuring_text_width
I struggle with finding a better description for this though as I don't want to risk writing something wrong there. (I think the current descriptions are close to the spec, so they are very precise). Do you have a suggestion? Or should we leave this as is for now?

So, I now get why these two properties exist and I have added example that shows the usefulness of these two: https://wiki.developer.mozilla.org/en-US/docs/Web/API/TextMetrics#Measuring_text_width

Cool, this is really useful, thanks! I've added a bit to the example's description to say clearly why this is useful; does it lookOK to you?

I struggle with finding a better description for this though as I don't want to risk writing something wrong there. (I think the current descriptions are close to the spec, so they are very precise). Do you have a suggestion? Or should we leave this as is for now?

I have had a go at rewriting the sentence slightly so that it makes more sense. The information is the same, but I've just broken it out into a couple of sentences so that it isn't as hard to parse. WDYT?

Thank Chris, I think both looks good now! :)
Lets call this done :tada:


Add clap comments, add additional derives to bindings

A quick fix to add a bunch of derives to the Rust bindings. More work to expose as a flag to the CLI.
Also work to do to add wit-bindgen as a dependency if not there already.

@karthik2804 FYI - mainly to show what I had to do to make this example work: https://github.com/mikkelhegn/spin-component-examples/tree/spin-components/spin-app-import/spin-app-dependencies

I assume the Todos will be handled in a separate PR? or is that still a WIP?

Feel free to take it as-is.

@karthik2804 I don't have merge rights, so it's up to you :-)


Ping Failed

Hello everybody,
I work with Mininet simulator, when I wrote my own topology or when I add some device at basic topology (sudo mn) I have a problem in ping.
Thank you

This is almost certainly not a mininet bug - closing.


Cocoapods uses tag 0.10 instead of master

Hi Craig,
you fixed "Silencing warnings by changing M_PI to .pi" on your master, but in the podspecs you are telling to use tag 0.10. Could you maybe update the file?
Thx! :)

Thanks @janwagner, podspec should be updated now.

great! thank you very much


Upgrade to kubernetes 1.25

Details
Describe the solution you'd like:

Upgrade to kubernetes 1.25+
Anything else you would like to add:

Check for any remaining PSPs
Migrate to PSA if needed
Ensure Calico/Tigera Operator is compatible projectcalico/calico #4570
Metallb Version needs to be compatible metallb/metallb #1401. This may require upgrading metallb to v13 https://metallb.universe.tf/#backward-compatibility
Additional Information:

Upgraded to metallb 0.13.7 which is >= 13.5+ and should have support for 1.25

MetalLB Upgrade complete. Needed to iron out typos and a weird instance of it not respecting loadBalancerIPs without an annotation.
Inconveniently, the mess-up was for k8s-gateway. This resulted in internal split horizon broken but external working

Next step: Dry run ansible playbook. Verify no PSPs

Using system-upgrade-controller to update


realesrgan-x4plus model mixes image parts order when use -s

It happens with portable version on windows and linux.
Example of commands I run:
./realesrgan-ncnn-vulkan.exe -i alita.jpg -o output.jpg -n realesrgan-x4plus -s 2 ( doesn't work well)
./realesrgan-ncnn-vulkan.exe -i alita.jpg -o output.jpg -n realesrgan-x4plus (works well)

When will people learn to read... It is called x4 for a reason.
If you want to use an x4 model as an x2 model, you'll have to edit it. It is quite simple to do.

I read the instructions quite carefully. The thing is that - it confuses me (and other people as well) a bit. We have this parameter
-s scale             upscale ratio (can be 2, 3, 4. default=4)
And it doesn't warn you if you run the wrong model.

If you want to use an x4 model as an x2 model, you'll have to edit it. It is quite simple to do.
Is there an instruction on how to edit it? I found X2 model here https://github.com/xinntao/Real-ESRGAN/blob/master/docs/model_zoo.md but it's in .pth format and should be converted into ncnn (which is quite tricky to do).

I read the instructions quite carefully. The thing is that - it confuses me (and other people as well) a bit. We have this parameter -s scale upscale ratio (can be 2, 3, 4. default=4) And it doesn't warn you if you run the wrong model.

That parameter is meant for the animevideo model.

Is there an instruction on how to edit it?

You'll have to make a copy of the realesrgan-x4plus.bin and realesrgan-x4plus.param, name them something like realesrgan-x2plus
then edit the .param file. Open it in notepad++, at the bottom there's a "Resize_1181"
Which has these values: 1 1 1885 1890 0=1 1=2.000000e+00 2=2.000000e+00
Both of the "2.000000e+00" need to be replaced with 1.000000e+00
Then when you use it, you simply just do like this:
./realesrgan-ncnn-vulkan.exe -i alita.jpg -o output.jpg -n realesrgan-x2plus -s 2
Keep in mind that it'll still take just as long to upscale as it would 4x and uses just as much VRAM.
But it atleast saves you the trouble of downscaling afterwards.

If you want that, let me know.

@TechnoMasterBoy I have just tested the changes in realesrgan-x4plus.param that you recommended. Everything works perfectly! Really thank you a lot for your help! Maybe it is worth adding this short instruction to the documentation. It will cover a lot of questions.
I have a question regarding RealESRGAN_x2plus Does this model work the same way as X4 (in context of time and resources)? Is it a completely different model that is optimized for X2  (works much faster than X4)?

In the documentation, I found information that I can do bulk upscale. To do that I need to feed a folder path instead of a single file. I have also tested it and it works just perfectly :) Thanks again.

I have a question regarding RealESRGAN_x2plus Does this model work the same way as X4 (in context of time and resources)? Is it a completely different model that is optimized for X2 (works much faster than X4)?

I am not sure about the python model of the x2plus as I haven't tested it. Generally I stay away from python as it's significantly slower.

Got it. I'm closing this issue because you helped to solve it. Thanks a lot for your help!

Hello, @TechnoMasterBoy. I've tried your x2 model. The result is as expected. But you mentioned that it takes the same amount of time and resources as x4. Can anything be done about this? If not, how can I obtain a true x2 model?


WIP - UNR-2287 Server travel

UNR-2289, UNR-2290 and UNR-2291 are done
UNR-2288 and UNR 2292 are not done
There's some issues with this branch.
During server travelling clients attempt to use an out of date netdriver ( SetActiveLevelCollection attempted to use an out of date NetDriver: GameNetDriver)
The GSM never starts accepting players again

Description
Describe your changes here.
Release note
REQUIRED: Add a release note to the ##Unreleased section of CHANGELOG.md. You can find guidance for writing useful release notes here. Documentation changes are exempt from this requirement.
Tests/QA

Open up example project.
Add a method of calling server RPC to server travel (something like the nodes below).

Click the drop-down on the the play button, click "Advanced Settings". Under "Level Editor/Play/Miltiplayer Options" disable "Use Single Process". Then set the "Editor Multiplayer Mode"
to "Play As Client".
Run the client and server by pressing the play button.
Trigger the serve travel.

Expected: The client should stay on the currant world for a few moments unable to move. The next map will then be loaded and the lobby screen should be presented.
Documentation
How is this documented (for example: release note, upgrade guide, feature page, in-code documentation)?
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

UNR-2288 and UNR 2292 are now done.
"SetActiveLevelCollection attempted to use an out of date NetDriver: GameNetDriver" spam is still there on the client, Sahil seems to think this is fine.
Edited the testing section of the PR.
Will add release notes.


hackpad-aditya

Ready to make a PR? Great! Make sure your directory structure looks like this:
├── CAD
│   ├── case.stl
│   └── plate.dxf
├── firmware
│   └── rp2040.bin
└── PCB
├── macropad.pro
└── macropad.sch
(The file names do not matter, just the folders)

I have just made that change. Thank you!

I approve #85


feat: pickup API

Issue: https://github.com/ripe-tech/peri-shipping/issues/33

@joao-conde please update the readme with the new config values and the changelog


Override button group style and apply custom styles to individual buttons in the button group?

I have a button group consisting of several radio buttons and toggle buttons. I've set custom styles for these buttons. When I run the application the custom styles are not applied to the buttons but the button group's style is applied to the buttons. I understand that its obvious that the button group style will be applied to the containing buttons. But is there a way to override the button group style and apply custom styles to individual buttons in the button group?

of course you can, just set ItemContainerStyleSelector property of ButtonGroup


[Development] Documentation for local debugging using dlv

Objective
Document how to use the dlv debugger in LocalNet.
Origin Document
The LocalNet CLI and logging are useful, but we need to be able to step through the code in unit tests and in a dev environment
Goals

[ ] Anyone who spins up a V1 LocalNet should be able to easily use the debugger, regardless of whether they have experience with it in the past
[ ] Support vscode and Goland as a first iteration

Deliverables

[ ] Documentation on how to use the dlv debugger using vscode
[ ] Documentation on how to use the dlv debugger using Goland
[ ] A gif or video with an example of how the debugger works
[ ] Modifications to the supporting tooling (config files, docker-compose files, etc if necessary)

Non-goals / Non-deliverables

Modifying the core protocol implementation
Enabling debugging in DevNet
Introducing any new telemetry to the codebase

General issue deliverables

[ ] Update the appropriate CHANGELOG
[ ] Update any relevant READMEs (local and/or global)
[ ] Update any relevant global documentation & references
[ ] If applicable, update the source code tree explanation
[ ] If applicable, add or update a state, sequence or flowchart diagram using mermaid

[Optional] Testing Methodology

LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md

Creator: @Olshansk
Co-Owners: @andrewnguyen22

Copy pasting an idea from @bryanchriswhite to be documented in the docs in the future.

If anyone else finds themselves debugging a  flickering / flaky test, may I recommend this guide which blew my mind: 🤯 http://choly.ca/post/debugging-go-with-rr/

TLDR; `go test -c ... + rr + dlv`:
1. go test -c ... builds a test binary which can be run by another program or script
2. rr runs in a loop (with the test) until produces a failure once.
3. The captured execution trace can then be replayed deterministically and debugged with dlv. 🤙

@red-0ne Are you down to take on this ticket?

Yes, dlv in unit tests are already working and helpful, would love to document it and take a look at the LocalNet scenario :+1:


added volume and seek methods for user

https://developer.spotify.com/web-api/console/put-volume/
https://developer.spotify.com/web-api/console/put-seek/

@JMPerez @thelinmichael Could you please approve this PR? I'd really like to use this functionality in a project I'm currently working on!

Ditto on this for me, would be great to get this in the codebase.

Hey, just wanted to bump this.  Any chance this could get added?

Hey, could someone add this? Thanks :)

A hacky way of adding seek for now until they merge:
For some reason Object.defineProperty doesn't work for me so I'd have to import WebApiRequest!
const SpotifyWebApi = require('spotify-web-api-node'),
      AuthenticationRequest = require('../node_modules/spotify-web-api-node/src/authentication-request'),
      WebApiRequest = require('../node_modules/spotify-web-api-node/src/webapi-request'),
      HttpManager = require('../node_modules/spotify-web-api-node/src/http-manager');

SpotifyWebApi.prototype["seek"] = function(position, callback) {
    const request = WebApiRequest.builder()
        .withPath('/v1/me/player/seek')
        .withHeaders({ 'Content-Type' : 'application/json' })
        .withQueryParameters({
            'position_ms': Math.floor(position)
        })
        .build();

    this._addAccessToken(request, this.getAccessToken());

    const promise = this._performRequest(HttpManager.put, request);

    if (callback) {
        return promise.then((data) => {
            callback(null, data);
        }, (err) => {
            callback(err);
        });
    }

    return promise;
};

@thelinmichael @JMPerez just wanted to bump in the new year.

+1 please merge!

That being said, it definitely needs an update, it's pretty out of date from the current version of the repo.

Hey, any word on movement on this one? It looks like valid code to me? Anything I can do to help out?

@robhuzzey @dado3212  @kensykora I've just raised https://github.com/thelinmichael/spotify-web-api-node/pull/197/files which contains the requested device_id option.

I'm closing this PR. I have decided to create a PR combining the contributions from several pending PRs that tried to include the functionality but were either missing functionality (eg optional parameters) or tests.
Thank you very much for your contribution and we¡ll try to provide feedback and act on this earlier next time.


Alamofire 5.0.0-rc.3

Alamofire release notes: https://github.com/Alamofire/Alamofire/releases/tag/5.0.0-rc.3
Nothing has to be changed in the code this time, just bumping the specs.

Messages

:book:
iOS: 	 Executed 282 tests, with 0 failures (0 unexpected) in 12.717 (12.981) seconds

:book:
tvOS: 	 Executed 282 tests, with 0 failures (0 unexpected) in 13.027 (13.228) seconds

:book:
macOS: 	 Executed 282 tests, with 0 failures (0 unexpected) in 12.796 (12.956) seconds

  Generated by :no_entry_sign: Danger Swift against 24d3e75f753b973c7b596d9104bfc6fb7fbdea31

Codecov Report

:exclamation: No coverage uploaded for pull request base (development@088cf56). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             development    #1944   +/-   ##
==============================================
  Coverage               ?   93.96%
==============================================
  Files                  ?       26
  Lines                  ?      944
  Branches               ?        0
==============================================
  Hits                   ?      887
  Misses                 ?       57
  Partials               ?        0

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 088cf56...24d3e75. Read the comment docs.


[MRG] DOC: Add dates to versions in changelog, add entry for version 0.1

closes #9439
Next to adding the dates for released versions, I propose to also add a 0.1.inc file that documents the first release.
I generated the author list for that version using git shortlog d0b2b37c84572114727ae03804d29d8238c4037f..2e624ce85127f7d94991b6738294d5a8a8f2554b --summary
which is the initial commit up to the 0.1 version bump commit
It's nice for consistency, and to have a nice overview of when the project was started.

PS: I updated the release protocol in the wiki:
The newly changed line now reads:

Change "Current" to "Version 0.20 (YYYY-MM-DD)", replacing YYYY-MM-DD with the release date, and change .. _current:: to .. _changes_0_20_0:.

maybe I felt I had to be as generous as Santa this year :)

thanks @sappelhoff!


Shibboleth + LDAP error when searching users and groups upon upgrading Rancher

Describe the bug
Previously there was an issue found that LDAP user/group searches were not working due to a typo on secret name, which is case-sensitive. On a fresh-install this works, but when upgrading Rancher from a previous version with Shibboleth enabled, the secret is still in camelCase and the error persists.
Original issue linked below:
Original issue

Result
Upon upgrading Rancher with Shibboleth enabled, LDAP user/group searches will not work.
Expected Result
LDAP user/group searches work after upgrading a Rancher instance with Shibboleth enabled.

Closing this issue as the original issueis going to stay open and solve this upgrade case.


YIVY-12783 push all commands and views to extension context

ensures that our extension is properly deactivated

Looks good 👍 . What 'properly deactivated'?

commands, views etc are disposables. vscode will dispose all stuff that is subscribed when a given extension is deactivated or uninstalled.


Limit number of concurrent downloads

That basically makes downloads a priority queue, should be able to move up/down & pause individually.

That means somehow install-store will have to keep track of what tasks are currently going on for every install (that's its job after all), to avoid ugliness like this

(Woops, didn't mean to close that)

Blocked by #40


When a ControlValueAccessor binds to another ControlValueAccessor the initial value gets wiped

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other (Please do not submit support requests here (see above))

Current behavior:

When I have  two components implementing ControlValueAccessor and one of them binds it's value to the other the inner one gets undefined instead of the right value in the writeValue method. This value is then chained back up clearing the original data you were binding to. Hopefully this plunkr will be useful:
https://plnkr.co/edit/ynlJ7fBykSGDiGdMxnd0?p=preview in demostrating the problem. In the plunkr, the problem is that the original 'green' value of thingie is wiped. After the original start up, the bindings work correctly and all the buttons function as expected.
The motivation for this pattern was that we created a custom dropdown that you could bind data to. We also had the notion of a "job dropdown" that had specific behavior. We wanted to use the job-dropdown in multiple places and bind it to data. So the job dropdown bound its value to the dropdown, revealing this bug.
Expected / new behavior:

I expect that my data would not be wiped out by this form of binding.
Minimal reproduction of the problem with instructions:

https://plnkr.co/edit/ynlJ7fBykSGDiGdMxnd0?p=preview
Angular version:  Checked on 4.1.1 and 4.2.5

Browser: Checked on Firefox and Chrome

Anything else:

Hi, your issue sounds like an issue for Angular 2. Please open in the Angular 2 repository. This repo is only for AngularJS.


Add Pictory-AI

Description
This PR adds Pictory AI to the Video Generator
Checklist
Before submitting this pull request, please ensure that you have done the following:

[x]  Read and understood the Contributing Guidelines.
[x]  Checked that your changes align with the repository's goals and content.
[x]  The submission is not already present in the list

Related Issues
If this pull request resolves or is related to any issues, please mention them here using the following format: "Fixes #123" or "Relates to #456."
Additional Notes (if applicable)
Add any additional information or context that may be relevant to this pull request.

By submitting this pull request, you confirm that you have read and agree to abide by the Code of Conduct and the Contributing Guidelines of the AI Tools Collective project.

Thanks


Listening Owl Carousel 2 Events

How to listen to Owl Carousel 2 Events?
I have tried something like this:
ngAfterViewInit() {
  const owl = $(this._elementRef.nativeElement).find('owl-carousel-child').data('owl.carousel');
  owl.on('onResize, onResized, onInitialize, onInitialized, onChange, onChanged, onDrag', console.log);
}

But nothing triggered

Instead of listening to Owl Carousel events you can pass the callback in options input.

@mujtaba01 Could you provide an example, please?
I tried to catch the "changed" event with no luck:
owlOptions = {
  changed: callbackFunction
}

Thank you.

Thank you! it works.


Guard against infinite redirect loop

Recently we encountered a situation where, due to a misconfigured server, a request to a robots.txt file resulted in an infinite redirect loop between the http and https protocols. This PR adds a guard for these kinds of situations. I followed Google's specification in deciding how to deal with this:

Redirects will generally be followed until a valid result can be found (or a loop is recognized). We will follow a limited number of redirect hops (RFC 1945 for HTTP/1.0 allows up to 5 hops) and then stop and treat it as a 404.

Great! Thanks!

Happy to contribute 😄. Would it be possible for you to publish a new release which contains this patch anytime soon? Thanks!

Sure. Already done:

https://github.com/ekalinin/robots.js/releases/tag/0.9.5

Alwesome, thanks!


how to disable log output?

i seen one issue that suggested add a properties file, but it did not work

try LogManager.getRootLogger().setLevel(Level.OFF);
you can also set the logging level to ERROR, WARN, or something similar

I would like to save the log output to file.
1 )LogManager.getLogManager().loggerNames returned 2 loggers "global" and "". I made file handlers for then and the output was only my custom logs, not the instagram4j logs.

LogManager does not have getRootLogger() method

I have managed to turn off logger in such a way:
   org.apache.log4j.Logger.getLogger(Instagram4j::class.java).level = org.apache.log4j.Level.OFF     org.apache.log4j.Logger.getLogger(StatusResult::class.java).level = org.apache.log4j.Level.OFF     org.apache.log4j.Logger.getLogger(InstagramSyncFeaturesResult::class.java).level = org.apache.log4j.Level.OFF     org.apache.log4j.Logger.getLogger(InstagramLoginResult::class.java).level = org.apache.log4j.Level.OFF     org.apache.log4j.Logger.getLogger(InstagramInboxResult::class.java).level = org.apache.log4j.Level.OFF     org.apache.log4j.Logger.getLogger(InstagramSearchUsernameResult::class.java).level = org.apache.log4j.Level.OFF     org.apache.log4j.Logger.getLogger(InstagramRequest::class.java).level = org.apache.log4j.Level.OFF

this worked instead for me:
     org.apache.log4j.Logger.getLogger("org.brunocvcunha").setLevel(Level.OFF);       org.apache.log4j.Logger.getLogger("org.brunocvcunha.instagram4j").setLevel(Level.OFF);
Hope helps someone.

Addressed in rewrite or no longer relevant.


WFCORE-6865 DefaultResourceAddDescriptionProvider omits the stability of the operation from its generated description

https://issues.redhat.com/browse/WFCORE-6865

Thanks @pferraro


All Datagrids have a blank column on the right

Bug description
The Datagrid component includes a blank column on the right for some reason. This doesn't allow our columns to cover the full width of the component for a seamless look.
Steps to reproduce
How do we reproduce the error you described above: (ex. below)

This can be viewed in any Datagrid story in Storybook
Can also be viewed in any Codesandbox with Datagrid. Example from the docs: https://codesandbox.io/s/github/carbon-design-system/ibm-products/tree/main_v1/examples/carbon-for-ibm-products/Datagrid

URL/Link of Page
https://carbon-for-ibm-products.netlify.app/?path=/story/ibm-products-components-datagrid-datagrid-canary--basic-usage
https://codesandbox.io/s/github/carbon-design-system/ibm-products/tree/main_v1/examples/carbon-for-ibm-products/Datagrid
Expected behavior
There shouldn't be an empty column, the users' columns should be all the component creates.
Viewing Platform:

OS: macOS
Browser: Chrome
Version: storybook v2.7.0

Screenshots
https://media.github.ibm.com/user/340510/files/12c37511-8366-4246-8b4d-a5361b48eaeb

This extra column was initially added to create a bit extra buffer so the actual last column could be resized since the resizer placement is on the right of the column you are resizing. I'll look into if we might be able to decrease the size of the empty column or even better if we might be able to remove it entirely.

Hey @lily-peng, just reaching back out regarding the extra/spacer column, the purpose is to provide an affordance to resize the last column. For example, if the table spans the full width of the page, the edge of the last column is so close to the edge of the window and can prevent proper resizing on that column.

@lily-peng We could potentially investigate a way to turn off resizable columns and remove the extra column without the plugin, but think if we have resizable columns enabled, this is helps with ease of use.

Even though to help the resizable columns, I don't think we should have that big empty column. The column takes way to much space. It is worse with row actions

This issue still exists in the latest version of IBM products (2.37.0). Any timiline on fixing this

Thanks for the update @marinamas. I'll que it up for the next sprint.

Will this require a code change to get the fix for, once it makes it off the backlog? Or will things just be 'right' then? I'm also impacted by this and need to know if I have to set myself a reminder 🙂

@lily-peng @SeonyuK @marinamas @Emily1799 i have a draft PR to demonstrate what the table would look like without the spacer column. can y'all take a look and provide feedback? thanks
storybook preview

Yeah this looks much better

And this fix would work with resizable columns turned off as well? There doesn't seem to be an example of that in Storybook. If so, then this looks much better, yeah.

which version will these changes be available?


Connection keeps getting lost on packaged version of the program

Hi Rui,
I have been using Electron-CGI in my development of a windows desktop application with a C# backend. Throughout development and when debugging, everything seems to be working correctly. However, when I package the application and run the .exe version of the program, the connection to Electron-CGI is repeatedly lost on startup. Do you have any suggestions on how I can approach this issue?
I have tried different packaging methods, using Electron-Forge and electron-packager.
Any help would be much appreciated, thank you!

Resolved the issue by changing the directory path for the release build in the following line:
connection = new ConnectionBuilder().connectTo('dotnet', 'run', '--project', '[CHANGE PATH HERE]').build();


ts sdks: avoid generating build in root dir

also update build config for new structure

Hm, I think we should still keep most compiler options in a common tsconfig.options.json. We probably just need to keep the outDir defined within each project.

Hm, I think we should still keep most compiler options in a common tsconfig.options.json. We probably just need to keep the outDir defined within each project.

good point, done!


add a min node version to package.json and .nvmrc

Added a min node version to help people understand what version of node to use in the package.json
added that version to the .nvmrc - this one you might have opinions about - let me know what you want to target.

Merged with some tweaks, thanks!


Combined data

Can you make a plot that has both sets of data on one graph? The froyen vs Mueller and the aflow vs Mueller?
Ok if I share the plot with Tim?

Yeah I can make the plot. You can share it with whomever you like, that's part of why I put it up here.

I don't see the plot...

Sorry. Had a formatting issue with the plot lost night. It's there now.

Great. Can you write a little blurb describing the plot and how the data
was generated? Then I'll send to Tim.
On Tue, May 31, 2016 at 9:21 AM, Wiley Morgan<EMAIL_ADDRESS>wrote:

Sorry. Had a formatting issue with the plot lost night. It's there now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wsmorgan/kpointTests/issues/1#issuecomment-222722790,
or mute the thread
https://github.com/notifications/unsubscribe/AHdGmM3Q3yjhYvR-n0fNvo8HYp0qI9vHks5qHFHhgaJpZM4IojGz
.

--
Gus Hart
http://msg.byu.edu

Added a two page pdf that describes how the data was generated and an overview of the plot. It can be found in the plots folder as description.pdf.

For the W and V data, did you still use fcc supercells? Or did you use the actual ground state for the starting point in the enumeration?

Actually, I guess none of them are fcc. Co is hcp, the other two are bcc. In any case, I'm just trying to make sure that they aren't additional things that need to be considered before reporting to Tim.

I had them all start with an fcc cell. In all the CONTCARs I looked at after the runs the W and V had relaxed to BCC, I couldn't tell by looking at them if Co had gone HCP but it was definitely still close packed.

Now that I have the data for Ti, W, and Al up is there any utility in keeping the Co, and V data?

Removed the Co and V data.


[Minor][DOC] Add python CountVectorizerExample

What changes were proposed in this pull request?
Add python CountVectorizerExample
How was this patch tested?
manual tests

Test build #53933 has started for PR 11917 at commit bb74882.

Test build #53933 has finished for PR 11917 at commit bb74882.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53933/
Test PASSed.

cc @jkbradley

cc  @holdenk Could you please take a look?

I can take a look

Looks good, with just a few comments

@jkbradley Thanks for your comments!

Test build #55710 has started for PR 11917 at commit 270977c.

Test build #55710 has finished for PR 11917 at commit 270977c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55710/
Test PASSed.

LGTM
Merging with master
Thanks!


Create core.async timer functionality

We need to be able to run functions periodically, every given interval. This will be used initially to support health checks of running services/processes.
Dev tasks:

[x] Investigate core.async examples of this
[x] Implement best fit for our needs
[x] Parameterize appropriately for use by components

Done.


Web UI cannot handle numbers larger than Number.MAX_SAFE_INTEGER in JSON files

If I try to create a JSON file, where a field has the value<PHONE_NUMBER>854775807 (Long.MAX_VALUE), the UI displays it as<PHONE_NUMBER>854776000.
Editing the file to replace this value with the original number displays the error You did not change anything when trying to save it. If I try to update the value with Long.MAX_VALUE - 1, the value is updated correctly (verified by looking at the API response), but the UI still displays<PHONE_NUMBER>854776000.
It seems like this is caused by the value using JavaScript's Number instead of BigInt. I'm not sure this is a problem with the Central Dogma UI or some library it's using.
You can reproduce it by creating a file with the following contents:
{
  "test":<PHONE_NUMBER>854775807
}

YAML files are unaffected:
test:<PHONE_NUMBER>854775807

Interestingly, Firefox itself has the same issue when rendering fields in JSON responses:

It seems like BigInt is not commonly supported (even Axios parses bit integers in API responses incorrectly), so this could be difficult to solve properly.
References:

https://itstalwar15.medium.com/handling-bigint-in-axios-using-json-big-in-javascript-d915ae85ffc0
https://jaello-world.hashnode.dev/handle-bigint-data-on-javascript

Let me check BigInt problem in the new webapp and fix the issue there if the new webapp can't handle big nubmers.


Missing to collecting other sources from project

Now (from Visual Studio Code):

Expected (from Visual Studio 2022):

Duplicate of bug https://github.com/adrian-pavel/visual-nuget/issues/27


Compile publicly available Canton S genomic data

Several strains of Canton-S have been sequenced and deposited in SRA that we can add to our dataset to address genomic diversity among Canton-S lines.

The Hawley lab have just posted another version of an isogenized version of Canton-S: http://www.ncbi.nlm.nih.gov/sra/SRX1041078

Eisent lab CS data are now in SRA: http://www.ncbi.nlm.nih.gov/sra/?term=SRP061802


New .md file structure

What
See discussion in #940 and #930
A new file structure that is recommended for .md files in GitHub repos (e.g. Just The Docs)
How

changed file name paths
updated internal link paths

extra bug fixes

Scope

[x] significant change to core configuration
[ ] independent bonus guide
[ ] simple bug fix

Test & maintenance
There is a need for a thorough review of the navigation, left menu bar, and also identifying dead links.

I like the idea to organize the different sections in different directories, but I'm not a fan of putting the whole guide in a generic /docs folder. This is a very standard folder name commonly used with software projects that have some documentation attached to them as an afterthought. But for the RaspiBolt, the documentation is the whole project.
Looking at the current folder structure, I realized that we don't really need the /raspibolt directory. Using this could be an option for me. Or we could even use a more explicit name, like /raspibolt-guide.
WDYT?

This could be an unpopular take here but... as much as I agree with the fact that this is a documentation project... I tend to avoid as much as possible having root folders packed with files and folders with different use cases.

I like the idea to organize the different sections in different directories, but I'm not a fan of putting the whole guide in a generic /docs folder. This is a very standard folder name commonly used with software projects that have some documentation attached to them as an afterthought. But for the RaspiBolt, the documentation is the whole project.
Looking at the current folder structure, I realized that we don't really need the /raspibolt directory. Using this could be an option for me. Or we could even use a more explicit name, like /raspibolt-guide.
WDYT?

I don't know enough about the open-source world best practices to have a valuable opinion here... but your suggestion of replacing /docs by /raspibolt-guide sounds good as well. I don't have a strong opinion here tbh.

This could be an unpopular take here but... as much as I agree with the fact that this is a documentation project... I tend to avoid as much as possible having root folders packed with files and folders with different use cases.

What do you mean by "with different use cases"? I'm not sure I understand what you mean in the context of the new proposed file structure and question over the name of the /docs folder.. What'd be your favourite option(s)?

/raspibolt-guide seems a tad longer that it has to be... IMO guide would be enough if doc is a controversial choice.

/raspibolt-guide seems a tad longer that it has to be... IMO guide would be enough if doc is a controversial choice.

I like guide, it's a nice compromise as it's short and neat while still keeping a lot of meaning in term of what it contains... I'll wait for @Stadicus to confirm his preferred choice before amending the PR.
I assume I can also safely delete the /raspibolt folder and what it contains (a README.md duplicate), correct?

I assume I can also safely delete the /raspibolt folder and what it contains (a README.md duplicate), correct?

I tend to agree with this statement

As far as images are concerned, I have a proposition....
Since folders will tend to be less crowdy than the current structure in root... I suggest we directly put images in the same directory as their .md file. In short, I'd nuke the /images folder...
That's based on my programmer background. I like having js and css files as near as possible to their html file when it's the sole user of it. Seems fitting to do the same here with docs and images...
Would not make sense in the current context, but since we're creating a cleaner directory structure, that's what I'd do.

Would make sense to keep images in their own folder if they were intended to be reused between docs. Probably is the case for some of them, but I suspect that most image only have one purpose... wonder why sending them farther than they need to be.

I suggest we directly put images in the same directory as their .md file.

Not sure about this. I can understand it in a programming context, but I'd rather keep the /guide folder optimized to be read by humans. The new document structure will look very neat. Now imagine putting a dozen images in the same folder...

I thought about putting ./img/ folders either in the /guide folder (so that it's like a www root) or into the individual folders. But with what goal? I find the single image repository in /images a pretty pragmatic solution.

I thought about putting ./img/ folders either in the /guide folder (so that it's like a www root) or into the individual folders. But with what goal?

Putting the images folder inside /guide would shorten the image links inside the .md files (i.e. removing one level of ../)... so we would gain a bit of readability and less chance of typing wrong links maybe, but then again, it's a lot of work for a minor gain.
I'll go with whatever you decide guys! But I'll wait until a decision has been made to do all the fixes at once!

I'll go with whatever you decide guys

I personally would leave the /image repository. If you view the MD files rendered, the images are shown. If you read the raw MD text, that's what the alternative text description would be for. To shorten the image URL, we could also use absolute links like /images/... instead of relative paths.

I just moved all MD files to the /guide folder, I think that's a huge pain in the web interface. Let me know if I should do some additional batch moving/renaming, I'm happy to assist.

I just moved all MD files to the /guide folder, I think that's a huge pain in the web interface. Let me know if I should do some additional batch moving/renaming, I'm happy to assist.

You just saved me an hour of work, thank you! Yes, in the web interface it has to be done one file at a time. Reminds me to move to desktop editing and git!

FYI: I'm currently wrestling with the include_metatags.md, as this gives a Jekyll error when publishing to Github Pages.

I tried to replace all relative image links (e.g. ../../../image/whatever.png) with an absolute link. If we want to keep the /images folder, this would make the overall linking much more robust.
The problem is that when you fork the repository and publish to your own GitHub Pages site, the whole thing is put in a sub-folder, e.g. https://stadicus.github.io/raspibolt-dev/ And that means, that an absolute path starting from the root folder does not work... not sure how to solve that. Just FYI.

The current state is now published to https://stadicus.github.io/raspibolt-dev/, which can be used to run it against broken link checkers.

I fixed all broken links and added back two missing images in old the "EPS" bonus guide (probably deleted by mistake). This PR is published here, PTAL
https://stadicus.github.io/raspibolt-dev/

I fixed all broken links and added back two missing images in old the "EPS" bonus guide (probably deleted by mistake). This PR is published here, PTAL https://stadicus.github.io/raspibolt-dev/

Looking great, LGTM.
Shall we merge this branch into the generic-names branch and take it from there for the final checks before merging into master?


Acquistion with large number of events (millions) hangs when started

Hi all,
Thanks for all of the help getting the stage scanning going. We are trying to setup a stress test right now for what is a normal sized scan for us.
The acquisition is ~6 million 2048x256 images across various stage positions and lasers. When we try to run the acquistion, the CPU usage for Micromanager goes to 100% and everything stalls out. We have the display=False flag set for the Acquisition.
Is there something we should do differently to execute this large of an acquistion? If we have less events, the acquisition will start. We haven't exhaustively tested where it hangs yet.

I bet this is the acquisition continuing to process events for a really long time and not being able to combine them into sequences. If so, that would suggest that if you left it for a while, it would eventually get through them all and start running.
It would be instructive to know what is causing the delay for so many events.  Is it possible you could set up the development environment on the Java side and run the acquisition engine from source? It is likely there is a delay somewhere in this function and figuring out where would enable finding a solution

We upped the RAM allocated to ImageJ, lengthed the timeout of the camera waiting for the initial trigger to a few minutes, and set display=True. The acquisition does eventually start.
The acquistion seems to work at 10 ms exposure time, but not if we use a 5 ms exposure time.
For 5 ms, the acquisition starts but then images stopped being acquired after only a few thousand frames. The 10 ms acquistion has now been running since last night
It isn't an SSD issue, as we are at less than half the write speed of the SSD array.

Accidentally hit close.

I'll see if one of the group members can setup the Java environment. Java and java environments are not something I'm familiar with and unfortunately don't have time to dive into.

The acquistion seems to work at 10 ms exposure time, but not if we use a 5 ms exposure time.

Maybe images cant be pulled from circular buffer fast enough? If you lok at plugins -- developer tools --sequence buffer monitor, you can see if images are getting stuck in the C++ core or making it into java layer

For 5 ms, the acquisition starts but then images stopped being shown and added to the acquisition after only a few thousand frames. The 10 ms acquistion has now been running since last night.

Strange. Anything suspicious in core log?

I'll see if one of the group members can setup the Java environment. Java and java environments are not something I'm familiar with and unfortunately don't have time to dive into.

Okay sounds good. If you cant find anything I can remote control and take a look, but I won't have time to do this for a week or two

Maybe images cant be pulled from circular buffer fast enough? If you lok at plugins -- developer tools --sequence buffer monitor, you can see if images are getting stuck in the C++ core or making it into java layer

It didn't appear so last time we checked. We will check again once this current large acquisition is finished.
We are using 12-bit images, I wonder if we are seeing something related to this: https://forum.image.sc/t/fast-time-series-acquisition-for-10gige-camera/
We can successfully with 5 ms exposures, 12-bit readout, and 2048x256 ROI when using our Beanshell script without overflowing the circular buffer. But I'm assuming things are about different for pycro-manager acquistions.

I doubt it, since that appears to be related to hardware and yours isnt since it runs with beanshell script.
memory management should be pretty much the same. If you look at ImageJ plugins-utilities--monitor memory you can see java memory usage, though I doubt it will spike too high.
You could try subbing in demo camera running a sequence if you think its specific to your hardware

For the 10 ms acquisition, the circular buffer is always 0%, the disk usage is about ~100-120 MB/s (this is correct for the framerate and image bit depth), and the memory usage is a periodic function. It grows linearly 15 GB to 30 GB over a period of roughly 30 seconds. At 30 seconds, it drops nearly instantly back down to 15 GB and you can see the image display hiccup in the NDViewer. It has been repeating like this since the acquisition started last night.

Makes sense, its accumulating images until it garbage collects. Theres an option on the viewer to not show every new image on arrival if you want to have a viewer but there might be a performance hit

We would prefer to not have the viewer to prioritize performance, but the acquisition did not start with display=False. Not clear what is going on. Because we can't increase the timeout on the camera any farther, we are not sure if the camera is timing out because it has not seen a trigger or if there is something else going on.
We will test more once this current acquisition finishes.

Allocating more RAM to ImageJ and extending the camera timeout solves this issue.


Add (optional) dependencies to setup.py

Allow pywal16 to be used immediately after install, without manual setup and post-installation step(s).

looks good to me


fix: Fix cleaning up running jobs when deleting crons

Fixes #4

:tada: This PR is included in version 1.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


add CAT404

the slug name should be the same as the folder name, I help you modify it. Please update your local meta.json file.
the slug name should be cat404. @BITCOINLANDS

Thanks mate


Lilu.kext errors

I am trying out v1.4 of Lilu.kext for the first time, and run into load issues. Here is the output of:
sudo kextutil Lilu.kext

Diagnostics for Lilu.kext:
Code Signing Failure: not code signed
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "Lilu.kext"
kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/Volumes/M2/Extra/Extensions/Lilu.kext"
(kernel) Kext as.vit9696.Lilu start failed (result 0x5).
(kernel) Kext as.vit9696.Lilu failed to load (0xdc008017).
(kernel) Failed to load kext as.vit9696.Lilu (error 0xdc008017).
Failed to load Lilu.kext - (libkern/kext) kext (kmod) start/stop routine failed.

I use the following extra boot arguments:
-lilubeta -igfxbeta

This is with macOS Hight Sierra 10.13 What should/can I do to resolve this?
Note: This is with RevoBoot. Not Clover. Just in case it matters.

Hi, it does not really matter which loader to use, so RevoBoot should be fine. What does matter though is the loading time, I hook certain apple policies that only start in the beginning of the boot process. So you must load Lilu as early as possible.
There is a handy workaround if you cannot easily control the order — https://github.com/PMheart/LiluFriend.
If it still fails… mhm, try -liludbg and check the kernel log, maybe it has something valuable?

Hi,
Thanks, but kext injection works fine in RevoBoot, and thus LiluFriend.kext won't help me.
I knew that it had to be something else and I figured it out. I looked at the source code and it turns out that boot argument -s disables the kext.
Would you mind adding it to the documentation so that nobody else have to deal with this anymore? Thanks!
p.s. I don't quite understand the need of -lilubeta IMHO it would be better to enable the kext by default and use something like -lilubetaoff to disable it.

Oh, right, -s and -x indeed disable Lilu, it is done for safety reasons for real macs, where you cannot easily edit the boot-args. Wahat I heard is that some people inject FakeSMC and friends from single mode, and then boot to normal OS, so I actually might add some argument to force-enable Lilu for this case…
As for -lilubeta and stuff, I don't install beta OS updates, so I usually don't know whether it works or not. Last time when 10.12 appeared, kernel patcher panic'ed heavily, so I added these safety arguments.
One could always edit the source for his own needs or wait for an official OS release. I think I will enable HighSierra support when it gets more stable, closer to the end of August or September :)


angelfish: init at 1.8.0

Motivation for this change
Play around with Plasma Mobile.
The adblocking feature relies on Brave's adblock written in Rust.
That relies on Corrosion. I fear I'm not knowledgable enough when it comes to Rust and CMake to package that myself, or rather patch it out and use our own hooks instead.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @NixOS/qt-kde
cc @danieldk

I got corrosion to build. I did not get the tests to run though. Maybe someone with more CMake experience can help? cc @lheckemann @jonringer @lukegb
When trying to build angelfish with it, it can't find corrosion-generator. I think that's https://github.com/AndrewGaspar/corrosion/issues/84.

I don't see icons. Maybe that's because I'm not running KDE? cc @NixOS/qt-kde

@dotlambda do you mean in the app when ran on your desktop?
Almost all of the kirigami-based apps I packaged (PR coming soon) had an issue like that, where on my desktop it has a half-broken look, missing icons, widgets sometimes weird, but it's just fine on the actual plasma mobile session.
I haven't tested yet, but I assume it may be a configuration type thing derived from environment variables. Try some from kwinwrapper. I'm thinking those about QtQuick, theme or platform...

@samueldr Yes, I only tried this on my i3 desktop so far. I did not have any success with
env QT_QPA_PLATFORMTHEME=KDE QT_QUICK_CONTROLS_STYLE=org.kde.breeze QT_QUICK_CONTROLS_MOBILE=true PLASMA_INTEGRATION_USE_PORTAL=1 PLASMA_PLATFORM=phone:handset angelfish

I might try it with https://github.com/samueldr/nixpkgs/tree/wip/plamo on my Pinephone but I don't think I have time for that at the moment.
Since everything, including the adblocker though, is functional, I think this is ready to be merged.

I guess it could also come from any of the environment implcitly wrapped around any of the other components up to the plasma shell desktop.
It would be nice to figure out the basic underlying issue, since it would be great to allow cross-pollination to happen, and have plasma mobile apps working fine under phosh, and the other way around.
(Note: figuring this out is not a blocker for this PR!)

Maybe that's because I'm not running KDE?

Please refer to the Nixpkgs manual section about packaging Qt applications, particularly the section labeled "Locating runtime dependencies" regarding wrapQtAppsHook.

Please refer to the Nixpkgs manual section about packaging Qt applications, particularly the section labeled "Locating runtime dependencies" regarding wrapQtAppsHook.

It's already being wrapped using libsForQt5.mkDerivation.
What seems to be missing is undeclared implicit... something... maybe not even dependencies. Any trick for figuring that out, when everything seems okay packaging-wise, but without any error things definitely aren't?

Any trick for figuring that out, when everything seems okay packaging-wise, but without any error things definitely aren't?

Run the program under strace. Look for ENOENT results from stat and open.

At first glance, it seems no .so are missing. All ENOENT end up being resolved a few moments after.
Though it's looking through icons and can't find any. On a whim I tried
XDG_CURRENT_DESKTOP="gnome" result/bin/angelfish

And some icons are showing! In my session it's defaulting to XDG_CURRENT_DESKTOP=xfce4. Unsetting it and launching angelfish gives me the same results as using XDG_CURRENT_DESKTOP="gnome". Using XDG_CURRENT_DESKTOP="foobarbaz" gives me the same as using xfce4.
Is it the accepted and normal behaviour for Plasma apps to be all wonky under these conditions? Is it an upstream problem with kirigami or the specific app?
Testing against dolphin (the file manager) I can see that unsetting XDG_CURRENT_DESKTOP gives me the same result as using gnome, and garbage input gives me a working result seemingly using appropriate theming for icons. I tried using all the same (propagated) buildInputs to see if any of them would end up propagating some required implicit environment and it's not the case.
I can't seem to find any broken widgets anymore in the apps I packaged, maybe it's because since I found them initially I learned about qmlcache and had some bad cache. So maybe in the end it's all about icons not being found?

So I now assume this is a normal behaviour, though unintuitive. With gnome things it looks under Adwaita too.
Though it seems weird to me how it looks through the breeze icon theme output, but only for hicolor. ¯_(ツ)_/¯

Okay, this actually makes sense to me. There are two things involved here:

It needs to find the current theme. It looks at XDG_CURRENT_DESKTOP and uses that to decide how to look up the current theme information. Depending on the value, it picks up the name of the current icon theme in some way. If it doesn't recognize the value of XDG_CURRENT_DESKTOP, it falls back to the icon theme hicolor (as specified by XDG).
Now it has the icon theme name, so it looks through all the XDG_DATA_DIRS to find any entry with a subdirectory icons/$theme_name. breeze-icons is on the XDG_DATA_DIRS path because of the wrapper, but it looks under hicolor because that is the fallback icon theme name.

So, I think it's doing the right thing here, except it can't get the icon theme name for xfce4. I don't know if that is supported upstream or not.

I don't know either, though dolphin seems to be able to fall back properly, and ends up looking through breeze too. It first looks through all of hicolor, for a given name, then falls back to breeze when it cannot find the icon name.
Though, as I'm starting to suspect more and more, it sounds like an upstream issue.

In kirigami 5.80 there is:

https://invent.kde.org/frameworks/kirigami/-/commit/fb48e31526d94f0010922f0d56ffb0cadb4724ed

I'm now building against #117947 to see if it could change anything. Though I don't think it would if I understand their reason for the change.

It first looks through all of hicolor, for a given name, then falls back to breeze when it cannot find the icon name.

That's due to an additional layer, which is that when a KDE application looks up icons using the kicontheme package, it falls back to breeze in case the fallback hicolor doesn't have an icon. It's fallbacks all the way down. :laughing:
But, Kirigami applications aren't KDE desktop applications, and I don't know if they use kicontheme.

Ah! Thanks for the details!
This gives me the needed input to suggest a change to Kirigami so that they either start using kicontheme or do the equivalent lookup. Otherwise I fear their apps will look real weird being all broken on non-plasma setups!

Here's the report:
https://bugs.kde.org/show_bug.cgi?id=435236
Btw, we should not block this on that issue. It's an underlying framework issue. All Kirigami apps I packaged, too, suffer from the same issue.


Endpoint authorization can no longer be passed in new Grape.

Grape introduces a new DSL https://github.com/intridea/grape/pull/757. This replaces the desc hash with a strict DSL.
This no longer allows the authorization option to be passed to grape-swagger like defined in Operations.
desc 'endpoint' , {
   authorizations: { oauth2: [{ scope: 'public' }] }
}

No longer yields in :
operations: [ {
  authorizations: {
     oauth2: [ { scope: "public"} ]
  }
}]

A way could to achieve this is to read the desc headers. Check if an Authorization header is defined.  The only problem is to define the authorization type (oauth, basic) and optional scopes.

Ill try to make a PR compatible with 0.10.x . Due time constrains please give me a week to set everything up ;)

+1

solved in actual versions


Typed url without '/' will fall into path='/' case

Hi,
I wanna report an interesting thing about React-Route.
I notice if the user types www.whatever.com/baselink in the browser's address bar, it will actually trigger the path='/' case in Switch.
That is to say, www.whatever.com/baselink acts exactly as www.whatever.com/baselink/ (notice the / at the end).
Is it by design for some reason?
Thanks,
Pengfei

I'm not an expert here but I think this is a side affect of using path-to-regexp.
Here "/" and "" creates the same regex and therefore both match in React Router.
https://github.com/pillarjs/path-to-regexp

Yes, we ignore the trailing slash by design.


Website not working on Chrome Browser

Hi guys,
Just wanted to give a heads-up that the website: http://www.angular-meteor.com/ is not working in Chrome Browser. I am currently using Version 50.0.2661.94 (64-bit).
This is the error that shows in the console:
a4f775c….js:120 Uncaught Error: Handler with name 'i' already exists.
a4f775c….js:112 pathFor couldn't find a route named "migration"
a4f775c….js:61 Uncaught Error: No such function: currentApi

https://github.com/Urigo/angular-meteor-docs/issues/90


injectScript cannot inject main world content script

Describe the bug
I am trying to inject a main world content script into the webpage using the recommended function injectScript, but it is not working properly
// entrypoints/content.ts
export default defineContentScript({
  matches: ['<all_urls>'],
  async main() {
    console.log('Hello content.')
    await injectScript('/main-world-content.js')
  },
})

Reproduction
https://github.com/rxliuli/wxt-main-world-content-script-demo
Steps to reproduce
pnpm i && pnpm dev

System Info
System:
    OS: macOS 14.4.1
    CPU: (12) arm64 Apple M2 Max
    Memory: 11.12 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.1 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.5.0 - /usr/local/bin/npm
    pnpm: 9.12.3 - /usr/local/bin/pnpm
    bun: 1.1.6 - ~/.bun/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 130.0.6723.117
    Edge: 130.0.2849.80
    Safari: 17.4.1
  npmPackages:
    wxt: ^0.19.11 => 0.19.13

Used Package Manager
npm
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

You forgot to add the specific script in web_accessible_resources.

Please add that in the wxt.config.ts file, then it will work.


Error when installing extension

I cant install this extension, and had a following error

https://github.com/microsoft/vscode-python-debugger/issues/76
This extension is still in preview. You should be able to install the Pre-release version if you wish

Thank you!


Publish hyper file does not work

https://github.com/tableau/hyper-api-samples/blob/main/Community-Supported/publish-hyper/publish-hyper-file.py
This example does not seem to publish the data source.
I don't get any errors and I get the full print statements:
Creating single table for publishing.
Tables available in customer.hyper are: [TableName('Extract', 'Extract')]
The number of rows in table "Extract"."Extract" is 2.
The connection to the Hyper file has been closed.
The Hyper process has been shut down.
Signing into ... at https://10ax.online.tableau.com/
Publishing customer.hyper to Group A Reports...
Datasource published. Datasource ID:...

However, when I go into the Tableau Server, there is no data source. I have even tried the following code after publishing to see if I could find it anywhere and no luck
all_datasources, pagination_item = server.datasources.get()
print("\nThere are {} datasources on site: ".format(pagination_item.total_available))
print([datasource.name for datasource in all_datasources])

Is there an updated version or way to publish data sources (specifically hyper files)?

I just tried it and it works on my side.
Can you please double-check by manually logging into Tableau Server, click on "Explore" on the left side, select "All Datasources", on the right side, there is a filter option and select your name as owner, and then it should show up in there.


Control Filter Activation

I added an optional delegate method to the TGCameraDelegate called cameraFilterViewEnabled. It returns whether or not the user wants the filters button to show.
If the user returns false:

If the user returns true or doesn't implement the method:

Great one. It will be great if the album can be made optional as well

That's a great idea! The revised version has an option to both hide the filter button and the album button!

Thanks @Phillip3!


add offset to pump pulse

This needs to be taken into account for:

the initialization of excited states
the hybrid propagator

Let the user specify and x and y offset

It doesn't look like the propagators abcd_lct, n0n2_lct, or n0n2_srw use the pump pulse waist.
This may change with further improvements.


Dashboard Refresh Issue: How to Make Data Manipulation Panels Independent of Dashboard refresh?

In the latest plugin update, I  noticed that their data manipulation panels, particularly form panels, are being updated automatically when the dashboard is refreshed . This unexpected behavior has caused inconvenience to fill form in panel . form erase everything filled .

Refresh is not freeze while value inputting, value get erase when auto
refresh.
On Tue, Sep 19, 2023, 9:07 PM volodymy @.***> wrote:

Can refresh be freezed as soon as editing was started (some values are
highlighted )?
—
Reply to this email directly, view it on GitHub
https://github.com/VolkovLabs/volkovlabs-form-panel/issues/251#issuecomment-1725908878,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3LPEKAB5MYSMMNGI5X2WXLX3G34PANCNFSM6AAAAAA4XULOTU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Got same problem. Element values are cleaned when grafana refresh triggers.
Is there any elegant solution to avoid this?
I only update "options" in "initial request" logic.

@wyl1232792  i didn't get solution for it , @mikhail-vl please solve this issue.

@utkarshsalunkhe I will look into it.

@mikhail-vl  any update on this issue?

Added a sync option which allows to disable panel updates. It should solve the issue but it also disables following on variable updates.

@Wakaij1n @utkarshsalunkhe Implemented in the upcoming release.
Meanwhile, you are welcome to test and use for self-hosted Grafana from CI artifact.


Importing npm package stylesheet doesn't work

I may be doing something wrong here, but I can't import a CSS stylesheet from an npm package while enabling CSS modules support. For example with the bootstrap package being successfully added from the Configure section of the bin:
import "bootstrap/dist/css/bootstrap.css";

I'm getting this error:

ERROR: ModuleNotFoundError
Module not found: Error: Cannot resolve module 'bootstrap/dist/css/bootstrap.css' in /api/sandbox/14681398575162110

The file exists, is part of the published package contents, and this import works just fine with a standard setup of webpack and CSS modules; is this a bug? Or what should I do in order to actually load this stylesheet?
Thanks for the awesome product btw.

Here is example in webpackbin showing this problem: http://www.webpackbin.com/NJu8zXdPZ

@Everettss  The url to the webpackbin has become invalid. Could you outline the solution?

@n1k0 @Everettss @kongakong We deployed an updated packager service yesterday. It has changed the alghoritm for entry points. The way bootstrap was organizing the published code crashed with the current approach. It should work now :-)


Flutter support to build iPadOS and watchOS apps

Use case

Proposal

HI @AfropunkTechnologist
you can build for apple watch (apple watch docs)
and iPad right now.
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you

Wasn’t tracking, appreciate it 👌🏾
On Mon, Apr 27, 2020 at 3:08 AM Francesco Iapicca<EMAIL_ADDRESS>wrote:

Closed #55580 https://github.com/flutter/flutter/issues/55580.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/55580#event-3275013739, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIUBBESSDBA5XWCK4Z3R6UDROVKTRANCNFSM4MQIPEKQ
.


CreateOpenXmlReader throwing object reference exception while reading .xslx file

I have an .xslx file which was generated using ExcelExporter nuget package. When I tried to read the file using CreateOpenXmlReader method it is throwing object reference not set to instance of an object exception. When I debug more into that I found that _workbook.Styles is null and reading _workbook.Styles.NumFmts value is throwing the exception.
If open the same excel sheet in msoffice and save it without doing any changes I am able to read the data without any issues. Please find the excel sheet as an attachment. Please find the attached excel sheet for your reference. Can some body let me know why _workbook.Styles is null in first case.
Download (12).xlsx

1 with the same null reference exception. Is there any progress on the problem or any explanation why it's happening?

Hello, the enclosed same has issues to fix:

Sheet has no  and no  so you should handle it in ReadStyles(Stream xmlFileStream): _Styles = new XlsxStyles();

Each cell  as no "r" attribute so column number isn't updated.

Each  as no "r" attribute, so ReadSheetRow(XlsxWorksheet sheet) fails querying it. Probably we could handle it with a new 1-based index (same as ).

Here there is a "fixed" sheet just to compare with original one and undestand my comments.
Regards

Let's try this in:
XlsxWorkbook.cs
        private void ReadStyles(Stream xmlFileStream)
        {
            _Styles = new XlsxStyles();

            if (null == xmlFileStream) return;

ExcelOpenXmlReader.cs
Declare row/column "auto incremental" counters and reset them in constructor AsDataSet():
        private int _iRowCounter = 0;
        private int _iColCounter = 0;

Modify the main cycle using them: each time XlsxWorksheet.A_r is null, we use previous value (if read) incrementing it.
		private bool ReadSheetRow(XlsxWorksheet sheet)
		{
...
                _iColCounter = 0;
                int rowIndex = ++_iRowCounter;
                if (!String.IsNullOrEmpty(_xmlReader.GetAttribute(XlsxWorksheet.A_r)))
                    rowIndex = int.Parse(_xmlReader.GetAttribute(XlsxWorksheet.A_r));
				if (rowIndex != (_depth + 1))
				if (rowIndex != (_depth + 1))
...
                            a_s = _xmlReader.GetAttribute(XlsxWorksheet.A_s);
                            a_t = _xmlReader.GetAttribute(XlsxWorksheet.A_t);
                            a_r = _xmlReader.GetAttribute(XlsxWorksheet.A_r);
                            if (!String.IsNullOrEmpty(a_r))
                            {
                                XlsxDimension.XlsxDim(a_r, out col, out row);
                                _iColCounter = col;
                            }
                            else
                            {
                                col = ++_iColCounter;
                                row = _iRowCounter;
                            }

One more open point: find a "convenient" way to determine the dimension of the sheet, as we have no <dimension> and no <cols>:
		private void ReadSheetGlobals(XlsxWorksheet sheet)
		{
...
		    int biggestColumn = 666; //used when no col elements and no dimension

Verify also https://github.com/ExcelDataReader/ExcelDataReader/pull/115

This appears to be fixed, the attached "Download.12.xlsx" works fine with latest.


SELECT FOR JSON support for various datatypes

Description

Added support for various dataypes and raised error for the datatypes that are not supported
Added test cases to check each and every datatype

TASK: BABEL-3691
Signed-off-by: Anuj Sarda<EMAIL_ADDRESS>Issues Resolved
BABEL-3691
By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Please add the followings in the PR description

Engine PR's link (do the same for the Engine PR's description)
list of supported and unsupported data types


How to run mutiple text model requests to summarize files  in parallel

https://github.com/GoogleCloudPlatform/generative-ai/blob/main/language/examples/document-summarization/summarization_large_documents.ipynb
Read the PDF file and create a list of pages
reader = PyPDF2.PdfReader(pdf_file)
pages = reader.pages
Create an empty list to store the summaries
initial_summary = []
Iterate over the pages and generate a summary for each page
for page in tqdm(pages):
# Extract the text from the page and remove any leading or trailing whitespace
text = page.extract_text().strip()

# Create a prompt for the model using the extracted text and a prompt template
prompt = initial_prompt_template.format(text=text)

# Generate a summary using the model and the prompt
summary = model_with_limit_and_backoff(prompt=prompt, max_output_tokens=1024).text

# Append the summary to the list of summaries
initial_summary.append(summary)

it should be a sync code to run one after one.
how to make it in parallel?

I tried using multi-threading to do this. It didn't help much because there is a limit in API call rate currently.

It should be 60 requests per minute using the text-bison model.
why does it so easily reach the limit?
could you please share your code snippet?

Just checked with the team internally. They will release an official way to do it soon. We should just wait for it.


Problem with readline module when handing history navigation using up-arrow key

Initially, I encountered an unknown problem with the readline module, which compelled me to remove its usage in #11. Unfortunately, this brought about a new problem - poor handling of inputs such as cursor movements using left and right arrow keys. Therefore, I had to revert back to the use of the readline module provided by the pyreadline3 package, which is compatible with both Linux and Windows.
I removed the usage in this commit 0f13332, which seemed to be a wrong decision.
I open this issue to track the problem with using the readline module. Although I cannot recall the exact details of the issue, I will monitor my daily usage for a week, and close this issue if no further problems arise.

Problem 1: Non-ASCII characters display and backspace problem. If you enter non-ASCII characters (especially those occupying more than one unit of width) and try to clear the input using backspace, you will get an incomplete clearing on the terminal display but actually complete clearing to the line buffer, which can be very confusing when encountering this problem for the first time.

Problem 1: Non-ASCII characters display and backspace problem. If you enter non-ASCII characters (especially those occupying more than one unit of width) and try to clear the input using backspace, you will get an incomplete clearing on the terminal display but actually complete clearing to the line buffer, which can be very confusing when encountering this problem for the first time.

It seems like the multi-line feature is still causing problems. I know that you are used to it by now, but I seriously think that a proper terminal editor is a much cleaner solution. Perhaps we could even allow for a command like !e to make it more accessible.
I think supporting both is also no problem, but if the implementation is causing even more problems I don't know if it's worth it.

I thought as you have said, but the multi-line handling was actually not directly provided by readline module. You can have a look at the source code  (I also forgot some of the logic till I read it again yesterday) that it actually handles the line handling simply by appending submitted lines to a list: https://github.com/efJerryYang/chatgpt-cli/blob/19abe791a4acf38e15d28e516bcc4da47fb235d5/src/utils/io.py#L114-L124
The readline here is mainly for special key handling (e.g., arrow keys), and I tried removing it in commit https://github.com/efJerryYang/chatgpt-cli/commit/0f13332e83d69ec7348e3804ee88bba32d4c748b but caused a problem for processing the arrow keys (e.g., moving the cursor left or right to insert characters). The reason why I open this issue is just as I mentioned earlier in this thread, to track the potential problems caused by readline, but I forgot what the problem is precisely (and it works fine without problems so far).
Currently, if we simply remove it as I did in https://github.com/efJerryYang/chatgpt-cli/commit/0f13332e83d69ec7348e3804ee88bba32d4c748b, the prompt provide by the tool will not work properly because there is a feature provided by the Python built-in input() method, it will read actually what the input characters are and not interpret them as special keys, and we should provide other alternatives like you mentioned in #6 which may raise some time cost to refactoring. So I retain its usage at the moment.
Additionally, I think the suggestion of using the abbreviation !e here will be helpful. I will add it later.

I can see your point. Leaving it in as is is probably best.


Add option to expand the subforum list horizontaly instead of verticaly

Implement subforums list mode option in coreframe with two options:

Vertical list
Horizontal list

Is there any easy way to implement this while waiting on a release for this?  Not rushing or being rude.  Would just like to get this function even if it is a little hacky

@JmzTaylor It was already explained to at least two users, I think you may still be able to find a how-to in the comments section on tf.
Cheers!


php7 compatible constructor names

@MerlinDMC please check this changes for wikispaces php7 task.

we don't care anymore (sorry)

Np
Sent from Yahoo Mail on Android
On Sze, jún. 12, 2019 at 15:44, Daniel<EMAIL_ADDRESS>wrote:
we don't care anymore (sorry)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Completion can't depend on plugins

I want to add completion for NPM and I have a script that will do it. However, there's a dependency problem. I'm using the nvm plugin to load Node.js and NPM, and my completion script needs NPM to be loaded before it runs. bash-it currently loads aliases, then completion, then plugins, like so:
for file_type in "aliases" "completion" "plugins"
do
  _load_bash_it_files $file_type
done

Is there any particular reason this is done? If plugins were loaded first, then aliases and completion scripts could depend on them. As far as I can tell, plugins get no benefit from having aliases and completion loaded first.

fixed in #813


core:twitch live notfication added

Last PR was not correct , So this new PR solves those issues

@kisharnath Thanks a lot for your time and work! I've adapted the PR a little and added some functionality 👍

Stale / Resolved via #127