.Include() with Self-Join / Coalesce

Beta 7 and Beta 6.
This might encompass two separate issues. The Include() method is problematic with the following query:
var query = from eVersion in _dbContext.Entities
			join eRoot in _dbContext.Entities
				on eVersion.RootEntityId.GetValueOrDefault() equals eRoot.Id
			into RootEntities
			from eRootJoined in RootEntities.DefaultIfEmpty()  // left outer join
			select eRootJoined ?? eVersion;

If query = query.Include(e => e.Children); is used, the coalesce expression eRootJoined ?? eVersion cannot be bound.
If Include is added to the second or both of the _dbContext.Entities lines, then a null reference exception occurs.
If Include is added to the first _dbContext.Entities line, the query runs, but does not include the children.
public class Entity
{
	public Entity()
	{
		this.Children = new Collection<Child>();
	}

	public int Id { get; set; }

	public int? RootEntityId { get; set; }

	public Entity RootEntity { get; set; }

	public ICollection<Child> Children { get; set; }
}

Where RootEntityId is a self-referential relation on the Entity table.

@brent-russell  could you also share a model you are using?

@maumar edited original comment to include model info.

poaching this

blocked by #4547

blocked by #4925

clearing milestone for retriage

@maumar where are we at with this issue?

@maumar ping 😄

@rowanmiller fix is almost ready

Fixed in 7bdf5818b10389588d74ecc03ba766fe24850298


Pickled Models use too-old SKLearn

We'd like to start using this tool in our SV annotation pipeline, but I'm having some installation issues. The pickled models use a super old version of sklearn, and when loading the contents I run into this error:
ModuleNotFoundError: No module named 'sklearn.ensemble.forest'
From hunting around this module was renamed in a sklearn version released in 2019, so anything since then won't work. To get a version of sklearn old enough to open these files we'd have to compile from source, as compatibility doesn't seem to go back far enough.
I appreciate this is optimistic, but would you be able to regenerate these files, or provide instructions on how they were generated, so that we can use this tool in an up-to-date environment?

Hi Matt,
Thanks for your patience. I've updated the pickled models so that there is now just a single model (I should have done this long ago). The newest sklearn version that I could get to work with all the other packages is 1.0.2. Let me know if this works. If not, I can also send you a model created using sklearn 1.3. Additionally, if you tell me which version you're using, I can probably make a pickled model from that version. But hopefully the 1.0.2 version will be compatible.
Andrew

@andrewSharo  AWESOME, absolute hero 👑
I've managed a build and test with the latest version!


Service name with spaces causes service start failure

When you have the Service Name set to a value containing spaces, such as "My Service", TopShelf is unable to determine that the service is correctly installed.  Topshelf installs the service correctly as "My Service", but will only use "My" when searching through the list of services here:
https://github.com/phatboyg/Topshelf/blob/master/src/Topshelf/OS/Windows/WindowsServiceControlManager.cs#L41

this behavior seems to have changed in topshelf somewhere from <IP_ADDRESS> - our code deployed with this version of topshelf didn't mind having services with spaces in the name but subsequent versions of topshelf appear not to be so forgiving.
if you look at the names of MS windows services none of them have spaces in them - it's the description that can have spaces.


Make Site Responsive for other devices

Its responsive for laptop and Mobile devices. Make it responsive for other devices using either tailwind or css.

Please assign this issue to me

Sure @nkilm !


CQ-4352161 Pasted component name is exactly same as the copied compon…

…ent name

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[ ] All unit tests pass on CircleCi.
[ ] I ran all tests locally and they pass.

@dmaurya929 Why the changes are different than master https://github.com/adobe/aem-core-forms-components/blob/master/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/container/v2/container/clientlibs/editorhook/js/copypastehook.js Is master and 6.5 behavior different?

One case is missing in the master, for now I have fixed in 650. I'll fix in master as well


Connect error

I get a connect error when trying to connect to my mqtt broker:
[10/26/2016, 12:32:19 PM] [mqtt] connect error! (url = mqtt://<IP_ADDRESS>:1883)
my config file is:
"platforms": [
{
"platform": "mqtt",
"name": "mqtt",
"url": "mqtt://<IP_ADDRESS>:1883"
}
],
"accessories": []
}
I have also tried excluding the port at the end. running this off a raspberry pi B+
apologies my firewall was blocking it. this can be cancelled

Okay, closing


Identifiers validation failed for dataset Herbarium of Karaganda Buketov University (QAR)

Identifier validation failed for the dataset Herbarium of Karaganda Buketov University (QAR):

Crawler attempt: 277
Publishing organization: Karaganda Buketov University
Publishing country: KAZAKHSTAN
Installation: Karaganda Biodiversity Information Network
Number of occurrences indexed for this dataset at the time of the issue: 3828
Cause: GBIF ID problems exceed 50% threshold: 70% duplicates; 12557 total records; 8730 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3894110/step

New IDs sample:

QAR05626
QAR01181
QAR05625
QAR00090
QAR05623
QAR00091
QAR02118
QAR05629
QAR05628
QAR05627

Old IDs sample:

QAR06821
QAR00178
QAR00179
QAR00184
QAR00185
QAR00108
QAR00109
QAR00110
QAR00111
QAR00186

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Herbarium of Karaganda Buketov University (QAR) : https://doi.org/10.15468/3asvbx.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Herbarium of Karaganda Buketov University (QAR):

Crawler attempt: 278
Publishing organization: Karaganda Buketov University
Publishing country: KAZAKHSTAN
Installation: Karaganda Biodiversity Information Network
Number of occurrences indexed for this dataset at the time of the issue: 3828
Cause: GBIF ID problems exceed 50% threshold: 70% duplicates; 12557 total records; 8730 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3894141/step

New IDs sample:

QAR05626
QAR01181
QAR05625
QAR00090
QAR05623
QAR00091
QAR02118
QAR05629
QAR05628
QAR05627

Old IDs sample:

QAR06821
QAR00178
QAR00179
QAR00184
QAR00185
QAR00108
QAR00109
QAR00110
QAR00111
QAR00186

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Herbarium of Karaganda Buketov University (QAR) : https://doi.org/10.15468/3asvbx.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


Basic and Basic2 switches unavailable after update to v3

This is to reopen #809. The reported issue has not been solved.
config_entry-sonoff-807f1440c52b59e2675ad6451304e34b.json.txt
After the update one of the error messages has been solved, but the following error message still exists.
I send you also the download of the diagnostics.
 Check this code there
https://github.com/AlexxIT/SonoffLAN/blob/6741f9bdc3b3935f63fb6dddcceecb94c89d7efb/custom_components/sonoff/core/ewelink/__init__.py#L54

Checked line 54 after download master.
Line content is identical.

So _LOGGER.debug... can't be on line 44. It's on line 45. You showing error from old version

I repeated the procedure: load master, download diagnostics...
This is the result:
Error message from logbook
Logger: homeassistant
Source: custom_components/sonoff/core/ewelink/init.py:44
Integration: Sonoff (documentation, issues)
First occurred: 11:30:46 (1 occurrences)
Last logged: 11:30:46
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/sonoff/init.py", line 201, in internal_normal_setup
await internal_cache_setup(hass, entry, devices)
File "/config/custom_components/sonoff/init.py", line 222, in internal_cache_setup
registry.setup_devices(devices)
File "/config/custom_components/sonoff/core/ewelink/init.py", line 44, in setup_devices
_LOGGER.debug(f"{deviceid} UIID {uiid:04} | %s", device["params"])
KeyError: 'params'
config_entry-sonoff-807f1440c52b59e2675ad6451304e34b.json.txt

To be complete:
Of course, I restarted the system before creating the files

Surprise.
I did download the master version again this afternoon.
This message appear after restart. It includes the line 45
Logger: custom_components.sonoff.core.ewelink
Source: custom_components/sonoff/core/ewelink/init.py:45
Integration: Sonoff (documentation, issues)
First occurred: 16:29:25 (1 occurrences)
Last logged: 16:29:25
10007daa68 !! can't setup device
Traceback (most recent call last):
File "/config/custom_components/sonoff/core/ewelink/init.py", line 45, in setup_devices
_LOGGER.debug(f"{did} UIID {uiid:04} | %s", device["params"])
KeyError: 'params'

The switches are actif again. I think the problem is solved !!!
Thank you  Alex for your help and your actions.

You will continue receive this warning because problem with device should be solved. But integration will continue work with other devices.


Open Bafang Tool does not retrieve values

After selecting a serial port and connecting to it, the interface is loading for a while (~60s)

But values are mostly empty or wrong

If clicking on refresh, the firmware value appears: CRR2093624E010022.3
When switching to parameters tab, most values are set to 0, and upon refresh it quickly says

any idea why ?

@andrey-pr
when clicking several times on refresh, some values are retrieved on the info tab, the firmware version for example. The Read successful pop up appear in that case. With further refreshes, sometimes Read successfull appear, sometimes Error during reading appears.
With picocom, the output of picocom /dev/ttyUSB0 says Terminal ready, when typing in, a blue LED is blinking on the USB TTL converter.
I read a bit the documentation about the UART protocol and bafang APIs, to try to query the controller directly from the terminal, but I was unsuccessfull so far :(
I will try further to query the controller directly from a terminal, if you have a few command examples that would be great :)

Try to connect to serial port with baudrate 1200 and send 0x11 0x52.
Also, complete list of this commands avaliable in docs right inside program (tab "manual"

I tried to use picocom -b 1200 /dev/ttyUSB0, and once terminal is ready, typing 0x11 0x52 but nothing is happening.
I see a blue LED blinking on the USB converter each time I am typing something (when I launch your program, I see two LEDs blinking, I assume one blinks when sending, the other when receiving).
I also tried with moserial, an utility with GUI to communicate over serial port, below the config and trials, unsuccessful as well 😞

I am a bit clueless... I will try to find people with UART and/or serial port communication experience, if you think of other things in the meantime, feel free ! :)

I tried to use picocom -b 1200 /dev/ttyUSB0, and once terminal is ready, typing 0x11 0x52 but nothing is happening.
I see a blue LED blinking on the USB converter each time I am typing something (when I launch your program, I see two LEDs blinking, I assume one blinks when sending, the other when receiving).
I also tried with moserial, an utility with GUI to communicate over serial port, below the config and trials, unsuccessful as well 😞

I am a bit clueless... I will try to find people with UART and/or serial port communication experience, if you think of other things in the meantime, feel free ! :)

You sent "01 10 52", but not "11 52"

Here is the result of the 11 52 command

Here is the result of the 11 52 command

Given 0x11 0x52 read query, I have the feeling the response should be way longer 🤔

Looks like response is correct, I will think what to do with your problem

hello @andrey-pr, by chance, did you have any thoughts about my issue ?

Sorry, currently I have no time


[WIP] Update to Checker Framework 2.11.0

This allows the checker to run atop Error Prone javac.  Besides the version bump, some Gradle changes were required to place the Error Prone javac in the bootclasspath when running tests.

Update: let's hold off on landing this until I test the README instructions for running the checker and make sure we understand the implications for users.

Another status update.  If we update to Checker Framework 2.11.0, the easiest way for our users to consume the checker will be via the Checker Framework Gradle plugin, so the Error Prone javac gets auto-injected.  But, that plugin enables individual checks via the javac -processor flag, which disables processor auto-discovery (see https://github.com/kelloggm/checkerframework-gradle-plugin/issues/20).  I think this will be a real pain for users on AutoValue to deal with, as AutoValue is bundled with something like five annotation processors.  I feel like we should hold off on this update until we have a plan for simpler support for AutoValue users (or projects like https://github.com/google/nomulus that use both AutoValue and Dagger via auto-discovery).

@kelloggm this should be ready for review now.  Note that I have removed the separate README-LOMBOK.md file as it became mostly redundant with the main README.  I integrated the remaining Lombok-specific instructions into the main README.md file.


get_cmt_options() fails when some CMT options are evaluated at plugin initialization

Describe the bug
Looks like this is an issue with the "get_cmt_options" function for url configs, using the string 'norunids!' as a test to verify that the name of the correction doesnt depend on the run_id.
This works fine when all configs are were evaluated at runtime, eg when all configs are URLConfigs, but fails when some of the configs are CMT corrections evaluated at plugin initialization in the setup() method because ' norunids!' is not a valid run id.
I think just changing this test runid to eg '0000' would probably fix this.
To Reproduce
see PR916
Expected behavior
Mixing URLConfig and old style CMT options should work without any issues.

Looking at this a bit more I think this is quite dangerous right? It means that something is wrong because a plugin needs to have a run number in order to use CMT -- if you hit this norunids error that means there is an error in the config. With this PR instead of catching that error we could be using wrong correction maps.
Or am I still not understanding?

I think thats by design, since CMT needs to have a run number to know what data to fetch. Whether CMT is called on plugin initialization or in the compute method is of course up to the plugin developer. I think sometimes it makes sense to evaluate at initialization but the default behavior of URLConfig is to evaluate at runtime to try to minimize these issues.

In any case an alternative approach would be to have CMT return None when a non-existing run is requested

Yeah but what I mean is that there seems to be a bug somewhere that we are shoving under the rug and then just setting e.g. the AFT map to be given the value at run = '0000' if we set that at the default. I think we should understand why exactly it is breaking before assigning a default value (especially a default being run 0)

Well I wouldnt call it a bug, since you are setting the run id to a constant just to be able to evaluate the CMT name of the config in case it depends on some other plugin attribute right? so the run id you use for this shouldn't matter.
I agree that the check whether the run id appears in the resulting name is not a very good check on whether the name depends on the run id. Maybe a better test would be to evaluate it for multiple run ids and requiring all values to be the same.
I could make a PR for that if you think it makes sense

Okay yeah I see what you mean. What you propose might be better but I don't think there's really a way to know beforehand what runids might change the config option since CMT is supposed to be separate from straxen. It's tricky.
Do you think we could maybe add a hack to event_pattern_fit instead of get_corrections? This is not a problem for this particular plugin but I worry that it could be an issue in the future if we modify it at the get_corrections level.

Just to be clear, im proposing changing the part in get_cmt_options where if its a URL config that uses cmt you load the plugin to evaluate the non cmt part of the URL so you can get the actually cmt name of the config. I dont think we would have to touch get_corrections at all

Right, get_corrections.get_cmt_options


Implementing logging overview

Made a generic CountGauge
Made ResourceGauge a specialization of CountGauge
Swapped the cluster overview page to using the counts instead of requesting the resources

rancher/dashboard#1089

I updated to reflect the new design. I did leave in the resource gauge changes since I think it could be useful in the future.


Update version of Fastlane on macOS images

Tool name
Fastlane
Tool license
MIT
Add or update?

[ ] Add
[X] Update

Desired version
2.204.2 (latest as of this issue's creation)
Approximate size
No response
Brief description of tool
No response
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
Yes, but I don't know how to add it. Will need directions.

Hi @morganzellers .
We are installing fastlane on macOS as a ruby gem latest version.
Fastlane with latest version will be deployed this week.


off() using just a namespace

Consider this example code:
const button1 = document.getElementById("#button1");

Events.on(button1, "mousedown.namespace", ()=>console.log('down'));
Events.on(button1, "mouseup.namespace", ()=>console.log('up'));

The following line does not work:
Events.off(button1, ".namespace");

What this should do (as it does in Zepto and jQuery) is remove both of the attached events. Instead it does nothing.

Good point, sorry I misunderstood you before, will add this feature later. You can also raise a PR if you have time 😸


Output of prebackup script gets dropped

Given an OpenShift 4 cluster (v1.18.3+47c0e71)
And K8up is installed on that cluster
And K8up is configured to use  Wrestic v0.2.0
And a pre backup script writing logs to STDERR
When that pre backup command exits with an error
observed
Then those logs do NOT show up in the logs of the  backup pod
expected
Then those logs do show up in the logs of the  backup pod

This was working with wrestic <v0.2.0 but only after the script has finished.
I have two requests here:

Ensure the STDERR of the pre backup commands get captured and written to the output of Wrestic.
To this by using a writer. By doing so, each line written by the pre backup script, will immediately show up in the Wrestic log. This also allows to preserve the log formatting.

Fixed in #27


Set UTF8 window title using NetWM hints

Hi, this permits to set any UTF character in window titles on X11 platform.
It's from recent edits of DPF's pugl fork.
PS. new pugl looks great, thanks for the effort

Cool, thanks.  As it happens I was just reading about the Windows API for this (UTF16 nightmares, whee!) so I'll add that as well and merge them together.

Hm, on which sort of environment can this be seen?  I changed the title in the test program first (to "Pugl Prüfung"), and... it just worked already in the XFCE in the XFCE window buttons applet.

MATE desktop and fr_FR.utf8 locale.
This is the "Pugl tést" window, with use of XStoreName only.

  This stuff should probably move to a puglSetWindowTitle() (this parameter was a bit silly), but this'll do for now.
Thanks.


add: feature to target groups

Element groups can now be targeted using class selectors.
/**
 * Given a target class selector, wrap the elements identified by the selector, and
 * insert the wrapped elements at the beginning of the parent. Additionally set the
 * id attribute on the wrapper element.
 * Note: This will likely be ugly if the target elements aren't next to each other.
 */

Just some background on why this was needed...
Rendering form elements in a loop make it difficult and very ugly (code mess) to group (grouping per vue-tour) select elements from all elements in the loop.  This makes it a simple case of adding a class to the items I need to group and now vue-tour will treat the individual form elements as a group!
Hopefully that was clear...

Any feedback on this one?


Installation requirements

Would it be worth adding dependencies. Libunwind seems to be required on linux.

Sorry, found more detailed installation here


Please speed-up the library else it can't be used for mass-backtesting

Which version are you running? The lastest version is Github. Pip is for major releases.
pandas-ta version : 0.2.45b0
Problem
For strategy optimization I need to run test the strategy over at least

1000-5000 candles per test
10000-20000 tests every strategy
All this for just 1 symbol and 1 single timeframe

I recently found my code is running unacceptably slow for a new strategy. It took over 0.3 sec for 1 candle!
So i ran a cProfile test over it only to find the bottleneck was the function in "pandas_ta\overlap\supertrend.py" line no. 9
Its the main function for supertrend.
Please see the cProfile output when i ran a test for just the supertrend (and not my entire strategy).

As you can see the the supertrend.py alone takes 0.253 sec.
Note: The ohlcv data provided to the function was of length just 539 candles.
supertrend_df = pandas_ta.supertrend(
                                     high = ohlcv_df_copy['high'],
                                     low = ohlcv_df_copy['low'],
                                     close = ohlcv_df_copy['close'],
                                     length = 7,
                                     multiplier = 3.0,
                                     offset = None,
                                     )

Now some may say 0.253 sec is not too much for live trading as long as you dont do high-frequency-trading.
But then, if you talk of backtesting, consider my case.
Say, i test just 1000 candles per test and test over just 10000 tests per symbol and timeframe.
Please note these numbers are already super conservative. Lets find the total time taken for testing.
time_per_candle = 0.253 sec     # time for supertrend (0.253 sec) and totally ignoring the time taken by rest of code
no_of_candles_per_test = 1000
no_of_tests = 10000
total_time = 0.253 * 1000 * 10000
                = 2530000 sec
                = 702.78 hours !

As you can see it is impractical (702.78 hours for 1 symbol and timeframe) to test even with conservative figures of testing inputs.
Pandas-TA needs a touch of hypersonic upgrades to stay relevant for mass-backtesting operations.
Solution
Although, the higher level issue is with "pandas_ta\overlap\supertrend.py" line no. 9",
inside function level two major bottlenecks are both related to pandas

"pandas\core\indexing.py" line no 298
"pandas\core\frame.py" line no 334

Although I use pandas myself, I strongly think it needs a lot to improve on performance for certain functions and use cases.
Solution 1:
I sometimes use list of dictionaries (or records) instead of pandas.
Its extremely fast.
As suggested by some in stackoverflow:

accept pandas in functions as normal --> convert to records (list_of_dicts)
work with records instead of pandas to get the result
convert results records --> pandas
return df as normal

Although, it may appear that the conversions may increase the overhead but in fact its superfast even then and all worth it.
Solution 2:
Try using numpy or pandas series instead of pandas dataframes directly. In many cases, numpy can be literally several thousand times faster than pandas.
Alternatives I've considered:
I am seriously considering writing the (pardon me) 'slow' indicators like supertrends.py myself using list_of_dicts.
But unfortunately, it defeats the purpose of using an Pandas TA altogether.
Sincere Request:
I am not net-picking gentlemen, but if you look at the issue objectively, I am sure you will see the point. Hope you are not offended and will seriously consider optimizing the library for speed.
Sincerely request your team to PLEASE somehow SPEEDIFY Pandas TA else it cant be used for backtesting.
Thanks for providing Pandas TA!

My bad, my bad. This is all hilarious to me, now that I just realized that the very name of the library is "Pandas" TA. I promptly take back my suggestions of not using Pandas.
Hope you will excuse my oversight and look into the issue your way.

tnx for taking out time.
just installed the latest version:
pandas-ta==0.3.63b0
the results are still the similar with 0.210 sec from 0.253sec.

Request you to cProfile at your end and confirm the same.

@p2828,

just installed the latest version:
pandas-ta==0.3.63b0

👍🏼

Request you to cProfile at your end and confirm the same.

Cool chart. However I wrote Speed Test Notebook that tells me the indicator performance for a given DataFrame.
If it's specifically supertrend, it hasn't been numpy-ed yet. Contributions are welcome to improve accuracy and performance of the indicators. 😎
There is way too much for me to do solo on this package with little to no support (regarding bug fixes, indicator accuracy/speed, additional features/indicators, documentation, monetary, et al) in my free time. So I apologize if I am unable to get this done ASAP for you. If this package does not meet your requirements, perhaps and Incremental TA Library like talipp will do the trick.
Kind Regards,
KJ

Cool chart. However I wrote Speed Test Notebook that tells me the indicator performance for a given DataFrame.

I am amazed to know you have your own "Speed Test Notebook". Impressive!
cool chart- well,  I just learnt cprofile and snakeviz a couple of days ago. Found it to be much simpler to understand than it looks.

If it's specifically supertrend, it hasn't been numpy-ed yet. Contributions are welcome to improve accuracy and performance of the indicators. sunglasses

I m not a cool programmer like you, but lemme see, I'll get back to you if I found something - will take time though, have a big project at hand already.

There is way too much for me to do solo on this package with little to no support (regarding bug fixes, indicator accuracy/speed, additional features/indicators, documentation, monetary, et al) in my free time. So I apologize if I am unable to get this done ASAP for you. If this package does not meet your requirements, perhaps and Incremental TA Library like talipp will do the trick.

Please, you are already doing so much Sir. Very grateful for providing such a wonderful library and I cant even believe you dont have a team and rather a one man army!  👍
As for my need, usually there is always a workaround.
tnx again.

... I'll get back to you if I found something ...

I changed the iloc --> iat for "gets" of all scalar values in the function below.
# code extract from
# pandas-ta\overlap\supertrend.py
# all scalar "get calls" of iloc changed to iat

def supertrend(high, low, close, length=None, multiplier=None, offset=None, **kwargs):
    """Indicator: Supertrend"""
    # Validate Arguments
    length = int(length) if length and length > 0 else 7
    multiplier = float(multiplier) if multiplier and multiplier > 0 else 3.0
    high = verify_series(high, length)
    low = verify_series(low, length)
    close = verify_series(close, length)
    offset = get_offset(offset)

    if high is None or low is None or close is None: return

    # Calculate Results
    m = close.size
    dir_, trend = [1] * m, [0] * m
    long, short = [npNaN] * m, [npNaN] * m

    hl2_ = hl2(high, low)
    matr = multiplier * atr(high, low, close, length)
    upperband = hl2_ + matr
    lowerband = hl2_ - matr

    for i in range(1, m):
        if close.iat[i] > upperband.iat[i - 1]:
            dir_[i] = 1
        elif close.iat[i] < lowerband.iat[i - 1]:
            dir_[i] = -1
        else:
            dir_[i] = dir_[i - 1]
            if dir_[i] > 0 and lowerband.iat[i] < lowerband.iat[i - 1]:
                lowerband.iat[i] = lowerband.iat[i - 1]
            if dir_[i] < 0 and upperband.iat[i] > upperband.iat[i - 1]:
                upperband.iat[i] = upperband.iat[i - 1]

        if dir_[i] > 0:
            trend[i] = long[i] = lowerband.iat[i]
        else:
            trend[i] = short[i] = upperband.iat[i]

    # Prepare DataFrame to return
    _props = f"_{length}_{multiplier}"
    df = DataFrame({
            f"SUPERT{_props}": trend,
            f"SUPERTd{_props}": dir_,
            f"SUPERTl{_props}": long,
            f"SUPERTs{_props}": short,
        }, index=close.index)

    df.name = f"SUPERT{_props}"
    df.category = "overlap"

    # Apply offset if needed
    if offset != 0:
        df = df.shift(offset)

    # Handle fills
    if "fillna" in kwargs:
        df.fillna(kwargs["fillna"], inplace=True)

    if "fill_method" in kwargs:
        df.fillna(method=kwargs["fill_method"], inplace=True)

    return df

In our supertrend function, this can be gladly done as we are dealing with single values only (as against slicing or multiple values, in which case - iloc). If there was any slice or non-scalar calls, we could have let that one call be iloc and changed the rest to iat.
Result
cProfile with iloc (original version)

cProfile with iat (changed version)

The time taken was reduced to 0.0778 from 0.232.
That is almost a good 300 % improvement in speed.
If we make that change in the entire library, it will have significant improvements in speed.
Request you to please accept this change if find value.
Sincerely,
Pranav Joshi
PS:
btw, i had to roll back to the release version (pandas-ta==0.3.14b0) because the v0.3.63b was crashing on stochasticRSI (understandable since its a development vr).
Above results and tests are all on the release version.

@p2828,

I m not a cool programmer like you...

Not quite there yet, but thanks.

I changed the iloc --> iat for "gets" of all scalar values in the function below.
The time taken was reduced to 0.0778 from 0.232.
That is almost a good 300 % improvement in speed.

That is amazing! Nice find!
Ideally it would be great if you could convert supertrend for loop core code to numpy/numba similarly like I did with reflex per "Try using numpy or pandas series instead of pandas dataframes directly. In many cases, numpy can be literally several thousand times faster than pandas."

Request you to please accept this change if find value.

Contributions and PRs are welcome. 😎

btw, i had to roll back to the release version (pandas-ta==0.3.14b0) because the v0.3.63b was crashing on stochasticRSI (understandable since its a development vr).

Understandable. I have considerable changes and improvements on the next push which hopefully should address that hopefully in the next day or so.
Thanks,
KJ

Ideally it would be great if you could convert supertrend for loop core code to numpy/numba ..

I will not commit to things I won't be able to do - too much at hand already Sir.
I can simply depend on my shameful but sincere request to you to please do the needful and release a faster version asap so I can start backtesting faster without any shabby workarounds.
A release version is important to me, because i usually backtest on google colab which installs pandas-ta (any lib for that matter) on runtime.

@p2828
Supertrend and some other indicators recently received the iat treatment. To utilize them will require the development version.

I will not commit to things I won't be able to do - too much at hand already Sir.

Likewise.


create new env variable for backend url

Closes #101

It looks like the API still serves over HTTP (rather than HTTPS) (not your fault) so would you rather

extend this PR to update the backend to serve HTTPS
or
merge this PR and make that a new issue?


IGNITE-23544 Sql. Rework query execution pipeline

https://issues.apache.org/jira/browse/IGNITE-23544
This patch introduce simple FSM for query processing. Building blocks are following:

Query -- state of the query. It contains final attributes with which the query was initialized as well as volatile state populated during execution phase processing.
QueryExecutor -- entry point of query execution, which kick starts query processing as well as makes some bookkeeping.
ExecutionPhase -- enumeration of possible query phases.
ExecutionPhaseHandler -- handler of execution phase. Encapsulates actions required to be done in order to move query from one phase to another

Thank you for submitting the pull request.
To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:
The Review Checklist

[ ] Formal criteria: TC status, codestyle, mandatory documentation. Also make sure to complete the following:
- There is a single JIRA ticket related to the pull request.
- The web-link to the pull request is attached to the JIRA ticket.
- The JIRA ticket has the Patch Available state.
- The description of the JIRA ticket explains WHAT was made, WHY and HOW.
- The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
[ ] Design: new code conforms with the design principles of the components it is added to.
[ ] Patch quality: patch cannot be split into smaller pieces, its size must be reasonable.
[ ] Code quality: code is clean and readable, necessary developer documentation is added if needed.
[ ] Tests code quality: test set covers positive/negative scenarios, happy/edge cases. Tests are effective in terms of execution time and resources.

Notes

Apache Ignite Coding Guidelines

However, I don't like the idea when a stage knows about and triggers the next stage, but it is ok for now.
Looking forward to the feature, when we could schedule some plans for background optimization to find better plan, we might need more control over FSM state transitions and stop the process after optimization stage.
Anyway, the PR looks great and makes code much better for understanding.


Jest starts slowly because scanning node_modules

When running jest with default configuration (no testPathDirs set) it scans whole node_modules directory.
Event though testPathIgnorePatterns is by default set to /node_modules/ and at the end that are ignored, and moreover jest looks only for changed files, the scan process itself can take a longer time as node_modules structure is usually deep.
When I set testPathDirs to subdirectory (e.g. src) jest starts far more faster. I'm checking scanned files by hooking console.log('scanned files', counter) into this method: https://github.com/facebook/jest/blob/master/src/TestRunner.js#L122
For example:

__test__ on the same level as node_modules (107236 scanned files)

|-- __tests__
  |-- index.test.js
|-- node_modules
|-- package.json

// run jest
Using Jest CLI v0.8.2, jasmine2
scanned files: 107236
 PASS  __tests__/index.test.js (3.169s)
component
  ✓ it should be true

1 test passed (1 total in 1 test suite, run time 3.969s)

Move __tests__ to src subdirectory and set testPathDirs: ['src'] (1 scanned file!)

|-- src
  |-- __tests__
    |-- index.test.js
|-- node_modules
|-- package.json

// run jest
Using Jest CLI v0.8.2, jasmine2
scanned files: 1
 PASS  src/__tests__/index.test.js (0.421s)
component
  ✓ it should be true

1 test passed (1 total in 1 test suite, run time 1.317s)

I think node_modules should be excluded somehow from scanning as it is obviously unneeded.

Yes, this is going to be solved with #599. I am optimizing perf like crazy in that PR and node-haste2 (see https://github.com/facebook/node-haste ). The next version of jest is going to be as fast as a test framework can possibly be. The runtime of the Relay test suite is going down from 60-100s to 20s.
I'll close this issue because it isn't actionable in light of #599. I'm going to merge it as soon as I can fix everything up around Facebook's test infra integration :)

Ok, thanks a lot for your work!

btw, @cpojer could you shortly explain the key features of https://github.com/facebook/node-haste ?

It's needed for facebook and our open source projects to resolve @providesModule headers inside of modules, mostly.


printlog() function

Is printlog() a custom function in your beta_PCA.py? If so, how have you defined it?

Thank you so much, that was super helpful. I was just hoping to modify the code so I can use more than 21 colours and I managed to do it. Cheers again!


Had ability to override private key

Just a setting to link to a private key if necessary

This should be an easy addition. I’ve been meaning to build a preferences screen anyway so this will give me an excuse to knock that out.
If nothing else, temporarily I’d think you should be able to just overwrite the file it’s creating itself with the key and it should just load it if the file exists.
The key is hardcoded but it’s only hardcoded to create the key if the file is missing... I’ll double check the code to see if this is the case.
On Nov 5, 2018, 12:22 AM -0500, Ted Slesinski<EMAIL_ADDRESS>wrote:

Just a setting to link to a private key if necessary
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Log retention: What is expected behavior?

If a deploy just runs a command and exits (docker run helloworld), What mechanism is there to receive/view the log output?
What seems to happen is once the container exits, the log buffer is cleared and unless you get lucky and start akash provider lease-logs right at the right time, you will receive zero logs.
To test, create a deployment which uses the helloworld docker hub image. After deploying, akash provider lease-logs provides empty logs.  This is important for CI/CD workflows.

Log buffer is removed when the deploy is torn down. Closing this ticket, because long term retention will come when storage provider implementation happens. We can't store logs, if there isn't a persistent place to put them.


Android Compose Use Collections in Kotlin

Name of the Codelab or Codelab URL
https://developer.android.com/codelabs/basic-android-kotlin-compose-collections?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-collections#4
Describe the problem
Based on the text in this step, it's expected to see in the code an example of the "get()" method, but it just repeats the "subscript syntax" used in the step above.
I believe the code should be "println(solarSystem.get("Theia"))"
In which lesson and step of the codelab can this issue be found?
5 + 7

Hi @Rnscd
Thank you for bringing this to our attention.
This will be fixed and published soon.
Hope you are enjoying the course!
Regards.


manifest: update link to FreeBSD Porter's Handbook

For the outdated URL in comments, there's no FreeBSD-provided redirect to the relevant anchor in the long (non-split) view of the book.
Fixed.

Thanks @grahamperrin


Upgrade Popper.js version

It'd be cool it you upgraded popper.js version as a lot of problems were fixed, especially this one:
https://github.com/FezVrasta/popper.js/issues/251

The package.json already specifies<EMAIL_ADDRESS>this means that it will install the latest 1.x available version.

https://github.com/FezVrasta/react-popper/blob/master/package.json#L61
https://docs.npmjs.com/getting-started/semantic-versioning#semver-for-consumers


Add a simple example

Hello, I tries to add a simple example for fixing Issue #5 .
After running cargo run --example simple, the result is printed like:
Enum value `Disconnect` should be printed as:
	data store disconnected
Enum value `Redaction` should be printed as:
	the data for key `Dummy` is not available
Enum value `InvalidHeader` should be printed as:
	invalid header (expected "https", found "http")

This is awesome! Thank you so much for taking the time to put this together.


Add open-source boilerplate

Summary:
There's a lot these days!  I got most of it from the GitHub docs [1], as
well as looking at other projects.  I'll probably hold off on landing
this until a couple more things land, then land this and tag v0.1.0.
[1] https://docs.github.com/en/communities
Issue: https://github.com/Khan/genqlient/issues/35
Test plan: view in github UI

See also: https://github.com/Khan/khan.github.io/pull/17

Nice! Yeah, there are a lot of little bits and pieces, but it does make for a cleaner launch. Thanks!

The https://goreportcard.com/report/github.com/Khan/genqlient reports some linting nits which it might be worth addressing to give people more confidence.

It looks like it's impossible for the test badge to ever change though?

What do you mean?  I think it would change if, say, someone merged a PR overriding the failing checks.  Or am I missing something that would cause it to stay green even in that case?  (Of course we don't intend to do that, and honestly I think all the badges* are kinda unnecessary, but I can see how it provides some value for people to know that we are actually careful about the things we should be careful about.)
*other than the pkg.go.dev one, which is a useful icon for a necessary link

The https://goreportcard.com/report/github.com/Khan/genqlient reports some linting nits which it might be worth addressing to give people more confidence.

I fixed the typo (#100).  The rest of the suggestions appear to be:

unnecessary suggestions from a deprecated tool, mostly about missing documentation in an internal (and test-only) package
incorrect suggestions supposedly from ineffassign, but they must be from a broken version because we run that linter in golangci-lint
That doesn't make me think there is significant value to genqlient in suggestions Go Report Card.  I can add the badge, though, since I guess an "A" is a "good" grade even if I fully intend to ignore their suggestions going forward.

Ah great. Thanks!


Labels will not export

I followed the instructions in the README file and I am stuck on the step "Use the video's Operation button and select Export Labels with the pull-down." I created 10 manual labels of the cars from two snapshots of the video and exported the labels in Video Data Platform. However, the labels have not finished exporting. It has been running for about 10 hours.

Hi @PatrickWalsh6079,
Could you try more frames/labels?  5 frames and 25-30 labeled cars was recommended with the version on SuperVessel.

I actually labeled 30 cars on 8 different frames, and still stuck on "Exporting Labels". Manual Labels= 241
I would really appreciate it if you can fix this issue. <3 Thanks a lot!!

I created 8 tagged frames and 34 labels but it has been exporting for several days now with no resolve.

There is an export to zip and import from zip to download/upload your dataset. It's in the UI. Open your dataset to see the export.
Also, I just submitted a PR with one of my labeled datasets. Using that would be skipping a good part of the code pattern, but it might be handy if needed.

I've been told the problem should be fixed now.  Please try again (w/ at least 5 frames and 25 labels)

Unfortunately I have the same problem. It has been exporting for hours...

works fine now.


Issue with real time html in remote server

Hi,
I have a problem with real time html. GoAccess is running on a remote server and  report is not updating real time.
I have found following error message on firebug
VM2464:35 WebSocket connection to 'ws://thushan-goaccess-ws.dev.xxxx.com:7890/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
As well as my web application access (url) via proixy which is running on the remote server.
It would be great if you can help me on this.
Thanks in advance.

Have tried opening port 7890?
Also, recently a PR was submitted that fixed an issue when parsing the host header upon opening a WebSocket connection. So if your domain contains the sub string get, then you will need to build from development to apply this patch. This will be pushed out in the upcoming version.

Yes I have verified that 7890 is working (checked telnet).
Actually url just a proxy pass to specific port on the server.

If  the WS server is running on 7890 but all clients from outside go through proxy on client port then you can specify that port using --ws-url. e.g.,
goaccess access.log --real-time-html --ws-url=thushan-goaccess-ws.dev.xxxx.com:9999 --port=7890

Hi @allinurl
Thanks for the help. Proxy server is not support for web sockets. I could resolved it by creating tunnel over ssh to remote server.
Thanks


How to attach to previously initialized instance of FileUploadWithPreview?

Hi there,
I'm dynamically creating instances of FileUploadWithPreview and I would like to access a previously initialized instance by the ID.
In some piece of code:
new FileUploadWithPreview.FileUploadWithPreview('id-1')

Access by ID in a later piece of code:
FileUploadWithPreview.FileUploadWithPreview('id-1').cachedFileArray

However this only creates a new instance of the FileUpload.. whereas I just want to attach to the old one by ID
Thank you for any help!

Hello,
When you initialize a new file-upload-with-preview instance, you should store it in a variable.
const upload = new FileUploadWithPreview.FileUploadWithPreview('id-1')

Later, you can access the latest cachedFileArray directly off your variable.
upload.cachedFileArray

If you need to store multiple values, you can instantiate multiple variables, either independently or in an object.

Thanks. However in my case, I’m unable to access the variable assigned. For example, I may initialize FileUploadWithPreview in one function and then in some other piece of code, I need to access the uploaded files.

Got it. In that case, you'll need to store the variable in a place that is accessible to the other function, or, pass the variable into the function itself.
If I were doing this in React, let's say, I'd declare the variable at the top of the "waterfall", and pass down the instantiated variable as a prop to my child components. Then, the child components can use it directly.
If you're not using React, there are many other ways to make a variable "global" to the rest of the application, some safer than others. A rudimentary option for instance, if you are out other avenues, would be to instantiate the variable and then attach it to the window object. That would make it available anywhere else in the app on that page load.
const upload = new FileUploadWithPreview.FileUploadWithPreview('id-1')
window.upload = upload

// Elsewhere in your app...
window.upload.cachedFileArray

There are cleaner ways to do this, though, like using a singleton pattern. There are examples of this online.

Thanks for the detail. I think I’ll end up refactoring a bit on my side. Ok to close


Implement PropertyOfInstance typehint annotation

Annotation already existing in: PropertyTypeHintAnnotation.kt (already there, needs to be uncommented.
Add typehint and typelimiting support in PropertyHintTypeMapper.kt

Closing in favor of #155


Running locally postee using cfg.yaml with Tenant suffix

Description
Following the instructions of https://github.com/aquasecurity/postee#from-source
cfg.yaml: max-db-size: 1000MB
./bin/postee
2022/04/13 09:12:13 Starting Router....
2022/04/13 09:12:13 Loading alerts configuration file cfg.yaml ....
2022/04/13 09:12:13 Failed yaml.Unmarshal, error unmarshaling JSON: json: cannot unmarshal string into Go struct field TenantSettings.max-db-size of type int
2022/04/13 09:12:13 Can't start alert manager error unmarshaling JSON: json: cannot unmarshal string into Go struct field TenantSettings.max-db-size of type int

What did you expect to happen?
Removing the suffix value in Tenant, it works as expected.
cfg.yaml: max-db-size: 1000
./bin/postee
2022/04/13 09:18:05 Starting Router....
2022/04/13 09:18:05 Loading alerts configuration file cfg.yaml ....
2022/04/13 09:18:05 Configuring template vuls-slack
2022/04/13 09:18:05 Configured with Rego package postee.vuls.slack
2022/04/13 09:18:05 Configuring template vuls-html
2022/04/13 09:18:05 Configured with Rego package postee.vuls.html
2022/04/13 09:18:05 Configuring template raw-html
2022/04/13 09:18:05 No aggregation package configured!!!
2022/04/13 09:18:05 Configured with Rego package postee.rawmessage

Additional details (environment setup, networking info...):
Postee main branch

Hello @krol3
Thanks for your report!
Can you tell which version of Postee you are using?
Suffix for max-db-size became available in v.0.23.0 version.
Regards, Dmitriy.

I was using an old binary in ./bin/postee


Error in syntax coloring for java when calling methods in array literal

(I've tested in the last version of VSCode insiders and the bug is present as well)

VSCode Version: 1.35.0
OS Version: 10.14.5

Steps to Reproduce:

write a java file and set the language mode to java
in any method write a array literal and call a method in the value list (e.g. Object.clone())
observe the syntax coloring now gone wild

Here are some exemple of the wrong coloring with the line commented (no bug) and not commented (bug active) :

NB:

this also works in static methods and in a static initialization block but not in the assignment of a static field at declaration.
this does not work at the declaration of the field (static or not)
the issue only impact method declared below the method in which the line is written
somehow writing it in a static block and right after as the declaration of a field cancels it (see below)

[EDIT: better description and better image]magic cancel : we can see that the static initialization block alter the coloring of the visibility of the next field however the next methods are not altered

Does this issue occur when all extensions are disabled?: Yes

@maxime915 can you provide some copy/pastable code that reproduces the coloring issue you're seeing?

Sure !
public class TestBug {

    static Object[] someTest;

    static {
        // Uncomment this to see the bug
        // someTest = new Object[] {someArgs[0].clone(), someArgs[1].clone()};
    }

    public SomeConstructor(Object[] someArgs) {

        // Uncomment this to see the bug
        // this.someListOfArg = new Object[] {someArgs[0].clone(), someArgs[1].clone()};

        // this does not make any bug
        this.someListOfArg = new Object[] {someArgs[0], someArgs[1]};

        // nor does this one
        this.someListOfArg = new Object[2];
        this.someListOfArg[0] = someArgs[0].clone();
        this.someListOfArg[1] = someArgs[1].clone();
    }

    // uncomment this one to cancel out a previous bug
    // private Object[] someListOfArg= new Object[] {someArgs[0].clone(), someArgs[1].clone()};

    public int lengthOfListOfArg() {
        return this.someListOfArg.length;
    }

    public static void test() {
        // Uncomment this to see the bug (works in static methods)
        // this.someListOfArg = new Object[] {someArgs[0].clone(), someArgs[1].clone()};
    }

    public void test() {
        // Uncomment this to see the bug (works not only in constructor)
        // this.someListOfArg = new Object[] {someArgs[0].clone(), someArgs[1].clone()};
    }

    // some generic methods to see the coloring
    public Object clone() {
        TestBug clone = null;
        try {
            clone = super.clone();
            clone.someListOfArg = (Object[]) this.someListOfArg.clone();
            for (int i = 0; i < someListOfArg.length; i++)
                clone.someListOfArg[i] = (Object) this.someListOfArg[i].clone();
        } catch( CloneNotSupportedException e) {
            e.printStackTrace();
            throw new RuntimeException("unable to clone object of type `TestBug`");
        }
        return clone;
    }

    public boolean equals(Object other) {
        return this == other;
    }
}

Moved to the repository with the grammar.


[SPARK-34290][SQL][FOLLOWUP] Cleanup truncate table not supported for V2Table error

What changes were proposed in this pull request?

Cleanup unreachable code.
Why are the changes needed?

Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existed test.

Can one of the admins verify this patch?

ok to test

Test build #139378 has started for PR 32791 at commit 5165364.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43899/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43899/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43899/

Test build #139378 has finished for PR 32791 at commit 5165364.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139378/

thanks, merged to master


Zen Mode causes Debian Gnome hang, every time

VSCode Version:

Version: 1.25.1
Commit: 1dfc5e557209371715f655691b1235b6b26a06be
Date: 2018-07-11T15:40:20.190Z
Electron: 1.7.12
Chrome: 58.0.3029.110
Node.js: 7.9.0
V8: 5.8.283.38
Architecture: x64

OS Version: Debian GNU/Linux 9.5 (stretch) 64-bit
Gnome V 3.22.2
10.8GiB RAM
Intel Core i7-8650U @ 1.9GHz x 4
Graphics: Chromium

Running on virtualbox on a windows 10 host.
Steps to Reproduce:

Launch VsCode
Enter "zen mode" either by clicking it in "view" dropdown, or by pressing ctrl+k then z

Message in bottom-left will read "waiting for second input," gnome will be completely hung, no way to access terminal, no way to switch desktops, cannot close vscode. No way out of situation (pressing other keys, pressing ctrl+k again, etc) other than force restarting system.
Have tried removing all extensions, user settings. Have tried uninstalling and reinstalling vscode. Have tried on a 4k display resolution, 1440p resolution, 1080p resolution.

Does this issue occur when all extensions are disabled?: Yes

This issue occurs after full purge of vscode, and switch to version v1_24

https://www.reddit.com/r/vscode/comments/8yi958/zen_mode_crashes_my_pc/

Also occurs v 1.23

Does not occur on all systems on 1.24, annoyingly. Will try to track down.

Issue seems to be something about vscode going zen mode causes gnome-shell to suddenly require 100% cpu usage.


Fix label pagination

This will fix pagination label bug

Changes Looks Good to me.
but there are some file conflicts,
you should always pull all(sync your branch) the changes from the main before creation of PR

@tan911 I noticed that , now its not showing the total no. of pages it has ,Like it was before,
its like 1 2 3 4 ..........
it should be 1 2 3 4 ....... 20 21 22

Thank you for your time @tan911 .
I have fixed the responsiveness of the pagination.
you can try fix something else,
or you can suggest some changes and raise an issue.
thank you again


To merge outputs of github action

Hi all,
Do we not need to merge the output of github action in the main repository of our homework?

I am sorry I do not understand what you are asking?

Hi all, Do we not need to merge the output of github action in the main repository of our homework?

I think you can create a directory and store all the outputs. It would make your repo neat and tidy.

Hi all, Do we not need to merge the output of github action in the main repository of our homework?

I think you can create a directory and store all the outputs. It would make your repo neat and tidy.

Got it. But is it mandatory for our homework?

Its not mandatory as discussed in the last class.


Update inference_rules.adoc

Add new QSL size for GNMT

Actually it is 3,903,900  for performance mode and 3003 for accuracy mode. Can you make this explicit? Thanks!

I would if there were a column in the table for the accuracy count - the table is explicitly noted to be the perf QSL size, and I guess the accuracy set is always taken to be the validation set size from the data set with which the model was trained (which is 3003 in the GNMT case.)

ok.

WG approved


Added missed Ukrainian translations

Description
Added missed Ukrainian translations
Visual changes
Nope
Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

Thanks!


About evaluation metric

What is the evaluation metric used in the results? mAP or mAP@50?

I used mAP.


NullReferenceException in Unity 2022.1

I am getting some errors when adding this package to a Unity 2022.1 project. Would love to get this to work since I have used it before in older projects and it was always so nice :)

Edit: it seems the issue has been fixed here, this does work for me.
https://github.com/neon-age/Smart-Hierarchy/commit/345e17e5752ad6239b6a058c62e57db151b57e0e

I think Unity 2022.1 is Change EditorGUIUtility API

I'm still running into this issue when installing the package. I was on 2021.3.6f1 and I tried upgrading to 2022.3.6f1, but it was still busted there. Would love to know if a fix is on the way cause it seems like a really useful package!


Import error from EEGLAB

Hi! When importing epochs from EEGLAB, the function init from io/eeglab/eeglab.py has a condition:
if not isinstance(ep.eventtype, string_types): and then treats the event as an array of events.
The problem is that sometimes, the eventtype is a number (not an array), so, we add this as a patch:
eventype = str(ep.eventtype)
if not isinstance(eventype, string_types):

And then we replace ep.eventtype for eventype and it seems to work. Any idea if this is the right way to solve it or we are missing something?
Thanks!

are you sure you are using the latest version of mne?
I think this was addressed here: https://github.com/mne-tools/mne-python/pull/3912. Or did I misunderstand your problem?

Hi, sorry I didn't find the other issue, but yes, that was the problem.
Now, I tried with 0.15.dev0 and when the event is an int it's working.
But, when the array contains ints, then it explodes again :).
the solution I found, change
event_type = '/'.join(ep.eventtype.tolist())

for
event_type = '/'.join(map(str, ep.eventtype.tolist()))

Thanks!

please share the problematic set file.

Here it goes.
set_file.zip

thanks for sharing.
please share a gist that produces the crash (saves us time)
also if you can send us a pull request so we clearly see the diff for your
changes it's even better.
thanks a lot

In general ... @jasmainak do you have time to do this?

see: https://github.com/mne-tools/mne-python/pull/4581/


Change getOvsPodsNodes to getOVNControllerPodsNodes

This function came initially from ovs-operator, therefore its old name. Now that it is in ovn-operator and it gets the ovn-controller pods, this name is more appropiate.

/lgtm

recheck
some openstack operator deploy issue: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_ovn-operator/118/pull-ci-openstack-k8s-operators-ovn-operator-main-ovn-operator-build-deploy-kuttl/1697309519194886144/artifacts/ovn-operator-build-deploy-kuttl/openstack-k8s-operators-gather/artifacts/must-gather/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-cd2ffa9f221e44d8cf1fa927061f474ac81b085c20118c0844d68b41987b58aa/namespaces/openstack-operators/pods/openstack-operator-controller-manager-6685745896-nsjmx/manager/manager/logs/previous.log

recheck


PP-4060 clean up expired tokens sweep database migration

WHAT YOU DID
This PR adds a:

created_date column with data type 'timestamp without timezone' to the Tokens table in Connector's database with a default value of now().

created_date field in TokenEntity. The TokenEntity constructor fills this out with the created_date field from ChargeEntity

Could you split the database migrations and the code changes into two separate PRs please?
In staging and production, we have to run database migrations manually. So if both the database migrations and the code changes went out at the same time, the code would have to handle both when the migration hasn’t yet been run and when it has. This is very hard to get right so, as a rule, we have database migrations in their own releases without any code changes. Once the migrations have been run in all environments, we can release code changes that rely on them having happened.

@alexbishop1 I've removed the code leaving just the migrations.xml

it would be good to should squash/rebase the commit history so that there's just one commit adding the migration.


Fix options to Apache HttpClient SPNego lib to match old behavior

Changes proposed in this PR

Add a static build method to BasicSPNegoSchemeFactory, which lets us handle all of the SPNegoSchemeFactory construction logic for the JobClient in one place.
Define and document a new static constant flag USE_CANONICAL_HOSTNAME.
Pass the new USE_CANONICAL_HOSTNAME into all SPNegoScheme-related constructor invocations.

Also fixed a typo: Crendential
Why are we making these changes?
The new default hostname canonicalization in the Apache HttpClient can cause problems with krb5, so we're disabling it and letting krb5 handle its own hostname conversions.
Other resources
Apache HttpClient SPNegoSchemeFactory JavaDoc

This change itself alone is good to me. However, it won't work when we import it internally. This is because the change from 4.3.6 to 4.5.5
http://static.javadoc.io/org.apache.httpcomponents/httpclient/4.3.6/org/apache/http/impl/auth/SPNegoSchemeFactory.html
vs
http://static.javadoc.io/org.apache.httpcomponents/httpclient/4.5.5/org/apache/http/impl/auth/SPNegoSchemeFactory.html

Closing this in favor of #1013.


Example usage link leads to 404

The example usage link to the packaged executable leads to GitHub's 404 page.

Removed link to packaged executable, had no idea these timed out
Thank you!


Expose Locker.is_fresh as a command

[x] I have searched the issues of this repo and believe that this is not a duplicate.

Issue
I'd like to be able to ensure, in our CI system, that whenever someone commits a new pyproject.toml that they've also updated poetry.lock to match.  I saw that someone had done the opposite because of a warning from installation.installer.Installer._do_install calling to packages.locker.Locker.is_fresh(), and I'd love to have that functionality exposed so that I could prevent this in the future.
Happy to help with a PR, but not sure if this should be a new command or a flag on an older command.  Thanks!

Duplicate of #1406. Closing this one to track the discussion in one place.


add gp/xp to skill calculator

add gp/xp with ge-prices?

If possible grab GE-Tracker prices, would make it more accurate.

I don't think we'll add this to the skill calculator. There may be hub plugins which implement a gp/xp cost calculator (possibly integrated with an xp-to-goal type calculation); I'd recommend using one of those instead.


non-area doors

Non-area rando doors are still the original colors while playing, and this needs to be reflected in the logic for those particular doors. Currently, migrating the non-area logic to area logic does not account for these doors needing to be opened. I may need to reconsider a lot of sky locations because of this because WestTerminalAccess is kind of a "starting point" for many of these locations. FoyerR is also a starting point for many pirate lab locations.
I believe the full list is:
CraterR (PB)
WestTerminalAccess (PB)
VulnarCanyonL (PB)
FoyerR (Super)

I'm imaging logic that looks something like this.
        ("SunkenNestL", "CraterR"): lambda loadout: (
            loadout.has_all(canFly, canOpen(CraterR))
        ),

The canOpen function would return a logic shortcut that could look handle what we need based on area rando or not.
I think this would also kind of pave the way for doorcap rando, later on.
What do you think?

That can work. I am not feeling like rewriting every bit of logic to consider every colored door at the moment, but for these four it should be a good solution.

canOpen can be used with those 4 doors now
canOpen(VulnarCanyonL) in  loadout
loadout.has_all(canOpen(FoyerR))


Fix Parquet loading with columns

Fix #6149

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Fix #3656: Separate irio into super-stable/stable API

So IIUC, after this PR:

Things in linker.* are super-stable
Things in linker.irio.* are stable

Are the latter as stable as linker.standard.*? If yes, should we move them to standard and get rid of irio?
If not, perhaps we should revisit the name irio anyway, because the package contains IO for things that are not IR-related, e.g., OutputFiles.

Updated. I believe I have addressed all comments.

updated


[4.5.0] Update to configure Kibana publicBaseURL from kibana.yaml

update to configure kibana public base url from kibana.yaml

Back-porting from from PR https://github.com/datakaveri/iudx-deployment/pull/491


Allow wrapping rpc function

Currently having the following code throws the error rpc exports must be static functions in the babel transform
export const config = { rpc: true }; // enable rpc on this API route

export const getName = wrapFunction(async function getName(code) {
  // ...
})

Wrapping the rpc function is useful to add error handling logic and tracing, the babel plugin should not error if the rpc function is a function wrapped by a function call
I can make a PR if you agree

I have one problem with your proposal here, because the build errors for a reason. Currently, when you use typescript, there is the guarantee that if the project builds correctly, the runtime will correspond with the types. Imagine with this change, I define something like:
const wrapper = (method) => 'foo'
export const syncMethod = wrapper(async () => 'bar')

Now the compiler will happily allow that, but when I import it and run it I get
import { syncMethod } from '../api/rpc'
syncMethod();
// typescript type for result = 'string'
// runtime type on the server = 'string'
// runtime type on the client => Promise<'string'>

Now you can't rely on the types anymore. I specifically built this project to have a better typescript experience. I'm very specific about this in the rules and limitations:

Rpc routes are only allowed to export async functions. They also need to be statically analyzable as such.

Because I understand your pain, I'm currently considering adding a middleware API to achieve what you want. One possible signature this could have is
type Method<P extends any[], R> = (...params: P) => Promise<R>;
type WrapMethod<P extends any[], R> = (method: Method<P, R>) => Method<P, R>;

interface Config {
  rpc: true;
  wrapMethod: WrapMethod<any[], any>;
}

This would allow you to write your example as
export const config = {
  rpc: true,
  wrapMethod: method => wrapFunction(method)
};

export const getName = async function getName(code) {
  // ...
}

Yes this would work too

Added in v3.4.0: https://www.npmjs.com/package/next-rpc#middleware

Awesome!


Using "requireCordovaModule" to load non-cordova module "q" is not supported

Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. cordova 9

I have the same issue. Is there a solution for this?

I found a solution for this, you have to change de "requireCordovaModule" method in script/100-prepare-admob-angular.js, there is 2 places to change, on line 7 and 61:
change:
var deferred = new context.requireCordovaModule('q').defer();
to
var deferred = require('q').defer();

i tried antalag method by editing script/100-prepare-admob-angular.js with Visual Studio Code. But still getting sema err.
cordova 9 android 8

facing the same issue

Same here. I resolved mine by downgrading cordova from version 9.0.0 to  8.1.2. Hope this helps.

the same issue.
Using "requireCordovaModule" to load non-cordova module "q" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
    "cordova-admob": "^5.1.0",
    "cordova-android": "^8.1.0",
    "cordova-browser": "^6.0.0",
    "cordova-connectivity-monitor": "^1.2.2",
    "cordova-ios": "^5.1.1",
    "cordova-libgoogleadmobads": "git+https://github.com/appfeel/google-iosadmobads.git",
    "cordova-play-services-version-adapter": "^1.0.2",
    "cordova-plugin-androidx": "^1.0.2",
    "cordova-plugin-androidx-adapter": "^1.1.0",
    "cordova-plugin-contacts": "^3.0.1",
    "cordova-plugin-facebook4": "6.2.0",
    "cordova-plugin-firebasex": "^6.1.0",
    "cordova-plugin-inappbrowser": "^3.1.0",
    "cordova-plugin-splashscreen": "^5.0.3",
    "cordova-plugin-statusbar": "^2.4.3",
    "cordova-plugin-wkwebview-engine": "git+https://github.com/apache/cordova-plugin-wkwebview-engine.git#master",
    "cordova-plugin-x-socialsharing": "^5.6.0",
    "cordova.plugins.diagnostic": "^5.0.1",
    "es6-promise-plugin": "^4.2.2"

I am also seeing this issue. Did anyone find a solution without modifying the core code?

Having this issue as well. Would be nice if dev could respond... >.>

Search for string requireCordovaModule inside cordova-admob and cordova-play-services-version-adapter.  And replace ctx.requireCordovaModule('q').defer() or new context.requireCordovaModule('q').defer() with simply  require('q').defer();


Feature request: dispatch event according actions for easier integration with other libraries

Right now this lib does not dispatch any event, which makes integrating with other libraries difficult. For example, if I am using Dialog action, it would be great if an close event will be dispatched when dialog.close is called, so that I can do something custom after that dialog is closed(For example toggle a boolean in local storage so that user will not see that dialog again)
Is that something you would consider in this library? I can help with PR but want to know your thought first

@CaptainCodeman Do you have any thought on this? Right now I can see Grail UI is offering an event handler, and it would be great this library of this as well, (and even better we emit the event through native API, so user can consume the event with on:custom_event where ever they want)

Yes, I think some events would make sense. The main ones I can think of will be things opening / closing and selections changing.


Game crash when teleporting to FJ Warner Docks

My game crashes completely when teleporting to FJ Warner Docks
not only when teleporting but if i walk on foot too close it crashes (sorry for bad english)

Do you have any mods loaded that replace tiles?
If not I suggest validating the game files.
I only ever had crashes when tiles were corrupted in my testing.

Validating the game files didn't help but completely reinstalling stormworks did the job.
Thank's for help.

Validating the game files didn't help but completely reinstalling stormworks did the job.
Thank's for help.


Discussion: deprecation of execute_many() and fetch_many() on prepared statement interfaces and potential replacement

#3007 (released in 0.7.4) deprecates execute_many() and fetch_many() in the query*() family of functions. These functions were meant to allow executing a single query string containing multiple SQL statements while still using bind parameters. These will be removed in 0.8.0.
This is because only SQLite ever supported this feature, due to the idiosyncrasy of its prepared statement interface being the primary way to execute SQL against a database. All other databases forbid multiple statements in one string when using prepared statements as a defense against SQL injection. Thus, it's extremely confusing to have such methods as part of a database-agnostic API. And, it was never supported by the query*!() macros because it was unclear what they should return when processing a query string with multiple statements.
To support multiple queries in one prepared statement for arbitrary database backends would require parsing the string to find ; delimiters, prepare it as multiple statements, and then execute them in an implicit transaction. Doing this much behind the scenes would be antithetical to the design of SQLx. The SQLite driver had to implement this to support migrations in line with the other drivers, but sqlite3_prepare() in the C API is explicitly designed to incrementally parse a single query string into multiple statements for this exact reason, so we at least don't have to parse SQL ourselves.
The raw_sql API added in #3007 includes the ability to execute multiple statements in one query string, with the caveat that bind parameters cannot be used (as they require the prepared statement interface).
If anyone needs to be able to execute multiple query statements in one string, with bind parameters, using the SQLite driver, this issue is open to discuss what that API should look like. Supporting this in other drivers that have similar support in their prepared statement interfaces is an option, but supporting for databases like Postgres which don't is out of scope. Be prepared to explain why you cannot work around this by explicitly executing multiple statements in a transaction.
This issue will be closed at the conclusion of the next release cycle (0.8.x) if no one responds to it by then, under the assumption that no one had a problem with the deprecation and removal of the aforementioned APIs.

Hello, I'm currently using fetch_many with mysql to detect multiple resultsets returned by a single call to a stored procedure.
I don't know other ways to deal correctly with this.
with the following example, there are 3 different resultsets, that I can detect with Either::Left.
delimiter $
CREATE PROCEDURE my_proc(IN value INTEGER)
Sp:BEGIN
    SELECT value;
    SELECT 7*value UNION SELECT value*value;
    SELECT value*value, 7*value, value*value;
END$
delimiter ;

    sqlx::query("call my_proc(10);").fetch_many(db_executor);
    while let Some(either) = rows.try_next().await? {
        match either {
            Either::Left(result) => {
                // new resultset
            }
            Either::Right(row) => {
                // new row
            }
        }
   }

Just saying that perhaps at the origin fetch_many and exec_many meant many resultsets, not many statements

I do find myself looking for a good solution for a execute many and i felt the stream and such kind-of turned me away from using the current functions. So i ended up splitting my code into parts to execute separately. Though to me I think it would be more Efficient to be able to have some sort of Raw API that can Build separate scripts and execute them and return them for you, For the systems that don't support multiple. Or to allow ways to Execute multiples without binds would be fine as well as normally I only do this for data that I don't need to worry about SQL injection's. If we do add such an ability we need to Comment on them letting people know these are acceptable to SQL injection attacks if used improperly.
For things like Creating Tables and all the types to go along with the tables would be better done in a single Execution versus splitting them up which shouldn't need prepared statements to function.  Would also be nice if the end user only had to deal with a Vec of returns from these multiple scripts in a single execution. however, either way is fine as long as we have good examples.

I'm not against retaining some sort of abstraction for this, the biggest issue is it doesn't seem to belong on the Executor trait because it doesn't apply to all databases. Postgres really doesn't have an equivalent, for example.
Even MySQL vs SQLite, the semantics differ somewhat. MySQL, one query can return multiple results whereas SQLite it's one result set per query but you can have multiple queries in one string. It seems weird to have both of those covered by the same abstraction.
I'm not hostile to the use cases presented here, but I also have no idea what the right answer is.

I think it would be fine to move this into something higher than the Executor. As then you can handle the way each thing works across all the databases supported. It would be much easier to maintain then at least. Maybe have some sort of Preparer Trait and Type that can do the splitting or combining based on the database and Execute them using the correct Executor functions. doing this could also allow binder buildings across multiple sets. At least with a Preparer Level we can answer for the different abstractions and let the end user know how it works per database. were in the extractor itself we shouldnt do this.

In other languages/frameworks fetch_many is a standard name for fetching query results in batches (for streaming purposes), while execute_many is dedicated to run many queries at once. The only suggested application for execute_many I've met was many INSERT queries. Thus naming for fetch function is not obvious for a programmer from other languages.
AsyncPG (Python async driver for binary protocol for PostgreSQL) somewhat deprecates execute_many, as binary data takes less space and nobody should do additional encoding/decoding from/into a string


table results

Dear author：
How to choose the configs for different experiments？

Hi @geek-APTX4869, in the configs directory you find config files for each dataset. For example, if you want to train HALO using source+target data (i.e., GTA-V + Cityscapes) you will use the 'configs/gtav/source_target.yaml' config file.
Moreover, you can change other hyper-parameters inside the yaml file.
Let me know if you need more help.


Remove localuid from tests

Motivation
Minor tweak in unit tests

Changes Unknown when pulling 5c4c0dc6c83c80cd011a5a1ac8d54415d6de8bed on wtrocki:RAINCATCH-1130 into ** on feedhenry-raincatcher:master**.

Changes Unknown when pulling 5c4c0dc6c83c80cd011a5a1ac8d54415d6de8bed on wtrocki:RAINCATCH-1130 into ** on feedhenry-raincatcher:master**.


Digitalocean upload 2.0

Files upload to Digital Ocean without need for local upload
QRCode is rendered on product timeline

Added Company logo


get exception in batch with string "  and \

// php code
$client = new Client(new Transport());
$batch = new Batch($client);
$index = new Index($client, Index::TypeNode, 'index_test');
$name = 'string \ and "test"';
// escape part
//$name = str_replace('\\', '\\\\', $name);
//$name = str_replace('"', '"', $name);
$node = new Node($client);
$node->setProperty('NAME', $name);
$batch->save($node);
//$batch->addToIndex($index, $node, 'NAME', $node->getProperty('NAME'));
$batch->commit();
//end of code
if there are \ or " string in property of node or value of index, i got exception.
the request of commit will be like this below and it get error.
post /db/data/batch[{"method":"POST","to":"/node","body":{"NAME":"string\\ and "test""},"id":0}]
then i uncomment the escape part of code, the result of request will be like this:
post /db/data/batch[{"method":"POST","to":"/node","body":{"NAME":"string\\\\ and \\\"test\\\""},"id":0}]
this runs well.
But it runs correctly when i use $node->save() what ever what string it is.
Only get error with batch.
i'm not sure if this is a problem of php or server of neo4j.
i'm using Neo4j 1.5.M02, and tested on both of 0.0.4-beta and 0.0.5-beta.

I will look into this when I get a chance tomorrow. Thanks for the report.

The Neo4j issue has been closed. I tested this with the latest snapshot of Neo4j and Neo4jPHP and did not see the problem anymore.


Can no longer add package as detailed in the /integrating-existing-flutter-packages guide and the spinkit package

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
Everything was working per the guide using the spinkit package as a prototype and based on ^0.22.1.  Worked for several days and then upon making a small change to the main.py for testing, got a broken app that displays:

_Traceback (most recent call last):
File "", line 43, in
File "", line 229, in run_module
File "", line 88, in run_code
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_tempxOmQuq/main.py", line 1, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_tempxOmQuq/pypackages/flet/init.py", line 1, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_tempxOmQuq/pypackages/flet_runtime/init.py", line 1, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_tempxOmQuq/pypackages/flet_core/init.py", line 204, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_tempxOmQuq/pypackages/flet_core/page.py", line 27, in
ModuleNotFoundError: No module named 'typing_extensions'

Tried going back to original main.py and rebuilding, but got the same error, so perhaps something changed in the template?
Decided to try 0.23.0 and now can no longer build:
_

_lib/main.dart:30:6: Error: A value of type 'Widget Function(Control?, String, bool, {Widget? nextChild, bool? parentAdaptive})' can't be assigned to a variable of type 'Widget? Function(CreateControlArgs)'.
- 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('/Users/jim/flutter/packages/flutter/lib/src/widgets/framework.dart').
- 'Control' is from 'package:flet/src/models/control.dart' ('/Users/jim/.pub-cache/hosted/pub.dev/flet-0.23.0/lib/src/models/control.dart').
- 'CreateControlArgs' is from 'package:flet/src/control_factory.dart' ('/Users/jim/.pub-cache/hosted/pub.dev/flet-0.23.0/lib/src/control_factory.dart').
flet.createControl,
^
lib/main.dart💯8: Error: Method not found: 'ensureInitialized'.
flet.ensureInitialized();
^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
       Command PhaseScriptExecution failed with a nonzero exit code
       warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target
       'Flutter Assemble' from project 'Runner')
       ** BUILD FAILED **

       Build process failed_

_
Code
No response
To reproduce
Try the spinkit example:   https://github.com/InesaFitsner/extend-flet-example
Expected behavior
No response
Screenshots
No response
Operating System
macOS
Operating system details
14.4
Flet version
0.22.1 and 0.23.0
Regression
No, it isn't
Suggestions
No response
Additional details
No response

https://github.com/InesaFitsner/extend-flet-example has been updated to work with Flet 0.23. Please give it another try.

Thanks Feodor,
Following your suggestion and cloning from your link, it now builds, but I still get:

Traceback (most recent call last):
File "", line 43, in
File "", line 229, in run_module
File "", line 88, in _run_code
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_temp3KnbyR/main.py", line 1, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_temp3KnbyR/pypackages/flet/init.py", line 1, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_temp3KnbyR/pypackages/flet_runtime/init.py", line 1, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_temp3KnbyR/pypackages/flet_core/init.py", line 204, in
File "/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/serious_python_temp3KnbyR/pypackages/flet_core/page.py", line 27, in
ModuleNotFoundError: No module named 'typing_extensions'

Note that I get a lot of warnings from the linker during the build, but the above errors seem to be in the python code:

ld: warning: object file (/private/var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/flet_flutter_build_O7wNjx4lnt/build/macos/Build/Products/Release/XCFrameworkIntermediates/serious_python_darwin/libPython3.11.a[x86_64]147) was built for newer 'macOS' version (11.0) than being linked (10.15)
warning: invalid character in Bundle Identifier. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
Building macOS application...
✓ Built build/macos/Build/Products/Release/flet_spinkit_app.app (119.7MB)
[13:16:08] Built macOS bundle ✅
Copying build output from: /var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/flet_flutter_build_O7wNjx4lnt/build/macos/Build/Products/Release/flet_spinkit_app.app
[13:16:09] Copied build to build/macos directory ✅
Deleting Flutter bootstrap directory /var/folders/wp/k19k64ln5hzcc8ygtlh3j9_m0000gn/T/flet_flutter_build_O7wNjx4lnt
Successfully built your macOS bundle! 🥳 Find it in build/macos directory. 📂

typing_extensions fix is coming in 0.23.1 later today, sorry about that.

Thank you so much!!!


[Lineter] Error running Flake8

Installed all dependencies Atom alerted me to, installed flake8, autopep8, and pycodestyle via terminal, and it's giving me this error when I try to run it.  I'm running MacOS, latest updates, already restarted my MacBook.
/Users/dtingley/.atom/packages/linter/lib/linter-registry.js:159 [Linter] Error running Flake8 Error: Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2332, in resolve
    return functools.reduce(getattr, self.attrs, module)
AttributeError: module 'pycodestyle' has no attribute 'break_around_binary_operator'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 178, in load_plugin
    self._load(verify_requirements)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 150, in _load
    self._plugin = resolve()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2334, in resolve
    raise ImportError(str(exc))
ImportError: module 'pycodestyle' has no attribute 'break_around_binary_operator'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/flake8", line 11, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/main/cli.py", line 16, in main
    app.run(argv)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/main/application.py", line 396, in run
    self._run(argv)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/main/application.py", line 383, in _run
    self.initialize(argv)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/main/application.py", line 365, in initialize
    self.find_plugins()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/main/application.py", line 191, in find_plugins
    self.check_plugins.load_plugins()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 423, in load_plugins
    plugins = list(self.manager.map(load_plugin))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 311, in map
    yield func(self.plugins[name], *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 421, in load_plugin
    return plugin.load_plugin()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 186, in load_plugin
    raise failed_to_load
flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin "pycodestyle.break_around_binary_operator" due to module 'pycodestyle' has no attribute 'break_around_binary_operator'.
    at ChildProcess.<anonymous> (/Users/dtingley/.atom/packages/linter-flake8/node_modules/sb-exec/lib/index.js:56:20)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Socket.stream.socket.on (internal/child_process.js:346:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:554:12)

It looks like the version of pycodestyle you installed isn't compatible with the version of flake8 you have installed. You'll need to get flake8 working first before you can use it here 😉.


Dashboard for invite codes

We should build a small dashboard that will allow an admin to manage invite codes. This could start have the following:
A table with a list of users that have requested an invite code. Each cell should have:

The user email
The user metadata (profession, crypto experience, etc)
A button to give them an invite code
A button to reject the request

Inside the backend we should keep a list of users that have received invite codes. Ideally we don't keep emails on file for a long time. We could also store only the hash of the email.

we wont be doing invite code anymore, going to close this issue.


Optimized input reponse times (for regular notes only)

inlines the input function along with refactoring some of the jack detection function, making it slightly faster, plus having the benefit that inputs now drop a bit less

sign

check
Looks good, but i don't like that it's inlined.
don't do that :(