ImportError: cannot import name Predictor

When importing using the example from the readme get the error in the title :-/

Thanks for filing! I'll check that out right now. I'd actually been meaning to have tests for that- thanks for the excuse :)
@jeregrine: How did you install the module? Did you pip install, or git clone?

Hmm, @jeregrine I'm having trouble reproducing. I've definitely run into that error in the past though, so I'd like to make sure it's thoroughly squashed.
Could you copy/paste the full stack trace when you get this error message?
And then afterwards, could you uninstall/reinstall auto_ml, just to make sure you're working with version 1.9?
I tried both git cloning and pip installing on two different machines, running python 2.7 and 3.5, so this use case is one I'm blind to right now. Would love to fix it and build it into the test suite!

I have the same issue with following code:
from sklearn import datasets
from auto_ml import Predictor

iris = datasets.load_iris()
col_desc_dictionary = X = iris.data[:, :2]  # we only take the first two features.
col_to_predict = Y = iris.target
col_desc_dictionary = {col_to_predict: 'output'}
ml_predictor = Predictor(type_of_estimator='classifier', column_descriptions=col_desc_dictionary)
# Can pass in type_of_estimator='regressor' as well
ml_predictor.train(training_dataframe)
# Wait for the machine to learn all the complex and beautiful patterns in your data...
# ml_predictor.predict(new_data)

Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> runfile('/home/mglo/Desktop/auto_ml.py', wdir='/home/mglo/Desktop')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 699, in runfile
    execfile(filename, namespace)
  File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 81, in execfile
    builtins.execfile(filename, *where)
  File "/home/mglowacki/Desktop/auto_ml.py", line 8, in <module>
    from auto_ml import Predictor
  File "auto_ml.py", line 8, in <module>
    from auto_ml import Predictor
ImportError: cannot import name Predictor

I've installed by pip an hour ago ;)
Btw. I've seen on the list of features:

predict_proba
other metrics (e.g. log-loss)
When do you plan to add it?

Installed via pip and the same stack trace roughly
On Tue, Dec 13, 2016 at 3:05 PM, mglowacki100<EMAIL_ADDRESS>wrote:

I have the same issue with following code:
from sklearn import datasets
from auto_ml import Predictor
iris = datasets.load_iris()
col_desc_dictionary = X = iris.data[:, :2]  # we only take the first two features.
col_to_predict = Y = iris.target
col_desc_dictionary = {col_to_predict: 'output'}
ml_predictor = Predictor(type_of_estimator='classifier', column_descriptions=col_desc_dictionary)
Can pass in type_of_estimator='regressor' as well
ml_predictor.train(training_dataframe)
Wait for the machine to learn all the complex and beautiful patterns in your data...
ml_predictor.predict(new_data)
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

runfile('/home/mglo/Desktop/auto_ml.py', wdir='/home/mglo/Desktop')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 699, in runfile
execfile(filename, namespace)
File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 81, in execfile
builtins.execfile(filename, *where)
File "/home/mglowacki/Desktop/auto_ml.py", line 8, in
from auto_ml import Predictor
File "auto_ml.py", line 8, in
from auto_ml import Predictor
ImportError: cannot import name Predictor

I've installed by pip an hour ago ;)
Btw. I've seen on the list of features:

predict_proba
other metrics (e.g. log-loss)
When do you plan to add it?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ClimbsRocks/auto_ml/issues/148#issuecomment-266861822,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGKFlYRYVm1jAKpLEvWZ2PjdiFI1LwWks5rHwizgaJpZM4LLN_6
.

weird. let me keep digging. @jeregrine are you on linux as well?
@mglowacki100 Both of those are already implemented, actually! predict_proba has been around since the beginning (pretty sure it's in the API docs), but custom scoring metrics was just added this week!
Try passing in ml_predictor.train(blah_blah_blah, scoring='log_loss'). I'm pretty sure 'log_loss' is one of the out-of-the-box supported types, but we also take in any scoring function that aligns with sklearn's API. I haven't built out too many tests for this yet, so it's not documented at the moment, but I'd love any feedback you have on that feature!

Hm, tested on Linux and seems to be working there too.
@mglowacki100 : It looks like the error is coming from a file called "Desktop/auto_ml.py". If so, python might be self-referentially trying to import Predictor from "Desktop/auto_ml.py", before going out to the list of modules installed by pip.
Do you mind renaming that file, and then if that doesn't fix it, copy/pasting the contents of that file into this thread?
@jeregrine : did you also name a file or folder "auto_ml"? If so, we might be onto a fix! If not, I'd love a stack trace from you too just in case it holds any clues.
Thanks for working with me on this, y'all!

I've renamed the file to auto_machine.py , but result is the same.
>>> runfile('/home/mglowacki/Desktop/auto_machine.py', wdir='/home/mglowacki/Desktop')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 699, in runfile
    execfile(filename, namespace)
  File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 81, in execfile
    builtins.execfile(filename, *where)
  File "/home/mglowacki/Desktop/auto_machine.py", line 8, in <module>
    from auto_ml import Predictor
  File "auto_ml.py", line 8, in <module>
    from auto_ml import Predictor
ImportError: cannot import name Predictor

I've also tried to run from terminal instead of spyder, but result is the same.
Thanks for info regarding logloss and predict_proba :)
Here is result of pip install:
mglowacki@mglowacki:~/Desktop$ sudo -H pip install auto_ml
Requirement already satisfied: auto_ml in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: scikit-learn in /usr/local/lib/python2.7/dist-packages (from auto_ml)
Requirement already satisfied: scipy in /usr/local/lib/python2.7/dist-packages/scipy-0.18.0rc2-py2.7-linux-x86_64.egg (from auto_ml)
Requirement already satisfied: pandas in /usr/local/lib/python2.7/dist-packages/pandas-0.18.1-py2.7-linux-x86_64.egg (from auto_ml)
Requirement already satisfied: python-dateutil in /usr/local/lib/python2.7/dist-packages/python_dateutil-2.5.3-py2.7.egg (from auto_ml)
Requirement already satisfied: pathos in /usr/local/lib/python2.7/dist-packages (from auto_ml)
Requirement already satisfied: pytz>=2011k in /usr/local/lib/python2.7/dist-packages/pytz-2016.6.1-py2.7.egg (from pandas->auto_ml)
Requirement already satisfied: numpy>=1.7.0 in /usr/local/lib/python2.7/dist-packages (from pandas->auto_ml)
Requirement already satisfied: six>=1.5 in /usr/lib/python2.7/dist-packages (from python-dateutil->auto_ml)
Requirement already satisfied: multiprocess>=0.70.4 in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)
Requirement already satisfied: pox>=0.2.2 in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)
Requirement already satisfied: ppft>=<IP_ADDRESS> in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)
Requirement already satisfied: dill>=0.2.5 in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)

Maybe there is a problem in a way I use iris dataset.
Could you paste code that for sure works with sklearn datasets?
Btw. full example in documentation for iris and/or dataset in csv file would be great.

I am using OSX. I installed through pip.
On Tue, Dec 13, 2016 at 6:02 PM mglowacki100<EMAIL_ADDRESS>wrote:

I've renamed the file to auto_machine.py , but result is the same.

runfile('/home/mglowacki/Desktop/auto_machine.py', wdir='/home/mglowacki/Desktop')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 699, in runfile
execfile(filename, namespace)
File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 81, in execfile
builtins.execfile(filename, *where)
File "/home/mglowacki/Desktop/auto_machine.py", line 8, in
from auto_ml import Predictor
File "auto_ml.py", line 8, in
from auto_ml import Predictor
ImportError: cannot import name Predictor

I've also tried to run from terminal instead of spyder, but result is the
same.
Thanks for info regarding logloss and predict_proba :)
Here is result of pip install:
mglowacki@mglowacki:~/Desktop$ sudo -H pip install auto_ml
Requirement already satisfied: auto_ml in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: scikit-learn in /usr/local/lib/python2.7/dist-packages (from auto_ml)
Requirement already satisfied: scipy in /usr/local/lib/python2.7/dist-packages/scipy-0.18.0rc2-py2.7-linux-x86_64.egg (from auto_ml)
Requirement already satisfied: pandas in /usr/local/lib/python2.7/dist-packages/pandas-0.18.1-py2.7-linux-x86_64.egg (from auto_ml)
Requirement already satisfied: python-dateutil in /usr/local/lib/python2.7/dist-packages/python_dateutil-2.5.3-py2.7.egg (from auto_ml)
Requirement already satisfied: pathos in /usr/local/lib/python2.7/dist-packages (from auto_ml)
Requirement already satisfied: pytz>=2011k in /usr/local/lib/python2.7/dist-packages/pytz-2016.6.1-py2.7.egg (from pandas->auto_ml)
Requirement already satisfied: numpy>=1.7.0 in /usr/local/lib/python2.7/dist-packages (from pandas->auto_ml)
Requirement already satisfied: six>=1.5 in /usr/lib/python2.7/dist-packages (from python-dateutil->auto_ml)
Requirement already satisfied: multiprocess>=0.70.4 in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)
Requirement already satisfied: pox>=0.2.2 in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)
Requirement already satisfied: ppft>=<IP_ADDRESS> in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)
Requirement already satisfied: dill>=0.2.5 in /usr/local/lib/python2.7/dist-packages (from pathos->auto_ml)
Maybe there is a problem in a way I use iris dataset.
Could you paste code that for sure works with sklearn datasets?
Btw. full example in documentation for iris and/or dataset in csv file
would be great.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ClimbsRocks/auto_ml/issues/148#issuecomment-266901418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGKFhzSDAQ1UQiLCCVOoKnIm876lsdRks5rHzImgaJpZM4LLN_6
.

@mglowacki100 @jeregrine : thanks for working with me on this!

self-contained working code (great idea- I'll be adding this to the README and docs).

import pandas as pd
from sklearn.datasets import load_boston
from sklearn.model_selection import train_test_split

from auto_ml import Predictor

boston = load_boston()
df_boston = pd.DataFrame(boston.data)
df_boston.columns = boston.feature_names
df_boston['MEDV'] = boston['target']
df_boston_train, df_boston_test = train_test_split(df_boston, test_size=0.33, random_state=42)

column_descriptions = {
    'MEDV': 'output'
    , 'CHAS': 'categorical'
}

ml_predictor = Predictor(type_of_estimator='regressor', column_descriptions=column_descriptions)
ml_predictor.train(df_boston_train)

test_score = ml_predictor.score(df_boston_test, df_boston_test.MEDV)

The stack trace above contains this elusive line

  File "auto_ml.py", line 8, in <module>
    from auto_ml import Predictor

This isn't a file that's in the auto_ml source code anywhere. Maybe pip makes this file. Regardless, the issue seems to come from trying to import Predictor from this file, and not being able to.
Could you locate this auto_ml.py file, and copy/paste it's contents here? I think that'll get us the next step we need in debugging this!

Thanks for example! Sample code works fine. It is strange.

My old example gives now different error, but it is not related to auto_ml directly. So your example is really handy to start :)
>>> runfile('/home/mglowacki/Desktop/auto_machine.py', wdir='/home/mglowacki/Desktop')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 699, in runfile
    execfile(filename, namespace)
  File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 81, in execfile
    builtins.execfile(filename, *where)
  File "/home/mglowacki/Desktop/auto_machine.py", line 15, in <module>
    col_desc_dictionary = {col_to_predict: 'output'}
TypeError: unhashable type: 'numpy.ndarray'
>>>

I've tried to open auto_ml.py from stack trace, but I can't open it.
I suppose that problem is that both files auto_ml.py and auto_machine.py are in the same directory (Desktop), so python gets confused.

Thank you for your help!

awesome, glad you got the example working!
@jeregrine : do you mind running the example code, and if it fails, sending me the exact stack trace you ran into? And if you have any files/folders called "auto_ml", make sure those are renamed to something else, otherwise Python will try to import this library from the code you wrote :)

That was it! the file name was auto_ml.py man I feel dumb .
On Wed, Dec 14, 2016 at 1:06 PM, Preston Parry<EMAIL_ADDRESS>wrote:

awesome, glad you got the example working!
@jeregrine https://github.com/jeregrine : do you mind running the
example code, and if it fails, sending me the exact stack trace you ran
into? And if you have any files/folders called "auto_ml", make sure those
are renamed to something else, otherwise Python will try to import this
library from the code you wrote :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ClimbsRocks/auto_ml/issues/148#issuecomment-267125445,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGKFtVC_5_ZdMb-blRybuZkGBlEcQnCks5rID5KgaJpZM4LLN_6
.

ha- no worries. we've all been there. thanks for following up, and for filing the issue in the first place! let me know if you have any ideas for improving things, or what parts of the documentation are most unclear.


Error running under macOS

see the following when running a command on macOS:
 [info     ] Connecting to Docker...
 [error    ] Permission error connecting to Docker. Is Docker running? You may need to follow these instructions: https://docs.docker.com/engine/install/linux-postinstall/.

Instructions on the link provided are not relevant on macOS and the equivalent instructions do not work. I am able to pul land run other docker images on the CLI from the same user.
ProductName:		macOS
ProductVersion:		13.3.1
ProductVersionExtra:	(a)
BuildVersion:		22E772610a
Docker for Mac: 4.19.0 (106363)

Closing for now but feel free to resurrect if you run into it again.


assert.isIteratorLike is too restrictive

Description
Currently the function looks like this:
function isIteratorLike( value ) {
	return (
		value !== null &&
		typeof value === 'object' && // too narrow
		isFunction( value.next ) &&
		value.next.length === 0 // too narrow
	);
}

ES spec requires that Type(iterator) is Object. Which includes functions.
// Type(x) is Object
typeof x === "object" ? x !== null : typeof x === "function"

Then ES spec puts no restriction on next.length. Iterators created by calling generator functions have next.length === 1 because they accept an argument that becomes the result of evaluating yield.
Related Issues
Related issues # , # , and # .
Questions
No.
Demo
No response
Reproduction
var isIteratorLike = require('@stdlib/assert/is-iterator-like')

function next(arg) { return { value: ++this.v, done: this.v > 10 }}
function itor() { return Object.assign(_=>{}, { v: 0, next }) }

console.log(isIteratorLike(itor()))

Expected Results
true

That this should print true can be confirmed by checking that built-ins treat the function returned by itor() as valid iterator:
Array.from({[Symbol.iterator]: itor})

Actual Results
false

Version
@stdlib/assert 0.0.12
Environments
Node.js
Browser Version
No response
Node.js / npm Version
17.2.0
Platform
No response
Checklist

[X] Read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.

@lightmare Thanks for filing this issue.
I pushed https://github.com/stdlib-js/stdlib/commit/f7ee9af36ded6f62728bbf032e6adc33a89031d2 which relaxes the requirements to (1) allow value to be a function and (2) to no longer check that next is a nullary function.
I believe that should resolve this issue.

With the most recent @stdlib/assert release, this should be resolved.


README: remove TiDB Monthly

What problem does this PR solve?
We'll deprecate the TiDB Monthly Update, so I remove the link.
What is changed and how it works?
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to be included in the release note

/merge

@tiancaiamao PTAL. Thanks.


face detection is slow (especially after detection lost)

I'm experiencing an issue with face detection: first attempt is more or less stable, but after detection is lost it can take up to 10-15-20 seconds to detect face again (especially on mobile devices) - blue box hysterically moves over canvas, but can't find face even placed to the canvas center... some times blue box is drawn over face, but without detection success... Blue box movement looks like some random algorithm...

It is really fantastic library, but with, may be, slowest face detection speed.
Thanks in advise.

Hi,
I have optimized face detection params and decreased face detection threshold in the latest commit, I hope it will help.
During the face searching stage, the blue rectangle is looking for the face all around the video, this is normal.
Face detection also depends on image quality and device GPU computing power (the faster it is, the higher the face detection rate is and the better is the tracking). It still requires a quite good mobile device to work properly (at least Iphone6 or equivalent. It is too slow on a 2017 Samsung A5 for example, even if it works it does not provide a good experience. On IphoneX or 11 it should be good :) ).

Thanks for quick reply.
Can confirm that initial detection is faster than before.
But can't say the same for re-detection after face lost. some times it is 2-3-5 seconds, some times it is 5-7-10 seconds with the same light\camera\face position. I'm testing on iphone6\SE and xiaomi mi9lite - not the best hi-end devices, but still good enough. On the same devices face-api library re-detects faces almost immediately, but don't have adequate solutions for detecting head rotation and no eye blinking at all :(

We had the same issue with the 'Jan 8' version. The one from Apr 15 is REALLY better!
Thanks Xavier!
BTW is there a way to hide the 3D model when detection is false ? Should I create a question for that?

HI @fwt3am
I have updated the neural network model, the new one is more efficient :)
You can call JEELIZFACEEXPRESSIONS.is_detected() to know if the face is detected or not to toggle the visible THREE.js flag and hide or show the object.

Working! Awesome :)


Upside-down Items and Omega Pirate Textbox

The missile pickup in Chozo Ice Temple in Phendrana was upside-down.

Also, the text box after killing Omega Pirate was still "Phazon Suit aquirred!", even though the item was a missile.
Layout: FkDrZlgPWPUnXgf8F_UY62reCbj_bJWOzakkAAOn3jfYO1BqDCuBU_2ds8u0E0WNG8Lls4fGn2a8Sl99XRSqcCi
Input iso was freshly ripped from my Wii with Cleanrip
--File Generated by CleanRip v2.0.0--
Filename: GM8E01
Internal Name: Metroid Prime
MD5: EEACD0CED8E2BAE491ECA14F141A4B7C
SHA-1: AC20C744DB18FDF0339F37945E880708FD317231
CRC32: 852B658C
Version: 1.00
Verified: Yes
Seconds: 560
Output iso:
MD5: 731aa47674512f015df3e4dd46b7be1f
SHA1: 3c2a488efd1fcc4dc507d6c9d769cf948105148a
EDIT: The upside down items seems to be happening in most spots where there were previously artifacts.  I noticed these in Warrior Shrine, Sunchamber, and Elite Research.

This should be fixed with 0.1.3


Fix TextEdit HScroll hiding after wrapping

fixes https://github.com/godotengine/godot/issues/84812

Since it only happens in certain scenarios here is more information and reproduction steps:

Reproduction:

Make a new default script.
Change the TextEdit width such that the word previous will be wrapped but not the word time. from the comments on lines 9 and 4.
Toggle word wrap on and off (alt+z).
The hscrollbar doesn't reappear like it should.

When disabling word wrap, the longest line while wrapped (line 4) doesn't change size so TextEdit::Text::_calculate_line_height() exits early, even though there is a new longest line.
This happens because TextEdit::Text::_calculate_max_line_width() was assuming it was being called from TextEdit::Text::invalidate_cache() only and that lines had only shrunk, but this is not true since it can be called from TextEdit::Text::invalidate_all_lines() and other places.
This also applies to TextEdit::Text::_calculate_line_height() since it is the same situation.

Not sure if it would be needed for line width since there is probably a low chance of another line being the same width, but it is good for line height, so I'll set it to -1 where it's called instead of removing the optimizations.

Thanks!


Have you considered Click?

I recently became acquainted with the Click python command line interface library, and thought that it might be a good fit for kachery.  It looks like you are writing a lot of "glue" code to compensate for argarse's shortcomings that Click gives you for free (e.g., type checking, environment variable parsing, sub commands, etc.). For illustration purposes, I mocked up the attached examples.
kachcli.zip

Thanks @rogerhurwitz . This does indeed look like a better solution than argparse. I have recently simplified the interface and calling options. So once that update has been made, we can circle back and consider replacing argparse with click.

Sounds good - glad to help on that if needed.  Couple of off topic thoughts:

Is the purpose of hashing files solely for creating globally unique IDs, or is there some other reason?  If the only purpose is creating a globally unique ID have you considered the uuid standard library?  It is a much less compute intensive way of achieving the same thing.

Cole tells me you have some thoughts in mind regarding the intersection of spikely and kachery.  Could you say more about what you are thinking?  I'm glad to help out.

Thanks,
Roger

There are other advantages of content-determined hashes over uuids. One example: If you upload a file to a kachery database, and I upload the same file, only one copy needs to be stored. Second example: the sha1 uniquely identifies the file, and it can be verified whether I have downloaded the correct file and/or it can be verified whether I already have the correct file on my computer (so not need for download).
For the second point, we can correspond by email - or on the issue tracker of another repo.

Sounds good - thanks for the clarifications.


NPM publishable.

Changes to the build to allow publishing on NPM.
Committed the build artifacts so what is checked in matches what is published to NPM

The build failed because tsfmt didn't like varint.d.ts

I ended up using gulp to build a release directory, and released version 0.0.1


Issue with translation enums php langs generation

I'm trying to translate enums, but keep getting stuck because the php langs generation outputs undefined. Could this be a bug with the php generation?
php_en.json
{
  "enums.undefined.undefined": "Certified",
  "enums.registrationStatus.undefined": "Finished"
}

lang/en/enums.php
<?php

return [

    \App\Enums\DiveSchool\GroupCertificationStatus::class => [
        \App\Enums\DiveSchool\GroupCertificationStatus::OPEN => 'Open',
        \App\Enums\DiveSchool\GroupCertificationStatus::PARTIALLY_CERTIFIED => 'Partially certified',
        \App\Enums\DiveSchool\GroupCertificationStatus::CERTIFIED => 'Certified',
    ],

    'registrationStatus' => [
        \App\Enums\DiveSchool\RegistrationStatus::NEW->value => 'New',
        \App\Enums\DiveSchool\RegistrationStatus::IN_PROGRESS->value => 'In progress',
        \App\Enums\DiveSchool\RegistrationStatus::FINISHED->value => 'Finished',
    ],
];

RegistrationStatus.php
<?php

namespace App\Enums\DiveSchool;

use Filament\Support\Contracts\HasLabel;
use Illuminate\Support\Facades\Lang;

enum RegistrationStatus: string implements HasLabel
{
    case NEW = 'new';
    case IN_PROGRESS = 'in_progress';
    case FINISHED = 'finished';

    public function getLabel(): ?string
    {

        $localizedStringKey ='enums.registrationStatus.'.$this->value;

        if (Lang::has($localizedStringKey)) {

            return __($localizedStringKey);
        }

        return $this->value;
    }

    public static function array(): array
    {
        $result = [];
        foreach (self::cases() as $case) {
            $result[$case->name] = $case->getLabel();
        }
        return $result;
    }
}

Will investigate, thanks for that.

Hey @svenvanhees can you check using this PR?
https://github.com/xiCO2k/laravel-vue-i18n/pull/191
Let me know if you need any help.

@xiCO2k Perfect! Seems to be working as expected now.

released a new version, thanks for reporting.


[KeyVault] No longer display managed keys/secrets while listing

Support for #8489
Currently, if we create a certificate on Azure, a key and a secret were also created automatically to store its public key information. This key and secret are marked as "managed": "true" and it should not be displayed while running az keyvault key/secret list command in order to keep consistent with Azure Portal.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

✔ Manually tested.


 Using the iOS SDK, I am able to fetch them. When I try to update one of these object, I get the error "Object not found. (Code: 101, Version: 1.12.0)". I am using Parse server 2.1.2
One thing I noticed is that these objects are imported with a format of id:
"_id": {         "$oid": "56c525c563069649f14a38d5"     }
Instead of:
"_id": "56c525c563069649f14a38d5"
I found out that I am able to update records if I remove the $oid format directly in the database.
Is it an expected behavior ?
Thanks

Yes that is expected, if you insert objects directly into mongo without matching the Parse format, then Parse won't be able to read from the objects.

@drew-gross what would you tell me about this issue ? http://stackoverflow.com/questions/37471863/indexed-data-to-parse-server-through-mongodb-doesnt-get-fetched
I'm able to fetch them without a logical reason...

filtering by one string, no results
filtering by the same string AND date before certain, bingo!


bloxstrap just won't launch, regular roblox player also won't launch, but it's not a roblox issue because it works on every other device. I have a picture of the issue if that's helpful.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?
i tried to launch roblox through bloxstrap and it says starting roblox and the bar goes through about 4 times, then this error message comes up. i've tried deleting and redownloading everything, tried resetting pc, tried finding malware and couldn't find any in my pc. i've tried every step it says in the help page and nothing works.

Bloxstrap Log
N/A

why are u closing it nb helped me

even after new update i downloaded same thing happens

even after new update i downloaded same thing happens

client issues are no longer accepted. your client not working is not our problem. all we do is open the roblox executable, we don't develop the roblox client.


Define controller mappings in anguar state machine to reduce coupling

To reduce the dependency coupling in between the views and controllers, I believe the better design would be to use the angular state machine to have the mapping of controller towards the view.
example
rather than this <section ng-controller="SettingsController">
we should use
  .state('settings', {
        url: '/settings',
        templateUrl: 'modules/users/client/views/settings/settings.client.view.html',
        controller: 'SettingsController'
  }

I'm using meanjs to on my project and this is something I did to all the states. It comes handy when i have to use the same view with different controllers. Just a suggestion though.

We're already doing this..
https://github.com/meanjs/mean/blob/master/modules/articles/client/config/articles.client.routes.js
Also..
https://github.com/meanjs/mean/blob/master/modules/articles/client/controllers/articles.client.controller.js
https://github.com/meanjs/mean/blob/master/modules/articles/client/views/view-article.client.view.html
I believe the plan is to migrate the Users module, over to the new Angular style-guide. It just hasn't been done yet. That might be a conversation to start.

Great :+1: . I will create some pull requests when the time permits.

This has been addressed with #1208. Closing this issue.
@farajfarook Let us know if have any more input/suggestions on this. Thanks.


Bert Evaluation before 3M

We choose a to start evaluating BERT at 3M samples under the belief that everyone would converge after 3M samples. We have evidence this is not true. We want to discuss lifting this constraint (in light of our wrong assumptions writing the rules) and evaluating every 500K samples.

We brought this up two weeks ago and Google specifically objected to evaluating more frequently.  The 3M number was proposed by a Google engineer.
I think any change at this point is bad - some companies may have already started their submission runs since there are only 10 days left.
Suggest we defer this to 0.8.

SWG:
We had a long discussion about BERT evaluation today.
The resolution from this discussion:

We will continue with the rules as written right now in terms of evaluation for BERT for v0.7. We will revisit BERT evaluation from scratch in v0.8 (this v0.7 does not set precedence).

We want to make sure we have the following takeaways from this conversation:

We do not want to have a "throughput" benchmark. This means we do not want to lower bound evaluation frequency and we want to evaluate frequently often enough that submitters can stop when they hit target accuracy. ("No Lower Limits principal")
We need to communicate to current submitters that the README is out of date for v0.7 BERT.
We want to avoid documenting rules in READMEs; it is difficult because people may read the README instead of the rules.
We also want to avoid having multiple places the same rule is written (especially eval accuracy, eval frequency).
Rules updates more frequently and earlier.


fixes

Signed-off-by: Daniel Anomfueme<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

#1385


Clarify what are Checked and Unchecked Types and the difference between them.

We created checked and unchecked type for models in the schema file. We should have an explanation on what's the purpose of them.
We can clarify that “Unchecked” input types allow you to perform some operations that prisma considers “dangerous”, like directly writing foreign keys and we allow you to choose either a “safe” or an unchecked input type when doing operations like create, update.

No user question necessary. We have checked (normal API with connecting relations etc) and unchecked types (set the foreign key value directly), and those are not properly documented yet.


Better database cleanups?

I saws a few problems by inspecting a sqlite database after all the runs were deleted:

Comments and review statuses were not deleted
The space on the disk was not reclaimed

Note that it is not clear whether it is a good idea to garbage collect review statuses and comments as bugs that are disappeared in one run might rematerialize in the next. It would be great to have an option though (even if only in a form of a command line tool) to purge the comments and review statuses as well.
For reclaiming the unused disk space we should use the vacuum tool (available both in postgres and sqlite). We should either have a command line tool for reclaiming the unused disk space or run it occasionally automatically. What do you think?

Is this complexity really necessary? In case of Postgres, vacuuming is only a config option on the database to enable AUTOVACUUM. As for deleting the stuff from the database properly, there's a command-line tool that already exists for it: rm.

Does SQLite have autovacuum? If so, maybe we should just turn it on when we create the SQLite database.
The rm command is great if you want to purge ALL the runs. But it is not great if you want to purge SOME of the runs, with the comments and revision statuses included. Although, I am not sure if users would actually understand the implications (i.e. losing the bug suppressions for future runs originating from the deleted run and unused at the moment of deletion).

Comments and review statuses are not deleted by design. As you already mentioned if a report is found again in a later or other run the previous user comments will be available again which can be a valuable information.
For SQLite I think we did not give too much thought about it because SQLite is not meant to be used as a long running production database for projects.

We do some database cleanups but we do not want to remove comments and review statuses.


add person creation from admin panel

Usage
Go to the "Administration" tab and fill out the form to create a new entity.

The data will be saved as a .csv file located in the same directory of the executable binary.
ZbW_P_Contact_Manager\bin\Debug\net8.0-windows or ZbW_P_Contact_Manager\bin\Release\net8.0-windows

can we align the naming for "create new customer" and "add employee"?

aligned.


Expand only one file

Currently, it displays the expansion of the entire crate. For big crates, that's not very practical. Often, you want to see the expansion of only one file.

Being able to get the expansion of one type would also be sufficient, if that's easier to implement (after looking at the code, I'm not sure how much control expand has here).

Would it be possible to use this to expand code in a test?

@dtolnay , do you mean  we can expand a specific micro? for example,   I am using a micro ,   lazy_static::static_loader,
then I can expand  with cargo expand lazy_static::static_loader, I tried , got
cargo expand lazy_static::static_loader                                                                             1 ↵

error: extra arguments to `rustc` can only be passed to one target, consider filtering
the package by passing, e.g., `--lib` or `--bin NAME` to specify a single target

this crate is not usefull for me , be cause it expand lots of micros,  it would take hours to find the one I need.


Support D&D on Manage Services page

The drop should contact the server with a new evaluation order.

Partially complete, but require a URL to post/get the data to/from.


fiix(aws-amplifyr-react): Verify contact before signed in

Issue #, if available:
fixes #977
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #986 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #986      +/-   ##
==========================================
+ Coverage   87.01%   87.07%   +0.05%
==========================================
  Files          80       80
  Lines        3881     3899      +18
  Branches      708      711       +3
==========================================
+ Hits         3377     3395      +18
  Misses        481      481
  Partials       23       23

Impacted Files
Coverage Δ

packages/aws-amplify-react/src/Auth/TOTPSetup.jsx
100% <100%> (ø)
:arrow_up:

.../aws-amplify-react/src/Auth/RequireNewPassword.jsx
100% <100%> (ø)
:arrow_up:

...kages/aws-amplify-react/src/Auth/ConfirmSignIn.jsx
95.83% <100%> (+1.38%)
:arrow_up:

Continue to review full report at Codecov.

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

also fixes #995


Skip in remote Enum

Is there a way to skip an element of a remote enum?
#[derive(Enum, Copy, Clone, Eq, PartialEq)]
#[graphql(remote = "PaymentStatus")]
enum PaymentStatus {
    Paid,
    InProcess,
    #[graphql(skip)]
    Withheld,
}

#[derive(Enum, Copy, Clone, Eq, PartialEq)]
#[graphql(remote = "PaymentStatus")]
enum PaymentStatus {
Paid,
InProcess,
#[graphql(skip)]
Withheld,
}

This is not easy to implement, because it will cause inconsistent values in the two enumerations.
I recommend hiding this field in introspection.
#[derive(Enum, Copy, Clone, Eq, PartialEq)]
#[graphql(remote = "PaymentStatus")]
enum PaymentStatus {
    Paid,
    InProcess,
    #[graphql(visible = false)]
    Withheld,
}

#[derive(Enum, Copy, Clone, Eq, PartialEq)]
#[graphql(remote = "PaymentStatus")]
enum PaymentStatus {
Paid,
InProcess,
#[graphql(skip)]
Withheld,
}

This is not easy to implement, because it will cause inconsistent values in the two enumerations.
I recommend hiding this field in introspection.
#[derive(Enum, Copy, Clone, Eq, PartialEq)]
#[graphql(remote = "PaymentStatus")]
enum PaymentStatus {
    Paid,
    InProcess,
    #[graphql(visible = false)]
    Withheld,
}

it worked! thanks!

it worked! thanks!


Ionic pro Build error

Expected Behaviour
Successful build
Actual Behaviour
Fails
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Cordova CLI version and cordova platform version
Not sure, the latest maybe
Plugin version
2.1.2
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem
[00:41:36]: ▸ Discovered plugin "phonegap-plugin-push" in config.xml. Adding it to the project
[00:41:52]: ▸ Installing "phonegap-plugin-push" for ios
[00:41:53]: ▸ Failed to install 'phonegap-plugin-push': undefined
[00:41:53]: ▸ Failed to restore plugin "phonegap-plugin-push" from config.xml. You might need to try adding it again. Error: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in to_specs': Could not find 'minitest' (~> 5.1) among 31 total gem(s) (Gem::LoadError) [00:41:53]: ▸ Checked in 'GEM_PATH=/Users/ionic/.fastlane/bin/bundle/bin:/usr/local/Cellar/cocoapods/1.3.1/libexec', execute gem env` for more information
Does the above error logs mean anything? I am trying to build the ios app in the ionic pro native build process, but it fails. I know you wont debug their problems, but does the log above show what could be the problem?

@smasherprog it really looks like a problem with cocoapods as it is running into an issue with installing the FCM Cocoapod.

I am having the same issue as well. Will downgrading to < 2.1.2 work?

Thanks for the response. I am trying to downgrade now to see if that helps

@smasherprog it's not the plugin, it's your cocoapods/ruby installation

I figured .. ill close this as I dont believe this is your problem, but I figured I'd ask.
Thanks for the info

If you can post what was wrong here it might help the next person.

@smasherprog It would be awesome if you could share the solution. Thanks.

I didnt find a solution. I put in a ticket with ionic as I believe their build image/script is not correct.

The problem is building an ionic 3 app using the Pro build services. It generates an error when building for versions of this plugin 2.0.0  - 2.1.2
Below is a snippet of the error the build server gives me
[04:57:29]: ▸ Adding cordova-plugin-badge to package.json
[04:57:29]: ▸ Saved plugin info for "cordova-plugin-badge" to config.xml
[04:57:30]: ▸ Discovered plugin "cordova-plugin-file-transfer" in config.xml. Adding it to the project
[04:57:46]: ▸ Installing "cordova-plugin-file-transfer" for ios
[04:57:47]: ▸ Plugin dependency<EMAIL_ADDRESS>already fetched, using that version.
[04:57:47]: ▸ Dependent plugin "cordova-plugin-file" already installed on ios.
[04:57:47]: ▸ Adding cordova-plugin-file-transfer to package.json
[04:57:47]: ▸ Saved plugin info for "cordova-plugin-file-transfer" to config.xml
[04:57:47]: ▸ Discovered plugin "cordova-plugin-network-information" in config.xml. Adding it to the project
[04:58:05]: ▸ Installing "cordova-plugin-network-information" for ios
[04:58:05]: ▸ Adding cordova-plugin-network-information to package.json
[04:58:05]: ▸ Saved plugin info for "cordova-plugin-network-information" to config.xml
[04:58:05]: ▸ Discovered plugin "phonegap-plugin-push" in config.xml. Adding it to the project
[04:58:23]: ▸ Installing "phonegap-plugin-push" for ios
[04:58:24]: ▸ Failed to install 'phonegap-plugin-push': undefined
[04:58:24]: ▸ Failed to restore plugin "phonegap-plugin-push" from config.xml. You might need to try adding it again. Error: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in to_specs': Could not find 'minitest' (~> 5.1) among 31 total gem(s) (Gem::LoadError) [04:58:24]: ▸ Checked in 'GEM_PATH=/Users/ionic/.fastlane/bin/bundle/bin:/usr/local/Cellar/cocoapods/1.3.1/libexec', execute gem envfor more information [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1439:inblock in activate_dependencies'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:in each' [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:in activate_dependencies'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1410:in activate' [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1442:in block in activate_dependencies'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:in each' [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:in activate_dependencies'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1410:in activate' [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1442:in block in activate_dependencies'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:in each' [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1428:in activate_dependencies'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/specification.rb:1410:in activate' [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:196:in rescue in try_activate'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:193:in try_activate' [04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:125:in rescue in require'
[04:58:24]: ▸ from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in require' [04:58:24]: ▸ from /usr/local/Cellar/cocoapods/1.3.1/libexec/gems/cocoapods-1.3.1/bin/pod:36:in '
[04:58:24]: ▸ from /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:22:in load' [04:58:24]: ▸ from /usr/local/Cellar/cocoapods/1.3.1/libexec/bin/pod:22:in
'
[04:58:24]: ▸ Discovered plugin "cordova-sqlite-storage" in config.xml. Adding it to the project
[04:58:42]: ▸ Installing "cordova-sqlite-storage" for ios
[04:58:42]: ▸ installing external dependencies via npm
[04:58:45]: ▸ npm install of external dependencies ok
[04:58:45]: ▸ Adding cordova-sqlite-storage to package.json
[04:58:45]: ▸ Saved plugin info for "cordova-sqlite-storage" to config.xml
[04:58:45]: ▸ Discovered plugin "cordova-plugin-ionic" in config.xml. Adding it to the project
[04:59:02]: ▸ Installing "cordova-plugin-ionic" for ios
[04:59:20]: ▸ Installing "cordova-plugin-add-swift-support" for ios
The installation of the plugin is vanilla, using FCM

The fix for this was to use a different plugin
https://github.com/fechanique/cordova-plugin-fcm
This works on ionics build servers and it simpler to use as well.. :(

macdonst  is it possible to include code from here https://github.com/fechanique/cordova-plugin-fcm
It doesnt look like that repo is being maintained, but the implementation doesnt require cocopods or any special setup...


Fastfetch install fails

deb-get issue template
Reporting a bug 🐛
Expected behavior
Fastfetch installs
Actual behavior
deb-get install fastfetch fails with the following error:
ERROR! Missing required information of github package fastfetch:
URL=
VERSION_PUBLISHED=

Steps to reproduce
deb-get install fastfetch
System information
Run the following a paste the output below:
/etc/os-release
cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

/etc/lsb-release
cat /etc/lsb-release

deb-get version
deb-get version
0.4.0

duplicate of #1008


Use C++11 atomics for ring buffer read and write positions

Replaces the pre-C++11 use of volatile and hope


fix: QuickSwitcherPopup now pops up in the selected window

Description

fix: QuickSwitcherPopup now pops up in the selected window
QuickSwitcherPopup: reduce indentation anon namespace
QuickSwitcherPopup: constexpr the minimum size
QuickSwitcherPopup: remove redundant virtual from themeChangedEvent

@Mm2PL I removed one of the questionable usages of getMainWindow, could you take a look at this PR? Only the first commit makes actual behavioral changes
Related to https://github.com/Chatterino/chatterino2/pull/4816

Opening a new channel in a tab still uses the main window. Can you fix that? It is located in src/widgets/dialogs/switcher/NewTabItem.cpp.

2b75961 (#4819) should fix this. I have tested it but would be good with a sanity check. Good catch!


Help: Importing entities from C# source

Hello, I am very impressed with your features, I wanted to share while the install succeeded, it hangs, I had to restart VS to make it work after clearing the MEF cache.
I saw this feature -
...importing entities from C# source, or existing DbContext definitions (including their entities) from compiled EF6 or EFCore assemblies"
Can I please ask for some help here, we have projects where I am trying your tool to upgrade into EF core. In the previous version, they used Models/Entities , ADO with SP's/StoreProcs.
Inside the model namespace, since we have all/list all the code/objects/entities/models without a DB context, can you add some help on how to import those source/entities to the designer  is it done by these methods, I apologize I was reading the help and could not figure it out.

[ ] by drag and drop
[ ] or right click import namespace
[ ] or right click import the models/entities in the solution tree

If you don't have a compiled assembly that already has a DbContext, your best bet is to drag/drop the class files from the solution explorer onto the design surface. That's a bit lower fidelity, since it doesn't have all the data elements needed, but it'll get you most of the way there and you can tweak the class and property attributes in the designer to get what you want.
If you had a compiled assembly, anything from EF6 to EFCore6, you could drop that assembly onto the design surface from the file explorer and get a more robust model, although you'll still need to tweak some things since not all modeler properties can be detected from the DbContext (and I'm sure there are some that could be detected but we just failed to do it :-) )
You can find more info at https://msawczyn.github.io/EFDesigner/Importing.html
Hope that helps.

Hello @msawczyn this is exactly what I was looking for, thanks for the explanation. Also the way you have it planned is very intuitive.
Option 1
When I drag classes from the explorer view, on the designer view the cursor turns to null preventing me from dragging anything onto the designer surface. (sometimes it asks for a xamarin firewall exception rule, not sure what thats about.)
Option 2:
If I drag a class lib project .NET core 2.1 with a model namespace, it claims circular dependency. I tried it with couple other projects as well with the same error.
Any ideas on how to get past this, please.
thanks

@msawczyn  We got the same question :-)
https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/771

I was trying both tools @sjh37

Hi @papyr ,
I can't reproduce that. Using Visual Studio 2022 and v<IP_ADDRESS> of the designer, I typed in the following class:
   public class TestClassForImport
   {
      public int Id { get; set; }
      public string FirstName { get; set; }
      public string LastName { get; set; }
      public DateOnly BirthDate { get; set; }
   }

That gave me a solution explorer that looked like

I then opened the designer and dragged TestClassForImport from the solution explorer to the designer where I dropped it.

Clicking Yes I got

I got the same results by dragging the file from File Explorer to the design surface.
You're not getting the same results?

Hello @msawczyn thats exactly what I want to do, but its not dragging on the designer surface it shows null /stop symbol while dragging over. I updated to latest, and when I try to screenshot I loose the null/no drag/stop drag/icon cursor.
Is there anything I can do to help, I would love to help and contribute in some way 🛩

[ ] How can I setup a break point and run the debug version,
[ ] Can I download the EFDesigner code and run it in debug/ what steps should I setup to run it in debug please? and where should I set the debug breakpoint to catch it.

Not sure how to debug a VSIX extn...

Finally, I was able to fix it after tinkering around, I think it has to do with hub process, I am testing it. I will try do a PR on the documentation to help people.


[BEAM-115] Runner API representation of windowing strategies for Python

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

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

R: @vikkyrk

Is the plan to check in the generated code?

Thanks for taking a look, @tibkiss. I though I had added tests for Windowing, but clearly not.

@kennknowles As for checking in generated code, I poked around a bit, and asked around, and that's what we're currently doing for the other protos and apitools generated code. It'd be nice to avoid a protoc/mvn dependency for contributors, but I figured this was better than generating the json manually.

R: @kennknowles

@robertwb with regard to checking it in, I actually don't have much of an objection. It seems like a potentially annoying problem, and this unblocks other work. Perhaps we'll get to a point where it is autogenerated later, and it won't be hard to adjust other things.
I'll take a little bit to get to this review in more depth, though. I trust the LGTM of someone involved in the Python SDK more deeply.

Coverage increased (+0.02%) to 70.175% when pulling 8a0db87a71c91a6a1cb677bc0ae61e13e9edc769 on robertwb:py-runner-api into 29d9bd3e66748e52b61e1f28b5b56205d861473e on apache:master.

LGTM.

Changes Unknown when pulling 86e17544b2e3fd4c9dc837373cc19b7747700185 on robertwb:py-runner-api into ** on apache:master**.


Show suite metrics

Display Suite Metrics in Suite Tab
Show Suite related metrics in dashboard (Statistics, Pie Chart, Top 10 Suite Performance)

Added enhancement #13 in PR
Link: https://github.com/adiralashiva8/robotframework-metrics/issues/13


Make prepare{Instant,Range}Query public

Useful for embedding the query engine.

@rojer Oh sorry, I didn't notice that this would actually be changes to the query layer, not the storage layer. We can merge this for now, but be aware that in the following weeks, we'll integrate a major refactoring of the query layer which will change the layout of this section of code completely. We could CC you on that PR once it happens, if you are interested. Right now we are working on getting the new parser in (https://github.com/prometheus/prometheus/pull/639), but the query layer will be the next step. Should I merge this now, or would you rather wait for the new code?

let's merge this for now and i'll deal with whatever comes down the pike later.
thanks!

@rojer Aye, merging.


Persistent List destruction size limit

Hy,
The list implementation is simple/nice but it imposes a limit on number of stored elements because of "additional effect" of recursive destruction. A garbage collector would be very nice indeed, without it I don't know if using a "production persistent List" is really possible.

Does this issue also extend to other data structures besides lists in this library?

This library should be treated as a proof of concept. I was worried more about correctness and ease of use (especially in backtracking algorithms) than about performance.
It also points out at inherent shortcomings of C++. Contrary to popular belief, C++ is not an optimal implementation language for a whole slew of very useful data structures and algorithms.


VSR: Incremental client table

NOTE: This PR does not implement repair for the client_replies zone.
(Accordingly, the simulator does not inject storage faults into the client_replies zone yet.)
(That will be my next PR.)
Previously the client table was a superblock trailer:

We keep four copies of it per replica.
We rewrite (four copies of) the whole thing every checkpoint (i.e. WAL wrap).
We keep it all in memory — one message per client (for each of clients_max).

This has some issues:

Redundant writes, causing a latency spike at checkpoint.
High RAM overhead per-client.

To address this:

Split the client table out of the superblock — move it to its own zone.
(Only keep 1 copy of the client table per replica.)
The client table superblock trailer just stores reply metadata — slot index (implicitly), session, and reply header.
Update the client table zone incrementally, in-place on disk.
Drop the in-memory client table, just read from the zone as needed.
Instead of replicating the client table locally, repair it via a new command=request_reply message (similar to how the WAL repairs with request_prepare).

As a bonus, this will help state sync be more lazy about transferring the client table.
(The client table is frequently-rewritten and infrequently-used.)
Pre-merge checklist
Performance:

[x] Compare zig benchmark on linux before and after this pr.

    # benchmark results before
1223 batches in 545.86 s
load offered = 1000000 tx/s
load accepted = 18319 tx/s
batch latency p00 = 3 ms
batch latency p10 = 65 ms
batch latency p20 = 69 ms
batch latency p30 = 73 ms
batch latency p40 = 77 ms
batch latency p50 = 94 ms
batch latency p60 = 105 ms
batch latency p70 = 109 ms
batch latency p80 = 115 ms
batch latency p90 = 130 ms
batch latency p100 = 52104 ms
transfer latency p00 = 3 ms
transfer latency p10 = 11193 ms
transfer latency p20 = 35379 ms
transfer latency p30 = 70407 ms
transfer latency p40 = 117706 ms
transfer latency p50 = 176211 ms
transfer latency p60 = 240513 ms
transfer latency p70 = 299360 ms
transfer latency p80 = 362602 ms
transfer latency p90 = 430966 ms
transfer latency p100 = 535868 ms

    # benchmark results after
1223 batches in 531.52 s
load offered = 1000000 tx/s
load accepted = 18813 tx/s
batch latency p00 = 3 ms
batch latency p10 = 64 ms
batch latency p20 = 66 ms
batch latency p30 = 69 ms
batch latency p40 = 72 ms
batch latency p50 = 88 ms
batch latency p60 = 101 ms
batch latency p70 = 105 ms
batch latency p80 = 109 ms
batch latency p90 = 122 ms
batch latency p100 = 51412 ms
transfer latency p00 = 3 ms
transfer latency p10 = 11389 ms
transfer latency p20 = 35604 ms
transfer latency p30 = 71834 ms
transfer latency p40 = 119412 ms
transfer latency p50 = 178786 ms
transfer latency p60 = 240835 ms
transfer latency p70 = 299428 ms
transfer latency p80 = 362978 ms
transfer latency p90 = 422016 ms
transfer latency p100 = 521531 ms

MacOS CI failure appears to be a flaky test.


Windows: copy paster doesn't work

Hey, I tried to use your demo in window's browsers (chrome, ff, edge) but it doesn't work and console says Sorry, to bother you but there was no image pasted.. Can you please help to understand this issue? Thanks

That doesn't work for me either...
I don't have the time, need another solution quick

i have a windows machine now, maybe i can test tonight.

I tested on Windows + Firefox. Seem to work OK.


 in SemanticZoomPage.xaml

Hi, I am learning about SemanticZoom control. In     SemanticZoomPage.xaml    u have used "d:source" for the CollectionViewSource. I cannot understand the purpose of using "d:source". And you have also defined another source of source. I am just confused. And what is "d:DesignData" ?
The sample that I have been studying is "XAML Controls Gallery".

here is the code :
<CollectionViewSource x:Name="cvsGroups" Source="{x:Bind Groups}" IsSourceGrouped="True" ItemsPath="Items"                               d:Source="{Binding Groups, Source={d:DesignData Source=/DataModel/ControlInfoData.json, Type=data:ControlInfoDataSource}}"/>

This is documented on MSDN.

d: (http://schemas.microsoft.com/expression/blend/2008)
The d: XAML namespace is intended for designer support, specifically designer support in the XAML design surfaces of Microsoft Visual Studio and Microsoft Expression Blend. The d: XAML namespace enables designer attributes on XAML elements. These designer attributes only affect the design aspects of how XAML behaves. The designer attributes are ignored when the same XAML is loaded by the XAML parser, and the application runs.


Web - display routes and filter by types / years

https://github.com/osmandapp/OsmAnd-Issues/issues/2708


Long pause between hitting shutter and picture being taken

The first picture is taken instantly, however pictures in quick succession will have a long delay before being taken. Hitting the shutter button quickly enough can crash the app.

Do you think this has something to do with your image rotation code?

Possibly. I'll look into it.

I'm having a similar issue.  The camera is "paused" for about 15 seconds after the Camera component renders.  But after the it works just fine (provided I don't re-render it). One way of getting around this problem is to not unmount the containing component

I'm having a similar issue.  The camera is "paused" for about 15 seconds after the Camera component renders.  But after the it works just fine (provided I don't re-render it). One way of getting around this problem is to not unmount the containing component. I'm using 0.3

@achang28 I think you may be referring to this issue: https://github.com/lwansbrough/react-native-camera/issues/61
What I'm talking about here is something that happens when you hit the shutter several times in quick succession. Tomorrow, I'll try to track down the cause.

@jtremback If it happens to be the rotation code, maybe using the metadata is best?

If it is the rotation code, then it's due to some flaw in the code, not the fact that the image is being rotated. In that case, I'll switch back to the library that you were using before to do the rotation via resize.

Yes, it is the rotation code. I'll try some different code. Rotating an image is well within the capabilities of the iPhone.


Fetching a model by id when model is dynamic

I have a particular collection that has a function for determining which model should be created instead of a model object as described in the documentation. However, I've run into an issue when fetchById is called for a model in that collection.
In the ampersand-collection-rest-mixins.js method fetchById() the line:
idObj[this.model.prototype.idAttribute] = id;

seems to assume that the model property will not be a generic function but instead some type of Ampersand-Model object. Has anyone run into this use case and if so what did they do to solve it?

I ran into the same problem (https://github.com/AmpersandJS/ampersand-rest-collection/issues/13). I think the best workaround will be to use the collection's mainIndex as a fallback in this line. I will issue a PR soon.


PhysicsEngine Undefined gravitySolver; Appears PhysicsEngine init() is never called.

Appears PhysicsEngine init() is never called.
Versions:
"vis": "^4.21.0-EOL",
"vis-data": "^7.1.6",
"vis-network": "^9.1.6",
"vis-timeline": "^7.7.2"
Usage in a React application:
import { Network, Data } from "vis-network";
graph: Data // assigned elsewhere
network = new Network(visJsRef.current, graph );
Error:

this.gravitySolver.solve();
PhysicsEngine.js:377 Uncaught TypeError: Cannot read properties of undefined (reading 'solve')
at PhysicsEngine2.physicsStep (PhysicsEngine.js:377:24)
at PhysicsEngine2.physicsTick (PhysicsEngine.js:450:12)
at PhysicsEngine2._stabilizationBatch (PhysicsEngine.js:784:12)
at PhysicsEngine.js:744:27

Passing in options={} fixes, but it is supposedly optional.

Passing in options={} fixes, but it is supposedly optional.

This resolved my problem 👍🏽


Cross build to 2.13.3

I need 2.13 artifacts to complete upgrading our backend to 2.13, so thought I'd do the grunt work. This all builds, but I'm happy to address any issue you might have with what I've done.
Note that the version is set to 0.2.0-SNAPSHOT to allow for local publishing (allowed me to confirm everything worked fine on a live service), no issue reverting it to 0.1.0 if you prefer.
One small caveat: this currently conflicts with other parts of the finagle ecosystem - namely, finagle-prometheus. There are binary compatibility issues between finagle 20.9.0 and 20.1.0 (on which finagle-prometheus depends). I've submitted https://github.com/samstarling/finagle-prometheus/pull/51 to address it.

I also added a commit to fix what looked like incorrect handling of line break characters. Another win for property based tests!

This is great! Thank you @nrinaudo!


Change bucketized histogram buckets to match Atlas buckets

The current implementation of the bucketized histograms uses a very simple power-of-two bucket scheme. The Atlas metrics system uses a different set of buckets. In order to better utilize the internal Netflix charting tools, we should switch to using the Atlas buckets.
The implementation in Java is found here: https://github.com/Netflix/spectator/blob/master/spectator-api/src/main/java/com/netflix/spectator/api/histogram/PercentileBuckets.java#L64

Might consider using assembly here, too.
https://reviews.llvm.org/D6175
The SSE DIVSS or DIVSD might make this a whole lot faster than a regular DIV, in which case it would need special treatment on an x86.
If I was to do this, I definitely need benchmarks to show it's faster than just basic x / 3.

the assembly was 11ns vs ~13.5ns for the straight Go code. Definitely not worth the effort or maintenance burden.


feature request: WebKitGTK bindings

Thanks for the great work on gintro!
WebKitGTK  is commonly used in the GNOME/GTK world for writing applications that display or interact with HTML.  It would be very nice to have gintro bindings available for it.

I have learned in the last years to be a bit carefully with the addition of more packages to gintro. I had added gstreamer because someone requested it, but that one vanished and never returned. Someone other requested vte and also vanished fast. (Well for vte we have a different active user from France now at least.) Lately there was a serious request for libnice, which I fulfilled. But as I had no experience with libnice and libnice is a low level package, it took me more than 50 hours to provide a working demo example.
For WebKitGTK: I would expect it to be a really large library, which can generate much trouble. And the question is who would use it for what? Do you intent to write a Firefox clone in Nim? Have you experience with use of WebKitGTK from other programming languages so that you can help providing examples? I unfortunately have no experience with that. Unfortunately each new package increases the maintaining costs.
Well your real name seems to sound familiar, are you one of the authors of
https://researcher.watson.ibm.com/researcher/files/us-bacon/Dingle07Ownership.pdf

I have learned in the last years to be a bit carefully with the addition of more packages to gintro. I had added gstreamer because someone requested it, but that one vanished and never returned. Someone other requested vte and also vanished fast. (Well for vte we have a different active user from France now at least.) Lately there was a serious request for libnice, which I fulfilled. But as I had no experience with libnice and libnice is a low level package, it took me more than 50 hours to provide a working demo example.
For WebKitGTK: I would expect it to be a really large library, which can generate much trouble. And the question is who would use it for what? Do you intent to write a Firefox clone in Nim? Have you experience with use of WebKitGTK from other programming languages so that you can help providing examples? I unfortunately have no experience with that. Unfortunately each new package increases the maintaining costs.
Well your real name seems to sound familiar, are you one of the authors of
https://researcher.watson.ibm.com/researcher/files/us-bacon/Dingle07Ownership.pdf

Hi Stefan,
I am, indeed, a co-author of that paper with David Bacon.  It was never actually published, so I'm quite surprised that you are aware of it!  :)
You're right that WebKitGTK is a large library.
I'm currently working on a WYSIWYG HTML editor for the GNOME desktop.  The goal is to for it to look and feel like a simple word processor, so it should be useful not only for editing HTML pages that you want to publish online, but even as a lightweight alternative to LibreOffice for editing rich text documents for any purpose, one that just happens to use HTML as its document storage format.  Using WebKitGTK for rendering the document is the obvious choice.
At the moment I'm using Python, but it would be interesting to write it in Nim if possible.  Hence my feature request.
More generally, I'd love to see all the GNOME apps port away from C toward some other language over time, since C is just too low-level and hard to read and write.  I think Nim is probably the best candidate we currently have for such a language.  So in the long term I think it would be great if all the important core libraries are available in Nim.  I'm glad you added GStreamer, for example.  And WebKitGTK is another such library.  Of course, that's a long-term goal and you can't be expected to do all the work yourself, and I hope other contributors will join the effort.
As to whether you want to attempt to add WebKitGTK, it's up to you.  My hope is that the existing gobject-introspection bindings for WebKitGTK will work with your Nim framework without too much effort, but I know that's a lot to hope for.  If you do want to add this, I'd be happy to attempt to port my editor to Nim which should be a significant example.

Hi Stefan,
I am, indeed, a co-author of that paper with David Bacon.  It was never actually published, so I'm quite surprised that you are aware of it!  :)
You're right that WebKitGTK is a large library.
I'm currently working on a WYSIWYG HTML editor for the GNOME desktop.  The goal is to for it to look and feel like a simple word processor, so it should be useful not only for editing HTML pages that you want to publish online, but even as a lightweight alternative to LibreOffice for editing rich text documents for any purpose, one that just happens to use HTML as its document storage format.  Using WebKitGTK for rendering the document is the obvious choice.
At the moment I'm using Python, but it would be interesting to write it in Nim if possible.  Hence my feature request.
More generally, I'd love to see all the GNOME apps port away from C toward some other language over time, since C is just too low-level and hard to read and write.  I think Nim is probably the best candidate we currently have for such a language.  So in the long term I think it would be great if all the important core libraries are available in Nim.  I'm glad you added GStreamer, for example.  And WebKitGTK is another such library.  Of course, that's a long-term goal and you can't be expected to do all the work yourself, and I hope other contributors will join the effort.
As to whether you want to attempt to add WebKitGTK, it's up to you.  My hope is that the existing gobject-introspection bindings for WebKitGTK will work with your Nim framework without too much effort, but I know that's a lot to hope for.  If you do want to add this, I'd be happy to attempt to port my editor to Nim which should be a significant example.

a co-author of that paper with David Bacon.

Really interesting. The Bacon/Dingle papers where discussed in the Nim community maybe two years ago, and I think they have indeed influenced the current ARC/ORC deterministic memory management system. I am really happy that we have ARC now, I was not too happy with the old delayed refc GC.
Your arguments for WebKitGTK sound good, so I will see what I can do about it. In the optimal case it requires only adding one line to the generator script, but in reallity it can be more work. For gstreamer the problem was that gstreamer authors are not members of the gtk/gnome core team, so there where serious differences in the gobject-introspection stuff, I had to ask for support by the GTK core devs, which basically is only Mr. Bassi currently. And for libnice the problem was that that lib is really a low level lib, and that the user intended to use it with Windows 8.1 while I am using Linux only.
For the GTK/GNOME C relation: You may know that the Vala project is generally regarded as failed and death now. I think that some of the GTK core devs, at least Mr Bassi know well the problems of C. The Rust team around Mr Droege has put a large effort to support GTK and maybe partly replace C for GTK with Rust language. Indeed in the last years we got a few new GTK tools written in Rust. So I would strongly assume that Rust is a much better candidate for replacing C in GTK than Nim. Rust is supported by the Mozilla foundation, which had a finance budget of a few 100 Million $ a year in the last years.
For the gintro Nim bindings: I am working on it since more than 4 years now, with a time budget of about 400 hours a year. And before that, in 2015 I created the oldgtk3 low level bindings. It is indeed much effort regarding the small number of Nim GTK users which we currently have. And it is a fact that many people just don't like GTK, including Mr Rumpf himself, so we can not hope for much support from him or the Nim team for the gintro package.
In last summer I started writing the GTK4 book, as some people told me that it is too difficult to learn GTK from the C API alone. But unfortunately that books is only 20% complete yet.
Well I will look at the WebKitGTK stuff, maybe next weekend.

a co-author of that paper with David Bacon.

Really interesting. The Bacon/Dingle papers where discussed in the Nim community maybe two years ago, and I think they have indeed influenced the current ARC/ORC deterministic memory management system. I am really happy that we have ARC now, I was not too happy with the old delayed refc GC.
Your arguments for WebKitGTK sound good, so I will see what I can do about it. In the optimal case it requires only adding one line to the generator script, but in reallity it can be more work. For gstreamer the problem was that gstreamer authors are not members of the gtk/gnome core team, so there where serious differences in the gobject-introspection stuff, I had to ask for support by the GTK core devs, which basically is only Mr. Bassi currently. And for libnice the problem was that that lib is really a low level lib, and that the user intended to use it with Windows 8.1 while I am using Linux only.
For the GTK/GNOME C relation: You may know that the Vala project is generally regarded as failed and death now. I think that some of the GTK core devs, at least Mr Bassi know well the problems of C. The Rust team around Mr Droege has put a large effort to support GTK and maybe partly replace C for GTK with Rust language. Indeed in the last years we got a few new GTK tools written in Rust. So I would strongly assume that Rust is a much better candidate for replacing C in GTK than Nim. Rust is supported by the Mozilla foundation, which had a finance budget of a few 100 Million $ a year in the last years.
For the gintro Nim bindings: I am working on it since more than 4 years now, with a time budget of about 400 hours a year. And before that, in 2015 I created the oldgtk3 low level bindings. It is indeed much effort regarding the small number of Nim GTK users which we currently have. And it is a fact that many people just don't like GTK, including Mr Rumpf himself, so we can not hope for much support from him or the Nim team for the gintro package.
In last summer I started writing the GTK4 book, as some people told me that it is too difficult to learn GTK from the C API alone. But unfortunately that books is only 20% complete yet.
Well I will look at the WebKitGTK stuff, maybe next weekend.

That's fascinating that the Nim community discussed my/David's paper on memory management!  I had no idea that had happened.  If it had an influence on your deterministic memory management system, all the better!
I agree that Vala is pretty much on the way out.  It's a little sad for me to see that, since I have a past with Vala.  I was the founder of Yorba, an open source development group that built a few applications in Vala including the Geary mail client which has remained fairly popular.  But I think it's pretty clear that Rust and Nim have much more momentum today.
I don't have much experience with either Rust or Nim, but I have to say that my first impression of Nim is more positive.  Really it would be a valuable exercise for me to attempt to port my editor to both Rust and Nim to see how the experiences compare.
It's impressive that you are so devoted to gintro and have put so much time and energy into it.  It's a shame that Mr. Rumpf is not a GTK fan, but hopefully with your work Nim will still be a strong choice for GTK applications in the future.
I agree that GTK is too difficult to learn from the C API alone.  In my opinion the best resource for learning GTK today is the book "Foundations of PyGTK Development" by W. David Ashley and Andrew Krause, though even that recent book is becoming a bit dated in some ways.
I'm hopeful that the introspection bindings for WebKitGTK will work without much effort in Nim since they seem to work well in Python, which can also import WebKitGTK using gobject-introspection.  However, probably the only way to find out is to add that one line to the generator script and see what happens.  :)

That's fascinating that the Nim community discussed my/David's paper on memory management!  I had no idea that had happened.  If it had an influence on your deterministic memory management system, all the better!
I agree that Vala is pretty much on the way out.  It's a little sad for me to see that, since I have a past with Vala.  I was the founder of Yorba, an open source development group that built a few applications in Vala including the Geary mail client which has remained fairly popular.  But I think it's pretty clear that Rust and Nim have much more momentum today.
I don't have much experience with either Rust or Nim, but I have to say that my first impression of Nim is more positive.  Really it would be a valuable exercise for me to attempt to port my editor to both Rust and Nim to see how the experiences compare.
It's impressive that you are so devoted to gintro and have put so much time and energy into it.  It's a shame that Mr. Rumpf is not a GTK fan, but hopefully with your work Nim will still be a strong choice for GTK applications in the future.
I agree that GTK is too difficult to learn from the C API alone.  In my opinion the best resource for learning GTK today is the book "Foundations of PyGTK Development" by W. David Ashley and Andrew Krause, though even that recent book is becoming a bit dated in some ways.
I'm hopeful that the introspection bindings for WebKitGTK will work without much effort in Nim since they seem to work well in Python, which can also import WebKitGTK using gobject-introspection.  However, probably the only way to find out is to add that one line to the generator script and see what happens.  :)

best resource for learning GTK today is the book "Foundations of PyGTK Development" by W. David Ashley and Andrew Krause

I read the book of Andrew Krause in 2007. Was OK and helped me learning GTK2. But from the content it was only a 250 pages book, which he bloated to 500 pages with a lot of redundant stuff.
The Python successor seems to be not very popular, has never been mentioned on GTK mailing list or GTK forum. Often such "refreshed" releases are disappointing.
So I fear the best GTK4 book is still my one -- unfortunately it is only 20% complete:
http://ssalewski.de/gtkprogramming.html
I have just released gintro v0.8.5 with webkit support. Only GTK3 still, I tried to built it for GTK4 but it failed, we have to wait a few weeks for the next webkit release for GTK4.
I have created one simple GTK3 example:
https://github.com/StefanSalewski/gintro/blob/master/examples/gtk3/webkitgtk.nim

best resource for learning GTK today is the book "Foundations of PyGTK Development" by W. David Ashley and Andrew Krause

I read the book of Andrew Krause in 2007. Was OK and helped me learning GTK2. But from the content it was only a 250 pages book, which he bloated to 500 pages with a lot of redundant stuff.
The Python successor seems to be not very popular, has never been mentioned on GTK mailing list or GTK forum. Often such "refreshed" releases are disappointing.
So I fear the best GTK4 book is still my one -- unfortunately it is only 20% complete:
http://ssalewski.de/gtkprogramming.html
I have just released gintro v0.8.5 with webkit support. Only GTK3 still, I tried to built it for GTK4 but it failed, we have to wait a few weeks for the next webkit release for GTK4.
I have created one simple GTK3 example:
https://github.com/StefanSalewski/gintro/blob/master/examples/gtk3/webkitgtk.nim

Stefan, thanks for the quick turnaround!  I guess maybe this wasn't so tough after all.  :)  I'll try to take a look at your new release in the next day or two.

Stefan, thanks for the quick turnaround!  I guess maybe this wasn't so tough after all.  :)  I'll try to take a look at your new release in the next day or two.

Stefan, I'm sorry to be another one of your commenters who asked for bindings, and then vanished!  But the truth is that I took a deeper look at Nim, and ultimately decided to use Python for my project instead, at least for now.  Nim is just a lower-level language than I want.  A key difference is that assignment in Nim means copying, like in C and C++.  I definitely want a language where assignment instead means making another reference to the same object, like in C#, Java, and Python.  My application isn't performance-critical, and I want to think as little as possible about memory allocation, at least in the beginning stages.  Perhaps at some later point I'll port to a lower-level language, and if that happens Nim would be a candidate.
Anyway, so I think we can close this since you've implemented it and I don't expect to actually use these bindings any time soon.  If it took a significant amount of your time to create them, then my apologies - probably I should have done more experimentation with Nim before making my request.  In any case, best of luck with all your ongoing Nim work.

Sad to hear that you will not continue (or even start) using Nim.

A key difference is that assignment in Nim means copying,

Well, in Nim we have and use ref types, which are managed pointers. When we copy or assign for ref types, we copy the ref, not the object itself. That should be exactly what you want.
Why I just opened this issue again: I have just added webkitgtk support for GTK4. WebkitGtk lib works for GTK4 with latest tarball WebKitGTK 2.31.1 finally. Do worry too much about my work spent for providing webkitgtk bindings, it was only a dozen hours totally, and I am sure sooner or later someone other has asked for it, again without really using it :-)


Experiments with BWMF

Original message:

Hi all,
I'm working on deployment of the bwmf tasks to factor real-world corpus. Here is are status and todos:
Data. Now we have a sina news corpus dataset which has ~300m docs and ~10m terms (with stopwords filtered).
In our experiments, I will gradually increase num of docs to scale the problem. We will eventually hit a barrier where we are not able to handle full T or full D in-memory in our task node.
The TODO for tomorrow is a data converter to convert the tokenized text representation of docs into serialized proto messages.
I would suggest we defer the modification of a unified interface of dense/sparse matrix shard because current implementation is optimized for low memory footprint and fast accessing both for dense and sparse representation. We will handle the unification of interfaces later.
Also, Zifei is working on refactoring filesystem client from task impl into task builder. The client object will be created in task builder and passed to bwmfTask when creating the task.
Cluster. We will be running bwmf on TaskGraph launched on a Hadoop Yarn cluster. I've tested WebHDFS and it works well. So the current filesystem and interfaces are ready for our experiments.
Generally, We will carry out the experiment as:

Data preparation. We will save row shards and column shards on HDFS.
ETCD. We will submit a mapreduce job with identity mapper and "etcd server" as reducer. Then we list the hosts of the reduce tasks as etcdurls.
BWMF on TaskGraph. We will submit a mapreduce job with identity mapper and our deployable bin as reducer to start the computation.

In each mapreduce job, we set "mapred.reduce.tasks" to the num of running instances. Also, we will set "mapred.task.timeout" to a very large value so that job-tracker do not kill the it during the intensive computation.
I'll keep you updated on the experiments and look forward to your comments and suggestions.
Cheers,
Gang

Here is the update of today:

The TODO for tomorrow is a data converter to convert the tokenized text representation of docs into serialized proto messages.

The converter is done. Now we have a pipeline with several Hadoop streaming jobs to process the tokenized text into doc-term and term-doc matrices with sequential docid and termid representing docs and terms, and to convert the matrices into serialized matrix shard buffers.
We are almost ready to run taskgraph. Next todo is the refactor of fs client creating. The checkpointing/recovery will also be based on it.

@BaiGang Please take a look at #63 .

Another problem is that the tShard and dShard are actually very sparse but currently peerShards fully copies the dense data which takes a very large mem footprint.
We can fix this problem by keeping dense tShard and dShard but transfer a sparse copy via GetTShard/GetDShard. So peerShards consists of sparse copies from neighbors.
I'll open a PR for this later.

Unified shard representation is resolved in PR #83 at commit c22732b45f.

Now we are working on the dateset with the new matrix representation.


Rename LICENSE.txt to LICENSE

This fixes issue #324.

I would rather actually go the other way around, if possible, since there are a few things tied into this (like the ReadMe).

(and this is to bring the name into the shape used in our source location)

No worries. I'll close this for now then.


Removed peclib.

Change the links in the files to point to your repo btw.


Describe and apply versioning convention

I added details to the README, but could not complete the steps for registering an algorithm because there seems to be something wrong with the ADE.
When stepping through things in the ADE in order to make sure I was documenting the steps correctly, I ran into an error in the ADE, as follows:

Open the ADE/MAS Operations menu
Choose Publish Algorithm
Select an algorithm (in this case, gedi-subset_ubuntu:main)
Click Ok

At this point, I received an INTERNAL SERVER ERROR message.
Further, from a Terminal window, I get the following when attempting to push to GitLab, but I don't know if this is related to above:
# git push --all ade
fatal: unable to access 'https://repo.ops.maap-project.org/data-team/maap-documentation-examples.git/': server certificate verification failed. CAfile: none CRLfile: none

That sounds like a certificate expired, and the platform team needs to refresh that before things will work again.


Rahti migrate

This contains documentation from rahti.csc.fi in almost verbatim.
Only major content change was that contact for support was changed to servicedesk@cscfi from<EMAIL_ADDRESS>I have a feeling that some of the content should not be in docs.csc.fi (e.g. agreements or getting access?) but here they are for the lack of more suitable place.
Preview here.

The following links are not working properly
Link #information-security--data-protection in file ./docs/cloud/rahti/agreements/sla.md on line 153 is broken
Link /cloud/rahti/usage/projects_and_quota/#projects_and_quota in file ./docs/cloud/rahti/tutorials/basic-console.md on line 6 is broken
Link /cloud/rahti/usage/projects_and_quota/#projects_and_quota in file ./docs/cloud/rahti/tutorials/elemental_tutorial.md on line 96 is broken
Link /cloud/rahti/tutorials/elemental_tutorial#routes in file ./docs/cloud/rahti/usage/security-guide.md on line 24 is broken

links 2-4 lead to a 404 page. The sections referenced to don't seem to exist in the files
link 1 just takes you to the top of the page, the section seems to be incorrectly typed.
There are two files which are not referenced to:
./docs/cloud/rahti/agreements/README.md
./docs/cloud/rahti/introduction/service_description.md

Are the they needed in the master branch or could they be left out?

Links check for relative links without .md extension is not working properly, so some of the test report a false positive.

Fix now in #149, should work. I will check this again tomorrow morning.

The work on rahti-user-guide side is here: https://github.com/CSCfi/rahti-user-guide/pull/28

Looks good to me.


Support both podSelector and namespaceSelector in NetworkPolicy

Upcoming Kubernetes release will allow us to select pods in selected namespaces (https://github.com/kubernetes/kubernetes/pull/60452). We should support it in weave-npc.

@brb I gave it a shot to fix this https://github.com/weaveworks/weave/pull/3428
It appears to me that current design to keep per namespace selector collection does not easily fit in to the combination of podSelector and namespaceSelector.
So the association namespace <- network policy <- selectors works nicely when pods are with in the namespace or all the pods in different namespace selected by namespace selector.
I extended a bit selector to be a different namespaces as well. But does not quite work yet. From what i see add/delete/update pods need to check with all the network policies across namespaces.
Before i go down the path can you check #3428 and see if there is any simple way to solve this?

My idea was to get rid of the nsSelectors, to extend podSelectors in a way that it includes a namespace selector, and to share the podSelectors instance among all namespaces.

Hi friends, is this still targeted for 2.5.1 or needs more research on the approach?

@n1koo  IMO it does not look like this can be targeted for 2.5.x I started working on fix (in https://github.com/weaveworks/weave/pull/3428) but it turned out network policies design changes are needed to accommodate the combination of pod selector and namespace selector.So likely targeted for 2.6

@murali-reddy thanks for the super quick update. I'm sure things are still in flux for 2.6 but is there any rough estimate?
This would be hugely beneficial for us and i'm sure most of the other folks as separating apps to their own namespaces is pretty much a defacto setup but you still don't want everything in a namespace to be able to connect to everything in the other namespace :)
I'd be happy to help test it out when the work ramps up.

Sorry, not clear to me, does this mean that I cannot use both podSelector and namespaceSelector same time? I.e. allow from any pod in any namespace (but not "anywhere")

Yes, at the moment podSelector and namespaceSelector can not be used together. I am updating #3428, should be part of 2.6.

allow from any pod in any namespace (but not "anywhere")

its more like selected pods from selected namespaces

PR #3647 is in progress implementing this feature. I have done testing with ingress and egress network policies with pod selectors, namespace selectors and combination of namespace and pod selectors. However more testing would be helpful. If any one wish to help test this functionality please replace weaveworks/weave-npc image with muralireddy/weave-npc:podnsselector in the manifest.


Feature/fix hamburger menu adaptive triggers in fullscreen

This PR will fix #811.
It works here, but please review/test before merging.

Beautiful work. Why are you skeptical of it?


No way to set up several identities

At least one of my friends has deleted the account because the current approach is to link everything to a single identity.
In the perfect world perhaps this would be acceptable, but we live in the world, where people can easily get fired if their work Twitter will get associated with the Reddit that commonly discusses controversial things. Therefore it is a must to be able to create several identities and link specific things only to the specific identities.

On the mobile app it is easy to log out and log in to another account, but it requires password each time.
On desktop, I couldn't find a button in the app, but in the terminal using command keybase logout will log you out and keybase login xxxxxxxx will log you into an existing account xxxxxxxx, but also you can restart keybase after keybase logout and it will give you the screen for creating a new account or logging in with the GUI.

The issue should maybe be renamed to:
"Add logout GUI button for desktop apps"

This would be an acceptable temporary solution. Permanent solution, of course, should involve the ability to run two identities in parallel.

I think something like the Slack app would be good in the end.
The identities would show on the left side of the app (like how multiple slacks appear in the slack app) and just clicking on one will switch out the whole UI for the new user.


need safer access methods to ancdb

No locking done at least we can do this check to not overwrite fresher data.

So looks like no Dropbox v2 api support for file locking:
https://www.dropboxforum.com/t5/Dropbox/any-plans-to-add-file-locking-if-two-users-open-the-same-file/idi-p/157067
I wonder if the old ../file.lockfile method works via the api.  Will need to investigate.
For I've tried to minimize the data race window on ancdb access by refreshing it from upstream always right before  a push/ancdb_push (which now also does a ancdb_set now too).


number of mem ports is 4

Easier than changing every p.numMemPorts to numPYNQMemPorts :)

Looks like this PR was made for your experimental branch, which you keep pushing new commits to. You should open an own branch for the pull request that just contains the commits (2df246b) that relate to the number of memory ports. Closing this instance of the PR until then.

Oops sorry, didn't know it did pushed new commit to the pull request.


Ecowitt appears in HACS only

i used HACS to add ecowitt and a new folder appeared in custom_components. Instructions then say to go to the other integrations and add ecowitt. But I can't. it doesn't appear in the list of integrations to add. What now?

I'm not sure I understand..., Once you have installed Ecowitt via HACS, you need to restart HA and then add the integration in HA via Devices and Services.

Im the same. Installed via HACS and cannot see it as an available addon via Settings > Devices and Services > " + Add Integration"
I have restarted HA via terminal "ha hassio restart"
I have updated to HA 8.1 (i was ancient)
The files exist under: "\IPADDRESS\config\custom_components\ecowitt.."     (SAMBA)

I restarted HA several times and even rebooted the pi, but ecowitt only showed up the next day in integrations. Go figure.

I'm having the same problem. Still not showing up. I'll wait until tomorrow.

Yes, it was a wait until tomorrow that solved the issue
On Sat, 6 Aug 2022, 1:47 pm Santiago Larrain, @.***>
wrote:

I'm having the same problem. Still not showing up. I'll wait until
tomorrow.
—
Reply to this email directly, view it on GitHub
https://github.com/garbled1/homeassistant_ecowitt/issues/121#issuecomment-1207139103,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUC33LMKXOZAI5KNT4GMOKDVXXN6FANCNFSM5X4FPIRA
.
You are receiving this because you commented.Message ID:
@.***>

It did show up on the next day.

As with most addons: you have to enable the devices after creation or wait for a reboot to enable the entities
Kind Regards
ROnald Groeneveld
Sent from my iPhone
+31 650 989 689

Op 9 aug. 2022 om 18:06 heeft Santiago Larrain @.***> het volgende geschreven:

It did show up on the next day.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.


Regression between old sick_scan2 and new sick_scan_xd driver

I am running the LMS511 and when running it with the older sick_scan2 driver and an min/max angle of 95° the points are perfectly straight, whereas when using this new sick_scan_xd driver the points when using a min/max angle of 95° are 5° rotated clockwise. See attached screenshots when using the sick_scan_xd driver. Is this intended behaviour or a regression?
90°

95°

Thanks for reporting. We tested different min/max angle configurations using a LMS511-10100 on ROS-2, but did not find any rotational discrepancies.
With min/max angles -90 to +90 degree, rviz2 shows the following scene with straight lines:

With min/max angles -95 to +95 degree, all points are identical (except the additional points due to increased angles):

With min/max angles -45 to +45 degree, the points are still as expected:

We can't reproduce an additional rotation by modifying min/max angles. Did you use the most recent driver version 2.5.2? Otherwise, please update and re-check the point cloud with rviz2. I'm closing this issue, but please don't hesitate to reopen it in case of continued problems.


[SPARK-48250][PYTHON][CONNECT][TESTS] Enable array inference tests at test_parity_types.py

What changes were proposed in this pull request?
This PR proposes to enable some array inference tests at test_parity_types.py
Why are the changes needed?
For better test coverage for Spark Connect.
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
CI in this PR should verify them.
Was this patch authored or co-authored using generative AI tooling?
No.

nit: we might create subtasks under umbrella https://issues.apache.org/jira/browse/SPARK-47970

Merged to master.

Oops, I saw a CI in differnet PR, and thought the tests passed. Sorry reverting

Hm, actually the tests passed at https://github.com/HyukjinKwon/spark/actions/runs/9058021158

hmmm .. let me rebase and see

Merged to master.