[vcpkg-cmake][libpng] Add "OSX_SPLIT_BUILD" feature

Describe the pull request

What does your PR fix?

It enabled universal binaries for cmake-based ports that somehow don't support it (e.g. because they use NASM). One such example is libpng, which now works with this PR

Which triplets are supported/not supported? Have you updated the CI baseline?

All. It also works for libpng when you set VCPKG_OSX_ARCHITECTURES to both arm64 and x86_64

Does your PR follow the maintainer guide?

Yes

@JackBoosY It seems the pipeline failed x86_windows, but not with any error I can understand. Looks like the "Test Modified Ports and Prepare Test Logs" failed, but the message simply states:
Evaluating: SucceededNode()
Result: False

Is this something I can fix on my end or is this some other issue? Should we just restart the pipeline?

@JackBoosY: Can you shed a light on this build failure: https://dev.azure.com/vcpkg/public/_build/results?buildId=66849&view=logs&j=878666d5-db33-5b27-9e7d-b0c7ee352005&t=d914c609-a9aa-5880-221f-cbd46db9069e
It says it's failed, but I don't understand why.

That's because you also need to update the related docs.
Please download this file and apply it, then commit.

Thanks, @JackBoosY, I would have never guessed that from the output!

cc @strega-nil-ms for review this PR.

Can you please resolve the file conflicts?
Thanks.

Certainly. I thought I had, but I think I must've rebased on an older version of the master branch. Should be good to go now.

I think the concern from @ras0219 was that he wanted this to be done in the tool instead of the scripts. Can we get his review on this?

What would a generic way to do it in the tool look like? Would we actually do the complete build/install for the packages for each architecture required? That way we could then do a merge. So, to stay with the example of libpng that we want to install for both x86_64 and arm64 we would then somehow create a dependency on libpng:x64-osx and libpng:arm64-osx.
Then, when the "dependencies" are built - using whatever generator was used - we merge the binaries. We'd probably also need to do stuff with install_name_tool if we're building a shared library. We'd also need some generic mechanism to go from a triplet with multiple architectures to the separate triplets for the individual architectures we're building.

Can you please merge to master?

@ras0219-msft Please review the vcpkg-cmake part.

Can you please merge to master first?

Can you please merge to master first?

I guess you mean "merge master in first"? Just as an aside, merging to master would be when we finally get this feature in the master branch.
Anyway, during merging I noticed that master is broken. Somebody has been playing around renaming variables (which happens surprisingly often it seems), parallel_args seems to be renamed to parallel_param, as well as some other variables ending in _args now ending in _param, but this has not been consistently changed. So now there are variables being set and not used.

Is this related to your changes?

I'd be very surprised if it were, given that the changes are only enabled on macos. It's possible I made a mistake during one of the merges. I'll check this out later today.

@omartijn Any progress?

I've tried building the package on the master branch, and that also failed in the mesa:x64-windows package. So it seems the package is simply broken.

Can you please resolve the file conflicts so I can take a look?

I've taken a look into using rel_command and dbg_command, and I cannot get it to work the way I expect. I have tried removing the CMAKE_INSTALL_PREFIX from both commands and then passing those as extra flags to vcpkg_execute_required_process (because those are different for regular vs split build)
Somehow, the option is then not correctly processed. I have spent about as much time as I am willing on this, but the constant code churn is taking too much of my time. So I'll leave this PR for anyone who's willing to maintain it.

Convert this PR to draft since there is no progress for 10 days.

Closing this PR since it seems that no progress is being made. Please ping me to reopen if work is still being done.


Calculation for exporting cargens

Thanks to my sister, math tutor, who explained to me basics of Trigonometry.
Also to Microsoft's new Bing search engine who delivered almost ready-to-deploy solution.
P.S. I hope I'm using pull request correctly, I have minimal GitHub experience.

good stuff, and yes you are using it correctly


Saving LSTM model

Orion version: 0.1.7
Python version: 3.7.0 hea74fb7_0
Operating System: Windows 10 1909

Description
Trying to save orion objects formed from tadgan and lstm_dynamic_threshold. We followed issue #206 and are able to save objects from pipeline='tadgan' but not a very similar object from pipeline='lstm_dynamic_threshold'.
What I Did
We set up the LSTM using the following code, very standard, and it works on fitting the model.
hyperparameters = {"mlprimitives.custom.timeseries_preprocessing.time_segments_aggregate#1":
                                {"interval": 1},
                                 'keras.Sequential.LSTMTimeSeriesRegressor#1':
                                {'epochs': 5, 'verbose': True}
}

orion_lstm = Orion(
    pipeline='lstm_dynamic_threshold',
    hyperparameters=hyperparameters
)

orion_lstm.fit(train_data)

tempfile.tempdir = os.getcwd()

with open("orion_lstm.pkl", "wb") as pickle_file:
    pickle.dump(tgan, pickle_file)

Here the crash occurs, with the permissions error looking similar to issue #206
OSError: Unable to create file(unable to open file: name = 'e:\working\test6\tmp7bkr1nhy.hdf5', errno = 13, error message = 'Permission denied', flags = 13, o_flags = 302)
The same crash occurs when using the orion.save() function with lstm.
However, when I create and fit a pipeline='tadgan' model and pickle_dump() in the same way, it works fine, although it does create four separate HDF5 files with tmp* names. I should note that my object orion_tgan can also be saved using orion_tgan.save(FULLPATH), which I believe means that I have the code version after issue #206 was resolved with PR #216
I do not understand why the behavior of pipeline='lstm_dynamic_threshold' and pipeline='tadgan' is different in this respect.
Do I need to just keep the tmp*.hdf5 files in the directory with the pkl file?
My colleague believes the lstm does not have a model entry in the dictionary that is getting iterated over in the save function. He created a pull request PR #243 but our organizational policy prohibits us from signing the CLA.
Has the ability to save LSTM and other models besides TADGAN been lost or corrupted?

Hi @kgustafs, thank you for opening an issue!
I have investigated your issue and there are two main points:
1. saving LSTM pipeline
the issue is mainly due to the fact that when we create temporary files in windows we do not set them properly. I created an issue in the base library https://github.com/MLBazaar/MLPrimitives/issues/261 to address the problem (PR will follow shortly!)
2. temporary files when saving TadGAN
there are four tempfiles when saving the TadGAN model because TadGAN consists of four networks. You can definitely delete the temporary files without sacrificing or losing your model!
Hope this addresses your issues, and let me know if you have any further question!

Solved in https://github.com/MLBazaar/MLPrimitives/pull/262. Closing.


Need help with installing

I was trying to install magisk on a custom made android x86 (not made by me) which utilizes microG, while I was trying to use the prepare image it showed that the path or file doesn't exist, here's what I have done
PS E:\MagiskOnEmulator> adb connect <IP_ADDRESS>:5555
* daemon not running; starting now at tcp:5037
* daemon started successfully
connected to <IP_ADDRESS>:5555
PS E:\MagiskOnEmulator> .\prepare_image.bat
cp: bad '/data/local/tmp/root/*/initrd.img.old': No such file or directory
cp: bad '/data/local/tmp/root/*/ramdisk.img.old': No such file or directory
PS E:\MagiskOnEmulator> adb shell
x86_64:/ $ cd /data/local/tmp
x86_64:/data/local/tmp $ ls
initrd.img.gz ramdisk.img.gz
x86_64:/data/local/tmp $

it will be really great if someone can help me with this
The root folder is not there in the tmp folder

So I checked if it actually existed so I tried opening data/local/tmp before I try to run the prepare_image and it was empty

Is there something I can do??

The error message is normal, you can go on next step

Yea I did Continue after that, the magisk manager was installed, but there were toast notifications that superuser denied for magisk, and only once i could give it superuser access when a notification popped to do so, but the app didn't have all it's features, you can understand what I'm saying by seeing these below images

Here's the log If u wanna take a look
PS E:\MagiskOnEmulator> .\prepare_image.bat
error: closed
adb.exe: device offline
adb.exe: device offline
adb.exe: device offline
cp: bad '/data/local/tmp/root/*/ramdisk.img': No such file or directory
cp: bad '/data/local/tmp/root/*/ramdisk.img.old': No such file or directory
umount: /data/local/tmp/root: No such file or directory
rmdir: /data/local/tmp/root: No such file or directory
PS E:\MagiskOnEmulator> .\patch_vbox.bat
magisk.zip: 1 file pushed, 0 skipped. 70.2 MB/s (6173806 bytes in 0.084s)
busybox: 1 file pushed, 0 skipped. 286.2 MB/s (2074240 bytes in 0.007s)
process.sh: 1 file pushed, 0 skipped. 1.0 MB/s (11934 bytes in 0.011s)
initrd.patch: 1 file pushed, 0 skipped. 2.9 MB/s (1118 bytes in 0.000s)
[*] Checking Android version
[*] Unzipping Magisk ..
Connecting to raw.githubusercontent.com (<IP_ADDRESS>:443)
wget: note: TLS certificate validation not implemented
saving to '/data/local/tmp/tmp/x86/busybox'
busybox               34% |***********                     |  747k  0:00:01 ETA
busybox              100% |********************************| 2170k  0:00:00 ETA
'/data/local/tmp/tmp/x86/busybox' saved
gzip: /data/local/tmp/ramdisk.img.gz: No such file or directory
[-] Failed to unzip ramdisk, just use it ..
mv: bad '/data/local/tmp/ramdisk.img.gz': No such file or directory
[*] Checking ramdisk status ..
[-] Stock boot image detected
cp: bad '/data/local/tmp/ramdisk.img': No such file or directory
[*] Patching ramdisk ..

Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [/data/local/tmp/ramdisk.img]
[*] Done patching, compressing ramdisk ..
[*] Installing MagiskManager ..
[*] Installing su binaries ..
total 3588
-rwxr-xr-x 1 root root    3507 2021-05-27 04:14 addon.d.sh
-rwxr-xr-x 1 root root    4703 2021-05-27 04:14 boot_patch.sh
-rwxr-xr-x 1 root root 2222408 2021-05-27 04:14 busybox
drwxr-xr-x 2 root root    4096 2021-05-27 04:14 chromeos
-rwxr-xr-x 1 root root<PHONE_NUMBER>-05-27 04:14 magisk
-rwxr-xr-x 1 root root<PHONE_NUMBER>-05-27 04:14 magiskboot
-rwxr-xr-x 1 root root<PHONE_NUMBER>-05-27 04:14 magiskinit
-rwxr-xr-x 1 root root   22136 2021-05-27 04:14 util_functions.sh
[*] Clean up
PS E:\MagiskOnEmulator> .\install_vbox.bat
install.sh: 1 file pushed, 0 skipped. 1.3 MB/s (545 bytes in 0.000s)
: not found/tmp/install.sh[2]:
: not found/tmp/install.sh[5]:
: not found/tmp/install.sh[8]:
/*/initrd.img: No such file or directory
/*/ramdisk.img: No such file or directory
: not found/tmp/install.sh[11]:
/data/local/tmp/install.sh[22]: syntax error: unmatched 'if'
PS E:\MagiskOnEmulator>


Update images for UG

Codecov Report

Merging #428 (662a575) into master (d58432b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #428   +/-   ##
=========================================
  Coverage     79.89%   79.89%
  Complexity     1069     1069
=========================================
  Files           136      136
  Lines          3208     3208
  Branches        430      430
=========================================
  Hits           2563     2563
  Misses          573      573
  Partials         72       72

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 d58432b...662a575. Read the comment docs.


Tests always pass in combination with Arquillian

I'm not sure if this is a TestNG or an arquillian issue. However, downgrading TestNG solves the problem, so I'm attributing it to TestNG.
In TestNG version <IP_ADDRESS> to 6.11 arquillian always shows my tests as passed, even if I do assertTrue(false). Downgrading to TestNG version 6.9.10 solves the issue. I also found this, proving that I'm not the only one:
https://stackoverflow.com/questions/42558563/no-failure-with-it-tests-when-exception-is-thrown-arquillian-testng-maven
Here's a minimal example (full eclipse 4.7 project):
test.zip
Just run the only TestNG class. The test will pass, even though it shouldn't. Then change the TestNG version in the pom.xml to 6.9.10, run the test again, and it will fail.
Here goes the list of my project dependencies, so you know my configuration:
<dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-text</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.mariadb.jdbc</groupId>
      <artifactId>mariadb-java-client</artifactId>
      <version>2.1.0</version>
    </dependency>
    <dependency>
      <groupId>org.testng</groupId>
      <artifactId>testng</artifactId>
      <version>6.9.10</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.glassfish.main.extras</groupId>
      <artifactId>glassfish-embedded-all</artifactId>
      <version>4.1.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.arquillian.container</groupId>
      <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
      <version>1.0.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.arquillian.testng</groupId>
      <artifactId>arquillian-testng-container</artifactId>
      <version>1.1.13.Final</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss.arquillian</groupId>
      <artifactId>arquillian-bom</artifactId>
      <version>1.1.13.Final</version>
      <scope>import</scope>
      <type>pom</type>
    </dependency>

@linex83 - I am not familiar with arquillian. I just downloaded the zip file, unzipped it and imported it into my IntelliJ IDE.
I found only test.NameProviderTest as a test class. But I am not able to figure out how do I run it, because it prompts me for some configurations.
Can you please help add some detailed instructions on how to get this going in an IDE ?

Could you just try with 6.12 from jcenter? It contains a fix asked by arquillian and it may be this one.

Thank you very much for the quick responses!
@juherr I tried version 6.12, it didn't solve the problem, though.
@krmahadevan You can run the tests from the shell with mvn test. With eclipse you can just right click the class test.NameProviderTest and select "Run As > TestNG Test". Sorry I'm not familiar with IntelliJ IDE at all - but you can probably run mvn test from there as well.

Just to add further details: I tried running testng with arquillian and WildFly (instead of GlassFish) and got the same results.

We've been stuck at v6.10 for awhile due to this problem.  I didn't try v6.12 yet, but I'm guessing that the issue has not been resolved yet.

@phillipross - Yes I guess this is still a problem. I had a go at this issue in the recent past, and still haven't figured out the overall flow that Arquillian has. I know TestNG, but since I dont know how Arquillian works, I keep getting lost when I attempt at tracing the flow. Will give this another go over the weekend and see what I can come up with. In the meantime, if you can help me point to any documentation that would help me quickly understand Arquillian and help me debug, it would be great!

@krmahadevan - I'm not familiar with any Arquillian documentation outside of the guides published on their site.  I can try to put together a very minimal test case that illustrates proper behavior when testng v6.10 is used and improper behavior when anything later than 6.10 is used.  I still have to test v6.12 myself which I'm about to do right now.

@krmahadevan I've verified that v6.12 still suffers from the same problem.  I'm attaching a test case that hopefully helps troubleshoot the problem.
arquillian-testng-testing.zip
The zip file contains a self-contained maven project.  If you run mvn clean test the project should build and try to run the test, but is should fail with an error message stating that it should fail the build.  The test method uses Assert.fail() method to generate this error.  And the failure is correct behavior.
You can control the TestNG version by setting the dependency.testng.version property.  Try setting it to a newer version, and the build will NOT fail, even though Assert.fail() is used.  Examples:
mvn -Ddependency.testng.version=6.9.10 clean test # This should properly fail
mvn -Ddependency.testng.version=6.10 clean test   # This won't fail, but it should!
mvn -Ddependency.testng.version=6.11 clean test   # This won't fail, but it should!
mvn -Ddependency.testng.version=6.12 clean test   # This won't fail, but it should!

I'm not an Arquillian expert, but I'm familiar with the basics and can attempt to answer any questions you might have.  I appreciate the attention to this issue!

@krmahadevan when you said you dealt with this issue in the past, was it a separate github issue that was already reported, seemingly fixed, and then closed?  Or did you mean you tried tracing through in an effort to address this github issue?  thanks!

@phillipross - I was attempting at trying to reproduce this issue so that I may try to fix this. There's no previous issue that I am aware of which talks about the same problem.
I still haven't gotten around to this issue. Kind of stuck with stuff at the personal front and things are a bit hectic at the work front as well. So please bear with the delay.

I'm happy to report that the as of testng v6.13.1 and arquillian-core v1.1.15.Final this issue seems to have been addressed.  I'll update the test case code and attach it to this issue for posterity.

arquillian-testng-testing.zip
mvn -Ddependency.testng.version=6.9.10 clean test # This should properly fail
mvn -Ddependency.testng.version=6.10 clean test   # This won't fail, but it should!
mvn -Ddependency.testng.version=6.11 clean test   # This won't fail, but it should!
mvn -Ddependency.testng.version=6.13.1 clean test   # This won't fail, but it should!
mvn -Ddependency.testng.version=6.13.1 -Ddependency.arquillian.version=1.1.13.Final clean test   # This won't fail, but it should!
mvn -Ddependency.testng.version=6.13.1 -Ddependency.arquillian.version=1.1.14.Final clean test   # This won't fail, but it should!
mvn -Ddependency.testng.version=6.13.1 -Ddependency.arquillian.version=1.1.15.Final clean test   # This DOES fail... the issue has been resolved!

@phillipross Thank you so much for taking the time to revisit this issue and confirm that this is now working.
Closing this issue based on @phillipross comments.


Not working in ssr mode, works fine with ssr:false

Version
@nuxtjs/supabase: 1.1.3
nuxt: 3.6.5
Reproduction Link
https://github.com/TechAkayy/supa-nuxt-vuetify-tailwindcss
Steps to reproduce
Set up the environment variables
cp .env.example .env
What is Expected?
Not working in ssr mode, works fine with ssr:false (toggle in nuxt.config.ts to test)
Tested in latest nuxt version as well, same issue
What is actually happening?
500
Cannot find module './lib/websocket' Require stack: - /Users/techakayy/Tests/reproductions/supa-nuxt-vuetify-tailwindcss/websocket

at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at ./websocket:1:18
at ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:341:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:197:14)
at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:231:12)
at async ./node_modules/@supabase/realtime-js/dist/module/RealtimeClient.js:1:31

Not sure if its related, but I found the same error reported here - https://github.com/supabase/supabase/issues/7672#issuecomment-1743861226

Solved with the below. Can you validate this, and should this be taken care by this module?
  build: {
    transpile: ['websocket'],
  },

Fixed at vuetify-nuxt-module end - https://github.com/userquin/vuetify-nuxt-module/issues/123.


Exception "Unable to find service group/set"

When I checked my core log today, I discovered following error:
Traceback (most recent call last):
  File "/config/custom_components/loxone/__init__.py", line 292, in loxone_discovered
    sensors_analog, True, False)
  File "/config/custom_components/loxone/__init__.py", line 288, in create_loxone_group
    await hass.services.async_call("group", "set", command)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1206, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service group/set

I am pretty new to HA, so I am not sure, whether this error message was always in the logs since I installed PyLoxone, or whether it is new thing.
I am using Loxone bindings installed using HACS and I have it updated to latest version 0.2.1.
Apart from this error it seems to be working fine, but I am so far only reading data from Loxone, not sending any commands...

Please update to the newest home assistant version and try it again.if you have the same error message I will look for it. If you have no error message again please close the issue.

I am already using the latest HA version 109.6
When I tried to restart HA to check, whether the error is still there, I got this:
2020-05-18 16:54:37 ERROR (MainThread) [homeassistant.setup] Setup failed for loxone: Integration failed to initialize.
2020-05-18 16:54:37 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform loxone.switch: Unable to set up component.
2020-05-18 16:54:37 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform loxone.cover: Unable to set up component.
2020-05-18 16:54:37 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform loxone.alarm_control_panel: Unable to set up component.
2020-05-18 16:54:37 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform loxone.scene: Unable to set up component.
2020-05-18 16:54:37 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform loxone.sensor: Unable to set up component.
2020-05-18 16:54:37 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform loxone.light: Unable to set up component.

It is not the first time I got it and as always, restart of HA fixes it, but it is weird.
On the bright side, the reported error did not come back, so it was probably fixed.

Some users reported some problems with the connection. But I had no issues so far. They all had the port 80 as the loxone port. Some of the errors disappeared after changing the port to a other port.
I think it is maybe a problem with some network latency.
I would first check the port. If you on 80 change it to some other port. Then I would try to start
home-assistant only with the loxone binding and all other integrations commented out. In this
case you can maybe clarify if some other component interfere with the loxone binding.
Sorry but I can not reproduce your error.

No probs. Thanks for hint.
Yep, I have it on port 80 and it has pretty big program, so latency can play some role.
Is there a way to see the log why it failed?  Will something like this work?
logger:
  default: warning
  logs:
    custom_components.pyloxone: debug

I will send you a log configuration which I use.
And I can make the timeout  configurable and by default bigger as it is now. I think it is only a problem with the key exchange. When the mini server response is to slow the connection timeout will accur. There we have a change to fix this issue. My loxone server is never under heavy load. That is maybe the reason that I had never problems.

Please try the dev branch. I increased the default timeout to 10 seconds. Maybe this solves your problems.
Please let me know if it helps.
And here are me debug settings:
  default: critical
  logs:
    homeassistant: error
    custom_components.loxone: debug

I tried to restart HA multiple times with 10s timeout and no issue so far.
Here is the debug log:
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] starting loxone sensor...
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] starting loxone switch...
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] starting loxone cover...
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] starting loxone light...
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] starting loxone scene...
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] starting loxone alarm_control_panel...
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] try to read token
2020-05-22 18:24:11 DEBUG (MainThread) [custom_components.loxone] try to get public key: http://loxone.XXXXXXX:80/jdev/sys/getPublicKey
2020-05-22 18:24:11 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify LoxoneTimedSwitch to extend SwitchEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify LoxoneSwitch to extend SwitchEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.switch] SwitchDevice is deprecated, modify LoxoneIntercomSubControl to extend SwitchEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.cover] CoverDevice is deprecated, modify LoxoneGate to extend CoverEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.cover] CoverDevice is deprecated, modify LoxoneWindow to extend CoverEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.cover] CoverDevice is deprecated, modify LoxoneJalousie to extend CoverEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.light] Light is deprecated, modify LoxonelightcontrollerV2 to extend LightEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.light] Light is deprecated, modify LoxoneColorPickerV2 to extend LightEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.light] Light is deprecated, modify LoxoneDimmer to extend LightEntity
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.setup] Setup of loxone is taking over 10 seconds.
2020-05-22 18:24:12 WARNING (MainThread) [homeassistant.components.alarm_control_panel] AlarmControlPanel is deprecated, modify LoxoneAlarm to extend AlarmControlPanelEntity
2020-05-22 18:24:12 DEBUG (MainThread) [custom_components.loxone] get_public_key successfully...
2020-05-22 18:24:12 DEBUG (MainThread) [custom_components.loxone] init_rsa_cipher successfully...
2020-05-22 18:24:12 DEBUG (MainThread) [custom_components.loxone] generate_session_key successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] parse_loxone_message successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] acquire_tokend
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] get_new_aes_chiper successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] parse_loxone_message successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] hash_credentials successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] get_new_aes_chiper successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] parse_loxone_message successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] save_token successfully...
2020-05-22 18:24:13 DEBUG (MainThread) [custom_components.loxone] get_new_aes_chiper successfully...
2020-05-22 18:24:13 INFO (MainThread) [custom_components.loxone] loxone discovered

It is interesting, that just a one second after first log message, it is already complaining "Setup of loxone is taking over 10 seconds." :-)

Ok I think this was the problem. I close this issue.

Oh well, I just got the error from OP again...
Seems like we successfully fixed that random failure of loxone integration initialization by increasing the timeout, but the original error is still there.
Anyway, keep it closed till you release new version and in case it happens again, I will reopen.


Fix thumbnails size key error main

I want to merge this change because it is port of #11754

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

@jakubkuc Black is failing


moving flag.Parse() from init to main function(s) fixes #309

@surki  can you please have a look?
This is blocking some of my current upstream projects :-)

thx a lot @bramhaghosh ! Would it be possible to tag that commit as well? :-).
Need to have a specific version for this.

tagged to 3.2.2
On Mon, Mar 14, 2022 at 3:50 PM Philipp Haussleiter <
@.***> wrote:

thx a lot @bramhaghosh https://github.com/bramhaghosh ! Would it be
possible to tag that commit as well? :-).
Need to have a specific version for this.
—
Reply to this email directly, view it on GitHub
https://github.com/google/martian/pull/334#issuecomment-1067221524, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMR6L3K2PPL6A2WHAD22TU76J67ANCNFSM5QU4HJTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


feat: implement vllm generate in MP GPU pool to parallelize the generating

For mistral 7B model, one GPU is pretty enough for generating and the throughput is pretty the same as on 4 or more GPUs because for 7B model, it is mostly memory bandwidth bound not computational bound.
To speed up the generation step, I just implemented a GPU pool solution that each generation task is running on one GPU, so that we can run num of GPU generation tasks at the same time which can shorten the generation time to less than 3 minutes on 4 H100

The generation can further be optimized in two ways:

async engine + clients mode, which can amortize the model loading time
training/inference mode switch like deepspeed chat, which can reuse the model parameters in GPU so the model only needs to be loaded once into GPU for the entire SPIN training

Hey @xujinlai This pooling strategy looks amazing. I have a tiny problem regarding multi-GPU inference for vllm. Do we have any literature/blogs regarding the speed comparison for multi-GPU inference vs single-GPU inference?
To me, since I use A800 without NVLink in the Chinese mainland, obviously single-GPU inference is better. But you guys have H100 (with NVLink) in the US, is it still necessary?
Thanks for your guidance.

Hey @xujinlai This pooling strategy looks amazing. I have a tiny problem regarding multi-GPU inference for vllm. Do we have any literature/blogs regarding the speed comparison for multi-GPU inference vs single-GPU inference?
To me, since I use A800 without NVLink in the Chinese mainland, obviously single-GPU inference is better. But you guys have H100 (with NVLink) in the US, is it still necessary?
Thanks for your guidance.

It is depends on the model size and architecture. If the model is small, most of time, you cannot fully utilize the computational power of one GPU like the 7B model on H100 case. But for larger model, for example, a 70B model, the computational capacity of one GPU is not enough, so we need to tensor parallelize it, even without NVlink, it should have some speedup.
So whether we need tensor parallel is not depends on hardware, but depends on both the model size/architecture and the hardware spec (memory, computational capacity, bandwidth, etc.).
For inference, most of time, we tend to reduce all the bottleneck except the computational bottleneck. Because if it is computational bottleneck, for most the current cases, the GPU utilization is good enough.

@xujinlai Thanks!


How use spoofdpi as system dns-doh?

Version
0.10.12
Operating System
debian 12
How are you running SpoofDPI?
I put spoofdpi in /usr/bin
Description
Hello. I want to use spoofdpi as system dns-doh. I do it in Linux like this: spoofdpi --enable-doh --dns-addr string "https://dns.adguard-dns.com/dns-query", but it doesn’t work, Google dns still goes :( please tell me how gotta do it right

spoofdpi --enable-doh --dns-addr  string "https://dns.adguard-dns.com/dns-query"


Small docs fix

Thanks! Just one comment.

@hellendag that was what I initially did, but then noticed that we use "binds" in render with _onBoldClick below and in "Key bindings" section.
Not sure that we should update this too since we skip some of implementation ( //...) including constructor in this examples and just omitting bind may be confusing.

Binding should definitely not be done in render, so that example should probably just have the glossed-over implementation details fleshed out.

I think if you rebase, one or two of these changes is already ironed out.


Readme sample code variables name

in Readme basic search, the variables are declared with prefix techspecs_
but the variables are passed without prefixes in calling API.
it was confusing a little bit I thought have to use some other base and key variables.
Please consider changing it.

in Readme basic search, the variables are declared with prefix techspecs_ but the variables are passed without prefixes in calling API. it was confusing a little bit I thought have to use some other base and key variables. Please consider changing it.

Noted. We'll consider changing it to make it clearer

in Readme basic search, the variables are declared with prefix techspecs_ but the variables are passed without prefixes in calling API. it was confusing a little bit I thought have to use some other base and key variables. Please consider changing it.

The python library and the API are two different things. The readme code you're referring to is for the API, not the python library. You don't need to use the API when you're using the python library.


virtualbox-np.json - VBoxSDL.exe no longer available in version 7

Fixes "Can't shim 'VBoxSDL.exe': File doesn't exist." when trying to install current version of virtualbox-np.json

[x] I have read the Contributing Guide.

/verify


chore: remove redundant category prefix

Why:
Super minor change to docs to remove redundant category prefix (probably a typo)
What's being changed
just removing the team. prefix to match the other actions

@aviadhahami Thanks so much for opening a PR! I'll get this triaged for review :zap:

Hey @cmwilson21, np at all :)
meanwhile I'll just randomly update the main branch when I visit this PR ;)


Rename to awesome?

Many lists like this carry an awesome- prefix to mark them as software lists. Is this a good idea for here, too?

it's possible, i've dropped support for this but could pick it back up ...


[test] Add sde roofline check

Will fix https://jira.cscs.ch/browse/UES-213 (partially)

Codecov Report

Merging #774 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #774   +/-   ##
=======================================
  Coverage   91.52%   91.52%
=======================================
  Files          76       76
  Lines        9548     9548
=======================================
  Hits         8739     8739
  Misses        809      809

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 dcd161a...6dcbaff. Read the comment docs.

Hello @jgphpc, Thank you for updating!

In the file cscs-checks/tools/profiling_and_debugging/intel_sde_berkeley_stream.py:

Line 46:33: E128 continuation line under-indented for visual indent

In the file cscs-checks/tools/profiling_and_debugging/intel_sde_roofline.py:

Line 117:33: E128 continuation line under-indented for visual indent

Do see the ReFrame Coding Style Guide

@jenkins-cscs retry none


Uses old compiled C code for cache

  IPinfo was resolved to 0.1.2, which depends on
    lrucache was resolved to 0.1.4, which depends on
      PriorityQueue

PriorityQueue won't compile with my version of Ruby 2.6.5p114.
Perhaps it should be left to the user to cache results?

lru_redux is used in 0.1.3; let me know if it produces another similar issue.


Delete fields from list or the complete list

Hi,
is it possible to delete existing list or fields in list via the template. I have tried the REMOVE attribute, but it seems to be not working on existing items.

As a general rule, we do not remove content with the Provisioning Engine, except few edge cases.


Update README.md!

Signed-off-by: Binit Ghimire<EMAIL_ADDRESS>Resolved all of the grammatical and linguistic issues in the document!

Changes already fixed.


A way to change the difficulty directly in the Chart Editor

What feature do you want to get added on the base engine?
An option in Chart Editor to change the difficulty instead of selecting the song, play the song, change the difficulty of the song, go back in chart editor and replace all the events that been erased (I know it's possible to make a file called events.json but if you wanna make custom events for a certain difficulty it's just not practical.
It would be a button in the song section of chart editor. And since image speak more than words, here is a fan made version of what it would look like.

The "Alt" difficulty would be based on if the song has a prefix in the data folder (like dadbattle-alt or -crazy.json)
Of course it can be implemented in a better way since I've done this draw with Paint but I think it's a good feature.
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

Didn’t you just do it-
And you can make a pr-

It's a montage, I made it on Paint

Ok

interesting concept, yeah i'm doin' it

No longer needed as you can load charts directly now


[BUG]  开启SWOOLE_HOOK_CURL之后无法调用oss接口

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux e5d770f177de 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 Linux
PHP 7.2.25 (cli) (built: Nov 22 2019 13:45:46) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
hyperf/amqp                          v1.1.22  A amqplib for hyperf.
hyperf/cache                         v1.1.22  A cache component for hyperf.
hyperf/command                       v1.1.21  Command for hyperf
hyperf/config                        v1.1.22  An independent component that provides configuration container.
hyperf/constants                     v1.1.24  A constants component for hyperf.
hyperf/contract                      v1.1.22  The contracts of Hyperf.
hyperf/crontab                       v1.1.22  A crontab component for Hyperf.
hyperf/database                      v1.1.22  A flexible database library.
hyperf/db-connection                 v1.1.22  A hyperf db connection handler for hyperf/database.
hyperf/devtool                       v1.1.22  A Devtool for Hyperf.
hyperf/di                            v1.1.24  A DI for Hyperf.
hyperf/dispatcher                    v1.1.22  A HTTP Server for Hyperf.
hyperf/event                         v1.1.22  an event manager that implements PSR-14.
hyperf/exception-handler             v1.1.6   Exception handler for hyperf
hyperf/filesystem                    v1.1.23  flysystem integration for hyperf
hyperf/framework                     v1.1.25  A coroutine framework that focuses on hyperspeed and flexible, specifically use...
hyperf/guzzle                        v1.1.23  Swoole coroutine handler for guzzle
hyperf/http-message                  v1.1.24  microservice framework base on swoole
hyperf/http-server                   v1.1.24  A HTTP Server for Hyperf.
hyperf/logger                        v1.1.22  A logger component for hyperf.
hyperf/memory                        v1.1.22  An independent component that use to operate and manage memory.
hyperf/model-listener                v1.1.22  A model listener for Hyperf.
hyperf/paginator                     v1.1.22  A paginator component for hyperf.
hyperf/pool                          v1.1.23  An independent universal connection pool component.
hyperf/process                       v1.1.22  A process component for hyperf.
hyperf/redis                         v1.1.24  A redis component for hyperf.
hyperf/server                        v1.1.24  A base server library for Hyperf.
hyperf/session                       v1.1.22  A session library
hyperf/task                          v1.1.22  A task library for Hyperf.
hyperf/testing                       v1.1.23  Testing for hyperf
hyperf/translation                   v1.1.17  An independent translation component, forked by illuminate/translation.
hyperf/utils                         v1.1.24  A tools package that could help developer solved the problem quickly.
hyperf/validation                    v1.1.22  hyperf validation
hyperf/view                          v1.1.22  A view library for Hyperf.
sy-records/think-template            v2.0.9   use think template engine for hyperf.

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.4.12
Built => Dec  5 2019 21:54:13
coroutine => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 1.1.1d  10 Sep 2019
http2 => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
mysqlnd => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.display_errors => On => On
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
swoole.use_shortname => Off => Off

Description:
开启SWOOLE_HOOK_CURL之后, curl调用阿里云oss的任何接口. 都会直接报404.
!defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL | SWOOLE_HOOK_CURL);
使用以下代码时, 程序是没有问题的.
!defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
请问是还有哪里需要配置吗
Steps To Reproduce:

请使用 Swoole 4.4.13 以上版本。

我试着更新一下版本再来看


Add Markdown help UI element

be helpful to have a markdown help UI element.  User could help on a question mark aligned to the right of the markdown copy now and text would appear to the right-hand side with copy including tips in a bullet list format.

Will be working on this while implementing the grommet blog redesign. #129


[Automation] Generate SDK based on TypeSpec 0.19.1

[Automation] Generate SDK based on TypeSpec 0.19.1

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

/check-enforcer override


Dark Run

Issue #74
Project Features
Character Control:
Hero can run left/right and jump.
Supports touch and keyboard controls.
Scrolling Environment:
Horizontally scrolling game world.
Dynamic positioning of obstacles, bushes, floors, and objects.
Collision Detection:
Detects collisions between hero and obstacles.
Ends the game upon collision.
Challenges and Difficulties
Responsive Controls:
Balancing touch and keyboard controls for smooth gameplay.
Ensuring responsive and intuitive controls on all devices.
Animation and State Management:
Managing different hero states (idle, running, jumping).
Coordinating animations with player actions.
Collision Detection:
Accurate detection of collisions between moving objects.
Handling edge cases to avoid false positives/negatives.
Scrolling Performance:
Maintaining smooth scrolling performance.
Optimizing for both desktop and mobile devices.
Timer and Scoring System:
Implementing a reliable timer for tracking game duration.
Managing high scores and displaying them correctly.
Dynamic Environment:
Creating a continuously challenging path.
Implementing dynamic obstacles with varying behaviors.
Game Over and Win Conditions:
Clearly defining and handling game over and win states.
Providing visual feedback and resetting the game appropriately.
https://github.com/dhairyagothi/50_days_50_web_project/assets/140265777/6f4980c2-4600-468d-8cba-135e68983bd5

@Yaser-123  good but fix some issues

explain this
and make scrolling smooth

always PULL MAIN branch before start working on an issue fix conflicts

@Yaser-123 good but fix some issues

explain this and make scrolling smooth

@Yaser-123

Uploading Recording 2024-06-19 130728.mp4…
check this

https://github.com/dhairyagothi/50_days_50_web_project/assets/142989448/0a74abdb-50e7-4121-91b6-c0c5c19e9ea2
check this @Yaser-123


remove tests from MariaDB builds

Summary by CodeRabbit

Chores

Improved cleanup process by removing the mariadb-test directory during MariaDB build on all platforms (Darwin, Linux, Windows).

before:

After:


6x Performance regression from dask 2024.8.0 onwards

Describe the issue:
I am seeing a huge performance regression for certain operations using dask>=2024.8.0.  The below example runs over 6 times faster in 2024.7.1 than in 2024.8.0. The only difference between the two environments are the dask and distributed version.
See the timeit output:
2024.7.1: 151 ms ± 19.3 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
2024.8.0: 1.05 s ± 39.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
The example is relative complex and is using an xclim function that generates hourly temperatures from daily min and max temperatures.
I didn't manage to narrow it down further but suspect it has something to do with the hourly resampling.
Minimal Complete Verifiable Example:
import pandas as pd
import numpy as np
import xarray as xr
from xclim.indices.helpers import make_hourly_temperature

times = pd.date_range("2000-01-01", "2010-12-31", name="time")
annual_cycle = np.sin(2 * np.pi * (times.dayofyear.values / 365.25 - 0.28))

base = 10 + 15 * annual_cycle.reshape(-1, 1)
tmin_values = base + 3 * np.random.randn(annual_cycle.size, 3)
tmax_values = base + 10 + 3 * np.random.randn(annual_cycle.size, 3)

ds = xr.Dataset(
    {
        "tasmin": (("time", "location"), tmin_values),
        "tasmax": (("time", "location"), tmax_values),
    },
    {"time": times, "location": ["IA", "IN", "IL"]},
)
ds = ds.assign_coords(lat=("location", [43.2, 40.1, 41.7]))
ds = ds.assign_coords(lat=ds.lat.assign_attrs(units="degrees_north"))
ds["tasmin"] = ds.tasmin.assign_attrs(units="degC")
ds["tasmax"] = ds.tasmax.assign_attrs(units="degC")
ds = ds.chunk(time=360, location=1)

%%timeit

make_hourly_temperature(ds.tasmin, ds.tasmax).compute()

Environment:

Dask version:2024.7.1/2024.8.0
Python version: 3.11.6
Operating System: MacOS
Install method (conda, pip, source): PDM (pip)

Hi,
Is it intentional that you are using xarray backed by numpy until the Chunk command?

I just took an example from the xarray tutorial. So the array creation is in numpy but then of course to trigger dask. I need to have a dask array so I chunk. I will try and create a larger array.

Closing this for now, please ping to reopen if you have an example with reasonably sized chunks

Alright @phofl, I increased DataArray and  chunksize to 3650, 100 or 2.78 MiB and computation time is still ~2x slower in 2024.8 then 2024.7.
times = pd.date_range("2000-01-01", "2050-12-31", name="time")
annual_cycle = np.sin(2 * np.pi * (times.dayofyear.values / 365.25 - 0.28))
locations = np.arange(1000)
base = 10 + 15 * annual_cycle.reshape(-1, 1)
tmin_values = base + 3 * np.random.randn(annual_cycle.size, locations.size)
tmax_values = base + 10 + 3 * np.random.randn(annual_cycle.size, locations.size)

ds = xr.Dataset(
    {
        "tasmin": (("time", "location"), tmin_values),
        "tasmax": (("time", "location"), tmax_values),
    },
    {"time": times, "location": locations},
)
ds = ds.assign_coords(lat=("location", [43.2]*locations.size))
ds = ds.assign_coords(lat=ds.lat.assign_attrs(units="degrees_north"))
ds["tasmin"] = ds.tasmin.assign_attrs(units="degC")
ds["tasmax"] = ds.tasmax.assign_attrs(units="degC")
ds = ds.chunk(time=10*365, location=100)

You should choose something around 100-200MiB, that’s a good chunksize, 2MiB is still way too small

The operation that is taking long is still the same as in the original post so I didn't post it again
%%timeit
make_hourly_temperature(ds.tasmin, ds.tasmax).compute()

Xarray mentions chunks of a minimal chunksize of a 1M (1000x1000) so that's what I have been aiming so far.
In fact, if I change the chunks to something like 10*365 and 1000, I am getting a warning
PerformanceWarning: Slicing is producing a large chunk. To accept the large
chunk and silence this warning, set the option
    >>> with dask.config.set(**{'array.slicing.split_large_chunks': False}):
    ...     array[indexer]

in 2024.7.1.
I am also quite surprised that, so much chunk optimisation is necessary to get good results on a minimal example? Would it make sense to raise a warning for small chunks. Since to me it came as quite a (hard to trace) surprise when my tests started taking much longer after I updated my environments.

I assume its this change that leads to the regression for chunks that are "too small" ?
https://docs.dask.org/en/stable/changelog.html#improve-scheduling-efficiency-for-xarray-groupby-reduce-patterns

The change is this one: https://docs.dask.org/en/stable/changelog.html#improve-efficiency-and-performance-of-slicing-with-positional-indexers
previously, your example created large chunks with small inputs, which is pretty bad since it's not something you can predict. Now, you get input chunk size = output chunk size. Small input chunks will lead to small output chunks, hurting performance.
The default chunk size behind auto is 128MiB, if you use that you should be good,
The warning is now gone since the algorithm behaves better naturally, so no warning needed anymore

So if upsample like in this case where I go from daily to hourly, the chunk size stays the same?

Yes correct
saschahofmann @.***> schrieb am Mi. 6. Nov. 2024 um
15:45:

So if upsample like in this case where I go from daily to hourly, the
chunk size stays the same?
—
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/11453#issuecomment-2459943848, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOYQZGCB6XCIRLLQMVT455LZ7ITQLAVCNFSM6AAAAABQMFX5I2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJZHE2DGOBUHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ok cool. I will try and see whether I can fix the slowness in my "real world" example and report back

Great, I’d recommend aiming for 100MiB chunks or using auto and see how this performs


Incompatibility with new graphql-core resolvers API

Hi! The tests are now failing - see a Travis build from my just-forked repository: https://travis-ci.org/messa/graphql-relay-py/builds/485088298
GraphQLLocatedError("<lambda>() got an unexpected keyword argument 'first'",)

I think the major cause of the errors is the API change in graphql-core v2.0.0:

New resolvers API. Moving from resolver(root, args, context, info) to resolver(root, info, **args)

It would be possible to limit versions of the graphql-core depency below 2.0.0 (it's now 'graphql-core>=0.5.0'), but I think that would be not very nice.
Would you accept a pull request that updates the code to the new resolver API?

This has been fixed in v2.0, so this issue can be closed.


Error on assembleDebug

I am getting a new error when I try to build my app:
e: /Users/jonhanson/Projects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (45, 84): Unresolved reference: R
e: /Users/jonhanson/Projects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (70, 68): Unresolved reference: R
e: /Users/jonhanson/Projects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (85, 64): Unresolved reference: R

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':fluttertoast:compileDebugKotlin'.

I think the only change that I made was to update the Kotlin plugin.  Maybe this error is related to that?
Edit: Note that the problem is on flutter_toast version 7.1.8.

I'm not sure why, but I was able to resolve the problem by rolling back to
classpath 'com.android.tools.build:gradle:3.5.4'

in my top level build.gradle.

Same here.

I rolled back to 7.1.6 because 7.1.7 and 7.1.8 have this problem.

https://developer.android.com/studio/releases/gradle-plugin

Its because you need compileSdkVersion 30 or highter for 'O' constant

Thanks @NaikSoftware, updating the compileSdkVersion to 30 in my app/build.gradle solved it for me. 👍🏻


Enable windows

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin, please rerender

    -- Building for: Visual Studio 15 2017 Win64
    CMake Error at CMakeLists.txt:3 (project):
      Generator

        Visual Studio 15 2017 Win64

      does not support platform specification, but platform

        x64

      was specified.

@jan-janssen Thanks for the help - a quick question: If I make some changes to setup.py, do I have to make a release to test the recipe here?

I released a new version of pyscal where I set up testing on windows using azure pipelines and everything seems to work.

@conda-forge-admin, please rerender

Strange! it seems to be the same problem. Let me check again. Thanks!

I have to admit I am no windows expert, but at least in the current stage we try to support all three platforms.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@srmnitc I created a patch to fix the windows installation - Can you take a look?

This looks good! Thanks a lot @jan-janssen

Can you add the patch to the official pascal code?

Yes I will do this!


cmd/link: run test in -linkshared mode failed

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
Linux jim-PC 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/jim/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/jim/go"
GORACE=""
GOROOT="/home/jim/golang/go"
GOTMPDIR=""
GOTOOLDIR="/home/jim/golang/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build891088383=/tmp/go-build -gno-record-gcc-switches"
What did you do?
1、 go install -buildmode=shared std
2、 go test -short -linkshared expvar
What did you expect to see?
expvar test PASS
What did you see instead?
failure details:
expvar (testmain)
main.statictmp_0: relocation target expvar.TestNil·f not defined
main.statictmp_0: relocation target expvar.TestInt·f not defined
main.statictmp_0: relocation target expvar.TestFloat·f not defined
main.statictmp_0: relocation target expvar.TestString·f not defined
main.statictmp_0: relocation target expvar.TestMapInit·f not defined
main.statictmp_0: relocation target expvar.TestMapCounter·f not defined
main.statictmp_0: relocation target expvar.TestFunc·f not defined
main.statictmp_0: relocation target expvar.TestHandler·f not defined
main.statictmp_1: relocation target expvar.BenchmarkIntAdd·f not defined
main.statictmp_1: relocation target expvar.BenchmarkIntSet·f not defined
main.statictmp_1: relocation target expvar.BenchmarkFloatAdd·f not defined
main.statictmp_1: relocation target expvar.BenchmarkFloatSet·f not defined
main.statictmp_1: relocation target expvar.BenchmarkStringSet·f not defined
main.statictmp_1: relocation target expvar.BenchmarkMapSet·f not defined
main.statictmp_1: relocation target expvar.BenchmarkMapSetDifferent·f not defined
main.statictmp_1: relocation target expvar.BenchmarkMapSetString·f not defined
main.statictmp_1: relocation target expvar.BenchmarkMapAddSame·f not defined
main.statictmp_1: relocation target expvar.BenchmarkMapAddDifferent·f not defined
main.statictmp_1: relocation target expvar.BenchmarkMapAddSameSteadyState·f not defined
main.statictmp_1: relocation target expvar.BenchmarkMapAddDifferentSteadyState·f not defined
main.statictmp_1: relocation target expvar.BenchmarkRealworldExpvarUsage·f not defined
/home/jim/golang/go/pkg/tool/linux_amd64/link: too many errors
FAIL expvar [build failed]

Bug reason: The Shlib record of the pkg "expvar" should be cleaned once the expvar pkg being rebuilt. Otherwise, the "packageshlib" key word in importcfg.link file will render the "packagefile" ineffective, in which the "packagefile" indicate the path of _pkg_.a( or cached _pkg_.a) and the "packageshlib" indicate the path of it's shlib( antiquated path: pkg/linux_amd64_dynlink/libstd.so ).

@cherrymui @mdempsky @ianlancetaylor

@hengwu0 - I see you closed the PR. Is this still an issue for you ?

@hengwu0 - I see you closed the PR. Is this still an issue for you ?

I tested this issue now again. It still can be reproduced with the golang1.11.5, and I don't know how to fix it.
I'm not using golang to link-shared or build-shared now, and i think it still needs much more time to grow.

@hengwu0 - I see you closed the PR. Is this still an issue for you ?

I can close this issue if you want to.

We can reopen to put it up for investigation.


Consider remove ConceptNet live internet request

Description
The internet request of conceptnet function made the test unreliable,
as if the internet connection is bad, it will time out and make the function failed.
A function should be self-contained within a local machine.
A download can be made but not a constant internet call.
Expected results
ConceptNet features run locally.
Current results
ConceptNet features made internet connection everytime.
Steps to reproduce
Call ConceptNet features. For example,
conceptnet.edges("รัก")

PyThaiNLP version
5.0.4
Python version
Any
Operating system and version
Any
More info
No response
Possible solution
No response
Files
No response

I think we can use ConceptNet-Lite. It can work in offline.


More error context when parsing haskell expression

Right now, when parsing haskell expression, we just dump the TH Exp in the AST and are happy with it.
However, if this code is invalid, it will fail in a later stage with an imprecise error. For example:
/home/guillaume/PyFError.hs:6:17: error:
    Variable not in scope: name2
  |
6 |   putStrLn [fmt|Bonjour {name2:o}|]
  |                 ^^^^^^^^^^^^^^^^^^^

We cannot do much, but we can at least evaluate the AST to check for missing variables, using https://hackage.haskell.org/package/template-haskell-<IP_ADDRESS>/docs/Language-Haskell-TH.html#v:lookupValueName to check for the existance of the name. I would like an error message such as:
/home/guillaume/PyFError.hs:6:40-45: error:
    Variable not in scope: name2
  |
6 |   putStrLn [fmt|Bonjour {name2:o}|]
  |                          ^^^^^

This is perfectly doable right now, either:

the evalExpr function may do the check and reports the errors
evalExpr should return the evaluated expression as TH code (i.e. Exp), as well as the original AST (HsExpr GhcPs). Later, we can walk this AST to check for errors.

Working a bit on this topic in #106 I progressively realize that:

Instead of failing immediately, we can gather all errors and display all of them at the end, it will give a better experience
I'm wondering if it may be possible to use GHC to type check the interpolated expression and based on that, do more check and do the formatter dispatch. I'll evaluate that.


usm: tls: java: Move java dir config

What does this PR do?
moves java_dir configuration to be under system-probe tree

Motivation
The java_dir config was misplaced under system-probe general configuration instead of usm specific. The change fixes the gap

Additional Notes
Java TLS is an experimental feature under development, thus we can change the configuration without backward compatibility ,

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Typo in release-notes/2.0/2.0.0-preview1.md

Standalong -> Standalone
See https://github.com/dotnet/core/pull/631

I kinda like standalong ;-)


Get rid of the SourceName field in DynamoDB

It's a holdover from when we stuffed all the data into the same table.

We did this!


Removes the api_key since it's no longer needed

Removes the api_key to generate previews since it's no longer needed.

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

@CartoDB/frontend: can you review this, please?

looks good to me, :+1: for cleanup

Thanks, @viddo.

:+1:


Add an easy option to disable extension

As requested here

This feature really similar to the following changes:
https://github.com/motiko/kcr-translate-ext/pull/11

I will test it now and make a new version release then. (somehow forgot about this one sorry)
Would it also work for people how don't use google translate extension?

No, in order to use Google Translation Extension engine you need to install google translate extension first.
I should have added this information to the options


AKS pulling from ACR example guide should begin with an example of Passwordless authentication

IMO the default guides should be how AKS can pull ACR images without needing to hardcode any secrets. It should go without saying that hardcoding secrets anywhere is a bad practice.
Is there a way for AKS to pull ACR images using a Service Principal or Identity? This is a question I can't answer immediately given these docs.

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

ID: 0b775c99-7231-2bfa-1af2-c40852c591aa
Version Independent ID: 499f8091-28e4-b6c5-4dd1-b5fac9632769
Content: Authenticate from Kubernetes cluster - Azure Container Registry
Content Source: articles/container-registry/container-registry-auth-kubernetes.md
Service: container-registry
GitHub Login: @karolz-ms
Microsoft Alias: karolz

@shicholas thank you for your feedback.
The article you quoted is using a service principal for ACR authentication. The service principal password is not "hardcoded" anywhere; it is just used to create an image pull secret in Kubernetes. Was any part of the article not explaining it clearly enough? Any suggestions how to improve it?

I found https://docs.microsoft.com/en-us/azure/aks/cluster-container-registry-integration#configure-acr-integration-for-existing-aks-clusters which solved my problem - Perhaps I was just looking in the wrong place.
Thank you,

Ah, yes, AKS is natively aware of ACR and Service Principals.
The first article is applicable to any K8s cluster, not just AKS, so there is a bit more work involved.

hi @karolz-ms
Can you please help me? How I can get the "service-principal-password" of existing ServicePrincipal that have already assigned to the AKS. I just want to use this ServicePrincipal to create registrykey on my local machine. I used Client secret value as a "service-principal-password" from my ServicePrincipal  but seems it's not working.
Thanks

@alexanderbikk that is right, once a service principal password is created, there is no way to get to it other than resetting it (which also invalidates the old password).
Let us know please if we can help with anything else.

hi @karolz-ms
Thanks for the answer.
Actually I have one issue. I'm trying to pull image from my ACR on local kubernetes cluster.
I tried both existing and new ServicePrincipal with Contributor role. I restore the password and used the command from the article to create the registrykey. But after deploy I'm getting this error over and over again
Failed to pull image "gen2acrdev.azurecr.io/gen2api:16": rpc error: code = Unknown desc = Error response from daemon: Head https://gen2acrdev.azurecr.io/v2/gen2api/manifests/16: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.
Btw command from this article works perfect and in my Azure evn all good. I deployed my recourses to the AKS and images can be pulled since the ServicePrincipa was assigned
But on my local machine for the same deployment script I got this issue with authentication to the ACR. And have no idea how to solve it. Looks like the registrykey is not working.
Thanks


Increase the responsiveness of featre-grid and newslatter

I cleaned up the HTML page to make it easier for other contributors to read. Additionally, as per issue #10 that I raised, I made the 'Our Features' grid responsive. I also made the 'Contact Us' button responsive for mobile convenience. Please accept my pull request and merge it into the main branch.
There might be a merge conflict as I cleaned the main HTML file, but the core code remains unchanged. Please resolve the conflict and merge it into the main branch.

@Hamza20203064 pls resolve the conflicts.

@vivekvardhan2810, please check again

Let me know if there is any issue.

@Hamza20203064 pls resolve the conflict, it has raised again.

@vivekvardhan2810 check once again

@Hamza20203064 pls resolve the conflicts. I will merge it.

@vivekvardhan2810 this issue arises again and again because I made many changes in html and css file because many contribute use style tag in html and I will turned them to css file.
If you merge other file before my file it will arise this same issue.

okay @Hamza20203064 got it, but for now can you resolve the conflicts, i will the merge it by today.

@vivekvardhan2810 I am currently out of station.I don't t have laptop with me. Can we resolve this issue in the morning? Whenever you will be free plz drop a MSG.


CSS File Doesn't Update Even After Reloading

CSS only updates if it's used inside html file.
if css file is in another folder, live-server doesn't see it. The first time I put the css file in the same folder with html, it updated the browser but later making changes in css file didn't take effect. Looking in the chrome dev-tools, there was no change in the css.

Win10
VS Code 1.14.2
Chrome 60
Chrome Canary 62

Re-installing solved the issue.


Time series

Any chance of extending this service to support time series predictions?

Can you give me an example?

Weather forecasts, financial predictors, trends. It takes previous entries into consideration when calculating the output.

Do you have a dataset we could work with?

This is a very simple example: https://archive.ics.uci.edu/ml/datasets/Dow+Jones+Index

Awesome!  The feed forward networks (the current brain.js neural net) won't be able to give a reliable prediction (arguably) because it is trained by what would be easily described as a sort of frozen state, for example: if I were to say "parchment", you'd be like: "that was odd to say, what did he mean by that?".
That being said, it is how a feed forward neural networks... work, they don't really have a memory of what is going on to give it a context.
However, a recurrent neural network, can recall what is going on.  If you are still reading this you will remember I said the word parchment, and may be further intrigued at where I am going with it.  I am not, other than to illustrate that memory is very powerful, especially in predictions.
However (and this brings me a lot of pleasure) the recurrent neural network that is being worked on here has a handy little method... interestingly called "predict", which I believe is what could be used in this scenario.
This code is actively being worked on, but would probably give you a pretty good prediction.
The code is being honed to not only be a "hey look what neural networks can do!" but also be enterprise ready.  If we can get the pseudo csv data mentioned above fed into the neural net, certainly a predictive state could be had.

Wow this is excellent! I'm going to give this a try as soon as I can. Thank you for all that information. It really puts everything into perspective.

It will be 100% able to run in browser.

FYI: https://github.com/harthur-org/brain.js/blob/recurrent/browser.js#L1590
A unit test that predicts maths: https://github.com/harthur-org/brain.js/blob/recurrent/test/recurrent/lstm.js#L15

The whole library is available here:
https://github.com/harthur-org/brain.js/blob/master/browser.js
and https://github.com/harthur-org/brain.js/blob/master/browser.min.js
These are built frequently, usually when committing.  I'm currently working to reduce the complexity of the recurrent neural net, but it is now running in browser, and is fairly stable.


docs: fix broken url; swagger ui

Description

I noticed that the current Swagger UI link provided in the Litestar documentation leads to a 404 error page. It would be helpful to update this document with a working URL for the Swagger UI.

Closes

@all-contributors add @wer153 for docs

thanks! :D


change port from 8088 to others but it doesnot work

I was running:
superset runserver -d -p 80
It runs successful but I can't access it from the browser.
if I use the default port 8088, it works as expected.
how can I make it work in other port?

You probably have a conflict or something on 80?


[Luna Search] Move to hooks for retrieving data, and fix pagination issue

Description

Noticed that I managed to introduce a nice bug with my pagination changes where a race could occur and an off-by-1 error would hit the user. Sorted!
Dug into useFetch and found a nice react-y way to do what I was previously doing with Singletons etc. Hooks are so back. Also meant I could cut axios, so that's neat.
Then "Services" didn't make sense anymore so moved to "models"
The new hooks let me break down the base component to be much simpler. Less gnarly logic differentiating viewing trending from viewing search results! woo.

Screencast
Sadly.. it all looks just as good as before. But I feel better about it.
Checklist

[✅] I read the extension guidelines
[✅] I read the documentation about publishing
[✅] I ran npm run build and tested this distribution build in Raycast
[✅] I checked that files in the assets folder are used by the extension itself
[✅] I checked that assets used by the README are placed outside of the metadata folder

[@pernielsentikaer] back on https://github.com/raycast/extensions/pull/14006 you pointed out I could use useFetch. Had a fun time reworking things and I feel much more satisfied with the layout of the code now! Thanks!

Thanks really awesome, glad you liked the way it worked 🙂

Thanks Per! Replies in-line.

* When you search for e.g. `Lego` and delete the search query it still shows the list of games

Addressed, thanks for finding! Good 🐛.

* Is it by purpose that you'll need to search for 3 chars before it searches?

Yes - I should've implemented this at first. The 1-2 character searches are low precision and not very useful traffic. I added customer messaging for this case to help.

* I couldn't get the pagination to work, do you know something I can search for?

Any grid that has >15 games uses it! Trending games, for example. It is hard to notice, because it is using the in-memory set of games so the pagination is extremely fast. I only added it because I want to let Raycast's memory controls manage if I load too many images into view for example. The previous bug happened when you went from a paginated view to a non-paginated (if I remember correctly..). So, maybe trending to "Valhalla"?

I'm looking forward to testing this extension again 🔥

Thanks for the hard work!

MUCH better 🔥


templates: etcd operator should select master nodes

All system components are sitting on master nodes.
However, etcd operator was somehow dismissed for that.

probably we should add a test for this one.
@aaronlevy where should we put the test?

This causes us issue in the tectonic setup where only master nodes can talk to the on host etcd due to our security group setting.

RE tests: @xiang90 @hongchaodeng can you coordinate with @pbx0 -- he's started to move the tests into the bootkube repo (see: https://github.com/kubernetes-incubator/bootkube/pull/511 )

@xiang90 in the future can you please make these changes to https://github.com/coreos/tectonic-installer/blob/master/modules/bootkube/resources/experimental/manifests/etcd-operator.yaml also?


publish button does not work with hlx3

Do the full setup of a site running with hlx3.
Go to page preview and hit the publish button, you are redirected to a 404 page.
Reason: the main branch name is missing in the URL.
cc @rofe

Can you confirm that the publish action worked, and it's just redirecting to the "wrong" URL afterwards?

The admin action post to /live responds 200 but the page is not up-to-date (if I update manually the url and add the branch name)

Ok, and when you curl -X PURGE it?

Looks like you were ahead of your time and using hlx3 before all the moving parts had a time to catch up 😉
I would suggest to use the following workaround:

add a /tools/sidekick/plugins.js to your project
add window.hlx.sidekick.config.outerHost = 'main--repo--owner.hlx.live'; to it

This will fix the broken redirect until the sidekick provides the fix - and should continue to work after that.

Should be fixed with #29.


sharkey wip (dont merge yet)

Description of changes
WIP PR to show the progress of Sharkey > Nixpkgs
continuation of #259829
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

noo ofborg :skull:
I forgot to swap out the maintainer info there for a second before pushing :sob:

Info for people looking at this:
sharkey does not build on machines with 4GB or RAM or less. :/

@Weathercold can you test this for me and give me your thoughts on it? This way we can get it merged quicker*
*limiting factor will still be getting someone with commit rights to merge in the end ;P

noo ofborg :skull:
I forgot to swap out the maintainer info there for a second before pushing :sob:

I was about to ask why was I pinged for this 😹 I guess this is tangentially related though since the pnpm deps code is from Vesktop

noo ofborg 💀
I forgot to swap out the maintainer info there for a second before pushing 😭

I was about to ask why was I pinged for this 😹 I guess this is tangentially related though since the pnpm deps code is from Vesktop

yes. this is a unholy fusion of vesktop and https://github.com/NixOS/nixpkgs/pull/161855/
maybe I will do that for misskey too later down the line.. Vesktop is the first pnpm nix impl that works here tho :smile_cat:

Have you seen #290715? That is essentially Vesktop's pnpm deps logic packaged into a builder 😺

Also, please mark the PR as a draft if you don't want it merged or thoroughly reviewed by other people with write perms :)

Have you seen #290715? That is essentially Vesktop's pnpm deps logic packaged into a fetcher 😺

yes, but I would not like to wait for it :d

Also, please mark the PR as a draft if you don't want it merged or thoroughly reviewed by other people with write perms :) Change the title too to the standard format: 'sharkey: init at x.y.z'

I want it thoroughly reviewed tho! Its not marked as a draft because it should be tested already! I just dont want it to be merged because my commits dont follow the contribution guidelines right now and I will forcepush to make the changes into commits how they should be once we tested everything <3

I am fairly certain, that this code already 100% works and would be ready to merge, but because we did not setup a server with it yet to test if everything including AP federation works flawlessly, its not ready to merge in my eyes.

Hey, is this still being worked on? I'm interested in hosting an instance of Sharkey on NixOS, and this seems like a good start probably. If this is abandoned, i might try to continue these efforts in a new PR.

I based some work in my own config off of this PR. I've got it running now. The modules are in the /sharkey/ subdirectory of my config (permalink) (with my own configuration at /sharkey.mod.nix), and it's running live at gaysex.cloud.

its not abandoned. other things in my calendar where just taking up time more. Feel free to request changes / add yourself as second maintainer later.

I am a Nix novice, but I'd be happy to help, too, if you are still very busy.


Validate string regex pattern

The initial problem that I've faced, is 'non-deterministic' validation for the same openapi spec. You can see video recording bellow:
https://github.com/daveshanley/vacuum/assets/10682798/16acb098-62a7-4033-9a6b-108fc44b12dc
This happens when you add
    type: object
    properties:
      phone_number:
        type: string
        pattern: '\+[1-9]\d{0,4}\d{2,14}$' # schema `pattern` should be a ECMA-262 regular expression dialect.
        example: '+1234567890'

as a $ref in the open api spec.

Important! OpenAPI spec file should contain different ref. On simplified spec file validation error result is consistent.

After further investigation I found one more problem.
If you have pattern '^(?=(?:.[a-zA-Z]){1,})(?=(?:.[0-9]){1,})^[\S]{6,100}$' that is used as a part of a ref object, validation works well.
type: object
properties:
  passcode_verification:
    type: object
    properties:
      passcode:
        type: string
        pattern: '^(?=(?:.*[a-zA-Z]){1,})(?=(?:.*[0-9]){1,})^[\S]{6,100}$'
        example: 'SimpleCode1'
    required:
      - passcode
  phone_verification:
    type: object
    properties:
      phone_number:
        type: string
        pattern: '^\+[1-9]\d{0,4}\d{2,14}$'
        example: '+1234567890'

But if you include directly into openapi spec without ref
openapi: 3.0.1
info:
  title: Sample API
  description: Optional multiline or single-line description in [CommonMark](https://commonmark.org/help/) or HTML.
  version: 0.1.9
tags:
  - name: Management
    description: Manage your things
  - name: Operations
    description: Operate your things
servers:
  - url: https://api.example.com/v1
    description: Optional server description, e.g. Main (production) server
  - url: https://staging-api.example.com
    description: Optional server description, e.g. Internal staging server for testing
paths:
  /users:
    get:
      summary: Returns a list of users.
      operationId: getUsers
      description: Optional extended description in CommonMark or HTML.
      responses:
        '200':
          description: A JSON array of user names
          content:
            application/json:
              schema:
                $ref: './components/schemas/recipients/recipient_verification_settings.yaml'
components:
  schemas:
    PasscodeVerification:
      type: string
      pattern: '^(?=(?:.*[a-zA-Z]){1,})(?=(?:.*[0-9]){1,})^[\S]{6,100}$'
      example: 'SimpleCode1'

You will recive two validation errors

/Users/ssoroka/Documents/projects/product/pd-openapi-spec/openapi/openapi-pattern.yaml
--------------------------------------------------------------------------------------
Location                           | Severity | Message                                                                                | Rule        | Category | Path
openapi/openapi-pattern.yaml:31:7  | error    | schema invalid: missing properties: '$ref'                                                      | oas3-schema | Schemas  | $.components.schemas.PasscodeVerification
openapi/openapi-pattern.yaml:33:16 | error    | schema invalid: '^(?=(?:.*[a-zA-Z]){1,})(?=(?:.*[0-9]){1,})^[\\S]{6,100}$' is not valid 'regex' | oas3-schema | Schemas  | $.components.schemas.PasscodeVerification.pattern

Category     | Errors | Warnings | Info
Tags         | 0      | 1        | 0
Schemas      | 2      | 1        | 0
Descriptions | 0      | 1        | 0
Examples     | 0      | 5        | 0

          Linting file 'openapi/openapi-pattern.yaml' failed with 2 errors, 8 warnings and 0 informs


Does MAU pricing apply when Microsoft 365 tenant/license exists?

Could more details / clarifications be provided about how MAU pricing relates to Microsoft 365 subscription.  Is it the same "first 50,000 monthly active users free." model as the standalone Azure AD Premium P1?

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

ID: d48108c5-3850-af59-ed14-84238bca37f7
Version Independent ID: cca4148e-8754-87a7-42a3-ea368fcb0285
Content: MAU billing model for Azure AD External Identities
Content Source: articles/active-directory/external-identities/external-identities-pricing.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@qubika
Thanks for your feedback! We will investigate and update as appropriate.

@qubika
On our Azure Active Directory pricing page it states:
"Azure Active Directory comes in four editions—Free, Office 365 apps, Premium P1, and Premium P2. The Free edition is included with a subscription of a commercial online service, e.g. Azure, Dynamics 365, Intune, and Power Platform. Office 365 subscriptions include the Free edition...."
Since an O365 subscription includes the Free edition, you should be eligible for the MAU billing, if you link your AzureAD tenant to a subscription.

I hope this helps! If you have any other billing related questions the Azure Active Directory pricing page enables you to chat with our sales team, if needed.
Thank you for your time and patience throughout this issue.


Improve guidance on HTTP verb and status code usage.

Fixes #213

Yes, this guideline needs to be improved -- thx. for the initiative!
I have a couple of (more or less) concrete editorial change proposals -- to be concrete via
alternative PR https://github.com/zalando/restful-api-guidelines/pull/218

👍

👍


mismatch

it would be very cool if your sample was aligned with the github repo

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

ID: 1ab0e1be-fcfe-6f77-d5c0-3ad4d16bbe97
Version Independent ID: 168f8515-2da3-0b7e-a8bf-ef87f3d21274
Content: Send events using Node.js - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-node-get-started-send.md
Service: event-hubs
GitHub Login: @ShubhaVijayasarathy
Microsoft Alias: shvija

Updated the code to match the code on GitHub.
#please-close

#please-close


Round TPS to 2 decimal places

Rounding this to 2 decimal places (10.89) would be much more elegant.

Will be fixed in the next release.


running IJulia with a local project environment

I use IJulia with Julia v1.0.0 on Linux. I have IJulia installed only in the project-local environment, rather than the v1.0 "global" environment (see https://docs.julialang.org/en/v1/stdlib/Pkg/index.html#Glossary-1). In that case, the Jupyter kernel does not start properly (observed behavior very similar to #693 but turned out to be unrelated). After turning on Jupyter debug output, I see:
[I 01:55:46.000 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
[D 01:55:46.002 NotebookApp] Starting kernel: ['/home/.../bin/julia-1.0.0/bin/julia', '-i', '--startup-file=yes', '--color=yes', '/home/.../.julia/packages/IJulia/4VL8h/src/krnel.jl', '/run/user/.../jupyter/kernel-....json']
[D 01:55:46.010 NotebookApp] Connecting to: tcp://<IP_ADDRESS>:55337
ERROR: LoadError: ArgumentError: Package IJulia not found in current path:
- Run `Pkg.add("IJulia")` to install the IJulia package.

Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:817
 [2] include at ./boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1038
 [4] include(::Module, ::String) at ./sysimg.jl:29
 [5] exec_options(::Base.JLOptions) at ./client.jl:229
 [6] _start() at ./client.jl:421
in expression starting at /home/.../.julia/packages/IJulia/4VL8h/src/kernel.jl:1
[I 01:55:49.013 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
[D 01:55:49.016 NotebookApp] Starting kernel: ['/home/.../bin/julia-1.0.0/bin/julia', '-i', '--startup-file=yes', '--color=yes', '/home/.../.julia/packages/IJulia/4VL8h/src/krnel.jl', '/run/user/.../jupyter/kernel-....json']

Turns out if I install IJulia also in the v1.0 "global" environment, it works.

Jupyter launches IJulia with basically julia kernel.jl … your local project is not activated there, I think?

Ok, now I understand why this is happening and was surprising to me. Before Julia shipped its own "built-in" environments, I used virtualenv + Playground.jl. Both of which remained active for newly spawned Jupyter/Julia processes, and hence explicit activation of the environment inside IJulia was not necessary.

How about adding a remark like this to the readme?

Since creating local projects is a somewhat specialized thing in Julia (most users don't do it right now), I would put it later in the README.   It would also be nice to note that you can install a kernel that launches into a particular project by passing -e 'import Pkg; Pkg.activate("myproject")' -L /path/to/kernel.jl, maybe with a patch to make this easier.

Fixed by #820.


Update domains.rb

The domains:add had no function and would throw:
/Library/Ruby/Gems/2.0.0/gems/dokku-cli-0.1.1/lib/dokku_cli.rb:69:in method_missing': undefined method domains_add' for #DokkuCli::Cli:0x007f9d84017998 (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/dokku-cli-0.1.1/lib/dokku_cli.rb:65:in method_missing' 	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:29:in run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:126:in run' 	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' 	from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start'
from /Library/Ruby/Gems/2.0.0/gems/dokku-cli-0.1.1/bin/dokku:5:in <top (required)>' 	from /usr/bin/dokku:23:in load'
from /usr/bin/dokku:23:in `'

Thanks you very much for the fix!
I will push a new version to rubygems right away!


Nuke Launch Error

I followed every steps in the description for installation, yet I encountered the following error:
NukeX 15.0v4, 64 bit, built Feb  6 2024.
Copyright (c) 2024 The Foundry Visionmongers Ltd.  All Rights Reserved.
Licence expires on: 2025/3/17
Traceback (most recent call last):
File "C:/Program Files/Nuke15.0v4/plugins/NukeSamurai/menu.py", line 4, in
from scripts.nuke_samurai import CreateSamuraiNode, UpdatePath, GenerateMask, BoundingBox, InputInfos
File "C:\Program Files\Nuke15.0v4\pythonextensions\site-packages\shiboken2\files.dir\shibokensupport_feature_.py", line 142, in import
return original_import(name, *args, **kwargs)
File "C:\Program Files/Nuke15.0v4/plugins/NukeSamurai\scripts\nuke_samurai.py", line 6, in
import torch
File "C:\Program Files\Nuke15.0v4\pythonextensions\site-packages\shiboken2\files.dir\shibokensupport_feature.py", line 142, in import
return original_import(name, *args, **kwargs)
File "C:\Users/USER/AppData/Local/Programs/Python/Python310/Lib/site-packages\torch_init.py", line 132, in
raise err
OSError: [WinError 127] 找不到指定的程序。 Error loading "C:\Users/USER/AppData/Local/Programs/Python/Python310/Lib/site-packages\torch\lib\c10_cuda.dll" or one of its dependencies.

Please open the issue at the corresponding repo.


Doesn't support subtitles

I can't find ANYWHERE how to setup the subtitles on an archive, it just doesn't support, there's nothing i can do, but even though you write on the description that it DOES support
I tried dragging the srt file, i tried opening a menu or something by cliicking the right button, and nothing works, nothing

Hello @hrqmonteiro
Movie Monad supports subtitle tracks found inside the media container.
If your video doesn't have subtitle tracks, you can do something like this.
# https://mkvtoolnix.download/doc/mkvmerge.html
mkvmerge -o video-with-subtitles.mkv video.ext --default-language lang subtitles.srt

Where ext is the extension of your video and lang is the language of the subtitles.
mkvmerge --list-languages

This will give you a list of supported languages. Be sure to use the ISO639-2 code for lang. So for example.
mkvmerge -o video-with-subtitles.mkv video.webm --default-language eng subtitles.srt

You can now open video-with-subtitles.mkv with Movie Monad and select the added subtitle track.

:+1:


c# deserialize json to extend class incorrect

Godot version:
godot-mono 3.3
OS/device including version:
OSX 10.15.7
Issue description:
i want deserialize json to an extend class ,when i run main.tscn in godot engine,it's correct ,

but when i export project to Mac OSX and run app in terminal,the log is different to in engine.

the extend class new property is not be seted;
Steps to reproduce:
run main.tscn,look output log,then export project , run app in terminal,compare the output log
Minimal reproduction project:

sorry,this is my project https://github.com/crasy1/Test

i think it would also happen when export to other platform

c# api GetPropertyList miss custom properties when export to platform, use c# System.Reflection replace is better.


I would like to be able to assign dead letter queue handler in lift

Start from the Use-case
For now we can assign the handler for the queue, but when they fails messages goes to the dead letter queue - would be really nice if we could assign handler for that queue too
Example Config
No response
Implementation Idea
deadHandler: . ?

Could you detail what you would achieve with this setup?

Sorry for long delay.
I mean i would like to parse them by common lambda that would be handling dead deadletters

More details:
i have a workflow, that moves the ,,ticket'' from one queue to another (they must be executed in order).
But when the ticket goes into deadletter queue, i want to grab it by lambda, try to reexecute it, and if its failing - remove from the deadletters but do some things - close the workflow for the ticket and so on.  Without providing the lambda on lift config for dead letter lambda-handler, its quite a task.

@Setitch did you find any solution? @mnapoli any updates on the issue?

@kamalnathlp sadly not yet, which is real shame

DLQ url and arn are now exposed via variables. You can use those to attach a specific lambda handler.


Run separate merge queues for separate branches

In particular, each release branch has it's own e2e test validating the release branch. Merges to the release branch shouldn't be blocked if e2e tests at HEAD are failing, and merges to HEAD shouldn't be blocked if tests against the release branch are failing.
We currently have 2 release branches (release-1.0 and release-1.1) that should have separate merge-bots configured.
/cc @lavalamp @eparis

Concretely I think we should have different go-routines in the same binary.
--brendan

Sure, I didn't want to specify an implementation, just the desired behavior.

This goes along with the work I've been doing to set up critical builds for the release-1.1 branch.  I can try to move the needle on this at some point, but, Brendan, feel free to take this if you want.

We should also just consider only allowing the merge-bot to merge to master.  The flow of PRs to a release branch should be slow, (they're all cherrypicks,) and we should be skeptical of all of them.
What do you think @brendandburns?
FYI @quinton-hoole @fgrzadkowski

Yes, please.

SGTM.

/cc @kubernetes/sig-testing

I think this is actually subsumed/changed/fixed by @eparis's work on auto-cherry-picking.


centroid analysis should have option for individual geometry or entire dataset

A common operation in analysis is to find the centroid of all polygons in a dataset, row by row. Currently this is possible though the centroid from geometries analysis, but a user has to know to select the cartodb_id as the category, which is not obvious.
This analysis should have an option that allows the user to produce centroids without having to choose the categorize options.. maybe a tick box that is just for each geometry individually which then greys out the categorize option?
also camshaft repo: https://github.com/CartoDB/camshaft/issues/127
cc @saleiva @rochoa

Moved to design, let me close this one :kiss: thanks Andye!


Develop AiiDAlab: AiiDAlab package

AiiDAlab package: responsibilities & core features.

For information: this is where one can take information from: https://github.com/aiidalab/aiidalab/wiki#infrastructure


operator aqua-operator-certified (v6.2.21293)

adding first operator

will create a new one

Please review the instructions for submitting an operator bundle for certification.

will open it after again


Binary Data type not Supported as Stated in Documentation

The documentation on this page states that the binary data can be passed to the AI transformation. The web.contents() function returns an "any" data type which is acceptable to pass. However, using the binary data type causes an error in the M function. Probably a bug in the AI function but should also be called out with the other notices on the page.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 86f95078-89ba-6ba2-231b-b130755c8510
Version Independent ID: 8f152dab-fea9-714a-f97e-f0d68109151f
Content: Connect to AI Insights in Power BI Desktop - Power BI
Content Source: powerbi-docs/transform-model/desktop-ai-insights.md
Service: powerbi
Sub-service: pbi-transform-model
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @Saltzmea . This issue has been assigned to the doc author for review.

Thanks for your comment, @Saltzmea . This looks like a support request or product question rather than documentation feedback. You might find a solution in the Power BI Community, at https://community.powerbi.com. If not, you can get support by going to https://support.powerbi.com. I did hear back from the product PM and she requested that you submit this as a product bug so that they can investigate.
Take care
the DOCS team


Confirm close on create post

#974 Confirm close on Create Modal
Description
If user makes any changes to the Create Modal and clicks outside of the window or closes the modal, a confirmation prompt will appear.
How to Test:

In the create discussion modal, make changes to any field.
Click outside of the window and/or attempt to close the modal.
Confirmation window will popup, prompting to either return to the create modal or discard post.

thanks Tibet, I will work on the change request and connect with you later today to look at topic changes.