flutter does not like it when you're offline

I had done a git pull --rebase in my flutter checkout but then lost my network connection before using flutter run.  This may not affect users as much since flutter upgrade is how they typically would update their copy of flutter.
Building flutter tool...
Downloading package sky_engine...

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
Crash report written to /src/flutter/examples/stocks/flutter_02.log;
please let us know at https://github.com/flutter/flutter/issues.

flutter_02.log:
command
flutter run
exception
SocketException: SocketException: Failed host lookup: 'storage.googleapis.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
#0      fetchUrl (package:flutter_tools/src/base/net.dart:18)
<asynchronous suspension>
#1      Cache._downloadFileToCache (package:flutter_tools/src/cache.dart:207)
<asynchronous suspension>
#2      FlutterEngine._downloadItem (package:flutter_tools/src/cache.dart:389)
#3      FlutterEngine.download (package:flutter_tools/src/cache.dart:351)
<asynchronous suspension>
#4      Cache.updateAll (package:flutter_tools/src/cache.dart:197)
<asynchronous suspension>
#5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:140)
<asynchronous suspension>
#6      RunCommand.verifyThenRunCommand (package:flutter_tools/src/commands/run.dart:205)
<asynchronous suspension>
#7      FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:121)
#8      CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:262)
<asynchronous suspension>
#10     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#11     Future.Future.sync (dart:async/future.dart:208)
#12     CommandRunner.run (package:args/command_runner.dart:109)
#13     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:157)
#14     run.<anonymous closure> (package:flutter_tools/executable.dart:140)
<asynchronous suspension>
#15     AppContext._run (package:flutter_tools/src/base/context.dart:76)
<asynchronous suspension>
#16     AppContext.runInZone.<anonymous closure> (package:flutter_tools/src/base/context.dart:66)
#17     _rootRun (dart:async/zone.dart:1120)
#18     _CustomZone.run (dart:async/zone.dart:1001)
#19     runZoned (dart:async/zone.dart:1465)
#20     AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)
#21     run (package:flutter_tools/executable.dart:113)
<asynchronous suspension>
#22     main (package:flutter_tools/executable.dart:66)
<asynchronous suspension>
#23     main (file:///src/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#24     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:263)
#25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)

flutter doctor
[✓] Flutter (on Mac OS X 10.12.4 16E195, channel master)
    • Flutter at /src/flutter
    • Framework revision 54e3da5d69 (6 months ago), 2016-10-19 16:17:55 -0700
    • Engine revision 5c4e20c4c5
    • Tools Dart version 1.23.0-dev.11.6

[✓] Host Executable Compatibility
    • Downloaded executables execute on host

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
    • Android SDK at /Users/eseidel/Library/Android/sdk
    • Platform android-25, build-tools 25.0.2
    • ANDROID_HOME = /Users/eseidel/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002
    • ios-deploy 1.9.1
    • CocoaPods version 1.2.0

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Gradle version 3.2
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.1.1)
    • Dart plugin version 171.4073.40
    • Flutter plugin version 12.1

[✓] Connected devices
    • iPhone 6s • FF0E5127-3490-4297-9313-C4776D7950D4 • ios • iOS 10.0 (simulator)

I noticed a flutter plugin can not be created when offline.

I was trying to work on the Flutter framework yesterday while flying and I couldn't even run tests offline, even though there should've been a cached version of everything since I had worked on the same code/branch already:

Thanks for the report!
cc @devoncarew @mit-mit

This is something for which we need a workaround or fix for the I/O interactive exhibit.
The workaround doesn't have to be pretty.

We are planning on doing https://github.com/flutter/flutter/issues/15717. Closing his as 15717 should cover it (if not, reactivate explaining why not)


HideManagerGameObject causes the player to become stuck and unable to move

If HideManagerGameObject is set to true in the BepInEx config, it causes the issue referenced in #1 where the player is unable to move after loading in.

ill add it to the readme to make sure everyone has it on in the next update

i was confused at first when my friend said his char got stuck. turns out he has CustomSounds which forcing HideManagerGameObject to true everytime the game starts

Do you know how to fix/solve this?
like, how we/I can have CustomSounds while also LCBhop?


H265 support

Hi, do you plan to add h265 support? I need it for muxing h265 into mp4.
Thanks in advance.

There might be some support in a long run, however no specific plans right now.


Tweak recorder/restore_state

Description:
So this started out as an attempt to fix the flaky helpers.restore_state.test_filling_the_cache test.
While looking into the details, I made the following changes:
Add timeout to restore state
By adding a timeout we will not block all of startup because we're trying to connect to the recorder.
Recorder will now be connected when setup is done.
I want to bring this one up again… Specifying a dependency in Home Assistant means that Home Assistant will guarantee that the dependency is ready to use before your component is set up. Following that logic I think that it makes sense to wait till it is connected.
Clean up connect code
It was a bit messy with using locals.
wait_connection_ready will now return if connection was established
I realized that we would never return from wait_connection_ready if the connection failed. That seems like a weird approach and thus I decided to have it return the result. Updated restore_state to not query if the connection failed.
Example entry for configuration.yaml (if applicable):
recorder:

Checklist:
If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

I think we need do discuis what size of timeout make sense for restore. I think we can wait 20sec for it. But let's it do with 10 sec in 0.40 and look at feedbacks


Allow access to extra types.

This is necessary for me to keep a handle on the backend surface (so
that I can get information about it, for example when its size changes).
Fixes #issue
PR checklist:

[x] make succeeds (on *nix)
[x] make reftests succeeds
[x] tested examples with the following backends: vulkan
[x] rustfmt run on changed code

I think that the quad example actually uses the concrete gfx_backend_vulkan::Surface, because of type inference it doesn't need to be able to explicitly name the type. But if I want to store it in a struct I do have to name the type. I could use trait objects, but I don't think this feels right. I think other backends expose the Surface type (at least the dummy backend and gl).

Could you store <back::Backend as Backend>::Surface?

@derekdreery Backend is the only concrete type that each of the backends needs to provide, in theory. If something can be obtained as <ConcreteBackend as hal::Backend>::XXX, then this is the recommended way to access the type. With this consideration, I think the PR can be closed.

Ok let's turn this PR into 2 things

A documentation note on Backend that you can access the types using <.. as ..>::.. notation
Removing pub from other types so that the backends are consistent.

does that sound good?

@derekdreery sounds excellent! :+1:

I experimented with this, and I think it only works because the other types are in private modules. Maybe all types could be in private modules, but it would kinda make a mess.
I think the situation will change in rust 2018, so if you plan to update the codebase we could revist then? It may be that all the types on Backend will need to be public, I don't understand the new rules yet.

I don't understand. What "only works"? There is no need for the concrete types to be public in the backends.

I mean that if you try to make, say, PhysicalDevice private in vulkan/lib.rs, you get
error[E0446]: private type `PhysicalDevice` in public interface
   --> src/backend/vulkan/src/lib.rs:819:5
    |
343 | struct PhysicalDevice {
    | - `PhysicalDevice` declared as private
...
819 |     type PhysicalDevice = PhysicalDevice;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type

oh wow, that doesn't seem consistent (as in, Rust way of handling this...)

Yeah I believe it may be changing for 2018, but I'm not 100%.
On Fri, 5 Oct 2018, 20:08 Dzmitry Malyshau<EMAIL_ADDRESS>wrote:

oh wow, that doesn't seem consistent (as in, Rust way of handling this...)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gfx-rs/gfx/pull/2420#issuecomment-427469329, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABU-XiT7-MlhJiunnfS0RwXXIzecqdjYks5uh64RgaJpZM4W1YJD
.

ping

FWIW, we are on Rust 2018 now. @derekdreery any plans on finishing this?

Rust disallows private types to be exported in any way, including making it associated type for a public type.
This is consistent as public types in private modules are still public, just without visible symbol. You can mske them accessible via export, via type alias, via associated type. You can even use them in public API without letting user name it.
Nothing has changed in 2018 in this regard afaik.
Instead of making all types private I propose do it otherwise and make them public to allow user hack around in backend specific way.

Instead of making all types private I propose do it otherwise and make them public to allow user hack around in backend specific way.

But they can already do that (via the associated types of Backend), and exposing more types in public just increases the API surface for no apparent benefit. I.e. any refactoring of those names and location would become a breaking change out of a sudden.

Instead of making all types private I propose do it otherwise and make them public to allow user hack around in backend specific way.

But they can already do that (via the associated types of Backend), and exposing more types in public just increases the API surface for no apparent benefit. I.e. any refactoring of those names and location would become a breaking change out of a sudden.

I agree with this statement, but accessing types through associated types of traits isn't something you do all that often in rust - so I think it should be well documented, with examples. When I get chance I'll change this PR into a doc-change PR.

@derekdreery let's open a new PR then. Closing this one as agreed.


Feature request - be able to tell if API was resolved by memory, cache, or source

I would like to be able to tell what resolved an API call.  This can currently be resolved by either the in-memory cache, and external cache, or the actual source.  This is needed for a billing log I am needing to write and I accumulate the data as the request is being processed (in my datasource code).  This could be a feature that is 'turned on' somehow, so that users that do not need the feature will not enable it.

You can do that already with a simple trick overide the trace function and check if it has the age header in the response
  protected override async trace<TResult>(
    url: URL,
    request: RequestOptions,
    fn: () => Promise<any>,
  ): Promise<TResult> {
    if (process.env.NODE_ENV === "development") {
      const startTime = Date.now();
      try {
        const res = await fn();
        if (!res?.response.headers.get("age")) {
          const duration = Date.now() - startTime;
          const label = `${this.currentReq.method || "GET"} ${this.baseURL}${this.currentReq.params.toString()}`;
          logger.info(`${label} (${duration}ms)`);
        }
        return res;
      } catch (err) {
        logger.error(err);
      }
    }
    return fn();
  }
}


fee issue reproduction

A reproduction for the fee issue with create2.

Reproduction steps
git clean -fdx .
npm install
npm run build
cd ./examples/viem-sample

npx hardhat vars set ALCHEMY_API_KEY XXXX
npx hardhat vars set TEST_PRIVATE_KEY XXXX

npx hardhat ignition deploy ./ignition/modules/LockModule.ts --strategy create2 --network sepolia

Note that on sepolia, ./ignition/modules/Rocket.ts is deployable with create2 - perhaps this is related to value passing in the LockModule when converted through create2 strategy.

I just pushed a commit fixing this issue. It doesn't have tests.
There was actually a TODO explaining that this issue could happen (my fault probably).
Basically, if the gas estimation fails, we simulate the transaction so that we can get access to the return data. During that simulation we weren't setting the gas limit, so some clients would use the block gas limit, and most users didn't have enough eth to afford that and the simulation failed.
I fixed it by computing the max possible gas limit before running that simulation, and using that value instead of undefined.
We may be able to always use that one value, but it's not clear. I'm asking someone from the Geth team about it.

An alternative fix, as discussed with the Geth team member, is not setting fee information to calls, unless when we know we are setting also the gas limit. We could enforce this in the type system with something like
/**
 * The params to make an `eth_call`.
 */
export type CallParams = {
  to?: string;
  value: bigint;
  data: string;
  from: string;
  nonce?: number;
} & ({} | { fees: NetworkFees; gasLimit: bigint });

This had already been fixed by @zoeyTM in https://github.com/NomicFoundation/hardhat-ignition/pull/684


Dependencies badly out of date

Could you update the dependencies for us? :)

I havn't engaged in the js long time.it is very simple to deal with that you can download the source code to adapt your rehype version. I hopes it can still run normally.


Collapsible links under subcategories in sidebar

🚀 Feature
Would it be possible to make links under subcategories also collapsible like in case of categories in sidebar?
I would like the code:
{
  "docs": {
    "Category 1": [
      {
        "type": "subcategory",
        "label": "Subcategory 1",
        "ids": [
          "link1",
          "link2"
        ]
      },
      {
        "type": "subcategory",
        "label": "Subcategory 2",
        "ids": [
          "link3",
          "link4"
        ]
      },
    ],
  }
}

to generate something like this:
Category 1         v
   Subcategory 1   v
      - link1
      - link2
   Subcategory 2   v
      - link3
      - link4

Now option docsSideNavCollapsible: true in siteConfig.js makes only links under categories collapsible.

@bvq77 This will be available in v2. Example here - http://yangshun.im/infima/

Wontfix in v1


Formatting Bug

When formatting with Antlers Language for Statamic, it breaks one of my components
{{#
    @name Button attributes
    @desc A single button component. Faux is used when a button is displayed inside a link (for example in link blocks).
#}}

{{ if label }}
<{{ as or 'a' }} {{ attribute }} class="btn
        {{if type === 'white'}}
            {{ 'bg-white text-primary ' }}
        {{else }}
            {{ outlined ? 'bg-gradient-to-tr from-white to-neutral-50 border-primary  text-primary border-2' : 'bg-gradient-to-tr from-primary to-primary-300 text-white' }}
        {{ /if }}
        {{ class }} disabled:opacity-50 disabled:cursor-default"
        {{ unless faux }} {{ partial:snippets/button_attributes }} {{ /unless }}>
    {{ label }}
</{{ as or 'a' }}>
{{ /if }}

Becomes
{{ /unless }}{{#
    @name Button attributes
    @desc A single button component. Faux is used when a button is displayed inside a link (for example in link blocks).
#}}

{{ if label }}
    <{{ as or 'a' }}
    {{ attribute }} class="btn
    {{ if type === 'white' }}
        {{ 'bg-white text-primary ' }}
    {{ else }}
        {{ outlined ? 'bg-gradient-to-tr from-white to-neutral-50 border-primary  text-primary border-2' : 'bg-gradient-to-tr from-primary to-primary-300 text-white' }}
    {{ /if }}
    {{ class }} disabled:opacity-50 disabled:cursor-default"
    {{ unless faux }}
        {{ partial:snippets/button_attributes }} >
        {{ label }}
        </{{ as or 'a' }}>
{{ /if }}

With the {{ /unless}} moved to the top of the file...

Thanks for the bug report! I've been able to reproduce this issue, and will be working on a fix throughout the week.
Just to set some timeline expectations: formatter related issues do tend to take longer to fix.

Thanks @JohnathonKoster - appreciate the quick response!

A fix for /unless being placed at the beginning of the file has been released, and is now available in the VS Code Marketplace as v1.1.3.
Let me know how this works for you!

@JohnathonKoster it seems to have fixed the {{ /unless }} issue however now the line breaking seems to have changed...
---
variants:
    default: "btn bg-gradient-to-tr"
    primary: "from-primary to-primary-300 text-white"
    outlined: "from-white to-neutral-50 border-primary text-primary border-2"
    white: "bg-white text-primary"
    disabled: "opacity-50 cursor-default"
---

{{ if label }}
    {{ if  disabled && attr_title }}

        {{ attr_title }}
    {{ /if }}
    <{{ as or 'a' }} {{ attribute }} class="{{ view:variants:default }} {{ array_get:view:variants :key="variant:value" }} {{ disabled ? view:variants:disabled : '' }}
            {{ class }} disabled:opacity-50 disabled:cursor-default"
            {{ unless faux }} {{ partial:snippets/button_attributes }} {{ /unless }}>
        {{ label }}
    </{{ as or 'a' }}>
    {{ if disabled && attr_title }}

    {{ /if }}
{{ /if }}

Becomes
---
variants:
    default: "btn bg-gradient-to-tr"
    primary: "from-primary to-primary-300 text-white"
    outlined: "from-white to-neutral-50 border-primary text-primary border-2"
    white: "bg-white text-primary"
    disabled: "opacity-50 cursor-default"
---

{{ if label }}
    {{ if  disabled && attr_title }}

                {{ attr_title }}

    {{ /if }}
    <{{ as or 'a' }}
    {{ attribute }} class="
    {{ view:variants:default }}
    {{ array_get:view:variants :key="variant:value" }}
    {{ disabled ? view:variants:disabled : '' }}
    {{ class }} disabled:opacity-50 disabled:cursor-default"
    {{ unless faux }}
        {{ partial:snippets/button_attributes }}
    {{ /unless }}>
    {{ label }}
    </{{ as or 'a' }}>
    {{ if disabled && attr_title }}

    {{ /if }}
{{ /if }}

I don't think it was doing this before.


undefined is not a constructor (evaluating 'new window.OfflineAudioContext(1, buffer.length, buffer.sampleRate)')

I got this error on Safari ( running latest version on El Capitan ).

chrome doesn't display errors, but renders weirdly short and then stretch:

I think Safari still needs a webkit prefix for OfflineAudioContext.

but renders weirdly short and then stretch

Yeah, it's a known issue with this plugin. That's the way offline rendering works, very unreliable. Cannot fix.

Solved in #619.


octave problem

Hi,when I use the pretrained model to test the voc2007test dataset,It occured this problem.And I don't know how to fix it,can you help me?Thanks!

Hum, I made no testing using windows OS. Seems that something really strange is happening when your python try to call the octave.  I have no experience running external binaries using python on windows and I have no plan making my code  to work on windows.
My best sugestion is: Change to linux bro =)
... Anyway, a starting point could be running the  "octave --eval voc_eval(...)" command directilly on your windows terminal and see if it works externally from python.  If it is working you need to find a way to fix the call from python.

Thank you very much!It seems that I should install octave in my windows OS.But I will run the code in Linux server,so I change to the linux server to run the code.When I run the 'test.py',It also occured the octave problem.Is it because I didn't install octave in linux server?Thanks again!

yes, octave is a requirement. I did not put this requirement on the readme, shame on me, I just updated it there with it.


Dark theme + readability changes

Love your project! Since finding it, I often use my mobile (Android) phone to connect to my Pinecil. Here are a couple of changes I made to make it even easier for me and my friends to use, let me know what you think! The main reason I changed the theme from light to dark is both because it is much easier on my eyes, and because it uses far less energy (battery power) than a white screen, which is more important for laptops and mobile phones - especially if your device is plugged in to the same power source (battery) that your Pinecil is.
You can visually see the changes on https://github.com/Pips801/pinecil and https://pips801.github.io/pinecil/

Changed background color from white to a dark gray
Changed all text to white
Changed temperature color from orange-ish to red
Changed Power color from blue-ish to green
Added a fullscreen button for better usability on a mobile phone
Removed the Github banner for better usability on a mobile phone
Added a screenshot to the README
Added compatibility information for Android
Added important how-to steps and instructions/references from the Wiki to the README
Added an Issues section to the readme, that documents a couple of bugs/issues I've noticed. I can also create a Github issue for each of these items.

This is awesome, thanks again for writing this!

4402d24 - Add WakeLock support https://developer.mozilla.org/en-US/docs/Web/API/Navigator/wakeLock
WebUI will now hold on to WakeLock while the Pinecil is connected. This will prevent display devices from sleeping while actively connected and displaying temperature data. Once the Pinecil enters a "Disconnected" state, WakeLock is released and the device can sleep as it regularly would.


Cannot find dl_streamer folder

Hello,
I have downloaded the latest version of openvino, that is, openvio_2020.3194, on Windows 10 operating system. But I can't find the dl_streamer folder under the data_processing folder. Can someone help me with figuring out whether the installation is wrong or why is the dl_streamer folder missing?
Thank you.

Can you describe where you got the information about the "dl_streamer folder under data_processing folder" from? Can you reference a documentation, or information from a previous version?

DL Streamer is only supported on linux operating systems today. The windows binary installer will not install it. To run DL Streamer on Windows - Docker is the only current method.

DL Streamer is not directly supported on Windows. Current workaround is to run DL Streamer using Docker for Windows.
@brmarkus The OpenVINO binary installer on Linux has the option to install DL Streamer. It will install it under the data processing folder within the /opt/intel/openvino tree.

@brmarkus I was watching the webniar series by OpenVINO team, specifically the webinar for: Ready, Steady, Stream: Introducing Intel® Distribution of OpenVINO™ toolkit Deep Learning Streamer, in this webinar, I saw there is the folder dl_streamer under the data_processing folder as @nnshah1 mentioned.
Thank you @nnshah1  for the clarification!

Hello again,
Currently the pipeline takes the input as a video from the sample videos. To add to it, I am trying to get the input as live video through my webcamera.  ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: This isn't a device '/dev/video0'. Additional debug info: ../sys/v4l2/v4l2_calls.c(616): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: system error: Resource temporarily unavailable Setting pipeline to NULL ... Freeing pipeline ...
How can I set my input parameter to be webcamera?

@MauryaShraddha If this is clear - please close the issue. Thanks!


TypedArrays should support more than Double values

From what I can tell in the integer_entities.txt update, the build now can generate int or Integer in some cases instead of Double. This doesn't seem to have been applied to the TypedArray subtypes, resulting in some unique getAt and setAt calls. Working from PlayN sources as I patch them to use elemental2 instead of JSOs, ByteBuffer.getShort now must look like this:
    public final short getShort (int baseOffset) {
      short bytes = 0;
      if (order == ByteOrder.BIG_ENDIAN) {
          bytes = (short)(((byte) (double) byteArray.getAt(baseOffset)) << 8);
          bytes |= (((byte) (double) byteArray.getAt(baseOffset + 1)) & 0xFF);
      } else {
          bytes = (short) (((byte) (double) byteArray.getAt(baseOffset + 1)) << 8);
          bytes |= (((byte) (double) byteArray.getAt(baseOffset)) & 0xFF);
      }
      return bytes;
    }

Since Int8Array is a TypedArray is a JsArrayLike<Double>, the getAt call returns Double, which cannot be shifted, so first we cast to double, which still can't be shifted, so cast to byte. Technically we could cast to int in the second one, but I wanted to be precise here. We of course have to assume that the browser would never return something outside the range of a byte here.
    public final ByteBuffer putInt (int baseOffset, int value) {
      if (order == ByteOrder.BIG_ENDIAN) {
          for (int i = 3; i >= 0; i--) {
              byteArray.setAt(baseOffset + i, (double)(byte)(value & 0xFF));
              value = value >> 8;
          }
      } else {
          for (int i = 0; i <= 3; i++) {
              byteArray.setAt(baseOffset + i, (double)(byte)(value & 0xFF));
              value = value >> 8;
          }
      }
      return this;
    }

Same idea here - the int value is being shifted and masked, and can't be used directly as a double. Granted, the cast to byte isn't technically required here, but it does seem less un-clear to a reader than casting an int to a double so you can put it in a byte array.
I'm not sure exactly how this can be improved, without just listing all of these signatures by hand, but this is pretty terrible Java to have to write. At least in the case of PlayN it is hidden behind emul code, but I had understood that elemental2 was meant to be user facing for the most part.

If any chance is made here, the same should probably go for
  public Uint8Array(double[] length) {}

I do see that there is an integer_entities entry for
  public Uint8Array(double length) {}

But am confused if that will also cause the other constructor to use int[] (which at least is closer to byte[], but not quiiite right), or if it might assume that it should also be int.

Unfortunately we cannot make JsArrayLike since Integer is not a number but a boxed Java object.
The example you have is much better to be written as
 bytes |= byteArray.getAnyAt(baseOffset + 1).asByte();
This is automatically runtime checked in debug mode for correctness. We can introduce JsArrayLikeInt and friend but I think the value add is much less compared to above example.
@jDramaix  I think we can update double[] to be int[].

Thanks for the thought on asByte(), that will help a few cases of unboxing/casting. Doesn't help much for incoming values, or is there a "trust me, this is safe" cast for primitives? For setAt, it seems if those all took java.lang.Number instead (which IIRC is assumed to be js number, or is that only on the way out of native code?), we'd get the boxing for free.

java.lang.Number could be a Long or a BigDecimal or BigInteger, so cannot be used as an equivalent of JS Number.

jsinterop set methods has @DoNotAutobox that prevents autoboxing. The idea is a user dealing with jsinterop classes will not be looking for boxed objects. See following test:

  public void testSetAny() {
    JsArrayLike<Object> arrayLike = getArrayLikeOf();
    arrayLike.setAt(0, 15.5d);
    arrayLike.setAt(1, 15.5f);
    arrayLike.setAt(2, 15L);
    arrayLike.setAt(3, 15);
    arrayLike.setAt(4, (short) 15);
    arrayLike.setAt(5, (char) 15);
    arrayLike.setAt(6, (byte) 15);
    arrayLike.setAt(7, true);

    assertThat(arrayLike.getAnyAt(0).asDouble()).isEqualTo(15.5);
    assertThat(arrayLike.getAnyAt(1).asDouble()).isEqualTo(15.5);
    assertThat(arrayLike.getAnyAt(2).asLong()).isEqualTo(15L);
    assertThat(arrayLike.getAnyAt(3).asInt()).isEqualTo(15);
    assertThat(arrayLike.getAnyAt(4).asShort()).isEqualTo(15);
    assertThat(arrayLike.getAnyAt(5).asChar()).isEqualTo(15);
    assertThat(arrayLike.getAnyAt(6).asByte()).isEqualTo(15);
    assertThat(arrayLike.getAnyAt(7).asBoolean()).isTrue();
  }

it could be nice to have from(float[] source) method at Float32Array, atm it contains from(double[] source)


animefreak stopped working

Upto last week i was using animefreak to download anime. Now when i choose the option,I can see the anime list however cannot download the anime. Gives resource not found

I have tested, and it works just fine. Are you perhaps getting that from aria2c (it often does that, but downloads nonetheless) - perhaps you could attach a screenshot?

sure let me attach a screenshot


Drop TravisCI support

It seems TravisCI is still doing builds. Perhaps we should turn that off and remove the .travis.yml file.
We haven't been getting TravisCI build status reports on GitHub in ages, so we're really not using TravisCI. Plus, maintaining it was kind of a pain. The experience and build time is much better with CircleCI.
Build history:
https://travis-ci.org/OutpostUniverse/OP2Utility/builds

Sounds to me.


[Feature / Question] Custom elements

Any way to get this working with custom elements?

hey @bmfteixeira! tell me more?
If you mean html elements within table cells, you can do that by setting html: true on column
https://github.com/xaksis/vue-good-table#column-options

Hey @xaksis, not really HTML elements (which is already good 👍 ) but custom elements. Like, passing slots to my table cells with my components to be rendered.

hmm. that would be tough, given that the rows are generated dynamically based on your data object. If you explain your use case more, i'll see if it is feasible. Do you wanna show custom vue components inside your dynamically generated table cells?

@bmfteixeira Usually an example of code on how you expect it to be helps a lot understanding the issue. Just make a very simple example of input and expected output and from there on ideas and implementation might be done faster rather than going back and forth with replies.

Just getting inspired on datatables from Vuetify:
https://github.com/vuetifyjs/docs/blob/master/examples/tables/3.vue
What happens is that they manage the cell's content by slot. The sorting is done by a cell property. This give a lot of leeway to build a dynamic table :)

@bmfteixeira I see what you mean now. they use scoped templates to let you decide how to display tds within a row.
Could be a good usecase for an advanced version. I'll look into it but can't commit to this just yet. Thank you for bringing it up though and apologies for not understanding the use case initially.

All good @xaksis. I think this is a major feature and will bring the vue-good-table to another level (once everyone can make the table way more dynamic). Good luck with that and maybe I'll try to give you a hand if I have time to it 👍

Alright! iteration 1 of this feature is now available in v1.3.0.
Example Usage:
<vue-good-table
  title="Dynamic Table"
  :columns="columns"
  :rows="rows"
  :lineNumbers="true"
  :defaultSortBy="{field: 'age', type: 'asec'}"
  :globalSearch="true"
  :paginate="true"
  styleClass="table condensed table-bordered table-striped">
  <template slot="table-row" scope="props">
    {{ props.row.name }}
    {{ props.row.age }}
    {{ props.row.percent }}
  </template>
</vue-good-table>

Great to see this @xaksis. Will try in a near future.


How to enable bookmark bar in new tab?

Older versions of Google Chrome (e.g. v49) allowed to enable the bookmark bar for the "New Tab Page". And just there.
I couldn't find a way to achieve the same for Supermium 121.
Is there some chrome-flag maybe to achieve that? If not, can we have one? The following pic shows Chrome v49:

If I right-click on the bookmark bar and uncheck "Show bookmarks bar", it only appears on the new tab page and not on other pages.

I can't find any way to enable the bookmark bar at all, neither on a regular-tab, nor on the new-page-tab. How to achieve that?
Here are my chrome-flags in case they would play any role:

In this case, it turns out the option to have bookmarks appear only on the new tab page is only available on the regular new tab page and does not apply to the custom new tab page. The only option is to use the "..." drop-down menu to the right of the address bar -> Bookmarks -> Show bookmarks bar, but that makes it appear on all pages.
I will try to correct this, but place it behind a flag since I suspect other users of the custom NTPs will complain about it.

I experimented further.
1.) I found the way to enable the bookmark bar from the options menu. If I enable that though, it is visible on both: On an active tab which shows a website, and also in the NewTabPage.
2.) If I disable the menubar, then it is neither shown in an active tab which shows a website, nor in the NewTabPage.
What I want is to show it only in the NewTabPage, but not within an active tab which shows a website.
To maximize the vertical view for the website.
Chrome v49 was capable to do that for me, but Supermium 121 is not. At least I don't know how to do that.

Thank you, I would be perfectly happy with a Chrome flag to achieve that. Maybe the desired code could be "stolen" from the Chrome v49 codebase.

I added the required functionality and tested it, but no flag will be needed because of the preexisting flag #bookmark-bar-ntp that can disable the bookmarks bar on new tab pages.
I will combine it with some other fixes.

I can confirm that this works perfectly now in Supermium 122.0.6261.85.
I do have #custom-ntp set to about:blank
and have the bookmark bar set to disabled in the settings.
Now I do get exactly what I want: no bookmarks on a regular webpage (maximizing vertical view-space) and a proper bookmark bar on the new tab.
Issue resolved to 100% satisfaction.


runtime error:cgo argument has Go pointer to Go pointer

there is a error when I run TestLogistic.Error info is "Line 20: - runtime error: cgo argument has Go pointer to Go pointer ", file is "golearn-master/linear_models/logistic_test.go"
When Initing prob.c_prob.x and prob.c_prob.y in func NewProblem, it allocates memory in Go,
we need to allocate the pointer memory in C, not Go.
func NewProblem(X [][]float64, y []float64, bias float64) *Problem {
	prob := Problem{}
	prob.c_prob.l = C.int(len(X))
	prob.c_prob.n = C.int(len(X[0]) + 1)

	prob.c_prob.x = convert_features(X, bias)
	c_y := make([]C.double, len(y))
	for i := 0; i < len(y); i++ {
		c_y[i] = C.double(y[i])
	}
	prob.c_prob.y = &c_y[0]
	prob.c_prob.bias = C.double(-1)

	return &prob
}

So there is error in function Fit to  call Train
func Train(prob *Problem, param *Parameter) *Model {
	libLinearHookPrintFunc() // Sets up logging
	tmpCProb := &prob.c_prob
	tmpCParam := &param.c_param
	return &Model{unsafe.Pointer(C.train(tmpCProb, tmpCParam))}
}

邮件已收到，谢谢！
                 ——赵淼

您好，您的邮件已收到，我会尽快查看，^_^


Create DSA android fingerprint.java

Maybe use your own keys for authentication in-module? @Sanu1999

I had changed

Maybe use your own keys for authentication in-module? @Sanu1999

Updated
..

@Sanu1999 Can please explain about your Project.?
Seems quite interesting.
what is does and what complete tech-stack.
Don't Worry about label will surely marge in Repo with hacktoberfest tag?

Maybe use your own keys for authentication in-module? @Sanu1999

Updated
..

Thank you I modified my comment.

Waiting for your response @Sanu1999 ?
Not merged into main
PR accepted @Sanu1999
🚀🚀👍

Ok , @Sanu1999  have you implemented  in real devices. This algorithm is general algorithm or it developed by you??
Need more info  just asking for knowledge point of view.?

PR accepted @Sanu1999
Successfully merged to HacktoberFest_22 repo.
Need to Star this repo incase not done.
🚀🚀👍


A question about the DDIM loss.

Dear author:
Firstly nice work and thanks for code!
A question about the ddim loss as shown in the fig.

I don't know why , in the forward process (adding noise), it adopts the blur_depth_t (the x0 result of xt->x_t1->..->x0) instead of the gt_depth?

hi there, the name blur depth_t here is just a name pattern.
Please track the blur_depth transition. It should be refined depth latent. As we mentioned in the paper, gt_depth might be sparse in outdoor scenarios, so we use a self-diffusion formation.


Sonarqube

this is a public repo for all developer, so this pull request is not necessary. you can fork this repo and update this for yourself.
/close


page says 11045 rows, but provided csv seems to have only 8120

What would you like to do:

[x] Report an issue

Report an issue

Browser name and version:
OS/Platform name and version:

Version 63.0.3239.84 (Developer Build) built on Debian buster/sid, running on Debian buster/sid (64-bit)

perhaps you are looking at the wrong file:
$ wget https://raw.githubusercontent.com/OpenNeuroLab/metasearch/master/docs/data/phenotype_mri.csv
--2018-02-20 15:10:01--  https://raw.githubusercontent.com/OpenNeuroLab/metasearch/master/docs/data/phenotype_mri.csv
Resolving raw.githubusercontent.com... <IP_ADDRESS>
Connecting to raw.githubusercontent.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1661730 (1.6M) [text/plain]
Saving to: ‘phenotype_mri.csv’

phenotype_mri.csv       100%[============================>]   1.58M  1.42MB/s    in 1.1s

2018-02-20 15:10:03 (1.42 MB/s) - ‘phenotype_mri.csv’ saved [1661730/1661730]

$ cat phenotype_mri.csv | wc -l
   11045

yeah, we were trying to get it from the website itself. through that icon in the top right corner.
@kyleam please use https://raw.githubusercontent.com/OpenNeuroLab/metasearch/master/docs/data/phenotype_mri.csv

ah the export restricts it to those rows that have a corresponding MRI scan.


Not giving invisble players a free ride.

I'm now happy with how invisible player characters are behaving and that brings up an issue in trigger happy that invisible players can just waltz across traps and teleports with impunity.
We originally put in a test so that trap tokens would not get grabbed when being dragged across the map. Can we change
        if (token.hidden) return true; // don't stop ivnisible tokens?

to
        if (token.hidden && !game.actors.get(token.actorId)?.isPC) return true; // don't stop ivnisible tokens who aren't PCs?

Not sure. I don't usually like very specific code just to handle a special use case.
What if a character is moving an NPC (beast companion/familiar, or a named NPC they control)?
The 'dont't stop invisible tokens? had a question mark to it from the start, so... maybe the answer to that is "no" ?
How about this instead : don't ignore invisible tokens at all, but instead add a toggle in the token scene controls for GMs only. Like how Furnace has a toggle for token vision, we would have a toggle for activate triggers. Question is.. should it only apply to token/actor triggers or to scene triggers as well... 🤔

That was my second option and I like that idea - was looking to keep it
simple. I think it should be all triggers, since that is easy to
understand. - set nothing fires, unsest everything works the same as it
would for players.
On Thu, Jul 9, 2020 at 11:14 AM Youness Alaoui<EMAIL_ADDRESS>wrote:

Not sure. I don't usually like very specific code just to handle a special
use case.
What if a character is moving an NPC (beast companion/familiar, or a named
NPC they control)?
The 'dont't stop invisible tokens? had a question mark to it from the
start, so... maybe the answer to that is "no" ?
How about this instead : don't ignore invisible tokens at all, but instead
add a toggle in the token scene controls for GMs only. Like how Furnace has
a toggle for token vision, we would have a toggle for activate triggers.
Question is.. should it only apply to token/actor triggers or to scene
triggers as well... 🤔
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kakaroto/fvtt-module-trigger-happy/issues/13#issuecomment-655837845,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCHH7Y2NE65N5XHUOUMPSTR2UKXNANCNFSM4OUU3PWQ
.

Sounds good to me. That's also what I'd prefer, it's the idea that the toggle is on the token layer's controls that's a bit more annoying, but it's ok 🤷
I'll implement and push/release soon(TM)

I hope my choice for an icon is appropriate 🤣


validate business category details

This PR includes two major pieces of functionality.

commit efba13d

Check to make sure that only business category details for the selected
business category can be used in the store edit handler.  For instance,
if the business category Gourmet is selected, we do not allow a business
category detail of TravelingAsia.

commit b3d06fb

When editing a store, return the current values to the user if there was
an error.  This makes it easier for the user to correct the one single
error and quickly resubmit the form.

Closes #65.

I'm afraid that duplicate items are saved as businessCategoryDetails.  Is there any validation to prevent this such as using nub?

I've fixed this in commit 9d11df7.  Thanks!
I'll go ahead and rebase and merge this in.

Closes #74.


Can we add support for kafka version 0.8.2 ?

Kafka version 0.8.2 is the latest.
Can we add support to install that ?

There's support for installing 0.8.2, just change the node.kafka.version attribute, as well as the checksum related attributes (though that goes without saying).
Since there's a quite critical bug in 0.8.2 regarding high CPU usage in Kafka clusters with a lot of partitions (see KAFKA-1952), I'll hold off on updating the default version that this cookbook specifies.


[apps] bumping apps version to 1.0.0

to: @javuto
cc: @airbnb/streamalert-maintainers
size: small
resolves N/A
Background
Time for a version bump.
Changes

Bumps version from 0.0.1 --> 1.0.0

Testing
N/A

Coverage remained the same at 95.578% when pulling a7e0e32e70c455afd7ae6db04357c28b7cccff3c on ryandeivert-apps-bump-version into 54a70c4f929b424f113f39b23e3392fb1b3a90be on master.

Coverage remained the same at 95.583% when pulling 4198b21b9425e4856e570c4f960d954407411662 on ryandeivert-apps-bump-version into b250bf3c8eac3fd5367d9aa7732beef4feaaf03c on master.

Coverage remained the same at 95.583% when pulling d406cb8cbdabcbf0db1870b8a0e0e6679f300230 on ryandeivert-apps-bump-version into 6c2903e95eb47ca21726fdaef4e908dde8f63cc9 on master.


Min integer extremity is parsed incorrectly

Godot version
v4.0.beta16.official [518b9e580]
System information
Windows 10
Issue description
Couldn't find an existing issue but I doubt I'm the first to find it.
If trying to write the minimum signed integer value -9223372036854775808, the editor spams error:

Cannot represent<PHONE_NUMBER>854775808 as a 64-bit signed integer, since the value is too large.

When running the program the value is parsed to -9223372036854775807
var bit_string: String = ""
var value: int = -9223372036854775808
for i in range(63, -1, -1):
    bit_string += "1" if ((value >> i) & 1) else "0"
    if i % 8 == 0:
	bit_string += " "
print(value) # -9223372036854775807
print(bit_string) # 10000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001

Workaround:
...
var value: int = ~9223372036854775807
...

If deeming when the number is negative is too tricky/slow we could also mention this caveat in the documentation.
See also #2411 and https://github.com/godotengine/godot/pull/68999
Steps to reproduce

Minimal reproduction project

Related to: #42289


Move timeout handling to functions wrapped with AsyncStatus

I think the best place to apply timeouts for motion is in the *Motor.set function, rather than the caller to this function.
This PR shows what this looks like:

Removing timeout handling from *AsyncStatus
Calculating the timeout from velocity in *Motor.set and adding DEFAULT_TIMEOUT
Making a mechanism to apply a timeout via observe_value for Mover.set

I think this makes things easier to use as you are not forced to bps.mv(motor, value, timeout=<something I have to calculate>), it fills in a sensible value for timeout itself. The only question I have is whether we should allow this timeout to be overridden.
@dperl-dls @callumforrester thoughts?

@coretl This seems very nice for motors but how does it affect your common garden signal?

Not at all, they will still take set(value, timeout) which is handled by the underlying control system. It is up to the caller of Signal.set to supply a reasonable titmout. It is only the case of MyDevice.set which we are talking about here.

The only question I have is whether we should allow this timeout to be overridden.

I can see the use case of "I want this motor to reach position a in n seconds otherwise my beamline is broken and I want to know about it" being a thing

So "I want this to move within 2 seconds no matter where it was to begin with"? That's fairly easy to add as an override Motor.set(value, timeout=2). I'll do that.


Drop task from README

Fixes #11. Also adds a language tag to a codeblock and drops some trailing whitespace.

Oh thanks! I didn't know about console highlighting.


feat(entity history): Add ability to look up an entity's ownership history

Fixes #18.
Adds the ability for a user holding an entity to look up the current owner, as well as the entire ownership history, of the entity.

Codecov Report

Merging #56 into master will not impact coverage by -1.07%.

@@           Coverage Diff           @@
##           master   #56      +/-   ##
=======================================
- Coverage   95.07%   94%   -1.07%
=======================================
  Files          11    11
  Lines         426   434       +8
=======================================
+ Hits          405   408       +3
- Misses         21    26       +5

Impacted Files
Coverage Δ

coalaip/plugin.py
100% <100%> (ø)
:white_check_mark:

coalaip/entities.py
92.3% <28.57%> (-4.06%)
:x:

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 5f1fc75...3ca1541. Read the comment docs.

@msporny: Here you have a use cases for feature-detection built into blockchains. I think you were hinting on that in some of the talks we had and also in some of your publications.

Yes, one of the things we were thinking of doing was to provide an HTTP API to be able to access a blockchain and get its "configuration". Examples here:
https://w3c.github.io/flex-ledger/#configuring
https://w3c.github.io/flex-ledger/#metadata-service


fix-pip-install-mypy: silence

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/premiscale/general?version=dev:a5c48f5f4bdc5d6b74f9c674016edd39a0ffcfae


[fix] crash in release mode (Android, proguard off)

Current behavior
Working fine in debug mode, On release crashes the app upon opening without errors.
Expected behavior
Working release build.
Platform

[X] Android
[] iOS

React Native Version
0.72.6
React Native Compressor Version

Reproducible Steps And Demo

import 'react-native-keys'
Builld budnle or apk
Install on physical device or emulator
Open app

which version, you are using for keys package, can you attach apk which is crashing?

0.7.7-0.7.9, I'll try to make separate repro in a week, because this one is private and pretty huge. If that's conflict with some dependency, then it will take longer.

@talaikis can you try to remove this file and test
https://github.com/numandev1/react-native-keys/pull/66/files#diff-197b190e4a3512994d2cebed8aff5479ff88e136b8cc7a4b148ec9c3945bd65aR159

@talaikis can you try to remove this line and test

That patch works.

@talaikis released in 0.7.10


FC016 still triggers on custom resources if they lack a property

The hack to get FC016 to skip custom resources was to look for a property. Turns out this isn't the best way since you don't have to have a property. We should look for an action in the resource instead.

Resolved by https://github.com/acrmp/foodcritic/pull/598


Added FAQ-website

I have added a new project for the frequently asked questions website.

Great work! Thank you for the PR!


Fly.io deployment is not working.

Hi, I've followed your guidelines to deploy the app to fly.io but the app is not responding.  Health check is failing and I see the connection refused errors below when I try to open the URL. Am I missing something?
2023-02-16T03:02:27.348 app[ed63d73f] lhr [info] Starting init (commit: 617e840)...

2023-02-16T03:02:27.379 app[ed63d73f] lhr [info] Mounting /dev/vdc at /data w/ uid: 0, gid: 0 and chmod 0755

2023-02-16T03:02:27.384 app[ed63d73f] lhr [info] Preparing to run: `/usr/bin/tini -g -- node app.js` as root

2023-02-16T03:02:27.411 app[ed63d73f] lhr [info] 2023/02/16 03:02:27 listening on [fdaa:1:566d:a7b:8f:4:eccd:2]:22 (DNS: [fdaa::3]:53)

2023-02-16T03:02:27.412 app[ed63d73f] lhr [info] [WARN tini (529)] Tini is not running as PID 1 and isn't registered as a child subreaper.

2023-02-16T03:02:27.412 app[ed63d73f] lhr [info] Zombie processes will not be re-parented to Tini, so zombie reaping won't work.

2023-02-16T03:02:27.412 app[ed63d73f] lhr [info] To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.

2023-02-16T03:02:28.191 app[ed63d73f] lhr [info] Listening on :::5006...

2023-02-16T03:02:28.944 proxy[ed63d73f] lhr [error] instance refused connection

2023-02-16T03:02:33.101 proxy[ed63d73f] lhr [warn] Could not proxy HTTP request.   Retrying in 1000 ms (attempt 20)

Hi, I've followed your guidelines to deploy the app to fly.io but the app is not responding. Health check is failing and I see the connection refused errors below when I try to open the URL. Am I missing something?
2023-02-16T03:02:27.348 app[ed63d73f] lhr [info] Starting init (commit: 617e840)...

2023-02-16T03:02:27.379 app[ed63d73f] lhr [info] Mounting /dev/vdc at /data w/ uid: 0, gid: 0 and chmod 0755

2023-02-16T03:02:27.384 app[ed63d73f] lhr [info] Preparing to run: `/usr/bin/tini -g -- node app.js` as root

2023-02-16T03:02:27.411 app[ed63d73f] lhr [info] 2023/02/16 03:02:27 listening on [fdaa:1:566d:a7b:8f:4:eccd:2]:22 (DNS: [fdaa::3]:53)

2023-02-16T03:02:27.412 app[ed63d73f] lhr [info] [WARN tini (529)] Tini is not running as PID 1 and isn't registered as a child subreaper.

2023-02-16T03:02:27.412 app[ed63d73f] lhr [info] Zombie processes will not be re-parented to Tini, so zombie reaping won't work.

2023-02-16T03:02:27.412 app[ed63d73f] lhr [info] To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.

2023-02-16T03:02:28.191 app[ed63d73f] lhr [info] Listening on :::5006...

2023-02-16T03:02:28.944 proxy[ed63d73f] lhr [error] instance refused connection

2023-02-16T03:02:33.101 proxy[ed63d73f] lhr [warn] Could not proxy HTTP request.   Retrying in 1000 ms (attempt 20)

Hello,
Do you have the latest version of the fly.toml? https://github.com/actualbudget/actual-server/blob/master/fly.template.toml specifically TINI_SUBREAPER = 1

Hi, thanks for the reply. Yes I've used the latest commit to deploy. But it looks like I've screwed up the template somehow as I didn't have that environment set. I started from scratch and it seems to be working now.
Thanks again, cheers.


Lumia 950 "Failed to unlock bootloader"

Description
I cannot unlock the bootloader on my Lumia 950 (RM-1104). It goes to ass storage mode with an assigned letter for MainOS (F:) but the app still keeps showing switching to mass storage mode. So I force reboot and then after a few steps the bootloader unlocked failed message appears.
Steps To Reproduce
No response
Expected behavior
Unlock Bootloader
WPinternals Version
v2.9.1
Windows Version
Windows 10 22H2
Phone model
Lumia 950 (RM - 1104)
Relevant Assets
WPInternals.log

I have the same issue was this ever resolved. I tried to restore the Phone with the Nokia Recovery tool and it made it worse was that locks the phone on the Protection Recovery mode issue

I had to use a clean pc where wpinternals never opened. Also I updated Windows 10 Mobile to its latest build. And the phone got unlocked

Please try using WPinternals 3.0 preview 3, if the issue persists, please file a new issue


Value for first_aired is returned as null for all seasons

I noticed that recently the field first_aired contains null for all seasons I tried, about three dozen.
E.g. this endpoint https://api.trakt.tv/seasons/29588?extended=full provided a first_aired value of null, while ten days ago, it contained 2013-10-04T00:00:00.000Z (see attached json files).
The website still shows the correct date, as the screenshot from today proves.

vampire_diaries_season_5_2024-04-15.json
vampire_diaries_season_5_2024-04-25.json

Good catch. I will have a fix out early next week.

Thanks for the quick reaction!


[BUG]: Request-URI Too Long

Describe the bug
It's not possible to change settings via http://localhost/admin because the resulting http-get request is too long (code 414).
Steps to reproduce the behavior
git clone git@github.com:PhotoboothProject/photobooth.git
cd photobooth
docker-compose up --build
# now open http://localhost/admin and try to change the settings..

Expected behavior
Clicking on save should not result in an error.
Photobooth Version
b3df99abd9fed628676c27974e6e0646a6ae97be
Browser and browser version
Firefox 121.0
Operating System
Archlinux
Did it work before?
No
Latest working version
No response
Additional context
No response

The default maximum length seems to be 8190 and the request is >10.000 chars long.

How to fix this error on windows? I have the settings page loaded with no stylesheet or scripts loaded.

Edit C:\Apache24\conf\httpd.conf and add
LimitRequestLine 12000


stream reading is too slow

At the moment, in RqPrint, RsPrint, RqMultipart and in a few other places we're using InputStream#read(). This method reads the stream byte by byte. There is nothing wrong in this method, but it's slow on large streams. Let's replace that with read(byte[]).
Full list of places:
Searching 296 files for ".read()" (case sensitive)

/Volumes/ssd2/code/takes/src/main/java/org/takes/rq/RqLengthAware.java:
  127          public int read() throws IOException {
  128              --this.more;
  129:             return this.origin.read();
  130          }
  131      }

/Volumes/ssd2/code/takes/src/main/java/org/takes/rq/RqLive.java:
   64          final ByteArrayOutputStream baos = new ByteArrayOutputStream();
   65          while (true) {
   66:             final int data = input.read();
   67              if (data < 0) {
   68                  break;
   69              }
   70              if (data == '\r') {
   71:                 if (input.read() != '\n') {
   72                      throw new IOException("");
   73                  }

/Volumes/ssd2/code/takes/src/main/java/org/takes/rq/RqMultipart.java:
  149              RqMultipart.Base.skip(body, boundary.length - 2);
  150              while (body.available() > 0) {
  151:                 if (body.read() == '-') {
  152                      break;
  153                  }
  ...
  194              throws IOException {
  195              for (int idx = 0; idx < skip; ++idx) {
  196:                 stream.read();
  197              }
  198          }
  ...
  235              final ByteArrayOutputStream buf = new ByteArrayOutputStream();
  236              while (body.available() > 0) {
  237:                 final int data = body.read();
  238                  if (data < 0) {
  239                      break;

/Volumes/ssd2/code/takes/src/main/java/org/takes/rq/RqPrint.java:
  120          final InputStream input = new RqLengthAware(this).body();
  121          while (input.available() > 0) {
  122:             final int data = input.read();
  123              if (data < 0) {
  124                  break;

/Volumes/ssd2/code/takes/src/main/java/org/takes/rs/RsGzip.java:
   79          try {
   80              while (true) {
   81:                 final int data = input.read();
   82                  if (data < 0) {
   83                      break;

/Volumes/ssd2/code/takes/src/main/java/org/takes/rs/RsPrint.java:
  159          try {
  160              while (body.available() > 0) {
  161:                 final int data = body.read();
  162                  if (data < 0) {
  163                      break;

/Volumes/ssd2/code/takes/src/main/java/org/takes/rs/RsXSLT.java:
  170          final ByteArrayOutputStream baos = new ByteArrayOutputStream();
  171          while (true) {
  172:             final int data = input.read();
  173              if (data < 0) {
  174                  break;

@yegor256 I will find a developer for the task soon...

@yegor256 attached this issue to milestone "1.0" (let me know if this is wrong)

@cyberone the task is for you now, follow these guidelines. Don't hesitate to ask any technical questions right here
This task's budget is 30 mins. This is exactly how much will be paid when the problem explained above is solved. See this for more information

@yegor256 thanks for the report, I topped your acc for 15 mins, payment ID 000-55008c77

@davvd assign someone else please

@davvd please assign this issue to someone else.

@davvd please assign this issue to someone else.

@cyberone I will assign somebody else to this issue

@davvd please assign this issue to someone else.

@cyberone -30 points to your rating

@ikhvostenkov the task is yours, please go ahead

@yegor256 What is your opinion, if we use BufferedInputStream instead of read(byte[])?

@ikhvostenkov we already have RqBuffered and RsBuffered for that, but this is not a solution. Still, making 1000 calls to read() (even if through buffered input stream) is way slower than a single call to read(byte[])

@yegor256 I've tried solution with read(byte[]) and faced with problem in RqLive class. If we read stream in array and parse headers, after that we pass stream to body(), but stream is already read and closed, so after that in RqPrint printBody we are not able to read stream. What will be solution here?

@ikhvostenkov that's a good question, but it's your ticket :) find a solution and suggest it.

@yegor256 I have only one idea here - use PushbackInputStream, but this will not increase speed, can even make worse. So I prefer to give up here.

@davvd Could you please assign someone else here.

@davvd Could you please assign someone else here.

@ikhvostenkov 30 points deducted from your rating

@davvd Could you please assign someone else here.

@ikhvostenkov right, I will find someone else, no problem

@dmzaytsev please go ahead with this task, it's yours

@davvd  take a look PR #283 please

@yegor256 PR #283 fixed the issue. please close if alright.

@dmzaytsev thanks!

@dmzaytsev 1 hour added to your account (payment number 57307248), many thanks for your contribution! 21 hours and 34 mins spent here.... the bonus for fast delivery (m=1294)... added +60 to your rating, now it is equal to +1633


Security - Logs - Tones

Describe the feature
Is there a way we can disable Dispatch section in the main menu? Our server doesn't use it because there is no good LiveMap script that works anymore.  Unfortunately, over 2000 members have Dispatch perms because we had it set to auto user properties. So no clue who was doing it.

And there is no logs for who the officer was.
Additional Context
No response

Disable the entire Dispatch section? Or only the tones?

Both would be nice haha. In case someone does have Dispatch enabled, they should still have some logs with the tones. For trouble makers.

Disabling the entire Dispatch section will be difficult, I'll add the ability to disable tones and add the username from the user who enabled the tone

I would suggest just hiding from the menu as a solution. Remove the hyperlink.
But thank you! The tone issue was a pain. <3


Remove  tag from 2FA SMS messages

Overview
Looks like there is a stray <br> tag added to quite a few of the 2FA SMS messages  (transfers, add key, remove keys).

Fixed in https://github.com/near/near-contract-helper/pull/214

Just noticed this again but fixed it for text based email/sms here:
https://github.com/near/near-contract-helper/pull/214/commits/55de5d74d6234714d46c7c6d18eeaa437c3b8d77


Adding Golioth to PlatformIO ESP-IDF/Arduino Project

Golioth Firmware SDK Commit Hash
bb11ba9bd2388f30215dd345b3061a946f69003c
Platform/OS
PlatformIO (framework = arduino, espidf). Appears to be ESP-IDF 4.4.6
Hardware Target
ESP32
What host OS are you using?
Windows 10
Current Behavior
Problems including golioth-firmware-sdk into PlatformIO project. Golioth settings show up in menuconfig but compilation fails. See repo @ https://github.com/atfox98/golioth-pio.
Expected Behavior
Successful build
Steps To Reproduce
Clone minimal example repository @ https://github.com/atfox98/golioth-pio
Logs, console output, or any kind of debug information
Compiling .pio\build\esp32dev\components\golioth-firmware-sdk\src\zcbor_utils.o
*** [.pio\build\esp32dev\.pio\build\esp32dev\isrgrootx1.der.o] Source `.pio\build\esp32dev\isrgrootx1.der.S' not found, needed by target `.pio\build\esp32dev\.pio\build\esp32dev\isrgrootx1.der.o'.

Hey @atfox98, great find, glad you can now build your application.

I overlooked the fact that PlatformIO applications are written in C++. We do have a minimal example for ESP-IDF to verify that a C++ application can be used with Golioth. It also uses the extern "C" around the includes as your application. We'll take a look at adding changes to header files to address the issue.

Hey @atfox98, we have added the extern “C” block to header files to avoid linking problems when building C++ applications. You can check out the changes in this commit.


Type definition for Attribution is not consistent with the documentation

Describe the bug
The documentation clearly states that the label can either be a string or an element (like span). However, the Type Definition for Options.label = string. I think it should be types the same as Options.collapseLabel.
To Reproduce
See ol/attribution/Attribution.js
Expected behavior
The solution is quite easy:
...
* @property {string|HTMLElement} [label='i'] Text label to use for the
* collapsed attributions button.
...

Thanks for the report, @MatthijsBon.  A pull request to fix this would be great.


un-hash param resolver

Fixes #4327.
This is a minimal attempt at disabling hashing of ParamResolver. Noted weirdness:

CircuitOperations which only differ in ParamResolver will have the same hash - I couldn't find a quick way to also disable CircuitOperation hashing without breaking tests. Potentially bad if e.g. we're using sets to dedupe CircuitOperations somewhere.
It's still a bad idea to mutate ParamResolver.param_dict, since it's used to build the fast-evaluation cache.

why do CircuitOperations have param resolvers?

It's weird to me that CircuitOperations have paramresolvers but circuit operations definitely need to be immutable and currently are not because they have mutable attributes, namely param_resolver. Suggest changing to tuple of tuples in CircuitOperation.

Dropping this in favor of the solution discussed in #5507 (private fields + properties).


Training/testing workflow

Thanks for opensourcing this ready to use library!
In your blogpost you've mentioned initial training on OntoNotes-5. Could you reveal details about performance on that dataset and how current one relates to performance of the original Clark & Manning model?
Do you plan to release code/workflow for retraining/tuning of the model?

Hi @dmzio, @thomwolf can chime in, but yes we are working on releasing the (pyTorch powered) training workflow for this model.
Subscribe to get updates!

Hello @dmzio and @thomwolf, any update on the training code? The library is really interesting, unfortunately without the ability to train a model it'll remain English-only and many of us can't use that at all. Congrats on the lib though, it's very cool.

Hi @bolaft, quick question – which datasets would you use the training code on? (there are not that many coreference datasets in our experience, so we're super interested of the ones you know about)

Hi @julien-c, I was thinking of the ANCOR corpus [1] for French. It's > 400k words and encodes entities, their properties and anaphoric relations. Do you think it would do the trick?
[1] https://hal.archives-ouvertes.fr/hal-01016562/document

Updates on this would be interesting. It would be nice to maybe document an abstract schema for how the data should look like, so the community can write specific transformation tools to transform corpora from other languages into something that the pipeline can consume effortlessly.

Thanks for the feedback @dmzio @bolaft @tgalery.
We will be releasing the training code + associated documentation next week.
In the meantime, you can follow our progress on the training branch here: https://github.com/huggingface/neuralcoref/commits/training

🎉🎉 Just released v2.0 🎉🎉
Here's a blogpost detailing our work: https://medium.com/huggingface/how-to-train-a-neural-coreference-model-neuralcoref-2-7bb30c1abdfe
We can help anyone who would like to train on a new language.
Feedback appreciated.

How long does it take to train the model (on CPU and on GPU)?

About a day total on GPU

We are now on release v3.0 so I am closing this old issue.
Feel free to open it again (or a new one) if you are experiencing some issues with the new release.


ROX-18729: Flake - Verify cluster updates can block flow conn...

Description
I want to run this in CI to analyze better why the test is failing (actually, it is failing 100% of the time when run locally against OCP, and I would like to understand why it is sometimes passing on GKE in CI).
User-facing documentation
(must be 2 items and both must be checked)

[ ] CHANGELOG is updated
[ ] CHANGELOG update is not needed
[ ] Documentation PR is created and linked above
[ ] Documentation is not needed

Testing

[ ] inspected CI results

Automated testing
(must be at least 1 item and all items must be checked)

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests
[ ] contributed no automated tests

How I validated my change

change me!

/test ocp-next-candidate-qa-e2e-tests


large disappear time fix

look who's being nice today haha

Thanks. Two things though:

please keep under 80 characters per line (otherwise I can't boast about being pep8-compliant)
while modifying particular line, please also modify comments above it

Okay. The comments should still be good though. (My IDE always complains about me not being pep8 compliant too..)


misspelling on this page

"aatabase" should be "database"

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

ID: 81b4b8ea-3a1e-8e54-210d-1366b5d30556
Version Independent ID: 9cc8729d-6289-7043-156e-d1051a7d02c0
Content: Database Detach and Attach (SQL Server) - SQL Server
Content Source: docs/relational-databases/databases/database-detach-and-attach-sql-server.md
Product: sql
Technology: backup-restore
GitHub Login: @stevestein
Microsoft Alias: sstein

@scorellis - thanks for the feedback.  Fix should go live soon.
Thanks!

Any time! Thanks for fixing it so quickly!


Implement asset filtering UI + graphql queries #58

Initial implementation of filters

[x] Updated Realms resolver supporting AND queries
[x] Popover filter UI for multi select (Order, Resources)
[x] Popover filter UI for range slider
[x] Resource filtering
[x] Orders Filtering
[x] Rarity filtering
[x] Traits filtering

Is all looking good - only issue I've noticed is Order icons don't seem to display on Firefox

Thanks! I"m in the middle of moving a few things around + adding favorites. I'll take a look at firefox and update all together.


Long queue time on Linux web_integration_tests on Engine roll

See: https://github.com/flutter/flutter/pull/82388. The job has been queueing for >1 hr.

Rebasing should fix the issue.

Is there any way to trigger the build that is queueing for a long time? The roll is very close to being ready to land as soon as the framework tree turns green.

Linux web_integration_tests has been encapsulated into Linux web_long_running_tests. Let me check if it is possible to trigger one specific pre-submit builder.

Unfortunately the existing logic supports only reset all presubmit tests at the same time.. To get Linux web_integration_tests (which is now Linux web_long_running_tests 1_5 to 5_5) tested, I don't see any easy way but rebase at this moment.

Let me try if I can trigger this based on a local server with customized builder list.

It works. Now Linux web_long_running_tests 1_5 to 5_5 is running, which should cover Linux web_integration_tests.

Thanks!

Hmm. It looks like since web_integration_tests isn't finished, flutter-gold is not starting. Is there anything to do about that?

Hmm. It looks like since web_integration_tests isn't finished, flutter-gold is not starting. Is there anything to do about that?

It doesn't seem possible to delete a Check Run object once it is there.. (https://github.community/t/is-it-possible-to-delete-a-check-run-or-report-netural-status-on-a-check-suite-w-o-a-run/13718)

Yeah, doesn't see any API to support delete from github side: https://github.com/SpinlockLabs/github.dart/blob/master/lib/src/common/checks_service.dart

Looking to see if we can bypass that as well via a local server with customized checks.

Flutter gold tests passed!

Thanks! I'm going to close this =)


[Bug]: Error 'bundler: not executable' when pulling site

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
When running shopify pull site I expect the site to pull
Actual behavior
Running shopify theme info gives me the expected output, so I know the theme is connected to the correct store:
THEME CONFIGURATION
Store                  coursej1.myshopify.com
Development Theme ID   #144093118757

TOOLING AND SYSTEM
Shopify CLI    3.44.0
OS             darwin-arm64
Shell          /bin/zsh
Node version   v19.7.0
Ruby version   3.2.1

But instead, I get the following error:
Stack trace
bundler: not executable: /opt/homebrew/Cellar/shopify-cli/3.44.0/libexec/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify

Reproduction steps

Connect to the store with Shopify CLI
Check connection with shopify theme info
Run shopify theme pull

Operating System
Mac OS Ventura
Shopify CLI version (check your project's package.json if you're not sure)
3.44.0
Shell
zsh
Node version (run node -v if you're not sure)
v19.7.0
What language and version are you using in your application?
No response

I am experiencing this when running shopify theme dev afer upgrading this morning

Same here, getting this
bundler: not executable: /Users/francesco/.nvm/versions/node/v16.13.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify
Error
    at execCLI2 (file:///Users/francesco/.nvm/versions/node/v16.13.1/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/public/node/ruby.js:55:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

@markdavies @Francesdenaro In a separate issue, which causes the same error when running shopify theme dev, a dev has mentioned you can run the following to fix:
chmod a+x /opt/homebrew/Cellar/shopify-cli/3.44.0/libexec/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify
You can see that comment here. He mentions releasing a fix tomorrow as most of the team are EMEA, but in case you're as impatient as I am the above worked for me :-).

@markdavies out of curiosity, are you running that before EVERY future command?

Just the once, if I'm in the same terminal window it saves it for the
session.
On Thu, 23 Feb 2023 at 11:35, James @.***> wrote:

@markdavies https://github.com/markdavies out of curiosity, are you
running that before EVERY future command?
—
Reply to this email directly, view it on GitHub
https://github.com/Shopify/cli/issues/1428#issuecomment-1441066868, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACOJK5IPUOQCUKEXJBV3FDWY2WGXANCNFSM6AAAAAAVE66SYE
.
You are receiving this because you were mentioned.Message ID:
@.***>

same problem here, also the vscode extension crashes because of the same error since the update to 3.44.0
you can fix the command by adding SHOPIFY_CLI_BUNDLED_THEME_CLI=1 (for some at least)

I am beginner.I do not know what to do.

It worked for me putting SHOPIFY_CLI_BUNDLED_THEME_CLI=1  before the commands indeed!

Hey folks, we've identified the issue, merged a fix, and we shall be releasing a new patch shortly. Thank you again for reporting!


adapt swift 3 APIs

@5d What is the preferred policy for swift versioning?

@wokalski Sorry, I don't quite understand your question,
this pull request just changed some syntaxes and adapt code to the swift 3.0 SDK APIs.

There's the:
#if swift(>=3.0)
// this compiles on Swift 3.0
#else
// this compiles on Swift 2.2 or 2.3
#endif

But essentially you would have to wrap the whole implementation in that, and the external API of the two versions would be different (due to naming conventions etc).
I would instead just migrate to swift 3 in master, and create a tag (or branch) for the swift 2.3 version, if someone needs that.

Hm... I see. I'd like it to be compatible with 2.3 but maybe we'll do it in the future.

@bobergj can you confirm it works properly?

@bobergj @5d
I got around updating this today. I am preparing an update with the support for moves, proper patch implementation and more. When I'm done I will rebase it against this branch. Thanks for the contribution.


[Marketing Rotation] Publish blog on SQL on DZone

Description:
$subject
Article on medium:
https://medium.com/@kaneeldias/connecting-to-and-using-googles-cloud-sql-with-ballerina-13e2d6594686

Article has been published
https://dzone.com/articles/connecting-to-and-using-googles-cloud-sql-with-bal


Update underscore to latest

Would be great if we can update the underscore to latest version

Hello @pbcomm,
Actually I'm thinking about removing underscore from this gem and adding a link to https://github.com/rweng/underscore-rails instead. Another idea might be to deprecate this gem altogether and point people towards rails-assets.org.

I think removing underscore would be step one. Not everyone is ok with using rails-assets yet, so It might be a good idea to keep it around for a bit longer.


Fix Deno.open createNew #71

Fixes #71 and adds two tests for the open createNew (maybe needs review, documentation about the testing stuff is not really good ;)).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Everything should be ok now. Thanks for the fast feedback.

@tiloio I accidentally wiped out all your changes trying to fix the CI and now github isn't letting me fix it telling me "permission denied". The changes are here: https://github.com/dsherret/deno.ns/tree/deno_open -- would you be able to push them again? Sorry!

I just created https://github.com/denoland/node_deno_shims/pull/73


Added AVX512 support for SkRasterPipeline_opts.h

Hi,
The patch has integrated AVX512 support for certain functions in both highp and lowp. Testing and verification were conducted within the Pdfium repository, where it passed the pdfium_embeddertests.exe. Performance-wise, the AVX512 code path shows significant enhancement over the standard SSE and AVX2 paths. This performance boost was confirmed through testing with PDF files sourced from the resources folder of the Pdfium library.

It looks like you have not signed the CLA. Please follow the steps at https://skia.org/docs/dev/contrib/#contribute-code .

@pingladd I don't know if you've seen, but @johnstiles-google and I have been reviewing the change on Gerrit: https://skia-review.googlesource.com/c/skia/+/779235
The link in the earlier comment here goes to the wrong change - sorry about that. (I think our script for copying GitHub changes to Gerrit made two copies). I'd suggest continuing to work on the change via Gerrit (or consider just uploading a change directly there, rather than on GitHub). See https://skia.org/docs/dev/contrib/ for details.

[AMD Official Use Only - General]
Hi Brian and John,
Thank you all for the comments. I will work on the changes via Gerrit.
Thanks,
Ping
From: Brian Osman @.>
Sent: Friday, November 17, 2023 10:01 AM
To: google/skia @.>
Cc: Wang, Ping @.>; Mention @.>
Subject: Re: [google/skia] Added AVX512 support for SkRasterPipeline_opts.h (PR #149)
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
@pingladdhttps://github.com/pingladd I don't know if you've seen, but @johnstiles-googlehttps://github.com/johnstiles-google and I have been reviewing the change on Gerrit: https://skia-review.googlesource.com/c/skia/+/779235
The link in the earlier comment here goes to the wrong change - sorry about that. (I think our script for copying GitHub changes to Gerrit made two copies). I'd suggest continuing to work on the change via Gerrit (or consider just uploading a change directly there, rather than on GitHub). See https://skia.org/docs/dev/contrib/ for details.
—
Reply to this email directly, view it on GitHubhttps://github.com/google/skia/pull/149#issuecomment-1816686480, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUS6H65PO5H5QTSM5A3QA3TYE6C4RAVCNFSM6AAAAAA7NHXHEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWGY4DMNBYGA.
You are receiving this because you were mentioned.Message ID: @.***>


Announce the flash progress on the DAP protocol via events

Thank you!
Thank you for your contribution.
Please make sure that your submission includes the following:
Must

[x] The code compiles without errors or warnings.
[x] All tests pass and in the best case you also added new tests.
[x] cargo fmt was run.
[ ] Your changes were added to the CHANGELOG.md in the proper section.

Nice to have

[ ] You add a description of your work to this PR.
[ ] You added proper docs (in code, rustdoc and README.md) for your newly added features and code.

@Yatekii Please fix the conflicts, then this should be good to merge.

Done :)

bors r+


Upgrade to Laravel 6?

Hi, is the upgrade on the road map? @BadChoice do you accept a pull request for this issue?

I don't have this planned, but I will accept the PR if done :D

this would coincide well with a new tagged release.. there's almost 200 commits since the last release

I agree! I'm gonna do that now :D

Not the upgrade tought, but the release :D

Any plans to update this to Laravel 8?

Yes this should be great,
However right now I don't have time for it, PRs are welcome tought, shouldn't be so much changes

What version Laravel is this on currently? Would love to try it out here soon.

The current version is 5.8; run php artisan --version on your cmd to check


.NET Core 1.1 ChannelFactory.CreateProxy Fails

var proxy = Activator.CreateInstance(ProxyType, innerProxy);
if (open)
      await ((IClientChannel) proxy).Open();
return (T) proxy;

can not cast the types

{System.InvalidCastException: Unable to cast object of type 'ATOM.Test.TcpLibTest.IService_TcpServiceCoreProxy' to type 'TcpServiceCore.Client.IClientChannel'.
at TcpServiceCore.Client.ChannelFactory1.<CreateProxy>d__6.MoveNext() in C:\Users\info\Documents\source\atom-backend\TcpServiceCore\Client\ChannelFactory.cs:line 50 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at TcpServiceCore.Client.ChannelFactory1.<CreateProxy>d__5.MoveNext() in C:\Users\info\Documents\source\atom-backend\TcpServiceCore\Client\ChannelFactory.cs:line 33 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at ATOM.Test.TcpLibTest.Program.d__1.MoveNext() in C:\Users\info\Documents\source\atom-backend\ATOM.Test.TcpLibTest\Program.cs:line 39}

project.json for ref
{
  "version": "1.0.0-*",
  "buildOptions": {
    "emitEntryPoint": true
  },

  "dependencies": {
    "Microsoft.NETCore.App": {
      "type": "platform",
      "version": "1.1.0"
    },
    "TcpServiceCore": "1.0.0-*"
  },

  "frameworks": {
    "netcoreapp1.1": {
      "imports": "dnxcore50"
    }
  }
}


WIP [okd-core] Pass v2v custom params from ConfigMap to SERVER_FLAGS

Follow-up for: https://github.com/kubevirt/web-ui/pull/344
Requires: https://github.com/kubevirt/web-ui-components/pull/421

Please do not merge yet - working on web-ui-operator part.

done: https://github.com/kubevirt/web-ui-operator/pull/60


Mouse scrolling is not detected after closing window on another layer until the mouse is moved

Hyprland Version
9afdd61adeaf413afbe853dbc5fdf6853c8bde21
Bug or Regression?
Bug
Description
Same issue as #3679 just in a different situation
Steps to reproduce:

Open a window (window scrolls fine)
Open window in another layer (e.g. rofi-wayland)
Close overlay window
Scroll without moving the mouse

Expected outcome:
The window should scroll
Noted outcome:
It doesn't. However, the scrolling continues after I move my mouse inside the window.
Crash reports, logs, images, videos
No response

it works, can be closed


Auto startup does not save runner config

Every time I have to manually set the runner back to parrot if auto startup is enabled.

Yeah this is so annoying

Seems that you have to exit the program and run it again manually in order to save the config.


Migrate to @napi-rs/pinyin

@napi-rs/pinyin is faster and more modern pinyin alternative which use https://github.com/mozillazg/rust-pinyin under the hood.
There are some advantages vs pinyin library:

Using latest pinyin data from https://github.com/mozillazg/pinyin-data
No postinstall/node-gyp
2~50x Faster

Tests passed in Github actions: https://github.com/ts-project-fork/limax/actions/runs/345075052

Thanks for the PR, looks good. Am I correct in thinking this change would drop support for 32-bit node.exe on Windows?

Am I correct in thinking this change would drop support for 32-bit node.exe on Windows?

Yes. support windows 32-bit is not hard, but I think it's the time to drop it now

Thanks, what version of N-API are these new dependencies using? https://nodejs.org/api/n-api.html#n_api_n_api_version_matrix

what version of N-API are these new dependencies using

version 1. So it is supposed to be compatible with any NodeJS versions greater than<EMAIL_ADDRESS>

Great, thanks.
How do people compile from source where binaries are not available e.g. non-x64 CPUs such as ARM? Are there instructions we can point people to?

How do people compile from source where binaries are not available e.g. non-x64 CPUs such as ARM? Are there instructions we can point people to?

hmm, I don't think this is a easy work for non rust developers to compile Rust + N-API source codes. Many native toolchains need to install and config need to do.
So I will provide more pre-build binaries for popular operation systems like aarch64/armv7 linux/android and x86_64 freebsd in future.

Oh, sorry, an inability to compile from source suggests this probably isn't ready to merge in its current state.

Oh, sorry, an inability to compile from source suggests this probably isn't ready to merge in its current state.

Ok, I will write postinstall script in @napi-rs/pinyin if prebuild binary is not available, and provide detailed documents to describe how to build this package from source.

Ok, I will write postinstall script in @napi-rs/pinyin if prebuild binary is not available, and provide detailed documents to describe how to build this package from source.

Convert this pull request to draft before its done.

@lovell here is document for how to build @napi-rs/pinyin from source.
And @napi-rs/pinyin now support:

android-arm64
darwin-arm64
darwin-x64
linux-arm
linux-arm64
linux-x64
linux-x64-musl
win32-x64

@lovell here is document for how to build @napi-rs/pinyin from source.
And @napi-rs/pinyin now support:

android-arm64
darwin-arm64
darwin-x64
linux-arm
linux-arm64
linux-x64
linux-x64-musl
win32-x64

@lovell Do you think this can be merged now?

@lovell Do you think this can be merged now?

Thank you very much / xie xie !

Thank you very much / xie xie !

v3.0.0 now available via npm.

v3.0.0 now available via npm.


Pod deletions with large workflows

Summary
I’ve been running large scale jobs (~1K parallel jobs, each of which spawns around ~100 tasks in parallel) on an argo cluster deployed on GKE and I’ve been seeing a quite a few “pod deleted” errors. On further investigation, it looks like the the main container finishes to completion, but GKE pod garbage collector deletes the pod before the workflow controller updates the workflow status. I have already configured retries, but that doesn’t seem to really help since a lot of the retried jobs are failing for the same reason. The default terminated-pod-gc-threshold is around 12500, which explains why I see this issue only at scale.Would appreciate any help to workaround this problem. Thanks!
What executor are you using? PNS/Emissary
PNS
Argo v3.2.4

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

No, we are not using the autopilot feature. I think it's the pod garbage collector kicking in when the # of terminated pods exceed the --terminated-pod-gc-threshold (https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/).
Based on the application logs, it looks like the pod ran to completion and the k8s garbage collector GC'ed the terminated pod before the worfklow controller could examine the pod status. I was able to confirm my hypothesis by examining the controller logs and cluster audit logs, I see the following sequence of events:

io.k8s.core.v1.pods.patch request from the node on which the pod is executing at 9:36:37 am PST to update the workflows.argoproj.io/outputs annotation.
io.k8s.core.v1.pods.delete request from the k8s pod-garbage-collector at 9:37:59 am PST
Workflow controller updates the node phase from Running -> Error at 9:38:52 am PST.

I'm not sure if a pdb would help here, since the pod ran to completion and was GC'ed by k8 in a terminated state.

@alexec would the fix for this be under the scope of https://github.com/argoproj/argo-workflows/issues/7996?

I think #7966 would improve the situation. But we can do something better, we could add a finalizer to each pod which is only removed by workflow controller when the pod is GCed.

To block GC, add a finalizer:
https://github.com/argoproj/argo-workflows/blob/de1f4f50e61b08eed1dbddcb167cab00f4bd2b97/workflow/controller/workflowpod.go#L205
I would call this finalizer workflows.argoproj.io/capture-result. It should be opt-in based on an environment variable (e.g. ARGO_RESULT_CAPTURE_FINALIZER=true.
The finalizer must be removed when the controller has captured the outcome.
Firstly, we must remove the finalizer if we want delete the workflow:
You'll need to queue one of these for each pod in the workflow that has the finalizer, there would be here:
https://github.com/argoproj/argo-workflows/blob/de1f4f50e61b08eed1dbddcb167cab00f4bd2b97/workflow/controller/controller.go#L875
I'd introduce a new func to do this wfc. removeAllPodCaptureResultFinalizers(namespace,workflowName). This func can use the pod informer to find all pods for the workflow, and then filter them by which have the finalizer.
I'd therefore introduce a wfc.removeCaptureResultFinalizer(namespace,podName). This should ignore 404 errors (due to race conditions).
We should not block pod deletion until the workflow is deleted. We should delete pods when we want to GC them.
Output captured happens after one of the following:

The pods is marked as completed (i.e. the /completed annotation is added to it).
The GC tries to delete the pod.

Both of these have a pod clean-up action. We can add a call to `wfc.removeCaptureResultFinalizer
each of them.
https://github.com/argoproj/argo-workflows/blob/de1f4f50e61b08eed1dbddcb167cab00f4bd2b97/workflow/controller/controller.go#L529

@gandeevan I've added on outline solution if you want to submit a PR.
However, this may just move your problem.

Thanks for the pointer @alexec! I can definitely work on the fix, will probably take some time though since I'd have to ramp up with the argo-workflows code base.
I'm not sure I understand why would it move the problem, instead of fix it? Do you mind explaining that. Thanks!

By "move" I mean that the pod will no longer be deleted, but you might have a new problem because new pod cannot be created.

You may wish to request a mentor if you want help.

Why do you say that there could be a new problem because new pod cannot be created? AFAIK the terminated-pod-gc-threshold doesn't limit the number of pods in the cluster.
Also, how is the output captured (e.g. output parameter), passed on to the next step in the workflow? Would it be okay to remove the finalizer before the output is captured (as mentioned in the proposed solution)?

Ok, maybe try and see?

@gandeevan did you ever resolve this? I'm also facing what I believe to be the same issue.

did u solve @gandeevan ?

would #9058 address this issue?


[FIX] Replaced the latest version tag with a baked-in version

Closes #291

Changes proposed in this pull request:

The version is now read from the package.json
Docker workflows have been update:

build docker on release:

update the version in package.json to match that of GitHub
commits the change of version in package.json
trigger the deploy workflow

build docker nightly:

update the version in package.json to the latest SHA
don't commit the change in version

Checklist
This section is for the PR reviewer

[x] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see our Contributing Guidelines for more info)
[x] PR has a label for the release changelog or skip-release (to be applied by maintainers only)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[x] Checks pass
[ ] If the PR changes the participant-level and/or the dataset-level result file, the query-tool-results files in the  neurobagel_examples repo have been regenerated

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

Summary by Sourcery
Replace the dynamic fetching of the latest release tag with a static version from package.json and update Docker workflows to manage versioning during builds.
Bug Fixes:

Replace the dynamic fetching of the latest release tag with a static version read from package.json in the Navbar component.

CI:

Update Docker workflows to handle versioning by reading from package.json and committing changes during release builds.

After an in-length discussion, we decided to move to implementing a workflow to run on PR when labels have been changed (action type: labeled, see docs). This workflow will calculate the new version using auto version (see docs), update the package.json.
The application of release label should only happen after the requested changes and comments have been addressed and the PR has been approved to avoid out of sync local and remote.


Memory leak in group creation

The following is a reproducer for what seems like a fatal memory leak.
Rust crate version: 0.7.1
HDF5 Version: 1.12.0
OS: MacOS, Linux
Memory usage grows linearly from 10MB to 2GB over 100,000 iterations
fn write_test_file(fname: &str, iteration: usize, num_groups: usize) {
    println!("iteration {}", iteration);
    let h5f = hdf5::File::create(fname).unwrap();
    for j in 0..num_groups {
        h5f.create_group(&format!("group-{}", j)).unwrap();
    }
}

fn main() {
    for i in 0..100000 {
        write_test_file("test.h5", i, 100)
    }
}

Memory usage is stable at 15MB
#include <stdlib.h>
#include <hdf5.h>

void write_test_file(const char* fname, int iteration, int num_groups)
{
    printf("iteration %d\n", iteration);
    hid_t h5f = H5Fcreate(fname, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);

    for (int j = 0; j < num_groups; ++j)
    {
        char gname[1024];
        snprintf(gname, 1024, "group-%d", j);
        hid_t h5g = H5Gcreate(h5f, gname, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
        H5Gclose(h5g);
    }
    H5Fclose(h5f);
}

int main()
{
    for (int i = 0; i < 100000; ++i)
    {
        write_test_file("test.h5", i, 100);
    }
    return 0;
}

Could be a duplicate of #76

Could be a duplicate of #76

Yea on the top of it, it seems like the same thing, probably should be worth looking into again...

Yea on the top of it, it seems like the same thing, probably should be worth looking into again...

#76 seems to deal with some complex edge cases. If this crate has issues with multi-threaded access to property creation lists or something, I would just not do stuff like that. But the example above is very straightforward, and was revealed in an equally straightforward application which crashes on 8GB nodes after ~hours of runtime.

#76 seems to deal with some complex edge cases. If this crate has issues with multi-threaded access to property creation lists or something, I would just not do stuff like that. But the example above is very straightforward, and was revealed in an equally straightforward application which crashes on 8GB nodes after ~hours of runtime.

I tested the program with our Registry removed. Running this did not give an increase in memory used. Running valgrind show the only leak is from the lazy_statics.

As discussed in #76, if you simply remove Registry, you'll definitely cause troubles on HDF5 1.8.* since they changed reference counting behaviour in 1.10 (IDs were reused often which would cause frequent clashes, now they are reused less frequently so you have to try hard to make it clash but it's still possible).
It's still a bit weird that over 100k iterations it grows to 2GB. E.g., new group handles should go out of scope and get dropped and dec-refed back to zero? Any plists that are created and accessed in the process should be dropped and decrefed as well? Maybe it's worth printing out contents of registry after these iterations to see how many IDs does it hold and what do those IDs represent? (Maybe they are all plists and we're missing a decref somewhere) I think this would be a more useful approach than simply dropping Registry.

I wonder, as soon as we invalidate a certain hid (set it to -1 across all objects sharing it and update the value in the hashmap), can we just simply remove it from the hashmap, what will that cause? (The Arc<RwLock>> will still exist shared across those objects, it's just the key will no longer be present in the hashmap)