Three errors I cannot figure out

Hello everyone,
I got cuckoo to work but there are three errors that come up once in a while when the extension of the submitted file is not specifically identified (identifiable).
Any help is greatly appreciated:

ERROR#1
2015-08-17 13:43:47,798 [lib.cuckoo.core.plugins] ERROR: Failed to run the processing module "BehaviorAnalysis":
Traceback (most recent call last):
File "/home/examiner/cuckoo/lib/cuckoo/core/plugins.py", line 195, in process
data = current.run()
File "/home/examiner/cuckoo/modules/processing/behavior.py", line 1106, in run
for call in process["calls"]:
File "/home/examiner/cuckoo/modules/processing/behavior.py", line 191, in next
return self.cacheless_next()
File "/home/examiner/cuckoo/modules/processing/behavior.py", line 168, in cacheless_next
self.wait_for_lastcall()
File "/home/examiner/cuckoo/modules/processing/behavior.py", line 146, in wait_for_lastcall
if not self.parser.read_next_message():
File "/home/examiner/cuckoo/lib/cuckoo/common/netlog.py", line 195, in read_next_message
self.handler.log_call(context, apiname, category, arguments)
File "/home/examiner/cuckoo/modules/processing/behavior.py", line 252, in log_call
returnval] + arguments)
File "/home/examiner/cuckoo/modules/processing/behavior.py", line 311, in _parse
pretty = pretty_print_arg(category, api_name, arg_name, argument["value"])
File "/home/examiner/cuckoo/lib/cuckoo/common/utils.py", line 1252, in pretty_print_arg
val = int(arg_val, 16)
ValueError: invalid literal for int() with base 16: '0x-7ffffffe'
OBS: The analysis completes and a report is generated.
ERROR#2
2015-08-17 13:43:49,265 [modules.processing.memory] ERROR: Generic error executing volatility
Traceback (most recent call last):
File "/home/examiner/cuckoo/modules/processing/memory.py", line 1063, in run
vol = VolatilityManager(self.memory_path)
File "/home/examiner/cuckoo/modules/processing/memory.py", line 927, in init
for pid in self.voptions.mask.pid_generic.split(","):
AttributeError: 'int' object has no attribute 'split'
OBS: The analysis completes and a report is generated.
ERROR#3
2015-08-17 13:43:50,942 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run
Traceback (most recent call last):
File "/home/examiner/cuckoo/lib/cuckoo/core/scheduler.py", line 430, in run
self.process_results()
File "/home/examiner/cuckoo/lib/cuckoo/core/scheduler.py", line 373, in process_results
RunSignatures(task=self.task.to_dict(), results=results).run()
File "/home/examiner/cuckoo/lib/cuckoo/core/plugins.py", line 400, in run
for proc in self.results["behavior"]["processes"]:
KeyError: 'behavior'
OBS: This last one is particularly annoying since it breaks the entire analysis and cannot get to the point where I can have a final report (even if partial). The generated data is available in storage.
I tun latest version of cuckoo, properly installed on a Linux box (Ubuntu up to date v3.19.0-26). The analysis machine is a Win7 Enterprise x64 SP1. Python v2.7 on both sides.
I mention the fact that if I specify the file extension (renaming the file) everything works just fine except (sometimes) volatility error. I re-installed Volatility several times (v2.4) which works just fine offline.
Many thx in advance

You aren't using the upstream Cuckoo, as is clear from the reported tracebacks.  Please don't report these issues to them as I'm sure it's annoying to them and wastes their time.

annoying ? wasting their time ? wow ! sorry for asking. I thought that community supported plugins (which are obviously used in this case) are posted on github with the goal of improving this amazing tool  and bring recognition to coders. I was wrong, obviously. According to you at least . thx for your very "useful and helpful" input. Anyone else please, could point me in the right direction ? with no judgement and reprisal ...lol..thx in advance

Which version of Cuckoo are you running? Any special samples or code modifications that you've done to get these errors?

He's using my fork, hence the pretty_print_arg in the first traceback.  The second issue you've already fixed as well: https://github.com/cuckoobox/cuckoo/blob/master/lib/cuckoo/core/plugins.py#L438 only the third one (might) need fixed for you as well.

main stream v1.2 and community supported signatures. Some modules I got
from other contributors. I did not personally do any code changes (not a
programmer by any means). Thank you for taking the time to get back to me.
On Wed, Aug 19, 2015 at 9:06 AM, Jurriaan Bremer<EMAIL_ADDRESS>wrote:

Which version of Cuckoo are you running? Any special samples or code
modifications that you've done to get these errors?
—
Reply to this email directly or view it on GitHub
https://github.com/cuckoobox/cuckoo/issues/623#issuecomment-132584126.

correct, using yours and some others as well. and you guys are doing an
amazing job. I am impressed and thankful for this awesome tool.
On Wed, Aug 19, 2015 at 9:07 AM, Brad Spengler<EMAIL_ADDRESS>wrote:

He's using my fork, hence the pretty_print_arg in the first traceback. The
second issue you've already fixed as well:
https://github.com/cuckoobox/cuckoo/blob/master/lib/cuckoo/core/plugins.py#L438
only the third one (might) need fixed for you as well.
—
Reply to this email directly or view it on GitHub
https://github.com/cuckoobox/cuckoo/issues/623#issuecomment-132584663.

Closing as unrelated to the project.


When using signature_pad with PhoneGap/Cordova touchend event not firing

First of all thanks for taking the time to make the signature_pad it's great and helped me a lot.
It appears that the touchend event is not firing when using phonegap (5.4.1), from a previous pull request #88 it appears @mtomic fixed it, however this was signature_pad version 1.3.4 there has been several improvements/fixes since then.
Would it be possible to merge this fix into the latest version?

Sure. I'll try to find some free time to do it over the weekend and release a new version.

@AlexPashley thanks for the nudge. I've been using my patched version ever since the PR #88
It would be great to merge it in, it's a simple fix.

@mtomic Could you rebase your PR against the current master and fix indentation? It would be easier for me to merge it then.

@szimek thanks - https://github.com/szimek/signature_pad/pull/150


Backbone & PUT requests

First off I absolutely love this. I haven't been able to find anything like it, says so much time making my backend api. with backbone my put request are being sent perfectly fine, though I keep getting conflict error. Other methods works fine with the backbone models, but saving a model that updates the backend, it where it goes wrong, the query string for mysql has all the data but my values, just abunch of question marks. (Do these get replaced before executing the query)

I'm having this problem as well using angularjs. It's just doing a PUT with a json object. How did you resolve this?


FCC Website is currently down !!!! 502 - Gateway Timeout

Challenge Name

Issue Description
FCC website is down, forum is not affected. This is has been reported by several users and verified.
Posted also to the contributors chat room.
Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

Confirmed, it's down right now.

I can confirm that too on Android 4.2.2 (I don't even know which Chrome'). Not loading

Down for me too

Looks like it's working to me.

Thanks for your confirmations of this outage, everyone. We're actively working on this and will post updates to Twitter. It mostly just seems to be extremely slow at certain times, but in some cases, is returning 500 errors.


Expose functionality for disabling Swagger validation

It would be nice to have functionality for disabling the default swagger validation that's visible on the landing page. Since in our case we are running all services in a Kubernetes cluster behind a VPN the callback validation always fails and give us an orange box in the right corner that says: INVALID.

Hi,
i'm not quite sure which validation or orange box you mean. Do you maybe have a screenshot or know a swagger/openapi-documentation for this ? I'm also having diffuculties reproducing the problem with a minimal example (though i havent done too much experimentation yet).

Hi,
i'm not quite sure which validation or orange box you mean. Do you maybe have a screenshot or know a swagger/openapi-documentation for this ? I'm also having diffuculties reproducing the problem with a minimal example (though i havent done too much experimentation yet).

Allright, best described by a screenshot probably.

So this is activated by default, i'm for sure not doing anything to enable that validation. If the box is clicked one is redirected to validator.swagger.io with an error message indicating the validation failed because it can't reach the server as explained initially.

https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md#network
Have a look at the validatorUrl parameter. I would suggest that you expose a thin convenience layer where you offer an boolean property ala validation which defaults to true

thanks for the hint. The validation doesnt happen when running on localhost, so i didnt catch it when testing.
I created a new version (0.7.0) making this configurable. The validation is now disabled by default, but can be enabled or set to use a custom (self-hosted) validator.

thanks for the hint. The validation doesnt happen when running on localhost, so i didnt catch it when testing.
I created a new version (0.7.0) making this configurable. The validation is now disabled by default, but can be enabled or set to use a custom (self-hosted) validator.

Thanx! Works great, already deployed the new version 👍


Unable to view contents of storage account

This storage account is tied to a Functions app that is now no longer working as the file storage seems to be corrupted, or some kind of error is going on. I am an admin for the subscription (I'm the one that provisioned it) and I made sure that I am an "Owner" on the storage account.  Here's the error:
Unable to retrieve child resources.
Details:
["RestError:AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:0c44111e-201e-00a3-6c47-fa5770000000\nTime:2021-02-03T16:15:42.8192406Z"]

I am not able to access the contents of a file share. This is the error message I am getting.
Authentication error: Signature not valid in the specified time frame: Start [Sun, 08 Nov 2020 15:13:53 GMT] - Expiry [Sun, 31 Jan 2021 23:13:53 GMT] - Current [Thu, 04 Feb 2021 06:05:25 GMT]

@ChrisKoenig are you connecting via sign-in or have you attached the account?
It sounds like you are able to list the file shares in the account but not actually view any data in them, is that correct?
Can you click on the node for the storage account, and then check the properties panel in the bottom left to see if there is a Storage Account Key property for the account (make sure to click the eye to reveal to see if the value actually loaded)?
@arindamdawn your SAS is expired, you need to have a new SAS generated for you and re-attach.

Closing due to lack of response. If you are still having this problem please open a new issue.


[CY-3974] Apply code analysis only to PR relative files

Hi, I'm trying to integrate Codacy into my CI/CD process.
What I'm trying to do is to apply code analysis only to the files relative to the current Pull Request but I can't get it working.
I tried by fixing a particular issue reported by Codacy in a dedicated branch and then by creating a PR. In the action logs, I get a list of issues, but I would like to address them progressively without changing the whole codebase in a single step.
There is a way to accomplish my goal or isn't it supported?

Hi @firegloves,
Yes you can! But with extra steps:
Unfortunately this GitHub action only runs our code analysis, it is not able to keep that kind of state about previous issues that were detected by itself.
You can however integrate your repositories with our main product (codacy.com) where you can log-in with your GitHub account and quickly setup your repository. Using it this way, Codacy will be able to provide you with:

storage for the state of previously detected issues, making them not show in new PRs after the first analysis of your main branch
a UI to visualise and to manage these issues (ignore false positives, manage tools and patterns that are being applied)

If you choose to integrate with our main product, we will automatically run analysis for you without the need for the CI by default. You can still opt in to use this Github Action in your CI/CD to generate the analysis data that Codacy will use - just follow steps 1 through 3 in https://github.com/codacy/codacy-analysis-cli-action#integration-with-codacy-for-client-side-tools).

Closing it for now, @firegloves feel free to reopen


[WIP] Add benchmarks for nested complex types in Parquet

WIP

@yingsu00 sorry if this is a silly question, but does the parquet reader currently support multiple nested types with nulls?
I tried adding a Parquet benchmark run with
PARQUET_BENCHMARKS_NO_FILTER(ARRAY(ARRAY(BIGINT())), ArrayArrayBigInt_withNulls);

This supposedly will generate a few benchmark runs with null amounts ranging between percents 0, 20, 50, 70, and 100.
However, the benchmark crashes
E20240221 15:24:20.967020 4986223 Exceptions.h:69] Line: /Users/zacblanco/projects/velox/./velox/dwio/parquet/reader/ParquetData.h:94, Function:setNulls, Expression: presetNullsConsumed_ == presetNullsSize_ (25125 vs. 25620), Source: RUNTIME, ErrorCode: INVALID_STATE
libc++abi: terminating due to uncaught exception of type facebook::velox::VeloxRuntimeError: Exception: VeloxRuntimeError
Error Source: RUNTIME
Error Code: INVALID_STATE
Reason: (25125 vs. 25620)
Retriable: False
Expression: presetNullsConsumed_ == presetNullsSize_
Function: setNulls
File: /Users/zacblanco/projects/velox/./velox/dwio/parquet/reader/ParquetData.h
Line: 94
Stack trace:
...

I tried digging into the bits of the parquet reader to understand what was going on. Without becoming an expert in the parquet spec, all I could glean was that the reader isn't actually reading all of the expected null values for some reason, which causes the crash due to the assertion in ParquetData.h. Other types don't seem to have this issue. And when I make the null amount 100%, then the reader doesn't crash.
Any thoughts?


Display a error message when no fcst_var was selected for a performance diagram

When the user doesn't select a fcst_var the errors get recorded to catalina.out.
Users can't see them. Instead they get nondescriptive error


Filter not showing on jet engine CPT

hello, i’ve installed your plugin, but it seems that it’s not working
I’m using jetengine to create CPT, and i can’t find the select box option for filter

Hi jeffrey, there might be two reasons:

Either you have empty taxonomies for your custom post type, which in that case are hidden by default if empty (no terms inside a taxonomy).

Or, you’ve created hidden/secret taxonomies (not supposed to be queryable by anyone).

I doupt this issue is related to the jetengine plugin.
« CPT Admin Taxonomy Filtering » isn’t doing anything fancy beside display ALL taxonomies which are suppose to be queryable onto a CPT admin screen.

hello thanks for the reply

theres data on the taxonomy as shown on picture
the taxonomy are queryable

I don't know what to say. There might be some troubleshoot between both plugins, tho nobody beside you reported anything before.
Bear in mind that "CPT Admin Taxonomy Filtering" only works with Custom Posts Types and doesn't apply to default WordPress Post Types (post, page, attachment, revision, nav_menu_item).

yeah i'm using jetengine to create custom post type, but still no luck, have anyone tried this using jetengine?
thanks


How to open a new tab with administrator rights ?

I would like to open an administrator "cmd.exe" tab next to non admin ones.
Is it possible?

It's not currently possible. https://github.com/microsoft/terminal/issues/1032 and linked threads go in to far more details about the technical reasons why.


Vector Renderer support for end markers.

Is there plan to support setting SVG's marker-start, marker-end, marker-mid properties?
http://vanseodesign.com/web-design/svg-markers/
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker
It would make creating simple arrows easier, and potentially with better performance than creating a separate layer for the arrow heads.
I'm guessing this should be done inside the SVG/Canvas renderer (since L.SVG handles the actual SVG element generation and Canvas handles the actual drawing), plus some properties on the L.Path class to define the marker-start, marker-end and marker-mid.
P.S. Is now a good time to introduce new feature? Or should I wait until 1.0.0 is out of RC?

Is there plan to support setting SVG's marker-start, marker-end, marker-mid properties?

No, because any change to a renderer should be applied to both renderers. So, if L.SVG would support end markers, then L.Canvas should support them too, and coding that would get quite messy (parsing the attributes, recreating the rendered shapes, etc etc).
Besides, there are plugins to fill that feature niche, like e.g. https://github.com/makinacorpus/Leaflet.LineExtremities
If you can create a plugin which supports these features for both renderers, we'll be happy to have a deeper look.

P.S. Is now a good time to introduce new feature? Or should I wait until 1.0.0 is out of RC?

Non-critical features will be pushed into a later milestone: https://github.com/Leaflet/Leaflet/milestone/28


Implement tests on FundamentalEquations.py

Add init files so Pytest recognizes the directories.
Add test file and folder dor FundamentalEquations.py
Add test for lift function

@CassianoMontibeller could you and joao assume from here?


Add basic docs index page

Staged here: https://viglesiasce.github.io/skaffold/

Having trouble referencing content from the README in ToC.

Hacked it with a static link for now. Ready for review


[package_info] Add fallback on iOS when CFBundleDisplayName is not available

In that case, fall back to CFBundleName, before returning NSNull

@cyanglaz Thank you for your review. I can follow your comment about the potential false positive, using the bundleName as a fallback, so I'm going to close this PR. Thank you


ARROW-8762: [C++] Use arrow::internal::BitmapAnd directly in Gandiva

I benchmarked the specialized implementation and it did not perform better than arrow::internal::BitmapAnd.

+1


Refactor

In this PR, we:

Refactor your own Ruby code after gaining new knowledge.
Apply Ruby best practices and language style guides in code.

@alexander16108 , I fixed this already pls check the code👌

Hello @UsirusenIkon 👋,
_This is an additional review as a result of the second opinion request.
Looks like your project is already approved, and your issue has been solved. ✊
Keep rocking 🚀!


Using Memory Variable

Hi,
I am trying the new Memory Variable. I have a read expression DateTimeOffset.Now.ToUnixTimeSeconds()
I set device cycle to 10000 and variable cycle to 1.
I was expecting the value of the variable to increase by 10 every 10 seconds. It does not seem so.
It loads the value one at start up and not after that. It is also updated whenever I write any value to it.
Is this how it is supposed to work?
Regards
Ajay

This should not be in line with the design. I have checked the code and this condition should be removed. It will be updated soon


Posts: Updating Displayed Order

Update the order of the posts to display them in reverse chronological order -- newest first

This has been addressed; mark for closure


Different color for keyboard action text

Please add a color value for the text like Ctrl + C, Ctrl + V etc.
Normally they are a little bit less visible in popup menus, so the "normal" text is black for example and the Ctrl + C is more like grey, in most applications.
I think it's the best way to separate the text from the actions

Good idea! I've added a field ContextMenuColors.shortcutText to allow this, and optional override per-item via field ContextMenuIcon.OfShortcuts.color, I hope that will work for you. I've left the default to match the text color since that appears to be the behavior in Material 2 and 3 menus (Material 3 specifies it as the "On surface variant" color, but the Compose Material colors don't yet support this field).


Store cache with Redis / Valkey

Saw this mention in another DNS service, and thought it would be a nice addition though may also be an anti goal of keeping it simple, keeping existing support would hopefully eliminate that as a concern.

What problem would the cache solve that the current in-memory cache does not address?
Is the use-case sharing the cache between several Leng instances?

Yes that would be the use case. I imagine most records would have a decent enough ttls for it to be beneficial in reducing lookups to the upstream dns server.

I am not super convinced of how beneficial this would be, considering the complexity it adds. Assuming the shared cache is on a different node:

Is the built-in cache hit-rate within a single Leng instance so low that a shared cache would make a big difference?
Do you really prefer a query over the network to a redis cache than to an upstream DNS?

I don't think we can answer (1) without knowing the built-in cache hit-rate. I think I will add a metric for this in the next release, it is something that I am now curious about!
As for (2), I guess that very much depends on your setup. Even if your redis cache is in the same datacenter as Leng, and you are going to <IP_ADDRESS> for DNS, I'd expect the difference to be under 10ms. So you get an idea, ping <IP_ADDRESS> gives me an average of 1.4ms in a Contabo server, and 4.2ms in a Hetzner server.
So I think I can only see this being very useful if your machines are wired up together in your house, but the internet is far away?
At any rate, I will build a new metric for the cache hit-rate and we can see how that does. Let me know what you think!

That would be a good metric to add!
Another note that was pointed out would be increased privacy from the upstream DNS server, they wouldn't be able to see as much / track you.
That being said I am also not sure how much of an advantage it is to be worth it, it wouldn't be complex for me to configure at least and I'd be happy to test, but code complexity for saving a couple ms may not be worth it.

Hi @seang96 did you manage to use the metric in order to estimate your cache hit-rate?
On my end, I have since your issue spotted this https://github.com/0xERR0R/blocky/issues/945 which reflects the added complexity Redis can bring to leng.

I am using v1.6.1 and I still don't see the metric. It looks like that was released before it was added looking at the dates of commits and releases?

ah sorry about that - it's been in master for a while, just not as part of a release. You can run it with the tag sha-20f09ef (assuming you are using containers here)

I updated and see it now. Githubs mobile app sucks and doesn't show packages or at least I can't find it. I'll let it collect for a little bit and let you know how it goes.
Thanks!

Statics wise so far I get around 12%-14% combined as cache hits. One of them is generally 14-20% and others are 8-12%.
I did have another idea of trying to use DoH which I can cache via nginx proxy itself on the server side and with cache-control header on the client side. Unfortunately I get timeouts with DoH, nginx is reporting 499 response code with a timeout of 5 seconds on the backend on occasion. It looks like you can adjust the timeout on DoH, but at 10s it still times out at 5. It looks like the timeout for the DNS server itself is 5 seconds and non configurable which makes DoH max timeout 5 seconds? Can the DNS server timeout be configurable? I think its hard coded here main.go#L74-L75

thanks for reproting back!
The timeout you linked is the API server (think metrics) not the DoH server. The timeout for answering DoH requests is here and like you said is configurable.
The timeout for making upstream DNS queries is defined in timeout = in secods, in the top level of the settings (it is not well documented, sorry, will look to improve that).
In the meantime, I also just merged https://github.com/cottand/leng/pull/71 which I think will be useful to measure how long the upstreams are taking.
Is your DNS upstream really taking 5s? Or is leng being that slow? If that is the case I would much rather look into fixing that rather than a shared Redis cache. Hopefully you do not need for a cache as much if leng is faster and you do more cache its. Your hit-rate is surprisingly slow as well, maybe look into growing the cache size a little?

I don't think the cache size is the issue its the DNS requests load is split among 3 instances.
I'd say the timeouts are more important as well. Maybe it should separate as a new issue to look at? Anyways its on the /dns-query endpoint so not metrics that's timing out at 5s and it always times out at 5 seconds even with DoH timeout at 10000 and the upstream doh timeout_s set to 10. I did some additional  routing to make the upstream route to coax ISP instead of my 5G ISP which helped decrease timeouts but it still occurs through DoH.
Is the DNS service being used for the lookups still with the DoH service? I see  config.DnsOverHttpServer.Bind being passed into the DoH service so I assumed it might be the culprit.

Sorry if I was not straightforward in my message, but did you try setting timeout in the config at the top-level?

Is the DNS service being used for the lookups still with the DoH service?

All lookups all resolved the same way initially: first it tries DoH, then it tries the protocol of the request (defaulting back to TCP if you were initially using DoH)

I don't think the cache size is the issue its the DNS requests load is split among 3 instances.

It's true that each server should only receive one third of the requests in this case, but with a big enough cache and a big enough TTL (about 3x bigger on average for your example) the load-balanced servers should converge to the same hit-rate that single non-load balanced one would have. This becomes impractical if the TTL is too big (as some DNS records would be too old), but I was curious nonetheless

I am using ghcr.io/cottand/leng:sha-db020fc and don't see the metric for timeouts yet. Do I need highCardinalityEnabled true for this metric?
Also side note, my ISP sucks and has high latency enough that online gaming disconnects very frequently so I wouldn't say it's too bizarre to see sudden spikes. I had them come over 7 times and got nothing out of it, I think it's an upstream issue they won't fix. Fiber is being actively installed in my town so hopefully I won't have this issue in the next year or so.
Here is my config, I didn't see any other timeouts in the docs so let me know if I missed any.
    # log configuration
    # format: comma separated list of options, where options is one of
    #   file:<filename>@<loglevel>
    #   stderr>@<loglevel>
    #   syslog@<loglevel>
    # loglevel: 0 = errors and important operations, 1 = dns queries, 2 = debug
    # e.g. logconfig = "file:leng.log@2,syslog@1,stderr@2"
    logconfig = "stderr@0"

    # apidebug enables the debug mode of the http api library
    apidebug = false

    # address to bind to for the DNS server
    bind = "<IP_ADDRESS>:53"

    # address to bind to for the API server
    api = "<IP_ADDRESS>:8080"

    # concurrency interval for lookups in miliseconds
    interval = 100

    # question cache capacity, 0 for infinite but not recommended (this is used for storing logs)
    questioncachecap = 5000

    # manual custom dns entries - comments for reference
    customdnsrecords = [
        # "example.mywebsite.tld      IN A       <IP_ADDRESS>",
        # "example.other.tld          IN CNAME   wikipedia.org"
    ]

    [Blocking]
        # response to blocked queries with a NXDOMAIN
        nxdomain = false
        # ipv4 address to forward blocked queries to
        nullroute = "<IP_ADDRESS>"
        # ipv6 address to forward blocked queries to
        nullroutev6 = "0:0:0:0:0:0:0:0"
        # manual blocklist entries
        blocklist = [
        ]
        # list of sources to pull blocklists from, stores them in ./sources
        sources = [
            "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
            "https://v.firebog.net/hosts/AdguardDNS.txt",
            "https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt",
            "https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV.txt",
            "https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt",
            "https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt",
            "https://mirror1.malwaredomains.com/files/justdomains",
            "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
            "https://sysctl.org/cameleon/hosts",
            "https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt",
            "https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt",
            "https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt"
        ]
        # list of locations to recursively read blocklists from (warning, every file found is assumed to be a hosts-file or domain list)
        sourcedirs = ["./sources"]
        sourcesStore = "./sources"
        # manual whitelist entries - comments for reference
        whitelist = [
          "docker.io",
          "*.docker.io"
        ]

    [Upstream]
        # Dns over HTTPS provider to use.
        DoH = "https://cloudflare-dns.com/dns-query"
        # nameservers to forward queries to
        nameservers = ["<IP_ADDRESS>:53", "<IP_ADDRESS>:53"]
        # query timeout for dns lookups in seconds
        timeout_s = 10
        # cache entry lifespan in seconds
        expire = 600
        # cache capacity, 0 for infinite
        maxcount = 0

    # Prometheus metrics - enable
    [Metrics]
        enabled = true
        highCardinalityEnabled = false
        path = "/metrics"

    [DnsOverHttpServer]
        enabled = true
        bind = "<IP_ADDRESS>:80"
        timeoutMs = 10000

ah I hope fiber solves your troubles!
Try this in the config:
tiemout=10

[Metrics]
    histogramsEnabled = true

Again, sorry for the lack of docs for these, I will make sure to work on that before the next release

No worries! I hope so too haha
I saw the timeout in the code afterward and added it, still got the 5 second timeout with DoH. I enabled the metric setting now so I'll see how that goes.

I tried out blocky and have yet to experience any timeouts with my setup. The only change is literally using the blocky image / config. I am using multiple upstreams with blocky though, but I imagine clpudflare by itself for upstream dns wouldn't cause timeouts either.

😢 sad that it was just leng timing out.
If blocky is working better for you you should stick with that, but I would still love to fix this for leng. Could I ask you to try to use blocky with a single upstream and see?
I also saw you forked leng to change the hardcoded 5s upstream lookup to 10s. Did this not help?


[Backport 2.7] Dynamic tenancy configurations

Description
Dynamic tenancy configurations
Category
[Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation]
Why these changes are required?
What is the old behavior before changes and new behavior after changes?
Issues Resolved
[List any issues this PR will resolve (Is this a backport? If so, please add backport PR # and/or commits #)]
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing this one on behalf of the merging of https://github.com/opensearch-project/security-dashboards-plugin/pull/1404


Added wrapper class for astropy.core.Time, TaggedTime

When the asdf validator compares tree nodes against the schema and the
schema contains a tag field, it requres that the node contain the same
tag, or alse the validation fails. Asdf handles this by creating nodes
of type Tagged and its subtypes, all which contain a _tag field that
holds the value matched against the schema. However, only a limited
number of subtypes have been implemented: TaggedDict, TaggedList, and
TaggedString. This commit adds a new type, TaggedTime, to support time
values contained in a tree node.

Coverage decreased (-0.09%) to 93.674% when pulling d794c6c0087eb54b420cf531993cb7bb700ba792 on bernie-simon:master into 18ec694646f37ab7d04c9c4306eb9bb0bee79165 on spacetelescope:master.

This is getting to the point where it really ought to be replaced with a dispatch table of some kind

I don't agree that we're at that point yet. If there were two or three more classes to wrap, I'd say yes.

I'm probably missing some context to this PR though, but it should be handled in such a way that doesn't make Astropy a requirement.

Since we are wrapping an astropy class, the only way not to make astropy a requirement would be to write a generic object wrapper. I don't think such a wrapper is possible, because the various types being wrapped are too different.

if you wanted to make a TaggedTime that is the same as a Time object except for having the ._tag attribute you would call Time.new(cls, instance)

The implementation of the astropy.core.time class is a bit arcane and I struggled with writing code to wrap it successfully. One "feature" is that the interface merges cloning an object with creating a new object. If cls is not type(instance), it executes the new object branch, which dies with a error message about the _time attribute not being defined. If cls is type(instance), it executes the clone branch which runs successfully. Adding a _tag field to the cloned object is sufficient to get the validation code to run successfully and was the most economical way of solving the problem.
I'll accept criticism of the way I fixed the validation problem, because I am none too happy with it myself and it's a bit of a hack. But only criticism that is accompanied by working code, as I was unable to resolve problems with the solution that initially seemed more correct.

Since this change is needed to support the models code in build 6, I am merging it. Any of the suggested changes can be handled in another branch.

@bernie-simon Did you actually want to merge this or just close it?

On May 18, 2016, at 2:53 PM, Nadia Dencheva<EMAIL_ADDRESS>wrote:

@bernie-simon Did you actually want to merge this or just close it?

Haven�t merged the change yet. I plan to merge it after the Travis tests run. In fact, I rememmber merging it before, but I must be delusional, because the change isn�t there.

No, you just closed it. You need to reopen the PR if you want tests to run.


using bcrypt instead of md5+salt

after change the encrypt algorithm, the old users are fail to login.


[Repeated, please ignore] C++17 std::pmr how and why with expeirence of these years.

Channel
"C++Weekly"
Topics
How to use std::pmr. Some basis is enough. (I just found it in this repo. Sorry for repeating this. I didn't know how to look up.)
If we really have something new, it would be a potential video.
Length

I'll close this as a duplicate of the PMR video series I did.
https://www.youtube.com/playlist?list=PLs3KjaCtOwSYX3X0L36NgwK0pxZZavDSF
See also plans for #47


chore: move dependencies to devDependencies

Problem
Many react-native projects already have reanimated and gesture-handler installed as dependencies. However, when installing @showtime-xyz/tab-view, it installs another version of these packages, leading to multiple versions being installed within the same project. This situation arises because the package does not make use of the peerDependencies feature provided by the package manager.
Solution
This PR proposes a simple solution by moving the peer dependencies from the dependencies section to the devDependencies section in the package.json file. This adjustment ensures that the package manager does not reinstall different versions of the same packages unnecessarily, avoiding conflicts and potential compatibility issues.

thank you very much! @Stringsaeed  LGTM! 🙏


Added Project Drawdown to the Community List

Hey @lamarite. Thank you so much for the pull request. We already listed the Project Drawdown at the Technology Section but I also would like to list them at the community section. Do you know of an open chat, forum or community meeting that is done by the Project Drawdown that everyone can attend in an open way?

Hey @Ly0n. Oh I must have overlooked the project in the tech section. With regard to adding it to the community section, I think their eco challenge initiative would work well https://drawdown.ecochallenge.org/. What do you think?

@lamarite Yes, perfect. Please let's add this to the community section. I didn't know about this. Thank you so much!


Add full Azure options list

Signed-off-by: Ross Gardler<EMAIL_ADDRESS>

Thanks, @rgardler! I think this is already covered in the not-yet-merged #1167
Would you mind reviewing that PR (at least the Azure-specific bits)?

Yes, this is covered well in #1167. Closing this PR.

Thanks @rgardler !


Updating RN plugin for SDK v6.2.3

Report
Plugin Version
6.0.50 (react-native-appsflyer)
On what Platform are you having the issue?
ReactNative (iOS)
Issue
I just saw an email from AF about an urgent bug fix (relating to SKAdNetwork conversion values). They recommend an update to SDK v6.2.3. See below.
I was wondering if there is a planned fix on this version of the plugin to incorporate that fix?

Hi @alexpluto yes we will release a new version of the plugin today (6.2.30) with new ios sdk version v6.2.3

@amit-kremer93 amazing, thanks for the speedy reply and action!

@alexpluto  v6.2.30 is available

Thank you!


Ubuntu denoiser problem.

Driver Version: 440.82       CUDA Version: 10.2

I am not sure what is causing this.

I have a similar behaviour on different ubuntu machine.


Constraint types

Changes

Updated profile schema
Added Constraint Types
Updated examples
Moved some validation into domain.

Issue
Resolves #1415

Also I am not sure if this was introduced here but invalid profiles can give strange errors.
Eg the profile
{
    "schemaVersion": "0.12",
    "fields": [
        {
            "name": "field1",
            "type": "string",
            "nullable": false
        },
        {
            "name": "field2",
            "type": "string",
            "nullable": true
        }
    ],
    "rules": [
        {
            "constraints": [
                {
                    "field": "field1",
                    "equalTo": "never Null"
                },
                {
                    "anyOf": [
                        {
                            "field": "field2",
                            "equalTo": "sometimes Null"
                        },
                        {
                            "null": "field2",
                            "field": "field2"
                        }
                    ]

                }

            ]
        }
    ]
}

With "field":"field2" erroneously added gives
* Error(s) occurred during schema validation.
For full details try opening the profile in a json schema-enabled IDE.
See https://github.com/finos/datahelix/blob/master/docs/GettingStarted.md#Profile-Validation

* Problem found at line 23
... "anyOf": [ ...
Suggested fix:
- The object must not have a property whose name is "anyOf".

* Problem found at line 34
... } ...
Suggested fix:
- The object must have a property whose name is "field".
- The object must have a property whose name is "equalTo".

As a very misleading error.


[MNT] Estimators excluded from tests

Describe the issue
In the _config.py file, a lot of esimtators are excluded including ResNet (see this old issue but actually "locally" ResNet passed the tests 2 times.
Suggest a potential alternative/fix
No response
Additional context
No response

the list of fully excluded estimators is this. I'm not sure why HIVECOTE is excluded, something about macs. https://github.com/sktime/sktime/issues/3103
we should look into that, although slightly loath to introduce more testing ....
EXCLUDE_ESTIMATORS = [
# SFA is non-compliant with any transformer interfaces, #2064
"SFA",
# Interface is outdated, needs a rework.
"ColumnTransformer",
# PlateauFinder seems to be broken, see #2259
"PlateauFinder",
# below are removed due to mac failures we don't fully understand, see #3103
"HIVECOTEV1",
"HIVECOTEV2",
"RandomIntervalSpectralEnsemble",
"RandomInvervals",
"RandomIntervalSegmenter",
"RandomIntervalFeatureExtractor",
"RandomIntervalClassifier",
"MiniRocket",
"MatrixProfileTransformer",
# tapnet based estimators fail stochastically for unknown reasons, see #3525
"TapNetRegressor",
"TapNetClassifier",
"ResNetClassifier",  # known ResNetClassifier sporafic failures, see #3954
]

note that this is just the interface testing, the localised testing still runs I think

Maybe we can leave this issue till after the testing in general is re-visited and wrapped up ?

@TonyBagnall maybe we can add a comment here to summarize what was un-excluded and what is still excluded ? to keep track

good idea: currently excluded
EXCLUDE_ESTIMATORS = [
    # SFA is non-compliant with any transformer interfaces, #2064
    "SFA",
    # Interface is outdated, needs a rework.
    "ColumnTransformer",
    # PlateauFinder seems to be broken, see #2259
    "PlateauFinder",
    # below are removed due to mac failures we don't fully understand, see #3103
    "HIVECOTEV1",
    "HIVECOTEV2",
    "RandomIntervalSpectralEnsemble",
    "RandomInvervals",
    "RandomIntervalSegmenter",
    "RandomIntervalFeatureExtractor",
    "RandomIntervalClassifier",
    "MiniRocket",
    "MatrixProfileTransformer",
    # tapnet based estimators fail stochastically for unknown reasons, see #3525
    "TapNetRegressor",
    "TapNetClassifier",
]

EXCLUDED_TESTS = {
    # InceptionTimeClassifier contains deep learners, it isnt one itself, so still
    # exclude
    "InceptionTimeClassifier": [
        "test_fit_deterministic",
        "test_persistence_via_pickle",
        "test_save_estimators_to_file",
    ],
    "InceptionTimeRegressor": [
        "test_fit_deterministic",
        "test_persistence_via_pickle",
        "test_save_estimators_to_file",
    ],
    # issue when predicting residuals, see #3479
    "SquaringResiduals": ["test_predict_residuals"],
    # known issue when X is passed, wrong time indices are returned, #1364
    "StackingForecaster": ["test_predict_time_index_with_X"],
    # known side effects on multivariate arguments, #2072
    "WindowSummarizer": ["test_methods_have_no_side_effects"],
    # test fails in the Panel case for Differencer, see #2522
    "Differencer": ["test_transform_inverse_transform_equivalent"],
    # tagged in issue #2490
    "SignatureClassifier": [
        "test_classifier_on_unit_test_data",
        "test_classifier_on_basic_motions",
    ],
    # sth is not quite right with the RowTransformer-s changing state,
    #   but these are anyway on their path to deprecation, see #2370
    "SeriesToSeriesRowTransformer": ["test_non_state_changing_method_contract"],
    # ColumnTransformer still needs to be refactored, see #2537
    "ColumnTransformer": ["test_non_state_changing_method_contract"],
    # Early classifiers (EC) intentionally retain information from previous predict
    # calls for #1 (test_non_state_changing_method_contract).
    # #2 (test_fit_deterministic), #3 (test_persistence_via_pickle) and #4
    # (test_save_estimators_to_file) are due to predict/predict_proba returning two
    # items and that breaking assert_array_equal.
    "TEASER": [  # EC
        "test_non_state_changing_method_contract",
        "test_fit_deterministic",
        "test_persistence_via_pickle",
        "test_save_estimators_to_file",
    ],
    "ProbabilityThresholdEarlyClassifier": [  # EC
        "test_non_state_changing_method_contract",
        "test_fit_deterministic",
        "test_persistence_via_pickle",
        "test_save_estimators_to_file",
    ],
    "CNNNetwork": "test_inheritance",  # not a registered base class, WiP, see #3028
    "VARMAX": [
        "test_update_predict_single",  # see 2997, sporadic failure, unknown cause
        "test__y_when_refitting",  # see 3176
    ],
    # GGS inherits from BaseEstimator which breaks this test
    "GreedyGaussianSegmentation": ["test_inheritance", "test_create_test_instance"],
    "InformationGainSegmentation": [
        "test_inheritance",
        "test_create_test_instance",
    ],
    # this needs to be fixed, was not tested previously due to legacy exception
    "Prophet": ":test_hierarchical_with_exogeneous",
    # Prophet does not support datetime indices, see #2475 for the known issue
}

closing this issue as we have no exclusions that are not documented individually


Solid blocks are re-requested and not found in block cache

In TestLossOfAcceptanceFromGenesis the following occurred:

It seems that blocks get solid and then are not found in the block cache anymore.
When looking at the entire log.txt of the test, it seems that the node was warpsycing and solidifying the tangle from the tip at the same time. Which might lead to resetting the engine within the warpsync process. Thus, leading to some weird errors at any point in the data flow.
This might be addressed with #293 as there's different modes for warpsync and normal mode operation.

Maybe it's affected by the fix in #566

Should be fixed with #293


No integration available

after installing the integration in hacs, the integration to configure does not appear even after several restarts. Someone can help me?

Please fill in the issue template. What version of homeassistant and hacs are you on?


[Bug]: Icon property field stretches beyond the property pane boundary

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Icon property field stretches beyond the property pane boundary
Steps To Reproduce

Drop a button widget
toggle to JS mode on icon property on style tab
toggle back to UI mode and notice the field stretching to the right as seen in the video

Public Sample App
No response
Environment
Deploy Preview
Severity
High (Blocker to building or releasing)
Issue video log
https://www.loom.com/share/fefee05f70564ec38f8511c1274eccd3
Version
cloud

@ichik Should we consider this as an issue? I feel this is not an issue. I haven't seen an asterisk on a single checkbox component. 🤔


[Translation Request] Galician

Hi, this is "ghose" at crowdin.
Please, would you add galician language (gl, gl_ES) so I could translate FreeOTPPlus?
thank you.

@xmgz did not got a ping and missed it :/
are you still interested in translating? then I would add it :)

It would be possible to change the code. It should be GL or GL-ES
In crowdin it is set to EN-GL.
Thanks,

Uh sure can do so ...
Might also have a look if #274 do happen ..

should be gl-ES now

thank you, I'll try to complete translation job in the next few days, but should I wait untill you move to a weblate instance or will translations also move there regardless of translation status?
I think moving to a weblate instance is a sensible move for a FOSS project :+1:

First draft of translation completed. @xmgz Please fix my spelling mistakes. I'm not very happy with some translations.

... but should I wait ...

No just go on, weblate do umderstand adding translations of target languages via git (crowdin dont ...)


Fix height prop for UploadDropzone

The height prop has been accidentally defaulted as so:
height: "375px" ?? height

Clearly it should be:
height: height ?? "375px"

Fixed.


props of 'style' Occur warning

Like this, props of 'style' occur warning.
So, I try to find a solution.
export default class FAB extends Component {
  static propTypes = {
    buttonColor: PropTypes.string,
    iconTextColor: PropTypes.string,
    onClickAction: PropTypes.func,
    iconTextComponent: PropTypes.element,
    visible: PropTypes.bool,
    snackOffset: PropTypes.number,
    style: PropTypes.shape,
  };

replace
export default class FAB extends Component {
  static propTypes = {
    buttonColor: PropTypes.string,
    iconTextColor: PropTypes.string,
    onClickAction: PropTypes.func,
    iconTextComponent: PropTypes.element,
    visible: PropTypes.bool,
    snackOffset: PropTypes.number,
    style: PropTypes.objectOf(PropTypes.oneOfType([
      PropTypes.string,
      PropTypes.number,
  ])),
  };

It doesn't occur warning.

The warning goes away when propType of style is set to ViewPropTypes.style, with ViewPropTypes imported from react-native.

Same here ?
There is solution ? @TaeJoongYoon

I didn't try @headuck 's idea. But My solution doesn't occur warning

@TaeJoongYoon you just change this ?
style: PropTypes.objectOf(PropTypes.oneOfType([       PropTypes.string,       PropTypes.number,   ])),

@rendy14s you are rignt. but this is a temp solution.
when it would be permanently resolved ?

@rendy14s Yes, I just change it.
@rahulbhankar786 I think, @headuck 's idea is well.

Not particularly my idea, just took reference from src/Touchable.js

I PR https://github.com/SiDevesh/React-Native-FAB/pull/16/

@TaeJoongYoon @headuck
i have same problem,have a solution?


Adaptive hinge loss speedup

#48
A quick check on CPU shows ~30% speedup for factorization models. Sequence model speedup is negligible.

Looks good!
Before merging, let's check that the test pass and the linter is happy. (You can run flake8 . locally to avoid having to rely on CI.)

Thanks!


Minimum Sum Partition In Cpp Added

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
HackinCodes2020 Participant
In this problem given set is partitioned into two subsets such that the difference between the sum of elements of 1st set and the sum of elements of 2nd set is minimized.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#805

Please review this PR @SKAUL05 @iamrajiv @Kajol-Kumari @plazzy99

@sharur7 Update the README. Rename the program like this Minimum_Sum_Partition.cpp .

@iamrajiv Done!


BiomeArea is now BiomeVolume and all that this implies

Needs a thorough review.
See: https://github.com/SpongePowered/SpongeCommon/pull/967
See: https://github.com/SpongePowered/SpongeForge/pull/938

This can be added to the small issue list.

On Oct 4, 2016, at 10:19 PM, Nick Condé<EMAIL_ADDRESS>wrote:
@Deamon5550 commented on this pull request.
In src/main/java/org/spongepowered/api/world/extent/BiomeVolume.java:

 }

 /**
  * Gets the {@link BiomeType} at the given location.
  *
  * @param x The X position

* @param z The Z position

* @return The biome

* @param y The Y position

* @param z The Z position  @return The biome

need a newline
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

https://github.com/SpongePowered/SpongeAPI/commit/9e7975e3f7173b4600bd1a10795743827e70a86d


Update readme.md

PLS ADD THIS

AUTO-REPLY
While I appreciate you are trying to participate in the open source community and possibly Hacktoberfest please keep in mind "Participating in Hacktoberfest leads to personal growth, professional opportunities, and community building. However, it all begins with meaningful contributions to open source software." (DigitalOcean 2020).
As this PR does not appear to meaningfully contribute to this project it will be closed as invalid.


[python] Rationalize Python dependencies

Remove dependency to h5py, trimesh, scipy, and tree:

tree: parse of variable names structure for variable registration. It could even be moved to C++, or boost::python bindings.
h5py: read hdf5 log files. It could be implemented in boost::python bindings.
trimesh: convert convex in bounding boxes. hppfcl is already capable of doing so.
scipy: spline interpolation of 1D sequences.

h5py, scipy, and tree are no longer jiminy_py dependencies.

Dependency to dm-tree actually got removed more recently, than advertised (https://github.com/duburcqa/jiminy/pull/706)


Use CompareOrdinal to compare field_renamed because unit tests can creat...

...e a string with a trailing \0 char which is ignored in the default culture.

Can you point at some of those tests? I'm not sure we actually want to not-ignore \0

The test I was working on was Lucene.Next.Index.TestPrefixCodedTerms.TestMergeRandom
I added a huge amount of test code to narrow down the problem and found that the MergedIterator's use of the PriorityQueue ended up returning terms out of order. An alternate solution would be to modify the random Unicode string generator to not include \0 chars. This also fixed it but digging deeper the default comparison for java is ordinal so this should match a port better.

Here is some amusing sample code to show the problem.
static void Main(string[] args)
{
String s1 = "abc";
String s2 = "abc\0";
Console.WriteLine("'{0}'", s1);
Console.WriteLine("'{0}'", s2);
Console.WriteLine("s1.Equals(s2)    returns {0}", s1.Equals(s2));
Console.WriteLine("s1.CompareTo(s2) returns {0}", s1.CompareTo(s2));
Console.WriteLine("string.Compare(s1, s2, StringComparison.Ordinal) returns {0}", string.Compare(s1, s2, StringComparison.Ordinal));

}
Output is
'abc'
'abc '
s1.Equals(s2)    returns False
s1.CompareTo(s2) returns 0
string.Compare(s1, s2, StringComparison.Ordinal) returns -1

@Chand2048 any reason why you closed this PR then ? :)

I did not realize that deleting the branch would close this.

Reopened, sorry about the confusion.


Question : way to support Vulkan SpecializationInfo?

https://github.com/ConfettiFX/The-Forge/blob/076aa5dcd8fd71cc83905431c92360183c7027d9/Common_3/Renderer/Vulkan/Vulkan.cpp#L5913

Yes. We are missing support for this useful feature. Would only apply to VK and Metal. Making a note of it. We will have it in the next release

Should be available in Release 1.50


exit 1 Even though commands passed

The plugin is reliably exiting 1, and hence failing my runs, with rather long runtimes. I have a 4 hour test which triggers this every time.
My pipeline definition looks like:
agents:
  queue: 'default'
  docker: '*'

steps:
  - label: 'nightly-test'
    timeout_in_minutes: 360
    concurrency: 1 # Only allow one nightly build at a time
    concurrency_group: 'node-sdk/nightly'
    commands:
      - '.buildkite/docker/build.sh'
      - 'npm run ci-nightly'
      - 'echo success'
    artifact_paths:
      - 'docker-compose-logs/*'
    plugins:
      - docker-compose#v3.8.0:
          run: test-container
          upload-container-logs: always
          config:
            - .buildkite/docker/docker-compose.yaml
            - .buildkite/docker/docker-compose-ci.yaml

I know the commands work fine because I see the success line get echoed. The build output ends with:
success
🚨 Error: The command exited with status 1
user command error: The plugin docker-compose command hook exited with status 1

Whereas builds that have failed for legitimate reasons look like:
⚠ Failed to run command, exited with 2, run params:
run --name buildkitec14d1406904d4db98fa70cefd10a4e75_test-container_build_250 --rm test-container /bin/sh -e -c .buildkite/docker/build.sh
npm run ci-load
🚨 Error: The command exited with status 2
user command error: The plugin docker-compose command hook exited with status 2

The "failed to run command" part being missing says to me the plugin isn't mistakenly thinking my command failed. It thinks it passed, and then exits 1 anyway.
I haven't dug into plugin code yet but this is preventing me from using the plugin for these longer running tests.

Hi @Sushisource, sorry for the delay in getting back to you.
This was a real head-scratcher... and an actual bug :scream:.
Apparently, the issue is that the when using an array for commands the buildkite agent creates a script with all the commands passed on to execute. This plugin doesn't do that and just passes through the BUILDKITE_COMMAND variable which is basically a very long string with newlines and it is the source of all your woes.
The workaround is basically not to use the array version of commands in the step when using this plugin. You can either use a single string for the command (command1; command2; command3) or create the corresponding plugin configuration in the docker command format.

Ok, after a lot of research on the matter this has been noted and discussed in the past (see #59 and #186).
I will add changes to the documentation and a warning in the output of the run step to ensure that this doesn't catch people off-guard.

I also faced the same issue and wanted to add my two cents here:
basically, the docker-compose plugin will join the command array elements using a ', so, in case you need to run multiple commands,  rather than
              [...]
              mount-buildkite-agent: true
              command: [
                  ".buildkite/scripts/script1.sh",
                  ".buildkite/scripts/script2.sh",
                  "echo 'finished",
                ]

you can apply the below syntax in a single command:
              [...]
              mount-buildkite-agent: true
              command: [
                  "
                  .buildkite/scripts/script1.sh;
                  .buildkite/scripts/script2.sh;
                  echo 'finished'
                  ",
                ]

You can also get the same result replacing the ; by and &&.
Eventually, you may also need to leverage the shell plugin option, depending on which machine the BK agent is running.


Register user7

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign martinpovolny after the PR has been reviewed.
You can assign the PR to them by writing /assign @martinpovolny in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pstovik: PR needs rebase.

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

Hi @pstovik. Thanks for your PR.
I'm waiting for a operate-first member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: tumido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [tumido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/retest


Docker image runs as root

Currently, the docker image runs as root. This is a security risk, as a container is NOT fully contained, e.g. if for some reason an attacker can use a vulnerability to get out of the container, you'll have serious issues on the host machine.
Can we change this, so we add a regular user for it?
E.g.
FROM alpine

# Create group and user
RUN groupadd -r repman && useradd -r -g repman repman

#### Do root stuff

# Switch to unprivileged user
USER repman

#### Optionally you can do here some non root stuff

If so, I'm willing to create a PR, but wanted to discuss this first.

Using non-root user inside the container is a good practice and it could be implemented.
However you've mentioned escaping container which is different: https://docs.docker.com/engine/security/#docker-daemon-attack-surface

We are also interested in changing the user to unprivileged in the docker image. What is the chance of doing this in this project?


k8s.io cache cannot find the "namespace" Indexer at master branch

What did you do?
Built from the master branch and installed in my dev environment
What did you expect to see?
Normal operations
What did you see instead? Under which circumstances?
In the log file, I see this consistently, which means that the Indexer for the namespace cache is missing
ERROR: logging before flag.Parse: W1214 18:26:12.791794       1 listers.go:63] can not retrieve list of objects using index : Index with name namespace does not exist
ERROR: logging before flag.Parse: W1214 18:26:12.791965       1 listers.go:63] can not retrieve list of objects using index : Index with name namespace does not exist
Environment
Kubernetes

Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.4", GitCommit:"9befc2b8928a9426501d3bf62f72849d5cbcd5a3", GitTreeState:"clean", BuildDate:"2017-11-20T19:12:24Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.11", GitCommit:"b13f2fd682d56eab7a6a2b5a1cab1a3d2c8bdd55", GitTreeState:"clean", BuildDate:"2017-11-25T17:51:39Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
Cluster runnning on AWS through kops

Manifests:

insert manifests relevant to the issue

Prometheus Operator Logs:
this just repeats:

ts=2017-12-14T18:25:46.83198663Z caller=operator.go:671 component=prometheusoperator msg="sync prometheus" key=dev-monitoring/prometheus
ts=2017-12-14T18:25:46.937541708Z caller=operator.go:980 component=prometheusoperator msg="updating config skipped, no configuration change"
ts=2017-12-14T18:26:12.790914215Z caller=operator.go:327 component=prometheusoperator msg="Prometheus updated" key=dev-monitoring/prometheus
ERROR: logging before flag.Parse: W1214 18:26:12.791794       1 listers.go:63] can not retrieve list of objects using index : Index with name namespace does not exist
ERROR: logging before flag.Parse: W1214 18:26:12.791965       1 listers.go:63] can not retrieve list of objects using index : Index with name namespace does not exist
ts=2017-12-14T18:26:12.791712411Z caller=operator.go:671 component=prometheusoperator msg="sync prometheus" key=dev-monitoring/prometheus
ts=2017-12-14T18:26:12.84456898Z caller=operator.go:980 component=prometheusoperator msg="updating config skipped, no configuration change"
ts=2017-12-14T18:26:53.871210884Z caller=operator.go:323 component=alertmanageroperator msg="Alertmanager updated" key=dev-monitoring/main
ts=2017-12-14T18:26:53.871363536Z caller=operator.go:379 component=alertmanageroperator msg="sync alertmanager" key=dev-monitoring/main
ERROR: logging before flag.Parse: W1214 18:26:59.634235       1 listers.go:63] can not retrieve list of objects using index : Index with name namespace does not exist
ts=2017-12-14T18:26:59.634050115Z caller=operator.go:671 component=prometheusoperator msg="sync prometheus" key=dev-monitoring/prometheus
ERROR: logging before flag.Parse: W1214 18:26:59.635236       1 listers.go:63] can not retrieve list of objects using index : Index with name namespace does not exist
ts=2017-12-14T18:26:59.670662285Z caller=operator.go:980 component=prometheusoperator msg="updating config skipped, no configuration change"
insert Prometheus Operator logs relevant to the issue here

Thanks for reporting, we will have to look into this.

Hi @brancz, we could use CommandLine instance of a flagset from the flag package, which is what glog checks when it sees if the command line has been parsed.  Glog is used b/c of the k8s client.
As opposed to creating a new flag set in main.go, just use the one from the flag package that's already there.  That's a simple enough change, and "should" stop the stderr messages in the log from glog.

:man_facepalming: I think you're right. Do you want to create the PR to fix this?

@mmerrill3 I've deployed the 0.22.2 version (then upgraded to master docker image) and I do see the same exact log.
I've deployed using the Ksonnet/Jsonnet scripts

@prune998 could you open a new issue with all your details and the exact SHA of the image you ran? That would be highly appreciated! Thanks! :slightly_smiling_face:

@brancz it's done in https://github.com/coreos/prometheus-operator/issues/1694


Update 3

The mod doesn't work anymore after an update 1 or 2 days ago. With only this mod active (and BepInEx and TimberAPI) the game won't let me open old maps that are bigger than 256x256 or create new maps that are bigger than 256x256.
Is there any way you might fix this?
Thanks in advance and happy holidays :)

For some reason it started working again. My bad


Trigger a state change via http?

I'd like to trigger a switch with a simple http call. Since this is basically what the Accessories panel does when you click on an accessory, is there an easy way to find the url being hit? Thanks.

Nothing special is done by this plugin.
You can send a PUT request directly to your Homebridge server.
https://github.com/NorthernMan54/Hap-Node-Client/blob/master/HAPNodeJSClient.js#L178

Thanks, exactly what I was looking for. Sounds a little embarrassing, but how do I get a list (json?) of all the available characteristics?

Do a GET request to /accessories.

Got it. But what if the accessory I want to control is linked to a platform (motion sensor in camera-ffmpeg)? GET request to /accessories only lists stand-alone accessories...

That endpoint lists everything.
It's unlikely you will be able to control the state of a motion sensor via this endpoint though, that's something the plugin would have to do I would imagine. Give it a try though.

The plugin has a dummy switch to trigger the motion sensor (turns off automatically) so the idea was to trigger the switch with a PUT request or http call. Interestingly enough, the GET request to my endpoint lists all accessories except for cameras or motion/switches associated to those cameras...

Cameras start on a different port, the port should be listed in the Homebridge log it starts.

Got it working perfectly. Thanks!

Great!


Dream Jelly Feather Noise bug

[x] My mods and Everest install are up to date.
[ ] I have recreated the bug with only CommunalHelper OR a minimum number of other mods enabled.

Describe the bug
A clear and concise description of what the bug is.
This is an audio bug. After using a dream jellyfish, if the player enters feather state and then dies to a hazard in feather state, the feather noise persists beyond death. This can even stack with multiple deaths. It does not happen with other dream block mechanics.
To Reproduce
Provide a description, screenshots, video, and/or map containing the issue.

Dash through dream jellyfish.
Enter feather state via feather, feather refill, feather bumper, etc.
Die to a hazard while in the feather state.
Listen to the feather noise, it persists and does not stop.
Repeat process without refreshing map or using debug to stack the effect.

Here is a video: https://streamable.com/w8d5lr
Expected behavior
A clear description of what you expected to happen.
I expected the feather noise to stop after dying, as the player is no longer in feather state.
System Info(please complete the following information):

OS: [e.g. Windows, Linux, Mac]

I use Windows 10
Additional context
Add any other context about the problem here.
Make sure to upload any game logs or crash reports.

Should be fixed as of 7db45951c29cebcd4cb80849ed797e4fa7d8787b


pcmanfm: 1.2.5 -> 1.3.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/pcmanfm/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/pcmanfm -h’ got 0 exit code
ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/pcmanfm --help’ got 0 exit code
ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/.pcmanfm-wrapped -h’ got 0 exit code
ran ‘/nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/.pcmanfm-wrapped --help’ got 0 exit code
found 1.3.0 with grep in /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0
directory tree listing: https://gist.github.com/f15deaa66af5124a632abbca797f7240

cc @ttuegel for review

Success on x86_64-linux (full log)
Attempted: pcmanfm
Partial log (click to expand)
hicolorPreFixupPhase
post-installation fixup
Wrapping program /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/pcmanfm
shrinking RPATHs of ELF executables and libraries in /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0
shrinking /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin/.pcmanfm-wrapped
gzipping man pages under /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/lib  /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0/bin
patching script interpreter paths in /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0
checking for references to /build in /nix/store/z37gyw9vskaby2caizkzghjd7ikafv64-pcmanfm-1.3.0...

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pcmanfm
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: pcmanfm
Partial log (click to expand)
post-installation fixup
Wrapping program /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0/bin/pcmanfm
shrinking RPATHs of ELF executables and libraries in /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0
shrinking /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0/bin/.pcmanfm-wrapped
gzipping man pages under /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0/share/man/
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0/lib  /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0/bin
patching script interpreter paths in /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0
checking for references to /build in /nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0...
/nix/store/8ikjzf035gflq3q6979nrx8a8k9qli45-pcmanfm-1.3.0


Make a schedule available and editable (partially)

This PR bring a new capabilities to the adapter - to see and edit the schedule.
For showing the schedule is new channel under any device (robot) is used - schedule.
For each day of week it has from one to three states, depending on type of schedule.

startTime - time whet robot should start - applicable and mandatory for any type of schedule (minimal-1, basic-1, basic-2)
mode - eco or turbo mode - applicable and mandatory only for the basic-1 and basic-2
boundaryId - limitation for the area of work - applicable and optional only for the basic-2

It has the appropriate names:

DoW-startTime
DoW-mode
DoW-boundaryID

For Sunday and Wednesday, fro example, it will look like:

Sunday:

0-StartTime
0-mode
0-boundaryID

Wednesday:
3-StartTime
3-mode
3-boundaryID

Currently is only startTime is editable for any type of schedule.
It is mean:

you can modify time on any schedule;
you can delete any day from schedule by emptying the startTime for any DoW
but you can add new schedule day, by editing appropriate startTime from empty to the HH::MM only if you have 'minimal-1' type of schedule.

Functionality for basic-1 will come nearest time, but will require testing outside of my environment, as I have only BotVav D5.
And it still have a lot of debug messages, if debug mode of adapter will be enabled.
P.S. It still pointed on my fork of node-botvac as it required the setSchedule function from it.
P.P.S. I is include the some new fields is implemented in version 4.2 of node-botvac.

You could try to find some testers for other models here:
https://forum.iobroker.net/category/91/tester

A

You could try to find some testers for other models here:
https://forum.iobroker.net/category/91/tester

thanks, will try

when we will finish the test - I will update the pointing in package json on the final node-botvac


Get rid of float, use Decimal for monetary values

Looks great, only wondering if we can drop the + 1s now..


Add copy support for cube/axis/column names.

Looks like some of my comments were only about things you indented, so take them for what they're worth.

@gaigstroliac yeah the bulk of it was wrapping existing code into an if, so it's not all new.


error loading module 'checkpoints' from file

Indeed an "end" is missing to close the if statement. Thank you for letting us know!
It seems that you might also need to specify the full path (YOUR_PATH/*.t7) to the pose estimation model. Thank you for your interest in our work!


unable to read images using readImages method on windows

Hi, I have installed spark 2.1.0, python 3.5 on windows. Installed tensorflow-gpu, keras and other packages required for image processing.
Copied images from linux box to windows box.
However, reading images using "readImages"  throws error as follows:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

when I run the python command on windows to get default encoding, it shows as "cp1252". I am suspecting that the code in readImages is assuming that the image is with utf-8 encoding, but it is infact encoded with cp1252. Could you please suggest a work around for this. ?


Feature Request - show uploaded kifu on users profile page

There should be a table like on the main view with games uploaded by a player (that are public) when viewing his profile page.
I can write up more description, but it seems that it would be fairly easy to implement... maybe :)

wooo awesome news!

Yeah! Been meaning to do this forever.


Fixing small typo in the documentation

@amrutprabhu Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@amrutprabhu Thank you for signing the Contributor License Agreement!


Resource::equals() should not check for aliveness

I think it's unexpected that checking if two resources are equal would return false if they are no longer alive, even if they are indeed the same resource. Is there a reason that it's written like this?

This originally comes from a limitation of the system libwayland. There might be a way around that, but that'll possibly need some overhead.

this is no longer the case in 0.30

this is no longer the case in 0.30


Fix removing challenges causing an exception

Calling UpdateSave when removing challenges tries to return the updated challenge but can't because the deleted flag is set to true

Call ChallengeService.RemoveChallenge to remove a challenge rather than using UpdateSave

Challenge.RemoveChallenge calls RemoveSave which calls UpdateSave


Error applying catalog

Hi,
I am getting an "uninitialized constant" error when i try to apply the WindowsAutoUpdate class. v0.0.2
I have installed the dependencies,
JoshCooper/PowerShell v0.0.6
puppetlabs/registry v0.1.2
puppetlabs/stdlib v3.2.0
I get the following error:
Failed to apply catalog: Parameter path failed on Registry_key[HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]: Munging failed for value "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" in class path: uninitialized constant PuppetX::Puppetlabs::Registry::KEY_WOW64_64KEY at /etc/puppetlabs/puppet/modules/windows_autoupdate/manifests/init.pp:32 Wrapped exception: Munging failed for value "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" in class path: uninitialized constant PuppetX::Puppetlabs::Registry::KEY_WOW64_64KEY
Have I missed something?

I have just applied the windows_autoupdate class to my windows node in my PE 3.8 getting error as couldnot receive catalog from the remote server error 400 on server  validate _re 1 doesnot match ["^[0,1] $"]  at /etcx/puppetlabs/environments/production/modules/windows_autoupdate/manifests/init.pp:66 on windows node.
Please advise

OS on windows node is Windows 2012 x64 bit

Has there been a fix to this error? Progress? (puppet-windows_autoupdate v1.0.1)
Installed dependencies:

puppetlabs-powershell v1.0.4
puppetlabs/registry v1.1.2
puppetlabs/stdlib v4.9.0

Hi,
based on a discussion in https://groups.io/g/voxpupuli/message/449 we decided to archive this repository. I'm going to close all issues and PRs. If you're interested in maintaining the module, please respond to our mailinglist.


[] build failure

Host Environment

OS: Windows
Compiler: VC 2019
Package: libuvc:x86-windows
Vcpkg version: 2021-05-05-e8977e69d9a3fb462d9ad42013d83a7682706659

To Reproduce
Steps to reproduce the behavior:
./vcpkg install libuvc
Failure logs

ninja: error: build.ninja:229: multiple rules generate uvc.lib [-w dupbuild=err]

config-x86-windows-out.log
Additional context
no

@JustinWuCN ,Could you please update your vcpkg to the latest version and try again?

Closing this issue for no active thread for a long time. Please feel free to reopen this issue if it is still a problem for you.


Unable without single quotes

I found an interesting example:
psjo number=123 float=123.12 string="this is a string" otherstring=foobar object={\"a\":true} array=[1,2,3] boolean=true
`InvalidOperation: Method invocation failed because [System.Management.Automation.ScriptBlock] does not contain a method named 'split'.
InvalidOperation: Method invocation failed because [System.Int32] does not contain a method named 'split'.
{
"number": 123,
"float": 123.12,
"string": "this is a string",
"otherstring": "foobar",
"object": null,
"boolean": true
}`
The first line failes, however this:
psjo number=123 float=123.12 string="this is a string" otherstring=foobar object='{"a":true}' array='[1,2,3]' boolean=true
{
"number": 123,
"float": 123.12,
"string": "this is a string",
"otherstring": "foobar",
"object": {
"a": true
},
"array": [
1,
2,
3
],
"boolean": true
}
Works.
Is it a good/bad idea to put single quotes if interpetation failes?

Good question!
psjo is intended to work with PowerShell syntax. Check this out
psjo number=123 float=123.12 string="this is a string" otherstring=foobar object=$(psjo a=$true) array=1,2,3 boolean=$true


Lyra doesn't find type definitions when not run from 'root'

Describe the bug
When creating and applying workflows from outside the build directory, the workflows are found but Lyra errors with Reference to unresolved type Type::Name
To Reproduce
Steps to reproduce the behavior:

Create a directory containing a data.yaml and workflow/workflow.yaml and run a docker container with the directory bind-mounted into the local/ subdirectory in the container

docker run -it \
   --mount type=bind,src=$HOME/Sandbox/lyra-local,dst=/src/lyra/local \
   lyraproj/lyra:latest /bin/ash

Inside the container, cd into that local directory and attempt to apply the workflow:
/src/lyra # cd local
/src/lyra/local # lyra apply azure_wordpress
rpc error: code = Unknown desc = Reference to unresolved type 'AzureRM::Resource_group' (file<EMAIL_ADDRESS>line: 566)

The type is found correctly if you copy the workflow into the top-level workflows directory, but this is undesirable because it won't persist after container exits, and when running from a git checkout or package distribution, it means you're mixing local changes with the upstream codebase.
Expected behavior
Users should be able to have a "working" area containing hiera data, workflows/ and ts/go code that is independent of the distributed binary / source tree, so they can work locally without "polluting" either their repo checkout or the distribution tree.

I have a sample repo to clone down: https://github.com/ahpook/lyra-local

Fixed by lyraproj/puppet-workflow#23 and #267.


install-rav1e-c requires elevation in MSYS2/MinGW under Windows

Details available in media-autobuild suite issue 1606
/opt/cargo/bin/cargo.exe cinstall --release --prefix /build/rav1e-git/install-32bit --jobs 3
error: could not execute process `E:/MABS/msys64/opt/cargo\bin\cargo-cinstall.exe cinstall --release --prefix 'E:/MABS/build/rav1e-git/install-32bit' --jobs 3` (never executed)

Caused by:
{{Process requires elevation}}. (os error 740)

logs.zip collected by media-autobuild suite

I guess the readme could explicitly mention --destdir.

@lu-zero, what is the difference between --prefix and --destdir? I see these lines https://github.com/lu-zero/cargo-c/blob/e22e54a01372375ce5b578c8d442c88b5d2e4d30/src/cinstall.rs#L97-L100 and these https://github.com/lu-zero/cargo-c/blob/5806c3a740ffc46408a55ad1b60f3037bc6ac2af/src/install_paths.rs#L16-L23 , but I can't mentally map them to any options in autotools or cmake, at least immediately

DESTDIR is used to tell the install process where to put the files temporary, prefix is the path you put over the default bin/lib/...etc directorires. By default is /usr/local.

When you install after building with a non-root user you first use --destdir and the do sudo cp -a or similar.

I see that cmake warns about windows in its documentation for destdir.

Oh, you mean the variable, I was thinking about something like --destdir ... or -DCMAKE_INSTALL_DESTDIR=...

That's its usage anyway :)

I see, so
cargo cinstall --release --prefix "${LOCALDESTDIR:-/mingw64}" --destdir "$PWD/install-$bits" --jobs $(nproc)
install ...

?

Yes

@LigH-de would gsudo be a solution?

@LigH-de patch to try gsudo, it will pop up a uac prompt when it runs cargo-c (at least on my machine)
diff --git a/build/media-suite_compile.sh b/build/media-suite_compile.sh
index c5d854c..85fbd64 100644
--- a/build/media-suite_compile.sh
+++ b/build/media-suite_compile.sh
@@ -1053,6 +1053,14 @@ if { [[ $dav1d = y ]] || { [[ $ffmpeg != no ]] && enabled libdav1d; }; } &&
     do_checkIfExist
 fi

+# Get gsudo
+if enabled librav1e &&
+    [[ ! "$(/opt/bin/gsudo.exe --version 2> /dev/null | head -1)" = "gsudo v0.7.1" ]] &&
+    do_wget -h 56d2f93ac2f772981569c185c753969354702b1f0d069040ab4b945e6987421c \
+        "https://github.com/gerardog/gsudo/releases/download/v0.7.1/gsudo.v0.7.1.zip"; then
+    do_install gsudo.exe /opt/bin/gsudo.exe
+fi
+
 _check=(/opt/cargo/bin/cargo-c{build,install}.exe)
 if enabled librav1e &&
     [[ ! -x /opt/cargo/bin/cargo-cbuild || $(/opt/cargo/bin/cargo-cbuild --version) =~ 0.6* ]] &&
@@ -1095,7 +1103,9 @@ if { [[ $rav1e = y ]] || enabled librav1e; } &&
         export CPATH LIBRARY_PATH

         rm -f "$CARGO_HOME/config" 2> /dev/null
-        log "install-rav1e-c" "$RUSTUP_HOME/bin/cargo.exe" \
+        log -e "install-rav1e-c" "$RUSTUP_HOME/bin/cargo.exe" \
+            cinstall --release --prefix "$PWD/install-$bits" --jobs "$cpuCount" ||
+            log "install-rav1e-c.gsudo" /opt/bin/gsudo.exe "$RUSTUP_HOME/bin/cargo.exe" \
             cinstall --release --prefix "$PWD/install-$bits" --jobs "$cpuCount"

         mapfile -t compiler_builtins < <(

I did not try the gsudo patch yet as @1480c1 first let me try a patch which renames some files from "install" to "inst" and adds the dest-dir. For me this appeared to be sufficient.


EXT-3708 switch to direct file upload

Currently extension file is sent using multipart/form-data content type, which was identified to be problematic. As an API consumer you're asked to change POST /v2/extensions request body content type to application/octet-stream. I proposed the changes and tested them locally.

Hi @lugowskii, could you please tell me what is a good test for this change? Is it sufficient to build/sign an extension and upload it to the tenant?

Implemented in the recent version


Bug: Plugin is not logging RainBird events in v2.0

Describe The Bug
Plugin is not logging RainBird events in v2.0
To Reproduce
Start a zone via Home app. Check Homebridge log and no event messages are logged
Expected behavior
Logs of event should be should be in Homebirdge
Relevant log output
Prior to v2.0 event logs such as the following are shown:

[2/4/2024, 5:31:32 AM] [RainBird] Zone 1: Start [Duration: 00:10:00]
[2/4/2024, 5:31:35 AM] [RainBird] Zone 1: Running [Time Remaining: 00:10:00]
[2/4/2024, 5:41:36 AM] [RainBird] Zone 1: Complete

Since v2.0 the above logs are missing

### Config for homebridge-rainbird

```shell
N/A

Screenshots
No response
Device & Model
TM2
Node.js Version
v18.18.2
NPM Version
v9.8.1
Homebridge Version
v1.7.0
Homebridge Rainbird Plugin Version
v2.0.0
Homebridge Config UI X Plugin Version
v4.55.1
Operating System
Docker

@tbaur Can you try the latest beta?


HTML5 export, problem exporting games with videoclips

Operating system or device - Godot version:
Ubuntu 16.04 Godot 2.1.2 stable (steam version)
Issue description:

when I export e project to html5 videoclips doesn't work
Steps to reproduce:
simply try to export in html5 a project like this one:
https://github.com/gcomi1977/videoblackjack
(PS: of course, if you launch the project within the godot ide, you will see the videoclip work)
Link to minimal example project:
:
https://github.com/gcomi1977/videoblackjack

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

#17495 ended up being used to track this issue for 2.1, so I'll repurpose this one for 3.x. Need to test if this already works as-is.


who can give me the openllm request and response format?

hi all, since I cannot install openllm, but I want to know the request and response format by openllm.
is anyone can show the format structure? many thanks

not sure what you meant, but OpenLLM supports OpenAI-compatible endpoint, so you can just use that.
Otherwise for both v1/generate_stream and v1/generate it looks something like this
{
  "prompt": "What is the meaning of life?",
  "stop": [
    "\n"
  ],
  "llm_config": {
    "max_new_tokens": 128,
    "min_length": 0,
    "early_stopping": false,
    "num_beams": 1,
    "num_beam_groups": 1,
    "use_cache": true,
    "temperature": 0.75,
    "top_k": 15,
    "top_p": 0.78,
    "typical_p": 1,
    "epsilon_cutoff": 0,
    "eta_cutoff": 0,
    "diversity_penalty": 0,
    "repetition_penalty": 1,
    "encoder_repetition_penalty": 1,
    "length_penalty": 1,
    "no_repeat_ngram_size": 0,
    "renormalize_logits": false,
    "remove_invalid_values": false,
    "num_return_sequences": 1,
    "output_attentions": false,
    "output_hidden_states": false,
    "output_scores": false,
    "encoder_no_repeat_ngram_size": 0,
    "n": 1,
    "best_of": null,
    "presence_penalty": 0,
    "frequency_penalty": 0,
    "use_beam_search": false,
    "ignore_eos": false,
    "skip_special_tokens": true
  },
  "adapter_name": null
}


Upgrade to Debian bookworm

bullseye is old - and has unpatched critical vulnerabilities
https://hub.docker.com/layers/library/dart/latest/images/sha256-a154d77a8df7aeac46fdf15edd72f01c03b1b569e1a4c80263c22e1245507d21?context=explore

Dupe of #157

@kevmoo I've updated the title on #157 to make it clearer what needs to be done


No podspec found

I've installed the plugin, but when i sync the project i get the following error
[error] Error running update: Analyzing dependencies
[!] No podspec found for CapacitorCommunityFirebaseAnalytics in ../../node_modules/@capacitor-community/firebase-analytics
This is my podfile
platform :ios, '11.0'
use_frameworks!
workaround to avoid Xcode caching of Pods that requires
Product -> Clean Build Folder after new Cordova plugins installed
Requires CocoaPods 1.6 or newer
install! 'cocoapods', :disable_input_output_paths => true
def capacitor_pods
Automatic Capacitor Pod dependencies, do not delete
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCommunityFirebaseAnalytics', :path => '../../node_modules/@capacitor-community/firebase-analytics'
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
pod 'CordovaPluginsStatic', :path => '../capacitor-cordova-ios-plugins'
# Do not delete
end
target 'App' do
capacitor_pods
Add your Pods here
end

Hi @paul-austin! Probably you got this error after execute npx cap sync command:

✖ Updating iOS native dependencies with "pod install" (may take several minutes):
✖ update ios:
[error] Error running update: Analyzing dependencies
[!] No podspec found for CapacitorCommunityFirebaseAnalytics in ../../node_modules/@capacitor-community/firebase-analytics

This is the workaround I applied:

copy this file https://github.com/capacitor-community/firebase-analytics/blob/master/CapacitorCommunityFirebaseAnalytics.podspec (as .podspec, not .txt) into your app-folder/node_modules/@capacitor-community/firebase-analytics
execute npx cap sync from app-folder or pod install from app-folder/ios/App command
npx cap open ios
Product > Clean Build Folder
Product > Run or Product > Build

perfect, thank you.

v0.2.0 now contain the correct podspec filename.


After using "Clear Canvas" in the Sequence mode and entering new sequence, extra structures are shown in Flex and Snake modes

Steps to Reproduce

Switch to the Macro mode – the Sequence mode

Enter any letters on the canvas

Click on the "Clear Canvas" button

Enter any letters on the canvas again

Switch to the Flex or the Snake mode

Actual behavior
Extra sugar, phosphate and base are displayed on the canvas

Expected behavior
Extra sugar, phosphate and base are not displayed on the canvas
Desktop (please complete the following information):

OS: Windows 10 Pro (version 22H2) x64
Browser: Сhrome
Version: (125.0.6422.142) x64

Ketcher version 2.22.0-rc.7, Build at 2024-06-20; 18:42:41

Verified.

Ketcher Version 2.23.0-rc.1 Build at 2024-07-02; 08:57:41
Indigo Version 1.22.0-rc.1.0-g2bef0ce6c-wasm32-wasm-clang-19.0.0
Win 10
Chrome Version 126.0.6478.127 (Official Build) (64-bit)

Bug reproduced.
https://github.com/epam/ketcher/assets/62464241/d320a314-d35d-46a8-9f51-59bab3ebce79

Tested. Bug fixed.
https://github.com/epam/ketcher/assets/62464241/323988fd-da50-4db5-9433-c0b15e86ef14
Desktop:

OS: Windows 11
Browser Chrome
Version 124.0.6367.79 (Official Build) (64-bit)

Ketcher version
[Version 2.23.0-rc.2]
Indigo version
[Version 1.22.0-rc.2]


feat(zk): implement auxiliary classes related to permutation

This PR implements Open() and Evaluate() functions of  classes related to permutation.
See the referrences:

PermutationConstructed,
PermutationCommitted::Construct(),
PermutationEvaluated, Evaluate() and Open()
PermutationProvingKey::Open() and Evaluate()

The Open function of PermutationProvingKey returns a ProverQuery that holds a pointer to the BlindedPolynomial created internally. Unfortunately, The BlindPolynomial will be released when the Open function terminates.
The issue was resolved by changing PermutationProvingKey to initially have BlindedPolynomials as its member instead of Polynomials.

it must be merged after https://github.com/kroma-network/tachyon/pull/164


Passing default num_threads to booster.predict not working

Description
Passing num_threads=-1, or 0 or None to booster.predict method will not take effect. Instead, it will continue to use num_threads specified by the train method. Currently, the workaround I found is passing a huge value, i.e. 999.
One can pass the number of cores as an argument themselves of course. However, user should be able to provide a default value and lgb should auto use all the cores
Reproducible example
import lightgbm as lgb
import numpy as np

params = {'num_threads': 1}
data = np.random.rand(50_000_000, 10)
label = np.random.randint(2, size=50_000_000)
train_data = lgb.Dataset(data, label=label)
test_data = np.random.rand(50_000_000, 10)
num_round = 10

model = lgb.train(params, train_data, num_round)
model.predict(test_data, num_threads=0) # will still use one thread

Environment info
LightGBM version or commit hash: 3.2.1
Command(s) you used to install LightGBM
pip install lightgbm

Additional Comments

@yinweisu Thanks for raising this issue!
I can reproduce it on my Windows machine. Indeed, switching from any particular number of threads used in training to the default number of threads in OpenMP (0) is not working. Setting number of threads in prediction to any fixed value works fine, though.

@StrikerRUS Thanks for confirming the issue!
Yes, so far the workaround would be passing a large value. However, I think this is not a good practice ;)

Some updates about this issue: I noticed that setting num_threads equal to a very large number, i.e. 999, would cause mem leak

Hmm, I guess this can be a separate bug. How did you notice memory leaks? We'd really appreciate a new issue with small reproducible example like one you've used in your original comment here.

The problem is rooted here,
https://github.com/microsoft/LightGBM/blob/a77260f03eb735923125024b0f36df9f63a6e0f3/src/c_api.cpp#L1807-L1821
when num_threads <= 0, it is being ignored and the current setting of number of threads in OpenMP is kept.
I think one solution for this would be turn set the used number of threads to omp_get_max_threads() whenever num_threads <= 0 is found in the configuration parameters.


Feature to Record the Screen

Description of the new feature / enhancement
Ability to record the whole desktop full screen, a cropped part of the screen.
Scenario when this would be used?
Record the screen, currently using the game bar we can only record just a window. But if we need to record the whole desktop screen need to use another third-party software.
Supporting information
Game-bar is to record a window, PowerToys can record the whole screen.

This functionality will soon be added in Snipping Tool

Glad to hear it.

This functionality will soon be added in Snipping Tool

Glad to hear it.

This functionality will soon be added in Snipping Tool

Glad to here it.

This functionality will soon be added in Snipping Tool

Glad to hear it.

This functionality will soon be added in Snipping Tool

Glad to hear it.

You can find more information about the roll out here: https://blogs.windows.com/windows-insider/2022/12/08/screen-recording-in-snipping-tool-begins-rolling-out-to-windows-insiders/


Coding style, e. g. shorter hash

So I am now learning wxruby. I am a slow learner so this will take me
some time. I plan to showcase a few things with it, though, as I already
learned ruby-gtk3 before, and I know HTML/CSS fairly well, so I think
I should make progress soon. Anyway.
I noticed ruby code such as in:
wxRuby3/samples/minimal/ruby minimal.rb

You use:
super(nil, :title => title, :size => [ 400, 300 ])

Of course that is perfectly valid ruby code.
However had, for symbol-keys, we could also use this shorter notation:
super(nil, title: title, size: [ 400, 300 ])

It is not a huge savings, though, only about 6 characters or so. But I still wanted to suggest
it even if you disagree with it. I like the shortcut notation because it is a bit more convenient,
which is nice in the long run when you have to write a LOT of ruby code.

Although I value feedback, these things are simply matters of taste without any performance or functional consequences and as such I would suggest that if such things seem important enough for you, you submit PR's for changing this (and other) code.


What about the ID & Key how to get?

It’s private

can you please help with this?  the video is private and I can't find the if and key anywhere

how can i get the device id?...  the youtube video is not on line any more...


replace  /nodejs/develop/   server.js

Problem description
can not connect mongodb.
Problem location
https://docs.docker.com/language/nodejs/develop/
We should pass the port parameter。
replace  server.js
`
const ronin     = require( 'ronin-server' )
const mocks     = require( 'ronin-mocks' )
const database  = require( 'ronin-database' )
const server = ronin.server({
port:  process.env.SERVER_PORT
})
database.connect( process.env.CONNECTIONSTRING )
server.use( '/', mocks.server( server.Router(), false, false ) )
server.start()
`

If the port is not passed, the request cannot be initiated。Because the service defaults to 8000。

@newBird01 have you created network and used it in both of the containers as described in documentation?

seems like it was fixed in #12218


[Java] Fix failed test

@likholat, simplify the test. MO is unstable but we need to test API - check that map is not empty or something like that.