Question, is there a way to limit the number of pages in the page numbers selection

i have a table with more then 1000 rows.
i limit the results to 15 result per page.
but in the pages numbers i see 1-70 that is allot, is there a way to display only few and add ' ...'
so user will know there is more?

Look at https://github.com/wikiti/jquery-paginate#advanced-options at the 'limit' option. The example right below it uses limit to only show 10 results per page.

@EFinish That did not answer @liranp1 's question. I have the same question as @liranp1 too.
I did a small trick for display page number within the n+-3 range of current select page:

$(document).ready(function() {
    $('#acc-invoice-list').paginate({
        limit: 10,
        onCreate: function(obj) {prettyPagination(3);},
        onSelect: function(obj, i) {prettyPagination(i+1);}
    });

});

function prettyPagination(currentPageIndex) {
    $('.page-navigation a').css('display', 'none');
    $('.page-navigation a').slice((currentPageIndex-3) <0 ? 0 : currentPageIndex-2, currentPageIndex).css('display', 'inline-block');
    $('.page-navigation a').slice(currentPageIndex, currentPageIndex+4).css('display', 'inline-block');
    // always display previous & next navigations
    $('.page-navigation a').slice(0, 2).css('display', 'inline-block');
    $('.page-navigation a').slice(-3, -1).css('display', 'inline-block');
    $('.page-navigation a').last().css('display', 'inline-block');
}

@khe817 I am mistaken. Thank you for correcting me.

thank you all for your help!
i works amazing

how to count number of records per page in this?

Hey all!
Please, take a look at this comment.
Best regards,
Daniel


epsilon_cutoff

I am using the Telegram bot with the Oobabooga Google Colab.
I am able to connect however every message is empty and the terminal says generate_answer ‘epsilon_cutoff’
any ideas on a fix for this?

Same for me using ookabooga locally. I connect to telegram, can see the bot, chose characters etc, but no answer is generated, All I see in terminal is "generate_answer 'mirostat_mode'" everytime an answer should be generated. Tried everything but Am not able to solve the issue.

I just aligned text generator in https://github.com/innightwolfsleep/text-generation-webui-telegram_bot/pull/42 to oobabooga
new version. But I cant check it now. If one of you can check changes - please write here result.

Can confirm working for me now :) thank you for helping and making this git

Sorry, not working for me. Still getting the "generate_answer 'mirostat_mode'" in terminal and nothing in telegrm

Also, I wonder why I get the "generate_answer 'mirostat_mode'" only for the Telegram extension and not when using the model through ookabooga UI.

Not really. No more "generate_answer 'mirostat_mode'" and an answer is displayed in telegram. But it's a long repeating of my prompt and empty answer from bot, like:
You: Hi
Bot:
You: hi
Bot:
You: hi
Bot
...and so on

I'll do some tests and keep you posted. Thanks for your efforts.

@stfzz do you update the extension? I'm run cmd_windows.bat
cd text-generation-webui
cd extensions
cd telegram_bot
git pull

and all worked for me: ggml v3 8bit 13B, gptq 7B, 13B

Maybe someone can share the used settings for the telegram extension and ookabooga itself?

My guess is it is an eos_token issue. Trying to solve it...

Thanks.
I was trying to use telegram_config.cfg for this. Will try modifying code.

to my todo list: move stopping_strings and eos_token to telegram_config.cfg ))))))

Would that look like this:
stopping_strings.append(r"\nYou:")
?

I am realy dont know what exactly wrong.
I use ordinary settings - llama-7b-4bit and "NovelAI-Sphinx Moth" preset and it work fine.
Vicuna have specific syntax and thats may be reason why it work not properly. If bot send empty answer - this means problem happend when it send "question" to text-generation-webui generate_reply function and it cant answer. When i got similiar problem, i try to debug what generate_reply do. I cant get same result as you so i cant help. If you can share link to your model i can try to repeat.

Hi. Thanks for pointing out some directions. Will investigate further.
I was using "ggml-vic7b-uncensored-q5_1" from this repo: https://huggingface.co/eachadea/ggml-vicuna-7b-1.1/tree/main

I am using 65B model it working absolutely fine without problem
Some models need specific stopping strings

Is this the right way to add stopping strings to TelegramBotGenerator.py:
stopping_strings.append(r"\nHuman:")

Is this the right way to add stopping strings to TelegramBotGenerator.py?
stopping_strings.append(r"\nHuman:")
Right.

If wont work - try
stopping_strings.append("Human:")

Already tried :-)

I made custom character and got result
Answerer_vic7b.zip

Back to generating text, pretty good indeed. Just can't figure out how to male it stop chat with itself

to my todo list: move stopping_strings and eos_token to telegram_config.cfg ))))))

Added.

Thanks a lot for your help! Managed to make it work, also thanks to your suggestions.


object_store Azure Government using OAuth

Which part is this question about
object_store Azure
Describe your question
I have reviewed this issue https://github.com/apache/arrow-rs/issues/4853 which also pertains to using Azure Government. That example uses shared key authentication. For OAuth (ClientSecretOAuthProvider), I believe it is also necessary to set authority_host to authority_hosts::AZURE_GOVERNMENT in order for the token_url to be correct.
Without this setting, I am currently getting this error "AADSTS900382: Confidential Client is not supported in Cross Cloud request. I understand it is possible to override using MicrosoftAzureBuilder::with_authority_host(), however I am using delta-rs which requires that all configuration is provided though storage_options with keys defined in AzureConfigKey. This currently does not allow setting AuthorityHost.
Does that sound correct? If so, is it possible to expose AuthorityHost through AzureConfigKey?
Additional context
I have only tried in Python using delta-rs. I am going to attempt to use arrow-rs directly in order to verify that setting AuthorityHost does indeed resolve the error mentioned above. I am a Rust beginner so it may take some effort.

I'm not very familiar with Azure's government offering, but we should expose the option as a config key if it isn't

label_issue.py automatically added labels {'object-store'} from #6773


Turn off Fedora builds in Jenkins

Fedora builds were enabled in Jenkins, in support of the Tensorflow work.

Tensorflow does not integrate and work (cleanly) as desired, in Fedora. The team is therefore going to abandon Fedora as their platform and switch back, most likely to Ubuntu.

We have external contributors (1 known), but no other internal users of Fedora.

We are therefore going to remove Fedora from the Jenkins builds.

Great.  I dislike the rolling release approach that Fedora appears to practice anyway.


Ep 4

Would love to see another episode to this great series.

I too cannot find Ep4. This is a major problem, please remedy :-)


Review current code

Since this project was started as a one-person-thing, I have not had someone review the initial code, that we start out with.
It would be super helpful, both to me, and to the entire project, if someone would review that current code.

I’ve been going through the code and am thinking of hitting it to the pep8 standard to help me read through it while doing this. Mind if I do that?

This work is in progress

I've yet to peruse the entire source code, but something perhaps worth considering is looking into existing design patterns that would best suit the current design intent and/or future feature implementations.


Visually Differentiate Changes based on "Untracked files" and non "Untracked files"

Please visually differentiate changes based on "Untracked files" and non "Untracked files". This is just like git CLI, if you do git status, you can tell apart between Untracked files changes and non Untracked files. Normally people would just do "git add -u" to select the modified tracked files. We need same ability in the UI to do "git add -u".
This is example image with circled area of the files selection that are tracked:

In current UI I have to visually find my tracked changes that I want among lots of files:

/question
This is controlled by git.untrackedChanges setting. separate value should do what you want

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Revert "put notification to notificationTemplateDAO rather than notificationD…"

Reverts foam-framework/foam2#3499

This is incorrect.


Problems implementing

I'm trying to add the 'com.github.giangpham96.expandable-text:expandable_textview:2.0.0' dependency to my project and I get the error "Failed to resolve". I have added in the build.gradle of the project the following line:
allprojects {
repositories {
Google()
maven { url = uri("https://jitpack.io/") }
}
}
As it appears in the repository's Readme.

Hello @giangpham96
I have added the following declaration in the settings.gradle:
maven { url = uri("https://jitpack.io/") }
And now it works for me.
Thanks for the help.


Point public url to the warden project

Hi,
I have installed some warden project in a remote server, this server has public and private IP, I want to know if it's possible to link that public IP to the project, for example when I enter mynewproject.com (public IP), this will redirect to my project ?
Thanks

You could configure Warden to bind on <IP_ADDRESS>:443/80 instead of default <IP_ADDRESS>:443/80, so it is reachable from the outside.
Then you need to either change Warden a bit, so that your general server hostname is used instead of .test TLD, for example yourwardenserver.com.
Then you create environments with hostname magentoenv.yourwardenserver.com.
Another option is to not change Warden and add traefik labels for your environment by providing a .warden/warden-env.yml.
Now the only missing thing is SSL certs, since you need valid licenses. My advice would be to generate a Let's Encrypt wildcard for *.yourwardenserver.com certificate (which works with DNS TXT record challenges).
Once you have the SSL certificate, you can load it up to traefik (not sure how exactly, but you can check out Warden as an example) and start using your public Warden environment!

Thank you @tdgroot for your reply,
Do you know in which file I have to update <IP_ADDRESS>:443/80 instead of default <IP_ADDRESS>:443/80?
to replace .test, I'll update it in .env file: TRAEFIK_DOMAIN=yourwardenserver.com right ?
Sorry but what do you mean by "Then you create environments with hostname magentoenv.yourwardenserver.com" ?
Lets take this example:
my hostname:  yourwardenserver.com
project path: /var/www/magento_project

About the SSL, I dont need a wildcard domaine, just www.yourwardenserver.com I already have the SSL certs :)

Do you know in which file I have to update <IP_ADDRESS>:443/80 instead of default <IP_ADDRESS>:443/80?

See the notes on TRAEFIK_LISTEN found here: https://docs.warden.dev/services.html
Be forewarned that by doing this, you'll be exposing not only the site, but also the global services such as Mailhog, RabbitMQ, Portainer, etc and that may pose a significant security risk should anyone discover they can access administrative pages that will be available publicly via the same Traefik endpoint.

Thank you @davidalger
About the security side, if I protect the different env (Mailhog...) by an htaccess, what do you think? in which directory I could add these htaccess?

Hello,
I have a problem to setup warden on my custom domain. I use domain, let's say mydomain.com. Following this topic I created ~/.warden/.env file with content:
TRAEFIK_LISTEN=<IP_ADDRESS>:443
WARDEN_SERVICE_DOMAIN=mydomain.com

I created Let's Encrypt for this domain some time ago, but I used warden sign-certificate mydomain.com to be sure is set correctly. Then I ran warden svc up, but in my browser (chrome) after putting mydomain.com I have 404 page not found. Page/service https://traefik.mydomain.com/ is not available. Same for other services. I'm sure I missed something during this configuration, but I have no idea what exactly. Could you someone help me?

@grzegorzrzeznikiewicz Warden being publicly accessible is not officially supported.  I do recommend you post in the Help forum, though, rather than a closed issue: https://github.com/orgs/wardenenv/discussions/categories/help-support

@grzegorzrzeznikiewicz Warden being publicly accessible is not officially supported.  I do recommend you post in the Help forum, though, rather than a closed issue: https://github.com/orgs/wardenenv/discussions/categories/help-support


Mixpanel calls UIKit APIs on a background thread

Integration Method: CocoaPods
Xcode Version: 9 beta 5
Library Version: 3.1.9
Platform: iOS
Language: Objective-C
Description: Mixpanel calls UIKit on a background thread
Expected Behavior: Mixpanel only calls UIKit on the main thread

Ah good catch @irace. I guess we didn't try initializing Mixpanel from a background thread. I'll fix it and add a test for that.

This is fixed in the latest release.


Scroll view and Grid

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@80d59a6). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main     #27   +/-   ##
======================================
  Coverage        ?   2.23%
======================================
  Files           ?      42
  Lines           ?    3127
  Branches        ?       0
======================================
  Hits            ?      70
  Misses          ?    3057
  Partials        ?       0

Flag
Coverage Δ

unittests
2.23% <0.00%> (?)

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

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 80d59a6...fc61069. Read the comment docs.


Update _getVMTimeline to getVMTimeline

The method name was changed in service.cc in https://github.com/dart-lang/sdk/commit/a75ded625e4cbffbe775f49afa75eaf6d99696f4#diff-243e54ec47a7b6d9b6088b2200bbf298

Merged in https://dart-review.googlesource.com/c/sdk/+/107926


Add support for Tailwind v3

Currently not an option (at least not without ugly hacks), pending on https://github.com/denoland/fresh/issues/834

Temporary workaround https://github.com/khuongduybui/fresh-flowbite#tailwind-3


Metaformer baselines for vision (final PR with cleanup)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Refactor api_key model

We are adding more and more logic to the AR model. We could extract logic for:

Database helpers: grants, queries, etc.
Grant helpers: Grant validation, etc.
Actual model logic: Model validations, attributes, etc.

Closing in favor of https://app.clubhouse.io/cartoteam/story/83461/refactor-api-key-model


Move scripts used by tests to test/data/

Thanks Ive been meaning to do this move. Also +1 the test_script docs are no longer needed.


Uninitialized constant FullcalendarEngine on production (Unicorn + Nginx)

I'm trying to use fullcalendar engine but i get this error on production server. Has anyone encountered this error?

What's your error message?

ERROR -- : uninitialized constant FullcalendarEngine (NameError)
/home/rails/config/routes.rb:4:in block in <top (required)>' /usr/local/rvm/gems/ruby-2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:423:in instance_exec'
/usr/local/rvm/gems/ruby-2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:423:in eval_block' /usr/local/rvm/gems/ruby-2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb:401:in draw'
/home/rails/config/routes.rb:1:in <top (required)>' /usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:40:in block in load_paths'
/usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:40:in each' /usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:40:in load_paths'
/usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/application/routes_reloader.rb:16:in reload!' /usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/application.rb:169:in reload_routes!'
/usr/local/rvm/gems/ruby-2.1.3/gems/devise-3.4.1/lib/devise/rails.rb:14:in block in <class:Engine>' /usr/local/rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:36:in call'
/usr/local/rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:36:in execute_hook' /usr/local/rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:45:in block in run_load_hooks'
/usr/local/rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:44:in each' /usr/local/rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:44:in run_load_hooks'
/usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/application/finisher.rb:55:in block in <module:Finisher>' /usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/initializable.rb:30:in instance_exec'
/usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/initializable.rb:30:in run' /usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/initializable.rb:55:in block in run_initializers'
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each' /usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' /usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in each' /usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in call'
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in each_strongly_connected_component' /usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:224:in tsort_each'
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:205:in tsort_each' /usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/initializable.rb:54:in run_initializers'
/usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/application.rb:352:in initialize!' /usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/railtie.rb:194:in public_send'
/usr/local/rvm/gems/ruby-2.1.3/gems/railties-4.2.0/lib/rails/railtie.rb:194:in method_missing' /home/rails/config/environment.rb:5:in <top (required)>'
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require'
config.ru:4:in block in <main>' /usr/local/rvm/gems/ruby-2.1.3/gems/rack-1.6.0/lib/rack/builder.rb:55:in instance_eval'
/usr/local/rvm/gems/ruby-2.1.3/gems/rack-1.6.0/lib/rack/builder.rb:55:in initialize' config.ru:1:in new'
config.ru:1:in <main>' /usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn.rb:48:in eval'
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn.rb:48:in block in builder' /usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in call'
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:764:in build_app!' /usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:628:in init_worker_process'
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:651:in worker_loop' /usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in spawn_missing_workers'
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:536:in maintain_worker_count' /usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:294:in join'
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/bin/unicorn:126:in <top (required)>' /usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in load'
/usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in <main>' /usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in eval'
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `'

So what does /home/rails/config/routes.rb:4 say?

I mount Fullcalendar there.

And what does the line say? Clearly it's something wrong with what you have written there.

It works in development mode on my local machine.

Sound strange. But I still need to know what that line says before I know if I can help or not...

mount FullcalendarEngine::Engine => "/fullcalendar_engine"

What does your Gemfile say where you include FullcalendarEngine?

gem 'fullcalendar_engine'

You say it's working in development mode but not in production mode and the error is a NameError. It appears as if you have included FullcalendarEngine in development but not in production mode. Are you sure the fullcalendar_engine is it's not in a group in your Gemfile?

Yes, I'm sure. FullcalendarEngine even works in rails console in production mode.

When do you get the error message?

When I run the server, I get 504.

I tried to deploy my application that is using FullcalendarEngine and I had no problem. Sorry, but I have no further ideas.

Hi @Twizty pls make a minimal application along with the steps to reproduce this error.
I am giving this issue a close, feel free to reopen it when we have some concrete to move on.


Refactor getCommonSuperType and canCoerce

Prerequisite for type unification code for lambda

Now that they take both Type and TypeSignature
Coercion rules were duplicated in the original code (and diverged). The rules appear only once in the code after this commit.
Coercion between types with type parameters (e.g. array and array)  could be arbitrary and potentially complex. After this commit,  coercibility between types is decoupled from compatibility between  type parameters.
Add tests

Addressed comments.

ping @martint

Looks good, but wait until after we cut the next release to merge.


Could you please add these video courses to your list

https://www.reddit.com/r/MachineLearning/comments/51qhc8/phdlevel_courses/

Thanks for sharing!
Now I have added these courses to my blog page:
https://handong1587.github.io/machine_learning/2015/08/27/ml-courses.html#phd-level-courses-with-video-lectures
https://github.com/handong1587/handong1587.github.io/blob/master/_posts/machine_learning/2015-08-27-ml-courses.md#phd-level-courses-with-video-lectures


Add test requirements to CONTRIBUTING.md

Signed-off-by: Mihail-Cristian Tusa<EMAIL_ADDRESS>

@gituser173 Please review. Thanks!

fixes #21

change "from a plugin to another" to "from one plugin to another"

Looks :+1:


Completeing AzureDisk storage class parameters

Fixes #15741

/assign @jaredbhatti

Text and preview looks good :)  - https://deploy-preview-16841--kubernetes-io-master-staging.netlify.com/docs/concepts/storage/storage-classes/#new-azure-disk-storage-class-starting-from-v1-7-2
/lgtm

@jaredbhatti Please review

/approve


Added Autest for H2 CONNECT and fix a crash triggered by the test

In #9616, @maskit wrote an H2 CONNECT Autest but couldn't include that in the final PR because of a Proxy Verifier issue.
Now that the Proxy Verifier issue is resolved,  the Autest is added in this PR(with a few tweaks).
ATS crashes with the new test executing HTTP/2 tunneling traffic. This PR also includes a fix to resolve that.

Note: The updated connect Autest is dependent on a newer release of Proxy Verifier. It would fail before the Proxy Verifier version is updated in ATS testing.

Note: The updated connect Autest is dependent on a newer release of Proxy Verifier. It would fail before the Proxy Verifier version is updated in ATS testing.

Just to record it, Proxy Verifier was updated to the required v2.8.1 via: https://github.com/apache/trafficserver/pull/9834


Error: invalid call of non-function (int)

Hello,
I am very new to this, so I apologize in advance if this error is due to my own ignorance. I attempted to follow your directions exactly and I get an error. "Error: invalid call of non-function (int)"
Here is a screenshot:

Any help would be great,
Thank you

Thanks for reporting! The code suffered from bit rot. Here's the fix: 2c0f091d0b5ff69e8a98c6fc4b70610ea6431aa1.


kidnap & ransom

date
Sept 20, 2017
victim
Wong Yuk-kwan
location
Taipei, Taiwan
description
billionaire kidnapped for 38 days & ransomed for ~$9M
// thanks for all your work about this serious issue Jameson !!!

http://www.dailymail.co.uk/news/peoplesdaily/article-3295463/Hong-Kong-oil-tycoon-rescued-abducted-held-6-million-ransom-38-days.html

Hmmmmm this is interesting because they demanded ransom in BTC, but I don't think it quite fits the profile for which I'm collecting, which is physical attacks that target owners of crypto assets. This guy was an oil tycoon who didn't have any ties to crypto.


Bugfix/16 data lost for the content stream

The previous implementation is buggy when handling the header retrieval.
I am updating it with

return sepcific query as queryInfo struct
skip all non data event in SSE
remove some redudant code

(Jove Github Bot) added it to the current sprint.

(Jove Github Bot) moved this ticket out of the GitHub project(up to 1200 tickets for one project).


Get-AzureADGroupMember Unspecified Default Result Limit

When running Get-AzureADGroupMember on a group of 173 records, I do not receive the full group membership list unless I specify a -Top parameter which is not stated in the documentation.
File: Azure/azure-docs-powershell-azuread/blob/live/azureadps-2.0/AzureAD/Get-AzureADGroupMember.md
PS > Get-AzureADGroupMember -ObjectId ($AzureAD_Group.ObjectId) | Select-Object -ExpandProperty UserPrincipalName | measure-object

Count    : 100

PS > Get-AzureADGroupMember -ObjectId ($AzureAD_Group.ObjectId) -Top 200000 | Select-Object -ExpandProperty UserPrincipalName | measure-object

Count    : 173

Hi @nerddtvg
Thank you for your issue submission. Unfortunately, this appears to be a problem with the cmdlt and a support issue. Issues in this repo are for documentation issues. You can try one of the following links for additional help.
Microsoft Support: https://support.microsoft.com/
Azure AD forums: https://social.technet.microsoft.com/Forums/en-US/home?forum=windowsazureaditpro
Stackoverflow: https://stackoverflow.com/
Bill


Ignore issues / PRs with frozen labels for stale workflow

Ignore issues / PRs with lifecycle/frozen label when marking them as stale / closing them.

@elezar sign-off missing, I think...


Default subscribe

Coverage increased (+0.08%) to 89.149% when pulling 75414543cfa55956594004e3c77891f77132e764 on default-subscribe into b9af81e3af25cc4d94105907cb374d76403e161b on master.

Coverage increased (+0.08%) to 89.149% when pulling 75414543cfa55956594004e3c77891f77132e764 on default-subscribe into b9af81e3af25cc4d94105907cb374d76403e161b on master.


Docs - README.md - tweaks (grammar, toc, serparators, thumbnail logo

Docs - README.md - tweaks (grammar, toc, serparators, thumbnail logo
this PR does basically aim at:

adding separators to README.md file
adding thumbnail logo to README.md file
adding ToC (Table of Contents) to README.md file
review wording in README.md file

main motivation behind such:

improving overall document accessebility

Hi, thanks for the contribution. I'm a little hesitant to take this since it doesn't make any significant changes, there are no grammatical fixes, it's primarily some extra links and visual styling.


B js webpack config plugin

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: link tbd.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] tooling / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@degiorgioo please fill-out the issue description :) thanks in advance!

Should we also add the react preset to be on the same level as the ts-loader?
https://babeljs.io/docs/en/babel-preset-react


Address all the research questions

Ensure that all the formulated research questions are thoroughly investigated and answered.

done


Create Build for staging env

I am trying to create a seperate build for my staging environment by trying the build command to
NODE_ENV=staging react-scripts build
however the react-app-rewired build command overrides the node environment.
I am trying to add different configs for different envs.
    config.optimization = {
      splitChunks: {
        chunks: 'all',
        minSize: 30000,
        maxSize: 0,
        minChunks: 1,
        maxAsyncRequests: 5,
        maxInitialRequests: 3,
        automaticNameDelimiter: '~',
        name: true,
        cacheGroups: {
          vendors: {
            test: /[\\/]node_modules[\\/]/,
            priority: 10
          },
          default: {
            minChunks: 2,
            priority: -10,
            reuseExistingChunk: true
          }
        }
      }
    }

    config.devtool = true
    config.plugins.push(
      new CompressionWebpackPlugin({
        test: /\.js$|\.css$/,
        threshold: 1024
      }),
      new webpack.DefinePlugin({
        'process.env.NODE_ENV': JSON.stringify('staging')
      }),
      new webpack.optimize.AggressiveMergingPlugin(),
      new webpack.optimize.ModuleConcatenationPlugin()
    )
  }
  if (process.env.NODE_ENV === 'production') {
    config.optimization = {
      splitChunks: {
        chunks: 'all',
        minSize: 30000,
        maxSize: 0,
        minChunks: 1,
        maxAsyncRequests: 5,
        maxInitialRequests: 3,
        automaticNameDelimiter: '~',
        name: true,
        cacheGroups: {
          vendors: {
            test: /[\\/]node_modules[\\/]/,
            priority: 10
          },
          default: {
            minChunks: 2,
            priority: -10,
            reuseExistingChunk: true
          }
        }
      }
    }

    config.devtool = false
    config.plugins.push(
      new CompressionWebpackPlugin({
        test: /\.js$|\.css$/,
        threshold: 1024
      }),
      new webpack.DefinePlugin({
        'process.env.NODE_ENV': JSON.stringify('production')
      }),
      new webpack.optimize.AggressiveMergingPlugin(),
      new webpack.optimize.ModuleConcatenationPlugin()
    )
  }
  return config
}

If anyone can help with this or to give me an alternative way to do this

Closing --- this given it's not a bug and no activity.

this is a bug because rewired stops the way to change NODE_ENV for loading .env files.
rewired set NODE_ENV to 'production' in bulid.js, after that, functions in react-scripts always work in 'production'.
if i don't use rewired, NODE_ENV can be setted by scripts for load env function.


Doc updates

@bd82 - Take a look at my proposed doc changes, as discussed on Gitter, and let me know if you have any requested changes or other questions.
Added additional documentation for using GATE with the LA method
Added additional information for setting start_chars_hint
Fixed various spelling errors

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for catching the Typos!

I will merge this and try to upgrade the "too greedy" issue docs in another PR.


Model attach and MjSpec leads to broken xml

Intro
I am a graduate student at HKU, I use MuJoCo for my research on robotic manipulation. This issue is a follow-up of comment https://github.com/google-deepmind/mujoco/issues/2150#issuecomment-2426708998
My setup
MuJoCo 3.2.4
What's happening? What did you expect?

the output xml contains two levels of nameless , leading to error when loaded back;
the output xml is full of asset path inconsistencies (this may be harder to deal with)

meshdir would be overwritten, breaking either parent or child
If the child model is in another directory, its asset paths are just copied in, leading to failed asset lookup.

MjSpec load error if the child model contains <custom> tags.

Steps for reproduction
Run snippet below
Minimal model for reproduction
parent.xml
<mujoco>
    <compiler meshdir="a" />
    <asset>
        <!-- <mesh name="a" file="a.obj" /> -->
        <model name="child" file="child/child.xml" />
    </asset>
    <worldbody>
        <attach model="child" body="child" />
    </worldbody>
</mujoco>

child/child.xml
<mujoco>
    <compiler meshdir="b" />
    <asset>
        <!-- <mesh name="b" file="b.obj" /> -->
    </asset>
    <worldbody>
        <body name="child" />
    </worldbody>
</mujoco>

Code required for reproduction
import mujoco
spec = mujoco.MjSpec.from_file('parent.xml')
spec.compile()
xml = spec.to_xml()
print(xml)
mujoco.MjModel.from_xml_string(xml)

Confirmations

[X] I searched the latest documentation thoroughly before posting.
[X] I searched previous Issues and Discussions, I am certain this has not been raised before.

Should be solved by using a prefix, could you please confirm? It's likely that we will require a prefix for attach in the future.

I can't reproduce 3, could you please send a minimal example?

Besides,

This is known and part of conflicting compiler options in general. We are working to keep track of attached options.

I found that, currently, in order for an attached model (with assets) to work with MjSpec, the parent and child XML must be in the same level of directory. Otherwise, path inconsistency either prevents MjSpec.compile before to_xml, or produces a model with wrong relative path. I understand that completely resolving this issue may require some major changes, but this indeed complicates our model management (we would like to put thirdparty child models in a sub-directory, but currently could not.)

Yes, I know. I have a solution partially implemented but it's not ready to be submitted yet. Maybe in a week's time.

@quagla Thanks for the quick fix! But,

Should be solved by using a prefix, could you please confirm? It's likely that we will require a prefix for attach in the future.

I could not confirm this workaround, because applying prefix when attaching a child model containing actuator with class leads to yet another segfault (in mjXWriter::OneActuator). 😂
a.xml
<mujoco>
    <asset>
        <model name="b" file="b.xml" />
    </asset>

    <worldbody>
        <attach model="b" body="b" prefix="b" />
    </worldbody>
</mujoco>

b.xml
<mujoco>
  <default>
    <default class="b"/>
  </default>

  <worldbody>
    <body name="b">
      <geom type="box" size="0.1 0.1 0.1"/>
      <joint name="b"/>
    </body>
  </worldbody>

  <actuator>
    <position joint="b" class="b"/>
  </actuator>
</mujoco>

That's very useful, thanks!


AutorecoveringConnection does not allow ordered addresses

According to the documentation you can use an AddressResolver to choose a desired host first.  I created a resolver that returns [host1,host2,host3] but then found that the connections were all to host2 even though host 1 was available.  After a while I discovered that autoRecovery always shuffles the address list.  Could there be a possibility to maintain the list order? Or is there a very intentional reason this is not allowed?

Sorry put this in the wrong place, should be under java client


auto clicker method

is there any way to make an auto clicker

you can using Objective-C to write a h5gg plugin to do this, then you can call it on javascript by using h5gg.loadPlugin

Is there an api or smth ?

see the h5gg plugin demo in /PluginDemo/customAlert/


[COVERITY] remove unreachec code

This patch remove unreachable code
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1865. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1865-202203251154190.94727993011475-28d3606ae1c72dcca262c5ec5728e92842baa168/.


Firing an event when service worker wakes up

As far as I know, ServiceWorker will fall into sleep state when there is no other task to handle. That means all the data stored in memory will be wiped out at that time. I'm thinking about reinitializing that data every time ServiceWorker wakes up. May be something like this:
self.onwakeup = () => reinitializeInmemoryData();

It isn't really a sleep state, the worker is terminated. When it's needed again, it's run again. If you need to do somewhen when the service worker runs, just write code in the root of the SW.


use chunks_mut iteration in bmp's read_palletized_pixel_data

I guess we could really use zip here, but getting rid of the explicit multiplications in the pixel data indexing is nice.

Thanks!


Upgrade Desmos to v5.2.0

Prop: 29
Height: 9259165
https://www.mintscan.io/desmos/proposals/29
Estimated Target Date:
Wed Jul 05 2023 10:01:55 GMT-0400 (Eastern Daylight Time)

This is live and ready to go.


Prevent excessive data fetching

Description:
Prevent excessive data fetching.
Motivation and Context:
Channel data and balance is fetched multiple times when updating activity history.
How Has This Been Tested?
Manually
Types of changes:
Performance improvement
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage increased (+0.004%) to 22.603% when pulling 66f12f7ba1d1edf65938750ecda87ac4eb5cf99b on mrfelton:fix/excessive-balance-fetch into 7a22daf80b5364d442037e51c92bf1776992b586 on LN-Zap:next.


Add pipelines support

Hi there, I just tried this and works awesome!
however..it does not work with pipelines
pleeease

1.1.0 contains the pipeline support. Should be available from jenkinsci shortly. Thanks for the feedback!