Add BookMacster latest

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

Closes #39913

@gentlecat Please enable "Allow edits from maintainers"

@commitay, done!

Thank you for your contribution.

Sorry... I just realized that dmg that is downloaded in the url I provided is not mounting, at least in my computer. Can be changed for a zip?
http://sheepsystems.com/bookmacster/BookMacster.zip
At least the zip works.
Thanks.

I don't have much experience with this, so not quite sure why this might be happening. Just tested it again and it gets installed fine here (macOS 10.13).
Do you have an error message or something else that could help?

I'm the developer of BookMacster.  I tested some downloaded .dmg files on two Macs and they work fine for me too.  But I believe @luisspuerto.  He sent me a screenshot showing that the Archive Utility app, which does the decompression in macOS, displays a Warning dialog indicating The following disk images couldn't be opened … no mountable file systems.
Searching on the internet for this error, you'll see that it has been reported by Mac users for many years, although rarely.  Apparently there are some edge cases.  Some reported that the problem was caused by /System/Library/Extensions/LexarFilterScheme.kext, but that was many years ago.
I put both the .dmg and .zip on my website because some people prefer .dmg.  But my site also says that the .zip is recommended.  In my experience, .dmg has always been slightly problematic.  I suggest: Just do as @luisspuerto requested and change it to the .zip.  Thank you!

https://github.com/caskroom/homebrew-cask/pull/39953

Thanks a lot for your work to all of you! Now works perfectly. 👍

@gentlecat since you say that you tried on macOS 10.13 and it's working fine, I'm starting to thing that this is a compatibility issue between dmg created in High Sierra with the new file system and previous systems.


Example using the non-default camera ?

I've been using this a while on  OS X and raspberry pi.  If I'm on my iMac, the default webcam is the Isight, but I have a second usb webcam that I want to use.
How to list the available webcams and connect to the USB one.
Thanks
P

you can use Webcam.getWebcams() to get all the webcams and open the ones you want to use. @sarxos please tell me if I am wrong :)

List<Webcam> wb =Webcam.getWebcams();
Gives me list, of the webcams connected, the first one is default, the second one is the one I want to use. How do specify to open the second in the list ?

wb.get(1).open();

Thanks  Sunny !!!  just to sum up ....
List<Webcam> webcam =Webcam.getWebcams();
// List all webcams connected
//System.out.println( webcam );
// Default camera,    webcam.get(0)
// Second camera,    webcam.get(1)

webcam.get(1).setViewSize(WebcamResolution.VGA.getSize());
webcam.get(1).open();

Will list the multiple webcams connected to the com. and open the second one (in this case);

Yes, it's exactly as @sunnyguan stated.
Example:
Webcam second = Webcam.getWebcams().get(1);
second.open();
BufferedImage image = second.getImage();
second.close();


Error 0x80891007 H-Encore 2.0

tried installing a vpk (autoplugin) through vitashell and it gave this error never did that before until i installed H-encore 2.0

Binaries have just been updated, please reinstall.


GetMultiplicity() not working

I am trying to run GetMultiplicity() on the command line, fLaBrHits.GetMultiplicity(), and it says it is an unknwon method. If I run just GetMultiplicity() it seems to work, but I need to impose conditions on what multiplicity that is, so that is not useful to me.
The funny thing is that in a script, fLaBr->GetMultiplicity() does work.
Am I doing something wrong?

Can you copy and paste the actual command that you are using?

Also, what is the goal? Are you trying to see the multiplicity of a single event, or are you trying to draw the multiplicities?

AnalysisTree->Draw("(fLaBrHits.GetTime()-fTACHits.GetTime())>>h(10000,-5000,5000)","fLaBrHits.GetDetector()==1&&fTACHits.GetDetector()==1&&fLaBrHits->GetMultiplicity()==2");
If I delete the GetMultiplicity part, it works just fine.
GRSISort version <IP_ADDRESS> run analysis09681_000.root for whatever is worth it.

Try using a . instead of an -> maybe?

Oh no. It's because GetMultiplicity is a member of TLaBr not TLaBrHit. I'll see if I can figure out a workaround....

I have already tried. Same result:
Error in TTreeFormula::DefinedVariable: Unknown method:GetMultiplicity() in TLaBrHit
This used to work, I have used several times in the past.

instead of fLaBrHits.GetMultiplicity() use @fLaBrHits.size(). That returns the size of the fLaBrHit vector which is essentially the same thing. The @ on the command line tells root to look at the methods of the vector instead of what's in the vector.

I also just learned by playing around with this that you can use @TLaBr.GetMultiplicity(). I'm very happy about this, it opens up a lot of options that I never though we had access to!

Ok, this seems to be working fine.
Thanks a lot!


Ignition not being applied on qemu vm

Description
I created the following ignition config with ct
cat config.yaml | podman run --rm -i ghcr.io/flatcar/ct:latest | jq > config.ign

{
  "ignition": {
    "config": {},
    "security": {
      "tls": {}
    },
    "timeouts": {},
    "version": "2.3.0"
  },
  "networkd": {},
  "passwd": {
    "users": [
      {
        "name": "myuser",
        "passwordHash": "$1$khzAkSQB$HdrGKwZGjIFvsRJuUR3oT0",
        "sshAuthorizedKeys": [
          "key1"
        ]
      }
    ]
  },
  "storage": {
    "files": [
      {
        "filesystem": "root",
        "group": {
          "id": 501
        },
        "path": "/opt/foo",
        "user": {
          "id": 500
        },
        "contents": {
          "source": "data:,Hello%2C%20world!",
          "verification": {}
        },
        "mode": 420
      }
    ]
  },
  "systemd": {}
}

and executed the qemu wrapper:
/flatcar_production_qemu.sh -i config.ign -- -nographic

When the operating system boots i am neither able to find the foo file under /opt/foo or the user "myuser".
I went through the steps mentioned in the documentation
Am i missing something?

Hi @der-ali,
It works when I try it. Could you answer the following questions:
What platform are you trying this on?
Are you re-using the VM image multiple times? Ignition only runs on the first boot of a VM/guest image. So if you are experimenting with ignition, you need to use a fresh VM image each time. Personally, I preserve the compressed version of the guest image when I play with Flatcar: lbunzip2 -kvf flatcar_production_qemu_image.img.bz2 (-k for keep).

Hi @jepio ,
indeed i was re-using the VM image. Thanks for the tip to preserve the compressed image.
I am trying on Fedora 37.
Wish you a nice day man!

Hallo @tormath1,
thanks i tried it out. Works pretty well :)
The getting started section is still using Ignition v2.


Remove Customer reference

After Address model created, remove unnecessary reference to Customer

Issue https://github.com/tipoff/addresses/issues/38


Merge upstream dec 2024

Tests stop failing if we remove the SLF4J exclusions from the pom. However, there are errors in the upstream implementation as well. Fixing them is not a prio as of rn.


Add RFC dir for submission tracking

Type of Change
Documentation for RFC submission
Description
This is a proposed RFC for DeepSpeed/INC integration

please fix the real issue: https://dev.azure.com/lpot-inc/neural-compressor/_build/results?buildId=9443&view=logs&j=357a79e0-91e5-5773-a51d-cc38f512f5bc&t=80e7c75d-a483-5752-e769-cd8e46be9aa2&l=181
And add some special words into the spell dict: https://github.com/intel/neural-compressor/blob/ftian/rfcs/.azure-pipelines/scripts/codeScan/pyspelling/inc_dict.txt


single_import_per_statement messing with my grouped imports

When reporting an issue (bug) please provide the following information:
The PHP version you are using: 7.1.0
PHP CS Fixer version you are using: 2.0.0
I am talking specifically about this rule: single_import_per_statement It messes with my PHP 7 grouped imported statements.
A minimal sample of valid PHP code that is not fixed correctly (if applicable).
use App\Core\Database\Connect;
use App\Core\Database\Query;

The fixed version of that code after you run the fixer and the version you expected.
use App\Core\Database\{Connect, Query};

Is the grouped import statements the correct way now or is the single import per statement better?

how it mess up with your grouped import statements ?
The example code that was not fixed properly is not using group import. Don't get you here, please elaborate.

The fixed version of that code after you run the fixer and the version you expected.

and then, you have provided one code only. is it expected or received code? how the other looks like ?

@naknode "single_import_per_statement" do not combines multiple imports into grouped import.
It splits single 'use' statement with multiple class declarations, examples: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/2.11/tests/Fixer/Import/SingleImportPerStatementFixerTest.php

Sorry about not responding. I have fixed my issue.


peerconnection SetRemoteDescription failed

Description
remote end not support and set first media block inactive, first media block has no fingerprint
SDP as follow:
v=0
o=- 143087887<PHONE_NUMBER> IN IP4 <IP_ADDRESS>
s=VideoRoom<PHONE_NUMBER>41682
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS<PHONE_NUMBER>552712
m=video 0 UDP/TLS/RTP/SAVPF 0
c=IN IP4 <IP_ADDRESS>
a=inactive
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 <IP_ADDRESS>
a=recvonly
a=mid:audio
a=rtcp-mux
a=ice-ufrag:AS/w
a=ice-pwd:9NOgoAOMALYu/LOpA1iqg/
a=ice-options:trickle
a=fingerprint:sha-256 D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38
a=setup:active
a=rtpmap:111 opus/48000/2
a=candidate:1 1 udp<PHONE_NUMBER> <IP_ADDRESS> 46492 typ host
a=candidate:2 1 udp<PHONE_NUMBER> <IP_ADDRESS> 41479 typ host
a=candidate:3 1 udp<PHONE_NUMBER> <IP_ADDRESS> 45043 typ host
a=candidate:4 1 udp<PHONE_NUMBER> <IP_ADDRESS> 45977 typ host
a=candidate:5 1 udp<PHONE_NUMBER> <IP_ADDRESS> 37692 typ host
a=end-of-candidates
m=application 0 DTLS/SCTP 0
c=IN IP4 <IP_ADDRESS>
a=inactive

Reference issue
Fixes #...

Great fix, thank you so much @AlexWoo
If you have time would you mind adding a test to make sure we don't break this in the future :) If not I can write it! I would move this all into a dedicated function getFingerprint or something like that so we can write a nice little unit test for it.
thanks so much for the contribution, and thank you for using Pion :)

Great fix, thank you so much @AlexWoo
If you have time would you mind adding a test to make sure we don't break this in the future :) If not I can write it! I would move this all into a dedicated function getFingerprint or something like that so we can write a nice little unit test for it.
thanks so much for the contribution, and thank you for using Pion :)

Ok, I will add a test

Great fix, thank you so much @AlexWoo
If you have time would you mind adding a test to make sure we don't break this in the future :) If not I can write it! I would move this all into a dedicated function getFingerprint or something like that so we can write a nice little unit test for it.
thanks so much for the contribution, and thank you for using Pion :)

I have added Test Case, and recommit in my own repo

Merged https://github.com/pion/webrtc/commit/3a15b2ccda48f07a76f1dab1aa3f75b34f23fecc
Thank you so much @AlexWoo are you interested in contributing/being involved with Pion?
If yes I would like to add you to the organization and get your feedback on the project (what we can do better, features you would like to see)
thank you


References to process.env are overwritten with an empty string

expressions containing process.env.foo are overwritten as an empty string
I tried this:
const x = process.env.x;

I expected to see this happen:
'use strict';
var x = process.env.x;

Instead, this happened:
'use strict';
var x = '';

I'm using 0.1.9

Fixed with<EMAIL_ADDRESS>Note that swc is renamed to @swc/core and swc-cli is renamed to @swc/cli.


Feature Request

It would be nice if the player also had two buttons for fast forward and back , that will set the current track a few seconds forward or backward

I think that no there are necessity, once the player view already disponibilze that functionality with progress bar.


Adhoc filters not working for distributed tables

Describe the bug
Adhoc filters are not working for distributed clickhouse tables.
Since the version 2.0.0 of the plugin, adhoc filters are implemented through the additional_table_filters settings (introduced in  clickhouse 22.7).
And the situation is as follow:

let's imagine a clickhouse database with 2 tables t1_distributed & t1_local

t1_distributed being a distributed table on top of t1_local
t1_local containing 2 fields f1 & f2

we then define a dashboard with adhoc filters on the f2 field
we add a "log panel" that is doing a SELECT f1 from t1_distributed
then

if an adhoc filter is specified for the field t1_distributed.f2

the following query will be built by the plugin SELECT f1 from t1_distributed settings additional_table_filters = {'t1_distributed': 'f2 = xxx'}
this query will actually not do its job of filtering
i guess it is coming from the fact that additional_table_filters are applied by clickhouse when it reads the table....but distributed tables are not read.....
if i replace in the built query, within the additional_table_filters settings, t1_distributed with t1_local (so a query like `SELECT f1 from t1_distributed settings additional_table_filters = {'t1_local': 'f2 = xxx'}), then it is working as expected

i gave a try to add an adhoc filter on the "local" table (while my "main" query is still on the distributed table) (ie define an adhoc filter on the fied t1_local.f2)

then the built query by the plugin does not include any additional_table_filters settings (i guess there is a check in order to add additional_table_filters only on the table used in the query)

So, i cannot find any workaround here to have my adhoc filters working as expected on distributed tables.
Note than in the previous version of the plugin (where adhoc filters were managed by modiyfing the where clause of the query), it was working as expected.
Versions
Plugin: 2.0.0
Grafana version:  v9.1.1
Query
To Reproduce
cf above
Expected behavior
We should have a "way" to have adhoc filters working on distributed tables.
Would one of those options be acceptable ?

being able to use adhoc filters field from a table (the local table) that is not the one of the "main" query (where a distributed table is used)
being able to define a mapping between distributed table & local tables in a "constant" variable ?
being able to retrieve the mapping between "distributed" & "local" tables directly through clickhouse (through queries to system.tables clickhouse table)

Screenshots
Additional context

Thank you for the update.
From the clickhouse 2022 changelog documentation Introduced settings additional_table_filters. Using this setting, you can specify additional filtering condition for a table which will be applied directly after reading, this applied directly after reading should be the root cause of this "issue" as we are not reading from the distributed table.
I don't know if distributed tables should be supported within this settings.
Actually, i am not sure to fully understand which use case this settings is supposed to tackle (vs just adding the filters within a where clause).
I was also wondering how those additional_table_filters are behaving with regards to performance vs putting the filters within a where clause (especially when you filter on a field that is part of your "primary/order by"  indices or part of skip indices like bloom filter skip indices).
I've just done a test on one of my table where i have a "bloom filter" skip index defined and i can confirm that the performance are much worst when using additional_table_filters vs using a where clause.
I go from 0.5 seconds to 6 seconds !
I have the feeling that for the adhoc filters use case, the approach used in the previous version (ie adding them in the where clause) is a better fit.
At least, it was working extremely well on our side for all our use cases and we were very happy with it :-).
Do you think that the choice of going with a where clause approach can be reconsidered ?

@gingerwizard thank you for the update.
I understand your point about the query parsing and your will to delegate this work to clickhouse.
I’ll follow up on the clickhouse ticket.
On my side, I am still not clear about this additional_table_filters settings (why was it introduced by the clickhouse team? and for which use cases?).
And actually there may 2 topics not necessarily related on this topic:

to have it working on distributed tables
to have it as efficient as a where clause when you filter on indices (either the primary ones or skip indices ones)

It was introduced to avoid parsing of the ClickHouse dialect on the client side - the dialect is not ANSII SQL and injecting clauses into WHERE becomes more complex once you consider JOINS and subqueries. We had numerous issues and maintaining a full AST parser for SQL is non-trivial - especially when it's not ANSII SQL. We thus push the work down to the place this can be done best - in ClickHouse.  The use case is mainly UIs that need to add filters - so any BI or eqv. tool.
Agreed above two need to work.

This has been fixed in ClickHouse itself - https://github.com/ClickHouse/ClickHouse/pull/42322
This fix will be backported to 22.7/22.8/22.9 and will also be in 22.10.
We've also confirmed that secondary indexes should now work.
@jmassiot reopen if you encounter issues on the next CH version or a backported release.
@bossinc close please.


How to test it out-of-the-box ?

Hi I want to test the library without having to train it.. How can I do that?
--test  in the following command throws an error.
Command:
python launch.py --config configs/gaussiandreamer-sd.yaml --test --gpu 0 system.prompt_processor.prompt="a fox"
Error:
 Tracebacks
 .....
 .....
 File "/content/GaussianDreamer/threestudio/systems/GaussianDreamer.py", line 240, in forward
   render_pkg = render(viewpoint_cam, self.gaussian, self.pipe, renderbackground)
 File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1614, in __getattr__
   raise AttributeError("'{}' object has no attribute '{}'".format(
 AttributeError: 'GaussianDreamer' object has no attribute 'pipe'

Any updates？


feat: add mobilize dbt tests

@emily-flambe what do we do if we run tests and dev and find dupes 🙃 ?? Should i run in prod and see if its a problem there?
Anyway, here are the dbt tests for mobilize! this is my first time doing this so let me know if I'm missing anything or if i did something wrong!

I found nothing to flag. Looks good, my one suggestion would be to add primary key tests to the base tables that are not an AB ID. Redundant? Maybe. But it could also reveal a dupe where the AB ID is different but the table primary key is duplicated.

Thats a good point! I agree that if we can find a primary key that isnt AB generated, we should! def have ran into the case where AB ID was unique but the row itself wasnt 🙃. I'll look through and add PK tests where they seem appropriate!

@emily-flambe @kanelouise added those uniqueness and not null tests to id fields! I ran the tests for a few of the sv_mobilize_org datasets in prod and they all passed 🎉  so those id's are indeed PKs

@emily-flambe @kanelouise added those uniqueness and not null tests to id fields! I ran the tests for a few of the sv_mobilize_org datasets in prod and they all passed 🎉 so those id's are indeed PKs

hell yea 🙌 ship it!

@emily-flambe @kanelouise added those uniqueness and not null tests to id fields! I ran the tests for a few of the sv_mobilize_org datasets in prod and they all passed 🎉 so those id's are indeed PKs

hell yea 🙌 ship it!

:catjam: @emily-flambe could you re-review?


how to generate code coverage against the source files instead of the bundle file

Hi,
Could someone please advise if code coverage can be generated for reactjs source code instead of the bundle generated by babel.
I was wondering if source maps can be used to generate code coverage
thanks

@emelens were you able to find any solution for this by any chance?

Bump this issue

@emelens This could maybe solve the issue https://github.com/istanbuljs/puppeteer-to-istanbul/pull/64. Or this https://github.com/istanbuljs/puppeteer-to-istanbul/pull/61.

This is much needed can anyone please share your thoughts here ? @bcoe
@dword-design When do you plan to merge your above changes which can enable source map support here ?

@278kunal Not sure yet. The solution in the PR works for me but don't know if it works for others. What do you or others say?

@dword-design I cloned your fork and tried getting coverage via Puppeteer of a locally running React application bundled via webpack. But unfortunately I am only seeing coverage for the webpack transpiled code. Is there a way we can tell PTI to look for source maps when passing to v8-to-istanbul ?

@278kunal Ah yeah I guess it's because the PR only extracts source maps from webpack bundled code. I extract them from the base64. Where else could PTI find source maps?

Two suggestions here if you're using webpack:

If you set devtool: 'eval-source-map' (or anything with "eval" in it) in your webpack.config.js, then you'll also get coverage data for something close to your original source files out of puppeteer.
Instead of collecting coverage via puppeteer's page.coverage.startJSCoverage(), you can instrument your code using coverage-istanbul-loader, run it with puppeteer and then extract the coverage data (already in Istanbul format) using const coverage = await page.evaluate('window.__coverage__');

If the second option is a possibility, it works very nicely!

@danvk Sorry if this is more of an Istanbul related question, I'm just starting to use it.
For the second option, after getting the coverage (from window.__coverage__) should I just dump it into a JSON file, put it into the .nyc_output folder and run nyc report --reporter=html to get Istanbul's report?

Could you please share some insights on how you've generated the istanbul report from the coverage once retrieved from within the page?
Also, it seems like this solution would not allow to collect coverage data across multiple page reloads (like with page.coverage.startJSCoverage({ resetOnNavigation: false })) ?

@a4vg yes, put that object in a JSON file in .nyc_output. @rschoenbichler I wound up with a separate JSON coverage file for each test case, which I then merged with nyc merge. I'm not sure whether this would still work if your tests involve navigation.


add copy() support

Could the HTTP verb "copy" be supported?
(Rackspace Cloud files API is using it)

request{{method:'COPY'})

Could request.copy() be added to consistency?


npm run dev error

[electron] [19828:0701/095144.084:ERROR:CONSOLE(1)] "Uncaught (in promise) TypeError: Failed to fetch", source: devtools://devtools/bundled/panels/elements/elements.js (1)

Resolved

What's the resolution?


ft.dfs with cutoff dataframe with different order of columns fails

I was creating features for this entity set:

with the following cutoff parameter:

and this command:
feature_matrix_2018, feature_defs = ft.dfs(entityset=es,
                                           target_entity='users',
                                           cutoff_time=ct,
                                           cutoff_time_in_index=False)

I was getting this error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~/miniconda3/lib/python3.7/site-packages/pandas/core/arrays/categorical.py in __init__(self, values, categories, ordered, dtype, fastpath)
    357             try:
--> 358                 codes, categories = factorize(values, sort=True)
    359             except TypeError:

~/miniconda3/lib/python3.7/site-packages/pandas/util/_decorators.py in wrapper(*args, **kwargs)
    187                     kwargs[new_arg_name] = new_arg_value
--> 188             return func(*args, **kwargs)
    189         return wrapper

~/miniconda3/lib/python3.7/site-packages/pandas/core/algorithms.py in factorize(values, sort, order, na_sentinel, size_hint)
    612                                            size_hint=size_hint,
--> 613                                            na_value=na_value)
    614

~/miniconda3/lib/python3.7/site-packages/pandas/core/algorithms.py in _factorize_array(values, na_sentinel, size_hint, na_value)
    459     uniques, labels = table.factorize(values, na_sentinel=na_sentinel,
--> 460                                       na_value=na_value)
    461

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.factorize()

ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

During handling of the above exception, another exception occurred:

NotImplementedError                       Traceback (most recent call last)
<ipython-input-67-36cde9f8fcf4> in <module>
      2                                            target_entity='users',
      3                                            cutoff_time=ct,
----> 4                                            cutoff_time_in_index=False)

~/miniconda3/lib/python3.7/site-packages/featuretools/synthesis/dfs.py in dfs(entities, relationships, entityset, target_entity, cutoff_time, instance_ids, agg_primitives, trans_primitives, groupby_trans_primitives, allowed_paths, max_depth, ignore_entities, ignore_variables, seed_features, drop_contains, drop_exact, where_primitives, max_features, cutoff_time_in_index, save_progress, features_only, training_window, approximate, chunk_size, n_jobs, dask_kwargs, verbose, return_variable_types)
    220                                                   n_jobs=n_jobs,
    221                                                   dask_kwargs=dask_kwargs,
--> 222                                                   verbose=verbose)
    223     else:
    224         feature_matrix = calculate_feature_matrix(features,

~/miniconda3/lib/python3.7/site-packages/featuretools/computational_backends/calculate_feature_matrix.py in calculate_feature_matrix(features, entityset, cutoff_time, instance_ids, entities, relationships, cutoff_time_in_index, training_window, approximate, save_progress, verbose, chunk_size, n_jobs, dask_kwargs, profile)
    265                                                  cutoff_df_time_var=cutoff_df_time_var,
    266                                                  target_time=target_time,
--> 267                                                  pass_columns=pass_columns)
    268
    269     feature_matrix = pd.concat(feature_matrix)

~/miniconda3/lib/python3.7/site-packages/featuretools/computational_backends/calculate_feature_matrix.py in linear_calculate_chunks(chunks, features, approximate, training_window, profile, verbose, save_progress, entityset, no_unapproximated_aggs, cutoff_df_time_var, target_time, pass_columns)
    528                                           cutoff_df_time_var,
    529                                           target_time, pass_columns,
--> 530                                           backend=backend)
    531         feature_matrix.append(_feature_matrix)
    532         # Do a manual garbage collection in case objects from calculate_chunk

~/miniconda3/lib/python3.7/site-packages/featuretools/computational_backends/calculate_feature_matrix.py in calculate_chunk(chunk, features, approximate, training_window, profile, verbose, save_progress, no_unapproximated_aggs, cutoff_df_time_var, target_time, pass_columns, backend, entityset)
    374                                                  cutoff_df_time_var: 'time'},
    375                                         inplace=True)
--> 376                     pass_through.set_index([id_name, 'time'], inplace=True)
    377                     for col in pass_columns:
    378                         _feature_matrix[col] = pass_through[col]

~/miniconda3/lib/python3.7/site-packages/pandas/core/frame.py in set_index(self, keys, drop, append, inplace, verify_integrity)
   4182             arrays.append(level)
   4183
-> 4184         index = ensure_index_from_sequences(arrays, names)
   4185
   4186         if verify_integrity and not index.is_unique:

~/miniconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py in ensure_index_from_sequences(sequences, names)
   5313         return Index(sequences[0], name=names)
   5314     else:
-> 5315         return MultiIndex.from_arrays(sequences, names=names)
   5316
   5317

~/miniconda3/lib/python3.7/site-packages/pandas/core/indexes/multi.py in from_arrays(cls, arrays, sortorder, names)
    338         from pandas.core.arrays.categorical import _factorize_from_iterables
    339
--> 340         codes, levels = _factorize_from_iterables(arrays)
    341         if names is None:
    342             names = [getattr(arr, "name", None) for arr in arrays]

~/miniconda3/lib/python3.7/site-packages/pandas/core/arrays/categorical.py in _factorize_from_iterables(iterables)
   2706         # For consistency, it should return a list of 2 lists.
   2707         return [[], []]
-> 2708     return map(list, lzip(*[_factorize_from_iterable(it) for it in iterables]))

~/miniconda3/lib/python3.7/site-packages/pandas/core/arrays/categorical.py in <listcomp>(.0)
   2706         # For consistency, it should return a list of 2 lists.
   2707         return [[], []]
-> 2708     return map(list, lzip(*[_factorize_from_iterable(it) for it in iterables]))

~/miniconda3/lib/python3.7/site-packages/pandas/core/arrays/categorical.py in _factorize_from_iterable(values)
   2678         # but only the resulting categories, the order of which is independent
   2679         # from ordered. Set ordered to False as default. See GH #15457
-> 2680         cat = Categorical(values, ordered=False)
   2681         categories = cat.categories
   2682         codes = cat.codes

~/miniconda3/lib/python3.7/site-packages/pandas/core/arrays/categorical.py in __init__(self, values, categories, ordered, dtype, fastpath)
    368
    369                 # FIXME
--> 370                 raise NotImplementedError("> 1 ndim Categorical are not "
    371                                           "supported at this time")
    372

NotImplementedError: > 1 ndim Categorical are not supported at this time

Because the cutoff_time dataframe's columns was in an order that was not expected. Once I did the following the problem was solved:
`ct = ct[["user_id", "time", "label"]]
I think this is not the intended behaviour as the cutoff_time parameter should not be that sensitive to the order of columns.

@sebrahimi1988 that suggestion makes sense. would you open to trying to put up a PR for it?

@kmax12 Sure, I'll have a look at the code!

@kmax12 Could you add me as a contributor to the repo so I can open a PR?

@sebrahimi1988 you should have to be added as contributor to open a PR. if you fork the repo, you will be able to submit a PR.

Closed by #969


_mysql import error

Thanks for the repo!
When importing MySQLdb there is a problem occurring
`Response
{
"errorMessage": "name '_mysql' is not defined",
"errorType": "NameError",
"requestId": "",
"stackTrace": [
"  File "/var/lang/lib/python3.9/importlib/init.py", line 127, in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n",
"  File "", line 1030, in _gcd_import\n",
"  File "", line 1007, in _find_and_load\n",
"  File "", line 986, in _find_and_load_unlocked\n",
"  File "", line 680, in _load_unlocked\n",
"  File "", line 850, in exec_module\n",
"  File "", line 228, in _call_with_frames_removed\n",
"  File "/var/task/lambda_function.py", line 3, in \n    import MySQLdb\n",
"  File "/opt/python/MySQLdb/init.py", line 24, in \n    version_info, _mysql.version_info, _mysql.file\n"
]
}
Function Logs
[ERROR] NameError: name '_mysql' is not defined
Traceback (most recent call last):
  File "/var/lang/lib/python3.9/importlib/init.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1030, in _gcd_import
  File "", line 1007, in _find_and_load
  File "", line 986, in _find_and_load_unlocked
  File "", line 680, in _load_unlocked
  File "", line 850, in exec_module
  File "", line 228, in _call_with_frames_removed
  File "/var/task/lambda_function.py", line 3, in
    import MySQLdb
  File "/opt/python/MySQLdb/init.py", line 24, in
    version_info, _mysql.version_info, _mysql.file[ERROR] NameError: name '_mysql' is not defined
Traceback (most recent call last):
  File "/var/lang/lib/python3.9/importlib/init.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1030, in _gcd_import
  File "", line 1007, in _find_and_load
  File "", line 986, in _find_and_load_unlocked
  File "", line 680, in _load_unlocked
  File "", line 850, in exec_module
  File "", line 228, in _call_with_frames_removed
  File "/var/task/lambda_function.py", line 3, in
    import MySQLdb
  File "/opt/python/MySQLdb/init.py", line 24, in
    version_info, _mysql.version_info, _mysql.__file__START RequestId: a0059910-5ae6-46f8-b920-bc1545b1bef4 Version: $LATEST
Unknown application error occurred`

I'm guessing the layer was not added correctly to the Lambda function. Or the layer  was not correctly created with the right .so file.
There could be various reasons.

Hello, thanks for reply.
I added layer as a zip file following your instruction. Then I added layer. Arm, python 3.9.

Ah - it me be ARM then. Because I have never tested this on ARM.

Just tested. Works on x84 but not on arm. Thanks.

Thank you for trying it out and updating back here 👍


Desyncs decoding certain videos leads to incorrect scores

This only occurs in video mode and only on certain videos. The ffmpeg API is not decoding frames correctly, or in the correct order, or is skipping frames, or something.
This does not affect image mode. It is specific to the ffmpeg video decoder.

Fixed by b261a918139cd21d7e6d20fdfcdcea5bbf72dc27


Idea: Different RPM limit per shaft tier

Basically, tiered shafts and kinetic components from Greate have a maximum speed at which they can rotate at. This is currently 256 RPM for all shafts, but should vary with the shaft tier. Low-tier shafts should have a lower RPM limit than the base limit from Create, while high-tier shafts (after the equivalent of EV) should have a higher RPM limit if possible to take advantage of the strength of the higher-tier materials used. If the RPM limit is exceeded, the tiered shaft or kinetic machine breaks.
Example values:

Tier[^1]
Shaft
RPM limit

ULS
Andesite shaft
32 RPM

LS
Sheel shaft
64 RPM

MS
Aluminum shaft
96 RPM[^2]

HS
Stainless steel shaft
128 RPM

ES
Titanium shaft
192 RPM

IS
Tungstensteel shaft
256 RPM

LuS
Palladium shaft
384 RPM

ZPM
Naquadah shaft
512 RPM

US
Darmstadtium shaft
768 RPM

UHS
Neutronium shaft
1024 RPM

[^1]: The tier names are ULV, LV, MV etc, just with "V" replaced with "S" to indicate tiers of mechanical instead of electrical power.
[^2]: One way to access these non-power-of-2 speeds is via the Rotation Speed Controller. Speeds above 256 RPM additionally require the use of large and small cogwheels.

This was discussed by us sometime ago and for now we decided to leave it capped at 256. We will discuss it further down the line I'm sure when we get to the point of balancing create at higher tiers.
Off-topic but we are actually officially calling Greate's tiers like you listed. They are made to match GT voltage tiers with naming and with their stress capacity (tho this one might change due to balancing)
One thing that (for now) makes it kinda difficut to use as you suggested is that machines will also have tiers and their stress impact increases w/rpm & tier. x4/tier if I remember correctly. This makes it so running anything at max RPM could resulat in a very big stress impact which can further overstress a network with 1, 2 or 3 machines. We are working on balancing it to the point where you can run big processing lines at max speed.

Thanks for your opinion:)

Will the maximum stress capacity a given shaft can support be in terms of "N times the rotation speed in RPM of the shaft," a flat "M stress units (SU)," or both, assuming M > N?

For now the max SU capacity coresponds to GT amperage in the according tier. We are planning on rebalancing that as of now, not sure if we decrease the machine's SU impact or we increase shaft's capacity yet.

Currently we'll leave SU as the only new limit (RPM already has a default limit of 256 in regular Create). It will be balanced so that RPM can be used to overclock machines at every tier (for example, with 128SU at LS, you can run a ULS machine at 4x the RPM that you could with ULS power). This makes it similar to GregTech overclocking, and doesn't change the default RPM system so that it isn't as difficult for Create players to figure out.
I'll leave this issue open for more discussion. We need to playtest our current system before making any major changes like this. Thanks for your input :)


Create MJPEG Server using scrcpy

Is there any  way to create   MJPEG Server using scrcpy

Hi, I am using Go language to implement a similar requirement to yours. Based on the learning progress so far, I can provide my answer: it's not possible.
The server side of scrcpy uses the native encoders provided by google, and on the vast majority of phones they are OMX.google.h264.encoder. This means that it can only provide video data encoded in h264.
However, my idea was to re-implement the scrcpy client using the Go language. Use the libav library to decode h264 and transcode it to MJPEG in order to serve MJPEG streams.
If you're interested in developing it yourself, I'd be happy to share all the details except transcoding (since I haven't implemented transcoding yet), as long as this doesn't violate the scrcpy maintainer's comments.

Hi @Tryanks , I am also interested in the topic. I want to decode h264 and transcode it to JPEG in the Golang client side. But I am very new to media/video programming. Would you mind sharing some ideas or tutorials? I didn't find much useful information online and got stuck right now. Thank you so much.

@Tryanks thanks for the response. Btw how did you force the encoder to encode every frame as an IDR frame. I tried to set the iframe interval to 1 sec but it didn't work. https://github.com/Genymobile/scrcpy/blob/master/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java#L24

@Tryanks thanks for the response. Btw how did you force the encoder to encode every frame as an IDR frame. I tried to set the iframe interval to 1 sec but it didn't work. https://github.com/Genymobile/scrcpy/blob/master/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java#L24

I also tried many values, however none of them worked except for 0. The server still behaves as if it only has the initial I-frame, followed by all P-frames, and cannot wait for a new I-frame.
Among other ISSUEs, I saw that @rom1v said that normally, I-frames should appear about once every ten seconds. But what I have observed is that I-frames never appear.

@Tryanks thanks for the response. Btw how did you force the encoder to encode every frame as an IDR frame. I tried to set the iframe interval to 1 sec but it didn't work. https://github.com/Genymobile/scrcpy/blob/master/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java#L24

I also tried many values, however none of them worked except for 0. The server still behaves as if it only has the initial I-frame, followed by all P-frames, and cannot wait for a new I-frame.
Among other ISSUEs, I saw that @rom1v said that normally, I-frames should appear about once every ten seconds. But what I have observed is that I-frames never appear.


"Speeding up" the search for objects on the screen.

Hello!
Please tell me if it is possible to speed up the process of "searching for an object" (for example, buttons) by dividing the screen into areas. For example, I know approximately where the object I need may be located - the "Start button" in Windows (classically, the lower-left corner). I can only look at the bottom left of the screen (a quarter of the screen) or split the screen into more search areas. It is logical to assume that the search area and time can be reduced by localizing the area.
Is it possible to implement this idea?

what about using coordinates?

what about using coordinates?

What if we know the approximate location, but not the exact location of the object? I propose to make a binding to a specific area of the screen, without using physical coordinates.
The example with the Start button (Windows) was a bit incorrect. Let's take another example - a small dialog box that is located in the center of the screen, which has the "Ok" and "Cancel" buttons. If we split the screen into 9 areas (3 x 3), and when searching for an object, use only the area [2, 2] to search for an object (for example, the "Cancel" button). This can significantly speed up the entire operation.

Hi @debugger1979 that is a great idea, but not doable using the package. You can consider using vision() function to make direct custom SikuliX commands. I'm not sure even if using that is doable. You can check the whole SikuliX API here https://sikulix-2014.readthedocs.io
What @juanyacovino77 might be the fastest way if the position is always the same. Also, you can run with r.init(turbo_mode = True) to save some time for the mouse cursor to move to the target position before clicking. It will directly teleport to that position.

Closing issue for now but will look out for your reply


Add covered=* to man_made=storage_tank

Hi there.
I would like to suggest adding the option to state that a storage_tank is covered or not.
When mapping, for example:
man_made=storage_tank
content=water
it's always useful to know if it's covered or not.
Regards.

Hey. Usage of covered on storage tanks seems to be relatively low (2.5% currently). I'm also wondering… isn't a not-covered tanks basically just a reservoir? Or does covered=yes on a storage tank mean that there is an additional roof over of the top of the tank? :thinking:

Hi, @tyrasd.
I never had thought about this as in "covered by something else", like a roof or similar. For me, it doesn't matter if an element has a detachable cover or not. If it's covered, it's covered. If someone wants to go into more detail to specify the kind of covering, that's also possible.
A storage_tank can be open or closed, which is very important for various reasons (ex: firefighters). Since the most obvious tag to differentiate that is covered=yes/no, I always assumed this to be the correct one.
You can even check the approved proposal:
https://wiki.openstreetmap.org/w/index.php?oldid=394118
which states

This tag potentially deprecates the following tags: man_made=reservoir_covered by man_made=reservoir + covered=yes

The fact that is not used many times, it's probably due to poorly written/defined wiki and lack of iD and JOSM support.
Regards.

I found that there was an older issue on the iD repo about the same, which I transferred to this repo now: #344.  Since that one has a bit more discussion, let's continue there.


issue with this challenge in beta.freecodecamp

**Will not pass, even though you ifll in the content.  Also, the instructions don't seem to be displayed
Challenge introduction-to-html5-elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 OPR/42.0.2393.137.
Please describe how to reproduce this issue, and include links to screenshots if possible.

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

@stephenkit Thank you for reporting this issue! 👍
It looks like you're having the same issue as #12656, so I'm closing this issue as a duplicate.
Happy coding!


up node-gd to 1.3.1, add travis node v5, v6

@sheershoff FYI: builds fine in Travis: https://travis-ci.org/furagu/easy-gd
I've updated my pull request which I already had open to furagu's code base and requested publishing.


About the model used

Could you provide details about the model used

It is using resnet models, it is using many models such as TfLite, SSD etc, you can use the drop down to select the model; all the information is documented in the Readme, please read it.


Use of deprecated hass.components.persistent_notification function generates warnings in log

Version of the custom_component

0.9.4
Configuration

HA Core: 2024.5.5

Describe the bug
When I restart Home Assistant, the Midea integration will discover my dehumidifier and generate a persistent notification. In my logs, I am now getting a deprecation warning regarding the method that the component uses to generate the notification. Apparently the component needs to be updated to use the new function for generating this type of notification.
Debug log

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:190
First occurred: 6:14:14 PM (1 occurrences)
Last logged: 6:14:14 PM

Detected that custom integration 'midea_dehumidifier_lan' accesses hass.components.persistent_notification. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from persistent_notification directly at custom_components/midea_dehumidifier_lan/appliance_discovery.py, line 204: self.hass.components.persistent_notification.async_create(, please create a bug report at https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/issues

bump


Make README start command work

When trying to get the rust-bitcoin-indexer running I ran into some issues with getting it to build. These 2 changes allow the indexer to build.
note I am still getting a
    Finished release [optimized] target(s) in 0.19s
Error: path not found
./target/release/bitcoin-indexer --rpc-url http://localhost:8332 --rpc-user    0.00s user 0.00s system 72% cpu 0.004 total

error when it successfully runs, so that is an error for another day!

Thanks. I've pushed the needed part. You need more recent stable I belive.


"Not enough funds to cover this transaction" when running jobs in parallel

When running jobs in parallel I get:
"Not enough funds to cover this transaction."
It is a race condition, because I do not get the error when running the exact same jobs in serial.
Looking at the Block Explorer I think the problem is that I am paying from a single input.
So when the second (parallel) transaction is run, the first has only completed charging my account, but not yet returned the remaining to my account.
If this is the root cause, a workaround would be to make sure an account is divided into smaller "coins" that can be used in parallel.

That's most likely correct, and it's not something we'd normally recommend doing in parallel without some batching at least. You'll want to check out the account fund api examples here: https://lbry.tech/api/sdk to split up a single utxo into multiple.
You may also get better results by setting the coin_chooser: prefer_confirmed in daemon_settings.yml

But is this not a sign that the LBRY protocol is flawed, if you cannot make multiple transactions in parallel?
In my case I wasn't even trying. So it looks to me that the protocol has not been stress tested.

LBRY blockchain is a fork of bitcoin; therefore, whatever scaling issues it has, we have.
As to your proposed solution, that is exactly what we do, split large TXOs into lots of little TXOs and then this will let you parallelize with each parallel process having a pool of TXOs to spend without stepping on (spending from) each other.
You can use use account_fund to move TXOs (within the same account). Provide the total amount you want to have split up, then the number of txos you want (internally it will take your total amount and divide it by the TXOs you requested and each TXO will be that much).
https://lbry.tech/api/sdk#account_fund


Fixed minitwit.go so minitwit_sim_api_test.py tests pass

Added pycache and .pytest_cache to .gitignore
Updated follower entity to not include primary keys; this was creating issues when trying to delete a row
fixed minitwit.go so sim_api tests run succesfully
Updated README.md, added information on running tests, running the application without docker-compose

Seems like the gorm import statement is now unused in minitwit.go.
Other than that, lgtm! :)


Non-AR Scene in Fragment

Environment
(Windows 10, Android Studio 3.4.1 compiling SDK 28, ViroCore 1_14.
Testing on Samsung S8+)
Description
I can set up an ARScene (in a ViroViewARCore) in a fragment of an Android activity, and it works fine.
However, setting up a 3D Scene (in a ViroViewScene) in the same fragment is causing me a lot of difficulty.
I'm trying to set up 3 cameras (front, top, side) to swap points of view and I can't test that in AR. The fragment doesn't appear to load correctly with the Scene (just a white screen no matter which camera I try to use).
I've also attached a debug screen shot that confused me. Why is PortalScene() called by Scene()??? Is this pertinent?
Reproducible Demo
See code and screenshots below:
code.txt

FYI after working with helloworld sample my guess is that a non-AR scene does not display background if it is set in a view before the scene is populated (i.e., no dimensions?).  Can't find any further info but closing this issue as I got it to work.

I'm still struggling with how a non-AR scene determines its own dimensions.
Is its size based on the parent view size? On its own root node bounding box?*
Does the scene resize itself based on what's put in it?
How can I manually get/set the dimensions?
*In Android Studio, the bounding box size of scene root node at any time returns 0,0,0, which makes drawing scene boundary polylines difficult.

A non-AR 3d ViroViewScene actually inherits from Android's FrameLayout View. As such, like any other Android view, its dimensions up updated in Android's layout pass. Any changes to this view size should be reflected in the rendered viewport (or "window"). What issues are you seeing?

Hi Daniel--
Thanks for checking into this. I'm still not sure if or how the 3D non-AR Scene dimensions relate to the size of the 2D View (ViroViewScene) that contains it*.
What I'm trying to do is create a rather complex non-AR PortalScene that contains animated 3D objects. My problem is that it's difficult for me to find the scale and boundaries of the Scene in order to scale and position the objects relative to their context/background.
My questions:
Does a Scene have any default geometry other than an origin point? The
"set background cube with color" seems to suggest it exists, but the function immediately dives into native code with no returning geometry, so it's impossible to be sure.
Should I give up on working with a Scene as a visual entity, and just add a giant hollow 3D object to its root node and use that as the visual "scene"?
Best,
--Marc
PS ViroCore is excellent and so far I am able to do everything that my iOS app counterparts have done with ARKit.
*I did notice that ARScene's Hit Tests go between 2D and 3D, but the 3D measurement seems to use native code, estimated realtime camera position, etc.

Perhaps there is a mis-understanding here. The scene's background is rendered without any perspective calculations and thus doesn't have any "measurable" dimensions - it is as if the 360 background or background cube is rendered at an "infinite" distance away.

To find the scale and boundaries of the Scene in order to scale and position the objects relative to their context/background.

I'm not sure if the above makes sense - when you say "context/background", do you actually mean viewport sizes (The rendered windowed view)? Such that if the ViroViewScene size changes, the viewport size then changes, and you will then scale and position the objects relative to this viewport size to keep them in view?
If so, you wouldn't want to examine the size of the 3D scene whenever the ViroViewScene dimensions changes, as they are independent of each other (a 1 m box will remain 1m irregardless of ViroViewScene dimension changes). Instead you would want to examine the size difference of the ViroViewScene view's dimensions itself.
Also, instead of scaling the whole world and everything within it, i think you would actually need to adjust the camera instead either the FOV parameters (so that the camera can "see" more/less), or the position of the camera (pulling it back reveals more of the scene).
Doing either of the above should "reveal" more / less of the objects in the scene within the viewport. This is much simpler instead of modifying the scale / positions of every object in the world.
Hope that helps!

Thanks, Daniel-- that does answer my question. If I want the animated objects to visually interact with the "scene" / environment, that "scene" should really be a 3DObject loaded into the ViroCore Scene. The viewport and cameras will take care of the rest, as you mentioned.


$ionicPopup it's not accessible

When showing an $ionicPopup it won't be announced by screenreaders.

Greetings @Kurtz1993!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @Kurtz1993!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


⚠ Bofrost.be has degraded performance

In c2159d1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1691 ms

Resolved: Bofrost.be performance has improved in 5fa1870.


avoid secrets for the console

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/450/
Test PASSed.


extract_locations

Seeing couple issues with extract_locations()

lazy_secrets() can be applied to extract_locations() so the user doesn't have to write their credentials if they have them stores. This will also allow you to move the ordering of the parameter so level can come second and doesn't have to be explicitly referenced
The function doesn't return the orgunituid so there is no way to map these to the MER data.

library(gagglr)
#> ── Attaching core OHA packages ───────────────────────────────── gagglr 0.2.1 ──
#> ✔ gophr 3.2.1
#> ✔ glamr 1.3.2
#> ✔ glitr 0.2.5
#> ✔ gisr  0.2.3
df_coords <- extract_locations("Tanzania",
                               datim_user(),
                               datim_pwd(),
                               level = 7)
names(df_coords)
#>  [1] "operatingunit_iso" "operatingunit"     "country_iso"
#>  [4] "countryname"       "label"             "level"
#>  [7] "geom_type"         "gid"               "nodes"
#> [10] "nested"            "coordinates"

Created on 2024-02-08 with reprex v2.0.2

The package is being updated. Try develop branch.

This is being re-routed to grabr:
# get country uid
uid <- grabr::get_ouuid(cntry)

# pass request to grabr
grabr::datim_pull_hierarchy(ou_uid = uid, add_geom = T)


splitter() that doesn't eat sentinels

turkeyman reported this on 2016-07-18T09:03:34Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=16288
CC List

aronrobert293
greeenify
jack (@JackStouffer)

Description
I want a version of splitter that doesn't eat the sentinels.
I want to split AT the sentinels, but the sentinel should be the first
element of the bucket.

eg: assert(equal(splitter("hello  world", ' '), [ "hello", " ", " world" ]));

Note the weird behaviour since there are 2 spaces. More useful when
the data is not strings.

turkeyman commented on 2016-07-19T00:40:24Z
That's fine.
Does that already exist? I couldn't see anything on dlang.org.

Obviously the Pred function should remain as the first template arg, it can be second...

greeenify commented on 2016-12-30T21:18:06Z
pull: https://github.com/dlang/phobos/pull/5008

greeenify commented on 2016-12-31T08:14:41Z
> Doesn't implement desired behaviour.

Fair enough - I tried to make it similar to `splitter` in `std.regex`, but it seems that even this didn't work out:

"a..b.c".splitter!(Yes.keepSeparators)(regex("[.]")).writeln

> ["a", ".", "", ".", "b", ".", "c"]

"a..b.c".splitter!(Yes.keepSeparators)('.').writeln;

> ["a", ".", ".", "b", ".", "c"]

From the example you posted, you want it to yield sth. like this, right?

> ["a", ".", ".b", ".c"]

And there's another common use case - though that one is simply splitter.filter!`a.empty`:

> ["a", "b", "c"]

However, at least the existing behavior for No.keepSeparators is the same:

"a..b.c".splitter!(No.keepSeparators)(regex("[.]")).writeln

> ["a", "", "b", "c"]

"a..b.c".splitter!(No.keepSeparators)('.').writeln;

> ["a", "", "b", "c"]

turkeyman commented on 2016-12-31T02:20:55Z
(In reply to greenify from comment #5)
> pull: https://github.com/dlang/phobos/pull/5008

Doesn't implement desired behaviour.

turkeyman commented on 2016-07-21T09:35:55Z
Wait up. I misread... you say std.regex.splitter.
No, that's not what I'm asking for. I'm interested in std.algorithm.iterator.splitter. It should be in those.

turkeyman commented on 2020-07-18T11:40:21Z
They are all interesting cases. I think splitter should be configurable like this.


Add content type to state operations

In what area(s)?
/area runtime
Describe the feature
We should add content type to state operations to allow callers to specify the representation of the data they are providing. There are some state stores where it's valuable to provide guarantees about the data representation. Since the state store does not know what kind of content its getting in the common case (gRPC) it has to make the most general assumption about how to store it.
For example in a database like CosmosDB it would be useful to be specify that the data is JSON so that it can be stored without additional encoding for querying. We changed this to base64 encode late in 1.0 and I heard about it from a number of users in discord.
Issues:

https://github.com/dapr/components-contrib/issues/665
https://github.com/dapr/dotnet-sdk/issues/614

Currently we don't provide any information about the type of content to a state store component. It's not possible for a user to influence this other than through their choice of protocol.
The state store gets a value of type interface{} which depends on the protocol used:

HTTP: a Go value (an int, string, or map[string]interface{} that was unmarshalled from JSON
gRPC: a []byte value

Note: in the case of HTTP the caller MUST provide JSON as part of the request.

How this would work in practice:

.proto messages get a content type field added for each state item
state component interfaces get a content type field added as well - this will be application/json in the case of an HTTP request, or whatever the caller provided for gRPC
SDKs that perform serialization will provide a content type
the state component implementations can now choose the best way to represent data based on the content type
state component implementations can now reject data that they are unable to store
the state component implementations now return a content type as part of GET operations - SDKs can use this for diagnostics and validation

Release Note
RELEASE NOTE: Add the ability to specify a content type for state operations

@jigargandhi I like the use of metadata in runtime API. Although the SDKs might decide to handle it as a first class attribute.

/assign

@jigargandhi I will assign it to you. Beware this is not an easy issue, and it has impacts across the codebase and must be done in a backwards compatible way. Also, consider the impact to the SDKs.

I got a feedback on the discord that we should add content type to more components, however not all components require a content type. On looking at a list of components here are the component types that require a content-type
So apart from state management, here are the places I think require content type

Pubsub: Pubsub sends opaque data to publisher and consumes opaque data, so both PublishRequest and NewMessage need content type see
Components like Azure service bus use content type from metadata right now.
Bindings: Bindings also send data or receive opaque data so content type is necessary here too. So structs like ReadResponse, InvokeResponse, AppResponse will also need content type see
Secret Stores: IMO secret stores do not need content type as secrets are supposed to be opaque.
Nameresolution: does not need a content type because the return type is a DNS name.

Regarding the choice of content type in these components for further processing.

Currently some users may already be passing content types in metadata, so those behavior should not break and components should use that approach.
However, incase the content type is missing in metadata, then the content type property should be chosen.
If the SDKs are passing content type in metadata, then they should now start sending it via the property via metadata too, because passing it in metadata does not give strictness on the value.

Plan of implementation:

Add the content type in the structs in components-contrib repo (as part of the above PR)
Use content type property in several components
Add content type in protos in Dapr repo, and set the value of content type property in the translation code, i.e. from http/grpc api to component calls.
Update sdks as and when needed to use the newly added content type property.

The steps 2 and 3 can be done parallelly. and are not blocking each other.
Let me know what you think.

I agree with the approach above. My ask would be to make the following adjustments for backwards (and forward) compatibility.

Make content-type a string* to reflect it being optional in the structs, similar to how we do for eTag.
When both contentType attribute and metadata["content-type"] is provided, contentType attribute should take precedence and overwrite value in metadata["content-type"] (log warning about conflict request).
When contentType attribute is provided and metadata["content-type"] is not provided, metadata["content-type"] is populated for backwards compatibility.
When contentType attribute is not provided and metadata["content-type"] is provided, contentType attribute is populated (forward compatibility).

/cc @yaron2 @msfussell

Moving this to 1.7 so we have time to incorporate this in the SDKs with proper docs.

I propose a simple solution: using metadata to pass content type to the state store components, for example
metadata["Content-Type"] = "application/json"

For gRPC API, this entry is explicitly added to request metadata.
For HTTP API, content type is extracted from HTTP header and added to metadata programmatically.

I have put together PR #4121 with these changes.

@jigargandhi , I have a question about your PR. Copying it here:
What is the rationale behind having content type as a separate member as opposed to a part of metadata? We already list content type in the metadata. Why to duplicate?

I would suggest that we don't need any code change to add content type support.
Here is what I would propose:
For gRPC API, we include contentType entry in the existing metadata. (refer to https://github.com/dapr/components-contrib/blob/master/metadata/utils.go#L36)
For HTTP API, we append URL with metadata.contentType query parameter.
For example, POST http://localhost:3500/v1.0/state/mystore?metadata.contentType=application/json ...
This will invoke getMetadataFromRequest function and populate metadata entry.
/cc @mukundansundar @artursouza @yaron2

We had this discussion before. The rationale is to make contentType a first class property and not just part of metadata. The same can be said about eTag. Is contentType important enough to be "promoted" to an attribute? This issue is proposing so. I agree because IMO contentType should be mandatory.

I disagree. Nothing prevents us from defining mandatory parameters in the metadata. This approach will eliminate breaking changes in the future.

On the other hand, metadata was supposed to be used for component specific attributes. contentType is a cross cutting concern, similar to eTag.

If Content Type is not required (as suggested by @artursouza and I agree with that), then I think what @dmitsh suggested is better (include in metadata) because it better matches how it's currently handled in existing protocols (HTTP).

If Content Type is not required (as suggested by @artursouza and I agree with that), then I think what @dmitsh suggested is better (include in headers/metadata) because it better matches how it's currently handled in existing protocols (HTTP).

Why eTag is not in metadata? This question is to mainly help surface the real criteria to "promote" attributes from metadata.

If Content Type is not required (as suggested by @artursouza and I agree with that), then I think what @dmitsh suggested is better (include in headers/metadata) because it better matches how it's currently handled in existing protocols (HTTP).

Why eTag is not in metadata? This question is to mainly help surface the real criteria to "promote" attributes from metadata.

I absolutely think eTag should be in metadata as well. For historical reasons that didn't happen.

To be clear, I don't think it's a make-or-break if Content Type is in the request body or in metadata - it feels more natural to be in metadata.

@dmitsh Content type field in metadata is also fine. However, in that case we need standardization of what key means a content type. This standardization is necessary because we have many components and many SDKs and each can mean content type differently. For example Go SDK can add contentType in GRPC call and some http call may add metadata.content-Type as query string parameter. And one state component can use content-Type while other can use ContentType
Since we want a unique way to define content type  we might need to hard code the string contentType  (going by go's naming convention) in components-contrib, dapr, and all the SDK repos and also document this constant in docs.
If such hardcoding is fine, please let me know and will make the changes in that way.
@dmitsh @artursouza @yaron2

For me it would be great to see the whole picture to assess this statement from @jigargandhi, which occurs everywhere.
"Since we want a unique way to define content type we might need to hard code the string contentType (going by go's naming convention) in components-contrib, dapr, and all the SDK repos and also document this constant in docs."
However if this is unachievable now, since content type is being used too diversely and would introduce breaking changes then I focus on this issue only in the scope of the state operations oply and in that case having content type in meta data makes sense. My reasoning mostly on the ease of use for HTTP as @dmitsh puts above.  May also be worth getting the opinion of @rynowak.

I support using metadata query params for HTTP. @dmitsh what's the proposed gRPC implementation?

I support using metadata query params for HTTP. @dmitsh what's the proposed gRPC implementation?

The gRPC API already has metadata as part of the request objects.
We would need to change some of the SDKs (including go-sdk) to allow passage of the metadata.


[FEATURE REQUEST] : Add save button to the resources

Description
Is your feature request related to a problem? Please describe.
Add a save button so the user can save the items from the resources.
Describe the solution you'd like
As there is already a dedicated server, we can use the server to store the data for a particular user in the backend.
Describe alternatives you've considered
We can also use localstorage e for this.
Additional Notes (optional)
I would like to wor on it under gssoc'12

Resources are redirected to GitHub. You can download them there.


Update GoogleAuthenticator.php

Added the title and name functionality for most Authenticator apps.
Example Usage:
        $email_user=<EMAIL_ADDRESS>        $title= 'Name of the app';
        $secret = $ga->createSecret();
        $qrCodeUrl = $ga->getQRCodeUrl($email_user, $secret, $title);

Output after scanning in Authenticator App :

I was a bit concerned that the third parameter semi-conflicts with the first param in that any existing users might be using the name param as both a combined label & issuer. (We actually do that in our internal code! 😆)
I also took the opportunity to correct some naming, and expose more of the otpauth URI scheme parameters in #6. It should be able to handle your requirements as well.

Thanks for submitting the PR. We wouldn't have noticed the missing feature without it. Cheers!


Added course in Spring Boot  in Hindi

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description

Spring Boot Tutorial | Hindi - ProgRank

Why is this valuable (or not)?
It is a beginner-friendly course.
How do we know it's really free?
It is available on youtube.
For book lists, is it a book? For course lists, is it a course? etc.
It is a course.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

@SethiPandi  I made the changes.

linter wants a space at the end


[Bug]: Language Server unresponsive after including a cyclic dependency

Description
$subject as depicted below

Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

When there is a cyclic dependency, the compilation cannot be continued, so it is a crashed state. Hence this behavior is expected. The diagnostic is issued to indicate the cyclic dependency which can be used to resolve the error.

When there is a cyclic dependency, the compilation cannot be continued, so it is a crashed state. Hence this behavior is expected. The diagnostic is issued to indicate the cyclic dependency which can be used to resolve the error.

I see. However, the VSCode user might not know about the crashed state unless they look at the problems tab. The LS may seem unresponsive because features such as completion, code-action will not work without the compilation. To avoid the confusion we can send a notification from the LS side when the compilation is in a crashed state specifying a user error.


This project does not have enough video or examples

i need help in this young and enthusiastic contributors

@29deepanshutyagi  sure but i want to say don't go too big and make a large pr do it small i will agree small contributions also don't get stressed just take it easy and do it efficiently

I want to work on this issue. Please assign it to me

Bro you are free to make any non code contribution even code as well as the issue is already assigned i cannot reassign to you if there is no commit from our brother for two days then I will reassign in mean time you can raise issues

@Parvezkhan0 assigned


feedback about the latest RTVS update

Hello,
When switching between R interpreters,  it appears any data frames ( objects) being created in the global environment gets deleted.  For example, using R client to create a data.frame from an xdf file, it will be deleted from the global environment when switching to standard R to use the data for further analysis.
I am wondering if such issue can be resolved by ensure any objects created in one interpreter is transverse across all interpreters.
Thank  #you
Please briefly describe what you were doing that led to the issue, if applicable:
...
If you have any screenshots demonstrating the issue, please include them as well to help us diagnose it better.
Additional information:
OS Information
Version:       Microsoft Windows NT 10.0.14393.0
RTVS Information:
Assembly: Microsoft.VisualStudio.R.Package, Version=0.6.30105.2202, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Active R URI:
Microsoft R Open (3.3.2): C:\Program Files\Microsoft\MRO-3.3.2\

This is by design. Switching interpreters loads completely different environments (and starts different processes hosting R. If you want to reuse data, you have to save workspace manually in R (ex http://www.statmethods.net/interface/workspace.html) and load .rdata into the new interpreter.

This is currently logged at #2920: presumably the next build of RTVS will display a warning before switching.

Yes. This will show up in the next update. Closing this issue now. Please re-open again if you have additional feedback. Thanks!


ASDK-2745 - Native Content format for the In-feed view

Coverage decreased (-1.53%) to 54.76% when pulling f045004bd436125293d25c69a99b8ba18ef2bdd5 on native_in_feed into ebe3a53332fd7924103ad6128ad5b6d8ca39cf9f on development.


Orthogonal connection matrix

There are issues with the current connection coefficient matrix introducing bad conditioning:
V = SymTriOperator([zeros(5); -ones(6); zeros(10); -ones(7)],zeros(4))
J = -Δ + V
Λ, U = eig(J)
norm(Matrix(U[1:100,1:100])) # 2.3265722544996794e28

However, from the spectral measure we know we can construct an orthogonal connection coefficients Q:
Δ = freejacobioperator()
K = SymTriOperator(0.01ones(3),zeros(4))
J = Δ + K
μ = spectralmeasure(J)

Λ, U = eig(J)

M = Multiplication(1./sqrt(μ.q), rangespace(U))
Q = M*U
norm((Q'*Q - I)[1:10,1:10])  # ≈ 0

# show it's still a conversion
C = connectioncoeffsoperator(J)
X = Multiplication(Fun(), Ultraspherical(1)) # Δ with right spaces
(X*Q - Q*J)[1:10,1:10] |> norm   # ≈ 0

By definition, Q is well conditioned. Can we recover Q in a reasonable form without calculating the badly conditioned U?

FYI we know it can't be Hessenberg since the lower bandwidth is equal to the lowerbandwidth of M
Note also that while M is not technically banded, it of course can be approximated by a polynomial. But this isn't great since we want complexity given by the perturbation size, nothing else. However, that said we know that f^(-1/2) is a solution to a banded system
f_nsqrt = [ldirichlet() ; f*D + 1/2*I] \ [sqrt(f(-1)); 0]

Since in this case f = μ.q is a polynomial of degree dictated by the perturbation, we know that Q can be encoded by a fixed number of entries.


Epic: Propagating logs

### aztec.nr
- [ ] Limit each log to have at most N fields.

### Circuit
- [ ] Change output databus to allow an array of N-field log preimage instead of a single log hash.
- [ ] Merge `note_encrypted_logs` and `encrypted_logs` into a single `private_logs` in private tail.
- [ ] Rename `unencrypted_logs` to `public_logs` and remove it from private.
- [ ] Add a separate array of logs for bytecode.

### PXE
- [ ] Differentiate the type of decrypted private logs.

### General
- [ ] Decide what N is.

Possible duplicate of https://github.com/AztecProtocol/aztec-packages/issues/8954
Feel free to close that issue, and move all of its tasks into this epic issue instead :)


Adding new algorithms for linked list

can i be assigned this issue ? i want to contribute algorithms regarding linked lists as there are almost none of those

please look these PRs and label this as hacktoberfest2019 if possible

Hi...I'd love to add some more algorithms for Linked Lists, namely reversing a Linked List and printing the elements of a Linked List in reverse without any additional memory usage.

Hey @ArnavNair everyone here is welcome, you can add your algorithms!

Hey @somyaguglani your pull requests are already merged and counting in Hacktoberfest 2019! Thanks for contributing.

@OtacilioN Please review the PR #274 . Please do tell if there are any issues with the code. It will help me to get feedback and improve the code.
Thanks.


check for CRYPTO_POLICY should also work, when not root

verified with ansoble-ssh-hardening on docker / also did some tests for failures. Now everything seems to be good.

fixes #179

all seems fine in travis: https://travis-ci.org/github/dev-sec/ansible-ssh-hardening/builds/714971374

It is available in https://github.com/dev-sec/ssh-baseline/releases/tag/2.5.14


[genworldvoronoi] Check climate calculation

equator seems to be surprisingly humid
too many cold deserts
biomes seem to be oddly distributed

Update:

The equator is actually quite humid... dry regions are at +-30 degree latitude
The cold deserts seem to be related to elevation but this needs to be confirmed
Distribution of biomes seem fine :)


RASA X is not showing Images

Rasa Version : 2.5.0 Minimum Compatible Version: 2.2.0a1 Rasa SDK Version : 2.5.0 Rasa X Version : 0.38.1 Python Version : 3.8.0 Operating System : Windows-10-10.0.19041-SP0
Python version:
Operating system (windows, osx, ...):
Issue: Rasa X not showing images when sent with custom actions.
Error (including full traceback):
WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "09b6a03209b84c6ebf2ea81d1c6c4191", "event": "bot", "timestamp":<PHONE_NUMBER>.962759, "text": null, "data":
{"elements": null, "quick_replies": null, "buttons": null, "attachment": "[[https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg|| https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg|] [https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg| https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg]]", "image": "[[https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg|| https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg|] [https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg| https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg]]", "custom": null}
, "metadata": {}}'. (sqlite3.IntegrityError) UNIQUE constraint failed: conversation_event.conversation_id, conversation_event.timestamp, conversation_event.type_name [SQL: INSERT INTO conversation_event (conversation_id, type_name, timestamp, intent_name, action_name, slot_name, slot_value, policy, is_flagged, data, evaluation, rasa_environment) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)] [parameters: ('09b6a03209b84c6ebf2ea81d1c6c4191', 'bot',<PHONE_NUMBER>.962759, None, None, None, None, None, 0, '{"sender_id": "09b6a03209b84c6ebf2ea81d1c6c4191", "event": "bot", "timestamp":<PHONE_NUMBER>.962759, "text": null, "data":
{"elements": null, "quick_rep ... (156 characters truncated) ... mage": "[[https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg|| https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg|] [https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg| https://upload.wikimedia.org/wikipedia/commons/6/6e/Shah_Rukh_Khan_graces_the_launch_of_the_new_Santro.jpg]]", "custom": null}
, "metadata": {}}', None, 'production')] (Background on this error at: http://sqlalche.me/e/13/gkpj)
Command or request that led to error:
from rasa_sdk.executor import CollectingDispatcher from rasa_sdk import Action, Tracker from typing import Any, Text, Dict, List from simple_image_download import simple_image_download as simp
class ActionImageSearch(Action):
def name(self) -> Text: return "action_image_search"
def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
search_term = tracker.get_slot("search_term") response = simp.simple_image_download
url = response().urls(search_term, 1)[0]
dispatcher.utter_message(text="Here is what you were looking for!") dispatcher.utter_message(image=url)
return []
Content of configuration file (config.yml) (if relevant):
Content of domain file (domain.yml) (if relevant):
version: '2.0'
 config:
 store_entities_as_slots: true
 session_config:
 session_expiration_time: 60
 carry_over_slots_to_new_session: true
 intents:

*   greet:
     use_entities: true
*   goodbye:
     use_entities: true
*   affirm:
     use_entities: true
*   inform:
     use_entities: true
*   deny:
     use_entities: true
*   mood_great:
     use_entities: true
*   mood_unhappy:
     use_entities: true
*   bot_challenge:
     use_entities: true
     entities:
*   search_term
     slots:
     search_term:
     type: rasa.shared.core.slots.TextSlot
     initial_value: null
     auto_fill: true
     influence_conversation: true
     responses:
     utter_cheer_up:
*   image: [https://i.imgur.com/nGF1K8f.jpg](https://i.imgur.com/nGF1K8f.jpg)([https://i.imgur.com/nGF1K8f.jpg)([https://i.imgur.com/nGF1K8f.jpg](https://i.imgur.com/nGF1K8f.jpg](https://i.imgur.com/nGF1K8f.jpg)([https://i.imgur.com/nGF1K8f.jpg](https://i.imgur.com/nGF1K8f.jpg)))
     text: 'Here is something to cheer you up:'
     utter_did_that_help:
*   text: Did that help you?
     utter_goodbye:
*   text: Bye
     utter_greet:
*   text: Hello I am PicBoo,I can help you find some images what would you like to search ?
*   text: Heya PickaBoo here I can help you with your image needs.
*   text: Heyyyy PickaBoo to your rescue, what would you like to see ?
     utter_happy:
*   text: Great, carry on!
     utter_iamabot:
*   text: I am a bot, powered by Rasa.
     actions:
*   action_image_search
     forms: {}
     e2e_actions: []

Thanks for raising this issue, @alopez will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Thank you for raising this issue about Rasa X. We decided to stop supporting the Community Edition (free version) of ‘Rasa X’ (see more info here: https://rasa.com/blog/rasa-x-community-edition-changes/). That’s why we’ve closed your issue. We suggest that Rasa Enterprise customers raise the issue with our customer support team if they haven’t done so already.


Automate updating operator version for release

Description
This handles updating versions when preparing for an operator release resulting in a PR similar to this
For PR author

[x ] Tests for change: Tested using private fork: https://github.com/radTuti/tigera-operator/pull/1
git o release-v1.31 # checkout release branch
make release-prep GIT_PR_BRANCH_BASE=$(git rev-parse --abbrev-ref HEAD) GIT_REPO_SLUG=radTuti/tigera-operator VERSION=v1.3.2 CALICO_VERSION=v3.26.1 CALICO_ENTERPRISE_VERSION=v3.18.0 COMMON_VERSION=v1.1.15 CNX=true CONFIRM=true

[ ] ~If changing pkg/apis/, run make gen-files~

[ ] ~If changing versions, run make gen-versions~

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/docs-not-required release-note-not-required

I think RELEASING.md should be updated to incorporate how an automated release can be performed and should include what the preconditions and results are.

/merge-when-ready squash-commits delete-branch

OK, I will merge the pull request when it's ready, squash the commits when I merge it, and delete the branch after I've merged it.

Removing "merge-when-ready" label due to new commits

/merge-when-ready squash-commits delete-branch

OK, I will merge the pull request when it's ready, squash the commits when I merge it, and delete the branch after I've merged it.

/merge-when-ready squash-commits delete-branch

I'm sorry but I failed delete the branch after merging the pull request.

This PR doesn't seem to have any provisions related to ensuring the Elasticsearch versions are updated, those versions do not match the Enteprise version. So I don't think this is ready to be used yet.

@radTuti pointed out to me that Prometheus and Elasticsearch versions require a specific decision to update so will be updated when there is the work is scheduled to update those. I think also in my original review I missed that they were being skipped as part of the enterprise_versions.yaml.


Global mat-card style update & star button update

Description
Decided to do a global mat-card style refresh to match what is present on Zeplin. Also updated a few other things like the star button and some card alignment.
Changes:

Added a border style
Updated the shadow and removed previous shadow styles
Updated star button
Additional minor tweaks

Before - Accounts page

After - Accounts Page

Before - Organizations page

After - Organizations page

New colour definition

#cfd1d7 is used often on Zeplin yet the Zeplin colour palete (and resulting materialColorScheme.scss file) does not have it defined
It's used in several places including as the mat-card border colour, I talked about this with gary before he left and he suggested just defining it in our palette so I added it under $kim-gray and replaced previous instances where the colour code was being used

Mat-card global style and shadow cleanup

Added the global style to include the new border and updated  the shadow (needed to use important to override the material shadow style)
Also removed instances of mat-elevation-z(2,3,4) these all define different shadow styles for different mat-cards but from all the cards I checked on Zeplin they seem to use the new shadow style, keeps consistency

Stargazers minor update - stargazers.component.html:

There's no redesign for this page but all of the cards were enclosed in another mat-card which I didn't think made sense
Replaced the card with a div and padding - I think it looks cleaner the card wasn't necessary

Before - Stargazers

After - Stargazers

Launch cards alignment - launch.component.html

As I was verifying the changes I noticed the launch cards had some interesting misalignment, turns out some cards had additional bootstrap margin classes added
Removed the extra margins and fixed alignment
Applied to both Tools and Workflows

Before - Launch Cards

After - Launch Cards (Workflows)

After - Launch Cards (Tools)

Star button refresh - starring.component.html

Small update but now it matches Zeplin (updated colour, removed grey background when clicked, updated shadow)

search.component.html

From the release 2.9 clone denis merged into develop I left a comment about the search button changes needing to be reverted, I actually don't know if that comment went through since I commented that during the github outage... either way I reverted the search button changes, just re-merging those back into develop

Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain

Looks good!
The following is a general comment, no need to make any changes to this PR...
Regarding the "star button box", even though it's not what's in the mockups:
I feel like when the user stars an entry, the transition on the star from hollow to filled is good, but changing the background color is appropriate and gives it more "weight".  I think we should consider continuing to do it, to give the user additional visual feedback that the action has been taken.  If we did so, maybe use the light "accent" color, rather than gray as before?


ajaxToolkit:AutoCompleteExtender version 3.5.7

I have AjaxControlToolkit version <IP_ADDRESS>3 and VS 2013 an am having issues with ajaxToolkit:AutoCompleteExtender (not firing) and reading online, they mention version 4 should resolve my issue. What version 4 should I upgrade to? is there an online process to do this upgrade? Is there a license restriction or any compatibility issues I should try to avoid for this upgrade?

Would you please describe these issues in more detail?

they mention version 4 should resolve my issue.

Would you please provide a source of this info?

is there an online process to do this upgrade?

No, there is no online upgrade process, but the official upgrade guide will help you to upgrade the toolkit to the latest version, 16.1.

Is there a license restriction or any compatibility issues I should try to avoid for this upgrade?

The AJAX Control Toolkit remains open source software, so you don't need to buy a license for the toolkit. However, if you work with the source code of the toolkit, make sure you follow the BSD license terms.

Thank you for your reply.
The compilation issue I had went away after I added assemblies into the
web.config file. Although I still have issues around the settings page
(have not had time to investigate), I have gotten by the compilation issue
in order to continue business. Thank you.
On Mon, Jun 27, 2016 at 8:34 AM, MikhailTymchukDX<EMAIL_ADDRESS>wrote:

Would you please describe these issues in more detail?
they mention version 4 should resolve my issue.
Would you please provide a source of this info?
is there an online process to do this upgrade?
No, there is no online upgrade process, but the official upgrade guide
https://github.com/DevExpress/AjaxControlToolkit/wiki/Upgrading-from-v7.x-and-below
will help you to upgrade the toolkit to the latest version, 16.1.
Is there a license restriction or any compatibility issues I should try to
avoid for this upgrade?
The AJAX Control Toolkit remains open source software, so you don't need
to buy a license for the toolkit. However, if you work with the source code
of the toolkit, make sure you follow the BSD license
https://github.com/DevExpress/AjaxControlToolkit/blob/master/LICENSE.txt
terms.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DevExpress/AjaxControlToolkit/issues/149#issuecomment-228782584,
or mute the thread
https://github.com/notifications/unsubscribe/AJ4ZhjAJCNMY0OeV0B5EEjRUKL85nzVUks5qP-1xgaJpZM4I9_H6
.

I'm happy to hear that the problem is solved.
Feel free to reopen this issue if you have any further questions.

Hi, sorry, I responded via email for the wrong issue. I will see how to reactivate this issue or open a new one.


[DML] Scala/Java API for DELETE

This tracks the ongoing work and discussions for building the Scala/Java APIs for SQL DELETE Delta Lake tables.

Here is the proposed programming APIs for MERGE, DELETE, UPDATE. Please share your thoughts in comments.
https://docs.google.com/document/d/1gU6G7XJSg3wuQDLIJVM1_FLKSj2KoLW0kcOu5HicYQM/edit?usp=sharing

This feature has been added in this commit.


llvmPackages_15.libcxxabi: fix build on Linux and Darwin

Description of changes
The previous change in https://github.com/NixOS/nixpkgs/pull/246577 broke *-darwin.
The previous fix in https://github.com/NixOS/nixpkgs/pull/251255 broke *-linux.
This should fix LLVM for Linux and Darwin.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Ah, damn. Yeah. That was the fix I should have made in #251255 I ended up accidentally setting -nostdlib on Linux outside of useLLVM, which obviously wasn’t right.


feat: warn when operating on destroyed Vue component, fix #1685

See #1685 for original idea
In general, I've decided to go with warning as more relaxed way instead of throwing
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[X] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[X] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[X] It's submitted to the dev branch.
[X] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue-test-utils/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[X] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

@xanf thanks I can release this weekend!


Noob question: capture the change event when inheriting

I'm trying to make a console custom element which inherits from vaadin text area. Whenever any text is changed in the console I want the scrollbar to scroll to bottom. How to I capture the change event when inheriting the TextAreaElement? This is what I have so far but doesn't work:
import { TextAreaElement } from<EMAIL_ADDRESS>import<EMAIL_ADDRESS>

class MyConsole extends TextAreaElement {
  constructor() {
    super();

    var me = this;
    me.addEventListener('change', () => { console.log('value changed') })
  }

}

customElements.define('my-console', MyConsole );

You might want to use "value-changed" event instead. "change" occurs only when a user changes the value and moves the focus away from the field.

@tomivirkki thank you very much, that worked. Do you know how I can set the scroll position? Setting scrolltop doesn't seem to work. Thanks again

The component itself doesn't have a public scrollTop API. You can try textArea.shadowRoot.querySelector("[part=input-field]").scrollTop = 100, but as said, it's not public. Closing, as this is not an issue but a question.