html build script

At the moment the script that build static HTML fails. This is because of an error at the includes in the template. Not sure where the problem lies.
(node:64411) UnhandledPromiseRejectionWarning: Error: ejs:1
 >> 1| <%- include('partials/head') %>
    2| <%- include('partials/header') %>
    3| <!-- <img src="static/test.png"> -->
    4|

Could not find the include file "partials/head"
    at getIncludePath (/Users/nbmp/git/minor/progressive-web-apps-2021/node_modules/ejs/lib/ejs.js:183:13)
    at includeFile (/Users/nbmp/git/minor/progressive-web-apps-2021/node_modules/ejs/lib/ejs.js:309:19)
    at include (/Users/nbmp/git/minor/progressive-web-apps-2021/node_modules/ejs/lib/ejs.js:690:16)
    at eval (eval at compile (/Users/nbmp/git/minor/progressive-web-apps-2021/node_modules/ejs/lib/ejs.js:662:12), <anonymous>:10:17)
    at anonymous (/Users/nbmp/git/minor/progressive-web-apps-2021/node_modules/ejs/lib/ejs.js:692:17)
    at Object.exports.render (/Users/nbmp/git/minor/progressive-web-apps-2021/node_modules/ejs/lib/ejs.js:423:37)
    at renderTemplate (/Users/nbmp/git/minor/progressive-web-apps-2021/scripts/build-html.js:44:14)
    at /Users/nbmp/git/minor/progressive-web-apps-2021/scripts/build-html.js:29:18
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:64411) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:64411) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Fixed in commit 793f689.


KFX output

This is very long term goal. Maybe not possible unless Amazon release some tools.
To enable two newest Kindle features - Better pinch zoom and ultra fast page changing - KCC need to create KFX files. At the time of the creation of this issue tools to achieve this don't exist.
EPUB creation process don't need any changes. Kindlegen part need to be replaced.

Only available to the public method to create KFX files (Calibre connected with Kindle Previewer 3) don't work this this type of content - KP3 can't create fixed layout KFX at all.
So unless Amazon publish some additional tools or there will be major breakthrough in KFX reverse engineering don't expect pinch zoom and ultra fast page changing features soon.

https://www.mobileread.com/forums/showpost.php?p=3520463&postcount=212

Nothing new to add. KFX files created by publicly available methods still provide worse experience than KF8 ones.

Dev branch now have experimental KFX output profile that create EPUB files that can be used with Calibre plugin KFX Output by jhowell.

I use the dev branch cli like this:
kcc-c2e.py -q -t "Kotori Cosplay" -f EPUB y:\001
a epub can be generated, converting it to kfx by:
calibre-debug -r "KFX Output" -- y:\001.epub y:\001.kfx
and convertion failed, kfxgenapp error is:
Error(YJConvValidator):E120003: Content containers are not supported for FL books. id:<PHONE_NUMBER>618417252
Am I doing something wrong?

Yes. -f KFX

I tested, kfx comic can be generated, virtual panel mode works, ultra fast page turning works on paper white 3.

Also small PSA for people reading this: Currently KFX provide lower quality than AZW3. New features are not worth it.

Nothing new to add. KFX rendering engine still decrease image quality.

Nothing new to add. There is still no convenient toolchain to implement KFX support in KCC.


Eigenvectors are wrongly assigned

self.evalues, self.evectors = np.linalg.eig(C)
sort_indices = self.evalues.argsort()[::-1]
self.evalues = self.evalues[sort_indices]
self.evectors = self.evectors[sort_indices]
in this snippet of code you sorted evectors row-wise but it should have been sorted column-wise,
because np.linalg.eig(c) returns eigenvectors as every column being an eigenvector.
for reference you can check numpy page for np.linalg.eig()

I have submitted a pull request. please review it.


Update Web Browser Support

Please update web browser support & functionality, its not explicit enough. Example: Edge (RS2+) doesn't support desktop share. Can send/receive A/V, .   Chrome supports desktop share but not sending video in a p2p call, but it does support video in a meeting.  There needs to be better definition of supported features in the two primary modes: calling & meetings.

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

ID: 6457d204-d229-9154-28fd-ca9bbb4bddcd
Version Independent ID: f5d82846-41cb-3548-6997-ce23bd8f89c6
Content: Get clients for Microsoft Teams
Content Source: Teams/get-clients.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@d1bjo0 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@officedocsbot assign @scanum

@d1bjo0 Thank you for reaching out in helping improve MS Docs. Are you suggesting that we add the information that you supplied, or is there more information necessary?

I would say better define the scope of what works with what browser.  For instance  calling, video, desktop sharing, ppt sharing, whiteboarding, app sharing, remote control.  This for both 1:1 and for meetings.  The different browsers each support different features.
Thanks,
Bruce
From: Reece Peacock<EMAIL_ADDRESS>Sent: Monday, June 10, 2019 9:15 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Bruce<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Update Web Browser Support (#2327)
@d1bjo0https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fd1bjo0&data=02|01||fd8e7a4741f644e26eee08d6eda5b125|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636957693222940786&sdata=K4vHXq9moME85aKfoE5C13CQV8XwkeUL33w7%2F6vGDE4%3D&reserved=0 Thank you for reaching out in helping improve MS Docs. Are you suggesting that we add the information that you supplied, or is there more information necessary?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F2327%3Femail_source%3Dnotifications%26email_token%3DAIO4E6E6GHBTVILFOGERLQ3PZZHWTA5CNFSM4HPOREGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJ27JQ%23issuecomment-500412326&data=02|01||fd8e7a4741f644e26eee08d6eda5b125|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636957693222950797&sdata=WuPjvu0dozpsYGm684oqMHbRzXxv3zKxBJo7evoFWOA%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIO4E6HS4KC4TA2FNR7XEQDPZZHWTANCNFSM4HPOREGA&data=02|01||fd8e7a4741f644e26eee08d6eda5b125|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636957693222960796&sdata=Ah0yjuNP4LQ%2F2JkfZmXANnNWEA4umD6yKobxd%2FtyIhc%3D&reserved=0.

@d1bjo0 Thank you, I will get this over to the team.

@voltarone @juturu please review and let me know what additional details you'd like to add to the Browser-support table under Web clients.

@juturu @voltarone any updates on this? Thanks

@juturu @voltarone any updates on this? Thanks

PM Neeraj Jain will look at it.

@LolaJacobsen Any updates on this? Thanks!

Ping'd PM Neeraj Jain again today.

I got the full details on browser support from the PM. I'll be updating the content later this week.


Error: Prompt [undefined] not found in history

Describe the bug
Using the example main.ts script with the min.workflow.json does not return a prompt id, but instead:
RunPrompt does not return a prompt id but also does not error

And when I log the response to console it shows:
{ exec_info: { queue_remaining: 0 } }

But sending the same prompt json via a rest client works, returning:
{
  "prompt_id": "c445e907-9cd9-48f0-8662-e66bd4d63e5b",
  "number": 12,
  "node_errors": {}
}

To Reproduce
  const client = new ComfyUIApiClient({
    api_host: '{removed}',
    api_base: '',
    sessionName: '',
    // user: "comfy-client",
    user: 'undefined',
    WebSocket,
    fetch: fetch as any,
  });
  client.init();

  const resp = await client.runPrompt(mainWorkflow.prompt, {
    //   workflow: mainWorkflow.workflow,
    disable_random_seed: false,
  });

Additional context
Here is theworkflow.min.json I used; the only modification is the checkpoint name. But again, that works fine when sent via a rest client.
{
  "prompt": {
    "1": {
      "class_type": "CheckpointLoaderSimple",
      "inputs": {
        "ckpt_name": "wildcardxXLTURBO_wildcardxXLTURBOV10.safetensors"
      }
    },
    "2": {
      "class_type": "CLIPTextEncode",
      "inputs": {
        "text": "best quality, 1girl",
        "clip": ["1", 1]
      }
    },
    "3": {
      "class_type": "CLIPTextEncode",
      "inputs": {
        "text": "worst quality, bad anatomy, embedding:NG_DeepNegative_V1_75T",
        "clip": ["1", 1]
      }
    },
    "4": {
      "class_type": "EmptyLatentImage",
      "inputs": {
        "width": 512,
        "height": 512,
        "batch_size": 1
      }
    },
    "5": {
      "class_type": "KSampler",
      "inputs": {
        "seed":<PHONE_NUMBER>,
        "steps": 35,
        "cfg": 4,
        "sampler_name": "dpmpp_2m_sde_gpu",
        "scheduler": "karras",
        "denoise": 1,
        "model": ["1", 0],
        "positive": ["2", 0],
        "negative": ["3", 0],
        "latent_image": ["4", 0]
      }
    },
    "6": {
      "class_type": "VAEDecode",
      "inputs": {
        "samples": ["5", 0],
        "vae": ["1", 2]
      }
    },
    "7": {
      "class_type": "SaveImage",
      "inputs": {
        "filename_prefix": "from-sc-comfy-ui-client",
        "images": ["6", 0]
      }
    }
  }
}

fixed a4d94017aff9eb92720a8578689feb1d2263e885

I appreciate the quick response and the great codebase. That may have been part of my issue but my ultimate problem was that I did not have ssl: true in the client config.


Typo fix: pythoic -> pythonic

Coverage remained the same at 70.71% when pulling ea58cdf2cb63e3440142ff6950781c0795732b03 on ash211:patch-1 into 723db17b1ef11d15d4180fd0e372b9a51723f4e4 on cenobites:master.

Thank you!


A 404 error found in Combo page

Describe the bug

This URL is 404 not found, I don't know which demo do you want to display.
Your Example Website or App
https://g6.antv.antgroup.com/manual/middle/elements/combos/default-combo
Steps to Reproduce the Bug or Issue

visit the https://g6.antv.antgroup.com/manual/middle/elements/combos/default-combo
click the link: "Demo" located here

404 not found error

Expected behavior
I want to see a simple combo demo.
Screenshots or Videos

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Thanks for reporting, the demo is: https://g6.antv.antgroup.com/examples/net/comboLayout/#comboCombined
I will update the website ASAP


Include escape sequence for Ctrl-DELETE in curtsieskeys

Should fix missing Ctrl-DELETE sequence for #104.

Should be fine because there are no current sequences that are prefixes of this sequence


Motion sensor becoming non responsive

Hi, I'm using your motion sensor code and it works perfectly. However, I noticed that the board needs resetting every two days or it will go into a No Responsive state?!!!

@AR-Tawil without information it is difficult to say where things are going wrong?

Right, it would be nice to include some more information next time:

which board is this
which SDK and version did you use
was the accessory pingable while being unresponsive
what was the output of dns-sd -B _hap._tcp local (natively on Mac or through Bonjour SDK downloadable from developer.apple.com/opensource/ on Windows)
accessory logs if available


LL-2207 Blacklisting tokens feature

Description
We introduce the possibility to blacklist a token and hide all its related accounts, this was a much-requested feature since the appearance of junk tokens that users didn't want to see in their portfolios. This is the port of the recently merged (even though the text has not been reviewed by @dasilvarosa yet) https://github.com/LedgerHQ/ledger-live-desktop/pull/2788 with the peculiarities that come from it being mobile.
We can access this bottom drawer modal from three different places:

In a parent account by long press on a token account row listed
In an asset screen for a token, the top-right header action now doesn't directly show the contract information but rather an intermediary modal with the possibility of hiding the token or showing the contract.
In the general account list by long-pressing the row for a token.

We can show these accounts again by visiting the new section inside Settings called Accounts where we moved also the option to hide empty token accounts. We are missing a description for that row too

Screenshots

Type
Feature
Context
https://ledgerhq.atlassian.net/browse/LL-2207
https://www.figma.com/file/KdPZlnD9BOpwvaor4twU0H/Hidden-Token?node-id=72%3A46
Parts of the app affected / Test plan
Make sure we can blacklist and show again tokens, just like on https://github.com/LedgerHQ/ledger-live-desktop/pull/2788
As a side note, probably something that can be improved, I was unable to trigger the sync automatically so showing again the tokens will require the user to manually pull down on the screen. I'm sure @gre or someone else can point me in the right direction to sort that one.

The only thing to rework is that the "x" button hitbox to remove a token from the blacklist is too big, when clicking on the token name it deletes it from the list.

The issue addressed in the current version @nabil-brn


development env broken

when using the dev config as stated in document:
[build]
pypi_index_url: http://<IP_ADDRESS>:7778/simple/

I could not get rid of the error message:
New python executable in /var/folders/g6/75g37v6x3yz5gk91f_kxggs00000gn/T/tmp6Cyj4S/resources/pyleus_venv/bin/python
Installing setuptools, pip, wheel...done.
Collecting pyleus==0.3.0
  The repository located at <IP_ADDRESS> is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host <IP_ADDRESS>'.
  Could not find a version that satisfies the requirement pyleus==0.3.0 (from versions: )
No matching distribution found for pyleus==0.3.0
pyleus build: error: [VirtualenvError] Failed to install pyleus==0.3.0 package. Run with --verbose for detailed info.

when run pyleus build ...yaml the pip install would fail with the local pypi server.
I even tried to add --trusted-host to build.py and reinstall pyleus from source, but it is still a no go.
Please help to clarify how should I set up a dev environment.
I am going to open a pull request for adding some more config to topology, I really need a dev environment up and running ...

I had this same issue a while back. The problem is newer versions of pip have stopped trusting hosts by default, so the old local pypi workflow described in the docs will not work anymore.
I just submitted PR #134 that fixes this by added any explicitly defined pypi server as a trusted host when calling pip.
Hope that helps!

hi @mzbyszynski
I've tried your approach or a similar one,
I add --trusted-host <IP_ADDRESS> to the build command like this:
cmd = [os.path.join(self.path, "bin", "pip"), "--trusted-host <IP_ADDRESS>", "install", package]
but still got no luck ...and I did not see how is it different from your PR ... I  mean technically they are identical right?

hi @mzbyszynski
Turns out, your approach or my dirty hack is working ... but it just does not work with virtualenv.
I re-installed the customized pyleus in the host env instead of a virtual one then I got things work out like a charm ...
when I used virtualenv, the binary pyleus I installed in virtual env seemed to be not called, and the one in host env was called instead ... it is confusing

Hmm, I believe virtualenv was working for me last time I tried with this fix. I did have to first do pip install /path/to/project/pyleus/dist/pyleus-0.2.4.tar.gz to in my virtual env first, before running any of the pyleus commands.


fix dark mode and add link

perfect.

on production, the link is getting removed. Have you done any changes?


Regression: empty string paths no longer match

https://github.com/ReactTraining/react-router/blob/0c058adc5b56c6d9b409af5e4d8330c645fac00c/packages/react-router/modules/matchPath.js#L38
Broken by https://github.com/ReactTraining/react-router/commit/7bd1407803ba8fbec8283f12a27128b8bd4bde75 (https://github.com/ReactTraining/react-router/pull/6715)
It is possible to have an empty-string path. Prior to the breaking change this would essentially match anything.
I changed the check to be more specific:
// improve the bail to allow empty-string paths
if (!path && path !== '') return null;

// I added this test to `matchPath-test.js`
describe('with path=""', () => {
    it('returns correct url at ""', () => {
      const path = "";
      const pathname = "/";
      const match = matchPath(pathname, path);
      expect(match.url).toBe("/"); // <-- weird 🤷🏻♂
    });

    it('returns correct url at "/somewhere/else"', () => {
      const path = "";
      const pathname = "/somewhere/else";
      const match = matchPath(pathname, path);
      expect(match.url).toBe(""); // <-- expected
    });
  });

I confirmed the above changes fixed the issue for my app.
I was relying on empty-string paths in my app to enable a custom route config where I needed a conceptual route that always matched. Upgrading to v5.0.1 broke my app and I couldn't figure out why.

Could you submit a PR to fix this?

This was released in 5.1.1 https://github.com/ReactTraining/react-router/releases/tag/v5.1.1


how does the model run rgb2yuv?

I notice you are doing a color space change to yuv while training.
However, it isn't implemented as a keras layer (like Cropping2D)
So, when you export the model and run it in the unity simulator, the model uses RGB itself.
Am I missing something here?
Thanks

Ah.
Thanks for the response, @naokishibuya
:)


Missing options under User Management Configuration

Bug Report
System Information

Ubuntu 20.04
v<IP_ADDRESS>, built 19/11/2021 15:58
Mainline

I confirm:

[x] That I have searched for an existing bug report for this issue.
[x] That I am using the latest available version of AMP.
[x] That my operating system is up-to-date.

Symptoms
As of v<IP_ADDRESS> the User Management Configuration panel appears to be missing most options
Email Address and Disabled fields are present. All user role management, password management etc is missing.
On my <IP_ADDRESS> ADS instance:

On a yet to be updated <IP_ADDRESS> game instance:

Reproduction
This appears to be affecting all isntances running on v<IP_ADDRESS>. An instance I have not yet updated running on v<IP_ADDRESS> still populates all these options fully.
I have attached a debug log from my ADS instance in which I started ADS, created the user, visited the user's management panel where not all options were returned then stopped ADS.
AMPLOG 2021-11-20 15-13-30.log

I can confirm, user passwords can currently not get edited through the web interface, rendering any multi-user admin setup impossible if not dangerous security wise.
AMP Release "Triton"
v<IP_ADDRESS>, built

There was a silent update. Just update again with nocache:
ampinstmgr --UpgradeAll --nocache as user amp

Closing as resolved, as BroOtti mentioned this was fixed on Saturday.


Adjust examples to new @initialization macro

Hello everyone, thanks for revamping the examples for the new release of RxInfer. Unfortunately we have another breaking change that requires a change in the examples. Luckily, this only affects the examples where we need to initialize marginals or messages. Since we're aiming to release on very short notice, we'll be employing @albertpod's favorite strategy: hostile assignment. I've made an overview of which examples need change, and I'll write a migration guide for the new syntax (ready in #278 ). This should't take more than 5 minutes per example, since most code can also be found in the tests. The assignment is merely for everyone to see the new syntax in action once before we release. I'll link the migration guide as soon as I have it ready, but if you check the tests, the code should be very straightforward.

[x] Initialization page in the manual @wouterwln #278

Basic Examples

[x] Bayesian Linear Regression @HoangMHNguyen
[x] Kalman Filtering and Smoothing @Sepideh-Adamiat
[x] Predicting Bike Rental demand @abpolym
[x] HIdden Markov Model @mhidalgoaraya

Advanced Examples

[x] Advanced tutorial @wouterwln #280
[x] CVI @Nimrais
[x] Infinite data stream @Raphael-Tresor

The rest I'll fix myself #280

Update: I'll fix all of them, thanks @HoangMHNguyen !


getBitRate() with GenericStream, StreamBase?

Hi @pedroSG94 ,
In order to implement Adaptive Video Bitrate example using GenericStream (StreamBase), would I need public read access to videoEncoder in order to get the max bitrate with "getBitRate()", or maybe a "getBitRate()" convenience function within StreamBase?
https://github.com/pedroSG94/RootEncoder/blob/942212a0458ba8b3ca45864d6962a02905fc86cb/library/src/main/java/com/pedro/library/base/StreamBase.kt#L73C1-L74C1
https://github.com/pedroSG94/RootEncoder/wiki/Adaptative-video-bitrate
Thank you,
-Ken

Hello,
Yes, you are right. The example is a bit outdated.
I haven't that method in StreamBase because video bitrate is a necessary parameter for prepareVideo (you have a prepareVideo method without parameters using Camera1Base for example so it is necessary to know the default value), you can use the value set to prepareVideo method because getBitrate is only a getter of that value. So in Rotation example you can do it like this:
  private var bitrateAdapter: BitrateAdapter? = null

  override fun onConnectionSuccess() {
    toast("Connected")
    bitrateAdapter = BitrateAdapter { bitrate -> genericStream.setVideoBitrateOnFly(bitrate) }
    bitrateAdapter?.setMaxBitrate(vBitrate)
  }

  override fun onNewBitrate(bitrate: Long) {
    bitrateAdapter?.adaptBitrate(bitrate)
  }

I'm going to update the code example in the wiki.

Ok, noted @pedroSG94 .  Thank you very much!


Update eph documentation

Draft of the eph documentation for user, develop and module. The docstrings are in commensurate with https://github.com/pyscf/pyscf/pull/849

So it looks like this is just vibrational analysis for molecular systems, right? This should be made clearer in the documentation. It might also be a good idea to put in the few lines of theory, i.e. you do a Taylor expansion around the nuclear configuration; if you're at an optimal geometry the gradient is zero and then you're just left with the second-order term (the zeroth is just a constant). Then your nuclei are just coupled oscillators, and you get the mode frequencies from |M-K|=0 where M is the (diagonal) mass matrix and K is the spring matrix i.e. the Hessian

This is meant to compute the non-adiabatic coupling
On Fri, Mar 19, 2021 at 2:26 PM Susi Lehtola @.***>
wrote:

So it looks like this is just vibrational analysis for molecular systems,
right? This should be made clearer in the documentation. It might also be a
good idea to put in the few lines of theory, i.e. you do a Taylor expansion
around the nuclear configuration; if you're at an optimal geometry the
gradient is zero and then you're just left with the second-order term (the
zeroth is just a constant). Then your nuclei are just coupled oscillators,
and you get the mode frequencies from |M-K|=0 where M is the (diagonal)
mass matrix and K is the spring matrix i.e. the geometric Hessian
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf-doc/pull/20#issuecomment-803142937, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NRHWQPSLMOWEHL72L7DTEO6QPANCNFSM4ZPKRIYA
.

So it looks like this is just vibrational analysis for molecular systems, right? This should be made clearer in the documentation. It might also be a good idea to put in the few lines of theory, i.e. you do a Taylor expansion around the nuclear configuration; if you're at an optimal geometry the gradient is zero and then you're just left with the second-order term (the zeroth is just a constant). Then your nuclei are just coupled oscillators, and you get the mode frequencies from |M-K|=0 where M is the (diagonal) mass matrix and K is the spring matrix i.e. the geometric Hessian

It actually computes the 1st order electron phonon matrix (or its equivalence in molecules). Vibrational analysis is just part of the routine.

This is meant to compute the non-adiabatic coupling
…

would you recommend changing the name for this module? And it seems the definition of non-adiabatic coupling matrix is slightly different from the eph matrix in the material community. From https://manual.q-chem.com/4.4/sec-MECPs.html, it doesn't seem to express the matrix in phonon basis as the materials people do (the current implementation uses the phonon basis).

indeed they are both non-adiabatic couplings, but molecular non-adiabatic
coupling is computed w Born-Oppenheimer states. el-ph coupling is the
correct name for this, I think, materials people will know what it means.
In the docs it could be clarified (I haven't had a look).
On Fri, Mar 19, 2021 at 3:17 PM yangcal @.***> wrote:

This is meant to compute the non-adiabatic coupling
… <#m_-5245192846350528665_>
would you recommend changing the name for this module? And it seems the
definition of non-adiabatic coupling matrix is slightly different from the
eph matrix in the material community. From
https://manual.q-chem.com/4.4/sec-MECPs.html http://url, it doesn't
seem to express the matrix in phonon basis as the materials people do (the
current implementation uses the phonon basis).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf-doc/pull/20#issuecomment-803165729, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NRBCFGX5N7PZYF3XIZ3TEPEOZANCNFSM4ZPKRIYA
.

Updates:
More background added in user intro with latest commit 2cb3f4018da8efc7b4b0e59a329dda0dd7994c8a


[minor] fix bench aggregate_query_sql meta

Which issue does this PR close?
related #3217
Rationale for this change
when i run cargo bench --bench aggregate_query_sql
got
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:

InvalidArgumentError("Column 'f64' is declared as non-nullable but contains null values")', datafusion/core/benches/data_utils/mod.rs:140:6

https://github.com/apache/arrow-datafusion/blob/fecc5ac4360c05db934cef38e8bde4fb669f01d6/datafusion/core/benches/data_utils/mod.rs#L120
then call
https://github.com/apache/arrow-datafusion/blob/fecc5ac4360c05db934cef38e8bde4fb669f01d6/datafusion/core/benches/data_utils/mod.rs#L73-L86
but the schema is none-nullable 🤔
What changes are included in this PR?

Are there any user-facing changes?

@alamb  PTAL😊

Codecov Report

Merging #3218 (fecc5ac) into master (4838564) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3218   +/-   ##
=======================================
  Coverage   85.84%   85.84%
=======================================
  Files         291      291
  Lines       52909    52909
=======================================
+ Hits        45419    45420    +1
+ Misses       7490     7489    -1

Impacted Files
Coverage Δ

datafusion/expr/src/logical_plan/plan.rs
78.00% <0.00%> (+0.17%)
:arrow_up:

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


Add bower support

add bower.json for js-info-bubble version 0.8

@skarEE please tag the latest commit (or after the next merged pull request) with branch master and the package version. It's currently impossible to register this package on bower as there are no tags (on any commits).
If you want to register it yourself, please run the following (after adding the appropriate tags to the latest commit):
bower register js-info-bubble git://github.com/googlemaps/js-info-bubble.git
currently getting the error ENORESTARGET Tag/branch master does not exist


Add versions files paths in module creation documentation

As suggested in https://github.com/jhipster/jhipster-lite/pull/3950#issuecomment-1278705066

Hi @DamnClin , I would to pick up this issue :)
I read the referenced comment and from what I understand we need to add the path in the module-creation.md so that the place to add dependency versions whenever a module is created is more explicit.
By file paths, do you mean referencing each of the file/folder managing different dependencies?
For example, adding the filepath for the pom.xml, Dockerfile etc separately in the documentation, because at the moment all of them reside in the same package.

Hello,
It's easier than that :). In src/main/resources/generator/dependencies there are different files handling dependencies for different tools (docker, maven, ...). We just need to document each of this file content.
Those files are used to get the latest version of dependencies and are updated by dependabot (so we don't manage versions by hand)

Ah okay, thank you :)
Will work on it 👍

If you want to make this a little bit more challenging you can have a look at how those files are used to resolve versions in JHLite :D. (I'm actually using that for tech interviews :D)

Already fixed with #4176


Update docs to contain permissions for new watchers

#411 added a number of new watchers.
Before we release v0.7.0, we need to update the quickstart guide and install script to enumerate these permissions.

This was added in PR #416.


How to solve 307 errors

Thanks for your question. This issue tracker is only for bug reports with test cases and feature requests. Please ask usage questions on Stack Overflow.
https://stackoverflow.com/questions/tagged/okhttp


[Question] Access environmental values in plugins

Is there a way to access or pass environmental values into a plugin?
Usecase:
I'm trying to make a plug-in that returns a refreshed JWT based on the JWT set in the current environment.

Found it, you can access them through the context
module.exports.templateTags = [{
    // plugin properties....,
    async run (ctx, param1, param2) {
        console.log(ctx.context.envProperty);
        ...
    }
}];

Hi @chrisvdg. The reason that it's undocumented is that the API for template tags is not finalized yet. You can use that for now but it may change in a future update.

@gschier, will keep it in mind ;)


Colorpick

Implementing https://github.com/AdamsLair/duality/issues/374
It uses a global low level mouse hook to listen to mouse Move events when the color pick button is pressed, and stops listening once the Left or Right mouse button is clicked; Left mouse confirms the change, Right mouse reverts to the last value of the editor.
This click (a single one) is filtered out, so it's safe to click on buttons or other UI elements, even of other windows, without issuing the relative command.
The color can be picked everywhere on the screen, even in a multi-monitor setup.
Also fixes a (bug?) where buttons were set to Hot state whenever the IColorDataPropertyEditor was set to Focused, independently if the button was actually hovered or not.

Merged. Refactored the picking code a little so it uses its own, self-contained class and can be re-used across the editor when needed.


Blank screen after logging in

Hello!
First of all thank you for beautiful solution!
I'd like to use it, but I have such problem: my OS is Centos 6, node v4.6.2, asterisk writes CDR to mysql-database, configuring call-recording is in progress.  In config.ini I've changed only db.connection parameters. Should I install specific module for working with mysql from node?
So, my problem is in blank screen, which I see after entering admin/admincdr in web-browser.

Also I want to mention 2 things:

I have to change 2 files  to get it working:
./lib/api/cdrs.js       and
./lib/api/recordings.js
In both files I added string "use strict"; in first line of file. Without these changes I get errors during "node server.js" command. May be it is only centos6-related issue?
Little fix for you manual in https://github.com/ipoddubny/webcdr/blob/master/INSTALL.md :
before running command "npm run build" user should go in upper directory with command "cd .." , without this command user will get error about "cannot find package.json".

Thanks for the feedback! I've committed added fixes for 1 and 2. I don't think it has anything to do with CentOS, but anyway, there's no reason not to use 'use strict' in node.js.
Regarding your problem, it looks like the browser does not even try to load user profile and start the application. You can try to open DevTools (F12 on Linux/Windows or Cmd+Option+I on Macs) and look for error messages in console and/or network tab.

Thank you for reply.
I made screenshot from console

also, my config.ini file is:
[db]
client = mysql
[db.connection]
host = localhost
user = asterisk
password = somepasshere
database = asteriskcdrdb
charset=utf8
[cdr]
table = cdr
[session]
key = 123hjhfds79374gh
[web]
[recordings]
pattern = /var/spool/asterisk/monitor/%YYYY%/%MM%/%DD%/*%uniqueid%.mp3
[auth.ad]
domain = example
[auth.ad.connection]
url = ldap://server.ip.address
baseDN = dc=example,dc=org
username =<EMAIL_ADDRESS>password = cdruser_ad_password
And content of folder with audio-records:
[root@aster webcdr]# ls -la /var/spool/asterisk/monitor/2016/11/26/
total 392
-rw-r--r-- 1 asterisk asterisk  30816 Nov 26 19:57<PHONE_NUMBER>.552.mp3
-rw-r--r-- 1 asterisk asterisk 141804 Nov 26 19:57<PHONE_NUMBER>.552.wav
-rw-r--r-- 1 asterisk asterisk  38880 Nov 26 20:01<PHONE_NUMBER>.554.mp3
-rw-r--r-- 1 asterisk asterisk 182124 Nov 26 20:01<PHONE_NUMBER>.554.wav

It looks like a dependency-of-a-dependency problem, when a wrong version of a library was installed. However, I could not reproduce the error on node.js 6.9.1 and npm v3.
You may try to remove node_modules and upgrade global npm package (npm upgrade -g npm), then run npm install followed by npm build again. If it doesn't help, try once again using yarn instead of npm.

Thanks a lot!
On the page of Yarn-installation (actually, I didn't installed Yarn, I just used preinstallation steps to install npm) I found right way to install Node on Centos, may be this information will be helpful for somebody in future:
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
yum install -y nodejs gcc-c++ make
After that I decided to follow this recommendation: to use backbone 1.2.3 instead of 1.3.2, I needed to edit package.json for that:
vim package.json
and replace dependency for backbone to 1.2.3 version.
Now everything works! Thank you!


translate-routes and language change

Hey there,
I'm using next-translate-routes and it works fine so far. But when I change the language, the paths were not redirected, but the site-content is correct.
My code for languageChange is like this:
function changeLanguage(language) {
    i18n
      .changeLanguage(language === 'EN' ? 'en' : 'de')
      .then((t) => {
        t('key');
      })
      .catch((err) => {
        console.log('something went wrong loading', err);
      });
    router.push({ pathname, query }, asPath, { locale: language });
  }

my i18 config:
i18n: {
    defaultLocale: 'en',
    locales: ['en', 'de'],
  },

and my _routes.json:
{
  "contact": {
    "en": "contact",
    "de": "kontakt"
  }
}

eg.:
I am on page /de/kontakt and use the languageSwitcher. The url changed to /kontakt. The component "contact" is correctly loaded and its translated content too. But the url is false. If I refresh the page in browser, the re-direrection to/contact is done correctly.
How can I change my changeLanguage-Function to make this work?

Hello again. Have a look at this sandbox-code: Sandbox Language change translated routes.
If you are on page /news  (englisch) an click to button "change to fr" url changes to "fr/news" instead of "fr/actualite" but the content of the page is rendered correct. After reload the url is correct.
EN:

After klick on button:

! I finally got it. It took me a while but here is the problem: you set the as prop to asPath in router.push. next-translate-routes lets you use a custom as prop if you want to: it means "I want to go there but then here is the url I want to display".

I have the same issue. First it shows original path and after refresh shows translated path. I am not sure how did you fix it with as prop could you elaborate more @cvolant? Thanks


Updater displays wrong date

Since /brepro is enabled now it doesn't make much sense to display date in update dialog, what do you think?

Fixed in latest nightly 👍🏿


"Valea Moldovei" and "Mironu" villages are listed in the drop-down menu.

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Valea Moldovei".

Expected results
The location is listed in the drop-down menu as "Sat Valea Moldovei SUCEAVA (Valea Moldovei)".

Step 2
Write in the search bar "Mironu".

Expected results
The location is listed in the drop-down menu as "Sat Mironu SUCEAVA (Valea Moldovei)".


Adds NetworkManager plugin

Adds a NetworkManager plugin that writes the proper nm files into the /etc/NetworkManager/system-connections/ dir.

You can add more than one connection.
No validation whatsoever, other than generating a proper config file for NetworkManager. You are free to shoot yourself in the foot by adding weird key/values.
Supports all configuration sections

As NetworkManager supports like 400 different options, this plugin only make sure that the sections are valid, otherwise any key/values set in the sections are left to the user to check and configure properly based on NM docs.
Signed-off-by: Itxaka<EMAIL_ADDRESS>

I was bored and thought, why not make a yip plugin seeing that most of the distros already use NM for network config?
Probably could also expand it to support translating the cloud-config network configurations into a basic NM file with some work.


debug_toolbar and multihost middleware

When im use multihost middleware http://effbot.org/zone/django-multihost.htm debug_toolbar not working and multihost middleware not working also, because debug_toolbar middleware cached urlconf, because of hacked with module debug_toolbar.urls import.
So im suggesting my patch:
debug_toolbar.middleware.py:
def process_request(self, request):
    if self.show_toolbar(request):
        if self.override_url:
            original_urlconf = getattr(request, 'urlconf', settings.ROOT_URLCONF)
            from django.utils.importlib import import_module
            original_module = import_module(original_urlconf)
            original_module.urlpatterns += patterns('',
                ('', include(debug_toolbar.urls))
            )
            # debug_toolbar.urls.urlpatterns += patterns('',
                # ('', include(original_urlconf)),
            # )
            self.override_url = False
        # request.urlconf = 'debug_toolbar.urls'

This bug is a problem for django-hosts as well (see https://github.com/ennio/django-hosts/issues/2).
I think more and more people are using one of these multi-hosts middlewares. Is there any plan to merge one of these fixes into upstream?


The requirement for the GPU device

Thanks for sharing this excellent work!
In the instruction, you mentioned that to reproduce your warm-up model performance, we need "8 GPUs with no less than 40G memory". I am wondering does it mean each GPU must have a memory no less than 40G or the total number of GPU memory should be no less than 40G (saying 5G * 8 GPUs)?
Thank you!

That is, one gpu requires 40 GB of memory. In our experience, the larger the batch size, the better the performance.


Add /kci tag

In the old days when we had KnokkoCore, it provided the nice debug command /knokko tag. Now that KnokkoCore is gone, I could add it to this plug-in instead.

KCI 12.3 will have the /kci tag command as replacement


Handle ERROR: ABC contains local modifications! Set ABCREV=default in Yosys Makefile! automatically in build_openroad.sh

Description
The fix for the error below is to run rm -rf tools/yosys/abc/, which is not at all obvious.
$ ./build_openroad.sh --local --latest --openroad-args -DCMAKE_BUILD_TYPE=DEBUG
[INFO FLW-0027] Saving logs to build_openroad.log
[INFO FLW-0028] ./build_openroad.sh --local --latest --openroad-args -DCMAKE_BUILD_TYPE=DEBUG
[INFO FLW-0002] Updating git submodules.
Submodule path 'tools/OpenROAD': checked out '04d4677f63d150d30c4d346f20b2f861a77607e1'
Submodule path 'tools/OpenROAD/third-party/abc': checked out '95b3543e928640dfa25f9e882e72a090a8883a9c'
[INFO FLW-0004] Updating OpenROAD app to the HEAD  of origin/master.
Previous HEAD position was 04d4677f6 Merge pull request #4520 from eder-matheus/grt_restore_overlap_fix
HEAD is now at c1fc5f730 Merge pull request #4568 from eder-matheus/grt_ant_fix
From https://github.com/The-OpenROAD-Project/OpenROAD
 * branch                master     -> FETCH_HEAD
Already up to date.
[INFO FLW-0001] Using local build method. This will create binaries at 'tools/install' unless overwritten.
[INFO FLW-0017] Compiling Yosys.
make: Entering directory '/home/oyvind/OpenROAD-flow-scripts/tools/yosys'
[  0%] Building abc/abc-896e5e7
[ 10%] Building share/include/kernel/cost.h
ERROR: ABC contains local modifications! Set ABCREV=default in Yosys Makefile!
make: *** [Makefile:802: abc/abc-896e5e7] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/oyvind/OpenROAD-flow-scripts/tools/yosys'

Suggested Solution
Add automation to handle this circumstance in build_openroad.sh
Additional Context
No response

How did you get local modifications to abc?  Its not clear what the 'handling' here is.  There is no way to know what the user's intention is (locally modified abc, or some mistake requiring rm).

How did you get local modifications to abc? Its not clear what the 'handling' here is. There is no way to know what the user's intention is (locally modified abc, or some mistake requiring rm).

I don't know. I have have been building with ./build_openroad --local --latest and this morning it didn't work.
Was yosys recently updated?
If so, then my local build folders might be out of date after the upgrade and you should expect others to run into the same issue.

The yosys submodule was not updated in ORFS so I don't know how it would have happened.  We did update the yosys repo but that should have no effect.  Let's see if others report the same.

Minimally I wanted to get the workaround written down...

@oharboe could you try using --clean?
I remember we had a similar issue a while back, and the solution was adding this to the --clean:
https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/0ea230930b57a6fb517521d8c34cb3591815b596/build_openroad.sh#L362-L366


Pass appropriate unwind value for examples extracted from the Rust books.

Several example configurations pass --cbmc-args --unwind 0 to RMC. An unwind value of 0 is passed because, for some reason, Litani does not terminate/kill processes that reach the timeout value (10 seconds). Replace 0 with appropriate values when this issue gets fixed.

@adpaco-aws is this issue still relevant?


Add python dep 'semver' to hack/requirements.txt

When I tried to run hack/bundle-gen.py from within venve this week, I encountered the following error message:
$ ./bundle-gen.py
Traceback (most recent call last):
  File "./bundle-gen.py", line 10, in <module>
    import semver
ModuleNotFoundError: No module named 'semver'

Adding 'semver' to the requirement.txt and re-running pip install fixed the problem

/assign @2uasimojo


Org titles change size when moved from TODO to DONE

P.S.
Thank for you this awesome theme

This is a problem with org-mode's native fontification. I've fixed it locally, in my own config, but I decided to include it with doom-themes.
Add (doom-themes-org-config) to your config after you load doom-themes. It contains a number of fontification fixes/enhancements for org-mode which should resolve this issue for you.

Has this fixed your issue?

Yes, it has. Thank you
On Wed, Aug 9, 2017, 22:19 Henrik Lissner<EMAIL_ADDRESS>wrote:

Has this fixed your issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hlissner/emacs-doom-themes/issues/93#issuecomment-321355079,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUbGZNGFnFpx0_dNpDJg5J5B-MyCSAFks5sWgZIgaJpZM4OnmzH
.


Right clicking with a pearl repeatedly while the cooldown is dooling down dupes new pearls

As it says on the tin, straightforward.

Fixed long ago


Add blgm as approver to app-runtime-interfaces

I received an email saying that due to some cleanup I was going to have my access to jsonry removed. As the person who maintains this repo, I thought that could be unhelpful as it could become unmaintained.
JSONry was a spin-off from some code that once lived in the CF CLI, and it seems that it's actually used as a library by other projects.
In addition to maintaining JSONry, I have made significant contributions to the CF CLI, so being an Approver in this group could make sense.
I'm completely behind the idea to clean up authorization and ownership of repos. If it's felt that I don't quite meet the criteria, or that they would be better solutions, then I don't have a problem with that. My aim is to be helpful by continuing to help out with JSONry and the services sub-commands in the CF CLI, but there are many ways to achieve that.

CC @cloudfoundry/wg-app-runtime-interfaces-cli-approvers for review

Per https://github.com/cloudfoundry/community/blob/main/toc/ROLES.md#promotion-to-reviewer-or-approver, you need 2 existing approvers to review your application. Once the review is complete, I can merge this PR.

ping @ccjaimes, @moleske, @reedr3, @jdgonzaleza, @a-b

@a-b, @jdgonzaleza, @reedr3, @ccjaimes, @gururajsh: one more +1 is needed to get this PR merged

Welcome!


convert client-side tests to Splinter

Closes #3684.
I wanted to write client-side tests for #4077, but I wanted to write more than just a few of them, and I didn't want to write them in our current client-side testing framework.

Yessssss. ba872d4d9cb6848fbb6ffb5983f9c44104f3fa2e passes Travis! 👍 💃

Ready for review, @aandis @rohitpaulk! :-)

Rebased on master. Previous head was 1f27eaf8f613e2ffb057e1252cea8a50f339616d

Looks good to me @whit537 . ready for merge..

Let's wait for github to get back to normal?

Cool. Looks like GitHub is green again!

Reopening to bump Travis.

Alright! We're green. :-)


add a flag to override template prompts

Agreed, constantly running into censored, useless answers. See discussion https://www.reddit.com/r/LocalLLaMA/comments/153kxwx/llama_2_is_disappointing/

This can now be done using the Modelfile
https://github.com/jmorganca/ollama#create-a-custom-model


Adding Multi-domain support for nginx

Related Issues

closes #
Short Description and Why It's Useful

This allows you to use nginx proxies to set up seperate domains for multistore.
e.g. if your storeCode for which you'd want to setup multistore was "en", under "storeViews" -> "en" you'd add "separateDomain": true and in nginx you'd add
location / {
proxy_pass http://localhost:3000/en/;
}
location /dist/ {
proxy_pass http://localhost:3000/dist/;
}
this would allow you to run seperate domains for multistore.
Screenshots of Visual Changes before/after (if There Are Any)

Which Environment This Relates To
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

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

Hey @EmilsM separate domains are supported right now:
    "en": {
      "storeCode": "en",
      "url": "localhost:3000/en",
      "appendStoreCode": true
    }

I've made refactor of multistore https://github.com/DivanteLtd/vue-storefront/pull/5043 which should make it less buggy


InstantSearch.js rangeSlider with AirBnb-like tooltip functionality

Hello,
I'd like the InstantSearch.js rangeSlider to function like AirBnb's rangeslider - in one respect: Where, instead of displaying tooltips over-head, the min-limit and max limit are over-written depending on which slider circle you use (e.g: the left slider circle alters the minimum-limit number, the right slider circle alters the maximum-limit number).
You can see the Airbnb slider here .
I realize I probably will need to do something like:
tooltips: {
    format: function(formattedValue, rawValue) {
        // somehow detect if right slider or left slider just changed - (not sure how)
        // overwrite appropriate minimum or maximum DOM element e.g: w/jquery
    }

I'm not sure if minimum/maximum values will end up conflicting with the minimum/maximum values, or if there is a more efficient/effective way to do this.
Also, I can't seem to find the raw templates for the rangeSlider in your source. (which I see generates an ais-range-slider class, etc).
Can you help me implement this in the most-efficient way possible?
@vvo of Algolia emailed me - mentioned he thought this was a legitimate usecase, and asked that I post this here:
"I believe what you want to achieve is display the min max in some place where it does not move - Instead of having tooltips attached to the handles.  This is currently not feasible but could be done easily by adding some API entries to the rangeSlider widget."
Thank you!
Nathan Wharton

@nathanpop To be absolutely sure of what we need to do to solve your issue, I will rephrase it so you can confirm/complete.
What you want to be able to do is display the current min and max values of the slider in another place than the tooltips.

Hmm.. if someone wants to display the current min and max values of the
slider "in another place" - that might work - though then it would be
necessary to hide or overlay the default min and max positions and put
these slider values in their place..
Just to be clear (and I think what you do understand) is what the Airbnb
slider does is: persistently replace either the min or max value - based
on the value of the either the right slider (which replaces the max) or the
left slider (which replaces the min). You can see a working example here:
https://www.airbnb.com/s/San-Francisco--CA?checkin=02%2F18%2F2016&checkout=03%2F14%2F2016&price_max=976&sw_lat=37.68315691412625&sw_lng=-122.50568271641566&ne_lat=37.77832421647904&ne_lng=-122.33814121250941&search_by_map=true&zoom=12&ss_id=2npl68kn
I suppose what you're suggesting is that instead of doing a replacement of
the value, you simply choose other dom nodes for them to be displayed on
and hide dom nodes you don't want.. which I think you're right - might
work.. I do wonder what will happen in cases where e.g: the sliders
disappear, etc.
Thank you!
On Mon, Feb 8, 2016 at 9:09 AM, Vincent Voyer<EMAIL_ADDRESS>wrote:

@nathanpop https://github.com/nathanpop To be absolutely sure of what
we need to do to solve your issue, I will rephrase it so you can
confirm/complete.
What you want to be able to do is display the current min and max values
of the slider in another place than the tooltips.
—
Reply to this email directly or view it on GitHub
https://github.com/algolia/instantsearch.js/issues/826#issuecomment-181249226
.

--
Nathan Wharton
Chief Technology Officer | POPUP IMMO
T: +33(0)652778780 <%2B33%280%29651089677>  L: +33(0)176440064  E:
<EMAIL_ADDRESS><EMAIL_ADDRESS>Connecting Ideas With Short-term Space/ Un Pop-Up Store
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=http%3A%2F%2Fwww.popupimmo.com%2Fselection-d-espaces-ephemeres%2F%3Fcnpf%3D1%26cnep%3D0%26cato_cat%3D1816%2C1814&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
ou un
Showroom
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=http%3A%2F%2Fwww.popupimmo.com%2Fselection-d-espaces-ephemeres%2F%3Fcnpf%3D1%26cnep%3D0%26cato_cat%3D1814&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
pour
tous vos projets!
www.popupimmo.com http://www.popupimmo.com/ Facebook
https://www.facebook.com/PopUpImmo Twitter
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=https%3A%2F%2Ftwitter.com%2FPopUpImmo&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
Instagram
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=https%3A%2F%2Fwww.instagram.com%2Fpopupimmo%2F&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
Linkedin
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2F5038632%3Ftrk%3Dtyah%26trkInfo%3Didx%253A1-1-1%252CtarId%253A1422797440317%252Ctas%253Apopup%2Bimmo&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
Blog
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=http%3A%2F%2Fwww.popupimmo.com%2Fblog%2F&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
See why RudeBaguette
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=http%3A%2F%2Fwww.rudebaguette.com%2F&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
calls PopUp Immo “A Retail Revolution
http://t.sidekickopen36.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs3N1HjgVQJV4b4XXD-FVRYyc856dvPqd6gqT402?t=http%3A%2F%2Fwww.rudebaguette.com%2F2015%2F05%2F29%2Fpopup-immo-set-take-retail-revolution-around-globe%2F&si=5671284861304832&pi=57802daa-fc02-43c7-a562-17f32f10b089
"

Moved to #1069


Pritam/fix python test

Issue

Link: https://github.com/NebraLtd/hm-diag/issues/354
Summary: added apt update before install so that it doesn't miss distribution patched versions.

How

Screenshots

References

Checklist

[ ] Tests added
[ ] Cleaned up commit history (rebase!)
[ ] Documentation added
[ ] Thought about variable and method names

has other changes. Closing


build: building pegasus via docker

Hi, this is a plan to build pegasus releases via docker.
See the Doris recommended way to compilation:
http://doris.apache.org/master/en/installing/compilation.html#developing-mirror-compilation-using-docker-recommended.
Doris provides a virtual environment in docker for building. This environment is bundled in a docker image. Before setting up the environment, the docker container should mount on the local directory containing Doris sources. Running the container will compile the sources and generate the binaries into the source directory.
This is an interesting idea to make Pegasus building far easier than what we used to do. It eliminates the troubles of the C++ environment stuffs for users who simply want to build an official release.

Hi, everyone.
This project maintains the building environment for Pegasus: https://github.com/pegasus-kv/pegasus-docker.
I've completed the dockerfiles and published the images to https://hub.docker.com/r/apachepegasus/build-env.
So this issue is closed. Open another issue for building failures.


Please Add Broome County NY to the list

Broome County Legislators:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>SUBJECT: Commit to reallocate for social equity
Dear Broome County Legislature,
Hi, my name is [NAME] and I am a resident of [TOWN]. I am asking you to reallocate money away from the Broome County PD. Much scholarship shows that a living wage, access to health services and treatment, educational opportunity, and stable housing are far more successful at promoting community safety than policing and prisons. As such, I demand a meaningful reallocation of PD funds towards healthcare and social programs.
Sincerely,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

got it!

Thank you!


Added the possibility to choose if the cookie is "secure" or not

I have added the possibility to choose if the cookie is "secure" or not. This allows when we work in localhost or on a development server that is not in HTTPS that the cookie is created.
I encountered this problem today and I saw that it was not available which is a pity.
See 753
Have a nice evening!

Thank you @Mael-91.

Nice first contrib :) Well done

Thanks to you, happy to have participated in improving this bundle.


Module Command Error

Module Command Error
Failed to create the server, received the error code: 500. Enable module debug log for more info.
Array
(
[errors] => Array
(
[0] => Array
(
[code] => DaemonConnectionException
[status] => 500
[detail] => There was an error while communicating with the machine running this server. This error has been logged, please try again. (code: 500) (request_id: 6b9a8c73-ca51-414b-9c54-956e8cf2c407)
)
)

[status_code] => 500
)

Your daemon isn't accessible by the Pterodactyl panel hence the error, please use the Pterodactyl Discord for configuration related support instead of GitHub issues.


Creating A Donation Page For Coderplex Foundation

Yesterday, the official bank account for Coderplex Foundation was finally opened with YES Bank. We can now operate it for all organization related income and expenses and also to receive donations.
We need to put up a page or section on our website where members of the community, or any visitor of the website, can go and donate money to our non-profit org.
Tasks :

[ ] Design / mockup for the donation page or section
[ ] Creating the page and publishing it to the website
[ ] Connecting it with the bank account (details provided below)

Guidelines
We can use the following donation pages of global non-profit websites as guidelines for designing and publishing our own page :

Khan Academy
Wikipedia
freeCodeCamp

Why Do We Need A Donation Page
We have a very grand and challenging mission that we have set for ourselves at Coderplex, to improve the state of Tech Education in Hyderabad and gradually across India. We have a lot of really good ideas with a lot of potential that we want to work on to make this possible, but we lack the resources and team we need to execute these ideas, or to expand our operation even to a small degree.
Our long term goal is to establish stable revenue streams for the organization, by offering recruitment serves to tech companies. Through this, we will be able to create value for our community members, by helping them get hired, as well as for the companies, by helping them hire quality developers from our community and finally also for ourselves, by earning the recruitment fee. There are a few more revenue generating ideas that we have, which we believe will be able to create value for everyone.
But in the short term, we need as much support as we can get, from individuals as well as other organizations. This includes providing a option for our community members, or any visitor of our website, to support us by donating any sum that they are comfortable with.
Account details :
Bank & Branch : YES Bank, Shivam Road
Account Number :<PHONE_NUMBER>00119
IFSC : YESB0001001

@vinaypuppal @M-ZubairAhmed

@duttakapil You can set up a donation page easily with Razorpay Pages which is released today. https://razorpay.com/payment-pages/

@vinaypuppal RazorPay and the like charge a commission fee of 2% correct? Is there a way to setup a donation page by circumventing the commission fee? I was thinking if we only relied on UPI payments it could work.

Yes, they may have an option to waive commission for NGO's, you can contact them and check.

@duttakapil may be we can have phonepe upi page, i dont think they charge any fee

Yes, UPI is free, it doesn't have any transaction fee. We already have a UPI ID : coderplex@yesbank


[CHORE] std

Deno std modules on nest.land

[x] std route

[x] std view design
[x] fetch std module info
[x] parse std submodules
[x] auto-generate urls for std submodules
[x] add a file explorer component for std submodules with their respective paths

[x] rewrite std f.a.q.

TODO: fix markdown files

Ready for review

Bug on mobile: version select not responsive

Last thing I have to say: It would be extremely beneficial if we also offer the Arweave import urls for these modules, as this url is truly immutable. Perhaps this could be added to the dropdown or tooltip on the way?

It's possible, I'm just not sure design-wise. I'll figure out something

Happy to help with the design aspect of that.

That'd be awesome


How to visualize the result?

Hi, I am wondering whether you have a result of the visualization so that the effectiveness of the algorithm on the two new envs can be seen directly?
I noticed that in baselines,common.vec_env, the VecEnv class has not defined the Render function, is there any idea I can do the visualization?
Thank you so much!

Hi! You should be able to use the unwrapped base environment to render and evaluate. VecEnv is just used for parallelization for faster training.


Support adapting SlingHttpServletRequest to a model for the requests's resource

For convenience and supporting cases where internal AEM implementations fancy adapting a request directly to a model for the request's resource, allow adapting a request to a model as a shortcut. Thus
request.getResource().adaptTo(...)

Becomes equivalent to
request.adaptTo(...)

Done!


PicklingError: Can't pickle <class 'sklearn.preprocessing._label.LabelEncoder'>:

Hi,
I am running this code:
import ktrain
from ktrain import text
MODEL_NAME = 'distilbert-base-cased'
t = text.Transformer(MODEL_NAME, maxlen=500, class_names=categories)
trn = t.preprocess_train(x_train, y_train)
val = t.preprocess_test(x_test, y_test)
model = t.get_classifier()
learner = ktrain.get_learner(model, train_data=trn, val_data=val, batch_size=6)

learner.fit_onecycle(8e-5, 4)
predictor = ktrain.get_predictor(learner.model, preproc=t)

and so far, so good no problem...everything works fine
but when i try to save the model using this
learner.model.save_pretrained("/tmp/DistilBertCasedModel")

I get this error
---------------------------------------------------------------------------
PicklingError                             Traceback (most recent call last)
<ipython-input-117-45c9a2f9e138> in <module>()
----> 1 predictor.save("/tmp/DistilBertCasedModel")

1 frames
/usr/local/lib/python3.7/dist-packages/ktrain/predictor.py in _save_preproc(self, fpath)
     31     def _save_preproc(self, fpath):
     32         with open(os.path.join(fpath, U.PREPROC_NAME), 'wb') as f:
---> 33             pickle.dump(self.preproc, f)
     34         return
     35

PicklingError: Can't pickle <class 'sklearn.preprocessing._label.LabelEncoder'>: it's not the same object as sklearn.preprocessing._label.LabelEncoder

Any help please?
Many thanks

Sorry my fault.
I solved the problem
I shouldn't have passed the class_names=categories argument since classes are encoded with strings.
Many thanks and thanks for this great job!


Doesn't auto select support, nor apply skills

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1676
Describe the bug
Noticed none of the scripts works after a recent Android update (Android 12, May 5th Security Update), which I was using a previous build (15XX something). Decided to update to the latest build, still doesn't work. No longer selects the supports from list automatically (vid 1), nor use the skills properly. Instead clicks other parts in on screen (vid 2)
It like all the detection boxes are off, or should be for a larger screen size?
Additional notes:

never used "Ignore notch" option) for previous build, and for vids
latest build in vid, applied the "Hide front camera" to both FGA and FGO.
tried custom game area mode (left: 120, right: 50) and it works to a degree (but wont repeat another round). Noticed the detection boxes are still off in debugging mode (can provide additional vid if needed)
additional screenshot to compare vid 2 commands

Video
https://user-images.githubusercontent.com/106885155/172021673-2613a5f9-666d-4b86-8841-71d550482ae6.mp4
https://user-images.githubusercontent.com/106885155/172021368-bdcdc966-5de1-44e5-8317-8c4b485caa66.mp4

Device model
OnePlus 8T
Android version
12
Screen size
1080x2400
RAM
12GB

Noticed some of the other open issues (at current time) have similar issues related to detection. I considered adding on in the other tickets, but thought would be better to provide more details with a new ticket.
Also, just wanna say thanks for the work on FGA, been using it for over a year and its such a tremendous timesaver. Really, thank you.

Similar to the user in #1198 all your videos and screenshots seem to be scaled down.
I'm guessing left=168 and right=64 for Custom Game Area mode.
Also it's weird how your FGA screenshot doesn't have a lower black bar but FGO does.

Those values work, thanks.
And yea, never noticed that part until you pointed it out.
I vaguely remember FGO used to be full screen too, up to the notch area but that might have been for an older build, tho I'm not sure anymore (after various android and game updates)

Similar to the user in #1198 all your videos and screenshots seem to be scaled down.
I'm guessing left=168 and right=64 for Custom Game Area mode.
Also it's weird how your FGA screenshot doesn't have a lower black bar but FGO does.

On my phone I was able to get rid of the black bars by switching navigation mode to 3 buttons.


New Step Function Workflow - Model customisation in Amazon Bedrock using AWS Step FunctionInitial commit

Issue #, if available:
Description of changes:
The SAM template deploys a Step Functions workflow that creates custom model by fine tuning Amazon Bedrock Cohere Command Light model and then creates a provisioned throughput with that custom model. At the end we test both the base model and the fine-tuned model to compare results.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please add a png export of the workflow from workflow studio. (without the other service diagrams that are external to the workflow).

Thanks @bls20AWS for your comment. I have updated diagram. Please let me know if anything else to be changed. Can you please re-review.


Add Acknowledgements and References to README

Just pasting here for now:
Design Resources:
Icon from FlatIcon
Write icons created by Icon home - Flaticon
Hero image from World Book Day by (Freepik)
[https://www.freepik.com/free-vector/flat-world-book-day-landing-page-template_23671548.htm]
Font: Solway
Author: Mariya V. Pigoulevskaya,The Northern Block
Url: https://fonts.google.com/specimen/Solway
Font: Rochester
Author: Sideshow, Principal design
URL: https://fonts.google.com/specimen/Rochester/about
Font: Noto Serif
Open Font License
https://fonts.google.com/specimen/Rochester/about
Color swatches
https://coolors.co/

done


test: Add failing tests for User Agent and IP blocking/allowing

I am merging this and created a follow-up story here: #420


Cleanup integration tests when the underlying emulator bugs are fixed.

There are a few small bugs in the Cloud Bigtable emulator that we are working around.  The bugs are:
Filters:

[x] GoogleCloudPlatform/google-cloud-go#839
[x] GoogleCloudPlatform/google-cloud-go#840
[x] GoogleCloudPlatform/google-cloud-go#841
[x] GoogleCloudPlatform/google-cloud-go#842
[x] GoogleCloudPlatform/google-cloud-go#843

ReadRows:

[x] GoogleCloudPlatform/google-cloud-go#958

Snapshots:

[x] GoogleCloudPlatform/google-cloud-go#1135

Table IAM:

[ ] googleapis/google-cloud-go#1918

Instance Admin:

[ ] googleapis/google-cloud-go#1069

As those bugs clear we should remove the workarounds from the code.

Heads up - https://github.com/GoogleCloudPlatform/google-cloud-go/issues/1135 was recently fixed. (for your checklist)

@dbolduc will investigate.

Current state:

We still run IAM integration tests against production. Blocked on cbt emulator capability.
 The work to add instance capabilities to the official cbt emulator has been deprioritized. We will probably have to live with this for the time being.


W 11921025 non inclusive language studio7 12 cp

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Closing PR since it is wrongly created against branch 7.14 instead of 7.12.


Created a new Autosuggest control that better navigates like the user expects

Removed a 3rd party autosuggest that just didn't act as the user expected the result is a much smaller and simpler component that we have control over and doesn't require yet more 3rd part elements.
Fixed node restart by excluding some folders
Reduced size of js files by 500k picking which parts of lodash to import.

I think these designs make it clearer that you need to select one, and that the selections are not from the browser:
Extend outline
Type into new element

Much better with the validation though


Drop support for Twig 1.x

Twig 2.0 is now stable and backward compatible with 1.x, but introduced many improvements and dropped support for older PHP versions.

Actually turns out the Travis failure is caused with 1.x not 2.0 💀


ENH: edit sort order of tabs, categories, and articles

It would be VERY handy to be able to set the order of tabs, categories, and articles. They seem to rearrange themselves based upon some unknown sequence. Being able to present the various elements in the proper sequence would really help to make the final edited wiki easier for players to use.
thanks!

Not bothering with the wiki in 1.8, so closed.


ci: add tests for auto-generated docs, create auto-update action

@AlCalzone What about also push changes if the test is successfull?

next step :)

Wonder how many iterations this auto-update action is going to take...

What iterations do you mean?

These:

12 and counting... 😖

15..., it took 15...confounded

Not bad :laughing:

But now it works :tada:

That's what really matter :rocket:


What are the hardening recommendations? - Hyperlinks swapped

Under the "What are the hardening recommendations?" (https://docs.microsoft.com/en-us/azure/defender-for-cloud/apply-security-baseline#what-are-the-hardening-recommendations) section, the "For Windows machines" and "For Linux machines" hyperlinks are swapped. For example:
If clicking the hyperlink "Vulnerabilities in security configuration on your Windows machines should be remediated (powered by Guest Configuration)" (https://portal.azure.com/#blade/Microsoft_Azure_Security/RecommendationsBlade/assessmentKey/1f655fb7-63ca-4980-91a3-56dbc2b715c6) the hyperlink redirects to the "Vulnerabilities in security configuration on your Linux machines should be remediated (powered by Guest Configuration)" scan assessment and vice versa for the "Vulnerabilities in security configuration on your Linux machines should be remediated (powered by Guest Configuration)" (https://portal.azure.com/#blade/Microsoft_Azure_Security/RecommendationsBlade/assessmentKey/8c3d9ad0-3639-4686-9cd2-2b2ab2609bda) hyperlink.

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

ID: ddbaf64c-f5c5-3e31-e639-b96213dc257c
Version Independent ID: ac13399d-6ee7-3ab9-b9fd-9dae5370b14d
Content: Harden your Windows and Linux OS with Azure security baseline and Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/apply-security-baseline.md
Service: defender-for-cloud
GitHub Login: @bmansheim
Microsoft Alias: benmansheim

Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@jmaaspmn Good catch! I'll check it out and update here.

Fixed in #193053

#please-close


express.json() not parsing

Hello
I have encountered the following problem:
Client is sending data to server, but server does not seem able to parse the data from the DOM.
I was initially using "body-parser" but then i understood it is now integrated with "express"
still i get this error message while launching the server : "body-parser deprecated".
Is this a know issue or is it just me ? and is there a way to fix it ?
Here my code :
index.js
import express from"express" ;
//import bodyParser from "body-parser";
import mongoose  from "mongoose";
import cors from "cors";

import postRoutes from './routes/posts.js';

const app = express();

app.use(express.json({limit: "30mb"}));
app.use(express.urlencoded({limit: "30mb"}));
app.use(cors);

app.use('/posts', postRoutes);

routes
import express from 'express';

import { getPosts, createPosts} from '../controllers/posts.js';

const router = express.Router();

router.get('/', getPosts);
router.post('/', createPosts);

export default router;

Controllers
import PostMessage from "../models/postMessage.js";

export const getPosts = async (req, res) => {
    try {
        const postMessages = await PostMessage.find();
        console.log( "getrequest received");

        res.status(200).json(postMessages);
    } catch (error) {
        res.status(404).json({message: error.message});
    }
}

export const createPosts = async (req, res) => {
    const post = req.body;
    const newPost = new PostMessage(post);
    console.log("newPost received");
    try {
        await newPost.save;

        res.status(201).json(newPost);
        return;

    } catch (error) {
        res.status(404).json({message: error.message});
    }
}

Thanks for the support !

Hi, issue here.. req.body is empty object. I also tried to install body-parser to replace the express.json() and express.urlencoded() still same result.
request
### User Login
POST https://<IP_ADDRESS>:4201/users/login HTTP/1.1
Content-Type: 'application/json'

{
  "email"<EMAIL_ADDRESS>  "password": "yekterces"
}

package.json
  "dependencies": {
    "bcrypt": "^5.0.1",
    "compression": "^1.7.4",
    "config": "^3.3.6",
    "cors": "^2.8.5",
    "crypto-random-string": "^4.0.0",
    "express": "^4.17.1",
    "express-async-errors": "^3.1.1",
    "helmet": "^4.6.0",
    "java": "^0.12.2",
    "joi": "^17.4.2",
    "jsonwebtoken": "^8.5.1",
    "moment": "^2.29.1",
    "mysql2": "^2.3.0",
    "node-windows": "^1.0.0-beta.5",
    "nodemailer": "^6.6.3",
    "secure-random-password": "^0.2.3",
    "sequelize": "^6.6.5",
    "simple-encryptor": "^4.0.0",
    "socket.io": "^4.2.0",
    "uuid": "^8.3.2",
    "winston": "^3.3.3"
  },
  "devDependencies": {
    "mocha": "^9.1.1"
  }

index
  const express = require("express");
  require('express-async-errors');

  const app = express();
  app.use(express.json());
  app.use(express.urlencoded({ extended: true }));
  app.use("/users", require('../api/controllers/users'))

inside the controller
const router = require('express').Router();
const fn_hash = require('../commons/passwords');
const static = require('../commons/static');
const repo = require('../repositories');
const users = require('../models/users');

const postLogin = async (req, reply) => {
  try {
    console.log(req)
    let { email, password } = req.body;
    let useCaseLogin = await users.doLogin(repo, fn_hash);
    let claims = await useCaseLogin(email, password);
    let accessToken = static.jwt.sign(claims);
    reply
    .header("Access-Control-Expose-Headers", "authorization")
    .header("authorization", accessToken)
    .status(200)
    .send('ok');
  }
  catch(e) {
    console.log(e)
    reply.status(e.status || 500).send(e);
  }
}

router.post('/login', postLogin);
module.exports = router;

Hi, it seems like I have the same issue.. req.body is empty object. I also tried to install body-parser to replace the express.json() and express.urlencoded() still same result.
request
### User Login
POST https://<IP_ADDRESS>:4201/users/login HTTP/1.1
Content-Type: 'application/json'

{
  "email"<EMAIL_ADDRESS>  "password": "yekterces"
}

package.json
  "dependencies": {
    "bcrypt": "^5.0.1",
    "compression": "^1.7.4",
    "config": "^3.3.6",
    "cors": "^2.8.5",
    "crypto-random-string": "^4.0.0",
    "express": "^4.17.1",
    "express-async-errors": "^3.1.1",
    "helmet": "^4.6.0",
    "java": "^0.12.2",
    "joi": "^17.4.2",
    "jsonwebtoken": "^8.5.1",
    "moment": "^2.29.1",
    "mysql2": "^2.3.0",
    "node-windows": "^1.0.0-beta.5",
    "nodemailer": "^6.6.3",
    "secure-random-password": "^0.2.3",
    "sequelize": "^6.6.5",
    "simple-encryptor": "^4.0.0",
    "socket.io": "^4.2.0",
    "uuid": "^8.3.2",
    "winston": "^3.3.3"
  },
  "devDependencies": {
    "mocha": "^9.1.1"
  }

index
  const express = require("express");
  require('express-async-errors');

  const app = express();
  app.use(express.json());
  app.use(express.urlencoded({ extended: true }));
  app.use("/users", require('../api/controllers/users'))

inside the controller
const router = require('express').Router();
const fn_hash = require('../commons/passwords');
const static = require('../commons/static');
const repo = require('../repositories');
const users = require('../models/users');

const postLogin = async (req, reply) => {
  try {
    console.log(req)
    let { email, password } = req.body;
    let useCaseLogin = await users.doLogin(repo, fn_hash);
    let claims = await useCaseLogin(email, password);
    let accessToken = static.jwt.sign(claims);
    reply
    .header("Access-Control-Expose-Headers", "authorization")
    .header("authorization", accessToken)
    .status(200)
    .send('ok');
  }
  catch(e) {
    console.log(e)
    reply.status(e.status || 500).send(e);
  }
}

router.post('/login', postLogin);
module.exports = router;

kindly disregards, fixed the problem by simply removing the quotes in Content-Type header.

I encountered a similar issue while using experss.json() as a middleware while also using nodemon as file watcher. Turns out the middleware was not registered correctly while making live changes. ( I was running the nodemon before and added the middleware while the nodemon was still running).
I got it running after restarting the nodemon process again when the middleware got registered and I got the expected result.
The thing is to make sure the middleware is registered correctly and to do that make sure the nodemon/node process has restarted.


Support grid header view and grid footer view

I know it doesn't quite make sense in horizontal mode, but it would really be nice to have them in vertical mode.

Yep, i want this too. Shouldn't be that hard (as compared to section headers)

Just one header for the entire grid (with the benefit of scrolling with the grid content) or header per section ?

One header for the entire grid would be cool for now. :)

It only seems to make sense for the Vertical Strategy. Looks weird for Horizontal strategies, specially the paged ones.

Right, you probably need to attach it to the grid view directly if you have paging enabled so it always stays on top.
How would you solve this? Add a BOOL to the layout strategy to indicate how the header/footer views are positioned (sticky or scrolling)?

I'm also very interested in the header view; we can add simple support for now and improve it with different layouts later.
Any opposition to that?

Sure no problem. I was thinking of a solution in the same direction as the layout strategy idea; as in giving the user control on how to position the header. So the core code doesn't has no logic about specifics headerView positioning behavior.
I like Markus's implementation of the headerview, that could be the headerViewContainer. And then the user can set any other view responding to a protocol with callbacks for when the scroll is scrolled for example, so the user can choose the reposition it's own headerView if needed.
The method to set the headerView could be setHeaderView:withSuggestedSize:
In the case of vertical layout, the headerView width will be that of the scroll frame and the height will be the above specified parameter. In the case of horizontal layout, the height will be that of the scroll frame and the width will be the above specified parameter.
What do you think? Is it overkill ?

I'm interested in the addition of this API, too.


Use mergeFast in a hotspot

In profiling our app, we found that the usage
of merge in Text.js was showing up as a
hotspot. We've replaced this usage of merge
with mergeFast.
Test plan (required)
This change is used in my team's app.
Adam Comella
Microsoft Corp.

By analyzing the blame information on this pull request, we identified @JoelMarcey and @MattFoley to be potential reviewers.

This is the first time I've been poked by Github bot, but this change looks good to me.
The only suggestion I would have is to use let or even better const, rather than var, but I don't know RN's policy on using ES6 syntax in the main repo.

merge(a, b) and mergeFast(a, b) aren't guaranteed to be the same for all (a, b), which is concerning since merge(a, b) is run in __DEV__ but not production. Keeping dev and production the same as much as possible is one of the best ways to head off bugs.
It would be better either to use mergeFast in all environments or write a new helper function like mergeOwnPropertiesFast with the same semantics as merge by doing hasOwnProperty checks or iterating over Object.keys, whichever's faster.

@ide you make a good point about dev vs production. I updated my PR to use mergeFast in all environments.

@rigdern updated the pull request - view changes

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review internal test results.


Refactor Time.now to Time.current

I think you should use .current instead of .now.
The difference of .current and .now is .now uses the server's timezone, while .current uses what the Rails environment is set to. If it's not set, then .current will be same as .now.
Time.current
Returns Time.zone.now when Time.zone or config.time_zone are set, otherwise just returns Time.now.
Datetime.current
Returns Time.zone.now.to_datetime when Time.zone or config.time_zone are set, otherwise returns Time.now.to_datetime.

LGTM 🚀


Fix the default port number in usage

Description
Fixes the issue  #2337
Usage output of ssl_mail_client example program has the default port 4433 while the code uses 465 as the correct default for SMTP.
String concatenation helps to avoid such copy-paste mistakes.
Status
**READY
Requires Backporting
NO
Which branch?
All
Migrations
NO

Thanks to all for approving.
Two more copy-paste errors were just spotted in diagnostic output strings:
https://github.com/ARMmbed/mbedtls/blob/9056b59c990ab401f1774801f3587c9d77a82e33/programs/ssl/ssl_mail_client.c#L327
Apparently, mbedtls_net_send should replace mbedtls_ssl_write .
https://github.com/ARMmbed/mbedtls/blob/9056b59c990ab401f1774801f3587c9d77a82e33/programs/ssl/ssl_mail_client.c#L339
Following the logic of the other dianostics, 'mbedtls_net_recv' should replace read.
Please tell if gatekeepers would be able to take care of these issues too, or it should be added to the commit?

It's trivial, but we should backport this PR.

@irwir I apologize for delay in replying your questions

Please tell if gatekeepers would be able to take care of these issues too, or it should be added to the commit?

Please fix the typos as well. Since you are modifying the code, please also update the ChangeLog with the suggested fix. We will review once you push the commit. (If it was only the ChangeLog fix, we would have left it for the gatekeepers to modify)
thanks for your continued support in Mbed TLS!

I have created backports in #2499 and #2500 on behalf of @irwir

Both backports have been fully reviewed and approved, so removing the "needs backports" label
cc @Patater

PR job passed. Removing needs: ci.


Commande sentry:test does not check return code

I'm investigating an issue with Sentry server configuration.
I tried to use php bin/console sentry:test to send a fake event to Sentry server.
Message printed is :
Message sent successfully with ID 0f26408bbc4d4f06970aabaecb89193b
But the server actually answered with a 403 error. This should be tested and printed to help check the full chain.

This seems to be the not first time this is raised as an issue, see #369.
We could probably leverage the logger like in #370.

I living  a smilar issue.
DSN correctly configured in the current client
Sending test message...
Message sent successfully with ID 0bc9ef1332d545fdb1277f3dfc00bb12

but havent a issue from issue box

bump


Set domain name for nginx configuration from env

Right now we are using some custom script to set up site name in nginx configuration file, but it would be much cleaner approach to set it as an environment variable and use it in Dockerfile
see: https://docs.docker.com/engine/reference/builder/#/environment-replacement

was fixed in https://github.com/LotusTM/Kotsu/commit/935b29a04404a54d43ac80570b54df2f014e5e05


[spl-token-swap] Unsound implementation in instruction::unpack

The source of unsoundness
https://github.com/solana-labs/solana-program-library/blob/282c716910b88e28495d5fb20143848bc01f79d5/token-swap/program/src/instruction.rs#L605-L611
Hi, we consider that instruction::unpack function unsound because it can cast u8 type with any bit patterns to arbitrary types. This could break the validity invariants which should be hold anywhere in rust program. Additionally, it can also break alignment requirements.
To reproduce the bug
use spl_token_swap::instruction::unpack;

fn main() {
    let a: [u8; 3] = [3; 3];
    let up = unpack::<bool>(&a).unwrap();
    println!("{}", up);
}

then run with miri,
error: Undefined Behavior: constructing invalid value: encountered 0x03, but expected a boolean
    --> /${HOME}/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:2307:25
     |
2307 |         Display::fmt(if *self { "true" } else { "false" }, f)
     |                         ^^^^^ constructing invalid value: encountered 0x03, but expected a boolean
     |
     = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior

To break alignment requirements,
use spl_token_swap::instruction::unpack;

fn main() {
    let a: [u8; 3] = [3; 3];
    let up = unpack::<u16>(&a).unwrap();
    println!("{}", up);
}

just cargo run and get panic,
thread 'main' panicked at 'misaligned pointer dereference: address must be a multiple of 0x2 but is 0x7fff2f83e6bd', /${HOME}/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spl-token-swap-3.0.0/src/instruction.rs:562:28
stack backtrace:
   0: begin_panic_handler
             at /rustc/a97c36dd2e6f711949fc9b790476e93bd9e6d1f4/library/std/src/panicking.rs:593:5
   1: panic_fmt
             at /rustc/a97c36dd2e6f711949fc9b790476e93bd9e6d1f4/library/core/src/panicking.rs:67:14
   2: panic_misaligned_pointer_dereference
             at /rustc/a97c36dd2e6f711949fc9b790476e93bd9e6d1f4/library/core/src/panicking.rs:174:5
   3: spl_token_swap::instruction::unpack
             at /${HOME}/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spl-token-swap-3.0.0/src/instruction.rs:562:28
   4: rand::main
             at ./src/main.rs:5:14

Heads up: this issue has been included in the RustSec advisory database. It will be surfaced by tools such as cargo-audit or cargo-deny from now on. Since this is an API soundness issue, it will be surfaced as a warning rather than a hard error.
Once a fix is released to crates.io, please open a pull request to update the advisory with the patched version, or file an issue on the advisory database repository.

Hi @Shnatsel , thanks for flagging this. We're moving the SPL programs into separate repos, and spl-token-swap won't be coming, since it's been unmaintained for a few years (outside of dependency upgrades). I can file an issue at the advisory database repo once this repo is archived.


Proof by "the following are equivalent"

tactic for decomposing a proof into a set of equivalent propositions which can be proved equivalent by cyclical implications
With @jcommelin @rwbarton and @digama0.
TO CONTRIBUTORS:
Make sure you have:

[x] reviewed and applied the coding style: coding, naming
[x] for tactics:

[x] added or adapted documentation in tactics.md
[x] write an example of use of the new feature in tactics.lean

[x] make sure definitions and lemmas are put in the right files
[x] make sure definitions and lemmas are not redundant

For reviewers: code review check list

looks good for me