text:
🛑 POH events bot from render hosting is down

In 94ff871, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 1f75fc1 after 8 minutes.


text:
🛑 POH events bot from render hosting is down

In 447a502, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 8ccd745.

source: gharchive/issue

repo: masch/poh-events-uptime

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 POH events bot from render hosting is down

In cb894f5, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in d12cda0 after 17 minutes.


text:
🛑 POH events bot from render hosting is down

In a1987c4, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in f9f587a after 13 minutes.


text:
🛑 POH events bot from render hosting is down

In c0a99fa, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 3546c4f after 9 minutes.


text:
🛑 POH events bot from render hosting is down

In b0c5c3b, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 477ed09.


text:
Native exception handler triggered for JS error

I have the following code:
function handleApplicationError(errorMessage) {
  try {
    dispatch({ type: 'reset' });
  } catch (o_O) {}
  const title = 'Unexpected error occurred';
  const message = errorMessage + '\nApplication must be restarted.';
  Alert.alert(title, message, [{ text: 'OK ' }]);
}

setJSExceptionHandler((e, isFatal) => {
  const error = `Error: ${isFatal ? 'Fatal:' : ''} ${e.name} ${e.message}`;
  handleApplicationError(error);
}, true);

setNativeExceptionHandler(handleApplicationError, true, false);

When I introduce a JS error to be thrown (foo is undefined) only the native handler is triggered with a JS Uncaught Exception.
I can only get the JS exception handler to fire if I do not set a native one.

Seems like ur JS handler itself is throwing an error. Can you remove all code inside the setJSException handler and replace it with a simple console.log and see if this repeats ?

authors: master-atul ricardobeat

license: mit

license_source: bigquery


text:
✨ Easy grid systems?

Description
Will we have a predefined grid systems based on variable number of --columns (both flex and grid), like these ones:

Tailwind [1] [2] / uno
960.gs
Flexbox grid
Susy

Master CSS's grid system is arbitrary and more flexible than the traditional 12-column, 16-column, or 24-column.

...

...

...

...

The documentation of the grid system has indeed been missing since v1. We will add a new page docs/grid-system during the 2.0 RC.
https://css.master.co/docs/grid-columns

repo: master-co/css


text:
🛑 RESTREAM-IR-14-Afranet-4 is down

In e3d75a3, RESTREAM-IR-14-Afranet-4 ($IR_14) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-14-Afranet-4 is back up in 55fdb91.


text:
🛑 RESTREAM-IR-13-Afranet-3 is down

In d2907d1, RESTREAM-IR-13-Afranet-3 ($IR_13) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-13-Afranet-3 is back up in a98b108.


text:
🛑 RESTREAM-IR-14-Afranet-4 is down

In 2236b9a, RESTREAM-IR-14-Afranet-4 ($IR_14) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-14-Afranet-4 is back up in c4a856c.


text:
🛑 RESTREAM-IR-11-ZirSakht-2 is down

In da845eb, RESTREAM-IR-11-ZirSakht-2 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-11-ZirSakht-2 is back up in 4817f0d.


text:
Idea: RecentProjectsPanel opens FileBrowser on dbl-click

Sometime one has multiple .mastodon projects nearby in otherwise deeply nested common folder, one clicks all the way to open the first project.. later one wants to open the second project... and must click through again (or Cut&Paste the path, edit aside, open dialog, Paste-in the edited path, choose .mastodon file)
Or, one opens a file browser (by dbl clicking), then navigates to the wanted nearby project, then Open another project in Launcher which opens Dialog into which the path to the wanted nearby project can often be dnd'ed from the Browser...
This is only a proposal.

This is what i can look like:

Does it work well when you have mastodon projects that are actually folders?

...and I have also tested that (only on my Linux)

source: gharchive/pull-request

authors: tinevez xulman

repo: mastodon-sc/mastodon


text:
🛑 Francesco Portfolio is down

In 7604b41, Francesco Portfolio (https://francescomastrocinque.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Francesco Portfolio is back up in a7cb5ce.

repo: mastrofran/upptime


text:
strerror problem on a Mac

The various ifdefs at the beginning of strict_fstream.hpp that determine how to interact with strerror_r break for me on a Mac. Specifically, it drops into the third, GNU-specific case, but it should be using the second one. I quickly fixed my local copy by adding defined(__APPLE__) to the second case, but I'm not sure if it's the correct universal fix.

I encountered the same issue. As it seems possible some users might be using GCC rather than clang on their Macs, I used the following compiler directives, but I too am not sure how universal/portable this is:
#elif __APPLE__ && __clang__ && ! _GNU_SOURCE
// XSI-compliant strerror_r()
    if (strerror_r(errno, &buff[0], buff.size()) != 0)
    {
        buff = "Unknown error";
    }
#else
// GNU-specific strerror_r()
    auto p = strerror_r(errno, &buff[0], buff.size());
    std::string tmp(p, std::strlen(p));
    std::swap(buff, tmp);
#endif

There are actually several pull requests for this exact issue already, but unfortunately, it seems that the repository is no longer maintained, as those have not been accepted in almost three years :-(

@mateidavid are you still active in this repository? If not, could you add @lczech or myself as collaborators of the repository so that we can mantain it? Thanks in advance!

If someone of you has Linkedin, maybe try to contact him through his profile: https://ca.linkedin.com/in/matei-david-aa12a4103

I have reached out to him via linked in invitation.

On Aug 31, 2020, at 6:59 AM, ferdymercury notifications@github.com wrote:

If someone of you has Linkedin, maybe try to contact him through his profile: https://ca.linkedin.com/in/matei-david-aa12a4103
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I completely forgot about upstream, but it seems like I've fixed more or less everything from the other PRs earlier, and I pulled in the last couple of things (that made sense) now, so this should be a superset of all open PRs (and more): https://github.com/mateidavid/zstr/pull/9

Thanks @sandsmark! Did you also consider including the changes from https://github.com/JGI-Bioinformatics/zstr/commits/master ?
The CMakeLists seems useful.

Sorry guys, I've moved on to Java, kids, etc... I'll add @ferdymercury as collaborator.

Thanks Matei! I don't have rights to add other contributors, could you assign me those?
Cheers

I don't know how...

Oh, I see, then it might be because free accounts do not support this functionality. Can you add @sandsmark and @lczech as collaborators yourself? Thanks!!

authors: erikor ferdymercury lczech mateidavid mrzv sandsmark

repo: mateidavid/zstr


text:
🛑 Homepage is down

In e9faa4d, Homepage (https://home.mats-bueser.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 03c1412 after 37 minutes.

repo: matematrix/status


text:
Next button listener explanation is in Java

https://codelabs.developers.google.com/codelabs/mdc-101-kotlin/#4
After the code snippet for view.next_button.setOnClickListener, it says:

We've added the line ((NavigationHost) getActivity()).navigateTo(new ProductGridFragment(), false); to the else case of the click listener.

This sentence should be changed to quote the line from the Kotlin code instead:
We've added the line (activity as NavigationHost).navigateTo(ProductGridFragment(), false) to the else case of the click listener.

This has been updated in the 101 Kotlin codelab. Thanks for pointing this out!

Is there a reason why my code aint working:  when I include this code in the Fragment the app fails to launch... but when I comment it out the app launches  final TextInputLayout passwordTextInput = view.findViewById(R.id.password_text_input);
final TextInputLayout passwordEditText = view.findViewById(R.id.password_edit_text);
MaterialButton nextButton = view.findViewById(R.id.next_button);
    // Snippet from "Navigate to the next Fragment" section goes here.

    nextButton.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            if (!isPasswordValid((Editable) passwordEditText.getEditText()))
            {
                passwordTextInput.setError(getString(R.string.shr_error_password));
            }
            else
            {
                passwordTextInput.setError(null);//clear the error

                ((NavigationHost)getActivity()).navigateTo(new ProductGridFragment(),false);// false removes previous screen from back stack
            }
        }
    });

    // Clear the error once more than 8 characters are typed
    passwordEditText.setOnKeyListener(new View.OnKeyListener() {
        @Override
        public boolean onKey(View v, int keyCode, KeyEvent event) {

            if (isPasswordValid((Editable) passwordEditText.getEditText()))
            {
                passwordTextInput.setError(null);// clear the error
            }
            return false;
        }
    });`

am i doing something wrong...

I am surprised that there I cannot use Intent method when want to navigate.

I am surprised that there I cannot use Intent method when want to navigate.

Intents are for navigating between activities. Here, we are using a single activity architecture where multiple fragments are hosted inside a single activity. And, to navigate fragments we must use FragmentManager and not Intent.

authors: AndreCarvalli KdB13 LesserCure afohrman zawawimanja


text:
Two material web repositories in this org, what's the difference and which one should we be using?

I found this: https://github.com/material-components/material-components-web which also looks active.
Can someone explain the difference and which is better to use going forward?

Please see issue #3050 where one of the repo contributors, @jbingham shared info about this last week... Quoting for reference...
"material-components-web is our Material 2 implementation, available today. It will not be updated for Material 3.
material-web will be the Material 3 implementation. It's in progress and will launch in late 2022.
Our goal is for material-web to be a long-term supported library that supports M3 and future design refreshes as well."

That's correct! Thanks @treeder  for asking, and thanks to @yaraju for answering.

authors: jbingham treeder yaraju

repo: material-components/material-web


text:
[Bug]: The license is not displayed on the npm package page

Describe the bug
The package license is not displayed at https://www.npmjs.com/package/material-icon-theme
To Reproduce
.
Expected behavior
Real repository license
Screenshots

Computer information
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thank you for reporting it

authors: PKief okineadev


text:
ShouldBeUnique compatibility

If a job implements ShouldBeUnique interface and the condition of the interface is met then the tracked job will remain with status queued.
Maybe the status 'failed' or a new status 'cancelled' would be more appropriate in this case.

@faacsousa i think the better is to not track jobs that aren't dispatched. If a job implementst ShouldBeUnique and the condition matches, this job will not be dispatched by laravel. Do you have any fix for that in mind?

authors: faacsousa mateusjunges

repo: mateusjunges/trackable-jobs-for-laravel


text:
Add tests for basic functionality

Add unit tests for some of the features we implemented:

Caching needs to be heavily tested
Database needs to be mocked
Endpoints need to be tested

I need to get better at testing 😆, so I volunteer to take this on!

@frankie-mur I've got a local branch here with some "basic" ping tests for the routes. I looked how how you can mock the database with Golang to be able to actually check contents of a webpage, but hadn't finished that work yet.
I'll push it up into a PR tonight and maybe you can pick up from there. There's gonna be some sort of interface work with Go so we can mock the Db calls GetPost, GetPosts, etc.

@frankie-mur , I've added some test examples with Database mocking in #24  . Let me know if you are still interested in working on this, you can take over that PR with your commits if you want.

Hey @matheusgomes28, awesome! Yes I can takeover and expand upon


text:
comma for "decimal point" not recognized in \hspace

I was processing a LaTeX file that contained
\hspace{0,5cm}
in an equation.  This gave a MathJax error: Missing dimension or its units for \hspace.
The answer to issue #169 described a way to switch from US to European notation
for numbers.  I couldn't tell if that would make a difference in my case, but what I would
really like is for either notation to work in all cases, because it is nontrivial for me to
detect which notation is used be a particular author (I am using MathJax to display the
math in papers written by other people).

==> In Testsuite
LaTeXToMathML/issue856.html

authors: davidfarmer dpvc

repo: mathjax/MathJax


text:
DockviewApi.toJSON doesn't include panel titles

Hi, I absolutely love the work you're doing with this library :), and am trying to use it.
Describe the bug
I think I've run into a bug where the panel title is not included in the JSON, causing the title to reset to the id when you refresh (persistent layout).
Steps to reproduce the behavior:

Create a panel with a title, the panel renders with the correct title.
Check DockviewApi.toJSON()
See blank title

Expected behavior
Expected title to be included in the JSON
{
   "id":"xlfqnma9wioq948mmf6mh7u2",
   "contentComponent":"heatmap",
   "params":{
      "title":"Heatmap"
   },
   "title":""
}

Thank you and thanks for the report. Which version are you using?
I have an example here using the latest version 1.7.2 which seems to persist and reload a custom panel title but I may be missing something. You might be able to adjust my example to "break it"?
https://codesandbox.io/p/sandbox/github/mathuo/dockview/tree/master/packages/docs/sandboxes/layout-dockview

I think I've narrowed it down.
It seems to happen only when I have a title, and a prop called title.
  api.addPanel({
    id: "panel_1",
    component: "default",
    // title here
    title: "Heatmap",
    params: {
      // title here also
      title: "Heatmap",
    },
  });

Reproducible codesandbox:
view link: https://lnz49u-3000.csb.app/
https://codesandbox.io/p/sandbox/stoic-napier-lnz49u?file=%2Fsrc%2Fapp.tsx%3A26%2C1-33%2C6

Click reset Layout, title of panel_1 should be Heatmap
Refresh, title changes to panel_1

https://github.com/mathuo/dockview/assets/36898190/22b73b73-5ce4-4885-85ee-8dcc1ed85b21

Sandbox example using the build created from this branch as evidence of a working fix.
https://codesandbox.io/s/layout-dockview-forked-2nfmmq

That seems great!

1.7.3 published with fix - thanks for the help in finding the bug

I think I've discovered another related bug:
If I use api.updateParameters inside a panel, it resets the title, even though the original title was not in the params

Damn, sorry yeah I see this - seems to be an existing bug again. I will take a deeper look at this logic and add tests.

Sandbox example using a copy that has these changes https://github.com/mathuo/dockview/pull/265 here.
Shows examples of both api.setTitle and api.updateParameters being used and covering the case where somebody may name a custom parameter title.
Looks good to me currently, will take some more checks too.

I think I'm still seeing the bug, gonna try and make a sandbox

My bad, just had to clean node_modules.
Looks good, Thanks!

v.1.7.4 published with fixes

authors: alakhpc mathuo

repo: mathuo/dockview


text:
Error consistency during trace generation

Currently, we don't have a consistent approach to handling unexpected behavior. In some cases, we throw errors where a proof can be generated but we know it has issues (i.e. an assumption of the operation is not met). In other cases, we don't throw an error, and we allow it to continue if a valid proof can be generated, even if an underlying assumption of an operation is broken.
It would be good to pick a method so that programs have a guarantee of either

if any internal assumptions are broken by the program, trace generation will fail
if a valid proof can be generated, we won't throw an error, but it's not guaranteed that no internal assumptions have been violated.

Another option would be to do (1) in debug mode, and (2) in release mode, which would provide more safety without additional overhead during regular execution.
Once we've chosen our approach, we should review our implementation to ensure that we're following it consistently.

I also noticed a few instance of assert!(...) being used in the code which will lead to panic upon failed assertion.  I wonder if it would be preferable to throw errors that can be handled?

My preliminary thoughts:

The only time when processor/prover/verifier etc. should panic is when there is a bug in our codebase. So, any asserts we use should not be triggered by user inputs.
If we can't generate an execution trace (e.g., in case of divide-by-zero), we should return an error.
If the execution trace can be generated, but we know that the proof won't be verified (e.g., performing an AND on non-binary inputs), we should also return an error.
If the execution trace can be generated and the proof may be verified, but we know there is an issue with the program (e.g., performing an unsafe u32 operation on non-u32 inputs), we should print out a warning.

authors: bobbinth frisitano grjte

repo: maticnetwork/miden


text:
E2e

First implementation of to support e2e
-> use libolm 0.1.3
-> works only with the previous riot app
-> some unitary testes have been added to test it.

General
0. How far should we go in terms of defensive programming approach to prevent leaking critical data in the stack? (see MXCrypto)

magic string: "ed25519", possible candidate OlmAccount.JSON_KEY_FINGER_PRINT_KEY
magic string: "curve25519", possible candidate OlmAccount.JSON_KEY_IDENTITY_KEY
magic string: "curve25519",  possible candidate OlmAccount.JSON_KEY_ONE_TIME_KEY when appropiate

MXCrypto

startUploadKeysTimer() line 214:  magic number 5 (ex: ONE_TIME_KEY_GENERATION_MAX_NUMBER)
decryptEvent ():  where it is used, the return code is not checked (null can be returned)
decryptEvent () line 1017:  result could be null at this point..
uploadKeys () line 378:   oneTimeKeyCountsForAlgorithm() returns an int, so keyCount can be used directly
setEncryptionInRoom(): return code is never tested (ex: in encryptEventContent())
MXOlmDevice
signJSON ()  - typo:  JSONDictinary => JSONDictionary

CryptoApi

sendToDevice ():  random parameter may be it could be renamed in randomTransactionId? (transaction identifier is a particular access token. It only serves to identify new requests from retransmits)

authors: pedroGitt ylecollen

repo: matrix-org/matrix-android-sdk


text:
Explicit key verification signaling

This is a continuation of the discussion on https://github.com/matrix-org/matrix-doc/pull/1544
The need arose for explicit signaling so that each client knows what verification method is being presented, and to be able to switch between them. QR code verification would need modification to reciprocate in a separate package from "start".
Sorus idea would be to allow sending multiple start's. Each new start re-starts / switches to that verification method.
To be able to deduplicate correctly which start to use, the package would receive an integer counter. If it is absent or malformed (not an int) the counter is to be interpreted as 0. Each client is only allowed to send the same counter once, meaning we can have a maximum of two same counters (both clients)
The start with the highest counter is used. If there are multiple, then the one with the lexographically smaller mxid is used. if they match, then lexographically smaller device ID (same as in #2366 ) The difference to #2366 is, that the method picked can be different, and the start can be sent after other packages have been exchanged already, but not after an error or a done. This way clients can still switch to a different method after verification is initialized.
Of course there are other ways to model this, this is just one suggestion.
Clients could still present multiple verification methods on-screen (e.g. qr + nfc) and listen to them. If a different method is used than is started it could just immidiately send a new start for that one. e.g. client 1 sends a start for nfc, but listens both for nfc and displays a qr code. client 2 then scans the qr code, sends a start for qr code, and then sends the reciprocate.

I have to say that I'm not too fond of having unlimited starts that can override each other in a single verification flow.  It seems to me like it will introduce more complexity in the system, add new edge cases that need to be figured out, etc, which is something that I would like to avoid if possible.
But I think that we can satisfy both our desires with some other changes to the verification framework.

When one user makes a verification request, they also list what verification methods they're willing to auto-display.  Only certain verification methods will support auto-display (currently, only QR code showing)
When the second user accepts the verification, they can say what one* method they're going to auto-display (if any)
User 1's client will also auto-display that type.  Both clients will present buttons for switching verification methods.
Verification proceeds as normal; if a user selects a different verification method from the auto-displayed type, then the auto-displayed type disappears on both clients.

*  (should it just be limited to one method? or let them select a list of non-conflicting methods?)
In this way, we avoid having multiple start messages with different priorities, but we still have explicit signalling of what the clients are doing.  Does this sound workable?

While your proposed system would also work, to soru it seems more complicated and limited than the original suggestion.
A strength of the original thing was if, let's say you pick QR code but only after that notice your camera is broken you can still seemlessly switch over to NFC
So yes, that does sound like a working compromise (would love to get @deepbluev7  's feedback, too), but to soru it seems.....more complicated and like it could have more edge cases, rather than fewer.
One of the issues with QR code was also how badly it works with the existing verification flow stuff (emoji), that it is really hard to code it for clients. Multiple starts would also make that more elegant.
TL;DR that does sound like a working compromise but soru thinks it is still limited and  can still be improved even more, with the original suggestion

I think that https://github.com/matrix-org/matrix-doc/pull/3131 should address this.

authors: Sorunome uhoreg

repo: matrix-org/matrix-doc


text:
User disambiguated display names should be disambiguated according to Unicode normal form

This would prevent abuses where a user crafts a display name using distinct code points that display as visually identical glyphs compared to another user by reducing display names to a normal form before comparing them for the purposes of disambiguation.
Four Unicode normal forms are defined, and I believe two of them are relevant here. NFC describes a form of a Unicode string which will have the same appearance, while NFKC describes a form which has had broad classes of similar-but-not-identical glyphs and sequences thereof (such as ligatures versus discrete glpyhs and sub/superscripts versus numerals) replaced with canonical forms which may not have precisely the same appearance.
Using NFC should ensure that, for a sufficiently attentive user and high-quality rendering, all non-disambiguated display names are visually distinct. Using NFKC should additionally ensure that many visually distinct names which might be nonetheless be commonly mistaken for each other are disambiguated. Before opening a pull request to change the wording of the specification, I'd like input on which approach people see as more suitable.

Yes it should. This is something of a duplicate of https://matrix.org/jira/browse/SPEC-392.

authors: Ralith richvdh


text:
Fix broken link in server-server signing events section

Signed-off-by: Devon Hudson devonhudson@librem.one
The signing events section of the server-server-api has a reference that has since been moved.
This PR fixes the reference.

Preview: https://pr3528--matrix-org-previews.netlify.app

Going to pop a changelog on this and merge ahead of the v1.2 release.


text:
[WIP]feat: add DN

Signed-off-by: wanglei4687 wanglei4687@gmail.com
What type of PR is this?

[ ] API-change
[ ] BUG
[ ] Improvement
[ ] Documentation
[x] Feature
[ ] Test and CI
[ ] Code Refactoring

Which issue(s) this PR fixes:
Fixes #137
What this PR does / why we need it:
Not Available
Special notes for your reviewer:
Check List

[ ] DN api/types
[ ] DN Controller
[ ] docs
[ ] unittest

Additional documentation (e.g. design docs, usage docs, etc.):
Not Available

@mergify update

@mergify update

@mergify squash

repo: matrixorigin/matrixone-operator


text:
Upgrade rb-sys

This PR upgrades rb-sys to 0.9.7. This should improve build times, add support for ruby macros, and ruby allocator.
At Shopify, we are trying to run magnus again Ruby head, and running into some issues. Since we use the rb-sys-interop, upgrading is an important step towards 3.2 compat.
❤

It may be poor judgement on my part, my plan was to stick to reimplementing Ruby's macros/inline functions in Rust for Magnus. It allows the Rust compiler to inline them, unlocking a whole host of optimisations.
I quickly knocked together a branch just to check that approach is still feasible, and that looks like it works with Ruby 3.2-dev and rb-sys 0.9.7: https://github.com/matsadler/magnus/compare/ruby-3-2-rb-sys-upgrade does that work for you?

It may be poor judgement on my part, my plan was to stick to reimplementing Ruby's macros/inline functions in Rust for Magnus. It allows the Rust compiler to inline them, unlocking a whole host of optimisations.
I quickly knocked together a branch just to check that approach is still feasible, and that looks like it works with Ruby 3.2-dev and rb-sys 0.9.7: https://github.com/matsadler/magnus/compare/ruby-3-2-rb-sys-upgrade does that work for you?

That is fine by me in theory. How much of a performance gain to we get? I do know that things such as determining a raw pointer location may change a bit to do variable width allocation... so if the performance gain isn't significant it might be wise to guard against those change by using Ruby public API.

Also, we need to have the gem or ruby-abi-version feature flag set with rb-sys interop, since that defines the required ruby_abi_version function needed in 3.2

How much of a performance gain to we get?

[I started writing this reply this morning before your last message, and now this bit seems a little redundant. But I wrote it already, and figured it might be useful insight into what how I'm thinking about this.]
This is hard to know in general, as different use cases will result in different optimisations. The benchmark for the rust-blank example is faster with the inlineable Rust implementation of as_str_unconstrained, but not by a huge amount.
When I reimplemented the numeric conversions in Rust I saw massive speedups.
My plan was, if Ruby's API provides something as macro/inline function then someone has seen the potential for optimisations from inlining, so I'd use that as signal it's worth reimplementing in Rust rather than some other workaround (I do think the approach to exposing bindings to macros in rb-sys is also really useful for maximum compatibility).

I do know that things such as determining a raw pointer location may change a bit to do variable width allocation... so if the performance gain isn't significant it might be wise to guard against those change by using Ruby public API.

Yeah, I was concerned about this, and was kind of putting it off til we got closer to the release of 3.2, but (if the current implementation doesn't change) it turns out it's not a huge change (with regards to getting a raw pointer) for strings, and no change for arrays.
Long term my plan for Magnus 1.0 was to wait for a few Ruby releases (so unfortunately multiple years) to see if it is actually possible to expose a stable API while bending the rules about Ruby's public api like this. If there's just too much churn on Ruby's internals I'll sacrifice the performance and find another way.

Also, we need to have the gem or ruby-abi-version feature flag set with rb-sys interop, since that defines the required ruby_abi_version function needed in 3.2

Oh, neat, I didn't realise dependencies could export functions like that.
In general I was imagining people could set rb-sys features like so:
[dependencies]
magnus = { git = "https://github.com/matsadler/magnus", features = ["rb-sys-interop"] }
rb-sys = { version = "0.9", features = ["ruby-abi-version"] }

Although right now in that case that isn't actually needed as ruby-abi-version is in the default features of rb-sys, so already enabled.
I was thinking I'd set default-features = false on the magnus dependency of rb-sys (which is currently broken, PR incoming), so that way end users could pick and choose features, without being automatically opted in.
I need to have a think through how I want to handle ruby-abi-version, the above should get things working for now.

Maybe we can add some smoke tests with GC.stess to help ensure soundness though, since we are outside of public API. Thoughts?

Yeah, that'd be helpful, especially for keeping things working with future versions of Ruby. Some more documentation under the Safety heading for RString::as_str and RArray::as_slice to really nail down what is and isn't permitted would be great too. I can add these to my todo list, but I'd also welcome contributions.

transferring this discussion over to #10

authors: ianks matsadler

repo: matsadler/magnus


text:
Interpretation of nested emphasis

The CommonMark spec says that when nesting bold and italic:

An interpretation ... is always preferred to ....

However your examples have it the other way round.
Note this was a change in version 0.28 (2017) of the spec. Earlier versions had it the other way round.

Hey, thanks for opening an issue! I researched this a bit and I admit that I'm scratching my head a bit on this one.
Not sure if I'm understanding this correctly (and not that it matters much at this point), but the order (and the change) appears to be arbitrary (?). See https://github.com/commonmark/commonmark-spec/commit/0e5e95eb7fcc973128d3a2a8cddf221f3825c156
In any case, https://babelmark.github.io/?text=This+text+is+really+important is showing that it appears to be split about 50/50 among implementations. I guess I could add a note saying that CommonMark-compliant implementations switch the order. Do you think that would that be useful for readers?

Thanks again for opening this issue. I've implemented a fix in https://github.com/mattcone/markdown-guide/commit/830cf88f460358b8b8461ce7a94c39173be637ff.

authors: BigBadaboom mattcone

repo: mattcone/markdown-guide


text:
feat: Optimize workflow with caching and cleanup on snapshot-recovery…

What ❔
Why ❔
These changes aim to make the CI/CD process faster and more reliable by reducing redundant operations.
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via zk spellcheck.
[ ] Linkcheck has been run via zk linkcheck.

Thanks for your contribution, but this isn't applicable to our CI setup.

repo: matter-labs/zksync-era


text:
refactor: Remove BWIP

What ❔
Fully removes the BWIP component.
This PR assumes that all instances of BWIP are already scaled down, which was confirmed by @EmilLuta
Why ❔
The component was deprioritizing for time being, and it's easier to recreate it once we needed than to maintain.
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via zk spellcheck.
[ ] Linkcheck has been run via zk linkcheck.

@EmilLuta done


text:
chore(ci): use canonical prysm images in local testnet

What ❔
The canonical images after prysmaticlabs/prysm#13324 now multiarch, that is including Apple Silicon builds.
Why ❔
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via cargo spellcheck --cfg=./spellcheck/era.cfg --code 1.

Let me know if you have any issues with arm images. The tagged latest image at the time of writing has a manifest that supports arm.
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 3216,
         "digest": "sha256:9f682cf847794871faba3a2a4126d2e320171da9b9f30c8efcde729dbae69f6d",
         "platform": {
            "os": "linux",
            "architecture": "arm64",
            "variant": "v8"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 3216,
         "digest": "sha256:23ef4cb15611f0d530897b50b53c6ad1564b256b018ce784d07ab236f8efdf12",
         "platform": {
            "os": "linux",
            "architecture": "amd64"
         }
      }
   ]
}

https://console.cloud.google.com/gcr/images/prysmaticlabs/GLOBAL/prysm%2Fbeacon-chain@sha256:ff6922959da35e4c332274f7f211cb0107f41ed84c9fe47aa25ecf36f4e9752e/details?tab=manifest

@prestonvanloon do you think it would be possible to publish these builds also for v4.1.1 (stable) ? Currently they exist only for latest?

authors: montekki prestonvanloon


text:
Add s3 support for object store

Add amazon s3 support for prover's object store

hey, thanks to your contribution!
Trying to understand the usage better - do you intend to run the system on AWS? Object Store is used to transfer (and store) prover-related artefacts. Do you plan to run provers on AWS?

@RomanBrodetski
That's correct.
From my understanding, the prover only support gcp at the moment.
This PR is only one part of the integration. we will also look later how we can contribute to help supporting aws on the prover server.

@popzxc understood
I will be closing the PR for now

authors: RomanBrodetski thomas-nguy


text:
fix python sdk TxFunctionCall import examples (#461)

fixes #461

Hi @omurovec, we're about to update the whole Python SDK, including docs, so this change may be already in the pipeline. I'm going to close your PR for now but thank you for raising :)

authors: kailash-manasarovar omurovec

repo: matter-labs/zksync-web-era-docs


text:
vlog can be blocking

As discussed in https://github.com/Fluidex/dingir-exchange/issues/115 (credits to @driftluo from @nervosnetwork & @silathdiir from @Fluidex),
https://github.com/matter-labs/zksync/blob/master/core/lib/vlog/src/lib.rs uses tracing_subscriber::fmt::Subscriber, whose default writer is blocking.
Suggest changing to a style like https://github.com/Fluidex/dingir-exchange/pull/185/files

Thanks! @Deniallugo and @StanislavBreadless please look into it.

authors: HAOYUatHZ popzxc

repo: matter-labs/zksync


text:
Fix GitHub release markdown for mac universal change

Summary
Adding the Mac universal binary changed the way we write the release description. This PR fixes that.
NONE

The files scripts/generate_release_markdown.sh, scripts/generate_release_markdown.sh are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

The files scripts/generate_release_markdown.sh, scripts/generate_release_markdown.sh are in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

Cherry pick is scheduled.

authors: devinbinnie mattermod

repo: mattermost/desktop


text:
Add quick guides to react component testing

Add quick guides to react component testing.

@saturninoabril Thanks for writing up this guide!
Does it differ from George's blog post? https://grundleborg.github.io/posts/react-component-testing-in-mattermost/

@jasonblais I guess the blog from George discussed the overall structure of React component testing. However, it fell short in describing how to write detailed test cases that will cover as much as possible regarding the specifics and functions of a component.
The guides I provided might not be complete or might have entries that are not necessary, but I guess we could make this as a baseline, and just update or modify if needed.

Thanks @saturninoabril and @lindy65 -- two minor tweaks based on your feedback. Good for dev review

authors: jasonblais saturninoabril

repo: mattermost/docs


text:
Remove "Migrate redux to flow" page and add "Migrate webapp to typescript" page

Summary
This PR explains:

the purpose of this campaign
relevant channels on community
how to find and claim a ticket
advice on how to migrate an existing React component to Typescript

I used the "Migrate to Flow" page as a template for this new page.
Ticket Link
Fixes https://github.com/mattermost/mattermost-developer-documentation/issues/633

Looks good @mickmister.
I'm wondering if we should add a couple notes for things I've noticed in recent TS conversion PRs, for example:

Avoid use of the any type except in test files. The components themselves should be as well-defined as possible.
Most objects we used are typed in the mattermost-redux library if you can't find a type you're looking for.

If I think of any more I'll comment here.

@justinegeffen Thanks for the proofreading the PR :+1: I agree with mostly all of the suggestions, and have answered all of your questions for discussion.

authors: devinbinnie mickmister


text:
Archive 2021 ideas list

Summary
This PR makes it explicit that we were not selected for 2021 as an organization. I considered removing the page completely, but I think it is valuable to keep it there for historical reasons. If you disagree, please tell me so!
The structure change I did was to include everything that was there as a sub-section of the now top section: 2021. We'll add a new top section next year.
Ticket Link
--

/update-branch

/update-branch

Thank you, everyone!


text:
I can't build due to broken project dependency (mmjstool)

Summary
I can't build due to broken project dependency (mmjstool).
Environment Information

Device Name: Macbook Air M1
OS Version: macOS 12.0.1
Mattermost App Version: #e9df1b3dbb07b29aea113ccf0456c78822563d26 master
Mattermost Server Version:

Steps to reproduce
Just do a fresh checkout/pull, do the appropriate preparations and try to run npm run build:android .
Expected behavior
That it builds without any errors.
Observed behavior (that appears unintentional)
I'm getting this error as follows:

npm WARN tarball tarball data for mmjstool@git+ssh://git@github.com/mattermost/mattermost-utilities.git#3faa6075089a541d8c90ed85114e644c7a23fedf (sha512-84xbA6yRt+pEbYk/OmM9sbJQp7PkSAgqvn0N/QXuj1RKR+upxdAa6vTbTTBA+XweECN6xebCWncGJJiqWrtR1g==) seems to be corrupted. Trying again.

Possible fixes
Fix the mmjstool dependency ?

@BeRo1985
Same here currently experiencing this issue but what i did was to do this
"mmjstool": "github.com/mattermost/mattermost-utilities#3faa6075089a541d8c90ed85114e644c7a23fedf" and it installed

I had same issue

npm ERR! code EINTEGRITY
npm ERR! sha512-84xbA6yRt+pEbYk/OmM9sbJQp7PkSAgqvn0N/QXuj1RKR+upxdAa6vTbTTBA+XweECN6xebCWncGJJiqWrtR1g== integrity checksum failed when using sha512: wanted sha512-84xbA6yRt+pEbYk/OmM9sbJQp7PkSAgqvn0N/QXuj1RKR+upxdAa6vTbTTBA+XweECN6xebCWncGJJiqWrtR1g== but got sha512-xqr3JVKbdU38+uDYP6p+EENRg/fR2EP2Z9k3CKacDI7RRWXKeHuB0yRdPsgZuI7XCrp31mU1fGb9Ni5HJYoQ==. (687008 bytes)

I tried to open package-lock.js then replace
sha512-84xbA6yRt+pEbYk/OmM9sbJQp7PkSAgqvn0N/QXuj1RKR+upxdAa6vTbTTBA+XweECN6xebCWncGJJiqWrtR1g==
with
sha512-xqr3JVKbdU38+uDYP6p+EENRg/fR2EP2Z9k3CKacDI7RRWXKeHuB0yRdPsgZuI7XCrp31mU1fGb9Ni5HJYoQ==
then it worked

I had the same issue and your solution worked @namanhmhn so thanks ! 👍

Fixing this issue will reintroduce Mattermost in the F-Droid app store. At the moment the last build was so old that it didn't work with contemporary servers, so the complete app is temporarily removed, until this issue has been resolved.

See also https://gitlab.com/fdroid/fdroiddata/-/issues/1987

Fixing this issue will reintroduce Mattermost in the F-Droid app store.

That's not really true, though :)
There are more issues elsewhere :(

Do you have a list of which ones?

@PanderMusubi subscribe to https://github.com/mattermost/mattermost-mobile/issues/566

@BeRo1985 so this is fixed now?

I can also confirm the error is still present… 😢
As @namanhmhn instructed, I edited the package-lock.json file to replace sha512-d2p3iGoWbBpmYrZJnGOGoxfSeLTtwQKBQB+LeDA91RAc2RUCiMAA5kYGneSD0uK3L/TgEu6BuObQiCS2GoFMwA== with sha512-80k8ic7XSrvwlin2D5dtpNth4rl+zrabqfDhEJ0fZS3D5J9CvFGb7Sj7U2z6j9F2D9/FXhXV2uxi++HHsQWvYQ== and it worked, but it's quite annoying.

Is this still happening on the latest beta (V2)?

Didn't see it myself, ref: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/12399/pipelines

Cool, then I will marked it as solved. If the issue comes back, feel free to reopen it.

authors: BeRo1985 PanderMusubi dojoVader larkox licaon-kter namanhmhn nicolinuxfr

repo: mattermost/mattermost-mobile


text:
MM-11684 Fix grey highlight in the text fields in user profile

Summary
Fixes grey highlight in text fields
Ticket Link
MM-11684
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Has UI changes

Device Information
This PR was tested on: [Iphone x simulator]
Screenshots
Before:

After:

@enahum Changed it

@enahum Yes, it is used in other places. I need to update them but this would require more work than i thought because view will not take styles like color and font-size and we use different font-sizes. I need to check all of them individually

@enahum reverted prop name to be the same as most styles are to the input now.
taking out background alone to be used on view and rest of styles to the input component. So it keeps consistency with the rest of the places where we use these.

@sudheerDev build failures

@enahum Looking into it. But i don't see why they fail

@saturninoabril Need a second look at this. Minor changes though

authors: enahum sudheerDev


text:
MM-50818 Fix module loading issues caused by shared modules

The errors that we were seeing where either Boards or Playbooks were failing to load when they were both loaded at the same time seems like it was happening due to an issue with the resolution of shared modules by module federation. Specifically, it seems to be due to how it was trying to choose which version of those shared modules to use between the ones bundled with the web app, Boards, and Playbooks.
Since I've been trying to make the web app the authority for these dependencies, I just changed it so that the Playbooks build will never include "fallback" versions of React and such since we know they'll always exist in the web app.
Ticket Link
https://mattermost.atlassian.net/browse/MM-50818

@lieut-data I need a minute. I forgot one part of this

Okay, now it's good to go

Yep, CI on this branch isn't working yet -- feel free to merge @hmhealey :)

authors: hmhealey lieut-data

repo: mattermost/mattermost-plugin-playbooks


text:
[MM-14382] Added marked commit that fixes formatted embedded link to italicize when surrounded by asterisks

Summary
Added marked commit that fixes formatted embedded link to italicize when surrounded by asterisks.
Changes to marked library including tests can be found here.
Ticket Link
Jira ticket: MM-14382

FYI, this will conflict with https://github.com/mattermost/mattermost-webapp/pull/2309 depending on which gets merged first. The commit hash in that PR is the newer one

authors: hmhealey saturninoabril

repo: mattermost/mattermost-webapp


text:
[GH-15906][MM-22844] Change channel_icon for email notification redesign.

Summary
Change channel_icon.
Ticket Link
https://github.com/mattermost/mattermost-server/issues/15906
cc: @nickmisasi @ogi-m @devinbinnie

Hello @jp0707,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

LGTM! One question, is it intentional for the file name to be changed?

Thanks for throwing light on this. Changed the name back to channel_icon


text:
Add option to specify image repository for pulling agnhost image

This adds an option to specify the image repository. Sometimes we run tests in region where access to public repositories is blocked. The default value is updated to registry.k8s.io instead of k8s.gcr.io  as per this article

Thanks @jaydeokar , this looks good -- will take a deeper look !

That sounds good to me

alright :smile: you are now in the cyclonus commit history :smile: :smile: https://github.com/mattfenwick/cyclonus/commit/577d0a874d05465477c382c9c11ff02ac8df9a01
https://github.com/mattfenwick/cyclonus/commit/77ab9548493d734b8e9c6407c992039f090424da
thanks again for the patch!

authors: jaydeokar mattfenwick

repo: mattfenwick/cyclonus


text:
Drop-down menu options in compiler pane do not work on android chrome

On my android phone with chrome, I can visit godbolt.org and if I try to select any option from the compiler drop-down menu (eg to create a clang-tidy tool), it does not work. The menu appears, but pressing the option (or any other option in the menu) does not work.

Hi! Sorry you have had to experience our poor mobile experience, but saddly we can't do anything with it (Yet! We might have something eventually!) because most of the components (The editor being the most prominent one) are not mobile friendly. I'll close this one in favour of #176
Let us know if we can help you with something else! :)

authors: RabsRincon steveire

repo: mattgodbolt/compiler-explorer


text:
🛑 Test Broken Site is down

In 2f041ec, Test Broken Site (https://thissitedoesnotexist.koj.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Test Broken Site is back up in 0b55fcf after 35 minutes.

repo: matthewakinola/matt-check


text:
Outbound mapping with keypath into single key

Hi. Please, does Realm+JSON somehow supports outbound object mapping from RLMObject into JSON from keypath object.property into key property?
I have object scheme such like:
@interface MyObject

@property NSString * attr1;
@property NSString * attr2;
@property MySubobject * subobject;

@end

@interface MySubobject

@property NSString * attr3;
@property NSNumber<RLMInt> * attr4;

@end

In one specific case I need to create JSON with structure that attr1, attr2, attr3 and attr4 would be on the same level, therefore something like:
+ (NSDictionary *)JSONOutboundMappingDictionary {
    return @{
             @"attr1" : @"attr1",
             @"attr2" : @"attr2",
             @"subobject.attr3" : @"attr3",
             @"subobject.attr4" : @"attr4"
             };
}

So far it keeps crashing and I can't figure out how to achieve such effect without removing MySubobject ale moving all it's attributes into main object (or creating JSON manually from self-created NSDictionary). Is it even possible with Realm+JSON? I noticed inverse case from JSON keypath to single key in RLMObject is allowed. In advance thanks for any answer.

I tried achieving the same thing, so finally I have made a modification: introduced JSON preprocessing method, in which you can join your values. https://github.com/matthewcheok/Realm-JSON/pull/86 is the pull request for that.

authors: originalsk viktorasl

repo: matthewcheok/Realm-JSON


text:
Discern 'Dave_scores' better

Maybe add a column for whether or not the restaurant has a 'dave_score'

Could also be done in Tableau but it might make more sense to do it in the csv


text:
Invalid rain statistics values

Still a problem, erased memory with Erase All Flash Before Sketch Upload: Enabled, no more ssi in memory, still false rain info ->
data = {"id":43961,"ch":0,"battery_ok":1,"temp_c":10.8,"humidity":96,"wind_gust":3.7,"wind_avg":3.6,"wind_dir":205.0,"uv":0.0,"light_klx":0.3,"rain":994.6,"rain_h":0.0,"rain_d":22940.6,"rain_w":22940.6,"rain_m":22940.6}

Originally posted by @tonbor in https://github.com/matthias-bs/BresserWeatherSensorReceiver/issues/190#issuecomment-2504139641

@tonbor I need your debug log file to analyze this.

18:54:39.536 -> [115316][D][RainGauge.cpp:194] prefs_load(): lastUpdate        =1732730077
18:54:39.568 -> [115323][D][RainGauge.cpp:195] prefs_load(): startupPrev       =0
18:54:39.568 -> [115329][D][RainGauge.cpp:196] prefs_load(): rainPreStartup    =995.100037
18:54:39.568 -> [115336][D][RainGauge.cpp:197] prefs_load(): tsDayBegin        =3
18:54:39.568 -> [115341][D][RainGauge.cpp:198] prefs_load(): rainDayBegin      =994.900024
18:54:39.568 -> [115348][D][RainGauge.cpp:199] prefs_load(): tsWeekBegin       =3
18:54:39.568 -> [115354][D][RainGauge.cpp:200] prefs_load(): rainWeekBegin     =994.900024
18:54:39.605 -> [115361][D][RainGauge.cpp:201] prefs_load(): wdayPrev          =3
18:54:39.605 -> [115367][D][RainGauge.cpp:202] prefs_load(): tsMonthBegin      =10
18:54:39.605 -> [115373][D][RainGauge.cpp:203] prefs_load(): rainMonthBegin    =994.900024
18:54:39.605 -> [115379][D][RainGauge.cpp:204] prefs_load(): rainPrev          =2346427760205696598016.000000
18:54:39.637 -> [115388][D][RainGauge.cpp:205] prefs_load(): rainAcc           =2346427760205696598016.000000
18:54:39.637 -> [115397][D][RainGauge.cpp:280] update(): rainDelta: 0.0
18:54:39.637 -> [115402][D][RainGauge.cpp:325] update(): t_delta: 1007513408
18:54:39.637 -> [115408][D][RainGauge.cpp:345] update(): hist[9]=0 (upd)
18:54:39.637 -> [115413][D][RainGauge.cpp:383] update(): hist[]={158, -1, 0, 0, -1, 0, 0, 0, 0, 0, }

19:18:59.586 -> [426578][D][RainGauge.cpp:194] prefs_load(): lastUpdate        =1732731517
19:18:59.586 -> [426585][D][RainGauge.cpp:195] prefs_load(): startupPrev       =1
19:18:59.586 -> [426591][D][RainGauge.cpp:196] prefs_load(): rainPreStartup    =17845015893711164469673984.000000
19:18:59.586 -> [426600][D][RainGauge.cpp:197] prefs_load(): tsDayBegin        =3
19:18:59.586 -> [426606][D][RainGauge.cpp:198] prefs_load(): rainDayBegin      =994.900024
19:18:59.586 -> [426613][D][RainGauge.cpp:199] prefs_load(): tsWeekBegin       =3
19:18:59.620 -> [426619][D][RainGauge.cpp:200] prefs_load(): rainWeekBegin     =994.900024
19:18:59.620 -> [426625][D][RainGauge.cpp:201] prefs_load(): wdayPrev          =3
19:18:59.620 -> [426631][D][RainGauge.cpp:202] prefs_load(): tsMonthBegin      =10
19:18:59.620 -> [426637][D][RainGauge.cpp:203] prefs_load(): rainMonthBegin    =994.900024
19:18:59.620 -> [426644][D][RainGauge.cpp:204] prefs_load(): rainPrev          =17847362088973039403270144.000000
19:18:59.661 -> [426653][D][RainGauge.cpp:205] prefs_load(): rainAcc           =2346427760205696598016.000000
19:18:59.661 -> [426661][D][RainGauge.cpp:280] update(): rainDelta: -17845015893711164469673984.0
19:18:59.661 -> [426669][D][RainGauge.cpp:325] update(): t_delta: 1007513408
19:18:59.661 -> [426675][D][RainGauge.cpp:345] update(): hist[3]=0 (upd)
19:18:59.661 -> [426680][D][RainGauge.cpp:383] update(): hist[]={0, 0, -1, 0, -1, 0, 0, 0, 0, 0, }

Which SLEEP_INTERVAL did you set?

non, comment out sleep

What is the interval between messages containing valid rain values then? The short log snippets you provided do not show this.

Will look in my source tomorrow. Did buy Heltec T190 with sx1262, will adjust source and adjust config file for this board. See if get the same outcome for rain and not blocking messages from other source then my weatherstation and Bresser sensors.

Another - most likely - cause for the wrong rain values could be the reception of another weather sensor's rain value (or some radio signal which is misinterpreted as that).
See https://github.com/matthias-bs/BresserWeatherSensorReceiver/issues/200.
To check this, please have a look at the message decoding in the debug log.

debug:10:30:12.544 -> [166314][I][BresserWeatherSensorMQTT_S3_V03_multi_mem.ino:848] publishRadio(): ESPWeather2-33737C/radio: {"rssi":-86}
10:30:12.544 ->
10:30:12.544 -> weatherSensor.clearSlots()
10:30:12.544 -> Get weather Data
10:30:15.623 -> [169404][D][WeatherSensor.cpp:351] getMessage(): [SX1276] R [D4] RSSI: -91.5
10:30:15.656 -> [169411][D][WeatherSensor.h:598] log_message():           Byte #: 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
10:30:15.656 -> [169424][D][WeatherSensor.h:608] log_message(): De-whitened Data: 7E 2F AB B9 23 90 B2 00 00 00 00 99 72 04 08 10 80 00 80 25 00 60 00 00 00 AA
10:30:15.656 -> [169437][D][WeatherSensorDecoders.cpp:105] findSlot(): sensor[0]: v=0 id=0x72181262 t=2 c=0
10:30:15.690 -> decode_ok for get weather Data
10:30:15.690 -> weatherSensor.clearSlots()

We'd need more debug output like
data = {"id":43961,"ch":0,"battery_ok":1,"temp_c":7.7,"humidity":81,"wind_gust":0.0,"wind_avg":0.0,"wind_dir":318.0,"uv":0.6,"light_klx":9.6,"rain":997.2,"rain_h":0.0,"rain_d":1.6,"rain_w":18.1,"rain_m":101.6}

and the parameters passed to rainGauge.update() to see what is going on.

A brand new Heltec T190 and this is the rain start
abb9
data = {"id":43961,"ch":0,"battery_ok":1,"temp_c":6.1,"humidity":80,"wind_gust":0.0,"wind_avg":0.0,"wind_dir":168.0,"uv":0.0,"light_klx":3.9,"rain":997.2,"rain_h":0.0,"rain_d":0.0,"rain_w":987.3,"rain_m":987.3}
rssi = -104.5
debug see #203

@tonbor I noticed from a GitHub mail that you reported that the issue was caused by an unstable power supply, but I cannot find your comment in any of the issues you created. Can this issue be closed then?

Well the problem is starting the first time reading the sensor when the sensor has a value from the past and the module has none. Then hour, day week and month has the wrong values.

The software should handle this correctly. At a fresh start (reset command received or Flash erased), all entries are as in valid and the current raingauge value and the timestamps are stored. From this point on, the values are calculated.
The only thing which is not quite correct is the handling of pasthour():
https://github.com/matthias-bs/BresserWeatherSensorReceiver/blob/617a1f159845c2654a8f04854eb13ef4d4debb58/src/RainGauge.h#L236
You should pass a pointer to a bool valid; variable to it and use the function's return value only if valid is true.
If there are values from a previous run stored in the flash, the algorithm will assume that it should proceed from there, i.e. use the stored timestamps and raingauge values as if recorded previously (from the same sensor!). This includes some tricks to handle potential resets (battery change) and counter overflow of the raingauge.
See https://github.com/matthias-bs/BresserWeatherSensorReceiver/wiki/04.-Implementing-Rain-Gauge-Statistics
Since I'm using some unit tests for this part of the software, nobody else reported any problems and I use the library in my own projects, I assume that it works.
I you still think there is a SW issue, please provide a complete log file spanning over a few transmission cycles and point me in the right direction... Otherwise I'm not inclined to spend my time on analyzing small bits of the big picture...

authors: matthias-bs tonbor


text:
NPM dependencies update

Some vulnerabilities have been found in current development dependencies versions, they should be updated.

Fixed in #24 .

repo: matthieujabbour/diox


text:
Add Arabic

This adds a minimal Arabic stemmer based on https://github.com/MihaiValentin/lunr-languages/blob/master/lunr.ar.js
I originally wrote this for use with mdBook. It's not a full port of the JS implementation, as I found many things in the original code to make search quality worse for my use case. If there is a requirement to be fully compatible with lunr-languages, I think I can work on a full port sometime.

Are you using a modified version of the JS code to execute the searches as well?

Yes, you can see it here: https://github.com/abdnh/mdBook/commit/1d537b5f6798c95e27f1f96c0c7dc08bb0f40715#diff-5d9c3e8a9c6b09e2f155e0820b2357172db3886542d2f1a3aa8cfcc46d5b26a6

So that's a bit tricky because I don't think it makes sense to support generating search indexes that can't be used. We need to at least point to a compatible JS implementation for people to use for each language.
I think what we should actually do is to include the JS in this repository so that we are free to modify it and can run integration tests. Upstream elasticlunr is basically unmaintained at this point, so I suppose we should do it.

Sorry for the wait!
I'm going to release a 3.0.0 version with our suggested JS included in the repository.

authors: abdnh mattico

repo: mattico/elasticlunr-rs


text:
Incorrect dividend acquisition matching

Hi,
Thanks for this tool, it's been incredibly useful in validating my own calculations.
I've found what I think is a bug in both dividends and capital return events. It seems that the code assumes dividends are being paid on all holdings, when they're only being paid on one?
Take for example:
BUY 21/02/2018 FOO 80 1.6732 0
BUY 21/03/2018 FOO 90 1.6528 0
DIVIDEND 30/04/2018 FOO 80 4.01

There are two holdings of FOO brought at two different times. The 21/03/2018 entry is not eligible for the dividend for whatever reason (as reported by my broker statements). However this errors:
[INFO] Begin processing
[INFO] Begin pre-processing transactions for FOO.
[DEBUG]  - Processing dividend event: <AssetEvent: kind=Dividend(80, 4.01), date=2018-04-30 00:00:00 +0000, asset=FOO>.
[ERROR] Failed: InvalidData("Error pre-processing FOO. Dividend amount doesn\'t match acquisitions.")

If I add the units  for both holdings together and report a dividend on that instead:
BUY 21/02/2018 FOO 80 1.6732 0
BUY 21/03/2018 FOO 90 1.6528 0
DIVIDEND 30/04/2018 FOO 170 4.01

it works fine:
[INFO] Begin pre-processing transactions for FOO.
[DEBUG]  - Processing dividend event: <AssetEvent: kind=Dividend(170, 4.01), date=2018-04-30 00:00:00 +0000, asset=FOO>.
[DEBUG]     - Matching to acquisition <TransactionToMatch: transaction=<Transaction: kind=Buy, date=2018-02-21 00:00:00 +0000, asset=FOO, amount=80, price=1.6732, expenses=0, groupedTransactions=[]>, amount=80, underlyingPrice=1.6732, price=1.6732, expenses=0, offset=0>, apportioned value of 1.88705882352941176470588235294117647058.
[DEBUG]     - Matching to acquisition <TransactionToMatch: transaction=<Transaction: kind=Buy, date=2018-03-21 00:00:00 +0000, asset=FOO, amount=90, price=1.6528, expenses=0, groupedTransactions=[]>, amount=90, underlyingPrice=1.6528, price=1.6528, expenses=0, offset=0>, apportioned value of 2.12294117647058823529411764705882352938.
[INFO] Finished pre-processing transactions for FOO.
[INFO] Begin processing transactions for FOO.
[INFO] Begin matching processor.
[INFO] Finished matching processor. Matched 0 and there are 0 disposals left.
[DEBUG] Section 104: Begin processor
[DEBUG] Section 104: Finished processor. There are 0 disposals left.
[DEBUG] Tax events for FOO
[INFO] Finished processing transactions for FOO. Created 0 tax events.
[INFO] Finished processing
# SUMMARY

Tax year   Gain   Proceeds   Exemption   Loss carry   Taxable gain   Tax (basic)   Tax (higher)
===============================================================================================

# TAX YEAR DETAILS

# TRANSACTIONS

21/02/2018 BOUGHT 80 of FOO at £1.6732 with £0 expenses
21/03/2018 BOUGHT 90 of FOO at £1.6528 with £0 expenses

# ASSET EVENTS

30/04/2018 FOO DIVIDEND on 170 for £4.01

I do not believe this to be accurate and isn't aligned with the way my brokers tax statements report, although the answer is correct irrelevant in most circumstances.

There are two holdings of FOO brought at two different times. The 21/03/2018 entry is not eligible for the dividend for whatever reason (as reported by my broker statements). However this errors:

Is this because the ex-div date is between 21/02/2018 and 21/03/2018? Use the ex-div date for the date.

I do not believe this to be accurate and isn't aligned with the way my brokers tax statements report, although the answer is correct irrelevant in most circumstances.

It is for CGT purposes. You have no gain, or loss, so nothing to report.
This calculator doesn't do anything related to income tax you might have to pay on dividends.
You probably need to research about when dividends are taken into account for CGT purposes. Note that it's ONLY on accumulation funds. And even then you need to research equalisation payments as well (which this calculator supports).

I’ll close this out, but if you still think there is an issue then please re-open @adamgibbins!

authors: adamgibbins mattjgalloway

repo: mattjgalloway/cgtcalc


text:
Wrong day select

In your demo page. When i click on 2/12/2015 (same for 3/12 4/12 5/12), your calendar show event of day 1/12. Can you let me know how to fix this? thank you!

Is this when clicking on a cell on the month view to then drill down into the day view for that months day? It might be a timezone issue as it works fine for me.

In your source file angular-bootstrap-calendar-tpls.js, in "MwlCalendarMonthCtrl" ctrl at line 531, i think condition should be
if (vm.cellIsOpen && vm.openRowIndex === null)
because when you select day in row 0, vm.openRowIndex equal to 0. And in calendar.refreshView it will call dayClicked function with current day.

Ah nice spot, fixed in 0.17.6, thanks for reporting! :smile:


text:
angular/forms api support

Sorry, this is more of a question than an issue. Does this now or are there plans to support dragging/dropping form components? I need to allow users to reorder a formArray and am trying to find a library that can do this natively.

It sounds like you want a sortable component, rather than a drag and drop component. I would recommend something like this: https://github.com/SortableJS/angular-sortablejs
Hope that helps! 😀

Thank you! That helped immensely.


text:
Needs smarter paging

when -All is specified, all pages returned by the API are unfolded and this can result in long delays depending on the number of users returned. Can paging be handled in a more elegant way?
How is paging handled if filtering is used but more than 50 objects are returned? Will the paging loop handle this?
How can we determine the number of objects returned prior to requesting all the pages?

Closing issue as filtering was implemented to replace paging.

repo: mattmcnabb/OneLogin


text:
fatal error: oci.h: No such file or directory  #include <oci.h>

i tried getting the oracle library for go by typing
go get github.com/mattn/go-oci8
Result:
fatal error: oci.h: No such file or directory
#include <oci.h>
^~~~~~~
compilation terminated.
go version go1.8.1 windows/amd64
i installed oracle instant client also

both sdk and basic
instantclient-basic-windows.x64-12.2.0.1.0.zip
instantclient-sdk-windows.x64-12.2.0.1.0.zip

what may be going wrong...

please modify oci8.pc in $PKG_CONFIG_PATH to fit to your environment.

oci8.pc
prefix=/devel/target/1.0
exec_prefix=${prefix}
oralib=C:\instantclient_12_2\sdk\lib\msvc
orainclude=C:\instantclient_12_2\sdk\include
gcclib=C:\mingw64\lib
gccinclude=C:\mingw64\include
glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums
Name: oci8
Version: 12.2
Description: oci8 library
Libs: -L${oralib} -L${gcclib} -loci
Libs.private:
Cflags: -I${orainclude} -I${gccinclude}
in image you can see i have set oci8.pc path as env variable, path is right

Any updates on this?  I'm having the exact same issue.  From what I can tell my oci8.pc and environment variables are all set appropriately.

set ldflags in your environment variables

@mattn Close this?

If you still have this issue, please reopen this.


text:
Added prediction fields for use by UI, still need to be populated

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

I didn't mess with anything that y'all are working on, so I merged this into DFA-9 (well, cherry-picked it, can't self-merge from GH any(more) I guess :)


text:
Question on Dataset

Hi,
I was wondering where the dataset credit comes from? Could you provide a link?
Best,
Leo

Hi,
thanks for your email and sorry for the late reply - I’m not too sure as this was taken care by my PhD student, but it might be this one: https://www.tensorflow.org/datasets/catalog/german_credit_numeric
Hope this is right and that it helps!
Best wishes,
Maurizio

On 19 Jan 2022, at 06:04, liuyuhao12 @.***> wrote:
Hi,
I was wondering where the dataset credit comes from? Could you provide a link?
Best,
Leo
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.

Thanks for your reply! Yes, this is the dataset.
On Tue, Jan 25, 2022 at 3:51 AM mauriziofilippone @.***>
wrote:

Hi,
thanks for your email and sorry for the late reply - I’m not too sure as
this was taken care by my PhD student, but it might be this one:
https://www.tensorflow.org/datasets/catalog/german_credit_numeric
Hope this is right and that it helps!
Best wishes,
Maurizio

On 19 Jan 2022, at 06:04, liuyuhao12 @.***> wrote:
Hi,
I was wondering where the dataset credit comes from? Could you provide a
link?
Best,
Leo
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.

—
Reply to this email directly, view it on GitHub
https://github.com/mauriziofilippone/deep_gp_random_features/issues/3#issuecomment-1020943934,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMOBB7MNFDEVPE7RWUAZKLDUXZQATANCNFSM5MI5YYCA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


text:
protected applications

good morning
I am using the plugin and it works perfect, but I have a detail and is that in android 6.0 or higher the application needs a protected applications permission to prevent the process from killing in the background.
What can I do to install the application and be protected?
thank you very much

It seems to just work on my Android 6+ without being killed without me adding any code to set protected mode. I suspect that protected mode is built in.

Not sure if i know, what is this about?

authors: frontendDuall klaus-donnert mauron85


text:
Clean does not delete .bbl file

Currently clean calls latexmk -C which doesn't delete bbl files because of decisions by the latexmk author. Would it make sense to set Clean to latexmk -C -bibtex which will delete bbl files as well ? Not sure I understand the author's justification that people might not have access to the original bib file — in the context of using TeX in Nova maybe this isn't something to worry about?

I do agree with you that the default latexmk -c behavior is not optimal. In fact, my own latexmkrc file sets $bibtex_use = 1.5 (“only use bibtex if the bib files exist; conditionally delete .bbl files in a cleanup (i.e., delete them only when the bib files all exist)” — cf. page 31 in latexmk’s manual).
However, one of the design ideas for the extension was this:

Instead of providing an interface to some of latexmk’s many, many configuration options in the extension Preferences, I recommend using latexmkrc files. These can be tracked in revision control systems, shared with collaborators, and used in other apps and operating systems.

What do you think? Thanks for your feedback!

Yeah I agree that this is probably for the best in the sense of obeying the defaults, and any user specified latexmkrc files.
Maybe add this as an item in the README of the extension for people who want more from 'Clean' or 'Build'.

authors: mava venkatasg

repo: mava/Nova-LaTeX


text:
Wrong logging target system_id

I'm connecting two groundstations on udp end points to one pixhawk running ardupilot. sys_id = 9. When logging on the computer connected to the pixhawk, i often tries to log from the wrong sysid. Most often it tries to log from sys_id = 252. Somtimes from sys_id = 4294967295
This seems to happen only when both GCS's are running.
correct output in terminal and working log:
pilot@RoamerIndia:~$ mavlink-routerd -d mavlink-router/config.d/ Could not open conf file '/etc/mavlink-router/main.conf' (No such file or directory) Open UDP [4] 10.19.127.1:15001   Open UDP [5] 10.200.1.100:15000   Open UDP [6] 127.0.0.1:14999   Open UART [7] /dev/ttyUSB4 * UART [7] speed = 921600 Open TCP [8] 0.0.0.0:5760 * Logging target system_id=9 on 00047-2018-01-28_18-32-29.bin
wrong output in terminal and not working log:
pilot@RoamerIndia:~$ mavlink-routerd -d mavlink-router/config.d/ Could not open conf file '/etc/mavlink-router/main.conf' (No such file or directory) Open UDP [4] 10.19.127.1:15001   Open UDP [5] 10.200.1.100:15000   Open UDP [6] 127.0.0.1:14999   Open UART [7] /dev/ttyUSB4 * UART [7] speed = 921600 Open TCP [8] 0.0.0.0:5760 * Logging target system_id=252 on 00048-2018-01-28_18-32-41.bin
crazy output in terminal and not working:
pilot@RoamerIndia:~$ mavlink-routerd -d mavlink-router/config.d/ Could not open conf file '/etc/mavlink-router/main.conf' (No such file or directory) Open UDP [4] 10.19.127.1:15001   Open UDP [5] 10.200.1.100:15000   Open UDP [6] 127.0.0.1:14999   Open UART [7] /dev/ttyUSB4 * UART [7] speed = 921600 Open TCP [8] 0.0.0.0:5760 * lseek failed (Bad file descriptor) Restarting log... BinLog not started Logging target system_id=4294967295 on 00064-2018-01-28_18-41-32.bin
We're running a fairly complicated communications setup and this might be a corner case, but I kind of fell in love with the simplicity, the logging and the config compared to mavproxy. not to mention the gain in performance. Hope you can help
Andreas

What's the sysid of the GCS?  Have you tried removing one of them and checking if the problem goes away?
crazy output in terminal and not working:
pilot@RoamerIndia:~$ mavlink-routerd -d mavlink-router/config.d/ Could not open conf file '/etc/mavlink-router/main.conf' (No such file or directory) Open UDP [4] 10.19.127.1:15001 Open UDP [5] 10.200.1.100:15000 Open UDP [6] 127.0.0.1:14999 Open UART [7] /dev/ttyUSB4 * UART [7] speed = 921600 Open TCP [8] 0.0.0.0:5760 * lseek failed (Bad file descriptor) Restarting log... BinLog not started Logging target system_id=4294967295 on 00064-2018-01-28_18-41-32.bin

Here it seems there is something wrong with the restart logic. "lseek failed (Bad file descriptor)" happens when we are trying to write to a closed file.  That system_id is (uint16_t) -1.
Another possible reasons... not sure if that's what happens when the fs is unmounted with an open fd . Are you logging to a removable media like usb disk or sd card?  Can you check if that media is being removed when that happens (check dmesg)?
it seems you are receiving

another check for you: the target system id is set to the first autopilot we receive a heardbeat from. I.e., please check if your GCS is not sending a heartbeat with component_id == MAV_COMP_ID_AUTOPILOT1:
MAV_COMP_ID_AUTOPILOT1=1, /* System flight controller component ("autopilot"). Only one autopilot is expected in a particular system. | */

What's the sysid of the GCS? Have you tried removing one of them and checking if the problem goes away?
crazy output in terminal and not working:
pilot@RoamerIndia:~$ mavlink-routerd -d mavlink-router/config.d/ Could not open conf file '/etc/mavlink-router/main.conf' (No such file or directory) Open UDP [4] 10.19.127.1:15001 Open UDP [5] 10.200.1.100:15000 Open UDP [6] 127.0.0.1:14999 Open UART [7] /dev/ttyUSB4 * UART [7] speed = 921600 Open TCP [8] 0.0.0.0:5760 * lseek failed (Bad file descriptor) Restarting log... BinLog not started Logging target system_id=4294967295 on 00064-2018-01-28_18-41-32.bin

Here it seems there is something wrong with the restart logic. "lseek failed (Bad file descriptor)" happens when we are trying to write to a closed file. That system_id is (uint16_t) -1.
Another possible reasons... not sure if that's what happens when the fs is unmounted with an open fd . Are you logging to a removable media like usb disk or sd card? Can you check if that media is being removed when that happens (check dmesg)?
it seems you are receiving

I have not checked the sys_id of the GCS but have suspected that it is 252 and that has tried to "grab" the logging function.
The log is written to the emmc of the computer running the OS. I'm stopping and starting to deliberatly trigging the behavior, so it might not be fair in most cuircumstances, however when we in the next step automate the starting and stopping of the mavlink-routerd, we will have to implement a timeout which might be undesirable.

another check for you: the target system id is set to the first autopilot we receive a heardbeat from. I.e., please check if your GCS is not sending a heartbeat with component_id == MAV_COMP_ID_AUTOPILOT1:
MAV_COMP_ID_AUTOPILOT1=1, /* System flight controller component ("autopilot"). Only one autopilot is expected in a particular system. | */

might I suggest adding a key in the logging routine with a sys_id to look for, default being first come first served?

authors: andreastoellefsen lucasdemarchi

repo: mavlink-router/mavlink-router


text:
Add a $cond_requests boolean to varnish::vcl

Add a $cond_requests boolean to varnish::vcl to control support forcontitionnal requests.
Right now, they are always disabled/stripped, meaning we will be returning full responses to clients, even if they were only doing a freshness check that was successful. It's just wasteful.

Wrong branch, apologies

repo: maxchk/puppet-varnish


text:
Publish on Hackage

Hi,
The library looks useful.
In my case I want to use Metamorphosis to shrink output only fields from BigQuery types.
e.g. https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#resource:-dataset.
A big product type such as Dataset has a few mandatory fields used only for sending responses.
I was looking for haddocks (haddocks is especially useful for TH functions accepting DSL),
but it turned out that the library is still not published on Hackage.

That's a valid point. Let me know if you find it usefull and I'll publish it then.

authors: maxigit yaitskov

repo: maxigit/Metamorphosis


text:
Cannot read property 'name' of undefined in auth.js

Hi @maxkostinevich,
Sorry for bothering you again. Are you sure
https://github.com/maxkostinevich/Shopify-Serverless-Starter-App#shopify-app-setup
is correct? When I click to install my application in my development shop I get the following error:
    "stack": [
        "TypeError: Cannot read property 'name' of undefined",
        "    at Response.dynamoDb.query (/var/task/app/auth.js:45:35)",

The /dev/install/store callback is never called.

The url being called when installing the app:
https://xxxx.execute-api.us-east-1.amazonaws.com/dev?hmac=xxxxxxx&shop=my-dev-shop.myshopify.com&timestamp=1587753486

So this part of the code:
    if(!event.queryStringParameters || !('shop' in event.queryStringParameters)){
        const response = {
            statusCode: 301,
            headers: {
                Location: action + '/install'
            }
        };
        return response;
    }

Is never called due to shop being in the queryStringParameters

@maxkostinevich why are you closing this without a comment?

@tvb just checked - the installation form works fine. If it does not work for you - feel free to fix it and send a PR.

authors: maxkostinevich tvb


text:
Blank MLST output breaks tool

Genome_name.fna.gz       -       -
INFO:bactQC.core:Derived expected_genus from genome_size after fetching: Hafnia
Error checking MLST results: Length mismatch: Expected axis has 3 elements, new values have 10 elements

Fixed

repo: maxlcummins/bactQC


text:
🛑 Canada.ca is down

In ffdabb8, Canada.ca (https://science.gc.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Canada.ca is back up in dfe3e1a after 16 minutes.

repo: maxneuvians/etat-status


text:
Applications of Univalence

If C is a univalent category, then the type of universal elements of a presheaf on C should be a property. We now have an application of this in the cartesian product solver.
This should follow from proving that the category of elements of a presheaf on a univalent category is univalent, because we have already shown universal elements are equivalent to terminal objects on the category of elements, and terminal objects are already shown to be a prop.
Proving this is going to take some work though because there isn't much in cubical for working with univalent categories and because you run into transport hell pretty much immediately. The following properties look useful:

Transport along isoToPath in SET is equal to applying the function (the equivalent of uaβ in Foundations.Univalence).
If F is a functor whose domain and codomain are univalent, then isoToPath of F-iso F iso is equal to cong (F .F-ob) of isoToPath

And possibly more...

Completed in branch universal-element-prop. I'll merge in after the cubical changes PR is merged

repo: maxsnew/multi-poly-cats


text:
Fills will be animated if defined as a path-based pattern. see this JSFiddle :)

Please define your problem or issue as clear as possible.
For a problem, please fill the following:
Vivus version: all
Browser: all
Steps to reproduce it:

A standard fill won't get animated, but...
Convert the fill to a path-based pattern (easy, see below and see the jsFiddle) and it will be nicely animated by Vivus

note: although changing the fill method is relatively easily done enough by hand, vivus has the capability to be used by regular people (not SVG experts) for whom this task is really too much.  This capability could be added to vivus to automatically do the conversion for them, see JSFiddle and below for what is involved.
JSFiddle link (or similar platform):
http://jsfiddle.net/davea0511/Lg376abm/
No personal website will be allowed, only sandboxed platform where the code is isolated and can be hacked.
[note]
I apologize for not doing the parsing code to make this automatic in vivus.  I'm not a programmer, but a total hack and I'd probably screw everything up.  I just kind of fell into this solution and thought it worth sharing.  To do it all you need is to change the fill to work like so:
<pattern id="pathFill1" patternUnits="userSpaceOnUse" width="2" height="30" >
    <path stroke=[fill color] d="M 1,0 l 0,30" stroke-width="2" class="SnupXuXl_0"/>
</pattern>
<path fill="url(#pathFill1)" ...>

Pattern notes:

I used a pattern height of 30, but if set to something big like 200 the animation will be one long fill instead of looking like closing blinds.
I used a pattern width of 2, but it doesn't matter so long as the path stroke origin is half of the width, and the stroke-width must be the same as the pattern width, or more.  Perhaps a wider width will be easier on the browser?  like width="100", d="M 50 ...", stroke-width=100? I don't know.  Just a thought.
Combinations of pattern sizes and path stroke definitions create some pretty cool patterns, plaid for example, if you wanted that, or diamonds or dots.  Not sure how useful this is ... but there it is.

[/note]

Note of course this only works for flat colors ... no gradients or patterns of course ... but again tweaking the pattern routine might be able to do this.  Above my head.

Hi there,
Thanks for your detailed demo. It's pretty promising and there's a lot of potential. I wasn't aware of pattern to be part of the original SVG specs. I try to find a way to integrate it to make a seamless as possible. However I hit a little problem when it comes to get the color of the element to animate. The fill color can be set via a CSS class and that make it more difficult to get. But I'll try to investigate to find a solution.
Having that kind of fill animation would be a nice plus :)

Hi @maxwellito, did you ever get around to implement something based on this? I would be very interested if you did!

Hi @Lauwisme
Sorry I didn't provided any update there. When the issue was created I played a lot with it but couldn't find a way to implement it correctly that work with most use cases :(

authors: Lauwisme davea0511 maxwellito

repo: maxwellito/vivus


text:
Contact force devel

Add 3d-quantity coordinate transformation from the local frame to the world frame.
Add Jacobian transformation.

This is for #88

repo: mayataka/robotoc


text:
Feature/admin login error

Taken from https://github.com/open-formulieren/open-forms/pull/1328

Codecov Report

Merging #39 (ace0bac) into master (0975973) will decrease coverage by 2.46%.
The diff coverage is 44.82%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
- Coverage   92.91%   90.44%   -2.47%
==========================================
  Files          22       22
  Lines         536      565      +29
==========================================
+ Hits          498      511      +13
- Misses         38       54      +16

Impacted Files
Coverage Δ

mozilla_django_oidc_db/views.py
51.51% <44.82%> (-48.49%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0975973...ace0bac. Read the comment docs.

authors: codecov-commenter stevenbal

repo: maykinmedia/mozilla-django-oidc-db


text:
AFRAME.utils.device is undefined

Hey there,
I get the following error, when loading your script:
TypeError: AFRAME.utils.device is undefined[Weitere Informationen]  aframe-mouse-cursor-component.min.js:1:403
 https://rawgit.com/mayognaise/aframe-mouse-cursor-component/master/dist/aframe-mouse-cursor-component.min.js:1:403
t https://rawgit.com/mayognaise/aframe-mouse-cursor-component/master/dist/aframe-mouse-cursor-component.min.js:1:102
 https://rawgit.com/mayognaise/aframe-mouse-cursor-component/master/dist/aframe-mouse-cursor-component.min.js:1:194
 https://rawgit.com/mayognaise/aframe-mouse-cursor-component/master/dist/aframe-mouse-cursor-component.min.js:1:2
I use the latest a-frame.min.js. Any help?
Thank you,
sebi

hi before the file, did you add actual aframe.js?

Hi,
Indeed, I had a wrong version of a-frame, thank you very much!

authors: mayognaise sebi-b


text:
error Error: connect ECONNREFUSED ::1:8000 (Chroma)

I'm running the Chroma docker image on Mac and I guess IPV6 support is not yet enabled. The image is up and running and reachable on 127.0.0.1:8000. Is there any way to override the host to use IPV4 ?
Full error:
error Error: connect ECONNREFUSED ::1:8000     at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)     at __node_internal_exceptionWithHostPort (node:internal/errors:668:12)     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {   errno: -61,   code: 'ECONNREFUSED',   syscall: 'connect',   address: '::1',   port: 8000,   config: {     transitional: {       silentJSONParsing: true,       forcedJSONParsing: true,       clarifyTimeoutError: false     },

Also running into this. Any chance you found a workaround?

Got the same error... anyone solved it?

got the same error

Any solutions to this?

I was getting the same error but I was running the chroma client on local (not docker) with
chroma run --path ./db

I tried to change the path in the ChromaClient constructor to this and it works.
const client = new ChromaClient({
    path:"http://127.0.0.1:8000",

});

I don't know why I was getting this error as it was working fine when I was using docker but not on my local, tho I was getting a heartbeat for both of the causes...

authors: BK-beep Kheurt anant2614 chase-crumbaugh dsws rahulsushilsharma


text:
How to get document Id at(on) Insert() method?

At LiteDB 3.x, I can get a document Id after Insert()
ex. Use the .AsObjectId get the ID type of ObjectId.
Now, I used this method report to me a error, bcz it is void XD,
but XML document writen:
[- Returns document Id]
XDD
So, v4 how to just ONE insert method get the ID?
Thanks!

Hi @ddrrqq, can you paste your code?

OK,
// Previous version
public ObjectId MyAddMethod() =>
_Lite.SpareCollection.Insert(new Spare { MyId = ObjectId.NewObjectId() }).AsObjectId;
// Current version
public ObjectId MyAddMethod()
{
ObjectId id = ObjectId.NewObjectId();
_Lite.SpareCollection.Insert(new Spare { MyId = id }); // Here is void retval, but XML docment:
//
// Summary:
//     Insert a new document to this collection. Document Id must be a new value in
//     collection - Returns document Id
return id;
}

Ok, I removed because I was changing how use autoId and forgot to add back. Now is on master branch.

WOWOWOWWOWOWOOWWO
Thank You so much, I love you!

authors: ddrrqq mbdavid

repo: mbdavid/LiteDB


text:
SWV fixes

Fixed missing has_swo_ep property on CMSIS-DAPv1 interfaces.
SWVReader checks to make sure the debug probe actually supports SWO before continuing setup. If not, a warning is printed.
Implemented support for 16- and 32-bit SWV events that output multiple characters.
Some other improvements to SWVReader.

/morph test

repo: mbedmicro/pyOCD


text:
QOL: Fix vim-test to filter to single tests

:TestNearest support for busted stops at the file level. It would be nice for :TestNearest to find the nearest it() call and run that.
If vim-test could find that it call, extract the string and convert it to a Lua pattern, then pass that to --filter, then :TestNearest could totally work at a reasonable level.
The string would have to escape the following characters to make a literal matching pattern:
( ) . % + - * ? [ ^ $

Lua's pattern escape character is %.
This quality of life fix would improve my ability to run single tests instead of using my current hack using tags.

https://github.com/vim-test/vim-test/pull/598 is in the PR queue. I've got a local version for now with my branch to make this work.

Yay, it's merged!

repo: mblayman/atlas


text:
Rearrange struct keys and update schedule

https://app.asana.com/0/555089885850811/1205890385667025/f

lol at nothing reading those exceptions.
can you please make the same update to the TypeScript type at assets/ts/schedule/components/__schedule.d.ts?

Oh, we hard-code these things in two places? Why not?

@thecristen I'm not seeing a hardcoding of data in the TS file. Do you just mean the key order?

repo: mbta/dotcom


text:
Matching /foo/:id.json

Hi,
What's the correct way to match a url like /foo/:id.json ?
Ideally, this test would pass, but I could see where there could be times when someone wants the ".xxx" part to be the actual param name.
test('test matches param with .json extension', function(t) {
  var route = new Route({
    log4js: log4js,
    url: '/foo/:id.json',
    method: 'GET'
  });
  t.ok(route);
  t.equivalent(route.matches({
    method: 'GET',
    path: '/foo/999.json'
  }), { id: 999 });
  t.end();
});

The output of that test (in 1.0.0-1-rc2) is:
 FOUND:  {"id.json":"999.json"}
 WANTED: {"id":999}

You could write a pre and rewrite the request before it gets routed.

Oh, yeah what Diego said is appropriate (I already forgot).  There's now a .pre() on server where you can modify requests before it hits the routing logic, so you could splice off the .(type) for yourself and just tack it on the request for yourself.
That's a better idea :)

authors: BryanDonovan mcavage warorface

repo: mcavage/node-restify


text:
Minor improvements; changed stat format

Added

Helper functions for display_stats

Changed

Made the Config.load class method actually use cls over Config
Made Config.save use type(self) over self.__class__
Made typing imports and typehints consistent
Simplified json.loads(f.read()) to json.load(f)
Simplified f.write(json.dumps(obj)) to json.dump(obj, f)
Simplified math.log(n, 2) to math.log2(n)
Changed exponents to literals in display_stats
display_stats' exponents and approximate values will now be floored instead of rounded

Example for 1007:
2**10 (1.01K) -> 2**9.9 (1K) (2**10 would actually be displayed once 1024 is hit)

display_stats will now display 2 decimal places instead of 1 for exponents

Example for 1000:
2**10 (1K) -> 2**9.96 (1K)

Removed

Deleted a random comment that did not seem to fit anywhere (?)

Mcoding bot uses import typing primarily I believe

Before my PR it was 3x from typing import ... vs 2x import typing

You need to run isort locally

repo: mcb-dev/mCodingBot


text:
Add support for dependabot

Dependabot can automatically create PRs on new version updates, we can investigate this tool and use it for newest dependencies versions.
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates

Due to various problems with dependabot currently, i.e. spam by pullrequests (https://github.com/dependabot/dependabot-core/issues/1408), we decided to only leave notifications about vulnerabilities, automatic update of dependencies does not fit us in it's current state.

repo: mccsoft/backend-frontend-template


text:
🛑 ChatGenie Client API is down

In eb00b57, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in e40f990.


text:
🛑 ChatGenie Client API is down

In 4e17113, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in aa57ae3.


text:
🛑 ChatGenie Client API is down

In 179f429, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in b3d5e1a.


text:
🛑 ChatGenie Client API is down

In 04eeb8c, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 8aabe89.


text:
🛑 ChatGenie Client API is down

In 70bea87, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 514c6c7.


text:
🛑 ChatGenie Client API is down

In 197166a, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 1d55fc3 after 9 minutes.


text:
🛑 ChatGenie Client API is down

In 9fb9d41, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 49935de after 9 minutes.


text:
🛑 ChatGenie Client API is down

In 55c8db4, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in c66fdb9 after 47 minutes.


text:
🛑 ChatGenie Client API is down

In 40fbbbc, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 24b2e10 after 44 minutes.


text:
🛑 ChatGenie Client API is down

In 85ab055, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 0b49ce6 after 54 minutes.


text:
🛑 ChatGenie Client API is down

In 6f8ca29, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 14eb828 after 52 minutes.


text:
🛑 ChatGenie Client API is down

In 0b65d53, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 867dbee after 9 minutes.


text:
🛑 ChatGenie Client API is down

In f93d278, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 49ab404 after 9 minutes.


text:
🛑 ChatGenie Client API is down

In 45b9c46, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 54ab8bd.


text:
🛑 ChatGenie Client API is down

In c434241, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 800ae87.


text:
🛑 ChatGenie Client API is down

In 398221d, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in cc8a9c2.


text:
🛑 GitHub Mirror is down

In 0faaf70, GitHub Mirror (https://gh.chapro.xyz) was down:

HTTP code: 500
Response time: 354 ms

Resolved: GitHub Mirror is back up in 17301e5 after 11 minutes.

repo: mchaNetwork/status


text:
Update README.md

Description
Screenshot
Notice

[ ] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

Unit tests are failing for vizro-ai on main already. Seems to be related to this: https://github.com/langchain-ai/langchain/issues/22972
@lingyielia @nadijagraca @Anna-Xiong @maxschulz-COL - can you take a look and fix it? :)
FYI @l0uden

fix by https://github.com/mckinsey/vizro/pull/530

fix by https://github.com/mckinsey/vizro/pull/530

authors: Anna-Xiong huong-li-nguyen

repo: mckinsey/vizro


text:
Paginate the help info

Way too many commands, need to use a paginator!

Might also work to just change the Sentinel command structure to use the Citizens command handler.

Done!

repo: mcmonkeyprojects/Sentinel