Possible bug in cpu_instrs 11

Hey!
I'm stuck with cpu_instrs 11. I think I've found a bug in the log files.
After executing 0x34 INC (HL) the value is not incremented. (Ignore flags)
============== ERROR ==============

Mismatch in CPU state at line 2602508:

MINE:	A:00 F:-H-- B:DE C:F4 D:DE E:F5 H:DE L:F6 SP:DFF1 PC:DEF9 PCMEM:00,00,C3,CD
YOURS:	A:00 F:---- B:DE C:F4 D:DE E:F5 H:DE L:F7 SP:DFF1 PC:DEF9 PCMEM:00,00,C3,CD

The CPU state before this (at line 2602507) was:

	A:00 F:---- B:DE C:F4 D:DE E:F5 H:DE L:F6 SP:DFF1 PC:DEF8 PCMEM:34,00,00,C3

The last operation executed (in between lines 2602507 and 2602508) was:

	0x34 INC (HL)

Perhaps the problem is with this opcode, or with your interrupt handling?

Hey elmarsan, the issue is in your implementation. Operations with (HL) in their name like INC (HL), DEC (HL), etc. are actually referring to the byte at the memory address HL instead of the value of HL itself.
From the logs you've given the value of HL is $DEF6 so the operation should increment the byte at that address.
The rgbds docs have helped me understand what operations are supposed to do.


Add persistence CreatePreservationAction method

Add a CreatePreservationAction method to the persistence service,
the telemetry wrapper, and the ent client implementation
Update package_.CreatePreservationAction() to use the persistence
service method

These changes are from PR #952 but without the controversial addition of the API endpoint.


Fix: Forgot password screen enhanced

#225
Two buttons are also added to navigate back to the login screen (Back button) and go to the signup screen (Sign up with email button). After the submission of the email, the text written in the edit text field will be deleted.
Here is the screen shot of the same:

@Ijaiswalshivam please merge it.


Split Layout for Profile Pages

Fixes #585
Creator

[ ] Build relevant tests if any apply
[ ] Ensure there are no new warnings
[ ] Upload an animated GIF showcasing the solution (if it applies)
[ ] Set a relevant reviewer

Reviewer

[ ] Run test and make sure all tests pass
[ ] Review function and form on iOS
[ ] Review function and form on Android
[ ] Review function and form on Web
[ ] Review new test logic


SetKit fix (kit selection is not persisted properly when triggered at…

setKit may be called also very early, before a CMake driver instance is created. That can happen, for example, when a project folder is just opening and it doesn't have an active kit saved, triggering the kits quick pick to show up.
Not having a CMake driver instance at the time of selecting the kit causes the selection to not be persisted properly.
The fix is to create a new instance of the CMake driver in setKit, if none exists yet.

Abandoning this PR, better fix with https://github.com/microsoft/vscode-cmake-tools/pull/854


Docs: add a section for feedback

Is email to @MikeFultonDev the only recommended feedback option? What about Discussions? (where you'd think it was happening already.)

There should be a generic path for feedback and (imho) the Discussion area fits that bill.  Perhaps it needs to be renamed to Discussions/Feedback?

@IgorTodorovskiIBM ah... then I do think you need to be more specific.


Autocomplete fields no longer show validation messages

Describe the bug
If you validate a form (e.g. http://localhost:8888/editor/resourceTemplate:testing:uber1)  but do not fill out a required autocomplete field, no validation shows for autocomplete fields:

I believe this is a regression introduced here:
https://github.com/LD4P/sinopia_editor/pull/2418/files#diff-5af3b8202169112b397e9788618f39cdR144
https://github.com/LD4P/sinopia_editor/pull/2418/files#diff-1274cb0dd9bcac9a46477a0e814f17eaR156

can no longer reproduce, closing.


2006

added pack-2006

You uploaded a folder with the pack inside instead of the pack itself. We need the pack upload to just be the folders and files with the sprites inside. See below for an example branch what the submission should look like.
https://github.com/melkypie/resource-packs/tree/pack-dark-vanilla-nichy
In GitHub Desktop, when you upload the pack, just upload all the files in folders in the pack.
I would prefer if you also include fixed mode and modern mode with this pack eventually. Doesn't make sense to promise updates in separate packs in the README.md. Since you can push updates to this branch whenever you want since you uploaded it via github. :)

Alright, I'll fix the folder situation.
I just want to explain what I meant by having it seperate; I already have it set up to where the fixed/modern is inside of the pack I uploaded, but the icons are way out of position. It's not possible to have them all align and look correct at once, I've tried. It really only looks good in Classic mode. I also have it set up in a way that the plugin "interface styles" is turned on and I have it set to 2006 to basically work together with what I have. The game frame and buttons already exist in fixed mode via said plugin, so I figured it didn't make sense in my mind to recreate what's already there, but it will still have everything that I've changed. If the unaligned icons don't matter then I'll just scrap the whole idea and ship it how it is and explain how to use it in the readme. Sorry if this is confusing.


How to implement custom search logic?

Hello devs!!
Thanks for sharing this awesome package. I am using it in my projects. I want to implement customized search logic. Is there any way to implement it ?
Also, How can i recompile this package and publish it on npmjs repository? Is it possible/legal ?
Sorry If it is very silly question. I am new to angular/typescript & npm package publishing.
Kind Regards

Thanks! I figured it :)


LanguageService API request : Flattened navigation bar items

I've added a semantic view to TypeScript alm.tools:

I just used (abused) the getNavigationBarItems entry point. Would like to consider get the results flattened using some other API endpoint. Something like
global
  foo
  ts.NavigationBar
    getNavigationBarItems
        createTopLevelItem

getFileOutline? Just a thought :rose:

This is should be covered by https://github.com/Microsoft/TypeScript/issues/7523.


POST 404 error when uploading or editing an episode with themoviedb and postgres

After fetching TV show info from themoviedb, uploading an episode fails at 100% with the error message File upload failed. Please close this popup and try again. After editing episode info from themoviedb, when saving, the message An error occurred. is shown. It seems whenever info about an episode is committed to the postgres database, it fails. Movies do not have this issue. In /var/log/apache2/streama-access.log I see a POST 404 error when I upload. There isn't anything in /var/log/apache2/streama-error.log. This occurs with 1.6.0-RC6, but has occurred with previous versions for awhile. I think 1.2.3_beta did not have this issue, but I'll need to test it again.
Workaround:

Manually creating an episode and saving works.

Uploading an episode image after creating the manually created episode works.

Uploading a video file works.

Main postgresql log:
2018-06-04 06:03:28.891 EDT [5284] streama@streama_db LOG:  execute S_5: select episode0_.id as id1_17_0_, episode0_.version as version2_17_0_, episode0_.api_id as api_id3_17_0_, episode0_.date_created as date_cre4_17_0_, episode0_.deleted as deleted5_17_0_, episode0_.imdb_id as imdb_id6_17_0_, episode0_.intro_end as intro_en7_17_0_, episode0_.intro_start as intro_st8_17_0_, episode0_.last_updated as last_upd9_17_0_, episode0_.original_language as origina10_17_0_, episode0_.outro_start as outro_s11_17_0_, episode0_.overview as overvie12_17_0_, episode0_.popularity as popular13_17_0_, episode0_.report_count as report_14_17_0_, episode0_.vote_average as vote_av15_17_0_, episode0_.vote_count as vote_co16_17_0_, episode0_.air_date as air_dat18_17_0_, episode0_.episode_string as episode19_17_0_, episode0_.episode_number as episode20_17_0_, episode0_.name as name21_17_0_, episode0_.season_number as season_22_17_0_, episode0_.show_id as show_id23_17_0_, episode0_.still_image_id as still_i24_17_0_, episode0_.still_path as still_p25_17_0_ from video episode0_ where episode0_.id=$1 and episode0_.class='streama.Episode'
2018-06-04 06:03:28.891 EDT [5284] streama@streama_db DETAIL:  parameters: $1 = '274'
2018-06-04 06:03:28.891 EDT [5284] streama@streama_db LOG:  execute S_1: COMMIT

Deleting gives a 404 error as well.

Choosing a local file for an episode gives a GET 500 error along with two messages: An internal server error occurred. and Internal server error.

application.yml:
# Place this file next to the streama-[version].war on deployment
 environments:
     production:
             dataSource:
                     # potential postgres config
                     #dbCreate: update
                     url: jdbc:postgresql://<IP_ADDRESS>:5432/streama_db
                     #pooled: true
                     #jmxExport: true
                     driverClassName: org.postgresql.Driver
                     dialect: net.kaleidos.hibernate.PostgresqlExtensionsDialect
                     #dialect: org.hibernate.dialect.PostgreSQLDialect
                     #dialect: org.hibernate.dialect.PostgreSQL94Dialect
                     username: streama
                     password: <insert_password>
             #hibernate:
                     #dialect: net.kaleidos.hibernate.PostgresqlExtensionsDialect
                     #Keymapping:
                     #user: 'username'
                     # mysql config
                     #dbCreate = "update"
                     #driverClassName: "com.mysql.jdbc.Driver"
                     #url: jdbc:mysql://localhost:3306/streama_db
                     #username: streama
                     #password: <insert_password>
#
#                    driverClassName:  'org.h2.Driver'
#                         url: jdbc:h2:./streama;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
#                         username: root
#                         password:
#                         server:
#                         port: 8080

Apache virtual host:
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile    /etc/letsencrypt/live/mywebsite.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mywebsite.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLProtocol All -SSLv2 -SSLv3 -TLSv1 +TLSv1.1
SSLHonorCipherOrder On
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
Header always set X-Frame-Options SAMEORIGIN
Header always set X-Content-Type-Options nosniff
Header always set X-XSS-Protection "1; mode=block"

RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|CUSTOM)
RewriteRule .* - [F]

Header unset Server

ServerSignature Off

ServerName streama.mywebsite.com
ErrorLog ${APACHE_LOG_DIR}/streama-error.log
CustomLog ${APACHE_LOG_DIR}/streama-access.log combined

DocumentRoot "/mnt/streama"

<Directory /mnt/streama>
    Options All
    AllowOverride All
    Order allow,deny
    allow from all
    Require all granted
</Directory>

<Proxy *>
        Order deny,allow
        Allow from all
</Proxy>

  ProxyRequests Off
  ProxyPreserveHost On
  RequestHeader set X-Forwarded-Proto "https"
  SSLProxyEngine on
  ProxyPass "/" "http://localhost:8080/"
  ProxyPassReverse "/" "http://localhost:8080/"

SSLUseStapling on
</VirtualHost>
<IfModule mod_ssl.c>
SSLStaplingCache shmcb:/var/run/apache2/stapling_cache(128000)
</IfModule>

For clarification: saving a show, deleting a show, saving a season, and deleting a season all work just fine. Editing and saving, deleting, and uploading videos for individual TV show episodes all fail with a either a POST 404, or DELETE 404 error. I've verified that there isn't anything broken with how streama interacts with a postgresql database, as movies work just fine in all respects. Something seems to prevent the episode info getting saved. I think streama has made some assumptions about saving TV show episodes that work fine with a mysql database, but not a postgresql database similar to the user vs. users table issue.

I think I've narrowed it down to the episode image. If I manually create an episode, it saves just fine. Afterwards I can edit it and add an image with no trouble. However, fetching episodes with an image and trying to save them don't work. There aren't many options for adding or removing images for individual episodes, so that makes it a problem for testing it more directly. Also I think the DELETE 404 error is caused by the episode not being saved, and thus non-existent in the database to be deleted to begin with.

I found a temporary workaround. Manually episodes by episode and season number (name doesn't matter), then using the re-fetch option works.


Remove SSH connections from the outside

Description
To connect to the EC2 instance SSM should be used as good practice. This PR drops the SSH support. So no SSH connections from the outside to the runner and/or agent are possible. For debugging purposes use the built in SSM support.
Migrations required
If you use SSH to connect to your instances, switch to SSM which is safer and does not require to open ports to the outside.
module "gitlab_runner" {
  enable_runner_ssm_access         = true # for the agent
  enable_docker_machine_ssm_access = true # for the spot instances
}

Verification
Deployed the new version of the module into our production environment and ran some build jobs. Worked fine.
Documentation
We use pre-commit to update the Terraform inputs and outputs in the documentation via terraform-docs. Ensure you have installed those components.

@kayman-mk sorry for the late response, will check the PR asap. I agree SSM is a better practice but not sure I I prefer to drop the supprt fully.

Yeap, not an easy decision. I like SSH too. But you could still stay with it and tunnel it through an SSM connection. See https://www.techbeatly.com/2020/10/how-to-ssh-tunnel-through-aws-systems-manager-to-access-private-vpcresources.html
So on the developer machine SSH can be used as always but it is streamed through an SSM connection.

Do my best to check the PR early next week

I agree, dropping SSH is fine by me. Better to preach good practices. Please can you do me a favour and also update the README. The SSH keys option are mentioned several places. Please can you also refer to the example you mentioned: you could still stay with it and tunnel it through an SSM connection. See https://www.techbeatly.com/2020/10/how-to-ssh-tunnel-through-aws-systems-manager-to-access-private-vpcresources.html
Tested and LGTM! Great work!

Oh yes, sure. I must have overlooked that.

@npalm Just started to amend the documentation and mentioned the tunnel through SSM feature. Well, if you can't set the SSH keys you won't be able to connect to the instance, right? So it makes no sense to reference it.

@npalm File is gone, pipeline green.


Edge browser issue

In Edge browser video spinner always visible.

According to the MSDN doc for GlobalEventHandlers.onloadeddata, the compatibilty with Edge is unknown.
[https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadeddata]

As Edge now runs on Chromium, I believe this is solved. Closing.


How to test the simple-websocket-server with the client

We are trying to run the websocket server and the port is getting listened,but we couldn't accept the websocket client connection. We suspect that the callback handler is not working.Can you please assist us on this.
Thanks in advance,
Ragu R

What OS are you on, and what is the output of running ws_examples?

we are using centOS 6.7 64bit.

im using centOS 6.7 64bit

did you check your firewall policy? maybe your system is blocking the connection. did you try to stop your firewall?

When we run the ws_examples the port gets listened.

What client are you using?

We are using 2 URL's to connect client. Please find below:
chrome-extension://pfdhoblngboilpfeibdedpjgfnlcodoo/index.html
https://www.websocket.org/echo.html

Check the console messages on your browser. I got:
The page at 'https://www.websocket.org/echo.html' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://..../echo?encoding=text'. This request has been blocked; this endpoint must be available over WSS.doConnect @ echo.js:111
echo.js:111 Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.

When loading the page with http instead (http://www.websocket.org/echo.html) I got:
WebSocket connection to 'ws://....:8080/echo?encoding=text' failed: Connection closed before receiving a handshake response

Because of the trailing ?encoding=text I changed the endpoint in ws_examples.cpp to this and it worked:
auto& echo=server.endpoint["^/echo/?.*$"];

Great thanks for your help. It works fine now. But can you help us to connect the server with(ws://...:8080) not with(ws://...:8080/echo?encoding=text). Is there any possibilities to run like this?

That depends on the client, and here you are on your own:) Good luck!


display of strings

In the property display in demo2, some values are concepts, while others are strings. When we display a string it should be enclosed in "double quotes" so the user can see that it's a string.

What do you consider a concept versus a string? What would be an example?

Click on the "Raw Response" button and look at the JSON. If a result entry has a type value of "uri" then it's a concept. If its type is "literal" then it's a string or a number. If its type is "bnode" then it's a box like b0.

taxonRank and subTaxonOf have values that are concepts. taxonName has a value that is a string.

Oh ok makes sense thank you


Use of Portal

Change Type
Addition
Proposed Changes
Can you confirm if the portal prop is supported to target a different rendering location and how we use it, I'm currently trying:
<Drawer.Root bind:open={dialogOpen} portal="#app"> but it doesn't seem to work

Obviously being very dumb, I see that you don't specify portal on the Root but on the <Drawer.Portal> component.


detect that image referenced in Dockerfile has been updated at docker registry and it is required to rebuild user image accordingly

it is probably a docker issue, but just for the reference.

Does this happen also if you use FROM blah/foo:cool_tag? I think I've
seen this happen when you don't give a tag in your Dockerfile which docker
seems to take as "any tag of this will do"
T
On Fri, Nov 13, 2015 at 9:35 AM Andrey Ustyuzhanin<EMAIL_ADDRESS>wrote:

it is probably a docker issue, but just for the reference.
—
Reply to this email directly or view it on GitHub
https://github.com/everware/everware/issues/31.

it happens when you specify cool_tag which was not latest. Maybe docker supposes that only latestcan differ and checks for updates, and all the rest should stay the same once tagged? (which not completely unreasonable)


Only show Infobox for certain entities

Several users in the forum have been looking for the ability to only show the InfoBox for certain types of entities.  For example, it would be useful to show the InfoBox for pins but not polylines.
One solution could involve this: #1592 (Picking Priority)
https://groups.google.com/forum/?hl=en#!topic/cesium-dev/H_-hJyY_KuA
https://groups.google.com/forum/?hl=en#!topic/cesium-dev/agtOrHYEhUo

I think this would solve the issue in this new forum thread: https://groups.google.com/d/msg/cesium-dev/B7QYbtyRPFo/vC2OT9UnBwAJ
They're using a KML data source and would like only the pins to be selected.


pull request for e2e test at 11/16/2016 00:26:09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


nginx SupplementalGroups leak to worker process

It seems the reason for SupplementalGroups=acme is so that the TLS private keys can be owned and group-readably by acme, and read by the master nginx process. However I see that the worker process also inherits it. Doesn't that mean the worker process will also have access to the private keys?
# systemctl daemon-reload && systemctl start nginx
# ps -e -d -a -o pid,cmd,group,supgrp | grep nginx
  82479 nginx: master process /usr/ nginx    nginx,acme
  82480 nginx: worker process       nginx    nginx,acme

I did not realize this until now, you are right.
But the worker process should always have access to the keys from the master process, because the worker process has to terminate the TLS connection. The master process is not involved in the TLS termination as far as I know.
So, as far as I can tell, this should be fine.

Ah right, thanks!


fix: update opengb docker tag

#311  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AngelOnFira and the rest of your teammates on  Graphite


Allow flexlm expiration metrics to be cached if lmutil fails

We had instances where lmutil would fail intermittently which for alerts would cause false resolves to go out when no data is present.  This change adds a opt-in ability to cache lmutil data so that any failures of lmutil will use cached data.  Without --collector.lmstat_feature_exp.use-cache there is no behavior change.

Coverage decreased (-1.1%) to 33.853% when pulling f8dd5786da7a28d5950d7c344626676cebb4bc30 on treydock:cache into c2f87c6db3f592ba00161d3ba987dfb27e19482d on mjtrangoni:master.

FWIW I've been running this code for a month or two with no issues using --collector.lmstat_feature_exp.use-cache flag.

@treydock would you mind rebasing this against master? I want to merge this change. Very sorry for the delay!

I might not use this feature anymore, I completely forgot I had this forked change deployed. For some of the exporters I wrote and got added to Prometheus documentation for community, I had used caching features but got some feedback from Prometheus developers that caching at the exporter is bad practice.  So I will try to run my local FlexLM exporter using the latest release and not my fork and see if the lack of caching causes any operational problems.  One way to avoid flapping with up/down FlexLM services or short interruptions is to do something like this:
avg_over_time(lsdyna_feature_aggregate_expiration_seconds[30m]) < 2592000

The use of avg_over_time is able to make short gaps in data not cause issues for alerts, this is something the Prometheus developers pointed me to.


gofmt: Incorrect format for maps with unicode keys

Go version
go version go1.22.0 darwin/arm64
Output of go env in your module/workspace:
Not important

What did you do?
I created a map with unicode keys
package main

import "fmt"

func main() {
    // Create a map to store the currency names and their corresponding ISO currency codes
    currencyMap := map[string]string{
        "美元":   "USD",
        "人民币":  "CNY",
        "加拿大元": "CAD",
        "巴西雷亚尔": "BRL",
        "欧元":   "EUR",
        "瑞士法郎": "CHF",
        "英镑":   "GBP",
        "澳大利亚元": "AUD",
        "港元":   "HKD",
        "墨西哥比索": "MXN",
        "马来西亚林吉特": "MYR",
        "台币":   "TWD",
        "哥伦比亚比索": "COP",
        "秘鲁新索尔": "PEN",
        "阿根廷比索": "ARS",
        "智利比索":  "CLP",
        "瑞典克朗":  "SEK",
        "以色列新谢克尔": "ILS",
        "新西兰元":  "NZD",
        "南非兰特":  "ZAR",
        "日元":   "JPY",
        "挪威克朗":  "NOK",
        "新加坡元":  "SGD",
        "丹麦克朗":  "DKK",
        "韩国元":   "KRW",
        "印度卢比":  "INR",
        "土耳其里拉": "TRY",
        "哈萨克斯坦坚戈": "KZT",
        "菲律宾比索":  "PHP",
        "印度尼西亚卢比": "IDR",
        "越南盾":   "VND",
    }

    // Print the map
    for currencyName, currencyCode := range currencyMap {
        fmt.Printf("%s: %s\n", currencyName, currencyCode)
    }
}

What did you see happen?
gofmt/vscode is not formatting it correctly, there's extra spaces between the keys and the values.
The non-unicode map structs has only one space between them, but the unicode ones have multiple spaces and not aligned correctly. It looks like a bug to me.
What did you expect to see?
Same format as ascii keys

See this screenshot

Try changing to an equal width font

This is more or less unavoidable, see the discussion in #16170 for an explanation.
Closing here as not actionable.


Bulk import creates duplicate entries.

Versions
NetBox Version: 3.5.7
NetBox DNS Version: 0.18.7
Python Version: 3.9.x
Describe the bug
Bulk import of records creates duplicates when records are populated from the DNS Name field via python script.
To Reproduce
Steps to reproduce the behavior:

Add a FQDN to DNS Name field for an IP Address
Run the [DNS Name Record Updater] script
Under Netbox-DNS verify the record does in fact exit.
Under the Records section of Netbox-DNS do a bulk entry (I used CSV file)
Click submit
Record successfully added.
Clicking back under the zone, then records, you will see a duplicate entry (same name, zone, TTL, etc)

Expected result
Error or skip or some indication that the record already exists.
Actual result
Duplicate entry created.
Running the Bulk import multiple times will result multiple duplicate entries, so I don't think this is tied to the DNS Name Record Update script.  I think the bulk just blindly imports the data.

Hi @kollross, this is in fact not a bug, though it might appear to be one.
DNS records do generally not have a unique constraint, so it is perfectly OK to have the multiple identical records in the same zone. Therefore NetBox DNS does not filter duplicates of records or even reject records that are duplicated.
There are some exceptions, most notably CNAME and DNAME (which preclude any other RR type with the same name), and the so-called 'singletons' (SOA, NXT and NSEC, in addition to the above two), of which only one per name is permitted. Bulk import will not let you duplicate one of these.
I agree that having duplicate records is a rare requirement (think weighted round-robin-entries, for example), but as it is they are legal and so NetBox DNS does not stop you from adding them.
I see your point, however, and I'm thinking about adding an option to filter duplicates during bulk import. The functionality is not really obvious:

We can filter records that are duplicated within the data presented for import, though that would not make much sense - if a record is duplicated within the imported data we must assume this to be intentional
We can filter records that are already present in the NetBox DNS records table from the input data. That makes it impossible to import duplicates that are intentional, but I think we can live with that
Duplicates that already exist will not be removed to maintain integrity of the data set

Would that help you?
For the time being you'll need to clean up your input data yourself, or do bulk imports using the API or custom scripts and check for uniqueness before you add a record.

FYI: I'm just investigating a solution for this, but adding a simple check-box to the bulk import form proves surprisingly difficult with the NetBox plugin interface. Bottom line: Currently I don't see a way to override NetBox' form for bulk importing (which is required for adding a check-box) without duplicating lots of NetBox' code.
If I can't find a reasonable (and supported!) solution to add such a check-box, would you also be fine with another configuration setting bulk_import_filter_duplicate_records? That would enable filtering globally, not individually per import, so it would be less flexible, but at least it would provide the functionality you need.

I'm aware you can have duplicates, though I'm not sure why, or what benefit you would ever get out of having 10 of the same records (but that's beside the point).
I think most people will use that tool for initial ingestion,  and being able to run the script multiple times, to catch up during a migration period would be useful with out creating a giant mess.
I just wish that Netbox/IPAM and Netbox-DNS was a two way street.    Changes in Netbox-DNS would present its self in IPAM.    While I understand that's difficult (having multiple A records point to the same IP) in my case that's probably >1% of the case, it makes coming up with an import strategy very difficult trying to figure if I need to update the IPAM section (so It can copy into Netbox-DNS) vs just importing into DNS.

Hi @kollross, as I said, I'm completely with you and so I'm looking into ways to provide duplicate filtering as an option. It makes perfect sense to me, although it's not what the DNS spec requires and we also need to acknowledge that duplicates are a valid option and do happen, although rately.
The link between NetBox IPAM 'DNS Name' and NetBox DNS is something I would also very much like to provide. The problem here is, unfortunately, a limitation in the plugin API: We are not allowed to modify a core NetBox form, and judging from the last time I asked Jeremy about this I don't think this will change soon.
I have discussed this issue several times, and so far no one came up with a really good idea how to automatically link between IPAM and DNS without changing anything in the form for ipam.IPaddress (the obvious idea is to add a DNS record connection to the IP address while setting up the address). There are too many ways in which duplicate IP addresses (think VRF) and duplicate address records (Views) can be related.
On the other hand, the idea is and remains on my list, and I haven't given up on it. It does, however, need to be a generic solution so it at least can be configured for every possible use case. Otherwise there's still the option of using custom scripts.

Hi @kollross, it seems that modifying the data for bulk import cannot be done so easily.
I just tried to impement the deduplication functionality, but the bulk import form behaves in inacceptible ways when you hand it a data set that consists of duplicates only. Instead of just closing the form it always comes back to it, just like if you just entered the header and no records.
Changing that behaviour seems to require copying and modifying larger parts of the underlying NetBox code, just like with adding the "Filter Duplicates" button. Unless the NetBox team comes up with a solution I can't see at the moment I'm afraid the deduplication of the input data is on the user for the time being.

Understood.   I may just need to use the bulk update for CNAME, MX, TXT, etc as I know it won't cause duplicates with the "DNS Name Record Updater" script that is also populating Netbox-DNS.
Which I also found out that the "DNS Name Record Updater" is also only creates/updates records in Netbox-DNS.   If I remove an information from the DNS Host field under IPAM is doesn't actually remove it from Netbox-DNS.

Which I also found out that the "DNS Name Record Updater" is also only creates/updates records in Netbox-DNS. If I remove an information from the DNS Host field under IPAM is doesn't actually remove it from Netbox-DNS.

That's true - but the code is in examples for a reason :-)
You can adjust it in every way you want to - it's meant as boilerplate for your own experiments or production code. It's just not suitable for the generic case.

I'd adjust the zone file before importing in netbox-dns.
named-compilezone …  will do already.
@ 604800 IN SOA ns.example.org. hostmaster.example.org.<PHONE_NUMBER><PHONE_NUMBER>0 2419200 604800
@ 604800 IN NS ns.example.org.
@ 604800 IN NS ns.example.org.

ns.example.org. 3600 IN A <IP_ADDRESS>

dup.example.org 3600 IN A <IP_ADDRESS>
dup.example.org 3600 IN A <IP_ADDRESS>
dup.example.org 3600 IN A <IP_ADDRESS>
dup.example.org 3600 IN A <IP_ADDRESS>
dup.example.org 3600 IN A <IP_ADDRESS>

writing to stdout here:
named-compilezone -s relative -o /dev/stdout example.org /tmp/example.org.
zone example.org/IN: loaded serial<PHONE_NUMBER>
$ORIGIN .
$TTL 604800	; 1 week
example.org		IN SOA	dns1.c0.example.org. hostmaster.example.org. (
<PHONE_NUMBER> ; serial
				604800     ; refresh (1 week)
				86400      ; retry (1 day)
				2419200    ; expire (4 weeks)
				604800     ; minimum (1 week)
				)
			NS	ns.example.org.
$ORIGIN example.org.
$TTL 3600	; 1 hour
ns			A	<IP_ADDRESS>
dup.example.org		A	<IP_ADDRESS>
OK

If you need to adjust the ttls, use dnspython to iterate the zone before named-compilezone.
Then import.

@commonism I'm not following what you are trying accomplishing here.

removing duplicate records from a zone.

The duplicates are not in the zone, that is being imported.   The duplicates arise if you bulk import data from a CSV to a zone that already had records present (from either a previous import or if being populated from the DNS Host field in the IPAM).

Given the fact that cleaning up the data imported in bulk is both non-intuitive and involves major effort to make it work within the limits of the NetBox plugin environment I implemented an option to tell NetBox DNS not to accept duplicate records within a zone.
I hope that will at least remediate your worst headaches.

New release 0.18.7 contains the new option.


PP-9153 docker multistage build

Change from building frontend using intermediate Dockerfile
to using multistage Dockerfile. This allows docker to do
maximal caching, and makes absolutely sure that versions
(of node, deps etc) are shared in tests and final container.
I have tried to keep the process as close to existing one as
possible, so in building the final image I copy in everything,
then copy in dependencies and built assets from builder.
Other advantages:
only call npm ci once
only do npm run coopile once
no extra confusing docker cruft lying around

Supersedes https://github.com/alphagov/pay-frontend/pull/2720 and https://github.com/alphagov/pay-frontend/pull/2715


Use an LPF in longitudinal_planner

Replace custom math with the FirstOrderFilter class

Can add more decimals if process replay needs to pass

I don't think using the FirstOrderFilter class make this cleaner or more readable unless you add some new helper functions, so that x doesn't need to be set outside the class.


Electrolux QE09F not fully compatible

I have an Electrolux QE09F air conditioner but some codes works but not others. For example, the power button does not work, it just turns off. Another issue is that the device has different functions. For example, mine has an ECO function but does not have a HEAT function. How can I make these changes? I can make the codes available if its need
Edit: In fact the codes of the HEAT function are the codes of the ECO function. How do I change names and icons?
Edit2: there is also a function called oscillate that is not in the codes

Device code is 1702?

Is device code 1702?

Yeap


Source repository module

Initial version of a module for managing Source Repositories

Can you also refer it from the top-level and module folder READMEs? And note it in the CHANGELOG. :+1:


feat: if trigger peer is seed peer, set NeedBackToSource flag true

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

@gaius-qi e2e tests didn't pass.


PKCS11: identifiying signing key

pyHanko-0.21.0:
pyhanko.sign.general.SigningError: Please specify a signer's certificate through the 'cert_id', 'signing_cert' and/or 'cert_label' options
Documentation says:
At least one of key_id, key_label and cert_label must be supplied.
So if I provide key_id the signer creation fails...
On the other hand. At least on my card a token contains on private key, one public key and a certificate belonging to the private key. All have the same label. Additionaly the same token includes 2 additional certificates that are part of cartificate chain.
I see two things in concepts that are off:
When I open a session I provide a token and on this card it identifies a private key for signing and consequently a certificate to be used for verify (with the same label) (Please fix documentation: Signing is done with private key not certificate which contains public key)
Verification which is done for PAdES in my case fails because it trys to find issuer certs, but does not look to the token for the rest of certificates that are there for it.

I checked and the failing certificate for PAdES signing is the root certificate which is self signed. That means that issuer points to the subject of the certificate.

Got over the PAdES problem. It came to Validator problem. When I pushed root cert to trusted certs in validator the problem was solved. When I check signature with pdfsig, I get Certificate Validation: Certificate issuer isn't Trusted.
Label selection is still a problem. It is explained in description. The card is similar to Belgian eID..., but as in description if we culd start from private key in token all other things are defined.

When I open a session I provide a token and on this card it identifies a private key for signing and consequently a certificate to be used for verify (with the same label)

The "with the same label" part is not a universal property of all PKCS#11 implementations in my experience (although the setup you describe is certainly the most common one). I agree that trying to fetch the certificate by taking the cert with the same label as the key is a reasonable default, though. That's a valid feature request and probably not difficult to implement.

(Please fix documentation: Signing is done with private key not certificate which contains public key)

I am obviously well-aware of that. Nonetheless, the corresponding certificate still needs to be embedded in the signature object that goes into the PDF. In most cases this certificate is grabbed from the PKCS#11 token (but it can also be supplied out-of-band---I know of at least one vendor that ships a PKCS#11 "frontend" for a remote signing service where the user certificate is provisioned through a completely different channel and not part of the token unless the user deliberately adds it).
That said, if you'd point me to specific areas of the documentation that you believe are confusing on this point, I'm more than happy to take a look at those and adjust the wording as necessary.

I ended up implementing a slightly different defaulting pattern: if cert_id and cert_label are undefined, cert_id will be set to key_id (if defined) and cert_label will be set to key_label (if defined). The same goes in the other direction.


Failed to build on macOS 10.14.5 when Final test accuracy = 67.2%

INFO:tensorflow:2019-05-27 12:54:22.651062: Step 3999: Train accuracy = 77.1%
I0527 12:54:22.651128<PHONE_NUMBER> retrain.py:1099] 2019-05-27 12:54:22.651062: Step 3999: Train accuracy = 77.1%
INFO:tensorflow:2019-05-27 12:54:22.651270: Step 3999: Cross entropy = 1.030875
I0527 12:54:22.651283<PHONE_NUMBER> retrain.py:1101] 2019-05-27 12:54:22.651270: Step 3999: Cross entropy = 1.030875
INFO:tensorflow:2019-05-27 12:54:51.107501: Step 3999: Validation accuracy = 66.9% (N=38485)
I0527 12:54:51.107573<PHONE_NUMBER> retrain.py:1120] 2019-05-27 12:54:51.107501: Step 3999: Validation accuracy = 66.9% (N=38485)
2019-05-27 12:55:26.988836: W tensorflow/core/graph/graph_constructor.cc:1272] Importing a graph with a lower producer version 26 into an existing graph with producer version 27. Shape inference will have run different parts of the graph with different producer versions.
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
I0527 12:55:29.890471<PHONE_NUMBER> saver.py:1483] Saver not created because there are no variables in the graph to restore
WARNING:tensorflow:From /usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
W0527 12:55:30.225637<PHONE_NUMBER> deprecation.py:323] From /usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from /tmp/_retrain_checkpoint
I0527 12:55:30.231771<PHONE_NUMBER> saver.py:1270] Restoring parameters from /tmp/_retrain_checkpoint
INFO:tensorflow:Final test accuracy = 67.2% (N=38201)
I0527 12:55:31.543164<PHONE_NUMBER> retrain.py:856] Final test accuracy = 67.2% (N=38201)
INFO:tensorflow:Save final result to : output/saved_model.pb
I0527 12:55:31.774097<PHONE_NUMBER> retrain.py:1148] Save final result to : output/saved_model.pb
2019-05-27 12:55:31.840187: W tensorflow/core/graph/graph_constructor.cc:1272] Importing a graph with a lower producer version 26 into an existing graph with producer version 27. Shape inference will have run different parts of the graph with different producer versions.
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
I0527 12:55:33.283593<PHONE_NUMBER> saver.py:1483] Saver not created because there are no variables in the graph to restore
INFO:tensorflow:Restoring parameters from /tmp/_retrain_checkpoint
I0527 12:55:33.602644<PHONE_NUMBER> saver.py:1270] Restoring parameters from /tmp/_retrain_checkpoint
WARNING:tensorflow:From retrain.py:906: convert_variables_to_constants (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.graph_util.convert_variables_to_constants
W0527 12:55:33.850260<PHONE_NUMBER> deprecation.py:323] From retrain.py:906: convert_variables_to_constants (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.graph_util.convert_variables_to_constants
WARNING:tensorflow:From /usr/local/lib/python3.6/site-packages/tensorflow/python/framework/graph_util_impl.py:245: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.graph_util.extract_sub_graph
W0527 12:55:33.850518<PHONE_NUMBER> deprecation.py:323] From /usr/local/lib/python3.6/site-packages/tensorflow/python/framework/graph_util_impl.py:245: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.graph_util.extract_sub_graph
INFO:tensorflow:Froze 137 variables.
I0527 12:55:34.327029<PHONE_NUMBER> graph_util_impl.py:268] Froze 137 variables.
INFO:tensorflow:Converted 137 variables to const ops.
I0527 12:55:34.352867<PHONE_NUMBER> graph_util_impl.py:301] Converted 137 variables to const ops.
Traceback (most recent call last):
  File "retrain.py", line 1333, in <module>
    tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
    _sys.exit(main(argv))
  File "retrain.py", line 1151, in main
    save_graph_to_file(graph, FLAGS.output_graph, module_spec, class_count)
  File "retrain.py", line 909, in save_graph_to_file
    f.write(output_graph_def.SerializeToString())
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 108, in write
    self._prewrite_check()
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 94, in _prewrite_check
    compat.as_bytes(self.__name), compat.as_bytes(self.__mode), status)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: output/saved_model.pb; No such file or directory

我遇到同样的问题了，请问你的问题解决了吗

@cuihl2013  you must create folder output in repo root.


Any plan to support rabbitMQ plugin?

https://github.com/jiaqifeng/pinpoint/tree/dev_plugin_rabbitmq/plugins/rabbitmq

But it would be nice to have this plugin in main pinpoint project.


Very slow on uncommon/invalid indentation

Hi,
I am experiencing vim-markdown to be extremely slow when processing a file like this:
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
      - foo
- bar

The performance further degrades when more foo lines are added.
I am aware of the fact that this probably isn't valid or well-formed Markdown. However, I noticed it by accidentally indenting a bunch of lines, which resulted in vim effectively freezing. I do not think that this should happen even for arbitrary input.
I'm using:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 07 2017 03:33:23)

it's true, this is a problem, it is probably caused by the list item matching patterns,  i am not sure. but i suggest you use tabs instead of spaces for indents, that may be a good practice and workaround though.

i've figured out what's the problem, with :syntime on and :syntime report

  TOTAL      COUNT  MATCH   SLOWEST     AVERAGE   NAME               PATTERN
 22.513534   14100  0       1.703281    0.001597  markdownCodeBlock  \%(^\n\)\@<=\%(\%(\s\{4,}\|\t\+\).*\n\)\+$

this regex takes too long to finish, to fix it, replace
syn match markdownCodeBlock /\%(^\n\)\@<=\%(\%(\s\{4,}\|\t\+\).*\n\)\+$/ contains=@NoSpell

in syntax/markdown.vim with
syn match markdownCodeBlock /\%(^\n\)\@<=\%(\%( \{4}\|\t\+\).*\n\)\+$/ contains=@NoSpell

it will fix the problem,
but it still takes several milliseconds, to me, i personal don't use spaces for indention, the following will be much faster
syn match markdownCodeBlock /\%(^\n\)\@<=\%(\%(\t\+\).*\n\)\+$/ contains=@NoSpell

and, this markdown syntax highlight has a lot of regexes that may consume a lot, i simplify some mathing rules to save rendering time, if any one encounters the performance issue of syntax highlight, give it a try to simplify the matching rules.

This solution is working very well for me. Is there is chance it will get integrated?

hi! Wiliarty, i have open a pull request for this change, but it seems no one
here is my repo for this gihub.com/gavinchou/vim_config
check it out if you interest

Looks nice. Thanks very much for the tip.

@gavinchou Maybe you could create fork that fixes performance issues and add syntax highlight for code blocks?

Fixed by #78


Inability to copy errors

Environment data

VS Code version: 1.58.0
Jupyter Extension version (available under the Extensions sidebar): v2021.8.1013163132
Python Extension version (available under the Extensions sidebar): v2021.6.944021595
OS (Windows | Mac | Linux distro) and version: Mac OS Big Sur, Windows 10
Python and/or Anaconda version: conda 4.10.1, Python 3.8.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
Copy and paste code errors in the output
Actual behaviour
Inability to copy errors.
Steps to reproduce:

Run int('Hello World')
Try to copy ValueError
Inability to copy or paste ValueError

Logs
Info 2021-07-11 20:38:18: Cell Index:17, state:3, exec: 26. Executed successfully in executeCell
Info 2021-07-11 20:38:18: Cell Index:17, state:3, exec: 26. Execution disposed

https://user-images.githubusercontent.com/24494206/125206594-5ab25b80-e288-11eb-96ab-5dbd8df92d34.mov


Compilation error "undeclared inclusion(s) in rule '//tensorflow/core/kernels:softmax_op_gpu''" on ROCm 2.4 with TF 1.13.2-rocm

System information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS 7.4
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version: 1.13.2-rocm
Python version: Python 3
Installed using virtualenv? pip? conda?: conda
Bazel version (if compiling from source): 0.15.2
GCC/Compiler version (if compiling from source): 7.2.1
ROCm/MIOpen version: rocm-2.4
GPU model and memory: gfx900
Describe the problem
I tried to compile the tensorflow c++ api with bazel, and it occurs an undeclared inclusion(s) fault.The details are in below.
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
ERROR:/public/tensorflow-upstream-1.13.2/tensorflow/core/kernels/BUILD:3774:1: undeclared inclusion(s) in rule '//tensorflow/core/kernels:softmax_op_gpu':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/kernels/softmax_op_gpu.cu.cc':
'/opt/rocm/hcc/lib/clang/10.0.0/include/stddef.h'
'/opt/rocm/hcc/lib/clang/10.0.0/include/__stddef_max_align_t.h'
'/opt/rocm/hcc/lib/clang/10.0.0/include/stdarg.h'
'/opt/rocm/hcc/lib/clang/10.0.0/include/stdint.h'
'/opt/rocm/hcc/lib/clang/10.0.0/include/limits.h'
clang-10: warning: /opt/rh/devtoolset-7/root/usr/bin/gcc: 'linker' input unused [-Wunused-command-line-argument]
clang-10: warning: /opt/rh/devtoolset-7/root/usr/bin/gcc: 'linker' input unused [-Wunused-command-line-argument]
Target //tensorflow:libtensorflow_cc.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1019.499s, Critical Path: 692.84s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
INFO: 4135 processes: 4135 local.
FAILED: Build did NOT complete successfully

Hi @LaoFeng876 , you might try to cherry-pick the following PR to fix the clang header issue:
https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/commit/2ea275d5806d45a6ec53cef86de66cf8d6367a00

BTW, it seems you are building TF 1.13 on CentOS, please pull the tip of the following r1.13-rocm-centos branch, that has the clang 10 header PR cherry-picked already:
https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/tree/r1.13-rocm-centos

Hi @LaoFeng876 , I'm closing this issue for now, please feel free to reopen it if there are more issues.


QT5 integration with  cfscrape

Is it possible to run cfscrape session / cfscrape cookies with QT5 QWebEngineView?

This is beyond the scope of this project. Wether you can set QWebEngineView's cookies or not and how to go about doing so is none of this project's concern.

What @Mattwmaster58 said.


Annotation tool: zooming and rotation support are buggy in many browsers

The annotation tool uses CSS absolute positioning on the image. This positioning scheme is buggy on Chromium-based browsers (Chrome, Edge, Brave, and others) and Safari. The behavior is buggy in two ways:

Image position is wrong after zooming in a few times: https://groups.google.com/forum/#!topic/coralnet-users/QZvBTcQj8Oo

Image position is wrong if the image has rotation metadata (or maybe just a vertical aspect ratio?), no zooming required: https://groups.google.com/forum/#!topic/coralnet-users/A34j7B-4OqE

Chromium absolute-positioning bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1001438

This bug report came up around the same time as the reports of the annotation tool bug. Judging from the comments, it's not 100% clear if the issue was actually fixed. I'm also not sure if this is actually the same issue as what the annotation tool is seeing. In any case, it's been several months since the bug report was closed, and we are still seeing the annotation tool problem. So, regardless of whether this is a browser bug or our bug, it seems we need to make our own workaround.

Report that Safari has the bug too, at least for the image rotation: https://groups.google.com/forum/#!topic/coralnet-users/ySgW_P0gY6s
Currently, the only user-side workaround is to use Firefox. But that's not the main browser for a lot of people these days, so we should try to be better than that.
Two actions to take here:

[x] Short-term (Beta 2): Update the annotation tool help dialog's browser compatibility table with info on this issue. It still says Chrome and Safari are 'OK'. (Done: PR #321)

[ ] Long-term (Beta 3): Rework the image positioning code so that it works cross-browser. This could be a significant refactor with issue #55 (anno-tool unit testing) as a prerequisite.

If I'm not going crazy here, the rotation issue might also be present in Firefox now.

The zoom bug now has a fix in PR #329.
Regarding rotation: for some reason, I can't currently replicate any browser differences here, even without the above fix. I wonder if it's because of the very recent Firefox/Chrome changes I just wrote about in issue #107.

I'll give a wrap-up on the Chromium rotation bug in #107, since it was actually the same as one of the rotation bugs there.
Here's a wrap-up on the zoom problem:
Zoom problem in Chromium browsers
In the annotation tool, when you zoomed in far enough (generally 5 times or more, but depended on the image aspect ratio), the image would start to appear squashed horizontally. This caused the points to appear to be overlaid on the wrong parts of the image, because the image was moving out from under the points, so to speak.
If you zoomed in far enough on the right side of the annotation area, you could even see points floating over the gray 'background' of the annotation area, because the image gets squashed into the left side of the area and leaves the right side empty.
Impact
Annotation tool users could end up labeling the wrong things if they don't notice this bug is happening, or don't realize exactly when it happens.
The fix
I wasn't looking forward to debugging the annotation tool for this fix, since the image positioning code in particular is kind of complex overall, and we don't have substantial unit tests for Javascript yet.
However, the other day I saw this Google support thread which gave me the idea that it could be fixed if the absolute-position CSS properties were specified more explicitly. Our situation wasn't the exact same as the one in that support thread, but that was indeed the right line of thinking.
Whenever we zoom in, we change the CSS properties of the imageCanvas to transform it accordingly. The code was only setting the new height of the imageCanvas, relying on the browser to infer the new width based on the previous aspect ratio of the canvas. However, starting in Chrome 76, it seemed that Chrome did not want to infer widths greater than a certain size (not sure exactly what size, but on the order of 10000 pixels). So at a certain zoom level, the image canvas height would increase while the width would stay the same, leading to the image appearing squashed horizontally.
The fix was to explicitly set BOTH the new width and new height when resizing the imageCanvas. Chrome accepts the new size this way, all the way to the highest zoom level.
Date range of effect: 2019/07/30 - 2020/06/11
The problem was first reported on the Google Group on 2019/09/10, at which point it had "been happening for at least 4 days": https://groups.google.com/forum/#!topic/coralnet-users/QZvBTcQj8Oo
This Chromium bug report on similar functionality was identified to be absent in Chrome 75, but present in Chrome 76: https://bugs.chromium.org/p/chromium/issues/detail?id=1001438
Google Chrome's major version numbers match Chromium's. I tried some old Chrome versions and confirmed that 75.0.3770.142 did not have the zoom problem, but 76.0.3809.132 did indeed have the zoom problem.
Chrome 76 and Chromium 76 got stable-channel releases on 2019/07/30.
The Chromium 76 "Beta promotion" started on 2019/06/05, so I suppose it's in the realm of possibility that CoralNet users could have seen the bug then, but generally I think we can pin the date on July 30.
Note that it is common practice for major software vendors to stagger their auto-update rollouts, to reduce the load on their servers. So, even if someone were using Chrome every day, they may not have been updated to 76 on exactly July 30.


Time to split up this project?

Hi,
The project is called "Swashbuckle.AspNetCore.Examples" and the purpose seems to be to enable you to generate swashbuckle examples...but now it lets you add an authorization input header box to your page, a file upload button, request headers (e.g. for correlation id) and now response headers too.
These are all very useful features to have, but have nothing at all to do with generating swashbuckle examples...so I wonder if it would make more sense to split that functionality off into a separate project and nuget package and keep Swashbuckle.AspNetCore.Examples purely for generating said swashbuckle examples?

I thinkt the examples should be part of Swashbuckle Core, but the project itself is just  not moving at all, so problems like this project are inevitable.

Rename complete,  I think the new name makes more sense. Released https://www.nuget.org/packages/Swashbuckle.AspNetCore.Filters/


AB#8700 Upgrade the solution to Docker compose V2

Trying .\down.ps1 (with non-modified empty .env):
> PS >.\down.ps1
Down containers...
time="2023-05-19T08:57:37-04:00" level=warning msg="The \"SITECORE_XmCloud_dot_TenantId\" variable is not set. Defaulting to a blank string."
1 error(s) decoding:

* error decoding 'Volumes[2]': invalid spec: :c:\license: empty section between colons

Looks like it needs some dummy host folder value?

I resolved the down.ps1 issue that was also reproducible using "docker compose config"


[106] Add variable support

this pr address https://github.com/databricks/tensorframes/issues/106
now user can use variables however they want
        data = [Row(x=float(x)) for x in range(10)]
        df = self.sql.createDataFrame(data)
        with tf.Graph().as_default() as g:
            # The placeholder that corresponds to column 'x'
            x = tf.placeholder(tf.double, shape=[None], name="x")
            # The output that adds 3 to x
            y = tf.Variable(3.0, dtype=tf.double, name='y')
            z = tf.add(x, y, name='z')
            # The resulting dataframe
            df2 = tfs.map_blocks(z, df)

had to add an option for initial_variable=True/False for  map_row, map_blocks, reduce_rows, reduce_blocks, aggregate

🚢  ?

@yupbank sorry for the delay. I am merging your PR.


E2e

First working version. It works against riot.im/app but not riot.im/develop.
There is still work but it could be used as a base. I will do smaller PRs after

this is awesome and a spectacular amount of work - thank you!! i suggest doing explicit review of the crypto side of things in parallel with the ios-sdk review aspects; perhaps @negativemjark or alternatively @richvdh?

this is awesome and a spectacular amount of work - thank you!! i suggest doing explicit review of the crypto side of things in parallel with the ios-sdk review aspects; perhaps @negativemjark or alternatively @richvdh?

Only few remarks listed above.
SGTM


Drop-down menus broken on macOS

The capture speed is stuck at the default High Speed (480 Mbps). The drop-down list appears when clicked, but selection of a different speed fails.
console output:
UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable

(<unknown>:11646): Gdk-CRITICAL **: 12:55:47.960: _gdk_macos_surface_update_fullscreen_state: assertion 'GDK_IS_MACOS_SURFACE (self)' failed

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x154611c80(GtkBuiltinIcon)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x154611590(GtkBox)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x154611410(GtkToggleButton)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x1546111c0(GtkDropDown)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x154614200(GtkBox)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x144616900(GtkBox)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x144616f00(GtkCenterBox)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x144616510(GtkRevealer)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x144616070(GtkActionBar)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x144713ea0(GtkBox)

(<unknown>:11646): Gtk-WARNING **: 12:55:47.968: Broken accounting of active state for widget 0x1446142c0(GtkApplicationWindow

The initial GLD_TEXTURE_INDEX_2D message happens when the Packetry window first appears. The remaining messages happen each time the Speed Drop-down is clicked.
Similarly the About window does not appear when selected from the drop-down menu, and selection of a non-default capture device fails if there are multiple capture devices listed in the device selector.
packetry --version output:
Packetry version 0.1.0 (git fc7d276)

Runtime information:
  GTK version: 4.14.4

Packetry build information:
  Git commit: fc7d276efae23c5c89e8ca92c88766f61206f6ed
  Cargo package version: 0.1.0
  Enabled features: (none)

Rust compiler:
  Version: rustc 1.79.0 (129f3b996 2024-06-10)
  Target: aarch64-apple-darwin (little-endian, 64-bit)
  Optimization level: 3
  Debug build: no

I'm testing with an M1 MacBook Pro running macOS 13.6.6 (Ventura).
Workaround: Use the keyboard instead of the mouse to select an item from a drop-down menu. (This works only if the menu has more than one item.)

This really seems like a GTK bug, not a Packetry one. I'm sure I've had that dropdown working previously on macOS.
We may be able to bisect GTK to figure out where it broke.

This really seems like a GTK bug, not a Packetry one. I'm sure I've had that dropdown working previously on macOS.

Have any idea what GTK version you had success with?

GTK 4.8.1. I've just built current main against it and the dropdown works.

Looks like this bug was seen before, but we closed it because it seemed to have been fixed: https://github.com/greatscottgadgets/packetry/issues/74

It looks like perhaps #74 was encountering a previous occurence of the same bug, which was reported upstream in 4.10 as https://gitlab.gnome.org/GNOME/gtk/-/issues/5905 and was fixed as of 4.12.

I reproduced the problem with GTK 4.12.5.

Thanks to those upstream bug reports, I have successfully tested a workaround (on 4.12.1 and 4.14.4): For the speed drop-down (or any drop-down containing more than one item) you can use the keyboard instead of the mouse.

On M1pro MBP with Macos 14.5 Sonoma (The latest release as of this message) I get the accounting errors in the console, but otherwise the dropdowns work and change the speed, as per the GTK issue linked above.

@depili Thanks for the report! Based on this and the upstream reports, it seems that this issue may go away with an OS update.

I can confirm, that now I can select the 12Mbps option with keyboard workaround and I can capture Wireless mouse packets
https://github.com/user-attachments/assets/c15859d6-ff41-4db5-8ffe-c2e7b9139d6f

I upgraded my OS to 13.6.7 with no change. Then I upgraded it to 14.5, and it fixed the problem.

The upstream GTK bug(s) appear to affect only macOS 13 (Ventura), not macOS 14 (Sonoma), so folks can fix this problem by updating their OS. Anyone who does not want to update macOS can use the keyboard workaround.
If anyone wants to explore further options to fix this without updating to macOS 14, I suggest trying to update the macOS SDK (Xcode) and watching https://gitlab.gnome.org/GNOME/gtk/-/issues/6697.


Why generate "GGGGG...." ,when the input string is longer than a certain length in GGUF model?

TheBloke/deepseek-coder-33B-instruct-GGUF
deepseek-coder-33b-instruct.Q6_K.gguf
when I use llama cpp python to load the model , the model generates endless "GGGG...." ，But It works normally when the input question less than about 1000-2000 words.
   llm = Llama.from_pretrained(
        repo_id=args.model_name_or_path,
        # chat_format="llama-2",
        # chat_format="alpaca",
        filename="deepseek-coder-33b-instruct.Q6_K.gguf",
        n_ctx=16000,
        tokenizer=tokenizer,
         n_gpu_layers=-1,

        verbose=True
    )

    output = llm(
        user_prompt
       ,
        stream=True,
        max_tokens=12000,
        # max_new_tokens=4096,
        # do_sample=False,
        top_k=50,
        top_p=0.95,
        # num_return_sequences=1,
        # eos_token_id=tokenizer.eos_token_id
        # repeat_penalty=1,

    )

    for chunk in output:
        delta = chunk['choices'][0]['text']
        print(delta,end='')

        bot_message+=delta

Just know you are not the only one that experiences this.

have a try, turn on flash attention

I encountered the same issue when using LM Studio version 0.2.27. However, when I launched it using text-generation-webui, it worked normally and didn't produce the "GGGG" output even with long context.


add a gateway

Thank you for contributing to the IoT Plug and Play Models repository
:memo: Please review this checklist before submission

[ ] :eyes: The models submitted in this PR follow the DTDL Naming Guidelines for contributing to this repository.
[ ] 🕵I have validated the models locally using the dmr-client command line tool.
[ ] ❗ I understand once the PR is approved, the models are considered immutable: any edits will require to submit new files.
[ ] ✨ When creating a new top level dtmi:namespace, I have completed the PR Info Template below.

:zap: PR validation steps are described in the tools Wiki.
PR Info Template
When submitting models to the repository we ask that you provide as much of the following meta information around your models and related devices as possible. This info will be used to improve the IoT Plug and Play ecosystem.
👇: Please replace the markdown comment examples with your own values.
Company Info

Info identifying your company (if applicable).

IoT Plug and Play Device Info

Info identifying your device.

Model Submission Goals

Info related to broader submission goals.

Code Owners & Reserved Names

Indicates GitHub alias entries to be added to the repo CODEOWNERS for the incoming model namespace. The codeowner is expected to be involved in subsequent DTDL model submissions against the same namespace.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact<EMAIL_ADDRESS>with any additional questions or comments.

@binaryWJ   thanks for your submission. Can you complete the checklist in the PR template?
As this is the first submission for the atos namespace, we need to keep track of the company and/or product that will implement these interfaces.

Company Info
atos
IoT Plug and Play Device Info
real-time OS based gateway
Model Submission Goals
azure iot pnp
Code Owners & Reserved Names
n/a

can you provide a link to the company website?

can you provide a link to the company website?

https://atos.net/en/


Split signing out from qsrelease

Issues addressed:

Provides separate GitHub Actions for building and signing (https://github.com/quicksilver/Quicksilver/issues/2583#issuecomment-1035702305)
Provides separate script for debugging signing so you don't have to rebuild every time (requires exporting a few variables normally set in qsrelease
By default will still build and sign (for local builds) unless QS_BUILD_ONLY is set -- preserves current behavior
Uses GitHub Actions' artifacts to avoid re-building the entire project twice
Removes the "arbitrary volume size and hope it's big enough" workaround
Adds what I think should be the necessary changes for automatic
notarization of the DMG

Other changes:

Removes need for buildDMG.pl with no new dependencies
Reorders test after build, since the tests depend on /tmp/QS/Configuration/Quicksilver.pch

TODO:

@n8henrie Ensure no secrets are exposed on logs (I think the keychain approachshould work)
@skurfer Update the fake envvars in GA with a real ID and app-specific pass (I'm happy to do this if you're able to add me to the team as per https://github.com/quicksilver/Quicksilver/issues/2654#issuecomment-1048970733)

Fixes https://github.com/quicksilver/Quicksilver/issues/2654 -- hopefully

https://github.com/actions/upload-artifact#zipped-artifact-downloads

One of the consequences of this limitation is that if a zip is uploaded during a workflow run and then downloaded from the UI, there will be a double zip created.

A little annoying.

Blocked on https://github.com/actions/upload-artifact/issues/300

OK, I think this is as ready as I can get it for now. I've squashed and rebased.

I'm blocked on debugging locally unless @skurfer can add me to the apple "team": https://github.com/quicksilver/Quicksilver/issues/2654#issuecomment-1048970733
Whether or not I'm added to the team for local debugging, I don't have access to manage the repo's GitHub Secrets. In addition to the 3 added here, we will need the 4 listed here:

SIGNING_IDENTITY
NOTARIZING_ID
NOTARIZING_PASS
NOTARIZING_TEAM_ID

Actually, the TEAM_ID and SIGNING_IDENTITY can be the same thing (I think), as long as it's set to the 1234ABCD below, so just 3 secrets to add:
$ security find-identity -p basic -v
"Developer ID Application: Your Name (1234ABCD)"

Looks ike build / sign is failing:
Error: Team ID must be at least 3 characters

Correct -- the 3 secrets listed above and I don't have access to modify repo secrets.
This is blocked pending @skurfer's review and feedback, since it's his Apple ID and cert.

I’ve made you an Owner on the Quicksilver org @n8henrie, so you should be able to make whatever changes are necessary now.

I’ve added the secrets and updated the signing cert to match the one I generated recently.

I'm making some progress here.
Current errors with notarization:
{
  "severity": "error",
  "code": null,
  "path": "Quicksilver 1.6.1.dmg/Quicksilver.app/Contents/Resources/QSDroplet.app/Contents/MacOS/QSDroplet",
  "message": "The binary is not signed with a valid Developer ID certificate.",
  "docUrl": null,
  "architecture": "x86_64"
},
{
  "severity": "error",
  "code": null,
  "path": "Quicksilver 1.6.1.dmg/Quicksilver.app/Contents/Resources/QSDroplet.app/Contents/MacOS/QSDroplet",
  "message": "The signature does not include a secure timestamp.",
  "docUrl": null,
  "architecture": "x86_64"
},

I'm about to push a PR that might fix the timestamp issue, which I'm hoping might fix the issue with QSDroplet. Alternatively, it might need some different handling because it is an app itself.
What does QSDroplet do? Does it provide the ability to drag and drop something onto the QS icon?
Pending tasks:

[ ] Fix QSDroplet signing
[ ] Investigate opportunities to harden security and ensure no private info can be leaked in logs or by a maliciously crafted PR

I think limiting the sign action to only run on tags and not PRs will go a long way here, another advantage of splitting it into two actions

[ ] Determine how we want the DMG to be named

Taking Quicksilver 1.6.1.dmg as an example, I think continuing to get the 1.6.1 from Info.plist is fine
As an alternative, we could take 1.6.1 from the tag, which would give us some flexibility to e.g.: git tag 1.6.1-hotfix && git push --tags -> Quicksilver 1.6.1-hotfix.dmg

What does QSDroplet do? Does it provide the ability to drag and drop something onto the QS icon?

It has a different icon and would be a separate drop target from the main app (or potentially many targets). It’s sort of like a trigger, but you drop something on it.
https://qsapp.com/manual/Preferences/#command-objects-and-droplets

$ codesign --verify -vvv Quicksilver.app/Contents/Resources/QSDroplet.app/
Quicksilver.app/Contents/Resources/QSDroplet.app/: valid on disk
Quicksilver.app/Contents/Resources/QSDroplet.app/: satisfies its Designated Requirement

A few other conveniences provided by releases:
The canonical URL to the asset is https://github.com/quicksilver/Quicksilver/releases/download/<tag-name>/<asset-name>, but you'll get evergreen redirects with:

https://github.com/quicksilver/Quicksilver/releases/latest
<https://github.com/quicksilver/Quicksilver/releases/latest/download/Quicksilver 1.6.1.dmg>

For better or worse the version number in the DMG prevents one from getting an "always working direct download url."


Who's On First API

Should build a whole new section to the docs for the Who's On First API :tada:

we need to add a "here's how you get that shmancy fancy api key" section in methods.md

Looks good, thanks for making these changes!
I left a few inline comments about the wording.
Perhaps we also remove the word, API, so it's just "Who's on First"? There is a different between the WoF data and this API, but these other things are APIs, too, but don't have the API appended.
The home page should not have a title on it, but we'd need to update that in the source.


rework Emacs support

Fixes:

prevent hangup when Emacs server is not started
add :elisp_file option for Elisp ERB template
pass notification message to Emacs (not in default script though)

Other:

reworked Emacs notifier spec files
fixed RuboCop offenses

Wiki page is here: https://github.com/guard/notiffany/wiki/Emacs-support


Update logic behind adding a card so the Add Card form behaves properly

Do all work for this task in a branch called issue-137
Update the function logic for the Add Card page so it properly:

Adds a card to the database
Checks if the card already exists by combination of name, course, semester
Doesn't add a card if above attribute combo already exists

Revised AddProfCard submit function so it parses the collection and decides whether to add a card or not as expected.
Declared a server-side index in a new class file that makes the { name, course, semester } a unique index, preventing cards with the same combination from being added


Add logtown

By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

Thanks for the suggestion, but I'm going to pass on this. I don't see enough benefit of such a facade over just using a good logger directly.

@sindresorhus
there are several useful cases:

there is no such definition "good logger" :) as we can see there are a lot good loggers.
one tool for both server and browser. one interface for whole application.
winston3 is better than winston2, but has breaking changes. with logtown you are changing configuration only in one place. no need to change something(imports, method arguments, method names) in any other part of app's files.
easier multiple loggers integration. if you want using sentry/logdna and winston/intel - no dependency on specific implementation, but general approach.
independent way of configuration for libraries - you can add logtown into peerDependency for your library and it won't mess stdout with unnecessary info. you can manage by yourself how to show these logs and disable if you need.

logging facades are not new, this is just one of implementation for js

https://stackoverflow.com/questions/3825276/whats-the-point-of-a-logging-facade
https://www.slf4j.org/
https://docs.rs/log/0.4.5/log/


"file" command not present on various docker images

the workaround is to set the content-type manually, not sure if there is another solution

Use the content-type option: https://github.com/wercker/step-github-upload-asset#options


ES Module support

The other day I was looking at Quadstore’s page on Skypack and noticed there were a few missing checks. Namely, the package lacks an ES module entry point and an export map.
Are there any plans to adapt Quadstore to the ES module ecosystem? Browser support is intended to be baked in, and this would help cut out the Webpack/Browserify middleman. Node supports ES modules now, while Deno is becoming ever more popular.

Hello @ProvocaTeach! Yes, quadstore will eventually be adapted to the ES module ecosystem. In fact, these used to be an open issue to track that: https://github.com/beautifulinteractions/node-quadstore/issues/97 .
However, as of the last time I checked, native support for ES module made little sense as our dependencies were still based on the CommonJS module spec, thus forcing the use of one such middleman anyway.
That said, I haven't reviewed the situation recently and something might have changed in the meantime. I also haven't had a chance to play with Deno, yet. What is your use case?

Ah, makes sense. I am a lover of the Semantic Web, and I was hoping to build a basic website with a custom CMS on top of Quadstore. It could probably be done with Node, but I am more familiar with the ES module ecosystem (as a relative newcomer to JS).
 Package management is handled by the ES module system, without the need for NPM.
I was trying to get Quadstore to work on Deno using Skypack – a CDN that makes the NPM registry available as ES modules. Many Node packages to work out-of-the-box from Skypack, but I think the level library relies on some Node-specific code, because I wasn’t able to get it to work.
This is a personal project I’m doing just to learn about RDF and JavaScript. I initially chose Deno because I’m very big on future-proof knowledge… but maybe I just need to learn Node? 🤷♂

Hi @ProvocaTeach !
Understood and that’s an interesting use case. I know very little about Deno and was completely unaware of Skypack.
I would be happy to try and tweak things to make Quadstore available through Skypack, although you’d surely have a much easier life if you were to get started using Node. Quadstore implements one of the RDF/JS specifications, a collective effort to standardize interfaces and data models for better interoperable of JS libraries dealing with RDF. That I know of, little to none of the ecosystem officially supports Deno. I am sure that, given the latter’s increasing adoption rate, we’ll start having dedicated tests for its runtime but it’s not a trivial effort and it will take some time before that happens.
That said, I think I should be able to carve out a few hours at the end of next week to look into this. It’s also a nice excuse to finally have a look at Deno.

If you believe you’ll continue with Deno, feel free to open a dedicated issue as that’s a separate  topic, of which support for ES modules is a prerequisite.

As node-quadstore works in the browser I'd assume that rollup can be used to create an es-module that works in the browser and in demo. For demo you might consider publishing the resulting module on demo.land/x
/Cc #139

Some code using webpack to create a module that exports a quadstore instance: https://github.com/retog/quadstore-module
It bases on this hack https://stackoverflow.com/a/60010871/1455912 by @colxi.

Thank you @retog , I really appreciate this. Bundling clearly works! However, the question now becomes whether to ship a single bundle or multiple ones and what to include. For instance, should an AbstractLevelDOWN backend be included? Probably not as there are multiple to choose from even for browser use (level-js and memdown). On the other side, last time I checked none of the available implementations shipped as ES modules, which would force devs to find workarounds all the same. Furthermore, bundling prevents dependency deduplication, which in turn prevents from shipping quadstore and quadstore-comunica as separate bundles as they share deps ATM.

@ProvocaTeach @retog Very good progress on this. The latest betas<EMAIL_ADDRESS>and<EMAIL_ADDRESS>both ship with two different builds, a CJS and an ESM one. The reference repo for bundling and shipping browser-side is now consuming and producing ES modules: https://github.com/belayeng/quadstore-webpack-bundle/tree/5646249e46daa67a763a28465058161e4bcfb6d8

Closing - will be a part of the upcoming 11.0.0 release!


<EMAIL_ADDRESS>"does not recognize the treeId prop on a DOM element"

Hi, thanks for the library. I've found a issue which is either a minor bug in the library or a minor incompatibility with React 16.
After upgrading from<EMAIL_ADDRESS>and<EMAIL_ADDRESS>to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>React starts to issue this warning:
Warning: React does not recognize the `treeId` prop on a DOM element.
If you intentionally want it to appear in the DOM as a custom attribute,
spell it as lowercase `treeid` instead. If you accidentally passed it
from a parent component, remove it from the DOM element.
    in div (created by Node)
    in Node (created by DragSource(Node))
    in DragSource(Node) (created by ReactSortableTree)
    in div (created by TreeNode)
    ...

If I do sed 's/\<treeId\>/treeid/g' -i node_modules/react-sortable-tree/dist/main.js, the warning goes away. I'm not sure how to fix this properly though: it's not clear how the prop treeId is different from other camel-case props.

Are you using a custom theme or node renderer? Because I used the spread operator in the original one to add miscellaneous props, and I recently started passing the treeId as a prop, it might need to be specifically omitted if you’re doing something custom.

Yes, I didn't notice that the div with treeId was generated by one of my components since there was no treeId in my code. After treeId was excluded from propsRest, the warning was gone.
I think that the customizing mechanism can be more robust if such cherry-picking is done in the library itself. For example, now my code looks like this:
import ReactSortableTree from 'react-sortable-tree';
export default ({ ... }) => (
  <ReactSortableTree nodeContentRenderer={Node} ... />
);
class Node extends React.Component {
  render() {
    const { propUsed1, propUsed2, propExcluded1, propExcluded2, ...propsRest } = this.props;
    ...
    return
...
;
  }
}

A more stable solution would be like this:
import ReactSortableTree, { NodeDiv } from 'react-sortable-tree';
export default ({ ... }) => (
  <ReactSortableTree nodeContentRenderer={Node} ... />
);
class Node extends React.Component {
  render() {
    const { propUsed1, propUsed2 } = this.props;
    ...
    return <NodeDiv ... {...this.props}>...</NodeDiv>;
  }
}

NodeDiv from the library could instantiate div with appropriate blacklisting/whitelisting of props, and this blacklisting/whitelisting could be kept in sync with the code that passes props to nodeContentRenderer.

@kbulygin  i have equal error.
<SortableTree
                            theme={FileExplorerTheme}
                            rowHeight={30}
                            treeData={treeData}
                            onChange={this.updateTreeData}
                            style={{ cursor: 'default' }}

                            generateNodeProps={({ node, path }) => ({
                                onMouseOver: () => {
                                    this.setState({ overItem: path })
                                },
                                title: (
                                     showPageSettings(false, node)}
                                        style={{
                                            fontSize: '1.1rem',
                                            position: 'absolute',
                                            left: '20px',
                                            top: '1px',
                                            width: '100%',
                                            textOverflow: 'ellipsis',
                                            overflow: 'hidden',
                                            paddingRight: '40px'
                                        }}
                                    >
                                        {node.pageName}

                                ),
                                style: {

                                    backgroundColor: this.state.overItem == path ? 'green' : 'transparent',
                                    width: '100%',
                                    marginRight: '10px',
                                    borderRadius: '4px',
                                    padding: '2px',
                                    cursor: 'default',
                                    height: '23px'
                                },
                                icons:
                                    {
                                        'folder': [
                                            <Icon name='folder' />
                                        ],
                                        'page': [
                                            <Icon name='file outline' />
                                        ]
                                    }[node.pageType],

                                buttons: [

 { evt.preventDefault(); showPageSettings(true, node); this.setState({ settingPath: path }) }}
                                        style={
                                            {
                                                backgroundColor: '#242424',
                                                right: '0px',
                                                top: '0px',
                                                position: 'absolute',
                                                opacity: this.state.overItem == path ? 1 : 0,
                                            }
                                        } >
                                        <Icon name='setting' style={{ paddingLeft: '3px' }} />

                                ],
                            })}

                        />

I dropdown react-sortable-tree version to 1.5.0 and removed error
Please check new version problem

@kbulygin @top1st I personally have not run across this error before. Is this still an issue?

@wuweiweiwu That was a misuse rather than an error. As for if it's still possible, I guess yes.


sympow: 2.023.6 → 2.023.7

Description of changes
https://gitlab.com/rezozer/forks/sympow/-/blob/master/HISTORY
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@ofborg build sageWithDoc

Hm, forker test might be unrelated maybe

@ofborg build sageWithDoc


Rails 3.2 support

I've changed the requirement to be any version of Rails >= 3.1.0 and pushed out version 0.1.1 of the gem.


⚠ Turnos 24x7 has degraded performance

In 8cf66e9, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 13296 ms

Resolved: Turnos 24x7 performance has improved in 4aa9f4c.


Register my Hackage projects with Stackage.

Cabal-<IP_ADDRESS> depended on by:

jailbreak-cabal-1.3 (==1.20.*). Peter Simons<EMAIL_ADDRESS>@peti. @peti

The problem with jailbreak-cabal is fixed in https://github.com/peti/stackage/commit/f6047d05537a637f11d7d75cd5fa66f41eec7803. Please let me know if there is any other issue left.

Sorry, but do you mind rebasing?

I've force-pushed a rebased version.


New code coverage filters

Learn Build status updates of commit 466ea12:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/test/using-code-coverage-to-determine-how-much-code-is-being-tested.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@Mikejo5000

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@Mikejo5000 Thank you. Changes made and committed.

Learn Build status updates of commit c4079e6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/test/using-code-coverage-to-determine-how-much-code-is-being-tested.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Use dynamic import for geotiff

This pull request is an attempt to avoid treeshaking problems on
import { AnySource } from 'ol/source';

I'm hoping that this fixes #13046, at least for the case where ol/source/GeoTIFF is not actually used.

I'm not sure this change is something we really want, so I won't complain if it does not get approved.

I'm closing this. I don't think it is the right approach for dealing with problems caused by a dependency. I could think of three alternatives:

Import untranspiled sources from geotiff. The disadvantage is that users need extra configuration when targeting legacy browsers.
Repackage a transpiled version of only what we need from geotiff, and make that part of the package.
Contribute to geotiff to make the package easier to use with node and browsers, like we did in the past.

In the long run, 3. will probably be the best approach.


Program to find Articulation points in a Graph

In graph theory, a biconnected component (sometimes known as a 2-connected component) is a maximal biconnected subgraph. Any connected graph decomposes into a tree of biconnected components called the block-cut tree of the graph. The blocks are attached to each other at shared vertices called cut vertices or separating vertices or articulation points. Specifically, a cut vertex is any vertex whose removal increases the number of connected components.

Hey, @Lazeeez please review and merge my program. Thanks.


set_url_paths Django 1.10 friendly, add a test

Rebasing #3093 to master

PR got cut together with Assange's internet connection, force-pushing replacement commit.

Note: This is a fix for issue #3092

Thanks for the review @jaap3 - I agree, so fixed it up and force-pushed.

Been to much in quick-fix mode, thanks @jaap3 - should be fixed now, at least linting it locally looks okay

Merged in 4a92505c3b3f90a2f9a285c2d4d5dd48caffde9a - thanks @benjaoming, and thanks @jaap3 for the review!


UI: Terminal output is broken

Describe the bug
I'm not seeing command outputs (see screenshot). And new commands don't start with $
Steps to Reproduce

Start OpenDevin
prompt "write a bash script that prints hello world"

Expected behavior
Actual behavior
See screenshot

Additional context

Whoops this was user error 🤦


Adding a Role to Existing Nodes

Is this a BUG REPORT or FEATURE REQUEST?: How to
What happened:
I installed the cluster in the configuration: etcd-3, master-2, worker-2, ingress-0
Then I wanted to add a ingress role to worker nodes
Which way is correct?
The command:
Kismatic install add-node k8s-worker1 IP1 IP2 --roles ingress
ends with an error:
according to the plan file, the host name of the new node is already being used by another worker node
Environment:

Kismatic version (use kismatic version): 1.9.1
Plan file Gist (remove sensitive information if any):
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):

You can modify the plan file copying the node details to the new desired section and rerunning kismatic install apply

Do I need to use additional keys when I rerun the kismatic install apply? For example:
--skip-preflight
--restart-services

No with the newest version it will work without any extra flags.


fix: parameters examples value validation

Summary

I would like to fix the problem that validation error occurs if the validation of value is an object when defining examples with parameters such as integer in schema as shown in the official example.
Test Plan

Add an integer instead of an object to examples in  test/api.test.domain/index.yml
parameters:
        - in: query
          name: from.publishedAt
          schema:
            type: integer
            format: int32
          examples:
            example1:
              value: 20231119
            example2:
              value: 20240101

pnpm run test:code:gen succeeds!

@taiki-fw
Thank you Contirbute, I have released it with v0.27.3!
https://github.com/Himenon/openapi-typescript-code-generator/releases/tag/%40himenon%2Fopenapi-typescript-code-generator%400.27.3


case insensitive lookup

Having no case preference would be nice:
e.g
lookup({name: 'Antigua and Barbuda'})
doesn't find a match because the source data uses 'And'
I have a branch cut with a fix for this if you want to incorporate it.

Sometimes we have country name like 'UNITED STATES'

Fix the issue on
https://github.com/Sonatrix/country-list
https://npm.runkit.com/country-data-list


Description variable

Hi, I'm trying to create a new incident and send a description (not the short) and it's not working. I'm the only one facing that?
Thanks
Alex

What error are you getting @labalex and can you share how you're trying to do it?


Fail to load customizer for column: SPFxPercentage, error: Manifest not found for componentId

I think the documentation could benefit from additional clarification.
The Add the field definition to the solution package for deployment section states: "Associate the Field Customizer to an existing field in the site. You can do this programmatically using the SharePoint REST or CSOM API, or by using the Feature Framework in of the SharePoint Framework solution package"
What I'm missing is a clear statement that field customizers deployed as part of a feature, as described in the procedure, cannot be later applied to other, already existing fields if that original field is not displayed.
To reproduce:

Follow the Build your first Field Customizer extension
Deploy the solution as described in Deploy the field to SharePoint Online and host JavaScript from local host
Apply the customizer to an already existing field, using  Set-PnPField
Remove the SPFxPercentage field from the list

The customizer ceases to work, and the following message is displayed in the Console:
Fail to load customizer for column: Percentage2,                       componentId: 7e7a4262-d02b-49bf-bfcb-e6ef1716aaef, error: Manifest not found for componentId "7e7a4262-d02b-49bf-bfcb-e6ef1716aaef".

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

ID: cbc14882-1021-df0e-73c1-95d049f091d7
Version Independent ID: eda24750-4e60-f05c-a6bb-0cc017dfe9ed
Content: Build your first Field Customizer extension
Content Source: docs/spfx/extensions/get-started/building-simple-field-customizer.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

Hi @kkazala - thanks for reporting this one.
It shouldn't be the case: removing the field from the list (or from the site) doesn't impact the availability/deployment status of a Field Customizer.
Could you please provide few more details:

Did you use tenant-wide deployment or no?
If no - have you by any chance removed the app from the site?
Have you by any chance removed the package from the app catalog?
If you were debugging, could it be the case that you've stopped the local server?

Hi @AJIXuMuK
Thank you very much for looking into it.
I tested it again and... I cannot reproduce the issue any more. Can't explain it, but for sure I did something wrong when testing
I'm sorry for taking your time for nothing =)