Strange artifacts in pdf output

I’ve tried for the better portion of the last two days, but I still can’t get a math-heavy .adoc file to render correctly in pdf, using asciidoctor-pdf and asciidoctor-mathematical.
Below is the image of the best I could get it to look. To the left is HTML, to the right is PDF. HTML rendering is spot on. I’ve highlighted some of the worst artifacts in PDF.
As I slowly give up hope, I’m just asking: is this some sort of known issue, or am I just asking too much from this software?

.adoc snippets for the highlighted areas, in order:
Or, taking into account that latexmath:[ q = \integer \left( \frac{x}{y} \right)]:

… rounding method applied to latexmath:[\frac{x}{y}].

…
+
[latexmath]
++++
q = \left\lfloor \frac{x}{y} \right\rfloor
++++
+
…

Specs

macOS 10.14.3
Asciidoctor 1.5.8
Asciidoctor PDF 1.5.0.alpha.16
asciidoctor-mathematical 0.2.2

All installed as per their respective instructions.

Perhaps this page will help you.
https://github.com/asciidoctor/asciidoctor-mathematical/issues/42


Overflow of table of content

Describe the bug
A big table of content will overflow on the screen when put to right side but no scroll bar will appear
To Reproduce
Simply go to to https://lynn.chamallow.xyz/cours/S3/Développement-Web/NodeJS/Basiques#boucles on a small screen (such as a laptop, especially if the screen have a zoom of 125%)
Expected behavior
The table of content should be displayed in a way that we can actually see the full content
Screenshots and Source
What I see when on laptop (125% screen as it's 16")

The same page but on a larger screen where the zoom of windows is 100%:

Repositery:
https://github.com/lynn2910/cours
Desktop (please complete the following information):

Quartz Version: [e.g. v4.1.2]
node Version: 20.5.0
npm version: 10.8.2
OS: Windows
Browser Firefox

Any progress on this? I am facing the same issue.

Any progress on this? I am facing the same issue.

A fix is included in the grid layout rework. (https://github.com/jackyzha0/quartz/pull/1354)

Looks great! Any idea on the timeline for it to be merged into main? Just saw that all checks have been approved...

Looks great! Any idea on the timeline for it to be merged into main? Just saw that all checks have been approved...

It has been merged.
Please let me know if you run into any issues.

Not sure if I have updated it correctly, I just ran npx quartz update but it doesn't seem like that issue is resolved for me. At 100 percent zoom, the last items in the table of contents is still cut-off and inaccessible until I zoom out.

Not sure if I have updated it correctly, I just ran npx quartz update but it doesn't seem like that issue is resolved for me. At 100 percent zoom, the last items in the table of contents is still cut-off and inaccessible until I zoom out.
Please let me know if you require any information from my side.

Do you have an example where you encounter this problem.
This page seems to work fine: https://adityainduraj.github.io/secondbrain/01---Leetcode/Leetcode---Patterns-and-Other-Info
Screencast from 2024-09-23 23-08-57.webm
Perhaps a caching issue? Could you refresh your cache? (refresh your site with CTRL + F5 or SHIFT + F5)

It's weird, it seems to be working fine when I build and run it locally (though my table of contents still doesn't look the same as yours) but the Github Pages site doesn't seem to implement it. I cleared the cache and even tried in a new browser altogether.
I would really appreciate any help in getting the Table of Contents to display more fields by default, like yours does, mine just shows 2 or 3 at my desired zoom level.
Screencast From 2024-09-24 02-52-12.webm

It's weird, it seems to be working fine when I build and run it locally (though my table of contents still doesn't look the same as yours) but the Github Pages site doesn't seem to implement it. I cleared the cache and even tried in a new browser altogether.
I would really appreciate any help in getting the Table of Contents to display more fields by default, like yours does, mine just shows 2 or 3 at my desired zoom level.
Screencast From 2024-09-24 02-52-12.webm

The second page in your video seems off, it should change to the new tablet layout when you zoom in, leaving the left sidebar while hiding the right sidebar. In your video it seems to hide both, suggesting that the new layout has not been applied.

Hi, I basically just reinitialized the entire repository and it. However, I've noticed that there is some sort of a double scrollbar in the table of contents. Is this by design? It seems a bit weird.
Screencast From 2024-09-24 09-33-04.webm

That's weird. After updating my repo, it works perfectly: the navbar shows:
https://lynn.chamallow.xyz/cours/S3/Développement-Web/NodeJS/Basiques#2-fonctions-nommées
I checked the page of @adityainduraj and after messing with the max-height of these two elements (image below), I was able to remove the scrollbar:

Yet, now the "Table of contents" is moving alongside the rest of the explorer.

Hi, I basically just reinitialized the entire repository and it. However, I've noticed that there is some sort of a double scrollbar in the table of contents. Is this by design? It seems a bit weird.
Screencast.From.2024-09-24.09-33-04.webm

@saberzero1 , would you happen to know anything about the double scrollbar?

@saberzero1 sorry for the ping, but I noticed another behavior. The zoom starts malfunctioning if it encounters any code block in the notes. So far I have only been able to replicate it on Firefox, it works fine on Chromium browsers. Attaching a video for your reference. Tried the usual, clearing cache, reloading the site etc. Works fine on pages that don't include a code block.
Screencast From 2024-09-26 00-16-05.webm

@saberzero1 sorry for the ping, but I noticed another behavior. The zoom starts malfunctioning if it encounters any code block in the notes. So far I have only been able to replicate it on Firefox, it works fine on Chromium browsers. Attaching a video for your reference. Tried the usual, clearing cache, reloading the site etc. Works fine on pages that don't include a code block. Screencast From 2024-09-26 00-16-05.webm

Perhaps I don't understand, but everything seems to work fine when I run in firefox. Can you check on your end with the proposed fixes from https://github.com/jackyzha0/quartz/pull/1440 ?


Figure out ParallaxView test

Once I moved the database creation to the conftest.py, the ParallaxView test stopped passing. Not sure what's going on. It's skipped for the moment.

Also, Will asks, "what happens if parallax is 0, NULL or negative, here?"
https://github.com/SIMPLE-AstroDB/SIMPLE-db/blob/6c46a0922b49daf0a7eea120e6492a44a579564b/simple/schema.py#L280-L288

Also, Will asks, "what happens if parallax is 0, NULL or negative, here?"
https://github.com/SIMPLE-AstroDB/SIMPLE-db/blob/6c46a0922b49daf0a7eea120e6492a44a579564b/simple/schema.py#L280-L288

Parallax cannot be NULL based on our schema. I can add a schema validation check to avoid it being 0 or negative, though I remember some cases of negative parallaxes as a result of some of the way Gaia treated them.
Regardless- note that the where constraint specifies that only parallaxes > 0 will be shown, so there is no division by zero here.


Bump runtimes; deps; postgres 13.5 -> 13.8

Fixes a few minor bugs in postgres and some

Pull Request Test Coverage Report for Build 2795f761e68c26a59a6345612a93744d922ae4a3-PR-944

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.647%

Totals

Change from base Build 9f862484dfcc9b02246da0b36befed1ba343104a:
0.0%

Covered Lines:
1058

Relevant Lines:
1564

💛  - Coveralls


Add influx task retry-failed to docs pages

https://docs.influxdata.com/influxdb/cloud/reference/cli/influx/task/
This PR adds an option to retry-failed tasks for a given run-id. We need to add docs pages for it.

Duplicate of #2095


The page makes the user think that this is updated to .NET 8

Description
Hello,
The article below indicates that the guide is updated to .NET 8 which it clearly is still in the .NET 7 form. There were a lot of changes regarding identity in .NET 8. The only way someone can tell that this is outdated information is by following the guide (and it not working in .NET 8) or by looking at the last edited date in the article itself.
It could be useful to display a banner indicating that this is .NET 7 or to not show .NET 8 in the top left of the corner in the page that displays the article. Please see the attached screenshot.
Kind regards,
Matthew

Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/roles?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/roles.md
Document ID
980a23e7-56e4-da94-a139-cab85135c5f7
Article author
@Rick-Anderson

@Tratcher  please assign a reviewer.


Caching with Hasura where's

Question
Hi,
I am using Hasura and am trying to use Apollo's SQLite cache, but I'm not quite sure how to handle Hasura's where arguments (how would I cache the second example with two where's?)

Hi 👋
By default, Apollo Kotlin will use a cache key containing the field arguments. For the example on that page:
query {
  authors (where: {articles: {rating: {_gt: 4}}}) {
    id
    name
    articles (where: {rating: {_gt: 4}}) {
      id
      title
      rating
    }
  }
}

The cache will contain records for these cache keys (pseudo data):
"QUERY_ROOT": ...
"authors (where: {articles: {rating: {_gt: 4}}})": ...
"authors (where: {articles: {rating: {_gt: 4}}}).articles (where: {rating: {_gt: 4}})[0]": ...
"authors (where: {articles: {rating: {_gt: 4}}}).articles (where: {rating: {_gt: 4}})[1]": ...

If you specify id as keyField, it will become something like this (pseudo data):
"QUERY_ROOT": ...
"Author(1)": ...
"Article(10)": ...
"Article(11)": ...

Long story short, in both cases, the cache should work but case 2 will also deduplicate data so that you can use watchers.
Is there something in particular that doesn't work in your case?

Hi,
my schema consists of many-to-many table mapping Users to TaskAssignees (so a user can view the task of multiple assignees); TaskAssignees can have multiple Tasks.
My query looks like this:
query GetUserAssigneeTasks($after: timestamp!) {
    UserAssignee {
        assigneeRel {
            id
            tasksRel(where: {start: {_gte: $after}}) {
                id
            }
        }
    }
}

Apollo crashes with Suppressed: com.apollographql.apollo3.exception.CacheMissException: Object 'TaskAssignee:3' has no field named 'tasksRel({"where":{"start":{"_gte":"2022-07-22T17:55:58.245"}}})'

Is the $after variable changing every time by any chance? If that the case, that will change the cache key and result in a cache miss effectively.
If you really want to cache this, you might be able to workaround with a custom CacheResolver:
  // A CacheResolver that ignores the where argument
  object IgnoreWhereCacheResolver : CacheResolver {
    fun CompiledField.nameWithArguments(variables: Executable.Variables): String {
      val arguments = this.arguments.filterNot { it.name == "where" }
      val map = arguments.associateBy { it.name }.mapValues { it.value.value }
      val resolvedArguments = resolveVariables(map, variables)
      return try {
        val buffer = Buffer()
        val jsonWriter = BufferedSinkJsonWriter(buffer)
        jsonWriter.writeAny(resolvedArguments)
        jsonWriter.close()
        "${name}(${buffer.readUtf8()})"
      } catch (e: Exception) {
        throw RuntimeException(e)
      }
    }

    override fun resolveField(
        field: CompiledField,
        variables: Executable.Variables,
        parent: Map<String, @JvmSuppressWildcards Any?>,
        parentId: String,
    ): Any? {
      val name = field.nameWithArguments(Executable.Variables(variables.valueMap.filter { it.key != "where" }))
      if (!parent.containsKey(name)) {
        throw CacheMissException(parentId, name)
      }

      return parent[name]
    }
  }

    // Configure your client with the CacheResolver
    val apolloClient = ApolloClient.Builder()
        .serverUrl(mockServer.url())
        .normalizedCache(MemoryCacheFactory(), cacheResolver = IgnoreWhereCacheResolver)
        .build()

Could that work for you?

Yes, you are absolutely right, $after uses the current time of the device, thank you!
I just implemented it like they this so now all taskRels get merged together, but thank you anyway for your suggestion!

Yup that works too 👍 . Thanks for the follow up. Ping @BoD that's another use case for paginationArgs  👀


[WFRP4e System] Fear and Terror Effect

In fight mode, the fear and terror icon is impossible to remove even after the end of the fight. Worse, it even adds up and I end up with characters having three fear effect icons that are impossible to remove.From: darkomen5569foundry: 11.315wfrp4e: 7.1.2wfrp4e-archives1: 5.0.1wfrp4e-archives2: 5.0.0wfrp4e-core: 5.0.2wfrp4e-rnhd: 5.0.1wfrp4e-starter-set: 5.0.1Active Modules: babele, dice-calculator, dice-so-nice, fr-core, lib-wrapper, tabletop-rpg-music, wfrp4e-gm-toolkit, wh4-fr-translation

Remove the fear Extended Tests


Option to statically compile dependencies?

Would it be possible to add a configuration where the dependencies are statically compiled, instead of using .dll dependencies? It would be nice to be able to distribute just the picogk.dll.

I looked into this problem a few years ago. Theres is a configuration of onetbb that was developer for static linking on ibm mainframes.

For boost there is a method of distributing a  minimal treeshaked version of that library


[Device support] RT-AX88U

Anything you want to mention?
Hi
I'm using Asusrouter for parental control, but I can't control internet access for laptops and desktops. I've used the mac address to find the entities for IPADS, playstation etc, but I can't find the entities for the computers. What can I do?
Your device model
RT-AX88U
Firmware type
Merlin
Firmware version
3004.388.4
Does everything work well?
Yes

Hello. Sorry for the late reply. It can be that some of the device tracker entities (in your case ones for the laptops and desktops) are automatically disabled by Home Assistant. Can you please check them? In case they are actually disabled, please enable them and try to set a parental control rule. Let me know whether it helps or not, so that we can solve the problem you are experiencing

Hi!
Thank you for answering my question. I removed the integration and
installed it again and now it suddenly works :)
Sometimes when i reboot my HA i says it has found my router and want to add
it although its already integrated.
I had 2 instances with the same router. Maybe that was the problem.
Lasse
lør. 28. okt. 2023 kl. 14:33 skrev Yevhenii Vaskivskyi <
@.***>:

Hello. Sorry for the late reply. It can be that some of the device tracker
entities (in your case ones for the laptops and desktops) are automatically
disabled by Home Assistant. Can you please check them? In case they are
actually disabled, please enable them and try to set a parental control
rule. Let me know whether it helps or not, so that we can solve the problem
you are experiencing
—
Reply to this email directly, view it on GitHub
https://github.com/Vaskivskyi/ha-asusrouter/issues/617#issuecomment-1783796931,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5APSFDDFDF6BLZH7BRBFBTYBT3R5AVCNFSM6AAAAAA4PO5TYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTG44TMOJTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Good, that your issue is solved :+1:
Yes, there is an issue with auto-discovery giving false-positives even when the device is already set up. I am still working on it - that's something happening only for a part of users which makes it quite hard to troubleshoot. But it will be eventually fixed


Meteor 1.6

Hello,
I see the OHIF viewer has now been upgraded to meteor 1.6.  However, Standalone viewer is still on <IP_ADDRESS>.  Did we miss Standalone viewer from the upgrade? :)
Many thanks!
Rick

Yeah I think I forgot to update that one. I believe 1.6 is mostly node.js updates anyway so it's likely it makes no difference for the standalone viewer. Either way I will try to get that updated soon.
I'd also be happy to accept a PR!

I just updated it to 1.7 in this commit: https://github.com/OHIF/Viewers/commit/de7135f3b878954e99b7e8a278b8d2978b2e0161


Adding Cleos Auth & button to login as viewer

Fixes #11
Description
This issue requires a way to explore the web wallet without actual login with a wallet. The best (fast and easy) way to do that is by logging the user in using cleos under the hud.
Screenshots

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have cleaned up the code in the areas my change touches
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings
[x] I have removed any unnecessary console messages

I'm going to merged this PR so we follow the process and @Kersten-TCD reviews the entire release instead


feat: switch to slice-ring-buffer

slice-dequeue is unmaintained

thanks for looking into this!

published in 1.0.2


error

Describe your bug here.
when i tryed compile psychengine i got this error
Command Prompt/Terminal logs (if existing)
source/psychlua/HScript.hx:317: characters 89-96 : Type not found : TeaCall

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

find and replace all instances of TeaCall to Tea in HScript.hx

find and replace all instances of TeaCall to Tea in HScript.hx

thank, there fixes


highlighting words of each line

Hello,
I'm having the following issue. I'm editing a markdown file and it's highlighting words making it difficult to read. See image below

Here is my vim :version info
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 21 2016 13:16:25)
Included patches: 1-2089
Compiled by bpatrick
Huge version without GUI.  Features included (+) or not (-):
+acl             +cindent         +cryptv          -ebcdic          +float           +job             +localmap        -mouse_gpm       +multi_lang      +postscript      +ruby            +tag_binary      +timers          +viminfo         -xim
+arabic          -clientserver    +cscope          +emacs_tags      +folding         +jumplist        -lua             -mouse_jsbterm   -mzscheme        +printer         +scrollbind      +tag_old_static  +title           +vreplace        -xsmp
+autocmd         -clipboard       +cursorbind      +eval            -footer          +keymap          +menu            +mouse_netterm   +netbeans_intg   +profile         +signs           -tag_any_white   -toolbar         +wildignore      -xterm_clipboard
-balloon_eval    +cmdline_compl   +cursorshape     +ex_extra        +fork()          +langmap         +mksession       +mouse_sgr       +num64           +python          +smartindent     -tcl             +user_commands   +wildmenu        -xterm_save
-browse          +cmdline_hist    +dialog_con      +extra_search    +gettext         +libcall         +modify_fname    -mouse_sysmouse  +packages        -python3         +startuptime     +termguicolors   +vertsplit       +windows         -xpm
++builtin_terms  +cmdline_info    +diff            +farsi           -hangul_input    +linebreak       +mouse           +mouse_urxvt     +path_extra      +quickfix        +statusline      +terminfo        +virtualedit     +writebackup
+byte_offset     +comments        +digraphs        +file_in_path    +iconv           +lispindent      -mouseshape      +mouse_xterm     -perl            +reltime         -sun_workshop    +termresponse    +visual          -X11
+channel         +conceal         -dnd             +find_in_path    +insert_expand   +listcmds        +mouse_dec       +multi_byte      +persistent_undo +rightleft       +syntax          +textobjects     +visualextra     -xfontset
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"

and here are the plugins I have installed:
Plug 'wincent/command-t', {
    \   'do': 'cd ruby/command-t && ruby extconf.rb && make'
    \ }
Plug 'scrooloose/nerdcommenter'
Plug 'itchyny/lightline.vim'
Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'chrisbra/vim-diff-enhanced'
Plug 'ervandew/supertab'
Plug 'mhinz/vim-signify'
Plug 'davidhalter/jedi-vim'
Plug 'xolox/vim-session'
Plug 'xolox/vim-misc'
Plug 'drmikehenry/vim-fixkey'
Plug 'Valloric/YouCompleteMe'
Plug 'jistr/vim-nerdtree-tabs'
Plug 'jiangmiao/auto-pairs'
Plug 'craigemery/vim-autotag'
Plug 'drmikehenry/vim-fixkey'

I am also using the tomorrow-them for vim
I would like to know how to remove this highlighting

That’s the vim spell checker. The pink background it's highlighting a spell error. You could either

Correctly set your spell language (:help spelllang) in your .vimrc (mine has set spelllang=en,it)
Avoid to enable the spell check in the plugin: put in your .vimrc, before Plug 'gabrielelana/vim-markdown' the following line let g:markdown_enable_spell_checking = 0
Disable the spell checking for all markdown files: put in your .vimrc the following line au FileType markdown setlocal nospell

If you don't know what to choose, choose solution number 2
Let me know if this works for you

This seems to have solved the issue. Thanks!

You're welcome 😉

Would be helpful to put a comment somewhere in the README about this.


Aliases do not work

It could an issue with Webpack support.
When I set alias configuration for modules resolving, an application is down. I've tried isomorphic-webpack-demo as a sandbox to validate this error happening.

FWIW I could not reproduce this problem. I added an alias to the sample webpack config, used it in components (including css modules), and didn't have encounter any problems:
resolve: {
  alias: {
    '~': path.join( __dirname, 'app' )
  }
}

Closing until further details provided by the OP.
Thank you @glortho.


lockman: distributed lockman with etcd

这个 PR 实现什么功能/修复什么问题:
lockman: distributed lockman with etcd

是否需要 backport 到之前的 release 分支:

release/2.10.0

/area region
/cc @swordqiu @wanyaoqi @zexi

Codecov Report

Merging #3523 into master will increase coverage by <.01%.
The diff coverage is 15.44%.

@@            Coverage Diff            @@
##           master   #3523      +/-   ##
=========================================
+ Coverage    6.97%   6.98%   +<.01%
=========================================
  Files         498     500       +2
  Lines       83211   83346     +135
=========================================
+ Hits         5808    5824      +16
- Misses      76908   77028     +120
+ Partials      495     494       -1

Flag
Coverage Δ

#aFlag
6.98% <15.44%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/lockman/inmemory.go
67.07% <0%> (+4.87%)
:arrow_up:

pkg/cloudcommon/db/lockman/bug.go
0% <0%> (ø)

pkg/cloudcommon/db/lockman/etcd.go
15.78% <15.78%> (ø)

pkg/cloudcommon/cronman/cronman.go
49.51% <0%> (-5.34%)
:arrow_down:

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

Continue to review full report at Codecov.

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

v2 <- v1

改进测试，增加多lockman竞争共享存储
添加etcd_lock_prefix配置项，多服务共用同一个etcd集群时避免锁重名
添加etcd tls相关配置项

/lgtm

v3 <- v2

lock失败时（etcd, exceeding depth），不做recover() (etcd.unlock)，依赖调用方defer做平衡

/lgtm

/lgtm

v4 <- v3

移除record中的holder成员
解锁时，仅做session.Close()，无需em.Unlock()，缩短故障时time.Sleep()引起的等待时间

/lgtm

/approve


Documentation update and breaking changes

More documentation completed
More godoc comments
Breaking changes to type naming in iterator
Breaking changes to parameter order some some map functions
Possibly other breaking changes.

More documentation completed
More godoc comments
Breaking changes to type naming in iterator
Breaking changes to parameter order some some map functions
Possibly other breaking changes.


Could you please share how to upload to test-dev

Hi Yuqing, I have tried to upload to test-dev, following the instructions in http://cocodataset.org/#upload, but when uploading the json file, it always prompts Invalid file type (application/json). Could you please share some advice on this issue? Thanks

Sorry I forget to zip the file, but after zip the file, the uploading seems stacked there with no progress in a long time, tried another browser, still not work

finally got it work, waiting longer


Error message when comparing Immutable-js collection to array is confusing

Do you want to request a feature or report a bug?
Enhancement request (so feature, I guess?)
What is the current behavior?
Given a test like this:
const Immutable = require('immutable');
it('compares Immutable-js collections', () => {
  expect(Immutable.OrderedSet(['foo'])).toEqual(['foo']);
});

The failure message is a bit confusing:
 FAIL  html/js/ads/utils/__tests__/SomeTest-test.js
  â— compares Immutable-js collections

    expect(received).toEqual(expected)

    Expected value to equal:
      ["foo"]
    Received:
      ["foo"]

    Difference:

    Comparing two different types of values:
      Expected: array
      Received: object

      at Object.<anonymous> (html/js/ads/utils/__tests__/SomeTest-test.js:38:50)
      at process._tickCallback (internal/process/next_tick.js:103:7)

What is the expected behavior?
Maybe something like this:
    Comparing two different types of values:
      Expected: array
      Received: Immutable.OrderedSet

Or this:
    Expected value to equal:
      ["foo"]
    Received:
      Immutable.OrderedSet("foo")

Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Whichever version of Jest we use internally at Facebook.

We could definitely create a pretty-format plugin for that

@thymikee I can give this a shot if no one else will. I'd like to contribute more to the Jest ecosystem...and this seems like a small enough issue to start off with. I might even have some time this weekend. Any tips on where to start are welcome :slightly_smiling_face:

@ttmarek great! Of course you can take it.
For the Jest part you can start with looking at how to write a plugin for pretty-format package and how to detect that the value passed to it is coming from Immutable library.
Then you'll need to update prettyFormat calls with plugins option in Jest codebase.

This will be in the next version of Jest thanks to @cpenarrieta.


[#1459] improvement(server): refactor DefaultFlushEventHandler and support event retry into pending queue

What changes were proposed in this pull request?

Refactor DefaultFlushEventHandler to unify the logic of handling event
Fix incorrect some metrics
Support retry event into pending queue
Fix the incorrect inFlushQueueSize
Introduce the underlying executor queue metrics

Why are the changes needed?
Fix: #1459 #1460
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs

PTAL @jerqi @leixm @xianjingfeng

Codecov Report
Attention: 44 lines in your changes are missing coverage. Please review.

Comparison is base (e049a27) 54.19% compared to head (c443e04) 54.41%.
Report is 1 commits behind head on master.

Files
Patch %
Lines

...pache/uniffle/server/DefaultFlushEventHandler.java
75.92%
7 Missing and 6 partials :warning:

...org/apache/uniffle/server/ShuffleFlushManager.java
73.46%
9 Missing and 4 partials :warning:

...he/uniffle/server/flush/EventDiscardException.java
25.00%
6 Missing :warning:

...he/uniffle/server/flush/EventInvalidException.java
25.00%
6 Missing :warning:

...ache/uniffle/server/flush/EventRetryException.java
25.00%
6 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1461      +/-   ##
============================================
+ Coverage     54.19%   54.41%   +0.21%
+ Complexity     2775     2243     -532
============================================
  Files           423      349      -74
  Lines         24204    15725    -8479
  Branches       2060     1451     -609
============================================
- Hits          13118     8557    -4561
+ Misses        10275     6688    -3587
+ Partials        811      480     -331

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

Thanks for your review @xianjingfeng Merged.


Fix typo in Request ID docs; keyGenerator -> generateKey

Happened to see that the documentation incorrectly calls the custom key generator option keyGenerator while it is really named generateKey.

Thanks!


Combinatorial generation doesn't work as expected?

Nice extension but i think it doesnt work as documented
I installed it (as extension)
chose Dynamic prompting v0.13.7 (in Script section)
checked box Combinatorial generation
set Combinatorial batches to 4
prompt: test {dog|cat|rabbit}
according to docs i should have 3 images with combination of 3 different animals
but i get 4 images with one of animals every time (same animal for all 4 images)
am i doing something wrong?

@MicZet You need to increase your batch count (not to be confused with combinatorial batches). In your example, if you set the batch count to anything >= 3 you will get the result you expected.

@MicZet did @tylerdurrett's suggestion work for you? Combinatorial batches isn't a great term but I'm not sure what to call it. The batch sliders in combinatorial mode mean the following:
batch size * batch count = Maximum number of outputs, regardless of the number of variations
combinatorial batches = re-run your combinatorial batch that many times with a different seed.
The maximum number of outputs is combinatorial batches * batch size * batch count

Yes - thanks

It would be good to add tooltip descriptions for all options like the original UI do.
'combinatorial batches' have confused me too in first time.

Good point - adding tooltips is not straightforward but I need to figure out how to do it. I agree about combinatorial batches, it was included on request from a user, I'm considering moving it to the advanced options tab - what do you think?

Original code from the 'hints.js' will fit.
You can take a look at: https://github.com/Eugenii10/sd-dynamic-prompts/commit/cbfa8e6e4fffbadebd6ed66bdb569f1d83c6542b
I can try to add tooltips for the all elements later if you want.

I'm considering moving it to the advanced options tab - what do you think?

Personally I don't think that the problem is in the slider itself, however it might be best placed next to the "Fixed seed" checkbox. I think the problem is the lack of information (help description) for the elements. We have no tooltips, and the "Help" section is super short.

I can try to add tooltips for the all elements later if you want.

If you're up to it that it would be much appreciated


Add MIT License

Explicitly adding the MIT license to allow people to choose which license terms they use for code examples and snippets shared with-in the discussions area of this project and organization.

I been recording all of this since yesterday

I'm the onwer of the accounts

I been recording all of this since yesterday

LGTM

Thank you for completing this work @ossanna16 and for the additional support @martinwoodward
This is only appearing at the repo level: https://github.com/community/community

see screenshot:

We need this to be elevated to the org level discussions: https://github.com/orgs/community/discussions -- Do you know how to solve this? @michellemerrill and I tried to solve a similar issue closer to launch in July so tagging her + @bailey & @jricciardi  for visibility

Yeah, that would be a new feature request for the Discussions team at GitHub to present license info on the org main discussions page if present using the same logic as on the code view page.
The fact we have the license there should keep most lawyers happy but def be good to make it more discoverable for people who have visited the discussions page for a project (esp Org discussions)

@martinwoodward super helpful! Thanks for the quick response @ossanna16 can you please add this to our Discussions Feature Wishlist & Pain Points? It's not urgent, but should be tracked. You can include a link to this thread for context.

@ettaboyle Done ✅

CÓDIGO DE LICENCIA``

🔥


configuration values added for resource and affinity in kubecost

Closing this PR as it is not required now.


Qcactus/add lightgcn

Description

Add LightGCN algorithm and lightgcn_deep_dive notebook.
Related Issues

Checklist:

[x] I have followed the contribution guidelines and code style for this project.
[x] I have added tests covering my contributions.
[x] I have updated the documentation accordingly.
[x] This PR is being made to staging and not master.

Hi  all,  this is a contributor from university.  They are putting the very recent SIGIR2020 paper https://arxiv.org/abs/2002.02126  to our codebase.   I will go through the code first and will let the authors correct some issues (if there is any). After that I will ping you in Teams so that you can start the review process.

this is awesome! super good work

hey @Qcactus, this is really nice. If you want to, feel free to add your name to https://github.com/microsoft/recommenders/blob/master/AUTHORS.md

hey @Qcactus, in which machine have you computed the stats of the notebook? I'm trying to replicate
FYI @Leavingseason

@miguelgfierro GeForce GTX 1080Ti. Anything wrong with the notebook?

@miguelgfierro GeForce GTX 1080Ti. Anything wrong with the notebook?

I was testing the notebook on a K80 gpu with different batch sizes, but interestingly, the gpu memory doesn't change when I show it with nvidia-smi. These are the results I got:
EPOCHS = 5
#BATCH_SIZE = 1024 # with ML1m: Epoch 2 (train)169.7s, gpu memory 56Mb
#BATCH_SIZE = 4096 # with ML1m: Epoch 2 (train)47.2s, gpu memory 56Mb
# BATCH_SIZE = 16384 # (=1024*4*4), with ML1m: Epoch 2 (train)16.2s, gpu memory 56Mb
# BATCH_SIZE = 65536 # (=1024*4*4*4), with ML1m: Epoch 2 (train)9.0s, gpu memory 56Mb

I tried another machine, this time with 4K80, and got similar results: BATCH_SIZE = 65536 # (=1024*4*4*4), with ML1m: Epoch 2 (train)8.8s, gpu memory 56Mb
Looking at the code it seems it is using gpu: https://github.com/microsoft/recommenders/blob/staging/reco_utils/recommender/deeprec/models/graphrec/lightgcn.py#L107 so I don't understand why the gpu memory is so low, do you know what could be happening?

I tested the notebook on GeForce GTX 1080Ti. Here is the result:
MovieLens 1m
BATCH_SIZE=1024, Epoch 2 (train)28.0s, GPU Memory 396Mb
BATCH_SIZE=4096, Epoch 2 (train)13.3s, GPU Memory 396Mb
BATCH_SIZE=16384, Epoch 2 (train)9.7s, GPU Memory 396Mb
BATCH_SIZE=65536, Epoch 2 (train)7.5s, GPU Memory 457Mb

It seems reasonable on my machine. But I don't have access to other kinds of GPU, so I might not be able to find out the problem. Have you used tensorflow 1.15.2? (I noticed that some codes in this repo are tested with tf 1.11.) Or maybe you can try to test the notebook on a GeForce to see whether the result is similar with mine.

I found the issue, the low memory consumption we were having was because the datasets were small, if I used ML10M or ML20M, I was getting 6713MiB


Exception: can't open video writer, Publish to Server from OpenCV

Which version are you using?
opencv-python==<IP_ADDRESS>
Which operating system are you using?

[x] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
Exception: can't open video writer, Publish to Server from OpenCV
Describe how to replicate the issue

start the server
publish to server with OpenCV
read with

import cv2
import numpy as np
from time import sleep

fps = 20
width = 800
height = 600

out = cv2.VideoWriter('appsrc ! videoconvert' + \
    ' ! x264enc speed-preset=ultrafast bitrate=600 key-int-max=40' + \
    ' ! rtspclientsink location=rtsp://localhost:8554/mystream',
    cv2.CAP_GSTREAMER, 0, fps, (width, height), True)
if not out.isOpened():
    raise Exception("can't open video writer")

while True:
    frame = np.zeros((height, width, 3), np.uint8)

    # create a red rectangle
    for y in range(0, int(frame.shape[0] / 2)):
        for x in range(0, int(frame.shape[1] / 2)):
            frame[y][x] = (0, 0, 255)

    out.write(frame)
    print("frame written to the server")

    sleep(1 / fps)

OutPut:
Exception: can't open video writer

Did you attach the server logs?

yes
$ ./rtsp-simple-server
2022/10/31 11:28:15 INF rtsp-simple-server v0.20.1
2022/10/31 11:28:15 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2022/10/31 11:28:15 INF [RTMP] listener opened on :1935
2022/10/31 11:28:15 INF [HLS] listener opened on :8888

Did you attach a network dump?

no

From the README:

OpenCV must be compiled with GStreamer support, by following this procedure:

sudo apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-ugly gstreamer1.0-rtsp python3-dev python3-numpy
git clone --depth=1 -b 4.5.4 https://github.com/opencv/opencv
cd opencv
mkdir build && cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D WITH_GSTREAMER=ON ..
make -j$(nproc)
sudo make install

In order to check for GStreamer support, you can run
python3 -c 'import cv2; print(cv2.getBuildInformation())'

and verify that the output contains GStreamer: YES.


Map view / Data view filter in map editor

@saleiva @piensaenpixel guys can you review it:

Uhm... could work.
Which view would be activated by default?

I'm not sure and depends on use, but IMO could be convenient the map view.
2015-01-13 12:44 GMT+01:00 saleiva<EMAIL_ADDRESS>
Uhm... could work.
Which view would be activated by default?
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/1725#issuecomment-69732667.

--
Carlos Tallón
Designer

Why not to keep the actual view as the default one?

Perfect! I don't have good reasons to disagree ; )
2015-01-13 12:58 GMT+01:00 saleiva<EMAIL_ADDRESS>
Why not to keep the actual view as the default one?
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/1725#issuecomment-69734049.

--
Carlos Tallón
Designer


UI: Credits

Make Credits appear at Game Over / pause screen

Implemented as options - credits screen flow


It says "waiting for password to be entered" and thats it nothing more

It says "waiting for password to be entered" and thats it nothing

Please run the command apt install php7.4-cli to install PHP. I have tried the tool on a different device just now and came across the same error, I fixed it just by installing PHP.

There has also been some errors with JavaScript which are now fixed 👍


South Atlantic Ocean incorrectly labeled as North Atlantic Ocean

This seems to be the case for all viewers:

We have no control over the map imagery supplied by third parties like Microsoft.


IP address range should be defined here

[Enter feedback here]
I keep trying IP addresses and getting back Value xx.xx.xx.xx,xx.xx.xx.xx,xx.xx.xx.xx is not a valid IP Address in rule where the Xs are valid IP addresses

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

ID: a994dabc-b468-b3b3-91a4-c9db4af026bc
Version Independent ID: e2f04ce5-20c4-d9f8-aaed-fce4f356dbd0
Content: Configure IP restriction WAF rule for Azure Front Door
Content Source: articles/web-application-firewall/afds/waf-front-door-configure-ip-restriction.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@fizgig
If you are adding the IP addresses via portal then the IP address should be mentioned as shown below, comma separated IP values are not allowed.

Hope this helps! Please tag me in your response if you have any questions. Thank you!


unable to compile using jdk 14 and netbeans 12

Hi, thanks for the report.
I'm aware of this issue.
As stated in README, building is currently limited to Gradle 4.10 (which is limited to JDK 11) due to an issue in used plugin gradle-nbm-plugin 1.17.0.
I was hoping that plugin will be updated, but maybe it's abandoned. Either I will have to fix it myself or use other method for building...

thanks

From: Miroslav Hajda<EMAIL_ADDRESS>Sent: Thursday, August 6, 2020 7:18 PM
To: exbin/bined-netbeans-plugin<EMAIL_ADDRESS>Cc: Peter Cheung<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [exbin/bined-netbeans-plugin] unable to compile using jdk 14 and netbeans 12 (#13)
Hi, thanks for the report.
I'm aware of this issue.
As stated in README, building is currently limited to Gradle 4.10 (which is limited to JDK 11) due to an issue in used plugin gradle-nbm-plugin 1.17.0https://github.com/radimk/gradle-nbm-plugin.
I was hoping that plugin will be updated, but maybe it's abandoned. Either I will have to fix it myself or use other method for building...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/exbin/bined-netbeans-plugin/issues/13#issuecomment-669867482, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMBCFGOVGXZQTPNLPYW4TYDR7KGO7ANCNFSM4PWOSAYA.

Included build of more recent version of the plugin. Hopefully it works now.


Added LTHRadioButton

Project URL
https://github.com/rolandleth/LTHRadioButton
Description
A radio button with a pretty fill animation, slightly inspired by Google Material's one.
Why it should be included to awesome-ios (optional)
I am not aware of any radio buttons, at least not with pretty animations.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Not sure if I should've added by @rolandleth to the commit, I just saw a lot of them in the history. Let me know if I should remove it, or if anything else is required. 👋

          1 Error

  :no_entry_sign:
  Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

1839
404
https://github.com/sag333ar/SRKControls

  Generated by :no_entry_sign: danger

Hey @rolandleth, thanks for contributing and good job on your lib, specially with the organized README with gif.
The only thing is that I wanna ask you to move it to the /Button category

Hey @Ifarah, thank you!
Hmm, I thought about that, but it's not a button per se, and it has no button-like functionality, it's more of a checkbox. Then I found one of those, and I added it there.
If you think it's better suited there anyway, I'll do it when I get home.

@vsouza @dkhamsing @nschucky what do you guys think?

i guess it is fine in ui, for now

Thank you!


Add missing ticket note

@KevinVlaanderen can this be reviewed/merged?

@KevinVlaanderen can this be reviewed/merged?

Yes

Yes


Details of code translation dataset

Hi,
Could you provide the details for the c# Java dataset? For example, the class name, file name and/or path of the file in the project?
Thanks.

Hi, I'm afraid we don't preserve such metadata.


Reference specific commit from pathcheck-mobile-resources

Description:

We need a way to check which configuration we are using for each build.
Instead of always getting the latest changes from master this PR allows us to target a specific commit.
Each time there's a configuration change in https://github.com/Path-Check/pathcheck-mobile-resources we will have to update the file /bin/mobile-resources-commit to reflect those changes in the app.
I also allows us to define a different configuration per branch (for mn-release branch for example)
Linked issues:

https://trello.com/c/RZKjDdRu/404-as-a-dev-team-we-have-a-way-to-version-a-build-to-the-correct-commit-to-the-pathcheck-mobile-resources-repo
How to test:

Run ./bin/set_ha.sh mn to check that it reads the configuration from the commit specified in /bin/mobile-resources-commit

This PR tries to fix 2 issues we are having

We didn't know which config is used for each build
Flags are removed/renamed from the config and they break builds for everyone until someone creates a PR to fix it in this repository

I think it's important to make it a manual process where someone updates the commit reference and creates a PR that everyone can review and make sure it compiles.
We could add a new script to manually update the commit reference and get the latest one instead of having to copy-paste it.
I'll add the commit reference to the release notes in AppCenter so everyone can read it.
I'm open to suggestions, we can change it if we feel we will usually forget to update the reference.
Are you ok with this implementation for now?

I think it's important to make it a manual process where someone updates the commit reference and creates a PR that everyone can review and make sure it compiles.

Not 100% sold on this needs to be manual and im worried about people forgetting to update the commit hash, or miss copying it. That said, this is a significant improvement and solves the immediate problems you listed, so we should move forward with it and automate if need be later.

Are you ok with this implementation for now?
100% !


Master/detail flow

Hello.
Is there a possibility to use this lib with master/detail on tablets?
I want to have 2 panes in normal and 3 in existing multipane mode.
Thanks!

Hi,
So you need to have a method for replacing your content on tablets and getting back to the first?
In the next release I will unprivate the setFragment method, so you could create your master/detail flow

Hi.
Thanks for setFragment.
With this, nested fragments come into play.

Yup, making setFragment public will help also elsewhere - as mentioned in #39

Any predictions of when this feature (Master/Detail) will be available?
Congratulations for the great work. Helps a lot of our lives

well, for the next release I'm working a lot. Because I want to make a stable release and fix all issues is not simple. Sometimes I'm gonna update the dev project for minor fix, so you can use that instead using maven, if you need this feature now

I have released the 1.3 alpha to github. Actually I haven't test all new functionality and I'm working to create the example app, but now setFragment is public.

Can you explain how the setFragment works?

i'm writing the documentation in these days...
However, now there are three methods you can use.
setSection
The first is the setSection, that allows you to open a section programmatically.
setFragmentChild
The second is setFragmentChild, that have the target fragment and the title as parameters.
It replace the current content with the fragment, adding it into a stack.
When a child is opened, the toolbar menu change to the "back arrows" and if it is pressed, it returns to the primary section (or if user clicks on back button).
You can add how many child you want, for example:

Section 1 -> child 1 -> child 2
Section 2 -> child 1
etc.

setFragment
You can use this method as the setFragmentChild, but it is not added to the stack, and the fragment added is totally alone with the content. So the toolbar not change and if user clicks on the back button, it works as the section with the Drawer pattern you have used.

Hmm, so the setFragmentChild will be used to go from my Section 1 -> child 1. But how can I show the two fragments on the same Activity if my tablet is in Landscape mode?
Normally I use a layout with 2 FrameLayout and add the fragments. How can I do this if I can't change the layout? Would I need to create a activity_material_navigation_drawer.xml for this?

What do you mean with the "two fragments"?
Essentially, with tablets the setFragmentChild is setted into the right content.
The drawer will not change at all.

I mean have 2 fragments on the same activity, without counting the NavDrawer. Like here http://developer.android.com/training/basics/fragments/fragment-ui.html

Well, if you want to create your master/detail fragment flow, you can do it, but this library implements a navigation drawer. When you use the gmail app with a tablet the navigation drawer will not be overrided.


Add new fields to Thermostat

Added the new fields (as of AVMs docs):

WindowOpenEnd
Boost
BoostEnd
Holiday
Summer

As this makes the cli output quite long, I've added a verbose option to hide most of the new fields by default.
Seems like we where working on the same stuff in parallel today. :smile:
I'm not sure about the types in model.go. You seem to prefer to parse everything as string and I am not sure why that is. Let me know if you would like to have that changed.
As of the window stuff at least all my devices seem to not report the state properly.

Hi @jayme-github, thanks for taking the time to contribute. I will try to look into this PR as soon as I can.

Hi @jayme-github, thanks for taking the time to contribute. I will try to look into this PR as soon as I can.


Create registry pods for ConfigMap CatalogSources

This is step 2 in a long line of changes to switch to using operator-registry in OLM.

[x] Add pod reconciler that creates registry pods from configmaps
[x] Add ConfigMap sourcetype as an alias for internal
[x] Write tests

Note that this doesn't yet use the pods for resolving dependencies, so the in memory registry is staying for now.

/test e2e-aws-olm

/test e2e-aws-olm

/test e2e-aws-olm

/test unit

/test e2e-aws-olm

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/test e2e-aws-olm


pthread.h not found

It does not compile a basic hello world program using pthreads even though web assembly supports pthreads.

Hi Shubham,
Threads are not supported by WASI or Lucet yet.
This is something that will be added later.


This API is not open to Java

In addition to the main method, there are no other methods that can be called, such as the method with which the parameters are returned.

Can you please elaborate on the problem?
Are you looking for public methods in the example code to which returns the required parameter?

Please see,Data is not obtained because the method does not return
protected void run() throws Exception {
Builder bldr = new Builder();
if(null != this.datacenterName && !this.datacenterName.isEmpty()){
bldr.setDatacenters(Collections.singleton(DatacenterHelper.
getDatacenter(this.vapiAuthHelper.getStubFactory(),
this.sessionStubConfig, this.datacenterName)));
}
if(null != this.clusterName && !this.clusterName.isEmpty()) {
bldr.setClusters(Collections.singleton(ClusterHelper.getCluster(
this.vapiAuthHelper.getStubFactory(), sessionStubConfig,
this.clusterName)));
}
if(null != this.vmFolderName && !this.vmFolderName.isEmpty())
{
bldr.setFolders(Collections.singleton(FolderHelper.getFolder(
this.vapiAuthHelper.getStubFactory(), sessionStubConfig,
this.vmFolderName)));
}
List vmList = this.vmService.list(bldr.build());
System.out.println("----------------------------------------");
System.out.println("List of VMs");
for (Summary vmSummary : vmList) {
System.out.println(vmSummary);
}
System.out.println("----------------------------------------");
}

Yes, these samples are not mean't to be used as helper methods and designed to be run independently through the main() method. So, you can't directly call the run() method and expect the same output as executed via main().


Add the ability to alter the ttl and ttl_column storage params

It could be useful to change, remove, and add ttl and ttl_column storage params to existing CONTINUOUS VIEWs without creating new ones and copying over data.

Changing the ttl value should be pretty simple, but changing the column or adding/removing ttl might be tricky.

@EliSnow the best way to do this would be via ALTER:
ALTER CONTINUOUS VIEW v SET ttl = '1 hour', ttl_column = 'column';

However, because of #1596 we're pulling out all PipelineDB syntax so we'd prefer not to add any in the meantime. For now, we can wrap this in a function call:
SELECT set_ttl('cv_name', '1 hour', 'column');

Once #1596 lands, we can map that function call back to the DDL interface:
ALTER MATERIALIZED VIEW SET ttl = '1 hour', ttl_column = 'column';

@derekjn, you're on a roll today! The function call should be fine.
Just out of curiosity is there any ALTER CONTINUOUS VIEW syntax that exists today?

Just out of curiosity is there any ALTER CONTINUOUS VIEW syntax that exists today?

Nope, only ALTER STREAM.

Docs:
http://docs.pipelinedb.com/continuous-views.html#modifying-ttls


Support Sensitive class params

This adds a trivial wrapper type and a helper method to class examples.

Changes Unknown when pulling 08f562480d873cca099a8a0b4e5a4a11fed0b798 on conjur:support-sensitive into ** on rodjek:master**.

+1 for this functionality. Would like to use Sensitive but need the tests to pass first.

BTW, the travis failings seem due to an incorrect matrix of ruby/puppet versions and not to this commit.

Coverage increased (+0.08%) to 91.467% when pulling 62226a998c6e16ad599927ebfa95e4bf5af6e3b3 on conjur:support-sensitive into 11f93e70abaf35f774a3c7c87f9107fa62a0152c on rodjek:master.

Targeting for 2.7.0

Coverage increased (+0.07%) to 91.456% when pulling d833c6b1a5e14d237dc98c4bcd541cb06b42ad74 on conjur:support-sensitive into 11f93e70abaf35f774a3c7c87f9107fa62a0152c on rodjek:master.

Coverage increased (+0.08%) to 91.467% when pulling 643c3d0053f9688d2c74d186f642aeda231912a1 on conjur:support-sensitive into 11f93e70abaf35f774a3c7c87f9107fa62a0152c on rodjek:master.

@rodjek Any updates on this?
@dividedmind Can you also update the documentation on using this?

+1 on getting this into rspec-puppet, any updates?


help(MatSortHeader): Set aria-label for the sort button

What are you trying to do?
Pre version 12 I used MatSortHeaderIntl.sortButtonLabel for setting the aria-label for the sort button inside MatSortHeader.
But since version 12 the method has been removed because it is deprecated which I can understand, so how do you set an aria-label for the sort-button without this?
What troubleshooting steps have you tried?
I've looked around the repo and the documentation but cannot see any pointers to how to do this without MatSortHeaderIntl
Reproduction
Steps to reproduce:

Create new instance of MatSortHeaderIntl
Try to set sortButtonLabel

Environment

Angular: 12.0.0
CDK/Material: 12.0.0

Further investigation got me to this, which sounds to me that an aria-label on the button it self is not really a option since there is not a button any more and putting aria-label on the  is sufficient.


feat(schema-org): support FoodEstablishment

🔗 Linked issue
#271
❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Adds a new node type, FoodEstablishment, which is a subtype of LocalBusiness
Resolves #271
📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

Merging in https://github.com/unjs/unhead/pull/277


Use TitlebarClickAwareWindow from WindowTreatment library

I made two commits to easily remove/modify the last one if https://github.com/ChimeHQ/WindowTreatment/pull/1 gets merged!

WindowTreatment now points to the main branch since https://github.com/ChimeHQ/WindowTreatment/pull/1 has been merged and I squashed the commits!

I had to fix this up to merge properly, and the only way I knew how to do this easily was via force push :(


Some optimization of CofEnv

Not sure if this is worth it, but I figured we could save a lookup. Does this make sense, or am I braindead?

I can't tell if it's worth it. If UF is implemented correctly, then the lookup should be almost constant, which means your pattern matching should not save much. (Disclaimer: I only see how it works it my dream.)

Aha:) Well, I implemented the UF not so carefully, so I don't know for sure. I'm fine if you prefer to close this PR.

I remember I once implemented a wild version like this but in the UF library directly. Could not find it now. :-/

PS: I am neutral about this PR.

this seems useless, let me just close it for now


Canvas controller template: update to current RBAC API version

rbac.authorization.k8s.io/v1beta1 RoleBinding is deprecated in v1.17+, unavailable in v1.22+
Closes #4.

I've implemented the same changes as part of v1beta1 version upgrade. I'll close this PR.


Implement csv serialization for external sorting, we don't need to rely on messagepack

I don't really understand how you are supposed to tweak that.


run   wetts/bin/train.py fastspeech have problem

Why this problem arises？

RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

You can enable CUDA_LAUNCH_BLOCKING=1 when running python wetts/bin/train.py to see more debugging information.
You can check if your CUDA version matches your torch version.
You can check if the shape of your input match required shape when tensors are passed to fastspeech2.

ok,  where set available cuda number in wetts/bin/fastspeech2_train.py?
I dont see any one , Is set  that os.environ['CUDA_VISIBLE_DEVICES'] = "0,1" use gpu training model?

Right now distributed training is not supported. Setting os.environ['CUDA_VISIBLE_DEVICES'] = "0,1" or run CUDA_VISIBLE_DEVICES=0,1 python wetts/bin/train.py ... can explicitly set GPU.


Can't use c, d

zsh-vi-mode does not seem to take <count> after c or d and before <motion>, such as c2w or d2w. It only seems to accept a count before c or d.

Hi @gotgenes
🎉 This issue has been addressed and fixed. Please update your plugin to the latest version.
Thanks and regards

Confirmed fixed. Thanks!


script: add to_p2wsh() and is_p2swsh() functions

utACK, with micro nit that these definitions are for v0 witness only

Pushed a rename which adds _v0 to all the names.

re-utACK


Display distinct values of semantic data models in filter suggestion

As a user ,
I want to be able to filter after existing semantic data models ,
so that a filtration will never end up in zero results .
Hints / Details

currently we display semantic data models in filter suggestion hardcoded
since in future we expect lots of different semantic data models we possibly even dont know about, we need to keep the variety of filtersets generic

Acceptance Criteria

BE returns distinct semantic data models that are stored in the corresponding table of the parts
FE displays the distinct semantic data models instead of the hardcoded varierty

Out of Scope

...

I copied the ticket as the original tickets were deleted due to a spam account.
Orginal Ticket: https://github.com/eclipse-tractusx/traceability-foss/issues/696

This has been already resolved:
/api/assets/as-built/distinctFilterValues?fieldName=semanticDataModel&startWith=B&size=200 returns: all existing semanticDataModels


Use of chrono::offset::local::now() ignores the Windows 10's time zone

What's Happening
When I use chrono::offset::local::now() in an ambient program, it returns a date and time that does not have the time zone of the computer where the program runs, instead the time zone returned is +0.
Where's Happening
In a PC with Windows 10, in an Ambient program using as dependencies
ambient_api = "0.2.1"
more-asserts = "0.3.1"
chrono = "0.4.26"
AND it shows up at the first person camera example (see Extra Commentary, below). May be happening on other programs as well, more testing is required.
How to Reproduce

In a computer running Windows 10, make sure that the time zone used by it is not UTC+0;
Create two projects: one using Ambient 0.2.1 and other that's just a Rust project, without Ambient, by cargo new;
Add to both projects the chrono = "0.4.26" dependency;
Add use chrono::prelude::*; to the Ambient project's client.rs and the Rust project's main.rs;
Add println!("{:?}", Local::now());to both project's main function.
Run both projects through the command prompt;
The ambient log printed on the command prompt should have a line ending with something similar to this in structure:
2023-06-21T02:21:19.425459200+00:00, emphasis on the end +00:00.
The rust program should also print a line with a similar structure, but with a different time, maybe a different date depending of the time zone, and explictly a different end on the line, that is the time zone of the OS;

Extra Commentary
This (or a similar bug) can also be visible at the Ambient's log lines - each log line starts with a [, then the date, time and time zone of when it was printed - running the Ambient program where this bug appeared and also the first person camera example revealed the same problem regarding the wrong date and time at each line:
[2023-06-21T02:29:45Z INFO  ambient] Building First person camera
[2023-06-21T02:29:46Z INFO  ambient] Done building First person camera
[2023-06-21T02:29:46Z INFO  ambient::server] Creating server
The three date and time above are using UTC+0, but it should be using UTC-3.

Thanks for reporting this!
It looks like it's two issues:

the Ambient app's log formatting defaults to printing in UTC time
the guest code does not know what the timezone is, and defaults to UTC

With 1), we'll have to research the going standard across applications to see which timezone our logs should be in. I suspect UTC is better for servers, but localtime is better for usability (i.e. I can see the mdbook server is giving me local time, but you wouldn't run that in production)
For 2), this appears to be a consequence of wasmtime-wasi not supporting timezones yet:
https://github.com/bytecodealliance/wasmtime/blob/a43d1dc68fc24e71f726ec858db90f1731e96a11/crates/wasi/src/preview2/preview2/clocks.rs#L63-L80
I'm not sure when this will be fixed, but I believe this will just "start working" once that's available and the preview1-on-2 adapter is adapted for it. I'll keep this issue open until then 🙂

Right, thanks 🙂


Intended behavior of Field in Parent-Child-Inheritance

Discussed in https://github.com/pydantic/pydantic/discussions/4896

Originally posted by florianfischer91 January  2, 2023
Given the following code
class Parent(BaseModel):
    a: int = 3
    # a: Annotated[int, Field(3)]

class Child(Parent):
    b: str = Field(alias='bbb')

the resulting field infos of Parent and Child are
{'a': FieldInfo(annotation=int, required=False, default=3)} # Parent
{'a': FieldInfo(annotation=int, required=True), 'b': FieldInfo(annotation=str, required=True, alias='bbb', alias_priority=2)} # Child

You can see that for Child the inherited field a has no default value and is required. Using Annotated and Field (see comment) leads to the (in my opinion) correct field infos
{'a': FieldInfo(annotation=int, required=False, default=3)}
{'a': FieldInfo(annotation=int, required=False, default=3), 'b': FieldInfo(annotation=str, required=True, alias='bbb', alias_priority=2)}

This behavior applies to every case where a 'value' is assigned to a field. I know that V2 is still in development but i just stumpled over this and want to now whether this is intended and one should just use Annotated or still has to be implemented?

@florianfischer91, would you like to try and submit a fix for this? Happy to help if you get stuck.


Db Migration Fails when trying to update.

From @rufio620 on August 20, 2016 3:13
Steps to reproduce
I added a new table to my database which participates in a one to many  relationship with another table. When I scaffold the migration I get the following code.
public override void Up()
        {
            CreateTable(
                "TemplateDefinition",
                c => new
                    {
                        Id = c.Guid(nullable: false),
                        BusinessDomainId = c.Guid(nullable: false),
                        InputViewModelId = c.Guid(),
                        SystemName = c.String(nullable: false, maxLength: 255),
                        TemplateMarkup = c.String(),
                        InvariantId = c.Guid(nullable: false),
                        DisplayName = c.String(nullable: false, maxLength: 255),
                        Description = c.String(),
                    })
                .PrimaryKey(t => t.Id)
                .ForeignKey("BusinessDomainDefinition", t => t.BusinessDomainId, cascadeDelete: true)
                .ForeignKey("ViewModelDefinition", t => t.InputViewModelId)
                .Index(t => t.BusinessDomainId)
                .Index(t => t.InputViewModelId);

        }

Upon applying this migration I get the following error.
Applying explicit migrations: [201608200256366_MigTemplateDefs].
Applying explicit migration:<PHONE_NUMBER>56366_MigTemplateDefs.
The Foreign Key on table 'TemplateDefinition' with columns 'InputViewModelId' could not be created because the principal key columns could not be determined. Use the AddForeignKey fluent API to fully specify the Foreign Key.

The BusinessDomainDefinition table was created in a previous migration and has a primary key. There are also several other 1 to many child tables created in the initial migration that are applied without the same error.
The issue
EF Migrations should be able to apply this without an issue. It is a simple 1 to many relationship. If I delete all migrations and re scaffold the entire database the update works without any problem.
If you are seeing an exception, include the full exceptions details (message and stack trace).
Exception message:
Stack trace:

Further technical details
EF Version 6.1.3
Visual Studio 2015 Community
Other details about my project setup:
Copied from original issue: aspnet/EntityFramework#6378

@rufio620 could you provide a full repro? The full project would be ideal, but otherwise the model could help if it repros consistently.

I'll put together a repro project today or tomorrow and post it.
On Thu, Aug 25, 2016 at 6:48 PM, Diego Vega<EMAIL_ADDRESS>wrote:

@rufio620 https://github.com/rufio620 could you provide a full repro?
The full project would be ideal, but otherwise the model could help if it
repros consistently.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/EntityFramework6/issues/53#issuecomment-242568967,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5my_UfR-ub1MuEJj85nCuokYLLxqM7ks5qjhutgaJpZM4JrVlJ
.

Attached is a repro project. There is a sql server 2012 database backup that has the first migration run. If you open the solution build and run update-database the error should be reproduced. Everything seems to run without issue if all the changes are scaffolded into a single migration. Let me know if you need any additional information. Thanks for your help.
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
Applying explicit migrations: [201608310542208_CreateChildEntity].
Applying explicit migration:<PHONE_NUMBER>42208_CreateChildEntity.
The Foreign Key on table 'ChildEntity' with columns 'ParentId' could not be created because the principal key columns could not be determined. Use the AddForeignKey fluent API to fully specify the Foreign Key.

EF6_Issue53.zip

I did not get to this one before vacation. Clearing up in case someone else wants to take it while I am out. Feel free to assign back to me to deal with when I get back if you want 😄.

I investigated this. The issue is arising due to this
modelBuilder.HasDefaultSchema(string.Empty);
The default schema is set as empty string and is reflected in generated migrations but when we try to apply migration, instead of picking empty string as default schema we get dbo. Probably somewhere we converted empty string to null and default schema logic picks dbo when null. Due to this while populating FK operation, it is not able to find the principal entity type. (the name in XML doesn't contain dbo but node we are searching for does). And exception is thrown because no PK found (because principal end not found).
This works fine if the principal table is created in same migration because if we cannot find it in EDMX model we look for CreateTableOperation in same migration to locate principal table.
Changing default schema to something else or removing the configuration also works correctly.

if i don't do that
modelBuilder.HasDefaultSchema(string.Empty);
EF.Extend could not work well with the "dbo" issue...

There are definite issues with the way this works currently. Especially across providers. Entity framework migrations does not provide a way of generating scripts that are schema agnostic. For internal enterprise apps hard coding the schema may be acceptable but for products it is not. Consumers of a software product may install the schema anywhere. Without this line schema is generated with hard coded dbo and with oracle the connecting schema name. With it the generation throws an exception. This breaks any ci generation of script updates. This really seems like a defect that should be addressed unless there is some other work around to generating scripts without hard coded schema that I am not aware of.


Automate upload of static assets

In configs repo, create a folder for UI artefacts and check in all the required files.

Upload of static UI assets (logo, header, footer), PDF docs (required documents) to be automated as part of install or post-install scripts. URL to be configured in globalConfigs.js
UI uses static PDFs (Eg. required docs checklist). Move this to the same folder where where logo and other UI artefacts are stored. These will be exposed via Azure Blob/S3/SDC equivalent.
Do we need localisation for some of these UI PDFs? @suresh12  to provide details.

@Pasam6 how will this work for SDC? Can you please add steps in comments?

Previously static pdfs and assests were stored in Azure blob storage for UAT environment and the same was used into production. Now we have created a separate bucket named assests in MINIO and added the required content into it. @suresh12 @atulgupta2024.

Please test to access this URL publicly. Once tested we can close this ticket. Create a new ticket for the application to start using the Minio URL in the PROD and Azure URL in the UAT.

Tested this in SDC, the application is able to access the url for bucket objects.


Memory consumption graphs are always empty

Description
Memory consumption graphs on a namespace details always show 0/0

Expected result
The graphs should show the actual value.

Actual result
The graphs are always empty.

Steps to reproduce

Troubleshooting

This is not really a bug, if there are no limits assigned to a namespace this shows 0/0


Fix tab view wheel scroll

Pre-launch Checklist

[x] I have updated CHANGELOG.md with my changes
[x] I have run "dart format ." on the project
[x] I have added/updated relevant documentation

The wheelScroll property can then be removed, right?

The wheelScroll property can then be removed, right?

Note necessary, if a user want to keep the vertical scroll over all page he can.
But I think we must put the default value to true.
What do you think about that ? And if you really want to remove it, I think it’s preferable to set it to true by default and mark as deprecated to avoid a breaking change.

And if you really want to remove it, I think it’s preferable to set it to true by default and mark as deprecated to avoid a breaking change and remove it in v5.0.0

Sounds fine to me! I checked on native and it stops the vertical scrolling, so I think we should do the same.

👍 that must be good now


Added support for DHGNN from Jiang et al.

Hello @andrew-herdering  ! Thank you for your submission. As we near the end of the challenge, I am collecting participant info for the purpose of selecting and announcing winners. Please email me (or have one member of your team email me) at<EMAIL_ADDRESS>so I can share access to the voting form. In your email, please include:

your first and last name (as well as any other team members)
the title of the model you implemented
the domain of the model you implemented
your pull request number (#117)

Before July 13, make sure that your submission respects all Submission Requirements laid out on the challenge page. Any submission that fails to meet this criteria will be automatically disqualified.

Hello @andrew-herdering ! Thank you for your submission. As we near the end of the challenge, I am collecting participant info for the purpose of selecting and announcing winners. Please email me (or have one member of your team email me) at<EMAIL_ADDRESS>so I can share access to the voting form.


feature & data shape

Hi, I am leaving another question here.
I am looking at the data format for setting my custom dataset in the same format as YouCookii.
When I loaded the pickle files which are 'youcookii_data.no_transcript.pickle' and 'youcookii_videos_features.pickle',
I could see the lengths of the two files are different.
I expected to see the same length for both data and feature pickles, but can you tell me why those lengths are different?
data = pickle.load(open('youcookii_data.no_transcript.pickle','rb'))
len(data)
# 1790

features = pickle.load(open('youcookii_videos_features.pickle','rb'))
len(features)
# 1905

Thank you so much,

Hi @mhyeonsoo, it is because the labels of testing videos in YouCookii are unpublished. We separately generated the pickle and did not pair them in advance,  so the data is less than the features.

Thanks for the quick response @ArrowLuo , it helped a lot.
I have one more related question, which may be opened with another issue, but I am just leaving here.
When I followed instructions, at my best knowledge, it seemed likt I have to make .npy feature for the custom video to make the csv format features.
Then I saw https://github.com/antoine77340/S3D_HowTo100M, and it shows how to extract text embedding and video embedding which has batch x 512 (or 1024) dimension.
Should I just save this batch x 512 feature as .npy file for the rest of the generation process? Or should I follow something more than this?
Thanks,

Hi @mhyeonsoo, this project just needs to save batch x 512 feature to .npy. We do not need to embed the text because  the text encoder can deal with it from raw text. The format of .csv, .pickle, and .npy and be found in readme and its sub-links, e.g., here. Best~

Hi @mhyeonsoo, we have a version of extractor https://github.com/ArrowLuo/VideoFeatureExtractor. Besides, the .csv, .pickle, and .npy are separate files and do not merge them together. See https://github.com/microsoft/UniVL/tree/main/dataloaders#1-s3d-features-pretrained-on-howto100m. Yes, the '1107' is the number of frames of 'vUhoMXc7FJM' video.


Variable exception after modifying bytecode

This is very strange. I changed iconst_0 of a certain row to iconst_1, but a strange prompt appeared when running
java.lang.ClassFormatError: Duplicated LocalVariableTable attribute entry for 'e' in class file net/playavalon/mythicdungeons/dungeons/Instance

MythicDungeons2.zip

This got fixed in d07739627c5482320d17cc67cfccbec4a253c275 unintentionally. Editing the methods and checking the javap outputs no longer shows duplicate e entries in the local var table.


SW-3152 Dashboard status filters should stick with pre-exposed-filter setup

when going from a dashboard quick filter to accessions table, the status does not stick with the pre-exposed filter
update code such that it sticks, previously the filters were keyed off different names state and preExpFilter.. converge them all to use state

@charlie-tf I started out by renaming state to preExpFilter (see first commit in this PR).. I eventually thought it might be cleaner to use the preExpFilterColumn information to set the pre-exposed-filter information (remove hard-coded names) - this is the second commit. Happy to use the first commit instead of the second but thought I'd call it out.

@charlie-tf I started out by renaming state to preExpFilter (see first commit in this PR).. I eventually thought it might be cleaner to use the preExpFilterColumn information to set the pre-exposed-filter information (remove hard-coded names) - this is the second commit. Happy to use the first commit instead of the second but thought I'd call it out.

This looks good to me, Karthik. Thanks so much for fixing this!

@charlie-tf I started out by renaming state to preExpFilter (see first commit in this PR).. I eventually thought it might be cleaner to use the preExpFilterColumn information to set the pre-exposed-filter information (remove hard-coded names) - this is the second commit. Happy to use the first commit instead of the second but thought I'd call it out.

This looks good to me, Karthik. Thanks so much for fixing this!

Thanks Charlie!


Export Mitt types for TS consumers

Without this change you can't access or use the TypeScript types from
Mitt when consuming the library. Apologies, I missed this in the first pass.

Released in 2.0.1.


Proposed solution for Vagrant support on Mac M1

Posting here some solution to get Vagrant work on Mac M1 (As more and more Mac machines are M1 CPUs based).
Virtualbox is not supported at the time on M1 chips. Options are WMWare Fusion or Parallels.
Introduction notice: Provided instructions may not be fully exhaustive, however all required elements should be there to manage to get a working solution for Mac M1 ... It works on my machine ;) ...
I tried with success an installation based on Vagrant + WMWare Fusion: There is a WMWare Fusion Tech Preview available that you can install as a replacement of VirtualBox ( https://blogs.vmware.com/teamfusion/2021/09/fusion-for-m1-public-tech-preview-now-available.html ). As Parallels now supports Mac M1 chips, and that a updated provided also supports Parallels on Mac M1, you should be able to get it work with Parallels.
After VMWare Fusion installation, you have to install Vagrant with brew ( brew install vagrant / At time v2.2.19 has a defect, therefore, you have to install Vagrant 2.2.18 ).
Then, you also have to install the Vagrant vmware provider:
vagrant plugin install vagrant-vmware-desktop

Finally, I adapted Vagrantfile from [https://github.com/mmumshad/certified-kubernetes-administrator-course](Certified Kubernetes Administrator course) as an example of a working configuration:
# -*- mode: ruby -*-
# vi:set ft=ruby sw=2 ts=2 sts=2:

# Define the number of master and worker nodes
# If this number is changed, remember to update setup-hosts.sh script with the new hosts IP details in /etc/hosts of each VM.
NUM_MASTER_NODE = 1
NUM_WORKER_NODE = 2

IP_NW = "192.168.56."
MASTER_IP_START = 1
NODE_IP_START = 2

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.

  # Every Vagrant development environment requires a box. You can search for
  # boxes at https://vagrantcloud.com/search.
  # config.vm.box = "base"
  config.vm.box = "spox/ubuntu-arm"

  # Disable automatic box update checking. If you disable this, then
  # boxes will only be checked for updates when the user runs
  # `vagrant box outdated`. This is not recommended.
  config.vm.box_check_update = false

  # Create a public network, which generally matched to bridged network.
  # Bridged networks make the machine appear as another physical device on
  # your network.
  # config.vm.network "public_network"

  # Share an additional folder to the guest VM. The first argument is
  # the path on the host to the actual folder. The second argument is
  # the path on the guest to mount the folder. And the optional third
  # argument is a set of non-required options.
  # config.vm.synced_folder "../data", "/vagrant_data"

  # Provider-specific configuration so you can fine-tune various
  # backing providers for Vagrant. These expose provider-specific options.
  # Example for VirtualBox:
  #
  # config.vm.provider "virtualbox" do |vb|
  #   # Customize the amount of memory on the VM:
  #   vb.memory = "1024"
  # end
  #
  # View the documentation for the provider you are using for more
  # information on available options.

  # Provision Master Nodes
  (1..NUM_MASTER_NODE).each do |i|
      config.vm.define "kubemaster" do |node|
        # Name shown in the GUI
        node.vm.provider "vmware_desktop" do |vb|
#            vb.name = "kubemaster"
#            vb.memory = 2048
#            vb.cpus = 2
          vb.vmx["displayName"] = "kubemaster"
          vb.vmx["memsize"] = "2048"
          vb.vmx["numvcpus"] = "2"
          vb.vmx["ethernet0.pcislotnumber"] = "160"
        end
        node.vm.hostname = "kubemaster"
        node.vm.network :private_network, ip: IP_NW + "#{MASTER_IP_START + i}"
        node.vm.network "forwarded_port", guest: 22, host: "#{2710 + i}"

        node.vm.provision "setup-hosts", :type => "shell", :path => "ubuntu/vagrant/setup-hosts.sh" do |s|
          s.args = ["enp0s8"]
        end

        node.vm.provision "setup-dns", type: "shell", :path => "ubuntu/update-dns.sh"

      end
  end

  # Provision Worker Nodes
  (1..NUM_WORKER_NODE).each do |i|
    config.vm.define "kubenode0#{i}" do |node|
        node.vm.provider "vmware_desktop" do |vb|
          vb.vmx["displayName"] = "kubenode0#{i}"
          vb.vmx["memsize"] = "2048"
          vb.vmx["numvcpus"] = "2"

          # Fix
          vb.vmx["ethernet0.pcislotnumber"] = "160"
        end
        node.vm.hostname = "kubenode0#{i}"
        node.vm.network :private_network, ip: IP_NW + "#{NODE_IP_START + i}"
        node.vm.network "forwarded_port", guest: 22, host: "#{2720 + i}"

        node.vm.provision "setup-hosts", :type => "shell", :path => "ubuntu/vagrant/setup-hosts.sh" do |s|
          s.args = ["enp0s8"]
        end

        node.vm.provision "setup-dns", type: "shell", :path => "ubuntu/update-dns.sh"
    end
  end
end

Then, you can run:
vagrant up

A great resource to fix any issue at installation:
https://gist.github.com/sbailliez/f22db6434ac84eccb6d3c8833c85ad92

You may have to run Vagran up/ Vagran down/ Vagran destroy a few times to overcome some blocking situation.
Thanks to @sbailliez and @fatso83 that paved the way to the solution.

I created a Gist for easier reference with few improvements: https://gist.github.com/akinsella/ab51ec72dd954d93221df9928a00c642

Hi @akinsella
This is great work! We have now merged a major change to bring this course to v1.24. Would you please verify this against the new version, make any changes required, then ping me back so that we can see how this may be incorporated into this repo (for which of course we'll name all involved in a list of credits on the main README for this site).

Hi @akinsella thanks for the workaround. Is this an option that would work for the M2 and is there any update for v1.24? Much appreaciated.

There is an Apple Silicon version of this coming soon


typings: Added Message#send back

Description of the PR
The interfaces PartialSendAliases and SendAliases do not include send because TextChannel, DMChannel, and GroupDMChannel implement them, and since module augmentation does not allow overrides, it was removed. However, Message does not implement it.
Changes Proposed in this Pull Request (List new items in CHANGELOG.MD)

Typings: Add Message#send

Semver Classification

[x] This PR only includes documentation or non-code changes.
[ ] This PR fixes a bug and does not change the (intended) framework interface.
[ ] This PR adds methods or properties to the framework interface.
[ ] This PR removes or renames methods or properties in the framework interface.

Thank you ^_^


Added example with custom elements to readme

I noticed this good method when I looked at the project code. This example should be added to the project description.

Thanks you for PR.


Added Ideas for ReactJs Projects

Keep it here so that we can change it if we have got a new Ideas also we can keep a track of our Ideas

@devvsakib Added


Feature Request: Option drag to copy

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
On most Mac apps it is standard that you can option+drag to copy an element, without even selecting it before. This is a very nice time saver since you can immediately copy that element from the first place to the location you want. In Draw.io I have to select the element, then do cmd+d and then drag.
Describe the solution you'd like
When holding option and dragging an element, will copy that element to the location where you release the mouse button. Letting go of option is canceling the copy action but turns it into a move action. Holding option again, starts the copy action again.

No interest from other Mac users or any compliance concerning following OS development rules?

No interest from other Mac users or any compliance concerning following OS development rules?


Validator consumes too much resources and that makes the client stalled

I faced the client stalled problem during wave 2 validator participation.
sui-node stalled for 2 minutes and it recovered automatically.
When I faced this issue, CPU and disk write resources consume a lot as I attached below.

During this short time, the client's metrics were not collected from the Prometheus agent so the client could be really busy for running or handling some jobs.
Our operating environments are,

Ubuntu 22.04.1 LTS
Using Docker

And I also attached logs. This issue happened from 14:17 to 14:19 (UTC).
sui-node.2023020714_1.log.zip

Thanks for reporting the issue. After recovery, Sui was spending CPU and disk to catch up, specifically for checkpoint download and execution. The 2min stall was also interesting, but we did not find a root cause.


Not able to import Conv1D from from keras.layers

I was following the example code from here: https://github.com/fchollet/keras/blob/master/examples/pretrained_word_embeddings.py
and it says:
from keras.layers import Conv1D
and I get "ImportError: cannot import name Conv1D"
When I went to https://github.com/fchollet/keras/blob/master/keras/layers/convolutional.py#L14
I realized that there wasn't a Conv1D and instead it was Convolution1D, so I am correct in assuming that it should be "from keras.layers import Convolution1D"

Just update Keras.


Only allow a single Allow Origin (Access Control) value

The relevant specification text is,
Rather than allowing a space-separated list of origins, it is
either a single origin or the string "null".[0]

and
Note: null should not be used[1]

it is clear that the previous HeaderSet usage was wrong. (Also note
that the value is case sensitive)0.

See #1723, meant to only open one PR to the 1.0.X branch.


gb/test: scale test improvements

gb test now removes the _test/testmain file immediately after executing to
reclaim space faster.
build all dependencies immediately, but arrange for linking _test/testmain
to occur sequentially with execution, so that linking and execution are run
in the same executor, this prevents multiple testmains being built on disk
before being run.

With this branch, I can now run all the juju tests, previously it would consume several gb of /tmp (tmpfs) queuing up our enormous test binaries.
The fact that juju's test binaries are 40mb big is a problem, but that shouldn't stop gb from running the tests.


limiting the number of search results?

Interesting library! For a search for similar things, like fold_similar, has there been any thinking around being able to reduce the number of search results, like being able to specify N, where N is the maximum number of search results one would like to be returned.
The use case is that one might use this library as part of some lookup engine where you might have many entries stored in the trie, but there really is no need to present the entire database (or all entries that match the first character) to the user as he/she searches, but just giving a few and then indicating that there would be others to be found if the user specifies further characters - pretty much how google search does it I guess. I suppose this could be done either in the form of providing search results as an iterator that you could iterate through or to, as mentioned above, being able to specify some offset and limit when performing fold_similar and the likes.
(feel free to close this issue if it's just irrelevant)

There is no problem with adding a function like that, it just would want to be fold_similar/5 and ideally it would be present with both variations foldl_similar/5 and foldr_similar/5 (or with a suffix on the function name like fold_similar_subset/5 to keep the functionality separate, so the interface is easier to understand).  I don't need this function, so I am unlikely to add it.  However, if you want to add (or someone else), please feel free to do so, just add tests when you add it to prove it works as expected.


Google login page clone

I would like to work on this issue
Assign me this

I have created one PR  #81


cargo doc doesn't work on a project named rustdoc

So uh,
> git clone https://github.com/steveklabnik/rustdoc
> cd rustdoc
> cargo doc

gives
 Documenting matches v0.1.6
 Documenting bitflags v0.9.1
 Documenting percent-encoding v1.0.0
 Documenting regex-syntax v0.3.9
error: Found argument '--crate-name' which wasn't expected, or isn't valid in this context

USAGE:
    rustdoc.exe [OPTIONS] [SUBCOMMAND]

For more information try --help
error: Could not document `matches`.

Caused by:
  process didn't exit successfully: `rustdoc --crate-name matches C:\Users\steve\.cargo\registry\src\gi
thub.com-1ecc6299db9ec823\matches-0.1.6\lib.rs -o C:\Users\steve\src\rustdoc\target\doc -L dependency=C
:\Users\steve\src\rustdoc\target\debug\deps` (exit code: 1)error: Found argument '--crate-name' which w
asn't expected, or isn't valid in this context

USAGE:
    rustdoc.exe [OPTIONS] [SUBCOMMAND]

For more information try --help

error: Found argument '--crate-name' which wasn't expected, or isn't valid in this context

USAGE:
    rustdoc.exe [OPTIONS] [SUBCOMMAND]

For more information try --help
warning: build failed, waiting for other jobs to finish...
error: Could not document `bitflags`.

Caused by:
  process didn't exit successfully: `rustdoc --crate-name bitflags C:\Users\steve\.cargo\registry\src\g
ithub.com-1ecc6299db9ec823\bitflags-0.9.1\src\lib.rs -o C:\Users\steve\src\rustdoc\target\doc --cfg fea
ture="default" --cfg feature="example_generated" -L dependency=C:\Users\steve\src\rustdoc\target\debug\
deps` (exit code: 1)error: Found argument '--crate-name' which wasn't expected, or isn't valid in this
context

USAGE:
    rustdoc.exe [OPTIONS] [SUBCOMMAND]

For more information try --help

warning: build failed, waiting for other jobs to finish...
error: Could not document `percent-encoding`.

Caused by:
  process didn't exit successfully: `rustdoc --crate-name percent_encoding C:\Users\steve\.cargo\regist
ry\src\github.com-1ecc6299db9ec823\percent-encoding-1.0.0\lib.rs -o C:\Users\steve\src\rustdoc\target\d
oc -L dependency=C:\Users\steve\src\rustdoc\target\debug\deps` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: Could not document `regex-syntax`.

Caused by:
  process didn't exit successfully: `rustdoc --crate-name regex_syntax C:\Users\steve\.cargo\registry\s
rc\github.com-1ecc6299db9ec823\regex-syntax-0.3.9\src\lib.rs -o C:\Users\steve\src\rustdoc\target\doc -
L dependency=C:\Users\steve\src\rustdoc\target\debug\deps` (exit code: 1)

This is because steveklabnik/rustdoc does not yet support the --crate-name flag. Why is it trying to use the rustdoc inside of target rather than the real one?
Maybe this is a WONTFIX, but I figured I'd file it just in case.

Ah sorry, I forgot that I didn't actually commit the
[[bin]]
name = "rustdoc"
doc = false

line.
So yeah, maybe a Windows thing.

cargo doc runs successfully on Linux in the current steveklabnik/rustdoc master branch (with [[bin]] doc = false).

This is probably because cargo doc by default will munge PATH on Windows to ensure that DLLs can be found. In the case that your project is producing an executable called rustdoc this means that when running the process rustdoc your local project is executed instead of the actual rustdoc executable.

Ah ha! So yeah, that seems like a WONTFIX to me. Thanks!

Would it be possible to fix this by appending the target directory to PATH instead of prepending it, or would that break other things?  The relevant code is here:
https://github.com/rust-lang/cargo/blob/5a5fe12cc369561ad5ed9bf3024d892bd6356c9a/src/cargo/ops/cargo_rustc/compilation.rs#L140

Ah unfortunately not b/c the intention there is to prepend (e.g. libs in the target dir take priority). @steveklabnik I wouldn't necessarily say this is a WONTFIX, I think it's reasonable to detect the project's name is literally rustdoc and use absolute paths to rustdoc instead of relative as a result.

Cool, I wasn't sure if this was too niche to support or not!
Should we do that unconditionally, regardless of platform, or also detect the rustdoc + Windows exactly?

Ideally I think we'd do it unconditionally, but it wouldn't be a "pretty" patch in the sense that where cargo doc -v today prints Running rustdoc ... it'll now print Running /pth/to/rustodc ... which isn't the best user experience. I'd be ok with a targeted fix for just rustdoc + Windows exactly, but I can see where it'd certainly be quite odd compared to the rest of the code...

I personally can't reproduce this when checking out 94f5780 from https://github.com/steveklabnik/rustdoc, although I'm under a Linux distro. Had to use nightly because of a dependency it seems. @steveklabnik does it still occur for you?

I am not developing that project anymore, so I don't know. You shouldn't need my specific checkout though.
That being said, a new project named rustdoc does seem to work, so apparently this has been fixed! Thanks for checking in.


Add option to send amount in USD.

Hi, every time when i want to send like 100 in USD, i need to search like 100 usd to btc , it's very uncomfortable. can you add this option in send tab?

very great if you add same option for fee. Thanks.

Please god no!
Imagine you try to send 100 USD. Where does the exchange rate come from that sparrow should use for converting your input to btc? What happens if there is currently a lot of volatility. What happens if there's a glitch which serves a wrong exchange rate? You're comfortable loosing sats because of this?
To whom do you want to send USD? At which exchange rate? It makes no sense to base sends in USD.
You send BTC, not USD (or other fiats). Therefore the only reasonable input should be BTC...

so, why this options is realised in other wallets? like electrum wallet on example:
i have 2 filed, i can enter btc or usd.

i think that user can decide by itself if it's need for him, but not need to don't give this options

safepal same options:

safepal:

exodus:

feather wallet:

I know that there are wallets with this option but I'm not sure what you try prove by providing the examples? That it's technically feasible? Sure, but you have to trust these wallets that all the things I mentioned are being taken care of.
And even if they have a proper technical implementation think about it: the guy who you owe the $5.73 in one of the screenshots told you to send $5.73 in BTC. But what happens if he applies another exchange rate than the wallet you used to send out?

i just want to have this option, when i want to send for someone money, i can ask for him exact amount in BTC. done.

when i want to send for someone money

But your wallet can't send or receive USD. This distinction is important imho. Maybe somewhere in the wallet there could be an converter to easily show exchange rates and get the sats amount based on an exchange rate.
But I as a user am strictly against "sending" an USD "based" btc amount i.e. implementing this in the payments flow...

Let author decide if will implement this functionality, and end user wiil decide do send money or not using this "risky" methot.

Duplicate of #147.


docs: expand on how to add users to projects

Summary
Better explain how to add users to a project.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[x] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Read /how-to/add_users_to_project
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[x] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 46.852% (-0.01%) from 46.864%
when pulling 2c7a1cc92e6d3cb0336fdbf0c60b4ece43ee94c3 on ethomson/docs-add-user
into 2058524c8a0ed0f795579b4d9b0ded954c9b88d9 on main.

Thanks @eleftherias and @evankanderson, I took both your requests.


QueryWorkItems task

Added query work items task with min and max thresholds as input.

 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.:x: divman25 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


feat(MD-3347): add drage select for ios

Somethings of note.
No autoscroll at end of collection view

:tada: This PR is included in version 1.1.0-alpha.29 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG] It shows that its modded again

Describe the error
A clear and concise description of what the bug is.
Desktop (please complete the following information):

OS: [e.g. Arch Linux x86_64 Kernel: 6.0.12-arch1-1]
Factorio Version: 1.1.72

Program Output / Error Output
Copy Paste the Program or Error Output
Additional context
Add any other context about the problem here.

where do you see this again?