Feature request: Ability to pin a cask so that it doesn't upgrade

Description of feature/enhancement
With straight brew, we can brew pin <formula> in order to prevent that formula from ever upgrading until it is unpinned. It'd be great to have this same ability for brew cask, something like brew cask pin <formula>.
Justification
Sometimes, we don't want to upgrade a particular program. Pins allow us to avoid doing so.
Example use case
$ brew cask pin vagrant
$ brew cask pin dwarf-fortress
etc.

(See also old discussion on Homebrew/brew#1523.)

I agree, this needs to exist. Come casks, say mactex, are massive and it would be beneficial to pin such casks. Other times, keeping a particular version of say java is also desirable.

There’s no way we can enforce pin, because a considerable amount of casks auto update and we neither have control over that, nor do we want to — it’s one of the goals of HBC that the results of our installation is as similar as possible to the results of a manual installation.


DL: [AutoML] Add support for 'diagonal' Hyperband optimized for MPP

JIRA: MADLIB-{1447,1448,1449}
We integrate AutoML capabilities in Apache MADlib by introducing a function called madlib_keras_automl, which bridges the worlds of setting and running model selection together, and helps automate and accelerate the model selection and training processes end-to-end. The user can declaratively specify the names of their train/val datasets, mst and output tables, model architecture and param grid details, the chosen method name and associated params, and various training details as desired, and our API handles the scheduling and execution components with the algorithm workload info displayed to the user.
The first AutoML algorithm we implement is Hyperband, a state-of-the-art hyperparameter optimization algorithm which speeds up random search with adaptive resource allocation, successive halving (SHA) and early stopping. This algorithm generates a schedule with user inputs and evaluates model configurations in a smarter, more efficient way by continually exploring more promising configurations.
In the case of MPP databases such as Greenplum, we further accelerate this algorithm by simultaneously evaluating multiple rounds of the algorithm located along a 'diagonal', to keep machines busy and take advantage of the large distributed storage and compute power offered by Greenplum.
With the diagonal approach, we introduce some additional low-level optimizations with the implementation related to optimal runtimes and code quality by:

Reducing number of random search function calls from s_max+1 to just 1.
Reducing number of multiple model training function calls from s_max(s_max+1)/2 to s_max+1.
Reducing number of sampled SHA configuration groups from s_max+1 to s_max+1-skip_last (i.e. only sampling the configurations actually needed for evaluation).
Abstracting the model training process for every diagonal of Hyperband with the pre-existing madlib_keras_fit_multiple_model function, to evaluate models with Model hOpper Parallelism (MOP) and reap the advantages of both data and task parallel workloads/regimes.

Key:

R --> maximum amount of resources/iterations that can be allocated to a single configuration in any particular round of Hyperband
eta --> factor controlling the proportion of configs discarded in each round of SHA
s_max = floor(log(R)/log(eta)) --> controls the number of SHA brackets (=s_max+1) executed with Hyperband
skip_last --> Number of diagonals to skip at the end (to avoid running the most time/resource intensive bracket(s) and/or to avoid overfitting or loss in predictive power). skip_last ∈ [0, s_max]

@Advitya17 What is the syntax error here please?
SELECT madlib.madlib_keras_automl('cifar10_train_packed',
                           'automl_cifar10_output',
                           'model_arch_library',
                           'automl_cifar_10_mst_table',
                           ARRAY[1],
                           $${'loss': ['categorical_crossentropy'],
                              'optimizer_params_list': [
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}],
                             'metrics':['accuracy']}$$,
                           $${'batch_size': [64, 128], 'epochs': [1]}$$,
                           'hyperband',
                           'R=9, eta=3, skip_last=2');

InternalError: (psycopg2.errors.InternalError_) SyntaxError: invalid syntax (<unknown>, line 1) (plpython.c:5038)
CONTEXT:  Traceback (most recent call last):
  PL/Python function "madlib_keras_automl", line 21, in <module>
    schedule_loader = madlib_keras_automl.KerasAutoML(**globals())
  PL/Python function "madlib_keras_automl", line 42, in wrapper
  PL/Python function "madlib_keras_automl", line 215, in __init__
  PL/Python function "madlib_keras_automl", line 308, in find_hyperband_config
  PL/Python function "madlib_keras_automl", line 42, in wrapper
  PL/Python function "madlib_keras_automl", line 283, in __init__
  PL/Python function "madlib_keras_automl", line 48, in literal_eval
  PL/Python function "madlib_keras_automl", line 36, in parse
PL/Python function "madlib_keras_automl"

[SQL: SELECT madlib.madlib_keras_automl('cifar10_train_packed',
                           'automl_cifar10_output',
                           'model_arch_library',
                           'automl_cifar_10_mst_table',
                           ARRAY[1],
                           $${'loss': ['categorical_crossentropy'],
                              'optimizer_params_list': [
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}],
                             'metrics':['accuracy']}$$,
                           $${'batch_size': [64, 128], 'epochs': [1]}$$,
                           'hyperband',
                           'R=9, eta=3, skip_last=2');]
(Background on this error at: http://sqlalche.me/e/2j85)

@Advitya17 What is the syntax error here please?
SELECT madlib.madlib_keras_automl('cifar10_train_packed',
                           'automl_cifar10_output',
                           'model_arch_library',
                           'automl_cifar_10_mst_table',
                           ARRAY[1],
                           $${'loss': ['categorical_crossentropy'],
                              'optimizer_params_list': [
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}],
                             'metrics':['accuracy']}$$,
                           $${'batch_size': [64, 128], 'epochs': [1]}$$,
                           'hyperband',
                           'R=9, eta=3, skip_last=2');

InternalError: (psycopg2.errors.InternalError_) SyntaxError: invalid syntax (<unknown>, line 1) (plpython.c:5038)
CONTEXT:  Traceback (most recent call last):
  PL/Python function "madlib_keras_automl", line 21, in <module>
    schedule_loader = madlib_keras_automl.KerasAutoML(**globals())
  PL/Python function "madlib_keras_automl", line 42, in wrapper
  PL/Python function "madlib_keras_automl", line 215, in __init__
  PL/Python function "madlib_keras_automl", line 308, in find_hyperband_config
  PL/Python function "madlib_keras_automl", line 42, in wrapper
  PL/Python function "madlib_keras_automl", line 283, in __init__
  PL/Python function "madlib_keras_automl", line 48, in literal_eval
  PL/Python function "madlib_keras_automl", line 36, in parse
PL/Python function "madlib_keras_automl"

[SQL: SELECT madlib.madlib_keras_automl('cifar10_train_packed',
                           'automl_cifar10_output',
                           'model_arch_library',
                           'automl_cifar_10_mst_table',
                           ARRAY[1],
                           $${'loss': ['categorical_crossentropy'],
                              'optimizer_params_list': [
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}
                                  {'optimizer': ['Adam'],'lr': [0.001, 0.0001, 'log']}],
                             'metrics':['accuracy']}$$,
                           $${'batch_size': [64, 128], 'epochs': [1]}$$,
                           'hyperband',
                           'R=9, eta=3, skip_last=2');]
(Background on this error at: http://sqlalche.me/e/2j85)

There needs to be a comma between the dictionaries specified inside optimizer_params_list
All the params (except optimizer) in the optimizer_params_list should be of the format [lower_bound, upper_bound, distribution_type] and you should specify [0.0001, 0.001, 'log'] instead of [0.001, 0.0001, 'log'].


chore(v2): Split parameters module up by parameter provider

Issue #, if available:
#1402
Description of changes:

Checklist

[x] Meet tenets criteria
[x] Update tests
[x] Update docs
[ ] PR title follows conventional commit semantics

Outstanding Changes

[ ] Migration guide
[ ] Documentation
[ ] AspectJ test coverage

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2@50e7b56). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##             v2    #1403   +/-   ##
=====================================
  Coverage      ?   74.36%
  Complexity    ?      407
=====================================
  Files         ?       48
  Lines         ?     1705
  Branches      ?      189
=====================================
  Hits          ?     1268
  Misses        ?      377
  Partials      ?       60

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

@jeromevdl when you have a moment, I would love some initial feedback here! It is not ready for merge - docs and tests need updating - but I have fleshed out the structure of it. Github comments guide you through my reasoning.

I found some other things that I think should be cleaned up.
First Thing
on BaseProvider
https://github.com/aws-powertools/powertools-lambda-java/blob/54c16647369d72f3b02e8e90098715f25ebe24a5/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/BaseProvider.java#L72-L76
https://github.com/aws-powertools/powertools-lambda-java/blob/54c16647369d72f3b02e8e90098715f25ebe24a5/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/BaseProvider.java#L128-L144
The idea is, you can use the provider interface like this, mutating the provider itself, and then the get clears up the mutation. This means we're not threadsafe where we could be, which is probably not a big deal for Lambda, but it's there.
provider..withMaxAge(10, Seconds).get("myKey")

Now keeping withMaxAge in mind, consider this:
https://github.com/aws-powertools/powertools-lambda-java/blob/54c16647369d72f3b02e8e90098715f25ebe24a5/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/BaseProvider.java#L72-L76
Here we're 1/ mutating something that is not reset by the get but still following the builder-style interface and 2/ mutating a field of another object that we hold, but do not necessarily own.
The upshot of this is that the interface is not consistent with itself, and users may get confused when a shared CacheManager's behaviour is mutated by a call to a provider directly.

:bananadance:


[Snyk] Security upgrade ubuntu from 16.04 to xenial-20210416

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

tensorflow/tools/ci_build/Dockerfile.cpu

We recommend upgrading to ubuntu:xenial-20210416, as this image has only 81 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

536
Improper Check for Dropped Privileges SNYK-UBUNTU1604-BASH-542609
Mature

514
Improper Input Validation SNYK-UBUNTU1604-GZIP-2442559
No Known Exploit

514
Integer Overflow or Wraparound SNYK-UBUNTU1604-LIBCAP2-5538302
No Known Exploit

514
Use of a Broken or Risky Cryptographic Algorithm SNYK-UBUNTU1604-LIBGCRYPT20-1585790
No Known Exploit

614
Allocation of Resources Without Limits or Throttling SNYK-UBUNTU1604-SYSTEMD-1320131
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling
🦉 Use of a Broken or Risky Cryptographic Algorithm

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.


train problem loss first decrease and quickly increase

i use unet and loss is only generalized dice loss
i use database on CT, input is 2562565
i found the loss first decrease ,but quickly increase like the picthure below

i tried trained it more time , finally the loss increase to 1, i don't know why

tell me your params


feat: add support for options.dereference.onDereference

This callback is needed for https://github.com/bcherny/json-schema-to-typescript/pull/453, in order to more intelligently emit TypeScript types from JSON Schemas. Specifically, this change lets us use referenced names for type names, which results in more intuitive and human-readable types. I've implemented it as a generic hook for json-schema-ref-parser.

Hi I'm trying to get this merged via a new pull request, and got past the linting issues. Now it's giving me a failed test, could you take a look?
  File names with special characters
    1) should parse successfully

  0 passing (47ms)
  1 failing

  1) File names with special characters
       should parse successfully:
     TypeError [ERR_INVALID_URL]: Invalid URL: specs/__(%7B%5B%20%25%20&%20$%20%23%20@%20%60%20~%20,)%7D%5D__/__(%7B%5B%20%25%20&%20$%20%23%20@%20%60%20~%20,)%7D%5D__.yaml
      at new NodeError (internal/errors.js:322:7)
      at onParseError (internal/url.js:270:9)
      at new URL (internal/url.js:346:5)
      at Object.resolve (lib\util\url.js:8:136)
      at $RefParser.parse (lib\index.js:46:39)
      at Context.<anonymous> (test\specs\__({[ % & $ # @ ` ~ ,)}]__\special-characters.spec.js:13:33)
      at processImmediate (internal/timers.js:464:21)

Turns out that issue is unrelated to this PR so I've got it merged! Thank you.
If you could help fix #283 that would be ideal but either way this change will be out in the next release.


[WIP] Ability to change the context of a form model

#91, #95, #107
Todo

[x] Example form page with new functionality
[x] Unit tests for the form overloads to match the unit test for the other one
[x] Unit tests for the HTML helper overloads that tests the form output of a field
[x] Acceptance test for input and post-back of form output against random model
[x] Acceptance test for input and post-back of form output against sub-property
[x] Acceptance test for input and post-back of form output against sub-property, but binding to parent
[ ] Documentation of HTML helper overloads
[ ] Documentation of BeginChameleonFormFor methods

For anyone playing at home, this feature is good to go now apart from the documentation.
I'll try and add that tomorrow.


Update package.json.

specify the files to install
use the shorter license property
remove moot main property
make node.js 0.10 the minimum supported version; 0.8 wasn't being tests in CI

https://github.com/jkphl/grunt-svg-sprite/pull/48/files?w=1 for the no whitespace diff.

Thanks for your suggestions. Could you please explain why you want to force the caret range specifier in all places? For devDependencies and peerDependencies I tend to use the tilde range specifier and stick to a somewhat more strict update strategy.
Regarding the engines property, I'll consider adding the 0.10 version and include 0.8 in the tests instead.

The only tilde you used was for grunt and it simply doesn't make any sense.
As for 0.8 et all, I simply made what seems sensible, i.e. not supporting untested versions.

Please correct me if I'm wrong, but isn't there a significant difference in the meaning of >=0.4.0 and ^0.4.5? I've never tested things on Grunt < 0.4.5, so lowering the dependency below 0.4.5 simply wouldn't be correct (in the sense of "I know it will work"). Also, I wouldn't automatically expect the task to run under Grunt 0.5.0, but rather increase the dependency version after the release of 0.5.0 and some proper tests. In your own words: I don't want to express support for untested version. So what's wrong with this?

Who would even use such versions? If you care about that you should do it for all dependencies because people can have outdated ones.

Sorry, but I don't get your point here. Please land the range specifier change in grunt-init first (they do it the same way, which might have reasons, might have not). I'll happily accept your remaining suggestions in the meantime. Thanks again.

It simply is older; npm didn't have the ^ back then.
Anyway I have no time to spend in this anymore.
On Jun 2, 2015 10:21 AM, "Joschi Kuphal"<EMAIL_ADDRESS>wrote:

Sorry, but I don't get your point here. Please land the range specifier
change in grunt-init https://github.com/gruntjs/grunt-init first (they
do it the same way, which might have reasons, might have not). I'll happily
accept your remaining suggestions in the meantime. Thanks again.
—
Reply to this email directly or view it on GitHub
https://github.com/jkphl/grunt-svg-sprite/pull/48#issuecomment-107835806
.


Does this work with 60A Renogy Rover?

Hi, thanks for this project. I have 60A MPPT Renogy Rover and am trying to communicate with a MacOS via RS232 cable <-> DB9 connector. When I run renogy_rover.py I get this error:
"/Users/ed/Desktop/solarshed-master/solarshed/controllers/modbus/minimalmodbus.py", line 1699, in _extract_payload
    MINIMAL_RESPONSE_LENGTH_RTU, response
modbus.minimalmodbus.InvalidResponseError: Too short Modbus RTU response (minimum length 4 bytes). Response: 'ÿ'

I double checked my wiring, and am not sure what to do next. Does 60A Mppt controller work on a different protocol than 20A/40A version?

Hi @st4rgut22 !
I currently only have access to a 40A Renogy Rover.   I used it to help develop this library.
I would think that all of the Rover editions would communicate using the same protocol. 🤔
I'm behind on issues/PR reviews on the project.   I just noticed that a couple of PRs have been opened up about changes that have been made in new(er) modbus versions that could impact the library.  (See #9 and #10)
I'll see if I can help 👀 into this more over the weekend.   I may be able to suggest a few things you might try
Thanks,
Brian

👋 @st4rgut22 - I've gotten those open PRs merged along with some updates to the project dependencies.
I'm behind on testing those out against my own set up before releasing a new library version.
I'm 🤞 that I can get some runtime on the new version of the library ASAP and will circle back to this issue once the new library version is released to see if it fixes up this error.   Thanks for your patience!  🙇

I tested on 40A Rover too and have the same issue. I used several kinds of USB - Serial converters. Perhaps Renogy has found a way to prevent this communication because the Renogy BT1 module communicates fine.


Settings and onboarding updates

Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?
Updates to settings and onboarding for #1600

Remove popup guide in settings
Move Integrations in front of Pomodoro in menus
Add Pomodoro focus mode screenshot
Add arrow to onboarding button links (@tcrammond does this look ok, or do you still prefer "Go to..."?)
Make link to webapp in onboarding section 1 more obvious (added underline)
Add Pomodoro info/guide (added a section at the top of the page with a link to https://francescocirillo.com/pages/pomodoro-technique)
Add link/callout for integrations page on general settings page
Simplified integration section on onboarding page

:bug: Recommendations for testing
Check pages have changes listed above, and changes make sense
:memo: Links to relevant issues or information
Requested changes from #1600
Built on #1611 which needs to be merged in first

@tcrammond thanks for catching that - updated link and a few other minor things.


Bring Your Own Certificate Authority

The tools to build the server (and client) certificates should allow you to use your own CA. While it doesn't matter in most use cases, some users may have an existing CA infrastructure setup on their EUDs, and may wish to use that CA.

Agreed this is important. I've been looking into if appropriate files could be dropped into location and used.
Tnx, Alan ("Pinzgauer" on discord)


[HUDI-8388] Fixing col stats lookup to include pruned partitions along with encoded cols

Change Logs
Fixing col stats lookup to include pruned partitions along with encoded cols
Impact
Fixing col stats lookup to include pruned partitions along with encoded cols
Risk level (write none, low medium or high below)
low
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot  run-azure


ProtocolDectctor -> ProtocolDetector

Hello!
While building the workspace, I have found this mistake.
Location: ros2_ws/src/tracer_ros2/tracer_base/src/tracer_base_ros.cpp:65:3
Problem: error: ‘ProtocolDectctor’ was not declared in this scope; did you mean ‘ProtocolDetector’?
Thank you!


configure: error: something wrong with LDFLAGS="-L...

I can't seem to get ruby-build to work on OSX. Any ideas?
ruby-build 2.2.0 ~/local/ruby-2.2.0
ruby-build: use openssl from homebrew
Downloading ruby-2.2.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.bz2
Installing ruby-2.2.0...
ruby-build: use readline from homebrew

BUILD FAILED (OS X 10.12.4 using ruby-build 20170405)

Inspect or clean up the working tree at /var/folders/jp/bhxfpbm904nctz6j03rm2drh0000gp/T/ruby-build.20170427123529.78803
Results logged to /var/folders/jp/bhxfpbm904nctz6j03rm2drh0000gp/T/ruby-build.20170427123529.78803.log

Last 10 log lines:
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... no
configure: error: something wrong with LDFLAGS="-L/Users/User/local/ruby-2.2.0/lib "
make: *** No targets specified and no makefile found.  Stop.

Also:
rbenv install 2.4.1
ruby-build: use openssl from homebrew
Downloading ruby-2.4.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2
Installing ruby-2.4.1...
ruby-build: use readline from homebrew

BUILD FAILED (OS X 10.12.4 using ruby-build 20170405)

Inspect or clean up the working tree at /var/folders/jp/bhxfpbm904nctz6j03rm2drh0000gp/T/ruby-build.20170427123718.79852
Results logged to /var/folders/jp/bhxfpbm904nctz6j03rm2drh0000gp/T/ruby-build.20170427123718.79852.log

Last 10 log lines:
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... no
configure: error: something wrong with LDFLAGS="-L/Users/User/.rbenv/versions/2.4.1/lib "
make: *** No targets specified and no makefile found.  Stop.

mkdir -p /Users/User/.rbenv/versions/2.4.1/lib does not fix it.

relevant config.log:
configure:7554: checking whether CFLAGS is valid
configure:7567: clang -c -g -O2   conftest.c >&5
configure:7567: $? = 0
configure:7568: result: yes
configure:7579: checking whether LDFLAGS is valid
configure:7599: clang -o conftest -g -O2    conftest.c  >&5
clang: warning: libLTO.dylib relative to clang installed dir not found; using 'ld' default search path instead [-Wliblto]
configure:7599: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:7605: result: no
configure:7607: error: something wrong with LDFLAGS=""

I had a similar issue. Turned out that I had the following in my .bash_profile. Commenting it out fixed my issues. I have a feeling this led to some conflicts with system libraries
#export LIBRARY_PATH=/opt/local/lib:/usr/local/lib

Can we please have this fixed? It cripples user experience.
$ rbenv install 2.4.1                                                                                [12:38:41]
ruby-build: use openssl from homebrew
Downloading ruby-2.4.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2
Installing ruby-2.4.1...
ruby-build: use readline from homebrew

BUILD FAILED (OS X 10.13.1 using ruby-build 20170914)

Inspect or clean up the working tree at /var/folders/dn/bdsfszyj63569bgkwf1jsrw80000gn/T/ruby-build.20171007123914.61416
Results logged to /var/folders/dn/bdsfszyj63569bgkwf1jsrw80000gn/T/ruby-build.20171007123914.61416.log

Last 10 log lines:
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... no
configure: error: something wrong with CFLAGS="-I/usr/local/include -L/usr/local/lib  "
5.97s user 4.92s system 75% cpu 14.433 total
FAIL: 1

I know that setting CFLAGS='' is a way to bypass this bug but this is not an excuse for having a broken default behaviour. Clearly the CFLAGS value is valid but somehow ruby-builds seems to consider itself as being too smart.

For me the issue was the $PATH variable, not the $LIBRARY_PATH.
@ssbarnea double check your .bash_profile/.bashrc/.profile and environment variables.

In case anybody else runs into this issue recently, the LDFLAGS error was occuring when I was trying to rbenv install 2.5.3. I tried setting the path, reinstalling openssl, and other suggestions but what eventually solved it was to upgrade XCode from 9.4 to the latest 10.1

I faced this issue on Mojave when I was using an older version of Xcode. (I had downgraded to 9.4 from 10.3).   I resolved this issue by installing latest version of Command Line Tools and running:
sudo xcode-select -s /Library/Developer/CommandLineTools

I faced this issue on Mojave when I was using an older version of Xcode. (I had downgraded to 9.4 from 10.3). I resolved this issue by installing latest version of Command Line Tools and running:
sudo xcode-select -s /Library/Developer/CommandLineTools

Yup, I'm running more than one xcode as an older version is a dependancy for an older rails project that I have.  I've got a newer version in /Applications, so using that let me install:
 sudo xcode-select -s /Applications/Xcode.app/

I was running into openssl related issue:
Error running './configure --prefix=/Users/<user>/.rvm/rubies/ruby-2.7.0<EMAIL_ADDRESS>--disable-install-doc --enable-shared',

Ran brew install openssl
then it told to reinstall run: brew reinstall<EMAIL_ADDRESS>so I re-installed
Then at the end, it said to add these vars in .zshrc
If you need to have<EMAIL_ADDRESS>first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc

For compilers to find<EMAIL_ADDRESS>you may need to set:
  export<EMAIL_ADDRESS>  export<EMAIL_ADDRESS>
For pkg-config to find<EMAIL_ADDRESS>you may need to set:
  export<EMAIL_ADDRESS>
so i added these in .zshrc:
# openssl 1.1
PATH="/usr/local/opt/openssl@1.1/bin:$PATH"
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
to get these in my already opened terminal, I ran source ~/.zshrc
the updating ruby using rvm worked: rvm install "ruby-2.7.0"

I run the following:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.bashrc
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.bash_profile

And then run
rvm install "ruby-2.7.0"

it's working with me.

unset LIBRARY_PATH

# If you have the file .ruby-version on folder
rvm install "$(< .ruby-version)"

# Or
rvm install 2.7.6

For me I just had a bad path for openssl in my dot file it appears. I removed it and it worked.

In my .zsh I commented out the following line:
#export LDFLAGS="-L/usr/local/opt/libffi/lib"


Looking forward to the mac swift version of the plugin 😊

We are going to integrate with the xplat version, this is a temporary home


🎉 feat: find list feed (#813)

Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for new/updated/fixed functionality.
[ ] I have updated/added dartdoc comments with ///.

Breaking Change

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

Related Issues

Codecov Report

Merging #817 (4af797c) into main (6568b6d) will increase coverage by 6.77%.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #817      +/-   ##
==========================================
+ Coverage   80.48%   87.26%   +6.77%
==========================================
  Files         237        7     -230
  Lines        2952      157    -2795
==========================================
- Hits         2376      137    -2239
+ Misses        576       20     -556

see 230 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Copy toy data with examples during make install

Fixes #3997

This should be done via the data repository installation. Sorry about the issue, was my mistake ..


Bug Report: dual flurry

After triggering the dual flurry feat, the monk can use 4 unarmed strikes with 1 Flurry of Blows.

save please.

SolastaUnfinishedBusiness.zip
Replace your mod DLL with this one and let me know if any better.

save please.

https://www.dropbox.com/s/ytr1zzs5sr3c4zd/QuickSave_3.sav?dl=0

SolastaUnfinishedBusiness.zip
Replace your mod DLL with this one and let me know if any better.

It's fixed. thank you for your quick work!


Stuck in loop leaving planet (Userscript Mode)

It just leaves the planet and refreshes the game forever.
https://i.gyazo.com/8d21f54b40cb9f74eb589d686439c5d8.png

i am having the same problem.

This one works for me though:
https://github.com/TehDmitry/salien-bot

This issue is related to zone 0 being the best zone on a planet resulting in some bad logic on line 122.
0 in this case is being interpreted as false, making the script believe that the planet is completed.  But even after changing this, there is still some issue loading into zone 0 properly, but it is part of the solution here.
https://github.com/meepen/salien-bot/blob/d82f1a894bcd0f3fb385ba0226d8667b3ee31fe3/index.user.js#L122

No idea how to change that. :(

Is already updated
On Sat, Jun 30, 2018, 1:50 PM Spartanul<EMAIL_ADDRESS>wrote:

No idea how to change that. :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/meepen/salien-bot/issues/155#issuecomment-401556231,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5lSUTyc1ng8OSIRG0MNojf_6Z3xBMfks5uB7pJgaJpZM4U-ApL
.


Cannot install pip with RustPython

I'm trying to use pip with RustPython and i'm hitting into a pip error, I install
I make sure that SSL is built with RustPython
cargo install --git https://github.com/RustPython/RustPython --features ssl

and once I install pip the error appears.
rustpython --install-pip
downloading get-pip.py...
running get-pip.py...
ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
ERROR: No matching distribution found for pip

What am I missing?

What am I missing?

This has been a problem since late-January/early-February. See also:

#3544
#3670
#3808

this is installable - not yet working


Version of Hbase

Hi,
Can you please let us know the version of Hbase supported for Kundera 3.10

Hi @jeevitesh,
HBase 1.2.x is supported.
-Dev

thanks


Update debugging-gpu-code.md

Add current windows version

@drvoss : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off If you can commit this minor edit and then merge, that would be great.


Use splitted gettext

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@xhochy Looking good now that gettext is fixed! Personally, I'd be fine with merging this as-is, despite the tiny comment above.


Autorest Regen Preview to 3.0.0-alpha.20231108.3 by Jorge Rangel from refs/pull/3891/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/3891

API change check
API changes are not detected in this pull request.


[nrf fromlist] Bluetooth: hci: Depend on SOC not BOARD

The CONFIG_BT_RPMSG_NRF53 should depend on the SOC, not the BOARD
definition. Otherwise this will break for custom boards.
Signed-off-by: Thomas Stenersen<EMAIL_ADDRESS>
Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/26215

@thomasstenersen Can you add a link in the commit message to the upstream PR? It makes up-merging much easier.


Feature Request: Access Current Time While Timer Running

Hello,
I love what you have done with this circular countdown timer, but just wanted to make more of a feature request than an issue. I was wondering if I can take the exact time in the middle of the timer? An example of this is when I move to another screen but I would like to take the exact time left/used in the timer to the next screen by setting the current time to a variable. I would love if this could be implemented into the package!
Thanks,
Rhino773 :)

Hi! Thanks for your Kind words.
I have added getTime method in CountDownController to get Current Time (i.e Time Used in terms of Forward Countdown and Time Left in terms of Reverse Countdown) of Countdown Timer.
If Hour in current time is not equal to zero then getTime method return String in HH:mm:ss format, otherwise in "mm:ss" format.

Thank you! This is a great addition to the package! Keep up the great work!


request: absolute path

I love internal link complement! Could you add the absolute path for an option?

Hi, @woshitoutouge :)
Please trying set Full to ⚙Description on suggestion.
(It is not an absolute path but a relative path from the root of a vault.)

@tadashi-aikawa  Sorry, I didn't make it clear. I mean after the auto complement, the internal link should be like [[folder/filename]], just like when i use "[[" to insert an internal link (if i set the new link format like this ↓)

The absolute path of the internal link means a lot to me, because it gives extra information about the link. And I know not everyone need this, could you add an option here ↓ so we can choose the link format?
Various complements is a great tool and i love it

OK. I understood 👍
I'll respect of New link format option if possible.

That'd be nice. All the best! @tadashi-aikawa

@woshitoutouge
I have released v7.0.0-beta4 🚀
If you use BRAT, please confirm whether it works as you expected.

It's amazing! Perfectly match the system link format without extra menu, great work! Thanks a lot!

@woshitoutouge I have released v7.0.0-beta4 🚀
If you use BRAT, please confirm whether it works as you expected.

Released in v7.0.0 🚀


Prevent users from being able to choose their own locale/language

A user on the team, who is based in the USA, noticed that the i18n strings in the application were not being translated. We realised their browser is set up to send en-US as the locale in an Accept header, and as a result django is trying (and failing) to find an en-US locale file.
This is despite the application being set up to use en-GB as the default.
Additionally, other country locales do not have the same issue (e.g ca-ES)
One way to attempt to resolve this is to prevent users from being able to select their language, by removing the LocaleMiddleware. We currently do not have any other locales to offer, and we have no current plans to add any.
If/when we decide to add more locales to the application, we can look into reinstating the middleware and figuring out why en-GB is not being treated as the default when a user's locale is set to en-US
https://docs.djangoproject.com/en/4.1/topics/i18n/translation/#how-django-discovers-language-preference

Changes in this PR:
Trello card / Rollbar error (etc)
Screenshots of UI changes:
Before
After

[ ] Requires env variable(s) to be updated

That sounds sensible to me, Laura - this presumably means we can still use i18n to manage UI strings, without actually doing the 'translation' part?

@timcowlishaw I think so - from reading the docs I think this Middleware allows users to choose their language, and removing it removes the option.


Update Landing page to funnel users towards Klima Infinity

Beyond just "infinity" at the top nav,

What can we do to funnel viewers of the landing page into the klima infinity journey?

Perhaps just the nav is fine?

As discussed on calls the v1 MVP journey will be:

arrive on KI landing page
click the CTA and read an explainer (eventually a modal with options) #
calculate footprint with an external partner
return to dapp and offset

Similarly, I created this ticket: #500
@Go-Mori if you could invest some brainpower into these questions and make suggestions I'd appreciate! Text-only or figma mocks are fine.

hi there. I'm doing the discovery in this Figma file:
https://www.figma.com/file/YM245UOgve7XknodVL9IX1/Navigation-discovery?node-id=0%3A1
Let's all add comments there?

@Atmosfearful I think this ticket is now a duplicate to #597

This is now redundant / dregs as the functionality has been added.


Update example manifests for phased execution

Why: Sub of #762
What:
Update example manifests to work with new "phased" execution flow.
Specifically, this means:

aggregation config includes parameters with aggregation method
node pipeline is divided into observe, regroup and compute sections
no config related to new params exists
no ouputs field is present
no time-sync in initialize section
time sync is in top level context if time-sync is being used

e.g.
name: generics
description: a pipeline that does arbitrary calculations using our generic arithmetic builtins
tags:
aggregation:
time-sync:
initialize:
  plugins:
    "sum":
      path: "builtin"
      method: Sum
      global-config:
        input-parameters:
          - cpu/energy
          - network/energy
        output-parameter: energy
tree:
  children:
    child-1:
      pipeline:
        observe:
        regroup:
        compute:
        - sum
      config:
      defaults:
        cpu/thermal-design-power: 100
      inputs:
        - timestamp: "2023-12-12T00:00:00.000Z"
          cloud/instance-type: A1
          cloud/region: uk-west
          duration: 1
          cpu/energy: 50
          network/energy: 10

Blocked by #809
Scope of work:

[ ] Update all manifests in if/manifests so that they execute correctly with the newly refactored "phased" IF
[ ] Update all example manifests and snippets across if-docs and builtin READMEs

Acceptance Criteria

[ ] all manifests are updated
GIVEN the manifests have been udpated
WHEN I run any manifest from our manifests folder, IF builtin READMEs or if-docs
THEN The manifest executes as expected

@jmcook1186 please add an example of the manifest changes

@jmcook1186 @narekhovhannisyan can you confirm please that this is something that would be useful to do now/soon and that @MariamKhalatova is in a good position to do this? 🙏

yes this will need to be applied across our entire set of manifests (all subdirectories inside if/manifests)

a few manifests have not updated, @manushak will help identify which ones. @MariamKhalatova to sort out once clarified 🙏

these manifests need to be updated

manifests/examples/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml
manifests/examples/pipelines/outputs-if-diff/pipeline-with-mocks.yaml


Add sourceSet.output to PMD classpath

Any of the checked boxes below indicate that I took action:

[x] Reviewed the Contribution Guidelines.
[x] Signed the Gradle CLA.
[x] Ensured that basic checks pass: ./gradlew quickCheck

For all non-trivial changes that modify the behavior or public API:

[ ] Before submitting a pull request, I started a discussion on the
Gradle developer list
or can reference a JIRA issue.
[ ] I wrote a design document. A design document can be
brief but explains the use case or problem you are trying to solve,
touches on the planned implementation approach as well as the test cases
that verify the behavior. Optimally, design documents should be submitted
as a separate pull request. Samples
can be found in the Gradle GitHub repository. Please let us know if you need help with
creating the design document. We are happy to help!
[ ] The pull request contains an appropriate level of unit and integration
test coverage to verify the behavior. Before submitting the pull request
I ran a build on your local machine via the command
./gradlew quickCheck <impacted-subproject>:check.
[ ] The pull request updates the Gradle documentation like user guide,
DSL reference and Javadocs where applicable.

For the typeresolution feature in PMD it is necessary, that the compiled
classes of the project itself are on the "auxclasspath", too.
Currently, only "sourceSet.compileClasspath" is used. With this change, both "sourceSet.output" and "sourceSet.compileClasspath" will be used. The unit tests have been adjusted accordingly.
This problem has been found via pmd#1468, where you can find a complete sample project.
The workaround is, to configure pmdMain manually, e.g.:
pmdMain {
   classpath = files(sourceSets.main.compileClasspath, sourceSets.main.output)
}

This PR will make this configuration the default.

Hi Andreas, thanks for your contribution!
I've had an initial look at your pull request and left some comments, mostly stylistic.
If you don't mind, I'll be adding in a few more tests after this is merged, particularly in terms of incorporating the example project in the upstream PMD issue that proved this problem in the first place.
Hope that is fine with you!

I've improved the code a bit as suggested. Let me know, if you need anything from me. Thanks!

Thanks for your contribution!

For internal review: https://code-review.gradle.org/cru/REVIEW-6056

Added associated Jira GRADLE-3488.

Hi @adangel,
after merging this pull request we had some issues regarding open file handles on our CI infrastructure. You see that we needed to annotate the test classes with LeaksFileHandles.
This is because after adding the built classes to auxclasspath the file handles used to read those classes are not closed. This yields problems on windows since there one cannot delete or modify a file if another process has an open file handle to it.
For us this is very important, since we are enabling the Gradle daemon by default with 3.0. If a plugin leaves file handles open after running then a user needs to restart the daemon on Windows which works against the purpose of having the daemon.
I opened a pull request for pmd - can you please have a look?

Hi @wolfs,
thanks for reporting the issue/PR.
What is the time schedule for gradle 3.0? If it is urgent, I could create a bugfix release of PMD, otherwise I'll wait a bit to include maybe other fixes as well.

Hi @adangel,
Thanks for your fast response!
We are planning to issue a first rc this Wednesday. If we could have a bugfix release of PMD that would be great! We can probably change the default PMD version used by the Gradle PMD plugin till the end of the week. Depending on the number of RCs it could also be possible that we can still upgrade later - but I cannot make any promises in this direction.
The users of the plugin can change the PMD version via their build script - this means even if we cannot bundle a version of PMD including the fix with 3.0 the users can react as soon as there is a bugfix release.

Hi @wolfs,
I've just merged your PR. Could you give it a try with the SNAPSHOT first? It's available from https://oss.sonatype.org/content/repositories/snapshots - net.sourceforge.pmd:pmd:5.5.1-SNAPSHOT
If the problem is gone, I can release 5.5.1 tomorrow.

Thanks @adangel! I tried out the snapshot and our tests now work on Windows 😄. Thank you for preparing a new release on such short notice!

@wolfs I've just released 5.5.1 - it should appear in maven central soon...

Awesome! Thank you very much @adangel! I integrated the version into the release branch. Works good so far.


The proper way to handle SVG

How should I stub/handle/precompile SVG using Vue 3 + VTU@Next + Jest?
Reproduction repository: https://github.com/standbyoneself/ws-test-client
The simple test:
import User from<EMAIL_ADDRESS>import { shallowMount } from '@vue/test-utils';

describe('User.vue', () => {
  it('should do something', () => {
    const wrapper = shallowMount(User);

    console.log(wrapper.html());
  });
});

For the simple component:
<template>

    <animated-anchor
      :text="user.login"
      :href="user.html_url"
      class="user__name"
    />

</template>

Causes the error:
FAIL  tests/unit/components/User.spec.ts
● Test suite failed to run
Jest encountered an unexpected token

Details:
/Users/vishnevsky/Desktop/Projects/github.com/ws-test-client/src/assets/icons/logout.svg:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){<?xml version="1.0" encoding="iso-8859-1"?>
                                                                                ^

SyntaxError: Unexpected token '<'

  15 | import { GithubUser } from '@/types';
  16 | import AnimatedAnchor from './AnimatedAnchor.vue';
> 17 | import logoutIcon from<EMAIL_ADDRESS>     | ^
  18 | import { useRouter } from 'vue-router';
  19 | import githubService from '@/services/GithubService';
  20 |

  at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1479:14)
  at Object.<anonymous> (src/components/User.vue:17:1)

Have tried identity-obj-proxy and svgTransform.js like from vue-svg-loader instruction, but it seems to me they worked only with the previous version of Vue, and these instructions deprecated now

Have tried identity-obj-proxy and svgTransform.js like from vue-svg-loader instruction, but it seems to me they worked only with the previous version of Vue, and these instructions deprecated now

vue.svg-loader turns SVGs into Vue components. That's not what your app code is doing, though - it just gives you a string - a path to the svg file, which you then can put into an img's src.
So what you have to do it to tell jest: "when you encounter an svg import, just give me a string."
See also: https://jestjs.io/docs/webpack#handling-static-assets
{
  moduleNameMapper: {
      '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/__mocks__/fileMock.js',
    }
}

// __mocks__fileMock.js
module.exports = 'test-file-stub';

It's clear now, thanks


Feature: Improved example app

This PR updates the example app to match the angular-start project repo which adds directives, http requests and forms
Fixes #21

Coverage decreased (-5.03%) to 89.091% when pulling e178d547e8c4c2b5931781b0e313cff9a2fb15b6 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

Coverage decreased (-5.03%) to 89.091% when pulling e178d547e8c4c2b5931781b0e313cff9a2fb15b6 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

Coverage decreased (-5.03%) to 89.091% when pulling e178d547e8c4c2b5931781b0e313cff9a2fb15b6 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

Coverage decreased (-5.03%) to 89.091% when pulling 54f4ba2d5c138b180c43842ff4a4f454049dce65 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

Coverage decreased (-0.2%) to 93.878% when pulling 1063369ab27f1ea1bb297bbb61e193a7547ab860 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

Coverage decreased (-0.4%) to 93.75% when pulling 94926088b8a5656d4b408884d5dc04b554e28fc6 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

@jamesjwarren / @peeklondon finally got all the test running, can you please take a :eyes:

Coverage decreased (-0.5%) to 93.617% when pulling 51c4aa83659852fd10a5c8b23d75fa8f44dcee22 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

Coverage decreased (-0.5%) to 93.617% when pulling 862db45d2fa6697928eff0f8993f1dd6138e5c47 on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

Coverage decreased (-0.5%) to 93.617% when pulling 07a2c33286dbc180a3ffeec674726e67a31d15dd on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.

cool :+1:

Coverage decreased (-0.5%) to 93.617% when pulling 6d419b4286f0f0ce5b6ee7aac686d642c1f4b2db on feature/improved-example-app into ad2ae2a07fc092165b04162c88283db3b80bd34b on master.


Fix panic

The root cause of this panic is that typhon errors that come from from rabbitmq as protobufs can have a nil Private/PublicContext if they were marshaled with an empty map map[string]string{}
This solution breaks the symmetry of marshaling and unmarshaling to proto. It sucks, but unfortunately that's how protobuf works. There's no way to distinguish between something that was marshaled with an empty map and something that was marshaled with a nil map

:+1:


Create a proper Critical FOFT with preload (polyfill) for Variable Fonts

The last time you wrote about Variable Fonts was just over two years ago and a lot has changed since then.
Is it possible to create a proper "Critical FOFT with preload (polyfill) for Variable Fonts" example, with Fallback fonts.
Thanks.

Here's an example of a Variable font setup with a fallback, you could merge with your script:
/* Load the variable font */
@font-face {
	font-family: 'Venn VF';
	src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/814870/Venn_VF.woff2') format('woff2-variations'), /* for Safari */
			 url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/814870/Venn_VF.woff2') format('woff2'); /* for all other supporting browsers */
	font-display: fallback;
	font-weight: 300 800; /* prevents faux bolding in Safari */
	font-stretch: 75 125;
}

/* Load the static fonts as a fallback */
@font-face {
	font-family: 'Venn';
	src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/814870/Venn_Regular.woff2') format('woff2');
	font-display: fallback; /* has nothing to do with the fact that this is the fallback font */
}

@font-face {
	font-family: 'Venn';
	src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/814870/Venn_Bold.woff2') format('woff2');
	font-display: fallback; /* has nothing to do with the fact that this is the fallback font */
	font-weight: 700;
}


Prevent rabbit user details from being sent to sentry

When we complete the switch to amazonmq in all environments, we will be using rabbit mq urls to connect to rabbit in each app. Since the url contains the password and username, we need to suppress this information in any error message, while still sending the error to sentry - example error message we want to change is https://sentry.io/organizations/govuk/issues/3798011523/?project=202242
This PR uses a before send callback with regex to detect when a message contains sensitive information, and logic to substitute just the password in the message for a censored version.
Trello

We (@kevindew and @aldavidson) have decided to close this PR, and not explicitly handle this case.
This is because we don't think the likelihood of this error occurring (will be just when a uri is misconfigured for one of the services that allow connection via a url, e.g. rabbit) outweighs the risks of adding more custom set-up for all of our apps. These errors will not occur randomly at runtime, but rather when an application tries to connect to one of these services the first time it is reconfigured, at which point we're likely to be on the look-out for such errors. At this point, we would just need to rotate credentials.
If in future we encounter this again, or have more evidence that this is a significant issue, we can use this PR as a base for an approach for handling.
Slack thread for reference (this comment is a summary)


Configuration in config.yaml.d is not read if there is no config.yaml

Environmental Info:
K3s Version: v1.28.6+k3s2

Node(s) CPU architecture, OS, and Version: AMD64, Debian 12

Cluster Configuration: Single-node setup

Describe the bug:

To customize the configuration according to the docs i created a file called /etc/rancher/k3s/config.yaml.d/95myconfig.yaml with the content
write-kubeconfig-mode: "0644"
cluster-init: true
kube-controller-manager-arg:
  # Removing leader election can reduce CPU usage on a single-node setup.
  - "leader-elect=false"
  - "node-monitor-period=60s"

Note, there is NO /etc/rancher/k3s/config.yaml file.
After the installation via wget -O - https://get.k3s.io | sh - i was wondering why the permissions of the /etc/rancher/k3s/k3s.yaml was still 0600.
The correct file permission was set when i moved the config file from config.yaml.d/95myconfig.yaml to config.yaml.
Steps To Reproduce:

Installed K3s: See bug description

Expected behavior:

The config files from config.yaml.d/* are still applied if there is no config.yaml file.
Actual behavior:

The extra configs from config.yaml.d/* are not applied if there is a config.yaml file.
Additional context / logs:

n/a

I can't reproduce this. Are you sure you didn't create the file in config.yaml.d after installing and starting k3s?
/ # ls -la /etc/rancher/k3s/config.yaml /etc/rancher/k3s/config.yaml.d/*
ls: cannot access '/etc/rancher/k3s/config.yaml': No such file or directory
-rw-rw-r-- 1 1001 1001 49 Feb 27 00:12 /etc/rancher/k3s/config.yaml.d/95myconfig.yaml

/ # cat /etc/rancher/k3s/config.yaml /etc/rancher/k3s/config.yaml.d/*
cat: /etc/rancher/k3s/config.yaml: No such file or directory
write-kubeconfig-mode: "0644"
cluster-init: true

/ # kubectl get node -o yaml | grep node-args
      k3s.io/node-args: '["server","--write-kubeconfig-mode","0644","--cluster-init","true"]'


food habits dataset too big for github

I tried putting Brian's Rdata file into the data folder but it exceeds the file size limit (100mb).
Should we consider the Git Large File Storage, or would it be better to serve it from ERDDAP?

Another option (for branch folks with access to the branch drive) is to use googledrive. I have some code bouncing around that will authenticate and facilitate downloading the data.

ERDDAP would be good for this because it allows for subsetting data prior to download. If we're planning on hosting/accessing data through ERDDAP in the future anyways, then that's my vote.

I had started to edit my comment that the googledrive is a short-term solution and we should aim for ERDDAP, but we should just make sure it's OK with Brian


Alpharetta, GA Addresses

https://opendata.arcgis.com/datasets/alpharetta::addresspoints-od

I added these in #2838

sorry, didnt see them in the interactive map in the area

@justinelliotmeyers the OA machine can't keep up with you and Stephen (who added that just 1 day ago) – usually it runs over the weekend.


Disabled buttons on reach end or start

Hello Barthy,
Thanks for your library :)
I was looking for this kind of library for a while to not use swiperJS for overflow-x
Here is my code, i managed to create multiple instances for multiple "carousel" :
$(".slider-snap > div").each(function () {
            let $this = $(this);
            const sliderElement = this;
            const slides = sliderElement.getElementsByClassName('scroll-snap-slide');
            const slider = new ScrollSnapSlider(sliderElement, true, [
                //new ScrollSnapAutoplay(5000),
                new ScrollSnapDraggable(50)
            ]);

            // navigation
            const prev = $this.find('.navigation .prev');
            const next = $this.find('.navigation .next');

            // event on scroll overflow-x
            const setSelected = function (event) {
                const slideElementIndex = event.detail
                //const slideElement = slides[slideElementIndex]
                //console.log(slideElementIndex)

                if (slideElementIndex == 0) {
                    prev.addClass("disabled");
                } else {
                    prev.removeClass("disabled");
                }

                if (slideElementIndex == numberPages() - 1) {
                    next.addClass("disabled");
                } else {
                    next.removeClass("disabled");
                }

            }
            slider.addEventListener('slide-pass', setSelected)
            slider.addEventListener('slide-stop', setSelected)

            // calc number pages
            function numberPages() {
                let $scrollSnapSlider = Number($('.scroll-snap-slide:nth-child(1)').css('flex-basis').slice(0, -1));
                let $scrollSlides = $('.scroll-snap-slide').length;
                let $slidesPerPage = Math.round(100 / $scrollSnapSlider); // nbr de slides
                let $numberPage = Math.ceil($scrollSlides / $slidesPerPage);
                //console.log($numberPage)
                return ($numberPage);
            }

            let page = 1;

            prev.on('click', function () {
                slider.slideTo(slider.slide - 1)
                page -= 1;
                if (page <= 1) {
                    page = 1
                    prev.addClass("disabled");
                } else {
                    prev.removeClass("disabled");
                }
                next.removeClass("disabled");
                //console.log('prev', page)
            });

            next.on('click', function () {
                slider.slideTo(slider.slide + 1)
                page += 1;
                if (page >= numberPages()) {
                    page = numberPages();
                    next.addClass("disabled");
                } else {
                    next.removeClass("disabled");
                }
                prev.removeClass("disabled");
                //console.log('next', page)
            });

        });

There is a problem with the next button, I can't get the correct calculation.
console.log(slideElementIndex) > this gives me the wrong number compared to my numberPages() function
There is a problem I think with the scroll-snap-slide
Do you have an idea ?
Thank you for your help :)

Hi Nicko,

Hello @barthy-koeln thanks for your feedback.
Here is a link for a codepen sandbox: https://codepen.io/dngraphisme/pen/ZErGdXd
Next: the numberPages() function allows me to calculate the number of pages. What I call page is going to be the number of "scroll-snap-slide" per view.
I am looking to put a disabled class following the positioning of "scroll-snap-slide".
I get there with the prev button but the next button depending on the number of "scroll-snap-slide" I completely bugged. Worse when it's an odd number... Maybe I bothered to do this function for nothing ^^'
I don't understand when you tell me that I can have the end and the beginning with slides.length - 1
Thanks, Nickolas

Thanks for the example, that cleared things up for me. This library currently only supports slides, that have 100% width of the slider.
This is stated in the README file:

Slides always have 100% width. You can add whatever markup inside.

This means that you can include multiple images in one slide, but they will always act as a single full-width slide.
Here's an example with multiple images per slide and some JS to show/hide elements based on the position:
https://codepen.io/BarthyB/pen/rNJVXGy

Hello @barthy-koeln , ok i understand.
Do you plan to improve this functionality for once?
Thanks again for your quick feedback.

Good morning!
I doubt that I will spend much time, as I have lots of To-Dos already. But I will try around today and see if I find an easy solution.
Can you describe the feature you would like to see in two or three sentences?
"I need a slider, that ..."

Hello again,
Please check out the branch feature/slide-smaller-than-slider. You can clone or download the project and open the index.html with any local server.
The demo in that branch should have a slider that shows multiple slides at once, yet only slides one at a time.
The main differences in the code are:
.example-slider {
  /* [...] */
  width: 100%;
  padding: 0 calc(50vw - 200px);
  box-sizing: border-box;
}

.example-slider .scroll-snap-slide {
  width: 400px;
  scroll-snap-align: center;
}

Note that I add half the size of a slide plus half the size of the window (the slider's container) as horizontal padding to the slider.
// ...
this.sizingMethod = () => {
  return this.element.firstElementChild.offsetWidth
}
// ...

I calculate the width of a slide like this. You can override this method if necessary. All slides should have the same width, though.

I also added some code to enable/disable the arrows.
The plugins do not all work (only autoplay should work as expected).
Please test around and report any issues! If we can find a good solution, I will incorporate it in the library.

Wow @barthy-koeln you are awesome ^^... I test it asap and come back to you.
Thank you very much !

Pre-Edit: I actually forgot to push the latest changes. Please pull or re-download the same branch and try the demo again!

The padding at the left/right are important for the calculations, since it allows the first and last slides to be centred in the slider. Does the demo without any modifications work as expected?
Without dot pagination and without extra padding, I have an idea how to check if the scrolling element has reached the end. I will try ASAP, at the latest on Monday.

Hello @barthy-koeln ,
I'll get back to you :
Yes for your demo everything works !
Now for the padding I don't agree with this principle because if you use a framework, the but is to keep the grid intact for the responsive... otherwise it will be unmanageable with @media to manage the whole thing.
On my site that I am currently developing, I explain to you how I managed this:
I put ".scroll-snap-slider" in a col-xl-8 and added offset-xl-4 to snap the element to the right of the viewport. (https://ibb.co/2FjK02D)
Now the problem I have is to manage the overflow of objects.
If my ".scroll-snap-slide" are in flex: 0 0 48%, I always have this problem where a thumbnail will be truncated (border on the left not visible) This only happens on drag and not on swipe or button > https://ibb.co/3hVMPm2
And then otherwise I still have the problem of the arrow next which does not go into disabled but as you mentioned you will try to check this problem.
Thanks again

How you manage the padding/offset is totally up to you. My examples use pixel values for simplicity, but the bootstrap offset classes are a good fit.

I just pushed the feature/scroll-end-not-in-center branch. This uses scroll-snap-align: start;, no padding, and the correct calculations for the arrow buttons.
Is that the behavior you are looking for?

I can't replicate your issue with the missing border. If it persists, I might need another code example.

@barthy-koeln ok thanks i check this monday ;)

Hi @dngraphisme
I did not receive any notification about your edit, next time feel free to create a new message in this thread! I will receive an email and a notification then.
I will send out a new NPM release very soon (this week). I need to document the changes properly and update the demo first.
The responsiveness feature that you describe sounds to me like something specific for each project. Therefore, I would like to keep it out of the core library. I will also add an example on how to use the constructor's second parameter,  attachEventListeners and destroy in this case, though. That's what they are there for!

Hello @barthy-koeln oh sorry for the notification ^^'
Ok great for NPM thanks !
I'm also waiting for your example for these parameters: attachEventListeners and destroy
I could modify my code accordingly :)
Let me know when you've done this.
thanks again

Hello @barthy-koeln , i have a last question :
How can i detect and launch arrows depending on the view of ".scroll-snap-slide"
Let's take an example:
On desktop I have 12 elements so not scrollable with the library
On iPad, the 12 elements become 8 visible with 4 hidden.
Do you have an idea to make the arrows visible only when you need to swipe to the right ?
Thanks again, you're the best :)

You would have to add a resize listener on the window, that checks if the sliderElement.scrollWidth is bigger than sliderElement.clientWidth. If it is, your slider can slide. I will include this in the demo/plugin.

@barthy-koeln ok great ! Thanks :)
I also noticed one thing, the '.croll-snap-slide' don't always start completely on the left.
On your side too ?

Hi Nicko,
I just released v2.5.0.
Take a look at the updated demo page! It includes a slider with multiple slides and on/off arrows, as well as a responsiveness example.
You can find the code in the demo folder.

I will try around with flex properties, especially with bootstrap's negative .row margins...
If you want to submit a full bug report with a replicable example, please open a new Issue :)


Parameters not desc of the HTML to PDF interface

Supplementary documentation for the lack of three parameters in the input parameters of the HTML to PDF interface

Thank you for your PR!


fix(clerk-js): Use the correct returnBack url when GoogleOneTap remains open across navigations

Description
Bug fix: Use the correct returnBack url when GoogleOneTap remains open across navigations.
Previously it will only use the url that existed in the browser url bar at the time the component was initially rendered.

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

We will attempt to find another solution in another PR


Quality of Life Suggestion: open files in the same window

I have 5 untitled files in hot exit (I leave them there as memos). When I open a file without Code opened, the file opens in a window separate to the hot exit files. It would be great to unify the windows when a file is being opened.
Demonstration:

Yes, I would say this is a duplicate of https://github.com/Microsoft/vscode/issues/16820


eventlist utility does not properly display hexadecimal values (missing 0x)

If a value for display is specified in a .scvd file as %x that means that the value should be displayed as a hexadecimal number and the display in Event Recorder window displays that number with 0x in front of the hexadecimal value, so it can be differentiated from a decimal value.
eventlist outputs the same number (using lower case 'a' .. 'f') without 0x in front, thus it is not clear if the value is decimal or hexadecimal.
In the example https://github.com/ARM-software/CMSIS-View/tree/main/Examples/Fault/VHT_MPS2_Cortex-M7 output of a Memory Management fault in Event Recorder windows looks like this:
Data access failure due to MPU violation or fault (PC=0x00001C88, mem addr=0x20000000)
the same thing displayed with eventlist looks like this:
Data access failure due to MPU violation or fault (PC=1c88, mem addr=20000000)

@bgn42, what shall we do about this?

I’ve implemented that in my branch which contains a lot of more things but is not yet completely tested. Should I take that out and use an intermediate version?
Von: Jonatan Antoni @.>
Gesendet: Montag, 3. Juli 2023 15:32
An: ARM-software/CMSIS-View @.>
Cc: Bernd-Gunter Nitzler @.>; Mention @.>
Betreff: Re: [ARM-software/CMSIS-View] eventlist utility does not properly display hexadecimal values (missing 0x) (Issue #53)
@bgn42https://github.com/bgn42, what shall we do about this?
—
Reply to this email directly, view it on GitHubhttps://github.com/ARM-software/CMSIS-View/issues/53#issuecomment-1618268989, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWCKMYC5VFQZPIEKLBYM47TXOLCWLANCNFSM6AAAAAAX4SVATU.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


Orientation of new volunteers is done by community on Saturdays

User story
As a TRAINEE OR VOLUNTEER,
Whilst participating in A SATURDAY CLASS,
I know how to WELCOME AND ORIENT A NEW VOLUNTEER TO THE COMMUNITY,
So that new volunteers have a minimal amount of context to get started as a teaching assistant on Saturdays

Acceptance criteria

[] Day plan contains instructions for morning orientation
[] Morning orientation welcomes new volunteers
[] Morning orientation describes the plan for the first half of the day and how it is organised
[] Morning orientation will nominate a timekeeper

This is also related to what you were saying @haldenb


Javascript source mapping?

I've learned the newest version of Chrome (dev channel) has support for using
javascript source mapping files for debugging generated code (like C++ #line).
Any idea if generating these will be feasible in the future for Script#?
Keep up the great work!

Question -
Are you trying to map back to the originating c# source? If yes, what would the Chrome debugger do with that info?
Would be useful to provide a link or more details to what Chrome will support.


refactor(2671): Moved retry logic from infer_type_name to wizard

/claim #2671
Summary:
this is new pr ensuring that everything is cleaned
Issue Reference(s):
Fixes #2671
Build & Testing:

[ ] I ran cargo test successfully.
[ ] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[ ] I have added relevant unit & integration tests.
[ ] I have updated the documentation accordingly.
[ ] I have performed a self-review of my code.
[ ] PR follows the naming convention of <type>(<optional scope>): <title>

Closing in favour of https://github.com/tailcallhq/tailcall/pull/2674


Wait up to 10 minutes to process when you add new on-prem address space into the "Site"

[Enter feedback here]
New added address prefixe is not refeleting instantly on "effective route" of VM, GW and route services.
for exmaple, customer added a new address prefix in the site and which is supposed to be instantly reflects on actual effective route of VM, route service and etc. but it's not.
we have to wait like more than 8-10 minutes before we see that particular route on the azure portal effective route of vm.

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

ID: 6d62470b-a511-4b32-5498-2ae5182ec585
Version Independent ID: df2d4c2e-8afb-14ae-6667-9a504a5f8197
Content: Azure Virtual WAN: Create Site-to-Site connections
Content Source: articles/virtual-wan/virtual-wan-site-to-site-portal.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@GavinJin8 , thank you for your feedback. We'll review this and get back to you shortly.

@GavinJin8 , The virtual WAN PG team has confirmed that, this behaviour is normal through all virtual WAN customers. We update the effective routes when all components are updated and this takes about 8 to 10 mins.
@cherylmc , I have looped you in the internal email. could you please review the same and update the doc accordingly?

I've updated the article to reflect this. Thanks for bringing it to my attention! #please-close


Program Is unresponsive if user clicks on icons

if the user clicks on the icons in this form(attached file)
the program does not respond to that click

Fixed!


Type mismatch error in  ModuleLevelDiagrammer.scala and possible solution

When I try the program (in the bash on Windows10), the following error occurs:
[error] /mnt/d/Projects/diagrammer/src/main/scala/dotvisualizer/transforms/ModuleLevelDiagrammer.scala:129: type mismatch;
[error]  found   : firrtl.ir.Statement => Unit
[error]  required: Unit => Unit
[error]           module map InstanceGraph.collectInstances(set)
[error]                                                    ^
[error] /mnt/d/Projects/diagrammer/src/main/scala/dotvisualizer/transforms/ModuleLevelDiagrammer.scala:129: No implicit view available from Unit => Unit => firrtl.Mappers.ModuleMagnet.
[error]           module map InstanceGraph.collectInstances(set)
[error]                  ^
[error] two errors found
[error] (compile:compileIncremental) Compilation failed
Then I did some research on Firrtl and changed the error line "module map InstanceGraph.collectInstances(set)" to "module foreachStmt InstanceGraph.collectInstances(set)", and now everything works well.
I post this issue as a reference for the author or someone else who gets the same error.

Thanks for finding and diagnosing the problem.  PR #6 has been created it fix this issue. It will be distributed soon.

Did #6 fix the problem? If not, please feel free to re-open this issue.


Speed inquries

When I reduce 10,000 vectors of 768 dimensions to 16 dimensions using the following command, it takes about 4 minutes. Is this normal? It seems a bit slow. If there are any suggestions for speeding up or any mistakes in my code, I would appreciate some help. Thank you all.
clusterable_embedding = umap.UMAP(
                    n_neighbors=n_neighbors,
                    min_dist=0.0,
                    n_components=n_dim,
                    # random_state=42,
                    n_jobs=-1
                ).fit_transform(X)

That does seem rather slow; I can't say why it is taking that long though. Perhaps turn verbose=True on and see if there are steps that are taking a particularly long time.


proposal: cmd/go: add GOPROXY=cache to rely only on module cache

When I try to import a yet-unrequired module, e.g.
mero@hix ~/src/github.com/Merovius/foo$ cat foo.go
package main

import "rsc.io/qr"

func main() {
	var _ qr.Code
}
mero@hix ~/src/github.com/Merovius/foo$ cat go.mod
module github.com/Merovius/foo

go 1.15

and I run go mod tidy, while not connected to the internet, I get an error
go: finding module for package rsc.io/qr
github.com/Merovius/foo imports
	rsc.io/qr: module rsc.io/qr: Get "https://proxy.golang.org/rsc.io/qr/@v/list": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:57927->[::1]:53: read: connection refused

That makes sense - the proxy is not reachable. However, my module cache contains a usable version of this module:
mero@hix ~/src/github.com/Merovius/foo$ l -d<EMAIL_ADDRESS>dr-x------. 5 mero mero 4,0K 14. Mai 2020<EMAIL_ADDRESS>
So, it might be a reasonable course of action for me, to just use the version I have in the cache - whether it is the latest, or not. If I want to do that, as far as I can tell, either
a) I have to look up what versions I have in my cache and run go get<EMAIL_ADDRESS>to update go.mod. It would be great, if that could be automated, or
b) set GOPROXY=file:///home/mero/pkg/mod/cache/download and run go mod tidy
Both of these can be considered somewhat clunky (and the latter is not very discoverable). I would like to suggest to make this easier. There are several ways this could happen:

Automatically fall back to the module cache when running go mod tidy or similar and a network error happens. IMO that would be the most convenient - it also has the downside of unexpectedly adding an outdated version of the module.
Add a value to the -mod flag that is equivalent to -mod=mod, but only touching the local cache.
Add a flag to go mod tidy (and similar), to use the local cache as a proxy (essentially automate setting the environment variable).

It's also fine, if this is deemed WAI, of course. I just thought I would suggest it after the case came up on golang-nuts.

cc @bcmills @matloob @rsc
Closely related: #32337
We've also talked about adding GOPROXY=cache, which would be similar to GOPROXY=file://$(go env GOMODCACHE)/cache/download, but would synthesize version lists and .info files.

cc @bcmills @matloob @rsc
Closely related: #32337
We've also talked about adding GOPROXY=cache, which would be similar to GOPROXY=file://$(go env GOMODCACHE)/cache/download, but would synthesize version lists and .info files.

GOPROXY=cache would also address this and is, I think, a very logical place for that knob (and far easier to remember than the path).

GOPROXY=cache would also address this and is, I think, a very logical place for that knob (and far easier to remember than the path).

Just so others find this issue more easily via keywords on google: I was using "offline mode" in my search.

Use case: for goeval (Go one-liners), when the same command is run multiple times, querying the proxy every time while everything is available locally is a waste of resources and has a huge performance impact (longer run time) for the user (note: I also understand that this is a security feature as it allows to block retracted versions).
So, as a workaround for that go get slowness I've implemented a shortcut: set GOPROXY=file://$(go env GOMODCACHE)/cache/download if all module versions are canonical and found in the cache.
However, it would be appreciated if go get had an built-in opt-in mode where dependencies would be resolved locally if possible, and the GOPROXY would be still be used but only as a fallback. Because my shortcut is limited: it is all or nothing: if just one version is non-canonical (ex: @latest), all dependencies resolution will hit the proxy.

@dolmen I don't think so, because multiple commands try to resolve @latest and that will often still try to use the network to fetch source from upstream's VCS with GOPROXY=off.

The documentation about resolving packages to a module claims:

off indicates that no communication should be attempted.

Right, I got slightly confused with GOPROXY=direct. But I still think that GOPROXY=off is not enough for an "offline mode" to work well enough with what's in the module cache. For example, go get module@latest simply fails with module lookup disabled by GOPROXY=off rather than finding the latest version that's already in the module cache.

Ok, so in GOPROXY=cache mode $module@latest would be resolved using content of $GOMODCACHE/cache/download/$module/@v/list, isn't it?

That's how I would imagine it, yes, and it's what I understood from https://github.com/golang/go/issues/43646#issuecomment-758704521. It's worth noting that "latest" might be out of date in such a cache/offline mode, but that's by design.


Store location changes

Merged Ashok and My changes from the version

@Vimal-Das  fixed all review comments, pls review and merge

LGTM

Thanks for working on this, merged to master.


Fix Typo

I guess that was a typo mistake !

Good try, but this was intentional, "moar" is an old usenet slang - https://www.dictionary.com/e/slang/moar/


statistical graph creator

Issue Id you have worked upon -
#256
Briefly explain your program logic -
created a statistical graph creator tool.
Screenshots(Attach 2 screenshots of your own input and output) -
Attach here

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @nipun221 on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.

Hey 👋, may you also encourage us by clicking the star icon on the repository main page. ⭐


Mesh reader support for VTK high order elements [feature/vtk_high_order]

Updated PR information (Dec. 2020 – Will)
This PR adds two new features to MFEM's VTK support:

Reading XML VTK mesh files in addition to the "legacy" ASCII format
Reading high-order VTK meshes. High-order support works for both XML and legacy VTK formats.

XML parsing is done using the TinyXML2 library.
To facilitate systematic conversion between VTK's high-order node ordering and MFEM's node ordering, mappings are created that use an intermediate lexicographic ordering. Some remarks about the lexicographic ordering:

All NodalFiniteElement subclasses now support GetLexicographicOrdering, which plays the same role as TensorBasisElement::GetDofMap, but with support for all non-tensor geometries
The "refined geometry vertices" for tetrahedral elements are now lexicographically ordered in the standard reference element rather than in an "auxiliary element"
As a consequence, the lexicographic DOF ordering given by GetLexicographicOrdering always agrees with the refined geometry vertex ordering.
These orderings are tested for all geometries, for orders 1 through 6 in the unit tests.
The VTK mesh reader supports arbitrary-order Lagrange elements. The node orderings are handled using the same mappings defined for high-order ParaView output, so pre-generated data tables are not required.

As part of this PR, the handling of the VTK format for input and output are both made more systematic. The files vtk.hpp and vtk.cpp now have a lot more features that should make dealing with VTK more convenient, for instance converting from a VTK element type to MFEM Geometry::Type can now be performed using VTKGeometry:: GetMFEMGeometry instead of manual switch statements. This simplifies the code in Mesh::PrintVTK and Mesh::PrintVTU.
For testing purposes, VTK meshes of Cartesian grids with low-order and high-order elements of all types can be created in ParaView with the source "Unstructured Cell Types".
Previous information (out of date)

This mesh reader update subtask for vtk is related to MFEM issue https://github.com/mfem/mfem/issues/678  & https://blog.kitware.com/modeling-arbitrary-order-lagrange-finite-elements-in-the-visualization-toolkit/
Quads to arbitrary order vtk ascii
Hexes to arbitrary order vtk ascii
Triangles to order 6 (vtk limit) vtk ascii
Tets to order 6 (vtk limit) vtk ascii
Wedge (or prism) to order 6 (vtk limit) vtk ascii
Create static maps based on Reference Elements up to order 6 for tri/tet/wedge
Mixed cell validation -- assuming all elements are the newer Lagrange High Order Elements
Samples have been uploaded to https://github.com/mfem/data/tree/master/vtk; more will be added later

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#975
@jonesholger
@tzanio
@acfisher + @bslazarov + @mlstowell
11/30/20
⌛due 01/08/21
⌛due 01/15/21

Some background links
Consolidating a few related links here:
https://github.com/GLVis/glvis/issues/64
https://blog.kitware.com/modeling-arbitrary-order-lagrange-finite-elements-in-the-visualization-toolkit/
https://glvis.org/curvilinear-vtk-meshes/
https://github.com/CEED/FMS
https://vtk.org/wp-content/uploads/2015/04/file-formats.pdf
https://lorensen.github.io/VTKExamples/site/VTKFileFormats/
https://www.visitusers.org/index.php?title=ASCII_VTK_Files
https://github.com/lorensen/VTKExamples
https://vtk.org/doc/nightly/html/vtkCellType_8h_source.html
https://github.com/agrayver/VTK_Lagrange
https://github.com/Kitware/VTK/blob/265ca48a79a36538c95622c237da11133608bbe5/Common/DataModel/vtkLagrangeQuadrilateral.cxx#L558
https://github.com/Kitware/VTK/blob/265ca48a79a36538c95622c237da11133608bbe5/Common/DataModel/vtkLagrangeHexahedron.cxx#L734
https://github.com/Kitware/VTK/blob/675adbc0feeb3f62730ecacb2af87917af124543/Filters/Sources/vtkCellTypeSource.cxx#L1307
https://github.com/Kitware/VTK/blob/675adbc0feeb3f62730ecacb2af87917af124543/Filters/Sources/vtkCellTypeSource.cxx#L345
https://github.com/Kitware/VTK/blob/5efd279913b4842bed0c1a0f2f119db89134e378/Common/DataModel/vtkCellType.h#L107-L114
https://github.com/Kitware/VTK/blob/675adbc0feeb3f62730ecacb2af87917af124543/Filters/Sources/vtkCellTypeSource.cxx#L1463
https://www.paraview.org/Wiki/ParaView_Release_Notes#Arbitrary-order_Lagrange_finite_element_support
https://github.com/Kitware/VTK/blob/675adbc0feeb3f62730ecacb2af87917af124543/Common/DataModel/vtkLagrangeInterpolation.cxx#L208
https://github.com/mfem/mfem/blob/3e9a86cecfd422027da0f44c671cf2c630206074/fem/fe.cpp#L6878-L6917
https://gitlab.kitware.com/vtk/vtk/blob/master/Common/DataModel/vtkUnstructuredGrid.h#L339
https://github.com/dealii/dealii/commit/b029f83d2c2b2877b26503ab060717354bd02668
https://github.com/dealii/dealii/commit/e65f90698bf5c14964bf76534f0ac48e0632819f
https://kitware.github.io/paraview-docs/latest/python/paraview.simple.UnstructuredCellTypes.html

We just discussed this feature this week. We should revive this PR.

I just pushed some updates to this branch:

All NodalFiniteElement subclasses now support GetLexicographicOrdering, which plays the same role as TensorBasisElement::GetDofMap, but with support for all non-tensor geometries
The "refined geometry vertices" for tetrahedral elements are now lexicographically ordered in the standard reference element rather than in an "auxiliary element"
As a consequence, the lexicographic DOF ordering given by GetLexicographicOrdering always agrees with the refined geometry vertex ordering. This could be useful for LOR on non-tensor-product elements. This is also always the same as the L2 DOF ordering.
These orderings are tested for all geometries, for orders 1 through 6 in the unit tests.
The VTK mesh reader supports arbitrary-order Lagrange elements. The node orderings are handled using the same mappings defined for high-order ParaView output, so pre-generated data tables are not required.

☝ very nice work @pazner! Is this close to be ready for review?

☝ very nice work @pazner! Is this close to be ready for review?

I think this is very close. I'm waiting to see if the latest commit fixed AppVeyor. It would also be good to test the mesh reader on more complicated high-order VTK meshes, but they're a little hard to come by. It works on all the example meshes in the VTK subdirectory of the data repo (except for LagrangeHexWedge.vtk, which I think is malformed), but those are all fairly trivial.

CI looks good now. See also #1894 for reading XML VTK files.
Feedback and testing would be helpful :)

To help the reviewers, I edited the top-level comment with an updated summary of this PR — the information there was previously quite out of date.

@acfisher, @bslazarov and @mlstowell -- can you please review?

Extending approval due date to the end of this week...

Extending approval due date to the end of this week...

ping: @bslazarov

ping: @bslazarov

Can you please update CHANGELOG

Can you please update CHANGELOG

Merged in next for testing...

Merged in next for testing...

Re-merged in next for testing ...

Re-merged in next for testing ...

Re-merged in next for testing ...

Re-merged in next for testing ...


Digimon World 4 Game Request

Game Name?
Digimon World 4
Game ID?
GDJEB2
Upload the Textures dumps for the game.

This seems to be the whole font/controller icon png that the game uses, i tested by replacing the A button with a blue box and it appeared in multiple places, including the save menu, character creation, and the start menu. it also holds the text for dialog, so i assume it's the same there too.

I need the texturn name! because the texture is not in a zip and the original name is lost.

Digimon World 4 Universal Controller texture.zip
Here, that should have it named.

Digimon World 4.zip
here is the finished package if you want to test it already.

it works in the menus, so i'm guessing it works in dialog boxes too.


Blurrying broken in neovim

It's a screenshot of a file searching dialog from nvim plugin, Telescope .

Related to #512, happens even for me.


Change the way of pass index build result

What changes were proposed in this pull request?

Pass indexDDLJobId to OapIndexFileFormat.prepareWrite method and override commitJob method to a transfer collection, then use indexDDLJobId to fetch writeResults when do create or refresh index operation.

No longer change the signature of FileFormatWriter.write method

Remove InsertIntoHadoopFsRelationCommand.scala & SaveAsHiveFile.scala introduce from spark

How was this patch tested?
existing test pass

cc @LinhongLiu @zhixingheyi-tian @adrian-wang

Actually, the IndexBuildResult result write into .oap.meta never used... do we really need it...

checked related code and confirmed the interface change is no need.
actually we did this change in order to implement some new features, such as data consistency check and driver side statistics. But since we still don't have plan for those features, the interface change should be reverted.


Reuse Selector

I have added a name and location identifier to the selector class.
The location attribute is automatically set using the polygon coordinates using hashing

The name attribute is set during compute_polygon_subset_selector function.
For a user, to identify if the current location has already been computed and saved before, should we save the pickle file as {self._location}.pkl or {self._name}.pkl or a combination of both?

def compute_polygon_subset_selector(
        self, ds: xr.Dataset, polygon: list[tuple[float, float]], name: str = None
    ) -> Selector:

Here, we check if the polygon or name have been computed before. If yes, then load the pickle file and return selector.
If no, then compute the selector and return it.
In addition to this, I've added an explicit class method to load the selector.
Is this the right approach? @mpiannucci

{self._location}.pkl or {self._name}.pkl or a combination of both?

I would say both -- maybe:
" {self.name}{self._location}.pkl"
The name is presumably human-readable, and the location hash is unique.
if the file name gets too long, you could use only the first 10 chars or so of the hash -- not guaranteed to be unique, but pretty darn close.


defineI18nLocale：Data not updated in real-time

Describe the feature
1、Correct data access for the first time
2、 Modify server interface data, capture interface data changes, but the page displays multilingual unchanged？
configuration： https://github.com/nuxt-modules/i18n/blob/next/playground/nuxt.config.ts
Additional information

[ ] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide (The contribution guideline of nuxt-modules/i18n is compliant with Nuxt too).
[X] Check existing discussions and issues.

We need to support HRM for multi resource format.


update tide adjustment function

iterate over new global reference point
fit using all points within distance of reference point
add verbose option to argparse

a quick look at some example tiles shows some points within GZ mask could be at least ephemerally floating.  might need to use a newer GZ mask.  @nholschuh's group is looking at this.


Add Sphinx documentation site?

Would you be willing to document this package using Sphinx?
I'm definitely biased but it would be nice to be able to link to the Python version of the LSP types from places like pygls' documentation, Sphinx's intersphinx module would make this really easy, especially when coupled with autodoc.
It would also be possible to use Sphinx to fixup the documentation snippets coming from the LSP spec so that links go somewhere useful and so it formats correctly.  (see conf.py for a simple example)
Happy to look at setting up myst if you'd prefer the documentation to be written in Markdown.
Let me know your thoughts, or, feel free to close this. :slightly_smiling_face:

@brettcannon any thoughts?

Without taking a close look at the PR, I'm totally fine with us putting up some docs up on Read the Docs or here on github.io (have to find out if there some weird corporate reason around where we have docs hosted).

We will definitely consider adding docs. I will create an issue to track this. There is still some work to be done to ensure that the generated documentation is correctly links to various objects. The LSP spec uses a format that works well for TS and I need to look into ensuring it generates properly for python.
Closing this, with a follow up task: https://github.com/microsoft/lsprotocol/issues/187


Fixed license and improved README

Pull Request Test Coverage Report for Build 21

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

Totals

Change from base Build 15:
0.0%

Covered Lines:
1206

Relevant Lines:
1598

💛  - Coveralls

Pull Request Test Coverage Report for Build 19

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

Totals

Change from base Build 15:
0.0%

Covered Lines:
1206

Relevant Lines:
1598

💛  - Coveralls


Go Live [July 12]

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

File
Status
Preview URL
Details

msteams-platform/get-started/code-samples.md
:white_check_mark:Succeeded
View

msteams-platform/includes/get-started/get-started-use-app-studio.md
:white_check_mark:Succeeded
View

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