cannot download from bloomberg

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

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

Region
USA
Provide a description that is worded well enough to be understood
cannot download podcast from url https://www.bloomberg.com/news/audio/2023-11-15/at-the-money-the-best-way-to-buy-a-house-podcast
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
$ yt-dlp -vU https://www.bloomberg.com/news/audio/2023-11-15/at-the-money-the-best-way-to-buy-a-house-podcast
[debug] Command-line config: ['-vU', 'https://www.bloomberg.com/news/audio/2023-11-15/at-the-money-the-best-way-to-buy-a-house-podcast']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [24f827875] (debian*)
[debug] Python 3.11.6 (CPython x86_64 64bit) - Linux-6.5.0-2-amd64-x86_64-with-glibc2.37 (OpenSSL 3.0.12 24 Oct 2023, glibc 2.37)
[debug] exe versions: ffmpeg 6.0-9 (setts), ffprobe 6.0-9, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.46.0, requests-2.31.0, sqlite3-3.44.0, urllib3-1.26.18, websockets-10.4
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[Bloomberg] Extracting URL: https://www.bloomberg.com/news/audio/2023-11-15/at-the-money-the-best-way-to-buy-a-house-podcast
[Bloomberg] at-the-money-the-best-way-to-buy-a-house-podcast: Downloading webpage
ERROR: [Bloomberg] at-the-money-the-best-way-to-buy-a-house-podcast: Unable to extract id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/bloomberg.py", line 52, in _real_extract
    bplayer_data = self._parse_json(self._search_regex(
                                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1263, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

note to devs:
there's no BPlayer on that page which is why it fails,
but there is a nice script tag with all the info at the top of the page
<script type="application/ld+json">{"@context":"http://schema.org","@type":"NewsArticle","author":"Bloomberg","dateCreated":"2023-11-15T13:53:37.634Z","datePublished":"2023-11-15T13:53:37.634Z","description":"Buying a house in today's climate can be challenging. Interest rates are near the highest level in 20 years. Housing inventory is near record lows. So what's a potential home buyer to do? Jonathan Miller, President of Miller Samuel, joins Barry Ritholtz to discuss the best approach for purchasing a home today.","headline":[],"mainEntityOfPage":"https://assets.bwbx.io/av/users/iqjWHBFdfxIU/vA2jMb3KOQ2g/v5.mp3","publisher":{"@type":"Organization","name":"Bloomberg","logo":{"@type":"ImageObject","url":"/bloomberg-logo-amp.png","width":262,"height":60}},"image":{"@type":"ImageObject","url":"https://assets.bwbx.io/images/users/iqjWHBFdfxIU/ibh1qluOj5SM/v0/-1x-1.png"},"audio":{"@context":"https://schema.org","@type":"AudioObject","contentUrl":"https://assets.bwbx.io/av/users/iqjWHBFdfxIU/vA2jMb3KOQ2g/v5.mp3","description":"Buying a house in today's climate can be challenging. Interest rates are near the highest level in 20 years. Housing inventory is near record lows. So what's a potential home buyer to do? Jonathan Miller, President of Miller Samuel, joins Barry Ritholtz to discuss the best approach for purchasing a home today.","duration":"PT14M40.876S","encodingFormat":"audio/mpeg","name":"At the Money: The Best Way to Buy a House"}}</script>

maybe need a separate extractor for /news/audio/ stuff

as a workaround, add --force-generic to your command

as a workaround, add --force-generic to your command

Thanks, that worked.


X86/x64/arm64 jobs

Fixes #81

win32_x86 uwp_arm64 build OK!
are win32_arm64 and uwp_x86 worth fixing? should I just remove them from the yml?
added cmake --version build step for macos/ios and the version is 3.15.4.

I closed related issue : https://github.com/BabylonJS/BabylonNative/issues/81

win32_arm64

I don't think we care about this. If someone asks, then maybe.

uwp_x86

We should support this one.


Dropdownlist no longer seems to work in 0.11.2

It seems like the dropdownlist no longer wishes to open in 0.11.2.
This doesn't seem to be the problem in 0.11.0.
code is as such:

        <button type="button" class="btn btn-default dropdown-toggle">

            {{connection.name}}
            {{connection.spaceType.name}}
        </button>
        <button type="button" class="btn btn-default dropdown-toggle">

            {{connection.name}} {{connection.spaceType.name}}
        </button>

                    {{connection.name}}
                    {{connection.spaceType.name}}

Result: opens when clicked in 0.11.0, does not when clicked in 0.11.2

As it is fixed in 0.12 I would like to close this one.


feat(website): Hide state hook props from docs

This puts props returned by state hooks (e.g. useDialogState) into hidden sections in the documentation. The goal is to improve the readability of the props documentation by hiding props that will usually be spread directly from the state hook to the component.

Codecov Report

Merging #390 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #390   +/-   ##
=======================================
  Coverage   93.58%   93.58%
=======================================
  Files          89       89
  Lines        1372     1372
  Branches      428      428
=======================================
  Hits         1284     1284
  Misses         87       87
  Partials        1        1

Continue to review full report at Codecov.

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


Some functions in this library are slower than opencv4 5.5

Hi,
First of all, thank you for your contribution. But when I used this library, I tested Simd:: Resize()，Simd:: BgrToGray and so on. Some functions are 4-6 times slower than OpenCV4.5.5. (OS: Ubuntu18.04 CPU: i7-10750H 12cores)
Did I miss anything when I used it? Could you give a use case of image processing to make it faster than opencv's function. If most of them are slower than opencv, what are the advantages of this library.
Sincerely look forward to your answer.

Hi!
Thank you for response.
Does the SIMD library support multithreaded computing？Could you show me a simple example or pseudo code structure.
Thanks again.

I tried to combine SIMD functions，such as Simd::ResizeBilinear() with OpenMP to achieve multi-core acceleration, but it didn't work. It takes 7.79ms to execute 10 times, while opencv4 5.5 is 0.73ms. How to improve this?
omp_set_num_threads(12);
#pragma omp parallel
{
Simd::ResizeBilinear(viewSrc, viewDst);
}

Hi!
Unfortunatily this does not work such way.
I have to rewrite code of implementation of `ResizeBilinear'.
I will add this issue into ma future development plans.

Thank you again for your contribution。

Hi @ermig1979
Thank you for your contribution.
I have similar issues with debayering, its around 5 times slower than opencv debayering.
I'm new to this but from what I understand opencv is using all my cpu cores for debayering vs Simd library uses a single thread for the operation?
Any way if the above is true to increase performance or the library implementation has to change?

For my use case (shrink small images to smaller ones), Simd:: Resize() works 3x faster when compared to opencv 4.8, So it depends.


Fewer OA policy reminder emails sent than anticipated

This week's batch of OA policy reminder emails was much smaller than anticipated.

It appears that 43 users received reminders today.
The email cap is set at 200 (I updated it from 100 to 200 on October 22).
The overarching organization, "The Pennsylvania State University" contains 1197 people "users needing OA email." That's as of October 28, and technically some of those people could have become eligible for an email since the emails went out. However, there were 1241 people needing an email as of October 22, so I would be surprised if all those folks disappeared from the list and a new group of almost the same size came back.

I suspect there's a bug preventing emails from sending.

Still not sure what's going on here, but 200 people received reminder emails today, as planned.

@anaelizabethenriquez Sorry, I wanted to look into this sooner.  Looks like there were some network issues during that time.  The emails started to go out and then stopped with this error: Net::ReadTimeout · Net::ReadTimeout with #<TCPSocket:(closed)>.
For those with bugsnag access: https://app.bugsnag.com/penn-state/researcher-metadata/errors/66f0d9d93e88313d208646c1?filters[error.status]=open&filters[event.since]=30d&event_id=671efe5701099b6912060000
This wasn't rescued and logged in our EmailErrors (https://metadata.libraries.psu.edu/admin/email_error), though.  I can add a ticket to address that issue, but this issue can be closed.

Sounds good; thanks!

I don't want to reopen this, but I do want to note that there was some kind of error with the emails sent on November 25, likely same as above, and only 25 emails went out.

Yeah, looks like the same problem: Net::ReadTimeout with #TCPSocket:(closed) https://app.bugsnag.com/penn-state/researcher-metadata/errors/66f0d9d93e88313d208646c1?filters[error.status]=open&filters[event.since]=30d .  #1018 should help manage this, but I'm wondering if Sunday night is not a good time to send out emails.  Maybe network issues are common Sunday nights for some reason?  This time was shifted a bit when we changed our infrastructure.  We originally wanted the emails to go out Monday morning.  I added a comment in #1018 about this.


Validate the "Default answer" field in Active Admin

When editing or creating a Consent Step in Active Admin, the user is given a "Default answer" field which can contain free-form text. Though to produce well-defined behaviour, the default answer field can typically only contain values like "yes" or "no". If the user enters "Yes" (with a capital "Y"), they will not receive a warning. @rosiejbrown encountered this issue when she found that a modal pop-up wasn't displaying despite the checkbox agreement elements being unchecked:
https://user-images.githubusercontent.com/11529449/220801818-f0543691-af71-4dd8-a8fd-c18842fde343.mov
The "Default answer" field was set to "Yes" in this case.

This was closed by https://github.com/Australian-Genomics/CTRL/pull/136.


[CSGen] Fix LinkedExprAnalyzer greedy operator linking

Let's not attempt to link arithmetic operators together in
presence of concrete and literal (int, float, string) types.
Resolves: rdar://problem/35740653
(cherry picked from commit 0783890b0351dfddc5082f0f34505daef81a1ae3)

@swift-ci please test

@swift-ci please test source compatibility

Source Compatibility suite failed because there was unrelated UPASS in SwiftLint (which happens without my changes too), going to merge changes.


grafana_datasource - support for organizations per given account

If grafana_datasource is used with user account which belongs to few organizations, then grafana_datasource adds data sources to the currently selected organization.
Fix should allow adding specific datasources to the given organization.
Current workaround is to create separate accounts per organizations.

More likely to grafana_org to be id and not the name.
I guess it depends on how grafana treats user loging, it would require more interaction to log in, set org id to given value and then invoke datasource/dashboard creation.

Ok. It might still be interesting to be able to pass the org name, especially if/when a grafana_organization resource exists...


Include() statement is incorrectly applying where clause to wrong instance of dataset when combind with select(... new ...) syntax.

If I have two entities with a one to many relationship between them, and try and group by child records of a given type the navigation property on the parent will ONLY have the children that match the where if you try and select them into a new anonymous object.
In the minimal example I've put I've called them a Document and a MetaInfo record, where MetaInfo has a type and a Document has many MetaInfo records.  I'm trying to find pairs of MetaInfo with the name "Author" and the Document they are associated with.
Here's how I first wrote the LINQ to do the select.
ctx.Configuration.LazyLoadingEnabled = false;

var DocsByCreator = ctx.Documents
    .Include(d => d.MetaInfo) // Load all the metaInfo for each object
    .SelectMany(d => d.MetaInfo.Where(m => m.Name == "Author") // For each Author
        .Select(m => new { Doc = d, Creator = m })) // Create an object with the Author and the Document they authored.
    .ToList(); // Actualize the collection

This results in a List of pairs of "Author" MetaInfo objects paired with the Document they are related to.  However the Document object's MetaInfo collection is limited to ONLY the MetaInfo objects which match the inner "Author" clause.
I've tried this a few different ways around, after I'd narrowed down the problem I expected this one to work, but it demonstrates the same behaviour.
ctx.Configuration.LazyLoadingEnabled = false;

var DocsByCreator = ctx.Meta
    .Where(m => m.Name == "Author")
    .Include(m => m.Document.MetaInfo) // Load all the metaInfo for Document
    .Select(m => new { Doc = m.Document, Creator = m })
    .ToList(); // Actualize the collection

It turns out that moving either the Select(...new...), or the Where() clause after the data is actualised using ToList() causes the Document to have a complete MetaInfo collection.
I've put together a test project with a bunch of different ways to try and produce the same results here:
https://github.com/Robert-Laverick/EFIncludeIssue
I should note that if you enable Lazy Loading then data returned behaves correctly, but only as it's actually doing lazy loads for all the MetaInfo calls down from the document because it knows the Include hasn't populated the value, which is how I ran into the problem (finding 900 extra queries going on when I tried to access what I thought was a set of included properties on an object was a real performance issue) which is why I'm explicitly turning it off in this instance.
I've worked around this in the production instance by simply returning the equivalent of the document.ID and then having a second where contains based LINQ statement that gets the object with the includes and then manually build the result set I want, but I'm not able to do away with this kind of structure in my real application as there are before and after stages to the process that I'd rather do as part of the EF call.
I feel like this is some kind of optimisation going on when parsing the result set not realising that Where restricted set of data isn't sufficient to fulfil the match the include clause, and another instance of the table needs to be joined to the SQL, but I'm not familiar with the internals of EF so I don't know where to start trying to trace this.
Further technical details
EF version: 6.2.0
Database Provider: EntityFramework.SqlServer
Operating system: Windows 10
IDE: Visual Studio 2017 15.8.6

@Robert-Laverick The semantics of Include are that when returning instances of the original query shape, then related instances as specified in the Include will also be returned. However, if the query makes a projection such that it is returning a different shape, then the Includes are no longer applied. The behavior is currently the same in EF Core (although we are considering changing this for 3.0) and there is a more in-depth discussion here: https://github.com/aspnet/EntityFrameworkCore/issues/12446

Interestingly I've just been testing the EF Core version, and while it's true that the first case behaves similarly (it in fact leaves the relevant Collection as null rather than having a partially filled IEnumerable as EF6 does) The second instance I gave does return the full set of MetaInfo for the retrieved documents despite the where clause on Name. I'm guessing because it's not actually the same ICollection from a Document in both cases?
If I'm following the other threads correctly this also implies that the planned fix is to have global rules API to set certain values to always be loaded when a parent is? And is that really better than some kind of fix for Include() either being able to apply it to projections (sorry if I'm abusing the terminology here I'm still trying to get up to speed)
Given Include fails if I'm not using a known entitry type, can I create a entity class and tell EF about it, project to that and then use the existing include syntax after the projection, or is that just the same problem in a disguise?

@Robert-Laverick "global rules API to set certain values to always be loaded". Yes, that's the direction we're going with Core, but it's not fully decided yet.


Update order-status.md

I have corrected errors in the text and deleted Scenario F Over Shipment.
If some reels are taken from stock, then they are normally included in Produced quantity. It would mean that Produced and Shipped quantities would be the same when ShipmentCompleted, so this isn't really a new scenario.
We also have other scenarios, e.g. the products can be invoiced before they are shipped. We have a major difference in this scenario compared to existing scenarios, orderStatus=Completed is after ShipmentCompleted and not after the issue of the invoice as in existing scenarios.
How do we communicate the status that the order line items are invoiced when invoicing is done before shipments? Or is it enough to report only an Invoiced quantity?
Should we add this scenario?
We should also discuss if we need more quantity types. E.g. a merchant is selling sheeted paper from stock, would he use quantity type Produced in the API response, when he has allocated stock items to the customer order? The merchant is the supplier in this case.

Hello @larsolofsson, you can noticed that, in the meantime, I have corrected all the "orderLineItemNumber": "1" to "orderLineItemNumber": 1 as the field orderLineItemNumber has type: integer. You can change all of them using the "find and replace" functionality of your editor.

Thank you Patrice,
I have now 2 commits on PR #31.
I have changed all instances of "orderLineItemNumber": "1", to "orderLineItemNumber": 1,
I now understand after your comment how to work with commits when changes are done in a PR.
In PR #30 the changed file was stored in a wrong folder. I created a new branch and copied the file into the right folder 1.1.0 and created a new PR #31. I closed PR #30.
Could I do this in another way?
Would it be possible to just copy the file from the wrong folder into folder 1.1.0, delete the wrong folder and make a commit and push it to update PR #30?
Kind regards
Lars
From: Patrice Krakow @.***
Sent: den 24 maj 2021 10:39
To: papinet/papiNet-API
Cc: Lars Olofsson; Mention
Subject: Re: [papinet/papiNet-API] Update order-status.md (#31)
Hello @larsolofsson https://github.com/larsolofsson , you can noticed that, in the meantime, I have corrected all the "orderLineItemNumber": "1" to "orderLineItemNumber": 1 as the field orderLineItemNumber has type: integer. You can change all of them using the "find and replace" functionality of your editor.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/papinet/papiNet-API/pull/31#issuecomment-846882726 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APAU5RMOWMYILI6RLCEECUTTPIGB3ANCNFSM45IXTS5Q .  https://github.com/notifications/beacon/APAU5RJKR56TI34SHCENNJDTPIGB3A5CNFSM45IXTS52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGJ5GPJQ.gif


Fails when running pip install -U -r requirements.pip

When I run pip install -U -r requirements.pip from the servo app folder. I get the following error.
Do you have any suggestions how to fix it?
I have everything installed and I'm running High Sierra.

PostgreSQL
Memcache
RabbitMQ
uwsgi
Python 2.7

Obtaining gsxws from git+git://github.com/filipp/py-gsxws.git#egg=gsxws (from -r requirements.pip (line 23))
  Updating ./src/gsxws clone
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Users/user/Desktop/my_servo_folder/src/gsxws/setup.py", line 2, in <module>
        from gsxws.core import VERSION
      File "gsxws/__init__.py", line 3, in <module>
        from .core import *
      File "gsxws/core.py", line 35, in <module>
        import requests
    ImportError: No module named requests

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /Users/user/Desktop/my_servo_folder/src/gsxws/

Yeah, that's a known issue that I have to address. Just run pip install requestsfor the time being There might be other missing dependencies that need the same workaround.

Thanks for the quick reply.
After running
pip install requests
pip install lxml

I could successfully run and fish the pip install -U -r requirements.pip
But, when I try to run ./install.py.
I get the following error:
Traceback (most recent call last):
  File "./install.py", line 5, in <module>
    import django
ImportError: No module named django

pip install django
Gives me the following output:
Requirement already satisfied: django in /usr/local/lib/python2.7/site-packages (1.11.13)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/site-packages (from django) (2018.4)

Any suggestions how to fix it :-)?

Activating the virtual environment :-)?
I'm just following the Installation guide.
$ git clone https://github.com/fpsw/Servo.git my_servo_folder
$ cd my_servo_folder
$ pip install -U -r requirements.pip

Where it install without any errors now, due to your answer before.
And then, right after I try to run:
$ ./install.py
Should I perform any steps before this?

Sorry, my bad - the instructions don't use virtualenv at all. I should really update them...
But it appears your shell and the install script are using different versions of Python. What's the output of python --versionand do you have Homebrew installed?

I'm running with Python 2.7.15.
But I did actually manage to make it work, by installing every single component manually.
But I have one final question for you. It seems like, the images doesn't get loaded. This is the output from my console. Do you know, why it doesn't loads any images?

What happens if you try to open http://yourhost:port/static/images/logo_servoapp.png? Do you get redirected to a login page or something else? I'm gonna try go through the install process again (it's been a while...) and report back, but that might take some time...

You need to do two changes:
settings.py -> set DEBUG = True
local_settings.py -> set CSRF_COOKIE_SECURE and SESSION_COOKIE_SECURE to False

After I did the changes to settings.py and local_settings.py - Everything looks normal :-).
But when I try to login, I now see the following screen. Any suggestions?

Is memcached running? (it's used as the storage backend for sessions)
brew install memcached && memcached&

Seems like I was missing memcached&.
Thanks @filipp!


Cluster scan results in error "Resource is current"

I provisioned an EC2 cluster in Rancher using v2.5.0-rc7. Then I created a cluster scan using the default profile. The cluster showed in the scan list as active:

But it was stuck in active state and I couldn't see the report. The error looked like this:

@catherineluse did the cluster scan ever progress? Do you happen to know how it reproduces - I will have to see the cis-operator logs when we hit this

This happens when a scan is run and immediate click on the report when its seen in Active state (scan is still running)

if automatic refresh of state happens (currently have an issue for this), cluster scan will be seen in Running state, And while in running state if you click on the report you seen -- Scan is running message

User will have to manually refresh the page to see the scan state change.

@prachidamle The cluster scan didn't progress. I don't have the Rancher instance anymore

Seems like an intermittent state and this should work fine once auto refresh of states work

If the page is manually refreshed, the scan will be in Running/Pass/Fail state

Can we link this with the auto-refresh bug if there is one @sowmyav27

Auto refresh issue -- https://github.com/rancher/rancher/issues/29183

@sowmyav27 Can you check if this is still an issue?

On 2.5-head commit id: 71da1569

Create a scan CR, When the scan is running, click on the scan to go to the details page.
"Scan is running" is seen without a refresh of the page


[Bug]: Vitis AI quantizer with symmetric uint8 activation wrongfully hard-codes zero_point=0

What happened?
Hi,
with the following config
        "vitis_ai_quantization": {
            "type": "VitisAIQuantization",
            "disable_search": true,
            "config": {
                "calibrate_method":"NonOverflow",
                "quant_format":"QDQ",
                "ActivationSymmetric": true,
                "activation_type":"QInt8",
                ...
            }
        }

it appears that the zero point for activations is set to 0 instead of 128. Using "activation_type":"QUInt8" solves the issue (still 0, but rightfully this time).
It is probably a tiny bug (need to check on activation being signed or not).
Thank you!
Version?
main

Hi @sheng-xiao , can you please take a look at this?

Hi @fxmarty , when you use the Qint8 data type and also set ActivationSymmetric to true, it represents a range of -127 to 127, so the zero point (zp) is typically set to 0.

Thank you @ChaoLi-AMD I must have been sleeping writing this issue. Rereading it,

Using "activation_type":"QUInt8" solves the issue (still 0, but rightfully this time).

seem to be the issue. I will double check and keep you up.

@fxmarty Is this issue still open or resolved?

@jambayk I'll double check ASAP and update  you.

close this issue since it is pretty stale.


OSCOLA: unexpected "nil" in footnote (type article-magazine)

Describe the bug
The type article-magazine (and also article-journal) produces an unexpected "nil" in the footnote. The bibliography seems fine.
Additional information

TeX distribution: MikTex 24.1 / MikTex Console 4.11 / LuaHBTeX 1.17.1
Package citation-style-language version: 0.4.7
LaTeX engine: lualatex

To Reproduce
https://github.com/daniel-eder/reproduce-oscola-csl-error
Screenshots
Screenshot from my generated pdf - notice the "nil" after "Analytics India Magazine"

Compared to the result from Zotero:

I am not sure which value citeproc-lua is missing and thus replacing with "nil". It is not the page number, I tried to add a page number in an additional citation (article-journal) and it prints the nil before the page number:

Ah, this is because I forgot to consider empty page variable in 022f606. Fixed in 4c3eeb4.

you are my saviour, thank you!

Tested locally and works, thanks again


explain how to setup  ip_vs

@shimondoodkin Please fill out the description of this PR. Why is this change needed? Explaining ip_vs seems unrelated to the configuration setup of RKE2.


Fix: Make return value behavior consistent for both platforms

On Android, the code does not return when the user cancels. This is an issue, since:

On the JS side, it's impossible to detect if the user cancelled the sheet
It's impossible to write code to "wait" until the user responds
This behavior is inconsistent with how it works on iOS

Test plan

[x] Try it out here: https://github.com/Instawork/mobile/pull/742

This is quite dated - if still relevant, should you open a PR against the origin repo instead?


setup.py bad encoding

The calls to "open" on lines 19 and 22 use the wrong encoding scheme. I believe this is making the entire package impossible to install using pip.

This repo is deprecated. Please use the official Redis library.


Update embedded shader code in sokol utility headers

Most utility headers have embedded shader code from before sokol-shdc existed. This should be updated to get to the same state as sokol_debugtext.h (where the embedded shader code for the different backends has been compiled from the same GLSL source via sokol-shdc).

[x] sokol_debugtext.h
[x] sokol_gl.h
[ ] sokol_fontstash.h
[ ] sokol_imgui.h


⚠ Bofrost.at has degraded performance

In 5950e84, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1943 ms

Resolved: Bofrost.at performance has improved in 8a3b325 after 11 minutes.


Add own mirror

This mirror is hosted with Cloudflare's R2 offering and refreshed every ~15 minutes.
https://zigmirror.gmem.ca/index.json

refreshed every ~15 minutes

While you're free to automatically synchronize with ziglang.org, you are also required to download missing tarballs on-demand, per this rule in the README (emphasis my own):

For all other accesses of valid Zig tarballs, the mirror must respond with status code 200 OK and the file in question. If the mirror has not yet cached the file locally, it should immediately download it from a permitted source (as covered above), and respond with the downloaded file.

This is because many projects follow the master branch of Zig, which can update 1-2 times a day, so a 15 minute refresh interval could lead to a non-trivial number of wrong 404s.


fix: ensure we always update loading state correctly

Thanks! Just curious if you encountered any problems if not adding these lines?

You see there Voting ends in: Loading...


Update README.md

Corrected "PostgresSQL" to "PostgreSQL" in list of native integrations under the features sections.
Description
Hello! This is my first contribution to the any project, and I apologize in advance for any mistakes. I have fixed a minor spelling error by changing 'PostgresSQL' to 'PostgreSQL' as suggested. Thank you for your time and consideration!

Type of change

This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[x] Manual

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

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

Checklist:
Dev activity

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

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

c

Welcome to the Appsmith community! Thank you for your first pull request and making this project better. 🤗 Please make sure that you raise a review request so your code change does not go unnoticed.

how do i raise a review request


Polyline popups

Hello. Thanks for the library!
I have a question regarding popups for polylines. I have multiple polylines along with some markers and need to have popups on each of them. For example:

Both polylines and markers will be referred to as jobs below. Polyline jobs have the type STREET and marker jobs have the type LOCATION
I haven't found any documentation regarding that for your library, so I have invented a temporary solution to achieve the desired result. I am creating a standalone popup, and accessing Maplibre map object directly. It works, but is very ugly:
<mgl-popup v-if="selectedJob" :coordinates="popupCoordinates">

Example popup

 </mgl-popup>

...

onMounted(() => {
    if (mapRef.value) {
        const map = mapRef.value.map;

        map.on('load', () => {
            map.on('click', (e) => {
                const features = map.queryRenderedFeatures(e.point, {
                    layers: props.runInput.jobs.filter(job => job.jobType !== 'LOCATION').map(job => job.id)
                });

                if (features.length > 0) {
                    const clickedJob = props.runInput.jobs.find(job => job.id === features[0].layer.id);
                    if (clickedJob) {
                        selectedJob.value = clickedJob;
                        popupCoordinates.value = e.lngLat.toArray();
                    }
                } else {
                    selectedJob.value = null;
                }
            });
        });
    }
});

Another issue with that method is warnings are printed in the console on each popup click. It seems a polyline popup wants to have a marker associated with it:
[Vue warn]: injection "Symbol(marker)" not found.
  at <MglPopup key=0 coordinates=
...

Do you have any better way to do that?
Another related question is how to make popups displayed on hover instead of on click? There is a Maplibre example on how to do that, but I can't seem to figure out how to do that with your library

Hi,
Your issue is more a question. Without the code and time it's difficult to answer it. Would be happy to help privately.
Anyway, I fixed the runtime warning, thanks for finding it. The fix has been released in the v7.6.1 version.

Thanks for prompt answer and fixes!
Does that mean the library does not support popups for polylines and popus on hovers? If so, I would be happy to implement it


Clippy fixes

Fixes a number of clippy issues:

Implement Default for various types
Remove some useless format/mut
Simplify some if let match
Fix some cases where variables are never read because they are immediatly overwritten

Looks like the build is failing because some dependencies require rust 1.65:
Caused by:
  package `wgpu-hal v0.14.0 (/home/runner/.cargo/git/checkouts/wgpu-53e70f8674b08dd4/d536613/wgpu-hal)` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.64.0

I guessed this is blocked by #201 then ?

@julienr :shrug: I think @maxammann would have to answer that. Or you could try to tackle #201?

Its a new issue :) Ill fix it today propably.

I'll merge as soon as checks succeed: https://github.com/maplibre/maplibre-rs/pull/207


Autocomplete in IDE

First of all thank you for making pandas_flavor. It is very useful.
One issue: Is it possible to make it so that registering the method also enables tab/autocomplete for that method in some common IDEs (spyder, pycharm, vs)?
Relevant link:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000665110-auto-completion-for-dynamic-module-attributes-in-python
Registering the method in the dir may also work?
Again, thank you for pandas_flavour.

Hi @hmelberg,
Thanks for pointing out this issue. You're absolutely right, this needs to be added! It would make pandas_flavor so much more useful.
I'm currently finishing up my doctoral work-- I'm actually defending in two days. So I won't get a chance to dive into this issue for a few days. However, I'd love to see this feature land in pandas_flavor soon.
If you have any interest in adding this feature, that would be great! I can help with the PR. No pressure either way.
Otherwise, I'll try to add fix this issue in the next couple of weeks. I'm planning to talk about this project (among others) with developers at SciPy in July.

Good luck with your defence.
Some good news: Tab/Autocompletion works in ipython (so console in spyder
or notebook is OK), but it does not work in the IDE. It may be difficult to
make it work since it is really a problem related to the package doing the
autocompletion (often jedi) and this tool does not pick up on methods that
are added after an import. I do not know if it is possible to get around
the issue. Maybe if pandas_flavor does some magic (like adding it to the
dir?).
I'll add this comment to github issues and explore further.
Thanks for the reply - and for pandas_flavor!
Hans Olav
On Sun, Jun 17, 2018 at 9:53 PM Zachary Sailer<EMAIL_ADDRESS>wrote:

Hi @hmelberg https://github.com/hmelberg,
Thanks for pointing out this issue. You're absolutely right, this needs to
be added! It would make pandas_flavor so much more useful.
I'm currently finishing up my doctoral work-- I'm actually defending in
two days. So I won't get a chance to dive into this issue for a few days.
However, I'd love to see this feature land in pandas_flavor soon.
If you have any interest in adding this feature, that would be great! I
can help with the PR. No pressure either way.
Otherwise, I'll try to add fix this issue in the next couple of weeks. I'm
planning to talk about this project (among others) with developers at SciPy
in July.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Zsailer/pandas_flavor/issues/1#issuecomment-397902154,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADJMN_3CW5ZLjAkWSqZ-xbc-HRsBhwTeks5t9rOhgaJpZM4Uq5Q-
.

--
--
Hans Olav Melberg
Associate Professor
University of Oslo
Phone: 93 65 88 18
Academic blog (Norwegian): http://helsenyheter.blogspot.com
Publications and info:
http://www.med.uio.no/helsam/english/people/aca/hmelberg/
Master program in Health Economics, Policy, and Management :
http://www.uio.no/english/studies/programmes/healthecon-master/index.xml

Some good news: Tab/Autocompletion works in IPython (so the tabl completiong works in the console in Spyder or Jupyter notebook), but it does not work in the IDE itself.
It may be difficult to make it work since it is really a problem related to the package doing the autocompletion (often jedi) and this tool does not pick up on methods that are added after an import. I do not know if it is possible to get around the issue.

Looking at this again, I think you're right--this is specific to IDEs. Most autocomplete engines should be able to handle the addition of methods after import with no problems (i.e., IPython uses Jedi).
However, it's likely that this feature is turned off in IDE's to save on performance. Environments like IPython and Jupyter can assume that code cells won't get too large. Each block is it's own smaller chunk of code. Programs like Jedi process each cell separately and quickly.
In an IDE, however, scripts may get really large. Perhaps running Jedi on these files may bog down the editor?
This is all speculation, of course.

I'm cross-linking ericmjl/pyjanitor#660 where there is discussion around higher-order autocomplete using Jedi with pandas extensions.
This might be something we could add to pandas-flavor that would improve the extension API of pandas.


Connection EventEmitter: use enum instead of NSNumber as event type.

Internally we still need to wrap the raw enum values in NSNumber,
but that shouldn't be exposed.

LGTM


Modify user table survey boolean

As a user, I want to be able to take a style survey if I have not taken it yet. After I have finished my style survey, when I am subscribing to new crates, I want it to remember my style from the previous survey.

[x] Add a survey column to the users table that will track whether a user has completed the survey.

Added boolean to track if user has completed survey, this will be used to hide survey from users who have already taken


[Bug] iOS crashes when Google sign in is not enabled

Description
Summary
Our project is using Firebase Auth to only support logging into our game with Microsoft. However we were seeing a crash on iOS that was fixed by turning on Google Sign In even though we're not using it. Specifically, I needed to include the REVERSED_CLIENT_ID property in the GoogleService-Info.plist, which is only added after enabling Google Sign In.
Detailed description
Tracking down this dependency was a bit obtuse (admittedly I didn't have a Mac handy to actually debug the crash). Since the crash was occurring without any user facing error, I initially assumed there was something wrong with our initialization code. After a few hours with no success, I submitted a crash report from my test device and pulled it from Testflight (didn't learn about this handy feature until today). In the crash report I found the exception originating from Firebase's iOS plugin, specifically getCredentialWithUIDelegate:
Incident Identifier: REDACTED
Hardware Model:      iPhone14,5
Process:             REDACTED [22464]
Path:                /private/var/containers/Bundle/Application/REDACTED
Identifier:          REDACTED
Version:             1.0.0 (484)
AppStoreTools:       15E204
AppVariant:          1:iPhone14,5:15
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:          REDACTED  [632]

Date/Time:           2024-04-25 14:13:57.9404 -0700
Launch Time:         2024-04-25 14:13:49.0833 -0700
OS Version:          iPhone OS 15.7 (19H12)
Release Type:        User
Baseband Version:    1.70.01
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  47

Last Exception Backtrace:
0   CoreFoundation                	0x1d62e1288 __exceptionPreprocess + 220 (NSException.m:200)
1   libobjc.A.dylib               	0x1ef015744 objc_exception_throw + 60 (objc-exception.mm:565)
2   CoreFoundation                	0x1d6338390 +[NSException raise:format:] + 112 (NSException.m:156)
3   UnityFramework                	0x1056160d4 -[FIROAuthProvider getCredentialWithUIDelegate:completion:] + 116 (FIROAuthProvider.m:158)
4   UnityFramework                	0x1055f5f78 __52-[FIRAuth signInWithProvider:UIDelegate:completion:]_block_invoke + 124 (FIRAuth.m:655)
5   libdispatch.dylib             	0x1d5f46e6c _dispatch_call_block_and_release + 32 (init.c:1517)
6   libdispatch.dylib             	0x1d5f48a30 _dispatch_client_callout + 20 (object.m:560)
7   libdispatch.dylib             	0x1d5f50124 _dispatch_lane_serial_drain + 668 (inline_internal.h:2622)
8   libdispatch.dylib             	0x1d5f50c80 _dispatch_lane_invoke + 392 (queue.c:3944)
9   libdispatch.dylib             	0x1d5f5b500 _dispatch_workloop_worker_thread + 648 (queue.c:6732)
10  libsystem_pthread.dylib       	0x2474810bc _pthread_wqthread + 288 (pthread.c:2599)
11  libsystem_pthread.dylib       	0x247480e5c start_wqthread + 8

Thankfully the source for the plugin is available, so I was able to look up the relevant line which has some extra info:
    [NSException raise:NSInternalInconsistencyException
                format:@"Please register custom URL scheme '%@' in the app's Info.plist file.",
                       self->_callbackScheme];

Then it was just a couple of Google searches to figure out that "registering a custom URL" scheme meant REVERSED_CLIENT_ID was missing from my GoogleService-Info.plist.
While I'm still pretty sure requiring Google Sign In is a bug, I think this would have been a lot easier to catch if some validation was added either when the plist is imported, or during a build step. Granted there is this log I saw at build time:
GoogleService-Info.plist file missing REVERSED_CLIENT_ID, Google Sign-In will fail to initialize. However I ignored it since we aren't using Google Sign In 😵
Reproducing the issue
No response
Firebase Unity SDK Version
11.7.0
Unity editor version
2022.3.10
Installation Method
.unitypackage
Problematic Firebase Component(s)
Authentication
Other Firebase Component(s) in use
No response
Additional SDKs you are using
No response
Targeted Platform(s)
Apple Platforms, Android
Unity editor platform
Windows
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
No response
If using CocoaPods for Apple platforms, the project's Podfile.lock

Expand Podfile.lock snippet

👀 Replace this line with the contents of your Podfile.lock!

So, for an explanation on why this happens.  The important part is that any of the OAuthProviders (like the Microsoft one) require adding the custom URL scheme to your XCode project's Info.plist, as documented here: https://firebase.google.com/docs/auth/ios/microsoft-oauth#handle_the_sign-in_flow_with_the_firebase_sdk
The Unity SDK tries to automate that step, by copying it from the REVERSED_CLIENT_ID in your GoogleServices-Info.plist, which is happening here: https://github.com/firebase/firebase-unity-sdk/blob/289f09492a59c7e74f622ca25e8ffede67340178/editor/app/src/XcodeProjectPatcher.cs#L421  That is also where that error about how Google Sign-In will fail to initialize comes up.
Now I'm not sure why the REVERSED_CLIENT_ID seems to only be present in the GoogleServices-Info.plist when Google Sign-In is turned on, I can reach out to folks on my end about that part.  I think there is also a CLIENT_ID, that one can derive the reversed version from if needed, so I can see if that is more likely to be present, and if so add some logic for that.  At the very least, I can improve that error message, cause it is definitely missing that other things depend on that field as well.


haskell-generic-builder: Use default cabal verbosity

Motivation for this change
Using elevated verbosity is good for debugging and development.
But the generic-builder is used as the bread-and-butter builder of all Haskell packages. In that case, extra verbosity is a bad trade-off. Usually you only want to know of any errors, and there are usability concerns with all the extra information.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Thank you for this PR. Sadly I fear this might not be a good idea, or at least I would need more convincing.
Let me explain my concerns: We haskellPackages maintainers spent a lot of our time debugging failed package reports (on hydra or our systems). Long build times are the biggest factor making this job tedious. Rebuilding a package with an added verbosity flag would cost us additional time at two points: first, we need to build with verbosity on and then after successful build when we build again without the verbosity flag. And imagine e.g. a failing aarch64 build, where we have no own machines to debug. We would need to commit the flag to nixpkgs to get the verbose output from hydra, that would just be terrible.
So for this change to make sense we need to either argue that a) the default verbosity is really costly or b) it is nearly never necessary for debugging. I don‘t belief that  a) is true.
Regarding b) I would need to see a side by side comparison of a package build with and without the flag. Information I regularly rely on for debugging are configureFlags, cabalFlags and the component graph listing all dependencies with there versions. Others might rely on different infos. I am pretty sure that the component graph only gets displayed with the verbose flag and it’s really useful when chasing version mismatch problems.

I agree with @maralorn's comment.
But what we could do is put --verbose behind a configuration option, so it would make it easier for users to turn off verbosity.

Thanks for the feedback! I agree that @maralorn gives good rationale for keeping the extra verbosity.
Creating a configuration option isn't a bad idea, but I myself probably wouldn't use it --- I prefer to use upstream defaults whenever possible. (That's part of the reason I opened this PR in the first place, I guess.) Maybe someone else will add it. :)


Use trajectory_node_list_publisher as a latchted publisher

When the cartographer ros node is run, I want to save the map and the trajectory it generates. However, when the carographer is finished, I cant read out the "trajectory_node_list" topic anymore. I therefore changed the publisher to: latch = true in the node.cc file. My suggestion would be to use this in the standard version as well.
Additionally I encounter the problem that the occupancy grid node sometimes does not publish the map topic anymore. This is despite the fact, that the topic is latched in the node. This seems random to me. Sometimes it published a map sometimes it doesnt. Maybe someone on here has more insights.
Thanks.

I also want to get the trajectory node list after global SLAM has corrected the trajectory.  Has this change been made to the standard version?  Or do I have to make the change and recompile?  Thanks!  Alan

The topics you mention are not suitable for this. You should write a pbstream file and use cartographer_pbstream_to_ros_map and cartographer_dev_pbstream_trajectories_to_rosbag to extract the data to ROS.


Deployments

apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80

But What is this issue @vagguharinath ?

/triage needs-information

Hey @vagguharinath,
The information you provided isn't enough to address the issue you are facing. Kindly, provide a proper description of the problem with some screenshots (if required). If you are new to K8s or Open-source and looking for some guidance or help then you can check out this page. If you won't provide sufficient information then this issue will be considered spam, and it will be turned down soon.


Swashbuckle + Glimpse.MVC = blank documentation

I was having the same problem as #184 where the discovery URL yielded no API endpoints.  Pulling my hair out trying to figure out what was going wrong I started a fresh project and gradually started migrating route config, cors settings, oauth, etc etc.  Finally figured out adding the glimpse.mvc package caused the problem.

I am having the same issue. Swashbuckle was working fine for me till I added Glimpse.
Once I add the Glimpse module following call starts returning 0.
GlobalConfiguration.Configuration.Services.GetApiExplorer().ApiDescriptions;
If i comment glimpse module it works fine.

After further analysis here is what seems to be a problem:

Glimpse adds castle proxies on top of HttpWebRoute. So HostedHttpRouteCollection is collection of RouteProxy and not HttpWebRoute.
APIExplorer class has FlattenRoutes method which does a foreach loop over HostedHttpRouteCollection.
GetEnumerator implementation of HostedHttpRouteCollection specifically look for HttpWebRoute. See the code below. Since glimpse has added proxies, enumerator always returns 0 routes!!

        public override IEnumerator<IHttpRoute> GetEnumerator()
        {
            // Here we only care about Web API routes.
            return _routeCollection
                .OfType<HttpWebRoute>()
                .Select(httpWebRoute => httpWebRoute.HttpRoute)
                .GetEnumerator();
        }

Any work around or suggested solution?

SB is built on top of WebApi's metadata layer - ApiExplorer. However, it seems there's a bug in Glimpse that breaks ApiExplorer. See the following for more info and a suggested workaround:
https://github.com/Glimpse/Glimpse/issues/520
Closing as it's not a SB issue.


Include data protection notice

While no data will be shared in this repository, share details on DPIA process used

Example language:

This project was subject to a Data Protection Impact Assessment (DPIA) and Data Processing Agreement (DPA) between X and Y, ensuring the legal basis for processing, and the protection of the data used. No data or trained models are shared in this repository.

Covered in #9


Crawl failed : TypeError: null

Hello,
when i run ./crawl, i've the error message : TypeError: null is not an object (evaluating '/ida=(\d+)/g.exec(link)[1]').
I don't understand. The script run with others books ...
Thank your for your job.
Best regards
David

same error here

Hello,
I have the same error.
After check, __hnwky and __rsaxc change randomly when we click on new page of books

Hello,
So no one have a solution to this problem ?
@romirates maybe ?


AppStore submit error caused by CFBundleExecutable key in info.plist

During the AppStore submit we got the following error message from Apple:
"Unexpected CFBundleExecutable Key. The bundle at 'Payload/EasyEntry.app/acceptResources.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."
Should we just remove the CFBundleExecutable key from the acceptResources.bundle/info.plist?

Yes it should be sufficient. It looks like during the build the Xcode added this key even though the CFBundlePackageType was set to BNDL

ok, I will try without. Thx for the fast reply.

Apple accepted the build version without the CFBundleExecutable key. Thx

Excellent


Improvement of ElevationMap::move_to performance

Hi,
I'm running the package under ROS melodic, Ubuntu 18.04 in Simulation with a simulated Velodyne VLP-16.
I tried to lower the CPU usage to something like our current traversability estimation uses.
I tried to lower it by following without much change:

Remove plugins, leaving 1 disabled plugin
Decrease resolution to 0.2 m
Decrease map_length to 2 m
Decrease max_ray_length to 1 m
Disable all the features via feature toggles
Remove all publishers
Decrease map_acquire_fps to 2 Hz

Profiling the with these configs showed that the move_to function  in elevation_mapping.py uses most CPU cycles (60%).
Changing the update_pose_fps then lowered the CPU as expected.
Are there any plans to improve the performance of this move_to function?

Hi Alex,
using ndimage.interpolate.shift to move the map is probably overkill here. @mktk1117 is looking into it.
What is a bit weird, though is that it has impact on the CPU usage, since everything here is or should be executed on GPU. This means the mutex in that function might also be a factor.

Hi Alex,
I replaced the ndimage.interpolate.shift with cp.roll and filling in using slicing.
I pushed to the branch fix/improve_shifting
Could you try out this branch and let us know if this solved the issue?
Also it would be great if you could check #13 with this branch as well.

It seems to have improved with the branch.
I also noticed that the CPU usage sometimes differs from start to start. So this might be something with our simulation setup (which also uses GPU acceleration)
At least with #13 fixed, we can tune the parameters to something workable. :+1:

Great! I will then merge this into main.


Fix remaining datasets so that they can be migrated to extract steps

This card includes notes for datasets that Jessie ran into issues with while playing Migrate Existing Datasets to Extract Steps #942
For dataset ffe10222-cd58-4618-a11c-7870a8169625 we get error:
"technical": {
"cadence": [
"Cron schedule has a minimum interval of every 10 seconds"
]
}
For dataset  7d22b8b4-2365-4afa-9b7c-e27b39c3e710 we get error (since cadence is continuous)[This also happens for the other continuous dataset]:
    "technical": {
        "cadence": [
            "Cron schedule has a minimum interval of every 10 seconds"
        ]
    }

error on dataset  88765083-c2e6-45c8-9123-4308767de5c4
{
"errors": {
"technical": {
"cadence": [
"Can't parse 0 as month."
]
}
}
}
Datasets
3228478d-0071-4cc3-91f7-a6c75d3ed945
35fa9aef-04d0-4d56-b137-75a1047674de
fbe44c26-087d-4487-a35e-dcd241736bff
30d3740d-d255-4d68-8282-fde0968ba41a
have time zone  components which likely need to be looked at a bit closer.

Create additional cards if there are unresolvable issues.

Editing my posts I see :-)


Input type (float) and bias type (c10::BFloat16) mismatch error.

Hi! Having trouble doing the API call to get extracted markdown as a string. I have installed nougat-ocr[api] and have started the server using nougat_api. I am on M1 Mac. Here is my extractor code and traceback:
CODE:
class NougatExtractor(Extractor):
    def extract_text(self, pdf_file):
        # ensure the file pointer is at the beginning of the file
        pdf_file.seek(0)

        # send the PDF file to the Nougat API
        response = requests.post("http://<IP_ADDRESS>:8503/predict", files={"file": pdf_file})

        # check for successful response and return markdown text
        if response.status_code == 200:
            return response.text
        else:
            raise Exception(f"Error: {response.status_code}: {response.text}")

TRACEBACK:
INFO:     <IP_ADDRESS>:54720 - "POST /predict HTTP/1.1" 307 Temporary Redirect
  0%|                                                                                | 0/1 [00:00<?, ?it/s]
INFO:     <IP_ADDRESS>:54720 - "POST /predict/ HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/////venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/fastapi/applications.py", line 292, in __call__
    await super().__call__(scope, receive, send)
  File "/////venv/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/////venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/////venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/////venv/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "/////venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/////venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/////venv/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/////venv/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/////venv/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/////venv/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/////venv/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/app.py", line 128, in predict
    model_output = model.inference(image_tensors=sample)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/nougat/model.py", line 590, in inference
    # get decoder output
                        ^
  File "/////venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/nougat/model.py", line 125, in forward
  File "/////venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/timm/models/layers/patch_embed.py", line 35, in forward
    x = self.proj(x)
        ^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/torch/nn/modules/conv.py", line 463, in forward
    return self._conv_forward(input, self.weight, self.bias)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/////venv/lib/python3.11/site-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Input type (float) and bias type (c10::BFloat16) should be the same

I really appreciate an assistance you can provide! Thanks so much!

thanks, it's fixed now


Update Fails

We get this often.  We are using the standard REMnux VM provided.

Hi @AlexaVonTess , can you attach your saltstack.log file so we can determine the cause of the error?

Thank you so much for the quick response and confirmation.

Hi @AlexaVonTess are you using the update command, or the upgrade command?

update

That worked.  Thanks again.


Home Assistant doesn't recognize fmf icloud3 devices inside zones

Home Assistant doesn't recognize fmf icloud3 (Beta8a) devices inside zones...

Same devices using icloud3 v2.4.7....

I can see the counts are different but I don’t think that is an iCloud3 issue with FmF not detecting when someone is in a zone. I’d check the entity names being counted.
iCloud3 gets the location data from iOS app, famshr and fmf, picks the latest one and then that data runs through the same routine to determine the location, Zone status and everything else. For testing, my wife is using fmf and iOS App data right now and everything is ok.
Check the Event Log and iCloud3 entities to see what their values are.

I'm not sure if I followed you but ic3 recognizes iphone_martha as being in the zone CasaDaMartha but HA doesn't. I'm using iphone_martha as a reference. See images below:

On the other hand, HA does not recognize anyone being in zone casa_da_martha in the past hours:

What you are looking at is the HA history. The source of this data can be seen on the Developer Tools > States screen. Look at the following entities to see where the device is right now:
device_tracker.[devicename] & device_tracker.[devicename] zone attribute
sensor.[devicename]_badge
The EvLog shows the device is in a zone. Verify the zone.[zone] name entity, not the friendly name of the zone, to make sure the zone names match
You can also go into the iC3 configurator, Event Log screen and select how the zone name is displayed. Select the zone entity to make sure the history is correct
If ic3 has it in a zone, then it is must be a HA history display/selection issue. I would check again what is being displayed on the history screen by  checking the zone entity names

Here are the images...
device_tracker.[devicename] & device_tracker.[devicename] zone attribute

Badge is in CasaDaMartha state...

zone.{zone] entity. Still no one in there.

selected zone_entity as how the zone name is displayed, just to make sure.

Now I see. Looking at it now. My badge says not_set too.

Now the badge updated the zone_fname but shouldn't the zone_fname include de spaces and show the actual Friendly Zone name?

The zone.[zone] entitly still thinks no one is in there....

Yes. I have to run out and will fix that later.

The zone.py did correct the zone_fname sensor...

But the devices are still not recognized within a zone... Don't know what I am doing wrong... It is configured the same way in v2.4.7

Are these files correct in the 8b beta ?
Zones for my devices are only showing as home or not_home, icloud3 doesn't seem to be aware of the home assistant zones? is it worth me trying either of these files ?
Thanks

No. the files I sent you are not in b8b. The only thing changed in b8b was the v2v3migration.py file. The other files (zone.py, device.py, etc) will need to be reinstalled until I put a b9 together.

I just uploaded Beta 9. Reopen this issue if you are still having problems after installing and using it.
Gary

Hi, good morning. The issue persists...
Beta 9:

versus v2.4.7:


Keep looking for master process

Proposed changes
Continuously searches for master process
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[ ] I have read the CONTRIBUTING document
[ ] I have run make install-tools and have attached any dependency changes to this pull request
[ ] If applicable, I have added tests that prove my fix is effective or that my feature works
[ ] If applicable, I have checked that any relevant tests pass after adding my changes
[ ] If applicable, I have updated any relevant documentation (README.md)
[ ] If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

Codecov Report
Attention: Patch coverage is 67.64706% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 66.22%. Comparing base (71ae09c) to head (ac725e2).
Report is 32 commits behind head on main.

Files
Patch %
Lines

...hub.com/nginx/agent/v2/src/plugins/registration.go
67.64%
9 Missing and 2 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #617      +/-   ##
==========================================
+ Coverage   66.13%   66.22%   +0.08%
==========================================
  Files         118      118
  Lines       13461    13503      +42
==========================================
+ Hits         8903     8942      +39
- Misses       3958     3959       +1
- Partials      600      602       +2

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


[5.4] Possibility to use where for where in clause

I didn't get a reply in #15219 and decide to pr again. Close so close)
$builder->where('id', [1,2,3]);
$builder->where('id', 'in', [1,2,3]);
$builder->where('id', '=', [1,2,3]);

will produce: select * from table where "id" in (?, ?, ?)
$builder->where('id', '!=', [1,2,3]);
$builder->where('id', 'not in', [1,2,3]);

will produce: select * from table where "id" not in (?, ?, ?)

Not sure if we need this.
Also this syntax:
$builder->where('id', [1,2,3]);

Could be used for another purpose in the future instead of calling a whereIn.
Maybe a json query $build->where('jsonColumn', ['badge' => 'black']);
Would turn into something like $build->where('jsonColumn->badge', 'black');
Not saying that we should accept this syntax but we would be able if the syntax is not used for anything else.

Please just use whereIn explicitly.


unsatisfied payload signature sub-rule in OR rule

I tried to set up a webhook rule to be triggered when the payload signature is verified with any one of multiple secrets, but I found that any unsatisfied payload signature sub-rule that appears before other sub-rules in the or rule  will cause the parent rule be evaluated to false.
example config:
"trigger-rule": {
      "or": [
        {
          "match": {
            "type": "payload-hash-sha512",
            "secret": "secret-1",
            "parameter": {
              "source": "header",
              "name": "X-Signature"
            }
          }
        },
        {
          "match": {
            "type": "payload-hash-sha512",
            "secret": "secret-2",
            "parameter": {
              "source": "header",
              "name": "X-Signature"
            }
          }
        }
      ]
    },

requests signed by "secret-2" will never trigger the hook because an error will occurred:

error evaluating hook: invalid payload signatures [...]

What version of webhook are you using?  If 2.7.0, I suspect this is a duplicate of #471.

I've located the reason:
https://github.com/adnanh/webhook/blob/9c7f8c1ac4993c56658c4afacda5f3d40630d11e/internal/hook/hook.go#L797-L800

What version of webhook are you using? If 2.7.0, I suspect this is a duplicate of #471.

Yes, I'm using 2.7.0, please check my reply,  if Evaluate returned error will immediately evaluate the parent rule to false.

Ok.  I don't think this is a duplicate of #471 then.
I think this is, instead, a duplicate of #234.  It's been a while since I've looked at #234.  @zry98, what are you thoughts on that issue, especially my last comment?

Ok. I don't think this is a duplicate of #471 then.
I think this is, instead, a duplicate of #234. It's been a while since I've looked at #234. @zry98, what are you thoughts on that issue, especially my last comment?

That sounds great.

Closing as a duplicate of #234.


Standardized blockies

fixed size and setting of blocks into ethereum standard, also added on history view

There's one issue I was not able to fix on this branch: on the history view, the blockies are not consistent with the main one. This is because in that prop, event.address doesn't return the actual address but the name, so the blockie ends up using the ens name as a seed, which is wrong. The prop should have both event.address and event.name as separate items


[REMOVAL] EnergizedProtection

Title
EnergizedProtection
Removal Reason
https://github.com/EnergizedProtection/block
This list is no longer maintained
Removal Data
No response
Association Disclosure
No affiliation
Would you like to submit a PR?
Maybe?
Please tick the boxes

[X] You have filled out this form accurately, and to the best of your knowledge
[X] You have indicated whether or not you are associated with this project or a competitor
[X] A similar submission has not already been opened for this software/ service
[X] You have read our Contributing Guide and software requirements
[X] You agree to the Code of Conduct

Done in https://github.com/Lissy93/awesome-privacy/pull/277. Thank you for the issue @KnightmareVIIVIIXC!


Windows terminal tab freezes when ssh is disconnected within WSL

Windows Terminal version (or Windows build number)
10.0.19043.985, 1.7.1033.0
Other Software
Windows 10 21H1 (OS Build 19043.985)
Windows Terminal Version: 1.7.1033.0
Cygwin64
Cygwin mintty 3.4.2 (x86_64-pc-cygwin) [Windows 19043]
OpenSSH_8.4p1, OpenSSL 1.1.1f  31 Mar 2020
WSL
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
Linux -T480 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu Workstation
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
tmux 3.2
Steps to reproduce
1 - VPN is connected to corporate network.
2 - Open Windows Terminal and start Ubuntu 18.04 WSL2
3 - SSH to remote machine within WSL2. I ssh to my Ubuntu 18.04 workstation in corporate network.
4 - Create a new tmux session session.  tmux new -s test
5 - Disconnect VPN (Uncheck connect automatically)
At this step, terminal freeze should be reproduced, and it should not be responding to any keys, which is a bug 1. I have to close the terminal tab, and open another one to continue.
Expected Behavior
1- When VPN is disconnected, and ssh should be disconnected within the terminal as Cygwin does. However, Windows terminal gets stuck though.
Actual Behavior
1 - Windows Terminal has a blinking cursor, however; it doesn't response to any key ctrl+c or any other keys.
2 - It doesn't seem to try disconnects after connection timeout. Terminal hangs. The only way is to close the terminal tab.

Thanks for filing this! Terminal doesn't actually control what happens here -- its job is to get characters out of SSH on to the screen, and from your keyboard back into SSH... or whatever application is connected. How a process handles the socket dropping, or SIGINT (from Ctrl+C), or user input is up to that process, at the end of the day.
When you get it into this state, if you press the following:
ENTER ~ .
what happens?

I get the following message.
Connection to <IP> closed.

It looks like Terminal is still passing input to the SSH process, as the SSH "session break" key combo continues to work. :smile:
At the end of the day... if an application inside Terminal isn't responding normally it's much more likely to be the application's fault rather than Terminal's. You'd probably observe the same behavior if you used wsl inside the console host.
There's a chance, of course, that it's a WSL issue. Given though that it's WSL2, that's also unlikely. Sometimes SSH just thinks it's still connected.

I don't get this error when I use Cygwin as a terminal. Please see the openssh and terminal versions in the first message

The Cygwin runtime handles the "link disappeared while we were using it" state better than what you're seeing in WSL. This is probably because the Cygwin runtime is using Windows sockets natively, whereas WSL is running in a hypervisor with some network forwarding and stuff so it's missing the connection drop event.
If you run WSL outside of Windows Terminal, it's going to behave the same way.

So, where should I file this bug to?

I created a networking related issue in WSL, but this looks different that.
https://github.com/microsoft/WSL/issues/7030

I did the following, which worked for me (Windows 10 & WSL2):

sudo nano /etc/ssh/ssh_config
Under section Host* add ServerAliveInterval 5 (I guess any value is okay?)
sudo nano /etc/ssh/sshd_config
Near the end of the file search for: ClientAliveInterval 60; TCPKeepAlive yes; ClientAliveCountMax 10000
service ssh restart
ssh<EMAIL_ADDRESS>

Putting the PC to sleeps breaks SSH connection and i cant get the terminal tab to work again.
Steps to reproduce:

Start SSH connection with terminal
put the pc to sleep
Come back after an hour or two
Login to PC
Unresponsive ssh connection

ENTER ~ . doesnt work.
The connection automatically closes but its taking too long. I think this takes around 15 minutes
Using ctrl D on  responsive connection works but not on an unresponsive connection.
Im not on WSL, just windows preview build on terminal
Any tips to fix? should i create a new issue?
I personally think a way to force restart a tab no matter the circumstances would be good. Right now i can close a tab... but doing so would make me lose any split tabs i have open.


Fix the bug that caused an error when setting the initial configuration.

@steve8708 Sorry, I introduced a bug  when introducing multi-language support. I have fixed it now. please merge as soon as possible, thank you.

ah, great catch, thank you @qihangnet!

Released in v0.1.21!


Media library private mode switching can lead to inaccurate state

Related to #834.
If a user with an asset store integration switches in and out of private mode quickly while asset related requests are pending, the state of the library could become inaccurate. There should be no possibility of destructive consequences, and this is a fairly outside edge case.
We currently just check to see if the request originated from the current mode - instead we need to ensure that no mode changes have occurred since the request was made.

Closing as stale and/or outdated.


dead job cleanup picks up non-dead jobs?

may be related to queue timeout?

patched rabbit wrapper lib.  Leaving the queue running all night to observe.

issue did not repeat after fix to rabbit lib


Dartanalyzer unused-variable hint is incorrect

Here is an example where a variable is used but the analyzer thinks it is not used:
class Foo {
  Foo operator |(Foo _) {
    return this;
  }
}
main() {
  var f = new Foo();
  f |= new Foo();
}

$ dartanalyzer test.dart
Analyzing [test.dart]...
[hint] The value of the local variable 'f' isn't used. (test.dart, line 9, col 7)
1 hint found.
$ dartanalyzer --version
 dartanalyzer version 1.22.1

I think the analyzer is correct. The variable is used, but the value of variable, assigned by |=, is not.
It means that the assignment is superfluous, and you could replace the line with f | new Foo();.

That is an interesting observation, but:
  1 class Foo {
  2   Foo operator |(Foo _) {
  3     return this;
  4   }
  5 }
  6
  7 main() {
  8   var f = new Foo();
  9   f |= new Foo();
 10 }

$ dartanalyzer test.dart
Analyzing [test.dart]...
[hint] The value of the local variable 'f' isn't used. (test.dart, line 8, col 7)
1 hint found.

The location the analyzer is pointing to is the variable itself (line 8) not the location of the |= assignment.
Clearly the variable f, as well as one of it's assignments, is used, namely as the receiver of f.|(new Foo()).
A variable can have several different assignments. If the value after a variable assignment is not used until the next assignment, then that specific assignment should be marked as being unnecessary, but not the variable itself.
@lrhn Would you agree?

Having some analysis to point out when a local variable is not referenced after an assignment (and hence the assignment is not necessary) would be useful. But it is different from what this was attempting to find, which is local variables that are not used at all. The point is not that you can eliminate the assignment, the point is that you can eliminate the variable by replacing both lines with new Foo() | new Foo().

the point is that you can eliminate the variable by replacing both lines with new Foo() | new Foo()

Sure, but that can be said for this code as well:
var x = new Foo();
x.bar()

Here we can just do  new Foo().bar() instead, but shouldn't we let the programmer decide he wants to use a variable or not?

Duplicate of #27705?


Added my portfolio

Added my own portfolio

Sorry but i have done that only my html file botketan.html is in portfolio section whereas the image botketan.jepg is in Image folder


No auto dark theme on some browsers

I using default pico.css.min
On some browsers dark theme is enabled by default (Chrome, Firefox), but in Edge it's still white.
Here is example:
<!DOCTYPE html>

<link rel="stylesheet" href="pico.min.css" />

        <form>

                Test value

        </form>

It seems Edge defaults to using the light mode, you can change it in Edge settings to follow system settings or force dark mode.
Settings - Appearance or open "edge://settings/?search=dark"

Dark Mode cannot work in Chrome(mobile Android)
I use data-theme="dark" in ,  but never work.
I even violently write:
main{
  --background-color: #11191f;
    --color: hsl(205, 16%, 77%);
    --h1-color: hsl(205, 20%, 94%);
    --h2-color: #e1e6eb;
  ......
    color-scheme: dark;
}

in my css, but still fail......


Switched to 2 dirs for single/multi node VMs and updated readme

Issue #4 - Split up single/multi node vagrant dirs.
Issue #2 - Updated documentation and updating cache at start of base.
@miroswan @jordmoz

I'm going to go through the provisioning as a user for both single and multi and see if everything lines up.

Seeing this issue on single node setup:
Demitris-MacBook-Pro-3:single_node demitri$ ./setup-single-node.sh
Kernel reload()...
SSH password:

PLAY [machines] ***************************************************************

GATHERING FACTS ***************************************************************
fatal: [localmesos01] => {'msg': 'FAILED: [Errno 8] nodename nor servname provided, or not known', 'failed': True}

TASK: [base | Update package repo cache] **************************************
FATAL: no hosts matched or all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/Users/demitri/base.retry

localmesos01               : ok=0    changed=0    unreachable=1    failed=0

I passed it the standard vagrant password (vagrant) without much luck. Was there a different password in use?

Noted that the main ReadMe.md should probably be updated to reference the two dirs.

After adding the host to /etc/hosts on my mac (it was in the instructions), the provisioning script started to work, but I think your hostsupdater plugin should be handling this for you.

Single node provisioned correctly.

Didn't have to setup /etc/hosts in mutli mode, which is pretty good.

Multi-node worked as expected. Hit 8080, 5050, and 8000 on the three nodes. Redirection to leader worked when hitting Mesos.

It's odd for that to happen with the single node. I believe it's intermittent. I destroyed then confirmed that /etc/hosts doesn't have an entry (so as to start from scratch) and it worked.
I'm going to merge this given that @miroswan has reviewed and tested it @vmahedia.


v6.1.7

[x] I have followed (at least) the PR section of the contributing guide.

@mj12albert let's skip this release this week and let's publish only the docs this week (see https://github.com/mui/material-ui/blob/master/scripts/README.md#deploy-documentation-without-a-release)


Discord

I was trying to find a way for the AI to use discord, I thought about changing the inputs and outputs around but unfortunately only outputs are allowed, you're probably busy but do you have something in mind for what I want?

To use Waifu in Discord, it isn't necessary to change input/output devices. In Discord, just choose CABLE Output as the Input Device (as microphone). You can find this option in Discord settings under Voice & Video. Once selected, you should be able to hear Waifu in Discord calls!

Ye I was stuck with that too

Have you figured out anything? I tried looking stuff up but no results


Fixing time.Duration casts

Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

@jiria - This is what I was asking for. I think we can remove #250 and take this instead. Do you see an issue with that?

Oh I see the issue. This client code is not actually built in this repo. Hang on will fix this.


drac-kvm refactoring

This PR will add following
Add multi-vendor(hp, dell, supermicro) support
Add travis-ci tests

That's a great work ! Thanks a lot.


[7.1.4/7.1.6] Fatal: PluginVC.cc:126: failed assertion magic == PLUGIN_VC_MAGIC_ALIVE

Possibly duplicate of issue #4246.
When configured over 900 remap authproxy configurations, trafficserver fails with an assertion:

Fatal: PluginVC.cc:126: failed assertion magic == PLUGIN_VC_MAGIC_ALIVE

It's perfectly easy to reproduce when proxy.config.task_threads is set to 1, while I can experience this issue in several minutes when set to 12. Tested failing with 7.1.6 as well.
Configuration looks like this, but with >900 parallel blocks:
map http://337.auth.my.org http://<IP_ADDRESS>
redirect http://site1.my.org https://site1.my.org
map https://site1.my.org http://<IP_ADDRESS>  @plugin=authproxy.so @pparam=--auth-transform=redirect @pparam=--auth-host=337.auth.my.org @pparam=--auth-port=80

map http://338.auth.my.org http://<IP_ADDRESS>
redirect http://site2.my.org https://site2.my.org
map https://site2.my.org http://<IP_ADDRESS>  @plugin=authproxy.so @pparam=--auth-transform=redirect @pparam=--auth-host=338.auth.my.org @pparam=--auth-port=80

systemd service output:

Mar  4 00:20:03 proxy-public traffic_cop[119899]: --- Cop Starting [Version: Apache Traffic Server - traffic_cop - 7.1.4 - (build # 080611 on Aug  6 2018 at 11:06:56)] ---
Mar  4 00:20:03 proxy-public traffic_cop[119899]: traffic_manager not running, making sure traffic_server is dead
Mar  4 00:20:03 proxy-public traffic_cop[119899]: spawning traffic_manager
Mar  4 00:20:03 proxy-public traffic_cop[119899]: binpath is bin
Mar  4 00:20:03 proxy-public traffic_manager[119902]: NOTE: --- Manager Starting ---
Mar  4 00:20:03 proxy-public traffic_manager[119902]: NOTE: Manager Version: Apache Traffic Server - traffic_manager - 7.1.4 - (build # 080611 on Aug  6 2018 at 11:06:56)
Mar  4 00:20:03 proxy-public traffic_manager[119902]: NOTE: RLIMIT_NOFILE(7):cur(300000),max(300000)
Mar  4 00:20:06 proxy-public traffic_server[119909]: NOTE: --- traffic_server Starting ---
Mar  4 00:20:06 proxy-public traffic_server[119909]: NOTE: traffic_server Version: Apache Traffic Server - traffic_server - 7.1.4 - (build # 080611 on Aug  6 2018 at 11:06:56)
Mar  4 00:20:06 proxy-public traffic_server[119909]: NOTE: RLIMIT_NOFILE(7):cur(300000),max(300000)
Mar  4 00:20:38 proxy-public traffic_server[119909]: Fatal: PluginVC.cc:126: failed assertion magic == PLUGIN_VC_MAGIC_ALIVE
Mar  4 00:20:38 proxy-public traffic_crashlog[119911]: {0x2af0ed014680} NOTE: crashlog started, target=119909, debug=false syslog=true, uid=0 euid=0
Mar  4 00:20:38 proxy-public traffic_crashlog[119911]: {0x2af0ed014680} NOTE: logging to 0x556a669904f0
Mar  4 00:20:38 proxy-public traffic_crashlog[119911]: {0x2af0ed014680} ERROR: wrote crash log to /var/log/trafficserver/crash-2019-03-04-002038.log

In traffic.out:

traffic_server: received signal 6 (Aborted)
traffic_server - STACK TRACE:
/usr/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0xa0)[0x55d1ed17d650]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0)[0x2ac831af90e0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf)[0x2ac8327d8fff]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x2ac8327da42a]
/usr/lib/trafficserver/libtsutil.so.7(+0x2e9d8)[0x2ac82fc0d9d8]
/usr/lib/trafficserver/libtsutil.so.7(+0x2c715)[0x2ac82fc0b715]
/usr/bin/traffic_server(_ZN8PluginVC12main_handlerEiPv+0x4e8)[0x55d1ed1d4f68]
/usr/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0x92)[0x55d1ed474ea2]
/usr/bin/traffic_server(_ZN7EThread15execute_regularEv+0x52c)[0x55d1ed475fdc]
/usr/bin/traffic_server(+0x3cd8b9)[0x55d1ed4748b9]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x74a4)[0x2ac831aef4a4]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x2ac83288ed0f]

Relevant thread info in crash log:

Thread 120830, [ET_NET 23]:
0    0x000055d1ed17d632 crash_logger_invoke(int, siginfo_t*, void*) + 0x82
1    0x00002ac831af90e0 __restore_rt + (nil)
2    0x00002ac8327d8fff gsignal + 0xcf
3    0x00002ac8327da42a abort + 0x16a
4    0x00002ac82fc0d9d8 ink_abort(char const*, ...) + 0xa8
5    0x00002ac82fc0b715 _ink_assert + 0x15
6    0x000055d1ed1d4f68 PluginVC::main_handler(int, void*) + 0x4e8
7    0x000055d1ed474ea2 EThread::process_event(Event*, int) + 0x92
8    0x000055d1ed475fdc EThread::execute_regular() + 0x52c
9    0x000055d1ed4748b9 TasksProcessor::~TasksProcessor() + 0x89
10   0x00002ac831aef4a4 start_thread + 0xc4
11   0x00002ac83288ed0f clone + 0x3f
12   0x0000000000000000 0x0 + 0x3f

When enabling diag with filters "pvc*|authproxy*", it's able to observe that the crash may happens on either Active or Passive side (info from pvc_event DEBUG message), and printing the magic value (and recompile) shows that the magic is set to equal to PLUGIN_VC_MAGIC_DEAD, not an arbitrary value. Didn't find clue in authproxy DIAG outputs on whether a specific request would trigger it. Guess it is likely to be a race condition.

Core was generated by /usr/bin/traffic_server --bind_stdout /var/log/trafficserver/traffic.out --bind'. Program terminated with signal SIGABRT, Aborted. #0  0x00002b2985799fff in raise () from /lib/x86_64-linux-gnu/libc.so.6 [Current thread is 1 (Thread 0x2b2999b27700 (LWP 97366))] (gdb) bt full #0  0x00002b2985799fff in raise () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1  0x00002b298579b51a in abort () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2  0x00002b2982bce9d8 in ink_abort (message_format=message_format@entry=0x2b2982bdbca7 "%s:%d: failed assertion %s`") at ink_error.cc:99
ap = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x2b2999b26da0, reg_save_area = 0x2b2999b26ce0}}
#3  0x00002b2982bcc715 in _ink_assert (expression=expression@entry=0x560dd4184d98 "magic == PLUGIN_VC_MAGIC_ALIVE", file=file@entry=0x560dd4184ddc "PluginVC.cc",
line=line@entry=126) at ink_assert.cc:37
No locals.
#4  0x0000560dd3ed4f08 in PluginVC::main_handler (this=0x2b29e80cd580, event=2, data=0x2b29b412e900) at PluginVC.cc:126
FUNCTION = "main_handler"
call_event =
read_mutex_held =
write_mutex_held =
read_side_mutex = {m_ptr = 0xa000000000000000}
write_side_mutex = {m_ptr = 0x560dd4184ddc}
#5  0x0000560dd41749a2 in Continuation::handleEvent (data=0x2b29b412e900, event=2, this=) at I_Continuation.h:152
No locals.
#6  EThread::process_event (this=0x2b298b007010, e=0x2b29b412e900, calling_code=2) at UnixEThread.cc:140
c_temp =
lock = {m = {m_ptr = 0x2b2a98023950}, lock_acquired = true}
#7  0x0000560dd4175adc in EThread::execute_regular (this=0x2b298b007010) at UnixEThread.cc:221
done_one = true
sleep_time =
e = 0x2b29b412e900
NegativeQueue = {<DLL<Event, Event::Link_link>> = {head = 0x0}, tail = 0x0}
next_time =
#8  0x0000560dd41743b9 in spawn_thread_internal (a=0x560dd4d5c7f0) at Thread.cc:84
p = 0x560dd4d5c7f0
#9  0x00002b2984ab04a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#10 0x00002b298584fd0f in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Apparently this is affected by the Hostdb problem already fixed in 7.1.6. The crash experienced in 7.1.6 is another one. Closing this issue.


AttributeError: 'FetchNode' object has no attribute 'update_state'

Describe the bug
in File "scrapegraphai\nodes\fetch_node.py" , clas FetchNode nor in BaseNode which is the parent of the class FerchNode there is no method defined as update_state(), although it has been used in both FetchNode.handle_local_source() and FetchNode.handle_web_source()
full error:   File "scrapegraphai\nodes\fetch_node.py", line 233, in handle_local_source
return self.update_state(state, compressed_document)
^^^^^^^^^^^^^^^^^
AttributeError: 'FetchNode' object has no attribute 'update_state'
Desktop (please complete the following information):

OS: Windows server 2022
python library scrapegraphai
Version 1.26.7

Please share me the code

Please share me the code

from scrapegraphai.graphs import SmartScraperGraph
graph_config = {
"llm": {
"model": "ollama/llama3.1",
"temperature": 0,
"format": "json",  # Ollama needs the format to be specified explicitly
"base_url": "http://localhost:11434",  # set Ollama URL
},
"embeddings": {
"model": "ollama/nomic-embed-text",
"base_url": "http://localhost:11434",  # set Ollama URL
},
"verbose": True,
}
string = "any str"
user_prompt ="get all products in this"
Create a SmartScraperGraph object
smart_scraper_graph = SmartScraperGraph(
prompt=user_prompt,
source=string,
config=graph_config
)
result = smart_scraper_graph.run()
print(result)

ok you should try with the new scripts.
It is outdated

ok you should try with the new scripts. It is outdated

Thanks for the answer.
But I am not getting what you mean by "new scripts", since the last git version also seems not having any method as FetchNode.update_state().
I managed to fix the error by changing the method FetchNode.handle_local_source() in https://github.com/ScrapeGraphAI/Scrapegraph-ai/blob/main/scrapegraphai/nodes/fetch_node.py a bit.
I assumed the handle_web_source is working properly and mimicked its way of updating the "state".
So instead of
return self.update_state(state, compressed_document)
I used
state.update({self.output[0]: compressed_document,})
and the problem fixed.

Ok please cann you make the pr?

Ok please cann you make the pr?

My pleasure.
I made the pr ready and I only need the permission to publish on the repository.

Hi,
Has any solution been found for this issue ? I am having the same problem when trying to scrape certain website.

@MahdiSepiRashidi you have to do the pull request on the ScrapegraphAI org, I have not seen it

scrapegraphai = "v1.30.0-beta.4"
config = {
        "llm": {
            "api_key": settings.ANTHROPIC_API_KEY,
            "model": "anthropic/claude-3-5-haiku-20241022",
            "timeout": 60,
            "temperature": 0,
            "max_tokens": 8192
        },
        "verbose": verbose
    }

  response = SmartScraperGraph(
      prompt="MY_PROMPT",
      source=cleaned_html, -- MY HTML GOES HERE
      config=config,
  ).run()

gives me the following error
ERROR    | src.utils.aiutils:_scrape_content:284 - 'FetchNode' object has no attribute 'update_state'


GT guidelines: fix formatting

I feel like I have reported this issue already, but cannot find it anywhere (here, in assets or in archived docs):
The GT transcription guidelines often contain tables of characters, with an image and a text transcription. The latter then often contains HTML escape codes which render verbatim instead of being displayed as special symbols.
AFAICS this is because the pages (whereever their original format may be) use code class="ph codeph" elements for them. These should all be replaced with simple paragraphs (perhaps using monospace fonts).
Example: https://ocr-d.de/en/gt-guidelines/trans/tr_nasal_level_2.html

At first:

the documentation has a main convention:
see: https://ocr-d.de/en/gt-guidelines/trans/trDokuKonventionen.html or in German https://ocr-d.de/de/gt-guidelines/trans/trDokuKonventionen.html

I cite the DITA documentation from https://www.oxygenxml.com/dita/1.3/specs/, I would also have DITA documentation from http://docs.oasis-open.org/dita/dita/v1.3/.
First:
the text, that you transcribe for ground truth, represent the example. In DITA-language have you at least two options.

a formal (example: [https://www.oxygenxml.com/dita/1.3/specs/langRef/base/tt.html]) or
a semantically (example:  [https://www.oxygenxml.com/dita/1.3/specs/langRef/technicalContent/codeph.html#codeph__example])

We decided in the documentation for the semantically option.
We know, that  an element the programming element group is. Ground Truth are not a programming language but in a kind of figurative sense.
Second:
HTML has limited possibilities for representation of semantics. The HTML is a result of automatic transformation. If you found a error, the error will be corrected in the DITA source, not in HTML.

(Edited your comment for correct hyperlinks of tt and codeph. The syntax is [link text](link URL) BTW.)

At first:

the documentation has a main convention:
see: https://ocr-d.de/en/gt-guidelines/trans/trDokuKonventionen.html or in German https://ocr-d.de/de/gt-guidelines/trans/trDokuKonventionen.html

I did see this exception and in my pull request took extra care not to replace such usage.

First, the text, that you transcribe for ground truth, represent the example. In DITA-language have you at least two options.

a formal (example: tt) or
a semantically (example: codeph)

We decided in the documentation for the semantically option.
We know, that an element the programming element group is. Ground Truth are not a programming language but in a kind of figurative sense.

I see. I understand your reasoning, but in this case, what's of most practical importance is how these markup decisions look like (get rendered). And there simply nothing worse than making your examples unintelligable because no-one can actually see the glyphs (or copy them to clipboard) you want the images represented with.
So I would recommend either:

revising that decision (could be replaced automatically, one) – or
sticking to it, but doing some postprocessing each time (like the commands documented in my PR)

Second:
HTML has limited possibilities for representation of semantics. The HTML is a result of automatic transformation. If you found a error, the error will be corrected in the DITA source, not in HTML.

Exactly. That's why I was asking for a fix in the sources, not the output.

Thanks @tboenig!


Nothing happens when I hit enter key

Frequently Asked Questions

[X] I have read the FAQ before opening the issue.

Workflow version
2024.13
Alfred version
5.5
macOS version
sonoma 14.6
Debugger output
[00:32:23.809] Logging Started...
[00:32:28.476] ChatGPT / DALL-E[Keyword] Processing complete
[00:32:28.485] ChatGPT / DALL-E[Keyword] Passing output '' to Arg and Vars
[00:32:28.486] ChatGPT / DALL-E[Arg and Vars] Processing complete
[00:32:28.487] ChatGPT / DALL-E[Arg and Vars] Passing output '' to Automation Task
[00:32:28.488] ERROR: ChatGPT / DALL-E[Automation Task] Task not found 'com.alfredapp.automation.core/files-and-folders/path.exists'

More details
No response

Install the Automation Tasks.


Bug Report: Whenever i load a song it crashes

Whenever I want to do a week my game crashes. How do I fix this?

What OS are you on?
Is the game from the releases page  or did you compile it yourself?
2b. If you compiled it yourself, what shows on the command line when the game crashes?

windows 10 32bit pro
the game is from releases oage