Follow path should have 2 strategies: Rigid and Smooth

https://github.com/decentraland/sdk7-utils/blob/393f3f8de94f0d67d70ef34b206b8598210fce52/src/path.ts#L47
When we zero out the value (assign 0 to it) it can cause jitters when moving faster and low FPS as it transitions between 1 segment to the other.  The object position gets set to 0 for next segment when we should instead carry forward the excess so the lerp is smoother.
I can see use cases for both
RIGID - if you need the object to hit each point exactly.  Like hitting each point of a structure like the points of a star shape
SMOOTH - if you need the path to be smooth even if it cuts corners
See how NPC utils did it
https://github.com/decentraland/decentraland-npc-utils/blob/main/src/npc/move.ts#L41

@AN-DCL  rigid is if you need the thing following to exactly hit the point.  Think traveling a 5 point star with sharp corners the lerp will likely cut corners.   Smooth will cut the corner.  Could be a need for one over the other.

I still see SMOOTH is not implemented
https://github.com/decentraland/sdk7-utils/blob/393f3f8de94f0d67d70ef34b206b8598210fce52/src/path.ts#L47
To achieve smooth you need to keep track of the overage.
path.normalizedTime = 1- path.normalizedTime

I still see SMOOTH is not implemented

It is implemented.


Closes #113 | Create dataset loader for HSE Thai

Closes #113
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/hse_thai/hse_thai.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

I've run the test and it works. I agree with @ljvmiranda921's suggestions, and I have left further comments on the license.

Friendly reminder for @khelli07 to address @yongzx and @ljvmiranda921's suggestions.

Hmm, I downloaded the original data from the original source (http://web-corpora.net/ThaiCorpus/search/). But unfortunately I have no idea at all since I do not understand Thai. Here are some screen shoots.
List of folders:

File inside folders: (most are XML)

I can guess that <se> is sentence, <w> is word.   For a language identification, I guess I just make 1 sentence 1 data row. 1 sentence is constructed by merging all the black string inside the the <w>. But yeah for this, translation and parts of speech tagging, I might have to pass this task to someone else :)

Hmm, I downloaded the original data from the original source (http://web-corpora.net/ThaiCorpus/search/). But unfortunately I have no idea at all since I do not understand Thai. Here are some screen shoots.
List of folders:
File inside folders: (most are XML)
I can guess that <se> is sentence, <w> is word. For a language identification, I guess I just make 1 sentence 1 data row. 1 sentence is constructed by merging all the black string inside the the <w>. But yeah for this, translation and parts of speech tagging, I might have to pass this task to someone else :)

Hmmm, let me ask our Thai contributor. Hello @mrpeerat, could you please help @khelli07 understand this dataset? 🙏

Hmm, I downloaded the original data from the original source (http://web-corpora.net/ThaiCorpus/search/). But unfortunately I have no idea at all since I do not understand Thai. Here are some screen shoots.
List of folders:
File inside folders: (most are XML)
I can guess that <se> is sentence, <w> is word. For a language identification, I guess I just make 1 sentence 1 data row. 1 sentence is constructed by merging all the black string inside the the <w>. But yeah for this, translation and parts of speech tagging, I might have to pass this task to someone else :)

Hmmm, let me ask our Thai contributor. Hello @mrpeerat, could you please help @khelli07 understand this dataset? 🙏

Hi, to construct the sentence, you can merge all the words  (the black word) in the same sentence (), as you mentioned. For the translation, all the blue words are word translation (word-to-word translation) and should not be used as sentence translation (you can see that the meaning is usually incorrect if you concatenate all the translation words together in the same sentence). For the PoS, the PoS is designed for English, not Thai. Feel free to ask more if you have any questions :)

the PoS is designed for English, not Thai

Hi, can you explain what do you mean by this?
Also, so far, what I understand on what I need to do is:

Instead of using Kaggle source, use the original source.
The task is still language identification /modelling (same as the original issue) since a) the translation is not valid for translation task; and b) because of a), PoS is also not valid for PoS tagging task.

Am I correct?

the PoS is designed for English, not Thai

Hi, can you explain what do you mean by this?
Also, so far, what I understand on what I need to do is:

Instead of using Kaggle source, use the original source.
The task is still language identification /modelling (same as the original issue) since a) the translation is not valid for translation task; and b) because of a), pos is also not valid for PoS tagging task.

Am I correct?

I looked at the PoS and found that some of them were annotated for the translation word, not for Thai. For instance, given the word "กับ", the PoS annotated that it is possibly a noun, preposition, or conjunction. However, the dataset said "preposition". But, in Thai, the word should be "prepositional phrase". In this case, it looks like the translation and the PoS of the translation are correct. But the PoS of Thai is incorrect.

Correct.
2a. It's a word-to-word translation (source=>target translation but doing only one word at a time and omitting the semantics of the sentence). So I don't know if it is useful for 2024 or not since we have a lot of bi-lingual corpora
2b. Correct

Hi @khelli07, I would like to let you know that we plan to finalize the calculation of the open contributions (e.g., dataloader implementations) by 22 May, so it'd be great if we could wrap up the reviewing and merge this PR before then.

The download is soooo slow :' )

The download is soooo slow :' ) *it's not my internet, but i think its the server's upload ability (this happened to me before)

Hi @khelli07, did you manage to download it?

Hi @khelli07, I would like to let you know that we plan to finalize the calculation of the open contributions (e.g., dataloader implementations) in 31 hours, so it'd be great if we could wrap up the reviewing and merge this PR before then.
cc: @yongzx @ljvmiranda921

Hi @khelli07, thank you for contributing to SEACrowd! I would like to let you know that we are still looking forward to completing this PR (and dataloader issues) and maintaining SEACrowd Data Hub. We hope to enable access to as many standardized dataloaders as possible for SEA datasets. ☺
Feel free to continue the PR whenever you're available, and if you would like to re-assign this dataloader to someone else, just let us know and we can help. 💪
Thanks again!
cc: @ljvmiranda921 @yongzx


add location tabs to heatmap bottom view port

need to add three location tabs to heatmap bottom view port (currently one table showing all source IPs/query counts). * discussion and feedback needed *
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: yuncmsft sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

LOoks like you have decided to go with enum for heatmap type with fixed set of names that can be given instead of $expand. Looks fine to me.

@lmazuel  do you recall what's the deal with this one? should it be merged?

ping @lmazuel  :)

@yuncmsft can you please address the changes requested?

CLosing since there's no response from @yuncmsft please request to reopen if required

Automation for azure-sdk-for-js


Advanced loggers

It would be nice to use Tensorboard or any other advanced logging tool with evojax.
Looks like it should be straightforward to allow the user to implement a log_reward function that could be passed to the trainer.
I'm willing to implement this in a PR.

Hi, thanks for the suggestion, it sounds great and I'm looking forward to your PR.
One principle to keep in mind is that we try to make EvoJAX have few dependencies.


Provided information about agile framework and methodology

I added two resources for learning more about agile framework and methodology and provided brief description for each.

Should I remove them from software engineering and move them under development process? Also I am not sure what you mean by "Also I'd expect a cleanup of things like "potential topics" when you are committing to the file.". Further explanation on this would be really helpful.


The debug constant is automatically set in wp-config.php when you run yarn start. When you exit out of yarn start, the debug constant is removed.

The debug constant is automatically set in wp-config.php when you run yarn start. When you exit out of yarn start, the debug constant is removed.
Originally posted by @lots0logs in https://github.com/elegantthemes/create-divi-extension/issues/5#issuecomment-560203378
To adress this:
I'm working on a Mac with MAMP and this did not work - it was not allowed to touch the wp-config.php but it did not throw any error/message either - an error message would have helped me extremely while setting up.

@florianschommertz Can you please run yarn start --verbose, perhaps it might show us messages that might point us in the right direction?

@lanresmith Thank you for your response.
Short answer: no additional output
Long answer:
I made several setups in my ~/ folder with existing and with brand new folders
It works only on my desktop in a folder that I call "localhost" and a map with name "localhost"
All other tries:
I tried yarn run start --verbose
made new installs with and without "npx" (by copying existing DIVI Module Folder with package.json to other paths)
used other prefixes
tried npm run start
created a blank wp-config.php with a Terminal in MacOSs "rosetta" and in "arm" mode, I gave terminal system wide folder access and restarted the Terminal.
it never saves the necessary php debug constant to wp-config.php
BUT
It throws an error when I remove the wp-config.php
when I rename wp-config.php while "yarn start" is running and I stop "yarn start" with "cntrl c" it also throws an error
It want's to access/use wp-config.php but the file stays untouched.


added some information to README and removed pkgdatadir CLI option wh…

…ich is now useless

[Current coverage][cc-pull] is 96.11%

Merging [#36][cc-pull] into [master][cc-base-branch] will decrease coverage by -0.00%

@@             master        #36   diff @@
==========================================
  Files             6          6
  Lines          1260       1259     -1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1211       1210     -1
  Misses           49         49
  Partials          0          0

Powered by Codecov. Last updated by [674747e...25dd0a8][cc-compare]
[cc-base-branch]: https://codecov.io/gh/p4lang/p4c-bm/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/p4lang/p4c-bm/compare/674747ea31ac1fc6751fa11285d4cfd286e5e444...25dd0a81b997c2bba371678d7a5bd6903b9a2d44
[cc-pull]: https://codecov.io/gh/p4lang/p4c-bm/pull/36?src=pr


allow more configuration options for ObjectStore

Currently there are little options available for creating an ObjectStore. Especially if you want to customize the underlying OSObjectStore.
The use case I am facing is using a google cloud object store. The current implementation will always read it from the env. I'd like to be able to either pass in the OSObjectStore directly, or allow for more customization.
The DeltaTableBuilder is a good example. It provides many utility options for customizing the underlying object store.

Related: #1541

@wjones127 I'd like to work on this one. feel free to assign to me!


Deployment to Sepolia using erigon sequencer Failed

System information
Ubuntu 22.04 - amd64
Commit id
1c5956d
Tools versions
I'm getting and error deploying to Sepolia using erigon sequencer.
sudo kurtosis engine restart

sudo kurtosis clean --all

sudo kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .

Description & steps to reproduce
sudo kurtosis engine restart

sudo kurtosis clean --all

sudo kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .

Desired behavior
Should deploy CDK on Sepolia
What is the severity of this bug?
Critical; I am blocked and Kurtosis CDK is unusable for me because of this bug.

I have also updated zkevm_agglayer_image: 0xpolygon/agglayer:0.1.4, and got the same error.

The Sepolia guide has been updated. This issue should have been fixed!


Further Democracy refactoring

Democracy pallet is currently huge and there are a number of subsystems that could be split out into their own pallets to increase modularity, code-reuse, maintainability, &c.

Refactor public proposal queue into its own pallet.

Support arbitrary number of tabling origins, not just public and "external" (council).

Refactor Preimages into its own pallet.

There should be a composable way to allow other pallets to express the hashes for which pre-images are allowed to be given and whether or not it needs a deposit.

Refactor DispatchQueue into its own pallet.
Refactor proxy into its own pallet.

A proxy pallet would be configured at the runtime-aggregation level with a determinator to tell whether a given dispatchable is valid for proxying. Typically this would preclude transfer but include governance stuff.

Refactor DispatchQueue into its own pallet.

@coriolinus maybe you could work on this? We could reuse this in Cumulus.


Recaptcha validator does not use field data

The Recaptcha validator grabs a specific field by name instead of using field.data (link to line below). This means that an HTML form must send the recaptcha value as g-recaptcha-response or the validator fails. Our frontend is a react app that does not use wtforms to generate the HTML. And uses the actual form field names inside POST data.
https://github.com/lepture/flask-wtf/blob/master/flask_wtf/recaptcha/validators.py#L40
class TokenForm(Form):
    """Evaluate login attempts with optional recaptcha."""

    email = StringField(validators=[validators.DataRequired()])
    password = StringField(validators=[validators.DataRequired()])
    recaptcha = RecaptchaField()

If the form data is passed as {... "recaptcha": "recaptcha_response_value"}, the validator fails even though it has the data in the passed field instance.
Our REST api and frontend rely on field names matching. Is there a workaround for this?

Workaround:
from flask_wtf.recaptcha import Recaptcha

def validate_recaptcha(form, field):
    """Validate recaptcha response."""
    # Recaptcha validator only looks for data in a hard-coded field name
    # https://github.com/lepture/flask-wtf/issues/370
    request.json["g-recaptcha-response"] = field.data
    return Recaptcha()(form, field)


get-dockerip.sh: line 11: syntax error: unexpected end of file

I am getting this error
get-dockerip.sh: line 11: syntax error: unexpected end of file

me too

Check the file. Must be Linux not Windows

@senzacionale  Sorry but I don't think this explanation is clear enough.
Are you saying that the containers should be Linux or that the Host operating system should be Linux?

Important is end of file line. If you are on Linux, then must be end of file Linux formatted and not Windows formatted.


Update approval-admin.md

Added Approvals - Parent App section as the feature is releasing. This will help Admins understand the integration between the two apps.

@JohanFreelancer9

Copy review - @ConnorR777, kindly commit the suggested changes. Many thanks.

Done

@JohanFreelancer9 any thing more needed to get the changes merged? Thanks!


How to get a key event type ?

How can I get the type of a key event (keypress, keyup, keydown etc...)?
This is my code:
<div id="client-editor-container">
                            <ckeditor #ckeditor
                            [(ngModel)]="newPagecontentEditor"
                            [config]="{uiColor: '#99000', removePlugins: 'magicline'}"
                            [readonly]="false"
                            (change)="onChange($event)"
                            (ready)="onReady($event)"
                            (focus)="onFocus($event)"
                            (blur)="onBlur($event)"
                            (contentDom)="onContentDom($event)"
                            debounce="500">
                          </ckeditor>
                        </div>
`

Have you tried with setKeystroke() or this or this? @andrew123d: try to find the solution you need in the closed issues before ask a new question.

Sorry, I didn't find this information in closed issues. Thank you for links. Sorry again.


Fix issues with GA4 link tracking identified by performance analysts

Hi @andysellick / @JamesCGDS - would either (or both) of you be able to approve this PR?
Also, do you think this is too many changes in one branch? I like to tackle multiple tickets at a time, but I appreciate that some people would treat each commit as a separate PR.
Thanks :+1:
What

Strips out _gl and _ga query parameters from being pushed with link clicks
Adds a link_domain field which tracks what protocol and domain the clicked link is pointing to (e.g. https://www.gov.uk or https://example.com)
Adds a link_path_parts object which stores strings. These are the clicked link's path, split at every 100 characters.
Changes the link_method key to just be method.
Strips line breaks and multiple spaces in link text before being pushed to the dataLayer.
Updates the docs to reflect the above changes.

Why

The _gl and _ga query parameters are used for cross domain tracking to identify a user across domains. It isn't useful for the link click tracking as it won't tell us anything, and they are long query parameters which is wasting precious space.
Adds  link_domain value. This was requested by the PAs as it will be useful for them to see which domains are being clicked. It will also be needed to reconstruct long URLs in Data Studio that have been split up - related to the next point:
Adds a link_path_parts object. GA4 only allows event values to be a maximum of 100 characters. Therefore, a lot of the link URLs were being cut off after 100 characters, which means we are pushing incomplete data to GA4. To solve this, we have created an object which dynamically adds the path of the URL, split every 100 characters. We have set a limit of splitting it into a maximum of 5 parts (500 characters) - this can be changed if the analysts want. The analysts also requested we add the link path to this object, even when the whole link is under 100 characters.
Changes the link_method key to just be method because GA4 already has a method key configured, so there was no point in having our own key called link_method.
We strip line breaks and multiple spaces in link text as this was causing visual issues in the GA4 dashboard.

Visual Changes
None.

Thanks @andysellick - I've made the requested changes where I could, and have left conversations unresolved where I need your input (make sure to expand the hidden conversations!)

Thanks @andysellick - I've made those changes.


Consider adding back the --debug flag

I don't think there is any tool out there which has an equivalent functionality.
The problem with intelliJ is that I don't think it is designed for reverse engineering APKs when you don't have the source code. Setting up a project from an APK with no source code is very difficult in intelliJ. Personally, I couldn't get this to work after spending a day on it. I suspect that it isn't possible.

I suppose this is probably possible to do with aapt2, but aapt2 is highly difficult to use.

Debug has run its course and won't make a return. It was a feature that was great in the early times, but keeping it stable and actually supported is a nightmare.
We are talking about a feature that just injected special line items into a file to trick an IDE into 1) thinking it was a real code snippet and 2) that it could be debugged.
That was massively broken between the active IDEs and was a constant struggle to get it to work with every update. On the flip side, the smali project iteration is an actual plugin which grants much more flexibility and thus the preferred solution.


[5.7] Allow for explicit text parameters on Authorize middleware

Pull Request #25763 broke some non documented functionality (explained here #26422) related to the Authorize middleware.
The previous implementation would allow to set an Authorize for a Gate with an optional parameter. That could be useful when the 'can' middleware is attached directly into the controller method (instead of a route) and thus act on multiple routes that access such method.
The current (master) implementation sends a string with the value of the Authorize argument if it's not a route parameter. This is behave ambiguous as any argument on the middleware can mean either a parameter of the request named after it or it's own name depending of the conditions a layer of abstraction up.
This PR solves this issue while still allowing the Authorize middleware to send string values to Gates by explicitly defining them as string using single or double quoted values on it's arguments, thus removing the ambiguity:
    // this should only send and route parameter to the gate or null if not available
    Route::middleware('can:ability,model');

    // This will send a string to the gate
    Route::middleware('can:ability,"some text"');

TL;DR; This reverts the default bahaviour to prior PR #25763, while still allowing string parameters.

I'm not sure I plan to change this behavior at this time.


General Improvements to UI, New Content & Configurability

About this fork
This adds major improvements by me, magistermaks and others.
The Code has been refactored a lot and much has been made OOP. This allows for easier modification
List of changes

Adding, Deleting and Drag&Drop in the genome editor

The genome editor will scroll if a cell has too many codons to fit the screen

Copy/Paste in and out of the genome editor. (if you paste and nothing happens, the formatting of you genome string is erroneous; note the format changes mentioned above) - use this to save you written genomes

The coding of the Codon now is OOP, it is much easier to add more

Lots of new Codon types. With this it is now possible to write a cell that can defend itself against viruses.

Writing 'Epigenetics' onto the gene codons. (MemTo & MemoryLocation)

HandMove Degree (0, 90, 180, 270, or any other degree)

Debug mode to experiment with writing genomes without worrying about the cell dying. You can activate it by changing DEBUG_WORLD = false; to DEBUG_WORLD = true; It is the first line of virus.pde

Change game speed (fixed, orig. forked from LegendaryHeart8)

Resizeable window size (fixed, orig. forked from Games-Crack)

Various improvements by magistermaks

Mutations (WIP)

Better GUI (graphics, graph, divine controls, etc)

Rendering optimisations

Settings (+ map editing - world.json)

Keyboard controls

New cell types

Breaking changes

if you want to move the hand to the cursor you must use Move Hand Cursor instead of Move Hand RGL(0,0). RGL is always relative to the hand for hand specific commands

Also the encoding of the Genome is slightly different to the original, but everything besides the way RGL are saved is the same way.

Plans:

Clone (reproduces the cell adjacent to the wall the hand is pointing at)

Inject - inject a particle into a neighboring cell the hand is pointing at

Check - see if Energy, Wall health, Codon health is over 50%

Fix rendering bugs occuring at high simulations speeds

Todo

Consider removing the credits added
On startup ask which mode user wants to try, include 100% backwards compatible mode
Documentation of new codons

oh yes this is all very good

I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :(

I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :(

Hello,
i will try fixing this for you. Please open an issue here: https://github.com/sirati/VirusGame/issues
Also please explain how you were zooming? Mouse? Touchpad? Keyboard? In-game Buttons?

I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :(

Hello,
i will try fixing this for you. Please open an issue here: https://github.com/sirati/VirusGame/issues
Also please explain how you were zooming? Mouse? Touchpad? Keyboard? In-game Buttons?

Touchpad, although it should still be sending up/down scroll events like normal...

Touchpad, although it should still be sending up/down scroll events like normal...
Are you having the same issues with the latest version of carykh?

Touchpad, although it should still be sending up/down scroll events like normal...

Are you having the same issues with the latest version of carykh?

Nope

I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :(

Should be fixed. relevant issue is here: https://github.com/sirati/VirusGame/issues/6

Oh wow, I just noticed this pull request - it's amazing how much work you guys have put into improving it! I see it's still technically a work in progress, so I won't merge it until it's in a mostly-complete state. But given that I still want to make a "Virus Simulator - Part 4/4" at some point in the future, it'd be awesome to use this improved version to film it!
So yeah, thanks for all your hard work, sirati, Bastian, benplate8, magistermaks, LegendaryHeart8, and others. so infectious

Oh wow, I just noticed this pull request - it's amazing how much work you guys have put into improving it! I see it's still technically a work in progress, so I won't merge it until it's in a mostly-complete state. But given that I still want to make a "Virus Simulator - Part 4/4" at some point in the future, it'd be awesome to use this improved version to film it!
So yeah, thanks for all your hard work, sirati, Bastian, benplate8, magistermaks, LegendaryHeart8, and others. so infectious

Haha thanks. You can try out the current progress here: https://github.com/sirati/VirusGame/releases
BTW would you mind adding some license to your code ^^

BTW would you mind adding some license to your code ^^

No problem! I just added an MIT license to my original VirusGame repo now. https://github.com/carykh/VirusGame


Fix commenting feature in H sigils

Problem
Commenting in *.heex files works as expected with <%!-- ... --%> tokens introduced by #14.
In H sigils though, commenting does not work because code is considered as classic Elixir code (# ... token is used).
commenting_issue_in_h_sigils.webm
Solution
Make VSCode consider code inside H sigils as phoenix-heex language, leveraging the embeddedLanguages feature.
commenting_issue_in_h_sigils_solved.webm

❤❤❤🐥🔥


Discrepancy between 'bin/storage databases' and 'bin/storage destroy'.

Running:

phacility/arcanist@1a3afa4
phacility/libphutil@cab51ef
phacility/phabricator@c3913f5
MariaDB 5.5.40
PHP 5.4.16

Executing bin/storage databases doesn't list the DB phabricator_timeline, but when running bin/storage destroy it tries to DROP this DB and then fails like this:
Dropping database 'phabricator_slowvote'...
Dropping database 'phabricator_timeline'...
[2015-01-26 19:12:19] EXCEPTION: (AphrontAccessDeniedQueryException) #1044: Access denied for user 'phabricator_base'@'localhost' to database 'phabricator_timeline' at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:301]
  #0 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:275]
  #1 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:181]
  #2 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
  #3 queryfx(AphrontMySQLiDatabaseConnection, string, string) called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDestroyWorkflow.php:70]
  #4 PhabricatorStorageManagementDestroyWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:396]
  #5 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:292]
  #6 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/sql/manage_storage.php:171]

Filed now in the correct place at https://secure.phabricator.com/T7044


use poetry 1.2.0 stable

Codecov Report

Merging #15 (481b55e) into main (7783c1b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          261       261
  Branches        51        51
=========================================
  Hits           261       261

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Ease log dependency

Fixes #113

Oh. >0.3 is a good idea!

So if log 0.5 breaks again, we need another PR to fix it? 🤣

@BusyJay we don't need to publish a new version if log 0.5 published, as long as info!, trace! and so on interfaces are not changed.


fix: add

closes #issueNumber
Checklist for profile addition

[x] Name the PR fix: add <your-username>.
[x] You've added file named your-username.json in the profiles directory.
[x] You've linked the PR to the correct issue.

Other additions/changes

[x] Changes made in this PR are mentioned below
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.
[x] I've read the contributing guidelines

This PR adds/fixes

Notes

I additionally Added the README.md Section where I listed all the user name with link to there Images and created a file to do the same.

Hey @ultimate-disturbing-element,
thanks for raising this pull request. And thanks for your contribution!
Unfortunately this is something we do not want to add right away to this repository because this will clutter the README file.
Hope you understand. If you think this is a change really needed to boost this repo and bring it to the next level feel free to open an issue first.

Benefits of creating an Issue first

We get to discuss options before time is spend on making the changes
Others can get involved in helping make the changes

In an issue you can also refer to this PR.
If you want you can add your profile anyways 🚀


the results of retrieval

Hey @eladsegal, @mega002 👋
Wondering if the results of retrieval (say, top 10 documents for the instances in train and evals) are available somewhere?
I know the instructions for building a retrieval index are in the repo, however, it's not an easy process. Having the retrieved document accessible can make any future adoption easier.
FYI @yeganehkordi

Hey @danyaljj!
The top 10 paragraphs for each question in the official training set (which in this repository is split to train.json and dev.json) are available in https://github.com/eladsegal/strategyqa/blob/a330fe4ebfa42b05c694bbd9ada1fee9110a130e/data/strategyqa/queries_cache.json.
As for the gold paragraphs, they are available in https://github.com/eladsegal/strategyqa/blob/a330fe4ebfa42b05c694bbd9ada1fee9110a130e/data/strategyqa/strategyqa_train_paragraphs.json.
In https://github.com/eladsegal/strategyqa/blob/a330fe4ebfa42b05c694bbd9ada1fee9110a130e/src/data/dataset_readers/strategy_qa_reader.py you can see usage examples of these files via get_elasticsearch_results for queries_cache.json and get_elasticsearch_paragraph for strategyqa_train_paragraphs.json.

Thanks!

The top 10 paragraphs for each question in the official training set (which in this repository is split to train.json and dev.json) are available in https://github.com/eladsegal/strategyqa/blob/a330fe4ebfa42b05c694bbd9ada1fee9110a130e/data/strategyqa/queries_cache.json

Does this cache also contain the retrieved documents using the test questions?
I suppose we needed the retrieved documents to evaluate the model (trained with IR paragraphs) on the test examples.

@eladsegal pinging the thread, in case it went unnoticed.

Thanks, I did miss it!
The cache only contains retrieved documents for the train questions, but it does make sense to provide it for test as well.
I will update queries_cache.json.

Thanks, @eladsegal ! 🙏

Done!


Testhound/cuda cuberoot

This pull request implements the cuberoot function as an intrinsic for the cuda backend. This functionality is based on this issue:
https://github.com/numba/numba/issues/6051 (Cube Root Intrinsic for CUDA)

Buildfarm ID: numba_smoketest_cuda_yaml_4.

Buildfarm ID: numba_smoketest_cuda_yaml_4.

CUDA Smoketest numba_smoketest_cuda_yaml_4 was fine.

CUDA Smoketest numba_smoketest_cuda_yaml_4 was fine.

CUDA Smoketest numba_smoketest_cuda_yaml_4 was fine.

Thanks @esc!

CUDA Smoketest numba_smoketest_cuda_yaml_4 was fine.

Thanks @esc!


multi-sample (multi-timepoint) somatic variant calling

currently, somatic variant callers only do pairwise (tumor-normal) calling. It is more and more common to have a normal and multiple time-points (or multiple spatial samples) of the tumor.
It would be great if freebayes had a model for calling these types of datasets.
This would require specifying which was the normal sample and which were the tumor samples associated with each normal.
I'd be happy to help to try to validate/compare to existing methods.

Thanks @brentp (we just discussed this here at Utah). I think it's doable if the priors are modified to use a kind of two-level Ewens sampling formula. The first would be typical, and would apply to the specified normal sample. The second would use a different prior for the rate of somatic variation and would apply to the other (somatic) samples. We'd also need a way to specify which sample was which on the command line. The nice thing about this is that it would generalize to two or many samples.


fix issue Issue 4993 - Temporary values and opIndexAssign

I think this pull is just same as #763.
I'd like to add test for 4993 into #763, and after that you'll close this pull.
How about you?

Sure, that's fine with me.

OK, finished.


kubernikus feature

How to categorize this PR?

/kind TODO
/area os
/os garden-linux
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

cc @gehoern

closing in favour of https://github.com/gardenlinux/gardenlinux-ccloud


Nix Commands Segfault when Updating Nixpkgs Input in a Flake.

Describe the bug
All nix related commands segfault (nix eval, nix-shell, nixos-rebuild, etc)
Steps To Reproduce
Step 1: Run nixos-rebuild build-vm --flake github:DrMkdaddy/NixOS-Config#nixos
Step 2: Attempt running any nix command.
Expected behavior
The nix command to resolve as expected (nix-shell -p package to spawn a shell with that package.)
Will update when I reboot my system to a working generation and run the command.
Additional context
Coredump is attached.
core.nix.1000.c108b661b37f42dba732b9220ba41c57.11861.1713651007000000.zst.gz (I had to gunzip it.)
The only working revision of Nixpkgs I know of is rev 12303c652b881435065a98729eb7278313041e49

Are you using fish as your shell?

If it happened only with fish I'd have stopped using Fish and called it a day but it happens in Bash as well.

I'm unable to build your config as-is:
$ nixos-rebuild build-vm --flake github:DrMkdaddy/NixOS-Config#nixos
building the system configuration...
error:
       … while calling the 'seq' builtin
         at /nix/store/v4pcs3nzx54m5bmxd39win0rgl2d2hbx-source/lib/modules.nix:322:18:
          321|         options = checked options;
          322|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          323|         _module = checked (config._module);

       … while calling the 'throw' builtin
         at /nix/store/v4pcs3nzx54m5bmxd39win0rgl2d2hbx-source/lib/modules.nix:298:18:
          297|                     ''
          298|             else throw baseMsg
             |                  ^
          299|         else null;

       error: The option `nixpkgs.packageOverrides' does not exist. Definition values:
       - In `/nix/store/32qh1x2n4n7xjypklyxldigj50za1anx-source/nixos/configuration.nix': <function>

note that packageOverrides have been deprecated for years in favour of overlays

Sorry I had some edits I had made a while back.  You should be able to pull my flake now since I forgot to push them.

Sorry for not having reproducing the error be smooth I had entirely forgotten to reduce all friction while writing the post.

Not too sure if this influences anything but here was my response from nix-info when I ran it:

system: 0
host os: Linux 6.8.6-lqx2, NixOS, 24.05 (Uakari), 24.05.20240419.5c24cf2
multi-user?: no
sandbox: yes
version: 0
nixpkgs: not found

in the VM I built from the flake I provided. I don't know whether or not to consider it but the nixpkgs: not found seems odd.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nix-commands-segfault-when-updating-nixpkgs-input-in-a-flake/44486/1

It's due to your custom kernel. See NixOS/nix#9725.
Fixed in nix 2.21 onwards.

Thank you very much for pointing this out.


Add reset button.

After selecting some rating, we have no ability to reset value. In my opinion, additional parameter for add reset button will be useful.

Why not just modifying the scope value ?

Hi @vyacheslav-lonschakov,
The problem of line breaks can be solved using some css. I updated this codepen for you with what you need : http://codepen.io/vlafranca/pen/GoxVKL
Thanks


Bridge stops working after a few minutes

First of all: Hackworth great job! Thanks.
But I also have one problem.
I've installed Vera HomeKitBridge on my Raspberry Pi (newest Debian Jessie OS) as described on your readme file. I've edited config.json (Veras IP Adress / Garage door names not changed). Everything works fine with EVE and MyTouchHome. I can see most of my 22 Vera Devices...
After a few minutes the iOS apps are no longer connectet with Vera HomeKitBridge. It seems that the bridge will not work anymore.
After deleting the HomeKit on my IPhone and start searching the Device (Bridge) in EVE or MyTouchHome nothing is found.
I've tried to  "nam run start" but it seems that Bridge is still running.
I've rebooted my Raspberry, started again HomeKitBrige and its working again - but only for 5 minutes, then the same problem occurs.  :'(
Any Ideas?
(If you need a log file, pleas let me know how to create it - unfortunately I'm a beginner ;)

I don't mean to offend but...

When you start the bridge, how do you do it? What OS are you using?
If you are using a remote console like SSH through putty or terminal, you close the bridge as soon as you close the window.
When you lose connection to the bridge, it should mean that the bridge crashed and you should see an error list displayed on the session. If you have closed it... which I am suspecting is what happened, you already killed the bridge.
You normally should not have to remove anything from EVE or mytouchhome. Restarting the bridge should recover all your devices. When the bridge crashes, the devices should only be grayed out.

Thanks for your quick reply :+1:

I work directly on the raspberiy via monitor/keybord (I've also tried via Terminal from my Macbook, but if, the window was allways open). I change to VeraHomeKitBride directory and start with "npm run start". A list of all devices is shown, and at the first time also all switch commands from EVE (on my iOS 9.2 iPhone).
After x minutes every device (and also the Bride) is shown as "not available" and actually "last seen 10 minutes ago" (translated from german) in EVE (im mytouch home everything is grayed out). Also Siri says that she can't do it (switching on the light for example).

I see no error list on the screen, it shows the last switching command and nothing else.

Crazy: while I wrote this, I saw on the Pi Monitor that the Bridge starts reading the status of all my devices, and now I can see and control everything again on EVE.
And now, 4 minutes later the same problem: not available on EVE

Damn... I've got it.
It was a WIFI problem. It seems that thy system is very sensitive in case of a bad or shortly interrupted wifi connection...  I've connected the Raspbery via lan cable and now it works fine for more than 1 hour :)
But thanks for your support rafale :+1:


Minor improvement on exception messages for matrix dimensions

Hi,
Just thought it would be cool to have matrix dimensions specified in the exception - to have an operation against nonconformant matrices crash with "Matrix dimensions must agree: op1 is 2x1, op2 is 1x3" rather than just "Matrix dimensions must agree".
So, as Math.Numerics is so great, I decided to go an extra mile and changed (where applicable) all the places where you throw that exception. Hope it will be helpful.
It's my first use of Git at all, so if there's anything I could have done better from "the process point of view" please let me know!
Thanks,
Andrew

Hi Andrew and Christoph,
thanks for the good work on this update. One thing though; the Silverlight resource strings have not been properly updated, so when building the solution the Silverlight library fails to build:
C:\mathnet-numerics\src\Numerics\LinearAlgebra\Generic\Matrix.Arithmetic.cs(1328,51): error CS0117: 'MathNet.Numerics.Properties.Resources' does not contain a definition for 'ArgumentMatrixDimensions3'
C:\mathnet-numerics\src\Numerics\LinearAlgebra\Generic\Matrix.Arithmetic.cs(1335,51): error CS0117: 'MathNet.Numerics.Properties.Resources' does not contain a definition for 'ArgumentMatrixDimensions2'
C:\mathnet-numerics\src\Numerics\LinearAlgebra\Generic\Matrix.Arithmetic.cs(1342,51): error CS0117: 'MathNet.Numerics.Properties.Resources' does not contain a definition for 'ArgumentMatrixDimensions1'

Compile complete -- 3 errors, 0 warnings

For completeness, please also make a commit where you have Run Custom Tool on the Resources.resx file in the Silverlight project.
Thanks in advance,
Anders @ Cureos

Anders, thanks for heads up - I didn't have Silverlight installed so this one slipped through!
Just sent another pull request with the fix.
--Andrew


Limit clause in subquery can cause outer query to fail if the outer query is an aggregation

Description
Limit clause in subquery can cause outer query to fail if the outer query is an aggregation with org.apache.druid.sql.calcite.rel.CannotBuildQueryException: Subquery could not be converted to GroupBy query.
Motivation
This might be related to https://github.com/apache/druid/issues/8774 and https://github.com/apache/druid/pull/8775
I have reproduced the following in CalciteQueryTest

SELECT m2, AVG(dim1) FROM (SELECT * FROM foo AS t1 INNER JOIN foo AS t2 ON t1.m1 = t2.m1 LIMIT 10) AS t3 GROUP BY m2
Fails with org.apache.druid.sql.calcite.rel.CannotBuildQueryException: Subquery could not be converted to GroupBy query

SELECT m2, AVG(dim1) FROM (SELECT * FROM foo AS t1 INNER JOIN foo AS t2 ON t1.m1 = t2.m1) AS t3 GROUP BY m2
Works fine.

SELECT t1.m2, AVG(t1.dim1) FROM (SELECT * FROM foo LIMIT 10) AS t1 INNER JOIN foo AS t2 ON t1.m1 = t2.m1 GROUP BY t1.m2
Works fine.

SELECT m2, dim1 FROM (SELECT * FROM foo AS t1 INNER JOIN foo AS t2 ON t1.m1 = t2.m1 LIMIT 10) AS t3
Works fine.

I believe Druid should be able to handle this case. Am I missing anything on why we are not able to support this?

I can no longer reproduce this issue.

I think I fixed it in https://github.com/apache/druid/issues/9949#:~:text=May 31%2C 2020-,Fix Subquery could not be converted to groupBy query %239959,-Merged


test: setup playwright snapshot test for components

add generating snapshots for components
add snapshot tests
add workflows for tests and updating snapshots
config playwright

Some useful links how to solve with snapshot issue on GitHub:

https://github.com/microsoft/playwright/issues/13466
https://mmazzarolo.com/blog/2022-09-09-visual-regression-testing-with-playwright-and-github-actions/
https://playwright.dev/docs/test-snapshots
https://github.com/microsoft/playwright/issues/7575
https://playwright.dev/docs/api/class-testproject#test-project-snapshot-path-template
await page.evaluate(() => document.fonts.ready);

MR closed due to inactivity, tests will be implemented later on if needed.


Editing Byte in Hex Mode

Describe the bug
1)While editing Hex byte when cursor position at upper nibble and if left arrow key is press the cursor jump to next byte upper nibble actually cursor must go to lower nibble position of same byte.
2)When Allow Zoom option in Option menu is uses the editor Box expand but Blinking Cursor size in not Increase
Thank you

Thank @satishmunot  for this issue 😄
I will check this and apply correction over github project

The cursor position is ok
_ need to work over the cursor position on all edit scenario. I think @ehsan69h will work on this ? 😄

Thank you Derek Tremblay
On Wed, Dec 23, 2020 at 8:27 PM Derek Tremblay<EMAIL_ADDRESS>wrote:

Closed #60 https://github.com/abbaye/WpfHexEditorControl/issues/60.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/abbaye/WpfHexEditorControl/issues/60#event-4144500950,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYRGTSYV5XEMXOK3WOJO43SWIAMZANCNFSM4KVX6KKQ
.

--
Regards
Satish S. Munot.
INDIA
+919762581658

I will work on all caret issue soon as possible :)
Thank for support @satishmunot

Great, thanks!
On Thu, Dec 24, 2020 at 9:44 AM Derek Tremblay<EMAIL_ADDRESS>wrote:

I will work on all caret issue soon as possible :)
Thank for support @satishmunot https://github.com/satishmunot
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/abbaye/WpfHexEditorControl/issues/60#issuecomment-750732026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYRGTVBLG7RE2UH6WELWIDSWK54DANCNFSM4KVX6KKQ
.

--
Regards
Satish S. Munot.
INDIA
+919762581658


deleted algorithm  are not deleted from the ETCD /algorithms/queue/

HKube micro-service
ETCD cleaner
Describe the bug
deleted algorithm  are not deleted from the ETCD /algorithms/queue/

@tamir321
This should be auto-deleted, eventually...

tested on
systemVersion: "v1.3.130",
fullSystemVersion: "v1.3.130-1601470196131",


Arrived aircraft will show in the list

If a flight departs a watched airport (e.g. KPDX) and flies then lands at the destination the flight plan will show again in the vatsim list because they are not moving.
Sample record of a flight that left KPDX and landed but showed up again:
{
  "_id": {
    "$oid": "64d13f89661a3de5f12b8b1f"
  },
  "callsign": "DAL3133",
  "groundspeed": 0,
  "rawAircraftType": "H/B78X/L",
  "departure": "KPDX",
  "arrival": "PANC",
  "cruiseAltitude": 380,
  "route": "ARRIE TOU PRYCE BKA LAIRE JOH WITTI4",
  "squawk": "1545",
  "remarks": "PBN/A1B1C1D1L1O1S2 NAV/RNVD1E2A1 DOF/230807 REG/N891SB EET/CZVR0034 PAZA0139 RMK/THE DELTA VIRTUAL /V/",
  "__v": 0
}

This will require #492 before anything can be done about it

This was fixed with #492


move generator require to the top

fixes #904

Current coverage is 34.18% (diff: 100%)

Merging #905 into development will not change coverage

@@           development       #905   diff @@
=============================================
  Files                7          7
  Lines             1012       1012
  Methods            128        128
  Messages             0          0
  Branches           158        158
=============================================
  Hits               346        346
  Misses             666        666
  Partials             0          0

Powered by Codecov. Last update a7d1931...72f4a48

And please amend your current commit.
i.e. submit either one or two commits, not a third one to fix your own indentation bug.


:bug: Clean up shadow CRDs after API bindings are deleted

Summary
When all API bindings that use a particular APIResourceSchema are deleted, the CRDs that back those bindings need to be deleted.

Fixes #2300

https://github.com/kcp-dev/kubernetes/pull/110 is required for this PR in order to stop KCP from panicking upon CRD deletion.

LGTM - please squash!
/approve

/lgtm

/cherry-pick release-0.9

Fixes https://github.com/kcp-dev/kcp/issues/2304


About the download being disabled if stream is still live.

I'm wondering if this is because the changes on twitch or a deliberate decision. Personally i download the stream of an art streamer that keeps the VOD up until the end of the stream before deleting it, that way you can check the work of past hours without him taking a warning DMCA (he has music on). With this new change I lose the ability to download it before he deletes the VOD. Is it possible to have that feature back?
Thank you.

This is a deliberate decision. And I want to make the following points clear:

If the streamer decides to delete his streams, you should not have them either
If he is an art streamer and at the same time uses copyright protected media on his stream, he contradicts himself or is basically a hypocrite. Probably he would be pissed if someone stole and used his art, right?
I don't provide the means to download illegal streams (which they are, when downloaded and containing copyright protected media).

Creating art while using others art illegally... cannot support that, sorry.
How come I react so sensitive? I am a musician with an album on the market. So no, that "feature" won't come back ever again..


Use Prepack's evaluator for constant evaluation

If we switched out Babili's constant evaluation with the Prepack's I think this would push Babili to the winning side in terms of bundle size and potentially execution time. It doesn't have to use all of Prepack's fanciness -- just evaluating straightforward constants (no "abstract interpretation" and
"heap serialization").
On the downside, this will surely add to the compile time and might become more of a pressing problem (it can be then switched on/off via an option).

An interesting idea that would be pretty awesome! That vs path.evaluate

I tried this out naively, and it can work - not sure how much we can control transformations from prepack's API.
const prepack = require("prepack");

module.exports = function prepackPlugin({ template }) {
  return {
    visitor: {
      Program: {
        enter(path) {
          path.node.body = template(
            prepack.prepackFromAst(path.node, path.getSource()).code
          )();
        }
      }
    }
  };
};

My initial thoughts is that we either have to fork prepack's evaluator or convince maintainers to make it's own package. That way we can either integrate it natively into Babel replacing path.evaluate or we can just use it here.
@boopathi do you know if the evaluator is easily exportable from prepack?


Setting default headers causes concurrent access errors (E_CHANGED_STATE)

Setting default headers before using a httpclient causes concurrent access errors (E_CHANGED_STATE: A concurrent or interleaved operation changed the state of the object, invalidating this operation.).
To reproduce see following example: https://gist.github.com/martinraiberfc/46ad7fc6e5c6e2516f09f78d1e234f3e
This perhaps needs to be documented or somehow fixed. As a work-around the headers can be set via a custom request filter.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b195d006-dff9-0a63-7008-3f50887c3be9
Version Independent ID: a2f8a231-97e4-6f69-7100-93e19171ecb5
Content: HttpClient.DefaultRequestHeaders Property (Windows.Web.Http) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.Web.Http/HttpClient.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Thanks, @martinraiberfc. I'll investigate whether the behavior is considered a bug or not.
-Steve

UPDATE: Thanks for your patience: we can't reproduce the issue as described. So I'll go ahead and close this for now, but we can reopen if it different data comes in.
Thanks!
-Steve

@stevewhims FYI. We have encountered this bug while developing a feature for React Native Windows. Had to implement a workaround.
The bug is intermittent, but we'll try to come up with a consistent reproducible case.

@JunielKatarn How did you workaround this issue? We worked around it by setting the HTTP headers in each request. The problem is that I guess that makes the multi-threading bug just harder to hit and we are currently running into this with wider testing.


fix token name typos in comments

Ref: https://github.com/yaml/libyaml/pull/59

Applied. Pushed. Thanks!


Update Links “tiktok-31”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: e37b4b572ccae49c00261f87f73d90d16b3e691e
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/611801a4f0195600085ab87d


Mechanism to protect (data-only) containers against removal

As a docker administrator I'd like to have a way to protect (data-only) containers against accidental removal since deleting one container could lead to serious data loss (all the information the container has since the last backup), as this would make containers usage more secure for a production server.

also see https://github.com/docker/docker/issues/9878

+1

this is a duplicate of https://github.com/docker/docker/issues/9878


Can we adjust react grid layout in which column width will be adjusted as 'n' column wide?

Adjust the grid settings so that they are only three "Columns" wide. This is meaning that a single widget can take up a 1/3 of the grid, 2/3 of the grid or 3/3 of the grid with. This means when you adjust the width of the widget it should snap to one of these 3 options.

@PriyankaBhise
I think this is already the case? Unless I misunderstand you. You can provide the cols property to the Grid or Responsive components in order to set the number of columns. If resize is enabled (true by default), it will automatically snap to a column when you resize a component

My cols value is ,cols={{ lg: 32, md: 32, sm: 10, xs: 6, xxs: 4 }} , I want only 1/3, 2/3, 3/3 widgets on a column,

suppose total cols width is 33, If I want,
1/3 of widgets then total widget size will be 33
2/3 then 1st widget can be 11 and 2nd can be 22 or 1st can 22 and 2nd can 11
3/3 then all 3 widgets will be of size 11 each.
As in diagram. I want widgets with config 2/3, and 2nd widget is of size 22,and 1st if of 8 and there is some remaining space with size 3. So, I want the first widget get snapped with the size 11 automatically even if I resize it to  7 or 8. and if try to increase the size of 2nd widget (which is 22 now) then 2nd widget should occupy whole column space with size 33, and 1st widget should be moved to next column.

@JamesRamm My cols value is ,cols={{ lg: 32, md: 32, sm: 10, xs: 6, xxs: 4 }} , I want only 1/3, 2/3, 3/3 widgets on a column,

suppose total cols width is 33, If I want,
1/3 of widgets then total widget size will be 33
2/3 then 1st widget can be 11 and 2nd can be 22 or 1st can 22 and 2nd can 11
3/3 then all 3 widgets will be of size 11 each.
As in diagram. I want widgets with config 2/3, and 2nd widget is of size 22,and 1st if of 8 and there is some remaining space with size 3. So, I want the first widget get snapped with the size 11 automatically even if I resize it to 7 or 8. and if try to increase the size of 2nd widget (which is 22 now) then 2nd widget should occupy whole column space with size 33, and 1st widget should be moved to next column.


Lock down InfluxDB to only be accessible via localhost by default

Attempt number 2 did it! Safe defaults for production environments. Closing as completed.


CoreOTA

CoreOTA was envisioned as a collection of cooperating libraries each handling a specific aspect of the previous OTA Agent’s behavior (MQTT messaging, job parsing, interfacing with the AWS IoT OTA service). These libraries would be strung together by an ‘Orchestrator’ which would be created by the end user. The Orchestrator could be simple as a single pass through of functions or as complex as a full fledged OTA Agent.
For CoreOTA, the AWS IoT Jobs library has been updated to version 1.4.0 which expands the provided set of library functions to better integrate with IoT Jobs. The completely new MQTT streams library adds component support for the MQTT streams produced by IoT Jobs. With these libraries a user can easily implement custom OTA handling using an AWS IoT OTA update.
As of 11/22/2023 documentation and demo updates are pending.

This work has been completed


UpdateStrategy incorrectly set to OnDelete for StatefulSets

The documentation states that the default for UpdateStrategy is RollingUpdate if unspecified. However I found this to be set to OnDelete at the moment. Applying the following diff fixed the issue:
diff --git a/pkg/controller/stateful_sets.go b/pkg/controller/stateful_sets.go
index 3fdebcd..f4d5434 100644
--- a/pkg/controller/stateful_sets.go
+++ b/pkg/controller/stateful_sets.go
@@ -134,6 +134,9 @@ func (hc *HabitatController) newStatefulSet(h *habv1beta1.Habitat) (*appsv1beta1
 					},
 				},
 			},
+			UpdateStrategy: appsv1beta1.StatefulSetUpdateStrategy{
+				Type: appsv1beta1.StatefulSetUpdateStrategyType(appsv1beta1.RollingUpdateDeploymentStrategyType),
+			},
 		},
 	}

Also updating from k8s.io/api/apps/v1beta1 to k8s.io/api/apps/v1beta2 or k8s.io/api/apps/v1 should also fix this but it remains to be decided which one to update to.

Updating to v1beta2 is the mid-term solution, but it's blocked by https://github.com/habitat-sh/habitat-operator/issues/219#issuecomment-379767016 (the long term one being v1).
So for now we should probably go with the patch you posted.

On applying examples/config/habitat.yml on a minikube cluster running kubernetes v1.7.0 gives the following error:
ERROR: logging before flag.Parse: E0410 10:59:13.300326       5 reflector.go:205] github.com/habitat-sh/habitat-operator/pkg/controller/controller.go:126: Failed to list *v1beta2.StatefulSet: the server could not find the requested resource

We can drop support for 1.7 when we move to 1.10.


License of this library

This library is awesome. John Ehlers work is great. Thank you! I'm so happy I found this. I have a question about usage. What's the LICENSE? Could you add a license file?

Hey cryptocoinserver,
I'm glad you like this library. I have added the MIT License to this repository.
Thanks for the useful input and have a great day!


Any way to see the code coverage of code using named!() ?

It seems that with runtime-macros we can have unit test coverage of macros but I'm not sure if it can be used with nom.

coverage of nom parsers defined with named can be done by calling the parsers in your tests. That's how I do coverage for nom combinators


bug: tooltip crashes when theme is an empty array

What version of daisyUI are you using?
4.7.2
Which browsers are you seeing the problem on?
Safari, Safari iOS, Firefox
Reproduction URL
https://play.tailwindcss.com/TQ3VC9hEFg
Describe your issue
The tool tip crashes when the theme config in tailwind.config.ts is empty:
{
 "daisyui": {
  "themes": []
 }
}

Crash?
It just loses all the colors, like other components. You can add colors to it manually, or by defining a daisyUI theme using color variables.
https://play.tailwindcss.com/xLYmX24vEW
Let me know if you have a question.

I see.
Apologies for the misunderstanding and thanks for explaining. Have a nice day!

On 9 Apr 2024, at 10:32, Pouya Saadeghi @.***> wrote:
Crash?
It just loses all the colors, like other components. You can add colors to it manually, or by defining a daisyUI theme using color variables.
https://play.tailwindcss.com/xLYmX24vEW
Let me know if you have a question.
—
Reply to this email directly, view it on GitHub https://github.com/saadeghi/daisyui/issues/2962#issuecomment-2044442219, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYCJANDYP5WF63SMFKYHVLY4ORQHAVCNFSM6AAAAABFZXKU3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGQ2DEMRRHE.
You are receiving this because you were mentioned.


Secret Pack Mode

Add a mode to play pre-defined authored secrets.

[x] trview JSON settings file to include an author property, defaults to "TRRando" for generic secrets
[x] UI to show a drop-down of secret packs (auto-populated based on game and location file contents)
[x] Randomization uses only secrets from the selected pack; if there aren't enough to meet a level's secret count, generic secrets will be added
[x] Secrets within packs should be able to dictate level mirror state
[x] Add the ability to lock standard pickup items in place for secrets that rely on them

Data PRs

[x] TR1
[ ] TR2

[x] apel
[ ] Eycore

[x] TR3

Closing for now as TR1-3 has one pack each. Any remaining packs can be done under separate issues.


feat: merge Frontend to main

Closes #17, by introducing the frontend developed by @scoltman and some build process by me. Yes, in practice we put the Nginx container running behind Nginx running on the box.

Pull request checklist

[x] I have linked my PR to an issue
[x] I’ve used conventional commits
[x] My branch is up-to-date with main
[x] Where appropriate, I have added or updated tests
[x] Where appropriate, I have updated documentation to reflect my changes

This PR seems to put the same content into two different places? Did you intend to move content in 2660ac4411b591fce17d11e92fcce4b07914dd99 instead of copying it, @ff-dh?


Prevent caching CSS when in development mode

Fixes issue #33

I think there should be change in writing logic, because now it is appending to css file. So it should do something like this.
if devMode is enabled, it should completely rewrite css file, otherwise it should append.

And there is another thing to solve, we have to send all css contents to writeCss function because now it accepts only current transpiled css file and not all the previous css files.

I am testing with single CSS file and combined CSS is always overwritten.

It is overwriting file if there is only 1 css file otherwise it is appending and this causes tests to fail.

I see, you're right. Let me see what I can do about it.

If I run babel --watch --skip-initial-build it does not process files therefore changes to single file pretty much results in overwrite of entire CSS with the rules of changed CSS file.
I skip initial build because there is no way to know when babel --watch finished generating file structure. Therefore I run babel twice, first time to generate file structure, after run I run electron app + babel --watch

I think that we could solve regeneration of whole combined css file.
We could always rewrite whole combined css file but I am not sure what impact it'll have on performance of plugin. Maybe we can do checks in cache not only by filename but hash of contents for example? Then we'll know if we need to overwrite the whole combined css filed or just keep it as is because contents haven't changed.

So in non devMode we'll keep the old logic and in devMode we will check contents too and rewrite css only if the css content is new or changed.

Another option would be to always append but mark each entry in combined CSS somehow so we could strip out old rules before appending new ones.
Performance wise this would be much faster then looping through all styles and generating combined CSS. This should also address my case with --skip-initial-build.

Yeah but you'll end up with rewriting file anyway because if the string you want to strip is in the middle of the combined CSS file you don't have a way to strip it.
So maybe something like, if the file is new append otherwise strip and rewrite. And we could keep the generated CSS in memory too.

Closing, you can try next version (#38).


HTTP 403 Error during the skillset creation

[Enter feedback here]
{"error":{"code":"","message":"No HTTP resource was found that matches the request URI 'https://km-bootcamp.search.windows.net/skillsets('cog-search-demo-sd')?api-version=2020-06-30'."}}

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8ec84065-6739-6626-3983-4e4a63ea04a1
Version Independent ID: c9339023-7753-5d37-1c03-c539c27b77af
Content: Tutorial: REST and AI over Azure blobs - Azure Cognitive Search
Content Source: articles/search/cognitive-search-tutorial-blob.md
Service: cognitive-search
GitHub Login: @LuisCabrer
Microsoft Alias: luisca

@Farhad-Heybati Thanks for the feedback! We are currently investigating and will update you shortly.

@Farhad-Heybati , could you please post the exact request you created that gave you this result?
Is it a PUT/GET or POST request?
Thanks!
-Luis Cabrera
Program Manager
Azure Cognitive Search

@Farhad-Heybati Since we didn't heard back from you! We will now close this issue, Let us know if you need further information on this.


RemoveDtlFlagForRegisterEnvironment

DTL Team decided to fix the filtering issue at their side. This flag is no longer required

Approved

@acesiddhu No longer relevant. Can this be closed.


Provide feedback on which yaml header fields are missing / different from the template

Today trestle author, when enforcing a markdown template, will provide users some information on what is expected (even this could be improved).
When the headers fail today they just say 'I failed' - specific user feedback is required.  To do so the structure of the comparison will need to be altered.

Finished with existing markdownnode api.


Npm install issue

Hello! I tried "npm install react-native-local-network-permission --save" and get the following error. I also checked https://www.npmjs.com/ and dont see it there. Any suggestions?

Thanks!

@Santix11 I had the same issue, also the exports were broken once I got it installed, so I fixed the issues and re-published: https://github.com/aspect-apps/react-native-local-network-permission


Adding licence for moment.js lib

moment.js was added to Fauxton. This PR just updates the licensing list.

+1, for licensing is good.


[3.x] Add support for saving multiple Images in BakedLightmap

Instead of fitting all atlas slices into a single image, which meant there was a hard limit on the size, BakedLightmap will now save as many images as needed to fit all the slices generated by the lightmapper.
I only did some quick testing on a single scene, so it would be good to get this tested on more scenarios before merging.
The size limit is much less of an issue in master since the maximum size for images is much larger there. Still, once we see everything is working fine in 3.x, this can be forward-ported to master.
Closes #51741, implements godot-proposals#2147.

I tried this on Reflection, but the resulting bake looks broken:

test_lightmap_large_3.x.zip

I force-pushed a fix for @Calinou's issue, everything should be working now.

@Akien stb_rect_pack 1.01 doesn't have the warning issue because it gets rid of the dual modes.
Since updating to 1.01 fixes both changes I had made in this PR, I just removed them and we can do the upgrade in a separate PR.

Thanks!

There are any advantages a part from reducing memory usage? (if understood correctly)

Looks awesome! There are any advantages a part from reducing memory usage? (if understood correctly)

Supporting multiple atlases makes it possible to successfully bake lightmaps in large levels without exceeding the maximum texture size.  This was less efficient and resulted in a lot of files being created when baking lightmaps.

Doesn't work in 3.5 RC2.
Same error as before Failed determining lightmap size. Maximum lightmap size too small?
I tried the test scene from https://github.com/godotengine/godot/files/8064047/test_lightmap_large_3.x.zip
Added 10 additional cubes from blender to the scene and changed import settings in the Lightmap Texel Size to 0.05, I should have several exr textures but I got error Maximum lightmap size too small, if I change Lightmap Texel Size to 1.0 then it bakes all in single exr texture.

@gdlq Please open a new issue with a minimal reproduction project attached.


Login Problem

I receive the following errors
(STDERR) info login Logging in...
(STDERR) ERR! login Wrong username/password.
but the user/pass are correct, I can login in facebook using the same credentials.
Ive tried from two different ips with the same error
thanks

are you using e-mail, phone number, your Facebook ID or nickname to login?
phone numbers sometimes need to be in form +48123456789 instead of 123456789 (Country calling code)

are you using e-mail, phone number, your Facebook ID or nickname to login?
phone numbers sometimes need to be in form +48123456789 instead of 123456789 (Country calling code)

I'm using the email to login

The code was working before, I didn't do any changes, shame version, same ip addresses, it just stopped working and I get "Wrong username/password." error, tested user/pass on fb from the same ip and it worked

nevermind, tested into a fresh directory the readme example and it worked, I will debug my code, thank you


linkTypeTopology

Initial interface for linkTopology.
Substitute the topology with a set of linkTopology.
For instance, we describe a topology as a set of linkType, and corresponding sets of pointed linkType before. After changing to linkType, for every linkType, we describe as a topology.
It's more flexible to fit the latter structure.

Let's discuss details.

We need to revert this since Xiaoyun took it as #121 .

Pluto, can you submit another pull request and also compress the commits to the last one? That's the only commit passed testing.


After selecting a row pressing any key will take the user to the details view

Setup

Rancher version: 2.7-head

Describe the bug

With a single row selected, pressing any key will take the user to the detail view of the selected row

To Reproduce

--> Deployments list
select any deployment
press the ctrl key

Result

user is take to the detail page

Expected Result

use should remain on the deployment list page
ResourceTable shortcuts should still work (see v-shortcut usage ~ https://github.com/rancher/dashboard/blob/master/shell/components/ResourceTable.vue#L483)

Additional context

This was broken via https://github.com/rancher/dashboard/pull/7848
ResourceTable has a set of v-shortkey shortcuts that should be honoured. I'm guessing from the issue that broke the feature we should not bubble up ResourceTable shortcuts

The regression was actually introduced in #7848 . We needed a custom listener because the v-shortkey shortcut was capturing the Enter key when the namespace filter is open:
https://github.com/rancher/dashboard/blob/faa6f7abb405590cb0c8fa76c5a5b6a2a7393415/shell/components/ResourceTable.vue#L154-L159

Test Environment:
Rancher version: v2.7-head 211409c
Rancher cluster type: HA
Docker version: 20.10
Browser: Chrome Build 110

Testing:
Tested this issue with the following steps:

--> Deployments list
select any deployment
press the ctrl key

Result
Pressing the ctrl key no longer takes user to detail page.
I noticed the following keys trigger actions:

e takes user to the edit config page
y takes user to the yaml page
n triggers the namespace search

/ triggers the filter search

backspace and del triggers a deletion to the deployment with an Are you sure? dialog prompt

From the existing list of key shortcuts, I saw that / isn't on there, @torchiaf if that's ok I will close the ticket.

Thanks for your support Tim. The key to open the details page should be only Enter. The / key still works and it is defined in SortableTable/index.vue:
https://github.com/rancher/dashboard/blob/3405d6d10743c268c7605e5964064f7965f45436/shell/components/SortableTable/index.vue#L1398-L1402


Map new tag logic.

Much of the logic seems to have been seperated away from the TagContainer into a sort of TagManager now.

Superseded by #1543


Unterminated events in Fuchsia format

@kayceesrk reported unterminated events on the current main branch and #17 on the default (fuchsia) format.

This is not  the case with json format.

I spent some time today trying to find the source of this bug. I tried to reproduce this with possible combinations of compiler versions (5.0.0, 5.1.0~beta1), olly version (0.3, trunk) and tracing format (fuchsia, json) on the same program (Eio version of ocurrent's solver service). I could reproduce this with 5.1.0~beta1 + fuchsia, and not json, with both versions of olly. Interestingly, this doesn't occur on 5.0.0!
To make sure the compiler is not skipping emitting some events, I added some GC logs at the start and end of major cycles. From the logs, it's clear that there are no unterminated events.
I suspect something's clobbering writes at the end of event. Will try to dig into this further when I find some time.


Document tenant database managers

Accidentally closed wrong issue

They're not meant to be used directly by users, but are used internally by DatabaseManager. I'll close this for now.


Documentation doesn't mention filename restrictions

I tried to play a server-side generated mp3, which was at a path that didn't end with .mp3. I got errors similar to my browser not supporting audio playback.
Fix: document the url filename restrictions.

@iikku If you set a file without the extension but you indicate the type, plugin shouldn't have any problems. Is this still an issue?

I'm not using this project anymore and cannot comment either way.

@iikku Thanks for your response. We'll close this issue and we can always reopen it if it appears in the future. Thanks!


Split script

Please split script into:
1_preprocessing.Rmd
Script until:
https://github.com/inbo/sovon/blob/3e1e6636195a3a2d0fe94828becc19d60ce98d05/src/map_inbo_data_to_sovon.Rmd#L592
Should result in:
data/interim/users.tsv (gitignore!)
data/interim/obs_and_actions.tsv
data/interim/birds.tsv

2_users.Rmd
Starts from interim file, writes to:
data/processed/crbirding_users.tsv (gitignore!)

3_birds.Rmd
Starts from interim file, writes to:
data/processed/crbirding_birds.tsv

4_observations.Rmd
Starts from interim file, writes to:
data/processed/crbirding_observations.tsv

Done


Gradual publication of data columns for supernodes

Proposed Changes
Optimisation to push data columns out in batches on supernodes.
Additional Info
Needs a bit of cleanup to de-duplicate logic from fetch_blobs.rs and gossip_methdods.rs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fix #31: Don't create reminder Alerts if they will never be sent + tests

Added logic so that we don't create reminders that won't be sent. So, if arraignment date is in more than 7 days it would create 2 reminders. If it is in more than a day but less than 7 days, it would create one reminder. And if it is in less than a day, then no reminders will be created and we get a 410 Gone Status .
Also, added test for those 3 conditions.

@Yahyaal can you please post here what the expected responses are if:

creates two reminders
creates one reminder
no reminder is created
when the following request is made?
http://courtbot-python.herokuapp.com/api/reminders?case_num={case_id}&phone_num={phone_num}&arraignment_datetime={event_date}'

Superseded by https://github.com/codefortulsa/courtbot-python/pull/50


UF-238: Configurable Workbench: Drag and drop does not work on IE11

We used to use the format parameter of HTML 5 native DND  event.setData( format, data) to specify which type of component are on drag and drop.
 event.setData( LayoutDragComponent.class.toString(), type.getClass().getName() );

However, this doesn't work on ie11 because it requires that the format parameter is exactly the String "text".
public static final String FORMAT = "text";
event.setData( DndData.FORMAT,  DndData.generateData( type ) )

@manstis if I recall correctly, you use html5 drag and drop somewhere in workbench right? take a look at this.

This also needs to be cherry-picked to 0.7.x.

Sweet, so we have to encode everything in the value ;)
A personal preference would been to have also encoded "source" into the value to avoid the repeated use of isInternalDragComponent( String eventType ) , e.g. have prepareData(...) do something like eventType + SEPARATOR + eventData + SEPARATOR + eventSource but otherwise I'm happy to merge (your code formatting is duff though....)

@manstis pr updated. thanks for the review

Obrigado!
master: e126e5c2192ac7c49604dc040e644b9963b4d796
0.7.x: 8d2acf46f79721f98f33455cf17a06c04aef8911


@Getter on static fields

Hi,
@Getter is not working on static fields - compilation error.
I'm using lombok 1.16.10 and java 1.8.0_131.
Example:
package utils;
import lombok.Getter;

@Getter
public class TestVariables {
    private static String test = "test";
}

package main;
import utils.TestVariables;

public class Main {
    public static void main(String[] args) {
        System.out.println(TestVariables.getTest());
    }
}

It does.
https://projectlombok.org/features/GetterSetter (emphasis mine)

You can also put a @Getter and/or @Setter annotation on a class. In that case, it's as if you annotate all the non-static fields in that class with the annotation.

When I remove static, then everything fine.
package utils;

import lombok.Getter;

@Getter
public class TestVariables {
    private String test = "test";
}

import utils.TestVariables;

public class Main {

    public static void main(String[] args) {
        System.out.println(new TestVariables().getTest());
    }

}

 mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test-lombok 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test-lombok ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ test-lombok ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 2 source files to C:\Dev\GIT\TEST\testlombok\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

You can annotate the static field directly. So instead of this:
@Getter
public class MyTest {

    private static int x;

    public static void foo() {
        MyTest.getX();
    }
}

You should write this:
public class MyTest {

    @Getter
    private static int x;

    public static void foo() {
        MyTest.getX();
    }
}

The @Getter annotation in the class only create getters for non-static fields. There are a couple of reasons for that, (e.g. you will not want a getter for serialVersionUID). To make a static getter, the @Getter annotation must be directly in the field.
You could argue that annotating every static field is cumbersome and that some solution should be addressed. But, in my personal opinion and experience, the developer rarely would like to add a bunch of getters en mass to static fields, (s)he whould want to do that only to instance fields. So, I think that the current behaviour makes perfect sense for now. Another possibility would be to suggest something like @Getter(includeStatic = true), but I don't think that this is a common case deserving that.

Thanks for explanation.
I finally found the problem, and it is with static imports. Even if @Getter will be on field, like in your example, if you would use static import in some other class you would have compilation exception.
Example with failure:
package utils;

import lombok.Getter;

public class TestVariables {
    @Getter
    private static String test = "test";
}

import static utils.TestVariables.getTest;

public class Main {

    public static void main(String[] args) {
        System.out.println(getTest());
    }
}

That issue with static imports seems to be a bug. I was able to reproduce it.

See #979 and possibly #884.

I have NO static imports BUT still have compilation error when I am trying to use getter created on static field by lombok.
`mport lombok.Getter;
import lombok.extern.log4j.Log4j2;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
@Log4j2
public class TestConfig {
private static @Getter String browser;
}
public class TestRun {
public void test() {
String browser = TestConfig.getBrowser();
}
}`
Got error
Error:(13, 90) java: cannot find symbol
symbol:   method getBrowser()
location: class .TestConfig
Using IntelliJ IDEA + plugin

Can I somehow enable (and if I can, I think it should be enabled by default) Lombok's debug / error messages during compilation for things like that ?

As @Maaartinus said lombok does not generate getters for static fields if you put @Getter on the class by design. Separate from that, if you attempt to do a static named (i.e. not .*) import of a thing lombok generates, that doesn't work in javac, see bug #2044

any chance this will be fixed?


Add LedBehavior

Add LedBehavior server-owned interface to set a specific behavior on the exposed LEDs as follow.

value
behavior
Duration

Off60s
OFF
60 sec.

On60s
ON
60 sec.

Blink60s
Blink
60 sec.

DoubleBlink
Double blink
60 sec.

SlowBlink
Slow blink
60 sec.

Closes #23
Signed-off-by: Francesco Vaiani<EMAIL_ADDRESS>

Some additional comments:

I would rename DoubleBlink to DoubleBlink60s and SlowBlink to SlowBlink60s
we might change 60s to 60Seconds, that fits better PascalCase (we cannot write 60S, as @rbino on a different discussion)
I would remove for sure On60s/Off60s since it would be confusing with the connected to the cloud indicator semantic.


env file no loading

Hello, i am using Laravel 5.2 on a Ubuntu 14.04 machine with php7.
I have an .env file in the project, but the env values aren't loading.
It doesn't show any error...
there is any extension that i am missing?

Laravel 5.2 does not ever load environment variables other than for populating the config file cache. Don't try to read the environment outside of the config file definitions. Laravel does this due to PHP crappy leaking of information between threads.


CSV::Table#headers returns [:"", :""] when  header is Japanese

Steps to reproduce
# frozen_string_literal: true

require 'csv'

header = %w[都道府県 桃の生産量]
rows = [['山梨県', '37,600トン'], ['福島県', '22,500トン'], ['長野県', '12,100トン']]

CSV.open('momo.csv', 'w') do |csv|
  csv << header
  rows.map { |row| csv << row }
end

csv_table = CSV.table('momo.csv')

pp csv_table.headers

Expected behavior
csv_table#headers returns [:都道府県, :桃の生産量]
Actual behavior
csv_table#headers returns [:"", :""]
System configuration
Ruby version: ruby 3.1.0p0
csv version: csv (default: 3.2.2)

I understand your expected behavior but we can't change the current behavior to keep compatibility.
Could you specify header_converters: explicitly?
csv_table = CSV.table('momo.csv', header_converters: lambda {|h| h.to_sym})

We can provide :symbol_raw default header converter by adding a converter to CSV::HeaderConverters. If we provide :symbol_raw, we can write like the following:
csv_table = CSV.table('momo.csv', header_converters: :symbol_raw)

@ericgpks Do you want to work on this?

@kou
I would like to try to resolve this one! Thanks a lot!!

@ericgpks Sure. Go ahead!

Done by #239.

Thank you!!


Lwjgl20.toIntBuffer copies the wrong data from the array

Issue details
LwjglGL20.toIntBuffer(int[], int, int) does not work because it passes the parameters to BufferUtils.copy(int[], int, int, Buffer) in the wrong order. Namely, it passes the offset value to the numElements parameter and the count value to the srcOffset parameter. This means that it copies the wrong data over to the buffer.
From toIntBuffer:
com.badlogic.gdx.utils.BufferUtils.copy(v, count, offset, intBuffer);

Signature of BufferUtils.copy:
public static void copy (int[] src, int srcOffset, int numElements, Buffer dst)

Version of LibGDX and/or relevant dependencies
LibGDX 1.9.10 with with the LWJGL backend
Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[x] Windows
[x] Linux
[x] MacOS

Interestingly, while toIntBuffer exists in LWJGL3 as well, it does not use BufferUtils at all.
I am not sure what is going on in the reported code nor in BufferUtils. The order of parameters is all over the place.

Wow, BufferUtils is incredibly strange... it mixes measurements in bytes with measurements in array items, typically has multiple overloads for copy() so you can put the Buffer wherever (but as this issue notes, the other int parameters are not interchangeable), and in general is pretty inscrutable. I encourage switching to LWJGL3. This definitely looks like a legitimate issue with the LWJGL (2) backend. @PokeMMO , do you have any background on why BufferUtils looks so... sloppy? Most of it seems like it was written 10 years ago, according to git blame.

I have no idea, sorry. This would probably take some investigation to verify what is calling it correctly and what is not. Or making a breaking change and making everything consistent.
I don't know if the change is good unless we somehow also break the method signature so users don't assume it's fine because it compiles.


DNN-8968: user target user's preferred locale to get notification content.

This test case need much pre-conditions, i think integration test is more efficient than unit test, whats your opinion? thx.

Of course, I see how it requires all kinds of set up for languages and users.
At the same time I see the call to EventManager.Instance.OnFriendshipRequested. Would it make it possible to move the implementation of AddFriendRequestNotification out of the controller and send the notification from a handler of that event?
In such case a unit test would only have to set up NotificationsController.Instance, LocaleController.Instance and LocalizationProvider.Instance.
Please tell me if it's possible

it maybe possible, but im not sure whether we need do that huge work for this only functionality test.

That's a weird thing to say. In general unit tests should be those easier to write because there are less part involved, less set up. And the benefit is that they are less prone to breaking because of that. And would also run faster. In general unit tests should be the most numerous IMO.
In this particular case creating a handler and testing that in isolation does not look like huge work and the tests will be much simpler. What I don't see is how it should then be attached to that event.


ERROR:mqtt_gobject_bridge:[Disconnected] Lost connection to broker

When running : more /var/log/dbus-mqtt-devices/current
I get this error message: ERROR:mqtt_gobject_bridge:[Disconnected] Lost connection to broker
I think this prevents me from adding sensors and values
Any suggestions on how to solve?
I''m running a R.Pi 4 (1.15) so can't run an official version download from Victron...
Thanks for clear description :)
Thanks,
Boudewijn

Can you upload a copy of your log file ?
Regards,
Martin
+44<PHONE_NUMBER>

On 8 Sep 2022, at 19:20, BoudewijnWeenink @.***> wrote:

When running : more /var/log/dbus-mqtt-devices/current
I get this error message: ERROR:mqtt_gobject_bridge:[Disconnected] Lost connection to broker
I think this prevents me from adding sensors and values
Any suggestions on how to solve?
I''m running a R.Pi 4 (1.15) so can't run an official version download from Victron...
Thanks for clear description :)
Thanks,
Boudewijn
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/freakent/dbus-mqtt-devices/issues/20", "url": "https://github.com/freakent/dbus-mqtt-devices/issues/20", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

I''m running a R.Pi 4 (1.15) so can't run an official version download from Victron...

What exactly do you mean by this? How did you install VenusOS and what version are you running?

Thanks Freakent for your prompt reply.

Can you upload a copy of your log file ?

Sure :)
@400000006319d39f133d50dc *** starting dbus-mqtt-devices ***
@400000006319d3a010835544 -------- dbus_mqtt_devices, v0.5.1 is starting up --------
@400000006319d3a010836cb4 INFO:logger:Loglevel set to INFO
@400000006319d3a0112d8f64 INFO:device_manager:Using portalId e45f01bce286
@400000006319d3a02240ca8c INFO:mqtt_gobject_bridge:[Init] Connecting to local broker
@400000006319d3a0236009b4 INFO:device_manager:[Connected] Result code 0
@400000006319d4a71b6f663c *** CCGX booted (0) ***
@400000006319d4ae08b2016c *** starting dbus-mqtt-devices ***
@400000006319d4b5057b965c -------- dbus_mqtt_devices, v0.5.1 is starting up --------
@400000006319d4b5057ba9e4 INFO:logger:Loglevel set to INFO
@400000006319d4b50c0f9bbc INFO:device_manager:Using portalId e45f01bce286
@400000006319d4b52fd29b6c INFO:mqtt_gobject_bridge:[Init] Connecting to local broker
@400000006319d4b532cd841c INFO:device_manager:[Connected] Result code 0
@400000006319e7882e527794 ERROR:mqtt_gobject_bridge:[Disconnected] Lost connection to broker
@400000006319e7882e5bed74 INFO:mqtt_gobject_bridge:[Disconnected] Set timer
@400000006319e78d2e76a164 INFO:mqtt_gobject_bridge:[Reconnect] start
@400000006319e78d2eadf18c INFO:mqtt_gobject_bridge:[Reconnect] success
@400000006319e78d2ec02d84 INFO:device_manager:[Connected] Result code 0
@40000000631a21fb18c174ac *** CCGX booted (0) ***
@40000000631a221031b6fb6c *** starting dbus-mqtt-devices ***
@40000000631a221736139314 -------- dbus_mqtt_devices, v0.5.1 is starting up --------
@40000000631a22173613a69c INFO:logger:Loglevel set to INFO
@40000000631a22173783b92c INFO:device_manager:Using portalId e45f01bce286
@40000000631a221932929dfc INFO:mqtt_gobject_bridge:[Init] Connecting to local broker
@40000000631a22193526fcac INFO:device_manager:[Connected] Result code 0
@40000000631a28511ad25734 *** CCGX booted (0) ***
@40000000631a2857298904bc *** starting dbus-mqtt-devices ***
@40000000631a285f24af7cb4 -------- dbus_mqtt_devices, v0.5.1 is starting up --------
@40000000631a285f24af903c INFO:logger:Loglevel set to INFO
@40000000631a285f2991f1e4 INFO:device_manager:Using portalId e45f01bce286
@40000000631a28610662dd64 INFO:mqtt_gobject_bridge:[Init] Connecting to local broker
@40000000631a28610c27c354 INFO:device_manager:[Connected] Result code 0
@40000000631a2d44237118e4 *** CCGX booted (0) ***
@40000000631a2d4a32da93dc *** starting dbus-mqtt-devices ***
@40000000631a2d5329ca631c -------- dbus_mqtt_devices, v0.5.1 is starting up --------
@40000000631a2d5329ca76a4 INFO:logger:Loglevel set to INFO
@40000000631a2d533009fb34 INFO:device_manager:Using portalId e45f01bce286
@40000000631a2d542533569c INFO:mqtt_gobject_bridge:[Init] Connecting to local broker
@40000000631a2d5427c4909c INFO:device_manager:[Connected] Result code 0

I''m running a R.Pi 4 (1.15) so can't run an official version download from Victron...

What exactly do you mean by this? How did you install VenusOS and what version are you running?

I've tried a lot of the official Victron images, but none of them work (common for newest Pi 4s unfortunat).
The only version I could get to work, I found at :
https://atbbox.com/venus-image-raspberrypi4-20220221234425-v2.85_1.zip
(I tried to find the site where I found the download link, but couldn't find it)
Venus also shows v.2.8.5 ~1 in the firmware screen..

I've got an older Pi4 (v. 1.12) that should be compatible but so far I couldn't get to working either with an official download.. I can free it up, but then up I need to migrate a lot of home automation stuff that is running on it.... the new Pi doesn't accept the SD from the old Pi... to bad Pi3's aren't available at the moment, that may have made my life a lot easier ;)
If you expect it is the Pi 4 (v 1.15) or the image that I've used, then I'll free up my old Pi 4 (v 1.12) then I can test that....
Thanks,
Boudewijn

How much RAM does your pi have? I had a similar problem to this running this driver on my CCGX, although it works fine in my Pi.

Thanks again :) for your quick reply.
If I check https://www.victronenergy.com/live/venus-os:start the CCGX had 256MB
My new Pi 4 has 4GB (only one available for purchase), so it should be enough..
but it might be that in the background also this version of Venus OS doesn't like this board/revision...
FYI my old Pi 4 has 2GB

I've gave my old Pi4 a fresh SD image of Venus OS (2.90 large).
After installation per your instruction, I have no more errors in the log :)
My conclusion is that the version I used on my new Pi4 that appeared to run, didn't run 100% in the background. as a consequence your bridge will also not work, but that has nothing to do with your bridge :)
Again thanks for the bridge and support.
Boudewijn


broke index.js into smaller components

hope this solves #1

Hey @Pervolarakis
Great work 👏
Really quick
Since this site is created with docusaurus
Things are a bit different
This will create separate routes in the app. We will need to exclude that.
Would you mind giving this a read
https://v2.docusaurus.io/docs/creating-pages
Thanks


Add options to the GKE cluster

This allows to specify the machine type to use,
whether to use preemptible VMs or not, and most
importantly the VPC and subnet in which to create
the cluster.
On-prem connectivity is often not done in the default
VPC because on-prem connectivity often requires specific
IP ranges to be used.

@weiwug Could you take a look at this, please?

@weiwug thanks for the approval, but I don't have the permissions to merge this on my own.

Could you please try again? I added you as collaborators to this repo.


Merge changes from the release-1.0 branch

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add soft pod anti affinity

Issue Ref: None
Description:
Adds a soft pod anti affinity rule to function deployments so that, where possible, function pods are deployed to different nodes.
Being only a soft or "PreferredDuringSchedulingIgnoredDuringExecution" anti affinity rule it remains backwards compatible because if the rule can't be satisfied it'll fall back to the current behavior.
Some reading for those unfamiliar: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#inter-pod-affinity-and-anti-affinity
TODOs:

[X] Ready to review
[X] Automated Tests
[ ] Docs

I'm unsure if this needs to be documented anywhere, point me in the right direction if it should be.

Thanks again for reviewing @andresmgot
I've added the doc section and addressed your comments.