ATLAS-3092: Atlas Plugin ClassLoader Doesn't Restore Thread ClassLoader

PROBLEM: Atlas Plugin ClassLoader's MyComponent parent always set to UDFClassLoader after hiveserver2 start even though it is closed, Hiveserver2 can run sessions concurrently with different sessionstate, so if the sessionstate disgraded and associated UDF classloader is closed, MyComponent parent loader still has this closed parent classloader. this can yield into the CNF exception for custom hive udf.
Fix: In this proposed fix, during activate call I am storing current classloader in prevClassloader and during deactivate checking if the plugintype is hive( don't want to break the other components) then setting the Thread current class loader back to the previous one.
Test: Run few test on my reproduce where hive custom udf were failing due to CNF which are succeeded now.

This issue is resolved in ATLAS-3092 and fix is merged, so closing the PR.
Thanks @rajkrrsingh for PR  and @shawnweeks @mneethiraj  for reviews.


BUG: Index dtype may not be applied properly

Fixed 2 problems:

Specified dtype is not applied to other iterables.

import numpy as np
import pandas as pd

pd.Index([1, 2, 3], dtype=int)
# Index([1, 2, 3], dtype='object')

Specifying category to ndarray-like results in TypeError

pd.Index(np.array([1, 2, 3]), dtype='category')
# TypeError: data type "category" not understood

pls run perf check on this -

@sinhrks can you see if this affects perf?

Following is a asv result. Will consider a better path.
    before     after       ratio
  [789e07d9] [ce89f9d1]
    33.94μs    44.57μs      1.31  ctors.index_from_series_ctor.time_index_from_series_ctor
   121.86μs   173.21μs      1.42  frame_methods.frame_get_dtype_counts.time_frame_get_dtype_co
    16.45μs    27.07μs      1.65  index_object.index_float64_construct.time_index_float64_construct

this is prob just from the imports (e.g. a Float64Index) doesn't care about Datetimeindex, so the import adds the extra time (or the check for the import anyhow)

@jreback Thanks, suggested changes improve perf a little. I assume other slowness is caused by categorical condition moved to the top.
All benchmarks:

    before     after       ratio
  [4d4a2e33] [c3eaeb07]
    33.85μs    41.24μs      1.22  ctors.index_from_series_ctor.time_index_from_series_ctor
   129.48μs   160.86μs      1.24  frame_methods.frame_get_dtype_counts.time_frame_get_dtype_counts
    16.36μs    22.88μs      1.40  index_object.index_float64_construct.time_index_float64_construct

master
In [1]: arr = np.arange(1000000.0)
In [2]: %timeit Index(arr)
The slowest run took 12.23 times longer than the fastest. This could mean that an intermediate result is being cached
100000 loops, best of 3: 15.7 Âµs per loop

this branch
In [2]: %timeit Index(arr)
The slowest run took 7.49 times longer than the fastest. This could mean that an intermediate result is being cached
10000 loops, best of 3: 19.8 Âµs per loop

fix https://github.com/jreback/pandas/commit/29c03255978e81db2d0149f25e5412949eeddf39
In [2]: %timeit Index(arr)
The slowest run took 11.74 times longer than the fastest. This could mean that an intermediate result is being cached
100000 loops, best of 3: 13.8 Âµs per loop

will merge in a bit, thanks @sinhrks

Wow, great. Thanks!

merged via https://github.com/pydata/pandas/commit/ead3ca85b42e6d12855acecd347ef7cc94792c9d (my change in another commit)
thanks!
I don't believe we had an issue assosicated, correct?

Though this was based on gitter chat, #5196 refers to the same issue. Closed.

@sinhrks awesome thanks!


[Slim3] Problem installing slim/csrf

composer require slim/csrf

Using version ^0.1.0 for slim/csrf
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
    - Installation request for slim/csrf ^0.1.0 -> satisfiable by slim/csrf[0.1.
0].
    - Conclusion: remove psr/http-message 1.0
    - Conclusion: don't install psr/http-message 1.0
    - slim/csrf 0.1.0 requires psr/http-message ~0.9 -> satisfiable by psr/http-
message[0.10.0, 0.10.1, 0.11.0, 0.9.0, 0.9.1, 0.9.2].
    - Can only install one of: psr/http-message[0.10.0, 1.0].
    - Can only install one of: psr/http-message[0.10.1, 1.0].
    - Can only install one of: psr/http-message[0.11.0, 1.0].
    - Can only install one of: psr/http-message[0.9.0, 1.0].
    - Can only install one of: psr/http-message[0.9.1, 1.0].
    - Can only install one of: psr/http-message[0.9.2, 1.0].
    - Installation request for psr/http-message == <IP_ADDRESS> -> satisfiable by psr
/http-message[1.0].
Installation failed, reverting ./composer.json to its original content.

Use composer require slim/csrf:dev-master until a new tag is added.


s/Property/Prop/g

Rename Property to just Prop to match vecty/prop package naming.

Closing in favor of https://github.com/gopherjs/vecty/pull/19


Keyboard Interrupted ???

Hi eouia,
Everytime appears this error, and I cannt use it :(
Why?
1|MagicMir | Keyboard Interrupted
1|MagicMir | [GESTURE] Gesture script is finished.

Can you restart pyshell when onError?

When this interrupt is appeared? This error would be happened when you try to kill the script by manual. Describe me more details what you tried, and what you expected as a result of your trial, but how it failed.

Appears after start MagicMirror. I didn't nothing with the script.
When it appear, I need to restart MagicMirror because Gesture doesn't works :(

It might mean your python script has an error from start with your seeting. Check it works or not

https://github.com/eouia/MMM-GroveGestures/blob/master/README.md#installation-of-module
Did you all the steps by instructions above link?
There be also an instruction how to check your script

Yes! The script works sometimes. Other times gets timeout, others error :(

Paj7620 initialize register finished.
Traceback (most recent call last):
File "gesture_print.py", line 43, in
g.print_gesture()
File "/home/pi/MagicMirror/modules/MMM-GroveGestures/py/grove_gesture_sensor.py", line 440, in print_gesture
data1=self.paj7620ReadReg(0x44, 1)[0]
File "/home/pi/MagicMirror/modules/MMM-GroveGestures/py/grove_gesture_sensor.py", line 372, in paj7620ReadReg
return bus.read_i2c_block_data(self.PAJ7620_ID, addr,qty)
IOError: [Errno 121] Remote I/O error

Hi,
I also get error. (sometimes MMM-GroveGestures stops working or even don't start working).
How do you get the error log for analysis purpose? I would like to share my issue also.

I activate using config.

Seems that we have a more recent version
https://github.com/Seeed-Studio/grove.py/blob/master/grove/grove_gesture_sensor.py

Of course, I tested it with RPI(RPI 3 B+)I also. Hmmmm....
I'll try recent version script in a few days. (I'm on vacation now, sorry)

Ok. I've tested my module again with newly formatted RPI from H/W installation.
Environment :

RPI 3 B+
Raspbian Stretch with desktop

Version:November 2018
Release date:2018-11-13
Kernel version:4.14
SHA-256:a121652937ccde1c2583fe77d1caec407f2cd248327df2901e4716649ac9bc97

node : v10.15.1
npm : v6.4.1
Python : 2.7.13
Python3 : 3.5.3 (Python 2 and Python 3 both work)

My module(and py scripts) is working as expectation.
I doubt you've missed or failed something on H/W installation. Could you check again?
Especially, sudo i2cdetect -y 1 should show you 73 on the matrix of result.

If sometime work or not, It seems your GPIO(I2C) connection is not so stable. Maybe it could be H/W problem or Electricity issue.

No problem H/W.
No Electricity issue.

I'm using a I2C temperature sensor without problem :(

Sorry, but I cannot find any suspicious point at this moment.
Does 'i2cdetect -y 1'  show proper address of sensor?(73)?
Usually IOError: [Errno 121] Remote I/O error itself occurs when a not available address is referenced.  And usually it come from not installed or connected H/W. (Of course there could be other reasons... however,)

Seem solved ;)
I reduce i2c speed to 10000.
Regards

Nice to hear it. I haven’t think about it. I’ll close this issue.

Seem solved ;) I reduce i2c speed to 10000. Regards

works for me as well, for anyone interest:
in terminal:
sudo nano /boot/firmware/config.txt
if you dont have this line in your config.txt, add it right below to the others dtparam configs
dtparam=i2c_arm_baudrate=10000
ctrl + x to exit, y to confirm, and enter to save it
reboot your rasp
sudo reboot
after the reboot, just check the file to see if it is saved correctly


Update dependencies Nov 2021

Description
Updates all dependencies and removes pin to Werkzeug<1.0.
Allow users to move to Werkzeug==2.0.2, as it resolves PVE-2021-42050 and allows Zappa to coexist with Flask 2 (#1066).  Also updates our own requirements.txt and test_requirements.txt files to use these versions.
GitHub Issues
Closes #1066
Closes #1038

Coverage remained the same at 73.251% when pulling 9dd9fc8f731d45a01d525003bdf9157564b16a95 on javulticat:jav/unpin-werkzeug-0.x into 679e98eb7c38913022a5cb0d0610e4529d4340d2 on zappa:master.

Thanks for this!


mysql update docs with env vars, update test with json field, fill cl…

drop the test db after test finishes. I runned the tests several times and had many random named databases created, this fixes it
update docs to specify the mysql env vars used in order to make it easier for contributing
add one json field type in the example update models and test for that too

The ondeck example is shared across MySQL and PostgreSQL, so I'd like to keep it the same. Please remove the added JSON column. A MySQL JSON example already exists in the form of an end-to-end test.
Really appreciate the README updates!

Done, reverted that change please re-review


Removed the debug logging from Android side of plugin.

Fixes #214
I did not went for any customization Logging options on Dart side because that would be more changes and I believe this is enough to fix the logs that I've introduced earlier.

Thanks @PieterAelse ,  merged!

this will be in 4.1.1?

I need this too


[WebSub] Hub publish/subscribe URLs are not set correctly when a public URL is specified

Description:
$title. Need to append relevant path.
Affected Versions:
1.0.3-SNAPSHOT

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/19672.


Big preview of screen record with not regular aspect ratio

Getting a big preview when the video's aspect ratio is not regular. I've tried to record an Android emulator.

Can you please elaborate the issue ?
@aalystama

I could reproduce the same issue.

Wanna work on this too ?

Sure


Use observation mask as feature in DeepAR

Description of changes:
This PR adds the observation mask as an input feature to DeepAR. Previously lags were fed into the model but the model had no information on whether the lag value is observed or missing/padded.
I ran a small experiment to gauge the performance with and without (previous version) the mask feature. Here are the results on the solar dataset averaged over 10 runs. Each model was trained for 10 epochs.

model
NRMSE
ND
mean_wQuantileLoss
sMAPE
MASE

with_mask (now)
1.0553
0.4896
0.4054
1.3745
1.1503

without_mask (previous)
1.0551
0.4892
0.4074
1.3741
1.1495

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

Here are the results on the solar dataset averaged over 10 runs.

Does the dataset contain missing values?

No, it does not, so this only testing the padding aspect.


MAINT: Remove legacy hook marks

Hi!
When running the test suite I get an error when collecting tests:
pytest.PytestDeprecationWarning: The hookimpl pytest_json_modifyreport uses old-style configuration options (marks or attributes).
Please use the pytest.hookimpl(optionalhook=True) decorator instead
 to configure the hooks.
 See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
 at /home/runner/work/numpy/numpy/array-api-tests/reporting.py:94
Error: Process completed with exit code 1.

The first CI run in my fork: https://github.com/mtsokol/numpy/actions/runs/6894487016/job/18756394760
Here's a small patch that updates decorators.

Should verify this manually. I don't think we generate JSON on CI.

Thanks for the PR!! Closing this though as its resolved by https://github.com/data-apis/array-api-tests/pull/218 now.


Fix hiding of status bar

Fixes #160

this would be fixed by #159

It looks like your fix is more complete. Thanks. Closing.

cool - it's weird that we were basically tackling the same issue at the same time!


Add more unit tests for site generation plugins

This adds unit tests for nearly every site generation plugin currently in use (that didn't already have tests). There are a couple of exceptions:

Debug: not really needed
CopyAssets: a test created, but not implemented - needs mocked grunt, etc, as noted in TODO

Coverage increased (+14.3%) to 65.436% when pulling 26e9af53bbace44a279b463a77f9e05da0396daa on feature_add_more_sitegen_unit_tests into bba521677871cca89bdfcb2029e0a26464c7478d on master.

:+1: for more tests!


Simplify grammar & syntax (parens) of first class modules

Fixes https://github.com/facebook/reason/issues/530
Fixes https://github.com/facebook/reason/issues/1715
Fixes https://github.com/facebook/reason/issues/1947
Builds on https://github.com/facebook/reason/pull/1946
Goals

Simplify menhir grammar by over-parsing
Allow first-class modules with less parentheses

Result

Simpler constraints on let-bindings, uppercase automatically implies a Ptyp_package

/* before */
let thing: (module Thing) = (module MyModule);

/* after */
let thing: Thing = (module MyModule);

/* lowercase stays the same, because it could be a core_type */
let thing: (module Foo.lowercaseModType) = (module MyMod);

Less parentheses

/* before */
let f = ((module Add : S.Z), x) => Add.add(x);
module Modifier = (val (Db.Hashtbl.create (): (module Db.Sig with type t = Mods.t)));

/* after */
let f = (module Add : S.Z, x) => Add.add(x);
module Modifier = (val Db.Hashtbl.create (): module Db.Sig with type t = Mods.t);

let module syntax will need to be deprecated, because of too much conflicts.

/* before */
let module Lowercase = (val y: x);

/* after */
module Lowercase = (val y: x);

Still WIP, checking some extra edge cases and finalizing the code.
Also looking for a way to not make this a breaking change and still support the let module-syntax.

let module is long deprecated and refmting to module Foo = .... So I think it's an ok time to get rid of it

@chenglou this is ready.
TLDR

simplify grammar where possible
less parens for first class modules (parsing + printing)
let thing: Thing = (module MyModule); parses and prints as let thing: module Thing = (module MyModule);
no deprecations, let module stays as is.

For let thing: Thing = (module MyModule), is it possible to still not accept it? Only let thing: module Thing = (module MyModule)?
I'm not too sure that we're at a stage where folks all use refmt yet

Sure, no problem, I'll restructure the grammar.

I super like let module because it's one less difference to memorize between statement-level syntax and expression-level syntax.
If we could make module X = Y work at the expression level, I'd be fine with removing let module everywhere

@jaredly Where does module X = Y  it currently work in expressions? I thought that worked anywhere let module worked.

aha I guess it does work :P ok, I'd be ok with it going away.
On Sat, Jun 2, 2018 at 5:05 PM Hezekiah M. Carty<EMAIL_ADDRESS>wrote:

@jaredly https://github.com/jaredly Where does module X = Y it
currently work in expressions? I thought that worked anywhere let module
worked.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/reason/pull/1949#issuecomment-394123138, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAG2KkmazaDq37dI8DwSO1CgckBmdkzvks5t4xpRgaJpZM4ULHf6
.


[exploration] How to subscribe to bot DM conversations

How does an app carry on a conversation with a user in DM where the bot can detect what the user says and respond?

Is this necessary? What would be the details around usage?

https://api.slack.com/surfaces/tabs/events#messages

Maybe watching for DMs to the bot to send a message indicating that activity needs to be handled in a channel?


Rag multilingual reranker

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

Looks good, no comments. Merging


Hotfix

typo virdect->verdict

+1, @bruce3557 please check

+1, please merge latest code and I can merge it

OK~

going tot merge.


Exclude emojis option.

Kindly review.
Exclude emojis option has been added.

Thanks for putting in a PR! I've decided not to support this functionality for now and the codebase has undergone some significant refactoring since this was written.
By the way - It's usually best to create an issue on open source projects before doing the work in a PR so that the maintainers and users can discuss whether the project is willing to accept the functionality and how it should be implemented.


Poloniex: How to prevent "Complete: Error" withdrawals

Details:
Through some luck I discovered a coin, ARDR, that requires both an address and a "message" field to deposit to Bittrex, but Poloniex only allows you to provide an address for the withdrawal.

I decided to get $5 of ARDR and try to initiate the transfer with both fields via the API. The API accepted it and after processing for a few minutes, the withdrawal changed to status "Complete: Error"

The coins never got transferred - no matching transaction ever showed up on the blockchain. However the coins also never got credited back to my account. On reddit, it looks like this is a pretty common problem when people mess up their withdrawal request. Support tickets to poloniex for this type of thing seem to take months to resolve.
The question is, how do we prevent someone from initiating a withdrawal like this and jamming up their coins? As far as I can tell, their API provides no hint to prevent this.

No easy way except throw an exception for that coin in the API

But how to discover the coins to throw the exception about? I'm willing to implement something if we can come up with an idea.

Would you be ok with a solution where I hardcode this mapping? If caller specifies incorrect number of fields throw?

Yes hard code is fine.
-- Jeff
On Sun, Mar 18, 2018 at 1:54 PM, bichuga<EMAIL_ADDRESS>wrote:

Would you be ok with a solution where I hardcode this mapping? If caller
specifies incorrect number of fields throw?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/68#issuecomment-374039138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNoGGPsTUBkpdr5vwLlz470lEeu-dL4ks5tfrtsgaJpZM4SvUQM
.


[OC-yoga]How to set the height of yoga when init view?

YogaView *yogaView = [[YogaView alloc] initWithFrame:CGRectMake(0, 0, width, YogaHeight)];
so if I set YogaHeight = 0, I will not get the correct result, but I don't  know the exact value of YogaHeight. So what should I do?

You need to explicitly set the height on the YGLayout object.


adjust the default color disposition in .cargo/config

It would be great if I could set --color always to be the default. Maybe like this:
[expand]
theme = "TwoDark"
color = "always"

If that sounds reasonable I'd be happy to submit a PR--and thanks for building this!

Sure, I would accept a PR for this. Please also include it in the Configuration section of the readme. Cheers!


Fix Tcl bug 98af80f133: unsafe buffer lifetime

An old bug in Tcl was exposed by an optimization in LLVM Clang 13: see https://core.tcl-lang.org/tcl/info/24b9181478 and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258392
I have not attempted to observe the issue or verify this patch myself, but would suggest it be applied before this eventually becomes a more widespread issue when MacPorts base is compiled with LLVM Clang 13 and future versions of Xcode Clang derived from it.

10.14 CI test failure appears to be unrelated:
/opt/local/libexec/macports/bin/tclsh8.5 ./tests/curl.tcl ./Pextlib.dylib
SSL certificate problem: certificate has expired
    while executing
"curl fetch --enable-compression https://www.whatsmyip.org/http-compression-test/ $tempfile"
    (procedure "main" line 29)
    invoked from within
"main $argv"
    (file "./tests/curl.tcl" line 63)

The certificate issues are being tracked by issue:
https://trac.macports.org/ticket/63563

My guess is whatsmyip.org is affected by the Let’s Encrypt expiration on 10.14 and earlier: https://lists.macports.org/pipermail/macports-users/2021-October/050298.html


How to run services with splitted proto files ?

Hi, great job with this project.
I am new to gRPC and i am wondering how to run services with splitted proto files ? Here is the case.

services

services_a.proto
services_b.proto

How i can register both services_a and services_b at ".rr" config file since it need single proto file to be registered to server ?

You can use the default import functionality. This the example: https://github.com/spiral/php-grpc/blob/master/cmd/protoc-gen-php-grpc/testdata/import_custom/service.proto#L7

You can use the default import functionality. This the example: https://github.com/spiral/php-grpc/blob/master/cmd/protoc-gen-php-grpc/testdata/import_custom/service.proto#L7

My case is i need to register multiple services that defined with multiple proto files. I tried to use import public to forward all the imports but the imported services do not registered at server.
Currently, i can't find a way to do that. I think proto configuration should be able to receive array arguments. Are there any affected work flow if the server can register multiple proto files ? May be i can provide a PR.
Thank you.

There are not affected flow, well, except that we still have to support single config file notation. Your PR is welcomed.

Okay then.
I'll make a PR regarding this discussion and i'll close this issue.
Thank you.


Party object / address field

I would suggest adding a field like "displayedAddress" with a maxLength of 500 in the party object, to complete the whole description of the address rather than having only each independent field such as street, streetNumber, floor, etc

@enriquesempe  I think that's a fair suggestion. Especially if it is in addition to the separate fields so the sender can decide what to send depending on the available information. This is indeed also inline in what has been discussed previously.

#8

@enriquesempe below a proposal (I have not update the OAS yet) I added a displayedAddress to the address object all fields are optional. This way we do not loose the capability to send a structured address if needed.
A Max Length of 500 does seem quite large, do you have real life examples where such a large displayedAddress is needed?
{
    "eBLPlatformIdentifier"<EMAIL_ADDRESS>    "partyName": "Asseco Denmark",
    "taxReference1": "CVR-25645774",
    "taxReference2": "CVR-25645774",
    "publicKey": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkFzaW",
    "address": {
        "displayAddress": "Kronprincessegade 54, 5. sal, 1306 København Denmark",
        "name": "Henrik",
        "street": "Kronprincessegade",
        "streetNumber": "54",
        "floor": "5. sal",
        "postCode": "1306",
        "city": "København",
        "stateRegion": "N/A",
        "country": "Denmark"
    },
    "partyContactDetails": [
        {
            "name": "Henrik",
            "phone": "+45 33364660",
            "email"<EMAIL_ADDRESS>            "url": "https://www.dcsa.org"
        }
    ],
    "identifyingCodes": [
        {
            "DCSAResponsibleAgencyCode": "SMDG",
            "partyCode": "MSK",
            "codeListName": "LCL"
        }
    ]
}

We should consider making this an optional choice (OAS oneOf), otherwise what if the structured address and displayed address contain different information?

We should consider making this an optional choice (OAS oneOf), otherwise what if the structured address and displayed address contain different information?

Agree with considering this as an optional choice, it's up to the user/service provider to decide how they will be completing this information

@enriquesempe below a proposal (I have not update the OAS yet) I added a displayedAddress to the address object all fields are optional. This way we do not loose the capability to send a structured address if needed.
A Max Length of 500 does seem quite large, do you have real life examples where such a large displayedAddress is needed?
{
    "eBLPlatformIdentifier"<EMAIL_ADDRESS>    "partyName": "Asseco Denmark",
    "taxReference1": "CVR-25645774",
    "taxReference2": "CVR-25645774",
    "publicKey": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IkFzaW",
    "address": {
        "displayAddress": "Kronprincessegade 54, 5. sal, 1306 København Denmark",
        "name": "Henrik",
        "street": "Kronprincessegade",
        "streetNumber": "54",
        "floor": "5. sal",
        "postCode": "1306",
        "city": "København",
        "stateRegion": "N/A",
        "country": "Denmark"
    },
    "partyContactDetails": [
        {
            "name": "Henrik",
            "phone": "+45 33364660",
            "email"<EMAIL_ADDRESS>            "url": "https://www.dcsa.org"
        }
    ],
    "identifyingCodes": [
        {
            "DCSAResponsibleAgencyCode": "SMDG",
            "partyCode": "MSK",
            "codeListName": "LCL"
        }
    ]
}

Ok with this proposal.
Regarding the Max Length of 500, it is true that it might seem quite large, we could consider 250 instead. On our side, the vast majority of the address are below 250 characters. Those out of this group might be because in some situations they might be adding some other information on this field such as telephone numbers, tax id numbers, etc..., which is not correct.

Would suggest making it 255 (default varchar length for many of the databases available)


Update Pricing

Updated pricing to 5k sats. In future, we should handle this via env vars or a config file of some kind. See #45

@chdwlch merging since you told me out of band you're good with it


Graphics to ECS integration, part 2.

This PR introduces the default rendering system in the ECS for the common use case. Will also provide some basic switches and options, but these will be pretty barebone.
EDIT: Resolves #96

Resolves #96

LGTM BOSS

This now also resolves #361 because literally nobody else was picking it up and it was bothering me. :(


Manifest API changes necessary for SE-0226

This PR implements the manifest API changes necessary for implementing the other features of SE-0226. I have several questions though:

Is it okay if I name the new tools version 5.3? I think its too late to get this into the 5.2 tools version.

Are we okay with PackageDependencyDescription's new name property being optional and having a value of nil when parsing with tool versions lower than 5.3? This seems to make the most sense, but it hides the fact that the value will never be optional for manifests parsed with tool versions greater than 5.3.

Question: At what stage do we want to make sure there are no duplicate package names? During manifest loading? When creating the package graph?
This is implemented on top of https://github.com/apple/swift-package-manager/pull/2422, so that PR will need to be merged first.

🎉

@aciidb0mb3r I resolved all comments.

@swift-ci please smoke test

@swift-ci please smoke test


Support PREFIX and DESTDIR in Makefile

The Jake Makefile install target assumes I want jake installed in /usr/local. Could you support a PREFIX variable allowing me to specify a different location? While we're there, could you also allow installing to a staging area using the DESTDIR variable? This patch implements these suggestions:
https://trac.macports.org/browser/trunk/dports/devel/jake/files/patch-Makefile.diff?rev=87891

This would be great. Could you implement it as a normal GitHub
pull-request, and doc it in the README? I'll merge it ASAP.
Thanks for using (and more importantly improving) Jake. :)
Matthew
On 12/10/11 6:30 PM, ryandesign wrote:

The Jake Makefile install target assumes I want jake installed in /usr/local. Could you support a PREFIX variable allowing me to specify a different location? While we're there, could you also allow installing to a staging area using the DESTDIR variable? This patch implements these suggestions:
https://trac.macports.org/browser/trunk/dports/devel/jake/files/patch-Makefile.diff?rev=87891

Reply to this email directly or view it on GitHub:
https://github.com/mde/jake/issues/85

Apologies for not submitting a pull request; I have not had a chance to learn git properly yet. Thank you for committing the fix anyway.

No worries. Actually, I ended up needing it for something too, so it was perfect timing.

The jake symlink is not made correctly: it points to cli.js in the destroot, but it needs to point to cli.js's ultimate install location. The original patch I provided above was correct because it used a relative path, but you committed something different in cb989017ce3a0c7597007f64453f58f2a2bd6317. Here is a new patch to fix it now:
https://trac.macports.org/browser/trunk/dports/devel/jake/files/patch-Makefile.diff?rev=89034

Fixed and in the latest release on NPM. Thanks. :)


[question] How to get all dumps of hw-probe, not only bad Linux-compatibility?

I want to create BogoMIPS rating of CPUs.
Table contain this columns and may contain any others:

Vendor
Model
Features
Clock
BogoMips / Per one core
BogoMips / Total
Cache
Units/Processor

I want to parse maximum dumps for this reasons:

create CPU's BogoMIPS rating;
create historical changes of BogoMIPS values (min, max, median, etc).

How can I get all dumps of hw-probe, not only "bad Linux-compatibility"?

Do you need lscpu logs dumped to GitHub for this?
Like this one https://linux-hardware.org/?probe=2b76ee0822&log=lscpu

Are BogoMips depend on motherboard installed?

Need to decide how to organize the catalog - by board model or by CPU model.

Are BogoMips depend on motherboard installed?

BogoMIPS depend on CPU, but little bit effect has BIOS and early microcode.
In my case:
dmesg | grep -i -e "cpu(s)" -e bogomips
[    0.376108] Calibrating delay loop (skipped), value calculated using timer frequency.. 5988.78 BogoMIPS (lpj=2994392)
[    0.538167] smpboot: Total of 12 processors activated (71865.40 BogoMIPS)

12 cores * 5988.78 BogoMIPS = 71865,36 BogoMIPS * 12 cores
But dmesg says, that 12 cores have 71865.40 BogoMIPS.
Delta: 71865.40 - (12 * 5988.78) = 71865.40 - 71865,36 = 0,04
For "BogoMIPS rating" enough info by CPU model.

Do you need lscpu logs dumped to GitHub for this?
Like this one https://linux-hardware.org/?probe=2b76ee0822&log=lscpu

I need just files, no preffered distribution variant.
It is may be simple high-compressed archives by year for previous years, and by months for current year.

Do you need lscpu logs dumped to GitHub for this?
Like this one https://linux-hardware.org/?probe=2b76ee0822&log=lscpu

I need just files.
My preffered distribution variant is simple high-compressed archives by year for previous years, and by months for current year (only finished months).

I'll prepare the package with lscpu reports per model in a week. You'll need to order models by family / model and stepping numbers.

Please see https://github.com/linuxhw/LsCPU

Please see https://github.com/linuxhw/LsCPU

It's cool!

Please see https://github.com/linuxhw/LsCPU

It's cool!
I will be more happy, if values in Model column was in full form, without "...".

Fixed


审核被拒了

审核被拒了,麻烦看下怎么处理,谢谢!
用的是最新版本
下面是被拒内容:
发件人 Apple
5. 1.1 Legal: Privacy - Data Collection and Storage
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
We noticed that your app requests the user’s consent to access the photo but does not clarify the use of this feature in the permission modal alert.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the photo.
To learn more about requesting the user’s permission to access app features, visit the iOS Human Interface Guidelines.
被拒截图:

知道原因了,Alert中要说明使用相册原因....


bugfixed: All apis of getting unread emails don't work, always return 0;

@josteink Hello, does this have issues?

Sorry for the slow reply!
Looking at the diff, this looks much better.
Unfortunately I’m on vacation and won’t be able to actually test these changes for at least 2 weeks.
If you remind me then, I’ll do my best to get this tested, expedited and merged quickly!

Take your time, have a nice vacation.

And there I'm back at the office, ready to do some testing! Whee!
I've only tested on English so far, but running a simple test though, I'm not sure I'm getting what's expected:
// gmail.get.unread_emails()
{
  drafts: 1,
  forum: 0,
  inbox: NaN, // <-- this doesn't look correct
  promotions: 0,
  social: 0,
  spam: 318,
  update: 0
}

Is this the same results you are getting?

This kind of of code is repeated lots of times, and will need to handle 0 gracefully.
        var dom = $("div[role=navigation]").find("[title*='" + api.tools.i18n("inbox") + "']");
        if(dom.length > 0) {
            if(dom[0].title.indexOf(api.tools.i18n("inbox")) !== -1) {
                return parseInt(dom[0].attributes['aria-label'].value.replace(/[^0-9]/g, ""));
            }
        }

        return 0;

I propose we create a new function to identify node, and extract number from it (falling back to 0), which we re-use for all different mail-boxes.
Does that sound good?

From my PR, you can see that I just update some codes that will work fine for me, I think you don't need this PR, I will close it, thanks.

You misunderstand. I definitely want this PR, but I was just discussing the code firm before merging.
That’s both common and useful.

Hey @hzb.
Can you please re-open this so we can fix the final issues and get this merged?

Since @hzb did not want to come back and fix this, I took his code and committed it myself.
This issue is now fixed as per https://github.com/KartikTalwar/gmail.js/commit/7eb6d96df7eb92b15396ef5d06cd9e8831007d70 and will be in the upcoming 0.9.7-release.


Add stack name to unknown buildpack error message

Helps in cases where the buildpack exists for one stack but not another

[ ] I have reviewed the contributing guide

[ ] I have viewed, signed, and submitted the Contributor License Agreement

[ ] I have made this pull request to the main branch

[ ] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

cc @dalvarado


"missing script: watch" When Installing

I followed the Quickstart and once I got to npm run watch, I get the following error:
yadayadayada$ npm run watch
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "watch"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1

npm ERR! missing script: watch
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     yadayadayada/npm-debug.log

Any thoughts? Thanks and let me know if you need any more info from me.

Check that you have the latest package.json file on your dev environment. If something is missing, please add it and run npm install

That was it; I had an outdated package. Thanks much. -J


Adding authors to zenodo.json

Adding everyone implied in the project in the .zenodo.json at the root of the folder. Possibility to add the affiliation for everyone

Closed. No need as an issue


global: revert GH actions migration

If possible create also an issue in the repo pointing to the commit to be used when we restore GH actions


Temporarily reduce throughput test depth to 1 RPC per channel

due to flake. Need to root-cause the flake.

LGTM.

Undo LGTM.
Looks like the test is still timing out:
TIMEOUT: qps_json_driver.cpp_single_channel_throughput_secure [pid=9036]

Yes, just realized that. It's become more urgent to root-cause this, and maybe it wasn't caused by this particular change.

BTW, note that this failed on the perf smoke test, which is a single-machine test. So, it's not about single-machine vs multi-machine.

Superseded by#6270


libs/ncurses: enabled widec, added BASEMENT_LIBS (static/shared) switch, small bugfixes

widec is prerequisite for for other packages, e.g. python3-dev

Hmm, we're replicating this case statement over and over again. This should probably be moved into a helper into the cpackage class.
The --enable-widec change should also be a separate commit from the shared/static handling. They are independent of each other.

Hmm, we're replicating this case statement over and over again. This should probably be moved into a helper into the cpackage class.
The --enable-widec change should also be a separate commit from the shared/static handling. They are independent of each other.

done: restructured commits.

done: restructured commits.


Docker: Add aarch64 Images

We now also build aarch64 wheels. 🙌
From our end we'd also be ready for ARMv6/ARMv7 builds (which would be nice for older Raspberry Pis), but that is currently blocked on https://github.com/rust-lang/cargo/issues/9545. This is too much of a rabbit hole, so 64 bit ARM will do. :)

Super nice! Thanks for getting into this.


Fix issue whereby resource metric logging affects user metric logging steps

Fixes a bug whereby the logging of resource metrics would increment the step leading to user metrics having uneven stepping.
This fix also addresses partially the issue where comparing a resource metric to a user metric on step axis showed all resource values to be at step zero. As the stepping of resource logging is different to user metric logging what now should happen is when plotting the two together for every user metric logged at a step, a set of 0-N points will be shown for the resources (i.e. all the resource metrics logged between the user step interval - "binned").

Set resource metrics back to using step = 0, opened #263 to look into fixing that in the future


Seeing an error pop up when using

nvim --version: 0.6.0
terminal emulator and version: iTerm
Operating system/version: macOS Monterey

Describe the bug
Steps to reproduce the behavior:

Just type something in nvim

Expected behavior
Stuff just types
Screenshots

I have seen this error once, but have not been able to reproduce it for a long time. I think it may be a bug of some plugins. Can not reproduce on my macOS now.


Port to NodeMCU

Is it possible to port this to NodeMCU ?
It would be very useful to be able to use soft uart.

I am sure a port is possible, right now I personally do not have enough time.
If somebody else likes the idea, maybe post a +1 here!

+1

+1

+1

+1

+1

+1

+1

+1

Done
https://github.com/nodemcu/nodemcu-firmware/pull/2120

+1


pull request for e2e test at 02/03/2017 10:45:05

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Create buildscript

We need a proper buildscript that does multiple things:

On PR's (not master, especially development): build & run htmlproofer
On Master push: same + push to CF and index Algolia

Right now it runs from travis.yml, but this should be a proper bash script that will clearly distinct between those scenarios

Blue green deployment is now working

HTML Proofer is now done through gulp (currently only on feature_development branch)
Algolia push is done through Gulp after deploy (currently only on feature_development branch, tested ok and disabled for now)


Fix missing Microsoft.Bcl.AsyncInterfaces for ServiceCollection project in NetsStandard 2.0

Hi,
After updating SimpleInjector.Integration.AspNetCore.Mvc.Core to the latest version (5.1.1), my net 5.0 project fail to start.
I found that the root cause was that the package Microsoft.Bcl.AsyncInterfaces has been removed from SimpleInjector.Integration.AspNetCore project dependencies.
The problem is that the only target of this project is NetStandard 2.0, so I added a NetStandard 2.1 target and reintroduce the Microsoft.Bcl.AsyncInterfaces for the NetStandard 2.0 target.
I built the packages on my local machine for testing and the modification fix the issue.

Can you be more specific? Doesn't it compile? If so, what is the compilation error and on what code? If it fails at runtime, please provide the full exception?

It's a runtime exception of type FileNotFoundException when application start.
The message is

Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

And the stack trace is :
   at SimpleInjector.SimpleInjectorServiceCollectionExtensions.AddContainerDisposalOnShutdown(IServiceCollection services, SimpleInjectorAddOptions options)
   at SimpleInjector.SimpleInjectorServiceCollectionExtensions.AddSimpleInjector(IServiceCollection services, Container container, Action`1 setupAction)
   at Planning.Api.Configs.ContainerConfig.AddSimpleInjector(IServiceCollection services, SimpleInjectorDependencyInjector dependencyInjector) in D:\Workspace\Planning\Planning.Api\Configs\ContainerConfig.cs:line 19
   at Planning.Api.Startup.ConfigureServices(IServiceCollection services) in D:\Workspace\Hacksis\Alcis.Isatis\Sources\Planning\Planning.Api\Startup.cs:line 43
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services, Object instance)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
   at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at Planning.Api.Program.<Main>d__8.MoveNext() in D:\Workspace\Planning\Planning.Api\Program.cs:line 23
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Planning.Api.Program.<Main>(String[] args)

That's odd. Microsoft.Bcl.AsyncInterfaces should be pulled in automatically because the SimpleInjector package takes a dependency on Microsoft.Bcl.AsyncInterfaces.
But either way, I'm currently in the middle of the process of removing the Microsoft.Bcl.AsyncInterfaces dependency completely from all libraries (including the core library and ServiceCollection). My advice, for now, is to roll back to the previous version and wait until the v5.2 set of packages are available.

Ok no problem.
For now I will just add an explicit dependency to Microsoft.Bcl.AsyncInterfaces to my project, this fix the issue.
So I can wait for a new version with a fix.
In this case I close the PR.
Thank you.


individual space character

The space character between the number and the currency symbol should be customizable.
i would like to use "thin space" character https://www.compart.com/en/unicode/U+2009

I've added this option in the latest version (2.0.0).
You can now set the symbolSeparator parameter of a CurrencyFormatterSettings.
Or you could also do:
CurrencyFormatterSettings usdThinSpace = CurrencyFormatterSettings.usd.copyWith(symbolSeparator: '\u2009');

I hope that's what you wanted.
Also, keep in mind that this version brings major changes and some code will have to be migrated.


Made Punctuation, Grammar and other changes in the documentation - Issue 104

Description
Removed all the grammatical, punctuation errors from the documentation and other readme files.
Fixes #(104)

Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] Added new sections such as Major Issues and Updates and Resources

Checklist:

[x] My changes follows the style guidelines of this project.
[x] I have performed a self-review of my own changes.
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

Hey @avinashkranjan, I have resolved the conflicts and made a new branch.
Thank you.

No Response Closing this PR


Arquitecture and performance NoSQL vs SQLite

Hi Couchbase team,
Sorry for boder you, but, I am trying to make an investigation for my organization about NoSQL and SQLite (as deep as I can for a decision making). I hope you help me. Meaby the answer could help someone else.
The first question I did was "Why NoSQL in the phone?". This is easy to answer.
As we are using a document-oriented database, using the same engine in the phone could:

This reduces decomposition time document to convert a non-relational structure to a relational structure to the case of using SQLite.

This reduces efforts to make migration database whenever the application requires changes its attributes. And even more when the application is constantly changing.

Now if android natively has an engine SQLite, I wonder Why has not one of natively documents?
This is why I want to know the following to have a better criteria between the two types of database:

If I emit a document in a view, does the view duplicate the document?
Does the revisions duplicate the documents?

Thanks in advance.
Deneb Chorny

Hi @denebchorny

If I emit a document in a view, does the view duplicate the document?

If you emit a document as the value, the document is stored in the index. You can set null in value field, at query time the document will be obtained from the storage. Please

Does the revisions duplicate the documents?

I am not clear about question. Whenever updating the document, CBL creates new revisions. In json field of each revision, json is stored. Without calling Document.purge() or Database.compact(), all revisions are kept.
Thanks!

Thank you. I am grateful


Example is not working

Looks like Example of Using iLib Under NodeJS from the readme is not working:
index.js:
var DateFactory = require("ilib/lib/DateFactory.js");
var DateFmt = require("ilib/lib/DateFmt.js");

var d = DateFactory();
var f = new DateFmt({
    locale: "de-DE",
    type: "datetime",
    length: "long",
    timezone: "Europe/Berlin"
});

f.format(d);

and running it as
node index.js

throws:
TypeError: Cannot read property 'onLoad' of undefined

Anything else I should import/pass to the config object for a DateFmt?

Hi Bohdan, thanks for using ilib. Which version are you using? In 14.1.2, it works:
% node
> var DateFactory = require("ilib/lib/DateFactory.js");
undefined
> var DateFmt = require("ilib/lib/DateFmt.js");
undefined
> var d = DateFactory();
undefined
> var f = new DateFmt({
...     locale: "de-DE",
...     type: "datetime",
...     length: "long",
...     timezone: "Europe/Berlin"
... });
undefined
> f.format(d);
'23. April 2019 um 19:56'
> var ilib = require("ilib");
undefined
> ilib.getVersion()
'14.1.2'

I should actually promote 14.X to be the latest, as it is pretty stable now. It currently has the "experimental" tag in npm, and the "latest" is still pointing at 13.3.1.
Let me know what your version is and I'll see if I can trace it down. Possibly just a problem with the docs... in 13.X and earlier, you had to do var ilib = require("ilib"); first before any other requires in order to install the correct locale data loader for your platform. I resolved that problem in 14.X by auto-detecting the platform first and then requiring the right loader.

@ehoogerbeets ah, ok, thanks. Yes, it's 13.3.1 exactly what was installed through npm i ilib. Adding the var ilib = require("ilib"); made it work. Thanks!


Add an FAQ page with a link in the drawer Help Center

The FAQ must be a json or text file, one can update easily with an editor for a new build
UI style simple as https://stackoverflow.com/questions/71291053/flutter-problem-my-faqs-ui-is-not-what-i-want

Size: M

Need the FAQ file structure to start to fill it

{
"faq": [
{
"que": "What is a cryptocurrency?",
"ans": "A cryptocurrency is a digital or virtual currency that uses cryptography for security. It operates independently of a central bank or government."
},
{
"que": "What is a blockchain?",
"ans": "A blockchain is a decentralized, digital ledger that records transactions across a network of computers. It is the technology that underlies most cryptocurrencies."
},
{
"que": "How do I buy and sell cryptocurrencies?",
"ans": "In order to buy and sell cryptocurrencies, you need to set up an account on a cryptocurrency exchange. Once your account is verified, you can deposit funds and use them to buy and sell different cryptocurrencies."
},
{
"que": "How can I store my cryptocurrencies?",
"ans": "Cryptocurrencies can be stored in digital wallets. These can be either software wallets, which are stored on your device, or hardware wallets, which are physical devices that store your cryptocurrencies offline."
},
{
"que": "How do I protect my cryptocurrencies from theft?",
"ans": "It is important to keep your digital wallet's private key or seed phrase secure and to not share it with anyone. Additionally, you should use a hardware wallet for storing large amounts of cryptocurrency."
},
{
"que": "Are cryptocurrencies legal?",
"ans": "The legality of cryptocurrencies varies from country to country. In some countries, they are completely legal, while in others, they are heavily restricted. It is important to check the laws in your country before buying or selling cryptocurrencies."
},
{
"que": "How can I track the value of my cryptocurrencies?",
"ans": "There are many websites and apps that track the value of different cryptocurrencies in real-time. You can use these to keep track of the value of your investments."
},
{
"que": "Can I use cryptocurrencies to make purchases?",
"ans": "While the acceptance of cryptocurrencies as a form of payment is still relatively limited, it is becoming more common. More and more businesses are beginning to accept them as a form of payment."
},
{
"que": "What is the difference between a coin and a token?",
"ans": "A coin is a cryptocurrency that operates on its own blockchain, while a token is built on top of an existing blockchain, such as Ethereum."
}
]
}
@ThierryThevenet

we will have faq.json inside assets folder of our project.. You will be able to easily update it..


The Level argument on error is not respected in stack traces.

The following code
function faulty()
	error("no!", 2)
end

faulty()

Should only generate a stack trace with the call on faulty at line 5, however, no matter how much I shift the level argument, every function is printed to the stack trace. error itself respects the argument, but the stack trace does not

Normally, I wouldn't mind this, however, this argument is useful for shifting errors in libraries in a way that the user can tell its a problem with their code, and not the library itself.

Turns out this is parity behaviour with Lua so...
uh...
yeah lets forget i made this haha


Update http4s-blaze-client, http4s-circe, ... to 0.21.14

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-circe
org.http4s:http4s-client
org.http4s:http4s-dsl

from 0.21.1 to 0.21.14.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Applied Migrations

dependency:v0_21@org.http4s:http4s-scalafix:0.21.5

Documentation:

https://github.com/http4s/http4s/releases/tag/v0.21.5

labels: library-update, semver-patch, scalafix-migrations

Superseded by #156.

Superseded by #156.


Req. compileModules:true to use compact-reexports

In preparation for Embroider

@tmquinn nice this LGTM. have you confirmed this does indeed fix the issue in embroider?

@tmquinn thank you!

We will need to figure out why engine tests are failing locally before I feel comfortable releasing. I'll maybe have time tomorrow AM to do so... let's see.


docs(guide/scope): describe watch depths

Describe and visualize the three watch strategies: By reference, by collection items, and by value.
Closes #9388

Landed as https://github.com/angular/angular.js/commit/0f7bcfdf93f041f741e094bb2e269368730d971f


Unable to Run Example: MissingPluginException

I'm trying to get started with this package but I'm unable to get the example running. After cloning the repository, I ran the tests and they all passed. However, when I try and run the example project I get a MissingPluginException when trying to register. I have tried running flutter clean before running the example but the issue still persists. I hope I'm not missing any steps or instructions, I believe all compatibility requirements are being met.
Platform: Windows 11
Error: MissingPluginException (MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite))
Would appreciate any help, thanks!
Console Log
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)
<asynchronous suspension>
#1      wrapDatabaseException (package:sqflite/src/exception_impl.dart:7:20)
<asynchronous suspension>
#2      SqfliteDatabaseFactoryMixin.getDatabasesPath (package:sqflite_common/src/factory_mixin.dart:151:20)
<asynchronous suspension>
#3      DB._getDirectory (package:webauthn/src/db/db.dart:64:29)
<asynchronous suspension>
#4      DB._getDbPath (package:webauthn/src/db/db.dart:60:17)
<asynchronous suspension>
#5      DB.open (package:webauthn/src/db/db.dart:44:12)
<asynchronous suspension>
#6      DBSchema.execute (package:webauthn/src/db/schema.dart:38:20)
<asynchronous suspension>
#7      CredentialSchema._getOne (package:webauthn/src/db/credential.dart:194:21)
<asynchronous suspension>
#8      Authenticator.makeCredential (package:webauthn/src/authenticator.dart:115:13)
<asynchronous suspension>
#9      _MyHomePageState._createCredential.<anonymous closure> (package:webauthnexample/main.dart:128:29)
<asynchronous suspension>
#10     _MyHomePageState._lockAndExecute (package:webauthnexample/main.dart:98:18)
<asynchronous suspension>
#11     _MyHomePageState._createCredential (package:webauthnexample/main.dart:117:26)
<asynchronous suspension>

Have merged PR #2. Thank you so much!


Create SECURITY.md

hi @Wbaker7702, did you perhaps mean to submit it to a fork instead of the main NEMO repository?


Fix/masthead design qa

Related Ticket(s)
#104, #107, #108, #109, #110, #112, #113, #115, #116, #118, #119, #124, #125, #126
Description
Various CSS fixes to the masthead component based on design review.
Changelog
Changed

Lots of css fixes

@kennylam can you retarget this PR to the release branch?

Everything is almost perfect! Except for 1 issue.
#152 when turning on the platform knob:

The gray divider rule after the IBM 8-bar logo shifts 2–3px to the right (it should stay in the same place as without the platform name)
The padding is too great. It should be:

@larahanlon2 This is fixed.
Re: the ghost spacing, this is an issue with Storybook. It doesn't re-render the page for changes like that and so the injected element is left behind and hidden, introducing that gap. In real-world usage this would be impossible since there is no way to toggle the platform name. Once it's there it's there to stay.


[docs]: Discord link in docs returns invalid in Discord (expired or no permission)

Describe the missing piece of documentation
I'd really like to try Stacked, but I've found the docs alone are insufficient. When clicking on any of the Discord links in the docs, Discord shows a dialog with:
Invite Invalid
This invite may be expired, or you may not have permission to join.

Hi, here's a valid link. https://discord.gg/cbYcCskpXu
I don't know why it keeps expiring, I set it to never expire.
Which parts of the documentation do you feel is lacking clarity?

Thanks, Dane.
I was getting a bit frustrated trying to figure out how to do a complex form with 3rd party input widgets, but I had another look at the example in GitHub, and it’s a bit clearer now. Still, I expected the In-Depth section to go into more detail on forms.
I’ve only been using Flutter for about 6 months, so maybe it’s my inexperience showing!
I’ll have another crack at Stacked, as it seems very good, especially its support for testing.
Cheers.
John
Sent from Proton Mail for iOS
On Tue, Nov 28, 2023 at 7:20 pm, Dane Mackier @.***(mailto:On Tue, Nov 28, 2023 at 7:20 pm, Dane Mackier < wrote:

Hi, here's a valid link. https://discord.gg/cbYcCskpXu
I don't know why it keeps expiring, I set it to never expire.
Which parts of the documentation do you feel is lacking clarity?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


USB Support

It would be really nice to have usb support for the next release! To avoid connecting online for those of us that like to keep this offline only.

This currently isn't something I am looking to add. I rely heavily on the API provided by botbase, the switch doesn't have to connect to the internet to connect to your Wi-Fi. Sorry!

Would you reconsider implementing this feature since there's a fork of sys-botbase that uses the same interface but communicates over USB? The project in question is USB-Botbase. One of the reasons for using an USB cable instead of a Wi-Fi connection is for those of us who have a bad router that something craps the bed when you're using it.

no, people are already using my program to make money en masse. I am not going to make it even easier for them. It is a very easy implementation and I don't really want to spoonfeed others profiting off of users who aren't running CFW.


Adding github release deploy step

What Are We Doing Here
Configuring travis to build binaries for all three platforms and release them to github when a tag is built.

@wpdrush21 Our install_minikube command seems to be failing. I've had to rebuild 3 times now to get a passing CI build. :(


Final Answer key released, Add the Final Ans key values

final.pdf

+1 @nikhilmwarrier

lagta hai developer result dekh kar mar gya abhi tak issue nahi dekha /s

lagta hai developer result dekh kar mar gya abhi tak issue nahi dekha /s

Ha bhai

Added for April session.


Add min options length check & proposal validator tests

Will rebase after Quang's PR is merged...

L165 comment alr changed, will fix the rest


apple silicon: os.cpus() returns [] (empty array)

VSCode Version: Visual Studio Code - Exploration
Version: 1.53.0-exploration
Commit: 47a314c25fea67c9b54fcb46aeaa15db31af33f8
Date: 2020-12-08T08:33:00.164Z (18 hrs ago)
Electron: 11.0.3
Chrome: 87.0.4280.67
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.1.0
OS Version: Big Sur 11.0.1

Steps to Reproduce:

Toggle the Developer Tools
Type in console: require('os').cpus()

Does this issue occur when all extensions are disabled?: Yes
Sorry if this is the wrong place to report this, as it seems likely this is actually an Electron issue, but I saw in some other issues that you're currently building your own custom Electron builds for Apple Silicon.
I was exploring why the Hashicorp Terraform extension was never finishing its initialization phase, and I tracked it down to the fast-glob npm package using os.cpus().length to determine how many workers to use. Granted, they should add a sanity check here, but this seems likely to cause other issues too.

I cannot reproduce this anymore with Electron 12:

Yup this is fixed with latest insiders and should be fixed with next stable release 1.56. Thanks for checking @bpasero


Fork Events

I'd like to register events handlers to be called before / after a process fork, so that things like database connections can be disconnected / reconnected properly. In Puma, I would use:

:before_worker_fork
:after_worker_fork

Not seeing a way to do the same thing with Falcon. Do you have any input on how to support?

There is no guarantee that your process would be forked or threaded.
Falcon will pre-load your config.ru before forking/threading.
https://github.com/socketry/falcon/blob/master/lib/falcon/command/serve.rb#L104
So, everything is loaded into the falcon process by default.
There is no reason why we couldn't add some hooks, but to me this is very app-server specific. I'd prefer if there was a general solution.
Can you show me some example hooks so I can see exactly what kind of things are needed?
One option would be to move load_app into the container instance.
Then you could use warmup in your config.ru which would be executed per-thread or per-process.
warmup do |app|
  ActiveRecord::Base.establish_connection(...)
end

It might still make sense to pre-load some dependencies, but as this doesn't affect memory usage, maybe it can be done by adding a file, e.g. config/preload.rb which is loaded into the pre-fork falcon environment. It wouldn't have any logic, just requires which minimise the memory overheads when forking.

Keep in mind that rolling restarts are going to form an important part of the falcon process model. I'm not sure the best way we achieve this but I suspect we will have some top level falcon process which spawns per-site instances of falcon which can be recycled. These themselves can either be forked or threaded. Anything we do to solve the issue here should be compatible with that design.

Sure. In context of the pakyow web framework, the application server is configured to call either Pakyow.fork, Pakyow.forking, or Pakyow.forked (link):
def fork
  forking
  yield
  forked
end

def forking
  call_hooks :before, :fork

  @apps.select { |app|
    app.respond_to?(:forking)
  }.each(&:forking)
end

def forked
  call_hooks :after, :fork

  @apps.select { |app|
    app.respond_to?(:forked)
  }.each(&:forked)

  booted
end

When using puma, hooks are registered that call the appropriate method (link):
setting :before_worker_fork do
  [
    lambda { |_| Pakyow.forking }
  ]
end

setting :after_worker_fork do
  []
end

setting :before_worker_boot do
  [
    lambda { |_| Pakyow.forked }
  ]
end

Finally, hooks are registered within the framework that perform certain tasks before/after fork (link):
require "pakyow/support/extension"

module Pakyow
  module Environment
    module Data
      module Forking
        extend Support::Extension

        apply_extension do
          before :fork do
            connections_to_reconnect.each(&:disconnect)
          end

          after :fork do
            connections_to_reconnect.each(&:connect)
          end
        end

        class_methods do
          def connections_to_reconnect
            @data_connections.values.flat_map(&:values).reject { |connection|
              connection.name == :memory
            }
          end
        end
      end
    end
  end
end

Does that help? Happy to talk through this more.

Do you think this design makes sense in the context of threads/forks?

If there isn't a process fork I don't think there's anything to do. It's only needed in the case above because the fork breaks the connection in the parent process (more discussion).

If the parent process doesn't have any application state, does it still make sense?

Nope. We implement a process model similar to what you describe above for development. A master process is started that loads dependencies, then forks to spin up the application server. Requests are passed through the master process to the child. When code changes, we replace the child process. In this case there's no need to call forked because application state doesn't exist in the parent.

I think the model you just described makes the most sense.
Pre-fork code loading shouldn't affect API because it's a leaky abstraction (doesn't make sense for threads, forces libraries to support some kind of model for fork).
In my mind, I think for falcon, it would make the most sense to use bundler to pre-load dependencies by default, i.e. an optional pre-fork could just do bundler/setup and Bundler.require :prefork.
This should work for 99% of situations where the point of pre-fork is to minimise memory and startup time (due to loading/parsing dependencies).. The downside with this model is prefork is only really useful in production because you can't just restart by killing the child process.

Yep, makes sense. To handle that last point, when the bundle changes we stop the child process and use exec to replace the parent process. It works well enough for a development server.

Interesting, so you reload the master process in place?

Yep! It isn't quite as smooth of a user experience, but it works great. When replacing a child, the parent process holds any requests that come in and waits for the child to become available. You don't get that behavior and so requests will fail, but it prevents the user from having to manually restart.

Falcon already does this to some extent - because the parent process binds a socket and shares it across fork/threads.
All we need is an intermediate process to do the pre-fork, and that can manage child processes. I think we can implement this, but the most logical place to do it is in async-container. It's not falcon specific - we need to extend async-container with a new container type, probably called Prefork which does the behaviour described. The prefork container would make one child process via fork, do bundler magic, and then make another container of children.

Then, in falcon, we'd do something like falcon serve --preforked rather than --forked.


Fixed warning

Well, since everything went so smoothly with the previous PR, here some more improvements

Warning removed (https://github.com/vmari/DotEnv.jl/issues/5), this fix also duplicates https://github.com/vmari/DotEnv.jl/pull/7
Extended load definition, now it supports kwargs in the same manner as config.
Synchronized override options in kwargs and args versions.
Added Manifest.toml, so this PR also duplicates https://github.com/vmari/DotEnv.jl/pull/6

Thanks again 🥳


Unable connect doris database

Bug description
unable connect doris database when using command
npx prisma db pull
How to reproduce

.env
DATABASE_URL="mysql://username:password@host:port/test"
schema.prisma
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "mysql"
url      = env("DATABASE_URL")
}
Expected behavior
No response
Prisma information

// Add your schema.prisma

// Add your code using Prisma Client

Prisma schema loaded from prisma/schema.prisma
Environment variables loaded from .env
Datasource "db": MySQL database xxx at xxx
✖ Introspecting based on datasource defined in prisma/schema.prisma
Error: Error in connector: Error querying the database: Error querying the database: Error querying the database: Server error: `ERROR HY000 (1064): Unknown system variable 'socket''
Environment & setup

OS:
Database:
Node.js version:

OS: macOS
Database: doris
Node.js version 16.15.1
Prisma Version
4.4.0

Unfortunately prisma does not support mysql 5.1 and my doris runs on mysql5.1.
Close this issue


Gemfile文件中添加了主题 bundle install报错

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/3.0.0/gems/racc-1.6.0/ext/racc/cparse

/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20220824-114716-txjyba.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/3.0.0/gems/racc-1.6.0 for inspection.
Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/racc-1.6.0/gem_make.out
/usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in run'   /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in block in build'
/usr/lib/ruby/3.0.0/tempfile.rb:317:in open'   /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in build'
/usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:164:in build_extension'   /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:198:in block in build_extensions'
/usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in each'   /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in build_extensions'
/usr/lib/ruby/vendor_ruby/rubygems/installer.rb:851:in build_extensions'   /var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/rubygems_gem_installer.rb:72:in build_extensions'
/var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/rubygems_gem_installer.rb:28:in install'   /var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/source/rubygems.rb:207:in install'
/var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/installer/gem_installer.rb:54:in install'   /var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/installer/gem_installer.rb:16:in install_from_spec'
/var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/installer/parallel_installer.rb:186:in do_install'   /var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool'
/var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/worker.rb:62:in apply_func'   /var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/worker.rb:57:in block in process_queue'
/var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/worker.rb:54:in loop'   /var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/worker.rb:54:in process_queue'
/var/lib/gems/3.0.0/gems/bundler-2.3.20/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing racc (1.6.0), and Bundler cannot continue.
In Gemfile:
jekyll-text-theme was resolved to 2.2.6, which depends on
jemoji was resolved to 0.12.0, which depends on
html-pipeline was resolved to 2.14.2, which depends on
nokogiri was resolved to 1.13.8, which depends on
racc

the same error

同款问题已解决。首先安装依赖sudo apt install build-essential libssl-dev zlib1g-dev ruby-dev make，然后sudo bundle install


Generate a list of URLS for EU and US links to quickstart install paths in NR1: due by Sept 24

ISSUE
The EMEA GTM team would rather keep the experience in language and send EU users to the EU DC (Since I understand that there isn't a re-direct from one DC to the other). So the idea is to keep utilizing the current integrations page and add a link to the install there. This would be until we have the global I/O experience in Q4
Example sheet:  G-drive > New Relic I/O URLs

Acceptance Criteria

[ ] Generate all EU URLS that will be used for a quickstart after click of install quickstart on the external catalog
[ ] Generate all US URLS that will be used for a quickstart after click of install quickstart on the external catalog
[ ] If valuable add the script to /utils if we need to run this again.
[ ] Provide this list to @jmiraNR

@jpvajda Since we'll be adding dedicated packs as we progress, it would be great to have a process I could run where i could get an updated list weekly(?) and get the other sites up to speed. So this: If valuable add the script to /utils if we need to run this again. would be VERY beneficial.

@jmiraNR 💯  I feel we'll need these links pretty often.

@jpvajda it looks like i don't have access to that document/can't find it


Implement reviewdog GitHub apps (doghouse)

ref: #122
Depends: https://github.com/google/go-github/pull/914

I'll merge doghouse branch to master.
Test coverage is low and there might be a lot more room to improve, but as doghouse server is running in production and keeping up the changes both in master and doghouse is tedious work.
Can improve it later after merging it to the master.


"--skip-prompt" switch is not working when installing plugins

Shouldn't "--skip-prompt" work to accept the update? as documented in the cca --help :( I was forced to use "--skip-upgrade", which works as discussed on #453.
Options:
  -h, --help         Show usage message.
  -d, --verbose      Enable verbose logging.
  -v, --version      Show version.
  -y, --skip-prompt  Answer "yes" to any "yes/no" prompts.
  --skip-upgrade     Don't upgrade platforms and plugins.

When I try to use the skip command it fails:
$ cca --skip-prompt plugin add org.apache.cordova.device
cca v0.6.0
This project was not upgraded to cca v0.6.0 yet.  Attempting to upgrade now...
Warning: Upgrade will replace all files in platforms and plugins. Continue? [y/N]

$ cca plugin --skip-prompt add org.apache.cordova.device
cca v0.6.0
This project was not upgraded to cca v0.6.0 yet.  Attempting to upgrade now...
Warning: Upgrade will replace all files in platforms and plugins. Continue? [y/N]

$ cca plugin add --skip-prompt org.apache.cordova.device
cca v0.6.0
This project was not upgraded to cca v0.6.0 yet.  Attempting to upgrade now...
Warning: Upgrade will replace all files in platforms and plugins. Continue? [y/N]

$ cca plugin add org.apache.cordova.device --skip-prompt
cca v0.6.0
This project was not upgraded to cca v0.6.0 yet.  Attempting to upgrade now...
Warning: Upgrade will replace all files in platforms and plugins. Continue? [y/N]

Anything I'm missing?
Thanks!
Marcello

Confirmed -y and --skip-prompt do not work.

Seems this only ever worked for the cca upgrade command.  Seems silly and inverted actually.. if you explicitly call cca upgrade you should never get the prompt, and the --skip should apply only to other commands.  I'll see about making the change.

@mmocny Thanks for fixing this! I will try it!

When will this be released?

During the next cca release.  I don't think this is major enough to push for a quick release, but I'll ask around to see if there are other reasons..

..We'll be doing releases quite a bit over the coming weeks (with cordova-android 4.0 moving to official release, with various cordova-lib tooling changes, and several cca plugin updates coming).
So, I recommend waiting 1-2 weeks.

Or follow our cloning docs if you are impatient!

@mmocny so far so good :+1:


Project/repo maintenance status?

While checking for news on open issues, I've found no significant activity on the project since quite a long time. I wondered if the project is dead/abandoned, but browsing https://github.com/ustream/openduty/network/members I've found a openduty/openduty repo with more recent activity.
Has this project moved? Is the above fork maintained/monitored by the authors? Is it related in any way?
Clarifying this would prevent people posting issues & PR in the wrong one if moved, or at least, having reasonable expectations on them to be addressed.
TIA.
(In case this repo notifications are off, tentatively pinging possible relevant parties @deathowl @jkapusi @DazWorrall, sorry for the spam)

Good post! Have been trying to find out myself recently as we plan to use openduty in production. Love the idea of openduty, but we should try and find one master project from all the forks and get a community up and running again. I'm certain a lot of people have a need for a opensource and free alternative pagerduty and the others.

Hi I got in touch with @deathowl today regarding the project status. IBM has aquired Ustream and his commit rights have been remove since he doesn't work there anymore.
However there is a new openduty project rewritten in nodejs which should be used https://github.com/openduty/openduty
Everything related to the old Django project use https://github.com/openduty/openduty-old

New issues and pull requests should be posted here: https://github.com/openduty/openduty-old
A new version of openduty written in nodejs has been started on, and anybody interested can find the project here: https://github.com/openduty/openduty

Shame nobody from the ustream team has responded yet. My question is whether there will be a migration path from the Python to node.js versions...

A few thoughts:

I share @kjetilmjos first comment, a FLOSS alternative to PD is definitely needed. However, I don't agree with the steps taken later.
Having an OpenDuty user is OK. Perhaps a org would be better, but not a problem, anyway.
I appreciate the effort on rewritting a new PD clone, but I think it should not be named OpenDuty. It would confuse new users, and even confuse more current ones. It could be named OpenDutyJS or something different, even a new name not related to OpenDuty. What if some person/org wants to take over the project in its current language later? How will people distinguish versions (adding 'old' or 'new' sounds cheap and will end being confusing).
Also, if the OpenDuty project as is now has to be abandoned, so let it be. I think it's beter to make it obvious than to fake that it's still alive and spread the possible issues and PRs (unless there is some commitment to maintain it). Someone might eventually pick it up.
Linked to the above, the openduty-old repo naming is also unfortunate. It should have the openduty original. Think in the fork graph and SEO.
Also agree with @antgel: a shame nobody responded yet. In the ustream user page it can be read 'an IBM company'. Anybody knows how to contact them. I think this situation is just being unnoticed, otherwise IBM's policy on FLOSS would be questionable. Perhaps they should be contacted, not sure about IBM's policy. (cc @deathowl @jkapusi @DazWorrall)
Ideally, no matter who is taking over the project, should make clearly visible who is behind it, if a group of individuals, some company and (desirable) what commitment can have. Using the correct username and/or organiztion on Github would help make it visible and event let people jump in later.
Thoughts? Comments?

@deathowl, Any chance expanding the folks who can merge/whatnot so that we can breathe a bit of life back into this project?

Hi all, sorry for the so long silence, this got a bit under the radar on our end. The Ustream team which is now part of IBM are no longer maintaining this project. We will also review our Github account to see if there are other such projects. Feel free to fork it and maintain it somewhere else, we will leave it accessible here but no new merges or commits will be made.

Also please note that the NodeJS version was not created by us (it was started by @deathowl after he left)

@pataquets - https://github.com/openduty/openduty the project has been reinstated, openduty is an org and anyone who whishes can be part of it. @kjetilmjos please let me know if you want to submit PR's . I got caught in some work lately and haven't had time to pursue the JS version (which has been name as you guys suggested, btw thanks) I will however submit some front-end improvements in order to update the bootstrap version.

Hi, I dont have any pull requests at the moment, decided to use the linkedin Iris project https://github.com/linkedin/iris due to the lack of activity on this one, but I might go back to openduty again now if it's going to be more activity again  :)

Are the pull requests from this repo added into the new reinstated project @pataquets ?

https://github.com/openduty/openduty


Make package and import name be the same.

Avoid confusion!
'exoplanetatlas? exoplanet_atlas?

Ha! I discovered the hilarious and deeply weird thing that PyPI replaces all _ with -, and of course Python can't import a package with a - in it. So, I'm going with exoplanet-atlas for GitHub and PyPI, and exoplanet_atlas for the import name. I suspect this will still cause confusion, but I like having the -/_ in there just to make the name more legible.

Was exoatlas ever on the table or is that not explicit enough?

Oh, fair enough, that's simpler and nicer and solves this ridiculous PyPI problem. I'll just switch everything to exoatlas. It even makes more sense, because I want to have stars in here too for some various projects, so not having planet in the name is probably actually a feature.


Fix performance issues with producing merkle proofs in merkle_tree v1.5.0

See https://github.com/omisego/elixir-omg/pull/486#issuecomment-483994525
It seems that producing merkle proofs is underperforming, while it seems to have been quick in the hacky https://github.com/omisego/merkle_tree/tree/refactor fork branch.
It should have no negative effects on the app (these proofs are pulled relatively rarely, and the delay is on the order of magnitude of ms). It does however make our unit test slooowish, so let's fix this for productivity's sake.

fixed in #631 / aadf98bae455f1852e8254b03f9dfdc643fbe75b


Update React peerDependency to allow working with v15.x (15.0.1)

Current issue:
$ npm i --save react@15
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings'
peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

small comment, and good to go, thanks!

\o/


Buggy tick marks when large gaps in time

Expected Behavior

I use type: 'time' and distribution: 'series' as options for an x-axis (options.scales.xAxes) in a line chart. I then add data of the following type: {t: new Date( ... ), y: ... }, where there is a gap in time (see pic below). I expect the tick marks to look nice at this point.
Current Behavior

This is how the tick marks looks as of now, they get smashed.

Possible Solution

A possible solution proposed by @benmccann when discussing this is to use eg. autoSkip:true, and autoSkipPadding:75 as tick configuration for the axis (see in docs ). This however requires you to specify a certain padding (75 in example).
To solve this specifying a configuration as above could be to not have tick marks being drawn when there is no data, or have the auto-tick-thing consider possible large gaps in time of data that don't need tick marks.
Steps to Reproduce (for bugs)

See JS Bin here.
Context

I have data points coming from a specific time stamp that I want to show. The data sometimes is of a format where there are lots of data points separated by the same small time-delta, eg. 10 ms. Then there is a gap of say 3 hours, and after that more data in the same way.
Environment

Chart.js version: CDN 2.8.0, Chart.js/2.8.0/Chart.bundle.min.js.
Browser name and version: Tried on Safari and Chrome.

Thanks for the detailed report @jacobsorme. I have a PR that fixes this ready on my local machine, but it depends on https://github.com/chartjs/Chart.js/pull/6362 and https://github.com/chartjs/Chart.js/pull/6355, so I'm hoping folks can review those first and then I'll send the PR for the bug fix

Btw: It is said in docs that autoSkip is true by default ( docs ), but I can't get the autoSkipPadding to work unless I explicitly say autoSkip should be true. See this JSBin.
Docs on autoSkipPadding: "Padding between the ticks on the horizontal axis when autoSkip is enabled."

Wait, having autoSkip as false or true does not make any difference to my graph and my ticks.
Docs on having autoSkip as false:  "Turn autoSkip off to show all labels no matter what."
Am I missing something here? What would "show all labels no matter what" mean? Is some part of the code calling the things autoSkip should do if true without checking the actual value?

The other part of the workaround I suggested was setting ticks: { source: 'data' }. Did you do that as well?

Oh I forgot about that, thanks! 😅 So since ticks.source is default 'auto' I guess the ticks. autoSkip does not really make any difference at that point, makes sense!


[Idea] Stop & Start of bot actions under conditions

There should be a way for the bot to detect when the user is using auto builder and auto trainer for example, while having auto build activated and you start adjusting levels it starts building them after a few seconds. You might be selected in another city at that moment. Doing other actions and clicks.

Detect when user has clicked any bot button or window & start a timer.
While timer is counting down prevent any bot action like building, farming, silver, train, festivals.
When timer reaches 0 wait a random (5-15sec) and start bot actions.

Lets discuss how to implement this and if it can be done.

I'm working on this for the version 2.0 of the bot. The idea is that when the user interact with the page, the bot is automatically stopped and starts again after a few second when no interactions are detected.


Fix wrong behaviour when broker sends DISCONNECT message to proxy.

Motivation
Current, when the broker sends a DISCONNECT message to the proxy, the proxy will close the channel and trigger processConnectionLost,  then the proxy will re-send a DISCONNECT message to the broker.
This is wrong behaviour. when the broker sends a DISCONNECT message to the proxy, it means that the broker just wants the proxy to close the client's connection, and the broker has cleaned up the relevant state.
Modifications

When the proxy receives a DISCONNECT message from the broker, do not trigger the handler to resend DISCONNECT to the broker.
Fixed NPE with null connection when processor invokes processConnectionLost.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

Codecov Report

Merging #605 (67a2f8b) into master (ac3e313) will decrease coverage by 0.17%.
The diff coverage is 77.28%.

@@             Coverage Diff              @@
##             master     #605      +/-   ##
============================================
- Coverage     75.87%   75.69%   -0.18%
- Complexity      828      861      +33
============================================
  Files           105      107       +2
  Lines          3585     3876     +291
  Branches        238      270      +32
============================================
+ Hits           2720     2934     +214
- Misses          704      781      +77
  Partials        161      161

Impacted Files
Coverage Δ

.../pulsar/handlers/mqtt/MQTTSubscriptionManager.java
100.00% <ø> (ø)

...exception/MQTTDuplicatedSubscriptionException.java
0.00% <0.00%> (ø)

...mqtt/messages/codes/mqtt3/Mqtt3ConnReasonCode.java
100.00% <ø> (ø)

...mqtt/messages/codes/mqtt5/Mqtt5ConnReasonCode.java
100.00% <ø> (ø)

...lsar/handlers/mqtt/support/Qos2PublishHandler.java
42.85% <0.00%> (-7.15%)
:arrow_down:

...pulsar/handlers/mqtt/utils/ConfigurationUtils.java
73.49% <ø> (ø)

.../handlers/mqtt/messages/ack/MqttDisconnectAck.java
30.00% <30.00%> (ø)

...ulsar/handlers/mqtt/messages/ack/MqttUnsubAck.java
39.47% <39.47%> (ø)

...support/AbstractCommonProtocolMethodProcessor.java
52.94% <41.37%> (-3.78%)
:arrow_down:

...andlers/mqtt/proxy/PulsarServiceLookupHandler.java
67.53% <66.66%> (-6.67%)
:arrow_down:

... and 45 more

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 60ea905...67a2f8b. Read the comment docs.


Simulation entering deadlock when using X86KvmCPU on a i7-13700 host

This was reported to me by a gem5 user in our Slack channel. Both the user and I find this bug to be rather strange, and we're still unsure as to what the root cause is. However, all other reasonable assumptions were ruled out and we could only conclude that the i7-13700 processor, or perhaps something in its bios settings, was the cause.
I am logging this issue to see if anyone else ever encounters it and can perhaps give more information.
The i7-13700 processor was only released in January of 2023, which makes me think that if it is an issue with the processor it may not be surprising more people haven't encountered it yet.
Bug Description
The user observed that ./build/X86/gem5.opt gem5/configs/example/gem5_library/x86-ubuntu-run-with-kvm.py reaches a deadlock during simulate but only after moving from a i7-8700/Ubuntu 20.04/Linux 5.4 system, where this did not occur, to a i7-13700/Ubuntu 22.04/Linux 6.2 system where it did.
The i7-13700 system's terminal output appears to hang indefinitely after a certain point (this is shown below, but it is not particularly useful information).
The user suspects it was a deadlock after doing a backtrace. This is shown below.
Various steps were carried out to find the root cause of this issue:

The gem5 KVM setup guide (https://www.gem5.org/documentation/general_docs/using_kvm/) was followed exactly on both systems and nothing indicated KVM was not setup correctly on each machine. There was still no change in the observed behavior.
The same binary was compiled in the Working system and copied to to the Newer system. No change.
The i7-8700 system was updagraded to Ubuntu 22.04 and the deadlock occurred.
The i7-13700 system was downgraded to Linux 5.19 and deadlock didn't occur.
QEMU and virtualbox show KVM running fine on the i7-13700 system despire this problem with gem5.
An i7-10510u system was found to run the same simulation without issue.
To 100% rule out any environmental factors (OS, libraries, applications, anything) a Live USB stick was created to run the entire OS, gem5 directory, build, etc. on both machines. Still the i7-13700 deadlocked and the i7-8700 system didn't.

It could be the bios settings but the user couldn't think of anything there which was incorrect and didn't bother to change anything to find out.
Affects version
The was working on b271367a357cbb390084884e809235d6d62b9cf5, which is v<IP_ADDRESS>.
This has yet to be observed checked on v23.0.
To Reproduce
This has yet to be replicated but based on our assumptions:

Follow the setting up KVM guide on an i7-13700 machine: https://www.gem5.org/documentation/general_docs/using_kvm/
Clone gem5 and checkout at v<IP_ADDRESS>.
Compile X86/gem5.opt: scons build/X86/gem5.opt -j <threads>.
Run ./build/X86/gem5.opt gem5/configs/example/gem5_library/x86-ubuntu-run-with-kvm.py.

The simulation should reach a point and hang indefinitely.
Backtrace
The deadlock was determined by running a backtrace. The following was observed:
#4  ___pthread_cond_wait (cond=0x55555951f740, mutex=0x55555951f718) at ./nptl/pthread_cond_wait.c:627
#5  0x000055555648f655 in gem5::Barrier::wait (this=0x55555951f718) at build/X86/base/barrier.hh:78
#6  0x000055555648f753 in gem5::BaseGlobalEvent::BarrierEvent::globalBarrier (this=0x55555ee59280) at build/X86/sim/global_event.hh:104
#7  0x000055555648f3f8 in gem5::GlobalSyncEvent::BarrierEvent::process (this=0x55555ee59280) at build/X86/sim/global_event.cc:147
#8  0x0000555556483a6f in gem5::EventQueue::serviceOne (this=0x555558bcaa20) at build/X86/sim/eventq.cc:223
#9  0x00005555564b2c7b in gem5::doSimLoop (eventq=0x555558bcaa20) at build/X86/sim/simulate.cc:340
#10 0x00005555564b26f4 in gem5::simulate (num_cycles=18446744073709551615) at build/X86/sim/simulate.cc:227

Host Operating System
Ubuntu/Linux. Various versions tried though the OS, ultimately, don't seem to be a factor as mentioned above.
Host ISA
X86
Compiler used
gcc 11.4 in all cases.
Additional information
Python 3.10 used in all cases.

Hi, I'm the user who reported this issue.
Just chiming in with a little correction:

The i7-8700 was upgraded to Ubuntu 22.04 and the deadlock did not occur
The i7-13700 was downgraded to kernels 5.4 and 5.19, and the deadlock occurred.

I checked the BIOS settings, to verify that VT-x is enabled, as is "VT for direct I/O". Intel TXT is disabled. No other virtualization option seemed relevant to the issue. SecureBoot is disabled (related to a different project).
I also tried the develop branch (can't remember the commit ID, but it was around Aug 27th).
To add to the steps to reproduce:

In the KVM guide, apt replaces the package qemu-kvm with qemu-system-x86
Same
Install gem5 dependencies from https://www.gem5.org/documentation/general_docs/building.
Same.

Please feel free to reach out if any further info is needed.

We are closing this issue due to a lack of activity.


[Bug] packer start : have it watch and upload all changed files, not just some

The Problem
The code that auto-uploads changed files to the theme seems to skip some files. It's really hard to understand the intent of this bit of code, there's a bug of path matching, but the result is that the function passes on some file paths to the code that uploads them to the theme, but some of them it ignores. We often find that packer start skips a bunch of JS files (that we think it shouldn't) such that we have to run packer deploy first. We're not sure why the answer isn't just "Upload all files that don't match the provided ignore patterns".
Describe the solution you'd like
We'd expect it to keep up to date the same set of files that packer deploy uploads.
Replace the code in question:
https://github.com/hayes0724/shopify-packer/blob/c507fcbd1ed2bd335e4c7bbaeb82b8d25721b3cf/src/server/asset/index.js#L51-L68
With the same action for all paths:
   if (this._hasAssetChanged(file, info))
      // Note: dist/assets is the "main" output dir and all webpack dirs are
      // relative to it. Examples:
      // somefile -> assets/somefile
      // ../snippets/template -> assets/../snippets/template ->  snippets/template
      return this.updates.add(path.normalize(path.join('assets', file)));
   }

It's an old file from Slate. it's been changed to work with webpack 5 but should be replaced or updated. Many files like this one can cause side effects with the entrypoint system and need updates for json templates. I'm open to PR's or ideas on how to fix this on v2 without breaking builds. Also working on a v3 in typescript that will built from the beginning to work with both json and liquid templates.