Add humanize helper, updated DescriptionList to use it

Borrowed the humanize function from Phoenix.Naming module. It's
one of those situations where once you've seen the solution it's
pretty difficult to build anything else.

@401matthall, I know you talked in slack about handling humanize. What if we made it configurable and you could pick the lilly humanizer?

I guess it depends on how complex you can envision a humanize function. I can see where we could make the humanize function a prop of the component and have it use the one set in config by default but that feels like an awful lot without my having a better understanding of what you might be envisioning.
Share with me your vision, @adkron!

People often want to have different rules for how to humanize things. Some want multiple words to have up-cased. Some people want only the first word upper. There are a lot of different ways. If you could pass that function in an application config it might be better. Also, this code assumes Ecto with the id part but what if I have id as part of my actually thing. government_id.

M'kay, I'ma push a button here. Let me say, I am not opposed to being told to add the ability to do this but if we're having a buy-in conversation I'm not quite convinced yet. Let me ask the question directly for clarity: Are you telling me to add this functionality? Are you voting for this functionality? What conversation are we having? :sweat_smile:

Since we have the label I don’t care at the moment. If im ever telling you something is a must do I will try to be very clear about that.
Amos King
CEO
Binary Noggin

On Aug 29, 2022, at 16:16, Matt Hall @.***> wrote:

M'kay, I'ma push a button here. Let me say, I am not opposed to being told to add the ability to do this but if we're having a buy-in conversation I'm not quite convinced yet. Let me ask the question directly for clarity: Are you telling me to add this functionality? Are you voting for this functionality? What conversation are we having? 😅
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


Add a section on Image Generative API's and their links

contribute to Read.md file by adding image generative API's and their useful documentation.

@ashitaprasad can you please assign this issue to me.

@ashitaprasad I did a PR on the above issue,if it's ok I will also add audio generative API'S and Video generative API'S to the list just please let me know.


ERROR: Nan values for LF/LH ratio

Hi,
I am using your toolbox for ECG analysis; however this error is happening, Nan values for LF/LH ratio in some intervals of data. Moreover, the imported data for the HRVtool app appear to be cut in these segments where this error occurs (In the original file, this piece of data doesn´t have Nan values and is not zero).

In the example, as you can see the ratio is equal to Nan, and in the RR Tachogram, this segment of data appear to be cut. Also, in the Spectugram of RR Tachogram, the ratio is not Nan, why?
Can you help me understand what is happening here?

Hi,
the filter sets an RR interval to NaN which looks suspicious, see some details here (Issues 2). To figure out, which intervals are affected, please set the view to 25:35 seconds and show the absolute and relative intervals by pressing the top two buttons on the upper right. As there is no underlying ECG loaded, it hard to verify whether the intervals are correct. But I assume that the respiratory modulation is the reason for a long interval after a short one. You might disable the filter by setting the filter value to NaN (just type it in the edit field which currently have the value '20').
If you keep the NaN value - it will break the RR tachogram leaving the interval time series incomplete. The frequency composition (low and high frequencies in the RR tachogram) cannot be computed from a time series with missing information. LF/HF values also needs a sufficient number of intervals for reliable measures. I would recommend to use other parameters for short /ultra-short HRV.
Best,
Marcus
Best


Suggestion/Request: Item Deduplication Script

I apologize for hopping right in and quite informally, but I'm actually very confident many 1Password users other than myself have been seeking a method of deduplicating (imported, mostly) items in their vaults because I have spent significant amount of time searching the web - including 1Password's own official community platforms - for a way to reliably achieve this post-the tools deprecation/removal(?) of the native deduplication tool from the macOS client in recent versions.
If it'd be helpful, I can go back through that browsing history and actually cite some Stack Overflow/forum links.
I know that I, personally, am seeking the most discriminating sort of deduplication - as in, it'd still be very helpful if provided methods only worked with precisely identical matches.
Thank you! If there's a more appropriate place for me to share this request, please do let me know.

@extratone thank you so much for your early enthusiasm for this very much in-progress repo of examples!
1Password has definitely heard the requests for deduplication support, so I assure you those requests are on the respective teams' radars, though I don't have anything to share on that front.
A big challenge with de-duplication is assessing what is a duplicate. Even if you identify identical attributes, there's the matter of determining whether it is an accidental duplicate to be deleted, what is a deliberate duplicate to be preserved, and what might be a false positive caused by unique items with similar or identical attributes to each other (e.g., domain, username, item name). Even "exact duplicate" is difficult to actually pin down. Once duplicates are identified, there's then the matter of choosing which duplicate is the canonical item.
Personally I think this is something better handled by the client applications than a CLI script. The client applications have considerable advantages in terms of performance and UX that the CLI could never match, particularly since evaluating duplicates is subjective and usually involves input from the user on a per-item basis.
For many of the reasons above, a general-purpose or broadly-applicable de-duplication script is going to be practically impossible to put together, even for exact matches. At best, it may be possible to use the CLI to address a specific incident that resulted in duplicates with very predictable attributes.
I do not want to dismiss the possibility we may explore an example script at some point, but at this time there are other use-cases that the CLI is more well-suited to address that we will be prioritizing for future examples. But please don't let that stop you from experimenting with approaches, involving the CLI or otherwise, for de-duping.
This is kind of a non-answer, but I want to leave you with something to go on at least. I'm sure you've encountered these before, but some suggestions:

Use watchtower to find instances of reused passwords. In theory items with identical passwords are highly likely to be duplicates.
Use a 1Password desktop application to sort items by title. There's a high likelihood duplicates will have the same or similar titles. You can quickly compare the contents to two seemingly identical items.
Deal with duplicates as they present themselves. In theory, duplicates will have the same domain, so they'll all show up when you go to log into that website. If you notice this, you can deal with those duplicates in that moment, and over time, deal with duplicates for your most commonly-used items.

Thanks for your interest in our new examples repo, and although I can't make any promises about a de-duplication script any time soon, I hope you'll continue to experiment with the 1Password CLI!

👋  hey there @extratone! I'm hoping to grab a small bit of clarification 👀
Let me introduce myself first! My name is Tanner, I'm the engineer behind many of our importers. Your mention of the importer caught my eye 👀
Would you be able to elaborate more on how the imported items are a frequent pain point here? Is this the result of importing an export from another password manager more than once? Or perhaps the export itself had duplicates within it?
I'd be interested in giving our importers a closer look to see if there's something we could do here. Can't make any promises, though. I do love me them importers

I'm going to close this issue for now, since it seems there is nothing immediately actionable but please always feel free to open new issues any time.


Not Working: Login Authentication Failed

This is not working with the current version of vTiger, 6.1. When we compile we get an error, its not working at all. Are you planning on making an update to the source?
Copy of codeplex discussion issue already posted at https://vtigernetapi.codeplex.com/discussions/573016

Binding to vtiger 6 is on runtime, you do report an error on compile time.
The latest status is: loggin in to vtiger v5.1, 6.5 and 7.0 does work successfully.


Not working with Tags that have . in the middle

I'm using styled-components and it's not working with those tags, as in the video below
https://github.com/windwp/nvim-ts-autotag/assets/62332195/e162a4e9-33be-4e65-a23c-3586e0cfe7d6

I have the same problem with framer-motion and it's really annoying:
import { motion } from "framer-motion"

const Component = () => {
  return <motion.div></motion.div> // not working here
}

You can use 'surround' way.

Yeah, it's a workaround for that. But I think there should be an update for this use case.

Looks like it's been fixed in the latest version.

Looks like it's been fixed in the latest version.

yeah, I will close the issue for now.


  Reformat
all code with black and check flake8 conformance.
Signed-off-by: Jeremy A Gray<EMAIL_ADDRESS>

Thanks. This actually looks quite nice. I tried to add the config changes in a first separate commit, and then the actual format changes in a second commit over at gh-193.
Then a third commit adding a file referencing the second commit for use as an ignore list in git-blame as per black's README. Would you mind taking a quick look at https://github.com/bjodah/chempy/pull/193/commits/4e1226fe7ec8f8765248dcf3bfa2b864e6a73c6c (the first commit) to see if anything's missing from your point of view?

Looks good.  The only thing I added differently is the option in
conftest.py to run black with the --lint-only option like with flake8
changing
        for linter in ["flake8"]:

to
        for linter in ["black", "flake8"]:

The only other configuration you might be interested in is ignoring some
directories for black like in their documentation.  I usually have some
excludes in a [tool:black] section in pyproject.toml, but they may not
be necessary.
I missed all the stuff in .drone.yml and CONTRIBUTING.rst in mine.  I also
recommend following black's README guidelines.  I would have had this not
really been an experiment.  I was surprised that some of the long
calculations formatted as well as they did.
On Wed, Dec 30, 2020 at 10:27 AM Bjorn<EMAIL_ADDRESS>wrote:

Thanks. This actually looks quite nice. I tried to add the config changes
in a first separate commit, and then the actual format changes in a second
commit over at gh-193 https://github.com/bjodah/chempy/pull/193.
Then a third commit adding a file referencing the second commit for use as
an ignore list in git-blame as per black's README. Would you mind taking a
quick look at 4e1226f
https://github.com/bjodah/chempy/commit/4e1226fe7ec8f8765248dcf3bfa2b864e6a73c6c
(the first commit) to see if anything's missing from your point of view?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bjodah/chempy/pull/192#issuecomment-752681145, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQCHS4XQ5PSUS7UV32DXADSXNIHRANCNFSM4VMVHUJQ
.

--
Jeremy A. Gray

Thank you for your input! I did add black to the --lint-only list, and have now merged that PR. Hopefully this is will make formatting of code a non-issue for potential contributors.

Thank you for your input! I did add black to the --lint-only list, and have now merged that PR. Hopefully this is will make formatting of code a non-issue for potential contributors.


SpeechRecognizer in Swedish does not send a final Recognized event.

Describe the bug
When using the SpeechRecognizer in English I get several Recognizing events that contain the
text that I am speaking. Then I get a final Recognized event, with the overall text analysis. Using the Detailed outputFormat I also get the confidence and list of nbest alternative results. Then I receive a SpeechEnd event.
When using the SpeechRecognizer in Swedish, I also get several Recognizing events that contain the text that I am speaking. Then  I do not get a Recognized event. Then I get a SpeechEnd event.
To Reproduce
Steps to reproduce the behavior:

Create a SpeechConfig object, with your credentials, profanity set to raw, detailed outputFormat, 5000ms for initialSilence,2000ms for endSilence, and the language code to "en-US"
Create a SpeechRecognizer object from this SpeechConfig, with audio form the default microphone.
Run recognition, say "hello world"
Repeat steps 1-2, but set the language code to "sv-SE"
Run recognition, say "Hej värld"

Expected behavior
That regardless of language, the events are triggered in a similar manner.
And that if a Recognizing event is sent, that there will be a final Recognized event.
SpeechStart
Recognizing...(may be several)
Recognized
SpeechEnd
Version of the Cognitive Services Speech SDK
Java SDK 1.9.0
Platform, Operating System, and Programming Language

Ubuntu 18.04
Programming language: Java

Additional context

I have observed that the events sent back are the same for English and French.
I have observed the error in Dutch as well.
@rhurey Is this a known issue?

We observed a similar issue in our application. Would be great to get a fix!

@LedanDark @SquaredCanine We tested with Swedish and could not reproduce the issue. Are you still seeing the problem ?

Closing the issue as not reproduced, let us know if you see issue.


在使用异步流返回时，并不是实时刷新逐条返回结果，而是一次返回结果

Steps to Reproduce the Problem

当响应体中有text/event-stream时，返回结果为一次性加载返回，而并非实时刷新
即使我加载了自己的Middleware添加到OcelotPipelineExtensions时，也不能实时刷新，以异步流的形式收到结果
自定义拓展代码如下

`
public class CustomResponseMiddleware : OcelotMiddleware
{
    private readonly RequestDelegate _next;
    public CustomResponseMiddleware(RequestDelegate next, IOcelotLoggerFactory loggerFactory)
        : base(loggerFactory.CreateLogger<CustomResponseMiddleware>())
    {
        _next = next;
    }

    public async Task Invoke(HttpContext httpContext)
    {
        var response = httpContext.Items.DownstreamResponse();
        const string streamingContent = "text/event-stream";
        if (httpContext.Response.Headers["Content-Type"] == streamingContent
            || httpContext.Response.ContentType == streamingContent)
        {
            //await ForwardStream(httpContext.Response.Body, response);
            var stream = await response.Content.ReadAsStreamAsync();
            await WriteServerStreamEventsAsync(httpContext, stream);
        }
        await _next.Invoke(httpContext);
    }
    private static async Task WriteServerStreamEventsAsync(HttpContext httpContext, Stream contentStream)
    {
        var responseStream = httpContext.Response.Body;
        await contentStream.CopyToAsync(responseStream, httpContext.RequestAborted);
        await responseStream.FlushAsync(httpContext.RequestAborted);
    }

}
`

Dear @alivy !
Official language of the project is English. Most of our team mates and even contributors don't understand Chinese!

Please update the description using English texts, otherwise the issue will be closed!

When there is text/event-stream in the response body, the returned result is loaded and returned at once, not refreshed in real time.
Even when I load my own Middleware and add it to OcelotPipelineExtensions, it doesn't refresh in real time, and the results are received as an asynchronous stream.
The custom extension code is as follows

@alivy @raman-m  我不懂中文，所以可能无法用中文表达清楚。I would like to learn your language though. I think, you should wait the latest changes that were pushed to the develop branch. We are not copying the request body and response body directly anymore.

@alivy @raman-m 我不懂中文，所以可能无法用中文表达清楚。不过我想学习你们的语言。我认为，您应该等待推送到开发分支的最新更改。我们不再直接复制请求正文和响应正文。

Due to environmental factors, the code cannot be made public, but I can describe the scenario to you ：
When I used Ocelot to handle OpenAI's dialogue interface v1/chat/completion, the direct request was to refresh each field in real-time and return it in asynchronous flow form. However, when I used the Ocelot gateway, the response result was also returned in asynchronous flow form, but all dialogue information was returned at once

请使用英文文本更新描述，否则问题将被关闭！

The scene is as follows:
When I used Ocelot to handle OpenAI's dialogue interface v1/chat/completion, the direct request was to refresh each field in real-time and return it in asynchronous flow form. However, when I used the Ocelot gateway, the response result was also returned in asynchronous flow form, but all dialogue information was returned at once

When I tried to modify the addition of middleware in the pipeline to respond to data asynchronously, an error occurred;
` public class CustomResponseMiddleware : OcelotMiddleware
{
 private readonly RequestDelegate _next;
 public CustomResponseMiddleware(RequestDelegate next, IOcelotLoggerFactory loggerFactory)
     : base(loggerFactory.CreateLogger<CustomResponseMiddleware>())
 {
     _next = next;
 }

 public async Task Invoke(HttpContext httpContext)
 {
     var response = httpContext.Items.DownstreamResponse();
     const string streamingContent = "text/event-stream";
     if (httpContext.Response.Headers["Content-Type"] == streamingContent
         || httpContext.Response.ContentType == streamingContent
         || response.Content.Headers.ContentType?.ToString() == streamingContent)
     {
         //await ForwardStream(httpContext.Response.Body, response);
         var stream = await response.Content.ReadAsStreamAsync();
         await WriteServerStreamEventsAsync(httpContext, stream);
     }
     await _next.Invoke(httpContext);
 }
 private static async Task WriteServerStreamEventsAsync(HttpContext httpContext, Stream contentStream)
 {
     var responseStream = httpContext.Response.Body;
     await contentStream.CopyToAsync(responseStream, httpContext.RequestAborted);
     await responseStream.FlushAsync(httpContext.RequestAborted);
 }

}`
The error message is as follows：
Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HN0RN6PE4IOV", Request id "0HN0RN6PE4IOV:00000002": An unhandled exception was thrown by the application.
System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 71354).

@alivy could you tell us which Ocelot version you are using?

@alivy您能告诉我们您使用的是哪个 Ocelot 版本吗？

Ocelot 22.0.1

@alivy您能告诉我们您使用的是哪个 Ocelot 版本吗？

My project uses .net6


Syntax example is maybe misleading

Issue in help/using/integration/sending-audience-data/batch-data-transfer-explained/id-sync-file-based.md
Hi guys,
In this doc, it has filename syntax that starts with: adobe_id_ [c2c_id_] ...
I guess I thought that when you have something in square brackets, it is optional, which in this case would be wrong, because then you could start a file with: adobe_id_c2c_id...
Instead, it will replace the first part if it is PBD, right? Anyway, just wanted you guys to think about this one more time. It might just be me that would be confused by this, and on the actual PBD doc pages you give great filename examples. It's just on this page that is not specific to PBD where it might be confusing. Let me know if you have any questions.
Thanks,
Doug Moore

Thanks for raising this, Doug. That's correct, in this situation, the prefix is replaced with c2c.
I've updated the docs to reflect that.
Thanks,
Vlad


Using the /search/ API to search by MARC 21 codes

Hi guys,
Is that possible?
Talking about this: https://libraryofcongress.github.io/data-exploration/requests.html#searching
From the GUI, I can generate queries like this: 650A Computer AND 650A networks NOT K650 Neural NOT 650V Congresses
Searching MARC 21 tags directly.

Sorry, this issue was missed. Can you provide a URL with the query you're talking about so I can test? When I try the same query in the search box, I'm not getting any results. I suspect you're querying catalog.loc.gov, which isn't accessible through the loc.gov API, but rather through the Z39.50 SRU interface (https://www.loc.gov/z3950/lcserver.html).

I guess so, but this was so long ago that I don't remember what I was running.
I'll close this, thanks!


File uploads using Spring Boot WebFlux

We are in the process of porting from servlet to WebFlux and there doesn't seem to be a way to handle file uploads in WebFlux.
This probably involves porting GraphQLMultipartInvocationInputParser to WebFlux.
And creating a WebFlux ApolloScalars with org.springframework.http.codec.multipart.Part instead of javax.servlet.http.Part.

Yes. Webflux is a bit behind in functionality compared to the servlet version. We'll have to make an overview of all functionalities missing in webflux and make sure that those get aligned.

Some advance on this topic?


Add zulip link to PR template

Fixes/Closes
Description
Adds link to review channel in zulip, so contributors know that they can message for reviews.

References

Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Maintenance (changes required to run napari, tests, & CI smoothly)
[ ] Enhancement (non-breaking improvements of an existing feature)
[ ] Documentation (update of docstrings and deprecation information)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change
[ ] example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

cc @jni

Not sure how useful this is, since once the PR is open it's not gonna be visible.

@brisvag should it not be a comment then? But at least it's a semi-prominent place for contributors.
But @lucyleeow maybe the right place for this is at the bottom of the contributing guide, immediately after "sharing your changes"? But that is a very long guide... And our template is a long template... 😩

But if it's not a comment it adds even more noise and/or people will remove it anyways... Would be great if there was a space always displayed in the PR pages where we could put this info permanently :/
A bot that answers new prs with some links would work best, but I know people don't like it cause it feels a bit cold.

But @lucyleeow maybe the right place for this is at the bottom of the contributing guide, immediately after "sharing your changes"? But that is a very long guide... And our template is a long template... weary

I can add here too, but agree that it is not that prominent so this info should not just be here.

What about I move it to the top of the template?

That has the potential to increase noise even more... See #6085. But it looks like @Carreau is almost ready with a PR to fix that... 😃
Anyway, given the incoming infra fix in #6086 I think it is low risk to merge this as-is.

That has the potential to increase noise even more

As did not realise you were talking about commit message noise when the comment are not removed? It would be noise as it would be an extra comment to remove?

Yeah I think we're talking about different things... I refer to the noise for contributors/reviewers, not the noise in the commit messages.

I guess that's still valuable, yes... In that case I would suggest to make it more concise and general (again, trying to reduce noise :P):
<!--Feel free to message us in Zulip for any question or remind us to review:
https://napari.zulipchat.com/#narrow/stream/270578-reviews -->

As I understand the core of this problem should be addressed by a community manager, whose responsibility will be not only find such PR but also contact with best core-dev

It appears this should have been an issue. Am happy to close this in favour of a different, better change.

As I understand the core of this problem should be addressed by a community manager, whose responsibility will be not only find such PR but also contact with best core-dev

This is a big job, and if some aspect of it could be automated, it would save community manager time to do more difficult tasks. Unless we prefer to close the '#review' channel and rely solely on community manager to do the above work for all PRs, informing contributors of existence of the review channel is at last somewhat helpful.

I like that a lot @Carreau

Just say the word and I am happy to close this.

What about a bot that post messages to PRs from first time contributors like

Potentially some of the info in the PR template (namely the checklist ?) could be moved to this bot and reduce noise? see: #6092

It appears this should have been an issue.

It's ok, PRs with actuals change are often triggering better discussion than issues anyways :P

Potentially some of the info in the PR template (namely the checklist ?) could be moved to this bot and reduce noise? see: https://github.com/napari/napari/pull/6092

+1 for the bot for me too! However (despite my noise complaints :sweat_smile:) I do think that having a reminder like that checklist in the template is useful to get higher quality PRs from the get-go.

Unless we prefer to close the '#review' channel and rely solely on community manager to do the above work for all PRs, informing contributors of existence of the review channel is at least somewhat helpful.

for me, currently, there is often a lack of proper information in the reviews channel on what is type of PR that makes me hard to determine if I am a proper person.

Fair point and I don't think there is a perfect answer for this. I am not sure solely relying on community manager is the answer?

Re: bot -- I think it's a nice idea, especially with all the extra small things that are "normal" but not well documented like:

editing/updating the first post of the PR and title
the copy-edit group
the overall review process
For what it's worth, this was once suggested by Melissa in the docs workgroup and discussed on core dev zulip. At the time it received a less than enthusiastic response, but now who knows?
At the same time, unfortunately we don't get a lot of new contributors, so...

At the same time, unfortunately we don't get a lot of new contributors, so...

We can change that 😄 Here's some wording that I find very nice - and I personally don't think it's too cold, but of course YMMV.
From the matplotlib repo:
Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below
and that should bring it to our attention. Most of our reviewers are volunteers and
sometimes things fall through the cracks.

You can also join us [on gitter](https://gitter.im/matplotlib/matplotlib) for real-time discussion.

For details on testing, writing docs, and our review process, please see [the developer guide](https://matplotlib.org/devdocs/devel/index.html)

We strive to be a welcoming and open project. Please follow our [Code of Conduct](https://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md?rgh-link-date=2023-07-24T21%3A15%3A18Z).

^ love this


Git bash

I use git bash for a system console, and debug doesn’t work there. set DEBUG=* doesn’t help.
In cmd.exe it works just fine.

and debug doesn’t work there

How exactly are you invoking it?

Git bash is literally bash; you set environment variables with bash syntax instead of Windows cmd.exe syntax. The syntax you are looking for is export DEBUG=*.


Added option to use different target fields based on draft or publish mode

Hello, nice?
Well, i`m working in a project that i have a really specificied necessity: use different target fields for publish and draft content types. I have this necessity because im using this plugin: https://market.strapi.io/plugins/@notum-cz-strapi-plugin-content-versioning that basiclly do what his name propose. For my user get the preview page based on DRAFT the content that he is seeing, I have to use the id property to know what page to show for my user, but if he is seeing the PUBLISHED page, i have to use the slug property because my url seems like this "https://domain/[slug]", not "https://domain/[id]".When a use the preview mode, I can use the id of my data to get the preview and than redirect to the page based on the slug, like this:
import StrapiAPI from "../../services/strapi";

export default async function preview(req, res) {
  if (req.query.secret !== process.env.STRAPI_PREVIEW_SECRET || !req.query.id) {
    return res.status(401).json({ message: "Invalid token" });
  }

  const page = await StrapiAPI.getPreviewProductPage(req.query.id);

  if (!page) {
    return res.status(401).json({ message: "Invalid slug" });
  }

  res.setPreviewData({ id: page.id });

  res.writeHead(307, { Location: `/${page.slug}` });
  res.end();
}

but when I use the live published mode, I am not able to do this.
What do yout think about it? Thanks

I like this addition, however you should probably make sure that if publishedTargetField or draftTargetField is not set it should fall back to targetField.
Please change this and then I am also looking forward for this to be merged.

Hi @CaioGrossi Sorry for the late response! I agree with @Alexnortung you're PR could be an easy win with a minor update and now that I'm making my way back around to this plugin, I'm willing to include your PR into the plugin if we can make some little changes.
1. Use existing draft and published props
First, I'd like to use the draft and published props to assign the different targetField values, which can override. See my example below for a blog Post model using the preview button similar to how you described using id and slug depending on the published state. This helps keep the config more organized and clear.
{
  uid: 'api::post.post',
  draft: {
    query: {
      type: 'post',
    },
    targetField: 'id',
  },
  published: {
    basePath: 'blog',
    targetField: 'slug',
  },
}

2. Use targetField as backup value in get().
Next, let's go with what @Alexnortung suggested which is to use targetField as a fallback in get(). See my example below.
const publishedTargetFieldValue = get( entity, publishedTargetField, targetField );
const draftTargetFieldValue = get( entity, draftTargetField, targetField );

Looking forward to it!

Hi @Alexnortung and @mattmilburn thanks for your time and suggestions. I made the changes and looking forward to being approved!

Looks great! Thank you for this contribution @CaioGrossi 🙂


Remove unused SVG icons

Navigation2D and Navigation3D don't seem to be a thing in Godot 4, and these icons don't appear to be used elsewhere.
KeyTrackXForm doesn't seem to be used anywhere either. It looks identical to KeyTrackPosition, which is is used.

KeyTrackXForm doesn't seem to be used anywhere either. It looks identical to KeyTrackPosition, which is is used.

It was replaced in https://github.com/godotengine/godot/pull/53689, which makes me think that calling the new ones KeyXSomething is a mistake, since X in the old name was for Xform == Transform. But oh well 😄

Thanks!


operator project-quay (3.9.0-nightly.20230610)

Add 3.9.0-nightly.20230610 to community operators

/merge possible

/merge possible


Update assign-per-user-skype-for-business-online-policies-with-micros…

…oft-365-powershell.md
Updated the Code block with the variable $s

@JohanFreelancer9 Please copy review

issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/6089


Clean up the jupyterlab extension package

Makes the webpack libs dependencies since they are needed at run time.
Puts the vendor files into a separate file to make it easier to debug.

👍


proc_macro: reexport most of the proc-macro2 public API.

Test failure is from #88 (it's how I found out, actually).
Lemme try to retry the Travis build.

Nevermind, that doesn't help, and this needs a rebase anyway.


Create Route

Make a create route (post method)
For now just use variable to store the information provided by user
Information should contain 3 parts:- 1. Food item 2. Customer name 3. Food quantity. Additionally add an order id associated with the order which will be displayed on get request and further used to update and delete the order(should be handled by the developer and not the user).
Add documentation(comments) wherever necessary

I would like to work on this


notebooks directory unneeded

Do we need the notebook directory @jsevo ? The one with the R analyses.

No, i don't think so! Thanks for cleaning up.
On Thu, Feb 10, 2022, 11:49 AM Grant Hussey @.***>
wrote:

Do we need the notebook directory @jsevo https://github.com/jsevo ? The
one with the R analyses.
—
Reply to this email directly, view it on GitHub
https://github.com/jsevo/taxumap/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMUEWRF3E32JUII347BFJDU2PUBZANCNFSM5OBKXG6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Removed in 3b34371d569f7f9b14085aeecbb5743a17339f35


Don't silently ignore MI_OVERRIDE

I just noticed that WIN32 builds will ignore MI_OVERRIDE option for static and object builds on windows:
https://github.com/microsoft/mimalloc/blob/0560fc27c08d28d523b7f741a42deb26cd01c0c6/CMakeLists.txt#L403-L411
I propose this be treated as a fatal error, rather than a comment which the user may never see.
So
  if (WIN32 AND (MI_BUILD_STATIC OR MI_BUILD_OBJECT))
    message(FATAL_ERROR "It is only possible to override malloc on Windows when building as a DLL.")
  endif()
  if (MI_BUILD_STATIC)
    target_compile_definitions(mimalloc-static PRIVATE MI_MALLOC_OVERRIDE)
  endif()
  if (MI_BUILD_OBJECT)
    target_compile_definitions(mimalloc-obj PRIVATE MI_MALLOC_OVERRIDE)
  endif()

I need to think a bit more on this; I agree it is better to fail quickly with a clear message. However, the MI_OVERRIDE is ON by default and thus this would lead to errors directly in a Windows compilation. Perhaps we should set MI_OVERRIDE to OFF by default on Windows but that may affect DLL compilation though (which is the standard way to override on Windows). So, it needs a bit more consideration.


Improve output for non-standard folder names

I had a new project that needed coding-rules added. This project did not have the default src/ and test/ folders, but rather ProjectName and ProjectNameTest subfolders, so I started by running atc-coding-rules-updater options-file create . to create a default atc-coding-rules-updater.json file, and then edited the paths in this one.
Afterwards, I ran the run subcommand to add all the coding-rules stuff, and this ran perfectly smooth. However, the actual output says:

Since the paths in the output are formatted to look like actual paths src/.editorconfig then maybe it would be less confusing if they actually printed the correct path to the file that was created e.g. ProjectNameTest/.editorconfig rather than the "conceptual" test/ path?
Maybe there is a good reason why it does what it currently does?

Fix in version 2.0.117


Identify how many supplies are needed (hooks, yarn, etc)

This needs to wait until my workshop is confirmed/declined

Workshop has been accepted, still figuring out the number of attendees as this depends on helpers

Preparing for up to thirty workshop attendees, subject to having sufficient volunteer helpers. There should be surplus yarn from this which can be used by other contributors after the workshop is done. Will also put a call out for anyone who wants to bring DK or chunky yarn from their own stash for others to use


Offline usage?

I can't find a source file for downloadify.swf, is it possible to make one available, or post one compiled for offline use?
I want to compile for offline use, since I'm making a web app that will work online client-side, and also have an identical downloadable version for offline use.

Vote for this


Update changelog.rst

Please review if anything is missing to make a new release

@bmihelac can you review? After adding django 2.0 support and maybe some other PR it would be good to have a new release.

I'll to throught list ASAP

All, I just did an accounting and verified that this PR does include all the PRs merged up through and including #585 on Mar 17, 2017.  Which means all these commits are not yet reflected:
https://github.com/django-import-export/django-import-export/compare/cc61562a54b5e86ea8eface48e8c7c814e616ede...0.5.1
I'm starting on that process now.

OK, I have the rest in #679.


Feature Req: need healthcheck app in Docker Image to check traefik

Using docker-compose.yml and stack deploy, need the ability to perform self health check on the service to make sure it is running. This is standard practice now within our environment to make sure the app is still working. It may be up but it isn't necessarily healthy. In this case the container will restart based on a policy.
example:
healthcheck:
      test: "curl -s -f http://localhost:8080/health || exit 1"
      interval: 20s
      timeout: 20s
      retries: 3

If you won't install curl, how about another app?

I would like to ask collaborators to not close this until healthcheck is available not only on the alpine version (as the referenced PR suggests) but on the official version too.

I'll close the issue due to inactivity but feel free to re-open if needed.

Related to #1982


Social media handles  and Contact form at the footer section

The social media handles and contact from are currently positioned in the middle of the website, which disrupts the flow of content and affects user experience. To improve usability and ensure proper layout structure, these elements should be moved to the footer section of the website.

Desired Fix:
Relocate the social media icons and contact form from the middle of the page to the footer area.
Ensure the footer is designed in a visually appealing and user-friendly way, with the social media links and contact form easily accessible but not intrusive.
Adjust the layout and styling to make sure the footer is responsive and displays correctly across all devices, maintaining a clean and organized appearance.
Please assign me this issue, so i can start working on it.

@07sumit1002 Kindly Look into the issue and assign it to me under gssoc and hacktoberfest label........


[WIP] mssql support

fixes #3.

@f0y the tests are passing on travis but not on appveyor which I believe is because of lack of docker. I tried to install it but it didn't help and it's stuck on "restart required"!
Anyway, please have a look and lemme know if I need to change anything. Here are some stuff that can be improved in my opinion but I leave the judgement to you:

The database initializer class is not in the prettiest state but it works. It definitely needs a refactor if support of a third database is added.
The mssql's tests are a copy of postgres' tests. Maybe they shouldn't be copies?

@everplays thanks a lot for contribution. I'll add Oracle support and refactor test classes soon.

Merged to upstream 81ce35ff5eabb11345771b2d3b3f166c39c1a565


Cubemap - read tile size when levels are specified

Tile size from a level wasn't read if it was specified; it is now the case.
So multi resolution cubemaps are available now.

 All committers have signed the CLA.


Publish slides from CI

This is a modification of #184.

I tried the action a couple of times, but the workflow did not have permissions to push again to the download branch. I might just as well be, that we need to merge this action in, so it originates from the same repository.

Could you update the readme accordingly? Regarding how to get the latest version?

This is #228, waiting to be merged.


Undefine emit macro for Qt compatibility

This library overlaps with Qt framework due to the usage of "emit". I managed to find a simple workaround for this issue, i undefined the emit macro. This way we no longer need CONFIG+=no_keywords in .pro file. I decided to take this approach because other Qt libraries extensively make use of emit and no_keywords causes emit to be undefined project-wide, thus making the whole project unable to compile.
I am not a Qt expert but this undefine solution works, so please check my pull request in your own Qt projects.

Hi @tomruk, thanks for your PR. This issue is caused by Qt macros and undefining it here will cause consequences in applications that use Qt and socket.io as the emit macro of Qt will no longer work. The only proper solution is not to have emit as a macro by passing the CONFIG+=no_keywords or using the -DQT_NO_KEYWORDS definition.


"RuntimeError: This event loop is already running" in Jupyter notebook on Windows

In Jupyter notebook on Windows, the line res = curvesim.autosim('3crv') produces this error RuntimeError: This event loop is already running.
According to discord members, this might be because jupyter runs an event loop already so asyncio handling should account for that.

It's fixed!  We're going to review and test it out a bit more, but it should be merged into main within the next couple days.  Thanks for finding the bug.


Quantity.to_df() / _empty_result(): Fails if stats are applied on empty summaries

Not sure why this never came up before.

this is fixed.


Android 5.0 support

Readme states that minimal version is "Android:version 5.1.1 (only FormsAppcompatActivity) / API22".
I'd love to use this project in my app, but I need Android 5.0 support. Is there reason why it's not supported? Or probably just not all the features are available?

@pfedotovsky
Thank you for considering this library.
The only reason is that the real device that I own is API22.
So this library might work in reality on API21 but it isn't supported.
I'm sorry for not replying your expectation.


Provide more information about log integrations started with the "collect all container logs" option in status command

What does this PR do?
When diagnosing logs agent issues, it would be helpful to know more about the containers that are being tailed.
This PR adds some new context to the status screen.
Here is an example of the new output:
  container_collect_all
  ---------------------
    Type: docker
    Status: OK
    Inputs: d192a180d8b1433eac6c014b01697382b0c40a526f38fc0df63b3d40be9abf60 5d1aaa7326e3e16dae9e63165d70e1658c168dfbc551bea708b822ec0b01ce7c 7be507a2038ac6b93fcc5f46529d244e28c877fe54fd8395af2ce0af13fb4eed 991d4cd95d7ee9e3122aebb2a81d50a2e3a2b2b59594a87193b540fd8b1a791c
    BytesRead: 1546
    Container Info:
      Container ID: 991d4cd95d7e, Image: tomcat, Created: 2020-11-03T18:48:57.2205148Z
      Container ID: d192a180d8b1, Image: tomcat, Created: 2020-11-03T18:44:34.6014542Z
      Container ID: 5d1aaa7326e3, Image: tomcat, Created: 2020-11-03T18:39:56.7007864Z
      Container ID: 7be507a2038a, Image: tomcat, Created: 2020-11-03T18:49:47.8646032Z

If anyone has suggestions for more useful info we could add here, please let me know.
Motivation
AC-186
Describe your test plan
Tested manually

@prognant Good point.
I added a remove function and call it in launcher. RemoveInput is also called in the tailer itself, but that is not applicable to this scenario since that will call into the overridden source rather than the collect all source. This should probably be revisited when we refactor the source to better support the all container logs scenario.


Cannot connect when embedding horizon to existing project.

Hi,
Wanted to try out horizon so I'm trying to embed horizon to an existing react/express-project but can't get the horizon-client to connect to the horizon-server due to a socket-issue..?

server.js
const httpServer = app.listen(port, (err) => {
  if (err) {
    return logger.error(err.message);
  }
});
const options = {
    project_name: 'insight',
    auth: {
      token_secret: 'my_super_secret_secret',
    }
};

const horizonServer = horizon(httpServer, options);

client:
import Horizon from '@horizon/client';
...
componentDidMount() {
    const horizon = Horizon({ authType: 'anonymous' });
    horizon.connect();
}
...

Server version: 1.1.3
Client version: 1.1.3

ping @Tryneus
@alikhani do you have any logs for what the server was seeing to cause the socket error?

I get a similar error when trying to embed horizon in express.

I'm experiencing similar issues.

I'm getting a similar error.
componentDidMount: function () {   horizon('messages')     .order('datetime', 'descending')     .limit(8)     .watch()     .subscribe((messages) => this.setState({ messages: messages })) }

Ah, ok. This is from engine.io. This is fixed on next, see #525 .
We're hoping to release 2.0 soon with this fix, hang in there :)

@alikhani @coltonmorris @angelbeltran hopefully this gets fixed in 2.0, but could you also please try with the following settings and let us know if you still see the error?
const options = {
  permissions: false,
  auth: {
    allow_anonymous: true,
    allow_unauthenticated: true
  }
}

The error persists for me, even with those options.

+1
I was facing this but the following allowed me to get started:
index.html:
const horizon = Horizon({host: 'localhost:3000', authType: 'unauthenticated'});

embedded server:
const horizonServer = horizon(httpServer, {
  project_name: 'example_app',
  permissions:  false,
  auth:         {
    token_secret:          'my_super_secret_secret',
    allow_anonymous:       true,
    allow_unauthenticated: true
  }
})


[HOLD for payment 2023-12-04] [CRITICAL] Migrate the LHNOptionsList to Flashlist

HOLD on https://github.com/Expensify/App/pull/30242
Part of https://github.com/Expensify/App/issues/28902
Let's migrate LHNOptionsList to use Flashlist component instead of FlatList
Callstack is working on the migration right now.
Lets use this issue for daily updates on this migration

Hi, I'm Tomasz from Callstack, I'd like to work on that issue

Waiting for #30242 to be reviewed and merged, once it's done I'll create a proper PR

Ok, then let's put this one HOLD for that

#30242 is merged now, we can remove hold status

Hold status removed.

Looks like @TMisiukiewicz was off for a few days - we'll get back to this on Monday.

Still working on fixing the tests, described details in a comment under a PR

Trying to figure out if the regression #31610 comes from this PR, but I can't reproduce it. The logic for displaying the skeleton remains the same, the only thing that changed were styles. Left the more detailed comment  here

@TMisiukiewicz Good to close?

Not overdue, confirming which issue to pay on.

https://github.com/Expensify/App/issues/31610 is for https://github.com/Expensify/App/pull/31642 (I was PR author)
https://github.com/Expensify/App/issues/30910 is for https://github.com/Expensify/App/pull/31711 (I was PR reviewer)

And paid! Closing


AccountAllowanceDeleteTransaction.deleteAllTokenNftAllowances()

Description
Good morning,
First of all I'd like to report that actually the documentation is wrong. As you can see in the following link: https://docs.hedera.com/hedera/docs/sdks/cryptocurrency/adjust-an-allowance , first of all It sais Method: deleteAllNftAllowances (Which doesn't exist) and then later in the example uses another one different (deleteAllTokenNftAllowances)
After that I've trying many differents things following the example:
const transaction = new AccountAllowanceDeleteTransaction()
    .deleteAllTokenNftAllowances(nftId , ownerAccountId);

So... looking at this example, I'm assuming all what I need to pass in nftId is a TokenId (Since in the SDK It sais nftId: String || NftId) (What would be logical) , but doing that I'm getting this error:
error TypeError: Cannot read properties of undefined (reading 'length')
    at Function.fromString (long.js?1aca:221:1)
    at NftId.fromString (NftId.js?1567:60:24)

So the only way to make it works is using the Class NftId, where you need to pass one SerialNumber and It doesn't make sense. Also I'm removing the Allowance of an specific NFT, but It is letting me send anyways.
I want to revoke all the Allowance permissions from the TokenId and I don't want to be specifying serialNumbers (Limit of 20), revoke that just like I can put all in:
new AccountAllowanceApproveTransaction().approveTokenNftAllowanceAllSerials(
         tokenId,
         client.operatorAccountId,
         spenderAccountId
       )

So... I'd like to be able to remove them all as well. Also... as I can see there isn't any EndPoint in MirrorNode for NFTs Allowance and either I can see by any way which TokenAllowance has been setted , If I approve with all Serial Number (approveTokenNftAllowanceAllSerials) .
The follow code is an example how I got SUCCESS to return the transaction, but even removing access to that Serial 10, from the account that had permissions, I was able to send it.
 const nftId = new NftId(new TokenId(0, 0, 3065157), 10);

Steps to reproduce
const tokenId = '0.0.3065157'
    const accountAllowanceDeleteTx =
      new AccountAllowanceDeleteTransaction().deleteAllTokenNftAllowances(
        tokenId,
        client.operatorAccountId
      );
   const txResponse = await accountAllowanceDeleteTx.execute(client);
   const receipt = await txResponse.getReceipt(client);

### Additional context

_No response_

### Hedera network

testnet

### Version

2.19.1

### Operating system

Windows

Hey @AdriMsM91
I've created a PR in regards to the documentation inconsistency. Now I'm starting to investigate the issue itself

This example calls this function, which successfully deletes NFT allowances using the SDK.
Note that in this example an NftId object is passed to
AccountAllowanceDeleteTransaction()..deleteAllTokenNftAllowances(NftId, owner)
Based on the ERC standard that the SDK follows (according to Michael T.), users can't:

approve allowance for all NFTs, then remove allowance for individual NFTs
approve allowance for individual NFTs, then remove allowance for all NFTs

Hope this helps.

@AdriMsM91
Yes, basically new AccountAllowanceDeleteTransaction().deleteAllTokenNftAllowances(nftId , ownerAccountId) expects the type of nftId parameter to be a NftId object or a string in NftId format not in TokenId format

Ey @petreze good afternoon!
I've talking with @ed-marquez via Discord. So there is a problem, If I allow 10k NFTs with:
 const transaction = new AccountAllowanceApproveTransaction()
      .approveTokenNftAllowanceAllSerials(
        tokenId,
        client.operatorAccountId,
        spenderAccountId
      )
      .setMaxTransactionFee(new Hbar(maxFee));
    const txResponse = await transaction.execute(client);

Basically I'm not gonna be able to delete de Allowance, right now looks like there isn't any way and looks like the problem is coming from the implementation in Hedera Services, that is, the Hedera API which is more base. So @ed-marquez is consulting it with the engineers at Swirlds Labs.
Hopefully @ed-marquez can give us more info soon!

Bottleneck: When using the SDKs, a user can approve allowances for all serials of an NFT collection with a single tx, but can't remove allowances for all serials with a single tx.
So right now, the only workaround I can think of with the SDK is to approve allowances individually for each serial and remove the allowances for each serial for NFT collections. These guys are dealing with ~10,000 serials, for multiple collections, so that's not an ideal solution.
Next Step:
@petreze @AdriMsM91
I was checking the EIP for ERC-721 (https://eips.ethereum.org/EIPS/eip-721#:~:text=function setApprovalForAll(address _operator%2C bool _approved) external%3B) and looks like the variable _approved can be set to false in the setApprovalForAll function to revoke approval for all NFTs.
The services team also confirmed that, in HAPI, when the NftAllowance.approved_for_all = false in CryptoApproveAllowanceTransactionBody, we revoke the token for the spender for which we have previously allocated approve_for_all allowance.
So it looks that the SDK is not matching this HAPI functionality.
Currently, the only way to remove NFT allowances with the SDK is to use AccountAllowanceDeleteTransaction().deleteAllTokenNftAllowances(NftId, owner), which as we mentioned above, only accepts an NftId object.
Given that the ability to revoke an allowance for all NFTs is available in HAPI, the SDK should provide a way to revoke an allowance for all serials in an NFT collection in a single transaction.

@ed-marquez
I see, so this will be the next step to implement the allowance removal of all serials for a single NFT.
Furthermore, I can verify that the points you have mentioned above are correct in regards to the SDK as well:
approve allowance for all NFTs, then remove allowance for individual NFTs
approve allowance for individual NFTs, then remove allowance for all NFTs
I tried approving allowance for all serials (1,2,3) of a NFT with approveTokenNftAllowanceAllSerials and then deleting the allowance for serial 1 did not stop me from sending it successfully.
(which is basically what @AdriMsM91 described with: Also I'm removing the Allowance of an specific NFT, but It is letting me send anyways.)
When approving allowance for serials one by one with approveTokenNftAllowance, then deleting the allowance for serial 1, this prevented the sending of this exact serial with SPENDER_DOES_NOT_HAVE_ALLOWANCE
Therefore, a deleteTokenNftAllowanceAllSerials() method will be implemented according to the plan

Excellent - thank you @petreze !
Ok, so just to summarize:
approve allowance for all serials ==> delete allowance for all serials
[✅works in ERC-721 and HAPI, will be added to SDKs]
approve allowance for all serials ==> delete allowance for individual serials
[❌not supported by ERC-721, HAPI, or SDK]
approve allowance for individual serials ==> delete allowance for the same individual serials (if not transferred)
[✅works in ERC-721, HAPI, and SDKs]
approve allowance for individual serials ==> delete allowance for all serials
[❌not supported by ERC-721, HAPI, or SDK]
Let me know if the above is not correct.
Have a good weekend.

@ed-marquez
Yes, exactly, all correct !
I've also created an issue in services regarding the 2 not supported ❌ scenarios to add some type of indication to the user that this is not allowed behaviour (new response code or using an already existing one)
Because now as @AdriMsM91 pointed out and I've tested it, you can still perform one of those setups and the AccountAllowanceDeleteTransaction will be executed and the receipt's status will be SUCCESS but despite that, nothing will change and this is misleading. And on top of that, the nft can still be transferred from the allowed account. So my suggestion was to somehow handle those 2 potential outcomes as they are not that well documented as concepts

@petreze can we make sure to review the other SDKs and make sure deleteTokenNftAllowanceAllSerials() exists and if not we need to create issues to add that to the other SDKs in a future sprint.

@SimiHunjan
Yup of course, will do that !

Agreed @petreze - services should provide appropriate errors for the 2 cases that are not supported.
I also added a doc issue to document the information above in the relevant pages. Hopefully, that'll cover all our bases.
Thank you again!

@AdriMsM91 mentioned a very important issue related to approving/revoking allowances:

Also... as I can see there isn't any EndPoint in MirrorNode for NFTs Allowance and either I can see by any way which TokenAllowance has been setted , If I approve with all Serial Number (approveTokenNftAllowanceAllSerials) .

We can't find this either. There doesn't seem to be a way to get NFTs that have been approved by the approveTokenNftAllowanceAllSerials transaction for an account.
There are two open tickets below which would be great to address along with these allowance delete transaction fixes as they allow us to check which NFTs are allowed/not allowed to be spent by a Spender.


Add make all to build all images

There is no make all in the system and there are lots of build targets. Fixes #17
This uses a variable to read the Makefile and find all the relevant targers
also makes them all phony and lets you run make build.
It includes the ros-melodic-cpu fix as well so it builds. I have not tried to
build the rest.

fix: ros-melodic-cpu paramiko fix and protobuf
feat: make all

we are moving to v3 which is a new tool


Session watcher not respecting reticulate delayed load, and other issues

There seems to be some weirdness happening with reticulate when working with the VSCode-R extension. It looks like VSCode-R is evaluating the reticulate/Python code in a different way than the standard R GUI console. The obvious example when using the delay_load flag when importing modules:
standard R GUI Console
library(reticulate)
start = Sys.time()
re <- import("re", delay_load = TRUE)
end = Sys.time()
end - start
#> Time difference of 0.01495004 secs
re
#> <pointer: 0x0>  # the module has not been loaded yet because delay_load = TRUE

start = Sys.time()
re$match  # trigger loading of module
#> <function match at 0x000002EA31AE8B80>
end = Sys.time()
end - start
#> Time difference of 12.2005 secs

VSCode-R Console
library(reticulate)
start = Sys.time()
re <- import("re", delay_load = TRUE)
end = Sys.time()
end - start
#> Time difference of 12.08285 secs
re
#> Module(re)  # module has been loaded

start = Sys.time()
re$match  # trigger loading of module
#> <function match at 0x000001C7AD980AF0>
end = Sys.time()
end - start
#> Time difference of 0.03116894 secs  # fast because module was already loaded

I have also been encountering cases where reticulate will throw Python errors in VSCode but not in the R GUI, and will continuously re-throw the error with every new command. However, I do not yet have a reprex for this (it most commonly occurs with the arcpy module, which is not available unless you have an ArcGIS Pro license). I'll post again here if I can reproduce the issue with a publicly-available module.

Perhaps the most straightforward solution is to add a condition in inspect_env()for checking if the object is a python object, and if so to avoid inspecting it.

Thanks for the detailed writeup @mkoohafkan.
Your solution definitely works, and I'm happy to write a PR soon to remedy this. It would be nice to have non-delayed modules still be evaluated, but I haven't found a way of inspecting that from within R.


Add webhook for limit 64 char name+np

The 63 character limit validation for policy name is not working while creating a Policy via CLI.
Policy creation - Policy name + namespace name can’t go longer than 63 From CLI, it possible to create a policy with a name like “policy-check-setupjob-setupjob-operator-installer” with no issue; but, while wanting to edit it, we can’t.
Getting this error: “The combined length of namespace and policy nmabe (namespaceName.policyName) should not exceed 63 characters (see attached screeshot)

Ref: https://issues.redhat.com/browse/ACM-3558
Signed-off-by: Yi Rae Kim<EMAIL_ADDRESS>(cherry picked from commit c93f938892c18f3fe84655246ee1a92a963ad62e)

Could you please change your commit message for the Stolostron specific changes to be descriptive of the changes? Otherwise, you could include them in upstream.

Could you please change your commit message for the Stolostron specific changes to be descriptive of the changes? Otherwise, you could include them in upstream.

I will open upstream pr Thanks!


Typo

Because of changes in Dynamics 365 Sales and the integration since pervious releases,
There a several new and changed application features
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 385aa170-afd7-9628-9a2e-bd17fa74043b
Version Independent ID: efb23a4d-df59-08c8-e96b-94229a0d8b07
Content: Upgrade Considerations - Business Central
Content Source: dev-itpro/upgrade/Upgrade-Considerations.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Thanks for catching this. Will be fixed with the next doc refresh.


add hidden disable stats command

As discussed on Slack, I'm unable to send anonymized usage stats for various reasons. This patch makes disabling the stats much easier, as no prior knowledge of go-cli-analytics is required.

perfect :D thanks man

Thanks!


Release azure-cli-datalake 0.0.1b2

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Started releasing azure-cli-datalake 0.0.1b2...

Release of 'azure-cli-datalake' with version '0.0.1b2' successful. View at https://pypi.python.org/pypi/azure-cli-datalake/0.0.1b2.

GitHub release created. https://github.com/Azure/azure-cli/releases.


Start i18n

Moving https://github.com/drusepth/Indent/pull/446 over here.
Added a couple commits for a small bug, automatic translations on form row generation, and the views for Equipment, but this is still a very WIP PR. :ship:
cc @Cantido :)

Sorry I kinda stopped doing this, it was super tedious lmao
I'll try and get back to this real soon. I've been working on my own rails app and I've learned a lot about how much work Rails does for you with regard to l10n.

Haha, no worries at all. Sorry I disappeared (for work) for a couple months. I did just a few files to try to help out and realized just how tedious this must have been.
As you've no doubt noticed, I restructured a few more projects into this group repo bundle, but I'm planning on jumping back into the fray here and doing much more in the near future, and getting back to hiring some freelancers to help out with the other projects. Should be fun! :)

(And I'll take a look at the repo when I'm not on a phone! :) )

Should we abandon this PR? Since you overhauled the site, I don't think any of this work is still valid. And I'm embarassed by not having finished this yet :sweat:

Closing. Too much has changed, and I learned a lot since I started, I think it would be better to scrap this and start from scratch.


Upgrade to Mutiny 1.3.0

Nice, I missed that :)

It's fresh from 10 minutes ago or so 😃
On Tue, Jan 11, 2022, at 23:27, Gavin King wrote:

Nice, I missed that :)
—
Reply to this email directly, view it on GitHub https://github.com/hibernate/hibernate-reactive/pull/1119#issuecomment-1010414364, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGK2M3IJZ44MXVAHH7QZ3UVSVEBANCNFSM5LXO36FQ.
You are receiving this because you authored the thread.Message ID: @.***>

@jponge is the same upgrade expected to land in Quarkus 2.7 ?
We need to ensure compatibility with Quarkus 2.7, so unless that upgrade is likely we should hold

@Sanne It's got merged 😃
See https://github.com/quarkusio/quarkus/pull/22825


Making this website a single page application.. No Reloading of website on click of links

I hope this message finds you well. I am writing to discuss a specific issue in our React project that I would like to address. Upon careful examination, I have identified a significant problem: When users click on any links in the navbar, the page is reloading, resulting in a suboptimal user experience.
To enhance the functionality and user experience of our website, I propose the following solution specifically tailored for this React project:

Review the current implementation: Begin by thoroughly examining the code responsible for rendering the navbar component and handling the navigation. Understand the existing logic and identify any potential flaws that may be causing the page to reload.
Use React Router: React Router is a widely-used library that enables declarative routing in React applications. Integrate React Router into our project to handle navigation within the application without causing full page reloads.
Define routes and components: Create route definitions for each page or section of the website in the React Router configuration. Map these routes to their corresponding components, ensuring that the proper component is rendered when a specific route is accessed.
Implement Link components: Replace the traditional anchor tags () in the navbar with either the Link components provided by React Router. These components allow for easy navigation between different routes within the application while maintaining the React component rendering paradigm.
Handle route transitions gracefully: Employ CSS transitions or animation libraries like React Transition Group to provide smooth transitions between different routes or components. This will create a seamless user experience while navigating within the application.

By implementing these steps, we can overcome the issue of page reloading when users click on the navbar links, thereby enhancing the overall usability of our React project.
I kindly request that you assign me the task of resolving this issue, as I am eager to contribute to the project's improvement and ensure a more user-friendly experience. If you have any further questions or need additional information, please feel free to reach out to me. Thank you for considering my request.

I hope this message finds you well. I would like to contribute to the project by addressing the issue of making the website a single page application without any reloading on click of links. I believe this can be accomplished effectively by implementing React Router, a popular routing library for React applications.
React Router provides seamless navigation by dynamically rendering components based on the current URL, enabling a smooth user experience without full page reloads. By adopting this approach, we can significantly improve performance and user satisfaction.
I have carefully reviewed the issue and the project's requirements, and I am confident in my ability to implement this feature. With my expertise in React and experience with React Router, I can ensure a successful integration without compromising the existing functionality of the website.
By assigning this task to me, I will:
1.Integrate React Router into the project, following best practices and code conventions.
2.Configure routes and navigation components to enable seamless transitions between different sections of the website.
3.Conduct thorough testing to ensure compatibility and validate the single page application functionality.
4.Provide comprehensive documentation on how to maintain and extend the implemented solution.

I hope this message finds you well. I would like to contribute to the project by addressing the issue of making the website a single page application without any reloading on click of links. I believe this can be accomplished effectively by implementing React Router, a popular routing library for React applications.
React Router provides seamless navigation by dynamically rendering components based on the current URL, enabling a smooth user experience without full page reloads. By adopting this approach, we can significantly improve performance and user satisfaction.
I have carefully reviewed the issue and the project's requirements, and I am confident in my ability to implement this feature. With my expertise in React and experience with React Router, I can ensure a successful integration without compromising the existing functionality of the website.
By assigning this task to me, I will:
1.Integrate React Router into the project, following best practices and code conventions. 2.Configure routes and navigation components to enable seamless transitions between different sections of the website. 3.Conduct thorough testing to ensure compatibility and validate the single page application functionality. 4.Provide comprehensive documentation on how to maintain and extend the implemented solution.

Bro I have already raised a issue.. Kindly raise another issue.

Hey buddy thanks for stepping up yea try to fix it and as this is a Open source project you can pull a request at any time we would be happy to merge it
thank you!! @pjoshi999


Fixed segfault in stats where container had netNS none or from container

Signed-off-by: haircommander<EMAIL_ADDRESS>

LGTM

@rh-atomic-bot r+


Update example script

examples/densemnist.jl still runs! But it shows some deprecation warnings.
Update the dependencies and adapt the code accondingly.

Closed by #9


Codeshare "il2cpphookscripts" Version

Is the current version on codeshare the latest? Containing latest commits?
https://codeshare.frida.re/@axhlzy/il2cpphookscripts/

It's up to date now.


php sdk

check php sdk page

🚀 Deployed on https://66105a7743da5c42c709717f--cozy-fox-0defec.netlify.app


add ML models

This issue is too brought. We're adding support for all open ai models with #211. We have open source model capacities. Of course we want to support more out of the box in the future, but please open an issue with concrete requests if you have them.


feat(runs_on): permit array of tags to select runs-on

Check List

[X ] Read CONTRIBUTING.md

[X ] Read OSS Contribution Guide

[X ] Write a GitHub Issue before creating a Pull Request

Link to the issue: https://github.com/suzuki-shunsuke/tfaction/issues/1738

[X ] All commits are signed

This repository enables Require signed commits, so all commits must be signed

[X ] Avoid force push
[ X] Do only one thing in one Pull Request

Permit using array of string to select GitHub runners on which run jobs.
Necessary to select self hosted runners.

Replaceb by : https://github.com/suzuki-shunsuke/tfaction/pull/1740 to remove bad commits.


namespace validation in service template update requests

As part of the service template update request, the ISV is not allowed to change the namespace value.

[ ] Validate if the namespace in the update request is same as the one in the service template entity already stored.
[ ] Throw ServiceTemplateUpdateNotAllowed when the namespace is not matching.

I will fix it.


can't link to citations

for eg
https://www.pombase.org/gene/SPAC9.10

GO:0015234
thiamine transmembrane transporter activity
IDA

Vogl C et al. (2008)

when I try to access the paper I just get a flickering pop-up?

It's only happening on the MF ones?

this happens quite a lot, is it just me?

this doesn't seem to be related to the term, aspect, gene,  or publication but seems to  affect a small number of annotations.

is it anything to do with when a duplicate annotation exists?

nope....

@kimrutherford I sent you a movie of the bug.... sorry it's very large but drop box isn't working for me...

I’ve seen it to! Thought it was just me!
On Tue, 28 May 2019 at 21:11, Val Wood <notifications<EMAIL_ADDRESS>wrote:
@kimrutherfordhttps://github.com/kimrutherford I sent you a movie of the bug.... sorry it's very large but drop box isn't working for me...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/pombase/website/issues/1313?email_source=notifications&email_token=ADBDJUT2RUPPGW26WVVJCUTPXWGYNA5CNFSM4HQCHNU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWNJQMI#issuecomment-496670769, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADBDJUUPHXIYHJTH4UVMCX3PXWGYNANCNFSM4HQCHNUQ.
--
Antonia Lock, PhD
PomBase Biocurator, http://www.pombase.org
Department of Genetics, Evolution and Environment,
The Darwin Building,
University College London
London WC1E 6BT, UK

occurrence is really random.... I can't see any reason...

That's very annoying.  It happens when the pop-up would overlap the bottom of the section it's in.  So mostly we don't notice.  As a temporary fix I've changed the pop-up to be at the left instead of underneath.  I don't think it looks as good but it doesn't trigger the bug.
I think we can probably fix this by upgrading the library (called "Bootstrap") that does the pop-ups, autocomplete boxes and the most of the look of the buttons and menus.  Upgrading is a big-ish job because there have been a lot of incompatible changes in the library.  It might be a while before I get to it.  I'll close this.  I've opened a new issue about upgrading: #1314

I had trouble reproducing the problem until I made my window too narrow for the pop-up.  I don't know how to fix that.

The changes in #1314 have improved this problem a lot.  The popup is sometimes in slightly the wrong place on small screens, but you can click on the link and there's no flickering now.

great.


New Update, destroyed image

Hello,
Since the new Spotify update, unfortunately, the whole UI is bugged again.

Yes, for example, the cover of playlist seems strange. https://github.com/morpheusthewhite/spicetify-themes/issues/648

This is fixed as of commit https://github.com/williamckha/spicetify-fluent/commit/5d299510c7de2dcc553f79ffbc1730a09f2aadcf


feat: support defining how many releases to be generated from the latest

RT~

Closing due to massive rewrite.


Error when new creating Term on an existing item

I have received an error when trying to create a Term on an existing item.
These are the instructions we had from the first stage of the project:

I have followed this and have received an error stating that the definition cannot be null which is different to how it was previously working:

Is this a fault, or do we now have to add a definition?

This should have been fixed under #472


OpenAPI v3 Spec bug fixes:

Remove conflicting operationId
SystemMetadata aspect is modeled as an object, rather than a single text field
Fix incorrect default values

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Upstream pypi package issue caused tests to fail, bypassing smoke tests do not cover v3 impl yet.


Resharding

Each commit might make more sense individually... Gonna have tons of these clean-up coming up.
Note that with using proto3 for SrvKeyspace in zk and etcd, the proto3 conversion for version 2.0 is complete. Code cleanup will happen later when we retire toporeader.
@enisoc @aaijazi

LGTM


Pod 3 revision E issues

Hi,
Do you know which revision of the Pod 3 you have? I've pulled apart a Pod 3 but the daughterboard does not carry a microSD card. Do you have any pictures?

This is what I see. I'm wondering if they did a revision to remove the SD card.

Damn, looks like they have a revision with a completely different daughterboard and it looks like they made this one themselves. Is there no SD card on it at all? Nothing on the back of the daughterboard for example?
I've added some info on my board to the readme to hopefully avoid anyone else running into the same problem.
Don't suppose you can share a photo of the back of the daughterboard as well? I'm curious what kind of processor they're using but the chip on this side is a Mediatek MT7668 which is just a wifi/bluetooth chip. If there's no processor on the other side, this board might just only act as a network adapter for the STM32 chips on the larger circuit board, so there wouldn't really be a way to hack it because there'd be nothing to hack.
The only workaround I can think of is to buy the module used on my revision, flash it and install it. Since you wouldn't be able to bootstrap it with the existing Eight Sleep hardware, you'd have to get a dev kit though and that's expensive and I can't guarantee that it'd work.
Something I hope to get to eventually is figuring out the interface the daughterboard uses to communicate with the rest of the hardware. If I can do that, it should theoretically be possible to make an open-source version of the daughterboard hardware and software.

Yea, there may be a flash chip on there you can pull the firmware from. Be great to have a picture of the backside of that board..... @craigcabrey ?
Also, a non-blurry photo would be great!

Sorry for the delay, here's the backside (hopefully not too blurry). I didn't see any kind of SPI chip to clip onto. It really seems like it's a fully custom daughterboard.

That said, there are TX/RX pads, though I'm not sure if they are UART or something else. Maybe if somebody is in the ATX area we could collaborate lol

@craigcabrey do you know what pod revision shows up in the app for you? I'd like to know if I have a compatible pod 3 without opening it up, if possible. My hub version is 20500-0003-F08-******** (redacted in case the full ID exposes anything private).

@bobobo1618 is the SD card supposed to be ON the pop-up daughter board? Or under it?
For my board, the SD card is on the main board. In a slot that was hidden under the daughter board (no sd card on the daughter board).

My main control board is the same as same as the original guide "Control Board 230-0030 Rev-10.7-PRD"
@craigcabrey - There is an unpopulated SD card slot on your main board near the same location of the slot on my board. (it isn't exactly the same. Your SD slot is closer to the screw than mine is).
Unlikely, but connecting an SD card might work...
What revision of the main board do you have?

I'm fairly certain this is rev 3 of the control board, same version I have, where yours is version 2.  (white sticker in the upper left)

Turs out there are a bunch of missing components for the SD card, not just the slot. (at least on mine, not sure about his)

What he didn't show clearly on the daughter board is the Kingston 32GB EMMC flash chip.

I'm fairly certain that's where the code will be now.  I don't see any other memory chips on either board.
Unfortunately, I believe it would have to be desoldered in order to read/write it.

Oh, I meant to say.  They've added another set of jumper pads on the main control board in J7.  My guess is that is now the factory programming port.  I might trace that out and see if I can prove that.

Out of curiosity, can we get the manufacturing dates of the different Pod 3s in question? Might help to discern which Pod 3's are usable before tearing them open.

I now have two units.  One dated 20220920 which is the version with the SD Card.  The other dated 20240307 which does not have an SD Card.
My 2022 unit was sold cheap as faulty (I haven't booted it, so I don't know for sure yet).  If it boots far enough to flash the processor card and they are compatible, I'm planning to try to program the 2024 unit processor card with the 2022 unit control board or run the 2022 unit processor on the 2024 unit control board.
Right now I've got other things on my plate that have priority.  I'll update when I get the chance to try that out.

Thanks! I was meaning to report back on my question above. Sorry if this has diverged a bit off topic.
TL;DR: Pod 3's with FCC ID: TFB-1004 on the back seem to be the moddable ones.
After looking through some listings for used pod 3 hubs, I noticed that there are some (like yours, manufactured ~2022) that have an FCC ID on the back sticker of TFB-1004 like this:

This is in contrast to more recently manufactured ones with an FCC ID of 2AYXT61100001, like this:

Looking up FCC ID: TFB-1004 leads to this. Which looks like the regulatory filing for the Variscite MXM board. Going off that, I bought a used one with the corresponding FCC ID and can confirm it does indeed have the SD card slot and such.
Also interesting, looking up FCC ID 2AYXT61100001, leads to this, which has some pictures of the eight sleep board. Not sure if there's anything else useful in that filing though.

I guess another option would be to see if the control board + processor card can be swapped. Maybe the interface for the processor card is proprietary/subtly incompatible, but the lower level connectors (i.e. pump on, fan on, etc.) could be compatible between the older control board and newer pod unit? When I get around to it I can try to take out my control board and compare the connectors with the ones for the newer control board in the FCC filing.
I'd imagine the breakdowns we would expect in the longer term would be the larger mechanical components anyways. Maybe that would prove sufficient.

Also very interested in this. I have a newer 2AYX... model Pod 3 and after cancelling the subscription lost access to basically all of the features. Happy to perform minor surgery on my unit though I'm useless with a soldering iron.

Hi @bobobo1618,
I was wondering if you could share a complete copy of the SD card in your Eight Sleep.
I’m trying to hack into my own Eight Sleep, but I have the revision E board, which does not have an SD card. I’m currently attempting to gain access to the OS via the J7 and J10 interfaces.
Having a complete copy of the SD card might provide documentation or clues on how to connect to and communicate with the device.
I won't share or publish the copy anywhere. I’m just looking for guidance since hardware hacking is new to me.
Thank you!

@davidsilva2841 Check out this blogpost, there's a bit of info on how to get the current swupdate image among other interesting tidbits.

@timwu
The file it links to here, does not exist anymore.
Would you be able to provide a copy of the SD card?

The file still is there just add some numbers to the device's I'd :)
It seems they just blocked "1"

I'm connected to the J7 JTAG using a Tag-Connect TC2070-IDC with my FT2232H-56Q and am trying to determine the pin mapping. I plan to try the J10 JTAG later.
If anyone with access to their SD card could share copies of the /proc/, /sys/, and /dev/ folders, it would be greatly appreciated, as these might contain documentation or hints about the pins.
Working with JTAGs is new to me, so any help or guidance would be greatly appreciated.

I've identified a SWD interface on the J10 interface using an arduino and this script
| CLK PIN | IO PIN | ACK | PART NO | MAN ID |
|    4    |    8   |  1  |   bb11  |   23b  | <- Success

This only shows up when you provide 3.3V power to pad 10. It shows up consistently.
You can easily connect to the J10 interface with this Tag-Connect cable. No soldering required.
Working on trying to communicate on that interface now. Feel free to reach out if you'd like to help

@davidsilva2841 you mean J10 on the mainboard (the one with "CONTROL BOARD" on the silkscreen), not the daughterboard in what looks like a RAM DIMM slot?
I believe that J10 will connect you to one of the STM32s that interfaces directly with the hardware. The daughter board doesn't talk directly to the various hardware components but rather talks to at least one STM32 over UART. IIRC there are two UART interfaces, one with a name indicating that it's mainly for sensors, the other with a name indicating that it's actually driving pumps and heating and whatnot. I'm not sure if those are different MCUs or just two interfaces on one.
Just be aware that I don't think J10 gives you a way to communicate with the board that runs Linux. You'll be able to play around with the STM32s that interface directly with the hardware but I suspect there's a lot of actual work going on in there and it's much harder to work with.  You'll have a debugger and you'll probably be able to dump the firmware but I don't think there's a whole lot you can do with that unless you do some other hardware modifications.
Honestly, it might be quicker to reverse engineer the MCU by observing how it communicates with the rest of the board using an oscilloscope and/or logic analyzer, then reimplementing that with your own code and just overwriting what Eight Sleep put on the MCU.
The most helpful thing to play with is the daughter board though. If you can figure out the model of the specific board they're using, you might be able to source a devkit or something.

J10 on the main board, not the daughterboard.

Are you talking about how you got a terminal session by modifying the OS with the SD card on your model?
Do you think J7 could connect to the daughterboard?

*It also turns on a light on the daughterboard when you power it via pad 10 on J10. Is it still unlikely that there's any sort of interface on the daughterboard?

J10 is present on earlier revisions, is located right next to the STM32 and has no obvious signs of traces heading towards the daughterboard so I feel fairly confident that it's for the STM32 and not the daughterboard.
The light on the daughterboard may just be due to power being supplied?
J7 does seem much more likely a candidate. It's not present on earlier board revisions and I think I do see traces heading towards the daughterboard. No idea what the pinout is though.

If I shared the voltage measurements & resistance measurements for J14, would you be interested in taking a look?

Voltage and resistance wouldn't help me at all I'm afraid.
I think the most helpful starting point would be clear, high-res photos of both sides of the daughterboard. It doesn't need to be perfect but if you can read the part numbers, you can find data sheets for the parts. If you can find the data sheets, you can get the pinouts. Pinouts + a multimeter with a fine probe could help figure out if useful signals make it out to the main board somewhere (e.g. if you get continuity from the pin that the data sheet says is SWD to one of the pads on J7, you know J7 has a connection for a debugger on it).
Those test pads on the daughterboard could also be useful. I think I see a pair for USB and I'd be surprised if UART wasn't there somewhere.
UART could be really useful but I'm guessing we'd need to figure out what the password is. I can probably get the hash easily enough but I don't think I have enough computing power to brute force it.
I actually seem to have lost SSH access to my own pod... I hard-coded a public key to which I no longer have the private key.

https://fccid.io/2AYXT61100001/Internal-Photos/Internal-Photos-6388828
It looks like the board they pictured in their FCC filing has some sort of SD card slot soldered onto the board too. My board has a slot for it but there's nothing there

Continuity results so far (J7 interface). I'll try to figure out how to connect to the JTAG or UART using this
touch_pad , label     , jtag_pad
TP16      , DBGTX     ,        8
TP3       , CBGRX     ,        6
TP39      , USBD+     ,       12
TP40      , USBD-     ,       14
TP34      , RST       ,        2
TP38      , PGM       ,        4

I was able to capture around 2K lines of readable UART output using a baud rate of 115200. After that, the UART output becomes garbled, displaying invalid characters. I also experimented with other standard baud rates (e.g., 9600, 19200), but the issue persists.
While exploring the OS, I discovered a script that seems to disable the UART: /lib/systemd/system/disable-serialgetty.sh. I suspect this might be related to the issue, as it could be stopping or reconfiguring the UART service during boot. I'm also not sure I have a correct version of the OS for this model.
I've tried spamming interrupt keys during the boot process up to the point where the output becomes garbled, but I still haven't been able to access a shell.
I've attached a copy of the readable portion of the UART output for reference. If anyone has any ideas I'm happy to try them.
uart_output.txt

Baud rate was 921600, looks like UART is behind a login... I'm going to see if I can interrupt the boot or something

                           (                          (
                   )     ) )\ )  (                    )\ )       (        )
 (   (   (  (   ( /(  ( /((()/(  )\   (    (         (()/(       )\ )  ( /(
 )\  )\  )\))(  )\()) )\())/(_))((_) ))\  ))\ `  )    /(_)) (   (()/(  )\())
((_)((_)((_))\ ((_)\ (_))/(_))   _  /((_)/((_)/(/(   (_))   )\   ((_))((_)\
| __|(_) (()(_)| |(_)| |_ / __| | |(_)) (_)) ((_)_\  | _ \ ((_)  _| ||__ (_)
| _| | |/ _` | | ' \ |  _|\__ \ | |/ -_)/ -_)| '_ \) |  _// _ \/ _` | |_ \
|___||_|\__, | |_||_| \__||___/ |_|\___|\___|| .__/  |_|  \___/\__,_||___/
        |___/                                |_|
             Version: 6ba61c8e8b3295d6210fead782dd122af55d52a5
eight-pod login:

Hi David and Bobo, thanks for sharing your progress so far.
I just wanted to share that I have torn down a pod 4. it uses the same HW revision for the daughterboard.
"i350 SOM MODULE". (Model 830-00065-00), HW: E02
The SW is updated (Likely for Pod 4 SW/HW). My board had an old sticker with "SW: 6ba61cB" (which matches the Version: shown on your board and in the UART output). There was a new sticker placed over this one. Potentially 8 sleep re-flashed this board to be used in a pod 4 rather than a 3? "SW:
The main board is completely different, but that was expected. I can see J7  appears to be the same between the Pod3 RevE and the Pod4 (14 pin jtag connector)
I'll see if I can get UART on J7. @davidsilva2841 can you share how you "[interrupted the] boot process and get a U-boot shell" ?

INCOMPLETE BRAIN DUMP - (I've done everything up to step 6, will test the rest this weekend)

Connect to J7 header on board with TC2070-IDC

Use pins 1, 6, 8 for UART access (1 => GND, 6 => RX, 8 => TX). Baud rate is 921600. I used this [$13 FTDI FT232RL]
(https://www.amazon.com/gp/product/B07TXVRQ7V/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) for connecting to the UART. (FYI - you need to connect the TX pin from the 8 sleep to the RX pin on the FT232RL, and the RX pin connects to the TX pin)

Interrupt the boot process to get a U-boot shell.  I used minicom on my mac for this.

$ minicom -b 921600 -o -D /dev/tty.usbserial-B0010NHK
...
...
# Hit CTRL+C when you see this:
Hit any key to stop autoboot:  0

Once in the U-boot shell, modify the boot args to open up a root shell. This allows us to bypass the login

=> setenv bootargs "root=PARTLABEL=rootfs_a rootwait init=/bin/bash"
=> run bootcmd

In your shell session, remount the file system as read-write

bash-5.1# mount -o remount,rw /

UNTESTED

I think you could follow the steps from the README here

Set the root password in /etc/shadow
Add a NetworkManager configuration file at /etc/NetworkManager/system-connections/.nmconnection
Add your SSH key to /etc/ssh/authorized_keys (optionally, remove Eight Sleep's key while you're there)

UNTESTED

Commit your changes

bash-5.1# sync
bash-5.1# exec /sbin/init
bash-5.1# reboot

@nota-nota-nota You may want to double check the UART pinout on your board matches mine. You can do that with a multi meter test for continuity between the J7 pin 6 (RX) and TP3 / DBGRX pad on your daughterboard. Same for J7 pin 8 (TX)

@nota-nota-nota You may want to double check the UART pinout on your board matches mine. You can do that with a multi meter test for continuity between the J7 pin 6 (RX) and TP3 / DBGRX pad on your daughterboard. Same for J7 pin 8 (TX)

I just checked. I do have continuity between the test pads. Thank you. I'll connect the pins to a FTDI this weekend and see if I can reproduce your step 1-6.

Looks like you have a different pinout. You’ll need to identify your ground too. IIRC, you can check that by finding a pin that shows 0 when you measure continuity to one of your known ground test points. Looks like there’s a ground point on the main board in the top left and a ground test point on the daughter board near the bottom left (TP30)
You may have a different baud rate too, and you’d need a logic analyzer to identify the baud rate. I used this with PulseView on my mac
https://www.amazon.com/dp/B077LSG5P2?ref=ppx_pop_mob_ap_share

FWIW, here's rewt from /etc/shadow:
rewt:$6$8zHn61PsWU3gtHoY$1zrMb/9vnvx6uR7gFDNtimIOstoqyxCrLgLYuq9mJx2jcqPXkPGlueyVx8V8QcDMfVaD7vPZCHGCl5TtUsrCk/:19747:0:99999:7:::

Not sure if every board will have the same password but if someone has some hefty hardware to brute-force this, we can find out.

My rewt in /etc/shadow is different than that
rewt:$1$XshBnCRI$78uAK/0o.UED0M.fIO7rg1:15069:0:99999:7:::

Updated my photo above. Pod 4 main board does have the same JTAG pinout on J7 (rotated 90 degrees clockwise).

My rewt in /etc/shadow is different than that rewt:$1$XshBnCRI$78uAK/0o.UED0M.fIO7rg1:15069:0:99999:7:::

Hmm, I may have tried to update mine to something else. Yours is the better one to go off.
Plus it looks like yours is just MD5, so much easier to break.

The password might not need to be cracked. I've confirmed that I can modify the file system and connect to the internet from the shell session I accessed by interrupting U-Boot.
The steps for the internet were specific to my device version, I think we have different kernel modules. I'll update the steps from my earlier comment

*Updated my instructions earlier. Added getting root access & connecting to the internet

@bobobo1618 How is the API accessed here?
https://github.com/bobobo1618/ninesleep?tab=readme-ov-file#api
I can ssh into my device. I tried to GET <IP_ADDRESS>/variables and am getting Error: connect ECONNREFUSED 1
Is that how the API is supposed to be used? Or is there something in the configs or firewall I need to change first?


Docker enhancement

Added a Dockerfile and docker-compose.yml.
By running docker-compose up you can launch jupyter lab within the docker container. This allows you to develop your analysis in a containerized environment that you can later share or deploy. Developing inside the container ensures you that your environment will be the same that you can use in production later on.
I had issues where even using a requirments.txt I could not get the exact same build as some other colleges. I have been using this technique a while now and I wanted to share it with you guys ;)
Happy to hear your comments about it

It's not currently on our roadmap to adopt Docker (there is a bunch of discussion in issues on that). It's our current opinion that it is too much overhead to make the default for CCDS since our user base is so broad (students, academics, industry teams, freelancers, data journalists, etc.)
This also doesn't seem like we need to solve it because some downstream projects have done a nice job already of making it work for the DS team use case (for example, https://github.com/manifoldai/orbyter-cookiecutter ).
Thanks for the thoughts, though. We will revisit this as we develop CCDS v2, which may optionally support Docker.


Scrutinizer Auto-Fixes

@ryuzee requested this pull request.
It consists of patches automatically generated for this project on Scrutinizer:
https://scrutinizer-ci.com/g/ryuzee/open-slideshare/

Do not need to merge...


Changes in the Readme.md

Capitalizing the bullet points

@doug-walker Now signing the commit is not possible so I am closing this request and creating another signed request


MAC address is hardcoded

The MAC address (only one NIC is supported at the moment) is hardcoded here: https://github.com/djwillia/solo5/blob/c98550bbf154d23e8e72e332b26ef3bd9db25e80/ukvm/ukvm.c#L784
And the networking setup script is binding this hardcoded MAC with a hardcoded IP <IP_ADDRESS> here:
https://github.com/djwillia/solo5/blob/b2149527f0f31f95bcfc1c18bb306aa054cdddc4/solo5-config-net.bash#L18

As a first step we can just generate a random locally-administered MAC address using /dev/urandom.


Problem in IvMatrix44::Transpose

Hi,
In IvMatrix44::Transpose line 352 should be:
mV[3] = mV[12] instead of mV[2] = mV[12]
(https://github.com/jvanverth/essentialmath/blob/master/src/common/IvMath/IvMatrix44.cpp)
Regards.

Thanks, I'll patch that this weekend.
On Mon, Mar 21, 2016 at 2:24 PM, leonsal<EMAIL_ADDRESS>wrote:

Hi,
In IvMatrix44::Transpose line 352 should be:
mV[3] = mV[12] instead of mV[2] = mV[12]
(
https://github.com/jvanverth/essentialmath/blob/master/src/common/IvMath/IvMatrix44.cpp
)
Regards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/jvanverth/essentialmath/issues/56


SEP (Symantec Endpoint Protection) Thinks EncodeKeePassLib.ps1 is a Trojan

This is safe to ignore, the file is not used by the module and was a build tool, it will be removed in future versions.
Feel free to delete the file or let SEP "clean".
I have not looked into why they detect this however I suspect that the method in the script of generating an encoded and embeddable version of a dll/ Library has been used to do some nasty stuff.
See #132 and #137  for more information and similar issues with Windows Defender.

Encode script will not be included in next poshkeepass gallery release.


CHANGES.md should be part of uploaded release artifacts

A snapshot of the CHANGES.md file should be uploaded to the github.com releases site for user convenience to quickly allow folks to know what's changed.

commit 87a1ae6


Replace the deprecated method fs.existsSync

The deprecated method fs.existsSync is replaced by a custom implementation using the fs.accessSync method.

thanks for your PR.
I will change this on other places also.