Doc on data sharing between filters

Transferring content from this design doc (https://docs.google.com/document/d/101Rcggh7flniYKgsr2T07yHXApywbnXiKj1hIpxX6yQ/edit#) where we decided on the types of shared state that Envoy would support for cross filter communication.
Note that some of this is not merged into Envoy yet (typed metadata, write-many filter state), but should be completed soon.
Signed-off-by: Shriram Rajagopalan<EMAIL_ADDRESS>

Is it expected that there is still more discussion around this doc or are we just transferring the end state of the discussion into official docs at this point?

Transferring all content..

If it is possible to insert multiple envoy.lua filters in a filter chain, then my requirement is already satisfied.

@mattklein123 / @htuch updated

Here is the web preview: https://112500-65214191-gh.circle-artifacts.com/0/source/generated/docs/intro/arch_overview/data_sharing_between_filters.html#arch-overview-data-sharing-between-filters


[sigh] Add support for specifying short and bundle versions separately

resigh.sh updates:

Update help message
Add code for updated CFBundleShortVersionString and CFBundleIdentifier
Prevent clashes with -x/--version-number option

Add short_version and bundle_version options to resign action
Add short and bundle version options to sigh resign executable
Issue discussion: https://github.com/fastlane/fastlane/issues/4361

@mgrebenets Thanks 👍  I'll merge this just before doing a sigh and fastlane release (hopefully this week, possibly next)


Add missing legend to celltype report

It appears we may be missing the legend for the celltype report's SingleR/CellAssign comparison heatmap. We should look into this!

closed by #702


Parse RegExp in whitelist urls

@gabz75 did it for ignoreErrors in #51, we could stretch the extra mile and make it work for the whitelistUrls option.
Relates to #49

Can we please merge this? This currently makes whitelistUrls unusable if you have a dynamic filename (cache busting).

Nevermind, I think the current RegExp parsing in #51 is confusing and possibly harmful.

Resolved by #83


Spacing between buttons is impacted when button settings are changed

Hi Vincent,
The spacing between buttons is impacted when button settings are changed (permanently) , e.g. when you use a different background color in template options.
It seems class fab-left gets changed in left.

Is there also a short term fix?

Hi,
For now, please

Go to Shared Components
Go to Templates,
Edit "Button - Standard".
Under Advanced Template Options, change Float to "No Option Selected".
Go back to your buttons and remove the float template option if it's not already removed.

Thanks for finding this, it's been fixed for next release.

Can it be the trick does not work for model buttons?

Hi @deraaij,
You should know that I removed the "Float" template option in version 0.9.0. Having the buttons "Floating" left or right was making design very difficult. In the meantime, you can apply some additional margin manually.


Scrollbar not appearing

Hello, I have a problem with the scrollbar not appearing in the debugger.
It's the case for both horizontal and vertical scrollbars.
Sometimes it's a really big problem because I can't see the SQLalchemy query that I'm interested in.

This was fixed in #182 but it has not been released.


Added a notebook on basic of using raw to rgb conversion

@oskarflordal can you add the tutorial here ? https://github.com/kornia/tutorials/blob/master/source/index.rst
otherwise won't be generated - same for yuv


Seems like assert_configuration() (and presumably also assert_reading()) are broken for numpy array types. I guess they probably were already broken before these changes, but one of the tests in dodal uses assert_configuration and I encountered this as I'm currently in the process of going through dodal and mx-bluesky to test out this PR.

          Seems like `assert_configuration()` (and presumably also `assert_reading()`) are broken for numpy array types. I guess they probably were already broken before these changes, but one of the tests in dodal uses assert_configuration and I encountered this as I'm currently in the process of going through dodal and mx-bluesky to test out this PR.

I will keep you posted if I find any other issues.
Originally posted by @rtuck99 in https://github.com/bluesky/ophyd-async/issues/594#issuecomment-2428651732
I suggest that we move the assert functions into a new ophyd_async.testing package, make pytest a dependency of it, then use pytest.approx on the value

The other alternative is to document that you should use pytest.approx in your test code when testing for arrays:
async def test_assert_reading_array(mock_signal_array: SignalRW):
    set_mock_value(mock_signal_array, [1, 2, 4.5])
    dummy_reading = {
        "mock_signal": Reading(
            {"alarm_severity": 0, "timestamp": ANY, "value": pytest.approx([1, 2, 4.5])}
        )
    }
    await assert_reading(mock_signal_array, dummy_reading)

@rtuck99 do you prefer moving ophyd_async.core.asset_* to ophyd_async.testing.assert_* and adding the pytest approx there, or writing docs that tell people to put pytest.approx in their code?

An in between option: do the pytest import directly inside assert_reading, wrapping any numpy array value with pytest.approx and adding "timestamp": pytest.ANY and "alarm_severity": 0 if they don't already exist

Decided to move things to ophyd_async.testing in #695, so this ticket is to add pytest.approx to the functions

@Relm-Arrowny are you interested in taking this on?

@Relm-Arrowny are you interested in taking this on?

sure, sound easy enough.


Fixes AttributeError in #2853

Updates deepspeed/monitor/monitor.py to instantiate objects with correct configs
Relevant issue:
https://github.com/microsoft/DeepSpeed/issues/2853

@awan-10 @jeffra would it be possible to get a review on this
(should pass + be straightforward)


#200 Switch to upstream rabbitmq testcontainer

#200

Codecov Report

Merging #205 into develop will decrease coverage by 0.07%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #205      +/-   ##
=============================================
- Coverage      85.16%   85.08%   -0.08%
+ Complexity       415      410       -5
=============================================
  Files            107      106       -1
  Lines           1328     1321       -7
  Branches          19       19
=============================================
- Hits            1131     1124       -7
  Misses           189      189
  Partials           8        8

Impacted Files
Coverage Δ
Complexity Δ

...com/playtika/test/rabbitmq/RabbitMQProperties.java
85.71% <ø> (-1.79%)
4 <0> (-1)

...bbitmq/EmbeddedRabbitMQBootstrapConfiguration.java
100% <100%> (ø)
4 <0> (-1)
:arrow_down:

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 64b9e37...0fed93d. Read the comment docs.


bug: gas_limit lower than intrinsic gas should not increase sender nonce

Bug Report
Kakarot version
In Geth https://github.com/ethereum/go-ethereum/blob/16ce7bf50fa71c907d1dc6504ed32a9161e71351/core/state_transition.go#L432-L436 the nonce of the sender is only increased after a check that the gas_limit of the tx is higher than the intrinsic gas. Otherwise, the execution of transaction doesn't even begin and the nonce is not increased.
Globally, in these following cases, the validation should fail and the nonce should not be increased:
	// 1. the nonce of the message caller is correct
	// 2. caller has enough balance to cover transaction fee(gaslimit * gasprice)
	// 3. the amount of gas required is available in the block
	// 4. the purchased gas is enough to cover intrinsic usage
	// 5. there is no overflow when calculating intrinsic gas
	// 6. caller has enough balance to cover asset transfer for **topmost** call

What has been done for now:

Emitted a special error message, returned as return data
This message is handled by the EF-Test runner to validate tests, even though the nonce is increased.

@obatirou check that with #1240 this is solved plz

With current #1240 implementation, the execution will begin anyway (as the intrinsic gas is still calculated in the interpreter).
There is also no overflow checks when calculating the intrinsic gas for now.
But the nonce should not be increased anymore. I will look into ef-test runner where the test validation is done with special error message and modify to check the nonce.

This line is where the validation is done in the ef-test runner here
(thank you @enitrat for the pointer)
This should be modified to ensure tests are still passing without it. It will impact ssj tests and this change should be tracked in the ssj repo
Note: intrinsic gas is still calculated in the interpreter here


Slicing ParticleSet object

Currently indexing a particleset doesn't work with slice objects.
pset[0]
- > gives first particle

pset[:7]

self = <parcels.particledata.ParticleData object at 0x1620e3110>, index = slice(None, 7, None)

    def get_single_by_index(self, index):
        """Get a particle object from the ParticleData instance based on its index."""
>       assert type(index) in [
            int,
            np.int32,
            np.intp,
        ], f"Trying to get a particle by index, but index {index} is not a 32-bit integer - invalid operation."
E       AssertionError: Trying to get a particle by index, but index slice(None, 7, None) is not a 32-bit integer - invalid operation.

It would be a nice quality of life change for pset to support slicing

Hmm. I think if we support slicing then we would need the return value to be a ParticleSet (as its best practice to return the same type as the item we're slicing). Users can do [pset[i] for i in range(10)] if they want to extract a list.
@erikvansebille do you think:

Creating a new pset which is a sliced (by index) version of the original is useful
Do you know if we already have existing tooling that I can leverage to implement this?

My answers would be no for (1) (as least, not significant'y more useful than just defining lon and lat) and "can't find any" for (2), but maybe you have a different perspective.
I think the error message provided is informative enough about only integers being supported. Closing as not planned for the time-being.


SR-12050: lldb error: could not build C module 'CNIOBoringSSLShims' (Linux 5.1.3) when debugging

When invoking the Swift compiler, SwiftPM was passing search paths to C headers as "-I" arguments.  But it wasn't prefixing them with "-Xcc" so they were being interpreted by the Swift driver and not Clang.  This meant that they weren't recorded as serialized import paths in the AST.  It isn't fully clear why they are needed when building the module in response to the debugger or REPL but not when building using the compiler, but it is clear that these are C header search paths and not Swift module search paths, so they should indeed be passed using "-Xcc" prefixes.
rdar://58709835

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

Looks like I missed a Linux-specific unit test.  Investigating.

Looks like I missed a Linux-specific unit test.  Investigating.

Looks like I missed a Linux-specific unit test. Investigating.

So, 1) it's not Linux-specific, and 2) it's a SourceKit-LSP test (which is why local unit tests all passed and the self-hosted test passed).  Looks as if we have a revlock issue here on the SourceKit-LSP tests.  @benlangmuir what's your view on how we should address this, since these are in two different repos and neither change will succeed on its own.  Could the SourceKit-LSP tests become a bit less specific about whether we're passing -Xcc?

Looks like I missed a Linux-specific unit test. Investigating.

So, 1) it's not Linux-specific, and 2) it's a SourceKit-LSP test (which is why local unit tests all passed and the self-hosted test passed).  Looks as if we have a revlock issue here on the SourceKit-LSP tests.  @benlangmuir what's your view on how we should address this, since these are in two different repos and neither change will succeed on its own.  Could the SourceKit-LSP tests become a bit less specific about whether we're passing -Xcc?

Talked with @benlangmuir and opened https://github.com/apple/sourcekit-lsp/pull/362 to make SourceKit-LSP's unit test accept both forms of command line until this PR has been merged.

Talked with @benlangmuir and opened https://github.com/apple/sourcekit-lsp/pull/362 to make SourceKit-LSP's unit test accept both forms of command line until this PR has been merged.

SourceKit-LSP fix has now landed.  Restarting tests.

SourceKit-LSP fix has now landed.  Restarting tests.

@swift please smoke test

@swift please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

Once the tests pass, this can be merged to main.  I have already opened a 5.4 PR for SourceKit-LSP, which a 5.4 PR of this fix will then require.

Once the tests pass, this can be merged to main.  I have already opened a 5.4 PR for SourceKit-LSP, which a 5.4 PR of this fix will then require.


#8 implement serde feature

closes #8

Thank you very much for your contribution!

Wow, that's fast, thank you for merging and deploying 👍


gradle wrapper outdated?

your gradle-wrapper.properties states
 distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

which cannot be true, as your project uses JDK 17, which is not supported by that ancient gradle version. Could it be the wrapper is outdated, and you just forgot to replace it? You can impossibly have compiled the app with that. According to your workflow you use JDK 18 with that gradle even – I cannot fathom how that should work :wink: Java 17 would require gradle 7.3+, Java 18 even 7.5+.
Any chance you could update the gradle wrapper? Probably the change here from 7.0 to 3.3 was a typo, and you meant 8.3? Thanks in advance!
PS: I've tried building v1.5.1 with injecting gradle 8.9, but the build failed:
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:2.2.3.
     Searched in the following locations:
       - https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom
     Required by:
         project :

JCenter is dead. Maybe you can use a newer version of the plugin? There are several available from Google's Maven.

Can you make pull request?

I'm no Android dev, sorry – I just try to compile from source and interpret the errors. I don't even know which gradle version you'd need (or used to compile the current APK).
For some background: At IzzyOnDroid (where your app is currently listed – be welcome to pick a badge and link there e.g. from your Readme) we support Reproducible Builds (see: Reproducible Builds, special client support and more at IzzyOnDroid). For that, we need to be able to compile from your source.
We'd appreciate if you could help making your build reproducible. We've prepared some hints on reproducible builds for that.
Looking forward to your reply!
cc @obfusk

It looks like that workflow was never run. And Android Gradle Plugin 2.2.3 -- which I doubt was ever on JCenter as Google uses their own maven repo -- is from 2016/2017. That would match Gradle 3.3 (presumably built with Java 8). I also see minSdkVersion 12 and targetSdkVersion 20, suggesting the app is indeed using a pretty old toolchain. Which likely means Reproducible Builds won't be possible.

Thanks Fay!
@nikita-yfh any plans to lift that up? If not, I'd say we have to drop the app from our RB queue (RB is not mandatory, just strongly recommended). No bad feelings if that's what you prefer, though a matching update would be what we prefer :wink:

I have deleted the new PR from the history.
Then I was sure that the new PR would not break anything, and after that I did not check compilation, it's my mistake.
This version must compile.

I don't see a new commit – maybe you forgot to push? Also, we'd then need a matching APK (built from that commit) to compare against. Thanks!

PS, as there might be a slight misunderstanding: we were not using any Github CI there. We use this recipe:
---
repository: https://github.com/nikita-yfh/android-adb-tools.git
updates: releases
versions:
  - tag: 1.5.1
    apks:
      - apk_pattern: apprelease\.apk
        apk_url: https://github.com/nikita-yfh/android-adb-tools/releases/download/1.5.1/app-release.apk
        build:
          - ./gradlew assembleRelease
          - find . -name '*.apk'
          - mv app/build/outputs/apk/release/*unsigned.apk /outputs/unsigned.apk
        build_home_dir: /build
        build_repo_dir: /build/repo
        build_user: build
        provisioning:
          android_home: /opt/sdk
          build_tools:
          cmake:
          cmdline_tools:
            version: '12.0'
            url: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
            sha256: 2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258
          extra_packages: []
          image: debian:bookworm-slim
          jdk: openjdk-17-jdk-headless
          ndk:
          platform:
          platform_tools:
          tools:
          verify_gradle_wrapper: true

with rbtlog as the task is about confirming Reproducible Builds, also see Reproducible Builds, special client support and more at IzzyOnDroid (as mentioned above).

I didn't make a new commit, I just rolled back to delete broken commits.
Are you sure about using the noroot branch? The functionality in it is far from fully implemented. The oldroot version works completely

APK build for noroot branch is coming soon...

Are you sure about using the noroot branch?

We do not use branches directly, but just follow the tag. We build from the commit the tag points to. And yes, tag points to e36f1e0b4af84e86273d911cb20192beacde29a0 which is the top of the noroot branch right now. And where the gradle wrapper points to a 10 year old gradle version which cannot work with JDK 17 as it doesn't know of it, see my initial post. You cannot have build the APK at that release with that wrapper.

which cannot work with JDK 17

Indeed, the workflow -- which never ran AFAICT -- was likely broken.

You cannot have build the APK at that release with that wrapper.

Not with Java 17. I'm assuming 8 was used. Which should work, except for the missing dependencies.

tag points to e36f1e0 which is the top of the noroot branch right now.

Which strongly suggests the tag is not pointing to the commit from which the APK was built. That seems to be the oldroot branch.

I'm assuming 8 was used.

That would even work with gradle-3.3, yes (it's the newest JDK supported by that gradle version). And the missing dependency most likely locally cached, would be my guess…

Which strongly suggests the tag is not pointing to the commit from which the APK was built. That seems to be the oldroot branch.

I don't understand how did this happen. All of this releases are from oldroot branch
How I can fix it?

First, to update your gradle-wrapper properly:
Open a terminal in your project’s root directory. Run the following command to update the wrapper JAR and other related files:
./gradlew wrapper --gradle-version [VERSION]

Replace [VERSION] with the latest Gradle version (e.g., 8.10.1).
And btw: it's outdated in both branches – both have gradle 3.3.

I don't understand how did this happen.

As for the tag and the APKs: Tag 1.5.1 points to commit e36f1e0b4af84e86273d911cb20192beacde29a0 – which is the top of the noroot branch and was committed in 11/2022. The data on top of this screenshot is from when the tag was created:

The APK was rather built from commit 7953bb7c98cf9530071911d329cf4d5bc9f13886 – as that's where the version was adjusted accordingly:

And that commit is from 12/2023, matching the date of the APK and of the tag. So you've just tagged the wrong commit – most likely you had temporarily checked out the other branch and then just tagged "where you were".

How I can fix it?

By taking care what branch you are in when building / committing, mostly: having everything tested for release, make sure to commit the latest changes, have a clean tree, tag that and right after that build your release APK (it's fine to build before tagging, but make sure to change NOTHING between your last commit and creating the tag except for building the APK, so everything is in sync.

Nikita, one more thing. And please don't get me wrong with this question – absolutely no offense meant, but this is about security. Your app needs root powers – your Readme clearly states that. How fit are you in that area? Are there any risks involved for those using your app? As maintainer of the repo distributing your app I must ask this question at this point, sorry. It's totally fine to have gaps (I openly admit mine too when being asked – Fay certainly can confirm that, and she taught me a lot). If there are risks involved, they should be named – that's also what disclaimers are for. To protect both, those using your app – and you as well.
While the license (here: MIT, third paragraph) includes a generic disclaimer ("… WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED …"), people accept that as "salvatory clause". If there are specific risks one would not expect, they should better be pointed out – especially with a root app. </teacher-mode> Again, no offense meant. My worries might be totally unwarranted, and you probably just got confused by git…

https://github.com/nikita-yfh/android-adb-tools/releases/tag/1.5.2

Are there any risks involved for those using your app?

We need root only for launching Adb and Fastboot binaries. Basic actions in app can't damage your system, because it doesn't use host file system except for /sdcard and app directory in /data/data.
Of course, you can damage your system by typing " rm -rf /* " in the app command line... Therefore, it is assumed that the user will not intentionally break the device.

With 1.5.2, your app unlisted itself from IzzyOnDroid:
Binary files /web/ftp/repo/fdroid/repo/ru.nikita.adb_6.apk and /web/ftp/repo/fdroid/repo/ru.nikita.adb_1.5.2.apk differ
2024-09-11 19:48:31,677 ERROR: No signing certificates found in repo/ru.nikita.adb_6.apk
2024-09-11 19:48:31,677 WARNING: Skipping 'ru.nikita.adb_6.apk' with invalid signature!
2024-09-11 19:50:44,149 WARNING: Found graphics without metadata for app "ru.nikita.adb"!

This means you forgot to increase versionCode and forgot to sign the APK – so the unsigned APK overwrote the last version present. Unsigned APKs are not accepted in the repo, so nothing remained to be listed ("without metadata" means there was no APK left and thus the metadata have been dismissed)…
As for root: my question was less about why the app might need root. I was more concerned about your experience with programming in general – seeing how many things went wrong here: gradle wrapper being out of sync. you refer to a workflow that was never run. your release tag points to the wrong branch. the app does not build. you forget to increase versionCode and signing, too… Mistakes happen to the best of us, but they should not sum up that much. So again, honest question asking for a honest answer: how much do we need to be concerned? There is no shame in being a beginner, we all have been beginners once. But with an app that uses root powers, this must be transparent – not everyone is willing to take extra risks there for their main (or only) device. And once more: no offense meant, but as maintainer of IzzyOnDroid I must make sure.

Mistakes happen to the best of us, but they should not sum up that much.

Two years ago, when I was still writing this application, I did not make such mistakes. Now I'm working on a completely different project, and I haven't worked with Android for more than a year. I hope you will understand me :)

So again, honest question asking for a honest answer: how much do we need to be concerned?

On the 4pda forum my app has more then 2k downloads, and no one had a problem with that. Probably the only serious problem was that the ADB daemon does not run correctly on some fairly old devices. I still haven't been able to solve this problem. But I can't install minSdk correctly either, since the application works fine on many older devices. I am sure that there is no point in worrying that the ADB or Fastboot binary will accidentally break the system on its own.
So, I started working on the noroot version because the Android API should work the same on any device. But it's still not ready.

Mistakes happen to the best of us, but they should not sum up that much.

Two years ago, when I was still writing this application, I did not make such mistakes. Now I'm working on a completely different project, and I haven't worked with Android for more than a year. I hope you will understand me :)

So again, honest question asking for a honest answer: how much do we need to be concerned?

On the 4pda forum my app has more then 2k downloads, and no one had a problem with that. Probably the only serious problem was that the ADB daemon does not run correctly on some fairly old devices. I still haven't been able to solve this problem. But I can't install minSdk correctly either, since the application works fine on many older devices. I am sure that there is no point in worrying that the ADB or Fastboot binary will accidentally break the system on its own.
So, I started working on the noroot version because the Android API should work the same on any device and there is no need for ADB/Fastboot binaries. But it's still not ready.


How we can pause the AutoPlay

@akiran
I'm using your component, and got stuck with a feature that I think is very necessary: how we pause the autoplay of the carousel. I've tried to do this manually and not worked. After taking a good look at your Issues, I saw that had feedback on this feature, and even Pull Requests resolution. I don't know if you've implemented it, but I think it is necessary.
Thanks!

Mabye getting https://github.com/akiran/react-slick/pull/142 merged would help. I know I'm looking for something similar and pausing on hover would be good enough for my project. I thought about a button to trigger pause/resume but I wouldn't know which prop/thing? to change.

Merged #142

You should add pauseOnHover to the property list on the readme


Rserve example

Hi,
In the cedar14 branch, there is a test that starts a Rserve server in heroku, I am trying to make it work with the new heroku16 branch but I am having some trouble.
The rserve process seems to be running well but when I try to connect I receive an error saying: "Handshake failed: Rsrv signature expected"
I copy most of the code from here: https://github.com/virtualstaticvoid/heroku-buildpack-r/tree/cedar-14/test/rserve
Do you have an idea of what might be wrong?

Hi @alexd16
Apologies, I haven't had a chance to try and replicate your issue. I hope to have a go in the coming days.


Slowdown caused by mlang.dll!CMLFLink2::GetFontCodePages

Tested under both Glulxe and Git, both using Glk.dll with file version <IP_ADDRESS>, and tested under multiple stories (first noticed with The Wizard Sniffer but reverified with Counterfeit Monkey), there's a noticable delay when issuing a command to the story (e.g. more than half a second under Wizard Sniffer). Running an ETW trace to locate the issue indicates massive CPU usage on the function CMLFLink2::GetFontCodePages (from mlang.dll) and its callees. This appears in the root element for the process's main thread under WPA, so I'm not 100% sure if it's from Glk or other common code between Glulxe and Git; regardless, neither of those processes should be dealing with the system's font interfaces directly, so I'm inclined to believe it's a Glk issue.
EDIT: I just tested Wizard Sniffer under Gargoyle Git; the issue does not arise there, which makes me pretty certain it's in Glk.

Windows Glk does use mlang.dll, which is a part of Windows that provides support for font linking, so that if a game uses a glyph not in the current font, some other font is used instead. I definitely don't see heavy CPU use for calls to GetFontCodePages(). Do you have a lot of large fonts installed in your system?

Cannot reproduce, and no response from original reporter.


Would it be possible to create c# bindings for rres resource packer system?

Issue description
Dealing with exported resources in raylib with c# is complicated right now.
The default way is to copy the resource folder to the output directory but when distributing your game/app all resources are visible to the customer. (among many other problems with that way)
The problem is that loading resources from anywhere else than the disk is very complicated or not possible. (to my knowledge with raylib c# bindings) So my only solution would be to compress/encrypt the resources when building and then uncompress/decrypt them when the game/app is started but then the resources are visible again to the user while the game/app is running.
Raysan already implemented a solution for raylib called rres but it is only available for c right now. The resource packer can already be used to pack all the resources into a rres file but there is no way to load that rres file and transform it into raylib types like image, font, wave, etc. right now.
It would be really nice if there would be separate bindings for rres so it can be used with c# and it would make raylib with c# much more robust.
PS: At least it would be nice to know if you are interested in doing that at all. Because I don´t need it right now and if you would like to do it I am not going to look for another solution.
I will also ask NotNotTech with raylib-cslo bindings.
Thanks!

@SoloByte We are interested in making resource loading easier and the rres project looks good for this. Though we have no plans to work on it at the moment.

@ChrisDill Thanks for the quick response!
I understand, no problem. I figured out a simple solution for packing resources and loading them at runtime. Once done I will post it here for future reference.

This is my simple solution for packing resources into 1 file to make the distribution of the build easier.
I always set this in my project file:
<RunWorkingDirectory>$(MSBuildThisFileDirectory)</RunWorkingDirectory>
to make the paths relative to the project.
You need a single folder containing all the resources you want to pack. I mostly just have a resources folder with a structure like that in my project:
resources
-gfx
--exampe-texture.png
-audio
--sfx
---example-sound.wav
--music
---example-music.ogg
-fonts
--example-font.ttf
-shaders
--example-shader.fs
To pack your resources you just have to call:
string sourcePath = "resources"; //because it is relative to the project that is enough
string outputPath = ""; //empty path puts it in the root of your project and the file is always called resources.txt
ResourceManager.Generate(sourcePath, outputPath);

And when you run the game in visual studio the file is created.
When you build the game and you want to launch it from the .exe file make sure to comment out the ResourceManager.Generate(sourcePath, outputPath) Function Call!
Additionally you can right-click on the newly created resources.txt in visual studio, go to properties, and set "Copy To Output Directory" to "Always Copy" so the file is copied to the output directory when you build the game.
You could make a separate console app with the source code and use the .exe file in a pre-build event in visual studio to automate the process of packing the resources.
Loading Resources
You need to create an instance of the ResourceManager Class and give it the path to the resources.txt file.
After that just call any of the Load Functions in the resource manager instance to load resources (Image, Texture, Font, Sound, Music, Shader, Json String).
var resourceManager = new ResourceManager(""); //because file is in the root of the project "" is enough
var texture = resourceManager.LoadTexture("example-texture");
var sound = resourceManager.LoadSound("example-sound");
var music = resourceManager.LoadMusic("example-music");
var font = resourceManager.LoadFont("example-font", 100);
var shader = resourceManager.LoadFragmentShader("example-shader");

Source Code
public struct ResourceInfo
{
    public string extension;
    public byte[] data;

    public ResourceInfo(string extension, byte[] data) { this.extension = extension; this.data = data; }
}

public class ResourceManager
{
    private readonly Dictionary<string, ResourceInfo> resources;

    public ResourceManager(string path)
    {
        resources = LoadResources(path);
    }
    public static void Generate(string sourcePath, string outputPath)
    {
        string filename = "resources.txt";
        string[] files = Directory.GetFiles(sourcePath, "", SearchOption.AllDirectories);
        List<string> lines = new List<string>();
        foreach (var file in files)
        {
            lines.Add(Path.GetFileName(file));
            var d = File.ReadAllBytes(file);
            lines.Add(Convert.ToBase64String(Compress(d)));
        }
        File.WriteAllLines(outputPath + filename, lines);
     }

    public Texture2D LoadTexture(string name)
    {
        return Raylib.LoadTextureFromImage(LoadImage(name));
    }
    public Image LoadImage(string name)
    {
        unsafe
        {
            var data = resources[name].data;
            var extension = resources[name].extension;

            fixed (byte* ptr = data)
            {
                fixed (byte* p = Encoding.ASCII.GetBytes(extension))
                {
                    sbyte* sp = (sbyte*)p;
                    return Raylib.LoadImageFromMemory(sp, ptr, data.Length);
                }
            }
        }
    }
    public Font LoadFont(string name, int fontSize = 100)
    {
        unsafe
        {
            var data = resources[name].data;
            var extension = resources[name].extension;
            fixed (byte* ptr = data)
            {
                fixed (byte* p = Encoding.ASCII.GetBytes(extension))
                {
                    sbyte* sp = (sbyte*)p;
                    return Raylib.LoadFontFromMemory(sp, ptr, data.Length, fontSize, (int*)0, 300);
                }
            }
        }
    }
    public Wave LoadWave(string name)
    {
        unsafe
        {
            var data = resources[name].data;
            var extension = resources[name].extension;
            fixed (byte* ptr = data)
            {
                fixed (byte* p = Encoding.ASCII.GetBytes(extension))
                {
                    sbyte* sp = (sbyte*)p;
                    return Raylib.LoadWaveFromMemory(sp, ptr, data.Length);
                }
            }
        }
    }
    public Sound LoadSound(string name)
    {
        return Raylib.LoadSoundFromWave(LoadWave(name));
    }
    public Music LoadMusic(string name)
    {
        unsafe
        {
            var data = resources[name].data;
            var extension = resources[name].extension;
            fixed (byte* ptr = data)
            {
                fixed (byte* p = Encoding.ASCII.GetBytes(extension))
                {
                    sbyte* sp = (sbyte*)p;
                    return Raylib.LoadMusicStreamFromMemory(sp, ptr, data.Length);
                }
            }
        }
    }
    public Shader LoadFragmentShader(string name)
    {
        string file = Encoding.Default.GetString(resources[name].data);
        return Raylib.LoadShaderFromMemory(null, file);
    }
    public string LoadJsonData(string name)
    {
        return Encoding.Default.GetString(resources[name].data);
    }

    private static byte[] Compress(byte[] data)
    {
        MemoryStream output = new MemoryStream();
        using (DeflateStream dstream = new DeflateStream(output, CompressionLevel.Optimal))
        {
            dstream.Write(data, 0, data.Length);
        }
        return output.ToArray();
     }
    private static byte[] Decompress(byte[] data)
    {
         MemoryStream input = new MemoryStream(data);
         MemoryStream output = new MemoryStream();
         using (DeflateStream dstream = new DeflateStream(input, CompressionMode.Decompress))
        {
            dstream.CopyTo(output);
        }
        return output.ToArray();
    }
    private Dictionary<string, ResourceInfo> LoadResources(string path)
    {
        Dictionary<string, ResourceInfo> result = new();
        var lines = File.ReadAllLines(path + "resources.txt");
        for (int i = 0; i < lines.Length; i += 2)
        {
            string filenName = lines[i];
            string name = Path.GetFileNameWithoutExtension(filenName);
            string extension = Path.GetExtension(filenName);
            string dataText = lines[i + 1];
            var data = Convert.FromBase64String(dataText);
            result.Add(name, new(extension, Decompress(data)));
        }
        return result;
    }
}

Thanks @SoloByte your example helped me figuring out how to read a MagickImage directly from memory and display it as a RayLib image (instead write and then read from disk)


SQL Database project - allow schema compare from database into database project and enable generate script / apply

Is your feature request related to a problem? Please describe.
I want to use schema compare from a database source into the project target (as I can do in SSDT) AND generate scripts / apply changes.
Currently, I can compare a database source with a dacpac target. For example with the target "d:\Repos_test\DatabaseProjectWideWorldImporters-test\bin\Debug\DatabaseProjectWideWorldImporters-test.dacpac"
I see differences, but I can't generate script or apply the changes. These options are disabled.
Describe the solution or feature you'd like
I would like to do what I can do in SSDT: update a project from a database
Describe alternatives you've considered
SSDT works, or third party software
Additional context
Add any other context or screenshots about the feature request here.

closing as duplicate of https://github.com/microsoft/azuredatastudio/issues/13308

closing as duplicate of https://github.com/microsoft/azuredatastudio/issues/13308


Websocket not even creating the headers, but still connecting to ws://echo.websocket.org only

Hi everyone,
I have just tried to run the Websockets example in both a Youtube video and also the websocket code samples, so nothing exiting...
I made the example app and yes, it connects to the ws://echo.websocket.org website to do the echo of your text as expected.  You type some text in and press the send button and yes, it responds with the same text........
However,  I then tried to make it connect to my existing server running websockets as well. Should be no big deal. I found it wasn't connecting and just ignores the connection altogether.  So, I captured the packet and have attached them below from WireShark...
websocket flutter test.zip

Then I went back to my original webapp written in NSB basic and does work well... and captured this to my website.....
websocket from app.zip

So, in the first instance the example mobile app written in flutter /dart/in vscode ide seems to echo when sending text to the test site, as per the first sample, the second sample is from my webapp sending to my existing website clearly showing in wireshark that is is upgrading and is now a webocket protocol.
The example code never upgrades to websocket protocol, BUT, it also never even start to send the header asking to upgrade to a wenbsocket it starts instead with a PSH,ACK THEN ACK, THEN ACK, THEN PSH,ACK
Thats not right at all. What stupid thing am I doing wrong here?
flutter doctor shows:
C:\000nav\flutterapp\robtest1>flutter doctor -v
[√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.17134.48], locale en-AU)
• Flutter version 0.4.4 at C:\Users\Rob_Laptop\Downloads\flutter_windows_v0.4.4-beta\flutter
• Framework revision f9bb4289e9 (6 weeks ago), 2018-05-11 21:44:54 -0700
• Engine revision 06afdfe54e
• Dart version 2.0.0-dev.54.0.flutter-46ab040e58
[√] Android toolchain - develop for Android devices (Android SDK 28.0.0)
• Android SDK at C:\Users\Rob_Laptop\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 25.0.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[!] VS Code, 64-bit edition (version 1.24.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Dart Code extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code
[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 6.0 (API 23) (emulator)
! Doctor found issues in 1 category.
The dart code issue is weird... I install it and it goes away, then it comes back and I haven't done anything????
Not sure if this is linked.
Thanks,
Rob.
ps. just to add to the dart install error as you can see here:

If I click on the link to install dart it asks to install on the button..... but in the same pic you can see that in the ide, dart is installed???????

Just to add more detail to this... I rebuilt the same sample flutter websocket example in Android studio instead of visual studio code and it does the same thing.... This is driving me mad..... Any help would be greatly appreciated.

Could you try in plain Dart and see if this does reproduce there as well?
In this case you'd probably get better feedback if the bug is reported in the dart-lang/sdk repo.

I have now tried putting wireshark on the server side and CAN see the correct http get request etc as expected, but it then just dumps the connection with the final response containing the original text.. Very weird.  I am now trying to create a separate websocket server on my server to use Superwebsockets instead of what I had with microsoft standard sockets and then manually creating the response etc in case I have done something wrong.  Either way, I could see the response on wireshark from echo.websocket.org giving the initial text back unaltered in a closing frame. Not what should be happening in websockets. I will keep trying..

https://github.com/flutter/flutter/issues/16875#issuecomment-384758566 might be worth a try

https://github.com/flutter/flutter/issues/11444 might be related as well if the server only accepts headers in a specific casing.

@gatertronics What package are you using to connect to the websocket? Is it https://pub.dartlang.org/packages/web_socket_channel? In that case, https://github.com/dart-lang/web_socket_channel/issues may be a better place to get help with this issue.

Sorry, that was a long time ago. I was using the package that comes with flutter. I don't bother with web sockets anymore. It's easier to just use normal sockets. Sent on the go with Vodafone-------- Original Message --------Subject: Re: [flutter/flutter] Websocket not even creating the headers, but still connecting to ws://echo.websocket.org only (#18630)From: Michael Goderbauer To: flutter/flutter CC: gatertronics ,Mention @gatertronics What package are you using to connect to the websocket? Is it https://pub.dartlang.org/packages/web_socket_channel? In that case, https://github.com/dart-lang/web_socket_channel/issues may be a better place to get help with this issue.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/flutter/flutter","title":"flutter/flutter","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/flutter/flutter"}},"updates":{"snippets":[{"icon":"PERSON","message":"@goderbauer in #18630: @gatertronics What package are you using to connect to the websocket? Is it https://pub.dartlang.org/packages/web_socket_channel? In that case, https://github.com/dart-lang/web_socket_channel/issues may be a better place to get help with this issue."}],"action":{"name":"View Issue","url":"https://github.com/flutter/flutter/issues/18630#issuecomment-450947396"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/flutter/flutter/issues/18630#issuecomment-450947396",
"url": "https://github.com/flutter/flutter/issues/18630#issuecomment-450947396",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

I am closing this as obsolete for now. Anybody, who has more details, should feel free to reopen with those information.


Unable to parse valid Json

Hi,
I am evaluating PipelineDB and hooked it up to a Kafka stream generated by golang's marshaller. So far, no tool had any issues with the JSON, however PipelineDB is acting up on JSON like:
{"screen": "7\" TFT"}

There seems to be double-unescaping going on.

Moving this to: https://github.com/pipelinedb/pipeline_kafka/issues/27


Match avatar to the way they are styled in Slack

Do not use borders. Check the size and rounding of the image.

This is done in PR #833


delete call in API does not call autoClosingPairDelete

I am trying to invoke the autoClosingPairDelete function from the api
In the source code I see:
public static deleteLeft(config: CursorConfiguration, model: ICursorSimpleModel, cursor: SingleCursorState): EditOperationResult {
let r = this.autoClosingPairDelete(config, model, cursor);

So then I call vscode.window.activeTextEditor.edit with an edit.delete for one char to the left. It does not seem that this snippet of code is executed.
Is there an API call to be able to use the autoClosingPairDelete functionality?

Right now the function @xconverge mentioned is bind to command deleteLeft. When you press backspace in vanilla Code, Code will actually execute command deleteLeft. That's why TextEditorEdit.delete doesn't share the same logic.

This is by design. Doing edits via textEditor.edit does not include any magic, it simply applies those edits.


Text-Wrap and restrict column header width

Hi Guys,
Is there a way to restrict the width of the individual columns in the header so that i can split lengthy column names into separate lines ?
BR

Try using
th.md-column {
  white-space: normal;
}

@daniel-nagy thanks man. But it works only when i embed that in style within the  tag and fails to work when i use it was a class outside and call it.

You'll need to use a more specific selector to overwrite the default style
// this is the default
table.md-table th.md-column {
  white-space: nowrap;
}

Or use !important.

Hey its working nicely thanks :+1:


languages.scala: allow disabling certain packages

Most users of Metals get it installed by means of the VSCode extension launching it using Coursier. For many of us, the package is redundant and mostly useless to have in a shell.
I would suggest adding the ability to do something like languages.scala.metals.enable = false;. This would likely be useful to other languages as well.

Someone needs to add languages.scala.packages.metals (for example Rust does the same) and then you would be able to set it to null;

I'm wondering if this approach makes sense? Just because one group of people get something and install it at a system level does not mean everyone would. e.g., I have no scala experience and I do not use VSCode, if I enter a new project I would expect to be able to have everything I need to be (relatively) productive installed for me when using devenv. This would include the language server and other auxiliary of the given language.

Every language client may potentially use a different method of getting the server launcher. For some people it'll be a useful package, others will still need to tell their editor where to find it, for some others it'll be a waste of space. Then there's IntelliJ users. Then there's the possibility that you want to use a different language server.
I think it's up to whoever shares responsibility of the target devenv shell to decide which packages they want to have: e.g. in my team, it's very unlikely we'd have a metals package, and if I was working on a project alone it's guaranteed.
I'm not saying to change the defaults - just give an option to opt out of certain pieces of the module.

I'm thinking we could have a general setting to enable language servers, like language.server.enable = true; that would then apply this to all languages.


Adding animation, bullets to carousel. Hiding carousel for recipe desktop view

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix https://github.com/hlxsites/fonterra-fernleaf/issues/94 https://github.com/hlxsites/fonterra-fernleaf/issues/95
Test URLs:

Before: https://main--fonterra-fernleaf--hlxsites.hlx.page/en
After: https://94-adding-bullets-to-carousel--fonterra-fernleaf--hlxsites.hlx.page/en/products/calciyum/calciyum-cultured-milk-drink

@ujjwal5 @mkbansal1 @sselvara
fyi, I see size of images uneven when reducing browser width:

please consider fixing this too


Support 8.1 per-monitor DPI

Windows 8 and 8.1 have proper DPI settings including DPI per monitor and DPI change events.
Some information can be found here: http://msdn.microsoft.com/en-ca/magazine/dn574798.aspx
Ideally any API created to work with windows DPI would also work with Apple's retina displays.

Please see if the per-monitor-dpi branch works for you.

The remaining bit is HMONITOR DPI.


Slow invoking on Android client

Hi,
I am using your library for an Android app. When I get data on my Android app from my SignalR server invoked from a C# form, the data comes almost instantly. But when I send data from my Android client to my SignalR server, it takes a while before the server gets the data. Now I can't seem to find any solution for it. Do you know any solution? I have also a website that can communicate with the server and this works perfectly.
Regards,
Gillan

erizet i love this library and it works perfect for my project, but the only issue i'm having is that my application crashes when i'm offline. how can i resolve this issue?

First of all, please open a new issue. Then if possible include a stacktrace.


Fix EventEmitter memory leak

This error appears in the shell while the app is running:

(node:82691) Warning: Possible EventEmitter memory leak detected. 11 title listeners added. Use emitter.setMaxListeners() to increase limit

I think it's something to do with our calls like ipcRenderer.send('title', 'Authenticate') to set the window title.

I don't see this bug anymore. If it shows up again we can reopen it!


Destructuring array, ability to explicitly tell the variable is unused

Search Terms

declared but never used noUnusedLocals

Suggestion

When you're destructuring an array, I want some variables/const to be declared but explicitly make them unused. Typescript has a feature of underscoring the unused parameters for functions:
const f = (a, _b) => a

But it doesn't work for array destruction:
const [a, _b] = [1, 2]

The motivation of the current behavior is that you can destruct array like this:
const [, , , d] = [1, 2, 3, 4]

But you can't do this (this is invalid syntax):
const f = (, , , d) => d

But whatever syntax is valid, what I say is that the ability to explicitly say a variable is unused, with leading underscore - it's good practice, it's convenient, and it should be supported when destructuring arrays, not in functions only.
P.S. Originally I've described the issue here - https://github.com/microsoft/TypeScript/issues/31357, but it's wrongly described as a "bug request", so here's a feature request
Use Cases

Today you make some changes to the code that don't require such a variable, so you don't construct it from the array. You had a perfectly named variable, but you remove it. Tomorrow's programmer needs that variable, but he gives it a different name. Of course, there's code review, etc., so eventually it will get a proper name again - it just adds additional communication which is not needed, consumes time which could be used to something more useful.
Additionally, this syntax looks very weird (don't you think?):
const [, , , d] = [1, 2, 3, 4]

Instead, it's much better to have this:
const [_a, _b, _c, d] = [1, 2, 3, 4]

Examples

Having this code:
const [a, _b] = [1, 2]
const [_a, b] = [1, 2]
export { a, b }

To receive no errors from typescript when noUnusedLocals is set to true.

Here's a typescript playground
A gist for that:git clone git@gist.github.com:240a015b7833fd6628c5c8ccfaa7938e.git test-ts-unused
cd test-ts-unused
tsc

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Additional rationale to support this:

More than a few bare commas becomes very tricky to (visually) follow, and is error-prone (particularly for homogenous arrays).

These help document the structure of the array; and is especially helpful when interoperating with less-than-perfectly-typed TS or JS code coming from an external source.

I agree with this and think all underscore prefixed variables should be ignored by the compiler.
This is very confusing for people coming from Go or Rust who are used to being able to ignore any unused variable, not just destructured parameter variables, and it's a much better DX

Please implement this. We have disabled unused local vars ts 6133 because one of our core async libraries uses tuples instead of objects.
Here's a bit more concrete example

I'd also like this. I come from Rust exactly as @zwhitchcox mentions, and was wondering why the compiler is yelling at me for having unused underscored variables in the middle of a 8-element destructured tuple.
Moreover, I feel like with the addition of Variadic Tuple Types in Typescript 4 tuples are going to find much more use, as that is exactly why I have an 8-element typed tuple in the first place - it's constructed by a builder and correctly typed thanks to variadic type parameters.

I would also like this feature as well

Seems reasonable, we'd take a PR on this!


Preserve original parameter structure in MultiOptimizer state

Fixes #1177

Codecov Report

Merging #1180 (7e1468e) into master (bc9ee1a) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1180      +/-   ##
==========================================
+ Coverage   82.36%   82.38%   +0.02%
==========================================
  Files          63       63
  Lines        5257     5264       +7
==========================================
+ Hits         4330     4337       +7
  Misses        927      927

Impacted Files
Coverage Δ

flax/optim/base.py
84.28% <100.00%> (+0.54%)
:arrow_up:

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 bc9ee1a...7e1468e. Read the comment docs.


[Want help] How to use compiled go-sqlite3 on Windows?

I need to use sqlite with case-insensitive future in my project. So I build with
go build -tags "icu"
This command executed without any issue. But it also doesn't give any message that the command was executed successfully. My question is how to use the compiled go-sqlite3 in my go app? I've been googling, chatting with GPT to get any information about using compiled sqlite.

 If so, it should be pretty obvious how to include a Go module like go-sqlite3, right?
https://github.com/mattn/go-sqlite3/blob/master/_example/simple/simple.go

@nur91m As a dotnet developer, you are probably used to a workflow where every library is a DLL that has to be deployed with your application. As @otoolep mentioned, that is not how it typically works in Go; instead you just write your code to import third-party modules in the same way you would your own code (or the standard library), and the compiler will produce a single static executable.

@nur91m As a dotnet developer, you are probably used to a workflow where every library is a DLL that has to be deployed with your application. As @otoolep mentioned, that is not how it typically works in Go; instead you just write your code to import third-party modules in the same way you would your own code (or the standard library), and the compiler will produce a single static executable.

Thanks. I got it worked after your clarification.


Cleanup golangci-lint config

Fix #1859
Dropping the old go vet ./... to use the golanci-lint (that runs the govet linter as well).
Removed the old .golanci-lint-schedule.yml config file.
Cleaned up a bit the .golangci-lint.yml:

removed some old deprecated linter:

WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.

ordered linters specifying the default linters and the extra (see doc: https://golangci-lint.run/usage/linters/)

Note: there is a TODO item in the config that I'm going to check in a different PR, to avoid cluttering this one. :+1:
# TODO convert the regex to errcheck's new ignore file

Codecov Report
Base: 60.23% // Head: 29.58% // Decreases project coverage by -30.65% :warning:

Coverage data is based on head (24140ba) compared to base (d36709d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1870       +/-   ##
===========================================
- Coverage   60.23%   29.58%   -30.66%
===========================================
  Files         179      179
  Lines       14454    14454
===========================================
- Hits         8707     4276     -4431
- Misses       4651     9581     +4930
+ Partials     1096      597      -499

Flag
Coverage Δ

acceptance-api
27.60% <ø> (-18.28%)
:arrow_down:

acceptance-cli
?

unittests
8.24% <ø> (ø)

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

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

That's fine, it make sense to keep the make lint as a quick check, while still have the golanci-lint for a deeper inspection. :slightly_smiling_face:
I was questing myself the same actually (about why keeping the other action at all).

Yes, it's the default config filename. :slightly_smiling_face:


Update how-to-contribute.md

Change my phones if you want to my code
Subscribers
Thanks my codes

If you want to my code subscribers
Thanks my codes


Some smaller fixes

This doesn't cover all the issues there are, you should enable the maximum warning level, this however gets it compiled and the tests seem to pass as far the tests can be trusted.

Style taste (tabs/spaces) is out of scope for this bug fixing PR, I suggest to respect the authors choice here.

The author uses tabs, I accidentally introduced spaces.

The author uses tabs, I accidentally introduced spaces.

Ah, my bad.

I removed the algorithm include and changed std::fill to std::memset instead, I don't think thats the best choice but still beats the raw for loop.

Okay, merged. Thanks for the contribution.


WIP chore(examples): New basic Supabase example demonstrating auth and edge functions

See ./examples/supabase-basic/README.md for how to run.
Note that this depends on a new version of Electric that uses the sub claim in the Supabase JWT rather than user_id. This will be a separate PR.

Hello
Can anyone replace node js with bun as recently bun added support for supabase, would be a good alternative


fix ext_specific_vars bug

Description
fixed error when try to generate 32H tests

Dear @Pagerd
The CTG and ISAC Repo had been moved to riscv-arch-test via PR
https://github.com/riscv-non-isa/riscv-arch-test/pull/495
If you think this PR is important, and need to me merged on to risc-v CTG or ISAC, please re-submit your PR against   riscv-arch-test
This repository shall be archived in about one week time .


App not transcribing

This program worked flawlessly yesterday , but today is not transcribing.  It says it is, but not producing anything.

Could you share which model/task type/language/version you're using?

Hi, actually, I got it to work. I had pending updates that were jacking
with my desktop. My apologies. However, I do want to thank you
immensely for this app!  It is incredible and has saved me an unprecedented
amount of time transcribing for my dissertation. Thank you!
On Wed, Aug 2, 2023 at 5:14 PM Chidi Williams @.***>
wrote:

Could you share which model/task type/language/version you're using?
—
Reply to this email directly, view it on GitHub
https://github.com/chidiwilliams/buzz/issues/544#issuecomment-1663043452,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBSBWAP52I53UTVYY5ZRPY3XTLGMPANCNFSM6AAAAAA225S3IQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Great to hear!


Huge Thanks first

First at all i want to Thank u for This wonderfull Plugin! i mean i saw something like that in the Youtube drama but i wasnt thinking that this will acutally work , i mean sure its still Alpha Phase but im sure this one will go wild :) , if u need any help with testing out stuff like other boss fights form Realm reborn , Heavnsward Stormblood , Shadowbringers and Endwalker , just let me know im sure this will also help for a lot of Ulitmate sutff , like they did in the Videos on reddit and Youtube :)

This is not how you use github

Closing, since it's not an issue.


Whispers appearing in channel

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
When receiving a whisper on Twitch, this whisper also appears in every chat for some reason, instead of only in /whispers. Any idea how to fix this issue? :)
Screenshots

OS and Chatterino Version
Chatterino 2.5.1 (commit eafcb941) built with Qt 6.5.0, MSVC 193833135 Running on Windows 11 Version 23H2, kernel: 10.0.22631

Have you tried turning off the setting "Show Twitch whsipers inline"?

Have you tried turning off the setting "Show Twitch whsipers inline"?

Really? It was that easy?? 😭 Thanks! <3


Enable something similar to foundation zurb`s $include-html-classes

Core of some components done by mixins, and new option of not generating default css. Just like Foundation Zurb does.

I don't understand. Could you explain in more depth?

If you're referring to something specific, like the predefined grid classes, I might do that. Been noodling on a ton of grid improvements for Alpha 2.

For example, we have grid.
I want to have grid with custom classes. Not col-sm-4, but small-4. In this case i can use
.small-4 {
.col(small, 4);
}

It is just for example.
I do include all bootstrap parts, but in variable i enable this option:
@include-css-classes: false;

So i can use mixins to generate custom grid, but no grid classes are generated from compiling bootstrap.
In case of carousell or other parts, maybe leave as is. But if this possilbe each part to do as mixin, then  it would be awasome!
For example:
.menu {
.navbar(default);
}
.links {
.navbar-nav();
}

etc.

Toggle for the predefined grid classes coming in #17259.

If you mean placeholders, we won't be going that route for all our components btw.

If to be exact, placeholders in the mixins. Just like this: http://www.sitepoint.com/sass-mixin-placeholder/
If u are going after libsass now.
If this is possible to turn also for:

buttons (what if i need one or two buttons styls only? And i can specify them?)
labels (sometimes i do like to name class label, and also have bootstrap labels. Would be nice to have those in mixin so i can import them under other name)

The rest can be just movved to placeholder/mixin, so there will be an option to set a custom class name for wells, list-group, alerts etc, But for such complex like component as carousell, it is better to keep as is.

Placeholders are likely out for v4. Too late in the game to re-architect things right now I think.


Incompatibility with packaging>=22.0: cannot import name 'LegacyVersion' from 'packaging.version'

Bug description
pip-audit is incompatible with latest version of packaging, due to removed LegacyVersion
Reproduction steps

pip install  pip-audit
Check that packaging version is >= 22.0
Run pip freeze | pip-audit --no-deps -r - to check the currently installed packages

Expected behavior
pip-audit installs a compatible version of packaging
Screenshots and logs
Traceback (most recent call last):
  File "/usr/local/bin/pip-audit", line 5, in <module>
    from pip_audit._cli import audit
  File "/usr/local/lib/python3.9/site-packages/pip_audit/_cli.py", line 17, in <module>
    from pip_audit._audit import AuditOptions, Auditor
  File "/usr/local/lib/python3.9/site-packages/pip_audit/_audit.py", line 10, in <module>
    from pip_audit._dependency_source import DependencySource
  File "/usr/local/lib/python3.9/site-packages/pip_audit/_dependency_source/__init__.py", line 14, in <module>
    from .requirement import RequirementSource
  File "/usr/local/lib/python3.9/site-packages/pip_audit/_dependency_source/requirement.py", line 19, in <module>
    from pip_requirements_parser import InstallRequirement, InvalidRequirementLine, RequirementsFile
  File "/usr/local/lib/python3.9/site-packages/pip_requirements_parser.py", line 73, in <module>
    from packaging.version import LegacyVersion
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/local/lib/python3.9/site-packages/packaging/version.py)

Platform information

OS name and version: docker, python:3.9-alpine
pip-audit version (pip-audit -V): 2.4.7
Python version (python -V or python3 -V): 3.9.15
pip version (pip -V or pip3 -V): 22.0.4

(If this is due to vendored code from pip, we might want to do whatever pip is now doing instead).

It might also make sense to get a patch release out the door for #427, since pip install pip-audit is probably selecting the wrong packaging version currently.

I think we might want to pursue dropping support for LegacyVersion instead? Going to reopen this to investigate.

Is this something that will be looked at in the future? We are currently having to pin the version of packaging to 21.3 in our dependencies due to the way pipenv works https://github.com/pypa/pipenv/issues/5528 so it would be nice if this restriction could be removed from pip-audit.
Thanks!

Thanks for the quick turnaround for this. Is there an estimate for when this PR https://github.com/pypa/pip-audit/pull/429 will be released?
Cheers,
Juan

Thanks for the quick turnaround for this. Is there an estimate for when this PR #429 will be released?

We'll probably do it with the next bugfix release, which will most likely be after a fix for #433 is merged.
Are you currently experiencing breakage? Both pip-requirments-parser and the latest release of pip-audit (2.4.8) should already have fixes for this, via #427 🙂

Not quite breakage, but due to how pipenv works (https://github.com/pypa/pipenv/issues/5528 for more details and example), we have to pin the version of packaging explicitly in our main packages section until #429 is available, which is not very pretty.

Got it, thanks for explaining! In that case we can push another patch out; I'll do that in a moment.

https://github.com/pypa/pip-audit/pull/435 has the bump.

Cut as 2.4.9. Thanks again!

Thanks @woodruffw . Unfortunately, I was looking at the wrong PR and this new version of pip-audit still doesn't solve the issue we have with pipenv. We need this one https://github.com/nexB/pip-requirements-parser/issues/10 so that pip-requirements-parser works with the new major version of packaging. Thanks though, I appreciate the assistance!

I believe that this is not fully solved as still getting error in my ansible role pipeline
https://github.com/juju4/ansible-cartography/actions/runs/3700467599/jobs/6311331036#step:7:795
  TASK [Pip-audit] ***************************************************************
  task path: /home/runner/work/ansible-cartography/ansible-cartography/juju4.cartography/molecule/default/verify.yml:107
  Saturday 17 December 2022  18:37:47 +0000 (0:00:05.678)       0:00:15.927 *****
  fatal: [instance]: FAILED! => {"changed": false, "cmd": ["pip-audit", "--path", "/usr/local"], "delta": "0:00:01.039309", "end": "2022-12-17 18:37:48.631440", "msg": "non-zero return code", "rc": 1, "start": "2022-12-17 18:37:47.592131", "stderr": "Traceback (most recent call last):\n  File \"/usr/local/bin/pip-audit\", line 5, in <module>\n    from pip_audit._cli import audit\n  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_cli.py\", line 17, in <module>\n    from pip_audit._audit import AuditOptions, Auditor\n  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_audit.py\", line 10, in <module>\n    from pip_audit._dependency_source import DependencySource\n  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_dependency_source/__init__.py\", line 14, in <module>\n    from .requirement import RequirementSource\n  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_dependency_source/requirement.py\", line 19, in <module>\n    from pip_requirements_parser import InstallRequirement, InvalidRequirementLine, RequirementsFile\n  File \"/usr/local/lib/python3.8/dist-packages/pip_requirements_parser.py\", line 73, in <module>\n    from packaging.version import LegacyVersion\nImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/local/lib/python3.8/dist-packages/packaging/version.py)", "stderr_lines": ["Traceback (most recent call last):", "  File \"/usr/local/bin/pip-audit\", line 5, in <module>", "    from pip_audit._cli import audit", "  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_cli.py\", line 17, in <module>", "    from pip_audit._audit import AuditOptions, Auditor", "  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_audit.py\", line 10, in <module>", "    from pip_audit._dependency_source import DependencySource", "  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_dependency_source/__init__.py\", line 14, in <module>", "    from .requirement import RequirementSource", "  File \"/usr/local/lib/python3.8/dist-packages/pip_audit/_dependency_source/requirement.py\", line 19, in <module>", "    from pip_requirements_parser import InstallRequirement, InvalidRequirementLine, RequirementsFile", "  File \"/usr/local/lib/python3.8/dist-packages/pip_requirements_parser.py\", line 73, in <module>", "    from packaging.version import LegacyVersion", "ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/local/lib/python3.8/dist-packages/packaging/version.py)"], "stdout": "", "stdout_lines": []}

pip-audit is installed in previous task and is 2.4.10
failing in docker ubuntu 20.04
22.04 has no issue with 2.4.9

@juju4 could you provide the result of pip list in your Ansible pipeline?
pip-audit==2.4.19 constrains pip-requirements-parser>=32.0.0, which in turn restricts its dependency on packaging to a version that is known to have LegacyVersion: https://github.com/nexB/pip-requirements-parser/commit/f4ce1714bd7a3a9357750bb567c7535fd68a9c88

From https://github.com/juju4/ansible-cartography/actions/runs/3726085523/jobs/6319299805#step:7:807
pip-audit 2.4.10, pip-requirements-parser  32.0.0 (ubuntu 20.04)
same on 22.04 which does not fail

Earlier in your CI:
changed: [instance] => {"changed": true, "cmd": ["/usr/bin/python3", "-m", "pip.__main__", "install", "pip-audit"], "name": ["pip-audit"], "requirements": null, "state": "present", "stderr": "ERROR: pip-requirements-parser 32.0.0 has requirement packaging<22.0.0, but you'll have packaging 22.0 which is incompatible.\n", "stderr_lines": ["ERROR: pip-requirements-parser 32.0.0 has requirement packaging<22.0.0, but you'll have packaging 22.0 which is incompatible."],

so it sounds like your local dependency state is invalid: pip-audit is requesting a valid transitive version of packaging, but something else is installing a newer version. This isn't something we can really fix on our end: there's something else in your dependency tree or environment that's causing the incompatible resolution.


xray: 1.8.7 -> 1.8.9

Updated version of xray to latest 1.8.9
Description of changes
Version/hash update
Needed to change buildGoModule to buildGo122Module

Things done

Built on platform(s)

[x] x86_64-linux
[x] 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
[x] 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.

https://github.com/NixOS/nixpkgs/pull/300236
1.8.10 was merged, this one should be closed probably

Closing because newer version available and merged.


Added option to globally ignore paths from beeing traced

There is an example in instrumentation/nginx/test/conf/nginx.conf which is linked from the Usage section in the README. Should I also add it to the sample nginx.conf in the Usage section?

There is an example in instrumentation/nginx/test/conf/nginx.conf which is linked from the Usage section in the README. Should I also add it to the sample nginx.conf in the Usage section?

Ah no, all good then :+1:

Thank You!


How to sort without regard to upper or lower case

The default table sorting is that
MN is sorted before
ab because seems the order is
A,B,C,D,......X,Y, Z , a, b, c, d,....z
Is there way I make it display in this order
A,a,B,b,C,c... etc without regard of lower or upper case ?
Thanks

You can use a custom sorting function with the sorters parameter.

Thanks. I noticed this. The hardship I am facing is the data keeps changing so I cannot hard code all names in the sort code. Can I do wildcard like sorters {"A*", "a*" etc} ?

You can provide a standard javascript comparison function... you can just wrap the builtin default like this: function(a,b){ return $.pivotUtilities.naturalSort( (""+a).toLowerCase(), (""+b).toLowerCase() ); }

Thanks a lot to inform this is doable. Great... So sorry, how to "just wrap the builtin default "
Do you have the fuller code of where I should put this code ?
$("#output").pivotUI(parsed.data, { sorters: { function(a,b){
return $.pivotUtilities.naturalSort( (""+a).toLowerCase(), (""+b).toLowerCase() );
}}
is this correct ? and what  ""+a is doing ? Do I need to further customize ? Pls help with more guide. Really appreciate this.

""+a is a hack to get a stringified version of a so I can call .toLowerCase() on it safely.
If you read the parameter documentation here you will see that sorters needs to be a function which returns a sorting function, so one way to use the example I gave you above is like this:
$("#whatever").pivotUI(data, {
    sorters: function(){
        return function(a,b){
            return $.pivotUtilities.naturalSort( (""+a).toLowerCase(), (""+b).toLowerCase() );
        };
    }
});

I just tried only the following still those lower cases falls to the bottom...
$("#output").pivotUI(parsed.data, {
sorters: {
                        function() {
                            return function (a, b) {
                                return $.pivotUtilities.naturalSort(("" + a).toLowerCase(), ("" + b).toLowerCase());

                            };

Ah, right, my simple suggestion here will not work. You'll have to find or write your own sorter function here. I don't have time to help you with this specific thing, sorry. Here is some documentation on how to write such a function: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort


when the connection is broken, join() without Close() freezes for ten…

…s of seconds

func join(ctx context.Context, left, right net.Conn) {
	g, _ := errgroup.WithContext(ctx) // when ctx is canceled (on WithStopHandler or WithDisconnectHandler ) interrupts both io.Copy
	g.Go(func() error {
		_, err := io.Copy(left, right)
		left.Close() // on left disconnection interrupts io.Copy(right, left)
		return err
	})
	g.Go(func() error {
		_, err := io.Copy(right, left)
		right.Close() // on right disconnection interrupts io.Copy(left, right)
		return err
	})
	g.Wait()

}

I carried forward and merged an equivalent change over in #163, closing this one as resolved via that PR.
Thanks!


Break ice blocks now spawns water.

I pushed the IceBlock fixes along with more block drops.

Looks great, thanks!


Showing in Realtime, but not recording

I am using this to track hits to pages that generate JSON output (ie, http://eonet.sci.gsfc.nasa.gov/api/v2.1/events).  Everything was working until October 10th, and then it stopped recording page hits.  I can still see them in realtime, but not in the archive.

Please open an issue here, Thanks!

This project simply lets you use php-ga-measurement-protocol in Laravel. So any issues can only be resolved by them. If there's a problem from this package's end, then I would be happy to look into it. Just thought I'd let you know why I asked to create the issue in that repo.

Greatly appreciated.  I’ll let you know if I need you to dive into anything!
Paul
--
Paul Przyborski
Senior Application Developer, Earth Observatory Group
NASA GSFC, Code 613
Greenbelt, MD 20771
Phone:<PHONE_NUMBER>
http://www.ssaihq.com
http://earthobservatory.nasa.gov
http://neo.sci.gsfc.nasa.gov
http://eonet.sci.gsfc.nasa.gov
http://visibleearth.nasa.gov
Twitter http://twitter.com/NASA_EO/
Facebook http://www.facebook.com/NASAEarthObservatory

Any opinion expressed in this email is of my own, and not that of NASA or SSAI.

On Nov 22, 2016, at 1:33 PM, Syed Irfaq R. ⚡ <notifications<EMAIL_ADDRESS>wrote:
This project simply lets you use php-ga-measurement-protocolhttps://github.com/theiconic/php-ga-measurement-protocol in Laravel. So any issues can only be resolved by them. If there's a problem from this package's end, then I would be happy to look into it. Just thought I'd let you know why I asked to create the issue in that repo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/irazasyed/laravel-gamp/issues/13#issuecomment-262325283, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAch1QBJcAHD0NktD8sz6f0SEur7W9-Xks5rAzWJgaJpZM4K5kdD.

Actually, Can you post your code (Ofc redact your tracking id and other sensitive info -- if any)?
Maybe we could debug this and fix any issues we come across and perhaps open a PR with the main repo. It's weird it used to work and later it stopped, API changes?

And do you use Async requests? Could be related to the other issue that was earlier reported too. I wasn't able to look into it but if this is indeed the problem related to Async, then it needs to be fixed. So let me know. Thanks!

My code is fairly straight forward.  Because I use it in multiple places, I just built it as a function in my controller:
public function sendAnalytics($url)

{

	$gamp = GAMP::setClientId( '123456' );

	$gamp->setHitType('pageview');

	$gamp->setDocumentTitle('API Request');

	$gamp->setDocumentPath($url);

	$gamp->sendPageview();

}

The HitType is an attempt to get things to appear.  I just fired that off today, so I don't have a real result yet.
The bit that calls the function:

// record the request using google analytics

$url = $request->path();

$this->sendAnalytics($url);

The include is at the top of the controller file:

use Irazasyed\LaravelGAMP\Facades\GAMP;

I am not, at this moment, using the Async option.

Great. Can you try Validating hits and please post the response?

I tried both GAMP and PHP-GA methods, and I get the same result:

BadMethodCallException in Analytics.php line 808:
Method getDebugResponse not defined for Analytics class

public function sendAnalytics($url)
{
	$gamp = GAMP::setClientId( '123456' );
	$gamp->setHitType('pageview');
	$gamp->setDocumentTitle('API Request');
	$gamp->setDocumentPath($url);
	$gamp->setDebug(true);
	$gamp->sendPageview();

	$debugResponse = $gamp->getDebugResponse();
	print_r($debugResponse);
	exit;
}

public function sendAnalytics($url)
{
	$analytics = new Analytics();
	$analytics->setClientId( '123456' );
	$analytics->setTrackingId('UA-64641813-1');
	$analytics->setProtocolVersion('1');
	$analytics->setHitType('pageview');
	$analytics->setDocumentTitle('API Request');
	$analytics->setDocumentPath($url);
	$analytics->setDebug(true);
	$analytics->sendPageview();

	$debugResponse = $analytics->getDebugResponse();
	print_r($debugResponse);
	exit;
}

Can you verify you have v2.2.0 of the PHP-GA? Because those methods were added since 2.2.

Looks like I should be okay there.  composer show gives me:

theiconic/php-ga-measurement-protocol v2.4.0                Send data to Google Analytics from the server using PHP. This library fully implemen...

Just noticed, your code is wrong. Should be this:
...

$gamp = GAMP::setClientId( '123456' );
$gamp->setHitType('pageview');
$gamp->setDocumentTitle('API Request');
$gamp->setDocumentPath($url);
$gamp->setDebug(true);

$response = $gamp->sendPageview();

$debugResponse = $response->getDebugResponse(); // This method is in AnalyticsResponse.

...

Let me just wipe this egg from my face....

Array
(
    [hitParsingResult] => Array
        (
            [0] => Array
                (
                    [valid] => 1
                    [parserMessage] => Array
                        (
                        )

                    [hit] => /debug/collect?v=1&tid=UA-xxxxxxx-1&cid=123456&t=pageview&dt=API+Request&dp=api%2Fv2.1%2Fevents
                )

        )

    [parserMessage] => Array
        (
            [0] => Array
                (
                    [messageType] => INFO
                    [description] => Found 1 hit in the request.
                )

        )

)

Ok. So I just tested your code with different settings and it seems to be working fine.

I tested with SSL, and without SSL option turned on.
Different Client IDs.
Different Document Paths.

Real-time it's instant, but GA takes some time before the data is reflected in other areas of the dashboard. You can verify with different configs and client ids in Audience -> User Explorer but please allow several mins before checking there. It's quite slow.
Also, Make sure the date is properly updated to use today's date (Just in case!).

I will do all of these things.  Your testing seems to net the same result as mine, but I have made several changes today.  I'll keep an eye on things and see if anything changes.  Feel free to close this, as I think it's very unlikely my problem is related to your work.  Thanks again!

Alright, Cool.
No problem. Feel free to open an issue ticket if you face any problems. Happy to help :)


Support async fn's

Support the async_fn attribute by transforming the signature and internally calling the existing async_block macro.
Supports multiple lifetimes by adding a 'future lifetime and using dummy Captures<'_> trait bounds on the returned future.
I'm somewhat of a novice when it comes to writing proc macros, so I'm bound to have missed something :stuck_out_tongue:

I was avoiding doing this because of how complex I remember it being in futures-await, but this doesn't seem too bad.
There are 2 more cases I think should be handled

fn foo(bar: &u8) should have a generated lifetime added for the reference (including when there are other named lifetimes, so the a_number_and_string test should be able to get away with only declaring a lifetime for the string).

fn foo(bar: &std::fmt::Formatter<'_>) needs the '_ replaced with a generated lifetime (similar to the builtin async transform this can just error if the user doesn't add the explicit anonymous lifetime there).

If either of those are non-trivial to implement then I'm happy to merge without them, but it would be nice to check how difficult they are.
(I'll look over the actual proc-macro implementation later, just skimmed it for now).

Awesome, this looks a lot cleaner than I was expecting to be possible.
If you rebase onto master that should fix the CI failures and I'll merge this.

Thanks :smile:


Feature: Remaining time on slide?

I want to have something like this:
an indicator that shows how much time is left in the current slide

is there a simple solution where I dont have to reinvent the wheel with my own hover triggers, then fix mobile  etc?

We maintain feature parity with slick carousel
https://kenwheeler.github.io/slick/
So we can't implement this feature


as my project is chatbot , so i use newspaper3k which uses online webpage , but i have html file as an data to use in chatbot  so how should i use it rather than url webpage

 Issue by MeetH15
Wed Mar  4 16:47:47 2020
Originally opened as https://github.com/codelucas/newspaper/issues/791

article.download(input_html=text)
or
Article(url='file:///path/to/file')


MH-13346 Thumbnail generation from Admin UI can fail on longer videos

Extracting an image requires the source track to be downloaded into the workspace. This is a very slow operation for large files that can cause problems in case of recordings with unusual long duration. This commit introduces the configuration property thumbnail.preview.mode which defaults to 'partial'. In that mode, the thumbnail preview will not be automatically extracted by the video editor, but all the logic for thumbnails is still active.
The thumbnail preview can be rendered at anytime by running the "Update video previews" workflow although that is admittedly not very user-friendly.
In overall, the partial mode is a workaround and not a final solution.

From a usability point of view, I'd expect to at least see some kind of message that the thumbnail was indeed changed instead of simply seeing the "No preview available". No idea how much work that'd be?

I just installed and tested the code, works

@staubesv In my testing the initial preview shows up, but upon choosing some random point and extracting a new thumbnail the editor shows no preview available, and does not seem to create a new one.  Am I doing something wrong?

No, because if you left in  "partial" mode, will not generate a new
thumbnail in the editor.
That is the function that was disabled  for the problems described.
El El vie, 1 mar 2019 a las 4:02, Greg Logan<EMAIL_ADDRESS>escribió:

@staubesv https://github.com/staubesv In my testing the initial preview
shows up, but upon choosing some random point and extracting a new
thumbnail the editor shows no preview available, and does not seem to
create a new one. Am I doing something wrong?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/opencast/opencast/pull/743#issuecomment-468524657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHqwtJzfNfT4Yz-TIAcT2z4zMJFHa2lQks5vSJhSgaJpZM4bVoBo
.

--
Maximiliano Lira Del Canto
Telematikingenieur
Handynummer: +49 163 863 00 86
Köln, Deutschland.

@gregorydlogan I can have a further look at this, but likely, it takes a few days until I find the time....

@staubesv fair enough.  As it stands now, the usability here takes a huge hit.  I'm fine with not generating a new thumbnail, but the default image that it's currently replaced with looks like an error rather than a deliberate choice.  Changing the wording to something like "Thumbnail will be extracted at final processing time" would resolve the issue.

I'm going to be away until the 20th of March, if someone else wants to take this in the meantime, assuming Sven has time prior to my return.

Reminder: This is a feature which means it needs to be done soon to get into 7.x!

@staubesv What's the status here?

Blocked waiting for @staubesv

Per discussion on the dev list, let's decline this for now.  @staubesv (or other SWITCH contact) please feel free to refile as a draft or when ready.


Documentation: @GDScript and @GlobalScope are at the bottom of the list

Godot version
v4.0.alpha.custom_build [98c1fb396]
System information
Windows 10
Issue description
The @GDScript and @GlobalScope items are at the bottom of the list in the documentation search window. They used to be at the top.

Steps to reproduce

Press F1
Look at the top and see that @GDScript and @GlobalScope are not there
Scroll to the bottom to find them

Minimal reproduction project
No response

Fixed by:

https://github.com/godotengine/godot/pull/77554


Focusnode is not focusing after Navigating to back screen

Steps to reproduce
TextField is not focusing after popping to its screen with dragging screen. (it works with Navigator.pop(context))
focusNode.canRequestFocus is also false
Steps to reproduce:

Create textfield in first screen
Go to next screen
Go to back using dragging screen to left
Tap on textfield

Expected results
Textfield should be focused and a keyboard should be opened
Actual results
Textfield is not reacting, no focus
Code sample
First screen with textfield;
class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;
  var focus = FocusNode();

  @override
  Widget build(BuildContext context) {

      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TextField(
              focusNode: focus,
              onTap: () {
                focus.requestFocus();
              },
            ),

          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          Navigator.push(context, CupertinoPageRoute(builder: (_) => Second()));
        },
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

and Second screen:
class Second extends StatefulWidget {
  const Second({super.key});

  @override
  State<Second> createState() => _SecondState();
}

class _SecondState extends State<Second> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text("back"),
      ),
    );
  }
}

Screenshots or Video
https://github.com/flutter/flutter/assets/20393294/d9940e38-5916-4e66-9a15-53a69e110c02
Logs
No response
Flutter Doctor output
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.3.1 23D60 darwin-arm64, locale en-UZ)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.89.1)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!

Closing as duplicate of https://github.com/flutter/flutter/issues/148867


V0.2 rl toolkit doc

Description
Documentation update for RL toolkit.
Linked issue(s)/Pull request(s)

171

Type of Change

[ ] Non-breaking bug fix
[ ] Breaking bug fix
[ ] New feature
[ ] Test
[x] Doc update
[ ] Docker update

Related Component

[ ] Simulation toolkit
[x] RL toolkit
[ ] Distributed toolkit

Has Been Tested

OS:

[ ] Windows
[ ] Mac OS
[x] Linux

Python version:

[ ] 3.6
[x] 3.7

Key information snapshot(s):

Needs Follow Up Actions

[ ] New release package
[ ] New docker image

Checklist

[ ] Add/update the related comments
[ ] Add/update the related tests
[ ] Add/update the related documentations
[ ] Update the dependent downstream modules usage

Codecov Report

Merging #235 (3c26269) into master (6a52323) will decrease coverage by 6.78%.
The diff coverage is 45.08%.

@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
- Coverage   72.06%   65.27%   -6.79%
==========================================
  Files          86      111      +25
  Lines        4066     5313    +1247
==========================================
+ Hits         2930     3468     +538
- Misses       1136     1845     +709

Flag
Coverage Δ

unittests
65.27% <45.08%> (-6.79%)
:arrow_down:

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

Impacted Files
Coverage Δ

maro/communication/dist_decorator.py
18.51% <0.00%> (ø)

maro/communication/utils/default_parameters.py
100.00% <ø> (ø)

maro/simulator/scenarios/helpers.py
70.00% <ø> (-4.33%)
:arrow_down:

maro/simulator/scenarios/matrix_accessor.py
77.27% <ø> (ø)

...mulator/scenarios/vm_scheduling/business_engine.py
20.40% <ø> (ø)

maro/simulator/scenarios/vm_scheduling/common.py
57.89% <ø> (ø)

...ro/simulator/scenarios/vm_scheduling/cpu_reader.py
97.61% <ø> (ø)

maro/simulator/scenarios/vm_scheduling/events.py
100.00% <ø> (ø)

...simulator/scenarios/vm_scheduling/frame_builder.py
37.50% <ø> (ø)

...ulator/scenarios/vm_scheduling/physical_machine.py
43.47% <ø> (ø)

... and 93 more

Continue to review full report at Codecov.

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


Release Google.Cloud.Batch.V1Alpha version 1.0.0-alpha29

Changes in this release:
New features

Add a install_ops_agent field to InstancePolicyOrTemplate for Ops Agent support (commit 81aaa3d)

Documentation improvements

A comment for field max_run_duration in message google.cloud.batch.v1alpha.TaskSpec is changed (commit 81aaa3d)
Refine doc for the update_mask field in message google.cloud.batch.v1alpha.UpdateJobRequest (commit 81aaa3d)
Refine description for field task_execution (commit f2e7e66)

Created release for Google.Cloud.Batch.V1Alpha-1.0.0-alpha29


[docs] Improve the customization demos

The changes are extracted from #15140. It isolates each customization example. Each customization demo is a component on its own. I'm using withStyles most of the time as it minimizes boilerplate.

I'm refactoring the ts demos to remove the usage of any.

Alright, we did it! It's green, some nice isolated component demos :). @eps1lon Thanks for the help.
I hope #15140 will be the last chunk of #14999. A pull request we have broken down in many parts.


cp1222 integration

https://build.fhir.org/ig/IHE/ITI.PIXm/branches/cp_1222_02ballot57/ITI-83.html
https://docs.google.com/document/d/1JNOw1jmRdzyBtH9vpf9U0nPm1VmjUOzk/edit

CP-ITI-1214-00ballot57 change has been done with changing to html https://docs.google.com/document/d/1Dec_JoBY14oAOr2zd9fr_kTyccwWktf9/edit only displaying the code

CP-ITI-1214-00ballot57 change has been done with changing to html https://docs.google.com/document/d/1Dec_JoBY14oAOr2zd9fr_kTyccwWktf9/edit only displaying the code

this appears to be done, but I don't see the change in this pull-request.


Feature/factory girl install

Sometimes, new Rails apps were erroring when running the acceptance tests generated by Harbourmaster because:

The Factory Girl Syntax (create vs FactoryGirl.create) is used, so needs to be included in the rails_helper

The client method should be automatically defined, rather than defined in the  rspec_api_documentation installer (I don't know why, but, when this line is commented out, it works, with the line left in, it doesn't!)

This PR fixes these two issues by changing the rspec_api_documentation template and ensuring that the Factory Girl syntax is included in the rails_helper config.

Fixes #2

Have you tested the rails_helper injection to make sure it works?

Yeah, if the config is already there, it just removes it, then, adds it at the top to ensure it's there.