Reading of trigger time?

The .RAW file from IMC hardware is saving the timestamp in the Cb field:
|Cb,1, 117,1,0,    1,         1,         0,    105682,         0,    105682,1,  2.0000000000000000E-02,  1.3088283620799999E+09,;

value of 1.3088283620799999E+09 is seconds since 1980 (the date specified in the |NT field), or 2021-06-22 03:26:02.080000.
However, it's not being read into the channel info:
[
  {
    "uuid": "447",
    "name": "Engine_Speed",
    "comment": "FSR_PRP_206",
    "origin": "imc STUDIO 5.2 R15 (4/30/2020)@imc DEVICES 2.13R6 (5.5.2020)@imcDev__11111111",
    "description": "",
    "language-code": "0x0409",
    "codepage": "1252",
    "yname": "Engine_Speed",
    "yunit": "RPM",
    "significantbits": "16",
    "xname": "",
    "xunit": "s",
    "xstepwidth": "0.1",
    "xoffset": "0.02",
    "group": {
      "index": "-1",
      "name": "",
      "comment": ""
    }
  }
]

Thanks for bringing up the issue as a reminder to process the trigger time. In version 1.2.9 the output now looks like:
[     {         "uuid": "348",         "name": "pressure_Vacuum",         "comment": "",         "origin": "imc STUDIO 5.0 R10 (04.08.2017)@imc DEVICES 2.9R7 (25.7.2017)@imcDev__15190567",         "description": "",         "trigger-time": "2019-05-07T05:48:26",         "language-code": "",         "codepage": "",         "yname": "pressure_Vacuum",         "yunit": "mbar",         "significantbits": "32",         "xname": "",         "xunit": "s",         "xstepwidth": "0.005",         "xoffset": "2044.03",         "group": {             "index": "-1",             "name": "",             "comment": ""         }     } ]


Marker html tooltip

Ideally for each marker in data, if the included mouseover text could include html, this would be useful..
Rather than just having a trade marker saying '8%' .. .
The marker could just be a signal, the tool tip could be the breakdown why that signal is there etc

Yes, good idea.

Would love this too for a custom tooltip on hover

Hi! Do you have any updates here? Would love to have this feature


Save data from a previous step when I go to next step

How I could save data from a previous step when I go to next step?
In first step I have two hidden fields, and I want to change their values when I change to next step.
What I'm tryng to do:
if ($flow->isValid($form)) {
            if ($flow->getCurrentStepNumber() == 1) {
                    $formData->setLat($pointDest->y);
                    $formData->setLng($pointDest->x);
                    $flow->saveCurrentStepData($form);
                }

Thanks.

You need to update $formData before you run isValid() - that should make it work

@sujayjaju, I do not see how your code is a solution. The $pointDest variable mentioned by @xuko is likely extracted from the form, and as such can only be retrieved after the form has been bound. I am actually wondering the same. I have a "derived" value that I want to write to the Doctrine entity when moving from step 1 to step 2, but it gets lost. I use roughly the same approach as @xuko.
Is there an intended way to do such post-processing? Should we perhaps do something with the post-bind event?

@LangdalP As per my understanding, nothing gets persisted to doctrine database until all the steps are done. Essentially, the form data gets serialized and saved in the chosen storage (session by default) - so if your variable is not part of the form, it will need to be set at every step until the last or just after processing the final step.


Merge ImageResizer into master

Summary of the Pull Request
This PR moves the ImageResizer power toy to master.

PR Checklist

[X] Applies to #53
[X] CLA signed. If not, go over here and sign the CLA
[X] Tests added/passed
[X] Requires documentation to be updated

Validation Steps Performed
Build and installed with both MSI and MSIX.

@enricogior This is for moving ImageResizer to master. Please add whoever you think should take a look at this.

I'll add my review tomorrow, but please use "Squash and merge" when merging this to master, otherwise our commit history is doomed 🙂

@yoyoyuppe, squash and merge is the only way :)  i disabled the normal merge commit

@crutkas It's still possible to use rebase and mergeplease don't disable it which produces multiple commits in master!

If you are going to use rebase and merge, first clean up the history squashing everything that can be squashed, the current 73 commits can be definitely reduced.


Update MD file on new branch 2017-11-22_07-29-36

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add method to disconnect current connection

Add a wrapper to call esp_a2d_sink_disconnect allowing you to disconnect the currently connected device.
I am not sure if the the commented section is required, it works in my simple case - but I must admit I don't have sufficient knowledge here..

What problem are you trying to address with this ?

What problem are you trying to address with this ?

I self created problem :-D
I would like to terminate the currently connected source device, and thus allow another device to reconnect to the sink.


request: Keybinding Cheatsheet Overlay

I found this package for Atom and wonder whether kwm could add a similar feature.
It's difficult to memorise all of the keybindings before using this tool for the first time, and I think a feature to toggle a pane containing the currently assigned keybindings could help to ease new users into the program.
Perhaps kwmc could implement some command to export the current keybindings?
Thoughts?

Due to the fact that you can assign whatever you want as keybinds (exec commands, etc), you might as well just open your config file as a reference. A cheatsheet panel would be really cluttered, and would just be a duplicate of what's in ur config anyway.

I echo the "Just open your config" sentiment. kwm does not need any graphical interface (aside from the border)

I'll see if I can implement it myself.
I'm thinking I could place my binds within a separate file referred to with include binds and then set up a bindsym that execs a window that displays this binds file as well as replaces the bindsym with an exec that will close the window and then sets back the original bindsym. Unless there is a more elegant way of creating a toggle.

you could use a binding mode to handle the replacing part.

In case you still haven't found a proper solution to this, I would suggest just making a bind to open ~/.kwm/kwmrc (or wherever your binds are), in your favorite text editor. There shouldn't really be a need for a toggle functionality, as you can just cmd+w/q that editor window when you are done.


resholve: use src.outputHash from inner derivation

Description of changes
Effort to fix automatic nixpkgs-update updates for resholved packages in 9f6310d (#191003) did help the bot get further along, but it still failed to find the source outputHash (because the outer derivation's source is the inner derivation; the bot is looking for outer.src.outputHash but before this commit it is at outer.src.src.outputHash).
Change abuses passthru to set the outer src to inner.src in a way that (IIUC) will not affect the build, but will affect ~queries like nixpkgs-update is using (e.g. nix eval -f . --raw pkgs.bats.src.drvAttrs.outputHash)
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This one's a bit weird, so I've confirmed that:

nixpkgs-review reports No diff detected, stopping review...

confirm that I can nix-build both bats and bats.tests (bats is built with resholve)

The nixpkgs-update nix eval command I'm trying to fix appears to work:
$ nix eval -f . --raw pkgs.bats.src.drvAttrs.outputHash
sha256-joNne/dDVCNtzdTQ64rK8GimT+DOWUa7f410hml2s8Q=

@thiagokokada Hoping you can take a look at this since you reviewed the previous PR, but no worries if you don't have time.

The force-push I just made takes this in another direction, but I want to document a little of the ground covered just in case the record is useful later. Feel free to skip this comment and just read the next one :)

I think the better solution here would be to just have a default passthru.updateScript that knows how to handle the outputHash from the resholve derivations.

I got similar advice from @ryantm, so I spent a few hours banging my head against this with nothing to show for it. Unless I'm missing one or more things (likely, since the documentation here seems to be vaporware :) the majority of all update scripts I can find as examples are extremely idiomatic to the source/release infrastructure of individual packages.
I've tried using the most-generic updaters I've been able to find: genericUpdater and nix-update-script.  I haven't been able to get anything that would just work for downstream users of resholve.mkDerivation (the former because it looks like every instance would require per-package customization to use, the latter for exactly the same kind of src-finding trouble.)
Again assuming I'm not missing something, the updateScript approach feels ~right for individual packages, and like a minefield for a builder (unless/until we build something universal, canonical, and well-documented within Nixpkgs that can help cope with edge-case builders).

I ended up going with your suggestion to see about fixing this at the nixpkgs-update level in ryantm/nixpkgs-update#324.
This PR no longer engages in misleading sourcery--it uses a new attr that shouldn't be load-bearing in Nix or nixpkgs. :)


Tail Connection With Custom SSH Port

I tried to remote-tail a server which ssh port is 22, and it works. However, when I tried to remote-tail (artisan tail production) to another server which ssh port is changed to other than 22, it doesn't work.
to make it works on my side, what I did is adding new optional port in config file and add the -p option in ssh command.
TailCommand.php

config/tail.php → using port 8888 as example

is there anything that you already done to configure for custom ssh port? or should i just stick with the code above?

I'd accept a PR that fixes this.


Introduce support for keyword arguments

The Nokogiri API was largely designed and implemented for Ruby 1.9, which pre-dates keyword argument support and parameter forwarding with .... As a result, many methods are using positional arguments where keyword arguments are probably better.
For example, Nokogiri::XML::Document.parse is declared as:
def parse(string_or_io, url = nil, encoding = nil, options = ParseOptions::DEFAULT_XML)

I would like to update these method signatures to support keyword arguments without dropping support (yet) for positional arguments. In the case of Document.parse, this might look like:
def parse(string_or_io,
          _url = nil, _encoding = nil, _options = XML::ParseOptions::DEFAULT_XML,
          url: _url, encoding: _encoding, options: _options)

I would also like to update the docstrings to describe the keyword arguments, and remove documentation for the positional arguments.
Another example is Nokogiri::XML() which is defined as:
def XML(thing, url = nil, encoding = nil, options = XML::ParseOptions::DEFAULT_XML, &block)
  Nokogiri::XML::Document.parse(thing, url, encoding, options, &block)
end

Methods that are forwarding positional arguments should be updated to more cleanly forward either keyword arguments or positional arguments, and avoid redeclaring parameter default values:
def XML(...)
  Nokogiri::XML::Document.parse(...)
end

For an example of the kind of documentation I'd like to see, take a look at https://github.com/sparklemotion/nokogiri/pull/3324 which updates Nokogiri::XML::Document.parse.

The list of methods that need to be updated is at https://docs.google.com/spreadsheets/d/1pWM7N5D9073J8IRVO0yghIySTYhsJoO73sslAVxEO-A/edit?gid=0#gid=0
We'll work on this for RubyConf 2024 hack day!

TODO: link back to this issue in doc strings for people to discover some documentation about the positional arguments


How to show my REST APIs by rest_framework_swagger?

I am new for rest_framework_swagger. I wonder my REST APIs showed by rest_framework_swagger by following http://django-rest-swagger.readthedocs.org/en/latest/. I am using Django REST framework with view APIView. Followed the quick start steps, I can see the swagger page. But there is a problem to show the model schema for PUT, POST. (Even no window to set the data body)
Implementation Notes
Org list view
Response Class
ModelModel Schema
object
Do I need to write a model schema for swagger? Or what other configurations I need?

Were the post/put methods defined on the view?


React-yoga podspec

Now that Flipper does not depend on Yoga, RN's Yoga pod does not need to conform to the same version, interface, as the standalone Yoga pod.
This changes the Yoga.podspec specific to React Native, renaming it to React-yoga.podspec. Now that we do not need to worry about a Swift interface, we can expose all of the headers Fabric expects to be able to find as public, for React Native. That effectively undoes the kludges added with D45139075.
Changelog: [Internal]
Differential Revision: D47463111

We still cannot include C++ in the umbrella header, since we support importing Yoga as a C-only Clang module to some ObjC code when building using frameworks. Going to keep this as is for now.


⚠ ClamAV has degraded performance

In aa62985, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in d53b7eb.


[M1] Application won't run on simulator

Steps to Reproduce
Run flutter application on M1 device with MacOS 12 and flutter stable branch
Logs

Logs

Translated Report (Full Report Below)
Incident Identifier: 74ABA90D-A4AF-43F4-8CF6-5D08BCD775B4
CrashReporter Key:   049F5925-4F1E-898F-F227-6699FD1241BD
Hardware Model:      MacBookPro17,1
Process:             Runner [74009]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/4EF34ACE-C668-417B-A067-12F6E638000E/data/Containers/Bundle/Application/4128C5D8-3AB0-4CA4-943D-1DF8470C17DA/Runner.app/Runner
Identifier:          com.therecspot.recspot.test
Version:             0.9.0 (21)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [72141]
Coalition:           com.apple.CoreSimulator.SimDevice.4EF34ACE-C668-417B-A067-12F6E638000E [5731]
Responsible Process: SimulatorTrampoline [72120]
Date/Time:           2021-07-05 17:36:30.5151 +0530
Launch Time:         2021-07-05 17:36:30.3336 +0530
OS Version:          macOS 12.0 (21A5268h)
Release Type:        User
Report Version:      104
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region:<PHONE_NUMBER>
REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
UNUSED SPACE AT START
--->
mapped file                 100e84000-100f4c000    [  800K] r-x/r-x SM=COW  ...t_id=5e5d19d1
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [74009]
Triggered by Thread:  0
Application Specific Information:
Thread 0 Crashed:
0   ???                           	    0x7ff7ffd24118 ???
1   	       0x101013a3c ???
2   dyld                          	       0x2010c2a32 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 890
3   dyld                          	       0x2010c16b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
4   dyld                          	       0x2010c14b4 start + 388
5   dyld                          	       0x2010bc000 ???
Thread 1:: com.apple.rosetta.exceptionserver
0   ???                           	    0x7ff7ffd11984 ???
1   ???                           	    0x7ff7ffd29320 ???
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000  rbx: 0x000000010906baf8  rcx: 0x0000000000000000  rdx: 0x0000000000000001
rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000109723000
r8: 0x01d49309683a0006   r9: 0x0000000000000000  r10: 0x0000000109723000  r11: 0x000000010952c010
r12: 0x0000000000000000  r13: 0x000000010952c060  r14: 0x0000000201130080  r15: 0x0000000000000000
rip:        rfl: 0x0000000000000283
tmp0: 0x0000000101002d98 tmp1: 0x0000000101002090 tmp2: 0x00000002010dba13
Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x2010bc000 -        0x201123fff dyld () <1051784a-31a4-3307-b922-6e65e511ff69> /usr/lib/dyld
EOF

Full Report
{"app_name":"Runner","timestamp":"2021-07-05 17:36:30.00 +0530","app_version":"0.9.0","slice_uuid":"e65cbacf-2b4f-3a34-b833-1c96f7a84185","build_version":"21","platform":7,"bundleID":"com.therecspot.recspot.test","share_with_app_devs":1,"is_first_party":0,"etl_key":"3","bug_type":"309","os_version":"macOS 12.0 (21A5268h)","incident_id":"74ABA90D-A4AF-43F4-8CF6-5D08BCD775B4","name":"Runner"}
{
"uptime" : 16000,
"procLaunch" : "2021-07-05 17:36:30.3336 +0530",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 209,
"modelCode" : "MacBookPro17,1",
"coalitionID" : 5731,
"osVersion" : {
"train" : "macOS 12.0",
"build" : "21A5268h",
"releaseType" : "User"
},
"captureTime" : "2021-07-05 17:36:30.5151 +0530",
"incident" : "74ABA90D-A4AF-43F4-8CF6-5D08BCD775B4",
"pid" : 74009,
"translated" : true,
"cpuType" : "X86-64",
"procName" : "Runner",
"procPath" : "/Users/USER/Library/Developer/CoreSimulator/Devices/4EF34ACE-C668-417B-A067-12F6E638000E/data/Containers/Bundle/Application/4128C5D8-3AB0-4CA4-943D-1DF8470C17DA/Runner.app/Runner",
"bundleInfo" : {"CFBundleShortVersionString":"0.9.0","CFBundleVersion":"21","CFBundleIdentifier":"com.therecspot.recspot.test"},
"storeInfo" : {"deviceIdentifierForVendor":"7BF2BB51-03AD-516D-A5E2-52E9A681B88E","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 72141,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.4EF34ACE-C668-417B-A067-12F6E638000E",
"crashReporterKey" : "049F5925-4F1E-898F-F227-6699FD1241BD",
"responsiblePid" : 72120,
"responsibleProc" : "SimulatorTrampoline",
"wakeTime" : 337,
"sleepWakeUUID" : "FEFF3866-4CEC-47AA-9FAA-88D155984039",
"sip" : "enabled",
"vmRegionInfo" : "0 is not in any region.  Bytes before following region:<PHONE_NUMBER>\n      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      mapped file                 100e84000-100f4c000    [  800K] r-x/r-x SM=COW  ...t_id=5e5d19d1",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":74009},
"vmregioninfo" : "0 is not in any region.  Bytes before following region:<PHONE_NUMBER>\n      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      mapped file                 100e84000-100f4c000    [  800K] r-x/r-x SM=COW  ...t_id=5e5d19d1",
"asi" : {"dyld":[]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":2,"task_for_pid":4},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":462985,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":0},"rosetta":{"tmp2":{"value":8607611411},"tmp1":{"value":4311752848},"tmp0":{"value":4311756184}},"rbx":{"value":4446403320},"r8":{"value":131891957713207302},"r15":{"value":0},"r10":{"value":4453445632},"rdx":{"value":1},"rdi":{"value":0},"r9":{"value":0},"r13":{"value":4451385440},"rflags":{"value":643},"rax":{"value":0},"rsp":{"value":4453445632},"r11":{"value":4451385360},"rcx":{"value":0},"r14":{"value":8607957120,"symbolLocation":0,"symbol":"dyld4::gProcessInfo"},"rsi":{"value":0}},"frames":[{"imageOffset":140703125618968,"imageIndex":0},{"imageOffset":4311824956,"region":"","imageIndex":0},{"imageOffset":27186,"symbol":"dyld4::prepareSim(dyld4::RuntimeState&, char const*)","symbolLocation":890,"imageIndex":1},{"imageOffset":22197,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":244,"imageIndex":1},{"imageOffset":21684,"symbol":"start","symbolLocation":388,"imageIndex":1},{"imageOffset":0,"imageIndex":1}]},{"id":462990,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":140703125543300,"imageIndex":0},{"imageOffset":140703125639968,"imageIndex":0}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>,
"size" : 425984,
"uuid" : "1051784a-31a4-3307-b922-6e65e511ff69",
"path" : "/usr/lib/dyld",
"name" : "dyld"
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=1048K resident=0K(0%) swapped_out_or_unallocated=1048K(100%)\nWritable regions: Total=154.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=154.6M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nRosetta Arena                     4096K        2 \nRosetta Generic                    732K      180 \nRosetta IndirectBranch              32K        1 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack                20K        2 \nRosetta Thread Context              20K        2 \nStack                             8176K        1 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                       12.8M        6 \nVM_ALLOCATE (reserved)              64K        4         reserved VM address space (unallocated)\n__DATA                              20K        2 \n__DATA_CONST                        92K        2 \n__LINKEDIT                         360K        4 \n__TEXT                             720K        2 \ndyld private memory               1024K        1 \nmapped file                        5.8G       34 \nshared memory                       32K        2 \n===========                     =======  ======= \nTOTAL                              6.0G      247 \nTOTAL, minus reserved VM space     6.0G      247 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "60c88ac7e7d17206e1f95943"
},
"deploymentId" : 250000052
},
{
"rolloutId" : "601d9415f79519000ccd4b69",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "60ca460c10d03d047ed95dfe"
},
"deploymentId" : 250000082
},
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "60c8a862e7d17206e1f95953"
},
"deploymentId" : 250000112
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
  },
  "deploymentId" : 250000092
}

],
"experiments" : [
]
}
}
Model: MacBookPro17,1, BootROM 74<IP_ADDRESS>.1, proc 8:4:4 processors, 8 GB, SMC
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: LPDDR4
AirPort: spairport_wireless_card_type_wifi, wl0: May 11 2021 22:21:31 version 18.20.2<IP_ADDRESS>.108 FWID 01-9dd86976
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

[✓] Flutter (Channel stable, 2.2.3, on macOS 12.0 21A5268h darwin-arm, locale en-IN)
• Flutter version 2.2.3 at /Users/tejasw/dev/flutter
• Framework revision f4abaa0735 (4 days ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/tejasw/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /usr/bin/java
✗ Could not determine java version
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode-beta.app/Contents/Developer
• Xcode 13.0, Build version 13A5155e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio
• Android Studio at /Applications/Android Studio Preview.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] Connected device (2 available)
• iPhone 12 Pro Max (mobile) • 4EF34ACE-C668-417B-A067-12F6E638000E • ios            •
com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• Chrome (web)               • chrome                               • web-javascript • Google
Chrome 91.0.4472.114
! Doctor found issues in 2 categories.

Hi @Tejaswgupta
I see there's an open issue addressing the case you described.
Please follow up on that issue, Closing as duplicate of https://github.com/flutter/flutter/issues/85545
If you disagree, please write in the comments and I will reopen it.
Thank you


edid-decode: init at git-2017-09-18

Motivation for this change
My monitor is old and has EDID problems, I used this program to verify the EDID I am now using via kernel parameter is correct.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build edid-decode

Success on x86_64-darwin (full log)
Partial log (click to expand)
                        printf("Made in year %hd\n", edid[0x11] + 1990);
                                             ~~~     ^~~~~~~~~~~~~~~~~
                                             %d
16 warnings generated.
installing
post-installation fixup
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/2hnjdcz78lwxzsds36ixgxly5bfpvnmv-edid-decode-unstable/bin
patching script interpreter paths in /nix/store/2hnjdcz78lwxzsds36ixgxly5bfpvnmv-edid-decode-unstable
/nix/store/2hnjdcz78lwxzsds36ixgxly5bfpvnmv-edid-decode-unstable

Success on aarch64-linux (full log)
Partial log (click to expand)
                          ^~
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/irza1lmv0hlb0l3viw9w40pn1zx60flb-edid-decode-unstable
shrinking /nix/store/irza1lmv0hlb0l3viw9w40pn1zx60flb-edid-decode-unstable/bin/edid-decode
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/irza1lmv0hlb0l3viw9w40pn1zx60flb-edid-decode-unstable/bin
patching script interpreter paths in /nix/store/irza1lmv0hlb0l3viw9w40pn1zx60flb-edid-decode-unstable
checking for references to /build in /nix/store/irza1lmv0hlb0l3viw9w40pn1zx60flb-edid-decode-unstable...
/nix/store/irza1lmv0hlb0l3viw9w40pn1zx60flb-edid-decode-unstable

Success on x86_64-linux (full log)
Partial log (click to expand)
                          ^~
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3y08z3pn771c78r1wh0mm6r9l2xxk4hb-edid-decode-unstable
shrinking /nix/store/3y08z3pn771c78r1wh0mm6r9l2xxk4hb-edid-decode-unstable/bin/edid-decode
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/3y08z3pn771c78r1wh0mm6r9l2xxk4hb-edid-decode-unstable/bin
patching script interpreter paths in /nix/store/3y08z3pn771c78r1wh0mm6r9l2xxk4hb-edid-decode-unstable
checking for references to /tmp/nix-build-edid-decode-unstable.drv-0 in /nix/store/3y08z3pn771c78r1wh0mm6r9l2xxk4hb-edid-decode-unstable...
/nix/store/3y08z3pn771c78r1wh0mm6r9l2xxk4hb-edid-decode-unstable

Thanks @Chiiruno :+1:


Fix Github link in package metadata and drop 3.3 support

This fixes the Github link in the package metadata

@dargueta @gwax pytest dropped 3.3 support, which was causing errors when running tests. I think it's best we go ahead and drop it too unless you all have ideas of how we can make a matrix of pytest versions and python versions. I would rather do this unless you have any objections and included it as part of this PR

You don't have to drop 3.3 support. You can handle it in the requirements like this.

@dargueta nice! Looks like install_requires also supports that, so I added it back in with success. Alright this PR should be ready to go

@dargueta @gwax this should be good to be merged. This is blocking a couple things at the moment, so I'm going to plan on merging tomorrow. Please let me know if there are any comments

+1


Bad code generated for GetType() in generic code with optimizations on

Repro:
// dotnet publish -r win-x64 -c Release

using System;

class Program
{
    static void bar(Type t)
    {
        Console.WriteLine(t.ToString());
    }

    static void foo<T>(T t)
    {
        bar(t.GetType());
    }

    static void Main(string[] args)
    {
        foo(new DateTime());
    }
}

This is because we report CORINFO_INTRINSIC_Object_GetType as an intrinsic to RyuJIT and there are things that are probably different between CoreCLR and CoreRT here. Maybe just comment that line out and add a reference to the #5180 catchall bucket?

Sounds reasonable to me.


Potential bug in list -s --all

When running doit with the arguments list -s --all, I am getting the following exception:
U cconv
Traceback (most recent call last):
  File "/home/jgosmann/.local/lib/python2.7/site-packages/doit/doit_cmd.py", line 121, in run
    return command.parse_execute(args)
  File "/home/jgosmann/.local/lib/python2.7/site-packages/doit/cmd_base.py", line 84, in parse_execute
    return self.execute(params, args)
  File "/home/jgosmann/.local/lib/python2.7/site-packages/doit/cmd_base.py", line 278, in execute
    return self._execute(**exec_params)
  File "/home/jgosmann/.local/lib/python2.7/site-packages/doit/cmd_list.py", line 157, in _execute
    self._print_task(template, task, status, list_deps)
  File "/home/jgosmann/.local/lib/python2.7/site-packages/doit/cmd_list.py", line 88, in _print_task
    task_status = self.dep_manager.get_status(task, None)
  File "/home/jgosmann/.local/lib/python2.7/site-packages/doit/dependency.py", line 501, in get_status
    uptodate_result = utd(*args, **utd_kwargs)
  File "/home/jgosmann/.local/lib/python2.7/site-packages/doit/task.py", line 537, in __call__
    dep_task = self.tasks_dict[self.dep_name]
TypeError: 'NoneType' object has no attribute '__getitem__'

This might be my own fault as I am using my own task loader and maybe I screw up the construction of the tasks (this makes also non-trivial to provide an actual minimal example). However, everything seems to work fine when executing the tasks. Also, what makes me believe that this might be a bug in doit is that tasks_dict is explicitely set to None in cmd_list.py on line 88.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25490226-potential-bug-in-list-s-all?utm_campaign=plugin&utm_content=tracker%2F1885485&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1885485&utm_medium=issues&utm_source=github).

I was running doit 0.27, problem is fixed in 0.28.


Abstract out render logic - issue 325

Motivation
This is one step towards solving https://github.com/facebook/Docusaurus/issues/325
To keep the refactor manageable, this first step only abstract out docs render logic. So generate.js and server.js can share same code for docs.
Test Plan
Tested locally with example site.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

glad we have unit tests

@richardzcode Awesome. Let me have a cursory look.

My theory is to look at the common area of the two paths. The first one is metadata generation, which we have already done. Then the next logical area is from metadata to HTML. So far I can’t think of a reason to purposefully differentiate the two. But it’s very possible I missed something.
The major purpose of this PR is to have something concrete to be able to discuss upon. So don’t hesitate to point out wrong assumptions:)


Plaids instance not destroyed.

We are using this package for plaid implementation. But we are facing issues like whenever we tried to launch the plaid it creates the new instance of it and does not destroy it any of the instances. As we as its taking the onSuccess of the first instance only. I think if we destroy the instance after closing the plaid then this issue will be resolved. Attaching plaid instances image for your reference.

I'm also encountering this issue, but it seems to destroy properly on onSuccess callback, but not on onExit callback

We are facing this issue for onSuccess callback.

Hi @somnathghadge and @alexandrasmith00 - we're taking a look at this within our shared web-client library. Will circle back with updates.

@anjiren  Any update on this? Can this expain why we are seeing Link warning: attempted to exit Link when it was not open?

@anjiren Any update on this? Right now, the onSuccess callback is being invoked multiple times as a result

@alexandrasmith00 @abartolo @somnathghadge are you still seeing this issue on the latest version of react-plaid-link? I want to determine if https://github.com/plaid/react-plaid-link/pull/109 fixed this issue

Closing due to lack of response. Please reopen if this is still an issue.


feat: add support for DS docs system tags

add the concept of "system tags"
"system tags" are transparent to users, excluded from core API responses
"upsert" by default does not modify system tags
"system tags" are prefixed by __DUST

Comments addressed @spolu


Try to fix Jenkins

https://github.com/aspnet/IISIntegration/issues/867

Was just about to make this PR. Let's see if this work.

Jenkins is green!. There is flakiness in  AppVeyor.


Add and improve scripts for dataset processing

This adds compatibility layers to:

MAmmoTH2 dataset - instruction training dataset
gsm8k dataset - math training dataset/benchmark
dolly-15k dataset - dialog and instruction training dataset

As well as improvements to mmlu_pro scripts, and jsonl support.

Lgtm


Stop htsjdk CRAM reader from trying to download the reference when the expected reference is not available.

Find out if there's a way to disable this awful behavior via SamReaderFactory -- if not, let's patch htsjdk itself to turn off reference auto-downloading by default.

We should also make sure that hellbender handles the case of "wrong reference for CRAM" gracefully and does not do anything stupid -- what we want is a UserException to be thrown with a descriptive error message. We should add an integration test to verify that we handle this properly.

htsjdk has been patched (https://github.com/samtools/htsjdk/pull/286) -- before this ticket can be closed, however, we need to wait for the next htsjdk release, rev the htsjdk dependency in hellbender, and ensure that hellbender can now handle the "wrong/missing reference for CRAM" case gracefully with a sensible error message.

Re-opening, since we don't yet have a test proving that we handle the "wrong/missing reference for CRAM" cases gracefully (eg., no NullPointerException or anything like that! :)

Completing https://github.com/broadinstitute/hellbender/issues/673 will take care of the case of "missing reference for CRAM", but we also need to make sure we're handling the case of "wrong reference" elegantly (where elegantly means "throw a UserException with a descriptive error message). We want a test case with a reference that is the wrong reference for a CRAM, but has a compatible sequence dictionary (so that it won't be caught by the sequence dictionary validation).
Both the wrong and missing reference cases should have a simple integration test that runs, eg., PrintReads with expectedExceptions = UserException.class

Once this is fixed, I will need to un-disable the test for PrintReads that involves CRAM and intervals. #675

Closing this, as the core task is done -- fixing the "wrong reference" case is covered by https://github.com/broadinstitute/hellbender/issues/793, and adding a PrintReads test involving cram and intervals is covered by https://github.com/broadinstitute/hellbender/issues/675


*: create services even when cluster is running

If we restore cluster seed member and render cluster in Running phase,
the services would need be setup by etcd operator.
We also need to make create services sync-style -- if it already exists,
we can continue.

closing this.
We are going to create services as well in restore process.


[Event Hubs Client] Track Two: Second Preview (Retry/Timeout)

Summary
The intent of these changes is to revise the approach used for retries and timeouts, moving the common case to options-driven approach while continuing to allow custom retry policies to be created by developers with advanced scenarios.
Goals

Base the API of the RetryOptions on the options found in Azure.Core in order to keep the API familiar.  (needs for Event Hubs differ enough that consuming Core's version was not adequate)

Create an abstract EventHubsRetryPolicy to serve as the contract for custom retry policy implementations.

Move operation timeouts client options and incorporated into the retry options and retry policies.

Last Upstream Rebase
Wednesday, July 17, 2019  8:14am (EDT)
Resources

Azure Messaging Exception Documentation
.NET Event Hubs Client: Second Preview Design Proposal

Related and Follow-Up Issues

[Epic] Release Event Hubs Track 2 Library Preview 2 (#6752)
Refactor retry policy implementation and remove operation timeouts (#6784)
Implement new retry types in Event Hub client (#6785)
Implement new retry types in the Event Hub producer (#6786)
Implement the new retry types in the Event Hub consumer (#6787)

Please feel free to ignore anything under the TrackOneClient folder;  there were no changes outside of the source getting caught up in the automatic code formatter for the first time since being moved over from an external reference.

Most of the test file changes are the result of a global replace on the parallel strategy;  there only actual changes are limited to the retry, client, producer, and receiver suites.


Fixed command line #262

Fixed command line #262

@YuriySamorodov - thank you for taking the time to fix the doc. It is much appreciated! Sorry for the delay on merging. It is merged now!


Check effective rights for attributes?

Would it be possible to check the effective rights of a user for an attribute specified by it's ID?
It would help me a lot if I had a function in the backend that could check if the current user is ablo to read or write an attribute.
Currently my code has to check for the roles and I have to hardcode what rights I set for those roles.

Could you please help me understand, why you need to check this in backend functions? I can only assume this becoming relevant, if you are using a lot of backend-functions that are cross-calling each other and are accessible as frontend calls. Issue being that it becomes too much of a hassle to properly secure, who can execute which function when.
Is this correct or is there a different reason?

That sums it up quite perfectly. I write many backend functions that get reused by other backend functions that are callable from the frontend. It's hard to make it flexible and secure at the same time.

While it is possible to create an instance function that answers this question for a combination of attribute and login ID, it would require a good amount of work to build and maintain. As I currently see it, this would be an esoterik feature that almost no one would use.
There is nothing speaking against this feature except that with how we need to prioritize our limited dev time, it would probably not be implemented in a long while as they are always more important features to add. Unless a customer would sponsor the dev time for this feature.
But I do not want to leave you empty-handed. It is possible to implement a function like that yourself, by creating a backend function that parses the DB schemas instance & app for the login permissions (eg. which roles are assigned, which roles can do what, which roles are inherited from other roles, etc.). This would not be part of the standard and could potentially break in the future, but it would work - and the corresponding entities (roles, access permissions, etc.) have not changed in many years and I am not aware of any plans of changing them anytime soon.

Alright, thank you. Btw. I fully understand your circumstances for not implementing everything that gets suggested, especially from non paying users. I hope it's still okay to post my issues here, even if they are exotic and not gonna be resolved by official implementations. On the other side I will post my implementation when I am done. Just for the case that it could be helpful for someone else.

Please, always feel free to suggest, ask or report issues. Sometimes things are easy to implement or fit with other changes. Other times feature ideas are awesome and could benefit a lot of people. At the very least, this way we find out, what people need and can prioritize better.
In cases where things are hard and only benefit very few people, we need to be smart and work through other things first. Unfortunately our list of "other" things is multiple pages long and we are barely making a dent at the moment.


Use WebWorkers to parralelize mesh generation issue

Hello,
I'm currently working on a project that requires me to generate intersections. However, I'm using meshes that can be complex and I need to do this on a recurring basis. So I'm looking to use three-bvh-csg with Webworkers.
However, I'm stuck, I have the impression (after my tests) that I need to render my scene for the evaluator to work. But I can't provide my scene in a WebWorker.
So I always get a mesh with empty attributes (array(0)).
Is it possible to activate the evaluator outside a render?
Here's the code for my main thread:
generateCollisions(mesh1, mesh2) {
      // let worker = new Worker('/src/scripts/collisionWorker.js');
      const worker = new Worker(new URL('/src/scripts/collisionWorker.js', import.meta.url), { type: 'module' });

      // Convertir les géométries en JSON pour les envoyer au Web Worker
      let mesh1Data = mesh1.geometry.toJSON();
      let mesh2Data = mesh2.geometry.toJSON();

      const scene = this.context.scene

      worker.postMessage({
          mesh1: mesh1Data,
          mesh2: mesh2Data
      });

      worker.onmessage = function(event) {
          let intersectionData = event.data;

          if (intersectionData) {
              // Convertir le JSON en une géométrie
              let loader = new THREE.BufferGeometryLoader();
              let geometry = loader.parse(intersectionData);

              let material = new THREE.MeshStandardMaterial({ color: 0xff0000 });
              let intersectionMesh = new THREE.Mesh(geometry, material);
              intersectionMesh.name = "intersection_" + mesh1.name + "_" + mesh2.name
              console.log(intersectionMesh.geometry.attributes)
              scene.add(intersectionMesh)
          }
      };
  }

And here the code of my WebWorker script:
import { INTERSECTION, Brush, Evaluator } from 'three-bvh-csg';
import { BufferGeometryLoader, BufferGeometry, MeshStandardMaterial, Mesh, Scene } from 'three';
import * as THREE from 'three';

function convertJSONToBufferGeometry(jsonData) {
    const loader = new THREE.BufferGeometryLoader();
    return loader.parse(jsonData);
}

// Création d'une "fausse" scène juste pour le calcul
// const fakeScene = new Scene();

// Evaluator qui calculera la différence entre les deux maillages
const csgEvaluator = new Evaluator();
// csgEvaluator.scene = scene;
csgEvaluator.attributes = ['position', 'normal', 'color'];

self.onmessage = function(event) {
    const { mesh1, mesh2 } = event.data;

    const geometry1 = convertJSONToBufferGeometry(mesh1);
    const geometry2 = convertJSONToBufferGeometry(mesh2);
    const scene = new THREE.Scene();

    const brush1 = new Brush(geometry1);
    const brush2 = new Brush(geometry2);

    // Ajouter les brosses à la "fausse" scène
    scene.add(brush1);
    scene.add(brush2);

    csgEvaluator.scene = scene;

    // Utilisation du même évaluateur pour effectuer l'intersection
    const resultObject = new Mesh(new BufferGeometry(), new MeshStandardMaterial({
        flatShading: false,
        polygonOffset: true,
        polygonOffsetUnits: 0.1,
        polygonOffsetFactor: 0.1,
        color: "#008000",
    }));

    const result = csgEvaluator.evaluate(brush1, brush2, INTERSECTION, resultObject);

    // Récupérez les données de géométrie du résultat et envoyez-les de nouveau au thread principal
    postMessage(result.geometry.toJSON());
};

I have the impression (after my tests) that I need to render my scene for the evaluator to work.

There's no need to render in order to perform a CSG evaluation. It can be performed without a scene, renderer, or anything. It is just important that the Brush matrixWorld matrices be updated before performing an operation.

So I always get a mesh with empty attributes (array(0)).

Without providing a working example it won't be possible to tell what might be happening here. Make sure you transfer the world matrices to the worker, as well, and that the operations are working without the WebWorker.


Update index.md

Added extra information about pointer arithmetic.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Added a very useful information about pointer arithmetic.


[FEAT] Add "pageCount" to the useTable hook

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
In cases where pageCount needs to be calculated, for example: when the custom pagination component is desired to be used. For a better DX the useTable hook can calculate this

We've released 3.18.0


Desktop browser - fix missing cart badge

Cart badge disappears when no items are added to the cart

Seems like all the browsers have this problem except Chromium on Ubuntu.

Just checked again from the latest pull from dev branch. It seems the problem might be somwhere else. The css is has not been uncss but the problem still exists.

if cart is empty there is no counter. This is working as designed.


config: add multibase custom hook

Summary by Sourcery
Add a custom hook useMultibase to initialize Multibase with an API key, identify users, and track interactions.
New Features:

Introduce a custom hook useMultibase for integrating Multibase analytics.

Summary by CodeRabbit

New Features

Introduced a new hook, useMultibase, for seamless integration with the Multibase API, enabling user identification and interaction tracking.
Enhanced session management by incorporating the identifyUser function for user identification.

Chores

Added a configuration property for the Multibase API key, enhancing flexibility and functionality.
Included error handling for missing API keys to ensure proper configuration before operations.

 [Bitlauncher] Development Support - Leandro, August 2024


PrismaClientKnownRequestError: Server has closed the connection. Supabase  postgres error- unexpected EOF on client connection with an open transaction

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
Not sure what's going on but I am using Supabase for just Postgres db with prisma and nextjs. The application is hosted on vercel.
For some reason I periodically get PrismaClientKnownRequestError: Server has closed the connection. error on my api routes.
In my supabase logs I see unexpected EOF on client connection with an open transaction. Never seen either of these errors before so not sure what's going on.
This tends to only happen when I run prisma transactions. Doesn't happen with other reads/writes.  It happens about 20% of the time which is a lot. I can't figure out why it's happening. I even increased the connection timeout to 10 seconds.
I switch to a different db using pgbouncer and it doesn't happen at all. Or if I connect to Supabase db directly it doesn't happen.
This seems like it's only happening with the connection pool.
To test I am navigating between 2 screens that are fetching data from an api using prisma transaction. 20% of the time I will get this error.
Since Supabase has moved away from Pgbouncer to supavisor. Is there a different configuration we need when working with Prisma ? Particularly when running Prisma transactions.
Here is a simple code sample that triggers this error. In this example, I am just checking if a authenticated user has been created in my db. If not I create the user and update the user in my auth provider (clerk).
This is a simple example but I have a few other transactions that have the same issue.
 await ctx.prisma.$transaction(async (tx) => {
      const user = await tx.userProfiles.upsert({
        where: {
          clerkId: ctx.user.authId,
        },
        create: {
          avatarUrl: ctx.user.avatarUrl,
          email: ctx.user.email,
          fullName: ctx.user.fullName,
          clerkId: ctx.user.authId,
          id: ctx.user.externalId || undefined,
        },
        update: {},
        select: {
          id: true,
          avatarUrl: true,
          email: true,
          fullName: true,
          clerkId: true,
        },
      });
      if (!ctx.user.externalId) {
        await clerk.users.updateUser(ctx.user.authId, {
          externalId: user.id,
        });
      }

      return user;
    });

Crazy thing is when I look at my logs, the function seems to run but disconnects right before returning the results to the front end
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create 2 api routes in nextjs running prisma transaction.
Send a request to these end points simultaneously a few times
Prisma throws an error PrismaClientKnownRequestError: Server has closed the connection.

Expected behavior
Screenshots
Here is a copy of my logs in supabase

Here is the log metadata
{
  "file": null,
  "host": "db-xxxxxxxxxxxxx",
  "metadata": [],
  "parsed": [
    {
      "application_name": "supavisor",
      "backend_type": "client backend",
      "command_tag": "idle in transaction",
      "connection_from": "<IP_ADDRESS>:37068",
      "context": null,
      "database_name": "postgres",
      "detail": null,
      "error_severity": "LOG",
      "hint": null,
      "internal_query": null,
      "internal_query_pos": null,
      "leader_pid": null,
      "location": null,
      "process_id": 63803,
      "query": null,
      "query_id": 0,
      "query_pos": null,
      "session_id": "65313f29.f93b",
      "session_line_num": 4,
      "session_start_time": "2023-10-19 14:37:29 UTC",
      "sql_state_code": "08006",
      "timestamp": "2023-10-19 14:40:20.121 UTC",
      "transaction_id": 0,
      "user_name": "postgres",
      "virtual_transaction_id": "20/265"
    }
  ],
  "parsed_from": null,
  "project": null,
  "source_type": null
}

In sentry here is what I see when I log the end of the function.

I have the exact same issues, same errors.  Randomly occurring, but quite frequent.  Certainly not able to deploy in current state.  This might be a connection count limit issue, but I am not confident on the configuration of that based on the information at hand.  Let me know if you need more information.

Thanks for the detail here. We will work on this.

Fix is here. Should be on prod soon.

@chasers  I see this was merged but just tested and the issue still persist

Yeah sorry will confirm when it's on prod.

@akinwol hey, could you try it again? We rolled out a fix on prod

@abc3 seems to be fixed. So far I haven't faced the issue. Thanks for the quick fix.

I have also this issue.
I have tried lots of method but no progress.
Can you give me the solution?

 I have also this issue. I have tried lots of method but no progress. Can you give me the solution?

You may want to take a look at this, it solved for me: https://supabase.com/partners/integrations/prisma


Metadata error when trying to run setup

Hey!
I wanted to try out this project but ran into this error multiple times when trying to run setup.js
Log:
PS Path\piproxy-1.0.0> node setup.js
Starting Setup
piproxy server v0.0.5
Platform=win32 Arch=x64 Node=v14.15.0
Project dependencies
 production: 10
 development: 10
 optional: 0
NPM install production modules completed in 9.463ms
NPM install development modules completed in 36.161ms
NPM install optional modules completed in 4.773ms
NCU force upgrade modules
NPM update modules completed in 21.876ms
NPM deduplicate modules completed in 3.575ms
NPM prune unused modules completed in 4.419ms
NPM audit modules completed in 2.104ms
Deleting module samples completed in 11ms
NPM outdated check completed in 6.031ms
NPM indirect outdated modules: 81
NPM list full completed in 2.460ms
Path\piproxy-1.0.0\node_modules\npm-check-updates\lib\npm-check-updates.js:353
  throw err
  ^

TypeError: Cannot read property 'metadata' of undefined
    at main (Path\piproxy-1.0.0\setup.js:104:32)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

...which will the result in an error when trying to start with npm start: Error: Cannot find module '../cert/secrets.json'
OS: Win10 2004 (haven't tried on my Linux machine yet)

this shows you're using piproxy version 0.0.5? if so, that is a very old version and this issue has been fixed.
latest version is 1.1.4.
$ node setup.js
Starting Setup
@vladmandic/piproxy server v1.1.4
Platform=linux Arch=x64 Node=v15.0.1
Project dependencies
 production: 9
 development: 8
 optional: 0
NPM install production modules completed in 4,783ms
NPM install development modules completed in 4,982ms
NPM install optional modules completed in 4,544ms
Skipping NCU force upgrade modules
NPM update modules completed in 11,898ms
NPM deduplicate modules completed in 3,194ms
NPM prune unused modules completed in 3,846ms
NPM audit modules completed in 4,113ms
Deleting module samples completed in 42ms
NPM outdated check completed in 4,690ms
NPM indirect outdated modules: 40
NPM list full completed in 2,346ms
Total dependencies: production=84 development=443 optional=2
Results written to setup.json

Hm well seems that that is the case.
I downloaded it by clicking on "or download and unpack from https://github.com/vladmandic/piproxy/releases/" in the README so I didn't realise it might be an old version.
But I see you published a new release just now and the setup seems to be working fine now.

i saw that when you reported the issue - i rarely update releases for my projects as majority of usage comes from git itself (git clone or git fork).
closing as resolved.


Update dependency Microsoft.Testing.Platform.MSBuild to 1.4.2

This PR contains the following updates:

Package
Type
Update
Change

Microsoft.Testing.Platform.MSBuild
nuget
patch
1.4.1 -> 1.4.2

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Missing lambda function policies with API gateway integration

After deploying and trying to test the endpoint directly with cURL, I'm getting 500 Internal Server Errors. When testing it from the console I see the specific error seems to be "Execution failed due to configuration error: Invalid permissions on Lambda function".  It seems that the Lambda function doesn't have the policy added to allow API gateway to invoke it? Am I missing a step or shouldn't that already be configured?

This definitely sounds like a bug. The permissions should be setup properly by shep. Is this on a freshly deployed API? I can try and debug this today.


built-in auth = fragile ingestion?

@nopzor1200 brought up a good point: having tsdb-gw rely on external services (besides kafka) makes it fragile in the ingestion path.
AFAIK the only external service is grafana.net (correct me if i'm wrong) and we cache authentication for 5min. but still, if gnet goes down for >5min it means we can't authenticate and ingestion breaks.
an alternative design is put as little between user and kafka as possible (basically take auth of tsdb-gw ingest path), and have something else consume from kafka, do auth, set org-id, publish new data into kafka in a different topic.
or.. maybe support indefinite caching in case gnet goes down. if gnet is down people can't create new api keys anyway, so the indefinitely-cached auth data will be stale but it'll still be up to date.
but we shouldn't use the indefinite cached data in the case gnet is up of course, in case keys get revoked etc.

I'd agree that infinite lifetime cache in the case of a grafana.net timeout is the simplest solution.  You might want to also have a flag that's set when a timeout occurs so that it can serve directly from cache for the next X seconds after a timeout rather than having to time out on every request that hits an "expired" cache key.

fixed in https://github.com/raintank/raintank-apps/commit/8738d0e2a359ac01676b1b80ab3303e3aac9ee9a


anchor-spl 0.25.0 breaks when combined with solana-program-test 1.10.38

The following anchor configuration (Cargo.toml) breaks when running anchor build:
[dependencies]
anchor-lang = "0.25.0"
anchor-spl = "0.25.0"

[dev-dependencies]
solana-program-test = "=1.10.38"

Throwing:
error: failed to select a version for `spl-associated-token-account`.
    ... required by package `anchor-spl v0.25.0`
    ... which satisfies dependency `anchor-spl = "^0.25.0"` of package `cubist_games v0.1.0 (/Users/anderustarroz/Sites/work/rust/cubist_games/programs/sol_games)`
versions that meet the requirements `~1.0.3` are: 1.0.5, 1.0.3

all possible versions conflict with previously selected packages.

  previously selected package `spl-associated-token-account v1.1.1`
    ... which satisfies dependency `spl-associated-token-account = "=1.1.1"` of package `solana-transaction-status v1.10.38`
    ... which satisfies dependency `solana-transaction-status = "=1.10.38"` of package `solana-client v1.10.38`
    ... which satisfies dependency `solana-client = "=1.10.38"` of package `solana-banks-server v1.10.38`
    ... which satisfies dependency `solana-banks-server = "=1.10.38"` of package `solana-program-test v1.10.38`
    ... which satisfies dependency `solana-program-test = "=1.10.38"` of package `cubist_games v0.1.0 (/Users/anderustarroz/Sites/work/rust/cubist_games/programs/sol_games)`

failed to select a version for `spl-associated-token-account` which could resolve this conflict

This was likely fixed with the version updates we added.


Fix az role assignment create parameters

According to the documentation the parameter is scope and not scopes

@danielmarbach : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@cephalin
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Improve analytics data structure

Description
This PR introduces changes to our analytics module so that all data passes through the same logic, ensuring that we can easily work with the data thanks to the common structure. Additionally, the new implementation provides (inside the _Anonymizer class) an extensive overview of all the events that we support.
Structure always in the following format:
        {
            "event_properties": ...  # anonymized event properties
            "derived_properties": ...  # derived from removed properties
            "app_properties": ...  # Orchest application properties
        }

How to test

./orchest start --log-level=DEBUG
Trigger some events
Check the docker logs orchest-webserver and note entries such as Successfully sent analytics event 'session start'.

In addition I checked the PostHog data to make sure entries are created.

using an enum to formalize what events are supported

I think this is great feedback. The top-level send_event function would become something like:
analytics.send_event(
  app,
  analytics.EventName.JOB_CREATE,
 {},
)

Did I understand that correctly?

Did I understand that correctly?

Yes
About the exact pattern (analytics.EventName.JOB_CREATE), I have seen different flavours:

analytics.JOB_CREATE
analytics.Event.JOB_CREATE
analytics.EventName.JOB_CREATE

I don't feel strongly about anything in particular, just enumerating.

The pre-commit flake hook fails with reason:

F401 'os' imported but unused

But this is untrue seen that os is used here.

lgtm


Create cheat.bat

for launching cheat on windows
see https://github.com/cheat/cheat/pull/361

looks like aaron updated his original commit, nevermind.

I see that. Thanks, regardless.


Let FileExists and FileExistsAsync cater for 550 - SIZE is not allowed in ASCII

Let the methods FileExists- and FileExistsAsync-Methods cater for the Error 550 - "SIZE is not allowed in ASCII" by switching the DataType to Binary.
This could be a potential fix for #328.

Sorry to reject this but I applied a variation of your fix.


debug output not captured by services like LogRocket

I was under the impression that debug (browser side) uses console.debug to dump logs, but strangely, LogRocket doesn't record these. I did a test just using console.debug() directly and I see those in LogRocket.
Is debug doing something special/different here?

Nope. https://github.com/debug-js/debug/blob/master/src/browser.js#L181-L189

Thanks!

Update: It's because LogRocket captures console.debug after debug has already stored its own reference to it. So I just have to import debug after LogRocket is initialized.


Able to vote with 0 power

Overview

Create a token voting DAO
Without delegating your power, create a proposal (voting options do not appear because you have no power)
Delegate to yourself, voting options now appear because you currently have voting power
Vote on the proposal, which works, but votes appears in history as 0 (this is correct)

Since you've delegated after the proposal was created, you should have 0 voting power on that proposal, however the UI is checking your current power to determine if you can vote.
The reverse of this issue is much more problematic, if a proposal is created and then a user transfers all their tokens, the front end will remove the ability to vote on a proposal for which they have power to vote.
Solution
To determine whether to display the voting options on a proposal details page:

For ERC20 We should be checking your historical voting power, i.e. the Votes snapshot.
For ERC721 We should be checking their current NFTs that haven't already been used to vote

Additional Info
No response
Version
Dev (app.dev.fractalframework.xyz/)

Reopening this issue because it wasn't actually fixed yet. #1305 was merged with this bug still knowingly not fixed.

I think this has finally been fixed, but still need to do some testing to confirm.


Added support for obtaining wsdl with BasicAuth. Append namespace for a custom type (nodes method & params). Rename func

 Added support for obtaining wsdl with BasicAuth.Append namespace for a custom type (nodes method & params). Rename func

Thanks for your PR.
Can you please fix the tests?


How do I know that the transaction I submitted by the asynchronous interface is completed?

I can't submit any transactions to bigchaindb, whether synchronous or asynchronous, when I deal with a large volume of transactions with the asynchronous interface . Bigchaindb will be wrong as follows(I guess it's because the tendermint load is too high).
Bigchaindb's error when the tendermint deals with the transaction
[2018-05-15 08:36:45] [CRITICAL] (gunicorn.error) WORKER TIMEOUT (pid:1484) (webapi     - pid: 20)

So I want to know if I can query the status of transaction processing through bigchaindb?

Hi @xuhuigithub, you can use the Stream API. We also have an acceptance test you can use as an example.

I'm sorry I forgot to attach my version.My version of bigchaindb is 2.0.0a5.
I first submitted 1000 requests with my script using the async interface, and I sent 1000 requests with the async interface again while tendermint handled the request, and then I got the following error.
Traceback (most recent call last):
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/usr/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/util/retry.py", line 357, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/usr/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/xuhui/tests/BigchiaindbTests/tests.py", line 45, in test_create
    create_assest(**create_kwargs)
  File "/home/xuhui/tests/BigchiaindbTests/__init__.py", line 32, in create_assest
    sent_creation_tx = bdb.transactions.send(fulfilled_creation_tx, mode=mode)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/bigchaindb_driver/driver.py", line 332, in send
    headers=headers)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/bigchaindb_driver/transport.py", line 58, in forward_request
    headers=headers,
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/bigchaindb_driver/connection.py", line 48, in request
    **kwargs
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/home/xuhui/DEV/tests/lib/python3.6/site-packages/requests/adapters.py", line 490, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

I submit an asynchronous transaction request in parallel.

The question in the original title of this issue, "How do I know that the transaction I submitted by the asynchronous interface is completed?" was answered by @vrde in his first comment, but there's another issue that was raised, so I'll change the title to reflect that issue. I'm not sure if it's still an issue in the latest release; we'll have to check.


to_text() returns emtpy text when the document doesn't have sections

I found that the to_text() reads sections:
    def to_text(self):
        """
        Returns text of a document by iterating through all the sections '\n'
        """
        text = ""
        for section in self.sections():
            text = text + section.to_text(include_children=True, recurse=True) + "\n"
        return text

and self.sections() reads child nodes of root_node with tag header:
    def sections(self):
        """
        Returns all the sections in the block. This is useful for getting all the sections in a document.
        """
        sections = []
        def chunk_collector(node):
            if node.tag in ['header']:
                sections.append(node)
        self.iter_children(self, 0, chunk_collector)
        return sections

When the response from nlm-ingestor server doesn't contain sections, the function will return emtpy string. Should it get text from all children of root_node?

I'd also like to add that calling Document.to_text() outputs duplicated text as it's being called on each section and sections can be children of other sections.
In this example, self.sections()[0] (block_idx=1) is the parent of  self.sections()[1] (block_idx=2), so obviously calling to_text() on both will result in duplicated text.

I think it would make more sense to have to_text() implemented on the Document.root_node.


Ticket #30780 -- Increase FAQ getting help visibility

This PR is linked to https://github.com/django/djangoproject.com/pull/969 and should be merged last because it contains references to a button added by the PR on djangoproject.com
Trac ticket : https://code.djangoproject.com/ticket/30780

@Crocmagnon Thanks for this patch 👍 Please move also First steps section above the How the documentation is organized (see point 1.1).

Yep, I missed that! I’ll push some edits shortly.

@Crocmagnon Thanks :+1: I pushed minor edits.
Welcome aboard :boat:


Rc/Arc needs a better name than clone

Seeing clone all over the codebases makes me cringe with no way to know if it's an expensive one or if it's just a reference increment. One has to dig back all the way to type to understand what it actually means.
Would it not make more sense to have a method like ref or similar that can be used instead of clone ? So, that's its explicit and clear. The ref method could just as well call clone internally. Or perhaps, new_ref. Or a name that makes more sense. Just not clone, (though that has become accepted today in the ecosystem) but the actual  semantics are rather different.
Edit: Make it clear that I'm not suggesting that clone be renamed - That's neither my intent nor a solution to the issue. Just looking for potential way to mitigate this.

Clone is a trait method, not an inherent method on Rc/Arc, so you can't rename it on Rc/Arc without also renaming it on every other type. It doesn't makes sense to have separate traits because then you can't abstract over anything that can be cloned. Clone as it stands is already a "shallow clone", as much as it can be.

I believe the solution to this issue is Arc::clone(&from).
From the standard library documentation:

The Arc::clone(&from) syntax is the most idiomatic because it conveys more explicitly the meaning of the code. In the example above, this syntax makes it easier to see that this code is creating a new reference rather than copying the whole content of foo.

See https://doc.rust-lang.org/std/sync/struct.Arc.html#cloning-references
Would converting all uses of item.clone() to Arc::clone(&item) help?
Note this can be done incrementally if the codebase is too large for a one off replace task as the two calls have the same effect and only different "appearance".

Or perhaps a marker type, that's compiler simply forwards to Clone even. I think it can solved in a nice way if it's acknowledged by the community as a problem.
I never suggested renaming something as the solution. Just would like to discuss potential possibilities to mitigate this problem on a large scale.

I strongly support the idea of a new trait. Clone screams at me expensive. Copy is "free". But a ref increase with Rc is neither "free" nor expensive.
With just a Arc<T> you can (and are pushed to with clippy) use Arc::clone which is good but what about types that themselves contain Arc/Rcs?

Another possibility would be to allow foo.Arc::clone() or bar.Rc::clone() to make it clearer what's being cloned, using something like Idea: Paths in method names.

As an aside, I suspect Arc: Clone and Rc: Clone already provide the correct behavior almost anytime they're used without additional "real" interior mutability, ala Mutex, RefCell, etc.  Arc has no into_inner so this only make_mut or get_mut can run into problems in this case.  We're mostly discussing the usual case where Arc wraps "real" interior mutability here.

IMHO, Arc/Rc implementing Clone was a mostake. When looking at how Arc does equality, it's easy to see how it could've been done better, instead. Arc::ptr_eq is a thing. Consistency suggests Arc::ptr_clone would've been the obvious choice. Then, Arc::clone would refer to the interior type's clone method or end up as a compile error, if T doesn't implement Clone. Since Arc implements shared ownership, Arc::share could've been a fitting name, as well. Other names coming to my mind are Arc::duplicate or Arc::dup for short. Sadly, I think we're stuck with the status quo forever unless unimplementing traits for specified editions becomes possible.

@phlopsi the Arc/Rc Clone implementation is used by every single crate that use Arc/Rc: the type is useless without the Clone implementation.
It would become impossible to #[derive(Clone)] on types containing an Arc/Rc. The entire idea is a non-starter even if backwards compatibility were not a concern.

@phlopsi […]
It would become impossible to #[derive(Clone)] on types containing an Arc/Rc. […]

You can implement Clone manually. I'd even go as far and say, that not being able to derive Clone on a type containing Arc is an advantage, because only you can decide whether it's correct to clone the pointer or the interior value and make a new Arc. In my eyes, this prevents a logic bug caused by a combination of an ambiguous Clone implementation and laziness.

Regardless of the weight of that argument, it's a massive breaking change to Rust and so it won't be done for that reason alone.

I'm confident Rc/Arc: Clone being shallow represents the correct decision.  As a fun example, closures auto derive Clone, making Arc/Rc usable in Clone + Fn*, an ergonomics benefit for closures.
Also Rc/Arcs internals should never be cloned except for mutation:  If T avoids interior mutability, then Arc<T>: Clone should always be shallow for performance.  If you want to mutate T directly, then you need let mut fresh: T = Arc::deref(foo).clone(); or maybe let mut fresh: T = MutexGuard::deref( foo.lock() ? ).clone() if using Arc<Mutex<T>>, not some mess with Arc::into_inner.
Afaik, we've no clear reason for a clone_inner convenience method on MutexGuard, but maybe some pedagogical reason exists, or maybe MutexGuard::deref( .. ).clone() should appear in some example code somewhere.
As an aside, I do still think Rust would benefit from lints against some borderline impls, but for HashMap: Clone and some user traits, not for Rc/Arc.  That's a clippy topic however.


Update doctrine collection dependency

Questions
Answers

Description?
Update doctrine collection dependency

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
-

Sponsor company
-

How to test?
Classic tests with UI and CLI

No QA needed for this PR at this time, merging.


Unable to run the AppImage.

Hi I just downloaded the version <IP_ADDRESS>39, it seems that I'm unable to run the AppImage. The older version works fine before this, but not this version. No output were written on the terminal too.

Which distribution and version are you on?
What happens if you run ~/Downloads/Zoom-<IP_ADDRESS>39.glibc2.17-x86_64.AppImage --appimage-extract-and-run --no-sandbox?
If that works, try with just one of the two arguments to see whether you need both or just one of them.
Then please let us know the result here.
Thanks!

I'm using Gentoo. Just found the issue, ran it as root and it says missing some MIT Kerberos libraries (libgssapi_krb5.so.2), issue solved after I installed the package mit-krb5. Is this something new to the latest version of Zoom? The library wasn't in my system and the previous year version of Zoom AppImage ran just fine. Shouldn't the library also be included in the AppImage?

I don't know what Zoom has changed from one release to the next, but it might be possible that they have introduced a new dependency.
You are right, libgssapi_krb5 should be bundled in the AppImage if the application requires it. I am not sure why that doesn't happen.

PLEASE NOTE: In general, you should download AppImages only from the original authors of the software (here: https://zoom.us/), but since they are not yet providing one I am offering this here. Please contact them if you would like to see an official one.

So the issue solved I think?

I have rebuilt the appimage along with the packages needed if you want it.


Login UX and User Preferences

Different users/use cases:

First Time Login
Admin of only local Cluster
Admin of Multiple Clusters
User of Single Downstream Cluster (No access to local cluster)
User of Multiple Downstream Clusters
User of no clusters

UX Flow:

If you have access to 0 or multiple clusters, it'll go to the cluster list view.
If you have access to only 1 cluster, it'll go to the individual cluster dashboard

User Preferences
Default is "Automatic"

Ability to select Automatic, cluster list view, last used cluster, a specific cluster

What's New Page

Add What's new page for release notes, etc.

There is a newer ticket that replaces this.

Tracked by rancher/dashboard#2800

We could close this as a duplicate, unless there's something here that isn't noted in the new tracked item. @nwmac are we covered?

Yes, I think so - lets close this @gaktive


Sometimes removing items from chest calls/posts ClickInventoryEvent but has 0 transactions

We cancel removal of items from containers for people without access, but for some reason if they keep shift clicking fast enough sometimes ClickInventoryEvent is called/posted but has zero transactions so we cannot cancel the movement of that item and they can take from someone else's container.
You can see how we tested this with the log statements in our ClickInventoryEvent listener. When it was working properly nothing was logged but when the problem arose "no transaction" was logged so we couldn't cancel the event.

@Meronat Do you know if this is still relevant?

@ryantheleach I investigated this with Aaron at one point, and he may have made a fix, I don't remember. I will look for a relevant commit and test it as soon as I'm on a computer.


Double notification and wrong screenshot

I have the problem that I get 2x a push notification, once with the analyzed text from OpenAI and the second only with the name of my camera. In addition, I still have the problem when I use the screenshot mode, the correct screenshot is displayed at the first notification. As soon as a new notification comes I always see the first screenshot but with the correct text from OpenAI. I hope you understand what I mean?

Sometimes I also get screenshots from the previous day.

The second notification is actually suposed to be 'delivered' silently and should replace the first notification. You should not actually see two different notification. Are you on Android? I have only tested this on iOS so far.
Regarding the snapshots, I guess this could be because your phone will cache images. Since they have the same name they might not be refreshed. I am not sure about that though and will look into it.

I use iOS. However, if I am looking at the notification on the lock screen in the notification center, the notification is no longer visible only with the name of the camera.

I can't look at the gif. But it's so that I always have the 1st first. Get notification only with the name of the bell and then a 2nd with the text of Open AI. The 1st Notifications will then no longer be visible.

I see. This is because the notification is updated with the AI summary once it is available. What would you like the title to be? I am working on a new title system at the moment and would appreciate your feedback. It will add the camera that detected the event to the title, instead of the notification itself. So the title would be e.g. "Person seen near Front Door" or "Car seen near Garage".

Personally, "motion detected" would actually suffice for me :)
Do you already have a solution that old pictures are displayed? Even if I delete the images from the folder with the editor, it unfortunately does not work.


Add serialisation options

To minimise the payload, allow expanding serialised json before processing.
Such as avro, protobuf, hpack, gzip

Also serialize the response

The deserializer and serializer are customizable through parameters.

Hi, could you, please, provide an example of gzipping server's answer to client?


Ui Lag (thread blocking?) if run with 'Start Debugging', check internet need 10 seconds to run in 2.5.1 + Flutter 3.24.0

Hello!
I updated to flutter 3.24.0 and tried to run in debug, and I noticed that is impossible to use the app in debug mode, once I check for internet conection the app freeze until it complete the check.

I have this code running inside a Isolate
Future<bool> hasInternetConnection() async {
    print('Iniciando verificação');
    Stopwatch stopwatch = Stopwatch()..start();
    bool result = await InternetConnection().hasInternetAccess;
    print('doSomething() executed in ${stopwatch.elapsed}');
    print('Verificação concluida: ${result}');
    return result;
  }

If I run the app with "Run Without Debugging" (there is no lag in UI) the output is
I/flutter (19273): Iniciando verificação
I/flutter (19273): doSomething() executed in 0:00:00.700884
I/flutter (19273): Verificação concluida: true
If I run the app with "Start Debugging" there is a lot of UI lag (freezing) and the output is
I/flutter (23919): Iniciando verificação
I/flutter (23919): doSomething() executed in 0:00:10.162930
I/flutter (23919): Verificação concluida: true

It doesnt happens if I try to downgrade to flutter 3.22.3, it works very well without any lag or freezing.
Its happening only with me? What is going on?

Well its weird, minutes later the problem didnt happens anymore, I really dont know why.
I noticed a error in console talking something about pageSize couldnt allocate something (sorry I lost the error message once I restarted the app)
I'm thinking now its something related to the flutter version 3.24.0 but I dont have sufficient information about it...
I will continue to check if it will happens again, and if I can reproduce the issue again I get in touch.
Did it happened with someone else?

Did it happened with someone else?

Something similar is mentioned in #54, but the person reporting the problem was using a really old version of the package. So cannot say for sure what's happening.

Something similar is mentioned in #54, but the person reporting the problem was using a really old version of the package. So cannot say for sure what's happening.

Thank you. I dont think its a problem with this package, maybe its with flutter and specifc devices(mine is Redmi Note 10S), or something else.
If it doesnt happens again in 1 week, I will close the issue because I cant reproduce it anymore.


Episode Filtering not working

EDIT: There is no issue, I just needed to enclose the url and filtering in quotes.  Then it works correctly.  Sorry for the bother!
I can't seem to get episode filtering to work.  I archived a season of a show, but it was interrupted halfway through at episode 15 with an error ":: a unexpected error occurred: Unpad Error"
So I went to resume the archive at episode 15 according to the readme using episode filtering but get the error:
zsh: no matches found:
Am I doing something wrong or is episode filtering broken?
Client (please complete the following information):

OS: macOS Ventura 13.3
Version: crunchy-cli 3.0.0-dev.8 (17233f2 2023-01-10)

There is no issue, I just needed to enclose the url and filtering in quotes. Then it works correctly. Sorry for the bother!


Testability: ListView load indicator

As test automator, I need a load indicator on the ListView, so that automated tests can reliably detect full data load into ListView.

Added marker attribute "data-loaded"=true | false to #listViewTable.


Fix bug where fields preceding ExpandableAttribute were not modifiable (#294)

Please refer to #294 for my investigation notes and uncertainties around intent of removed line.
Closes #294

Great, I will test it and merge it in the weekend :)

The thing I was most confused by was that this line wasn't added in the commit that introduced the bug. So it's a bit of programming by permutation.  I honestly completely forgot to merge it. I started tutoring students, apart from my job, and I barely have any free time. I will try to do my best and merge it as soon as possible. It should be a quick merge anyway :)

Merged in v2 7cddf69bca9d09eb8205498ebaf6bdc50f7641fd

Thanks mate!

I thank you. And, yeah sorry for keeping you waiting, thanks for the patience


Does an array of ranges that is the same for every beam properly capture projecting time based data?

https://github.com/apl-ocean-engineering/hydrographic_msgs/blob/e646f0672a1a225ad32555ab87cfad945ff82365/acoustic_msgs/msg/ProjectedSonarImage.msg#L24
Appologies if this has been discussed and I missed it, or if I'm mistaken about how to use this field, but
it seems to me that if this represents one set of ranges that are meant to be applied to each beam, then I'm not sure what we are gaining by its use.
Assuming a constant sound speed, then such an array can represent the ranges properly. Of course, ranges are easily calculated in such cases so the use of this array seems a bit wasteful space wise to me.
From my experience with down looking seafloor mapping sonars mounted on surface vehicles, the use of sound speed profiles to account for non uniform sound speed would not be well represented with this array. A sound speed profiles usually assumes sound speeds are constant horizontally at a given depth, but vary vertically with depth.
In such a scenario, each beam would need it's own range array (well, maybe beams with symetric angles could share a range array, burt I digress...) so the ranges data would become a similar size as the actual retruns data! This is due to beams at different angles reaching a given depth at different sample numbers. Also, accounting for differeing ranges only partially corrects for the geometric distortions as refraction isn't taken into account.
I seem to recall having touched on this issue in a discussion. Did we come to a conclusion where the inclusion of a ranges array still made sense? I do recall that a future improvement would be a companion message that fully describes the proper ray tracing of the beams.

I vaguely recall discussing this over the phone too.   I believe it was so range bins didn't need to be equal size.   I'm not sure if that was a good assumption or not.   But I agree,  the assumption that all beams would have the same non-uniform range bins is probably not great.
This message was mostly driven by @lauralindzey 's oculus work. I will differ to her comments for now.


Insert file content into requisition values

It should be possible replace requisition's placeholders with file contents.
Something like:
{   requisition: {      key: 'a',      value: '<<file://~/dev/lopidio/file.txt>>'   } }
And the file (~/dev/lopidio/file.txt) looking like this:
b
The final requisition would look like this:
{   requisition: {      key: 'a',      value: 'b   } }

Enable autoparsing file content as object?
Like this annotations:
<<file://path/to/file>> to get the file content
<<json://path/to/file>> to auto parse it as a json
<<yaml://path/to/file>> to auto parse it as a yaml object
<<csv://path/to/file>> to auto parse it as an array


1.18.2

The released version already works just fine in 1.18.2, so there's no need to update the gradle settings.


feat(backend): use endpoint for tweetdeck to fetch tweets (WIP)

Use guest_token + bearer_token to fetch tweet list.

Known issues

This endpoint sometimes return empty or very few(later than July 2023) tweets.
The maximum number of tweets returned by this endpoint is 100.
~The guest token is valid for half an hour.~

Other

Select model by query like #29.

thx for your contribution~
the following issues is not a required feature
This endpoint sometimes return empty or very few(later than July 2023) tweets.
The maximum number of tweets returned by this endpoint is 100.

you can ask me to review once you think this PR is ready!

remember to remove the token before merging

remove the token before merging

The token comes from TweetDeck, this is not a secret.
If necessary, I can modify it to obtain this value through environment variables.

@lyleshaw the PR is ready，please review it.


hadoop: auto publish to maven center repo

need to added secret:
OSSRH_USERNAME
OSSRH_TOKEN
MAVEN_GPG_PRIVATE_KEY
MAVEN_GPG_PASSPHRASE

Codecov Report

Merging #2318 (55a6832) into main (5884532) will increase coverage by 0.07%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main    #2318      +/-   ##
==========================================
+ Coverage   61.54%   61.61%   +0.07%
==========================================
  Files         137      137
  Lines       25390    25387       -3
==========================================
+ Hits        15626    15642      +16
+ Misses       7929     7914      -15
+ Partials     1835     1831       -4

Impacted Files
Coverage Δ

cmd/format.go
60.00% <20.00%> (+0.82%)
:arrow_up:

pkg/fs/fs.go
77.46% <0.00%> (-0.77%)
:arrow_down:

pkg/meta/tkv.go
76.00% <0.00%> (-0.11%)
:arrow_down:

pkg/meta/sql.go
65.67% <0.00%> (-0.10%)
:arrow_down:

pkg/meta/redis.go
71.57% <0.00%> (+0.04%)
:arrow_up:

pkg/chunk/disk_cache.go
81.63% <0.00%> (+0.88%)
:arrow_up:

pkg/vfs/writer.go
79.66% <0.00%> (+1.01%)
:arrow_up:

pkg/vfs/reader.go
80.29% <0.00%> (+3.10%)
:arrow_up:

Continue to review full report at Codecov.

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


Uncorrect command help

A configuration have been found. Here is what you can do:
- activate the emitter at system startup : 'linux-ir-emitter boot enable'
- manually activate the emitter for one session : 'linux-ir-emitter run'

These commands don't work and should be:
linux-enable-ir-emitter boot enable
linux-enable-ir-emitter boot run

Thank you! It will be fixed in my next commit.


Fixed a typo in 'Building with Swift Package Manager' section

verison -> version

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Thanks!


Discord Dark Koi - Discord Source - [Issue Report]

Hello there, i already sent a ticket telling you that i didn't work. Well, i didn't tell you well what i meant...what i meant, is that i can't download your theme, because when i click on the dl button, it leads me to 'Code>Release>Import>Theme' section, and even with the 'For normies' post, the link below leads me to nothing, it downloads me nothing, can i get any help kind sir ?

the tutorial i wrote worked.
press the link instead of going through the folders.


match: documentation request: where does the repo get GIT_AUTHOR_EMAIL from?

New Issue Checklist

[√] Updated fastlane to the latest version
[√] I have read the Contribution Guidelines

Issue Description
Me and my other team developer are looking at our match repo on github.com, and seeing that my GitHub user is set as the committing author for all commits in the repo, even for match commands run on our other developer's machine:
commit cd60a948fc2680a503a8cbd091f64edab880b3fb
Author: Christopher Bowns<EMAIL_ADDRESS>Date:   Mon Mar 14 12:48:44 2016 -0700
…

Complete output when running fastlane, including the stack trace and command used
N/A
Configuration Files
N/A
Environment
fastlane version (fastlane -v): fastlane 1.66.0
Do you use bundler, rbenv or rvm?
chruby and bundler.

What is shown when your colleague runs git config user.email?

@cbowns Any updates on this?

They get their expected user, when run in the repo which contains our project which uses match.
$ git config user.email
<EMAIL_ADDRESS>

This appears to be fixed, or my original bug wasn't actually a thing.
An FYI, though: y'all's tagging/response tracking is broken. I replied back on March 17th, but no one from the org came back with anything.


Spoilers?

Does discordgo have support for spoiler text and images?
And does Discord support spoiler images in embed messages? If so, does discordgo support it as well?

sorry, didn't know this was a discord server side thing.


Confusion about the split of test set(minival 5000)

I found that you give a split of minival set which is not consistent with the original split of official set.Why do u do like this,thank u .

We followed the data set configuration of TFA (Frustratingly Simple Few-Shot Object Detection). And we do not create a new split of minival set ourselves.


Why a sync api?

Why not drop the sync api completely? No compromise on speed for an api that should not exist in the first place.
Also, good work! ill be testing some of your other projects, they all seem really cool.

Basically sync is faster than asynchronous because has no overhead of Task, etc.
The advantage of asynchrony is scalability.
The worst is that sync is a wrapper of async.
If existing application is builded sync, requires sync specialized code.
Or batch etc, single(or parallel(Parallel.For, etc)) code sync has advantage.
For example, Booksleeve(previous version of StackExchange.Redis) has only async
but StackExchange.Redis has both sync and async.
Sorry for delayed develop.
I'm focusing MySQL's text protocol parsing and prototype for that, I've built Utf8Json.
https://github.com/neuecc/Utf8Json/#text-protocol-foundation
There code will be improve for MySqlSharp.

Faster in what context? if u can block threads for IO, you are not in need for a super fast driver anyway.
If you are serving a few hundred queries per second, sync IO is already a problem, and if not, why would you need something faster if you are not serving any meaningful amount of requests? I am only making a case to drop the sync api because it increases the amount of code by a lot, and we should not encourage the use of the sync apis anyway.

Async solves everything, is not.
It has been known since the release of C# 5.0.
If I/O is a everything of bottleneck, fast serializers and others will be unnecessary.
And it was said so far.
But the reality is not so.

I just think that there is no scenario that doing sync IO for a database is a good thing, and it complicates the code base quite a bit. Feel free to close the issue.