Dashboard: Settings Publisher Logo UI

Summary

Moves closer to updated design specs. Pending some shared resources with colors and buttons. New designs are here: https://www.figma.com/file/bMhG3KyrJF8vIAODgmbeqT/Stories-Stable?node-id=521%3A839
Moves container to show uploaded files into publisher logos component instead of file uploader, which makes more sense and allows flexibility of potential reuse.
Text updates per design specs to publisher logos section

Relevant Technical Choices

Show publisher logos when they are present
Nothing too technical, just moving functionality that had been in the fileUpload component up to prep for connecting API.

To-do

Rest of design updates (later)
connect API (will happen next)

User-facing changes
None
Testing Instructions
Look at storybook Dashboard > Views > EditorSettings > PublisherLogo and see updates. You can upload/remove images here too if you want - it's just local.

Addresses #3854

This looks great!


'NoneType' object has no attribute 'get'

Hi, Thank you so much for this Anki tool, it has been realy nice to use. Sadly I am running into an error, when ever I want to Sync my Remote Deck I get the following error.

'NoneType' object has no attribute 'get'

Im getting this error since I accedentaly used nummber bullet points once. (I allready removed them)
Removing the deck and manually adding it again allows me to get the newest Data, but after trying to sync the new deck gives me the same error.
Thanks for any and all help

Update, I now know the reason for the error, because I wanted to use Image Occlusion enhanced, I had to manually add cards, that worked fine and  I was able to sync. Suddently it stopped working... I dont know what the reason is, but atleast I can easily fix it by moving the cards to another deck while syncing.


Can't select interpreter nor debug

I have searched for similar issues but there was no solution exhibited.
Environment data

VS Code version: 1.51.1
Extension version (available under the Extensions sidebar): 2020.6.91350
OS and version: Windows 10 Home 64 Bit
Python version: 2.7, 3.86, 3.9
Type of virtual environment used:  conda envs are also not showing

Expected behaviour
Being able to select interpreter and debug:

Actual behaviour
The extension insisting that python is not installed, even though multiple versions of it are installed

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

I have the same problem. This problem has appeared after I updated to VS Code 1.51

I have the same problem. This problem has appeared after I updated to VS Code 1.51

I've tried older versions of vscode, gave me the same problem

I've also installed conda 4.9.2 at the same time. Which version do you use? How did you create your virtual env?

@NoamYes I see you're using an older version of the extension. Can you try updating to the latest and see if it has the same problem?

@NoamYes I see you're using an older version of the extension. Can you try updating to the latest and see if it has the same problem? If that doesn't help, please provide the logs as mentioned in the issue template.

Thanks for the comment
I downgraded because it was problematic with the newer version

Can you please update the original issue with details I asked for, the extension version for which you face the issue and the logs?

Some problem with interpreter selection starts after upgrade electron to version 9.3.4. I am downgrade it to 9.3.3 and all becomes fine. OS Arch Linux

Can you please update the original issue with details I asked for, the extension version for which you face the issue and the logs?

Yes, of course, I edited the issue.

Some problem with interpreter selection starts after upgrade electron to version 9.3.4. I am downgrade it to 9.3.3 and all becomes fine. OS Arch Linux

I don't think I  have electron installed

@NoamYes The first few lines on Python output channel states which experiments you're in, which is important. Please paste the full log.

@NoamYes The first few lines on Python output channel states which experiments you're in, which is important. Please paste the full log.

Hi, I added the first lines of the output. Is it clear enough?

Ran into this issue myself today where interpreter wouldn't set after selecting my python path. Reading through the output logs for Python, I seen an error popping up because I was trying to use PyLance and it wouldn't accept it because I'm using the open source Code. It was trying to default to Jedi which I didn't have installed and I believe this was the culprit. Because I do want to use PyLance, I installed the official Microsoft build with PyLance and it started working perfectly after that.
TLDR: If you're running the open source Code (Code OSS) instead of Visual Studio Code, and you're trying to use PyLance as your language server, it will not work! Microsoft does not allow it and will break. In your settings, try changing your language server off PyLance and/or switch to the proprietary Visual Studio Code build and see if that helps. Good luck!

same problem here on Arch.
just installed electron 9.3.3 from the archive
sudo pacman -U https://archive.archlinux.org/packages/e/electron9/electron9-9.3.3-1-x86_64.pkg.tar.zst

same problem here on Arch.
just installed electron 9.3.3 from the archive
sudo pacman -U https://archive.archlinux.org/packages/e/electron9/electron9-9.3.3-1-x86_64.pkg.tar.zst

I'm running windows, any ideas what should I do?

I'm running windows, any ideas what should I do?

actually, I don't have any idea, but it may help if you install a previous version of electron as I have 3 different versions installed, and it seems like Code just selected the one it needs automatically. so give it a shot.
you may download the appropriate version from https://github.com/electron/electron/releases/tag/v9.3.3

@NoamYes Unfortunately I haven't been able to reproduce this. Can you find out version of the extension after which you started facing this issue?
It says the command
c:\\\\Users\\Noam\\AppData\\Local\\Programs\\Python\\Python38\\python.exe" "c:\\Users\\Noam\\.vscode\\extensions\\ms-python.python-2020.11.358366026\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\Noam\\.vscode\\extensions\\ms-python.python-2020.11.358366026\\pythonFiles\\interpreterInfo.py

is failing for you. It's because c:\\\\Users\\Noam\\AppData\\Local\\Programs\\Python\\Python38\\python.exe has double back slashes after c:. Although I'm not sure how that got there.

As for the other people in the thread, looks like it's because of the electron issue for Arch Linux users.

Closing as no info was provided.


Is there a way to change the date format from : month day year to : day month year format ?

Hi,
in winfile I get the date format of the file in the month/day/year
but I wonder if is there a way to change it on day/month/year format if is possible. Thanks

Winfile should follow the system configuration.  In Windows 10, see Settings, Time & Language, Region, and Regional Format.  After changing this, winfile needs to be restarted to observe the change.

Hi, in Windows 10 the Winfile shown in the desired format day/month/year. But strangely in Windows 11 looks like the format month/day/year cannot be changed to month/day/year.
If anyone have any ideas, thanks

Thanks for the additional information.  I wasn't able to reproduce this on Windows 11.  In the past when I've seen this type of behavior, it's because the system updates an x64 registry key describing the desired setting and a 32 bit process reads the 32 bit registry and doesn't observe the update.
Is there any more information you can provide about:

How did you install WinFile (what was the source of the binary?)
Is it an x64 binary (and an x64 Windows 11?)
How did you update the system's configuration for date formatting? Was it via the Settings app or something else?

Thanks in advance.

Windows 11 64 bit, but maybe I think to be solve the problem: I have install the kb5013943 to update Windows 11 and seems ok. Thanks


net/haproxy map files updates from url like firewall aliases URL tables

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x ] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x ] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[ x] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe.
Firewall aliases support to be updated from URL eg for geoip, blocking tor etc.
Haproxy supports mapfiles, which are used together with rules and conditions to return HTTP 403 when accessed from IPs defined in mapfiles.
But Haproxy plugins did not support to update content of these files from URL as Firewall aliases.
Proposal is to allow that functionality.
Describe the solution you'd like
Add URL or Content (how it is called in firewall rules) field to map files entry and cron job to update content of file based and data downloaded from provided URL like described here (https://docs.opnsense.org/manual/aliases.html#url-tables)
For example - list with IPs to block Tor nodes https://check.torproject.org/torbulkexitlist (often to use to hide hacker source ip)
Describe alternatives you've considered
If not implemented could be done externally via API https://docs.opnsense.org/development/api/plugins/haproxy.html

Another example is this list https://iwik.org/ipcountry/geoip.txt which can be used to block states via
src,map_ip(/tmp/haproxy/mapfiles/file_id.txt) -m reg -i (US|RU|IN)
file_id can be found in backup.xml via export config when map files is created

Have you considered using the OPNsense API to update the mapfiles?
There's also a CLI tool available for this:
https://github.com/andeman/opn-cli
I think it should be possible to use opn-cli and a cron job to achieve your goal. Granted, it's a bit more work for you, but it would get the job done. On the other hand, I don't plan to build this functionality into the HAProxy plugin.
(opn-cli is available on OPNsense as a package: py39-opn-cli-0.8.1)

Yes, I just wrote Powershell script calling API from Windows machine.
It would be better to be run from cron, but cron GUI doesn't offer option to launch script :/
I respect your decision to not implement that feature, but still think it would be beneficial to copy that feature from IP aliases.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2023-08-18T10:37:26+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
5c15a0bb89de6e0f540037f2ede31902d9f59e49
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
5c15a0bb89de6e0f540037f2ede31902d9f59e49
link
true
/test unit-tests-arm64

integ-basic-arm64_istio
5c15a0bb89de6e0f540037f2ede31902d9f59e49
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


[PE-D][Tester A] Use cases in developer guide uses postcondition instead of guarantees

In the user guide, for each use case, the precondition and postconditions are stated.
However, based on the CS2103 notes, shouldn't postcondition be labelled as guarantees instead?

Labels: severity.VeryLow type.DocumentationBug
original: awdse22/ped#13

UG/DG bug (??)


Resurrect fore-minus-aft Tb diff check in SMAP obs reader

As of the 22 Apr 2020 SMAP DAART telecon, the Project declined to address the antenna-scan-angle (ASA) errors in L1 ops.   Any ASA errors will be reported after the data have been published and potentially used in L4 ops.

addressed with pull request #187


feat: handle passive and select constraints

There are three different constraints you can apply:
passive: turn off interactions like tooltips.
active: turn off interactions that affect the state of the visual representation like zoom, scroll, etc.
select: turn off selections.
{
  context: {
    constraints: {
      active: true,
      passive: true,
      select: true,
    },
  },
};

Has this changed? I thought active blocked everything?

Has this changed? I thought active blocked everything?

no, it was not changed. I got it from https://qlik.dev/libraries-and-tools/nebulajs/configuration#constraints and https://github.com/qlik-oss/nebula.js/blob/master/docs/embed-configuration.md#constraints


T02.04-Solution-ConnectingToTheInternet

done

Done

done

PR is requesting we merge changes from later lesson branches into earlier lesson branches.
We will not be doing this as these branches are set-up this way on purpose for the course.


Bad return value

Incorrectly returning null

@danrubel We need to keep code Java 1.6 compatible, can you please avoid new ArrayList<> constructs?

Ah! Did not know that. https://github.com/dart-lang/vm_service_drivers/issues/73


Feature: move internal node nesting model to doubly linked lists

Today, Lexical nodes are nested using arrays. This means that ElementNode references an array of child node keys. However, we can improve performance by switching away from arrays, and to using doubly linked lists. This would mean

We remove ElementNode.__children
We add ElementNode.__first, which is either NodeKey or null.
We add ElementNode.__last, which is either NodeKey or null.
We add ElementNode.__size, which is number. Avoiding the need to do O(n) lookups to find the amount of children in the element.
We add LexicalNode._prev, which is either NodeKey or null.
We add LexicalNode._next, which is either NodeKey or null.

When we add/remove a node, we'll need to make sure to update the linked list of both adjacent siblings (__prev and __next). Additionally, if the node is the first or last node of its parent, we'll also have to update the parent __size, __first and/or __last. We can remove the logic we have for marking siblings dirty, as we'll do that organically from using linked lists.

Should mark it as a breaking change since state format will be changed

I think we probably want to introduce this to start with, in addition to the existing API. Have them both there, then switch, then remove the old in v0.3.

Work in progress in #2044
As a general FYI, we reprioritized this behind the JSON serialization changes, since those were important to insulate users against breaking changes to our internal node schemas (like re-implementing the state to use linked lists 😄 )

I was planning to suggest/work on this later, but I see you have already noticed this opportunity for improvement as well.
Just an observation. My intuition tells me that single linked list will be even more performant than double linked list. Most operations, like rendering, need only the next sibling. In case there are a few occasional operations that need the previous sibling, I don't think such savings in operations outweigh duplicating every other operation that a simple linked list model would require.

delete is a method of LexicalNode or ElementNode? Could you tell me where in the code it is? I'm not seeing it

delete is a method of LexicalNode or ElementNode? Could you tell me where in the code it is? I'm not seeing it

It’s actually called “remove”

It’s actually called “remove”

Oh, I see. Thanks.

InsertBefore and delete would be linear vs constant with dll.

Well, I can't see how the remove operation would be more efficient on dll than on sll. In the first, you must remove it from both siblings, in the second only from the previous one.
The rest of the operations that may require previous sibling are in my opinion used so infrequently that they don't make it worthwhile to double each operation to keep the two links in each.
Maybe I'm wrong.

Well, I can't see how the remove operation would be more efficient on dll than on sll.

https://www.google.com/search?q=singly+linked+list+deletion+complexity

@trueadm did this!


doc: added doc link and additional prompts

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

https://github.com/aws-amplify/docs/pull/4354


modified version to freeze for renderer

I want to create a separate release for the renderer for flow-lab later on. Please merge before new things

Pull Request Test Coverage Report for Build 1686

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 84.516%

Files with Coverage Reduction
New Missed Lines
%

flow/envs/bay_bridge/base.py
2
64.96%

Totals

Change from base Build 1678:
0.0%

Covered Lines:
6681

Relevant Lines:
7905

💛  - Coveralls


Cache last-known baud rate for NMEA GPS

Currently, when auto-detecting baud rate for NMEA GPS, we always cycle through the complete set of known bauds.
We should remember the last successful one, and always try that first.

Now obsolete.  We default support 9600 baud serial GPS units, and there is an option to set it to something else in the config page.


SAM-2544: Provide better error messaging when selected groups for quiz are deleted

The problem with the original PR was the issue with code duplication between authorIndex.jsp and authorIndex_noHeader.jsp.

Do we have any idea what the _noHeader files are for?  Is there an opportunity for cleanup here?

I asked the same question on SAM-2384 several months ago. It seems the _noHeader file was introduced by SAM-2374.


Fix #490 by using Directory.Build.props

Rename Global.props to Directory.Build.props so it will automatically be included in every project.
Thanks to @karolz-ms for the tip.
You'll notice there's now a new workaround for what appears to be a gitlink issue in common.props. Gitlink builds using MSBuild version 4.0 to parse the solution and, if you don't have MSBuild 4.0 installed, then it can't find Microsoft.Common.props. I'll investigate separately whether using a newer version of gitlink will solve that.

@pharring,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


vi/vim/nano randomly push characters to left of screen

I've had this issue occur while using vi, vim, and nano, across multiple Linux devices. After typing a few characters on a line, the first character in that line will get pushed to the left of the screen, as shown below:

This strange formatting applies to display only - when the file is saved, the formatting is correct.
The issue seems to only occur in files full of indents (namely, code and config files).

@Eugeny can this be kept from going stale?

@tnguyen14 sure - your comment will already prevent it from being closed. I still wasn't able to reproduce it though

I'll pull the latest version and see if I can get steps to reproduce. @tnugyen14 if you have any suggestions they would be appreciated.


[WIP] add np's flip functionality

@rteja1113 thanks for your work on this patch, was just wondering about its current status? Seems like the implementation is there but it could do with some tests writing?

@rteja1113 thanks for your work on this patch, was just wondering about its current status? Seems like the implementation is there but it could do with some tests writing?

Yes, I need to write tests. I'll finish that once I get home :)

@rteja1113 thanks for your work on this patch, was just wondering about its current status? Seems like the implementation is there but it could do with some tests writing?

Yes, I need to write tests. I'll finish that once I get home :)

Ah great, thanks very much.

Just checking in on the state of this PR. @rteja1113 was wondering if you have time to address the above, if not, don't worry, one of the core developers can take over to do the fixes. Thanks.

Hi @stuartarchibald,
Unfortunately, I won't be able to finish this PR. I realized that I need to
know more about the numba and I don't want to slow you guys down.
Sorry about that.
Thanks
On Mon, Aug 12, 2019 at 5:47 AM stuartarchibald<EMAIL_ADDRESS>wrote:

Just checking in on the state of this PR. @rteja1113
https://github.com/rteja1113 was wondering if you have time to address
the above, if not, don't worry, one of the core developers can take over to
do the fixes. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/numba/numba/pull/4376?email_source=notifications&email_token=ADC2CF5NANULACLK3UKEDX3QEFLXFA5CNFSM4IHNPQZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4CNMOA#issuecomment-520410680,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADC2CF2OBY45KX2IZVBYMBDQEFLXFANCNFSM4IHNPQZQ
.

@rteja1113 no problem, thanks for letting us know. If you think there's anything we can do to help speed up knowing enough about Numba to feel more comfortable writing PRs like this please do say, feedback is always welcome. Also, there's a guide to using @overload now in the docs.

Closing, patches forwarded to https://github.com/numba/numba/pull/5313 with view to merge as part of that PR.


Discrepancy in loglikelihoods between R/lmer and MixedModels.jl/lmm when weights is used

I am evaluating switching from R/lme4 to MixedModels.jl for its superior speed. I am getting very different log-likelihoods for models estimated using these two packages when weights is provided (the log-likelihoods are identical when no weights is used). Any insights what may explain the discrepancy? Thanks!
Below is the code that produces the phenomenon:
##R
library(lme4)
set.seed(1)
wts <- runif(nrow(mtcars), 0, 30)
mtcars$wts <- wts

lmm_rw <- lmer(mpg ~ wt  + (wt | vs), mtcars, weights=wts, REML=FALSE)
lmm_r  <- lmer(mpg ~ wt  + (wt | vs), mtcars, REML=FALSE)
logLik(lmm_rw); logLik(lmm_r)
#'log Lik.' -83.43746 (df=6)
#'log Lik.' -76.69613 (df=6)

write.csv(mtcars, "./mtcars.csv")

##julia
using DataFrames
using MixedModels
mtcars = readtable("./mtcars.csv");
wts = convert(Array, mtcars[:wts]);

lmm_w = fit!(lmm(@formula(mpg ~ wt + (wt | vs)), mtcars, weights=wts))
lmm_r = fit!(lmm(@formula(mpg ~ wt + (wt | vs)), mtcars))
loglikelihood(lmm_w)
#-123.013855036427
loglikelihood(lmm_r)
#-76.69613038651636

Thank you for including a reproducible example.
I failed to include a term that depends on the weights in the objective function.  A fix for this should be available later today.
This term is a constant and does not affect the location of the parameter estimates, it simply changes the value of the loglikelihood as you indicate.
As an aside, the RCall package makes it easy to compare results from R and Julia.
julia> using DataFrames, MixedModels, RCall

julia> R"set.seed(1); mtcars$wts <- wts <- runif(nrow(mtcars), 0, 30)"
RCall.RObject{RCall.RealSxp}
 [1]  7.965260 11.163717 17.185601 27.246234  6.050458 26.951691 28.340258
 [8] 19.823934 18.873421  1.853588  6.179237  5.296703 20.610685 11.523112
[15] 23.095243 14.930977 21.528555 29.757183 11.401055 23.323357 28.041157
[22]  6.364276 19.550213  3.766653  8.016620 11.583423  0.401710 11.471639
[29] 26.090725 10.210470 14.462403 17.986975

julia> R"logLik(lmer(mpg ~ wt + (wt|vs), mtcars, REML=FALSE))"
RCall.RObject{RCall.RealSxp}
'log Lik.' -76.69613 (df=6)

julia> @rget mtcars;

julia> loglikelihood(fit!(lmm(@formula(mpg ~ 1 + wt + (1+wt|vs)), mtcars, weights=Array(mtcars[:wts]))))
-123.01385503642763

Thanks for fixing the issue so quickly and for the tip for running R code from julia; I appreciate it!


Warn if words in mnemonic phrase missed in wordlist, don't block recovery

Please remember to allow recovery from mnemonic phrases that have invalid checksums (or that you don't have the wordlist)
When a checksum is invalid, warn the user that the phrase is not something generated by your app, and ask if they would like to use it anyway. This way, your app only needs to hold the wordlists for your supported languages, but you can recover phrases made by other apps in other languages.
However, there should be other checks in place, such as checking to make sure the user is inputting 12 words or more separated by a space. ie. phrase.trim().split(/\s+/g).length >= 12

https://www.npmjs.com/package/bip39
Actually, do we validate the checksum of the mnemonic phrase? I've swapped two last words in my mnemonic phrase and it got accepted.

I've used "eye quarter chapter suit cruel scrub verify stuff volume control learn dust" and appears that if I swap two last words the mnemonic phrase would be correct indeed. Doing different swaps I've got the error "Account not found. Please check again your seed phrase.".

Account not found

Sounds confusing

You may reject this feature considering users may lose their funds because of a typo in a mnemonic phrase if they ignore a warning. The original issue was raised while discussing mnemonic security with @zxq9

We thought about it and decided it might bring more risk than benefit. Will close it.  Feel free to open the issue back up if there are any unresolved issues or additional questions.


Add s390x support for travis

As Travis CI officially supports s390x builds, adding support for same.

Not against, but is there actually anyone who will fix s390 issues if they would occur?
Is it needed to duplicate all entries? Wouldn't just adding an "arch:" entry work like described here.

Hi,
Yes, we already build and maintain carbon on s390x. Our build instructions are published here .
Regarding "Is it needed to duplicate all entries? ", if we just add "arch: " entry, only 3 travis builds are triggered for s390x for the 3 environments mentioned at " https://github.com/graphite-project/carbon/blob/master/.travis.yml#L34 "  and the ones in the matrix are not triggered. Hence added it separately.

Hi, any updates on the PR if the changes can be merged?


Correct typo in french translation

Thanks, but it would be great if you could make the change on Weblate: https://hosted.weblate.org/projects/godot-engine/godot/
Otherwise it will be overwritten next time I sync the git repo with the Weblate translations.

Actually it's fixed in weblate already, it will be fixed in git next time I sync the translations.


Deploy DBS components on our infrastructure

deployed the following components:

dbs (oceanprotocol/dbs:next)
dbs_filecoin (oceanprotocol/dbs_filecoin:next)
dbs_arweave (oceanprotocol/dbs_arweave:next)

URL: https://dbs.oceanprotocol.com

this is done, right? @jamiehewitt15 @md00ux
can we close this issue?


RFC: Options and groups

Currently there is some overlap between groups and highlight_groups, as well as some of our options.
Options
My initial thought is to deprecate the options below in favour of improving groups and contributing to https://github.com/rose-pine/neovim/wiki/Recipes.
bold_vert_split
{
	bold_vert_split = true,

	-- Is equal to

	highlight_groups = {
		VertSplit = { fg = "highlight_med", bg = "highlight_med" }
	}
}

dim_nc_background
We'll come back to this in the future.
Groups
Groups have proven to be quite beneficial for customising Rosé Pine.
{
	groups = {
		comment = "foam"
	},

	-- Is equal to

	highlight_groups = {
		Comment = { fg = "foam" },

		-- Highlight groups give the user more control
		Comment = { fg = "foam", bg = "foam", blend = 10, italic = true }
	},
}

I think it makes sense to deprecate duplicate groups:

groups.base
Setting groups.base = "none" seems like the only useful override but can also be achieved via disable_background = true

groups.panel
Similar to groups.base, removable via disable_float_background = true

groups.base_nc and groups.panel_nc
need some more thought

groups.border
Slightly more discoverable, but if we linked all borders to FloatBorder we could replace it with:
- groups.border = "highlight_med"
+ highlight_groups["FloatBorder"] = { fg = "highlight_med", bg = "surface" }

groups.comment
- groups.comment = "muted"
+ highlight_groups["Comment"] = { fg = "muted" }

groups.link
- groups.link = "iris"
+<EMAIL_ADDRESS>= { fg = "iris", sp = "iris", underline = true }

groups.punctuation
- groups.punctuation = "subtle"
+ highlight_groups["@punctuation"] = "subtle"

Closing thoughts
Mainly thinking out loud here. Having so many options for a theme feels silly. Open to any feedback and suggestions.
More highlights can be linked to similar existing highlights for proposals to be more viable.

I'm leaning against changing points 4-7. After some testing, relying on arbitrary highlight groups such as @text.uri to change all links does not seem intuitive. Need to put some more thought into this to see if any meaninful changes and simplifications can be made to justify any breaking changes (any deprecated options should be gracefully handled).

That would be ideal, because you have more flexibility when setting highlight_groups whereas groups would contain anything that changes multiple highlight groups, e.g punctuation.
If these changes are made, I don’t think I would remove any previously working options but simply remove them from any documentation to avoid breaking changes.

Yeah I think that would absolutely be a good change.
One thing that would be nice as well is if highlight_groups could maintain their default behaviour for untouched options when being changed.
If I only want to, for example, enable italics on paramaters but not touch the default colour, currently I have to do ["@parameter"] = { fg = "iris", italic = true }, for it to maintain the colour set by rose pine. It would be nice if I could just change one aspect of a highlight_group without it changing all the others unintentionally. This means that ["@parameter"] = { italic = true }, would only enable highlights but not touch the default colours or whether it's bold or not.

One thing that would be nice as well is if highlight_groups could maintain their default behaviour for untouched options when being changed.
If I only want to, for example, enable italics on paramaters but not touch the default colour, currently I have to do ["@parameter"] = { fg = "iris", italic = true }, for it to maintain the colour set by rose pine. It would be nice if I could just change one aspect of a highlight_group without it changing all the others unintentionally. This means that ["@parameter"] = { italic = true }, would only enable highlights but not touch the default colours or whether it's bold or not.

PR for this is now up. pull #171


[webserver] SSL generation uncertain

Generating SSL certificate files in storage seems not to be working, also this functionality is hardly finished. In order to fully test this, hyn/management-interface must be extended to include adding certificates. Hostnames are automatically parsed from the certificate.

Related: https://github.com/hyn/multi-tenant/issues/19


How to scrape website with hashtag?

How to scrape website with hashtag?
For example, how ho scrape this landing page: https://folliclerx.com/#/es/main/
?

@SuperMario360 it looks like the readme states that this tool scrapes static websites whereas https://github.com/s0ph1e/node-website-scraper-phantom will be able to scrape dynamic websites.

Note: by default dynamic websites (where content is loaded by js) may be saved not correctly because website-scraper doesn't execute js, it only parses http responses for html and css files. If you need to download dynamic website take a look on website-scraper-phantom.

Hi @SuperMario360
This site is rendered using js, please try to use website-scraper-phantom

web-scraper-phantom It worked perfectly. Great!


Version 1.1.3

Landed in https://github.com/metarhia/config/commit/5a1ccd0c35cc40c90f4153dca8f7d30c99bff461, https://github.com/metarhia/config/commit/69d7fb7d2de2c8790b3e41c3ebd62316fe952731 and https://github.com/metarhia/config/commit/bab4105a13777fcfc4b6bc3ebb179e5dbcbe167c


[FLINK-34379][table] Fix OutOfMemoryError with large queries

What is the purpose of the change
Fix OutOfMemoryError with large queries and when table.optimizer.dynamic-filtering.enabled.
Brief change log

Fix the OOM cause in DynamicPartitionPruningUtils
Add tests

Verifying this change
Added test to DynamicPartitionPruningProgramTest.testLargeQueryPlanShouldNotOutOfMemory
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): ( no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

Hi @lsyldliu thanks for the review. I addressed your comments. Could you please check in your available time? Thanks!


只要引入dayjs，热更新失效，页面直接卡死，刷新也卡死

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Browser: chrome<IP_ADDRESS>

我用 element-plus 也一样，估计是 dayjs 的锅


PR: Colorize docstrings with a separate color

Fixes #295
Description
Creates a new element in syntax highlighters (code: docstring, English: Documentation) that can be used to give a different color to code that is documentation (python docstrings, javadocs or other special comments, etc).
Also modifies the PythonSH to match docstrings. Docstrings are strings that are the very beginning of a line (module docstrings) or strings right after a definition (def or class). There are a number of tricky cases, and the code proposed here does not handle all of them correctly, as illustrated below (see if you can find other tricky cases!):

I think this is good enough for most cases, but of course may require discussions.
Improving it would I think require to complexify the PythonSH.highlightBlock() method even more, and it is already quite hard to read in my opinion. By the way, any reason for not using the tokenize module of Python? I think it would simplify the parsing, especially of strings, and it was made for that.

Hi @rthouvenin, thanks for working on this, we are in the middle of a beta2 release so bear with us on the code review of this one.
I agree that the PythonSH.highlightBlock() is a bit complex. I think the reason we do not use tokenize is because it is slower, but we will have to revisit this at some point. The simplest would be to use pygments as we do for all the other syntax highlighters that we do not implement ourselves, but that would mean being slower also...

No worries, I agree that this is not urgent. And anyway now I have it working on my local Spyder :)

Docstrings are strings that are the very beginning of a line (module docstrings)

You mean "file" rather that "line" here, right ? Also there could be comments before (like the shebang and the encoding).

@Nodd Yes you're right, I was describing the way I implemented it. "at the very beginning of the line" (so no white space before) is an approximation of module docstring that works because other docstrings are necessarily indented (in a function or class). This is why in my example file, the string at the end of the file is colorized as a docstring.
Enforcing beginning of a file would have been trickier because the code is parsed line by line.

The feature would be a nice addition I think, but I'd say that your current implementation is too limited to be included in spyder, too many corner cases fail and we would have lots of complaints from users. So if you could put some more work into this, please do ! (or maybe someone else will take over ?)

I'd be OK to try to give it some more time, but as mentioned earlier this would be a major change. Doing it without refactoring the parsing and colorizing code would make it become unreasonably complex and hard to maintain. Also, Gonzalo thinks this could bring performance issues.
Is there any regression test suite and/or profiling set-up that can be used to assert nothing is broken?

About a test suite, see this discussion: https://github.com/spyder-ide/spyder/issues/2268. In short no, there is no test suite. Travis only checks if spyder launches then closes successfully.
Some files have a if __name__ == "__main__": block so that manual tests are easier to run.

What should we do about this PR?

@goanpeca, I think pyqode has a good implementation to colorize docstrings different from regular strings. We should borrow that and close this PR instead :-)


A0-813: Multisignature module for aleph-client

Description
This PR introduces multisig module to the aleph-client lib crate. It enables creating multisig aggregations, canceling and reporting approvals. This is needed for implementing corresponding scenarios.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Infrastructure updated accordingly
[ ] I have made corresponding changes to the documentation
[x] New documentation created
[ ] Bump spec_version and transaction_version if relevant
[x] Bump aleph-client version if relevant

For reviewers
The easiest way to test it is to expand trivially cliain as it has been done before commit revert changes to cliain. Just look at the diff of this particular commit and you will get the spaghetti code that should be useful for playing.

@kostekIV  added logging


Error with sandbox cert, key and production: false

			var options = {
				cert: './dcert.pem',
				key: './dkey.pem',
				passphrase: 'xxxxx',
				production: false,
			};

Pem files are for development and production is set to false as you can see but I am seeing below error
Error: certificate does not support configured environment, production: false

Do you also have cert.pem and key.pem in that directory?
—A

On 13 Jan 2016, at 05:17, Harun Urhan<EMAIL_ADDRESS>wrote:
        var options = {
            cert: './dcert.pem',
            key: './dkey.pem',
            passphrase: 'xxxxx',
            production: false,
        };

Pem files are for development and production is set to false as you can see but I am seeing below error
Error: certificate does not support configured environment, production: false
—
Reply to this email directly or view it on GitHub.

@argon No I didn't have but with new certificates it works right now. So I am closing this issue.
Thanks for your response!


Filtering parent entity by a condition in child entity using ANY causing invalid SQL

When trying to filter the parent entity by child entity, SQL generated is invalid
Parent Entity:
[Table("tblOrders")]
    public class Order
    {
        public int OrderId { get; set; }
        public int MemberId { get; set; }
        public DateTime OrderDate { get; set; }
        public double TotalValue { get; set; }
        [Column("OrderCancelled")]
        public bool Cancelled { get; set; }
        [Column("Special_Instructions")]
        public string SpecialInstructions { get; set; }
        public string CallCentreNotes { get; set; }
        public DateTime? DoorEntryTime { get; set; }
        public int DoorEntryCount { get; set; }

        //navigation properties
        public ICollection<Ticket> Tickets { get; set; }

    }

Child Entity:
[Table("tblTicketSales")]
   public class Ticket {
       public int TicketId { get; set; }
       [Column("TicketQty")]
       public int Quantity { get; set; }
       //[Column("TicketPax")]
       //public int Pax { get; set; }
       //public string Seats { get; set; }

       public double TicketPrice { get; set; }

       //navigation property
       [ForeignKey("Order")]
       [Column("OrderId")]
       [JsonIgnore]
       public int OrderId { get; set; }
       [ForeignKey("OrderId")]
       [JsonIgnore]
       public virtual Order Order { get; set; }
       public int TicketSeatTypeId { get; set; }
       public virtual TicketSeatType TicketSeatType { get; set; }
   }

Controller Query:
var order = _context.Orders.Include(e => e.Tickets).Where(e => e.Cancelled == false && e.OrderId == id).Any(e=>e.Tickets.Any(t=>t.Quantity!=0))
Generated SQL with syntax error:
SELECT CASE     WHEN EXISTS (         SELECT 1         FROM [tblOrders] AS [e]         WHERE (([e].[OrderCancelled] = 0) AND ([e].[OrderId] = @__id_0)) AND (             SELECT CASE                 WHEN EXISTS (                     SELECT 1                     FROM [tblTicketSales] AS [t]                     WHERE ([t].[TicketQty] <> 0) AND ([e].[OrderId] = [t].[OrderId]))                 THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT)             END         ))     THEN CAST(1 AS BIT) ELSE CAST(0 AS BIT) END

dupe of #4877. fixed in latest code already.


New users unable to register on pygame.org.

So I tried registering on the website and it threw me an Internal Server error
pygame Internal Server Error Image .
I set up a local version after side stepping a couple of  migration issues (thanks to commenting them out as in https://github.com/pygame/pygameweb/issues/10), and it looks like the server .env file might not be configured correctly i.e the "E-Mail Setup" section.
After I tested with a local updated version of .env, I was able to register a new user  locally.
IMO, this is the resolution. If not, there's still a problem.

Hi,
It looks like it is the spam protection, and not the email configuration. There is some spam protection which to the user looks like a failure when it kicks in. Often because the ip address of the person signing up has made its way into a spam blacklist somehow. (not suggesting you're a spammer here, addresses get caught up in there sometimes by mistake). I do use quite well maintained spam block lists, but I'm afraid they are not always accurate.
If you privately message me your email I can sign you up.
cheers,


Cannot install package because of node-gyp-build error

Describe The Bug
Hello!
I am running Homebridge on my Loxberry and wanted to give this plugin a try: https://github.com/rudyberends/homebridge-loxone-proxy
During npm installation I get the following error:
USER: loxberry
DIR: /usr
CMD: sudo -E -n npm install -g<EMAIL_ADDRESS>
(##################) ⠦ reify:rxjs: timing reifyNode:node_modules/homebridge-loxone-pro
><EMAIL_ADDRESS>install
> node-gyp-build

(##################) ⠏ reify:rxjs: timing reifyNode:node_modules/homebridge-loxone-pro
make: Entering directory '/usr/lib/node_modules/homebridge-loxone-proxy/node_modules/bufferutil/build'
  CC(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/obj.target/bufferutil.nodeodules/homebridge-loxone-pro
make: g++: No such file or directory
make: *** [bufferutil.target.mk:137: Release/obj.target/bufferutil.node] Error 127
make: Leaving directory '/usr/lib/node_modules/homebridge-loxone-proxy/node_modules/bufferutil/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
gyp ERR!  A complete log of this run can be found in: /opt/loxberry/.npm/_logs/2024-03-28T14_27_08_369Z-debug-0.log

Operation failed with code 1.
You can download this log file for future reference.
See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.

These errors are happening for v1.9.1 and v1.10.0-beta-5.
Logs
homebridge-loxone-proxy-error.log
Config
No response
Homebridge UI Version
Latest
Homebridge Version
Latest
Node.js Version
20.12.0
Operating System
Raspberry Pi OS / Raspbian
Environment Info
None
Raspberry Pi Model
Raspberry Pi 4 B

In the homebridge terminal, run this:
sudo apt install build-essential

and then try to install the plugin again

Gonna close this as issues for specific plugins should really be opened against the plugin repo on GitHub, not on this UI repo.
Hopefully the command I suggested above worked for you 👍


Improve efficiency of JavaScript minification

With a few changes, we can improve the efficiency of the JavaScript minification:

Pass global document variable by reference to factory function.
Cache object properties in variables.

This produces a savings of about 110 bytes in the minified JavaScript file—not a huge difference, but might be worth it considering the changes are simple.

@dboulet Thanks for this. 110 bytes is a meaningful improvement, I think. Let me review and I'll merge asap.
Quick question, as I'm still groking AMD/Common JS: Is there a reason one would pass the document variable into the factory function?

Thanks, Chris. My goal was only to allow the minifier to replace all instance of document with a shorter variable name, within the scope of the factory function. I did it by passing the variable in as an argument to the function, but it’s possible that there’s a better way.


Added allImports property to Type class

Added allImports property to Type, which returns all imports exited in all files containing this type and all its super classes/protocols.
Example:
In following scenario, allImports property for SomeProtocol type would return ["AModule", "BModule"] removing duplicates if any.
File1.swift

import AModule

public protocol SomeProtocol: BaseProtocol {}

File2.swift

import AModule
import BModule

public protocol BaseProtocol {}

@krzysztofzablocki  @ilyapuchka, I couldn't merge the PR, someone please merge when u get time, Thanks.

thanks for contributing 🙇


implement useTina hook

This implementation was a bit more complicated than the others, as it uses useQuery at the root level. We may want to consider splitting this into it's own container within tinacms

[ ] THIS SHOULD WAIT FOR EVERYTHING HERE TO BE APPROVED BEFORE MERGING

Is there any reason why you didn't do things on a page by page basis as you did here https://github.com/tinacms/tina-barebones-starter/pull/20/files#diff-7c97c1ad17c63f34774324965f81661cea32f533a65c39ab03576069972e4d0e. Having two different paths might confuse folks why are getting started with the tina-cloud-starter

Is there any reason why you didn't do things on a page by page basis as you did here https://github.com/tinacms/tina-barebones-starter/pull/20/files#diff-7c97c1ad17c63f34774324965f81661cea32f533a65c39ab03576069972e4d0e. Having two different paths might confuse folks why are getting started with the tina-cloud-starter

Yeah this one was a bit weirder than the rest. There's a bit more context here: https://github.com/tinacms/tinacms/issues/2503
A different approach might be the move the layout down into each page?


Fix update tests

This should do it @orbeckst (at least locally it does for me).

Hello @IAlibay! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file MDAnalysisData/base.py:

Line 210:80: E501 line too long (83 > 79 characters)

In the file MDAnalysisData/descr/__init__.py:

Line 1:1: W391 blank line at end of file


Got transaction_id, but swap did not complete.

Thanks for the great job!
I'm using a code snippet, I'm going to exchange sol for usdt, I get a transaction_id, but the swap is not executed, and there is no such transaction in explorer.solana.com.
Can you tell me what this might be connected with?

Might need to include a priority fee to ensure it gets picked up and pushed through.
I'm still trying to figure out how to include the priority fee param. It was apparently added, but I keep getting an error when trying to push it through.
https://github.com/0xTaoDev/jupiter-python-sdk/issues/25

I've already tried all the options, it doesn't work :( what will be the options?

Adding these parameters to the swap parameters fixed this issue for me :
"prioritizationFeeLamports": "auto",
"dynamicComputeUnitLimit": True,


setup.cfg installs an incompatible version of sc3nb

The necessity of installing sc3nb as mentioned in Readme.rst can be avoided by referencing the repository in the dependency section. I know this can be done via requirements.txt  or pyproject.toml which makes be confident that this should also be possible with setup.cfg. Maybe PEP 0508 contains a lead.

Thank you for the notice. I agree that this is not an optimal solution but a new version of sc3nb should be released soon and then a specially defined dependency won't be necessary anymore.


Untyped JSON value is not able to customize the indentation

I found the following code is not working anymore.
use serde_json::json;

fn main() {
    let obj = json!({"foo":1,"bar":2});

    let mut buf = Vec::new();
    let formatter = serde_json::ser::PrettyFormatter::with_indent(b"    ");
    let mut ser = serde_json::Serializer::with_formatter(&mut buf, formatter);
    obj.serialize(&mut ser).unwrap();
    println!("{}", String::from_utf8(buf).unwrap());
}

error[E0599]: no method named serialize found for enum Value in the current scope

Need to add
serde = { version = "1.0", features = ["derive"] }


Initialization Updates

Relatively minor pull (it looks more brutal than it is I think!) request focusing on:

Initializing the repository and updated organization
Removing an old scripts
Updating language in README
Adding new script for subsetting sample set freeze and processing data (really to replace the outdated subsetting script I am also removing)

thanks for your comments @tj8901nm! I've pushed new commits and the PR is ready again for your review


Remove go-systemd dependency

This dependency is no longer used. It also requires openshift installer to replace go-systemd (https://github.com/openshift/installer/blob/master/go.mod#L130) and prevent including Ignition v2.3.0.
Other deps are updated after running go mod verify && go mod tidy

@stbenjam can we get this merged? We need this for the upcoming Ignition spec v3.1 migration


fix: Upgrade default TLS policy for load balancer

AWS recommended TLS policy for load balancers  is ELBSecurityPolicy-TLS13-1-2-2021-06. This PR switches the default load balancers to use a modern TLS configuration.
Reference

Closing because ALBs don't support this policy yet.


Signature not working Google Chrome, mobile devices (width >= 1080)

Hi,
First thank you for your work.
Secondly, I have a problem with some mobile devices (smart phones and tablets) of width greater than or equal to 1080 pixels (like HTC M9 Plus, Moto g (6) and Moto g5 Plus, Samsung SM-T385M). In these devices the signature doesn't work, when I try to sign, the page do a scroll (up or down) and only draw a point into the canvas (look the image). The issue only happen in Google Chrome, in Firefox works fine (with one or more signatures). In other case with more than one signature, only the first signature works and the others doesn't work -Google Chrome-.

Watching the browser console I found this error:
[Intervention] Ignored attempt to cancel a touch event with cancelable = false, for example because scrolling is in progress and cannot be interrupted signature-pad.js:63
In this line:
this._handleTouchEnd = function (event) {            var wasCanvasTouched = event.target === self._canvas;            if (wasCanvasTouched) {                event.preventDefault();                self._strokeEnd(event);         } };
I changed it to:
this._handleTouchEnd = function (event) {    var wasCanvasTouched = event.target === self._canvas;     if (wasCanvasTouched && event.cancelable) {         event.preventDefault();         self._strokeEnd(event);      } };
The error in the console stopped to appearing, but the signature not working yet. I tried with version 2.3.0 and does not work either.
Maybe do you have any idea about it?. Thanks.

I got no idea why it might be happening. Could you add a listener for scroll event and see if the error message is right, i.e. there's "scrolling in progress"?

Sorry for the delay.
Yes, I can.
Let me see if I can set up a demo for you.

Szymon,
CodePain:

Editor: https://codepen.io/cristhiandt/pen/bZmBQx?editors=1111
Test in your tablet: https://codepen.io/cristhiandt/full/bZmBQx

I added a listener for scroll event, "scrolling" open the browser console.

@szimek

Hi,
Have you been able to check it? @szimek :C

Hi,
I had this same issue, I think I've fixed it by implementing the following within an on load & resize function:
$('canvas.sig_canvas').each(function(){
  var id = $(this).attr('id'); //Get the ID of signature
  var width = $(this).closest('.sig_container').width(); //Get the width of the signature container
  sig_pads[id].off(); //Unbind all events on signature pad (I have an array of them)

  if(!$(this).data('prev_width') || Math.abs(width - $(this).data('prev_width')) > 30){ //Resize threshold 30px, only resize if previous width has changed by 30 pxs
    var ctx = $(this)[0].getContext('2d'); //Get context
    $(this).attr('width', width); //Set canvas width
    ctx.canvas.width  = width; //Set context width
    $(this).data('prev_width', width); //Update prev_width for threshold
  }
  sig_pads[id].on(); //Rebind all signature events
});

I am not sure if it was unbinding and rebinding or if it was setting a canvas width as well as context width that seems to have fixed it.
Hope this helps you.

According to @Steeveuk things, Just use the SignaturePadInstance.off() and re enable by SignaturePadInstance.on()

@cristhianDt did unbinding and ubinding events (SignaturePadInstance.off() and SignaturePadInstance.on()) work for you?
I am facing the same issue in cef.


addTags and radio buttons

How do I construct radio button tags for the addTags array? I'm struggling to make it work.

hi @EtgolWalkor please see this jsbin hope it helps.


Clean project plugins

Feature description
I want to clean plugins which are infrequently used OR out-dated. What do you think? @Jint-lzxy @CharlesChiuGit @aarnphm
Additional information
junegunn/vim-easy-align: 1780 days ago
lukas-reineke/cmp-under-comparator: 853 days ago
hrsh7th/cmp-buffer: 581 days ago
gelguy/wilder.nvim: 578 days ago
edluffy/specs.nvim: 540 days ago
hrsh7th/cmp-path: 527 days ago
kdheepak/cmp-latex-symbols: 415 days ago
jvgrootveld/telescope-zoxide: 399 days ago
mfussenegger/nvim-treehopper: 383 days ago
rainbowhxch/accelerated-jk.nvim: 378 days ago
folke/paint.nvim: 360 days ago
ray-x/cmp-treesitter: 353 days ago
ahmedkhalf/project.nvim: 345 days ago
ojroques/nvim-bufdel: 335 days ago
hrsh7th/cmp-nvim-lua: 334 days ago
zbirenbaum/neodim: 280 days ago
romgrk/fzy-lua-native: 279 days ago
numToStr/Comment.nvim: 219 days ago
joechrisellis/lsp-format-modifications.nvim: 206 days ago
dnlhc/glance.nvim: 200 days ago
romainl/vim-cool: 189 days ago
f3fora/cmp-spell: 175 days ago
saadparwaiz1/cmp_luasnip: 156 days ago
folke/flash.nvim: 148 days ago
iamcco/markdown-preview.nvim: 148 days ago
folke/trouble.nvim: 147 days ago
folke/which-key.nvim: 145 days ago
LunarVim/bigfile.nvim: 128 days ago
debugloop/telescope-undo.nvim: 118 days ago
sindrets/diffview.nvim: 114 days ago
chrisbra/csv.vim: 103 days ago
hrsh7th/cmp-nvim-lsp: 94 days ago
Jint-lzxy/lsp_signature.nvim: 90 days ago
nvim-telescope/telescope-live-grep-args.nvim: 89 days ago
NvChad/nvim-colorizer.lua: 81 days ago
smoka7/hop.nvim: 72 days ago
michaelb/sniprun: 57 days ago
max397574/better-escape.nvim: 52 days ago
Jint-lzxy/nvim: 50 days ago
mrcjkb/rustaceanvim: 48 days ago
hrsh7th/nvim-cmp: 40 days ago
JoosepAlviste/nvim-ts-context-commentstring: 40 days ago
RRethy/vim-illuminate: 39 days ago
windwp/nvim-ts-autotag: 35 days ago
akinsho/toggleterm.nvim: 30 days ago
lukas-reineke/indent-blankline.nvim: 29 days ago
mfussenegger/nvim-dap: 25 days ago
rcarriga/nvim-notify: 25 days ago
rcarriga/nvim-dap-ui: 25 days ago
dstein64/nvim-scrollview: 24 days ago
abecodes/tabout.nvim: 24 days ago
j-hui/fidget.nvim: 23 days ago
m4xshen/autoclose.nvim: 19 days ago
andymass/vim-matchup: 18 days ago
rafamadriz/friendly-snippets: 18 days ago
nvim-telescope/telescope-frecency.nvim: 17 days ago
williamboman/mason.nvim: 17 days ago
fatih/vim-go: 17 days ago
goolord/alpha-nvim: 17 days ago
jay-babu/mason-null-ls.nvim: 14 days ago
nvimtools/none-ls.nvim: 14 days ago
andersevenrud/cmp-tmux: 13 days ago
hiphish/rainbow-delimiters.nvim: 13 days ago
jay-babu/mason-nvim-dap.nvim: 11 days ago
kevinhwang91/nvim-bqf: 11 days ago
L3MON4D3/LuaSnip: 10 days ago
tpope/vim-fugitive: 10 days ago
nvim-treesitter/nvim-treesitter-context: 8 days ago
ibhagwan/smartyank.nvim: 8 days ago
nvim-telescope/telescope-fzf-native.nvim: 8 days ago
nvim-lua/plenary.nvim: 7 days ago
olimorris/persisted.nvim: 7 days ago
nvim-telescope/telescope.nvim: 6 days ago
akinsho/bufferline.nvim: 6 days ago
Saecki/crates.nvim: 6 days ago
folke/lazy.nvim: 6 days ago
nvim-tree/nvim-web-devicons: 4 days ago
nvim-tree/nvim-tree.lua: 4 days ago
williamboman/mason-lspconfig.nvim: 3 days ago
karb94/neoscroll.nvim: 3 days ago
nvim-lualine/lualine.nvim: 2 days ago
stevearc/aerial.nvim: 2 days ago
lewis6991/gitsigns.nvim: 1 day ago
lambdalisue/suda.vim: 1 day ago
nvim-treesitter/nvim-treesitter: 1 day ago
nvim-treesitter/nvim-treesitter-textobjects: 1 day ago
junegunn/fzf: 1 day ago
nvimdev/lspsaga.nvim: 1 day ago
neovim/nvim-lspconfig: 1 day ago

And some awesome plugins can be added like mentioned in #1157 and https://github.com/ayamir/nvimdots/discussions/494.

totally support this

+1 for this. Let's try to think hard about the workflow we want to do.
My setup currently revolves around mini.nvim ecosystem, telescope, and treesitter, and native lsp, that's it.

Some plugins tend to remove PERSONALLY:
REASON 1: not editor core function
REASON 2: longtime no updates
REASON 3: infrequently used
REASON 4: can be completed by other existing means
REASON 5: can be completed by other better plugins
junegunn/vim-easy-align: 1,2,3
edluffy/specs.nvim: 1,2
rainbowhxch/accelerated-jk.nvim: 1,2
abecodes/tabout.nvim: 3,4
max397574/better-escape.nvim: 3,4(<Esc> is enough)
tpope/vim-fugitive: 3,4(lazygit)
NvChad/nvim-colorizer.lua: 3,5(brenoprata10/nvim-highlight-colors)
karb94/neoscroll.nvim: 1
debugloop/telescope-undo.nvim: 3

junegunn/vim-easy-align: 1,2,3
can be replaced with mini.align

edluffy/specs.nvim: 1,2
abecodes/tabout.nvim: 3,4
rainbowhxch/accelerated-jk.nvim: 1,2
not sure what this does, so def don't need these

max397574/better-escape.nvim: 3,4(<Esc> is enough)
agree

tpope/vim-fugitive: 3,4(lazygit)
fugitive is fine, it is preferences.

NvChad/nvim-colorizer.lua: 3,5(brenoprata10/nvim-highlight-colors)
my two cent: colorizer works well, no need to change tbh.

folke/flash.nvim and smoka7/hop.nvim: 5(ggandor/leap.nvim)
leap and flit works wonder, +1 for this

faith/vim-go: 5(ray-x/go.nvim)
IMO vim-go is actually less bloat than go.nvim. I don't agree with most ray-x's plugins philosophy.

j-hui/fidget.nvim: 1 debugloop/telescope-undo.nvim: 3
never used these

Response:
junegunn/vim-easy-align

agree w/ aarnphm, mini.align seems nice.

edluffy/specs.nvim
abecodes/tabout.nvim
rainbowhxch/accelerated-jk.nvim
max397574/better-escape.nvim

yeah, i dont use those too lol

tpope/vim-fugitive

i'm fine w/ this, it's a way to show respect to tpope. although i almost exit vim and use lazygit or git command directly lmao

faith/vim-go

no opinion, since i dont do golang.

NvChad/nvim-colorizer.lua

i tend to replace it w/ https://github.com/brenoprata10/nvim-highlight-colors. i think some front-end users use tailwind a lot, it' s nice to have the option there.

j-hui/fidget.nvim

it's quite useful for me when i need to try some new LSs and check if it starts.

folke/flash.nvim

i use flash.nvim most of the time now lol

Propose:
replacement or remove:

olimorris/persisted.nvim

personally i never use this, i just use tmux lol ( i drop zellij for now since i need to retrain my muscle memory lol

https://github.com/tzachar/local-highlight.nvim seems like a good replacement for https://github.com/RRethy/vim-illuminate.

it only render local region, which should improve loading speed a bit, but we'll lose catppuccin intergration.

Replace wilder.nvim with hrsh7th/cmp-cmdline.

i personally prefer https://github.com/stevearc/conform.nvim's config style than none-ls's, it give us an easier way to fine-tune what linter/formatter to use on what langs.

functional plugins:

https://github.com/folke/todo-comments.nvim, i use this quite a lot, very useful for hinting.
https://github.com/LiadOz/nvim-dap-repl-highlights improve highlights in DAP.
https://github.com/mrjones2014/smart-splits.nvim for wezterm, tmux, kitty intergration.
i would like to bring https://github.com/folke/trouble.nvim back, it just help me jump around errors easier.
https://github.com/lukas-reineke/headlines.nvim useful when editting markdown files, and it has cattpuccin support.
https://github.com/MTDL9/vim-log-highlighting useful when viewing logs in vim.

quality of life:

https://github.com/monaqa/dial.nvim, i just love this plugin that helps me swtich true/false w/ one hit lol.
https://github.com/aaronhallaert/advanced-git-search.nvim to work w/ telescope to search in git logs.
https://github.com/nacro90/numb.nvim seems useful, i use :XX quite often.
https://github.com/luckasRanarison/clear-action.nvim make code actions easier to use.

https://github.com/tpope/vim-sleuth is useful for smart tabsize for different projects.

We have never removed it lol.

lmao, i'm blinded.

Sorry guys, I found it's uncomfortable for me after removing better-escape.nvim.

https://github.com/kevinhwang91/nvim-ufo is an awesome plugin which brings modern code fold functions.

https://github.com/nvim-pack/nvim-spectre is useful as mentioned in #1157 .

https://github.com/mrjones2014/smart-splits.nvim for wezterm, tmux, kitty intergration.

The keymap of this plugin has a little bit conflicts with bufferline.nvim(<A-j> and <A-k>). There are two solutions:

set <A-;> and <A-'> for <A-j> and <A-k> which also overrides what we set in mappings.lua.
set existing bufferline keymaps to another mapppings like:

["n|<A-i>"] = map_cr("BufferLineCycleNext"):with_noremap():with_silent():with_desc("buffer: Switch to next"),
["n|<A-o>"] = map_cr("BufferLineCyclePrev"):with_noremap():with_silent():with_desc("buffer: Switch to prev"),
["n|<A-S-i>"] = map_cr("BufferLineMoveNext"):with_noremap():with_silent():with_desc("buffer: Move current to next"),
["n|<A-S-o>"] = map_cr("BufferLineMovePrev"):with_noremap():with_silent():with_desc("buffer: Move current to prev"),

kevinhwang91/nvim-ufo is an awesome plugin which brings modern code fold functions.

personally ufo is very much overkill. I have never found folding that helpful. F/f/T/t and fuzzy finder is more than enough usually.
spectre is good, use alongside with telescope feels illegal.
neoconf is also goated.

folke/neoconf.nvim agree, it's nice to have.

personally ufo is very much overkill. I have never found folding that helpful. F/f/T/t and fuzzy finder is more than enough usually.

yeah, i dont use folding too.

nvim-pack/nvim-spectre for plain text find and replace at project level as we mentioned in https://github.com/ayamir/nvimdots/issues/1157.

i tried spectre before, but not sure if the plugin have some bugs or i have difficulty learn, it just doesn't work for me.

The keymap of this plugin has a little bit conflicts with bufferline.nvim(<A-j> and <A-k>). There are two solutions:

set <A-;> and <A-'> for <A-j> and <A-k> which also overrides what we set in mappings.lua.
set existing bufferline keymaps to another mapppings like:

["n|<A-i>"] = map_cr("BufferLineCycleNext"):with_noremap():with_silent():with_desc("buffer: Switch to next"),
["n|<A-o>"] = map_cr("BufferLineCyclePrev"):with_noremap():with_silent():with_desc("buffer: Switch to prev"),
["n|<A-S-i>"] = map_cr("BufferLineMoveNext"):with_noremap():with_silent():with_desc("buffer: Move current to next"),
["n|<A-S-o>"] = map_cr("BufferLineMovePrev"):with_noremap():with_silent():with_desc("buffer: Move current to prev"),

i think i prefer the first option. tho we need to remember to change tutor too.

i think i prefer second option. tho we need to remember to change tutor too.

Agree, <A-i> and <A-o> are also keep align with <C-i> and <C-o> for jump.

i tried spectre before, but not sure if the plugin have some bugs or i have difficulty learn, it just doesn't work for me.

It works out of box for me lol.
https://github.com/ayamir/nvimdots/assets/61657399/9d964a25-8ddb-443d-b5db-235bad28f768

i personally prefer https://github.com/stevearc/conform.nvim 's config style than none-ls's, it give us an easier way to fine-tune what linter/formatter to use on what langs.

I'm little bit lazy about replacing current none-ls with conform and none-ls just works fine.

According to glepnir, the 0.10 stable version of neovim will be available by the end of this month if everything goes well

According to glepnir, the 0.10 stable version of neovim will be available by the end of this month if everything goes well

It looks like it's going to be put off until May

Sometimes I forgot about the stable releases, have been on nightly forever :)

Hmm I don't think  we have updated everything in here?

Hmm I don't think we have updated everything in here?

What?

Oh did we remove all unused plugins?
My initial thought is that  #1198 only remove a few?

No, I only removed the plugins that all of us proposaled to remove.

sg.


Add a verbose flag

Describe the bug
When I run taskcat lint, the program starts to perform actions, but it does not provide any indication to the user of what it's doing or what files it is checking. If I don't specify any input files, I expect the program to print help, or if it starts to do things, I expect it to tell me what it is doing (what actions is it performing, on what files,  etc).
Further confusing me is the fact that taskcat help suggests there is an -i flag to specify input files. So if I am not specifying an input file via -i, what input files is it using??
The program does not print any information about what files it is checking or what it is doing. (EDIT: taskcat does print what files it checked during the lint process, but only if the lint checks succeed. If there are any errors, the line number is reported, but no file name is reported.) There is also no --verbose flag or anything similar available to force the program to print out what it's doing or what files it's checking. The documentation and Readmes do not mention the lint action.
On an unrelated note - while looking for information in the readme, one  of the links to your documentation in the readme is broken (https://aws-quickstart.github.io/taskcat/apidocs/taskcat/testing/index.html).
This is a confusing and frustrating first exposure to taskcat.

Use --debug


Replace anchor with selection

Motivation
The anchor is a single caret selection, and it would cost very little to upgrade it to a range, which would unlock lots of capabilities. It would essentially allow manual selection, but with diffing by default. An example use case would be selecting a specific section of text under specific conditions, like, upon entry of a specific key.

Upgraded Snapshot/anchor to Snapshot/selection in e871ad0328009f7a4adfedebffe124c6b48127a0.

Snapshot/selection was moved to Commit/selection in #154


How to increase speed when performing closed-loop validation at Carla

Seeing that the code sets the Carla's FPS to 25Hz causes it to take a day to run one round of validation when running evaluate.py, how can I set it up so that the model can be validated faster?

According to the CARLA developers, the minimum FPS you can set is 10Hz. For faster evaluation, I set the constant CARLA_FPS=10 here https://github.com/wayveai/mile/blob/main/mile/constants.py#L4.
If you are evaluating single-frame models, it should work with a pretrained model. But if you're using temporal models, you have to make sure that the model was trained on the correct temporal stride.

Thanks！


Added linters to gitpod via vscode extensions

Fixes https://github.com/CircuitVerse/CircuitVerse/issues/990
Describe the changes you have made in this PR -

Added linters to gitpod via vscode extensions
Linters added:
ESlint
Ruby rubocop
scss-lint

Screenshots of the changes (If any) -

Screenshot of the Extensions tab in gitpod:

@tachyons Please review

Can you add https://marketplace.visualstudio.com/items?itemName=castwide.solargraph as well ?

And https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby

All done @tachyons !


Website(Docs): Update Admonitions Styles

Description
Update all admonitions (https://docusaurus.io/docs/markdown-features/admonitions) to match style guide light and dark modes

The paddings look off – it seems, they should be greater:

@moutro I defined all colors from the Figma in the file. Please get familiar with this commit:
https://github.com/wix/Detox/commit/331ac12a16fb263dd809371d3f4a1a2a45e1fda2
I advise to stop this PR for now and work on the "kitchen sink" documentation page that would serve us for the next CSS-related reviews. Thanks in advance!


CONTRIBUTING.md does not specify commit message body and footer information

Observed behavior
In the  CONTRIBUTING.md file it says all commit messages must include a header a body and a footer,
It has full information about the  header but it does not have any information about the body nor the footer,
what are they suppose to be? how should they look? etc.
Steps to reproduce
Look in the CONTRIBUTING.md file.
Expected behavior
The file should include all relevant information needed for new contributors to be able to contribute and should not assume those are obvious.
Ockam Version
0.86.0

This issue is a mistake and should be opened in the .github project,
I don't now how to delete it,
Anyone who  does pleas do.


Implement LDAP support

I hope you don't actually mean to remove password changing ability completely. You'd want to disable it if ldap support is enabled, but not remove it completely.

oops

I see you closed the pull request. If you still want to add this feature please consider reopening this one when you're ready to avoid spamming new PRs and splitting the discussion accross multiple threads.
To update a PR you just need to ammend or rebase your commits and force-push again to your branch: this will automatically update the PR as well ;)

I actually meant to merge this fix into our local fork of the project


move dispatch_run_script to dispatch_idle_state from dispatch_idle

fix #536

ping @fvanroie @marsman7

Fixed in PR #582


Update systolic_compute_is.py

missing addition of ofmap writes

Hi @boukhary123 ,
Thanks a lot for the PR. Really appreciate your contribution.
I wanted to ask more about the problem for which this is a fix.
Can you please comment here with a short description of the problem? Also, if possible please raise an issue which this PR will fix, this will make sure everyone else is also informed about the problem and can rebase accordingly.
Thanks again!
Anand

Hi @AnandS09 the problem here is that number of reads for SRAM in ofmap for input stationary dataflow is unrealistically small. Upon inspection of the code it seems that during the simulation the number of reads are not added to each other in each iteration of the output matrix. So instead the number of reads are overwriting each other so the final number of output reads becomes the number of reads of the last iteration. Hope this is clear. Please correct me if I am wrong. Thanks,
Alaa

Thanks @boukhary123. Your fix works.


big file structure revamp. settings and globals got organized to help…

big file structure revamp. settings and globals got organized to help… with dependency tree. fixes #44
im very new to C++ so I dont know if I have the proper use of extern and inline and #pragma once and "forwarding" and "precompiling" but I tried my best, it still compiles and passes its tests, and I am very open to feedback on how to improve it
fixes #39, closes #60

I apologize for all the random #include commits. I guess my idea and tool chain does need all of those spelled out for some reason. glad that we have these automated builds to catch problems like that.

It's a small project, so I wouldn't worry about precompiled headers.  The main thing to remember is that in C/C++ everything needs to be declared before it is used. That generally means either #include the header that defines the class, or you can forward declare (but only in cases where you have pointers only).  It's easier when you don't have circular dependencies.
The other thing that headers in turn will #include dependent headers, and you don't want a header to be included multiple times, so you either use #pragma once or a #ifndef/#define/#endif pattern around the header.
I'll review, but if it's compiling that's a good sign :)

GLOBALS
I added several comments about how to handle globals. Unfortunately, a lot of redundant/overlapping comments since a lot of files in the commit, but I'll summarize again here.
If you need a global (e.g. BMC_RNG g_rng is a good one)

pick a file to instance the global. Either BMC_RNG.cpp, or in a main CPP for the library
instance the global in that file. E.g. in the CPP:
BMC_RNG g_rng;
if other modules need to reference it, then add an "extern" (not "inline") declaration in the matching header:
extern BMC_RNG g_rng;

That tells the linker that when a module references g_rng it looks for the symbol in the other modules.

thank you so much much. I was naively thinking inline was something of a shortcut to having the instance in the .cpp and then using extern. ill go address ALL the inlines
I appreciate the feedback here

@pappde ok I think im ready for you to take another pass across this is thats cool with you

Updated review, primarily just naming.
Moving objects from global to member variables passed via constructors is a good move. Globals generally should be avoided. One thing to remember is that a global is anything defined outside of the class definition. Some things that I believe are ok to stay global:

all of the configuration/definitions, but I recommended c_ prefixes for these
singleton type service objects like g_rng and g_logger
maybe the different AI objects.  You could move them to member variables, but without getting into memory allocation, passing initializer parameters has some limitations.

I know these reviews are big and I really appreciate you taking the time. And they are likely quite annoying. Coming from mainly Java I forget that scoping is different and that just because the .cpp compile unit is primarily focused on class method implementation it doesn’t mean everything in that file is scoped to the class. 🤦

@pappde I did a pass on some naming.


prepare a base for i18n

Simply move translated pages to /LOCALE/ will cause:

broken links
broken images

This is because:

The default layouts assume resources are located in the root
directory.
In content pages, some links link to the root directory also.

This commit fix the above problems and add a example of /LOCALE/,
i.e. /en/, which can be
used as the base for i18N.
See #68

What about the text of the licenses themselves? Are there official translations of the MIT license?

@weakish thanks for all the work you put into this. It seems like this is stalled. Is there anything we can do to push this forward? As @stuartpb asked, are there official translations of licenses?

@bkeepers

It seems like this is stalled. Is there anything we can do to push this forward?

IMO the possible choices (to avoid copying duplicated pages) are:

Use separated domain for each locale, for example, fork github/choosealicense.com to github/kr.choosealicense.com with the CNAME kr.choosealicense.com for Korean.

Switch other site generator with nice i18n support, e.g. Pelican.

Put all the content of current choosealicense.com into en.choosealicense.com, and turn choosealicense.com into a landing page linking to several languages, like Wikipedia.

Wait for Jekyll to have nice i18n support (less likely to happen).

As @stuartpb asked, are there official translations of licenses?

AFAIK, only Creative Commons have official translations.

@weakish Thanks for all the work you put into this. It seems like there is not a great path forward right now. That issue along with the lack of official translations makes it seem like this isn't likely to move forward right now. I'm going to close this for now. We're happy to reconsider if someone is interested in putting in the work to make this happen, but it's not a priority for us right now.


Add html() helper to markdown documents to quickly render them

Is html() the best method name? Maybe toHtml() clearer, though render() could probably also work?

The way I think I will go about this is that the render method will render just the markdown body, without any underlying Blade views.


Fail on symbolic link for ASE_WORKDIR

Can you revert some of the file format changes? Only keep the really changed files here.


[MLS Spec change] Add missing word (#545)

Link to the exact changes
https://github.com/mlswg/mls-protocol/pull/545
Description of the changes

editorial


cr: fix block accounting for unmerged-setattr, merged-rename files

Fix the ptr update map for chains that were updated in both branches, even for directories that aren't changed in the resolution.

Don't reference bytes for useless same-pointer updates.  If it was really a new block, there will have been a proper update or ref in an earlier op.

Issue: KBFS-1178

Bah, still failing OS X fuse tests.  Hold off on the review.

Ok, seriously ready to review now.

lgtm


Apply status filter on Job/Internship applications

Describe the task
Currently, the job and internship applications filtering is in coming soon mode, we need to make it functional
Expected behavior
On clicking the filter icon, in the search applications section, a popup appears, to select options from the status input field, which should filter out and display all the applications having the status selected in the database. The status can be more than 1.
We need to remove the coming soon, and make the filters functional.

Action items:

[ ] Enable Apply button to send formData to the backend
[ ] Send the form data to the index function of ApplicationController
[ ] Check if the data is received in the controller
[ ] Write a Laravel query to filter out the applications based on the status keyword
[ ] Confirm if we are getting the filtered applications or not in the front end.


Fix 9747 - Add ID arg to make_fixed_length_epochs to change the default value 1.

Tiny improvement fixing #9747.
I added a similar id argument for make_fixed_length_epochs as the one of make_fixed_length_events.
Question: to (more or less) match the argument order of make_fixed_length_events, I've placed id in second.
Do you mind this type of change where user code with positional arguments might break, or do you always prefer to add new arguments to the end?
I'll change the order if needed.

@agramfort Done. I wasn't sure if small changes like this one should be added to the changelog.

CI fails don't seem related to the changes.

I restarted CI, let's hope it all goes green now

Remaining CI failure:
_________ test_make_inverse_operator_diag[testing_data-testing_data] __________
mne\minimum_norm\tests\test_inverse.py:775: in test_make_inverse_operator_diag
    _compare_inverses_approx(inverse_operator_diag, inv_op, evoked,
mne\minimum_norm\tests\test_inverse.py:182: in _compare_inverses_approx
    assert corr > ctol
E   assert 0.7766994175372354 > 0.99

Test passed before I modified the changelog in the documentation. Something unrelated changed on main?

Something unrelated changed on main?

Something unrelated changed with the --pre builds of NumPy, almost certainly related to some new OpenBLAS bug. The failures we've seen with cov.py tests are probably related, too. Need to isolate and open an upstream bug at some point...

Thanks @mscheltienne!


Support EAC & Stereo EAC Videos from youtube

Specs:
https://gist.github.com/gtk2k/2aa7aa1a1c6beeb9f9829c7be335a08f

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cube to Sphere Transformation</title>
    <style>
        body { margin: 0; }
        canvas { display: block; }
    </style>
</head>
<body>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
    <script>

	const scene = new THREE.Scene();
	const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
	const renderer = new THREE.WebGLRenderer();
	renderer.setSize(window.innerWidth, window.innerHeight);
	document.body.appendChild(renderer.domElement);

	// Create a cube geometry with subdivisions
	const geometry = new THREE.BoxGeometry(1, 1, 1, 10, 10, 10);  // The 4th, 5th, and 6th arguments add subdivisions

	// Access the position attribute of the geometry
	const positionAttribute = geometry.attributes.position;
	const sphereRadius = 1.5;  // Set the radius of the sphere

	// Loop through each vertex and project onto the sphere
	for (let i = 0; i < positionAttribute.count; i++) {
		const x = positionAttribute.getX(i);
		const y = positionAttribute.getY(i);
		const z = positionAttribute.getZ(i);

		// Calculate the length (distance from origin)
		const length = Math.sqrt(x * x + y * y + z * z);

		// Normalize and scale to sphere radius
		const newX = (x / length) * sphereRadius;
		const newY = (y / length) * sphereRadius;
		const newZ = (z / length) * sphereRadius;

		// Set the new vertex positions
		positionAttribute.setXYZ(i, newX, newY, newZ);
	}

	// Update the geometry after modification
	positionAttribute.needsUpdate = true;

	// Create a basic material and mesh
	const material = new THREE.MeshBasicMaterial({color: 0x00ff00, wireframe: true});
	const cube = new THREE.Mesh(geometry, material);
	scene.add(cube);

	camera.position.z = 5;

	// Render loop
	function animate() {
		requestAnimationFrame(animate);
		cube.rotation.x += 0.01;
		cube.rotation.y += 0.01;
		renderer.render(scene, camera);
	}
	animate();

    </script>
</body>
</html>

https://github.com/videojs/videojs-vr/blob/fb110c98dececf00de01c804647c9ec55055ff81/src/plugin.js#L200

https://github.com/videojs/videojs-vr/blob/fb110c98dececf00de01c804647c9ec55055ff81/src/plugin.js#L200
port old threejs faceVertexUvs to newer threejs geometry equivalent

code gen:
To update the above code to use THREE.BufferGeometry and replace the deprecated faceVertexUvs, you can use BufferGeometry attributes like uv to assign texture coordinates. Here's the modernized code:
// Define geometry for the cube
const movieGeometry = new THREE.BoxGeometry(256, 256, 256);

// Update UV mapping for the cube
const uvAttribute = new Float32Array([
  // Right face
  0.333, 1,   0.666, 1,   0.666, 0.5,
  0.666, 0.5, 0.333, 0.5, 0.333, 1,

  // Left face
  0, 1,       0.333, 1,   0.333, 0.5,
  0.333, 0.5, 0, 0.5,     0, 1,

  // Top face
  0.666, 1,   1, 1,       1, 0.5,
  1, 0.5,     0.666, 0.5, 0.666, 1,

  // Bottom face
  0, 0.5,     0.333, 0.5, 0.333, 0,
  0.333, 0,   0, 0,       0, 0.5,

  // Front face
  0.333, 0.5, 0.666, 0.5, 0.666, 0,
  0.666, 0,   0.333, 0,   0.333, 0.5,

  // Back face
  0.666, 0.5, 1, 0.5,     1, 0,
  1, 0,       0.666, 0,   0.666, 0.5
]);

// Assign the custom UVs to the geometry
movieGeometry.setAttribute('uv', new THREE.BufferAttribute(uvAttribute, 2));

// Create material using the video texture
const movieMaterial = new THREE.MeshBasicMaterial({
  map: videoTexture,
  side: THREE.BackSide
});

// Create the mesh with the geometry and material
const movieScreen = new THREE.Mesh(movieGeometry, movieMaterial);

// Position and rotate the mesh
movieScreen.position.set(position.x, position.y, position.z);
movieScreen.rotation.y = -Math.PI;

// Add to the scene
scene.add(movieScreen);

Key Updates:

BufferGeometry with UV mapping:

The uvAttribute defines texture coordinates for each face.
Each face requires two triangles, with 3 vertices each, mapped to the corresponding texture.

Using BufferAttribute:

The uv attribute is set using new THREE.BufferAttribute with the UV coordinates.

Improved performance:

BufferGeometry is more efficient than the old Geometry class.

This code ensures compatibility with modern versions of Three.js. Make sure you properly calculate UVs as per your texture layout.


Error AviSynth

I don't know what i doing wrong.
That happens when i try to encode with your new version ( 1.6.7 )
https://pastebin.com/xiDqsEPZ
When i try to use "Preview"

Code Editor :

All Other files
debug.zip

Does the script open in VirtualDub x64?

I don't know
That script work on previous version (StaxRip x64 <IP_ADDRESS> Stable Final Release)

Try to open it with VirtualDub x64 and with mpv.net x64, right-click the filters and choose 'Play' to play it with mpv.net (mpv.net is only included in the newest test build).

Isn't work.

and on MPV.Net display a black screen at last second's

Then it's a avisynth problem, to get help with avisynth doom9 is the best address.


added ability to filter aliases in REST

Pull Request Test Coverage Report for Build 382

4 of 9 (44.44%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.02%) to 92.804%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/index.js
4
9
44.44%

Totals

Change from base Build 379:
-1.02%

Covered Lines:
580

Relevant Lines:
600

💛  - Coveralls

Pull Request Test Coverage Report for Build 382

4 of 9 (44.44%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.02%) to 92.804%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/index.js
4
9
44.44%

Totals

Change from base Build 379:
-1.02%

Covered Lines:
580

Relevant Lines:
600

💛  - Coveralls

@icebob here is an example of using these properties
routes: [{     path: "/api",     aliases: {         "REST posts": { 	    action: "posts", 	    only: ["list", "get"] 	   except: ["list"] 	}    } }] path: "/api",aliases: {"REST posts": {action: "posts",only: ["list", "get"]except: ["list"]}}}]


Rename en.json to th.json

Add Thai Language for HomeBridge UI

Thanks for your contribution.
However, this change has removed the english version file, could you open a new PR with just the th.json file added (not the en.json renamed).


How can I disable the messages that are sent to all connected clients.

The problem is the following. I want to make a server where everyone connects, but no information should be automatically send to everyone. I do not need my clients to know about all connected and disconnected clients. how can I turn off autosending these messages.

You can't—auto-sending the connect/disconnect messages incurs virtually no performance/bandwidth cost, so why do you need to disable them? Just don't do anything with the events if you don't want to.


HDDS-5336. Fix datanode capacity related race condition.

What changes were proposed in this pull request?
After merging master into the upgrade branch in HDDS-5321, an intermittent failure was noticed in TestSCMNodeManager#testLayoutOnHeartbeat.
The issue occurs in SCMNodeManager#register, where the node is added to the nodeStateManager firing the NEW_NODE event, before the node report containing storage information for the new node is processed. The event triggers a one shot run on the background pipeline creator which will read the node's storage information to determine if it can hold a pipeline. If the storage report has not yet been processed when this happens, no pipeline will be created to use the new node when it is registered, because the node still appears to have no free space.
In this fix, the NEW_NODE event is moved to not fire until all reports given to SCMNodeManager#register have been processed. The output of the existing test has also been modified for clearer output if a similar event occurs in the future.
Although the bug is present on master as well, the fix was done on the upgrade branch because:

That is where the test to reproduce the issue resides.
The fix works better with SCMNodeManager modifications already done for upgrades.
Upgrade branch is expected to be merged into master soon.

What is the link to the Apache JIRA
HDDS-5336
How was this patch tested?
Original failed multiple times on CI:

https://github.com/apache/ozone/runs/2787582345
https://github.com/errose28/hadoop-ozone/runs/2748815362

Fix was tested with 100 runs on CI:

https://github.com/errose28/hadoop-ozone/runs/2797649712

I was unable to reproduce the original failure with 400 runs locally, so CI was used for testing.

Unit test failure for TestSCMNodeManager#testScmLayoutOnRegister came in with the merge from master. It is different than this PR which uses TestSCMNodeManager#testLayoutOnHeartbeat. Currently investigating...

Thanks for the review and fixes @avijayanhwx. The fixes for unit tests applied on top of the original change LGTM.

Thank you @errose28, merging this.


Create go-ossf-slsa3-publish.yml - SLSA's go builder

@santoshkal , please check the file I added (it's not written by me. It's SLSA yaml file. Update it as needed).

The example to produce SLSA provenance has some example with Goreleaser implementation of the same.
I'll take a look at the examples and integrate them accordingly.
Thanks!


navigation2: 1.0.1-1 in 'galactic/distribution.yaml' [bloom]

Increasing version of package(s) in repository navigation2 to 1.0.1-1:

upstream repository: https://github.com/ros-planning/navigation2.git
release repository: https://github.com/SteveMacenski/navigation2-release.git
distro file: galactic/distribution.yaml
bloom version: 0.10.7
previous version for package: 1.0.0-2

@cottsay totally acknowledge this might not get into the first sync, but took care of the nav2_util build issue after dinner. Should be ready to go for sync 1

This, once merged, should fix the navigation2 package issues. It resolves the nav2_util dep issue which is needed to build nav2_map_server which in turn is failing the metapackage of navigation2 (since navigation2 depends on slam_toolbox which is failing due to nav2_map_server being unavailable)

Closing in favor of 1.0.2, which contains these and a couple of new bug fixes (since we missed initial release anyhow, why not :shrug: )


Minor typo fix.

Accidental semicolon. Use fullstop instead.

This is intentional. The correct fix would be to change these sentence fragments to start lowercase.

Good to know. Never knew these rules.


hi

Description
hi
Screenshots
No response
Additional information
No response

@sxadxsx is there anything you need help with? If not please close this issue.
Thank you.


Clarified instructions for the Challenge Target the same element with…

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #8438

Description

Added additional instruction regarding multiple jQuery Selectors. Emphasized adding multiple classes in three different ways using multiple calls of the .addClass function. Also added a note to that each class is only targeting one element at a time.
… multiple jQuery Selectors

Hi @jodoint, thanks a lot for the PR but unfortunately we already have another request with #9299 already in place.
Hence we would have to close yours in favor of that. Just for the fact theirs is an older request.
Please do not get discouraged by this, and work on any of the open issues, if you may.
We sincerely thank you for the time and effort spent on putting this together and apologize for closing it.
Thanks, and happy fixing.


Azure Dev Provision failed for todo-java-postgresql-terraform in Azure DevOps

Describe the issue:
Azure DevOps pipeline test failed when run azd pipeline config --provider azdo
The error message as follows:

Repro steps:

Run azd auth login
Run azd init -t todo-java-postgresql-terraform
Run azd pipeline config --provider azdo

Environment:
OS: Windows desktop, MacOS desktop, Linux desktop, WSL, DevContainer in VS Code.
Template: https://github.com/Azure-Samples/todo-java-postgresql-terraform
Azd version: 0.9.0-beta.2-daily.2772915 (commit https://github.com/Azure/azure-dev/commit/08ff66607eb70b25d189aefce0d21070fe84630d)
Expected behavior:
Run command azd pipeline config --provider azdo success.
@rajeshkamal5050 for notification.

The deployment error seems to be a duplicate of #2233 issues 1st part.

@rajeshkamal5050 This issue can be reproduced when running the command azd pipeline config --provider azdo.
Environment:

OS: Windows desktop, MacOS desktop, Linux desktop, WSL and Devcontainer in VS Code.
Template: todo-java-postgresql-terraform
Branch: staging
Azd version: azd version 1.1.0-beta.1-daily.2845223 (commit https://github.com/Azure/azure-dev/commit/9e11674b30a1b0c456fbd8a042d6f5af77ec6188)


Default Dashboard: Facebook Ads Spend over Time

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1726
Originally created by @dmor on 2020-02-13 20:23:41

Definition of "Spend":

The estimated total amount of money you've spent on your campaign, ad set or ad during its schedule. This metric is estimated.

For the MVC, we should just show this at the account level (no special selector for specific campaigns).
What this looks like in the Facebook UI:

Facebook Documentation:

https://developers.facebook.com/docs/marketing-api/insights/parameters/v6.0

View 8 previous comments from the original issue on GitLab