x/pkgsite: Site doesn't show latest packages

What is the URL of the page with the issue?
https://pkg.go.dev/github.com/purpleidea/mgmt/util
What is your user agent?
Fedora 38
Screenshot
No response
What did you do?
Go to that URL
What did you see happen?
See an old version.
What did you expect to see?
Expect to see latest git master version.
There are old bugs related to this, eg: https://github.com/golang/go/issues/41278 and https://github.com/golang/go/issues/37106 and many more.
Many packages want to be able to see the docs of git master. The special tags like:
https://pkg.go.dev/github.com/purpleidea/mgmt@master or https://pkg.go.dev/github.com/purpleidea/mgmt/@master don't work.

seems to be working as expected (current master = 6976f5f3f0abaa99cde1b72c15064464d437deeb)
Note that pkgsite is subject to the same caching as proxy.golang.org

If you look at the other issues, it's clear something is wrong. For example see here:
https://pkg.go.dev/github.com/purpleidea/mgmt/util?tab=versions
All of a sudden there are now two versions:

But where are all the earlier ones? There's no way to get an update and it was stale till apparently I opened this issue.

there are no automatic updates, only when the appropriate version is requested/fetched


Navigation through page causes double replace operation

Steps to reproduce

Run Website + SignIn + People
Go to http://localhost:8080/people
Navigate using People menu back ant forth
Check Network tab

Expected result
http://localhost:8080/people/persons XHR Should contain only one replace for /WebTemplatePage/Sections/Main/Rows/0.
Actual result
Two are send:
[
//...
{
    "op": "replace",
    "path": "/WebTemplatePage/Sections/Main/Rows/0",
    "value": {
        "WebsiteProvider": {
            "Html": "",
            "WebTemplatePage": {
                "Html": "",
                "Name": "",
                "Sections": {}
            }
        },
        "People": {
            "Html": "/People/viewmodels/StandalonePage.html",
            "ShowMenu": true,
            "CurrentPage": {}
        }
    }
}, {
    "op": "replace",
    "path": "/WebTemplatePage/Sections/Main/Rows/0",
    "value": {
        "WebsiteProvider": {
            "Html": "",
            "WebTemplatePage": {
                "Html": "",
                "Name": "",
                "Sections": {}
            }
        },
        "People": {
            "Html": "/People/viewmodels/StandalonePage.html",
            "ShowMenu": true,
            "CurrentPage": {}
        }
    }
},
//...
]

Technical information
That may cause us performance, time, FOUC and weird issues like https://github.com/Juicy/imported-template/issues/26#issuecomment-282296551
Starcounter version <IP_ADDRESS>34
Involved apps' version

https://github.com/StarcounterSamples/People/commit/d6469f7627a49a8319662f0da6c5493511e2d7c5
https://github.com/StarcounterPrefabs/SignIn/commit/4bf03aac97c2eb411f1ba43bd59da3855eeb9230
https://github.com/StarcounterPrefabs/Website/commit/8633a0cb821c5dbee341b18b5f1e2ba0d3bcba7a

Browsers affected
n/a
//cc @warpech

@un-tone can you please investigate this?

Create PR https://github.com/StarcounterPrefabs/Website/pull/52

@chrhol the PR #52 fixes this problem. For me this looks like a bug in Starcounter. Could you confirm, and if yes, then create a Starcounter issue?

Closing as done.


Doc: add an article on "how to access Apache APISIX Prometheus Metrics on k8s"

As #953, this PR aims to add an article on "how to access Apache APISIX Prometheus Metrics on k8s"
Type of change:

[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

Pre-submission checklist:

[x] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

also cc @navendu-pottekkat

Hi, @navendu-pottekkat, please have a review once more when you have time :)

@Chever-John any update?

@tao12345666333 Yeah, it will be done today!

a kind reminder  @juzhiyuan @navendu-pottekkat  PTAL, thanks!  the content is correct


Fix pagination errors

ticket RHELPLAN-90237
changes on API: https://github.com/RedHatInsights/edge-api/pull/141

Codecov Report

Merging #115 (d7a36e3) into master (cb06670) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #115   +/-   ##
=======================================
  Coverage   28.26%   28.26%
=======================================
  Files          70       70
  Lines        1203     1203
  Branches      310      311    +1
=======================================
  Hits          340      340
  Misses        796      796
  Partials       67       67

Impacted Files
Coverage Δ

src/Routes/ImageManager/ImageTable.js
0.00% <0.00%> (ø)

src/Routes/ImageManager/ImagesToolbar.js
0.00% <0.00%> (ø)

src/Routes/ImageManager/constants.js
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb06670...d7a36e3. Read the comment docs.

Sweet! Thanks @resoluteCoder & @matoval


RunIde project dependency not working from inntellij

Hi
We have a 2 modules in our plugins. Project A is the plugin and it depends on another project B.
When we do some changes do module B  and we run the runIde task  of module A from within Intellij we don't see those changes.
When checking the taskTree of runIdee we see this:
:**moduleA**:runIde
\--- :**moduleA**:prepareSandbox
     \--- :**moduleA**:jar
          +--- :**moduleA**:classes
          |    +--- :**moduleA**:compileJava
          |    |    \--- :**moduleB**:compileJava
          |    \--- :**moduleA**:processResources

can it be that the runIde take the jar of B in the classPath and since it is not repack we dont see it ?
IntelliJ IDEA 2020.1.2 (Ultimate Edition)
Build #IU-201.7846.76, built on June 1, 2020
Runtime version: 11.0.7+10-b765.53 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.5
Gradle 6.5
Plugin 0.4.21
Thanks ahead

Hi.

can it be that the runIde take the jar of B in the classPath and since it is not repack we dont see it ?

Probably, how do you declare a dependency on project B

Probably, how do you declare a dependency on project B?

implementation project(":B")

+1


Runtime changes to allowMaximumSizeToDivergeFromCoreSize are ignored

I am configuring my application using Archaius and a local configuration file (set by -Darchaius.configurationSource.additionalUrls), and the hystrix.threadpool.default.allowMaximumSizeToDivergeFromCoreSize property seems to be ignored by Hystrix - making all my threadpools have a fixed size = coreSize.
I have not yet created a test case to support the theory, but by browsing HystrixThreadPoolProperties.java I believe this happens because allowMaximumSizeToDivergeFromCoreSize is set as a boolean instead of a HystrixProperty<Boolean>, so it is only read once once during the threadpool initialization phase and any further changes are ignored.

Here's a simple way to reproduce the issue:
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import com.netflix.hystrix.HystrixCommand;
import com.netflix.hystrix.HystrixCommandGroupKey;
import org.slf4j.LoggerFactory;

public class BugReproducer {

    public static void main(String[] args) {
        ((Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME)).setLevel(Level.INFO);

        System.setProperty("archaius.configurationSource.additionalUrls", "file:///tmp/reproduce-the-bug.properties");
        HystrixCommand.Setter setter = HystrixCommand.Setter.withGroupKey(HystrixCommandGroupKey.Factory.asKey("reproduce-the-bug"));

        int numThreads = 5;
        final ExecutorService executor = Executors.newFixedThreadPool(numThreads);
        final CircuitBreaker circuitBreaker = new CircuitBreaker(setter);

        int i = 0;
        while (i < numThreads) {
            executor.submit(new CommandRunnable(circuitBreaker, "bug " + i));
            i++;
        }
    }

}

class CommandRunnable implements Runnable {
    private static final Logger logger = (Logger) LoggerFactory.getLogger(CommandRunnable.class);
    private final CircuitBreaker circuitBreaker;
    private final String text;

    CommandRunnable(CircuitBreaker circuitBreaker, String text) {
        this.circuitBreaker = circuitBreaker;
        this.text = text;
    }

    @Override
    public void run() {
        try {
            logger.info(circuitBreaker.returnText(text));
        } catch (Exception e) {
            logger.error(e.getCause().getMessage());
        }
    }
}

class CircuitBreaker {
    private final HystrixCommand.Setter setter;

    CircuitBreaker(HystrixCommand.Setter setter) {
        this.setter = setter;
    }

    String returnText(String text) {
        return new HystrixCommand<String>(setter) {
            @Override
            protected String run() throws Exception {
                return text;
            }
        }.execute();
    }
}

Along with /tmp/reproduce-the-bug.properties:
hystrix.command.default.fallback.enabled=false
hystrix.threadpool.default.coreSize=2
hystrix.threadpool.default.maximumSize=5
hystrix.threadpool.default.allowMaximumSizeToDivergeFromCoreSize=true

Running it will output:
2016-12-06 11:12:42,185 [pool-1-thread-1] INFO  com.netflix.config.sources.URLConfigurationSource -  URLs to be used as dynamic configuration source: [file:/tmp/reproduce-the-bug.properties]
2016-12-06 11:12:42,200 [pool-1-thread-4] INFO  com.netflix.config.DynamicPropertyFactory -  DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@1e1871c4
2016-12-06 11:12:42,389 [pool-1-thread-2] ERROR CommandRunnable -  Task java.util.concurrent.FutureTask@37329359 rejected from java.util.concurrent.ThreadPoolExecutor@554fe138[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2016-12-06 11:12:42,389 [pool-1-thread-1] ERROR CommandRunnable -  Task java.util.concurrent.FutureTask@5a74f816 rejected from java.util.concurrent.ThreadPoolExecutor@554fe138[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2016-12-06 11:12:42,389 [pool-1-thread-3] ERROR CommandRunnable -  Task java.util.concurrent.FutureTask@90efd2d rejected from java.util.concurrent.ThreadPoolExecutor@554fe138[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2016-12-06 11:12:42,394 [pool-1-thread-4] INFO  CommandRunnable -  bug 3
2016-12-06 11:12:42,395 [pool-1-thread-5] INFO  CommandRunnable -  bug 4

If I set the same property using the Setter builder:
HystrixCommand.Setter setter = HystrixCommand.Setter
  .withGroupKey(HystrixCommandGroupKey.Factory.asKey("reproduce-the-bug"))
  .andThreadPoolPropertiesDefaults(HystrixThreadPoolProperties.defaultSetter().withAllowMaximumSizeToDivergeFromCoreSize(true))

Will output as expected:
2016-12-06 11:15:12,702 [pool-1-thread-1] INFO  com.netflix.config.sources.URLConfigurationSource -  URLs to be used as dynamic configuration source: [file:/tmp/reproduce-the-bug.properties]
2016-12-06 11:15:12,713 [pool-1-thread-4] INFO  com.netflix.config.DynamicPropertyFactory -  DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@675b624f
2016-12-06 11:15:12,902 [pool-1-thread-2] INFO  CommandRunnable -  bug 1
2016-12-06 11:15:12,902 [pool-1-thread-4] INFO  CommandRunnable -  bug 3
2016-12-06 11:15:12,902 [pool-1-thread-1] INFO  CommandRunnable -  bug 0
2016-12-06 11:15:12,902 [pool-1-thread-5] INFO  CommandRunnable -  bug 4
2016-12-06 11:15:12,902 [pool-1-thread-3] INFO  CommandRunnable -  bug 2

Just to make sure I'm clear, you're not attempting to change this value at runtime, you're just using the system property to attempt to set it?

That's correct, I'm just trying to initialize a circuit breaker using the properties defined in an Archaius-enabled configuration file (no runtime changes).
Having said that, would it make a difference? There's nothing on the documentation stating that changing that property at runtime is not allowed.

Created #1435, and tested it successfully against my provided test case.

My initial implementation (which looks to have not considered the System-property case) was imagining only setting this value at startup, since it has such a large impact.  Not sure that there's a great reason to disallow dynamic-update for this property and not others, so I'll review the change.  Thanks for the contribution!

While implementing #1435 I realized that there are actually two different issues at play here:

allowMaximumSizeToDivergeFromCoreSize can't be changed at runtime
threadpool.default.allowMaximumSizeToDivergeFromCoreSize is never actually read

I believe my pull request fixes both cases. Let me know if you need any further change or clarification.


some changes -Dev beta

[ ] This change has been discussed with the author.
[ ] It implements / fixes issue #.

Description:

some changes

delete Fit Functions


Correction for raw affiliation Department of Surgery, Western University

Correction needed for raw affiliation Department of Surgery, Western University
raw_affiliation_name: Department of Surgery, Western University
new_rors: 02grkyz14
previous_rors: 02agqkc58
works_examples: W4324130371;W4367304795
contact: 214f4b43b0324df16719c5d08a13730f:e601cb592fc963b5 @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


MethodFieldResolver should throw a ValidationError type exception

Currently, when trying to provide graphql variables that does not contain the required data key/value, graphql-java-tools will run over MethodFieldResolver and ultimately throw an ExceptionWhileDataFetching type from graphql-java lib. However, from an user perspective, that should rather be a ValidationError type to be consistent with any other misrepresented graphql query or data (sort of BadRequest like).
When working and treating exceptions, it's important to have some kind of consistency in between the libs. I'm trying to provide the best feedback possible to my client-side app whenever an error occurs on the server and this behaviour makes things a bit harder since it mix graphql ValidationError and my serve-side internal exception on ExceptionWhileDataFetching.

Do you have an example of an query and schema that would throw ExceptionWhileDataFetching when arguments are passed incorrectly?  I assumed that graphql-java would validate that the arguments are correct before passing them to the MethodFieldResolver

Closing because I can't reproduce - feel free to add some more info and I'll re-open this.


Iconography container spacing is deferent from other pages.

This issue is resolved, so I'm closing it.


Change of view paths makes Rails not find correct translations

With #48, using devise-bootstrap-views without copying the templates with the view generator no longer works: Devise expects the views to be in views/devise and now they're in views/erb. This means Devise' default views are used instead.

Try adding gem 'devise-bootstrap-views' to the end of your Gemfile.

That makes no difference unfortunately. With 0.0.9, the template devise-bootstrap-views-0.0.9/app/views/devise/sessions/new.html.erb is rendered. With 0.0.10, the template devise-4.2.0/app/views/devise/sessions/new.html.erb is rendered.

Haml and Slim are now generated separatly (https://github.com/hisea/devise-bootstrap-views/commit/77974f5fa6865e04d4e7a262e3d389ef7527f1df). Should be working now.

Thanks, @dankimio!


Cybersecurity: 1.9.3 Types of Virtualization - What is application virtualization?

Description
If we want to do penetration testing then kali Linux is recommended in your system, for running both machines host+virtual (Windows and kali on the same device, when your base operating system is Windows!) we need virtualization.
Discuss more What is application virtualization?
Note:

Please avoid copy/paste, BE YOURSELF
Changes should be made inside the Cyber_Security/ directory & Cyber_Security branch.
Task will be assigned on first come first serve
Check it out Contribution Guidelines

I'm Kavya, an enthusiastic student and I'm Intrested to work on this issue

I'm Kavya, an enthusiastic student and I'm Intrested to work on this issue

okay! I'm assigning you this task!

Thank you for assigning this work to me.

@Kavyaabhishek
Are working on this?

@Kavyaabhishek
Are working on this?

I can't do this because I'm not able to do it in markdown language.

@Kavyaabhishek
Are working on this?

I can't do this because I'm not able to do it in markdown language.

What issue do you face? I can help you out!
Or you can submit Video also!

Can i take up this this issue?😅

Can i take up this this issue?😅

Yes, You can!
I'm assigning this to you!

are both documentation and video available or just any one!?

are both documentation and video available or just any one!?

Yeah, Both are available!
You can do both or one, it depends on you!

Oki
Both I'll do it..
just in case...
can I submit the video part by Tuesday!?

can I submit the video part by Tuesda

yeah yeah sure!


Update .gitignore

While updating cfgov-refresh I found the existing .gitignore is far more robust. Should we include some of these file types?
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
_site/

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# Topdoc stuff #
##################
docs/*/pdfreactor-fonts.html

# Testing stuff #
##################
_tests/browser_testing/features/environment.cfg

The "Topdoc stuff" and "Testing stuff" sections are probably too project specific, but the others should go in. It should also be kept in sync with cfpb/open-source-project-template

Thanks, created a PR over there


Update MIGRATION.md

do is tap nowadays

Description:
Related issue (if exists):

Coverage remained the same at 97.502% when pulling 3f0fb1cd7e0f1a09c13a57090c2c4b5fa6e8f03e on RoestVrijStaal:patch-1 into 4a8654165132340220797b1541734afd4f0cf575 on ReactiveX:master.


⚠ Bofrost.lu has degraded performance

In 2b6e5aa, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1827 ms

Resolved: Bofrost.lu performance has improved in 81ae7a6 after 8 minutes.


Decide, document, setup testing for minimum supported Go policy

Hey, building the package fails.
go version go1.3.3 linux/amd64
https://github.com/GoogleCloudPlatform/gcloud-golang/commit/f95c875f2894b735501920cce2ab858f2110b23a
google.golang.org/cloud/compute/metadata
go/src/google.golang.org/cloud/compute/metadata/metadata.go:191: req.Cancel undefined (type *http.Request has no field or method Cancel)

Generally we only support the past two released versions of Go. net/http.Request.Cancel was added in Go 1.5, so we thought that was an acceptable requirement nowadays.
/cc @okdave @broady @adg

Thanks for the answer.
Tell that the debian package maintainers :)

App Engine is still on 1.4 (for a short time), so this should probably support < 1.5.

This change is the pad-left for AppEngine/Go (at least for us).
We are accessing BQ from GAE/G which requires us to use the golang.org/x/oauth2 which needs google.golang.org/cloud/compute/metadata, now since GAE/G runs under 1.4.2 this change broke our builds (and possibly for others) since 1.4.2 doesn't have .Cancel()

We can fix this specific case. The larger issue of figuring out a policy remains, though.

assigning to @okdave for policy on Go version support.

I agree, the last two versions are what we should support. But given that App Engine has fallen so far behind, we should be supporting it too. So the official policy should be "the minimum of the last 2 Go releases and the current default App Engine release".
App Engine isn't really too special here: it really should be the default version in any environments where the cloud packages are designed to run (and where the user has little/no control over the Go version). I can't think of a good example that isn't AE though.
When App Engine standard environment migrates to 1.6, we should drop support for 1.4 and older.
If there's no strong disagreement, I'll add suitable words to the docs.

I agree.
Go on App Engine switched over to Go 1.6 this morning, so we can probably now declare that Go 1.5 is the oldest supported version across the board (App Engine, cloud APIs, ...).

Our .travis.yml tests both 1.5 and 1.6.
We have agreement that we'll support the last two versions, or versions back to the current App Engine release if necessary.
So the last part is documenting the decision. Where should that go? Does the README suffice?

README sounds perfect.


Active Task pane shows error for empty folders

SQL [select processor_feed.name, processor.pipeline_uuid, processor_filter.priority, processor_task.status, count(*) from processor_task left outer join processor_node on processor_task.fk_processor_node_id = processor_node.id join processor_feed on processor_task.fk_processor_feed_id = processor_feed.id join processor_filter on processor_task.fk_processor_filter_id = processor_filter.id join processor on processor_filter.fk_processor_id = processor.id where (false or false) group by processor.pipeline_uuid, processor_task.fk_processor_feed_id, processor_filter.priority, processor_task.status limit ? offset ?]; Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'stroom.processor_feed.name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

Fixed in > 7.0-beta.175


update actors to use user_session = admin

Crud actors will need to be updated to check on admin session by default.

i just add the check if usersession.admin is True will continue otherwise check if our acl of  BCDB object  have threebot_id with rights .
but i have more than one problem in ACL of BCDB .


Use this library without react ?

It's possible to use this sortable list items without using react framework ? I just have JQuery in my project. I like how the drag & drop is smooth

Check out https://github.com/bevacqua/dragula

You can also check https://github.com/shopify/draggable 😄

I ever seen these libraries but the animation isn't smooth is this react library :/


Removed condition to prove that it's not covered in tests

If the condition is right we should have test for it. As you can see in this PR all tests are fine, and part of the if statement is removed.
See: https://github.com/zendframework/zend-expressive-router/commit/a1e5bdee6bb0e9e9315ae3003f2f516e2082d82d
Ping @weierophinney

Fixed with 57ebf52, where I have two tests:

One calls RouteResult::fromRouteFailure(Route::HTTP_METHOD_ANY) and verifies that isFailure() is true, and returns the RouteResult.
The second verifies that isMethodFailure() is false, and that getAllowedMethods() returns ['*'].

The combination of these verifies that the conditional is required to verify specific state.


DeferAutoRefreshUntilPlayPressed - Add

Defers the editor from importing/compiling assets until the developer presses play.
This allows developers to

Save code as they develop without bogging down their machine
Conduct big asset renames/refactors without triggering re-import
Start playing their game in the editor with a single interaction.

No more regain focus -> wait for compile -> press play -> wait for startup.

Tag Along

PreventAutoRefreshWhilePlaying - IsEnabled and IsAutoRefreshDisabled are now publicly readable.

This allows the two prevent scripts to coordinate forced asset refreshes if both enabled (why?)

What is the current behaviour?
The Unity Editor automatically refreshes assets as it detects changes on the file system. This:

Can cause the developer to routinely wait for unrelated changes to compile
Requires the developer to interact multiple times with the editor spaced over the duration of compiles each time they want to start the game (after changes).

What is the new behaviour?
When enabled, the editor doesn't refresh the asset database until the play button is pressed. Once the play button is pressed.

Assets are refreshed (import and compile)
The game starts playing

What issues does this resolve?

None

What PRs does this depend on?

None

Does this introduce a breaking change?

[ ] Yes
[x] No

Comments addressed. Ready for re-review


can be use for mediaplayer?

@jabinwang Don't quite understand what do you mean by can be use for mediaplayer?


fix build with hermes on windows

Summary

On the Windows platform, with hermes-engine enabled, the assembly crashes with an error:

The problem lies in calling hermes command without the leading arguments "cmd", "/c" (react.gradle, line: 152 )
Changelog

[General] [Fixed] - Added a platform check and running commandLine with the corresponding arguments
Test Plan

Under Windows, enable hermes-engine in build.gradle and run the gradlew assembleRelease or gradlew bundleRelease command
Also check assembly on other available platforms

this was commited, but don't know why it is not in the release: https://github.com/facebook/react-native/commit/ee82182a70e5aa1841ca2418d0798c26c3ba93a1


Switch from "execute" to "batch" resource to ensure 64-bit environment

I think this should fix issue #9, by forcing the use of the correct bitness of powershell, the same as you'd get by default interactively.  Otherwise 32-bit ruby will run a 32-bit command prompt/powershell on a 64-bit box and so break some packaging scripts or DISM callers.
I thought this route slightly simpler than juliandunn's suggestion to use locate_sysnative_cmd, but both perform the same job.  Neither can help when using Mixlib::ShellOut to get the stdout from a chocolatey call, but as that's only ever used for querying versions and not doing actual installs/uninstalls, I think we're safe.

I'm having problems getting ruby working right as the prereq to chef. If this PR were accepted might it fix my problems? I am on x64 Surface pro 3.
AnneTheAgile

Closing for now since this is old and more modern chef clients should compensate for these bitness issues.


Command "Process all images in current note" does not obey folder location setting

Processed images are always dumped into vault root, regardless of plugin settings: Default Location is ignored, as is any Custom Location specified.
However, on paste of an image into note, the plugin does follow either setting specified above. Only when using the command, is the location always ignored.
Here are the settings used, and before and after using the command, where you can see the attachments folder path is stripped:

Hey, many thanks for checking out the plugin!
"Process all images in current note" can only convert, compress and resize images. It will not move images - that is by design for safety reasons.

Two questions:
if not moving them is by design, why does the plugin offer custom image destinations in settings? What are those overrides for?
if it’s not supposed to move them, why does it move all converted images out of attachments folder and into root? See screenshots above.

Output options in the Settings are for drop/paste. When they are added in this way, it is possible to detect all imaged immediately in 1 action (and then process them then and there), but when processing all images in the note/canvas/folder/subfolder is completely different. It involves various linking syntaxes, different file formats, plugins, and various sync options used by each user. Adding move option for every "custom'ly added" image into every individual users vault/note would be a disaster waiting to happen.

I see you are on the older Image Converter version, does the same happen on clean up-to-date version too? Currently I am unable to reproduce. Plugin shouldn't move when processing images in batches. I noticed you also use "shortest links" but in the example provided the image uses relative link. I tested it on both, and still couldn't reproduce. I see you also have Local Images Plus plugin enabled which also has option to move images, have you disabled those?

https://github.com/user-attachments/assets/d1ecd9ae-2724-4c1d-987c-29507737687a

I don't understand why various plugin actions have different rules. I think you should identify on the plugin settings page which commands the settings are valid for. Per your other point about moving: I'm not asking for it to move things, but to not move things out of the attachments folder and dump them into root. Perhaps it does this if there are other images of the same name? That would make some sense.

Sorry, new to Obsidian, did not know that they don't have auto update for plugins. Will update and try again and report back here, thank you! And thank you for the screenshare, I will make one too if I still see the issue, perhaps you can spot what I'm doing.

Your time is much appreciated, this plugin is super useful. I will do a github donation for it!


502 Bad Gateaway

https://vincjo.fr/datatables.runes returns 502 when trying to access routes not from the root url.
Replacing /[mode]/api by /api/[mode] will probably solve the issue

Fix with nginx conf (ref: https://github.com/sveltejs/kit/issues/11084)
proxy_busy_buffers_size   512k;
proxy_buffers             4 512k;
proxy_buffer_size         256k;


Merge next into main

Following the 2023.050. release, the next branch can be merged back into main

Closing for the time being


Resolving LibSodium Error on PHP Startup

libsodium.so -> sodium.so resolves error: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/libsodium.so' - /usr/lib/php/20151012/libsodium.so: cannot open shared object file: No such file or directory in Unknown on line 0

Good catch! I'll merge it a bit later. Thank you


CI fails due to mismatched ocamlformat versions

The installed ocamlformat is version 0.14.3, but the version specified at https://github.com/hipsleek/hipsleek/blob/master/.ocamlformat is 0.14.2.
CI continues to succeed at this repository, but fails at https://github.com/zhengqunkoo/hipsleek. This could be due to installing from the CI cache instead of from rake dependencies:install.
The solution is likely to bump the version number, and stop installing from CI cache. This should not be too harmful, as CI cache does not seem to provide much speedup.

ocamlformat has extremely strict versioned requirements in format specification. Because of that, it's probably best to just fix the ocamlformat version directly, unless you want to chase versions. I didn't so I just fixed the installed version: benedictleejh/hipsleek@95091dccfff364abc88a7a3dfb3a8f01039239dc. That will also fix the version used in rake dependencies:install.
The success of the CI here is because the VMs used for testing already have ocamlformat installed, so it doesn't get reinstalled at every test run.

The success of the CI here is because the VMs used for testing already have ocamlformat installed, so it doesn't get reinstalled at every test run.
Yes, that's due to $CACHE_NAME being set in .travis.yml. Otherwise Travis CI would reinstall on every job.

The solution at https://github.com/benedictleejh/hipsleek/commit/95091dccfff364abc88a7a3dfb3a8f01039239dc looks good to me. For consistency, either Makefile should have a similar fixing of the package version, or Makefile should be deprecated.


Microsoft Defender ATP

Is Microsoft Defender ATP required as part of the solution?   If so, why isn't it mentioned explicitly?

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

ID: 4fb38c4a-21b3-4906-267f-79d7d9e31ac6
Version Independent ID: 42d74946-a041-f05d-d909-c14c981000f3
Content: Prerequisites for Microsoft Managed Desktop
Content Source: microsoft-365/managed-desktop/get-ready/prerequisites.md
Service: m365-md
GitHub Login: @jaimeo

@officedocsbot assign @mypil

@ChrisWitmore - There are URLs from several Microsoft products that need to be in the allowed list so that Microsoft Managed Desktop devices can communicate with those Microsoft Services. This includes the Windows Defender Advanced Threat Protection (ATP). Please refer to the Endpoints allowed - other Microsoft products  (Windows Defender ATP endpoints) section of this related documentation - Network configuration for Microsoft Managed Desktop.
I hope this information helps to answer your query. Thank you for your valuable feedback in helping us improve the docs.

@officedocsbot close


Connection RST on pod -> remote pod with host firewall and kube-proxy in native routing mode

Running on Linux 4.9 (thus using kube-proxy), with native routing and the host firewall enabled, connections between pods across nodes are failing due to some masquerading issue:
Command run:
k8s1$ curl http://<IP_ADDRESS>:4240/hello

On k8s1:
-> network flow 0xf231cb6 identity host->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp SYN
<- network flow 0x0 identity unknown->unknown state new ifindex enp0s8 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp SYN, ACK
-> network flow 0xf231cb6 identity host->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp ACK
-> network flow 0xf231cb6 identity host->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp ACK
<- network flow 0x0 identity unknown->unknown state new ifindex enp0s8 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp ACK
-> network flow 0x0 identity host->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp RST

On k8s2:
-> network flow 0xe436ad37 identity unknown->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: [fd04::12]:59446 -> [fd02::7c]:4240 tcp SYN
-> network flow 0x1412a947 identity unknown->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: [fd04::12]:59446 -> [fd02::7c]:4240 tcp SYN
<- network flow 0x0 identity unknown->unknown state new ifindex enp0s8 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp SYN
-> endpoint 1188 flow 0x0 identity world->health state new ifindex lxc_health orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp SYN
<- endpoint 1188 flow 0xc14d6817 identity health->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp SYN, ACK
-> stack flow 0xc14d6817 identity health->remote-node state reply ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp SYN, ACK
-> network flow 0xc14d6817 identity health->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp SYN, ACK
<- network flow 0x0 identity unknown->unknown state new ifindex enp0s8 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp ACK
-> endpoint 1188 flow 0x0 identity world->health state established ifindex lxc_health orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp ACK
<- network flow 0x0 identity unknown->unknown state new ifindex enp0s8 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp ACK
-> endpoint 1188 flow 0x0 identity world->health state established ifindex lxc_health orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp ACK
<- endpoint 1188 flow 0xc14d6817 identity health->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp ACK
-> stack flow 0xc14d6817 identity health->remote-node state reply ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp ACK
-> network flow 0xc14d6817 identity unknown->unknown state new ifindex 0 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:4240 -> <IP_ADDRESS>:40298 tcp ACK
<- network flow 0x0 identity unknown->unknown state new ifindex enp0s8 orig-ip <IP_ADDRESS>: <IP_ADDRESS>:40298 -> <IP_ADDRESS>:4240 tcp RST

The part I don't understand yet is: why is the ACK packet from <IP_ADDRESS> to <IP_ADDRESS> SNATed if the previous SYN+ACK with same origin/dest. wasn't SNATed??

Might be related to https://github.com/cilium/cilium/issues/15403.

The key point is that the IP addresses assigned to pods are considered non-cluster IP addresses in the direct routing mode. That's why the SNAT was applied in inter-container communications.
If we add something like the following rules, I think this problem can be solved.
MASK all -- [allocRange] [Pod network CIDR] MASK or 0xAA00
MASK all -- [allocRange] ![snatDstExclusionCIDR] MASK or 0x00BB
MASQUERADE all -- [allocRange] <IP_ADDRESS>/0 mark match (!0xAA00|0x00BB)
Do I correctly understand the issue? and do you think this approach covers the issue?

The key point is that the IP addresses assigned to pods are considered non-cluster IP addresses in the direct routing mode.

No, IP addresses assigned to pods are considered in-cluster IP addresses of course.

the IP addresses assigned to pods are considered non-cluster IP addresses in the direct routing mode. That's why the SNAT was applied in inter-container communications.

I suspect k8s2's pod IP was SNATed because of https://github.com/cilium/cilium/issues/15403, but it's a bit weird that it didn't happen for the TCP SYN+ACK packet.

I am not able to reproduce this.
So far I spawned a couple of 4.9 VMs:
$ KERNEL=49 KUBEPROXY=1 NFS=1 K8S=1 NWORKERS=1 VM_CPUS=8 VM_MEMORY=6144 ./contrib/vagrant/start.sh

configured Cilium to use direct routing and host firewall:
CILIUM_OPTS="      --debug --pprof --enable-hubble --hubble-listen-address :4244 --enable-k8s-event-handover       --k8s-require-ipv4-pod-cidr --enable-bandwidth-manager --kube-proxy-replacement disabled       --enable-remote-node-identity --enable-ipv6-ndp --ipv6-mcast-device enp0s8 --k8s-kubeconfig-path /var/lib/cilium/cilium.kubeconfig --kvstore etcd --kvstore-opt etcd.config=/var/lib/cilium/etcd-config.yml -t disabled --native-routing-cidr <IP_ADDRESS>/16 --auto-direct-node-routes --enable-host-firewall true --devices enp0s8"

Deployed a couple of pods on 2 different nodes:
vagrant@k8s1:~$ k get pods -o wide
NAME            READY   STATUS    RESTARTS   AGE     IP              NODE   NOMINATED NODE   READINESS GATES
ubuntu-1        1/1     Running   0          7m17s   <IP_ADDRESS>     k8s1   <none>           <none>
ubuntu-2        1/1     Running   0          7m17s   <IP_ADDRESS>      k8s2   <none>           <none>

and tested the connectivity with netcat. Traffic is flowing back and forth and I'm not seeing anything unusual on tcpdump:
vagrant@k8s1:~$ sudo tcpdump -i enp0s8 port 1234 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp0s8, link-type EN10MB (Ethernet), capture size 262144 bytes
10:38:51.595458 IP <IP_ADDRESS>.40354 > <IP_ADDRESS>.1234: Flags [S], seq<PHONE_NUMBER>, win 29200, options [mss 1460,sackOK,TS val 1240145 ecr 0,nop,wscale 7], length 0
10:38:51.596645 IP <IP_ADDRESS>.1234 > <IP_ADDRESS>.40354: Flags [S.], seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 28960, options [mss 1460,sackOK,TS val 1358765 ecr 1240145,nop,wscale 7], length 0
10:38:51.598229 IP <IP_ADDRESS>.40354 > <IP_ADDRESS>.1234: Flags [.], ack 1, win 229, options [nop,nop,TS val 1240146 ecr 1358765], length 0
10:38:52.893294 IP <IP_ADDRESS>.40354 > <IP_ADDRESS>.1234: Flags [P.], seq 1:4, ack 1, win 229, options [nop,nop,TS val 1240470 ecr 1358765], length 3
10:38:52.894130 IP <IP_ADDRESS>.1234 > <IP_ADDRESS>.40354: Flags [.], ack 4, win 227, options [nop,nop,TS val 1359090 ecr 1240470], length 0
10:38:54.495076 IP <IP_ADDRESS>.40354 > <IP_ADDRESS>.1234: Flags [F.], seq 4, ack 1, win 229, options [nop,nop,TS val 1240870 ecr 1359090], length 0
10:38:54.495998 IP <IP_ADDRESS>.1234 > <IP_ADDRESS>.40354: Flags [F.], seq 1, ack 5, win 227, options [nop,nop,TS val 1359490 ecr 1240870], length 0
10:38:54.497690 IP <IP_ADDRESS>.40354 > <IP_ADDRESS>.1234: Flags [.], ack 2, win 229, options [nop,nop,TS val 1240871 ecr 1359490], length 0
^C
8 packets captured
8 packets received by filter
0 packets dropped by kernel

I'm not sure if I'm using the wrong configuration or maybe the issue got somehow fixed in the past couple of months?

:thinking:
I initially hit this while working on test K8sDatapathConfig Host firewall With native routing: https://github.com/cilium/cilium/blob/dfb822001f63fac4a5cc38240367f5a16bb8782f/test/k8sT/DatapathConfiguration.go#L794-L795
If it looks like it's solved, let's maybe reenable that test?

OK, now I can reproduce the failure:
15:24:34 STEP: WaitforPods(namespace="202105041523k8sdatapathconfighostfirewallwithnativerouting", filter="-l zgroup=testClientHost")
15:24:34 STEP: WaitforPods(namespace="202105041523k8sdatapathconfighostfirewallwithnativerouting", filter="-l zgroup=testClientHost") => <nil>
15:24:34 STEP: WaitforPods(namespace="202105041523k8sdatapathconfighostfirewallwithnativerouting", filter="-l zgroup=testServer")
15:24:34 STEP: WaitforPods(namespace="202105041523k8sdatapathconfighostfirewallwithnativerouting", filter="-l zgroup=testServer") => <nil>
FAIL: Failed to reach <IP_ADDRESS>:80 from testclient-host-4xmqj
Expected command: kubectl exec -n<PHONE_NUMBER>23k8sdatapathconfighostfirewallwithnativerouting testclient-host-4xmqj -- curl --path-as-is -s -D /dev/stderr --fail --connect-timeout 5 --max-time 20 http://<IP_ADDRESS>:80/ -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
To succeed, but it failed:
Exitcode: 28

potentially something related to the policies that the test uses, looking into it

I managed to reproduce this on the dev VM. Worth nothing that the problem:

does not involve any host firewall policy:vagrant@k8s1:~$ k get ccnp
No resources found

does only happen when the client pod is attached to the host network:vagrant@k8s1:~$ k exec -it testclient-xsq5d -- curl -s <IP_ADDRESS>:80/ > /dev/null
vagrant@k8s1:~$

vagrant@k8s1:~$ k exec -it testclient-host-6dgdq -- curl -s <IP_ADDRESS>:80/ > /dev/null
command terminated with exit code 56

Quick update: the scope of this issue is probably larger than we anticipated as:

it doesn't involve host-fw
it's not relegated to just 4.9 (I was able to reproduce it also on net-next)

This is the conf I'm currently using to investigate the bug:
CILIUM_OPTS="      --debug --pprof --enable-hubble --hubble-listen-address :4244 --enable-k8s-event-handover       --k8s-require-ipv4-pod-cidr --enable-bandwidth-manager --kube-proxy-replacement disabled       --enable-remote-node-identity --enable-ipv6-ndp --ipv6-mcast-device enp0s8 --k8s-kubeconfig-path /var/lib/cilium/cilium.kubeconfig --kvstore etcd --kvstore-opt etcd.config=/var/lib/cilium/etcd-config.yml -t disabled --native-routing-cidr <IP_ADDRESS>/16 --auto-direct-node-routes"

Latest findings: the masquerading issue shows up whenever Cilium auto derives the device for either KPR, host-firewall or bandwidth manager, causing:

the bpf_host to be attached to that device
ingress traffic directed to a pod to go through bpf_host and to be redirected to the pod's lxc device with bpf_redirect()
by using bpf_redirect(), traffic will not be tracked by CT in the host ns
this in turn causes the masquerade rule to (incorrectly) masquerade the reply traffic from the pod


Update index.js with current github url

Proposed changes
change github URL from .../camme/webdriverioto .../webdriverio/webdriverio
Types of changes
What types of changes does your code introduce to WebdriverIO?
Put an x in the boxes that apply

[X] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
Reviewers: @christian-bromann

@drjasonharrison please make a PR to upstream


Fix iptables setup

When you run the iptables command from https://github.com/cs3org/ocm-test-suite/blob/3cbedf26fa89207f9066cae0982fab6f2970d590/README.md#overview the outgoing network connection of the host server breaks, so you can then no longer do git pull or docker pull etc on the host server. There probably exists a trivial one-liner fix for that, just need to find it. :)

Fixed in the wip-docker branch


css parser don't accept ids.

[%styled.global
  {|
  #root {
    margin: 0;
    height: 100vh;
    width: 100vw;
  }
|}
];

76 | .
77 | ..............#root..
Error: Unexpected selector

Fixed in https://github.com/davesnx/styled-ppx/pull/178
Available under nightly versions


Add runAsNonRoot annotation to the kube-rbac-proxy

A static analysis (SAST) has detected potential
bug(s) or issue(s) within the manila-operator:
Error: SIGMA.container_running_as_root (CWE-269):
unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: Sigma main event: The Kubernetes container is allowed to run as the root user. This may allow attackers to gain the root privileges of the host when the container is compromised.
unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: remediation: Explicitly set the securityContext.runAsNonRoot value to true to prevent the container from running as a root-level user.
kube-rbac-proxy does run rootless by default [1][2]; however, this annotation shouldn't hurt in case the underlying container image changes in the future.
Jira: OSPRH-9115
[1] https://github.com/brancz/kube-rbac-proxy/blob/b76470f11760731a6ddb6977cd11ac25929ed0a0/Dockerfile#L9C6-L9C11
[2] https://github.com/operator-framework/operator-sdk/pull/4498

/retest


asm/amd64: uses enum for operand types

counterpart for #1378
goos: linux
goarch: amd64
pkg: github.com/tetratelabs/wazero/internal/integration_test/bench
cpu: AMD Ryzen 9 3950X 16-Core Processor
                                    │   old.txt   │              new.txt              │
                                    │   sec/op    │   sec/op     vs base              │
Compilation/without_extern_cache-32   3.907m ± 1%   3.855m ± 1%  -1.34% (p=0.038 n=7)
Compilation_sqlite3/compiler-32       426.7m ± 4%   398.2m ± 1%  -6.67% (p=0.001 n=7)
geomean                               40.83m        39.18m       -4.04%

                                    │   old.txt    │              new.txt               │
                                    │     B/op     │     B/op      vs base              │
Compilation/without_extern_cache-32   664.4Ki ± 0%   664.5Ki ± 0%       ~ (p=0.053 n=7)
Compilation_sqlite3/compiler-32       49.40Mi ± 0%   49.40Mi ± 0%       ~ (p=0.456 n=7)
geomean                               5.661Mi        5.662Mi       +0.01%

                                    │   old.txt   │              new.txt              │
                                    │  allocs/op  │  allocs/op   vs base              │
Compilation/without_extern_cache-32    852.0 ± 0%    852.0 ± 0%       ~ (p=1.000 n=7)
Compilation_sqlite3/compiler-32       28.70k ± 0%   28.70k ± 0%       ~ (p=0.729 n=7)
geomean                               4.945k        4.945k       +0.00%

nice to keep shaving down figures by full percentages!


descw-2037 fix model and formconfig to display program area name

model was missing program_area
formconfig was using client instead of program area from model
formconfig's autocompletetable field was correct. It just relied on a model whose option for program area JSON value but no program_area for the label.

@ASpiteri-BCGov pls feel free to merge this once approved.


Disable Gutter Marks

Hello,
I've tried to look around for a specific setting to disable the gutter marks completely but I couldn't find it.
I want to do this because apparently there is no way to set a priority on different plugins using the gutter.
I'm using modific plugin that also uses the gutter and both plugins conflict each other and weird things are showing up in the gutter.
At this point the only workaround would be to chose a mark style and disable the gutter theme completely. Is this possible?
If there is another solution to set priority for conflicting plugins using the gutter would be better.
See also:

https://github.com/SublimeTextIssues/Core/issues/319
https://github.com/SublimeTextIssues/Core/issues/1020

Tools > SublimeLinter > Choose Gutter Theme... and then set it to None

I've also used lint mode->manual so that it doesn't mess with the plugin gitgutter, then just check manually.  It would be great if there were two columns for the gutter to use.

I found you can still use Modific and have errors highlight if you change the settings in Modific to display dot. Go to Preferences > Package Settings > Modific > Settings - User and add the following:
{
 "region_icon": "dot",
}
Error s will now display with a red dot. Changes will have a green dot.

I just stumbled on this issue whilst trying to debug the Sublime Linter warning and error colors

If I change "region_icon": "dot" as you suggest @camloken the icons in the gutter change to dots, no colors are changed

Here's the breakdown of each gutter mark:
• Line 13 is an added line (Modific)
• Lines 16 is a modified line (Modific)
• Line 18 is a removed line (Modific)
• Line 21 lint warning (Sublime Linter & Sublime Linter ESLint)
• Line 22 lint error (Sublime Linter & Sublime Linter ESLint)
So my issue is more of a issue for me as to why "error_color": "D02000", and "warning_color": "DDB700", are not currently being used on the lint error and warnings, more research to do ;)

Disabling gutter marks is quite possible. There can only be one icon in the gutter at a time, which one is displayed depends on the situation. GitGutter creates a lot of marks and luckily has a way to prevent it from overriding other marks. There is no way to solve this beyond every package implementing something similar. I don’t think it’s reasonable to expect that to happen. Luckily there are several styles available and they can all be enabled and disabled at will.


9.2 support

M+: Added Tazavesh, updated to season 3
Raid: Added Sepulcher

folded into the update! huge thanks ❤


update to use latest firebolt-openrpc changes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kevin Shah seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Using Jackhmmer or custom msa file?

First of all, thanks for your effort to share this nice work, it's very helpful.
I had some queries that have very low MSA coverage using mmseqs2 compared to using jackhmmer, so I am wondering if there is a new runner.py now would support jackhmmer, I noticed that the original runner.py doesn't work.
Or if is there anyway to upload a custom msa file? When I ran the py file, with custom-msa, it doesn't give me option to upload file. Thanks!

README
FAQ
・Is it possible to create MSA by jackhmmer?
No, it is not currently supported.

Hi @gitgyl,
I'm sorry for this late reply. Now I am ready to provide a new version 1.2.0 of localcolabfold, which can use your own msa file. Please install and use it!


Improvements to the configuration of the SSO syncing functionality

Trello: https://trello.com/c/8kRu7Zwi
Recently we saw a bunch of SSOPushCredential::UserNotFound exceptions. This turned out to be due to the SSO_PUSH_USER_EMAIL environment variable not being set and that has since been resolved. However, @sengi, @BeckaL & @kevindew all suggested the SSOPushCredential code could be improved.
This PR is my attempt at addressing the concerns raised. As well as a number of refactorings/simplifications, the significant changes in this PR are as follows:

The email address that was provided by SSO_PUSH_USER_EMAIL is now hard-coded since it doesn't really need to be configurable. I plan to remove this environment variable from the govuk-helm-charts repo once this PR is merged and deployed.
The ApiUser used for the SSO syncing functionality is now automatically created if it doesn't already exist. I was originally planning to fail fast at app start-up time if the user did not exist, but I think there are a couple of advantages of automatically creating the user. Please let me know if I've missed something here!
The removal of the comment in config/initializers/sso_push.rb. I feel as if the original version of the comment was misleading, because it implied that if the SSO_PUSH_USER_EMAIL environment variable was not set, then the app would work fine except that the SSO syncing functionality would be disabled. However, in fact (as we saw) the functionality was not disabled in an "orderly manner"; the functionality failed due to exceptions being raised which was far from ideal!

See the individual commit notes for more details.

Thanks so much for cleaning this up btw!

Thanks, all. Much appreciated!


add some additional debug logging

also delete $TMP_DIR if no debug

I missed the 'use Constants;' thing.  Changed files as you requested.


Admins should be able to generate turnover stats

Pick a date and add up all the appointments from that date till today - add some preset dates (a week ago, a month ago), and some filtering settings (only NHS patients)

Done

Done


Support using FineGrainedShuffle Info for Join&Agg

Signed-off-by: yibin<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref #6157
Problem Summary:
What is changed and how it works?
FineGrainedShuffle info will be added in tidb side if the plan satisfies certain rules. In TiFlash side, both Join and Agg operators can benefit from these info:

Aggregation can parallelly process all streams without merging phase.
Join can build hash tables without any synchronizations, since rows with same key will be scattered to the same stream(It is guranteed by FineGrainedShuffleWriter).

A little refact of HashBaseWriteHelper to make parameters sequence more reasonable and other little changes.
Most changed logic is protected by enable_fine_grained_shuffle flag which is set false now in TiDB. Will add another separate PR to add gtests for FinedGrainedShuffleJoin&Agg then.
Check List
Tests

[x] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-unit-tests

/run-integration-test

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

Will add another separate PR to add gtests for FinedGrainedShuffleJoin&Agg then
We can add ut in

https://github.com/pingcap/tiflash/blob/master/dbms/src/Flash/tests/gtest_interpreter.cpp
https://github.com/pingcap/tiflash/blob/master/dbms/src/Flash/tests/gtest_planner_interpreter.cpp
https://github.com/pingcap/tiflash/blob/master/dbms/src/Flash/tests/gtest_join_executor.cpp
https://github.com/pingcap/tiflash/blob/master/dbms/src/Flash/tests/gtest_window_executor.cpp
https://github.com/pingcap/tiflash/blob/master/dbms/src/Flash/tests/gtest_aggregation_executor.cpp

/merge


support large file

using file reader for inputting data
replace byte array instead of string

Codecov Report

Merging #113 (0069555) into master (5fdce8e) will increase coverage by 0.39%.
The diff coverage is 83.97%.

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
+ Coverage   81.24%   81.64%   +0.39%
==========================================
  Files          17       17
  Lines        2074     2168      +94
==========================================
+ Hits         1685     1770      +85
+ Misses        241      236       -5
- Partials      148      162      +14

Thanks @mfdeveloper508!


fix korean tokenization bug

when do_lower_case = True, Languages like Korean will lead to a bunch of [UNK].eg:
한국어 ->  ᄒ ᅡ ᆫ ᄀ ᅮ ᆨ ᄋ ᅥ
just transfer NFD back to NFC when return.
Just one line insertion can neatly solve this bug. For all languages could have this problem.

@googlebot I signed it!


Allow to interpolate with #{some.expression} in addition to #var

Often, I am in situation in which i have to create named variable just
to give it to quote. So this patch allows to add arbitrary expressions
within #{...}
Does this break compatibility?
If somebody had used #{...} in a quote block before, this would now break
as it was teken literaly before and it is now an interpolation.
But since #{...} is not valid rust syntax, I would think that it is really
unlikely someone used that in its code.

Ah sorry, I was unaware of previous attempts.
(Note that the fact that this has been suggested so many times show that there is interest in this. I still feel it is a great addition, especially for the one one-liner quotes.)


[DOWNSTEAM-ONLY] Bug 2098562: fix build failure related to VaultTenantSA.createToken

Pull-Request #99 backported a commit that applies cleanly, but causes a
build failure:
internal/kms/vault_sa.go:313:12: kms.createToken undefined (type *VaultTenantSA has no field or method createToken)
internal/kms/vault_sa.go:344:12: undefined: vaultTenantSA

In recent versions, vaultTenantSA is used, but release-4.10 is stuck
on the old naming of VaultTenantSA. The unexporting was done in
upstream ceph/ceph-csi#2750, which includes more changes than what we
want in a backport.

/bugzilla refresh


Add support for Python 3

d3po only supports legacy Python at present due to an implicit relative import in __init__.
This PR fixes d3po to work with Python 3!

Nice. You're hired


[Refactoring] Rewrite all build steps by using plugins

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

:tada: This PR is included in version 16.11.0 :tada:
The release is available on:

v16.11.0
GitHub release

Your semantic-release bot :package::rocket:


fix: Fix devenv for Linux

thanks
though maybe change the commit prefix to infra, we don't want this in the changelog

Don't think infra is allowed; could use ci or chore.


Add support for compilation using NativeAOT

Thanks! Sorry for the long delay.

No problem at all!


Update dependencies. Update to Go 1.21

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

Comparison is base (606c645) 68.78% compared to head (0c1e164) 68.71%.

:exclamation: Current head 0c1e164 differs from pull request most recent head 276c9a3. Consider uploading reports for the commit 276c9a3 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
- Coverage   68.78%   68.71%   -0.07%
==========================================
  Files          47       47
  Lines        4482     4482
==========================================
- Hits         3083     3080       -3
- Misses       1206     1207       +1
- Partials      193      195       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


README.md: fix TSS TAB and Resource Manager Specification URL

The URL for the TSS TAB and Resource Manager Specification isn't correct,
it's linked to the TSS 2.0 TPM Command Transmission Interface (TCTI) API
Specification instead.
Signed-off-by: Javier Martinez Canillas<EMAIL_ADDRESS>

@flihp ah, sorry. I missed that it wasn't the last version. Fixed now.


WIP: Ubuntu 14.04 LTS

This updates the cookbook to use a new Vagrant box running Ubuntu 14.04 LTS.
Package updates include:

Nginx 1.4.6
PostgreSQL 9.3.4
Ruby 2.1.1-p76 (could not install 2.0 as default Ruby due to https://bugs.launchpad.net/ubuntu/+source/ruby2.0/+bug/1310292)

Note that the new VM works best with 2 GB of RAM and 2 CPUs, which is much more compared to Ubuntu 12.04.
TODO:

[x] Wait for https://github.com/hw-cookbooks/postgresql/pull/125 to be merged upstream
[x] Update Test-Kitchen and integration tests
[ ] Figure out why service nginx status reports the wrong result after provisioning -> turned out to be a problem with the nginx cookbook, tested that installing nginx manually works fine

Might give this another try in the future. Closing for now.


[Feature] Readme / Markdown File Outline Navigation

A feature recently introduced in GitHub is the ability to navigate README.md files using a header-based outline tab (see images below). This seems like a nice quality-of-life feature. Also, building on this possibility, would it be possible to add this capability for all Markdown files (e.g. be able to use outline navigation within the file previewer)?

Also, just want to say a huge thank you to all the developers and community that makes Gitea possible - you all rock! :smile:

There were already attempts to add auto-generated TOCs, so maybe work on such a featuer can build on existing code. Hiding it behind a hamburger menu does seem like a good idea to me. That way we don't alter the original markdown rendering.


KeyError 'gene_id' in salmon_tx2gene.py

Check Documentation
I have checked the following places for your error:

[x] nf-core website: troubleshooting
[x] nf-core/rnaseq pipeline documentation

Description of the bug
The salmon_tx2gene.py script is throwing an error of
Traceback (most recent call last):
    File "/home/humebc/.nextflow/assets/nf-core/rnaseq/bin/salmon_tx2gene.py", line 88, in <module>
      tx2gene(args.gtf, args.salmon, args.id, args.extra, args.output)
    File "/home/humebc/.nextflow/assets/nf-core/rnaseq/bin/salmon_tx2gene.py", line 47, in tx2gene
      gene_dict[attr_dict[gene_id]].append(attr_dict)
  KeyError: 'gene_id'

This is being caused due to the fact that the "gene_id" key is not present in the key-value pairings of the .gtf file being used as input. This is only the case for a small number of the lines. For the majority, "gene_id" is present. I originally gave your pipeline a GFF file as input. The GFF file is this one: GCF_017654675.1_Xenopus_laevis_v10.1_genomic.gff.gz.
The offending line in the salmon_tx2gene.py is this one:
gene_dict[attr_dict[gene_id]].append(attr_dict)

Because the "gene_id" key is present in the vast majority of the lines, this line can be surrounded in a try: except: and the script will complete with no issue. E.g.:
try:
    gene_dict[attr_dict[gene_id]].append(attr_dict)
except KeyError:
    continue

Alternatively, i suppose this problem could be fixed in the part of the workflow that is responsible for converting the GFF file into a .gtf file by ensuring that every output line has a "gene_id" key value pairing.
Steps to reproduce
Steps to reproduce the behaviour:

Command line:

nextflow -c nextflow.config.heim run nf-core/rnaseq --input /home/humebc/projects/20211102_heim/nf_rna_seq/heim_sample_sheet.csv --pseudo_aligner salmon --transcript_fasta /home/humebc/projects/20211102_heim/xenopus_references/GCF_017654675.1_Xenopus_laevis_v10.1_rna.fna.gz --salmon_index /home/h
umebc/projects/20211102_heim/xenopus_references/xenopus.gentrome.index -profile docker --fasta /home/humebc/projects/20211102_heim/xenopus_references/GCF_017654675.1_Xenopus_laevis_v10.1_genomic.fna.gz --gff /home/humebc/projects/20211102_heim/xenopus_references/GCF_017654675.1_Xenopus_laevis_v10.1_genomic.gff.gz

See error:
See above

Expected behaviour
I would expect the script to complete and produce the salmon_tx2gene.tsv.
nextflow.log
Log files
Have you provided the following extra information/files:

[x] The command used to run the pipeline
[x] The .nextflow.log file

System

Hardware:
linux server
Executor:
OS:
linux ubuntu
Version
v3.3

Nextflow Installation

Version:
<IP_ADDRESS>56

Container engine

Engine:
-Docker
version:
Docker version 20.10.5, build 55c4c88

Additional context

Added the try logic in https://github.com/nf-core/rnaseq/pull/732/commits/9c0641a41e4a1c5db8f6ae54e635e132d1caed10 @didillysquat.
The other option of checking during the conversion will be trickier I suppose because we are using GFFREAD to do that and not a custom script. If you can find a solution with that then we can try and add it but patched for now based on your initial suggestion.
Will close for now but feel free to re-open if things change. Cheers!

Great. Thanks @drpatelh !


nice try

You've done a great job with the CSS effects for the onclick event, but it seems the modal isn't opening when clicked. Nice effort! I might consider sticking with CSS for this project.

I looked into this because I'm considering using Flowbite for a Blazor/Tailwind project I'm working on and I got it to fix by doing this:
(Ensure npm/tailwind is downloaded and already set up)

Use libman instead of npm to add Flowbite to the wwwroot project. I used cdnjs as the provider

Update _Host.cshtml to use the flowbite.min.js file we just added in wwwroot

@page "/"
@using Microsoft.AspNetCore.Components.Web
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@namespace BlazorApp.Pages

<!DOCTYPE html>
<html lang="en">
    ...
    <script src="~/flowbite/flowbite.min.js"></script>
</html>

Update tailwind.config.js to add the new javascript file to the content module:

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    // other files...
    "./wwwroot/**/*.js"
  ],
...
}

Update Index.razor to do the following:

Use the JSRuntime to initialize the modal after the component renders
Include a missing attribute data-modal-target to the button that opens the modal. The value should be the id of the modal you want to open.

@page "/"
@inject IJSRuntime JSRuntime;

<!-- Modal toggle -->
<div class="flex justify-center m-5">
    <button id="defaultModalButton" data-modal-toggle="defaultModal" data-modal-target="defaultModal" class="block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800" type="button">
    Show modal
    </button>
</div>

<!-- Main modal -->
...

@code {
    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        await base.OnAfterRenderAsync(firstRender);
        await JSRuntime.InvokeVoidAsync("initModals");
    }
}

The result looks like this on my end:

Thank for your example. I implement and it work as expected with modal, dropdown, ...
But seem like the datepicker component doesn't work. I'm trying to figure out the issue.
Could you please try to implement it?


Convert MapVirtualKeyW/MapVirtualKeyA/MapVirtualKeyExW/MapVirtualKeyExA to Markdown

@DJm00n : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Can't seem to use any node built in modules

Description
Trying to install certain node modules that use things like EventEmitter or Buffer and they're failing because they cannot find the module
Reproduction
https://rnplay.org/apps/9k0nRQ
Here's a simple RNPlay that gives a quick example of trying to use Buffer to base64 encode
Additional Information

React Native version: [0.36.0]
Platform: [FILL THIS OUT: iOS]
Operating System: [MacOS]

This is because RN doesn't actually run on node (V8), but JSC. You can however use rn-nodeify to get node stuff running in a RN app reasonably well.

@stovmascript - spot on


Troube Using Autocomplete Light

Hello,
I have been trying for quite a while to get autocomplete light working with my project. I'm trying to add another popup window outside the admin. I'm new to Django and am at a loss on what else to do- I've been trying for days. Is there any way you can help me get autocomplete light working with my project?
I've tried requesting you on "hackhands" but no luck....any help would be VERY much appreciated.
I have read the documentation but am still very lost.
Thank you!
Stephanie

Did you read
http://django-autocomplete-light.readthedocs.org/en/stable-2.x.x/faq.html#how-to-ask-for-help
?
and http://docs.yourlabs.org/en/latest/guidelines.html#asking-for-help also
might help
and http://whathaveyoutried.com

Hello,
Yes I posted [my question] a few days ago on stackoverflow
(http://stackoverflow.com/questions/29313482/autocomplete-light-for-adding-popup-outside-the-admin)

@ssocias
Also after reading your SO post, it's still not clear what the actual problem is - although that provides more information at least.
What completions do you expect?
Have you registered the completions?
Apart from that you might have luck with import ipdb; ipdb.set_trace() at the right place to debug what's going on.

Answered on SO.


Geofence list sometimes empty

The activity does not seem to be reloading the list contents on rotate

@jasperdevrient there is a bug:

go to fencelogs
wait for load
rotate screen to horizontal
wait for load
go to geogeofences

you now have an infinitely spinning spinner until you again rotate the phone

closing and creating new ticket for this small issue


default exception handler: identify the exception that's being serviced

@homunkulus r+

:pushpin: Commit 8394581 has been approved by japaric

:hourglass: Testing commit 8394581 with merge 8394581...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing 83945819af5a724ba9175fdc5e22b7c854a0fc14 to master...


Jazzy/Dash documentation. Something bad happens

3.0.0 is now on cocoapods but Dash auto-generated documentation fails.
CocoaPods docs uses jazzy (at least for swift).
Results logs are here:
http://api.cocoadocs.org:4567/error/SwiftDate/3.0.0

Just tried to generate a doc using Jazzy:
/usr/local/bin/jazzy --swift-version 2.1.1 -x '-target,SwiftDate' -o '/Users/danielemm/Desktop/SwiftDate/SwiftDated/JZ' -c --skip-undocumented --author 'Daniele Margutti'

but it fails for the same reason.
So I've tried to create a new project, copy SwiftDate core files and..dah dah..it works (we need to make some correction to it, but that's another story).
Never liked the magic behind CocoaPods but it seems to be something related to it.
So my idea is to create a new framework project without using cocoapods to download unit tests (and use it to add carthage targets) and move cocoapods test project in a separate folder.
What do you think @Hout ?

We could use Carthage to download Quick and Nimble. That should also work with Travis...
https://github.com/Quick/Quick/blob/master/Documentation/InstallingQuick.md#carthage

Great @Hout. Just made these changes and pushed 3.0.1.
I'll add jazzy documentation sooon. Meanwhile it now works fine with Carthage (I love it!)

So Carthage is resolved, how do we progress with Jazzy?

Jazzy is now supported. Configuration was added to project's root directory. First docs was generated.
We should make it better but it's a start and it now works.


Derive for borrowed fields

I am still working on polishing and documenting and testing, but I got this working and measured some 10% improvements in realistic use cases.
struct S<'a, 'b, 'c, 'd, 'e> {
    // copied from the input
    w: String,

    // &str and &[u8] are always implicitly borrowed from the input
    x: &'a str,

    // other types require an attribute to opt into borrowing
    #[serde(borrow)]
    y: Cow<'b, str>,

    // can narrow down which lifetimes should be borrowed
    #[serde(borrow = "'c + 'd")]
    z: Z<'c, 'd, 'static, 'e>,
}

The union of all borrowed lifetimes becomes the bound on the 'de lifetime of the Deserialize impl.
impl<'de: 'a+'b+'c+'d, 'a, 'b, 'c, 'd, 'e> Deserialize<'de> for S<'a, 'b, 'c, 'd, 'e>

I don't get why we need the is_cow function. The user opts in with the attribute. Can't we just trust them? Or call into and let the error reporting do its thing?

There are effectively two different Cow<str> impls:
// the real impl
impl<'de, 'a, T: ?Sized> Deserialize<'de> for Cow<'a, T>

// implemented by borrowed_cow_str
impl<'de: 'a, 'a> Deserialize<'de> for Cow<'a, str>

They are different impls, contain different logic etc. "Trusting the user" has nothing to do with selecting which of these impls is used.
The behavior we want from a Cow<str> impl is:

visit_str and visit_string copy the data
visit_borrowed_str borrows the data if 'de outlives 'a
visit_borrowed_str copies the data if 'de does not outlive 'a

In Rust this is impossible to achieve with a single impl because there is no way to do lifetime dispatch: "if 'de outlives 'a then this, else this." Even with specialization this is broken, like in https://github.com/rust-lang/rust/issues/40582.
The alternative I considered and ruled out was to have an exact duplicate of the Deserialize trait called DeserializeBorrowed so that we can have two different impls for every type, and serde(borrow) would imply deserialize_with=DeserializeBorrowed::deserialize. I ruled this out because Cow is the only type for which you commonly want two behaviors and another trait would increase complexity much more than this approach.


Weights not attaining maximum at surface (SDF=0)

Hi, @Totoro97!
Thanks for your great work. I was impressed by the results of your work and am trying to understand the derivation of the weights. I agree that the weights should satisfy unbiased and occlusion-aware properties.
However, I empirically find that the actual discretized weights do not satisfy the unbiased property.
In the following, I plot the SDF values and weights w.r.t. t, the distance from sampled points to the ray origin.
We can see the weights attain maximum before the ray intersects the surface, which is supposed to be the naive solution one's property (i.e., NeRF).

I wonder whether this is due to the derivation for the denominator in eqn. (6)  does not hold for general surfaces. To derive eqn. (6),  the surface is assumed to be a plane. While we can make such assumptions for points sufficiently close to the surface, it seems not true for points far away from the surface. Since we are integrating all points along the ray, integrating the S-density of the points far away from the surface is inevitable, and this causes bias.

Do you have any thoughts on this phenomenon?
To reproduce the figure, the following code can be inserted right after
https://github.com/Totoro97/NeuS/blob/6f96f96005d72a7a358379d2b576c496a1ab68dd/models/renderer.py#L262
sdf_temp = sdf.reshape(batch_size, n_samples)

import matplotlib.pyplot as plt

for i in range(batch_size):
    plt.figure()

    plt.plot(mid_z_vals[i].detach().cpu().numpy(), sdf_temp[i].detach().cpu().numpy(), c='r', label='sdf')
    plt.plot(mid_z_vals[i].detach().cpu().numpy(), weights[i].detach().cpu().numpy(), c='b', label='weights')

    plt.legend()

    plt.show()
    plt.close()

Hi, thanks so much for your interest in this project! Regarding the visualization result, I guess the reason is that the section lengths of the sampled section are not uniform. You can plot weight[i] / dists[i] (dists[i] is the length of i-th section) and see the visualization results.
On the other side, yes, the unbiased property is based on the assumption that the surface is a plane. So there can be some errors for general surfaces. But for the above visualization, I think it is mainly due to the non-uniform section length. Plotting the "weight per unit length" should be more reasonable.

 The weights look more reasonable now!

Thans for your kine reply.


Switch to Coinbase API

New Features:

Support for local fiat currencies

Fix #12

yeah functions normally after all fixes, thanks dude!

how could i add v4 for to it?


Fix RuboCop Lint/RedundantDirGlobSort and Performance/MapCompact offenses

For https://github.com/Homebrew/brew/pull/16745.

Looks like CI is still using Ruby 2.6... one moment...


Attempt to fix #11011.

The new code complies with the documentation:
https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#SSL_read
At the very least, that should give us better debugging info of the problem.

@nicolasnoble ping?

ping? ping?

No significant performance differences

Looks like code formatting isn't happy.

Thanks for having a look. It should be now.
On Wed, Jun 7, 2017 at 11:11 PM, Nicolas Noble<EMAIL_ADDRESS>wrote:

Looks like code formatting isn't happy.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/11051#issuecomment-306926376, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF-P7QnDAvmcfVs3mwQmWqABUCnsHTO_ks5sBxILgaJpZM4NV-6u
.

No significant performance differences

[trickle] Performance differences noted:
Benchmark                                     svr_transport_stalls_per_iteration
--------------------------------------------  ------------------------------------
BM_PumpStreamServerToClient_Trickle/128M/16M  +9999%

[microbenchmarks] No significant performance differences

@matt-kwong are you the one merging approved PRs or do you want me to do it? Thanks!

You're free to merge pull requests as soon as they're approved and you check if failing tests are unrelated to your change.

Thanks Matt!
On Mon, Jul 10, 2017 at 10:27 AM, Matt Kwong<EMAIL_ADDRESS>wrote:

Merged #11051 https://github.com/grpc/grpc/pull/11051.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/11051#event-1157248642, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AF-P7WK7VdoMIRz0PUEC-lReHlx8WS8cks5sMl8MgaJpZM4NV-6u
.


coordinate release 0.9.60

@newville I put here notes/summary that I will update during development to keep track of what was added/modified/fixed
WIP, partially adressed:

#329
#334
#336
#347
#352
#357

Proposed (ordered by priority?):

#363
better expose all of the mapping of displayed spectra "filename" to "groupname" within Larch.
allow editing of CIFs
XRF Fitting with finite matrix effects.
#336
test Linux binaries under Ubuntu 20.04
why pymatgen is not pip-installable?
make a "daily built wheel" available. This should be feasible directly with Github, if I am not wrong
may consider moving to semantic versioning or simply stick to a "date-like" versioning (e.g. YYYY.MM).

Added:
Modified:
Fixed:

#368

@maurov thanks!!   I'm actually thinking that we might just want to call some version 1.0.0 pretty soon.... I think we know that most of the basic code is pretty stable and that the earlier approach with "plugins" and an emphasis on "mini language" is pretty much gone.   I also think that the XAS Viewer (and XRF analysis) is "mostly there" and at the point of feature fixes.
That is,  I think the near-term to-do list (say. for 0.9.60):

Larch Project File in HDF5 (and/or Zarr, which I'm interested in for XRF maps too) which saves all the analysis components (pre-edge, PCA, Feff-fit, XRF, etc) fitting models and results history.
Better expose all of the mapping of displayed spectra "filename" to "groupname" within Larch.
allow editing of CIFs
XRF Fitting with finite matrix effects.

looks a lot like a list for 1.0.0

1. Larch Project File in HDF5 (and/or Zarr, which I'm interested in for XRF maps too) which saves all the analysis components (pre-edge, PCA, Feff-fit, XRF, etc) fitting models and results history.

@newville yes, this is definitively top priority -> #363

@newville I am sorry, but I have lost track of your huge work done lately on saving the Larch project files. Do you think it is possible to release 0.9.60 soon? By the end of next week?

@maurov Yes.  I had been hoping for "today", but I still have a couple of things I would like to fix.  And the documentation is way behind.   So, I'm now hoping for Monday.  I'm expecting to release this to generate suggestions and find critical problems that I missed, that need a 0.9.61 release within a month.    So, these changes need some explanation and allow for comments/suggestions.
Significant changes are:
Project/Session File: this saves the full session, including all the arrays (not just mu(E) and the analysis parameters), fitting models, and the fit histories for pre-edge peak fitting, linear combinations, and Feff fitting (including the Feff Paths). Getting this to work and having the results reloaded into XAS_Viewer meant some real changes to the GUI code, and also changes to some of the non-GUI code: not really the analysis steps, but maybe how the data structures were laid out.  Anyway, I think this is working, if only "beta" or "version 1".    The file format is "Gzipped blob with json-encoded objects".  It is worth discussing other options, like HDF5 (which could be a lot of work and still end up with lots of "json-encoded" strings), but we should decide on this within a few releases (or, say 1 year) so existing format could be converted without needing to support multiple versions for very long.
Journal: added a Journal for each group, timestamping the major processing steps.  This can be viewed and added too, and journals are saved in the Project files...   Many of the "callargs" have been moved to a single group.
Preferences:  GUI form for editing preferences for settings and form values (most of these are actually used, most of the time!!!), can be saved and then autoloaded for future sessions.  Each group will have a configuration, using these as defaults, and "copy to all groups" is much better at updating a group's config, but not the default preferences.
Energy shifts.  These are handled much better, and the calibration dialog can either shift the actual energy or just record what the "energy shift" for each group should be -- that allows "energy shifts" to be re-done and un-done more easily.  Energy re-binning is also much better.
For the list of priorities,

Done, I think: Larch Journal
Done: better expose all of the mapping of displayed spectra "filename" to "groupname" within Larch.
Not Done: allow editing of CIFs
Work in Progress: XRF Fitting with finite matrix effects.
Fixed, I thnk:  copy function acting weird sometimes.
Not Done: test Linux binaries under Ubuntu 20.04
Not Sure: why pymatgen is not pip-installable?
Sort of:  make a "daily built wheel" available. This should be feasible directly with Github, if I am not wrong. (that is, it is at https://millenia.cars.aps.anl.gov/xraylarch/downloads/xraylarch-latest-py3-none-any.whl)
Not Done: may consider moving to semantic versioning or simply stick to a "date-like" versioning (e.g. YYYY.MM).

@newville thanks for your great work on this release ! I close this now.

@maurov Thanks -- hopefully the number of serious bugs will be small!


Refactor parse_script function for readability and maintainability

This commit refactors the parse_script function to enhance readability and maintainability. Changes include:

Improved documentation with detailed explanations of the function's behavior, input, and output.
Renamed variable 'n_delimiters' to 'delimiter_count' for clarity.
Used specific exception handling instead of catching generic 'Exception'.
Combined two try-except blocks into one for better code organization.
Added comments to clarify complex logic and edge cases.
Enhanced function signature by specifying types of exceptions raised.

These changes aim to make the codebase more understandable and easier to maintain, without altering its functionality.

In the latest commit, I've tried to implement all the suggested improvements.


fix(device-service): Addressed review comments

UART Device Service - Addressed review comments in Dockerfile

@iain-anderson, I have updated the review comments in PR#6. Could you please review and let me know?
Thank You,
Vijay A.


how to resolve this error

i followed the instruction, but get this error when trying praisonai coe
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/praisonai/init.py", line 5, in
from .cli import PraisonAI
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/praisonai/cli.py", line 23, in
from chainlit.cli import chainlit_run
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/init.py", line 26, in
from chainlit.action import Action
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/action.py", line 5, in
from chainlit.telemetry import trace_event
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/telemetry.py", line 12, in
from chainlit.config import config
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/config.py", line 36, in
FILES_DIRECTORY.mkdir(exist_ok=True)
File "/usr/lib/python3.11/pathlib.py", line 1117, in mkdir
os.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/papa/.praison/.files'

I had the same problem, just create both of those folder in your /home/papa. This might be caused you have installed it for an user who does not have access to root rights.


Webpack build failing at sample application

There seems to be multiple issues on the openui5-sample-app application referenced in README.

openui5-manifest-loader seems to be a devDependency, but is not listed in package.json
After adding openui5-manifest-loader as a devDependency, when trying to run npm run build, some other SAPUI5 libraries seems to be missing, like @openui5/sap.ui.support and @openui5/sap.ui.testrecorder.
Even after adding these two libraries, sap.ui.support and sap.ui.testrecorder, I still get the following errors when trying to build:

Module not found: Error: Can't resolve 'sap/ui/testrecorder/Bootstrap' in<EMAIL_ADDRESS><EMAIL_ADDRESS>308:3-312:5
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> @ ./app.js

ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'sap/ui/testrecorder/Bootstrap' in<EMAIL_ADDRESS><EMAIL_ADDRESS>28:5-33:7
<EMAIL_ADDRESS><EMAIL_ADDRESS> @ ./app.js

I encountered the same issue.
I fixed it by adding<EMAIL_ADDRESS>in resolve.modules of webpack.config.js
Then I had some other missing dependencies.
Finaly my dependencies are :
"dependencies": {
<EMAIL_ADDRESS>"1.82.0",
<EMAIL_ADDRESS>"1.82.0",
<EMAIL_ADDRESS>"1.82.0",
<EMAIL_ADDRESS>"1.82.0",
    "@openui5/themelib_sap_belize": "1.82.0",
    "falafel": "^2.2.4",
    "lolex": "^6.0.0",
    "samsam": "^1.3.0"
  },
  "devDependencies": {
    "copy-webpack-plugin": "^5.0.3",
    "eslint": "^4.19.1",
    "gh-pages": "^2.0.1",
    "html-webpack-plugin": "^3.2.0",
    "imports-loader": "^0.8.0",
    "karma": "^4.0.1",
    "karma-chrome-launcher": "^2.2.0",
    "karma-coverage": "^1.1.2",
    "karma-ui5": "^1.0.0",
    "openui5-manifest-loader": "^0.1.0",
    "openui5-renderer-loader": "^0.2.0",
    "openui5-webpack-plugin": "^0.4.0",
    "openui5-xml-loader": "^0.4.0",
    "raw-loader": "^1.0.0",
    "rimraf": "^2.6.2",
    "script-loader": "^0.7.2",
    "webpack": "^4.33.0",
    "webpack-bundle-analyzer": "^3.3.2",
    "webpack-cli": "^3.3.4",
    "webpack-dev-server": "^3.7.1"
  }


Pull Request Template: political improvements

Description of your pull request and other information

This handles both recent political issues/memes and an oversight in the public domain policy.
Namely, the US public domain does not work like many other countries. As noted on their website, the creative commons zero bridges the US public domain with other places. It should be allowed as another permissive license, in my opinion.
If no one thinks these issues are a problem, then feel free to just close this.
Justification:

https://www.spiceworks.com/it-security/security-general/news/40-of-code-produced-by-github-copilot-vulnerable-to-threats-research/
https://www.theverge.com/2022/11/8/23446821/microsoft-openai-github-copilot-class-action-lawsuit-ai-copyright-violation-training-data
https://www.priorilegal.com/blog/openai-chatgpt-copyright

Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

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

[x] I am the original author of this code and I am willing to release it under Unlicense

What is the purpose of your pull request?

[x] Core bug fix/improvement -- namely, the PR template and what is accepted by the project

Since the project itself is under unlicence, we cannot accept CC0 code. See https://github.com/yt-dlp/yt-dlp/issues/2345 for further discussion

Ah, I missed that issue in my search.
In that case, updated to be just the new legal changes related to AI/ML


[Feature Request] Add the ability to use grass instead of dart-sass

Describe the feature and why you wanted
Grass promises 2x performance gains over dart-sass. It would be nice to be able to use it with gulp-sass, perhaps by setting some parameter in the options, or even being able to provide your own SASS implementation. For example
.pipe(sass({ compiler: 'grass' /* default being 'dart-sass' */ }))

or
import * as grass from 'grass';
import * as sass from 'sass';

const useGrass = true;

.pipe(sass({ compiler: useGrass ? grass : sass }))

Where is your grass pkg?

Uh, it would be installed via NPM, presumably?

It has nearly no options, so how can I integrate it?
probably this should.be.built.as a new package called gulp-grass or any thing else.

Also one more thing, you mention 2 times faster, not 10x faster like esbuild, so I have little interest because I am not expecting anyone to hit a performance issue when playing tons of sass files with gulp.


Blue project color shows as grey

Blue Colour for Projects does not show for TogglDesktop. It is instead greyed out. Here I have ‘Web’ project in colour blue and it shows correctly on the website however within the application it is always greyed out.

Has been reported also by a Windows user (windows_native_app/7.3.157-obm-73). Desk case #216524.

Will be fixed in backend. Issue was with websocket project data not including color param, if the value of color was 0 ( in our case light blue color code is 0 )


Update priority-inversion.md to match Windows 11

Update description of the priority inversion phenomenon.
Add description of the AutoBoost function which allows threads to temporarily raise their priority when they enter or leave critical regions.

@Karl-Bridge-Microsoft @GrantMeStrength Any news on that?


Application display broken on mobile

Occurred since  around https://github.com/Matt-Allen44/Quik/commit/67ef0e84172a03dfdf92f66685a3daca3e39b0ee

Fixed by 8ed34bfccc9ba8a11a2e0f06cfd11f5a58a9c8f5


VM MinHardwareVersion

This patch adds support for specifying a VM's mininum hardware version in order to enable more control over a VM's hardware version by the DevOps persona. This also enables upgrading brownfield VMs to a more recent hardware version in order to support features like PVCs and Dynamic Direct Path I/O devices.

Change looks good to me. We'll need to decide on what takes precedence when the VM Class Config Spec's hw version and the VM Spec's hw version are set. VM Spec overrides Class?.

Change looks good to me. We'll need to decide on what takes precedence when the VM Class Config Spec's hw version and the VM Spec's hw version are set. VM Spec overrides Class?.

I think we already made that decision when we said the hardware from the class overrides the hardware from the OVF 😃
Thanks for the approvals -- I'm going to wait to merge this until we have go-ahead for Shruthi to execute on the implementation. We don't want to add the field until we know we can resource the work to make it available in the next release.


[#60] [#62] | Animation added to filter and donation types is default

Fixed #60 Fixed #62

Added for mobile as well https://github.com/neu-fi/turkiye-relief-dao/pull/66 @hantuzun


fix: Confirm before executing setting does not work when a JS function is trigged

Description
Bug-17500: Confirm before executing setting does not work when a JS function is trigged on a button click
Bug-13636: Function execution does not wait for user confirmation when a nested function and when run on load.
Fixes #17500
#13646
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=87b3fa0

@Druthi Can you ensure that all tests (jest and cypress) pass? Jest tests are currently failing.

/ok-to-test sha=a25493f

/ok-to-test sha=feacc71

/build-deploy-preview

@Druthi  Tested 17500
13646, working as expected. Moving to Done.

/ok-to-test sha=6206aa8

/ok-to-test sha=921aabd

/ok-to-test sha=e4d3aef

/ok-to-test sha=4ecb41f

/ok-to-test sha=01da4f4

/ok-to-test sha=16c5811

/ok-to-test sha=6794c38

/build-deploy-preview env=release

/build-deploy-preview env=release

/build-deploy-preview env=release

/ok-to-test sha=696f979

/build-deploy-preview env=release

/ok-to-test sha=7c141b7

/build-deploy-preview env=release

/ok-to-test sha=4a4c473

/build-deploy-preview env=release

/ok-to-test sha=2b2af25

/build-deploy-preview env=release

/ok-to-test sha=7b50074

/ok-to-test sha=3770d83

/ok-to-test sha=6ba9f1a

/ok-to-test sha=8c7f03e

/ok-to-test sha=24849a4

/build-deploy-preview env=release

/ok-to-test sha=5e76ecb

/ok-to-test sha=d899a2a

/ok-to-test sha=098fc8a


[IOTS-199] Deleted agents are still receiving command events

Agents are still able to receive command events over MQTT after they are deleted. + to reproduce + 1. enroll custom device type, start agent on device. 2. delete device by making a DELETE on /device/DEV_ID resource. 3. call command api of device(device/DEV_ID/change-status?state=off 4. check agent stdout.Reference: https://wso2.org/jira/browse/IOTS-199

This is fixed hence closing