llama3.2-vision on multi gpu error

What is the issue?
multi gpu
ollama run llama3.2-vision

The image is a book cover. Output should be in this format - : . Do not output anything else /media/root/ssd2t/data/pro/tmp/o
... l/new/FastChat/image.png
Added image '/media/root/ssd2t/data/pro/tmp/ol/new/FastChat/image.png'
Error: POST predict: Post "http://<IP_ADDRESS>:41121/completion": EOF

one gpu
run ok
OS
Linux
GPU
Nvidia
CPU
No response
Ollama version
0.4.1

https://github.com/ollama/ollama/issues/7558

Server logs will aid in diagnosis.

Server logs will aid in diagnosis. Yes, the logs suggest no compatible GPUs. I wasn't successful with different combinations of CUDA, Nvidia drivers.
Nov 11 14:49:51 ollama-localhost systemd[1]: Started Ollama Service. Nov 11 14:49:51 ollama-localhost ollama[1159]: 2024/11/11 14:49:51 routes.go:1189: INFO server config env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://<IP_ADDRESS>:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/usr/share/ollama/.ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:0 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://<IP_ADDRESS> https://<IP_ADDRESS> http://<IP_ADDRESS>:* https://<IP_ADDRESS>:* http://<IP_ADDRESS> https://<IP_ADDRESS> http://<IP_ADDRESS>:* https://<IP_ADDRESS>:* app://* file://* tauri://* vscode-webview://*] OLLAMA_SCHED_SPREAD:false OLLAMA_TMPDIR: ROCR_VISIBLE_DEVICES: http_proxy: https_proxy: no_proxy:]" Nov 11 14:49:51 ollama-localhost ollama[1159]: time=2024-11-11T14:49:51.599Z level=INFO source=images.go:755 msg="total blobs: 11" Nov 11 14:49:51 ollama-localhost ollama[1159]: time=2024-11-11T14:49:51.600Z level=INFO source=images.go:762 msg="total unused blobs removed: 0" Nov 11 14:49:51 ollama-localhost ollama[1159]: time=2024-11-11T14:49:51.601Z level=INFO source=routes.go:1240 msg="Listening on <IP_ADDRESS>:11434 (version 0.4.1)" Nov 11 14:49:51 ollama-localhost ollama[1159]: time=2024-11-11T14:49:51.603Z level=INFO source=common.go:135 msg="extracting embedded files" dir=/tmp/ollama1689759288/runners Nov 11 14:49:51 ollama-localhost ollama[1159]: time=2024-11-11T14:49:51.856Z level=INFO source=common.go:49 msg="Dynamic LLM libraries" runners="[cpu cpu_avx cpu_avx2 cuda_v11 cuda_v12 rocm]" Nov 11 14:49:51 ollama-localhost ollama[1159]: time=2024-11-11T14:49:51.856Z level=INFO source=gpu.go:221 msg="looking for compatible GPUs" Nov 11 14:49:51 ollama-localhost ollama[1159]: time=2024-11-11T14:49:51.912Z level=INFO source=gpu.go:620 msg="Unable to load cudart library /usr/lib/x86_64-linux-gnu/libcuda.so.550.54.15: cuda driver library init failure: 3" Nov 11 14:49:52 ollama-localhost ollama[1159]: time=2024-11-11T14:49:52.029Z level=INFO source=gpu.go:386 msg="no compatible GPUs were discovered"

@rajeshkumar-n during our call to cuInit the CUDA APIs/driver returned error code 3
    /**
     * This indicates that the CUDA driver has not been initialized with
     * ::cuInit() or that initialization has failed.
     */
    CUDA_ERROR_NOT_INITIALIZED                = 3,

Please give the troubleshooting steps a try and report back if none of them resolve the problem
https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#nvidia-gpu-discovery

@rajeshkumar-n during our call to cuInit the CUDA APIs/driver returned error code 3
    /**
     * This indicates that the CUDA driver has not been initialized with
     * ::cuInit() or that initialization has failed.
     */
    CUDA_ERROR_NOT_INITIALIZED                = 3,

Please give the troubleshooting steps a try and report back if none of them resolve the problem
https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#nvidia-gpu-discovery

Submitted a new issue https://github.com/ollama/ollama/issues/7630 as this thread is for MIG.

I think we can close this as a dup of #7558


Fix the bug in tracks_panel

I forgot about description. I noticed that if you click on the timeline under the tracks panel it will cause the track to switch

@Lookins01 oh shi! Didn't think about that! :D Thank you so much!


Spotify AAIDRIVE_LIKED_SONGS Not Updating

First off, thanks so much to everyone involved in creating/maintaining this awesome project.
The AAIDRIVE_LIKED_SONGS playlist stopped updating quite some time ago. Only had 47 songs on it vs about 85 on real Liked Songs playlist.
I deleted it, hoping that might make it refresh or rebuild, but no luck. I restored the playlist and still no update.
Is it possible to force recreate the playlist? Or other actions to take to make it functional? Thanks.
Pixel 7, Android 14
Spotify <IP_ADDRESS>6
AA Idrive  1.4.2-82-47cdbd4
BMW G30 Idrive 5

Apologies, this feature is sometimes buggy! Try clearing the data for AAIdrive and manually deleting the playlist. Make sure AAIdrive has access to Search Spotify, because that web API is used to manage the temporary playlists.

Finally got a chance to try your recommendation, and it worked!!  Thanks!


Add Windows 10 Support

Now that PhoneGap Build supports Windows 10 (see http://phonegap.com/blog/2016/04/25/windows-10-and-phonegap-cli-6_1-now-on-build/), we can now port this app to Windows 10. This will require updating the JavaScript libraries.

PhoneGap Build is now no longer available


Show next/prev problem button on somewhere

We have goto next/prev problem command now. Could we add some shortcut button in editor?

There is an action View Problem when you hover on the squiggle, for eg:


cannot encode value Binary to term (when Binary is nested in struct)

I'm getting this error with a dataset that contains Binary nested in a struct
thread '<unnamed>' panicked at src/encoding.rs:786:15: cannot encode value Binary([1,2.3]) to term

Steps to reproduce.
import polars as pl
df = pl.DataFrame({"image": [b'\x01\x02\x03']})
df.write_parquet("ok.parquet")
df = pl.DataFrame({"image": [{"bytes": b'\x01\x02\x03'}]})
df.write_parquet("bad.parquet")

iex(41)> Explorer.DataFrame.from_parquet!("ok.parquet")
#Explorer.DataFrame<
  Polars[1 x 1]
  image binary [<<1, 2, 3>>]
>

iex(42)> Explorer.DataFrame.from_parquet!("bad.parquet")
thread '<unnamed>' panicked at src/encoding.rs:783:15:
                                                      cannot encode value Binary([1, 2, 3]) to term
            note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  #Inspect.Error<
  got ErlangError with message:

      """
      Erlang error: :nif_panicked
      """

  while inspecting:

      %{
        data: %Explorer.PolarsBackend.DataFrame{
          resource: #Reference<0.315878801.3185704982.174156>
        },
        remote: nil,
        names: ["image"],
        __struct__: Explorer.DataFrame,
        dtypes: %{"image" => {:struct, [{"bytes", :binary}]}},
        groups: []
      }

  Stacktrace:

    (explorer 0.10.0-dev) Explorer.PolarsBackend.Native.s_to_list(#Explorer.PolarsBackend.Series<
  shape: (1,)
  Series: 'image' [struct[1]]
  [
  	{b"\x01\x02\x03"}
  ]
>)
    (explorer 0.10.0-dev) lib/explorer/polars_backend/shared.ex:24: Explorer.PolarsBackend.Shared.apply_series/3
    (explorer 0.10.0-dev) lib/explorer/backend/data_frame.ex:324: anonymous fn/3 in Explorer.Backend.DataFrame.build_cols_algebra/3
    (elixir 1.17.2) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2
    (explorer 0.10.0-dev) lib/explorer/backend/data_frame.ex:283: Explorer.Backend.DataFrame.inspect/5
    (explorer 0.10.0-dev) lib/explorer/data_frame.ex:6269: Inspect.Explorer.DataFrame.inspect/2
    (elixir 1.17.2) lib/inspect/algebra.ex:347: Inspect.Algebra.to_doc/2
    (elixir 1.17.2) lib/kernel.ex:2381: Kernel.inspect/2

>

FYI, the original dataset that cause the issue is https://huggingface.co/datasets/microsoft/cats_vs_dogs/resolve/main/data/train-00000-of-00002.parquet.

I can confirm this is a bug on our side (of the Rust code). When encoding structs, we recursively call the term_from_value function that does not implement the encoding of AnyValue::Binary(bytes). This encoding is only implemented by the resource_term_from_value function that requires a ResourceArc as parameter.
I will investigate how to fix this issue. Thanks for the report!

@philss https://github.com/elixir-explorer/explorer/pull/995 do you think this is ok to fix it ?

@ceyhunkerti this is partially fixing it. It's not building a Binary term, but a List term. Maybe we need a wider change there.
But I can confirm that the parquet will load with your change.


Module won't load when I change station

Whenever I try to change the stopId the module won't load any results.
My stopId is 2190050
Am I doing something wrong?

Works for me. Can you please paste your module config here?

I have only done changes to the default config.js:
{
module: 'MMM-Ruter',
header: 'Ruter',
position: 'top_right',
config: {
showPlatform: false,
maxItems: 6,
stops: [
{
stopId: "2190050",
platforms: [ "1", "2" ],
timeToThere: 0
}
]
}
},

Your config for platforms is not valid. There are no platform named "1" or "2".
I've updated the README to hopefully make debugging this easier. Take a look at the Stops-section.


[Bug]: Display global variables as empty

ODC version
odc423
OB version

What happened?

What did you expect to happen?
Show global variables
How can we reproduce it (as minimally and precisely as possible)?
Open Global Variables
Anything else we need to know?
No response
Cloud
No response

pass


Highlighting not showing

Probably I'm missing out on something, but I followed the steps from the README, downloaded the package, and copy/pasted
StarterKit.configure({ codeBlock: false }),
    CodeBlockShiki.configure({
      defaultTheme: 'tokyo-night'
    }),

into my tiptap extensions, but I don't see any highlighting. Do I also need to import some styles?

Hey :)
Did you already check out the example on how to use the package in this repo's src/main.ts and index.html?
You could also check if the package is working like intended by cloning/downloading this repo, then run pnpm install and pnpm dev, and then you can test it in your browser (it should work, hopefully!).
Too add a new codeblock, type a code fence with a language (e.g.  ```ts) and it should create a shiki-highlighted code block that you can type in.


[feature request] add to firefox?

a version that works with firefox would be nice!

It’s planned, but might take a while.

yay!

It should work in Firefox now. It's not in the Add-on store yet, but if you want to try it before that, load it via Debug Add-ons > Load Temporary Add-on... and select dist/firefox/src/manifest.json

Alright, it's online :) https://addons.mozilla.org/de/firefox/addon/netbeep/


Column is No Longer Ambiguous

Fixes the column is ambiguous error when browsing a BREAD after adding a Belongs to Many relationship to it.

Changes ->pluck($options->label) on line 121 to ->pluck($options->table.'.'.$options->label).

See issues #3432 and #2847.

This fix may be already addressed in a better patch at PR #3444. If so, then this one may be disregarded (or deleted or whatever). Further testing is recommended.

Closing in favor of #3444


K8s inter-host connectivity issues after upgrade from rancher v1.5.6 to v1.6.6-rc6

Rancher versions:
rancher/server: v1.6.6-rc6
rancher/agent:
Infrastructure Stack versions:
network-services: rancher/network-manager:v0.7.6
kubernetes (if applicable): rancher/k8s:v1.5.4-rancher1-4
Docker version: (docker version,docker info preferred)
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Host-1: ubuntu 14.04
Host-2: RHEL 7.3/Native docker
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Isolated planes setup. Single node rancher.
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
k8s
Steps to Reproduce:

Install Rancher v1.5.7
Create a k8s environment
Upgrade to Rancher v1.6.6-rc6
Upgrade Network-services, ipsec, healthcheck
Create some pods, services, and ingress controllers.

Results:
Pods on Host-1 are unable to reach Pods on Host-2. This manifested as an ingress-lb pod on Host-1 unable to reach the service endpoint on Host-2. Further testing showed all container on Host-1 can't reach Host-2.
Containers on Host-2 are able to successfully reach Host-1!

Same root cause as: https://github.com/rancher/rancher/issues/9389

As part of the fix for: #8684 (related PRs: rancher/cattle#2760, rancher/cattle#2766), the metadata started having information about stopped containers. The problem here is due to conntracksync trying to fix the entries with the "stopped" upgrade containers.

We hit a related case with the following infrastructure services:
rancher/metadata:v0.9.2
rancher/network-manager:v0.7.6
rancher/k8s:v1.5.4-rancher1-4
rancher/net:v0.11.5

Notes:

build containers map[hostIP:hostPort/protocol] but only for running/starting containers
Read conntrack entries, build the lookup key based on the info in the entry.
lookup the map built previously. If hit, check if the conntrack entry has correct ip address of container. else don't do anything.

So the case of stopping containers losing traffic will happen when there is a new starting/running container with a different managed IP and with the same expose port on the same host. (This basically logically not possible)
This logic is mainly for upgraded containers .... An old container has IP: o.o.o.o with expose port say 4500/tcp. When it's upgraded a new container with IP: n.n.n.n, the old conntrack entry which was pointing to the old IP need to be flushed.

@sangeethah @moelsayed Fixed in rancher/network-manager:v0.7.7.

This issue was not seen when testing upgrades from rancher-server 1.5.7 -> 1.6.6-rc6 and 1.6.5 -> 1.6.6-rc6 with following versions of infra stacks:
rancher/metadata:v0.9.2
rancher/network-manager:v0.7.7
rancher/net:v0.11.5
rancher/k8s:v1.7.2-rancher5


Stylelint running against all stylesheets

Given the following overcommit config, stylelint is run across ALL scss files, rather than only those that were changed.
PreCommit:
  Stylelint:
    enabled: true
    command: ['npx', 'stylelint']
    flags: ['./app/assets/stylesheets/**/*.scss']
    include:
      - 'app/assets/stylesheets/**/*.scss'
    requires_files: true

I've also tried changing the include path to be './app/..., as well as leaving off include and requires_files entirely, but the result is the same. It feels like applicable_files doesn't seem to be respecting only unchanged files, but I'm not sure.
This is my first time using overcommit, so if I'm missing something, please let me know!

The issue is that you are specifying ./app/assets/stylesheets/**/*.scss in the flags option. This guarantees that you always run the command npx stylelint /app/assets/stylesheets/**/*.scss <applicable_files>, which results in you running across your entire repository.
Hope that helps.


configurable keybindings

Love this application. :)
Could there be a way to remap the keybindings for dua interactive? The existing ones conflict with my terminal settings such as to make the dua actions unavailable. And conflict with my force of habit so I am doing things I don't mean to do.
due diligence:  looked for something like ~/.dua, ~/.config/dua, nothing documented and no relevant issues found.
Workaround, of course, is to launch in a terminal that doesn't have the keybindings.

Love this application. :)

Thanks :)!
As of now, there is no way to configure the keybindings of dua i/interactive.
However, while that is the case, you could probably most easily patch the event loop and give it any key-bindings you like.

Hmmm interesting. So for example to prevent esc quitting, edit the line
Char('q') | Esc => match self.focussed {

to
Char('q') => match self.focussed {

?
I can't find Ctrl('r') or Ctrl('t') there.
I find it in another file mark.rs#L111
        Ctrl('r') => return Some(self.prepare_deletion()),

Thanks! I might try that. TBH aliasing dua to launch in a separate terminal emulator is probably more straight forward for me.

+1 for this. Personally, I can't use the Ctrl+t binding because it is hard-wired to do other operations in my operating system. So a config file would be great! You probably only need a single ~/.dua.toml file that has overrides any key-bindings. You could have a struct that declares the keys, and, at initialization, is defined with the defaults – unless there is a ~/.dua.toml file.

I never remember to launch dua in the custom terminal profile I made for it... because of the keybinding conflict basically dua is read only;  I can't access any of the operations. At least I managed to train myself not to quit it all the time by mistake.
It's still 10x better than any alternative though.
(I don't know how to program so sadly I can't contribute anything more than enthusiasm.)


Add optimizations to dask.array to remap ufunc(data)[key] to ufunc(data[key])

This is a reminder to finish up/reboot the aborted PR #410
These optimizations would be extremely useful for xray's integration with dask (both internally and for our users), by allowing us to write transformations on entire dask arrays without any cost in unnecessary IO. Once this is working robustly, I'll be able to delete a pretty significant chunk of code from xray that deals with lazy computation.

I'm working on this. For single argument ufuncs, this is fairly simple. I'm uncertain how to handle functions with multiple arguments (or operators), as the slicing can't be pushed to all arguments due to broadcasting:
In [87]: a = np.arange(27).reshape((3, 3, 3))

In [88]: b = np.arange(9).reshape((3, 3))

In [89]: (a + b)[0]
Out[89]:
array([[ 0,  2,  4],
       [ 6,  8, 10],
       [12, 14, 16]])

In [90]: a[0] + b[0]
Out[90]:
array([[ 0,  2,  4],
       [ 3,  5,  7],
       [ 6,  8, 10]])

Suggestions on how to properly handle this would be appreciated.

I think we should insert an explicit broadcasting step into elemwise using the dask equivalent of np.broadcast_arrays. We can build this up out of broadcast_to, though we'll need our own code to calculate the target shape. Then, we can simply index into each non-scalar argument, because they will all be the same shape.

It's possibly worth copying NumPy's unit tests from _broadcast_shape in numpy.lib.stride_tricks: https://github.com/numpy/numpy/blob/941a4e037d394dada43e3c2beef1e650d5505742/numpy/lib/tests/test_stride_tricks.py#L267
However, the current implementation only works on NumPy arrays because it uses the NumPy array iterator: https://github.com/numpy/numpy/blob/941a4e037d394dada43e3c2beef1e650d5505742/numpy/lib/stride_tricks.py#L115
There's some code at does this calculation in an old version of stride_tricks, but I suspect you could simply it considerably:
https://github.com/numpy/numpy/blob/edb902cdc6573553afcf11047ecdfb447e444322/numpy/lib/stride_tricks.py#L81-L118

After experimenting with this for a bit, it seems that explicitly calling broadcast_to in the graph is 20% slower on simplistic cases (summing a 500x500x500 array with a 500x500 one, chunked by 250 in each dimension). I tried a few other cases, and saw similar numbers. This may be insignificant in real cases, I'm not certain. I suspect it will have an impact though, as elementwise computations are pretty common.
Another option would be to special case the  getitem instead, doing the broadcasting inside the selection after the rewrite. This wouldn't penalize normal operation, and would allow the rewriting you want. Downside is that it's yet-another-get*-function, and may not play nice with the other optimizations. I like this option better though.
Thoughts?

20% slower at compute or compile time?
On Wed, Sep 23, 2015 at 12:20 PM, Jim Crist<EMAIL_ADDRESS>wrote:

After experimenting with this for a bit, it seems that explicitly calling
broadcast_to in the graph is 20% slower on simplistic cases (summing a
500x500x500 array with a 500x500 one, chunked by 250 in each dimension). I
tried a few other cases, and saw similar numbers. This may be insignificant
in real cases, I'm not certain. I suspect it will have an impact though, as
elementwise computations are pretty common.
Another option would be to special case the getitem instead, doing the
broadcasting inside the selection after the rewrite. This wouldn't penalize
normal operation, and would allow the rewriting you want. Downside is that
it's yet-another-get*-function, and may not play nice with the other
optimizations. I like this option better though.
Thoughts?
—
Reply to this email directly or view it on GitHub
https://github.com/blaze/dask/issues/746#issuecomment-142702700.

In [13]: a = np.arange(500**3).reshape((500, 500, 500))

In [14]: b = np.arange(500**2).reshape((500, 500))

In [15]: t = da.from_array(a, chunks=(250, 250, 250))

In [16]: s = da.from_array(b, chunks=(250, 250))

In [17]: s2 = da.broadcast_to(s, t.shape)

In [18]: o = t + s

In [19]: o2 = t + s2

In [20]: %timeit o.compute()
1 loops, best of 3: 807 ms per loop

In [21]: %timeit o2.compute()
1 loops, best of 3: 1.02 s per loop

Again, toy computation, probably not representative of real world things.

Hmm. Might be worth a shot trying getitem_from_broadcasted then.

So I'm running into a problem - the following won't work with non-array objects (hdf5 files, etc...).
def getitem_from_broadcasted(arg, index, outshape):
    return np.broadcast_to(arg, outshape)[index]

For indexing/slicing operations, I can transform the index appropriately with a little extra logic to remove the need to call broadcast_to. I'm unsure if the same can be done for indexing with boolean or integer arrays.

As long as you aren't doing vectorized fancy indexing stuff, you can treat each axis independently. Then indexing into a synthetically enlarged axis is pretty simple: just grab the approach number of elements (preferably using broadcast_to), since they will all be duplicated.
On Wed, Sep 23, 2015 at 4:19 PM, Jim Crist<EMAIL_ADDRESS>wrote:

So I'm running into a problem - the following won't work with non-array objects (hdf5 files, etc...).
def getitem_from_broadcasted(arg, index, outshape):
    return np.broadcast_to(arg, outshape)[index]

For indexing/slicing operations, I can transform the index appropriately with a little extra logic to remove the need to call broadcast_to. I'm unsure if the same can be done for indexing with boolean or integer arrays.
Reply to this email directly or view it on GitHub:
https://github.com/blaze/dask/issues/746#issuecomment-142758025

So would it be fine if this optimization pass only worked on indexes composed of slices, ellipsis, or single integers?

Indexing with 1D arrays is also pretty important. I don't think that's much
harder than doing slices. Slices, ellipsis and single integers would be a
good start, though, and I can see if there's an obvious way to extend that.
On Thu, Sep 24, 2015 at 9:56 AM, Jim Crist<EMAIL_ADDRESS>wrote:

So would it be fine if this optimization pass only worked on indexes
composed of slices, ellipsis, or single integers?
—
Reply to this email directly or view it on GitHub
https://github.com/blaze/dask/issues/746#issuecomment-142987805.

Have there been any more recent PRs on this topic since the one mentioned in the OP? What are the current issues still facing this issue?

Even the single argument version of this would be enough to solve xarray's lazy decoding issue, I think. (We would technically need binary arithmetic between an array and a scalar, but that can be mapped into the single argument version.)

Do you have any advice, @jcrist, regarding the single argument version? Maybe a PR or write-up that might be a useful starting point?

Over in https://github.com/pydata/xarray/issues/2298, @mrocklin mentioned https://github.com/dask/dask/issues/2538 as another way to solve this problem, which looks like a great potential solution for this problem. It seems like some of the geoscience/astronomy use-cases could really use the ability to perform this optimization on arrays that are functions of multiple arguments.

Given the recent optimizations that went in, is this one still outstanding or has it been addressed?

It has not been addressed
On Tue, Oct 30, 2018 at 3:18 AM jakirkham<EMAIL_ADDRESS>wrote:

Given the recent optimizations that went in, is this one still outstanding
or has it been addressed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/746#issuecomment-434195817, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszC-yJf3VYVmFxU51NbNVp4a8BFfbks5up_0rgaJpZM4GB8UG
.

As an interesting related case, would submit key = mask.

FWIW a colleague voiced interest in solving map_blocks cases with selection using a similar optimization. Expect the use case is not too different from the ones that motivated opening this issue in the first place.

Should add map_overlap would be another case where this would be nice to solve. However given the operation is overlapping it's not really a ufunc and is probably different enough to deserve its own issue.


⚠ GazelleGames has degraded performance

In 55ef927, GazelleGames ($GGN) experienced degraded performance:

HTTP code: 200
Response time: 1811 ms

Resolved: GazelleGames performance has improved in 76e3372.


Multiple, Custom Workspaces for Persistent Sessions

Currently there is just one shared, hidden implicit workspace for persistent sessions using difefrent Capella versions.
As a modeller I want to use at least one workspace per Capella version to better sctructure my local persistent projects and to be able to work simultaneously with different Capella versions each using its own session.

Workspaces
Always mount /workspace, but use a dynamic workspace for the tool:
String input field on tool version: Workspace path

Capella

5.2.0 (/workspace)
6.0.0 (/workspace)
6.1.0 (/workspace)
7.0.0 (/workspace/tools/capella/7.0.0)

Papyrus

6.4.0 (/workspace)

Jupyter

python-3.11 (/workspace/notebooks)

Workspace migration

Although we can determine which tool+version a project uses, we can probably not reconstruct the .metadata folder (so the project is part of the workspace)
"Workspace path" is set to "/workspace" on all versions per default, no migration needed.
Manual migration for all pure::variants users (user base is small), needs announcement. Independent from PR.
Introduce per tool+version workspace folders (e.g. /workspace/tools/capella/7.0.0) for new versions.

With the implementation of https://github.com/DSD-DBS/capella-collab-manager/pull/1355, this is straightforward.
In the PR, we introduced support to customize environment variables per tool. This can be extended for versions too.
Each version could then define an environment variable "WORKSPACE_DIR" to define the workspace for each session individually. The tool has to pick it up and spawn the session with the corresponding workspace.


go.mod: Bump k8s deps to v0.24.0

This ends up bumping the prometheus client as well

/test all

@mikebrow Thanks for the cgroups re-run :) Pullin this out of draft


Timeouts on trying to access packagecloud gpgkey break installation

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 2.1.2
VirtualBox 5.2.16r123759
-bash: ansible: command not found

The VM uses ansible 2.6.2
Your OS

macOS (version)

Full console output
On vagrant up during ansible running inside container: https://gist.github.com/AlanSl/9d161cc7c582aeb6dae04400c9aeefd8
One error which is:
TASK [geerlingguy.varnish : Add packagecloud.io Varnish apt key.] **************
fatal: [drupalvm]: FAILED! => {"changed": false, "msg": "Failed to download key at https://packagecloud.io/varnishcache/varnish51/gpgkey: Connection failure: ('The read operation timed out',)"}

Opening the URL https://packagecloud.io/varnishcache/varnish51/gpgkey in a browser also times out a few times, downloads a key after a few attempts.
Then, on vagrant provision, one failure: https://gist.github.com/AlanSl/267932df895a23d1f209b6b05e4e39bb

TASK [geerlingguy.firewall : Check if ufw package is installed (on Ubuntu).] ***
fatal: [drupalvm]: FAILED! => {"changed": false, "cmd": "service ufw status", "delta": "0:00:00.011636", "end": "2018-08-12 12:18:18.955192", "msg": "non-zero return code", "rc": 3, "start": "2018-08-12 12:18:18.943556", "stderr": "", "stderr_lines": [], "stdout": "* ufw.service - Uncomplicated firewall\n   Loaded: loaded (/lib/systemd/system/ufw.service; disabled; vendor preset: enabled)\n   Active: inactive (dead)\n\nAug 12 11:02:11 vagrant systemd[1]: Started Uncomplicated firewall.\nAug 12 11:06:41 drupalvm systemd[1]: Stopping Uncomplicated firewall...\nAug 12 11:06:41 drupalvm ufw-init[5964]: Skip stopping firewall: ufw (not enabled)\nAug 12 11:06:41 drupalvm systemd[1]: Stopped Uncomplicated firewall.", "stdout_lines": ["* ufw.service - Uncomplicated firewall", "   Loaded: loaded (/lib/systemd/system/ufw.service; disabled; vendor preset: enabled)", "   Active: inactive (dead)", "", "Aug 12 11:02:11 vagrant systemd[1]: Started Uncomplicated firewall.", "Aug 12 11:06:41 drupalvm systemd[1]: Stopping Uncomplicated firewall...", "Aug 12 11:06:41 drupalvm ufw-init[5964]: Skip stopping firewall: ufw (not enabled)", "Aug 12 11:06:41 drupalvm systemd[1]: Stopped Uncomplicated firewall."]}
...ignoring

vagrant up then appears to work but the browser shows only an Apache Ubuntu Default Page.
Summary
The above random timeout on trying to access https://packagecloud.io/varnishcache/varnish51/gpgkey seems to break the installation, leaving only the apache welcome page, and rerunning with vagrant provision after confirming the URL is reachable doesn't fix it.

Apache2 Ubuntu Default Page
It works!
This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems...

Seems to work with vagrant halt then vagrant up after vagrant provision, so maybe this is just some random connection / maintenance blip on packagecloud's side.


UPSTREAM: : Update generate-manifests.sh

Recent upstream changes to catalogd moved the location of the default kustomization directory.
It used to be config/default, and is now config/base/default. The openshift/generate-manifests.sh script assumes the original location, this update will check for the location of the default directory.

/approve


aoi_image needed?

in
py: https://github.com/swisstopo/topo-satromo/blob/3410a6cefc87da73c088146e49f08ef9b118b156/step0_processors/step0_processor_s2_sr.py#L384
JS:
https://code.earthengine.google.com/a08635b7f3c83b082c35023a72743ec4  line 437
we have for the registration process
extract the mosaic geometry
    aoi_image = imageOrig.geometry()

-> is this needed, can't see the usage of this variable.
Can I delete it?

Good point. It was a remnant of a previous script and can be deleted. Done in the JS repository.

fixed


Update to Gradle 4.x

Hi
Gradle 4.6 is the latest version of Gradle. Could you update your plugin to the Gradle 4.x API?
Thanks

@zosrothko Feel free to submit a PR :)

@timotei, @zosrothko, done as part of these changes: https://github.com/Ullink/gradle-nuget-plugin/pull/62


MERSCOPE: adding feature_key attribute for points

Minor (but useful) PR: simply passing "gene" to the feature_key argument when parsing the points.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.89%. Comparing base (54da345) to head (dd6d762).
Report is 194 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
- Coverage   35.91%   35.89%   -0.03%
==========================================
  Files          19       22       +3
  Lines        1715     2148     +433
==========================================
+ Hits          616      771     +155
- Misses       1099     1377     +278

Files with missing lines
Coverage Δ

src/spatialdata_io/_constants/_constants.py
100.00% <100.00%> (ø)

src/spatialdata_io/readers/merscope.py
24.06% <ø> (-0.94%)
:arrow_down:


React-VR to React-360

So it seems that facebook has renamed the repo from react-vr to react-360, am I getting this right or am I missing something here? anyone updating the references?

Yes, They had renamed it few months ago :)

Not only they rename it, but they modified and removed most of the functions.

So I tried this and it doesn't work with react-360.


AdminUser with nested Profile model

I'm trying setup the AdminUser with a nested Profile model, but I can't make it work properly.
The Profiles fields are there, but when I hit the save button, only the AdminUser data is saved/updated; Profile data is ignored. But when I enter Profile data from its page, it shows up on AdminUser edit form. But again, I just can't update Profile data from there.
Can anybody help me with that? I just don't know what to do anymore.
FILE >> app/models/admin_user.rb
has_one :profile, :dependent => :destroy
accepts_nested_attributes_for :profile, :allow_destroy => true
FILE >> app/models/profile.rb
belongs_to :admin_user
FILE >> app/admin/admin_users.rb
form :partial => 'form'
FILE >> app/views/admin/admin_users/_form.html.erb
<%= semantic_form_for [:admin, @admin_user] do |f| %>
<%= f.inputs :email %>
<%= f.inputs "My Profile" do %>
<%= f.semantic_fields_for :profile, @admin_user.profile || Profile.new do |profile| %>
<%= profile.input :name %>
<% end %>
<% end %>
<%= f.buttons %>
<% end %>

Make sure that :profile_attributes are added to attr_accessible:
attr_accessible :email, :password, :password_confirmation, :remember_me, :profile_attributes
accepts_nested_attributes_for :profile

Thank you so much, Iouri. I just missed :profile_attributes as you said. Now it's working.


Remove unneeded line in /src/addons/i2cdisplay.cpp

INPUT_MODE_CONFIG does not function and is no longer needed, remove line
	{
		case INPUT_MODE_HID:    statusBar += "DINPUT"; break;
		case INPUT_MODE_SWITCH: statusBar += "SWITCH"; break;
		case INPUT_MODE_XINPUT: statusBar += "XINPUT"; break;
		case INPUT_MODE_CONFIG: statusBar += "CONFIG"; break;

It looks like there was a bug causing this not to display.  This is fixed in this PR

Closing as this has been addressed.


update packages

:white_check_mark: Build TheIdServer 1.1.0-fix-dependencies1-0006 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/0cee8a4a5a by @)


Move TransactionState to NodeTxService

It makes more sense here because it crosses from node to mesh to STF.
Note that this also adds a PROCESSED (processed by STF) state back to TransactionState.

It all looks good but looking at this - maybe we should use what your proposed I think today and just call this TransactionService and lose the node part from the name?

Agree, will make this change


Issue #385 tofu version bash

Main changes:

New script introduced tofu-version, to be installed upon pip install and called from the terminal
Prints the version of the currently installed tofu
optionally stores this version in an environment variable, but for some reason, while the environment variable is properly set in the scope of the module, it is not properly exported to the system

Example:
> tofu-version
1.4.4

The user can decide to store it in an environment variable:

option 1:
export TOFU_VERSION=$(tofu-version)
option 2:
tofu-version -envvar TOFU_VERSION

Option 2 should be safer, since before assigning it checks whether the environment variable already exists and warns the user if it does. User must use --force True to overwritte.
However, for a yet unknown reason, os.environ['TOFU_VERSION'] = version does not export the environment variable to the system.
Known isssue:

The problem described above is known, but not critical since the user can still use option 1, which is quite simple and intuitive, and since the main reason for this command is simply to return the version number. To be solved later if possible at all.

Hello @Didou09! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tofu/scripts/tofuversion.py:

Line 91:16: E127 continuation line over-indented for visual indent
Line 94:23: E702 multiple statements on one line (semicolon)
Line 107:29: E231 missing whitespace after ','
Line 107:36: E231 missing whitespace after ','
Line 107:40: E231 missing whitespace after ','
Line 107:44: E231 missing whitespace after ','
Line 109:28: E231 missing whitespace after ','
Line 109:36: E231 missing whitespace after ','
Line 109:40: E231 missing whitespace after ','
Line 109:44: E231 missing whitespace after ','
Line 119:31: E231 missing whitespace after ','
Line 119:38: E231 missing whitespace after ','
Line 119:42: E231 missing whitespace after ','
Line 119:46: E231 missing whitespace after ','
Line 121:32: E231 missing whitespace after ','
Line 121:40: E231 missing whitespace after ','
Line 121:44: E231 missing whitespace after ','
Line 121:48: E231 missing whitespace after ','


[1.19.2] Armory Cabinet deleting items?

Playing ATM8 (v.1.0.8) I used the pipez mod to import two double chest and a gold barrel full of apotheosis gear and gems. I went to export the items out but one double chest and the gold barrel worth of items are not exporting out and are missing. I checked the version of the mod I was playing on (1.19.2 v.1.0.8) and then updated to v1.1.2 however it seems my items are still gone. I have tried exporting with item pipe(z) (with and without upgrades) as well as a regular hopper and neither have worked. My apologies if I am missing information and thank you for you time and assistance.

Wow, I just reported this on Pipez mod the other day but this has been up since the end of January?

I have a life

REPRO:
This is an example of this error.  There is an armory connected to an AE2 storage bus.  It was filled by running an existing disk through MEIO after the storage bus was connected and given a high priority so that the items ended up in the armory. The Pipez are connected with an Ultimate Pipe Upgrade, no filters. The ME Chest is not powered and has no disk installed (not a valid end point).  This configuration deletes about 64 items from the armory per tick.
This is the error from the debug.log  It is repeated for every item deleted.
[14Jun2023 13:32:43.970] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.973] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 18 allthemodium_leggings items while only requesting 1. [14Jun2023 13:32:43.975] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.975] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.976] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.979] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 18 allthemodium_leggings items while only requesting 1. [14Jun2023 13:32:43.980] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.980] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.981] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.985] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 18 allthemodium_leggings items while only requesting 1. [14Jun2023 13:32:43.986] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.987] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.987] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.991] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 18 allthemodium_leggings items while only requesting 1. [14Jun2023 13:32:43.993] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.994] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1. [14Jun2023 13:32:43.994] [Server thread/WARN] [AE2:S/]: Mod that provided item handler com.buuz135.functionalstorage.block.tile.ArmoryCabinetTile$1 is broken. Returned 2 golden_boots items while only requesting 1.
Configuration SS:
https://imgur.com/AicO2sw

Was just going to come report this, but this report covers the behavior I saw. It's a bit erratic. If I try to pick up a music disc, it pretty much always happens. I had a stack of 18 leather boots, and I tried to pick one up, and got a thing saying it returned ten (not 18!) while only requesting one, and it did indeed eat a bunch of them, but leave the rest. Music disc, picked one up out of four, and the other three disintegrated.
The failure mode described above, eating items on failed moves, is sort of interesting; it looks like AE2 is requesting one item, getting handed a stack, and deciding to disregard the larger stack and just treat it as one item, so when the move fails, it puts the single item back. Arguably AE2 should be accommodating the "broken" behavior, maybe?


revert: CPS-649 Revert the tenant scope custom role to onboarding script

Issue Link:
CPS-649
What does it do?
Remove the tenant scope custom role to onboarding script
Checklist

[ ] BREAKING CHANGE - I have/intend to update all places where this package is used.
[x] I will squash: PR title conforms to standard commit message format (feat: XX-1234 ...)
[ ] I will merge without squashing: All commits conforms to standard commit message format (feat: XX-1234 ...)
[ ] README update

Related PR's

https://github.com/cloudconformity/entity-resource/pull/215
https://github.com/cloudconformity/azure-descriptors-service/pull/218

As we could leave tenant custom role unchanged, so I will close this PR and not alter the onboarding script.


Table Service Item Line - Getter for HideDialogBox needed

There is no getter-procedure to get the HideDialogBox variable.
Please add that.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Jul 21 2020 - Currency Ref Data Meeting Minutes

Currency Reference Data Meeting
Date
Jul 21 2020 - 10am EST / 3pm BST
Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Agenda

[ ] Convene & roll call (5mins)
[ ] Agree on the data structure that will be used, attributes that are going to be represented (currency codes, onshore, offshore,...) (15 mins)
[ ] How to work with and expand raw data (15 mins)
[ ] Review slides to share with other banks and get content page together (15 mins)
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

WebEx info

WebEx Meeting URL
Meeting Number:<PHONE_NUMBER>
Join by phone: +1.415.655.0003 USA Toll | +44-20319-88141 UK Toll | Access code:<PHONE_NUMBER>
Password: VXcd2eQgh82
Global call-in numbers

Hi

hi!

Hi!

Greetings!

Hi

Hello!

Hi

Offline discussion to create project plan (Sailesh / Vijay)
Aitana to find out details regarding how to procure a store, who pays for it, guidelines around maintaining a store etc.
Create raw data (Sailesh) - hide Nomura specific details
Few conisderation for creating the documents -
a. agree on the scope - The group today agreed that initial scope should be Currencies, Currency pair and Commodities (precious metal). The group felt that Crypto currency can be phase II.
b. Design of the process of contributing to the open store - Vijay to present the model for CDM in the next bi-weekly. Group to use that as the basis for Currency.
c. How to resolve data dispute - When 2 or more members have different view on a specific curreny record/attribute? The group agreed that this can done after we complete # b

Thanks Sailesh ofr all of your work on this topic!
Regarding 4a, I don't remember the suggestion of including currency pairs.  This inclusion could significantly increase the scope. I would suggest currencies and selected precious metals (e.g. Gold, Silver, Platinum, and Pallidium).


A read-only TileDB backend

This is a feature request for a read-only TileDB backend for reading a dense TileDB array into an xarray Dataset.

Hi @jp-dark! Thanks for opening this issue and the draft pull request in #4988. As you probably know, we're in the process of completing a major refactor of our storage backends system (see #4989 and #4810 for the current state of that work). One of the main feature additions in this work is the new entrypoints functionality which will allow backends (like TileDB) to declare backend support without including the code in the Xarray itself.
In light of this new functionality, we'd like to see if we can put the TileDB backend in TileDB itself (or in an another adjacent package). The end user functionality would be the same as the entrypoint would be registered at install time.
This is the development pattern we are headed to with most of our backends, including some of the current backends. We'd be happy to help work with you to sort out the details as I'm sure there will be one or two early adopter bumps to work through.
cc @alexamici @aurghs @shoyer

@jhamman - thanks for the quick response! As I work through bumps would it be best to comment here or on one of the other currently open issues for the backend refactor?

This is a great spot @jp-dark! Looking forward to seeing your progress.

As a provider of a third-party backend, I would love to be able to integrate with xarray without including xarray as a dependency in my library, and xarray is actually really close to a place where that would be possible.
The main development effort on the xarray side would be creating a generic LazyLoadingBackendStore that accepts duck-typed backends (xarray can define them using Protocols for mypy goodness).
If there is interest in pursuing this, I can help with developing a prototype to test feasibility.

@jp-dark How would you feel about writing another small library, e.g., "xarray-tiledb" that can explicitly depend on both xarray and tiledb?
We can potentially do some of xarray's backend stuff with protocols, but there are some aspects (especially for more advanced features like lazy loading) that will likely need the hard xarray dependency.

@jp-dark it is in fact possible to write an xarray backend without explicitly depending on xarray if you put all your backend glue code in a separate module not imported by the main __init__.py.
We use the python entrypoints infrastructure that trigger a module load only from within xarray.
This is still work in progress, but we are implementing this strategy in cfgrib with success. You can get inspiration from thei PR bu @aurghs:
https://github.com/ecmwf/cfgrib/pull/203

See PR #4998 for the example

Is there a branch of xarray that currently supports loading backend engines from third-party libraries?

#4989 includes the full refactor. The plan is to merge this to xarray/master on Monday.

@jhamman Is there a planned date for releasing the backend updates to PyPI?

Not at this point. We just released 0.17 so I would think we're at least a week or two away from 0.18.

Not at this point. We just released 0.17 so I would think we're at least a week or two away from 0.18.

Just to set expectations — I hadn't thought we were releasing so soon — though I'd be happy to, and it's getting easier & easier to do releases.


Scrolling Up

Your readme lists 0x00BN as an SCHIP instruction which scrolls the screen up by N pixels. To the best of my knowledge SCHIP does not provide this instruction. It's a strange omission, admittedly. If you wish to keep this instruction, I'd advise categorizing it as an EXTENDED operation.
You might also consider altering the encoding to 0x00DN, as this would be compatible with XO-Chip, a set of extended instructions introduced in my emulator toolchain and used in several existing games.
Have a look at this discussion for some primary research. If you based your instruction set information on something other than the reference material gathered by @trapexit, it would be good to reach out to them and clear this up; CHIP-8 already has plenty of confusion surrounding its behavior!
You might also find this useful- it contains some details on quirks and undocumented bugs in the various canonical HP-48 interpreters.

@JohnEarnest thanks for the data! The @trapexit documentation you linked was a good chunk of my reference material (and debugging vs. other emulators). That page specifically calls out 0x00BN as a "scroll up" on the SCHIP-8.
I'm closing, assuming that you just misread something, but if I'm wrong, definitely re-open and explain what I missed. ;-)
Thanks for link to "quirks and undocumented bugs." I'll definitely give that a look-see.

My point is that @trapexit's documentation is incorrect.
The thread I linked includes information derived from a disassembly of the original HP-48 SCHIP interpreter demonstrating that it does not support an 0x00BN "scroll-up" instruction.
You'll also note that if you look at the original readme for SCHIP this instruction is not listed.

Ah, I see. Sorry, I misread the original issue.


First pass on motion blur support in Standard Rendering Pipeline

Will try to improve the for loop in shader, don't like to have a "if". Needed because "for" loops must have a constant limit :(

Link to the playground : http://www.babylonjs-playground.com/#MV48N3


bracket pair colorization is hard to tell apart

since VSCode already implemented native bracket pair colorization and it's likely match the color of the theme, for me it's a little bit hard to tell one and another opening/closing brackets. maybe using Nord aurora color palette will result a better contrast
the og bracket colorization

using custom aurora color palette in the config

Oh shoot, I didn't even notice they were colourized!

Hi @bayuprathama :wave:
As @NatoBoram already explained you can simply customize the bracket style on your own for yourself.
Also please see #231 that includes a summary about how Nord handled the adaption of this feature and that the current style is by design. It won't be changed for all users but instead everyone can personalize it to match their preferences.


VQ-GPT

Research TODOs:

[ ] Establish that xn prediction is better than x1 prediction (with just 1 diff of context)
[ ] Try diff init (more like GPT)
[ ] Try quantizer improvements (l2 + small dim and remove reinit)
[ ] Optimizer hparams

Repo TODO's:

[ ] Add 'debug' mode in params (no logging or nothing)
[x] Speedup mixed precision (2x)
[x] Speedup flash attn, or xformers
[ ] Learning rate warmup + schedule (cosine decay or linear cooldown)
[ ] Cleanup model code/configs. Make factory

Notes:

I need a more difficult problem to test some of these research TODO's

since these residuals are so important maybe looking into cross attention would make sense...

I should set up a bunch of small experiments to verify why things aren't working:

[ ] If you only compute loss based on last frame then it should be super good because it has a much wider bottleneck (n_frames per frame prediction)
[ ] If you use n_frames == 2 then you get same results
[ ] Maybe try stronger decoder? Allow n-shot frame prediction? (128 shot is full AR token by token)
[ ] Do small model experiments (<7M params, 3 or 4 frames)
[ ] Final Goal: AR where predicting xn from x0-xn-1 > x1 from x0

NOTE: try to use n-frames such that n-input-tokens % 8 == 0. Should make the attn a bit faster

Optimizer Hparam Search:

LR: [7e-4, 1e-5]
betas: [(0.9, 0.999), (0.9, 0.95)]
eps: [1e-8]
wd: [0.01, 0.1]


Cow: Watch (?-i:G4KySr05Xm0)(?# YouTube channel)

Cow requests the watch of the watch_keyword (?-i:G4KySr05Xm0)(?# YouTube channel). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:G4KySr05Xm0)(?# YouTube channel) has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Add memorydb to Prow jobs

Description of changes:
Add the memorydb controller to the list of Prow jobs
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


feat: add resize, unlink and migrate qemu calls

Add methods to facilitate VM migrations, disk resize and disk removal.

closes #39

Sorry, I might have come across as confusing opening two different discussions on similar subjects at once, but #39 is an open question on existing API methods (clone and move_disk), not related to this PR which is implementing new methods (resize, unlink and migrate) where there shouldn't be any compatibility issue.

yup i figured it out after i actually read it ;) i love the suggestions and just commented. this PR is good to merge

thanks for the contribution! @jqueuniet


⚠ Bofrost.de has degraded performance

In 0e2cbdb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1455 ms

Resolved: Bofrost.de performance has improved in 86e0467.


Table view: Column sort option on the UI should fetch the data from the database and display results accordingly

Problem Description:
As the Row Limit in Table view is 10000, we get only 10000 records in the view.
When we click on Sort ascending or Sort descending arrows in the UI, the data (only the visible 10000 rows) gets sorted whereas it is not considering the data available in the database.
Expectation:
The sort options should fetch the data from the database again as per sort and display the Row Limit specified records.
Screenshot of Sort:

You could increase the limit  to your needs,

I don't think is good idea to force to fetch the data every time that you sort a column. Superset does not know how much data the table/view has  and in some cases it may really affect performance if you sort over trillions of rows, in addition is re-writting the SQL based on the changes not just in sort the data frame.
But this is my humble opinion,  I worked with users with PB of data and in many cases they really froze the BI tools when they did select * or brought too much data to the interface. Some DBs could handle a good sort of trillions, but others are not as efficient or can not handle sorting of each column. Even if you have a LIMIT a SORT in the SQL force a full data scan.
I personally really like the efficiency of Superset dashboard because it works in aggregated cached values, this will force to connect to db each time.
Just my 2 cents.  I am just thinking in my previous customers that have really big data sets and how this can impact them.

Thank you for your response. Understand your point but it is a customer requirement.
Moreover they are expecting similar functionality like when a sort column is specified in the slice (GROUP BY or NOT GROUP BY section), there is an additional order by clause fired within the datasource query to fetch the data as per sort column selection.


Web - Hold - Red dot is lost on held expense when approve pending amount

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.48-2
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: https://github.com/Expensify/App/pull/49910
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Log in with your Approver account
As employee Go to the room with the two expenses
As employee: hold one expense
Verify there is a red dot on held expense on both sides
As Approver: Approve just the pending amount
As Approver: back to room by click to the header

Expected Result:
Red dot should remain on held report when Approver go back to room
Actual Result:
Red dot disappears from held expense when approve pending amount. It appears only when open the held report again and navigate back to room
Workaround:
Unknown
Platforms:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/42af07e2-719e-4679-a7e8-5a7c1dbea52b

View all open jobs on GitHub

@zanyrenney  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

moving to expense.

Quick question, how do we make a account approver and another employee? Thanks for any help.

BE bug the report on hold is not returned by the BE after paying.

We require an internal engineer here. I have applied the lable

it seems that an internal engineer hasn't been assigned automatically? 😂
That's working as expected.

This is on Hold right now and not a priority.

I actually think this fits in a cohort room since it definitely affects our current cohort. I've moved to #convert since we're pitching Hold to new users.


S2 Popover tokens update, non-color

Description
Marked token for deprecation and linked it to new token:

🚫 popover-top-to-content-area --> popover-edge-to-content-area

Added net-new tokens:
Component-specific

popover-border-opacity

Motivation and context
These changes occurred as a result of scaling things for S2 design language and experiences.

Related issue
View Jira task

Types of changes

 [ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
 [X] Minor (add a new token, changing a value, deprecating a token; non-breaking change which adds functionality)
 [ ] Major (deleting a token, changing token value type, renaming a token by deprecating the old one; fix or feature that would cause existing functionality to change)
Checklist:

 [X] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
 [X] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)

TESTING spectrum2-non-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
TOKENS STUDIO DATA IS NON-COLOR ONLY
STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.🚫 popover-top-to-content-area
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.popover-edge-to-content-area
UPDATED METADATA - SPECTRUM UUID: spectrum2/opacity.component/dark.popover-border-opacity
UPDATED METADATA - SPECTRUM UUID: spectrum2/opacity.component/light.popover-border-opacity

SPECTRUM SYNC SUMMARY
NEW TOKENS: (3) popover-edge-to-content-area, popover-border-opacity/dark, popover-border-opacity/light
MODIFIED TOKENS: (1) popover-top-to-content-area
DEPRECATED TOKENS: (4) overlay-opacity/light, overlay-opacity/dark, popover-top-to-content-area/desktop, popover-top-to-content-area/mobile
CHANGED VALUES: (1) popover-top-to-content-area/desktop
CHANGED SCHEMAS: (1) popover-top-to-content-area

TEST COMPLETE

It looks like an opacity is being added on a non-color pr, is that ok @karstens @nabuhasan ?

It looks like an opacity is being added on a non-color pr, is that ok @karstens @nabuhasan ?

@GarthDB yes, opacity tokens are all in the "non-color" data, at the moment.

@GarthDB This is ready to merge.

SYNCING spectrum2-non-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
TOKENS STUDIO DATA IS NON-COLOR ONLY
STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.🚫 popover-top-to-content-area
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.popover-edge-to-content-area
UPDATED METADATA - SPECTRUM UUID: spectrum2/opacity.component/dark.popover-border-opacity
UPDATED METADATA - SPECTRUM UUID: spectrum2/opacity.component/light.popover-border-opacity

SPECTRUM SYNC SUMMARY
NEW TOKENS: (3) popover-edge-to-content-area, popover-border-opacity/dark, popover-border-opacity/light
MODIFIED TOKENS: (1) popover-top-to-content-area
DEPRECATED TOKENS: (4) overlay-opacity/light, overlay-opacity/dark, popover-top-to-content-area/desktop, popover-top-to-content-area/mobile
CHANGED VALUES: (1) popover-top-to-content-area/desktop
CHANGED SCHEMAS: (1) popover-top-to-content-area

WROTE: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/mobile.json
WROTE: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json
WROTE: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/spectrum2/opacity.component/dark.json
WROTE: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/spectrum2/opacity.component/light.json
WROTE: /spectrum-tokens/packages/tokens/src/layout-component.json
WROTE: /spectrum-tokens/packages/tokens/src/color-aliases.json
SYNC COMPLETE
Tokens Studio Pull Request
Spectrum Tokens Pull Request


haskellPackages.amazonka: broken as of 21.05pre270709.6b1057b452c

Describe the bug
haskellPackages.amazonka is broken.
To Reproduce
Steps to reproduce the behavior:

nix-shell -p "ghc.withPackages (ps: with ps; [amazonka])"
You'll get a "marked as broken, refusing to evaluate" error

if ran with NIXPKGS_ALLOW_BROKEN=1:
(...)

Using Parsec parser
Configuring amazonka-1.6.1...
CallStack (from HasCallStack):
  $, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:1024:20 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:477:12 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:625:20 in Cabal-<IP_ADDRESS>:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:65:5 in Cabal-<IP_ADDRESS>:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:180:19 in Cabal-<IP_ADDRESS>:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:116:27 in Cabal-<IP_ADDRESS>:Distribution.Simple
  defaultMain, called at Setup.hs:2:8 in main:Main
Setup: Encountered missing or private dependencies:
unliftio-core ==0.1.*

this package was working fine in 20.09, but unliftio-core got updated recently to <IP_ADDRESS>, and the previous version seems to be no longer available in current nixpkgs.
Expected behavior
amazonka can be loaded as usual.
Metadata

system: "x86_64-linux"
host os: Linux 5.4.89, NixOS, 21.05pre270709.6b1057b452c (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.10
channels(root): "nixos-21.05pre270709.6b1057b452c"
channels(chava): "nixos-21.05pre270709.6b1057b452c, awless-0.1.11, inkscape-1.0.1, obs-studio-26.0.2, ibus-1.5.23, ngrok-2.3.35, thunderbird-78.6.1, screenkey-1.2, kmail-account-wizard-20.08.3, my-packages, kmail-20.08.3, gcc-wrapper-9.3.0, nix-du-0.3.3, git-filter-repo-2.29.0, pokerth-client-1.1.2, pavucontrol-qt-0.15.0, lsof-4.94.0, steam-run, ihp-new"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
attribute:
- haskellPackages.amazonka-*  # not necessarily broken, but harder to use
module:
-

@LuisChDev If you (or anyone else) would like this fixed in master, please figure out what exactly needs to be fixed and send a PR to haskell-updates.
If you have trouble figuring this out, feel free to ask here.


Multiple RDP

Hi
I have downloaded RDP Wrap 1.6.2 & installed as administrator in windows 10pro
In RDP config listener state showing not supported.So I am not able to connect multiple RDP.
Please help.

OS build-17763.316

Duplicate of #645.


Add a plugin to auto-generate the licences.json file

Hey,
I really like your library! Looks WAY better than the other ones I have tried so far.
Here I have another idea to speed up the integration process.
You could use this approach or similar to auto-generate the licencs.json file, based on the dependencies defined in the gradle file. This would not only speed up the initial setup, but would also make it easier to update it as part of the deployment process :)
What do think about it?

Hi. In theory it's a good idea, but I started looking into it (with my own plugin, as well as the one you linked), and there is just far too much information missing for it to be useful. I might be able to add it as a standalone task to provide a template, but it won't ever be able to produce anything worthy of being included by itself. Depends too much on the information being available from the pom, which it rarely is.

Thanks for the quick response :)
I'm aware that things like descriptions, icons and so on may be missing in the POMs, but must of the information like name, version, developer, url and licence should be available in most cases. This would at least be a good start, even if it then just a template ;-)

Actually even those details are more often than not missing sadly. But yeah, it's on my todo list to at least add a task that will give you something to start with :)


created the text editor

users can see how their text will be formatted as they type

Looks good to me!


Typo in MongoDB and Mongoose - Perform New Updates on a Document Using model.findOneAndUpdate()

Describe your problem and - if possible - how to reproduce it
There is a typo in the Hint paragraph. The second sentence 'o do that you need to pass ...'
Add a Link to the page with the problem
https://learn.freecodecamp.org/apis-and-microservices/mongodb-and-mongoose/perform-new-updates-on-a-document-using-model-findoneandupdate
Tell us about your browser and operating system

Browser Name:
Browser Version:
Operating System:

If possible, add a screenshot here

I can take this one

@renojvarghese @tingxuanz this issue was fixed in curriculum/#121, but it has not yet been shown up in the website as learn repo has to be updated to the recent version of curriculum repo.

Sounds good. @tingxuanz Could you close this issue?


How to contribute (and MAP-estimates)

Hi,
First of all, thanks a lot for releasing such a great package!
I started looking into CLV and first found the lifetimes package which later led to this package.
Even though I much prefer fully Bayesian models, I found that the computational complexity of using the full posterior sometimes lead to infeasible run times in my data set. This was not a problem with lifetimes.
As such, I made some minor tweaks to allow for an approximate MAP procedure which if course is an approximation, but also allows for much shorter run times in cases where that is important.
My changes are located here. If you find them relevant, I want to help contribute them to this package, however, I couldn't find a contribution guide, so how do you prefer external contributions?
Thanks a lot in advance.
Cheers!

@ChristianMichelsen thanks for taking a look. I don't know if you saw but we already allow for fitting CLV models with MAP in which case the trace has a single point. The summary methods should work fine out of the box with a trave with a single "chain" and "draw" (the MAP)

Hey @ChristianMichelsen,
Thanks for offering to contribute! The latest version of  our contributing guide is here:
https://github.com/pymc-labs/pymc-marketing/blob/main/CONTRIBUTING.md
But now that you mention it, a Pull Request Best Practices section would be an excellent addition, so I've created an issue for it.
It also seems your additions resolve  https://github.com/pymc-labs/pymc-marketing/issues/168, so if you want to go ahead and create a Draft PR, we can advise you on where to go from there.

I found that the computational complexity of using the full posterior sometimes lead to infeasible run times in my data set. This was not a problem with lifetimes.

@ricardoV94 The new NUTS samplers in the latest pymc release are blazing fast. Are we able to use those yet in pymc-marketing?

Yes you can pass arbitrary kwargs to pm.sample, including nuts_sampler which allows to defer sampling to Nutpie or Jax samplers

Yes you can pass arbitrary kwargs to pymc.sample via CLVModel.fit, including nuts_sampler which gives access to Nutpie or Jax samplers

Would something like pip install pymc[numpyro] work for the JAX samplers? Or do users still need to follow this guide:
https://www.pymc.io/projects/docs/en/latest/installation.html

Still need to follow the guide, I don't think we have any optional dependencies defined on PyMC. If you think it would make things easier feel free to open an issue on the repo.

@ChristianMichelsen can we close this issue or is there something you think should be addressed code-wise which is not tracked already in other issues?

I had completely overlooked the general CLVModel and only looked at the BetaGeoModel and GammaGammaModel. Thanks a lot for the quick and thorough response!


Port website examples to ocular gatsby website

For #3775
Port over all website examples to work with the ocular gatsby system.  Recreates example "wrappers" to not use redux, reworks usage of baseui in data filtering example, other miscellaneous bug and styling fixes.

Coverage increased (+2.5%) to 83.053% when pulling 57a7ca7dd07bcbef78d97e5a48fb04af6b920c7c on tgorkin/gatsby-examples into 515466ce583f1419d2b0199daa31f850d3627bb8 on master.

This is awesome. Was it intentional to remove redux? You can use redux with gatsby with a fairly simple wrapComponent override see e.g. my recent Kepler.gl website-fats you folder (on master) for an example...

I did intentionally remove redux.  My main reasoning was that it felt like removing redux reduced complexity and makes it easier for others to add/maintain our examples.  However this may be my subjective call based on being less familiar with redux than react.  I'm open to feedback here if there is a compelling case for redux.
Also, I took a look at https://github.com/keplergl/kepler.gl/blob/master/website-gatsby/src/state/redux-wrapper.js.
Good to know that its easy to add redux to a gatsby site!

In response to the profliferation of wrapper files, these are all refactored replacements for pre-existing wrappers here: https://github.com/uber/deck.gl/tree/master/website/src/components/demos
My refactoring (in my view) replaces hard-to-follow logic and usage of static functions with more self-contained explicit react component state and JSX.

Also for reference, a previous PR that contained some of the foundational setup for this new pattern of examples - https://github.com/uber/deck.gl/pull/3899/files

My refactoring (in my view) replaces hard-to-follow logic and usage of static functions with more self-contained explicit react component state and JSX.

Sounds good. Though a lot of code, it looks well organized, should make things easier to maintain!


Fixes url for bloomberg in assets_spec.rb

Withdrawing in favor of app_config.yml change to fix the issue.


[Question/bug] Item ID for dynamic trees leaves?

I'm having a problem . . . I use scavenge to make tree leaves drop sticks and other items and since you replace the leaves it isn't working. Apparently, dynamic tree leaves aren't ore dictionaried to be leaves so other mods can recognize the blocks and respond correctly.
It should be an easy fix to just add the blocks to the ore dictionary but I can't grab one in creative mode to get the ID. lol.  I could even make specific scavenge code just for these blocks if I knew the right ID to use! Unfortunately, it's hidden at the moment.

I managed to find the ID using the one probe in it's most descriptive mode . . . weirdly all the trees seem to share the same ID: Leaves0, and the BOP branch does the same thing just changing the mod name in front . . . it's very weird but I got my scavenge code working.
I'll leave this up here for now in case anyone else has the same problem, and so that you can read it and think about whatever changes might be made to make this more clear and simple for pack makers. :)

Anyone have the numeric ID? Would be much appreciated.

Modded Minecraft no longer works with static item ids and hasn't for years.  Forge now assigns these serially per game world so they will vary.  The ids are stored in the level.dat file.  You'll have to use a mod like "the one probe" like Winddbourne did.


Configuration Settings and Early Service Registrations for Functions (especially on Consumption Plan)

The warning note at the foot of this section reads:

Avoid attempting to read values from files like local.settings.json or appsettings.{environment}.json on the Consumption plan. Values read from these files related to trigger connections aren't available as the app scales because the hosting infrastructure has no access to the configuration information.

What, then, is the recommended way of reading configuration settings on the Consumption Plan?  More importantly and specifically, what is the recommended way of registering settings and services before the FunctionsStartups.Configure() method?  In an ASP.NET Core app, I would normally do this in Program.cs like so:
private static IWebHostBuilder CreateWebHostBuilder(string[] args)
        {
            return WebHost.CreateDefaultBuilder(args)
                .UseSerilog()
                .ConfigureAppConfiguration((context, builder) => { builder.AddEarlyRequiredConfiguration(context); })
                .ConfigureServices(
                    (context, services) => { services.AddEarlyRequiredServices(context); })
                .UseStartup<Startup>();
        }

        private static void AddEarlyRequiredServices(this IServiceCollection services, WebHostBuilderContext context)
        {
            // Add services needed before Startup, using WebHostBuilderContext if needed.
        }

        private static void AddEarlyRequiredConfiguration(
            this IConfigurationBuilder builder,
            WebHostBuilderContext context)
        {
            builder.AddJsonFile("appsettings.json");
            builder.AddJsonFile($"appsettings.{context.HostingEnvironment.EnvironmentName}.json");
        }

In FunctionsStartup, however, I have no access to anything before Configure(), so I can't register anything early that will be needed in that method.

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

ID: 5786402e-9d88-5de0-607a-1c2a143af006
Version Independent ID: 15368d1c-b22e-7eb2-413f-cc0d41d2b909
Content: Use dependency injection in .NET Azure Functions
Content Source: articles/azure-functions/functions-dotnet-dependency-injection.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@ronwarner Thank you for your feedback! We will review and update as appropriate.


moved get contacts to beta status

Added code to display a "beta" indicator on beta status apis.
Switched the get all organization contacts to beta status.

A few things we must do prior to integration

DriveSnippets, GroupsSnippets, EventsSnippets all contain very similar methods related to JSON parsing & ids. We should be able to condense this issue and remove the swallowed Exception through Retrofit's built-in POJO serialization.

We should figure out what went wrong when we ran the app with another tenant


Path to downloaded Udacity course/Nanodegree doesn't exist.

Facing issue with Path to download doesnt exist, Please help with the resolution
This is the code I have used, JSON is downloaded successfully. Failing while rendering the file:
(base) Vaibhav-old-Macbook:~ vaibhav-old$  udacimak render '/Users/vaibhav/Data Product Manager Nanodegree Program v1.0.0'--targetdir'/Users/vaibhav/Documents/Data Product Manager Nanodegree Program'

have same problem in windows system.

(base) Vaibhav-old-Macbook:~ vaibhav-old$ udacimak render "/Users/vaibhav/Data Product Manager Nanodegree Program v1.0.0" -t   /Users/vaibhav/Documents/Data
try to keep avoid space while naming


Check .gitignore if both yarn.lock and package-lock.json exist.

If yarn.lock and package-lock.json both exist, it could be better if we can check:

If this is a git repository.
If one of the lock file is ignored.

If yarn.lock is ignored, we can assume that the project uses npm maybe.
If package-lock.json is ignored, we can assume that the project uses yarn maybe.

Thanks for the response! I better understand the case you are explaining. I am still hesitant because I see the strength of the signal from an ignore file being weaker than the signal from the "yarn.lock file in the project", as you wrote. I should take some time to think about it more. The idea is clever and addresses a use case I had not considered.


Allow importing punctual lights from Blend.

Fixes: https://github.com/godotengine/godot/issues/59748

Thanks!


Adding operations after gradient are applied screws with the optimizer

I'm currently trying to add an operation after I apply the gradients. Essentially I have a row of some variables that I don't to change via gradients so I would ideally reset it after gradients are applied (I could also set that part of the gradient to 0 but w/e). I currently have this done after my forward inference pass as putting it after apply_gradients doesn't seem to work.
Even adding an op like tf.Print seems to completely screw with the optimizer. What I gather from my debugging is no variables are updated.
train_op = self._opt.apply_gradients(...)
train_op = tf.Print(train_op, ....)

If I understand Print correctly it just prints stuff and then returns have the op that was passed in, so the returned op should work the same. tf.Print works as expected it prints out what I wanted it to print.

How are you using train_op downstream?  What you're doing seems like it should work as you expect from what you've written, so I think we need to see the rest of the context.

Closing due to lack of activity / follow up.  Feel free to comment and we'll re-open.

I think I am having a similar problem to this. Gradients are apparently computed, but the weight matrix associated with the gradient does not change (i.e., they are exactly the same across mini-batches and iterations). Interestingly, this happens only with one dataset. I use the same code for two other (MNIST and an artificially generated dataset) datasets, and it works fine.
optimizer = tf.train.GradientDescentOptimizer(0.1)
predict_op = tf.argmax(py_x,1)

tvars = tf.trainable_variables()
grads = tf.gradients(cost, tvars)
train_op = optimizer.apply_gradients(zip(grads, tvars))

So this is my optimization code. I used this explicit way of computing to see the values of the gradients. Otherwise I used
train_op = tf.train.GradientDescentOptimizer(0.1).minimize(cost)
and other optimization techniques TensorFlow offers as well. As I said, although gradients are computed(And they are non-zero), they are not applied to the weight matrix, and the weight matrix remains the same. As a result, because of the random initialization of the weights, the classifier I trained (Which is an LSTM + a softmax layer) keeps predicting with random guess (i.e., 1/n accuracy, where n is the number of classes).
Not sure if this is the right place to post, but I guess the problem is similar. I can open a new issue if you want. The code is very long (and messy because of everything I tried to make it work in the last few days), so I did not post here the whole thing. If you need the other parts, I can clean them and post here.

Are you running the train_op?

My bad. I deleted it at some point, and only for the code that runs with that particular dataset. Thanks a lot. You saved my future few days.


Use a modern JavaScript bundler

We should probably upgrade to a modern bundler system instead of our hand-rolled concatenation script.
Some options include:

Rollup https://rollupjs.org/guide/en/
WebPack https://webpack.js.org/

@Fuzzyma do you have a recommendation?

It should be noted that it is possible that no bundler works well with Three.JS today (https://discourse.threejs.org/t/three-js-file-size-when-importing-via-npm-and-bundling-with-webpack/8904/4) and (https://discourse.threejs.org/t/how-to-reduce-bundle-size-with-webpack/14607)

Rollup is probably the one you wanna go with. It's especially well suited for library authors.
My favorite is vite. It supports typescript by default and takes the dev experience to a new level. For bundling it also uses Rollup under the hood

Thank you very much for your suggestion. Do you think this is something we need to do sooner than later, or should we still wait a bit, and sort out the API first? It's been a couple of years since I investigated this problem, and sounds to me like Three.JS is still a bit of a mess (https://discourse.threejs.org/t/how-to-reduce-bundle-size-with-webpack/14607/11). I'm concerned about the overhead of learning a new bundler, pushing up build times, and having a potentially larger bundle than before. I would assume we need to get to a new version of Three.JS first, and then start using ESM modules.

You don't really have to care what threejs is doing. After all, it's just a dependency. Bundling is also nothing you do on every commit. It's only when you finally publish/release your code. A lot of people won't even care about the bundle and will use the source files directly anyway.
For this project, I would merge all the open PRs and move to esm as soon as possible because it actually speeds up development.
You also might want to start using eslint to enforce a code style


The cleos prompts that the private key is wrong when vote on the command line

The cleos prompts that the private key is wrong when I vote on the command line on local eosio test net.
root@eosnew:~# cleos system voteproducer prods voter zhangzhijiao producers accountnum11
2018-07-20T08:26:09.289 thread-0   main.cpp:438                  create_action        ] result: {"binargs":"0000000080ab32dd0000000000000000031082d4334f4d11320000c057219de8ad408d7bae7d364dfb"} arg: {"code":"eosio","action":"voteproducer","args":{"voter":"voter","proxy":"","producers":["accountnum11","producers","zhangzhijiao"]}}
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked
root@eosnew:~# cleos get account zhangzhijiao
permissions:
owner     1:    1 EOS6Wz6kqpd2UidU1G8netofPZCdv16TQpFwSQs6pj8FXqGmnqBTy
active     1:    1 EOS6Wz6kqpd2UidU1G8netofPZCdv16TQpFwSQs6pj8FXqGmnqBTy
memory:
quota:     6.512 MiB    used:      3.49 KiB
net bandwidth:
staked:  400000000.0000 SYS           (total stake delegated from account to self)
delegated:<PHONE_NUMBER> SYS           (total staked delegated to account from others)
used:               145 bytes
available:        164.6 TiB
limit:            164.6 TiB
cpu bandwidth:
staked:  400000000.0000 SYS           (total stake delegated from account to self)
delegated:<PHONE_NUMBER> SYS           (total staked delegated to account from others)
used:             5.484 ms
available:         4794 hr
limit:             4794 hr
SYS balances:
liquid:     98799910.0000 SYS
staked:    800000000.0000 SYS
unstaking:         0.0000 SYS
total:     898799910.0000 SYS
producers:
root@eosnew:~# cleos wallet private_keys --password PW5KhFbzTwYBBifzqEHvDLUG9kc77cpRXRKXdXLcGmpswf673hYEU
[[
"EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
"5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"
],[
"EOS6Wz6kqpd2UidU1G8netofPZCdv16TQpFwSQs6pj8FXqGmnqBTy",
"5K6rkE3UmNp3WfSSHjaG8Hep1MQgYiaxGMbBb9bT4XyuT8hTiGL"
],[
"EOS6m5LewS8WVyfs2KVRqxyMkVJ247BwSRQtnQnUr1TX1opGYdkRF",
"5J6efF8K4sDAz27T6yo74rg5xCMZCQqPdZPWQ7hToe2quvhtc3w"
]
]
root@eosnew:~# cleos system listproducers
Producer      Producer key                                           Url                                                         Scaled votes
accountnum11  EOS6Wz6kqpd2UidU1G8netofPZCdv16TQpFwSQs6pj8FXqGmnqBTy  https://accountnum11.com/EOS6Wz6kqpd2UidU1G8netofPZCdv16TQp 0.0000
accountnum12  EOS6Wz6kqpd2UidU1G8netofPZCdv16TQpFwSQs6pj8FXqGmnqBTy  https://accountnum12.com/EOS6Wz6kqpd2UidU1G8netofPZCdv16TQp 0.0000
The wallet is already unlocked and I can transfer from zhangzhijiao.
root@eosnew:~# cleos transfer zhangzhijiao accountnum11 "1 SYS"
executed transaction: 38f0721712e644677343bcb4cf6d37f18ad2662e281c1273f9b8d7fe9041e179  128 bytes  413 us
eosio.token <= eosio.token::transfer        {"from":"zhangzhijiao","to":"accountnum11","quantity":"1.0000 SYS","memo":""}
zhangzhijiao <= eosio.token::transfer        {"from":"zhangzhijiao","to":"accountnum11","quantity":"1.0000 SYS","memo":""}
accountnum11 <= eosio.token::transfer        {"from":"zhangzhijiao","to":"accountnum11","quantity":"1.0000 SYS","memo":""}
warning: transaction executed locally, but may not be confirmed by the network yet    ]
root@eosnew:~# cleos system voteproducer prods voter zhangzhijiao producers accountnum11
2018-07-20T08:49:21.001 thread-0   main.cpp:438                  create_action        ] result: {"binargs":"0000000080ab32dd0000000000000000031082d4334f4d11320000c057219de8ad408d7bae7d364dfb"} arg: {"code":"eosio","action":"voteproducer","args":{"voter":"voter","proxy":"","producers":["accountnum11","producers","zhangzhijiao"]}}
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.
Why the command line show the error about private key?

I don't know if it's a new version of the problem.

Try:
cleos system voteproducer prods zhangzhijiao accountnum11
or
cleos system voteproducer prods zhangzhijiao accountnum11 accountnum12
The command you used was attempting to vote as user voter, which doesn't exist, and so its keys can't be found.
cleos help text for non-option arguments is meant to be substituted rather than appended.


getblockcount vs log blockHeight off by 1

I just started my first node using ./bin/neo-go node -t and noticed that the getblockcount RPC call is always 1 higher then what is reported in the blockHeight field in the console.

And that's a protocol bug feature, that's the way getblockcount works. Yeah, I know it's somewhat annoying, but still, it's a block count by its definition and thus block 0 is also counted, therefore at block 1 we have a height of one, but two blocks counted.
See also: https://github.com/neo-project/neo-modules/blob/2b9aa1305f7d50356953b31a9944c5da74cfac42/src/RpcServer/RpcServer.Blockchain.cs#L72

Ah of course. It's count not height


Profiling error - Performance report no longer exists

Expected Behavior
Profiler works normally.
Actual Behavior
When attempting to view report generated after running profiler get the follow error Performance report no longer exists: Performance_20160804.vspx
While the report is being created a v8.log is created in the directory. Once the the recording is finished the log is deleted. A copy of the logs state midway is here
As suggested by the wiki I tried using Microsoft.NodejsTools.NodeLogConverter.exe directly however that was throwing a large number of warnings and eventually crashed on execution. From the outside it looks as though this component probably hasn't been updated to work with logs created by the latest version of node.

NTVS Version: v1.2.40726.00
Visual Studio Version: v14.0.25425.01 Update 3 (latest)
Node.js Version: v6.3.1 (x64)

Steps to Reproduce

Launch nodejs profiling
Standalone script > pick script/working directory, no command line arguments
Start profiling
Stop after any length of time
Attempt to view report by double clicking

Thank you for reporting this.
I was unable to repo the problem by following these steps, but did see similar behavior when trying to open a report while the profiler was still running. A few questions to help with the investigation:

Does this happen for all projects or just this one? Does it happen for a new express project?
What type of project are you profiling (server, command line app, ...)?
What warning and errors are printed when running the log converted manually?

We should support Node 6.3 just fine, but there is a known issue with x64 profiling (#434) around displaying function names.

Does this happen for all projects or just this one? Does it happen for a new express project?

I created a new express project and that profiled ok. When I profiled the original app from inside the express solution that also worked ok. It exhibited (#434) as you mentioned but was otherwise fine.
However, the problem still exists when I start visual studio and profile immediately without opening a solution. This would probably rule out the log parser as being the source of the error.

What type of project are you profiling (server, command line app, ...)?

It's a web crawler.

Reproduced the problem by attempting to profile a Node.js project created from existing code before saving the sln and njsproj files. Tried to delete the report, said access denied to path "C:\Program Files\Micro...blahblah...", not where my project is, definitely shouldn't have rights to... Saved project and re-opened, was able to run profiler.
Separately, the profiler is giving me "No Call Tree Data Is Available"...

The current profiler is no longer supported, while we investigate options for a replacement. Current guidance is to use the building profiler.
More info here:
https://nodejs.org/en/docs/guides/simple-profiling/


"Goto/Peek Definition" doesn't work for proxy rules

When trying to look up definition of a proxy rule, none is found:

This likely happens because the rule gets optimized away:

I suppose one can simply refactor the proxy rule away, but I don't really want to do that. It's often helpful to have such proxy rules.
When one just turns off the "Peggy Language Server: Mark Info" config, the squiggly line won't appear under the rule, and it's even harder to diagnose why the lookup fails.

I have a few ideas for solving this problem:
The simplest just-delete-it solution
Simply remove the removeProxyRules function from Peggy transform pass. As far as I understand, this transform exists purely for optimization purposes, as the editor plugin doesn't generate code, there's no actual need to perform that optimization.
The downside is that this eliminates the "Proxy rule 'foo' replaced by the rule 'bar'" info messages. I personally don't find these messages valuable. The blue squiggly line seems to suggest that there's something wrong with having a rule that's optimized away by the compiler. On the contrary I often find such rules useful for documentation purposes.
The complex work-around-the-problem solution
Store all the proxy rule removal messages and use that info later when performing the "Goto/Peek definition" action to navigate to the.
This seems like a pretty bad approach as we would be keeping the source of the problem, and working around the issues caused by that.
An intermediate make-it-harmless solution
Finally, we could replace the removeProxyRules transform pass with one that only reports these info messages, but doesn't perform the actual transform. That way the info messages would still be there, but the transformations would not cause "Goto/Peek definition" to fail.

I tried out the simple solution, which is pretty much a single line of code:
 const PASSES: peggy.compiler.Stages = {
   check: peggy.compiler.passes.check,
-  transform: peggy.compiler.passes.transform,
+  transform: peggy.compiler.passes.transform.filter(fn => fn.name !== "removeProxyRules"),
   generate: [getWarnings],
 };

I'm ok with just removing the compiler pass.


Allow limited customizations to image_plot

When input image is small, the output figure can be large and pixelated, and takes quite an amount of space when displayed on a Jupyter notebook. Example is to plot shap values of the MNIST with ranked_outputs=2.

Thanks!


floors.md uses wrong locations for imp level floorMin

https://github.com/prebid/Prebid.js/issues/8938 specifies it as imp[].ext.prebid.floors.floorMin
Imp-Level FloorMin was implemented in Prebid Server 1.97. It's specified with imp[].ext.prebid.floors.floorMin
Documentation shows imp[].ext.prebid.data.floorMin

https://github.com/prebid/prebid.github.io/blob/7cab5d6ed1ac7914abe795deb83a0e3f5737af26/dev-docs/modules/floors.md?plain=1#L1249 is the location that seems off to me, but then in that same file it refers to the data object twice.


Find permanent solution/location for week number

See https://github.com/icssc/peterportal-client/pull/454#pullrequestreview-1916024622

#239 is related


Charm++ scatter(v) collective interface

Original issue: https://charm.cs.illinois.edu/redmine/issues/1248

Charm++ currently lacks a proper Scatter(v) collective routine. Vipul has defined the interface for this, and is working on the implementation.

Original author: Vipul Harsh
Original date: 2017-01-29 00:58:54

Naive point to point implementation: ~~https://charm.cs.illinois.edu/gerrit/#/c/2083/~~ https://github.com/UIUC-PPL/charm/commit/28b33ae6e786a0b290a0043928f5e0532f409615


Color option on tooltip?

What about a type option for tooltips, like you have with labels and badges?
I know this can be solved using custom css, but I don't see a reason not to include this in Bootstrap.
Example usage:
Hover to show info-colored tooltip

We won't be adding this.

Why not? It's a bit unfair to just close something without explaining why?
I don't understand why this (despite several closed issues all saying the same thing) isn't being implemented. It's a vital part of being able to customise elements, just like buttons and everything else that can have the contextual colours applied to it.
Why are we forced to have just plain black tooltips?

Because we need to weigh up any new feature like this against "is it too complex to do otherwise", "is it flexible", and "does it warrant being added to the core functionality/styles for everybody". at some point, authors have to realise that not everything they want/need can be provided in the vanilla out-of-the-box package, and do a bit of their own case-specific CSS.


feat: introduce api version 710 support

Introduce API version 710 support along with support for experimental
APIs for Tenants and get_mapped_range.

Codecov Report

Merging #20 (b8a7b18) into main (3fac43f) will decrease coverage by 7.70%.
The diff coverage is 13.44%.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   89.29%   81.59%   -7.71%
==========================================
  Files          17       22       +5
  Lines        7672     8508     +836
==========================================
+ Hits         6851     6942      +91
- Misses        821     1566     +745

Impacted Files
Coverage Δ

fdb-gen/src/lib.rs
95.80% <ø> (ø)

fdb/src/database/fdb_database.rs
57.01% <0.00%> (-7.94%)
:arrow_down:

fdb/src/lib.rs
100.00% <ø> (ø)

fdb/src/mapped_key_value.rs
0.00% <0.00%> (ø)

fdb/src/mapped_range.rs
0.00% <0.00%> (ø)

fdb/src/tenant/tenant_management.rs
0.00% <0.00%> (ø)

fdb/src/transaction/fdb_transaction.rs
44.26% <1.31%> (-6.15%)
:arrow_down:

fdb/src/future.rs
54.07% <10.28%> (-26.34%)
:arrow_down:

fdb/src/range.rs
60.41% <32.35%> (-4.61%)
:arrow_down:

fdb/src/tenant/fdb_tenant.rs
47.26% <47.26%> (ø)

... and 5 more

Continue to review full report at Codecov.

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


When dicom files converted to nii.gz files, it created a bug of repeated images

The second row of the above figure produces repeated images. The program points out a warning prompt as shown in the following figure.

How to resolve this issue. Thank you!

@jcfr is looking at updating the ITK version in Slicer to v5.4.0 -- after, it is be worth re-testing to see if the issue persists.