Ollama: Add needed rocm libraries to rocmPath

Description of changes

Since version 0.1.29 more ROCm libraries are needed in the environment.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 297447 run on x86_64-linux 1

What does this fix? 0.1.29 superficially seems to be working fine already?

What does this fix? 0.1.29 superficially seems to be working fine already?

It's currently broken on master when building with rocm which you can test running this command:
 nix-build --expr '(import ./. {}).ollama.override { acceleration = "rocm"; }'

@ulrikstrid Thank you for this. It seems strange that ollama lost the ability to detect libraries exposed through buildInputs, but I'm glad it's this simple to get ollama to build again.
Unfortunately, this isn't a complete fix. While ollama seems to build correctly now, it doesn't detect the rocm libraries at runtime. So, it still can't use the gpu, and falls back to cpu mode. I did try adding all the rocm libs to the wrapper script, but that didn't do anything.
This is good progress, and I'm happy to see it. It looks ready to merge to me.

I changed the commit, I'm going to play a bit with the the environment to see if I can make it run on the GPU. If not this should be OK to merge and I can create a followup PR if I figure it out.

According to this comment we need rocm v6: https://github.com/ollama/ollama/issues/738#issuecomment-1992837840
Since this at least unblocks the build maybe it's worth merging while we wait for #287846 (which looks good to me).
Is that OK by you @drupol ?

Of course ! Thank you !

I tried using nix-shell to run the previous version of ollama (0.1.28) to get around this issue, like so:
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/af67cfa87bed7fd62812aa888cd134412c9e6d75.tar.gz -p ollama
ollama serve

While this doesn't have the same rocm v6 issue, it doesn't seem to find the rocm libraries either AFAICT. Here's what I see:
HSA_OVERRIDE_GFX_VERSION=10.3.0 ollama serve
time=2024-04-06T22:32:39.267+01:00 level=INFO source=images.go:710 msg="total blobs: 5"
time=2024-04-06T22:32:39.267+01:00 level=INFO source=images.go:717 msg="total unused blobs removed: 0"
time=2024-04-06T22:32:39.268+01:00 level=INFO source=routes.go:1021 msg="Listening on <IP_ADDRESS>:11434 (version 0.1.28)"
time=2024-04-06T22:32:39.268+01:00 level=INFO source=payload_common.go:107 msg="Extracting dynamic libraries..."
time=2024-04-06T22:32:39.290+01:00 level=INFO source=payload_common.go:146 msg="Dynamic LLM libraries [cpu_avx cpu_avx2 cpu]"
time=2024-04-06T22:32:39.290+01:00 level=INFO source=gpu.go:94 msg="Detecting GPU type"
time=2024-04-06T22:32:39.290+01:00 level=INFO source=gpu.go:265 msg="Searching for GPU management library libnvidia-ml.so"
time=2024-04-06T22:32:39.290+01:00 level=INFO source=gpu.go:311 msg="Discovered GPU libraries: []"
time=2024-04-06T22:32:39.290+01:00 level=INFO source=gpu.go:265 msg="Searching for GPU management library librocm_smi64.so"
time=2024-04-06T22:32:39.290+01:00 level=INFO source=gpu.go:311 msg="Discovered GPU libraries: []"
time=2024-04-06T22:32:39.290+01:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2"
time=2024-04-06T22:32:39.290+01:00 level=INFO source=routes.go:1044 msg="no GPU detected"

Might this be because nix-shell doesn't have access to the nixpkgs.config.rocmSupport = true; config that I have in my configuration.nix?

Might this be because nix-shell doesn't have access to the nixpkgs.config.rocmSupport = true; config that I have in my configuration.nix?

@dchambers yes, it compiled without gpu support. I never added support for reading rocmSupport because I was unable to get it to do anything. I now see that I should have set nixpkgs.config.rocmSupport = true; to test it.
Is there anything stopping you from using the current version of ollama in nixos-unstable, 0.1.30? As far as I know, rocm is working correctly now. If 0.1.30 compiled with acceleration = "rocm"; set doesn't use your gpu, please open an issue with details and ping me.

Thanks so much @abysssol, that did it! :tada:
In case any other NixOS noobs come this way in the future, here's the config I added to my configuration.nix to make this work:
  nixpkgs.overlays = [
    (final: prev: {
      ollama = prev.ollama.override { acceleration = "rocm"; };
    })
  ];

@dchambers I'm not sure if I'm missing some important context or something, but shouldn't the nixos service be the most convenient way to use ollama?
services.ollama = {
  enable = true;
  acceleration = "rocm";
  # optional: if using stable nixos, you can override the stable, outdated version with the unstable version
  package = unstable.ollama;
};

@dchambers I'm not sure if I'm missing some important context or something, but shouldn't the nixos service be the most convenient way to use ollama?

Nice, I had no idea you could do that! Thanks again for your help @abysssol :bow:


Is it necessary to nest the two GradientTapes?

I am wondering if it is necessary to use two nested GradientTapes.
Here is the line for the mnist example:
https://github.com/titu1994/tf_GON/blob/8f4ab349a49c1eefb2710228e821459d94bbba8a/mnist_example.py#L62
In my understanding, the first gradient calculation is only used to calculate the latent by using the zero origin trick. The update of the weights only depends on the error between the estimated latent code and the reconstruction error.
Am I missing something?

It is necessary. That implementation follows the original JAX work. Without it, the loss jumps around its initial scale and fails to drop properly in the case of MNIST with 5k steps.
As to why this happens, its part of their integral formula of the paper. The L_outer depends on the inner gradient computation.
You can observe the effects with the below script -
# Ported from https://github.com/cwkx/GON/blob/master/GON.py
import os
import numpy as np
import tensorflow as tf
import tensorflow_datasets as tfds
import tf_siren
import utils

LR = 1e-4
BATCH_SIZE = 144  # needs to be a square value - 64, 144 etc
HIDDEN_DIM = 32
LATENT_DIM = 32
NUM_LAYERS = 4
STEPS = 5000
SAVE_IMAGE_EVERY_N_STEPS = 500

basedir = 'mnist'
image_dir = os.path.join(basedir, 'images')
utils.create_dirs(image_dir)

ds, ds_info = tfds.load('mnist', split='train', with_info=True)  # type: tf.data.Dataset

input_shape = ds_info.features['image'].shape
dataset_len = ds_info.splits['train'].num_examples

rows, cols, channels = input_shape
pixel_count = rows * cols
img_coords = 2

def prepare_dataset(ds):
    image = ds['image']
    image = tf.cast(image, tf.float32)
    image = image / 255.
    return image

# Dataset preparation
ds = ds.map(prepare_dataset, num_parallel_calls=2 * os.cpu_count())
ds = ds.shuffle(dataset_len)
ds = ds.batch(BATCH_SIZE, drop_remainder=True)
ds = ds.repeat()
ds = ds.prefetch(tf.data.experimental.AUTOTUNE)

# Build GON Model (SIREN)
model = tf_siren.SIRENModel(units=HIDDEN_DIM, final_units=channels, num_layers=NUM_LAYERS, final_activation='sigmoid')

# Instantiate the model
dummy_input = tf.zeros([BATCH_SIZE, pixel_count, img_coords + LATENT_DIM])
_ = model(dummy_input)

model.summary()

@tf.function
def train_step(train_iterator, model: tf.keras.Model, optimizer):
    # sample a batch of data
    x = next(train_iterator)
    x = tf.reshape(x, [x.shape[0], -1, channels])

    with tf.GradientTape() as inner_tape:
        # compute the gradients of the inner loss with respect to zeros (gradient origin)
        z = tf.zeros([BATCH_SIZE, 1, LATENT_DIM])
        inner_tape.watch(z)

        z_rep = tf.tile(z, (1, c.shape[1], 1))

        g = model(tf.concat((c, z_rep), axis=-1))
        L_inner = tf.reduce_mean(tf.reduce_sum((g - x) ** 2, axis=1))

    z = -inner_tape.gradient(L_inner, z)

    with tf.GradientTape() as outer_tape:

        # now with z as our new latent points, optimise the data fitting loss
        z_rep = tf.tile(z, (1, c.shape[1], 1))
        g = model(tf.concat((c, z_rep), axis=-1))
        L_outer = tf.reduce_mean(tf.reduce_sum((g - x) ** 2, axis=1))

    grads = outer_tape.gradient(L_outer, model.trainable_variables)
    optimizer.apply_gradients(zip(grads, model.trainable_variables))
    return g, z, L_outer,

# Train Gradient Origin Network
optimizer = tf.keras.optimizers.Adam(learning_rate=LR)
c = tf.stack([utils.get_mgrid(rows, 2) for _ in range(BATCH_SIZE)])  # coordinates
train_iterator = iter(ds)

recent_zs = []
average_loss = tf.keras.metrics.Mean()
for step in range(STEPS + 1):
    g, z, L_outer = train_step(train_iterator, model, optimizer)

    # update matric
    average_loss.update_state(L_outer)

    # compute sampling statistics
    recent_zs.append(z)
    recent_zs = recent_zs[-100:]

    if step % SAVE_IMAGE_EVERY_N_STEPS == 0 and step > 0:
        print(f"Step: {step}   Loss: {average_loss.result().numpy():.3f}")

        # reset metric
        average_loss.reset_states()

        g = tf.clip_by_value(g, 0.0, 1.0)
        g = tf.reshape(g, [-1, rows, cols, channels])

        # plot reconstructions
        utils.save_image(g, f'{image_dir}/recon_{step}.png', nrow=int(np.sqrt(BATCH_SIZE)), padding=0)

        # plot interpolations
        f = utils.slerp_batch(model, z, c, BATCH_SIZE)
        f = tf.clip_by_value(f, 0.0, 1.0)
        f = tf.reshape(f, [-1, rows, cols, channels])

        utils.save_image(f, f'{image_dir}/slerp_{step}.png', nrow=int(np.sqrt(BATCH_SIZE)), padding=0)

        # plot samples
        s = utils.gon_sample(model, recent_zs, c, BATCH_SIZE)
        s = tf.clip_by_value(s, 0.0, 1.0)
        s = tf.reshape(s, [-1, rows, cols, channels])
        utils.save_image(s, f'{image_dir}/sample_{step}.png', nrow=int(np.sqrt(BATCH_SIZE)), padding=0)


Extended last glucose reading date validation

As discussed on gitter, old  versions of ns uploader have different date format. I made a better date validation to be sure that in case of "invalid date" determine-basal will return an error.

I like this approach.  Let's see if we can also set up some tests of all three data formats, and at least one invalid one, to make sure that it behaves as expected in all conditions.  Are you familiar with how to set up tests?

Refactored input of last glucose readings, added unit tests.

Looks like something happened with oref0-determine-basal.js to make the diff think everything changed?  Whitespace?

Files were modified by visualStudio and comitted by visual studio embedded git, most probably this effect is due to this.

 I'll be able to do something next week.

Any update on this? Or should I try to fix the formatting so this can be merged to dev?

@johnmales noticed that he has "on several occasions run into the problem of the medtronic CGM data being stale - sometimes hours old - and oref0 going ahead and setting temp basals. Usually this circumstance happens with that decocare page loading bug and the downloaded cgm data getting “stuck” redownloading old data repeatedly."  It looks like he's seeing this issue, which mean this is now a safety-critical bug that we need to get fixed ASAP and merged to both dev and master.

Happened again to us last night.  Any chance to get this merged with Dev soon?

If you/someone can fix the formatting we can review this for merge.

I'd be happy to but not sure you guys want me to be mucking with code. What formatting needs to change?

Just whitespace I think.  Fix it so that https://github.com/openaps/oref0/pull/54/files shows an actual diff, not "everything changed".

Okay - I think I have done what is needed.  However, I HIGHLY recommend someone take a look at what I have done and compare it to ktomy changes.  The code has changed since he made his pull request so I think I found all the places he changed his code and made it in the appropriate places but as a non-coder, I can't be sure I caught everything

Thanks.  What branch did you update?

I updated the dev branch on oref0

Ah, https://github.com/openaps/oref0/pull/103.  Not sure why I didn't notice that earlier.

Sorry I didn't know how to edit this one so just started from scratch

You can't edit @ktomy's, so that was exactly the right thing to do.  I just needed to mention one from the other to link them for discoverability.  Thanks.  Putting out a call for testers now.


Component names do not follow the Compose convention

Hey, I've noticed you're using the "View" naming convention within your component names.
This is incorrect under the Compose Api  convention, so I propose the name would change to anything BUT name containing "View".

Good Suggestion! we had improved naming in latest version! will improve more over the time!


Crash when loading multiple RCTRootViews at the same time

[x] I have searched existing issues
[x] I am using the latest React Native version
[x] I have reviewed the documentation

Hi there,
We recently started an upgrade process from React Native version 0.49 to the latest 0.55.4. Our iOS app is a hybrid Swift/RN app. It has 5 tabs where one is a native Swift tab and the other 4 are all React Native. We register our components within our index.js like so:
 AppRegistry.registerComponent('AppRoot', () => AppRoot);
 AppRegistry.registerComponent('TabOne', () => TabOneContainer);
 AppRegistry.registerComponent('TabTwo', () => TabTwoContainer);
 AppRegistry.registerComponent('TabThree', () => TabThreeContainer);
 AppRegistry.registerComponent('TabFour', () => TabFourContainer);

Then within our native code, we create the React Native tabs each with their own RCTRootView, like so:

// AppDelegate snippet:
let jsCodeLocation = RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index", fallbackResource: nil)
let bridge = RCTBridge(bundleURL: jsCodeLocation, moduleProvider: nil, launchOptions: launchOptions)

// Function that creates the RN tabs:
func createReactNativeViewController(moduleName: String) -> UIViewController {
    // Using a shared RCTBridge object for all of these view controllers
    let delegate = UIApplication.shared.delegate as! AppDelegate
    let rootView = RCTRootView(bridge: delegate.bridge!, moduleName: moduleName, initialProperties: nil)
    let rnViewController = UIViewController()
    rnViewController.view = rootView
    return rnViewController
}

let tabOne = createReactNativeViewController(moduleName: "TabOne")
let tabTwo = createReactNativeViewController(moduleName: "TabTwo")
let tabThree = createReactNativeViewController(moduleName: "TabThree")
let tabFour = createReactNativeViewController(moduleName: "TabFour")

All 4 of these tabs get created an loaded at the exact same time in a UITabBarController.
On version 0.52 and below, this seems to work fine but as of version 0.53.0 and beyond our app sometimes crashes. It appears to be a race condition. The more tabs we load at the same time, the more likely the crash is.
After looking at the release notes, it seems that there was a drastic change with the way the these views are being loaded after removing reactBridgeDidFinishTransaction based on the following commits:

d2dc4514077ae868f85d45ccdcc7c69df7b7648b
099b28006b59abb11eae1f27424566b280860b0d
b263560c73af5559fdc3bba411f16c588abbffef
a255204e3e7fddefd2d7b0de224101768757ca7a
d2dc4514077ae868f85d45ccdcc7c69df7b7648b

We believe that our current logic is causing a race condition because all the RCTRootView are loading asynchronously vs. loading one at a time (based on the previous logic from reactBridgeDidFinishTransaction). The crash happens on the following RCTAssert within RCTNavigator.m. The value of self.superview is nil:
RCTAssert(!_bridge.isValid || self.superview != nil, @"put reactNavSuperviewLink back");

@shergin, we noticed that you had made the changes above. We were hoping to find out if there are any workarounds or recommended approaches to using multiple RCTRootView? We started using RCTSurface but haven't had any luck. We also tried lazy-loading these view controllers instead of loading them all at the same time. It seems to help, but if the user starts going crazy, tapping the different tabs very quickly, we are still able to replicate the crash.
Thank you!
Environment

Environment:
  OS:  macOS Sierra 10.12.6
  Node:  6.2.2
  Yarn:  0.24.6
  npm:  5.0.3
  Watchman:  4.7.0
  Xcode:  Xcode 9.2 Build version 9C40b
  Android Studio:  3.1 AI-173.4697961

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: 0.55.3 => 0.55.3

Steps to Reproduce
We created a repo for people who want to create hybrid apps with React Native, its out of date but its very similar to our production app's code structure for the tab navigators: https://github.com/solium/swift-react-native-hybrid
Expected Behavior

App is crashing with the following message: put reactNavSuperviewLink back
Actual Behavior

App should not crash

Can anyone on the React Native team weigh in on this?

Unfortunately our GitHub notifications are flooded with pings, so it's hard to keep track of issues that need further attention. Before I raise this with the rest of the React Native team, I encourage you to reach out directly to other core contributors for help, or ask in Discuss for help. We're still going through open issues and it may take a while before we can dive into this particular issue you're facing.


[JMS] Improve JMS Endpoint Initialization

 Issue by aashikam
Friday Nov 16, 2018 at 12:13 GMT
Originally opened as https://github.com/ballerina-platform/ballerina-lang/issues/11444

Description:
The username and password fields are redundant in the ConnectionConfiguration record as they can be specified in the providerUrl as well (    string providerUrl = "amqp://admin:admin@ballerina/default?brokerlist='tcp://localhost:5672'";). Need to construct the provider url internally by taking the username and password separately.
public type ConnectionConfiguration record {
    string initialContextFactory = "wso2mbInitialContextFactory";
    string providerUrl = "amqp://admin:admin@ballerina/default?brokerlist='tcp://localhost:5672'";
    string connectionFactoryName = "ConnectionFactory";
    string? username = ();
    string? password = ();
    map properties = {};
    !...
};

Suggested Labels (optional):
Component/jms, Type/Improvement
Suggested Assignees (optional):
Arshika

 Comment by JensWalter
Friday Nov 23, 2018 at 15:11 GMT

Those fields are definitely not redundant since most providers don't support setting a username and password as URL.

 Comment by aashikam
Saturday Nov 24, 2018 at 05:40 GMT

Yes agreed. But the username and password can also be given in the provider URL which makes the current design confusing. So we're hoping to improve this by allowing the user to provide the username and password only as separate parameters and we will internally construct the provider URL.

 Comment by orthoxerox
Friday Dec 07, 2018 at 14:27 GMT

Not all message brokers have initial context factories that accept provider URLs that point to a broker instance. IBM MQ, for example, is often used with com.sun.jndi.fscontext.RefFSContextFactory or com.sun.jndi.ldap.LdapCtxFactory, which point to a .bindings file location or a LDAP resource respectively.
In my opinion, it's better to avoid initial context factories altogether if you're not running your program on a JavaEE app server. I've written my own trivial initial context factory to connect Ballerina to IBM MQ, but it's a dirty hack.


Reorg

@Brechtpd
Currently in Gwyneth, i artificially trigger a a reorg when BlockNr.3 is proposed. Also for the sake of easy testing, i do the 3rd block proposal after L1's 85th block.

The concept of the testing procedure is this:

According to the EL logs, the behaviour is the desired one (until calling the update_forkchoice) cause in reality it does not really changes. (Even tho i see some strange behaviour in BlockExplorer.. So.. there might be something brewing).
EL logs which would seems to be successful:

But when i constantly query the balance of the (sendTxnX.py recipient), it keeps increasing and will never reverted to a previous value.
http://<IP_ADDRESS>:32005 \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_getBalance","params":["0xf93Ee4Cf8c6c40b329b0c0626F28333c132CF241", "latest"],"id":1,"jsonrpc":"2.0"}'
{"jsonrpc":"2.0","id":1,"result":"0xe90217d077d772380000"}

Same with eth_blockNumber:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' http://<IP_ADDRESS>:32005
{"jsonrpc":"2.0","id":1,"result":"0x3"}


[ADAP-425] [Bug] --select config.snowflake_warehouse:warehouse_name doesn't work

Is this a new bug in dbt-snowflake?

[X] I believe this is a new bug in dbt-snowflake
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
the selection of nodes based on their configuration is well documented on dbt for configs such as the type of materialization (example here)
but I couldn't get it to work for the snowflake_warehouse config, for example:
dbt ls --models config.snowflake_warehouse:warehouse_name
will return  The selection criterion 'config.snowflake_warehouse:warehouse_name' does not match any nodes
even after making sure the warehouse exists and the names I defined in the config is the same as the one I defined in the selection statement
this is not exclusive do dbt ls other selection commands don't work like:
dbt run --select config.snowflake_warehouse:warehouse_name
dbt test --select config.snowflake_warehouse:warehouse_name
this also didn't work:
dbt run --select config.warehouse:warehouse_name
Expected Behavior
I would expect dbt to return the nodes that use that warehouse or at least throw an error saying that this type of selection isn't supported
Steps To Reproduce
In dbt core 1.4.1 and dbt snowflake 1.4.0, create a model like:
{{ config(snowflake_warehouse=my_warehouse) }}
SELECT true

try to run dbt --select config.snowflake_warehouse:my_warehouse
Relevant log output
No response
Environment
- OS: MacOS Ventura 13.2
- Python: Python 3.10.9
- dbt-core: 1.4.1
- dbt-snowflake: 1.4.0

Additional Context
No response

Hey @0xrdt, I can't reproduce the issue.
Well, I can't reproduce on the snowflake_warehouse configuration. If it's defined on a model, it pops up on dbt ls --select config.snowflake_warehouse:<...>.
There is a typo in your repro case by the way. The config value should be between 'quotes':
{{ config(snowflake_warehouse='my_warehouse') }}
SELECT true

Also note that this selection process is case sensitive.

As for the warehouse profile field, it's not reachable from dbt ls. LS parses the content of the DAG. It doesn't load the full context from profile. @jtcohen6 to keep me honest here.
I'm intrigued as to what the underlying requirement is here? If it's to find which models haven't be given a snowflake_warehouse value, it can be done via something like:
dbt ls --exclude config.snowflake_warehouse:my_warehouse config
.snowflake_warehouse:EXTRA_LARGE

Hey @Fleid!
That's embarrassing... you're correct, dbt ls --models config.snowflake_warehouse:warehouse_name does generally work
I was testing it with dbt ls --models config.snowflake_warehouse:warehouse_name --target prod, so it turns out the bug is a bit different: the bug only happens if you're passing a different target and this target points to a different warehouse
Should I file another issue? or just update this one?
Current Behavior
dbt ls --models config.snowflake_warehouse:warehouse_name --target other_profile checks for config.snowflake_warehouse in the default profile instead of the other_profile
Expected Behavior
Just like with other configs such as dbt ls --models config.materialized:incremental --target other_profile, I expected that passing the target flag would point the selection to the configs from the other profile
Why I want to do this
Mostly for housekeeping, we change warehouses a lot and have hundreds of models, so it's hard to know which warehouse we are actually using at a point in time
We also use macros quite heavily, so we can't just grep the files looking for the warehouse name

we set {{ config(materialized=get_incremental()) }} on a couple of models, where get_incremental() is the following macro
{% macro get_incremental() -%}
  {%- set target_name = target.name -%}
  {%- if target_name == 'dev' or target_name == 'qa' -%}
    {{ 'view' }}
  {%- else -%}
    {{ 'incremental' }}
  {%- endif -%}
{%- endmacro %}

we do this in order to only materialize the tables on prod
and we use patterns like dbt run --select config.materialized:incremental,tag:vertical_something --target prod --full-refresh to full refresh a subset of models (while skipping "table" models)

Ok, with the get_incremental() macro as you listed, my_model as:
{{ config(materialized=get_incremental()) }}
SELECT true

I made sure to have 2 profiles in my profiles.yml (dev properly setup, prod with placeholder values):
adap_425:
  outputs:
    dev:
      account: ...
      authenticator: externalbrowser
      database: ...
      role: ...
      schema: ...
      threads: 1
      type: snowflake
      user: ...
      warehouse: ...
    prod:
      account: prod
      database: prod
      role: prod
      schema: prod
      threads: 1
      type: snowflake
      user: prod
      warehouse: prod
  target: dev

Then I get:
dbt ls --models config.materialized:incremental --target prod
adap_425.my_model

dbt ls --models config.materialized:view
adap_425.my_model

Which is I think the expected behavior here?


dotnet cli command to search for nuget packages

Is there a way to use the dotnet cli to search for nuget packages?
If not, what is the preferred way to use VSCode + Mac and search for nuget packages to be added to a project.

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

ID: ff30b638-44e3-077c-3cad-b61d1314c303
Version Independent ID: 784413e1-77f5-f2e6-a8f4-56a73fe2d3bf
Content: dotnet add package command - .NET Core CLI
Content Source: docs/core/tools/dotnet-add-package.md
Product: dotnet-core
GitHub Login: @mairaw
Microsoft Alias: mairaw

Currently, there is no CLI command to search for NuGet packages. Adding @KathleenDollard and @livarcocc to comment on future plans for CLI in regards to that.
There are a few extensions for VS Code that provide NuGet package manager capabilities. I haven't personally used any to recommend one.

Thank you for the feedback. Looking forward for the feedback from @KathleenDollard or @livarcocc

@KathleenDollard @livarcocc can you please comment on this product request? If there are no plans to support this, I'd just close this doc feedback.

Same issue as in https://github.com/dotnet/cli/issues/9859 which has been moved to https://github.com/NuGet/Home/issues/7217

Since this is already reported as a product request, can we close the issue here?
The CLI team is sad we can't offer this without NuGet, and they are busy with many things.

The CLI team is sad we can't offer this without NuGet, and they are busy with many things.

Not sure I follow you, dotnet/cli is already embedding a subset of nuget commands...
dotnet nuget delete
dotnet nuget locals
dotnet nuget push

src: https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x#cli-commands
or dotnet nuget --help
I (we?) only ask for extending the support to add the missing ones.

Yes, I think we should close this doc feedback. If this ever gets implemented by the CLI, we'll document it on docs. The tracking bug that seems to be open at the moment is https://github.com/NuGet/Home/issues/6060.

Maybe use this: https://www.nuget.org/packages/dotnet-search/?

IMHO: I would think this would be part of the CLI. Search/Add/Remove/Update nuget packages seems pretty basic.

I would think this would be part of the CLI.  Search/Add/Remove/Update nuget packages seems pretty basic.

That's a bit +💯.  Every single other package manager I've used (npm, conan, apt, yum, winget, powershellget, pip, and even nuget.exe) provides a way to search for packages from the CLI.

Maybe use this: https://www.nuget.org/packages/dotnet-search/?

This unfortunately will not cover the scenarios where someone is using private NuGet servers.

@baronfel do you have any issue tracking a feature request like this?

I don't, but it sounds awesome. Pinging @JonDouglas for visibility here - do you know of any tracking issues for this?

https://github.com/NuGet/Home/issues/6060
It is on our list this year for https://devblogs.microsoft.com/nuget/nuget-season-of-giving/
https://github.com/NuGet/Home/labels/Category%3ASeasonOfGiving


Support for avro union types

Hi
I'm trying to use Arroyo on a Kafka topic from Confluent. I can successfully set up the connection and get the Avro schema which is stored in the Schema Registry. However, when I try to create a pipeline my source shows as JSON instead of Avro.
I suspect this is due to my Avro schema containing Union types. I cannot find any documentation related to union types, so I suppose it might not be supported.
Will this be coming the with the Protobuf support? - Protobuf has similar semantics just called oneof. Otherwise I would like to request it.
P.S. I'm brand new to Arroyo

Hey, did you check this part of the docs: https://doc.arroyo.dev/connectors/confluent#avro
Just to understand you are seeing the expected behavior (quoting the docs):
For Avro, there are some features that cannot be converted to SQL types:

Unions (aside from unions that are a single type and null, which are converted to nullable columns)
...
Fields with these types will be re-encoded as JSON and stored in a JSON column, in which form they can be processed via SQL JSON functions.

Is this what you are referring to "source shows as JSON"?

@mwylde Just saw that arroyo 0.12 has full support for protobuf, does this include the "oneof" type in protobuf? - If so supporting Avro Union types should require a very similar implementation.


fix(runtime-core): computed refs should not trigger watch if value has no change

close #2231

Thanks for the PR, but I think it's better to limit the force trigger logic to shallow refs only (which was why it was introduced) so isComputed would also be unnecessary. See 390589ec


Mounting data directory to subdirectory does not allow access by subkey

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168 linux/amd64 BuildDate=2023-01-17T12:16:09Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes
Description
I have an external directory containing JSON data files, which I mount in my site with the following configuration:
[[module.imports]]
source = "../external-data"
target = "data/my_section"

For this example, suppose that the external-data directory contains a my_data.json file with the contents { "my_key": "my value" }.
Because the target is the my_section subdirectory, I expect to be able to access the data in my templates using .Site.Data.my_section.... With the example data given previously, this would be .Site.Data.my_section.my_data.my_key. However, this does not work; I have to use .Site.Data.my_data.my_key. If I want to have the data under my_section, I have to create an external-data/my_section subdirectory instead of having it as part of the mount.

Related (both closed by stalebot):

https://github.com/gohugoio/hugo/issues/8556
https://github.com/gohugoio/hugo/issues/7616

As noted in one of the related issues, this...
[[module.mounts]]
source = 'data'
target = 'data'

[[module.mounts]]
source = "../external-data"
target = "data/my_section"

...mounts ../external-data/bar.toml to data/bar.b

Thanks @jmooring . This seems like a clear duplicate of #7616 . I'm not sure if #8556 is the same issue though. I get the impression that that one had more to do with trying to mount a single file rather than an individual directory.

Because https://github.com/gohugoio/hugo/issues/7616 is closed, let's leave this issue open.

I just ran into this again in my own work - being able to mount data to the correct subfolder (and thus dot-path) would be hugely helpful for me. I have some monorepos where multiple projects share the same docs site, and this becomes a very funky workaround problem, unfortunately.


Add RELEASING documents for release process

Forgot to add in previous pr

Could we switch to the new release process like in jvs instead? It handles the major/minor/patch.

I'm having trouble finding any documentation for the new release process. There isn't a RELEASING.md in the jvs repo, and I've searched some internal documentation.

Closing to re-create with new process


62 handle error

This change addresses some issues mentioned in https://github.com/device-automation-bus/dab-adapter-rs/issues/62

Hi @yulian5 ,
Please share your test details with this change.
So far I'm not able to replicate the issues which caused the crash.

Hi @denisyuji , please review.


Pull request build sequential stage and stage re-run checkout behaviors are not constant

The pull request "revision" that is checked out can "drift" in between stages in a multi-stage pipeline, or when a partial rebuild is triggered. If the target branch of a pull request (e.g. master) changes in between stages, the merge commit which is checked out in subsequent stages will not match the commit from the first stage. As an example:
Stage 1:
##[command]git checkout --progress --force refs/remotes/pull/3296/merge
HEAD is now at 7a04c13d Merge 6d6b90779d04fb646a9bd12b4faac85285917b43 into 638e3b1bf1d0715d394fb21f3d3d461c2d305af1

Stage 2 (30 minutes later, or hours later if a failure occurred and a stage rebuild is triggered):
##[command]git checkout --progress --force refs/remotes/pull/3296/merge
HEAD is now at 1d54cfc4 Merge 6d6b90779d04fb646a9bd12b4faac85285917b43 into aba094702eaf599ad8f9c74fdd5d3799307bfbf0

Shouldn't the revision of the target branch also be constant for each pull request build instance?

Hi @pjcollins,
I was checking with a co-worker who works on multi-stage pipelines, and I was told that there was a change a few sprints ago to not update the revision used to checkout git sources the between stages. Is this issue still repro'ing for you as of today?
Thanks,
Julio

@juliobbv I spent some time testing this today with a small repro and it looks like this has not been resolved entirely. If I attempt to "re-run" a stage which failed in a PR against master, after more commits have landed in master, those changes from master are still being pulled in. I'm using the Azure Pipelines GitHub app to "re-run" a failed stage, which results in an additional "attempt" being added to the failed stage. However, the merge commit used for the initial attempt and previous stages does not match the merge commit used for the "re-run" attempt on the same build instance.


Addding kfto component to odh operator (#944)

Jira:-
ref: https://issues.redhat.com/browse/RHOAIENG-4663
ref: https://issues.redhat.com/browse/RHOAIENG-5442
(cherry picked from commit e06d866e631c4584261bdc857bb2a7845725ecca)

@dimakis Are the manifests not updated for rhoai-2.10 ? I see following errors
DataScienceCluster resource reconciled with component errors: 1 error occurred: * failed to apply manifets from /opt/manifests/trainingoperator/rhoai : must build at directory: not a valid directory: evalsymlink failure on '/opt/manifests/trainingoperator/rhoai/default' : lstat /opt/manifests/trainingoperator/rhoai: no such file or directory


System Info
System:
OS: macOS 13.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 8.73 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.21.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 6.14.18 - /usr/local/bin/npm
Browsers:
Chrome: 111.0.5563.110
Safari: 16.3
Details
启动项目时，如果项目路径包含中文字符，就会报错

Reproduce link
https://github.com/dingff/rspack-demo
Reproduce Steps
npx rspack serve

I have removed them, but could you please show me the error they are throwing? They look fine on my computer.

Duplicate with https://github.com/web-infra-dev/rspack/issues/2546.


fix: openapi converter generated route missing service id

Description
The OpenAPI converter contains an incorrect implementation that does not properly associate the converted generated routes with the service.
Checklist

[x] I have explained the need for this PR and the problem it solves
[ ] I have explained the changes or the new features added to this PR
[x] I have added tests corresponding to this change
[ ] I have updated the documentation to reflect this change
[x] I have verified that this change is backward compatible

Ready for Review, where most of the changes are pointless code that gopls pointed out were optimized away.
The core modification is to set the service id to the route object.
There was also the historical E2E test issue where rate limiting wasn't working, I forced a new limiter to be created by means of _vid and it worked. But this has nothing to do with the converter, as no code has been changed in relation to this for reasons unknown.


LuaJIT's JIT compiler is disabled by default

Ignore this if disabling the JIT compiler is the intended behavior, but the default Lua initialization does not enable the JIT compiler by default: https://github.com/maximegmd/CyberEngineTweaks/blob/91565e3a43edd6ada590bae0391d4172a39eb202/src/scripting/Scripting.cpp#L52
For the JIT to be enabled, the sol::lib::jit library must be opened even if the jit module is to be sandboxed away later:
luaVm.open_libraries(sol::lib::base, sol::lib::string, sol::lib::io, sol::lib::math, sol::lib::package, sol::lib::os, sol::lib::table, sol::lib::bit32, sol::lib::jit);

The LuaJIT documentation mentions this here: https://luajit.org/install.html#embed

Make sure the jit library is loaded, or the JIT compiler will not be activated.

This is also mentioned in this sol2 issue: https://github.com/ThePhD/sol2/issues/61

It has been pointed out to me that this may be intended: https://discord.com/channels/717692382849663036/795037494106128434/1168024641638518814

It seems that there's a lot of confusion and a many mod authors are assuming the JIT compiler is enabled by default, so any clarity on this issue would be appreciated.

We wouldnt use LuaJIT if we didn't want to use LuaJIT :P
Newer Lua has some nice features we could have used...
So yeah, this should be fixed although I'm pretty certain we use some compile flags which should enable the optimizations even without this... Should be checked though if we do not do something according to docs, may have been some oversight.
Reopened the issue.

I tested with this simple init.lua (bench code was taken from the test that can be found here https://github.com/softdevteam/lua_benchmarking/blob/master/benchmarks/series/bench.lua)
local function integrate(x0, x1, nsteps, omegan, f)
  local x, dx = x0, (x1-x0)/nsteps
  local rvalue = ((x0+1)^x0 * f(omegan*x0)) / 2
  for i=3,nsteps do
    x = x + dx
    rvalue = rvalue + (x+1)^x * f(omegan*x)
  end
  return (rvalue + ((x1+1)^x1 * f(omegan*x1)) / 2) * dx
end

local function series(n)
  local sin, cos = math.sin, math.cos
  local omega = math.pi
  local t = {}

  t[1] = integrate(0, 2, 1000, 0, function() return 1 end) / 2
  t[2] = 0

  for i=2,n do
    t[2*i-1] = integrate(0, 2, 1000, omega*i, cos)
    t[2*i] = integrate(0, 2, 1000, omega*i, sin)
  end

  return t
end

function run_iter(n)
  for i=1,n do
    keep = series(1000)
  end
end

registerForEvent("onUpdate", function(deltaTime)
  run_iter(1);
end)

and I changed ScriptContext::TriggerOnUpdate to
void ScriptContext::TriggerOnUpdate(float aDeltaTime) const
{
    auto lockedState = m_sandbox.GetLockedState();

    const auto start = std::chrono::high_resolution_clock::now();

    TryLuaFunction(m_logger, m_onUpdate, aDeltaTime);

    const auto end = std::chrono::high_resolution_clock::now();

    spdlog::get("scripting")->info("Time taken for last update call: {}", std::chrono::duration_cast<std::chrono::nanoseconds>(end - start).count());
}

I believe the results with and without sol::lib::jit speak for themselves.


Using without Eloquent

Our current user authentication system does not use a database at all. We store persistent data in LDAP and  session/temporary data in Redis.
I have managed to get all the data CAS needs into our LDAP schema.
There seem to be a number of places where this package requires Eloquent.
Has anyone been able to run without it?

For now, I have a fork which is working. I will see if it is possible to merge back, but unlikely. I do have some changes that are not LDAP-specific that I will suggest separately.


PlaceHolder resolving doesn't work when xml and annotation configuration are both used

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.4-SNAPSHOT
Operating System version: MacOS
Java version: java11

Steps to reproduce this issue
Please see
https://github.com/apache/dubbo-spring-boot-project/issues/537
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

I will submit a pr to fix it.

The problem doesn't need modify the core repository. I will close the issue.


UITextView/UITextField in Layout

Sorry for the stupid question, but the answer to it, i could not find. How i can add UITextView or UITextField in StackLayout/InsetLayout?

You could create it in a SizeLayout and make that the sub layout of an inset/stack

But what if I need a dynamic calculation layout for UITextField? Not static size.

I'm no expert (new to LayoutKit).- so someone smarter may come back with a better answer. However SizeLayout will be compressed if the container size is smaller than it's size.
So you could create a SizeLayout with the maximum size you would want and then rely on the InsetLayout to resize it. You'll need to play with the Flexibility / Alignment, but that's how I have gotten it to work with dynamic widths.

@stevejcox  Not a bad solution. Thx steve :)


Don't expose Ray ports in Testing Clusters

We were running into an issue where the local_daemon fixture was connecting to the docker cluster ports by default.

Current dependencies on/for this PR:

main

PR #427   👈

This stack of pull requests is managed by Graphite.


Column ordering not working for dynamically generated columns

When I have theth attribute set to order-by="{{column.key}}", it causes the sorting function to attempt to sort by that string rather than the actual value bound to it. This is problematic for a table with dynamically generated columns, for eg:
<th
  ng-repeat="column in ::vm.config.columns"
  ng-attr-numeric="::column.type === 'numeric'"
  order-by="{{column.key}}"
>
  {{::column.heading}}
</th>

The problem is I'm assigning the ng-click attribute before it is compiled here. We'll most likely need to move this to the postLink function and compile it manually. I can take care of this after work today if you don't fix it first :smiley:.

@nathanmarks please confirm that commit 141aa5d18ae5d7a55082b23f173af01e0c8dc04f has solved this issue.

@daniel-nagy Looks good! Thanks.
Another thing I noticed that I think would be useful (and allow for more flexibility for more features) is to have the column type set by an attribute value rather than just having the attribute "numeric" in the tag.
I'm having difficulties using this without ng-if which I really don't want to do.

Okay that makes sense. I'm going to close this issue and open a new one.


Why rack-mini-profiler is being commented by the install?

By checking the install for the asset pipeline, I've seen the rack-mini-profiler is being commented, but I failed to understand why?
If there is any compatibility issue, can we provide more information so it can be worked out?
Source code: https://github.com/hotwired/stimulus-rails/blob/main/lib/install/stimulus_with_asset_pipeline.rb#L22
Note: I've checked the rack-mini-profiler repo for any info and also did not found anything.

That mini profiler interferes with analyzing JavaScripts loads and etags, and I no longer think it should be on by default. We'll make it opt-in in Rails 7, and then we can remove this from the installer.

That mini profiler interferes with analyzing JavaScripts loads and etags, and I no longer think it should be on by default. We'll make it opt-in in Rails 7, and then we can remove this from the installer.


Refactoring menu to not use plugin

Refactoring menu to not use plugin but a react component which will receive view in props.

This is completed for main menu but still pending for link modal.


Distributions Gallery: Add ExGaussian

Notes:
I tried to derive the PDF and CDF from the equations on the Wikipedia page using $\nu$, but in  the docstring of the distribution, the PDF expression is a little different.

Are the differences indicate a potential mistake somewhere or just two ways to express the same? Did you compare the mathematical expressions for the pdf and cdf with the code for them? Are

I was checking. It seems they are equivalent. I dont' know if we should use the docstring/code expressions or the ones in Wikipedia.

Not sure, probably match the code.


Support use of local link checker

When testing locally, if you have htmltest in your path, that command will be used. Otherwise, a copy will be fetched.
Closes #546

From the build log, we can see that htmltest is still being fetched, and links are being checked:
9:10:16 AM: hugo ...
9:10:16 AM: 	--minify
9:10:19 AM: Building sites …
9:10:19 AM: Total in 3269 ms
9:10:19 AM: curl https://htmltest.wjdp.uk | bash -s -- -b tmp/bin
9:10:19 AM:  ...
9:10:20 AM: wjdp/htmltest info checking GitHub for latest tag
9:10:20 AM: wjdp/htmltest info found version: 0.14.0 for v0.14.0/linux/amd64
9:10:22 AM: wjdp/htmltest info installed tmp/bin/htmltest
9:10:22 AM: tmp/bin/htmltest
9:10:22 AM: htmltest started at 01:10:22 on public
9:10:22 AM: ========================================================================
9:10:22 AM: ✔✔✔ passed in 243.385591ms
9:10:22 AM: tested 397 documents
9:10:22 AM:
9:10:22 AM: (build.command completed in 23.2s)


[Bug]: melonloader breaks oculus authentication but steam and BepInEx work just fine (il2cpp interop and unhollower)

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Changed the title so that it doesn't just says "[Bug]: "
[X] I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[X] Was able to see the Start Screen.

Describe the issue.
You can launch and play just fine with mods and the mods work but you can't connect to multiplayer, as I wrote in the title this only happens with melonloader and the oculus version of the game
No errors in the logs, just can't connect to multiplayer
Game: RUMBLE
it's Il2Cpp
Did you attach your log file?
No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Good, because it's intended (probably by the game developer). The devs of MelonLoader do not support online pvp modding

Good, because it's intended (probably by the game developer). The devs of MelonLoader do not support online pvp modding

it is not intended, there is a modding community and the devs are completely fine unless we cheat (which we dont)

In that case, i doubt its a problem with MelonLoader. However, you can try running MelonLoader in debug mode to check if there are any warnings or if it blocks any of the game server domains

Launch arg --melonloader.debug

In that case, i doubt its a problem with MelonLoader. However, you can try running MelonLoader in debug mode to check if there are any warnings or if it blocks any of the game server domains

it does, how do i unblock it?

What domain is it blocking that the game needs?

What domain is it blocking that the game needs?

it uses azure something something i think

Well yes, but can you check the console logs to see which exact domain it's blocking that the game requires?

Well yes, but can you check the console logs to see which exact domain it's blocking that the game requires?

rumble.azurewebsites.net is one of the blocked websites, as well as the facebook one but i believe you know that wont break networking if it was added

Actually, try running your game with --melonloader.dab. This should disable the domain blocker. If this doesn't work for you, then I have no idea

Actually, try running your game with --melonloader.dab. This should disable the domain blocker. If this doesn't work for you, then I have no idea

wait whut, melonwiki.xyz says it debugs it not disables it
trying in a bit

Yep, you're totally right. I misread.
I read the source, and honestly, I give up. As much as I love MelonLoader, I'm so tired of the bu*****t MelonLoader blocks and encrypted constants in the source. At this point I just recommend switching to BepInEx, because you won't get much luck with MelonLoader in this case, unless you make a plugin that disables the analytics blocker

Yep, you're totally right. I misread.
I read the source, and honestly, I give up. As much as I love MelonLoader, I'm so tired of the bu*****t MelonLoader blocks and encrypted constants in the source. At this point I just recommend switching to BepInEx, because you won't get much luck with MelonLoader in this case, unless you make a plugin that disables the analytics blocker

yeah i've been trying to do that exact thing for a while, switching to bepinex simply isnt an option but 0.6.2 is if i can get that mod to work
it sucks but it is what it is

ty for trying to help, lets hope my current attempt works

Yep, you're totally right. I misread.
I read the source, and honestly, I give up. As much as I love MelonLoader, I'm so tired of the bu*****t MelonLoader blocks and encrypted constants in the source. At this point I just recommend switching to BepInEx, because you won't get much luck with MelonLoader in this case, unless you make a plugin that disables the analytics blocker

Nothing in MelonLoader's source is encrypted which you can verify yourself.
The only thing MelonLoader prevents outright is running obfuscated .NET DLLs which is for user safety.
In the case of the issue @Elmishhh is having is that the Analytics Blocker is blocking hosts that were otherwise used for analytical purposes but this specific game actually requires those hosts to function properly.
The Analytics Blocker is in MelonLoader because we receive a lot of complaints from Game Developers when their game sends back logs from modded games.
Additionally a lot of games, and in the case of Unity inside the engine itself, nowadays have analytical systems that syphon a lot of data about the user's every whim.
These are also often left without any actual way for the end user to opt-out or even know of the data collection happening.
However we are discussing if the Analytics Blocker should stay or not in the upcoming MelonLoader Universality update.
For now I can possibly add a disable launch option to the next MelonLoader release.

@HerpDerpinstine
Having a way to disable it would be really nice.
I feel like bunch of things should be added in a text file config like BepInEx (disable the logging console and stuff)
While I'm at this, please make the first launch of an il2cpp game after the initial ML installation not load mods
We have figured out a temporary solution, it's most likely azurewebsites but no way to really confirm it because testing is rough (I personally don't own the oculus version, only the steam one which doesn't ever connect to Facebook/azurewebsites)
Ty

Issues have been fixed in v0.6.3.


_mm_set_pd v.s. transmute

This is really minor but I am wondering: any reason to use transmute instead of the dedicated _mm_set_pd?

Yeah, that's because they produce the same assembly, and I prefer simpler code.

Thanks for enlightening me.


Error with extra line and skip_rows parameter

If you have a csv with an extra blank line at the end and you want to use skip_rows to skip some row earlier on, there is an index error.
pipeline-spec.yaml
test:
  title: test
  pipeline:
  - run: load
    parameters:
      format: csv
      from: /.../test_blank_line.csv
      headers: 1
      infer_strategy: strings
      cast_strategy: strings
      skip_rows:
      - '#'

test_blank_line.csv
test1,test2
#testing comment
1,2

error
ERROR log from processor load:
+--------
| Traceback (most recent call last):
|   File "/home/conrad/Projects/whoi/datapackage-pipelines/datapackage_pipelines/specs/../lib/load.py", line 38, in <module>
|     spew_flow(flow(ctx.parameters), ctx)
|   File "/home/conrad/Projects/whoi/datapackage-pipelines/datapackage_pipelines/utilities/flow_utils.py", line 46, in spew_flow
|     datastream = flow.datastream()
|   File "/home/conrad/Projects/whoi/dataflows/dataflows/base/flow.py", line 18, in datastream
|     return self._chain(ds)._process()
|   File "/home/conrad/Projects/whoi/dataflows/dataflows/base/datastream_processor.py", line 72, in _process
|     datastream = self.source._process()
|   File "/home/conrad/Projects/whoi/dataflows/dataflows/base/datastream_processor.py", line 75, in _process
|     self.datapackage = self.process_datapackage(self.datapackage)
|   File "/home/conrad/Projects/whoi/dataflows/dataflows/processors/load.py", line 164, in process_datapackage
|     .format(self.load_source, self.options))
|   File "/home/conrad/Projects/whoi/dataflows/dataflows/processors/load.py", line 161, in process_datapackage
|     return self.safe_process_datapackage(dp)
|   File "/home/conrad/Projects/whoi/dataflows/dataflows/processors/load.py", line 218, in safe_process_datapackage
|     stream.sample, headers=stream.headers,
|   File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/tabulator/stream.py", line 351, in sample
|     for row_number, headers, row in iterator:
|   File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/tabulator/stream.py", line 596, in force_strings_processor
|     for row_number, headers, row in extended_rows:
|   File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/tabulator/stream.py", line 559, in builtin_processor
|     if self.__check_if_row_for_skipping(row_number, headers, row):
|   File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/tabulator/stream.py", line 628, in __check_if_row_for_skipping
|     if any(map(match, self.__skip_rows_by_comments)):
|   File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/tabulator/stream.py", line 625, in <lambda>
|     row[0].startswith(comment)) if len(comment) > 0
| IndexError: list index out of range

We already add a custom parameter to the load step that deletes empty rows. However, it doesn't make it to that processor because it runs after the load step.
@roll

Fixed in<EMAIL_ADDRESS>


Invite odeleongt to CDCgov GitHub Organization

What type of help do you need?

[ ] Question
[ ] New Repo
[ ] Delete Repo
[x] User Membership (please make sure new members are familiar with the CDC open practices and set up their profile with name and org info to help people collaborate with them)
[ ] Other

Please describe how you'd like us to help.
Please invite @odeleongt to the CDCgov GitHub organization. My CDC e-mail is<EMAIL_ADDRESS>

Invited this user to cdcgov after verifying identity.


In burgers\burgers_solution, what role does variable 'qn' play?

I wonder what role does variable 'qn' play?
   qn = 8   # original value
   qn = 50
   print('  Quadrature order = %d' % (qn))

If I change 'nu':
    vtn = 100
    vxn = 256
    nu = 0.01 / np.pi

do i need to change 'qn' to get a accurate approximation?

As I understand it, the variable 'qn', or order, in the context of Gauss-Hermite quadrature, refers to the number of sample points used in approximating integrals, denoted as (x_i), and are the roots of the polynomial of Hermite (H_n(x)), where (n) represents the order (see: https://en.wikipedia.org/wiki/Gauss–Hermite_quadrature). The higher the order, the more accurate the approximation becomes.


[Enhancement] Signature updating

Currently when you scan down a system, Signature module only keeps track of Signature Type but does not update Signature Description ( Site name, etc. ) when you scan it down further down and paste it into the Signature list.
On top of that, when you leave the system and want to check for new/disappeared sigs, there's no way to do it other than going through manually and when adding ( copy pasting ) the entire list again, it overwrites existing Signature Type back to Unknown
Would it be possible to implement 3 things

Update existing signatures if the type is known but there is not description - to update the description for Combat/Relic/Data sites
Do not update the signature if it exists in the list and the pasted type is Unknown - to avoid wrongfully updating already added/scanned/classified signatures
Add signature if it's missing from the map signature list + show what's missing - to see new signatures and see which one has disappeared ( offer to delete the missing one/ones )

Thanks for reporting! This i definitely something I´ll add in one of the next releases.

@krjohnn do you have your EVE-client set to Englisch?

Update existing signatures if the type is known but there is not description - to update the description for Combat/Relic/Data sites

I didn´t get your point :( Could you please give me an example of what you mean?

Do not update the signature if it exists in the list and the pasted type is Unknown - to avoid wrongfully updating already added/scanned/classified signatures

I have fixed this in bfcf7fc. Signature groupId and typeId are no longer overwritten if they already exist. Should also fix #81 and #196

Add signature if it's missing from the map signature list + show what's missing - to see new signatures and see which one has disappeared ( offer to delete the missing one/ones )

"Expired" (old) signatures can now be auto-deleted. I have added a new checkbox to the reader dialog. Check this issue: #95

Yes, it's English.

Sure. Following scenarion:

You enter a system, you see a signature. Cosmic Signature
You start scanning it down and now you know it's a Relic Site, so you copy and paste it to the Signature List, it updates fine
You keep scanning and now you know it's a Ruined Serpentis Monument Site, and you want to update it accordingly in the Signature List, but when you copy paste the result, it doesn't change the description.
If I want to add the exact site name ( without typing it in manually ) I have to delete the site and add it again, then it will - Relic - Ruined Serpentis Monument Site.
Problem is that, it does not update the Description to the site if it become available ( for Data/Relic/Combat ), I suppose Wormholes are a different matter altogether.

That is odd, I am using 1.1.0 on https://www.pathfinder-w.space/map and it still updates existing sites to unknown if it I copy paste it again after leaving the system and coming back in. Anything to do with that browser I use ?

Thanks! The changes are not live yet. The Code is currently on the develop branch and is tagged for the upcoming release v1.1.1. This will be done in a few days.


[QUERY] azure-keyvault version 1.2.3

Query/Question
I could not find version 1.2.3 in https://mvnrepository.com/artifact/com.microsoft.azure/azure-keyvault

Hi @timahenning,
You can find the latest information on Azure SDK releases at https://aka.ms/azuresdk and https://azure.github.io/azure-sdk/releases/latest/java.html which includes links to the latest version 4.x  releases of Key Vault.

@joshfree for the quick response.  I think most Java developers using Maven would look in the Maven repo for the most recent version.  Also, they would rely on their development UI intellisense for available versions.  I just happen to be reading the documentation.

@timahenning
The latest stable release of KV Track 1 is 1.2.2, that's why you didn't see 1.2.3 in maven repo.
Also, we've shipped next gen KV SDKs, the v4.x azure-security-keyvault-* libraries are the latest supported SDK libraries for KeyVault. We do recommend upgrading to this latest stable, supported release. Packages and more information can be found here:

https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/keyvault/azure-security-keyvault-secrets
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/keyvault/azure-security-keyvault-keys/README.md
https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/keyvault/azure-security-keyvault-certificates

4.x azure-security-keyvault-libraries are part of our Track 2 SDKs, which are completely redesigned to offer better and friendly user experience to our developers.
It supports pluggable HTTP clients , runs on a re-designed java runtime and offers better performance compared to older Track 1 SDKs.


Generator: Differentiate between pointed / unpointed records

Unpointed records (value based)

For non array records in the gir their original record structure must be used.
For arrays of records in the gir their original record structure must be used inside an array.

Pointed records (pointer based)

For non array records in the gir a pointer must be used. This could either be an SafeHandle (regular case) or an IntPtr (e.g. in case of free methods).
For arrays of records always IntPtr[] must be used as arrays of SafeHandles are not supported by the runtime.

The method and delegate generators currently do not differentiate between pointed and unpointed records. To avoid compilation errors those cases are currently passing default values to methods and marked with a TODO flag.
This fixes the window sample.

Merged as it is a bug fix.


Feature to enable editing the table.

It would be great if there is a feature to edit the table's row on the go like in excel, rather than having to execute a ALTER TABLE command.

Yes, we plan to support that, but didn't have the time to implement it yet =/ Btw, I am closing this ticket, because it is duplicated https://github.com/sqlectron/sqlectron-gui/issues/275


Can koa-convert be updated

Currently, koa depends on 2 koa-compose, one v3 and one v4. The v3 is coming from the old koa-convert, and it is pulling the blue-bird. Can this be fix now?

https://github.com/koajs/convert/pull/11/files
Best

This can't be fixed until Koa 3 is released because the removal of bluebird is a breaking change (thus requires semver major release).

Actually, lets keep this open.
Ref: https://github.com/koajs/koa/issues/1114

ok thanks! While ^4 is in engines it's a semver indeed. But so what's happened here https://github.com/koajs/koa/commit/7bd82ac4103aef28fb2d2f40be91f495dfa6db5d?

Yea I don't know. The decision was made that it was worth it.
My personal take on this is to NOT do/remove anything because compose will be removed in next version of Koa anyway. It's not worth possibly breaking applications IMO.
Others might disagree though.

Waiting on koa-convert ownership to be given to me by @gyson or npm staff.  Then I will release new major release per https://github.com/koajs/convert/pull/13.

v2.0.0 released https://github.com/koajs/convert/releases/tag/v2.0.0


Fixed IndexError when reg query does not work and added support for scoop.sh install

scoop.sh install still has a hardcoded version though.

Thanks for your contribution.
I closed it since the PR is too old at this point, but please feel free to create another PR if you are still interested in contributing the scoop.sh support


Optimization to skip unused shards for Distributed engine

This pull request adds distributed_optimize_skip_select_on_unused_shards. When doing SELECT from Distributed tables, it will try to perform constant folding for sharding expression, based on constraints from WHERE condition, and determine if it's possible to query a subset of nodes of a cluster.
It's useful to:

reduce latency and increase availability, because fewer nodes are involved
increases the throughput of a cluster, because nodes don't try to perform queries that will return nothing

It assumes that data is sharded according to sharding key, it might not be true, that's why it isn't enabled by default.
Limitations:

handles only filtering by columns and composition with AND and OR, doesn't handle queries like SELECT ... FROM ... WHERE jumpConsistentHash(x, 2) = 1

NB: the last time I wrote C++ was 10 years ago
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

It looks like the build is failing for a reason not related to this PR:

The job exceeded the maximum time limit for jobs, and has been terminated.

@alexey-milovidov I checked why tests are failing, it seems it didn't pick up changes in server-test.xml

I understand this only works if the inserts are done through the Distributed table right?

@javisantana yes, it assumes that somehow data is distributed according to the sharding key

@alexey-milovidov did you have a chance to take a look?

@abyss7 Will continue review.
We need to test an idea, that we can integrate required functionality into KeyCondition.
If we will do it, it will also be helpful for functional indices.
As an example, you create an index by reverse(domain), but query domain = 'test.ru'.
KeyCondition should derive condition reverse(domain) = reverse('test.ru')

@kanterov For functional test - simply add cluster to the dbms/programs/server/config.xml.

@alexey-milovidov would this KeyCondition improvement help using index like PARTITION BY date ORDER BY (date, toStartOfMinute(datetime), request_file, clientip) with request like datetime < x AND datetime > y ?

@champtar
It looks natural to have this support for monotonic functions.
datetime < x implies toStartOfMinute(datetime) <= toStartOfMinute(x),
and we already have all required metadata about function monotonicity that says that function toStartOfMinute is monotonic on whole domain.
Also we can implement general case, that does not require monotonicity, but requires calculation of function preimage on intervals. This is out of scope.

@abyss7 is doing refactoring of StorageDistributedShardsOptimizer right now.
We are going to merge at next week.

@abyss7 is on leave this week.
I hope, this task will be continued next week.

@alexey-milovidov thanks for the update! I did a test of this PR, in our case, there is a significant speedup between 2 and 8 times depending on queries and tables.
One thing I've noticed, that it's possible to create distributed tables without sharding key, and in this case, this code will cause a segmentation fault.


Corrupted files

Lake API version: 0.8.0
Python version: 3.10
Operating System: macOS

Description
I want to report corrupted trades for all symbols on Coinbase, at 2023-03-04.
What I Did
I tried to download the aforementioned data. Returned DataFrame is empty and the following log is printed.
WARNING  [_read_parquet.py:59] Ignoring corrupted file = s3://qnt.data/market-data/cryptofeed/trades/exchange=COINBASE/symbol=ADA-USD/dt=2023-03-04/1.snappy.parquet

closing an old issue resolved iirc by email


which model is ShuffleSeg python code?

Is this the ShuffleSeg model definition file?
https://github.com/MSiam/TFSegmentation/blob/master/models/unet_shufflenet.py

Nope.
This one
https://github.com/MSiam/TFSegmentation/blob/master/models/fcn8s_shufflenet.py


Readregioin

Hi I am trying to do add read region handler. not giving me jpeg image. any help please

Dear @krushnavadan, I have the same problem now. When I trie to use the readRegion method I get empty images. Did you solved this problem?
I would be very greatful for any help.
Thank you in advance.

I have create new framework
On Tue, May 7, 2024, 2:46 AM vkbubu11 @.***> wrote:

Dear @krushnavadan https://github.com/krushnavadan, I have the same
problem now. When I trie to use the readRegion method I get empty images.
Did you solved this problem?
I would be very greatful for any help.
Thank you in advance.
—
Reply to this email directly, view it on GitHub
https://github.com/yigolden/OpenSlideNET/issues/31#issuecomment-2097566927,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCJ4KKYNU4TRR3SPUTDQ2TZBB2D5AVCNFSM4HOBLHZKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZG42TMNRZGI3Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Partner Release Pipelines - Not collecting artifacts

See example
Path provided to the build is populated. I'm thinking a permission change to list is the cause.

User error. Leading space in front of the provided path that I couldn't see from screenshots.


SUGGESTION: Create plugin system.

Plugins must be DLL files, being stored in a specific folder (plugins).
The plugins will be loaded when starting the program, in addition to having a specific screen to be able to handle the plugins (activate, deactivate, update, delete).
Suggestion of some functions that can be included as plugins:

Read/Edit "meta.xml"
APP Manager
CD/DVD Media Writer
Cheat Manager
Format Device
Export TXT
Export PDF
Export HTML
Export XML
Memory Card Manager

Would also provide another avenue for users to write their own functionality without touching the actual project.

It's coming along, migrating slowly. Don't want to dump everything at once, and then clean up. I'll have something worth showing soon. I mean, my repo "GCBM2" (Need to rename) is available to checkout, but.. nothing much more than basic UI at this point.


Correct casing of directory name

The worlds smallest PR.
If running on a case sensitive os (Linux) the Import-AdfFromFolder fails to import linked services because it expected the directory name LinkedService it should be linkedService.

Sometimes small change has great significance. Thanks Simon.


How to set cred callback for push?

I'm trying to push to a remote using SSH authentication.  Trying to do this "out of the box" yields the following:
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: -1, klass: 23, message: "authentication required but no callback set" }', src/libcore/result.rs:741

which is fine, I haven't given it any authentication callback yet.
So, I tried to set the callback in what I think is the right place, by making a callbacks object:
let mut callbacks = RemoteCallbacks::new();
callbacks.credentials(|user, pass, ctype| {
    return Cred::ssh_key_from_agent(user);
});

However, the only method I could find on a Remote to set the callbacks was in update_tips, so I tried the following:
remote.update_tips(Some(&mut callbacks), false, AutotagOption::Auto, None).unwrap();

Which doesn't work because I haven't connected yet.  But if I try to:
remote.connect(Direction::Push).unwrap();

It fails since there's no creds.
I've gotta be missing something or doing something wrong, does anyone know what that is?

You may want to try Remote::push which has a PushOptions argument which in turn should allow you to specify the RemoteCallbacks.
Does that work for you?

Yeah, not sure how I missed that.  Cheers.


named verifys

Hey, it would be very useful to be able to name the verify statements so that when fail, its easier to identify them.
awesome library btw!!

Could you give some examples of the benefits that this would bring? And API you expect?
When verify fails you should get code line number and description of expected and received value.
Is the below example something that you need?
verify(mockedFoo.getBar(3)).called().errorDesc("my custom error message");

hey that could work, I was thinking more on
verify(mockedFoo.getBar(3)).called('getBar should be called')
sort of like "chai" works, you can specify a custom message on the expected value of the assert, that way if you have very similar statements you can tell them apart when they fail.
This is pretty much the situation where I encountered this, the error message when any of those fails is the same
`verify(this.userService.findOneAndUpdateAndReturn(deepEqual({ _id: userId }), deepEqual(userModel), anything()))
.called('First find one');
verify(this.userService.findOneAndUpdateAndReturn(deepEqual({ _id: userId }),
  deepEqual({ $push: { permissions: permissionUpdate } }),
  anything()))
  .called('second find one');`


Animation Start Points seem off

This seems to be happening with both bars and points/lines in the latest release
<img width="400 alt="screen shot 2016-05-12 at 2 59 25 pm" src="https://media.giphy.com/media/26vULBKLqG3r21nd6/giphy.gif">

hmmm, couldn't reproduce this with the sample files

Hmm. I'm not seeing it anymore.  Closing until it resurfaces I guess.


Porting to windows

This PR makes further adjustments to rqt for compatibility on Windows.
Depends on https://github.com/ros-visualization/qt_gui_core/pull/162

@dirk-thomas Any comments on this PR?

Ok, let me know when you get to that and I can help out where needed.
On Thu, Dec 27, 2018 at 5:05 PM Dirk Thomas<EMAIL_ADDRESS>wrote:

@dirk-thomas commented on this pull request.
The patch looks reasonable but it should pass building on CI before being
merged. Since it requires installing the dependencies on the Windows nodes
it might be a while until I get to it.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ros-visualization/rqt/pull/185#pullrequestreview-188201345,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_x-iCNTN6Ta8AsoYs2y4ch3NNa_1Q8ks5u9W5YgaJpZM4ZbUob
.

This PR is targeting Crystal, and I think this is already working on Windows. Closing this PR


Documentation for hit function leads to 'too many recursion"

The documentation for the hit function (http://craftyjs.com/api/Collision.html#-hit) provides an example, which I have found may lead to the game entering an infinite recursion if two events are triggered at the same time.
Here is a fix (on a simplified example):
Crafty.e('2D, DOM, Color, Fourway, Collision')
    .attr({ x:0, y:0, w:32, h:32})
    .color('#F00')
    .fourway()
    .bind('Move', function(evt) {
        if (this.hit('wall')) {
            this.x = this.lastOKPosition.x;
            this.y = this.lastOKPosition.y;
        }
        else {
            this.lastOKPosition = {x: this.x, y: this.y};
        }
    });

This relies on the last know OK position, instead of the event position which may also be in collision with 'wall'. I suggest updating the official documentation so that people don't get stuck with this bug.
For information I am working with Firefox

No I haven't tried the hitData of type SAT. I have only tried MBR. The issue is with this code:
{ // MBR, simple collision resolution
            // move player to previous position
            this.x = evt._x;
            this.y = evt._y;
}

From what I understand, I got the error when I was pressing both key 'arrow down' and 'arrow left' at the same time, while my entity was just above another item of type wall.
This triggered twice the 'Move' event, one for the key down - which would place the entity one down inside the wall in x0, y0+1, and then one for the key left which would position the entity to x0-1, y0+1. When Crafty would handle the second event, it would position back the entity to x0, y0+1, which is still within the wall; hence the infinite loop.
The code which causes the infinite loop is this one:
Crafty.init(500,350, document.getElementById('game'));
Crafty.e('2D, DOM, Color, Fourway, Collision')
    .attr({ x:0, y:0, w:32, h:32})
    .color('#F00')
    .fourway()
    .bind('Move', function(evt) {
        if (this.hit('wall')) {
            this.x = evt._x;
            this.y = evt._y;
        }
    });

Crafty.e('2D, DOM, Color, wall')
    .attr({ x: 200, y:200, w: 100, h:20 })
    .color('#555');


Naming focus

Fine-tune Observation & Naming autofocus [Fixes: #99865100]
Make default autofocus in What field.
Caller can override (turn off autofocus) by setting the local variable unfocused = true.

Coverage increased (+0.002%) to 94.657% when pulling ce40700bcaf105b869b1dac5d76e546e3409574b on JoeCohen:naming-focus into 854e914c64292cc10f1d9569f33377ef5e13427f on MushroomObserver:master.


Segmentation fault ？ It was py-leveldb bug ？ or levelDB bug？

[root@localhost leveldb]# python
Python 2.6.7 (r267:88850, Apr 25 2013, 16:12:30)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> leveldb
<module 'leveldb' from
'/root/.python-eggs/leveldb-0.1-py2.6-linux-x86_64.egg-tmp/leveldb.so'>

>>> import leveldb
>>> db = leveldb.LevelDB('./db')
>>> dir(db.RangeIter())
Segmentation fault

leveldb version was 1.9

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 27 Apr 2013 at 7:54

May I suggest you try Plyvel instead? It has more API coverage and a lot of
tests. See https://plyvel.readthedocs.org/ for more information.

Original comment by<EMAIL_ADDRESS>on 27 Apr 2013 at 10:26

Without further evidence, assuming this is a bindings issue.

Original comment by<EMAIL_ADDRESS>on 29 May 2013 at 2:35

Changed state: WontFix

I can verify that this was a bindings issue and has been fixed since April 29.

https://code.google.com/p/py-leveldb/source/detail?r=68

Original comment by<EMAIL_ADDRESS>on 29 May 2013 at 6:16


checkUsernameValidity method fails for secondary user stores

Describe the issue:
Validation fails for existing usernames of the secondary user stores in the self registration flow
How to reproduce:
Try to self register with an existing username in the secondary userstore, it will navigate to user details filling page without giving validation error. (eg:- custom/user1)
Expected behavior:
When existing username is entered, it should display validation error as username already taken.
Environment information

Product Version:IS 5.11.0
OS:  Linux
Database:  H2
Userstore: LDAP, JDBC(secondary)

Cause
In the checkUsernameValidity method of SelfRegistrationMgtClient class(Identity-framework repo), usersore domain is not prepended to username when setting to the userObject.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


does not build with Go 1.5 tip

---> Making bundle: dynbinary (in bundles/1.8.0-dev/dynbinary)
Created binary: bundles/1.8.0-dev/dynbinary/dockerinit-1.8.0-dev
Building: bundles/1.8.0-dev/dynbinary/docker-1.8.0-dev
# github.com/docker/docker/pkg/devicemapper
.gopath/src/github.com/docker/docker/pkg/devicemapper/devmapper_wrapper.go:191: Cdeps.device undefined (type *C.struct_dm_deps has no field or method device)

This is the fault of https://github.com/golang/go/commit/7904946eeb35faece61bbf6f5b3cc8be2f519c17, which is one of those "well, someone has to be broken" fixes.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

ugly. Now this C struct
struct dm_deps {
        uint32_t count;
        uint32_t filler;
        uint64_t device[0];
};

doesn't appear to have a device field through cgo.

@vbatts Maybe we should ask Ian Lance Taylor what should we do now. Such structures are super-popular in C.

https://gist.github.com/vbatts/fddc81848e510b9c56de for simple reference.

@vbatts golang/go@7904946eeb35faece61bbf6f5b3cc8be2f519c17 is the issue.

I started some discuss in golang/go#11925. Seems like only way is to get pointer to field and cast to slice.

I think this can be closed now, reopen if I've misunderstood process :-)

I still have this issue when building docker (1.8.2) on Archlinux with golan 1.5.1.

@seblu The Docker project doesn't support building Docker 1.8.2 with Golang 1.5.x and this will never change as it's not a bug. Existing releases are never modified to support new versions of Go.
Building with Go 1.5.x wil only be supported after releasing a Docker version which includes #15703 (or an equivalent PR).


enhancement: native image sould work with height or width props only

Description
In React Native, you cannot directly use an image without specifying both its width and height. So whenever <CoreImage> is used the with only height or width props it should work.
Proposed Solution
Calculating Height Based on Width:
If you know the dimensions of the image, you can calculate the height based on the width of the device or a specific container. This method requires you to know the original dimensions of the image.

Code has been written but due to some logical issues it has not been merged to dev.


Brainstorm ideas for developer discoverability

Note: This issue is reserved for the OS Hackathon on Saturday, February 4 in Portland, OR. You are welcome to join in person or remotely!

It's been brought up a few times and I agree, developer discoverability can be improved.
Currently, developers are sorted by most recently added. In theory, this gives new folks a leg up over the rest of the field. In practice, it means folks get messaged a week or two after joining and then rarely ever again.
I'd like to revamp how developer search results are sorted and displayed. I'm not (yet) looking for code or implementation. But I'd love to have a brainstorm session together!
Previous ideas include: random sorting, score-based sorting, sorting by most recently updated (with a cooldown), more badges, and boosting folks with more filled out profiles.
Feel free to comment below with your ideas or come talk to me IRL (or on Zoom) at the hackathon. I'll be converting this to a Discussion if it becomes hard to follow the conversation.

Scoring Idea: Peer recommendation system. Other developers can give each other a recommendation on the platform like on Linkedin.
Pros:

This could highlight specific talents for developers.
These could be skill tags that can show up on the developer cards.
Encourages developers to help each other out on the platform.

Cons:

Could turn into a popularity contest.
Doesn't properly reflect the skills of the developer.

I love the idea of skill cards. I know businesses are already searching for specific terms (Hotwire, AWS, Tailwind, Slim, etc.) so having a specific place for folks to highlight those skills sounds great.
The two cons you listed can't be overlooked. Especially because how much results could be skewed if this becomes a popularity contest.
How does LinkedIn handle it?

Score-based sorting
One idea I'm been messing with is sorting based on a score. A score generated from a bunch of different attributes that the developer has control over.
This puts more power in the developer's hands to get bumped up the list. And it rewards folks for putting the time and effort into their profile and their presence on the platform.
Here's a first pass of the different scores that could contribute, most important/influential first.

Full profile - Boost folks who have filled out their entire profile.
Response rate - Boost folks who respond to every conversation.
Source contributor - Boost folks who have contributed to the RailsDevs codebase.
Recently updated - Boost folks who tweaked their profiles recently.
Recently added - Finally, boost newer folks on the platform.

These scores, all weighted differently, could add up to a single value which can be used to sort folks on the site. For example:

Full profile - 50 points total

Bio of 750+ characters - 10 points
3+ social media accounts - 10 points
1+ role type selected - 10 points
1-2 role levels selected - 10 points
Availability filled in - 10 points

Response rate - 30 points total

100% - 30 points
90%-99% - 20 points
70%-89% - 10 points

Recently updated - 15 points total

Updated in the last week - 15 points
Updated in the last 2 weeks - 10 points
Updated in the last month - 5 points

Source contributor - 15 points
Recently added - 5 points total

Added in the last week - 5 points

Keeping the thresholds and points as easily configurable options will enable fine-tuning after launch.
But I am worried that it will keep the same exact developers at the top of the list. So I think there still needs to be a significant tie-breaker. Maybe that's random?

Expertise bags
A lot of time and effort has been spent trying to sort developers optimally. But what if businesses were able to narrow down their search results so much that sorting didn’t matter?
Businesses are commonly filtering down developers by technologies, industries, and stacks. Currently, they can run a plain-text query that searches heros and bios. But it is fairly limited as it can only search for a single, exact match query.
A different approach is to offer 3-5 expertise tags for each developer to add to their profile. This would enable businesses to filter by one or more tags, additive.
Limiting the number of tags also ensures developers choose how they want to market themselves. It also ensures folks can’t spam the system by_all_ of them.
One potential problem is the management of this list. It would suck for a developer to want to add “AWS” but it isn't listed. Do they have to request a new tag get added? Can they add an “unofficial” tag and it doesn’t appear in filters until it becomes official?
There needs to be a easy way for a) me to add new tags and b) developers to request new ones.
This also probably includes guidelines and rules for these tags to make sure new ones aren’t arbitrarily chosen.

Randomization
Some ideas if we go down the randomization route... Instead of trying to "sort by random", instead run a daily/weekly job that assigns every developer a random number. Index and sort by this when displaying developers.
This ensures no random work is done when displaying results and ensures the results are kept in the same order until the next task is run.


Looking for maintainers!

As noted in the README, I've been using other tools (org-mode and probably org-roam in the future) and my Roam usage has somewhat declined. I'm looking for someone who is a heavy-duty Roam user and interested in helping maintain this project long-term, as I imagine things will continue to evolve on the Roam side and the scripts here will need updating. Please comment in this thread if you're interested 👍 I'll bring you on as a collaborator to the project!

👋  I was precisely looking for a tool to automatically backup roam with puppeteer. I would love to be a maintainer if you want.
Another idea I had was to add the ability to easily run in local (without the need) for AWS infra for users who are not tech-savvy.

I'm interested in to be a maintainer, I like both the roam research and automatic tools very much.

I'm interested as well. I'm a power user of Roam, also I'm a Cloud Automation Engineer, AWS certified. Let me know if you want my help.

I've created a Python script to backup local databases; it can be also modified to backup online ones, too.


Error when importing opencv version <IP_ADDRESS>

Expected behaviour
Library options not showing.
Steps to reproduce

Image print below
Windows 11
architecture (64 bits)
opencv-python version: <IP_ADDRESS>

#676

Sorted out. Thank you very Much!


feat: add checksum verification in postinstall script #1391

What kind of change does this PR introduce?
feature: Add checksum verification for installed binaries from github releases
What is the current behavior?
It doesn't do any verification on checksum
What is the new behavior?
it verifies the checksum as the tar downloads

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 56.873%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.31%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
4853

Relevant Lines:
8533

💛  - Coveralls


Rewrite special comment parser

What problem does this PR solve?
Rewrite the special comment parser (/*! ... */ and /*+ ... */) to better match MySQL's behavior.
This is the first step to solve https://github.com/pingcap/tidb/issues/14030#issuecomment-567791327.
What is changed and how it works?

Removed specialCommentScanner. Instead:

When encountering /*! or /*!12345 or /*T! or /*T!012345, drop this substring and continue parsing as if outside a comment. Use a flag to indicate we should skip the stray */.
When encountering /*+, read the entire comment as a string token. This token will be parsed into []*ast.TableOptimizerHint using the new hint parser on-demand. All errors coming from that parsers are demoted to warnings.

The /*+ ... */ is only parsed after keywords SELECT, INSERT, REPLACE, UPDATE, DELETE, CREATE and PARTITION, otherwise it is treated as an ordinary comment.

Unlike MySQL, however, statements like SELECT 1 FOR UPDATE /*+ max_execution_time(60) */ would still produce an error. We could fix it later?

And we now have two parsers, the main parser.y, and the optimizer-hint specific hintparser.y

All hint-related rules from deleted from parser.y. This also deletes the related TiDB-specific keywords.
goyacc is modified to support generating two parsers. Also make goyacc to exit with error on conflict, so we don't need to run the parser twice on the same .y file.
In the new hint parser, all optimizer hints from MySQL 5.7+ are recognized for completeness (though all of them are ignored with warnings).

The structure ast.TableOptimizerHint is not yet changed, so we are still API-compatible.

Check List
Tests

Unit test

Code changes
Side effects

Possible performance regression
Breaking backward compatibility

Related changes

Need to be included in the release note

PTAL @tangenta @tiancaiamao cc @lonng
The integration test is failing because the warnings produced by invalid hint is changed.

LGTM
Good job! @kennytm

CI failed here https://github.com/pingcap/tidb/blob/master/expression/integration_test.go#L4407


paravela-changes

Signed-off-by: Csilla Zsigri<EMAIL_ADDRESS>Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] Have you signed-off your commits

@csillazs your request for the updates are approved. However, could you please sign off so we can merge the pull request?

Done.
Csilla Zsigri
Chief Strategy Officer & Co-Founder

https://www.paravela.com/*

On Tue, 3 Sept 2024 at 19:30, Min Yu @.***> wrote:

@csillazs https://github.com/csillazs your request for the updates are
approved. However, could you please sign off so we can merge the pull
request?
—
Reply to this email directly, view it on GitHub
https://github.com/hyperledger-dlt-landscape/hyperledger-dlt-landscape/pull/377#issuecomment-2327068215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBMKPAM4K5WNEGTLHUYANDZUXW3JAVCNFSM6AAAAABNP7SMNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRXGA3DQMRRGU
.
You are receiving this because you were mentioned.Message ID:
<hyperledger-dlt-landscape/hyperledger-dlt-landscape/pull/377/c2327068215@
github.com>

@minyu66 can you merge this?

@csillazs I fixed the repo URL for Chronicle; that was what was preventing merging.

Thank you Ry!
Csilla Zsigri
Chief Strategy Officer & Co-Founder

https://www.paravela.com/*

On Fri, Sep 6, 2024 at 15:47 Ry Jones @.***> wrote:

@csillazs https://github.com/csillazs I fixed the repo URL for
Chronicle; that was what was preventing merging.
—
Reply to this email directly, view it on GitHub
https://github.com/hyperledger-dlt-landscape/hyperledger-dlt-landscape/pull/377#issuecomment-2334097170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBMKPEXTMUCRURCGN6P2CLZVGW5XAVCNFSM6AAAAABNP7SMNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGA4TOMJXGA
.
You are receiving this because you were mentioned.Message ID:
<hyperledger-dlt-landscape/hyperledger-dlt-landscape/pull/377/c2334097170@
github.com>


Add test cases for diffing changes to values

Having a few simple test cases for different API changes would make for a great way to monitor progress on api-diff initial implementation.
Add tests that will check the behavior of api-diff when

[ ] Adding a value
[ ] Removing a value
[ ] Modifying an existing value

Those tests should be added to tests/api-diff/run.t. We can reuse the base ref.cmi as the reference interface. For each test case we should generate a new .mli file with a change from the list above, compile it to a .cmi with ocamlc and then run api-diff ref.cmi <test-file.cmi>.
You can read about the testing methodology used for the tests at https://github.com/NathanReb/ocaml-api-watch/blob/main/CONTRIBUTING.md#writing-tests

Can you please assign me this issue @NathanRebw

Hi, I have opened a draft PR for this issue. Please guide me on whether my approach aligns with the objectives.


IC-740: Enable the Node Inspector on local development servers

What does this pull request do?
Allows us to connect to the local development servers using a debugger.
What is the intent behind these changes?
To make it easier to debug issues when using the app locally or when running the integration tests.
What next?
Figure out how to do the same for Jest tests (IC-2052) sometime.

Hmm, something's up with the port the server's binding too now, will investigate.

lgtm - (did you know intellij has this functionality OOTB?)

No, I didn't - what is the functionality that it has exactly?