Support for multiple text cursors

Based on the current version of the protocol, I got the idea, that it's basically impossible to transfer information about multiple text cursors.
Are there any plans for supporting multiple text cursors?

Could you outline a use case? Even if there were multiple clients working on the same server (which will need some additional synching) a single request would always only need one pointer into the text, no.

A simplest use case - one source code file (e.g. HTML) with just 10000 lines and you'd like to leverage the multiple-caret paradigm of editing (see
Kakoune, Sublime Text 2, Lime-text, Text-mate, Atom, Ultra-edit, Notepad++, PHPstorm, VisualStudio with MultiEditing plugin, etc.).
For both performance, convenience and user-friendliness reasons one doesn't want to send 10000 separate requests to edit each line of the source code.
Of course, there are multi-caret implementations which are constrained and allow placing caret only at one place and all the other places have to mimic this first placement, but e.g. Sublime Text 2 as the biggest advertiser of this feature doesn't do so and carets are truly independent.

thx, got it. I thought it was about collaborative editing.

@dumblob what is supported today is to send one change requests which describes 10000 edits. Although that is still overhead it doesn't send 10000 requests.

I still don't get what's requested. Assuming the user has a hundred caret implemented, what kinds of operation have to care about it? Do you want to show all completions, all hovers, all code-lens simultaneously for all those carets?
Also, with the current API, you can also merge those multiple edits from multiple carets into a single one as @dbaeumer , sending all atomic changes, or just sending the whole changed document.
As far as I could see so far, the multi-caret (or "block selection" as it's called in Eclipse) paradigm is on the editor side, not on the content assist part. And the integration of the editor with the language server should take care of optimizing the requests according to the changes that actually happened (ie factorize a single change event for a multi-caret edition).

@mickaelistria take a look e.g. at some YouTube videos (or http://kakoune.org/ ) about multi caret operations (selections, search & replace - e.g. using regexes, complex alignment of code, context-based coloring in reaction to the span of selections, etc.). The worst thing is, that users of multiple carets use them in highly specific, nearly unimaginable, ways and rely on support for virtually any set of operations. First then the multi caret "paradigm" becomes so strong.
Also, 10000 changes in one request is still a huge overhead, so a higher-level description ("this is a multi caret operation with properties x, y, z") should be the way to go (based on the aforementioned diversity of operations, factorization won't help much).

Ok, however, I'm unsure about whether it's in the scope of the language server. The language server, as it is defined at the moment, is mostly about operations that are specific to a given language. The operations you mention (selection, regexes and so on) are plain text operations, which may be a bit out of the scope of the protocol.
I think if we want to go further on this topic, you'll have to list which operations of the current protocol could support multi-caret and what it would mean to invoke this operation on multiple carets or discontinued selections.
As the editor can assign different meaning for multi-caret (I imagine sure that Sublime and Kakoune have some divergence for example on some multi-caret operations, for example on how to handle a "move up" of multiple selected areas with different sizes), how can the language server know how the editor has implemented a multi-caret operation and what will be the resulting text?
IMO, things will work better if they remain separated: if it's plain text management, then it's the responsibility of the editor; if it's language-specific, then it comes from language server.

@mickaelistria I agree. This issue seems like something that should be completely agnostic to the language server.

I would like to keep the server agnostic to this. However we had a comparable discussion lately in the team as well what it means to request certain language features in the case of multiple cursor. We couldn't come up with a good answer so (e.g. show code completion for all cursors doesn't make much sense). So VS Code has currently the concept of a master cursor for which we request the operation. But I am open to expand the protocol to more than one cursor if we can do that for a specific use case to collect expierences with this (if someone wants to prototype this then he can always send n requests on the same document content with different positions in the document)

@mickaelistria @bruno-medeiros thank you for your comments - I agree with the idea of separation of "responsibility", but already now the separation in case of other features is not so clear. I'm convinced the generic (language agnostic) proposal "this is a multi caret operation with properties x, y, z" with a list of multi-caret operations and their clear definitions should be the way to go for a protocol specification (think of RFC).
@dbaeumer thanks for pushing this further. This is the main difference between architecturing a protocol and an application. Application should implement current needs and should not implement "eventually useful features" (because application is for a specific use case as you mentioned). But on the other hand, a protocol has to handle all possible cases gracefully (be it with supporting it or completely publickly rejecting it - think of the HTML specification extreme issues for about two decades before introduction of HTML5) and especially when there are already many existing applications supporting the feature. And it's getting yet more important when the protocol should allow unification of interaction of these applications/clients.
Based of this, I'm leaving this issue opened.

I will close this as out-of-scope since I don't see getting any traction for this soon.


Crash on startup

Steps to Reproduce

Update to version 2024.11.1075-dev
com.capyreader.app

Open Capy Reader

-> App immediately closes, sometimes with the "Capy Reader keeps stopping" dialog box
Can provide logs later if required.
Expected behavior
App opens
Screenshots or screen recording
No response
Device, Operating system, and app version
Pixel 8, CalyxOS 6.1.0 (Android 15), Cap Reader version 2024.11.1075-dev com.capyreader.app

Hey @perzarys - sorry you're running into this. I fixed an article crash bug in the latest version 2024.11.1077 that's available via the Github Release page. I think F-Droid and other sources may be stuck on prior versions until they catch up.
Can you try that version and let me know if you're still seeing the issue? If it doesn't solve your issue please send over your crash logs and I'll take a closer look.

Hi @jocmp, the version you suggested fixed the issue. Thanks! Will close this.


fix build of boringssl with newer compilers (gcc5)

getaddrinfo is a POSIX extension.
newer compilers (gcc5?) require additional cflags to use getaddrinfo and
friends.

FWIW, LGTM!

LGTM


Updated docs to reflect current Ubuntu package issues with gcc-arm

I ran into this issue when trying to get yotta running on Ubuntu 14.04 64bit. Under the section Cross-compiling from Linux in the yotta docs, the following command is given:
sudo apt-get install gcc-arm-none-eabi

If you run this command in Ubuntu 14.04, it installs an outdated version of the compiler. When building with yotta I ran into errors like this:
/path/to/file.h: fatal error: cstddef: No such file or directory
 #include <cstddef>
                   ^
compilation terminated.
...
make: *** [all] Error 2
error: command ['make'] failed

You have to use a different repository for Ubuntu 14.04 later, as detailed on this page from the GNU Tools for ARM Embedded Processors launchpad page.
This allowed yotta to build without errors. I've proposed a change to the docs for now until all the packages get squared away. Feel free to edit as you see fit, but this issue should probably be mentioned because this is a show-stopper for those who are not familiar with the toolchain.

Looks good, thanks for the patch!
I think this also fixes the problem that @winzin311 was having.

awesome find, thanks! Yes, that should fix it!


helloworld for beanshell

What the program do ?
print hello world
In what programming language it is written?
Beanshell

print hello world in bean shell


joe

Is your feature request related to a problem? Please describe.
I'm always frustrated when [ i forget who joe is ]
Describe the solution you'd like
i want sencha to remind me who joe is
Describe alternatives you've considered
i've considered.
Additional context
joe mama

Shit dev.

Literally 1984.


Is it possible to change the hooking method?

Apparently, VMThook is detected, would it be possible to change the hooking method or would it require me to do something such as recode the entire cheat? I am not too familiar with all of this.

Absolutely, see Hooks.h

Sorry to inconvenience you with this, but would you have any guide or resource that you would recommend on something such as which hooking methods are suitable for this or what hooking methods are available? I am new to this and would like to learn more

Absolutely, see Hooks.h

Sorry to inconvenience you with this, but would you have any guide or resource that you would recommend on something such as which hooking methods are suitable for this or what hooking methods are available? I am new to this and would like to learn more

Nevermind, I took a look around and it seems like the guides and videos from Guided Hacking seems to have a lot of information regarding this, will look into it and see how far I can go.


In modelefederation, remotes'propertyname can't use webpack alias

I try to use webpack-resolve-alias for modulefederation remotes. It's not work.
like: remotes:{ '@xxx/core102': 'xxxx_core@https://cdn.xxx.com/xxx-core.js' }
resolve: {
alias:{ '@xxx/core102': '@xxx/core' }
}
and in my code: import core from '@xxx/core/App';
build failed : Module not found

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.


Dockerfile,images: Update the OCP metering-ansible-operator Dockerfile to use the exec-entrypoint sub-command.

We use the ansible-operator as the base image for both of the origin and OCP metering-ansible-operator Dockerfiles. The ansible-operator's OCP build recently updated to use the 0.15.1 operator-sdk version which is problematic as the 'run ansible' sub-command is no longer valid, and instead need to use the 'exec-entrypoint ansible' sub-command.

/lgtm

/retest

/retest

/retest


Errors running make for peopleTracking

I am using ubuntu 16.04 and running make for People Tracking and I get below errors
[ 25%] Building CXX object CMakeFiles/PeopleTracking.dir/PeopleTracking.cpp.o
[ 50%] Building CXX object CMakeFiles/PeopleTracking.dir/Horus.cpp.o
[ 75%] Building CXX object CMakeFiles/PeopleTracking.dir/TOFApp.cpp.o
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp: In function ‘void frameCallback(Voxel::DepthCamera&, const Voxel::Frame&, Voxel::DepthCamera::FrameType)’:
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp:40:89: error: invalid conversion from ‘const Voxel::Frame*’ to ‘Voxel::Frame*’ [-fpermissive]
e *nf = dynamic_cast<const Voxel::Frame >(new Voxel::DepthFrame(f));
^
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp:45:98: error: invalid conversion from ‘const Voxel::Frame’ to ‘Voxel::Frame’ [-fpermissive]
ynamic_cast<const Voxel::Frame *>(new Voxel::XYZIPointCloudFrame(*f));
^
CMakeFiles/PeopleTracking.dir/build.make:110: recipe for target 'CMakeFiles/PeopleTracking.dir/TOFApp.cpp.o' failed
make[2]: *** [CMakeFiles/PeopleTracking.dir/TOFApp.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/PeopleTracking.dir/all' failed
make[1]: *** [CMakeFiles/PeopleTracking.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Did you first build and install voxelsdk?
-Larry
Sent from my iPhone

On Sep 30, 2016, at 2:39 AM, ashokbugude<EMAIL_ADDRESS>wrote:
I am using ubuntu 16.04 and running make for People Tracking and I get below errors
[ 25%] Building CXX object CMakeFiles/PeopleTracking.dir/PeopleTracking.cpp.o
In file included from /home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/Horus.h:18:0,
from /home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/PeopleTracking.cpp:1:
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.h:20:26: fatal error: CameraSystem.h: No such file or directory
compilation terminated.
CMakeFiles/PeopleTracking.dir/build.make:62: recipe for target 'CMakeFiles/PeopleTracking.dir/PeopleTracking.cpp.o' failed
make[2]: *** [CMakeFiles/PeopleTracking.dir/PeopleTracking.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/PeopleTracking.dir/all' failed
make[1]: *** [CMakeFiles/PeopleTracking.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes I have built and installed voxelsdk ;
libvoxelpcl.so is not installed ( needed for other apps like handTracking etc).Can I please know how do I get it installed
Below is the error I am getting when I run make command for people Tracking
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp:45:98: error: invalid conversion from ‘const Voxel::Frame’ to ‘Voxel::Frame’ [-fpermissive]
ynamic_cast(new Voxel::XYZIPointCloudFrame(f));

Make sure voxelsdk is installed in /usr/include not /usr/local.  If voxelsdk is correctly installed, building the demo project by
(1) make a ‘build’ directory and ‘cd’ to it.
(2) cmake ..
(3)  make
-Larry

On Sep 30, 2016, at 6:08 AM, ashokbugude<EMAIL_ADDRESS>wrote:
Yes I have built and installed voxelsdk ;
libvoxelpcl.so is not installed ( needed for other apps like handTracking etc).Can I please know how do I get it installed
Below is the error I am getting when I run make command for people Tracking
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp:45:98: error: invalid conversion from ‘const Voxel::Frame’ to ‘Voxel::Frame’ [-fpermissive]
ynamic_cast(new Voxel::XYZIPointCloudFrame(f));
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/3dtof/DemoApplications/issues/2#issuecomment-250718673, or mute the thread https://github.com/notifications/unsubscribe-auth/AGdpMexmqJxc1eliiF4fsBVw9qkutCvjks5qvO2fgaJpZM4KKz2j.

Hi,
I have modified the title form "CameraSystem.h: No such file or directory" to "Errors running make for peopleTracking"
The code is able to find voxelsdk and CameraSystem.h
The issue is related to code as described below
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp:45:98: error: invalid conversion from ‘const Voxel::Frame’ to ‘Voxel::Frame’ [-fpermissive]
ynamic_cast(new Voxel::XYZIPointCloudFrame(f));

Which version of voxelsdk?  The code compiled against voxelsdk 0.6.3
-Larry

On Sep 30, 2016, at 6:21 AM, ashokbugude<EMAIL_ADDRESS>wrote:
Hi,
I have modified the title form "CameraSystem.h: No such file or directory" to "Errors running make for peopleTracking"
The code is able to find voxelsdk and CameraSystem.h
The issue is related to code as described below
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp:45:98: error: invalid conversion from ‘const Voxel::Frame’ to ‘Voxel::Frame’ [-fpermissive]
ynamic_cast(new Voxel::XYZIPointCloudFrame(f));
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/3dtof/DemoApplications/issues/2#issuecomment-250720711, or mute the thread https://github.com/notifications/unsubscribe-auth/AGdpMa6C33TK3zED_Qbp2XgZIZZZF4WTks5qvPCegaJpZM4KKz2j.

Also it seems to be a ‘const’ issue.  If you need to remove const or typecast to const.
Or fix by making -fpermissive?
-Larry

On Sep 30, 2016, at 6:21 AM, ashokbugude<EMAIL_ADDRESS>wrote:
Hi,
I have modified the title form "CameraSystem.h: No such file or directory" to "Errors running make for peopleTracking"
The code is able to find voxelsdk and CameraSystem.h
The issue is related to code as described below
/home/zayyon/Downloads/DemoApplications-master/TinTin/people_tracking/TOFApp.cpp:45:98: error: invalid conversion from ‘const Voxel::Frame’ to ‘Voxel::Frame’ [-fpermissive]
ynamic_cast(new Voxel::XYZIPointCloudFrame(f));
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/3dtof/DemoApplications/issues/2#issuecomment-250720711, or mute the thread https://github.com/notifications/unsubscribe-auth/AGdpMa6C33TK3zED_Qbp2XgZIZZZF4WTks5qvPCegaJpZM4KKz2j.

I think i have voxel 0.6.3 , not sure how to check as i  have renamed voxel 0.6.3 to voxel in usr/include folder.
I shall make the code changes as suggested by you and try running again
While installing voxel , I have disabled swig 3.0  in ccmake as I face errors while installing with it as described in https://github.com/3dtof/voxelsdk/issues/89
Even with 0.6.4 I face the same issues as shown below
[ 32%] Built target voxel
[ 32%] Swig source
/home/zayyon/Downloads/voxelsdk-master/Voxel/SWIG/standard_container.i:120: Error: Macro '%std_nodefconst_type' redefined,
/usr/share/swig3.0/std/std_container.i:135: Error: previous definition of '%std_nodefconst_type'.
Voxel/SWIG/CMakeFiles/_Voxel.dir/build.make:61: recipe for target 'lib/python2.7/VoxelPYTHON_wrap.cxx' failed
make[2]: *** [lib/python2.7/VoxelPYTHON_wrap.cxx] Error 1
CMakeFiles/Makefile2:174: recipe for target 'Voxel/SWIG/CMakeFiles/_Voxel.dir/all' failed
make[1]: *** [Voxel/SWIG/CMakeFiles/_Voxel.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Could the issue of the invalid conversion from ‘const Voxel::Frame’ to ‘Voxel::Frame’ [-fpermissive]' be due to voxel not installed with swig 3.0 ?I think no
Could you please send me libvoxelpcl.so file as its not installed in my system. I need it to run other apps like handTracking as I get below errors
zayyon@zayyon-Lenovo-ideapad-300-15ISK:~/Downloads/DemoApplications-master/TinTin/hand_tracking/build$ sudo make
[sudo] password for zayyon:
Scanning dependencies of target main
[ 25%] Building CXX object CMakeFiles/main.dir/main.cpp.o
[ 50%] Building CXX object CMakeFiles/main.dir/Jive.cpp.o
[ 75%] Building CXX object CMakeFiles/main.dir/TOFApp.cpp.o
make[2]: *** No rule to make target '/usr/lib/libvoxelpcl.so', needed by 'main'.  Stop.
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/main.dir/all' failed
make[1]: *** [CMakeFiles/main.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Thanks

I am able to remove const keywords as described in error messages and was able to run make


ENH: Set up customized report specification

Codecov Report

Merging #34 into master will decrease coverage by 0.06%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
- Coverage   40.43%   40.37%   -0.07%
==========================================
  Files           9        9
  Lines         591      592       +1
  Branches       93       93
==========================================
  Hits          239      239
- Misses        351      352       +1
  Partials        1        1

Impacted Files
Coverage Δ

dmriprep/cli/run.py
28.91% <0%> (-0.11%)
:arrow_down:

Continue to review full report at Codecov.

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

Great work @josephmje on this one!. I'll merge as soon as we get a new release of niworkflows (that's the reason for the one test failing).

Great work @josephmje on this one!. I'll merge as soon as we get a new release of niworkflows (that's the reason for the one test failing).

I was just about to ask whether I should be concerned by the failed test. But looks like the anatomical workflows run now!

With the new version of niworkflows, it looks like BIDSDataGrabberOutputSpec has changed to _BIDSDataGrabberOutputSpec in dmriprep/interfaces/__init__.py

Okay, this seems to be working okay and the integration also works fine in fMRIPrep land - I'm going for it.


Cache floor layout calculations

Currently the wall layout is calculated each frame per tile. This can be calculated once per tile (after world creation) and only needs recalculating when itself or a neighbour changes. This can also be applied to the calculation of floor layers.

Done for floors too :)


Added goodjson support for DynamicDocument

Do you mind if I ask you to explain what this pull request is, what did you make changes on this pull request, and why this pull request needs to be merged?

Do you mind if I ask you to explain what this pull request is, what did you make changes on this pull request, and why this pull request needs to be merged?

The to_json() method was not working on DynamicDocument. It was only working for Document and EmbeddedDocument.
I have added the support for DynamicDocument and it is working fine.

Ok, thank you for the clarification, but how do you prove that it's working? As far as I review your code, there's no test-code for DynamicDocument.

Ok, thank you for the clarification, but how do you prove that it's working? As far as I review your code, there's no test-code for DynamicDocument.

Yes, I had not added test cases.
Can you urgently merge this pull request. We are deploying with your package.
I will raise another pull request with test code.

https://mongoengine-goodjson.readthedocs.io/en/latest/contribution.html#pull-request

Test code is mandatory. Your bug must be reproducible, and writing test code is showing the proof of the bug. Any pull requests that don’t have test code might be rejected.

Unfortunately, this PR is rejected because of the lack of the test.


Revision failed on provisioning, ContainerCrashing error

Please provide us with the following information:

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
Created a revision using an image from ACR. Provisioning of revision failed, ContainerAppSystemLogs_CL shows ContainerCrashing error.
Steps to reproduct

Created a new .NET Core API project in Visual Studio 2022 with Docker Support enabled (almost no changes to the default template code, only added 1 extra API that returns a string)
Published image to ACR from Visual Studio (release mode)
Created container app with hello world image
Deployed new revision using the deployed image in ACR, added environment variable ASPNETCORE_URLS=https://+:443;http://+:80
Provisioning failed

Expected behavior [What you expected to happen.]
The provisioning should be successful and application is running
Actual behavior [What actually happened.]
Provisioning failed with ContainerCrashing
Screenshots
Additional context
Issue happened in the Portal

I think the issue is ASPNETCORE_URLS. Because it includes https://+:443, HTTPS is enabled in the ASP.NET Core app. TLS is terminated at the ingress, the app container doesn't need HTTPS enabled. In ASP.NET Core, the app redirects HTTP requests on port 80 to HTTPS when an HTTPS URL is enabled. The solution is to remove the ASPNETCORE_URLS variable (it should already be set to http://+:80 by default in the ASP.NET Core base image).
@BigMorty Is there anything that can be added to the VS tooling to guard against this issue?

@anthonychu the first time I deployed it, I didn't see the env variable and it crashed as well. But your comment pointed me to the fix, I removed app.UseHttpsRedirection(); in Program.cs and it is provisioned now.

Is it not possible to delete inactive revision/ container?

Ok, apparently the issue is because of the Ingress target port was set to 443. Once I set it to 80, it works

Yes, this is a common error we see where the Ingress port on the app does not match the port your container is running on. We are discussing if we can detect this in advance.
Regarding deleting inactive revisions, no you cannot today. We are also looking into something in this area. Today you need to delete the app and redeploy a new one.


Toml library

Fix #21

Changing the toml library is not OK here. I am heavily dependent on the other toml library on my personal project and I don't want to switch to this one, also I don't like adding a new library just for loading config.
The best solution is to create another toml loader like this one in another folder. you can call it toml2 or go-toml just explain it in README.
Thank you.

You shouldn't have problem switching to this one: TOML 0.5.0 only add features and clarify things.
This shall replace the old library, fully.
But it's ok to me! I'll do what you say 🙂

Let me know @fzerorubigd what do you think!
Would you mind to tag a release when this pull request will be merged?
Thanks in advance.


do.part3.pdf argument

The do.part3.pdf argument that is part of part3 never changes from the default value (TRUE) if specified in g.shell.GGIR.
I needed to turn off the PDF as I was getting an error with files that have no valid days (might be another bug for a separate issue).
g.shell.GGIR(
  mode = 1:3,
  datadir=datadir,
  outputdir=outputdir,
  do.part3.pdf = FALSE # This does not work
)

Probably need to add the argument to the g.part3 call in g.shell.GGIR.r on L424
g.part3(metadatadir=metadatadir,f0=f0, acc.metric = acc.metric,
  f1=f1,anglethreshold=anglethreshold,timethreshold=timethreshold,
  ignorenonwear=ignorenonwear,overwrite=overwrite,desiredtz=desiredtz,
  constrain2range=constrain2range, do.parallel = do.parallel,
  myfun=myfun, maxNcores=maxNcores, do.part3.pdf = do.part3.pdf          # Add here
)

Thanks Tom, I am going to fix this in upcoming week.


Does pdfs.js use hint table in linearized pdfs? Very slow random page access.

Attach (recommended) or Link to PDF file here: https://assets.studyring.org/assets/books/baws/TN/Tamil_Volume10_opt.pdf
Configuration:
Web browser and its version: Chrome 95.0.4638.54 (Build officiel) (64 bits)
Operating system and its version: Mac OS 11.6
PDF.js version: latest from github
Is a browser extension: No
Steps to reproduce the problem:

A pdf downloaded from archive.org, used qpdf to linearize it.
I am using a private copy with viewer.html where autofetch and streaming is disabled
I am relying on byte-range reads to only read relevant portion of data to display a page
Random access page in pdf with over 500 pages

What is the expected behavior?
I expect pdfs.js to load pdf quickly, at least the first page, then I expect the pdf.js to be able to quickly jump to page 44, 99, 210 etc.  Each page may not be more than 200KB and my backend is AWS and it supports byte range reads
What went wrong?
When I see in developer tools I see pdf.js reading over 8 MB to display a page (things eventually get cached, but 8MB per random page read is not desirable)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
temporary page : https://assets.studyring.org/pdfjs/generic/web/viewer.html?file=https://assets.studyring.org/assets/books/baws/TN/Tamil_Volume10_opt.pdf
We need this badly as we wont be able to afford our AWS cost if users read 8MB for random access to a page (our scenario expects people to share links of different pages)

Does pdfs.js use hint table in linearized pdfs?

No, the Linearization-data is only used when fetching the first page and to determine the number of pages in the document.
More "advanced" features are not implemented, since the basic ones still improve performance a great deal for the "regular" PDF.js use-case (as the built-in PDF Viewer in Firefox). Please note that the Linearization-support that exists in the PDF.js library was simply implemented to allow PDF documents to start rendering immediately, since by default (e.g. in Firefox) the entire document is always fetched and subsequent page access thus won't be negatively affected in the general case.

[...] then I expect the pdf.js to be able to quickly jump to page 44, 99, 210 etc.

Part of the performance issue, in your particular document, isn't limited to just fetching the data of the page in question. It appears that your document uses JPEG2000-images everywhere and those are slower to decode than e.g. standard JPEG-images, hence part of the issue here might be that the rendering performance isn't that great (once the data has been fetched).

Looking briefly at the relevant part of the PDF specification (regarding the "Hint Tables"-functionality) and considering the main PDF.js use-case (i.e. Firefox), I'm not entirely convinced that the added code/complexity required to support "Hint Tables" is worth it unfortunately; all-in-all closing as WONTFIX.

Thank you, this explanation helped a lot.  I finally figured out that hinttable were not the main problem, the getPageDict function was running  in recursion too because the pdf had objects spread all over the places.  After coalescing the pdf the per page access works very nicely and also response is good too.


Dokku not creating repo on server?

Hi,
I am using Windows 7 with OpenSSH. I recently set up a ubuntu-dokku droplet on Digital Ocean and configured my SSH key. I can currently log in to either the dokku or root username on my droplet without a password using Putty, WinSCP, and ssh at the command line (OpenSSH).
However, I am having issues trying to push my repo onto dokku. I have my repo set up on my local machine (and it is sync'd up with my Github remote), and then ran the following:
git remote add host dokku@:LeagueSides.
git push host master
When I did that, I got the following error:
c:\Code\Projects\LeagueSides> git push host master
fatal: 'LeagueSides.' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I get the same error if I call:
ssh-agent bash -c 'ssh-add c:\users//.ssh/id_rsa; git push host master
I then tried the solution from http://stackoverflow.com/questions/25971580/how-to-set-the-root-application-directory/25971857#25971857 but created the repos within the dokku folder instead of root. Now I get this:
bash-3.1$ ssh-add id_rsa; git push dokku master
Identity added: id_rsa (id_rsa)
Counting objects: 16, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (16/16), 3.83 KiB | 0 bytes/s, done.
Total 16 (delta 1), reused 0 (delta 0)
To dokku@jlchang.me:LeagueSides

[new branch]      master -> master

Which indicates my git bash has access to the dokku folder and is able to push there, but Dokku doesn't seem to recognize the repo and is not building/deploying the app. I've read elsewhere that you are not supposed to create the repo yourself on the server, that git remote add takes care of that, but that did not work for me. Is there something I'm missing in the app?
Any help is greatly appreciated!

Sorry I never got to this, but I don't see how this would be the case. Seems as though maybe dokku wasn't installed properly. Did you ever figure out what the problem was?

@walkemskies it would seem the initial problem was with git remote add host dokku@:LeagueSides?There is no host after the @.
In any case, you may want to try the latest release and if you're still running into issues, post a deploy with tracing on. (i.e. dokku trace on && git push dokku master)

Closing as we've not heard back. Please reopen if there's any more info or you're still running into the issue.

Hello,
I seem to be running in the same error under the same conditions, that is why I decided to write here.

I am using Windows 7 with OpenSSH. I recently set up a ubuntu-dokku droplet on Digital Ocean and configured my SSH key. I can currently log in to either the dokku or root username on my droplet without a password using Putty, WinSCP, and ssh at the command line (OpenSSH).

The above is true for me also. I have my repo set up on my local machine, and the remote connection is set up, which is proved by
git remote -v
demodok dokku@<IP_ADDRESS>:demodok (fetch)
demodok dokku@<IP_ADDRESS>:demodok (push)
origin  https://github.com/imchairmanm/demo_application.git (fetch)
origin  https://github.com/imchairmanm/demo_application.git (push)
When I run
git push demodok master
I get
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
fatal: 'demodok' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

I also tried creating and initiating an app folder on the server - in that case git recognises it and pushes the files, but dokku doesn't recognise the push and therefore doesn't build the app, therefore I made a step back.
By the way, I turned tracing on, but got no additional information to troubleshoot the issue.
Now I have literally run out of solutions found over the internet, therefore the help would be greatly appreciated :)

Did you setup your ssh key using the web ui?

No, I created the droplet without ssh and then added it manually.


feat(client): Add RollupConfig to BootInfo

Overview
Adds a function in the BootInfo module that pulls in the rollup config based on the passed L2 chain ID.

#252
#251  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.

Project coverage is 73.3%. Comparing base (2b667ea) to head (b355654).

Files
Patch %
Lines

bin/programs/client/src/boot.rs
0.0%
7 Missing :warning:

bin/host/src/kv/local.rs
0.0%
2 Missing :warning:

bin/host/src/cli/mod.rs
0.0%
1 Missing :warning:

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use Let's Encrypt to support HTTPS

Current configuration, it redirects any subdomain to https://twitter.com/fregante.
* CNAME twitter.com.opts-slash.fregante.opts-https.redirect.center

It works when visiting http URLs: (example using httpie)
❯ http http://wildcard.bfred.it
HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Content-Length: 62
Content-Type: text/plain; charset=utf-8
Date: Fri, 26 Jul 2019 11:00:31 GMT
Location: https://twitter.com/fregante
Vary: Accept
X-Powered-By: Express

Moved Permanently. Redirecting to https://twitter.com/fregante

But it doesn't when the URL is already HTTPS:
❯ http https://wildcard.bfred.it
http: error: Request timed out (30s).

Nowadays this can be done via Let's Encrypt, at least for requests following the first one (since it might take more than a few seconds to validate the domain)

Great idea but without https it's unusable for me!

Same problem here, http redirect works fine, https does not work.

Unfortunately redirecting using https doesn't work because redirect.center needs the certificate for each domain, using DNS only it's not possible. I might create this possibility in the future but it needs to be a different project and might have some costs.

My experimental instance at https://redirect.lelux.fi/ supports HTTPS (uploading scripts&haproxy config soon).
It generates certificates (using certbot) & deploys the certificates to my HAProxy instance automatically, triggered from loading the domain in a browser.
Please do not point wildcards though, as it would get me ratelimited from LE's API when many of those subdomains are accessed by some scanner bots
And most of the subdomains would not work before a cert has to be generated, so users would get only TLS connection errors which would degrade the experience.

Code available here:
https://github.com/theel0ja/redirect.center-cert-ask
Uses Caddy for on-demand HTTPS and PHP script to validate CNAME (optional)

We can frontend with nginx to add HTTPS. Let's Encrypt also supports wildcard domains which seem to work with the browsers I have tried. If hostname is redirect.center, obtain a certificate for *.center to cover all subdomains. I have also successfully frontended with AWS CloudFront using a wildcard alternate domain.
#!/bin/bash
sudo apt-get install -y nginx python3-certbot-nginx

# wildcard cert requires DNS validation (can be scripted using https://github.com/acmesh-official/acme.sh)
sudo certbot --server https://acme-v02.api.letsencrypt.org/directory -d *.center --agree-tos --email<EMAIL_ADDRESS>--manual --preferred-challenges dns-01 certonly

cat <<EOT > /etc/nginx/sites-available/default
server {
  listen 80;
  server_name redirect.center;
  location / {
    proxy_set_header Host $host;
    proxy_pass http://<IP_ADDRESS>:3000;
  }
}
server {
  listen 443 ssl;
  ssl_certificate /etc/letsencrypt/live/center/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/center/privkey.pem;
  server_name redirect.center;
  location / {
    proxy_set_header Host $host;
    proxy_pass http://<IP_ADDRESS>:3000;
  }
}
EOT

sudo systemctl restart nginx


Remove duplicate fpack dependency.

An older version of fpack was still being required in the package.json, affecting which version was being saved in the yarn.lock file.

Thanks!


[WIP] split swix packages into *.Compiler and *.IDE

These two packages will no longer be dependent upon each other.
fsc.exe will now always come from Common7\IDE\CommonExtensions\Microsoft\FSharp.  When one of the IDE SKUs is installed (e.g., Community, Enterprise, etc.) this directory will also contain FSharp.Editor.dll, etc.  When the BuildTools SKU is installed the IDE components will be absent (as expected).
Marked as a work in progress because I have to do some internal builds and VS installs to make sure it all works as expected.

fsc.exe will now always come from Common7\IDE\CommonExtensions\Microsoft\FSharp.

I'm not sure I fully understand that - doesn't fsc.exe come from under Microsoft SDKs?  Or has that changed?

@dsyme This will be changed, yes, because it is how we can enable side-by-side F# compilers.

@dsyme This will be changed, yes, because it is how we enable side-by-side F# compilers. That is, the MSI singleton installation of the F# compiler will be no more.

OK, makes sense.  I'd imagine some people out there are poking around under Microsoft SDKs to find an F# compiler fsc.exeor fsi.exe

@dsyme Yes, some folks are likely doing that today. We'll be documenting this change in a blog post and release notes.


Add diagonal component to coregionalization kernel

Motivation
The idea is to change our Coregionalization kernel to allow "low-rank + diagonal" matrices, which anecdotally are easier to optimize than pure low-rank matrices.
Design choices
The most common use case is to provide only the rank arg to Coregionalization(). In this case I've chosen to randomly initialize the components matrix and set diagonal to a constant, and scale both so that the expected value of the initial kernel is the identity matrix.
If rank >= input_dim I avoid the diagonal matrix entirely. This is sensible since C C^T is no longer sparse, and adding the diagonal component would be redundant.
Tested

added a test case specifying the diagonal
added more algebraic assertions in existing tests

in case input_dim < rank, W.Wt is not a semi-positive matrix

Hmm as I understand,

If input_dim <= rank then almost surely W.Wt is positive definite (but we don't really care about the overparametrized case input_dim < rank).
If 0 < rank < input_dim then almost surely W.Wt is positive semidefinite aka nonnegative definite.

Are you concerned with algebra or with finite-precision numerics?

@fritzo My bad! I have overlooked the word "semi". So assume B is diagonal, input_dim = rank, we will allow entries 0 in its diagonal, and rely on jitter term of models for stability?

we will allow entries 0 in [B's] diagonal

Correct, the optimizer could send some of the diagonal entries of C C^T to zero in which case we'd rely on the model's jitter for numerical stability.

cc @yajiayang This seems to make our experiments more stable.

@fritzo It seems that coregionalization matrix is closely related to the covariance matrix of outputs in factor analysis where components is loading matrix (factor loadings in Bishop book) and diagonal is unobserved stochastic error terms. It differs a little bit to Probabilistic PCA that in PPCA we require entries in diagonal equal. In scikit-learn's implementation, they call them components and noise_variance (estimated noise variance for each feature, is this a better name?). These references explain the meaning of C (it seems to me that W is a better notion here, as we always use eps-not n-for noise) and D terms in the kernel formula.
So I propose to keep the old scale for components and just initialize diagonal a value-1 vector without scaling (if not specified). Or we can reduce them by a factor 0.5 as in GPy's implementation. The drawback of current scaling is when input_dim >> rank (which is typical when we have a large number of outputs to predict), the weight we give to W is so small, hence the error term will dominate the correlation info.

Ok, I've renamed C to W and set the weights to 0.5 + 0.5, so that E[W.Wt] = I/2 = D, which is the initialization used by GPy.

Thanks for reviewing!

ready to merge as soon as tests pass


Incorrect Layout/Parsing

Hi, I've got a PDF that isn't being parsed/displayed correctly.
Here's the text I get when calling text on the page.

And here's what the PDF is supposed to look like.

I can provide the issued PDF if it would be helpful.

Layout bugs aren't unusual, but a letter being replaced is odd (e -> s). I'd need a copy of the PDF to see what's going on - feel free to email it to me if you like (james - at - yob - id - au)

I followed up via email, let me know if I can help :) Thanks!

Thanks for the sample file, and sorry it's taken me a while to dig into it.
One particular page (page 4) in the sample is like it was designed to trigger as many pdf-reader bugs as possible 😂
The root issue is that page has a 270 degree rotation on it, and then the page instructions jump through positioning/rotating hoops to undo the rotation so it looks normal to human eyes. pdf-reader isn't great with rotation, although we're slowly getting better.
I've been noodling on a spike branch (https://github.com/yob/pdf-reader/compare/page-characters?expand=1) that improves various aspects of handling rotated pages. It helps with your sample file, but there's at least one issue left that I haven't traced to a root cause.
The good news is I've managed to create a minimal PDF that exhibits the same issue: rotate-270-then-undo-inside-bt.pdf. Hopefully I can use that to get a solution soon, and polish up the spike PR into something mergable.

Great news! Let me know if I can do anything to help!

I think I've got it sorted on this branch: https://github.com/yob/pdf-reader/compare/page-characters?expand=1.
I'll send you an email with some extracted text from your sample doc to confirm, and if it looks good I'll work on breaking that spike branch into a few logical PRs with descriptions.

I'm going to close this issue - the gross errors in positioning of glyphs on rotated pages like the sample document have been fixed.
There's definitely some room for improvement around the fine positioning of glyphs. In the sample doc I can see some of the table header text is bumping into eachother and overlapping. There's some long standing small errors in glyph positioning that I think is happening here. The issues are small, but over a full line they can sometimes compound to be visibly wrong. #261 is a good example.
It could also be an issue with the naive algorithm in PageLayout.
I'd love a separate issue that captures these symptoms if you have the time ❤


Migration error on boot upgrading to v1.5.7

Checklist

[X] I have updated the integration to the latest version available
[X] I have checked if the problem is already reported

The problem
After upgrading via HACS the plugin stopped working. I get an error in the log on startup.
I can click the 'configure' button, however all of my settings show up as defaults.
I have extensive, painstakingly tuned settings that would take a few hours to put back from scratch, and would really really appreciate not having to do that again 🙂
What version of an integration has described problem?
v1.5.7
What was the last working version of an integration?
No response
What vacuum model do you have problems with?
N/A
Please firmware installed on your Vacuum.
N/A
What version of Home Assistant do you use?
2023.11.3
What type of installation are you running?
Home Assistant Container
Camera's settings.
I can't get them :(

Logs or Errors shown in the HA snapshots (please enable the Debug Mode)
Logger: homeassistant.config_entries
Source: config_entries.py:650
First occurred: 01:04:43 (3 occurrences)
Last logged: 01:04:43

Error migrating entry Valetudo Camera for valetudo_vacuum_camera
Error migrating entry Roboterstaubsauger Camera for valetudo_vacuum_camera
Error migrating entry Hygieia Camera for valetudo_vacuum_camera
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 650, in async_migrate
    result = await component.async_migrate_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/valetudo_vacuum_camera/__init__.py", line 172, in async_migrate_entry
    new_options = await update_options(old_options, tmp_option)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/valetudo_vacuum_camera/common.py", line 151, in update_options
    updated_options[key] = bk_options[key]
                           ~~~~~~~~~~^^^^^
KeyError: 'get_svg_file'

Additional information
No response

@Cellivar I just tested the migration process from 1.4.8 to <IP_ADDRESS> (that I'm going to release in a couple of minutes), the config entry 2.1 can be now converted without any problem to 2.2.
From what version did you start the conversion? Also, if you like this project please consider to star it to get always updated on new evolutions ;)

@Cellivar the version v<IP_ADDRESS> is now released. There is now the auto trim function that should simply the setup of the camera on this newer versions. Of course the colour settings can be.. to be redo.. (if the camera was deleted).
In general this fix the migration issue you kindly reported, anyhow I'm at your disposal for anything else and await your kind confirmation.

@Cellivar added to the pre-release check list a test to avoid this in the future. Thanks once again for the hint.

Wow thank you for the really fast fix! I just applied v<IP_ADDRESS> and can confirm that the reported issue is fixed, however I encountered a new problem.
I previously was running Home Assistant with a limit of 756MB of RAM. After updating to the latest version there's a ~1,400MB spike of memory use during startup, then the system settles down to around 780MB. This is what the chart looks like.

I have some extra space in my cluster so I can work around this problem by increasing the limit, but this is a much higher resting state than before. I don't have time this weekend to test further by enabling and disabling things to confirm that it's definitely this integration.
If you have any suggestions on ways I can help you understand what my system is doing I'm very happy to collect more logs or otherwise. I'm a software developer, but I don't write Python code, so I'm not familiar with those tools :)

@Cellivar any help here is appreciated. I do not know from what version you updated so I can't make a comparison.
Recently I added a couple of new functions (auto-cropping is one of them) and also I wrote a function to check in what room is the robot (those are the biggest change).
The auto trimming of the image as the robot position check at startup uses a little more memory than before but the memory should free after that (except for the buffered base image that isn't redrawn in case the LiDAR detects "new walls").
On the v1.5.8 I plan to keep the memory constant to the minimum after the camera boot(this is what I'm actually checking with the new introduction of the memory limit)
This checks the size of NP array multiplied the number of steps to complete the image (as I'm not sure if Numpy is actually freeing the memory). In reality I'm deleting all unnecessary arrays on the draw functions) that I had to write by my own as per home assistant OS do not support OpenCV.
Any logs from the Camera and details of system where you run HA would be helpful to warrant that this project goes ahead improving. Would you be so kind to open a discussion so that we can trace this please 😉

Camera Memory usage in GB: 0.63, 8.24% of Total. (I have to Camera's on the PI4 and this need to be so 1.2GB peak max on my test environment).

Hey, I'm sorry I wasn't able to get back to you with more testing data.
I wanted to confirm that the last few updates have helped a lot and everything is running very smooth now. Thank you so much for putting the time in to test things and for making such an excellent addon!


Ping Error Reply

Is there any way I can do to detect DTU(Destination Timeout) or RTO (Request Timeout) in the plugin when using this plugin?

I've added a basic implementation for the results. But currently don't have much time for testing...
A newer release will not be available this week

Sir,
Can I test it to help you? Thanks
Andrien Pecson
Web Developer
VOLENDAY
6805 Ayala Avenue, Makati, 1226 Philippines
http://maps.google.com/maps?q=6805+Ayala+Avenue%2CMakati%2CManila+1226%2CPhilippines+&hl=en
Mobile: +639173710452
Skype: andrien.pecson.volenday
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>www.volenday.com
https://plus.google.com/109317514802318019777
https://www.facebook.com/Volenday http://twitter.com/Volenday
[image: Follow us on LinkedIn] http://www.linkedin.com/company/volenday
On Wed, Feb 17, 2016 at 12:19 AM, Martin Reinhardt<EMAIL_ADDRESS>
wrote:

I've added a basic implementation for the results. But currently don't
have much time for testing...
A newer release will not be available this week
—
Reply to this email directly or view it on GitHub
https://github.com/hypery2k/cordova-hotspot-plugin/issues/13#issuecomment-184751898
.

You can the plugin from GitHub directly:
 cordova plugin add https://github.com/hypery2k/cordova-hotspot-plugin.git

Sample output looks like this:
for success:
{
   "requestTimeout":false,
   "stat":{
      "packetLoss":"0",
      "time":"9009",
      "min":"12.361",
      "max":"624.630",
      "avg":"127.389",
      "stddev":"199.526"
   }
}

for error
{
   "requestTimeout":false,
   "stat":{
      "packetLoss":"100",
      "time":"9002"
   }
}

Sir What would be the result if DHU or RTO?

I'm getting this error Sir
Error in Success callbackId: HotSpotPlugin884672193 : TypeError: Cannot read property '1' of null cordova.js:310
Uncaught TypeError: Cannot read property '1' of null

Can you please try again with latest Master and provide complete error stack?

I already get the latest Master Sir.

I check on the code sir. Its on the response parameter of the parseResponse function. Everytime the response is OK it does not satisfy the .match()

mmmh ok, can you please past the raw response before it's passing to the parseResponse function via javascript breakpoint?
I will try to add some test cases for that

Sir the response before passing to the parseResponse is 'Class not found' it fall under the error callback of the cordova.exec function.

can you please post the message here?

what message sir?

The error response message

'Class not found'

Class not found

mmmh I've got no idea what's wrong. Which cordova version are you using? Which Android version are you using?

Installed platforms: android 4.1.1
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, webos, windows, windows8, wp8
cordova: 5.3.1
I used this plugin in ionic framework
To duplicate this error Sir try to ping a unreachable ip.

when using this line
cordova.plugins.hotspot.pingHost('<IP_ADDRESS>', function(res){console.log(res);}, function(err){console.error(JSON.stringify(err));})

I'm getting this with android 4.0.3:
{"requestTimeout":false,"stat":{"packetLoss":"100","time":"8999"}}

maybe on the version of the android Sir

the supported API Level 19 means Android 4.4+
Maybe thats the issue


Karma Parser Overhaul Plus

Yet another big pull request. Tackles the following issues:

#12
#23
#25
#31

Hmm, that's a new error

This was caused by SQLite's lacklustre ability to modify an existing table. In this case, SQLite cannot add a new column to a table with a non-constant default value. It can, however create a new table which has a non-constant default value. I had thought using a batch operation would fix this (069c34a), but it did not. Turns out Alembic won't recreate the table if it only has add_column operations, so it was necessary to manually specify the table was to be re-created (32c6a52).


Added .EXCLUDED to the DAG Run tasks' success test.

Final tasks set to excluded were preventing the DAG run showing as successful.

Looks good to me!


How do I enable the gradient buttons in BS4 as BS3 has using its theme.css?

Dear community
I want to be able to give to buttons the same gradients as BS3 has, using its bootstrap-theme.min.css

I've enabled $enable-gradients to true in my compilation but I don't see any effect on them.

What am I doing wrong?
Regards

Can I see your  _variables.scss

It's the same of the repository.
I am setting up the variables from my own SASS file (styles.scss) like this:
$enable-flex:               true; $enable-rounded:            true; $enable-shadows:            true; $enable-gradients:          true; $enable-transitions:        true; @import "Bootstrap4/bootstrap";
I know this set up works fine because I can see when I change the rest of variables, they compile as expected, except as I mentioned $enable-gradients as value true :/

I can't find anywhere in the code that $enable-gradients is used. It's just a dummy variable defined

That's why BS4 is still in alpha state? :P

I'm guessing I nuked this some time ago and never restored it. I'll have to swing back around to it, likely in v4.1.

Thanks for replying.
My respect and admiration for your work.

Ran into this today. I'm sorry for a potential dumb question, but is using the gradients possible before you've had a chance to get $enable-gradients: back in there?

@mdo $enable-shadows and $enable-gradients need to be revisited as they do not give the result I believe most people are expecting.  For example, here is a before and after of the shadows setting:

Consider changing line 339 of variables.scss from $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) to something like $btn-box-shadow: 0 2px 2px rgba($black,.2).
Also, what do people think about shadows being applied to cards and nav pills when $enable-shadows is set to true?


🐞 Iptables rules are persisting between pipelines

What is the issue?
I create iptables rules in my container, and they persist and accumulate between pipeline runs.  I would expect them to not affect containers in future pipelines as they should be isolated.
For now I workaround by deleting all rules at start of pipeline.
Dagger version
dagger v0.13.3 (registry.dagger.io/engine:v0.13.3) darwin/arm64
Steps to reproduce
Run this multiple times and you'll see that the rules listed each time accumulates.
func (m *Treasury) TestIptables(
	ctx context.Context,
) (string, error) {
	container := dag.Container().
		From("alpine:latest").
		WithExec([]string{"apk", "add", "iputils", "iptables"}).
		WithEnvVariable("CACHE_BUST", uuid.NewString())
	opts := dagger.ContainerWithExecOpts{InsecureRootCapabilities: true}

	container = container.WithExec([]string{
		// List the nat rules, should be none
		"sh", "-c", "echo 'pre-existing rules:' && iptables -t nat -L -v -n",
	}, opts)

	out, err := container.Stdout(ctx)
	fmt.Println(out)

	container = container.WithExec([]string{
		// Add rule 1
		"sh", "-c", "iptables -t nat -A PREROUTING -p tcp -j DNAT --to-destination <IP_ADDRESS>",
	}, opts).WithExec([]string{
		// Add rule 2
		"sh", "-c", "iptables -t nat -A POSTROUTING -p tcp -j MASQUERADE",
	}, opts)

	out, err = container.Stdout(ctx)
	fmt.Println(out)

	return out, err
}

Log output
Initial run:

pre-existing rules:
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
   10   600 DNAT       6    --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            to:<IP_ADDRESS>
    0     0 DNAT       6    --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            to:<IP_ADDRESS>

After running a few times:
pre-existing rules:
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
   10   600 DNAT       6    --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            to:<IP_ADDRESS>
    0     0 DNAT       6    --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            to:<IP_ADDRESS>
    0     0 DNAT       6    --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            to:<IP_ADDRESS>
    0     0 DNAT       6    --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            to:<IP_ADDRESS>
    0     0 DNAT       6    --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            to:<IP_ADDRESS>

thanks for the lovely repro setup 🙂
i'm poking at this now, one thing to note is that this is clearly cache-related somehow despite the CACHE_BUST– after initially reproing exactly as you've described here, I walked away for 30m, ran again, and the accumulated rules were gone. continuing to rerun causes them to accumulate again.

@conorpp a heads-up, fixing the leaking here will cause iptables logs not to persist (via clone) to down-stack processes. still need to verify that my fix isn't a huge perf regression, so not a done deal yet, but just fyi.


Hold duration for the end of a set of subtitles, and subtitles for the H.E.V. suit (and potentially others).

I'm not sure if it's a bug or not, but subtitles don't display for H.E.V. suit dialogue, despite being in the dictionary file and seemingly properly called by the game.
Additionally, I cant seem to find a way to make subtitles stay on-screen longer but ONLY if they're the last to be displayed in a set of subtitles. For example, "If you see one of these buttons, press it, and I will appear to demonstrate certain moves." The last line displayed it just "certain moves.", which means they fade out IMMEDIATELY, leaving no time to really read them if you aren't already looking. But setting hold durations affects ALL subtitles, not just the last line displayed. But again, I'm not sure if that's a bug, or if it should be a feature request.

You can utilize GitHub's fork feature by forking a copy of the MetaHookSv source code -> clone the forked repository to your local machine -> commit your subtitle changes to the \Build\svencoop\captionmod\dictionary_english.txt and Build\svencoop\captionmod\dictionary.csv files in your local source code directory -> submit your changes to GitHub -> initiate a Pull Request on GitHub, and then I can merge your changes into the main codebase. This way, your changes will be bundled into the release package the next time the MetaHookSv releases.
Here's a 1-minute video that can quickly guide you through the steps: https://www.youtube.com/watch?v=8lGpZkjnkt4
As for the issue of subtitles not displaying despite the audio files being configured, I suggest opening an issue specifically for that; in this way, I can promptly locate and fix the problem.

Added in https://github.com/hzqst/MetaHookSv/releases/tag/v20241130a, which affects only the last line.

Was going to mark this as closed, but forgot it also mentions the H.E.V. issue. Any idea on what's causing H.E.V. subtitles to not be displayed? I loaded one instance and tried to debug and the only relevant info I found was:
CaptionMod: SENTENCE [!HEV_A0] found. dist: 3.97, avol: 0.25
CaptionMod: Sound [fvox/bell.wav] not found.
CaptionMod: Sound [fvox/_comma.wav] not found.
CaptionMod: Sound [fvox/HEV_logon.wav] not found.
So it seems like it finds the captionmod data just fine but thinks it can't find the relevant sounds (even though those sounds definitely play properly in-game)? I don't really know.

Awesome, thanks!


ERROR: LOADERROR

Hi, i just started out with Julia, and the tutorial i followed required the PyPlot library, i installed with Pkg.add("PyPlot") , after installing, running this code using PyPlot gives me error
/usr/bin/julia: symbol lookup error: /usr/lib/liblapack.so.3: undefined symbol: ATL_idamax ERROR: LoadError: LoadError: Failed to precompile Colors to /home/toby/.julia/lib/v0.4/Colors.ji  in error at ./error.jl:21  in compilecache at loading.jl:400  in require at ./loading.jl:240  in include at ./boot.jl:261  in include_from_node1 at ./loading.jl:320  in include at ./boot.jl:261  in include_from_node1 at ./loading.jl:320  [inlined code] from none:2  in anonymous at no file:0  in process_options at ./client.jl:257  in _start at ./client.jl:378 while loading /home/toby/.julia/v0.4/PyPlot/src/colormaps.jl, in expression starting on line 4 while loading /home/toby/.julia/v0.4/PyPlot/src/PyPlot.jl, in expression starting on line 409 ERROR: Failed to precompile PyPlot to /home/toby/.julia/lib/v0.4/PyPlot.ji  in error at ./error.jl:21  in compilecache at loading.jl:400  in require at ./loading.jl:266

Looks like you are using a version of Matplotlib (or rather of Numpy) that is linked to the ATLAS BLAS version of LAPACK (it is expecting the ATL_... symbol in liblapack), whereas Julia is normally linked to the OpenBLAS version of BLAS/LAPACK.  (Or maybe vice versa: maybe your distro ships a julia linked to ATLAS BLAS?)  In any case, it looks like a conflict where Julia and Numpy are using two incompatible BLAS libraries?
What does versioninfo() print?  If you are using a weird Julia version that is linked to ATLAS BLAS, maybe you just need to download a newer version of Julia?

I've been able to resolve the issue, purged julia, removed the .julia folder... basically i restarted the whole installation process and all. Thanks


New GitHub account creation doesn’t redirect back to Giscus comments in blog

How to reproduce the bug (in the browser's incognito tab)

Open a blog post having Giscus integration (eg. this one).
Scroll to the bottom & click Sign up with Github to comment on the article.
In the GitHub sign-in popup, click on Create an account.
Create a GitHub account (by entering a username, email, and password). Github also asks for some preferences-related stuff.
At the end, the https://github.com page opens - it doesn't redirect back to the blog page so the user can finish commenting.

What should happen
In the end, after the GitHub account creation is done, it should be redirected back to the blog so the user can finish leaving a comment.
I discovered this issue after integrating Giscus using <script>  in my blog.

@laymonage Is there any solution to this issue?? If not, would you be interested in a Pull Request to fix this issue?


Update to iOS SDK 5.0

Hello, can you update the sdk to 5.0? I want to use the video interstitial, and I find that the current sdk is 3.3.1, it is very old, can you update it?

+1

An ETA please...

This has been asked for by the community pretty continuously since March (https://github.com/ChartBoost/air/issues/4). I think it's pretty safe to say at this point that Chartboost for AIR just isn't an option.

+1

+1

+1

+1

+1

SO SAD... no one responding

Please Can we get an update on this as well as an update on a 64 bit ANE?

+1

+2

Good news , its been updated today
https://answers.chartboost.com/hc/en-us/articles/203473969

This is fantastic news!
Thanks Chartboost folks for the updated SDK!

Great !!!

Great great. This is perfect!

Well done Chartboost!

Has anyone got this working yet? I'm not seeing an ads come down.
Phil
On Tue Feb 03 2015 at 5:23:05 AM alan_langlois<EMAIL_ADDRESS>wrote:

Well done Chartboost!
—
Reply to this email directly or view it on GitHub
https://github.com/ChartBoost/air/issues/13#issuecomment-72648945.

iOS works

Champagne!

Interstitial on iOS works, more apps doesn't, and the whole thing doesn't work on android. This is from the actual company and it doesn't work? C'mon Chartboost devs...

It works for me on Android? Im using non-GPS version though and using GPS from milkman games using AIR 16.

Android with GPS is not working for me.
On Sun Feb 08 2015 at 9:19:17 PM dappledore<EMAIL_ADDRESS>wrote:

It works for me on Android? Im using non-GPS version though and using GPS
from milkman games using AIR 16.
—
Reply to this email directly or view it on GitHub
https://github.com/ChartBoost/air/issues/13#issuecomment-73458866.

https://github.com/lilili87222/chartboost-ane  for air 17 and armv64 works .

Please update to the latest version.  If there are additional issues please file them as necessary.  You can download from AIR SDK Download


gotour: fallthrough: ui is unclear

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
✖,
What operating system and processor architecture are you using (go env)?
✖,
What did you do?
I was trying
https://tour.golang.org/flowcontrol/9
What did you expect to see?
I found it surprising i don t have a button to validate.
There is not an useful link to the related spec, i think it is missing.
note: i suspect some cases are hairy to check as you may have many valid answers?
that example does not fall into that case.
though even for hairy ones, their should be some kind of solutions introduction.
What did you see instead?
a better ui.

The tour's bug tracker is https://github.com/golang/tour
Could you report this there?

It is my fault that I suggested @mh-cbon to file the issue here, create another one at https://github.com/golang/tour/issues/199.


feat: Add support for authorization to WebApi. (WIP)

Codecov Report

Merging #163 (56bdc2f) into main (cac94cd) will decrease coverage by 19.63%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #163       +/-   ##
===========================================
- Coverage   65.16%   45.52%   -19.64%
===========================================
  Files          95       39       -56
  Lines        1837      514     -1323
  Branches      198       68      -130
===========================================
- Hits         1197      234      -963
+ Misses        581      267      -314
+ Partials       59       13       -46

Flag
Coverage Δ

appcommon
45.52% <ø> (ø)

testcommon
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ommon/ServiceBus/ResourceProvider/QueueResource.cs

...on/Configuration/B2C/B2CAppAuthenticationClient.cs

...AssertionsExtensions/ObjectAssertionsExtensions.cs

...p.TestCommon/EventHub/ListenerMock/WhenProvider.cs

...mon/AutoFixture/Extensions/SetParameterProvider.cs

...mmon/Configuration/IntegrationTestConfiguration.cs

...on/ServiceBus/ListenerMock/DoProviderExtensions.cs

...nfiguration/B2C/B2CClientAppCredentialsSettings.cs

...pp.TestCommon/Database/SqlServerDatabaseManager.cs

...ce/TestCommon/Diagnostics/TestDiagnosticsLogger.cs

... and 46 more

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


Added tooltips, about page, removed autocomplete from forms and updated meta data.

I have added tooltips, about page, removed autocomplete from forms and updated meta data.
I copy pasted the about page details from Bhavya's portfolio and from the README of the project.
There might by some indentation changes.

Also, if it is taking time for review, vercel has deployed the web app - https://get-it-done-git-fork-aviralcoder-master-juggernaut9.vercel.app


Incorrect Documentation?

I came to this page to find out how to find my IP address while on a HoloLens device and connect to it. I know I can do it through the local USB connection and going to <IP_ADDRESS>:10080 and looking up the system info. However, from the device there is no "Advanced Options" in the Network -> Wifi menu. I actually had to go to the "Hardware properties" menu to find it. I believe I have the latest HoloLens OS so I think this documentation is out of date.

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

ID: deaa22ed-9e69-2068-1793-8417d40a4f7c
Version Independent ID: 34296d5a-4c99-2d82-4be8-0a398e79ec74
Content: Device Portal for HoloLens - UWP app developer
Content Source: windows-apps-src/debug-test-perf/device-portal-hololens.md
Product: windows
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

Hi @v-jessmi, thanks for catching this! I've updated the doc.


Add cards translation

Is your feature request related to a problem? Please describe.
No
Have you tried if it is already a feature? Have you checked the wiki?
Yes
Describe the solution you'd like
Add the ability to translate cards into a language other than English.
Describe alternatives you've considered
Change the code.

@MichelJourdain check out v0.2.0. Examples in the readme :)

Version 0.2.0 allows only to translate part of the text. For exemple in the current case, "Finished" as to be translated into "Terminé"

Yes that's because of that text comes from the api


create an UninitializedType for TypeDecimal

What problem does this PR solve?
This PR addresses the meaning of TypeDecimal. In TiDB, TypeDecimal is reserver for uninitialized type. We wrongly maps it into Decimal in our code base. This PR corrects it.
What is changed and how it works?
The way to solve the issue mentioned above is creating an UninitializedType for it.
Check List
Tests

Integration test

Related changes

Need to cherry-pick to the release branch

/run-all-tests


Support daemon mode

Racer now has a daemon mode which, as of 1.1.0, has some progress towards caching syntax completion information. It is started with the daemon command and receives the usual commands through stdin.

I don't current use atom or rust, so I probably won't be adding features to this plugin. I certainly welcome pull requests though.

I'm trying to make the daemon mode support, but the tips gui won't show until the process shutdown, does anyone know the reason? My fork is here: https://github.com/sunxfancy/atom-racer/commit/6b1888e3191182f4063e22638c191e13cebc61db


WFLY-4959 add a log message at INFO level that SM is enabled

This introduces a new INFO log message that Security Manager is enabled.
https://issues.jboss.org/browse/WFLY-4959

@dmlloyd In a comment on the JIRA you say this should be logged pretty early in the boot. These spots are fairly early, but a fair amount of stuff in the WildFly code will have already run, particularly the command line arg processing that creates the ServerEnvironment and HostControllerEnvironment objects.
This seems ok to me, without thinking hard about it. The message will get logged in the normal case, and in the odd case that some SM related failure prevents boot getting this far it's pretty likely the user will figure out the SM was enabled without the help of this logging.

Sounds reasonable.


Failed to save 'X', unable to write file 'X' (TypeError:Cannot read properties of undefined (reading '0'))

Describe the bug
Some SQL members are causing this error to appear.
Failed to save 'X', unable to write file 'X' (TypeError:Cannot read properties of undefined (reading '0'))
It occurs with one source file in my developer library and I have full authority.
No Code for IBM i log entries appear when the error appears.
Source is not over the length of the source file.
To Reproduce

Use CTRL+Alt+O (Open file)
Alter source
Press CTRL+S (Save)

Expected behavior
Member is saved to the server.
Screenshots

Environment (please complete the following information):

Extension version 1.2.6
IBM i OS version 7.3

Additional Information
If I open the member using a filter, then I can save it just fine.

If I open the member using a filter, then I can save it just fine.

So this is specifically happening when you open the member using the quick open or when you provide a path?

Yes, from what I found while writing this issue up.
I tried to make certain the case of the string used to open via CTRL+ALT+O matched the case of the member when open via the filter but that made no difference.

Recreated. Working on fix now.


GEODE-6811: view the runtime info of gateway receivers

add sender count and sender list

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

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

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

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@Petahhh @jmelchio @jackw26


Parse image references from markdown files

Currently (oranda 0.5.0-prerelease.1), images in the readme need to be in a folder called static. It would be great if oranda could instead parse the readme an copy all markdown image inclusions (![alt](path/to/img.png)), maybe even html inclusion that you sometimes need to use.
Additionally, it would be nice if oranda would warn about image that are referenced but not present.

Agreed! Better Markdown parsing (which this would be a part of) is definitely on my list.


Allow opening dashboards/projects in new tabs in all cases

Proposal
Outside of the breadcrumb, the various elements we have that allows you to navigate to a dashboard/project/whatever are not relying on hyperlinks (e.g navbar buttons, table rows on the home page..), which prevents from opening the according page in another browser tab. This can be quite annoying when you want to e.g open multiple dashboards.

Took a look for table rows, we need to change the render of each cell to have a  component. Nothing really native 😞


#4176: uplift umd plus tt_metal changes

move assert to cluster level, assert used worker cores on device close
move clean system api call to bool
new create-eth-map binary
removed a bunch of hardcoded zero in umd

@TT-billteng 🌚


macOS application crashes when a dialog window is opened

Same as https://github.com/flutter/flutter/issues/86932 that got closed.
This is a recent regression:

not reproduced: 2.4.0-4.0.pre (dev channel)
reproduced: 2.4.0-5.0.pre.183, 2.4.0-5.0.pre.180, 2.4.0-5.0.pre.166, 2.4.0-4.0.pre.147 (master channel)

A little native code is needed opening a modal panel (e.g. file open / save dialog) - in the following example a simple method channel handler is added to call NSOpenPanel().runModal()
Steps to Reproduce

Run flutter create swapbuffers_crash.
Update the files as follows:

main.dart:
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  static const _platform = MethodChannel('swapbuffers');
  String _path = '';

  Future<void> _selectFile() async {
    String path;
    try {
      final result = await _platform.invokeMethod('openPanel');
      path = '/path/to/file';
    } on PlatformException catch (e) {
      path = 'Failed to get path: $e';
    }
    setState(() { _path = path; });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text('File path:'),
            Text(_path),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _selectFile,
        tooltip: 'Select file',
        child: const Icon(Icons.folder_open),
      ),
    );
  }
}

macos/Runner/Release.entitlements: add the following key to <dict>:
	<key>com.apple.security.files.user-selected.read-only</key>
	<true/>

macos/Runner/MainFlutterWindow.swift:
import Cocoa
import FlutterMacOS

class MainFlutterWindow: NSWindow {
  override func awakeFromNib() {
    let flutterViewController = FlutterViewController.init()
    let windowFrame = self.frame
    self.contentViewController = flutterViewController
    self.setFrame(windowFrame, display: true)

    RegisterGeneratedPlugins(registry: flutterViewController)
    self.register(with: flutterViewController.registrar(forPlugin: "SwapBuffers"))

    super.awakeFromNib()
  }

  func register(with registrar: FlutterPluginRegistrar) {
    let channel = FlutterMethodChannel(name: "swapbuffers",
                                      binaryMessenger: registrar.messenger)
    channel.setMethodCallHandler({
      (call: FlutterMethodCall, result: FlutterResult) -> Void in
      NSLog("Calling NSOpenPanel...");
      let openPanel = NSOpenPanel()
      openPanel.allowsMultipleSelection = false
      let response = openPanel.runModal()
      guard response == .OK, let loadURL = openPanel.url else { return }
      try? NSLog("Done. URL: %s", String(contentsOf: loadURL))
    })
  }
}

Do flutter build --release. Run the application from Finder (so that macOS shows the crash log). Press the button to show a file open dialog (select a file if no crash yet). Application crashes with the following backtrace:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   io.flutter.flutter-macos      	0x0000000102c034a6 -[FlutterIOSurfaceManager swapBuffers] + 214
1   io.flutter.flutter-macos      	0x0000000102c027e5 -[FlutterMetalResizableBackingStoreProvider resizeSynchronizerCommit:] + 85
2   io.flutter.flutter-macos      	0x0000000102c02e39 __42-[FlutterResizeSynchronizer requestCommit]_block_invoke + 121
3   libdispatch.dylib             	0x00007fff20283623 _dispatch_call_block_and_release + 12
4   libdispatch.dylib             	0x00007fff20284806 _dispatch_client_callout + 8
5   libdispatch.dylib             	0x00007fff20290b4f _dispatch_main_queue_callback_4CF + 940
6   com.apple.CoreFoundation      	0x00007fff205645e8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
7   com.apple.CoreFoundation      	0x00007fff205267d2 __CFRunLoopRun + 2755
8   com.apple.CoreFoundation      	0x00007fff2052564c CFRunLoopRunSpecific + 563
9   com.apple.HIToolbox           	0x00007fff28763ab3 RunCurrentEventLoopInMode + 292
10  com.apple.HIToolbox           	0x00007fff28763815 ReceiveNextEventCommon + 587
11  com.apple.HIToolbox           	0x00007fff287635b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
12  com.apple.AppKit              	0x00007fff22d266f2 _DPSNextEvent + 864
13  com.apple.AppKit              	0x00007fff22d24ec5 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
14  com.apple.AppKit              	0x00007fff22d17239 -[NSApplication run] + 586
15  com.apple.AppKit              	0x00007fff22ceb47c NSApplicationMain + 816
16  com.example.swapbuffersCrash  	0x0000000102bd5f69 main + 9 (AppDelegate.swift:5)
17  libdyld.dylib                 	0x00007fff20449f5d start + 1

Logs
% flutter doctor -v
[✓] Flutter (Channel master, 2.4.0-5.0.pre.183, on macOS 11.4 20F71 darwin-x64, locale en-GB)
    • Flutter version 2.4.0-5.0.pre.183 at /Library/Frameworks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 184e5871be (2 hours ago), 2021-07-26 04:38:02 -0400
    • Engine revision a877f6fed6
    • Dart version 2.14.0 (build 2.14.0-350.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/tgucio/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.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
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.4 20F71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 91.0.4472.164

• No issues found!

Closing in favor of the original, which shouldn't have been closed and is easier to set up the repro case for.


Remove or document NoStrict modules

We should remove NoStrict and NoStrictData from the modules where they appear because the need for these extensions may indicate a thunk leak. Where it does not indicate a problem, we should document the need for these extensions.
Follow up to #2491.

[ ] Kore.Attribute.Pattern.Simplified
[ ] Kore.Internal.SideCondition.SideCondition
[ ] Log.Entry

The first two should be obsolete after https://github.com/kframework/kore/issues/2729.

@RaoulSchaffranek investigated making the Log.Entry module strict and it resulted in multiple tests having segmentation faults.


docker image pull

As stated in your guide to update for docker, you need to execute docker pull tgcf:latest.
This command fails since you can't seem to pull it/don't have access to it:
root@vps:~# docker pull tgcf:latest
Error response from daemon: pull access denied for tgcf, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

https://hub.docker.com/r/aahnik/tgcf
Try "docker pull aahnik/tgcf:latest" instead.


Add support to suspend EventExecutor

Motivation:
At the moment once an EventExecutor is created its impossible to suspend it, which means it will stay alive until shutdown. While this is generally fine it also might result in more system usage then really necessary. For example an EventExecutor might tie up an Thread for its whole life-time where it would be possible to "release" the Thread back one it was suspended.
Modifications:

Allow to suspend EventExecutors (if supported by the implementation
Add unit tests

Result:
Allow to suspend EventExecutor (and subtypes)

After talking with @bryce-anderson a bit about this I think we need to also ensure that there is no Channel on it before we suspend it.

@nitsanw as well

This is the first part that is needed for https://github.com/netty/netty/issues/13996

@bryce-anderson PTAL again... I think I fixed all problems

Also @franz1981 @chrisvest PTAL

Thank you for your patience.

Thank you for all the feedback! It really helped to shape up things.

Let me merge this one and work on the other missing parts of https://github.com/netty/netty/issues/13996


Set the default time zone avoiding fatal error on execution

hey, thanks, but I cannot approve this:

Please describe the problem you were solving
name of PR is too dramatic and not descriptive of what actually was fixed
two commits in one PR
non-needed changes exist in the PR (trailing NL was removed)

I'm sorry, but I'm closing this for now.


Add test suite

This PR:

[x] Adds a basic integration test suite to prevent regressions.
[x] Sets up GitHub Actions to run the tests automatically on every PR and push to the main branch.
[x] Adds unit tests for relevant classes.

Closes #3.

Let me know if you want (me) to add more unit tests @simonhamp! Most of the unit-testable code would just be testing setters/getters, and that feels pretty wasteful 😅

@svenluijten it looks like the GitHub Actions are struggling to write the image files produced by the tests. Could be due to permissions?
https://github.com/simonhamp/the-og/actions/runs/7435530543/job/20230963612


Values to store as statistics

All the values like temperature, humidity, and VPD do not store as statistics so I cannot see the values in default statistics
graph.
Am I doing something wrong? Or is this something that has not been done yet?
Thank you and sorry if this was user error.

Are you referring to the history graph on the sensor?

This is part of home assistant core functionality for sensor entities, and not something that needs to be setup explicitly by this integration.  It also appears to be functioning as expected for me.
If this is not what you're referring to, could you please elaborate further on what graphs you are referring to.

Are you referring to the history graph on the sensor?

This is part of home assistant core functionality for sensor entities, and not something that needs to be setup explicitly by this integration. It also appears to be functioning as expected for me.
If this is not what you're referring to, could you please elaborate further on what graphs you are referring to.

Hi thanks for the reply. No the history graph is fine but home assistant has a statistics graph which the same entities will not work for because the values are not written to a statistics value. This allows for averages, min, and max which is much more informative than the history graph.

Sorry, I spaced on getting more information on this.
https://www.home-assistant.io/integrations/statistics/
Is this what you're referring to?  It looks like it just keeps track of an existing sensor or binary sensor (number, select, switch, and time do not appear to be supported) and doesn't appear to require anything special from the sensor itself other than it reporting its normal values.
Could you send one or more of the following items?

a few screenshot of it not working
documentation on which fields you believe are not being set
if the above link is not what you're referring to, a link to the HomeAssistant documentation of the feature you're attempting to use

Hi, i think akballow is talking about the Long-term Statistics. They are needed for the Statistics graph card. At the Moment the entities of this component do not show up in the Entity select field.

The handy "Why is my entity not listed?" link leads to this page:
Long-term Statistics
Seems like the sensors need the state_class  property  set to measurement .

Perfect.   Thanks for the clarification.  I'll take a look.

Thiis is available in version 1.4.3.  Thanks all :)


Adding PipelineTransform class

This PR adds a class called PipelineTransform which allows us to test PipelineTransform implementations before sending them real data from "Cloudflare Pipelines".
It also means that you don't have to deal with streams directly and can just work with JSON/Javascript Objects.

I have read the CLA Document and I hereby sign the CLA


[HW]

Name: SHREYA KUMAR
Email<EMAIL_ADDRESS>Linkedin Profile: www.linkedin.com/alt-shreya
Attach the homework screenshots below for both step II and step III:

CREATING

READING

UPDATING

CASSANDRA QUERY LANGUAGE

CASSANDRA DATA MODELLING

https://api.badgr.io/public/assertions/uILkE9-gQzyI63pM5GXpiQ?identity__email=shreyakumar31%40gmail.com


Problems exist with the diacritics for certain item metadata views

I failed to reproduce this on my local environment (Google Chrome 69.0.3497.100 on macOS Sierra 10.12.6), but as reported:

The font used does not display diacritics (macrons at least) directly above the character
https://dpul.princeton.edu/catalog/n009w555s#?c=0&m=0&s=0&cv=0&xywh=-6977%2C-339%2C21153%2C6770

I found the following rendered for this item:

This appears to only affect certain browsers (possibly only within certain operating system environments):

no actually that one is fine.  I am seeing the problem using the latest versions of FF and IE on a Win7 PC


Add learn/docs for all sig schemes inside Move contracts

Add Move smart contract examples for all supported sigs in Sui Move
Ed25519 / ECDSA secp256k1 / ECDSA secp256r1 / BLS minSig / BLS minPK

@jonas-lj and @joyqvq. There was a recent request from @PaulFidika and others, we need documentation on how to sign in CLI and TS, then verify in Sui contracts. Please add me as a reviewer when ready.


Error: EAGAIN during readSync

Similar to #7, we've seen stdin fail as the number of protobufs we're processing has increased:
buf generate
node:fs:738
  handleErrorFromBinding(ctx);
  ^

Error: EAGAIN: resource temporarily unavailable, read
    at Object.readSync (node:fs:738:3)
    at tryReadSync (node:fs:438:20)
    at readFileSync (node:fs:484:19)
    at file:///runner/_work/definitions/definitions/node_modules/twirpscript/compiler.js:4:15
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:526:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12) {
  errno: -11,
  syscall: 'read',
  code: 'EAGAIN'
}
Failure: plugin protoc-gen-twirpscript: exit status 1

Running under Node 16 in GitHub Actions:
      - uses: actions/setup-node@v3
        with:
          node-version: 16

All I've found so far is https://stackoverflow.com/questions/40362369/stdin-read-fails-on-some-input, and I don't know if you have the flexibility to read synchronously from /dev/stdin for portability.

Hey @noahseger, thanks for reporting. What version of twirpscript are you running?

I think I may have found a lead here: https://github.com/nodejs/help/issues/2663. I'll put out a release switching to process.stdin usage. Once I release that, if you could let me know if the issue stops or if you continue to see it, I'd really appreciate it.

Hi @tatethurston , thanks for checking it out! We're running 0.0.61, and can definitely let you know whether or not it stops after that lands. This framework is the best 🤘

Awesome thanks Noah, I’ll let you know when I publish

This is fixed in 0.0.66. LMK if you run into any issues!

Thanks @tatethurston! This passed our CI so we'll land it and watch for the error over the next week 🎉

Thanks @noahseger!

@noahseger how has the incidence of this error looked after 0.0.66?

Hey Tate, seems super solid since we upgraded. Thanks again 🙌
On Mon, Dec 5, 2022, 11:25 PM Tate Thurston @.***>
wrote:

@noahseger https://github.com/noahseger how has the incidence of this
error looked after 0.0.66?
—
Reply to this email directly, view it on GitHub
https://github.com/tatethurston/TwirpScript/issues/208#issuecomment-1338782712,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK5MYCDDJ6OKONV562R5A33WL3E6PANCNFSM6AAAAAASCV2VNE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Awesome


K8SPS-179: Don't try to reconcile GR if cluster is paused

Test name
Status

demand-backup
passed

auto-config
passed

init-deploy
passed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

config
passed

gr-demand-backup
passed

service-per-pod
passed

one-pod
passed

sidecars
passed

limits
passed

haproxy
failed

version-service
passed

tls-cert-manager
passed

scaling
passed

users
failed

We run 17 out of 17

commit: https://github.com/percona/percona-server-mysql-operator/pull/251/commits/35559242a240406dffa56df85036158989ab8be2
image: perconalab/percona-server-mysql-operator:PR-251-3555924

Test name
Status

auto-config
passed

config
passed

one-pod
passed

haproxy
passed

init-deploy
passed

gr-init-deploy
passed

monitoring
passed

demand-backup
passed

semi-sync
passed

gr-demand-backup
passed

service-per-pod
passed

scaling
passed

sidecars
passed

users
failed

limits
passed

version-service
passed

tls-cert-manager
passed

We run 17 out of 17

commit: https://github.com/percona/percona-server-mysql-operator/pull/251/commits/35559242a240406dffa56df85036158989ab8be2
image: perconalab/percona-server-mysql-operator:PR-251-3555924

Test name
Status

auto-config
passed

config
passed

one-pod
passed

haproxy
passed

demand-backup
passed

gr-demand-backup
passed

scaling
passed

users
failed

init-deploy
passed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

sidecars
passed

limits
passed

version-service
passed

tls-cert-manager
passed

We run 17 out of 17

commit: https://github.com/percona/percona-server-mysql-operator/pull/251/commits/35559242a240406dffa56df85036158989ab8be2
image: perconalab/percona-server-mysql-operator:PR-251-3555924


Readme links to old version of CSS

I was wondering why the posts in threads aren't displaying correctly… until I realized I had a very old version of the stylesheet added.
I followed the link from the readme, where it says:

Copy the contents of layout-single-column.css and layout-multiple-columns.css

However, these links are linking to the master branch, which is apparently an existing branch that's different from the main branch which is set as the default, and that branch points to a very old version…

Can you send a PR? Will fix in some point, but right now I'm a bit overloaded with other projects.


Cache relative URLs

Currently I have my site running locally at http://paulrobertlloyd.dev/, and my production site running at https://paulrobertlloyd.com/. This plugin caches the full URL to the crossposted post, and in some situations (like running a production build locally) you can end up crossposting when you didn't mean to. By having the plugin cache and check against relative URLs (i.e. /2015/11/24/my-insightful-post), avoids this issue occurring.

I incorporated the change.

Woot! Thanks @aarongustafson.


feat!: Requires PHP 8.x

While we're at it:

Removed an unused dependency
Standardized script names (unit/lint/test)

The requires PHP and removal of psr/container are good catches -- thanks!
However, which standard are you referring to for the script names? I'll admit testan sucks, but AFAICT test does not mean statically analyze. (I can squint and see a case for lint including static analysis.)


Can not vote using shutter privacy

Expected behavior
Shoud cast a vote to the selected proposal
Actual behavior
{error: 'unauthorized', error_description: 'invalid choice'}
Steps to reproduce the behavior
const receipt = await client.vote(web3, accounts[0], {
	space: "zerti.eth",
	proposal: proposalId,
	type: "basic",
	choice: choice,
	privacy: "shutter",
	reason: reason,
	app: "Zerti",
})

When I try to cast a vote using shutter privacy, it gives me the "invalid choice" error. I think that the choice shoud be encrypted using shutter, since the choice when voting from snapshot web is not "1" but an encryped string. How can I encrypt the vote?

Take a look at how UI encrypts the choices
https://github.com/snapshot-labs/snapshot/blob/develop/src/components/ModalConfirm.vue#L46
Also make sure your proposal is using shutter

@ChaituVR I am trying to use the same code but it gives me a "Maximum call stack size exceeded" error, I think the error is when trying to init the wasm file.
This is the code I have:
import { randomBytes } from "@ethersproject/random";
import { BigNumber } from "@ethersproject/bignumber";
import { arrayify, hexlify } from "@ethersproject/bytes";
import { toUtf8Bytes, formatBytes32String } from "@ethersproject/strings";
import shutterWasm from "../shutter-crypto.wasm?url";
import { init, encrypt } from "@shutter-network/shutter-crypto";

export default async function encryptChoice(choice: string, id: string): Promise<string | null> {
	await init(shutterWasm);

	const bytesChoice = toUtf8Bytes(choice);
	const message = arrayify(bytesChoice);
	const eonPublicKey = arrayify("0x0e6493bbb4ee8b19aa9b70367685049ff01dc9382c46aed83f8bc07d2a5ba3e6030bd83b942c1fd3dff5b79bef3b40bf6b666e51e7f0be14ed62daaffad47435265f5c9403b1a801921981f7d8659a9bd91fe92fb1cf9afdb16178a532adfaf51a237103874bb03afafe9cab2118dae1be5f08a0a28bf488c1581e9db4bc23ca");

	const is32ByteString = id.substring(0, 2) === "0x";
	const proposalId = arrayify(is32ByteString ? id : formatBytes32String(id));

	const sigma = arrayify(BigNumber.from(randomBytes(32)));

	const encryptedMessage = await encrypt(message, eonPublicKey, proposalId, sigma);

	return hexlify(encryptedMessage) ?? null;
}


Refresh catchall

Summary

New auth refresher to be used with the catchall-operations of fedcloud. Reads credentials for each VO from different files located under a configurable path

Some documentation added


batch_create_events using entity.id for event log

Description

This operation doesn't work for GCBs, so either need to rename issuance_id ->  id in model or change the function to accomodate

Model now had id