[Help] - Querying relations

Hi all,
first of all, thanks for your work on this package dimsav.
Now, my problem :)
// To use this package, first we need an instance of our model
return Company::with(['companyTimeline.translations' => function ($query) {
   $query->where('locale', App::getLocale());
  }])
 ->with('companyActivityFiles')
 ->where('shortname', $companyName)
 ->first();

Here it's all ok,  I get something like:
Company {#413
  +translatedAttributes: array:2 [
    0 => "name"
    1 => "description"
  ]
  #with: array:2 [
    0 => "companyTimeline"
    1 => "companyActivityFiles"
  ]
  #fillable: []
  #connection: "mysql"
  #table: null
  #primaryKey: "id"
  #keyType: "int"
  +incrementing: true
  #withCount: []
  #perPage: 15
  +exists: true
  +wasRecentlyCreated: false
  #attributes: array:5 [
    "id" => 1
    "shortname" => "ASE"
    "created_at" => "2017-07-12 17:06:01"
    "updated_at" => "2017-07-12 17:06:01"
    "deleted_at" => null
  ]
  #original: array:5 [
    "id" => 1
    "shortname" => "ASE"
    "created_at" => "2017-07-12 17:06:01"
    "updated_at" => "2017-07-12 17:06:01"
    "deleted_at" => null
  ]
  #casts: []
  #dates: []
  #dateFormat: null
  #appends: []
  #events: []
  #observables: []
  #relations: array:2 [
    "companyTimeline" => Collection {#414
      #items: array:1 [
        0 => CompanyTimeline {#421
          #table: "company_timeline"
          +translationModel: "Modules\Company\Entities\CompanyTimelineTranslation"
          +translatedAttributes: array:2 [
            0 => "name"
            1 => "description"
          ]
          #fillable: []
          #connection: "mysql"
          #primaryKey: "id"
          #keyType: "int"
          +incrementing: true
          #with: []
          #withCount: []
          #perPage: 15
          +exists: true
          +wasRecentlyCreated: false
          #attributes: array:5 [
            "id" => 1
            "company_id" => 1
            "created_at" => "2017-07-12 17:06:41"
            "updated_at" => "2017-07-12 17:06:42"
            "deleted_at" => null
          ]
          #original: array:5 [
            "id" => 1
            "company_id" => 1
            "created_at" => "2017-07-12 17:06:41"
            "updated_at" => "2017-07-12 17:06:42"
            "deleted_at" => null
          ]
          #casts: []
          #dates: []
          #dateFormat: null
          #appends: []
          #events: []
          #observables: []
          #relations: array:1 [
            "translations" => Collection {#422
              #items: array:1 [
                0 => CompanyTimelineTranslation {#427
                  #table: "company_timeline_translations"
                  #fillable: array:3 [
                    0 => "company_id"
                    1 => "year"
                    2 => "description"
                  ]
                  #connection: "mysql"
                  #primaryKey: "id"
                  #keyType: "int"
                  +incrementing: true
                  #with: []
                  #withCount: []
                  #perPage: 15
                  +exists: true
                  +wasRecentlyCreated: false
                  #attributes: array:8 [
                    "id" => 1
                    "company_timeline_id" => 1
                    "year" => 2017
                    "description" => "Whiskas saquetas"
                    "locale" => "en"
                    "created_at" => "2017-07-12 17:06:54"
                    "updated_at" => "2017-07-12 17:06:54"
                    "deleted_at" => null
                  ]
                  #original: array:8 [
                    "id" => 1
                    "company_timeline_id" => 1
                    "year" => 2017
                    "description" => "Whiskas saquetas"
                    "locale" => "en"
                    "created_at" => "2017-07-12 17:06:54"
                    "updated_at" => "2017-07-12 17:06:54"
                    "deleted_at" => null
                  ]
                  #casts: []
                  #dates: []
                  #dateFormat: null
                  #appends: []
                  #events: []
                  #observables: []
                  #relations: []
                  #touches: []
                  +timestamps: true
                  #hidden: []
                  #visible: []
                  #guarded: array:1 [
                    0 => "*"
                  ]
                }
              ]
            }
          ]
          #touches: []
          +timestamps: true
          #hidden: []
          #visible: []
          #guarded: array:1 [
            0 => "*"
          ]
          #defaultLocale: null
        }
      ]
    }
    "companyActivityFiles" => Collection {#391
      #items: []
    }
  ]
  #touches: []
  +timestamps: true
  #hidden: []
  #visible: []
  #guarded: array:1 [
    0 => "*"
  ]
  #defaultLocale: null
}

But as soon as I do a
dd($company->translateOrDefault(App::getLocale()));

the relations doesn't appear, I get this (CompanyTranslation Model):
CompanyTranslation {#423
  #fillable: array:2 [
    0 => "name"
    1 => "description"
  ]
  #connection: "mysql"
  #table: null
  #primaryKey: "id"
  #keyType: "int"
  +incrementing: true
  #with: []
  #withCount: []
  #perPage: 15
  +exists: true
  +wasRecentlyCreated: false
  #attributes: array:7 [
    "id" => 1
    "company_id" => 1
    "name" => "AFP"
    "description" => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum eget maximus nulla, sed hendrerit odio. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi cursus vehicula sem in auctor. Phasellus mattis mollis malesuada. Praesent lacinia et ligula at blandit. Fusce ut velit quis libero aliquam consequat nec eget nisl. Curabitur ac elit ut lacus viverra finibus nec et lectus. Cras feugiat id enim nec scelerisque. Donec id orci tempor, commodo odio in, tempor velit. Etiam venenatis sed elit et consectetur. Nam quis laoreet sapien. Aliquam lacus sem, fermentum nec egestas ut, cursus at arcu. Pellentesque et turpis ante."
    "locale" => "en"
    "created_at" => "2017-07-12 17:06:32"
    "updated_at" => "2017-07-12 17:06:32"
  ]
  #original: array:7 [
    "id" => 1
    "company_id" => 1
    "name" => "AFP"
    "description" => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum eget maximus nulla, sed hendrerit odio. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi cursus vehicula sem in auctor. Phasellus mattis mollis malesuada. Praesent lacinia et ligula at blandit. Fusce ut velit quis libero aliquam consequat nec eget nisl. Curabitur ac elit ut lacus viverra finibus nec et lectus. Cras feugiat id enim nec scelerisque. Donec id orci tempor, commodo odio in, tempor velit. Etiam venenatis sed elit et consectetur. Nam quis laoreet sapien. Aliquam lacus sem, fermentum nec egestas ut, cursus at arcu. Pellentesque et turpis ante."
    "locale" => "en"
    "created_at" => "2017-07-12 17:06:32"
    "updated_at" => "2017-07-12 17:06:32"
  ]
  #casts: []
  #dates: []
  #dateFormat: null
  #appends: []
  #events: []
  #observables: []
  #relations: []
  #touches: []
  +timestamps: true
  #hidden: []
  #visible: []
  #guarded: array:1 [
    0 => "*"
  ]

I also have setted this on Company model:
/**
     * The relations to eager load on every query.
     *
     * @var array
     */
     protected $with = ['companyTimeline', 'companyActivityFiles'];

I've read https://github.com/dimsav/laravel-translatable/tree/master/tests/models and the readme.md file as well but all I see is to translate the first model.
What I need is Translate Company and since company has many CompanyTimeline, I need to translate CompanyTimeline as well.
I need to get something like:
CompanyTranslated
   CompanyTimelineTranslated

Anyone can help me on this?
Thank you in advance.
Cheers,
Marcelo

You create the translation model for every main model. After this and initial trait & property setup you can use the main model like normal.
If you want to optimize querying load it incl translations $model->load('relation1.translations', 'relation2.translations') with this you reduce it to 4 queries.

closed due to inactivity


feat: linked article card

:tada: This PR is included in version 0.127.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Reuse frozendict passed to constructor.

When you pass a frozenset as the argument to the frozenset class you get back the same object you passed in:
>>> s = frozenset({1, 2, 3})
>>> s is frozenset(s)
True

This is a nice property, since it allows you to easily coerce any iterable into a frozenset without needing to clone and keep the same immutable information in memory if it's already a frozenset.
This PR updates the frozendict class to work similarly:
>>> import frozendict
>>> f = frozendict.frozendict({'one': 1, 'two': 2})
>>> f is frozendict.frozendict(f)
True

When a frozendict is passed to the frozendict class as the only argument, that frozendict is returned instead of creating a new one.
I ensure here that the types need to match exactly (no isinstance) to allow coercing into a different subclass:
>>> import frozendict
>>> f = frozendict.FrozenOrderedDict({'one': 1, 'two': 2})
>>> f is frozendict.frozendict(f)
True

I also force this property to only hold for the classes defined in this module: frozendict and FrozenOrderedDict. The reason for this is I worry about subclasses who decide to have mutable properties (for whatever reason), or who define their own __init__:
>>> # !!! WITHOUT THE EXPLICIT CLASS CHECK !!!
>>> import frozendict
>>>
>>>
>>> class Bad(frozendict.frozendict):
...     def __init__(self, one, two):
...         super().__init__({**one, **two})
...
>>>
>>> b = Bad({'one': 1}, {'two': 2})
>>>
>>> b is not Bad(b, {'three': 3})
False

Might want to put tests for the following cases:
d = {'a': 1}
f = frozendict.frozendict(d)

# case 1
d['b'] = 1
assert d is not f

# case 2
f = f.copy(b=2)
assert d is not b

Good idea. Does this repo have a place to put tests yet? I see PR #15 but it's been unmerged for two years now...

Gonna close this at least until I have a better sense of how this project wants to do tests.


Output VCF file is empty

Hello,
I tried to run vargeno (last commit, 00ee0f0affd626bfe7b1c04291e924341031240f) on the following data: reference, VCFs (provided by 1000genomes), and sample sequenced from NA12878 individual.
I ran some tests on different chromosomes but I always got an output VCF file that contains only the header. I tried to figure out the reasons of this and these are my hypotheses.
I think the main problem is in the index step. Indeed, in my various tests, I obtain
...
[BloomFilter constructBfFromVCF] bit vector: 0/1120000000
...

From here, I started digging in the code and I saw that there could be some problems on how you index the input reference. In more details:

when you read the VCF file and extract the chromosome name from each line, you add "chr" at its start: https://github.com/medvedevgroup/vargeno/blob/00ee0f0affd626bfe7b1c04291e924341031240f/src/generate_bf.cc#L206 but you don't do the same when you read the headers from the input FASTA file: https://github.com/medvedevgroup/vargeno/blob/00ee0f0affd626bfe7b1c04291e924341031240f/src/generate_bf.cc#L47 For instance, this is a problem if the headers in the FASTA file contain only the chromosome number. I think this problem affects also the way you store information in the .chrlens file of your index: https://github.com/medvedevgroup/vargeno/blob/00ee0f0affd626bfe7b1c04291e924341031240f/src/qv.cc#L2345
when a header in the FASTA file contains the unique identifier for the sequence and also additional information (such as: ">22 dna:chromosome chromosome:GRCh37:22:1:51304566:1"), you consider all the line as unique identifier:
https://github.com/medvedevgroup/vargeno/blob/00ee0f0affd626bfe7b1c04291e924341031240f/src/generate_bf.cc#L47
but when you parse the VCF file, you consider as chromosome name only the unique identifier since you get the chromosome number from the first column of the VCF (this should not affect the .chrlens file since you use a different function to read the reference FASTA when you write the .chrlens file)

I tried to solve these two problems by changing some lines in your code but I'm not sure if what I've done is right and enough (I'll anyway open a pull request: it could be a good starting point for you). With my fixes, now the output is not empty anymore.
Moreover, I think that this behaviour occurs also if the input VCF contains the field GT specified in the header and the GT columns (as in the VCFs provided by the 1000genomes project). If I run vargeno index, I obtain:
...
SNP Dictionary
Total k-mers:        0
Unambig k-mers:      0
Ambig unique k-mers: 0
Ambig total k-mers:  0
...

Currently, I solved this problem by removing out from the VCFs the line in the header and the ~2500 columns of the samples. Maybe you could find a better solution to this or maybe you can update the readme accordingly.
Thanks in advance!
Best,
Luca

Hi Luca, thank you for catching this.
For now, the chromosome name has two standards: Genome Reference Consortium (e.g. GRCh37) vs University of California at Santa Cruz(e.g. hg19).
GRC standard does not contain "chr", and any VCF generated based on GRC won't contain "chr".
VarGeno now requires the reference genome and VCF sharing the same chromosome name standard.

Ok, I see... but the problem occurs exactly when the reference genome and the VCF share the same chromosome name standard. Indeed, both the VCF and the reference I linked in my previous message follow the GRC standard. The problem, if I understood correctly your code, is that you add "chr" before the reference of each VCF line but you don't do that when parsing the reference FASTA. It's like vargeno assumes that the VCF follows the GRC standard whereas the reference doesn't: the files in the test folder don't follow the same standard (the ID in the FASTA file contain "chr", the IDs in the VCF don't contain "chr").
Moreover, I think that there is also a (possible) problem when the reference genome contains a character different from A,C,G,T,N (ie. a character from the IUPAC code such as an M or an R, as happens in the reference genome I linked in the previous message). In such a context, vargeno crashes during the index step printing:
vargeno: src/util.c:122: kmer_t shift_kmer(kmer_t, char): Assertion `0' failed.
Aborted (core dumped)

Right now, I solved this by modifying the input FASTA.


Port examples and doc/tutorial to universes

The compiler now has universes switched on by default. But a lot of the examples and doc/tutorial still use --stratified. They need to be updated to use the default universes.
To find which files are still using the old mode, grep for "SFSTAR=", and for "-stratified".
Could also port stuff from .old/to_be_ported.

As I've already mentioned before, @beurdouche had already started porting the tutorial at some point. His work is in https://github.com/FStarLang/FStar/tree/master/doc/tutorial/code/solutions_universes

@beurdouche: so, all exercises in https://github.com/FStarLang/FStar/tree/master/doc/tutorial/code/solutions_universes already work with universes, and the ones in the todo folder need to be ported?

Yes, exactly.
In the todo folder, I attempted to split the original files into modules (no support for multiple modules anymore) but it seems I screwed up the order of modules. A suggestion would be to simply drop the todo folder and restart Ex9+ from the original files...

@beurdouche Shall we leave porting the tutorial code in your hands?

@sishtiaq: I'll probably do it for the tutorial we'll have at MSR next week.
Help is welcome, of course.

@sishtiaq @s-zanella: not sure I'll have time to get back to this quickly, so feel free to pick it up if you wish...

@beurdouche That's ok. And thanks for telling us!
@s-zanella You can take doc/tutorial, I'll take examples. Is that ok?

Let me know if I can help with this.

Closing this. We have a separate issue (#827) to track examples that have not yet been ported.


Animated Burger and animated mobile menu height

Thoughts on animating the burger icon and height? Gives its a bit more polished feel.

Please, keep the animations to absolute minimum or better avoid them completely.
"Coolness" wears of quickly, but usability is there forever.

Agreed with @NxtChg.

Having had to make hamburger mobile responsive menus, this can be better done to just take up the screen and cause less motion dizziness. Much cleaner if it just overlayed. moving it down means it just wasnt given the amount of time it deserves to be cleanly coded. Thats the functionality when you change the bare minimum.

Lag on older devices may become an issue as well

Suggestion is appreciated but most people here seem to want to keep the site simple and not merge this.  Recommend closing this PR.  Again, thank you for the suggestion!

K, I am closing. It seems most users would prefer to keep it simple/functional.


Move memory trace implementation from the core to tests/utils.

Signed-off-by: David Navarro<EMAIL_ADDRESS>

Indeed.
Allow me to rethink this.


fix: openai helper doesnt work

Motivation/Description of the PR

OpenAI helper throws error due to the helper is not yet available in constructor.

Type of change

[x] :bug: Bug fix

Checklist:

[ ] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[ ] Lint checking (Run npm run lint)
[ ] Local tests are passed (Run npm test)

Thank you!


MDApp on Android

Description of the Bug
I am trying to build an application that used the previous implementation of some of the KivyMD modules. When attempting to update the application to the current implementation I get the error " ModuleNotFoundError: No module named 'kivymd.app' " when ran on my android.
Code and Logs
from kivymd.app import MDApp
from kivy.clock import Clock
from kivy.core.clipboard import Clipboard
from kivy.logger import LOG_LEVELS, Logger
from kivy.properties import StringProperty, BooleanProperty
from kivy.uix.screenmanager import Screen

...

class MainApp(MDApp):

    def __init__(self, **kwargs):
        super().__init__(**kwargs)

    def build(self):
        self.icon = "docs/images/icon.png"

def main():
    MainApp().run()

### Versions

* OS: Android 7.0
* Python: python-for-android==2019.10.6
* Kivy: 1.11.1
* KivyMD: 0.103.0

https://github.com/HeaTTheatR/KivyMD/wiki/Modules-Material-App

Hi, thanks for getting back to me so quickly.
It was my mistake. I had kivy-garden's version of kivymd previously installed and it conflicted.
Running "buildozer android clean" fixed the issue


again here is my upgrade version in that folder

thank you sir for guiding me and it give me confidence for open source contribution

sir in this also mention gesso badge and level please


Api 34

Hmm.... This works on newer Android versions but now fails on older ones. Needs some further work before this can be merged.


Add aria2 (aria2c) to Windows

Description
Fix #3670 - Add aria2 (aria2c) to Windows
Related issue:
Check list

[x] Related issue / work item is attached
[x] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

@jmarrec, please, pull the latest main branch and I will run test CI to validate your changes.

Hi @jmarrec,
gentle ping, is this change still needed?

I am going to close this PR and the related issue. Please, feel free to ping us for reopening if it is still actual. Thanks!


Create cooldown on getOrchestratorInfo

They seem to get in as bursts a lot on the backend side, disable getting selected orch info from remote if it is still waiting on a result

it's cause of the preloading, will be fixed in new repo


Remove Cordova and Titanium references

[ ] run through many tests before a merge
[ ] remove references to device_fingerprint_id

@aaustin you're probably the best bet to review this, if you have bandwidth

It'll have to wait until the weekend most likely

This looks good to me from a code perspective :+1: I'd like to go through some significant QA on this branch prior to release. CC @scott-branchio

@aaustin, the QA run has passed so far.  Since this has potential to be a pretty big change, do you want to meet with @scott-branchio and me to see if anything else can be tested?


Support jsconfig.json in tsc

Fix #6671

Closed after offline discussion about the necessity of this feature.


Graph view

We are looking to add a graph (network) view of all the modules to the platform as the number of published modules increases.
The goal of this graph view is to make exploring the published modules and their links more intuitive. At the moment, you can only browse +/- 1 link, and that makes it more strenuous to get a quick overview of the publication context of a module.
This issue helps document the work on this - feel invited to join the discussion if you have thoughts on this 😊
Options
In researching some of the options, I came across the following at the moment (thanks to this blog primarily :raised_hands:):

D3.js
Cytoscape
Vis.js :fish:
Keylines/Regraph
Sigma.js
G6 (not the song; examples)
Ogma (examples)
ngraph (seems to have good path finding capabilities) - joined with VivaGraphJS

Most of these (if not all) use the node-edge data structure that is performant (I was taught with matrices...). On first pass, my initial preferences seem to go to option 2 (Cytoscape) and option 8 (ngraph).
Cytoscape looks like it has some features that would make for interesting future implementations, and seems to have a range of features that would make base implementation enjoyable and produce cool layouts (e.g., the Dagre or Klay layouts).
ngraph seems to be very extensible and with a wide range of supporting libraries - it is heavily modularized (see npm) and allows for lots of customizability (also in visualisation layer).

Got yet another request for this feature!

Found reaflow as a result of trying out JSONVisio - this one looks really cool and seems like a decent codebase. Might be worth adding to the list - this one actually gets me excited to implement 😅


[spi_device] Replace edge detector to pulse sync

payloadptr_clr signal @ SCK was a pulse. The design should latch the pulse and hand over to SYS clock domain. The previous design just added 1FF So, if SYS clock is slower than the SCK (yes it is in OpenTitan), it has a chance to lose the clear signal.
The change would be (make it set then leave) or (change the synch scheme). OpenTitan has pulse synchronizer modules. So replaced to the module.
Please see the last commit only.

this lgtm. If you are worried about the source side continuously asserting a clear, we could switch this to prim_reqack_sync, since that one, unlike the toggle based scheme here does handle a persistent source request.

Unfortunately, the source side cannot implement req/ack interface, as the clock nolonger valid at certain case.

@rswarbrick AON_TIMER seems like violating pulse sync protocol. I've added pulse check assertion inside the prim_pulse_sync and AON_TIMER died in smoke test.
Could you please check designs (I think Tom was the owner)

Thanks @eunchan, but I'm afraid I'm passing the buck :-D @GregAC is officially the block owner now.
Greg: could you take a look?

@GregAC , I revised the aon_timer @ https://github.com/lowRISC/opentitan/pull/11676/commits/60c40fe4ef297daaa8928fd0a3e0a4d155cd6006
I checked the bit 0 of the aon_intr_set is level. But didn't check the bit 1 if it is level or not. Could you please check?


add optional "storedValues" attribute for persistent indexes

Scope & Purpose
Backport of https://github.com/arangodb/arangodb/pull/15416
The feature is described in the docs PR in detail, so there is no separate PR description here.
Docs PR: https://github.com/arangodb/docs/pull/858

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[x] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[x] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[x] :book: CHANGELOG entry made

Related Information

[x] Docs PR: https://github.com/arangodb/docs/pull/858

Testing & Verification

[x] This PR adds tests that were used to verify all changes:

[x] Added new integration tests (shell_client, shell_server)

Not able to backport this into a stable release, as it will require driver support (currently missing) and changes the on-disk for indexes using the new feature. Older releases in the same branch (i.e. 3.9.0) will not be able to interpret this correctly, so downgrading from 3.9.1 to 3.9.0 would be impossible once the new feature is in use.

Obsolete.


create GMHI plugin using existing data

[ ] plugin outline

[ ] calculate index

[ ] unit tests

aim for 2nd week of Jan


Error while reading data, error message-Fraud Detection

Issue: BigQuery Table Not Populating After Uploading Invoice
Description:
While running the fraud detection use case, I followed all the steps mentioned in the README. After uploading an invoice to the GCS bucket, I noticed that the BigQuery tables are not getting populated. I encountered the following error:
Error while reading data, error message: JSON table encountered too many errors, giving up. Rows: 1; errors: 1. Please look into the errors[] collection for more details.
Error while reading data, error message: JSON processing encountered too many errors, giving up. Rows: 1; errors: 1; max bad: 0; error percent: 0
Error while reading data, error message: JSON parsing error in row starting at position 0: No such field: invoice_date.

Steps to Reproduce:

Follow the README instructions to set up the fraud detection use case.
Upload an invoice file to the specified GCS bucket.
Observe that BigQuery tables are not populated and the error message above is displayed.

What I’ve Tried:

Uploaded multiple invoice files to ensure the issue isn’t with the specific file.
Identified that the problem seems to be related to schema updates not happening as expected.

I suspect the issue lies with the ALLOW_FIELD_ADDITION option in the BigQuery load job configuration. The schema does not seem to update based on the input data. Below is the relevant code that seems to be causing the issue:
def write_to_bq(dataset_name, table_name, entities_extracted_dict):
    """
    Write Data to BigQuery
    """
    dataset_ref = bq_client.dataset(dataset_name)
    table_ref = dataset_ref.table(table_name)
    row_to_insert = []
    row_to_insert.append(entities_extracted_dict)

    json_data = json.dumps(row_to_insert, sort_keys=False)
    # Convert to a JSON Object
    json_object = json.loads(json_data)

    schema_update_options = [
        bigquery.SchemaUpdateOption.ALLOW_FIELD_ADDITION,
        bigquery.SchemaUpdateOption.ALLOW_FIELD_RELAXATION,
    ]
    source_format = bigquery.SourceFormat.NEWLINE_DELIMITED_JSON

    job_config = bigquery.LoadJobConfig(
        schema_update_options=schema_update_options,
        source_format=source_format,
    )

    job = bq_client.load_table_from_json(json_object, table_ref, job_config=job_config)
    print(job.result())  # Waits for table load to complete.

Request for Help:
Could anyone help me resolve the issue with the schema update? Specifically, the ALLOW_FIELD_ADDITION option doesn't seem to be functioning as expected, and the table is not accepting new fields from the uploaded JSON data.

to fix your trouble check this solution click
maybe this will solve your problem.


Resetting an axis via keypress

Hello! I've set up virtual joystick and vjoy via following this video: https://www.youtube.com/watch?v=4CVs-QuvD1s
The problem is that I want a button for example the spacebar to reset the virtual joystick into it's original position without moving the mouse physically. I sadly wasn't able to find any good guides or documentation on it. I also have ahk (both versions) and joystick gremlin downloaded as complimentary software if they are needed. I guess I'll need to use the feeder right? Thanks for the help in advance!

I was able to solve it by experimenting out that I should use speed x axis instead of just x axis.


review task item icons

Description
https://jira-eng-sjc12.cisco.com/jira/browse/CAX-827
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots:
Before (If applicable):

After:

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

created another PR


LaTeX formatting of F# code snippets is broken

The PR to use F# PowerTools formatting added HTML formatting for the additional types of tokens, but not for LaTeX. I added workaround for this here, but it would be great to cover the additional cases properly (we do not need to make the LaTeX template fancier, but we should map the new tokens to the closest existing kind of token).
@vasily-kirichenko Could you have a look at this?

Hey,
Can I have a look at this?
I wanted to update https://github.com/dungpa/fsharp-cheatsheet to use semantic highlighting for LaTeX for some time.


Support for multi-threading conversion

Currently it seems it only uses 1 thread to parse the files. It would be awesome if it could use all the available cores.
In my use case I have a single file of over 300M and with my 16-core CPU takes ~5m to convert the file. The only core is used  is constantly at 100%, so it seems there is a lot of room for improvement.

I don't know if it supports it. The program overall is CPU bound


documentation: Consider adding reference to relevant code samples in the Doxygen documentation

Is your enhancement proposal related to a problem? Please describe.
When browsing the API documentation (or also the source code directly, frankly), it would be nice to have references to existing code samples that are relevant to such or such API, to be able to directly jump to working code that shows the API in action.
Describe the solution you'd like
Not sure about the cleanest way to implement it, but thinking a Doxygen ALIAS could do the trick.
Maybe something along the lines of:
ALIASES += "zephyrsample{2}=\xrefitem zephyrsample \"Relevant Code Samples\" \"Relevant Code Samples\" \2"

Which could be used as follows:  @zephyrsample{net/mqtt_sn_publisher, MQTT-SN Client Sample}. Two not necessarily ideal things there are:

I don't think we have "https://docs.zephyrproject.org/latest/" a.k.a. documentation's base URL defined anywhere (and not sure that we want to either?), so not sure about the best way there. Guess relative URLs could be an option? On the other hand, being able to link to Zephyr's "rst" documentation from Doxygen is not necessarily a crazy thing to do, and something that people have expressed interest in -- see e.g https://discord.com/channels/720317445772017664/884782246010175528/1126434905593761802.
The second argument to the alias feels like it's duplicating the name of the sample, but probably not a big deal. For folks who don't want to bother, we could also have an ALIAS that only has 1 arg and doesn't require a human-readable name.

Not sure an xrefitem is needed FWIW, it just that it gave me a quick&dirty way to test things out, and also automatically provides grouping of several occurences of zephyrsample into the same "Relevant Code Samples" header.
Note: if needed we could have the ALIAS have a different output for HTML (Doxygen HTML documentation) and XML (doc has pulled by Sphinx/Docleaf for being embedded in the main documentation).
Describe alternatives you've considered
N/A
Additional context
This feedback/RFE has been brought up by several people in the Zephyr documentation survey that was recently conducted.
Related: At some point we will probably want at doing the opposite as well, i..e make sure that .rst documentation for code samples clearly calls out which API/subsystem/whatever it is a sample for, and systematically cross-reference the couple of relevant Doxygen or Sphinx doc pages.
cc @gmarull

Not sure how I missed it before but it could be that Doxygen's [@example](https://www.doxygen.nl/manual/commands.html#cmdexample) command would be a good solution. Need to test it to see if this actually requires documenting the samples with Doxygen or if the tool is happy if it's just used to reference "regular" files/directories.


Error 65531

Hi,
I'm running the following but getting error 65531, any ideas?
    const devices = await broadlink.discover();
    const device = devices[0];
    const auth = await device.auth();

    const freqs = await device.sweepFrequency();
    console.log(freqs);

    const packet = await device.findRfPacket();

Thanks!

Oh, didn't receive an email, sorry, hi.
Well, since the broadlinks devices are shittier than I expected, I didn't use it that much.
It can either be an broadlink error or an issue with this lib.
Checking the python-broadlink may (or could have :/) help you.

I'm hitting this as well, did you figure anything out @clarkd ?

I got this error with my RM Mini 3, device that does not support RF (so frequency methods shouldn't be available in my case).
Does your device support those?

I get that error code when using the sendData function actually.  I'm using an RM Mini3 and have been able to use that same sendData function with a .net library so my device should support it.

I'm in the process of updating and re-synchronizing with the pyton package, I'll aim to add tests for each case based on python result as well, but it'll take some more time.
If you can provide me your device.devtype, I'll try to verify your case before that.


Indentation level is removed when a function call has lambda expression in one parameter

Observed Behavior
Formatting this (correctly formatted) code with ktlint
class MoneyValidatorsTest : ShouldSpec({
  context("isMoneyValue") {
    should("not error on strings with integers") {
      checkAll( Arb.int().map { it.toString() }, Arb.currency()) { value, currency ->
        val sut = isMoneyValue(currency)

        val result = sut.validate(value)

        result shouldBe Ok(Money(value, currency))
      }
    }
  }
}

results in
class MoneyValidatorsTest : ShouldSpec({
  context("isMoneyValue") {
    should("not error on strings with integers") {
      checkAll(Arb.int().map { it.toString() }, Arb.currency()) { value, currency ->
      val sut = isMoneyValue(currency)

      val result = sut.validate(value)

      result shouldBe Ok(Money(value, currency))
    }
    }
  }
}

Notice how all the lines under checkAll have wrong level of indentation. Notice two curly braces one above another.
Expected Behavior
Above code should be formatted like this:
(Using IDE formatter also produces the correct results)
class MoneyValidatorsTest : ShouldSpec({
  context("isMoneyValue") {
    should("not error on strings with integers") {
      checkAll(Arb.int().map { it.toString() }, Arb.currency()) { value, currency ->
        val sut = isMoneyValue(currency)

        val result = sut.validate(value)

        result shouldBe Ok(Money(value, currency))
      }
    }
  }
}

Note that if I move Arb.int().map { it.toString() } expression out of the function call, ktlint formats this correclty:
class MoneyValidatorsTest : ShouldSpec({
  context("isMoneyValue") {
    should("not error on strings with integers") {
      val valueGen = Arb.int().map { it.toString() }
      checkAll(valueGen, Arb.currency()) { value, currency ->
        val sut = isMoneyValue(currency)

        val result = sut.validate(value)

        result shouldBe Ok(Money(value, currency))
      }
    }
  }
}

Your Environment

Version of ktlint used: 0.42.1
Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task):
Version of Gradle used (if applicable): 7.0.2
Operating System and version: Arch Linux

We're seeing the same behavior after upgrading from 0.41.0 to 0.42.1. You can replicate by copying the following:
private object Test2 {
    fun test() {
        doSomething({}, 1) {
        // Wrong indentation by Spotless
    }
    }

    fun doSomething(x: () -> Unit, y: Int, z: () -> Unit) {}
}

private object Test3 {
    fun test() {
        doSomething(1) {
            // Indented correctly by Spotless
        }
    }

    fun doSomething(y: Int, z: () -> Unit) {}
}

private object Test4 {
    fun test() {
        doSomething({}) {
            // Indented correctly by Spotless
        }
    }

    fun doSomething(x: () -> Unit, z: () -> Unit) {}
}

This is also blocking androidx project from upgrading as it causes a large diff making code harder to read.

Possibly related to https://github.com/pinterest/ktlint/issues/1210

This was fixed by #1202  and no longer occurs in ktlint 0.43.x

thanks for checking :+1:
@liutikas just casually checked your config - you can re-enable import-ordering as it supports IJ config now


Disable SC2317 on an indirect function

Shellcheck trips over verify_subm_cr_status_ which is defined inside verify_subm_cr_status_with_retries and is only called indirectly. Disable this detection for that function.

There’s a catch-22 here — we need both the updated docker dependency (to pass the vulnerability scanning) and the linting fix. So I’ve updated #2638 with the latter.


fix: appcontent renamed

#appcontent was renamed to #tabbrowser-tabbox in Firefox v132
closes #102

Thank you! Sorry for not taking care of this recently


Enhance visualization

It would be great if it could support displaying attachment images as well. Can a document display its content directly by hovering over the mouse?

Hey @WinHex89. Thanks for the feature request. Are you thinking that this could be like the native preview that Obsidian has when press cmd or ctrl and hover?


Ebi single cell atlas

Thank you for contributing to easy-data! Please make sure your markdown file explaining the dataset has the following:

[ ] a description of the dataset including a link to the appropriate publication or
reference.
[ ] direct links to download the count matrix (in the form of an easy-to-load file, like a rds file containing an sparse matrix for R and an AnnData hdf5 file or
a mtx file for python).
[ ] direct links to download the metadata (in a csv with rows indexed by cell names).
[ ] sample loading code for R and python.

I'm tidying this up in consultation with the people who did the processing in the group. Apologies for trying to rush this before leaving CA!


Added reconnect_url and changed API to use match rather than if/else

My experimental bot started getting reconnect_url events, which show up as errors. I added an opaque ReconnectUrl type for them, as the documentation says they are "unsupported and experimental".
Also, I replaced the if ty == references with a match pattern, which seemed more idiomatic.

Looks good, thanks! I'll roll this out in an update shortly.


AsyncTargetWrapper and AsyncTaskTarget will enqueue when missing dependency

Further improvements to the lazy initialize behavior introduced with #4023

Cool! Thanks!


im working on compiling for windows from linux

it should come soon but no way to test it

I'm on windows, so I can compile it and test it if you want.

The windows compile did not work. I replaced it with mine

Ah you did well ! I'm gonna remove some artefact of my try in the .toml


Feature/add firo network

Summary by CodeRabbit

New Features

Added support for the Firo blockchain, enhancing multi-chain capabilities.
Introduced new components for sending transactions, including spark-send-tab and transparent-send-tab.
Implemented a tabbed interface for selecting between "Transparent address" and "Spark address" in transaction views.
Added new routes for verifying transactions related to Spark addresses.

Bug Fixes

Improved error handling and validation for transaction inputs.

Documentation

Updated README to include Firo as a supported chain.

Chores

Updated .gitignore to exclude .idea directory.

Fusión


Question related to dataset and create_datasets.py

It seems that create_datasets.py only accepts certain options for online datasets.
Is there any way if we want to use our own data in our local folder?

Yes you can simply create a tfrecord file. The format is
image: string(png encoded image)
label: int32(the class index)

You can use the create_datasets.py as an example to see how to write tfrecords, this way you can easily create a custom dataset from your data.

There are always' Windows fatal exception: access violation 'problems in the code, I would like to ask if it is the version problem of tensorflow.

None of us have ever tested on windows, so I wouldn't be surprised if it didn't work there.


[FEATURE] integrate wasmcloud-control-interface into the repo

Is your feature request related to a problem? Please describe.
Move wasmcloud-control-interface crate into the shared cargo workspace
Describe the solution you'd like

git subtree add -P crates/control-interface https://github.com/wasmcloud/wasmcloud-control-interface.git main
modify Cargo.toml and other things in crates/control-interface to properly utilize the workspace, inherit license and deps from the root
integrate crate release CI, if any (check wasmcloud.yml crates job)
Add path workspace dependency in root Cargo.toml on control interface just like all other subcrates

Resolved by https://github.com/wasmCloud/wasmCloud/pull/927


Question regarging about custom resources and aws-exports

Is there a way to add the outputs of my cloudformation templates of my custom resources to the aws-exports.js module?
Which Category is your question related to?
deploying time (??)
Amplify CLI Version
9.1.0
What AWS Services are you utilizing?
SQS, SNS, Connect, IAM, Cognito, Dynamo, Appsync, Lambda, Cloudwatch, Pinpoint

Related to: https://github.com/aws-amplify/amplify-cli/issues/8886


new search moves

Here are three new search moves for TRS GP from @na2021:

swap the LHS and RHS of a rule in the TRS
randomly shift an existing rule to a new place in the list
introduce new rules which vary the degree of context-sensitivity in an existing rule

Nice!


Fix/security vulnerability

Description of change
This PR aims to fix a number of alerts recently flags by codescanning happen here
As per recommendation, when handling errors or exceptions in a secure system, it is crucial to provide generic messages to users rather than exposing detailed technical information. This approach is backed by various security standards and best practices (such as  OWASP, ISO/IEC 27001, NIST, and PCI DSS) to prevent potential attackers from gaining insights into the internal workings of a system.
Checklist

[ ] Has this branch been rebased on top of the current main branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[ ] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

Can you add some tests to check that the detailed error message is still being logged correctly (as well, as the generic exceptions you have now)?

Can you add some tests to check that the detailed error message is still being logged correctly (as well, as the generic exceptions you have now)?

If you look at the original code, there was no error loggin at all. So, I was adding it for the purpose of help us pinpoint problems more effectively if they occur later

@ince-dbt yep I realise the logging is new, but would be good to have tests for it


New stable release?

@gorriecoe @elliot-sawyer Any chance of having a stable release tag that includes the new configuration options?

tagged


Support shared cache mode

It seems that hishel is currently caching requests with the header Cache-Control: private without a toggle to turn that off.
The use-case is some sort of caching proxy server for my API. The proxy takes the clients request and forwards them to a central server. That request from the proxy to the central server is cached on the proxy side using hishel. Having a way to prevent caching of user-specific data inside the proxy could be useful if I end up with some at one point. Otherwise, the only solution would be to set no-store for them.

Oh, that's a great usage of hishel.
I have never thought to use hishel in such a way.
I believe that would be simple to add; all we need is a new field in the Controller, such as cache_private, which can be true or false (true by default).
Also, we need to add a check for that field here:
https://github.com/karpetrosyan/hishel/blob/5da601237f49b1d67caf695b7f8af32eaf27f8b3/hishel/_controller.py#L138

I created a simple PR #251 that basically does what you suggested @karpetrosyan.


how does react native find ActivityIndicatorIOS when using require('ActivityIndicatorIOS')?

for example, this is the webView.ios.js header
var ActivityIndicatorIOS = require('ActivityIndicatorIOS');
var EdgeInsetsPropType = require('EdgeInsetsPropType');
var React = require('React');
var ReactIOSViewAttributes = require('ReactIOSViewAttributes');
var StyleSheet = require('StyleSheet');
var Text = require('Text');
var View = require('View');

ActivityIndicatorIOS is in Libraries/Components/ActivityIndicatorIOS/ActivityIndicatorIOS.ios.js
while EdgeInsetsPropType is in Libraries/StyleSheet/EdgeInsetsPropType.js
where is the search path setting?

PS: in ListView.js, there is
var React = require('React');

but when is React be installed? package.json doesn't contain it.

The packager uses two methods to look up modules. The first is based on docblock headers: if you write "@providesModule X" in the first docblock this enables require('X'). The other method is Node's resolution.
To answer your question, you are seeing the first type of module resolution. Grep for @providesModule

that's it! thanks for ur help :)
PS: which module is doing the work?

ping @ide

@lzyy what is your question?

@ide the question is I didn't find @proviedModels ReactClass under react-native project, so wondering where does it come from. so after dig into the system node_modules dir, finally found the definition. so find my answer.
the second question is how @provideModeuls module declared in comments make it a real module, it seems is the effort of JSTransform, it has --use-provides-module parameter. but when is JSTransform involved?

When you run the packager and load a bundle, it scans all the files for @providesModule and adds them to the dependency graph: https://github.com/facebook/react-native/blob/4673dca0b0941f9f8a61970b0d0829807f26f9bc/packager/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js#L448

But I can seem to access
const EdgeInsetsPropType = require('EdgeInsetsPropType ') from a file within node modules folder. This project has react-native as it's dependency.
I instead have to specify full path like
const EdgeInsetsPropType = require('react-native/Libraries/StyleSheet/EdgeInsetsPropType')

@jeffpc1993 I still can't get the require statements to work.. I used the full path. I even tried using import statements and I'm still not being able to split my project up into multiple files..

.


chruby: donʼt try to execute .sh files before loading

Iʼm not quite sure why this was here in the first place, but it was causing these errors for me:
_source_from_omz_settings:4: permission denied: /usr/share/chruby/chruby.sh
_source_from_omz_settings:8: permission denied: /usr/share/chruby/auto.sh

As far as I can tell, it should be enough to just check if the file exists and is readable?

:+1: There's no reason for the first part, that will run it, in fact.
/cc @robbyrussell


Bump cert-controller to v0.11.0

What type of PR is this?
/kind cleanup

What this PR does / why we need it
Which issue(s) this PR fixes

Fixes https://github.com/kubernetes-sigs/lws/issues/158
Special notes for your reviewer
Does this PR introduce a user-facing change?

None

/lgtm


minifig:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: Adds in the ability to have sub-figures. It's a small addition but i think a useful one
I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

Could you compare the features of your package with subpar package? I think it would be useful for users to know the differences.

i wasn't aware of the subpar package. that does what i'd intended this to do but seems to be more fleshed out so i'll close this PR


Add automated tests for viewGroup and findCommonTiming

Codecov Report

Merging #226 (e12cd8c) into master (ac2d097) will increase coverage by 0.53%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #226      +/-   ##
============================================
+ Coverage     67.09%   67.62%   +0.53%
- Complexity      695      704       +9
============================================
  Files           107      107
  Lines          2425     2425
  Branches        330      330
============================================
+ Hits           1627     1640      +13
+ Misses          671      656      -15
- Partials        127      129       +2

Impacted Files
Coverage Δ

...gic/commands/schedule/FindCommonTimingCommand.java
8.69% <0.00%> (+8.69%)
:arrow_up:

...ddress/logic/commands/person/ViewGroupCommand.java
61.53% <0.00%> (+30.76%)
:arrow_up:

...u/address/model/person/IsTagInPersonPredicate.java
85.71% <0.00%> (+42.85%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


Columns block

Fix #41
Test URLs:

Before: https://main--vg-macktrucks-com-rd--netcentric.hlx.page/drafts/shomps/redesign/columns/test
After: https://41-v2-columns-block--vg-macktrucks-com-rd--netcentric.hlx.page/drafts/shomps/redesign/columns/test

V2 columns now gather all the text from all the columns and put it inside one column. For the block:

The output is:

The logic should be done for every column like:
columns.forEach(...)

done

We should have two squares, that fit in the container of 1040px:
Both squares should be maximum 512px. The container has a gap of 16px. The square with the text content has some padding:

Done. The container is 1040px. Column max width is 512px (with aspect ratio 1:1 for image and text column is centered).
The text column has left and right padding (56px). There is a 16px gap between columns


REQUEST: New membership for

GitHub Username
baiyutang
Requirements

[x] I have reviewed the community membership guidelines (https://github.com/cloudwego/community/blob/main/COMMUNITY_MEMBERSHIP.md)
[x] I have joined to the Slack Channel and Feishu Group Chat (for Chinese)
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more CloudWeGo repositories

List of contributions to CloudWeGo

PRs reviewed / authored

Finish it & merge into main repository  [kitex-contrib/registry-nacos]
fix #115 [cloudwego.github.io]
基本特性增加锚点 [cloudwego.github.io]
错别字纠正 [cloudwego.github.io]
add a new networking lib [awesome-go]
git action [registry-etcd]
update the server ip as <IP_ADDRESS> [kitex-examples]

Blog

[ Kitex 源码解析] 函数式编程
如何给 CloudWeGo 做贡献
[ CloudWeGo 微服务实践] Nacos 服务发现扩展 (1)
[ CloudWeGo 微服务实践] Nacos 服务发现扩展 (2)

baiyutang participates in the CloudWeGo community actively including the new extension of registry, doc optimization, and  evangelism. I agree with this request.

+1

I agree with @baiyutang's request, thank you for your contribution!

Hi, your request has been reviewed by the project management team and passed with a comfortable majority. Congratulations !
You have been invited to join CloudWeGo and kitex-contrib orgs as public members.
Your certificate for being a member of our community is here.
Welcome to Join us !


Add a new Circuit Maintenance Notification Issue

Plugin version
netbox-circuitmaintenance-0.3.0
NetBox version
3.5
Describe the bug
A clear and concise description of what the bug is.
Hello,
When I try to create a new Circuit Maintenance notification it asks me for these mandatory changes, the last one should be the recipient's email, but it only allows one date and I think it has the wrong spelling of the name.
Circuit Maintenance ID
Subject
Email From
Email Body
Email Recieved (Received)
Please if you could confirm ok to test again, or indicate where and in which part of the code to change it so that it sends mails through my SMTP server.
Thanks for your help.

I believe you have misunderstood the purpose of the plugin. The plugin is designed to manage and parse inbound notifications from circuit providers (i.e. Colt, Verizon, GTT), not to generate maintenance notifications.


Revert "Remove content audit tool jenkins job"

Reverts alphagov/govuk-puppet#7177
Jenkins jobs were disabled because credentials were not set up yet, and were causing errors 4834e705fe61dad365a97519957b59a695d674f8

 (3) Deploy Content Audit Tool to Production

@cbaines Thanks Chris. I've updated the PR description.


Unable to log in with a google account.

I use google to log into toggl, and that doesn't appear to be an option for the toggl button extension.
Environment details

Operation system: macOS 10.12.1, chrome 55.0.2883.95
Extension version: 1.1.0

Expected behavior
Supports login through google
Actual behavior
Only has username/password login
Steps to reproduce the behavior

Install extension
See that there's no option to login with google.

Login with Google is actually indeed not available in Toggl Button. Sorry for the inconvenience!
This option may be added in the future. In the mean time you can either:

- log in to toggl.com with Google > the button will be logged in as well

- use password reset link (https://www.toggl.com/forgot-password) to get a Toggl password to use with the button


[Feature request] output intermediate mime types in cupsfilter

I used https://wiki.debian.org/CUPSFilter to debug a problem recently, and it was a fairly good experience. The hardest part was getting the PPD. However, I noticed that at the end of the tutorial, there is the following diagram on how to check intermediate outputs after each filter:
         +---------+     +----------+              +------------+                 +------------------------+
         |         | pdf |          | vnd.cups-pdf |            | vnd.cups-raster |                        |
test.ps=>| gstopdf |====>| pdftopdf |=============>| gstoraster |================>| rastertogutenprint.5.2 |=>PCL
         |         |     |          |              |            |                 |                        |
         +---------+     +----------+              +------------+                 +------------------------+

One can discover the intermediate filters with cupsfilter --list-filters as shown in this tutorial. But how can one discover the input/output mimetypes of these filters? For example, it's not really intuitive that gstoraster would accept vnd.cups-pdf--I might expect it to accept 'ps' instead.
As a feature request, can cupsfilter output intermediate types, or even this full diagram, with a new command line option?

cupsfilter is not part of cups-filters but of CUPS. Therefore I have transferred your feature request to CUPS.

Whoops, that makes total sense, I wasn't thinking. Thank you!

Not for 2.4.0, but we might be able to add this in a subsequent patch release as a new option to cupsfilter.

[master 054e26fb8] Add --list-all option to cupsfilter (Issue #194)


Formatting wide table converts it to HTML

I have the GitHub Markdown option enabled as I like the extra's it brings, specifically tables, but I have identified one issue.
Consider the following simple table
| Field                    | Maximum |
| ------------------------ | ------: |
| A                        | 65535   |
| A                        | 65535   |
| A                        | 255     |
| A                        | 255     |
| A                        | 1       |

If you Alt+F format this table, everything is cool (well, mostly - I don't know why you don't have any whitespace between the right aligned numbers in the second column and the table "border")
However, if I make one of the cells longer (and therefore assumably hitting an enforced wordwrap in formatted documents), then it goes rather wrong
| Field                    | Maximum |
| ------------------------ | ------: |
| The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. | 65535   |
| A                        | 65535   |
| A                        | 255     |
| A                        | 255     |
| A                        | 1       |

The markdown table disappears and is replaced by raw HTML. Said HTML also contains some really weird sizes. I'm rather glad I didn't have the Format on save option enabled!
For reference, this is the output of the two markdown tables after doing Alt+F
| Field |  Maximum|
|-------|--------:|
| A     |    65535|
| A     |    65535|
| A     |      255|
| A     |      255|
| A     |        1|

<colgroup>
<col width="34%" />
<col width="11%" />
</colgroup>

Field
Maximum

The quick brown fox jumped over the lazy dog.

This is an issue with pandoc (the program MDE uses to reformat text). I've reported there.

Pandoc bug report for reference


Reduce usage and allow tree shaking of lodash

@fluid-experiemental/property-changeset ✅
@fluid-experimental/property-dds ✅

@DLehenbauer can you review this one?
It will be followed up with a 2nd iteration for other packages, after we finish porting to TS and merging current pending PRs.
I didn't want to introduce much conflicts, which would make rebasing a bit challenging.


ssh://git@example.com:2222/repo is handled differently then git@example.com:2222/repo

Operating system
Windows 10 (others as well?)
Kluctl Version
2.16.2
Kubernetes Version
all
kubectl Version
all
Bug description
ssh://git@example.com:2222/repo and git@example.com:2222/repo should be treated identical internally, but it looks like the first one somehow messes up the port internally. More details are needed as I currently don't have time to reproduce this.
Steps to reproduce
No response
Relevant log output
No response

Not able to reproduce this. Might got fixed via a go-git upgrade.


How to handle errors?

How to handle process error and stderr streams?

Hey @IonicaBizau ,
Sorry for the long waiting, I was pretty busy lately.
So... I double check it, and what interesting us is the following lines in the index.js file of the module:
    _proc.stderr.on("data",function(data) {
        _shell.emit('output', data);
    });
    _proc.on('close', function (code) {
        _shell.emit('end', code);
    });

Those lines means that:

if the process outputs and error to the stderr stream, you will get if you listen to the on.output event.
if there is a process error, you will get a 1 code if you listen to the on.close event.

Let me know if you managed to solved this, or you need further help ..
I'd love you to add a star to the project :)
GL and THx :+1:

Hey @IonicaBizau ,
Sorry for the long waiting, I was pretty busy lately.
So... I double check it, and what interesting us is the following lines in the index.js file of the module:
    _proc.stderr.on("data",function(data) {
        _shell.emit('output', data);
    });
    _proc.on('close', function (code) {
        _shell.emit('end', code);
    });

Those lines means that:

if the process outputs and error to the stderr stream, you will get if you listen to the on.output event.
if there is a process error, you will get a 1 code if you listen to the on.close event.

Let me know if you managed to solved this, or you need further help ..
I'd love you to add a star to the project :)
GL and THx :+1:

@rannn505 Thanks for feedback. I created a new project based on this, where I added the error-output event (among other little things): https://github.com/IonicaBizau/powershell
What is strange is that the exit code is 0 even there is an error. It may depend on the command that is executed probably. I'm not a Windows user, but a friend needed this. :grin:


Center alignment

Is anyone working on center alignment? If not, I'll try to take a stab at it (& do a PR if success) since I need it.

Did you ever tackle this @fuzzthink? Looking for the same...

Ya, I remember I coded a solution. Will dig it up & do a PR or reply here

Bump @fuzzthink. If you could post code snippet that center aligned text that would help out a lot!
Trying to figure out if I need to hack internals of this plugin or if I can simply handle it as a post-textwrap function. Thanks!

Paste here of what I had written. Don't think I can answer questions since it's been a long time.
https://gist.github.com/fuzzthink/30d3ba7de34ad4f1effed0123f1ffdcb


How to run Training loop using random search?

Great Work!
I'm trying to repeat the results in your paper, but I'm having trobule using random search to obtain the best results in each dataset.
As you mentioned in the paper, " we extensively tune their hyperparameters using random search", & "We run two sets of experiments with budget of 150 and 500 evaluations".
May I ask how you tune this hyperparameters using random search and how to control the budget of 150 and 500 combinations. I have tried to utilize the skorch package to solve this problem but it failed.
Thanks a lot!

Thank You!
Number of possible hyperparameter settings is very large.
If you try to fit the full grid in memory first and then sample from it, you probably fail due to the full RAM. Skorch could failed because of these memory issues.
We recommend to sample hyperparameters on the fly - it's more memory efficient.
We wrote custom module to create the random search. However we will not share this code at the moment.


#7 add badge for circle ci result

It resolve #7

I forgot update README.md...
I've pushed below.
https://github.com/IsaoTakahashi/jsonApiMock/commit/f99e357323720681ac5f215466880f587382a681


Add Schema namespace to location txn inputs

This was causing location transactions to fail when the smart contract
attempted to read the location schema.
Signed-off-by: Darian Plumb<EMAIL_ADDRESS>

Any way to add a test to catch a regression?

@peterschwarz  We do have CLI tests, but I believe the problem here is in Scabbard since it is not checking the inputs properly for Splinter deployments. I'll check if any of the integration tests would cover this.


[Chore(chains)] sync chains

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

/release-pr


Can't fetch user location, permissions are correct

Maybe I'm doing something wrong, but I can't get user location, it returns nil. Here's how it looks:
def facebook
  @facebook_user ||= FbGraph::User.me(self.facebook_token).fetch
end

def fetch_facebook_data
  self.facebook.name       # => "User Name"
  self.facebook.location   # => nil
end

Also FbGraph::User.me(self.facebook_token).permissions includes `user_location'. Basically, here's what the object I get in @facebook_user looks like:
#<FbGraph::User:0x00000006594df8 @identifier="[filtered]", @endpoint="https://graph.facebook.com/[filtered]",
@access_token="[filtered]", @name="User Name", @first_name="User", @middle_name=nil,
@last_name="name", @gender="male", @locale="en_US", @languages=[],
@link="http://www.facebook.com/profile.php?id=[filtered]", @username=nil, @third_party_id=nil, @timezone=4,
@verified=true, @about=nil, @bio=nil, @education=[], @email="[filtered]", @interested_in=[], @political=nil,
@favorite_teams=[], @quotes=nil, @relationship_status=nil, @religion=nil, @website=nil, @work=[], @sports=[],
@favorite_athletes=[], @inspirational_people=[], @mobile_phone=nil, @updated_time=2011-06-15 12:49:19 UTC>

As you can see, no location. However, it still doesn't raise NoMethodError, but rather returns nil when I call #location method.

When you access to this URL, does the response include "location"?
https://graph.facebook.com/me?access_token=YOUR_TOKEN
If not, it might because of the user's privacy setting.
On 2011/10/13, at 21:37, Roman Snitko wrote:

Maybe I'm doing something wrong, but I can't get user location, it returns nil. Here's how it looks:
def facebook
@facebook_user ||= FbGraph::User.me(self.facebook_token).fetch
end
def fetch_facebook_data
self.facebook.name       # => "User Name"
self.facebook.location   # => nil
end
Also FbGraph::User.me(self.facebook_token).permissions includes `user_location'. Basically, here's what the object I get in @facebook_user:
#<FbGraph::User:0x00000006594df8 @identifier="[filtered]", @endpoint="https://graph.facebook.com/[filtered]", @access_token="[filtered]", @name="User Name", @first_name="User", @middle_name=nil, @last_name="name", @gender="male", @locale="en_US", @languages=[], @link="http://www.facebook.com/profile.php?id=[filtered]", @username=nil, @third_party_id=nil, @timezone=4, @verified=true, @about=nil, @bio=nil, @education=[], @email="[filtered]", @interested_in=[], @political=nil, @favorite_teams=[], @quotes=nil, @relationship_status=nil, @religion=nil, @website=nil, @work=[], @sports=[], @favorite_athletes=[], @inspirational_people=[], @mobile_phone=nil, @updated_time=2011-06-15 12:49:19 UTC>
As you can see, no location. However, it still doesn't raise NoMethodError, but rather returns nil when I call #location method.
--
Reply to this email directly or view it on GitHub:
https://github.com/nov/fb_graph/issues/134

You're right, it appears to be not a fb_graph gem issue, there's no location field there either. Thanks.
However, I cannot seem to find this setting in facebook, that says apps can't access my location. I only found a setting for my particular app and it says it has permission to access location.

FB's privacy setting is labyrinth..


fix(bezier-rs): new_rect constructor create linear segments

Closes #1696
new_rec constructor now should create linear segments instead of cubic segments.

!build


Calling kafka topic ConfigureSagas(context) only works correct for one topic.

Contact Details
No response
Version
8.x
On which operating system(s) are you experiencing the issue?
Windows
Using which broker(s) did you encounter the issue?
Kafka
What are the steps required to reproduce the issue?
1. Create a saga and a saga state machine configured with a message.
2. Create a rider and register all sagas and saga state machines.
3. Setup two Kafka topics for that message and call ConfigureSaga(context)
4. Run the program and send the messages on both topics.
...

What is the expected behavior?
The message should be sent to the state machine if sent on either topic.
What actually happened?
Only the first topic will direct the message to the state machine. The other topic will skip it.
Related log output, including any exceptions
If i call ConfigureSaga<MessageName>(context) instead of ConfigureSagas(context) it works.

Link to repository that demonstrates/reproduces the issue
No response

If you want to configure any consumer type more than once, just must specify it explicitly. Methods like ConfigureConsumers and ConfigureSagas will only configure consumers and sagas that have not already been configured on another endpoint.
Use the generic overload version and specify the saga type explicitly on each endpoint.


python311Packages.adb-enhanced: 2.5.18 -> 2.5.21

Diff: https://github.com/ashishb/adb-enhanced/compare/refs/tags/2.5.18...2.5.21
Description of changes

Things done

Built on platform(s)

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

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

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

[ ] 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.

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

4 packages built:

python310Packages.adb-enhanced
python310Packages.adb-enhanced.dist
python311Packages.adb-enhanced
python311Packages.adb-enhanced.dist


Abilene Christian University Herbarium (ACU)

Provider API Endpoint / Documentation
https://portal.torcherbaria.org/portal/collections/misc/collprofiles.php?collid=485
Provider description
This is a Darwin Core formatted data dump of CC BY-NC scientific grade images of plant observations.
Licenses Provided
CC BY-NC
Provider API Technical info
We would implement this much in the same way as iNaturalist was implemented. See WordPress/openverse#1608 for the history and discussion of that project.
We would need to reference (scrape) this page to know when a new dataset was available for processing: https://portal.torcherbaria.org/portal/collections/datasets/datapublisher.php
The dataset link is stable and the upstream provider images for the dataset are torcherbaria links.
Checklist to complete before beginning development

[X] Verify there is a way to retrieve the entire relevant portion of the provider's collection in a systematic way via their API.
[X] Verify the API provides license info (license type and version; license URL provides both, and is preferred)
[X] Verify the API provides stable direct links to individual works.
[X] Verify the API provides a stable landing page URL to individual works.
[X] Note other info the API provides, such as thumbnails, dimensions, attribution info (required if non-CC0 licenses will be kept), title, description, other meta data, tags, etc.
[X] Attach example responses to API queries that have the relevant info.

Implementation

[X] 🙋 I would be interested in implementing this feature.

Duplicate of #1346


nawk: 20240422 -> 20240728

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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.

Add a :+1: reaction to pull requests you find important.

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

4 packages built:

nawk
nawk.man
noweb
noweb.tex

bison seems to be needed as nativeBuildInput as the package fails with bison: command not found otherwise. Any idea what else might be going wrong, @AndersonTorres?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1886

Would be be willing to help getting this merged, @JohnRTitor?

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

4 packages failed to build:

nawk
nawk.man
noweb
noweb.tex

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

4 packages built:

nawk
nawk.man
noweb
noweb.tex

Thanks for much for helping getting this merged, @JohnRTitor, very helpful and very much appreciated 💯


Johnny/normalize domain

Normalize domain before resolving.
Pivotal story: https://www.pivotaltracker.com/story/show/179239708

@JohnnyJumper
Why getRecord method hasn't unchanged? I think we need this domain normalization on all methods
Instead of adding normalizeDomain usage in each method you could use getRecord method with domain normalization built-in.
For example:
    @Override
    public String getRecord(String domain, String recordKey) throws NamingServiceException {
        domain = normalizeDomain(domain); // domain is normalized there
        return findService(domain).getRecord(domain, recordKey);
    }

    @Override
     public String getIpfsHash(String domain) throws NamingServiceException {
         String recordKey = "dweb.ipfs.hash";
         return getRecord(domain, recordKey); // Just use getRecord from Resolution class
     }

    @Override
    public String getAddress(String domain, String ticker) throws NamingServiceException {
         String recordKey = "crypto." + ticker.toUpperCase() + ".address";
         try {
            return getRecord(domain, recordKey); // Just use getRecord from Resolution class
        } catch(NamingServiceException exception) {
            if (exception.getCode() == NSExceptionCode.RecordNotFound) {
                throw new NamingServiceException(NSExceptionCode.UnknownCurrency,
                    new NSExceptionParams("d|c", domain, ticker));
            }
            throw exception;
        }
    }

I thought it would be more readable if we explicitly normalize the domain in each method. Specifically, because some of the methods are not using the getRecord. For example getOwner, getDns or getTokenURI.
I have updated the code to normalize the domain inside the getRecord and utilize such everywhere is applicable.


RNTester, Unable to Run.  'Unrecognized color scheme. did you mean dark or light ?'

Followed the Running on IOS preciseley as described at https://github.com/facebook/react-native/tree/master/RNTester.
Build Succeeds but does not run.
React Native version:
<EMAIL_ADDRESS>Steps To Reproduce
As descibed here https://github.com/facebook/react-native/tree/master/RNTester

git clone https://github.com/facebook/react-native.git
cd react-native
npm install
brew install cocoapods
cd RNTester; pod install
Open the generated RNTesterPods.xcworkspace in Xcode
Click Build and Run

Build is successfull. Run fails

Describe what you expected to happen:
App to  run successfully.

Hi there, could you help out by posting your Xcode version and Cocoapods version? I wasn't able to reproduce this issue on my side.

Xcode 10.3
cocoa pods 1.5.3
thanks for looking into this @bartolkaruza


Exception: Access violation - no RTTI data

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Platform
PC

SDK Version
The one embedded in the unity package

Language
C#

Unity Wrapper version
build 2.18.1   downloaded here

Unity version
2018.3.6f1

Issue Description
I get
Exception: Access violation - no RTTI data!
rs2_playback_device_pause(device:0000000042EDD020)

when I try to control the playback of a bag file. I have created a playback device by calling playBack = PlaybackDevice.FromDevice(ActiveProfile.Device), but when I try to call Pause() or Resume() I get the exception above.
What does this error mean, and how can I fix it?

Hi Dealerpriest,
Sorry for taking a while to come over to this issue.
Wonder if you have any update on this one? And any change if using latest LRS release?
If it persists, would you please share a simplified test code to help replicate & debug it?
Thanks!

Hi Dealerpriest,
Any update? If nothing else is needed, this one will be closed soon.
Thanks!


performance on Voxceleb1?

How about the performance

Just notice this paper https://arxiv.org/pdf/1812.00271.pdf

Hi Mirco,
Thanks for sharing this code. Very cool toolkit. Recently I am working on Sincnet on voxceleb1. But the performance is not well. Could you please give me some suggestions? I removed the silence using webrtcvad.
Thanks.
Lin
epoch 0, loss_tr=6.254185 err_tr=0.976379 loss_te=6.414922 err_te=0.987285 err_te_snt=0.973458
epoch 8, loss_tr=3.098647 err_tr=0.626692 loss_te=6.009328 err_te=0.905808 err_te_snt=0.778572
epoch 16, loss_tr=2.121552 err_tr=0.451692 loss_te=5.882671 err_te=0.857070 err_te_snt=0.673373
epoch 24, loss_tr=1.655752 err_tr=0.362991 loss_te=5.679876 err_te=0.823700 err_te_snt=0.611926
epoch 32, loss_tr=1.369494 err_tr=0.305188 loss_te=5.745930 err_te=0.811133 err_te_snt=0.595928
epoch 40, loss_tr=1.167458 err_tr=0.263594 loss_te=5.790279 err_te=0.797424 err_te_snt=0.579203
epoch 48, loss_tr=1.023051 err_tr=0.233562 loss_te=5.812299 err_te=0.780975 err_te_snt=0.566356
epoch 56, loss_tr=0.911310 err_tr=0.210032 loss_te=5.868678 err_te=0.771352 err_te_snt=0.541268
epoch 64, loss_tr=0.828135 err_tr=0.192578 loss_te=5.780817 err_te=0.767120 err_te_snt=0.550358
epoch 72, loss_tr=0.761099 err_tr=0.177930 loss_te=6.150887 err_te=0.759397 err_te_snt=0.538965
epoch 80, loss_tr=0.707083 err_tr=0.166238 loss_te=5.915407 err_te=0.758966 err_te_snt=0.542359

Hi,
one risk with SincNet is overfitting and apparently you are observing this
issue as well. SincNet can tune its filters according to the training
conditions and if such conditions are very different from test ones you can
see overfitting. A good property, however, is it possible to adapt SincNet
very quickly to the new domain if you have adaptation data (this is due to
the drastically reduced number of parameters). Unfortunately, this is not
possible with VoxCeleb. To make a SincNet system working on this dataset, a
lot of efforts should be devoted to avoid overfitting. In our case, we have
achieved good performance by coupling SincNet with a semi-supervised
strategy that acts as a powerful regularizer (see
https://arxiv.org/abs/1812.00271). We are also working on other ideas to
help SincNet fighting overfitting.
Best,
Mirco
On Thu, 8 Aug 2019 at 12:35, linjucs<EMAIL_ADDRESS>wrote:

Hi Mirco,
Thanks for sharing this code. Very cool toolkit. Recently I am working on
Sincnet on voxceleb1. But the performance is not well. Could you please
give me some suggestions? I removed the silence using webrtcvad.
Thanks.
Lin
epoch 0, loss_tr=6.254185 err_tr=0.976379 loss_te=6.414922 err_te=0.987285
err_te_snt=0.973458
epoch 8, loss_tr=3.098647 err_tr=0.626692 loss_te=6.009328 err_te=0.905808
err_te_snt=0.778572
epoch 16, loss_tr=2.121552 err_tr=0.451692 loss_te=5.882671
err_te=0.857070 err_te_snt=0.673373
epoch 24, loss_tr=1.655752 err_tr=0.362991 loss_te=5.679876
err_te=0.823700 err_te_snt=0.611926
epoch 32, loss_tr=1.369494 err_tr=0.305188 loss_te=5.745930
err_te=0.811133 err_te_snt=0.595928
epoch 40, loss_tr=1.167458 err_tr=0.263594 loss_te=5.790279
err_te=0.797424 err_te_snt=0.579203
epoch 48, loss_tr=1.023051 err_tr=0.233562 loss_te=5.812299
err_te=0.780975 err_te_snt=0.566356
epoch 56, loss_tr=0.911310 err_tr=0.210032 loss_te=5.868678
err_te=0.771352 err_te_snt=0.541268
epoch 64, loss_tr=0.828135 err_tr=0.192578 loss_te=5.780817
err_te=0.767120 err_te_snt=0.550358
epoch 72, loss_tr=0.761099 err_tr=0.177930 loss_te=6.150887
err_te=0.759397 err_te_snt=0.538965
epoch 80, loss_tr=0.707083 err_tr=0.166238 loss_te=5.915407
err_te=0.758966 err_te_snt=0.542359
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mravanelli/SincNet/issues/56?email_source=notifications&email_token=AEA2ZVTWAB4QDFIX5EAHHUTQDRDM5A5CNFSM4IJCMVQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34GDFY#issuecomment-519594391,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEA2ZVTBEEEOVRNFHS7EBLTQDRDM5ANCNFSM4IJCMVQA
.

Thanks man. I will try to address overfitting problem.

Thanks man. I will try to address overfitting problem.

I also met this problem, in my own data, could you give me some advices to address overfitting?

@linjucs can you please share your work with voxceleb1? my email is<EMAIL_ADDRESS>I am trying to test it with vox1 as well. Do you try verification task? I don't know how to deal with that? thank you very much!


Rbac, readme and deploy script updates

Things in the PR:

added rbac folder to deploy.sh and remove.sh in the private-network-ibft-and-orion folder
added deploy and remove scripts to the other kubectl folders
updates to the README's

In the ./deploy.sh script in the private-network-ibft-and-orion folder there is a small mistake (my own from the previous PR). The rbac folder is not added in the deploy script, so prometheus is not deployed. Thought it also would be nice to have the same deployment scripts for the other private network deployments as well. This for consistency across the repo and I think it is easier to run deploy/remove scripts than to copy paste kubectl lines.
Always open for feedback!

Nice! One change though would be to put the deployements as the last step in the deploy.sh becuase they often depend on the secrets / configmaps. The remove.sh that removes them first is perfectly fine though

@joshuafernandes  Ah I see, good point! Made the change in my last commit.
Thanks for the quick review response!


X is not allowed in the libfuncs

At the moment the devnet it 1 to 1 with tesnet1 however it has some limitation.
For example when trying to make use of check_ecdsa_signature(a, b, c) compiling and declaring this the contract I'm running into
Compilation failed. Error: Libfunc ec_point_from_x_nz is not allowed in the libfuncs list 'Default libfunc list'
I know this limitation was lifted from testnet2.
Would it be possible to to do the same for the devnet?

Are you using a custom compiler?

Yes, I'm trying with compiler alpha.7

Can you provide a minimal contract which causes this failure? Are you able to compile it locally? I assume you need to provide some flag(s) to the compiler; do you know which ones?

Managed to declare the small contract I sent but with the full contract we are developping it I'm still running into:
Error: Libfunc ec_point_from_x_nz is not allowed in the libfuncs list

Just tried with this:
#[account_contract]
mod ArgentAccount {
    use ecdsa::check_ecdsa_signature;

    struct Storage {
        lama: felt252,
    }

    #[external]
    fn test(hash: felt252, signature: Array<felt252>) -> bool {
        check_ecdsa_signature(hash, lama::read(), *signature[0], *signature[1])
    }
}

Ok when declaring, the order of args matter... So my mistake!

Doing first:
starknet-compile ../contracts/ account.json --allowed-libfuncs-list-name experimental_v0.1.0
Then
starknet declare --feeder_gateway_url http://<IP_ADDRESS>:5050/feeder_gateway --gateway_url http://<IP_ADDRESS>:5050/gateway --compiler_dir ../cairo/target/release --wallet=starkware.starknet.wallets.open_zeppelin.OpenZeppelinAccount  --network alpha-goerli --contract account.json

I am not able to compile this lama account contract. Which compiler should I be using? Are there any other dependencies?

Still using alpha.7

I am able to compile and declare the lama account contract. I used v1.0.0-alpha.7 when compiling and configured Devnet to use the same compiler.

If anyone runs into this, you need to declare using --network alpha-goerli2


Allow untyped scripts and data

Currently, we have an implementation of typed scripts that is embedded in the PSM API. This disallows testing with untypesafe data - essentially assuming that PlutusTx library is doing its job correctly. We should enable testing with untyped data.
Ideally the way to do this is to add untyped types and use them exclusively in the core API, adding typing in a layer on top.

cc @KristianBalaj

Will create a PR this week.

@KristianBalaj I have instead created #71, wich adds instances that will allow untyped scripts to be used with the current API.


uget-portable:Add persistence

share\locale for storing translated documents

What do you mean with translated documents? I cannot find any reference to capability of translating downloaded documents or anything like thi

The following downloads are for pre-compiled packages that you can use to install uGet. 7z Archive is the main file that includes the uGet application. Locale 7z is the archive that includes the Translations files, if your preferred language is something other than English, you’ll need to download the Locale file.

See https://ugetdm.com/downloads/windows/

Would not make sense to rather download all locales and extract it?

Most people whose native language is not English need to extract translation files from the LOCALE.7Z to the share\locale
If we add it to the persistence, then when people upgrade the small version(look like 2.2.1->2.2.2), there is no need to add translation files.

Of course.I assume the translation files are unchanged when uget upgrade a small version.

After https://github.com/lukesampson/scoop/pull/3518 is merged we can update the LOCALE.7Z.


Disable Unique constraint before update and re-enable it after

It would be nice EF Core could expose a way to drop a constraint before updating the entities and re-create it after the update with the use of a transaction to be able to rollback if the constraints can not be apply because some of the new value violate the constraint.
if i try to update these entities, normally and exception will be thrown.
Before:
id: 1, childId: 1
id: 2, childId: 3
now:
id: 1, childId: 3,
id: 2, childId: 1
It would be event better if that could be do in the Update method of the context.
When updating context, it's save the constraint and recreate the same way it was in Database.
Context.Parent.UpdateRange(ParentList);
So EF core will translate to something like :
1- Create transaction
2- Get constraint for the table used by the entities that we try to update
3 - Drop the constraint
4- Update entities
5- Recreate the constraint
6- If no error, commit the transaction, otherwise rollback and throw UpdateDBException
The other alternative is to use a dummy column (updateInProgress) that we populate with the id of the entities that we update and after the update we clear the dummy column, but it cumbersome to do manually (using the repository pattern will remove some of the cumbersomeness).

@Davilink This is not something we are planning to implement in EF Core. Dropping and recreating constraints can be a can of worms in several ways--other constraints may need to be dropped first, permissions issues, etc. Also, even if we did this, SaveChanges would likely not work because it wouldn't be able to find a safe other to make the changes. The typical workaround is to go through an intermediate state where a temporary value is used as a placeholder and then updated in a second step.

is there a way to just disable implicit foreign key constraints entirely?

@NullVoxPopuli EF doesn't care whether the database actually has FK constraints or not. So if you would prefer that they not be there, then you can remove them. However, if EF attempts to read data that doesn't align with your EF model, then the behavior is undefined, so you will need to be very careful to have consistent data when accessing it through EF.


Add rtd-theme and fix S3 metric in dashboard

This modifies the sphinx doc-building to use the Read-The-Docs theme. Now the docs/conf.py is nearly the same as the one in StreamAlert.
This also fixes the S3 metrics in the CloudWatch dashboard to reference the appropriate storage types.
to: @ryandeivert
cc: @airbnb/binaryalert-maintainers

Coverage remained the same at 95.52% when pulling 482d8a6fedd5d02f1fc25f8c28ee806c1b0c2874 on abb--fixes into 4578949e4af841cde337f5f835c9e46a034789ef on master.

Coverage remained the same at 95.52% when pulling e0f7a379f31f14d4952f232102fcdb9f893b9eca on abb--fixes into 4578949e4af841cde337f5f835c9e46a034789ef on master.


September 24th 2024 MicroProfile Technical Meeting video

Here is the link to the video for upload to YouTube. Please update the Meeting Minutes with a link to the recording.
Thanks!

updated


Handling of function type-

Nice module, though I was facing an issue while using the function type.
So while converting joi schema  push: j.function().required() to typescript type using this module leads to
push?: (...args: any[]) => any;
whereas the correct output should be  push: (...args: any[]) => any;

yep sounds like an issue where functions don't respect the required option

I just looked though my notes and looks like .function() hasn't been supported yet but somehow works most of the time, should be easy to add

https://github.com/mrjono1/joi-to-typescript/pull/149 looks like the issue can affect a few things

resolved https://github.com/mrjono1/joi-to-typescript/releases/tag/2.2.2


check-ex-spec backup logging

(this PR is built on the dr-bg branch ... only commit dd6e314 is new)

merged as e7622f7


Razor tooling tracks which projection buffer to use

This is an infrastructure item that will fundamentally unify how Razor functions in the IDE between open files and closed files.
This blocks our ability to do many additional enhancements:

partial classes
edit and continue
refactoring

LSPification will address this.


Catchup with upstream

Coverage decreased (-0.2%) to 99.768% when pulling 9d42ab8017d04db50c786ccdc7352ebaee0af65c on CyberiaResurrection:CatchupWithUpstream into 42681cedc584e02dae8fde81b71d7e7001390519 on Algo-Web:master.


Occasionally I  can't deploy a new control plane after deleting an earlier one

Bug description
Do  istioctl manifest apply --set profile=demo
Then a istioctl manifest generate --set profile=demo | kubectl delete -f -
and follow it with another  istioctl manifest apply --set profile=demo
I get the following:
proto: tag has too few fields: "-"
Error: failed to generate and apply manifests, error: failed to generate manifest: failed to determine JWT policy support.
I'm not sure if there is something during the delete that is causing an issue or if maybe there is an underlying IKS isse.
Expected behavior
I should be able to remove and add another Istio control plane.
Steps to reproduce the bug
 istioctl manifest apply --set profile=demo
istioctl manifest generate --set profile=demo | kubectl delete -f -
 istioctl manifest apply --set profile=demo
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istioctl version
2020-02-25T18:52:39.168707Z	warn	will use `--remote=false` to retrieve version info due to `no Istio pods in namespace "istio-system"`
1.5.0-beta.3

k version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-13T18:08:14Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3+IKS", GitCommit:"f60ec7e9eb2b798894c7c3997d0d9d506bbd9615", GitTreeState:"clean", BuildDate:"2020-02-12T10:08:16Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)
IKS

This might be an issue with kctx and IKS contexts, so closing for now.


Adding contributor information in the About Page

Original Issue https://github.com/oss-slu/lrda_website/issues/181
Description
As a developer,
I want to add contributor information to the About page of the website,
So that users can see and acknowledge the developers who contributed to the project.
Tasks

[ ] Design a section on the About page to display contributor(yours) information.

[ ] Ensure that the layout is clean and visually appealing.

[ ] Add GitHub and LinkedIn links for contributors (if you have both).

[ ] Include relevant roles or contributions for each developer (if available).

[ ] Ensure all links are functional and direct to the correct profiles.

[ ] Verify that the information is displayed correctly across different browsers.

[ ] Confirm the section is visually consistent with the rest of the About page.

Hey there @BaloneyBoy97  can i take this up

sorry man that is for the capstone student