npm run protractor fail on Mac OS 10.11.1, throwing error "Server terminated early with status 1"

Hello everyone:
I'm going to study the tutorial of angular-phonecat, when running "npm run protractor",
prompt a window like this:

##### error message is below:
><EMAIL_ADDRESS>preprotractor /Users/Qiurunbai/Documents/angular-phonecat
> npm run update-webdriver

<EMAIL_ADDRESS>preupdate-webdriver /Users/Qiurunbai/Documents/angular-phonecat
npm install

<EMAIL_ADDRESS>postinstall /Users/Qiurunbai/Documents/angular-phonecat
bower install

<EMAIL_ADDRESS>update-webdriver /Users/Qiurunbai/Documents/angular-phonecat
webdriver-manager update
selenium standalone is up to date.
chromedriver is up to date.

<EMAIL_ADDRESS>protractor /Users/Qiurunbai/Documents/angular-phonecat
protractor test/protractor-conf.js
Starting selenium standalone server...
[launcher] Running 1 instances of WebDriver
[launcher] Process exited with error code 1
/Users/Qiurunbai/Documents/angular-phonecat/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/async/nexttick.js:41
goog.global.setTimeout(function() { throw exception; }, 0);
^

Error: Server terminated early with status 1
at Error (native)
at /Users/Qiurunbai/Documents/angular-phonecat/node_modules/protractor/node_modules/selenium-webdriver/remote/index.js:206:18
at promise.Promise.goog.defineClass.invokeCallback_ (/Users/Qiurunbai/Documents/angular-phonecat/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:1337:14)
at promise.ControlFlow.goog.defineClass.goog.defineClass.abort_.error.executeNext_.execute_ (/Users/Qiurunbai/Documents/angular-phonecat/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:2776:14)
at promise.ControlFlow.goog.defineClass.goog.defineClass.abort_.error.executeNext_ (/Users/Qiurunbai/Documents/angular-phonecat/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:2758:21)
at goog.async.run.processWorkQueue (/Users/Qiurunbai/Documents/angular-phonecat/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/async/run.js:124:15)
at process._tickCallback (node.js:366:9)
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "protractor"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>protractor: protractor test/protractor-conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>protractor script 'protractor test/protractor-conf.js'.
npm ERR! This is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     protractor test/protractor-conf.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/Qiurunbai/Documents/angular-phonecat/npm-debug.log

Debug log below:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'run',
1 verbose cli   'protractor' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preprotractor', 'protractor', 'postprotractor' ]
5 info preprotractor<EMAIL_ADDRESS>6 verbose unsafe-perm in lifecycle true
7 info protractor<EMAIL_ADDRESS>8 verbose unsafe-perm in lifecycle true
9 info<EMAIL_ADDRESS>Failed to exec protractor script
10 verbose stack Error<EMAIL_ADDRESS>protractor: protractor test/protractor-conf.js
10 verbose stack Exit status 1
10 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
10 verbose stack     at emitTwo (events.js:87:13)
10 verbose stack     at EventEmitter.emit (events.js:172:7)
10 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
10 verbose stack     at emitTwo (events.js:87:13)
10 verbose stack     at ChildProcess.emit (events.js:172:7)
10 verbose stack     at maybeClose (internal/child_process.js:818:16)
10 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
11 verbose pkgid<EMAIL_ADDRESS>12 verbose cwd /Users/Qiurunbai/Documents/angular-phonecat
13 error Darwin 15.0.0
14 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "protractor"
15 error node v4.2.1
16 error npm  v2.14.7
17 error code ELIFECYCLE
18 error<EMAIL_ADDRESS>protractor: protractor test/protractor-conf.js
18 error Exit status 1
19 error Failed at the<EMAIL_ADDRESS>protractor script 'protractor test/protractor-conf.js'.
19 error This is most likely a problem with the angular-phonecat package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error     protractor test/protractor-conf.js
19 error You can get their info via:
19 error     npm owner ls angular-phonecat
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]

I've tried these:
1.install latest Java;
2.run "sudo npm install protractor"
3.run "protractor test/protractor-conf.js"
But it didn't work.

install java by these commands will resolve the problem:
brew update
brew cask java


Wire the UI changes to the VM changes

This is a combo of #174 and #175.
Once those merge, this will provide a base where the new view models are plugged into the new UX elements

Was going to say the diff of this in GitHub appears the same as #174 to me. Is there anything unique as part of this one to look at?

Hmm. This one got confused, because it had two very different merge bases. Even trying to sort this out now is extra confusing since the base branches started getting squash-committed in.
Mostly, this was just to change the name of a couple properties, so that the static text in #174 would get updated with real properties exposed off of #171.

e5dd743
5c2db28

and the couple commits around there I think

You know what, after resolving the merge conflict, this doesn't have anything. I must've backported these bits to 171 or 175 at some point


Automate labeling PRs as community sourced

resolves https://dbtlabs.atlassian.net/browse/OSS-3
Problem
GitHub doesn't have an easy way to filter out PRs that are created by the core/adapters team when tracking community PRs.
Solution
Add a special "community" label to PRs opened in non-draft or converted from draft to ready for review when the author is not on the core or adapters team
Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[ ] This PR includes type annotations for new and modified functions

@ChenyuLInx The meat of the logic already lives in dbt-labs/actions.  The idea is adapters will also use it.  However each repo needs to have their own copy like this one for permission purposes to be able to label the PRs and trigger at the right time.


main.exe doesn't open

when i'm double click main.exe it instantly exits i don't know what to do

I suggest you to look at issue #36 and continue on this thread

i don't have problems with terminal

So did you try opening it with terminal as I specified in the other issue?

yeah

What is displayed then?

it just closes with error and i can't see this error because it cleses instantly

So you didn't open it in a terminal. Follow this to open the executable in a terminal and come back with the detailed error displayed in it.

okay i'll try

it displays Error loading Phyton DLL D:\Monik.A.I-v1.4.1\dist\main\phyton39.dll
No error messages generated

Can you share the whole terminal output properly formatted please?

okay one moment

Can you please translate line 4 of terminal?

sorry i also don't understand that line

and now i'm interested in that line

Neither do I, I can't understand russian, please provide informations in english

what information?

It seems that the python version I use is not compatible for Windows 7 or earlier OS, I'll try making a release that should work with Windows 7 at least

okay

It seems that the python version I use is not compatible for Windows 7 or earlier OS, I'll try making a release that should work with Windows 7 at least. I hope you can wait until it is done.

yeah i can wait as long as it needed

thank you

It should be available now in Releases

thanks man


Database [Security] [Users] settings in Azure data studio

I noticed some massive differences between Azure data studio and SQL Server Management Studio when it comes to handling Security and Users of a Database.
I can't use Azure data studio to set up my Security and Users as far as I can see.
Azure data studio: https://prnt.sc/1yrp568 (I can't get open a menu or change any of these)
SQL Server Management Studio : https://prnt.sc/1yrpf1r
I've looked over this article https://docs.microsoft.com/sv-se/sql/azure-data-studio/settings?view=sql-server-ver15 but the answers to my question is not in there.
Am I missing something?
Should I not expect the same settings being available in the two programs?

Have you tried using the Database Administration Tool Extensions for Windows extension? That adds support for the properties and generate script wizard from SSMS into ADS.

Thank you friend. That's exactly what I needed!


Update base model edit destroy

No ticket - makes the edit and destroy models suitable for overriding in a subclass
Had to update other models for not correctly calling their super methods

Fixed commit messages :+1: There should only be one build for this - github sent a push request to travis, and travis can't find the branch. That's why the build is failing for push


meta: forge fuzzer improvements

The current state of fuzzing is naive (we think, more on this below)—it uses proptest strategies to generate random, uniformly distributed inputs based on Solidity types. This is an ok start, but isn't great. There's lots of improvements to the fuzzer that can be made to increase the chances of finding bugs.
This issue is spec out (1) what fuzzing features and functionality we want to have, and then (2) how to approach that, e.g. are custom proptest strategies sufficient, should we switch to a different crate, etc.
I'm certainly no fuzzing expert, but as a jumping off point here's my assessment of functionality we'd want to have, as well as a list of other rust crates for fuzzing to consider
Fuzzing Features
These are just ones that come to mind based on my limited knowledge of fuzzing and my use of foundry so far
Bias random values towards extremes
Based on the proptest docs and this open proptest issue, it appears proptest does not bias towards extreme values and edge cases such as 0, max, min, etc.
"Synchronize" the fuzzed inputs
Some bugs require multiple inputs to be in sync, e.g. all zeros or empty arrays. If each input is generated independently and uniformly, this is unlikely to happen. I think this is the current behavior of proptest, but I may be wrong because the fuzzer did find a failure case with a counter example of [], [], [], 0x, 0x for inputs of types (address,uint256[],uint256[],uint256[],bytes,bytes). I believe this specific example came up on each fuzz run, suggesting proptest may be smarter than myself and the docs give it credit for
Some degree of control over array and bytes lengths
Currently the max size of inputs for arrays and bytes are bounded, but some bugs may only surface with larger inputs. Always allowing very large inputs might slow down tests, so it'd be useful to either allow them be unbound (or have larger bounds) via a flag (e.g. for use in CI), or to bias the fuzzer to have large inputs only be used occasionally
Constant mining
Details and motivation can be found here. The summary is that echidna uses constant mining to extract return values from other methods and uses those as fuzzer inputs. As shown in the link, this helps find bugs that would not be found otherwise
assume functionality
Allow inputs that don't meet certain conditions, such as ignoring the zero address or ensuring that x + y < z, to be discarded and have a new set of inputs generated. Discarded fuzz runs are not counted toward the number of executed runs, so new inputs would be generated and the test re-ran
Bounding inputs to a range
It's debatable whether this should be part of the fuzzer, or if users should just manage it manually by bounding the fuzzer's inputs, but a way to control the range of inputs is often useful to avoid reverts due to overflows, etc.
Rust Fuzzing Crates
There's probably others, but here's a few I've come across so far

proptest is what we currently use
quickcheck — QuickCheck for Haskell is what dapptools uses
afl.rs allows fuzzing with AFL
cargo-fuzz allows fuzzing with libFuzzer

there's also
https://github.com/rust-fuzz/arbitrary

We could also explore making our own Strategy implementations for proptest.

Consider using SMT solvers like z3 directly to generate random valid inputs, instead of hoping some generic fuzzer will support smart contract specific needs.
Can elaborate more on this if you want, in my previous life I once built a randomized testing tool with z3 from scratch.

@mds1 @gakonst Great to hear that there are other efforts to get more users hooked on fuzzing! :) You might want to take a look at our Harvey fuzzer; see https://mariachris.github.io/Pubs/FSE-2020-Harvey.pdf for ideas on what features make a big difference in practice. Harvey is used both in Diligence's MythX service and our dedicated Diligence fuzzing solution.

Consider using SMT solvers like z3 directly to generate random valid inputs, instead of hoping some generic fuzzer will support smart contract specific needs.
Can elaborate more on this if you want, in my previous life I once built a randomized testing tool with z3 from scratch.

Hey @yaronvel—I'm not too familiar with how you'd implement this in practice, and foundry doesn't yet have any symbolic execution capabilities, so this probably won't be the first path we go down. However I've always thought seeding the fuzzer with solver outputs would be valuable, so would love if you could elaborate more!

Great to hear that there are other efforts to get more users hooked on fuzzing! :) You might want to take a look at our Harvey fuzzer; see https://mariachris.github.io/Pubs/FSE-2020-Harvey.pdf for ideas on what features make a big difference in practice. Harvey is used both in Diligence's MythX service and our dedicated Diligence fuzzing solution.

Thanks @wuestholz this looks great, planning to read this soon. Only question until then is: looks like the paper is from November 2020, so is there anything you've learned since then that isn't covered in the paper, or anything you'd change if writing a similar paper today? It's only about a year old, but a year is a long time in the smart contract world! 😁

Great to hear that there are other efforts to get more users hooked on fuzzing! :) You might want to take a look at our Harvey fuzzer; see https://mariachris.github.io/Pubs/FSE-2020-Harvey.pdf for ideas on what features make a big difference in practice. Harvey is used both in Diligence's MythX service and our dedicated Diligence fuzzing solution.

Thanks @wuestholz this looks great, planning to read this soon. Only question until then is: looks like the paper is from November 2020, so is there anything you've learned since then that isn't covered in the paper, or anything you'd change if writing a similar paper today? It's only about a year old, but a year is a long time in the smart contract world! 😁

😁 We're continuously improving Harvey based on feedback from auditors and clients. We're planning to write up one of the novel techniques we added soon (spoiler alert: up to 30% coverage increase for some of our benchmarks). I think all the lessons in the paper still apply today, but we've definitely been optimizing Harvey more for property checking (for instance, in combination with our Scribble specification language). We've also found several cool use-cases for the input prediction technique we presented in our FSE paper.

How much of the specification/property writing do you think we can overload into Solidity syntax, vs having a separate language?

@gakonst I'm hoping a lot! 😁 We're trying to keep Scribble as simple as possible. Ideally, a Solidity developer can understand most specifications "out-of-the-box"; for instance, we allow regular Solidity expressions whenever possible, and only extend the syntax slightly when needed (for instance, old-expressions in postconditions).
From my perspective, the Solidity team can "steal" as much of Scribble as possible. 😉 We partly started Scribble to explore the language design space and are more than happy to evolve the language with feedback from the community.

here's a concrete example of the fuzzer missing multiple bugs that other fuzzers (dapptools) would detect easily:
function testEquality(uint256 x, uint256 y) public {
        uint256 xy;

        unchecked {
            xy = x * y;
        }

        if ((x != 0 && xy / x != y)) return;

        assertEq(((xy - 1) / 1e18) + 1, (xy - 1) / (1e18 + 1));
}

Primary fuzzing technique we should focus on right now is building the best dictionary, and selecting inputs from both the dictionary and from a randomly generated value, with a user-defined weight specifying the frequency of each.

Biasing towards extremes can be handled by adding values to the dictionary
Constant mining can be handled by dumping the EVM state into the dictionary
Can also add values by parsing solc output or using slither
Instead of coverage guidance, add a flag to output a coverage report, so user knows what wasn't hit
A cheatcode to add values to dictionary can help improve coverage, based on coverage report

To implement this we need a weighted union of two strategies:

Strategy 1: Randomly generated values, which we currently have
Strategy 2: The dictionary, using proptest's select, which creates a strategy that uniformly selects one value from values:
Union: Use new_weighted function to create a strategy that selects from the above two strategies with the specified weights
Echidna's default dictionary frequency is 40%, so we should use that value also. This means random values are used 1.5 times more often than dictionary values, and based on how new_weighted requires wights to be specified, this is equivalent to a weight of 1 for dictionary and 1.5 for random values

Closing this since the fuzzer has improved since this was created, so this is now stale. Will create a new issue to track future fuzz improvements


update managedclustersets apiversion

Related Issue: https://github.com/stolostron/backlog/issues/26523
Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>

/lgtm

/lgtm


apps/speed.c: fix ecdh memory leak

key_A and key_B had 3 references, but only 2 were actually freed.
Reproducible via memory-debug build or via
valgrind --leak-check=full --show-leak-kinds=all openssl speed ecdh

Thanks for the fix!  Merged to maste.


Follow-up: service ports name following istio-naming convention

To be on safer side when using hand in hand with Istio, we follow service port naming convention as stated here ->https://istio.io/docs/setup/kubernetes/additional-setup/requirements/
Serving/Eventing already updated.
We have seen issue with istio as been discussed over here -> istio/istio#14520
Fixes #
Proposed Changes

Service port name should follow the istio naming convention based on this link:

https://istio.io/docs/setup/kubernetes/additional-setup/requirements/
Release Note

* Service port name should follow the istio naming convention based on this link:
https://istio.io/docs/setup/kubernetes/additional-setup/requirements/

@googlebot I fixed it.

/ok-to-test


Login with credentials - frontend

As a partner, I want to be able to log in with the provided username and password, which has previously been created by the administrator of the service.

Before the login, an introduction page is shown explaining the rationale of the project.

After the login, I am redirected to the list of DOIs I have uploaded.

Closed with release v0.1.


chore(main): release 0.1.0

:robot: I have created a release beep boop
0.1.0 (2023-04-03)
Bug Fixes

Update CHANGELOG (97cc859)

Documentation

Add CONTRIBUTING and LICENSE (9f7cd39)

Miscellaneous Chores

release 0.1.1 (c75459a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/philips-software/SPDXMerge/releases/tag/v0.1.0 :sunflower:


group.name doesn't call the custom function and always generates the default name

What version of kubb is running?
2.28.3
What platform is your computer?
MacOS
What version of external packages are you using(@tanstack-query, MSW, React, Vue, ...)
No response
What steps can reproduce the bug?
-> add the group example from docs to your kubb config (tried with ts and zod)
group: {
  type: 'tag',
  name({ group }){
    return `${group}MyCustomStuff`
  }
}

-> generate -> observe that the folders are named with the default ${group}Controller
How often does this bug happen?
None
What is the expected behavior?
for the example from docs to work
Swagger/OpenAPI file?
OpenAPI 3.1
Additional information
Sorry, in a rush now so didn't dig into the source - but feel free to ping if you need any help with it (you'd probably fix it in 1,5 secs haha)

@grreeenn It seems that you are using Kubb v3 logic inside a version 2 config. Best to check https://v2.kubb.dev/ when using v2.x.x.
V2: https://v2.kubb.dev/plugins/swagger-client/#group-output
V3: https://www.kubb.dev/plugins/plugin-client/#group-name

You're totally correct, I've missed the moment when the default docs page switched. Congats on the major version! 👑


Fix syntax error in gpio_control_block

Fixed syntax error that was only visible when running iverilog for simulation

The verilog language could be greatly improved by not making it a syntax error to have a comma after the last entry.  Same for JSON, YAML, and various other file formats.

The thing is openlane didn't fail with this. So it might be something specific with iverilog. I need to double check.


Application should use the settings.py <-> local_settings.py method

Right now, there is far too much difference between settings.py in the repository and in production. Also, we effectively cannot upgrade the repository settings.py because pulling it would delete all local changes we made to settings.py.
This application should use the settings.py <-> local_settings.py distinction in order to improve ease of administration.

I fixed this in commit 3ff5082aafc6c0dde2befffeb10be71b6f5d8c0f.


Trouble regarding yolo training integration with add_wandb_callback function

Current Behavior
When running training with yolo with the code
model = YOLO('YOLO_custom/Models/KH_noseperfect_v3b.pt')
add_wandb_callback(model, enable_model_checkpointing=True)
Error regarding the add_wandb_callback happens. I don't think this happened a few weeks ago, and I did recently reinstalled wandb package via pip on the environment. Also, I had to change some lines regarding https://github.com/wandb/wandb/issues/6566
The following is the error message I see on the terminal.
Starting training for 2000 epochs...
  Epoch    GPU_mem   box_loss  pose_loss  kobj_loss   cls_loss   dfl_loss  Instances       Size
 1/2000      7.42G      4.289      12.92     0.8651      5.529      7.089         36       1088: 100%|██████████| 13/13 [00:05<00:00,  2.51it/s]
             Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Pose(P          R      mAP50  mAP50-95):   0%|          | 0/2 [00:00<?, ?it/s]*****/mambaforge/envs/YOLO/lib/python3.11/site-packages/ultralytics/utils/metrics.py:163: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).

sigma = torch.tensor(sigma, device=kpt1.device, dtype=kpt1.dtype)  # (17, )
Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Pose(P          R      mAP50  mAP50-95): 100%|██████████| 2/2 [00:00<00:00,  6.18it/s]
all         50        100          0          0          0          0          0          0          0          0
Traceback (most recent call last):
File "/YOLOprojects/YOLO_custom/run.py", line 12, in
model.train(data=data, imgsz=1080, epochs=2000, patience=2000, pose=17) # KH-traincode train model with data. many other arguments are available https://docs.ultralytics.com/cfg/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mambaforge/envs/YOLO/lib/python3.11/site-packages/ultralytics/engine/model.py", line 337, in train
self.trainer.train()
File "/mambaforge/envs/YOLO/lib/python3.11/site-packages/ultralytics/engine/trainer.py", line 195, in train
self._do_train(world_size)
File "/mambaforge/envs/YOLO/lib/python3.11/site-packages/ultralytics/engine/trainer.py", line 402, in _do_train
self.run_callbacks('on_fit_epoch_end')
File "/mambaforge/envs/YOLO/lib/python3.11/site-packages/ultralytics/engine/trainer.py", line 160, in run_callbacks
callback(self)
File "/mambaforge/envs/YOLO/lib/python3.11/site-packages/wandb/integration/ultralytics/callback.py", line 256, in on_fit_epoch_end
self.train_validation_table = plot_pose_validation_results(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NameError: name 'plot_pose_validation_results' is not defined
Expected Behavior
No response
Steps To Reproduce
No response
Screenshots
No response
Environment
OS: Linux Ubuntu 22.04
Browsers:
Version: 0.16.1
Additional Context
No response

Hi @Tarislada, thanks for flagging this! Looks like you're on wandb==0.16.1, would you mind sharing which was the last version that was working for you? There were some changes on the integration (see our releases notes) so those might be affecting here

My mistake; it was never working with add_wandb_callback in the first place. I went ahead and checked all versions from 0.15.10 to 0.16.1; none of them were working. Also, all versions had two errors. First one is regarding the line 63 and 64 of callback.py on wandb.integration.ultralytics were it states
except ImportError as e:
    wandb.error(e)

it should be wandb.Error, not error.
The second was regarding line 45, importing RANK from ultralytics.utils.
it shouldn't be from ultralytics.yolo.utils, but from ultralytics.utils as there were changes to the ultralytics library.

Hi @Tarislada, thanks for flagging this!

First one has been fixed, see here
For the second one, there's a try/except block to import from ultralytics.utils in case there's a ModuleNotFoundError

So this should work as expected now, please let us know if you still see any issues!


replace url for /data-library

make it hang from /data so it finally is /data/data-library and /data/datasets/:name

still blocked by https://github.com/CartoDB/cartodb-platform/issues/923

does this still apply @saleiva ?

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


IE11 error in bundle.js by invalid character

I'm using this configuration of typescript and webpack for my project and I have a bug of invalid character in IE11 and I don't know how to solved. I publish in stackoverflow the bug.
https://stackoverflow.com/questions/56803998/ie11-error-in-bundle-js-by-invalid-character

Are you transpiling to ES5? webpack config:
    rules: [
      {
        test: /\.(ts|tsx)$/,
        exclude: /node_modules/,
        loader: "awesome-typescript-loader",
        options: {
          useBabel: true,
          babelCore: "@babel/core" // needed for Babel v7
        }
      },

Yes I have the same block of code


JS: Smooth Scroll

Feature Request - Smooth Scroll
Something like this => http://mdbootstrap.com/javascript/smooth-scroll/
Specially handy for landing pages and Call to action anchor tags
Codepen => http://codepen.io/IamManchanda/pen/VPZMba
Special Note: Have proposed similar feature in bootstrap too so sorry for any duplication n all. I Just love and use both frameworks in my projects, so a bit neutral and proposing to both :)

I think this is a useful feature. We could add it in Foundation like this:
Link

However, I don't know if we should also provide an option to enable it by default for all, even without data-smooth-scroll. Could it create bugs ?

@ncoden I am using this in my company and with a class or id selector just like my example, it dont create bugs, never had any issue but i dont have idea of "data-smooth-scroll" if it create any bugs

@IamManchanda Using data attribute to apply JS behavior is proper, because of .classes is used for CSS styles and #IDs must be unique.
I wonder if there would be bugs with an option to apply smooth scoll by default for all links, because we could apply a smooth scoll where it is not expected.

No No ..... with a data-smooth-scroll only would be better .... not to every link
@ncoden yes For navbars we can do
Codepen => http://codepen.io/IamManchanda/pen/JEjOmN

One

Two

Three

Four

$('#smooth-scroll-menu >li > a[href*="#"]:not([href="#"])').click(function() {
  if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
    var target = $(this.hash);
    target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
    if (target.length) {
      $('html, body').animate({
        scrollTop: target.offset().top
      }, 1000);
      return false;
    }
  }
});

Your code works, but we must implement it in a way it can be easily used. In your case, #smooth-scroll-menu can't be used twice.

Do you want to open a PR ?

Yup exactly thats why i said i am fine with your data-attribute also. Infact would be better.
Yes i want to open a PR but i am new to git and even data-attributes so can you please do that from mah side buddy ??

We could probably refactor out the code that handles this behavior for Magellan and turn it into a unique plugin.  See: https://github.com/zurb/foundation-sites/blob/develop/js/foundation.magellan.js#L111

I am totally up for this @kball

No No @ncoden i meant i was totally up for the idea of kevin ball
I am not that great at javascript at this moment, still learning its bits and pieces so it will be hard for me to do this assignment so please would urge you to unassign me for this
At the same time i am very happy to have this https://github.com/zurb/foundation-sites/issues/9592 assigned to me and will do my best !

Ok. So I'll take care of this issue. 😄

This would be a great addition to the framework. I've been using Foundation framework for a good amount of time, and still ended up using this code snippet from CSS-Tricks to implement the internal links smooth scrolling.
$(function() {
  $('a[href*="#"]:not([href="#"])').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
      if (target.length) {
        $('html, body').animate({
          scrollTop: target.offset().top
        }, 1000);
        return false;
      }
    }
  });
});

As @kball mentioned, the smooth scroll exists in the Magellan module, so making it as a unique module in its own would be a great addition.
Thanks @IamManchanda for bringing this 👍

Yup @denisahac ..... Same here buddy .... Same like you !!!

closing this as added here #9636


Merge 3.1-release into master

Merging 3.1-release into master after v3.1.0 release

Will submit new PR for 3.1.1.


why selection instanceof CellSelection return false after tr.setSelection ?

hey all.
i find something strange in my table-plugin, after dispatch(tr.setSelection(...)), the state.selection instanceof CellSelection in decoration of tableEditing return false.
the newSelection is created as blow:
export const getCellsInTable = (selection) => {
  const table = findTable(selection);
  if (table) {
    const map = TableMap.get(table.node);
    const cells = map.cellsInRect({
      left: 0,
      right: map.width,
      top: 0,
      bottom: map.height,
    });
    return cells.map((nodePos) => {
      const node = table.node.nodeAt(nodePos);
      const pos = nodePos + table.start;
      return { pos, start: pos + 1, node };
    });
  }
};

export const getTableInfo = (tableNode) => {
  return TableMap.get(tableNode)
}

...
// in my row control code

 const tableCellList = getCellsInTable(view.state.selection);
 const { width: chunkLen } = getTableInfo(node);
 const array = chunk(tableCellList, chunkLen)[someSpecRowNum].map((p) => p.pos);
 const selectFrom = doc.resolve(head(array));
 const selectTo = doc.resolve(tail(array));
 const tableSelection = new CellSelection(selectFrom, selectTo);
 dispatch(tr.setSelection(tableSelection));

hoverever props' decoration of tableEditing not draw decorations at all due to the code return false :

i am quite confused about what is the problem ?

Maybe your code uses a different version of prosemirror-table than where the CellSelection came from? That way instanceof would return false.


chore(): change dependencies 4.0.1 to ^4.0.0

For thinking the future, I think Capacitor versions should not be fixed except for major versions.
Thanks.

I use fixed versions to ensure that other developers and the CI always use the same version that I use in development.
Apart from that, with your change it can happen that the developer of the plugin uses<EMAIL_ADDRESS>and the user in his app<EMAIL_ADDRESS>and the plugin may not work when the newly introduced feature of the minor update is used. So the peerDependency version (major/minor) should always be at least as high as the dev version.
For this reason, I am closing this PR. Feel free to let me know if you disagree.


Question: Management UI

Are there any usable UIs for the configuration of the scheduler? As far as I understood something like https://github.com/yahoo/kafka-manager would not be applicable, right?
If so, are there any plans to implement a UI for this project alone?

check out #108


uscfc scraper is not working

The url used by the scraper returns stale data: http://www.uscfc.uscourts.gov/aggregator/sources/8
The latest opinion in our DB is from June 2023
This URL shows data for 2024: https://ecf.cofc.uscourts.gov/cgi-bin/CFC_RecentOpinionsOfTheCourt.pl
Found using this query: https://github.com/freelawproject/courtlistener/issues/3950

This is running again
https://www.courtlistener.com/?q=court_id%3Auscfc&type=o&order_by=dateFiled desc&stat_Published=on&stat_Unpublished=on


License?

Can you clarify the license on this repo, thanks!
Presumably the same license as on this other repo? – https://github.com/anuragajwani/ios-live-camera-feed-processing

yes that is correct. Added the license file in the repo.
https://github.com/anuragajwani/vision_qr_codes_scanning/blob/main/LICENSE


Tab content does not change in split screens when order is changed

Description
Changes in tab order do to propagate to split screened editor
What steps will reproduce the problem?

Split the editor widget into two (either horizontal or vertical)
Drag & drop the opened tabs - change their order in one split screen
The order of tabs changes in both screens but their content does not

What is the expected output? What do you see instead?
The content of the tabs gets changed along with tab labels.
Please provide any additional information below
Version and main components

Spyder Version: 3.2.0
Python Version: 3.5.2
Qt Versions: 5.5.1, PyQt5 5.5.1 on Linux

Dependencies
IPython >=4.0    :  6.1.0 (OK)
cython >=0.21    :  None (NOK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
numpy >=1.7      :  1.13.0 (OK)
pandas >=0.13.1  :  0.20.2 (OK)
psutil >=0.3     :  5.2.2 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.2 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.10.5 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.0 (OK)

Aren't your issue similar to this one see https://github.com/spyder-ide/spyder/issues/4831 ?
If yes, its should be solved with spyder-3.2.1, coming soon.

Yes, I think it is the same issue, closing as a duplicate


Discussion : Hashing algorithm other than SHA-1

Were you able to successfully use hashing algorithm other than SHA-1 with any application ?
I could not...
I have tested the following application and I could not make it work :
On Android :

andOTP - Android OTP Authenticator  <IP_ADDRESS>-play
FreeOTP Authenticator 1.5
Google Authenticator  5.0
(Though its documentation clearly states it is not supported https://github.com/google/google-authenticator/wiki/Key-Uri-Format#algorithm)
Microsoft Authenticator 6.2002.0898

On Windows :

KeePassXC 2.5.3-Win64-portable
it is supposed to be supported since https://github.com/keepassxreboot/keepassxc/pull/2972, there is a configuration for it but the do not match java-totp generation

Do you known any application supporting hashing algorithm other than SHA-1 ?

I think their are 2 problems here.
App makers are not clear on whether they support SHA-256/512 and I personally I think the getDigitsFromHash function in the DefaultCodeGenerator has an error for SHA-256/512.
I used oathtool to verify the results, and I also couldn't make it work. (SHA-1 matched, SHA-256/512 did not)
I eventually replaced it with the below  which I took from the similiar aerogear function, this then matched the oathttool for all hash types.
  private String getDigitsFromHash(byte[] hash) {
    // put selected bytes into result int
    int offset = hash[hash.length - 1] & 0xf;

    int binary = ((hash[offset] & 0x7f) << 24) |
                         ((hash[offset + 1] & 0xff) << 16) |
                         ((hash[offset + 2] & 0xff) << 8) |
                         (hash[offset + 3] & 0xff);

    return String.format("%0" + digits + "d", binary % (int) Math.pow(10, digits));
  }

Back to your first question, apps that I have verified working with at SHA-256 after this change are
Android

Oracle Mobile Authenticator
Auth0 Guardian
Sophos Authenticator
FreeOTP Authenticator

iOS

Oracle Mobile Authenticator
IBM Verify
Sophos Authenticator
FreeOTP Authenticator

Thanks for raising the issue @OlivierJaquemet and for your investigation/fix @Stexxen !
Will try and get some unit tests in place for all the different hash types and make a fix if needed as soon as I can.

I have this small test for SHA-256 if its any help?
oathtool result
% oathtool --totp=sha256 --now="2019-09-04 21:12:16 UTC" --digits=6 --base32 W3C5B3WKR4AUKFVWYU2WNMYB756OAKWY
272978
stexxen@MacBookPro16 ~ % oathtool --totp=sha256 --now="2019-09-04 21:12:16 UTC" --digits=8 --base32 W3C5B3WKR4AUKFVWYU2WNMYB756OAKWY
76272978

and the Test Case
  @Test
  public void testSHA256Result() {
    // 2019-09-04 21:12:16 UTC
    int time =<PHONE_NUMBER>;
    long currentBucket = Math.floorDiv(time, 30);

    CodeGenerator g = new DefaultCodeGenerator(HashingAlgorithm.SHA256);
    String code = g.generate("W3C5B3WKR4AUKFVWYU2WNMYB756OAKWY", currentBucket);
    assertEquals("272978", code);

    g = new DefaultCodeGenerator(HashingAlgorithm.SHA256, 8);
    code = g.generate("W3C5B3WKR4AUKFVWYU2WNMYB756OAKWY", currentBucket);
    assertEquals("76272978", code);
}

Awesome work @Stexxen, thank you !
Thank you @samdjstevens for taking the time to maintain your project. If I can help, do not hesitate to ask.

I've just pushed a fix for this to master with some unit tests that should hopefuly ensure it's working for all hashing algorithms. Please do have a look over if you can, and if all good I will publish v1.7 shortly.
Thanks!

Ahhh that's the problem was it. My binary maths was just not up to the challenge of working out what was wrong...
Thanks for fixing 👍

Just released v1.6.1 to maven central with this fix

Great work. Version 1.6.1 tested and approved. :)
Other hashing algorithm are working perfectly fine with FreeOTP, andOTP and KeePassXC 👍🏻
Thanks again.


Increase compiler warning level

Increase the compiler warning level to catch coding issues.
First commit adds the xrdp defaults -Wall and -Wwrite-strings to the compiler line.
That results in the following warnings on gcc 12.2.0 (Ubuntu 22.10), fixed in commit 2. Note that module-xrdp-pipewire.c:1041 is an actual error.
pw-cli_0358_mod.c: In function ‘parse’:
pw-cli_0358_mod.c:2142:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 2142 |         args = n > 1 ? a[1] : "";
      |              ^
pw-cli_0358_mod.c: In function ‘show_help’:
pw-cli_0358_mod.c:2275:31: warning: passing argument 3 of ‘do_help’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 2275 |         do_help(data, "help", "", NULL);
      |                               ^~
pw-cli_0358_mod.c:276:63: note: expected ‘char *’ but argument is of type ‘const char *’
  276 | static bool do_help(struct data *data, const char *cmd, char *args, char **error)
      |                                                         ~~~~~~^~~~
module-xrdp-pipewire.c: In function 'set_socket_path':
module-xrdp-pipewire.c:371:10: warning: unused variable 'default_socket_name' [-Wunused-variable]
  371 |     char default_socket_name[64];
      |          ^~~~~~~~~~~~~~~~~~~
module-xrdp-pipewire.c: In function 'pipewire__module_init':
module-xrdp-pipewire.c:1041:16: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized]
 1041 |         return res;
      |                ^~~
module-xrdp-pipewire.c:864:13: note: 'res' was declared here
  864 |         int res;
      |             ^~~

and also warnings about asprintf() not being defined by clang 15.0.7, fixed in commit 3
The module itself also compiles cleanly in Fedora 38 (gcc 13.1.1-2 and clang 16.0.4-1)

@Hiero32 - I'd appreciate your thoughts on this.

@matt335672
OK. I fixed warning in module-xrdp-pipewire.c and sent pull request.
Actually, pw-cli_0358_mod.c is workaround only for Ubuntu 22.10.
Ubuntu 22.10 will be EOL soon. I do not think it is necessary to care it.

@matt335672
Sorry, I did not read commits. I closed my pull request.
Your commits are fine.

Hi @Hiero32
Thanks for the feedback. I've increased the compiler warnings as we should be able to pick up problems with any future changes.
When github upgrades one of its runners to something which supports pipewire, I'd like to get some continuous integration set up too, like we've done for the pulseaudio module.


libraries: instead of including all demangler sources into a single C++ source file,

list them in the cmake file

@swift-ci Please smoke test and merge

@swift-ci Please smoke test macos


HM-Dis-WM55 Unknown paramset

Unable to send something to the display. Debug shows:
node: RaspberryMatic
msg : string[83]
"rpc > BidCos-RF setValue ["NEQ01xxxx7:3","SUBMIT","0xF0"] < Error: Unknown paramset"

There is also only channel 3 available in the drop-down menu

tried to fix that in v1.1.2, but I had to do that on blind flight, got no HM-Dis-WM55 to test it...

The unknown paramset warning in the log will still be there, this is related to #5 - nevertheless now it should be possible to send texts/icons to the HM-Dis-WM55

Unfortunately it doesn't work. This is the command that goes aut from the display node:

rpc > BidCos-RF setValue ["NEQ01xxxx7:3","SUBMIT","0x02,0x0A,0x12,0x41,0x75,0x73,0x11,undefined,0x13,0x80,0x0A,0x12,0x4F,0x66,0x66,0x65,0x6E,0x11,undefined,0x13,0x82,0x0A,0x12,0x49,0x6E,0x66,0x6F,0x72,0x6D,0x61,0x74,0x69,0x6F,0x6E,0x11,undefined,0x13,0x86,0x0A,0x12,0x20,0x11,undefined,0x0A,0x12,0x20

There are four "undefined" values inthere. I think this are the values from text 4&5 and icon 4&5. These won't be stored in the node configuration. After saving and reopen the node the fields are empty. Perhaps the display doesn't accept the setValue because of them.
Please also make channel 1 and 2 available in configuration. These are also used to send text to the display. Here a working example from the CCU:

Could you please clear your browsers cache and try again? I couldn't reproduce the missing values, so I guess it may be a caching issue...

Channel 1&2 should be available in v1.1.5

Arghhhh, missing values was really my fault. Sorry for that.
Now we just need channel 1 & 2 of the device in the node config. Channel 3 doesn't work. If I manually modify it to a "1", then the display receices an displays the values. But because it's an manual entry after reopening the config dialog, the channel settings are empty.

next try: v1.1.6 :-)

Great job!

Channel 1 & 2 available
Lines correct

Many Thanks Sebastian


TypeScript syntax highlighting

As you can see in the attached image, the syntax highlighting for TypeScript doesn't work correct anymore. Neither the module nor the type definitions are highlighted. This is a complete new installation I did two days ago. Current version is 0.10.6

@egamma @aeschli @bpasero ping

duplicate of #1470 + https://github.com/Microsoft/TypeScript-TmLanguage/issues/37


missing Pokemon model file.

Pokemon model is not uploaded on git.

Pokemon model is not uploaded on git.

I put PokemonModel here, you can use it.


Add java websocket support

A multiple threads websocket server and a multiple threads client for test.

I think it is OK, pls review when have time. @csukuangfj

Thanks!


Fixing selection bug

Realized after you merged the last PR that the behavior on selection was weird (markers were getting put in random places). Fixed it by clearing out the search function and just doing the neighborhood search directly on the autocomplete result on selection

@pjsier thoughts on adding a fallback to google maps data once the user is outside of Chicago?
Also, I found a TON of data for other cities here: blackmad/neighborhoods

So it actually defaults to Mapzen search outside Chicago right now, which
I've had better experiences with, but take a look!
On Mon, May 15, 2017 at 11:45 AM Ali Karbassi<EMAIL_ADDRESS>wrote:

@pjsier https://github.com/pjsier thoughts on adding a fallback to
google maps data once the user is outside of Chicago?
Also, I found a TON of data for other cities here: blackmad/neighborhoods
https://github.com/blackmad/neighborhoods
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/karbassi/wnaii.com/pull/17#issuecomment-301533155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH6FT4vvSdlbjhX_NiwgWrlh4ljshr5Oks5r6IEtgaJpZM4NZ4zg
.


Readded changes that was removed in some Pull Request merge.

Coverage remained the same at 74.69% when pulling 78b9ebeca640284bbf461641235cc852f85ed448 on JiaHaoLim:master into 13cf7423c3cfca196c8c053027f065b3f94f28d5 on CS2103-AY1819S2-W17-2:master.


[Fix][Rocketmq] Rocketmq sink error when use multi-table synchronization #7771

Purpose of this pull request

Fix Rocketmq sink error when use multi-table synchronization.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Use existed test cases
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Could you add a e2e test case for rocketmq with multi table? Thanks

Hi @YalikWang , please do not close/reopen PR, it will lost ci status.
CI : https://github.com/YalikWang/seatunnel/actions/runs/11233083288/job/31226282144

Hi @YalikWang , please do not close/reopen PR, it will lost ci status. CI : https://github.com/YalikWang/seatunnel/actions/runs/11233083288/job/31226282144

How can I manually trigger E2E tests?

You can tirgger ci again by yourself.

@Hisoka-X E2E test failed with Spark Engine because of time-out. After submitting to Spark Engine, it seems that the job did not run. Could you please help me to analysis the reason of it ? Or should I disable spark engine container?
e2e test console log :
63392 [docker-java-stream-1626631782] INFO  🐳 [tyrantlucifer/spark:3.3.0] - STDOUT: 24/10/12 09:25:23 INFO Utils: Successfully started service 'MasterUI' on port 8080.
63454 [main] INFO  org.apache.seatunnel.e2e.common.container.AbstractTestContainer - Execute command in container[tyrantlucifer/spark:3.3.0]
==================== Shell Command start ====================
/tmp/seatunnel/bin/start-seatunnel-spark-3-connector-v2.sh --config /tmp/rocketmq-sink_fake_to_rocketmq_multi_tables.conf --name rocketmq-sink_fake_to_rocketmq_multi_tables.conf --master local --deploy-mode client
==================== Shell Command end   ====================
63485 [docker-java-stream-1626631782] INFO  🐳 [tyrantlucifer/spark:3.3.0] - STDOUT: 24/10/12 09:25:23 INFO MasterWebUI: Bound MasterWebUI to <IP_ADDRESS>, and started at http://39bd998c4ce0:8080
63793 [docker-java-stream-1626631782] INFO  🐳 [tyrantlucifer/spark:3.3.0] - STDOUT: 24/10/12 09:25:24 INFO Master: I have been elected leader! New state: ALIVE
spark docker logs:
09:25:19.92
09:25:19.93 Welcome to the Bitnami spark container
09:25:19.93 Subscribe to project updates by watching https://github.com/bitnami/containers
09:25:19.93 Submit issues and feature requests at https://github.com/bitnami/containers/issues
09:25:19.93
09:25:19.94 INFO  ==> ** Starting Spark setup **
realpath: /bitnami/spark/conf: No such file or directory
09:25:20.22 INFO  ==> Generating Spark configuration file...
find: '/docker-entrypoint-initdb.d/': No such file or directory
09:25:20.23 INFO  ==> No custom scripts in /docker-entrypoint-initdb.d
09:25:20.24 INFO  ==> ** Spark setup finished! **
09:25:20.26 INFO  ==> ** Starting Spark in master mode **
starting org.apache.spark.deploy.master.Master, logging to /opt/bitnami/spark/logs/spark--org.apache.spark.deploy.master.Master-1-39bd998c4ce0.out
Spark Command: /opt/bitnami/java/bin/java -cp /opt/bitnami/spark/conf/:/opt/bitnami/spark/jars/* -Xmx1g org.apache.spark.deploy.master.Master --host 39bd998c4ce0 --port 7077 --webui-port 8080
Using Spark's default log4j profile: org/apache/spark/log4j2-defaults.properties
24/10/12 09:25:22 INFO Master: Started daemon with process name: 66@39bd998c4ce0
24/10/12 09:25:22 INFO SignalUtils: Registering signal handler for TERM
24/10/12 09:25:22 INFO SignalUtils: Registering signal handler for HUP
24/10/12 09:25:22 INFO SignalUtils: Registering signal handler for INT
24/10/12 09:25:22 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
24/10/12 09:25:22 INFO SecurityManager: Changing view acls to: spark
24/10/12 09:25:22 INFO SecurityManager: Changing modify acls to: spark
24/10/12 09:25:22 INFO SecurityManager: Changing view acls groups to:
24/10/12 09:25:22 INFO SecurityManager: Changing modify acls groups to:
24/10/12 09:25:22 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(spark); groups with view permissions: Set(); users  with modify permissions: Set(spark); groups with modify permissions: Set()
24/10/12 09:25:23 INFO Utils: Successfully started service 'sparkMaster' on port 7077.
24/10/12 09:25:23 INFO Master: Starting Spark master at spark://39bd998c4ce0:7077
24/10/12 09:25:23 INFO Master: Running Spark version 3.3.0
24/10/12 09:25:23 INFO Utils: Successfully started service 'MasterUI' on port 8080.
24/10/12 09:25:23 INFO MasterWebUI: Bound MasterWebUI to <IP_ADDRESS>, and started at http://39bd998c4ce0:8080
24/10/12 09:25:24 INFO Master: I have been elected leader! New state: ALIVE


Add recording and materials for the Hackfest demos session

Publishes materials for https://www.meetup.com/Jenkins-online-meetup/events/270932348/

@all-contributors please add @fqueiruga  for talk

@all-contributors please add @wadeck for talk


Stateful emails

Description
Sending emails is crucial for a shop and shopware has a decent mail configuration. Sending an email is a very volatile process as well. The mailing limits at Outlook are pretty easy to break with all mailing templates enabled. When the limit is reached the email is bounced and therefore lost in the void. The customer will get an error message and an underlying process might not continue properly. The failure rate in mailing is barely handled within shopware. Having a mailing queue that enables automatically resending, relays on bumps or failures, can be processed in the background without the business processes to fail. This will also allow to check whether sending an email has been successful for everyone without access to the outbox of the mailing account.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Support registration via psycopg2.extras cursor factories

The current registration logic assumes cursors are created using the default cursor factory.
This patch adds support for other factories provided shipped in psycopg2.extras
Please let me know what you think, or if there's anything that you'd like changed

Hi @ohad-ivix, thanks for the PR! Improved support in the commit above.


Implement case-insensitivity to column names when checking against the bagel schema

Due to incremental changes to the bagel schema for the dashboard, some of the columns now are specified with partially capitalized names, e.g. "PHASE_xxx" to clearly distinguish prefixed from non-prefixed columns for schema users. To make the workflow for constructing bagels a bit more flexible, we can make the internal parsing of schema-defined columns (within the dashboard) based on pure string matching that is insensitive to case.
So, both Phase_DKT and PHASE_DKT in a bagel.csv should be recognized as phase columns by the dashboard.

[ ] create function to cast all required columns to lowercase in uploaded bagel.csv
[ ] for columns matching a recognized prefix, change column name to capitalized prefix + original suffix

As I've realized implementing case insensitivity to column names will actually be quite difficult due to how these names are referenced in the codebase (and I don't think the current case sensitivity has been a major blocker so far), I'm closing this as not planned for now.
I think #48 represents a more reasonable alternative that would also allow more flexibility on the tracker/bagel generation side.


Portia can't perform if adding javascript to manipulate html

I would like to manipulate html so that I added a javascript file (say run.js) to splash_utils folder. I also made changes on splash_utils/compile_slybot.sh as well as slyd/index.js to generate a new file combined.js at slyd/dist/splash_content_scripts
My file is like
var f = function () {
  var body = document.body;
  var placeholderElems = body.querySelectorAll('.delayed-image-load');
  // I had included at treeForPublic  (`slyd/index.js`) to load Imager.js library.
  var imgrPlaceholder = new Imager(placeholderElems, {availableWidths: [320]});
};
f();

Problem is when I load a heave page like www.bbc.com, Portia can't load website at all. I said a heave page because I had made an example which a proportion of bbc.com and Portia could load this. I give this example here testImage_nojs.html.zip
Would you please check if it is a bug or not?

It loads in Portia 2.0


Bump gmavenplus-plugin from 1.10.1 to 1.11.0

Bumps gmavenplus-plugin from 1.10.1 to 1.11.0.

Release notes
Sourced from gmavenplus-plugin's releases.

1.11.0
Bugs
None
Enhancements

Change JDK compatibility check to also account for Java 16.
Some tweaks for Groovy 4 (most notably, invokedynamic is enabled by default for Groovy 4 and cannot be disabled).
New parameter (attachGroovyDocAnnotation) to enable attaching GroovyDoc annotation.
New parameter (parallelParsing) to enable parallel parsing (enabled by default with Groovy 4).
Remove previewFeatures parameter from stub generation goals, since it's not used there.

Potentially breaking changes

If you were using the previewFeatures parameter without also including a compilation goal that would make that config valid, the build will fail because it's no longer a valid parameter.  The fix would be to move that configuration to the appropriate execution(s).

Notes
None

Commits

4c071b1 [maven-release-plugin] prepare release 1.11.0
a94c72f Merge pull request #175 from groovy/Groovy4
5960bbc Remove previewFeatures parameter from stub generation
9b0a4fc Changes for Groovy 4
f0a7f55 Add parameter for parallel parsing
9ff9a3d Add support for runtimeGroovydoc optimization
5f9bbc6 Add JavaDoc links to Groovy
8004451 Add Java 16 to JavaDoc supported list
7640b66 Merge pull request #172 from groovy/java16
8509655 Add Java 16 to supported checks
Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Author: dependabot[bot]. Timestamp: 2020-12-02T02:02:45Z

Superseded by #10.


RuntimeError: Frame didn't arrive within 5000 Inside Docker container with Nvidia Jetson ORIN

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D400 }

Firmware Version
v2.50.13

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
5.10.104-tegra

Platform
NVIDIA Jetson& Docker

SDK Version
{ 2.50.13 }

Language
python }

Segment
{Other }

Issue Description
Hello,
I have a FRAMOS D455e stereo camera connected to Nvidia Jetson ORIN with Jetpack 5.1 via ethernet port (not PoE).
I successfully created a Docker image to run my Computer Vision application using the camera following the instructions unpacked from FRAMOS_D400e_Software_Package_Linux64_ARM_latest and extracted with the debian package under ~/librealsense2/scripts/Docker_FRAMOS/Dockerfile.
I can successfully run rs-enumerate-devices, rs-color and rs-depth inside the docker container.
The python example scripts I managed to run and get the expected output from:
python3 librealsense2/wrappers/python/examples/python-tutorial-1-depth.py # changed import pyrealsense2 as rs ---> import pyrealsense2.pyrealsense2 as rs
BUT when I apply the same technique to read color frames, as exhibited in the script `opencv_viewer_example.py' I get this error:
RuntimeError: Frame didn't arrive within 5000
How can I proceed? Thank you

Hi @kais-bedioui  Intel does not provide support for the 'e' range of industrial RealSense-compatible cameras as they are produced by FRAMOS and not by Intel.  I recommend contacting FRAMOS support by visiting the link below and clicking on the 'Contact US' button.
https://www.framos.com/en/resources/support
I would emphasize though that python-tutorial-1-depth.py is not designed for use with color frames as it is a depth-only script.  It uses an instruction called get_distance() to generate a real-world depth value in meters for a particular XY coordinate, but this instruction will only work with the depth stream.
The align_depth2color.py example would be a better program to demonstrate accessing color frames.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/align-depth2color.py

Hi @MartyG-RealSense
Thanks for getting back to me. I will get in touch with FRAMOS then.
However I think it is a pyrealsense library-related issue.
I mentioned python-tutorial-1-depth.py to emphasize that the Python SDK can successfully read depth frames while other applications that try to read the color frame throw the mentioned error.
Again, I point out that with realsense-viewer I can read both streams and the command rs-color can also read the color frames and doesn't throw an error
Could you think of another way of debugging?

It is difficult to advise, as what works for an Intel D455 and its firmware may not always be the same for a FRAMOS D455e and their own firmware driver.  This is why it is recommended to contact FRAMOS for 'e' camera support.
D455 - at least, the Intel version - supports a mode called 'RGB from left infrared sensor' where you can stream an RGB image from the left infrared sensor instead of an RGB sensor.  This method typically works in cases where the RGB sensor will not stream in Python.
You can define 'color from left infrared sensor' with a 'cfg' camera configuration line like the one below, which sets the stream format to OpenCV-friendly BGR8 instead of the default infrared Y8 format:
config.enable_stream(rs.stream.infrared, 640, 480, rs.format.bgr8, 30)

Okay I will also give that a try.
Will keep you posted
On Wed, 4 Dec 2024 at 17:24, MartyG-RealSense @.***>
wrote:

It is difficult to advise, as what works for an Intel D455 and its
firmware may not always be the same for a FRAMOS D455e and their own
firmware driver. This is why it is recommended to contact FRAMOS for 'e'
camera support.
D455 - at least, the Intel version - supports a mode called 'RGB from left
infrared sensor' where you can stream an RGB image from the left infrared
sensor instead of the RGB sensor. This method typically works in cases
where the RGB sensor will not stream in Python.
You can define 'color from left infrared sensor' with a 'cfg' camera
configuration line like the one below, which sets the stream format to
OpenCV-friendly BGR8 instead of the default infrared Y8 format:
config.enable_stream(rs.stream.infrared, 640, 480, rs.format.bgr8, 30)
—
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/13571#issuecomment-2517930936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7SGIDT34G47CSTCTTYVJL2D4UDJAVCNFSM6AAAAABS6G2O56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJXHEZTAOJTGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @MartyG-RealSense
Just wanted to let you know I solved my issue; accidentally.
I re-ran the docker container with option --runtime nvidia ... in order to test display functionality and that resulted in successfully reading the Color Frames with the python SDK.
I am closing this issue ;)

It's great to hear that you achieved a solution!  Thanks very much for the update.  :)

Hi @kais-bedioui ,
How did you manage to create a docker image that can interface with the FRAMOS camera on the Jetson Orin?
I'm struggling to figure it out, got any pointers?
Thanks in advance

@JGiltayOMR
To build it, I created a Dockerfile based on the Dockerfile you will find under /usr/src/librealsense2/scripts/Docker_FRAMOS/Dockerfile after you install Realsense SDK locally
In Line 31 change 'FRAMOS_D400e_Software_Package_Linux64_x64_latest.tar.gz' with 'FRAMOS_D400e_Software_Package_Linux64_ARM_latest'
Then there is the cmake build phase of librealsense2, add -DPYTHON_EXECUTABLE=/usr/bin/python3.8 \     -DBUILD_WITH_CUDA=true \
At the second stage of the Docker image also change line 76 to COPY --from=librealsense_framos-builder /usr/src/librealsense2/build/wrappers/python/pyrealsense2.cpython-38-aarch64-linux-gnu.so*  /usr/lib/python3/dist-packages/pyrealsense2
This should build you a Docker image via build_image.sh also under /usr/src/librealsense2/scripts/Docker_FRAMOS/
You can run it via run_image.sh and add the option --runtime nvidia

You're a legend! I'll try that, thanks so much for the quick reply.

Did you have to specify the cuda compiler anywhere? I am trying to set the CUDACXX environment variable to
usr/local/cuda/bin/nvcc
But it keeps complaining it cant find it.

Hey @JGiltayOMR
Let's first open a new issue, related to your topic. There I will share with you the entire Dockerfile ;)
The issue you are facing is because the BASE_IMAGE is ubuntu:20.04 docker image which doesn't contain CUDA

@JGiltayOMR Are you still struggling to build the Docker image or run it?

@kais-bedioui No thanks!  Had to do some other things with the cmakelists.txt for the wrappers as well but eventually I got there!
Thanks so much for the pointers, that has probably saved me couple of days of frustration!


Update SQL credential succeed but refresh with error data source is missing credentials

Describe the issue
Update SQL credential but it still prompt error that Scheduled refresh is disabled because at least one data source is missing credentials
**Extension **

Extension: Power BI Action
Version: 5.*

To Reproduce
Steps to reproduce the behavior:

In Pipeline, upload a report
Update SQL Credential for the report with a username and password

Set refresh scheule as well
Run pipeline successfuly
Go to the report imported, there is an error sign beside the referesh of the dataset

Click the error sign

Login Power BI with the username and password set in step 2, click settings of the dataset, it shows the dataset is configured by the service principle
Click "Take Over" to take over the dataset
Open the dataset, click "Refresh" button, the error disappears

Expected behavior
Dataset should be able to refresh with the credential set.
Situation (please complete the following information):

Agent type: Self-hosted Windows Agent
Autentication: Service Principle
Extension Version: 5

Log info
Additional information
No.

For the next time do not provide a log file with the credentials in it.

Added a step to make the spn owner, but still the same.

Even run it after taking over the dataset with the username of step 2, the credential is missing

That is correct!


Add infrastructure and fix minor issues

Implementation of:

Infrastructure SDO & relationships
Fix process_relationships processing for TTP-to-TTP relationships
Fix attack pattern relationship typo

Hi @jaysneg,
Thanks for this pull request!  I'm sure we will incorporate it into the slider when we update it to handle the latest working draft of the STIX 2.1 spec!

Hi,
is there any TODO list for STIX 2.1 support?

On 27 Dec 2019, at 15:41, Rich Piazza<EMAIL_ADDRESS>wrote:
Hi @jaysneg https://github.com/jaysneg,
Thanks for this pull request! I'm sure we will incorporate it into the slider when we update it to handle the latest working draft of the STIX 2.1 spec!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/oasis-open/cti-stix-slider/pull/42?email_source=notifications&email_token=AAGSKZZSECXEWOJMVXYOMDDQ2YAXRA5CNFSM4J67MK62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHXGTPY#issuecomment-569272767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGSKZ3P37WGNGFK6SAUG7TQ2YAXRANCNFSM4J67MK6Q.

@jaysneg
No formal TODO list...  Probably in the new year I will just put out a new version to conform to the latest working draft - which should be the final version of 2.1

Similar changes made in other commits


How do I get the rendered image to og:image useSeoMeta

Really love what you are doing, but maybe I lost something in documentation.
My index.ts has useSeoMeta, useHead and defineOgImageComponent. I can see the Og image in Og-image preview in dev tools but not as a og:image in open graph preview. I assume the image has to be generated somewhere for me to reference as a url string in useSeoMeta, but I can't find it.
Can you please help? @harlan-zw

Hi, please use the OG Image DevTools tab. The tab you're using is broken for displaying the proper og images.

@harlan-zw Thank you! It does work well for domain specified in your here:
defineNuxtConfig({site: {     url: 'https://www.your-domain.com',    }}
Leaving this here so anybody confused like I was will have an explanation


harmonize single character arguments for vcfpaste.py (other tools as well?)

single character arguments to some tools have not been obvious to me (leading me to dig into the code to determine the intent of these arguments)
examples include
-m and -f to vcfpaste.py
I have found this to be most often confusing when the argument has an argument that is a file path or such.....I have specifically wondered if am I providing an input or output path for instance....
this suggests we may want to take a pass at the help text and names for these arguments
instead of proposing a specific harmonization strategy I recognize that changing this (or deciding not to change this might take some thought)
I create this issue to consider the issue.

svtools_argument_harmony.xlsx

@jeldred - Do you have recommended changes to go with this table?

I recommend we add
-i, --input options to copynumber that has the same behavior as it's -v
-v, --vcf options to genotype that has the same behavior as it's -i
-i, --input options to bedpetobed12 that has the same behavior as it's -b
-o, --output options to bedpetobed12 that has the same behavior as -o in bedpetovcf and vcftobedpe
-i, --input options to bedpetovcf that has the same behavior as it's -b
-i, --input options to prune that has the same behavior as the positional arugment

https://github.com/hall-lab/svtools/pull/128 and https://github.com/hall-lab/svtools/pull/131 are meant to address this issue

PRs merged.


ansible error in docker

When I committed to create new cluster command from GUI It gave me an error ( 3 nodes cluster on my private environment)
autobase running on docker, and no network accessible issue
TASK [Gathering Facts] *********************************************************
fatal: [<IP_ADDRESS>]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"failed": true, "module_stderr": "Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.\r\n/usr/bin/env: ‘python3’: No such file or directory\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 127}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
fatal: [<IP_ADDRESS>]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"failed": true, "module_stderr": "Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.\r\n/usr/bin/env: ‘python3’: No such file or directory\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 127}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
fatal: [<IP_ADDRESS>]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"failed": true, "module_stderr": "Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.\r\n/usr/bin/env: ‘python3’: No such file or directory\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 127}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
![image_2024-12-19_201649865](https://github.com/user-attachments/assets/84cba4bb-5e8d-44a0-8279-6cd81bc4dd5d)

Make sure that the target servers have python3, try execute the command /usr/bin/env python3

Oh I see It's my mistake
thanks


Add tests

peer.js, one of the main dependency of this project, only supports browsers for now. We should figure out a way to test against SMPPeer.

Mock tests are added in https://github.com/mhchia/js-smp-peer/blob/master/test/smpPeer.test.ts. Close it for now.


Add support for Ruby 3.0

This change attempts to add support for Ruby 3.0 projects.

@mokhan  you could also take the opportunity of this follow up PR to update the README.md to indicate Ruby 3.0 is supported.

@mokhan  you could also take the opportunity of this follow up PR to update the README.md to indicate Ruby 3.0 is supported.

@mokhan @opatry
This PR as currently written only adds Ruby 3.0 to the CI test matrix, it does not make it available for use with Actions.  The code for that is in another repo.
Looking at the CI here, you'll see that Ruby 2.4 & 3.0 failed.
Please consider using ruby/setup-ruby for your Actions CI, instead of actions/setup-ruby.  See more info in the repo:
https://github.com/ruby/setup-ruby

@mokhan @opatry
This PR as currently written only adds Ruby 3.0 to the CI test matrix, it does not make it available for use with Actions.  The code for that is in another repo.
Looking at the CI here, you'll see that Ruby 2.4 & 3.0 failed.
Please consider using ruby/setup-ruby for your Actions CI, instead of actions/setup-ruby.  See more info in the repo:
https://github.com/ruby/setup-ruby


RDKTV-18719 : WpeFramework crash fix

Reason for change:
HdmiCecSink shared_ptr cross reference in DisplaySettings
plugin is removed.
Test Procedure: None
Risks: Low
Change-Id: Id49e4e17f80141f0ae23d4f57119dfd068405758
Signed-off-by:Anooj Cheriyan<EMAIL_ADDRESS>

New PR created: 3100


fix AZKABAN_OPTS handling in azkaban-{web,executor}-start.sh

If the value contains spaces, the comparison causes an error to be logged. If the reference to AZKABAN_OPTS is wrapped in quotes, spaces are handled properly.

LGTM.
Maybe switch to [[]] too?
see http://robertmuth.blogspot.com/2012/08/better-bash-scripting-in-15-minutes.html
Favor [[]] (double brackets) over []
@li-afaris  what do you think?
also http://tldp.org/LDP/abs/html/varsubn.html

Switched from [ to [[ in both places.

Looks good.  thanks for the patch @sjakthol.


Allow users to copy addresses in address book

fixes https://github.com/DarkFlorist/TheInterceptor/issues/123

When changing active address, you want to select the address by clicking and you don't want to copy the address you are clicking


grpc 'Deadline Exceeded' errors when network is low quality

Not sure if this is the best repo for this, but it is suspected that the deadline setting is done by google-gax.
On a low-quality network I was getting the following gRPC error from the system-test for the @google-cloud/logging client library:
~/src/google-cloud-node/packages/logging
λ yarn run system-test
yarn run v0.23.4
$ mocha system-test/*.js --no-timeouts --bail

  Logging
    sinks
      1) should create a sink with a Bucket destination

  0 passing (9s)
  1 failing

  1) Logging sinks should create a sink with a Bucket destination:
     Uncaught Error: Deadline Exceeded
      at node_modules/grpc/src/node/src/client.js:434:17

On a high quality network I cannot reproduce this error.

/cc @stephenplusplus as FYI.


FREME NER crashed

FREME NER is no longer reachable. I think it has crashed on FREME worker.
http://api.freme-project.eu/current/e-entity/freme-ner/documents?language=de&dataset=dbpedia&informat=text&input=Welcome+to+Berlin!&outformat=turtle
produces
{
  "exception": "eu.freme.broker.exception.ExternalServiceFailedException",
  "path": "//e-entity/freme-ner/documents",
  "error": "Bad Gateway",
  "status": 502,
  "timestamp":<PHONE_NUMBER>565
}

we needed to redeploy freme ner in order to solve https://github.com/freme-project/freme-ner/issues/50
Very soon it will up and running again.

its up and running again.


Update continuation translation

Issue #741.
The text in the original C# specification was vague; the text in the ECMA specification was over-fit to the example.
I've clarified the title of the section to indicate that continuations are part of the query expression as a whole, not part of the final select or group clause which ends the initial query body.

Thanks Jon; quick question. By changing the title of a section I've broken the link in the readme; is there a tool I should run to fix that, or will a bot fix that up automatically?

I believe it will just create another PR with it fixed, but @BillWagner could say for sure.

@ericlippert @jskeet
Yes, the bot will create a new PR that updates the readme, the grammar (if needed) and any links to the renamed section.
Go ahead and merge.


can't load

What steps will reproduce the problem?

Start the server with plugin & dependencies WITHOUT debug mode. Plugin doesn't work.
Start the server with plugin & dependencies WITH debug mode. Plugin doesn't work.

What were you expecting to happen? What happened instead?
Should be loaded, but not.
What version of the plugin are you using? Type /version <Plugin Name>
3.1.2
What Spigot version are you using? Type /version
Craftbukkit version git-Spigot-c6871e2-0cd0397 (MC: 1.9.4)
What plugins are you using? Type /plugins
https://gyazo.com/c8525c1da5af35ca859ccb45e72c6283.png
Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log
http://pastebin.com/raw/ExY97JMk
Did your client crash? Upload errors in .minecraft/logs/latest.log as well
no
Additional information?  (Are you using Bungeecord? Did it work in previous versions? etc.)
Not working in all versions after 3.0.0 (2.7.7 and under are disabled 'cause plugin isn't up-to-date)

Resolved in 3.2.0-SNAPSHOT with MenuBuilder-1.1.0-SNAPSH0T


dask.delayed.Delayed vs dask.delayed.delayed.

It seem that sometime the two get confused by papyri.

This should have been fixed by fully qualified spec https://github.com/jupyter/papyri/pull/245 isn't it?

I have to check, but I don't think so, both are now dask.delayed:Delayed and dask.delayed:delayed, but the filesystem being case insensitive on some system, when storing files there might be issues of both being merged/confused.

Can this be related to #136 ?

It is indeed I'll try to merge the two issues.


examples: 'import json' is not needed

correct, not needed :)

thanks for the catch and the PR much appreciated


Conflict with Rails 4.2.1

Requirement on sprockets < 3.1, >= 2.1 conflicts with Rails 4.2.1 requirement on sprockets 3.1.0

Thanks for your report, @JonasFromell .
This should be fixed by https://github.com/tricknotes/ember-handlebars-template/pull/4 .
Could you try<EMAIL_ADDRESS>?


feat: treat ctrl+c as a quit request

Draft for:

[ ] I really don't know if this is a good place to put this or if it should be much broader.

Traceback (most recent call last):
  File "/farm/venv/bin/plotman", line 33, in <module>
    sys.exit(load_entry_point('plotman', 'console_scripts', 'plotman')())
  File "/farm/plotman/src/plotman/plotman.py", line 125, in main
    interactive.run_interactive()
  File "/farm/plotman/src/plotman/interactive.py", line 328, in run_interactive
    curses.wrapper(curses_main)
  File "/home/altendky/.pyenv/versions/3.9.2/lib/python3.9/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/farm/plotman/src/plotman/interactive.py", line 301, in curses_main
    key = stdscr.getch()
KeyboardInterrupt

I think this is a good & simple fix.
Slightly off-topic, but in the realm of clean quitting, I had my caps locked yesterday and capitalized Q does not trigger quit. that seems like an easy thing to add as well?

sure, sgtm
On Tue, Apr 6, 2021 at 4:22 PM Johannes Becker @.***>
wrote:

I think this is a good & simple fix.
Slightly off-topic, but in the realm of clean quitting, I had my caps
locked yesterday and capitalized Q does not trigger quit. that seems like
an easy thing to add as well?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ericaltendorf/plotman/pull/76#issuecomment-814495364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPZIFWMR2ADGGUM4MHID23THOJSFANCNFSM42JZCTAQ
.

So, we want this as-is as an improvement without addressing less-likely cases?  I think I saw a ctrl+c hit not-here, though there's good odds it will.  I hadn't looked at the rest of the code to get better coverage.  Maybe a real fix would look like a SIGINT handler setting a global variable that we check 'occasionally' and trigger a quit.  Need to make sure a second one still allows for a normal uncontrolled failout.

Honestly I've never worked with curses so I'm not sure if a SIGINT could be captured and not properly handled in there somewhere? No experience. We could add the current code because it's fairly simple and should have no side-effects otherwise, and if it turns out that in some places ctr-c still doesn't get captured, we can expand using a more complex/comprehensive construct?

@jkbecker, I forget the details of how GitHub handles this...  Are you able to submit an approving review?

@altendky I'm not being shown any way to act as a reviewer here. Maybe I need to be added to the project and/or tagged in the PR as a reviewer somehow?
I'm seeing this on the side and all I can do is comment:

I think you can do it over on the Files changed 'tab'.


Sign the user in only if email verification is not required

Usually, when a user is required to be verified he/she should not be logged in automatically since we need to be sure that the user's email belongs to the right user.
In my website, the user receives an email verification and is redirected to the home page where a flash message is shown, that says that verification is required (with an email resend link). However, the user sees that the login menu is changed from "Login | Register" to "Profile | Logout". Even if I make additional checks and not show this menu, the user is still not allowed to use the platform anyway if he/she is not verified, so this is unnecessary check.
If the user tries to go to a page where a login is required by manually typing it, he/she will be redirected to the verification notice page, which is redundant, since it tells the user that he/she can't use the system. This is the same as being not logged in - the user doesn't have access to the system.
We can make that configurable.

This feels like it should be behind config or something rather than hard coding one way or the other.
There are times where you would still want someone to be able to log in, but then have to verify email to access certain parts of the site.
also not really sure why you are force pushing.

Actually, I've changed it. I think it is better to put a login method, instead of hard coding it. This way we can extend the login method and just do nothing if the user's verification must pass, before anything else.
As for the force push, I was fixing the code to pass the CI checks and didn't want to do additional commits. Should I just push, without force?

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Hi dear devs, there is an annoying problem about the esc key.

Describe the feature you'd like to improve in Pock
Bigger esc key valid touch area, cover the most left side area where is not able to place your widget.
Please let the 'esc' key's valid touch space cover all the left side corner, but the key itself stay the same size, just like the original touch bar's 'esc' key. I believe that would make it much easier to press the esc key on the touch bar.
Describe alternatives you've considered
Bigger esc key. Or place it at the most left space.
Additional context
Pock is a fantastic app. But this problem is really annoying. Hope you could notice this request and hope you are doing well. Much appreciated!

I have been meaning to report this too. The original touch bar has a larger esc area that spans beyond the virtual esc button on the left.

This is indeed extremely annoying. I have to press my escape key twice whenever Pock is active because I keep hitting outside its range, as I'm used to the normal key's range.


runFullTrust configuration

:speech_balloon: Description
There is a restriction when uploading the MSIX file to Microsoft Store saying runFullTrust is requested and demands a description to be shown to users and requires approval. It would be great if an option would be added to cover it. There may be some impossibility due to win32 nature of Flutter Windows builds. I'm not sure about it. As I saw in source codes the "runFullTrust" capability will be added in any condition to the MSIX config file. The first idea is to remove it by an option.
:question: Platform
Windows

https://github.com/YehudaKremer/msix/issues/110

PerMonitorV2

This is my runner.exe.manifest file so where in the file should I add capabilities? And how to add (if description to be added)


Tests

feat: exclude models in testing and add logging for coverage to phpun… …
fix: add reason to rejected conversion
test: improve tests for bundle, full coverage

Just a reminder that this still needs to be approved, if everything is A okay!


cmake out of source doc build support

I ended up copying the python config scripts for sphinx to support out of source builds.  After we move to cmake, the other set can be removed along with the support scripts that perform the same tasks that the cmake files do.  This could also probably do with some refactoring at some point and have the substituted config in a single module that the other files import, but this way stays as close as possible to the existing scripts for now.
Fixes  #10238

[approve ci]

[approve ci]

[approve ci]
[approve ci]

[approve ci]

[approve ci]

[approve ci]


Try to go though all tracking mappings and handle all of all which are matched

That would be great to move second part of matchedGroup.handler back to the matcher module


Fix: Dockerfile

Description
This PR attempts to fix the Dockerfile which currently doesn't build due to lack of libwasmvm.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@rbajollari can I get some eyes here? I think this needs to be pointed at the umee branch

@rbajollari can I get some eyes here? I think this needs to be pointed at the umee branch

Yeah this change is already in the umee branch because libwasm is a requirement for Umee. This doesn't need to be put into main since libwasm isn't required on Ojo.

@rbajollari can I get some eyes here? I think this needs to be pointed at the umee branch

Yeah this change is already in the umee branch because libwasm is a requirement for Umee. This doesn't need to be put into main since libwasm isn't required on Ojo.

It does require it or it won't build.

@rbajollari can I get some eyes here? I think this needs to be pointed at the umee branch

Yeah this change is already in the umee branch because libwasm is a requirement for Umee. This doesn't need to be put into main since libwasm isn't required on Ojo.

It does require it or it won't build.

Are you running make docker-build on the main branch?

@rbajollari can I get some eyes here? I think this needs to be pointed at the umee branch

Yeah this change is already in the umee branch because libwasm is a requirement for Umee. This doesn't need to be put into main since libwasm isn't required on Ojo.

It does require it or it won't build.

Are you running make docker-build on the main branch?

Yup and it complains about libwasmvm being missing, Hence the PR.


merge package from arlac77/npm-package-template

package.json

chore(package): update<EMAIL_ADDRESS>from template

:tada: This PR is included in version 1.0.9 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Export feature maturity

APIM-CLI version
1.14.3
API-Management version
7.7.20231130
Question
Hi,
we are looking to add a tag to all the APIs we currently have, they are in between 0-500 APIs and many of them were created in API management manually, others using the export/import method, and others using apim-cli.
These APIs are also very heterogenous in what features they are. For example, they might be relying in the advanced properties of the FE outbound screen, that allows to customize how the request is forwarded to a backend by maybe for some methods it might be sending the request to a different Backend API contract.
Also they might have security profiles, or nested resources.
Would it be possible to use APIM-CLI for adding a tag to existing API? is that recommended?
And if so, is it the only option to EXPORT the config first, adding the file, and then IMPORT it back? we are aware it basically removes and creates it back using whatever is in the config file. So, the follow up question is how mature is the EXPORT step?
I have not been using the apim-cli since a while, and in my own experience there were open issues regarding the EXPORT step (see https://github.com/Axway-API-Management-Plus/apim-cli/issues/59). Is there a list of known issues related to the EXPORT step that we could use to build mitigations around them (ie. not using apim-cli for these APIs and do the change manually)
Thanks

Hi @emmanuel-galindo,
Export steps used by a lot of customers.  APIM CLI treat everything as code. For your use case, as you mentioned we need export API, add it to git, add tags and import it again. The code available in git will be a source of truth.  The git project will be used to promote the code to higher environments.
We are not planning to fix the issue https://github.com/Axway-API-Management-Plus/apim-cli/issues/59 as it too complex to implement and not widely used.
Thanks
Rathna

Hi @rathnapandi
Of course I am aware of #59 but my question is other:
Apart from that one, what are the other known limitations from apim-cli export step should we consider?
Thanks

There are no known limitations apart from the issues available on github issues. If you run into anything, please create github issue.

Hi,
how can I get the list of github issues you mention? because taking for example #59 it is closed, and you confirmed it is a known limitation.
We just need to know that, to avoid breaking stuff in prod.
FYI, we just need to add a tag to existing APIs.. and we have been working for weeks on this :(
thanks

Hi @rathnapandi , but in that list it does not appear #59 ..
can you confirm that all known issues are:

open issues
label:stale
#59

thanks

HI @emmanuel-galindo,
Check line item 3 in the image.


Make sure to publish MSBuild artifacts for all the build configurations in TeamCity

cc @mikeharder

Given the current build system, this particular issue isn't needed.


Trapping rainwater

💥 Proposal
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.
I am a GSSOC participant and want to implement it in java.
Have you read the Contributing Guidelines on Pull Requests?
Yes

Please assign this issue to me.

/assign


Improving performance in the loops

forEach loop is 30% slover than regular for loop, that's why I purpose using regular for loops instead of forEach
https://jsperf.com/foreach-vs-loop/43

LGTM, this is probably relevant when we're trying to squeeze out React performance and make the argument that using global hooks are better than contexts.

Note #11 PR does this as well. Yes this is more atomic, but why not I thought I'd give it a shot.

@BigLes
Thank you for this.
I am sorry for get so long to reply.
Thank you also @nmccready
I will be soon reviewing yours PRs too.


Updates for TF 0.9

You can theoretically remove the script, but you can't interpolate variables when setting up the backend, so I stuck with a script.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Does the  VPC Terraform module with with 0.9? This PR looks good, but we should time it with the update of the VPC module (if any)

it actually works just fine with these changes only

Sweet!


aggregate failed when not using id as primary key

I use 'cid' as primary key instead of id, then use aggregate to  get its renting phases.
But I got the empty renting phases. Did I do something wrong?

rom 3.0.1
rom-sql 1.0.1
rom-repository 1.0.1

module Relations
  class Contracts < ROM::Relation[:sql]
    schema :contracts do
      attribute :cid, Types::String
      attribute :start_date, Types::Date
      attribute :end_date, Types::Date

      primary_key :cid

      associations do
        has_many :renting_phases
      end

    end
  end
end

module Relations
  class RentingPhases < ROM::Relation[:sql]
    schema :renting_phases do
      attribute :contract_id, Types::String
      attribute :start_date, Types::Date
      attribute :end_date, Types::Date

      associations do
        belongs_to :contract, foreigen_key: :contract_id
      end
    end
  end
end

class ContractRepo < ROM::Repository[:contracts]
  relations :renting_phases
end

config = ROM::Configuration.new(:sql, 'sqlite:///home/store/test.db' )

config.register_relation(Relations::Contracts)
config.register_relation(Relations::RentingPhases)

rom = ROM.container(config)

contract_repo = ContractRepo.new(rom)
contract_repo.aggregate(:renting_phases).one
# #<ROM::Struct[Contract] cid="223" start_date=#<Date: 2017-03-06 ((2457819j,0s,0n),+0s,2299161j)> end_date=#<Date: 2017-12-06 ((2458094j,0s,0n),+0s,2299161j)> renting_phases=[]>

Actually the contract has two renting phases in db, but it empty.

You have a typo foreigen_key => foreign_key

oh, sorry typo wrong word(^_^).  It did not work  after typing foreign_key.

Ah, you need to specify it on the contracts' side, so has_many :renting_phases, foreign_key: :contract_id

I reinstalled gems,  both styles of writing works.
Thank you so much for helping me.
#contracts
associations do
  has_many :renting_phases, foreign_key: :contract_id
end

# RentingPhases
associations do
  belongs_to :contract
end

#contracts
associations do
  has_many :renting_phases
end

# RentingPhases
associations do
  belongs_to :contract, foreign_key: :contract_id
end

OK cool, closing then :)


AJZ Chemnitz on CGD

Link doesn't lead directly to doc

Done. They had update their doc and therefore link.


Updating the CMake structure, adding cross-compiling toolchains

This commit patches the CMake with major updates in the FindComputeCpp module as well as adding cross-compiling toolchains. One major cmake argument change is that ComputeCpp_DIR is used now instead of COMPUTECPP_PACKAGE_ROOT_DIR.

Overall looks great! 👍 few minor comments inline.


Remove the Send bound on the output type of RemoteHandle.

Currently Future is only implemented for RemoteHandle<T> if T: Send + 'static
I think these bounds don't do anything useful, yet disable valid use cases
of the API. The compiler doesn't require them and I can find no good reason
for them to be there.
In particular if output is not Send, nor will the Remote or the RemoteHandle.
Nothing can move to other threads, and if the future panics, the thread will unwind.
Seems completely valid to allow that.
As for 'static, I find it harder to imagine what all the possible consequences
might be, but I think it has no reason for being there. I feel less confident
to propose a PR to remove it than for Send, so I left it for now.
If others agree that it's fine to remove it I can update the PR.
The risk is that if ever I'm mistaken and we need to re-add the bounds later, that
would be a breaking change.

Thanks for the PR! It took me a minute to evaluate, but I don't see a reason why this bound would be required. I'm guessing it might've been a holdover from a previous iteration which expected to be spawning the remote handle onto a task that could run on another thread.

thanks. yes in some before refactor versions, the future itself was required Send + 'static. I suspect the code was not fully evaluated during refactoring.


Skip cover for _flow interfaces and only run npm cover as needed

The travis tests were building coverage for every node version even though we only need the coverage for one version.

Coverage increased (+0.4%) to 99.202% when pulling b9737ba5d484043230cf344f1993afabf9f5e766 on fix_cover into 178dddf3b3f850bc54df91864ea03bf6f703c883 on master.