The build fails with an error.

g++ -g -std=c++2a -Isrc -Wall -Wextra -Wpedantic -MM -MG -MMD -MP -MF target/dependencies/jurand.mk -MT target/object_files/jurand.o -o /dev/null src/jurand.cpp
g++ -g -std=c++2a -Isrc -Wall -Wextra -Wpedantic -MMD -MP -MF target/dependencies/jurand.mk -MT target/object_files/jurand.o -c -o target/object_files/jurand.o src/jurand.cpp
In file included from src/jurand.cpp:8:
src/java_symbols.hpp: In function 'std::string java_symbols::handle_file(const Path_origin_entry&, const Parameters&)':
src/java_symbols.hpp:633:41: error: 'osyncstream' is not a member of 'std'; did you mean 'ostringstream'?
  633 |                 auto osyncstream = std::osyncstream(std::cout);
      |                                         ^~~~~~~~~~~
      |                                         ostringstream
src/java_symbols.hpp:653:22: error: 'osyncstream' is not a member of 'std'; did you mean 'ostringstream'?
  653 |                 std::osyncstream(std::clog) << "Removing symbols from file " << path.native() << "\n";
      |                      ^~~~~~~~~~~
      |                      ostringstream
make: *** [Makefile:21: target/object_files/jurand.o] Error 1

gcc version 13.2.0

This is really strange, GCC 12 and newer should have osyncstream included. What operating system are you using? This looks like something is wrong with your system header files.

This is really strange, GCC 12 and newer should have osyncstream included. What operating system are you using? This looks like something is wrong with your system header files.

Rosa Linux. yes we need to look at what is the problem with gcc

Since the error message is not about include file <syncstream> not being found but about the class itself. Looks like it is either not present at all or is behind some #ifdef.

it's funny but issue lays in --with-default-libstdcxx-abi=gcc4-compatible in gcc configure options
looks like gcc bug

If it helps you, there is a Rust version of this project in the branch rust. AFAIK it behaves identically, at least on success.

If it helps you, there is a Rust version of this project in the branch rust. AFAIK it behaves identically, at least on success.

thank you.Let's know what jurand is on rust.Bug with gcc fixed

@blackcross86 Did you resolve your issue?

@blackcross86 Did you resolve your issue?

yes, the problem can be closed.Thanks


chore: sementic release

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update to 5.0.0

5.0.0
Endpoints

[x] Compute identifier from media URL (#145)
[x] Refactor authentication

[x] Add Secret accessories into Authenticator

[x] Refactor Endpoint.Direct

[x] Approve conversation requests
[x] Decline conversation requests
[x] Delete a conversation
[x] Invite users to a conversation
[x] Leave a conversation
[x] Mute a conversation
[x] Send a text message in a conversation (#122)
[x] Update a conversation title
[x] Unmute a conversation
[x] Delete a message
[x] Mark a message as watched

[x] Refactor Endpoint.Location

[x] Fetch recent and highest ranked posts

[x] Refactor Endpoint.Saved (#169)

[x] Add saved collections support
[x] Save posts to specific collection

[x] Refactor Endpoint.Tag

[x] Fetch recent and highest ranked posts
[x] Watch recent stories
[x] Follow a specific tag
[x] Unfollow a specific tag

[x] Refactor Endpoint.User and Endpoint.Friendship

[x] Fetch user info by (exact) username
[x] Mute a user's posts or/and stories

Examples

[x] Add Authenticator app to allow anyone to rely on SwiftagramTests
[x] Update Followers example
[x] Examples now rely on local packages

Other enhancements

[x] Refactor for the new ComposableRequest
[x] Expose ComposableStorage and ComposableStorageCrypto directly to Swiftagram and SwiftagramCrypto, respectively
[x] Update default Client to be an iOS device (#138)
[x] Update docs

Bugfixes

[x] Improve Facebook login reliability for visual authenticator (fixes #157)
[x] Hide "Unsupported browser" notice when logging in with Facebook (fixes #180)

Known issues

Uploading videos to stories might not work

/release 5.0.0

/release 5.0.0

/release 5.0.0


Falcon7b prefill remaining fixes and cleanup after enabling optimized version

[ ] Segfault for 1k and 2k prefill on multi-device (single run) and single device (when run in a loop): https://github.com/tenstorrent/tt-metal/issues/8644
[x] Async mode (not all ops used in optimized prefill support async mode)
[ ] Make model initialization agnostic to sequence length
[ ] GS path - decide whether to use the optimized version for GS and if so make it work
[ ] Use appropriate memory config configuration (l1 sharded?)
[ ] Resolve lm head e2e perf impact
[ ] Push PCC to 0.99: [issue](https://github.com/tenstorrent/tt-metal/issues/8487)
[ ] Reduce memory usage of e2e tests - the 2k test uses up to 80gb ram for some reason; try to run PyTorch and tt model sequentially

[ ] Check that all MMs have optimal settings (sunblock_h/w,, in0_block_w) following di/dt fixes (attention, MLP, LM head matmuls)
[ ] Check if any more sharding is possible throughout model

[ ] remove persistent kernel cache usage
[ ] put optimized attention on CI
[ ] unify paths for 128/1024/2k and other sequence lengths
[ ] perf breakdown

[ ] Use bfp8/bfp4 for attention mask. Currently we have softmax per slice running at ~350k ns. Using bfp8 attention mask brings that down to ~186k, and bfp4 further optimises it to ~171k. This improves attention by ~2ms/layer @2k seq len.

[ ] Use sharded layernorm instead of layernorm->bcast->bcast


Update vendor of Buildah and imagebuilder

Fixes the testing issues we are hitting.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

/retest

LGTM

LGTM

/lgtm


secret milvus-operator-webhook-cert not found

when use helm to install milvus-operator.tar.gz, secret milvus-operator-webhook-cert can not be found

@xxyp It's not created immediatelly. There's a check Job which will create the secret milvus-operator-webhook-cert for you in a couple of minutes.
Could you provide more info?  Such as your install command, logs etc...


Bad order in toString()

Hi,
I'm trying to convert JSON from/to String as follows:
    String myJSONString = "{\"user\":\"myuser\",\"pw\":\"mypass\",\"log\":true}";
    System.out.println(myJSONString);
    Json json = Json.read(myJSONString);
    System.out.println(json.toString());

That is, I expect that myJSONString.equals(json.toString()) returns true, but it does not.
The values that System.out.println() show are:
{"user":"myuser","pw":"mypass","log":true}
{"log":true,"pw":"mypass","user":"myuser"}
For myJSONString and json.toString(), respectively. Therefore, json.toString() inverts the string. Is this a bug? I want to load/store the same JSON string from/to disk several times but due to this behaviour I'm not able to do that.
PS: The problem is that next time I load the MyJSONString from this it cannot be validated using the JSON schema.

The implementation uses a Java HashMap underneath and the toString implementation will simply order it the way the HashMap.iterator() does, which is not guaranteed to be the same. In fact often it is not the same and people use a LinkedHashMap which links the elements in a predictable order for iteration. But in this case the overhead is not justified. JSON.toString is for display purposes, otherwise the Json objects themselves should be compared.

OK. Thank you so much.


Can't undo and redo in TextBox

I feel like this might be a Roblox issue. I wonder if this can be fixed using events.

This is a Roblox issue. I can see about making a custom textbox later.

Nah, I'll just replace the entire thing with ContentScripts.


Token filters - hunspell [DOC]

What do you want to do?

[ ] Request a change to existing documentation
[x] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Create a separate page for Token filter: hunspell
Part of META issue: https://github.com/opensearch-project/documentation-website/issues/1483
*Version: all

@natebower I can take this one

Parking this for now, as it would need to reference token filters not which have not yet been expanded on

@Naarcha-AWS I can take this one

@Naarcha-AWS Thank you for the offer, but this topic has been assigned to @kolchfa-aws, who will be handling it. I will be assigning the contractor-created PRs to the doc reviewers. If you have any questions regarding the PR doc review tasks, please coordinate with me directly. I appreciate your understanding.


perf(#599): reimplement quarantine_filter for lazyframes

Merge activity

Jan 15, 1:32 PM: @MartinBernstorff merged this pull request with Graphite.


feat: flatpaksync module

flatpaksync Module for Startingpoint
The flatpaksync module can be used to synchronize user-installed flatpaks into a gist.
To activate it, simply follow the example below:
Example configuration
- type: flatpaksync
  enable: true

Once the module is activated, users can create a file $HOME/.config/flatpaksync/env informing the repository that will be used to synchronize their apps in the POSIX standard:
GIST_REPO=<YOUR_REPO>

If the user has not yet installed their flatpaks and has already done the step above, simply use the flatpakcheckout binary to perform the installation and start the synchronization.
If the user has already configured their repository in the $HOME/.config/flatpaksync/env file but already has their flatpaks installed, simply create the $HOME/.config/flatpaks.user.installed file to start the synchronization.

Will look closer at this and the other flatpak-related PR probably tomorrow, but

Why just gist, why not just a raw URL to a file that could be anywhere?
Since this takes in no recipe.yml configuration, shouldn't this be inside the bling module and not a module unto itself?

Will look closer at this and the other flatpak-related PR probably tomorrow, but

Why just gist, why not just a raw URL to a file that could be anywhere?
Since this takes in no recipe.yml configuration, shouldn't this be inside the bling module and not a module unto itself?

Okay, I'm waiting for the review.
About the questions:

It needs to be a repository, actually. I use a gist because I think it's simpler, but there's nothing stopping it. So, when a flatpak is installed, the repository will be checked out and the flatpak.list file will be updated (or created, if it doesn't already exist).

Good idea, I didn't think of that. I will make the adjustment and let you know as soon as I commit.

Done, @xynydev, refactoring available for review.

With 6fdfffc and 462a12f I moved the documentation for flatpaksync to the bling module's README such that it shows up on the ublue website.

Does the new documentation look good? I'm ready to merge whenever. Actually, it'll take a while for ublue-os/website to even pick this up, so I'll just merge, and we'll change the docs if there's errors, alright,


Setup a monitoring tool to get javascript errors

As a developer, I would like to be alerted on when my users get javascript errors.

sentry.io

Sent emails to a few of the vendors, probably going to go with the one that offers us the best free account.

Dup of #462 ?

whoops...
Duplicate of https://github.com/findthemasks/findthemasks/issues/462


feat: Show the content of a post when notifying Slack

Closes #47
Demo
Slack notification

Beam post

Changes

Uses the mack (markdown to slack) package to convert Markdown to Slack blocks

Hi @marissamarym, thanks for taking the time to implement this and submit a PR.
For now, we'd prefer to keep the Slack notifications lightweight and simple. Would you be interested in updating your code to generate the same sort of summary snippet that is shown on the listings page? I think it's as simple as pulling the first tag out of the content.

Hi @marissamarym, thanks for taking the time to implement this and submit a PR.
For now, we'd prefer to keep the Slack notifications lightweight and simple. Would you be interested in updating your code to generate the same sort of summary snippet that is shown on the listings page? I think it's as simple as pulling the first tag out of the content.

Sure! I changed it so it just takes the first element and does some light filtering of the elements so it's not previewing the first H1.

How closely should I match the listings page? I can add filters for the same elements ['p', 'ul', 'ol', 'h3', 'pre', 'img']. And should I add a Continue reading > tag when there's more content?

Thanks @marissamarym. I think this is great as-is.
@bogdansoare Would you mind giving this a review before merging? 🙏🏼

Hey @marissamarym. Thank you for opening this PR ❤, adding the summary to the slack notification would be a nice addition.
The only issue that I see is in regards to the dependencies of mack, because of the usage of remark and rehype, the package size is quite big https://bundlephobia.com/package/<EMAIL_ADDRESS>We decided not use those libraries for markdown and go for marked because of it's smaller size and speed.
It would be great if you could find an alternative that is either based on marked or something smaller in bundle size.

Hey @marissamarym. Thank you for opening this PR ❤, adding the summary to the slack notification would be a nice addition.
The only issue that I see is in regards to the dependencies of mack, because of the usage of remark and rehype, the package size is quite big https://bundlephobia.com/package/<EMAIL_ADDRESS>We decided not use those libraries for markdown and go for marked because of it's smaller size and speed.
It would be great if you could find an alternative that is either based on marked or something smaller in bundle size.

Sorry for the delay on this, our team is currently working on improving mack as well as some of our other projects to be smaller and use marked. If it works for you, we could close this PR and I'll open another when that's ready

@marissamarym No worries at all. Feel free to close this and open another anytime. :thumbsup:

We recently upgraded mack to be ~1/4 the size and it uses marked now: https://bundlephobia.com/package/<EMAIL_ADDRESS>


Issue with list order for nested dictionaries when using 'sort_lists'

Coverage decreased (-0.2%) to 99.778% when pulling ab4ec626801d4c2f4b822d583c50767cea623c0a on validation_order into bcb64186b7b0b592d4f5fcbda15868b97b66168b on master.


Prioritize long press characters on French keyboard

Long press on many characters displays alternative characters in a weird order. For instance

"a" displays 1àá@âã.
"e" displays 3èé€ê
There should be some logic in order of appearance. The a should display in order of character frequency<EMAIL_ADDRESS>The e eéèê€...
It is annoying to have numbers first.
Thanks

I am only taking about French keyboard where the accented characters are very frequent. Thanks.

Yes, that is the one I considered too. I used another keyboard for a while and I found this default behaviour very practical. That is actually one feature that made me choose AnySoftKeyboard over AOSP.
Maybe it is just something to get used to (either way).
It may also help if one can choose the long press delay in order to access accented characters faster, I don't know it this is possible with AnySoftKeyboard.

Hi,
Really annoying to have numbers too in French, we really use accents more often than numbers and it prevents me from adopting this keyboard :(
Don't you think there could be a variant ?
Thanks

#253 is merged and published.


PowerPc Error: Decompilation of file xx.bin.bc failed

Hi,
i did tried several settings to decompile PowerPC codeFlash without success. File in binnary and hex format have already s3rvac(i want share it public). --no-memory-limit already tried too. Logs attached.
logPowerPcRetDec.zip

Hi, thank you for the report. From the logs, the decompilation fails with
Running phase: removing functions prefixed with [__decompiler_undefined_function_] ( 232.39s )
Error: Decompilation of file C:\Users\User\Desktop\LF\retdec\bin\c_flash.bin.bc failed

This is most probably the same situation as in #47 (insufficient stack space). I will try decompiling the file on Linux with increased stack size and will let you know if this is indeed the same issue or a different one.

I was able to decompile the file via the provided command on Linux with the current master version of RetDec when increasing the available stack space. I have sent you the output via email. I am closing the issue as a duplicate of #47. See this comment for possible workarounds.

Thanks for solution and output.


Fix proposed enhancement #780

This will allow the user to specify the username that ssh will use to access the images
that are spawned.
The default username is 'ubuntu' but allow the user to override with --openstack_image_u
This change is specific for Openstack clouds
- Ubuntu this is usually "ubuntu".
- RHEL uses cloud-user

Thanks! One minor comment.

Just to be clear. You don't want the "Defaults to ubuntu" to be part of the help message?
Might be an hour or two before I can make that change.
Sent from Yahoo Mail on Android
On Fri, Jan 8, 2016 at 7:35 AM, Connor<EMAIL_ADDRESS>wrote:
Thanks! One minor comment.
—
Reply to this email directly or view it on GitHub.

Exactly. Let me know if it's too much trouble - we can merge this and
update.
On Fri, Jan 8, 2016 at 7:41 AM, lwatta<EMAIL_ADDRESS>wrote:

Just to be clear. You don't want the "Defaults to ubuntu" to be part of
the help message?
Might be an hour or two before I can make that change.
Sent from Yahoo Mail on Android
On Fri, Jan 8, 2016 at 7:35 AM, Connor<EMAIL_ADDRESS>wrote:
Thanks! One minor comment.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/788#issuecomment-170034516
.

--
Connor McCoy | Software Engineer |<EMAIL_ADDRESS>|<PHONE_NUMBER>

No issue just won't have laptop access for a bit
Sent from Yahoo Mail on Android
On Fri, Jan 8, 2016 at 7:47 AM, Connor<EMAIL_ADDRESS>wrote:   Exactly. Let me know if it's too much trouble - we can merge this and
update.
On Fri, Jan 8, 2016 at 7:41 AM, lwatta<EMAIL_ADDRESS>wrote:

Just to be clear. You don't want the "Defaults to ubuntu" to be part of
the help message?
Might be an hour or two before I can make that change.
Sent from Yahoo Mail on Android
On Fri, Jan 8, 2016 at 7:35 AM, Connor<EMAIL_ADDRESS>wrote:
Thanks! One minor comment.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/788#issuecomment-170034516
.

--
Connor McCoy | Software Engineer |<EMAIL_ADDRESS>|<PHONE_NUMBER>
—
Reply to this email directly or view it on GitHub.

@lwatta, I see you pushed an update to address @cmccoy's comment. We can respond faster if you also post a comment when you push an update (with default settings, this triggers an email notification).
The PR in its current state looks good to me, so I'll merge it in. Thank you for contributing!


app crashes immediately on startup after install "admobpro" plugin with "pushbots" plugin

Using Cordova V 7.1.0
1- when using "admobpro-firebase" plugin with "pushbots" plugin, build done successfully - but app didn't work. it just display message "Unfortunately, App has stopped" and exit.
2 when using "admobpro" plugin with "pushbots" plugin, build failed with this error
1>MSBUILD : cordova-build error : Execution failed for task ':transformClassesWithDexForDebug'.
1>MSBUILD : cordova-build error : > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/api/internal/zza;

I have the same problem brother what's the solution please!!!!

nothing from my side can i do brother. i still wait the owner for the solution @floatinghotpot

Same here, app keeps crashing right after start when cordova-plugin-admobpro is installed.
Plugins installed in my project:
cordova-plugin-admobpro 2.31.6 "AdMob Plugin Pro"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-extension 1.5.4 "Cordova Plugin Extension"
cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.2.0 "cordova-plugin-ionic-webview"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.4.1 "SocialSharing"
es6-promise-plugin 4.2.2 "Promise"

See the temporary solution here:
https://github.com/floatinghotpot/cordova-admob-pro/pull/650/commits/05e1dbc71c75bdafda8fcf74d6c6dbbd1e3e0fd9
in plugin.xml, change:

to:

I will find better solution later, but you can use this one for now.

the plugin has been modified to resolve this issue.
try update the plugin to<EMAIL_ADDRESS>

Remember to edit \platforms\android\app\src\mainAndroidManifest.xml with this changement:
https://developers.google.com/admob/android/quick-start#update_your_androidmanifestxml
And notice that it's the ADMOB APP ID and not the ADMOB AD ID.

hello
today (11-14-2018) i publish my app in google play , but the support don't accept my app cause this problem
Issue: Violation of Interfering with Apps, Third-party Ads, or Device Functionality policy
Ads should not be shown in a way that results in inadvertent clicks. For example, we don’t allow:  Interstitial ads that appear after the user has exited the app (screenshot included)
i use this plugin of admobpro , and this is the firt time that i get this problem because i  upadte the plugin today
please help me

Can someone please tell the resolution of the issue. My app still getting crashed after updating to
2.32.6
// config.xml
<plugin name="cordova-plugin-admobpro" spec="2.32.6" />
package.json
"@ionic-native/admob-pro": "^4.18.0",
    "cordova-plugin-admobpro": "2.32.6",

Still getting following error
ava.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:

******************************************************************************
* The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers    *
* should follow the instructions here: https://goo.gl/fQ2neu to add a valid  *
* App ID inside the AndroidManifest. Google Ad Manager publishers should     *
* follow instructions here: https://goo.gl/h17b6x.                           *
******************************************************************************

	at android.app.ActivityThread.installProvider(ActivityThread.java:6111)
	at android.app.ActivityThread.installContentProviders(ActivityThread.java:5587)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5526)
	at android.app.ActivityThread.-wrap2(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1624)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:163)
	at android.app.ActivityThread.main(ActivityThread.java:6378)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:791)
Caused by: java.lang.IllegalStateException:

******************************************************************************
* The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers    *
* should follow the instructions here: https://goo.gl/fQ2neu to add a valid  *
* App ID inside the AndroidManifest. Google Ad Manager publishers should     *
* follow instructions here: https://goo.gl/h17b6x.                           *
******************************************************************************

@floatinghotpot help to resolve this issue my all apps are now crashing due to this error.


chore: add workflow for Node.js 19

Signed-off-by: Michael Dawson<EMAIL_ADDRESS>

@RafaelGSS thanks, fixed.


Request failed with status code 404 using gpt-4-32k

Describe the bug
I would like to use the gpt-4-32k model to create a chat completion, but I always receive the following error message.

Request failed with status code 404

Is this model not supported? I read in the api documentation that it should work, right?
To Reproduce

createChatCompletion using the gpt-4-32k model

Code snippets
this.openai.createChatCompletion({
  model: 'gpt-4-32k',
  ..
});

OS
macOS
Node version
nodejs16.x
Library version
3.3.3

gpt-4-32k is not yet generally available.


Will you continue writing the book ?

I was reading your very interesting book and I was wondering if you will continue the book

Leave this book , i have been waiting for him to finish this book for over an year. I give Up now.
I found better tutorials here http://wiki.osdev.org/Main_Page
And they are better than this book, covers a lot of much deeper concepts and there is a good forum.

Can you atleast make the lua part? Im following just for that

On 03-04-15 19:11, TurtleHunter wrote:

Can you atleast make the lua part? Im following just for that
—
Reply to this email directly or view it on GitHub
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System/issues/82#issuecomment-89359530.

 Its no biggie. Feel free to pick up where
the developer left off, people will be grateful and you might get a
following.
You could fork the repo and start contributing. Then if you post a pull
request, chances are the owner will pick them up. Otherwise, just
continue on your own copy, maybe create a different project. As long as
the license is identical, there is no problem. If you want a different
license, check out FSF.org for which licenses are compatible.
Kind regards, Guus Bonnema.

Sorry, It's been some crazy time since I was working both on Codebox and GitBook, but I'll now be more focus on GitBook and I'll do my best to continue this book in the next months.

Sorry friend, did not want to offend you. Just thought you had abandoned the project. Soz.

Thanks for the answers
@SamyPesse Great!
@gbonnema Also, I know how it works :P, just im following for that as I tried and looked for it a lot of times and cant figure it out, no problem


Feature request: Support touch gestures

Could you please add iOS-like gestures to:

swipe left and right with finger tracking
close popup by pinch
zoom and move on zoomed image by pinch

I know it could be hard to imagine, so I demonstrated it in this short video: https://www.dropbox.com/s/2gzfgj3ad92hvo3/video 20-03-15 18 31 41.mov?dl=0

+1

+1

See https://github.com/dimsemenov/Magnific-Popup/issues/378#issuecomment-51936196

It is fairly easy to implement next/previous actions via swipe gestures using jQuery Mobile:
$.event.special.swipe.scrollSupressionThreshold = "20px";
$("body").on("swiperight", ".mfp-img", function () {
    $(".gallery").magnificPopup("prev");
});
$("body").on("swipeleft", ".mfp-img", function () {
    $(".gallery").magnificPopup("next");
});

I increased the scrollSupressionThreshold since it seemed like the swipe was only registering half the time. I haven't been able to figure out a way to make the images slide left/right when going next/prev, but at least touch gestures are now enabled.

With the latest version of:
https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
Swipe and zoom and pinch works as if native (there was a chunky delay with earlier version).
$("body").swipe({
        swipeLeft: function(event, direction, distance, duration, fingerCount) {
            $(".mfp-arrow-left").magnificPopup("prev");
        },
        swipeRight: function() {
            $(".mfp-arrow-right").magnificPopup("next");
        },
        threshold: 50
    });

https://github.com/dimsemenov/Magnific-Popup/issues/378#issuecomment-51936196

@johndubya @carasmo This is something different. It jus istens swipe gesture and then switch image. But I need to follow users finger, move image according to this move and switch image on the end of gesture. See video from first comment.

@iBobik -- I can't help you there. I just wanted a gallery with swipe left and right with native zoom and pinch and this is what the post above is about.

Nice makeshift, swiper @carasmo.  Inspired me to do something similar using hammerjs.
var mc = new Hammer(document.body);
mc.on('swipeleft', function(){
    $(".mfp-arrow-left").magnificPopup("prev");
});

mc.on('swiperight', function(){
    $(".mfp-arrow-right").magnificPopup("next");
});

Btw, this project is perfectly useable on both touch and desktop devices: http://photoswipe.com/
Jan Pobořil
http://honza.poboril.cz/

2016 v 0:44, yuvilio<EMAIL_ADDRESS>

Nice makeshift, swiper @carasmo. Inspired me to do something similar using hammerjs.
var mc = new Hammer(document.body);
mc.on('swipeleft', function(){
$(".mfp-arrow-left").magnificPopup("prev");
});
mc.on('swiperight', function(){
$(".mfp-arrow-right").magnificPopup("next");
});
—
Reply to this email directly or view it on GitHub.

@carasmo any idea, why "next" and "prev" are inverted for me? If i swype left, it will show the next image and vice versa.

@alexplusde for some reason that's the way it was coded above.  A swipe in the 'right' direction should trigger 'prev', and vice versa 'left' / 'next'.

As @yuvilio , I'm using Hammer. It works perfectly on Android but, for some reason, there's a problem with the swipe on iOS.
Just 'for science', how can I disable the clickable area of the arrows (and the arrows) to use only the Swipe when in Mobile?
Btw, sorry about my english ;)
Thanks in advance!

@riotbr you could just hide the arrow buttons with CSS media queries, or use something like Modernizr to add a class on touch-enabled devices that you can then hide with CSS...

@carasmo - calling 'body' seemingly interferes with input boxes on my page. Tried replacing with 'mfp-container', but doesn't work. Any ideas to avoid this?


Top Bar Support?

I've searched around and didn't seem to find any support to get whatever is inside the top status bar that is on players profile. Does this actually exist with roblox-js or do we have to make this ourselves?

Getting a user's status message does not exist right now but is very easy to add - I will most likely put it in the next release.

Awesome! Thank you, I appreciate it.

I got code for this!
// Includes
var http = require('./http.js').func;
var parser = require('cheerio');
// Args
exports.required = ['userId'];
// Define
exports.func = function (args) {
return new Promise(function (resolve, reject) {
http({ url: 'https://www.roblox.com/users/' + args.userId + '/profile' })
.then(function (body) {
var matches = body.match(/data-statustext="?(.*?)"? data-edit/);
resolve((matches && matches[1]) ? matches[1] : false);
})
})
}


simple code refactor

Just saw somethings that could be simplified a bit.  Feel free to reach out.

Right on, thanks @Cheeseman5


Chapter numbers fix

ChangeLog:title
Signed-off-by: Peter Grzybowski<EMAIL_ADDRESS>(cherry picked from commit 6b05d9a076ef94412e3c4c24d3c33dbd7713f00f)

thanks Lluis

For future reference. Unless there is something specific you want the rest of the team to verify, you don't need to wait for an approval for cherry-picks.
That is at least my criteria: the changes were reviewed for mater, and nothing has conflicted in cherry-picking, so it is good to go.

For future reference. Unless there is something specific you want the rest of the team to verify, you don't need to wait for an approval for cherry-picks.
That is at least my criteria: the changes were reviewed for mater, and nothing has conflicted in cherry-picking, so it is good to go.

ack


Using cyclic operations and functions through a Java Program

Please review this code

The code looks good. Good job!


Baseline images and deleting previous runs

I noticed that if you delete a previous run from the UI, and that run contains an image saved as baseline, it resets the baseline to an undetermined (not yet set) state. Would it be possible to not link the accepted baseline to a particular (dated) entry so if people delete a previous run to clean up the UI, the baseline is still saved?

Ouch, good find. I've managed to reproduced this, however I saw some different behavior.
After I deleted a previous run which contained a baseline image, suddenly all other runs no longer show the images that were contained in that baseline. This shouldn't happen.
The baseline itself was not actually gone however. When I executed a new run after this, the new run was still being compared against the previously made baseline.
It seems that somewhere during deletion of a run, database relations to baseline images that were created in the run are being removed as well. I'm looking into a fix.

Small update in regards to this issue: I've got a potential fix ready on a local repository. Later this week I'll do some additional testing and, if all goes well, publish the fix.

Thanks for the update. Any progress? Cheers!

Sorry this took a little while longer. The fix required a database change for which we didn't have any proper tests yet. While I'm still finalizing these tests, you might try out the fix. I've uploaded a fixed version here: https://drive.google.com/file/d/0B3A9v168KLhFckRrZS1Xd1U3QTA/view?usp=sharing .
Before trying out this release, make sure you read the wiki page on how to upgrade without losing your data (see here: https://github.com/xebia/VisualReview/wiki/Upgrading-VisualReview).
If this fix works out for you, I'll make it a new release.

Thanks slwakman, it seems to remember the baseline now.
On a slightly related topic, if an entry is deleted form the UI, is there a reason the PNG's still stay in the sceenshots folder. This thing gets massive if you have 1000's of tests in a run, and run that daily. It seems there's no clean way to delete all unneeded files despite the baseline being saved, I assume, in the DB. If you delete the images you start getting java error's even if the UI is completely emptied of previous runs.

As a thought, what would you think about separating baseline images from the screenshots directory for a run? This could allow you to check-in baseline images to source repo while being able to delete old runs that don't matter anymore (including all images). I find I'm constantly deleting stuff from the UI, but it doesn't clean-up the images. Also, if oyu delete a spec entirely to clean up the ui, you also delete the baselines for it. This means I have to manually delete each entry in each spec to avoid deleting the baseline.
I also noticed that when you have multiple browser tests, every run shows up in the UI as a line, but only the last contains all the images.
Sorry, I know I'm complaining a lot, but just wanna help make things easier to manage. Wish I knew clojure but I'm a JavaScript guy :)

I've closed this bug for the original issue for which is now a confirmed fix in master, ready for then next release.
About your other comments:

On a slightly related topic, if an entry is deleted form the UI, is there a reason the PNG's still stay in the sceenshots folder. This thing gets massive if you have 1000's of tests in a run, and run that daily.
VisualReview's current version does not offer any image delete or cleanup functionality, something I agree is required at this point. I've already started work on this in another branch, I expect to finish it somewhere next week.

The reason why the images are not deleted with runs: we want to separate image-storage from run/screenshot metadata so we can re-use certain images for runs that generate the same image data. For example, if a certain page is constantly being screenshotted and always returns the same image in every run, in the screenshot's metadata we can point to the same image file, saving up storage space. This optimization however has not yet been implemented and is slated for a future version. However, the storage system for it is already in place.

I also noticed that when you have multiple browser tests, every run shows up in the UI as a line, but only the last contains all the images.
This sounds like a separate bug. Could you post a new issue with some more details on what's going on? Perhaps with a screenshot showing the problem?

Sorry, I know I'm complaining a lot, but just wanna help make things easier to manage.
Hehe no problem at all. This tool is certainly not feature-complete yet so it is to be expected to run into some missing pieces. I'm actually grateful for your feedback, it gives us some focus on what to work on next.

@jasonmacdonald In PR #58 there's a link to a build where image files are deleted when runs/suites/projects are deleted. You could test it if you'd like before it ends up in a new release.

@skwakman Great. I'll give it a shot and let you know


Google Drive V2 Integration

Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

This PR introduces a new sync service for the backend, including Docker configurations, new tasks, and dependencies.

Adds a new sync_worker and sync_publisher service to `Makefile.
Configures Docker Compose for the new services in `docker-compose.yml.
Introduces a new sync section in configuration.template.yaml and secrets.template.yaml.
Adds a new SyncSettings class in `settings.py.
Creates a new src/backend/services/sync module with the following:

A Dockerfile for the new service.
A celeryconfig.py for Celery configuration.
A config.py for HTTPX client configuration.
A constants.py for default settings and constants.
A crontab file for scheduling tasks.
An __init__.py to run Celery as a listener and daemon.
A publish.py script for publishing.
A publisher.sh script for executing the publisher.
A executor.sh script for executing Celery.
Two new tasks: sync_agent.py and sync_agent_activity.py.

Updates the compass_sdk module:

Adds a COHERE_API_ENV_VAR constant in `constants.py.
Replaces CohereDeployment.api_key with getenv(COHERE_API_ENV_VAR, None) in compass_sdk/__init__.py.
Updates the CompassClient class in compass.py to accept index_url` as a parameter.
Updates the CompassParserClient class in parser.py to accept parser_url` as a parameter.

Updates the pre-commit-config.yaml file to target Python version 3.10.

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

Project coverage is 74.60%. Comparing base (a332c51) to head (e43dda3).

Files
Patch %
Lines

src/backend/tools/google_drive/sync/utils.py
26.27%
87 Missing :warning:

src/backend/tools/google_drive/tool.py
3.17%
61 Missing :warning:

src/backend/tools/google_drive/sync/activity.py
19.64%
45 Missing :warning:

...c/backend/tools/google_drive/sync/actions/utils.py
20.00%
36 Missing :warning:

.../backend/tools/google_drive/sync/actions/create.py
28.20%
28 Missing :warning:

src/backend/tools/google_drive/sync/__init__.py
30.76%
27 Missing :warning:

...rc/backend/tools/google_drive/sync/actions/edit.py
31.42%
24 Missing :warning:

...c/backend/tools/google_drive/sync/consolidation.py
0.00%
21 Missing :warning:

src/backend/services/sync/celeryconfig.py
0.00%
19 Missing :warning:

src/backend/tools/utils/download.py
30.76%
18 Missing :warning:

... and 15 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #602      +/-   ##
==========================================
- Coverage   76.25%   74.60%   -1.65%
==========================================
  Files         238      256      +18
  Lines       10591    11054     +463
==========================================
+ Hits         8076     8247     +171
- Misses       2515     2807     +292

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


add api to hide textBox for ellipticalRoi and rectangleRoi tools

Hi, @dannyrb,  for issues #361  #358
I have add an api to hide/show textBox for ellipticalRoi and rectangleRoi tools.
I am no sure if other tools need to hide/show textBox in some cases, if need, I am very pretty  to add for some other tools.
To hide the textbox, code likes this:
cornerstoneTools.rectangleRoi.setConfiguration({
                //drawHandlesOnHover: true,
                hideTextBox: true
})

Coverage decreased (-0.006%) to 4.218% when pulling 8c80fcead474761348ebed86669db6afa9a3c5d5 on hu3402379:textBox-api into 3789da6f02654510aa39bf9fb91df5c12d74193a on cornerstonejs:master.

@hu3402379 it's hard to see what you changed. Did you update spacing because the linter giving you errors?
If you can add a unit test to account for this new functionality, I could probably convince @swederik that this is merge worthy 🍾

I don't believe this PR is headed in the right direction, and it has been untouched for 5 months. At this point, I believe a global settings in vNext branch to hide all text boxes, or simple config properties for the baseAnnotationTool would be a more worthwhile approach.


Utilities: Expose all of Blue's utils

Utilities: Expose all of Blue's utils
This update exposes all of Blue's utils, making them available to be
imported and used.
All of the utilities come bundled within a utilities object.
Example
import { smoothScroll } from '@helpscout/blue/utilities'

// Now you can do things with smoothScroll.smoothScrollTo()!

Alternatively, you can do this (which might not be recommended, as it imports all the utils):
import { utilities } from '@helpscout/blue'

const {
  smoothScroll
} = utilities

// Now you can do things with smoothScroll.smoothScrollTo()!

@knicklabs @Charca @lgariepy was just discussing with Q - I'm partial to export * from './utilities' and then import { smoothScroll } from<EMAIL_ADDRESS>But Q's concern was that names are too similar to the component, with the only difference being UpperCase vs lowerCase. My concern was that this way ^^ I think forces one to import all of the utilities even if you only want one.
I can see both sides, wonder what you all think?

Changes Unknown when pulling f0cdc46112a1198c1bdef339f9adbcbbb38009f1 on utilities/expose into ** on master**.

I too prefer the export * from approach. I also don't think it's an issue with similar names as there is a definite convention between upper- and lower-case. I personally don't think that is confusing.
As an alternative, what if we use @helpscout/blue/utilities/index.js as our entry point for those exports. That would give us a situation like this: import {smoothScroll} from '@helpscout/blue/utilities' and import {SmoothScroll} from '@helpscout/blue', so that we don't have to differentiate between components utils based on case along, where those names are the same. We can always look to the import statements for clarity.

I like the import { smoothScroll } from '@helpscout/blue/utilities' the most! Is that possible with the current implementation?

@brettjonesdev Yup! That should work 👍 . Just did a little test, and it looks like it's importing correctly with that structure.

Changes Unknown when pulling 71d17d386fcdf726c50a99f65578d6fee5a4a695 on utilities/expose into ** on master**.


refactor(core): simplify classy

Purpose
Reduce maintenance cost at little to no code ergonomic impact.
Approach

Cut support for template strings which vastly simplifies c and m
Reuse some logic between classy and withPrefix, namely truthyNames

Testing

Jest unit tests
Build process

Risks
c and m no longer support template strings

Probably we should treat it like a breaking change?

Probably we should treat it like a breaking change?

I wouldn't, because it's an internal function, not part of the external/official API.

Please mention that this closes #102.

Please mention that this closes #47.

Done. Forgot about the issue.


fix: Build ESM and UMD modules

:tada: This PR is included in version 2.0.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: should be able to remove selection from X-AXIS control

SUMMARY
Should be able to remove a column from X-AXIS control, since the x-axis control has supported categorical or date columns.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before
https://user-images.githubusercontent.com/2016594/189348262-ecfbbb2c-3754-443e-bf0b-6245c8a04885.mov
After
https://user-images.githubusercontent.com/2016594/189077236-43622649-7f32-452a-a692-25ea251392a1.mov
TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up


FIx auto publish on market place using github workflow or remove it

resolved remove workflow : https://github.com/vitabletec/SnippetMaster/pull/16


[FEAT]Make a pip package

Is your feature request related to a problem? Please describe.
I use Home Assitant, and I would really like to add your work in this eco system. It will allow a lot of user to easily control the Ambilight light as a classic connected light and some other great feature.
Describe the solution you'd like
I have some basics skills in Python and I can work on the integration in Home Assistant but the software require a pip library to make it easy. (Maybe I can use directly this github repository but I have to look further to see if it possible).
Describe alternatives you've considered
I can make another repo from scratch and make the library from scratch based on your work. But it could be difficult for me to reflect any update made by you.
Additional context
I'm open to any idea that could lead to integrate TV in Home Assistant. I can provide some help if it's not beyond my skills in Python.

Hey @HydrelioxGitHub,
If your goal is to have integration with Home Assistant, I can suggest this repo: https://github.com/nstrelow/ha_philips_android_tv
and for ambilight in particular this one:
https://github.com/jomwells/ambilights
When Pylips has just started it had some unique features (such as ambilight+hue control), but nowadays 99% (if not 100%) of Pylips features are supported by those two repos (I was in contact with the owners of these repos at some point).
Both @nstrelow and @jomwells do an amazing job supporting their Home Assistant components, I highly recommend to check them out.


eureka-client: JsonParseException while getAndStoreFullRegistry() triggered by contextRefresher

env and dependence desc

eureka-client version: 1.4.5.RELEASE

JDK version: 1.8.202

spring-cloud-netflix-eureka-client version: 2.1.0.RELEASE

On eureka-server side  we have 2 servers and they belong to a same zone ;
it happened about 5 times exception in this month,
we found some errors from logs ,  DiscoveryClient tried both 2 eureka-server but it both tuned out to print this error log.
this is the one of  exception messages :

according to this error log, it happens on this line of code :
eureka/eureka-client/com.netflix.discovery/DiscoveryClient.java
Line 1050
this error doesn't always get thrown , so we are unable to debug locally.
according to the error logs on prod envirement,
we found out that the error hadn't happened, however, while we push the apollo(https://github.com/ctripcorp/apollo) configs which we have written a refreshListener to refresh config bean, the error may happen. The codes of the Listener are shown below:

this refresh event would refresh the DiscoveryClient bean and sometimes
would throw the JsonParseException while request the fullRegistry.
Can you please advice me, are we doing something wrong or could this be a bug?

It gets aborted if loading the full Discovery state and parsing it takes over 30s (the default value I believe), so you need to hunt down whatever is causing this to be so slow (local CPU thrashing, slow network, etc.)

It gets aborted if loading the full Discovery state and parsing it takes over 30s (the default value I believe), so you need to hunt down whatever is causing this to be so slow (local CPU thrashing, slow network, etc.)

Thanks for your answer,  we added an monitor to eureka server  and  upgraded my eureka server version to 2.1.0.RELEASE  which is the same as client eureka version, then this error has never showed again for now.


MongoDB Adapter

Hi!
I find this package best out-of-box auth for me.
Using example code, i successfully added auth to my project:
import NextAuth from 'next-auth'
import Providers from 'next-auth/providers'

const options = {
  site: process.env.SITE || 'http://localhost:3000',

  // Configure one or more authentication providers
  providers: [
    Providers.GitHub({
      clientId: process.env.GITHUB_ID,
      clientSecret: process.env.GITHUB_SECRET
    }),
  ],

  // A database is optional, but required to persist accounts in a database
  database: process.env.DATABASE_URL,
}

export default (req, res) => NextAuth(req, res, options)

Now I want to do 2 things that I don't understand how to:

First, i want to add a feature for users so they can add data to their account (to users model in MongoDB):

_id
name: string
email: string
image: string
---
favourite: [_id,_id]  ---> ref id from other collecction

And second, I want to have a button in my frontend so users can link their social account between them if needed

Please tell me how can achive this

This is possible but we don't have any tutorials for this currently.

This is technically possible but not documented supported yet.

Linking and Unlinking accounts after signing in will be supported in a future release.

@iaincollins thanks for clarify!
Is there a known roadmap for the docs/tutorials?

@MihaiWill there is now documentation on extending the initial models using typeorm (which has support for mongodb) https://next-auth.js.org/tutorials/typeorm-custom-models.
Closing this issue now. If you have any further questions, etc. feel free to reopen it.


Remove minikube from install instructions

It's not very helpful to have minikube included and just makes the setup instructions seem more confusing.

I think just linking out to the official docs for kind/minikube/whatever is good enough

Sounds good


<EMAIL_ADDRESS>

Used by:

https://github.com/Maratyszcza/pthreadpool

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (fxdiv) have been updated in this PR. Please review the changes.


Android socket implementation

Added Socket.IO functionality
Emit events such as 'identify' and 'join'
Refactored LoginActivity to reduce coupling and creating a social media wrapper
Refactored ViewActivity to change ExoPlayer into a fragment
Remove some magic strings
Implemented a UI for comments
and...minor bug fixes

Good refactoring in place. Ready to merge.


label for semantic or instance map?

Hi,
I am new to both House3D and SUNCG data. I want to get the label information for semantic or instance map rendered each time step. But it seems that both semantic and instance map have only 3 channels RGB. So, is there anyway that I can get the label information from House3D?
I scanned the source code, and did not find that.
Thanks in advance

The RGB color encodes semantic or instance label information. See:
https://github.com/facebookresearch/House3D/blob/1c09ee7fcd232887cd970deaf638c1d8a7a66db1/renderer/suncg/render.hh#L56-L63

Thank you very much!


Nuspec copy/paste issue

target file for nuspec is DynamicData.dll, instead of DD.RxUI.dll.
hint: only specify target folder to avoid this.
Also (strangely) the nupkg contains both DD.dll and DD.RxUI.dll, in different folders, probably not working well.
Cheers.

Funny thing is I checked out the pkg on dynamic trader (my demo project) and as far as I could see it installed the correct files.
I will check again tomorrow

I changed the nuspec file and there is no phantom file in the pack now.Cheers


colab notebook does't run successfully

the colab notebook in this repo will fail because with the existing schemdraw installation and python3.7 version (default colab ikernal), it doesn't work properly. But I have a fix for that. Can I send a PR? @mattvenn

yes please!
On Thu, 27 Oct 2022 at 06:34, Sai Charan @.***> wrote:

the colab notebook in this repo will fail because with the existing
schemdraw installation and python3.7 version (default colab ikernal), it
doesn't work properly. But I have a fix for that. Can I send a PR?
@mattvenn https://github.com/mattvenn
—
Reply to this email directly, view it on GitHub
https://github.com/mattvenn/flipflop_demo/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE223EY4KRLLNCSAVIWCNLWFIA6LANCNFSM6AAAAAARPUMV34
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Matthew Venn
web mattvenn.net twitter @matthewvenn https://twitter.com/matthewvenn

https://github.com/mattvenn/flipflop_demo/pull/9 will fix this, @mattvenn

I actually made a silly mistake. It's not schemdraw.set() but schemdraw.use(). Can you please change it at the same line, @mattvenn ? Sorry for this. I caught this when I am tried to run the notebook from here.

I don't see any line that says schemdraw.set
On Fri, 28 Oct 2022 at 12:50, Sai Charan @.***> wrote:

I actually made a silly mistake. It's not schemdraw.set() but
schemdraw.use(). Can you please change it at the same line, @mattvenn
https://github.com/mattvenn ? Sorry for this. I caught this when I am
tried to run the notebook from here.
—
Reply to this email directly, view it on GitHub
https://github.com/mattvenn/flipflop_demo/issues/8#issuecomment-1294847680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE223DAPQHD43SMM5PPOVLWFOVW3ANCNFSM6AAAAAARPUMV34
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Matthew Venn
web mattvenn.net twitter @matthewvenn https://twitter.com/matthewvenn


My Tasks will disappear when a character not in the task is searched for

Repro:

Dashboard>>Click current event
My Task>>Search put in a character that is not in the task
Note: My task div will disappear.

I will look into it.

I fixed it and submitted a pull request

thanks for the contribution @wmay1991 !


ENH: add integrality constraints for linprog

Reference issue

gh-9269
closes gh-11673
gh-14455

What does this implement/fix?

adds new integrality option to scipy.optimize.linprog(method="highs")
interface tests
tests with MIP problems
extends the HiGHS Cython wrapper to expose MIP solver functionality

Additional information

integrality is an array of variable type constraints corresponding to decision variables. If left as None (default), all variable types are assumed to be continuous (i.e., simple linear program).  Three more types are available:

Integer variable
Semi-continuous variable (decision variable must be within bounds or take value 0)
Semi-integer variable (decision variable must be an integer within bounds or take value 0)

I'll go ahead and merge this on 1/7 unless I hear back from anyone before then.
Then, I'll open up mckib2/scipy#31 on the SciPy repo and email the mailing list about that.


Use new ConfigurationInput and LogicalTerminationPointServices

Create a mapping file for individual services used in this application and use new classes from ApplicationPattern with it.
Application Pattern #284 #346

Fixed by #249


Navigation/language buttons slide off page on small mobile devices

On small mobile devices, navigation buttons and language option button either slide off their parent div (iphone-x), or partially disappear (iphone-5).

This issue seems to only appear in the Cypress test runner.


correct the people in the commitee

this is not urgent, can be deployed when we have further changes later.

published


[BUG] Menu tool stage and operation reset on player death

Short Description
Whenever the player is killed when doing something with the menu tool, the stage and operation of it will be entirely reset. This leads to the tool being unusable until you select another menu item.
How to Reproduce (Optional)
Select the menu tool and just kill yourself, then try to perform the action the current menu item is supposed to perform.

Fixed on 367aedf.


Azure Arc for Kubernetes - Partner Focused Hack

The purpose of this change is to add guidance on what to expect, the challenges, success criteria and general flow for running an Azure Arc for Kubernetes hack successfully.

@jasoncabot-ms Is this PR still valid and in need of review? Or is it fundamentally changing in light of the Adv Spec audit criteria? We should catch up after I get back from holiday! W/c/ 19th?

@jasoncabot-ms Is this PR still valid and in need of review? Or is it fundamentally changing in light of the Adv Spec audit criteria? We should catch up after I get back fronm holiday! W/c/ 19th?


Introduce some bugs

As mentioned on Mastodon, this project doesn't seem to contain any bugs (npx zachleat runs without issues, tested on MacOS, node v18.19.0), and so the issues count is too low for me to take this package seriously and consider it for usage in enterprise environments. Consider introducing some bugs in the code so that people may create more issues and introduce a maintenance burden on yourself.

but what if somewhere were to patch node built-ins? This package doesn't feel defensive enough. There are so many vulnerabilities lurking in the shadows here.

I think this is a bad issue and should be considered for closure.
Even a minimal review would show that zachleat has at least 39 trillion bugs and it's frankly shocking that this could have slipped past previous commenters.

Closed as completed. This package has plenty of limitations if you look with a big enough microscope!!


Trigger navigation from EmojiSearch

We want to exercise state saving, and for that
we need multiple activities.

Also presumably needs iOS support.

Also presumably needs iOS support.

Yeah, there will be. But it'll be later, right now I'm working with @swankjesse to make saved state working, and this is the first step needed for prototype(ish) (I said ish bc there is a plan/idea of what we are gonna do), and after Android, at certain point (ideally when the iOS side of product work gets to it, but can be early depends on your input), there'll be iOS. lmk!


A starter readme.

Based on the Newcastle RSE groups project template with some totally untested cookiecutter fields.

Your badges got eaten, sorry Paul.
... I'll open a "fix my mess" PR after my meeting.


Item Idea: Force Staff upgrade

This would work like regular force staff, except when used on enemies it'll always pull them toward the user.
Cast range/pull distance might be nerfed in relation to regular force staff, or this use might merit a longer cooldown than the use on allies; balance stuff.
This upgrade adds versatility to the force staff, making it a better gank/chase item.

Already had that idea. Noted. Closed.


Skip conversion of final receiver to SDK address.

Surfaced during internal walkthrough of ics20 v2 forwarding (commit efcfa5d)

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

closed by #6575


Making internal/llrp exported

Would you consider making internal/llrp an exported package?
I would consider it the reference implementation of LLRP in go.
https://github.com/iomz/go-llrp has been unmaintained for a while.

this device service is the reference implementation, and we also don't have the resource to maintain the llrp driver logic

I am fine with the driver being an internal package, it's very edgex specific and I understand the rational of keeping this way.
I think the llrp package being accessible is enough for anyone wanting to build a driver for themselves.

please feel free to open a refactor PR and move it out from internal


Fixture console show exception 'The dir argument must be a directory'

I got error when I execute Yii fixture console command
Environment
PHP: 5.5.19
Yii: 2.0.3-dev
OS: OSX Yosemite 10.10.1
How to reproduce it

Download basic app
Composer install --prefer-dist
./yii fixture *
Exception occurred

Complete error

./yii fixture/load User
Exception 'yii\base\InvalidParamException' with message 'The dir argument must be a directory.'
in /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/helpers/BaseFileHelper.php:368

Stack trace:
#0 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/console/controllers/FixtureController.php(400): yii\helpers\BaseFileHelper::findFiles('/Users/masbugan...', Array)
#1 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/console/controllers/FixtureController.php(110): yii\console\controllers\FixtureController->findFixtures(Array)
#2 [internal function]: yii\console\controllers\FixtureController->actionLoad('User')
#3 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#4 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/base/Controller.php(151): yii\base\InlineAction->runWithParams(Array)
#5 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/console/Controller.php(91): yii\base\Controller->runAction('load', Array)
#6 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/base/Module.php(455): yii\console\Controller->runAction('load', Array)
#7 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/console/Application.php(161): yii\base\Module->runAction('fixture/load', Array)
#8 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/console/Application.php(137): yii\console\Application->runAction('fixture/load', Array)
#9 /Users/masbugan/Sites/opensource/yii2/apps/basic/vendor/yiisoft/yii2/base/Application.php(375): yii\console\Application->handleRequest(Object(yii\console\Request))
#10 /Users/masbugan/Sites/opensource/yii2/apps/basic/yii(23): yii\base\Application->run()
#11 {main}

To solve this, need to add "codeception" into test alias inside config/console.php
old
Yii::setAlias('@tests', dirname(__DIR__) . '/tests');

new
Yii::setAlias('@tests', dirname(__DIR__) . '/tests/codeception');

yes , fix is valid , forgot about it . Can you submit PR ?

@Ragazzo yes, I can submit PR for solving this issue

Can you also rechek this issue for yii2 - advanced since this commit was made https://github.com/yiisoft/yii2/commit/8af62ee97b1525dbc323a1850fef0619c51f5a54 ?

@Ragazzo are you sure this is correct? isn't namespace and autoloading for the tests namespace bound to this?

@Ragazzo I'm on it

all other definitions of @tests alias point to /tests directory, not /tests/codeception.

@cebe as for yii2 - basic i think it is ok, as for yii2 - advanced looked like i am lost in a lot of configs, first i looked where @tests is defined than i looked again and found it in other place . I guess this should be clarifed and uneeded @tests removed. Currently dont have enough time for that to recheck, maybe you can clarify this ?

@deerawan lets not doing anything to yii2 - advanced for now, since it is ok , i was in hurry to say it is wrong. Should be rechecked.

I have checked all declarations of @tests they look fine. Need to figure out the real cause of the issue.

Ok , will loot at this one tomorrow since i don think it is a big issue.
@deerawan what is your User namespace, is it tests\codeception\fixtures or what ?

@cebe yes, my solution is not enough. I also found that only yii fixture/load User can run successfully but not **yii fixture ***
@Ragazzo yes correct, I use "tests\codeception\fixtures"

@deerawan can you take * in quotes and see what will be ?

yeah, yii fixture * can not work because the shell will replace * with all the files and folders in the current directory. In the docs it is already with quotes: yii fixture "*"

@cebe yeah , was discovered long time ago and discussed with @qiangxue we decided to let it be as is and mentione it in docs and make it with quotes in docs


Example crash on Windows

Not working on Windows
Unhandled exception:
SocketException: Connection failed (OS Error: The requested address is not valid in its context.
, errno = 10049), address = <IP_ADDRESS>, port = 0
#0      _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:681:35)
#1      _NativeSocket.connect (dart:io-patch/socket_patch.dart:940:12)
#2      _RawSocket.connect (dart:io-patch/socket_patch.dart:1796:26)
#3      RawSocket.connect (dart:io-patch/socket_patch.dart:21:23)
#4      Socket._connect (dart:io-patch/socket_patch.dart:2019:22)
#5      Socket.connect (dart:io/socket.dart:770:21)
#6      PortScanner.connectToPort (package:network_tools/src/port_scanner.dart:131:37)
#7      PortScanner.customDiscover (package:network_tools/src/port_scanner.dart:75:28)
<asynchronous suspension>

Process finished with exit code 255

Tested with my home IP but posted with the example IP.

Address is hardcoded. Maybe we should take it as a command line argument.

The problem is not that it is use the wrong address by default, but this is another issue that we should think what is the best way to solve it.
Did you test this package on Windows?.

It is not tested on windows. I guess startPort when set to 0 getting us into trouble.

It is not tested on windows. I guess startPort when set to 0 getting us into trouble.

Correct, after changing start port in the example
https://github.com/git-elliot/network_tools/blob/f9c811e73833e86af2739a1680fcd3d6ba1e35ab/example/main.dart#L53
to 1 the program run on Windows.


[Bug]: Application need to have ability to check internet connection

Contact Details
<EMAIL_ADDRESS>What happened?
When the application tries to contact Intranet Cloud, it does not show any relevant failing errors telling the users that their devices don't have an internet connection, and this is important later on every feature that needs to fetch data from our server
Version
7.0
What platforms are you seeing the problem on?
Android, Windows, MacOS, IOS
Relevant log output
None

Code of Conduct

[X] I agree to respect and follow this project's rules

git fetch origin
git checkout 104-bug-application-need-to-have-ability-to-check-internet-connection


can run on linux?

I recently migrate all virtual machines  on my  Lab to linux OS because i can send commands ex play, pause, open a play list to spotify native client via dbus-send on ubuntu VM  this is a great advantage for me and my be for other too.... will be useful if this script can run on linux....

probably yes, test it

Yes it work on Ubuntu 20.04


Watch script

Hello!
I like your lib (exactly what I was looking for). There's just a little thing missing in my opinion: a watch script.
I'd like to use your lib with a lot of packages (in a large lerna repository). I need every package to re-build automatically when a source file changes. On my own setup, I use the watch option of the babel CLI.
Every package exposes a "watch" script, and my mono repo just exec every watch scripts in parallel.
lerna run watch --parallel

Hey,
do you want to run the build script with a watch mode? I am happy to add this but I think a better API would be package-scripts build --watch so you can create a watch script on you own. I will hopefully find some time tomorrow to add the watch mode and fix some issues as well.

The only thing I need is the build with a watch mode. I agree package-scripts build --watch is fine.

@k15a any ETA? I cannot use your package without this option


issue with "install", because zlib's cmake_install.cmake disrespects CMAKE_INSTALL_PREFIX

What version of gRPC and what language are you using?
latest. C++.
What operating system (Linux, Windows,...) and version?
Windows. cmake version 3.22.22040401-MSVC_2
What runtime / compiler are you using (e.g. python version or version of gcc)
MSVC!
What did you do?
I built gprc. and then as per instructions, had to "install" it. which turned to be just copying 441MB from the build directory to another one. I, of course, didn't want it to end up in C:\Program Files, as recommended, before installing, I set CMAKE_INSTALL_PREFIX appropriately. everything was fine, but at the end of this huge copying the error about not being able to "install" zlib files into C:\Program Files popped up, guessing, that perhaps it's not enough of rights. of course, I asked to copy it in a different place. after examining the file:
build\third_party\zlib\cmake_install.cmake I found a several places, where instead of
INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib",
as, for example is in build\cmake_install.cmake
there was such lines
INSTALL DESTINATION "C:\Program Files (x86)/lib",
hardcoded. changing that to using CMAKE_INSTALL_PREFIX fixed it.
What did you expect to see?
as described, I expected it to respect CMAKE_INSTALL_PREFIX. should I run as an administrator, it would litter Program Files.
What did you see instead?
yeah.
Anything else we should know about your project / environment?
it's just an incorrect cmake somewhere in your project. because, I see, these cmake_install.cmake files are only in the build directory, so they are generated from something. I am not that much into cmake, so can't say more.

Is it reasonable to fix it in zlib's repo?

Would you show an exact command when seeing this problem? From what I read from zlib cmakefile, it should respect that config. Another thing you can try is to install zlib first by yourself and install gRPC with -DgRPC_ZLIB_PROVIDER=package meaning that zlib is installed so gRPC shouldn't install it and just use the installed one.

Would you show an exact command when seeing this problem? From what I read from zlib cmakefile, it should respect that config. Another thing you can try is to install zlib first by yourself and install gRPC with -DgRPC_ZLIB_PROVIDER=package meaning that zlib is installed so gRPC shouldn't install it and just use the installed one.

I wish, I remembered. I followed the official "build gRPC from source" article. after all, there are 3rd party dependencies and all they were "installed" in the same process and didn't give such an error, only zlib did, so it's something with it. I saw, that in CmakeLists.txt everything looks fine, but in the zlib's generated install.cmake it isn't.

Would you reproduce it again and capture the exact commands?

This happened to me to with v1.62.0 on macOS. A make install would fail with:
CMake Error at third_party/zlib/cmake_install.cmake:49 (file):
  file cannot create directory: /lib.  Maybe need administrative privileges.
Call Stack (most recent call first):
  cmake_install.cmake:3054 (include)

With cmake 3.29.2


BounceInterpolator only settle after the second click

I am using Bounce Interpolator with the Expandable layout but when i expand i need to click at least two time for it close again. If i don't use any interpolator everything works like it should.
if (details.isExpanded()) {
    details.collapse();
    vPrecoComum.animate().alpha(1).start();
    details.animate().alpha(0).setDuration(300).start();
    expandButton.animate().rotation(0).start();
} else {
    details.expand();
    vPrecoComum.animate().alpha(0).start();
    details.animate().alpha(1).setDuration(300).start();
     expandButton.animate().rotation(180).start();
}

I tried debugging it end i saw that the expansion value is 1.0000545 on the first click.

Thanks for the report. I managed to reproduce the problem and will post a fix asap.
On a side note: I would recommend you to use OnExpansionUpdateListener to apply the alpha and rotation animations rather than triggering them manually as you are doing in your code snippet.
This will work better in situations where the animation is cancelled for whatever reason.
It'd also allow you to use details.toggle() and remove the if clause altogether.
An example of how to use it is in https://github.com/cachapa/ExpandableLayout/blob/master/demo/src/main/java/net/cachapa/expandablelayoutdemo/HorizontalFragment.java#L33

The problem of using  OnExpansionUpdateListener in this cause is that i also animate views outside ExpandableLayout, and they look weird with BounceInterpolator, but in other causes is great.
Is like they don't mix driving with alcohol and don't mix BounceInterpolator with Alpha.

Oh yeah, good point I guess that would look weird!


EI-1179-phase2Feature-refactor-getlegalentities-call

Merged with https://github.com/SkillsFundingAgency/das-employer-incentives/pull/340


Problem integrating gridlayer.googlemutant to leaflet map

Hi,
I have a leaflet map container on to which I am loading gridlayer.googlemutant as background layer.
Map is loading but some tile is missing on the left hand side(near to the google icon).
gMiniMap = L.map(sMiniMapID, { dragging: false, zoomControl: false }).fitWorld();
gMiniMap.on({
zoomend: function () {
}
});
oMiniBackgroundLayer = L.gridLayer.googleMutant({
type: 'roadmap'	// valid values are 'roadmap', 'satellite', 'terrain' and 'hybrid'
});
gMiniMap.addLayer(oMiniBackgroundLayer);

seems to be a duplicate of #7.


Feature Request: improve the legend again

Hi Fazal,
after running pingwatch for quite some time now and occasionally checking it's result, I wanted to 1. thank you again for this awesome tool. It still helps me.
And 2. I'm still sometimes struggling to understand the data that is shown.
The colors of the different ping destinations are similar. Maybe it is my bad vision, but some are hard to differentiate. I attached a screenshot with 4 destinations in 2 groups which look similar to me (red and blue group, red and blue do not have any meaning)

Basically i have two needs

sometimes I want to see the long term result for one destination
or i want to know the destination of a strange line

For # 1:
Does the framework that is used allow to highlight (ie. bold print it) just the one graph line of a data set when you hover it's legend entry? So i could e.g. hover google.com and it would just print the line for google.com a bit more strong than the others.
For # 2:
When i see some line that looks weird and i hover it, it gets highlighted, i.e. printed bolder than the other ones. Can the corresponding legend entry be highlighted as well? It just takes a bit of zooming or carefully reading the y-axis value to find out which of the two similar-color-hosts is the offending one, but it could be even easier if the legend entry was highlighted.
Thanks for your considerations.
(and again for the tool so far :) )

It's not you, Dygraph's default color selection is not ideal in terms of separation (not very saturated, and poorly demarcated in hue). I'm sure it's doable but it will require doing some custom JavaScript work, along with highlighting the time series you are hovering about.

The dygraphs documentation claims  the colors are automatically chosen equidistantly on a color wheel but I don't see that happening. In the meantime, it's very easy to highlight the currently active time series in yellow in the legend, so I've done that.

Also, did you know you can zoom in to a specific vertical range, not just horizontal, e.g. to isolate the pings in your chart < 20ms from the others? Just select with an upward movement using your mouse.

Good Morning!
Thanks a lot!

Also, did you know you can zoom in to a specific vertical range, not just horizontal, e.g. to isolate the pings in your chart < 20ms from the others? Just select with an upward movement using your mouse.

No, I actually never tried that. Thanks.

The yellow is a bit garish, if you have a more tasteful color or style recommendation, I'm all ears.

Yellow is not my favourite colour either, but it really is a highlight now - fine for me.
I experimented a little with the developer console. While I can live fine with #ffff66, maybe a very light gray is fine, too?
I tried with #dddddd and it looks okay. #eeeeee is already too light and #cccccc too dark.
When using the default yellow, I liked it with a padding. The more (e.g. 10px) the better the highlight, but of course it starts to over float the other values, so it might not be optimal default behaviour. 5px was okay.
So # 2 is now fixed for me. When i select a line, its legend entry is clearly visible now.
Hovering the legend entry and highlight the line (# 1) would be very cool to have, too - if that is possible?
Btw: as far as I can tell, it seems to me all the static stuff is build into the go binary, right? At least if I move the built library somewhere else, it doesn't even complain about the missing sqlite. Anyway: does it make sense to some how make it possible to include external css? Maybe use a specific style sheet when a style.css file exists in the binaries folder? This way it could run as a standalone binary, but still allow easy modification.
Thanks a lot again!

Yes, the HTML, CSS and JS are compiled into the pingwatch executable so it's fully self-contained, using the statik tool. Just install statik, then run go generate before calling go build. It will generate the file statik.go that has a compressed version of those assets.
How comfortable are you with git? Wouldn't it be easier for you to make your own branch with the CSS changes you want and bake them into pingwatch?

How comfortable are you with git?
I'm fairly new. I know the basics.

Wouldn't it be easier for you to make your own branch with the CSS changes you want and bake them into pingwatch?
By "bake them into pingwatch" you mean to change the values i mentioned and then send a PR?
I can do that when i have some time.

If you mean to change the stuff necessary for # 1 (hovering the legend and make the corresponding graph line to highlight), i have no idea and would probably need to spend some hours to get into the graph library you use.

I meant the color or style changes.
Making the legend interactive would require some custom JS work, and is not a trivial change.

so i commited my suggestions. Feel free to merge if you like :)
I also had a look into dygraphs documentation. But as a non-software-engineer i'm a little overchallenged. I would have looked for some callback if a legend gets highlighted, but i couldn't find it :-(

OK, I added the ability to highlight a time series by hovering over the legend (the colored label only, not the ping value). I had written code to make it go away when you stop hovering, but that makes for a slightly jarring user experience, so it will stick until you hover on something else (another legend or in the graph), or if you have autoscroll enabled, a new update arrives. The ping value displayed in the legend when you hover is the most recent one in the current zoom selection.

Thanks a lot!
This is exactly how I wanted/need it!

Not as much as the rabbit hole of automatically choosing contrasting colors for the data series, including amazing but way too complex to implement solutions like Palettailor