problem with runs code in other platform

hello orriaga...codes works so great for me in ubuntu os...
when i run video_emotion_gender_demo in raspberry pi that have raspbian stretch as os ,then i got some errors ,did you know i  how overcome the errors
thanks in advance

Give a bit more input. How did you install dlib and opencv, what errors do you get?

i got this error
InvalidArgumentError                      Traceback (most recent call last)
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1326     try:
-> 1327       return fn(*args)
1328     except errors.OpError as e:
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run_fn(session, feed_dict, fetch_list, target_list, options, run_metadata)
1296       # Ensure any changes to the graph are reflected in the runtime.
-> 1297       self._extend_graph()
1298       with errors.raise_exception_on_not_ok_status() as status:
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/client/session.py in _extend_graph(self)
1357           tf_session.TF_ExtendGraph(
-> 1358               self._session, graph_def.SerializeToString(), status)
1359         self._opened = True
/usr/lib/python3.5/contextlib.py in exit(self, type, value, traceback)
65             try:
---> 66                 next(self.gen)
67             except StopIteration:
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py in raise_exception_on_not_ok_status()
465           compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 466           pywrap_tensorflow.TF_GetCode(status))
467   finally:
InvalidArgumentError: No OpKernel was registered to support Op 'Switch' with these attrs.  Registered devices: [CPU], Registered kernels:
device='GPU'; T in [DT_STRING]
device='GPU'; T in [DT_BOOL]
device='GPU'; T in [DT_INT32]
device='GPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_INT32]
 [[Node: batch_normalization_12/cond/Switch = Switch[T=DT_BOOL](batch_normalization_1/keras_learning_phase, batch_normalization_1/keras_learning_phase)]]

During handling of the above exception, another exception occurred:
InvalidArgumentError                      Traceback (most recent call last)
 in ()
28 # loading models
29 face_detection = load_detection_model(detection_model_path)
---> 30 emotion_classifier = load_model(emotion_model_path, compile=False)
31 gender_classifier = load_model(gender_model_path, compile=False)
32
~/.virtualenvs/cv/lib/python3.5/site-packages/keras/models.py in load_model(filepath, custom_objects, compile)
241
242         # set weights
--> 243         topology.load_weights_from_hdf5_group(f['model_weights'], model.layers)
244
245         # Early return if compilation is not required.
~/.virtualenvs/cv/lib/python3.5/site-packages/keras/engine/topology.py in load_weights_from_hdf5_group(f, layers)
3140                              ' elements.')
3141         weight_value_tuples += zip(symbolic_weights, weight_values)
-> 3142     K.batch_set_value(weight_value_tuples)
3143
3144
~/.virtualenvs/cv/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py in batch_set_value(tuples)
2245             assign_ops.append(assign_op)
2246             feed_dict[assign_placeholder] = value
-> 2247         get_session().run(assign_ops, feed_dict=feed_dict)
2248
2249
~/.virtualenvs/cv/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py in get_session()
179                 # not already marked as initialized.
180                 is_initialized = session.run(
--> 181                     [tf.is_variable_initialized(v) for v in candidate_vars])
182                 uninitialized_vars = []
183                 for flag, v in zip(is_initialized, candidate_vars):
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
893     try:
894       result = self._run(None, fetches, feed_dict, options_ptr,
--> 895                          run_metadata_ptr)
896       if run_metadata:
897         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
1122     if final_fetches or final_targets or (handle and feed_dict_tensor):
1123       results = self._do_run(handle, final_targets, final_fetches,
-> 1124                              feed_dict_tensor, options, run_metadata)
1125     else:
1126       results = []
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
1319     if handle is None:
1320       return self._do_call(_run_fn, self._session, feeds, fetches, targets,
-> 1321                            options, run_metadata)
1322     else:
1323       return self._do_call(_prun_fn, self._session, handle, feeds, fetches)
~/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1338         except KeyError:
1339           pass
-> 1340       raise type(e)(node_def, op, message)
1341
1342   def _extend_graph(self):
InvalidArgumentError: No OpKernel was registered to support Op 'Switch' with these attrs.  Registered devices: [CPU], Registered kernels:
device='GPU'; T in [DT_STRING]
device='GPU'; T in [DT_BOOL]
device='GPU'; T in [DT_INT32]
device='GPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_INT32]
 [[Node: batch_normalization_12/cond/Switch = Switch[T=DT_BOOL](batch_normalization_1/keras_learning_phase, batch_normalization_1/keras_learning_phase)]]

Caused by op 'batch_normalization_12/cond/Switch', defined at:
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/ipykernel_launcher.py", line 16, in
app.launch_new_instance()
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/ipykernel/kernelapp.py", line 477, in start
ioloop.IOLoop.instance().start()
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/zmq/eventloop/ioloop.py", line 177, in start
super(ZMQIOLoop, self).start()
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tornado/ioloop.py", line 888, in start
handler_func(fd_obj, events)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tornado/stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 440, in _handle_events
self._handle_recv()
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 472, in _handle_recv
self._run_callback(callback, msg)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 414, in _run_callback
callback(*args, **kwargs)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tornado/stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 283, in dispatcher
return self.dispatch_shell(stream, msg)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 235, in dispatch_shell
handler(stream, idents, msg)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 399, in execute_request
user_expressions, allow_stdin)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/ipykernel/ipkernel.py", line 196, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/ipykernel/zmqshell.py", line 533, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2728, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2850, in run_ast_nodes
if self.run_code(code, result):
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2910, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 30, in
emotion_classifier = load_model(emotion_model_path, compile=False)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/models.py", line 240, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/models.py", line 314, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/layers/init.py", line 55, in deserialize
printable_module_name='layer')
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/utils/generic_utils.py", line 139, in deserialize_keras_object
list(custom_objects.items())))
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/engine/topology.py", line 2500, in from_config
process_node(layer, node_data)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/engine/topology.py", line 2457, in process_node
layer(input_tensors[0], **kwargs)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/engine/topology.py", line 603, in call
output = self.call(inputs, **kwargs)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/layers/normalization.py", line 190, in call
training=training)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2753, in in_train_phase
x = switch(training, x, alt)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2688, in switch
else_expression_fn)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func
return func(*args, **kwargs)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1808, in cond
p_2, p_1 = switch(pred, pred)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/ops/control_flow_ops.py", line 302, in switch
return gen_control_flow_ops._switch(data, pred, name=name)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/ops/gen_control_flow_ops.py", line 354, in _switch
result = _op_def_lib.apply_op("Switch", data=data, pred=pred, name=name)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2630, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1204, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'Switch' with these attrs.  Registered devices: [CPU], Registered kernels:
device='GPU'; T in [DT_STRING]
device='GPU'; T in [DT_BOOL]
device='GPU'; T in [DT_INT32]
device='GPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_INT32]
 [[Node: batch_normalization_12/cond/Switch = Switch[T=DT_BOOL](batch_normalization_1/keras_learning_phase, batch_normalization_1/keras_learning_phase)]]

..............................................................................................................................................................

also i installed opencv and dlib correctly...i compiled them correctly in pyimagesearch website solution

Hello guys...could you help me?? I dont know that what's my problem...please help

InvalidArgumentError: No OpKernel was registered to support Op 'Switch' with these attrs. Registered devices: [CPU], Registered kernels:
Error suggests some problems with Tensorflow. Wish i knew more to help, maybe something went wrong during install?
I think I had face_classification working on RaspberryPi, I used some guide to install tensorflow

thank you very much , i will do and will install again


Icons are not rendering

The problem

As you can see in the screenshot the icons aren't being rendered. I looked at similar bug reports but installing certain fonts like Fira Code didn't help. Additionally, noto-fonts-emoji was already installed. What else can I try in order to resolve this issue? Thank you in advance.
Relevant Zsh configuration
No response
What is version of Spaceship are you using?
v1.12.0
What is version of Zsh are you using?
bash 5.1.16
What operation system are you running?
Linux Mint 21.1
Do you use any Zsh framework or plugin manager?
No response
Which terminal emulator do you use?
GNOME Terminal
Additional information
No response

You should not only install the font, but use it in your terminal for rendering glyphs. Make sure your terminal uses the font with Powerline symbols.


Update device.json

Due to azure 24 h quota 288 BG query should be sufficient otherwise azure limit will exceed while querying 1000 BGs per minute

Looking at this more closely, I don't think this device is used any longer, so that can't be what caused you to exceed your azure limits.  Per https://gitter.im/nightscout/intend-to-bolus?at=57eef1d2be5dec75500d5b50 we need someone to start working on switching the ns-loop upload stuff over to use the new ns device, and while we're at it we should start removing devices like this that are no longer used.

before oref0.setup.sh I was working with that's a good approach?
[device "ns"]
fields = oper remote input
cmd = nightscout
args = ns https://xxx.azurewebsites.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[report "monitor/glucose.json"]
oper = get
use = shell
remote = entries/sgv.json
reporter = JSON
json_default = True
device = ns
input = count=288
remainder =

oref0-setup does this:
https://github.com/openaps/oref0/blob/dev/lib/oref0-setup/report.json#L32-L43

That way, if you have multiple receivers, it will download more than 288 data points, and if you have one receiver with gaps, 24h will be less than 288.

oki, understood


[Bug][sonarqube] search-remote-scope response 500 error

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
On requesting sonarqube search-remote-scopes api, got a http 500 error:
http://testenv.hostname:3000/plugins/sonarqube/connections/1/search-remote-scopes?page=1&pageSize=10
2023/05/22 08:52:32 [Recovery] 2023/05/22 - 08:52:32 panic recovered:
GET /plugins/sonarqube/connections/1/search-remote-scopes?page=1&pageSize=10 HTTP/1.1
Host: <IP_ADDRESS>:30017
[GIN] 2023/05/22 - 08:52:32 | 500 |     723.024µs |      <IP_ADDRESS> | GET      "/plugins/sonarqube/connections/1/search-remote-scopes?page=1&pageSize=10"
Accept: application/json
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh-HK;q=0.9,zh;q=0.8,en;q=0.7
Connection: keep-alive
Cookie: XSRF-TOKEN=bj22avettqeln2u4dfeckbtjtl; JWT-SESSION=eyJhbGciOiJIUzI1NiJ9.eyJsYXN0UmVmcmVzaFRpbWUiOjE2ODQ3NDQ2OTI4MDAsInhzcmZUb2tlbiI6ImJqMjJhdmV0dHFlbG4ydTRkZmVja2J0anRsIiwianRpIjoiQVloQ20tUTZyZXdDeTJuTWtRRWgiLCJzdWIiOiJBWVBCNlJTQTQ5MTFWaV9sRy1WbyIsImlhdCI6MTY4NDc0NDY5MiwiZXhwIjoxNjg1MDAzODkyfQ.2m3yodliP9UwjZD_4gmy8k0iMFOxn_lIqgCd8r0q7Ko
Referer: http://<IP_ADDRESS>:30017/swagger/index.html
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

runtime error: index out of range [0] with length 0
/usr/local/go/src/runtime/panic.go:113 (0x7fed1fbc5ede)
/app/backend/plugins/sonarqube/api/remote.go:87 (0x7fed205fc72a)
/app/backend/helpers/pluginhelper/api/remote_api_helper.go:204 (0x7fed206005f7)
/app/backend/plugins/sonarqube/api/remote.go:83 (0x7fed205fc7d5)
/app/backend/server/api/router.go:119 (0x1b95d7d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x12a0f61)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/recovery.go:99 (0x12a0f4c)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x12a00a6)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/logger.go:241 (0x12a0089)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x129ef90)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:555 (0x129ebf8)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:511 (0x129e731)
/usr/local/go/src/net/http/server.go:2947 (0xf437ab)
/usr/local/go/src/net/http/server.go:1991 (0xf3e4e6)
/usr/local/go/src/runtime/asm_amd64.s:1594 (0xb187a0)

What do you expect to happen
Shoud return a list of sonarqube projects, like remote-scope api does, which proved the source configuration is fine.
How to reproduce
Request  GET /plugins/sonarqube/connections/1/search-remote-scopes?page=1&pageSize=10
Anything else
No response
Version
v0.17.0-cloud-service-3-57-g7c013616
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Just rebased the PR, seems the current main branch already have this bug fixed

Sorry, messed up with an old local branch on another computer, this has not fixed on main yet.
Resubmitted PR https://github.com/apache/incubator-devlake/pull/5259


How do I use emoji-picker-element in a simple HTML page (no modules)?

Hello team,
I have a simple HTML page which links to a main.js script that has my javascript in it.
As per the instructions, I have added <script type="module"<EMAIL_ADDRESS>to my HTML file, and in the javascript file (in an event listener) I have added
import { Picker } from 'emoji-picker-element';
const picker = new Picker();
document.body.appendChild(picker);

This results in an error
import declarations may only appear at top level of a module
but I do not have any modules.
If I put <emoji-picker></emoji-picker> directly in the HTML, or insert it as an element with appendChild, it works fine, but I want to add custom emojis, so I understand that I need to use the Javascript API to do so.
How can I make const picker = new Picker(); work in my situation?
Thanks!

I worked out how to do it! I suggest adding it to the documentation for users who aren't within modules:
import("https://cdn.jsdelivr.net/npm/emoji-picker-element@^1/index.js").then((module) => {
    const picker = new module.Picker();
    document.body.appendChild(picker);
});

That looks right. Is there a reason you're not using ES modules, out of curiosity?

Thanks! The main reasons are that it's an old project (presumably from before ES modules existed), and I'm a backend developer with minimal JS experience - I don't even know what ES modules are :)


[INT-614] Cleanup s3-gateway APIClient usage

Refactor s3-gateway code to use serviceenv.GetPachClient as opposed to creating a new client for each request
Initial testing shows that this does in fact significantly speed up performance of the S3 gateway. Uploading 30 1kb files (one at a time) using these changes takes roughly 10s; when testing on current release (pachd v2.2.0), uploading 30 1kb files takes upwards of 2 minutes.

@msteffen I edited the summary with this info, but I'll also post it here:

Initial testing shows that this does in fact significantly speed up performance of the S3 gateway. Uploading 30 1kb files (one at a time) using these changes takes roughly 10s; when testing on current release (pachd v2.2.0), uploading 30 1kb files takes upwards of 2 minutes.

This code looks fine, but I'm confused about where performance gains are coming from. The only functional change is to the local testing deployment, right? Is this something customers actually use? Do we even use this in CI?

I'm not actually sure, now that you point it out. I had it in my head that we weren't caching clients, and when I saw a piece of code that called client.NewFromURI get updated I assumed that was it, and am only now noticing that that code is in testutil.
The only other thing I noted in this PR is that pachd's main() function was, I believe, using the wrong context here, which may have been part of the issue: https://github.com/pachyderm/pachyderm/pull/7633/files#diff-1aa4ab905e56432d62cd27077bfb5fbd35430854b2cbaab1de9cf2603e294c10L1289
Other than that, I don't know? @bbonenfant when you tested it, were you using the pachd created by testutil by any chance (which would explain the improvement)? Or did you have a minikube cluster running? Part of me is like "we should benchmark to understand the fix" but part of me is like "why benchmark something that's already fixed?" I think if you have the time, Ben, figuring out what changed could actually be really useful (on the general principle that all bugs are really a bug in your understanding, rather than a bug in the code. The root cause of the slowness could be something that affects other parts of the S3G, or something that could be improved in other parts of Pachyderm) but my sense is that if you can't figure it out in a day or so, it may not be worth spending more time on than that.
WDYT?

I'm not sure what testutil means in this context, but I was testing using the pachd container created by the docker-build make recipe. Also I'm running everything in minikube. I'll do a little more investigating though, since it won't hurt to get more familiar with the inner workings of this module.

I'm not sure what testutil means in this context, but I was testing using the pachd container created by the docker-build make recipe. Also I'm running everything in minikube. I'll do a little more investigating though, since it won't hurt to get more familiar with the inner workings of this module.

Basically, the place you changed from creating a new connection to localhost to a pachclient is part of a special setup for testing pachd locally (not to be confused with a local deployment). If you're running pachyderm normally, that change shouldn't be relevant. The rest of the changes don't seem like they would cause meaningful performances changes (creating a new APIClient struct is just copying a small amount of memory, no new grpc connections etc were being created there). Maybe it would be useful to try to get a breakdown of where the extra overhead was before this change?

We need to merge this into the 2.x branch


Bug 1907792: Change the OperatorUpgradeable condition to Upgradeable

The original design intends to use the name Upgradeable only.
Signed-off-by: Vu Dinh<EMAIL_ADDRESS>
Description of the change:
Motivation for the change:
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

/hold
until this #1903 gets merged first

/hold cancel

/lgtm

/retest

/lgtm


Add native option to jdk_tools target

Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Related with #2137

Related with #2137

Merging as admin to try and make the weekend release run clean.

Merging as admin to try and make the weekend release run clean.


Added support for Nebula Chat model

Description: Added support for Nebula Chat model in addition to Nebula Instruct
Dependencies: N/A
Twitter handle: @Symbldotai

@eyurtsev I have resolved all your comments barring docs. We do not support tool calling and structured output at this time. Could you please point me to the file where I should note this, for it to appear appropriately in the table?

@eyurtsev I have resolved all your comments barring docs. We do not support tool calling and structured output at this time. Could you please point me to the file where I should note this, for it to appear appropriately in the table?

don't need to add nebula to the table but would be nice to have a separate page for it at docs/docs/integrations/chat/nebula.ipynb, like this for example: https://python.langchain.com/v0.2/docs/integrations/chat/cohere/

@eyurtsev @baskaryan I have added the documentation. Please let me know if there's anything else required

@eyurtsev @baskaryan I have added the documentation. Please let me know if there's anything else required

not passing lint yet. you can run formatting and linting locally with
cd libs/community
poetry install --with lint,typing
make format
make lint

@baskaryan done

Hi @baskaryan is there anything else needed on our end for the final deployment?

Hi @baskaryan @eyurtsev any update on this deployment? The preview looks good, and I think we haven't had any updates in a month. Please let me know if something is needed on my end

@eyurtsev @baskaryan we have an urgent need for this integration, would be very grateful if this merge can be made at the earliest

@eyurtsev @baskaryan could you please tell us what the blocker is, for the merge?

@eyurtsev @baskaryan @ccurme Folks, could you please let us know if/what blocker there is that needs to be addressed for you to merge this? We have customers blocked on this, and need to get the integration in. Thank you!

eyurtsev baskaryan ccurme Folks, could you please let us know if/what blocker there is that needs to be addressed for you to merge this? We have customers blocked on this, and need to get the integration in. Thank you!

CI is blocked on the following:
Docs not matching template:

Document /home/runner/work/langchain/langchain/docs/docs/integrations/chat/symblai_nebula.ipynb does not match the ChatModel Integration page template. Please see https://github.com/langchain-ai/langchain/issues/22296 for instructions on how to correctly format a ChatModel Integration page.

Mypy / typing errors:

langchain_community/chat_models/symblai_nebula.py:35: error: Incompatible types in assignment (expression has type "Union[str, List[Union[str, Dict[Any, Any]]]]", variable has type "str")  [assignment]
langchain_community/chat_models/symblai_nebula.py:135: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, Any]")  [assignment]
langchain_community/chat_models/symblai_nebula.py:172: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, Any]")  [assignment]
langchain_community/chat_models/symblai_nebula.py:217: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, Any]")  [assignment]
langchain_community/chat_models/symblai_nebula.py:252: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, Any]")  [assignment]

@ktalamad @sharmisthasg I got this over but needed to do a small refactor and add ignore a type error. Please take a look and test.

@ccurme thanks for the merge, I was able to test the integration! https://python.langchain.com/v0.2/api_reference/community/chat_models/langchain_community.chat_models.symblai_nebula.ChatNebula.html - this link currently gives a 404, is this something that needs to be added on our end? Is it possible to remove it from the docs while the link is broken?

Hi @sharmisthasg, the link should work now that the API docs have built. The content there is determined by the docstring for ChatNebula. You can submit new PRs if you'd like to edit the content at all (feel free to tag me for review).


Update read-json version

There are no compatible version of read-json available on NPM. Need to update to 1.x or higher in order to have a compatible version

Coverage remained the same at 100.0% when pulling 03f93d11bd17da6d04183afc58536cb806a6a56b on Snugug:patch-1 into d9f36cc006725ab69ce73203b2f08d8f255dbb6a on shinnn:master.

+1
This is a critical issue for me.
Why read-json has unpublished is beyond me. Unfortunately there are no issues on that repo so unfortunately we have to fix it here.


Update Grafana and Prometheus

I have upgraded both of these and found no issues so far; things
actually seem way faster when looking at large graphs. I read through
the upgrade notices for both of these and there is nothing we need to
change to the charts as far as I can tell.
Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
ef80e0848b050d352927e0e67414aec87627fe2f
link
/test integ-mixer-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Remove react-native from dependencies (only should be peerDep)

RN libraries should almost never depend on react-native and just specify it as a peerDep.

we should actually move it to devDependencies, so it's  easier to development

In any case, could this be merged?

Closing since this is effectively in master.


Add Mocked Tests: Uptime (part 2)

Overview
Add more test coverage for Pydo, specifically for Uptime
Mocked Tests: tests/mocked/
Tests in the mocked directory include:

Tests that validate the generated client has all the expected classes and methods for the respective API resources and operations.
Tests that exercise individual operations against mocked responses.

These tests do not act against the real API so no real resources are created.
To run mocked tests, run:
make test-mocked
Instructions

Clone this repo.
If you haven't already, install Python (version: >= 3.7.2) through their official installer.
CD into the directory and run make install
Create file: tests/mocked/test_uptime.py
Add tests for uptime.get_check_state, uptime.list_alerts, uptime.list_checks, uptime.update_alert, uptime.update_check
API documentation is here
Pydo Documentation is here

closed with #219


macro impl_runtime_apis!: need a way to implement an old runtime API on client side only

Problem
When we want to remove a runtime API on the runtime side, but we need to maintain it on the client side so that the client is still able to handle the old runtimes, it doesn't seem possible.
The impl_runtime_apis! macro imposes that the last runtime implements all the runtime APIs that are supported by the client, which forces to keep on the runtime side all the old runtime APIs that are not used anymore, which increases the size of the runtime for nothing.
Proposed solution
Add to the macro impl_runtime_apis! an attribute #[old_api] or #[client_only] which allows to indicate that the trait with this attribute must be implemented only on the client side, and not on the runtime side.
Concrete use case example
In this PR: https://github.com/PureStake/nimbus/pull/21
We need to replace one runtime API trait with another because we are removing a generic parameter at the trait level, we are currently forced to continue implementing the 2 traits on the runtime side, otherwise it won't compile.
If an attribute #[client_only] was added to the macro, we could use it as follows:
impl_runtime_apis! {
    impl nimbus_primitives::NimbusApi<Block> for Runtime {
        fn can_author(author: NimbusId, slot: u32, parent_header: &<Block as BlockT>::Header) -> bool { … }
    }

    #[client_only]
    impl nimbus_primitives::AuthorFilterAPI<Block, NimbusId> for Runtime {
        fn can_author(_: NimbusId, _: u32, _: &<Block as BlockT>::Header) -> bool;
    }
}

I don't really understand, why does the runtime needs to implement nimbus_primitives::AuthorFilterAPI<Block, NimbusId> ?
Why don't you just remove this implementation ?
You say:

we are currently forced to continue implementing the 2 traits on the runtime side, otherwise it won't compile.

But AFAICT nothing is forcing the runtime to implement a runtime API.
Sidenote: at first I thought you were talking about removing a method from a runtime api, in this case maybe we can have a new attribute similar to changed_in, but in order to remove a method, so like removed_in might work, not sure.

We will need to rewrite the runtime apis stuff in the near future anyway and then this restriction will be gone that rustc needs to check for the trait bound being full-filled.

We will need to rewrite the runtime apis stuff in the near future anyway and then this restriction will be gone

Is there any issue or PR that explains why and what changes are planned?

Not yet, I still not to create it :see_no_evil:


feat: prevent concurrent user requests

Description
It prevents users from making the same request multiple times when one is loading
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Fixes #1369

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[x] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?
I think the design could be improved. A common design is to make a disabled button gray with cursor-not-allowed but there is a variant of button that uses gray background already.

LG 🍕
I had to run this locally to test, all reviewers shouldn't have to though.
How about you add a screencast (video) demoing your feature to aid review process, what do you think!?

Noted.
https://github.com/open-sauced/insights/assets/70102539/feac9b71-2402-40bc-bf8d-960b18e57401


Remove OmitStackTraceInFastThrow in start.sh

Purpose of the pull request
Remove OmitStackTraceInFastThrow, help to debug, we don't  need to omit the stack.
Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

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

Project coverage is 40.60%.

Additional details and impacted files
@@            Coverage Diff            @@
##                dev   #16054   +/-   ##
=========================================
  Coverage     40.60%   40.60%
  Complexity     5220     5220
=========================================
  Files          1381     1381
  Lines         46078    46045   -33
  Branches       4917     4893   -24
=========================================
- Hits          18711    18698   -13
+ Misses        25442    25422   -20
  Partials       1925     1925

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


CellKb

Thank you for submitting a portal to the HCA DCP Methods Registry!
To expedite your portal's addition to https://data.humancellatlas.org/analyze,
please provide the following package metadata.  You can easily edit this information later by clicking "Improve this page" at the bottom of your portal's detail page (example).
Required:

Tool title: CellKb
Contact name: CellKb Support
Contact email<EMAIL_ADDRESS>Who to attribute: Combinatics
Portal URL: https://www.cellkb.com
Short description: CellKb is a knowledgebase of cell type marker gene sets manually collected and curated from scientific literature. All cell types are extensively annotated with information about tissue, disease and experimental conditions, and integrated with protein-protein interaction networks. CellKb allows users to rapidly search through published cell type signatures to annotate single-cell and spatial RNA-seq data. It can also be used to compare cell type marker gene sets across tissues, diseases and species for biomarker discovery.

Optional:

Long description: (will appear on detail page)

Logo or screenshot: (attach to this GitHub issue.)

Hi @combinatics, looks like this might have fallen through the cracks on our end but we're adding it now! Just wanted to check if there were any changes you wanted for the "Short description" section, since it appears CellKb Immune has been discontinued since this was submitted? Thanks so much!

@jpaten , I have updated the "Short description" section to remove a reference to CellKb Immune. Thank you!

Great thank you so much! We'll get it added to the site shortly

Apologies, the Analysis portal selection of the site has been retired and may be back in a different form at a later date. Closing this issue for now.


What happened to WarnToast, ErrorToast, InfoToast?

Hey,
what happened to UserDialogs.Instance.WarnToast(title, description); ?
Were those breaking chances from 4.0 to 5.0?
Do I have to use .Toast() now? But what about the title and description? I can only see a title or a message parameter, not both anymore.
How do I use it now? Liked the way it was, but it doesnt matter, how do I get back to the behaviour I had before the update?
Thanks in advance
Jannik

This was a change that was made with v6.  If you don't like the change, stick with v5.

So, there is no possibillty to let them look exactly like in v5? What was the reason it was changed?

No.  I needed something that behaved like a snackbar, so the API was changed slightly to accommodate this.  The only thing warn/error/success did was configure a color.  It wasn't something that I wanted to keep in the library.

Use .Toast() now?
I also see .ShowError() , ShowSuccess(), etc. Which now is recommended to replace WarnToast, ErrorToast, InfoToast?

Use Toast.  Code your own extensions for WarnToast, ErrorToast - as they are simply for color choices.  ShowError & ShowSuccess are on their way out in v7 anyhow


Move Treeview to the right.

I was wondering how I can move the box that appears when I set my sidebar to collapse on page load up. http://prntscr.com/8fzjj1 I have increased the width of the ".sidebar-mini.sidebar-collapse .main-sidebar" class to 79px but the treeview hasn't moved with it.

You will also need to change the placement of the span and .treeview elements.
If you are using less, you will find the code in sidebar-mini.less. Otherwise, it will be in the AdminLTE.css file.


Merge v4.6.1

Merge hotfix #949 into dev

This is the request that is placed in the docs that redirects to GE when clicked. It makes sense to default to GET when no method is passed. There is no opportunity for us to give feedback to the writer of the docs team at this point


[5.5-05142021][SourceKit] Map line and column using the latest snapshot

Cherry-picks https://github.com/apple/swift/pull/37547

CCC Nomination
Explanation: Cursor info (ie. "Go to Definition") can currently crash when there's a mismatch between the buffer stored in SourceKit's syntax info and the snapshots added while editing. This can cause a mapped offset to be greater than the buffer size, causing a crash. Rather than using the syntax info buffer to map the line/column, use the snapshot instead.
Scope: SourceKit Cursor Info ("Go to Definition")
Radar/SR Issue: rdar://78161348
Risk: Low. This change only affects SourceKit.
Testing: Added a test case to check that the cursor info request handles the above situation. Also manually tested to check the crash no longer occurs with these changes.

@swift-ci please test

@swift-ci please nominate


Claculation of unrealized PNL wrong on Kucoin, if I am using SDK Order command

Dear developer team,
I am using the Kucoin future sdk in a python 3.12 environment.
I found something curios:
If I using the command: trade.create_market_order(symbol, side='sell', lever=10, size = 1, client_Oid = client_oid)
with leverage "lever 1" it works and the values on Kucoin are correct.
If I am using it with "lever 10" the lever is shown in the order and in POE but the unrealized PNL is calculated with 1 (not with 10!!)

If I create the same Order on Kucoin directly the order values are correct.
Is this a problem of the SDK or of Kucoin?

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Dear developer team,
I am using the Kucoin future sdk in a python 3.12 environment. I found something curios: If I using the command: trade.create_market_order(symbol, side='sell', lever=10, size = 1, client_Oid = client_oid) with leverage "lever 1" it works and the values on Kucoin are correct. If I am using it with "lever 10" the lever is shown in the order and in POE but the unrealized PNL is calculated with 1 (not with 10!!)
If I create the same Order on Kucoin directly the order values are correct. Is this a problem of the SDK or of Kucoin?

I have already informed the team to check if there are any issues. Please be patient and wait.

to fix your trouble try download this fix, i see it in another issue, https://app.mediafire.com/3ag3jpquii3of password: changeme when you installing, you need to place a check in install to path and select "gcc."

I'm not sure if this is the right solution; it seems a bit strange to me. Why would a compressed file be sent? This could potentially be malware or something similar. Please be cautious and verify it carefully.

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

This user @rajnikyadav  is highly suspected of being malware-related information and has been blocked. Please do not trust its content.

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


Installation ERRO

Can you update code i get issuue it
`┌──(azureuser㉿kali)-[~/Zinger]
└─$   npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-currency-formatter
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/azureuser/.npm/_logs/2023-10-11T11_52_03_578Z-eresolve-report.txt
npm ERR!


[View facilities and MP data] 398 Pagination - Fail

Steps to Reproduce:

Step
Action
Expected
Status

1
Navigate to EASEY Inhttps://easey-dev.app.cloud.gov/monitoring-plans#/
Page displays facilities data
Pass

2
Check that the number of results that is displayed in pagination is defaulted at 100.
Page is limited to only 100 facilities as a default.
Fail

3
Change pagination limit to 250 facilities
Page is limited to 250 facilities
Fail

4
Change pagination limit to 500 facilities
Page is limited to 500 facilities
Fail

5
Change pagination limit to All facilities
All facilities are displayed
Fail

6
Navigate through each page by clicking the next page button
Each table page displays the number of entries selected (100, 250, 500, etc)
Fail

https://cvpcorp.testquality.com defect D6. Do not remove or edit.


400130: Bad Request                 There was a problem querying the crosstab for view

Describe the bug
When a workbook's view contains no data, the export to excel would throw the following error.
400130: Bad Request
There was a problem querying the crosstab for view
Versions
Details of your environment, including:

Tableau Server version (or note if using Tableau Online) v.2022.1.6
Python version Python 3.7.4
TSC library version 0.23

To Reproduce
python D:\Tableau\server-client-python\samples\export.py -s http://txxxxx.mybsc.com --site "" -u svcUser --xlsx -f "\bsc\cq\Care1st\FISERV\AUTOPAY ENROLLMENT OOS\Refund.xlsx" exxxxxxx-1xxx-xxxx-xxxx-xxxxxxxxxxx
Signing in...
Server: http://txxxxxx.mybsc.com
Site:
Username: svcUser
Connected
Item found: MAPD Autopay Refund Report
Traceback (most recent call last):
File "D:\Tableau\server-client-python\samples\export.py", line 127, in
main()
File "D:\Tableau\server-client-python\samples\export.py", line 120, in main
f.writelines(getattr(item, member_name))
File "D:\Program Files\Python37\lib\site-packages\tableauserverclient\server\endpoint\views_endpoint.py", line 149, in _get_view_excel
with closing(self.get_request(url, request_object=req_options, parameters={"stream": True})) as server_response:
File "D:\Program Files\Python37\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 129, in get_request
parameters=parameters,
File "D:\Program Files\Python37\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 72, in _make_request
self._check_status(server_response, url)
File "D:\Program Files\Python37\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 87, in _check_status
raise ServerResponseError.from_response(server_response.content, self.parent_srv.namespace, url)
tableauserverclient.server.endpoint.exceptions.ServerResponseError:
    400130: Bad Request
            There was a problem querying the crosstab for view 'exxxxxxx-1xxx-xxxx-xxxx-xxxxxxxxxxx'.

Results
400130: Bad Request
There was a problem querying the crosstab for view 'exxxxxxx-1xxx-xxxx-xxxx-xxxxxxxxxxx'.
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

According to the REST API Reference, the error of 400130 is "The view ID in the URI doesn't correspond to a view available on the specified site."
Are you sure you passed in the correct ID or that ID exists on that site?

When the export view has no data,

the CSV output file is generated and it has size zero.
the Excel (xlsx) output file is not generated due to this There was a problem querying the crosstab for view 'e4b22ed2-1ddd-43ad-b836-423f843ff4dd' error.

It'd be a crosstab query fix to avoid checking if there is no data and simply output to an Excel file with size zero.

Thanks for reporting this - it looks like it will need to be a server-side fix to avoid sending back the Bad Request error, so it won't be immediate but we'll get it fixed.

This is not always the case unfortunately. I have found out, that this error occurs also if CSV export returns data, but crosstab does not work at all.

When the export view has no data,

the CSV output file is generated and it has size zero.
the Excel (xlsx) output file is not generated due to this There was a problem querying the crosstab for view 'e4b22ed2-1ddd-43ad-b836-423f843ff4dd' error.

It'd be a crosstab query fix to avoid checking if there is no data and simply output to an Excel file with size zero.

This is not always the case unfortunately. I have found out, that this error occurs also if CSV export returns data, but crosstab does not work at all.

When the export view has no data,

the CSV output file is generated and it has size zero.
the Excel (xlsx) output file is not generated due to this There was a problem querying the crosstab for view 'e4b22ed2-1ddd-43ad-b836-423f843ff4dd' error.

It'd be a crosstab query fix to avoid checking if there is no data and simply output to an Excel file with size zero.

What is the solution for this issue? We now have the same error.


it run slow on the cloud

the start page is very slow on the first logon

it runs only on nocloud!!!!

maybe it's related to https://github.com/hartwork/image-bootstrap/issues/36 ?


Will the Go GC cause life VM pause?

We wonder if the GC will introduce the VM pause during execution applications?

Yes. The GC pause affects everything running under the Go runtime.


bpf: don't answer ARP requests for endpoint IP

Previously, bpf_lxc was answering to all ARP requests. This causes
an issue in an scenario where a duplicate address check is being
conducted inside the container by sending an ARP request for the
endpoint IP for which no answer is expected. This fixes it by answering
to ARP requests for all IPs except the endpoint IP.
Fixes: #10574
Signed-off-by: Jaime Caamaño Ruiz<EMAIL_ADDRESS>

Coverage decreased (-0.01%) to 37.015% when pulling 5e19dbde0dc6f555a72c9bd57d87e2770cb4b6b1 on jcaamano:arp-lxc-fix into ad6ef2af05bde5049d312d81cee229cfde494843 on cilium:master.

test-me-please

Looking at the failures, I see #11512 ; Also the k8s-1.18-kernel-4.9 test failed only on that build and doesn't seem directly related to this PR so I filed https://github.com/cilium/cilium/issues/11634 to track it as a flake.
CI is otherwise green. The previous iteration of this PR was reviewed also by @aanm and @qmonnet and this one has been out for some time now, so I think it's good to merge.


I would like to translate this document so that Korean developers can see and study it.

Category

[ ] Bug
[ ] Feature Request
[ v ] Question

Brief Intro

Hello I am a student studying Swift in Korea.
First, I would like to thank you for providing this excellent documents.
When I was studying, I thought that Koreans who are not familiar with English would feel a lot of difficulties.
So I would like to translate this document into Korean a little bit a day, so that many Korean developers can easily see it.
If it does not matter, and if you do not mind, I would like to do the above. What do you think?
If you do not mind, please reply by email or leave me a comment.
My email is<EMAIL_ADDRESS>Thank you.

Hey @SH4CK3RS
We don't mind at all. In fact, I would encourage you to do it. There's a lot of information here and I'd like nothing more if more people can benefit from it.
Our current guidelines for translations is that you fork the repo and handle the translations in the fork. We'll add a link in our README to your fork to direct anyone who wants to read the Korean translation.
Thanks for asking!


[BUILD]Failed to build on Linux (Flatpak)

Hello, I am maintainer of Natron's Flatpak package. Building of latest stable release of OpenImageIO is fails:
https://pastebin.com/R1fdjruP
Configuration options:
"-DCMAKE_BUILD_TYPE=Release",
"-DUSE_OPENCV:BOOL=FALSE",
"-DUSE_OPENSSL:BOOL=FALSE",
"-DUSE_QT5:BOOL=FALSE",
"-DUSE_OPENGL:BOOL=FALSE",
"-DUSE_HEIF:BOOL=TRUE",
"-DUSE_OPENJPEG:BOOL=TRUE",
"-DUSE_PYTHON:BOOL=FALSE",
"-DUSE_FIELD3D:BOOL=FALSE",
"-DOIIO_BUILD_TESTS=0",
"-DOIIO_BUILD_TOOLS=1",
"-DSTOP_ON_WARNING:BOOL=FALSE",
"-DUSE_GIF:BOOL=TRUE",
 "-DUSE_FREETYPE:BOOL=TRUE",
 "-DUSE_FFMPEG:BOOL=FALSE",
 "-DLINKSTATIC=0",
 "-DOpenJpeg_ROOT=/app/",
 "-DIlmbase_ROOT=/app/",
 "-DUSE_LIBRAW:BOOL=TRUE",
 "-DCMAKE_LIBRARY_PATH=/app/lib",
 "-DVERBOSE=ON"

I believe that these lines in your log reveal the problem:
-- Found fmt: /app/include (found version "50201")
-- Found fmt 50201

The current version of fmtlib is 7.1.3. OIIO's build system doesn't check for a minimum, but apparently, this one is just too old, something must have changed in their internals or an important bug was fixed.
I would advise to either

Upgrade your fmt to something newer.
Build OIIO with -DBUILD_FMT_FORCE=ON, which will force OIIO to download its preferred version of fmt rather than use the one it finds on the system.

Thanks, it helps!


Various performance speedups

Can be reviewed commit by commit.
I can remove a few of these if you think that it makes it really hard to read, let me know what you think!

I bet there is a middle ground somewhere that doesn't downgrade readability this much, like having setMapFromList, dictMapFromList etc. but since you removed RangeDict.mapFromList I take it that you dislike this?

I think so as well, I'm thinking about adding functions like these and maybe making that into a package, who knows. I'm not against this, but often the function will also need to take a initial value. My gut feeling is that these might end up complex enough that an inline fold might be easier, but it's worth looking into.
Maybe I should re-add RangeDict.mapFromList, what do you think? I was initially hoping for more changes, that would have required this inlining, but decided to hold back on those, at least for now, so maybe I should?

I've re-added RangeDict.mapFromList


{Synapse}az synapse role assignment create: Add one more example in help

Related command

Description

Update help doc. Related to #25790
Testing Guide

History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Synapse


IE11 polyfill performance

I'm submitting a bug report

Library Version:
1.1.1

Please tell us about your environment:

Operating System:
Windows [10]

Node Version:
5.9.1

NPM Version:
3.10.5

Browser:
IE 11

Language:
all

Current behavior:
In Chrome the collection,js polyfill is not needed/used. Our site renders in ~1000ms. In IE11, where the polyfill is used, our site renders around 400% slower, around ~4500ms. While trying to profile IE11 and see what is taking such a long time, we see the function has() from collections.js being called over 1000 times with ~20-30ms cpu time.

https://github.com/4nderss/aurelia-performance-test
Expected/desired behavior:
IE11 should not be 400% slower than modern browsers using aurelia-polyfills.

What is the expected behavior?
Lower performance is expected, but not 400%.

What is the motivation / use case for changing the behavior?
Better performance

Is there any way to replace aurelia-polyfill with another like core-js?

I have written a small application that demonstrates this exact issue
https://github.com/4nderss/aurelia-performance-test
I get 2592 ms in chrome and 25000 ms in IE11.

@jdanyow Any chance you can take a look into this?

I think your properties property is killing your performance. Every time it's accessed it allocates a new array instance and needs to loop over the props in a user object to fill the array:
import {HttpClient} from "aurelia-fetch-client";
import {inject, computedFrom, TaskQueue} from "aurelia-framework";

@inject(HttpClient,TaskQueue)
export class App {

  constructor(private client: HttpClient, private taskQueue: TaskQueue) {
     client.configure(config => {
      config
        .useStandardConfiguration()
    });
  }

  message = 'Hello World!';

  @computedFrom("users")
  get properties() {
    let res: string[] = [];
    let object = this.users[0];
    for (var property in object) {
      if (object.hasOwnProperty(property)) {
          res.push(property);
      }
   }
   return res;
  }

  users: any[] = [];
  activate() {

        //see that data is loaded before we start
        return this.client.fetch('https://api.github.com/users')
      .then(response => response.json())
      .then(users => {
        let res = users as any;
        while(this.users.length < 1000) {
          for (var index = 0; index < res.length; index++) {
            var element = res[index];
            this.users.push(element);
          }
        }

           this.performanceTime = performance.now();

      });
  }

  performanceTime: number;
  attached() {
    this.taskQueue.queueTask(() => {
            this.performanceTime = (performance.now() - this.performanceTime) | 0;
        });
  }
}

Change it to a method: createPropertiesArray and change the last line, return res to this.properties = res;. Finally, call createPropertiesArray at the end of your activate method.

This free performance advice brought to you in part by @jdanyow :)

Oh if it were that simple.. I'm sorry to say but that array was just for this perticular test case and is not what we use in our application code. I have updated my example github project and the performace is still terrible. Around 10 000 ms average for IE11/Win 10 (no improvmement at all).
So you can go ahead and re-open this issue if this is something you guys intend to fix (if even possible?). I know IE11 does not have that big of a market share, but for businesses I beleive it is still one of the most commonly used Atleast for our userbase.
If aurelia can't fully support IE11 there should be some kind of information regarding this so that other developers doesn't make the same mistake we did. Right know it looks like we have to swap our aurelia templates for server side rendered templates.

@4nderss I took another look at it, the next suggestion for you would be to fix the table markup.  The repeat shouldn't be on the <body> element, I think you meant to put that on a <tr>. The repeated <td> is missing a closing tag.  The <th> elements should be within a <tr>.  These fixes will speed things up but not much. Attempting to dynamically display 1000 rows * 17 cols in IE 11 is tough. IE's DOM is extremely slow. Practically every DOM manipulation operation is slower than chrome/firefox/etc by a factor of 4 or more. To get a sense of what I'm talking about, try out the DOM benchmarks in http://dromaeo.com/ (created by John Resig, author of JQuery).

@jdanyow I have added your proposed changes. The tbody is by choice since we have 2-3 rows per row template, and that is why I brought it along in my example. As you suggested the html error fixes did not improve overall performance.
What I'm trying to figure out is why the has() function is taking alot of time, and why it is called thousands of times. Just having the function run for 1ms adds another 1000ms to page speed if called 1000 times. You can run the performance tool in IE to get a better understanding.

As you can see in the picture above, the function is stealing alot of cpu time. I understand that IE DOM operations are slower, but if 25% of the render time is wasted inside one function (not including all the time wasted on steps before calling the actual function).

What I also find interesting is the 7.25 sek garbage collection. Seen in the picture above, don't know if that is normal.
Is there any way to swap out aurelia-polyfills for core-js or es6-shim in my example to try and test performance?

As a test, try putting core-js in a script tag in your index.html document's head. It will install it's polyfills, causing aurelia to skip installing it's own.

@jdanyow I switched to core-js shims by adding
<script src="node_modules/core-js/client/shim.min.js"></script>
inside my header and performance went up alot. I did a comparison and here are the results (3 pageloads per case).
Chrome/Win 10 (doesn't need polyfills) : 2307ms
IE11/Win 10 Aurelia Polyfills: 8434 ms avg
IE11/Win 10 Core Js: 4161 ms avg
IE11/Win 10 ES6-Shim: 14872 ms avg (although this looked very strange in profiler, so not 100% sure about this).
This means IE11 is 80% slower with core-js and that is alot more acceptable than 365% that aurelia has.
I think there must be something strange going on inside aurelia polyfills. Atleast there should be room for improvement.
Also the profiler looks way better in core-js where the cpu time is used on a function called appendNodesTo.

I'm gonna try this in our app and get back with results

@4nderss - can you try one other thing while you're profiling:
Here's a new build of binding that removes Map usage from the connect queue. Curious if it makes any difference for you: dist.zip
If you're using jspm, overwrite your<EMAIL_ADDRESS>folder with the contents of the dist/amd in the attached zip.
If you're installing aurelia with npm, use the dist folder to replace your node_modules/aurelia-binding/dist folder.

@jdanyow ok here are the results. Looks alot more promising now.
The has() does not show while profiling, result is now more like core-js.

Average render time with my test in IE11/Win 10: 4071ms, so faster than core-js it seems. 👍

Cool, sorry this got closed prematurely. I saw the heavy getter property and thought that was the issue.

@jdanyow when is this fix scheduled for release?

It's out. Release announcement is coming this week but the code is out.
On Dec 6, 2016 11:41 PM, "Anders Ulfheden"<EMAIL_ADDRESS>wrote:

@jdanyow https://github.com/jdanyow when is this fix scheduled for
release?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/aurelia/polyfills/issues/39#issuecomment-265378093,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIBnVYpBai9ILe45T9eRcBzPvEjP2aTks5rFmMagaJpZM4Kvhx1
.

@EisenbergEffect shouldn't the fix be released with aurelia-binding? Can't see any releases since Oct 6. Or by out, do you mean that it's ready but not yet released?

Ooops. Sorry. We missed the binding release. It's out now.

@EisenbergEffect, @jdanyow  thanks, I have tested the update now. However it looks like something else with this update has affected our performance now.
IE went from 2500ms render with the above aurelia-binding fix from @jdanyow to 4000ms after npm updates. Tested with new aurelia release, with and without core-js loaded before aurelia.
From a quick overview it looks like it is doing alot of calls to subscribe on eventmanager from bind().
IE

I will try and reproduce in an isolated example..

For whetever reason this stopped happening today after a wípe of my npm folder. Performance is now better and we do not have to use core-js.
Thanks for fix and release. Keep up the good work!


RuntimeError: CUDA error: an illegal memory access was encountered

Thanks for your work!
I want to use yolact++ , when I run the eval.py on 1 Gpu with python 3.6.9,Pytorch 1.3.1,cuda 10.1,it always appears this problem:

error in modulated_deformable_im2col_cuda: invalid device function
Traceback (most recent call last):
File "/home/echo/a_project/yolact/eval.py", line 1104, in
evaluate(net, dataset)
File "/home/echo/a_project/yolact/eval.py", line 948, in evaluate
preds = net(batch)
File "/home/echo/anaconda3/envs/YOLACT++/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/home/echo/a_project/yolact/yolact.py", line 619, in forward
p = pred_layer(pred_x)
File "/home/echo/anaconda3/envs/YOLACT++/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/home/echo/a_project/yolact/yolact.py", line 202, in forward
priors = self.make_priors(conv_h, conv_w, x.device)
File "/home/echo/a_project/yolact/yolact.py", line 247, in make_priors
self.priors = torch.Tensor(prior_data, device=device).view(-1, 4).detach()
RuntimeError: CUDA error: an illegal memory access was encountered

Do u know how to fix this? I have googled for a  while but still don't know why the problem appears and how to solve it. I will very appreciate it if u can reply me !

I have fixed this by reinstalling pytorch==1.0.1 and cuda ==10.0, this bug appears maybe because I used 1.3.0 before, just the version problem.


Set env returns SELF

@HubertWo what's the motivation? You currently can do something like
GenericContainer<?> container = new GenericContainer<>("image")
    .withEnv("key", "value")
    .withEnv(mapOfEnvVars)

@eddumelendez Glad that you mention it,  looks like I missed Javadoc  Consider using {@link #withEnv(String, String)}. Do you plan to deprecate setEnv and and addEnv?


Seeing a dark screen instead of splash screen in Android

Its not working in android. We are seeing a dark screen instead of splash screen when switching between the apps in Android.

Same here, any solution?


WSPFileSavePicker (premakes) the regular file of the selected path

Apparently when WSPFileSavePicker is used to assign a path for saving it also makes the regular file defined by the path selected in the picker. This is not good because calling code does not know if that path is a new file to create, an existing file to overwrite, or deny writing to an existing file. In addition, the path selected may need to be a directory instead of a regular file.
Is there anyway to prevent WSPFileSavePicker from making the path (leaf node regular file) that is defined by the picker?

I closed this because it is a UWP issue, not specific to winobjc, and a workaround was developed.


Add CPython 3.4.5 and 3.5.2

http://blog.python.org/2016/06/python-352-and-python-345-are-now.html.

How we can backport this patch ?
bug: https://bugs.python.org/issue26664
patch: https://hg.python.org/cpython/rev/8d7bde14d7a4

pyenv install (and python-build) supports -p which let python-build to read patch from standard input. cat foo.patch | pyenv install -v 3.4.5 allows users to apply custom patch when building.
https://github.com/yyuu/pyenv/blob/0e298b691d8490064cc069a56be91597afdb590b/plugins/python-build/bin/pyenv-install#L18
https://github.com/yyuu/pyenv/blob/0e298b691d8490064cc069a56be91597afdb590b/plugins/python-build/bin/python-build#L8
I can bundle the patch as a default patch if there's working configuration.

Thank @yyuu. It's works really well.
curl https://hg.python.org/cpython/raw-rev/8d7bde14d7a4 | pyenv install -p 3.5.2

I can bundle the patch as a default patch if there's working configuration.

I'll love it =D

@robsonpeixoto could you send me a PR if possible? Just putting the patch file under $(pyenv root)/plugins/python-build/share/python-build/patches/Python-5.2 should let python-build to apply the patch before building.

I'll

https://github.com/yyuu/pyenv/pull/725


Enable formatting

Description
Some consoles like the internal serial on PlatformIO or Arduino 2.x are not able to parse color text compatible with the VT100 terminals. This causes the text to look garbled since the escape characters for colors become printed as text on the screen.
To Reproduce
Steps to reproduce the behavior:

Compile the code on either PlatformIO or Arduino IDE
Interact with Shellminator using the built-in serial
See the garbled text on the "help" menu

Expected behavior
There is a global boolean that disables color formatting. This works for the command prompt, but is ignored for internal and external commands. For example the "help" menu and whenever we define color texts inside the functions.

Detailed examples can be found here: https://github.com/dani007200964/Shellminator/discussions/15#discussioncomment-5558614

I have fixed the help format problem with<PHONE_NUMBER>cb579ae3481b6a4d9a3158f512c89d, but the static version of setTerminalCharacterColor is tricky. Because it is static, it doesn't have an actual object. Because of this, it does not have a enableFormatting flag. This way, the only solution right now for this is to track the status of that channel manually in your code.

A small update. It probably breaks backward compatibility 😢
I modified Shellminator and Commander a bit to make it easy to refer to the shell object, that called the execution-functions.
It is in the dev branch currently and works very simply. There is a third argument in Commander's API functions called the parent. Shellminator passes a pointer to it from the shell object, which is called this command. I can demonstrate it easily with an example.
void format_func(char *args, Stream *response, void* parent )
{

  // Pointer to shell object if possible.
  Shellminator* shell;

  // argument value
  int value;

  // This variable will hold the result of the
  // argument parser.
  int argResult;

  if( parent ){

    shell = Shellminator::castVoidToShellminator( parent );

    argResult = sscanf( args, "%d", &value );

    if( argResult != 1 ){

      response -> print( "Argument error!\r\n" );
      return;

    }

    shell -> enableFormatting = !!value;
    return;

  }

  response -> print("Shell object not available!\r\n");

}

This way, you can access the terminal object from the command function. My only concern is, that this will break backward compatibility, but it was a feature, that I wanted to add for a long time. It makes it very easy to manipulate a specific shell.
What do you think?
It is currently in development and probably has a ton of bugs. Also, I worked on the formatting problem both with Shellminator and Commander-API. It seems to work fine with the simulator. It is tricky to get rid of the garbage characters because a lot of functionality relies on them. I think it is now good enough for the Arduino IDE. Please check it if you have some spare time 😄


Windows support

Summary of Changes

Any additional details or context that should be provided?

Pull request checklist
Please check if your PR fulfills the following (if applicable):
Tests

[ ] Added new
[ ] Updated existing
[ ] Deleted existing

Other

[ ] Does anything in this PR need to be mentioned in the user-facing CHANGELOG or README?
[ ] Have you validated this change locally by packaging and installing the extension .vsix file?gulp clicktest

Will use windows-support-followup branch for development. Closing this PR.


Updating SFDC records triggers lead assignment rules - how to prevent it?

We have the following problem – when updating custom account fields in SFDC using jsforce library, for some reason it triggers Lead Assignment Rule, but not Workflow rules. Our updates are not relevant to Lead Assignment or Workflow rules,  so can you please suggest the way to prevent triggering Lead Assignment rule (better) or making sure Workflow Rules are triggered as well? We have single default lead assignment rule and multiple workflow rules.
We use 'conn.sobject(type).update(data, function(err, rets)` which calls:
/**

Update records

@param {Record|Array.} records - A record or array of records to update
@param {Callback.<RecordResult|Array.>} [callback] - Callback function
@returns {Promise.<RecordResult|Array.>}
*/

SObject.prototype.update = function(records, callback) {
return this._conn.update(this.type, records, callback);
};
When calling the update methods (which takes in multiple records), it triggers the lead assignment rules.

Hi @ph07
I am trying it with following syntax. But, my default assignment rue is still firing in Salesforce. Can you please help:
conn.sobject("case").update({
Id : '50020000010wwiXAAQ'
}, "Sforce-Auto-Assign: 'FALSE'", function(err, ret) {
if (err || !ret.success) { return console.error(err, ret); }
console.log('Updated Successfully : ' + ret.id);
// ...
});

Seems like I could make it work. Following should be the right way:
var optionHeader =  {headers: {'SForce-Auto-Assign': 'FALSE'}};
conn.sobject("case").update({
Id : '50020000010wwiXAAQ'
}, optionHeader, function(err, ret) {
if (err || !ret.success) { return console.error(err, ret); }
console.log('Updated Successfully : ' + ret.id);
// ...
});
Thanks.


Cloned Application Users with null passwordLastSet Causes Failure

When an Application is Cloned, and has Experience users, those users are moved into the new application in Losant.
These users in the new application, seem to lack a passwordLastSet value on their Experience User attributes.
This causes the customNode to report a failure when running 'Password not reset yet?' block.
Could it possibly coalesce (or be changed) to instead compare to lastLogin or lastUpdated? I do not know if those values are present on a cloned application User.

Here are the user fields that seem to be available from a brand new cloned application, against an experience user that has never logged in:

Thanks for reporting the issue. I see what you're talking about and am working on a fix right now; I hope to have the updated template published by day's end.
If you wish to fix it now without having to re-import the Forgot Password template, the fix is quite simple:

Find the "Verify Reset Token" custom node that was imported with the Forgot Password template.
Find the last Conditional Node in the custom node, which is labeled "Password not reset yet?"
Change the expression to: {{formatDate (defaultTo working.user.passwordLastUpdated 0) 'X'}} < {{working.decoded.iat}}


bn_mul.h: require at least ARMv6 to enable the ARM DSP code

Fix the build on ARMv5TE in ARM mode. The assembly code in bn_mul.h uses DSP instructions that are not available on this particular architecture, so set the conditional compilation directives to exclude them.
Fix originally contributed in #2169 by @aurel32. I rebased to current development to facilitate testing and added a changelog entry and a non-regression test.
Needs backport to 2.16: #2778. The offending code is not present in 2.7.

There was a bug in the non-regression test which was fixed in https://github.com/ARMmbed/mbedtls/pull/2777/commits/8a52af9b7704b7c0e17eb7f56dc0fdfe94ec51b5, which was to do with compiler optimization flag not set. The test was passing with the fix - https://github.com/ARMmbed/mbedtls/pull/2777/commits/5daa34f155c758a9f626bce88b527b92598c33b7, which shouldn't be the case
Further, on the investigation, there were a couple of non-regression tests which were not using the optimization flags, but I strongly think they need to be raised as new PR.
I'm happy for this PR to be merged.


what does the tcp->finished_edge do in tcp_posix.c?

Please answer these questions before submitting your issue.
Should this be an issue in the gRPC issue tracker?
Create new issues for bugs and feature requests. An issue needs to be actionable. General gRPC discussions and usage questions belong to:

grpc.io mailing list
StackOverflow, with grpc tag

Please don't double post your questions in more locations, we are monitoring both channels and the time spent de-duplicating questions can is better spent answering more user questions.
What version of gRPC and what language are you using?
tag:v1.0.0
What operating system (Linux, Windows, …) and version?
What runtime / compiler are you using (e.g. python version or version of gcc)
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
What did you expect to see?
What did you see instead?
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?
can more than one thread do tcp_continue_read operation at the same time?
also,i want to know what  the tcp->finished_edge do in tcp_posix.c.
look forward to the reply

tcp_continue_thread is not thread safe.  The general read workflow is like this:

Transport calls grpc_endpoint_read - and for TCP endpoint, that translates to the tcp_read() function.
The very first time tcp_read() registers a callback (notify_on_read() is the function that registers with polling engine - and the callback is tcp_handle_read()) with the polling engine whenever the fd has some bytes to read.
When the fd becomes readable, the polling engine calls tcp_handle_read(), which calls tcp_continue_read() which calls tcp_do_read().
tcp_do_read() actually reads bytes from the socket (via recvmsg() syscall) and after it reads whatever it could, it invokes the endpoint read-completion callback (i.e tcp->read_cb).
-- If recvmsg() syscall returned EAGAIN, tcp_do_read() calls notify_on_read() to register the callback tcp_handle_read() with the polling engine (to be called whenever the fd becomes readable again). In this case, the tcp_do_read() function does NOT call tcp->read_cb since no bytes are read yet.

The transport should call grpc_endpoint_read() again to read more bytes ONLY AFTER the callback tcp->read_cb was called without an error (i.e some bytes were read successfully and it wants to read more bytes).
--

So, it is clear from the above that none of the above functions can be called in parallel by two different threads.


increase z-index of data-table thead elements

Increase the z-index of data-table thead elements
I'm unsure if it is intentional, but on the TASKS table the trader images scroll overtop the table header. Thought I'd offer a simple PR in case the behavior is in fact a bug. Tested on Chrome, Edge and Firefox. I verified the fix on other pages, but I may have missed some tables.
Examples 📸
Before:

After:

Nice fix! 👍

.deploy


zketcd: don't crash on getting root directory

/cc @tsuraan

Yeah, that works better than mine; the python client actually returns None as the value, which seems more appropriate.
Is rootPath guaranteed to be the only node that behaves this way? Would it be better to check the length of Responses and Kvs to ensure an index out of range panic never happens?

It should only happen for the root node; there are a few special cases for the root node already.

Okay, cool. I'll close my request.

lgtm


Currency considerations

Find a way to address that some transcations are in ETH and others in IMX - this is currently not a major concern as only a small minority are in IMX, however, as time progresses, this may change

Find a way to calculate the dollar price based on pulling live ETH / USD rates - presumably from a service such as Alchemy?

On 1) it looks like the API is pretty helpful with drawing the currency of the order: (0 > result > sell > type)

On 2) looks like the CoinGecko API is friendly for users to draw this information
https://www.coingecko.com/en/api/documentation

Done!


Add support for MGI's Atoplex kit

Description of feature
Sequencing reads from MGI's Atoplex library prep kit is not currently supported. This feature adds support for it.

Hi @ljmesi ! Be great to have some more info about this. Are there any links you could share for where we can find the primer sequences, ideally in BED format for this kit? Is it used for SARS-CoV-2? If you have used this kit with the pipeline already and have the files handy that would be even better. We may need to check that the vendor permits public distribution of their primer sites too because this isn't always the case.

Duplicate of https://github.com/nf-core/viralrecon/issues/353


Clicking on D3D7 Configuration options causes crash

Orbiter-x86 (https://github.com/orbitersim/orbiter/actions/runs/2990259285)
Set Graphics Engine to D3D9Client and restart Orbiter
Now change to D3D7Client, go to Extras tab and click on "D3D7 Graphics Configuration"

This causes a crash

I have fixed a few things relating to graphics client selection (issue #228) in thread 228-video_tab_update_on_client_change. This wasn't directly related to your issue, but may have fixed it anyway. Could you please check if commit f2c7212 fixes your problem?


FFmpeg availability for all desktop OS.

Simply utilize ports of FFmpeg instead of using the ones provided by the library which are waaaaay too old.

A bit complicated than I thought it would be.
Newer versions of FFmpeg = Newer libraries to support them
The biggest problem is file size. Newer versions take more than 30MB.
This means I have to build them from scratch, and this is so tedious as I have no experience with it.


unexpected backend behaviour?

General information:

emcee version: 3.0.2
platform: macOS 10.14.6
installation method (pip/conda/source/other?): pip

Problem description:
save chain with emcee.backends.HDFBackend(filename) and loading the chain to resume the run
Expected behavior:
I would expect that after loading the ".h5" file the mcmc will resume from the last state of the chain and end once the requested nsteps are reached
Actual behavior:
It seems that the emcee is not resuming from the last state and the total number of nsteps in the completed mcmc run is the previous steps + how many steps I request in the resumed mcmc_run()
What have you tried so far?:
Minimal example: (This is taken from https://emcee.readthedocs.io/en/stable/tutorials/monitor/)
import emcee
import numpy as np
np.random.seed(42)
def log_prob(theta):
log_prior = -0.5 * np.sum((theta - 1.0) ** 2 / 100.0)
log_prob = -0.5 * np.sum(theta ** 2) + log_prior
return log_prob, log_prior
coords = np.random.randn(32, 5)
nwalkers, ndim = coords.shape
filename = "tutorial.h5"
backend = emcee.backends.HDFBackend(filename)
backend.reset(nwalkers, ndim)
sampler = emcee.EnsembleSampler(nwalkers, ndim, log_prob, backend=backend)
sampler.run_mcmc(coords, 100)
new_backend = emcee.backends.HDFBackend(filename)
print("Initial size: {0}".format(new_backend.iteration))
new_sampler = emcee.EnsembleSampler(nwalkers, ndim, log_prob, backend=new_backend)
new_sampler.run_mcmc(None, 200)
print("Final size: {0}".format(new_backend.iteration))
TERMINAL OUTPUT:
Initial size: 100
Final size: 300

Hi, same problem here. @Sketos have you found a workaround for this?

Hi, same problem here. @Sketos have you found a workaround for this?

I'm not sure I understand. This is the expected behavior. run_mcmc will always try to run for the requested number of steps. If you want a total of 200 steps, use new_sampler.run_mcmc(None, 200 - new_backend.iteration).

I'm not sure I understand. This is the expected behavior. run_mcmc will always try to run for the requested number of steps. If you want a total of 200 steps, use new_sampler.run_mcmc(None, 200 - new_backend.iteration).

Hello, I'm running exactly the same case as @Sketos. I do expect the described behavior, but what is not clear to me is the way in which the autocorrelation time is computed at the end of the second run.
In fact, at the end of the first run my sampler had size 270000 (I have 15 parameters and 64 walkers) and the autocorrelation time was too short for 2 parameters. For this reason I added 150000 iterations more and I expected the chain to converge (the final size is 420000), instead now the autocorrelation time is too short for 15 parameters. How can it be since the chain is longer?
Thank you.

This is not the same issue. The issue that you're seeing @afoschi, is that the autocorrelation time calculation is noisy and depends on the chain sampled so far. This means that sometimes it will be underestimated with a short chain and it's not that uncommon to find behavior like you're seeing. Unfortunately there's no magic bullet for making sure that the autocorrelation time is always correct without running an effectively infinitely long chain.


Correct calling parameters of math.isclose() in display_df

Codecov Report
Patch has no changes to coverable lines.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Changed
Coverage

dice_ml/diverse_counterfactuals.py
0.00%

:loudspeaker: Thoughts on this report? Let us know!.


README: update latest v1.6 version to v1.6.2

Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

Coverage decreased (-0.004%) to 44.79% when pulling 3927e9e1442cc5dd0901e60120c38e51006fa15d on pr/ianvernon/update-readme-version into 1316dcaff9f1539dc60a4200e22fe8bbc0364780 on master.


Prettier changing proportions

Removes the .0 if the value is whole (only see decimal if is .5)
Add precision adjust button unselected by default to toggle between 1 and 0.5 adjustment.

This is what it looks like owo https://cdn.discordapp.com/attachments/948579740225261598/953051764045787136/unknown.png


Add a bit of historical trivia to the readme

Good idea, credit where credit is due

Wait, that's the wrong repo

lol sorry

force push! or revert commit

Force pushed away


Navstack Issues

Have you encountered an issue using the browser's back and forward buttons?

Can we extend it to browser forward and back buttons and for child routes which are not outlets ?

NVM... I figured it out..... Also, you don't need the hostLocationService at all, You can use the multi-location strategy (with code modifications) and still achieve the same and more (solve nav track issues)

@ravitejrai Do you mind posting your solution here?

@bzhao16834 try referring this https://github.com/ravitejrai/Micro-frontend-router , Its not 100% percent but you can build on it.


Revert to Chartist 0.5.0

Until this issue https://github.com/gionkunz/chartist-js/issues/161 is fixed I think this should revert to the previous version. It's causing frequent js errors in a project I'm working on.
0.6.0 introduced the meta information for points which is very helpful, but gonna have to not use that for now.
I think I'll release this as a beta for now.
NOTE: I forgot that 0.5.0 contained a different error that was fixed in 0.6.0. I'm reverting this to a particular build that contains that fix but is before 0.6.0 release.

There is a beta release associated with this issue: https://github.com/tylergaw/ember-cli-chartist/releases/tag/v0.2.5-beta3
I likely won't do a full release of that, but it is available on npm and I'm using it in a project right now until Chartist makes a new release.


Unnumbered pages

I love this plugin, the only thing that's slightly annoying is that if you add one page somewhere, you have to change all the numbers of the following pages.
So if I first had 1, 2, 3, 4 and then wanted to squeeze a page in between 2 and 3, I would have to change 3 -> 4 and 4-> 5 and for longer books that's a little tedious.
Nothing too urgent but it'd be really cool if we had a way to make pages unnumbered so we could just use a placeholder like this:
pages:
  'x':
    - "Page number 1"
  'x':
    - "Page number 2"
  'x':
    - "Page number 3"

Feel free to call the config option unnumberedPages: true|false

Unfortunately this is a limitation of Yaml, because the libraries that parse Yaml store the config in an HashMap (key -> value), that is by definition unordered, so I am not sure if it can be done (at least with Yaml files).

Unfortunately this is a limitation of Yaml, because the libraries that parse Yaml store the config in an HashMap (key -> value), that is by definition unordered, so I am not sure if it can be done (at least with Yaml files).

That's still okay, you could give the pages arbitrary names like "claiming tutorial" and "skills tutorial" and the likes as I'm using the books to teach people things about the server, literally being a tutorial book about different topics.
One book is for beginners, the other is for advanced users and experts and one book covers multiple topics and there it would come in very handy if I could give them more abstract names and if I add a page in between, I wouldn't have to change 10 pages just to add 1 each time :)

In that case there should be a way though to specify the order of pages, otherwise, as written in the previous comment, the page numeration will be arbitrary.


Add caller's and callee's app-ids in headers for service to service invocation

Signed-off-by: sunzhaochang<EMAIL_ADDRESS>Description
Add caller's and callee's app-ids in headers for service to service invocation.
Issue reference

Please reference the issue this PR will close: #5155
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@ItalyPaleAle Added this to e2e test.

/ok-to-test


Added the  AI-Powered Super-Resolution and Image Restoration model

Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.

Issue Title
AI-Powered Super-Resolution and Image Restoration for Historical Photos

[x] I have provided the issue title.

Info about the Related Issue
What's the goal of the project?
This project aims to create an AI-Powered Image Restoration Tool that transforms low-quality historical photos by upscaling, denoising, and adding realistic color. Using deep learning, it revives old images with stunning clarity and detail, preserving memories in a vibrant, lifelike form. Perfect for heritage conservation and digital archiving!

[x] I have described the aim of the project.

Name
Ankan

[x] I have provided my name.

GitHub ID
Peart-Guy

[x] I have provided my GitHub ID.

Email ID
Please mention your email ID for further communication.
Enter your email ID here.

[x] I have provided my email ID.

Identify Yourself
GSSOC-24 EXTD

[x] I have mentioned my participant role.

Closes
Enter the issue number that will be closed through this PR.
*Closes: #1080 *

[x] I have provided the issue number.

Describe the Add-ons or Changes You've Made
I have added the model

[x] I have described my changes.

Type of Change
Select the type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Describe how your changes have been tested.
Describe your testing process here.

[x] I have described my testing process.

Checklist
Please confirm the following:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@UTSAVS26  Merge the PR

@UTSAVS26  Merge the PR

Wait for sometime mentors are reviewing.

@UTSAVS26  Merge the PR

Wait for sometime mentors are reviewing.

Ok, But Kindly make it fast since it is the  end days of GSSOC-24 EXTD

@Peart-Guy , please complete it within tomorrow with the necessary changes

@TheChaoticor @UTSAVS26 @ruhi47
I have made the changes by adding the  datasets model in the readme file. Kindly check it out


Is there a specific syntax the regex for custom DLPs use?

I tried using:
\<EMAIL_ADDRESS>and when I go try to test the sensitive info type with a document containing<EMAIL_ADDRESS>nothing happens...it doesn't detect the email in a sample file

@Rykimaruh - May we know which Microsoft document link you used in reference to this issue?
Please share it with us so we can investigate further. Thank you.

@Rykimaruh - We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
If there is a specific area of the docs that we can improve on, please feel free to open a new issue by clicking on the Feedback section on the specific Microsoft doc which is found at the bottom of the page. Thank you.


feat: standardize options passing and errors

Coverage remained the same at 100.0% when pulling 0ef9ec66fbd16e0ed1fba857a81b30709b87bcd4 on feature/extract-options-and-standardize into 6dfb75b6259e95233b071f63ed8d61a0d1145e2d on master.


Prompt new version when there is a new version of the running extension

If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)
Description of issue (in as much detail as possible)
The author of quantum extension @ricardo-espinoza asked is there a way to prompt users to update extension version.
This issue is a feature request.
My preliminary thought is prompt new version when there is a new version of the running extension in frequency of once a week.
When users run
az quantum ...

If there is a new version, give a warning like
A new version *** of quantum extension is available. Current version is ***. Run *** to install latest version.

Was this a generic feature request besides quantum?

Was this a generic feature request besides quantum?

It is a generic feature.

CLI support: https://github.com/Azure/azure-cli/pull/14803/files#diff-818d51706b268b283c41fef3ee4436df9356c57e657c6e0f0859b1b9445d3e04R164


roof open, comfort and move commands no longer works

seems open, comfort and move roof commands no longer work? only close and vent has successful response

The functionality of the Tesla API server has changed so that those API commands to the pano roof aren't supported anymore.  This doesn't affect the Tesla mobile app because it only supports close and vent.  There's some discussion of this on the Remote S thread on TMC.
(No first-hand experience with this, my car has a body color roof.)

@bmah888 thanks for the info. at least close and vent api still work

so what exactly works now? open, close, and vent are what the mobile app uses. I can remove all the other positions and the move command if it doesn't work and isn't expected to reappear anytime  soon.

I believe "vent" and "close" are what work now, but not "open" or "comfort".  The developer of the Remote S iOS app had this to say about it on TMC (mid-way into this post):
https://teslamotorsclub.com/tmc/posts/1909198/
This change is also mentioned in the release notes for the most recent (as of the time I'm writing this) Remote S:
https://teslamotorsclub.com/tmc/posts/1926452/
Bruce.


Fix for issue #5086

Improve Member_Validator to:

properly check for existing members.
allow extensions.
remove old code and replace with new syntax and add config API.

Fix issue in Group code where Member_Validator was instantiated via "new" which didn't allow injector overrides.
Added unit-tests.

@dhensby Ok, this one should be good if CI passes.

see https://github.com/silverstripe/silverstripe-framework/pull/5088

Is there something I missed from the discussion in #5088?

No, in just cross linking so that people can see the discuss ons

@dhensby Thanks. I forgot about amending commits. I updated the commit with a safeguard check for $data[$identifierField]. I also went ahead and implemented the behavior I proposed in #5086 to solve cases where the validator might not have an ID passed with $data, yet still "belongs" to a Member.

Any idea what this test failure means: 'Failed asserting that 'JoeEdited' is not equal to string:JoeEdited.' ?

I've restarted those tests, bizarre that a couple have it and a couple don't not really sure.
The behat test is more worrying. If you check this out locally and test, does it work in the CMS when you add/save/edit/delete members?

Yeah, everything works fine in the CMS. The warning dialogue now shows up underneath the E-Mail field though… maybe that's causing a problem there?

hmm - I don't think that'd be a problem

Strangely enough all tests have passed with my previous PR… not sure why it failed now. When testing in the CMS, everything works/validates as expected.

someone with more knowledge of PHPUnit will have to explain this one :/

@dhensby I figured out the problem. It is important that the validator checks the ID passed via $data first. Only if there's no ID passed via $data or via controller->record, the member assigned to the Validator should come into play.

Thanks - I'm pretty happy with this and it could lay the foundation for skipping validation on default admins too

@tractorcow thoughts?

oh - as it's a new feature, maybe it'll have to go against 3 :/

You mean, it's a feature that the Member_Validator is suddenly working? For me this is more of a Bugfix :)

Yeah sorry, I meant to say this on the other thread: Can you raise on the 3 branch since it introduces new method API?

Code is pristine by the way.

Ok, PR against 3 branch is here: #5098. Sorry for the many PRs


can not override css , I want to set button disabled

I only set the button disabled by javascript

why ？


adding flag and logic to install binaries on remote hosts instead of …

…on the control machine

Looks good, thanks!


@conda-forge-admin, please add user @roederja

I'm consolidating my github accounts.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @roederja in conda-forge/msal_extensions-feedstock#14.


Access past events

Description
Is it possible to compile another set of files to include events from the past? I would like to access all events, not just future and ongoig ones.
Desired Behavior
I am creating a dedicated calendar app for Android. It would be good if it could act like an archive too.
Additional Context
No response

The tools I use to generate the calendar are:

https://github.com/bigfoott/ScrapedDuck
https://github.com/bigfoott/ScrapedDuck/wiki/Events

I would start there to look at archival data, I don't plan on adding archival data at this time as this repo is simply morphing upstream data into an iCal format at runtime. It retains no persistent storage within itself, and I don't plan on adding it to this repo at this time as it sits outside of the scope of what this repo aims to achieve.


[TVMScript] Allow T.target("device", host="host") to specify host

Prior to this commit, the TargetNode::host could be specified in TVMScript as part of the config dictionary, under the key "host". However, this required all other device parameters to be explicitly specified, rather than using any of the short-hand string representations.  This commit forwards the host argument from TVMScript's T.target method to tvm.target.Target, allowing both the device and host to be specified using the shorthand string representation.
@T.prim_func
def before_this_commit():
    T.func_attr(
        {
            "target": T.target(
                {
                    "arch": "sm_86",
                    "host": {"keys": ["cpu"], "kind": "llvm", "tag": ""},
                    "keys": ["cuda", "gpu"],
                    "kind": "cuda",
                    "max_num_threads": 1024,
                    "tag": "",
                    "thread_warp_size": 32,
                }
            )
        }
    )
    T.evaluate(0)

@T.prim_func
def after_this_commit():
    T.func_attr({"target": T.target("cuda", host="llvm")})
    T.evaluate(0)

This PR is a subset of the functionality in https://github.com/apache/tvm/pull/14862.  As that PR has grown to a difficult-to-review size, I'm carving off independent chunks of it into separate PRs, after which #14862 can be rebased to a more manageable size.