Option to Disable Prismic Toolbar and Preview

I don't really need to use the Preview feature on the small 1-page I'm building. I also really don't care to use Prismic's Toolbar feature for in-site editing.
It would be great to be able to fully disable these features, such that the associated javascript is not included/downloaded when visitors hit the page. If I hit my page in private browser tab (ie: not signed into Prismic), it seems to download quite a bit of JS that is not required to simply display my content, including jQuery 2.1.1.
I've tried disabling preview in nuxt.config.js, but it doesn't seem to have any effect:
modules: [
['prismic-nuxt', {
endpoint: 'https://XXX.cdn.prismic.io/api/v2',
preview: false,
components: false,
deferLoad: true,
linkResolver: function(doc, ctx) {
return '/'
}
}]
]

Hi @jeffhunt00
This will be fixed with the v1

V1 is out :)

Sorry to reopen this but how does one disable the toolbar? I have preview: false in nuxt.config.js but the toolbar is still being rendered

How's going now? What's the solution here?

Hi @zjhiphop, if you want to disable Prismic Toolbar and Preview provided by this module you should be able to do so by specifying preview: false in your module options, script won't be injected. Let me know how it goes!

In Nuxt 3, using     "@nuxtjs/prismic": "^3.1.0",
You can do the following in nuxt.config.ts
  prismic: {
    endpoint: prismicRepoEndpoint,
    preview: false,
    toolbar: false,
  },


Please migrate from lib/pq to pgx

https://github.com/cloudprober/cloudprober/blob/master/surfacers/postgres/postgres.go uses lib/pq, which is effectively abandoned in favour of https://github.com/jackc/pgx - should be a simple migration, just change the library and driver name passed to sql.Open.

This is done: #305.


version-related problems of solc compiler

Hi, @b-mueller ! sorry to bother you again. :)
I did lots of tests in a couple of days and I have a interesting discover about Mythril. I wanna propose my question that Is there the most appropriate solidity version of contract for Mythril now?
first, here is my environment :
solc Version: 0.4.23+commit.124ca40d.Linux.g++
Python 3.5
Ubuntu 16.04.9
Mythril 0.16.23 or 0.16.24 (cause I downloaded Mythril 7 days ago)
second, the situation is when I analyse smart contracts which downloaded from Etherscan, I found most of the contracts i could get the report without exception thrown. However, when i came to some contracts whose version is “pragma solidity ^0.4.23”, there are some, to some extent,  identical exception thrown.  Obviously, i did't have the exception thrown when i test the contract whose version is below 0.4.23. Although there is the possibility that i haven't utilized enough samples yet. I mean i can't make sure there is always no problem with those contracts. :)
Then, here are 3 of them:
tuhongxin@ubuntu:~/mythril/mythril/lasttest$ myth -x 7.sol
Traceback (most recent call last):
File "/home/tuhongxin/.local/bin/myth", line 417, in
issues = fire_lasers(sym)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/security.py", line 20, in fire_lasers
issues += module.execute(statespace)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/modules/exceptions.py", line 31, in execute
model = solver.get_model(node.constraints)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/solver.py", line 12, in get_model
if (s.check() == sat):
File "/home/tuhongxin/.local/lib/python3.5/site-packages/z3/z3.py", line 6182, in check
r = Z3_solver_check_assumptions(self.ctx.ref(), self.solver, num, _assumptions)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/z3/z3core.py", line 4142, in Z3_solver_check_assumptions
raise Z3Exception(lib().Z3_get_error_msg(a0, err))
z3.z3types.Z3Exception: b'out of memory'
tuhongxin@ubuntu:~/mythril/mythril/lasttest$ myth -x 2.sol
^CTraceback (most recent call last):
File "/home/tuhongxin/.local/bin/myth", line 417, in
issues = fire_lasers(sym)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/security.py", line 20, in fire_lasers
issues += module.execute(statespace)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/modules/integer.py", line 35, in execute
issues += _check_integer_overflow(statespace, state, node)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/modules/integer.py", line 79, in _check_integer_overflow
model = _try_constraints(node.constraints, [constraint])
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/modules/integer.py", line 135, in _try_constraints
model = solver.get_model(_constraints)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/solver.py", line 12, in get_model
if (s.check() == sat):
File "/home/tuhongxin/.local/lib/python3.5/site-packages/z3/z3.py", line 6182, in check
r = Z3_solver_check_assumptions(self.ctx.ref(), self.solver, num, _assumptions)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/z3/z3core.py", line 4139, in Z3_solver_check_assumptions
r = lib().Z3_solver_check_assumptions(a0, a1, a2, a3)
tuhongxin@ubuntu:~/mythril/mythril/lasttest$ myth -x Hot.sol
^CTraceback (most recent call last):
File "/home/tuhongxin/.local/bin/myth", line 417, in
issues = fire_lasers(sym)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/security.py", line 20, in fire_lasers
issues += module.execute(statespace)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/modules/integer.py", line 35, in execute
issues += _check_integer_overflow(statespace, state, node)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/modules/integer.py", line 79, in _check_integer_overflow
model = _try_constraints(node.constraints, [constraint])
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/modules/integer.py", line 135, in _try_constraints
model = solver.get_model(_constraints)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/mythril/analysis/solver.py", line 10, in get_model
s.add(constraint)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/z3/z3.py", line 6099, in add
self.assert_exprs(*args)
File "/home/tuhongxin/.local/lib/python3.5/site-packages/z3/z3.py", line 6088, in assert_exprs
Z3_solver_assert(self.ctx.ref(), self.solver, arg.as_ast())
File "/home/tuhongxin/.local/lib/python3.5/site-packages/z3/z3core.py", line 4113, in Z3_solver_assert
lib().Z3_solver_assert(a0, a1, a2)
Finally, I downloaded the three samples from etherscan.  Their names are "COE"/"FARTv3"/"Hot". Two of which i get from the url "https://etherscan.io/contractsVerified/1".
Thanks for reading!

My results with 0.17.12:
$ myth -x fart.sol
The analysis was completed successfully. No issues were detected.
$ myth -x coe.sol
==== Exception state ====
Type: Informational
Contract: Target
Function name: setTokenAndRate(uint256,uint256)
PC address: 4245
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: coe.sol:273

costPerToken[maxTier]

--------------------

==== Exception state ====
Type: Informational
Contract: Target
Function name: setTokenAndRate(uint256,uint256)
PC address: 4213
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: coe.sol:272

tierTokens[maxTier]

--------------------

==== Exception state ====
Type: Informational
Contract: Target
Function name: balanceInTier()
PC address: 7788
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: coe.sol:186

tierTokens[tierLevel]

--------------------

==== Message call to external contract ====
Type: Warning
Contract: Target
Function name: handleTokensFromOtherContracts(address,address,uint256)
PC address: 4589
This contract executes a message call to an address provided as a function argument. Generally, it is not recommended to call user-supplied addresses using Solidity's call() construct. Note that attackers might leverage reentrancy attacks to exploit race conditions or manipulate this contract's state.
--------------------
In file: coe.sol:256

t.transfer(_recipient, _tokens)

--------------------

==== Integer Overflow  ====
Type: Warning
Contract: Target
Function name: setTokenAndRate(uint256,uint256)
PC address: 4191
A possible integer overflow exists in the function `setTokenAndRate(uint256,uint256)`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: coe.sol:271

maxTier++

--------------------

==== Integer Overflow  ====
Type: Warning
Contract: Target
Function name: transfer(address,uint256)
PC address: 2551
A possible integer overflow exists in the function `transfer(address,uint256)`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: coe.sol:316

a + b

--------------------

==== Transaction order dependence ====
Type: Warning
Contract: Target
Function name: withdrawDevFees()
PC address: 3799
A possible transaction order independence vulnerability exists in function withdrawDevFees(). The value or direction of the call statement is determined from a tainted storage location
--------------------
In file: coe.sol:214

devFeesAddr.transfer(devFees)

--------------------

For COE the analysis takes several minutes with the majority of the time spent on integer analysis. Same with Hot, here I got it to finish with --max-depth 8:
$ myth -x hot.sol --max-depth 8
==== Exception state ====
Type: Informational
Contract: Hot
Function name: _function_0x34461067
PC address: 762
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: hot.sol:17

Record[] public records

--------------------

==== Exception state ====
Type: Informational
Contract: Hot
Function name: createRecord(string,string)
PC address: 2465
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: hot.sol:63

string_rep[i]

--------------------

==== Exception state ====
Type: Informational
Contract: Hot
Function name: createRecord(string,string)
PC address: 2901
A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that `assert()` should only be used to check invariants. Use `require()` for regular input checking.
--------------------
In file: hot.sol:67

string_rep[i]

--------------------

==== Integer Overflow  ====
Type: Warning
Contract: Hot
Function name: updateRecordName(uint256,string)
PC address: 491
A possible integer overflow exists in the function `updateRecordName(uint256,string)`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: hot.sol:32

function updateRecordName(uint _id, string _name) external onlyOwner {
        require(_utfStringLength(_name) <= 20);
        require(_id < records.length);
        records[_id].name = _name;
    }

--------------------

==== Integer Overflow  ====
Type: Warning
Contract: Hot
Function name: createRecord(string,string)
PC address: 624
A possible integer overflow exists in the function `createRecord(string,string)`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: hot.sol:38

function createRecord (string _name, string _link) external payable {
        require(msg.value >= 0.001 ether);
        require(_utfStringLength(_name) <= 20);
        require(_utfStringLength(_link) <= 50);
        records.push(Record(records.length,msg.value, _name, _link));
        emit CreateEvent(records.length-1, msg.value, _name, _link);
    }

--------------------

==== Integer Overflow  ====
Type: Warning
Contract: Hot
Function name: supportRecord(uint256)
PC address: 2281
A possible integer overflow exists in the function `supportRecord(uint256)`.
The addition or multiplication may result in a value higher than the maximum representable integer.
--------------------
In file: hot.sol:49

records[_index].bid += msg.value

--------------------

With --max-depth 10 the integer module runs very long (I ctrl+c-ed after a few minutes.
@JoranHonig these might be good samples for testing performance improvements.

P.s. I think the original issue is solved with the latest Mythril, at least I don't get any errors. @KennyFood, does it work for you with Mythril v0.17.12?
I'm moving the above results to a new issue.

Closing this issue due to inactivity
@KennyFood feel free to reopen if you find that the fix did not work for you

I'm so sorry I missed the reminder! I have updated Mythril and the new version works! Thanks a lot @JoranHonig  @b-mueller . I feel very much for your support!


Remove Cancelled Orders from Main Contract

Once a Order is in Status Cancelled, It can be removed from the base contract to save storage.
Order can be fetched later via archival nodes but since order is cancelled it won't be in any active process and can be deleted from the base contract.

[ ] Remove Cancelled Order from Marketplace Contract
[ ] Sanitary Checks

This is non important issue as to keep records of cancelled it important.


Feature/headless

This is the headless browser that can be used to generate pictures/pdfs given an html string.
It's meant only to be access by the api never public exposed.
I am unsure how to deal with the deployments. cc @dominiek / @beatlevic
I have exposed an endpoint called /check-status which check how many pages is currently open, if the number is high something might be wrong. I am considering if this a metric we want to track with open telementry ?
Some problems/questions

Is headless a good name, i prefer it over convert-html
Its unlucky that we have to duplicate the middleware, but not the end of the world.
Its unlucky that we have to add quite a few packages for linting/prettier + settings files

Let me know if there any bright ideas

This one seems like a prime candidate to be incorporated into our bedrock plugins command... Or maybe even going further would it be possible to set up a public bedrock docker repo and be able to just fire up an instance of one of these "helper service" containers?? Is that even a thing we could do? or even both somehow...
@dominiek what do you think...

Hmmm yeah I am thinking we should not have this in the core repository. But rather have this as a public docker container similar to how we do the backup sub systems.
Headless is not the right name for this, let's try to make it more clear. We're sending HTML and getting back a PDF or an image right?
So we could call it any of these:

html-to-image
render-html
rasterize-html
export-html

?

yeah totally onboard, doesn't make sense here, where can i move it to, do we have repo for public images ?
i like export-html

export-html it is

Its now available in dockerhub https://hub.docker.com/repository/docker/bedrockio/export-html/tags?page=1&ordering=last_updated


Startup error handling

Ensure errors on startup are handled, and that users are given friendly messages for common ones, like needing to unblock the download zip.

Moved: https://github.com/evandixon/SkyEditor.UI.WPF/issues/7


Add gentx finalbits

Please make sure your node is up and running now. Join #validators on Discord for help: https://discord.gg/QeJWCrE.


install.zsh failing due alias substitution sourced from .zshrc

Issue
install.zsh is failing after picking up an alias from sourcing the .zshrc file.
For me it was the alias of cp to cp -i by the common-aliases oh-my-zsh plugin.
Failed with this output:
SPACESHIP: Copying /tmp/spaceship.zsh.asRQV0 to ${HOME}/.oh-my-zsh/custom/themes/spaceship.zsh-theme...
overwrite ${HOME}/.oh-my-zsh/custom/themes/spaceship.zsh-theme? (y/n [n]) not overwritten

Changing cp -f "$SPACESHIP" "$DIST" in install.zsh
to \cp -f "$SPACESHIP" "$DIST"
or command cp -f "$SPACESHIP" "$DIST"
would resolve this specific by suppressing the alias substitution for cp.
More than willing to help with a PR, but a little guidance would be appreciated on a few paths:

User error, don't substitute such a common shell command
Use a fix as outlined above to resolve only cp issues tied to thecommon-aliases plugin
Safeguard all install.zsh commands against substitution
Find a better way to extract what is needed from the .zshrc file that minimizes any interference with the install script

Environment
Operating system: macOS
Terminal emulator: iTerm
ZSH version: 5.4.1

Safeguard all install.zsh commands against substitution

I wish there was a nice way to do this. For vimscript, we have normal! (execute the following commands, but don't use any user-defined mappings). The analog in zsh (bash & sh too) is to prefix all commands with "\" (e.g. cp foo bar ➡ \cp foo bar). This makes for pretty ugly code IMO.
Looks like we're sourcing OMZ, but this might not be necessary anymore after #147.

#147 (and 3.0 overall) looks like a nice improvement.  I don't see anything in 3.0/install.zsh that would depend on a .zshrc sourced item... but it also removes usage of cp so it solves this acute issue 😄  I'll sit tight for the 3.0 release.

@zvanmeter @nfischer install.zsh will be completely rewritten in v3.0. Since we drop OMZ dependency we don't need to copy Spaceship to $ZSH_CUSTOM anymore.
Also, the installation will be working using Git instead of copying.

Fixed by #147 and #148


Session.save not working as expected

I'm trying to setup the following integration test:
@Test
public void shouldAllowPagingAndSortingWithCustomQueries() {
    Movie movie = new Movie();
    movie.setTitle("Pulp Fiction");

    Movie movie2 = new Movie();
    movie2.setTitle("Look Who's Talking");

    Movie movie3 = new Movie();
    movie3.setTitle("The big John Travolta Party");

    Actor actor = new Actor("John Travolta");
    actor.playedIn(movie, "Vincent");
    actor.playedIn(movie2,"James");

    // I tried manually insert the alphabet as well.
    for(int i = 65; i <= 90; i++) {
        String letter = new String(new char[]{(char) i});
        actor.playedIn(movie3,letter);
    }

    System.out.println("--------------DEBUG----------");
    System.out.println(movie3.getRoles().size());   // 26, as expected
    System.out.println(actor.getRoles().size());     // 28, as expected

    session.save(movie);
    session.save(movie2);
    session.save(movie3);
    session.save(actor);

    SortOrder sortOrder = new SortOrder(); // I tried it with this commented out as well.
    sortOrder.add("role");
    Map<String,Object> parameters = new HashMap<>();
    Iterable<Role> loadedActors = session.query(Role.class, "MATCH (a:Actor)-[r:ACTS_IN]->(m) RETURN r",parameters,sortOrder);

    List<Role> result = new ArrayList<>();
    for(Role role : loadedActors) {
        System.out.println(role.getRole()); // only 6 roles get printed out.
        result.add(role);
    }
    //...
}

The problem is, that only 4 roles of movie 3 get inserted into the database at random. E.g my last run gave me the following printout
B
D
F
James
Vincent
Z

James and Vincent are always in the list.

The problem only appears to occur with object references backed by RelationshipEntities. This bug and https://jira.spring.io/browse/DATAGRAPH-651 are probably related. We're currently investigating.

Moved to https://jira.spring.io/browse/DATAGRAPH-660 and resolved.


Linking this package links all other packages in react-native 0.55.4

when i run this command
react-native link @estimote/react-native-proximity

all other packages are linked instead of linking this specific package. this doesn't occur in newer versions of react native. how can i link this package in react-native:0.55.4?

I'm not entirely surely what you mean, but it sounds like a problem with react-native link. Maybe there was some bug in an older version of React? I think there used to be some problems with the @ sign.
For what it's worth though, I tried it and it worked for me:
$ react-native init LinkTestFiveFiveFour --version<EMAIL_ADDRESS>...
$ cd LinkTestFiveFiveFour/
$ yarn add @estimote/react-native-proximity
...
$ react-native link @estimote/react-native-proximity
Scanning folders for symlinks in /Users/piotr/Downloads/LinkTestFiveFiveFour/node_modules (10ms)
rnpm-install info Linking @estimote/react-native-proximity ios dependency
rnpm-install info Platform 'ios' module @estimote/react-native-proximity has been successfully linked
rnpm-install info Linking @estimote/react-native-proximity android dependency
rnpm-install info Platform 'android' module @estimote/react-native-proximity has been successfully linked

Here's the diff before the link and after the link, in case you want to manually recreate what link does:
https://gist.github.com/heypiotr/bb6d55233c225fc7ec069e7098d531bd

D:\Projects\clap>react-native link @estimote/react-native-proximity
Scanning folders for symlinks in D:\Projects\clap\node_modules (16ms)
rnpm-install info Platform 'ios' module @estimote/react-native-proximity is already linked
rnpm-install info Linking @estimote/react-native-proximity android dependency
rnpm-install info Platform 'android' module @estimote/react-native-proximity has been successfully linked
rnpm-install info Platform 'ios' module instabug-reactnative is already linked
rnpm-install info Linking instabug-reactnative android dependency
rnpm-install info Platform 'android' module instabug-reactnative has been successfully linked
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: spawn ruby ENOENT
    at _errnoException (util.js:1022:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
    at onErrorNT (internal/child_process.js:372:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    at Function.Module.runMain (module.js:695:11)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

In the above logs you can see that instabug-reactnative is also getting linked along with this package

Yea, I don't understand why it's trying to link instabug-reactnative when you told it to link the @estimote/react-native-proximity. But all in all, it looks like the Estimote plugin got linked correctly and you can start using it. If you also want to resolve the problem with linking instabug-reactnative, maybe this issue will help: https://github.com/Instabug/Instabug-React-Native/issues/249


solved issue #156 spiral matrix

Address #156

hi @ritikbanger it says excluded in my hacktoberfest profile for this pr is there something I'd have to do

Don't Forget to star this repository!

hi @ritikbanger it says excluded in my hacktoberfest profile for this pr is there something I'd have to do

It is due to so many spammy PRs


tilt: 0.33.10 -> 0.33.12

Description of changes
Updates Tilt from version 0.33.10 to 0.33.12.
This PR also introduces an alternative to fetchYarnDeps to build the yarn offline cache. This is required because of the issue at https://github.com/NixOS/nixpkgs/issues/254369 and the fix introduced was inspired by the approach in the comment at https://github.com/NixOS/nixpkgs/issues/277697#issuecomment-1922445558 by @Eisfunke
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

I get a hash mismatch when building yarn-deps. I don't think this is portable between systems unfortunately.

I get a hash mismatch when building yarn-deps on aarch64-darwin. I don't think this is reproducible between systems unfortunately.

I just got my hands on a Mac system today. Will test and see if I can figure out how to fix.


Bump some crate dependencies

Signed-off-by: Sean Young<EMAIL_ADDRESS>

Sorry for pushing after requesting a review, I had missed a file.


A temporary API for disabling play/pause via the space key

The API works like this:
// disabled playback via the spacebar key
studio.__experimental.__experimental_disblePlayPauseKeyboardShortcut()
// re-enables it
studio.__experimental.__experimental_enablePlayPauseKeyboardShortcut()

Use-case: https://discord.com/channels/870988717190426644/870988717190426647/1067906775602430062

Published<EMAIL_ADDRESS>Published<EMAIL_ADDRESS>Published<EMAIL_ADDRESS>Published<EMAIL_ADDRESS>Published<EMAIL_ADDRESS>Published<EMAIL_ADDRESS>Published<EMAIL_ADDRESS>

Yes I need this!

Alright this one is merged. It won't be in the docs, but you can find it in the type definitions.


Missing Files.

I tried implementing the the custom slider but facing typescript issue as shown below:

Also, in the tutorial a file StreamlitReact.tsx is mentioned but it is not present in the github repository. Refer the below screenshot.

Where can I download that file from?

Hi @FatemaD1577

facing typescript issue as shown below:

hmmm that's odd, is that coming from your code? It does not look like it..try reinstalling the npm packages npm install baseui styletron-engine-atomic styletron-react @types/styletron-standard @types/styletron-react @types/styletron-engine-atomic from the root of the frontend folder, maybe you are missing new typings which were added?

Also, in the tutorial a file StreamlitReact.tsx is mentioned but it is not present in the github repository. Refer the below screenshot.

Hmmm I thought I had removed all of those. StreamlitReact is now in its own npm package (it is streamlit-component-lib in the package.json file, the source code is https://github.com/streamlit/streamlit/blob/develop/component-lib/src/StreamlitReact.tsx) and you import  withStreamlitConnection with
import {
  ComponentProps,
  Streamlit,
  withStreamlitConnection,
} from "streamlit-component-lib"

see example in https://github.com/andfanilo/streamlit-lottie/blob/main/streamlit_lottie/frontend/src/StreamlitLottie.tsx
Good luck!
Fanilo

Hi @andfanilo,
Thanks for the prompt reply. I have not yet included my code but trying to implemented the the custom slider as it is given in the tutorial.
Thank you for clearing the doubt regarding the StreamlitReact.tsx file
I tried reinstalling the npm packages but still getting the same error.


where can I set a different Homematic Home ID?

According to public docs  the Homematic HM-ID is in the config file /usr/local/etc/config/rfd/BidCoS-RF.dev . In pivCCU this file does not exist. How or where can i modify my Home ID?

Which documentation is that? Google find for that file only some hits in the FHEM forum.
As far as I know, the id is set in /etc/config/ids in current CCU firmware versions.

THe one i read was https://wiki.fhem.de/wiki/HomeMatic
If i change the file you mention and reboot the pivCCU the ids file in /var still contains the original one. Is it auto generated?

In that docu is nowhere said, that you can change your id using the BidCoS-RF.dev file...
The /var/ids is generated on each boot using the current hardware values. The /etc/config/ids is inside a normal backup and remain unchanged if you change between CCUs. But I'm not sure, if this is the only file you have to change. But this is not a piVCCU issue, it is a Homematic CCU issue, piVCCU will behave exactly the same as the original CCU2 on this. Maybe you could ask for that in the (german speaking) homematic-forum.de

Danke, das werde ich machen. Gibt es einen anderen Weg, Dinge mit Ihnen zu diskutieren als einen Bug report zu öffnen?

Am besten im Homatic Forum, für reine piVCCU Sachen gibt es dort auch ein Unterforum.


Headers passing

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Type of changes
Please delete options that are not relevant.

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

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

@andyi2it : Can you please add some context to this PR or link and associated issue (that describes the problem) it is solving ?


Adds sequence helper function; closes #59

@ajm188 Looks good! My only comment is that you should add a documentation entry for sequence explaining what it does.

@evhub done, awaiting travis and your Approval :)

@ajm188 LGTM!


migrate routes file parsing to play-routes-compiler

Just putting this up to show progress. There are a few issues marked with TODO that need to be worked out and tested.

:+1:  please squash and merge.


OOCSS with BEM

Hi, is it works with BEM syntax - can you add some examples? :)
The BEM uses modifiers (--) and children (__) for object, so how to write documentation? :)

Yes, it works fine with BEM. Here's a styleguide using KSS with BEM:
http://scan.me/styleguide/statuses

@janiv thanks!
KSS looks really awesome, I have to try it. :)


Individual Planning Checkpoint - Vibha, Anusha, Avanthika

Past Progress (Group Kanban):
Frontend Kanban
Backend Kanban

Past/Current Work

Calendar Events Base Code
- Basic calendar_events table generation
Calendar Events Data Parsing
- Created Slack Message Template
- Iteration 1: Basic Data Parsing (Date to Date)
- Iteration 2: Add Date Ranges
- Iteration 3: Assignment prioritization/categorization

Created Assignment list in frontend (all code)

Updated: to add dates to the basic list later

Future Plans

Add admin requirements to Vibha's manual calendar event addition code
To main users table, allow direct linking to slack user account

Allow account linking in slack_messages table
Help with slack management settings (allow more personal features in the future)
Allow individual calendar additions to main calendar to be tracked easily + more future collaboration

Past/Current Work

Addition of API endpoints to calendar controller
Add endpoint was created to allow for update of events in both backend sqlite and frontend calendar

Testing for endpoint was done through through Postman and through ngrok (WIP)

Frontend design + backend integration for calendar
CSS consolidation into a single file for all calendar-related pages

Future Plans

AI-based parsing of Slack messages for categorization of tasks into categories/priorities
Automated deletion/modification of events from calendar when completed or when deadline has passed
Modification/addition of endpoints on calendar controller to include display of events during a certain time period


Network unreachable issue with Synaptics 20921 2-mic kit running AVS sample app on Raspberry Pi

Hi,
I am trying to run install shell script for Synaptics 2-mic AVS SDK and I get the following error on Raspberry Pi. I have run this app succesfully before however my wireless settings have changed . so, initially I thought this could be a problem . I fixed the settings and able to browse on the web browser on the Pi. But, the error still persists on the SDK? Appreciate any support to solve this problem ? All my device credentials must be correct since I am able to pass those steps in the execution.
[100%] Built target SampleApp
--2018-10-26 17:17:49-- https://www.amazontrust.com/repository/AmazonRootCA1.pem
Resolving www.amazontrust.com (www.amazontrust.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to www.amazontrust.com (www.amazontrust.com)|<IP_ADDRESS>|:443... failed: Network is unreachable.
Connecting to www.amazontrust.com (www.amazontrust.com)|<IP_ADDRESS>|:443... failed: Network is unreachable.
Connecting to www.amazontrust.com (www.amazontrust.com)|<IP_ADDRESS>|:443... failed: Network is unreachable.
Connecting to www.amazontrust.com (www.amazontrust.com)|<IP_ADDRESS>|:443... failed: Network is unreachable.
Thanks
Uday
OS:
Raspbian Stretch OS running on Pi
Tell us what hardware you're using:

Raspberry Pi
Synaptics DS20921 2-mic SDK for Raspberry Pi
Following the setup instructions here -
https://github.com/conexant/avs-device-sdk/wiki/2-Mic-Development-Kit-User-Guide

Thanks

Still the same error - Network Unreachable

Hello upisipati,
It sounds like the browser's cache may have fooled you in to thinking that your network connection is good.
What happens if you ping some other well known URL (e.g. w3c.org)?
You may also want to see if www.amazontrust.com is reachable from other devices on the same wifi network.  If it is not, the problem is probably not local to your Pi.
Best regards,
-SWH

Hi SWH,
I am able to get response for a  ping amazontrust from my windows PC. w3c.org gives me the same error on the pi.
Thanks

Hello upisipati,
It sounds like the network configuration on your Pi is broken.  I recommend searching the web for things like "pi network unreachable" to how others have diagnosed this kind of problem.
-SWH

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


Custom characteristics

Skill & characteristic combo are a great fit for more than just personal attributes. E.g. Status as characteristic and Money as skill let you reflect the buying power of a character without all the bean counting.
Would it be possible to extend the skillset schema to rename or add new base characteristics?

Are those reflected in StarWars, Genesys or another FFG source book.  While this is a great idea, we are not trying to implement the core functionality of the games first.

When you get to investigating it, https://www.drivethrurpg.com/product/345921/Wealth-A-Ruleset-for-Funds-and-Commerce-in-Genesys explores this idea.

Closing this since it will not be added in this system since it is not official rules.


Do not provide non-sensical symbol information for implicit 'this' parameter.

Fixes https://github.com/Microsoft/pxt/issues/4313.

FWIW I looked at the test cases that were passing.
The text,
./pxt/tests/decompile-test/cases/always_enums4.ts
does have an enum as the first arg to the instance method. I haven't verified this, but I suspect the difference in my case is that the value for the 'this' argument is a combined property and that goes down a different path nowadays for various reasons.
I still feel pretty good about my change.

@riknoll yup all passing. I hadn't expected the always_enums4 to pass PRIOR to my change :) But I think the 'regression' here with enums as parameters happened with support for combined props that then put the code down a different path.

Basically,

Before my change, enums as 1st parameter to instance method worked.
After combined props support enums to 1st parameter to instance method that had combined prop attributes didn't work.
After my change, enums as 1st parameter to instance method works whether or not it has combined property attributes.

(I think)


[SUPPORT]FLINK CDC WRITE HUDI, restart job get exception:org.apache.hudi.org.apache.avro.InvalidAvroMagicException: Not an Avro data file

FLINK CDC WRITE HUDI, restart job get exception:org.apache.hudi.org.apache.avro.InvalidAvroMagicException: Not an Avro data file
logs:
org.apache.flink.util.FlinkException: Global failure triggered by OperatorCoordinator for 'hoodie_stream_write' (operator f1d7c56f4bf5fc204e4401416e5b3884).
	at org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder$LazyInitializedCoordinatorContext.failJob(OperatorCoordinatorHolder.java:557)
	at org.apache.hudi.sink.StreamWriteOperatorCoordinator.lambda$start$0(StreamWriteOperatorCoordinator.java:170)
	at org.apache.hudi.sink.utils.NonThrownExecutor.lambda$execute$0(NonThrownExecutor.java:103)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.hudi.exception.HoodieException: Executor executes action [initialize instant ] error
	... 5 more
Caused by: org.apache.hudi.exception.HoodieIOException: Fetching rollback plan failed for [==>20211208144119644__rollback__REQUESTED]
	at org.apache.hudi.client.AbstractHoodieWriteClient.lambda$getPendingRollbackInfos$8(AbstractHoodieWriteClient.java:883)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at org.apache.hudi.client.AbstractHoodieWriteClient.getPendingRollbackInfos(AbstractHoodieWriteClient.java:886)
	at org.apache.hudi.client.AbstractHoodieWriteClient.rollbackFailedWrites(AbstractHoodieWriteClient.java:909)
	at org.apache.hudi.client.AbstractHoodieWriteClient.rollbackFailedWrites(AbstractHoodieWriteClient.java:899)
	at org.apache.hudi.client.AbstractHoodieWriteClient.lambda$startCommitWithTime$97cdbdca$1(AbstractHoodieWriteClient.java:785)
	at org.apache.hudi.common.util.CleanerUtils.rollbackFailedWrites(CleanerUtils.java:143)
	at org.apache.hudi.client.AbstractHoodieWriteClient.startCommitWithTime(AbstractHoodieWriteClient.java:784)
	at org.apache.hudi.client.AbstractHoodieWriteClient.startCommitWithTime(AbstractHoodieWriteClient.java:777)
	at org.apache.hudi.sink.StreamWriteOperatorCoordinator.startInstant(StreamWriteOperatorCoordinator.java:334)
	at org.apache.hudi.sink.StreamWriteOperatorCoordinator.lambda$initInstant$5(StreamWriteOperatorCoordinator.java:361)
	at org.apache.hudi.sink.utils.NonThrownExecutor.lambda$execute$0(NonThrownExecutor.java:93)
	... 3 more
Caused by: org.apache.hudi.org.apache.avro.InvalidAvroMagicException: Not an Avro data file
	at org.apache.hudi.org.apache.avro.file.DataFileReader.openReader(DataFileReader.java:56)
	at org.apache.hudi.common.table.timeline.TimelineMetadataUtils.deserializeAvroMetadata(TimelineMetadataUtils.java:183)
	at org.apache.hudi.table.action.rollback.RollbackUtils.getRollbackPlan(RollbackUtils.java:68)
	at org.apache.hudi.client.AbstractHoodieWriteClient.lambda$getPendingRollbackInfos$8(AbstractHoodieWriteClient.java:879)
	... 20 more

it seems like  some  0 byte files caused , i try delete this files, become normal , but next time i cancel , submit  job , this  problem appear again
can you help me . thks

I also encountered this problem. Is this a bug？

Can you try 0.10.0 please ? Seems has been fixed in the latest version.

Not an Avro data file

Is the release version 0.10 okay? I see there is also an exception of the 0.10 rc version here #4204

Then it is not fixed yet. Would fire a fix then ~

Fired a fix in https://github.com/apache/hudi/pull/4296

Then it is not fixed yet. Would fire a fix then ~

'hoodie.fail.on.timeline.archiving': 'false'
Can this setting avoid this error

No, archiving and rollback is different action.

cc @nsivabalan can you please look into this?

@wjcwin : Can you post the contents of .hoodie/. Is the rollback.requested meta file of interest is an empty file. I am trying to get a sense of why would an empty rollback.requested file will be created. Will look into the code and update here. Or if you know why this could occur, let me know.

Maybe here is the reason, the timeline only request the non-complete instant but the instant may be in inflight state,  which is empty, we must ensure that the file we request is in requested state.

@nsivabalan ;
@danny0405 ;
my application base on flink version:1.13.1  hudi-flink-bundle version:0.10.0 .
sorry, i have cleared this files, and i remove hive-exec-2.1.1.jar , flink-connector-hive_2.11-1.13.1.jar ,hive-metastore-2.1.1.jar  from FLINK_HOME/lib ,  this exception not happen again , maybe  some  Jar package conflict  caused this ,but i do not know why

No, it is not jar conflict, i have fixed it in https://github.com/apache/hudi/pull/4296, you can use the patch branch code here:
https://github.com/apache/hudi/pull/4287, the branch has several critical fix that may be useful to you.

@danny0405 ; nice


Fix a unit test error for Apple silicon

Summary
A unit test error occurs for test_admm_ex5_warm_start because the optimal solution is not unique and some algorithms behave in a differently on Apple silicon maybe due to blas stuff.
The optimization problem is as follows.
        v = mdl.binary_var(name="v")
        w = mdl.binary_var(name="w")
        t = mdl.binary_var(name="t")

        mdl.minimize(v + w + t)
        mdl.add_constraint(2 * v + 2 * w + t <= 3, "cons1")
        mdl.add_constraint(v + w + t >= 1, "cons2")
        mdl.add_constraint(v + w == 1, "cons3")

Due to symmetry of v and w, both [0, 1, 0] and [1, 0, 0] are optimal.
There are two options to fix this issue: 1) check two optimal solutions or 2) modify the problem to make v and w non-symmetry. This PR took the first option because the problem ex5 is cited from a paper.
Fixes #525
The result of test_admm.py on M1 is as follows.
this PR
..............
----------------------------------------------------------------------
Ran 14 tests in 6.516s

OK

main
.....F........
======================================================================
FAIL: test_admm_ex5_warm_start (test.algorithms.test_admm.TestADMMOptimizer)
Example 5 but with a warm start
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ima/tasks/3_2023/qiskit/opt/test/algorithms/test_admm.py", line 214, in test_admm_ex5_warm_start
    np.testing.assert_almost_equal([0.0, 1.0, 0.0], solution.x, 3)
  File<EMAIL_ADDRESS>line 79, in inner
    return func(*args, **kwds)
  File "/Users/ima/envs/dev310/lib/python3.10/site-packages/numpy/testing/_private/utils.py", line 521, in assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File<EMAIL_ADDRESS>line 79, in inner
    return func(*args, **kwds)
  File "/Users/ima/envs/dev310/lib/python3.10/site-packages/numpy/testing/_private/utils.py", line 1034, in assert_array_almost_equal
    assert_array_compare(compare, x, y, err_msg=err_msg, verbose=verbose,
  File<EMAIL_ADDRESS>line 79, in inner
    return func(*args, **kwds)
  File "/Users/ima/envs/dev310/lib/python3.10/site-packages/numpy/testing/_private/utils.py", line 797, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 3 decimals

Mismatched elements: 2 / 3 (66.7%)
Max absolute difference: 1.
Max relative difference: 1.
 x: array([0., 1., 0.])
 y: array([1., 0., 0.])

----------------------------------------------------------------------
Ran 14 tests in 6.317s

FAILED (failures=1)

Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4513

Relevant Lines:
4851

💛  - Coveralls


Add host operational events into MiqEventDefinition.

These events are missing from the DB as Host methods are checking policy prevention against these events.
Split from #4328.

@gmcculloug Please review

@gmcculloug ping - think this is low hanging fruit


Remove version: LuminanceHDR.LuminanceHDR version v.2.6.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/qtpfsgui/files/luminance/2.6.0/Luminance-HDR_v.2.6.0_Windows_64.exe/download
Status Code: 200
(Automated message - build 897)

Close with reason: Package still available.;


Bump RuboCop to 0.47.1

Compare: https://github.com/bbatsov/rubocop/compare/v0.46.0...v0.47.1
The change in the Dockerfile is motivated by this issue and it's
suggested workaround: https://github.com/sickill/rainbow/issues/48
I generated the docs outside of docker because the rake task doesn't
currently work inside docker. I think that's fine.

@wfleming Ah shoot, opened prematurely. Analysis errors in local QA. Will re-ping when I understand it better

@wfleming OK re-opened with the fix in a separate commit for reviewing convenience. Tests pass and local QA look good, so I think I'm going to just go forward with a squash and merge.

Seems fine if you're confident that internal change is tested/sufficiently QAed.

Cool. Going for it


Show alert on last view not first view

@zhjuncai added a fix that was needed in my situation. My alert would never show, switching from first to last it then would display. His commit added feature so I left that out as it created issues with my application crashing when no completetxt was provided, and the user touched outside the alert.
https://github.com/zhjuncai/SCLAlertView-Swift/commit/28c9135e61ce82e8a945dcce94f1259881b1cf51

@joseph-montanez thanks for pull request.


[wrt] Update tests in uxmanu for app tools support

Impacted TCs num(approved): New 0, Update 23, Delete 0
Unit test Platform: Android Crosswalk Canary 17.45.437.0
Android test result summary: Pass 23, Fail 0, Block 0
https://crosswalk-project.org/jira/browse/XWALK-5760
https://crosswalk-project.org/jira/browse/XWALK-5799
https://crosswalk-project.org/jira/browse/XWALK-5759
https://crosswalk-project.org/jira/browse/XWALK-5716

Close it due to duplication with https://github.com/crosswalk-project/crosswalk-test-suite/pull/3066


fix crd validation error in k8s v1.22

This PR aims to fix crd validation error in k8s v1.22.
Update file:

sparkoperator.k8s.io_sparkapplications.yaml
sparkoperator.k8s.io_scheduledsparkapplications.yaml

cc @shadowinlife @ringtail
It would be good if you have time to review this PR.


Added source code for 'Stone Game IV' In java

Related Issue
Closes: #1127
Describe the changes you've made
Added source code for 'Stone Game IV' In java
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
Java
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Please review my code.

Hi @Nivedita967
Please check my PR.


Use --cap-lints warnings to prevent unnecessary failures

Some crates like to put deny (warnings) in their crate root. This is fine for developing locally, but can cause docs.rs builds to fail since new lints may have been added in nightly. docs.rs can avoid these unnecessary build failures by passing --cap-lints warnings to cargo.
Example failure: https://docs.rs/crate/ring/0.16.11/builds/218514
See also: https://doc.rust-lang.org/rustc/lints/levels.html
I think the best way to do this would be to add --cap-lints to RUSTDOCFLAGS in execute_build.

I'm not sure if this is a good idea. --cap-lints does indeed ignore custom #[forbid(...)] or #[deny(...)], but it also ignores deny-by-default and forbid-by-default lints.

If we're building a crate, that means it's already been published to crates.io, which means that someone ran cargo publish successfully. So the only lints that will be failing are lints that were introduced in a newer version of rustdoc. I don't think it makes sense to fail builds for lints the authors didn't know about - maybe for crater that makes sense, but not for docs.rs.

Rebuilt ring: https://docs.rs/crate/ring/0.17.0-alpha.1. The non-alpha version was already working thanks to https://github.com/djc/ring/commit/27a8be5d9ef38b7c18b09a12b8a9af90d4040971.


LINK-2051 | hide instruction notifications from admin users

Description
Hide instruction notifications from admin users. Instead show tooltip instructions for them.
Note that it's intentional to display "Julkaisu" instruction for all the users.
Closes
LINK-2051
Screenshot

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr411-ui.dev.hel.ninja :rocket::rocket::rocket:

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr411-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is success for https://linkedcomponents-pr411-ui.dev.hel.ninja :laughing::tada::tada::tada:

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr411-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is success for https://linkedcomponents-pr411-ui.dev.hel.ninja :laughing::tada::tada::tada:

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr411-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is success for https://linkedcomponents-pr411-ui.dev.hel.ninja :laughing::tada::tada::tada:

LINKEDCOMPONENTS-UI branch is deployed to platta: https://linkedcomponents-pr411-ui.dev.hel.ninja :rocket::rocket::rocket:

e2e tests result is success for https://linkedcomponents-pr411-ui.dev.hel.ninja :laughing::tada::tada::tada:

Looks good, though should be tested with a screenreader to ensure it knows about the popup being opened.

Tested Tooltip component with NVDA and I works as expected


fix dubbo-admin

fix bug, fix dds and add DdsGenerator

Codecov Report

Merging #1213 (cff4b8e) into refactor-with-go-components-experimental (d292375) will decrease coverage by 2.44%.
Report is 12 commits behind head on refactor-with-go-components-experimental.
The diff coverage is 49.23%.

@@                             Coverage Diff                              @@
##           refactor-with-go-components-experimental    #1213      +/-   ##
============================================================================
- Coverage                                     49.11%   46.68%   -2.44%
============================================================================
  Files                                           113      113
  Lines                                          6010     6439     +429
  Branches                                         41       41
============================================================================
+ Hits                                           2952     3006      +54
- Misses                                         2802     3142     +340
- Partials                                        256      291      +35

Files Changed
Coverage Δ

pkg/admin/model/util/sync_utils.go
22.60% <0.00%> (ø)

pkg/admin/services/generic_service_Impl.go
0.00% <0.00%> (ø)

pkg/admin/services/registry_service_sync.go
0.00% <0.00%> (-17.98%)
:arrow_down:

pkg/admin/services/service_testing_v3.go
0.00% <0.00%> (ø)

pkg/admin/services/traffic/accesslog.go
0.00% <0.00%> (ø)

pkg/admin/services/traffic/argument.go
0.00% <0.00%> (ø)

pkg/admin/services/traffic/mock.go
0.00% <0.00%> (ø)

pkg/admin/services/traffic/region.go
0.00% <0.00%> (ø)

pkg/admin/services/traffic/retry.go
0.00% <0.00%> (ø)

pkg/admin/services/traffic/weight.go
0.00% <0.00%> (ø)

... and 27 more

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


Issue with postgres version when deploying to AWS

Describe the bug
There is an issue when deploying the application using Terraform where the build process fails due to an invalid PostgreSQL version specified in the Terraform configuration file.
To Reproduce
Steps to reproduce the behavior:

Follow the deployment tutorial: https://docs.serverpod.dev/deployments/deploying-to-aws
Ryb terraform apply

Expected behavior
I expect the build to succed.
Actual Result
I get the following error
 Error: creating RDS DB Instance (inmueble): InvalidParameterCombination: Cannot find version 14.2 for postgres
│ 	status code: 400, request id: 1ac11bf9-3098-471a-aedf-0dc7d78fe46e
│
│   with aws_db_instance.postgres,
│   on database.tf line 1, in resource "aws_db_instance" "postgres":
│    1: resource "aws_db_instance" "postgres" {
│

If I run aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion" to list the available versions I can see that 4.2 is not one of them.
[
    "11.22",
    "11.22-rds.20240418",
    "11.22-rds.20240509",
    "12.15",
    "12.16",
    "12.17",
    "12.18",
    "12.19",
    "13.11",
    "13.12",
    "13.13",
    "13.14",
    "13.15",
    "14.9",
    "14.10",
    "14.11",
    "14.12",
    "15.4",
    "15.5",
    "15.6",
    "15.7",
    "16.1",
    "16.2",
    "16.3"
]

Resolution
To fix the issue I need to change the version to: a valid one. The update needs to be updated on:
inmueble_server/deploy/aws/terraform/database.tf
# Staging
resource "aws_db_instance" "postgres_staging" {
  count = var.enable_staging_server ? 1 : 0

  identifier          = "${var.project_name}-staging"
  allocated_storage   = 10
  engine              = "postgres"
  engine_version      = "14.10" // change here
  instance_class      = "db.t3.micro"
  db_name             = "serverpod"
  username            = "postgres"
  password            = var.DATABASE_PASSWORD_STAGING
  skip_final_snapshot = true
  vpc_security_group_ids = [
    aws_security_group.database.id
  ]
  publicly_accessible  = true
  db_subnet_group_name = module.vpc.database_subnet_group_name
}

Serverpod versions

_CLI Version: 2.0.1
_Library version: 2.0.0

Hey @edzzn!
Thank you for that detailed report.
It appears that Amazon RDS 14.3 is now deprecated, source https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-versions.html#postgresql-versions-version143.
We will update the terraform scripts to a new supported version.


Safari - Images don't load after appending by infinite scroll

I am using on my website the infinite-scroll.com.
Everything works fine on Chrome and Firefox.
But on Safari once the thumbnails are appended, the images do not load.
You can see it on this images or live here.

does anyone know how to solve this?
I thank you in advance!

I got this contribution but still does not work.

I was seeing a similar issue in Chrome and Firefox with appended content. I was able to force a redraw by firing a fake window resize event. I used the following:
var resizeEvent = window.document.createEvent('UIEvents');
resizeEvent .initUIEvent('resize', true, false, window, 0);
window.dispatchEvent(resizeEvent);

From this StackOverflow answer: https://stackoverflow.com/a/1818513/1007661
I tried this because of the info regarding deferred loading at the end of an old version of the README: https://github.com/scottjehl/picturefill/blob/a3344289ea535b58cb2460fed62c65e15deb1068/README.md
Note that I'm still on v2.3.1 of picturefill. So you might see different results.

still doesn't work on my case.

I checked for differences and my use case is different from yours. I'm using the <picture> syntax to provide completely different pictures at different screen sizes. It looks like you're using the <img srcset size> syntax. I guess the fix I have only works with the <picture> syntax which seems odd.


Remove SwiftBaseX and CryptoSwift at all Possible

Should be relatively easy to get rid of SwiftBaseX. I think I'm now only using a couple of extensions there anyway. If not possible, need to update readme for carthage dependencies

I'm mostly done removing SwiftBaseX and CryptoSwift, just need to run a few more tests and I'll make a PR.

Done, thanks @lm2s


Simplified delegate methods

Replace 4 didSwipeView(Up | Down | Left | Right) methods with single swipeableView: didSwipeView:inDirection:

Is there any way to re-run CI, because I can build it easily?

Thanks, I think your code looks good! Don't worry about the CI because there was an error in the travis.yml causing the failure.
Would you mind updating the sample app as well?

@zhxnlai Tomorrow will be done :)

@zhxnlai done.

Thanks! @dimazen


Naming things is hard

Sorry, but I have to bring this on the table again; now we have:
import { FinalFormInput, FinalFormCheckbox } from "@vivid-planet/react-admin";
I'm not very happy with it. Another (not yet discussed) alternative could be:
import { Input, Checkbox } from "@vivid-planet/react-admin-final-form-fields";
(create an own package just for the sake of shorter exports)
This would have to stay:
import { FinalFormDatePicker } from "@vivid-planet/react-admin-date-picker";

An alternative could also be this, we can support both
import { FinalFormInput, FinalFormCheckbox } from "@vivid-planet/react-admin";
import { Input, Checkbox } from "@vivid-planet/react-admin/final-form";

yes, another good option
tough I'm not sure if we should export the same thing with two names

import { Input, Checkbox } from "@vivid-planet/react-admin/final-form";

But like this names are not unique within the package and ide support for autoimport might break:
import { Input, Checkbox } from "@vivid-planet/react-admin/final-form";
import { Input, Checkbox } from "@vivid-planet/react-admin";

(which one should be autoimported)

I think both options are equally ok:
like it is now:
import { FinalFormInput, FinalFormCheckbox } from "@vivid-planet/react-admin";
and like suggested by niko:
import { Input, Checkbox } from "@vivid-planet/react-admin-final-form-fields";

with import { Input, Checkbox } from "@vivid-planet/react-admin-final-form-fields"; autoimport breaks the same way as with import { Input, Checkbox } from "@vivid-planet/react-admin/final-form";
but that is not a real problem i'd say, the IDE will present you multiple possible imports and you have to choose.

I don't like the idea of having two packages when there should be only one as they depend on each other. My vote goes for sticking with the FinalForm prefixes.

I don't like the idea of having two packages when there should be only one as they depend on each other. My vote goes for sticking with the FinalForm prefixes.

I think multiple packages because of naming is not an good idea. Prefix or two different export names would be a good alternativ for that

or this could also be an option export the folder into a ns
index.ts
export * as FinalForm from "./final-form"
react.tsx
import { FinalForm } from "@vivid-planet/react-admin";
<FinalForm.Input ... />


ModelSpec: add applyBlocks blockHeight property

Relates to #639 and #640.
Overview

Adds another property checking the blockHeight after appyBlocks.

Isn't this identical to https://github.com/input-output-hk/cardano-wallet/blob/567fc99c3657edea260f8b8e7b06a81a49d3850f/lib/core/test/unit/Cardano/Wallet/Primitive/ModelSpec.hs#L185-L191? except that this

uses applyBlocks (with multiple blocks) instead of applyBlock (which is the same thing really)
uses take n blockchain instead of Arbitrary ApplyBlock (though the Arbitrary instance just picks random elements from the blockchain sample anyway)

@Anviking It's similar. Do you think there's already enough coverage of applyBlocks? If so I will close this.

@Anviking It's similar. Do you think there's already enough coverage of applyBlocks? If so I will close this.

On the other hand, they appear to be testing different functions:

applyBlock
applyBlocks

Now it so happens that applyBlocks uses applyBlock internally, but there's nothing in the interface for applyBlocks to say that this must remain true.
Perhaps it's worth keeping both?


Improve docs for installation options

The current installation instructions on the README only cover two installers, packer.nvim and lazy.nvim. It would be great to have other options, including the manual install. I think these used to exist, but are no longer there.

I still see manual instructions there:

Ah, see it now, apologies. I was looking at https://github.com/Exafunction/codeium.nvim.


Refactor : API calling methods

What is the motivation?
Interested in learning Rust, so I decided to choose this project for my contribution. I already know Python and want to become familiar with the codebase.
Type of Change

[ ] 📚 Examples / docs / tutorials / dependencies update
[ ] 🔧 Bug fix (non-breaking change which fixes an issue)
[x] 🥂 Improvement (non-breaking change which improves an existing feature)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🔐 Security fix

What does this change do?
This commit refactors the API calling methods in the codebase to improve their readability, maintainability, and performance. The changes include simplifying nested if statements, reducing code duplication, and improving naming conventions. These changes should make it easier to understand and modify the code in the future, as well as reducing the likelihood of bugs and errors.
What is your testing strategy?
Test Plan:

Verify that the API calling methods have been refactored and optimized for improved readability and maintainability.
Test the all the API calling methods

Is this related to any issues?
No
Have you read the Contributing Guidelines?

[x] I have read the Contributing Guidelines

Thanks for the approval, @AlexFrid! It's ready for the merge.


Suppress 'Open launch.json' command on error dialog if DA provided a command (#124020)

This PR fixes #124020

@gjsjohnmurray thanks a lot for this PR. I have commented directly in the code, let me know once you tackle my comments! Thanks!

Thank you very much, this looks good. Merging in 👏  ☀


fix(pagination): 分页配置未传 current 参数时表格渲染空白

👀 PR includes

🐛 Bugfix

[x] Solve the issue and close #1587

📝 Description

增加分页逻辑兜底, 当 current 未传, facet 计算 scrollY getPaginationScrollY 会为 undefined, 导致表格渲染空白
修正一些错误文档

🖼 Screenshot

Before
After

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.25.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.23.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ART-4437 Update clients at latest-{major}.{minor} on mirror

https://issues.redhat.com/browse/ART-4437
Right now we don't update latest-4.y dirs when uploading
clients, this automates that.
Initially tried to create latest symlink in the existing dir
structure (https://github.com/openshift/aos-cd-jobs/pull/3226/commits/0dc4cbebc5e851efba30842ab7532e9e9e4dc06b)
But having aws s3 sync --delete for latest meant that
we couldn't do it in the same command, so do it separately
(https://github.com/openshift/aos-cd-jobs/pull/3226/commits/a2d44532b5bf1880684cee133f6aa525113d4a12)

@thegreyd I think we'd better to keep our practice and update those "symlinks" in set_client_latest job. The reason is that it determines which release is the "latest" using data from Cincinnati graph. With this change, latest link would always point to the release that is most recently promoted.


Event subscriptions get lost when adding a button to a certain column-header

I'm submitting a ...  (check one with "x")
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

When using a button inside a column-header-template, if the 6th column has a button, and there is a column for row-detail as well as checkbox selection,  event subscriptions will be lost inside the table. No events including checking boxes, pressing buttons and expanding rows will work anymore.
I am using semantic-ui, so Im not sure if this can cause an issue like this. But the Error is thrown inside the ngx-datatable.
Console output:
core.es5.js:1020 ERROR TypeError: Cannot read property 'add' of undefined
    at eval (index.js:4972)
    at ZoneDelegate.invokeTask (zone.js:421)
    at Object.onInvokeTask (core.es5.js:3881)
    at ZoneDelegate.invokeTask (zone.js:420)
    at Zone.runTask (zone.js:188)
    at ZoneTask.invokeTask (zone.js:496)
    at ZoneTask.invoke (zone.js:485)
    at timer (zone.js:2025)

Where index.js is the @swimlane\ngx-datatable\release\index.js
Expected behavior

Buttons and other functions work as usual.
Reproduction of the problem

Example of Error:
https://plnkr.co/edit/ItsUvYjcMW521cMeD5Ne?p=preview
If the 6th column is left without button and the buttons continue in column 7 it will work:
https://plnkr.co/edit/DwhvRMM9UwSaWuUzOE0A?p=preview
What is the motivation / use case for changing the behavior?

It seems unwanted that the same code in a certain column-template suddendly breaks the whole table.
Please tell us about your environment:

Environment doesn't matter, reproducable in plunker.

Table version: 11.1.7

Angular version: 4.0.0 -> but also with other versions, see plunker

Browser: Chrome, Firefox

Language: TypeScript 2.5.3

I have the same issue without using a button inside a column-header-template

Same problem here placing ngbDropdown in 7th column, all events on table will stop working; sort, hyperlinks, dropdown, etc.


Heap find leaks - lwip

During checking my webserver code I noticed a lot of memory leaks detected in lwip:

16 bytes (@ 0x3ffc2858) allocated CPU 0 ccount 0x568b838c caller 0x4011d069:0x4011d11f:0x4011d274
0x4011d069: sys_timeout at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:428 (discriminator 2)
0x4011d11f: tcpip_tcp_timer at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:428 (discriminator 2)
0x4011d274: sys_timeouts_mbox_fetch at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:575
16 bytes (@ 0x3ffc2600) allocated CPU 0 ccount 0x571de3cc caller 0x4011d069:0x4011d1ed:0x4011d274
0x4011d069: sys_timeout at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:428 (discriminator 2)
0x4011d1ed: igmp_timer at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:428 (discriminator 2)
0x4011d274: sys_timeouts_mbox_fetch at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:575
16 bytes (@ 0x3ffc2844) allocated CPU 0 ccount 0x5722d504 caller 0x4011d069:0x4011d19d:0x4011d274
0x4011d069: sys_timeout at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:428 (discriminator 2)
0x4011d19d: mld6_timer at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:428 (discriminator 2)
0x4011d274: sys_timeouts_mbox_fetch at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/timers.c:575
100 bytes (@ 0x3ffc27d8) allocated CPU 0 ccount 0x57c5351c caller 0x40116242:0x4011e3f5:0x4011e527
0x40116242: pbuf_alloc at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/pbuf.c:1247
0x4011e3f5: tcp_enqueue_flags at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/tcp_out.c:807
0x4011e527: tcp_send_fin at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/tcp_out.c:157
20 bytes (@ 0x3ffcec64) allocated CPU 0 ccount 0x57c54d18 caller 0x4011ddd7:0x4011e41d:0x4011e527
0x4011ddd7: tcp_create_segment at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/tcp_out.c:178
0x4011e41d: tcp_enqueue_flags at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/tcp_out.c:816
0x4011e527: tcp_send_fin at /home/reiner/data/programm/esp/esp-idf/components/lwip/core/tcp_out.c:157

Is this ok ???

Hi @Reiner1210 ,
This is probably OK. TCP/IP sockets have to spend some time in TIME_WAIT state after the connection is closed (in case the other end is still active). There is a note about this in the docs (see the final dot point):
https://esp-idf.readthedocs.io/en/latest/api-reference/system/heap_debug.html#false-positive-memory-leaks
If you run your HTTP server for a long period of time (at least multiple minutes) and see heap memory steadily declining and never recovering, then this indicates a leak somewhere.
I'm going to close this issue but please reopen if you see a persistent leak and you've confirmed you're closing all relevant sockets. If you think the leak may be in your HTTP server code, posting on https://esp32.com is a good place for this kind of discussion.
Thanks,
Angus

Hello  @projectgus ,
I have made a "little" example.
Full working example can be downloaded from here
http://tmp.natureimpression.com/lwip_test.tgz
set via make menuconfig xou SSID and password. The code open the port 80 and echos all inputs. If 5 sec no input is detected the client thread is closed. Every 10 sec the free heap size is traced out.
For testing use telnet  80. Then type some nice words and press Enter - you should the the echoed string. Now wait - you will see that the client thread goes home.

LwIP is loosing memory for each TCP connection that arrives to TCP server.
Please take a look at very basic TCP server. As you can see from the output, it is loosing memory for each connection that arrives.
Arduino code:
#include <WiFi.h>
#include <lwip/sockets.h>
void setup () {
Serial.begin (115200);
WiFi.begin ("ZTE_C8151C", "*****");
WiFi.mode (WIFI_STA);
while (WiFi.localIP ().toString () == "<IP_ADDRESS>") { delay (1000); Serial.printf ("   .\n"); } // wait until we get IP from router
Serial.printf ("Got IP: %s\n", (char *) WiFi.localIP ().toString ().c_str ());
// display free memmory twice a minute: freeHeap to check memory leaks, max memory block to check memory fragmentation
xTaskCreate ([] (void * pvParameters) {
while (true) {
Serial.printf ("--- Free heap: %6lu --- max memory block: %6lu ---\n", (unsigned long) ESP.getFreeHeap (), (unsigned long) heap_caps_get_largest_free_block (MALLOC_CAP_DEFAULT));
delay (30000);
}
}, "memoryTest", 2048, NULL, 1, NULL);
// a very basic TCP (web) server
int listeningSocket = -1;
listeningSocket = socket (PF_INET, SOCK_STREAM, 0);
if (listeningSocket == -1) {
Serial.printf ("(listener) socket error: %i\n", errno);
} else {
// make address reusable - so we won't have to wait a few minutes in case server will be restarted
int flag = 1;
if (setsockopt (listeningSocket, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof (flag)) == -1) {
Serial.printf ("(listener) setsockopt error: %i\n", errno);
} else {
// bind listening socket to IP address and port
struct sockaddr_in serverAddress;
memset (&serverAddress, 0, sizeof (struct sockaddr_in));
serverAddress.sin_family = AF_INET;
serverAddress.sin_addr.s_addr = inet_addr ("<IP_ADDRESS>");
serverAddress.sin_port = htons (80);
if (bind (listeningSocket, (struct sockaddr *) &serverAddress, sizeof (serverAddress)) == -1) {
Serial.printf ("(listener) bind error: %i\n", errno);
} else {
// mark socket as listening socket
#define BACKLOG 8
if (listen (listeningSocket, BACKLOG) == -1) {
Serial.printf ("(listener) listen error: %i\n", errno);
} else {
    // listener is ready for accepting connections
    Serial.printf ("A very basic TCP (web) server is waiting for new connections ...\n");
    while (true) {

        int connectingSocket;
        struct sockaddr_in connectingAddress;
        socklen_t connectingAddressSize = sizeof (connectingAddress);
        connectingSocket = accept (listeningSocket, (struct sockaddr *) &connectingAddress, &connectingAddressSize);
        if (connectingSocket == -1) {
          Serial.printf ("accept error: %i\n", errno);
        } else {
          Serial.printf ("New connection arrived, sending 404 reply ...\n");
          // don't even read the request, just reply with error 404 and break the connection
          char httpReply [] = "HTTP/1.1 404 Not found\r\nContent-Length:20\r\n\r\nPage does not exist.";
          if (send (connectingSocket, httpReply, strlen (httpReply), 0) == -1) {
            Serial.printf ("send error: %i\n", errno);
          }
          close (connectingSocket);
        }

    } // while accepting connections - for ever

   } // listen
 } // bind
} // setsockopt
close (listeningSocket); // never executes

} // socket
}
void loop () {
}
Output:
.
.
.
Got IP: <IP_ADDRESS>
--- Free heap: 280712 --- max memory block: 113792 ---
A very basic TCP (web) server is waiting for new connections ...
--- Free heap: 279876 --- max memory block: 113792 ---
--- Free heap: 279876 --- max memory block: 113792 ---
--- Free heap: 279876 --- max memory block: 113792 ---
--- Free heap: 279736 --- max memory block: 113792 ---
--- Free heap: 279736 --- max memory block: 113792 ---
--- Free heap: 279736 --- max memory block: 113792 ---
--- Free heap: 279736 --- max memory block: 113792 ---
--- Free heap: 279736 --- max memory block: 113792 ---
New connection arrived, sending 404 reply ...
--- Free heap: 279248 --- max memory block: 113792 ---
--- Free heap: 279248 --- max memory block: 113792 ---
--- Free heap: 279248 --- max memory block: 113792 ---
--- Free heap: 279248 --- max memory block: 113792 ---
--- Free heap: 279492 --- max memory block: 113792 --- <- lost 244 bytes
--- Free heap: 279492 --- max memory block: 113792 ---
--- Free heap: 279492 --- max memory block: 113792 ---
--- Free heap: 279492 --- max memory block: 113792 ---
--- Free heap: 279492 --- max memory block: 113792 ---
New connection arrived, sending 404 reply ...
--- Free heap: 279144 --- max memory block: 113792 ---
--- Free heap: 279144 --- max memory block: 113792 ---
--- Free heap: 279144 --- max memory block: 113792 ---
--- Free heap: 279144 --- max memory block: 113792 ---
--- Free heap: 279388 --- max memory block: 113792 --- <- lost 104 bytes
--- Free heap: 279388 --- max memory block: 113792 ---
--- Free heap: 279388 --- max memory block: 113792 ---
--- Free heap: 277680 --- max memory block: 113792 ---
--- Free heap: 279388 --- max memory block: 113792 ---
--- Free heap: 279388 --- max memory block: 113792 ---
--- Free heap: 279388 --- max memory block: 113792 ---
--- Free heap: 279388 --- max memory block: 113792 ---
New connection arrived, sending 404 reply ...
--- Free heap: 279044 --- max memory block: 113792 ---
--- Free heap: 279044 --- max memory block: 113792 ---
--- Free heap: 279044 --- max memory block: 113792 ---
--- Free heap: 279044 --- max memory block: 113792 ---
--- Free heap: 279284 --- max memory block: 113792 --- <- lost 104 bytes
--- Free heap: 279284 --- max memory block: 113792 ---


Error in scanner.py for python-3.8 (JWOC)

scanner.py

https://github.com/vinitshahdeo/PortScanner/blob/306d91d5dac999c3b1fa531584854d787b2fec1e/src/single/scanner.py#L33

The low and high range is not mentioned which is low=1 and high=8888

This line of code is giving an error.
with open("config.json") as json_file:
https://github.com/vinitshahdeo/PortScanner/blob/306d91d5dac999c3b1fa531584854d787b2fec1e/src/single/scanner.py#L12

@Kashish121 Can you please verify the above and work with @Vinamrata1086 for the changes, if required.

@Kashish121 Can you please verify the above and work with @Vinamrata1086 for the changes, if required.

@Vinamrata1086 That's probably due to change in the directory structure of the code. Try moving config.json to the same folder as scanner.py.

@Vinamrata1086 That's probably due to change in the directory structure of the code. Try moving config.json to the same folder as scanner.py.

@Vinamrata1086 That's probably due to change in the directory structure of the code. Try moving config.json to the same folder as scanner.py.

ya it worked
so can I change the directory of config and create pr?

@Vinamrata1086 That's probably due to change in the directory structure of the code. Try moving config.json to the same folder as scanner.py.

ya it worked
so can I change the directory of config and create pr?

Hey @Vinamrata1086 , this is the standard organized directory structure followed in the project. Instead of changing the directory structure, try adding config.json actual path to the code. Wouldn't it be smarter? ;)

You can refer to feature\python2  or master branch for the same.

You may create a PR for this. 👍🏽

Hey @Vinamrata1086 , this is the standard organized directory structure followed in the project. Instead of changing the directory structure, try adding config.json actual path to the code. Wouldn't it be smarter? ;)

You can refer to feature\python2  or master branch for the same.

You may create a PR for this. 👍🏽

I have added the path.

I have added the path.


Update to be used along with react 18

upvote

Please, update it 🙏

Is it a legacy package?
Please update its dependencies.
I want to use it with react 18.

This package is mentioned in a demo for Material UI (MUI) here: https://mui.com/material-ui/react-stepper#text-with-carousel-effect, and several other popular apps.
So, upvote for React 18!

Any update?

Any update?

Any updates guuuuys??

🟢 a solution that might help:
===> ADD --legacy-peer-deps to your building command in your workflow !
https://stackoverflow.com/questions/66020820/npm-when-to-use-force-and-legacy-peer-deps/66035709#66035709

Any updates?

Is it a legacy package?!
I'm getting dependency errors in react 18!

react-swipeable-views is a nice package but it is not working with React18, so we replaced it with new package on this tutorial video:
https://www.youtube.com/watch?v=n0Rl-SsTVKc&feature=youtu.be

react-swipeable-views is a nice package but it is not working with React18, so we replaced it with new package on this tutorial video: https://www.youtube.com/watch?v=n0Rl-SsTVKc&feature=youtu.be

love you!

Someone made a PR to make it React18 compatible, but it hasn't been merged yet. Let's go upvote that PR!
https://github.com/oliviertassinari/react-swipeable-views/pull/668

Oh my god, I am stuck at this issue ...
@oliviertassinari , any idea ?

Tip: Here's what you can do while you wait:

Download https://github.com/ramsesndame237/react-swipeable-views/tree/master/packages/react-swipeable-views folder and place it somewhere in your project
Do npm install your-path/react-swipeable-views
Import like this: import SwipeableViews from 'your-path/react-swipeable-views/src';

It's 5 months and the package isn't supporting react 18 yet.

upvote

upvote

This package is no longer being maintained, it seems.

my friends. Is there any solution to this?

My 1¢ option, This repo should be archived and we should look for a replacement that's still maintained and work with<EMAIL_ADDRESS>

https://www.youtube.com/watch?v=n0Rl-SsTVKc&feature=youtu.be

I'm closing as fixing this issue a non-goal per https://github.com/oliviertassinari/react-swipeable-views/issues/676

sad ending 😢

any solution yet ?

I ended up using this library. https://www.npmjs.com/package/react-slick

Please someone should help me with any available packages that I can use in replace of react swipeable view for react 18. Thanks


upgrading vue-cli to 4.2.2 ( even 4.1.x ) breaks the app

I've found out the hard way ( i've used yarn instead of npm ) that upgrading vue-cli to 4.2.2 breaks the app. It seem that the entry-worker.js gets compiled by some new babel settings, and it remove the async await coding style. This somehow breaks the app when you deploy it to Cloudflare.

#4


Adding a way to fix date by adding or decreasing days from the date

In some countries the date is calculated depending on the moon position.
In this cases, user may have to fix it by specifying a days to be added to the date to fix the calendar:
+2
+1
0
-1
-2

Thanks for your comment, I will add this option in the new update as well.

I actually tried to modify the code to have this feature but could not manage to get it working proporely.
Will it be added before Ramadan ?

Yes, In the next few days.

Great ! Barakallahu fik

Any news about this issue ?

Was this feature added?
I also want to adjust dates +- upto 3.

Was this feature added?
I also want to adjust dates +- upto 3.

@eltohamy Any news about this issue ?

Thanks for your comment,the issue is fixed.You can pull this change now. you can set it setting mcv_calendarDiff attribute in layout xml.
app:mcv_calendarDiff="2"
app:mcv_calendarDiff="1"
app:mcv_calendarDiff="0"  (default value)
app:mcv_calendarDiff="-1"
app:mcv_calendarDiff="-2"

Great 👍 Jazakallahu Khair
It can be modified programmatically as well right ?

Hello, i actually want to know this as well, can we modify it programatically?
@eltohamy , can you provide an answer please?

hey @iballan, i was messing with the code, i created a setter for calendarDiff, but didn't work, i tried even to comment out line 247 in MaterialHijriCalendarView class, maybe that value would override my setter, but also nothing, i got an idea to actually create 5 layouts, each with calendarView with different value for "app:mcv_calendarDiff", but then, i went back to line 247, and i saw the 0 as default value
like, if the value isn't set in xml, it would be 0, in there, i gave it "context.getSharedPreferences....." and in my settings i save the offset of hijri date in SharedPreferences, now it is working like a charm.
Hope my comment helps you out.

can we find app:mcv_calendarDiff value for different location programatically?
for example in Pakistan, India and Bangladash it will be -1. and for some places it will be 0. How can we find the app:mcv_calendarDiff value programatically?


Potentially look into Azure Pipelines for CI

Not sure if this is worth it, but they have Windows, Linux and Mac hosts and run 10 builds in parallel, which is much better than AppVeyor (1) and Travis (~4).

There's a template repo here: https://github.com/xoac/rust-azure-pipelines

It probably makes sense to initially replace AppVeyor and then afterwards we could look into replacing Travis as well.


Provider modeling

Hello there, we've being doing some advances on implementing the provider it's not complete yet but we're actively working on it.
The following aspects have been implemented:

The provider is being successfully saved on manage iq
Some model tests are implemented like ems_type, description, and connect testing. On the other hand, some are missing such as of authentication verification and discovery.
Controller test from ManageIQ are integrated into the gem

It is not clear to us if we should consider LXCA as an InfraManager, or being a PhysicalInfraManager, it should be in a completely separated group from all the other existent providers for MIQ. For now the related parts of our contributions will be commited to this PR. Others such as the refresher in different branches.

It is not clear to us if we should consider LXCA as an InfraManager, or being a PhysicalInfraManager

While we're creating LXCA I'm simultaneously adding support in ManageIQ for PhysicalInfraManagers. https://github.com/ManageIQ/manageiq/pull/10807

Would you be able to squash some of these commits, for instance I think the deletions in https://github.com/juliancheal/manageiq-providers-lenovo/pull/2/commits/4f8b78f2cb115fae60ea87424b473e60779702e7 get added back in.
And https://github.com/juliancheal/manageiq-providers-lenovo/pull/2/commits/25a289a2505d9ed5af3f417025cb96309ed60187 could be squashed into https://github.com/juliancheal/manageiq-providers-lenovo/pull/2/commits/740e4bbebd6798735d1827560650b4117fe5cce0

Sure enough.

I've made some cleaning up in other commits as well


Products - Wrong Format Indicator

Coloured indicator on formats section indicates the wrong format. It happens halfway through the section on a medium browser window, and right at the top of the section on a large browser browser window.

Updated...

can we test tomorrow?

please check


[Feature Request]

Hi
Sheduled stop/start with ingame messages (up to 5 with timers configurable) + Discord whebook for stop/start
Regards

Hey! The scheduled stop/start you mean having a way of picking an hour of the day where the server will automatically turn on and another when it turns it off? Looks like a good idea to me. The discord webhook should also be fairly easy to implement in the future once I finish the restructuring for supporting remote servers. But not sure what you meat when you talked about in game messages and 5 timers.

Timed restarts implemented in the new version. Discord webhooks will be tracked in #25.


sql: Integrate inline/contextual help

Roadmap: https://airtable.com/tblD3oZPLJgGhCmch/viwdV1sM5KEK2L14K/recJfXkkUorGJPEKN
PRs:

https://github.com/cockroachdb/cockroach/pull/16295
https://github.com/cockroachdb/cockroach/pull/13540

@knz, thanks for adding this to the 1.1 roadmap. I see that one of the related PRs has landed. When everything's done and ready for docs, can you please ping here and add the ready label?

thanks for the reminder.

gtg


Fix for example kustomize secretGenerator from envs to env

The values for secretGenereator in the kuztomization.yaml seemed to need a String vs array. Updated it to use   env: path   vs   envs: -path

signed cla


Add --config-file command line parameter

This addresses #756
It's still a little WIP but comments are appreciated at this point, probably going to do some refactorings.
Was thinking we could support YAML configuration files also, should be pretty straightforward to implement.

I think I'm done with this. Comments are appreciated.

Thanks @olleolleolle for the super-positive-and-nice review. I will take a look at the suggestions/comments when time allows.

Great comments.
I did some adjustments and it turned out pretty nice I think.

Im done for now, so yeah.

@anakinj Many thanks for taking the time to build & to revisit!


Frame rate filter processor

Text least to believe that frames would be sampled at the specified rate. According to this if you had a 15fps source and you sampled at 30fps you would end up with 30fps (and some pipelines do work like this).
The frame rate filter limits the frame rate at a maximum of the specified value, so if it is set to 30fps and the source is 15, the result is still 15 fps.

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

ID: 9ebfa099-3ed5-ac9a-e8c2-c7d2c5d1cb65
Version Independent ID: fe310eb0-b10a-99b5-cad0-c92c13d532b2
Content: Media graph concept - Azure - Live Video Analytics on IoT Edge
Content Source: articles/media-services/live-video-analytics-edge/media-graph-concept.md
Service: media-services
GitHub Login: @Juliako
Microsoft Alias: juliako

@rodrigb Thank you for pointing out this detail and making the suggestion. This is being reviewed where a correction to the document will be made as appropriate.

@rodrigb, Your feedback has been shared with the content owner for further review.
Thanks again for taking time to share your valuable feedback.

#please-close


tests for account controller

@kenfinnigan please review, test for JDK is broken so it needs to be disabled/removed, run tests with "npm test"

merged


FirebaseApp.configure() EXC_BAD_ACCESS in CFStringGetLength since Xcode 9/iOS 11

[READ] Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request make sure the issue title starts with "FR:".

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Xcode version: Xcode 9 (9A235)
Firebase SDK version: Firebase/Core 4.2.0
Library version: Firebase/Database 4.2.0, FirebaseAnalytics 4.0.3
Firebase Product: database/analytics (auth, database, storage, core, messaging, etc)

[REQUIRED] Step 3: Describe the problem
When I configure the FirebaseApp (by calling FirebaseApp.configure()), we get a EXC_BAD_ACCESS in CFStringGetLength. This happens since Xcode 9/iOS 11.

Steps to reproduce:

Have a firebase project configured with analytics and database.
Call FirebaseApp.configure()
💥

Relevant Code:
import UIKit
import FirebaseCore

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

  var window: UIWindow?

  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    FirebaseApp.configure()
...
  }
...
}

A few questions:

What's your podfile setup?
Is your GoogleService-info.plist file embedded in the app correctly?
Have you added a GTM container file to the bundle?

Followup question: Are you using cocoapods, or are you downloading the frameworks and manually configuring them? If so, note that there is a resource bundled into the TagManager framework that needs to be included.

Thanks for your response @eburley. Let me elaborate:

We've setup firebase via Cocoapods. The setup is as follows:

workspace 'Project.xcworkspace'
platform :ios, '9.0'

abstract_target 'Shared' do
  use_frameworks!

  # These pods are available to all targets

  target 'Project' do
    project 'ios/Project.xcodeproj'

    # Native Pods specific for Project
    ..some pods
    pod 'GoogleTagManager', '~> 6.0'
    pod 'Firebase/Database'
    ...more pods
  end
end

GoogleService-info.plist is embedded properly. Our project compiles and runs in Xcode 8 and iOS 10 without a hassle.
Yes, the GTM container file is setup correctly.

After some digging I found that if I disable the new buildsystem (which I enabled since Xcode 9 came out), I consistently can compile and run the project. This is probably a hint. Maybe bundles aren't handled correctly with the new build system?

@tomasharkema Thanks for digging deeper and sharing.
It looks like we're seeing https://github.com/CocoaPods/CocoaPods/issues/6936.  There is at currently an incompatibility between CocoaPods bundles and the beta version of the Xcode 9 build system.

@paulb777 thanks, that makes sense, we've have the same issue with TwitterKitResources.bundle, as described in the CocoaPods issue.
I'll close the issue, and we'll await the issue to be resolved at CocoaPods'. Maybe you could consider making a remark on the readme that the new buildsystem has issues with the latest Cocoapods and Firebase setup?

I'm seeing this exact issue using binary framework files, though I had to get those binary frameworks from a cocoa pods-enabled app, since they aren't offered any other way. The bundle is included in my GoogleTagManager framework. It occurs no matter what build process I'm using.

Now fixed on CocoaPods master : https://github.com/CocoaPods/CocoaPods/pull/7209

With xcode 9.2 and cocoapods 1.4.0.beta.2 problem still exists as @tomasharkema wrote at first place.


Issue 2 add authentication

This works fine for new users but is broken for existing users. We cannot merge as is.


Error in Add Amenity, When a new input is created the previous input would double

Error in Add Amenity, When a new input is created the previous input would double. And there would also be an empty space in the top part for the first input.
To Reproduce Steps to reproduce the behavior:
Go to 'Add Amenity GUI'
Add an amenity and after that add another one again
See error (the previous input doubles)
The previous input should not be doubled

Resolve on #10


support: Apply discount to the existing plans

The first commit should fix the bug introduced in #16690 See https://github.com/zulip/zulip/pull/16690#issuecomment-740728104 for more details.

In master

In this PR

The second is self explanatory. The UI looks like this now for fixed price realms

Commits 3 and 4 are simple refactorings.

Commit 5 is the key commit. The commit make sure that we update the price of existing plans as well when a discount is attached. There are a lot of changes in the commit. But all most of them are just fixture changes. And it is automatically generated. So you can just ignore the changes.

Merged, thanks @hackerkid!


[#2094] feat(client): Add retry for coordinator client

Why are the changes needed?
Fix: #2094
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UTs

Codecov Report
Attention: Patch coverage is 6.06061% with 155 lines in your changes missing coverage. Please review.

Project coverage is 52.76%. Comparing base (5ddcc28) to head (3f27657).
Report is 68 commits behind head on master.

Files with missing lines
Patch %
Lines

...e/client/impl/grpc/CoordinatorGrpcRetryClient.java
0.00%
108 Missing :warning:

...he/uniffle/client/impl/ShuffleWriteClientImpl.java
6.89%
26 Missing and 1 partial :warning:

...uniffle/shuffle/manager/RssShuffleManagerBase.java
40.00%
11 Missing and 1 partial :warning:

...org/apache/spark/shuffle/RssSparkShuffleUtils.java
0.00%
4 Missing :warning:

.../apache/uniffle/client/api/ShuffleWriteClient.java
0.00%
2 Missing :warning:

...iffle/client/factory/CoordinatorClientFactory.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2095      +/-   ##
============================================
- Coverage     52.77%   52.76%   -0.01%
- Complexity     2498     2678     +180
============================================
  Files           398      431      +33
  Lines         18135    19974    +1839
  Branches       1660     1814     +154
============================================
+ Hits           9570    10539     +969
- Misses         7981     8766     +785
- Partials        584      669      +85

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

@kuszz Could you run the command ./mvn spotlessApply to fix the style issues?


vite example

I'm having some hard time to configure ketcher to run on vite, I have tried in the standalone and in the remote server and I get the same error:
TypeError: undefined is not an object (evaluating 'ketcher.eventBus')
Error: {}

The Editor is loaded but I can't use any ketcher funcionality, for example:
TypeError: null is not an object (evaluating 'editor3.tool') Error: {}
I have checked that the resources are being returned from the indigo service.
In the function onInit the ketcher objetc is returned just as {remote:true} or {standalone:true}
Could someone help me?

@michelmar, hello!
Which version of React are you using? This error may occur if you use React18.
I'm going to update Ketcher to React18 in this issue

@TatianaGrigorovich Yeah that's right.  I'm using React 18. Thank you in advance.  Hope to see it working 🙏


Update ContentTypeListener.php

setBodyPararams accepts array only but
$bodyParams = $content;
sets a string

Duplicate of https://github.com/zfcampus/zf-content-negotiation/pull/52


Create eleventy-plugin-pwa-v2.json

Follow-up to #1547
I'm having a bit of hard time getting in touch with the author of eleventy-plugin-pwa - therefore settling for a duplicate-ish entry in the directory.

Thank you!