Feature: Settings sync

One of the things that bugs me often is having to setup Spyder settings when being on a new computer/VM. Copying the old settings file often leads to problems as they are (so it seems!) not cross-system compatible. Most other IDEs have a setting-sync functionality.
Would it be an idea to implement such a feature in Spyder for v6?
(I was surprised that this was not discussed yet here! but could not find anything in the search)

Hi @skjerns thank you for the feedback and sorry for the late response! Did a quick about the concept of [setting-sync] functionality and I found a couple of links:

VSCode: https://code.visualstudio.com/docs/editor/settings-sync
Jetbrains: https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html

Following that I guess an initial idea for Spyder could be having a way to properly export/import Spyder preferences in a cross-platform supported way? 🤔 Also, seems like setting-sync functionality usually enables you to store and retrieve settings using some sort of account but I'm not totally sure how that would work with Spyder.
What do you think @spyder-ide/core-developers ?

This seems like an interesting idea to me. It could also be useful for institutional administrators to deploy Spyder setup to several machines/users. At my company our Data Science Director has expressed some interest in this.
Certainly we'd have to investigate the platform independence of our config file(s). But I think that the "sync" capability would just have to rely on a user's cloud storage (Google Drive, Dropbox, Box, ...). Spyder could just allow the user to point to the configuration file and synchronize it with the local file(s).
I think the real challenge will be to determine which items should be synchronized and which should not, including platform specific configuration settings.

Thanks! One idea would be to have setting sync via a dedicated user-specific github repo? as far as I see there is no sensitive information in the settings, so being able to simply sync it to a repo might be an idea (which you can still make private if you have premium).
Alternatively, Zotero is solving sync via WebDAV (which many cloud backends still support, e.g. nextcloud)


Fix FromGlibContainer double freeing

Revert one change from #153
Was wrong replacing g_free with g_strfreev by two reason:

g_strfreev frees inner string that already freed
g_strfreev must used only for string arrays, but this implementation for any arrays

@Susurrus please check that this don't broke https://github.com/gtk-rs/gtk/issues/469

Might make sense to add a simple test for this, looks good and correct to me apart from that

No idea how to test it :(

How did you get the bug?

See https://github.com/gtk-rs/examples/pull/119#issuecomment-296235239

@EPashkin You could just manually create such a NULL-terminated array of e.g. strings with glib_sys::g_malloc() and ::g_strdup(). When passing that in there it should crash.

@sdroege, Thanks I don't even think to test it (forgot that it not Gtk and can be tested).

gtk-rs/gtk#469 is still fixed with this code, but this doesn't seem to fix gtk-rs/examples#119. I'm getting new errors now, like:

(.:12663): Gtk-CRITICAL **: GtkBox 0x7f8893b191a0 returned a widget path for type (null), but child is GtkScrolledWindow
(.:12663): Gtk-CRITICAL **: gtk_style_provider_get_style_property: assertion 'g_type_is_a (gtk_widget_path_get_object_type (path), pspec->owner_type)' failed
(.:12809): GLib-GObject-WARNING **: g_object_weak_unref: couldn't find weak ref 0x7ff1eb45c5e0(0x7ff1ece22ed8)

But I don't get hard segfaults anymore with no warnings or errors, so I guess that's an improvement.

@GuillaumeGomez ready for merge

Thanks!


⚠ Roblox TextFilter Api has degraded performance

In f320de1, Roblox TextFilter Api (https://textfilter.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 850 ms

Resolved: Roblox TextFilter Api performance has improved in b5ff13e.


Something to cite?

Excellent project! I modified the OCaml-based interpreter to provide dynamic program traces in order to build a live programming environment for OCaml (unexplained teaser screenshot below).
I would like to know how to cite this project. Would you be able to add a CITATION.md file? Or at least, how should I write the author list for citing the interpreter written in OCaml?
Thanks a bunch. Camlboot is excellent work that saved me weeks if not months of time!

(Fun fact: Camlboot interpreting Camlboot interpreting "hello world" takes ~15-20 minutes, dashing my hopes of dog-fooding this project. All of that time appears to be the interpreter interpreting itself interpreting the stdlib...perhaps it's the parser? But then, visibility into OCaml execution is such a mess...)


[AutoDiff] Remove the method mode from 'Builtin.autodiffApply'.

Before indirect passing was supported, the _method configuration in Builtin.autodiffApply_vjp_method was used to directly apply a method's VJP as if its arguments were flattened like SIL. Not only was it a workaround, as a trade-off, it also introduced some semantic incorrectness in @differentiable functions: It made @differentiable (T) -> (U) -> V mean that U was also a differentiation parameter in the function, but @differentiable should not apply to inner curry levels.
After indirect passing support landed, we removed the method-specific differential operator from the standard library (#22637). So the _method mode in Builtin.autodiffApply becomes dead code. This PR removes that and simplifies the infrastructure.

@swift-ci please test tensorflow

yay! lgtm


Pass forecast data without writing csv to disk

Currently the best start time estimate is obtained through calling a hierarchy of functions:
parsedata.writecsv -> timeseries_conversion.cat_converter -> timeseries_conversion.get_lowet_carbon_intensity.
The writecsv function writes the forecast data on disk, only for cat_converter to read-it. I think this was originally meant to be used as a cache, but as it stands it doesn't look to me like writing forecast data to disk is useful to anything else: an API request is made at each execution of cats, although since #4 the request itself is cached by used requests_cache (see #30).
This PR sends forecast data straight to get_lowest_carbon_intensity, which is responsible for returning the best job start time and associated average carbon intensity. This reduces complexity by removing the multiple layers between the running __init__.py and code that actually optimise the start time.
Instead of plain tuples, forecast data is represented as a list of CarbonIntensityPointEstimate.

I think so - actually the whole parsedata module might not be needed anymore?


Update TOC.md

added security planning

OPS Build status updates of commit 06e47dd:
:clock10: Preparing: average preparing time is 46 sec(s)

OPS Build status updates of commit 06e47dd:
:clock10: Incremental building: average incremental building time is 25 sec(s)

OPS Build status updates of commit 06e47dd:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/TOC.md
:warning:Warning
View
Details

dynamics-gp/TOC.md

Line 0: [Warning] Invalid file link:(~/installation/SecurityPlanning.md).

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

Docs Build status updates of commit 5818a6d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/TOC.md
:white_check_mark:Succeeded
View

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


python310Packages.python-fsutil: Unmark broken on Darwin

At least on my aarch64 Darwin machine, python-fsutil builds fine.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 186338 run on x86_64-darwin 1

nixpkgs-review reveals no new failures on macos 10.15 & nixos x86_64

Might be worth seeing if it works on 22.05 too and doing the same there if so.

Good idea. My machine is building right now, so I cannot test at the moment. When I can, I will test this against the release-22.05 branch. If it works, do I need special permissions to add the backport label?

Yup, you need to be a committer, but I can do it if you yell.

@risicle I built this locally against release-22.05 and it succeeds on aarch64-darwin.


Cherrypicked GitHub repositories

We used sourcegraph to list the repositories including CITATION.cff file.
https://sourcegraph.com/search?q=context:global+file:CITATION.cff+count:100&patternType=literal
Cherry picked repositories with high number of stars and contributors
Need to create pull request
Abel:

[x] https://github.com/allenai/allennlp (:fork_and_knife: Our fork) https://github.com/allenai/allennlp/pull/5561
Commit fixing cffversion was created.
[x] https://github.com/automl/auto-sklearn (:fork_and_knife: Our fork) ~~https://github.com/automl/auto-sklearn/pull/1388~~ https://github.com/automl/auto-sklearn/pull/1390
Commit fixing family-names key was created.
[x] https://github.com/JuliaLang/julia (:fork_and_knife: Our fork) https://github.com/JuliaLang/julia/pull/44062
Commit fixing publisher key was created.
[x] https://github.com/lutzroeder/netron (:fork_and_knife: Our fork) https://github.com/lutzroeder/netron/pull/878
Commit fixing missing message was created.

Faruk:

[x] https://github.com/microsoft/onnxruntime (:fork_and_knife: Our fork)
https://github.com/microsoft/onnxruntime/pull/10478
Commit fixing duplicate title and wrong license was created.
[x] https://github.com/mxgmn/WaveFunctionCollapse (:fork_and_knife: Our fork)
https://github.com/mxgmn/WaveFunctionCollapse/pull/72
Commit fixing cff-version was created.
[x] https://github.com/nextflow-io/nextflow (:fork_and_knife: Our fork)
https://github.com/nextflow-io/nextflow/pull/2630
Commit fixing DOI key was created.
[x] https://github.com/nlohmann/json (:fork_and_knife: Our fork)
https://github.com/nlohmann/json/pull/3320
Commit fixing cff-version to 1.2.0 was created.
Commit fixing date-released was created.
[x] https://github.com/nltk/nltk (:fork_and_knife: Our fork)
https://github.com/nltk/nltk/pull/2944
Was filtered out before. No changes required in CITATION.cff.

Jurrriaan:

[x] https://github.com/open-mmlab/mmdetection (:fork_and_knife: Our fork) https://github.com/open-mmlab/mmdetection/pull/7125
Was filtered out before. No changes required in CITATION.cff.
[x] https://github.com/pydata/xarray (:fork_and_knife: Our fork) https://github.com/pydata/xarray/pull/6252
Was filtered out before. No changes required in CITATION.cff.
[x] https://github.com/RaRe-Technologies/gensim (:fork_and_knife: Our fork) https://github.com/RaRe-Technologies/gensim/pull/3287
Was filtered out before. No changes required in CITATION.cff.
[ ] https://github.com/sagemath/sage (:fork_and_knife: Our fork) Does not use GitHub. Repo is only a mirror.
Was filtered out before. No changes required in CITATION.cff.
[x] https://github.com/tensorflow/tensorflow (:fork_and_knife: Our fork)
https://github.com/tensorflow/tensorflow/pull/54291
Was filtered out before. No changes required in CITATION.cff.

Present in the filtered list, already attributed.
https://github.com/duckdb/duckdb
https://github.com/effector/effector
https://github.com/ManimCommunity/manim
https://github.com/microsoft/nni
https://github.com/PyTorchLightning/pytorch-lightning
https://github.com/Zettlr/Zettlr
Won't fix

https://github.com/automl/Auto-PyTorch
Only uses preferred-citation.
https://github.com/explosion/spaCy
Only uses preferred-citation.
https://github.com/github/linguist
Missing CITATION.cff.
https://github.com/huggingface/transformers
Wrong date-released. Candidate for future CITATION.cff dissemination.
https://github.com/microsoft/FLAML
Only uses preferred-citation.
https://github.com/spack/spack
Only uses preferred-citation.
https://github.com/tensorflow/federated
Not using GitHub actions.

I'll sort this list and put it in cherrypicked.json, so we can feed it to the filtering pipeline

Cleaned up:
Abel

[ ] https://github.com/duckdb/duckdb
[ ] https://github.com/effector/effector

Faruk

[ ] https://github.com/ManimCommunity/manim
[ ] https://github.com/microsoft/nni

Jurriaan

[ ] https://github.com/PyTorchLightning/pytorch-lightning
[ ] https://github.com/Zettlr/Zettlr

Last review of open PRs: 18-02-2022


move example/counter/web to sdk/typescript/example and use sdk

I will start this task now

@jolestar Does the https://dev-seed.rooch.network environment now have a fixed Counter contract address?

#892


Resolving a channel should return "channel_claim_count" or similar, not number of pages

Run ./lbrynet-cli resolve @kauffj. Receive:
"@kauffj": {
    "certificate": { ... },
    "claims_in_channel_pages": 1
}

Rather than give the number of pages, just give the number of items.

@kauffj

Gonna re-open the original issue since it broke pagination: https://github.com/lbryio/lbry/pull/801#commitcomment-23706472

Isn't lbry returning the correct fields? If so, there is no issue in this repo.

I don't think it is, see: https://github.com/lbryio/lbry/pull/801#commitcomment-23706472
lbrynet-cli claim_list_by_channel @IGNonLBRY --page 1 used to return something like this at the end:
],
     "claims_in_channel_pages": 2,
     "returned_page": 1
   }

now it just returns:
     ],
     "returned_page": 1
   }

Moved bug convo to https://github.com/lbryio/lbry/issues/868


Update docs to reflect current pip parameter default and move release notes to the bottom of the page

Since the release notes reflect changes from long in the past it's probably confusing to have them at the very top of the page. I've moved them to the bottom to reflect the fact that they are not as important as the installation and usage instructions.
Fixes #160

If you'd like I can throw this PR away and create a new one with only a single commit. Let me know if that's preferred.


Personal Information Accessibility Issue

Description

Make sure all input fields are accessible.

Currently, the axe DevTools are showing that

Issue Description
Ensures every id attribute value used in ARIA and in labels is unique

To reproduce the issue, install the axe DevTools extension and run it.
Screenshots
No response
Additional information
For further instructions on how to make the component accessible, please read the following:

Form field multiple labels
IDs used in ARIA and labels must be unique

hI @YuriDevAT thanks for the suggestion! Yes please I would love to be assigned to this issue

Happy to have you contributing 🙂

Okie, done! I actually needed to create 2 branches, in the first one I was fixing several accessibility issues, and I found other issues assigned for that ahah.  I didnt know about axe Devtools! Thanks @YuriDevAT :)
here goes the pr

I am glad you learned something new :)


IP address in dashboard not IP address of containerised Drupal-vm

Issue Type

Bug Report / Support Request

Your Environment

Docker version 17.06.0-ce, build 02c1d87 (Docker for Mac)

Your OS

macOS (Sierra)

Dashboard output
<IP_ADDRESS> drupalvm.dev
<IP_ADDRESS> www.drupalvm.dev
<IP_ADDRESS> adminer.drupalvm.dev
<IP_ADDRESS> xhprof.drupalvm.dev
<IP_ADDRESS> pimpmylog.drupalvm.dev
<IP_ADDRESS> dashboard.drupalvm.dev

Summary
BUT ... /etc/hosts has
<IP_ADDRESS>  dashboard.drupalvm.dev
<IP_ADDRESS>  adminer.drupalvm.dev
<IP_ADDRESS>  pimpmylog.drupalvm.dev
<IP_ADDRESS>  drupalvm.dev

and http://<IP_ADDRESS> takes us to  drupalvm.dev

Yeah, the Dashboard is I think using the vagrant IP, so we need to figure out a better way to get it in the Dashboard, and/or just document the Docker instructions a little better.

Now that the dashboard has PHP enabled, we could just use echo $_SERVER['SERVER_ADDR']'

Hello,
Is it possible to access the dashboard of drupal-vm with the docker version?

@Gonzalo2683 - Note that you would need to add drupalvm.test to your hosts file manually; see: http://docs.drupalvm.com/en/latest/other/docker/#managing-your-hosts-file


is g711_ulaw input format supported?

is g711_ulaw formatted supported? I followed twillio example and sending this session updat:
  const sessionUpdate = {
        type: 'session.update',
        session: {
          turn_detection: { type: 'server_vad' },
          input_audio_format: 'g711_ulaw',
          output_audio_format: 'g711_ulaw',
          voice: VOICE,
          instructions: SYSTEM_MESSAGE,
          modalities: ['text', 'audio'],
          temperature: 0.8,
        },
      };

but response looks like this:
Session updated successfully: {
......
  session: {
.......
    input_audio_format: 'pcm16', <= NOT UPDATED
    output_audio_format: 'g711_ulaw',
    input_audio_transcription: null,
    tool_choice: 'auto',
    temperature: 0.8,
    max_response_output_tokens: 'inf',
    tools: []
  }
}

Having the same issue.

So, I tested it with both pcm16 and g711_ulaw input audio and the input_audio_format does get updated but the session update response returns incorrect input audio format.

Same issue here. Can anyone send the URL of the Twilio documentation you are using?

Thanks folks. Would be helpful if we could get some session.ids from the session.created event!

sess_AFxDpCBHVOU5AFv3j2Nr1
Updated voice to 'shimmer' and input_audio_format to 'g711_alaw'
session.updated event reports input_audio_format is 'pcm16'
I am sending g711_alaw audio successfully and receive responses
Hope this helps!

I am setting output_audio_format to 'g711_ulaw' and it returns an Int16 array as in pcm

Thanks folks. Would be helpful if we could get some session.ids from the session.created event!

@khorwood-openai sess_AG4Egp7ID6a5ibPQ7x39w

See my comment on #8: https://github.com/openai/openai-realtime-api-beta/issues/8#issuecomment-2411857042
TL;DR the API supports G.711 mu-law 8khz, but the client does not.


Can't run watchman service, run the project nor archive after upgrade to 0.39

Description
Can't run background service since upgrade to 0.39.
Running npm start freezes after this output:
><EMAIL_ADDRESS>start /Users/antonysastre/Projects/node/project-name/Projectname
> node_modules/react-native/packager/packager.sh

Running react-native start just freezes no output.
Running from Xcode breaks with the following out put:
2016-12-03 17:01:02.243 [info][tid:main][RCTBatchedBridge.m:72] Initializing <RCTBatchedBridge: 0x60000019ce50> (parent: <RCTBridge: 0x6000000bc6e0>, executor: RCTJSCExecutor)
2016-12-03 17:01:02.245 Projectname[28443:221292] *** Assertion failure in -[RCTBatchedBridge loadSource:onProgress:](), /Users/antonysastre/Projects/node/projectname-app/Projectname/node_modules/react-native/React/Base/RCTBatchedBridge.m:196
2016-12-03 17:01:02.346 Projectname[28443:221292] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'bundleURL must be non-nil when not implementing loadSourceForBridge'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001029e434b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00000001018f221e objc_exception_throw + 48
	2   CoreFoundation                      0x00000001029e8442 +[NSException raise:format:arguments:] + 98
	3   Foundation                          0x00000001014bed79 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
	4   Projectname                      0x0000000100fe9505 -[RCTBatchedBridge loadSource:onProgress:] + 997
	5   Projectname                      0x0000000100fe7673 -[RCTBatchedBridge start] + 883
	6   Projectname                      0x00000001010297bc -[RCTBridge setUp] + 684
	7   Projectname                      0x0000000101028813 -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] + 387
	8   Projectname                      0x0000000101028622 -[RCTBridge initWithBundleURL:moduleProvider:launchOptions:] + 146
	9   Projectname                      0x0000000100f85dd7 -[RCTRootView initWithBundleURL:moduleName:initialProperties:launchOptions:] + 183
	10  Projectname
                      0x0000000100f5e845 -[AppDelegate application:didFinishLaunchingWithOptions:] + 245
	11  UIKit                               0x0000000104f560be -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290
	12  UIKit                               0x0000000104f57a43 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236
	13  UIKit                               0x0000000104f5dde9 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731
	14  UIKit                               0x0000000104f5af69 -[UIApplication workspaceDidEndTransaction:] + 188
	15  FrontBoardServices                  0x00000001083f3723 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
	16  FrontBoardServices                  0x00000001083f359c -[FBSSerialQueue _performNext] + 189
	17  FrontBoardServices                  0x00000001083f3925 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
	18  CoreFoundation                      0x0000000102989311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	19  CoreFoundation                      0x000000010296e59c __CFRunLoopDoSources0 + 556
	20  CoreFoundation                      0x000000010296da86 __CFRunLoopRun + 918
	21  CoreFoundation                      0x000000010296d494 CFRunLoopRunSpecific + 420
	22  UIKit                               0x0000000104f597e6 -[UIApplication _run] + 434
	23  UIKit                               0x0000000104f5f964 UIApplicationMain + 159
	24  Projectname                      0x0000000100f5eeef main + 111
	25  libdyld.dylib                       0x000000010693668d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Trying to build the project with Xcode just freezes at Archiving.
Additional Information
Platform: iOS (haven't tried Android)
Operating System: MacOS
node: 7.1.0
npm: 3.10.9
react-native-cli: 1.2.0
react-native: 0.39.0
Xcode: 8.1 (8B62)

I'm having the exact same problem. Nothing works.
Any command related to watchman will freeze / give no output.
--
MacOS 10.12.2 Beta
Node.js 7.2.0
npm 3.10.9
react-native-cli 1.3.0
react-native 0.39.0

Things I have tried already:

Cleaning all caches
Removing node_modules and reinstalling (with yarn and with npm)
Running first aid on mac
Downgrading react native to 0.38.0
Downgrading react-native-cli to 1.2.0
Downgrading watchman to 4.6.0

Starting to think it's an OS issue. @antonysastre what's the version of your mac os? Is it Beta too?

After some debugging, it's freezing when trying to run watchman version here:
const detectWatcherClass = () => {
  try {
    execSync('watchman version', {stdio: 'ignore'});
    return sane.WatchmanWatcher;
  } catch (e) {}
  return sane.NodeWatcher;
};

from file node_modules/react-native/packager/react-packager/src/node-haste/FileWatcher/index.js#21
So maybe this issue makes more sense on watchman repository.

All right, here is the fix:
Run: launchctl unload ~/Library/LaunchAgents/com.github.facebook.watchman.plist
If you can now run watchman version it means it fixed it.
Solution from https://github.com/facebook/watchman/issues/358#issuecomment-247105934

@brunolemos Awesome man, that fixed for me. I did suspect a watchman/OS related issue but wasn't able to track it down as far as you did. Thanks again!

@brunolemos Awesome !!! it worked for me ....

Good to know! 🙂
--
Twitter: @brunolemos

<IP_ADDRESS> localhost


Add confirmation to clear history

Problem description
There is a menu Option with two buttons, Show history and Clear history. The problem is, that the buttons are close one to another and it's easy to delete the history instead of showing it. This process is irreversible.
Possible solution
This can be easily fixed by doing the following:

Ask for confirmation before deleting the history.
(Optional) Add a separator between the two buttons.

Additional details
tkinter is used for the GUI, so you will need to use the documentation at tkdocs.com. You will be interested in the askyesno dialog (see here). The separator is described here. You will have to maybe add from tkinter import messagebox to the header.
The menu is created in the main class Calculator like this
https://github.com/SargonCZ/laser-calculator/blob/9675425834e7c90ecfbad657703596b9bdb31ffc/laser-calculator.py#L62-L70
Here, you will have to add the separator.
The Clear history is defined in this function:
https://github.com/SargonCZ/laser-calculator/blob/9675425834e7c90ecfbad657703596b9bdb31ffc/laser-calculator.py#L132-L139
You have to add the confirmation there.

I will work on this part.

@PawelS23 If you can, do it today. There are a lot of changes, so I would like to make a new release.


THRIFT-5185: Add support for using WebSockets as a server transport.

Add support for using WebSockets as a server transport to the C++ library.

[X] Did you create an Apache Jira ticket?  (not required for trivial changes)
[X] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[X] Did you squash your changes to a single commit?  (not required, but preferred)
[X] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

@penenin I'm curious if you've seen our HTTP and Thrift-WebSocket server at https://github.com/BioDataAnalysis/thrift-http-ws-server? Its based on boost::beast so it does not directly relate to your code, but I still wanted to point it out...

I hadn't seen that. If I had, I may not have written this code. I am working on a project where I am not completely sure whether I will be able to utilize D (my first choice) or not. I ported my D implementation to C++ just in case. I was trying to figure out how to add tests for this PR, but if there is a better, more mature implementation ready to upstream, I can always close this.

Sadly, the linked implementation is much harder to upstream than yours, so I've seen this PR with some delight. The main benefit of my solution is that it includes the full webserver (HTTP + HTTPS) as well as the full websocket server (again plain + SSL supported), all on the same port. This is very useful for web clients that require the HTTP server and websocket server on the same source (or cross-site scripting protection may kick in). I'm not sure if this is relevant for you?

I can see where that would be useful in some circumstances, but it isn't relevant for my particular project.
I may have to close this PR as the code appears to work on Windows, but not on Linux. I manually tested both this implementation and the D one on Windows with a modified tutorial server and a modified nodejs client bundled for the browser with Webpack. Unfortunately, on Linux, the C++ server won't even complete the WebSocket handshake with my browser client and I can't get my modified D tutorial server to build because of a linker error. It also looks to me like the test suite is Linux only as well. I am primarily a Windows developer and I am running out of things I know to try. I will keep chipping away at it, but I am not sure how long it is going to take me to figure it out.

It would be sad to loose your changes!
The test suite is working to some extend via cmake. Can you tell me in more detail which tests would be relevant for you? And is the linker error visible in the CI here, so I could try to reproduce it?

I think I confused things with my comments above. The linker error I encountered was in D on Linux. To try to clarify, this is what I have done and where I am at:

I manually tested my code on Windows by modifying the C++ tutorial server and the nodejs tutorial client. I bundled the client using Webpack and was able to communicate from Firefox and Chrome to the tutorial server over WebSockets.
I opened the PR and was asked to provide tests.
On Linux, I modified the C++ cross language test server, nodejs test client, and js test client to add websockets and accept websocket as a command line argument.
None of the tests work. When I look at the generated network traffic with Wireshark, I don't see the WebSocket handshake like I expect.
Then still on Linux, I recreated my modified C++ tutorial server and Webpacked tutorial client. Those don't work either and I don't see the WebSocket traffic in Wireshark like I would expect.
I then tried to modified the D tutorial server on Linux to test WebSockets in order to see if I was running into a Linux platform issue or if there was a difference in behavior between the two language libraries. That is where I ran into the linker error I don't see in Windows.

Setting aside the last point about D as off-topic since this is a C++ PR, the only thing I can think of is that I am running into some difference between the Linux and Windows socket implementations, or that there is some sort of compression going on that I am not aware of (even though I have tried to turn off per message deflate). Since my Linux development experience is very limited, the biggest hurdle I am running into is trying to get a good debugging environment set up or just even knowing roughly what I should be looking for. I have been struggling with plain command line gdb.
Based on your suggestion, using CMake, I am trying to get the cross language tests set up and building on Windows, but I am running into build issues there as well.
I can update the PR with the failing tests if you would like to take a look at what I have.

I finally tracked the bug down. I was accessing uninitialized variables. I have added tests for a C++ server and NodeJS client. All the test pass except for tests with the domain socket transport and tests with the header protocol. I have marked them as expected failures.

Awesome!!!

I have corrected the test failures and updated the expected failures appropriately. However, I had to make a change to lib/nodejs/test/server.js. Should I include that in this PR or mark those tests as expected failures and then open a new PR to fix the other tests?

Since I had already modified lib/nodejs/test/client.js, I went ahead and modified server.js too. Everything passes or has been marked as an expected failure as appropriate. I believe this should be ready to merge, but let me know if I need to make more changes.

Thanks for working on this! That's quite the list of known failures, but I'm not really familiar with websockets so if you and @emmenlau think they are ok, it's fine by me.
Unfortunately, tests are still broken and they are cpp related. See here and here.

Unfortunately, tests are still broken and they are cpp related. See here and here.

I've tried to follow up the second error and https://www.reddit.com/r/gcc/comments/4lcsfj/gcc_error_in_compilation/ seems related. It claims that messing with and of the following variables may have something to do with it: __BYTE_ORDER, __LITTLE_ENDIAN, __BIG_ENDIAN. Is it possible that these get defined in Thrift, or possibly included via TProtocol.h:91:#  include <boost/predef/other/endian.h>?

The failing Travis test looks to be a Python issue. There is still a linker error on Windows that AppVeyor is reporting. I will try to reproduce.

Everything is passing except "Python code style" in the last Travis test. Since that doesn't have anything to do with C++, the PR should be ready to merge.

The Python issue will be fixed by #2147. Thanks for working on this!

AFAIK, there aren't any standard functions to byteswap 64-bit integers. We need something to paper over that difference at least. I thought including this file would be okay because it states you can use it under the Apache license. I can replace it with something that just defines ntohll() and use that family of functions in a separate PR if you wish. Let me know what you would like me to do.

Actually I've also seen this too late. The definition of 'htonll' breaks the build for me on VS2017 and VS2019 when building Thrift TestServer.cpp:
thrift\lib\cpp\src\thrift/transport/TWebSocketServer.h(366): error C3861: 'htonll': identifier not found

I've tried a number of things to work around this issue but as far as I can see its not trivial. I've moved a number of Windows.h includes out of the way which supposedly break including WinSock2.h, but that did not help. Defining WIN32_LEAN_AND_MEAN globally also did not resolve the problem. And shuffling the headers to that TWebSocketServer.h comes first also does not help. So I'm at the end of my wit, suggestions welcome.
Also, did you see that TProtocol.h has a defintion of THRIFT_htonll? Could that be used instead?

That is weird. I haven't run into that and the PR passed CI. Regardless, it might be moot if I am removing portable_endian.h. I will look at THRIFT_htonll and open a new PR.

Could that be used instead?

I had the same thoughs ... we have code for it. Should'nt that be sufficient?

he definition of 'htonll' breaks the build for me

Actually, on the Github page of said header, someone also commented that MSVC seems not really good covered by it, at least this was the case in 2018.
https://gist.github.com/panzi/6856583#gistcomment-2396000

Changes submitted as #2152


Negative values for minX and minY?

It could be great to add negative values to the LineChart. Currently I don't think it's possible because the graph just crashes when I try putting negative values. If there is a solution, it's not written on the GitHub examples.
On the image, I put maxX: 10, minX: 0, maxY: 10, minY: -10, the "form" of the line is correct, but clearly fl_chart doesnt like negative values. Also if I don't put negative minY values, but I put a negative spot on Y (for example, FlSpot(x, -10)) the line crosses my screen multiple times from top to bottom.

I dont think its an issue to use negative values !
check my chart i used negative X and Y

use a small algorithm to calculate the minX, minY, maxX, maxY, horizontalInterval & verticalInterval so you can get better chart drawing

you can use this class:
class NiceScale {
  late double _niceMin, _niceMax;
  late double _tickSpacing;

  double get tickSpacing { return _tickSpacing; }
  double get niceMin{ return _niceMin; }
  double get niceMax{ return _niceMax; }

  late double _minPoint, _maxPoint;
  late double _maxTicks;
  late double _range;

  NiceScale(double minP, double maxP, double maxTicks){
    _minPoint = minP;
    _maxPoint = maxP;
    _maxTicks = maxTicks;
    _calculate();
  }

  void _calculate(){
    _range = _niceNum(_maxPoint - _minPoint, false);
    _tickSpacing = _niceNum(_range / (_maxTicks - 1), true);
    _niceMin = _calcMin();
    _niceMax = _calcMax();
  }

  double _calcMin() {
    int floored = (_minPoint / _tickSpacing).floor();
    return floored * _tickSpacing;
  }

  double _calcMax() {
    int ceiled = (_maxPoint / _tickSpacing).ceil();
    return ceiled * _tickSpacing;
  }

  double _niceNum(double range, bool round){
    double exponent = (log(range)/ln10).floor().toDouble();
    double fraction = range / pow(10, exponent);

    double niceFraction; /** nice, rounded fraction */

    if (round)
    {
      if (fraction < 1.5){
        niceFraction = 1;
      }
      else if (fraction < 3){
        niceFraction = 2;
      }
      else if (fraction < 7){
        niceFraction = 5;
      }
      else {
        niceFraction = 10;
      }
    }
    else
    {
      if (fraction <= 1){
        niceFraction = 1;
      }
      else if (fraction <= 2){
        niceFraction = 2;
      }
      else if (fraction <= 5){
        niceFraction = 5;
      }
      else {
        niceFraction = 10;
      }
    }

    return niceFraction * pow(10, exponent);
  }
}

then add to your code before building the chart:
    if(minX == maxX){
      maxX += 1;
    }

    NiceScale nsx = NiceScale(minX, maxX, 15);
    xInterval = nsx.tickSpacing;
    minX = nsx.niceMin;
    maxX = nsx.niceMax;

    if(minY == maxY){
      maxY += 1;
    }

    NiceScale nsy = NiceScale(minY, maxY, 10);
    yInterval = nsy.tickSpacing;
    minY = nsy.niceMin;
    maxY = nsy.niceMax+(0.02*nsy.niceMax);

when plotting the chart:
     maxX: maxX,
     maxY: maxY,
     minX: minX,
     minY: minY,
     FlGridData(
     show: true,
     drawHorizontalLine: true,
     drawVerticalLine: true,
     horizontalInterval: yInterval,
     verticalInterval: xInterval,

As @hamzaj9  said, there's no problem with negative values.
Please put your reproducible code if it doesn't work.
Make sure you are using the latest version.


Make cursor pointer for sidebar-toggler

Add cursor: pointer for .sidebar-toggler

I want to fix this.

This repository is labeled for first timers only so let's leave it to other beginners! You can work on any issue that doesn't have first-timers-only label


BUG: Creating new model creates new suds client (each time)

Describe the bug
Whenever one tries to create a new model after closing a new one (model = Model(True, "model_name")), following Exception gets thrown:
    model = Model(True, MODEL_NAME)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\RSTAB\initModel.py", line 126, in __init__
    cModel = Client(modelCompletePath, transport=trans, location = modelUrlPort)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\client.py", line 109, in __init__
    self.set_options(**kwargs)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\client.py", line 129, in set_options
    p.update(kwargs)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\properties.py", line 258, in update
    self.set(n, v)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\properties.py", line 283, in set
    self.provider(name).__set(name, value)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\properties.py", line 428, in __set
    d.linker.updated(self, prev, value)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\options.py", line 40, in updated
    properties.link(tp)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\properties.py", line 319, in link
    Link(self, other)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\properties.py", line 59, in __init__
    self.validate(a, b)
  File "C:\Users\Administrator\Desktop\RSTAB_Creoox_Test\venv\lib\site-packages\suds\properties.py", line 80, in validate
    raise Exception('Duplicate domain "%s" found' % d)
Exception: Duplicate domain "suds.options" found

It is because whenever a new Model instance is requested, it also creates a new suds Client for the same name and url, here:
https://github.com/Dlubal-Software/RSTAB_Python_Client/blob/14b06d28bc77731d72fe84cdaf6e71cad82161cc/RSTAB/initModel.py#L123-L127
And if there is no other workaround but to entirely close (clean) python runtime and start from the begging...
To Reproduce
Steps to reproduce the behavior:

Create Model instance (model = Model(True, "model_name")).
Add some materials, sections, nodes, loads, etc...
Run calculations
Close model
Create new Model instance (model = Model(True, "new_model_name")) in the same python runtime

At this point you should see the exact same error.
Expected behavior
Creating a new model while maintaining connection to RSTAB/RFEM server.
Desktop (please complete the following information):

Version of WIN10 OS: Microsoft Windows Server 2022 Datacenter
Version of RSTAB9: 9.02.0057
Version of tool: 1.5.0

Additional context
Trying to compare calculations using the same model vs. creating a new model each time. If there is such a need I can provide my testing script.

Hi @dogukankaratas ,
So does it mean that this issue is resolved (fixed, tested, deployed) and soft pushed to pip repository?
By the way - what is the release strategy? Each fix would be available as new release or do you plan to group them and release together (milestones)?

Hi @and-ratajski,
every update is available in main branch immediately after code review. We don't publish every change on pypi.org page. We release the client when there is substantial work done. No milestones are set.


[BUG] Hide evm banner after user enable evm

Describe the Bug
Now when user in testnet or mainnet, even user already enable evm, evm banner still will show in side bar.

Expected experience
Hide evm banner after user enable evm.
Steps To Reproduce

Enable evm account.
Go to side bar.
choose mainnet or testnet.

Environment
-ios dev 1.0.0(14)

This issue already solved in ios prod version 1.0.0(17).


Looking for Maintainer

@jiyuan0125 It has become quite popular now. It has 320K downloads.. I am unable to give more time to it. Do you want this baby back? Basically I want this project to improve and become more and more popular and elegant..

Thank you for your contribution to this project, the results are exciting. I lack spare time, I'm afraid I may not be competent. So see if others are interested.

Okay, I have posted it on twitter, lets see.


Schedule & Plan: Autistica Webinar

Summary

In recent meetings with Autistica we discussed presenting the progress on the content moderation policies and associated preprint in one of their webinars. We now heard back with some general advice for planning:

Format:

Live webinars – we use Zoom Webinars for the event and Eventbrite for ticket sales (tickets are free)
1- 1.5 hours, depending on our preference
Either between 12-2pm or 5.30-7.30pm.
Agenda: for a one-hour session: 5 minutes for introduction, 40 minutes presentation, 10-15 minutes for questions and a thank you to the audience.
Hosts and panellists: host & tech supports from Autistica and ideally at least one autistic collaborator
Should include audience involvement, e.g. through mentimeter for poll, word map, or something similar.

Date:

Typically they host 1 webinar a month, next empty spot would be November. But they can be flexible if we want to do it earlier
Monday/Fridays are not recommended due to typically lower attendance

Deadline
~ mid-late august to schedule with enough advance notice
What needs to be done?

[x] Decide who wants to co-present on the work (@skfantoni & @JamesSCTJ would be obvious co-presenters given their key role in the moderation work)
[x] Pick a few potential dates/times to offer to Autistica
[x] Decide on 1 vs 1.5 hour slot
[x] Plan audience involvement
[ ] Prepare slides

Who can help?

@GeorgiaHCA, @skfantoni & @JamesSCTJ
Anyone else involved & interested in the moderation design

Status

Date:    Thursday, October 5th, some time between 6:00-7:00pm
For the interactive elements we brainstormed:

Asking people in a simple poll. Have you seen/been target of/reported inappropriate content online?
Word cloud: Which topics/things should be considered when making a moderation approach?
Moderation game: Give some (harmless) examples and ask people to rate green/amber/red

I agree an earlier date would be good - maybe we can also use it as a way to find people who might be interested in doing some user testing - in which case we should make sure we have what we need in place for that as well?

I think that's a really great point, being able to use this for recruiting for the user testing would be user helpful.
@KirstieJane: @GeorgiaHCA & I also wondered if you had an opinion!

Okay, we got a slot for October 5th, exact time in the pm to be defined!

And time is fixed now as well: October 5th, 6-7pm. 🎉

We also need to provide a title, abstract & short bios of the presenters. I've made a document to draft it here: https://hackmd.io/@gedankenstuecke/ry3h3SJC2

I'm working on the slides here: https://docs.google.com/presentation/d/1Jn_JhZQQUWMHfxx4z3OtkUupw5DyWYkrUVLChWCq5sM/edit?usp=sharing


Allow setting max_repo_creation for organizations from API

Currently, the max_repo_creation value can be set from API only for users. It would be very helpful to be able to change the  max_repo_creation for orgs as well from the API.

Bump


ResolutionProver is unsound

Following: https://stackoverflow.com/questions/43507770/basic-first-order-logic-inference-fails-for-symmetric-binary-predicate
ResolutionProver appears to not implement the resolution rule correctly, a fix is described by (not myself) above.

Thanks. We would welcome a pull request.


New email addresss / mailing list for the project

@adambkaplan to provide more information on whats the status of this. I know we already have a mailing list, but how can we use it?

@adambkaplan to provide more information on whats the status of this. I know we already have a mailing list, but how can we use it?

/close
This was resolved by #547

/close
This was resolved by #547


No errors thrown and no HTMLreport generated on Python 3.7.2

HtmlTestRunner version:1.2
Python version: 3.7.2
Operating System: Windows 10

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
followed steps mentioned , cloned the project and executed the test.
No errors thrown or report generated.
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

HtmlTestRunner does not run Python version: 3.7.2
HtmlTestRunner only runs Python version: 3.5 and below version


Can't pick photo after take a picture from camera when using same DKImagePickerController

hi,
I want to share same instance of DKImagePickerController for both pick photo from album and camera. But i found, after take picture by camera, i can't pick photos from album.
I tried in demo project and reproduced it.
Reproduce step with Demo:

update code with attachment named 'reproduce.txt'
Run Demo
Take a picker first
Pick photos only
That you can see, album not shown but the camera.

reproduce.txt
Environment:
pod 'DKImagePickerController', '~> 3.1.3'
Xcode 7.3.1

Seems i found the root cause and provide a pull request. Please review. Hope you can response me.
https://github.com/zhangao0086/DKImagePickerController/pull/127

Closing this thread...


Use cibuildwheel for multiple platform wheels

Use setuptools-rust and cibuildwheel to build wheels on

CPython 3.6, 3.7, 3.8, 3.9 and PyPy 3.6, 3.7
Windows, Linux, macOS
32- and 64-bit

Replace maturin with setuptools-rust, as it goes smoother with cibuildwheel.

Since the build workflow is very large, will only start if commit comment contains "[cd build]".

Can automatically upload to PyPI after successful build

(secrets.PYPI_API_TOKEN needed to be set in repo settings)

Hello @bact! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file setup.py:

Line 18:13: E251 unexpected spaces around keyword / parameter equals
Line 18:15: E251 unexpected spaces around keyword / parameter equals
Line 25:16: E251 unexpected spaces around keyword / parameter equals
Line 25:18: E251 unexpected spaces around keyword / parameter equals

Now, I was set secrets.PYPI_API_TOKEN in repo settings. @bact

Can you move python module to python_binding/? Because to protect a problem about many binding in the future. Now, @Gorlph working on nodejs_binding.  https://github.com/PyThaiNLP/oxidized-thainlp/tree/feature/node_binding/python_binding

Can you move python module to python_binding/? Because to protect a problem about many binding in the future. Now, @Gorlph working on nodejs_binding. https://github.com/PyThaiNLP/oxidized-thainlp/tree/feature/node_binding

Does it possible to do this in a separated PR?
So this PR can focus on the build workflow.

Can you move python module to python_binding/? Because to protect a problem about many binding in the future. Now, @Gorlph working on nodejs_binding. https://github.com/PyThaiNLP/oxidized-thainlp/tree/feature/node_binding

Does it possible to do this in a separated PR?
So this PR can focus on the build workflow.

@Gorlph What do you think about this?

I can also try to merge the feature/node_binding branch to this branch first.
But the build workflow at the moment will only work for python binding anyway.

I can also try to merge the feature/node_binding branch to this branch first.
But the build workflow at the moment will only work for python binding anyway.

OK.

Obsoleted.

I can also try to merge the feature/node_binding branch to this branch first.
But the build workflow at the moment will only work for python binding anyway.

OK.

@wannaphong @Gorlph
Now move to #17 - restructured and repackaged as nlpO3, put them on package registries (crates.io and pypi.org, not yet npmjs.com), and enable multiple platform wheel builds with cibuildwheel.


The process cannot access the file 'C:\Users\beluho\Desktop\XLToolbox-7.1.2.exe' because it is being used by another process. (783fa796)

This issue was submitted by the add-in's exception handler.

Exception:
System.IO.IOException: The process cannot access the file 'C:\Users\beluho\Desktop\XLToolbox-7.1.2.exe' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Bovender.FileHelpers.Sha256Hash(String file)
   at Bovender.Versioning.Updater.Verify()
   at Bovender.Versioning.Updater.Install()
   at Bovender.Versioning.UpdaterViewModel.Install(Object param)
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter)

Message: The process cannot access the file 'C:\Users\beluho\Desktop\XLToolbox-7.1.2.exe' because it is being used by another process.
Environment

Parameter
Value

Version
7.0.9

OS
Microsoft Windows NT 6.1.7601 Service Pack 1, 64-bit

Excel
365 (16.0.4405), 32-bit

CLR
4.0.30319.42000, 32-bit

VSTO runtime
10.0.60301

ClickOnce
False

Bovender
<IP_ADDRESS>

FreeImage
3.16.0

Should be fixed in Version 7.1.0 and later.


Allow only_nodes_with_namespace in PipelineML for kedro-viz compatibility

Description
Close #569
Development notes

Add only_nodes_with_namespace and __sub__ methods for PipelineML object
I have tested manually but kedro-viz 9.2.0 does not fail with a simple PipelineML in spaceflights-pandas. I need

Checklist

[X] Read the contributing guidelines
[X] Open this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Update the documentation to reflect the code changes
[X] Add a description of this change and add your name to the list of supporting contributions in the CHANGELOG.md file. Please respect Keep a Changelog guidelines.
[ ] Add tests to cover your changes

Notice

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

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Codecov Report
Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.90%. Comparing base (61864f0) to head (781d71b).

Files
Patch %
Lines

kedro_mlflow/pipeline/pipeline_ml.py
80.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##            master     #585      +/-   ##
===========================================
- Coverage   100.00%   99.90%   -0.10%
===========================================
  Files           29       29
  Lines         1019     1024       +5
===========================================
+ Hits          1019     1023       +4
- Misses           0        1       +1

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


[i18n] Translation blinking after page refresh

Steps to reproduce:

https://test.vuestorefront.io/de/c/frauen-20 - refresh the page
take a look at the Filters "Farbe" -> "Color" -> "Farbe"

Seems like SSR generated page has correct translations -> then i18n loads default translation (which is english) and then loads the correct translation file again. Maybe we just must serve all supported languages (maybe just to make it possible in the config to mark which one's or load this information form config.storeViews during the compilation).
I know it's maybe not 10000% optimal regarding bundle size, but i18n blinking is not acceptable :)

https://stackoverflow.com/a/48967239
They don't use the default locale and fallbackLocale https://github.com/DivanteLtd/vue-storefront/blob/0fc92cbc5c0a9d5e18ee1c6f96f3d987308e3e38/core/lib/i18n.ts#L9-L10 like we do. We just need to remove that and wait until the language is loaded to set it, it will be more elegant


system.detached_parts is empty

Bug Report
Briefly describe the bug
CREATE TABLE test.lc (b LowCardinality(String)) engine=CnchMergeTree ORDER BY b;

INSERT INTO test.lc SELECT '0123456789' FROM numbers(100000000);

select * from system.cnch_parts where database = 'test'
  and table = 'lc' and part_type = 'VisiblePart';

alter table test.lc detach part 'all_449747826447220736_449747827104415748_1_449747838836932630'; -- detach a specific par

select * from cnch(server, system.detached_parts);

The query results are empty.
The result you expected
How to Reproduce
Version
0.4.0

This is an enhancement. We will enhance system.detached_parts soon.


Can't access /keybase/private/jessk,mlsteele

I just installed kbfs.
I can't read or write /keybase/private/jessk,mlsteele (permission denied) but I do have access to /keybase/private/jessk and public folders.
I also didn't see any tracking dialog when I tried to open /keybase/private/jessk,mlsteele
log dump id 9c2b1497aa5238e729a6ee1c

Ok, this is probably expected. It happened because mlsteele put a file in there, then went offline, then I installed keybase and tried to access the folder. Then mlsteele ran keybase and rekeyed, now I have access. I guess it would be nice if some UI indicated what's going on.

Hi @seveneightn9ne, thanks for the report.  You're exactly right, that's working as intended.  In the next major version, we're planning to have nice error popups when that happens, letting you know that misteele needs to come back online before you can access the folder.  Thanks for trying it out!


Fix typo

Github -> GitHub

@changeworld : Thanks for your contribution! The author, @diberry, has been notified to review your proposed change.

#sign-off


Extend deinit barriers to handle conversion to strong reference.

Plug a hole in the semantics of deinitialization barriers.
Adds strong_copy_(unowned|unmanaged)_value to mayLoadWeakOrUnowned.
Deinitialization barriers includes loads from weak references.
Converting an unowned or unmanaged reference to a strong reference
is the moral equivalent.
Fixes rdar://90909833 (Extend deinit barriers to handle conversion to
strong reference)
(cherry picked from commit 7d5e6b59986cfa44e14267e235ed9d43cea6ebd3)

@swift-ci test


3DGS-File trained with nerfstudio is not working with ue5.3

FYI
I trained a 3DGS-Modell with Nerfstudio which i loaded through your plugin to ue5.3 but the loaded Modell is super laggy and has fales colors. Somehow the turnaraound explained below fixed the problem:
SOLUTION: import it to blender with the gaussian-splatting addon from here:
https://github.com/ReshotAI/gaussian-splatting-blender-addon/blob/master/blender-addon/plyfile.py
and exporting it again. It creates a file with the same size than the original one from nerfstudio, but can now be loaded corretly to XV3DGS and ue5.3
thx for your work

I have the same problem here.. You found any solution for this ?
Thanks


WIP Utilize vector operations over scalar if possible

Closes #4085

It looks like the change in f16tof32() is causing a test failure.
// half-conversion.slang
//TEST:CROSS_COMPILE:-target spirv-assembly -entry main -stage fragment

cbuffer C
{
        uint4 u;
}

float4 main() : SV_Target
{
        return f16tof32(u);
}

I think we are deprecating "CROSS_COMPILE" mode.
And this test may not be valid anymore.
If it is still valid, I am gonna have to revert the changes in f16tof32().

There are more tests failing.
I should have tested before creating this PR.
Sorry about that.
I am gonna turn this into "draft" until it is ready for a review.

We should convert all failing CROSS_COMPILE into SIMPLE test with filecheck rules.
If we keep doing this, then eventually all cross_compile tests will be gone.


Can't build in a Nuxt 3 project

Hello!
Thank you for your amazing work. The plugin works perfectly in development but during build I have the following error:
ERROR  Error loading virtual:svg-icons-register: plugin load hook should return a string, a { code, map } object, or nothing/null

I use a Nuxt 3 project with Vite and load the plugin in a plugins/svg-icons.js (because I can't edit the main.ts file)  with:
import "virtual:svg-icons-register";

export default defineNuxtPlugin(nuxtApp => {
  // Nothing to do here for the moment...
})

Do you have any ideas?
Thank you!

Hi @Bisheng940924. I've just updated to the Nuxt 3.0.0-rc.3 and it fix the problem.
See https://github.com/nuxt/framework/issues/4821

@nkCreation thanks!


Extra long time-stretch for super slow motion video?

Looking at the commit in which you extended the stretch range from [0.5, 2.0] to [0.25, 4.0], I'm understanding that the limits don't come from just what's considered reasonable quality, but that the implementation depends on those limits, and changing them requires a reworking of the source code.
Am I right, or the current implementation could allow for extending the stretch for longer than 4x without changing the source?
My interest, as said in the title, would be for videos in super slow motion. Agreed, at longer than 4x, the audio you can expect is going to be quite weird, but I'd like to have it. Or maybe do you recommend another time-stretch code/algorithm for doing that?
I have no interest in stretching below 0.25x, because I'm talking about slow motion only. So, it's the 4x limit the only one I'd like to remove.

The basic algorithm (tdhs) only allows for a 2X stretch maximum. The change I made allows two instances of the algorithm to be cascaded to get to 4X. In other words, the first instance does a 2X stretch, and then we simply route the resulting audio to another independent instance to get to 4X.
The change you reference only allows for the creation of two instances, so there's no way to get more from the existing code without more changes. However, it would be trivial to create two instances outside the library and pipe the output of one into the next. Doing this would give you 16X stretch, and it could be extended indefinitely. Of course, like you suggest, it would sound very weird (to me it sounds like the audio is being piped through a hose).
Alternatively there are algorithms more suited for such extreme stretching (although they might not do well with small stretches, which this algorithm works well with). For example there is one called PaulStretch which is open-source and widely available.
Good luck!


Serialization of 'Illuminate\Http\UploadedFile' is not allowed

Hello,
I'm trying to upload file but getting Serialization of 'Illuminate\Http\UploadedFile' is not allowed error. One thing I'm using is form request instead of direct validation. This error comes when I upload image and keep required fields null then
Please suggest some way so that I can use form request and upload an image file.

Hmm, I'm not able to reproduce this, and this doesn't sound like an issue with Ping CRM directly. Are you maybe trying to do something like this?
Either way, closing this for now. If you can give me steps how to reproduce this in Ping CRM, I'd be happy to reopen. 👍


gpustack.cmd.start - CRITICAL - [WinError 32] Another program is using this file and the process cannot access it : 'C:\Users\win10go\pipx\venvs\gpustack\lib\site-packages\gpustack\third_party\bin\llama-box\tmp-llama-box\llama-box-v0.0.93-windows-amd64-cuda-12.4.zip'

I entered:
gpustack start --server  http://<IP_ADDRESS>  --token '8f64d4776bc46565f7f9c9855745eb9c' --port 20151
Then the system provides feedback:
PS C:\Users\win10go> gpustack start --server  http://<IP_ADDRESS>  --token '8f64d4776bc46565f7f9c9855745eb9c' --port 20151
2024-12-29T03:18:06+08:00- gpustack.cmd.start - CRITICAL - [WinError 32] Another program is using this file and the process cannot access it C:\Users\win10go\pipx\venvs\gpustack\lib\site-packages\gpustack\third_party\bin\llama-box\tmp-llama-box\llama-box-v0.0.93-windows-amd64-cuda-12.4.zip'
Cannot continue.
I think currently gpustack v0.4.1 (dbf71dd) is quite troublesome.
I am on a worker machine and it is difficult for me to join the cluster (cluster <IP_ADDRESS>). Ports are often occupied, and the default port is occupied by python.exe. I believe this is a gpusteck call. But this instance did not serve the purpose of joining the cluster.
I feel a bit overwhelmed, repeatedly reading the instructions on the official website.
---------------I installed it this way----------------------------
I installed it on server A <IP_ADDRESS> as follows:
1 Invoke-Expression (Invoke-WebRequest -Uri " https://get.gpustack.ai " -UseBasicParsing).Content
2 $env: HF_ENDPOINT = " https://hf-mirror.com "
3 Get-Content -Path "C:\Users\win10go\AppData\Roaming\gpustack\initial_admin_password" -Raw
4 Get-Content -Path "$env:APPDATA\gpustack\token" -Raw
I installed it on client worker machine B at <IP_ADDRESS> as follows:
1 Invoke-Expression "& { $((Invoke-WebRequest -Uri ' https://get.gpustack.ai ' -UseBasicParsing). Content) } -- --server-url  http://<IP_ADDRESS>  --token 8f64d4776bc46565f7f9c9855745eb9c"
There was no response, I tried entering: gpustack start --server  http://<IP_ADDRESS>  --token 8f64d4776bc46565f7f9c9855745eb9c
But usually the report 10150 or 10151 is occupied, so I have no choice but to enter: gpustack start --server  http://<IP_ADDRESS>  --token '8f64d4776bc46565f7f9c9855745eb9c' --port 20151
Then encountered a system error:
2024-12-29T02:42:18+08:00- gpustack.cmd.start - CRITICAL - [WinError 32] Another program is using this file and the process cannot access it C:\Users\win10go\pipx\venvs\gpustack\lib\site-packages\gpustack\third_party\bin\fastfetch\tmp\fastfetch-windows-amd64.zip'
I feel a bit overwhelmed, I hope the official can release a more user-friendly tutorial. Actually, the above are the steps I have tried repeatedly with the help of AI, but I still feel helpless and look forward to your help

Sorry for the bad experience. Could you help to provide some information in your environment?

Is the installation in server A <IP_ADDRESS> successful or not? Could you login to the web UI successfully?
You mentioned "I installed it on client worker machine B at <IP_ADDRESS> as follows: Invoke-Expression "& { $((Invoke-WebRequest -Uri ' https://get.gpustack.ai/ ' -UseBasicParsing). Content) } -- --server-url http://<IP_ADDRESS>/ --token 8f64d4776bc46565f7f9c9855745eb9c"There was no response", what does "no response" mean? Could you provide a screenshot for this or more detailed information?
If it reports 10150 or 10151 is occupied, it may because GPUStack service has already started so you don't need to manually start it.

pengjiang80, hi
424/10000
AI翻译
424/10000 AI translation is free today. Server A (<IP_ADDRESS>) is a CPU: i7 12650h； Memory: 96g; Graphics card: RTx40608g computer, successfully installed GPU stack, I successfully logged into webUI2. Machine B (<IP_ADDRESS>), as a worker, I will upload screenshot 3 later. I know that ports 10150 or 10151 are already occupied because gpustack itself has started an instance, but I don't know how to add the installed and started machine B (<IP_ADDRESS>) as a worker to server a. Therefore, I had to enforce the command and terminate it. Then I entered the command: gpustack start--s erverhttp://<IP_ADDRESS>-- Token '8f644776bc46556f7f9c9855745eb9c' - Port 20151 enforces the specification of a local port. I am using PowerShell instead of PowerShell ISE. Translation: Today's remaining free usage is 2Server A (<IP_ADDRESS>) with CPU: i7 12650h; Memory: 96g; graphics card: rtx 4060 8g computer, it successfully installed gpustack, I successfully logged in to the web UI2. Machine B (<IP_ADDRESS>) as a worker, I will upload the screenshot later3. I know that the port 10150 or 10151 is occupied because there is an instance of gpustack itself started, but I don't know how to add this machine B (<IP_ADDRESS>), which has been installed and started, as a worker to server A. So, I had to force through the order and terminate it.Then I entered the command:gpustack start --server http://<IP_ADDRESS> --token '8f64d4776bc46565f7f9c9855745eb9c' --port 20151Forcibly specify a local portI am using PowerShell instead of PowerShell ISE.

Server A (<IP_ADDRESS>) is a CPU: i7 12650h; Memory: 96g; graphics card: rtx 4060 8g computer, it successfully installed gpustack, I successfully logged in to the web UI

Machine B (<IP_ADDRESS>) as a worker, I will upload the screenshot later

I know that the port 10150 or 10151 is occupied because there is an instance of gpustack itself started, but I don't know how to add this machine B (<IP_ADDRESS>), which has been installed and started, as a worker to server A. So, I had to force through the order and terminate it.
Then I entered the command:
gpustack start --server http://<IP_ADDRESS> --token '8f64d4776bc46565f7f9c9855745eb9c' --port 20151
Forcibly specify a local port

I am using PowerShell instead of PowerShell ISE.

The Chinese meaning above is: Usually, each socket address (protocol/network address/port) is only allowed to be used once
I would handle this situation as follows:

Execute instructions: Get-Process | Where-Object { $_.Path -like "gpustack" } | Stop-Process -Force

2 Execution instructions: gpustack start --server  http://<IP_ADDRESS>  --token '8f64d4776bc46565f7f9c9855745eb9c' --port 20151
Still reporting errors:
ERROR:    [Errno 10048] error while attempting to bind on address ('<IP_ADDRESS>', 10150):  Usually, each socket address (protocol/network address/port) is only allowed to be used once.
2024-12-29T16:04:51+08:00 - gpustack.worker.worker - INFO - Worker has shut down.

At this point, I will turn off the 'GPUStack' service in the Windows service.

Re execute: gpustack start --server  http://<IP_ADDRESS>  --token '8f64d4776bc46565f7f9c9855745eb9c' --port 20151

At this point, the system provides feedback:
2024-12-29T16:11:04+08:00 - gpustack.worker.worker - INFO - Starting GPUStack worker.
2024-12-29T16:11:04+08:00 - gpustack.worker.worker - INFO - Serving worker APIs on <IP_ADDRESS>:10150.
2024-12-29T16:11:07+08:00 - gpustack.utils.task - ERROR - Error running watch_model_instances:  Failed to get current worker id.
2024-12-29T16:11:07+08:00 - gpustack.worker.worker_manager - INFO - Started RPC server for GPU 0 on port 50980,  pid 10532
2024-12-29T16:11:08+08:00 - gpustack.worker.exporter - INFO - Serving metric exporter on <IP_ADDRESS>:10151.
2024-12-29T16:11:09+08:00 - gpustack.worker.worker_manager - INFO - Registering worker:  win10go-pc
2024-12-29T16:11:09+08:00 - gpustack.worker.worker_manager - INFO - Worker win10go-pc registered.
I saw the join information of client B (<IP_ADDRESS>) as a worker on server A (<IP_ADDRESS>).
Finally succeeded!
But I know there is a problem with my operation. But where is the problem?

How did you install GPUStack in your worker? The script installation will create a Windows service named GPUStack. You can check this service by running services.msc. Normally it will start automatically and register the worker. You don't need to manually start GPUStack. And that's why I mentioned the port conflict may because GPUStack service is already running.
You can check the status of this service and find the log file at "$env:APPDATA\gpustack\log\gpustack.log"
If you want to manually start gpustack as worker, the parameter should be --server-url instead of --server.
For your case, my suggestion will be: use the standard method to install and start worker. If it doesn't work, let us know the error you got thus we can do further troubleshooting. The log includes:

The full log of the installation script.
The service log in "$env:APPDATA\gpustack\log\gpustack.log"

gpustack.log


gostreamdeck: Super Source:Super Source Background Styles are not matching PC and XML

Resolved in last commit


the file "torch_dct" NotFound

Hello, Great work! but I can not find the torch_dct file,can you upload it? Thank you a lot!

Thanks for your interest. Please check https://github.com/zh217/torch-dct for the package. I will make this clear soon in README.

Thanks a lot, I think there is no difference between the code
def get_dct_matrix(N):
dct_m = np.eye(N)
for k in np.arange(N):
    for i in np.arange(N):
        w = np.sqrt(2 / N)
        if k == 0:
            w = np.sqrt(1 / N)
        dct_m[k, i] = w * np.cos(np.pi * (i + 1 / 2) * k / N)
idct_m = np.linalg.inv(dct_m)
return dct_m, idct_m

and torch_dct?
Thanks a lot again.

Iterations (e.g., for k in xxx) may cause slow speed, hence I recommend you to check their implementation!

OK, I got it! Thansks a lot again!


is there a way to disable instrumentation?

Is istanbul instrumentation required for all tasks defined for this runner?
I'd like to calculate coverage for my default build, but not during a tdd cycle since the instrumentation is pretty slow. I tried the obvious things like setting coverage to false but it is still slow enough that I assume it is still taking the instrumentation hit.
Worst case, I can add a second mocha plugin, but I'd like to group the tasks under a single plugin definition.

sorry, the plugin is tied to coverage information, the test only happen so the source can be instrumented and coverage'd. all paths, regardless of options, use istanbul (be it the mocha_istanbul task or the check_coverage task)
one thing that you could do, and would be an awful hack IMHO, is to change the scriptPath to a passthrough node.js bin, that would take stdin and make it stdout or the command line after cover, so the executed task would be like node yourpassthrough.js cover node_modules/mocha/bin/_mocha -- test

ok no worries. i certainly don't need to go as far as hacking something together. i'll just add in another grunt plugin that can run mocha tests w/o the coverage. simply not as convenient as i was hoping for.
thank you for the quick response and clarification.

just noticed there's a task that does this (combines 2 grunt plugins into one)
https://github.com/smulyono/grunt-node-mocha
I know it's a bit late, but might serve for future reference :)


support for huge pages

This PR fixes #29 by injecting the fd backing the VMA in the DMA registration and then requests libmuser to mmap this fd. Apart from allowing huge pages to work in muser, it also avoids having to pin guest pages.
Because we no longer call vfio_pin_pages, VFIO no longer sends us the DMA unregistration event, we need to fix this (the problem is that we get overlapping/duplicates DMA regions).
Also, we might be injecting multiple times the same fd, so we might want to optimize that.
This PR also includes some other minor improvements.

I think it is important to vfio_pin_pages() which are behind the GPA, we cannot get rid of it as VFIO relies on that. After this change we will no longer be pinning those pages and then they can be swapped out anytime in between.

We do want the pages to be able to be swapped out, that was one of the key points raised during the talk. If we pin the pages then there's no memory overcommit etc.

I think the point was not to pin each dma regions, instead pin only when required. Without pinning the pages there is no guarantee that page will not be moved/swapped-out during the bi-directional IO to device. As per my understanding the DMA'ble area should always be pinned in memory.

I think the point was not to pin each dma regions, instead pin only when required. Without pinning the pages there is no guarantee that page will not be moved/swapped-out during the bi-directional IO to device. As per my understanding the DMA'ble area should always be pinned in memory.

The "device" in this case is libmuser, so if the page is swapped out and libmuser attempts to touch it then it will be swapped in. Are you referring to the scenario where libmuser has to send this request to an actual device?

Yes in case of real device. But now am also thinking do we need to obey those semantics even in case of virtual device?

Yes in case of real device. But now am also thinking do we need to obey those semantics even in case of virtual device?

Even if libmuser uses this memory for a real device, the kernel will pin that memory because it has been properly set up. So pinning is completely unnecessary in both cases.


Feat request: forwarding records unchanged to a producer client topic

We have many use cases where we consume a record from topic A and forward it unchanged to topic B (in some cases even to separate clusters), essentially relaying it.
This means in our handlers we need to set the consumed record topic to the actual target topic first, can't just blindly forward, e.g.
func(ctx context.Context, r kgo.Record) error {
    r.Topic = produceTopic
    return producer.Produce(ctx, r)
}

It would be handy to be able to configure the producer client to always produce to a given topic. Making r.Topic = produceTopic redundant.
Also, while the docs are clear about this, for newcomers like us, preferring the record topic over the value provided by kgo.DefaultProduceTopic resulted in forwarding the records back to the original topic producing lots of duplicates : ) when switching to this pkg. Therefore in-house we're considering adding an option like AlwaysUseDefaultProduceTopic for our kgo.Client wrappers to guard us against this in the future.
Has anyone had similar issues? And if yes, how did you handle it? Did you build anything specific?
Is there any appetite for adding a similar option to this pkg to tweak the final target topic?

I would love to use this library in a POC for a new service which relays records from the consumer assigned topic to a destination topic which's name is build dynamically.
Therefore, this is unfortunately also blocking me and I'll closely monitor this issue :)


Add order form for retreat

Update and edit the form for resgisteration for retreat
https://www.jotform.com/build/230816160501141?iak=cf0a8af64da45b93ef3a0b1d22e6254a-b16e2aa5e34031cb

@Erza123 @shejza I've added forms for each of the membership registration levels. they are linked from /membership/ (e.g. /membership/air)
The files for these are linked from the functions/membership folder.


New bversion?

Looking on https://github.com/json-parser/json-parser/compare/v1.1.0...master I think that it would be good to flush all those commits and make new release.

Duplicate of #82.


Advanced SAML token certificate signing options for Azure AD apps via GraphAPI

Please describe how this can be done via GraphAPI

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

ID: 8aac55fa-1799-ee74-543d-4f1477c024a0
Version Independent ID: 44e91059-fd03-ea15-5568-a708979b56f7
Content: Advanced SAML token certificate signing options for Azure AD apps
Content Source: articles/active-directory/manage-apps/certificate-signing-options.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @kenwith
Microsoft Alias: kenwith

@develerik, Thank you for sharing the query. Unfortunately, there is no such document available for the steps, and I am not aware of the graph api as of now. Let me do some research on this and get back to you with some more updates.

After much research I found a way how I could do it, maybe it will help you:
var policy = await graphClient.Policies.TokenIssuancePolicies
  .Request()
  .AddAsync(new TokenIssuancePolicy {
    DisplayName = "TokenIssuancePolicy",
    Definition = new[] {
      @"{
        ""TokenIssuancePolicy"": {
          ""TokenResponseSigningPolicy"": ""ResponseAndToken"",
          ""SamlTokenVersion"": ""2.0"",
          ""SigningAlgorithm"": ""http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"",
          ""Version"": 1
        }
      }",
    },
  });

await graphClient.Applications[applicationOid].TokenIssuancePolicies.References
  .Request()
  .AddAsync(new TokenIssuancePolicy {
    Id = policy.Id,
  });

@develerik, Thank you so much for sharing this information. Really appreciate it. Let me check this snippet out on my end. In the meantime, I would like to ask you if there is any more queries for us that you would want us to help you with. if not do update us so that we can close this thread out.

closing this thread for now.


nit: Logging Fixups

A few logging improvements I noticed while using simln (for my real world real job!!!!!) today 🧹

Can we take the chance to fix this?
https://github.com/bitcoin-dev-project/sim-ln/issues/78
The trace one may be tricky, given we want to log that fields as debug, but debug logs hashes as vectors, so we may need a custom serializer for that

Can we take the chance to fix #78?

Updated to terminate all logs with ., looks like there was only one raw bytes payment hash log left.
Also addressed post-merge comments from #83.

d7f3133 and 9bf1e53 can be squashed.
Needs rebase.
LGTM otherwise

Rebased + squashed!


Include HXCPP docs

@hughsando has recently written some great docs for HXCPP here:
https://github.com/HaxeFoundation/hxcpp/tree/master/docs
Unfortunately, these are not very easy to find / google. I think it would make sense to include them in the C++ section of the Haxe Manual? They use markdown, but I think the LaTeX sources of the Haxe Manual are converted to that anyway? So it'd probably not be too hard to include this in the build step somehow. Or is it a straight LaTeX -> HTML conversion?
Right now, the manual has very little information compared to the docs in the HXCPP repo, just compare the docs for defines for the two for instance:

https://github.com/HaxeFoundation/hxcpp/blob/master/docs/build_xml/Defines.md
https://haxe.org/manual/target-cpp-defines.html

The Haxe Manual version is just a dump of defines without any additional info on them, while the HXCPP docs have some very valuable additional details.
@pchertok Maybe this is something you'd be interested to look into?

Yes I can take care of this.

Well, he didn't...
@ibilon: Any smart ideas on how we could handle this? The documentation source should remain in markdown, but still look like it's part of the rest.

Do we want those as part of the latex/pdf output or just the website? The latter would be a lot easier.
If we do a table of content for them they should be easy enough to put into the generated markdown.
I'll look into it.

Just the website is fine.

A first version is on staging, but will need some more tweaking, a better doc and changing slightly the md files from hxcpp so that the formatting works.

Thanks a lot for looking into this!


367 enclose text with p tag

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after), along with a short summary of changes:
#367
Fixes #367
Changelog:
Please enter each change as a new bullet point
Test URLs:

Original: https://www.sunstar.com/
Before: https://main--sunstar--hlxsites.hlx.live/
After: https://$branch--sunstar--hlxsites.hlx.live/

Library

[ ] New Blocks introduced in this PR
If yes, please provide details below
Block Name : For e.g. cards

[ ] Documented in sidekick library

[ ] New variations introduced in this PR
Variation Name :  For e.g. cards (grid)

[ ] Documented in sidekick library

[ ] New mixins introduced in this PR
Mixin Name :  For e.g. compact, white

[ ] Documented in sidekick library

@ehrro  @sdmcraft  I have updated code to insert entire inner html within 'p' if there is a text directly under a div tag. Can you please check it.
https://367-enclose-text-with-p-tag--sunstar--hlxsites.hlx.page/jp/newsroom/20210825
https://367-enclose-text-with-p-tag--sunstar--hlxsites.hlx.live/jp/newsroom/20141020103486


Tree folder Translation

I am using angular tree v7.0.2, I want to translate displayField for some default folder in the tree, below is node content tag under #treeNodeWrapperTemplate template .
<tree-node-content [node]="node" [index]="index">
Please help.

Closing this issue due to inactivity. Please open a new issue if the problem still exists.


[feature] add plugin framework

Ⅰ. Describe what this PR did
which support executing custom code at plugin points like start and stop in life cyle of container and daemon
features:

at daemon start plugin point users can start dfget proxy and setup network plugins.
before daemon stop users can stop the assist processes we started
at create container users can change some attriubute passed in by request body, which enables we in our company convert parameters that used by scheduling system to pouch style.
before start a container users can add more pre-start hooks to runc which enables in our company we setup network qos rule and change some  at this point

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
@allencloud @rudyfly WDYT

Codecov Report

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

@@            Coverage Diff            @@
##           master    #919      +/-   ##
=========================================
- Coverage   13.66%   13.6%   -0.07%
=========================================
  Files         121     121
  Lines        7667    7701      +34
=========================================
  Hits         1048    1048
- Misses       6529    6563      +34
  Partials       90      90

Impacted Files
Coverage Δ

daemon/mgr/spec.go
0% <ø> (ø)
:arrow_up:

daemon/mgr/container.go
2.53% <0%> (-0.03%)
:arrow_down:

daemon/mgr/spec_hook.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@allencloud @rudyfly @HusterWan @Letty5411 please take a look at your earliest convenience, i'm eager to implement inner-company requirement via this plugin  framework.

Thanks a lot for your work. @yyb196
I am impressed at the code and document. I think this is very essential and helpful feature to bring open source pouch to some customized scenarios.
LGTM


Inspect variables by hovering over variable names in debug mode no longer works

VSCode Version: 1.8.0
OS Version: MacOS Sierra

Steps to Reproduce:

Install the Debugger for Chrome addon
Set up launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Chrome against localhost, with sourcemaps",
            "type": "chrome",
            "request": "launch",
            "url": "http://localhost:8080",
            "sourceMaps": true,
            "webRoot": "${workspaceRoot}"
        },
        {
            "name": "Attach to Chrome, with sourcemaps",
            "type": "chrome",
            "request": "attach",
            "port": 9222,
            "sourceMaps": true,
            "webRoot": "${workspaceRoot}"
        }
    ]
}

Run application in debug mode, and set breakpoints
Execution pauses as expected, but you can no longer inspect variables by hovering over them (this used to work with version 1.7)

Will handle in https://github.com/Microsoft/vscode-chrome-debug/issues/309


Siesta framework building

The Siesta has one scheme that somehow creates two .framework file: Siesta.framework and SiestaUI.framework when I build it with carthage, but with Punic it only produces the SiestaUI framework.
Cartfile
github "hyperoslo/Whisper"
github "onevcat/Kingfisher"
github "marmelroy/PhoneNumberKit"
github "marmelroy/Interpolate"
github "Alamofire/Alamofire"
github "mxcl/PromiseKit"
github "realm/realm-cocoa" ~> 2.1
github "bustoutsolutions/siesta"
github "JohnSundell/Unbox"

Cartfile.resolved
github "Alamofire/Alamofire" "4.2.0"
github "marmelroy/Interpolate" "0.4.0"
github "onevcat/Kingfisher" "3.2.4"
github "marmelroy/PhoneNumberKit" "1.2.1"
github "mxcl/PromiseKit" "4.1.3"
github "JohnSundell/Unbox" "2.3.0"
github "hyperoslo/Whisper" "4.0.0"
github "realm/realm-cocoa" "v2.1.2"
github "bustoutsolutions/siesta" "1.0.1"

Sorry for all the issues, but I trying to switch to punic since Carthage is very slow for our setup, especially on the CI machine. If I can help somehow pls tell me, but since I don't have a lot of python experience I can't quite debug the code. Maybe there is some sort of starter task?!  😊

I've check the build folder and the Siesta.framework file is there, but it doesn't get copied over to the Carthage/Build/iOS folder. The path to the Siesta.framework folder also doesn't appear in the build output. Maybe all the file from the build output folders have to get copied/moved into the Carthage folder?!

Yeah you seem to have nailed it. Looking into this. It could be the code assumes one scheme = one build product.
Siesta has two build products for the iOS scheme. As you pointed out they both build.

So yeah that's the problem. Code stupidly believes that one build of a scheme = 1 build product. unfortunately xcodebuild isn't necessarily able to give us the info we need. It only returns the data for one of the builds (I presume the first).
Will try and find a good solution for this.

OK https://github.com/schwa/punic/tree/jwight/issue_39 seems to fix it. It complicates the post processing step quite a lot but I don't think it should cause issues. I'll test this well before merging into master. Thanks for finding a pretty serious bug!


Hamburger menu on mobile is barely visible when using dark mode

A user reported that the hamburger menu on mobile is not visible when using the browser (brave) in dark mode. See below:

not a bug, extension issue


CS lime-160, Wrong Calculation of _maxPossible in CreditLine

Description
The calculateBorrowableAmount computes _maxPossible as follows:
uint256 _maxPossible = _totalCollateralToken.mul(_ratioOfPrices) .div(creditLineConstants[_id].idealCollateralRatio).div(10**_decimals);

The decimals of the variables above are listed: • _totalCollateralToken is in collateral token's decimals. • ratioOfPrices is in 30 decimals. • idealCollateralRatio is in 30 decimals. • _decimals is equal to 30. A simplified version of the above formula with corresponding decimals in square brackets is: _maxPossible = (_totalCollateralToken[x] * ratioOfPrices[30])[y] / (idealColl ateralRatio[30] * 10 ^ 30), where x is the decimals of the collateral token and y is the decimals of borrow token. This shows that the result has y - 30 decimals instead of y.
Integrations Checklist

[ ]  Have any function signatures changed? If yes, outline below.
[ ]  Have any features changed or been added? If yes, outline below.
[ ]  Have any events changed or been added? If yes, outline below.
[ ]  Has all documentation been updated?

Changelog

Fixing the calculation of _maxPossible variable in Creditline.sol

Event Signature Changes
Function Signature Changes
Features
Events

Codecov Report

Merging #278 (cccd24c) into v1-alpha (b4e9cf6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           v1-alpha     #278   +/-   ##
=========================================
  Coverage     38.82%   38.82%
=========================================
  Files            16       16
  Lines          1749     1749
  Branches        323      323
=========================================
  Hits            679      679
  Misses         1070     1070

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 b4e9cf6...cccd24c. Read the comment docs.

Fix tests

Merging with v1-alpha fixes the tests

Fix is already applied in a different commit


Add Clojure artifact inclusion information

Add Clojure artifact to the sidebar.
We currently have the Leiningen that works for parts of the Clojure community, but it's been a while that Clojure offered its own official solution for dependencies, which you can learn more about at: https://clojure.org/guides/deps_and_cli
I wanted to test this but I was unable to figure how to hook the data, if somebody can help me figure that part I'll be glad to send an image.

I just filled the CLA, it will detect it automatically?


Changelog

Create 2 repos, api and html, after each version update these repos with the changes  and tag them… so the user will be able to see the diffs between versions

https://github.com/lazaronixon/authentication-zero/issues/5


tutorial log length=0

I am stuck at this point in the tutorial https://github.com/hypercore-protocol/p2p-indexing-and-search/blob/main/problems/06.md
I assume I am doing something wrong here but the length is 0 for me.
// Run this file with the hyperspace-simulator
// hyperspace-simulator index.js

const { Client } = require('hyperspace')

const STATS_CORE_KEY = '309ba1736cc5af2940fc9fb03d256547b78ca9972ce4398648a7d7782d31ad4b'

main()

async function main() {
  const { corestore, network, replicate } = new Client()
  const store = corestore()
  const statsCore = store.get({ key: STATS_CORE_KEY, valueEncoding: 'json' })
  await statsCore.ready()
  console.log({ statsCore })
  console.log('length:', statsCore.length)
}

$ hyperspace-simulator index.js
{
  statsCore: RemoteHypercore(
    key: 309ba1736cc5af2940fc9fb03d256547b78ca9972ce4398648a7d7782d31ad4b
    discoveryKey: a33d9da0369f1d04200b81b815d4e4e1f03086532d5555aca5623fddbb682c3b
    opened: true
    writable: false
    length: 0
    byteLength: 0
    peers: 0
  )
}
length: 0

It looks like all peers of the core 309ba1736cc5af2940fc9fb03d256547b78ca9972ce4398648a7d7782d31ad4b are off now.

Can confirm that all three remote cores from the tutorial are no longer being seeded (at least at the moment). I'll open another issue to clarify this for future users.


Suggestions for TDS docs

Split up “Connecting your Validator” into a connecting and a staking section
Add a link to the network explorer in the “Monitoring your validator” section since that’s also a mechanism to monitor the state of your validator
In the "Monitoring your validator" section the description of solana get-slot isn't clear whether the slot returned is the validator's or the cluster's.  Expanding this description to describe how to get both would help.
The staking docs talk about staking once the validator has caught up but doesn't describe or link to info about how to know when its caught up.
Mentioning solana-keygen pubkey <file> would help folks know how to get the exact form of their keys that match spy and the network explorer output

Closed by https://github.com/solana-labs/tour-de-sol/commit/3290ad2eea00ace774fad3fb9ae49fbfa728c253


Refactoring the evaulation of RetrievalModel

Fixes # (issue)
Goals :soccer:

Implementation Details :construction:

Testing Details :mag:

@marcromeyn I have reproduced some experiments with this refactory of the Retrieval models evaluation.
The final metrics computed with model.evaluate(dataset, item_corpus=dataset, ...)match the eval metrics I have got with the previous version, which is great. Also noticed that the model.fit() is much faster now for the first batch (as the logic to prepare the  TopKIndexBlock is now only done in model.evaluate(). I also noticed the run times dropped in about 2 min (e.g. 12->10, 13->11) with your changes.
P.s. I could not check the validation metrics during training (when you provide validation_data to model.fit()), because there is a bug (reported by me in my previous comment).


Adds some keypair tests

Codecov Report

Merging #12 (b49ef3d) into main (2e486f4) will increase coverage by 11.08%.
The diff coverage is 100.00%.

:exclamation: Current head b49ef3d differs from pull request most recent head 4b785a2. Consider uploading reports for the commit 4b785a2 to get more accurate results

@@             Coverage Diff             @@
##             main      #12       +/-   ##
===========================================
+ Coverage   55.49%   66.57%   +11.08%
===========================================
  Files           6        6
  Lines         355      377       +22
===========================================
+ Hits          197      251       +54
+ Misses        158      126       -32

Impacted Files
Coverage Δ

src/keypair.rs
82.53% <100.00%> (+82.53%)
:arrow_up:

src/ecc_compact/mod.rs
67.36% <0.00%> (+2.10%)
:arrow_up:

Continue to review full report at Codecov.

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


Update to nushell 0.90

See https://www.nushell.sh/blog/2024-02-06-nushell_0_90_0.html#breaking-changes-toc and https://github.com/nushell/nushell/pull/10955 for the one breaking change.
Also updated the cargo lockfile.

Thanks!


Add documentation for the range mode.

The new documentation makes no mention of the range mode and includes no examples.
If intentional, this issue can serve as a reminder to add it back when you feel it is ready for mainstream. :)

https://chmln.github.io/flatpickr/#example-range


Diff tolerance default changed to zero

https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/81

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy


Add my first file

I have created a new branch,created a file, and made a commit

Merge pull request


pip installable

@swevm any roadmap to make this installable by pip?

Once a stable v0.3x version I can put it into pip.
Atm there are inconsistencies and unknown bugs that need to be fixed to get to a stable enough verison.

sounds good, just curious


[staging-next] pythonPackages fixes

Motivation for this change
some package fixes
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

I also had tbm-utils, audio-metadata, and one other, but you already got to them :)

I'm going to do a few more package fixes if you don't mind. Don't merge for a little while :)

Pyro4 build fails with the following for me:
$ nix-shell -I nixpkgs=. -p python3Packages.Pyro4

...

=================================== FAILURES ===================================
__________________________ TestSSL.testContextAndSock __________________________

self = <PyroTests.test_socket.TestSSL testMethod=testContextAndSock>

    def testContextAndSock(self):
        cert_dir = "../../certs"
        if not os.path.isdir(cert_dir):
            cert_dir = "../certs"
            if not os.path.isdir(cert_dir):
>               self.fail("cannot locate test certs directory")
E               AssertionError: cannot locate test certs directory

tests/PyroTests/test_socket.py:568: AssertionError
=============================== warnings summary ===============================
tests/PyroTests/test_socket.py:375
  /build/Pyro4-4.75/tests/PyroTests/test_socket.py:375: PytestCollectionWarning: cannot collect test class 'TestDaemon' because it has a __init__ constructor (from: tests/PyroTests/test_socket.py)
    class TestDaemon(Daemon):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
= 1 failed, 602 passed, 20 skipped, 6 deselected, 1 warnings in 77.65s (0:01:17) =

are you on darwin?

@jonringer no:
``
$ nix-info
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.1, channels(user): "", channels(root): "nixos-20.03pre198214.4cd2cb43fb3, nixos-hardware", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

@GrahamcOfBorg build python27Packages.Pyro4 python37Packages.Pyro4 python38Packages.Pyro4

@prusnak do you have an overlay present? ofborg was able to build on aarch-linux

hmm no ...

seeing as these builds are broken on staging-next, I'm going to merge, worse case, their still broken for some.


[3.x] Add shape data to Bullet Area overlap data.

3.2 version of  #42711.

Closing for now as #42711 can probably be cherry-picked directly.

Reopening as this does warrant a dedicated 3.x PR as seen in https://github.com/godotengine/godot/pull/42711#issuecomment-974630342 - and generally speaking since Bullet doesn't build in master, we might want to exceptionally reverse our usual workflow and merge changes in 3.x first, and then forward port to master.

Thanks!