Kafka spout

Is there any example for Kafka as spout for heron?
I checked some examples which are present in contrib folder but later removed. I tried to move to older version of heron and build it but it is breaking my current changes.
It would be great if someone could share pointers for latest version of heron kafka.

@sleepy-brook  Heron currently doesn't have native Kafka spout, but you can utilize the Kafka spout from Storm to compose your topology.
https://github.com/apache/storm/tree/master/external/storm-kafka-client

@nlu90 does it require trident?
If so, AFAIK heron doesn't support trident.

I currently have the Kafka spout code working, however, it falls after some time randomly (around 2 - 7 days). It shows initialized but nothing received from the Kafka broker. There is no sign or error showing its falling.
Only thing I can notice is, the Kafka Spout reinitialize when it says Restoring instance after some time.
[2018-10-30 04:06:41 +0000] [INFO] st_heron_instance.py: Restoring instance state to checkpoint<PHONE_NUMBER>709483564-1540872269
[2018-10-30 04:06:41 +0000] [INFO] st_heron_instance.py: Instance restore state deserialized
[2018-10-30 04:06:42 +0000] [INFO] st_heron_instance.py: Received start stateful processing for<PHONE_NUMBER>709483564-1540872269
[2018-10-30 04:06:42 +0000] [INFO] st_heron_instance.py: Starting bolt/spout instance now...
[2018-10-30 04:06:42 +0000] [INFO] base_instance.py: [+] Initializing InputKafkaLogSpout...

My Kafka Spout is more like a standard Lafka client in Python and emitting messages in Heron. It appears stop emitting after some time (random time period) and now just have a new update.
Kafka reports that the client is up-to-date to the offset, but just not emitting in Heron. Might be an issue in Heron

For reference
`def next_tuple(self):
msg = self.CONFLUENT_CONSUMER.poll(0.1)
if msg is None:
return
if msg.error():
  if msg.error().code() == KafkaError._PARTITION_EOF:
    return
  else:
    self.log("[*] [ERROR] " + msg.error())
    return

self.emit([msg.value()])`


Timeline / Showdown / Hunt Menues not working with TTS 13

This has already been mentioned on the Workshop page, but there's no indication how active you are there.
The recent update to TTS has caused issues with the Hunt and Showdown menus, where you pick a quarry, and the time line panel. When the relevant button is pressed, the panel opens as you'd expect, but there's no content inside the areas with a scroll bar.

Fixed in 0.33.


Use same Arbitrary trait as quickcheck?

It doesn't look like this has been brought up before in this crate. Using a single trait for both cargo-fuzz and quickcheck would be super, but right now it requires two trait implementations that are very similar.

The initial hope was to share them but this was blocked for the longest
time due to missing shrinking implementations. Now that they AFAIK exist,
it might be feasible to consider again.
On Fri, 30 Oct 2020, 08:46 Jacob Pratt<EMAIL_ADDRESS>wrote:

It doesn't look like this has been brought up before in this crate. Using
a single trait for both cargo-fuzz and quickcheck would be super, but right
now it requires two trait implementations that are very similar.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-fuzz/arbitrary/issues/61, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFFZURZNGSRSC4ESAM73VLSNJOL5ANCNFSM4TETYUPQ
.

I think we may want to actually remove the shrinking implementations and instead shrink the raw input bytes to generically shrink any T: Arbitrary regardless whether T has explicitly overridden the default/empty shrink method.

It should certainly be possible for quickcheck to use this Arbitrary trait, though it would be a breaking change. I kind of got the impression that @BurntSushi was only passively maintaining quickcheck these days though, so I'm not sure it is worth the effort.

Yeah, I don't think I'd have the energy to do a big change like that. And it's not clear to me that shrinking at the byte level is the right path in every case. In quickcheck, shrinking happens at the data type level. But maybe I'm misunderstanding.

I'm referring to the method of shrinking detailed in this paper: https://drmaciver.github.io/papers/reduction-via-generation-preview.pdf
I agree that there are probably cases where something more specific to a type will do better, but this approach is much less effort since you write it once and it works for all types. It depends what the ultimate goal and effort budget is, I suppose. I've personally had really good experiences with this approach and our Arbitrary trait with wasm-smith.
Anyways this is all a bit of an aside.
I think we can close this issue given that you don't have the energy.
Thanks for the input everyone!


Is this package being maintained?

There are a lot of open issues here which don't even get an acknowledgement. I'm thinking this package is abandoned. Am I correct?

It is occasionally maintained. But you are right that it deserves more attention than it gets. I don't personally get to use go often anymore and do not get to make go-flags a priority unfortunately. The package is quite stable and I do check in from time to time.


try to get logging always UTC ISO format

I'd like all of our log reports to use UTC time.
In general I like using pendulum over datetime; it does a better job as far as I am concerned about being clear regarding timezones. In particular it does not default to naive time but always includes a timezone in its datetime objects.
I tried to update MessageSummary to do this, replacing datetime.datetime.now() with pendulum.now("UTC"). But strangely, the message logs using MessageSummary are still coming up in local time.
e.g.
2022-08-11T10:48:46.552462  IN   w.isone.ct.newhaven.orange1 [ETC]
when  shortly after that
pendulum.now("UTC").isoformat() returns
'2022-08-11T14:49:03.556545+00:00'
I am also unfamiliar with creating classes without inits etc as you did with MessageSummary. I figure this is worth a chat.

I'm getting UTC when I run your branch locally.
I just pulled this branch and ran:
python test/show_protocol.py

and I get:
## STARTING############################################################################################
2022-08-11T15:35:01.169897+00:00  OUT  a.m                                   ->  [a.m/p]                                                                           GsPwr
2022-08-11T15:35:01.170213+00:00  OUT  a.m                                   ->  [a.m/gt.sh.telemetry.from.multipurpose.sensor.100]                                GtShTelemetryFromMultipurposeSensor
2022-08-11T15:35:01.170451+00:00  IN   a.s                                   <-  [a.m/p]                                                                           GsPwr
2022-08-11T15:35:01.171117+00:00  OUT  a.s                                *  ->  [dwjess.isone.ct.newhaven.orange1.ta.scada/p]                                     GsPwr
2022-08-11T15:35:01.171337+00:00  IN   a.s                                   <-  [a.m/gt.sh.telemetry.from.multipurpose.sensor.100]                                GtShTelemetryFromMultipurposeSensor
2022-08-11T15:35:01.172360+00:00  IN   dwjess.isone.ct.newhaven.orange1   *  <-  [dwjess.isone.ct.newhaven.orange1.ta.scada/p]                                     GsPwr

UTC is definitely the way to go. I didn't do it there only because I figured we were going to redo logging and would then have to make a consistent decision.


Google SSO plugin crash

Sometimes there is a crash immediately after selecting an account on the SSO overlay.

This was repeatable even after a device restart (P30 pro with 8GB RAM).  The only thing that fixed it was clearing data for Google Services app.
There is also (still) the problem with the plugin generating an ANR.  It seems focus is not completely passed back to the app leaving it in an unresponsive state causing an ANR like this.

Can the plugin be made more robust to handle error states as opposed to crashing/causing ANRs - such as trapping NullPointers?

I will add more traps for null pointers, but at first, glace looking at your logged line number vs the source code tells me the plugin being used might be an older version. Regardless will look into it
Also, Google SSO is a personal plugin of mine(hence the tech.scotth publisherId) and not a Corona/Solar2D plugin(the Solar2D team does not have access to the source code and the ability to update the plugin). So this is not the appropriate outlet to file a bug report.
Please file a bug report here: https://goo.gl/forms/QjOJsFGghSEQqkJW2

I only built the app today so why would the plugin be out of date?  How can I check?

I just pushed out an update, and you should get a message in the logs saying, "Init Google Sign In Plugin Verison: 2.6" when you .init

Just did a new build but there is nothing in the log.
03-01 11:15:35.056  8408  8595 V Corona  : > Class.forName: plugin.googleSignIn.LuaLoader
03-01 11:15:35.057  8408  8595 V Corona  : < Class.forName: plugin.googleSignIn.LuaLoader
03-01 11:15:35.057  8408  8595 V Corona  : Loading via reflection: plugin.googleSignIn.LuaLoader
03-01 11:15:35.060  8408  8595 V Corona  : > Class.forName: plugin.unityads.v4.LuaLoader
03-01 11:15:35.060  8408  8595 V Corona  : < Class.forName: plugin.unityads.v4.LuaLoader
03-01 11:15:35.060  8408  8595 V Corona  : Loading via reflection: plugin.unityads.v4.LuaLoader

What does your build.settings look like for including the Google Sign In Plugin?

Just the normal...
        {
          publisherId="tech.scotth",
          marketplaceId = "ydlbgq",
          supportedPlatforms = { android = true, iphone = true }
        },

You may try rebuilding now; I was not printing to the "Corona" flag

With 2.8 (just pushed out a few minutes ago) I added NullPointers traps


Allow users to use custom ids in Node

This resolves #98.
We allow the users to pass a keyword argument to disable the text_to_snake_case result and their id_ as the one assigned for the Node.
This is another solution which differs from #99

I added a test for this feature here:
https://github.com/HASPIMA/mermaid-py/blob/da48670b1ea989d09ab1a2d39839aa3609f97359/mermaid/tests/test_flowchart.py#L26-L38


snapshotView cannot created in iOS10

There is a comment from Apple Developer Forums

Fixed in 1.0.3 release. Thank you for your feedback.


DBZ-6180: debezium-storage-azure-blob

@jpechane I have no idea why DB2 fails, could you please give it a look?

@jpechane could you please check this out? it's like in the debezium-server-redis it uses the depricated  schema.history and it goes to socketTimeout

@blcksrx Applied, thanks!


[bug]: Carousel refreshes a page when it's inside a form

Describe the bug
When this Carousel component is placed inside a form element, it causes the entire page to refresh.
Problem Summary:

Component Involved: Carousel from Shadcn UI library.
Context: When the Carousel is placed inside a form.
Observed Behavior: The entire page refreshes.

ba831df9-d410-4952-9e89-bf5edf4e9305.webm
Affected component/components
Carousel
How to reproduce
ba831df9-d410-4952-9e89-bf5edf4e9305.webm
Code

<FormItem className='w-full items-baseline'>
                            <FormControl>
                              <Input
                                id='electricity-annual-consumption'
                                className='h-11'
                                placeholder='Geben Sie Ihren Strombedarf ein'
                                {...field}
                                onChange={(event) => {
                                  const { value } = event.target
                                  if (/^\d*$/.test(value)) {
                                    field.onChange(value)
                                  }
                                }}
                              />
                            </FormControl>
                            <FormMessage />

                              <Carousel
                                opts={{
                                  align: "start",
                                }}
                                className='w-full max-w-sm'
                              >
                                <CarouselContent>
                                  {Array.from({ length: 5 }).map((_, index) => (
                                    <CarouselItem key={index} className='md:basis-1/2 lg:basis-1/3'>

                                        <Card>
                                          <CardContent className='flex aspect-square items-center justify-center p-6'>
                                            {index + 1}
                                          </CardContent>
                                        </Card>

                                    </CarouselItem>
                                  ))}
                                </CarouselContent>
                                <CarouselPrevious />
                                <CarouselNext />
                              </Carousel>

                            <Button
                              disabled={!isElectricityConsumptionValid(parseInt(value, 10))}
                              variant='ghost'
                              className='text-blue-500 hover:text-blue-600 w-full'
                              onClick={() => setIsElectrictyDemandEditable(false)}
                            >
                              Speichern
                            </Button>
                          </FormItem>

Codesandbox/StackBlitz link
https://jam.dev/c/7429742c-aff6-4f54-8438-d1b00e55f069
Logs
No response
System Info
OS: Linux
Browser: Chrome

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

It's resolved by adding  onClick={(e) => e.preventDefault()} to the Carousel component.

Oh my gosh this saved my butt, thank you @alamenai   🙏  I have been stuck trying to conquer this weird flipping bug for hours!

alternatively type="button" on your <Button /> otherwise they are submitting the form


An invalid unicode character in one field caused all queries accessing responses to fail

Faulty string:
"name":"McDonald\u0000\u0000s"

See https://stackoverflow.com/questions/31671634/handling-unicode-sequences-in-postgresql
The null unicode character should not be in the incoming json strings


🚨 [HIGH PRIORITY] 🚨 Audit Schema and Response Classes Properties

What is the current behavior?
Obsolete, remove, and add all the parameters used in Schema (aka Options) classes and verify the Response classes. This needs to be done for:

Live
PreRecorded
Manage
Analyze

Please see DX: SDK Inventory of Features document.
Steps to reproduce
NA
Expected behavior
NA
Please tell us about your environment
NA
Other information
NA

Merged these PRs:
https://github.com/deepgram/deepgram-dotnet-sdk/pull/206
https://github.com/deepgram/deepgram-dotnet-sdk/pull/205
https://github.com/deepgram/deepgram-dotnet-sdk/pull/204
Closing!


App Service create in Azure should not set APPINSIGHTS_INSTRUMENTATIONKEY

Same as https://github.com/microsoft/vscode-azurefunctions/issues/4278

Forgot that I did this already here https://github.com/microsoft/vscode-azureappservice/pull/2619/files#diff-ef986ec9f4755a6ca2c92128834454c955d803ab9b40b8c07da1d0412919deb2R146


[top] Review clock group assignments

review top_earlgrey clock group assignments to make sure the definition is consistent.

@matutem FYI


Need help on query hive and bulkload to hbase

I want query hive table and bulkload the result to hbase.
e.g. my hive table is like:

site
query
pv

www.google.com
google
100

www.google.com
google map
99

github.com
github
98

github.com
gist
97

It's very easy for me to query the hive table using SparkSQL
val df = sqlContext.sql("select site, query, pv from tb")

My hbase is like follows, with site as row key, query as column and pv as value:
row key: $site
column family: cf
column: $query
value: $pv
I want to use toHBaseBulk() to load rdd data to hbase. I found that the rdd has to be RDD[(String, Map[String, A])], so I have to convert my rdd to this style.
I can use rdd transformation to convert like:
val rdd = df.map(r => (r.getString(0), (r.getString(1), Bytes.toBytes(r.getLong(2)))).
    groupByKey.map(r => (r._1, r._2.toMap))

So I can use toHBaseBulk() like:
rdd.toHBaseBulk(table, cf)

But it seems not efficient, because my query num is pretty huge under one site and I think the toMap will cause OOM.
It's there any good solution for my problem?

you can try with
val tohbase = rdd.map(r => (r.getString(0), (r.getString(1), Bytes.toBytes(r.getLong(2))))
  .groupByKey
  .mapValues(_.toMap)

also, instead of writing
rdd.map(r => (r.getString(0), (r.getString(1), Bytes.toBytes(r.getLong(2))))

you can define
implicit val longWriter = new Writes[Long] {
  def write(data: Long) = Bytes.toBytes(data)
}

and then
 rdd.map(r => (r.getString(0), (r.getString(1), r.getLong(2)))

@fralken Thank you very much, I will have a try.

It comes to my mind that maybe for your use case you don't even need to do a bulk load. You can use rdd.toHBase() instead. In this case you don't need to groupByKey.
rdd.map(r => (r.getString(0), Map(r.getString(1) -> r.getLong(2)))
  .toHBase(....)

@fralken Thanks

@litao-buptsse We released 0.6.0 with a new implementation of bulk write. Now you can use toHBase() and toHBaseBulk interchangeably and see which better fits your needs. We also added implicit Reads and Writes for basic types, so you don't need to define implicit val longWritersince it's already available.

@fralken Thank you very much!


Homepage

The link to Rubyforge seems to be dead.

Can you please send a PR without it? :P

Sure :)


Not resolving markdown

So, given the screenshot below, mousepad is not recognizing Markdown scripts correctly.
If there's anyway to get the coloring right for markdown, that would be awesome!

Hey i'm currently working on the xml right now. i also reading the syntax specification and try to update as soon as possible. sorry for the hassle.

hey @GregTheHun, you can replace your dracula.xml from testing branch now it support markdown.


App Crashed with AdMob on Crosswalk

Somtimes the apps crash only with AdMob. Here is the crash log:
06-28 13:21:33.477: E/qdmemalloc(1564): ion: Failed to map memory in the client: Out of memory
06-28 13:21:33.477: E/qdgralloc(1564): Could not mmap handle 0x119e5560, fd=297 (Out of memory)
06-28 13:21:33.477: E/qdgralloc(1564): gralloc_register_buffer: gralloc_map failed
06-28 13:21:33.477: W/GraphicBufferMapper(1564): registerBuffer(0x119e5560) failed -12 (Out of memory)
06-28 13:21:33.477: E/GraphicBuffer(1564): unflatten: registerBuffer failed: Out of memory (-12)
06-28 13:21:33.477: E/Surface(1564): dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -12
06-28 13:21:33.477: W/Adreno-EGLSUB(1564): DequeueBuffer:720: dequeue native buffer fail: Out of memory, buffer=0x0, handle=0x0
06-28 13:21:33.487: W/Adreno-EGL(1564): <qeglDrvAPI_eglSwapBuffers:3702>: EGL_BAD_SURFACE
06-28 13:21:33.487: E/chromium(1564): [ERROR:gles2_cmd_decoder.cc(9842)] Context lost because SwapBuffers failed.
06-28 13:21:33.487: E/chromium(1564): [ERROR:gles2_cmd_decoder.cc(4028)] Error: 5 for Command kSwapBuffers
06-28 13:21:33.497: E/Adreno-ES20(1564): <check_framebuffer_attachment:854>: Invalid texture format! Returning error!
06-28 13:21:33.497: E/Adreno-ES20(1564): <check_framebuffer_object_status:1237>: Framebuffer color attachment incomplete. Returning GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT!
06-28 13:21:33.627: W/google-breakpad(1564): ### ### ### ### ### ### ### ### ### ### ### ### ###
06-28 13:21:33.627: W/google-breakpad(1564): Chrome build fingerprint:
06-28 13:21:33.627: W/google-breakpad(1564): 0.0.3
06-28 13:21:33.627: W/google-breakpad(1564): 32
06-28 13:21:33.627: W/google-breakpad(1564): 92675e2e-3e24-4fdd-9bc9-d979deace950
06-28 13:21:33.627: W/google-breakpad(1564): ### ### ### ### ### ### ### ### ### ### ### ### ###
06-28 13:21:33.627: E/chromium(1564): ### WebView Version 43.0.2357.121 (code 2357121)
06-28 13:21:33.637: A/libc(1564): Fatal signal 4 (SIGILL), code 1, fault addr 0x9f33a134 in tid 1694 (Thread-219978)

Out of memory?

Yes but only if i use AdMob.

i solved this bug by calling clear gc before a new ad is loaded

Can you paste the code?

I also would be interested in the code you used to fix it as i also get some crashes. Thanks by advance

same as #137, please discuss and follow up in that issue tracker.


Add more config options to installation page

Adds some more config options to the installation page:

code search (indexer.REPO_INDEXER_ENABLED)
webhooks (security.DISABLE_WEBHOOKS)
OAuth2 provider (oauth2.ENABLE)
attachments (attachments.ENABLED and attachments.MAX_SIZE)

closes #17389

@wxiaoguang @techknowlogick @zeripath I'm going to close this because it adds unnecessary complexity. I agree with you that the default values are fine for most users (and I don't need more options for me, just thought this could be useful). If you think this may be still a good change, you can reopen/comment and I'll finish my work on this.

@techknowlogick @wxiaoguang @zeripath since this is closed now, could somebody add the wontfix label to the corresponding issue #17389?


Handle MultiPolygon geometries in tileInfo.json

The STAC geometry is transformed from the tileDataGeometry object in tileInfo.json, which is almost always of Polygon type.
Looks like there are maybe up to 4000 scenes (out of 11.6 million) that have MultiPolygons, which the spatial transform is not expecting.

accidental dupe


[GHSA-2jjq-x548-rhpv] isolated-vm has vulnerable CachedDataOptions in API

Updates

Affected products

Comments
as per conversation with target project owner
https://github.com/laverdet/isolated-vm/issues/379
laverdet commented last month
Hi the issue was one of documentation. 218e87a is the commit that "fixed" the issue.

and commit in question produced was merged in version 4.3.7
https://github.com/laverdet/isolated-vm/commits/v4.3.7
only if cachedData supplied by user this vulnerability coming into picture
it is similar to eval() in base nodejs - when you using it to execute something random coming from user input you will run into security issue
but it doesn't mean nodejs versions providing base eval functionality are all vulnerable
same here - only cachedData produced by isolated-vm methods should be used here by design and maintainer added note about it to his project readme to address possible misuse.
Thank You!

Hi there @laverdet! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@laverdet If you're OK with changing the CVE and global advisory descriptions to indicate that the documentation change in 4.3.7 is the fix for GHSA-2jjq-x548-rhpv, we can make that change.

Yes please go ahead with that. Thank you @hedgehog80 and @shelbyc for following up.

The advisory and CVE are now updated. The updated CVE information can be found here: https://cveawg.mitre.org/api/cve/CVE-2022-39266
The information sent to the CVE list may take some time to propagate to other websites, such as the National Vulnerability Database.


Error when editing scenario

Traceback (most recent call last): File "C:\GitHub\CNApy_Org\CNApy\cnapy\gui_elements\map_view.py", line 528, in value_changed self.map.appdata.scenario_past.pop() # replace previous change IndexError: pop from empty list

What were the steps leading to this error?

What were the steps leading to this error?

I could reproduce it in the following way:

Load ECC2
Set scenario values (e.g., growth)
Edit these values by deleting some digits

Hmm, I'm not able to reproduce this error.


New version: StaticGraphs v0.2.0

Registering package: StaticGraphs
Repository: https://github.com/JuliaGraphs/StaticGraphs.jl
Created by: @sbromberger
Version: v0.2.0
Commit: 45e1b2980d82912cd1b35fc253dba2ad77d62088
Reviewed by: @sbromberger
Reference: https://github.com/JuliaGraphs/StaticGraphs.jl/issues/24

Will resubmit with upper bounds.


[ADD ME TO THE ORGANIZATION]

Name: Ebenezer R
Location: Kenya
Interest: DevOps, Backend Engineering, Cyber Security
Discord username(optional):- It's Foss#8268
Why do you want to join?

I'd like to contribute more to open source projects

You can also join our Discord community here
Feel free to check out other cool repositories of the DevsInTech Community here.

@Itsfoss0 Thanks for your interest. Invitations have been sent to you. Kindly accept it and make your membership public.


Fixed typo: crucial from curcial

Changed typo from word curcial to crucial

There were the following issues with your Pull Request

Commit: a5537c7f296d1fcf18642736ed8588d0347a75b5
Commits must be in the following format: %{type}/%{scope}: %{description}

Guidelines are available at https://github.com/autumnai/leaf/blob/develop/CONTRIBUTING.md#git-commit-guidelines

This message was auto-generated by https://gitcop.com

@GitCop I couldn't find the guidelines in the mentioned url

@palerdot Thanks for the contribution! :+1:
The correct link is this one: https://github.com/autumnai/leaf/blob/master/CONTRIBUTING.md#git-commit-guidelines
A fitting commit message for your commit would be docs/readme: crucial from curcial. The body of the commit message can stay the same.

Thanks. will do from now on.

Could you please also amend the commit message of this PR? :wink:

Amended. Was that Ok ?

Yes the commit message looks good now! :)
Due to some reasons Travis CI doesn't run the tests, but I think that's something I'll have to fix on our side.

Oh, damn, sorry for not noticing earlier. You fixed the problem in the gh-pages branch. However the gh-pages branch just contains documentation that will be regenerated after every push to master. So if I would merge the PR right now the change would disapear very soon.
The actual origin of the generated documentation would be here:
https://github.com/autumnai/leaf/blob/master/src/lib.rs#L59

I just gave another pull request to master branch with the required commit format.
https://github.com/autumnai/leaf/pull/83


airline: The specified theme "kolor" cannot be found

Any airline theme cannot be found. This is my .vimrc config:

vim-airline and vim-airline-themes is the lastest version

And all theme exists in .vim/bundle/vim-airline-themes/autoload/airline/themes

But set theme just don't work for me, please help

Is kolor there?

Is kolor there?

Yeah. Not only kolor, all themes have same error.

Yeah. Not only kolor, all themes have same error.

I'm also experiencing this.

I'm also experiencing this.

can you show the directory structure? What Vim version? What kind of plugin manager?

can you show the directory structure? What Vim version? What kind of plugin manager?

can you provide a sample repository that shows this error?

can you provide a sample repository that shows this error?

any updates here?

any updates here?

No, may be I should reinstall them. @XiKuuKy have you solved it?

No, may be I should reinstall them. @XiKuuKy have you solved it?

Mine was a package manager issue. I am using minpac and I needed to call a function.

Mine was a package manager issue. I am using minpac and I needed to call a function.

Put Plugin 'vim-airline/vim-airline-themes' in my vimrc file, and finally its work! Sorry to bother you and thank you!

Put Plugin 'vim-airline/vim-airline-themes' in my vimrc file, and finally its work! Sorry to bother you and thank you!


Deckhouse improvements

Description
Please provide a brief description of the changes proposed in this Pull Request

Checklist

[ ] tested locally
[ ] updated any relevant dependencies
[ ] updated any relevant documentation or examples

API Changes
Are there API changes?

[ ] Yes
[ ] No

If yes, please fill in the below

Updated conversions?

[ ] Yes
[ ] No
[ ] N/A

Updated CRDs?

[ ] Yes
[ ] No
[ ] N/A

Updated infrastructure-components.yaml?

[ ] Yes
[ ] No
[ ] N/A

Updated ./examples/capi-quickstart.yaml?

[ ] Yes
[ ] No
[ ] N/A

Updated necessary files under ./infrastructure-vcd/v1.0.0/?

[ ] Yes
[ ] No
[ ] N/A

Issue
If applicable, please reference the relevant issue
Fixes #

This change is

hi @name212 could you please add a description of the changes that you have in the PR


messages: Remove left-over debug statement

Not sure if this warrants a version bump, but I suspect unexpected output might confuse the App Loader?

Oops - thanks!


How are chats related between TDLib and Http BotAPI?

Are Chat ID in Http Bot API and TDLib the same?
Bot API describes "private”, “group”, “supergroup”, “channel”. Is the table correct?

Http Bot API  |   TDLib
private       | user
group         | basic group
supergroup    | supergroup
channel       | supergroup

Are Chat ID in Http Bot API and TDLib the same?

If the same bot is logged in TDLib, then yes. Otherwise, the question doesn't make sense, because chat identifiers are user-specific.

Is the table correct?

Mostly. Private chats have chatTypePrivate in TDLib.

I hasn't understood. For example: my account via TDLib searchs or joins @addmeto channel and I see it's chat_id == -1001005993407. Then I via another account get bot token and make HTTP GET request https://api.telegram.org/bot<?>:<?>/getChat?chat_id=@addmeto and get the chat object when id is the same = -1001005993407. Are these chat ids of the supergroup always the same?

This isn't guaranteed. There are no reasons to guarantee chat_id persistence between different accounts.

That's unexpected. Ok, thank you.

Are supergroup_id, basic_group_id and user_id persistence between different accounts unlike chat_id?
Is chat_id for the same account persistence forever regardless of joining/leaving/chat removing/joining again?

Are supergroup_id, basic_group_id and user_id persistence between different accounts unlike chat_id?

Currently, yes, but this can be changed in the future.

Is chat_id for the same account persistence forever regardless of joining/leaving/chat removing/joining again?

Currently, yes.

Currently, yes, but this can be changed in the future.

What can that be necessary for?
Will some unique id (persistence among accounts) remain after this change?

What can that be necessary for?

It is the opposite, for example, there are no reasons for basic group identifiers to be the same for different people.

Will some unique id (persistence among accounts) remain after this change?

Noone knows.

Is the message id persistence between accounts?

Is the message id persistence between accounts?

No and they never were the same for different users.

Is that true for messages of public channels too?

No, messages in public chats have the same message identifiers for all users.

For clarity, public chats are supergroups, that have active username only? What about supergroup without it?

Public chats are supergroups/channels with username or location. In private supergroups some users may not have access to some messages.

Here you said message.date of the same message can be different for different users. Why can that be possible? Is not it server side timestamp? Or you add inaccuracy to date intentionally?

It is just a server-side timestamp, which can be different for different users, expecially for users in different datacenters.


fix Handle re-add replica with cooldowned data

Proposed changes
Issue Number: close #xxx
Problem summary

Modify rule of choosing cooldown replica, only alive replica can be cooldown replica.
Handle re-add replica with cooldowned data.

Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.62 seconds
stream load tsv:          460 seconds loaded<PHONE_NUMBER>9 Bytes, about 155 MB/s
stream load json:         36 seconds loaded<PHONE_NUMBER> Bytes, about 62 MB/s
stream load orc:          67 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230223083455_clickbench_pr_102483.html

run p0


Products are not displayed

I have connected to MongoDB but the products aren't fetched and displayed

Did you create the shop and products successfully from a retailer account? Are you seeing any errors in the console?

Thanks for the reply.... So we have to create the products? I assumed that
the products are fetched from json values... I will try again. Please help
me if I 'am stuck in the project, since I am new to React.js
On Sat, Mar 23, 2019, 2:11 PM Shama Hoque<EMAIL_ADDRESS>wrote:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible
for Automatic Cleanup<EMAIL_ADDRESS>Add cleanup rule
https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DC4HBLt%252BPoJnhwD4HMQOxKO1Sz1mwxvt1lAtRRToakfU%253D%26token%3DpyHpKOrOAnw6gOQNcCT7TQy6kv2CDM9W5S4cuo%252BdT7yQbQoDnGO6WRdHQr8g1M0bHzUB0oD8JbOcZLnve1kPl35%252BoEzGjpZlhMxf9pmOvfXo1nPW6OVMhRfCqeOjeTTwC47t%252BniLR%252FUxk0wHUfgwVQ%253D%253D&tc_serial=48987807261&tc_rand=2033943378&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
| More info
http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=48987807261&tc_rand=2033943378&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
Did you create the shop and products successfully from a retailer account?
Are you seeing any errors in the console?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/shamahoque/mern-marketplace/issues/5#issuecomment-475850478,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARSGZ1OA2gsC4cQRb6lefiN1Fwr9wzAzks5vZeMkgaJpZM4cEtQu
.


BLE mesh on ESP32

I'm trying to use BLE mesh with ESP32, can anyone confirm if it works ?

this is not supported yet.

Thanks for your help nashif.

So @nashif, will it be supported in near future? I also wonder if esp32 could run ble mesh protocol with its limited resource.

＃8830 this is my question. wifi and bluetooth not be supported,because these parts are not open source.they will open wifi source in the future,so we need wait.


Contribution

Hey man,
actually I was thinking of the same idea :)
I've just worked on dgraph_ex and implemented support vor Dgraph v1. The issue is still pending. Also my upgrade attempt is still in progress.
I also took some time to check out bolt_sips for Neo4j.
I really like how this project is evolving. Instead of implementing a bunch of macros that implement a DSL like look and feel (that's what dgraph_ex is doing) they focus on performance first. All cypher is created as strings. So its the users choice how to create queries. Great examples: bolt_movies_elixir_phoenix and elixir_ravelry. Not to mention that you still can combine Ecto schemas with Non-Ecto dbs see this example: GoogleCloudPlatform demo
Also bolt_sips implements the db_connection database connection behavior. Which is the Ecto behavior.
I think this strategy is worth considering as a implementation roadmap.

implement db_connection behavior
implement db adapters so that the user can decide between html or gRPC connection
string only queries (*)

What do you think?
Best, f34nk
(*) I have to admit that creating macros for Neo4j's cypher is much harder than creating macros for GraphQL+- which is the Dgraph flavor of GraphQL. So I am not at all against DSL. There should just be a way to submit string queries if the user wants to. IMHO DSL is syntactic sugar and not so important in the beginning.

Hey,
thank you for your input. I think in general performance is more important than syntactic sugar. That is the reason why I went for the gRPC client in the first place.
I also think that clients for graph databases often make the mistake to try to copy Ecto and its DSL. But in many cases this is not fitting for graph dbs since the whole underlying concept is very different. My approach would be:

Performance first
Work as closely to GraphQL+ as possible
Take the Go client for Dgraph as inspiration, not Ecto
Keep it simple and allow a maximum of flexibility for the user while providing enough syntactic sugar to make it simple to use. Also for people new to Dgraph

Regarding your suggestions for the implementation roadmap:

Implement db_connection behavior: Agree, especially since Dgraph supports transactions.
Let users decide between html (sic) or gRPC: I think you mean raw http. I don't see the point here. gRPC is superior to http and there is no point for providing both imo. It just adds to the complexity of the project.
String only queries: I have a strong feeling that there is something better possible here. Nested maps for a start. We otherwise torture users with string interpolation and unnecessary difficulties.

Looking forward to your reply.
Best, ole

Agreed :100:
I will have time to look at the db_connection next week, probably.

I have started to implement the DBConnection behaviour and will close this issue for now. Feel free to message me and discuss on how to work together on this.
Thanks!
Ole


Atom whitelist attribute error from mbuild Comound

I'm trying to do some basic examples, currently this fails:
import mbuild as mb
import warnings
import foyer

warnings.filterwarnings("ignore", category=DeprecationWarning)

a = mb.Particle(name='CH3', pos=[0,0,0])
b = mb.Particle(name='O', pos=[0,0,0.1])
c = mb.Particle(name='CH3', pos=[0,0,0.2])

dme = mb.Compound()
dme.add([a, b, c])

dme.add_bond([a, b])
dme.add_bond([b, c])

ff = foyer.Forcefield()
ff.apply(dme)

gives:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-18-5b24986a3d4e> in <module>()
----> 1 ff.apply(dme)

~/miniconda3/envs/mda/lib/python3.6/site-packages/foyer/forcefield.py in apply(self, topology, references_file, use_residue_map, assert_angle_params, assert_dihedral_params, assert_improper_params, *args, **kwargs)
    379             positions[:] = np.nan
    380         box_vectors = topology.getPeriodicBoxVectors()
--> 381         topology = self.run_atomtyping(topology, use_residue_map=use_residue_map)
    382         system = self.createSystem(topology, *args, **kwargs)
    383

~/miniconda3/envs/mda/lib/python3.6/site-packages/foyer/forcefield.py in run_atomtyping(self, topology, use_residue_map)
    457                     if res.name not in residue_map.keys():
    458                         residue = _topology_from_residue(res)
--> 459                         find_atomtypes(residue, forcefield=self)
    460                         residue_map[res.name] = residue
    461

~/miniconda3/envs/mda/lib/python3.6/site-packages/foyer/atomtyper.py in find_atomtypes(topology, forcefield, max_iter)
     41
     42     _iterate_rules(rules, topology, max_iter=max_iter)
---> 43     _resolve_atomtypes(topology)
     44
     45

~/miniconda3/envs/mda/lib/python3.6/site-packages/foyer/atomtyper.py in _resolve_atomtypes(topology)
     94     """Determine the final atomtypes from the white- and blacklists. """
     95     for atom in topology.atoms():
---> 96         atomtype = [rule_name for rule_name in atom.whitelist - atom.blacklist]
     97         if len(atomtype) == 1:
     98             atom.id = atomtype[0]

AttributeError: 'Atom' object has no attribute 'whitelist'

This is with mbuild v0.8.1 and foyer 0.5.1
The docs for apply say that you can use an mbuild Compound, should this work?

I think this error message is from when the force field your applying to a compound is missing the atom types in your compound. I'm not sure if foyer has a default force filed, I think you either need to supply one or tell it to use one of the ones it ships with, like this:
ff = foyer.Forcefield("trappe-ua")
ff.apply(dme)

If you want to use that force field.

Fixed in #194


Create a pass that checks whether hidden expressions are optional

The following expression:
pub foo = 'hello' \[\s]+ 'world

Isn't valid because the emitter cannot reconstruct at least one \s out of the CST that was generated.
The following would be valid:
pub foo = 'hello' \[\s]* 'world'

In this case the emitter would just output zero characters.

Wontfix: the emitter should be smart or informed enough to make decisions so that it can emit expressions no matter how complex.


Inline Edit Row Duplicated

For some reason that I can't find, Whenever I enable inline edit all rows are duplicated, so you can see one row with inline edit and another without

Have you imported the css or sass file in your project?

Yes I have, the point is in each cell 2 spans are generated, I tweaked a bit with the css to hide it, but i shouldn't get generated twice in the first place

No it shouldn't, when the stack option is set to true it will add an extra span to the column but it's only for the heading and not the value. Can you reproduce it in stackblitz or post an example of your code so I can take a look?


support replacing unicode symbols in a string with fallbacks

See: https://github.com/sindresorhus/figures/issues/12#issuecomment-214500253

In order to test this correctly, I guess we should enable AppVeyor on this project?


Usage of NetInfo through react-native

Given the react-native-netinfo repository has been created to modularize dependencies of React Native, I think react-native-cacheable-image should comply with this modularization by including the new NetInfo repository as a dependency. Better sooner than later ;)
Furthermore, this alleviates the annoyance of having to mute the warning produced by React Native in newer versions (I'm unsure at which version RN starts printing this warning):

Warning: NetInfo has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. See https://github.com/react-native-community/react-native-netinfo

Fixed with latest merge


Support for M4A Audio Files

Currently, the .m4a audio files are not handled by Tagger. This is a popular audio format that is also supported by EasyTag and would be great if Tagger can support it as well.

I'll add it today!

Please Test: V2022.10.5

https://github.com/nlogozzo/NickvisionTagger/releases/tag/2022.10.5


New Drawing Manager instantiated every time

http://plnkr.co/edit/5X6rwdfommrJ8SWE0zuS?p=preview
Switch between routes.
My workaround for drawingManager directive was to just return if it already exists.  Not sure if you should remove and reinstantiate or just return.  Looking forward to an official patch.
mapController = mapController[0]||mapController[1];

        if (mapController.map.mapDrawingManager) {
          return false;
        }

        var filtered = parser.filter(attrs);

The same. This happens because the map instance is being re-used to prevent memory leak. I will look into it.

This has been fixed with new release


Create deno.yml

From 73f820db6b32d349d251d5c03cd5bd355f064dc7 Mon Sep 17 00:00:00 2001
From: "G.Dev.Ssomsak"<EMAIL_ADDRESS>Date: Mon, 24 Jun 2024 18:42:28 +0700
Subject: [PATCH 1/5] Create deno.yml

.github/workflows/deno.yml | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 .github/workflows/deno.yml
diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml
new file mode 100644
index 00000000..782af35b
--- /dev/null
+++ b/.github/workflows/deno.yml
@@ -0,0 +1,42 @@
+# This workflow uses actions that are not certified by GitHub.
+# They are provided by a third-party and are governed by
+# separate terms of service, privacy policy, and support
+# documentation.
+
+# This workflow will install Deno then run deno lint and deno test.
+# For more information see: https://github.com/denoland/setup-deno
+
+name: Deno
+
+on:

push:
branches: ["main"]
pull_request:
branches: ["main"]

+permissions:

contents: read

+jobs:

test:
runs-on: ubuntu-latest

steps:

 - name: Setup repo

   uses: actions/checkout@v4

 - name: Setup Deno

   # uses: denoland/setup-deno@v1

   uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31  # v1.1.2

   with:

     deno-version: v1.x

 # Uncomment this step to verify the use of 'deno fmt' on each commit.

 # - name: Verify formatting

 #   run: deno fmt --check

 - name: Run linter

   run: deno lint

 - name: Run tests

   run: deno test -A

From e30f15b5eb22eb08f6c12ef9f39eb3dbff6427b0 Mon Sep 17 00:00:00 2001
From: "G.Dev.Ssomsak"<EMAIL_ADDRESS>Date: Tue, 25 Jun 2024 16:36:09 +0700
Subject: [PATCH 2/5] Create devcontainer.json

.devcontainer/devcontainer.json | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 .devcontainer/devcontainer.json
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 00000000..ad93c14a
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,5 @@
+{

"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
}
+}

From 02b6aae7c4108315a80b17d8f7400ab648bf69f7 Mon Sep 17 00:00:00 2001
From: "G.Dev.Ssomsak"<EMAIL_ADDRESS>Date: Wed, 26 Jun 2024 20:54:40 +0700
Subject: [PATCH 3/5] Update Ssomsakth.yml

.github/workflows/deno.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml
index 782af35b..68a80090 100644
--- a/.github/workflows/deno.yml
+++ b/.github/workflows/deno.yml
@@ -6,7 +6,7 @@
This workflow will install Deno then run deno lint and deno test.
For more information see: https://github.com/denoland/setup-deno
-name: Deno
+name: G.Dev.Ssomsak
on:
push:
From da2736154321c587d7948af86360e47e79c60ca5 Mon Sep 17 00:00:00 2001
From: "G.Dev.Ssomsak"<EMAIL_ADDRESS>Date: Wed, 26 Jun 2024 20:55:56 +0700
Subject: [PATCH 4/5] Update ssomsakth.yml

.github/workflows/deno.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml
index 68a80090..a313572e 100644
--- a/.github/workflows/deno.yml
+++ b/.github/workflows/deno.yml
@@ -25,7 +25,7 @@ jobs:
- name: Setup repo
uses: actions/checkout@v4

 - name: Setup Deno

 - name: Setup G.Dev.Ssomsak
   # uses: denoland/setup-deno@v1
   uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31  # v1.1.2
   with:

From f1d1f7b2cb89f8827759958e31c614e8af271b32 Mon Sep 17 00:00:00 2001
From: "G.Dev.Ssomsak"<EMAIL_ADDRESS>Date: Wed, 26 Jun 2024 20:58:03 +0700
Subject: [PATCH 5/5] Update ssomsakth.yml

.github/workflows/deno.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml
index a313572e..52d77ccd 100644
--- a/.github/workflows/deno.yml
+++ b/.github/workflows/deno.yml
@@ -26,17 +26,17 @@ jobs:
uses: actions/checkout@v4
   - name: Setup G.Dev.Ssomsak

   # uses: denoland/setup-deno@v1

   uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31  # v1.1.2

   # uses: G.Dev.Ssomsakland/setup-G.Dev.Ssomsak@v1

   uses: denoland/setup-G.Dev.Ssomsak@61fe2df320078202e33d7d5ad347e7dcfa0e8f31  # v1.1.2
   with:
     deno-version: v1.x

 # Uncomment this step to verify the use of 'deno fmt' on each commit.
 # - name: Verify formatting

 #   run: deno fmt --check

 #   run: G.Dev.Ssomsak fmt --check

 - name: Run linter

   run: deno lint

   run: G.Dev.Ssomsak lint

 - name: Run tests

   run: deno test -A

   run: G.Dev.Ssomsak test -A


No way to give default parameters to shadow blocks and monaco

We need a way to pass a default value to the shadow block created in the toolbox and a different value to the Monaco editor when snippets are generated. More on why this is an issue here: https://github.com/Microsoft/pxt-common-packages/pull/349#issuecomment-395881136

I don't understand this bug. Closing.

relevant?


How to properly simulate notify_all

Previously, there was a notify_all method available. This method was dropped in version 2.0.0. How should previously existing usages of this method be replaced?

ok, found notify(usize::MAX) via search. The README.md should be updated to reflect this.


add option to prevent component property names from being lower cased

By default when a component is added to an entity, the first letter of the component name is lower-cased. I find this to be difficult for a few reasons:

When you have components named as initialisms (Ie STR, DEX) it leads to odd casing when addressing the components on the entity (Ie entity.sTR, and entity.dEX).
There is an additive cognitive tax on the developer as they have to continually make casing decisions when adding features. For example, with serialization: mapping component names back to Component functions.
Some editors w/ static analysis built-in can warn you about typos or undefined values. They are pretty good at guessing likely associations but get tripped up by the case change. The current behavior confuses those helpers. Below is a screenshot of the an editor being confused by entity.sTR but understands entity.DEX.

This PR adds the functionality to let the developer disable the lower-casing of the first letter in the component property name. This functionality is opt-in to maintain backwards compatibility.
If the developer prefers the old functionality of entity.componentName, no change is required.
If the developer would like to use entity.ComponentName, simply call nano with camelCase:false option: let world = nano({camelCase: false});.

Thanks! Published as 2.4.0.


cairo: define geometry functions, fixes debug link

Using the cairo UI type, I found the following problem can be met:
(possibly a matter of recent compilers)

only under the case DEBUG=true, the linking stage can end in error when functions are declared and not defined. It's the case of drawing functions from Geometry which don't have implementation.

This problem can be verified on DPF's own CairoUI example.
The patch provides dummy implementation of these functions.

Makes sense. At some point we mark this function as deprecated.
btw, we can use __func__ as a compiler macro to get the function name


Issue with /opt/homebrew/bin/brew and /opt/homebrew/Cellar/rbenv... in terminal

When I open up terminal, the following appears:
/Users/markcyen/.zprofile:1: no such file or directory: /opt/homebrew/bin/brew (eval):source:3: no such file or directory: /opt/homebrew/Cellar/rbenv/1.1.2/libexec/../completions/rbenv.zsh
To fix /Users/markcyen/.zprofile:1: no such file or directory: /opt/homebrew/bin/brew, @redferret provided some guidance. In the terminal, type in atom .zprofile to open up the .zprofile in atom. What should be in there is eval $(/usr/local/bin/brew shellenv). Copy this and paste over what is already in there.
To fix (eval):source:3: no such file or directory: /opt/homebrew/Cellar/rbenv/1.1.2/libexec/../completions/rbenv.zsh, type in atom .zshrc in the terminal. .zshrc file should have some form of this text:
export PATH="/usr/local/bin:$PATH"
# Load version control information
autoload -Uz vcs_info
precmd() { vcs_info }
# Format the vcs_info_msg_0_ variable
zstyle ':vcs_info:git:*' formats '%b'
# Determine if current working directory is a git repository
git_branch_color() {
  if current_git_status=$(git status 2> /dev/null); then
    parse_git_dirty
  else
    echo ""
  fi
}
# Change branch color if working tree is clean
parse_git_dirty() {
  if current_git_status=$(git status | grep 'Changes to be committed:\|Untracked files:\|modified:|deleted:' 2> /dev/null); then
    echo "%F{red}"
  else
    echo "%F{green}"
  fi
}
# Set up the prompt (with git branch name)
setopt PROMPT_SUBST
PROMPT='%F{white}%d $(git_branch_color)${vcs_info_msg_0_} %f$  '
# rbenv
eval "$(rbenv init -)"

This should be marked as solved with the solution


feat(server): cd-dispatch compatibility

Pull Request Description

Added support for cd-dispatch. (Not tested in-game)
Major Changes

Support for cd-dispatch, docs

Modifications done

[x] 🍃 New Feature
[ ] ♻ Refactor
[ ] 🐛 Bug Fix
[ ] 🎨 Design
[ ] 🔥 Optimization
[ ] 🎒 Other

Does CD Dispatch use any exports ?

Does CD Dispatch use any exports ?

Not that I'm aware of.

I'll let you do a merge and also implement the locale handling to the script.


Unfinished LFN sequence warnings

The following results in many warnings about unfinished LFN sequences:
set RUST_LOG=warn
cargo test

See https://github.com/rafalh/rust-fatfs/blob/master/src/dir.rs#L620
Are these warnings about unfinished LFN sequences indicative of a bug in rust-fatfs?
For example, are they attempting to parse directory entries that are not in use or follow a directory entry that indicates end-of-directory?

It looks that check for LFN entries existance is missing (it will warn for every file entry without LFN). I'll fix it.

Dziękuję bardzo!  I just came to this same conclusion (although some hours too late).  Your solution seems correct.  Again, thank you!


Python3 support and some fixes

I'm trying to use this for a project of mine.
This PR includes:

python3 support (ALL that was needed was removing the unneeded wsgiref requirement)
updated region endpoints per the latest Blizzard docs
make apiKey optional so this can be used on the anonymous API endpoints

Thank you for the pull request. I'm a little concerned about merging the anonymous access portion of this into master. The endpoints used appear to be the ones from the WoW Community Web API instead of the newer Battle.net Community API endpoints. Reading the Web API docs, it appears their authentication method is different and does not support battle.net api keys.
Could you please reopen this pull request against the develop branch instead of master, so I can do some testing of falling back to the older endpoints when no key is provided.


Question: Can multiple select render functions share the same state?

Hi,
Yes, each state object should belong to a specific select variant or else you will get very odd behaviour. For example if you are sharing 1 select state with three selects, each select update will change all three selects, which is probably not what you want.
The state is essentially holding on to data the select needs, like is the menu open? Is a select option highlighted?  This state is specific to one select.

I can update the documentation to be more specific at communicating the intended use.


Added gpgpu compute example

Hope this helps - I created it to determine if Vulkano would work for my next project and I think that other people may find it interesting too.

Please put line breaks at column 100 for readability (so that no line is longer than 100 characters).

Done - also I removed an unsafe that should make calling this method easier.

Is there any further work on this? I think this example is super useful and it would be awesome to have it merged.

The example is fine (the code style is inconsistent with rest of the library, but that's okay-ish), but the changes in the library are not (see the discussion).

The library changes were reverted; as for the style please change whatever you'd like or close this please.

Looks like tomaka opted to include a simpler compute example, about a year after the last activity on this PR https://github.com/vulkano-rs/vulkano/blob/master/examples/src/bin/basic-compute-shader.rs
Closing.


[Bug] Invalid Attribute Type with resource citrix_application

with provider version 1.0.3 I get an error/warning with the resource “citrix application”
╷
│ Warning: Invalid Attribute Type
│
│   with citrix_application.published_application,
│   on main.tf line 1, in resource "citrix_application" "published_application":
│    1: resource "citrix_application" "published_application" {
│
│ Attribute type not supported: schema.Int32Attribute
╵

Module looks like this:
#main.tf from module
resource "citrix_application" "published_application" {
  name                    = var.citrix_application_name
  description             = var.citrix_application_description
  published_name          = var.citrix_application_published_name
  application_folder_path = var.citrix_application_folder_path
  installed_app_properties = {
    command_line_arguments  = var.citrix_application_command_line_arguments
    command_line_executable = var.citrix_application_command_line_executable
    working_directory       = var.citrix_application_working_directory
  }
  delivery_groups = var.citrix_deliverygroup_name
  # icon            = comming soon
  limit_visibility_to_users = var.citrix_application_visibility
}

No error with Version 1.0.0
Is delivery_groups_priority regquired in 1.0.3?
I have only one delivery group in the variable string

Thanks for reporting this, we can reproduce the issue. We'll get a fix for it in the next release!

Hi @cedfont,
This issue have been fixed in release v1.0.4. Here's the release note - https://github.com/citrix/terraform-provider-citrix/releases/tag/v1.0.4 and the version can be found here - https://registry.terraform.io/providers/citrix/citrix/1.0.4.
Closing this issue, feel free to open any issues or if you continue facing this issue.
Thanks,
Yash Bhokare


Treat 'default' as keyword while auto-importing

From @giridharangm on November 5, 2017 1:19

VSCode Version: Code - Insiders 1.18.0-insider (098bb776d2e5fdf3cc9ea27a233754acf4309857, 2017-11-04T04:43:03.436Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.2

debugger-for-chrome
msj
3.5.0

vscode-icons
rob
7.17.0

(1 theme extensions excluded)

When tried to create a default export, VSCode doesn't recognize default as the keyword, instead it shows the default(s) from other components.
Like:

Copied from original issue: Microsoft/vscode#37655

default should never show in the completion list.. we should use the containing file name instead.. we should also make sure the quickfix behaves the same way if the module file name is used, it can import the default for it..
let's see if we can get this for TS 2.6.2


feat: add nil support

https://github.com/oxalica/nil
A new language server for Nix Expression Language.
~The name nil needs special handling since it's a keyword in Lua.~ Field name is now nil_ls.

Maybe just append ls or _ls instead of special handling?

Maybe just append ls or _ls instead of special handling?

Renamed to nil_ls now.

Enabled single file support.


Icon font changing content when loaded

One of the fringe cases that this property does not solve is that it does not solve the use case of changing the content property in CSS from a fallback unicode glyph to a new content glyph after the icon font has loading. It requires you to map your icons directly to the code point of the fallback character, which isn’t always easy since most icon fonts are supplied as part of a icon font package.
For example, while the font is loading, show \2261 hamburger menu (ok, the triple bar math symbol, but whatever). Then, when the font has loaded, show the actual font-icon supplied hamburger menu (probably assigned to something other than \2261, likely a decision not made by you).
I wrote an article about these icon font use cases awhile back:
http://www.filamentgroup.com/lab/bulletproof_icon_fonts.html
I consider this to be a edge case for sure and I hesitate to even post it in here for a couple of reasons:

Icon fonts, I believe, are going away. They’re difficult to use properly and I’ve found SVG much easier to use.
Fallback glyphs may not be consistent across operating systems and devices (http://unicode.johnholtripley.co.uk/)
Modifying the code points in the font is an acceptable workaround, in my opinion. Many authors may disagree with this, I don’t know.

So, here is the ticket for posterity (feel free to close). I don’t want this edge case to hold anything up because this property is sorely needed.

Yeah, I'd say the font loading API can be used to cater for this http://dev.w3.org/csswg/css-font-loading/

+1 to Jake.
Let me close this issue.


Proposal: Operator context. A new hope for memory churn

Problem statement
While performing binary operations roaring-rs makes every effort to reuse stores from an owned bitmap that will otherwise be dropped and the end of the op. This is generally accomplished by taking the store out of the to-be-dropped bitmap, then then using the assigning equivalent of the operation. A simpler version of this is: Given an owned a the expression a = a & b is equivalent to a &= b.
For bitmap stores, this is always good news. For arrays however, it depends.
For scalar ops
For operators that can only remove values: this is fine. There are simple algorithms for intersection and difference that given some slices mut a, b can traverse both in one pass, copying items from b or from further ahead in a, then truncating at the end.
Operators that can add values are more costly to perform in place: as they may need to insert values from b into a, meaning large portions of a may need to be copied forwards or backwards. Time complexity can be traded for space complexity by writing to a buffer rather than performing the operation in place. Surprisingly, this is how union is implemented today, but not symmetric difference. There is no impl for BitOrAssign for array stores, but there is for BitXOrAssign with a curious // TODO improve this function
To summarize so far:

We want to prevent needlessly allocating when possible
For array stores:

For intersection and difference it does not affect the time complexity
For union and symmetric difference it does, there are time-memory trade-offs to having an output buffer

SIMD
SIMD is merged, however it further complicates the issues outlined above as none of the block algorithms (as they are written) can run in place. The blocks are stored in full from registers into the output buffer, however not all the values in the block are valid. This is fine, because we truncate the len to the number of valid values, thus the invalid values are overwritten by the next block write (or, for the last block: remain, but are never accessed because they are beyond the vec len). Intersection and difference can be made to operate in place, but that would require some mechanism of storing values without doing a simple store to the buffer. Options are either a SIMD scatter operation, or store to an intermediate buffer then copy to the output. Scatter latencies can be 10-15x compared to a store, storing to a small [u16; 4] then copying whatever subslice is valid is probably better, but obviously  still slower than just the store.
More summary:

Array-array SIMD ops are merged, but only wired up for code paths that do not operate in place. For reasons defined in the first section, this is the minority of code paths.

Note: In the experimental SIMD branch we just decided to let all array ops allocate a new vec. As far as time-space tradeoffs go, allocating a new vec, using the vectorized alg, then dropping the old one is still much faster.
Unfortunately though this playing fast-and-loose with memory goes against much of the hard work we've already done to be conservative with it.
We also tried keeping a thread local buffer around. It worked well but @Kerollmops pointed out it's got some portability issues.
Proposal
As a solution to the above problems I propose introducing an operator context that is created at the operator entry point and passed down through each layer. Its role is to hold on to stores that can be reused, and either hand them out when necessary, or create new ones if it does not have any. ensure_correct_store can also add and remove from the context as necessary, further reducing needless memory churn. The context will of course be dropped after the op has completed, along with all it's owned stores.
I have validated the idea by implementing a naive context that only holds one array store, only implemented adding/removing for intersection, (not including ensure_correct_store) and demonstrated it's time performance was at least as good as, if not faster than always allocating for all datasets. Being able to hold many arrays, and also bitmap stores, plus wiring up to ensure_correct_store should further decrease time and memory requirements.

criterion.zip
TL;DR: "Time or memory: pick two!" (but we pay for them with some added complexity)

This is looking very promising. After wiring everything up most SIMD operations are 8% faster, some more like 16%.

I have only glanced at this issue, but given my understanding of the description of memory access patterns, I wonder if compressing store functions would be useful?

I wonder if https://github.com/rust-lang/portable-simd/issues/240 functions would be useful?

It is useful for targets that support compressing store operations

Yes.

Other targets may support this intrinsic differently, for example, by lowering it into a sequence of branches that guard scalar store operations.

And also no.

Outstanding issues to validate proof of concept:

Ensure the perf benefits are not only due to preserving data locality, as having good locality is likely in a benchmarking environment, but should not be assumed for real-world use cases. See if the benefits disappear with a shuffling allocator.
We might be doing a better job than the system allocator, but let's not assume the application using this library isn't using a different global allocator. Verify this is still a win with jemalloc and mimalloc. If not, it's not worth it.

Assuming we measure the above, and this scheme is still better than naively allocating, I keep seeing this image in my head:

We're basically implementing an operator local allocator. It could make more sense to just be explicit about that and actually impl std::alloc::Allocator


Move the search bar down, move Add/Hide Tokens

Changes:

Replace "My Wallet Address" with the additional menu icon
When revealed additional menu, show three options "Copy Address" "My Wallet Address" and "Add/Hide Tokens"
Add search bar where "Add/Hide Tokens" was before

https://zpl.io/VqMqYol
https://zpl.io/aXOMol8

This is now completed in the Samoa working branch.


Perms aren't working

I tried to add perms for myself and even though it says it should work, it does not.

https://github.com/lucko/LuckPerms/wiki/Usage

We can't really help without any additional info.
What command(s) are you trying?
Is the syntax of the command right?
What is the output?


Homebridge FetchError and Socket Hang-Ups with Feller-Wiser Plugin on Raspberry Pi

Describe The Bug:
I am experiencing frequent issues with Homebridge on my Raspberry Pi where I receive HTML instead of JSON responses from API calls, causing the server to crash and preventing scenes from executing properly. There are also frequent socket hang-ups.
To Reproduce:

Start Homebridge with the feller-wiser plugin enabled.
Attempt to control any accessory or trigger any scene.
Observe the error in the Homebridge logs indicating JSON parsing errors and socket hang-ups.

Expected behavior:
I expect that API calls should return valid JSON responses and not cause the server to hang or crash. The scenes and accessories should operate smoothly without any interruptions.
Logs:
[22/05/2024, 21:34:39] FetchError: invalid json response body at http://192.168.1.XX/api/loads/33/target_state reason: Unexpected token '<', "<!DOCTYPE "... is not valid JSON.
[22/05/2024, 21:34:40] This plugin threw an error from the characteristic 'Target Position': Unhandled error thrown inside write handler for characteristic: request to http://192.168.1.XX/api/loads/16/target_state failed, reason: socket hang up.
[22/05/2024, 21:34:40] FetchError: request to http://192.168.1.XX/api/loads/13/target_state failed, reason: socket hang up.
[More logs related to socket hang-ups and JSON parsing errors]
Plugin Config:
{
"bridge": {
"name": "Homebridge",
"username": "XX:XX:XX:XX:XX:XX",
"port": XXXXX,
"pin": "XXX-XX-XXX"
},
"description": "Configuration for Homebridge and Feller-Wiser plugin.",
"accessories": [],
"platforms": [
{
"platform": "FellerWiser",
"name": "Feller Wiser",
"host": "192.168.1.XX",
"username": "username_placeholder",
"password": "password_placeholder"
}
]
}
Environment:
Plugin Version<EMAIL_ADDRESS>Homebridge Version: 1.8.1
Node.js Version: v20.12.2
NPM Version: 6.14.

Dear @Villagio88,
thanks for reporting this.
Can you ensure, that your accessToken you provided in Config is a valid one?
The implementation mainly is mainly following the "happy path" so the json-parsing expects (unchecked) json. Most likely html is return in cases where you're not authenticated.
Thank you in advance.


[storage] trivial: default to unimplemented!() to all DbReader/DbWrit…

…er interfaces
Motivation
it's getting messier..
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
existing coverage

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Changing JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
Add/update type/method documentation under json-rpc/docs.

/land

:exclamation: Land has been canceled due to this PR being updated with new commits. Please issue another Land command if you want to requeue this PR.

/land


Markdown doc for ErrorOutOfGasMemoryCopy state

Circuit PR https://github.com/scroll-tech/zkevm-circuits/pull/368
Upstream issue https://github.com/privacy-scaling-explorations/zkevm-circuits/issues/1266

Updated Markdown doc to add EXTCODECOPY.

Moved to upstream https://github.com/privacy-scaling-explorations/zkevm-specs/pull/397


floodfill: 1px at all image borders was missing

The mask created by floodfill is missing 1 pixel at all inner image borders.
It is noticeable if NO border blur will be used.
I have changed this in my fork:
https://github.com/luxlux/magic-wand-js/blob/master/js/magic-wand.js
In this version also the pixels at the image border will be masked.

Done!
Added parameter includeBorders to floodFill


The ANT build should fail by default if the XSL-FO processor cannot create the PDF file

By default the ANT process finishes with success even if the creation of the PDF by the XSL-FO process failed. This is bad, the user might have the impression that the PDF was updated and in fact it was not.
There are three cases:

Apache FOP is used. Unfortunately the Apache FOP ANT task never fails, it just reports errors in the console, see https://issues.apache.org/bugzilla/show_bug.cgi?id=54219, so this should either be patched in the DITA OT or wait for a fix on the Apache FOP side.

RenderX XEP is used. The build file has a parameter "xep.failOnError" but by default it is set to "false". In my opinion the default should be changed to "true".

Antenna House is called by using <exec>. In my opinion it should also set a failonerror="true" on the task or at least have a parameter for this like the XEP task.

Found a problem when generating PDF using XEP:
DITA-OT3.x\plugins\org.dita.pdf2.xep\build_xep.xml:183: You must nest a condition into
so this line:
  <condition property="xep.failOnError" value="true">

should probably be replaced with:
<condition property="xep.failOnError" value="true">
  <not><isset property="xep.failOnError"/></not>
</condition>

We can just use


Not support jupyterlab 3.X

Current version doesn't support jupyterlab 3.x
Conflicting Dependencies:
JupyterLab                Extension      Package

=3.0.0 <3.1.0            >=2.0.0 <3.0.0 @jupyterlab/application
=3.0.0 <3.1.0            >=2.0.0 <3.0.0 @jupyterlab/apputils
=5.0.0 <5.1.0            >=4.0.0 <5.0.0 @jupyterlab/coreutils
=3.0.0 <3.1.0            >=2.0.0 <3.0.0 @jupyterlab/launcher
=6.0.0 <6.1.0            >=5.0.0 <6.0.0 @jupyterlab/services
=3.0.0 <3.1.0            >=2.0.0 <3.0.0 @jupyterlab/mainmenu
=3.0.0 <3.1.0            >=2.0.0 <3.0.0 @jupyterlab/filebrowser
=3.0.0 <3.1.0            >=2.0.0 <3.0.0 @jupyterlab/ui-components

You could use jupyter lab 2.x if possible.

You could use jupyter lab 2.x if possible.

This looks easy enough to follow: https://jupyterlab.readthedocs.io/en/stable/extension/extension_migration.html

I've created pull request that should solve this. https://github.com/chaoleili/jupyterlab_tensorboard/pull/30

@Data-drone  @RW21 It was merged. Now you can install it from git by running pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git, we need to update readme and publish package to pipy. But since I have never done that, I wasn't to do it now.
I tested it on my Mac, but currently, I can't figure out why I can't get it working on Windows. It doesn't want to start the tensorboard jupyter notebook extension.

Hey @wexder, remember that in order to use Jupyterlab 3.x it will be necessary to solve the bug of error 500, which forces us to use tensorboard 2.2.1 (compatible only with jupyterlab 2.x).
The problem appears from tensorboard == 2.3 as reported by @NanoCode012 in https://github.com/chaoleili/jupyterlab_tensorboard/issues/25.

Hi @mgomesborges, yes you are right. But I think there are already MR from ppl ready in the main repo for jupyter_tensorboard. I don't think we can do anything here. If I'm wrong let me know and I might look into the problem.

What's the status on this? Looking to use this notebook with the latest versions of tensorboard and Jupyter Lab.

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git

This worked for me!

when will " jupyter labextension install jupyterlab_tensorboard " work?

@k-markov Do you think that order of libraries installation could matter?
Is it enough to just install TB, JupyterLab and your 2x pip installations?
Because in my case the error 500 still remains...

@k-markov Do you think that order of libraries installation could matter?
Is it enough to just install TB, JupyterLab and your 2x pip installations?
Because in my case the error 500 still remains...

Error 500 may not be related to the extension. My order is JupyterLab (3.0.15), TF/TB (2.5), then jupyter-tensorboard (0.2.0) and jupyterlab-tensorboard (0.2.1). The last two are installed with pip as in my post before and they work.

Hi all,
is there any update on this?
I tried the solution proposed above but the error 500 still persists.
thanks!

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

Hi. Thanks for your comments first.
Would you tell me how to install extension after the upper pip installation?
I run command "jupyter labextension install jupyterlab_tensorboard" on  windows 10 cmd.
But error is the same as before.
An error occured.
ValueError: The extension "jupyterlab_tensorboard" does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLab                Extension       Package

=3.0.11 <3.1.0           >=2.0.0 <3.0.0  @jupyterlab/application
=3.0.9 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/apputils
=5.0.6 <5.1.0            >=4.0.0 <5.0.0  @jupyterlab/coreutils
=3.0.9 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/launcher
=6.0.9 <6.1.0            >=5.0.0 <6.0.0  @jupyterlab/services
=3.0.9 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/mainmenu
=3.0.11 <3.1.0           >=2.0.0 <3.0.0  @jupyterlab/filebrowser
=3.0.7 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/ui-components
See the log file for details:  C:\Users\YOUNGW~1.YOO\AppData\Local\Temp\jupyterlab-debug-lfw3mns1.log

Is there any other tips? How can I see the tensorboard menu in the jupyterlab?

For the time being this works with TB 2.4.1 and Jupyter Lab 3.
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

Hi. Thanks for your comments first.
Would you tell me how to install extension after the upper pip installation?
I run command "jupyter labextension install jupyterlab_tensorboard" on windows 10 cmd.
But error is the same as before.
An error occured.
ValueError: The extension "jupyterlab_tensorboard" does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package

=3.0.11 <3.1.0           >=2.0.0 <3.0.0  @jupyterlab/application
=3.0.9 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/apputils
=5.0.6 <5.1.0            >=4.0.0 <5.0.0  @jupyterlab/coreutils
=3.0.9 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/launcher
=6.0.9 <6.1.0            >=5.0.0 <6.0.0  @jupyterlab/services
=3.0.9 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/mainmenu
=3.0.11 <3.1.0           >=2.0.0 <3.0.0  @jupyterlab/filebrowser
=3.0.7 <3.1.0            >=2.0.0 <3.0.0  @jupyterlab/ui-components
See the log file for details:  C:\Users...\AppData\Local\Temp\jupyterlab-debug-lfw3mns1.log

Is there any other tips? How can I see the tensorboard menu in the jupyterlab?

Hi, I succeeded installation and operation in jupyterlab 3.0.15
I just followed tips from Mr. k-markov.
This is installation order what I tried.

pip Installation jupyterlab & tensorflow
Jupyterlab 3.0.15
tensorflow-gpu 2.5

Installation tensorboard
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

That's all.

Hi, I'm using version 3.2.3 of JupyterLab, but I have the following problem installing jupyterlab_tensorboard.

I think this tip supports JupyterLab 3.X, but why the problem above?

Thanks！

Nearly a year later and this update still needs to be pushed to whatever jupyter labextension install installs from.

To get a working tensorboard extension for JupyterLab v3 and above use
pip install git+https://github.com/twalcari/jupyterlab_tensorboard.git

instead of
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

Tested with JupyterLab v3.3.3 and TB 2.8.0.

Cool， it solved on jupyterlab==3.2

For me using jupyterlab 3.2.9 and Tensorboard 2.4.1
pip install git+https://github.com/twalcari/jupyterlab_tensorboard.git results in error 500.
However
running both (don't know which one is relevant):
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

works. Thank you guys!

Hey @Johannes0Horn, Tensorboard 2.4.1 works with JupyterLab 2.x.
For JupyterLab 3.x try Tensorboard 2.8.0 instead.
Check out more details here: https://github.com/chaoleili/jupyterlab_tensorboard/issues/25#issuecomment-799653174

安装jupyterlab  tensoboard 适配jupyterlab 3.2.9
centos 7.9 tensorflow  2.3.0+nv tensorboard 2.3.0 jupyterlab 3.2.9
我的系统本来装好tensorflow和tensorboard 不知道命令2是否会安装tensorflow和tensorboard 执行完三步骤不行的话可能是tensorflow和tensorboard没安装好
1预装环境
tensorflow or tensorflow-gpu >=1.3.0
安装完tensorflow会自动安装上tensorboard
2安装jupyter tensorboard（github被墙了多试几遍就可以了）
pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
3安装jupyterlab tensorboard（github被墙了多试几遍就可以了）
pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git

the jokes are you


Kind references not resolving properly

We have kind aliases, such that srl == nokia_srlinux etc.
It should be possible to define the following topology:
topology:
  kinds:
    srl:
      type: ixrd3
  nodes:
    n1:
      kind: nokia_srlinux
      image: ghcr.io/nokia/srlinux:23.10.1

Notice the kinds definition referes srl whilst the node itself referes to nokia_srlinux.
This will not apply the type attribute to the n1 node. I think some form of resolution should take place and these config parts should be merged.

Not needed imho. Mixing different kind naming schemes should be discouraged


Implement baseclass for date and period based reports

Implements #1175
This type of report has both options at disposal: the period and date.
I am not sure about the handling of the inherited options. In the base class we have a required period value while in this class period and date should be optional.
I implemented the base class in the teams-report-useractivityuserdetail. Once this pull is approved, we can proceed with the residual commands.
Just to be sure. Do you want to have an issue created for each individual command also in this scenario?

Coverage remained the same at 100.0% when pulling 42a86894c8f920f82c2d2f00165fdafb44d70c05 on plamber:usage-datebasedreport into 5b02758c6d266e2fc47b8b0aad135bebb998e247 on pnp:master.

Please close this pull request. Just noticed that there is something wrong with my branch. Will create a new one


brewRenderer Height set to 0 on brew reload

When reloading a previously written brew, the brewRenderer initializes with a height of 0. Also, the code editor isn't visible, but I can't isolate precisely why.

Additionally, the other issue is related to no content being loaded to the DOM, as seen here:

This is the same as about 90% of other issues listed here. You have entered
some invalid HTML code and saved it while it was invalid. This causes the
rendering system to crash.
If you can't get to your code, you can at least go to the "share" button on
the top right, then "view source", copy your code, make a new brew, fix
your code, then save. You can then delete your old brew through your
account page.

Thanks @calculuschild. I guess that's the danger of formatting HTML.

Duplicate of #655


Modal is full screen on iOS 8 on iPhone

Doesn't seem to be a way to size the modal in iOS 8 on iPhone.

Sorry by the delay, but I missed this issue, :-/.
I added a property to the library (fullScreen), but I really try uniquely on iPad.
Anyway, I should document this change on README.md...


sltiu note incorrect?  (RV32I Base Integer Instructions)

Is this note correct?   I believe the immediate field is sign extended (not zero extended) and then is treated (along with rs1) as an unsigned value for the comparison.
See RISC-V Instruction Set Manual, Volume I: Unprivileged ISA, December 13, 2019.    Page 18:
"SLTI (set less than immediate) places the value 1 in register rd if register rs1 is less than the sign extended immediate when both are treated as signed numbers, else 0 is written to rd. SLTIU is
similar but compares the values as unsigned numbers (i.e., the immediate is first sign-extended to
XLEN bits then treated as an unsigned number)."

Fixed in 9a263b416afb98372559df3a81724be49d6c97f3. Closing.


Scale set automatic OS image upgrades not considered here

@DirkRinge commented on Mon Mar 04 2019
This document does not incorporate the VMSS automatic OS image upgrades feature that seems to change the best practices for keeping a cluster up to date on Azure.

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: a1cb62ea-6ede-d585-5952-24c9958c0364
Version Independent ID: 71c4b645-51dd-391f-4b4f-d669e3487c0b
Content: Upgrade eines Azure Service Fabric-Clusters
Content Source: articles/service-fabric/service-fabric-cluster-upgrade.md
Service: service-fabric
GitHub Login: @aljo-microsoft
Microsoft Alias: aljo

Hi team,
I'm moving this here since the user is making suggestions on the original documentation
best

Thanks for the feedback! We are currently investigating and will update you shortly.

@DirkRinge we cover that information here:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade

Note
When using Automatic OS Upgrades with Service Fabric, the new OS image is rolled out Update Domain by Update Domain to maintain high availability of the services running in Service Fabric. To utilize Automatic OS Upgrades in Service Fabric your cluster must be configured to use the Silver Durability Tier or higher. For more information on the durability characteristics of Service Fabric clusters, please see this documentation.

and here
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity#the-durability-characteristics-of-the-cluster
I will close for now but if you have further questions let me know and we can reopen and continue the discussion :)


Create github action workflows

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

v1.2.0
GitHub release

Your semantic-release bot :package::rocket:


[#491] Enhance CICD workflow for releasing production to Firebase App Distribution

https://github.com/nimblehq/android-templates/issues/491
What happened 👀

Separate 2 CD workflow to deploy develop branch on staging and main branch on production
Update deploy production release app rather than production debug app
Add creating keystore workflow

Insight 📝
N/A
Proof Of Work 📹
Show us the implementation: screenshots, GIFs, etc.

@thiennguyen0196 please provide POW from actual workflows in the root .github folder 🙏


Abort overlapping fetch requests

When using an autocomplete: if a fetch request is already in motion when a new one is issued, then abort it.
This will prevent race conditions where earlier requests land after newer ones.
Fixes VEGA-1474 #patch

Codecov Report
Base: 73.71% // Head: 73.71% // No change to project coverage :thumbsup:

Coverage data is based on head (9f58317) compared to base (53935b0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #133   +/-   ##
=======================================
  Coverage   73.71%   73.71%
=======================================
  Files          59       59
  Lines        1438     1438
=======================================
  Hits         1060     1060
  Misses        232      232
  Partials      146      146

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


make output format configurable

A common pratice for linters is to provides a way to format output. This ease integration with editors and usablity in scripts. I don't know how you feel about adding formatting support to gometalinter so I made a basic implementation to discuss it.
This add a --format option. It uses a format string and text/template from the stdlib to render an issue line. The default format is retrocompatible with the previous behavior. I couldn't find a significant impact on performance.
What still missing is a basic documentation, at least the available fields.
What do you think?

Seems like a reasonable idea; just a couple of changes.

I tried to adress your comments with the last commit. I'm not familiar with kingpin, feel free to tell me if I did something wrong.

Perfect, thanks!

Well you're fast! Glad it helps.


Logging middleware

Add parent context extractor
Add a new example: client/server app "hello-tonic"

Hi,
Looks good let's publish :)
Cheers,
~Chris


Identifiers beginning with underscores are undefined behavior

I don't know if this is within the scope of the project either. But there are a lot of identifiers like _rendezvous_cookie, __xi_z, and __h. These are technically UB to create at file scope (except for the compiler), and identifiers with either two underscores or one underscore and a capital letter are UB for any use.

_rendezvous_cookie isn't "one underscore and a capital letter" :)
Everyting in crt0.cpp, including __xi_z symbol, supplies - as the filename suggests - the default MSVC CRT. I didn't chose the names, they are chosen by MSVC compiler.
See here for more info: https://wiki.osdev.org/Visual_C%2B%2B_Runtime


Rename App::add_plugins to App::add_plugin_group

What problem does this solve or what need does it fill?
This method is very easily and subtly typo'd and regularly bites new users.
What solution would you like?
Rename it to add_plugin_group.
Additional context
See #7630 for an example, but I've seen this regularly.

Hey, I'm not sure if this is a good first issue, but I'm starting to look into this. @alice-i-cecile I have the changes ready, just trying to test it right now.

Should be easy to implement! The real trick is convincing everyone that it's a good change :)

I think we should consider fixing this upstream by improving the diagnostics instead. There's not a clear argument for either API (as called out by Cart in #7643), and this is a Rust wide problem with a confusing / misleading diagnostic.

With add_plugin being deprecated and only add_plugins remaining, I'm going to close this as not planned.


Upgrade .travis.yml and .ruby-version?

The current .ruby-version specifies 2.0.0, and .travis.yml tests 1.9.2, 1.9.3, 2.0, and 2.1.
Given that Ruby 2.1 will be EOL soon, maybe it's safe to update these...

Done in #429


Provide a Qobj Unroller backend to produce schema-conformant outputs

What is the expected enhancement?
Current JSONBackend instances do not produce valid Qobj. In particular, they don't use the new bfunc to create conditionals and they emit a dict and not a valid Qobj instance. A QobjBackend is needed to support the generation of schema-conformant Qobj instances.

If I understand correctly, this issue was closed because is obsolete via #1909

yes


Torii and Shibboleth

I am building an Ember application that needs to interact with Shibboleth.
In Googling for "Ember Shibboleth" I found https://github.com/atmire/dsember which talked about Torii. I am unsuccessful in having "torii open the /shibboleth-login url" and was hoping for some assistance?
I've pasted in my code below and with what I have so far, is failing within /app/torii-providers/shibboleth.js on this.get('popup').open(url, ['code'], options).then....
The error: TypeError: Cannot read property 'open' of undefined
// File: /config/environment.js
// Torii looks for a global object at window.ENV.torii.providers that defines a hash of
// provider names and their options.
ENV['torii'] = {
  providers: {
    'shibboleth': {}
  }
};

// File: /app/routes/shib.js
import Ember from 'ember';
export default Ember.Route.extend({
  actions: {
    authenticate() {
	  var providerName = 'shibboleth';
      var options = {
        url: 'https://domain.com/shib-login-url'
      };
      this.get('torii').open(providerName, options).then(function(authorization){
        console.log('Shib route action returns => '+authorization);
      });
	}
  }
});

// File: /app/torii-providers/shibboleth.js
import Ember from 'ember';
export default Ember.Object.extend({
  open: function(options) {
    console.log('"open: function" has been called...');

    var url = 'https://domain.com/shib-login-url';

    this.get('popup').open(url, ['code'], options).then(function(authData){
      console.log('After Torii provider this.get(popup), authData => '+authData);
      return authData;
    });
  }
});

Thank you -Chris

Figured I'd better close this issue request so no one wastes their time. Building a back-end application offers more security and easier to talk with Shibboleth.


Add status code to server error

I just went ahead and implemented it, but feel free to close this PR if you don't want this feature.
Closes #243
Not sure if the passed status code should be validate, mainly status >= 400.

Can we add some integration tests for this.. we can create a route with a component that renders the error message and status code in the JSX (you can catch the error in an ErrorBoundary)

Sure I just couldn't get the tests working on my system so I didn't add one 🙈
But I will check if I can get it to work 👍🏻

What was the problem with the tests? maybe I could help u debug.. check this guide out:  https://github.com/solidjs/solid-start/blob/main/CONTRIBUTING.md

I'm running Arch Linux so the install command did not work
pnpm --filter solid-start-tests install:playwright

> solid-start-tests@ install:playwright
> playwright install --with-deps
BEWARE: your OS is not officially supported by Playwright; installing dependencies for Ubuntu as a fallback.
Installing dependencies...
Switching to root user to install dependencies...
sh: line 1: apt-get: command not found
Failed to install browsers
Error: Installation process exited with code: 127

But I got it working by running the command that got logged in the console, but I needed to run it inside of the test folder.
npx playwright install

I also needed to comment out this line, otherwise the test was always skipped.
test.skip(process.env.ADAPTER !== "solid-start-node");

(Not sure if this is needed, I just saw it in the other tests.)
I added the test in a new file so I can easily test it separately, I hope this is fine.

I also just noticed that you can't throw a ServerError in an api route, I would have expected it to just work.
Also is there a way to make the page return with the error status code?
I tried deferStream but it still returned with a 200.
(Not very important, just was curious about it.)


Implement OP_COMPRESSED (fixed, rebased and cleared up)

Includes fixes requested in #160.

LGTM.  I'll rebase and merge.

Closed via db98162e300f6354272c81b0449358293cacd744


Update ISStreamer.cs

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

Hi @gustavoalochio ,
Thanks so much for contribution! We are glad to have you here! 🎉
Are you able to sign the Contributor Agreement here: https://cla-assistant.io/tektronix/initialstate.NET?pullRequest=11

this fixes #10


Transcribe most Spanish lines

My Spanish isn't good enough to have transcribed all of them, oh well
Also there are many lines that exist in English but aren't translated to the PAL languages, do you plan to do anything about this?

Thanks! I'm not too sure about the missing sound files. I'm assuming the extractor I used is working correctly and that it was their localization team didn't bother recording those lines. Maybe ask red to confirm whether the game actually has those lines for other languages.


Deprecation warning for use of old celda wrapper

In #289, celdaGridSearch() replaced the stock celda() wrapper, in order to emphasize the following:

Models can be used directly for a single K/L
celdaGridSearch() should be used to search across the parameter space.

Outdated code by current users may still use the celda() wrapper function call; we should include a function by that name which emits usage instructions and a deprecation warning.

Fixed in #314


fix: bring back previous way of loading mibs

Codecov Report

Merging #348 (83d9c60) into main (b3eaa31) will increase coverage by 0.53%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #348      +/-   ##
==========================================
+ Coverage   82.02%   82.56%   +0.53%
==========================================
  Files          21       21
  Lines        1380     1371       -9
==========================================
  Hits         1132     1132
+ Misses        248      239       -9

Impacted Files
Coverage Δ

splunk_connect_for_snmp/snmp/manager.py
86.24% <0.00%> (+2.52%)
: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 b3eaa31...83d9c60. Read the comment docs.


dunst: doesn't read ~/.config/dunst/dunstrc

The man pages for dunst say:
CONFIGURATION
An example configuration file is included (usually /usr/share/dunst/dunstrc).
To change the configuration, copy this file to ~/.config/dunst/dunstrc and
edit it accordingly.

However, the current expression patches the source to hard-code the example configuration as the default settings:
patchPhase = ''
  substituteInPlace "settings.c" \
    --replace "xdgConfigOpen(\"dunst/dunstrc\", \"r\", &xdg" "fopen(\"$out/share/dunst/dunstrc\", \"r\""
'';

This prevents dunst from reading a user's local settings.  I understand the desire for nice defaults, but this breaks the program's expected functionality.
cc @iElectric

Hmm. Would be better to tweak xdgConfigOpen somehow to fallback to $out/share or to add an additional fallback to $out/share/dunst/dunstrc, because now it just does not use it's own default settings, which is just the opposite bug.


Couldn't able to save and load the model after finetuning

In bigbird summarization, I have loaded pretrained model , after that I have performed finetuning on gigaword tensorflow dataset , then I tried to save the model using tf.saved_model.save(model, data_dir=export_dir) and loaded the model using loaded_model = tf.keras.models.load_model("/drive/My Drive/Checkpoint_Summarization/original_saved") and it is throwing
ValueError: Found zero restored functions for caller function.

Hi, I'm trying to fine-tune it as well, and I encountered your issue by chance, could you solve it though?