Class not registered: I got unbuntu from the MS store, ran wsl --install and got the message Class not registered

Environment
Windows build number: [run `cmd.exe /c ver`]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]

Steps to reproduce

WSL logs:
Expected behavior

Actual behavior

Please fill out the issue template.

Please fill out the issue template.


Don’t ignore package failures

Changelog

fixed build pack erroneously reporting success when the pack actually failed

Issues fixed or closed
Questions (open the PR then click the check boxes)
Did you update the documentation related to your changes?

[ ] Yes
[ ] My changes were not already documented

Did you run make before committing code and opening this PR?

[X] Yes
[ ] I didn't change any code

Did you run porter create-stack and porter sync-stack to verify provisioning
works?

[ ] Yes
[X] N/A

@phylake — I see v4 has taken over master at this point, but I expect the v3 will want this.

@jfieber This is building on master which has breaking changes for v4. Sound good?

👍

:shipit:


[Subversion --with-serf] linking/installing fails (?)

Regular install of the formula works, but --with-serf fails.
Here are logs: https://gist.github.com/anonymous/e810f289d9e4cfb5095af136fb3e3bc1
I do not see anything weird in the log.
Any ideas?

Doing --verbose --debug install, performing make install by hand and ignoring the error result in a working svn by the way.

libtool: warning: '/dev/shm/subversion20160426-24557-8xnu2u/subversion-1.9.3/subversion/libsvn_ra_local/libsvn_ra_local-1.la' has not been installed in '/mnt/orange/brew/data/Cellar/subversion/1.9.3/lib'
/mnt/orange/brew/data/bin/ld: cannot find -lsvn_delta-1
collect2: error: ld returned 1 exit status
libtool: warning: '/dev/shm/subversion20160426-24557-8xnu2u/subversion-1.9.3/subversion/libsvn_repos/libsvn_repos-1.la' has not been installed in '/mnt/orange/brew/data/Cellar/subversion/1.9.3/lib'
libtool:   error: error: relink 'libsvn_ra_serf-1.la' with the above command before installing it
libtool: warning: '/dev/shm/subversion20160426-24557-8xnu2u/subversion-1.9.3/subversion/libsvn_fs/libsvn_fs-1.la' has not been installed in '/mnt/orange/brew/data/Cellar/subversion/1.9.3/lib'
make: *** [install-serf-lib] Error 1

https://gist.github.com/anonymous/e810f289d9e4cfb5095af136fb3e3bc1#file-05-make-L141

For what purpose do you need --with-serf? This option is unfortunately known not to work on Linux.

Otherwise http/https transports of svn do not work making built subversion pretty useless (or am I doing something wroing?)
Second invocation of make install finishes correctly.

Your timing is good. I hadn't yet run into this issue myself, and just encountered it. brew install homebrew/science/k8 requires svn --with-serf for http support.

I see the same error as you did above when installing subversion --with-serf.

Running brew install subversion --with-serf at error selecting 5. shell then running make install; exit and selecting 2. ignore works great. Thanks for the workaround, Arseny.

Maybe their local automake&company files are broken.
I will try to regenerate them using autotools and report what happens when I'll have some time.

This patch worked for me!
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index fadccc4..b7619d5 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -168,7 +168,8 @@ class Subversion < Formula

     system "./configure", *args
     system "make"
-    system "make", "install"
+    # Fix ld: cannot find -lsvn_delta-1
+    ENV.deparallelize { system "make", "install" }
     bash_completion.install "tools/client-side/bash_completion" => "subversion"

     system "make", "tools"

Great! --with-serf should be made a default option once more, probably.

Woops. Spoke too soon. I forgot to add the --with-serf in that test. =/
I'm testing it now --with-serf.

It works! For real this time. :tada:

This issue was moved to Linuxbrew/homebrew-core#4


add possibility to choose whether snapshot base volume or copy

Description
Add key base_volume_copy for libvirt_volume resource which controls
whether to invoke StorageVolCreateXML (defualt) or StorageVolCreateXMLFrom.
Motivation
Currently workflow of creating libvirt volumes from base volumes works good for qcow2 images. New volumes are created with backingStore xml element in definition which associates them with base qcow2 copy-on-write image and allows them to grow in size without any limitations.
However for logical storage pools, backingStore element instructs libvirt to create lvm snapshot which has the following implications:

The size of a snapshot volume cannot be larger than it's base volume
The size of a snapshot cannot be smaller than it's base volume (which is limited by this check).

So workflow of creating libvirt volumes from base volumes for logical storage pool is not very useful:
it's impossible to create volume of arbitrary size from base volume.
To address this problem, this PR adds possibility to invoke StorageVolCreateXMLFrom which creates new ordinary logical volume of any size and just copies the base volume to it.
Notes
Uselessness for dir type pools
For qcow2 images this knob is rather useless. For qcow2 file images regardless of user specified size, the final size will be the same as the backing image's size. This is so because libvirt invokes qemu-img create followed by qemu-img convert in StorageVolCreateXMLFrom (rather than qemu-img dd or copy and qemu-img resize).

Other storage backends
Behavior for storage backends other than dir and logical was not tested.

thx for PR. I will check this soon. stay tuned. :sun_with_face:

Just tested this pull request, works great!
Without base_volume_copy I'm unable to get VM root partition in specified size, as LVM COW snapshot cannot be resized.
Here is my working main.tf:
provider "libvirt" {
#  uri   = "qemu+ssh://root@builder1/system"
  uri = "qemu:///system"
}

provider "cloudinit" {}

resource "libvirt_volume" "ubuntu_focal_image" {
  name = "ubuntu_focal_image"
  pool = "default"
  source = "/var/lib/libvirt/focal-server-cloudimg-amd64-disk-kvm.raw"
}

resource "libvirt_volume" "disk" {
  name = "u1-root"
  base_volume_id = libvirt_volume.ubuntu_focal_image.id
  base_volume_copy = true
  size = 100 * 1024 * 1024 * 1024
}

resource "tls_private_key" "bootstrap_key" {
  algorithm = "RSA"
}

data "cloudinit_config" "user_data" {
  gzip = false
  base64_encode = false
  part {
    content = <<EOF
#cloud-config
hostname: u1
fqdn: u1.test
manage_etc_hosts: true
users:
  - name: root
    ssh-authorized-keys:
      - ${tls_private_key.bootstrap_key.public_key_openssh}
# only cert auth via ssh (console access can still login)
ssh_pwauth: false
disable_root: false
packages:
  - qemu-guest-agent
growpart:
  mode: auto
  devices: ['/']
# written to /var/log/cloud-init-output.log
final_message: "The system is finally up, after $UPTIME seconds"
EOF
  }

}

# Use CloudInit to add the instance
resource "libvirt_cloudinit_disk" "commoninit" {
  name      = "commoninit.iso"
  user_data = data.cloudinit_config.user_data.rendered
}

resource "libvirt_domain" "u1" {
  name   = "u1"
  memory = 32 * 1024
  vcpu   = 32
  autostart = true

  network_interface {
    wait_for_lease = true
    network_name = "default"
  }

  disk {
    volume_id = libvirt_volume.disk.id
    scsi = "true"
  }

  cloudinit = libvirt_cloudinit_disk.commoninit.id

  console {
    type = "pty"
    target_type = "serial"
    target_port = "0"
  }

  graphics {
    type = "spice"
    listen_type = "address"
    autoport = true
  }

  connection {
    host = self.network_interface.0.addresses.0
    type = "ssh"
    user = "root"
    private_key = tls_private_key.bootstrap_key.private_key_pem
    agent = false
  }

  provisioner "remote-exec" {
    inline = ["cloud-init status --wait"]
  }

  provisioner "salt-masterless" {
    local_pillar_roots = "${path.root}/../../../../salt-pillar"
    local_state_tree   = "${path.root}/../../../../salt-states"
    minion_config_file = "minion.conf"
  }

  provisioner "remote-exec" {
    inline = [
      "rm -rf /srv/pillar",
      "rm -rf /srv/salt",
      "systemctl stop salt-minion",
      "systemctl disable salt-minion"
    ]
  }
}

Super useful feature for us! :tada:

@dmacvicar seems like this is just how virStorageVolCreateXMLFrom is defined? https://libvirt.org/html/libvirt-libvirt-storage.html#virStorageVolCreateXMLFrom
This feature is really useful and should be considered. A common use case is where you don't want or need a backing store for the resulting instance, just a standalone volume.


Fix support for Chrome 80

Chrome 80 adds a "source_scheme" column to the Cookies sqlite database.
This check slightly cleans up the implementation, and enables
compatibility for Chrome 80.

Thanks for the fixes!


Tune down Devise timeoutable

Who is this PR for?
K12 educators, security
What problem does this PR fix?
I mistakenly increased this in https://github.com/studentinsights/studentinsights/pull/32, thinking it was an absolute measure from sign-in, and not the total time since the last request.
What does this PR do?
Cuts it down to 30 minutes, and comments about the heuristic in the UI warning about this.

@alexsoble I think I messed this up earlier, does this seem right to you?

@alexsoble ping again on reviewing this when you get a chance.

@alexsoble sounds good, thanks for merging!  👍
Yeah the tricky thing here is that this approach won't work the same with long-lived pages (like the class list pages).  There each XHR resets the server-side timeout, but the JS code here doesn't know about that so it will alert too soon as a false positive.  So yeah not something to solve today :)


Alamofire 4 in Cocoapods doesn't integrate correctly.

I'm trying to use Alamofire 4 through Cocoapods. However when I install it, XCode 8 still thinks it needs upgrading.
Looks like the pod spec is not setting up the target correctly.

You need to upgrade to CocoaPods 1.1.0 to properly use Swift pods with Xcode 8.

Use:
gem install cocoapods --pre

As of today worked for me.

Yep. Had to go to pre-release version of CocoaPods.


Crystal esp+color

add esp of crystal's saw-edged
also I suggest add gradient rainbow with optional saturation

Exists in a shader esp plugin that removes optifines fastrender, so it wont make its way into the client. I suggest you buy future!


⚠ Processors has degraded performance

In 06a3fa4, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 41 ms

Resolved: Processors performance has improved in f7dc376.


Remove text saying low processor mode only works on desktop

I can't go through the engine code to confirm this (I don't know C++), but there's no mention of it only working on desktop in the description for low processor mode for the OS class, which is the same setting. And I know because #59607 exists that it at least works on Andoird.
I'll gladly update this PR if this isn't the case though and it still doesn't work on something. Closes https://github.com/godotengine/godot-docs/issues/9021

Cc @m4gr3d

Thanks!


[Benchmarks] Added benchmarks for LiteDb and MS FASTER

Few simple benchmarks for LiteDB and FASTER

@fenix2222 please fix the build


Issue 58: Allowed models to be package private

Added feature requested in #58
POJOs annotated with @AutoGsonAdapter can now be package local. A TypeAdapterLoader will now be generated for each required package, allowing greater API flexibility.

Unit tests have been updated and have passed. Merging this feature.


pub/sub messaging broker?

Hi nice project!
I am looking to migrate over from go-micro, but I am wondering if there is any pub/sub messaging natively build into go-zero, as I could not find it.
Or how do you typically implement this with go zero?
Of course it would be possible to write everything from scratch, but since its a common practice I thought I would ask first to see if there is anything available.

Maybe go-queue is suitable for you.


Add option to neglect non-space characters such as diacritics to SearchContainer

This pull request addresses issue https://github.com/ppy/osu/issues/19591.
With this implementation diacritics are neglected altogether if NonSpaceCharacterMatching is set to false.
I think almost always diacritics should be neglected but maybe there are cases when it matters.

I do wonder what kind of a performance impact this (presumably) more expensive comparison has.

As a safer alternative IgnoreNonSpace can be by default set to false and changed to true only if needed.

I have some difficulties making SearchContainer work in benchmark environment.
So instead I copy pasted checkTerm function and worked with it for now.
Searching 1000 random 20 letter strings in 1000 letter string gave results:

BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000
Intel Core i7-9750H CPU 2.60GHz, 1 CPU, 12 logical and 6 physical cores
.NET SDK=6.0.400
  [Host]     : .NET 6.0.8 (6.0.822.36306), X64 RyuJIT DEBUG
  DefaultJob : .NET 6.0.8 (6.0.822.36306), X64 RyuJIT

Method
Mean
Error
StdDev
Allocated

SearchIgnoreNonSpace
62.268 ms
2.0146 ms
5.8126 ms
60 B

SearchWithNonSpace
5.590 ms
0.1116 ms
0.2736 ms
4 B

SearchNonContiguousIgnoreNonSpace
83.602 ms
2.0619 ms
5.9819 ms
80 B

SearchNonContiguousWithNonSpace
5.254 ms
0.1006 ms
0.2100 ms
4 B

Difference is rather high but the question is, is it acceptable difference.
I can try making SearchContainer work but I don't know if it is worth.

I think it would be beneficial to have it benchmarked in context, using SearchContainer. Using GameBenchmark and benchmarking RunSingleFrame() should work.
You can use Params to set IgnoreNonSpace, etc.
If you're unable to make SearchContainer work, then make checkTerm internal and use that in the benchmark instead of copying code. (Commit the benchmark to this PR as well.)

Thanks for suggestion, I guess I was on wrong track last time.
Now I get these results:

BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000
Intel Core i7-9750H CPU 2.60GHz, 1 CPU, 12 logical and 6 physical cores
.NET SDK=6.0.400
  [Host]     : .NET 6.0.8 (6.0.822.36306), X64 RyuJIT DEBUG
  DefaultJob : .NET 6.0.8 (6.0.822.36306), X64 RyuJIT

Method
AllowNonContiguous
IgnoreNonSpace
Mean
Error
StdDev
Median
Allocated

SearchRandomStrings
False
False
84.42 μs
4.811 μs
13.648 μs
80.80 μs
2 KB

SearchRandomStrings
False
True
92.62 μs
7.832 μs
22.470 μs
82.90 μs
2 KB

SearchRandomStrings
True
False
81.29 μs
3.510 μs
9.900 μs
77.50 μs
2 KB

SearchRandomStrings
True
True
83.45 μs
4.696 μs
13.474 μs
78.30 μs
2 KB

These results were strange to me but I checked whether checkTerm() is being used and it was.
I guess now it searches in batches and then it searched through long string and it made the difference.


Incorrect starting offset while wrapping Memory onto byte array

Memory.java#L198, permalink seems incorrect.
It initializes the memory with the offset 0, instead of the supplied offset into the array. I might be unclear on the method's contract, but this seems counterintuitive to what I was expecting - an offset of x with length l as an argument means that the memory would be a window into the [x..x+l] bytes of the provided byte array. This is what ByteBuffer.wrap() does.
Is this the expected behavior of the method or is it a bug?
Thanks!

Thank you for finding and reporting this.
That looks like a bug.  I'm going to investigate to see if this appears anywhere else.

This fix along with a few other minor issues is now in master and in process for a bug-fix release 2.2.1


Create a functionality so that the app updates are delivered to the user

Solved this issue and code is merged


[Feature]: Synchronization specification in YAML

What would you like to see added to NeuroConv?
As the [Sync I-V] PRs stand now, they allow code/API level interactions between interfaces to specify how to synchronize the timing of the data streams. It remains unclear exactly how to propagate this to the YAML (no-coding) structure.
Setup:
Assume we have, at the innermost session level (which could have aggregated some interfaces from the global or experiment level) something like
data_interfaces:
  - SpikeGLXLFPInterface
  - SpikeGLXNIDQInterface
  - AudioInterface
  - BehaviorEventInterface

where:

The AudioInterface needs its timing info to be parsed from a certain channel of the SpikeGLXNIDQInterface.
The AudioBehaviorEventInterface needs it's timing info to be synchronized between both the AudioInterface and the SpikeGLXNIDQInterface.
The CameraInterface had a delayed start relative to the SpikeGLXNIDQInterface, so we need to align with the first TTL pulse, but aside from that the timestamps are synchronized.

Here are some proposals:
(a)
Then perhaps we specify this as a new block named synchronize following the structure
synchronize:
  InterfaceToBeSynchronized:
    synchronization_method:
      synchronization_source:  # such as another interface
        options_for_sync_source:  # like which channel ID

Example:
synchronize:
  AudioInterface:
    synchronize_timestamps:
      SpikeGLXNIDQInterface:
        channel_name: "name_of_nidq_channel_used_for_audio_sync"
  BehaviorEventInterface:
    synchronize_between_systems:
      primary:
         SpikeGLXNIDQInterface:
           channel_name: "name_of_nidq_channel_used_for_audio_sync"
      secondary:
         unsynchronized_audio_timestamps
  VideoInterface:
    synchronize_start_time:
      SpikeGLXNIDQInterface:
        channel_name: "name_of_nidq_channel_used_for_camera_sync"

(b)
Or perhaps it can be a new field specified alongside other options for each interface
source_data:
  InterfaceToBeSynchronized:
    primary_interface_options: ...
    ....
    synchronization_method:  # such as another interface
      synchronization_source:
        options_for_sync_source:

Example:
source_data:
  AudioInterface:
    file_path: "path/to/audio_file.wav"
    synchronize_timestamps:
      SpikeGLXNIDQInterface:
        channel_name: "name_of_nidq_channel_used_for_audio_sync"
  BehaviorEventInterface:
    file_path: "path/to/behavior_file.mat"
    variable_name: "poke_times"
    synchronize_between_systems:
      primary:
         SpikeGLXNIDQInterface: # Without further nesting implies using the timestamps of this interface itself
           channel_name: "name_of_nidq_channel_used_for_audio_sync"
      secondary:
         unsynchronized_audio_timestamps
  VideoInterface:
    file_path: "path/to/video.avi"
    synchronize_start_time:
      SpikeGLXNIDQInterface:
        channel_name: "name_of_nidq_channel_used_for_camera_sync"

if we think about it like a web form, perhaps this one makes more sense as it is something you think about at the same time as other interface-level specifications.
Do you have any interest in helping implement the feature?
Yes.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Have you ensured this bug was not already reported?

      secondary:
         SpikeGLXNIDQInterface:  # <-- did you mean AudioInterface
           channel_name: "name_of_nidq_channel_used_for_audio_sync"

Now that's an interesting one - I reference the specific channel of the NIDQ used to sync Audio rather than the actual Audio timestamps to avoid implying that the sync operations we've specified must occur in a specific order (as is they are technically order-less dictionaries).
If we referred to the AudioInterface there are the source for the secondary timings, the result would change depending on when the AudioInterface times get synchronized in this chain of events

@CodyCBakerPhD

The AudioInterface needs its timing info to be parsed from a certain channel of the SpikeGLXNIDQInterface.
The AudioBehaviorEventInterface needs it's timing info to be synchronized between both the AudioInterface and the SpikeGLXNIDQInterface.
The CameraInterface had a delayed start relative to the SpikeGLXNIDQInterface, so we need to align with the first TTL pulse, but aside from that the timestamps are synchronized.

can I clarify this just so I can make sure we are talking about the same thing?

The times recorded from the TTL pulses of a specific channel of SpikeGLXNIDQInterface should be used as the timestamps for AudioInterface, right?
Since AudioBehaviorEventInterface is presumably derived from the raw data of AudioInterface, it makes sense that it would have the same timing. So I suppose we would want to use the timestamp interpolation method here?

I prefer b. I think it does a better job of isolating independent components. I would suggest this minor syntactic change though:
source_data:
  AudioInterface:
    file_path: "path/to/audio_file.wav"
    synchronize_timestamps:
      SpikeGLXNIDQInterface:
        channel_name: "name_of_nidq_channel_used_for_audio_sync"
  BehaviorEventInterface:
    file_path: "path/to/behavior_file.mat"
    variable_name: "poke_times"
    synchronize_between_systems:
      primary:
        SpikeGLXNIDQInterface  # Without further nesting implies using the timestamps of this interface itself
          channel_name: "name_of_nidq_channel_used_for_audio_sync"
      secondary:
         AudioInterface  # <-- wouldn't this make more sense? Maybe I am misunderstanding
  VideoInterface:
    file_path: "path/to/video.avi"
    synchronize_start_time:
      SpikeGLXNIDQInterface:
        channel_name: "name_of_nidq_channel_used_for_camera_sync"

The times recorded from the TTL pulses of a specific channel of SpikeGLXNIDQInterface should be used as the timestamps for AudioInterface, right?

Yes, specifically the conveniently named channel ID "name_of_nidq_channel_used_for_audio_sync"

Since AudioBehaviorEventInterface is presumably derived from the raw data of AudioInterface, it makes sense that it would have the same timing. So I suppose we would want to use the timestamp interpolation method here, interpolating the timestamps from AudioBehaviorEventInterface using the mapping from AudioInterface (x) to SpikeGLXNIDQInterface (y)?

Yes, the original unsynchronized behavioral event times occur in the same time domain as the Audio system, but there are no actual TTL pulses for the behavior events, only the the times of acquisition for frames in the acoustic series of the audio interface. We want to map those times to the NIDQ (primary/common) time domain to directly compare to some ecephys data.

What do you think of this?
<-- wouldn't this make more sense? Maybe I am misunderstanding

Yes that does make more sense, but still has the problem of https://github.com/catalystneuro/neuroconv/issues/249#issuecomment-1347222179 - the reference to AudioInterface as the secondary timestamps when synchronizing the BehaviorEventInterface. That is only true if the AudioInterface does not perform its synchronization operation prior to the BehaviorEventInterface, but since these are dictionaries it just seems like bad practice to make an assumption like that. Seems better to try to use the values you know to be globally true irrespective of order. I've adjusted the original post to reflect this as far as I can right now.
An explicit example just to be clear:
Primary (Audio, synchronized to be as NIDQ sees them) timestamps: [1.2, 1.31, 1.42]  # 1.2 second delay in start of audio while mimicking .01 second drift for 10 Hz rate
Secondary (Audio, unsynchronized) timestamps: [0.0, 0.1, 0.2]
Unsynchronized behavior event times (in unsynchronized audio time): [0.06, 0.15]
Synchronized behavior event times (in synchronized NIDQ time): [1.266, 1.365]

I suppose a solution on the YAML side could be to allow references like you have to things like AudioInterface timestamps to refer to their values before any synchronization is done, but that still seems like it might be confusing... When this is done purely in code it's obvious because you can store the unsynchronized_audio_timestamps prior to doing anything to the AudioInterface and then reuse them later wherever they're needed.

Oh, I understand now, but I really don't see how this synchronization can be done without knowing the original Audio timestamps. You need to do this operation:
np.interp1(
    x=BehaviorEventInterface.original_timestamps,
    xp=AudioInterface.original_timestamps,
    fp=SpikeGLXNIDQInterface.ttl_times,
)

How can this be done without referencing AudioInterface.original_timestamps?

but I really don't see how this synchronization can be done without knowing the original Audio timestamps.

Right, it can't. But that's easy to accomplish when doing this in code
unsychronized_audio_timestamps = my_audio_interface.get_times()

my_audio_interface.synchronize_timestamps(...) # using the NIDQ times
my_behavior_event_interface = synchronize_between_systems(
    primary=SpikeGLXNIDQInterface.ttl_timestamps["name_of_nidq_channel_used_for_audio_sync"],
    secondary=unsychronized_audio_timestamps ,
)

And I'm say we could make it clear in the YAML usage than when saying something like
    synchronize_between_systems:
      primary:
        SpikeGLXNIDQInterface
          channel_name: "name_of_nidq_channel_used_for_audio_sync"
      secondary:
         AudioInterface  # <-- This refers to the unsynchronized timestamps

and in the code for parsing the YAML, if we see an interface specified like that, grab its timestamps before applying synchronization so it can be passed into other sync methods that might need to use them.
IDK that could still get confusing to a user though...
would need something like
    synchronize_between_systems:
      primary:
         AudioInterface: syncrhonized
      secondary:
         AudioInterface: unsychronized

to clearly communicate it


Empty Response when ollama is very slow

Issue
I get an empty response from the library, but my tcpflow logs show that the response does come later.
{
    "role" : "assistant",
    "content" : "",
    "images" : null
  }

Details
I have an old laptop with only Dual-Core i5 2.7Ghz and am running llama3 on Ollama.
I created a simple app to test ollama4j with llama3, but getting empty responses back, even though I set a huge request timeout.
Here is my code
String host = "http://localhost:11434/";
      String model = "llama3";
      OllamaAPI ollamaAPI = new OllamaAPI(host);
      ollamaAPI.setRequestTimeoutSeconds(600000);
      ollamaAPI.setVerbose(true);
      OllamaChatRequestBuilder builder = OllamaChatRequestBuilder.getInstance(model);
      Options options =
          new OptionsBuilder()
              .setTemperature(0.2f)
              .setNumCtx(example.getModel().getCompletionLength())
              .setTopK(1)
              .setTopP(0.9F)
              .build();
      OllamaChatRequestModel requestModel = builder.withMessage(OllamaChatMessageRole.SYSTEM, example.getSystemPrompt())
          .withMessage(OllamaChatMessageRole.USER, "What can you help me with?")
          .withOptions(options)
          .build();
      System.out.println("Ollama request: " + requestModel.toString());
      OllamaChatResult chatResult = ollamaAPI.chat(requestModel);
      System.out.println("Ollama answer: " + chatResult.getHttpStatusCode() + " in seconds: " + chatResult.getResponseTime() + ":\n" + chatResult.getResponse());

And my logs show this:
Ollama request: {
  "model" : "llama3",
  "options" : {
    "top_p" : 0.9,
    "top_k" : 1,
    "temperature" : 0.2,
    "num_ctx" : 1024
  },
  "stream" : false,
  "messages" : [ {
    "role" : "system",
    "content" : "You are a helpful customer service representative for a credit card company who helps answer customer questions about their past transactions and spending history. Today's date is January 18th, 2024. You provide precise answers and use functions to look up information...",
    "images" : null
  }, {
    "role" : "user",
    "content" : "What can you help me with?",
    "images" : null
  } ]
}
Ollama answer: 200 in seconds: 108372:

If I look into the message history, I basically see
{
    "role" : "assistant",
    "content" : "",
    "images" : null
  }

But if I check my tcpflow logs, I can see a Response:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Tue, 14 May 2024 10:29:15 GMT
Content-Length: 801

{
   "model":"llama3",
   "created_at":"2024-05-14T10:29:15.284946Z",
   "message":{
      "role":"assistant",
      "content":"I'm happy to assist you with any questions or concerns you may have about your credit card account. I can help you:\n\n* Review your transaction history and spending habits\n* Check your available credit limit and current balance\n* Provide information on rewards and benefits associated with your card\n* Help you track your spending by category (e.g., groceries, entertainment, etc.)\n* Offer suggestions for managing your debt or improving your financial situation\n\nWhat specific area would you like me to help you with today?"
   },
   "done_reason":"stop",
   "done":true,
   "total_duration":54914791839,
   "load_duration":15113419,
   "prompt_eval_duration":804784000,
   "eval_count":101,
   "eval_duration":54082687000
}

Trying the streaming API works, but not the synchronous one.
Do you have any idea what the problem is?

Seems to me like a misinterpreted HttpClient Hangup, i.e. instead of an exception we get a 200 response code without actual content.
I'll try to dive deeper into the issue later today.

Hi, tried to reproduce your error with a similar vm in the cloud, but actually I got a response (even though the response time was quite similar):
  "model" : "llama3",
  "options" : {
    "top_p" : 0.9,
    "top_k" : 1,
    "temperature" : 0.2,
    "num_ctx" : 1024
  },
  "stream" : false,
  "messages" : [ {
    "role" : "system",
    "content" : "You are a helpful customer service representative for a credit card company who helps answer customer questions about their past transactions and spending history. Today's date is January 18th, 2024. You provide precise answers and use functions to look up information...",
    "images" : null
  }, {
    "role" : "user",
    "content" : "What can you help me with?",
    "images" : null
  } ]
}

21:51:22.542 [main] INFO  i.g.a.ollama4j.core.OllamaAPI Model response: {
  "response" : "I'm happy to assist you! As a credit card customer service representative, I can help you with various questions or concerns related to your account. Would you like to know more about:\n\n1. Your recent transactions: I can look up your statement history and provide details on specific purchases, payments, or credits.\n2. Your spending habits: If you're trying to track your expenses or identify areas where you can cut back, I can help you review your transaction data.\n3. Account activity: Are there any unusual charges or suspicious transactions that have caught your attention? I'm here to investigate and resolve any issues.\n4. Credit score inquiries: If you're curious about how your credit card usage affects your credit score, I can provide general information on how our company reports payment history to the major credit bureaus.\n\nPlease let me know what's on your mind, and I'll do my best to help!",
  "httpStatusCode" : 200,
  "responseTime" : 105440
}
Ollama answer: 200 in seconds: 105440:

I'll try to dig in deeper tomorrow.
In addition @amithkoujalgi I'll create a PR for updating the "ModelModel" as this has been updated by Ollama in the most recent version.

Hi @AgentSchmecker,
Sorry for the late reply. I was using version 1.0.52 when I had this issue. With an upgrade to 1.0.69, the issue disappeared, and even if it takes a long time, the response is there.
I will now close this issue. Thank you for your help.


wip: penumbra relayer provider

this PR adds the basic, work in progress, relayer provider and chain processor for penumbra.
Everything up to packet relaying is currently tested and works. This is a fork of the cosmos provider & processor, so there may be some dead code and code duplication.

Pulled this to latest main and resolved conflicts. Remaining tasks include:

[ ] Pull over changes for supporting non-default prefix
[ ] Update IBC protos to v5 (in penumbra)
[ ] Resolve remaining build errors

We are using the v5 ibc proto bindings through ibc_proto (the crate) but I just checked the one in proto/ibc-go-vendor and they look like the v3s. I'm not sure what we use the latter ones for, or how much work would that be to update them. Happy to pair on this if you want, or even take this on

Superseded by https://github.com/cosmos/relayer/pull/1144 ; see https://github.com/penumbra-zone/penumbra/issues/465 for details.


FIx develop -> communities merge

Mostly frontend stuff.
I'm also running into this issue https://github.com/grpc/grpc-web/issues/991. I think it's a version mismatch.

why were those migrations removed?

The migrations were broken in some way, I just regenerated them into one.

why were those migrations removed?

The migrations were broken in some way, I just regenerated them into one.

@lucaslcode: ping

@lucaslcode: ping


Update usb-devices.md

added information about native bluetooth certification

is there a way to share this edit with others for them to conmment during review before publishing?  I'd like to include Sandhya Rao, Elaine Ho and maybe one or two others.

@dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Hi @scanum  can you confirm ETA on this going live? does it need anything else from me?


Update Sway book README

https://github.com/FuelLabs/sway/blob/c84790e126f24a3dc34ea11c924da0caef073899/docs/book/README.md#building-from-source
cargo install --path ./forc-plugins/forc-fmt
cargo install --path ./forc-plugins/forc-lsp
cargo install --path ./forc-plugins/forc-explore # forc explore can't be installed this way since it is not in the forc-plugins folder
cargo install --path ./forc-plugins/forc-doc

+ cargo install forc-explore

mdbook build doesn't specify that you need to give a path to a book.toml, we could add that to the description above the command or add a comment like so # path to book.toml
MDBOOK_preprocessor__FORC_documenter__STRICT="true" mdbook build docs This command fails even when in the root directory, we could remove docs and add the same as above.
The same applies to mdbook serve
https://github.com/FuelLabs/sway/blob/c84790e126f24a3dc34ea11c924da0caef073899/docs/book/README.md#generating-documentation-for-forc-commandsplugins
There is a broken link at mdbook-forc-documenter README

Opening a PR for this today

Opening a PR for this today

nice thanks!

Technically, the mdbook build instruction isn't incorrect. The instruction either uses the current working directory by default, or a given path. Perhaps we could clarify this instead - will write more in the PR.


regex issue on args option matching

current
notify --session "foo-bar"
# output err: unknown option "bar"

seems regex is matching anything after "-"(with length 1~2) as option

Solved in release 0.2.2

Solved in release 0.2.2


protoc-gen-go: use standard library context (requires Go1.9)

This change effectively makes Go1.9 the minimum required version of Go
when using gRPC since type aliases are needed to truly unify context.
Even though this only affects those who use gRPC, there are other reasons we
need Go1.9 (such as type aliases for import public).
Fixes #537

Even though AppEngine classic is still not on Go1.9, it should happen by the time we merge dev into master (#479).

This doesn't make Go 1.9 the minimum unless you need to mix code which uses "golang.org/x/net/context" and "context". If you consistently use one or the other, there's no need for an alias.

This doesn't make Go 1.9 the minimum unless you need to mix code which uses
"golang.org/x/net/context" and "context". If you consistently use one or the
other, there's no need for an alias.

gRPC-Go imports x/net/context, so yes, this does make Go 1.9 the minimum version supportable by gRPC-Go.  This is not OK for us.


Update packages to RTM

Updated the package.json and global.json to 1.0.0 versions
All tests pass so I don't think there should be anything else required.

Thanks for this @Andrew lock! :heart:
The reason I haven't gotten around to updating for RTM is that I'm on vacation. I'll get this merged and a new version pushed some time next week :smile:

No problem, I saw you mention on the spec tests thread you were on vacation so thought I'd save you the trouble:)
Luckily the move to RTM didn't seem to break any of the tests so was a pretty simple change. Enjoy the rest of your holiday!

Thanks again! I'll get a new version out ASAP. Just need to install the new tooling for VS (takes ages :stuck_out_tongue:)

No problem, just happy to be contributing!:smile:


Alias Gamepad configuration still merging analog and triggers

Hi, I'm using Xidi's latest version 4.2.0 on the game Alias (https://www.pcgamingwiki.com/wiki/Alias). When using a Dualshock 4, it has the problem of triggers acting as Z-rotation making gameplay impossible natively. It retains this behaviour after applying Xidi 32-bit. The game has a main EXE which calls a configuration exe when setting up controls (it can be run separately). The configuration exe seems to be running dinput.dll and winmm.dll (dinput8.dll freezes the configuration utility when attempting to configure the controller). I tried using the Xidi hook method as well and it doesn't work. I tried using another tool - Gamepad Phoenix - and its logs show an attempt to call dinput but it freezes the app when it applies its own method to intercept the dinput call in the config utility.
I would be most grateful if this issue can be fixed and would love to provide any additional information that might help.

Dualshock controllers don't natively support XInput. I suspect Xidi probably isn't getting between the game and your controller at all.
If you want to check, enable logging and run the game with Xidi, then upload the log here. To enable logging, add this to your Xidi.ini configuration file:
[Log]
Enabled                             = yes
Level                               = 4

Dualshock controllers don't natively support XInput. I suspect Xidi probably isn't getting between the game and your controller at all.
If you want to check, enable logging and run the game with Xidi, then upload the log here. To enable logging, add this to your Xidi.ini configuration file:
[Log]
Enabled                             = yes
Level                               = 4

Xidi_WinMM_alias.exe_8300.log
You're likely right, here's the attached log and while I did have inputs for at least a few minutes after the last log entry nothing is registered as per the logs attached above. Is there any way to have DS4 support in Xidi?

Looking at your WinMM log - it doesn't appear that the game uses WinMM to talk to game controllers. Based on your first comment:

(dinput8.dll freezes the configuration utility when attempting to configure the controller)

This game probably uses dinput8.dll. Most interesting would be a log file captured while using the dinput8.dll form of Xidi, even if the game or configuration utility freezes.

Xidi_DInput8_alias.exe_22368.log
Xidi_DInput8_Configuration.exe_6692.log
Xidi_DInput8_alias.exe_22284.log
Xidi_DInput8_alias.exe_20036.log
Here's a few runs of the main game and one for the config utility. Hopefully this helps!

Could you also please try dinput? I don't see any evidence of communication with Xidi's dinput8 form from those logs.

I tried with dinput alone and no logs were being generated. However, the pad itself was also not working which was strange. It might have something to do with DS4Windows which I was messing around with just before testing so will try again later.

I did some digging into this game. It uses dinput8.dll with no need for the hook module version. The reason it isn't getting anywhere is that it tries to enumerate controllers in a technically-supported but unusual way, which Xidi does not currently implement.
First, it creates the DirectInput interface object (this shows in the logs). Then it tries to enumerate devices by calling this method:
HRESULT EnumDevicesBySemantics(
         LPCTSTR ptszUserName,
         LPDIACTIONFORMAT lpdiActionFormat,
         LPDIENUMDEVICESBYSEMANTICSCB lpCallback,
         LPVOID pvRef,
         DWORD dwFlags
)

The corresponding implementation in Xidi at the moment:
template <ECharMode charMode> HRESULT __stdcall WrapperIDirectInput<charMode>::
      EnumDevicesBySemantics(
          DirectInputType<charMode>::ConstStringType ptszUserName,
          DirectInputType<charMode>::ActionFormatType lpdiActionFormat,
          DirectInputType<charMode>::EnumDevicesBySemanticsCallbackType lpCallback,
          LPVOID pvRef,
          DWORD dwFlags)
  {
    // Operation not supported.
    return DIERR_UNSUPPORTED;
  }

Since it isn't supported in Xidi at the moment, the call fails, so the game does not end up using the DirectInput interface and thus controllers can't be configured.
I'll need to learn more about this style of enumeration and figure out if/how it can be supported in Xidi.

Ok great, please let me know if I can supply anything else on my end to assist with this.


Problem plotting data without first saving to csv and reloading csv

Hi,
I am using the latest version of the library in a JupyterLab (1.1.4) environment.
The problem I have that I want to plot a rather simple dataset I retrieve from a url. The data is retrieved and converted to a pandas DataFrame without problems. If I then try to plot the data the library simply turns out error "0".
The full standalone code is below. Notice that nearly at the end I save the pandas dataframe to a CSV, then directly read that CSV back into another pandas dataframe and I can plot the data. So plotting df_a works as planned, trying to plot df results in an error.
regards
Cor
import requests
import csv
import io
import pandas as pd
import pandas_bokeh
pandas_bokeh.output_notebook()

url = 'http://www.seismicportal.eu/fdsnws/event/1/query?limit=100&minmag=4.5&minlat=34&maxlat=42&minlon=26&maxlon=46&format=text'
r = requests.get(url)
content = r.content.decode('iso-8859-1')
lines=[]
for line in csv.reader(content.splitlines(),delimiter='\n'): #start by splitting the response by linebreaks
    lines+=line
df = pd.DataFrame([sub.split("|") for sub in lines])

# Retrieve HTTP meta-data
# print(r.status_code)
# print(r.headers['content-type'])
# print(r.encoding)

new_header = df.iloc[0] #grab the first row for the header
df = df[1:] #take the data less the header row
df.columns = new_header
df.columns=df.columns.str.strip() #remove any trailing/starting spaces from columnnames
df.Longitude=df.Longitude.astype(float)
df.Latitude=df.Latitude.astype(float)
df.Magnitude=df.Magnitude.astype(float)
df.to_csv('savequakes.csv')
dfa = pd.read_csv('savequakes.csv')

dfa['size']=dfa.Magnitude*5
dfa.plot_bokeh.map(
    x="Longitude",
    y="Latitude",
    category='Magnitude',
    colormap='Magma',
    line_color='black',
    hovertool_string="<h2> @{Time} </h2> <h3> Magnitude: @{Magnitude} </h3>",
    tile_provider='CARTODBPOSITRON',
    size="size",
    figsize=(1200, 800),
    title="earthquakes")

Hi @CorBer ,
This is a pretty interesting bug, thanks for reporting. The reason is actually the code line df = df[1:] #take the data less the header row, because in this case the first index has value 1.
I fixed the error for the next release, however you can easily avoid this by just using the awesome pd.read_csv functionality, which can also read from a web server like this:

import pandas as pd
import pandas_bokeh
pandas_bokeh.output_notebook()

df = pd.read_csv(r'http://www.seismicportal.eu/fdsnws/event/1/query?limit=100&minmag=4.5&minlat=34&maxlat=42&minlon=26&maxlon=46&format=text', sep="|")
df.columns=df.columns.str.strip()
df.Longitude=df.Longitude.astype(float)
df.Latitude=df.Latitude.astype(float)
df.Magnitude=df.Magnitude.astype(float)
df.head()
df['size']=df.Magnitude*5
df.plot_bokeh.map(
    x="Longitude",
    y="Latitude",
    category='Magnitude',
    colormap='Magma',
    line_color='black',
    hovertool_string="<h2> @{Time} </h2> <h3> Magnitude: @{Magnitude} </h3>",
    tile_provider='CARTODBPOSITRON',
    size="size",
    figsize=(1200, 800),
    title="earthquakes")

I hope this answers you question.
Best Patrik

Hi Patrik,
Ive just tested and it works. Its a win for both of us that way, I have learned a better way to read the data and you got a bug that you could remove ;) Thanks for the fast reaction and keeping this library updated.
regards
Cor

I am still amazed by the power libraries like yours bring forward. Being able to question a webserver and presenting its results on a map in just a few lines is great !
Just realized that the astype(float) transformations are not necessary also.


Project Website Fails to Load

Hey there, just a heads up that your website for this project is down 😬.

thanks. will get it sorted asap.

Cool! Thanks for all of your hard work, looking forward to using this plugin.


Feature func dropdown for query

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 65.842%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
4605

Relevant Lines:
6994

💛  - Coveralls


After update failed to start

Describe the bug
After upgrading to latest version of code-server is failing to start. see details bellow.
Context

Hardware: VPS bought online
YunoHost version: <IP_ADDRESS> (stable)
I have access to my server: Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
code-server version: 4.89.1~ynh1

Steps to reproduce

After upgrading to latest version code-server can not start, please see logs below.

Expected behavior
It should work without any problems no env settings have been changed.
Logs
-- Journal begins at Sat 2024-05-04 12:52:18 UTC, ends at Fri 2024-05-17 08:44:47 UTC. -- May 16 14:21:46 systemd[1]: Stopping VS Code Server... May 16 14:21:46 systemd[1]: code-server.service: Succeeded. May 16 14:21:46 systemd[1]: Stopped VS Code Server. May 16 14:21:46 systemd[1]: code-server.service: Consumed 27.814s CPU time. May 16 14:21:53 systemd[1]: Started VS Code Server. May 16 14:21:53 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 16 14:21:53 systemd[1]: code-server.service: Failed with result 'exit-code'. May 17 08:43:50 systemd[1]: Started VS Code Server. May 17 08:43:50 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 17 08:43:50 systemd[1]: code-server.service: Failed with result 'exit-code'. May 17 08:43:55 systemd[1]: Started VS Code Server. May 17 08:43:55 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 17 08:43:55 systemd[1]: code-server.service: Failed with result 'exit-code'. May 17 08:44:01 systemd[1]: Started VS Code Server. May 17 08:44:02 systemd[1]: code-server.service: Main process exited, code=exited, status=1/FAILURE May 17 08:44:02 systemd[1]: code-server.service: Failed with result 'exit-code'.

Should by fixed by last release.


parameters with custom component

Is there a way to pass parameters to custom component? for example "message" to show on toaster creation

It isn't clear exactly what you are trying to accomplish, but this should be a duplicate of https://github.com/Stabzs/Angular2-Toaster/issues/112.  Please let me know if for whatever reason it doesn't solve your needs.


build_visit: Issue Building Serial HDF5

information:
3.4RC has this issue on the RZ
build_visit invocation:
./build_visit --makeflags -j24 --mesagl --mpich --no-gdal --required --optional --qt6

terminal output:
Building HDF5 (~15 minutes)
Unzipping/Untarring hdf5-1.8.14.tar.gz . . .
Patching hdf5 1.8.14 for isatty
Configuring HDF5 . . .
SZip requested.  Configuring HDF5 with SZip support.
Configuring HDF5 with ZLib support.
Invoking command to configure serial HDF5
Making serial HDF5 . . .
Installing serial HDF5 . . .
serial HDF5 install failed. Giving up
Unable to build or install HDF5. Bailing out.
Error in build process. See build_visit_log for more information. If the error is unclear, please include build_visit_log and contact the VisIt project via https://visit-help.llnl.gov. You may need to compress the build_visit_log using a program like gzip so it will fit within the size limits for attachments.
Log file full path:  /usr/workspace/justin/visit_builds/3.4RC-w-tpls-03_05_24/build_visit_log

log file:
checking command to parse /usr/bin/nm -B output from gcc object... ../configure: line 10642: conftest.c: Disk quota exceeded
cat: conftest.c: No such file or directory
../configure: line 10642: conftest.c: Disk quota exceeded
cat: conftest.c: No such file or directory
failed
checking for sysroot... no
../configure: line 10915: conftest.c: Disk quota exceeded
checking for mt... mt
checking if mt is a manifest tool... ../configure: line 11160: conftest.err: Disk quota exceeded
cat: conftest.err: No such file or directory
/usr/bin/grep: conftest.out: No such file or directory
no
checking how to run the C preprocessor... ../configure: line 11839: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
../configure: line 11839: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
../configure: line 11839: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
../configure: line 11839: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
../configure: line 11839: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
../configure: line 11839: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
/lib/cpp
../configure: line 11898: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
../configure: line 11898: conftest.c: Disk quota exceeded
../configure: line 2089: conftest.i: Disk quota exceeded
sed: can't read conftest.c: No such file or directory
configure: error: in `/usr/workspace/justin/visit_builds/3.4RC-w-tpls-03_05_24/hdf5-1.8.14/build_serial':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
+ set +x
+ make -j24 lib
make: *** No rule to make target 'lib'.  Stop.
+ set +x
make: *** No rule to make target 'install'.  Stop.

I am particularly concerned by the Disk quota exceeded messages. I'm using rzhound for the first time, which from my understanding should be an upgrade from rztopaz. What can I do on my end?

You may need to clean up /usr/workspace/justin to remove files/directories no longer needed.

You mean I can't have 19 visit builds + 2 conduit builds? Ridiculous


Add ability to disable htmllint completely for a block of code

I have the following block of code, but it seems like HTMLLint really doesn't like that handlebars partials and throws an error:
<!DOCTYPE html>
<html>
<head>
  <title>Firefox Fileshare</title>
  <script src="/webcrypto-shim.js"></script>
  <script src="/bundle.js"></script>
  <link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css" />
  <link rel="stylesheet" type="text/css" href="/main.css" />
  {{#if shouldRenderAnalytics}}
    {{> analytics trackerId=trackerId}}
  {{/if}}
</head>
...

And the error is:
> htmllint 'views/*.handlebars'

views/download.handlebars: line 3, col 7, text contains improperly escaped characters:

Where line 3 is the opening <head> tag. I think it really hates that non-HTML {{> analytics trackerId=trackerId}} bit. I was hoping there was some inline config like <!-- htmllint disable -->...<!-- htmllint enable --> which would toggle off all rules. I see there may be some preset trickery I could try, but I can't seem to get it to work locally where I ignore all rules for a few specific lines and then revert back to my original config.

The line and column numbers should now be accurate; see #205. Other than that, the error message is correct, strictly speaking...
You should be able to disable all rules with <!-- htmllint preset="none" --> but this is crashing for me when I try it on your example. It works in the unit tests. There is not an easy way to revert it either, and it doesn't prevent the parser from getting in a bad state because of invalid html between that and the next comment tag.
See #155 for my discussion on how to add an option to ignore these kinds of tags. I'm closing this as a duplicate of #155, but fixing that issue somehow is my top priority for htmllint right now.


Help page and about page not working (nginx + ssl related?)

Not sure if its actually nginx or ssl related, but its not working. And needs some fixes.

Well, it’s definitely broken here in nginx with HTTPS, and since that is the only documentation at all for this thing …
I don’t have a way to test bypassing nginx though — I can access port 8081 fine in links on localhost but login attempts are just ignored. I cannot get to that server on that port externally.

@Daniel-Beardsmore The whole micro service and nginx thing is broken. I am currently working steadily on moving away from an enterprise like stack. Until I have made more progress on the new stack, which is soon ready for some testing, you can try to bypass the ningx layer,  by accessing the web directly from the server on port something something (8086? don't remember... its in cleartext in nginx config and application config files)


Feature/teams integration

Issue #, if available:
Teams integration
Description of changes:
Teams integration for teams.microsoft.com
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Still to do after last commit:

speaker change when participant shares screen
speakers when participant enables video

Still to do after last commit:

speaker change when participant shares screen
speakers when participant enables video
add README section of why Teams extension cannot post startRecording and stopRecording message to chat.
add notes on versions of Teams supported or not...

speaker change when participant shares screen
speakers when participant enables video

@rstrahan  please review

Thanks @wchemz !!
Can you add a note on any known limitations? Eg Teams versions tested/supported, lack of feature parity with zoom/chime (eg chat message posting not working) etc..


How can I add a round corner to a window when its undecorated attribute was set to true?

I don't want the white bar on the top of the window, so I set undecorated to true and add a customized close and minimize button to the top of the window. But I want my window to be round-cornered and I want to add the system-followed close and minimize button like this

How can I do that? Thanks a lot (XD

related issue https://github.com/JetBrains/compose-jb/issues/877

Thanks for answering, but I would like to add more margin like chrome, currently the toolbar is too close to the window edge. Also, how can I implement this on Windows?

@SpaceXC You can do this by adding addComponentListener
    Window(onCloseRequest = ::exitApplication,
        undecorated = true) {

        window.addComponentListener(object : java.awt.event.ComponentAdapter() {
            override fun componentResized(e: java.awt.event.ComponentEvent?) {
                window.shape = RoundRectangle2D.Double(
                    0.0,
                    0.0,
                    window.width.toDouble(),
                    window.height.toDouble(),
                    30.0,
                    30.0
                )

            }
        })

        App()
    }

@guiyanakuang thanks! I'll try that out!

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Fix for issue 47

PR #73 didn't quite do it, hopefully this does.

Current coverage is 96.94%

Merging #76 into master will decrease coverage by -0.75% as of ba40ec2

Powered by Codecov. Updated on successful CI builds.


National legal base

Asana Card

added info about the national legal base.

We might need an additional ENV var flag - as this can't be deployed to production right now, we need to keep the previous behaviour unless an env var is set.
The timeline first they will hide the legal base, then once DIT have the data in the information_text, an env var to display this data.

hey, @matthewford I've fixed as described.


Logs not showing no matter the macro invocation

Describe the bug
I'm trying to get some logs to show up in the console when I run my app. I have tried calling println!, debug!, info! and warn!, and no matter which I call, none of the messages I try to print show up.
Steps to reproduce
Create a new project, and make a function called test_logs() and try this:
 debug!("Called debug");
 println!("Called println");
 info!("called info");
 warn!("called warn");

run the generate command and call this function immediately, inside initState(), perhaps.
and the output looks like this for me:
Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 27J95Y9584
Xcode build done.                                           28.4s
You may be prompted to give access to control Xcode. Flutter uses Xcode to run your app. If access is not allowed, you can change this through your Settings > Privacy & Security > Automation.
Connecting to VM Service at ws://<IP_ADDRESS>:61019/Qt697_cX2HA=/ws

... nothing.  I verified that the flutter_rust_bridge::setup_default_user_utils() was present. I also tried manually configuring this following example 2 in the logging doc to no success either, and made sure to add the correct bundle ID for ios as well.
Where am I going wrong here?
Logs
(logs would be too long to include. there are no errors when running the codegen)

Expected behavior
No response
Generated binding code
No response
OS
No response
Version of flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of clang++
No response
Additional context
No response

@fzyzcjy is this related to https://github.com/fzyzcjy/flutter_rust_bridge/discussions/2240?

For extra context, this is my Cargo.toml:
[package]
name = "rust_lib_flutter_rust_test"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib", "staticlib"]

[dependencies]
android_logger = "0.14.1"
cpal = "0.15.3"
# opus_sys = { path = "opus_sys" }
opus = {path = "../../../RustPlayground/opus-rs"}
# oboe = { version = "0.4", features = [ "java-interface", "shared-stdcxx" ] }
flutter_rust_bridge = "=2.1.0"
jni = "0.21.1"
log = "0.4.22"
ndk-context = "0.1.1"
rtcp = "0.11.0"
rtp-rs = "0.6.0"
rtrb = "0.3.1"
socket2 = "0.5.7"

[target.'cfg(any(target_os = "ios"))'.dependencies]
oslog = "0.2.0"

@dikatok I think it is possible!

I also tried manually configuring this following example 2 in the logging doc to no success either

Hmm, maybe try the underlying mechanism of that logging helper, i.e. call low-level things to directly log to system and see whether it works. Also maybe ask/discuss on the related crates (oslog for example), and/or rust forum, since it looks like a general Rust question "why logging does not work" and may not be related to frb core.

Approach 1: Use the default one
Setps:

add log feature as blow
init log
for ios (oslog), you can view the log with Instruments or Console App on macOS;
for macos (oslog), same as ios. version 2.2.0 only for ios, so just wait for new version release.;
for android (android_logger), you can view with adb logcat

[dependencies]
flutter_rust_bridge = { version = "=2.2.0", features = ["log"] }
log = "0.4.22"

#[flutter_rust_bridge::frb(init)]
pub fn init_app() {
    // Default utilities - feel free to customize
    flutter_rust_bridge::setup_default_user_utils();
}

View all logs in one place. just try other Approach, such as
Example 4: Send Rust logs to Dart
Example 5: A step-by-step guide to send Rust logs to Dart

Approach 1: Use the default one
Setps:

add log feature as below
init log
for ios (oslog), you can view the log with Instruments or Console App on macOS;
for macos (oslog), same as ios. version 2.2.0 only for ios, so just wait for new version release.;
for android (android_logger), you can view with adb logcat

[dependencies]
flutter_rust_bridge = { version = "=2.2.0", features = ["log"] }
log = "0.4.22"

#[flutter_rust_bridge::frb(init)]
pub fn init_app() {
    // Default utilities - feel free to customize
    flutter_rust_bridge::setup_default_user_utils();
}

View all logs in one place. just try other Approach, such as Example 4: Send Rust logs to Dart Example 5: A step-by-step guide to send Rust logs to Dart

Are the logs emitted by rust layer not exposed to flutter debug console by default?

I created new app using flutter_rust_bridge_codegen create my_app, added log macros warn, info, error, none are emitted in either flutter debug console or adb logcat. 😢

I still guess it is probably an issue with the specific logging library, instead of a frb (core) issue. So asking/searching there may help.

@dikatok

I created new app using flutter_rust_bridge_codegen create my_app, added log macros warn, info, error, none are emitted in either flutter debug console or adb logcat. 😢

Did you follow the steps above?
You should enable log feature flutter_rust_bridge = { version = "=2.2.0", features = ["log"] }
For Android
Note: adb logcat is just used for Android logs and even you can see the log like this I/rust_lib_xxx::xx..(pid number): hello world in the console, When you debug android.
Currently frb v2.2.0, the default utils only for Android and iOS, you can customize for support other platforms.

enabling the log feature allows debug!, info!, and warn! to show, but not println!

println will not show iirc because it is a builtin thing and cannot be very easily configured.


Create a message selector interface to avoid oligopolies in justification

The optimal aggregation of messages for #48 involves sorting the messages by voting power and then aggregating until the strong quorum is reached. This forms an oligopoly: the voters with the most power are always favoured over the voters with less power. Discuss the creation of an interface that allows the participant to select the selector mechanism it prefers to select messages to aggregate into a justification, so that the trade-off between democracy and performance is easily customizable on the client-side.
This is probably most critical when implementing rewards for participation, if these rewards are based on reputation from participation or directly on whether the sender's message takes part of an aggregated signature.

If we do not have incentives in the end this is probably not necessary at all and we can just favour participants with most power when creating justifications.

With no reward incentives planned, I think we can close this for now. We can re-open if the FIP changes significantly.


Issue with cython extension

Hello everyone, I faced this problem when I try to run singleImage.py, although I have built it.
ModuleNotFoundError: No module named 'FaceBoxes.utils.nms.cpu_nms'
How can I solve this?

I replace to py_cpu_nms to resolve


add support for running without a tty

introduce an option to allow for bee run without a tty required e.g. for use running in a container and exporting metrics with no rich output etc.
fixes #29

so all of the logger calls flagged are behind a --debug flag that writes out to a debug.log file so it’s essentially only a debug tool, i.e. it doesn’t log to the console/stdout
there’s no way to change the verbosity of logs for that logger currently, so if we change the verbosity of the logs themselves, we’ll need to add UX to allow changing the verbosity to actually get the debug lines to render, which IMO kinda defeats the purpose of this debug flag


Tooltips for various parts of Dockstore

We have some confusing fields (think manual registration) and tooltips that explain them will help.

Tooltips added to tag/container editing forms. Can be readily replicated to other parts of the UI.


Setup for Sous-Chefs

Cookbook needs setting up for sous

[x] metadata
[x] terraform (admin)
[x] standard files (bot)
[x] cookstyle (bot)
[x] labels standardise (bot)
[x] github actions
[x] circleci (admin)
[ ] rebase the files used

I’ll work on setting all this up over the weekend, since I’m the one who brought it into the fold 🙂

So the cookbook is now in terraform, all the things labelled (bot) will happen automatically over the next 24 hours

What does “rebase the files used” mean in this context?

Its something I did, it's basically a make sure there are no non-standard files left behind, eg. make/rake files, travis ci etc

Looks like we’re all set then!


Add PFAM names and descriptions to the response of transcript web-services

Currently the transcript web-services return the following info:
[
  {
    "transcriptId": "string",
    "geneId": "string",
    "proteinId": "string",
    "proteinLength": 0,
    "pfamDomains": [
      {
        "pfamDomainId": "string",
        "pfamDomainStart": 0,
        "pfamDomainEnd": 0
      }
    ],
    "exons": [
      {
        "exonId": "string",
        "exonStart": 0,
        "exonEnd": 0,
        "rank": 0,
        "strand": 0,
        "version": 0
      }
    ],
    "hugoSymbols": [
      "string"
    ]
  }
]

Would be nice if     "description": "string",    "name": "string", could be added to pfamDomains:
    "pfamDomains": [
      {
        "pfamDomainId": "string",
        "pfamDomainStart": 0,
        "pfamDomainEnd": 0,
        "description": "string",
        "name": "string"
      }
    ],

@pieterlukasse There is a separate endpoint for that, for example: http://genomenexus.org/pfam/domain/PF01030.
The reason we left out the additional information here is to avoid duplication. You may have multiple segments for the same PFAM domain. Here is an example for that (PF01030 has multiple segments):
{
    "transcriptId": "ENST00000275493",
    "geneId": "ENSG00000146648",
    "hugoSymbols": [
      "EGFR"
    ],
    "proteinId": "ENSP00000275493",
    "proteinLength": 1210,
    "pfamDomains": [
      {
        "pfamDomainId": "PF00757",
        "pfamDomainStart": 185,
        "pfamDomainEnd": 338
      },
      {
        "pfamDomainId": "PF07714",
        "pfamDomainStart": 713,
        "pfamDomainEnd": 965
      },
      {
        "pfamDomainId": "PF14843",
        "pfamDomainStart": 505,
        "pfamDomainEnd": 636
      },
      {
        "pfamDomainId": "PF01030",
        "pfamDomainStart": 57,
        "pfamDomainEnd": 167
      },
      {
        "pfamDomainId": "PF01030",
        "pfamDomainStart": 361,
        "pfamDomainEnd": 480
      }
    ],
    ...
}

Adding the description and name into this response may unnecessarily increase the size of it. In cBioPortal, we are using the separate endpoint (http://genomenexus.org/pfam/domain) to get this additional information.

Ok, thanks @onursumer. Not sure if I agree with the size argument, since most proteins will have a limited number of domains...so it is not like we are talking about thousands of extra lines in the response (unless thousands of transcripts are queried at once using the POST endpoint - but perhaps the projection approach we use in cBioPortal API could solve this). Anyway, the design choice of using an extra endpoint sounds reasonable to me.

related to discussion in https://github.com/genome-nexus/genome-nexus/issues/197


How do I solve /dev/ttyUSB0 disappearance? (IDFGH-1391)

Problem Description
I have a ESP32-DevKitC and when i plug it into any USB, the command ls /dev/tty* should return (among others) this one: /dev/ttyUSB0. Sometimes, it returns. Some other times, it doesn't, no matter the USB port i plug it in. This problem happens specially after that i touch the cable and the serial connection stops. This is what logs in terminal when it stops:
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/giordanocm/esp/esp-idf/tools/idf_monitor.py", line 136, in _run_outer
    self.run()
  File "/home/giordanocm/esp/esp-idf/tools/idf_monitor.py", line 229, in run
    data = self.serial.read(self.serial.in_waiting or 1)
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
    'device reports readiness to read but returned no data '
SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

Cable is not the problem. I tried to change it and nothing happened. For some reason, if i wait for some minutes (i don't know how many minutes, that happened once only) and i plug the cable into some USB, /dev/ttyUSB0 shows up. However, i don't know if it happens all the time (works after waiting for some time).
Neither lsusb -t or lsblk or dmesg commands show something usefull.
Does anyone know what is happening? How can i solve this problem?

This problem happens specially after that i touch the cable and the serial connection stops

Sounds very much like you have a bad connection, probably on the DevKitC side based on what you've written.

Sounds very much like you have a bad connection, probably on the DevKitC side based on what you've written.

Yes, probably. But how do i solve this? Like i said, cable isn't the problem. Maybe the USB soldering on the DevKitC side? I don't think so, once i touch the cable closer to the computer than to the DevKitC.

Well, i guess the cable extension is the real problem. I took off the usb cable extenson that i was using and it looks like the problem is solved. I'm gonna make some more tests and let you know.

@giordano-cm Hi, would you please help share whether your issue still exists? Thanks.

Sure. Sorry for the late answer.

Well, i guess the cable extension is the real problem.

Definitely, that was the problem. Once i took off the USB extension cable, the problem stopped. I was trying in both USB ports: 2.0 and 3.0. Both were not responding well, but USB 2.0 port was responding better. I've read that USB 2.0 supports longer distance than USB 3.0. But i'm not really sure. Anyway, i took off the extension cable and both ports started working normally.


Drag-Handle Outside the Draggable

Is it possible to have the drag-handle HTML element outside of the Draggable component? I'm using some sort of toolbar for my draggable components. This toolbar exists in the parent container and is positioned whenever an element is clicked. Thus, the HTML code for the draggable div is not within the Draggable tags.
This seems not working. 😞
Is this possible or do I need to think of another solution?

Make the remote element draggable and position the dragged element relative to the draggable source. Visually hide the draggable element at drag start.


Rasa NLU model trainer for supervised embeddings pipeline

Hello,
So I’m trying to train my data using supervised embeddings pipeline.
Rasa version: 1.10.12
Tensorflow version: 2.1.1
config.yml contains this:
language: “en”

pipeline: “supervised_embeddings”

I’m running this on my notebook, but I keep on getting an error about tensorflow:
from rasa_nlu.training_data  import load_data
from rasa_nlu.config import RasaNLUModelConfig
from rasa_nlu.model import Trainer
from rasa_nlu import config

#Loading DataSet
train_data = load_data(my_data)

#Config Backend: Suervised embeddings
trainer = Trainer(config.load('drive/Colab Notebooks/config.yml'))

trainer.train(train_data)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-14-1a55633df253> in <module>()
----> 1 trainer.train(train_data)

1 frames
/usr/local/lib/python3.6/dist-packages/rasa_nlu/classifiers/embedding_intent_classifier.py in train(self, training_data, cfg, **kwargs)
    518             # set random seed
    519             np.random.seed(self.random_seed)
--> 520             tf.set_random_seed(self.random_seed)
    521
    522             self.a_in = tf.placeholder(tf.float32, (None, X.shape[-1]),

AttributeError: module 'tensorflow' has no attribute 'set_random_seed'

Any ideas on how to fix this?

Thanks for raising this issue, @JustinaPetr will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Solution: I used !pip install rasa==1.1.4 instead of !pip install rasa since supervised_embeddings pipline has been deprecated on the newer versions of RASA.


MOMNG-290 Add timeframe filters

Just one last thing, I think we want to set the default in the dropdown to 30 days, (and set it as the defaults for the metrics, since we don't want to rely on the server supplying those values anymore, since they're going to go away)

@rudigiesler Ready for another look

:+1:


Max worker issue

Consider finding the max between multiprocessing.cpu_count() and num_processes to help avoid this exception case. If there are fewer CPU than commands the pool will handle the start and finish of each one.
Originally posted by @d33bs in https://github.com/WayScience/CP_Parallel/pull/1#discussion_r1736353739

This issue references the function only calling the exact number of workers as the command or processes as determined by the dictionary (e.g., 3 plates in the dictionary means 3 workers needed).
Per CellProfiler, it is default to run one job at a time, but states:

If you're willing to script some ways to scatter the CellProfiler jobs, though, or don't mind running one job at a time, headless processing can be incredibly helpful!

This potentially opens the door for future work.

Adding comments from my reply in #1:

But if someone has 3 commands to run based on their dictionary, for example, why would they need to start more than that number of processes?

Yes, great point! This would I think be an edge case that could be covered by another if-condition.
My initial comments mostly pertained to times where someone would want to only provide a limited number of processors (they may have other things running). For example, if there are 5 CP runs to accomplish but the person wants to only use 3 cores to accomplish that work (each additional job beyond 3 would begin as the earlier submitted ones complete).


fix(helper): fix aens check

It now allows any language\digits

Tested, LGTM, except for a small bug:
If the user accidentally adds a space before .chain, then the wallet will show that everything is correct, but the Review button will not let go further:

Retested, LGTM.


Using Fusillade with async / await with PCL Profile7 for Xamarin.IOS host crashes app

First of all thanks for such a nice package!
I'm experiencing some weird behavior using Fusillade with async / await with PCL Profile7 for Xamarin.IOS host crashes the app, here is the callstack:

I tried with many other PCL profiles - same result. I tried avoid async / await - and it was successfully working using just httpClient.PostAsync.Result - but I want to avoid it in our solution.
I tried to avoid using PCL library by using just Xamarin.IOS without PCL shared project - and it was working successfully, though in some logs from our beta we received async / await app crashes - but I cannot tell if Fusillade was the cause.
Tried to use HttpClient without Fusillade with all mentioned-above cases - working like charm.
I know it could be some weird PCL mambo-jambo - but still I think it is helpful to letting you know.
Looking forward for a fix
Thanks!

Sorry my bad there was an issue with my code with async void. Fusillade is working great! Sorry for bothering!


Fixed regex matching.

Regex previously wouldn't affect env vars added.

I just ran into this same issue and was about to submit the same PR before finding this one. Any update on when this will get merged?

This was fixed in #179 in a browser safe way. Thanks again @remy


Add support for new Docker 1.6 cgroup parent flag

Docker 1.6 allows setting the parent cgroup which allows us to set the parent for pods, see #5671

I am planning to work on this.

Could someone add the Mesos integration tag?

When you say upgrade the dependency, as you implying that we will only support Docker 1.6+ going forward? I think we have quite a few users that are using older version of Docker on their systems that would still like to run kubernetes.

@roberthbailey As mentioned in the description, a major motivation is to use the new --cgroup-parent flag.  I agree, there's no reason to break compatibility with older versions of Docker.  The docker interface... interface already exposes a Version(), so we should be able to detect whether the intalled docker supports the new flags.  @guenter, maybe this issue should be renamed to "Add support for new Docker 1.6 flags".

Thanks. Just want to make sure we aren't going to stop supporting older versions.

Which use of cgroup_parent do you intend? Just to put a box around all pods run by Kubernetes?
cc @vishh @vmarmol
See also #147 and #5980.

@bgrant0607 I think so, provided a top-level container (and a kubelet flag to set it) be a worthwhile first pass compatible with future plans.  WDYT?

Our immediate goal are:

limit the total resource consumption of all containers that do not have any limits specified (batch),
limit system daemon resources usage.

Pod level resource isolation will land after that.
IIUC, what is required for Mesos is to configure kubelet to run itself and all the pods under a configurable cgroup hierarchy. That sounds fine.

@vishh @bgrant0607 cool, I think we're on the same page.

Pod limits is #168, btw.

Implemented by #7277


import fcntl - error

I've just installed pymux, but can't run it. Error:
C:\Windows\system32>pymux
Traceback (most recent call last):
  File "c:\python\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python\Python36\Scripts\pymux.exe\__main__.py", line 5, in <module>
  File "c:\python\python36\lib\site-packages\pymux\entry_points\run_pymux.py", line 28, in <module>
    from pymux.main import Pymux
  File "c:\python\python36\lib\site-packages\pymux\main.py", line 9, in <module>
    from prompt_toolkit.eventloop.posix import PosixEventLoop
  File "c:\python\python36\lib\site-packages\prompt_toolkit\eventloop\posix.py", line 2, in <module>
    import fcntl
ModuleNotFoundError: No module named 'fcntl'

P.S. installation output:
C:\Windows\system32>pip install pymux
Collecting pymux
  Downloading pymux-0.14-py3-none-any.whl (78kB)
    100% |████████████████████████████████| 81kB 495kB/s
Collecting prompt-toolkit<1.1.0,>=1.0.8 (from pymux)
  Downloading prompt_toolkit-1.0.15-py3-none-any.whl (247kB)
    100% |████████████████████████████████| 256kB 1.6MB/s
Collecting pyte<0.6.0,>=0.5.1 (from pymux)
  Downloading pyte-0.5.2-py2.py3-none-any.whl
Collecting docopt>=0.6.2 (from pymux)
  Downloading docopt-0.6.2.tar.gz
Requirement already satisfied: six>=1.9.0 in c:\python\python36\lib\site-packages (from pymux)
Collecting wcwidth (from prompt-toolkit<1.1.0,>=1.0.8->pymux)
  Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Installing collected packages: wcwidth, prompt-toolkit, pyte, docopt, pymux
  Running setup.py install for docopt ... done
Successfully installed docopt-0.6.2 prompt-toolkit-1.0.15 pymux-0.14 pyte-0.5.2 wcwidth-0.1.7

Same error here. fcntl is Posix only, so pymux is not designed to run on Windows.

Same issue here. Damn i tough this would work on Windows. :(

Hi @dCosminn,
The latest master branch should run on Windows 10, but only using pymux standalone for now.
I didn't release it yet, because it's not completely stable yet.
It depends on prompt_toolkit 2.0 and uses yawinpty. Given that yawinpty was removed from GitHub and that winpty is already a hack to begin with, I'm waiting for the next Windows release that supports true PTYs. This will make the Windows implementation super clean.
See: https://blogs.msdn.microsoft.com/commandline/2018/08/02/windows-command-line-introducing-the-windows-pseudo-console-conpty/
Also see: https://github.com/jonathanslenders/pymux/issues/58

The same problem. I was going to run it on a win 7, so, someone knows if there is a workaround for this problem?

Error IPYTHON
(tensor) C:\Windows\system32>ipython
Traceback (most recent call last):
File "c:\users\admin\anaconda3\envs\tensor\lib\runpy.py", line 194, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\admin\anaconda3\envs\tensor\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\ADMIN\anaconda3\envs\tensor\Scripts\ipython.exe_main.py", line 4, in
File "c:\users\admin\anaconda3\envs\tensor\lib\site-packages\IPython_init.py", line 56, in
from .terminal.embed import embed
File "c:\users\admin\anaconda3\envs\tensor\lib\site-packages\IPython\terminal\embed.py", line 16, in
from IPython.terminal.interactiveshell import TerminalInteractiveShell
File "c:\users\admin\anaconda3\envs\tensor\lib\site-packages\IPython\terminal\interactiveshell.py", line 21, in
from prompt_toolkit.formatted_text import PygmentsTokens
ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'


Change RedundantLineBreak: InspectBlocks to false internally

Following up on the discussion in #9678, this PR only removes one line of configuration for RuboCop itself.
Change the setting for internal inspections so that the Layout/RedundantLineBreak cop does not report multiline blocks. The opinion of the core team seems to lean towards allowing do ... end blocks when the author feels it's more readable than a single line block with braces.
This commit does not revert any previous changes. That should be done later on case-by-case basis if desired.

Thanks!


How to make use of Graph<T> / Node<T> types?

@dagrejs/dagre exposes eg. Graph<T>, Node<T> types while @dagrejs/graphlib doesn't, but it's not clear how to use these to provide extended values on a node in the graph.
The node is returned using the extended Node<T>: https://github.com/dagrejs/dagre/blob/2216b815d33bc7933ee0105865b06fbbcc2a6a70/index.d.ts#L35
But there is no way of assigning any T data to it in the first place? https://github.com/dagrejs/dagre/blob/2216b815d33bc7933ee0105865b06fbbcc2a6a70/index.d.ts#L43
How are these meant to be used? Considering that the plain types from @dagrejs/graphlib are not used there is a use case I assume?

Same question here.

import { dagre } from 'dagre-d3';
const g = dagre.graphlib.Graph
@voxpelli

import { dagre } from 'dagre-d3';
const g = dagre.graphlib.Graph<Your type here>(opt)

@voxpelli

This is not answering the question at all.

Looking at the type definitions again, the answer is this:
https://github.com/dagrejs/dagre/blob/c1cf91cf50f972a6a9a21440ebf5574774185a97/index.d.ts#L132
Which means that we can do things like:
type A = {foo: string};
const g: Graph<T> = ...
const n: Node<T> = g.node("node-id");
n.foo = "bar"; // type-safe, known to be a string attribute

To be fair, this is only type-safe if T has optional attributes only, because:
type A = {foo: string};
const g: Graph<T> = ...
const n: Node<T> = g.node("node-id");
console.log(n.foo); // undefined, but should be string

This generic type T in these lines:
https://github.com/dagrejs/dagre/blob/2216b815d33bc7933ee0105865b06fbbcc2a6a70/index.d.ts#L35
and
https://github.com/dagrejs/dagre/blob/2216b815d33bc7933ee0105865b06fbbcc2a6a70/index.d.ts#L43
come from the class definition:
https://github.com/dagrejs/dagre/blob/2216b815d33bc7933ee0105865b06fbbcc2a6a70/index.d.ts#L11
So you need to provide the type when initialize new graph:

import { dagre } from 'dagre-d3';
const g = dagre.graphlib.Graph<Your type here>(opt)

We can then infer the type from those function. Note that we don't need to declare the type for n
type A = {foo: string};
const g = dagre.graphlib.Graph<A>(opt)
const n = g.node("node-id");
console.log(n.foo); // type of n.foo is string

You also can provide the type for Node<T>:
const n: Node<A> = {...}

This is a very basic typescript syntax. Not related to dagrejs at all so I think we should close this issue

Once again you fail to understand the question. We are not asking about the syntax of the generic parameter but about how to make use of it in this context, since it does not appear in any method signature. See my comment above which answers the question for me and hopefully also for @voxpelli.
Unrelatedly, note that in your code above n.foo is undefined but supposed to be of type string.


Channel Support

In your documentation you mention that postBack is not supported by all channels. I miss an overview to channel/feature support matrix.
E.g. when I look at the Facebook Channel integration, I can nothing find about postBack support.

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

ID: 7b809442-7e1a-0186-e59b-0e4d587104ac
Version Independent ID: 694d8c3e-37f8-100e-cffa-1634b883b3dc
Content: Add suggested actions to messages - Bot Service
Content Source: articles/nodejs/bot-builder-nodejs-send-suggested-actions.md
Service: bot-service
Sub-service: sdk
GitHub Login: @v-ducvo
Microsoft Alias: kamrani

While it doesn't cover postBack directly (each channel implements that differently), is this article what you're looking for?
https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channels-reference?view=azure-bot-service-4.0


[BUG] Microsoft.Azure.Management.ResourceGraph version 2.0.0 doesn't allow to change ApiVersion

Describe the bug
Microsoft.Azure.Management.ResourceGraph.ResourceGraphClient doesn't allow to set ApiVersion to another version, such as preview.
Expected behavior
Property ApiVersion is either has public setter or is settable via constructor.
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
Value 2019-04-01 is hardcoded.
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)

var client = new ResourceGraphClient(httpClient, fase);
client.ApiVersion = "xyz"; // doesn't compile

Environment:

Microsoft.Azure.Management.ResourceGraph version 2.0.0

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@jsquire ping on this issue, please

Unfortunately, I am only the first-line triage in this case and have no insight.    @allenjzhang (assigned) would be the best point of contact to understand the current status.

@abatishchev This is by design.  Track 1 SDKs are linked to a specific api contract, so api-version is not settable.  In Track 2 SDKs, we plan to ebnable setting api-version to an earlier, known api-version, but there are no plans to allow arbitrary api-version settings.


Create iot-edge.md

Signed-off-by: Dejan Bosanac<EMAIL_ADDRESS>Hi,
as discussed this PR is a proposal for moving k8s IoT Edge working group https://github.com/kubernetes/community/tree/master/wg-iot-edge to CNCF in order to continue the work and cover wider range of CNCF projects.
I copied communication details from the current group, but these can be changed when we find the better alternatives.
/cc @raravena80 @cantbewong @kate-goldenring

Just leaving a non binding comment that this looks good to me

lgtm!


Add xarray example

Xarray is something we should have an example for.
Task:

Example using Hamilton.
Creating any issues (e.g. like adding @extract_columns support) found.

Can I Take This issue ?

@parthrastogicoder sure thing!
Note: This will likely require some "plugin" support to run - e.g. something like this PR did for Vaex.

@parthrastogicoder how are things going, do you have any questions?


recipe for hyperparameter sweep

Torchtune could provide a recipe to do HPO, where the user provides a config, the recipe, eval dataset, params to sweep and budget.
I just played with optimizer. Our default in lr 3e-4. I tried 3e-3 and the ScheduleFree optimizer. Big difference.

I don't know how well it works for finetuning, but an extension could be to allow HPO with smaller models, and transfer the best settings to the large models using muP (https://github.com/microsoft/mup).

We would need some form of validation during training before we can do HPO, no?
On a related note, can we even run eval on a custom benchmark dataset that's not in EleutherAI?

I don’t know if necessarily during training. Maybe it’s ok to train for X steps and then do eval. I also think that as long as you are training for a single epoch, the train loss may be a good enough proxy, since the data doesn’t get repeated, and therefore there is no memorization

Isn't it actually require some changes in optimizer, model, basic parameters if doing muP?

Make it naturally with just "Provide recipe" might be pretty non-trivial

Just catching up on this issue. Tbh I think this is a nontrivial digression from what we would traditionally consider a recipe. What I've seen in the past is that sweep functionality is usually provided as its own script wrapping the CLI, I don't think the concept of a recipe would apply in this case.
Also I would distinguish between hyperparameter optimization vs sweeping. Maybe this is just a matter of semantics, but in my mind hyperparameter optimization implies we are taking an active role in tuning the parameters to maximize the expectation of some conditional distribution (i.e. whatever validation metric we're optimizing for). That is a lot more work than basic sweep functionality. Though even doing sweeps properly requires a bit of accounting (e.g. do we execute multiple runs in parallel, how do we maintain artifacts, if we have multiple distributed runs at once what ports do we use, etc.).
So yeah I guess imo this is not something we should be tackling right now.

So yeah I guess imo this is not something we should be tackling right now.

100% agree its not a priority! However, sweeping at least the LR is a big deal, and the way I see torchtune is that we have a training library with pre-filled recipes that are ready to go, even though people can make their own. My understanding is that every time we provide a recipe, more people use torchtune because its convenient. But i wanted to leave the idea here just as a placeholder, and not as a "this should be our next big step".

@ebsmothers @felipemello1 As compromise I think it will be good if just there will be some API maybe arguments in recipes that will help user do muP without touching internals of tuning process(through recipe)


Connection now compresses messages with lz4

Compressed data is only sent when there is a saving compared to the uncompressed data. Validated the compression/no compression code paths by running a test where the server sends close to the packet limit and the client only sends keep alives/timings in this test branch:
https://github.com/plumgames/rbfx-sample-project/tree/test
Bandwidth savings towards the top end of packet sizes are in the region of 25%

Why only x86 release tests are failing with segfault? Looks like a fluke


[BUG]

Description of the bug
The blogs section doesnt work.
Please add screenshots (if applicable)

Add any other context about the problem here
What is the functionality of this section and how shoudl it behave?
Checklist

[X] I have read the Contributing Guidelines
[X] I have checked the existing issues
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

Hello @ArslanYM, could you kindly provide clarification on the issue? If you suspect the problem lies in containers extending beyond the screen width, rest assured that the card section is intentionally designed to be scrollable.

Yeah but its not scrolling

Yeah but its not scrolling

It's perfectly working in my device.
https://github.com/WebXDAO/WebXDAO.github.io/assets/104740281/ce62c2df-19a4-4037-84dd-39aa8c19a12d

It works only after shift scroll, I think we can add a auto play feature to this. Will look better. Can I work on it?