Size testing should be broken out of tasty-plutus

Size testing can and should be done for any on-chain functionality. This is fine if the project already depends on tasty-plutus as a whole, but some of the libraries in here are dependencies of tasty-plutus (notably, plutus-numeric and plutus-pretty), and could also benefit from size tests. We can't have them depend on tasty-plutus directly, as this is circular.
This probably means breaking this functionality into a plutus-check-size library or something.

Fixed in #100


intersting tool

Hello Dear,
I tried to use the tool, it looks amazing but I have a question. Do I need to have an authorised DNS server to recieve the DNS query.
in your example you used normal (. com) domain. So, how you recieve the DNS query?

Hi,
Yes, you need to have at least 2 domains or sub-domains (control/data) where you control the NS records so you can point them to a server running dfex-server.py (Public IP and blocking outgoing ICMP).

Hi,
Yes, you need to have at least 2 domains or sub-domains (control/data) where you control the NS records so you can point them to a server running dfex-server.py (Public IP and blocking outgoing ICMP).

Can I get your contact for further assistant, I have a specific senario and need your help.

you can reach me via twitter @ekio_jp


PLCRFactory fails to deploy - can't deploy TCR

Running node 8.11.1, trying to deploy to any test network and receiving the following error.
Running migration: 3_optional_plcr_factory.js
  Linking DLL to PLCRFactory
  Linking AttributeStore to PLCRFactory
  Deploying PLCRFactory...
  ... 0x69052b83a484f82fa7444b580ac23061dc9d0caa29cfce34e35bb9abb0886eda
Error encountered, bailing. Network state unknown. Review successful transactions manually.
Error: The contract code couldn't be stored, please check your gas amount.
    at Object.callback (/Users/drewstone/src/eth/cw/tcr/node_modules/truffle/build/webpack:/~/web3/lib/web3/contract.js:147:1)
    at /Users/drewstone/src/eth/cw/tcr/node_modules/truffle/build/webpack:/~/web3/lib/web3/method.js:142:1
    at /Users/drewstone/src/eth/cw/tcr/node_modules/truffle/build/webpack:/~/web3/lib/web3/requestmanager.js:89:1
    at /Users/drewstone/src/eth/cw/tcr/node_modules/truffle/build/webpack:/~/truffle-migrate/index.js:225:1
    at /Users/drewstone/src/eth/cw/tcr/node_modules/truffle/build/webpack:/~/truffle-provider/wrapper.js:134:1
    at /Users/drewstone/src/eth/cw/tcr/node_modules/web3-provider-engine/index.js:152:9
    at /Users/drewstone/src/eth/cw/tcr/node_modules/async/internal/once.js:12:16
    at replenish (/Users/drewstone/src/eth/cw/tcr/node_modules/async/internal/eachOfLimit.js:61:25)
    at /Users/drewstone/src/eth/cw/tcr/node_modules/async/internal/eachOfLimit.js:71:9
    at eachLimit (/Users/drewstone/src/eth/cw/tcr/node_modules/async/eachLimit.js:43:36)
    at /Users/drewstone/src/eth/cw/tcr/node_modules/async/internal/doLimit.js:9:16
    at end (/Users/drewstone/src/eth/cw/tcr/node_modules/web3-provider-engine/index.js:127:5)
    at /Users/drewstone/src/eth/cw/tcr/node_modules/web3-provider-engine/subproviders/provider.js:20:5
    at XMLHttpRequest.request.onreadystatechange (/Users/drewstone/src/eth/cw/tcr/node_modules/web3/lib/web3/httpprovider.js:118:13)
    at XMLHttpRequestEventTarget.dispatchEvent (/Users/drewstone/src/eth/cw/tcr/node_modules/web3/node_modules/xhr2/lib/xhr2.js:64:18)
    at XMLHttpRequest._setReadyState (/Users/drewstone/src/eth/cw/tcr/node_modules/web3/node_modules/xhr2/lib/xhr2.js:354:12)
    at XMLHttpRequest._onHttpResponseEnd (/Users/drewstone/src/eth/cw/tcr/node_modules/web3/node_modules/xhr2/lib/xhr2.js:509:12)
    at IncomingMessage.<anonymous> (/Users/drewstone/src/eth/cw/tcr/node_modules/web3/node_modules/xhr2/lib/xhr2.js:469:24)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

@skmgoldin Any ideas why the PLCRFactory won't deploy to ropsten or rinkeby? It doesn't appear to be a gas issue.

hi @drewstone , how'd you resolve this issue? did you have to increase the gas in truffle.js?

@kangarang use a gas limit of 6721975 for Rinkeby.

Hey @drewstone, I've managed to deploy to Ropsten with gas limit 6721975 as well

@LiorRabin how did you deploy to ropsten with that high a gas limit?

@skybach you can see here https://ropsten.etherscan.io/blocks that gas limit is around 8M now

why did truffle complain when i set anything greater than 4.7M gas limit?

ok...think i was using geth 1.8.12 which somehow capped the returned gas limit field to 4M.
geth 1.8.18 shows the correct limit that is on the blockchain.


Markdown editor select line above on wrapped lines doesn't work

Not sure if it's the hyphen character or something else that's causing this issue. (Ghost v0.7.5, Chrome v46)
Steps to reproduce

Open a new post and paste something like this:
![](http://somebig.url.com/aaaaaaaaaaaaa-bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-ccccccccccccccccccccccc-dddddddddddddddddddd)

Ensure that the line is wrapped such that the last line is longer than the line before the the line before ends with -. For example:
![](http://somebig.url.com/aaaaaaaaaaaaa-
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb-
ccccccccccccccccccccccc-dddddddddddddddddddd)

Place the cursor after the )

Hold shift and press up to select from the - after the b's to after the )

Hold shift and press up

Expected
The line containing the b's is highlighted
Actual
Nothing. Holding shift and pressing left to select the hyphen before doing a shift+up will work as expected.

@Tyriar the markdown editing area is a normal textarea and so any text selection abilities are provided by the browser/operating system, ie. not something that we want to mess with as it will break user expectations and be impossible to produce a consistent experience across all possible platforms.
On OSX/Safari you'll see the same behaviour here in the github message textarea.

Maybe it's a webkit and blink bug then, will investigate and report if so. Thanks.

Sorry if I wasn't clear, it's not a browser issue but an OS-level aspect of text selection. Here's an example of the behaviour inside Apple Mail:


Failed to restore backup from veeam

a CloudStack user has faced an issue that failed to restore backup from veeam
The management-server.log shows
Failed to import VM ... with hypervisor [type: VMware] due to: [Invalid string format].

This issue is found when use PreSetup as primary storage.
The feature has been tested ok on NFS storage.
ISSUE TYPE

Bug Report

COMPONENT NAME

CLOUDSTACK VERSION

4.19

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

Fixed in #9256


AttributeTypecastBehavior uses its owner before attachment

Inside a behavior $this->owner is NULL at the moment of the initialization.
Here get_class($this->owner) always evaluates to yii\behaviors\AttributeTypecastBehavior since $this->owner is NULL.
Here a Call to a member function getValidators() on null error occurs for the same reason.

confirmed

I'll fix this.
In the meantime, you can bypass this issue passing owner via behavior config:
public function behaviors()
{
     return [
         'typecast' => [
             'class' => AttributeTypecastBehavior::className(),
             'owner' => $this, // pre-fill owner
         ],
     ];
}

Resolved by commit d4df72a2a4d83ce2f4ae4fef4ca252834d6a319b


PowerShell logging needs to go to syslog on non-Windows

PowerShell currently has ETW logging on Windows, but no logging on non-Windows

Is there no plans to port ETW on Unix?

Perhaps consider using OpenTracing

I believe .Net settled on LTTng for logging, so it's worth a look too.

Closed via #5144
Tests of the syslog work need to be added, which is tracked by #5312


Add RBF kernel with columnwise adaptive precision

Using this as default kernel for HSIC and KCI.

@all-contributors please add @bloebp for code, docs


[language] Path towards reading consensus info in Move

Motivation
Currently the Move VM is totally ignorant of the consensus info. That is to say, the Move code will not be able to know informations about the current block proposed by the leader, e.g: current leader address, number of votes each of the validators get when being elected, current block time, etc. These will be critical information that the system contracts might need for on-chain governance. This is also important for third party modules as it will provide them a consensus approved wall clock time, which could be used to implement things like hashed time locks.
Pitch
Let's say we want to persist following struct that comes from consensus:
struct BlockMetadata {
  id: HashValue,
  timestamp_usec: u64,
  previous_block_votes: HashMap<AccountAddress, Signature>,
  proposer: AccountAddress,
}

At the end of a block, executor would forward such struct to the MoveVM. MoveVM is responsible for creating a special transaction that would update a special resource on chain that encodes the consensus info called BlockMetadata and emit a system event to indicate that a new block is indeed being proposed. This resource should be read-only in the regular user transactions. The special transaction should look something like this:
// pseudo code
import 0xA.LibraTime
import 0xB.LibraConsensus
main (timestamp: u64, votes: Vector.T<address, signature>, proposer: address) {
    LibraTime.set_time(move(timestamp));
    LibraConsensus.add_votes(move(votes));
    LibraConsensus.add_proposer(move(proposer));
    emit_event(..., NewBlock{...});
}

Note that the BTreeMap gets converted into a vector when it was passed to Move. The reason is we don't have a good implementation of maps in Move yet.
Such transaction should have exact once semantics and is generated independently across validators so that we would know all good nodes did encode the consensus info correctly just by looking at the executed state hash.
Implementation plan:

[ ] Implement a rust struct to represent the consensus info that the VM would use to execute the special transaction. #1068
[ ] Change the MoveVM api to be following:

pub trait VMExecutor {
    /// Executes a block of transactions and returns output for each one of them.
    fn execute_block(
        transactions: Vec<SignedTransaction>,
        block_metadata: Option<BlockMetadata>
        config: &VMConfig,
        state_view: &dyn StateView,
    ) -> Vec<TransactionOutput>;
}

The main change here is that we will add an Option<BlockMetadata> in the execution api for MoveVM. The  semantic would be if the executor pass in the BlockMetadata, the VM will create a dummy transaction whose output WriteSet would be the update of the on-chain MetaData resource.

[ ] Implement a module to hold such resource on-chain that is only readable for user transactions with a private function to update it.
[ ] Implement the VM logic so that the MoveVM can forward the struct to the module written in step 3.

And we are done! By then we should be able to read trust-worthy consensus info on chain!

main (timestamp: u64, votes: Vector.T<address, signature>, proposer: address) {

The question of how to represent votes here is an interesting one. At least in the current plan, only consensus needs to read this info (no modules), and only via an event. So we might just want to pass in votes as a bytearray + emit that bytearray directly. Otherwise we'll do a Rust encoding -> Move encoding -> event bytes encoding -> Rust encoding roundtrip that we don't need to do...
This will also let us avoid taking Vectors as input to transaction scripts (which is currently not supported + controversial to support).


[ParentNotFound] Azure File SDK can NOT create_directory recursively

Which service(blob, file, queue) does this issue concern?
Azure File
Which version of the SDK was used? Please provide the output of pip freeze.
azure-storage-common==1.3.0
azure-storage-file==1.3.1
azure-storage-nspkg==3.0.0
What problem was encountered?
When running file_service.create_directory(__share_name,  "root_path/leaf_path"), if root_path is not existed, an exception that "ParentNotFound" will throw.
No override method is provided for recursive create dir like "mkdir -p" ?

Hi @Cherishty, recursively creating directories is not supported by the REST API unfortunately.
We did not add such overload in the SDK because each IO to the Storage Service incurs a cost, so the customer should consciously make each call.


Add support for linux/arm64 releases

I'm working on creating a Docker container that can use spin to development, but wanting to leverage native architectures as much as possible. On Macs with Docker Desktop, we can leverage both linux/amd64 and linux/arm64. You're building linux/amd64 as part of your releases, but it would be great to have linux/arm64 support as well to prevent qemu emulation. Thanks!

Does the linux/aarch64 build from #926 meet this need, or is there a distinct linux/arm64 that we'd need to ship?


CI build failure due to KeynesFriedmanModigliani notebook

The CI is failing due to notebooks/KeynesFriedmanModigliani notebook.
RemoteDataError: Unable to read URL: https://fred.stlouisfed.org/graph/fredgraph.csv?id=PCECC96
The data seems to have to be moved? The URL pops up an error

I wonder if this is just a temporary glitch?
FRED is very widely used ...
The other possibility is that they have changed their interface.
On Tue, Jan 18, 2022 at 11:41 PM Mridul Seth @.***>
wrote:

The CI is failing due to notebooks/KeynesFriedmanModigliani notebook.
RemoteDataError: Unable to read URL:
https://fred.stlouisfed.org/graph/fredgraph.csv?id=PCECC96
The data seems to have to be moved? The URL pops up an error
—
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/issues/182, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCK76VCGO3TN2YR5O6ELDUWY6GLANCNFSM5MI4YZUQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--

Chris Carroll

Yeah it was, it's fixed now.


Choose date and time screen - difference in table name

Discrepancy on https://staging.covid-hcportal.cdssandbox.xyz/en/outbreaks/99c0f622-0382-470f-86f3-29d6aa2aa232/datetime#time-fields
Exposure dates
Figma: https://www.figma.com/file/znPqLTQQDcUkaNjdDcShiz/Exposure-Notification-Health-Portal?node-id=7877%3A102
Selected dates

closing - this figma screen was not updated


Fix acequire undefined error

TypeError: Cannot read property 'acequire' of undefined

Hi, first, thanks a lot for the PR! 🎉
Is this related to #49?
acequire is needed for compatibility with brace.
Could you tell me a bit for about your setup? I saw you did a few edits there. Are you using webpack? Babel? Global Ace editor or brace?

Hi @JackuB thanks for getting back to me. Yes it is related to https://github.com/ace-diff/ace-diff/issues/49. However, I tested the fix in this PR and it's not really working. I wanted to close out the PR but it seems I don't have permission for it. So this is not a correct fix.
I am using angularjs wit typescript. I posted the setup in detail at https://stackoverflow.com/questions/51290734/cannot-read-property-acequire-of-undefined. Let me know if you have any suggestions. Willing to test it out :)

If you want, we can close this PR and continue discussion on https://github.com/ace-diff/ace-diff/issues/49 so other people might benefit. Thank you.

Hi @JackuB thanks for getting back to me. Yes it is related to #49. However, I tested the fix in this PR and it's not really working. I wanted to close out the PR but it seems I don't have permission for it. So this is not a correct fix.
I am using angularjs wit typescript. I posted the setup in detail at https://stackoverflow.com/questions/51290734/cannot-read-property-acequire-of-undefined. Let me know if you have any suggestions. Willing to test it out :)

If you want, we can close this PR and continue discussion on #49 so other people might benefit. Thank you.


Refresh container node on delete

Fixes #997
Finds the nearest storage container tree item and refreshes the node after finishing single/batch delete.
Was considering adding the findNearestParent tree util function to azureTools repository.  Let me know if you guys think this would be a good addition.
Thanks!
Edit: I forgot, I branched off of another PR that's still in review because it kind of piggybacks off of its functionality (#1113).... the plan was to eventually merge its contents into this branch before final merge into main.  What's the best way to handle this to make it easier for review?  The changes for this branch are all technically contained in the last commit only ("don't show empty directories")

Edit: I forgot, I branched off of another PR that's still in review because it kind of piggybacks off of its functionality (https://github.com/microsoft/vscode-azurestorage/pull/1113).... the plan was to eventually merge its contents into this branch before final merge into main. What's the best way to handle this to make it easier for review? The changes for this branch are all technically contained in the last commit only ("don't show empty directories")

I'd close this PR, and create a new one with mwf/feat-delete-many as the target branch (i.e. merging mwf/delete-empty-directories into mwf/feat-delete-many). When #1113 gets merged, the PR will automatically be retargeted to main by GitHub.


The order sheet view of the devices classes should be upfront

The breakdown captured in resources/Truck_Component_Order_Sheet_Breakdown_for_Cybersecurity_Matrix_v0_DIST.docx should be on the README instead of the very long lists in the tables.

we should also fix the auto-linkifying github does to the #1 and #2`s in the README.md
e.g.


Adds SDK + CLI commands for enumeration Runs/Actions

@jimPruyne finally made a round of updates on this. Any further thoughts?

Users wanting to simply provide their own http_timeouts on clients were unable to use the create_flows_client helper method and had to resort to custom creating clients via FlowsClient.new_client() which involved distinct package imports and identifying valid defaults.
This PR allows full customization of the underlying FlowsClient via keyword-only arguments to create_flows_client.


"xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)"

I apologize if this is a duplicate issue, but I have not seen this particular error in the list yet.  After a recent reboot, at which point ChromeOS updated itself, it was not possible to startup as normal.  After following the update process at https://github.com/dnschneid/crouton/wiki/Common-issues-and-reporting, I obtain seemingly good news:
...

You can start Xfce via the startxfce4 host command: sudo startxfce4
Unmounting /mnt/stateful_partition/crouton/chroots/debian...
Done! You can enter the chroot using enter-chroot.

At which point, if I start like normal with "sudo startxfce4", I get bad news, which ends with:
...

Build Date: 09 February 2015  09:46:52AM
xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau<EMAIL_ADDRESS>Current version of pixman: 0.26.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Apr 29 11:23:52 2015
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Fatal server error:
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/debian...

I can, however, start things on the command-line, via "sudo enter-chroot" -- and then if I want to do anything on the command line, I can.  However I cannot run startxfce or startx from there -- I either get the same error as before, or if I think to run with sudo, I get "Do not launch startxfce4 as root inside the chroot."
Finally, the beginning of the error before, I see the message "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root", but if I make this change, it changes nothing.
As per instructions, the output of version number is:

chronos@localhost / $ sudo enter-chroot -n debian croutonversion
Entering /mnt/stateful_partition/crouton/chroots/debian...
crouton: version 1-20150428153647~master:6ae56c3d
release: wheezy
architecture: amd64
xmethod: xorg
targets: xfce
host: version 6812.75.2 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Tue Apr 14 18:57:27 PDT 2015 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/debian...

It's a good idea to update crouton and your chroot after a Chrome OS update.
Follow this guide: https://github.com/dnschneid/crouton/wiki/Common-issues-and-reporting

Hi @jcharris
I have the exact same issue as you.  I am using debian wheezy and lxde.
i prefer to use the x11 setup of crouton for working, i tried out the new xiwi and extension, it worked as intended as far as integration with chromeOS is concerned, but some X forwarding issues, similar to the ones mentioned here #1276 made it non-ideal. i updated crouton and the chroot with by following the instructions  https://github.com/dnschneid/crouton/wiki/Common-issues-and-reporting with no obvious errors, then followed @dnschneid's instructions from #1276.
sudo sh -e Downloads/crouton -u -n wheezy -t x11

and discovered this problem after trying to run
sudo startlxde

i didn't see any obvious errors in the x11 target update.
I tried all the same things you did and got the same outputs, with the additional test of starting the chroot in command line and running sudo startx. the output of which is at the bottom.
Here's my croutonversion output
chronos@localhost ~ $ sudo enter-chroot -n wheezy croutonversion
Entering /mnt/stateful_partition/crouton/chroots/wheezy...
-su: 1: [: -ne: unexpected operator
-su: 1: [: -ne: unexpected operator
-su: 1: [: -ne: unexpected operator
-su: 1: [: -ne: unexpected operator
crouton: version 1-20150428153647~master:6ae56c3d
release: wheezy
architecture: amd64
xmethod: xorg
targets: x11,xiwi,extension,lxde,keyboard
host: version 6812.83.0 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Mon Apr 27 08:37:50 PDT 2015 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/wheezy...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/wheezy...

output from running sudo startx inside the chroot
sudo startx

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16-2-amd64 x86_64 Debian
Current Operating System: Linux localhost 3.8.11 #1 SMP Mon Apr 27 08:37:50 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=deb49c04-b750 1245-8f74-7cf90461f255/PARTNROFF=1 hashtree=PARTUUID=deb49c04-b750-1245-8f74 7cf90461f255/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=19983e99694f43f58c9b7fe794a36276d6631a9b salt=c1f66bbcb95439a8ee2d0617298166203029c4b74e1da8c2eb976c10a5fbe491" noinitrd vt.global_cursor_default=0 kern_guid=deb49c04-b750-1245-8f74-7cf90461f255 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 09 December 2014  09:12:48PM
xorg-server 2:1.12.4-6+deb7u5 (Moritz Muehlenhoff<EMAIL_ADDRESS>
Current version of pixman: 0.26.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Apr 29 15:12:57 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
 Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.

Server terminated with error (1). Closing log file.

@griley4 You will be experiencing https://github.com/dnschneid/crouton/issues/1505 xiwi is the only option for you at the moment. AFAIK kali and wheezy have this problem. jessie I still need to test.

Thank you for the prompt reply, i will stick with xiwi for now and keep my eyes on this issue and #1505 for updates

@DennisLfromGA If you re-read, you'll see that following the update procedure was the first thing that I did (and how I knew to post here).  In fact, I ran the update procedure multiple times just to be sure.
@divx118 If I understand you correctly, one option might be to upgrade from wheezy to jessie?  At this point I'm open to anything; if I can't resolve it in a few days, I'll probably just copy my home directory off, scrap the whole thing and start over.  If I can get X windows back without doing this, though, I'd be happy, since it took a little while to tweak all of the settings for how I like it.

@jcharris - You're right, I guess I just glossed over that part.
I'll butt out and let the heavies in here help you out - sorry :/

@jcharris Yes, upgrading it to jessie should work.

I am not sure that it is a good solution, but I can verify that it "works".  I first had to delete over a GB of files to avoid running out of memory to perform the upgrade, and afterwards the error messages remain (in fact, more are created... see below).
I would recommend that if no better solution can be found, that for someone in a similar position to simply save their files, delete the chroot, and start over.

chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/debian...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
Current Operating System: Linux localhost 3.8.11 #1 SMP Mon Apr 27 08:37:50 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=1b6e61fc-e530-0e4a-8580-ad5f0b741d23/PARTNROFF=1 hashtree=PARTUUID=1b6e61fc-e530-0e4a-8580-ad5f0b741d23/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=19983e99694f43f58c9b7fe794a36276d6631a9b salt=c1f66bbcb95439a8ee2d0617298166203029c4b74e1da8c2eb976c10a5fbe491" noinitrd vt.global_cursor_default=0 kern_guid=1b6e61fc-e530-0e4a-8580-ad5f0b741d23 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 11 February 2015  12:32:02AM
xorg-server 2:1.16.4-1 (http://www.debian.org/support)
Current version of pixman: 0.32.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon May 11 13:15:49 2015
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
xf86: found device 0
crouton: version 1-20150503215233~master:75fb08cb
release: jessie
architecture: amd64
xmethod: xorg
targets: xfce
host: version 6812.83.0 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Mon Apr 27 08:37:50 PDT 2015 x86_64 GNU/Linux
freon: yes
No Chromium OS X server is available.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root

(xfce4-session:24369): xfce4-session-WARNING **: Unable to launch "xfce4-settings-helper": Failed to execute child process "xfce4-settings-helper" (No such file or directory)

(xfce4-session:24369): xfce4-session-WARNING **: Unable to launch "xfce4-settings-helper": Failed to execute child process "xfce4-settings-helper" (No such file or directory)
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable

(xfdesktop:24385): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfdesktop:24385): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfdesktop:24385): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfdesktop:24385): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch

@jcharris Those errors can be ignored. However I agree, I would prefer creating a new chroot instead of upgrading a distro.


Fix front-end auth

See https://github.com/gpuctl/gpuctl/issues/136

Logging out is currently not permanent as the token cookie stays around. It sounds like the best/easiest way to fix this is to add a new endpoint for revoking tokens.
Also admin actions on the WebAPI might not be checking the admin permissions currently?

I think fixing both of these could be done in follow-up PRs.

This should't be merged before mila reviews the frontend site of it.


Set watch:false doesn't work

System Info

Details
Expected behavior
Set watch:false should disable rspack watch mode.
Actually behavior
The watch mode  also work
Reproduce link
No response
Reproduce Steps

I cannot reproduce this with 42c51b23, which is a rather new version of code.
Procedure:

cd ./examples/angular/. And in the rspack.config.js, there is already a watch: false, so no need to change config for it.
pnpm run build

After building, the thread exits and the actual output is:
> node scripts/build.js

rspack compiled successfully in 5987 ms
undefined

Any further idea for reproducing this issue?  😲

Seems had been fixed. I will close this issue. If this issue occurs again, just reopen it


Demo-server-docs

@edan-bainglass can we close this branch or are you planning to reopen this?

I'll probably reopen it once I finish the first-time visitor PR, I think.


[WIP] Merger increments version of merged and redirected works

For #3083

As per discussion with @alexwlchan and @kenoir I'm going to change this to set a mergedWork flag, that can be used in the ingestor to build a version number that doesn't overlap


Use throw new Error in ecma to preserve stack trace

In JavaScript, throwing a string doesn't capture the stack trace:

Instead, the right thing to do is to throw new Error('message') in which case the Error will capture the stack trace.

Ah that's why. =)


Unnecessary hard failure of pip-compile when a required package is already present in output with an unavailable version

This was encountered in #1529
When a needed package is already pinned in the output file,
but has an invalid or at least unavailable version there,
the compilation will fail.
Environment Versions

Linux
Python version: 3.9.5
pip version: 21.3.1
pip-tools version: 6.4.0

Steps to replicate
$ echo requests >reqs.in
$ pip-compile reqs.in
$ sed -i 's/==2021/==2041/' reqs.txt
$ pip-compile reqs.in

Expected result
I'd expect that the pre-existing content of the output file is considered "low priority" -- that if something there doesn't fit the needs of the input files, it will be discarded. In other words, it should ultimately behave in this case as if certifi isn't in the output file to begin with, and so generate a valid output file again.
Actual result
  ERROR: Could not find a version that satisfies the requirement certifi==2041.10.8 (from requests==2.26.0->-r reqs.in (line 1)) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 1.0.0, 1.0.1, 14.5.14, 2015.4.28, 2015.9.6, 2<IP_ADDRESS>, 2<IP_ADDRESS>, 2015.11.20, 2<IP_ADDRESS>, 2016.2.28, 2016.8.2, 2016.8.8, 2016.8.31, 2016.9.26, 2017.1.23, 2017.4.17, 2017.7.27, 2<IP_ADDRESS>, 2017.11.5, 2018.1.18, 2018.4.16, 2018.8.13, 2018.8.24, 2018.10.15, 2018.11.29, 2019.3.9, 2019.6.16, 2019.9.11, 2019.11.28, 2020.4.5, 2<IP_ADDRESS>, 2<IP_ADDRESS>, 2020.6.20, 2020.11.8, 2020.12.5, 2021.5.30, 2021.10.8)
Traceback (most recent call last):
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/bin/pip-compile", line 8, in <module>
    sys.exit(cli())
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/piptools/scripts/compile.py", line 466, in cli
    results = resolver.resolve(max_rounds=max_rounds)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/piptools/resolver.py", line 175, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/piptools/resolver.py", line 319, in _resolve_one_round
    their_constraints.extend(self._iter_dependencies(best_match))
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/piptools/resolver.py", line 428, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/piptools/repositories/local.py", line 79, in get_dependencies
    return self.repository.get_dependencies(ireq)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/piptools/repositories/pypi.py", line 236, in get_dependencies
    self._dependencies_cache[ireq] = self.resolve_reqs(
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/piptools/repositories/pypi.py", line 199, in resolve_reqs
    results = resolver._resolve_one(reqset, ireq)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py", line 379, in _resolve_one
    dist = self._get_dist_for(req_to_install)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py", line 331, in _get_dist_for
    self._populate_link(req)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py", line 300, in _populate_link
    req.link = self._find_requirement_link(req)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py", line 266, in _find_requirement_link
    best_candidate = self.finder.find_requirement(req, upgrade)
  File "/home/andy/.local/share/venvs/42fa537b433f422253f0da1997538ecd/venv/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 909, in find_requirement
    raise DistributionNotFound(
pip._internal.exceptions.DistributionNotFound: No matching distribution found for certifi==2041.10.8 (from requests==2.26.0->-r reqs.in (line 1))

The fix is still sitting in #1531, but I want to note here that the bug only seems to affect the legacy resolver, so using the backtracking resolver is a workaround until/unless the fix gets merged.


🐞 Unresponsive Cards Links missing

Description

Even on having appropriate details on website the link to those details are missing.
I would like to add correct and proper links for proper functioning of the website. Please assign it to me under gssoc'23. I want to work upon this issue.
Current behaviour
Missing links for proper redirection
Expected behaviour
Links to proper expected pages.
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

Logs
No response
Browsers
No response
OS
No response
Are you contributing for a program ?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

@akanksha984 Can you please elaborate on what you are suggesting ?

The cards are missing links . The sections dedicated to btech be bcom bsc is present in the website but the redirection to that section though these cards are missing

Oh yes.  Thanks for this. We do need it but I think this is already being addressed in https://github.com/amupedia2021/Project-Amupedia/issues/478 . I am closing this for now as duplication but feel free to suggest add-ons if you have thought any.


can't type ASCII codes

Hi,
When typing ASCII codes with ALT+numpad keys, it displays the digited numbers only (cmd) or "Digit argument:" (powershell)
for example, trying to type '{' on powershell, it shows this

/dup #1401


[BUG] Black screen on gnome arch linux

Describe the bug
I cant enter the os after booting after doing :
sudo envycontrol -s nvidia --force-comp --coolbits 24 --dm gdm

System Information:

Model: [e.g. Acer-Nitro 5 AN 515-44 [NVIDIA GTX 1650 TI / AMD GRAPHIC INTEGRATED]
Distro: [Arch Linux]
Kernel: [6.2.7-arch1-1]
DE/WM and Display Manager ( Gnome 43 with GDM]
Nvidia driver version: [525.89.02]

Additional context
journalctl -u gdm.service
-- Boot 0616ff81c7744ca5921b0f6152ed8713 --
Mar 22 18:40:52 Acer-Nitro5 systemd[1]: Starting GNOME Display Manager...
Mar 22 18:40:52 Acer-Nitro5 systemd[1]: Started GNOME Display Manager.
Mar 22 18:41:42 Acer-Nitro5 gdm[501]: Gdm: Tried to look up non-existent conversation gdm-launch-environment
Mar 22 18:41:42 Acer-Nitro5 gdm[501]: Gdm: GdmDisplay: Session never registered, failing
Mar 22 18:41:42 Acer-Nitro5 gdm[501]: Gdm: GdmDisplay: Session never registered, failing
Mar 22 18:41:42 Acer-Nitro5 gdm[501]: Gdm: Freeing conversation 'gdm-launch-environment' with active job
Mar 22 18:41:42 Acer-Nitro5 systemd[1]: Stopping GNOME Display Manager...
Mar 22 18:41:42 Acer-Nitro5 systemd[1]: gdm.service: Deactivated successfully.
Mar 22 18:41:42 Acer-Nitro5 systemd[1]: Stopped GNOME Display Manager.

@bayasdev
sudo envycontrol -s nvidia --force-comp --coolbits 24 --dm gdm --verbose
output :
Switching to nvidia mode
Enable ForceCompositionPipeline: True
Enable Coolbits: 24
INFO: Found Nvidia GPU at 01:00.0
INFO: Found AMD iGPU
INFO: Created file /etc/X11/xorg.conf
# Automatically generated by EnvyControl

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "amdgpu"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "amdgpu"
    Driver "amdgpu"
EndSection

Section "Screen"
    Identifier "amd"
    Device "amdgpu"
EndSection

INFO: Created file /etc/modprobe.d/nvidia.conf
# Automatically generated by EnvyControl

options nvidia-drm modeset=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1

INFO: Created file /etc/X11/xorg.conf.d/10-nvidia.conf
# Automatically generated by EnvyControl

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "ForceCompositionPipeline" "true"
    Option "Coolbits" "24"
EndSection

Operation completed successfully
Please reboot your computer for changes to take effect!

sudo envycontrol -s nvidia --verbose
output :
[light@archlinux ~]$ sudo envycontrol -s nvidia --verbose
Switching to nvidia mode
Enable ForceCompositionPipeline: False
Enable Coolbits: False
INFO: Removed file /etc/X11/xorg.conf
INFO: Removed file /etc/X11/xorg.conf.d/10-nvidia.conf
INFO: Removed file /etc/modprobe.d/nvidia.conf
INFO: Found Nvidia GPU at 01:00.0
INFO: Found AMD iGPU
INFO: Created file /etc/X11/xorg.conf
# Automatically generated by EnvyControl

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "amdgpu"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "amdgpu"
    Driver "amdgpu"
EndSection

Section "Screen"
    Identifier "amd"
    Device "amdgpu"
EndSection

INFO: Created file /etc/modprobe.d/nvidia.conf
# Automatically generated by EnvyControl

options nvidia-drm modeset=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1

INFO: Found gdm Display Manager
Operation completed successfully
Please reboot your computer for changes to take effect!

@kisenaa I see the problem

Run xrandr --listproviders and take note of the name of your AMD iGPU (eg: Radeon XYZ)

Create the following .desktop file but replace "modesetting" with the name you got in step 1

https://wiki.archlinux.org/title/NVIDIA_Optimus#GDM
Please report back whether it works or not

@bayasdev i think it didn't work . i created two .desktop file . However i cant see amd igpu name through xrandr . here is the output :
[light@archlinux ~]$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 1 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x1e0 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 1 name:modesetting

Still blackscreen. I assume its amd problem so I removed any amd part at xorg.conf , so my xorg.conf like this :
Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "amdgpu"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

I still have 10-nvidia.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "ForceCompositionPipeline" "true"
    Option "Coolbits" "24"
EndSection

It's working and i can boot to arch but the screen tearing is noticable. the prime syncronization is off at nvidia settings. but i already set the ForceCompositionPipeline to true at 10-nvidia.conf . do u have any ideas to fix ?

@kisenaa does this work for you?
https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only
Sadly I don't own any laptop with AMD and Nvidia hardware so I can't test by myself

I have the same problem, did you manage to solve it?


First-class support for windows

Currently blocked by https://github.com/chromium/badssl.com/issues/519 since we rely on it for our test suite.  Might be able to setup our own later this week if they don't renew the cert.


Add Unit Test for Neural Network

Neural Network Initialization
set Data Buffer
set Optimizer

Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #41. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/nntrainer/ci/repo-workers/pr-checker/41-202004162053300.70415711402893-f54465f246f5339d24c8d50ee806e82ce2115137/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/nntrainer/ci/repo-workers/pr-checker/41-202004162100260.92537403106689-e713ffa0689f564147f22e01ab9b478df8b166eb/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/nntrainer/ci/repo-workers/pr-checker/41-202004162126120.56466197967529-cdae9ee7e75afc8c5282317ad8514cbfdf30d529/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


What is sess_number in DeepCTR/examples/run_dsin.py?

DeepCTR/examples/run_dsin.py
Could you please clarify what sess_number in line 24?
Cheers

sess_number is valid session number of each sample。
sess_number= np.array([2, 1, 0])indicates the first sample has two valid sesssions,the second sample has one valid sessions,and the third sample has zero session because this user does't have any history behaviors.


Fix a couple of bugs in the top5 blocks.

A  couple of questions:

where is Site Setup / Actions (I went into the ZMI to portal_actions)
The search does not work for me.  If I put context.app.records() instead of search in the loop, the page displays my records, and the totals are > 0.  So I don't know why search does not return anything.

Site Setup / Actions is a new Plone 5.1 control panel (nicer than ZMI portal_actions, but does just the same). Maybe we should mention to go to portal_actions when using 5.0.
regarding the search, I guess there is an index issue here, make sure total is declared as indexed in your .yaml and call @@rapido/the_app/refresh to reindex everything.

I refreshed, and got this output:
Refreshed (id, total)

Still nothing in top 5.  Does it matter which .yaml file the index is declared in?  The training says to put it in rate.yaml, but since it's used by top5, it would make more sense to me to put it in top5.yaml.  Still, no matter which file I declare the index in, nothing happens.
I've added you as manager to my heroku test site, so you can take a quick look, if you don't mind.

I found the problem.
In the like function, we need to call the record's save method:
def like(context):
    ...
    record.save(block_id='rate')

If we don't, the item is updated in the storage, but it is not indexed. That's something I haven't mentionned in the training (and neither in the Rapido tutorial).
Thank you for your review :)

That's fixed.


Use a single gql query in ComponentDidMount

There are currently 3 queries in ComponentDidMount, and they could all be collapsed into a single GraphQL query to improve performance.

:tada: This issue has been resolved in version 0.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Feature] display cmd on all screens

Hi,
I am using two screens ("displays" in Windows language) on my Windows setup and it would be nice to see all the cmd's output on both of them and not just on screen 1, the reason being that sometime when I work on screen 2, I cannot be sure about the status of win-vind and need to look at the other screen, screen 1, to see the cmd feedback there (such as when I switched modes).
So I think the right way is by default (or, alternatively, by a .vindrc command) to enable simultaneous display of the current cmd on both the screens (or more than two is set up that way).
Thank you!

That's true. It's essential to consider multiple displays. This will be implemented for sure.


Pycryptobot rejects currency with name longer than 5 letters

When trying to configure bot to trade on the Binance on the BAGDER / USDT market, I'm getting the following error:
badgerusdt    | Traceback (most recent call last):
badgerusdt    |   File "/app/models/config/binance_parser.py", line 142, in parser
badgerusdt    |     raise TypeError('Base currency is invalid.')
badgerusdt    | TypeError: Base currency is invalid.
badgerusdt exited with code 1

The base currency is BADGER. Dante on the Telegram Chat states, that this is because parser is checking for maximum 5 letters.
Would it be possible to extend the allowable length of the currency name to 6 letters? Or maybe more, I'm not sure if there are longer names,
best
Darek

@dbobak, I am pretty sure this was fixed a while back. Can you upgrade to the latest version and confirm this is still an issue?

I am trading TFUELUSDT and not having this problem. New version should solve this.

Yes, it's fixed. I did not noticed, when; but now the problem is gone. Thank you, @whittlem!


Battleround license

https://github.com/Leejjon/Battleround does not seem to have a license attached
Contact the author(s) and ask for the possibility to add a suitable license.

I opened an issue about it. https://github.com/Leejjon/Battleround/issues/1

The creator answered and added the Apache license. Will add entry soon.


Hwkim286 patch 1

Here is my solution for the exercise. The approach I took was to create a data frame for each a.csv and b.csv with every possible id as one column and their counts as another. Then I outer joined the two data frames and replaced NaN values from ids that only show up in one of the data frames with 0s. I noticed that the counts were outputted as floats, so I changed the data type to integer. Lastly, I created a csv file using the merged data frame.


Hyderabad Office Amenities

,  GitHub have picked up Sohini Tech Park in Hyderabad as our office building, where Microsoft India was also building out their new spaces a part of their office expansion in Hyderabad. Both MS and GH offices are almost ready to function as office, though both are still closed due to the pandemic
GitHub’s first office in India for over 100 employees is almost ready! Located at the Sohini Tech Park in Hyderabad the office is likely to open in Q1, FY22 subject to COVID-19 guidelines. One of the main reasons for choosing this location was because Microsoft has identified this site for its office expansion in Hyderabad.
While the physical infrastructure and office fittings are in place, there are a few decisions pending regarding amenities that will be provided to employees at the office. This list of amenities has been compiled basis what Microsoft is offering in its office at Sohini Tech Park.
There are multiple stakeholders who need to work together to take a call on these amenities as some of these may not naturally fall within the scope of the workplace team or HR. The intention of this issue is to get all stakeholders together to finalise the list of amenities and find budget for these.

The following are the list of amenities that need to be discussed:

Medical Service @Clinic: Outsourced doctor visits the office and  provides medical consultation to MS employees at all MS campus including Sohini Tech Park. Employees must book an appointment with the doctor via the DoctorTool with MS credentials. This service is managed by and part of the budget available to Facilities team in MS.

NOTE: GH already provides the Connect & Heal Medical Support to employees in India. So the decision is whether we should still sign up and fund this amenity. Workplace team currently does not have budget for this service as other GH offices do not provide this service.

Concierge Service: Employees can stop by the Concierge desk to avail services like payment of bills eg utility bills, run errands at the bank or post office, personal travel reservation, assistance for paperwork for passport, insurance applications etc, coordinate vendors for misc home errands like car washing, plumbing etc among others.

NOTE: This is not within the scope of the Workplace team and there is no budget assigned.

Employee Shuttle Service: This is a common facility that is provided to employees in IT companies in India. This is a home to office pick up and drop facility at scheduled times. This is mostly to ensure the safety of employees and to address the risk of disruption of public transportation.

NOTE: This is not within the scope of the Workplace team and there is no budget assigned.

Use of multipurpose rooms (MPRs): These are large meeting rooms available in Microsoft offices for large assembly of employees or visitors invited to the office. The question here is that since MPRs are not available at the GH office in Sohini park, can we work out an arrangement to rent them from MS?

NOTE: Who will bear this cost and are there any tax implications when it comes to renting this from MS. Secondly, GitHub's L&D team has negotiated hotel rates across locations and countries for large meetings. Should we just leverage that and request them to add hotels in Hyderabad if they haven't already done so?


Localization Priority + Author metadata mixed up.

Right-click on the page to View Source.
Notice this metadata which seems to be a mix up between the author and loc priority metadata.

Localization metadata should be in the following format (value is usually medium or high)

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

ID: f76d96ac-5343-20e2-9d99-9c1cea7ccc2e
Version Independent ID: a95c9b39-4a66-d726-4404-de5af60ac982
Content: Windows Update error code list by component
Content Source: windows/deployment/update/windows-update-error-reference.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: greglin

@TinaMcN  - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@jaimeo - The metadata shows the below info in line 9.  What should be the localization_priority for this doc?  Please let us know so we can create a PR to fix this. Thank you.

Whatever the standard priority is. I think it's "normal"?

For Windows content the value for standard priority is "medium".    Office content has other values (e.g. Normal) - I'm working to get that standardized soon.

@TinaMcN - I created PR #5356 to fix and close this issue once it is merged.
Thank you for your contribution to make the docs better! We greatly appreciate it!

Ah I see! I didn’t know the standard was different for Office vs. Windows. “Medium” is fine—whatever the baseline is.
vv
J.O.
From: Tina McNaboe<EMAIL_ADDRESS>Sent: Monday, November 4, 2019 10:52 AM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Jaime Ondrusek<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [MicrosoftDocs/windows-itpro-docs] Localization Priority + Author metadata mixed up. (#5300)
For Windows content the value for standard priority is "medium". Office content has other values (e.g. Normal) - I'm working to get that standardized soon.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fissues%2F5300%3Femail_source%3Dnotifications%26email_token%3DADLV2WFKJS4ZNPU7OYW42ITQSBVL5A5CNFSM4JF7OAHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDAKBJY%23issuecomment-549494951&data=02|01|jaimeo%40microsoft.com|b5166ac962df4effe91008d76158086f|72f988bf86f141af91ab2d7cd011db47|1|0|637085010224574969&sdata=uSubM3UlbwTWqqh1FC848xTkdIEylhMMAyoVaB8xJLU%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADLV2WBVXJIMFIEOM2KRG3TQSBVL5ANCNFSM4JF7OAHA&data=02|01|jaimeo%40microsoft.com|b5166ac962df4effe91008d76158086f|72f988bf86f141af91ab2d7cd011db47|1|0|637085010224584961&sdata=gPGZasW3%2FRw%2BFf96PeI7wS0Tz%2FXZ5Eu7zxSvburpKwY%3D&reserved=0.


Rare Infinite Loop While Extracting Unmapped?

Perhaps you can shed some light on top this - very occasionally, we see salmontools processes which seem to never terminate.
Here you can see some which have been operating for more than 4 hours and which are still consuming full CPU:

Here is the sample in question: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM2432103
Do you have any idea what might be causing this?
Sorry that this isn't a more reproducible report!

Here are the 10 accession codes which had the longest jobs which successfully completed and the length of the transcriptome index we used to run it:
accession_code |     index_type
----------------+---------------------
 SRR4423743     | TRANSCRIPTOME_SHORT
 SRR5342767     | TRANSCRIPTOME_SHORT
 SRR3666783     | TRANSCRIPTOME_SHORT
 SRR6494603     | TRANSCRIPTOME_SHORT
 SRR1524241     | TRANSCRIPTOME_LONG
 SRR4423749     | TRANSCRIPTOME_SHORT
 SRR6297667     | TRANSCRIPTOME_LONG
 SRR6877472     | TRANSCRIPTOME_LONG
 SRR4423750     | TRANSCRIPTOME_SHORT
 SRR6494612     | TRANSCRIPTOME_SHORT

These transcriptome indices can be downloaded here:
https://s3.amazonaws.com/data-refinery-s3-transcriptome-index-circleci-prod/DANIO_RERIO_TRANSCRIPTOME_LONG.tar.gz
https://s3.amazonaws.com/data-refinery-s3-transcriptome-index-circleci-prod/DANIO_RERIO_TRANSCRIPTOME_SHORT.tar.gz

These samples are also derived from .sra files, extracted with fasterq-dump.
Could our issue have anything to do with the bug mentioned in this unmerged pull request?

To complete @rob-p's request I am tagging @hiraksarkar

@cgreene thanks for tagging. Looking into the failure.

@Miserlou are you running the SalmonTools master branch?

Yes, we use git clone https://github.com/COMBINE-lab/SalmonTools.git and build that. Does your branch fix this error?

Hi @Miserlou,
So I forked a version and use that for with some modification, as I wanted the zipped-extracted files. but the code is more or less same. https://github.com/hiraksarkar/SalmonTools is the one I use. I generally use the fastq from embl sites. Can you give me a copy of your fastq from zenodo or some other storage. Would debug with that.

@hiraksarkar : We would also prefer the files be zipped. The next step of our process is actually to zip them. So if you and we are the only people using this functionality of SalmonTools, maybe it would make sense to bring that functionality into the main repo also?

@cgreene, noted, I will create a pull request.

Is it the same as #1?

Yup, I guess I created this before.

Tagging @rob-p as it seems I don't have write access to this repo.

Here are some example files which caused the problem: https://zenodo.org/record/1438469
Here's a screenshot of our Salmon pipeline, without and with Salmontools. Salmon is taking ~5-10 minutes, Salmontools is taking multiple hours:


chore: merge main to beta

2.8.0 (2024-03-14)
🐛 Bug Fixes

capture PostHog event for workspace upgrade banner shown and modal clicked (#2927) (05d168f)
updated npm-shrinkwrap.json with new package name (#2936) (afcfdc2)

🍕 Features

allow URLs when pasting repos (#2933) (ede987f)

Description

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[x] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Steps to QA

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

👍🏼


use proper curl command to preserve options...

...the wifi install script does not use the set of options defined, so fails on e.g. self-signed certificates .

Good catch, but could you send a pull request against the bug fix branch?  https://github.com/munkireport/munkireport-php/tree/bugfix

Sure. See #454


Add additional kubelet flags to cli ref

Added some of the additional cli flags for kublet (addressing #9322). It appeared that kublet lacked some of the flags compared to kubeapi which had many more.
Before: https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/
After: https://deploy-preview-9344--kubernetes-io-master-staging.netlify.com/docs/reference/command-line-tools-reference/kubelet/

/lgtm

/lgtm
/approve

/assign @tengqm

@jimangel ouch. I'm going to close issue #9374 to avoid confusion. It looks as though the real issue to discuss is #9413. TL;DR for anyone else looking at this PR: the generated docs script isn't picking up kubelet flags bc of the way they're handled in the code. So we have this PR as a temporary manual solution. Waiting to approve per discussion in #9413 but I will do no later than the end of this week (July 13) if we don't hear anything more on the code side.

/approve


Community discussion area?

I'm very interested in this project. I created my own logging tools in PHP and would like to move forward as time (never) permits to enhance the rendering of the logs.
Please create/document a Discussions area in this repo, a Gitter channel, Discord, or Slack team so that interested developers can discuss how this works and other topics outside the scope of "issues" here.
I can create a Discord server and give @eazel7 admin access, but I believe it would be more appropriate and easier to do a Discussions area here.
Thanks!

Hi @TonyGravagno :wave:
thanks for your engagement!
I added a Gitter chat link in the Readme.md
also I invited you there, in case that's missing somehow, here's the link:
https://gitter.im/of-course-i-still-log-you/community
see you there!

Perfect! That's all I ask. Thank you very much!!


Add files via upload

Update image to match changes in interface.
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by clifford-smith on behalf of MOC Labs Review.


West 0.7.0 docs

DNM until the container is rebuilt with 0.7.0 final. Just for testing for now.

Merging since this is passing docs check and block everyone.


provisioning volkovlabs-grapi-datasource plugin

Hi,
I want to provision volkovlabs-grapi-datasource plugin in grafana using the yaml file in grafana/provisioning/plugins
can you say me what I have to write in the yaml ?
I tried :
apiVersion: 1

apps:
  - type: volkovlabs-grapi-datasource
    disabled: false

but doesn't work and grafana don't start
and I don't want to use grafana-cli to install the plugin
thanks for your help

Thanks
I have install the plugin with environment variables
GF_INSTALL_PLUGINS=volkovlabs-grapi-datasource
I haven't found how to do it with the grafana.ini file

now I have an error on my dashboard panels

Authentication to data source failed
Object
status:400
statusText:"Bad Request"
data:Object
message:"Authentication to data source failed"
error:"Bad Request"
response:"Authentication to data source failed"
config:Object
method:"GET"
params:Object
url:"api/datasources/proxy/uid/grafana-http-api/api/annotations"
retry:0
headers:Object
hideFromInspector:false
message:"Authentication to data source failed"

in exemple of provisioning datasource : https://volkovlabs.io/plugins/volkovlabs-grapi-datasource/provisioning/
there is no token
can we add the token ?

@Mhatagada Documentation updated: https://volkovlabs.io/plugins/volkovlabs-grapi-datasource/provisioning/
Let us know if there is anything else.

Thanks

@Mhatagada The next question is how to provision it with an API Key when deploying a new Grafana instance.
I am thinking of doing an HTTP API call to create a Token and then update Data Source.
Let us know if there is anything else.

for now I do it in bash after deploying
if it can help :
	jsonTokenApi=$(curl -X POST -H "Content-Type: application/json" -d '{"name":"apiKey-grapi", "role": "Admin"}' http://${GRAFANA_USER}:${GRAFANA_PASSWORD}@<IP_ADDRESS>:3000/api/auth/keys)
	token=$(echo $jsonTokenApi | jq .key)
	jsonDataSource=$(curl -X GET -H "Content-Type: application/json" http://${GRAFANA_USER}:${GRAFANA_PASSWORD}@<IP_ADDRESS>:3000/api/datasources/name/grapi)
	datasourceId=$(echo $jsonDataSource | jq '.id')
	echo $jsonDataSource | jq '. + {"secureJsonData":{"token":'$token'}}' | jq '. + {"secureJsonFields":{"token":true}}' > .datasource.json
	curl -X PUT \
		-H "Content-Type: application/json" \
		-d @.datasource.json \
		http://${GRAFANA_USER}:${GRAFANA_PASSWORD}@<IP_ADDRESS>:3000/api/datasources/$datasourceId

@Mhatagada That's awesome. Let me add it to the documentation!

@Mhatagada I did some formatting and added to the documentation: https://volkovlabs.io/plugins/volkovlabs-grapi-datasource/provisioning/
Appreciate it!


fix user settings

Motivation:
fix error settings to avoid high cpu usage when there are many folders.
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

@leizhiyuan this pr merged into master instead of 6.x

@straybirdzls  yes , I have pushed it .


[PL-51810] Redirect kots to Helm installation

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: Redirect KOTS to Helm installation
Jira/GitHub Issue numbers (if any): PL-51810
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[x] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[x] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6668be9f79dfcf122a6738d0--harness-developer.netlify.app


⚠ ClamAV has degraded performance

In 1415ed3, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 82 ms

Resolved: ClamAV performance has improved in b572514 after 5 minutes.


Update document.title/fav icon with # min remaining

Porting over from https://github.com/googlecodelabs/codelab-components/issues/23.

Probably need to use something like https://github.com/ejci/favico.js

Tracking in https://github.com/googlecodelabs/tools/issues/132


Multiple YAxis does not adjust grid width

Codepen
https://codesandbox.io/s/apexcharts-yaxis-bug-cjvoh
Explanation

What is the behavior you expect?
I expect the grid width to be reduced when more yaxis are added.
What is happening instead?
The grid overlaps with the legend causing the xaxis to appear in the legend.
This is more noticeable in charts with larger widths.
What error message are you getting?
No errors.

I checked with v3.12.0 and I got the below result

The above output is valid, hence closing it.


Changing the row's color on a value

Is there anyway of changing the table row's color based on a cell value? this would be really helpful I cant seem to make it work no matter what i try.

I'm not aware of a way for CSS to read what is in your HTML. What are you using to generate your page? You could apply the classes conditionally with JavaScript, but I don't know if you're using JavaScript.

https://developer.mozilla.org/en-US/docs/Web/CSS/attr


Update create_completion.py

OpenAI seems to be moving away from models designed for specific coding tasks, and instead general models that can handle both text and code. Pass in ''code-davinci-002", to comply with the latest updates, please use "text-davinci-003".

FWIW, codex is still available via Azure
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/work-with-code

FWIW, codex is still available via Azure
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/work-with-code

"Azure OpenAI Service requires registration and is currently only available to approved enterprise customers and partners."

closing this due to switch to chat api


mj-include does not respect order when the included file contains ...

According to the MJML docs

You can wrap your external mjml files inside the default mjml > mj-body tags to make it easier to preview outside the main template.

I have this working using the official MJML extension in VS Code. However when I try the same with MJML.Net it doesn't work as expected.
Given the following example
        var files = new Dictionary<string, string>
        {
            ["import.mjml"] = @"
                <mjml>
                    <mj-body>
                        <mj-section>
                            <mj-column>
                            <mj-text>Imported Text</mj-text>
                            </mj-column>
                        </mj-section>
                    </mj-body>
                </mjml>
"
        };

        const string source = """
                              <mjml>
                                  <mj-body>
                                      <mj-section><mj-column><mj-text color="red">Hi there!</mj-text></mj-column></mj-section>
                                      <mj-include path="import.mjml" />
                                      <mj-section><mj-column><mj-text color="red">Hello Again!</mj-text></mj-column></mj-section>
                                  </mj-body>
                              </mjml>
                              """;

        var result = TestHelper.Render(source, new MjmlOptions
        {
            FileLoader = () => new InMemoryFileLoader(files)
        });

The "Imported Text" element is rendered before the other two elements instead of between them.
I've done some digging and can see that each BodyComponent creates it's own buffer and then adds it to GlobalContext. What's happening here is

The first body creates a buffer (Buffer1) and "Hi there" is written to it.
The nested body creates a new buffer (Buffer2),
"Imported Text" is written to Buffer2.
Buffer2 is added to GlobalData
"Hello Again!" is written to Buffer1
Buffer1 is added to GlobalData
Buffer2 and then Buffer1 are written out in the final render.

I did think of trying to fix it but wasn't sure of the best approach. My initial thought was to yield and discard Root and Body components if they exist in an Include component.

Sounds like a good idea to implement it without buffering. PR is welcome


can I use single object permanently in application code?

Hi,
By any chance, is there possibilities for any issues if I use just single object('redis' in following) for whole application lifetime generated as like following I can see in read.me.
const Redis = require("ioredis");
const redis = new Redis(); // uses defaults unless given configuration object
I mean I will use just single object without "disconnecting and reconnecting" or "deleting and generating new object".
So I'm checking whether there happen to be any possibility for the issues such like memory increasing, buffer overflowing, etc I can think up easily.
Thanks.

Yes, you can, and actually this is the recommended way to use ioredis instead of creating many Redis instances though connections are lightweight.

Yes, you can, and actually this is the recommended way to use ioredis instead of creating many Redis instances though connections are lightweight.


Incorrect use of route option

There are couple of issues in this repo about connecting to other services behind the vpn and I'm also trying to solve the similar problem. When reading the documentation and checking the ovpn_genconfig script it seems to be clear, that additional route with -r option should do it (while having networking stack exposed to the openvpn container with the --net host). But it doesn't. Using the -r option results in line like this in the server openvpn config file:
route <IP_ADDRESS> <IP_ADDRESS>

In openvpn documentation, we can read:
--route network/IP [netmask] [gateway] [metric]
    Add route to routing table after connection is established. Multiple routes can be specified. Routes will be automatically torn down in reverse order prior to TUN/TAP device close.
    This option is intended as a convenience proxy for the route(8) shell command, while at the same time providing portable semantics across OpenVPN's platform space.

So.. when this is specified, opnvpn will try to setup route for <IP_ADDRESS> (in this example) on the server side, which is wrong, because on the server, this subnet is routed correctly. What we need, is to specify the route on the client side, so the traffic for <IP_ADDRESS> will be routed through the vpn. Therefore, the correct option for the server side config should be:
push route <IP_ADDRESS> <IP_ADDRESS>

I've tested this and it works for me the way it should.

@pieterlange awesome, thanks for pointing that out, I've missed that. Also, do you know about a use case for the server side route option? I still can't think of any.

This is getting more into openvpn specifics, but this would (for example) be used if you want your openvpn server to access networks routed by openvpn clients (to be used in combination with the --iroute parameter).

All right, thanks. I'm closing this issue as there's no problem with the code except maybe missing documentation and a slightly lacking UI/UX (it seems to me that pushing the route option to the client is more useful use case than using the route option on the server side, so I don't understand why it has it's own switch in the ovpn_genconfig script - it's just confusing).


TypeError: Cannot read property 'type' of undefined

[2/26/2021, 8:30:12 AM] [enphaseEnvoy] Device: <IP_ADDRESS> Envoy, update Device state error: TypeError: Cannot read property 'type' of undefined
at envoyDevice.updateDeviceState (/homebridge/node_modules/homebridge-enphase-envoy/index.js:2028:64)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Plugin Version 4.6.6
Homebridge 1.3.1
nodejs 14.16.0

Can U get me output from
http://envoy.local/production.json

{"production":[{"type":"inverters","activeCount":18,"readingTime":0,"wNow":0,"whLifetime":7905289}],"storage":[{"type":"acb","activeCount":0,"readingTime":0,"wNow":0,"whNow":0,"state":"idle"}]}

Please also from
http://envoy.local/api/v1/production

{
"wattHoursToday": 19393,
"wattHoursSevenDays": 98401,
"wattHoursLifetime": 7905289,
"wattsNow": 0
}


Add Another options

When i try to add deferRender options, an error occurs. Even though deferRender feature available in datatables documentation
The option "deferRender" does not exist. Defined options are: "autoWidth", "displayStart", "dom", "fixedHeader", "jQueryUI", "lengthChange", "lengthMenu", "order", "orderCellsTop", "ordering", "pageLength", "paging", "pagingType", "processing", "search", "searchDelay", "searching", "serverSide", "stateSave".

Hi,
As stated in the documentation (see: https://omines.github.io/datatables-bundle/#configuration) :

Only options which are meaningful to be defined serverside can be set at this level, so setting callbacks and events is not possible. These are however easily set on the Javascript end.

You need to do this :
$('#dt').initDataTables({{ datatable_settings(datatable) }}, {
    deferRender: true,
});

Thank you @MaximePinot for providing the correct and swift answer   😄


Panic when receiving message signed by self

Closes #57
A test for this added as an item in #9

I thought we counted our own votes by receiving our own messages. Is this not the case?
Anyways, anyone on the network can send us our own message back. If we're going to panic here, we should reject messages from ourself in ReceiveMessage.

Also, IIRC, @Kubuxu was working to remove the participant ID from the instance (as signing will be handled by the client).

I agree with Stebalien. We still should have some way to detect this case, but I'm moving towards removing the ParticipantID from the instance in #188.
The current code in there passes our own messages the same way as any other, but we can differentiate them.
Given the replay tests, where the adversary replays messages, I also wonder why this PR works right now.

I thought we counted our own votes by receiving our own messages. Is this not the case?

This happens internally to the GPBFT instance, below this entry point.
Given that, yes, just rejecting the message here would be enough. Or if the participant ID is removed from this level, then this check needs to be performed higher up where the participant ID is known.
I'm fairly confident that dropping of equivocations #153 will mean things are probably ok here now. But this check for misconfiguration would still be valuable. I'll close this PR, but leave the issue open and assign to @Kubuxu to do somewhere closer to the network.


Fix bulkSet

~I think it may potentially fix https://github.com/jlongster/absurd-sql/issues/30~
After that fix, the writing performance become slower. But we should await before all the writes finish to finish the transaction. Otherwise, the next read IDB (when you want to execute SELECT for example) will need to await when previous INSERT will finish, which is not fair for the SELECT query. And, it seems the benchmarks are wrong at the article (but not so much! The write performance is still amazing).
Also, I don't see any performance penalty of Promise.all usage — the new IDB transactions are not spawning, the overall performance at the first glance is the same.

Here is the example, without await and with. You can notice that without await the next select query slow down a lot (cause IDB wait write transaction to finish). And with await, the next select query is fast.
https://user-images.githubusercontent.com/7958527/178583328-fa19e55c-0c2e-4f10-81d2-60c42edbb5f8.mp4

Update: this PR actually doesn't fix #30 😢

@quolpr did you try with https://www.npmjs.com/package/idb?


Contributing: Add section about release versions and deprecation

Picked up Steven's PR #2137 and corrected NEXT_RELEASE to TBD.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

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 82.47%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
19115

Relevant Lines:
23178

💛  - Coveralls


Editor can offer useless suggestions

e.g.

V1.14.1, Windows 7 Pro 64-bit

This is by VS Code's design. IntelliSense offers Hi as a suggestion since you typed it before.
Plus how can you manage to make 11 issues in 2 hours? Get a life

This is by VS Code's design.

Source?

Plus how can you manage to make 11 issues in 2 hours?

I'm more productive than average. :)

This is controlled by editor.wordBasedSuggestions.
You can also check editor.suggest.showWords which controls if suggestion with text type should be in list.

This is controlled by editor.wordBasedSuggestions.

The useless suggestion behaviour I'm reporting is not.

You can also check editor.suggest.showWords which controls if suggestion with text type should be in list.

 If that doesn't work you'd have to film exactly what you do and upload here because it should work.

It means that there is not enough info to see what problem is if disabling settings mentioned above doesn't work for you.
So you need to describe what is expected behavior, what actually happens and why settings above don't work for this problem.

IllusionMH Do you see this behaviour?

you need to describe what is expected behavior

Sorry - I thought that was obvious. Now added.

what actually happens

Already done. That's the screenshot.

and why settings above don't work for this problem.

Already done.

There might be other suggestions that follow the list, even in your case there isn't.

Showing completion item that matches current word is a design decision made long time ago. We won't change that.

There might be other suggestions that follow the list, even in your case there isn't.

I'm reporting the case where there is not.

Showing completion item that matches current word is a design decision made long time ago

To what purpose?

After updates it became more clear.

To what purpose?

Not that useful in plain text files but in JS/TS and other languages it will also provide ability to auto-import for matching name, so it's not useless by default. Also - good way to check if I haven't done any typos, but that's for me.
I guess that part of the problem come from the fact that VS Code will show suggestions automatically.
This behavior can be controlled by editor.quickSuggestions to turn off automatic suggestions display and editor.quickSuggestionsDelay to delay automatic display.
Combined with the fact that it can be configured for each language separately makes reasonable balance: while matching selections will still be there for all languages - there will be no automatic suggestions that "eat" keystrokes for .txt and .md files.

Not that useful in plain text files

Is there any use in plain text files?

but in JS/TS and other languages

This behavior is supposed to be language-aware, right?

I guess that part of the problem come from the fact that VS Code will show suggestions automatically.

I don't think so. All of the problem is that is shows suggestions that are useless - because accepting them does nothing.

This behavior can be controlled by editor.quickSuggestions to turn off automatic suggestions display and editor.quickSuggestionsDelay to delay automatic display.

This behaviour is useless suggestions and those options control all suggestions regardless.


API Changes: Flow-Metatypes

Task Description

[ ] Remove typdefs
[ ] Replace all occurences of metatype to meta_type. Example: sol_flow_metatype_context to sol_flow_meta_type_context
[ ] Function read_file in sol_flow_metatype_context should receive a struct sol_buffer as argument instead of const char **buf, size_t *size

Dependencies
None.

I'm not sure i like meta_type more than metatype... :-D

Me too :[

ok, so let it as metatype

well, use typedef there will turn the illegible, i.e
int (*(sol_flow_metatype_get_generate_code_start_func)(const struct sol_str_slice name))(const struct sol_flow_metatype_context *ctx, struct sol_buffer *out);
i think is better let as it is.

done


allow deleting composite types

@kevboh this should unblock you, i hope

Filed https://github.com/kyleconroy/sqlc/pull/2138 upstream, fwiw. I didn't put any effort into it, because I don't really expect it to ever get reviewed. :(


Update to Solution of speaking to Falo the Bard

Including a better description of his location and the closest fairy ring.

Southwest of the fairy ring might be a better description, since it involves crossing the bridge to get to him.

I agree. Fixed that.

Is this really necessary now after we have the map helper?

I mean, is it not quicker to just get the quick tip? It certainly isn't lowering the value of the clue helper.


Adding some useful LDAP CME modules I tend to use

Just thought I would help out the community and provide some modules that I like to use when enumerating Active Directory. Original repo is here:
https://github.com/Cyb3rC3lt/CrackMapExec-Modules/

I think these require further testing. Going to resubmit at a later stage.

Absolutely thank you, I realised after submitting it so decided to work further on it 😊. I think it's a worthwhile feature so I'll implement that and it will come back stronger


Return types of query results

It would be great if the return type of a generated useQuery were automatically exported, making it easier for me to use them in my own interfaces. Since the recent update you released, the return type of a query is, for example, Omit<useQueryResult<type, unknown>, "data"> & { data: TData }, which is fantastic because it allows us to override the return type. However, it now requires me to adjust all my code to accommodate the 'omit' variant, and 'UseQueryResult<type, unknown>' is no longer valid.

This has been resolved in v0.5.2.


Investigate "update" issue

For several weeks, we have been experiencing an issue with Pantheon publishing.
When the update button is pressed, an error occurs sporadically (in my experience about half the time). The message "Invalid JSON result" displays on top of the post. Repeatedly pressing update tends to work, but often 2 or 3 presses are required.
When the failure happens, the update button clears very quickly, and this message appears at the top of the edit window.

On closer inspection, I can see that the POST request is sporadically returning a 404, when it hits https://live-digital-ca-gov.pantheonsite.io/wp-json/wp/v2/pages/1226?_locale=user.   Response headers include a message from Pantheon.

The "remote address" (IP) appears unchanged between posts, but the behavior is sporadic, possibly due to an underlying issue with an edge network.
The following screenshot shows the 404 happening 3 times, before finally succeeeding.

This likely requires getting some assistance from Pantheon tech support.

Had a conversation with Michael, and interestingly, this may only be happening to me!  Going to confirm, and also test to see if the code-editor (which I tend to use exclusively) is a factor.

This one looks like a doozy. Please reach out if you want me or one of the other engineers to do some testing.

Testing showed that this was happening to me only.  The problem went away after I cleared my cache & cookies.  I suspect my Pantheon/Wordpress cookie had gotten corrupted in some way.  This cookie is sent in the request header for the API call that was 404ing, and WP may be triggering some logic based on it. It's odd that the problem was sporadic, however.


add profile support

Provide capability to choose between authenticating with access key or with ~/.aws/credentials profile.
I also noticed that workgroup wasn't getting passed in to the athena client when starting query execution.
Limit and Offset appeared to be in the wrong order. Not sure if it's just a configuration for my aws db or if it was just overlooked.
Thanks for a great base code to work with.

Hi @g1ddy,
Thank you so much for your contribution, we will take a closer look to your submission probably today or tomorrow :)
Kind regards.

+1 for needing this thanks @g1ddy for adding and @brunoventura for the project in the first place!

Sorry for the sparse detail. I've updated my PR comment since then.
Thanks again!


Reopening #1795

I disagree with closing the closing of #1795
The replace option of composer should be used to indicate that the defining package replaces the package defined in the replace section, as easy-coding-standard does not replace symfony/polyfill-php70 it should not specify it in the replace section as per the composer documentation on replace
My project defines it in the replace section because it doesn't need it to be installed as my project defines a minimum version of php7.2, in this case it's up to the project to specify that the polyfill does not need to be installed by specifying it in it's replace section, that is why it's defined in the skeleton, so no unnecessary libraries get installed

It's due to bug in ecs.phar caused by Symfony enforcing PHP 7.0 polyfil that are not really needed. They should contain PHP version conflict in composer.json.
There is nothing we can do about it, unless fixed directly in Symfony.
If you find a better way how to protect installing polyfil packages, feel free to open PR.


Enable OpConstFunctionPointerINTEL outside function

According to spec this opcode is a constant instruction - that's it
can appear outside of function bodies.

Corresponding SPIRV-Headers change: https://github.com/KhronosGroup/SPIRV-Headers/commit/0c29056241448ed1078dca2331b825d629983b8e already checked in, SPIRV-Tools must be changed accordingly.

The CI failure is unrelated.  I've rebased this change and made PR #4576


Travis build: oraclejdk9

Coverage remained the same at 68.715% when pulling a354e57fa75200cc08ae27d76bbc7456d26994dd on oraclejdk9-travis into 02ba98b1a4f977603da7096a91eb998507cddb4f on master.


Feat: add annotations and labels to gateway.cue

add annotations and labels to gateway.cue and update gateway.yaml by "make reviewable"
fix this issue https://github.com/kubevela/kubevela/issues/6396

LGTM


Enums?

Does Modelrocket support enums or is there a recommended practice for implementing enum properties in Modelrocket models?
Thanks,
Tom

Hey Tom,
Thanks for the question! ModelRocket does support enum properties, as long as the enum conforms to the JSONTransformable protocol.
Using the Vehicle model from the README, here's an example of how you could use an enum to parse the material of a vehicle's interior:
enum VehicleInterior: String {
    case Fabric = "fabric"
    case Leather = "leather"
}

extension VehicleInterior: JSONTransformable {
    static func fromJSON(json: JSON) -> VehicleInterior? {
        return VehicleInterior(rawValue: json.stringValue)
    }
    func toJSON() -> AnyObject {
        return rawValue
    }
}

class Vehicle: ModelRocket {
   let interior = Property<VehicleInterior>(key: "interior")
}


Update Axon to Onnx to latest Livebook and simplify snippets

@meanderingstream, can you please take a look if everything still makes sense from your side? Thank you!

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Bug in 'number' type and 'text' type field with number validation

Problem Description
Not sure if there is any intention to make this work properly but in the old days, there was a number type field and also there is a number_validation option on text fields but neither of them seem to work at all in the Visual Builder and even on the backend side there are a few problems.
The settings I found in the core looked promising:
'number_validation' => true,
'value_type'        => 'int', //or 'float'
'value_min'         => 0,
'value_max'         => 100,
'default_on_front'  => '0',

When used, they have no effect though. Furthermore if 'number_validation' is turned on, you can only enter number of 0-100 in the BB and in the VB you can still enter characters.
I'd love to see a proper number  field. Currently I mostly rely on range fields to enter numbers but this is not always a good solution. For example I have a number counter module and the user can enter any number but also letters as the field is a textfield.
Sure, I sanitize the field in my code but it would be more convenient if a user couldn't enter letters at all. A number field or a option on text fields to make sure the entered number is actually a number (int or float) would be great and it would be even better if it worked in the VB as well.
The problem with the range field is, that it is not obvious for the user that he can enter any number if desired, even if it's outside of the range of the slider. I'd really like to see a setting like this:
'a_number'   => array(
    'label'           => esc_html__( 'A number', 'et_builder' ),
    'description'     => esc_html__( 'Enter a number or leave empty to use the default value of 125', 'et_builder' ),
    'type'            => 'number',
    'default'         => 125,
    'value_type'      => 'int', //or 'float'
    'step'            => 25, //or 132.2
    'option_category' => 'basic_option',
    'toggle_slug'     => 'main_content',
),

Implementation shouldn't be to hard I believe. Its basically a range field but without the slider. I hope you understand what I mean. :)

QA Checklist
Reporter

[ ] Helpful title used

Helpful title format: Scope(s) :: One Sentence To Describe The Issue
Example: VB :: Floating Toolbar :: Jumps To Top Of Page

[ ] Detailed description

Description should usually be 150+ characters.

[ ] Steps to reproduce included
[ ] Support Ticket URL included
[ ] Image and/or gif

Developer

[ ] Steps to reproduce proven solved
[ ] Test included and coverage acceptable and all Tests passing?
[ ] PR description has layman's description of problem and solution and "Areas Affected" listed/explained?
[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Estimated points on issue
[ ] Proper code documentation and conventions?
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Peer Review

[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Steps to reproduce proven solved
[ ] Affected areas are tested and ok
[ ] Proper code documentation and conventions
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Quality Assurance

[ ] All tests passed on CircleCI.
[ ] Steps to reproduce passed, the fix works.
[ ] No errors in console or output
[ ] Affected areas are tested and ok
[ ] The fix does not change a customer's website in any surprising or unintended way

[ ] If Divi's design is adjusted, settings are migrated gracefully and invisibly

Design Review

[ ] UI is to spec
[ ] UX is to spec
[ ] Design is to spec
[ ] No surprising visual changes to a customer's website will be experienced after updating

[ ] Any/all visual changes are migrated gracefully

Dev Review

[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?
[ ] i18n used if applicable
[ ] Implementation acceptable, DRY, Scaleable, future safe
[ ] Best practices used, cleverness and grokage, ES6 use, etc.


after_prepare.js broken PLATFORM.ANDROID.stringsXml

Error on line 52.20 from file after_prepare.js
The folder path to compile looks like it has changed in Cordova-android 7.0 for
'app \ src \ main \ res \ values' error occurred while generating PLATFORM.ANDROID.stringsXml

same problem here

Please check out this pull request - https://github.com/arnesson/cordova-plugin-firebase/pull/570 It contains the fix to install the plugin for cordova android 7.0.0

Trying to fix this in #039e29e. please test!


panic: close of closed channel (possibly via https://github.com/bsm/sarama-cluster)

Yesterday we upgraded to Kafka 0.9 and the latest Sarama library.  We are using https://github.com/bsm/sarama-cluster to distribute/rebalance our four kafka running instances.  This morning, two of our four daemon instances crashed with "panic: close of closed channel".  I haven't been able to reproduce it yet but here is what I see in the logs:
[Sarama] 2016/01/22 07:47:29 client/metadata fetching metadata for all topics from broker localhost:9092
[Sarama] 2016/01/22 07:49:03 cluster/consumer -a9899ac7-1b49-40cf-848d-bb843b7231d7 rebalance
2016/01/22 07:49:03 kafka server: The provided member is not known in the current generation.
[Sarama] 2016/01/22 07:49:03 client/coordinator requesting coordinator for consumergoup backend from localhost:9092
[Sarama] 2016/01/22 07:49:03 client/coordinator coordinator for consumergoup backend is #0 (services.veramine.com:9092)
[Sarama] 2016/01/22 07:49:03 consumer/broker/2 disconnecting due to error processing FetchRequest: read tcp <IP_ADDRESS>:54970-><IP_ADDRESS>:9094: i/o timeout
[Sarama] 2016/01/22 07:49:03 Closed connection to broker services.veramine.com:9094
2016/01/22 07:49:03 kafka: 1 errors while consuming
[Sarama] 2016/01/22 07:49:03 cluster/consumer -a9899ac7-1b49-40cf-848d-bb843b7231d7 rebalance
[Sarama] 2016/01/22 07:49:03 client/coordinator requesting coordinator for consumergoup backend from localhost:9092
[Sarama] 2016/01/22 07:49:03 client/coordinator coordinator for consumergoup backend is #0 (services.veramine.com:9092)
panic: close of closed channel

The close came from gopkg.in/bsm/sarama-cluster.v2.(*partitionConsumer).Close(0xcb3d2d8d20, 0x0, 0x0)
Here's the code there:
func (c *partitionConsumer) Close() (err error) {
        close(c.dying)
        <-c.dead

        if e := c.pcm.Close(); e != nil {
                err = e
        }
        return
}

Do you think I should suggest a change to first check the partitionConsumer to see if it is already closed before closing, or do you think something could be done on sarama side to avoid a panic?  I figured that even if a kafka instance died, eventually a rebalance would accomodate that so I'd rather not panic.  I would be happy to open a suggestion over on the sarama-cluster side if you guys think it belongs over there.  Thanks!
Jonathan

Since the crashing line of code is in sarama-cluster, my assumption is that the bug is in that code. Please file upstream and if their investigation suggests sarama is the root cause we'll take a look then.

Sure, will do.  Thanks!

On Jan 22, 2016, at 12:07 PM, Evan Huus<EMAIL_ADDRESS>wrote:
Closed #598.
—
Reply to this email directly or view it on GitHub.