Unable to open 2 240 000 x 15 pixels file

Trying to open a 2,24million x 15 pixels files causes a runtime error.

What is the format of your image ?
Can it be opened by other viewers ?
Is there's a way to access this image to test ?
I am a bit surprised as I am not aware of image formats that support this kind of dimensions.

Well, I actually think it might be a general limit of PNG that I reached. Because Windows does not really show me the file size, and I just know it because its 100 24000x15 pngs stitched together. Every renderer I tried breaks apart. I am closing this issue since I think its most likely a limitation thats probably impossible to exceed.

PNG format should allow for much larger dimensions, so it might be a Windows limitation for bitmaps.
In the PNG case Vliv will try to load the entire image whereas for TIFF (tiled) it will only load visible tiles.
If you are able to convert the image to a tiled format such as TIFF (with vips for example - https://www.libvips.org/),
you might be able to view it with Vliv.
If you can give me a way to download the image I will be able to have a look.

as you can see Vliv can open a 2 000 000 x 15  PPM image (P6) that is 90,000,018 bytes without any problem.
It creates "virtual tiles" that are 256x256 and loads them as they are displayed.
I suspect the issue is in libpng.
Maybe you can switch to PPM format, that would be 3 bytes per pixel uncompressed but the virtual tiling feature of Vliv allows almost infinite dimensions PPM images to be displayed.
A P6 PPM image is very simple : a simple ascii header
P6
width height
256
followed by 3 x width x height bytes.
That makes them very easy to generate.


bugfix: ignore catch all route if other routes exist for ingress

Refer to #3067 and forum issue: https://groups.google.com/d/msgid/istio-users/ad3336fe-5705-4173-ad68-632797ebeda5%40googlegroups.com?utm_medium=email&utm_source=footer
We should not combine path prefix with default route when non default routes exist in the route rule.

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
126e3050da6c9826309d2245a607dcf16a46956f
link
/test e2e-smoke

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

/test e2e-smoke

This works for me. It removed the default-routes configurations from my routes

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
126e3050da6c9826309d2245a607dcf16a46956f
link
/test e2e-smoke

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

/lgtm
We need a test case that hits this.

e2e-smoke failure cause by #3221

Hey, I know this might now make it into 0.5.1, but I'd really love to buy this team a beer if it did. Without this fix Istio is unusable for our production workload as we use wildcards in our Ingress route rules. Flappy 503's don't look good.

@bobbytables ill submit it and see if it gets in!


Add support for tile data chunks

Adds support for loading TMX files with tile data split into chunks.
For the sample, just copied some existing assets from another test, but displayed with the chunked file.
This is a basic implementation that at least lets the tileset load- ideally for performance it could load/unload individual chunks as they're needed, with some handling perhaps in a tiles enumerator or in the tile_at method. No idea at what size map that would actually be necessary though.

Thanks for the PR! looks good 👍
Good idea with dynamic loading/unloading chunks, but I think for now this solution is perfect enough :)


Fixes for formatting of type property checks

This is to correct various errors caused by comparison of the formatted key vs class names, and vice versa.
Please note that I'm using config.json_key_format = :camelized_key.

@sirvine Which version was this failing in? I had made similar changes in 0.3.0pre1 and I'm wondering if this is still an issue.

I just bumped to 0.3.0pre2, and all is indeed well. This PR is superfluous now.


Skip Discovery Phase and Define Identity Endpoints

Issue and Steps to Reproduce
Hi team,
Great job creating this lib, it's really cool and makes it very easy to implement secure SPAs.
I have a quite hard requirement on my hand and I am seeking clarifications about the best way to implement it. I have an implementation of OIDC to make but the identity server cannot and will not add our domain to CORS. How can we skip the discovery phase and give the actual endpoints that should be called? This identity server supports authorization code and implicit, but I read here (https://github.com/AxaGuilDEv/react-oidc/issues/751) that implicit is not supported.
Hence the question, how can I skip discovery and define the Authorization, Token, UserInfo and other endpoints to avoid the CORS issue?
Versions
v5.4.2
Screenshots
Expected
const configuration = {
  client_id: 'interactive.public.short',
  redirect_uri: 'http://localhost:4200/authentication/callback',
  silent_redirect_uri: 'http://localhost:4200/authentication/silent-callback', // Optional activate silent-signin that use cookies between OIDC server and client javascript to restore the session
  scope: 'openid profile email api offline_access',
  authority: {
    authorization: 'https://demo.identityserver.io/authorization',
    token: 'https://demo.identityserver.io/token',
    userinfo: 'https://demo.identityserver.io/userinfo',
    introspect: 'https://demo.identityserver.io/introspect',
    jwks: 'https://demo.identityserver.io/jwks',
    issuer: 'https://demo.identityserver.io/issuer',
  }
  service_worker_relative_url:'/OidcServiceWorker.js',
  service_worker_only:true,
};

Actual
Only authority variable is documented.
Additional Details

Installed packages:
"react": "^17.0.2",
"react-csv": "^2.2.2",
"react-dom": "^17.0.2",

I @slaterx thank you for your issue.
It is in the roadmap. If you need it now i can set it up Quickly.
Implicit is not supported by choice of enforcing security first.

Hi @guillaume-chervet,
Thank you for your quick reply, that was fast!
Yeah, we are kinda in a hurry, so that would be appreciated. If you need a hand, just let me know how I can help you, happy to assist in a PR to get this feature done!
Reading your source, it seems that the easiest way is to add an openid AuthorizationServiceConfigurationJson prop to OidcConfiguration then add some conditionals on initAsync, is that right?

Yeah exactly  a condition in initAsync to always return the predefined configuration. I can make a pullrequest and a beta version for you in few hours.

If you want you can try to make a pullrequest your self.

I'll try my luck, let's see where it takes me 😁

@guillaume-chervet this was the closest I could get, I got stuck here:

Hopefully this is a good start and I just missed a comma somewhere 😅

oO

We have similar issue as mentioned here, wondering are we going to fix this issue soon?

Hi @khyapate , thank you for the information. I will fixed it as soon as i can. I hope i can fixe it before the end of the next monday 😀

Thank you so much @guillaume-chervet for your quick response. Yes, it resolved my use case. thanks !

Hi @guillaume-chervet, thank you for taking over my PR and delivering it! Unfortunately, I did not have time to look at it again and try to get it fixed.
So, testing your release, I do not get the CORS issue any longer, but now service worker won't load and I get the following error:

OidcSecure.tsx:22 Uncaught TypeError: Cannot read properties of undefined (reading 'tokens')
    at OidcSecure (OidcSecure.tsx:22:1)
    at renderWithHooks (react-dom.development.js:16175:1)
    at mountIndeterminateComponent (react-dom.development.js:20913:1)
    at beginWork (react-dom.development.js:22416:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4161:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at beginWork$1 (react-dom.development.js:27405:1)
    at performUnitOfWork (react-dom.development.js:26513:1)
    at workLoopSync (react-dom.development.js:26422:1)
OidcSecure	@	OidcSecure.tsx:22
renderWithHooks	@	react-dom.development.js:16175
mountIndeterminateComponent	@	react-dom.development.js:20913
beginWork	@	react-dom.development.js:22416
callCallback	@	react-dom.development.js:4161
invokeGuardedCallbackDev	@	react-dom.development.js:4210
invokeGuardedCallback	@	react-dom.development.js:4274
beginWork$1	@	react-dom.development.js:27405
performUnitOfWork	@	react-dom.development.js:26513
workLoopSync	@	react-dom.development.js:26422
renderRootSync	@	react-dom.development.js:26390
performSyncWorkOnRoot	@	react-dom.development.js:26041
flushSyncCallbacks	@	react-dom.development.js:12009
flushSyncCallbacksOnlyInLegacyMode	@	react-dom.development.js:11988
scheduleUpdateOnFiber	@	react-dom.development.js:25438
dispatchSetState	@	react-dom.development.js:17389
(anonymous)	@	browser.js:1802
call	@	browser.js:1802
applyTx	@	browser.js:1802
handlePop	@	browser.js:1802

I tried to run the local development without HTTPS (thinking it could be because of the lack of certificates), but that way, I get an error about hook calls:

react.development.js:207 Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3.  Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3.
Thanks,
Gleidson

Hi @slaterx , are you using react dom? If no what is your use case?
Do you have a sample of your code? The message explain 3 steps to check about hooks.

@guillaume-chervet yes, we are using react-dom:

import React from 'react';
import ReactDOM from 'react-dom';
import './index.scss';
import App from './App';
import { store } from './app/store';
import { Provider } from 'react-redux';
import reportWebVitals from './reportWebVitals';

ReactDOM.render(
  <React.StrictMode>
    <Provider store={store}>
      <App />
    </Provider>
  </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();

And we are also using react-router-dom:

import React from 'react';
import {HashRouter, Route, Routes} from 'react-router-dom';
import {OidcProvider, withOidcSecure} from '@axa-fr/react-oidc-context';
import (...)

const configuration = {
    client_id: 'f00,
    redirect_uri: 'http://localhost:3000/authentication/callback',
    silent_redirect_uri: 'http://localhost:3000//authentication/silent-callback',
    scope: 'openid',
    authority: 'https://demo.duendesoftware.com',
    authority_configuration: {
        authorization_endpoint: "https://demo.duendesoftware.com/connect/authorize",
        end_session_endpoint: "https://demo.duendesoftware.com/connect/endsession",
        revocation_endpoint: "https://demo.duendesoftware.com/connect/revocation",
        token_endpoint: "https://demo.duendesoftware.com/connect/token",
        userinfo_endpoint: "https://demo.duendesoftware.com/connect/userinfo",
    },
    service_worker_relative_url:'/org/repo/OidcServiceWorker.js',
    service_worker_only: false,
    token_request_extras: {'client_secret': 'b4r$}
};

const configurationName = 'identity-server';

class App extends React.Component<any, any> {

  render() {
    return (
      <div className="App">
          <OidcProvider configuration={configuration} configurationName={configurationName}>
              <Header aria-label="header">
                <HeaderName href="#" prefix="">
                  My Header
                </HeaderName>
                <HeaderNavigation aria-label="Header">
                  <HeaderMenuItem href="/">All Cases</HeaderMenuItem>
                  <HeaderMenuItem href="#/add-case">New Case</HeaderMenuItem>
                  <HeaderMenuItem href="#/edit-case">Edit Case</HeaderMenuItem>
                </HeaderNavigation>
              </Header>
              <Content>
                <HashRouter>
                  <Routes>
                    <Route path="/" element={<AllUseCasesPage />} />
                    <Route path="/add-use-case" element={<NewUseCasesPage />} />
                    <Route path="/documentation" element={<DocumentationPage />} />
                    <Route path="/edit-use-case" element={<SecureEdit />} />
                    <Route path="/edit-secure" element={withOidcSecure(Edit)} />
                  </Routes>
                </HashRouter>
              </Content>
              <Footer />
          </OidcProvider>
      </div>
    )
  }
}

export default App;

I think i understood.
What happen if you switch on the new package @axa-fr/react-oidc? It is just à rename.
It may work

Updating the name made the hook issues go away, but the app is now stuck on loading:

I believe that there's something in the oidc code which puts the page into a wait mode (loading) while we do the discovery (now disabled because we have the auth endpoints).  But I can't pinpoint myself, would that piece of code in the screenshot show up to you where that loading step might be? We will need to also add the conditional there, to move along since we won't make the discovery call when the endpoints are defined already.

Thank you for the information. I pretty think it is a bug. i'am trying to reproduce it.

@guillaume-chervet I'm also stuck with 'Loading' as mentioned above.

Does the 5.7.3-alpha0 version help you ? I set react as peerDependencies (as it have to be)
If not I may need a sample of code on github or somewhere else where i can reproduce the error.
I cannot manage to find a way to reproduce it.

@guillaume-chervet it did not, the behaviour remains the same. I create a repo for you to reproduce the issue: https://github.com/slaterx/react-oidc-issue
Upon yarn start, you will see that the page is stuck on loading.

Thank you it will help a lot. I check it out in few hours as soon as i am in front of a computer ^^

npm install does seem to work. I think you have dependencies confict 👍

I continue to test

This is due to the issue reported here: https://github.com/facebook/create-react-app/issues/12279#issuecomment-1096724124
But running installation with yarn is a valid workaround 👍
You can also run npm config set legacy-peer-deps true to use legacy peer dependencies (like in node v4) and get the installation completed nevertherless:

Hi @slaterx , I found it!
replace

by

It will work :)
I have to add better message error for that case and in witOidcSecure, i found that configurationName and extras parameters are missing.

Hi @guillaume-chervet, the issue persists after your proposed fix:

A good way to confirm the issue is by starting the local development server with HTTPS=true. This way, there's an SSL error on the browser and the worker code is not loaded. That way, the page loads without the OIDC code (which, obviously, means that all secure pages throw the default error - "Error authentication\nAn error occurred during authentication"):

Another relevant point is that this time I can't see anymore the service workers loaded (both on HTTP and HTTPS). I am running latest release (5.7.5), but when I was running the alpha version I could see the service workers being loaded.
We are a bit under pressure to move along with this implementation on our project, so if you could please help us pin point this bug it would be mostly appreciated! 😁

I will send you a pull request on you demo as soon as i restants my computer.
You have a also dependency problem.
Look at my error message with npm, i also removed some dependencies (tool dependencies)

I send your a pull request https://github.com/slaterx/react-oidc-issue/pull/1

Thanks for the hard work @guillaume-chervet and huge help, it's working with your changes!
I think that the takeaway here is that I'll have a URI context on my main SPA, (i.e. it won't be https://address/ but https://address/my/long/url/path and therefore my service worker JS will be on /org/repo/OidcServiceWorker.js, not on /OidcServiceWorker.js.
For the authentication stuff, the PR we did got the discovery phase done, but during the token validation after callback another CORS call is made and I get stuck where I was. Just to double confirm, assuming we are past the discovery phase, we cannot use the token received from /callback call straight away? We still need to call again the token endpoint to request the token one more time?

I @slaterx , your oidc server should authorise cors request.
I think you have to look at the configuration on oidc server or contact guys that are in charge of it.

Hi @guillaume-chervet!
We were hoping to use this library to implement OIDC without hosting a backend, but with the CORS limitation, we expected to be able to complete the authentication without the discovery phase, however the token retrieval also implies CORS.
Unfortunately, for security reasons, the auth provider is only providing implicit and authorization code without CORS. The only thing we can do is add the allowed redirect URIs, to make sure the provider will accept our authentication requests. We are able to authenticate and receive the callback with a valid code, but validating that code requires CORS again.
Thank you very much for your help, we will try to implement something that retrieves the token with a code and reply it with appropriate cookies to fulfil both auth provider and browser security.
You can close the incident.

Thank you @slaterx ,
It will not fit with the security of your company, but technicaly you can proxify oidc http request from within your api.
I close the pull request. Thank you!


Disconnect with /home

Whenever I use /home Farm (my home name is Farm), it sends this line in the server logs and just disconnects my client. Same thing with /gamemode <gamemode>:
lost connection: Internal Exception: java.lang.NullPointerException: Cannot invoke "java.util.List.removeIf(java.util.function.Predicate)" because "this.muted" is null

(just says disconnected on my client log)

does the /gamemode <gamemode> disconnect keep happening if FabricHomes is removed?

Oh, huh it does disconnect me. Must be smth wrong with another mod/config, thanks lol.


[Feature] RTL Support

Is your feature request related to a problem? Please describe.
Yes. Despite the RTL support of obsidian, the published version doesn't have RTL support and sentences are rendered wrong.

Thank you for your report! Would you be able to provide a sample note (you can share through Noteshare or paste the Markdown here in GitHub)? As well as a screenshot of how it is rendered in Obsidian. Then I will see if I can find a way to support RTL.

of course.
This is the shared link of one of my notes.
And this is the screenshot of a part of the note. (Pay attention to the order of the words in the sentences that have both English and non-English words.)

Hi! I would like to look into this further soon. As the previous noteshare link expired, are you able to provide another example link?

Hi
Here is the link.


Support heroicons 2.1 with "micro" icons

In heroicons 2.1, they released new "micro" style icons. This addon has a fixed version of heroicons, so it would be nice to update it so it supports the new type.

Awesome suggestion! Will do!


Serve minified web contents?

Flask serves currently HTML, CSS and JavaScript without minification. This could cause bandwidth issues if the game is used at a large scale.
Should we minimize all web contents or only a specific content type (HTML, CSS or JavaScript)? If yes, should we do so only for production or everywhere?

We should first chck if Flask automatically does this in production mode


Typo in tf.keras.layers.Attention docs example

URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Attention
Description of issue (what needs changing):
In the code example, it currently reads:
# Variable-length int sequences.
query_input = tf.keras.Input(shape=(None,), dtype='int32')
value_input = tf.keras.Input(shape=(None,), dtype='int32')

# Embedding lookup.
token_embedding = tf.keras.layers.Embedding(max_tokens, dimension)
# Query embeddings of shape [batch_size, Tq, dimension].
query_embeddings = token_embedding(query_input)
# Value embeddings of shape [batch_size, Tv, dimension].
value_embeddings = token_embedding(query_input)

The last line should instead be:
value_embeddings = token_embedding(value_input)

Fixed by 4b2f4f4d25a75593bdeaf993b8cdcfc7055a7a55.

@lamberta I believe this can be closed now!

Thank you all!


Be smarter when warning about non-positional options

It's probably not worth warning about
$ bfs -print -follow

OTOH, both of these probably deserve warnings:
$ bfs -print -o -follow
$ bfs -follow -o -print

This is basically fixed by d0565f9830b483d8f307e966e22fde01478b26df.  bfs -follow -o -print even gets a warning from 5026a144add526567771a75b414a4d9873054620.  Not sure -print -o -follow is worth warning about, but I could probably do it as part of the #85 work.


About the pretrained models.

Thanks for your outstanding work! I have some questions about the training process.
If I want to train PST-T on sth-sthv1, I should directly use the pretrained model of Swin-T on IN-1K as the <PRETRAIN_MODEL>? And could you provide the loadable pretrained model of PST-T on K400?
Thank you again for your work.

Yes, you can use IN-1K directly for pretrain_model. The PST-T on K400 weight is on the modelscope https://modelscope.cn/models/damo/cv_pathshift_action-recognition/summary

Thanks for your reply. I try to get the pretrained model on K400 from ModelScope. So I can use K400 weight on my machine by downloading pytorch_model.pt in the following figure?  Is the method that I obtain the model correct？

Yes, you can use this checkpoint, it should work with this code implementation. If you have any problems, please let me know.


Switch to a smaller flavor for SES the instance

We don't seem to need 16GB instances there currently. We originally
switch to d4.xlarge because of the ephemeral disk. But that is provided
by "cloud-ses" as well. Switching to a smaller flavor should save some
resources in the Cloud.
(cherry picked from commit 488d4760033fb21cebdf9bbf81d3a31dfced0785)
Backport of https://github.com/SUSE-Cloud/socok8s/pull/570

Again something that shouldn't affect stability of the TP, but improve CI.


Fix Editor Output Class Name

By default Quill append class ql-syntax but doesn't append hlsj and in wink package has sass for ql-syntax class. When you get posts from DB on frontend  you hasn't styles for ql-syntax, but you has highlightjs.css file

@themsaid, frontend needs class hlsj in Post::$body for support highlightjs

Sorry I'm going to close this since code highlight is working for me already. Don't want to merge a change that could break it for people :)

@themsaid, how did you get the code highlighting on the frontend, not in the admin panel. Without the class attribute hljs it does not work


Specify extensionKind

To make it work in remote workspaces
https://code.visualstudio.com/api/advanced-topics/remote-extensions#incorrect-execution-location

Thanks mate!


Add useSessionStorage hook to complement useLocalStorage

Hi there! Really impressed by this collection of hooks, nice work, and thanks for sharing!
I'd love to see a useSessionStorage hook alongside useLocalStorage and wanted to add a note here to add one. If I get time I may PR one, but no promises :)
I couldn't find any well-supported hooks that support local and session storage both, but your useLocalStorage hook seems like one of the more solid ones.
Thank you 🎉

Hi and thank you so much, Andy! 😀
Yes, I think it is a good idea! If you want to do it, feel free, else I will do it sooner 👍

I'll take this.


Update nw.js releases link

The wiki page doesn't seem maintained any more and is out of date.

@pbek redirected to the tags page since the releases page hasn't been used. I plan to update the wiki but in the mean time thank for this!


divide osconfig.h three ways

The current osconfig.h (present in BSP trees and, as a
bonus, in the build/inc directory) contains configuration
items that are OSAL generic, plus configuration items that
are BSP specified, and probably items that are OS specified.
The content of this file needs to be divided.
Items that are generic OSAL configurations need to be in a
header file located centrally.
Items that are specified by the OS should be kept in a header
file within the appropriate /os/ tree; probably a good idea
to have this file included by the generic configuration file,
to provide "sane defaults" in the central file (where there can
be sane "most OS" values), then have the OS-specific file
override those as appropriate.
Ditto for the BSP.

Imported from trac issue 64.  Created by glimes on 2015-06-30T15:05:34, last modified: 2019-08-14T14:11:46

Trac comment by jphickey on 2015-07-08 16:38:56:
First step here....
Pushed commit [changeset:efe5b97] that updates the {{{src/bsp/pc-linux/osconfig.h}}} file to be a correct/usable sample configuration for pc-linux and removes the version that was in {{{build/inc}}} to eliminate confusion here.

Trac comment by glimes on 2015-07-10 11:41:52:
Should we split this ticket, to track the "move stuff into
the BSP header" separately from "architect a solution that
recombines BSP-independent stuff in a non-BSP header"?

Trac comment by jphickey on 2015-07-08 16:40:50:
Proposing that the commit above becomes part of the next OSAL merge as the multiple copies of osconfig.h are causing some difficulties that this may help alleviate.
There is more to do under this ticket though, so not marking it as work_complete yet.

Trac comment by jphickey on 2015-07-10 12:43:06:
Maybe I shouldn't have hijacked this ticket for that ... but moving osconfig.h to the BSP was such a trivial thing I didn't want to open a new ticket just for that.
So my vote is no - I don't think we need a separate ticket...

Trac comment by glimes on 2015-07-13 13:31:45:
Recommend accept of [changeset:efe5b97] which updates
the osconfig.h in pc-linux and deletes the one currently
being tracked in build/inc.
I'll make a note to be sure to not sweep up this Trac
ticket when this changeset gets committed to development.

Trac comment by glimes on 2015-07-16 10:30:17:
Initial change included in [changeset:ec67bd4 2015-07-14 development merge],
now present on Babelfish and IPAS-LIB.
Leaving this ticket open to track the reorganization issue.

Trac comment by acudmore on 2015-07-10 15:13:42:
I support the idea of breaking this apart, or at least partitioning the file to make it clear where the generic OS specific parameters are vs the BSP/target OS/architecture options are.
If we split this up and make a generic OS option file that is centrally located, will this apply to any OSAL application? Or are we just talking about the location in context of the standalone OSAL distribution?
I want to make sure we have the ability to tailor all of the parameters in the OSAL for different targets, even in the same build tree.
If this is the intention, then I recommend accept

Trac comment by glimes on 2015-07-16 10:43:11:
Side note: this broke the Classic build. See #74 for details.
There is an obvious short term fix, but the longer term fix
is of course to include a Classic build in our Bamboo plan,
which is being tracked by that ticket for the CFS-OSAL plan.


AppSidebar: remove hard coded icon set in VaSidebarLink

I'm submitting a ...

[ ] bug report
[x] feature request

I suggest removing the icon specific classes to NavigationRoutes, so we can use any other icon sets.
https://github.com/epicmaxco/vuestic-admin/blob/2a64ca23d0b462e5b4cbdf03570a45ccb69850cb/src/components/admin/app-sidebar/AppSidebar.vue#L9
https://github.com/epicmaxco/vuestic-admin/blob/2a64ca23d0b462e5b4cbdf03570a45ccb69850cb/src/components/admin/app-sidebar/AppSidebar.vue#L26
Also is the class sidebar-menu-item-icon redundant? I can't find the definition anywhere.
Suggested change:
<va-sidebar-link
  :icon="item.meta && item.meta.iconClass"
/>

Any ideas?

These changes are here https://github.com/epicmaxco/vuestic-admin/commit/0cfa4a16109ec227f56d2a2c8530edb555214de6
@lkho, thanks!


Bug: Obsidian Sync errors

I'm not sure which angle to approach this from, but I figured I'd start here. Whenever I create a new file that hits a rule and is auto-moved, Obsidian Sync gives me the following error.

It's looking for the file in the location where it was created and, as such, can not find it. Can a grace period be added (or some other solution) such that Obsidian has enough time to start the initial sync of the file so that, when it's auto-moved, it just has to point to the new location?

I don't use obsidian sync so I can't confirm this, but I think it is probably the same problem as below.
https://github.com/farux/obsidian-auto-note-mover/issues/19
The plugin cannot recognize the tasks of the sync software on the system.
Synchronization completion times vary depending on system and network conditions.
The best that can be done is to add a uniform delay to the movement of notes, but this is not guaranteed to be error-free since the required delays vary.
The sync software should reflect the latest file status.
However, I would consider the option of adding a uniform delay.

Thanks for considering the option to delay execution.
I think every user's situation is different, so I would like to be able to set the time to delay, like the option in the Hover Editer plugin.


Add support for strings

Closes #18
Implementation

Add another state in the lexer for reading strings (or other objects of unknown size).
Identify STARTSTR and ENDSTR marker tokens to mark the start and end of a string.
Compile string by converting each character to corresponding ASCII value.

All integration tests and yamtests are passing. Merging this.


ANY FIX WITH LBOX CRASHING WHEN INJECTING WITH FWARE?

??

no

duel injecting is not supported in fware


Do not cache record reader in segment

Do not cache record reader in the segment because it might allocate too much memory (especially when there are compressed raw index columns, where we need to pre-allocate a big direct buffer)
Unify the code of reading record/value from segment
Use PinotSegmentRecordReader for batch read so that we get the same performance.
For partial-upsert, since we need to do point lookup record read, we will allocate buffers for each read, and might observe worse performance. Since it is not on query path, allocating per read should be okay.

Codecov Report

Merging #9604 (3d073de) into master (0a442b9) will decrease coverage by 54.44%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #9604       +/-   ##
=============================================
- Coverage     70.03%   15.59%   -54.45%
+ Complexity     5288      174     -5114
=============================================
  Files          1937     1882       -55
  Lines        103498   101096     -2402
  Branches      15715    15429      -286
=============================================
- Hits          72487    15767    -56720
- Misses        25907    84145    +58238
+ Partials       5104     1184     -3920

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
15.59% <0.00%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ata/manager/offline/DimensionTableDataManager.java
0.00% <0.00%> (-82.15%)
:arrow_down:

...l/indexsegment/immutable/ImmutableSegmentImpl.java
0.00% <0.00%> (-59.30%)
:arrow_down:

...ocal/indexsegment/mutable/IntermediateSegment.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...local/indexsegment/mutable/MutableSegmentImpl.java
0.00% <0.00%> (-54.39%)
:arrow_down:

...t/creator/impl/SegmentIndexCreationDriverImpl.java
0.00% <0.00%> (-81.73%)
:arrow_down:

...ocal/segment/readers/PinotSegmentColumnReader.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...ocal/segment/readers/PinotSegmentRecordReader.java
0.00% <0.00%> (-71.25%)
:arrow_down:

...cal/upsert/BasePartitionUpsertMetadataManager.java
0.00% <0.00%> (-56.78%)
:arrow_down:

...t/ConcurrentMapPartitionUpsertMetadataManager.java
0.00% <0.00%> (-69.91%)
:arrow_down:

...apache/pinot/segment/local/upsert/UpsertUtils.java
0.00% <0.00%> (-26.09%)
:arrow_down:

... and 1467 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Feature Request: generic optional field in ValidationRequest

Is your feature request related to a problem?
I'd like Kubewarden to be a generic policy evaluation engine like OPA is, to have all the rich developer experience of kubewarden and still be able to deploy it without being tied to K8s paradigms. Few reasons:

Allows for Policy server to be deployed and be useful outside K8s environments. This can allow people to migrate off of OPA, if they want to and widen their policy definition languages
Policies can be evaluated against things that aren’t deployment artifacts( maybe static analysis, test coverage, etc)
Preserves the developer experience of writing policies with low learning curve.

Solution you'd like
I think policy-server should accept an optional field in ValidationRequest to remain backward compatible.  Policy evaluation can then use this field over AdmissionRequest.
Alternatives you've considered
No response
Anything else?
Slack discussion: https://kubernetes.slack.com/archives/C01T3GTC3L7/p1693532273095639

This is now done :partying_face:
It's part of the 1.9.0 release that has just been published


[Tutorial][Frontend] move from_keras tutorial to frontend

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

@Huyuwei can you act to fix the docs build error in CI?

I can't reproduce the error in nnvm/from_keras.py on my local machine. nnvm/from_keras.py is good in the CI builds of other PRs. Not clear what is happening.

@Huyuwei could this due to your change in nnvm/from_keras.py? can you revert that part of the change and just keep the frontend/from_keras.py?

@tqchen The error happens still. Confused why vta_conv2d.py is called here.
Traceback (most recent call last):
  File "/workspace/tutorials/nnvm/from_keras.py", line 79, in <module>
    graph, lib, params = nnvm.compiler.build(sym, target, shape_dict, params=params)
  File "/workspace/docs/../nnvm/python/nnvm/compiler/build_module.py", line 281, in build
    graph = optimize(graph, shape, dtype, layout)
  File "/workspace/docs/../nnvm/python/nnvm/compiler/build_module.py", line 170, in optimize
    graph = graph.apply(["InferShape", "InferType", "AlterOpLayout"])
  File "/workspace/docs/../nnvm/python/nnvm/graph.py", line 234, in apply
    check_call(_LIB.NNGraphApplyPasses(self.handle, npass, cpass, ctypes.byref(ghandle)))
  File "/workspace/docs/../nnvm/python/nnvm/_base.py", line 75, in check_call
    raise NNVMError(py_str(_LIB.NNGetLastError()))
nnvm._base.NNVMError: TVMCall CFunc Error:
Traceback (most recent call last):
  File "/workspace/docs/../python/tvm/_ffi/_ctypes/function.py", line 55, in cfun
    rv = local_pyfunc(*pyargs)
  File "/workspace/docs/../vta/python/vta/top/vta_conv2d.py", line 251, in alter_conv2d_layout
    return _nn.alter_conv2d_layout(attrs, inputs, out)
  File "/workspace/docs/../nnvm/python/nnvm/top/nn.py", line 174, in alter_conv2d_layout
    return topi.nn.conv2d_alter_layout(attrs, inputs, tinfos, sym)
  File "<decorator-gen-19>", line 2, in conv2d_alter_layout
  File "/workspace/docs/../python/tvm/target.py", line 356, in dispatch_func
    return dispatch_dict[k](*args, **kwargs)
  File "/workspace/docs/../topi/python/topi/cuda/conv2d_winograd.py", line 369, in _alter_conv2d_layout
    N, CI, H, W = get_const_tuple(data.shape)
ValueError: not enough values to unpack (expected 4, got 0)

The problem seems was due to compiling mulitple tutorials together, in particular, vta was run before the keras one

@Huyuwei can you try simply remove nnvm/from_keras.py?

@tqchen Now it passes the tests.


Add more info on the update.conf file and manual updates

setup/releases/update-conf: add more info on how to use the parameters
setup/releases/update-strategies: document the flatcar-update tool
When automatic updates are disabled and the update should be done
manually it helps to still use the flatcar-update tool as it handles
the disabling of updates again at the right time.
Document it as alternative to doing all steps manually.

To me, flatcar-update should preserve the current parameters: if SERVER=disabled is set, it should automatically set back this value at the end of the execution. It should not be required to add the --disable-afterwards, this is something we can easily forget.

Just checked, this should already be the case because the previous SERVER value gets set again.

Corrected that section


sandbox: handle /opt/local on separate mountpoint

Some Xcode builds will fail when /opt is on a separate volume. The nature of the errors vary, for example tiffutil will frequently fail. They're all permission-related errors, though.
Looking at the system logs, I noticed this:
localhost kernel[0]: (Sandbox) Sandbox: tiffutil(99434) deny(1) file-write-create /opt/.TemporaryItems/folders.502/TemporaryItems/(A Document Being Saved By tiffutil)

To address this, I added some code that should detect the mountpoint for ${prefix}, and add its .TemporaryItems to the allowed directories.
It's worth noting that I haven't tested this in the normal setup; the code ought to work, but I'd appreciate the confirmation!

See also https://github.com/macports/macports-ports/pull/8244 — that's where I ran into this, and it contains some relevant log messages.

Actually, could you please squash this so I can rebase the changes?

Actually, could you please squash this so I can rebase the changes?

Squashed and rebased!


piraeus-controller-0 cannot connect to etcd

On deploying the Getting started example, the piraeus-controller-0 ends in a CrashLoopBackOff, with the error message:
ERROR LINSTOR/Controller - SYSTEM - No connection to ETCD server [Report number 5E69444E-00000-000000]
Etcd is deployed and accessible via it's service. Suggestions on howto debug or resolve this issue are welcome.
Logging of the piraeus-controller-0 pod:
kubectl -n kube-system logs -f piraeus-controller-0
LINSTOR, Module Controller
Version:            1.4.2 (974dfcad291e1f683941ada3d7e7337821060349)
Build time:         2020-01-27T11:15:32+00:00
Java Version:       11
Java VM:            Debian, Version 11.0.6+10-post-Debian-1deb10u1
Operating system:   Linux, Version 3.10.0-1062.9.1.el7.x86_64
Environment:        amd64, 1 processors, 247 MiB memory reserved for allocations

System components initialization in progress

20:04:31.119 [main] INFO  LINSTOR/Controller - SYSTEM - Log directory set to: '/var/log/linstor-controller'
20:04:31.295 [main] INFO  LINSTOR/Controller - SYSTEM - Linstor configuration file loaded from '/etc/linstor/linstor.toml'.
20:04:31.296 [Main] INFO  LINSTOR/Controller - SYSTEM - Loading API classes started.
20:04:32.691 [Main] INFO  LINSTOR/Controller - SYSTEM - API classes loading finished: 1350ms
20:04:32.692 [Main] INFO  LINSTOR/Controller - SYSTEM - Dependency injection started.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/linstor-server/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
20:04:36.029 [Main] INFO  LINSTOR/Controller - SYSTEM - Dependency injection finished: 3337ms
20:04:37.003 [Main] INFO  LINSTOR/Controller - SYSTEM - Initializing authentication subsystem
20:04:37.533 [Main] INFO  LINSTOR/Controller - SYSTEM - Initializing the etcd database
20:04:49.655 [Main] ERROR LINSTOR/Controller - SYSTEM - No connection to ETCD server [Report number 5E69444E-00000-000000]

20:04:49.657 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Shutdown in progress
20:04:49.658 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Shutting down service instance 'ETCDDatabaseService' of type ETCDDatabaseService
20:04:49.662 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Waiting for service instance 'ETCDDatabaseService' to complete shutdown
20:04:49.662 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Shutting down service instance 'TaskScheduleService' of type TaskScheduleService
20:04:49.662 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Waiting for service instance 'TaskScheduleService' to complete shutdown
20:04:49.662 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Shutting down service instance 'TimerEventService' of type TimerEventService
20:04:49.663 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Waiting for service instance 'TimerEventService' to complete shutdown
20:04:49.663 [Thread-0] INFO  LINSTOR/Controller - SYSTEM - Shutdown complete

Etcd and other piraeus services start OK:
kube-system     piraeus-controller-0                       0/1     Error       1          66s
kube-system     piraeus-csi-controller-0                   5/5     Running     0          60m
kube-system     piraeus-csi-node-nstql                     2/2     Running     0          60m
kube-system     piraeus-csi-node-qv6rv                     2/2     Running     0          60m
kube-system     piraeus-csi-node-swzmv                     2/2     Running     0          60m
kube-system     piraeus-etcd-0                             1/1     Running     0          60m
kube-system     piraeus-etcd-1                             1/1     Running     0          60m
kube-system     piraeus-etcd-2                             1/1     Running     0          60m
kube-system     piraeus-node-6gqhs                         0/1     Init:0/1    1          60m
kube-system     piraeus-node-k64d5                         0/1     Init:0/1    1          60m
kube-system     piraeus-node-qczk6                         0/1     Init:0/1    1          60m

Etcd is accessible via the svc:
# etcdctl --endpoints=http://<IP_ADDRESS>:2379 cluster-health
member 150e6aaeb9e31b16 is healthy: got healthy result from http://piraeus-etcd-0.piraeus-etcd:2379
member ad8612fde261bb43 is healthy: got healthy result from http://piraeus-etcd-2.piraeus-etcd:2379
member e41ccd855ab0c8bf is healthy: got healthy result from http://piraeus-etcd-1.piraeus-etcd:2379
cluster is healthy

@mpepping can i suggest rolling back to the old iptables ... in the container ... ? i have a hunch i've seen this before, not this particular error, but a failure with connectivity with CoreDNS and
with Debian 10 as my k8s worker, i was running this:
update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
update-alternatives --set arptables /usr/sbin/arptables-legacy
update-alternatives --set ebtables /usr/sbin/ebtables-legacy
for example:
https://github.com/rancher/rke/issues/1788
Dunno if you can solve it, without killing the container, just to debug.

Thanks for the suggestion, @mariusrugan. Swapping out Firewalld for (legacy) IPtables resolved the issue.


condition.signal waiting a block

Expecting a block of commands and not just a method.

Please be much more specific.


New relayer

Have years of experience running servers. Happy to help the network!

this is great, thank you!


Add a note that MacPorts shouldn't be needed on newish OSX.

I'm on 10.10 and just hopped straight to cloning and pip without issue.

:heart:


fix(interactive): Fix some issues of AdminService

Create a graph with no edge types.
Return the detail message when error happens. e.g. creating graph with vertex have DT_DOUBLE primary keys(currently not supported)
Support open and running query on an empty graph.
Other issues.

Fix #3707
Fix #3693

LGTM.


json-encoded throws error "Cannot JSON encode object of class" error

Code:
(def s (avro/parse-schema {:name "test" :type "record" :fields [{:name "id" :type "long"}]}))
(avro/json-encoded s {:id 123456})

Expected behavior: it returns a JSON string :-)
Actual behavior: JsonGenerationException Cannot JSON encode object of class: class abracad.avro$schema_QMARK_: abracad.avro$schema_QMARK_@2cafcfc9  cheshire.generate/generate (generate.clj:147)

Perhaps I'm using it wrong?

This is a bug, fixed in 460ffe4, but without subsequent release.  I've just released a new version (0.4.12) which includes the fix.

woah awesome, thanks so much for the quick response!


Remove test skipping from build tasks

Closes #493
Closes #494
Ref #462
I searched thoroughly for any mentions of 'test skipping' and removed it. I hope that you will not find a trace of it somewhere still.
Tasks:

[x] Updated design documents in docs/design directory or not applicable
[x] Updated user-facing documentation in docs directory or not applicable
[x] Ran tests (e.g. make test) or not applicable
[x] Updated changelog or not applicable

Let's merge this first and then adjust PR #462.


[Lab 10] Building the AI - Basic Simulation

Building the AI - Basic Simulation
Description
This is the component that will be used throughout the exercise. For this issue, the basics should be focused on; the rest will come in other issues.
Acceptance Criteria

[x] Components are defined in their proper directory
[x] Functional components are utilized
[x] Decoupling of components
[x] Proper use of react-redux (mapStateToProps, mapDispatchToProps, ...)
[x] Well-defined propTypes
[x] Moving object is located at the bottom of the simulation
[x] Use of Grids (depends on how falling objects will occur)
[x] Buttons to move the object are present on the screen
[x] Cannot move the object at the start (Buttons are non-functional)
[x] After code repair, the object can move using the on-screen buttons
[x] After code repair, the object can move using the keyboard (ArrowLeft, ArrowRight, A, D)

Not going to lie, kind of hitting a roadblock on this one. I am attempting to make it so that when the WalkingMan hits the div's border, it bounces them back. The root of my problems is the use of async hooks and the event listener. We can make it so that the WalkingMan is respawned in the middle, but that doesn't look nice. Will come back to this.

Not going to lie, kind of hitting a roadblock on this one. I am attempting to make it so that when the WalkingMan hits the div's border, it bounces them back. The root of my problems is the use of async hooks and the event listener. We can make it so that the WalkingMan is respawned in the middle, but that doesn't look nice. Will come back to this.

Solved 😄 . I added comments to my code to hopefully make it easy to understand. I tried my best to prevent the passing of props to WalkingMan, but this should be fine since Game will only render the component. If you have any questions on the logic, feel free to comment.

Building the AI - Basic Simulation
Description
This is the component that will be used throughout the exercise. For this issue, the basics should be focused on; the rest will come in other issues.
Acceptance Criteria

[x]  Components are defined in their proper directory
[x]  Functional components are utilized
[x]  Decoupling of components
[x]  Proper use of react-redux (mapStateToProps, mapDispatchToProps, ...)
[x]  Well-defined propTypes
[x]  Moving object is located at the bottom of the simulation
[x]  ~Use of Grids (depends on how falling objects will occur)~
[x]  Buttons to move the object are present on the screen
[x]  Cannot move the object at the start (Buttons are non-functional)
[x]  ~After code repair, the object can move using the on-screen buttons~
[x]  ~After code repair, the object can move using the keyboard (ArrowLeft, ArrowRight, A, D)~

Addressing crossed-out AC:

Grids were not needed for the neural network simulation. This provides more flexibility with how we will simulate moving objects and falling shapes. It will make it slightly more difficult to develop, but it would look better.
User stories should be independent. The last two AC do not correspond to this story, so they were removed. The functionality of the buttons and keys can be disabled and enabled using a global function (s/o to redux). This function should be invoked after the code repair is made, enabling user input.


maybe: implement Semigroup and Monoid

The immediate motivation for this change is to enable filter to be defined for Maybe as suggested by @joneshf in #10. Implementing these specifications for Maybe is a good idea regardless.

:+1:

It will already throw a runtime error if concat doesn't exist, what else could you do?

wrap it in a Maybe! oh wait ....


Add a property "disableFeaturesUsingNotIndexedData"

If developers really need these features, they should implement the features according to their requirements and the solutions mentioned in https://turms-im.github.io/docs/for-developers/schema.html#功能丰富的致命代价


Disable "Compare Master" on the Source Side Chip for Translation mode

translationCore Create - v1.3.0-rc.1 build 54-949db8c
Translation Mode: when the Source side is coming from the Published version, the "Compare Master"  button on the Source side chip has to be removed or disabled. Currently it gives 500 error.

DoD:
The compare master button on the source side is disabled in Translation Mode

to reproduce this bug,
choose TRANSLATE_TEST repo
select another language (translation notes -> TITUS ,  in RUSSIAN)
click chip: should get error

strange: it WORKS with this file:
translate_test / en_tn / 2JN
TBD: questions:

why does it work with 2JN here?
what URL is it building to compare?  (what are the 2 branches/repos it wants to compare?)
is it a FILE EXISTS issue?
--OR-- is it building the wrong URL?

I am NOT SURE if this is part of the problem:
But @Joel-C-Johnson  this answers your questions about " how can there be missing files?"
See screenshot:
In the TARGET repo,
User branch might ADD a NEW file
but the new file is MISSING from the target MASTER branch

...but then why does it fail for TITUS in Spanish ??

also, to answer the other question,
I think:
SOURCE always comes from /unfoldingWord/ org
TARGET is the org you choose in the stepper

TRANSLATION MODE == means the TARGET repo is different from SOURCE repo
EDITOR MODE == means the TARGET is /unfoldingWord/ repo

here's the problem...
and I think solution is:

set sourceCompareLink (only????) to NULL
correctly render the left (SOURCE) chip (DO NOT SHOW the BUTTON & DO NOT HAVE ONCLICK LINK if sourceCompareLink is null

@Joel-C-Johnson @jincypjose
Great job debugging!
Great work finding how to remove the link!
A few options?

Disable the chip:
(problem: middle "link" (compare file) is disabled too??)
OnDelete = null
(problem: alignment issue)
OnDelete => alert()
(problem: alert() assumes brower-based.
OK: since this code is in the APP.
problem: the button is still there.)

For now, let's revert the formatting changes, OK ?

we can prettify / lint if we need LATER,
but good to keep formatting & bug fixes in a different PR please.

Looks good in translationCore Create - v1.4.0-rc.5 build 111-7f5491d. Not seeing error on Compare Master button in Translation mode as it is disabled and shows a info tool tip.


State isLoading is not working since V1.0.0-beta.19

mantine-react-table version
V1.0.0-beta.19
react & react-dom versions
18.2.0
Describe the bug and the steps to reproduce it
Since version beta.19 the parameter for state: isLoading is not working
Minimal, Reproducible Example - (Optional, but Recommended)
return (
    <MantineReactTable
      autoResetPageIndex={false}
      columns={columns}
      data={tableData}
      enableSorting={false}
      enableEditing={true}
      enablePagination={false}
      editingMode="cell"
      enableRowVirtualization={true}
      state={{ isLoading }}
      mantineProgressProps={() => ({
        variant: "determinate", // if you want to show exact progress value
        value: loadingProgress, // value between 0 and 100
      })}
      rowVirtualizerProps={{
        overscan: 10, // adjust the number or rows that are rendered above and below the visible area of the table
        estimateSize: () => 70, // if your rows are taller than normal, try tweaking this value to make scrollbar size more accurate
      }}
      initialState={{ showGlobalFilter: true }}
    />
  );

Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

There was a change that if your data is already there will full row values, the cell data will just be shown instead

Thank you for very quick replay. And is there a possibility to get loading animation like it was before?

It should still work. What do your column definitions look like? You can see them still working on the docs site, right?

I create dynamically depending on the content, below is an example: ( I also sometimes use  as Cell )
      table.unshift({
        id: "outNo",
        accessorFn: (info) => {
          return info.outNo + 1;
        },
        header: t("NUMBER"),
        enableEditing: false,
      });

In beta.24 it's working:) Thank you very much for help


scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory

Required Info

Camera Model
R200

Operating System & Version
Ubuntu 16.04

Kernel Version (Linux Only)

Build System
VS2013, XCode or Makefile

I'm rebuilding my Ubuntu system. I have done done sudo-apt get update / upgrade.  Now running through the LibRealSense aspects of my system rebuild.  When running  ./scripts/patch-uvcvideo-16.04.simple.sh.  I'm getting this error...
scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
Anyone else see this error?

I did some searching, looks like I needed to install
sudo apt-get install libssl-dev
Went back and re-ran the patch and things seemed to go ok.

I did see this after running
sudo modprobe uvcvideo
and then
sudo dmesg | tail -n 50
are these issues I need to be concerned about?
[ 3446.945377] IPv6: ADDRCONF(NETDEV_UP): wlp57s0: link is not ready
[ 4285.788482] media: Linux media interface: v0.10
[ 4285.794801] Linux video capture interface: v2.00
[ 4285.802611] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel
[ 4285.802959] usbcore: registered new interface driver uvcvideo
[ 4285.802961] USB Video Class driver (1.1.1)

I confirm I have the same error on Ubuntu 16.04 with the missing openssl/opensslv.h.

Openssl library is required to build uvcvideo kernel module. The current script patch-realsense-ubuntu-xenial.sh verifies and installs the missing dependencies (including openssl) if necessary.
The specific tainting kernel log message is informative only and does not affect the patched module functionality. It can be safely disregarded.

When building the kernel you may also need to install libelf-dev (there's a warning emitted in the compilation, but a missing required will be missing if this preinstallation is not there). This is still true today with kernel 5.4.* stable branch (and all its many patches), even if there are newer major kernel versions.


Implement support for external cloud resources

Dimension Data does not offer the whole suite of cloud services, things like object storage, messaging, monitoring APIs.
I am being told our clients want to leverage multicloud.
In order to support this, I would like to propose integration with Hashicorp Terraform.
Extending the blueprint
A new attribute for the blueprint called multicloud (or terraform?) that supports:

a local .tfstate file containing the terraform templates (e.g. https://github.com/hashicorp/terraform/tree/master/examples/aws-two-tier) OR
an inline terraform state definition in YAML (nice to have)

The blueprint multicloud will allow passing variable to the terraform template
Extending the container.
When a fitting has 'multicloud', we call out to terraform to provision the external resources via a CLI (wrap from Python).
Because Terraform is 150MB, I recommend having a separate container image for multi-cloud.

done in 0.9.6. Need to address the Docker issue where it only fetches the fittings.yaml file

added support for fetching manifests. closing issue


decompression: deprecate runtime guard append_to_accept_content_encoding_only_once.

Commit Message:
Deprecate envoy_reloadable_features_append_to_accept_content_encoding_only_once runtime guard and remove the old code path.
Additional Description:
Risk Level: Low
Testing: Unit tests.
Docs Changes: N/A
Release Notes: inline
Platform Specific Features: N/A
Fixes #23591

nit, forget to add a release for this https://github.com/envoyproxy/envoy/blob/ce49966ecb5f2d530117a29ae60b88198746fd74/changelogs/current.yaml#L15

nit, forget to add a release for this
https://github.com/envoyproxy/envoy/blob/ce49966ecb5f2d530117a29ae60b88198746fd74/changelogs/current.yaml#L15

Thanks, fixed.

/retest

/wait

/retest


Added city lights theme

Description

Was not found in issues page.
Type of change

[ ] Bug fix (added a non-breaking change which fixes an issue)
[x] New feature (added a non-breaking change which adds functionality)
[ ] Updated documentation (updated the readme, templates, or other repo files)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[x] Tested locally with a valid username
[x] Tested locally with an invalid username
[x] Ran tests with composer test
[x] Added or updated test cases to test new features

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Screenshots

i should havve added that in the first place, is there anyway i can add it in the same pull request?

is there anyway i can add it in the same pull request?

@Ryan-da-ghost
You can add to the pull request by making changes on the same branch.
In your case, the branch is Ryan-da-ghost:main. Any changes there will show up in this pull request.
In general, it's best to make new branches for features before making pull requests, but it should still be fine.

Oh ye forgot ! I updated it

Done!

Looks good! Thanks for contributing!


How to Identify DLP Dictionary ID

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Hi Will,
This is More of a question rather than Feature. When creating DLP Engine, we need to use DLP Dictionary ID.
can you please suggest how to pull out the Dictionary ID to be used in DLP Engine
resource "zia_dlp_engines" "this" {
    name = "Example1000"
    description = "Example1000"
    engine_expression = "((D63.S > 1))"
    custom_dlp_engine = true
}

New or Affected Resource(s)

zia_dlp_engines
zia_dlp_dictionaries

I created a Custom DLP Dictionary and it got an ID assigned as 2
zia_dlp_dictionaries   = "dlp_dictionaries_tf"
data "zia_dlp_dictionaries" "zia_dlp_dictionaries_name" {
  name  = var.zia_dlp_dictionaries
}

When I used this dictionary in Engine using data I got below error
resource "zia_dlp_engines" "dlp_engine" {
  name        = "${var.dlp_engine_name}_tf"
  description = "Terraform ${var.dlp_engine_description}"
    engine_expression = "(${data.zia_dlp_dictionaries.zia_dlp_dictionaries_name.id}.S > 5)"
  custom_dlp_engine = true
}

  # zia_dlp_engines.dlp_engine will be created
  + resource "zia_dlp_engines" "dlp_engine" {
      + custom_dlp_engine = true
      + description       = "Terraform us_cai_dlp_engine"
      + engine_expression = "2.S > 5"
      + engine_id         = (known after apply)
      + id                = (known after apply)
      + name              = "us_cai_dlp_engine_tf"
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + dlp_engine_id   = (known after apply)
  + dlp_engine_name = "us_cai_dlp_engine_tf"

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

zia_dlp_engines.dlp_engine: Creating...
╷
│ Error: FAILED: POST, https://zsapi.zscalertwo.net/api/v1/dlpEngines, 400, 400 , {"code":"INVALID_INPUT_ARGUMENT","message":"Unexpected token, Error position:2"}, api responded with code: 400
│
│   with zia_dlp_engines.dlp_engine,
│   on main.tf line 1, in resource "zia_dlp_engines" "dlp_engine":
│    1: resource "zia_dlp_engines" "dlp_engine" {

I was thinking when using data with the name of the Dictionary I will be able to use the ID of it to assign it to engine.
Please suggest.

please close it, i Figured out what I was doing wrong
I need to use this code
resource "zia_dlp_engines" "dlp_engine" {
  name        = "${var.dlp_engine_name}_tf"
  description = "Terraform ${var.dlp_engine_description}"
  engine_expression = "((D${data.zia_dlp_dictionaries.zia_dlp_dictionaries_name.id}.S > 5))"
  custom_dlp_engine = true
}


[stable/instana-agent] Chart version 1.0.25

What this PR does / why we need it:
This improves the liveness checks for the instana agent Kubernetes monitoring to ensure if the leader agent is not correctly monitoring Kubernetes, then leadership is relinquished.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/lgtm


non english characters mangled in replies from ChatbotGPT

Hi, when using this plugin to ask questions in Danish, the replies from chatGPT are returned with escaped utf-8 sequences / codes instead of the actual Danish characters.
Example reply:
Chatbot teknologi er en computerprogram, der kan simulere en samtale med et menneske. Dette --->  g\u00f8res  <-----
ved at bruge et  --->  s\u00e6t   <---- af algoritmer at analysere samtaler og generere svar, der er relevante for den
samtale, der er i gang.

So in this case \u00f8 should have been 'ø'
and \u00e6 should have been 'æ'.
Is there a way to get the right characters back into the buffer?

@kiil I did some investigation on this a while back, I tried a few things but eventually came to the conclusion that it's not possible to fix this in an elegant way. See for more info https://github.com/neovim/neovim/issues/14281
Neural is in the alpha stage right now and going through a backend rewrite. We will handle decoding UTF-8 characters in python which should hopefully fix this.

Hello @kiil . Is this still an issue in the current version?

@w0rp This seems to have been fixed. Thank you!

Great! Python makes handling Unicode much easier, which is one of many reasons why we opted for it.


Freezing during Karma test

Not sure what is causing this, but when I use router.navigate(['/']) during a Karma test the browser and test locks up.

Does RouterTestingModule handle the "navigated" property?  I was depending on this to do a one time redirect, but that one time has turned into recursion.


Make it easier to publish a new version

Included in this PR:

instructions about the steps for publishing a new version
a script to automatically and easily create the ZIP archive to be uploaded to the ConcreteCMS Marketplace

Thanks

With this PR I've submitted all the changes that I was thinking about.
If you want, you can publish a new version of the package.


Question : Get a list of trigger types programmatically

Instead of hard-coding, can we get a list of triggers programmatically from OpenSearch server?
Triggers list

@amsiglan @AWSHurneyt , can you please look into it?


Add french translation

Also order translation by alphabetical, and add some Hardcoded string as translation

Thank you, Stephane! :1st_place_medal:


Handle HTML files

Would be useful to be able to handle HTML files during the build process. Processing should include finding dependencies and rewriting paths to point to hashed/versioned paths.
Benefits

A frequent pain-point is transitioning a hard-coded html file to a production environment. Generally, I've been happy to add an extra minute's overhead of cloning the file and rewriting urls as it's a trade-off made to preserve a simple codebase. That being said, it's a pain when making frequent, incremental deployments. Like most repetitive tasks, it's ripe for automation.
Might help to reduce the time necessary to go from an empty project to a wired up, viewable project.
Moving the bootstrapping html-document out of the build script would be great.

Precedents

https://github.com/webpack/html-loader
https://github.com/ampedandwired/html-webpack-plugin

Problems to solve

Handling index resolution, eg: foo/index.html is served from both foo/index.html and foo/. Might need to consider expanding the notion of urls to cover multiple urls per file.

Heavily dependent on #113

While most compilation units (js, css, etc) can be generated agnostic of the outcomes of their dependencies, HTML files require explicit links to their dependencies assets.
When compiling, will require a means to defer the completion of html files until urls can be generated for the linked assets.


Refs #28600 -- prefetch_related support in RawQuerySet

This PR adds

Results caching support in RawQuerySet
Prefetch related support in RawQuerySet

Ticket: https://code.djangoproject.com/ticket/28600

Hi @carltongibson I've added the requested unit test and also re-phrased the docs a little bit. Please have a look again when you have time

@carltongibson __len__ & __bool__ are not implemented in this PR. I'll open a new PR for that and afterward and ll remove below warning in that PR.
While a ``RawQuerySet`` instance can be iterated over like a normal
:class:`~django.db.models.query.QuerySet`, ``RawQuerySet`` doesn't
implement all methods you can use with ``QuerySet``. For example,
``__bool__()`` and ``__len__()`` are not defined in ``RawQuerySet``, and
thus all ``RawQuerySet`` instances are considered ``True``. The reason
these methods are not implemented in ``RawQuerySet`` is that implementing
them without internal caching would be a performance drawback and adding
such caching would be backward incompatible.

Sounds good or should I push those too in this PR?

@uadnan I think we need to adjust the warning twice. Once for this PR. Once for the other. (Imagine we have to revert one due to a regression.)

@carltongibson got the point. I've removed the reason phrase from that warning.

Could it be split into two commits? Result caching, then prefetch related?

@timgraham done :)


add i18next specific locale formatting to support chinese

Prior to this, certain kinds of chinese locales would not be translated properly.
i18next will silently refuse to translate for you if your locale has any underscores in it.
J=TECHOPS-2885
TEST=manual,auto
tested I can do zh-Hant_TW translations in the theme

Coverage increased (+0.4%) to 51.461% when pulling 45e88befe27f7088bc7a7c3e2f303ca46ac32774 on dev/fix-i18next-chinese into d2226c6fa5a36bfcf851ac61c9ee14045e5b291d on develop.

I think SDK translator.js would need to be updated like this too right?

I think SDK translator.js would need to be updated like this too right?

gratefully for SDK chinese locales we only have zh-Hant and zh-Hans, so it shouldn't be urgent to patch this! I will still put up a PR though (thank you for reminding me!)


[DO NOT MERGE] Test vJ updates for Cost of living page

This is demonstrating to a content designer during training how to do updates themselves without a developer.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

Demo done


Tensor kron

Adds kron and pivot wrappers for tn.Tensor.
Changes default arguments to pivot_axis in a few places to agree with those made in master during the PR process.
A few functions added to init.py.

Also merges (which is why this is so big) and gives Tensor real and imag properties in the Jax and NumPy cases. Later we will want to make these backend functions.

Closing until pivot_fix and non matrix gmres changes are merged into master, since this is merged with these.


Make query errors copyable

Description
Fixes #1769

Checklist

[x] For UI or styling changes, I have added a screenshot or gif showing before & after
[x] I have added a changeset

Noice!


Zephyr image dependencies / flash dependencies

Part of: https://github.com/zephyrproject-rtos/zephyr/issues/41640
When using sysbuild to control multiple images, then it may be necessary to ensure images are CMake configured / build,and flash in a certain order.
In this initial sysbuild implementation, #40555, a dedicated IMAGE variable is used for tracking images and their flash order.
With this improvement, the IMAGE list should be transformed into a general target property in sysbuild (implementation details to be discussed) and the ExternalZephyrProject_Add() should support a DEPENDS argument.
The DEPENDS must ensure that CMake configure is executed for the depends target before the target that specifies such dependency.
For flash order handling it must be possible for a target to specify a FLASH_DEPENDS.
Flash depends targets must always be flashed before the the target which specifies such dependency.
If a target specifies DEPENDS, but not FLASH_DEPENDS, then targets specified using DEPENDS should also be used as FLASH_DEPENDS.

For flashing, the flash order is more dependent on the different boards than it is the images of one particular board, e.g. for nrf5340 then the flash order should be: network core, application core secure, application core non-secure. This level of flashing ability is required, without needing images to specify their dependency on other images e.g. smp_svr makes use of bluetooth so needs the hci_rpmsg project for the network core, it also pulls in mcuboot for the application core and, in theory, could pull in mcuboot for the network core in the future - hci_rpmsg cannot have knowledge of smp_svr or mcuboot.
In terms of flashing order at a specific board level, this is really already handled today, e.g. mcuboot prepends to the images list whilst other images append. Unless there is something crucial like a full flash erase in an image (and I would argue that this should actually be removed from mcuboot entirely - if you want to do a full flash erase, there should be a generic west flash argument for it, like there is with the nrfjprog runner. An image should not decide on its own to erase the whole flash of a micro)

For flashing, the flash order is more dependent on the different boards than it is the images of one particular board, e.g. for nrf5340 then the flash order should be: network core, application core secure, application core non-secure.

that can also be true, but not the only need.
There may still be images that depends on outcome of other images.
Could be images where an artifact is produced and later consumed by another image (an example can be TF-M).
There can be images which writes special values to register thus locking a device, such image could be required to be flashed last, regardless of board order.
One use-case does not rule out another, so both are needed: image dependencies and inter board flash order / dependencies.

hci_rpmsg cannot have knowledge of smp_svr or mcuboot.

and it should not. I should never setup dependencies to everything, it should only setup a dependency if such a dependency exists.

and I would argue that this should actually be removed from mcuboot entirely - if you want to do a full flash erase, there should be a generic west flash argument for it

there we agreed, but that problem is orthogonal to this issue.
The feature in this issue is still needed regardless of whether mcuboot is having this setting or not.

@tejlmand, I understand that both "dependencies" are required, why not call them:
a. IMAGE_GENERATE_DEPENDENCY: when a image is generated the dependency image already needs to be generated,
b. IMAGE_LOAD_DEPENDENCY: when a image is loaded, the dependency image needs to be in place,
The first is used during image generation, the second during image assembly and flashing.

The DEPENDS must ensure that CMake configure is executed for the depends target before the target that specifies such dependency.

This requires introducing a new "hook" for supporting this in modules, at present, the main application is added, then mcuboot (if enabled), so these will need to be swapped to support the DEPENDS argument. Then if that feature is to be expanded by modules, they might want to add a bootloader, but they might also want to add an extra image that depends on e.g. mcuboot, so modules would need to be able to add images at the beginning and at the end. It's then possible that those images might want to add dependencies to normal images - e.g. hello_world, when that image is added (possibly by a callback function) checking if it should add a dependency to mcuboot or another bootloader (or possibly by variable e.g. CORE_BOOTLOADER).


Autocompletion for double backtick unions doesn't work

/cc @vasily-kirichenko

What about types in general?

same thing

also squigglies:

and since ranges are incorrect, we get wrong suggestion as result:

added a test: https://github.com/Microsoft/visualfsharp/pull/2233

Fixed in https://github.com/Microsoft/visualfsharp/pull/2235


Still cannot support int type

dkv-cli> int.put k1 123
dkv-cli> null

The int type still can't support and description statment should returned but null

closed by #563


chore: update help message for reset flags

What kind of change does this PR introduce?
related https://github.com/supabase/supabase/pull/19728
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.06%) to 58.083%

Files with Coverage Reduction
New Missed Lines
%

internal/debug/postgres.go
3
64.86%

internal/gen/keys/keys.go
5
12.31%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
5925

Relevant Lines:
10201

💛  - Coveralls


View variable values in hexadecimal format in debug mode

DUPLICATE #3060 was closed because of non-existent VSCode support.
However, it should be do-able now with https://code.visualstudio.com/updates/v1_49#_contributable-context-menu-for-variables-view, where they specifically showcase "View as hex" as an example.

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.


How to install

Been messing around for an hour fk

To use it in developer mode, you need to generate your own database in Supabase and the key for other services such as Google Fonts, defined in the .env file, and install the necessary tools like node.js and pnpm.
If you just want to use the application, just access the website betterwrite.io


Fix recovering swap files so that Vim recognizes all swap files creat…

…ed by Vim
This is a bug fix for this issue https://github.com/vim/vim/issues/2395
Vim makes swap files .s[a-w][a-z] but only recognizes .s[u-w][a-z] when trying to recover them.

I also removed the checking for uppercase letters as Recover documentation doesn't mention uppercase letter case.

I also removed the checking for uppercase letters as Recover documentation doesn't mention uppercase letter case.

I think it was for MS-DOS which didn't preserve cases. We have already dropped support for it, though.

Ah yea MS-DOS of course :P

Ken Takata wrote:

I also removed the checking for uppercase letters as Recover
documentation doesn't mention uppercase letter case.

I think it was for MS-DOS which didn't preserve cases. We have already
dropped support for it, though.

On Mac filesystems are also not case sensitive.
--
hundred-and-one symptoms of being an internet addict:
76. Your ISP regards you as a business partner rather than as a customer.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


Remove version: OSGeo.GeoServer version 2.20.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


Create /admin/settings/edit using raw Twitter Bootstrap

 Issue by chriskacerguis
Tuesday Mar 03, 2015 at 14:39 GMT
Originally opened as https://github.com/projectjellyfish/ux/issues/245

Please put in https://github.com/projectjellyfish/ux-refresh

no longer valid.  closing.


Potential memory leak in local.py

The problem:
The memory footprint of a flask application keeps increasing as requests are coming in, suggesting a leak.
Some context:
The application is a rather simple one, the testing has been done against a simple endpoint returning an empty string, so no heavy work or anything else is done under the hood.
The application uses gevent and thus greenlet as well.
While profiling the app it turns out that greenlet objects are not collected.
This behavior is encountered when using Werkzeug 2.0.1.
However, if downgrading to Werkzeug 1.0.1 the memory usage is rather constant and the application works as expected.
I wonder if this may be related in any way, as the older implementation in Werkzeug 1.x is working as expected.
Some more context:
This is a graph based on the application running with Werkzeug 1.0.1

This is a graph based on the same application running with Werkzeug 2.0.1

In both situations the application has been fed with 10k reqs.
Environment:

Python version: 3.7
Werkzeug version: 2.0.1
Gevent 1.3.7
Greenlet 1.0.1

Any help or ideas in this regards are much appreciated.

If greenlet isn't collected, then that sounds like a bug with greenlet.

Right, that was my first thought as well, but in such case I'd expect to have the same leak with Werkzeug 1.0.1 as well. Maybe ContextVar doesn't "play" that well with Greenlet?

I barely know anything about greenlet or ConextVar, let alone the internal interactions with the gc. You're welcome to look into this more, but I won't be able to. Again, "greenlet doesn't play well with contextvar" sounds like a bug in greenlet.

Sure thing, this defenitelly requires more looking into. I was merely curious if such a behavior has been met before.
The only thing that puzzled me is that 1.0.1 is working fine whereas 2.0.1 does not.
Then again, the usage of ContextVar has been introduced in 2.0.0; here #1778
Regardless, thank you for your input.

@pgjones any thoughts here?

One thing I noticed in v1.0 is this, essentially the greenlet object is just removed from the storage dict.
In v2.0, the __release_local__() call ends up here - where the greenlet objects keep being added in the storage.
Simply updating the __release_local__() method in v2 to do the same removal as in v1 seems to lead to a correct behavior.
However, I'm not insisting that this is the solution  as I'm not familiar with neither the werkzeug or greenlet code base.
But I'd gladly assist in debugging, if required.

@mariusmagureanu "Simply updating the release_local() method in v2" - could you share the diff? I think with the greenlet version you are using (v 1.0.1) greenlet.GREENLET_USE_CONTEXT_VARS will be True and a stdlib ContextVar will be used, rather than the Fake one you've linked to so I'd like to understand how this helps.

Here comes the diff:
diff --git a/src/werkzeug/local.py b/src/werkzeug/local.py
index a5a7870e..fbbe63af 100644
--- a/src/werkzeug/local.py
+++ b/src/werkzeug/local.py
@@ -145,7 +145,7 @@ class Local:
         return LocalProxy(self, proxy)

     def __release_local__(self) -> None:
-        self._storage.set({})
+        self._storage.storage.pop(_get_ident(), None)

     def __getattr__(self, name: str) -> t.Any:
         values = self._storage.get({})

I can't totally rely on the stdlib ContextVar usage, my app may also run on python 3.6; If I'm not mistaking stdlib ContextVar has been introduced in 3.7;

Thanks, that makes sense. I think I've fixed in #2212.

@pgjones Thanks for your help.


sysupgrade -b u-boot upgrade not work

build firmware-2024-12-21
running
sysupgrade -b

shows usage only
Run as /sbin/sysupgrade -b
Usage: /sbin/sysupgrade [-x] [-f|-p|<file>|<URL>]
...

then
 sysupgrade -b -p

updates only u-boot without kernel and rootfs
Run as /sbin/sysupgrade -b -p
Creating /tmp/sysupgrade directory
Updating self
######################################################################## 100.0%
######################################################################## 100.0%
Re-running script from /tmp/sysupgrade
Run as /tmp/sysupgrade/sysupgrade -b -p
Upgrading from GitHub
Downloading firmware from:
https://github.com/themactep/thingino-firmware/releases/latest/download/thingino-xiaomi_mjsxj03hl_t31l_jxq03p.bin
######################################################################## 100.0%
Downloading checksum from:
https://github.com/themactep/thingino-firmware/releases/latest/download/thingino-xiaomi_mjsxj03hl_t31l_jxq03p-update.bin.sha256sum
######################################################################## 100.0%
Verifying downloaded file
thingino-xiaomi_mjsxj03hl_t31l_jxq03p-update.bin: OK
'thingino-xiaomi_mjsxj03hl_t31l_jxq03p-update.bin' -> '/tmp/sysupgrade/fw.bin'
Erasing block: 8/8 (100%)
Writing kb: 256/256 (100%)
Verifying kb: 256/256 (100%)

After executing
sysupgrade -b -p

camera stop booting, no TTY serial output.
Repaired by Ingenic USB Cloner

sysupgrade -b -f

Upgrading from GitHub
Downloading firmware from:
https://github.com/themactep/thingino-firmware/releases/latest/download/thingino-xiaomi_mjsxj03hl_t31l_jxq03p.bin
######################################################################## 100.0%
Downloading checksum from:
https://github.com/themactep/thingino-firmware/releases/latest/download/thingino-xiaomi_mjsxj03hl_t31l_jxq03p.bin.sha256sum
######################################################################## 100.0%
Verifying downloaded file
thingino-xiaomi_mjsxj03hl_t31l_jxq03p.bin: OK
'thingino-xiaomi_mjsxj03hl_t31l_jxq03p.bin' -> '/tmp/sysupgrade/fw.bin'
Userland image does not have a bootloader!
Clean up temporary files.

There is no such option as "-b"
https://github.com/themactep/thingino-firmware/wiki/Updating-Firmware#from-the-camera-itself

its a new in testing option i believe

confirmed, need more testing on -b

-p and -b is a nasty request, lol.

i think @felipecrs 's sysupgrade PR needs to be revisited

I can reopen it and make any needed changes if there's any intention to merge it.

One source of truth. We use the same firmware build for everything. No need to download third builds especially since they wont have the env.

?? whats a third build?

We build bootloader along with the rest of the firmware, incorporating device-specific environment. You offer to download it from a different repo, built for a generic soc model, without environment. What hidden benefit did I miss here?

i crossed that out =D


structure definition migration script.

Do you have a script today so we can migrate the definition structure that will be discontinued in the future to the new definition form?
Because I'm here thinking about developing, where I pass the json javascript and replace the name among other details you need.

@GlauberF Do you means Angular semantics update (ng update) ?

exact, example until then we had for example.
...
templateOptions: {
      ...
}
...

in a while the structure will only be
...
props: {
      ...
}
...

This is an example, but the idea at first is to create a CLI, because in my case, for example, the definition of the structure, example mentioned above, is in a database, so ng update does not solve for my use case .
I understand that a CLI would help both those who have code locally and people like me who have it in a database.

We'll provide the migrations guide but for database, we cannot provide a migration script because it depends on you custom implementations.
I would suggest for your case to keep supporting both syntax, the legacy definition will be available through a custom extension in v7.

The old syntax is still allowed, the migrations guide will be provided in v7.


feat: Implement peering with pubsub

Which problem is this PR solving?

Implement the current peers system using a pubsub model for peers

Short description of the changes

Add start/stop to pubsub so it can become injectable
Implement pubsub peers using the new pubsub system and generic.SetWithTTL
A basic test

Still to do:

more testing
make it more idiomatically injectable, including the old model

closes #1201

Superceded by #1220


Delete flag in configuration

- Do you want to request a feature or report a bug?
Feature request
- What is the current behavior?
Currently an user can delete any file that's available via CMS. If you have important files like settings.json and home.md, you may want to restrict  deletion action to minimise the chaos.
- What is the expected behavior?
Ideally a delete on/off flag in config.yml at file/section level.

Was just coming here to file this! I think this field would make a great partner to the create field.


Resource Managenent  Design

UI Design
Peer owner can access the resource management feature from the following UI point:
Console UI-> Resource Hosts -> Profiles  tab
In Profiles page owner should see list of profiles and must have ability create/delete/change profiles.

In Resource Host tab, owner can apply profile  to selected RH:

DB Design
To store and get access for profiles one table must enough.

REST API
We must implement REST API to manage RH profiles.
Everyone can read RH profiles and only owner can create or change profiles
Dependencies
Console should collect statistics about resource usage from agent. We have ready API`s to get all info except network data, we need to talk about it with sysnet team. We will get avarage of used resources (RAM, CPU) for last 15 minutes, it will help collect more correct data.

As I understand we will use these resources RAM, DISK, CPU, and will not use network.
@niclash clarify plz


Delete file, now working?

It just goes to a NODE INFO page ... not sure how to remove a file!

+1
ipfs block rm <hash>  , i try it


Make sure to set DT_RUNPATH rather than DT_RPATH with the GNU toolchain

With the GNU toolchain, directories set with -rpath are searched
before LD_LIBRARY_PATH is considered.  If you're building OpenSSL
1.1.1-dev with a prefix where OpenSSL 1.1.0 is already installed, you
get into trouble no matter what you set LD_LIBRARY_PATH.  That can be
fixed by using LD_PRELOAD, but that comes with its own problems.
A better way is to tell the linker to store the -rpath directories
with DT_RUNPATH tags rather than DT_RPATH ones.  DT_RUNPATH
directories are considered after LD_LIBRARY_PATH.
Other platforms that use ELF may have the same issue.

Fixes #1635

Of course problem with suggested approach is that it affects all platforms that rely on rule in question, and it's not given that all actually support it. Somewhat similar problem with --noexecstack assembler option is solved by looking for it in --help output in assembler at hand. It would be more appropriate to probe even for this option. Not necessarily in same way as --noexecstack. [As for latter, it also might be appropriate to move the probe to Configure...]

The whole rpath stuff should be moved to config targets...

FreeBSD at least is also impacted by the rpath issue, and has the "new-dtags" runpath support.
While I agree that this stuff belongs in config targets, I think this is enough of an incremental improvement to be worth doing as an interim measure.

The whole rpath stuff should be moved to config targets...

Is it established that all [older] versions support of any given platform support it?

Is it established that all [older] versions support of any given platform support it?

Well, what criteria does openssl use to determine what platforms are supported.  Those OS versions which are supported by their respective upstream?
(FreeBSD has had new-dtags since FreeBSD 5.0, which is long out of support by FreeBSD.)

@kaduk, I just pushed a commit fixing it specifically for BSD systems.  However, when looking at libcrypto.so with objdump on a FreeBSD 8.4 box, I notice that there is no DT_RPATH tag, just a RPATH one, and if memory serves, that one is considered after LD_LIBRARY_PATH...

@levitte well, I guess I was speaking more in general than specifically for openssl; I had to patch krb5 to use new-dtags for freebsd back in https://github.com/krb5/krb5/commit/453b89100 and so it was on my mind.  Is there a reason to not move to the new dtags anyway, though?

There's really only a reason to do so if they're actually used...  I'm checking on that FreeBSD box I mentioned, just to make sure

It looks like Configurations/unix-Makefile.tmpl is slightly wrong as well...  that special hack for BSD (see the setting of LIB_LDFLAGS) gives this linking command:
make -f ../openssl/Makefile.shared -e  PLATFORM=BSD-x86_64  PERL="/usr/local/bin/perl5.20.2" SRCDIR='../openssl' DSTDIR="."  INSTALLTOP='/home/levitte/.private-installs/usr' LIBDIR='lib'  LIBDEPS=' '""' '  LIBNAME=crypto LIBVERSION=1.1  LIBCOMPATVERSIONS=';'  CC='cc' CFLAGS='-DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/home/levitte/.private-installs/usr/ssl\"" -DENGINESDIR="\"/home/levitte/.private-installs/usr/lib/engines-1.1\"" -DL_ENDIAN -Wall -O3 -pthread -D_THREAD_SAFE -D_REENTRANT  -Wa,--noexecstack -fPIC'  LDFLAGS=''  SHARED_LDFLAGS='-Wl,--enable-new-dtags,-rpath,$(LIBRPATH)' SHLIB_EXT=.so.1.1  RC='windres' SHARED_RCFLAGS=''  link_shlib.bsd-gcc-shared
LD_LIBRARY_PATH=: cc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="/home/levitte/.private-installs/usr/ssl" -DENGINESDIR="/home/levitte/.private-installs/usr/lib/engines-1.1" -DL_ENDIAN -Wall -O3 -pthread -D_THREAD_SAFE -D_REENTRANT -Wa,--noexecstack -fPIC -Wl,--enable-new-dtags,-rpath, -shared -Wl,-Bsymbolic -Wl,-soname=libcrypto.so.1.1 -o ./libcrypto.so.1.1 -Wl,--whole-archive,--version-script=crypto.map ./libcrypto.a -Wl,--no-whole-archive

I'll have you not how empty the -rpath argument is...

Is it established that all [older] versions support of any given platform support it?

Well, what criteria does openssl use to determine what platforms are supported

What I tried to say is that one doesn't have to answer that question. One can instead ask ld. Note that DO_GNU_APP is used on all kind of OSes.

I found out why the -rpath argument is empty on BSD...

... and with that, to bed.  I'll figure out asking ld tomorrow.

Why do we even set an rpath? I actually need to remove this in Debian.
The only time an rpath can be useful is when you install something
to a non-default location. It might also be useful for
non-installed binaries so that you don't have to use
LD_LIBRARY_PATH in that case, but then you'd have to relink them
when installing them.

Why do we even set an rpath? I actually need to remove this in Debian.

Very good point.  We did use it in 1.0.x because the default installation was in /usr/local/ssl/lib, which isn't a standard location.  With 1.1.0, the default installation directory for the libraries is /usr/local/lib, which is a standard location.
One could say that for 1.1.x, we should remove all our fiddling with RPATH and let the user set it on the configuration command line if they wish to.  I'll make an alternate PR for this...  tomorrow.

Closing this in favor of #1699


[Bug] Returns "delimiter error"

I installed 4scanner with pip, and then made my json.
However, when I tried to run it, I got an error:
dave@dave-HP-EliteBook-8560w:~/Code/Active - Long$ 4scanner file.json
05/Apr/2016-14:31 Searching threads...
Traceback (most recent call last):
File "/usr/local/bin/4scanner", line 38, in <module>
main()
File "/usr/local/bin/4scanner", line 33, in main
scanner.scan(args.keywords_file, output, log_file)
File "/usr/local/lib/python3.4/dist-packages/scanner/scanner.py", line 63, in scan
json_file = json.load(open(keywords_file))
File "/usr/lib/python3.4/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 359, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting ',' delimiter: line 8 column 5 (char 152)
What could be causing this?

Could you post your json file here so I can check whats wrong with it?

{"searches":[
{
"folder_name":"Asian",
"board": "hm",
"keywords": ["asian", "chinese", "japanese", "korean"]
}
{
  "folder_name":"HR - Minaj",
  "board": "hr",
  "keywords": ["niki", "minaj"]
}

{
  "folder_name":"Rails",
  "board": "n",
  "keywords": ["trains", "rails", "tracks", "amtrack", "rail lines"]
}

]}
Sorry the formatting is weird.

I'm at work right now so I can't test, but try it like this it should work:
{"searches":[
    {
    "folder_name":"Asian",
    "board": "hm",
    "keywords": ["asian", "chinese", "japanese", "korean"]
    },

    {
      "folder_name":"HR - Minaj",
      "board": "hr",
      "keywords": ["niki", "minaj"]
    },

    {
      "folder_name":"Rails",
      "board": "n",
      "keywords": ["trains", "rails", "tracks", "amtrack", "rail lines"]
    }
]}

I added a some missings ','.

It's working now, thanks!


Add a Kyua quickstart guide

I have talked to a few people, and they have all told me that the
documentation for kyua is oriented towards discussing how kyua was implemented,
and not so focused on quickly bootstrapping someone who wants to use kyua.
I wrote this quickstart guide to kyua:
https://github.com/rodrigc/kyuawiki2/commit/e4c9b1e5019d1c6f6b18a619e3a2bcce3e1c5611
I tried to keep it as minimal as possible.  I've gotten some positive feedback about it.
Please incorporate it into the main kyua wiki.
You can see the rendered form of the quickstart guide here:
https://github.com/rodrigc/kyua/wiki/Quickstart-Guide

@jmmv: can you incorporate this into the Kyua wiki docs?

Oh yes. Last time I looked, I did not feel the guide was well-organized, but now it looks much better! Do you mind if I tweak the style and wording a bit when doing so?

Do what you have to do.  Let's get this in.

Can you accept this patch as it is, and then fixup the wiki to your requirements later?
I understand that you are busy with implementing parallel test execution, but I submitted this patch 5 months ago.  It would be good to get this in, to improve the docs.

Let's do this now. I apologize again for the delays. I had separated my OSS email to a different account with the idea to look at it only when I had "free" time but the experiment has utterly failed... so I'm reverting that.

Merged your Quickstart Installation contents into the regular Installation page. There shouldn't be two.

Alright, I think I have imported everything. Let me know if I missed anything.
I have also wiped the front page of the wiki and reduced it to some links, and moved the contents to the sidebar for cleaner looks.

@jmmv: thanks for doing this.  I hear ya regarding free time.  I don't think there is such a thing as free time any more....:)

Heh, indeed. Well, more than "free time" I was intending to treat Kyua as "work" and explicitly setting aside time for it either at home or in the office (20% time, etc. etc.). But because doing the latter is hard, I have been missing all project notifications... which is certainly not good for anyone.
Anyway: no, thank you for writing this up and contributing it!