Unhandled Exception: NoSuchMethodError: The getter 'length' was called on null

i have code with this,
simpan() async {
    final pos = await http.post(BaseUrl.simpanBacaan,body: {"foto" : foto,"judul" : judul,"penulis" : penulis,"isi" : isi});
    final data = jsonDecode(pos.body);
    int val = data['value'];
    if(val==0){
      Navigator.pop(context);
    }
  }

when i send data with some word is no problem. but if i send for long text i got this problem error, and data not send
E/flutter (12904): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: NoSuchMethodError: The getter 'length' was called on null.
E/flutter (12904): Receiver: null
E/flutter (12904): Tried calling: length
E/flutter (12904): #0      Object.noSuchMethod  (dart:core-patch/object_patch.dart:50:5)
E/flutter (12904): #1      _Uri._uriEncode  (dart:core-patch/uri_patch.dart:44:23)
E/flutter (12904): #2      Uri.encodeQueryComponent  (dart:core/uri.dart:1100:17)
E/flutter (12904): #3      mapToQuery.<anonymous closure>
E/flutter (12904): #4      CastMap.forEach.<anonymous closure>  (dart:_internal/cast.dart:286:8)
E/flutter (12904): #5      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach  (dart:collection-patch/compact_hash.dart:367:8)
E/flutter (12904): #6      CastMap.forEach  (dart:_internal/cast.dart:285:13)
E/flutter (12904): #7      mapToQuery
E/flutter (12904): #8      Request.bodyFields=
E/flutter (12904): #9      BaseClient._sendUnstreamed
E/flutter (12904): <asynchronous suspension>
E/flutter (12904): #10     BaseClient.post
E/flutter (12904): #11     post.<anonymous closure>
E/flutter (12904): #12     _withClient
E/flutter (12904): <asynchronous suspension>
E/flutter (12904): #13     post
E/flutter (12904): #14     _SimpanState.simpan
E/flutter (12904): <asynchronous suspension>
E/flutter (12904): #15     _SimpanState.checkForm
E/flutter (12904): #16     _SimpanState.build.<anonymous closure>
E/flutter (12904): #17     _InkResponseState._handleTap
E/flutter (12904): #18     _InkResponseState.build.<anonymous closure>
E/flutter (12904): #19     GestureRecognizer.invokeCallback
E/flutter (12904): #20     TapGestureRecognizer._checkUp
E/flutter (12904): #21     TapGestureRecognizer.acceptGesture
E/flutter (12904): #22     GestureArenaManager.sweep
E/flutter (12904): #23     _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent
E/flutter (12904): #24     _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent
E/flutter (12904): #25     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent
E/flutter (12904): #26     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue
E/flutter (12904): #27     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket
E/flutter (12904): #28     _rootRunUnary  (dart:async/zone.dart:1136:13)
E/flutter (12904): #29     _CustomZone.runUnary  (dart:async/zone.dart:1029:19)
E/flutter (12904): #30     _CustomZone.runUnaryGuarded  (dart:async/zone.dart:931:7)
E/flutter (12904): #31     _invoke1  (dart:ui/hooks.dart:233:10)
E/flutter (12904): #32     _dispatchPointerDataPacket  (dart:ui/hooks.dart:154:5)
E/flutter (12904):

flutter doctor -v
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17763.557], locale en-ID)
    • Flutter version 1.5.4-hotfix.2 at D:\flutter
    • Framework revision 7a4c33425d (10 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\User\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.4)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[√] VS Code (version 1.36.0)
    • VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.2.0

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.0 (API 24) (emulator)

• No issues found!

For me this issue was caused by an invalid pubspec.yaml file. Check your pubspec.yaml for any issues. In my case I had the following:
  assets:
    - res/icons/logo.svg
    -
    - res/icons/logo_small.svg

@eyallen Please report if the issue is solved.

@BondarenkoStas I think you want @elekson.

Oh sorry, my mistake. I fixed the name in the comment above.

I had the same issue with Flutter 1.9.1, and in my case it was because one field of my data was null.
Something like that :
{"foto" : null, "judul" : judul, "penulis" : penulis, "isi" : isi}
Removing the null from the data solved my issue.

@elekson May you check, as @Nico04 mentioned in the comment above?
I see you are using 1.5.4, can you try for the sake of reproducing it on current stable version?

i'm still not find how to solved this. i just remove some property and it work. but i don't like it too much

{"judul" : judul, "isi" : isi}

@elekson Please provide  a small self-contained app that demonstrates the problem. You can include small examples inline if they're enclosed by backticks, or just provide a public link to a github "gist" - https://gist.github.com/.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

I am facing the same issue while caliing api.
final response = await http.put(           Uri(             scheme: 'http',             host: host,             port: 3000,             path: '/v1/saveBookmark',           ),           body: bookmarkData,           headers: {'Content-Type': 'application/x-www-form-urlencoded'},         );
I have no idea why this issue come up.
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Linux, locale en_IN)
• Flutter version 1.9.1+hotfix.6 at /home/sunnynegi/Downloads/flutter
• Framework revision 68587a0916 (3 months ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at /home/sunnynegi/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.1
• ANDROID_HOME = /home/sunnynegi/Android/Sdk
• Java binary at: /mnt/c68c209d-730c-47ba-a53e-a4f027ef29cf/android-studio-ide-183.5692245-linux/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Android Studio (version 3.4)
• Android Studio at /mnt/c68c209d-730c-47ba-a53e-a4f027ef29cf/android-studio-ide-183.5692245-linux/android-studio
• Flutter plugin version 39.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
[✓] VS Code (version 1.37.1)
• VS Code at /usr/share/code
• Flutter extension version 3.4.1
[✓] Connected device (1 available)
• Redmi Note 6 Pro • 6222e236 • android-arm64 • Android 9 (API 28)
! Doctor found issues in 1 category.
Exception has occurred. NoSuchMethodError (NoSuchMethodError: The getter 'length' was called on null. Receiver: null Tried calling: length)


boost::filesystem::path codecvt to wstring: error

I downloaded the cppan client. When I try to run exe, I get an error: boost::filesystem::path codecvt to wstring: error.
How to fix this issue?

What is your user account name?

Do you mean username in Windows? If yes, I have it in Russian:

Yes, that's the issue.
I'll try to fix, but at the moment you could try to write it in english, so cppan can work.

It seems that there is still the same problem. I renamed my account to English, then restarted computer and tried to run cppan again.

Oh yes, but how to change it so as not to break the system?

It's hard to change. Better I'll try to fix the issue.

Thank you, I'll be waiting the update

Please, check this binary.
Cppan should work now, but cmake work is not guaranteed (as well as work with dirs with spaces).
cppan.zip

Excellent, this issue is fixed. Is this the correct output:

Hello Egor, can I ask you a question? I try to build tesseract 4 from the source. In the folder "tesseract" in the console I ran сppan command, then in the CMake, I started the assembly in the folder "build". There was a error. Can this error be associated with user name: C:/Users/Alexander/


Rename commands

list -> listc
edit -> editc
find -> findc
delete -> deletec
updatet -> editt
filter -> findt

update UG + DG


CLAS deserialization performance

Installing
https://github.com/larshp/abapGit-global/tree/master/src
seems to take forever on my laptop(750SP2, ASE database). (Note that the repository might contain syntax errors)
relevant for #773
Seems to be mainly due to
        FROM dwinactiv AS dw LEFT OUTER JOIN sabap_inactive AS dwa
which is performed in method _GET_ALL in local implementation of class CL_WB_WORKING_AREA

forever = more than an hour
abapGit calls fm SEO_CLASS_CREATE_COMPLETE which will always try to insert into the working area, will try to check if there is any ADT functionality that can be used instead(on new versions)

ADT uses the same function module, CL_OO_ADT_RES_CLASS->CREATE_MAIN_CLASS
hmm

https://github.com/larshp/ABAP_Mass updated, supports mass creation of classes

Creating the raw class is now quite fast, but there is a similar problem with CL_OO_CLIF_SOURCE

some testing done in https://github.com/larshp/CLAS_rewrite
looks like the kernel performance for INSERT REPORT is bad for the first method, found an evil hack to fix this

PR opened, functionality can be enabled via the experimental switch.
Installing abapOpenChecks, ~80 classes:
old code: 4m25s
new code: 2m06s

I did some testing and didn't spot any issues so far.

closing


UTF characters not accepted? Improve article 2105.07028

Exact location of issue
https://ar5iv.org/html/2105.07028#bib.bib2
Also the authors list at the top, HervÃ© MÃ©nager should be Hervé Ménager
Desktop (please complete the following information)

OS: Debian Testing
Browser: Firefox 91.5.0esr (64-bit)

Thanks for the great service!

Thanks @mr-c ! This is an embarrassing double-encoding glitch which should be rather easy to eliminate.

Hey @dginev,
I'd like to help with this project. Could I take up this issue?

Hi @marshalmiller ! I decided to take a look if it's really easy so that I say "yes" to your request!
You should only need a recent latexml installed to try and diagnoze specific problems.
Here is what I did, which you can reuse on other issues:
$ wget https://ar5iv.org/source/2105.07028.zip
$ latexmlc 2105.07028.zip --dest=test.html \
      --preload=[ids,nobibtex,localrawstyles]latexml.sty \
      --nodefaultresources \
<EMAIL_ADDRESS>
If you convert using only these options, you realize wait the encoding problem isn't there. At which point this issue switches from "easy" to a "medium" label, as the underlying problem is in a setting we use due to legacy arXiv, namely:
--inputencoding='iso-8859-1'

Here are the exact options which the latexml workers use when they pass over each arXiv article.
For most errors where latexml lacks coverage, or has fidelity mistakes, the options are not that important, as you'll see the issue any which way you decide to convert. But with this double-encoding problem, the situation is a bit more tricky -- and I'll need to do a deep dive to see exactly why, as I do recall testing other UTF-8 with this --inputencoding set.
You can try tinkering from here, or take this step-by-step description of what I did to triage any of the other issues. You should expect to hit various walls where the errors look impenetrable, or documentation is lacking, or the implementation of latexml looks impenetrable, at which point you're welcome to just share a comment of what you did and where you stopped. Thanks!

Hi @mr-c ,
If you'd like, please take a look at the latest rendering of
https://ar5iv.org/html/2105.07028
I've decided to err on the site of more recent articles, now that the showcase is public, and the input encoding I mentioned above. We'll need to stay on guard for old articles encountering issues, but at least we won't cause active harm to the newer sets.

Thank you very much @dginev !


chore(release): 🔖 publish the new version of v0.1.14

👀 PR includes

🔧 Chore

[ ] Test case
[x] Docs / demos update
[ ] CI / workflow
[x] Other

📝 Description

Release the v0.1.14.
Update the CHANGELOG.

s2-site里面的 s2版本也改一下


Add support for accented characters

Library from this SO answer : http://stackoverflow.com/a/9667817/2726340
I added a normalize() call to be sure about the encoding. On my mac, it appears that my filenames were in NFD, the library was in UTF8, so nothing was matched.
Now it seems to be working fine. Don't hesitate to make changements if necessary of course.
PR from issue #32

Looks like there is a npm module that does the same thing, so maybe better to rely on that.  Also, I don't want to be changing the String.prototype for everyone without them asking, so that's another vote for the npm module.

Couple things to consider, but thanks for the PR :+1:

Let me know if I can be of help. In the meantime, do you know how I could manage to do this thing ? Maybe by having a jquery listener before or something like this ?

Can you add the dependency on the latinize library from npm, and add back the whitespace substitution?  I'll merge and push an update once this is ready.

Working fine on my end :

filename : "étage précédent.gif"
Mac OSX 10.11.1
browsers

Firefox 42
Chrome 46
Safari 9.0.1

Looks great.  I'll bump the minor version number since this adds dependencies, and will push a release soon.

Pushed v1.2.0 with these changes.


Is this project work with Flutter swift?

No, use objective-c for iOS and use java for Android.

@cloudwebrtc thank for your response, but could you explain why it's not work on swift project?

@ngocphuc1612 Because WebRTC framework is native to OC, it only needs to be converted to dart API at flutter once.


Disallow Duplicate Document and Folder Names

Closes #14

Coverage increased (+0.5%) to 87.934% when pulling 7904cad02d99727002277b205688a2150d893d93 on duplicates into e413307061e56a07dad496ca1e7abffbef465bde on master.


BUG: Formatters for date variables in file name gives null

Version (please complete the following information):

OS: MacOS
Browser: Safari
Web Clipper version: 0.9.6
Obsidian version: 1.7.4

Describe the bug
Using date variables functions correctly:

And results in:

But, using a format as described in https://publish.obsidian.md/shellcommands/Variables/{{date}} fails:

Gives:

Expected behavior
Expected formatters to work.
URLs where the bug occurs
Universal.
To reproduce
Steps to reproduce the behavior:

Go to Clippings "Settings"
Pick a template
Edit template "Note location" to Clippings/{{date}}
Attempt to clip a site

Your template file
If you are using a custom template (i.e. not the Default template).  Paste the JSON code below.
{
  "schemaVersion": "0.1.0",
  "name": "Default",
  "behavior": "create",
  "noteContentFormat": "{{content}}",
  "properties": [
    {
      "name": "title",
      "value": "{{title}}",
      "type": "text"
    },
    {
      "name": "source",
      "value": "{{url}}",
      "type": "text"
    },
    {
      "name": "author",
      "value": "{{author|split:\\\", \\\"|wikilink|join}}",
      "type": "multitext"
    },
    {
      "name": "published",
      "value": "{{published}}",
      "type": "date"
    },
    {
      "name": "created",
      "value": "{{date}}",
      "type": "date"
    },
    {
      "name": "description",
      "value": "{{description}}",
      "type": "text"
    },
    {
      "name": "tags",
      "value": "clippings",
      "type": "multitext"
    }
  ],
  "triggers": [],
  "noteNameFormat": "{{title}}",
  "path": "Clippings/{{date:YYYY}}"
}

{{date:YYYY}} is not a valid variable. Please review the documentation.
You're looking for {{date|date:"YYYY"}}


Classmethod for instantiating MomentumArrays with spherical uniform distributions

Would be useful for testing to sample from a uniform spherical distribution to produce a MomentumArray. Parameters should include size and maximum energy. Also, the frequency of massless particles in the output. Random seed, too, for reproducibility.

Apparently Python 3.8 doesn't support inplace matmul. Check if this is to do with numpy versioning (and if I can solve with a version bump), or I have to get rid of the inplace op.


Ticket command seems to be faulty

Did you bother to read the help message?

Gonna close this due to a lack of information or response; feel free to reopen it if something does break.


Trouble Adding 1.4.4 to a .NET 4.6.1 class library project

I am trying to add RestEase 1.4.4 to a .NET 4.6.1 framework class library and I am getting the following error

The package 'RestEase' tried to add a framework reference to 'System.Web' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.

Note: I tried adding System.Net.Http before adding RestEase and I still get the error.  Any ideas?

Interesting... Did it get you to install the Newtonsoft.Json NuGet package?

I can't reproduce. VS 15.3.5, new framework class library, add RestEase to NuGet packages.

I'll look at reproducing it. I found that if I added Newtonsoft and System.Net.Http manually, I can add RestEase.  The odd part is, I get the error mentioned above and yet the reference is still added.

If you try to install RestEase, does it prompt you to install Newtonsoft.Json?

Hi, any response?

@canton7 Hi, I had this error too. I tried to install System.Net.Http manually, but it seems like a problem with the package and its dependencies because there are little yellow warning triangles on each reference. After this, RestEase was installed without any errors, but I conquer another problem. This mock code fails:
apiMock.Setup(api => api.AuthenticateAsync(wrongCredentials))
    .ThrowsAsync(new ApiException(
        HttpMethod.Post,
        default(Uri),
        (HttpStatusCode)422,
        "Wrong credentials",
        default(HttpResponseHeaders),
        default(HttpContentHeaders), string.Empty));

With MissingMethodException: "Void RestEase.ApiException..ctor(System.Net.Http.HttpMethod, System.Uri, System.Net.HttpStatusCode, System.String, System.Net.Http.Headers.HttpResponseHeaders, System.Net.Http.Headers.HttpContentHeaders, System.String)"
I tried to alter ctor, but the same exception is being thrown. I thought it happens because of some of the dll's missing, but I discovered that my test's /bin/Debug directory has RestEase.dll, System.Net.Http.dll and its dependencies present.

@canton7 Maybe this problem relates to:

https://github.com/Microsoft/BotBuilder/issues/3615
Because I have a reference to a netstandard 2.0 project in my tests project.

@canton7 @ravensorb Guys, I confirm that this is a problem with System.Net.Http and referencing netstandard 2.0 projects. I removed any references, RestEase was installed correctly via NuGet, no errors and everything works as expected.

@canton7 I tried to put this code as a workaround (as mentioned here):
  <Target Name="UpdateOriginalItemSpecs" AfterTargets="ResolveAssemblyReferences">
    <ItemGroup>
      <ReferencePath>
        <OriginalItemSpec>%(ReferencePath.FileName)</OriginalItemSpec>
      </ReferencePath>
    </ItemGroup>
  </Target>

But it doesn't help. I still have MiessingMethodException.

I just switched to NET Core and everything works now.

but it seems like a problem with the package and its dependencies because there are little yellow warning triangles on each reference

Seeing the output of dotnet restore / dotnet build would have been helpful, as that often says why there are warnings.

With MissingMethodException: "Void RestEase.ApiException..ctor(System.Net.Http.HttpMethod, System.Uri, System.Net.HttpStatusCode, System.String, System.Net.Http.Headers.HttpResponseHeaders, System.Net.Http.Headers.HttpContentHeaders, System.String)"

That error is caused by you linking against one version of RestEase, but running against another version. Perhaps Nuget installed one version for your .NET Framework project, but resolved a different version for your .NET Core project?

@canton7

Seeing the output of dotnet restore / dotnet build would have been helpful, as that often says why there are warnings.

Sorry, already wiped out old projects. Everything works now with the .NET Core.

That error is caused by you linking against one version of RestEase, but running against another version (I changed the signature of that ctor in 1.4.0).

I used same 1.4.4 version of RestEase in both projects. Follow this link, I think my issue came out of an issue described there.

I don't see anything in there to do with MissingMethodException?

@canton7 Oops, here it is. Someone had this error with BotBuilder. My issue has the same nature. Removing references to .netstandard 2.0 projects makes everything ok. But I run my shared code for Xamarin app on .netstandard and chosen frameworks depend on .netstandard, so it is not my way. Instead, I switched test projects to .NET Core.

Sorry - this slipped off my radar. Are you still having this issue?

As far as I remember - no, switching test projects to core helped. It's been a while, I already changed my job 😄 Thanks for asking, anyway! We use restease currently without any trouble so far.


Readme Settings link broken

Points to https://github.com/mitsuhiko/insta/blob/master/struct.Settings.html
The struct isn't in on the docs yet – can link there when it is

I'm planning on releasing today anyways so I think I don't need to fix that yet. The readme is auto generated from the lib's docstring.


can it run with --db.pagesize=8kb ?

the mdbx should be consistent with the config of pagesize , so this tarball is done with --db.pagesize=8kb or --db.pagesize=4kb ? if it is runned with 4kb , I am afraid that the data can not be run with flag   --db.pagesize=8kb
PS : I did not use your script to run it ,  I have run node with below command and it works well for 10+ hours,
./erigon --chain=bsc --datadir /server/archive --snap.keepblocks --db.pagesize=8kb

Currently it is 4k (default), but I've been working on a new sync that is 16k that should be released in a week or so.

we can also use mdbx_dump/mdbx_load tools to convert the data into 8k or 16k

As of https://github.com/allada/bsc-archive-snapshot/commit/4d8d56ac1fe424c119ef1925f387ce24df484e31, it uses 16k blocks. This solved much of the "can't keep up with latest blocks issues".

Currently it is 4k (default), but I've been working on a new sync that is
16k that should be released in a week or so.
On Thu, Jul 21, 2022, 9:25 PM flywukong @.***> wrote:

the mdbx should be consistent with the config of pagesize , so this
tarball is done with --db.pagesize=8kb or --db.pagesize=4kb ?
—
Reply to this email directly, view it on GitHub
https://github.com/allada/bsc-archive-snapshot/issues/25, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN7CIT44BGIK6XFIIBZ2ATVVIBCJANCNFSM54JUGKRA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[Discussion]why not adding a scope_count in response??

According to http://manageiq.org/pdf/ManageIQ-0-ManageIQ_REST_API-en-US.pdf
we have a subcount that return the number of a result

The subcount attribute in a collection denotes the number of items from the collection that were
returned, for example as the result of a paged request.

but when we want request miq's api with the pagination(limit) and scopes(filter), we wont be able to know how many pages we have:
as

total_count is never changed, is the total number of object without scope
subcount will be only <= limit

Doing total_count/limit has no more sense in this scenario
Here
Why don't we add a scopecount in the response? :)
Which is the total number of the result of filter[]
With this no more break is needed when front-end want to know how many pages it should load, and it wont need to load every pages before is needed

I don't see why not, this will be good to have. scope should include by_tag's.
/cc @imtayadeway @isimluk  in collection_search but may need some of this info from Rbac.

also mentioned as query count in https://www.pivotaltracker.com/story/show/121851109
/cc @AllenBW


Consider renaming the cli tool?

policy is a very generic name and could clash with other projects such as selinux/policy or policyd and is quite non-descript/generic
I'm not aware of any specific popular binaries that go by the name policy but it is a possibility
Maybe opcr or opolicyctl?

related https://github.com/NixOS/nixpkgs/pull/194445
We called the package opcr-policy for now. The binary has been left as policy

Hi @06kellyjac
Thanks for working on adding the policy CLI to NixOS and for committing to maintaining it! We appreciate all the work you put into this.
We've discussed this matter internally and decided that we're going to keep the binary name as policy for now.
Please let us know if we can help with anything else.


Training script?

Hi, I can't find the training script. Could someone please point me to it???

it seems it has not been released yet

Awesome, still close sourced then. Thank you for checkpoint (which is also not very good atm).


Removed commas from transition arguments

Fixes https://github.com/CartoDB/cartodb/issues/7612.

@javierarce can you please review?
BTW: We seem to be using @include transition(property, duration, effect); (arguments separated by commas) and I don't think that has the desired outcome (seems to be applying the transtion to all properties). I think we should change those to @include transition(property duration effect); (no commas) cc: @xavijam @viddo @javierarce @nobuti.

Finy be me, what do you think @piensaenpixel?

👍


[feaLib] Bug in ChainContextPos compilation?

I have this fea snippet:
@uppercase = [A B C];
@shift = [at hyphen];
feature calt {
    pos @uppercase @shift' @uppercase <0 200 0 0>;
    pos @uppercase space @shift' @uppercase <0 200 0 0>;
    pos @uppercase @shift' space @uppercase <0 200 0 0>;
    pos @uppercase space @shift' space @uppercase <0 200 0 0>;
} calt;

The resulting font works for the first two cases (eg. /A/hyphen/A and /A/space/hyphen/A), but not for the latter two (eg. /A/hyphen/space/A and /A/space/hyphen/space/A).
Good:
$ hb-shape chaincontextpos_bug.ttf "A-A"
[gid4=0+1000|gid3=1@0,200+1000|gid4=2+1000]
$ hb-shape chaincontextpos_bug.ttf "A -A"
[gid4=0+1000|gid1=1+1000|gid3=2@0,200+1000|gid4=3+1000]

Not good:
$ hb-shape chaincontextpos_bug.ttf "A- A"
[gid4=0+1000|gid3=1+1000|gid1=2+1000|gid4=3+1000]
$ hb-shape chaincontextpos_bug.ttf "A - A"
[gid4=0+1000|gid1=1+1000|gid3=2+1000|gid1=3+1000|gid4=4+1000]

In the TTX I see that the first two ChainPosClassSet items do have a PosLookupRecord, but the latter two do not.
The same snippet compiled with makeotf results in a correctly working font.
The attached archive contains a font, ttx dump and a script that creates the font.

The same snippet compiled with makeotf results in a correctly working font.

FWIW, with feaLib it compiles to <ChainContextPos index="0" Format="2">, and with makeotf it compiles to <ChainContextPos index="0" Format="3">

The problem happens at the parser-level, and I just found a work-around (write the value record right after the affected input glyph):
@uppercase = [A B C];
@shift = [at hyphen];
feature calt {
    pos @uppercase @shift' <0 200 0 0> @uppercase;
    pos @uppercase space @shift' <0 200 0 0> @uppercase;
    pos @uppercase @shift' <0 200 0 0> space @uppercase;
    pos @uppercase space @shift' <0 200 0 0> space @uppercase;
} calt;

are the two notations meant to be equivalent?

are the two notations meant to be equivalent?

Good question. They seem to be in makeotf, but I can't find conformation in the spec (but I didn't look yet very hard).

I'm fairly sure this is the relevant bit of code:
https://github.com/fonttools/fonttools/blob/9c18e2a07d10d61dd377cca285bbd11dc188d1b0/Lib/fontTools/feaLib/parser.py#L475-L484

This is the makeotf error message if you do it wrong:
makeotfexe [ERROR] <SourceSansPro-Master0> Positioning values are allowed only in the marked glyph sequence, or after the final glyph node when only one glyph node is marked. [features 2]

The shortes reproducer I found is this:
feature aaaa {
    pos a' b c <0 200 0 0>;
} aaaa;

While this one works:
feature aaaa {
    pos a' b <0 200 0 0>;
} aaaa;

So more than one lookahead glyph/class makes it not work.

On it, cooking PR.


Alignment passes through block limits

Description
Perhaps this is intended to be so, but I find it rather weird.
First, if a list is centered not only the list is in the center of its container but also its items are centered, while the bullets are left aligned. I don't like it but that might be intentional (?).
#align(center, [
- xxx
- xxxxxx
])

Then I wanted to disable that behavior so I wrapped the list inside a block, but it keeps doing the same:
#align(center, block([
- xxx
- xxxxxx
]))

The only way to revert the centering was to explicitly align the list left inside the block:
#align(center, block(align(left, [
- xxx
- xxxxxx
])))

I don't think it's right for the alignment to pass through the block (or box) limit. TBH neither do I think it is right for it to pass through the list limits.
In fact, there are two separate issues here:

Alignment passing through the block: you don't even need lists for this.
Alignment passing through lists: ends up in left-aligned bullets + centered text that may be desired or not.

Reproduction URL
No response
Operating system
Web app
Typst version

[X] I am using the latest version of Typst

Duplicate of https://github.com/typst/typst/issues/3605


Starting HPX on Cray machines using aprun isn't working correctly

In order to use HPX applications on Cray machines you currently have to explicitly pass -Ihpx.parcel.bootstrap=mpi -Ihpx.parcel.tcp.enable=0 as command line parameters. If the explicit disabling of the TCP parcelport is omitted, the MPI parcelport throws this error: https://github.com/STEllAR-GROUP/hpx/blob/master/src/runtime/parcelset/policies/mpi/connection_handler_mpi.cpp#L60
In order to fix this, we need to:

[ ] Detect the usage of the MPI parcelport automatically when using aprun
[ ] Fix the bug which is leading to that erroneous error message

What's missing here? Should we move that to the next milestone?

Moving it to the next milestone. The workaround is to disable the tcp parcelport.

Could you describe what is causing the problem, actually?

Hmmm, looking at the initial post again, the wrong error message might have been fixed already. The only remaining missing part is to automatically detect the MPI parcelport. Or better yet ... have a native GNI parcelport implementation ...

Detecting MPI properly should be doable, the GNI parcel port however is not for this release...

Moving back to 0.9.10 as it is currently not possible to run on cray systems at all.

[Mar 9, 08:52]	hkaiser: heller: what's still to be done for #1168?
[Mar 9, 08:52]	heller: hkaiser: nothing. forgot to close


Add Coprocessor i2c

Is it possible to connect mfi chip i2c -> esp8266?

Part Number : MFI337S3959
Package : QFN 8-1 Pin, Apple Inc.
Shelf iPod, iPhone, iPad video / headphone / battery-related Apple (Apple) to decrypt ic:
APN337S3959
MFI337S3959
APN337S3957
MFI337S3957
MFI341S2159
MFI341S2257
MFI341S2592
MFI341S2748
MFI341S2159
MFI341S2161
MFI341S2162
APN337S3957
MFI341S2164
MFI341S500
MFI353S2429
MFI353S2430
Chips are sold on ebay and aliexpress.

Probably yes, but we do not provide support for those.


Asynchronous vs Synchronous Processing: reword "push-based stream"

Fixes #326

@akarnokd I see it as pull in the sense that unless the Subscriber has requested (pulled) elements, no elements may be pushed. If that makes sense.

At the time when I filed the issue, I thought of it using a HTTP2 analogy (hence my proposed wording): the client (Subscriber) sends a request (invocation of request()), to which the server immediately responds with a "202 Accepted" (return from the invocation of request()). Once available, the server sends the additional push responses (onItem signals) to the client.
Analog to what @viktorklang said, I considered the fact that the client initiates the communication to be the "pull" part.

Apologies for the unreasonably long delay in merging this!


[Reformer P1] Add loss, return_dict, hidden and attention outputs

PR types

PR changes

Description

@sijunhe  thanks for reviewing.


[ASCII-1081] Always calls app.Stop even in case of error.

What does this PR do?
This PR calls app.Stop in OneShot and Run even where there is an error.
This ensures that if an OnStart hook succeed then OnStop hook is called.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
For each agent, make your run function returns an error and checks if the application stops correctly without a panic.
For agent metrics and logs, please test dogstatsd.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


generateScopedName as a string

generateScopedName as a string
for example
[local]__[name]--[hash:base64:5]

@batya15  Published the new version. Sorry for keeping you waiting so long.


Allow specification of log driver and log options when creating task or service

Ideally, swarmctl service create would allow --log-driver and --log-opt. Or is there another plan to pass logging driver information?

@jpetazzo LogDriver is configurable on HostConfig. This maps to the swarmkit Driver type. I suspect we can put a field on TaskSpec to cover this and flow it down to HostConfig on creation.

Please see https://github.com/docker/swarmkit/pull/1026#issuecomment-227021920.
There are a lot of implications that come with adding log driver support, many covered in the referenced comment. If anyone wants to take this on, let's make sure we discuss before submitting PRs, as the implications need to be addressed.
In general, we understand this is a need but would like to make sure we have something complements service orchestration.
For a workaround, configure the log drivers at the docker daemon level.

@stevvooe From what I understand . Supporting this, we need do the following things?

Log Driver in Docker Engine should support to add some metadata when log message, so that log driver can distinguish which messages belong to which container.
Support Log Driver in swarmkit service level. Log Driver info should be supported in service create/inspect/update. Also, When creating container in agent we shoud pass the service metadata(such as service_name.x) to the HostConfig

Correct me if I'm wrong. Thanks.


Improve error handling in watch mode when dat file can't be read (or emcc fails)

The build package has error handling in place already so that errors are caught and a message is displayed appropriately. However, there are still a couple cases where the build process exits while in watch mode when some error is encountered, for example if a dat file can't be read, or emcc/clang fails. We need to fix those cases so that the build process stays running and the error messages are reported correctly.

There were a few overlapping things going on here, so I decided to address them all at once.  The net effect of all these fixes is that the local development server (sde dev) will now remain running (won't be terminated prematurely like before) when errors bubble up that weren't previously being handled.
The main thing that was lacking related to reading dat files is that the readDat function didn't handle error events, which caused the errors to bubble up in a way that they weren't being caught by the existing error handling code.
The other central fix was to remove the few remaining places where errors were being caught at a lower level and handled by calling process.exit, which is problematic when you want to have the process stay alive like in the case of sde dev (local development mode).
Side note: sde dev and sde bundle currently have an awkward thing where they spawn a separate child process to run the sde generate step partially due to those process.exit calls.  Now that those calls have been removed, I'll have a better chance of fixing the code to make direct calls instead of spawning a process, but that'll be done in a separate PR later.
There were a few other related fixes that are detailed below.

build-once.ts: Expanded the scope of the try/catch so that if a plugin throws an error in preGenerate it will be caught and handled properly.

gen-model.ts: Fixed to throw an error with a custom message that is more clear than the default one thrown in spawnChild.

sde-generate.js: Added try/catch so that we get better error messages.  Before we would get the default yargs error handling, which shows a vague message followed by a more typical error message.  Now we get only the typical error message and stack trace.

before:
$ sde generate --genc arrays_varname.mdl
file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/generate/code-gen.js:41
    throw new Error('Failed to read model')
          ^

Error: Failed to read model
    at Object.generate (file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/generate/code-gen.js:41:11)
    at generateCode (file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/generate/code-gen.js:12:43)
    at parseAndGenerate (file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/parse-and-generate.js:71:14)
    ...
Node.js v20.11.0

after:
$ sde generate --genc arrays_varname.mdl
Error: Failed to read model
    at Object.generate (file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/generate/code-gen.js:41:11)
    at generateCode (file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/generate/code-gen.js:12:43)
    at parseAndGenerate (file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/parse-and-generate.js:71:14)

sde-bundle.js, sde-dev.js: Fixed both of these to log the full standard error.  Before we would only log the error, but the stack trace (which is often very helpful) was being suppressed.  Now we get the full error message and stack trace.

code-gen.js: Removed the try/catch and abend call here.  This allows errors to be caught and handled at a higher level, instead of triggering a process.exit.

helpers.js: Removed the now unused abend function.

read-dat.js: Added an on('error') handler that rejects the promise.  Without this, we were getting an "unhandled error event" message that obscured the actual error (and the stack trace did not make it clear where the error was being thrown from).  Now we get a more standard looking error message.  The stack trace isn't much better, but this will be improved by the next PR that replaces our use of byline with Node built-ins.

before:
node:events:496
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open '/Users/campbell/Projects/CI/sdeverywhere/models/extdata/extdata_data.datfoo'
Emitted 'error' event on ReadStream instance at:
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/campbell/Projects/CI/sdeverywhere/models/extdata/extdata_data.datfoo'
}

Node.js v20.11.0

after:
Error: Failed to read dat file: ENOENT: no such file or directory, open '/Users/campbell/Projects/CI/sdeverywhere/models/extdata/extdata_data.datfoo'
    at ReadStream.<anonymous> (file:///Users/campbell/Projects/CI/sdeverywhere/packages/compile/src/_shared/read-dat.js:45:14)
    at ReadStream.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

read-dat.spec.ts and gen-code-c.spec.ts: Added new unit tests for better coverage of error handling.

model.js: Removed try/catch and process.exit calls.  These now throw errors that can be handled properly at a higher level.

toposort.js: Improved the error message slightly.

plugin-wasm/src/plugin.ts: Fixed to throw an error with a custom message that is more clear than the default one thrown in spawnChild.


retention: Split migration deleting and altering ArchivedMessage.

Addresses the problem at https://chat.zulip.org/#narrow/stream/3-backend/topic/Update.20fails/near/763497
I'm not sure if we do "retroactive" renumbering of migrations like this, or if it breaks something in the "upgrade from git" scripts or such, but I wasn't sure how else to do this.
Django runs each migration in a transaction. Postgres doesn't allow
DELETing from a table and ALTERing it in a single transaction - so we
need to split the migration.

Updated with a fix to the order of deletions, for the bug in https://chat.zulip.org/#narrow/stream/3-backend/topic/Update.20fails/near/763855

Okay, this should be a proper fix now.

For folks who already upgraded from git and the broken old version of this migration worked for them - this commit shouldn't make their Django re-run anything, so things should be fine.
Those for whom the migration was broken, should be able to just upgrade-zulip-from-git and this new, fixed version of the migration will be applied.


Support complex-valued kernels

Is your feature request related to a problem? Please describe.
The documentation says that the correlation kernel can be a complex Hermitian matrix with eigenvalues between 0 and 1. However, if you pass such a complex-valued matrix, it complains that the array is not symmetric:
import numpy as np
from dppy.finite_dpps import FiniteDPP

rng = np.random.default_rng(12345)
dim = 5
mat = rng.standard_normal((dim, dim)) + 1j * rng.standard_normal((dim, dim))
mat @= mat.T.conj()
mat /= np.trace(mat)
assert np.allclose(mat, mat.T.conj())
eigs, vecs = np.linalg.eigh(mat)
assert all(0 <= e <= 1 for e in eigs)
dpp = FiniteDPP("correlation", K=mat)

Traceback (most recent call last):
  File "/home/kjs/projects/ffsim/scratch/repro.py", line 12, in <module>
    dpp = FiniteDPP("correlation", K=mat)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kjs/.pyenv/versions/ffsim/lib/python3.12/site-packages/dppy/finite_dpps.py", line 121, in __init__
    self.K = is_symmetric(params.get('K', None))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kjs/.pyenv/versions/ffsim/lib/python3.12/site-packages/dppy/utils.py", line 133, in is_symmetric
    raise ValueError('array not symmetric: M.T != M')
ValueError: array not symmetric: M.T != M

The same issue exists for the likelihood kernel,
dpp = FiniteDPP("likelihood", L=mat)

Describe the solution you'd like
Complex-valued kernels should be supported.
Describe alternatives you've considered
N/A
Additional context
Complex-valued kernels arise when using DPPs to sample from fermionic systems.

Hi @kevinsung,
Thanks for reaching out.
The documentation is indeed misleading, one the one hand most of the explanation cover the complex hermitian case, but the underlying implementation does not.
Note however that the documentation of the dppy.finite_dpps.FiniteDPP class mentions

Caution
For now we only consider real valued matrices 𝐊,𝐋,𝐴,Φ,𝐗𝑑𝑎𝑡𝑎.

Anyway, the complex kernels are currently available in the v1-dev branch in the following way
# !pip install -U git+https://github.com/guilgautier/dppy.git@v1-dev
from dppy.finite.dpp import FiniteDPP

dpp = FiniteDPP(
    kernel_type="correlation",
    projection=False,
    hermitian=True,  # HERMITIAN = True for complex hermitian kernels
    K=mat,
    # K_eig_dec=(eigs, vecs)
)
dpp.sample_exact(method="spectral")   # "sequential", "spectral", "intermediate", "projection"

Anyway, the complex kernels are currently available in the v1-dev branch in the following way

Awesome, thanks! I noticed that the last commit to that branch occurred two years ago. Do you plan to merge this functionality into main and cut a release at some point?


Can we build armnn android with ndk-18b

Can we build armnn android and all dependent libraries like tenserflow, compute lib ,boost with ndk-18b

Should work fine, although I haven't tried personally.


Update a43870.md

@knz @taroface in lieu of https://github.com/cockroachdb/docs/issues/7216 opening this change as one of my customers just ran into this and was stuck until we advised them to restart each node.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e12861b386e338df6a459e3559b3f901347f96bf/
Edited pages:

advisories/a43870.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c832c8f61cd45bd54d725bb309f499e804f2f60f/
Edited pages:

advisories/a43870.md

LMTM. @taroface, I'd like you to approve this as well because I think there are related docs changes to follow-up on for https://github.com/cockroachdb/docs/issues/7216?

@taroface, can you please take a look at this?

Actually, I'm going to merge this change. @taroface, please open a separate issue to investigate whether there are further docs updates to make here.


Package export component + SSR function from index.js

Describe the bug
I have a package that exports both a Svelte component as well as a function to be run at build time in svelte.config.js:
// my-package/index.js
export { someSSRFunction } from './main'
export { default } from './SomeComponent.svelte'

Reproduction
In my app's component tree, I import the component
// App.svelte
import SomeComponent from 'my-package'

and in svelte.config.js, I import the function
import { someSSRFunction } from 'my-package'

if (NODE_ENV === `production`) {
  someSSRFunction()
}

Logs
Trying to run the app, I then get the error
$ svelte-kit dev
Unknown file extension ".svelte" for node_modules/my-package/SomeComponent.svelte

cause of course node executing svelte.config.js doesn't know how to handle Svelte files. What's the recommended approach here besides nested imports like
import { someSSRFunction } from 'my-package/some-ssr-function'

I would like to import everything from my-package/index.js.
System Info
System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 113.31 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.3.0 - /opt/homebrew/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 8.3.0 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Safari: 15.2
  npmPackages:
    @sveltejs/adapter-static: ^1.0.0-next.21 => 1.0.0-next.21
    @sveltejs/kit: ^1.0.0-next.201 => 1.0.0-next.201
    svelte: ^3.44.2 => 3.44.2
    vite: ^2.7.1 => 2.7.1

Severity
annoyance
Additional Information
No response

You'd be able to fix this by providing different exports from your package by specifying them in your package.json, similar to how the Svelte repo structures its exports. Then again, you already said this is not the solution you want.

You'd be able to fix this by providing different exports from your package by specifying them in your package.json, similar to how the Svelte repo structures its exports. Then again, you already said this is not the solution you want.

The only solution if you want to stick with importing everything from index.js, is to utilize Nodejs loader hooks to handle Svelte files. This is experimental though and you have to specify it through node --loader your-loader, which isn't very nice IMO.
But that aside, I think the better and correct way is to use exports as mentioned, and export the specific code that runs in svelte.config.js separately. Not needing to load Svelte files is also a perf improvement.

I think the better and correct way is to use exports as mentioned

@bluwy Thanks. That's what I'm doing atm so I guess I'll stick to it.


Use BodyChunk enum instead of option for Frame::Body

There should be way how parser can indicate that it returns last chunk.
Here is example, let's say http client sends request with some CONTENT-LENGTH = XX
when parser receives last chunk of data, it returns it from parse, but problem is that client never sends any more data, so parser never get called again and can not indicate that frame is completed.

forgot to mention. transport.rd is empty, so Framed::read never calls parser again.

This is a good point. I'm going to temporarily hold off merging this as I want to take a moment to think about this issue + a few other issues together.

Thinking a bit more about this, I'm thinking that this is more of an issue with Framed. My guess is the return value from parse should take something more along these lines...

i have another problem implementing http, i'll have better pr later that should solve both problems.


created test for dfm_metamod_model output

added path to output configuration file to toml, and created a test

Looks nice, we should also add the mf6_drain_pkg key


Improved packager.compile() to handle s3 storage when compiler generates output to the local one.

This patch resolves the problem by copying the compiled file into the packager (s3) storage.

+1 , very needed fix so S3 works.

See also, issue: https://github.com/cyberdelia/django-pipeline/issues/473 and pr: https://github.com/cyberdelia/django-pipeline/pull/475

If someone needs urgents fix like me:
app/init.py:
# Fixes S3 for pipeline...
from pipeline.packager import Packager
from django.contrib.staticfiles.finders import get_finders, find

def __monkey_compile(self, paths, force=False):
        paths = self.compiler.compile(paths, force=force)
        for path in paths:
            if not self.storage.exists(path):
                if self.verbose:
                    print("Compiled file '%s' cannot be found with packager's storage. Locating it." % path)

                source_storage = self.find_source_storage(path)
                if source_storage is not None:
                    with source_storage.open(path) as source_file:
                        if self.verbose:
                            print("Saving: %s" % path)
                        self.storage.save(path, source_file)
                else:
                    raise IOError("File does not exist: %s" % path)
        return paths

def __monkey_find_source_storage(self, path):
    for finder in get_finders():
        for short_path, storage in finder.list(''):
            if short_path == path:
                if self.verbose:
                    print("Found storage: %s" % str(self.storage))
                return storage
    return None

Packager.compile = __monkey_compile
Packager.find_source_storage = __monkey_find_source_storage

+1 Works well for me!

Coverage decreased (-1.1%) to 80.573% when pulling 0b4bf7b36febedbc9e36e666f688a377a9ad156a on beedesk:master into f00418175dda800460d4afbe09ae9d6c2769aa6e on jazzband:master.

What need to be done to apply this fix to this branch? Is there a fork which is allready working?

@cyberdelia
Does it mean that it will work with the code from the master branch now?


Add *String Go functions for various ops

so one can make use of these helpers without filesystems

Maybe io.Reader
They ought to wrap the OpValue() Go implementations, such that they simply read in the inputs, compile, and then pass to another func


"Google doesn't compile chromedriver versions for Linux ARM. Sorry!"

Hi @f1shl ,
thank you very much for sharing this project with us!
I followed your guide but unfortunately I wasn't able to run the script on my Pi Zero W under Raspberry Pi OS Lite 32-bit (bookworm).
Every time I get that output:
pi@strawberry:~/netflix-household-update $ /home/pi/netflix-household-update/.venv/bin/python netflix_household_update.py Traceback (most recent call last):   File "/home/pi/netflix-household-update/netflix_household_update.py", line 9, in <module>     from chromedriver_py import binary_path   File "/home/pi/netflix-household-update/.venv/lib/python3.11/site-packages/chromedriver_py/__init__.py", line 49, in <module>     binary_path = _get_filename()                   ^^^^^^^^^^^^^^^   File "/home/pi/netflix-household-update/.venv/lib/python3.11/site-packages/chromedriver_py/__init__.py", line 32, in _get_filename     raise Exception("Google doesn't compile chromedriver versions for Linux ARM. Sorry!")
So I installed chromium-chromedriver via apt and switched UseChromedriverPy to False but same result.
I'm no programmer at all but the "line 9" part in the last call lets me think some faulty or empty chromedriver_py is still involved.
Searching the web I found several people complaining on selenium not working on arm boards but no real solution to that.
Is there any chance to get this still running on a pi?
Thanks for taking your time! :)

I just merged the bugfix. It should hopefully work now.


New 'ongoing' term in Hebrew locale

Had a request in from Noga who has been helping place together the Hebrew translation.
Can you please change to word "״מתמשך to "בתהליך"?

This simply needs updating in the Locale file.

This has now been updated.


Undefined control sequence. \l__csl_citation_tl ->\cslcite

Describe the bug
"! Undefined control sequence.
\l__csl_citation_tl ->\cslcite
{McCarthy2007-Deut.}{Carmel McCarthy, ed., \t...
l.13 \end{frame}"
Additional information

TeX distribution: MacTeX 2023
Package citation-style-language version: 0.4.2
LaTeX engine: lualatex

To Reproduce
.tex file:
% !TEX encoding = UTF-8 Unicode
\documentclass[aspectratio=169]{beamer}

\usepackage{citation-style-language}
\cslsetup{style = turabian-fullnote-bibliography-no-ibid}
\addbibresource{myBib.json}

\begin{document}

\begin{frame}
\frametitle{Test MWE}
Hello\cite{McCarthy2007-Deut.}
\end{frame}

\end{document}

.json file:
[
    {
        "id": "McCarthy2007-Deut.",
        "type": "book",
        "editor": [
            {
                "family": "McCarthy",
                "given": "Carmel"
            }
        ],
        "collection-editor": [
            {
                "family": "Schenker",
                "given": "A."
            }
        ],
        "title": "Deuteronomy",
        "title-short": "Deut.",
        "source": "Accordance",
        "collection-title": "Biblia Hebraica Quinta",
        "collection-number": "5",
        "publisher-place": "Stuttgart",
        "publisher": "Deutsche Bibelgesellshaft",
        "issued": {
            "date-parts": [
                [
                    "2007"
                ]
            ]
        }
    }
]

Here is the output:
mwe.pdf

Thanks for your feedback and I can reproduce the error. It's basically the compatibility problem with both beamer and hyperref.

Thank you for your answer. Is the error fixable?

Fixed in a05611d.
There are still conflicts when csl is used with beamer and backref since all them modify the internal bibliographic commands of LaTeX2e). I'll try to resolve this before releasing to CTAN.

Thank you, I updated to "citation-style-language 2023-09-07 v0.4.3" and the MWE above now works fine.
However, if I change the MWE to
% !TEX encoding = UTF-8 Unicode
\documentclass[aspectratio=169]{beamer}

\usepackage{citation-style-language}
\cslsetup{style = turabian-fullnote-bibliography-no-ibid}
\addbibresource{myBib.json}

\begin{document}

\begin{frame}
\frametitle{Test MWE}
Hello\cite{McCarthy2007-Deut.}
\end{frame}

\begin{frame}
\printbibliography
\end{frame}

\end{document}

(that is, if I add the frame with the \printbibliography command) I get the following error: "! Undefined control sequence.\beamer@bibitem #1->@bibitem{#1}\ignorespaces \end{frame}".
The footnote is still fine, but the bibliography looks like:

It turns out to be a typo that has just been fixed in cc77314 . I'll upload to CTAN then.

Thank you!

On 16 Sep 2023, at 8:58 pm, Zeping Lee @.***> wrote:
It turns out to be a typo that has just been fixed in cc77314 https://github.com/zepinglee/citeproc-lua/commit/cc77314aae8e3c5b93bb96ea2fae4432b8cd6c77 . I'll upload to CTAN then.
—
Reply to this email directly, view it on GitHub https://github.com/zepinglee/citeproc-lua/issues/41#issuecomment-1722236259, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2MWFLDWTXGEDNXTYRZ5OJLX2WWBLANCNFSM6AAAAAA4GDTVXU.
You are receiving this because you authored the thread.


Cleanup

Misc cleanup

i opened the pr against develop.

Looks like this is reflected in the follow up pull request to the develop branch, so I'll close this PR.


Activating Open Collective

This pull request adds backers and sponsors from your Open Collective https://opencollective.com/dep ❤
It adds two badges at the top to show the latest number of backers and sponsors. It also adds placeholders so that the avatar/logo of new backers/sponsors can automatically be shown without having to update your README.md. [more info]. See how it looks on this repo.
We have also added a postinstall script to let people know after npm|yarn install that you are welcoming donations (optional). [More info]
You can also add a "Donate" button to your website and automatically show your backers and sponsors there with our widgets. Have a look here: https://opencollective.com/widgets
P.S: As with any pull request, feel free to comment or suggest changes. The only thing "required" are the placeholders on the README because we believe it's important to acknowledge the people in your community that are contributing (financially or with code!).
Thank you for your great contribution to the open source community. You are awesome! 🙌
And welcome to the open collective community! 😊
Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other open source sustainers!

Hey, thank you so much for putting this together! LGTM with my last request comment :)

Ahh, or I also can tweak them! Let me try then :)

Thanks @watilde


How do I make the text of the Tabs component to have Bold font weight?

Hi All,
The picture below is from the Tabs demo. (https://material-ui.com/api/tabs/#props)

What worked
I was able to get a simplistic Tabs system to work.

    render() {
        return (
            <div>
                <AppBar position="static" color="default" >
                    <Tabs
                        value={this.state.value}
                        onChange={this.handleChange}
                        indicatorColor="primary"
                        textColor="primary"
                         >
                        <Tab label="Item One"   />
                        <Tab label="Item Two"   />
                        <Tab label="Item Three"   />
                        <Tab label="The tabs are looking good, not create clickagle links with route"   />
                    </Tabs>
                </AppBar>
            </div>
        );
    }

Challenge
I failed to understand reading through the document, how to get the Tab text to appear with a bold font weight, similar to the Demos page.
Thanks,
Sau

Tip: open the demo in codesandbox, notice that it works and compare the difference with your env. e.g. did you load the Material Design font, etc.

@oliviertassinari
I did not want to say this. But, what should have been a 30 minute exercise of reproducing a "hello world" code sippet has now become a mult-hour onerous "compare the difference" job.
Sadly - I am seeing myself going down the road that you have suggested.

Here you go, a simpler example: https://codesandbox.io/s/material-demo-forked-nm0w8?file=/demo.tsx


VScode integration - broken link

Describe the bug
I have on the .env file
RAY_LOCAL_PATH=/home/username/Projects/MyProject/
But when I click on the file in Ray the link to the file use an extra 'html' folder so the file is not found.
~/Projects/MyProject/html/app/Models/User.php
Versions
Ray version (you can see this in "About Ray"): 1.19.0

spatie/ray package version: 1.33.0
spatie/laravel-ray package version (if applicable):  1.29.0

Desktop (please complete the following information):

OS: [e.g. macOS]  Ubuntu
Version [e.g. 22]  20.04

@freekmurze Any idea where this rogue html in the filepath could be coming from?

I'm having a similar issue using WSL2. Links in Ray application are defaulting to /var/www/html/... but I have RAY_LOCAL_PATH='\\wsl$\Ubuntu\home\bill\dev\hub' defined in my .env.

Also having this with WSL2 like @billriess

Describe the bug I have on the .env file RAY_LOCAL_PATH=/home/username/Projects/MyProject/
But when I click on the file in Ray the link to the file use an extra 'html' folder so the file is not found.
~/Projects/MyProject/html/app/Models/User.php
Versions Ray version (you can see this in "About Ray"): 1.19.0

spatie/ray package version: 1.33.0
spatie/laravel-ray package version (if applicable):  1.29.0

Desktop (please complete the following information):

OS: [e.g. macOS]  Ubuntu
Version [e.g. 22]  20.04

Have you found a solution yet? I'm still having this issue

Hi, this issue is still present (for me it is double app dir: '\app\app...')


OSX make failing due to deprecated declarations?

`Mac-Pro-MP:build wes$ cmake .. -DCMAKE_PREFIX_PATH:PATH=/usr/local/opt/qt
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/wes/Applications/RcloneBrowser/build
Mac-Pro-MP:build wes$ pwd
/Users/wes/Applications/RcloneBrowser/build
Mac-Pro-MP:build wes$ make
[  1%] Building CXX object src/CMakeFiles/rclone-browser.dir/main_window.cpp.o
/Users/wes/Applications/RcloneBrowser/src/main_window.cpp:435:39: error: 'split' is deprecated: Use
Qt::SplitBehavior variant instead [-Werror,-Wdeprecated-declarations]
QStringList lines = version.split("\n", QString::SkipEmptyParts);
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qstring.h:603:23: note: 'split' has been explicitly marked
deprecated here
Q_REQUIRED_RESULT QT_DEPRECATED_VERSION_X_5_15("Use Qt::SplitBehavior variant instead")
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qglobal.h:372:45: note: expanded from macro
'QT_DEPRECATED_VERSION_X_5_15'
define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)
                                        ^

/usr/local/opt/qt/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                            ^

/usr/local/opt/qt/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro
'Q_DECL_DEPRECATED_X'
define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
                                                  ^

/Users/wes/Applications/RcloneBrowser/src/main_window.cpp:1217:11: error: 'start' is deprecated: Use
QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite)
instead [-Werror,-Wdeprecated-declarations]
player->start(stream, QProcess::ReadOnly);
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qprocess.h:164:5: note: 'start' has been explicitly marked
deprecated here
QT_DEPRECATED_X(
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                            ^

/usr/local/opt/qt/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro
'Q_DECL_DEPRECATED_X'
define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
                                                  ^

2 errors generated.
make[2]: *** [src/CMakeFiles/rclone-browser.dir/main_window.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/rclone-browser.dir/all] Error 2
make: *** [all] Error 2
Mac-Pro-MP:build wes$ `

Thank you for this. I have not tried 5.15 on macOS yet - obviously the code needs some adjustments. It will definitely catch up with the latest Qt release.

On 25 Jun 2020, at 21:39, crazyhorse90210<EMAIL_ADDRESS>wrote:
`Mac-Pro-MP:build wes$ cmake .. -DCMAKE_PREFIX_PATH:PATH=/usr/local/opt/qt
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/wes/Applications/RcloneBrowser/build
Mac-Pro-MP:build wes$ pwd
/Users/wes/Applications/RcloneBrowser/build
Mac-Pro-MP:build wes$ make
[ 1%] Building CXX object src/CMakeFiles/rclone-browser.dir/main_window.cpp.o
/Users/wes/Applications/RcloneBrowser/src/main_window.cpp:435:39: error: 'split' is deprecated: Use
Qt::SplitBehavior variant instead [-Werror,-Wdeprecated-declarations]
QStringList lines = version.split("\n", QString::SkipEmptyParts);
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qstring.h:603:23: note: 'split' has been explicitly marked
deprecated here
Q_REQUIRED_RESULT QT_DEPRECATED_VERSION_X_5_15("Use Qt::SplitBehavior variant instead")
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qglobal.h:372:45: note: expanded from macro
'QT_DEPRECATED_VERSION_X_5_15'
define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)
                                    ^

/usr/local/opt/qt/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                        ^

/usr/local/opt/qt/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro
'Q_DECL_DEPRECATED_X'
define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
                                              ^

/Users/wes/Applications/RcloneBrowser/src/main_window.cpp:1217:11: error: 'start' is deprecated: Use
QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite)
instead [-Werror,-Wdeprecated-declarations]
player->start(stream, QProcess::ReadOnly);
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qprocess.h:164:5: note: 'start' has been explicitly marked
deprecated here
QT_DEPRECATED_X(
^
/usr/local/opt/qt/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                        ^

/usr/local/opt/qt/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro
'Q_DECL_DEPRECATED_X'
define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))
                                              ^

2 errors generated.
make[2]: *** [src/CMakeFiles/rclone-browser.dir/main_window.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/rclone-browser.dir/all] Error 2
make: *** [all] Error 2
Mac-Pro-MP:build wes$ `
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/kapitainsky/RcloneBrowser/issues/125, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXJHOR775ALDOMQ5EVEYILRYOYXBANCNFSM4OIXDADQ.

Progress?

Sorry. Did not have time recently to deal with this project. But now I am back in business. Will investigate it.

Hi, We get same deprecated errors on Linux/Qt 5.15.x
RcloneBrowser/src/main_window.cpp:435:74: error: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Werror=deprecated-declarations]
  435 |           QStringList lines = version.split("\n", QString::SkipEmptyParts);

and
RcloneBrowser/src/main_window.cpp: In member function ‘void MainWindow::addStream(const QString&, const QString&)’:
RcloneBrowser/src/main_window.cpp:1217:43: error: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Werror=deprecated-declarations]
 1217 |   player->start(stream, QProcess::ReadOnly);
      |                                           ^

The build is failed

For anyone who comes across this - removing -Werror flag from src/CMakeLists.txt fixes this - basically stops warnings (in this case deprecation warnings) being turned into errors which will kill compilation.
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 321ea72..3aad5a5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -10,7 +10,7 @@ endif()
 if(WIN32)
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /WX /wd4100 /wd4189")
 else()
-  add_definitions("-pedantic -Wall -Wextra -Werror -std=c++11")
+  add_definitions("-pedantic -Wall -Wextra -std=c++11")
 endif()

 if (APPLE)


Add shell auto-completion to conda package

Adds the hub auto-complete scripts under /etc to the conda package.

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Question about using VlcManager

Hi,
We are using the WPF version but I cannot for the life of me figure out how to instantiate and use a VlcManager to skip video frame by frame (I would like to call the NextFrame method). This method requires a VlcMediaInstance but I cannot see how to get one of these from the WPF VlcControl.
Is anyone able to point me in the right direction please, as a cursory search has only yielded results of people posing the same question on StackOverflow without any answer?
Many thanks,
Mark

See
https://github.com/ZeBobo5/Vlc.DotNet/blob/80b9fb5fab8ce4433e4efdcb9a1406b73ac9e240/src/Vlc.DotNet.Forms/VlcControl.cs#L14
https://github.com/ZeBobo5/Vlc.DotNet/blob/80b9fb5fab8ce4433e4efdcb9a1406b73ac9e240/src/Vlc.DotNet.Core/VlcMediaPlayer/VlcMediaPlayer.cs#L14
In short : these are private fields, so you can't do that here.
Two options here:

Implement a high-level specific option for what you are doing
Expose those fields through a public property. (my vote goes for this one)

Both options would require some work on our side (or a pull request).
Please tell me what you want, and feel free to join the discussions at https://gitter.im/Vlc-DotNet/Lobby

Starting with the latest prerelease, you are able to get the VlcManager from the Media player. That way, you will be able to apply the workaround.

Hi, I am able to get the VlcManager now, but is still unable to get the  VlcMediaPlayerInstance for use in the Manager's method, for e.g. SetVideoAspectRatio do we know how I can get that?
Example:
 private VlcControl vlcElement1 = new VlcControl(); vlcElement1.MediaPlayer.VlcMediaPlayer.Manager.SetVideoAspectRatio(**??**, "16:9");

Use vlcElement1.MediaPlayer.VlcMediaPlayer.AspectRatio = "16:9"; instead. You should only use Manager in cases where there is no alternatives.


Improve homepage promo image workflow

Often when homepage promo images are added or changed they are bigger than necessary and this causes performance to suffer.
We should improve the workflow to ensure that developers updating the images are aware of the constraints and images are appropriately resized and compressed.
Some ideas on how to achieve this:

a script to automatically compress and resize images
a unit test to warn if images are too big
guidance on how to resize and compress images

Some things to consider:

lossy compression can lead to artefacting, so the images will need to be previewed to ensure there's no visual defects
images with flat colours are better as pngs than jpgs, so the scripts will need to be able to consider this
we might get better file size and a clearer image if we use a larger image that uses higher than usual compression
we should strip out embedded colour profiles and convert to sRGB
we should strip out image metadata
jpgs should be progressive to speed up the time they take to display

https://github.com/toy/image_optim_rails

Would love to see improvements in this area. I feel like automated tests might be a good start - enough to prod someone to check the image and spend a bit of time optimising them.

For even smaller images, we could consider using a slimmed down colour profile such as Facebook's C2. Converting to C2 profile rather than sRGB would save 3-4kb per image. C2 simulates sRGB but in a much smaller size.

the link above makes it part of the asset pipeline, and bar it doing the wrong thing, it's configure and forget

A couple of issues I can see with using the asset_pipeline is that it will be recompressing images, and if it's using lossy compression this could be bad. If the images aren't the right size or are too large it might not be as efficient.

it would be relatively simple to hook into it only when needed i reckon as well, using the base ruby library if we wished more fine grained control.
https://github.com/toy/image_optim
the one linked above is just the fire and forget option, i have used it with good success on previous projects.


how to call fakerlibrary directly in python

it success but failed to use other Fakerlibrary library. would you share how to use in python
import FakerLibrary
print(FakerLibrary.FakerKeywords().name())

if it works we can work inline in RF. it will be better for code line
such as
Input Text    ${element}    ${{Fakelibrary.Name()}}


Associate multiple authentication strategies with 1 user

Steps to reproduce
Is it Possible to use multiple authentication strategies for 1 user?
I'm building an app where I need to connect one user to serval services like Github, Bitbucket, ...
Ideally, the user could log with any service, and add additional services later on.
Expected behavior
I would like to be able to send a user identifier along with the oauth call in order to tell feathers to associate an existing user with a new oauth provider.
Actual behavior
For the moment, feathers-authentication seems to create a new user for each oauth Strategy I'm using.

With cookies enabled and the existing JWT set as feathers-jwt in the cookie, account linking is now possible with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


Build :: rollup bundle

Use rollup to generate a nice ES module bundle, importable by other projects using compatible ES6-compliant module bundlers.
In the parent project, vue must be added as dependency. It's not included in the vue-query-builder bundle.
The yarn build-bundle --watch, in combination with yarn link, enables convenient development across projects.

Nice job! Would you mind adding a README (or a dedicated documentation file) section describing integration steps ?

@adimasci I started to explain that in the parent repo (https://github.com/ToucanToco/tucana/commit/61e8b45e2426265e565765a3a0287ecbfa52de49), but it's a really good idea to explicit the API of this repo and allow other people to use it easily.
I'll do that then :)


Support for Rackconnect version 3

knife-rackspace added --rackconnect-wait  which causes it to wait until the Rackconnect automation setup is complete before bootstrapping chef.
Original PR: https://github.com/chef/knife-rackspace/pull/35
With v3, the process has completely changed. Cloud servers in v3 do not get a public IP by default and you need to make an separate Rackconnect API call for a public IP. So essentially Knife-rackspace needs to be tweaked to add those additional calls and then wait before bootstrapping.  We will need to retain the v2 functionality as well for backwards compatibility.  So something like --rackconnect-v3-wait which makes the call and waits till the IP is provisioned. 'accessIPv4' is still correctly populated as before and so that is the right public IP to use.
More about the Rackconnect API can be found here.
http://www.rackspace.com/knowledge_center/article/getting-started-with-the-rackconnect-v30-api#section3_add_public_IP_address_API
Let me know if you need more details.
Thanks

This will be live in 0.10.1


test: remove more containers in AfterAll for RuntimeChaos

A newly added test created containers which were not cleaned in up
AfterAll, which polluted the CI environment, causing failures
in subsequent tests.
Fixes: c493267d47 ("Test: Add restart test in Cilium with L4 policy to validate no traffic drops.")
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

test-me-please

Failure occurred in K8s tests for NodePort: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/6922/testReport/junit/k8s-1/11/K8sServicesTest_Checks_service_across_nodes_Tests_NodePort/
This is definitely unrelated to my changes. I'm merging this as the runtime tests have passed, specifically because the KVStore tests succeeded after the test which was added that caused this bug, was ran:
18:22:46 RuntimeChaos
18:22:46   Checking that during restart no traffic is dropped using Egress + Ingress Traffic
18:22:46   /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated@2/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:383
...
18:24:19 RuntimeKVStoreTest
18:24:19 /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated@2/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:351


Acceptance tests can fail if hub create repo action doesn't finish in time

Acceptance tests failed on a topic branch unexpectedly, then succeeded on a re-run. It appears this line may not be waiting for the hub action to complete: https://github.com/weaveworks/weave-gitops/blob/main/test/acceptance/test/add_tests.go#L467
We can probably use a blocking gitproviders.CreateRepo call to ensure that the repo always exists before proceeding.

@josecordaz Did you fix something around this in the last week or so?


Fixed issue in ModbusMasterTcpConnection while reading from stream

A stream may return even if not all requested bytes are read. So one has to loop until all bytes are read (or an error occurred).

Current coverage is 61.84% (diff: 0.00%)

Merging #112 into portable-3.0 will decrease coverage by 0.26%

@@           portable-3.0       #112   diff @@
==============================================
  Files                50         50
  Lines              2336       2346    +10
  Methods             435        435
  Messages              0          0
  Branches            213        215     +2
==============================================
  Hits               1451       1451
- Misses              856        866    +10
  Partials             29         29

Powered by Codecov. Last update bdef3d6...a29b714


Php 8.2 compatible release?

It looks like (most?) php-8.2 compatibility issues are resolved.
@Shardj can a new version be released?

Sure thing


Change name to match python naming

This is because pyros structure has now changed to rely on namespace packages (from setuptools)

this is not as simple as I thought before.
Normal packages are supported in python 2 and 3 and ROS deb packages
Namespace packages are supported in python 3 only (properly with PEP 420 which works with ROS as well) and ROS with python3.
We can probably rename our package to "pyros_interfaces_common" from kinetic, to have all interfaces packages with a proper prefix in package.
But maintaining a namespace package will be doable only when ROS will support python3 officially (still some way to go AFAIK...), so very likely in another distro, some time away in the future.

Or maybe we keep pyros_common as PyPI and pip name for now... even if we have 2 python packages named :

pyros_interfaces_common
pyros_interfaces_mock

And we will change package name only once, when we move to python3 and can support python namespace packages in deb pkgs.

Everything seems to work properly with our current packaging naming :
$ pip list | grep pyros
pyros-common (0.4.2)
pyros-config (0.2.0)
pyros-interfaces-ros (0.4.0)
pyros-setup (0.2.1)
pyros-test (0.0.6)
pyros-utils (0.1.3)
$ python -c "import pyros_interfaces_common; print pyros_interfaces_common.__file__"
WARNING:root:ZMQ : Protobuf message implementation not found. Using pickle based protocol
/opt/ros/indigo/lib/python2.7/dist-packages/pyros_interfaces_common/__init__.pyc

We now have a pyros_common package ,among the 3 others.
Renaming is on hold until we stabilize the structure of pyros, between "common" parts (code/data that will be serialized and passed around) and "interface" parts (code/data that stays in one process to interface).
The interface parts are currently splitted in two because we have a base class, but there may be better ways to do interfaces/facades in python...


Fix JsonWriter buffer leak when APM server not available

A side effect of blocking, instead of discarding events during the grace period is that a full ring buffer can never recover if the server persists to be unavailable. That also means we can't publish flush events. I can't remember why we decided to block instead of moving this if outside the if (connection == null) which would also have solved the memory leak:
if (gracePeriodEnd > System.currentTimeMillis()) {
    // back off because there are connection issues with the apm server
    dropped++;
    return;
}

Discarding events during grace periods means two things that I assume should be avoided:

keeping the consumer threads busy doing nothing instead of being idle
losing events even for short connection failures

What is the problem with a ring buffer that can't recover when the server is unavailable? And what is the problem with not being able to publish the shutdown event if server is unavailable (besides the fact that the publish is blocking, but using tryPublish overcomes that)?

losing events even for short connection failures

Ah, that's a very good point. Didn't remember that reason.
Besides the fact that it's blocking on publish, which can be solved with a tryPublish I don't think there is any problem with waiting in the reporter during a grace period. I just didn't remember why we thought blocking was better and it was not documented in the PR or the code.

And what is the problem with not being able to publish the shutdown event if server is unavailable

One potential problem, which is probably just an edge case, is that if the APM Server is available but the ring buffer is still full due to a traffic spike. In that case, the agent can't flush the remaining data. But again, this is quite an edge case and the impact does also not seem severe. So I like the solution we currently have :)


:bug: fix for h-omer#8

check to see if relationship end node matches before deleting

Hi! And thanks for your contribution! May I ask you if you could also provide some tests for what you've implemented? Thanks!

sure, I will work on those next week, thanks!

Thank you so much!

test added, please let me know if you want additional testing

Hi @tschn , can you please explain the new procedure you've added for multiple relationship delete?
Can we also add it to the documentation next?

@tschn is there any chance you're going to explain your changes? we would like to integrate those, but it would be nice to hear something from you!

please see latest commit for updated documentation, the plural procedures were added to allow updating more than one relationship for a given state for 'batch' style updates to the graph

please see latest commit for updated documentation, the plural procedures were added to allow updating more than one relationship for a given state for 'batch' style updates to the graph


decode URL components

This closes #5

Instead of directly accessing attributes of window.location, the HashState object provides its own method to access the decoded values from the location properties.

Merged into #16


"Unable to add DRM framebuffer" with mpv

mpv version: 0.32.0
wlroots version: 0.10.0.r124.gf72686c0-1 (up to f72686c)
sway version: sway version 1.4-726d187d (May 10 2020, branch 'master')
When mpv plays in fullscreen mode, lots of the following error messages are printed out.
[ERROR] [backend/drm/util.c:210] Unable to add DRM framebuffer: Invalid argument

mpv command:
mpv --no-config --gpu-api=vulkan --gpu-context=waylandvk <something to play>

sway-drm.log
Not sure if it is wlroots' problem or mpv's though.

Does everything still work fine even though error messages are printed?

I didn't test many other apps. But it seems mpv and sway still work fine, despite the error message.

So this is just Sway trying to use direct scan-out and failing (falling back to regular composition). This is harmless, but the error messages could be improved.
https://github.com/swaywm/sway/pull/5010 is an attempt at reducing the noise.

This happens with RetroArch and RPCS3 too, aren't they supposed to be able to use direct scan-out? Or maybe I'm confused as to what direct scan-out is :)

Direct scan-out means that the display engine directly reads from the client's buffer, without the compositor needing to copy to an intermediate buffer. Whether direct scan-out is possible depends on the display engine capabilities and the buffer format/modifier used by the client.

I think this didn't happen before though. Also if I switch to OpenGL in RetroArch it doesn't occur.

This is still an issue, my sway.log grows to 2MB after a couple minutes session in RPCS3 or RetroArch.

The error messages should have been downgraded to DEBUG now.


Style fixes, added phpdoc

Hey!
Thanks

Thanks for the pull request @ovr!
Could you please sign our CLA so we can merge? https://github.com/sendgrid/sendgrid-php/blob/master/CONTRIBUTING.md#cla

BTW, the tests are failing because the MOCK_HOST environment variable is not getting set. I'm not sure why and I'm investigating. Seems related to: https://github.com/travis-ci/travis-ci/issues/4885

this would help alot!

@ovr,
Just a reminder that we will need a signed CLA to merge. Thanks!

@thinkingserious Hey! Sorry but I am not intersted to sign CLA for it, closed :(

No problem @ovr and thanks for the follow up.
I've created a follow up issue here: https://github.com/sendgrid/sendgrid-php/issues/276
If we had a CLA that could be completed with a form, would that have been acceptable? Or do you have an issue with the legal terms?
Thanks in advance!

Just came across this issue due to NetBeans not autocompleting due to properties being incorrectly assigned in a comma separated format.
I may raise a pull request fixing all autocomplete issues after my current project using SendGrid is done.
@thinkingserious may i suggest scrapping the CLA forms in favour of https://cla-assistant.io/ ? FOSS developers are more likely to contribute with this in place (have a look at owncloud for how the cla signing process hooks in with pull requests).

Hello @Caffe1neAdd1ct,
Thanks for the suggestion! I've passed cla-assistant.io along to our legal team for review. I hope we can implement it :)


Allow linking of Headings with special symbols like Trademark & Copyright

Headings with Trademarks like this:
# Super Product™

Should link with trailing dash from the TOC like this:
 - [Super Product™](#super-product-)

This can be done by replacing special characters. Check out the code in this pull request to see what I did. I'm not a Python dev by any stretch of the imagination, so I'm sure you'll know a much better way of doing something like this.
It's working well for me, so thought I would share.

Thank you for pull request!
Trademark and copyright has not be considered in my plugin.
So I checked on Github. But I found different result.
# Super Product™

should be
 - [Super Product™](#super-product)

as well as Copyright. see this sample...
https://github.com/naokazuterada/test
I pushed implementation which is tailored to the Github specification. I cannot accept your request directly because I place priority on Github users. But I'm ready to another platform optional, so would you mind to explain your case more detail?

:+1: Definitely good to go with the GitHub thing, I agree.
I was using it with the Markdown Editing plugin for SublimeText, which leave's a trailing dash -.
What are you using to view your Markdown content when you edit in SublimeText?

Thank you, for sharing your environment. I've never use 'Markdown Editing plugin for SublimeText', so I'll check it. I used 'Markdown Extended' plugin and 'Marked2' for preview rendering (but I don't use it recently).
I think it's good that we can define options for replace or remove characters in id in Package Settings. Because of possibility of other environments. I need a couple of weeks to implement it. Please wait.

@F1LT3R
New feature Replecements for id charactors. Now you can edit replacement settings in MarkdownTOC.sublime-settings by yourself.
Please try it.
I close this issue and your pull request  #35 . Thanks again for your attention!


_screenWidth default value

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
no

Fixed issues
#15229

Merged. Thanks!


Change the setup for images

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Just use generic receiver and dispatcher for the PROW build ....
/assign @pierDipi

I merge this... as that has impact ... (needs other pr on openshift releae)


Using model on single-view videos (or webcam input)

Hi, my team(@giuliorav @LeoDeep) and I would like to apply your human pose estimation on simple videos taken from a single camera (for which we don't have any projection matrix information). We are mainly using video downloaded from youtube by far, and we are planning to apply the same model to live input from a webcam.
Is it possible to do so? How would you suggest to proceed?
We tried both algebric and volumetric models. The first one goes wrong during the triangolation method, while extracting the svd from the matrix.
The second one expects an input with the same structure of the Human3.6 dataset.
Thank you for any possible hint ;)

Hi, @SynStratos.
Our methods are mainly supposed to run on multiple cameras. In the paper we showed, that our methods can be successfully used for single-camera 3D human pose estimation, but anyway you need to know the approximate absolute location of the human and intrinsics of the camera, which are difficult to estimate in the case of YouTube videos.
So, taking these complexities into account, I'd recommend choosing some other method, which was developed specially for single-camera 3D human pose estimation, and after you make the baseline work properly come back here and try our models. E.g. this paper proposes a nice and simple baseline: https://arxiv.org/abs/1804.06208 (note: this is not the state-of-the-art method at the moment).

Thanks for the suggestion!. Btw how we should proceed in case we get the projection matrix for our samples?


Blacklist scanner crashes if no network interfaces found

[forseti-security][2.7.0] google.cloud.forseti.scanner.scanners.blacklist_scanner(get_instance_networks_interfaces): No VM network interfaces found. Exiting.
[forseti-security][2.7.0] google.cloud.forseti.scanner.scanner(run): Error running scanner: BlacklistScanner Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.7.0-py2.7.egg/google/cloud/forseti/scanner/scanner.py", line 111, in run scanner.run() File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.7.0-py2.7.egg/google/cloud/forseti/scanner/scanners/blacklist_scanner.py", line 144, in run self._find_violations(instances_network_interface_data)) File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.7.0-py2.7.egg/google/cloud/forseti/scanner/scanners/blacklist_scanner.py", line 137, in _find_violations all_violations.extend(violations) File "/usr/local/lib/python2.7/dist-packages/forseti_security-2.7.0-py2.7.egg/google/cloud/forseti/scanner/audit/blacklist_rules_engine.py", line 216, in find_violations for network_interface in instance_network_interface: TypeError: 'NoneType' object is not iterable

The _retrieve code in the rule generator is hitting this line:
        if not network_interfaces:
            LOGGER.warn('No VM network interfaces found. Exiting.')
            return None, 0

I think just making this return [], 0 should work? Though I haven't dug through the rule generator code to see what would happen in this case.

Might be related to : #1918


http://hitontology.eu/ontology/Orthanc

http://hitontology.eu/ontology/Orthanc
Feedback vom Entwickler:
•	Besides PostgreSQL, Orthanc also supports MySQL and SQLite.
•	The terminology "mini-PACS" is from my pedagogical vocabulary, but is not widely recognized. I would suggest using "VNA" (Vendor Neutral Archive) instead: https://en.wikipedia.org/wiki/Vendor_Neutral_Archive
•	In the application systems, "RIS-PACS System" could be added (even though Orthanc does not include a RIS, it can be interfaced with through plugins).
•	In the programming languages, JavaScript, Python and HTML could be added.
•	In the organizational units, "Hospital Environment" and "Health Centers" should be added (many private centers use Orthanc, such as radiology, teleradiology, obstetrics, dentists...). It might also be interesting to add an entry about "Software/hardware integrators in the medical field".
•	In the operating systems, "Cross-platform" should be added (Orthanc should work on any UNIX-like system).
•	In the user groups, it might be interesting to add "Physicist", "Network engineer" and "System engineer", all of which apply to Orthanc.
•	It might be interesting to add a new entry "WebAssembly" in the operating systems, and Orthanc could be linked to this entry: https://en.wikipedia.org/wiki/WebAssembly
•	I am unsure where to place this, but Orthanc should be linked with an entry "Viewer" (or maybe more specific terms "Viewer of medical images" or "Web viewer").
Zusätzliche Kommentare FJ:

check if “WebAssembly” fits better in our “operating system” class or the “interoperability” class

new application system citations "Vendor Neutral Archive" and “"Web Viewer”. Links to catalogues possible? Direct link of "Vendor Neutral Archive" with Wikipedia?

Eintragungen ergänzt, nicht hinzugefügt werden konnte:
Database: SQLite
Programming languages: HTML
Interoperability Standards: WebAssembly
@FranziskaJahn "Direct link of "Vendor Neutral Archive" with Wikipedia?" --> Wie würde so ein direct link funktionieren?

HTML and WebAssembly are not included on purpose.
SQLite is available now.