[improve][pip] PIP-315: Configurable max delay limit for delayed delivery

PIP-315: Configurable max delay limit for delayed delivery

Motivation
Currently there is no max delay limit so a producer can specify any delay when publishing a message.
The purpose of this PIP is to introduce an optional configuration to limit the max allowed delay for delayed delivery.
Modifications

Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Hi @codelipenghui @jiazhai @merlimat @coderzc @wolfstudy @315157973, I saw you worked on delayed delivery code in the past. Would you mind providing some thoughts on this PIP? Thanks!

Hi @lhotari @tisonkun @mattisonchao @rdhabalia @poorbarcode @Technoboy- , could you review this PIP when you get a chance? Thanks!

This proposal needs to be voted in dev mail list at first

Hi @315157973 @coderzc, I have started the vote thread and added the link.


MSB4057

Hi, I'm still getting this error:
Error MSB4057 The target "ContainerWaitForWarmupCompletion" does not exist in the project. OnlineShop.Catalog.API	D:\path\Microsoft.Common.CurrentVersion.targets 894
I had same issue a few weeks ago, but after SDK reinstall it's gone, now it's back. I'm wondering is it necessary to do reinstall again, or there is other and easier way to fix it. Thanks

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

ID: 92f80205-0999-1f16-f274-2f9d079c185a
Version Independent ID: 92f80205-0999-1f16-f274-2f9d079c185a
Content: MSB4057: The target 'target name' does not exist in the project. - MSBuild
Content Source: docs/msbuild/errors/msb4057.md
Product: visual-studio-windows
Technology: msbuild
GitHub Login: @ghogen
Microsoft Alias: ghogen

@DBrdak -- Dominik, thank you for your feedback.  Please consider these resources:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Check the Visual Studio MSDN Forum.
Stack Overflow
Reddit

If you feel this is a product issue, you're welcome to add it here:

Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.
Use the new Suggest a feature for Visual Studio IDE menu item.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

@ghogen -- Gordon, please look into this potential documentation issue.

@DBrdak
The error is just saying that for whatever reason, that target could not be found. The target looks like one that is defined in Visual Studio that handles some performance optimization tricks for Dockerized projects. You might be right that it's an installation problem, but as far the docs for MSBuild and the text of that error message, it is likely correctly informing you of the problem. Unfortunately, that's about as far as I can go with this information.
We probably just have to close this issue, but if you're reading this message and you solved the problem in the meantime, it could be helpful to add something here about what you did to solve this.


hi，I want to test a dataset with 200 classes,but get a error

RuntimeError: The expanded size of the tensor (1024) must match the existing size (512) at non-singleton dimension 1.  Target sizes: [1, 1024].  Tensor sizes: [1, 512]

i want to know if the model can test the dataset with 200 classes

I think the default max class  number is 80

@weveng @xugy16 There is actually no "max class" concept in GLIP since it is an open-vocabulary contextualized object grounding method. Please just make sure that after converting 200 classes into one detection prompt, it will not exceed the maximum length of the input for the text encoder. If the prompt exceeds the length, you can take a look at the codes about how we deal with the LVIS dataset (~1200 classes).

@Haotian-Zhang  Thank you for this tip!
I see from the paper that the prompt is split up for training (Appendix B, "When not all object categories can fit into a single prompt") and evaluation (Appendix C.2).
This makes a lot of sense.
Unfortunately, I cannot find the relevant routines in the code. I wonder if someone can more specifically refer us to where should @weveng and I be looking for the implementation of these splits/accumulations for training and testing?

@Haotian-Zhang Thank you for this tip!
I see from the paper that the prompt is split up for training (Appendix B, "When not all object categories can fit into a single prompt") and evaluation (Appendix C.2).
This makes a lot of sense.
Unfortunately, I cannot find the relevant routines in the code. I wonder if someone can more specifically refer us to where should @weveng and I be looking for the implementation of these splits/accumulations for training and testing?

I haven't found the corresponding code either. Can you find a way to handle situations where the prompt length is too long？


FORTECH-17: Update styles for Checkbox

Feature Added
Updated Agate Checkbox component styling for gallium and silicon skins.
Comments
Updated Agate Checkbox component props and styling according to zeplin design (for both gallium and silicon skins).
Enact-DCO-1.0-Signed-off-by: Stanca Pop<EMAIL_ADDRESS>

Day mode

Night mode

The Checkbox size for night mode is smaller than the one for day mode.

There is no Checkbox ( Not CheckboxItem ) sampler in Agate. Could you add it in your PR by cloning it from the CheckboxItem?

Hello @stanca-pop-lgp
It looks much better to me.
I found one issue.
Day mode

Night mode

In night mode, the text color for the title - Agate Checkbox is black and I can't see it because the background color is also black.

Hello @stanca-pop-lgp
It looks much better to me.
I found one issue.
Day mode

Night mode

In night mode, the text color for the title - Agate Checkbox is black and I can't see it because the background color is also black.

This is because the Agate storybook doesn't have styles for silicon night mode. So you couldn't have seen the checkbox if I had left it as it is. I just replaced the background color for now, but we will update all the variables for all the components in order to be visible in night mode. Daniel already did some changes here and pushed them, that is why I didn't intervene so much.

@stanca-pop-lgp
Thanks for adding the unit test. LGTM.

I went ahead and resolved the merge conflict after FORTECH-26-27-28-30 was merged.
Reminder: Please reassign the JIRA ticket back to me after you're finished so I know the PR is ready for integration


⚠ Cioos National CKAN has degraded performance

In 19c9635, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 10785 ms

Resolved: Cioos National CKAN performance has improved in 726afee after 6 minutes.


ruff: 0.0.286 -> 0.0.287

Diff: https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.287
Changelog: https://github.com/astral-sh/ruff/releases/tag/v0.0.287
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

4 packages marked as broken and skipped:

python310Packages.gradio
python310Packages.gradio.dist
python311Packages.gradio
python311Packages.gradio.dist

62 packages built:

baserow
baserow.dist
dmarc-metrics-exporter
dmarc-metrics-exporter.dist
emacsPackages.lsp-bridge
irrd
irrd.dist
lektor
lektor.dist
nbqa
nbqa.dist
paperless-ngx
python310Packages.altair
python310Packages.altair.dist
python310Packages.anywidget
python310Packages.anywidget.dist
python310Packages.bentoml
python310Packages.bentoml.dist
python310Packages.dirty-equals
python310Packages.dirty-equals.dist
python310Packages.pydantic-core
python310Packages.pydantic-core.dist
python310Packages.pytest-examples
python310Packages.pytest-examples.dist
python310Packages.python-lsp-ruff
python310Packages.python-lsp-ruff.dist
streamlit (python310Packages.streamlit)
streamlit.dist (python310Packages.streamlit.dist)
python310Packages.unstructured-api-tools
python310Packages.unstructured-api-tools.dist
python310Packages.vega
python310Packages.vega.dist
python310Packages.watchfiles
python310Packages.watchfiles.dist
python311Packages.altair
python311Packages.altair.dist
python311Packages.anywidget
python311Packages.anywidget.dist
python311Packages.bentoml
python311Packages.bentoml.dist
python311Packages.dirty-equals
python311Packages.dirty-equals.dist
python311Packages.pydantic-core
python311Packages.pydantic-core.dist
python311Packages.pytest-examples
python311Packages.pytest-examples.dist
python311Packages.python-lsp-ruff
python311Packages.python-lsp-ruff.dist
python311Packages.streamlit
python311Packages.streamlit.dist
python311Packages.unstructured-api-tools
python311Packages.unstructured-api-tools.dist
python311Packages.vega
python311Packages.vega.dist
python311Packages.watchfiles
python311Packages.watchfiles.dist
ruff
ruff-lsp
ruff-lsp.dist
strictdoc
strictdoc.dist
unstructured-api


First time install app will show badge number of 1

Hi, @dpa99c. I'm using your plugin for my hybrid application. I want to ask you favor to look on why first time install application will have the badge number of 1 even it was not received any notification. I was not calling any badge related function in my project for now.

For now i will use clearBadge() to clear for showing initial 1 badge number when first installing.


Rate limits on all general endpoints

Add rate limits to all endpoints, similar to how they are for GET /pixels (constants for each of the 3 variables)
Set the constants to something reasonable for now, don't spend much time thinking about it.
We can change them to something more appropriate before the next event.

oh wait, i already did this lmfao


fix range docs to introduction

Is that the link that was intended?

Yes, perfect thanks! I must have missed that when I rearranged the top level docs. Thanks!


Struggling to find right parameters?

Hello,
i wanted to factorize the following 5x5 matrix(with k = 2) using this library:
1,0000E+00   1,0000E+00   0,0000E+00   0,0000E+00   0,0000E+00
0,0000E+00   0,0000E+00   1,0000E+00   0,0000E+00   0,0000E+00
1,0000E+00   1,0000E+00   0,0000E+00   1,0000E+00   0,0000E+00
0,0000E+00   0,0000E+00   1,0000E+00   1,0000E+00   0,0000E+00
0,0000E+00   0,0000E+00   0,0000E+00   0,0000E+00   1,0000E+00
As one of the resulting matrices i expect a 2 x 5 matrix for example:
0,0000E+00   0,0000E+00   1,0000E+00   1,0000E+00   0,0000E+00
1,0000E+00   1,0000E+00   0,0000E+00   1,0000E+00   1,0000E+00
But the matrix (matrixH) i get is the following:
0,0000E+00  0,0000E+00  0,0000E+00  0,0000E+00  0,0000E+00
-0,0000E+00 -0,0000E+00  0,0000E+00  0,0000E+00 -0,0000E+00
Im using the following code from your example:
new SingularValueDecomposition(matrixX).decompose(matrixW, matrixH);
UpdateRule updateRuleW = new MUpdateRule(1.0, 0.0);
UpdateRule updateRuleH = new MUpdateRule(0.0, 1.0);
new MatrixFactorization(updateRuleW, updateRuleH, 1e-4, 10000).execute(matrixX, matrixW,matrixH);
I tried to change the rules,tolerance and iterations(like in the unit test) but i still dont get a matrix which is close enough to the desired matrix. Maybe you can help me adjusting the parameters so the resulting matrices are closer to the desired matrices?

Hi @Zera97
I'll be glad to help you with these parameters. In this case, the regularization parameters lambda and mu are too high. You can try to set them to zero as follows
UpdateRule updateRuleW = new MUpdateRule(0.0, 0.0);
UpdateRule updateRuleH = new MUpdateRule(0.0, 0.0);

or some small values like 0.001.
I ran it with zero regularization parameters and got non-zero W and H matrices.

Hi @asmirn1,
thank you very much, working like a charm!


iMessage & FaceTime won't work

When I try to log in to Messages and FaceTime, messages interface is showing up for 5-6 seconds, after that is closing and again log in window is present. I have done all of possible fixes, tutorials.... Some ideas?
Also it would be great to enable build in card reader.
Anyway great job! You are awesome!

Yes, me too.

Yes, me too.

Hey @Blkackkk and @davesuriano, I am currently working on the card reader. The possible kext's name is Sinetek-rtsx but it is not stable and may cause boot issues such as kernel panics, etc. It will also block the sleep/wake feature, which I use a lot.
Regarding the iMessage and FaceTime, I will investigate the issue and update you.
And thank you so much for the kind words!

Hey @Blkackkk and @davesuriano, I am currently working on the card reader. The possible kext's name is Sinetek-rtsx but it is not stable and may cause boot issues such as kernel panics, etc. It will also block the sleep/wake feature, which I use a lot.
Regarding the iMessage and FaceTime, I will investigate the issue and update you.
And thank you so much for the kind words!

In order to fix iMessage and FaceTime issue, first grab the newest EFI.
Then you need to do the following:

Generate a new Serial with GenSMBIOS
Verify your NVRAM as it is crucial for iMessage to work

Restart your laptop and select NVRAM option from OpenCore at boot. It will restart your laptop. You can boot to Big Sur after resetting.
After booting, open terminal and write the following:sudo -s
sudo nvram myvar=test
exit

Reboot and run this:

nvram -p | grep -i myvar

You should see something like myvar=test
If you didn't see this, it means that your NVRAM is not working.

Clean out old attempts, by running the following:

sudo rm -rf ~/Library/Caches/com.apple.iCloudHelper*
sudo rm -rf ~/Library/Caches/com.apple.Messages*
sudo rm -rf ~/Library/Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent*
sudo rm -rf ~/Library/Preferences/com.apple.iChat*
sudo rm -rf ~/Library/Preferences/com.apple.icloud*
sudo rm -rf ~/Library/Preferences/com.apple.imagent*
sudo rm -rf ~/Library/Preferences/com.apple.imessage*
sudo rm -rf ~/Library/Preferences/com.apple.imservice*
sudo rm -rf ~/Library/Preferences/com.apple.ids.service*
sudo rm -rf ~/Library/Preferences/com.apple.madrid.plist*
sudo rm -rf ~/Library/Preferences/com.apple.imessage.bag.plist*
sudo rm -rf ~/Library/Preferences/com.apple.identityserviced*
sudo rm -rf ~/Library/Preferences/com.apple.ids.service*
sudo rm -rf ~/Library/Preferences/com.apple.security*
sudo rm -rf ~/Library/Messages

Verify everything by using macserial. Download the file, enter the path of the executable with an option -s:

path/to/macserial -s

Clean up:
i. Remove all devices from your Apple ID
ii. Enable 2 Factor-Authentication

In order to fix iMessage and FaceTime issue, first grab the newest EFI.
Then you need to do the following:

Generate a new Serial with GenSMBIOS
Verify your NVRAM as it is crucial for iMessage to work

Restart your laptop and select NVRAM option from OpenCore at boot. It will restart your laptop. You can boot to Big Sur after resetting.
After booting, open terminal and write the following:sudo -s
sudo nvram myvar=test
exit

Reboot and run this:

nvram -p | grep -i myvar

You should see something like myvar=test
If you didn't see this, it means that your NVRAM is not working.

Clean out old attempts, by running the following:

sudo rm -rf ~/Library/Caches/com.apple.iCloudHelper*
sudo rm -rf ~/Library/Caches/com.apple.Messages*
sudo rm -rf ~/Library/Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent*
sudo rm -rf ~/Library/Preferences/com.apple.iChat*
sudo rm -rf ~/Library/Preferences/com.apple.icloud*
sudo rm -rf ~/Library/Preferences/com.apple.imagent*
sudo rm -rf ~/Library/Preferences/com.apple.imessage*
sudo rm -rf ~/Library/Preferences/com.apple.imservice*
sudo rm -rf ~/Library/Preferences/com.apple.ids.service*
sudo rm -rf ~/Library/Preferences/com.apple.madrid.plist*
sudo rm -rf ~/Library/Preferences/com.apple.imessage.bag.plist*
sudo rm -rf ~/Library/Preferences/com.apple.identityserviced*
sudo rm -rf ~/Library/Preferences/com.apple.ids.service*
sudo rm -rf ~/Library/Preferences/com.apple.security*
sudo rm -rf ~/Library/Messages

Verify everything by using macserial. Download the file, enter the path of the executable with an option -s:

path/to/macserial -s

Clean up:
i. Remove all devices from your Apple ID
ii. Enable 2 Factor-Authentication

I done this before, and still the same effect. App Store and all of the iServices work perfectly, only messages and facetime are broken

I done this before, and still the same effect. App Store and all of the iServices work perfectly, only messages and facetime are broken

I done this before, and still the same effect. App Store and all of the iServices work perfectly, only messages and facetime are broken

Try fixing en0 with Hackintool:

Download Hackintool
Go to System -> Peripherals. In the Network section, look for en0 under BSD and check whether the device has a check mark under Builtin. If there is a check mark ignore this method. If not continue with step 3.
In order to reset the network interfaces do the following:

sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
sudo rm /Library/Preferences/SystemConfiguration/preferences.plist

Reboot and it should work fine. If not continue with step 5.
Download and put NullEthernet.kext in your kexts folder (do not forget to update your config.plist in Kernel -> Add) and ssdt-rmne.aml (add in ACPI -> Add)
Go to PCI tab in the Subclass column search for Ethernet controller. Right-click on that and copy the device path.
Click export button on the bottom of the window (the second button), it will create 4 files on your desktop.
Open pcidevices.plist and find the device path that matches with the one you copied in step 6.
Open your config.plist with OpenCoreConfigurator and add the item without its properties in DeviceProperties -> Add.
Add only one property named built-in with type Data and value 01.

I done this before, and still the same effect. App Store and all of the iServices work perfectly, only messages and facetime are broken

Try fixing en0 with Hackintool:

Download Hackintool
Go to System -> Peripherals. In the Network section, look for en0 under BSD and check whether the device has a check mark under Builtin. If there is a check mark ignore this method. If not continue with step 3.
In order to reset the network interfaces do the following:

sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
sudo rm /Library/Preferences/SystemConfiguration/preferences.plist

Reboot and it should work fine. If not continue with step 5.
Download and put NullEthernet.kext in your kexts folder (do not forget to update your config.plist in Kernel -> Add) and ssdt-rmne.aml (add in ACPI -> Add)
Go to PCI tab in the Subclass column search for Ethernet controller. Right-click on that and copy the device path.
Click export button on the bottom of the window (the second button), it will create 4 files on your desktop.
Open pcidevices.plist and find the device path that matches with the one you copied in step 6.
Open your config.plist with OpenCoreConfigurator and add the item without its properties in DeviceProperties -> Add.
Add only one property named built-in with type Data and value 01.

unfortunately it is a server problem. with another apple id my hackintosh imessage works

unfortunately it is a server problem. with another apple id my hackintosh imessage works

The last solution is to contact apple. Most probably there are restrictions on your account. You can call them to fix it.

The last solution is to contact apple. Most probably there are restrictions on your account. You can call them to fix it.


[VTVgoVideo, VTVvn] add extractor

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

ADD DESCRIPTION HERE
Add extractor for VTV Go
and the video section of vtv.vn
Also support only for vietnamese and videos only (no live broadcast)
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Thank you for the PR, I went ahead and cleaned it up slightly.

thank you!


#254: Tidy CreateStep service object

Changes in this PR

rename CreateStep.contentful_entry to contentful_step

Please could you add the "why" to PR and commit. We are trying to align the service objects, be more descriptive, less ambiguous etc. For the same reason I feel like you should rename fake_entry in the specs to contentful_step as it mirrors the class under test and better conveys what is happening.

Does the spec still work if you start using let for a shared setup?

At 30 lines long lets pull Step.create into its own private method @EdwinKruglov

Any comments @AndrewCowle ?

We'd spotted that the spec had service.call sometimes appear to return an unused answer. That is never the case so it fails to document the object under test and would be confusing.

If you revert the request and job specs (which shouldn't be effected) and try this instead, we should be good.
  def fake_contentful_step(contentful_fixture_filename:)
    raw_response = File.read(Rails.root.join("spec/fixtures/contentful/004-#{contentful_fixture_filename}"))
    hash_response = JSON.parse(raw_response)

    double(
      Contentful::Entry,
      id: hash_response.dig("sys", "id"),
      content_type: double(id: hash_response.dig("sys", "contentType", "sys", "id")),
      raw: hash_response,
      fields: hash_response["fields"].dup.deep_transform_keys!(&:underscore).deep_symbolize_keys!,
    )
  end

Notice dup is in there too.


Column is read-only: No corresponding table column

Description
This problem seems to be related to the use of schemas.
Run a simple query on a table which is not in the dbo schema, then try to edit the data in the grid. The following error is shown:
Column is read-only: No corresponding table column
DBeaver Version
Community Edition <IP_ADDRESS>209251341
Operating System
Windows 11
Database and driver
SQL Server
Steps to reproduce
Open query editor
Run a simple query on a table which is in a non-dbo schema. E.g.: select * from MySchema.MyTable.
In the result grid, click in a cell to edit the data.
Error shows.
Additional context
No response

Hello @williambuchanan2
For now, I can't reproduce your issue.
Do you use select for non-default database? Or for default?
As a workaround - can you please check the result of selecting one more time (re-run) after you open the syscore tables list in the navigator tree?

Hello @williambuchanan2
For now, I can't reproduce your issue.
Do you use select for non-default database? Or for default?
As a workaround - can you please check the result of selecting one more time (re-run) after you open the syscore tables list in the navigator tree?

Hi @LonwoLonwo
The DB wasn't default - I did try to make it default but no change. I have also tried re-running the query. In fact I have rebooted a few times, and refreshed the navigator tree several times as well but it doesn't make a difference.
See screenshot below - the inline editing works fine for a table in the dbo schema in the same database. I have tried a selection of tables in the SysCore schema and all have the same problem.
This is a new issue - I never had this problem before the latest update (or at least I never noticed it before).
Thanks

Can you please check this option? In case of this action - a new editor with an appropriate connection will be open.
Will the result also be read-only?

Hi @LonwoLonwo
Thanks for your message. In fact that worked! Looking into why it work has revealed the problem... It seems that when you include the database name in the query everything works ok, but without it we get the error. See below - the circled query works.
I wonder if this is a side effect of my schema and DB having the same name? In fact this seems to cause some confusion with auto complete as well...

I wonder if this is a side effect of my schema and DB having the same name?

Yes, it can be the reason.
Thanks for the bug report.

I am getting this error with 22.3.3, on Windows 10 Pro with Oracle.  Now I rolled back to 22.3.2 and it worked with 22.3.2.

I'm also getting this on 22.3.3. It's behaving very strangely
select * from table1; - Execute statement on this returns that table and it's editable like normal
#random line comment
/*random block comment*/
select * from table1;

Executing this query with the comments above it returns a read-only table with every column having the "No Corresponding table column" error. A yellow lock icon also appears in the top left

Hello @Donal-Goggin
Unfortunately, I can't reproduce your issue.
What database do you use?

Your test is slightly different to mine. I use MariaDB MySQL so line comments are prefixed with '#'
This was just one way I was able to get that yellow lock icon to display( meaning every column will have that 'No corresponding table column' error). Even adding something like this to a query that usually returns an editable table, will return that table in read-only mode.
AND column_1 NOT LIKE BINARY 'CLA %'

Ok, @Donal-Goggin, I can't reproduce on PostgreSQL, but I can on MySQL.
It is not the case for 17724, and I'm not sure, that this is the case for #18551
So, please, create a new ticket.

Same issue, is a database problem on Dbeaver issue?

Adding in my scenario as well, for me the difference seems to be selecting specific columns vs *.
So for example, this query using select * produces an editable results set.
SELECT
*
FROM
"AspNetUsers" anu
ORDER BY
anu."UserName"
;
But this same query only selecting a couple columns produces a results set with the Column in read-only problem
SELECT
anu."Id"
,anu."UserName"
,anu."PhoneNumber"
,anu."DateCreated"
FROM
"AspNetUsers" anu
ORDER BY
anu."UserName"
;
all columns selected show up as read-only.  They are all listed in the table's column list.
I'm on DBeaver Version <IP_ADDRESS>302060909, macOS 13.2, postgres DB

Hello @bickgr
Can you please provide the "AspNetUsers" DDL?

hey @LonwoLonwo here it is
-- public."AspNetUsers" definition
-- Drop table
-- DROP TABLE public."AspNetUsers";
CREATE TABLE public."AspNetUsers" (
"UserName" varchar(256) NULL,
"NormalizedUserName" varchar(256) NULL,
"Email" varchar(256) NULL,
"NormalizedEmail" varchar(256) NULL,
"EmailConfirmed" bool NOT NULL,
"PasswordHash" varchar(512) NULL,
"SecurityStamp" varchar(512) NULL,
"ConcurrencyStamp" bpchar(36) NULL,
"PhoneNumber" varchar(256) NULL,
"PhoneNumberConfirmed" bool NOT NULL,
"TwoFactorEnabled" bool NOT NULL,
"LockoutEnd" timestamptz NULL,
"LockoutEnabled" bool NOT NULL,
"AccessFailedCount" int4 NOT NULL,
"FirstName" varchar(100) NOT NULL,
"LastName" varchar(100) NOT NULL,
"DateCreated" timestamptz NOT NULL,
"DateLastPlayed" timestamp NULL,
"DbVersion" varchar(256) NULL,
"AccessToken" varchar(256) NULL,
"SelectedLanguage" varchar(256) NULL,
"LastDeviceLanguage" varchar(256) NULL,
"LastDeviceId" varchar(256) NULL,
"LastIPAddress" varchar(256) NULL,
"RunOnceCompleted" bool NOT NULL,
"Status" int8 NOT NULL,
"ProfileImage" varchar(256) NULL,
"Id" uuid NOT NULL,
"UserOrganizationId" uuid NULL,
"Active" bool NOT NULL DEFAULT true,
"LastPlayedSkillId" int4 NULL,
"RequirePasswordChange" bool NOT NULL DEFAULT false,
"PostId" varchar(256) NOT NULL DEFAULT ''::character varying,
"ViolatedTerms" bool NOT NULL DEFAULT false,
"MiddleName" varchar(100) NULL,
"LockedOutOn" timestamp NULL,
"ExternalIdentityUserId" text NULL,
"PausePostSubmission" bool NOT NULL DEFAULT false,
"RemovedFromSso" bool NOT NULL,
"UserGroupId" uuid NULL,
"ExternalUsername" text NULL,
"NormalizedExternalUsername" varchar(100) NULL,
"NumberOfViolationLockouts" int4 NOT NULL DEFAULT 0,
"DateLastLoggedIn" timestamp NULL,
"NormalizedExternalIdentityUserId" varchar(100) NULL,
"AcceptedEulaTAndCIp" text NULL,
"AcceptedEulaTAndCOn" timestamp NULL,
"LastGeneratedClientSiteSession" text NULL,
"LastGeneratedTrainingAppSession" text NULL,
"AnalyticsType" text NULL,
CONSTRAINT "AspNetUsers_pkey" PRIMARY KEY ("Id"),
CONSTRAINT "FK_AspNetUsers_Modules_LastPlayedSkillId" FOREIGN KEY ("LastPlayedSkillId") REFERENCES public."Modules"("Id") ON DELETE SET NULL,
CONSTRAINT "FK_AspNetUsers_UserGroup_UserGroupId" FOREIGN KEY ("UserGroupId") REFERENCES public."UserGroup"("Id") ON DELETE SET NULL,
CONSTRAINT "FK_AspNetUsers_UserOrganization_UserOrganizationId" FOREIGN KEY ("UserOrganizationId") REFERENCES public."UserOrganization"("Id") ON DELETE RESTRICT
);
CREATE INDEX "IX_AspNetUsers_LastPlayedSkillId" ON public."AspNetUsers" USING btree ("LastPlayedSkillId");
CREATE UNIQUE INDEX "IX_AspNetUsers_NormalizedEmail" ON public."AspNetUsers" USING btree ("NormalizedEmail");
CREATE INDEX "IX_AspNetUsers_NormalizedExternalIdentityUserId" ON public."AspNetUsers" USING btree ("NormalizedExternalIdentityUserId");
CREATE UNIQUE INDEX "IX_AspNetUsers_NormalizedExternalUsername" ON public."AspNetUsers" USING btree ("NormalizedExternalUsername");
CREATE INDEX "IX_AspNetUsers_UserGroupId" ON public."AspNetUsers" USING btree ("UserGroupId");
CREATE UNIQUE INDEX "IX_AspNetUsers_UserOrganizationId_NormalizedExternalIdentityUs~" ON public."AspNetUsers" USING btree ("UserOrganizationId", "NormalizedExternalIdentityUserId");
CREATE UNIQUE INDEX idx_45106_usernameindex ON public."AspNetUsers" USING btree ("NormalizedUserName");

Ok, I can reproduce it

@bickgr please, create a new ticket for your issue. Because original issue here has other problem

I'm also getting this on 22.3.3. It's behaving very strangely
select * from table1; - Execute statement on this returns that table and it's editable like normal
#random line comment
/*random block comment*/
select * from table1;

Executing this query with the comments above it returns a read-only table with every column having the "No Corresponding table column" error. A yellow lock icon also appears in the top left

Same issue, if I have comments in my select statement, the columns will open read only.  If I remove the comments, I can then edit the columns.  I'm using MariaDB with DBeaver enterprise <IP_ADDRESS>312110545
I don't have this issue with PostgreSQL or MySQL database, just MariaDB in DBeaver.

I solved this problem,


Bluetooth: Audio: Shell: Add encryption to audio shell

This commit adds support for LESC in the host of audio shell if the controller does not support the public key generation for ECDH.

@pin-zephyr please rebase

@pin-zephyr Please rebase

@Thalley , probably we can discard this open PR.
my code has been merged to upstream.
$ git show 291b81bc3836
commit 291b81bc38363f970f7ae1dab0bbb949f46b11e3
Author: Ping Wang<EMAIL_ADDRESS>Date:   Thu Apr 25 14:30:59 2024 +0200
Bluetooth: Audio: Shell: adds support for LESC in the host

The commit adds support for LESC in the host if the controller
does not support the public key generation for ECDH.

Signed-off-by: Ping Wang<EMAIL_ADDRESS>

@Thalley , probably we can discard this open PR.
my code has been merged to upstream.
$ git show 291b81b commit 291b81b Author: Ping Wang<EMAIL_ADDRESS>Date: Thu Apr 25 14:30:59 2024 +0200
Bluetooth: Audio: Shell: adds support for LESC in the host

The commit adds support for LESC in the host if the controller
does not support the public key generation for ECDH.

Signed-off-by: Ping Wang<EMAIL_ADDRESS>
However, I did not get why this PR is still has "OPEN" status.

Yeah, looks like a duplicate indeed. I'll close this


Compilation broken when .net 6 is installed.

Even when not using any .net6 in the project, the compilation fails as soon as .net6 preview2 is installed.

I'll try over the long weekend to see what could be the issue... We had something similar with one of the net5.0 previews, but it was solved by the time they released it

Workaround for this is to create a global.json in the project dir with the following contents:
{
  "sdk": {
    "version": "5.0.202"
  }
}

Problem with this workaround is as far as i can tell, that you need to change the version number after every update of your local sdk.


Handle LTKRequest by returning a negative reply

This adds initial support for LTKRequest, by returning a simple negative reply.
Recently IOS changed and tries to negotiate a secure connection by default. This change allows recent IOS applications to continue to connect to the GATT service, by returning a valid, albeit negative reply to that LTK request.
Further work would be needed to negotiate and manage an actual Long Term Key.

LGTM. Thanks!


Fix content-type header for non-text-file attachments

The previous logic was only setting content-type for SVG.  All other types did not consider the user's configured mime type mapping. Fix that by allowing all mappings to take effect. Also, added a default PDF mimetype as there is no harm in doing that.

Test failure is related

Hmm, that test failure is odd:
    wiki_test.go:216:
        	Error Trace:	wiki_test.go:216
        	Error:      	Not equal:
        	            	expected: "image/jpeg"
        	            	actual  : "application/octet-stream"

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-image/jpeg
        	            	+application/octet-stream
        	Test:       	TestWikiRaw

The only case the old code could have set such a value is if setting.MimeTypeMap.Map contained a .jpg entry, but I see none.

In any case, I think we can allow all image/* types by default as well as detected by file extension, which in turn should also fix this test.

I'll give this a more thorough rewrite, there's a lot of issues in the attachment serving code.

https://github.com/go-gitea/gitea/pull/20464


Add progress bar for installation downloading

Some supporting files are required for the usage of scispacy, such as tfidf_vectors_sparse.npz, nmslib_index.bin, etc.
And some of them are of large size to 500MB. So that it's hard to determine the its ETA for those in unstable internet connection.
In my case, the bandwidth was fine at first, but later dropped to about 30KB/s.
So I implement the downloading progress bar for monitorin as seen in the image.

If you agree with the need of progress bar, I would be glad to raise a PR.
Also if you have some other features in mind, I would be glad to improve the current implementation.
My preliminary implementation
from tqdm import tqdm
def http_get(url: str, temp_file: IO) -> None:
    req = requests.get(url, stream=True)
    total = int(req.headers.get('content-length', 0))
    pbar = tqdm(total=total, unit='iB', unit_scale=True, unit_divisor=1024)
    for chunk in req.iter_content(chunk_size=1024):
        if chunk:  # filter out keep-alive new chunks
            size = temp_file.write(chunk)
            pbar.update(size)
    pbar.close()

Hey @WeixiongLin that sounds good to me!

Thanks for your review! I have raise a PR.

I have raise a PR, hope you find it helpful.


feat(react-native): initialization

related with #1093 #1109 #1072 #1071
Overview

I want to support isomorphic <InView/>, <FadeIn/> for react-dom and react-native at once. This pull request is start for it

@suspenisve/react-native
@suspenisve/react-dom

PR Checklist

[x] I did below actions if need

I read the Contributing Guide
I added documents and tests.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.26%. Comparing base (7714f92) to head (27e783c).

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1150   +/-   ##
=======================================
  Coverage   76.26%   76.26%
=======================================
  Files          62       62
  Lines         594      594
  Branches      116      117    +1
=======================================
  Hits          453      453
  Misses        131      131
  Partials       10       10

Components
Coverage Δ

@suspensive/utils
47.16% <ø> (ø)

@suspensive/react
95.74% <ø> (ø)

@suspensive/react-query
72.18% <ø> (ø)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/jotai
0.00% <ø> (ø)

@suspensive/cache
98.23% <ø> (ø)

@suspensive/react-image
80.39% <ø> (ø)

I need to improve test code to ci this package.
For now, I failed to transpile jsx in jest...🥲

I'll merge to improve this gradually @gwansikk @kangju2000 @bigsaigon333 @SEOKKAMONI


Visual CSS Regression testing

@anselmbradford please share what you find!
@contolini can you tell us what you did for HMDA?

(Cross-referencing [GHE]/flapjack/Getting-started-with-Flapjack/issues/14)

I have a proof-of-concept Vagrant box for trying out WebdriverCSS up on https://github.com/anselmbradford/SanityBox
Please try it out! It's pre-alpha definitely, so could use some second eyes. For usage, only file you may need to touch is this one.

@cfarm I was using mogotest which is now defunct. :disappointed:
@anselmbradford Whoooooaaaa I can't wait to check this out!

Way late to the party, but @anselmbradford that is super cool. Are y'all using that or anything similar?

@ascott1 Not currently, but it would be great to have. Our codebase needs to stabilize a bit more.

Heard of this book that has a chapter on visual regression testing (and it's in Safari online), however, the reviews are terrible http://shop.oreilly.com/product/0636920040156.do

The content of that book looks pretty incredible... Maybe they were just crummy reviewers, since there are only two reviews?

dupe of https://github.com/cfpb/development/issues/137


Unable to visualize Inception v3 graph in TensorBoard with TensorFlow 0.7.1

Summary
Attempting to visualize the Inception v3 graph with TensorBoard results in an empty graph (after several minutes of loading).
Update: an earlier version of this issue indicated that the progress bar hung forever, but apparently, I just didn't wait long enough.
Environment info
Operating System: OS X 10.11.3, Chrome 48.0.2564.116, Anaconda 1.2.2
If installed from binary pip package, provide:

Which pip package you installed: https://storage.googleapis.com/tensorflow/mac/tensorflow-0.7.1-cp35-none-any.whl
The output from python -c "import tensorflow; print(tensorflow.version)".: 0.7.1

Steps to reproduce

Downloaded and un-tar the inception v3 model. The graph protobuffer is in /tmp/imagenet/classify_image_graph_def.pb.
Run this code to dump the graph:

    import os
    import os.path
    import tensorflow as tf
    from tensorflow.python.platform import gfile

    INCEPTION_LOG_DIR = '/tmp/inception_v3_log'

    if not os.path.exists(INCEPTION_LOG_DIR):
        os.makedirs(INCEPTION_LOG_DIR)
    with tf.Session() as sess:
        model_filename = '/tmp/imagenet/classify_image_graph_def.pb'
        with gfile.FastGFile(model_filename, 'rb') as f:
            graph_def = tf.GraphDef()
            graph_def.ParseFromString(f.read())
            _ = tf.import_graph_def(graph_def, name='')
        writer = tf.train.SummaryWriter(INCEPTION_LOG_DIR, graph_def)
        writer.close()

Run tensorboard: tensorboard --logdir /tmp/inception_v3_log
Navigate to graphs tab at http://<IP_ADDRESS>:6006/#graphs

Expected result: the graph
Actual result: Empty graph screen (after several minutes of loading with no movement of the progress bar)
A 91 MB file (same size as the graph protobuffer) called events.out.tfevents.1456423256.[hostname] is correctly saved to the log directory, so it seems that the graph is in there somewhere.
What have you tried?

Installing Python 2 pip version of TensorFlow 0.7.1 in a separate conda environment; same results.
Running mnist_summaries_example; graph is shown in TensorBoard properly, so this is a problem with the Inception model

Maybe related to #716

Hi @dgolden1,
Thanks for reporting and taking the time to include a clean repro. Would you mind trying this setup against the master branch? We've been doing some work in improving the pipeline for large graphs, so it might be that this is already fixed at head.

Sorry, @danmane, I get the same results on the current master (b1bb0bb3dd733224f243b1eb2c4432c4977ae37e) built from source on OS X with both Anaconda Python 2.7.11 and Anaconda Python 3.5.1 (each in their own separate environments).

I built from source on Ubuntu 14.04 and met the same issue. Any updates on this?

dsmilkov is out for the rest of the week but I will be investigating this today

From what I see locally, it seems like this was fixed in Tensorboard in commit 3212eb3. Basically, the graphdef contains huge embedded constant tensors, making the graphdef size too large for the client to handle when it is based from Tensorboard server to the client browser. That commit adds server-side filtering out of large embedded constants, making the client able to handle the served graph data.
So, building Tensorboard from scratch on master should allow visualization of inception_v3. Also, the next tagged release should also include a rebuilt Tensorboard with the fix.
@dgolden1 and @ffmpbgrnn, did you rebuild the Tensorboard frontend and backend explicitly? Perhaps rebuilding from the TF root doesn't rebuild the Tensorboard components?

Thanks for the help, @jameswex. I tried building from source again, this time on Ubuntu 14.04 with the latest master (13ea3ca91ba5aecab6f21acc14b9cb6a9afa8630) using Anaconda Python 3.5.1. Results are the same: no graph is displayed.
I built via:
bazel clean
./configure  # CPU-only
bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
# ...etc

I also tried explicitly building tensorboard and running it like:
bazel build tensorflow/tensorboard:tensorboard
./bazel-bin/tensorflow/tensorboard/tensorboard --logdir /tmp/inception_v3_log/

with the same result.

It turns out that just a bazel build will not fully rebuild the tensorboard front-end (just the back-end of tensorboard). If you want to manually rebuilt the tensorboard front-end, its currently a multi-step process.
I believe in addition to the bazel build of tensorboard, you should also run "gulp vulcanize" in the tensorboard directory to rebuild the front-end HTML that communicates with the tensorboard back-end (see the tensorboard README.md for dependencies for running gulp commands).
@danmane, can you confirm if there are additional steps beyond gulp vulcanize and bazel build? Thanks.

In general, using gulp vulcanize then bazel build will get you the latest and greatest TensorBoard..
Although now that I released a new compiled TensorBoard that is more recent than the improvements that @jameswex are describing, it should be enough to just use bazel. (on master)

Some progress; I did gulp vulcanize and then the bazel build with the latest master (e4add493f1020c0eb986aba21c266d9e6e6f4182). As before, I'm on Ubuntu 14.04 on Amazon EC2 with Anaconda Python 3.5.1 Now, when attempting to visualize the graph (after dumping it via the same Python snippet in my original issue), I get this TensorBoard error:
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/socketserver.py", line 628, in process_request_thread
    self.finish_request(request, client_address)
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/socketserver.py", line 357, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/tensorboard/backend/handler.py", line 93, in __init__
    BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, *args)
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/socketserver.py", line 684, in __init__
    self.handle()
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/http/server.py", line 415, in handle
    self.handle_one_request()
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/http/server.py", line 403, in handle_one_request
    method()
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/tensorboard/backend/handler.py", line 454, in do_GET
    data_handlers[clean_path](query_params)
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/tensorboard/backend/handler.py", line 259, in _serve_graph
    large_attrs_key)
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/tensorboard/backend/process_graph.py", line 66, in prepare_graph_for_ui
    node.attr[large_attrs_key].list.s.append(str(key))
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/google/protobuf/internal/containers.py", line 251, in append
    self._values.append(self._type_checker.CheckValue(value))
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/google/protobuf/internal/type_checkers.py", line 108, in CheckValue
    raise TypeError(message)
TypeError: 'value' has type <class 'str'>, but expected one of: (<class 'bytes'>,)

The TensorBoard app shows this "Graph visualization failed" error

Could this be a Python 2 vs. 3 issue?

Was able to reproduce the issue using python3. The problem comes down: 'str' and 'bytes' are equivalent types in python2, but in python3 they are not. Moreover python3 bytes requires an encoding to be specified when converting a string to bytes (protobuf uses utf-8 for encoding strings).
Fix is on the way. The commit should appear tomorrow. If you don't want to wait, a small fix that makes it work just for python3 is replace line 66 in process_graph.py from
node.attr[large_attrs_key].list.s.append(str(key))
to
node.attr[large_attrs_key].list.s.append(bytes(key, 'utf-8'))

And also replace line from 58 from process_graph.py from
keys = node.attr.keys()
to
keys = list(node.attr.keys())

@dsmilkov, making those changes worked! Thanks!
After the change has been pushed to master, I'll test again, and close this issue if it works.

I attempted to test the current master (d868f1e8089b2cbee7c7c7f6b385dda9a13c1c7e) but now I can't even open a session; I get this error:
>>> tf.Session()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 727, in __init__
    super(Session, self).__init__(target, graph, config=config)
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 104, in __init__
    opts = tf_session.TF_NewSessionOptions(target=target, config=config)
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 266, in TF_NewSessionOptions
    _TF_SetTarget(opts, target)
TypeError: expected bytes, str found

Which sounds like another Python 2 vs 3 issue, unrelated to tensorboard.
I'll try separately with the commit that included the process_graph.py patch, 9c7be1c.

That is a separate python 3 tensorflow (but not tensorboard) issue that I believe is a known issue

I can't test 9c7be1cf1c4f8cead83e8137a9d0718b657995af either because of yet another non-tensorboard Python 2 vs 3 issue.
On 9c7be1cf1c4f8cead83e8137a9d0718b657995af:
Traceback (most recent call last):
  File "blah.py", line 3, in <module>
    import tensorflow as tf
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/__init__.py", line 23, in <module>
    from tensorflow.python import *
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 82, in <module>
    from tensorflow.python.training import training as train
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/python/training/training.py", line 162, in <module>
    from tensorflow.python.training.session_manager import SessionManager
  File "/home/ubuntu/anaconda3/envs/tensorflow_py3_unstable/lib/python3.5/site-packages/tensorflow/python/training/session_manager.py", line 329
    except errors.FailedPreconditionError, e:
                                         ^
SyntaxError: invalid syntax

Maybe some Python 3 unit tests would be helpful?
I'll try this again in a few days when there will hopefully be a version that works on Python 3.

So we have python3 tests, but they are not fully integrated yet requiring us to run them manually. A change yesterday broke python3 and fixes are on the way.

Understandable, @dsmilkov, thanks for the explanation!

I can confirm the graph can now be visualized properly in f952246b1756242926d47091d09ceb7c7b963269. Thanks for working on this!

i've got the similar issue in python2
when i ran  writer = tf.train.SummaryWriter(INCEPTION_LOG_DIR, graph_def)
each time i got a "events.out.tfevents.1456423256."


Installation instructions for Elixir are incomplete

I was trying to install Livebook using Elixir and followed the 3 steps in the Website, but I got errors:

my Hex version was not updated and I had to run $ mix local.hex
Then I got another error compiling the dependency :phoenix_live_dashboard

So I guess for people how don't have Phoenix installed some extra-steps are needed in the instructions.
Currently only these steps:

Install Elixir v1.13+
$ mix escript.install hex livebook
livebook server

Thank you!

The mix local.hex only happens if you have an old Hex version and you haven't updated for a long while (at least a couple months).

Then I got another error compiling the dependency ':phoenix_live_dashboard'

Which error did you get? What are your Elixir and Erlang/OTP versions?

The mix local.hex only happens if you have an old Hex version and you haven't updated for a long while (at least a couple months).

That's true. I haven't used/upgraded Elixir since a few months.
But I installed the latest version of it using Brew in a Mac. So, first I run the brew command to upgrade Elixir. I got:
Erlang/OTP 24 [erts-12.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit] [dtrace]
Elixir 1.13.2 (compiled with Erlang/OTP 24)

Then I run the second command of installation to install LiveView and got the Hex error.
So I updated Hex.
Then run again the same command and this time I got the new dependency error.
Note that I also have old versions of phoenix/liveview installed!

Then run again the same command and this time I got the new dependency error. Note that I also have old versions of phoenix/liveview installed!

Can you please copy and paste this error? Old versions of Phoenix/LiveView should not conflict with installing Livebook, they all use different artifacts. So something else must be at play here!

This is the error I get by running $ mix escript.install hex livebook
22:55:34.719 [notice] Application eex exited: :stopped
==> phoenix_live_dashboard
could not compile dependency :phoenix_live_dashboard, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile phoenix_live_dashboard", update it with "mix deps.update phoenix_live_dashboard" or clean it with "mix deps.clean phoenix_live_dashboard"
** (MatchError) no match of right hand side value: {:error, {:telemetry, {'no such file or directory', 'telemetry.app'}}}
    (phoenix 1.6.6) lib/mix/tasks/compile.phoenix.ex:19: Mix.Tasks.Compile.Phoenix.run/1
    (mix 1.13.2) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.13.2) lib/mix/tasks/compile.all.ex:92: Mix.Tasks.Compile.All.run_compiler/2
    (mix 1.13.2) lib/mix/tasks/compile.all.ex:72: Mix.Tasks.Compile.All.compile/4
    (mix 1.13.2) lib/mix/tasks/compile.all.ex:59: Mix.Tasks.Compile.All.with_logger_app/2
    (mix 1.13.2) lib/mix/tasks/compile.all.ex:36: Mix.Tasks.Compile.All.run/1
    (mix 1.13.2) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.13.2) lib/mix/tasks/compile.ex:131: Mix.Tasks.Compile.run/1

Running the first 4 suggestions (mix deps.compile phoenix_live_dashboard, mix deps.compile phoenix_live_dashboard ,  mix deps.update phoenix_live_dashboard and mix deps.clean phoenix_live_dashboard) I got this error:
** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file

Ah, you also need to update rebar: mix local.rebar should address it!

That solved it thank you!
My intention by adding this here as an issue instead of just asking for help on "elixirforum' was to potentially add an * in the instructions to highlight the need to update old installed versions of Hex and Rebar if old installations exist. Making this obvious so that nobody needs to google for a solution :)
Thank you very much!

Yes, I think reporting the issue was a good call. I would prefer to keep the instructions "lean" for now, hoping your case is not very common. But if it continues to happen, then we will update the website, thank you!


"error": "Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn"

Rasa NLU version (e.g. 0.7.3):
Used backend / pipeline (mitie, spacy_sklearn, ...):  spacy-sklearn
Operating system :  windows 10
Issue:  Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn
Content of configuration file (if used & relevant):

Did you make sure to install all dependencies?

Getting this error

I had the same issue[please install sklearn], but mine got fixed when I installed scipy and scikit-learn whilst running pip install rasa_nlu[spacy]... scipy was one dependency that may have been missed.

@sharukh2308 Hi I Am having the same issue, can you please provide the exact commands.
Thanks!!

pip install rasa_nlu[spacy] should work fine for this, if that's the pipeline you're using

i run the following commands
Commands                                                                                Status
pip install rasa_nlu                                                                      ok
git clone https://github.com/RasaHQ/rasa_nlu.git                     ok
cd rasa_nlu
pip install -r requirements.txt                                                      ok
pip install -e .                                                                               ok
pip install rasa_nlu[spacy]                                                           Ok
pip install -r alt_requirements/requirements_full.txt                  Error

Too much going on in this one issue to really help troubleshoot.
The errors seems to be focused around MITIE, but MITIE support has been removed. Can you try a fresh clone into a fresh environment and see if the error persists?

Steps i did to setup spacy and crf, when i knew sudo pip install rasa_nlu[spacy] didn't work for me, and i wanted the latest version anyway. P.S. I am trying to have GCS storage option:
1. Create & upload
- upload ~/config.json,~/credentials.json (Service account credentials), ~/demo-data.json
2. Install dependencies
1. sudo apt-get install python-pip
2. sudo apt-get install libfreetype6-dev libpng12-dev
3. sudo apt-get install python-dev
4. sudo pip install sklearn-crfsuite scikit-learn scipy
3. pull rasa_nlu
- git clone https://github.com/RasaHQ/rasa_nlu.git
- cd rasa_nlu
- sudo pip install -r requirements.txt
- sudo pip install -e .
4. Install spacy
- sudo pip install spacy
- sudo python -m spacy download en_core_web_md
- sudo python -m spacy link en_core_web_md en
5. Set GOOGLE_APPLICATION_CREDENTIALS
- export GOOGLE_APPLICATION_CREDENTIALS=~/credentials.json
6. Install Google Cloud Storage:
- sudo pip install google-cloud-storage
7. Run initial training of model:
- python -m rasa_nlu.train -c ~/config.json

@gauravjain024 were you able to get everything running?


Feature request: show detail progress on building a stack from docker-compose.

Currently only some status message is shown, output of the docker-compose should be possible to show on the web UI.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Please provide step by step process to prepare solution/project for AD Authorization

Please add references to all nuget packages and code changes required to onboard a solution to AD.

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

ID: 3f20598f-7093-dc72-a96d-858547b176e1
Version Independent ID: b4433406-2a42-72ec-7d6b-2b20f9b14ce9
Content: Quickstart: Call an ASP.NET web API that is protected by Microsoft identity platform - Microsoft identity platform
Content Source: articles/active-directory/develop/quickstart-v2-dotnet-native-aspnet.md
Service: active-directory
Sub-service: develop
GitHub Login: @jmprieur
Microsoft Alias: jmprieur

@yoghcl
Thanks for your feedback! We will investigate and update as appropriate.

Hi @yoghcl, thanks for the issue. A quickstart like this one is intended to provide a quick demonstration and high-level overview of a concept rather than a full walk-through. We then have tutorials that are more in-depth and walk you through building an application, which is what it seems you're requesting here:

Please add references to all nuget packages and code changes required to onboard a solution to AD.

For example, the ASP.NET web app tutorial includes the NuGet packages required and code required for integrating Azure AD-based IAM to an ASP.NET web app and calling Microsoft Graph.
We don't currently have a full tutorial for a .NET desktop app calling an ASP.NET web API. Are you interested specifically in adding authentication and authorization to a .NET desktop app (WPF) calling an ASP.NET web API? And is .NET Core acceptable?
Would like to get some of these specifics so we know what customers like you are needing.

#reassign:mmacy

@yoghcl Closing issue due to inactivity. If you do get a chance to provide the requested info in the future, please @ mention mmacy in your response in this issue or open a new one so that we're notified. Thanks. #please-close


Using copyFiles with a directory results in new zip file being uploaded even if the zip file contents haven't changed

I am using copyFiles with my function to copy the Prisma client into my functions' code packages:
  copyFiles: [
    { from: "node_modules/.prisma", to: "node_modules/.prisma" },
    {
      from: "node_modules/@prisma/client",
      to: "node_modules/@prisma/client",
    },
    {
      from: "node_modules/tracing.dist.js",
      to: "node_modules/tracing.dist.js",
    },
  ],

I noticed that a new version of my function gets uploaded to s3 even if the function's code or any of the copied files have not changed.
Using sst diff shows that hash of the zip seems to be changing, even though the zip file contents are exactly the same (same number of files, all the files are the exact same between the two zips).
This only seems to be happening when copying entire directories, and it is easier to produce with a directory that has a larger number of files or sub directories.
Inspecting the zip files with unzip -l, it is evident that the only difference is the ordering of the files within the zip file. If the ordering stays the same, the hash is the same.
There are a few outstanding issues in the archiverjs repository about this issue, with no solution as of yet:
https://github.com/archiverjs/node-archiver/issues/383

Interesting


Develop advanced threading capability for v02

Just an idea.

To do this might require a custom threading implementation where we manually manage the worker threads.

It might. But a deeper look has, I think, convinced me that this is
unnecessary.
On Mon, Aug 17, 2020 at 9:55 AM Ryan Grout<EMAIL_ADDRESS>wrote:

To do this might require a custom threading implementation where we
manually manage the worker threads.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/t-route/issues/98#issuecomment-674930241,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMW7MUHKHERWKEOXHAFIIK3SBFAEHANCNFSM4P4W7LCA
.

--
James Halgren
NOAA National Water Center
205-347-1453
NOAA Affiliate, Lynker http://lynker.com

Renaming. Making the stated issue a sub issue.

Ideas (not necessarily mutually exclusive)

Retain one process for short networks so they don't bottleneck. (But I think sorted execution takes care of this.)
Make a supergraph of subnetworks and assign subnetworks to a thread. The compute network call could call a no-gil compute_subnetwork kernel, which would dispatch the reaches
Flag all reaches with a calculation order that designates which thread echelon they can execute. Loop over those thread echelons in nogil.

Triaged today--still relevant.
The un-used (and probably broken) function here could be a starting point:
https://github.com/NOAA-OWP/t-route/blob/7a923182987515eeaf3a0e14baf5a678c54807a0/src/python_routing_v02/fast_reach/mc_reach.pyx#L409

Triaged today--still relevant.
The un-used (and probably broken) function here could be a starting point:
https://github.com/NOAA-OWP/t-route/blob/7a923182987515eeaf3a0e14baf5a678c54807a0/src/python_routing_v02/fast_reach/mc_reach.pyx#L409


collect unmatched tokens

Hello Kaspar,
One thing that might be nice is the ability to collect the extraneous tokens, so that if user enters 100nF 0603 50V Kemet, the Kemet token could be used for full text search.
This is a pretty hack-y way to do it, and it breaks the return behavior of {} for no match.  I've not used Nearly before, so believe there is probably a better way to do this, but thought I would create PR just to get your thoughts.

Hi Steve, I was playing around with something similar quite a while back on the return-ignored branch. It did what you implemented but also checked if any input caused no change to the output. I believe it still fails on some edge cases.
There is a demo up as well. Should have opened a pull-request for visibility. The way you just add it as a prop on the return object is neater than what I did though.


Name Search NAME_ID param not working

When this page:
https://dev.col.plus/dataset/1010/name/156671
tries to fetch usages from:
https://api-dev.col.plus/dataset/1010/name/search&NAME_ID=156671
the response is
{ "code": 404, "message": "No such Name: datasetKey=1010, id=search&NAME_ID=156671" }
even though this taxon https://api-dev.col.plus/dataset/1010/taxon/156671 uses that name

My bad, copy paste err in URL


cargo: Support ash 0.34 all the way up to ash 0.37

Using a ranged semver here allows us to publish non-breaking patch releases whenever bumping to a new - compatible! - ash release.  The upper bound serves to protect against breaking ash changes that may make this crate fail to compile, and is easy to bump whenever we've validated the next version to be compatible.
Note that the examples are updated to use the latest ash 0.37 and ash-window 0.10.0, containing breaking improvements around returning raw pointers to required extension string literals instead of CStr static borrows.

Changed to a range match for the crate for more versatility; see the updated PR description for more details.

I tried using this branch but got conflicts with the other libraries my project uses; ash-window, vk-sync-fork, etc.
gpu-allocator = { git = "https://github.com/Traverse-Research/gpu-allocator.git", branch = "ash-0.37" }

Cargo tree of interest:
├── ash v0.37.0+1.3.209
....
├── gpu-allocator v0.17.0 (https://github.com/Traverse-Research/gpu-allocator.git?branch=ash-0.37#6362bc0b)
│   ├── ash v0.35.2+1.2.203
│   ├── ....

I thought that because my code provides gpu-allocator with lots of ash types such as vk::MemoryRequirements and this new dependency range is in place that cargo would automatically pick the specific version my project used, but that doesn't seem to be the case. Instead cargo selects a 'good enough' version for gpu-allocator and expects me to work through the differences.
I guess this would be fine if the field names stayed the same and everything was basic types, but in these cases the ABI of the types themselves changed.
Any advice for downstream projects?

I guess this would be fine if the field names stayed the same and everything was basic types, but in these cases the ABI of the types themselves changed.

I don't think there's a case where types from different versions of the same crate are considered compatible by rustc, and all vk:: types have undoubtedly remained ABI compatible because they are utilized directly in Vulkan interop. This could only work if the semver trick is employed to make one crate-version defer to the types and symbols of the other crate-version.
This change, as the title implies, makes gpu-allocator support Ash from 0.34 all the way up to 0.37.  I can only assume you've previously been using gpu-allocator 0.16 which used ash 0.35. As such, when updating to this git branch of gpu-allocator, cargo sees the selected version is still in range and doesn't bother to change/update it.
In any case, when running cargo update (or the implicit cargo generate-lockfile when no Cargo.lock lockfile exists, ie. a fresh clone of a project) it'll select the latest available version for that range. That will resolve this issue in your case (or it can be fixed manually through cargo update -p ash:0.35.2 iirc), but also means that combining crates with different max for ash will always result in duplicate (type-mismatching) dependencies on cargo update or a fresh clone.

All in all I'm not sure if this range is the right approach. On the one hand it allows the latest version of gpu-allocator to be used with a broader range of ash releases; on the other users have to be careful to manage and maintain their dependencies (checking in Cargo.lock solves nothing for released crates).
At the same time we'll be drastically reducing the frequency of breaking releases for ash, saving up breaking features for much larger releases instead of (accidentally, in this case) release a lot of breaking-version-bumps in quick succession (for relatively minor breakage/improvement).

@MarijnS95 Thank you - I simply forgot to cargo update which did indeed fix my tree.


Add more testing of label features to in.txt

list label
set label
save with comment
start - check that comment is displayed as expected  (not implemented in release 0.5?)

Changes were included in branch 69.  Closing.


Framework/Gradio: Update to gradio 5 and gradio-client 1.4

About
Update to Gradio 5.
Details
Bundles two Dependabot PRs.

GH-662
GH-663

Problem
ModuleNotFoundError: No module named 'multipart'

https://github.com/crate/cratedb-examples/actions/runs/11502187150/job/32016568472?pr=693#step:6:254

Possible Cause

https://github.com/gradio-app/gradio/issues/9774#issuecomment-2425351680

Solution?
Downgrade to python-multipart 0.0.12.

Problem
Now, it looks like test invocation is freezing, e.g. at run #11502539925.
Possible Reference

https://github.com/gradio-app/gradio/issues/9832


Linker error when running/compiling code on OSX

Bug Report

Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _*Crystal::Iconv#convert<Pointer(Pointer(UInt8)), Pointer(UInt64), Pointer(Pointer(UInt8)), Pointer(UInt64)>:UInt64 in C-rystal5858I-conv.o
  "_iconv_close", referenced from:
      _*Crystal::Iconv#close:Nil in C-rystal5858I-conv.o
  "_iconv_open", referenced from:
      _*Crystal::Iconv#initialize<String, String, (Symbol | Nil)>:Nil in C-rystal5858I-conv.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o /Users/willlane/.cache/crystal/crystal-run-main.tmp  -rdynamic -L/usr/local/lib -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread /usr/local/Cellar/crystal/1.0.0/src/ext/libcrystal.a -L/usr/local/Cellar/libevent/2.1.12/lib -levent -liconv -ldl`

The error message states that you're missing libiconv. It's a required dependency of the standard library.
How did you install Crystal?

@straight-shoota  I installed crystal through homebrew

You can probably install the missing library with brew install libiconv.
I would have assumed that it is already a dependency in the brew formula, but apparently it isn't.

Hmm I made sure it is installed and its still throwing the same errors

Can we see your brew info libiconv?

libiconv: stable 1.16 (bottled) [keg-only]
Conversion library
https://www.gnu.org/software/libiconv/
/usr/local/Cellar/libiconv/1.16 (31 files, 2.5MB)
  Poured from bottle on 2021-04-23 at 09:29:10
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/libiconv.rb
License: GPL-3.0
==> Caveats
libiconv is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have libiconv first in your PATH, run:
  echo 'set -g fish_user_paths "/usr/local/opt/libiconv/bin" $fish_user_paths' >> ~/.config/fish/config.fish

For compilers to find libiconv you may need to set:
  set -gx LDFLAGS "-L/usr/local/opt/libiconv/lib"
  set -gx CPPFLAGS "-I/usr/local/opt/libiconv/include"

==> Analytics
install: 4,188 (30 days), 13,431 (90 days), 61,801 (365 days)
install-on-request: 2,767 (30 days), 8,912 (90 days), 39,493 (365 days)
build-error: 0 (30 days)

@willdoescode is this a M1 mac? I had someone install from homebrew the other day and it never installed libevent. I'm wondering if there's an issue around that..

I am on an intel mac

Well, there goes my theory 😆

Note that I have a mac and I don't have libiconv installed through Homebrew and it still works. I don't know how to figure out where is my libiconv, but... is this a really old Mac?

This is a 2020 macbook right before the m1 came out.

Can you try one of the suggestions given by homebrew in https://github.com/crystal-lang/crystal/issues/10653#issuecomment-825787400
The reason it's not working is that you have libiconv, but it's not in the PATH. Doing the first thing suggested there should make it work.

Oh, actually, maybe not... maybe that first thing is for executables. I don't know 🤷

I tried it after making sure the first libiconv in my path is the one from homebrew and I still got the same error, im guessing its not an issue with the absence of libiconv but the version.

It's actually weird that the symbols start with an underscore. They shouldn't.
The names should be iconv, iconv_close and iconv_open: https://github.com/crystal-lang/crystal/blob/master/src/lib_c/x86_64-darwin/c/iconv.cr

I reinstalled the apple developer tools and I had the same error, I also tried reinstalling with homebrew and I got the same error still.

It's actually weird that the symbols start with an underscore

Leading underscores are always shown on missing symbols.

Seems you have multiple versions of iconv installed. Mac OSX comes with version installed under /usr/lib, you installed one via HomeBrew and XCode also comes with bundled iconv installed under /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSXNN.N.sdk/usr/lib/ where NN.N represents the version of XCode installed on your box.
Library search path is finding the GNU libiconv whose function names starts with libiconv_, while Crystal output shows its expecting the function names without this prefix and default library that comes with Mac OSX is the right one. This could be due to compiler finding the header files (.h) files of one versio while library search path is finding another version first (so the conflict).
You can try something like:

Remove HomeBrew installed version
Remove or move to different location some other versions (if installed)

HIH.

This could be due to compiler finding the header files (.h) files of one versio

The compiler doesn't care about header files. The function bindings are defined in https://github.com/crystal-lang/crystal/blob/master/src/lib_c/aarch64-darwin/c/iconv.cr
But yeah, they expect the symbol names without libiconv_ prefix.

Can we also see your env and crystal env?

Seems you have multiple versions of iconv installed. Mac OSX comes with version installed under /usr/lib, you installed one via HomeBrew and XCode also comes with bundled iconv installed under /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSXNN.N.sdk/usr/lib/ where NN.N represents the version of XCode installed on your box.
Library search path is finding the GNU libiconv whose function names starts with libiconv_, while Crystal output shows its expecting the function names without this prefix and default library that comes with Mac OSX is the right one. This could be due to compiler finding the header files (.h) files of one versio while library search path is finding another version first (so the conflict).
You can try something like:

Remove HomeBrew installed version
Remove or move to different location some other versions (if installed)

HIH.

I tried to do these things and I still get the same error

Your PATH  looks a little weird, lots of things in there, lots of duplication too. But then I doubt it's really that, might be worth anyhow to try running with a minimal PATH.

I fixed this by adding "-L/usr/lib" to the link flags, im still not sure what changed as crystal used to work fine.

I know this is not just an issue with crystal as I was having the same issue with haskells ghc so Ill close this issue now.

In case you run conda, a python package manager, you can try conda deactivate, to hide its iconv from the linker.


Move examples, fix case normalization

Closes #48

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

@jdegoes

@TobiasPfeifer

@asakaev Thank you! Nice work.
It would be great if you could do a followup example that adds more details to the git example and makes it more realistic. Currently the examples are a bit toy and do not show users how to utilize the full range of ZIO CLI features.


New page: SDash tutorial

@HannahSonntag has prepared a tutorial for interacting with SDash. This is supposed to go in a new page on the website, with a link to it on the About page (or as a new primary navigation link?).

The draft for the tutorial is found in Teams:
SourceData general in files> General > SDash > SDash beta testing > SDash_quick_tutorial_draft

Should be completed.


Controllers non-deterministically not being covered

I'm running simplecov with rspec 3.4, padrino 0.13.0 under ruby 2.2.3 and fakefs (in case this could be relevant).
I've been observing for a while now (also under rspec 3.2 and 3.3, and padrino 0.12.5) that some controller specs won't cover the corresponding controllers. They specs themselves are being run, however it's up to chance if the corresponding code is considered covered or not.
What is odd is that the issue appears only in the controllers (31 specs out of over 1400 specs in the code base). How can I debug the issue to pin down the cause of the issue?

I'm seeing something similar after switching our app from selenium to poltergeist (with simplecov 0.12.0). Before the switch, we'd get consistent coverage results. After, the coverage would change run to run by ~5%. However, I see the issue appearing in controller, model and lib specs.

This um... is weird and sorry for the long silence :see_no_evil:
Is this still something you're seeing right now or might you even have a sample repo to reproduce this?


Changing Default Download Dir?

Windows 10E
Running Aria2 Web from IIS root
Aria2 running from Root c:\ as windows service with SYSTEM permissions
I'm new to Aria, so please excuse me.
When I try to change the default global download Dir, it will change until I RESTART the Aria2 service then it will default back to C:\aria2... Not sure if this is a problem with the WebUI or the actual daemon....or I might just be a noob.
Thanks!

You mean the global dir will become default AFTER restarting the service?
Don't mind too much, this should be a designed feature of Aria. It must read config file on startup and in the config file usually sets dir.
Delete or comment out that line with #, or change that to your option if you are not expecting saving in session.


Add TwicketSegmentedControl by @twicketapp to Switch section

Project URL

https://github.com/twicketapp/TwicketSegmentedControl
Description

Add TwicketSegmentedControl by @twicketapp to Switch section
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 8 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Thanks again, @nschucky 🎉


Synced slider with all slides shown does not advance "current"

EDIT: JSFiddle here
First of all, let me say - I love Slick.  It's amazing.  On behalf of developers the world over, a big thank you to @kenwheeler.
However, I came across a problem in using it in one of the prescribed ways -- leave it to me to find the one use case where some otherwise great thing doesn't work.  I'm utilizing the asNavFor setting between two sliders - one as a single (show/scroll 1) and one as an index (text-only).  There are 4 slides total.
The intent is for the index to remain static with the exception of highlighting the current slide.  However! It works appropriately except when all slides are shown in the nav.  When all slides are set to be shown, clicking the nav advances the slider, but when the slider moves, the nav's "slick-current" class toggle is not triggered.  To be clear, it does work just fine when slidesToShow for the nav is set to anything below 4, and also correctly changes both sliders when the nav is clicked.
$('.slider').slick({
    slidesToShow: 1,
    prevArrow: '
←
',
    nextArrow: '
→
',
    slide: '.featured-slide',
    asNavFor: '.slider-nav',
    fade: true,
    autoplay: true,
});

$('.slider-nav').slick({
    slidesToShow: 4,
    prevArrow: '
←
',
    nextArrow: '
→
',
    slide: '.slide-link',
    asNavFor: '.slider',
    arrows: false,
    focusOnSelect: true
});

Can you create a JSfiddle demonstrating the two cases, please? :)

Happens to me as well. You can check here: http://bronx.fuelthemes.net/shop/dresses/easy-love-dress/

The example @anteksiler posted is a great live example of what I'm facing.  I have mine on local and password-protected on staging, so the dumbed-down fiddle will have to do.
https://jsfiddle.net/b3kzaod9/

@simeydotme Hi there, is my demo url enough to show the issue? I can create a js fiddle, but it's basically the same result. Navigating by the main image does not update the thumbnails if all available thumbnails are shown.

@kenwheeler Hi Ken, have you had a time to look at this?

Same thing here. Even if all thumbnails are not shown while infinite is disabled, "current" does not sync.
Sync "current" only happens when 1) 'infinite' is true and 2) 'slidesToShow' is less than the slide items.

If you comment out these lines, you get a partial fix:
https://github.com/kenwheeler/slick/blob/master/slick/slick.js#L2101-L2103

After reviewing the JSFiddle, there is a very simple fix that can be applied using the existing API. https://jsfiddle.net/b3kzaod9/3/

Hi @kenwheeler and thanks for looking into this.
However, if you click on the navigation arrows twice or very fast, the class change fails to keep up.

Typo in the added function made it only follow on auto-progress but not click.  slider-2 on the last JS function should read slider-1.  Thanks for this.

I've forked and fixed @kenwheeler's JSFiddle fix and

Following up the comment of kenwheeler. Does this mean this bug can't be fixed right now?
I did not look into the work of entozoon.
Out of a users point this problem or the course of this problem is really hard to find. I accidently stumbled over this issue.
Also I do not like the solution you posted because I use angular.

@kenwheeler  thnx for the fiddle . I needed the same. nice slider cheers...!!!

Should be fixed by https://github.com/kenwheeler/slick/pull/2040 :smile:
Please try your use-cases on master code.

@simeydotme, nice, but what about slick.min.js ? :smile:
Long thought why does not work, ah! Changes is only in slick.js :confused:

@simeydotme : thank you VERY much for this!

Can some one tell me how to make the horizontal thumbnail to vertical thumbnail in Slider Syncing

Add this code, will work perfectly
$('.slick').on('beforeChange', function(event,slick,slide,nextSlide) {
$('.slider-nav-thumbnails').find('.slick-slide').removeClass('slick-current').eq(nextSlide).addClass('slick-current');
});

Thank you guys, this was a great thread.  I had this exact same problem.


Check for: IDs Instead of Names

There is no good reason to use an ID as SourceTable or in variables, parameters instead of the Names.

Would you mind to test this rule? 😎
Otherwise I would close this issue in a few days

The rule seems to trigger on every property with a number in it. This includes:

Descriptions
Tooltips
Captions
DecimalPlace
Width

I've tested it and it works for me! :) thanks!

The rule seems to trigger on every property with a number in it. This includes:

Descriptions
Tooltips
Captions
DecimalPlace
Width

Could you take a screenshot? My Tests are not doing this.

I think I fixed it meanwhile 😜
Sorry I forgot to mention.
Anyways. there are still issues:

numbers in object name should not trigger this warning
direct id usage in like codeunit.Run(1) should trigger this warning

Numbers in Object Names should not trigger the warning anymore.
direct usage of codeunit.Run(1) should be a separate rule I think

Codeunit Permissions falsely trigger warnings

Good catch, will look into this later 👍

Should be fixed with version 0.7


custom options showing the label instead of product images.

Extension is working fine. Thanks for that. But in the admin configuration easylife swticher ->Transformation settings-> if we selected 'simple product images', the simple product images is not showing in the frontend instead of it showing the options label.
Please help us to solve the issue.

@sathishraj319 When you select to use simple product images you need to select an image attribute to use: image, small_image, thumbnail. Make sure the simple products have one of these attributes set. If the simple products have these attributes set to no_selection there are no images to show and they will fall back to labels.

i checked the image attribute. i have selected image,small image and thumbnail. still labels is showing.
in product.js.. i console the images variable, the object is not getting.. any solution.

and also in media folder 40*40 images not creating..

do you have a link to your website?

http://s292480579.websitehome.co.uk/

For some reason the images section in the config is empty.
You can check this by putting this in your browser console: spConfig.config.images. It returns an empty array ([]). I tested on this product http://s292480579.websitehome.co.uk/kudos-plain-table-linen-tablecloth-132-178cm-52-70.html.
The images are retrieved in the method Easylife_Switcher_Block_Catalog_Product_View_Type_Configurable_Config::getImages().
You can start debugging from there to see why you get an empty array. I cannot reproduce this issue. It works nicely on my side.

it is not creating a 40*40 folder under media/catalog/product/cache/1/image. It there any problem..

Ran into similar problem. Maybe https://github.com/tzyganu/Switcher/pull/113 can resolve this.

@mat-b- I identified the problem. There is a difference in how the simple products are retrieved in 1.9.1 and the rest of the versions.
See the difference here:
for 1.9.1: https://github.com/OpenMage/magento-mirror/blob/magento-1.9/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php#L344
for 1.8: https://github.com/OpenMage/magento-mirror/blob/magento-1.8/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php#L337
It seams that ->addAttributeToSelect('*') was removed. I will see how I can overcome it and come back with a solution soon.

@mat-b- I just released a new version. this should be fixed now. If the problem still reproduces please write a comment here and I will reopen it.

Thank you!


readme.md file

Description
I have added About , Opensource program with image and do some changes
Fixed #21
Type of change
Please check options that are relevant to your PR.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist:

[ ] I have pulled the latest changes in the repository
[ ] I have squashed my commits
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

@kumarishalini6 I merged a pull request which lead to conflicts. Please resolve the conflicts.

@kumarishalini6 I merged a pull request which lead to conflicts. Please resolve the conflicts.

done


Add --kifu flag

I should add a flag for generating kifu. When using --kifu:

--move-numbers will be enabled
--node will default to last
Captured stones will still be displayed on the board.
Annotations will be added to the bottom showing repeated stones

Each repeated mode will get its own entry referencing the first stone played.

See issues #6 and #9 for more context.

With v2.3.0 we've got --kifu.
@tdnetdog - I think this should address your issues raised in #6!

exactly, thanks


HomeBrew Openssl wrong version

brew config output
HOMEBREW_VERSION: 3.0.2
ORIGIN: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
HEAD: b712bcc01e8fdaae25d6f232f51637bf00db307f
Last commit: 6 days ago
Core tap ORIGIN: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
Core tap HEAD: a3a254676e2d976525d4fddf23b1f051c5d0e4b5
Core tap last commit: 4 hours ago
Core tap branch: HEAD
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
http_proxy: http://<IP_ADDRESS>:1087
https_proxy: http://<IP_ADDRESS>:1087
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit broadwell
Clang: 12.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.1-x86_64
CLT: N/A
Xcode: 12.3
brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Suspicious https://github.com/Homebrew/brew git origin remote found.
The current git origin is:
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/usr/local/Homebrew" remote set-url origin https://github.com/Homebrew/brew
Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
The current git origin is:
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
/opt/anaconda3/bin/icu-config
/opt/anaconda3/bin/krb5-config
/opt/anaconda3/bin/freetype-config
/opt/anaconda3/bin/xslt-config
/opt/anaconda3/bin/libpng16-config
/opt/anaconda3/bin/libpng-config
/opt/anaconda3/bin/xml2-config
/opt/anaconda3/bin/python3-config
/opt/anaconda3/bin/curl-config
/opt/anaconda3/bin/ncursesw6-config
/opt/anaconda3/bin/pcre-config
/opt/anaconda3/bin/python3.8-config
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libtcl8.6.dylib
/usr/local/lib/libtk8.6.dylib
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/fakemysql.h
/usr/local/include/fakepq.h
/usr/local/include/fakesql.h
/usr/local/include/itcl.h
/usr/local/include/itcl2TclOO.h
/usr/local/include/itclDecls.h
/usr/local/include/itclInt.h
/usr/local/include/itclIntDecls.h
/usr/local/include/itclMigrate2TclCore.h
/usr/local/include/itclTclIntStubsFcn.h
/usr/local/include/mysqlStubs.h
/usr/local/include/odbcStubs.h
/usr/local/include/pqStubs.h
/usr/local/include/tcl.h
/usr/local/include/tclDecls.h
/usr/local/include/tclOO.h
/usr/local/include/tclOODecls.h
/usr/local/include/tclPlatDecls.h
/usr/local/include/tclThread.h
/usr/local/include/tclTomMath.h
/usr/local/include/tclTomMathDecls.h
/usr/local/include/tdbc.h
/usr/local/include/tdbcDecls.h
/usr/local/include/tdbcInt.h
/usr/local/include/tk.h
/usr/local/include/tkDecls.h
/usr/local/include/tkPlatDecls.h
Warning: Unbrewed '.pc' files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected '.pc' files:
/usr/local/lib/pkgconfig/tcl.pc
/usr/local/lib/pkgconfig/tk.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libtclstub8.6.a
/usr/local/lib/libtkstub8.6.a
Warning: You have uncommitted modifications to Homebrew/homebrew-core.
If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash && git clean -d -f
Uncommitted files:
UU Formula/git.rb
Warning: Some taps are not on the default git origin branch and may not receive
updates. If this is a surprise to you, check out the default branch with:
git -C $(brew --repo homebrew/core) checkout master
Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
Warning: Your Xcode (12.3) is outdated.
Please update to Xcode 12.4 (or delete it).
Xcode can be updated from the App Store.
Warning: Broken symlinks were found. Remove them with brew cleanup:
/usr/local/bin/md2html
/usr/local/bin/sfsymbols
/usr/local/lib/node_modules/markdown-html-cli
/usr/local/share/zsh/site-functions/_brew_cask

[X] The brew doctor above contains no "Warning" lines.

What were you trying to do (and why)?
install openssl (for wget..)
What happened (include all command output)?
penguin@Penguins-MacBook-Pro ~ % brew install openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1j.big_su
#=#=#
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource<EMAIL_ADDRESS>Download failed: https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1j.big_sur.bottle.tar.gz
What did you expect to happen?
installed
Step-by-step reproduction instructions (by running brew commands)
brew install openssl
Same:
brew upgrade<EMAIL_ADDRESS>

running on MacBook Pro Early 2015, 13-inch, Big Sur 11.1

Duplicate of #10739.


Add more deserializers for disaggregation protocol

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/6827
Problem Summary:
What is changed and how it works?

[x] Based on https://github.com/pingcap/tiflash/pull/7021
[x] Use deserializers to rebuild the Segment snapshot
[x] Merge after https://github.com/pingcap/tiflash/pull/6986

Check List
Tests

[x] Manual test (add detailed scripts or steps below): WIP

We expect disaggregated read should be working, but it is not. WIP on investigating reasons.
Release note

None

/merge

working on fix the broken ut

/merge

/run-integration-test


Add reference to text/template Go package doc

…since people might not be familiar with Go templates.

I originally created the commit in GitHub’s web interface, hence it didn’t use my google.com email address. I’ve fixed this now. Let’s see if this works: @googlebot, I signed it

Also added my google.com email to GitHub. @googlebot, I signed it.

Further below in the doc (https://github.com/kubernetes/helm/blob/master/docs/charts.md#references), there’s actually already a reference to that page. Should I change my PR to refer to the references section?

Thanks! This all looks fine. No need to change the PR for that.


alter-table statements during incremental run leads to potential errors on Snowflake

Describe the bug
For incremental models, DBT generates the following:
alter table <table> add column <col>__dbt_alter character varying(17);

update <table> set <col>__dbt_alter = <col>;

alter table <table> drop column <col> cascade;

to accommodate expanding characters in existing columns. This is necessary for Redshift, but Snowflake this is not necessary, as the string data type automatically adjusts depending on the data in the table.
In some sense, this could even be thought of as a bug, as this series of commands will fail if the dropped column is part of the cluster key in the table, leading to a failed run.
Steps To Reproduce
This is baked into an incremental run of DBT.
System information

[x] snowflake

The output of dbt --version:
installed version: 0.14.0
   latest version: 0.14.0

Thanks for the report @githoov - we'll check it out

fixed in #1690
Note: column expansion is still necessary on Snowflake, but we can leverage a statement like:
alter table {{ relation }} alter {{ column_name }} set data type {{ new_column_type }};

This has the benefit of being atomic, simple, and presumably a lot faster than the existing approach:
    alter table {{ relation }} add column {{ tmp_column }} {{ new_column_type }};
    update {{ relation }} set {{ tmp_column }} = {{ column_name }};
    alter table {{ relation }} drop column {{ column_name }} cascade;
    alter table {{ relation }} rename column {{ tmp_column }} to {{ column_name }}

This should also work around the problem noted in this issue: a column in a clustering key cannot be dropped, but it can have its type changed from eg. varchar(12) to varchar(36).


VerticalScrollbar not moving with sticky header in LazyColumn

Describe the bug
When I have a sticky header added to a LazyColumn and try to scroll through it with a VerticalScrollbar, the scrollbar flickers and doesn't move as expected. This issue started happening only when I updated Compose from 1.3.1 to 1.4.0-rc03. It was working fine on Compose 1.3.1.
Affected platforms

Desktop

Versions

Kotlin version*: 1.7.20
Compose Multiplatform version*: 1.4.0-rc03
OS version(s)* (required for Desktop and iOS issues): macOS Ventura 13.1
OS architecture (x86 or arm64): arm64
JDK (for desktop issues): 11

To Reproduce
Add a sticky header to a LazyColumn with a VerticalScrollbar.
val lazyListState = rememberLazyListState()

Box {
    LazyColumn(
        modifier = Modifier.fillMaxSize(),
        state = lazyListState
    ) {
        stickyHeader {
            TableHeader()
            TableDivider(tableWidth)
        }
        itemsIndexed(items) { index, item ->
            TableRow(index, item)
            TableDivider(tableWidth)
        }
    }
    VerticalScrollbar(
        modifier = Modifier.fillMaxHeight().padding(top = 81.dp),
        adapter = rememberScrollbarAdapter(
            scrollState = lazyListState
        )
    )
}

Expected behavior
It should still scroll smoothly when a sticky header is added.
Screenshot

Additional context
The issue doesn't occur if no sticky header is added.

duplicated #2940

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.