dropbox: 185.4.6054 -> 206.3.6386

Description of changes
the current version in this repo is too old to self-upgrade. if someone install the dropbox from a new machine, it doesn't work by default actually, and will see this message:
You’re using an old version of Dropbox. Please download the latest version at [www.dropbox.com/downloading 4](http://www.dropbox.com/downloading)

see https://discourse.nixos.org/t/using-dropbox-on-nixos-23-05/30488/1
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@ttuegel @eclairevoyant summon the maintainers here!


fix: producing null messages

Description
Producing null records. This is needed to produce tombstone records for an upsert-kafka connector. https://nightlies.apache.org/flink/flink-docs-master/docs/connectors/table/upsert-kafka/
Fixes #516
How Has This Been Tested?

Added Invoke_NullMessage_Serialize unit test
Added ProduceNullMessageTest integration test
Performed end to end test using upsert-kafka connector source and Apache iceberg sink.

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have added tests to cover my changes
[ ] I have made corresponding changes to the documentation

Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

Would be great to see this go into master

There is a comment here https://github.com/Farfetch/kafkaflow/issues/516#issuecomment-1957371329 that this could be achieved by re-writing the serializer, so I think they will fix this with another PR.

Hi @adimoraret,
Since you did not address the requested changes so far, within the next 5 business days we will close this PR and create a new one in order to move forward.
We appreciate your contribution to our project and look forward to hearing from you soon. If you have any questions or need further assistance, don't hesitate to reach out.

Hi @JoaoRodriguesGithub
Sure, you can close the PR. Sorry, I was able to end to end test my code at the time when I raised my pr, but, unfortunately, I didn't get a chance to end to end test it based on your suggestions.

Hello guys!
Like João said, we've opened a new PR for this implementation and so this one will be closed. Please check: https://github.com/Farfetch/kafkaflow/pull/547
Thanks!


Add Long only factor_alpha_beta functionality - Issue #167

I apologize for all the old commits. I'm not sure why all of the old commits came through. If you spot something I am doing wrong, let me know and I'll try and fix in the future.

Don't worry @MichaelJMath , I'll squash all the commits in one after I finished reviewing them.

Thank you @MichaelJMath !


Return an evidence graph given two ids and association type

It would be useful to have a route that given two IDs and association type returns evidence serialized as a bbop graph.
This gets a little tricky with id/type orientation in solr, but theoretically we could structure the queries as subject_closure:{id1} OR {id2}, object_closure:{id1} OR {id2}.  This should return 0-2 rows, where in the case of 2 rows both evidence graphs are identical.

Nevermind - see this already exists!
/evidence/graph/{id}


[a11y] Layout of 'warn on behalf' page is broken for extreme font sizes

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Technical details
Screenshots were created with:

Device name: iPhone 12 / simulator (but all screen sizes are affected)
iOS version: iOS 15 / simulator (but all iOS versions are affected)
App version: current developer branch (branch = release/2.13.x as of Oct 17, commit = 584727) (but latest release 2.11. is affected as well)

Describe the bug

With extreme a11y settings the layout of the page "Warn on behalf of others" is broken.
The descriptive text at the top can grow so much that it pushes the table of QR codes below the visible screen. Even the 'scan' button can be hidden. Of course you can scroll both in again, but you have to know.
The only visible button on this page is disabled, which is especially confusing.
Steps to reproduce the issue

close cwa, open the Settings / Accessibility / Display & Text Size / Larger Text
enable Larger Accessibility Sizes
select the largest font size (note: on smaller screens the same happens earlier)
open cwa, select 'Event Planning' / three-dot-button / Warn for Others, and press the Continue button
the explanation text fills the whole visible screen. The list of QR codes and the scanning button are not visible without scrolling. The button 'Continue' is visible but disabled.

Expected behaviour
Below the explanation on top of the screen, see a scrollable and selectable list of QR codes, and a button to scan another QR code.

Possible Fix

consider to shorten the very long explanation, and/or limit its size
consider to hide the 'Continue' button as long as it is disabled

Additional context

See example screenshots for iPhone 12 below.

Internal Tracking ID: EXPOSUREAPP-10243

Note: I found this issue while working on PR #3685. However, that PR will not fix it.

FYI: PR https://github.com/corona-warn-app/cwa-app-ios/pull/4591 will improve the situation here.

Fixed in #4591


fix: Restore Longview styling to what it used to be

Description 📝

Added back spacing that disappeared due to changing from default to named imports when importing Grids in Longview files
This is just a really quick solution just to get the styling back to what it used to be, will be working on cleaning up the styling and everything in the actual MUI refactor PRs after
see comment on #9600 for more details

Major Changes 🔄

add spacing to any grids with the container prop that didn't have spacing specified

current prod
what prod should look like

How to test 🧪

git checkout 84f1083 to see how the styling previously looked, and compare this branch with the checked out commit

Good catch!


Enhancement: Organize subfolders in Demo_Scene

Currently, the objects in the Demo_Scene scene are disorganized, which makes navigation and editing within the project difficult. It is necessary to create subfolders to categorize the scene elements.

Tasks:

Create the following subfolders in the project hierarchy:

Vehicles: For vehicles used in the scene.
Buildings: For architectural structures.
Signs: For signs, road signs, etc.
Props: For small interactive or decorative objects.
Environment: For elements of the environment, such as lights, effects or sky.

Move the corresponding objects to their respective subfolders.

I'd be happy to work on it.

Hello maintainers I am BRACR10 a contributor of Dojo Coding, I would like to organize the code correctly, I have experience with object oriented programming and C#.


Reduce container size

From 1.2GB to 864MB

Resolves #2023

If you rebase the latest main branch, it'll post the image size in the PR 😁

If you rebase the latest main branch, it'll post the image size in the PR 😁

I did! must be on its way!! ⏳


WARNING: Could not lex literal_block as "python". Highlighting skipped.

I have a cell block containing a shell command:
!nvidia-smi

  {
   "cell_type": "code",
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "4QhMOtYzLmVK",
    "outputId": "fa0443da-8b4d-47f7-e713-93e1e4976e87"
   },
   "source": [
    "!nvidia-smi"
   ],
   "execution_count": 8,
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "Tue Sep 28 20:52:49 2021       \n",
      "+-----------------------------------------------------------------------------+\n",
      "| NVIDIA-SMI 470.63.01    Driver Version: 460.32.03    CUDA Version: 11.2     |\n",
      "|-------------------------------+----------------------+----------------------+\n",
      "| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |\n",
      "| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |\n",
      "|                               |                      |               MIG M. |\n",
      "|===============================+======================+======================|\n",
      "|   0  Tesla K80           Off  | 00000000:00:04.0 Off |                    0 |\n",
      "| N/A   33C    P8    27W / 149W |      3MiB / 11441MiB |      0%      Default |\n",
      "|                               |                      |                  N/A |\n",
      "+-------------------------------+----------------------+----------------------+\n",
      "                                                                               \n",
      "+-----------------------------------------------------------------------------+\n",
      "| Processes:                                                                  |\n",
      "|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |\n",
      "|        ID   ID                                                   Usage      |\n",
      "|=============================================================================|\n",
      "|  No running processes found                                                 |\n",
      "+-----------------------------------------------------------------------------+\n"
     ]
    }
   ]
  },

This runs and renders fine on Google Colab. However, when I build my docs with nbsphinx, I see the following warning message:
WARNING: Could not lex literal_block as "python". Highlighting skipped.

This seems to work for nbsphinx, but not for Jupyter:
%nvidia-smi

This seems to work for Jupyter, but not for nbsphinx:
!nvidia-smi

See https://readthedocs.org/projects/torchgeo/builds/17978930/ for the failing build and see https://github.com/microsoft/torchgeo/pull/756 for links to the full notebook. This is with nbsphinx 0.8.9.

The code highlighting is done with pygments, and the information about the language is taken from the cell metadata magics_language. If that's not present (as in your case), the notebook metadata language_info.pygments_lexer is checked. If that's not present (as in your case), language_info.name is used, which in your case is python, so it doesn't know the special IPython syntax.
https://github.com/spatialaudio/nbsphinx/blob/fc79fd1ac5ab6df225b256ef4ca203c58c5ad92b/src/nbsphinx.py#L117-L123
In general, you could override it with nbsphinx_codecell_lexer but language_info.name seems to take precedence. Maybe that should be changed?

BTW, if you just want to ignore the warning, you can use that in your conf.py:
suppress_warnings = ['misc.highlighting_failure']

Yes, I ignored the warning for now. What's the correct value for magics_language, ipython?

Is there any downside to using ipython as the lexer for all .ipynb files? I'm surprised the default is python instead of ipython.

Yep, that seems to work. Thanks for all of your help!

What's the correct value for magics_language, ipython?

I don't know.
I've never knowingly seen a notebook where this was set.
I don't know if there is any client that writes to that field.
I don't know why I originally implemented it that way (see #59 and #60, which was 6 years ago!), maybe I copied it from nbconvert?
But both ipython and ipython3 should work.

Is there any downside to using ipython as the lexer for all .ipynb files?

I'm not sure.
The idea is that Jupyter notebooks are language-agnostic, so I would prefer not assuming IPython.

I'm surprised the default is python instead of ipython.

Well, none of those are explicitly the default, but nb.metadata.language_info.name seems to be python.
But that may not be a good idea, because, as we saw, this cannot handle IPython-specific features.
So we might just remove this?
This would lead to no highlighting instead of raising an error.
In such a case, a user could override the language with nbsphinx_codecell_lexer.
Does that make sense?

A warning and highlighting is definitely better than no warning and no highlighting.


Fix Travis Builds on Debian family

Description
Fix Travis Builds on Debian family, it detects systemd but localectl does not exists
Check List

[ ] All tests pass.
[x] All commits have been signed for the Developer Certificate of Origin.

This seems like it's going to cause breakage for someone in a real world situation. We should figure out what package is necessary for the ctl command and install that in travis instead.


The oaiDeploymentName variable is beign refered to as oaiModelName

Module: 02-04
Lab #2-#4
Replace oaiModelName with oaiDeploymentName so it matches the c# code
Changes proposed in this pull request:

fixed in another PR for both languages. Thanks for reporting!


STONReaderError error

It seems that the STONReaderError classes expects selector: format: arguments: to be implemented ... this is GLASS/Pharo/Squeak method that is (obviously) missing from the GemStone base ... needs to be implemented or replaced with an appropriate GemStone method.


CB-8936 Introduced --dump arg to log script

https://issues.apache.org/jira/browse/CB-8936

Updated.

LGTM


Remove package-lock.json, fixup 58610df

Two lock files, package-lock.json and yarn.lock run a high risk
of different people and CI environments having different dependencies,
defeating the purpose of the lock files.
In addition, a single lock file clearly describes the prefered tool
in the project. Two lock files make it confusing.
The package.json scripts and the project history shows that yarn is
the preferred tool since the beginning, so let us remove the npm
lock file.

Nice catch. Yarn all the way!


[nana] Fix fontconfig dependency

Describe the pull request

What does your PR fix? Fixes #15490

Update fontconfig dependency as the follows:
 find_package(Fontconfig)
 target_link_libraries(nana PUBLIC Fontconfig::Fontconfig)

Note: No feature needs to test.

@Neumann-A
Could you please help review this PR?
Thanks.

@Neumann-A
Could you please help review this PR?
Thanks.


Server/Client architecture

Hello @dusty-nv !
I think the nanoLLM project could benefit from offering a server-client architecture, a little like what ollama does with ollama serve and the ollama client API.
This way, the client for nanoLLM could easily be run outside of the docker container, and even on another device. I know you already worked on a web GUI, but it's not exactly the same use case IMHO.

Hi @WikiLucas00, I have been meaning to document the websockets API that the dynamic agent uses, it is a general protocol and akin to lightweight RPC by passing around dictionaries.   If you are doing text LLM, then you could just spin up an OpenAI-compliant endpoint with MLC.  If you are using multimodal VLM or speech, then you can probably make a REST API with flask or FastAPI tailored to your application more quickly.  It is also on my todo list to do a ROS connector which provides distributed messaging.  Another thing I need to do is split the plugins and Agent Studio into it's own repo 🤷♂ 🤣

Thanks for your reply @dusty-nv! It would be just for text LLM (streamed and async).
Are you talking about the MLC package on jetson-containers or about something else, still within the nanoLLM project?
NanoLLM works great in the terminal on my jetson, but I didn't find resources for a straightforward way to serve a model in a container and send requests from a client via http.
Could you please share a little more precise example steps to follow? It would help a lot! :pray:

@WikiLucas00 I have plans that you will just be able to spin up whatever agent/plugins you want in Agent Studio, and it will expose the webserver for interfacing with them remotely (for distributed architectures in addition to client UIs) - which technically is already done, the websocket/RPC protocol just isn't documented and I should make lightweight Python/javascript client libraries for it.
For now, what I would recommend is to run nano_llm container in dev mode (where you mount an external copy of the NanoLLM sources into the container so you can easily edit them from your host) or from your own script, and then just add a lightweight Flask or FastAPI REST server on top of that.
If you are unfamiliar with the likes of Flask, JSON, websockets, ect, I would highly recommend to invest an afternoon going through a couple tutorials and learning it, as it is very common that some new model/ect comes out and you wanna spin up a quick server or process for it.  It's easy like this:  https://pythonbasics.org/flask-rest-api/


Verify CycleCloud deployment

A number of recent and future workspace services, such as, CycleCloud and Cromwell require additional ports opening. These were missed of the PR.
Port 22 is required from the Resource Processor subnet to the workspace to allow files to be provisioned onto workspace VMs
Ports 111 (TCP and UDP) and 2049 (TCP and UDP) are needed within the workspace services subnet to allow NFS communication.

Hi, I am also facing issues with CyleCloud and am interested in this fix

@tim-allen-ck I have cyclecloud deployed the issue is with networking, the compute nodes can not communicate with the CycleCloud machine and I have to add firewall rules manually to allow CycleCloud to access required Azure addresses.

@jpROC1 Think those Firewall rules need adding into the repo


made scroll top button

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (#20)
Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My contribution follows the style guidelines of this project
[x] I have performed a self-review of my own contribution
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings

@nehakalbande pl accept my PR


Make (final) classes explicitly Serializable

This makes classes more robust regarding changes of super-interfaces.

Hi @danieldietrich,
Should only final classes implement Serializable explicitly, or every class that has a serialVersionUID?
e.g.: (Checked)Function0-8, MatchError, AbstractMap, Queue, AbstractsQueue, Seq...
Thanks!

Hi @AlparSzabados, thank you for asking. I've re-read the Java API (Serializable, Class) and googled a bit. I cannot find a clear advice how Serializable is used throughout a type hierarchy. It boils down to:

Let an interface implement it to make it clear as part of the contract that implementations are Serializable (that's how we do it now)
See serializability as implementation detail because we cannot enforce/to be sure that implementations will really implement Serializable. (however, I think it is a marker interface that does not need to be implemented)
everything in between 1. and 2. (like this issue)

Thinking again about it I think we should stay with 1. We do not need to be what I called 'refactoring-safe' because Serializable is part of the contract of the super-types.
Let every type that has a serialVersionUID implement Serializable seems unnecessary for me. Keeping things simple means leaving things away without changing functionality.
I will close this issue.
@AlparSzabados thanks again for asking!


COBYLA optimizer extensive memory usage for VQE with UCCSD variational form

Information

Qiskit Aqua version: 0.7.1
Python version: 3.8.3
Operating system: Ubuntu 18.04
RAM: 8 Gb

What is the current behavior?
I am trying to run VQE for LiH molecule. My current setup is:

Minimal basis set sto-3g
Backend statevector_simulator
UCCSD variational form
COBYLA optimizer
Different size of active space: 6, 8, 10, 12 qubits

I experienced segmentation fault running the 12 qubits configuration (full space of spin orbitals).
It seems like the reason of the segmentation fault is insufficient RAM. The output when running the script with /usr/bin/time -v:
Command terminated by signal 11
Command being timed: "python LiH_12qubits.py"
User time (seconds): 38.48
System time (seconds): 51.10
Percent of CPU this job got: 105%
Elapsed (wall clock) time (h:mm:ss or m:ss): 1:25.03
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 5263392
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 6785484
Voluntary context switches: 0
Involuntary context switches: 0
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0

Steps to reproduce the problem
Run the gist to reproduce the error. It is based on the example of Qiskit VQE.
What is the expected behavior?
The computation finishes successfully, without an extensive memory consumption.
Suggested solutions
When I run the 6 or 8 qubits configuration, maximum memory usage is 220 and 460 Mb, respectively. For 10 qubits, the computation finishes as expected, but memory usage increases to 4.6 Gb.
I ran the 10 qubits computation in debugger and found out that a spike in memory consumption happens inside the COBYLA optimizer C code. It happens in a pretty strange way. When the execution enters optimization, memory usage rapidly increases to 4.6 Gb, stays at this level for a short time, and then drops to about 200-400 Mb. For the rest of optimization it does not exceed 400 Mb.
As far as I understand COBYLA algorithm, before the actual iterative process, it evaluates the objective function at N+1 points (N is the number of parameters, 24 for the 10 qubits UCCSD circuit). The memory spike might correspond to the 25 evaluations of the objective function. If it is the underlying reason, can it be avoided (probably at a cost of a slowdown) to significantly reduce the memory consumption?
Additionally, I tried to set COBYLA max iterations to 1 and the spike in memory still occurred. It suggests that indeed something happens during the optimizer initialization.
You can find the code to run the 10 qubits configuration in gist.

Hi, in investigating, so far we have tried with COBYLA and SLSQP and get the same failure, also we tried using Aer statevector instead of BasicAer but have the same failure. Now we tried this using 0.6 version of Aqua, in which VQE uses operators that are now legacy in 0.7. In 0.6 Aqua it worked fine. It also works fine in 0.7 if you use Aer qasm_simulator, which by default uses a snapshot instruction in Aer that makes the outcome behave like the statevector. This mode avoids conversion to matrix format of the operator, which is done for evaluation under the statevector simulator, and where we are are beginning to suspect the issue lies in the new operator flow logic that was introduced in 0.7 which is now doing this conversion.

@woodsp-ibm thank you for the answer! I checked qasm_simulator and it really worked fine.

It appears that the list of paulis (631 of them) is being converted into a list of matrices each having size 4006x4096 (2^12 as there are 12 qubits) of complex128 type. This is 256MB per matrix and consumes a lot of memory. The opflow was done on the basis of lazy evaluation but is leading to excessive memory in this common use case. We will have to look at how things can be improved in this regard.


Laravel 10.48.7 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v10.48.7 branch.
Before merging, you need to:

Checkout the shift-ci-v10.48.7 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8.2. If you are running a different version of PHP you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP environment.


Fix typos - Update ReadMe.md

This seems like an interesting package, and I noticed BoltExt. What is (Bolt.jl that I found, and, possibly synonym) BoltExt?
It's not registered, does that matter for you?
https://github.com/xzackli/Bolt.jl
You calim you don't need e.g. Python, while you depend on PythonCall.jl. That's for optional Python package then, but is it slower to depend on it when not using? I forget how to optionally depend on a package, I think it's Require.jl.

Hi!
Thank you so much for looking into this!

This seems like an interesting package, and I noticed BoltExt. What is (Bolt.jl that I found, and, possibly synonym) BoltExt?
It's not registered, does that matter for you? https://github.com/xzackli/Bolt.jl

Bolt.jl is a library that solves the Boltzmann-Einstein equations to find the distribution of different species of matter right after the big bang. It's role is to provide an alternative way to compute certain related quantites to LimberJack. Hence, why it is an extension. Indeed, it is not registered which is creating issues registering LimberJack itself.

You calim you don't need e.g. Python, while you depend on PythonCall.jl. That's for optional Python package then, but is it slower to depend on it when not using? I forget how to optionally depend on a package, I think it's Require.jl.

LimberJack itself doesn't depend on any python method. But Astronomers love to use python data structures that we need to support to allow interoperability with other tools.

I think you can merge the PR. I didn't plan more here, was just using this space to ask out of curiosity (are you ok with more, here?) And I'm not objecting to PythonCalll.jl strictly (it's great), still it has a bit longer startup than I would prefer, so lazy loading it might be valuable, or just not worry and wait for its startup to improve. Anyway, lazy loading will likely not be a PR from me, at least not part of this one. It's simple though I believe (if most use with Python, and the optional package you suggested anyway, might not be worth it. I just wasn't sure, it at least still seems optional, so potentially used with no Python).

Hi!
I will close this and we can keep talking on an issue!
Thank you once again for the PR!


Predictable RNG sequences under prange.

Feature request

In a prange loop it'd be useful if when np.random.seed(xyz) is called on the main thread if the launched threads then had e.g. xyz + thread index as their seed so as to create predictable per-thread streams. Example:
from numba import njit, prange
import numpy as np

@njit(parallel=True)
def foo():
    N = 100
    ret = np.empty((N,))
    np.random.seed(1234)
    for i in prange(N):
        # set TLS seed to `1234 + thread index`
        ret[i] = np.random.rand()
    return np.sort(ret)

@stuartarchibald, I thought that sequential seeds were discouraged in random number generation. Although it might depend on the seed-to-state function according to this comment (https://github.com/numpy/numpy/issues/13164#issuecomment-501397679)
I'm not an expert in RNG, though, but I've been looking into Numpy's new randomgen and noticed the example they show for how to do parallel RNG: https://docs.scipy.org/doc/numpy/reference/random/multithreading.html

Thanks @luk-f-a, thread-index is a bit meaningless, but noted, sequential selection of a seed is not a good idea. There's going to be some discussion about this at the core developer meeting tomorrow.

You could use SeedSequence which was introduced in NumPy 1.17 to produce deterministic, distributed computation.

Has there been any progress on this issue?  Threading without deterministic random seeds is very desirable for scientific computing--e.g. constant space parallelized CI bootstrapping gets much more complicated to implement if you can't seed the RNG.
Is there some kind of compromise here?  Could prange take in a Sequence that emits integer values?  Or maybe prange could take in some kind of initializer similar to how timeit does in the standard library?  Then the documentation could make it clear that this is an experimental feature and users should do their own due diligence to get good seeds (and they should probably just pass in np.random.SeedSequence(SOME_SEED_VALUE).generate_state(1000) from outside of the numba function).
I know that I could probably do this in Cython (don't get me wrong, I love Cython) but I use numba for the cases where I want things to "just work" and RNG is a really important part of "batteries included".


This dependency was not found: vue-style-loader, css-loader

Hi, i am trying to global stlyle scss file to nuxt conging file but this is the error that pops up when running npm run dev. It reports that dependencies are not isntalled but instead they are.
This is nuxt conf file:
module.exports = {     head: {         meta: [             { charset: 'utf-8' },             { name: 'viewport', content: 'width=device-width, initial-scale=1' }         ]     },     css: [         { src: '~styles/main.scss', lang: 'scss' }     ] }
and the package.json file dev dependencies:
"devDependencies": {
"css-loader": "^0.28.4",
"node-sass": "^4.5.3",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"stylus": "^0.54.5",
"vue-style-loader": "^3.0.1"
}
The error:
ERROR  Failed to compile with 1 errors                                                                                11:02:00 AM
This dependency was not found:

!!vue-style-loader!css-loader!../node_modules/nuxt/node_modules/vue-loader/lib/style-compiler/index?{"id":"data-v-2753b548","scoped":false,"hasInlineConfig":true}!sass-loader!~styles/main.scss in ./.nuxt/App.vue

To install it, you can run: npm install --save !!vue-style-loader!css-loader!../node_modules/nuxt/node_modules/vue-loader/lib/style-compiler/index?{"id":"data-v-2753b548","scoped":false,"hasInlineConfig":true}!sass-loader!~styles/main.scss

Error in a path of main.scss file, try put your file into assets folder and change distanation on ~assets/main.scss

Thanks, it worked.

Just wanted to note that even lots of Vue issues misdiagnosed this problem/error message. Great, and thanks!


About evaluation

I found in the python/diffFacto datasets directory is used to evaluate model performance function.After I run the code, I get an npz file, which contains multiple npy files. Could you please tell me the related purposes of each file

Hi @QiXingRan, Thanks for the question! The npz file contains the following:
"x_sample 0": generated shape at diffusion shape step x
"sample prior 0": the starting position of the cross diffusion
"pred_sample 0" = "pred":  The generated shapes
"pred_seg_mask" = generated segmentation mask for the shapes
"anchors" = the regressed means for each of semantic part of the generated shape.
"input", "input_ref", "ref_seg_mask", "present", "shift", "scale": not used during generation
Let me know if you have any questions


Waypoint: Condense arrays with reduce

To my understanding, the summing should return 30 but it returns 0 and takes it as the correct answer. Have I understood it wrongly or is this any bug? Kindly help me to get clarity on this one.

It does return 30. I think you should check your code.

I am unable to pass this challenge with 0 as my output. If you continue experiencing this problem please provide steps to reproduce, including the code you are submitting.


Move unbroadcasting out to tensor.py

Currently it's duplicated in ops_cpu and ops_gpu. It should be implementable as a second class op.

also reduce_op is unneccesary for scalar grad.

Since it only applies to binary ops, I don't think we should do this.

Since it only applies to binary ops, I don't think we should do this.


[FLINK-12345] [table-planner-blink] Add support for generating optimized logical plan for stream window aggregate

What is the purpose of the change
Add support for generating optimized logical plan for stream window aggregate
Brief change log

refactor batch window aggregate
add RelTimeIndicatorConverter to materialize rowtime/proctime type to timestamp type
add WindowAggregateReduceFunctionsRule to reduce complex aggregate function to simpler forms
add StreamExecGroupWindowAggregateRule to convert logical window aggregate to stream physical window aggregate

Verifying this change
This change added tests and can be verified as follows:

Added WindowAggregateTest that validates physical plan for window aggregate queries
Added RelTimeIndicatorConverterTest that validates plan after materialized

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not documented)

Thanks @godfreyhe ,  it looks good to me now.


feat: Add pause and resume to HasTimeScale mixin

Description

This PR just adds 2 simple method to easily pause and resume the time scaled component.

Checklist

[x] I have followed the Contributor Guide when preparing my PR.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[x] No, this PR is not a breaking change.

Related Issues

NA

Is it weekend in India already? We must have a bigger timezone difference than I thought ;D
LGTM!

Or I might have time traveled and sent the PR from future 😜


Add farming guild redwood to idle notifier

What exactly is this asking for, how does idle notifier have anything to do with a location?

This animation is the same one as usual, so it already works as intended.


Add more examples

Hello!
Is it possible to read old data from a kafka topic ?? I mean reading data that has not came during run-time of the cep-engine ?
Thanks

Hi @Kernelalive, Yes you should be able to re-process old data by resetting your Kafka Streams application. Make sure to configure auto.offset.reset to earliest.

Hello @fhussonnois thanks for replying back.
I will try it and come back with feedback.


The script execution error for Short_term_forecast.

1.When executing the short_time_forecast, running the script ./scripts/short_term_forecast/M4/TimeMixer.sh，results in the following error: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimension. The detected shape was (414,) + inhomogeneous part.

Hi, thank you for your attention to our work. This issue might be related to the NumPy version. You can try downgrading NumPy to version 1.23.0, which should resolve the problem. Please give it a try.


load fails while loading PNG images

I get a sdlExceptionError = "Unsupported image format" while trying to open a png file with the load function. It works fine with gif files though.
I am using linux, ghc 7.10.2 and SDL2 2.0.3

Do you have libpng installed? Try running initialize [InitPNG], does that work?

I installed libpng-dev via apt-get install, this time I get this error:
Exception: SDLCallFailed {sdlExceptionCaller = "SDL.Image.initialize", sdlFunction = "IMG_Init", sdlExceptionError = "PNG images are not supported"}

I'm not sure what causes this. This library's initialize is a very thin wrapper over IMG_Init, so I think you still might not have the needed dependencies? You could try using SDL2_image directly to see whether that works:
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"

int main() {
  int wanted = IMG_INIT_PNG;
  int result = IMG_Init(wanted);
  if ((result & wanted) != wanted) {
    printf("IMG_Init: Failed to init.\n");
    printf("IMG_Init: %s\n", IMG_GetError());
  }
}

Compile like this: gcc image-test.c -o image-test -lSDL2 -lSDL2_image.
If running it fails to load PNG support, there's a deeper issue.

running your program running returns:
IMG_Init: Failed to init.
IMG_Init: PNG images are not supported
I have libpng12-0 and libpng12-dev installed. Do I need something else?

Do you have libsdl2-image-dev installed?
It should come with all needed dependencies.

I am on linux mint, and yes I have libsdl2-image-dev installed.
I will keep looking into it. Thanks for your help.

Reinstalling sdl2-Image from the source at https://www.libsdl.org/projects/SDL_image/ fixed the problem.


Guard against concurrent modification if QueueFile is cleared during

iteration.
Previously, calling clear during iteration would not throw a
ConcurrentModificationException.

Ref https://github.com/square/tape/pull/90#issuecomment-244514015


Blog: RSS Feed

RSS feed doesn’t link to feed site

This should be fixed.

Link to feed works in footer but the Follow our RSS Feed link on blog page doesn't link to a feed page.

Should be fixed.


save_checkpoint_function unused?

In finetune_lora.py, the save_model_checkpoint utility is imported but unused:
https://github.com/Lightning-AI/lit-llama/blob/a1ff82d46caf14bb5386ec94b385b9e7ddf81357/finetune_lora.py#L18
Instead if saves the model like so
https://github.com/Lightning-AI/lit-llama/blob/a1ff82d46caf14bb5386ec94b385b9e7ddf81357/finetune_lora.py#L76
Is this intentional, i.e., does the save_checkpoint_function only work for adapters?

Yes, the unused import is accidental. The save_model_checkpoint is currently only used to add special support for multi-gpu training with deepspeed and fsdp for the finetune_adapter.py script.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2024-03-28T14:36:14+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
a24df8dd2cd0d1500d43306d15df8c51d7025d30
link
true
/test gencheck

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.

/retest


[Bug][symfony_mailer] Cannot use json environment processor to generate array for to_email configuration.

If I use this config:
monolog:
    handlers:
        symfony_mailer:
            type: symfony_mailer
            ...
            to_email: '%env(json:LOGGER_EMAIL_TO)%'
            ...

With the environment variable:
LOGGER_EMAIL_TO='["email<EMAIL_ADDRESS>
An error is returned:
 Invalid type for path "monolog.handlers.symfony_mailer.to_email.0". Expected one of "bool", "int", "float", "string", but got "array".

I can't figure out why the first item in the array would be another array, and I'm unsure whether this is related to the bundle of the environment processor from Symfony core - although I would have thought the core functionality for this would be well tested.
I've probably done something really silly but I can't see what it is.

The parameter to_email does not accept env variables.

Duplicate of #381


data: add go1.15.1, go1.14.8

go1.15.1, go1.14.8 https://groups.google.com/g/golang-announce/c/8wqlSbkLdPs

@danp can I get a hint on the broken unit test?

@omixen Thanks for this. Guessing the failures were a flake, are you able to retry the failed jobs?
I did sync the new files to the S3 bucket but that should be unrelated to the failures.

Actually, sorry, upon further inspection I found the issue. https://github.com/heroku/heroku-buildpack-go/pull/427 should fix it, you'll need to rebase/merge that in once it's merged.

@danp that did it. This should be good for review.


Microphone not turning on, even though the input hint is expectingInput - related to #3357

Version

Version: 4.8.0
Source: CDN
Describe the bug
In my Bot code, I am setting the speak property to true with each activity in the ChannelData as activity.ChannelData = new {speak = true};
Although this is enabling the Text to Speech output on WebChat even if the interaction with the Bot was via text and not speech , the microphone does not get turned on in case of a Prompt with inputHint as "expectingInput".
Steps to reproduce

Set the relevant activity ChannelData properties for the activity used for the Prompt.
Set the inputHint for the Prompt Activity to "expectingInput".
Type a message into the Bot window which replies with a prompt.
TTS output is heard , but microphone does not get turned on.

Expected behavior
Since the inputHint is set as expectingInput, and the speak property is set to true, WebChat must turn on the microphone to enable user Input by voice.
[Bug]

@manish-95 The inputHint attribute exists on the activity, not the channel data. Try setting it on the activity instead.
If this does not work, please let us know and we will track this issue as a bug.

@a-b-r-o-w-n Hi, As mentioned in the repro steps, the inputHint is indeed set in the Activity, not the ChannelData. The ChannelData property for speak is to get the Bot to use TTS and voice out the message. Since the inputHint was set in Activity properties, the issue still holds good.

Sorry I missed that. We have work on our roadmap for the next couple of releases to polish the speech UX. We will address this as part of that effort. Thanks for the report.

Thank you. I know that in previous releases, the mic would only get activated if the previous interaction was via speech input. Will there be an update in this behaviour, to consider the inputHint and channelData properties, while handling the activation of the mic ?
I would be very interested in that feature since it is something that we've been sorely missing in our use-case of the Bot Framework.

For consideration in future releases

Related to #3357 - dev should verify fix for both in same PR

Related to #3357 - dev should verify fix for both in same PR

I tried reproing the issue on webchat 4.10 and 4.11 it is no longer reproing
@manish-95 could you try upgrading and see if this will fix the mic enablement issue.?

I tried reproing the issue on webchat 4.10 and 4.11 it is no longer reproing
@manish-95 could you try upgrading and see if this will fix the mic enablement issue.?

Closing as issue is not repro-ing on latest webchat  4.11

Closing as issue is not repro-ing on latest webchat  4.11


Add MY-ORG to adopters

PR to add VNClagoon to the list of adopters of Flux v1

Thank you for adding your organization to the list of adopters @dpmerron-ltd! :sunflower:
To be able to merge your commit, it requires a sign-off. https://github.com/fluxcd/website/pull/444/checks?check_run_id=3242823664 provides you the steps on how to do this.
I also want to give you a friendly heads up that v1 is becoming more "legacy" every day, and we are encouraging users to plan their migration to v2. A list of guides that help you with this can be found here: https://fluxcd.io/docs/migration/

This might be helpful in case you consider an upgrade, @dpmerron-ltd
https://www.openfaas.com/blog/upgrade-to-fluxv2-openfaas/


Internal tags are showing up in sitemap.xml

Issue Summary
After adding internal tags the tag pages for those tags are listed in yoursite.com/sitemap-tags.xml but will return 404s as they do not have public pages.
Steps to Reproduce

Enable internal tags labs feature
Add some internal tags
Check http://localhost:2368/sitemap-tags.xml
See that the internal tag pages are listed

Technical details:

Ghost Version: 0.9.0

Do I unterstand correctly that you want to remove the internal tags from the sitemap-page, rather than resolve the 404s?

@me-benni correct, internal tags shouldn't appear in the sitemap-tags.xml

Solved here: https://github.com/TryGhost/Ghost/pull/7199#partial-pull-merging

Need to reopen.
Start the server, go to tags, create a new internal tag, navigate to http://localhost:2368/sitemap-tags.xml and see the internal tag.
When i restart the server, the internal tag disappears. The xml doesn't get refreshed. I can see a refreshAll fn in the Base generator, but this function does not get called.


Can "Attribute verification and user account confirmation" in AWS Cognito be setup programmatically in Amplify?

Amplify CLI Version
12.0.0
Question
Hi all.
I was wondering if there is any way to set the "Attribute verification and user account confirmation" programmatically, or do I need to do this manually in the console?
Thanks!

Add a preSignUp Cognito Trigger with the cli and add this:
/* Amplify Params - DO NOT EDIT
	ENV
	REGION
Amplify Params - DO NOT EDIT */ /* eslint-disable-line */

exports.handler = async (event, context, callback) => {
  console.log('event', event);
  if (event.request.clientMetadata && event.request.clientMetadata.autoConfirmUser) {
    // Confirm the user
    event.response.autoConfirmUser = true;
  }

  // Set the email as verified if it is in the request
  if (
    event.request.clientMetadata &&
    event.request.clientMetadata.autoVerifyEmail &&
    event.request.userAttributes.hasOwnProperty('email')
  ) {
    event.response.autoVerifyEmail = true;
  }

  // Set the phone number as verified if it is in the request
  if (event.request.userAttributes.hasOwnProperty('phone_number')) {
    event.response.autoVerifyPhone = false;
  }

  // Return to Amazon Cognito
  callback(null, event);
};

Hey @maziarzamani :wave: thanks for raising this, and thank you @biller-aivy for jumping in here. @maziarzamani does the above example answer your question?

Hey @maziarzamani just wanted to check in here. Are you still experiencing this?

Closing due to inactivity


Missing colon in page title

Nitpick - the page title (as seen in the browser title bar) is missing a colon between "Network security" and "Allow...."
	<meta property="og:title" content="Network security Allow Local System to use computer identity for NTLM (Windows 10) - Windows security" />
Cheers

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

ID: 2042e4d7-06ac-96c0-414a-02c1479344d8
Version Independent ID: 20a0d568-3b2b-7eeb-cdd8-11ad2e780222
Content: Network security Allow Local System to use computer identity for NTLM (Windows 10) - Windows security
Content Source: windows/security/threat-protection/security-policy-settings/network-security-allow-local-system-to-use-computer-identity-for-ntlm.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello @campbellkerr ,
I tried to fix it, however, Microsoft Docs portal doesn't allow using colons in page titles.
Thank you

@campbellkerr, thank you for the feedback. @MaratMussabekov thank you for your help! The article has been updated, and the changes will be live later today.


linking CL terms to UBERON terms

The following terms are lacking a connection to UBERON terms, and I have suggested a part_of for each term.
CL:0000553 (megakaryocyte progenitor cell) - bone marrow (UBERON:0002371)
Ref: http://www.ncbi.nlm.nih.gov/pubmed/9685164
CL:0000038 (erythroid progenitor cell) - bone marrow (UBERON:0002371)
Ref: http://www.bloodjournal.org/content/bloodjournal/79/3/657.full.pdf?sso-checked=true
CL:0000050 (megakaryocyte-erythroid progenitor cell) - bone marrow (UBERON:0002371)
Ref: https://www.nlm.nih.gov/cgi/mesh/2011/MB_cgi?mode=&term=Megakaryocyte-erythroid+progenitor+cells
CL:0000049 (common myeloid progenitor) - bone marrow (UBERON:0002371)
Ref: http://www.bloodjournal.org/content/bloodjournal/79/3/657.full.pdf?sso-checked=true
CL:0000765 (erythroblast) - blood (UBERON:0000178)
Ref: http://medical-dictionary.thefreedictionary.com/erythroblast
CL:0000037 (hematopoietic stem cell) - bone marrow (UBERON:0002371)
Ref: https://www.nlm.nih.gov/cgi/mesh/2011/MB_cgi?mode=&term=Hematopoietic+stem+cells
CL:0000598 (pyramidal neuron) - brain (UBERON:0000955)
Ref: http://www.nature.com/nrn/journal/v9/n3/full/nrn2286.html

Most of these are also found in zebrafish which doesn't have a bone marrow so they cannot be part_of bone marrow.

Thank you for bringing that to my attention.
I think 'blood (UBERON:0000178)' would be the most appropriate term instead of bone marrow.

Is there any progress with linking these terms to UBERON?

It seems that we cannot use the links to UBERON as it is generic for all anatomies.


sbt 1.1.5

Codecov Report

Merging #731 into master will decrease coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #731      +/-   ##
==========================================
- Coverage   51.32%   51.21%   -0.11%
==========================================
  Files         196      196
  Lines       11765    11765
  Branches     1615     1615
==========================================
- Hits         6038     6026      -12
- Misses       5727     5739      +12

Impacted Files
Coverage Δ

core/src/main/scala/spire/math/Interval.scala
66.83% <0%> (-3.09%)
:arrow_down:

core/src/main/scala/spire/math/Algebraic.scala
66.86% <0%> (-1.02%)
:arrow_down:

...ala/spire/math/poly/BigDecimalRootRefinement.scala
85.43% <0%> (ø)
:arrow_up:

core/src/main/scala/spire/math/Rational.scala
95.52% <0%> (+0.23%)
:arrow_up:

extras/src/main/scala/spire/math/FixedPoint.scala
35.51% <0%> (+0.54%)
:arrow_up:

...ore/src/main/scala/spire/math/interval/Bound.scala
48.81% <0%> (+0.78%)
:arrow_up:

...ore/src/main/scala/spire/math/poly/PolyDense.scala
97.36% <0%> (+1.31%)
:arrow_up:

...spire/optional/intervalGeometricPartialOrder.scala
100% <0%> (+6.25%)
:arrow_up:

Continue to review full report at Codecov.

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

👍 Thanks!


FPC RFC

Is your feature request related to a problem? Please describe.
FPC RFC Completed/Accepted by Fabric.
Work-in-progress exists in https://github.com/hyperledger/fabric-rfcs/pull/21 but needs revisions and probably also input from issue #355.

[x] 1. clean-up with focus motivation (value proposition) & scope (which things are not supported) based on current comments

[x] collect work-items (marcus/jeb already having made some?!)
[x] close work-items identified above ...
[x] Add High-level diagram making clear role of TEE & that everything is encrypted/protected outside of TEE
[ ] ~fpc + fabric development models~ (should be covered below)

[x] 2. document(external) functional view details as of Tech Preview (depends on issue #358)

[x] additional cli mgmt commands

[x] content (see PR #376 / docs/design/fabric-v2+/fpc-management.md)
[x] integration in RFC (i.e., reference above doc)

[x] FPC CC/shim API

[x] content (see ecc_enclave/enclave/shim.h)
[x] integration in RFC (i.e., just reference above or "markdown" above for easier consumptipon)

[x] client-side cc execution API (client sdk, cli initially, nothing changed, should be transparent?)
[x] [maybe] development environment given that only (HW) sgx support for linux (-> seamless docker for mac (& windows?), see issue #348)
[x] Roadmap of features

[x] 3. Technical/architectural description

[x] add High-level diagrams on architecture
[x]  UML diagrams (either include as appendix or just just as references to files in repo and how to build)  (depends on issue #355)
[x] maybe short paragraph on Fabric integration/changes?

Given the potentially too big scope of the current single RFC, we might consider splitting it up in separate RFCs. Potential break-down lines could be.

value proposition
external interfaces / programming model
architecture & protocols
fabric integration changes
fpc + fabric development models
The hope would be that this might help in making better progress and also might align better with the split between Tech Preview and MVP?

Here my list of TODOs for the RFC ...

[ ] Add more figures to clarify proposal
[ ] Stress that fact FPC requires code identity (MRENCLAVE); (we don't support multiple implementations for a single chaincode paradigm)
[ ] Describe how to handle peer restarts
[ ] Add key distribution protocol section
[ ] More details on testing; make sure you can develop FPC code on mac

Final review requested https://github.com/mbrandenburger/fabric-rfcs/pull/11
Once this is merged, this issue can be closed,

Merged new revision into the RFC branch. https://github.com/mbrandenburger/fabric-rfcs/pull/11


config goreleaser for travis ci to automatically create a release on new tag

Heya, thank you for the PR. Let me merge it, tag it, and give it a spin.


Windows 10 security

HI,
I am studing which component I should use to hook some print API.
I read some security issues in windows 10.
Especialy the "ProcessDynamicCodePolicy" is problematic, as is explained in link: https://msdn.microsoft.com/en-us/library/windows/desktop/hh769088(v=vs.85).aspx
Will the EasyHook have problem with this new windows security level ?

Depending on what has been configured, yes it could potentially prevent EasyHook from functioning.

In that case what should be disabled? I am currently having the following error with EasyHook on Windows 10 Pro (64 bits):
RhInjectLibrary failed with error code = -1073741801
RtlGetLastErrorString() returns: 00007FFC8A6EEE60

I have disabled Windows defender service, also Exploit protection and SmartGuard.
Thanks

Tested with current EasyHooks DLLs and error now reads:
RhInjectLibrary failed with error code = -1073741801
RtlGetLastErrorString() returns: 00007FFD07DAFEE0

Should I create a new issue?
Thanks.

Still having this issue with no way around it.


vimPlugins.lualine-nvim: add nvim-web-devicons dependency

Listed as a requirement on their documentation
https://github.com/nvim-lualine/lualine.nvim and can remove requiring adding it in nixvim https://github.com/nix-community/nixvim/pull/2080
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

2 packages built:

vimPlugins.lualine-nvim
vimPluginsUpdater


[BrokenLinksH2] fixing broken link

Fixed link in line 225

Docs Build status updates of commit 6d1c05a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/how-to-open-and-add-text-to-a-word-processing-document.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix broken links
@lindalu-MSFT
The Content & Learning team is fixing broken links on docs.microsoft.com for the rest of H2. This effort will eliminate potential accessibility, security, and usability issues. This PR includes only link fixes and does not change other content. Please review within five business days and merge, or comment in the PR with any changes you'd like to see. Thanks!


Task 1, 2, 3, 4, 6, and 7

Issue: #
Make sure to add all the required items as per each issue.

Please make different pull request for each task. Thanks


fix #6, escape (possibly) thrown arguments

Currently this PR just re-uses "effect-freeness" of a statement
computed by inliner.
This is necessary but we lose much analysis accuracy, e.g. now we can't
recognize the target below (i.e. %1 escapes):
julia> @noinline f_noescape(x) = (broadcast(identity, x); nothing);

julia> analyze_escapes() do
           f_noescape(Ref("Hi"))
       end
var"#3#4"()
1 → 1 ─ %1 = %new(Base.RefValue{String}, "Hi")::Base.RefValue{String}
2 ↑ │   %2 = invoke Main.f_noescape(%1::Base.RefValue{String})::Core.Const(nothing)
3 ◌ └──      return %2

This case is particularly because Julia compiler doesn't tell
getfield(::Base.RefValue, :x) is "effect-free" since it's caught by
this field <= datatype_min_ninitialized(s) check.
We may need to improve inference instead rather than doing something in
this pass.

I believe we've talked about this during the meeting, for builtin like Core.arraysize, it is marking args as escaped because it is not effect-free. But to me, this method shouldn't escape the arg. Should we special case this as well?

But to me, this method shouldn't escape the arg.

Why do you think so ?

But to me, this method shouldn't escape the arg.

Why do you think so ?

https://github.com/JuliaLang/julia/blob/42d810559d5bc0d9a4cd5b99b6b449e24faf2780/src/builtins.c#L1330-L1343 In this implementation, apart from the throw, it is just reading a bitstype field.

When thrown, arguments escape through JL_TYPECHK, no ?

OK, that's a fair point..... I forget JL_TYPECHK escapes. Not sure if the potential new lattice element MayEscape fits here.

The highest priority around this problem would be put on #15.


how to change the color of the mask?

i wanna get the masked video in black and white like this

so i wonder how to change the color of the mask and background. thanks a lot!

modify https://github.com/hustvl/EVF-SAM/blob/main/inference_video.py#L176
I guess you simply want the segmentation map, so changing this line to
out = output[i][1].transpose(1,2,0) * 255
may work.

thanks! it works, however, the length of the output (masked) video is less than the length of the input video. how can i fix it?

i found that it is because the frames per second of the output (masked) video are 30, and my input video has 25 fps. thx!


Update to coco 0.8.0

Currently this PR fails with the following error: Failed to pull image "[quay.io/surajd/busybox-encrypted:2024-01-Jan-14-12-10-10](http://quay.io/surajd/busybox-encrypted:2024-01-Jan-14-12-10-10)": rpc error: code = Unknown desc = failed to pull and unpack image "[quay.io/surajd/busybox-encrypted:2024-01-Jan-14-12-10-10](http://quay.io/surajd/busybox-encrypted:2024-01-Jan-14-12-10-10)": failed to extract layer sha256:82ae998286b2bba64ce571578647adcabef93d53867748d6046cc844ff193a83: failed to get stream processor for application/vnd.oci.image.layer.v1.tar+gzip+encrypted: exec: "ctd-decoder": executable file not found in $PATH: unknown


devon/repl_fix

Codecov Report

Merging #57 into develop will decrease coverage by 3.78%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #57      +/-   ##
===========================================
- Coverage    97.59%   93.81%   -3.79%
===========================================
  Files            6        6
  Lines          583      598      +15
  Branches        90       96       +6
===========================================
- Hits           569      561       -8
- Misses           8       32      +24
+ Partials         6        5       -1

Impacted Files
Coverage Δ

dork/game_utils/game_data.py
100% <ø> (ø)
:arrow_up:

dork/types.py
92.88% <100%> (-4.38%)
:arrow_down:

dork/repl.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Contact customfield page - When filter with more characters then filtered name go out of box

Describe the bug

When there is more characters name filtered then it get out of box


Fix BigNumber from method error

Description
BigNumber.from() throws an error when there is more than 15 digits provided, this error falls into sentry. I am not sure that we should process this specifically.
Or may be we can restrict typing more than 15 digits in inputs. what do you think @pkattera @garethfuller ?
or show some hint?
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Visual context
Please provide any relevant visual context for UI changes or additions. This could be static screenshots or a loom screencast.
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[ ] The base of this PR is master if hotfix, develop if not

this pr is no more actual. error is fixed by https://github.com/balancer-labs/frontend-v2/pull/2522


'#' in database name cause a bug in web ui

i created two dbs named by warden#hongkong and warden from web ui, it is success.
but i cann't insert record into warden#hongkong,
even more when i delete warden#hongkong, the server will delete warden not warden#hongkong.
i install influxdb-0.7.3 from brew.
thanks a lot

This has been fixed in 0.9.0.
$ curl -G 'http://localhost:8086/query' \
> --data-urlencode "q=CREATE DATABASE mydb#"
{"error":"error parsing query: found #, expected ;, EOF at line 1, char 21"}

It's no longer possible to create a database with a # in the name.

Thanks a lot for your great work!


add better feedback on upload status

watched user try it and there was no indication of status.

this is a duplicate issue


Question: Accessing modules living in different window object?

What is a good/proper/recommended way to access modules in a different window object?
For example, take the iframe scenario (assuming same domain) below:
module Container {
    export function magic() { /*...*/ };
}
module Frame {
    function doContainerMagic() {
        window.parent.Container.magic(); // COMPILER ERROR
    }
}

"Casting to a module" seems not possible. Would #420 (modules implementing interface) provide a possible solution?

@reezom, if your code actually works then you probably only need a type assertion:
module Container {
    export function magic() { /*...*/ };
}

interface iFrame extends Window {
	Container: typeof Container;
}

module Frame {
    function doContainerMagic() {

        (<iFrame>window.parent).Container.magic();
    }
}

@NoelAbrahams Thank you, that solves it.
Having learned that modules have a type, I ended up with:
module Container {
    export function magic() { /*...*/ };
}

module Frame {
    function doContainerMagic() {
        (<typeof Container>window.parent["Container"]).magic();
    }
}

Yes, that'll work, but may create problems one day when --noimplicitany is turned on. In fact there's  no need for the type assertion, because accessing Container via the bracket notation effectively renders the type to any:
    function doContainerMagic() {
        window.parent["Container"].magic22();
    }


Ubuntu NTP Server Missing.

Databricks also needs access to the Ubuntu NTP server:  ntp.ubuntu.com.
If deploying Databricks on a VNET and routing traffic via a Firewall, we can see Databricks trying to get to a number of IP addresses related to ntp.ubuntu.com on port 123 UDP. This isn't covered on this page

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

ID: a44cbeaf-af2c-ef7e-b411-24556279d898
Version Independent ID: aaced3ee-7d7c-a9d6-a81b-b132674fa055
Content: User-defined route settings for Azure Databricks - Azure Databricks
Content Source: databricks/administration-guide/cloud-configurations/azure/udr.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@pnarsi Thank you for sharing feedback. We are actively validating it. We will share updates soon.

@mssaperla / @leifbro Could you please validate customer feedback and enhance document as appropriate? Thank you.

#please-close


Wrong hover on machine-scoped settings

Verifying https://github.com/microsoft/vscode/issues/73985#issuecomment-522013185
php.validate.executablePath has the machinescope.
On a remote window, open the  workspace settings and paste
"php.validate.executablePath": "asdad"
Hover should say that it can only be applied in 'machine' settings.

In a remote window, the setting can also be configured in a user setting.
https://github.com/microsoft/vscode/issues/73985#issuecomment-522013185 says it should only be allowed in machine settings, so not sure what's the expected behaviour.

@aeschli

In a remote window, the setting can also be configured in a user settings (by adding it to the settings.json editor, no error hover)

This is correct. Updated the comment.
A machine setting can be configured only at machine level (local or remote).

Hover should say that it can only be applied in 'machine' settings.

Since we do not surface machine settings in UI, I would rephrase as follows
This setting can only be applied in user settings in local window or in remote settings in remote window.


Border Radius does not take effect when Container contains platform view

Border Radius does not take effect when Container contains platform view

@Lillls Please provide some code snippet or self-contained app that demonstrates the bug. Also provide your flutter doctor -v output.

some code snippet
`Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(20)),
),
child: Platform.isAndroid
? AndroidView(
viewType: "NativeAdView",
creationParams: creationParams,
onPlatformViewCreated: (id) {
if (this.onCreateListener != null) {
onCreateListener(id);
}
},
creationParamsCodec: const StandardMessageCodec(),
)
: UiKitView(
viewType: "NativeAdView",
creationParams: creationParams,
onPlatformViewCreated: (id) {
if (this.onCreateListener != null) {
onCreateListener(id);
}
},
creationParamsCodec: const StandardMessageCodec(),
),
);'

doctor -v
[✓] Flutter (Channel unknown, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F132,
    locale zh-Hans-CN)
    • Flutter version 1.7.8+hotfix.4 at /Users/lixxy/Library/flutter
    • Framework revision 20e59316b8 (10 周前), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/lixxy/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • CocoaPods version 1.7.5

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2019.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    • Dart plugin version 191.7830
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (3 available)
    • Pixel • FA69K0307575 • android-arm64  • Android 7.1.2 (API 25)
    • macOS • macOS        • darwin-x64     • Mac OS X 10.14.5 18F132
    • web   • web          • web-javascript • Google Chrome 77.0.3865.90

@Lillls is it the same using current stable version?

@Lillls Please provide some code snippet or self-contained app that demonstrates the bug. Also provide your flutter doctor -v output.

doctor -v
[✓] Flutter (Channel unknown, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F132,
    locale zh-Hans-CN)
    • Flutter version 1.7.8+hotfix.4 at /Users/lixxy/Library/flutter
    • Framework revision 20e59316b8 (10 周前), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/lixxy/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • CocoaPods version 1.7.5

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2019.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    • Dart plugin version 191.7830
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (3 available)
    • Pixel • FA69K0307575 • android-arm64  • Android 7.1.2 (API 25)
    • macOS • macOS        • darwin-x64     • Mac OS X 10.14.5 18F132
    • web   • web          • web-javascript • Google Chrome 77.0.3865.90

@Lillls is it the same using current stable version?

some code snippet
Container(
      decoration: BoxDecoration(
        borderRadius: BorderRadius.all(Radius.circular(20)),
      ),
      child: Platform.isAndroid
          ? AndroidView(
              viewType: "NativeAdView",
              creationParams: creationParams,
              onPlatformViewCreated: (id) {
                if (this.onCreateListener != null) {
                  onCreateListener(id);
                }
              },
              creationParamsCodec: const StandardMessageCodec(),
            )
          : UiKitView(
              viewType: "NativeAdView",
              creationParams: creationParams,
              onPlatformViewCreated: (id) {
                if (this.onCreateListener != null) {
                  onCreateListener(id);
                }
              },
              creationParamsCodec: const StandardMessageCodec(),
            ),
    );

@Lillls Please provide some code snippet or self-contained app that demonstrates the bug. Also provide your flutter doctor -v output.

some code snippet
Container(
      decoration: BoxDecoration(
        borderRadius: BorderRadius.all(Radius.circular(20)),
      ),
      child: Platform.isAndroid
          ? AndroidView(
              viewType: "NativeAdView",
              creationParams: creationParams,
              onPlatformViewCreated: (id) {
                if (this.onCreateListener != null) {
                  onCreateListener(id);
                }
              },
              creationParamsCodec: const StandardMessageCodec(),
            )
          : UiKitView(
              viewType: "NativeAdView",
              creationParams: creationParams,
              onPlatformViewCreated: (id) {
                if (this.onCreateListener != null) {
                  onCreateListener(id);
                }
              },
              creationParamsCodec: const StandardMessageCodec(),
            ),
    );

I was asking, is it the same when you change to current v1.9.1+hotfix.2 stable flutter version?

yes,it is the same.

Have you checked if this is still a problem on master? Would be great if you could to this.

This happens in both Android and iOS

I will try to check out master

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


Create a space between "welcome" and "Story" sections.

My plan is to create a div area with a distinct background color to denote a seperation.


Fix long page titles getting cut off

Description of the bug
UI tweak; Long page titles get cut off abruptly which can look a bit janky in my opinion.
Here is an example of it:

Here is my attempt at tweaking it which ended up looking worse (a box shadow that kindof makes the text fade into nothing). I think we should have it the same as on the navigation where we cut off at x characters and suffix with …

Version
Branch: 2023.3.0-dev.5.1
Reporter: Tomaz (Test fest)
Browser: Firefox

Tested and confirming that this now works as expected. I also added the following CL entry:
Fixed:

{
      "what": [
        "long page titles being cut off."
      ],
      "how": [
        "by truncating long titles to prevent cut off."
      ],
      "refs": [
        "https://github.com/cortezaproject/corteza/pull/1069/commits/583a4e8b994497049adc17fb064dfca4806cd6f8"
      ]
    }


fix(auth): Export some types required by TypeScript typings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.479%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
172

Relevant Lines:
172

💛  - Coveralls


Extend OboOntology to include the Document header tags

An OBO document is structured as follows:
<header>

<stanza>
<stanza>
...

We currently only parse [Term] and [Typedef] stanzas, ignoring the document header.
The document header section is consisting of defined key-value pairs, just as the stanzas, see https://owlcollab.github.io/oboformat/doc/GO.format.obo-1_4.html#S.2.1

can this be closed @omaus ?


Reimplementation in RL4CO

Hi there 👋🏼
First of all, thanks a lot for your library, it has inspired several works in our research group!
We are actively developing RL4CO, a library for all things Reinforcement Learning for Combinatorial Optimization. We started the library by modularizing the Attention Model, which is the basis for several other autoregressive models. We also used some recent software (such as TorchRL, TensorDict, PyTorch Lightning and Hydra) as well as routines such as FlashAttention, and made everything as easy to use as possible in the hope of helping practitioners and researchers.
We welcome you to check RL4CO out ^^

Thanks for your quick answer 🚀

In terms of performance: yes! While reimplementing the AM we carefully checked whether everything was working step-by-step; in the exact same settings as the original code (same parameters, learning rate, batch sizes,  validation datasets...) we actually obtained slightly better performance:

with the only difference being the MHA module with the linear bias set to true -  the bump in the performance of the last 20 epochs is a step of MultiStepLR scheduler.
In terms of training time: this depends on the implementation. To be honest, your code was already really well-optimized although it has been around for a few years! In theory, we should get similar / slightly better performance since we use FlashAttention in the encoder. In practice, however, we found that we are slightly slower with the same hyperparameters (on a single RTX 3090 we can train your original AM for TSP50 in 14 hours and ours in 15 hours). The reason is that we use TensorDicts and TorchRL environments - we found the "culprits" are data loading and most importantly the fact that we need to re-create on the fly TensorDicts with large batch sizes at each step, which has a pretty big impact on performance. One simple way to solve this is to just refactor environments in pure PyTorch. Right now we are in contact with the TorchRL team and there have been several updates (just a few hours ago, the stable TensorDict 0.2.0 was released), so we plan to solve this in the next couple of weeks ;) There is another trick to noticeably improve performance. Setting mask_inner to False enables the FlashAttention routine during decoding (so for each step) and the training above takes 12.5 hours, even with the current slow TensorDict problem!  This of course, does degrade performance, but FlashAttention with masking may be added in the near future, so it holds good promise!
In terms of evaluation time: we found our evaluation script to be slightly faster - but if we check a single forward pass of the model, we get a similar trend as above, so we think there may have been some bottleneck in the eval script.

We would be more than happy to address your feedback if you check out RL4CO, you may contact us any time 😄

(Late) edit: now we are way more efficient as explained here!

Great! I have added a link in the readme. However, I wonder if you have also had a look at https://github.com/cpwan/RLOR, they claim a 8x speedup over this repo using PPO.

Yes, we are aware of it!
From our understanding and our testing, their speedup is actually considered as the time to reach a certain cost as seen in Table 4. AM trains TSP 50 reaching 5.80 in 24 hours, while their PPO implementation - with some training and testing tricks - takes 3 hours.
So, it is not a speedup per se - actually, due to the environment being in Numpy, even though vectorized, data collection is naturally a bottleneck - but rather, the time to reach a target performance. Besides, the comparison is made with their AM trained with PPO with larger batch size and learning rate and tested with the "multi-greedy" decoding scheme during inference (what in RL4CO we call multistart, i.e., the POMO decoding scheme that starts decoding from all nodes and then takes the best trajectory), while the baseline AM is just evaluated with one-shot greedy decoding.
For these reasons, we think the 8x speedup claim is a bit overstated 👀


HAWK Authentication uses wrong content type for graphql requests

Expected Behavior
Authentication process should pass on server.
Insomnia should use content-type header for payload hash computation
Actual Behavior
Authentication process fails due to wrong content type used by insomnia for hash computation
Reproduction Steps

Make a GraphQL Request with HAWK Authentication
Obviously it will use by default content-type: application/json in headers section
Send a request
Authentication fails even though HAWK's auth id and key are correct

I've debugged it in dev tools and turned out that insomnia ignores content-type header and uses body.mimeType instead which will be application/graphql in case of graphql requests.
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
You're using @hapi/hawkbut this is no longer maintained. You should upgrade to hawk
I wanted to fix it on my own but apparently this part of code is nor available in this repository?
Insomnia Version
2022.3.0
What operating system are you using?
macOS
Operating System Version
OSX 12.4
Installation method
insomnia.rest
Last Known Working Insomnia version
No response

Hi @wookieb, thank you for reporting this!
Any chance you can share some public working example of HAWK Auth + GraphQL that we can use to test this out?

Hi @filfreire  - I will later today.

Here you go. Details in readme https://github.com/wookieb/insomnia-issue-4855


Add support for dependency

See this: https://developer.android.com/reference/android/preference/Preference.html#attr_android:dependency
Alternatively,
an enabled state can also be added to allow/disallow interacting with a Setting.

Interesting thing...
I will try to add the enabled feature first so dependency could be mocked by developer.
Thanks

Working on #102

Hi @ItzNotABug .
Please. Check version 0.18.0, as it contains the ability to disable items.
I not added yet the dependency thing but I think you can achive it by using the new enabled param of Settings tiles (both m2 and m3).

Hey @alorma,
I'm trying to use SettingsListDropdown but seems like the enabled parameter is added to SettingsList* components but it is not implemented in m2.

Oh...
Maybe I missed it?
Let me add it

Ok @ItzNotABug Try now with version 0.19.0As I've forgot to pass the param to the correct composables 😓

Hey @alorma,
Thanks for the quick updates!
However you missed to update the SettingsMenuLink so I created a PR that completes this implementation along with a another misc fix.

Releasing 0.20.0. thanks for your contribution


Stop data refetching when clicking away from blog writing page

Because of useQuery, data is automatically refetched when returning to a page which can cause unsaved changes to be replaced with old data.
We need to stop this behaviour so that the user does not lose unsaved changes on the settings and new blog post pages.

This should be fixed in the current release. #139


Use runtime checks to enable handles and real GC.

Work in Progress. Need to validate this works as expected.

Manually picked to https://github.com/Unity-Technologies/runtime/pull/216


Performance inprovement

add option to output text on intervall with reading in the config file only once on startup instead of every time the program is ran

and or put a cache file that caches the most recent even to avoid reading the whole config everytime the command is queued
add a option for force updating cache
detect changes to the config file and force update cache automatically if config file is newer then the cache


Fix scripts on windows

Convert clean task into node script to work cross-env
Remove quotes from build-lib task, so tests folder isn't transpiled
Add watch task for better local dev

What is going on here?

Bad rebase, most likely.

My bad, I goofed. I wasn't paying attention and chose master as base branch. Changing to v4 didn't save me


Fix bug in layer.save_own_variables

layer.save_own_variables(store) doesn't save sub-layer variables. Can change to self.trainable_variables + self.non_trainable_variables if we don't want to save seed generator state.
Repro:
model = keras.Sequential([
    keras.layers.Conv2D(32, kernel_size=(3, 3), activation="relu"),
    keras.layers.MaxPooling2D(pool_size=(2, 2)),
    keras.layers.Conv2D(64, kernel_size=(3, 3), activation="relu"),
    keras.layers.MaxPooling2D(pool_size=(2, 2)),
    keras.layers.Flatten(),
    keras.layers.Dense(256, activation="relu"),
    keras.layers.Dense(10),
])
model.compile(
    loss=keras.losses.SparseCategoricalCrossentropy(from_logits=True),
    optimizer=keras.optimizers.SGD(0.1),
    metrics=[keras.metrics.SparseCategoricalAccuracy()],
)
model.build((None, 28, 28, 1))

>>> print(model.variables)
[<KerasVariable shape=(3, 3, 1, 32), dtype=float32, path=sequential/conv2d/kernel>,
 <KerasVariable shape=(32,), dtype=float32, path=sequential/conv2d/bias>,
 <KerasVariable shape=(3, 3, 32, 64), dtype=float32, path=sequential/conv2d_1/kernel>,
 <KerasVariable shape=(64,), dtype=float32, path=sequential/conv2d_1/bias>,
 <KerasVariable shape=(1600, 256), dtype=float32, path=sequential/dense/kernel>,
 <KerasVariable shape=(256,), dtype=float32, path=sequential/dense/bias>,
 <KerasVariable shape=(256, 10), dtype=float32, path=sequential/dense_1/kernel>,
 <KerasVariable shape=(10,), dtype=float32, path=sequential/dense_1/bias>]

store = {}
model.save_own_variables(store)

>>> print(store)
{}

That's the intended behavior. That's why there's "own" in the method name.
The way you save all variables non-redundantly is by recursively traversing the trackable structure and calling save_own_variables on the leaves.
Note that save_own_variable is never intended to be called by users. It's intended to be implemented by layer creators who need to customize how saving works for their layer (note: needing this is exceedingly rare).
If you just want to save the variables of a layer, do .save_weights().

My bad, turns out the issue I was running into was due to an inconsistency in how the model was constructed in the place where it was saved versus where it was loaded.


Policy port range changes

Policy port range changes back ported enforcerd master.

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1980",
    "commit-sha": "127a2cac462228a9c8e7357e74a74f530bab63a4",
    "pipeline": "release-3.14.0"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "1038",
    "commit-sha": "54093208f10a12b7e09781f93200c23790c90ac8",
    "pipeline": "release-3.14.0"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "1038",
    "commit-sha": "24d9ddc9f2a3d086f79ac27255fd1dba40c1205c",
    "pipeline": "release-3.14.0"
  },
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1980",
    "commit-sha": "127a2cac462228a9c8e7357e74a74f530bab63a4",
    "pipeline": "release-3.14.0"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "",
    "component": "enforcerd",
    "pr-id": "1980",
    "commit-sha": "21a8616f5dca8b402b6fe33f81e761ff37e96d4c",
    "pipeline": "release-3.14.0"
  },
  {
    "project": "",
    "component": "trireme-lib",
    "pr-id": "1038",
    "commit-sha": "ebcc52b68c4a205472c5ffc46964702a90823664",
    "pipeline": "release-3.14.0"
  }
]


Fix test failure caused by colored status of svn

I don't know why, but in my environment test fails because of colored output of svn status.

manually merged


Feature/cu ed3w28 show landing zone name in tenant view

Task linked: CU-ed3w28 Show landing zone name in Tenant view


[Enhancement] (nereids)implement alterWorkloadPolicyCommand in nereids

alterWorkloadPolicy command is supported in legacy planner but not in nereids(new doris fe planner). you need implement the following alterWorkloadPolicy command in nereids:
unsupportedalterWorkloadPolicyStatement
    properties=propertyClause?                                                  ```

i will pick it.


Hardcoded npm registry

The create-sst package has registry.npmjs.org hardcoded, which can cause issues for users with network restrictions in place.
Ideally it should use the same configuration as npm/yarn, perhaps by invoking npm instead of using fetch, but at a minimum there should be some way to change the behavior (i.e. use NPM_CONFIG_REGISTRY).
https://github.com/serverless-stack/sst/blob/f4ba1ab6e013e9c12e54b4f708238b6b439f860d/packages/create-sst/src/index.mjs#LL234C28-L234C28

It also doesn't honour http_proxy(s) environment variables

Oh would appreciate a PR!

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Provide Visual Indication of Rune Dial

I have never double clicked on the rune dial to actually get that pop-up.  It's amazing!  You need to add a UI element so people actually find it..

Yeah, I am unsure how to make it apparent and non-invasive.

Maybe an arrow button [ > ] below the sets.  Having a UI element prompts a user to try it.


Make links on app pages in Happa open in new window/tab

Currently, links in the about details page of Apps open in the same tab, i.e. they lead the user away from their task at hand (installing or configurin an app) and into github. Usually the use case behind those links for the user is to gather additional info to either configure the app or make a decision if it's the right one (that was how I used it in last weeks hackathon). Thus, IMHO the links should open on top and not replace the Happa site in the window.

For @giantswarm/sig-ux : Should we have a guideline to make all links pointing to a non-happa target open in a new window?

For @giantswarm/sig-ux : Should we have a guideline to make all links pointing to a non-happa target open in a new window?

@puja108 For the future, this type of issue can probably go straight into the chapter front end backlog.

@puja108 For the future, this type of issue can probably go straight into the chapter front end backlog.

@oponder yeah, good to know, I wasn't sure and Chiara suggested putting it here

@oponder yeah, good to know, I wasn't sure and Chiara suggested putting it here

Closing as solved in https://github.com/giantswarm/happa/pull/2012

Closing as solved in https://github.com/giantswarm/happa/pull/2012


Create glubo.is-local.org

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description

I wanted to self host a nextcloud server but unfortunately, my ISP has blocked port forwarding on the router. Another option was tunneling, I tried various tunnel services like ngrok but they all had the warning page which didn't let me connect to the server using nextcloud mobile and desktop clients and cloudflare tunnel requires you to have a domain. Is it possible use open-domains for cloudflare tunneling of a locally hosted server?
Link to Website

Here's a temporary tunnel using serveo: https://glubo.serveo.net/

Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

I have read the CLA Document and I hereby sign the CLA


[UI] Show warning that 8080 can't be used for LB

The load balancer cannot currently support a source port of 8080 due to #480.  Show a message in the UI to warn the user and prevent saving if any listeners are 8080 until the underlying issue is fixed.

Tested with Server Version - V0.16.0
When port 8080 is typed in Listener "source" field , following error message is presented:
"Note: Port 8080 cannot currently be used as a source port."
If user still does not change the port and tries to create LB , he is presented with error message "Port 8080 cannot currently be used as a source port"
closing this issue


Expose atom values as 0-arity macros

The runtime behaviour of a called macro is identical to simply using
the raw atom. However, invoking it as a macro provides compile-time
validation that the value exists on the Enum.

In the unit tests we validate that when we try to call a non-existing value it produces a function error. However, at compile time we also get a warning. With module code like this:
defmodule DefinedEnum do
  use EctoEnum, foo: 1
end

defmodule EnumUser do
  require DefinedEnum

  def echo do
    IO.inspect(DefinedEnum.bar())
  end
end

We get the following with iex -S mix:
Compiling 2 files (.ex)
warning: function DefinedEnum.bar/0 is undefined or private
  lib/ecto_enum.ex:172

Hi @gjaldon , any thoughts about this PR, positive or negative?

Hi @subsetpark. A few things:

Why not use a function instead of a macro? I think you will get the same compile time warnings and UndefinedFunctionError as a macro.
What value is there in having function/macro defined for the particular enum value? Are you after the compile-time warnings?

Hey @gjaldon , thanks for the questions.

With a macro, all the logic is done at compile time, ensuring that there’s no stack overhead in a function call and no reference in the trace back to a mystery function.

Mostly the compile time warnings. It allows us to verify that the value we think is an enum is, in fact defined as one.

It also allows us to visually mark that the value is an enum and not just a free floating atom. In addition to the benefit of being able to namespace and give greater confidence about the source of this value, it also means that readers and editors will understand that changing this value might have side effects. The only semantics of an atom are identity; on the other hand, the semantics of an enum are tied directly to its translation into the database value.

Additional color for point (1) - it avoids the problem mentioned in PR #90 :+1:

Note: this works for some cases but not inside matches and in function heads. To make these work cleanly it needs to be a defmacro and be inlined during compilation.

Any chance of revisiting this? 🙏 😄


Code Highlighting Broken

The green background of highlighted code fails to show the white text. I've tried a few different pages, but the issue is only appearing on this page. The issue appears on both the light and dark theme.
I'm using Google Chrome 75.0.3770.90. The issue still persists in a new incognito window. It's also appearing in Firefox 67.0.4.

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

ID: 28ae5984-32b1-13b6-7430-6a28460b42ce
Version Independent ID: 20dc0e1d-d582-c091-8243-cefbb1825397
Content: Razor Pages unit tests in ASP.NET Core
Content Source: aspnetcore/test/razor-pages-tests.md
Product: aspnet-core
Technology: aspnetcore-test
GitHub Login: @guardrex
Microsoft Alias: riande

Text with syntax highlighting appears, but the normal white text does not.

Hi ... We have an open issue with the docs engineers to address the broken code blocks. #13143


distributed training

Does keras support distributed training? Can I use tensorflow's distributed training tools?

You could use something like the 'BatBot' architecture to implement distributed training.
It captures images and associated training text for later batch submission.
Then, once new models are generated, it is easy to move them into place.
https://github.com/LeeHounshell/BatBot

Distribution over multiple GPUs is already provided for custom object detection. For custom object there is no chance to use any other tool apart from setting different number of GPUs.
you can also edit the source code to apply them anyway

I'm trying to distribution train imageai with horovod .

Hello ,
I'm trying to train a Yolov3 architecture, with multiple GPUs, with no luck. However , with one GPU it works as observed below:

I've tried using the tf.dsitribute.Strategy class as suggested by tensorflow (this can be observed here https://www.tensorflow.org/guide/distributed_training) , but have had no luck. Further , there seems to be a method in the DetectionModelTrainer class , which is named SetGpuUsage. However,  if I type in either a string(with comma separated values or a int ) it does not use more than one GPU available. This can be observed below :

Lastly, there is a multiple_gpu model function in the detection.custom.util, as observed here :

This function or method gets used in the _create model method inside the DetectionModelTrainer class, so I'm not sure if I should change the code in the SetGpuUsage method or on that multiple_gpu util function?
Any help would be greatly appreciated
Best Reagrds,
Edwin Aguirre


Not working right now

TypeError: Cannot read properties of undefined (reading 'defaultBotObject')
I'm receiving this error, this was working yesterday, did they change anything ?

Poe api changed, anyways already fix it install latest version 0.1.7