Split drivers up

Each install should have 10 separate drivers, with each driver acting as a standalone copy, and coordinate that back with the control app. This seems to be the only way to truly have multi-display functionality

[ ] Add named pipes and completely remove port functionality - pipes kind of done
[x] Split up into 10 driver instances with disabled process sharing
[ ] Set up each driver to be dedicated monitor, and listen for named pipe connections
[ ] Have client connect to all 10 monitors and turn them on/off individually

Looks like the real source of the problem should be separate contexts per monitor / device.

This is defunct now. The multi monitor problem has been fixed in one driver.


Firefox errors when using KodaDot

I'm trying to test KodaDot with Firefox incognito, and my console is very red. Seems that every click/operation within the app produces the same error.
Uncaught (in promise) DOMException: A mutation operation was attempted on a database that did not allow mutations.
On top of that, there are various network errors:
Network errors:

Console:

This happens when I'm trying to use KodaDot without login:

Even after restarting the firefox, sometimes I land into infinite loading window:

tested with both polkadotJs and Talisman accounts

Not sure if this is because of my firefox settings, but I currently can't even get to minting

https://github.com/kodadot/nft-gallery/issues/3352

With Safari happens likewise I see a bunch of errors in explorer (504 on pictures).
Probably we will put it on hold, make firefox and safari less supported browsers with KodaDot
Curious, is the passion filter default on there? Seems that takes bit much more time to resolve on the user side.

Curious, is the passion filter default on there? Seems that takes bit much more time to resolve on the user side.

passion filter was previously on by default, but we turned it off since user without bought nfts didn't see anything,
same thing will be on landing page, off by default:

https://github.com/kodadot/nft-gallery/pull/3151


Setup for out-of-source builds

Not sure if this is the right place to ask but how does one properly set this up for out of source builds?
I have a fortran project organized into several different source directories with a separate build
directory.  The project structure looks like:
$ tree . -d
.
├── build
├── filter
├── optimizer
├── pde_solver
│   ├── app
│   ├── base
│   ├── embedded
│   ├── integrate
│   ├── io
│   ├── lib
│   ├── mms
│   ├── operator
│   ├── solver
│   └── system
├── tests
│   └── utils
└── tools

I created a .fortls file at the root of my project which looks like:
{
    "mod_dirs": [
        "build/optimizer", "build/tools", "build/pde_solver/base",
        "build/pde_solver/embedded", "build/pde_solver/integrate", "build/pde_solver/io",
        "build/pde_solver/lib", "build/pde_solver/mms", "build/pde_solver/operator",
        "build/pde_solver/solver", "build/pde_solver/system"
        ]
}

After a cmake build, all those directories are populated with the appropriate .mod files but the language server still can't seem to find them when I edit a source file.  Am I missing something?
Thanks.

This is the right place! The language server that this package uses parses the source files, not the module files. So you need to point the language server to the directories containing the source files.

Thanks for the quick response!
Is there something special I need to do to add the source file locations?
After playing around with this some more it seems that when I open a file, it tries to compile the file and that's where it's running into issues with missing .mod files.  Can I turn that feature off?

The "mod_dirs" variable actually specifies the source file directories. Sorry, that is a little confusing. By default though it the server will search all directories below the root directory of your VSCode project
As for the build errors. This package does not do any compilation or anything like that, so if you're getting errors related to compilation it must be coming from another package.

Thanks @hansec.  So I shouldn't need to specify the mod_dirs at all then.
Thanks for clarifying the build errors as well.  Since I only have two extensions active I suspect the other one is the culprit..


Update _index.md

👷 Deploy Preview for dat4lab processing.

Name
Link

🔨 Latest commit
e22162a436b1d55b0841df31885236661075ddf5

🔍 Latest deploy log
https://app.netlify.com/sites/dat4lab/deploys/6525659e9847800008e19f53


Prepare to release v0.1.0 stable version

1.Change the version number.
2.Merge develop and loongson3a branch
3.Test the library on x86 and Loongson 3A.

For the release, it may also be a good idea to reorganize the directory structure, so that there is a clean top-level directory, and all code in src. Generated libraries can be in lib, documents in doc/ etc.


Added method to reassign ownership for Postgres multi-user-rotation.

I created an alternative solution to the ownership problem for the multi-user-rotation.
The solution provided by @thekevinbrown in issue #39 didn't work in our case.
https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas/pull/39#issuecomment-646551901
Issue #, if available:
Issue #38
Description of changes:
I found an easy way to transfer ownership of all objects created by one user to another and created this PR.
I didn't have a chance to test this yet, since I didn't have time to set up a local environment and I'm not a python developer. So, please keep that in mind and take a closer look at my code :)
Do you have a test-environment for your rotation-lambdas?
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@FloWi Did you find another path to solve this, or are you just using your branch code for the lambda?
This is a needed fix.
@followben and @madsid

@xsnrg I think we discarded this feature for now because of this bug. We're not live yet so no need for password rotation.


Capture packets on macOS?

I'm using the built-in Wireless Diagnostics 'Sniffer' tool to capture WiFi packets on macOS to a .pcap file.
Opening in Wireshark shows many packets to and from a TuyaSmart device, but the pcap_parse tool just shows: Processing file 1 'trace.pcap' and nothing else.

I should add that I'd like to capture packets from another device on the network - e.g. a mobile device running Smart Life

Nevermind. I figured out how to do this with a connected iPhone.


Install SE2 with NPX

It'd be cool to be able to install SE2 with npx. eg:
npx create-se2-app <projectname>
Also, in the future, we could use npx templating to have some options  on install: e.g.

Which component / extensions you want to install
Hardhat vs Foundry
....

Example on NextJS

For now, lets explore how we can set npx installs that do a clean install of SE2.
Thoughts @technophile-04 @rin-st ??

Really wanted this for so long with scaffold-eth, but
!! I thought !! we weren't doing it because  :

we won't be able to track users and also people will lose attachments with the GitHub repo (showing them new additions/commits)
Also I think to create something likenpx create-se2-app we need to change the folder structure a bit which makes it difficult to contribute to the repo if newcomers find a bug, checkout create-web3-daap really found difficult to contributing here because the thing which I get when I do npx create-web3-daap in my local maching is different from github repo, which is not in case of scaffold-eth I found a bug quickly raise a PR or issue without any hassel( this is only my perception and is very naive since all the people won't be interested in contributing and might not make sense which is completely fine :) ).

These are some of the blockers which !! I thought !! because of it we are not doing something like npx create-se-app .
But I would really love to see/excited for npx create-se2-app maybe we just keep the above points in mind which I think will be covered since our motto is (keep it simple & minimal) 🙌

I believe we need that functionality, but it seems it's a huge task. I have never tried to do something like that, so I need to research. We should probably do it when the main priority things are completed.

Hey everybody, enabling this to be installed via npx, yarn create, or pnpm create is not a huge task.   More like a medium task but pretty straight forward.   I'd be happy to chat sometime about what it would take to get this done.
\

Sounds great @roninjin10
Let's talk this week in Denver if you are around! I think Austin already DMed you.
Thanks!

When talking with @roninjin10 (Thanks! <3), we thought that a first good step would be to create a new repo (e.g. create-se2-app) that has the "binary" to:

Check requirements? Node / Yarn / etc
Clone the SE-2 repo
Ask if you want to install the project dependencies

In the future (when thinking about letting the builder choose between Hardhat OR Foundry), we could reconsider if we need to implement a more complex system (like npx templating).
Some resources:

https://github.com/wagmi-dev/create-wagmi (they use templates)
https://blog.deepgram.com/build-npm-packages/

How goes this @carletex @austintgriffith?   Anything I can help with?

We are making progress @roninjin10! Check NPX install in https://github.com/scaffold-eth/se-2/issues/251#issuecomment-1480765238
Would love to hear your opinion on #251
Thanks!

Closing this on favor of #251


Feat: Offline mode

So users may use vocos in GPU clusters w/o internet available.

Does it currently require internet connection? Why?

Does it currently require internet connection? Why?

It does.
https://github.com/gemelo-ai/vocos/blob/main/vocos/pretrained.py#L67-L68
https://github.com/gemelo-ai/vocos/blob/main/vocos/feature_extractors.py#L68

Does it currently require internet connection? Why?

It does.
https://github.com/gemelo-ai/vocos/blob/main/vocos/pretrained.py#L67-L68
https://github.com/gemelo-ai/vocos/blob/main/vocos/feature_extractors.py#L68

@hubertsiuzdak Hello, may you spare sometime and review / merge / reject this PR?


provisioner: fix azureZones input to be optional

Description
The new azureZones field in AzureProviderConfigInput input parameter was meant to be optional, to keep backwards compatibility with the current API (providing zones list only).
Related issue(s)

/test pre-main-control-plane-gke-integration

/retest


TypeError: objectFitPolyfill is not a function

TypeError: objectFitPolyfill is not a function
I get this error in Firefox/Chromuim with version 2.0
It points to the lines at the bottom if the files where this functions is called. (I tested this locally with the uncompressed files)
Live example: https://www.asoundeffect.com/oscar-nominated-sound-arrival-deepwater-horizon-lala-land-hacksaw-ridge/

Gah, sorry about that - completely my bad! I was testing in IE (which returns a usable function) and forgot to check in Chrome and Firefox, which returns early, resulting in undefined errors. This should be fixed now in the latest commit - let me know if it's working for you!

Yes works, thanks.


#25 : apply all comments from Dana, Yu Dai and Dima

This change is

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


winit-26 as default

This resolves #587

I really appreciate the timely updates! Unfortunately, even though imgui-winit-support can use winit 0.26, imgui-rs is still stuck on glium 0.30 which requires glutin 0.27 which requires winit 0.25. glium 0.31 would work, though.

I'm not sure what happened to the Git history here, but somehow it's completely messed up on my machine.
I'm going to close this PR and open another to merge


fix: change type weather app (and formatting)

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

the first commit is only the type change, the second is formatting of the file with prettier

Found other 4 labs with the wrong challengeType, so fixed that here too


Credentials management confuses package source URL conventions

Description
It seems, that on one of our setups paket requires credentials registered for both, normalized package urls (without /v3/index.json) and full urls with suffix /v3/index.json
I just debugged all the way until i got to the place where the package sources have no proper authentication.
I hope people more involved in the code can reason about this description, otherwise i need to prepare a setup which is a little time consuming.
maybe this is also intended behaviour, still is wasted some hours ;)
Repro steps

use package sources requiring authentication and only register the long url version (add-credentials) ending with /v3/index.json
install

Expected behavior
works
Actual behavior
fails with unauthorized exception
Known workarounds
register package sources in different variants
@WalchAndreas @kkroesl @luithefirst

So you are using the v3 source in the dependencies file, but it only works when the v2 url is added as well?
Can you post your dependencies file?

no. i needed to add credentials for two versions of the same source. example:
.paket\paket.exe config add-credentials https://some-myget-Url/F/somefeed/api/v3/index.json
AND
.paket\paket.exe config add-credentials https://some-myget-Url/F/somefeed
where the dependencies file only lists the full url as such:
source https://some-myget-Url/F/somefeed/api/v3/index.json


[nrf fromlist] cmake: fix improper use of separate_arguments

PR: https://github.com/zephyrproject-rtos/zephyr/pull/43761
The use of separate_arguments() in extra_flags.cmake and
unittest.cmake prevents the use of proper CMake lists.
A CMake list can be specified on command line as:
-DMY_LIST="itemA;itemB;itemC"
Users are expected to be able to provide extra compile flags using CMake
lists, like -DEXTRA_CFLAGS="--flag1;--flag2" but also using space
separated lists, like: -DEXTRA_CFLAGS="--flag1 --flag2".
Instead of using separate_arguments(...) for this purposes, then it
is better to simply replace spaces with ; to create a proper CMake
list, regardless of the input form used by the user.
This is same principle that is used for CONF_FILE, DTC_OVERLAY_FILE, and
other settings.
Signed-off-by: Torsten Rasmussen<EMAIL_ADDRESS>

This replaces https://github.com/nrfconnect/sdk-zephyr/pull/760/commits/9dced082deaceed9e6ccbf76b83e139043b0a022


Please don't force reinstall

When trying to combine scripts (for example: Machine Learning / Web), software gets forcefully reinstalled.
This seems like a waste of time and bandwith if the version is matching the one you currently have.
Is it possible to not do this or is there a specific reason why this is being done?

@JanMulkens can you confirm if you are seeing this problem when you try to run the script twice?  Or are you seeing this when using the script for the first time?

This is actually a known choco/boxstarter bug. Boxstarter reverted the choco library that intoduced this bug but that fix was not deployed to the latest click once app. We are planning a new click once deployment next week that should remove this problem.


Efficient serialization of programmatically constructed strings

A neat idea from @nox that would make a big difference for hyper_serde. We shouldn't need to build the entire string in memory before serializing it.

<nox> Ever thought of doing a SerializeString type parameter, with push_str and methods like that on it?
<nox> Another consequence of doing SerializeString is that we could make that rely on fmt::Write,
<nox> in which case we can do a new default method Serializer::serialize_fmt
<nox> which is better than serializer.serialize_string(stuff.to_string())
<nox> serialize_str(&stuff.to_string()) even.

The best design would be an associated type with a default value, implementing the associated trait as a String buffer and an end method calling Serializer::serialize_str. Unfortunately, associated type default values are unstable. https://is.gd/BnNbEZ

I would like to have benchmarks before making a decision on this. Sometimes things that are obvious optimizations turn out to be negligible or even detrimental. In this case conceivably we could be taking something that is a tight loop over here and a tight loop over there and turning it into code that jumps back and forth between two loops in a way that makes the CPU sad.
@nox could you come up with a benchmark to show that this is X% better than the existing approach in some reasonable use case?

I'm not sure I understand how it could get slower? Which tight loops?

#778 convinced me that there is plenty of performance to be gained here.

@dtolnay I think so.

Personally, I think that it'd be nice if we could expose the implementations from #778 somehow so that any crate can use it.

This can be closed now, right?


上传打包后无法进行预览

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version:
Operating system and its version:
PDF.js version:
Is a browser extension:

Steps to reproduce the problem:
1.
2.
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other t

han mozilla.github.io/pdf.js or as Firefox/Chrome extension):只出来一个框

Support is only provided in English and with all details provided.


Decouple graph structure from views

Hi guys!
Firstly, thank you for the library — it's definitely something that is needed!
My immediate needs are for parsing and rendering SVG images as static images.
I know that this is possible using a MacawView (or SVGView), but this seems unnecessarily heavy for rendering images, if we are not actually using views (views are expensive).
How would you feel about enabling rendering without the view dependencies?

we could start by decoupling the scene models from view concerns (basically the touch methods);
NodeRenderer should have its AnimationCache as optional (since it is only ever used optionally anyway), which would allow us to create renderers which do not depend on views;
we could abstract out some of the rendering logic from MacawView into a protocol with default implementations, allowing us to make MacawView conform to the protocol so that we can use the same logic, while also being able to make a different, non-view class which can render without a view.

Incidentally, I think we ought to be able to use some dependency injection in the view / animation methods to get rid of the nodesMap and parentsMap singletons.
Let me know what you think. I would be happy to try to create some PRs for it, if you think this is a direction you might like to take. Otherwise I would probably try creating my own library, with this as a good starting point.

Hey!
This is definitely on our roadmap and we would be happy if you can work on a PR. Your idea is right -
we need to have view-independent renderer with optional animation cache/nodesMap/etc. which can draw scene on any Graphics Context. Please let us know if you have any other questions.

Thanks for getting back to me.
I have already started making the animation cache optional and am making the nodesMap a generic injected dependency. This does mean, however, that I need to make the NodesMap class public because we need to be able to inject it in the Array extension method group( _: Transform, _: Bool, _: Double, _: Locus?, _: Effect?, _: Bool, _: [String]) which is public.
It will also affect the public signatures if the animation classes, since they will become generic. Is this ok for you?

Hello, @Rupert-RR ,
As I can see, it is a better way to make NodesMap - internal optional property for Node's classes. So we still incapsulate singleton's maps from users and be able to inject proper instances using MacawView and similar wrappers around CGContext

We can do that, but in which case we cannot have NodesMap as a generic, which means tying it to MacawView, which seems a bit pointless when all that is needed for the mapped object is an object with a node property.

NodesMap still can be generic, something like:
class NodesMap<T: AnyObject> {
let map = NSMapTable<Node, T>(keyOptions: NSMapTableWeakMemory, valueOptions: NSMapTableWeakMemory)

rename all methods to something more general:

getView() -> getContainer()
add(_ node: Node, view: MacawView) -> add(_ node: Node, container: T)

But we can't add a generic property to a class without specifying the concrete type used by the property.
weak var nodesMap: NodesMap<T>?
will not work, T must be a concrete type.
And if we don't provide a nodesMap parameter in the Array extension method group( _: Transform, _: Bool, _: Double, _: Locus?, _: Effect?, _: Bool, _: [String]) then all uses of that method will result in a Group with a nil nodesMap (we could add an internal method with that parameter but then it just means that public uses of the method may have the surprising effect of not linking to the node map).

Good point, going to try quick workaround using protocol:
protocol MacawContainer: AnyObject {
var node: Node { get set }
}
class NodesMap {
let map = NSMapTable<Node, AnyObject>(keyOptions: NSMapTableWeakMemory, valueOptions: NSMapTableWeakMemory)

Seems like protocol is good solution, here is some updated logic:
Archive.zip

I considered using a protocol, but then you end up having to cast to the MacawView in the animation method, to get the layer.
But it's probably a good way to start with, since it avoids changing any public API.
I'll have a look again after lunch.


evaluate some values by tpl function

#366
Evaluate following values by tpl function:
ingress.annotations
ingress.hosts
ingress.tls[].hosts
configMap.rawConfig

Hi, @spnngl @maxime1907 @desaintmartin
Can you please review my pull request?


[feature] add document search function for website

I try to use Algolia DocSearch which is supported officially, but my application was rejected.The reason is that our documentation isn't hosted on its final url and most of its content not final and stable. So the search function will be delayed until most of documentation content is completed.


Get nosetests working after removing the setup.py change

This is a temporary change as we work towards getting maven to work across languages and building and testing both the python and java code.
R: @aaltay PTAL
CC: @dhalperi
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Created https://issues.apache.org/jira/browse/BEAM-1449 for the long term strategy.

Is it possible to add a presubmit check of type diff -q <first copy> <second copy> somewhere?
LGTM otherwise.

LGTM. I suppose we can update pom.xml to include the diff test suggested by @davorbonaci. Could we do that in a separate PR, since we are planning to address this in a better soon?

Coverage decreased (-0.007%) to 69.724% when pulling 94b1a0e6a57f3649b2391ffdcf7fc5ba810d6439 on sb2nov:BEAM-fix-broken-nosetests into 9ec22f17388ef8d15ccd66813b7bb65647714eb4 on apache:master.

+1 to creating a different PR for the diff test, but open to otherwise.

Should we also move sdks/python/apache_beam/coders/standard_coders.yaml to tests/data?

@aaltay PTAL

LGTM. I will merge it as a short term solution.

Coverage increased (+0.004%) to 69.735% when pulling e0fd4528452539a3fdf874c5b17df572d63a257d on sb2nov:BEAM-fix-broken-nosetests into 9ec22f17388ef8d15ccd66813b7bb65647714eb4 on apache:master.


Update QUICHE from 4f552f349 to 81314ecbd

Commit Message: Update QUICHE from 4f552f349 to 81314ecbd
Additional Description: Route update, no noteworthy changes
https://github.com/google/quiche/compare/4f552f349..81314ecbd
2021-11-17 haoyuewang Internal change
2021-11-16 haoyuewang Deprecate --gfe2_restart_flag_quic_dispatcher_support_multiple_cid_per_connection_v2
2021-11-16 vasilvv Use raw hashes in WebTransportFingerprintProofVerifier.
2021-11-16 wub In TlsServerHandshaker, do not call ProofSourceHandle::SelectCertificate if QUIC connection has disconnected.
2021-11-16 quiche-dev Check for the data_deferred state before writing data for a stream.
2021-11-16 quiche-dev Consolidates references to the third-party nghttp2.h header in a single place.
2021-11-16 quiche-dev Renames Http2ErrorCode::NO_ERROR to Http2ErrorCode::HTTP2_NO_ERROR to avoid conflicts with the builtin Windows macro NO_ERROR.
2021-11-16 dschinazi Deprecate QUIC version T051
2021-11-16 quiche-dev Adds optional RST_STREAM NO_ERROR behavior after sending a fin to an incomplete request as a server.
2021-11-16 wub Deprecate --gfe2_reloadable_flag_quic_tls_restore_connection_context_in_callbacks.
2021-11-15 quiche-dev Let OgHttp2Session avoid visitor callbacks for data on unknown streams.
2021-11-15 quiche-dev Introduce NoOpHeadersHandler in OgHttp2Session.
2021-11-15 quiche-dev Extract NoOpHeadersHandler and HeaderByteListenerInterface into separate header files.
2021-11-15 quiche-dev Add testing to demonstrate nghttp2 and oghttp2 handling of data on a closed stream.
2021-11-15 quiche-dev Consolidates stream close behavior in a smaller number of places.
Risk Level: Low
Testing: Existing tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/assign @RyanTheOptimist

/assign @envoyproxy/senior-maintainers

/assign-from @envoyproxy/senior-maintainers

/lgtm deps

/retest

/retest


train_classification.py

Do we keep the code even if we don't support it anymore?

Can be close after PR switch to hydra.


fix: Index out of bounds in symmetrize_spare_matrix

Received this error intermittently:
thread 'main' panicked at 'index out of bounds: the len is 3173830 but the index is 3173830', /home/ehernva/.cargo/git/checkouts/bhtsne-5d23f839d3bdde38/69c58bf/src/tsne/mod.rs:347:17
stack backtrace:
0: rust_begin_unwind at /rustc/02072b482a8b5357f7fb5e5637444ae30e423c40/library/std/src/panicking.rs:498:5
1: core::panicking::panic_fmt at /rustc/02072b482a8b5357f7fb5e5637444ae30e423c40/library/core/src/panicking.rs:107:14
2: core::panicking::panic_bounds_check at /rustc/02072b482a8b5357f7fb5e5637444ae30e423c40/library/core/src/panicking.rs:75:5
3: bhtsne::tsne::symmetrize_sparse_matrix
4: bhtsne::tSNE<T,U>::barnes_hut
5: embed::main

I don't have an indepth understanding of this code, but it seems to me like the condition in the loop that calculates the number of columns per row is the opposite of the one that is used to increase the offsets in the main loop. From my testing, this seems to solve the problem, but probably worth thinking through that it's a valid fix before accepting this PR.

May I ask you to provide the code?


Move all CSVs to raw (or similar) directory

Should have separate directories for raw data, output data, and processing scripts

I moved all the tables to a "raw" folder.
(ps: I am not fully aware of good manners managing issues, am I supossed to close it or is it the person who raised the issue supposed to do it ?

@mfastudillo It is fine to close an issue yourself if you fixed the problem. The issue creator will get an email, and can re-open it if they need to.
For now, and during the hackathon, communicating bilaterally is fine. However, afterwards we would like to use the pull request workflow as much as possible, to help manage changes better, especially to the core repositories. This isn't a comment for you, but rather for everyone. When many people collaborate, it is easy to miss what is happening, and pull requests are a nice encapsulation of major changes.


NativeScript 7 compatibility

Updating the dependencies and references. Does require bumping the ES version, but I went with the minimum version to allow compatibility with NS7 and Angular 10.

@tjvantoll can we get this merged?

@tjvantoll can we get this merged?

There are changes required, but if these are not resolved and this is not merged soon i'll be publishing an updated version.

It appears that there was an updated version published already: https://www.npmjs.com/package/@nativescript/iqkeyboardmanager
There seems to be a weird divide between this repo and that publication though, so probably still worth fixing up and merging these

It appears that there was an updated version published already: https://www.npmjs.com/package/@nativescript/iqkeyboardmanager
There seems to be a weird divide between this repo and that publication though, so probably still worth fixing up and merging these

It's quite confusing really. It appears to be moved here. Would be nice to see that in the readme. Looking at this repository made me believe that this project was abandoned without any additional information.
https://github.com/NativeScript/plugins/tree/master/packages/iqkeyboardmanager


Changed the link for cloning the forked repository

I changed the link for cloning the forked repository in the local machine by replacing the name of repository owner to the owner of the forked repository.
Fix : #87

This simple changes is not considered as a pull request


5 Recovery functionality similar to the Editor added on crash

Closes #5

I also am not sure how to debug it, it seems to application closes properly with CTRL+Q and there is no recovery file?


Update effectful

Needs to be updated once https://github.com/haskell-effectful/effectful-time/pull/1 is merged.

Closing this PR in favour of another that will align the API with crypto-rng. :)


Add a License?

Can you add a License to this code? Would you consider adding a permissive license such as MIT or Apache2?

:) added MIT license

sweet!


Add a hopefully useful note about launching a chrome profile

Thanks, hopefully someone with experience on the profile system in firefox can also add a similar note for firefox, unless I eventually get around to looking into it myself first :)


Remove list of 10 labs from the lab story

Description of issue. The list of labs that is displayed as part of the lab story in every exercise (10 labs, with the checkboxes) is confusing for learners. They think they need to "load data" somewhere, they think they need to do certain activity and check the box. Might be better to just remove this. Or remove the checkboxes from this part.

This is good feedback, and we'll keep it in mind, however these lab instructions are used for Microsoft Learn labs as well.


[discussion] Discuss some of the pros/cons of ensuring snippets can be compiled

This seems to be tripping people up - for example in snippets which will not compile without targetScope, or dependencies on some external file. We should decide on a plan here.

I'm against that snippet should always be compilable as is. However it must be compilable by properly substituting only values that are meant to be replaced/changed.


Running command on container startup

Is there any way to run a mount command on startup? I would like to mount a set of network shares so the data can be backed up. I tried extending the container and running the mount command as a ENTRYPOINT, but this fails. Any advice would be greatly appreciated.
Best regards
Mads

I think you would have to mount them on the host and then map the volumes accordingly when you define/start the container.  You could do that in a script when you start the container.
I don’t know if Crashplan will behave differently when it sees a mount point and not a file system folder.
If you do this and the file systems are unmounted while the container is running, Crashplan will most likely treat the files as deleted.  I don’t think this is a good idea because a network failure or a server shutdown could cause Crashplan to delete your files in the archive.
From: maluht<EMAIL_ADDRESS>Sent: Wednesday, April 11, 2018 2:40 PM
To: jlesage/docker-crashplan-pro<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [jlesage/docker-crashplan-pro] Running command on container startup (#77)
Is there any way to run a mount command on startup? I would like to mount a set of network shares so the data can be backed up. I tried extending the container and running the mount command as a ENTRYPOINT, but this fails. Any advice would be greatly appreciated.
Best regards
Mads
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jlesage/docker-crashplan-pro/issues/77, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHjxRl2OQ5uElsP_kJOitomnf4kF5I6eks5tnnhJgaJpZM4TQy1O.

I agree, volume mappings is the way to go.
I don't think mounting from the container is a good idea.  You will need to give more privileges to the container or run it in privileged mode.

@bigtfromaz thanks for your suggestion, but this is not possible in windows. Crashplan do not delete files that are removed from your disk, so thats not a problem at all. I just need a way to run a command on startup, so I can mount my network shares. Must be possible somehow :)

Okay.  This is a Linux container so I gather that you are running Docker for Windows in Linux mode.  Is that correct?  I am also getting that you are doing this because CrashPlan for Windows will not back up a file share.  In any event, I would probably not use Docker for Windows in Linux mode.  It creates an Linux VM for it's own use.   I would rather create a Linux VM for my own use, mount the file share in the VM using SMB, installer Docker and run this image there; much cleaner.
If you are using Docker for Windows, I am not sure you need, or want, to map a file share to a drive letter.  I suspect that instead of D:... you you could use a URI like \yourHostName.yourDomainName\yourShareName... when mapping the volume in your docker run command.  This would be easier if you are using a Active Directory (Azure Directory) for single sign on.  If not you'll have to find a way to provide credentials.
You can create a PowerShell script or .bat file that mounts the file shares and then issues the docker run command.  If you are able to use the URI approach you won't to map the drives.
Scripts can be run on demand or you can create a task in the Task Scheduler and have it run the script a few minutes after startup.  If you don't want it to run all the time, you can write another script that stops the container and run it on a schedule as well.
Also there is a backup setting that tells CrashPlan whether or not to remove deleted files from the archive when they disappear from the source.  Make sure it set the right way.
Good places to get Windows advice on automatically mapping file shares and managing credentials would include forums at Microsoft or Stack Exchange
If I misunderstood, please me more specific and verbose regarding your environment and requirements.

Having windows is a bad idea :)
But if you cannot get rid of it, you could create a Ubuntu Virtual machine using VirtualBox or similar. Inside that VM you install docker and docker-crashplan-pro.
You configure the Ubuntu VM to mount whatever you need at start up.
After that you could make it work with some cron to start the VM in some moment of the day (or night) so the backup program can run.
I did that in my company's cluster (using linux, but it is applicable if you virtualize the host running docker) and it works.


[BUG] Target not working | Can't locate password field?

Expected Behavior
Expected PhoenixBot to automate Target login, add to cart and purchase
Actual Behaviour
Stuck on login screen with this error in console:
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/pages/homepage.py", line 524, in run
    Target(self.task_id, self.status_signal, self.image_signal, self.product, profile, proxy, self.monitor_delay, self.error_delay)
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/sites/target.py", line 70, in __init__
    self.login()
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/sites/target.py", line 103, in login
    self.fill_and_authenticate()
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/sites/target.py", line 139, in fill_and_authenticate
    self.browser.find_element_by_xpath('//input[@id="password"]').send_keys(settings.target_pass)
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
    return self.find_element(by=By.XPATH, value=xpath)
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element
    return self.execute(Command.FIND_ELEMENT, {
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: //input[@id="password"]

Screenshots
Place any informational screenshots here.

Repro Steps

Download geckodriver and point to location in /usr/local/bin
Run PhonixBot
Click on play for Target
Firefox opens
Opens login
Gets stuck in login screen and prints out error in console

Desktop Configuration

OS: MacOS 11.6
Browser:  firefox
Version: 91.0.2

Additional Context

Facing the same issue


Change URL to Dockstore API

Dockstore requests that we change the URLs we use to call their API:

https://staging.dockstore.org:8443/ to https://staging.dockstore.org/api/
https://dockstore.org:8443/ to https://dockstore.org/api/

I am unsure what Dockstore's priority is for this.
Dockstore would like to test this in a non-prod environment before deploying this change to prod. Last time we tried to make this URL change, Dockstore had CORS misconfigured for the /api/ URLs and ajax requests failed.
PR to implement the change: #1489

fyi: we could probably test the URL change in FireCloud dev/staging before merging any changes in  Terra UI, since FC's lag time between dev and prod is longer.


Jsx no bind rule

The no bind rule flags of the following jsx code.
renderButton(someParams){
  return(
    <ButtonComponent
      onClick={this.handleClick.bind(this, someParams)} // <- Error here
    >
      Submit
    </ButtonComponent>
  )
}

How ever if i modify the same function
renderButton(someParams){
  const clickHandler = this.handleClick.bind(this, someParams);
  return(
    <ButtonComponent
      onClick={clickHandler}
    >
      Submit
    </ButtonComponent>
  )
}

The error is not thrown, how ever effectively the same thing of creating a new function when the renderButton method is called takes place, only in the second case a separate variable has been assigned. But in terms of memory allocation a new function is being created in both cases and though the rule will give a sign off it'll still not impact performance.
Proposal
Modify the scope of the rule to see if bind is called within that function scope..
I may be completely wrong in some assumptions but would like a discussion here , if possible.

Yes, that should also warn, if possible.


fixes for ligo 0.60

fixes for ligo 0.60

Can we remerge again? I don't see last fixed with issues on "return" with main.jsligo file


not existent utf-8 character gets "normalized"

I'm struggling to understand an commit you made. With 10392658d4dee1a41f9398fcce35f394ca62173c you added the stripping of the character hex:e2809c08 without any testcase or futher explanation.
The problem is, there is no character in utf-8 with that hex code. What I found is the the "left double quotation mark" (U+201C), which is hex:e2809c and a valid XML 1.0 character.
Can you give me a hint which issue do you fixed with this commit?

Same question for the stripping of hex:c320 added in 3e1245511d61d5d13d26187e3624b48f481887c8, which isn't a valid hex code for an utf-8 character either.
IMHO it will break any utf-8 character which ends with hex:c3 and has a following space (hex:20).

Those commits were quick and dirty fixes for broken feeds. If I remember correctly it was for feeds that truncate the content in the middle of utf-8 character...
But your are right, it's ugly and should be removed.

Got it!
The hex:08 of hex:e2809c08 is the Backspace character which isn't valid for XML 1.0.
The hex:c320 looks like an attempt to fix ISO encoded é in UTF-8 strings, as seen in fixtures/grotte_barbu.xml. Since we decided to not take care of such encoding errors, I'll remove that replacement.


Update figure.html with img attributes

to make it possible to e.g. to lazy load an figure/image

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

@jmooring this looks good to me, but I don't have strong opinions about this either way.


cargo-sort: 1.0.7 -> 1.0.9

Description of changes
https://github.com/DevinR528/cargo-sort/compare/v1.0.7...v1.0.9
https://github.com/DevinR528/cargo-sort/blob/v1.0.9/changelog.md

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 196289 run on x86_64-linux 1

1 package built:

cargo-sort


Too many open files when running for a long time

The application opens a connection at every vcenter request, and uses atexit() to handle disconnect.
As the application never stops - in theory -, there are more and more opened connections, leading to too many open fileserror.
2 ways to fix it:

open/close connection at every requests
open connection when application starts, and close when it stops.

Try 2nd solution, see if it's OK.


Deleting saved apps

My notes keep getting deleted even with auto saved on. Is this common?

This issue is not solved yet, but has left too long.
I closed this issue.
If there is any progress, re-open this issue or make another issue.


pinch to zoom touch gestures

This should likely use a CSS transform during the gesture and then render again once the gesture is finished.

The zoom implementation now has two phases, starting with CSS scaling while waiting for a new canvas to replace the old one: https://github.com/CopperheadOS/platform_packages_apps_PdfViewer/commit/1fc544a245fa5ff23760d87b51f3927e265224f2. A touch-based zoom implementation could similarly use CSS to scale while the gesture is in-progress with the actual page render only happening when it's finished.

This is implemented.


[MKDOCS][Bug]: Missing inputs github token

Material General discussion

[X] My issue is not a question relative to Material Mkdocs nor Mkdocs (You can open a discussion to get more help!)
[X] I checked the issue to prevent duplicate
[X] I checked my configurations files and the documentation

Requirements
mkdocs==1.5.2
mkdocs-material==9.2.5
mkdocs-ezlinked-plugin==0.3.3
mkdocs-awesome-pages-plugin==2.9.2
mdx_breakless_lists==1.0.1
mkdocs-preview-links-plugin==0.6.2
mkdocs-embed-file-plugins==2.0.6
mkdocs_custom_fences==0.1.2
mkdocs-git-revision-date-localized-plugin==1.2.0
mkdocs-encryptcontent-plugin==2.5.3
mkdocs-callouts==1.9.0
mkdocs-custom-tags-attributes==0.3.0
mkdocs-meta-descriptions-plugin==2.3.0
obsidiantools==0.10.0
pyvis==0.3.2
cairosvg==2.7.1
pillow==10.0.0
mkdocs-glightbox==0.3.4
mkdocs-minify-plugin==0.7.1

Mkdocs.yml
site_name: "Andrei's Public Notes" # Change this to your site name
site_description: 'A chunk of my notes which I chose to share with the public.'
site_url: https://andreicozma.com/public-notes/ # Change this to your site URL

theme:
  name: 'material'
  logo: assets/meta/logo.jpg
  favicon: assets/meta/favicon.jpg
  custom_dir: overrides
  font:
    text: Ubuntu
    code: Ubuntu Mono
  language: en
  palette:
    # Light mode
    - media: '(prefers-color-scheme: light)'
      scheme: default
      primary: blue
      accent: light blue
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode

    # Dark mode
    - media: '(prefers-color-scheme: dark)'
      scheme: slate
      primary: blue
      accent: indigo
      toggle:
        icon: material/brightness-4
        name: Switch to light mode
  features:
    - navigation.indexes
    - navigation.top
    - navigation.tabs
    - navigation.tabs.sticky
    - navigation.expand
    - navigation.path
    - search.suggest
    - search.highlight

# Extensions
markdown_extensions:
  - footnotes
  - nl2br
  - attr_list
  - sane_lists
  - meta
  - smarty
  - tables
  - mdx_breakless_lists
  - def_list
  - pymdownx.arithmatex:
      generic: true
  - pymdownx.details
  - pymdownx.magiclink
  - pymdownx.critic
  - pymdownx.caret
  - pymdownx.keys
  - pymdownx.mark
  - pymdownx.tilde
  - pymdownx.highlight:
      use_pygments: true
      anchor_linenums: true
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.emoji:
      emoji_index: !!python/name:materialx.emoji.twemoji
      emoji_generator: !!python/name:materialx.emoji.to_svg
  - admonition
  - toc:
      permalink: true
  - pymdownx.inlinehilite
  - pymdownx.snippets
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
plugins:
  - search
  - meta-descriptions
  - git-revision-date-localized:
      type: date
      fallback_to_build_date: true
      locale: en
      custom_format: '%A %d %B %Y'
      enable_creation_date: true
  - ezlinks:
      wikilinks: true
  - awesome-pages
  - embed_file:
      callouts: true
      custom-attributes: 'assets/css/custom_attributes.css'
  - custom-attributes:
      file: 'assets/css/custom_attributes.css'
  - tags:
      tags_file: index.md
  - encryptcontent:
      title_prefix: '🔐'
      summary: 'Private page'
      placeholder: 'Password'
      decryption_failure_message: 'Invalid password'
      encryption_info_message: "You don't have access to this page."
      search_index: 'encrypted'
      password_button: True
      password_button_text: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" height="1em" width="1em"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M416 32h-64c-17.67 0-32 14.33-32 32s14.33 32 32 32h64c17.67 0 32 14.33 32 32v256c0 17.67-14.33 32-32 32h-64c-17.67 0-32 14.33-32 32s14.33 32 32 32h64c53.02 0 96-42.98 96-96V128C512 74.98 469 32 416 32zM342.6 233.4l-128-128c-12.51-12.51-32.76-12.49-45.25 0c-12.5 12.5-12.5 32.75 0 45.25L242.8 224H32C14.31 224 0 238.3 0 256s14.31 32 32 32h210.8l-73.38 73.38c-12.5 12.5-12.5 32.75 0 45.25s32.75 12.5 45.25 0l128-128C355.1 266.1 355.1 245.9 342.6 233.4z"/></svg>'
  - callouts
  - glightbox
hooks:
  - overrides/hooks/on_page_markdown.py
  - overrides/hooks/on_env.py
  - overrides/hooks/on_files.py
extra_javascript:
  -<EMAIL_ADDRESS>  - https://polyfill.io/v3/polyfill.min.js?features=es6
  -<EMAIL_ADDRESS>extra_css:
  - https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css
  -<EMAIL_ADDRESS>  - assets/css/admonition.css
  - assets/css/custom_attributes.css
  - assets/css/customization.css
extra:
  SEO: assets/meta/SEO.png
  comments: false #disable comments globally
  generate_graph: true #generate the graph of the site
  attachments: 'assets/img' #path to the folder where the attachments are stored
  no-auto-h1: false #disable the automatic generation of h1 if no h1 is found
  blog_list:
    pagination: true #enable pagination
    pagination_message: true #display the message "Showing x posts out of y"
    pagination_translation: 'posts in' #message to display before the number of posts ; Add your own translation!
    no_page_found: 'No pages found!' #message to display when no pages are found ; Add your own translation!
  hooks:
    strip_comments: true
    fix_heading: true

Error
Run actions-js/push@master
Started: bash /home/runner/work/_actions/actions-js/push/master/start.sh
Push to branch main
Missing input "github_token: ${{ secrets.GITHUB_TOKEN }}".
Error: Invalid status code: 1
    at ChildProcess.<anonymous> (/home/runner/work/_actions/actions-js/push/master/start.js:9:19)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) {
  code: 1
}
Error: Invalid status code: 1
    at ChildProcess.<anonymous> (/home/runner/work/_actions/actions-js/push/master/start.js:9:19)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

Bug description
Automatic "Get latest release from template" workflow fails.
The logs say:
Missing input "github_token: ${{ secrets.GITHUB_TOKEN }}".
however can't add GITHUB_TOKEN secret because it starts with GITHUB, so it seems like the error is coming from somewhere else.
Steps to reproduce
Nothing, the template is scheduled to run on a scheduled basis
Expected behavior
Automatic workflow expected to finish successfully.
Screenshots
No response
Additional context
No response

Hello!
Can I get the log to your actions? I don't know which steps crash :/


Add @babel/runtime to dependencies

:tada: This issue has been resolved in version 1.0.0-beta.3 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-preserve-modules.1 :tada:
The release is available on:

npm package (@preserve-modules dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Time to read for Persian articles not processed

Issue Summary
I am using Ghost in the Persian language for my blog. When I wrote the article, no matter how many characters it contained (1500 words), the time to read for that was 1 min!
Steps to Reproduce
adding a blog in Persian language (1500 words)
clicking on the preview button
the written time for reading this article is 1 min!
Ghost Version
5.26.3
Node.js Version
16
How did you install Ghost?
by ghost cli
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Hey there, thank you so much for the detailed bug report.
That does look like something that shouldn't happen! A PR to fix this issue would be very welcome 🙂

@ErisDS can I give this a try?

@prajwal0024 You're more than welcome to submit a PR for this 🙂


Add-IshFolder should have IshSession as non-mandatory for ParameterGroup

ToDo:

Fix Add-IshFolder
Check other cmd-lets. When making IshSession  non - mandatory make sure the following exists:|

        protected override void BeginProcessing()
        {
            if (IshSession == null) { IshSession = (IshSession)SessionState.PSVariable.GetValue(ISHRemoteSessionStateIshSession); }
            if (IshSession == null) { throw new ArgumentException(ISHRemoteSessionStateIshSessionException); }
            WriteDebug($"Using IshSession[{IshSession.Name}] from SessionState.{ISHRemoteSessionStateIshSession}");
            base.BeginProcessing();
        }

Run Pester tests

Checked the [Parameter(Mandatory = false, part by searching public IshSession IshSession { get; set; } in other cmdlets, and this was the only case missed since #46
Thanks for fixing, should be part of v0.13


Convert race from multi to single select

input should be a radio button.


feat(extras): add fzf colors

This PR generates themes for fzf in a format of env_var that appends new colors to the existing FZF_DEFAULT_OPTS value.

works for me. maybe the generated files should also be included.

Thank you for checking! As for the files generated: Contributing states that there generated files should not be committed, that's why I didn't add them in the fist place.

@folke, any chance we can get this merged?

Thanks!

Thanks all! ❤


How to turn off folder/date/time info bubble.

How do I turn off the info bubble with the folder/date/time?

https://github.com/eouia/MMM-GooglePhotos#tip


Neovim setup

To add :

telescope

live grep
find buffers
find marks" })
find old files
find in current buffer
git commits
git status
pick hidden term
find files

tab bar
terminal like nvchad

Comment has been setup
Tab has been setup (missing the graphical tab part above the buffer ...)


Add Train and remove Master from trackupstream

Since all of the service packages are now maintained in rpm-packaging
and updated in Cloud:OpenStack:Upstream:Master with the
openstack-rpm-packaging-update-Master job, we don't need to run
trackupstream for Cloud:OpenStack:Master, and in fact we can't any more
because those packages don't contain _service files. However, very soon
we will need to start running trackupstream for the Train branch, so
this change just s/Master/Train:Staging/ since all the conditions that
apply to the current master branch will also apply to stable/train. The
Train part of the trackupstream matrix won't work until the
Cloud:OpenStack:Train:Staging project is created in OBS.

We don't have everything in rpm-packaging yet (eg. swift, zaqar and others). Do we want to first move the rest to rpm-packaging before removing master here?

@toabctl commented on Sep 29, 2019, 9:25 PM PDT:

We don't have everything in rpm-packaging yet (eg. swift, zaqar and others). Do we want to first move the rest to rpm-packaging before removing master here?

Yes, we shouldn't remove master if there are still packages that need it. I had thought we had already moved them all over.

@cmurphy do you still plan to work on that?

Train was added already so this is pretty much irrelevant now.


Block reward of XVG is wrong.

We have mined XVG successfully. However, the block reward showing in MC is wrong. Multiplication 100x is needed. Please help to fix as this cause us distributing reward wrongly or hope can provide some quick fix so that we can fix it first. Thanks.

[
  {
    "blockHeight": xxxxx,
    "networkDifficulty": xxxxxx,
    "status": "pending",
    "confirmationProgress": 0.23529411764705882,
    "effort": 0.4166229435076656,
    "transactionConfirmationData": "xxxxxxxxxx",
    "reward": 15.6060,
    "infoLink": "https://verge-blockchain.info/block/xxxxxxx",
    "created": "xxxxxxxx"
  }
]

Are you still having this issue?

@Gadflyii There's a configuration option for coins exhibiting quirks like this: https://github.com/coinfoundry/miningcore/blob/master/src/MiningCore/Blockchain/Bitcoin/Configuration/BitcoinPoolPaymentProcessingConfigExtra.cs#L33

Old issue but I just found it on a search and wanted to point out the origin of this quirk.
Some coins such as Verge have changed the amount of Satoshi per COIN which then causes later unit conversions to be off by some multiple of 10
Bitcoin uses 1e8 Satoshi/Coin
Verge uses 1e6 Satoshi/Coin
https://github.com/bitcoin/bitcoin/blob/fa84723/src/amount.h#L14
https://github.com/MetacoSA/NBitcoin/blob/b10b978/NBitcoin/Money.cs#L63
https://github.com/vergecurrency/VERGE/blob/6a75a11/src/util.h

Very interesting.

Fortunately this poses no longer a problem as newer versions of Miningcore read back the correct block-reward from the Coinbase Tx during the block-unlocking phase.


Segfaults still causing crashes in 29.5

Home Assistant release (hass --version):
0.29.5
Python release (python3 --version):
3.4.2
Description of problem:
HA crashes with no indication of issue in log, log just stops updating.  GUI unreachable.
sudo systemctl status home-assistant -l shows the following
● home-assistant.service - Home Assistant
   Loaded: loaded (/etc/systemd/system/home-assistant.service; enabled)
   Active: failed (Result: signal) since Fri 2016-09-30 10:39:30 EDT; 19min ago
  Process: 18815 ExecStart=/srv/hass/hass_venv/bin/hass -c /home/hass/ (code=killed, signal=SEGV)
 Main PID: 18815 (code=killed, signal=SEGV)

Sep 30 10:39:30 raspi1 hass[18815]: DEBUG:homeassistant.components.api:STREAM<PHONE_NUMBER> WRITING data: {"time_fired": "2016-09-30T14:39:30.609874+00:00", "origin": "LOCAL", "data": {"old_state": {"last_updated": "2016-09-30T14:39:00.674958+00:00", "last_changed": "2016-09-30T14:39:00.674958+00:00", "state": "583.6", "entity_id": "sensor.ram_free", "attributes": {"friendly_name": "RAM Free", "icon": "mdi:memory", "unit_of_measurement": "MiB"}}, "entity_id": "sensor.ram_free", "new_state": {"last_updated": "2016-09-30T14:39:30.609609+00:00", "last_changed": "2016-09-30T14:39:30.609609+00:00", "state": "579.9", "entity_id": "sensor.ram_free", "attributes": {"friendly_name": "RAM Free", "icon": "mdi:memory", "unit_of_measurement": "MiB"}}}, "event_type": "state_changed"}
Sep 30 10:39:30 raspi1 hass[18815]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state sensor.ram_use=37.3; friendly_name=RAM Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:00.826833-04:00>, entity_id=sensor.ram_use, new_state=<state sensor.ram_use=37.1; friendly_name=RAM Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:30.714331-04:00>>
Sep 30 10:39:30 raspi1 hass[18815]: DEBUG:homeassistant.components.api:STREAM<PHONE_NUMBER> FORWARDING <Event state_changed[L]: old_state=<state sensor.ram_use=37.3; friendly_name=RAM Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:00.826833-04:00>, entity_id=sensor.ram_use, new_state=<state sensor.ram_use=37.1; friendly_name=RAM Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:30.714331-04:00>>
Sep 30 10:39:30 raspi1 hass[18815]: DEBUG:homeassistant.components.api:STREAM<PHONE_NUMBER> WRITING data: {"time_fired": "2016-09-30T14:39:30.714714+00:00", "origin": "LOCAL", "data": {"old_state": {"last_updated": "2016-09-30T14:39:00.826833+00:00", "last_changed": "2016-09-30T14:39:00.826833+00:00", "state": "37.3", "entity_id": "sensor.ram_use", "attributes": {"friendly_name": "RAM Use", "icon": "mdi:memory", "unit_of_measurement": "%"}}, "entity_id": "sensor.ram_use", "new_state": {"last_updated": "2016-09-30T14:39:30.714331+00:00", "last_changed": "2016-09-30T14:39:30.714331+00:00", "state": "37.1", "entity_id": "sensor.ram_use", "attributes": {"friendly_name": "RAM Use", "icon": "mdi:memory", "unit_of_measurement": "%"}}}, "event_type": "state_changed"}
Sep 30 10:39:30 raspi1 hass[18815]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state sensor.cpu_use=8; friendly_name=CPU Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:00.902989-04:00>, entity_id=sensor.cpu_use, new_state=<state sensor.cpu_use=5; friendly_name=CPU Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:30.770805-04:00>>
Sep 30 10:39:30 raspi1 hass[18815]: DEBUG:homeassistant.components.api:STREAM<PHONE_NUMBER> FORWARDING <Event state_changed[L]: old_state=<state sensor.cpu_use=8; friendly_name=CPU Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:00.902989-04:00>, entity_id=sensor.cpu_use, new_state=<state sensor.cpu_use=5; friendly_name=CPU Use, icon=mdi:memory, unit_of_measurement=% @ 2016-09-30T10:39:30.770805-04:00>>
Sep 30 10:39:30 raspi1 hass[18815]: DEBUG:homeassistant.components.api:STREAM<PHONE_NUMBER> WRITING data: {"time_fired": "2016-09-30T14:39:30.770943+00:00", "origin": "LOCAL", "data": {"old_state": {"last_updated": "2016-09-30T14:39:00.902989+00:00", "last_changed": "2016-09-30T14:39:00.902989+00:00", "state": "8", "entity_id": "sensor.cpu_use", "attributes": {"friendly_name": "CPU Use", "icon": "mdi:memory", "unit_of_measurement": "%"}}, "entity_id": "sensor.cpu_use", "new_state": {"last_updated": "2016-09-30T14:39:30.770805+00:00", "last_changed": "2016-09-30T14:39:30.770805+00:00", "state": "5", "entity_id": "sensor.cpu_use", "attributes": {"friendly_name": "CPU Use", "icon": "mdi:memory", "unit_of_measurement": "%"}}}, "event_type": "state_changed"}
Sep 30 10:39:30 raspi1 hass[18815]: DEBUG:requests.packages.urllib3.connectionpool:"GET /vehicle/ HTTP/1.1" 200 281
Sep 30 10:39:30 raspi1 systemd[1]: home-assistant.service: main process exited, code=killed, status=11/SEGV
Sep 30 10:39:30 raspi1 systemd[1]: Unit home-assistant.service entered failed state.

Expected:
Normal operation

**Additional info:**

I use a number of template sensors, not sure if this is the problem related to the new async IO.

Found this in the logs after a restart.  I am still running the old custom component version of wunderground.py because the native component version is missing a number of attributes.  I have commented out the template sensors, modified the configs to use the native version and removed the old program from the custom components directory along with the related cache.
I've restarted and will see if this has any effect.

I'm seeing this also. Even just minutes after restarting.
Sep 30 09:30:30 raspberrypi systemd[1]<EMAIL_ADDRESS>main process exited, code=killed, status=11/SEGV
Sep 30 09:30:30 raspberrypi systemd[1]: Unit<EMAIL_ADDRESS>entered failed state.

I have similar experience with all version of 0.29, tried removing various components and do some testing including the one template sensor I have.  Same result.  Would run anywhere from 30 mins to 2 hours and then crash.

I also believe this is related to issue 3453

More segfaults, literally unusable.

Same here, running 30-DEV

This is a duplicate of #3453


about acloud update

has acloud team updated the udemy course as well?

Hi!
It seems they haven't yet, my feeling is that they will keep the new version exclusively for themselves for a while before updating udemy. I also strongly believe (haven't checked the new course yet) that the content and/or material of the new course have not many differences from the old one.

Thanks for the information. I am planning to buy the course from udemy by this guy and also dolfined aws course which is a bit more expensive.


Example of sending TOKEN to external account would be helpful.

Hi guys,
I'm trying to send the existing token to an external account. So far I have had no issues with transferring it to myself, or to an account that is aware already of the given token.
The problem is that I don't know how to Initialize an external account, please advise. You can find below the code I was playing with.
var tx = new TransactionBuilder().
                SetRecentBlockHash(blockHash.Result.Value.Blockhash).
                SetFeePayer(ownerAccount).
                AddInstruction(SystemProgram.CreateAccount(
                    ownerAccount,
                    new Account(string.Empty, message.Address),  // <== here is a problem, I don't know the private key of external address
                    minBalanceForExemptionAcc,
                    SystemProgram.AccountDataSize,
                    TokenProgram.ProgramIdKey)).
                AddInstruction(TokenProgram.InitializeAccount(toTokenAccountPublicKey, new PublicKey(tokenContractAddress), toTokenAccountPublicKey)).
                AddInstruction(TokenProgram.Transfer(
                    fromTokenAccountPublicKey,
                    toTokenAccountPublicKey,
                    lamportsAmount,
                    ownerAccount))
                .Build();

fyi @murlokito

Can you be more specific on how you mean "external account"?
Is this token account you mention already created? If so you don't need to do a CreateAccount instruction.
All you'd need to do is this:
var tx = new TransactionBuilder().
                SetRecentBlockHash(blockHash.Result.Value.Blockhash).
                SetFeePayer(ownerAccount).
                AddInstruction(TokenProgram.Transfer(
                    fromTokenAccountPublicKey,
                    toTokenAccountPublicKey,
                    lamportsAmount,
                    ownerAccount))
                .Build();

in js it would look like that
private _createTokenTransaction(data: {
    seeds: string;
    receiver: string;
    amount;
    lasttx: string;
    contractAddress: string;
    api: string;
  }) {
    return new Promise(async (resolve, reject) => {

      const connection = this.createConnection(data);

      const account = this._generateAccount(data.seeds);
      const recipientPublicKey = new solanaWeb3.PublicKey(data.receiver);

      const myMint = new solanaWeb3.PublicKey(data.contractAddress);
      const myToken = new splToken.Token(connection, myMint, splToken.TOKEN_PROGRAM_ID, account);

      const fromTokenAccount = await myToken.getOrCreateAssociatedAccountInfo(account.publicKey);
      const toTokenAccount = await myToken.getOrCreateAssociatedAccountInfo(recipientPublicKey);

      const transaction = new solanaWeb3.Transaction().add(
        splToken.Token.createTransferInstruction(
          splToken.TOKEN_PROGRAM_ID,
          fromTokenAccount.address,
          toTokenAccount.address,
          account.publicKey,
          [],
          data.amount
        )
      );

      connection.sendTransaction(transaction, [account]).then(res => {
        connection.confirmTransaction(res);
      });
    });
  }

to be more precise:
const toTokenAccount = await myToken.getOrCreateAssociatedAccountInfo(recipientPublicKey);

i wonder how do to this part

Is this token account you mention already created?

not, its not created, its brand new wallet

Ok so by the js code looks like you want to use Associated Token Accounts (ATAs).
I haven't had much time to play with this but you'll need to create an instruction with the AssociatedTokenAccountProgram to create that account
AssociatedTokenAccountProgram.CreateAssociatedTokenAccount(
     fromAccount,
     newAccountOwnerPublicKey,
     tokenMint)

fromAccount is the account that will be used to fund the ATA
newAccountOwnerPublicKey is the public key of the account that will own the ATA (this is done so you can deterministically get the ATA address for anyone as long as you have the public key of the account that owns the ATA and the token mint)
tokenMint is what I assume you have as being new PublicKey(tokenContractAddress)
If this doesn't work I will have to play around a bit later and see if there are actual issues that need to be fixed and/or may be related to #152 and #153

I'm gonna work on a quick PR to add an example that uses ATAs

Ok so I found out that when I implemented this I forgot to add the example I had used to test it then and also forgot to add an helper function that derives the ATA address and returns it (it's currently being derived in the function that creates the TransactionInstruction).
Working on a fix for this because this needs to be included in v0.4 because it was a major oversight from me.

Sorry for taking so long with this, while checking this out I found out some obscure bug in our Program Derived Addresses, I'm opening a PR that fixes this issue, what I mentioned earlier and adds an example that uses ATAs. @aph5nt

I've fixed some bugs related to this and added an example in a new PR, will close this one when that's merged. See #160.


Primary Handoff

Currently, replicas will automatically obtain the lease quickly after the primary shuts down. However, this incurs a small window of downtime. We can remove this window by having the primary handoff the session ID to an up-to-date replica and have that replica become the new primary.

I for one would love this!

This is implemented in #303 although the end user UI for it will be done as part of manual promotion (#299).
The idea is that you can run something like:
$ litefs run -promote -if-candidate -- npx prisma migrate deploy

and that'll promote the local node if it is a candidate and run the prisma migration.

I may have misunderstood this feature. So I need to manually switch the primary when deploying?

So I need to manually switch the primary when deploying?

The idea is that you can include that litefs run command above as part of your Dockerfile command and it'll automatically switch candidate nodes to become primary and then run migrations. The promotion is done via handoff of the lease so there shouldn't be any downtime.
Ideally, you'd deploy two nodes with candidate equal to true in a region and when you run a new deployment those will each come up as primary and attempt to run the migration. Obviously, only the first one will actually need to run the migration since the second node will have the migration replicated to it and that migration will be a no-op.
Does that make sense? I'm not sure if that explanation is any clearer. :)

I'm pretty confused 😅 Hard to write it out, so I recorded it: https://www.loom.com/share/d91e16c1cd2849dba96a42f7c03625d0

@kentcdodds Thanks for the loom. That's a such a great tool.
I see your point about running the migrations before starting the server. SQLite is a single writer database so writes will be blocked by the migration regardless of how they're executed. However, it'd be nice to have the server running so it can queue the write requests until the migration is done.
Maybe it makes sense to specify provide multiple exec commands to LiteFS and they can be run in parallel? Something like:
# Automatically promote node when it starts, if it's a candidate.
promote: true

exec:
  - cmd: "npx prisma migrate deploy"
    if-candidate: true

  - cmd: "npm start"

Is that problematic to run the server and migrations in parallel? I'm not sure how Prisma works on the server process exactly. Does it need the schema before it starts up? Maybe it'd be better to run the migrations serially by default as that could be surprising to devs.
Ideally, you would deploy your schema migrations separately from deploying the code changes that depend on them. Or, explained another way, your application should work on the previous schema & the current schema. That's because replicas will likely receive schema updates replicated to them from the primary before new code is deployed on them.
One more idea. If multiple commands are added to the litefs.yml then we could have the LiteFS proxy server just hold onto incoming write requests and wait until the server process has started.
I'm happy to jump on a zoom call too if that'd be easier. There's a lot of nuance in exactly how deployments happen and it's all kinda confusing. :)

I have several thoughts that would be best shared in a video call sometime. I'll let you know when I loop back on this and we can chat about ideas.


Understand the common security risks for iPhone, iCloud users

Issue
I don't know anything about the risks iPhone, iOS and iCloud may incur. So understand the common issues, and identify the things I may need to enforce closest family and friends.
CoS
TBD

Extreme iPhone Hack Detailed: ‘Makes Us All Vulnerable’ (forbes.com): Sounds like the article blames for the shortcoming on iOS.
Can an iPhone Be Hacked? (security.org): Non-tech user-friendly article with a list of things that non-tech can do. I want to understand more on tech side though.

In hindsight, after all these research I haven't found much new.

Each platform (e.g. iOS, iCloud, router, DNS, certification) itself is robust enough althought not perfect.
To trap users, the combination of tech components + a user operation is what hackers invent, rather than a single point of compromisation (e.g. so-called Zero-day vulnerabilities).

Suggested actions are surprisingly simple.

Restore iCloud credentials.

Reset password.
Make sure MFA / 2FA is setup.

Restore software on iPhone

Restoraton tips for iPhone

Restore the list of apps

howtogeek.com#435139

Restore the data

Same link howtogeek.com#435139 explains how to restore from iCloud.

Some researched items specifically about iCloud, iPhone security.

A person who initially suspected her phone was hacked and provided good detail later leaned toward no hack apple.stackexchange.com#379606.

This indicates me it is not easy us, easy for somebody tech savvy, to determine whether your iPhone is hacked in.

security.stackexchange.com#128650 from 2016 discusses if a hacker can make a phone call from a phone they hack. It doesn't conclude it is impossible, but it is not easy for hackers, back then.
The answer in a thread security.stackexchange.com#236871 indicates that SSL/TLS can be f-ed up if a router/DNS is compromised.
In case an iPhone was somehow jailbroken, whether done under the intention of the user or not, factory-reset reverts it back to unjailbroekn state (ref. apple.stackexchange.com#46017).
Example of someone who might have been scammed her/his iCound account via a messenger app security.stackexchange.com#211917. No solution suggested yet.


Rename environment variable JAEGER_SERVICE_PORT_JAEGER to JAEGER_SERVICE_PORT

Should we rename this? The name feels unnecessarily redundant.

Or we could simply use the standard Jaeger env variables:
https://github.com/jaegertracing/jaeger-client-go#environment-variables
And config.FromEnv()

Would need to be fixed here


Upgrade to es2015 - issue 334

https://github.com/bbyars/mountebank/issues/334
I know this is a massive refactoring, I did this constantly running the tests and changing only on the test side or on the code base side to avoid surprises. I know the project contributing guideline suggests "the smaller [pull request] the better". If this is too big (it probably is) I will take this and batch it in smaller chunks.
Anyway, what changed? In short:

I introduced const/let where appropriate;
same for arrow functions;
same for string template literals (I am sure there are still some string concatenation in the code base, but I changed plenty of them);
removed "this" in tests (refactored this.timeout; removed this.name for requestName, it shouldn't be a huge problem);

(- spread operator, one of the coolest features... I think I haven't found any place where to use it, mountebank can live without that for the time being!)
I didn't introduce arrow functions where it could bring trouble, mainly where "this" is used quite a lot, for example src/views folder (one day this will change entirely when jQuery will be removed, see issue https://github.com/bbyars/mountebank/issues/348, tasks folders and some utils file).
I changed a lint rule (no-confusing-arrow, to allow ternary in arrow functions). Initially to make lint happy I was changing the code base, then I changed my mind because I fundamentally disagreed with this lint rule.
Promises with Q are still there, a transition to native promises probably needs to be done separately.

I know there's a problem with one of the non-airplane tests and clearly the first/easy attempt to fix that failed, I'll have a deeper look as soon as I can.

Thanks again!


Many results missing

I'm not sure what's going on, but it seems like most CI is red. Maybe try restarting it? :)

Uh oh. Restarted :crossed_fingers:

Found the bug :tada: (one engine was newly crashing during esvu install and we do not handle that atm), will fix and rerun now

@CanadaHonk This seems to be happening again.

It's running right now (runs daily at midnight UTC) so shows partial results it currently has

Okay, thanks. I'll open a feature request for in-progress results to incrementally update instead of clearing out existing data.


fix: print error output

I ran into the The type definition index.test-d.ts does not exist. Create one and try again. error due to a naming mistake, but didn't realise until I made this change to print the error output.
Happy to adjust formatting if this manner of printing the entire error isn't desired.

@SamVerschueren that did the trick 👍 Prints:
The test file `filename.test-d.ts` does not exist. Create one and try again.

@SamVerschueren should I close this or is it good to go?


Modify kinesisexporter to support metrics/traces to otlp_proto encoding

Description:

Builds on top of the existing kinesisexporter to support exporting both metrics and traces
Add support for sending out in OTLP proto bytes format

Adds an additional encoding option to allow users to choose from supported encodings
Only supported encoding at the moment is OTLP proto bytes
This required moving over to a more generic kinesis producer library: omnition from opencensus-go-exporter which was serializing the data to jaeger format
Note: Before submitting a PR to the upstream repo, we should have support to send out to jaeger format as the existing kinesis exporter supported

Adds marshallers for OTLP to marshal metrics and traces from the pData format

Testing:

Added unit tests for the existing and new functions
Tested e2e with custom OT collector to local and deployed kinesis streams

I'd like if we checked context so that we can ensure we follow the expectations of context. I don't mind if it is only a check to see if it the context is valid.


Hello, I would like to ask this GetRewardTime module has been unable to import, what is the problem? Can you help me to solve this problem

Hello, I would like to ask this GetRewardTime module has been unable to import, what is the problem? Can you help me to solve this problem

I'm sorry to disturb you, but I wanted to ask if you have resolved this issue.

  Hello, I would like to ask this GetRewardTime module has been unable to import, what is the problem? Can you help me to solve this problem

I'm sorry to disturb you, but I wanted to ask if you have resolved this issue.

No,I didn't find the module,and the author didn't answer my question


E484 after GVIM update

After updating my vim version I am getting the error below:
E484: Can't open file C:\Users....\AppData\Local\Temp\VIoCC2F.tmp
I am using GVIM on windows with the WSL subsytem. It looks like the way the escape sequences work has changed.
Line 645:
let g:startify_custom_header =
\ map(split(system('fortune -s'), '\n'), '" ". v:val') + ['']

Messages:

Startify still works though so that makes weirder

Maybe it's the system() that fails? I never used WSL. Does fortune exist there?

I don't think WSL should affect it much. It was working fine before .
As per https://github.com/mhinz/vim-startify/issues/165
echo system('ls') works fine and
:echo &shell &shellcmdflag &shellxquote shellescape('some command') &shellredir tempname() &shellxquote
Shows:

So, what's the output of :echo map(split(system('fortune -s'), '\n'), '" ". v:val')?

:echo &shell &shellcmdflag &shellxquote shellescape('some command') &shellredir tempname() &shellxquote

The image looks as if &shellxquote is (? So the command ends with (? That doesn't look right.

And honestly, maybe there's nothing you can do about it. It smells like a Vim bug. You're using a master version after all. :)
I'd try updating in the next days or just use the last known stable version, 8.1.996 in your case.

Cool I'll close it.


fix: remove JSON cast when querying archived workflows

Motivation
With PostgreSQL, the argo_archived_workflows.workflow column has been of type json ever since 8a1e611a03da8374567c9654f8baf29b66c83c6e, which was released as v2.5.0. Therefore, the ::json casts do nothing, and prevent users from improving performance by migrating to JSONB using the following query:
alter table argo_archived_workflows alter column workflow set data type jsonb using workflow::jsonb

Without the changes in this PR, running the above will massively slow down the queries, because casting JSONB to JSON is expensive. With the changes, I'm measuring a ~80% performance boost (see below). Other users have reported similar improvements.
The only downside to migrating to JSONB is it can take a long time if you've got a ton of workflows (~72s on my local DB with 100,000 workflows). I entered https://github.com/argoproj/argo-workflows/pull/13779 with the migration, but I'm entering this separately so it can hopefully go out in 3.6.0. That way, we can tell users to run the above query if they run into performance issues, without having to do a patch release with the migration.
Modifications
Replace (workflow::json) with just workflow
Verification
See https://github.com/argoproj/argo-workflows/pull/13779

Here's the PR for the migration, which builds on top of this PR: https://github.com/argoproj/argo-workflows/pull/13779

@jiachengxu Would you mind reviewing this?

@terrytangyuan Jiacheng is also apparently not in the "members" team a la https://github.com/argoproj/argo-workflows/issues/8790#issuecomment-2412016304, so that seems to be why we can't directly "request a review" via GH

Added @jiachengxu to members

Thanks Terry 👍


)HERE’S!! WAY TO WATCH Tottenham vs Aston Villa LIVE STREAMS Free ON TV CHANNEL 3 NOV 2024

Tottenham vs Aston Villa LIVE Score Updates, Stream Info and How to Watch Premier League Match
Get real-time updates on Tottenham and Aston Villa live coverage minute by minute of the match, score and result online, stream information, how to watch, TV channel, lineups, latest updates and time of matchday 10 in the Premier League with VAVEL. Game will start at 10:00 AM ET on November 3rd, 2024
Juan Sebastian Rodriguez AriasLive reporter
Stay tuned for live coverage of Tottenham and Aston Villa here.
We will soon share with you the starting lineups for the Wolves and Crystal Palace live match, as well as the latest information from the Tottenham Hotspur Stadium. Don't miss a single detail of the live match updates and commentary from VAVEL's coverage.

hgfvuyjt

FG

.
.
.

vf
.
.

.

.


Made fire and rain category columns and produced new training and tes…

…t sets

@gauthampughaz @Anahita97 , I am merging this pull request as I need the preprocessed data for my analysis. Please kindly review it at your convenience.


Rename MYPY_PATH env to MYPYPATH

According to my testing mypy doesn't pick up MYPY_PATH. MYPYPATH works.
Also removed the "pylsp.env" setting as I couldn't find any reference to
it in either the main python server or any third party plugin (searched
for just whole-word env).

Regarding the env removal,
I have noticed that we are missing:
pylsp.plugins.jedi.environment
pylsp.plugins.jedi.env_vars

https://github.com/python-lsp/python-lsp-server/blob/develop/pylsp/workspace.py#L252-L262

I have noticed that we are missing:

Those are included in the schema. The settings file just doesn't list all available options.


SearchAutocomplete component - Initial stage

Issue Number:
82
Issue Description:
Search component
Summary of solution:

Created a SearchAutocomplete component.
Added search input using google.maps.places.Autocomplete()
Added the search box as part of Profile temporarily and would be removed later.

Can this issue be closed?
No
Need to resolve issue 'ReferenceError: google is not defined' due to missing script/url tag.  There should be away to get that from server? Would need help of the team.
Should any new issues be added as a result of this solution?
Have you named your branch in a descriptive way? Remember to name your branch in a unique and descriptive manner in order to properly reflect the issue or feature.
Yes , its search-init branch
Thanks for contributing!

I was able to resolve the issue by doing script injection , I did try out various other library for script loading but somewhere or the other I was facing issues.  To view it in action, go to Profiles and search autocomplete should provide suggestions and I have added a log to display result from google places service on selection.
If there is a better way without doing script injection which works , that would be more preferable solution.

Great job working through and finding a solution!
Thanks!


Delayed quest hints

After completing the X adventurer contests at the base of the tower, the top of the guide was consistently behind by a section, meaning I was getting advice on the part I had just completed, or even one before that. E.g. When I finished the NS fight it was giving me advice on how to beat my shadow.

I think updating Guide (see the reinstallation instructions on the main page if it doesn't update) or Mafia will fix this.


Building fails on cab6ce389b5ba96c5e7cdbaf0591ffca99aafd42

build.log
I've also tried to build other revisions, and they also fail.
So it's quite possible that it's 'my machine'.
I' ve tried build off some tags too, and they all complain about 'nogo'
I'll see if can turn that off.
Thanks for your help.

This is quite clearly a bug

Could not reproduce at the given commit ID. Obviously cannot reproduce at head.


feat(Accordion): remove is prefix in props

Closes #3421
Description
Removing all is prefix from is*
Current behavior (updates)
Before: isMultiple, isToggle, isDisabled
New behavior
After: multiple, toggle, disabled
Is this a breaking change (Yes/No):
No

@kaehehehe
label?:
    | ((props: { isDisabled: boolean; isExpanded: boolean }) => ReactNode)
    | ReactNode
}

Do I need to remove the is in the above item?

@cidkumagai
I thought I couldn't duplicate the isDisabled and isExpanded properties of the label prop, so I left them as they are.
Is there a better way to do this?

@kaehehehe
label?:
    | ((props: {
        disabled: boolean
        expanded: boolean
        /**
         *  @deprecated Use `disabled` instead.
         */
        isDisabled: boolean
        /**
         * @deprecated Use `expanded` instead.
         */
        isExpanded: boolean
      }) => ReactNode)
    | ReactNode

Is this implementation different from the requirements?

Sorry.
Isn't the work on the main branch just to add @deprecated?

Sorry. Isn't the work on the main branch just to add @deprecated?

I worked on this based on other PRs, but is there a mistake? I understood that we would be working again on the v2.0 branch after this PR is merged.
reference

https://github.com/yamada-ui/yamada-ui/pull/3418
https://github.com/yamada-ui/yamada-ui/pull/3397

@kaehehehe
I'm sorry, I was mistaken. It seems the task content is correct.

Sorry. I have some parts to fix, so I will work on it again this evening. Please review it again after I make the changes. 😢 @cidkumagai

I'm going to redo the PR... Sorry about that! @cidkumagai


Always generate extension in image link from the underlying mime type.

This fixes #38 and #39

Codecov Report

Merging #41 into master will decrease coverage by 0.37%.
The diff coverage is 63.15%.

@@             Coverage Diff              @@
##             master      #41      +/-   ##
============================================
- Coverage     82.96%   82.59%   -0.38%
  Complexity      328      328
============================================
  Files            29       29
  Lines          1227     1241      +14
  Branches        207      210       +3
============================================
+ Hits           1018     1025       +7
- Misses           83       88       +5
- Partials        126      128       +2

Impacted Files
Coverage Δ
Complexity Δ

.../wcm/core/components/models/impl/v1/ImageImpl.java
80.2% <63.15%> (-5.16%)
26 <0> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 445d8d3...a579496. Read the comment docs.

I temporarily had to ignore the test ImageImplTest.testTIFFImage() because with this new approach the referenced asset (i.e. the TIFF) would need to be provided as test content even if you just test the image markup.


Python documents

For example, I made python documents from source codes.
Please see https://henry.animeo.jp/lightgbm/index.html (this is a temporary example).
How do you think about it?
I can create a pull requet if you like.

@henry0312 can this auto update when the interfaces is updated?
if yes, is it based on the comments in py file or the generated docs ?

can this auto update when the interfaces is updated?

Sure, though if you want completely auto update, we need to use git push hock.

if yes, is it based on the comments in py file or the generated docs ?

It is based on the comments in py file.
I used Sphinx.

oh great. "henry.animeo.jp" is your own url?
I think we can just host it in the ReadTheDocs.

"henry.animeo.jp" is your own url?

yes, it is.

I think we can just host it in the ReadTheDocs.

I don't know ReadTheDcos very much, but ReadTheDocs seems to support Sphinx.
i guess we can also use GitHub Pages.

@henry0312
can github page support sphinx ?

Github Pages hosts any html, and Sphinx can build html from rst.
In short,

git push to master
update docs throw git push hock or something
git push to gh-pages

cf. https://daler.github.io/sphinxdoc-test/includeme.html

@henry0312 ok. that is great.
@Laurae2 I think we can also put R's documents like this.

@henry0312 just open the github page: https://microsoft.github.io/LightGBM/
It will read the contents in the /docs/

ok, I'll try in my fork reopsitory at first.

@guolinke How do you think about https://henry0312.github.io/LightGBM/python/ ? 😁

it looks great.
BTW, can we hidden the method/class starting with _ .

I've hidden these methods, I guess...
For example, if you search '_to_graphviz`, nothing is hit.

my 2c: readthedocs is better than github pages at least because it allows to host multiple documentation versions - it is possible to update docs for master without breaking docs for a stable release, and it is possible to get docs for older versions; this is all automatic.

hum....
I can't decide which to use because I haven't use ReadTheDocs, though GIthub pages seems enough.
@guolinke which would you like to use?

@henry0312 my only concern is:
it seems need to run Sphinx manually then push html if using github page.
using ReadTheDocs seems can avoid that?

using ReadTheDocs seems can avoid that?

According to the http://docs.readthedocs.io/en/latest/getting_started.html, yes.
ReadTheDocs has webhook in Github.

@henry0312 great. So, it seems ReadTheDocs is the best choice for now.

However, If we use ReadTheDocs, we may need to create all docs via Sphinx...

Okay, I'll try ReadTheDocs.
We should be able to use it because XGBoost also use it 😄

@guolinke Please check http://testlightgbm.readthedocs.io/en/latest/ and get "lightgbm" account if you like.

@henry0312 I just take the name lightgbm.
http://lightgbm.readthedocs.io/en/latest/

Okay, I'll create a minimum pull requet.
After merging it, we will improve documetns including styles.

@henry0312 can you give me your readTheDoc id? I can add you as a maintainer.

Thank you! My account is henry0312.

I though these works have finished, but I find there are some problems.
When Read the Docs build the documentation, it needs lib_lightgbm (which is also needed in python-package), so building the docs fails...
I'll fix.

@henry0312 Thanks very much.
Actually, I think we can add more documents into docs. And continue to refine the ReadTheDocs

Python api reference, which is built from source files, are published on http://lightgbm.readthedocs.io/en/latest/python/lightgbm.html.

@wxchan http://lightgbm.readthedocs.io/en/latest/python/lightgbm.html#module-lightgbm.basic
I saw many functions that should not be exposed in basic.py.
e.g.lightgbm.basic.C_API_DTYPE_INT64
I think we should change their name to begin with _ .

However, theare are still some problems... 😢
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/latest/docs/python/lightgbm.rst:47: WARNING: autodoc: failed to import module 'lightgbm.plotting'; the following exception was raised:
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/latest/local/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 551, in import_object
    __import__(self.modname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/latest/docs/../python-package/lightgbm/plotting.py", line 13, in <module>
    from .sklearn import LGBMModel
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/latest/docs/../python-package/lightgbm/sklearn.py", line 9, in <module>
    from .compat import (SKLEARN_INSTALLED, LGBMClassifierBase, LGBMDeprecated,
ImportError: cannot import name 'LGBMDeprecated'
/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/latest/docs/python/lightgbm.rst:55: WARNING: autodoc: failed to import module 'lightgbm.sklearn'; the following exception was raised:
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/envs/latest/local/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 551, in import_object
    __import__(self.modname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/lightgbm/checkouts/latest/docs/../python-package/lightgbm/sklearn.py", line 9, in <module>
    from .compat import (SKLEARN_INSTALLED, LGBMClassifierBase, LGBMDeprecated,
ImportError: cannot import name 'LGBMDeprecated'

I'll continue to fix these issues.

@henry0312 It seems miss sklearn.

can we only expose functions and classes in this list? https://github.com/Microsoft/LightGBM/blob/master/python-package/lightgbm/init.py#L26-L30

@wxchan I guess we may expose only __all__ if we can put them into basic,py instead of __init__.py
http://www.sphinx-doc.org/en/stable/ext/autodoc.html

we only have one module. for example, lightgbm.Dataset, lightgbm.Booster, not lightgbm.basic.Dataset, lightgbm.basic.Booster.

I see.
Does we publish exclude lightbm.basic?
We can control what modules are published by editing https://github.com/Microsoft/LightGBM/blob/master/docs/python/lightgbm.rst

Okay, all issues have been fixed!
http://lightgbm.readthedocs.io/en/latest/python/lightgbm.html

@henry0312 can you refine the document according to @wxchan  's suggestions ?

yes, I'll check.

I'm improving Python API docs.
That will have been finished in 2 or 3 hours.


Any plans for Vue.JS client?

Do you have plans for other client side libs (Vue.JS, Angular)? If so, how can we contribute since this repo is specifically for React.

Client-side libraries for both Angular and Vuejs are available now. Please find the link below.
powerbi-client-vue-js
powerbi-client-angular