handle parsing exceptions in hadoop indexer

In the reducer of the Hadoop indexer, exceptions are sometimes thrown for invalid column values. This change ignores those lines if 'ignoreInvalidRows' flag is enabled, similar to the mapper.

Other data solutions have a setting for how many input rows can be bad before a job fails, and often have a way to store the bad rows in their own output so they can be cleaned up later.
Is this expected to be bad because the row had a read error or because the data itself is corrupt?

How to deal with the bad rows properly depends on the data set and individual requirements, and so it should be configurable. At minimum though, if they're set to be ignored, I think it's a good idea to log them somewhere (perhaps a file?) for debugging purposes. For my particular use case, there's nothing I can do with the bad rows other than ignore them, since the some of the fields in the log lines are externally-generated.
My change in this PR is to simply honor the ignoreInvalidRows flag that is specified in the indexer config file, which already works for the mappers.

@dkharrat : can you make the title of the PR something more like "Honor ignoreInvalidRows in hadoop indexer"

@dkharrat this code is already there in HadoopDruidIndxerMapper which honors the "ignoreInvalidRows" configuration. Reducer will not even get the record if there was a problem with parsing it.
can u describe the case where reducer can get the malformed record?

@drcrallen done, I updated the title.
@himadrisingh001 yes, the mapper also ignores malformed records, but it only parses the line based on the ParseSpec and doesn't parse the individual column values. In my case, I had a perfectly valid CSV line (so mapper succeeded in parsing it), but the column value was invalid (an integer was expected for a particular column, but got a string instead), so when the index tries to parse the column value, an exception is thrown. My change handles that case.

thanks @dkharrat that sounds reasonable. i agree with @drcrallen on including parser.parse inside try-catch block.

@dkharrat Thanks for the contrib! Do you mind signing our CLA: http://druid.io/community/cla.html

:+1:

@himanshug i like your idea of using debug level to log invalid lines. I just updated the commit with this change.

@fjy sure, I just submitted the CLA form.


Enhanced text-format with text-format-splitter

Enhanced text-format with text-format-splitter
Ref :  https://github.com/dmachard/go-dnscollector/issues/587

Could you resync your branch with the origin main code and resolves conflicts ?


modules/noneGraphicalOverlay: rename from noXlibs to reduce confusion

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

[x] 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

[x] Fits CONTRIBUTING.md.

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

@Scrumplex thanks for the review!

@SuperSandro2000 Now that noXlibs has been unfortunately ripped out of nixpkgs, do you plan on putting this module in a public flake somewhere? I'll fix my builds by using a copy of the last available version, but I'd rather follow an 'upstream' where these overrides can be shared.

I prefer them to be in nixpkgs.

@SFrijters I've put it into NüschtOS/nixos-modules
Feel free to create issues/PRs over there if you encounter problems and I see what we can do. Probably some things will be considered won't fix but we can talk about that in the repo.


ModuleNotFoundError

Describe the bug
Traceback (most recent call last):
File "G:/量化研究/youmy/量化配置/BL.py", line 44, in
from pypfopt import black_litterman, risk_models
File "D:\Python\lib\site-packages\pyportfolioopt-1.5.1-py3.7.egg\pypfopt_init_.py", line 8, in
ModuleNotFoundError: No module named 'pypfopt.efficient_frontier'

Hi
i am trying to use the B-L moudel in [PyPortfolioOpt]
I download it from github and setup on my PC in local environment.
And i am sure pyportfolioopt-1.5.1-py3.7.egg is in the path D:\Python\lib\site-packages now.
i also rename the filename from  PyPortfolioOpt into pyportfolioopt
but it still report this error , how should i fix this problem?
Many thanks

fixed


Crash when multiple portal transport happens in same tick

crash-2021-01-03_21.13.46-server.txt
Guessing that's the cause of the crash, had 7 players in same server but ran normally for 26 hours and it happened
2:45] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Exception ticking world
at dimthread.util.CrashInfo.crash(CrashInfo.java:28) ~[DimThread-1.2.2.jar:?]
at net.minecraft.server.MinecraftServer.handler$bcf000$tickWorlds(MinecraftServer.java:5251) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:857) ~[intermediary-server.jar:?]
at net.minecraft.class_3176.method_3813(class_3176.java:303) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:808) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.handler$bdl000$modifiedRunLoop(MinecraftServer.java:6297) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:648) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:254) ~[intermediary-server.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) ~[?:1.8.0_275]
at java.util.HashMap$KeyIterator.next(HashMap.java:1469) ~[?:1.8.0_275]
at net.minecraft.class_3218.method_8413(class_3218.java:1002) ~[intermediary-server.jar:?]
at net.minecraft.class_1937.method_30092(class_1937.java:251) ~[intermediary-server.jar:?]
at net.minecraft.class_1937.method_8652(class_1937.java:217) ~[intermediary-server.jar:?]
at net.minecraft.class_1937.method_8501(class_1937.java:321) ~[intermediary-server.jar:?]
at net.minecraft.class_2513.method_9514(class_2513.java:74) ~[intermediary-server.jar:?]
at net.minecraft.class_4970$class_4971.method_26199(class_4970.java:878) ~[intermediary-server.jar:?]
at net.minecraft.class_3218.redirect$zde000$redirectBlockStateTick(class_3218.java:3034) ~[intermediary-server.jar:?]
at net.minecraft.class_3218.method_18203(class_3218.java:517) ~[intermediary-server.jar:?]
at net.minecraft.class_3215.method_20801(class_3215.java:390) ~[intermediary-server.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_275]
at net.minecraft.class_3215.method_14161(class_3215.java:368) ~[intermediary-server.jar:?]
at net.minecraft.class_3215.method_12127(class_3215.java:337) ~[intermediary-server.jar:?]
at net.minecraft.class_3218.method_18765(class_3218.java:348) ~[intermediary-server.jar:?]
at net.minecraft.server.MinecraftServer.md293693$lambda$null$0$2(MinecraftServer.java:5241) ~[intermediary-server.jar:?]
at dimthread.DimThread.swapThreadsAndRun(DimThread.java:34) ~[DimThread-1.2.2.jar:?]
at net.minecraft.server.MinecraftServer.md293693$lambda$tickWorlds$1$1(MinecraftServer.java:5239) ~[intermediary-server.jar:?]
at threading.ThreadPool.lambda$null$1(ThreadPool.java:50) ~[6effe1d5-f352-4702-b854-0dcb1398d62e.jar:?]
at threading.ThreadPool.lambda$execute$0(ThreadPool.java:44) ~[6effe1d5-f352-4702-b854-0dcb1398d62e.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_275]
... 1 more

The crash report you have provided does not seem to match the logs you sent. It seems to be related to the entity navigation list getting modified asynchronously. I see no way this would ever happen in vanilla since each world is responsible for its own list. It might be another mod doing something wrong OR being incompatible with dimthread. Considering it took 26 to crash though, it will not be trivial to test which mod's fault it is.

The crash report you have provided does not seem to match the logs you sent. It seems to be related to the entity navigation list getting modified asynchronously. I see no way this would ever happen in vanilla since each world is responsible for its own list. It might be another mod doing something wrong OR being incompatible with dimthread. Considering it took 26 to crash though, it will not be trivial to test which mod's fault it is.

There are some vanilla portal bugs that have crashed MelonTech and Mechanists on multiple occasion Elvar got it to happen multiple times in an hour. I had it happen last night can be hours or weeks before it happens but its usually caused by one person with poor connection and I believe its more likely to occur with eating or performing actions in portals im not sure it is the problem you are describing just wanted to mention there are some awkward issues with portals right now.

There are some vanilla portal bugs that have crashed MelonTech and Mechanists on multiple occasion Elvar got it to happen multiple times in an hour. I had it happen last night can be hours or weeks before it happens but its usually caused by one person with poor connection and I believe its more likely to occur with eating or performing actions in portals im not sure it is the problem you are describing just wanted to mention there are some awkward issues with portals right now.

This doesn't seem related to dimthread at all. So gonna close it for now. :)


tvOS

I tried to use this code in an app for the Apple TV (tvOS) but it doesn't work. I don't get any build errors either.
Can someone please make a small tvOS demo?

I found the solution.
Apparently in tvOS you have to set "productsRequest" as global variable in order to get it working.

I am glad that you found a solution.


margin/multirow params

This branch adds parameters for table margin and multi row creation. Depending on the values passed to the GeneratedTable constructor it will output a table with merged cell rows and margin to the top and bottom of the table.

Could a description please be provided? I am unsure what the expected outcome of the new code is supposed to be.
Also, I suspect a review by @Louis-Boulet-HC would be a good idea as I am under the impression that this code will impact the pipeline that they have developed.

Added a description


Activation event for built-in views

We have activation events for any extension-contributed views, but it would be helpful to have something similar for built-in views--particularly those that may not always be showing, for example the Problems view.
We're playing with a prototype that would contribute CodeActions to Diagnostics in the Problems view. Whereas commands can be added in context menus nearly everywhere else without needing the extension to be activated, these CodeActions must be provided by code, not defined in package.json. Right now, we can use onStartupFinished to activate, but I would prefer if we could defer activation until the Problems view becomes visible. I could imagine use cases for other built-in views like Output, Terminal, etc.

Tentatively adding to April.

FYI @sandy081

@usernamehw what would you use built-in view activation events for? We are discussing if there are enough usecases for this and it would be good to hear how else it would be used.

I don't remember... Maybe for consistency?
Autocomplete in package.json and documentation https://code.visualstudio.com/api/references/activation-events#onView don't mention that it doesn't work for built-in views.
I probably tried it a long time ago and gave up.

workbench.explorer.emptyView is a view to show the explorer welcome view. Welcome views have been carefully designed to never require any extensions to activate so that they are very fast to load.
If you want to activate when the explorer shows then the solution would be to activate on the explorer view, not the empty view.

@alexr00 my goal is the workbench.explorer.emptyView, the buttons are show on the workbench.explorer.emptyView only. If we have to customize this view depending on the settings, it is not possible today because of the activation...

@lramos15 FYI in case you feel differently about allowing activation on workbench.explorer.emptyView.

I also do not love having the ability to activate on this view, but I believe gatekeeping these activations would possibly lead to extensions either becoming onStartupFinished or * activated which is even less ideal since this view is not seen if you're loading into a previously opened workspace.

@bwateratmsft it sounds like what you really want is to be activated when a specific type of Diagnostic is shown. @sandy081 would it be possible to have an onDiagnosticSource:<source> activation event?

@bwateratmsft it sounds like what you really want is to be activated when a specific type of Diagnostic is shown. @sandy081 would it be possible to have an onDiagnosticSource:<source> activation event?

For our specific scenario, yes, that would be sufficient. Based on this:

A diagnostic is shown at multiple places: problems view, editor (f8, hover), status bar. May be this event has to be triggered from all these locations? Wondering the reasoning behind this event.

it might actually be better do be based on diagnostics being created, rather than on a view becoming visible.

@jrieken what do you think about having an onDiagnosticSource:<source> activation event?

Would <source> be the Diagnostic#source or the file for which diagnostics are reported?

I would expect it to be Diagnostic#source

@bwateratmsft same question: https://github.com/microsoft/vscode/issues/176805#issuecomment-1549703395. Also is this for any language or code action for diagnostics of specific languages?

In our particular use case, it would be for any language, so having onDiagnosticSource:* would be nice. However I think that for the general case, Diagnostic#source makes more sense than file. Suppose an extension wanted to offer more quick actions for TypeScript--they would want to show on diagnostics for TypeScript, not for any specific file.

I think we have decided that an activation event for built in views is not the optimal solution.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


feed_meta won’t take baseurl into account

On http://workinprogress.github.io/website/ (which is built & served by GitHub pages) I use {% feed_meta %}, however that doesn't seem to take baseurl setting into account.
Generated URL is http://workinprogress.github.io/feed.xml rather than http://workinprogress.github.io/website/feed.xml (note the subpath /website).
Is this the expected behaviour? What am I missing please?
:beers:

Addendum:
# config.yml
baseurl: "/website"
url: "https://workinprogress.github.io"

Here's the relevant logic. It should, but I suspect it's looking to site.github.url.
@exalted what's the value of site.github.url for your site in production? (You can add <!-- {{ site.github.url }} --> to a page to output it as an HTML comment (and view source to see it).

@benbalter thanks for the feedback. According to docs site.github.url (for example) is going to be http://username.github.io/example; so in my case it should be http://workinprogress.github.io/website and indeed it is.
However shouldn't that piece of logic you pointed out make it so site.url having a higher priority than site.github.url?
Jekyll docs suggest:

In _config.yml, set the baseurl option to /project-name – note the leading slash and the absence of a trailing slash.

... but it doesn't mention removing site.url.
Any ideas?
P.S.: https://github.com/jekyll/jekyll-sitemap/issues/47 feels like a similar problem to me.

I guess https://github.com/jekyll/jekyll-feed/commit/3321d8bae50101a819fac942888269d333c8027a might fix this issue, but it's not released yet? Not sure.

Ahh that's exactly it (and why I was confused). Look for a fix soon.

@benbalter apparently https://github.com/jekyll/jekyll-feed/pull/80 is merged already; waiting to be released...


Fix bazel package declaration for the cache filter

Risk Level: Low
Testing: All tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
Signed-off-by: Yan Avlasov<EMAIL_ADDRESS>

This is not the right change. Closing


Instagram API rate limit?

Fill in this template completely. Issues not following this template will be closed and ignored.
Check the boxes below by filling [ ] with an x so it looks like [x].
Use the Preview button to ensure the template is filled in correctly.

[x] I am using the latest version of PyInstaLive: 3.2.4.
[x] I have installed either Python 2.7.x or 3.5+: 3.5.3
[x] I have read the README.
[x] I have read the FAQ.
[x] I have checked all existing issues, none of which could solve my issue.

I am using:

[ ] Windows 10
[ ] Windows 8.1
[ ] Windows 8
[ ] Windows 7
[x] Linux (distribution: Debian 10)
[ ] macOS (version: )
[ ] Other (device & OS name: )

Question
I've been using PyInstalive for a while. It worked well but recently it often calls the 429 error: 429 Please wait a few minutes before you try again
I've decreased the limit from 1 time per minute to 1 time per two minutes and now 1 time per 5 minutes but it still calls the 429 error.
I wonder what's the rate limit of Instagram API and is there any way to solve this problem?
Thanks a lot.

I am also having this issue as of 2 days ago. I had already created a new ig account recently as well because the first one was getting 'challenge required' messages.

Instagram rate limits and exact criteria for what constitutes as spam/too many requests is unknown. Randomizing the timeout may help and switching IP addresses as well but there is no reliable fix, it's simply the risk that's associated with running the program constantly (obviously)


refactor: Upgrade to react-router@2

This also upgrades the test story to be more
useful as I found some issues with the one before.
So this superseeds #154.
Closes #131

Tests pass locally in Chrome, fail only in firefox because of https://github.com/bevry/sortobject/pull/2

This all looks good to me, from what I understood of it.

You! You're on :fire:


No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://' is therefore not allowed access

After lots of Google searches and stackoverflow questions, I am getting nowhere. I am trying to make a post request through XHR and I am seeing above error.
Now as per This link, I just need to add permissions to my manifest.json. I have already added  "http://*/" to my permissions in manifest.json (which earlier was all_urls.) There also  <access origin="http://*/*"/> is presenti in conifg.xml.
Here is the sample request I am performing-
var req=new XMLHttpRequest();
req.open("GET", "http://www.example.com/actualAPICall", true);
req.send();

Based on the error reported, it seems that the server receiving the request needs to be configured to allow Cross Origin requests.  If you're not familiar with CORS, see http://www.w3.org/wiki/CORS_Enabled.
If you've verified the appropriate server configuration, I would suggest using a simple XHR to test connectivity.  I created a basic example that will send a JSON request to the jsfiddle echo service.
I created a new app, using the latest version of cca (0.6.0-rc1).  I included the code below, and was able to successfully execute an XHR.  Maybe copy this example into your app and see if it works?  If it works, that suggests the problem is specific to the XHR call and/or receiving server.  If it doesn't work, it might provide hints to the problem with the app configuration.
function execAPI(requestContents, callback) {
  var xhr = new XMLHttpRequest();
  var url = 'http://jsfiddle.net/echo/json/';
  xhr.open("POST", url, true);
  xhr.responseType = 'json';

  // completion handler
  xhr.onload = function() {
    console.log('Post to ' + url + ' worked: ' + xhr.status + ', ' + xhr.statusText);
    console.log('Post results: ', (typeof xhr.response) + ' ', xhr.response);
    callback(xhr.response);
  };

  // Post the request contents in json format
  //  - The json= format is specific to getting jsfiddle echo to work
  xhr.send('json=' + encodeURIComponent(JSON.stringify(requestContents)));
}

    execAPI(
      {myTextProperty: 'some text'},
      function(results) {
        console.log('Results: ' + (results ? JSON.stringify(results) : '<null>'));
    });


INFO 10-15 02:46:25 api_server.py:179] Started engine process with PID 1016869
WARNING 10-15 02:46:25 config.py:1674] Casting torch.bfloat16 to torch.float16.
/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/connections.py:8: RuntimeWarning: Failed to read commit hash:
No module named 'vllm._version'
from vllm.version import version as VLLM_VERSION
WARNING 10-15 02:46:29 config.py:1674] Casting torch.bfloat16 to torch.float16.
INFO 10-15 02:46:30 config.py:887] Defaulting to use mp for distributed inference
WARNING 10-15 02:46:30 config.py:380] To see benefits of async output processing, enable CUDA graph. Since, enforce-eager is enabled, async output processor cannot be used
INFO 10-15 02:46:34 config.py:887] Defaulting to use mp for distributed inference
WARNING 10-15 02:46:34 config.py:380] To see benefits of async output processing, enable CUDA graph. Since, enforce-eager is enabled, async output processor cannot be used
INFO 10-15 02:46:34 llm_engine.py:237] Initializing an LLM engine (vdev) with config: model='/model/models/Llama-3.2-11B-Vision-Instruct', speculative_config=None, tokenizer='/model/models/Llama-3.2-11B-Vision-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.float16, max_seq_len=32768, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=2, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=True, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None, collect_model_forward_time=False, collect_model_execute_time=False), seed=18, served_model_name=Llama-3.2-11B-Vision-Instruct, use_v2_block_manager=True, num_scheduler_steps=1, chunked_prefill_enabled=False multi_step_stream_outputs=True, enable_prefix_caching=False, use_async_output_proc=False, use_cached_outputs=True, mm_processor_kwargs=None)
WARNING 10-15 02:46:34 multiproc_gpu_executor.py:53] Reducing Torch parallelism from 48 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
INFO 10-15 02:46:34 custom_cache_manager.py:17] Setting Triton cache manager to: vllm.triton_utils.custom_cache_manager:CustomCacheManager
INFO 10-15 02:46:35 enc_dec_model_runner.py:141] EncoderDecoderModelRunner requires XFormers backend; overriding backend auto-selection and forcing XFormers.
INFO 10-15 02:46:35 selector.py:115] Using XFormers backend.
/model/anaconda3/envs/llm/lib/python3.11/site-packages/xformers/ops/fmha/flash.py:211: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch.
@torch.library.impl_abstract("xformers_flash::flash_fwd")
/model/anaconda3/envs/llm/lib/python3.11/site-packages/xformers/ops/fmha/flash.py:344: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch.
@torch.library.impl_abstract("xformers_flash::flash_bwd")
/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/connections.py:8: RuntimeWarning: Failed to read commit hash:
No module named 'vllm._version'
from vllm.version import version as VLLM_VERSION
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:38 enc_dec_model_runner.py:141] EncoderDecoderModelRunner requires XFormers backend; overriding backend auto-selection and forcing XFormers.
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:38 selector.py:115] Using XFormers backend.
(VllmWorkerProcess pid=1017165) /model/anaconda3/envs/llm/lib/python3.11/site-packages/xformers/ops/fmha/flash.py:211: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch.
(VllmWorkerProcess pid=1017165)   @torch.library.impl_abstract("xformers_flash::flash_fwd")
(VllmWorkerProcess pid=1017165) /model/anaconda3/envs/llm/lib/python3.11/site-packages/xformers/ops/fmha/flash.py:344: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch.
(VllmWorkerProcess pid=1017165)   @torch.library.impl_abstract("xformers_flash::flash_bwd")
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:39 multiproc_worker_utils.py:216] Worker ready; awaiting tasks
INFO 10-15 02:46:39 utils.py:1008] Found nccl from library libnccl.so.2
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:39 utils.py:1008] Found nccl from library libnccl.so.2
INFO 10-15 02:46:39 pynccl.py:63] vLLM is using nccl==2.20.5
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:39 pynccl.py:63] vLLM is using nccl==2.20.5
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:39 custom_all_reduce_utils.py:242] reading GPU P2P access cache from /root/.cache/vllm/gpu_p2p_access_cache_for_4,5.json
INFO 10-15 02:46:39 custom_all_reduce_utils.py:242] reading GPU P2P access cache from /root/.cache/vllm/gpu_p2p_access_cache_for_4,5.json
INFO 10-15 02:46:39 shm_broadcast.py:241] vLLM message queue communication handle: Handle(connect_ip='<IP_ADDRESS>', local_reader_ranks=[1], buffer=<vllm.distributed.device_communicators.shm_broadcast.ShmRingBuffer object at 0x7f54e3b09110>, local_subscribe_port=45621, remote_subscribe_port=None)
INFO 10-15 02:46:39 model_runner.py:1060] Starting to load model /model/models/Llama-3.2-11B-Vision-Instruct...
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:39 model_runner.py:1060] Starting to load model /model/models/Llama-3.2-11B-Vision-Instruct...
INFO 10-15 02:46:39 selector.py:115] Using XFormers backend.
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:39 selector.py:115] Using XFormers backend.
Loading safetensors checkpoint shards:   0% Completed | 0/5 [00:00<?, ?it/s]
Loading safetensors checkpoint shards:  20% Completed | 1/5 [00:02<00:11,  2.97s/it]
Loading safetensors checkpoint shards:  40% Completed | 2/5 [00:06<00:09,  3.06s/it]
Loading safetensors checkpoint shards:  60% Completed | 3/5 [00:07<00:04,  2.18s/it]
Loading safetensors checkpoint shards:  80% Completed | 4/5 [00:10<00:02,  2.46s/it]
Loading safetensors checkpoint shards: 100% Completed | 5/5 [00:13<00:00,  2.66s/it]
Loading safetensors checkpoint shards: 100% Completed | 5/5 [00:13<00:00,  2.63s/it]
INFO 10-15 02:46:53 model_runner.py:1071] Loading model weights took 10.0714 GB
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:53 model_runner.py:1071] Loading model weights took 10.0714 GB
INFO 10-15 02:46:53 enc_dec_model_runner.py:301] Starting profile run for multi-modal models.
(VllmWorkerProcess pid=1017165) INFO 10-15 02:46:53 enc_dec_model_runner.py:301] Starting profile run for multi-modal models.
Process SpawnProcess-1:
ERROR 10-15 02:47:20 multiproc_worker_utils.py:117] Worker VllmWorkerProcess pid 1017165 died, exit code: -15
INFO 10-15 02:47:20 multiproc_worker_utils.py:121] Killing local vLLM worker processes
Traceback (most recent call last):
File "/model/anaconda3/envs/llm/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/model/anaconda3/envs/llm/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/engine/multiprocessing/engine.py", line 392, in run_mp_engine
engine = MQLLMEngine.from_engine_args(engine_args=engine_args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/engine/multiprocessing/engine.py", line 141, in from_engine_args
return cls(
^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/engine/multiprocessing/engine.py", line 78, in init
self.engine = LLMEngine(*args,
^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 349, in init
self._initialize_kv_caches()
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 484, in _initialize_kv_caches
self.model_executor.determine_num_available_blocks())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/executor/distributed_gpu_executor.py", line 39, in determine_num_available_blocks
num_blocks = self._run_workers("determine_num_available_blocks", )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/executor/multiproc_gpu_executor.py", line 192, in _run_workers
driver_worker_output = driver_worker_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/worker/worker.py", line 223, in determine_num_available_blocks
self.model_runner.profile_run()
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/worker/enc_dec_model_runner.py", line 359, in profile_run
self.execute_model(model_input, kv_caches, intermediate_tensors)
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/worker/enc_dec_model_runner.py", line 203, in execute_model
hidden_or_intermediate_states = model_executable(
^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/model_executor/models/mllama.py", line 1084, in forward
cross_attention_states = self.vision_model(pixel_values,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/model_executor/models/mllama.py", line 508, in forward
patch_embeds = self.patch_embedding(
^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/model_executor/models/mllama.py", line 227, in forward
x = self._unfold(x)
^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/modules/fold.py", line 298, in forward
return F.unfold(input, self.kernel_size, self.dilation,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/torch/nn/functional.py", line 4853, in unfold
return torch._C._nn.im2col(input, _pair(kernel_size), _pair(dilation), _pair(padding), _pair(stride))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 3.59 GiB. GPU 0 has a total capacity of 31.73 GiB of which 3.11 GiB is free. Including non-PyTorch memory, this process has 28.62 GiB memory in use. Of the allocated memory 28.12 GiB is allocated by PyTorch, and 80.04 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
[rank0]:[W1015 02:47:22.322553616 CudaIPCTypes.cpp:16] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
Traceback (most recent call last):
File "/model/anaconda3/envs/llm/bin/vllm", line 8, in
sys.exit(main())
^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/scripts.py", line 195, in main
args.dispatch_function(args)
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/scripts.py", line 41, in serve
uvloop.run(run_server(args))
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/uvloop/init.py", line 105, in run
return runner.run(wrapper())
^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/uvloop/init.py", line 61, in wrapper
return await main
^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/entrypoints/openai/api_server.py", line 552, in run_server
async with build_async_engine_client(args) as engine_client:
File "/model/anaconda3/envs/llm/lib/python3.11/contextlib.py", line 210, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/entrypoints/openai/api_server.py", line 107, in build_async_engine_client
async with build_async_engine_client_from_engine_args(
File "/model/anaconda3/envs/llm/lib/python3.11/contextlib.py", line 210, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/model/anaconda3/envs/llm/lib/python3.11/site-packages/vllm/entrypoints/openai/api_server.py", line 194, in build_async_engine_client_from_engine_args
raise RuntimeError(
RuntimeError: Engine process failed to start
(llm) root@ubuntu:/model# /model/anaconda3/envs/llm/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
/model/anaconda3/envs/llm/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
🐛 Describe the bug
CUDA_VISIBLE_DEVICES=4,5 vllm serve /model/models/Llama-3.2-11B-Vision-Instruct --port xxxxxxx --api-key sk-xxxxxxxxxxxxxxxxxxxxxxxx  -tp 2 --served-model-name Llama-3.2-11B-Vision-Instruct --dtype float16 --enforce-eager  --limit-mm-per-prompt image=2,video=1 --seed 18 --enable-auto-tool-choice  --tool-call-parser llama3_json --chat-template /model/vllm/examples/tool_chat_template_llama3.2_json.jinja  --max-model-len 32768
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

The stack trace indicates that you have OOM issue. Please decrease max_model_len and/or max_num_seqs so the model can fit inside your GPUs. You can also increase tp to split the model across more GPUs.

The stack trace indicates that you have OOM issue. Please decrease max_model_len and/or max_num_seqs so the model can fit inside your GPUs. You can also increase tp to split the model across more GPUs.

I tried modifying max_model_len it does work, but in the original v0.6.2 version I kept the existing parameters running with no task exceptions, I'm not sure what changed with this update to v0.6.3 to cause this problem

The stack trace indicates that you have OOM issue. Please decrease max_model_len and/or max_num_seqs so the model can fit inside your GPUs. You can also increase tp to split the model across more GPUs.

I tried modifying max_model_len it does work, but in the original v0.6.2 version I kept the existing parameters running with no task exceptions, I'm not sure what changed with this update to v0.6.3 to cause this problem

The previous version didn't allow multi-image input. I see that you've set --limit-mm-per-prompt image=2,video=1 which will cause the model to allocate additional memory.


Fuzzer 041 sometimes generates error

ERROR: [Common 17-55] 'set_property' expects at least one object.
Resolution: If [get_] was used to populate the object, check to make sure this command returns at least one valid object.
This is likely an edge case that was missed during testing.

Replicates 100% of the time on zync


Add TravisCI Build to Perform Tests on PowerShell Core on MacOS and Linux

To validate against PowerShell Core on MacOS and Linux we should execute the build on Travis as well as AppVeyor.
See https://github.com/PlagueHO/CosmosDB/blob/dev/.travis.yml

Close as part of #93


[Improvement]: Have concise error message for cargo shuttle stop

Describe the feature
If there's no service running and I run cargo shuttle stop the error message is not comprehensible.
Below is the error message:
vscode ➜ /workspaces/milna (feature/shuttle) $ cargo shuttle stop
Error: 404 Not Found
message: record could not be found

I think this message is directly coming from Database or some error in internal query.
vscode ➜ /workspaces/milna (feature/shuttle) $ cargo shuttle stop
...
message: service is not running, cannot stop.

Suggestion or Example of how the feature would be used
No response
Duplicate declaration

[X] I have searched the issues and this feature has not been requested before.

Indeed, we should make this error clearer. So this will occur on any commands interacting with the currently running deployment if there isn't one. It might be enough to alter the #[error(...)] annotation in deployer/handlers/error, it will at least be a good short-term improvement.


CORB error when using Gitlab

I have tried to use the extension with Gitlab. Login is ok, but then in the Google Script Editor, I'm getting an error in js console:
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://gitlab.com/api/v4/groups?per_page=25&private_token=xxxxxxx with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Shall I change some settings to whitelist the website?

Are you using gitlab.com or hosted gitlab?

Actually, I've tried on both. I started by modifying the manifest and adding my hosted gitlab url + uncommend the gitlab url. Then I've installed the plugin in chrome. Neither gitlab.com nor hosted gitlab works, both return this CORB error.


setChecked not working

I'm trying to set the CheckBox to checked using myCheckBox.setChecked(true) but it is always not checked when the screen is loaded. Can you please check ?
Thanks.

Hi, I've seen the error, Does the error happen when you call the myCheckBox.setChecked(true) function  in the onCreate function?

Exactly, I called during the onCreate function.

Okay, I'm going to fix it!!

Great! Tks !!

I have the same error calling to setChecked()  from RecyclerView.onBindViewHolder

For me the same. Calling setChecked() from getView() - BaseAdapter - not working properly.
But by flipping some pages, its set yet.
Hope you know how to fix. Thanks

Love the library, but this setChecked issue is a deal breaker for me, it is so basic, can't believe it is not working. Please fix.

+1

Hello,any update on this? Anyone found a temporary workaround while it gets fixed?

Needs to get fixed, pls + 1

Needs to get fixed, pls + 1


fix(watch-run.js): pause stdin on SIGINT

Description of the Change

I can describe this in more detail in an issue if you'd like, but I determined through experimentation that this solved funky behavior after interrupting watch mode run by yarn v1, which forwards SIGINT but doesn't wait for the child process to exit.
Even though yarn run exits out to the shell immediately on Ctrl-C, if you then press the up key while mocha teardown hooks are still running, for some reason it gets routed to mocha and causes this error:
node_modules/mocha/lib/runner.js:962
    throw err;
    ^

Error: read EIO
    at TTY.onStreamRead (internal/stream_base_commons.js:209:20)
Emitted 'error' event on ReadStream instance at:
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  errno: -5,
  code: 'EIO',
  syscall: 'read'
}

I wonder if this is a peculiarity of macOS terminal (it seems really strange that anything would reach mocha's stdin after the parent process has been terminated?) but adding process.stdin.pause() prevents this issue as well as other strange behavior (^[[A getting printed instead of the previous command when up key is pressed).  There's no need to listen on stdin after mocha has received SIGINT anyway.
Alternate Designs

Yarn and other programs should of course wait for spawned child processes to exit, but as far as what mocha has control over, this is still an improvement
Why should this be in core?

This amends the core feature of allowing the user to type rs in watch mode.
Benefits

Better behavior when mocha is spawned by programs that don't wait for it to exit when interrupted
Possible Drawbacks

Applicable issues

minor bug fix

@juergba seems something is wrong with the browser testing setup

@jedwards1211 I don't know, the description of your issue is very fuzzy. I'm unsure wether there actually is an issue at all.
I can't merge a PR, unless I'm convinced there is an issue in first place and without clear issue  I can't review the solution.
Yes, our browser tests don't work for PR's triggered by forked repos, we already have created an issue.

@juergba so as long as I make a repo where you can reproduce the issue?

@juergba I made a video demonstrating the issue: https://drive.google.com/file/d/11I9JByijs28_gwa5ZdUxG4qkREloujGw/view?usp=sharing
Is this sufficient?  If not let me know what would be sufficient.

@jedwards1211 thanks for the video.
It's yarn specific, the error doesn't happen if you launch Mocha directly, right?
I will do some testing on my Windows, using npm.

Although it doesn't happen when you launch mocha directly, I still wish you would merge this because it would make things work better and there's no good reason for mocha to keep listening on STDIN once you got an interrupt (you wouldn't want typing rs to have any effect at that point...)
Yarn devs aren't going to fix any issues in v1 and the way they made v2 work, there's no way I can use it (like many people).  So my only hope of not having to deal with this is if you merge this PR.

I couldn't reproduce this issue using your repo, on Windows10 with npm.
But anyway, could you rebase and push, please. Just to be on the safe side.
Also could you repeat your manual tests using the --parallel option, please? (workers/subprocesses)

So my only hope of not having to deal with this is if you merge this PR.

So bad? This isn't really a serious issue?


Build forgot password and reset password resolvers

Acceptance Criteria

[x] It should allow a user to reset their password
[x] It should allow a user to reset their password with a token

Part of PR created here for #107

Closed here


Theme / form issue on Edit Databases ->  Passwords with both Mysql & Postgre Enabled installed version 19.54

See image.
Password fields and icons are jumbled.

Tried clearing cache, no luck.
Still trying to figure out how to upgrade to beta versions (I too like to live dangerously!)

Hi,
What Virtualmin version is used under the hood?

Webmin version
1.955
Usermin version
1.803

Virtualmin version
6.12

I just made a patch. It should address PostgreSQL database password change field width. However, I never seen an issue you're reporting.

Still trying to figure out how to upgrade to beta versions (I too like to live dangerously!)

Go to Theme Configuration, and click update button at the bottom.

Ok, updated to the dev version, looks  pretty close to perfect..

Actually as I look closer, each row has repeated icons for show password button for Mysql & Postgresql.
Probably only want the Mysql button for the mysql row, and the same for PG
This is probably not intended.

Could you try /etc/webmin/restart, reload the page and see if it still happens after restart?
If it's still an issue, could you send me using my website, a download link  for /etc/webmin/virtual-server/config file?

No luck. Trying to send you a link to the config, but uh.. your captcha on your form is .. extremely difficult?
I cannot get passed the captcha. F*ck me, am I a robot?

Ok, well, I anonymized it and put it here:
https://pastebin.ubuntu.com/p/WVKTdx9BNH/

I had to make captcha hard.l, sorry, as surprisingly, in 2020 people still expect that spam works.
Speaking about the issue - I forgot to ask you, if you could try other browser or incognito (private) tab (with disabled extensions). It's possible that extensions could cause this issue.

Okay, reproduced it with custom passwords set.

Thanks for reporting! Fixed.

I had to make captcha hard.l, sorry, as surprisingly, in 2020 people still expect that spam works.
Speaking about the issue - I forgot to ask you, if you could try other browser or incognito (private) tab (with disabled extensions). It's possible that extensions could cause this issue.

Sorry for not replying! For some reason my github email notifications went  to space!


Feature request: close all tabs

Love the extension, thanks for making it!
It'd be great if there was a "close all tabs" button to be able to quickly clean up a workspace.

Close all tabs feature has been added to latest version.


No Error message when defining a type like this.

type Status
    = Success String
    | Http.Error

It did got compiled from Elm to Javascript but it fails when brunch trying to package it
Elm compile: Main.elm, in elm, to ../vendor/main.js
01 Dec 20:34:19 - error: Compiling of vendor/main.js failed. Line 16584: Unexpected token .
01 Dec 20:34:19 - info: compiled 106 files into 2 files in 3.5 sec

Duplicate of https://github.com/elm-lang/elm-compiler/issues/1200.


Random Number Generation

It looks like the default numpy RNG is being used to generate random values in the primitive mechanisms (e.g. the Laplace mechanism and its derivatives).  As Aaron Roth et al. point out in their recent paper Guidelines for Implementing and Auditing Differentially Private Systems (Section 5.1):

“Random numbers” should be generated by a cryptographically secure pseudo-random number generator (CSPRNG). Mersenne Twister is a commonly used pseudo-random number generator for statistical applications (in many libraries, it is the default) but is considered insecure for differential privacy.

The secrets module  (described in detail in PEP 506) makes it relatively easy to access such sources of randomness in a system-agnostic way. Would it be possible to either change the default RNG used in this module or add an option that allows a user to specify which RNG they would like to use?
For what it's worth, the following snippet is a minimal working example of some code that can be used to generate samples from the Uniform(0,1) distribution via the secrets module:
import secrets

def gen_unifs(n):
  rng = secrets.SystemRandom()
  unifs = [rng.uniform(0,1) for _ in range(n)]
  return unifs

In fact, the secrets module isn't really necessary here.  The same functionality can be achieved via the random module:
import random

def gen_unifs2(n):
  rng = random.SystemRandom()
  unifs = [rng.uniform(0,1) for _ in range(n)]
  return unifs

The secrets module may, however, provide other functions that make it easier and/or cleaner to securely generate large numbers of random samples efficiently.

Hi Michael,
Thanks for bringing this to attention. We had actually planned to revamp the random number generation in diffprivlib as part of the refactoring of the mechanisms module (#17). Our initial plan was to upgrade to the new RNG in numpy, which allows us to specify the BitGenerator, but it doesn't seem there is a crypto-secure BitGenerator shipped by numpy at present.
Using numpy's random module is desirable to give us direct access to various probability distributions with ease. Are you familiar with numpy's BitGenerator, and possibly using the secrets package in conjunction with this?


Fix SortPreservingRepartition with no existing ordering.

Which issue does this PR close?

Closes #7794.
Rationale for this change

What changes are included in this PR?
In the issue, EnforceSorting moves up the sort that satisfies the window. In this case, operators that are below the SortExec do not have ordering at their inputs. However, some of them (SortPreservingRepartitionExec) expects its input to be ordered. While removing SortExec down the plan, we also replace operators with their corresponding variants that do not preserve order. With this change I believe SortPreservingRepartitionExec will be replaced with RepartitionExec in the issue.

Are these changes tested?
Yes, a new test is added to replicate problem in the issue.

Are there any user-facing changes?

I don't see any reason to delay merging this fix. Thanks again @mustafasrepo


Highlight which systems are already mapped in EDSM in Route view

Several CMDRs have requested the ability to be able to see which systems have already been mapped (at least as far as EDSM knows) in the Route plan view.
As routes can be hundreds of light years and many systems there are technical considerations as to how to do this, how to cache the result and how and when to invalidate the cache.
The simplest approach would be to do this for every system when a new route is plotted, and to cache the results until a new route is set, although this may impose an unreasonable number of requests in sequence on the EDSM API for long routes (e.g. with hundreds of hops).
An ideal approach would be to use intersectionObserver to fetch the data as the user scrolls the list of systems in the route, and to cache that data in memory; and update that cache when the user lands in the system (and/or uses FSS inside the system). This would only fetch data for routes as actually needed; although it would take a second or two to add that information to the display as the user scrolls.

An initial version of this has now been implemented.
It just fetches data for all systems (and caches the responses). EDSM appears to be fine with this; I'll revise the approach if it turns out to be problematic but so far it works well.
The list view highlights systems that are not mapped in ESDM or have incomplete data (these are treated the same way to encourage folks to go map them!).
For systems that have been mapped, the number of stars and planets found is displayed.
This will go out in the next release.


Modify Vault to work with remote Kubernetes cluster.

Is your feature request related to a problem? Please describe.
We don't have integration with Vault and remote Kubernetes cluster (not AKS/EKS).
Describe the solution you'd like
We want ability to integrate Vault with remote Kubernetes cluster (not AKS/EKS).
Describe alternatives you've considered
None.
Additional context
No.

Closing because of deprecation of Hashicorp Vault component.


The instructions for the release process comingle getting an environment setup to do a release, and actually doing the release

Replaced by https://clusterhq.atlassian.net/browse/FLOC-672
There are things like setting up gsutil, and a virtualenv, that only need to be done once. And then there are the steps to actually do the release. They are currently mixed together, and should be seperated.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-672. You are welcome to file additional issues in GitHub if that's easier for you.


Fix 16-bit overflow in rav1e_sad_16x16_hbd_ssse3.

Accumulate SAD in 32 bits as 16 * 16 * 1023 = 261888 exceeds a 16-bit value.

Coverage remained the same at 65.525% when pulling 541ef6a8364c07a3ba9fc295084a8471e74662da on negge:hbd_sad into 0a9dcb6f63fa4c32e0975a9b5137d0e1476758ca on xiph:master.


Demzne 1141 consolidate common contract helpers into safemath and rename it to contracts common

This switches over to the new contracts-common helper repository instead of safemath

Task linked: DEMZNE-1141 Consolidate common contract helpers into safemath and rename it to contracts-common


[Bug]: AWS storage - Config not found

Issue description
Sugar version 1.2.0

Select AWS during (sugar create-config)
Set bucket name (public with full access available)
profile - default
catalog - root
AWS domain - default
All other steps default
Execute: sugar upload

The same configuration with Bundlr or NFTStorage, works without any problems on DevNet and MainNet
Relevant log output
[1/4] 🗂  Loading assets
Found 1 asset pair(s), uploading files:
+--------------------+
| images    |      1 |
| metadata  |      1 |
+--------------------+

[2/4] 🖥  Initializing upload

🛑 Error running command (re-run needed): Config not found

Priority this issue should have
Medium (should be fixed soon)

Do you have an AWS credentials file at $HOME/.aws/credentials? In case you haven't seen the docs for this section yet make sure you're following the procedure here.

@samuelvanderwaal You are right. I verified everything and it works.


cargo install fails – could not find asset folder

Describe the bug
When performing cargo install lavagna, the compilation process fails. The bevy_embedded_assets can't find the assets folder.
Full output, directly after Compiling <dependency> v<version>:
The following warnings were emitted during compilation:

warning<EMAIL_ADDRESS>Could not find asset folder, please specify its path with $BEVY_ASSET_PATH

error: failed to run custom build command for `bevy_embedded_assets v0.7.0`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installklO25G/release/build/bevy_embedded_assets-36be3b4b8a9ca65c/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed={}
  cargo:rerun-if-env-changed=BEVY_ASSET_PATH
  cargo:warning=Could not find asset folder, please specify its path with $BEVY_ASSET_PATH

  --- stderr
  thread 'main' panicked at /home/sergey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_embedded_assets-0.7.0/build.rs:111:9:
  No asset folder found
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `lavagna v2.1.7`, intermediate artifacts can be found at `/tmp/cargo-installklO25G`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

To Reproduce
Steps to reproduce the behavior:

Assure that you have cargo installed.
cargo install lavagna

Expected behavior
The log throws no errors and lavagna is installed at ~/.cargo/bin/lavagna.
Desktop (please complete the following information):

OS: Arch Linux
Version:

rustup 1.26.0
cargo 1.75.0-nightly

Side Note
In my project, I have the same issue. I uploaded it to crates.io but can't cargo install, due to the same error messages, although cargo package --list lists my assets folder.
Thank you in advance.

I found a kind of hack to get it to compile:

cargo install lavagna and let it fail (it spawns a /tmp/cargo-install<random letters> directory)
git clone the source code and cd into it
BEVY_ASSET_PATH=assets/  CARGO_TARGET_DIR=/tmp/cargo-install\<random letters\> cargo install lavagna
The compiler throws and error message and points to /tmp/cargo-install<random letters>/release/build/bevy_embedded_assets-<random hash>/out/include_all_assets.rs
Delete the body of the only function there and replace it with:

embedded.add_asset(std::path::Path::new("fonts/FiraMono-Medium.ttf"), include_bytes!("/absolute/path/to/lavagna/assets/fonts/FiraMono-Medium.ttf"));
embedded.add_asset(std::path::Path::new("sprites/pen.png"), include_bytes!("/absolute/path/to/lavagna/assets/sprites/pen.png"));

Run step 3 again

I did this for both your and my project and it seemed to work, although I don't know how to use this information so that users can install the program normally.

Hi @hiimsergey, thanks for sharing this issue.
I've just tested it and I confirm that cargo install lavagna gives this error:
error: failed to run custom build command for `bevy_embedded_assets v0.7.0`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installZgTg2e/release/build/bevy_embedded_assets-5842e00b13fe4b91/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed={}
  cargo:rerun-if-env-changed=BEVY_ASSET_PATH
  cargo:warning=Could not find asset folder, please specify its path with $BEVY_ASSET_PATH

  --- stderr
  thread 'main' panicked at 'No asset folder found', /home/alepez/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_embedded_assets-0.7.0/build.rs:111:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `lavagna v2.1.7`, intermediate artifacts can be found at `/tmp/cargo-installZgTg2e`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

But cargo install --path . from a fresh clone of the last commit dd260dd seems to be ok.
I've also tried cargo clone lavagna (https://crates.io/crates/cargo-clone) and cargo install --path . from the downloaded directory and it seems to be fine.
I need more time to handle this issue, but if in the meanwhile you've find a solution, feel free to PR.

Any updates?

I think this is related to https://github.com/vleue/bevy_embedded_assets/issues/5
When executing cargo install lavagna, dependencies are built first. bevy_embedded_assets is expecting to find the assets folder, but when it is built, that folder does not exist yet.
I think cargo install lavagna cannot be used to install this crate.


testcase 45c has the same problem as 45a

 Issue by Godley
Wednesday Mar 04, 2015 at 19:21 GMT
Originally opened as https://github.com/Godley/FYP/issues/134

testcase 45c looks fine, but it has multiple repeats inside it but only uses 1 repeat volta which repeats once. This visually looks fine, but the info will need to be loaded if we are to produce sound output later on.
moving testcase to ignored test cases and applying enhancement label. parent issue #131 and linked to issue #132

 Comment by Godley
Saturday Mar 07, 2015 at 14:37 GMT

going to move this file to ignored again because I'm not really sure how to fix it without doing more hackyness


Fixed > #2 > new resources !

I tried adding new blockchain development environment options for the project.
I added >
Hardhat
Remix IDE
along with Ganache !
Please have a check !

Thanks for the PR. It has been merged.

Great !


feat: done zap log pkg

the config add a output type
i think may be the local dev use std out and
the prod use the file output log info
and i use the lumberjack to rotate split the log file

Thanks anyway.
I will rebuild this part later, we need a more precise solution.

Thanks anyway. I will rebuild this part later, we need a more precise solution.
ok, thanks


Notifications Module

Create a Component same as Facebook Notification Component, should only be visible after signing in. @r-kohale9
Demo link: http://nodejs-starter-kit-rishabh.herokuapp.com/

@r-kohale9, Mention demo link here.

-[ ] Push Notification
-[ ] SMS Notification
-[ ] Email Notification


[QUESTION]: Getting error while creating dell isilon custom resource: error: unable to recognize "isilon_v220_k8s_121.yaml": no matches for kind "CSIIsilon" in version "storage.dell.com/v1"

How can the Team help you today?
Hi Dell Team,
i am getting this error while creating CR "error: unable to recognize "isilon_v220_k8s_121.yaml": no matches for kind "CSIIsilon" in version "storage.dell.com/v1""
i hva this k8s version:
kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:18:45Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.11", GitCommit:"38d3c1f3d5306401bcf39a71bad3b5a5106033d7", GitTreeState:"clean", BuildDate:"2022-03-16T14:02:06Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
Using the yaml file  "isilon_v220_k8s_121.yaml"
Please help.  I have opened this service request with Dell support as well: SR # 138702394

Thanks for reaching out to us @kps805. @randeepsharma Could you please have a look?

Please close this ticket as we no longer have this setup.
Regards,
Kanwar
Sent from Outlookhttp://aka.ms/weboutlook

From: Nitesh-Rewatkar @.>
Sent: Friday, May 6, 2022 10:42 AM
To: dell/csm @.>
Cc: kps805 @.>; Mention @.>
Subject: Re: [dell/csm] Getting error while creating dell isilon custom resource: error: unable to recognize "isilon_v220_k8s_121.yaml": no matches for kind "CSIIsilon" in version "storage.dell.com/v1" (Issue #253)
@kps805https://github.com/kps805 What version of Operator you are Running. (and hope operator pod is running successfully)
Also, pls let us know the exacts steps you are following while installation.
—
Reply to this email directly, view it on GitHubhttps://github.com/dell/csm/issues/253#issuecomment-1119484226, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYS7MPOMJ7T2VHXLHKOCZQTVITZR5ANCNFSM5SXO5AIQ.
You are receiving this because you were mentioned.Message ID: @.***>

Closing the issue as per the response


[feature request] object-path -like pluck

Object path has an incredibly useful way of retrieving data from complex object structures.
https://github.com/mariocasciaro/object-path
Would love to see an API like this:
_([{ foo: { bar: [1,2,3] }}])
  .pluck('foo.bar.0')
  .doto(_.log) // 1

If ObjectPath's arguments were in the right order and curried you could just use it with map. You can achieve the same thing with Ramda:
var R = require('ramda');

_([{ foo: { bar: [1,2,3] }}])
  .map(R.path(['foo', 'bar', '0']))
  .doto(_.log) // => 1

Oh neat.  Thanks!
Could always use http://highlandjs.org/#flip too.
But I feel like it's useful enough to exist in the core.


[Question] Can I use live update to ban some websites?

How to make a filter or something like that to control or find out which client (or HTML5 hosts) has the authority to access the updated content?
How to use pulic/private keys of manifest?
Thanks.

How to make a filter or something like that to control or find out which client (or HTML5 hosts) has the authority to access the updated content?

It sounds like you are asking for ways to domain/site lock a game. You can use LiveUpdate to update a list of approved domains. There are other similar solutions, such as this one by Subsoap:
https://github.com/subsoap/domainlock
Or a local solutions where you have a separate file with valid domains that you bundle with the application. Like this:
local M = {}

function M.verify(accepted_domains_filename)
	if not html5 then return true end

	local file = sys.load_resource(accepted_domains_filename or "/custom_resources/domains")
	if not file then
		return true
	end

	local domain = html5.run("window.top.location.hostname")
	for accepted_domain in file:gmatch("[^\r\n]+") do
		if string.find(domain, accepted_domain) then
			return true
		end
	end
	return false
end

return M

How to use public/private keys of manifest?

This is done automatically. When you bundle your game the live update content will be cryptographically signed with your private key and any downloaded content is verified against the public key which will be included in your application. This ensures that the downloaded content hasn't been tampered with.
https://defold.com/manuals/live-update/#generating-keys-for-signing

Thank you, I tried subsoap's domainlock.
I realize that the allowed domain list is pure text in the archive.
This won't work. I am trying to encrypt domain strings and decrypt them in runtime by binray scripts.
That may work for me.
Thank you for the answer.


Cannot pin NETStandard.Library = 1.6.0

Description
Similar to #2289, I seeming cannot install packages when I pin NETStandard.Library 1.6.0. This is required but AWS Lambda, but most recent Microsoft.* packages require version 1.6.1. I keep getting
the Paket may still find a valid resolution, but this might take a while message but I never waited long enough for it to finish.
Here's my dependencies file.
source https://www.nuget.org/api/v2/

nuget xunit >= 2.3 prerelease
nuget FakeItEasy
nuget FluentAssertions
nuget Microsoft.NET.Test.Sdk
nuget xunit.extensibility.execution >= 2.3 prerelease
nuget xunit.runner.visualstudio >= 2.3 prerelease
nuget Microsoft.AspNetCore.Mvc.Core
nuget Amazon.Lambda.Core
nuget Amazon.Lambda.Serialization.Json
nuget Amazon.Lambda.APIGatewayEvents
nuget Microsoft.AspNetCore.Server.Kestrel
nuget Microsoft.Extensions.Configuration.EnvironmentVariables
nuget Microsoft.Extensions.Configuration.FileExtensions
nuget Microsoft.Extensions.Configuration.Json
nuget Microsoft.Extensions.Logging
nuget Microsoft.Extensions.Options.ConfigurationExtensions
nuget AWSSDK.S3
nuget AWSSDK.Extensions.NETCore.Setup
nuget Amazon.Lambda.Logging.AspNetCore
nuget Amazon.Lambda.AspNetCoreServer
nuget NETStandard.Library 1.6.0

Repro steps
Use the above dependencies file and paket install
Expected behavior
Should resolve older versions of packages which don't require NETStandard.Library: >= 1.6.1
Actual behavior
It takes very long
Known workarounds
It is seemingly possible to pin all packages and their transitive dependencies but there are loads of them.
I also tried with groups but it keeps telling me that install fails because my project references two version of the NETStandard.Library package.

Did you try putting the AWS lambda packages in a different group?

I only tried putting the net standard library in a separate group. Would you put all Amazon.*, AWSSDK.* and the required Microsoft.* packages in a group?

I'd divide them based on the framework restriction you want to enforce, if you're fine with those using the higher versions then put them with it

Sorry, I don't follow. There is just one restriction: NETStandard.Library = 1.6.0. I tried like this:
source https://www.nuget.org/api/v2/

nuget xunit >= 2.3 prerelease
nuget FakeItEasy
nuget FluentAssertions
nuget Microsoft.NET.Test.Sdk
nuget xunit.extensibility.execution >= 2.3 prerelease
nuget xunit.runner.visualstudio >= 2.3 prerelease
nuget Microsoft.AspNetCore.Mvc.Core
nuget AWSSDK.S3
nuget AWSSDK.Extensions.NETCore.Setup
nuget Amazon.Lambda.Logging.AspNetCore
nuget Amazon.Lambda.AspNetCoreServer
nuget Amazon.Lambda.Core
nuget Amazon.Lambda.Serialization.Json
nuget Amazon.Lambda.APIGatewayEvents
nuget Microsoft.AspNetCore.Server.Kestrel
nuget Microsoft.Extensions.Configuration.EnvironmentVariables
nuget Microsoft.Extensions.Configuration.FileExtensions
nuget Microsoft.Extensions.Configuration.Json
nuget Microsoft.Extensions.Logging
nuget Microsoft.Extensions.Options.ConfigurationExtensions

group lambda
source https://www.nuget.org/api/v2/
nuget NETStandard.Library 1.6.0

And this fails with a different error:
Installation Errors :
Package NETStandard.Library is referenced in different versions in lambda-project.csproj (1.6 vs 1.6.1), check the lock-file.

Looking at the lock file it makes sense because paket resolved all those packages where NETStandard.Library (>= 1.6.1) and hence there is a mismatch

maybe you want strategy: min?
https://fsprojects.github.io/Paket/dependencies-file.html#Strategy-option

Well, I'd though about that and it worked once I put Microsoft.AspNetCore.Mvc.Core in both groups:
source https://www.nuget.org/api/v2/

nuget xunit >= 2.3 prerelease
nuget FakeItEasy
nuget FluentAssertions
nuget Microsoft.NET.Test.Sdk
nuget xunit.extensibility.execution >= 2.3 prerelease
nuget xunit.runner.visualstudio >= 2.3 prerelease
nuget Microsoft.AspNetCore.Mvc.Core

group lambda
source https://www.nuget.org/api/v2/
strategy: min
nuget Microsoft.AspNetCore.Mvc.Core
nuget NETStandard.Library 1.6.0
nuget AWSSDK.S3
nuget AWSSDK.Extensions.NETCore.Setup
nuget Amazon.Lambda.Logging.AspNetCore
nuget Amazon.Lambda.AspNetCoreServer
nuget Amazon.Lambda.Core
nuget Amazon.Lambda.Serialization.Json
nuget Amazon.Lambda.APIGatewayEvents
nuget Microsoft.AspNetCore.Server.Kestrel
nuget Microsoft.Extensions.Configuration.EnvironmentVariables
nuget Microsoft.Extensions.Configuration.FileExtensions
nuget Microsoft.Extensions.Configuration.Json
nuget Microsoft.Extensions.Logging
nuget Microsoft.Extensions.Options.ConfigurationExtensions

I expected this option to give me "ancient" versions of dependencie but it actually installed latest matching stuff. For example Microsoft.Extensions.Options could have landed 1.0.0-rc2-final but I actually got 1.0.2, which is good.
Is it that I mistook strategy for lowest_matching vide

Note, however, that all direct dependencies will still get their latest matching versions, no matter the value of the strategy option. If you want to influence the resolution of direct dependencies then read about the lowest_matching option.

?

Tbh paket is just not good for this scenario. I guess the resolver was not optimized for this scenario (where you have one condition which basically forces most packages to use an older version). But I think it's a really good test case...

And additionally if all packages have '>= 1.6.0' (which I guess they have) paket is finding a perfectly valid resolution. so this is probably more a nuget design flaw than anything else...

I finally got around to actually trying this myself, it only took 2m 2s for me to resolve this with the current alpha release of paket
paket.dependencies & resulting lockfile
@tpluscode is this what you wanted?

but if the behavior we want to have is rolling back direct dependencies listed in paket.dependencies that don't have a version number specified when another direct dependency is a transitive dependency of that first package but it has it's own constraint we roll back the package(s) without a constraint until they match, e.g
source https://www.nuget.org/api/v2/

nuget NETStandard.Library <= 1.6.0
nuget Microsoft.AspNetCore.Mvc.Core

shoould force Microsoft.AspNet.Core.Mvc.Core to roll back until version 1.0.3 the latest version that does not depend on netstandard.library where all of Microsoft.AspNet.Core.Mvc.Core's dependencies can also satisfy the constraints of Netstandard.library 1.6.0

Just to note https://github.com/fsprojects/Paket/issues/2294#issuecomment-298084016 from @cloudRoutine is just a workaround for now. IMHO the resolver should be smart enough to be able to find something with default settings as well...

After #2307
source https://www.nuget.org/api/v2/

nuget NETStandard.Library <= 1.6.0
nuget Microsoft.AspNetCore.Mvc.Core

Locked version resolution written to C:\PROJ\paket.test\paket.lock
1 minute, 8 seconds - ready.

source https://www.nuget.org/api/v2/

nuget xunit >= 2.3 prerelease
nuget FakeItEasy
nuget FluentAssertions
nuget Microsoft.NET.Test.Sdk
nuget xunit.extensibility.execution >= 2.3 prerelease
nuget xunit.runner.visualstudio >= 2.3 prerelease
nuget Microsoft.AspNetCore.Mvc.Core
nuget Amazon.Lambda.Core
nuget Amazon.Lambda.Serialization.Json
nuget Amazon.Lambda.APIGatewayEvents
nuget Microsoft.AspNetCore.Server.Kestrel
nuget Microsoft.Extensions.Configuration.EnvironmentVariables
nuget Microsoft.Extensions.Configuration.FileExtensions
nuget Microsoft.Extensions.Configuration.Json
nuget Microsoft.Extensions.Logging
nuget Microsoft.Extensions.Options.ConfigurationExtensions
nuget AWSSDK.S3
nuget AWSSDK.Extensions.NETCore.Setup
nuget Amazon.Lambda.Logging.AspNetCore
nuget Amazon.Lambda.AspNetCoreServer
nuget NETStandard.Library 1.6.0

Locked version resolution written to C:\PROJ\paket.test\paket.lock
1 minute, 39 seconds - ready.

With the min workaround
strategy: min
lowest_matching: true

Locked version resolution written to C:\PROJ\paket.test\paket.lock
1 minute, 49 seconds - ready.

So that one is actually slower now :P


export asset type colors

extracted colors from Avatar.vue into single file 'colors.js' within assetsTypes folder.
closes #11

guess I forgot to bump version in package.json...


Create a Contributors link to the index.html

Dear Friends,  Happy Hacktoberfest 2020
We are heaving a great time this year with a lot of pull request  , so I why not to create a contributor.html and link to the index html.
Use this https://github.com/adalbertobrant/metabolismobasal/graphs/contributors as an example and create a contributor.html and link it to the index.html

i want to work on this . please assign it to me.

Yeap thanks my thank !

I wanna do this

Hello @SaucyGames05  and @nishantschavan maybe you should both work together in this one , what about it ?

So is it just a webpage that lists all the contributors?

@SaucyGames05 that is the webpage => Use this https://github.com/adalbertobrant/metabolismobasal/graphs/contributors  so just and link to index.html

Oh, so we are just adding to the main webpage. Got it, sorry for the confusion lol.

is it just index.html or all versions of the webpage that are in other languages?

@SaucyGames05 No problem but for the javascript create a new function to transform and show metric to imperial .

@SaucyGames05 No problem but for the javascript create a new function to transform and show metric to imperial .

@adalbertobrant it is a different formula for imperial units so it's easier just to do the same thing but with a different formula than to do imperial to metric.

@SaucyGames05 Ok, but please before you do PR´s check if all the website is working properly

@adalbertobrant No problem.


Add support for per-message properties

LGTM (pending CI. Travis seems to have a very long queue ATM)


KARAF-7786: Upgrade to Aries SpiFly 1.3.7

SpiFly needs ASM 9.6. I'm creating the corresponding PR right now.


I can't start Riot.im after updating it

I updated Riot.im and now if i try to launch it i see a message 'permission denied'.

Strange... Are you using GPlay version? Can you provide some log?

Yes, i downloaded riot.im from google play. By the way, my device is using android 4.4.2.
How to provide logs?

I found the issue. For some reason the icon from the previous version was not updated and trying to start riot.im from it gave me this permission denied message.

Ok I assume it's another side effect of change of launcher Activity (see ref in #2994)


ISPN-9962 Feature-packs should optionally depend on jdk-unsupported a…

https://issues.jboss.org/browse/ISPN-9962

Failures not related.

I was about to merge. Can you create a 9.4.x PR ?

@tristantarrant Yep that's the plan, I'm going to include a fix for the logging issues I mentioned on Zulip.


[rstmgr] Template rstmgr

Template rstmgr in the same spirit as pwrmgr.
Now there should no longer be weird dependencies that depend on parsing order.

@msfschaffner
Have a look at the core file split and let me know what you think.
You won't be able to try this without this fusesoc version.
If we think this makes sense, we'll probably need to go through make modifications for other tools / flows.  I'm personally a little concerned because things get a little obscured and it could be easy to pickup the wrong file without realizing (of course that is also true today).
One nice benefit of doing this is that we can now run block level lint with either the example files or the top level files.  That's kind of a nice bonus. Although it won't always work depending on how many other dependencies there are.

hey all, rstmgr is templated with this PR, please have a look.

could you guys have a look and let me know if this templating looks okay to you?

topgen.py generate code looks good. rstmgr template file also looks good.
One favor of the PR, could you make the IP to be flexible for its instance naming? I remember v1-bronze case the rstmgr IP name is fixed to rstmgr so that I have to change it manually to rstmgr_aon. Not sure this PR addresses it or not.
We can merge this PR and address it later if not included here.
Thanks for the work, Tim!

thanks for the reminder @eunchan . I'll address that today with a separate PR.

thanks all for the review!


Fixed missing package name in generated cli.js

this.options.name was undefined since CLI generator doesn't have any name option specified.

Please add a unit test. We want to make sure this won't break if someone run yo node --cli and yo node:cli.

Thanks, I added a basic test that compares whether the name contains anything. By the way, seems like yo node --cli just runs the main app generator - even before my changes.

yo node --cli will run the main generator and then compose the node:cli generator

I'm closing this PR since there is a possibility to provide --name to avoid the issue (#133), as a new user I was not aware of it, since it wasn't mentioned in --help.
I think two things need to be done:

Mention --name in subgenerator help
If --name isn't specified, use appname as a default

I will leave the issue open for discussion. Thanks @SBoudrias for the quick feedback. :+1:


repo-OPNsense.sqlite failed: No such file or directory

Hi All,
Upgraded from 18.7.7 to 19.1.  The process took abit but on reboot the system came up.   Unfortunately I can no longer update the box after migrating.  Every attempt to do so comes back with:
pkg update
Updating OPNsense repository catalogue...
pkg: Repository OPNsense load error: access repo file(/var/db/pkg/repo-OPNsense.sqlite) failed: No such file or directory
Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
2803841504888:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
2803841504888:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
2803841504888:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
pkg: https://pkg.opnsense.org/FreeBSD:11:amd64/19.1/latest/meta.txz: Authentication error
repository OPNsense has no meta file, using default settings
Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
2803841504888:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
2803841504888:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
2803841504888:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
pkg: https://pkg.opnsense.org/FreeBSD:11:amd64/19.1/latest/packagesite.txz: Authentication error
Unable to update repository OPNsense
Error updating repositories!
I have internet access as I can ping google as such:
ping www.google.ca
PING www.google.ca (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=47 time=13.637 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=47 time=13.639 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=47 time=11.082 ms
^C
--- www.google.ca ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.082/12.786/13.639/1.205 ms
Any way I can get the repo-OPNsense.sqlite rebuilt as it appears not to exist in the folder that I'm attempting to access during an update.

just a question... are you doing the pingtest from your machine or from the firewall?
i ask because it seems somewhat similar as to what i experienced with dns for the firewall being on <IP_ADDRESS> and not working.
can you try to add alias <IP_ADDRESS> to the loopback interface on firewall - virtual ips - settings and see if that makes a difference ?

perhaps a proxy in between? "Authentication error" suggests it can not access the location.
You could try to set the mirror manually and choose http://pkg.opnsense.org which was our previous default.

Authentication error: TLS verification failed.

just a question... are you doing the pingtest from your machine or from the firewall?
i ask because it seems somewhat similar as to what i experienced with dns for the firewall being on <IP_ADDRESS> and not working.
can you try to add alias <IP_ADDRESS> to the loopback interface on firewall - virtual ips - settings and see if that makes a difference ?

Helllo ThuTex
I was pinging on the opnsense firewall itself.  I have access to console.

@JasonNaughton you should try the bootstrap sequence provided at https://github.com/opnsense/update#opnsense-bootstrap

perhaps a proxy in between? "Authentication error" suggests it can not access the location.
You could try to set the mirror manually and choose http://pkg.opnsense.org which was our previous default.

How would I manually set the mirror?   I assumed as the first error that came up was the fact that the repo-OPNsense.sqlite file did not exist (and I’ve verified that via console) that the rest of the errors were due to this.   Does this file get transferred from the mirror?

perhaps a proxy in between? "Authentication error" suggests it can not access the location.
You could try to set the mirror manually and choose http://pkg.opnsense.org which was our previous default.

Sorry I forgot to answer your first question.  Remember I had 18.7.7 working on the OPNsense firewall without any issues.  It was only after I did an update from 18.7.7 to 19.1 did this error show up.

@JasonNaughton you should try the bootstrap sequence provided at https://github.com/opnsense/update#opnsense-bootstrap
(ca_root_nss package may be clobbered for you at the moment so the verify fails)

Hello fichtner,
I’ll look at the bootstrap process thanks.

@JasonNaughton you should try the bootstrap sequence provided at https://github.com/opnsense/update#opnsense-bootstrap
(ca_root_nss package may be clobbered for you at the moment so the verify fails)

Just glanced over the process, it indicates that it will do a factory reset, but then by default it won’t clobber the configuration?   I won’t be able to do the pkg install ca_root_nss as the repo-OPNsense.sqlite does not exist:
pkg install ca_root_nss
Updating OPNsense repository catalogue...
pkg: Repository OPNsense load error: access repo file(/var/db/pkg/repo-OPNsense.sqlite) failed: No such file or directory
I get the same type of error when I attempt to do the pkg update.  Any other idea how to address this?

config will be kept
skip ca_root_nss install, run:
# ./opnsense-bootstrap -i

Attempted to simply do the fetch of the bootstrap script and it too failed due to the SSL authentication issues:
fetch https://raw.githubusercontent.com/opnsense/update/master/bootstrap/opnsense-bootstrap.sh
Certificate verification failed for /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
5710991603320:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
fetch: https://raw.githubusercontent.com/opnsense/update/master/bootstrap/opnsense-bootstrap.sh: Authentication error

use fetch --no-verify-peer

Okay there seems to be a bit of a problem here.  I issued the command:
opnsense-bootstrap -i
The system downloaded about 120 packages and then issued:
% /etc/rc.d/devfs restart
Message from opnsense-19.1.2:
Here be dragons
Fetching base-19.1.2-amd64.txz: .......................................................
It’s been giving me the dot’s now since 12 noon... How long should this take it’s about 6 hours later...
Cheers,
Jason Naughton, P.Eng, M.E.Sc,
Professional Contractor,
JMN Planning, Pickering, Ontario,
Office:<PHONE_NUMBER>

On Mar 6, 2019, at 07:30, Franco Fichtner<EMAIL_ADDRESS>wrote:
config will be kept
skip ca_root_nss install, run:
./opnsense-bootstrap -i
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

It would indicate it has trouble fetching again, which was part of your original problem. Sometimes this was due to MTU or IPv6 connectivity issues, but I can't help but think it's not something OPNsense does on its own. It's something in the surroundings. :/

Hello Fichtner,
I downloaded the USB key for 19.1, pulled another box off the shelf,
booted off of the USB key, dropped my config into /conf/config.xml and
rebooted.   We're now operational with the same network config that we had
on the culprit box.  I can only assume there must have been some sort of
hardware issue that was causing the station not to update.   Sorry for the
trouble.
Cheers

It would indicate it has trouble fetching again, which was part of your
original problem. Sometimes this was due to MTU or IPv6 connectivity
issues, but I can't help but think it's not something OPNsense does on its
own. It's something in the surroundings. :/
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/opnsense/core/issues/3289#issuecomment-470409811

Jason Naughton,  P.Eng, M.E.Sc,
Professional Contractor,
JMN Planning,  Pickering, Ontario,
Office:<PHONE_NUMBER>

Hi Jason,
No worries. Happy to hear it was resolved.
Cheers,
Franco


Limit clause with sql server

Can we detect driver and change LIMIT 1 to TOP(1) and place after SELECT?

Might be something to look into for V2. :+1:

I maybe able to contribute one here soon.

Ok, now that 2.x stuff is just about done, I am going to shoot for this around version 3.x.  @johnlackey If its still a desire, you can extend v2 to override the __toString() rendering.  You will need to extend the database class as well if you want to use it as a factory.

@johnlackey Do you know what the support for TOP limit is in sql server?  I seem to remember there being a syntax change in 2012.  The old code I was using looked something like OFFSET {$this->offset} ROWS FETCH NEXT {$this->number} ROWS ONLY but I think that was only for 2012 and later.

TOP is supported for 2005 and above

@johnlackey https://github.com/kwhat/PDO-SqlSrv Give this a go.  It will only work with what I will be pushing to master.


why not run on other windows computer?

I use "revel build app ./app1".  i copy the app1 directory to other windows computer(not set go environment).
and i execute run.bat, it paniced as following:  and I must install the go? how to do?
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x1 addr=0x0 pc=0x536c74]
goroutine 1 [running]:
github.com/robfig/config.func 001(0x1145a7c8, 0x0, 0x0)
f:/go_example/src/github.com/robfig/config/type.go:146 +0x1b4
github.com/robfig/config.(*Config).computeVar(0x1148bc80, 0x1145a7b8, 0x11466f00
, 0x2, 0x2, 0x114b7c30, 0x21, 0x0, 0x0)
f:/go_example/src/github.com/robfig/config/type.go:38 +0x32a
github.com/robfig/config.(*Config).String(0x1148bc80, 0x11442190, 0x4, 0x114f24c
0, 0xf, 0x0, 0x0, 0x0, 0x0)
f:/go_example/src/github.com/robfig/config/type.go:147 +0x11b
github.com/revel/revel.(*MergedConfig).String(0x114f23e0, 0x114f24c0, 0xf, 0x0,
0x0, 0x3)
f:/go_example/src/github.com/revel/revel/config.go:92 +0x54
github.com/revel/revel.(*MergedConfig).StringDefault(0x114f23e0, 0x114f24c0, 0xf
, 0x8ab778, 0x6, 0x0, 0x0)
f:/go_example/src/github.com/revel/revel/config.go:99 +0x48
github.com/revel/revel.getLogger(0x8ac998, 0x4, 0x11444d20)
f:/go_example/src/github.com/revel/revel/revel.go:212 +0x7f
github.com/revel/revel.Init(0x11442190, 0x4, 0x11442150, 0x4, 0x1144215c, 0x1)
f:/go_example/src/github.com/revel/revel/revel.go:198 +0xe7e
main.main()
f:/go_example/src/eqap/app/tmp/main.go:27 +0x71

Can I close this issue?
is this still a problem ?

Can I close this issue?
is this still a problem ?

@xpbliss if the problem still persists, please let me know your Revel version, Go version, and the run.bat file content, I might try to help you.

@xpbliss if the problem still persists, please let me know your Revel version, Go version, and the run.bat file content, I might try to help you.

@xpbliss @anonx are you sure your environments match? Specifically the file/folder structure? Perhaps some steps to reproduce are needed.

in app.conf :
log.warn.output = %(app.name)s/log/%(app.name)s.log
log.error.output = %(app.name)s/log/%(app.name)s.log
It is ok under windows,  And  it panic the above under Linux.   @anonx is right.

:+1:


Added capability for reading multi-block stls

@cekees @tridelat @BranocRichards @jhcollins you may find this interesting. I modified the STLShape code to read multi-block STLs. This means that you could either:
-Concatenate a series of stl files to a single stl file and read it to assign vertices, facets (and associated boundary flags)
-Save a multiblock file in paraview (e.g. an OpenFOAM case with boundaries or a vtk file perhaps) as an stl, and load it in Proteus
Note that in an stl file, an stl block is defined from a line that starts with solid, to a line that starts with endsolid. The new reader assign boundary names based on the stl naming e.g. if the stl block starts with solid Bed0, then this boundary will be named Bed0.
This development came after looking (with Antonino) how to load the Fargo Case from OpenFOAM to Proteus, and we kind of believe that this should be convenient.
I 'd like some feedback especially for @tridelat who has written the original code

@adimako looks good, maybe a new test would be nice too. Does it concatenate well when vertices are shared between the blocks? (I think that was one issue you mentioned originally)

It did create the mesh of an STL from OpenFOAM. Antonino will set up a simple test case with 6-7 stls and we will see if we can get the flow

Sounds like a good plan. I'm glad this is working.

It seems like it is working. This is a test case prepared by Antonino following the Ansys - OpenFOAM workflow. All boundaries are STLs, we did not any of the tank3D classes etc.

We will put some flow inside and if it works, we will replace with the Fargo case

... including some changes that are in 1.6 as well

It would be nice to have a small section in the documentation explaining how to use multi-block STLs as well, for example in https://erdc.github.io/proteus-doc/tools/spatial_tools.html (source: https://github.com/erdc/proteus-doc/blob/master/source/tools/spatial_tools.rst )

I would not remove the boundary condition issues, as these were done in the course of the development work for the STLShape.
WaveTools changes are mostly cosmetic - I could revert the master files and do these separately.

@tridelat see https://github.com/erdc/proteus/pull/1015. Once we merge this one, the waveTools changes will disappear

@tridelat see changes I did (no WaveTools, remove white space) and merge. Changes in Boundary conditions had to be done to make the STLShape workflow work.
Note that I am happy the way it is working now for a simple inlet / outlet domain. Perhaps we should try to set-up a flume with porous regions and relaxation zones

@adimako @cekees I merged this, but the STL file for the test is very large (1.1M), so I think it would be better to use simpler files for the test (such as a simpler STL geometry) or to use git lfs if it is necessary to use such a large file. The proteus repository is getting quite heavy (385+MB)


Rake: Turn rake task files into .rake files, auto-loaded

This PR uses a feature in Rake, which is "any .rake file in rakelib/ will be auto-required by the Rakefile".

call the individual files .rake
put them in rakelib/
rename paths to supporting files (which now reside, a little incongruously in rake/)

Question

[ ] What are good places to place the citrus grammar and the Pandoc filter Ruby programs?

@bundlerbot retry

@bundlerbot r+

@bundlerbot retry

@bundlerbot retry

@bundlerbot retry


Document supported hardware architectures

Hi!
Could you please put the information about supported architectures to the documentation please? E.e. about supported architectures for different operating systems, some specific requirements to the supported instructions, if you have any (e.g. maybe AVX is required - I do not know).
This kind of information is important for the end-users.
Thanks in advance!

We have updated documentation -  added System requirements and recommendations section.


Feature request: Remove "all breadcrumbs" once finished

First I want to say how awesome this tool is! That being said, after seeing this new feature https://www.youtube.com/watch?v=SDPei-mk13w
I thought it might be awesome to have a "remove all breadcrumbs" (remove print statements generated by the feature).
Why?
I worked on multiple big projects that have print statements that should stay in there, and this would allow for easy deletion of the tool-generated prints without messing with other logs.

ABSOLUTELY!
So here is my general idea
code.print(msg) .. code.comment("__AUTO_GENERATED__")

then there could be a "cleanup" command that would be ran on the specific file and delete whatever line is a print line + has __AUTO_GENERATE__
On top of that I need to get some customized stringification!

@eecopa @ThePrimeagen I think this is taken care of by @pranavrao145 PR that just got merged. Let me know if this is good to close.

If it's not taken care of, sorry about my absence for the last month, then this would be awesome.
Thanks so much for your contribution

Closing as I think this has been resolved with debug cleanup


SCIM is not provisioning users to secondary users store

Affected version - 5.8.0 and 5.9.0

Configure a secondary user store in the IS. For example, MySQL based secondary user store
Configure resident service provider's inbound provisioning as in below to the secondary user store
https://docs.wso2.com/display/IS580/Setting+Up+Service+Provider+for+Inbound+Provisioning
Send a request to add a user without the domain name prefix as in below.

curl -v -k --user admin:admin --data '{"schemas":[],"name":{"familyName":"jackson","givenName":"kim"},"userName":"kim","password":"kimwso2","emails":[{"primary":true,"value":"kim.jackson@gmail.com","type":"home"},{"value":"kim_j@wso2.com","type":"work"}]}' --header "Content-Type:application/json" https://localhost:9443/scim2/Users

It adds the user to the primary user store instead of the secondary user store.

Expected behavior - Add the user to the configured user store

This same behavior could be observed when the inbound provisioning of the SP is configured to the secondary user store as well. In this case, the SCIM request with a token is used. The user is still added to the primary user store instead of the configured user store.

@sarubi @madurangasiriwardena I think @shazni has clearly mentioned that he has configured the secondary user store domain as the inbound provisioning user store in the resident SP configuration. In step 4 of the document @sarubi has pointed also it says if the user store has been configured in resident SP then regardless of what domain you send in the request (or even if you don't send a domain) it should provision to the configured user store.
Also note that @shazni has tried the same with a external service provider configured with OAuth2 token and observed same result.


Add ability to add items to wishlist

Codecov Report

Merging #106 (a1fac73) into main (4091eb0) will decrease coverage by 0.24%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   97.08%   96.84%   -0.25%
==========================================
  Files           7        7
  Lines         378      380       +2
==========================================
+ Hits          367      368       +1
- Misses         11       12       +1

Impacted Files
Coverage Δ

service/routes.py
98.78% <50.00%> (-0.60%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

lgtm


feat: Separate build vs. include proto folders

Apoglogies, that was meant to be opened in my fork