Update Bug

Aug 17 14:18:20.314 INFO Starting: C:\Users\user\AppData\Local\Programs\Microsoft VS Code\Code.exe, false
Aug 17 14:18:20.316 INFO Checking for running Code.exe processes... (attempt 1)
Aug 17 14:18:20.324 INFO Code.exe is running, wait a bit
Aug 17 14:18:20.825 INFO Checking for running Code.exe processes... (attempt 2)
Aug 17 14:18:20.847 INFO Code.exe is running, wait a bit
Aug 17 14:18:21.348 INFO Checking for running Code.exe processes... (attempt 3)
Aug 17 14:18:21.370 INFO Code.exe is not running
Aug 17 14:18:21.371 INFO Checking for possible conflicting running processes... (attempt 1)
Aug 17 14:18:21.392 INFO Inno Updater v0.5.0
Aug 17 14:18:21.393 INFO Starting update, silent = false
Aug 17 14:18:21.467 INFO do_update: "C:\Users\user\AppData\Local\Programs\Microsoft VS Code\Code.exe", _
Aug 17 14:18:21.468 INFO move_update: "C:\Users\user\AppData\Local\Programs\Microsoft VS Code\unins000.dat", _
Aug 17 14:18:21.469 INFO Delete: "api-ms-win-core-console-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.471 INFO Delete: "api-ms-win-core-datetime-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.472 INFO Delete: "api-ms-win-core-debug-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.473 INFO Delete: "api-ms-win-core-errorhandling-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.475 INFO Delete: "api-ms-win-core-file-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.478 INFO Delete: "api-ms-win-core-file-l1-2-0.dll" (attempt 1)
Aug 17 14:18:21.480 INFO Delete: "api-ms-win-core-file-l2-1-0.dll" (attempt 1)
Aug 17 14:18:21.482 INFO Delete: "api-ms-win-core-handle-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.484 INFO Delete: "api-ms-win-core-heap-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.485 INFO Delete: "api-ms-win-core-interlocked-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.487 INFO Delete: "api-ms-win-core-libraryloader-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.488 INFO Delete: "api-ms-win-core-localization-l1-2-0.dll" (attempt 1)
Aug 17 14:18:21.490 INFO Delete: "api-ms-win-core-memory-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.492 INFO Delete: "api-ms-win-core-namedpipe-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.493 INFO Delete: "api-ms-win-core-processenvironment-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.495 INFO Delete: "api-ms-win-core-processthreads-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.497 INFO Delete: "api-ms-win-core-processthreads-l1-1-1.dll" (attempt 1)
Aug 17 14:18:21.498 INFO Delete: "api-ms-win-core-profile-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.500 INFO Delete: "api-ms-win-core-rtlsupport-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.502 INFO Delete: "api-ms-win-core-string-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.503 INFO Delete: "api-ms-win-core-synch-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.505 INFO Delete: "api-ms-win-core-synch-l1-2-0.dll" (attempt 1)
Aug 17 14:18:21.506 INFO Delete: "api-ms-win-core-sysinfo-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.507 INFO Delete: "api-ms-win-core-timezone-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.509 INFO Delete: "api-ms-win-core-util-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.511 INFO Delete: "api-ms-win-crt-conio-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.512 INFO Delete: "api-ms-win-crt-convert-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.514 INFO Delete: "api-ms-win-crt-environment-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.516 INFO Delete: "api-ms-win-crt-filesystem-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.517 INFO Delete: "api-ms-win-crt-heap-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.518 INFO Delete: "api-ms-win-crt-locale-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.520 INFO Delete: "api-ms-win-crt-math-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.521 INFO Delete: "api-ms-win-crt-multibyte-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.521 INFO Delete: "api-ms-win-crt-private-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.523 INFO Delete: "api-ms-win-crt-process-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.524 INFO Delete: "api-ms-win-crt-runtime-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.526 INFO Delete: "api-ms-win-crt-stdio-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.528 INFO Delete: "api-ms-win-crt-string-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.530 INFO Delete: "api-ms-win-crt-time-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.531 INFO Delete: "api-ms-win-crt-utility-l1-1-0.dll" (attempt 1)
Aug 17 14:18:21.532 INFO Delete: "bin" (attempt 1)
Aug 17 14:18:21.586 INFO Delete: "bin" (attempt 2)
Aug 17 14:18:21.788 INFO Delete: "bin" (attempt 3)
Aug 17 14:18:22.239 INFO Delete: "bin" (attempt 4)
Aug 17 14:18:23.042 INFO Delete: "bin" (attempt 5)
Aug 17 14:18:24.295 INFO Delete: "bin" (attempt 6)
Aug 17 14:18:26.097 INFO Delete: "bin" (attempt 7)
Aug 17 14:18:28.549 INFO Delete: "bin" (attempt 8)
Aug 17 14:18:31.752 INFO Delete: "bin" (attempt 9)
Aug 17 14:18:35.804 INFO Delete: "bin" (attempt 10)
Aug 17 14:18:40.807 INFO Delete: "bin" (attempt 11)
Aug 17 14:18:46.859 INFO Delete: "bin" (attempt 12)
Aug 17 14:18:54.060 INFO Delete: "bin" (attempt 13)
Aug 17 14:19:02.511 INFO Delete: "bin" (attempt 14)
Aug 17 14:19:12.313 INFO Delete: "bin" (attempt 15)
Aug 17 14:19:23.566 INFO Delete: "bin" (attempt 16)
Aug 17 14:19:36.368 INFO Delete: "bin" (attempt 17)
Aug 17 14:19:50.820 INFO Delete: "bin" (attempt 18)
Aug 17 14:20:07.022 INFO Delete: "bin" (attempt 19)
Aug 17 14:20:25.074 INFO Delete: "bin" (attempt 20)
Aug 17 14:20:45.076 INFO Delete: "bin" (attempt 21)
Aug 17 14:21:07.128 INFO Delete: "bin" (attempt 22)
Aug 17 14:21:31.330 INFO Delete: "bin" (attempt 23)
Aug 17 14:21:57.781 INFO Delete: "bin" (attempt 24)
Aug 17 14:22:26.584 INFO Delete: "bin" (attempt 25)
Aug 17 14:22:57.835 INFO Delete: "bin" (attempt 26)
Aug 17 14:23:31.637 INFO Delete: "bin" (attempt 27)
Aug 17 14:23:31.646 ERRO O arquivo já está sendo usado por outro processo. (os error 32)

/duplicate #56825


Replace stack with DataFrames.stack

Julia 1.9 exports a stack function which conflicts with DataFrames.stack.

Codecov Report

Merging #40 (1eecdde) into main (089b278) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   97.14%   97.14%
=======================================
  Files           3        3
  Lines          70       70
=======================================
  Hits           68       68
  Misses          2        2

Flag
Coverage Δ

unittests
97.14% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

src/components/SPs.jl
98.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Abbrev matcher throws Undefined variable: s:startcol

Only nvim-completion-manager installed. Minimal vimrc with:
    call plug#begin(g:plugdir)
    Plug 'https://github.com/roxma/nvim-completion-manager'
        let g:cm_matcher = {'module': 'cm_matchers.abbrev_matcher', 'case': 'smartcase'}
        " When the <Enter> key is pressed while the popup menu is visible, it
        " only hides the menu. Use this mapping to hide the menu and also start
        " a new line.
        inoremap <expr> <CR> (pumvisible() ? "\<c-y>\<cr>" : "\<CR>")
        " When using CTRL-C to leave insert mode, it does not trigger
        " InsertLeave. You should use CTRL-[, or map the CTRL-C to <ESC>.
        inoremap <C-c> <ESC>
        " Use <TAB> to select the popup menu.
        inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
        inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
   call plug#end()

Steps to reproduce:
Open any file (filetype doesn't matter), enter insert mode and type <C-X><C-U>.

There is a side effect by default when you're not using the default prefix matcher.
:help g:cm_completekeys and read #8

Well yes, I read the documentation beforehand. It sets g:cm_completekeys to use completefunc, which according to #8 reduces flickering. However I don't see how that explains why s:startcol ends up being undefined in Vimscript. Relevant code in autoload/cm.vim:337
func! cm#_completefunc(findstart,base)
    if a:findstart
        return s:startcol-1
    endif
    return {'refresh': 'always', 'words': s:matches }
endfunc

If <c-x><c-u> is used for auto completion, manually typing <c-x><c-u> is never expected as a use case. I don't think this is a valid issue.
If you need to trigger completion manually, you need <Plug>(cm_force_refresh)

For posterity: The issue was that the_silver_searcher wasn't installed, therefore ag wasn't being found. The logs were helpful in this respect. Because of this, the popup menu wasn't being triggered, forcing me to manually trigger <C-X><C-U>, which produced the error above. #8 does mention that ag needs to be in $PATH, however from a usability point, this should be in the documentation. Would you like me to submit a pull request to add this to the documentation?

Would you like me to submit a pull request to add this to the documentation?

PR is welcome


operator kove-operator (v2.0.1)

New operator bundle
Name: kove-operator
Version: v2.0.1
Certification project: 615d2d4d2d5a5137e913e4ff
Test result URL: https://catalog.redhat.com/api/containers/v1/projects/certification/test-results/id/65b41d890324cfd546170989
Test logs URL: https://catalog.redhat.com/api/containers/v1/projects/certification/artifacts/id/65b41d8797deb6015c030ad1

/pipeline restart operator-hosted-pipeline


Fix removal buttons within filtringselect parents

Only add and edit buttons are concerned.
Fix #2372

Thanks!


Fix 551

Changes to the UnlinkedFilesDialogViewModel Class
Updates to the startImport Method:

Import Logic: Calls the getEntriesToImport method of ImportHandler to retrieve the list of entries to be imported.
Deduplication Logic: During the import process, checks for duplicate entries using the importHandler.findDuplicate method to ensure only unique entries are imported.
Logging: Records appropriate warning logs when no unique entries are found.

Import Result Handling:

Displays the results of successfully imported entries on the interface using resultList, ensuring that users can see the status and results of the import.

Changes to the getFilePathFromEntry Method:

Functionality: Extracts the file path from the BibEntry, ensuring that the path format is correct. If the file field format does not meet expectations, logs appropriate warning messages.
Return Value: Returns a valid file path; if there are no valid file fields, returns an empty path.

Changes to the ImportHandler Class
New Method getEntriesToImport:

This method is responsible for processing the incoming list of files and extracting importable BibEntry objects.
Processes different types of files (e.g., PDF and BibTeX) and returns a list of unique entries.
Creates empty entries for unsupported file types to maintain the integrity of the import process.

Enhanced File Type Support:

Uses FileUtil within the method to check file types and handle them accordingly.

Enhanced Logging:

Logs warnings and error messages during the import process of PDF and BibTeX files.

Exception Handling:

Added exception handling for importing BibTeX files, capturing potential IOException.

Changes to the BibEntry Class
New Method getCiteKey():

Functionality: Provides a convenient method to retrieve the citation key (CiteKey) of the entry.
Purpose: Simplifies access to citation key information when processing and checking entries, laying the foundation for subsequent duplicate entry detection.

Thank you for your work on this PR. I've reviewed the changes and the automated test results. Here are my observations and suggestions:

Code Style:

There's an unused import in UnlinkedFilesDialogViewModel.java: org.jabref.gui.duplicationFinder.DuplicateResolverDialog. Please remove this unused import.
In the same file, there's a blank line at the start of the getFilePathFromEntry method block that should be removed to comply with our code style guidelines.

Functionality:

The changes to ImportHandler.java look good. The new getEntriesToImport method seems to address the issue of continuous uploads and duplicate entries.
The modifications in UnlinkedFilesDialogViewModel.java appear to implement the required logic for preventing duplicate imports.

Test Results:

Most of the automated tests have passed successfully, which is great.
However, there is 1 failing check and 3 skipped checks. Could you please investigate these and provide more information or fixes?

Documentation:

The new methods and changes seem to be well-documented. Good job on that.

Overall Impact:

The changes appear to solve the described problem of duplicate entries being continuously uploaded.

Next steps:
Once some exist problems are addressed, I believe this PR will be ready for final review and merging.

Fixed the problem due to code style and the test run successful now.

feat: implement enhanced file import with deduplication

Add file import handling with duplicate detection
Implement getEntriesToImport in ImportHandler for PDF and BibTeX
Add getCiteKey method to BibEntry for citation lookup
Enhance UnlinkedFilesDialogViewModel with import result display
Add comprehensive logging for import process
Complete testing for all new features

Tested: All tests passing
Next：Apply pull request


customize the homepage

All the links on the homepage can be customized. Specifically, we may want to change:

available language translations
the default categories and subcategories defined on the bottom-half of the page

And branding for miami!
We made a simple logo in dc for our deployment of Ohana Web Search :
http://dcopen211website.herokuapp.com/
Could be a good little brigade project for a designer.
Perhaps this should be a separate issue?


deduping code is inefficient

The following code is pretty inefficient
#this part generates a list of all the countries we support for looping
countries = PayPal+Moolah+Stripe+MercadoPago+Wirecard+PagSeguro
countries = sorted(countries)
#this code prevents duplicates
country = []
i=0
for i in range(0,len(countries)):
    if countries[i] not in country:
        country.append(countries[i])

Specifically if countries[i] not in country: does a linear scan of the countries, when you already know the list is sorted. So you've done a sort O(log n), then for each element re-scanned the entire list O(n^2).
You could compare countries[i] to countries[i+1] instead or use a builtin method. (Google "dedupe a list")

You're totally right, I should use a library function here and do it once.
On Wed, Sep 7, 2016, 20:10 Eric Chiang<EMAIL_ADDRESS>wrote:

The following code is pretty inefficient
#this part generates a list of all the countries we support for looping
countries = PayPal+Moolah+Stripe+MercadoPago+Wirecard+PagSeguro
countries = sorted(countries)#this code prevents duplicates
country = []
i=0for i in range(0,len(countries)):
if countries[i] not in country:
country.append(countries[i])
Specifically if countries[i] not in country: does a linear scan of the
countries, when you already know the list is sorted. So you've done a sort
O(log n), then for each element re-scanned the entire list O(n^2).
You could compare countries[i] to countries[i+1] instead or use a builtin
method. (Google "dedupe a list")
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/barakplasma/wixStoresPaymentMethodsByCountry/issues/2,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD12cqp4DC7lTKxPyjmaHqGecq_n5S6ks5qnvAUgaJpZM4J3Jrl
.


Add body parsing

Adds default body parsing methods, and allows for the user to add their own.
Default body types supported:

application/json
application/xml
application/x-www-form-urlencoded

Method to add new body parsers:
app.useParser("text/yaml", stringifiedBody => {
  // Perform parsing
  // Return value will be used for body
})

To interact with the body:
router.post("/", (req, { body }) => {
  console.log(body);
  req.respond({
    status: 200,
  });
});

The syntax on adding additional parsers should probably be reworked to just app.use, and middleware should be introduced before this is completed.


hack: binding <IP_ADDRESS> to rancher/net:holder in scheduling phase

closing as we adopted a different approach.


Add Windows support for prefix delegation

Description
What problem are you trying to solve?
This feature aims to improve pod density capabilities for Windows EKS nodes launched with Karpenter. Currently, by default, Karpenter launches Windows pods with a setting of --max-pods=110 meaning a node cannot scale beyond 110 pods.
How important is this feature to you?
This is an important capability because using prefix delegation will offer improved cost savings, since more pods can be scheduled on a node.
References

Increasing pod density for Windows nodes on Amazon EKS

I am interested in working on this issue. Aiming to tackle this within the next few months or sooner.


tear-off of function's call method might be expensive

dart2js would like to minimize the extra metadata required for generic methods.
The Kernel instruction Instantiation, used to bind generic type arguments of a generic closure, currently is inserted at specific points - tear-off of instance method, escape of local or top-level method, use of an anonymous closure. At these points we can identify the target or set of targets fairly precisely and thus create metadata for supporting instantiation for specific methods.
However, there is a leak - the call method of functions can be torn off. Since get:call for a function returns the function itself, this means that any generic function that can flow to the tear-off site might be partially-applied by the injected Instantiation instruction.  This would mean that more generic functions would need to support being instantiated - e.g. any function compatible with fun below:
int Function(int) g;
void foo(R Function<R>(R) fun) {
  g = fun;  //  g = Instantiate<int>(fun);
}

I propose that we disallow tear-offs of the call method until we can measure the impact of this information leak.
Related: https://github.com/dart-lang/sdk/issues/31665

There are no restrictions on accessing call on functions. It's now the canonical way to do a null-aware invocation, fn?.call(args).


Setting duration does not work as it should

const id = toast.push('message', {duration: 90000});
toast.set(id, {msg: 'another', duration: 3000});

Hello. The code above must change the durations of the toast, but it does not.
As a "fix" - you can hover the toast and the duration will change after and only after the hovering.
Svelte. The latest version.

Thanks for the report - it's a drawback of the current implementation. What is your expectation though? Does the second statement cause the progress bar to reset (move from 1 to 0) in 3s?

The expectation was changing of the duration :)
I was showing a toast "Wait..." then I set it to "Success/Failure" and didn't know how to do it right.
Current (and correct) version is:
const id = toast.push('message', {dismissable: false, initial: 0, next: 0, duration: 3000});
toast.set(id, {msg: 'another', dismissable: true, next: 1});

But the bug is still there, so I decided to report it.
The second statement does nothing with the duration. The progress bar didn't react at all until I hovered the toasts. I suppose there are some updates on-hover and it causes the update.

Currently duration is not reactive - I'll fix it in the next release.

Are there any plans for this to be fixed / added soon? It has been a while since this issue was opened.

Yes, cutting a v1 release is next on my to-do list, once I finish this round of work.


Add js to toggle world news story fields visibility

For https://trello.com/c/0TpwGP3Z/134-toggle-visibility-on-relevant-form-fields-for-world-news-story-news-article
Hides the relevant organisation/ world organisation fields added in https://github.com/alphagov/whitehall/pull/3225
This adds JS to toggle visibility and reset fields based on the selected ‘News Article’ type. To help with selecting the DOM elements, we add specific class names to the existing fieldsets and add fieldsets to elements that did not have them.
Working the JQuery Chzn select fields was a bit fiddly. The main realisation was that for clearing out select fields that support ‘multiple’ selected options you had to use .val({}) (rather than .val('') as used for single selection fields). We also only clear the field when a value is set, otherwise it leads to weirdness such as truncated placeholder text…

Before
Association form fields for 'News story' and 'World news story'

After
Association form fields for 'News story'

Association form fields for 'World news story'

@gpeng have addressed your comments and squished the commits into one


add possibility to change params in gpssim

This PR changes 3 things:

use px4_getopt for gpssim
add possibility to change fix_type, satellites_used and a noise parameter during simulation for testing purposes
fix a seg fault that happens when you run the drivers with options only (e.g. gpssim -f)

@priseborough This should hopefully help testing with bad GPS

Shouldn't this be set in sitl_gazebo ?

@nicolaerosia No. Like this it can also be used in jMAVSim. Why does it add more confusion? You can totally ignore these changes if you don't need them...

@ChristophTobler because in Gazebo you set it from the sdf. Can't this be added to jMAVSim also?

@nicolaerosia What is being set from the sdf? The added benefit of this is that you can change these parameters during flight with the shell to test how the estimator/vehicle reacts.

@ChristophTobler For IMU it's set in sdf:
https://github.com/PX4/sitl_gazebo/blob/master/models/rotors_description/urdf/iris_base.xacro#L49-L63
https://github.com/PX4/sitl_gazebo/blob/47a0b25371868033b9ee95f9398489ebf9ee5ed7/src/gazebo_imu_plugin.cpp#L69-L95
For vision estimate it is set in source code: https://github.com/PX4/sitl_gazebo/blob/e203a776749bfa8949730f01bae3fca335b1a562/include/gazebo_mavlink_interface.h#L163-L166
For GPS, indeed, I forgot we're not using the GPS plugin:
https://github.com/PX4/sitl_gazebo/blob/b052c97f7c3a2c39ab8ec06ae79c66431f16c659/src/gazebo_mavlink_interface.cpp#L544
There's no consistency, I was just thinking that there should be a standardized way to set these parameters.

@nicolaerosia Yes, consistency would be nice. But even if we had that, I would still add this as I want to be able to change it during the simulation, as already mentioned.

I've been using the patches from this PR to test https://github.com/PX4/ecl/pull/312


Showcase Submission for challenges/51-a-pathfinding-algorithm

Thank you FStar for your contribution! A member of the Coding Train team will review it shortly.

A faster pathfinding algorithm
FStar

Wow, thank you for sharing!

@fstarpath hey there! This video link is now showing as private, did you want to update your showcase submission?


A note from the founders of Flowbite

Hey @fuji97,
This is a very interesting repo - let me know when it's published or if I can see a preview :)
We will most probably recommend it as the go-to library for Blazor if users read our docs.
You can reach out to me here: https://twitter.com/zoltanszogyenyi
Cheers,
Zoltan

Hi, thank you for your interest in this project!
I'm working on it during my free time, so the development is proceeding slowly, but I will let you know when there is a usable release!


Unexpected behavior doing Split + Filter

Describe the bug
I observed unexpected behavior when applying 'train_test_split' followed by 'filter' on dataset. Elements of the training dataset eventually end up in the test dataset (after applying the 'filter')
Steps to reproduce the bug
from datasets import Dataset
import pandas as pd
dic = {'x': [1,2,3,4,5,6,7,8,9], 'y':['q','w','e','r','t','y','u','i','o']}
df = pd.DataFrame.from_dict(dic)
dataset = Dataset.from_pandas(df)
split_dataset = dataset.train_test_split(test_size=0.5, shuffle=False, seed=42)
train_dataset = split_dataset["train"]
eval_dataset = split_dataset["test"]
eval_dataset_2 = eval_dataset.filter(lambda example: example['x'] % 2 == 0)
print( eval_dataset['x'])
print(eval_dataset_2['x'])

One observes that elements in eval_dataset2 are actually coming from the training dataset...
Expected results
The expected results would be that the filtered eval dataset would only contain elements from the original eval dataset.
Actual results
Specify the actual results or traceback.
Environment info

datasets version: 1.12.1
Platform: Windows 10
Python version: 3.7
PyArrow version: 5.0.0

Hi ! This is an issue with datasets 1.12. Sorry for the inconvenience. Can you update to >=1.13 ?
Maybe we should also backport the bug fix to 1.12 (in a new version 1.12.2)


CVE-2018-25031

Hey, is it possible to update swagger-ui & swagger-ui-dist to 4.1.3 to resolve this Vulnerability?
CVE Link: https://www.mend.io/vulnerability-database/CVE-2018-25031

Fixed in #32


Is there not a way to have a single action?

When you click the FAB, a list of actions comes up...but if I just want the main button to do one thing, is that not possible?

Any progress here? Could be implemented as a simple check for method length > 0.

Hello, I made a pull request #40  for this. Hope this helps!

just leave actions out and wrap the  in a <div @click="">


Support tls monerod servers

Can do after https://github.com/monero-ecosystem/monero-rpc-rs/pull/81 is merged

Tested.

Can do after monero-rs/monero-rpc-rs#81 is merged

This PR would allow client auth from server, regular tls (i.e. client <-> server as in HTTPS) can already be done with at least https://github.com/monero-rs/monero-rpc-rs/releases/tag/v0.3.2
@TheCharlatan  can you PR to change our defaults to use HTTPS?

I cannot, since we first need to discover a new set of stable public nodes that support https, or host them ourselves.

Oh, I supposed rino had some...


Use Maven Central to publish Sync-Android packages

What
Move to using Maven Central to publish sync-android packages,
How

Remove GH Pages publishing gradle code
Add maven central publishing code heavily inspired from java-cloudant build.gradle

Testing
Manually run upload task and snapshots will appear in https://oss.sonatype.org/content/repositories/snapshots/com/cloudant/
Reviewers
reviewer @ricellis
reviewer @tomblench

@rhyshort a few questions about this PR before I dive in:

What files/env vars are needed for publishing? I can see some are used here https://github.com/cloudant/sync-android/pull/223/files#diff-c197962302397baf3a4cc36463dce5eaR116
Additionally, what error handling is there if these files/env vars aren't present?
What's the procedure for publishing locally, both to a user's own .m2 directory, and to a 'repo' dir, as we do for the packaging builds?
How does the javadoc get published? We have a task to run javadoc over a union of all the sub-projects, does this still work properly?
Do any of the user instructions need to change, do they need to adjust URLs, package names etc?

@tomblench

The envs all come from java-cloudant (keeping them the same across the libs makes our lives easier), they are:

ossrhUsername
ossrhPassword
signing.keyId
signing.password
signing.secretKeyRingFile

If these properties are present, the build will either fail, for missing ossrh creds, or the deploy steps on OSSRH will fail, if the jars aren't signed.

JavaDoc gets publish via a javadoc jar, I didn't know we had a union task so this probably doesn't work, the snapshots repo on OSSRH will need to be checked to confirm.

There will need to be a slight adjustment in the instructions, the removal of the github.io urls to be replaced with MavenCentral() otherwise it will work exactly as before, although we should take the oppertunity to clarify which jars to include for the project type, eg for android you only need cloudant-sync-datastore-android which will pull in the core jar, or for encryption on android cloudant-sync-datastore-android-encryption

Is it possible to common up the majority of the uploadArchives in the top level gradle file and only override the deltas in the lower level gradle files?
For example the URLs and credentials are the same as is a lot of the pom content.

Possibly, I'm not sure, I was hoping you might know how to do that from your readings on the config

I made a lot of the upload configuration common in cab01ba

@rhyshort you'll definitely need to test how the javadoc publishing works before we can merge this. It would be a shame if there are separate javadocs per jar, but I suppose we can live with it. It would be nice if we could still get @see links etc to work across jars.

@rhyshort there is a bunch of publishing stuff in the subproject build.gradle files that I think is redundant now.

@rhyshort you probably ought to look over my commits as well

The docs need to be updated to point to the maven central repository too.

+1

+1


"jars" field for iteractive session type

Hi, I'd like to know if "jars" field could work in lighter framework.
I ask this because when I try livy session mode, with the "jars" field in the post payload (e.g.  "jars": "s3:/abc/def.jar"), the jars are not properly uploaded, thus when calling class/objects from this def.jar, it says classNotFound etc. But this "jars" amazingly works well for batch mode in livy. (same issue reported: https://community.cloudera.com/t5/Support-Questions/How-to-post-a-Spark-Job-as-JAR-via-Livy-interactive-REST/m-p/299806/highlight/true#M219859 )
Does lighter support the "jars" in interacive session mode? If it does, I can try to promote lighter in our project! thanks for your patients.

Hello @wjxiz1992,
I have just tried the "jars" argument in a session and it looks like it is working. At least I see it load in the logs of the session start.
After adding:
...
    "jars": "https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar",
...

Job logs:
...
23/03/09 16:03:01 INFO SparkContext: Added JAR file:/tmp/spark-ec7ef524-5a11-46d4-9e41-114877390c96/commons-lang3-3.12.0.jar at spark://<ip>:7078/jars/commons-lang3-3.12.0.jar with timestamp<PHONE_NUMBER>875
...

So it should work for your use case also.

Thanks for the quick reply!


feat: add DeNA/unity-meta-check/unity-meta-check-junit

DeNA/unity-meta-check/unity-meta-check-junit: Reporter for Jenkins compatible XML based JUnit reports. It need a result of unity-meta-check from stdin.
Check List

[x] Read CONTRIBUTING.md

[x] Read OSS Contribution Guide

[x] All commits are signed

This repository enables Require signed commits, so all commits must be signed

[x] Avoid force push
[x] Do only one thing in one Pull Request

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.
Command and output
root@927907d6c78d:/workspace# unity-meta-check-junit --help
usage: unity-meta-check-junit [<options>] [<path>]

Save a JUnit report file for the result from unity-meta-check via STDIN.

  <path>
        output path to write JUnit report

OPTIONS
  -version
        print version

EXAMPLE USAGES
  $ unity-meta-check <options> | unity-meta-check-junit path/to/junit-report.xml
  $ unity-meta-check <options> | unity-meta-check-junit path/to/junit-report.xml | <other-unity-meta-check-tool>

If files such as configuration file are needed, please share them.
Reference

https://github.com/DeNA/unity-meta-check/blob/master/README.md

Thank you always!

Regarding version_overrides, we stopped relying on base settings as much as possible. This means we stopped defining settings such as asset, format, windows_arm_emulation, and so on on the base settings. Merge with base settings makes code DRY, but it's difficult to update settings when settings of new versions are changed because the update of the base settings affects all version override. By stopping to merge settings, we can update settings by simply adding a new version override and updating the last version_constraint. Perhaps we would be able to automate the update in future too.

e84ea5e5718dc6e67be4e6654d037ad2c9af989a  Fixed.

v4.180.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.180.0


Reduce size of extra content in error output truncation test

First attempt at reducing the performance impact during tests from:

https://github.com/dagger/dagger/pull/5164

Reported in:

https://github.com/dagger/dagger/pull/5163#issuecomment-1563075893


Added UPDATE and DELETE for user endpoint

Description:
Please provide a summary of changes made and the relevant issue that has been worked on. Also list any major changes made to project structure/dependencies if applicable
All Submissions:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My code follows the code style of this project
[ ] My code has been commented
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

This PR needs to be done from a fork on your repo, not the source repo, in line with following the fork and pull method


RecursionError when using child component

There is a Recursion Error with my website.
RecursionError: maximum recursion depth exceeded while calling a Python object
I use a view with a loop that call multiple children
category.html
{% extends 'base.html' %}

{% block content %}
    {% load bulma_tags %}
    {% load unicorn %}
    {% load static %}

Catégorie

            {% for category in categories %}

{{ category.name }}

                    {% for meme in category.get_memes %}

                            {% unicorn 'meme_card' parent=view meme=meme key=meme.id id=meme.id %} {# parent=view #}

                    {% endfor %}

            {% endfor %}

        {% unicorn 'meme_card_modal' %}

    {% include 'loader.html' %}

{% endblock %}

Children :
meme_card.html
{% load unicorn %}

            {#                #}
            {% if meme.image_compressed %}

            {% else %}

            {% endif %}

{{ meme.title }}

                {% if memes_result %}

Catégories :

                        {% for category in meme.categories.all %}
                            {{ category.name }}
                        {% endfor %}

                {% endif %}

Uploadé par {{ meme.user }}

    {% unicorn 'meme_card_footer' meme=meme %}

With an onclick that calls a function on the component, to update a value from its parent.
meme_card.py
from django_unicorn.components import UnicornView

from trouve_ton_meme.models import Meme

class MemeCardView(UnicornView):
    meme = Meme.objects.none()

    def set_meme_modal(self, meme_id):
        print(self.parent)
        meme = Meme.objects.get(id=meme_id)
        self.parent.modal_meme = meme

The function is executed and I have access to the parent, but it crashes after that with a RecursionError from Django unicorn.
I don't really understand where is the recursion here.
Is there any solution for this ?

Thanks for sending so much of your code. Does print(self.parent) trigger the recursion or is it self.parent.modal_meme = meme? Can you show me the view code that has modal_meme as property/attribute?

Sure
CategoryView
from django_unicorn.components import UnicornView

from trouve_ton_meme.models import Category, Meme

class CategoryView(UnicornView):
    categories = Category.objects.none()
    modal_meme = Meme.objects.none()

    def mount(self):
        self.categories = [Category.objects.get(id=self.request.GET.get('id'))]

Full trace of the error
<trouve_ton_meme.components.category.CategoryView object at 0x7f42cb2f9300>
<QuerySet []>
ok
Internal Server Error: /unicorn/message/meme_card
Traceback (most recent call last):
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "<decorator-gen-25>", line 2, in message
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/decorators.py", line 21, in timed
    result = func(*args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 44, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/utils/decorators.py", line 133, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/views/decorators/http.py", line 43, in inner
    return func(request, *args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 528, in message
    json_result = _handle_component_request(request, component_request)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 374, in _handle_component_request
    return _process_component_request(request, component_request)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 210, in _process_component_request
    cache.set(component.component_cache_key, get_cacheable_component(component))
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/utils.py", line 88, in get_cacheable_component
    component.parent = get_cacheable_component(component.parent)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/utils.py", line 92, in get_cacheable_component
    child = get_cacheable_component(child)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/utils.py", line 95, in get_cacheable_component
    pickle.dumps(component)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/bs4/element.py", line 956, in __getnewargs__
    return (str(self),)
RecursionError: maximum recursion depth exceeded while calling a Python object
[16/Nov/2022 18:10:26] "POST /unicorn/message/meme_card HTTP/1.1" 500 20366

Nope, even by setting the function as an empty one with only pass triggers the error.
Sure
CategoryView
from django_unicorn.components import UnicornView

from trouve_ton_meme.models import Category, Meme

class CategoryView(UnicornView):
    categories = Category.objects.none()
    modal_meme = Meme.objects.none()

    def mount(self):
        self.categories = [Category.objects.get(id=self.request.GET.get('id'))]

Full trace of the error
<trouve_ton_meme.components.category.CategoryView object at 0x7f42cb2f9300>    # <--- parent view is printed here
Internal Server Error: /unicorn/message/meme_card
Traceback (most recent call last):
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "<decorator-gen-25>", line 2, in message
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/decorators.py", line 21, in timed
    result = func(*args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 44, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/utils/decorators.py", line 133, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django/views/decorators/http.py", line 43, in inner
    return func(request, *args, **kwargs)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 528, in message
    json_result = _handle_component_request(request, component_request)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 374, in _handle_component_request
    return _process_component_request(request, component_request)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/views/__init__.py", line 210, in _process_component_request
    cache.set(component.component_cache_key, get_cacheable_component(component))
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/utils.py", line 88, in get_cacheable_component
    component.parent = get_cacheable_component(component.parent)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/utils.py", line 92, in get_cacheable_component
    child = get_cacheable_component(child)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/django_unicorn/utils.py", line 95, in get_cacheable_component
    pickle.dumps(component)
  File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/bs4/element.py", line 956, in __getnewargs__
    return (str(self),)
RecursionError: maximum recursion depth exceeded while calling a Python object
[16/Nov/2022 18:10:26] "POST /unicorn/message/meme_card HTTP/1.1" 500 20366

@adamghill Do you have any solution for this ?

@gschurck Unfortunately, I haven't been able to replicate this on my own.
The last line
File "/home/guillaume/.cache/pypoetry/virtualenvs/ttm-django-YIBsC6me-py3.10/lib/python3.10/site-packages/bs4/element.py", line 956, in __getnewargs__
    return (str(self),)

is in beautifulsoup, but not sure what might be going on in there. If you can add a small example to https://github.com/adamghill/django-unicorn/tree/main/example that replicates this that would be helpful.

Hello adamghill,
first of all: I like the idea of django-unicorn very much and honor your work on that project! ✨
I think I might have a similiar issue, but cannot provide a full example currently.
This error happend, when I tried to update the child view by an click event (not on initial load) like:
Click

Internal Server Error: /unicorn/message/mdb-index-info-details-items
Traceback (most recent call last):
  File "C:\Python\venv\lib\site-packages\django\core\handlers\exception.py", line 56, in inner
    response = get_response(request)
  File "C:\Python\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "<decorator-gen-25>", line 2, in message
  File "C:\Python\venv\lib\site-packages\django_unicorn\decorators.py", line 21, in timed
    result = func(*args, **kwargs)
  File "C:\Python\venv\lib\site-packages\django_unicorn\views\__init__.py", line 44, in wrapped_view
    return view_func(*args, **kwargs)
  File "C:\Python\venv\lib\site-packages\django\utils\decorators.py", line 134, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "C:\Python\venv\lib\site-packages\django\views\decorators\http.py", line 43, in inner
    return func(request, *args, **kwargs)
  File "C:\Python\venv\lib\site-packages\django_unicorn\views\__init__.py", line 526, in message
    json_result = _handle_component_request(request, component_request)
  File "C:\Python\venv\lib\site-packages\django_unicorn\views\__init__.py", line 372, in _handle_component_request
    return _process_component_request(request, component_request)
  File "C:\Python\venv\lib\site-packages\django_unicorn\views\__init__.py", line 208, in _process_component_request
    cache_full_tree(component)
  File "C:\Python\venv\lib\site-packages\django_unicorn\utils.py", line 93, in cache_full_tree
    with CacheableComponent(root) as caching:
  File "C:\Python\venv\lib\site-packages\django_unicorn\utils.py", line 189, in __enter__
    pickle.dumps(component)
  File "C:\Python\venv\lib\site-packages\bs4\element.py", line 975, in __getnewargs__
    return (str(self),)
RecursionError: maximum recursion depth exceeded while getting the str of an object

{% load unicorn %}

        {% unicorn 'mdb-index-info-details-items' %}

        {% unicorn 'mdb-index-info-details-chart' %}

MdbIndexInfoDetailsItemsView and MdbIndexInfoDetailsChartView are childs of MdbIndexInfoDetailsParentView
I noticed that the error disappeared when I removed one of the childs from parent template.
But when both are used in the parent template and I try some updating action, the RecursionError is raised.

I think this should be fixed by 0.58.0 of Unicorn which drastically improves child components so I'm going to close it. If it is still a problem feel free to re-open this and create a failing test or small example in the example app of this repo to replicate, though. Thank you!

I ran into a similar problem. After some digging I was able to set a breakpoint into the faulty callstack:

getattr, element.py:1608
loads, pickle.py:32
decode, default.py:452
get, default.py:265
_get, cache.py:99
_decorator, cache.py:29
get, cache.py:92
restore_from_cache, cacher.py:116
create, unicorn_view.py:833
[...]

Turned out that django_redis, uses beautifulsoup4 for serialization, and bs4 relies on some hardcoded delimiter name "Tag":
if len(tag) > 3 and tag.endswith('Tag'):
My problem was that my object contained a variable for a model named Tag, which was serialized as is, without any escaping. This made the whole parsing fail :-O

@philippe-docourt Thanks for debugging this and figuring out the callstack that triggered it. Any idea of how to stop it from happening?


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte

Hi
I backed up my Huawei P30 pro (complete backup) and now I try to decrypt the files to get access to a few documents and mainly mp3 files I used on my phone.
I get a strange error:
--- snip ---
Traceback (most recent call last):
File "./kobackupdec.py", line 1014, in
main(user_password, backup_path, dest_path, args.expandtar, args.writable)
File "./kobackupdec.py", line 941, in main
decrypt_backup(password, files_folder, dest_path_out, expandtar)
File "./kobackupdec.py", line 881, in decrypt_backup
parse_generic_xml(entry, decrypt_info)
File "./kobackupdec.py", line 644, in parse_generic_xml
xml_dom = xml.dom.minidom.parse(xml_file)
File "/usr/lib/python3.8/xml/dom/minidom.py", line 1959, in parse
return expatbuilder.parse(file)
File "/usr/lib/python3.8/xml/dom/expatbuilder.py", line 913, in parse
result = builder.parseFile(file)
File "/usr/lib/python3.8/xml/dom/expatbuilder.py", line 204, in parseFile
buffer = file.read(16*1024)
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte
--- snap ---
Any thoughts? Is it password related? I had troubles to hand over my password, because it contains an "!".
When I hard code the password (line 1000 -> user_password = 'PASSWORD_starts_with_!'.encode('utf-8'), I get the same error ...
Is there a way to maybe pass the hash to decrypt instead of plain password?

Same issue for me ..

If you guys are on MacOS and are using a non native partition then check this out:
https://github.com/RealityNet/kobackupdec/pull/46
I had exactly the same problem and it was caused by how Mac handles extended attributes on my external HDD (exFAT)

Thanks man ...  Works now with one little exception.
Can't process the pictures ... Throws an error while processing the picture.xml. I renamed the file and now processing is up and running!
--- snip ---
INFO:root:parsing xml file picture.xml
Traceback (most recent call last):
File "./kobackupdec/kobackupdec.py", line 1014, in
main(user_password, backup_path, dest_path, args.expandtar, args.writable)
File "./kobackupdec/kobackupdec.py", line 941, in main
decrypt_backup(password, files_folder, dest_path_out, expandtar)
File "./kobackupdec/kobackupdec.py", line 881, in decrypt_backup
parse_generic_xml(entry, decrypt_info)
File "./kobackupdec/kobackupdec.py", line 652, in parse_generic_xml
path = entry.getElementsByTagName('Path')[0].firstChild.data
AttributeError: 'NoneType' object has no attribute 'data'
--- snap ---


DSD-826: font size and text wrap updates to the Radio, Checkbox, and Toggle

Fixes JIRA ticket DSD-826
This PR does the following:

Updates the Radio's and Checkbox's label font size to "label.default".
Fixes alignment for long labels in the Checkbox and Radio components.
Fixes the line height for long labels in the Toggle component.

This took longer than expected because the styles did not update as I expected them to. The theme object didn't work and neither did using the sx prop over the __css prop. The rules had to be added at the top level under the "sizes" property but I don't know why. And some alignment and the line height had to be added directly as Chakra style props to the Chakra components -- and again, I don't know why.
How has this been tested?
Storybook.
Accessibility concerns or updates

N/A

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr897-ukgoy3x5tafozhzfj7wxpyokeoag0cqn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/622a8121af445bb315e2bb32

Tugboat has finished building the preview for this pull request!
Link:

https://pr897-ukgoy3x5tafozhzfj7wxpyokeoag0cqn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/622a8121af445bb315e2bb32

Added the alignItems but I don't see much of a change.

Tugboat has finished building the preview for this pull request!
Link:

https://pr897-ukgoy3x5tafozhzfj7wxpyokeoag0cqn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/622a8121af445bb315e2bb32

Tugboat has finished building the preview for this pull request!
Link:

https://pr897-ukgoy3x5tafozhzfj7wxpyokeoag0cqn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/622a8121af445bb315e2bb32

Tugboat has finished building the preview for this pull request!
Link:

https://pr897-ukgoy3x5tafozhzfj7wxpyokeoag0cqn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/622a8121af445bb315e2bb32

Tugboat has finished building the preview for this pull request!
Link:

https://pr897-ukgoy3x5tafozhzfj7wxpyokeoag0cqn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/622a8121af445bb315e2bb32

@bigfishdesign13 the last update looks good.

Tugboat has finished building the preview for this pull request!
Link:

https://pr897-ukgoy3x5tafozhzfj7wxpyokeoag0cqn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/622a8121af445bb315e2bb32


Exclude PNC temporary builds for using them with Prod PR check jobs

Signed-off-by: Alberto Morales Perez<EMAIL_ADDRESS>Thank you for submitting this pull request

so this is more like workaround to status these builds show up in repository, right? the best would be to report it and remove them, Am i right?

@mareknovotny yep, I agree. If that's not necessary for us, or even for Fuse, it shouldn't be there.
@winklerm wdyt?

so for now we can merge and later properly fix this. Can you @almope add a comment into code that what you added is a workaround to filter temp build artifacts?


[ORCA-253] Return Failure Reasons to suites.json and Failed Tests to output.csv

Problem:
Currently, the results provided by DCQC to users in the output file are limited to the dcqc_status for each file in the original manifest. Additionally, there is no status indicating that a test was unable to be performed on a file due to an error encountered during the execution of an external test.
Scope:
This PR adds functionality to capture failure reasons for both internal and external tests, but errors and error reasons for external tests only. I also encountered a complication with external tests where many of them will return the same exit_code whether they have failed or errored out. This will be addressed in future work by adding some more complex/specific logic to assess a "true" failure vs. an error. For now, these errors show up as failures, and the error_reason is captured instead as failure_reason.
Solution:
To surface more information about DCQC runs to users, the following changes were made:

Implemented logic for capturing failure reasons for both external and internal tests.

For external tests, this involved updates to the ExternalTestMixin and each individual external test class to capture information about how each test should be interpreted.
For internal tests, this involved adding failure reason strings at each place in the test logic where a test failure would be determined.
As mentioned above, errors and error reasons were also captured for external tests only.
Implemented logic to surface which tests were required, skipped, failed, and errored for each file in the final DCQC output file.

Testing:

All necessary tests and test files were updated in the repository to accommodate these changes.
New testing conditions were added for capturing the internal test failure reasons where needed.
The changes above were tested on Nextflow Tower.

This run was used to test a set of files to determine if the overall logic was working.
This run was used to test the suite error  by intentionally providing a bad file path to the TiffTag306DateTimeTest
Both test runs used a new test_full configuration that I created to test all file types that we support. The files used are housed here on Synapse.

Notes:

Bumped fs-synapse to 2.0 (synapseclient version 4.1.1).
Updated CONTRIBUTING.md.
Added DPE as code owners.

Thanks for the suggestions @BryanFauble! I made those changes in ba4d83f and ab39fcf.


Let users provide custom executeFn

Is your feature request related to a problem? Please describe
In the recent work on graphql-js for bringing @defer/stream, they introduced a new interface for executing with @defer/stream, which is called experimentalExecuteIncrementally. However, currently there's no way to tell Envelop to use this execution function instead of execute.
Describe the solution you'd like
Add an option to let users provide their own executeFn.
Describe alternatives you've considered
Provide an option to enable incremental delivery. I've put this as an alternative only because the incremental execution function has experimental at the front of its name, which makes it unreliable to depend on the interface from the library's end.

Hey! We are working on next major release https://github.com/n1ru4l/envelop/pull/1487 which would allow you to pass in custom functions

But I think it is possible currently with onExecute hook.

@saihaj lovely 🥰
@ardatan Oh right, just realized that this reassigns executeFn with custom implementation provided, missed that!


Performance improvements, documentation cleanup

Most important performance improvement in this PR is sharing of cursors in TrailDB.trails() call. Cursors are relatively heavy so this can be a massive improvement in some workloads.
Also cleaned up a whole bunch of documentation and added some sphinx configuration for that.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Noeda:x: knutinYou have signed the CLA already but the status is still pending? Let us recheck it.

Travis tests seem broken but tests do complete successfully when I run them locally.


3.2.5 java.lang.IndexOutOfBoundsException: Inconsistency detected

About this issue
(Similar report at #602 (fixed))
The implemented diff callback checks if items are the same using the identifier. This works fine, but if I set the comparator to check for the identifier, I get an OOB exception. The log is very similar to #602
To give more context, my adapter currently cycles through 2 item types. For one of them, the identifier works fine, whereas the other has inconsistent identifiers (which is why I wanted to use types). If I simply override that item creation to set the identifier to the hash of its data model and continue comparing by identifier, everything works fine. However, this moreso emulates the areContentsTheSame method. Is there something I'm not understanding here as to why comparing by type doesn't work?
Details

[3.2.5] Used library version
[28.0.0-alpha3] Used support library version
[3.1.3] Used gradle build tools version
[3.1.3] Used tooling / Android Studio version
[NA] Other used libraries, potential conflicting libraries

Checklist

[x] Searched for similar issues
[x] Checked out the sample application
[x] Read the README
[x] Checked out the CHANGELOG
[x] Checked out the MIGRATION GUIDE

The identifier must be unique inside an adapter. Two items can't have the same identifier even when there type id is different.


Use with weatherlink api?

Anyway to set this up using the weatherlink api?
https://api.weatherlink.com/v1/NoaaExt.json?user=DID&pass
=ownerpass&apiToken=tokenID

Not currently. It might also be easier to create a separate integration for the cloud API rather than adding it to this one.


Incorrect ParentId after upgrading from 2.9.1 to 2.11.0

List of NuGet packages and version that you are using:
Microsoft.ApplicationInsights 2.11.0
Microsoft.ApplicationInsights.Log4netAppender 2.11.0
Runtime version (e.g. net461, net48, netcoreapp2.1, netcoreapp3.1, etc. You can find this information from the *.csproj file):
net471
Hosting environment (e.g. Azure Web App, App Service on Linux, Windows, Ubuntu, etc.):
Windows

Describe the bug
We are using System.Diagnostics.Activity in request middleware to set the the correct parent ID using the value taken from the headers of the incoming request., e.g:
var activity = new Activity("My Request");
activity.SetParentId(requestId);
activity.Start();
try
{
  await next().ConfigureAwait(false);
}
finally
{
  activity.Stop();
}

Using 2.9.1 of the nupkgs above we see logs written to log4net by this request appear in app insights with the correct ParentId .
However after upgrading to 2.21.0 we no longer see the correct parent ID on the logs in app insights, seems like it's generating its own ID instead.
It seems that whatever causes this was introduced in 2.11.0 so I'm guessing I need to make a change on my side, but I'm not sure what. I have tried using TelemetryClient instead of Activity but it didn't help.

MS support pointed out that this is due to the change to the W3C standard for correlation. I can revert it back to the previous behaviour by setting Activity.DefaultIdFormat = ActivityIdFormat.Hierachical


Cache unable to write to /var/www/html/ci4test/writable/cache/

hello i want to ask, my problem install codeigniter 4 in centos 8

permission in writable 777
my .env change CI_ENVIRONMENT = development
im access via /project-name/publik folder

Please ask support questions on our forum.
We use github issues to track bugs and planned work.

hi, any solution?

chmod 777 -R /var/www/html/ci4test/writable/cache/
change the access permission to the cache folder by the terminal of the container

its very easy to solve :
just go to your project folder -> right click -> permission -> change permission from read only to read & write.


Update neuron backend

This modifies the CustomNeuronModelForCausalLM class to align on the latest optimum-neuron version and better use the underlying NeuronModelForCausalLM class. This in particular lets NeuronModelForCausalLM decide the default values when exporting.
In addition, this fixes the evaluation of loglikelihood for neuron models using continuous batching.
This also modifies the class initialization to allow evaluating models that have been previously exported.
Finally, this properly supports the max_length parameter, allowing to select neuron model configurations that are actually cached on the Hugging Face hub.

 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.

Hi! Thank you very much for the PR. Could you sign the CLA and run the pre-commit so it can be merged.

@baberabb it should be ok now.

Thanks for the PR!


[Bug] In playmode, all surfaces of one material disappear

I'm afraid I don't have too many details yet to share, and no repro case yet.
I have a very small project with a couple other assets imported (main one that I could potentially see interfering is Odin Inspector & Serializer, but idk), and all was working as expected. Randomly when I went into playmode all surfaces of one material disappeared. The material is just legacy bumped diffuse, nothing special.
Restarting Unity and reimporting all assets didn't help, and that material has consistently been missing, despite always showing up correctly in editor mode.
It is the actual geometry, collision and rendering, that is missing, by the way. It doesn't show up in the shadowmap either.

Editor and play mode from the scene view. Ignore the baked lightmaps, realtime lights don't show any geo.

Oh, the one thing I've just noticed is the gate also disappears, despite being just a regular model, and totally unconnected to the CSG geo. This could be a Unity bug instead, but the gate and the wall don't share materials, so idk.

Sorry for spamming comments. I noticed a disabled brush in my model. Deleting that seemed to fix the issue for me. Adding a new brush and disabling it didn't return the problem though.
I can still put some time towards trying to repro at some point, though.

Hi, yes a repro would be nice :)
That way I can make sure it doesn't happen again
sorry for the late reply, I was on vacation .. but I'm back!

Could it have been that that deleted brush had an Intersection operation? which would've removed all other brushes that didn't touch it?

Unless I changed it to intersection accidentally, no.
In a more recent project on 1.500 I haven't had this issue show up yet.

Ok, well let me know if it re-surfaces ..


'Module not found' error when using in angular app

Hi, when I want to use htmlclean in new angular app
import * as htmlclean from 'htmlclean';

And then htmlclean(someCode) it gives me error:
ERROR in ./node_modules/htmlclean/lib/htmlclean.js
Module not found: Error: Can't resolve './pathdata' in '...\node_modules\htmlclean\lib'
 @ ./node_modules/htmlclean/lib/htmlclean.js 23:13-34
...

ERROR in ./node_modules/htmlclean/lib/htmlclean.js
Module not found: Error: Can't resolve './phrasing-elements' in '...\node_modules\htmlclean\lib'
 @ ./node_modules/htmlclean/lib/htmlclean.js 21:24-54
...

Hi @mcenkar, thank you for the report.
The htmlclean was written for Node.js script. A client environment is not supported.
Why do you use the library in Angular app?
Also, if you really want to use the library in Angular app, you should configure the Angular rather than adding the .json to the paths in the source code.
It works by adding the .json to resolve.extensions for Webpack.
The version of Angular in your environment might support ng eject command to change webpack.config.js file.

I use it just in unit tests, as it fits my need for one case, not for production code. I'm aware of possibility of adding it to webpack configuration, just it's more hassle than adding extension to require. Surely it doesn't break anything to add extension?

Do you mean that another error comes by adding the .json to resolve.extensions for Webpack?

No, out of the box my app doesn't even have any webpack configuration. If I use ng eject (which was disabled BTW)
$ ng eject
The 'eject' command has been temporarily disabled, as it is not yet compatible with the new
angular.json format. The new configuration format provides further flexibility to modify the...

I will then have future hassle of maintaining it. I'd rather fix htmlclean or use my fork, or even switch to a different library. I'll let you close or merge PR.
However, to remove ambiguity, you should probably specify a file extension when requiring anything other than .js files.

I see.
Anyways, as I said, it's better that you don't use htmlclean in Angular app because it was written for Node.js script.

I am not.

If you really want to use the library in Angular app, it can be solved by resolve.extensions.

My preferred solution now is:
npm install mcenkar/htmlclean#ff4d50a5bcc8534384bf157d36aac81345eb7498 --save-dev

Again, #13 is for you to decide. I don't want to use ng eject and configure webpack if I can simply avoid it. Proposed fix doesn't break anything apart from maybe limiting you from renaming these JSON files to .JS. But they are JSON anyway.

Thank you for the proposal.
When you use a library for Node.js, it might require configuration for Webpack.
Anyway, I might change the paths in future version. Thank you. :smile:
So, could you close this issue because it was solved?

No reply came, therefore it seems that this issue was already solved.
Then I close this issue.


Please ignore. This is for testing.

@bazel-io cherry-pick
commits: 98d5d5
reviewers: iancha1992
teams: team-ExternalDeps

Cherry-pick(s) failed for  98d5d5 (Cherry-pick was attempted, but there may be merge conflict(s). Please resolve manually.)


Editor - Unknown conditional flow listed in the API provider breadcrumb dropdown

This is a...

[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report
[ ] Documentation issue or request

Description
In an API provider integration, when trying to navigate to a different flow, I saw an unknown "a Conditional Flow" listed in the breadcrumb operation list dropdown.
I don't think that conditional flow should show up in the dropdown? Or we need a way to separate these sub-flows?

This PR will fix this -> https://github.com/syndesisio/syndesis-react/pull/402


Add option to omit project output if there is no cmd output

Is your feature request related to a problem? Please describe.
I would like to be able to run a command on my projects, but only show output for the projects where output isn't blank.
For example, given the following task in mani.yaml:
tasks:
  git-status:
    desc: show working tree status
    output: table
    parallel: true
    cmd: git status -s

I get the following output when I run mani run git-status -t main
+----------------+--------------+
| Project        | git-status   |
+----------------+--------------+
| HomeAutomation |              |
+----------------+--------------+
| Linux          | ?? test_file |
+----------------+--------------+
| Vim            |              |
+----------------+--------------+

I don't want to see HomeAutomation and Vim in the output table because cmd didn't return anything. I want to see this:
+----------------+--------------+
| Project        | git-status   |
+----------------+--------------+
| Linux          | ?? test_file |
+----------------+--------------+

Describe the solution you'd like
I think adding an option in the output section would do the trick.
For example, you could call it printempty and it could be true by default. I could set it to false for my purposes.
Additional context
I just tried this tool today and I'm loving it!
I had written my own solution to the same problem a few years ago, but I like yours much better so I think I will switch over.
Keep up the good work :)

That makes sense, I've been meaning to introduce some more formatting/filtering of the output (like order, coloring, etc.), for instance, if it returns 0 instead of empty, then perhaps you'd want the same result of not having it shown. I'll add an option like that in the next release.

Awesome, I like the sound of all these things!

I've added the feature requested. It's available under the spec property:
specs:
  custom:
    output: table
    parallel: true
    omit_empty: true

tasks:
  git-status:
    desc: show working tree status
    spec: custom
    cmd: git status -s

or if you want, you can specify inline in the task. Let me know if there's an issue!


Implement BlockTree data structure

Closes #81

Modifies Block implementation in favour of implementing a BlockNode

BlockNode wraps a Block with a TreeItem<T> to make use of JavaFX's tree structure implementation

Create BlockTree structure which uses BlockNodes as its nodes

Please review and comment!

Oh yes, let's not merge this until #116 is merged so that we can incorporate the new AbsolutePath and RelativePath classes from it.

#116 is merged!

Closed in favour of #151


What does reloadTasks do with regard to coverage?

I'm trying to implement an istanbul report on code that's bundled using browserify, using the approach recommended here https://github.com/gotwarlost/istanbul/issues/59#issuecomment-18799734. I've completed every recommended step (I instrument my src, bundle it, then bundle my test files and get them to reference the instrumented src bundle), but using grunt-istanbul ,my reports are always empty.
If I run reloadTasks on my instrumented src files (as you do in your gruntfile) then I do get a report, but it evidently doesn't use my bundled, instrumented src as the results show no code was run even though all the tests run and pass. If I don't run reloadTasks I get Fatal error: No coverage information was collected when running storeCoverage.
All the code is here https://github.com/wheresrhys/on-guard/tree/browserify (note that it's the 'browserify' branch)

Is anyone successful in using this package without 'reloadTasks'? I get the error
Running "storeCoverage" task
Fatal error: No coverage information was collected
I'm trying to get the coverage report for server side ES5 files in a node JS project that uses Grunt for build. Even if I add grunt task for 'reloadTasks' there are lot of errors on the dependencies. Any help is appreciated!

@reefath,
no reloadTasks is need for normal test coverage - it is only used to test grunt-istanbul itself.
As I stated above (quoting myself: https://github.com/taichi/grunt-istanbul/issues/16#issuecomment-48204815), either:

your test don't use the instrumented files during the coverage run, or
your tests are run by a other process as the grunt tasks

Istanbul instruments the src files in such a way, that they write the coverage information in a global variable (default: coverage), during their execution.
The value of this global variable can then be write to a .json file by the task storeCoverage.
And with the makeReport task, you generate the coverage report in different formats (lcov, html, cobertura) out of the .json files.

Therefore the test run have to use the instrumented files instead of the normal source files (file path for require() statements - show us your test files). And also the step, when you want to write out the coverage information to .json files, you have to be in the same process as the test run, to access the global variable coverage.

For further help please provide your gruntfile (as a new issue with more details).
@wheresrhys & @taichi: I think this issue can & should be closed.


undefined: syscall.Handle errors on macOS

I'm not sure if there is an issue with my Go environment on macOS, but when I try to use the module (for example by running the examples), I get syscall.Handle errors:
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/io.go:13:27: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/io.go:14:27: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/io.go:121:28: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/io.go:149:31: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/io.go:151:36: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/io.go:199:32: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/table.go:76:40: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/table.go:88:32: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/interpreter.go:98:33: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/interpreter.go:104:36: undefined: syscall.Handle
/Users/macuser/go/pkg/mod/github.com/!valentin-!kaiser/go-dbase/dbase@v0.0.0-20220622120602-842944cf2977/io.go:151:36: too many errors

Is there a known issue with running this module on macOS? (M1,  Ventura 13.1)

I have personally never tested it under macOS, only under Windows and Linux systems. I will take a closer look at the problem.
But please check if you are using the latest release.
I can see in your output that you are using an old version<EMAIL_ADDRESS>

Thanks!

I can see in your output that you are using an old version

Mmmm, strange. This:
go get github.com/Valentin-Kaiser/go-dbase/dbase@latest

results for me in release v0.0.0-20220622120602-842944cf2977

Try go get github.com/Valentin-Kaiser/go-dbase@latest

Yep, that fixed it. Thanks.
I followed the read me:

Installation
go get github.com/Valentin-Kaiser/go-dbase/dbase

Now I have both the latest version, and the error is gone :)

Very nice, I'll close the issue then.

 For example, the module golang.org/x/tools/gopls is defined in the gopls subdirectory of the repository with root path golang.org/x/tools. The version v0.4.0 of that module must have the tag named gopls/v0.4.0 in that repository.


Revamp of Hub documentation

As we do huggingface/huggingface_hub#744 and add library documentation based in docstrings, the hub docs might split into hugginface_hub and product usage.
Based on existing content, what we can do is more self-contained use cases. An initial mental model without creating additional content would be
Move to huggingface_hub as guides

How to programmatically access the Inference API
https://huggingface.co/docs/hub/how-to-upstream
https://huggingface.co/docs/hub/how-to-downstream
https://huggingface.co/docs/hub/searching-the-hub

Then on the Hub
Model card

What are model cards and why are they useful?
When sharing a model, what should I add to my model card?
Model card metadata
How are model tags determined?
Can I specify which framework supports my model?
How can I link a model to a dataset?
Can I access models programatically?
Can I write LaTeX in my model card?
How is a model's type of inference API and widget determined?
What are all the possible task/widget types?

Repositories

What's a repository?
How can I explore the Hugging Face Hub?
How can I load/push from/to the Hub?
How can I rename or transfer a repo?
How can I fork or rebase a repository with LFS pointers?
List of license identifiers

CO2 Emissions

Why is it useful to calculate the carbon emissions of my model?
What information should I include about the carbon footprint of my model?
Carbon footprint metadata
How is the carbon footprint of my model calculated? 🌎

Widgets

What's a widget?
How can I control my model's widget example input?
How to create a new widget?

Inference API

What's the Inference API?
How can I control my model's widget Inference API parameters?

Security
Endpoints
Adding a new task
Integrating a new library (with parts of it linking to huggingface_hub)
This would also include Spaces, which can very likely break into more pieces
WDYT @julien-c @LysandreJik @adrinjalali @muellerzr of this as a first step once we kick off the splitting

Opened https://github.com/huggingface/huggingface_hub/issues/777 to track the part related to huggingface_hub

RE:

Model card
What are model cards and why are they useful?
When sharing a model, what should I add to my model card?
Model card metadata
How are model tags determined?
Can I specify which framework supports my model?
How can I link a model to a dataset?
Can I access models programatically?
Can I write LaTeX in my model card?
How is a model's type of inference API and widget determined?
What are all the possible task/widget types?
Repositories
What's a repository?
How can I explore the Hugging Face Hub?
How can I load/push from/to the Hub?
How can I rename or transfer a repo?
How can I fork or rebase a repository with LFS pointers?
List of license identifiers

I'd advocate quite strongly to have a higher level split between "Model repository", "Dataset repository", "Space repository". Structuring the documentation about "What's a repository?" is too bottom-up, from the engineering point of view. We structure hf.co quite strongly around "Models", "Datasets", "Spaces", so I think the better approach here would also be to have repo-type specific docs. IMO, privacy, storage is more important for datasets, inference API, TF traces is more important for model repos, CPU/GPU RAM is more important for spaces. Also we can have a nicer link to the respective libraries this way, i.e. Transformers and Datasets.
Similarly, I would make "Model card" a subsection of "Model repository" and also have a section on Dataset cards.

As said before, instead of writing titles such as:
What are model cards and why are they useful?
When sharing a model, what should I add to my model card?
Model card metadata
How are model tags determined?
Can I specify which framework supports my model?
How can I link a model to a dataset?
Can I access models programatically?
Can I write LaTeX in my model card?
How is a model's type of inference API and widget determined?
What are all the possible task/widget types?

It's much clearer to write:
Model cards
Sharing a model
Model tags
Linking a model
Add LaTeX

etc.

Copy paste from internal Slack discussion with @hollance
Ah nice. Since I'm kind of new to the hub myself, I'm looking at it with "beginner's eyes" and a lot of these things aren't obvious.
(For example, I tried to make a custom dataset and it was not clear at all how to do this and I had to do a lot of digging to figure it out.)
Even if the functionality to do certain things exists, like hosting custom models, if this info is hidden then it will be hard to convince people to use HF.

As said before, instead of writing titles such as:...

I'm actually kind of curious, does anyone know if there's an SEO benefit to one of those styles over the other?


Add command to send a tx from any account using private key (WIP)

Already merged via smesher api PR


[Cognitive Services - Document Translator] REST API Review

o	Service name: Document Translator
o	Key contact for the review: alcheng
o	Whether this is a new or existing API: new version of existing API
o	Whether or not your service already been deployed: new version has not
o	A brief description of the material to be reviewed/changed

new single document sync API
renaming of base path
restructure of some json input / output

Overview of the change:    Document Translator API v2.0.docx

Look at Api Versioning
Look at Actions
Breaking change policy

Closing issues with no update in past 3 months. Please reopen if needed.


Twisted interface

Kafka-Python claims to be "async" but this seems to just mean "uses lots of threads to put your I/O into the background" and not actually "event-driven".  It would be nice to have an interface which avoids the overhead (thread stacks, GIL switching, etc) and risks (sharing too much state, deadlocks, difficult to debug differing behavior at scale) of threads, but presents a similar interface.
I filed the ticket with the summary "twisted" because of my particular biases, but this should be done in a way which is as framework-neutral as possible, since supporting the asyncio stdlib module at some point in the future would probably be interesting as well, not to mention Tornado and Vanilla and so on.
Given that one would be consuming a queue, perhaps this would be a good landmark project for https://github.com/twisted/tubes which, despite its github URL, has an (almost) framework-neutral architecture and lots of good abstractions around flow control and propagating backpressure.

This was already achieved by https://github.com/ciena/afkak but sadly their library has not been maintained well.


Palisades Interstate Parkway Commission shields

Parkways of the Palisades Interstate Parkway Commission have a white-on-brown circular shield, with an illustration of a leaf on top and the full name of the parkway spelled out on bottom.

Currently, the routes in New York are tagged with network=US:NY:Parkway:PIPC and the route in New Jersey is tagged network=US:NJ. A consistent tagging scheme will have to be devised and implemented before shield support can be added.

I agree, though right now it seems like shields prevent the rendering of street names. We need to show the name alongside the shield if the shield isn't enough to determine which route it is.

Wondering if there's a technical solution that lets the street name always appear under the shield.  Alternately, maybe it's possible to spread out the shields more for routes where we know we want the name to be drawn.

Option 5 in https://github.com/ZeLonewolf/openstreetmap-americana/pull/119#issuecomment-1031143629 might apply here: decrease the minimum zoom level at which roads in this network are labeled, so that the road’s effective “shield” is a text label.


Add Inverted Eastron kWh meter

The Eastron SDM series kWh meters are bidirectional; usually you connect the incoming power to the upper side, and the outgoing power connections to the lower side; but sometimes (often!) your power panel has the power coming from the lower side, and the outgoing connections are at the upper side.
When this "inverted" installation is used, all the currents have to be multiplied by -1 so that the Smartmeter has the correct interpretation of the MAINSCURRENTs.
This PR adds another kWh "InvEastrn" (Inverted Eastron) to the list of kWh meters, that will do exactly the same as the normal Eastron meters, except multiply the measured currents with -1 .

Yes, often the power came from the lower side, but the manual defines grid on the upper side and load on the lower side.
Putting the wires around the EM won't swap import/export or negate power display.

Take a look at the Finder 7M.38.8.400.0212 - it has mains on the lower side and load on the upper side.


Add Galleria to Contributors list

Add Galleria to Contributors list

@Galleria, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Removing depricated Query Server flags

Signed-off-by: rjs211<EMAIL_ADDRESS>
Which problem is this PR solving?

resolves part of #2738

Short description of the changes

The depricated query.port and query.host-port were removed.
The redundant test cases were removed
Even though the behaviour remaiins the same, the code logic is simplified.

TODO

CHANGELOG.md changes (in progress)

The new logic is as follows:

If TLS in enabled in either or both of GRPC or HTTP endpoints, --query.http-server.host-portdefaults to :16686 and  --query.grpc-server.host-port defaults to :16685
If TLS is disabled in both endpoints (default), both --query.http-server.host-port and  --query.grpc-server.host-port default to :16686

This ensures that if the user doesn't specify the host-ports, the server would still initialize, for both TLS and non-TLS cases, conforming to the existing behaviour.


Rename Databerry to Chaindesk

Fixes # (issue)

Not sure how many folks are currently in prod with this but would it make sense to keep DataberryRetriever as a deprecated alias?

Not sure how many folks are currently in prod with this but would it make sense to keep DataberryRetriever as a deprecated alias?

Safe idea @jacoblee93! Will add back the DataberryRetriever class . Is there a way to mark the class as deprecated?

Not sure how many folks are currently in prod with this but would it make sense to keep DataberryRetriever as a deprecated alias?

Safe idea @jacoblee93! Will add back the DataberryRetriever class . Is there a way to mark the class as deprecated?

Just don't forget to put the entrypoint back in create-entrypoints.js as well then!
Have been doing stuff like this:
https://github.com/hwchase17/langchainjs/blob/main/langchain/src/vectorstores/mongo.ts#L21


plugin_group! macro (adopted)

Objective

Adopted from #11460.
Closes #7332.
The documentation for DefaultPlugins and MinimalPlugins frequently goes out of date because it is not .

Solution

Create a macro, plugin_group!, to automatically create PluginGroups and document them.

Testing

Run cargo-expand on the generated code for DefaultPlugins and MinimalPlugins.
Try creating a custom plugin group with the macro.

Showcase

You can now define custom PluginGroups using the plugin_group! macro.

plugin_group! {
    pub struct MyPluginGroup {
        physics:::PhysicsPlugin,
        rendering:::RenderingPlugin,
        ui:::UiPlugin,
    }
}

CI failures are real :)

If you have time, could you also include a simplified sample of the expanded macro in Solution? Or maybe a sample of the auto-generated docs in Showcase?

The CI tests fail when the macro is trying to include the 'CiTestingPlugin'(the irony). Not sure what is causing it though, because the error says that it doesn't implement std::default::Default but none of the other plugins need it. You could include the CiTestingPlugin using the normal way, but that would kind of defeat the purpose of including the feature. Or you could implement std::default::Default for the CiTestingPlugin. Which ever floats your boat/fixes the issue.

The CI tests fail when the macro is trying to include the 'CiTestingPlugin'(the irony). Not sure what is causing it though, because the error says that it doesn't implement std::default::Default but none of the other plugins need it. You could include the CiTestingPlugin using the normal way, but that would kind of defeat the purpose of including the feature. Or you could implement std::default::Default for the CiTestingPlugin. Which ever floats your boat/fixes the issue.

Part of this change actually requires plugins added in plugin_group! to implement Default. Fix pushed, let me update the docs.

If you have time, could you also include a simplified sample of the expanded macro in Solution? Or maybe a sample of the auto-generated docs in Showcase?

Done! Macro outputs aren't the prettiest, but I tried to improve plugin_group! enough that it is at least passable.


Add support for sending messages as a Telegram bot

Fixes #37
Description of changes
Add an entire trigger handler to support sending message to Telegram bots. An array of chat IDs can be attached to each trigger and the photo that triggered the message and camera name will be sent to each of the chats.
Checklist
If your change touches anything under src or the README.md file
these items must be done:

[ ] CHANGELOG.md updated
[ ] npm version run

This does work but isn't ready to merge. CONTRIBUTING.md needs to be updated to make sure people understand that this isn't enabled in dev builds by default. Also needs a re-look as a PR instead of as code in VS since I've re-written parts of it many times and likely left some crap behind.


Homebrew formula is broken

brew install cf-cli
==> Installing cf-cli from cloudfoundry/tap
==> Downloading https://packages.cloudfoundry.org/stable?release=macosx64-binary&version=6.38.0&source=homebrew
Already downloaded: /Users/woodaaron/Library/Caches/Homebrew/cf-cli--6.38.0
Error: No such file or directory - cf

Upgrading from an already existing install also hits the same error.

Hi @aaronjwood thanks, closing this issue as a dupe. Please see: https://www.pivotaltracker.com/story/show/159645341. Thanks and let us know if you have any questions.

Yup, all good now. Thanks!


Pasting an image into text cell renders image outside cell

Azure Data Studio Version: 1.29.0-rc1

Steps to Reproduce:

Create new notebook and add a text cell.
Copy paste and image into the cell.

The issue only happens when creating a new cell and the cell is empty.


checkstyle: 9.3 -> 10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/checkstyle/versions.
meta.description for checkstyle is: "Checks Java source against a coding standard"
meta.homepage for checkstyle is: "http://checkstyle.sourceforge.net/"
meta.changelog for checkstyle is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/w2ik6jz3p0ppdzy3cxf3ghrkrlmx78ad-checkstyle-10.0/bin/checkstyle had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 10.0 with grep in /nix/store/w2ik6jz3p0ppdzy3cxf3ghrkrlmx78ad-checkstyle-10.0
found 10.0 in filename of file in /nix/store/w2ik6jz3p0ppdzy3cxf3ghrkrlmx78ad-checkstyle-10.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
checkstyle

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/w2ik6jz3p0ppdzy3cxf3ghrkrlmx78ad-checkstyle-10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A checkstyle https://github.com/r-ryantm/nixpkgs/archive/32c25e929866400c09d79a8cc92f6f4eb1b653fb.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/w2ik6jz3p0ppdzy3cxf3ghrkrlmx78ad-checkstyle-10.0
ls -la /nix/store/w2ik6jz3p0ppdzy3cxf3ghrkrlmx78ad-checkstyle-10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

checkstyle

Maintainer pings
cc @pSub for testing.

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

1 package built:

checkstyle


New python version introduces bug with pydantic

Python 3.9.8 and Python 3.10.1 introduce an API change in typing.ForwardRef that introduces a bug in pydantic (for details see https://github.com/samuelcolvin/pydantic/issues/3401 and https://github.com/samuelcolvin/pydantic/pull/3403).
In order to get around this for the moment we downgraded the Python 3.9 version used on CI to 3.9.7, but we should prioritize fixing https://github.com/GridTools/gt4py/issues/548 and get the latest version with the fix ASAP.

This is negated by the fact that code in eve breaks later Python versions anyway, so I'll close this.


Filled triangle extends off top of display.

I may have found a possible bug.  In code below, the upward facing triangle [filled] would extend past its specified coordinates to off the top of the screen.
w = 240 // 2
h = 240 // 2
r = 50
x = w
y = h
fill(BLUE)
triangle(x,y, x-r,y-r, x+r,y-r, RED,    True)    # UP - filled [ERROR]
triangle(x,y, x-r,y-r, x+r,y-r, WHITE)           # UP - no fill - OK
triangle(x,y, x-r,y+r, x+r,y+r, YELLOW, True)    # DOWN  - OK
triangle(x,y, x+r,y-r, x+r,y+r, PURPLE, True)    # RIGHT - OK
triangle(x,y, x-r,y-r, x-r,y+r, GREEN,  True)    # LEFT  - OK
show()
Tested with Waveshare 1.3 inch LCD Display for Raspberry Pi Pico, IPS Screen Display Module, 65K RGB Colors, 240x240 Pixels, Embedded ST7789 Driver Chip, Using SPI Bus.

Hi HerbOtto,
thank you for raising this issue.
I agree that there does seem to be a bug here that occurs when the second and third y values are equal and smaller than the first.
I have been able to reproduce it on a SH1107 128x128 OLED with the following code, and will investigate the cause. Hopefully fixing it may be as simple as replacing a < with <= but we will see.
#   ...
    display.fill(0)
    display.triangle(64, 64, 40, 40, 90, 40, c=1, f=False)  # OK
    display.show()
    time.sleep(2)
    display.fill(0)
    display.triangle(64, 64, 40, 40, 90, 40, c=1, f=True)  # error
    display.show()
    time.sleep(2)
    display.fill(0)
    display.triangle(64, 64, 40, 40, 90, 41, c=1, f=True)  # OK
    display.show()
#   ...

Hi again,
I have found that changing the line y = 0 in the triangle method to y = y0 should fix this bug. However while investigating this I found that the method sometimes draws filled triangles slightly incorrectly where all three vertices have different y values (The code seems to draw an unnecessary additional horizontal line around the middle vertex when it starts to draw the lower part of the triangle.) Once I have some repaired code I will post it up (in the coming days).

Sounds great - thanks!Sent from my iPadOn May 4, 2023, at 3:16 AM, peter-l5 @.***> wrote:
Hi again,
I have found that changing the line y = 0 in the triangle method to y = y0 should fix this bug. However while investigating this I found that the method sometimes draws filled triangles slightly incorrectly where all three vertices have different y values (The code seems to draw an unnecessary additional horizontal line around the middle vertex when it starts to draw the lower part of the triangle.) Once I have some repaired code I will post it up (in the coming days).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

The main branch is now updated with a fix for this issue.
Any feedback on it would be welcome.
I'll close the issue in a few days if no snags found.


Investigate performance of html macro

Sometimes the deeply nested html! macro can cause the compile time to increase exponentially.
Breaking away a couple layers of html tags can solve this issue, but we still need to figure out whether this is due to html! itself being slow or it is due to rustc trying to expand the macro recursively.
See: https://github.com/yewstack/yew/discussions/2518

A bit of progress here: I think it's due to recursively expanding nested TokenStreams from the inside out, leading to copies on each level under the hood of quote.


💣 [Edge] Get all secret when create workload manifests in admin page,  expect secret from edge cluster

fixed at https://github.com/kubegems/dashboard/pull/563


Torch error on install

Install: ['https://github.com/kijai/ComfyUI-IC-Light?tab=readme-ov-file']
Download: git clone 'https://github.com/kijai/ComfyUI-IC-Light?tab=readme-ov-file'
[!] C:\Temp\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
[!]   _torch_pytree._register_pytree_node(
[!]
0it [00:00, ?it/s]Cmd('git') failed due to: exit code(128)
0it [00:00, ?it/s]   cmdline: git clone -v --recursive --progress -- https://github.com/kijai/ComfyUI-IC-Light?tab=readme-ov-file C:\Temp\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IC-Light?tab=readme-ov-file
Install: ['https://github.com/kijai/ComfyUI-IC-Light?tab=readme-ov-file']
Download: git clone 'https://github.com/kijai/ComfyUI-IC-Light?tab=readme-ov-file'
[!] C:\Temp\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
[!]   _torch_pytree._register_pytree_node(
[!]
Cmd('git') failed due to: exit code(128)
0it [00:00, ?it/s]  cmdline: git clone -v --recursive --progress -- https://github.com/kijai/ComfyUI-IC-Light?tab=readme-ov-file C:\Temp\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IC-Light?tab=readme-ov-file

That's a wrong install command, how are you trying to install this?

 Thanks, it's working now.

 Thanks, it's working now.

No worries, happens to the best of us!