Dev

Current coverage is 89.55% (diff: 100%)

Merging #116 into master will not change coverage

@@             master       #116   diff @@
==========================================
  Files             8          8
  Lines           201        201
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            180        180
  Misses           21         21
  Partials          0          0

Powered by Codecov. Last update 46ddeba...408dfa4


YUI Compressor keyword error

This commit should fix #1242 in which YUI Compressor throws an error for naming a variable char.

@rice2007 ,
Thx!!


Meteor integration

Hi Antoine,
I'm a Meteor.js dev and volunteer package maintainer for Meteor. PruneCluster is a great efficient library, and adding it to Meteor's ecosystem will expose it to many new devs (Meteor has 20k+ stars on GitHub), likely bringing in new testers and contributors. It will also grab more attention from the users of the alternative library: markercluster
This PR will let you directly publish updated versions of the library as they become available. All you have to do is create an account at https://meteor.com/ (click SIGN IN, then Create account). After you've done that, please let me know the name of the account, and I'll add you as a maintainer.
I've already published the current version of the package on Atmosphere (Meteor's package directory).  When you release new versions, you can publish them to Atmosphere with grunt meteor.
Thanks & best regards,
Pawel

+1

Hi,
I never used Meteor so I don't think I can maintain an integration but if I understand correctly Atmosphere is an alternative to Bower or NPM.
I created a Meteor account : sintef9012
Also, thank you for the pull-request and the already published version.

I can help testing Meteor integration every now and then and ping @mordka if something breaks.

Great :-)

Awesome! :+1:
@yellowiscool, I've added you to meteor organisation prunecluster. From now on, you can publish new versions to Metor's NPM - Atmosphere :)
@simison, Thanks for support, testing is crucial :) I'm already using the library, because I think it's better then the official one from Leaflet.


check probability of prediction to see whether we can reduce the number of posts to manually assign

Done @ apriml 20231017 folder
https://github.com/penelopeysm/apriml/tree/main/20231017_roc
Threshold probability of 0.015 is now implemented in the bot as well.


Demo inference wrong?

Don't see any positive information on a simple task?

Sorry for this confusion. It is caused by the OCR function in this demo, which is not used for normal inference with too many characters. Please close the OCR assistant here and try again

We try a similar case and get the results like this:

thanku,  may I ask why vision encoders all not tuned in these family?

Hi, there are two reasons:

We found optimizing vision encoders did bring a performance increase, but not significant enough.
Considering the extra cost brought by the optimization process and limited resources for large models, we decided not to optimize it.


Update NFR and Glossary of DG

Perhaps can explain "risk level" under glossary and relate it to mental health risk level determined by the counsellor etc

oh great idea zhetao! let me put that in 😄

Looks fantastic, Stephen! 🥇


URLComponents

Umbrella issue to track URLComponents.

Resolved in https://github.com/apple/swift-foundation/pull/586


core: local_storage -> hmdb

Notable Changes

Core is now stateful, clients need to call init() prior to using it
Config is no longer required for each call into core
Migrations are no longer something clients need to explicitly model
all test utils are moved to their own crate and are only a dev-dependency

fixes #869

Work tracking

[x] android
[ ] windows
[x] apple
[x] atomic document writes
[ ] restore logs
[x] core
[x] tests
[x] linux
[x] cli

Benchmarks
before.zip

Tested CLI
Debug build for commit https://github.com/lockbook/lockbook/pull/1053/commits/474cbded6c7c6658daeda507612564d857aaa279, on Manjaro 21.2.6, the following commands were tested against a local server setup:

[x] errors
[x] help
[x] new-account
[x] whoami
[x] new
[x] print
[x] edit
[x] list, list-all, list-docs, list-folders
[x] status
[x] sync
[x] rename
[x] move
[x] remove
[x] get-usage
[x] tree
[x] validate
[x] backup
[x] copy
[x] export-private-key
[x] import-private-key

Not tested:

[ ] export-drawing

Testing Linux
Debug build for https://github.com/lockbook/lockbook/pull/1053/commits/474cbded6c7c6658daeda507612564d857aaa279, Manjaro 21.2.6, performed the following against a local server setup:

[x] Created a new account
[x] Created a new document and folder
[x] Added content to that file
[x] Moved that file into the folder
[x] Renamed the file
[x] Deleted the file
[x] Created new file in new sub directory of original folder
[x] Searched files
[x] Exported account string
[x] Imported account

Auto syncing and auto saving the whole time. Threw some manual saves and syncs in there. Usage status in side panel and usage data in settings both good.


Pre-filled Instance Details Not Accepted Upon Token Expiration

Current behavior
When attempting to log in to Launchpad after authentication token is expired, the pre-filled instance details on the login page are not being accepted and causing error.
Expected behavior

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

[ ] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

Behavior no longer recreated, will make new issue if this still happens


fix(types): route.view can be empty / nil

Description
NoiceRouteConfig.view can be empty / nil as the check in M.add() sets it to nil if the view doesn't exist.
---@param route NoiceRouteConfig
---@param pos? number
function M.add(route, pos)
  local ret = {
    filter = route.filter,
    opts = route.opts or {},
    view = route.view and View.get_view(route.view, route.opts) or nil,
  }
  if ret.view == nil then
    ret.opts.skip = true
  end

ty


Is that necessary to port CNNDroid to NDK version?

I test My model on CNNDroid, it expends about 900ms forwarding one times in parallel mode, while expending abount 40s one times in sequential mode. Although in parallel mode with RenderScript it speeds up a lot, it is still  too slow。　My goal is 400ms forwarding one times。　So, i want to use C++ to implement the CNNDroid Network part( replace current java code), Is it possible to speed up 2X(All i will do just replace Java Code, because i don't have any idea to optimize RenderScript or it is too perfect )?

Hi,
First of all, how large is your model? If you sum up the size of your network weights, how many MBs it would be?
Actually, if you want to implement any part of the CNNdroid, it would be better to implement pooling layer and try to parallelize it in C++.
Network layer is just a high level interface that calls the initialization and computation functions of each layer in the network, so I don't think that you would get a significant performance gain by re-implementing it in C++.
You can contact me by email if you want to get more detailed information or ask any question that you have.


Primary LZ

Description

Maps and mechanics are designed around a primary LZ, which can be picked by Command within the first 25 minutes of a round, and then is forcefully set at 25 minutes to LZ1.
Queens can only interact with the Primary LZ computer to call dropships down. This doesn't prevent hijacking if the non-primary dropship lands anyway, which works fine with RMC since either dropship can go to either LZ already.
Reproduction

Screenshots

Additional context

Relevant Code:
colonialmarines.dm ln183: Sets LZ1 if active_lz is not yet set.
communications.dm ln320: Option in the CIC communications console to set the Primary LZ
groundside_operations.dm ln70, ln259: XO/CO console can also set it.
human.dm ln105: Marines are meant to know which LZ is the primary in their Status panel, but not sure where that'd fit in SS14 UI.
dropship_computer.dm ln181: External dropship consoles. Prevents calling down before first drop, and if not Primary LZ. 1/2 of the ported solutioned needed to remove LZ turrets as well, the other part being invisible weed blockers on a timer.
dropship_computer.dm ln353: These consoles are also present on the marine ship, and can be used to set autopilot and stuff. This line also includes the primary LZ in the console.
shuttle_console.dm ln236: The actual consoles inside each dropship. Technically can be placed outside of a dropship, but if it's not onboard a dropship and isn't the primary LZ, should also fail just like the proper LZ consoles (dropship_computer.dm). This isn't needed if there's no plans to reuse the dropship consoles outside of the dropships.

Implemented by #3177


gold-cc-cvc-input has incorrect image paths

The <gold-cc-cvc-input> element refers to two images internally (cvc_hint.png and cvc_hint_amex.png). The element loads those and displays them inline with its input box. As of v1.0.0-rc.2, the paths for those images are incorrect, resulting in 404s, and only an empty box is displayed with the control.

This (#64) worked already for a short time, but I also encountered this issue again recently.


ArchiSteamFarm: <IP_ADDRESS> -> <IP_ADDRESS>, switch to generic upstream variant to support Monitoring Plugin

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[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

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

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

[x] Fits CONTRIBUTING.md.

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

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

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

1 package built:

ArchiSteamFarm


Velocity.UI Server side rendering

Hi.
I'm going to use it on the server side.
But when i put a import 'velocity-animate/velocity.ui', i get a error message.
}((window.jQuery || window.Zepto || window), window, (window ? window.document : undefined));
	   ^

ReferenceError: window is not defined

And i put a import 'velocity-react/lib/velocity-animate-shim'
Same a massage.
What should i do?
Thank you anyway~!

You'll need to do your own window detection around a require for velocity.ui.


Wrong indentation in .razor files if there is a RenderFragment

This issue has been moved from a ticket on Developer Community.

For example, create this Asp.Net Blazor page:
@page "/"
@code
{
	void T()
	{
		S("first"
			+ "second"
			+ "third");
	}

string[] S(string s) =>
		s.Split(',')
		. Select(s => s.Trim())
		. ToArray();

RenderFragment R => @

;
}

When the file is formatted (Ctrl+K,Ctrl+D), some lines are shifted to the left. If you format it again, they are shifted to the right. If you format it again, they are shifted to the left...

Original Comments
Feedback Bot on 8/20/2023, 06:59 PM:
(private comment, text removed)

Original Solutions
(no solutions)

lol, it's true.

I can confirm that using variables and objects inside custom components in razor files without parentheses also breaks indentation.
@* OK within parentheses *@
<MudAlert>
  @(message)
</MudAlert>

@* Breaks formatting if @ without parentheses is the last element in component *@
<MudAlert>
  @message
  </MudAlert> @* Everything after this line is indented wrong *@

  <MudAlert>
    @message
  @* If @ is not the last element indentation returns to normal except this line. This one is indented like a close tag *@
</MudAlert>

@* All of rules above are valid for one line elements too *@
<EMAIL_ADDRESS>
  <MudAlert>
    @(message)
  </MudAlert>

@eMuonTau most of those issues you mentioned don't repro for me in 17.8.3, but perhaps I'm trying something different. Is all of that in a RenderFragment? This issue is about formatting problems specifically with RenderFragments so if you're getting other formatting issues, perhaps it would be good if you could log a new issue, with a fuller description of what is happening. I copied and pasted the code you wrote above into a project that references MudBlazor and except for the last MudAlert component, everything was fine.


Chartist Flowcharting and grafana

Hi everybody,
I'm writing a plugin for grafana and to display diagrams.
https://github.com/algenty/grafana-flowcharting
For the next version, i'll try to add graph with chartist in tooltip.
I don't understand why on first round (see capture) the aera is under the line and on the second round i have this black aera.

My code :

var chartDiv = document.createElement('div');
chartDiv.className = 'ct-chart ct-perfect-fourth';
var chart = new Chartist.Line(
  chartDiv,
  {
    series: [[10, 14, 12, 13, 10, 8, 10, 9, 14, 28]]
  },
  {
    low: 0,
    showArea: true,
    fullWidth: true,
    axisX: {
      showLabel: false,
    },
    axisY: {
      showLabel: false,
      lineSmooth: false,
    },
    lineSmooth: Chartist.Interpolation.simple({
      divisor: 2
    })
  }
);

i need to read doc
sorry, i close


Implement .xm, .mod and .s3m module support via IBXM

Seems to work fine and may close #36

I don't really want to add a massive amount of third-party code to this repo. Could you publish the ibxm/ files as a package to JCenter and add it as a dependency? Especially considering that a bunch of the IBXM classes do not seem to be related to audio at all.

done :+1:

Can you point me towards some example files to test with?

https://modarchive.org/ contains a lot of them

In bintray, apply for the package to be added to JCenter and then remove the bintray repository once they approve. The repository is not automatically inherited with packages.

Merged manually as an extension.


Suggested Vim plugins and macros for markdown editing

[ ] Suggested Vim plugins and macros for markdown editing

[ ] My personal list of plugins and macros and how I use them.
[ ] git commit macro
[ ] kill ending line whitespace macro
[ ] document word processor mode macro
[ ] instant markdown preview

[ ] discuss querks

won't fix. moving on


updating the olm config file with proper resources

Issue #, if available:
N/A
Description of changes:
Updating the OLM config file to include the current resources. Also generated the OpenShift bundle and put this in a cluster to make sure the controller started properly. See screen shot below.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Signed-off-by: Adam D. Cornett<EMAIL_ADDRESS>

/lgtm


Update 05-lipid-and-fatty-acid-extraction-protocol-from-biological-sa…

…mples.md
Changed layout (put 2nd half of SOP before reference)

PR https://github.com/NFDI4Microbiota/nfdi4microbiota-knowledge-base/pull/199 makes this redundant.


Output Fader only updates in one direction?

Hey. Firstly THANK YOU!!!! You are an absolute superstar for doing this, and making a lot of people very happy to get channel colours working on the X-Touch (& others) with Cubase - something we've wanted for years, and Behringer/Steinberg should have done long before now!
I may have gotten something wrong in my configuration (or accidently edited something somehow) / maybe it's intentional / or  maybe I have found a minor bug.
So thought I'd flag it - so you can correct (if possible/desired), or if it's actually intended behaviour maybe you could add a comment in the release notes to guide others.
cubase-mcu-midiremote: V1.9.0
Cubase Pro: V12.0.70.
X-Touch - Standard (No Extenders).
I switched the "mapMainFaderToControlRoom" flag to false in the .js file as directed in the release notes - I generally use the 'master' output rather than ControlRoom (which I really must learn to use!).
I noticed that all my channel faders behaved as expected, but my Master Output Fader (Fader-9 = "Main" on the X-Touch) DOES correctly control the mixer master channel. BUT, if I update the master channel volume using the mouse inside Cubase, the fader on the X-Touch does not move to reflect the change.
A bit of investigating, in the Remote Mapping Assistant, and I spotted the Output Fader is configured differently to the other faders - it is marked as Project instead of Global - and Value Mod also set to "Scaled" rather than "Jump."
Updated and saved these values and bingo, everything working perfectly - two-way-mirroring restored :o)
Cheers, Keep up the amazing work!!
Keith

Hi @kocomputer,
thanks so much for the kind words and for taking the time to report this! I just double-checked that the main fader is properly set up, so

accidently edited something somehow

might be the reason for this in your case.
Thanks again!


Need your guidance

Greetings!!!
I am a beginner, I am pleased to ask whether can we change scale of funniness score in this code. I have tried but I couldn't do that. So, can you please help me to change the scale of funniness score. Thanks in advance.

Dear Kayal,
microTC does not have any funniness score; perhaps you might get confused because we have used microTC on the HAHA Competition (https://www.fing.edu.uy/inco/grupos/pln/haha/).
Our developments (https://github.com/ingeotec/), microTC, b4msa, and EvoMSA, tackle the problem of text classification; microTC also addresses it as a regression problem.
This problem starts with a training set (see the doc of EvoMSA https://evomsa.readthedocs.io/en/latest/), it is on the training set where the score or the class is provided.
I hope this information helps you if you have any trouble, please do not hesitate to contact us again.
Best regards,
Mario

On Oct 3, 2019, at 23:51, kayal-sam<EMAIL_ADDRESS>wrote:
Greetings!!!
I am a beginner, I am pleased to ask whether can we change scale of funniness score in this code. I have tried but I couldn't do that. So, can you please help me to change the scale of funniness score. Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/INGEOTEC/microtc/issues/30?email_source=notifications&email_token=ACYCBJKP3JLXSCTFV2P7GQLQM3DU3A5CNFSM4I5LEH62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPSMLPQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ACYCBJKYZQK4576BG5YNVK3QM3DU3ANCNFSM4I5LEH6Q.


The setting 'openFilesInNewWindow' should be 'true'

VSCode Version: 1.3.1
OS Version: Windows 8.1

Steps to Reproduce:

Open one VS code instance with some tabs
Open file from OS (windows explorer)

Expected Result: File from explorer opens in last active window
Actual Result: New VSCode instance opens
Related issues: #3191
Comments: Agreed with @thewhitetulip. This breaks the expected UX flow, no other editor/IDE (I.E sublime) opens a new instance if one is already open. Using CLI arguments is an option, but opening a new instance should be a flag, not opening in the last active window.

@egamma

This flag already exists:
     "window.openFilesInNewWindow": false

@egamma The question here is, why isn't this the default behavior?

@thewhitetulip clarifying the issue title.
I don't have the full history on this setting, but I remember that there where some strong opinions that this setting should be true by default.
Assigning to @bpasero

@egamma Yes, it'll be a major time saver if we have this as default! I have to use TextWrangler just because I can't open things inside vscode from outside (the only way is to drag and drop files inside it)

@thewhitetulip not sure I understand the time saver argument. You change the user settings once and you have the behaviour you want.

There are probably millions of people using VSCode.
When everyone tries to right click and open a file in vscode, it opens in a new instance
They go to the Internet and change the setting manually, takes them few minutes to understand and make the change

What can be fixed in one minute, will take one million minutes for everyone to fix.
Isn't this a time saver?
Also isn't this the default behavior of literally every other text editor in existence?

From the git history I looks like the setting is as is since at least last November and people haven't complained, they might complain if the default is getting changed.
Need to waiting for the insights of @bpasero with regard to the default value of this setting.

@egamma I am sorry, there are two issues opened on this issue tracker related to the same thing. I do not think we can conclude that people haven't complained. :smile:

@thewhitetulip 😄, but my point was that changing the default value of a setting should not be done lightly, it needs to consider the history, impact on users that did not complain etc.

Well, to be honest, for any editor, if you open a new file from the file explorer, the default behaviour has to be to open in the existing window. I can't think of a single editor who doesn't do this!
Also I can't think of a single person who won't expect this, so the users who didn't complain may have never have to use this feature, I am sure they'll hate that this feature doesn't exist!

I agree with @egamma on making this decision with care and I also think we should not just change it without looking at how other editors behave. We can also not just look at Windows alone because on Mac you might have a well different behaviour. Also, this setting has a greater impact than just opening from the windows explorer, it has an impact on every place where files get opened including the command line. We might not even be able to distinguish how a file got opened (from the context menu of the windows explorer, via double click, via command line, etc).

@bpasero I appreciate what you're saying but the reality is the current implementation simply breaks UI flow. Chrome, Firefox, Internet Explorer, Edge, Safari and more all have tabs and do not open a new instance every time a page is opened, from explorer or otherwise.
It is expected that anything 'tabbed' opens in the current tabset rather than spawning a new instance of the program. Imagine if browsers did that....Now think about VS Code....

There seems to be platform differences, e.g. on Mac I see a new window opening for each file I click:

On Windows, I see different behaviour.
If we revisit this, it has to be OS specific and it should cover all combinations of how a file can be opened (as outlined in my comment in https://github.com/Microsoft/vscode/issues/10390#issuecomment-238889820)

There is also an issue that, after VS Code is already open, right-clicking on a file in Windows and selecting "Open with Code", VS Code does not appear in front, so I need to perform a second action to switch. Clearly, this is not what I want.


[💡 Feature]: Move pre-release (edge) to prod backend

Is your feature request related to a problem?
Sort of. Dev is for dev versus staging/prod. It's hard to test drive release candidates without the proper backend.
Describe the solution you'd like.
Use the production backend until there's perhaps a dedicated staging backend that replicates some of the prod backends data.
Describe alternatives you've considered.
I have considered leaving it as it is. However, I feel strongly that pre-release is not development and if we have to choose between dev vs prod, it's closer to prod.
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I am wondering if we there are any advantages playing around with an edge release and the staging backend, and the only one I could come up with is testing certain "news" capabilities with peers. Also I believe there will be challenges whenever an edge release is connected/depending on backend changes.
On the other side I can see the desire for edge users to profit from latest bugfixes and be able to use the news widget like a release user.
Another option is to make this configurable or find another "trick" to switch to a different backend.

I am wondering if we there are any advantages playing around with an edge release and the staging backend, and the only one I could come up with is testing certain "news" capabilities with peers. Also I believe there will be challenges whenever an edge release is connected/depending on backend changes.
On the other side I can see the desire for edge users to profit from latest bugfixes and be able to use the news widget like a release user.
Another option is to make this configurable or find another "trick" to switch to a different backend.

Yep, I think anyone who desired to install pre-release (edge) should be able to test drive Marquee against the backend. In other words, it's a pre-release for Marquee users as opposed to Marquee developers.
I agree, that we could separate the concerns here by making the backend endpoints run-time vs build-time config.
Should I make a separate ticket for that?

@sourishkrout updated webpack config to only use dev backend when developing locally, e.g. no NODE_ENV is set, please review!

👍


Refactor alignwidget

@ichim-david @tiberiuichim ok, how about an align widget (so this is the "old" one, behaving as we expect), then a ButtonsWidget that behave completely arbitrarily?

@sneridagh as I've mentioned in our comments, I still would of enhanced the current work to allow the modification of defaultActionsInfo  and the passing of an actions parameter that overrides the default actions from AlignWidget so that I can reuse the widget to construct other widgets as you can see in the volto-block-style repo
https://github.com/eea/volto-block-style/blob/develop/src/Widgets/Align.jsx#L67
https://github.com/eea/volto-block-style/blob/develop/src/Widgets/TextAlign.jsx#L37
I would love for the Align widget from Volto to have this behavior of well so that I can just use these widgets as fallbacks when using Volto < 16 but it's up to you to consider if you want to make it even more extensible or move this extensibility to another time in another widget as you've mentioned above.

@ichim-david a bit more closer, tell me what do you think now.

@ichim-david @tiberiuichim ok to merge it? What do you think?

@ichim-david @tiberiuichim ok thanks!


How to disable generated fields from Input schemas?

Hi.
Thank you for your product, it has a lot of fresh and promising ideas.
My issue is to disable mutation of database generated fields (UID, SERIAL, AUTO_INCREMENT, etc...) through the API.
Now it can be done roughly like this:
const schemas = app.getSchemas();
const mi = schemas['MovieInput'];
delete schemas['MovieInput'].properties.id;

But this only works for JavaScipt (not TypeScript) and doesn't look too good.
Do you plan to make an in-box solution to this problem?
Generating "Input" suffixes schemas might help for TypeScript minimally.
Perhaps this solution below will be of interest.
dataSourceOptions = {
  generated: {
      Movie:  {
          "id", // database-generated, disable from Input schema
          "created_by": (row, field, context) => {
              row.createdBy = context.foo.userId;
              return false; // backend-generated, DO NOT disable from Input schema
          },
          "created_at": (row, field, _) => {
              row[field] = new Date();
              return true; // backend-generated, disable from Input schema
          },
      }
  }
}

Or yet, usage a special onNew schema-hook would be better.

Thanks for reporting! I'm a bit at a loss here as there seems to be two problems conflated:

removing the fields from the public schemas (OpenAPI/GraphQL) for mutations
adjust the type generator after that change to make the values read only.

Am I reading this correctly?
I'm not sure support for this use case is in our immediate plans.


Bootstrap 4 demo

I guys,
I wanted to share a Parsley integration into Bootstrap 4 (with material design by Daemonite).
Had to tweak classes to make it correspond to BS4.
Enjoy
https://jsfiddle.net/djibe89/tu0ap111/

Good job! Did you continue that work?
Is there any plan how to handle this - will there be additional .css to enable Parsley & Bootstrap to cooperate?

Hi.
Yesterday I added the pure CSS validation icons of BS 4.3.1 as Daemonite material UI is still based on BS 4.1.1 (=> see CSS in my fiddle. If you are using VS 4.3.1 you don't need extra CSS).
Parsley works great as you can see, you just need to tweak plugin classes declarations as in my fiddle (=> See the JS script in my fiddle).
Tell me if my message is not clear.


Translate titles and inline comments to Spanish

Translated to spanish the secction titles and descriptive comments.

[X] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] My article does not contain shortened URLs or affiliate links.

Thank you for your contribution. This is superseded by #34955, which will solve it for all challenges of all languages, so I'm closing this PR.


 Column width is not calculated correctly if there are different amounts of padding on left and right

For example,
given we have a <col max-width="100"> in use, and the styles padding-left: 24px and padding-right: 28px applied to the column in question using td, the actual Column width calculated by the Grid is something else than 100px.
There's a fat chance that the Grid assumes that the padding is 24px on both sides and bases it's calculations on that.

Can't reproduce with the current version. When testing, please note Grid currently works so that the column max width does not cut content. It merely sets a maximum limit to which the column can grow when it's in expanding mode. So if you have content with a width of 150px and set max-width to 100, it will have practically no effect.
I found the paddings irrelevant to the issue since they are not ever measured by the grid. The cell is border-box and grid only sets width to it.
If the behavior is wrong, maybe we should do a ticket to dev.vaadin.com (and provide a patch).

Ticket for core framework: https://dev.vaadin.com/ticket/18617

Will create a patch for Vaadin Framework and apply it to our forked grid...


Correctly handle data mutation in Coralogix exporter

Description:

Fixes mutation of signal data in the Coralogix exporter, since we add attributes.
Link to tracking Issue:
Testing:
Documentation:

Ping @oded-dd @povilasv

Sorry looks like duplicate of https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/20293, not sure how it happend


No forward for the OTEL gRPC stuff

No sure if it is a problem or not but the following does not work.
Node 1 port 7280
QW_ENABLE_OPENTELEMETRY_OTLP_EXPORTER=true \
OTEL_EXPORTER_OTLP_ENDPOINT=http://<IP_ADDRESS>:7281 \
./quickwit run --service searcher --service metastore --service control_plane --service janitor

Node 2 port 8280
./quickwit run --service indexer

Node 1 is sending its own tracing data to itself, and forward does not happen (contrary to what happens for the ingest api).

This can be fixed very simply by running the OTLP gRCP services.


add logging to elastic search platform

all existing logging stays, this is just adding one more sink to the new dev elasticsearch platform

Looks okay to me. Where can I find the ElasticUrl setting?

So unfortunately at the moment our caes firewall blocks access to elasticsearch since it's on a non http standard port.  So we can't use peaks locally along with ES.  But that said, I'll add the ES setting to peaks test and then let you know once I get the right keys figured out.


Initial commit of DSC resource module template

This change is

My fork did pass the the tests https://ci.appveyor.com/project/johlju/dscresource-template/builds/22770766.


PostgreSQL dropPrimary does not work, if using prefix

Laravel Version: v9.17.0 (but also the same with any lower version
PHP Version: 8.1 (but PHP version does not take affect)
Database Driver & Version: PostgreSQL (14.3), but also does not take affect

Description:
I can not drop existing index in my database (PostgreSQL) with standard migration.
The problem persist, if using PostgreSQL and prefix is not empty string.
The problem is in file:
https://github.com/laravel/framework/blob/9.x/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php
Line: 355
It generates index name without prefix.
When primary key index name is generating, it leaves naming for PostgreSQL, even if passing optional parameter $index. Generated SQL is something like:
alter table "prefix_test" add primary key ("id")
and PostgreSQL creates index name: prefix_test_pkey
When executing $table->dropPrimary(), raw sql is:
alter table "prefix_test" drop constraint "test_pkey", it does not add prefix and so migration throws error that:
constraint "test_pkey" of relation "prefix_test" does not exist.
It should generate prefix_test_pkey
Optionally $table->primary() and $table->dropPrimary() allows to pass index name, but PostgresGrammar ignores it.
Steps To Reproduce:

install Laravel
change .env DB_CONNECTION to pgsql
change config/database.php line 75 from 'prefix' => '',  to 'prefix' => 'prefix_', (under pgsql)
delete all files from database/migrations
create migration file (php artisan make:migration create_test_table (see below)
php artisan migrate (throws error)

file: XXXXXX_create_test_table.php
id();
            $table->dropPrimary();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
    }
};

Actual code of migration file
`<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('test', function (Blueprint $table) {
$table->id();
$table->dropPrimary();
});
}
/**
 * Reverse the migrations.
 *
 * @return void
 */
public function down()
{
}

};`

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as separate commits on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

I'll re-open this once you provided a repo.

@driesvints  I am experiencing a similar issue, whereby I am struggling to remove a primary key that has a custom constraint name. This happened because I am moving an existing database over to using Laravel, so its tables were not set up by Laravel itself.
I have never submitted a bug report for Laravel before, but hopefully I followed your instructions correctly on setting up a demonstraton repo, which can be found here:
https://github.com/programster/Laravel-bug-report-dropPrimary
They key commit demonstrating the bug is here:
https://github.com/programster/Laravel-bug-report-dropPrimary/commit/7f1e774b355d7cfb386a0db3f9454a7684291e6c
I made sure to test it was still the case after setting up PostgreSQL running in a docker container and updating my .env file database settings to:
DB_CONNECTION=pgsql
DB_HOST=192.168.0.x
DB_PORT=5432
DB_DATABASE=bug_report
DB_USERNAME=laravel
DB_PASSWORD=laravel

@programster I think:

You need to use the Schema builder, not a raw query
You can't do those two operations in the same migration

@driesvints the first query where I'm creating the table, is not supposed to show how I would have built it in Laravel, but to simulate the problematic table structure I have inherited by trying to move a legacy database over to Laravel. I am showing an example of how I am trying to fix it by using dropPrimary() in the second statement.
I don't think I need to split the operations into two migrations to demonstrate the bug, as  the db statement query executes immediately, and it is the one that I need to execute first. If it makes  you happier to demonstrate the point though, I would be happy to do so....

👍  I have the same issue

@driesvints can yoiu re-open this issue now that you have the example info you asked for

I'm sorry, but I don't think you should be using raw queries in that situation. Right now I don't have intention of reopening this.

I'm sorry, but I don't think you should be using raw queries in that situation. Right now I don't have intention of reopening this.

Your missing the point. The raw query in that case was simply to set up the state that the database is already in! Not a demonstration of the user using raw queries.
What is the user supposed to do if they are converting an existing codebase over to using Laravel, and the database (from the legacy system) already has primary keys that have an index name that Laravel is not expecting? This is what the sample codebase is trying to simulate to demonstrate the problem?

Hello,
I discover the exact same issue on my database using Postgres 15 and Laravel 10.
According to me, issue seems to come from this place https://github.com/laravel/framework/blob/e3350e87a52346af9cc655a3012d2175d2d05ad7/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L383-L388
https://github.com/laravel/framework/blob/256f4974a09e24170ceeeb9e573651fd5e1c703e/src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php#L428-L433
In case a key name was provided, it's not used and hardcooded with current table name suffixed with _pkey
In my case, I had a table that I renamed.
The table was properly renamed - but the primary key was still using the previous table name as a constraint name prefix.
    public function up()
    {
        Schema::rename('corporation_mining_observer_data', 'corporation_industry_mining_observer_data');
    }

With this simple migration, I moved the table from corporation_mining_observer_data to corporation_industry_mining_observer_data

So now, if I try to drop the primary key using this code:
    public function up()
    {
        Schema::table('corporation_industry_mining_observer_data', function (Blueprint $table) {
            $table->dropIndex('corporation_mining_observer_data_pkey');
            $table->primary(['corporation_id', 'observer_id', 'recorded_corporation_id', 'character_id', 'type_id', 'last_updated'],
                'obeserver_data_primary');
        });
    }

Laravel will replaced the provided name corporation_mining_observer_data_pkey with corporation_industry_mining_observer_data_pkey
And of course, it crash because the constraint corporation_industry_mining_observer_data_pkey does not exist in the database.

Fixed on Laravel 11.x via #50019


fix: controlled FieldList row deletion

It seemed as though the onRemoveItem was never actually being called
based on the way that it was written, because the useEffect would not
fire, thus you'd end up with rendering issues. By tweaking a bit how
this function is called in the context, it appears to fix the issue.
I don't know why this callback function was written with the additional
closure, but I preserved it to maintain backwards compatibility.
Addresses D2IQ-77909

Testing

Trade-offs

Dependencies

Screenshots

Checklist for PR creator

[ ] If any new components were added, there are exported from packages/index.ts
[ ] If this PR is associated with a JIRA, it is mentioned in commit message footer ("Closes …")
[ ] If this PR contains breaking changes, is stated in commit message body ("BREAKING CHANGE: …")
[ ] Info for applicable sections above is provided

this is not a breaking change as written. Merging in so we can integrate into kommander-ui. We can handle a refactor with a breaking change later

some additional notes
there was FieldList which accepted an onRemove call back as a curried function (no idea why)
but then nested inside it had its own FieldListContext which then exposed a removeItem function, that was also curried. However this removeItem function was not properly firing the FieldList onRemove which it was supposed to, which meant upstream state wasn't changing and resulting in the weirdness.
when I refactored the removeItem function to not be curried, it worked as expected. Since that removeItem was only being used by the component itself, and not a part of the ui-kit library of components, it was a simple fix commit and not a breaking change. My guess is that this was a regression that was introduced when the FieldListContext was added to the component.


high circlesize bonus should cap at 5

this is my fault, I forgot to cap the cs bonus (which is probably how it worked prior to the high cs nerf after WWW's 600pp score)
see this commit https://github.com/Francesco149/oppai/commit/0b028e6a00a1a715f8a375bf3fa3ec7cc7f3939f
it fixes extreme overrating of maps like https://osu.ppy.sh/s/347136

Fixed here and here.

For some reason the patch only caused minor pp reduction, will investigate further.

Resolved by using ojsama


each on strings

The forEach function works in 1.1.6 on strings. On the current HEAD and the 1.1.7 version each does not work on strings.
_.each("foo",function(x) { console.log(x)})

var s1 = "asdf";
// These next two should both be an instance of String
var s2 = Object(s1);
var s3 = new String(s1);

// The following statements all return "a" in modern browsers
// In IE7, they all return undefined
// In IE8 the first one returns "a" and the others return undefined
s1[0];
s2[0];
s3[0];

Here's a fiddle.


Module not found: Can't resolve error

Describe the bug
Currently if i ran the application, throwing the `Module not found: Can't resolve '@/components/Navigation/MainNav' error
To Reproduce
Steps to reproduce the behavior:

clone the repo https://github.com/your-username/jslovers-official-website.git
Install the dependencies npm i or yarn
and run the application npm run dev or yarn dev
See error Module not found: Can't resolve '@/components/Navigation/MainNav'

Expected behavior
Application should run without any fail.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Ubuntu 22.04
Browser: Brave & Chrome
Version: Brave (1.67.119) & Chrome (126.0.6478.114)

Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.

@Neha Will create a PR

The fix is navigation folder should be rename to uppercase N -> Navigation.
I took the dev pull but not able to see this gap in my local. Would you like to go ahead and push from your end this change?

@Neha created PR https://github.com/jslovers/jslovers-official-website/pull/88


The parameters for BatchNormalization are not updated

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): OS
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Official Website
TensorFlow version (use command below): 2.2.0
Python version: 3.7.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: No
GPU model and memory: No

Describe the current behavior
I am simply changing to codes from tf.layers to tf.keras.layers, based on the migration instructions on the official website. But it turned out the parameters for tf.keras.layers.BatchNormalization are not updated properly, while everything works fine for tf.layers.BatchNormalization(). I do not know the reasons.
Describe the expected behavior
The parameters for tf.keras.layers.BatchNormalization should be updated just like what have been done for tf.layers.BatchNormalization.
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Codes:
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
import numpy as np

def get_positive(batch_size):
    train_images = np.zeros((50, 28, 28, 1), dtype=np.float32) + 1.
    train_labels = np.int8(np.zeros((50, 1)) + 1)
    dataset = tf.data.Dataset.from_tensor_slices((train_images, train_labels))
    dataset = dataset.repeat(1)
    dataset = dataset.batch(batch_size)
    dataset = dataset.prefetch(1)
    return dataset.make_one_shot_iterator().get_next()

def get_negative(batch_size):
    train_images = np.zeros((50, 28, 28, 1), dtype=np.float32)
    train_labels = np.int8(np.zeros((50, 1)))
    dataset = tf.data.Dataset.from_tensor_slices((train_images, train_labels))
    dataset = dataset.repeat(1)
    dataset = dataset.batch(batch_size)
    dataset = dataset.prefetch(1)
    return dataset.make_one_shot_iterator().get_next()

def tf_model(feature, is_training):
    with tf.variable_scope("tf_model", reuse=tf.AUTO_REUSE):
        net = tf.layers.Conv2D(
            8, (3, 3), strides=(2, 2),
            activation=tf.nn.relu)(feature)  # 13x13x8
        net = tf.layers.BatchNormalization()(net, is_training)
        net = tf.layers.Conv2D(
            1, (3, 3), strides=(2, 2), activation=tf.nn.relu)(net)  # 6x6x1
        net = tf.layers.Flatten()(net)  # 36
        net = tf.layers.Dense(1)(net)
        return net

def tf_keras_model(feature, is_training):
    with tf.variable_scope("tf_model", reuse=tf.AUTO_REUSE):
        net = tf.keras.layers.Conv2D(
            8, (3, 3), strides=(2, 2),
            activation=tf.nn.relu)(feature)  # 13x13x8
        net = tf.keras.layers.BatchNormalization()(net, is_training)
        net = tf.keras.layers.Conv2D(
            1, (3, 3), strides=(2, 2), activation=tf.nn.relu)(net)  # 6x6x1
        net = tf.keras.layers.Flatten()(net)  # 36
        net = tf.keras.layers.Dense(1)(net)
        return net

def get_bn_vars(collection):
    moving_mean, moving_variance = None, None
    for var in collection:
        name = var.name.lower()
        if "variance" in name:
            moving_variance = var
        if "mean" in name:
            moving_mean = var

    if moving_mean is not None and moving_variance is not None:
        return moving_mean, moving_variance
    raise ValueError("Unable to find moving mean and variance")

def main_layers(case):
    positive, positive_labels = get_positive(10)
    negative, negative_labels = get_negative(10)

    model_true = tf_model(positive, True)

    loss = tf.losses.sigmoid_cross_entropy(positive_labels, model_true)
    if case == 2:
        model_false = tf_model(negative, True)
        loss += tf.losses.sigmoid_cross_entropy(negative_labels, model_false)

    update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
    with tf.control_dependencies(update_ops):
        train_op = tf.train.GradientDescentOptimizer(1e-3).minimize(loss)

    mean, variance = get_bn_vars(tf.global_variables())
    init = tf.global_variables_initializer()
    with tf.Session() as sess:
        sess.run(init)
        while True:
            try:
                loss_value, _ = sess.run([loss, train_op])
                print("loss: ", loss_value)
            except tf.errors.OutOfRangeError:
                break
        print(sess.run([mean, variance]))

def main_tf_keras_layers(case):
    tf.keras.backend.set_learning_phase(True)
    positive, positive_labels = get_positive(10)
    negative, negative_labels = get_negative(10)

    model_true = tf_keras_model(positive, True)

    loss = tf.losses.sigmoid_cross_entropy(positive_labels, model_true)
    if case == 2:
        model_false = tf_model(negative, True)
        loss += tf.losses.sigmoid_cross_entropy(negative_labels, model_false)

    update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
    with tf.control_dependencies(update_ops):
        train_op = tf.train.GradientDescentOptimizer(1e-3).minimize(loss)

    mean, variance = get_bn_vars(tf.global_variables())
    init = tf.global_variables_initializer()
    with tf.Session() as sess:
        sess.run(init)
        while True:
            try:
                loss_value, _ = sess.run([loss, train_op])
                print("loss: ", loss_value)
            except tf.errors.OutOfRangeError:
                break
        print(sess.run([mean, variance]))

If we run main_layers(1), we would get:
loss:  0.69315034
loss:  0.6928972
loss:  0.69264734
loss:  0.6923976
loss:  0.6921481
[array([0.        , 0.        , 0.        , 0.01786391, 0.02162646,
       0.        , 0.00420831, 0.        ], dtype=float32), array([0.95099014, 0.95099014, 0.95099014, 0.95099014, 0.95099014,
       0.95099014, 0.95099014, 0.95099014], dtype=float32)]

However, if we run main_tf_keras_layers(1), we would get:
loss:  0.6930456
loss:  0.69101626
loss:  0.688996
loss:  0.68698376
loss:  0.68497455
[array([0., 0., 0., 0., 0., 0., 0., 0.], dtype=float32), array([1., 1., 1., 1., 1., 1., 1., 1.], dtype=float32)]

It turns out that parameters for tf.keras.layers.BatchNormalization are not updated properly. They should be expected to be similar to  tf.layers.BatchNormalization.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

My further question would be like: is it safe that we could simply reply tf.layers with tf.keras.layers? If it not safe, how should we deal with the codes written in tf1.x (I do know that there is a guide about migrations)?

Was able to reproduce the issue with TF v2.2 and TF-nightly. Please find the attached gist. Thanks!

The code and repro in in TF1 and v2_behavior disabled. The issue should be gone if it's migrated to TF2. Could you follow this migration guide to update the code to TF2? Thanks.


⏩  Automatically add and close GitHub Issues in Jira

User Story
As a Jira observer 👀
I want to get issues created in GitHub as Jira tickets
So that I can create reports within Jira that include issues raised on repositories from GitHub.
Value / Purpose

Allow teams to reduce copy and pasting information between systems
Reports 📊
Comforting data/information 🤗  ingestion 😋  for 😭  Jira
Did I mention reports?

😮  wow behold the Burn Up report in Jira 🚀

Useful Contacts
Rachel, Nava, Rich
Additional Information
Seems GitHub Actions will be able to perform this task
https://github.com/marketplace/actions/jira-issue-creation
Javascript
https://github.com/corda/jira-create-issue-action
The existing Jira integration only seems to do branches, commits, mergers
https://github.com/atlassian/github-for-jira#configure-app
Definition of Done

[x] Jira ticket is created when GitHub issue is... created
[ ] Jira ticket is set to Done when GitHub issue is Closed
[ ] Jira tab is closed forever :wave
[ ] Documentation has been written / updated
[ ] Another team member has reviewed

Hey team! Please add your planning poker estimate with ZenHub @ASTRobinson @bagg3rs @kyphutruong @mitchdawson1982 @moontune @mTouhid @wanieldilson

Ticket created here

Using Jira Login
And Jira Create
This will create a Ticket.
We can use Jira Automations to move ticket based on the status of e.g. Pull Request and Merge.
The alternative is to Open and Close a Ticket based once it's been pulled into in progress
Have created an issue #152 to look at an action to prompt for issue on Pull Request to help any automation with code commits.
Outstanding questions

Which Jira board do we use @rachel

Snow ticket added for Jira API KEY
RITM0943440 Created


docs: add intro to readme for default use

This PR adds an introduction to the README document to explain about the default use of github-action.
There have been several user issues lately in various places where the basic functionality of the action was not properly understood. Up until now there was no concise place in the action documentation which explained it.

Read https://github.com/MikeMcC399/github-action/blob/readme-intro/README.md for convenient reviewing.


[docs] update component data scripts to extract Angular prop definitions

Closing as angular library has been forked and removed.


style: Update readme typos

Some of the changes are just typos, some others are not too precise definitions (for example the "options" definition) or about using consistent wording.

Thanks for this. I am very well known for typos :)

You're welcome. I am glad of being helpful. ^^


To free disk space after removing a container

I have run mongo container
Container requires about 4GB to run, which was reserved
I have stopped and removed a container using docker stop and docker rm
Disk space is still taken in /var/lib/docker and there is no obvious way to free it

Any update on this?

@goloroden I don't think we will automatically remove volumes when the container is removed, it's dangerous and a breaking change.

docker rm -v needs to be used in order to remove a container's volumes. These volumes can be looked up and removed by hand. However, @cpuguy83 will continue to work on volumes and managing volumes should be easier.
There are more issues like this one which are caused by leftover volumes. I'm going to close this issue now.

These volumes can be looked up and removed by hand.

@unclejack, could you please specify the exact way of removing leftover volumes, once the container is deleted?
This issue was about the lack of obvious way to fix it, thus not resolved.

@muchweb There's a proposal to add volume management in docker. That proposal would enable you to list (and delete) volumes, both "in use" and "orphaned" (left-over) volumes. The proposal can be found here: https://github.com/docker/docker/pull/8484.
However, that proposal isn't accepted yet, but the author of that proposal also created an external tool, called "docker-volumes" that offers the same functionality. Docker-volumes can be found here: https://github.com/cpuguy83/docker-volumes and the easiest way to run it is to download a binary from the releases page

@thaJeztah, thank you! :+1: docker-volumes looks very handy.

alternate is my more simply docker-volume-cleanup util from http://github.com/dockerimages/docker-tools
example output:

Volumes (in use) <<
/
/opt/fileserver/adt-2/DATA/solr
/opt/fileserver/adt-wp/DATA
/opt/fileserver/adt-wp/DATA/config/default.vcl
/opt/fileserver/adt-wp/DATA/mysql
/opt/fileserver/adt-wp/DATA/www
/opt/fileserver/docker-registry/tmp
/opt/fileserver/gitlab/DATA/data/repositories

Orphaned Volumes <<
/var/lib/docker/vfs/dir/029e03c746e4e7969852c4ae0e27d72d68f3f829a6d5d4e536bbe11ca04ac53d
/var/lib/docker/vfs/dir/02d477b9638de43fc992e31289e00de433031839d1bcc372bc4419eb1d528bc7
/var/lib/docker/vfs/dir/03b1fa68377931a87f320e1e08b4e2c83c2e718f96cbbb864974840dc521b51b
/var/lib/docker/vfs/dir/03db5c40a3ff0d0dfec3641eb7a76284858a7d3601e079b25e730fd624d24e23
/var/lib/docker/vfs/dir/04bdacfa87ee08d87994759d3116bca09b244c0be66a126203fd1686336eae0b
/var/lib/docker/vfs/dir/081a5b548408b020db4e52eb0a88e54e8b82ab76aa3cb276593da39822411d4b
/var/lib/docker/vfs/dir/09bc6ab2117e38de173e6a8217de582cde3578e0ddb060382b90362dc1ea1b2b
/var/lib/docker/vfs/dir/0a21126b56f7ae9e63e23943cdb945042227b1b96ce866d9bb704c00e57171c6
/var/lib/docker/vfs/dir/0bbe471ae2e0ec0e5cec84ba44e9c353b661a923d77931b1f1354b98304e33d7
/var/lib/docker/vfs/dir/0c515eee24a1f96dacc26bb6d40f20945a4c8e3033bb8d34076ede5cf978ca6e
/var/lib/docker/vfs/dir/0ce2a13a25e3ad3bf7e6f3489c65d964de5be62e280a78a9155990ced4ebc4ff
/var/lib/docker/vfs/dir/0e851ad03b6f82b4aacd75ad00b34ca97a436a9a926757e4af150d23cc2814c0
/var/lib/docker/vfs/dir/0ed66974fb24c447e5346a23d17aab8bc9dd3ed075ce31212a20fb8ed7068933

use docker-volume-cleanup -f to delet all orphaned volumes

Hi Guys am ahving serios my docker container is increasing everyday by 1 gig how can i create space? see image below

@wattletimber if that container does a lot of logging, it may be the JSON log file that keeps growing; make sure you start your container with --log-opt max-size=[something] (optionally with --log-opt max-files=[something]. See https://docs.docker.com/engine/admin/logging/overview/#json-file-options


Add smart-quote support to matchers

This PR adds smart-quote support to the matchers for DataDog support.
http://rubular.com/r/AOoD50jn3W

Coverage remained the same at 100.0% when pulling 6cbfe0e69ee0d6db80b166ac68fd9ff7f7de55f7 on 3dna:smart-quote-support into 73bff833942b4e417ee3e7115b714e15c63270fe on esigler:master.


Fedora 36-based image is unusable

Rebasing to sodalite/f36/x86_64/base to version 36-22.8 (based on Fedora 36) leads to a whole range of problems, rendering the desktop entirely unusable, as shown in the below photos (which speak for themselves).
Login screen (LightDM)

Desktop

Open applications

It's worth mentioning Fedora Linux 36 is still in beta, and is not due for a stable release until—at the earliest—19-Apr-2022, so it might be a case of it just fixing itself by the time that comes around. The stable verison of Sodalite is still on 35, and we will only bump it to 36 when any major issues are fixed.
Having on briefly played around with this verison, I am not immediately sure of what the problem is, and I cannot find any related issues on other issue trackers (such as RedHat Bugzilla). Wondering if @decathorpe could shed any light?

The problems you're seeing (the "Oh no!" screen, missing wallpaper, rendering issues of dock and wingpanel) are caused by a crashed gala compositor, which in turn was caused by ABI / API changes between mutter 42.alpha and 42.beta.
However, this issue was known to me, and should have been resolved with the latest update for gala (bump from version 6.2.1 to 6.3.0 plus some upstream patches to support mutter versions 42.beta and newer), so it looks like the image you're using hasn't been rebuilt since that update has been pushed to stable three days ago.
c.f. https://bodhi.fedoraproject.org/updates/FEDORA-2022-85614f3154

Recently tested a build and this is now resolved. Seems the first time I did the build was literally a few hours before 6.3.0 went live!


[functions-framework-cpp] update to latest release (v0.4.0)

Describe the pull request
Updates the functions-framework-cpp port to the latest release (v0.4.0)

What does your PR fix? Fixes #

N/A

Which triplets are supported/not supported? Have you updated the CI baseline?

No change.

Does your PR follow the maintainer guide?

Yes.

I think the macOS build is stuck again? In any case, it passed earlier, this is ready for review.

Thanks!


returned false when called $MailChimp->get('lists')

I followed the sample code but received false when called $MailChimp->get('lists')
I am sure the api key is correct, and currently developing under localhost

After I set verify_ssl to false, everything works perfect.
I am just curious the reason why it caused the problem.

I have googled it and found the solution for that.
The problem has been solved

I know this is closed but could you help me out with telling me how you solved it?
I'm having same issue, when I set to false it works otherwise nothing happens. Would appreciate any help.
Thanks!

This is how I did it in __construct() of my own class
 $this->mailchimp = new MailChimp($api_key);
 $this->mailchimp->verify_ssl = false; //very important to set to false, otherwise it won't work, every request will return  false


auto detection not working (need to use class which makes box looking ugly)

Using this code inside my html:

<?php
echo "You've received: ";
?>

Requires me to use  so my code looks like this:

<?php
echo "You've received: ";
?>

Because of this extra class now my design doesn't look well, there's a border around the pre itself.
Here you can see this: here.
Please fix the auto detection regarding this, so I won't have to use  anymore.

I'm also seeing pretty vanilla php being detected as python. :/

Sadly, auto detection is something that's simply impossible to get right all the time (especially for small snippets).  There is an issue open (needing a PR) so that you could do something like:

An avoid the code block, but right now yes you need both in order to assign the language (which is the best way to guarantee accurate results).


Support Jsonl Storage

🚧 WIP
Goal
Support Jsonl Storage
Todo

[x] implement store schemaless (+ on cli)
[x] storeMut
[x] implement schema by parsing {tableName}.sql
[x] split test cases by namespace(directory)
[ ] exception cases (path, other filetypes..)
[ ] should sync manually editing .sql file with memory?
[ ] file lock for single-thread mutation

Next

[ ] alter-table

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

283 of 395 (71.65%)  changed or added relevant lines in 6 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.2%) to 98.344%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

storages/jsonl-storage/src/lib.rs
260
272
95.59%

storages/jsonl-storage/src/transaction.rs
4
22
18.18%

storages/jsonl-storage/src/index.rs
0
28
0.0%

storages/jsonl-storage/src/alter_table.rs
0
54
0.0%

Files with Coverage Reduction
New Missed Lines
%

core/src/data/value/convert.rs
1
98.77%

core/src/translate/query.rs
2
98.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
38253

Relevant Lines:
38897

💛  - Coveralls


Enhance footer icon

your footer icon is too closed each other and footer looks not gud . I would like to resolve this issue . plz assign to me.

there is also a problem nothing is visible in this page .
plz assign to me.

Ok assigning this issue to you. Go ahead


Various MistralAIClient fixes

Use a MistralAIRequest TypedDict for the MistralAIClient raw request
Use Pydantic's model_dump() instead of dict() because dict() is deprecated
Pass the model name as part of the MistralAIRequest to _make_request(), rather than having it be a separate parameter
Delete _model_aliases and move the the model name to model_deployments.yaml
Set random_seed properly for multiple completions
Remove completion_index from the cache key since it is never sent to the API

The point of mistral_model is to be forward-compatible with new models released by Mistral AI. If Mistral AI were to release a new model in the future that requires aliasing, this allows the HELM users to run the model by adding that model to the configuration. Without mistral_model, the HELM user would need to wait for a new release of HELM that had the aliases included in the code. This is similar to what we do with TogetherClient here.


Fix semver dependency in grayskull

Checklist

[X] Used a static YAML file for the patch if possible (instructions).
[X] Only wrote code directly into generate_patch_json.py if absolutely necessary.
[x] Ran pre-commit run -a and ensured all files pass the linting checks.
[x] Ran python show_diff.py and posted the output as part of the PR.
[X] Modifications won't affect packages built in the future.

noarch
noarch::grayskull-2.3.1-pyhd8ed1ab_0.conda
noarch::grayskull-2.4.1-pyhd8ed1ab_0.conda
noarch::grayskull-2.5.2-pyhd8ed1ab_0.conda
noarch::grayskull-2.5.0-pyhd8ed1ab_0.conda
noarch::grayskull-2.6.0-pyhd8ed1ab_0.conda
noarch::grayskull-2.4.0-pyhd8ed1ab_0.conda
noarch::grayskull-2.5.3-pyhd8ed1ab_0.conda
noarch::grayskull-2.5.1-pyhd8ed1ab_0.conda
-    "semver >=3.0.0,<4.0.0",
+    "semver >=3.0.0,<3.1.dev0",
noarch::grayskull-2.3.0-pyhd8ed1ab_0.conda
-    "semver",
+    "semver >=2.13.0,<2.14.dev0",

CC @BastianZim
Note that the latest semver is v3.0.2, so the difference between the upper pins <4.0.0 and <3.1.dev0 does not yet exist, so this is just to prevent problems in the future.


not sure if this is a bug butbelt mk 4 is seems to have the wrong colour

Please provide more info on why you think there is any issues? As far as I see, you are upgrading mk3 belt to mk4, and everything looks correct.
Also any wrong colors do not break the mod functionality, and as such are low priority for me.

no, in the picture the belt is already mk 4  i am not updating it from mk 3
to mk 4
it is already updated to mk llll,  the speed is the correct speed, but the
color seems to be the colour of mk 3
On Wed, 16 Aug 2023, 09:22 kremnev8, @.***> wrote:

Closed #73 https://github.com/kremnev8/DSP-Mods/issues/73 as not
planned.
—
Reply to this email directly, view it on GitHub
https://github.com/kremnev8/DSP-Mods/issues/73#event-10105474064, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BBCK46GXCE25RPOGZL7IRFLXVR7MNANCNFSM6AAAAAA3RPHGZI
.
You are receiving this because you authored the thread.Message ID:
@.***>

I will upload more pictures later on the day as I am busy right now,
On Wed, 16 Aug 2023, 09:22 kremnev8, @.***> wrote:

Closed #73 https://github.com/kremnev8/DSP-Mods/issues/73 as not
planned.
—
Reply to this email directly, view it on GitHub
https://github.com/kremnev8/DSP-Mods/issues/73#event-10105474064, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BBCK46GXCE25RPOGZL7IRFLXVR7MNANCNFSM6AAAAAA3RPHGZI
.
You are receiving this because you authored the thread.Message ID:
@.***>

This mod is great though, especially the giga tower so I will be try to
report the issue later on
On Wed, 16 Aug 2023, 09:22 kremnev8, @.***> wrote:

Closed #73 https://github.com/kremnev8/DSP-Mods/issues/73 as not
planned.
—
Reply to this email directly, view it on GitHub
https://github.com/kremnev8/DSP-Mods/issues/73#event-10105474064, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BBCK46GXCE25RPOGZL7IRFLXVR7MNANCNFSM6AAAAAA3RPHGZI
.
You are receiving this because you authored the thread.Message ID:
@.***>

so


The stocks example in the docs is broken (column type problem)

Looking into the Stocks example:
clj -Sdeps '{:deps {scicloj/tablecloth {:mvn/version "7.029.2"}}}}'
Clojure 1.11.2

(require '[tablecloth.api :as tc])
nil

(defonce stocks (tc/dataset "https://raw.githubusercontent.com/techascent/tech.ml.dataset/master/test/data/stocks.csv" {:key-fn keyword}))
#'user/stocks

(-> stocks
    (tc/group-by (fn [row]
                   {:symbol (:symbol row)
                    :year (tech.v3.datatype.datetime/long-temporal-field :years (:date row))}))
    (tc/aggregate #(tech.v3.datatype.functional/mean (% :price)))
    (tc/order-by [:symbol :year]))

Execution error at tech.v3.datatype.datetime.operations/long-temporal-field (operations.clj:336).
Data datatype (:string) is not a date time datatype.

On which version of JDK does it happen? 11 by a chance?

I remember @kiramclean encountered something similar on JDK 11 but I can't find a zulip discussion now.

Oh, thanks.
I ran it on JDK 21 when it failed.
Now, I tried it on JDK 17, and it was ok.

I remember running into something like this, too.. bah I'll see if I can dig out the zulip conversation. IIRC it was some very strange issue with JDK versions.. or something ⏳👀

yeah in the conversation starting roughly here: https://clojurians.zulipchat.com/#narrow/stream/151924-data-science/topic/tablecloth/near/428193802
Looks like in the end I just wrote it off as a problem with JVM 17.x and moved on -- are you experiencing issues with it still @daslu?

@kiramclean, thanks; I moved to JVM 17.x and then everything seemed fine.


feat(dropdownitems): add DropdownItemCheckbox and DropdownItemRadio

re #916 and #941

[x] I have followed the Your First Code Contribution section of the Contributing guide

This commit follows from the conversation in #941 and #916 - adding functionality to the Dropdown component to include Dropdown.ItemRadio and Dropdown.ItemCheckbox.
It also fixes a bug in DropdownItem.tsx that will only ever set the selectIndex to null. Currently, however, selectedIndex isn't used anywhere, so possibly it should just be removed (or maybe there is conditional styling that should be added to reflect its state)?
Related to #916 and #941
There are no breaking API changes. Both FloatingUI Typeahead functionality and Arrow Navigation will work for the new item components (tabbing through the dropdown also works) in accordance with WCAG.
Additional considerations:

Storybook will still need to be updated to reflect the new component options (I wasn't able to get the Storybook dev server running, but am happy to do that work as well if the changes look good).
These changes don't address any issues Flowbite users are running into when trying to place text inputs as children of DropdownItem (and the FloatingUI Typeahead catching all the input keystrokes). The component could possibly be updated to not accept children or offer a warning in development.

@ChrisCoastal looks promising. Could you please rebase it with master and also add an example to the documentation? Thanks! :)

@ChrisCoastal gently ping. :)

Thanks for the gentle bump @rluders. I've done the rebase and updated the docs. Please let me know what you think and if I can make any further changes. 🙃🙏

I'm not a fan of this idea, personally. I think the best direction we could take here is to revert <Dropdown.Item> to <li> and allow the user to create whatever they want. There is a spec on flowbite.com for Dropdowns with checkboxes and Dropdowns with radios, but I think we can easily achieve that by adding a <Checkbox/> inside each <Dropdown.Item>. We can provide the simple JSX template for that as opposed to implementing functionality to fully control them.

@tulup-conner I agree with you. I think that it is maybe best not to implement the Dropdown.Checkbox and Dropdown.Radio in the React lib at all. As long as Floating UI is being used (for Typeahead and Focus Trap) element within each <li> that Floating interacts with must be a <button> and <input> should not be placed within <button> according to the W3C spec.
Honestly, as long as Floating UI is being used as it is now, my feeling would be that the Dropdown.Item component should not accept children at all, but only props that define text and/or icon within. This would put guardrails on how the component is consumed. I think this is important as this is actually at the heart of the original issue that started this - devs trying to put <input type='text'> within the Dropdown.Item component and wondering why the text field is unresponsive.
Whether or not that kind of implementation is consistent with the sort of API you want for the lib (passing props rather than children), I'm not sure.


Truncated organizations name

Truncate length to 40 chars.
Use CSS ellipsis for longer text.
Fix #14583

Can you give us some screenshots to review please?

Sure, are these OK?


ignored suffixes simplification

Simplification.
if a file has .bak or something, or ~~~~~~~~~~~~~~~~~, it will gsub and use the real file extension.

Works for me, thanks!


#[pyo3(from_py_with = "...")] causes compilation error when used in methods with the #[setter] attribute.

Bug Description
Using the from_py_with per-argument option inside a method with the #[setter] attribute causes a compilation error despite working fine in constructors and other methods without the setter attribute. The following code reproduces the issue with the error:
the trait bound `Field: pyo3::PyClass` is not satisfied
     the trait `pyo3::PyClass` is implemented for `Foo`
     required for `Field` to implement `pyo3::FromPyObject<'_>` [E0277]

use pyo3::prelude::*;

#[derive(Clone)]
struct Field(pub i32);

fn from_py_to_field(value: &PyAny) -> PyResult<Field> {
    let value = value.extract()?;
    Ok(Field(value))
}

#[pyclass]
struct Foo {
    field: Field,
}

#[pymethods]
impl Foo {
    // These compile successfully.
    #[new]
    fn new(#[pyo3(from_py_with = "from_py_to_field")] field: Field) -> Self {
        Self { field }
    }

    fn set_field_fn(&mut self, #[pyo3(from_py_with = "from_py_to_field")] field: Field) {
        self.field = field;
    }

    // This does not compile: "the trait bound `Field: pyo3::PyClass` is not satisfied"
    #[setter]
    fn field(&mut self, #[pyo3(from_py_with = "from_py_to_field")] field: Field) {
        self.field = field
    }
}

I've tested this in 0.20.3 and 0.21.0-beta.0 with the new Bound smart pointer.
Steps to Reproduce

Annotate the argument of a #[setter] method with #[pyo3(from_py_with="..")] for some argument that doesn't implement PyClass (or run the example from the issue).
Compile

Backtrace
No response
Your operating system and version
MacOS Sonoma (M1 Max)
Your Python version (python --version)
N/A
Your Rust version (rustc --version)
rustc 1.76.0 (07dca489a 2024-02-04)
Your PyO3 version
0.20.3 and 0.21-beta.0
How did you install python? Did you use a virtualenv?
I install python with pyenv, but this issue does not require a Python installation or virtual environment to reproduce.
Additional Info
No response

It seems like the #[pyo3(from_py_with = "...")] attribute was not handled for #[setter] methods at all, so pyo3 tried to extract Field here using FromPyObject. Since Field does not implement FromPyObject that failed.
I don't see a reason why #[pyo3(from_py_with = "...")] should not be supported here, so I implemented a fix in #3995


Document correct Report generate Gradle Kotlin configuration, and small questions

Documentation should be updated.
On page https://github.com/Lucas3oo/sonarlint-gradle-plugin?tab=readme-ov-file#sonarlint-ci-reports there is an example:
sonarlintMain {
  reports {
    xml.enabled = true // default false
    sarif.enabled = true // default false
  }
}

It doesn't work with Gradle 8.9 when using Kotlin syntax, i.e. file build.gradle.kts. I made it work as follows:
plugins {
    id("se.solrike.sonarlint") version "2.0.0"
}
dependencies {
    sonarlintPlugins("org.sonarsource.java:sonar-java-plugin:<IP_ADDRESS>672")
}
tasks.sonarlintMain {
    ignoreFailures = false
    reports {
        reports.create("xml") {
            enabled = true
            outputLocation = layout.buildDirectory.file("reports/sonarlint/sonarlint.xml")
        }
        reports.create("html") {
            enabled = true
            outputLocation = layout.buildDirectory.file("reports/sonarlint/sonarlint.html")
        }
    }
}

(Note: tasks.sonarlintMain<se.solrike.sonarlint.Sonarlint> also works.)
Also, I'd like to ask how is it possible to change the minimum level in failures/reports. For example, I want Major and Minor but not Info. Can this be documented?

Yeah, all the samples for the build file are in groovy except one for how to use with kotlin and only there I used kotlin script. The way to configure plugins in kotlin script is quite different.
Regarding the report, right now it isn't configurable what to include.

Yeah, hopefully someone will find the time to add that configuration parameter, as increasing minimum level seems like quite an important use-case.
I added PR with the documentation, also added tasks.sonarlintTest there, and removed the <se.solrike.sonarlint.Sonarlint> type because it seems redundant.
But I noticed one more issue:
When I define
tasks.sonarlintTest {
    ignoreFailures = false
}

my test doesn't fail despite it failing for tasks.sonarlintMain
 ./gradlew sonarlintTest

BUILD SUCCESSFUL in 787ms

Am I doing something wrong, or are some setup steps missing? Thx.

Hi
With kotlin DSL (build.gradle.kts) the so called extension (i.e. sonarlint {}) doesn't work.
ReportsDir will be used if you don't explicitly set the report file per report type.
See https://github.com/Lucas3oo/sonarlint-gradle-plugin/blob/main/src/main/java/se/solrike/sonarlint/impl/ReportAction.java#L61 and
https://github.com/Lucas3oo/sonarlint-gradle-plugin/blob/main/src/main/java/se/solrike/sonarlint/impl/ReportAction.java#L184
I must say I haven't tested kotlin DSL that much. But in groovy you can just add:
sonarlintMain {
  reports {
    html.enabled = true // default false
  }
}

If you have many projects you want to configure the I suggest that you do a "convention" plugin that all of your projects depends on. I have my own here: https://github.com/Lucas3oo/solrike-conventions-gradle-plugin
I think most developer would like to have two reports; one for the "real" source code and one for tests code. SonarLint test different things also depending on main or test code. E.g SonarLint check if all your test cases have at least one assert. That check would be pointless for main code.

I was wrong , extension works it is just some other syntax that must be used.
I wil update the docs with more kotlin DSL samples

Oh, my bad, the tasks.sonarlintTest works correctly - I was testing it without any tests, because I thought that it tests all code (main + tests) as part of testing process. I think this behavior could be mentioned in javadocs, which is currently empty:

I guess it makes sense that we'll need to duplicate the configuration if we also want tests to be tested, it gets verbose though, one combined report for the build is often enough. Also, when you run build and sonarlintMain fails, sonarlintTest doesn't run, so its reports are missing. Plus one more observation, I guess that if I don't want to block build, but still want to provide a way to run the assertion, I'll need to add my own run parameter, or task like sonarlintMainAssert. Yeah, the convention plugin makes sense in a long term.
Also, I tested reports without any outputLocation again, and this time it generated the sonarlintMain.html + sonarlintTest.html correctly. I don't understand why it broke for a while, but I guess it behaves fine already. Thanks!

Seems like when enabling reports on the "extensions" it doesn't work but setting directly on the task then it works. But only when using Groovy DSL.

I have a lot of javadoc so not sure why it can't be seen in IntelliJ.
But also note that the sonarlint task is actually only one task implementation created several times in the grade project.

I'm curious if you've been able to find a way to also write the sonarlint {} extension in Kotlin yet.
Plus I've noticed that a syntax like excludeRules = ["java:S112"] doesn't work in Kotlin either.

Yeah, I update the readme with more accurate kotlin code. And the sonarlint {} shall work in kolin DSL too. I have some unit tests for that actually.
Normally in Kotlin DSL you need to do sorting like this for lists:
tags.set(listOf("search", "tags", "for", "your", "goodbye", "plugin"))

I just released a new version where the report section for sonarlnt {} works.

Oh, I'd swear that sonarlint {} syntax didn't work at all, but now it works even in version 2.0.0 (except the report bug). Thanks, it works now.
Btw. if I use outputLocation in a report in sonarlint, it overwrites the same file during build, so only the test report is created :) Maybe this could be handled differently. Though I just realized that SpotBugs has the same behavior if used with tasks.withType<com.github.spotbugs.snom.SpotBugsTask>, because spotbugs {} doesn't allow configuring reports at all.

Yup,  I am pretty sure I didn't ge the extension to work in Kotlin DLS before too. And I am sing the same version of Gradle too.
The outputLocation shall be configured per task and not in the extension, otherwise it will overwrite. The "config" in the extension is used as default in the tasks (regardless of main, test, node or testFixture).
Yeah, I looked a lot on the spot bugs plugin when I made this plugin. Gradles own plugins in this area like Checkstyle are all cheating and are using internal API of Gradle.


How to debug?

I'd like to know how to:

See what's the query/mutation that's been executed, in a developer-friendly way (string)
See what are the values passed down to a react-admin form
How to set breakpoints and debug step by step

About 1, see https://github.com/UnlyEd/next-right-now-admin/commit/652ccf84bd1399b660144eb363c784a71afb73a7

About 2, see https://stackoverflow.com/questions/60592417/react-admin-how-to-log-record-data-to-the-console/60592484#60592484

@marcantoine I've figured out how to use breakpoints through Jest tests (debug mode).
But now, I have no idea how to add more tests when they're graphql related, because I don't understand how the introspection schema was generated in the first place. I've opened another issue about it where I could use guidance.
https://github.com/UnlyEd/ra-data-graphql-prisma/issues/4


Encountered "More than one context active for scope type jakarta.enterprise.context.RequestScoped"

This cropped back up recently, while visiting an MVC JAX-RS endpoint first and then loading an XPage. It's possible that some of the recent tweaks broke the behavior of properly identifying when the request scope should be initialized in CDI.

I haven't seen this since in a couple attempts at reproducing it, so it's possible it was a mid-development-stream fluke. However, I'll leave this open for a little while in case it crops up again.


Test: Inform user about TS 2.0 in the product

Test for #12091

Just so that you know, when I click "Use Workspace" here:

It made settings.json badly formatted.

@octref: can you please file an issue against vscode and assign it to Ben you was working on that feature.

Closing this item. It is already covered by https://github.com/Microsoft/vscode/issues/12633


Make ports configurable

Right now, it seems the ports are hard-coded for the different tools (e.g 8080 for graphql)
This works in general, but in cases where the port 8080 is already used, it causes some trouble when self-hosting.

Ok, so if you look in the docker-compose.yml in the root, I added some environmental variables in #156 that should let you set custom ports. You really also have to change your nginx/caddy/etc. but I think this should solve your problem. Please reopen if it does not. Thanks!


Issue 13

Converted AddChallenge page from semantic to bootstrap on Admin side. The form API functions properly without using AutoForm. UI can be improved in a future issue.

May I get a recheck.


[youtube] "Video unavailable" with cookies - YouTube blocking accounts from web

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
Recently, YouTube has started blocking accounts that are used a lot with yt-dlp from loading videos through the /player endpoint. Blocked accounts will get "Video unavailable. This content isn’t available." for all videos.
Blocked accounts can't load videos in the website, but the Android app works fine (same account and IP were used for the following screenshots)

WEB client
Latest stock YouTube client on Android

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--cookies-from-browser', 'firefox', '-vU', 'dQw4w9WgXcQ']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds (linux_exe)
[debug] Python 3.11.9 (CPython x86_64 64bit) - Linux-6.8.8-arch1-1-x86_64-with (OpenSSL 3.1.4 24 Oct 2023)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.32.3, secretstorage-3.3.3, sqlite3-3.44.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
Extracting cookies from firefox
[debug] Extracting cookies from: "/home/kuylar/.mozilla/firefox/mtlek44v.default-release-1708816247016/cookies.sqlite"
Extracted 2968 cookies from firefox
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1820 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[youtube] Extracting URL: dQw4w9WgXcQ
[youtube] dQw4w9WgXcQ: Downloading webpage
[debug] [youtube] Extracted SAPISID cookie
[youtube] dQw4w9WgXcQ: Downloading ios player API JSON
ERROR: [youtube] dQw4w9WgXcQ: Video unavailable. This content isn’t available.
  File "yt_dlp/extractor/common.py", line 734, in extract
  File "yt_dlp/extractor/youtube.py", line 4248, in _real_extract
  File "yt_dlp/extractor/common.py", line 1257, in raise_no_formats

Related: #10046

As reported by a user on discord whose account is also affected, video playback works via the iOS client as well. So --extractor-arg "youtube:player_client=ios" should be able to workaround the issue (if you need to keep passing cookies)

As reported by a user on discord whose account is also affected, video playback works via the iOS client as well. So --extractor-arg "youtube:player_client=ios" should be able to workaround the issue (if you need to keep passing cookies)

Interesting. Are there any specifics to using the iOS client? What video formats are available, for example?

What video formats are available, for example?

you would get way less formats available that's for sure, I am hoping we can find a solution for this because we already lost the android client and having both web and iOS was a must for me. wishing the devs working on this the best of luck.

Fewer formats, for sure, but not "way" fewer. Many of the iOS client formats are just HLS variants of the WEB formats (exact same quality but different protocol and format id).

I see, but from what I gathered we'd be losing OPUS audio which was used most commonly when with youtube videos is that correct?

osing OPUS audio

Yeah, that's the most notable loss. Possibly format 141 (high quality aac audio) too.

I did a test with an account that was banned using the web client, I put “--extractor-args youtube:player_client=ios” and despite that I'm still banned.
Am I missing something? I'm using the same cookie I was banned with on the web client, I've just added the --extractor-args parameter

Correction: the workaround is --extractor-args "youtube:player_client=ios;player_skip=webpage"if you need to continue passing cookies

It seems that account restrictions even occur with iOS player. So for the moment I'm not passing any more cookies (but I'm expecting new problems).

My IP is now limited to 40 kb/s (ios client, no cookie).
If anyone has a solution, I'm interested (there's no question of using a proxy, since all of them are or will be affected by this problem). Personally, I have no idea how to get around this.
It looks like youtube has won this battle.

Yeah, that's the most notable loss. Possibly format 141 (high quality aac audio) too.

Yea unfortunately, do you think we would ever find a solution to this? Also are you able to get those formats if you download without cookies?

It looks like youtube has won this battle.

I can also confirm the iOS player no longer works once you are hit with this ban, tried everything and nothing fixed the problem until I reset my IP address. I downloaded about maybe 20 videos before I got hit with the ban again.

It looks like youtube has won this battle.

Alphabet didn't win... they lost, as they no longer have any viewers to their contents creators... and what happens then?

Given this situation, any advice on how to use  --cookies (with an extracted cookies file) to get access to a private playlist (e.g., my watchlist) but then download the videos without sending cookies and triggering this issue? Right now, it's all one yt-dlp command, and I assume yt-dlp is sending cookies for the video downloads as well? But perhaps not, since cookies aren't in the config file? Thanks. (Related to #10108 and #10128 which I believe are duplicate issues.)

@aniqueta I would avoid using cookies entirely and use https://github.com/coletdjnz/yt-dlp-youtube-oauth2 instead.
You could pass auth and print a list of video links from the private playlist with --flat-playlist --print-to-file webpage_url links.txt, and then to download them, do not pass auth and feed the list back to yt-dlp with yt-dlp -a links.txt

As @bashonly made me notice, my experience ( https://github.com/yt-dlp/yt-dlp/issues/10046#issuecomment-2235891943 ) was related to this issue (thanks because I had lost this link and I could not find it again this morning).
I want to say that the oauth2 method does not work for me, though. If I put my credentials, it ignores them or, at least, it is useless for member only videos. If I try with oauth2 as username and any random password (even --password '  ' but not --password ''), it gives me the code to enter in the sign in page for an android TV, but it does not work (I guess because, well, I've tried with oauth2 as username)

Slightly off-topic, but the relevant "Sign in to confirm you're not a bot" issues have all been limited to collaborators.
I have a VPS with Hetzner that was blocked immediately. I get the "Sign in..." prompt in yt-dlp and in the browsers.
But! I have a Firefox session in my browser, which is about a month or two old, where even from this same IP I can view the videos.
If I launch a private tab in the same browser - I get the "Sign in..." instead.
I have never logged in from that session, so it's something to do with the existing cookies/localstorage.
If someone is interested in looking into this, I can provide all of that and run some additional tests.

But! I have a Firefox session in my browser, which is about a month or two old, where even from this same IP I can view the videos.
I have never logged in from that session, so it's something to do with the existing cookies/localstorage.
If someone is interested in looking into this, I can provide all of that and run some additional tests.

@MJBlack9000 Could you share the value of that session's VISITOR_INFO1_LIVE cookie?

@bashonly I don't think I have it, actually. I could be mistaken, but here is all that my Firefox shows for YouTube

I can share more if needed; but didn't find what you requested in local- or sessionStorage either

@MJBlack9000 if you pass --cookies-from-browser firefox to yt-dlp, does that work around the "sign in" error?

@bashonly
TL;DR it doesn't help, still get the same error with yt-dlp.
I've tried just with "firefox", and it loaded a whole bunch of cookies from my FF.
But I am using Waterfox for YT. So I specified the proper profile path --cookies-from-browser firefox:$HOME/.waterfox/profile.youtube/; and it loaded a different number of cookies than from default FF profile. But still showed the same "sign in to confirm you're not a bot" error.
I use that profile only for YT, so I can even go as far as to execute some custom script on it, that'll gather the information you might be interested in. If you are inclined to do so. I can also try to find that information for you, if you tell me what to look for.
P.S. apologies for the late reply.

I've got some interesting news.
On my second browser profile, where there was no stored YT session (but where I tried opening some YT videos and left cookies behind), YT now started working. If I go to private browsing - I can still see that my IP is blocked. But it started working in normal mode, where there are YT cookies.
It seems that YT checks the age of your session, while deciding whether to serve you content or not.

Currently also experiencing this issue running python code through a heroku server. I was experimenting and ended up making a python code in my server where I could paste the cookie data and run 2 commands and relaunch the heroku server to refresh the cookies.
method has still not completely worked on the server side just has worked locally.
I just found this page today so should I keep trying to see if this method might work? Or do you all think that this cookies from browser will end up being a better method?
keep in mind, the method I’m working on right now still requires a throw away Google account for cookies so you don’t get your own banned. So this definitely doesn’t seem like the ideal method.

With #10648 merged, supplying a valid PO Token may help in some cases.
See the PO Token Guide and po_token extractor arg for more details.
Note: requires yt-dlp nightly

What about using a VPN?
I am browsing the internet at home anyway using Wireguard. So I installed it on my server, which runs yt-dlp, but I am still getting the bot message, strange?

Closing since there's nothing we can do about the way YT runs their platform.
If you don't want to risk your account being blocked, then don't pass cookies.
If you need to pass cookies and want to lower your risk of being blocked, you could try passing a PO token


Editing a comment that has an embed in the playing state, doesn't hide the player

Post a comment with a link to a video so it embeds the video in the comment.
Click play so the video begins playing inline within the comment.
Click edit on the comment.
The player will still be visible and most likely be covering the text field and post / cancel buttons.

Hello, I'm working on this issue.

Hello, I'm working on this issue.

Here is the PR: https://github.com/lbryio/lbry-desktop/pull/5389

Here is the PR: https://github.com/lbryio/lbry-desktop/pull/5389


make distribute mxnet

Can we add make distribute to collect nothing but all the headers, binaries and wrappers to ease further distribution?

That could be useful. Would you like to do it?

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Implementation information for cross-tenant isolation incorrect

The implementation information in bullet points is backwards:
Current state:
Restricting outbound connections means a user in your tenant is blocked from connecting to a third-party tenant. Restricting inbound cross-tenant connections requires a support ticket—this restriction then only applies to Power Apps and Power Automate.
Restricting inbound connections means a user in a third-party tenant is blocked from creating a connection to your tenant. Restricting outbound cross-tenant connections can be done using tenant restrictions that apply to all Azure Active Directory (Azure AD) software as a service (SaaS) cloud apps, or at the API Hub level, which would block outbound connections just for canvas apps and flows.
Corrected:
Restricting outbound connections means a user in your tenant is blocked from connecting to a third-party tenant. Restricting outbound cross-tenant connections can be done using tenant restrictions that apply to all Azure Active Directory (Azure AD) software as a service (SaaS) cloud apps, or at the API Hub level, which would block outbound connections just for canvas apps and flows.
Restricting inbound connections means a user in a third-party tenant is blocked from creating a connection to your tenant. Restricting inbound cross-tenant connections requires a support ticket—this restriction then only applies to Power Apps and Power Automate.

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

ID: 21c5d280-6884-6b8a-c6dd-cc77d988fa14
Version Independent ID: 7a0cfc73-8ade-01b1-f364-4fcb4d13f7cd
Content: Enable cross-tenant isolation - Microsoft Power Platform - Power Platform
Content Source: power-platform/guidance/adoption/tenant-isolation.md
Service: power-platform
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Content has been amendended now.


Trouble opening ndtiff dataset

I'm running into issues opening some, but not all, recently acquired ndtiff datasets.
Reproduce with:
python
>>> from iohub import read_micromanager
>>> reader = read_micromanager('/hpc/projects/compmicro/rawdata/mantis/2023_03_29_argolight/rings-LF-LS_1/rings-LF-LS_labelfree_1/')
Dataset opened
>>> reader.get_array(0)

fails with
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/talon.chandler/iohub/iohub/ndtiff.py", line 182, in get_array
    return np.asarray(self.get_zarr(position))
  File "/home/talon.chandler/iohub/iohub/ndtiff.py", line 166, in get_zarr
    return da.reshape(shape)
  File "/home/talon.chandler/.conda/envs/recorder-test/lib/python3.9/site-packages/dask/array/core.py", line 2185, in reshape
    return reshape(self, shape, merge_chunks=merge_chunks, limit=limit)
  File "/home/talon.chandler/.conda/envs/recorder-test/lib/python3.9/site-packages/dask/array/reshape.py", line 248, in reshape
    inchunks, outchunks = reshape_rechunk(x.shape, shape, x.chunks)
  File "/home/talon.chandler/.conda/envs/recorder-test/lib/python3.9/site-packages/dask/array/reshape.py", line 62, in reshape_rechunk
    raise NotImplementedError(_not_implemented_message)
NotImplementedError:
Dask's reshape only supports operations that merge or split existing dimensions
evenly. For example:

>>> x = da.ones((6, 5, 4), chunks=(3, 2, 2))
>>> x.reshape((3, 2, 5, 4))  # supported, splits 6 into 3 & 2
>>> x.reshape((30, 4))       # supported, merges 6 & 5 into 30
>>> x.reshape((4, 5, 6))     # unsupported, existing dimensions split unevenly

To work around this you may call reshape in multiple passes, or (if your data
is small enough) call ``compute`` first and handle reshaping in ``numpy``
directly.

Are the ndtiff (or pycromanager) versions in the acquisition environment and the analysis environment the same?

This is fixed in ndtiff >= 1.12.1, see https://github.com/micro-manager/NDTiffStorage/pull/107

Tested and it's working. Thanks @ziw-liu and @ieivanov!