Logs not workin on release build

I set sdk up correctly. Everything works fine with debug build. When it comes to release build, I can see traces but not logs on the console. So far I checked lots of things but no chance. Logs are showing only if I set release package as debbugable = true.
What I expected was seeing logs even if they are obfuscated. That's also a missing feature. Mapping.txt file works only for RUM traces which we don't use, never mind.
I searched in issues and docs for related content but no chance. There was a similar issue caused by siteUrl, I checked it also and set it as US1 even if it is already default. Again it didn't work.
Additional context
Gradle version: 7.1.2
OS version: MacOS 12.4
Plugin version: 1.4.0
Proguard configuration: enabled
Other Gradle Plugins:
id("com.android.application")
id("kotlin-android")
id("kotlin-kapt")
id("dagger.hilt.android.plugin")
id("com.google.gms.google-services")
id("com.google.firebase.crashlytics")
id("kotlin-parcelize")

Hi @pf-burak-sinan, thanks for opening this issue. Can you share the full code you're using to initialize the SDK and to create your logger? Also which version of the SDK are you using?

Sure!
SDK version: 1.13.0-rc1
	val configuration = Configuration.Builder(
            logsEnabled = true,
            tracesEnabled = true,
            crashReportsEnabled = true,
            rumEnabled = false,
        ).apply {
            useSite(DatadogSite.US1)
            sampleTelemetry(INFO_TELEMETRY_SAMPLING_RATE)
            setUseDeveloperModeWhenDebuggable(true)
            build()
        }

        val credentials = Credentials(
            clientToken = clientToken,
            envName = environment,
            variant = String.EMPTY,
            rumApplicationId = BuildConfig.APPLICATION_ID,
            serviceName = LoggerConstants.LOGGER_SERVICE_NAME,
        )

        Datadog.setVerbosity(Log.VERBOSE)
        Datadog.initialize(
            context = context,
            credentials = credentials,
            configuration = configuration,
            trackingConsent = TrackingConsent.GRANTED
        )

        val tracer = AndroidTracer.Builder()
            .setPartialFlushThreshold(PARTIAL_FLUSH_THRESHOLD)
            .setServiceName(LoggerConstants.LOGGER_SERVICE_NAME)
            .addGlobalTag(LoggerConstants.Tags.BUILD_CONFIGURATION, BuildConfig.BUILD_TYPE)
            .addGlobalTag(LoggerConstants.Tags.BUILD, BuildConfig.VERSION_CODE.toString())
            .build()
        GlobalTracer.registerIfAbsent(tracer)

        logger = Logger.Builder()
            .setNetworkInfoEnabled(true)
            .setDatadogLogsEnabled(true)
            .setLogcatLogsEnabled(true)
            .build()
            .apply {
                addTag(LoggerConstants.Tags.BUILD_CONFIGURATION, BuildConfig.BUILD_TYPE)
                addAttribute(LoggerConstants.Tags.BUILD, BuildConfig.VERSION_CODE.toString())
            }

Unfortunately I don't see anything wrong with your setup here. Can you open up a ticket with our support so we can have more info and schedule up a call to debug this please?

Having the same issue. Datadog does seem to track RUM events and crashes. But no logs.

Hi @ntoskrnl do you have a small sample app reproducing the issue that you could share with us?

Thanks to this exercise I found the problem in my setup:
com.datadog.android.log.Logger was created before Datadog.initialize(). As a result, they were not sent (or probably even recorded).

@pf-burak-sinan in my case logger was declared and initialized in a companion object.

Yes indeed the Logger object needs to be created after Datadog's global initialisation. Otherwise, it's initialise without knowledge of how it needs to store/send the logs, and defaults to a no-op implementation.


Fix duplicate certificate list item (EXPOSUREAPP-11052)

Addresses EXPOSUREAPP-11052.
This fixes the edge case that a RA test certificate and a PCR test certificate is required, but the certificate type list contains PCR_TEST, RA_TEST and TEST.
The previous result was:
PCR-Testzertifikat, Schnelltest-Testzertifikat,
PCR-Testzertifikat, Schnelltest-Testzertifikat

The new result should be:
PCR-Testzertifikat, Schnelltest-Testzertifikat

because PCR_TEST and RA_TEST are filtered as soon as TEST is present.

@mtwalli thanks for the tests 👍


Single port limitations with NAT and how it limits the Gridcoin network port 32760

With the gridcoinreseachd client limited to 1 port  32760 or testnet 32759 we are very much limiting the growth and additional servers on the network.
Typical home end users have 1 ipv4 address , the single address their ISP provides them with and most do not spend the $1-8 a month for the cost of extra ipv4 addresses and rely on NAT to share their Internet connection with multiple machines within their home.  These days you can get 1/1gbps unlimited fiber service for under $100usd a month , many have unlimited or 1tb a month data xfer caps and a 100/10mbps connection or faster at home and the need for rackspace and 10/1mbps ,  10/10mbps or 100/10mbps connections in a data center are less and less when businesses and end users can host services in house directly per their projects and interests such as Gridcoin , or if you look you will see many of our B.O.I.N.C. projects actually are hosted at somebodies home , some even on the project admins laptop.
These days additionally you get a /48 or /64 of ipv6 addresses ( 2.4million+ ) with your 1 single ipv4 address and for these who do not know , we are out of free IPV4 addresses blocks so the cost will only go up so the single home ipv4 address model is here to stay.
How does this effect Gridcoin? By limiting users with multiple nodes setup as full nodes to provide additional servers when behind NAT they are forced 1 ipv4 node and any additional are limited to ipv6 only , from my experience watching my nodes the past year we do not have a large amount of client wallets trying to connect via ipv6 albeit not 0% only 3% out of 100 connections average on my multiple nodes ( racked , rented vps and local ) so assuming we want to expand the network especially since the Linux client still does not have the neural network this would be a very easy solution. Unfortunately people are typically uneducated on ipv6 and disable it thinking its a security risk so this does nothing to help our expansion , they have no idea their phone is ipv6 due to their telco using nat for ipv4 since we have to conserve ipv4 addresses. So in reality the single port is actually limiting the network growth at a very large amount and could exponentially expand the current ability of the network by bringing a massive growth of much needed Windows clients until we can get the neural network ported over to the Linux client.
For example , irc typically uses ports 6667-6669 and for SSL 6697
If your mirc or bitchx or what ever client you use is told to connect to /server irc.freenode.net it will default to 6667 but if unable to connect it will then try 6666 ( nothing there ) so 6668 and POOF it connects!

Now per gridcoinresearchd this has nothing to do with SSL and or the RPC port 9332 soo since I know the first thing someone will say will be to the effect of security and headless control of the wallet getting hacked and security lets just nip that in the butt and clarify that this is only the spider webbing out of the network and the nodes/wallets connecting together and the limitations of the connecting clients connecting together and the neural network and has nothing to do with RPC.

I can't see the problem here. Yes, there are no more IPv4 addresses and It is shame that it is taking longer than I've been on this word to adopt IPv6.
If you have only one IPv4 then you have only and are on ISPs mercy. Gridcoin can't do anything to give you more addresses. I hope you know that you can specify both the address and the port number when sharing a contact. However there is nothing preventing you from running multiple nodes on that address or even on a single computer. The usefulness of this setup is dubious, because if that one PC or router dies all nodes behind fall off-line. You just have to set up different ports.
Your example with irc, Why gridcoin would do that?

u mean 32748 for testnet and 32749 for production?

Nut exactly.
You can run a node on port 30123 (-port=30123) if you want. Then someone can connect using -addnode=<IP_ADDRESS>:30123. You can run as many nodes like this. To avoid conflicts on rpc port numbers, use -rpcport=... or -server=0. You can put these into config, just remove the dash.


isValid doesn't work if an element hasn't been visited

If an element hasn't been visited, isValid is returning true, despite a field marked as required being empty. I would like for isValid to run a check that will assess the state correctly, and show the built-in error message if the field is not valid.

The working theory is that the element is valid until the user interacts with it. It is at this point we decide if the user met the baseline requirement or not.
Keep in mind, the validation in the client is not a replacement for a backend validation. The backend should validate that all the data is there and if not, then the return back to the form would add an error attribute to the incorrect element as well as possibly an alert UI added to the view.
I am not sure it's correct to assume that the element is invalid prior to interaction by the user. If anything, the state is required, but it is not invalid.
This pattern could also be wired up to the button to render it disabled until all required fields are valid.


unifiedg1rules.txt and patch.txt existence?

The unifiedg1rules.txt and patch.txt files in the root of the repository seem to serve no purpose?
They came in as part of https://github.com/microsoft/gctoolkit/pull/187

Removed


Through setting nzAllowTitle=true or  nzAllowTitle=false to display the title property,default value is false.

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

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

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

What is the current behavior?

Issue Number: 1974
What is the new behavior?
Through setting nzAllowTitle=true or  nzAllowTitle=false to display the title property,default value is false.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Due to no progress for a long time, this issue will be closed. Please contact us if you have any questions.


Automated cherry pick of #2349: fix: project_id/domain_id was cleared after FetchProjectInfo/FetchDomainInfo called

Cherry pick of #2349 on release/2.11.
#2349: fix: project_id/domain_id was cleared after FetchProjectInfo/FetchDomainInfo called

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@2897c96). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.11   #2351   +/-   ##
==============================================
  Coverage                ?   7.11%
==============================================
  Files                   ?     454
  Lines                   ?   71406
  Branches                ?       0
==============================================
  Hits                    ?    5077
  Misses                  ?   65913
  Partials                ?     416

Flag
Coverage Δ

#aFlag
7.11% <0%> (?)

Impacted Files
Coverage Δ

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

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 2897c96...495b8ed. Read the comment docs.

/approve
/lgtm


UploadFiles - no error checking or retry?

I don't see how to implement hash checking or retries using the UploadFiles() method.  Yet that's where the instructions in that item link me.

Never mind.  A newer build changed the call AND added this.
thanks!


replace soundfile with librosa

What does this PR do?

This PR replaces soundfile with librosa to support more audio formats like .mp3 by default
Fixes # (issue)
https://github.com/PyTorchLightning/lightning-flash/issues/724
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests? [not needed for typos/docs]
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@ethanwharris
I have an strange error, while training on mp3 data everything works fine, but when using mp3 files to predict librosa is never called to load the audio. When using wav-files the print statement executes.
Traceback (most recent call last):
  File "f:\codes\python apps\lightning-flash\flash\core\data\batch.py", line 231, in forward
    samples = self.collate_fn(samples, metadata)
  File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "f:\codes\python apps\lightning-flash\flash\core\data\utils.py", line 178, in forward
    return self.func(*args, **kwargs)
  File "f:\codes\python apps\lightning-flash\flash\core\data\process.py", line 383, in collate
    return collate_fn(samples, metadata)
  File "f:\codes\python apps\lightning-flash\flash\audio\speech_recognition\collate.py", line 65, in __call__
    sampling_rates = [sample["sampling_rate"] for sample in metadata]
TypeError: 'NoneType' object is not iterable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test-flash.py", line 15, in <module>
    print(model.predict(sample_path))
  File "f:\codes\python apps\lightning-flash\flash\core\model.py", line 247, in wrapper
    result = func(self, *args, **kwargs)
  File "f:\codes\python apps\lightning-flash\flash\core\model.py", line 418, in predict
    x = data_pipeline.worker_preprocessor(running_stage, collate_fn=dataloader.collate_fn)(x)
  File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "f:\codes\python apps\lightning-flash\flash\core\data\batch.py", line 233, in forward
    samples = self.collate_fn(samples)
  File "C:\Users\flozi\anaconda3\envs\wav2vec\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "f:\codes\python apps\lightning-flash\flash\core\data\utils.py", line 178, in forward
    return self.func(*args, **kwargs)
  File "f:\codes\python apps\lightning-flash\flash\core\data\process.py", line 383, in collate
    return collate_fn(samples, metadata)
  File "f:\codes\python apps\lightning-flash\flash\audio\speech_recognition\collate.py", line 65, in __call__
    sampling_rates = [sample["sampling_rate"] for sample in metadata]
TypeError: 'NoneType' object is not iterable

cause the audio never gets loaded an NoneType error returns

Hey @flozi00 great work here! I fixed the MP3 predicting issue, just needed to add .mp3 to the list of valid extensions in the SpeechRecognitionPathsDataSource. Should all be working now :smiley:


GeoTIFF source transition attribute

I'm using GeoTIFFs with OpenLayers and would like to control the transition option for GeoTIFF sources. However it seems the current implementation does not support this. The DataTile constructor also has many other options that could be useful for GeoTIFFs (for example opaque, cacheSize) and could also be passed to the super constructor.
What I'd like to see:
new GeoTIFF({
  sources: [ ... ],
  transition: 0,
});

PS. Thanks for the great work on WebGL & GeoTIFF support!

@sampov2 - Inspired by your comment about cacheSize, I removed it as an option from ol/source/DataTile.js sources and added it as an option for ol/layer/WebGLTile.js layers.
As @ahocevar mentioned, the WebGL tile layer renderer maintains its own cache of tile textures, and we don't need an additional cache of tiles on the source.  See #12671 (this also fixes a current issue where the WebGL tile renderer never tries to expire tiles from the source cache).

Thanks for quickly working on this! I appreciate analyzing which options are really useful & meaningful in this context. I'll try this out and get back to you


Still have Payload may not be larger than 1048576 bytes when trying to join my server 1.20.1 Fabric

Me and my friends put together a modpack for 1.20.1 fabric and at first it kept kicking us from the server with the "Payload may not be larger than 1048576 bytes" error. We found packet fixer and put it on the server and the modpack because we thought it would help, but we still can't get on the server and when it kicks us off the server it still says "Payload may not be larger than 1048576 bytes".
latest.log

@thatkidjustinn You put the mod in the client and server or only on server?

Fixed in the latest version

encountering this problem in all versions for 1.19.2, can you backpatch this to 1.19.2? do you need modlist for testing?

encountering this problem in all versions for 1.19.2, can you backpatch this to 1.19.2? do you need modlist for testing?

Have you the mod in client/server side?


Why does this project use kotlin version 1.4.10?

Why does this project use kotlin version 1.4.10, not 1.6.20 ?

Keeping the Kotlin version low means greater support for usage in locations like IntelliJ plugins and Gradle plugins where the Kotlin version may be forced to be older than the latest. Gradle is an especially bad actor here.

Agreed - Kotlin has always been really careful to be forward compatible (is that the right word).
With that said there is a version bump on the soon to be released 4.10.x branch.
https://github.com/square/okhttp/pull/7225/files
@JakeWharton do you have concerns about this proactive bump, I wanted to separate these out from the 5.x release.

The only place of real concern is inside the Gradle buildscript classpath where Kotlin is forced to a ridiculous old version. As far as I know, Gradle does not maintain a public page with a mapping from their version to the outdated Kotlin version they forced on plugins and build scripts. It's only a problem in practice if you use a newer stdlib API which the 4.x branch does not.
I'm still against shipping a 4.x with a newer version of Kotlin simply to silence broken CVE tooling, though.


txn: heartbeat piggyback update of min_commit_ts

What is changed and how it works?

Issue Number: ref #17459

What's Changed:
Depends on https://github.com/tikv/tikv/pull/17522
Support push min_commit_ts via heartbeat command

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

This part will be in https://github.com/tikv/tikv/pull/17540


Error [ERR_MODULE_NOT_FOUND]: Cannot find module .pnpm/@livekit+rtc-node@0.11.0/node_modules/@livekit/rtc-node/dist/proto/e2ee_pb'

Created app using
lk app create
output
Cloning template...
Instantiating environment...
Cleaning up...
To setup and run the agent:

    cd hussain-nodejs
    pnpm install
    pnpm build
    node dist/agent.js dev

Installed dependencies
pnpm install
Created build
pnpm build
Running the agent gives this error
node dist/agent.js dev
node:internal/modules/esm/resolve:265
    throw new ERR_MODULE_NOT_FOUND(
          ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '..... hussain-nodejs/node_modules/.pnpm/@livekit+rtc-node@0.11.0/node_modules/@livekit/rtc-node/dist/proto/e2ee_pb' imported from .... hussain-nodejs/node_modules/.pnpm/@livekit+rtc-node<EMAIL_ADDRESS>    at finalizeResolution (node:internal/modules/esm/resolve:265:11)
    at moduleResolve (node:internal/modules/esm/resolve:933:10)
    at defaultResolve (node:internal/modules/esm/resolve:1169:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:540:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:509:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
    at link (node:internal/modules/esm/module_job:95:36) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///.,..,,,hussain-nodejs/node_modules/.pnpm/@livekit+rtc-node@0.11.0/node_modules/@livekit/rtc-node/dist/proto/e2ee_pb'
}

Node.js v20.17.0

update rtc-node to 0.11.1, 0.11.0 has a bug in it that was fixed.

I have updated my versions in package.json
{
  "name": "multimodal-agent-node",
  "version": "0.1.0",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "tsc",
    "lint": "eslint -f unix \"**/*.ts\""
  },
  "packageManager"<EMAIL_ADDRESS>  "devDependencies": {
    "@eslint/eslintrc": "^3.1.0",
    "@eslint/js": "^9.14.0",
    "@trivago/prettier-plugin-sort-imports": "^4.3.0",
    "@types/node": "^22.9.0",
    "@typescript-eslint/eslint-plugin": "^8.13.0",
    "eslint": "^9.14.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-prettier": "^5.2.1",
    "typescript": "^5.6.3"
  },
  "dependencies": {
    "@livekit/agents": "^0.4.1",
    "@livekit/agents-plugin-openai": "^0.4.1",
    "dotenv": "^16.4.5",
    "zod": "^3.23.8"
  }
}

I am facing this new exception now when doing pnpm build
><EMAIL_ADDRESS>build ...hussain-nodejs
> tsc

src/agent.ts:57:7 - error TS2322: Type 'string' is not assignable to type 'ChatRole'.

57       role: 'assistant',
         ~~~~

  node_modules/.pnpm/@livekit+agents@0.4.1/node_modules/@livekit/agents/dist/llm/chat_context.d.ts:26:14
    26     readonly role: ChatRole;
                    ~~~~
    The expected type comes from property 'role' which is declared here on type 'ChatMessage'

src/agent.ts:58:19 - error TS2353: Object literal may only specify known properties, and 'type' does not exist in type 'ChatImage | ChatAudio'.

58       content: [{ type: 'text', text: 'Say "How can I help you today?"' }],
                     ~~~~

Found 2 errors in the same file, starting at: src/agent.ts:57

 ELIFECYCLE  Command failed with exit code 2.

yep, this has been fixed in the PR. agents has recently been updated to
v0.4.0, which breaks some small things.


Data for testing

Hi all.
With SpatialData we have some public datasets that could be used for testing. Here is information where to get them: https://spatialdata.scverse.org/en/latest/tutorials/notebooks/datasets/README.html. Some of the datasets are small while others are a couple of GB in size (xenium for example). Let me know if this could be of help. Would be happy to be of assistance.
Also tagging @LucaMarconato and @giovp two of the developers of SpatialData.

Thanks Wouter for making the link. We would be interested in comparing the performance of using Zarr vs Parquet vs GeoParquet for storing collections of geometries.

In the Xenium dataset we use geopandas to write collections of shapes to Zarr.
In the Xenium dataset, we use dask to write a pandas dataframe representing points to Parquet
Finally, one could use geopandas to save both the collection of points and collection of shapes to GeoParquet. We haven't tried this yet, but it would be straightforward to write.

Thank you for pointing to the data! Sorry if I missed it, but please could you tell us which license the data is released under?

We would be interested in comparing the performance of using Zarr vs Parquet vs GeoParquet

I'm definitely interested in that, too! But, for now at least, zarr-benchmark is focused on benchmarking just Zarr-Python and TensorStore. The main reason we started zarr-benchmark is to help inform efforts to speed up Zarr implementations, rather than as a tool for comparing many different ways of storing n-dim arrays.

Thank you for the information. The data is under the Creative Common Attribution license, and originally is from here: https://www.10xgenomics.com/products/xenium-in-situ/preview-dataset-human-breast


Set timeout properly for TLS connection

The 'timeout' option isn't properly set for TLS connection, it's currently hard-coded to 5 seconds.
This PR set the timeout of the connection to the timeout option value like for insecure connections.

Thank you!


python commands: uri of service is hardcoded

eg.
uri = "https://stream.watsonplatform.net/speech-to-text/api/v1/customizations"
when one may have to use
"https://stream-fra.watsonplatform.net/speech-to-text/api/v1/customizations"
(of course, solution is easy using an env variable)
Best,
fps

Thank you for pointing this out.  I will add a check for the env variable and use a default if it is not set.
Ton Ngo,


handle image orientation

sometimes, images are the same but with rotation, would you consider implementing a rotation management feature parameter to handle similar images but rotated ?

For 2D affine transformation-invariant hashes (including partial image-matching) I suggest having a look at this approach: https://pippy360.github.io/transformationInvariantImageSearch/

CNNs exhibit a good degree of rotation invariance. So, you should try CNN method instead of hashes for obtaining duplicates in this case. I also encourage you to have a look at the benchmarks to guide you regarding algorithm/threshold selection for your image collection: https://idealo.github.io/imagededup/user_guide/benchmarks/


NEXT: Conic Gradient

This will act as a hub to centralize this information.
Spec:

NOTE: NextJS provides the following theme extensions by default. We should adopt this in Skeleton's plugin:

Tailwind Plugin:
theme: {
  extend: {
    backgroundImage: {
      "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
      "gradient-conic":
        "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
    },
  },
},

Usage:

See also:

Stop Positions: https://tailwindcss.com/blog/tailwindcss-v3-3#fine-tune-gradient-color-stop-positions
Multiple via: https://github.com/tailwindlabs/tailwindcss/discussions/3682#discussioncomment-5510078

Maintainer Requests
The following requests are coming straight from the Skeleton team. These are highly likely be implemented:

[x] Reminder: Review the default NextJS tailwind.config. This includes gradient radial/conic options.
[ ] Let's review this Logrocket guide and consider moving the conic gradient rendering to Tailwind. This would involve a new utility class provided by our Tailwind plugin. Which could then be paired with Tailwind's gradient syntax, including color stops.
[ ] This may or may not involve the use of framework components. It depends on the depth and complexity of the final syntax and structure. This may fit better into our Element or Cookbook sections.
[ ] Ideally we provide direct support of theme colors, as well as arbitrary color values (which the Tailwind syntax would support out of the box)

Community Requests
The following requests have come from the community and are under consideration:

n/a

Bugs and Issues

n/a

References

Skeleton v2: https://www.skeleton.dev/components/conic-gradients

Feedback
If you have additional updates or requests for this feature, please do so in the comments section below.

Alright, after some internal discussion with the Skeleton team, we're going to make three notable changes in regards to the future of this feature:

The conic gradient as we know it in v2 will not be coming to Skeleton v3
Instead, we'll offer integration guides for proper data viz libraries, such as Chart.css, Chart.js, etc. This will provide a much wider range of options.
Finally, we add new options to the Tailwind plugin to support gradient radial and conic out of the box

Per that last option, you can see a few examples below:

https://play.tailwindcss.com/kaO1JTNIwZ
https://play.tailwindcss.com/sxEhGnWJOW
https://play.tailwindcss.com/w58Fb0d7VG

While not a 1:1 replacement, it does provide a lot of cool options that go well beyond the use case of the original component.
Then, in the (likely distant) future we'll consider if there's a place for a dedicated Skeleton-owned data-visualization add-on. This might make use of a mixture of CSS and SVG-based options that provide plug-and-play support for Tailwind and Skeleton's utility class approach. Not promises and no ETA, but I think we need much more than a single data viz element to really satisfy most requirements end users have.


⚠ Bofrost.fr has degraded performance

In 6a8cd16, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 981 ms

Resolved: Bofrost.fr performance has improved in 0d1e1fd after 310 days, 20 hours, 5 minutes.


Get/set thread name shims return errors for invalid handles

Fixes #3965.

So, I feel satisfied now. There was an issue with the thread identifier conversion causing ICEs, but that happens no more.
@rustbot review

:umbrella: The latest upstream changes (presumably #4009) made this pull request unmergeable. Please resolve the merge conflicts.

I will stop here, please re-check all the comments I left that you marked as resolved to ensure they are truly resolved.
@rustbot author

Seems to be fine now, @RalfJung. The previously lost suggestions are restored via https://github.com/rust-lang/miri/pull/4004/commits/7d8fe1287e389a1d7d4bdea92f4228943a62a7c5, and the latest were addressed by https://github.com/rust-lang/miri/pull/4004/commits/853593e202cbc35a4297483887f9e023c41c9747.
@rustbot review

Awesome, thanks. :)  Please squash. :D

@rustbot review


Add bitvec constant, operations

I added bitvec constant and several bitvec operations to builder.lean & syntax.lean.
You can define a bitvec variable by writing code like this:
    smt2.builder.declare_const x
            (smt2.sort.apply "_"
                [smt2.sort.id "BitVec", smt2.sort.id (to_string sz)])

.. which will print code like this
(declare-const %x (_ BitVec 4))

Also by using builder.bv_add you can print an expression like:
(assert (= %b (bvadd %a #xE)))

Feel free to give comments. Thanks!

merged


Duplicate Example Names

Following the installation instructions delivers four exmaples:
Hack_Man (from examples folder)
Pong (from examples folder)
Pack_Man (from HackBoy folder)
Pong (from HackBoy folder)
As long as it is not clear which to use, maybe this can be cleaned up.

Fixed by 1e5c347


Remove 'codingben' from the OWNERS

What this PR does / why we need it:
Remove 'codingben' from the OWNERS
Release note:
None

/lgtm


vue ads pagination

after install vue-ads-pagination my project broked

Can you show me some code, how you implemented it? Or give me the errors of the console.


How do I force cache invalidation after updating localization files?

I'm updating the assets\loc\en-US\strings.json file for the HTML5 web client. I'm adding a Reset Password link to the login failed message. I can see it if I open a private browsing session or if I clear my cache, but I'd really like to do something on the server to invalidate end user cache files so my changes can be seen by everyone.
Is this possible?

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


Make crate used in entry_point configurable

Replaces #1539
This PR makes the crate used in the expansion of the entry_point macro configurable.
But with actual error handling and a nice syntax.
Rename example:
#[entry_point(crate = "::my_crate::cw_std_reexport")]

It also rejects other attributes and syntaxes:
#[entry_point(other = "attribute")] // This is rejected
#[entry_point(::my_crate::cw_std_reexport)] // This is also rejected

TODO:

[x] Tests

Whether the attribute is a string or a path can be changed pretty easily, so whatever fits better into the desired look

Whether the attribute is a string or a path

AFAIK what you've done is idiomatic, so all good!

#[entry_point(crate = "::my_crate::cw_std_reexport")]

Great stuff. But one naming thing: Aren't we setting the "module" there, not the "crate"?

But one naming thing: Aren't we setting the "module" there, not the "crate"?

Technically yes, you can set a module here and not only a crate. But I took the naming in this case from serde (https://serde.rs/container-attrs.html#crate) since it is probably most familiar to users

okay, sure. Thanks for the clarification. I don't expect sub-module usages here anyways. From the very few users of the option, the majority puts in fact a different crate name in it.


Packages to manually convert over

Before doing the full switch to esy, we have to convert packages.
This issue tracks migrating all the automated packages, but we also need to migrate some of the individually crafted packages that used dependency-env.
Among them are:

https://github.com/reasonml/BetterErrors/
https://github.com/reasonml/rebel/blob/master/package.json
github.com/facebook/reason

Add any you think of here.
We can try to build support in esy for supporting dependency-env simultaneously, or we could all block off a few hours at the same time, and just aggressively port everything forward.

Some comments:

Reason: https://github.com/andreypopp/reason/tree/esy
I ported BetterErrors from opam, isn't that enough?
Rebel is blocked on #28 because of core dep.

I ported BetterErrors from opam, isn't that enough?

I believe we've fallen out of sync and will likely fall even more out of sync as people rapidly iterate on it.

Update:

[x] Reason https://github.com/andreypopp/reason/tree/esy
[x] BetterErrors https://github.com/esy-ocaml/BetterErrors/tree/esy
[x] Rebel https://github.com/esy-ocaml/rebel/tree/esy

Not closing because we need to sort out the packaging story yet.

Changed my mind, let's track it in #33


added function bytes to Utf8

this pull request fixes #3
new function "toUtf8" has been added in both browser.ts and index.ts files. this function efficiently converts a typedArray to Utf8 encoded string.
some new tests have also been added to verify the correctness of the code

@junderw pls go through it and suggest if some changes are required.

The reason "toUtf8" was giving a different output was TextDecoder("ascii") was converting it to string values whereas it should only be textDecoder() to convert to utf8 string. another test has been added which was creating problem. This has now been fixed and all the tests run fine


Wind Speed Measurement [PYTHON]

App name
dash-wind-stream
App

[x] This app is currently deployed on Dash(R) Gallery: https://dash-gallery.plotly.host/dash-wind-stream
[ ] This app is new

Source code repository
https://github.com/plotly/dash-wind-streaming
Current appearance

Redesign
Link: https://github.com/plotly/streambed/issues/12068#issuecomment-463430412

Playground deployment
https://dash-playground.plotly.host/dash-wind-streaming/

Redesigned:


Remove full stops from brief-response availability question

For this story on Pivotal: https://www.pivotaltracker.com/story/show/135599725
Needs this PR on the frameworks to be merged before tests will pass. https://github.com/alphagov/digitalmarketplace-frameworks/pull/360
This version of the frameworks repo removes a trailing full stop in the availability question for brief-responses. If a buyer includes a full stop at the end of their requirements, you get two full stops on the page and it looks weird. See the pivotal story for an example.

:+1:


about/company: Update link

There's currently a link in About/Company which leads to https://opencollective.com/opencollectiveinc , but that page doesn't seem to exist any more:

This PR changes that link to https://opencollective.com/opencollective

Perfect, thank you!

Perfect, thank you!


--

Depending on how murky a river is, if it is magical or realistic natural, fast or slow moving ... the falloff of the clarity property would be great if adjustable and not linear.

Hmm not sure why you closed this. I thought it was an interesting idea. My plan though is to move over to a realistic scattering shader instead, so this that will change all these controls as well.

I closed it because this is the Demo, I made the same issue request over at the Addon instead. :)


export DBError in the DbTypes namespace

objection-db-errors needs the DBError export to compile with TypeScript.  See the error below.
RobertStJohn:abc-server stjohnr> npm run tsc

><EMAIL_ADDRESS>tsc /Users/stjohnr/sandbox/abc-server
> tsc

node_modules/objection-db-errors/index.d.ts:5:3 - error TS2305: Module '"../../../../../../Users/stjohnr/sandbox/abc-server/node_modules/db-errors"' has no exported member 'DBError'.

5   DBError,
    ~~~~~~~

Thanks! 0.2.1 will be out in a couple of minutes

I like your style.


Re-Add PageWrapper & Navbar Tests

Add existing page wrapper test once ui bug in jest environment has been resolved

Two tests were removed from the Casper Block Explorer: Navbar.test.tsx & PageWrapper.test.tsx.
This was due to a bug within the Casper UI Kit that only occurred within the jest environment.  This has since been resolved in v0.5.2 that was released today.
This ticket is meant to bump the casper-ui-kit version to 0.5.2 and re-add the previously deleted tests


Drop Python 3.6 Support

Support for Python 3.6 will be dropped one year post end-of-life.

Python 3.6's EOL was December 23, 2021, so the year has already passed.


fix: batch source able to be submitted

Motivation
Batch source currently cannot be successfully submitted via Admin API.  A server side check rejects it because it doesn't implement the Source interface.
Modifications
Allow sources that implement BatchSource to pass validation

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Run production grade private models

Hello,
Following discussion with @Narsil, he told me that actually model hub is not meant to be able to load private models (as of now), since the api-inference-community was originally intended to promote community libraries that use the hub.
However, in the scope of running production grade private models would it be possible to internally discuss this possibility within model hub?
Thanks!

Tea por

@david429429 I'm closing this very old thread.
If you want production grade inference, you should try spaces (free form inference) or hf-endpoints (something closer to what is here, with actually also free form but much simpler to setup if you just want to deploy a given model).


Installation Issue - LookupRollupSummariesReadOnly: The user license doesn't allow the permission: Read All dlrs__LookupRollupCalculateJob__c

I am getting this error while attempting to install to a Partial Copy sandbox:
Package: Declarative Lookup Rollup Summaries Tool (04tb0000000cBqJ)
Error Number:<PHONE_NUMBER>-63723 (-943440696)
Problem:

(LookupRollupSummariesReadOnly) The user license doesn't allow the permission: Read All dlrs__LookupRollupCalculateJob__c
LookupRollupSummariesReadOnly: The user license doesn't allow the permission: Read All dlrs__LookupRollupCalculateJob__c

I'm not sure where to start troubleshooting this. I appreciate any help.

What license type does your user have? I did some research and found this post, which suggests it could be a restriction of your user license.

I have a Salesforce user license. The real oddity is I can install successfully in a dev sandbox, but not a partial copy or full copy sandbox.
I should have probably pointed out that this is an upgrade, not a clean install. Not sure what difference that could make.
I can grab some logs if that would help, or grant login access. Thanks for your help.

Wow that is really odd, i can only suggest at this point to raise it with Salesforce support to get an explanation, sorry i cannot be of further assistance, if i think of something i'll for sure let you know. Sorry.

I opened a case with premier support and have have some details on what is causing the issue.
I have assigned the permission set LookupRollupSummariesReadOnly to all users in my org, including partner community login users. That license type does not allow the View All permission to custom objects. The permission set is adding View All to dlrs__LookupRollupCalculateJob__c.
The install succeeded in my dev org as there are no community users records, but there are in my partial copy, full, and production. The suggestion from premier support is to remove the permission set from all partner users, then try the upgrade again. Even if that works I don't think that is what I want to do. If they had access to change a value on a record I'd want their change to also trigger the recalculation of the parent.
Looking at the permission set this object is the only one that has View All set to true. Is that required for DLRS to function? I checked the org wide defaults for that object in my dev org at it is Public Read/Write same as Lookup Rollup Summary is, so I'm not sure if the view all is strictly needed. I'd be happy to try out an install in my partial sandbox with the View All permission removed and see if it works.
Thanks again for your support, and for an excellent tool.

You know..... i was pondering the same thing.... As this is a packaged permission set i should be able to remove it and once you upgrade it will be flipped off also. Marking this as a bug. Thanks.

Fixed in v2.4.1.


High disponibility need to suport connectionTimeout, maxRetries, retryDelayTime and throwExceptions

I have a resilience problem. Indeed, when the ElasticSearch service is down, the application blocks. It chains blocking calls. As a result, my application is no longer available. However, I use the asynchronous option and the timeout and retry parameters. Here is my config below. How can I make sure that if the ElasticSearch service goes down, there is no performance impact in the application (High availability and resilience)?
 "targets": {
      "elastic": {
        "type": "ElasticSearch",
        "wrapperType": "AsyncWrapper",
        "uri": " ${configsetting:name=Elasticsearch.ConnectionUrl}",
        "connectionTimeout": "00:00:05",
        "maxRetries": "2",
        "throwExceptions": false,
        "retryDelayTime": "00:00:10",
        "requireAuth": false,
        "index": "${date:format=yyyy-MM-dd}-dotnet-${level}",
        "documentType": "",
        "layout": ...
        }
      }

Logs :
# OriginalException: Elasticsearch.Net.ElasticsearchClientException: The client is unable to verify that the server is Elasticsearch due to an unsuccessful product check call. Some functionality may not be compatible if the server is running an unsupported product. Call: Status code unknown from: GET /
 ---> Elasticsearch.Net.PipelineException: The client is unable to verify that the server is Elasticsearch due to an unsuccessful product check call. Some functionality may not be compatible if the server is running an unsupported product.
 ---> System.Net.Http.HttpRequestException: Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu. (<IP_ADDRESS>:9200)

I guess the best solution is writing to a JSON-file using NLog EcsLayout (Or a own NLog JsonLayout that output in Elastic Common Schema), and then have Elastic-FileBeat upload to Elastic.


Added support for shift+tab to decrease indents.

@mxstbr Is there anything I can update or issues I can fix or would you like to discuss alternative approaches to help resolve this?

Ok, sounds good. I'll update the docs and let you know when it's ready.

ETA when this will merge?

Whenever @cbeninati adds stuff to the docs!

@mxstbr Apologies for the delay. I diverted from the DraftJS project I was using this for.
The README has been updated to reflect the new onTab functionality. Not much to it. :)

@mxstbr Let me know if anything's missing from the documentation. There wasn't much to do.

It doesn't seem to detect tab size based on the rest of the code?

Note how pressing "Backspace" does the right thing (removes the indentation) but pressing shift+tab doesn't do anything.

@cbeninati Any chance you can fix the problem described by @mxstbr ? I'd really appreciate this getting merged. Thanks for all your work.

Will this be merged soon? Would love to have Shift Tab functionality


TypeError: Cannot read property 'startRecordingFilesWithChangedResolutions' of undefined

From 3.1.3:
Error processing request. Cannot read property 'startRecordingFilesWithChangedResolutions' of undefined
TypeError: Cannot read property 'startRecordingFilesWithChangedResolutions' of undefined
    at InferredProject.Project.updateGraph (tsserver.js:118761:38)
    at updateProjectIfDirty (tsserver.js:119449:45)
    at updateGraph (tsserver.js:119734:34)
    at Array.forEach (<anonymous>)
    at ProjectService.ensureProjectStructuresUptoDate (tsserver.js:119738:39)
    at ProjectService.doEnsureDefaultProjectForFile (tsserver.js:119722:22)
    at ProjectService.ensureDefaultProjectForFile (tsserver.js:119719:75)
    at IOSession.Session.getFileAndProjectWorker (tsserver.js:122451:87)
    at IOSession.Session.getFileAndProject (tsserver.js:122436:29)
    at IOSession.Session.getCompletions (tsserver.js:122605:31)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:121665:61)
    at tsserver.js:123086:88
    at IOSession.Session.executeWithRequestId (tsserver.js:123077:28)
    at IOSession.Session.executeCommand (tsserver.js:123086:33)
    at IOSession.Session.onMessage (tsserver.js:123106:35)
    at Interface.<anonymous> (tsserver.js:124369:27)
    at emitOne (events.js:116:13)
    at Interface.emit (events.js:211:7)
    at Interface._onLine (readline.js:282:10)
    at Interface._normalWrite (readline.js:424:12)
    at Socket.ondata (readline.js:141:10)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:594:20)

Command was completionInfo.

I'll look but, for future reference, it's much easier to search for asserts that have message strings.

Even though there were not stacks for remove project I realized that 94df5167b0ecec912a5d63af2ec3b2f4c5b032f1 fixed lot of issues with incorrect script info still being attached to the project and then not being removed correctly. I think that should suffice. but as @amcasey suggests will add more info to assert for future.

Closing this to be re-opened if there is more info

24 hour hit counts from VS Code:

TSVersion
Command
Count

3.3.3333
completionInfo
39

3.3.3333
definitionAndBoundSpan
46

3.3.3333
documentHighlights
157

3.3.3333
getApplicableRefactors
555

3.3.3333
jsxClosingTag
9

3.3.3333
quickinfo
305

3.3.3333
signatureHelp
12

3.3.3
completionInfo
35

3.3.3
definitionAndBoundSpan
68

3.3.3
documentHighlights
70

3.3.3
getApplicableRefactors
274

3.3.3
quickinfo
181

3.3.1
completionInfo
9663

3.3.1
definitionAndBoundSpan
2308

3.3.1
documentHighlights
7171

3.3.1
getApplicableRefactors
39214

3.3.1
getCodeFixes
93

3.3.1
jsxClosingTag
533

3.3.1
organizeImports
1

3.3.1
projectInfo
4

3.3.1
quickinfo
14391

3.3.1
signatureHelp
1320

3.3.0-dev
completionInfo
91

3.3.0-dev
definitionAndBoundSpan
7

3.3.0-dev
documentHighlights
43

3.3.0-dev
getApplicableRefactors
381

3.3.0-dev
quickinfo
211

3.3.0-dev
signatureHelp
23

@sheetalkamat is there telemetry for server asserts?  I couldn't find any messages containing "Found script Info still attached to project" (from 62419bb1039054997df40ced00c0c332b18bf62c).

This exception can be thrown only when https://github.com/microsoft/TypeScript/pull/32490/files#diff-efa731ca7c6279501f903db87403d2beL1090 is being thrown and which generally means there are more scriptinfos than we already removed. In most cases it means there was some exception before this which resulted in the invalid state of the projects and script infos and that's the exception we really care. So this should be closed with no action needed.
Although while investigating this found out that we were emitting JSON stringify of scriptinfos which has circular structure so PR available to fix that as  #32490


Error: argument $list of nth($list, $n) must not be empty

Hi to all,
running into an issue i can't solve.
Doing an Import with
@import "foundation";
results with this Error Message
Error: bower_components/foundation-sites/scss/util/_breakpoint.scss Error: argument $listofnth($list, $n)` must not be empty
on line 23 of bower_components/foundation-sites/scss/util/_breakpoint.scss

@if nth(map-values($breakpoints),1) != 0 {
----^`

I'm using a simple Gulp Workflow using "node-sass 3.7.0" and "libsass 3.3.6" on Ubuntu 15.

@magic-77 Do you have a $breakpoint map in your _settings.scss file?
You should have something like this:
$breakpoints: (
  small: 0,
  medium: 640px,
  large: 1024px,
  xlarge: 1200px,
  xxlarge: 1440px,
);

That error is basically saying your smallest breakpoint doesn't start at 0, but you have to include a breakpoint with a value of 0 for everything to work correctly.
If you can let me know and I can help further if needed.

yes there is such a map. I just copied the Original _settings.scss into my Project Folder and included it.

// 2. Breakpoints

// --------------
$breakpoints: (
   small: 0,
   medium: 640px,
   large: 1024px,
   xlarge: 1200px,
   xxlarge: 1440px,
);
$breakpoint-classes: (small medium large);

I'm using a custom Gulp Workflow like this

  var includeSassPaths = [

	  'bower_components/foundation-sites/scss',
	  'bower_components/normalize-css',
	  'bower_components/jQuery.mmenu/src'
	];

gulp.task('sass:dev', function() {
return gulp.src( source_dir+'/scss/'+pkg.name+'.scss' )
.pipe($.sourcemaps.init())
.pipe($.sass({
includePaths: includeSassPaths,
precision: 10,
sourcemap: true,
outputStyle: 'nested'
}))
// Catch any SCSS errors and send Notification to OS
.on('error', $.notify.onError({
message: 'Error: <%= error.message %>',
title: 'SCSS Error'
}))
.pipe($.autoprefixer({
cascade: false
}))
.pipe($.sourcemaps.write('.', {
sourceMappingURLPrefix: '/files'
}))
.pipe(gulp.dest( build_dir + '/' ));
});

ok, got it.
I've mixed Foundation and Susy 2 Framework. So including Foundation Mixins before Susy will work for me now.

Great glad you got everything working :smile:


Fill(Linear) returns invalid JSON despite Influxdb responded with HTTP code 200 (OK)

Bug report
System info:
Influxdb version: 1.2
Operating system: Ubuntu 16.04.2 LTS
Steps to reproduce:

Insert 2 groups of point data into the database.

Group 1: sampling interval = 15mins. That is, the point data are in timestamp order of 00:00, 00:15, 00:30 and so on...

Set2: sampling interval = 30mins. Timestamp will be like 00:00 00:30, 01:00, 01:30 and so on...

Sample data set:
bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999945.898<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999957.398<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999945.898<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999970.898<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999985.102<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=99999999907.801<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=99999999926.301<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123455.6<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123455.8<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123456.0<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123456.5<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123456.9<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123457.2<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123457.5<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123457.9<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123458.5<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123458.6<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123459.0<PHONE_NUMBER>000000000
bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123459.1<PHONE_NUMBER>000000000

Note: You can use the NodeJS influxdb driver to insert the data above.
Dataset screenshot

Do a SELECT query with GROUP BY TIME and FILL(LINEAR) option.

InfluxDB admin result

If a curl command is used on postman you get
Unexpected 'j'
Postman-screenshot
Expected behavior:
I am expecting influxDB to return;

a valid JSON
a data set containing the linear interpolated result

Actual behavior:
InfluxDB responded with HTTP code 200 (OK) but produced an invalid JSON.
When the influxDB.Kapacitor and also its admin UI tried to parse the result,
The following error was observed.
Invalid JSON: Unexpected 'j'_
Additional info:
Works fine if you limit the scope of SELECT to just 1 series but fails when the 2 groups are selected together.
Also if I extend the SELECT window to 30 mins e.g. time >= '2017-01-01T00:00:00Z' AND time <= '2017-01-01T00:30:00Z'
Like:
SELECT mean(value) FROM bug WHERE (ref = 'stoh.DON_KEY_002_ele' OR ref = 'stoh.DON_KEY_003_ele') AND time >= '2017-01-01T00:00:00Z' AND time <= '2017-01-01T00:30:00Z' GROUP BY time(5m, 0s), ref fill(linear)
Works fine also.
I am happy to provide someone with quick and dirty 10 lines NodeJS application code for someone to load the above test data to try the bug. Just let me know.

Can you give the output from the same command without trying to parse the output? It appears like there was an error with marshaling that is getting ignored. The j is likely from a message that says, json: <some reror message>.

@jsternberg Thanks for getting back.
This is the raw response from influxDB.
json: error calling MarshalJSON for type httpd.Response: json: error calling MarshalJSON for type *influxql.Result: json: unsupported value: -Inf
Let me know if the error message make sense. I'm happy to assist further in any way.

json: unsupported value: -Inf

This sounds like a bug in the implementation for fill(linear). We shouldn't allow ±∞ as an output value in that code path.

@jsternberg @mark-rushakoff
thanks for getting back to us.
I can see that this issue has now been officially marked as an influxDB bug.
Unfortunately for us this is a show stopper. :sob: I hope you don't mind me asking this but Is there a typical time frame which we will expect this to be fixed?
I understand this is an open source project and I shouldn't be asking this sort of question. Just curious, if it is too difficult question then its fine.
Meantime I'll try setup an influx dev environment on my spare time to see if I can produce something for a quick win.

@SamuelToh I added this to the storage and query team backlog. We will groom it this week or next and determine a timeframe for a fix.
Thanks for bringing it to our attention.

@rbetts Awesome news! Thanks a lot for this.

@SamuelToh Can you verify that you're still experiencing this issue on 1.3 of InfluxDB? I have been unable to reproduce the issue locally
Here are the steps I followed
Create database and insert data
> create database mydb
> use mydb
Using database mydb
> insert bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999945.898<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999957.398<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999945.898<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999970.898<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=999999985.102<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=99999999907.801<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_002_ele,id=stoh.DON_KEY_002_ele.cupcake value=99999999926.301<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123455.6<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123455.8<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123456.0<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123456.5<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123456.9<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123457.2<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123457.5<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123457.9<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123458.5<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123458.6<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123459.0<PHONE_NUMBER>000000000
> insert bug,ref=stoh.DON_KEY_003_ele,id=stoh.DON_KEY_003_ele.cupcake value=123459.1<PHONE_NUMBER>000000000

Issue curl command with the appropriate query
And pipe the results to jq
curl http://localhost:8086/query?db=mydb --data-urlencode "q=SELECT mean(value) FROM bug WHERE (ref = 'stoh.DON_KEY_002_ele' OR ref = 'stoh.DON_KEY_003_ele') AND time >= '2017-01-01T00:00:00Z' AND time <= '2017-01-01T00:15:00Z' GROUP BY time(5m, 0s), ref fill(linear) | jq"

Which yields
{
  "results": [
    {
      "statement_id": 0,
      "series": [
        {
          "name": "bug",
          "tags": {
            "ref": "stoh.DON_KEY_002_ele"
          },
          "columns": [
            "time",
            "mean"
          ],
          "values": [
            [
              "2017-01-01T00:00:00Z",
              999999970.898
            ],
            [
              "2017-01-01T00:05:00Z",
              null
            ],
            [
              "2017-01-01T00:10:00Z",
              null
            ],
            [
              "2017-01-01T00:15:00Z",
              null
            ]
          ]
        },
        {
          "name": "bug",
          "tags": {
            "ref": "stoh.DON_KEY_003_ele"
          },
          "columns": [
            "time",
            "mean"
          ],
          "values": [
            [
              "2017-01-01T00:00:00Z",
              123456.9
            ],
            [
              "2017-01-01T00:05:00Z",
              123457
            ],
            [
              "2017-01-01T00:10:00Z",
<PHONE_NUMBER>9999999
            ],
            [
              "2017-01-01T00:15:00Z",
              123457.2
            ]
          ]
        }
      ]
    }
  ]
}

@desa Sorry for getting back to you late.
Seems like this is no longer an issue in the latest 1.3.x release. Hooray!
I'll close this.


Added Service Center in SmsMessage

Added Service Center in SmsColumn to receive ServiceCenter for both incoming SMS as well as getInboxSms calls

This is for the issue https://github.com/shounakmulay/Telephony/issues/137

@faizann Closing in favor of #144


update to version 5.0.3 R.color and R.font  get Type 'R' has no member 'font',Type 'R' has no member 'color'

the R.generated.swift did not have the R.font struct and  R.color struct so when i in my project user R.font or R.color will get a error

Did you update from a previous version of R.swift?
If so, what version and was that the only change you made?

Did you update from a previous version of R.swift?
If so, what version and was that the only change you made?

i user Cocoapods update R.swift form 4.0.0 to 5.0.3, then my project get error "Type 'R' has no member 'font',Type 'R' has no member 'color' "

Did you perform the upgrade instruction? The way R.swift must be invoked changed between version 4 and 5. Please verify with the instructions in the Readme: https://github.com/mac-cain13/R.swift#cocoapods-recommended

Closing due to inactivity.
Please do comment if you have updates.


[WASM] ListView - implement lightweight layout rebuild

GitHub Issue (If applicable): #234

PR Type
What kind of change does this PR introduce?

Bugfix

The ListView in WASM now performs a lightweight rebuild whenever Measure() is called. This replaces the previous approach of completely recycling items, which caused problems. (Eg, when pressing an element in the list, it would be reycled and rebound to a different item, causing the newly-bound item to be incorrectly sent to ItemClick.)
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Docs have been added/updated which fit documentation template. (for bug fixes / features)
[x] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[ ] Wasm UI Tests are not showing unexpected any differences
[x] Contains NO breaking changes
[x] Updated the Release Notes
[x] Associated with an issue (GitHub or internal)

Other information

Internal Issue (If applicable):

https://nventive.visualstudio.com/Umbrella/_workitems/edit/154815

I would'nt use the "scrap" term... but since I'm not english-native, I trust you it's the right term ;-).

It's what Android uses for RecyclerView:
https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Recycler#getscraplist
I reused the term to underline the similarities between what VirtualizingPanelLayout.android and VirtualizingPanelLayout.wasm are doing.


ImagePreProcessingScaler cannot be added to ModelSerializer by default

ModelSerializer.addNormalizerToModel(f,ile new ImagePreprocessingScaler());

results in the following:
java.lang.RuntimeException: java.lang.RuntimeException: No serializer strategy found for normalizer of class class org.nd4j.linalg.dataset.api.preprocessor.ImagePreProcessingScaler. If this is a custom normalizer, you probably forgot to register a corresponding custom serializer strategy with this serializer.

	at org.deeplearning4j.util.ModelSerializer.addNormalizerToModel(ModelSerializer.java:588)

Given how commonly used ImagePreprocessingScaler is, there's no reason why this shouldn't work out of the box...

But all this stuff is in Dl4j repo :)

6 нояб. 2017 г., в 14:32, Alex Black<EMAIL_ADDRESS>написал(а):
ModelSerializer.addNormalizerToModel(f,ile new ImagePreprocessingScaler());
results in the following:
java.lang.RuntimeException: java.lang.RuntimeException: No serializer strategy found for normalizer of class class org.nd4j.linalg.dataset.api.preprocessor.ImagePreProcessingScaler. If this is a custom normalizer, you probably forgot to register a corresponding custom serializer strategy with this serializer.
at org.deeplearning4j.util.ModelSerializer.addNormalizerToModel(ModelSerializer.java:588)
Given how commonly used ImagePreprocessingScaler is, there's no reason why this shouldn't work out of the box...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/deeplearning4j/nd4j/issues/2247, or mute the thread https://github.com/notifications/unsubscribe-auth/ALru_1RGW0jHecPwxpnpehX_yfzetcXqks5szu5ZgaJpZM4QTGqW.

The ModelSerializer is in DL4J, but the normalizer serialization code is in ND4J :)
https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j-nn/src/main/java/org/deeplearning4j/util/ModelSerializer.java#L585
https://github.com/deeplearning4j/nd4j/blob/master/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/preprocessor/serializer/NormalizerSerializer.java#L108-L116

O_o


Note Settings are not propagating

I have most of the note settings toggled on and I am not seeing them on the garden.
Settings. Actual site.

There was recently a change in how the note settings are handled. Previously you would need to re-publish every note when changing a note setting for it to take effect. Now it automatically applies to all without the need to republish.
But in order for it to work you need the latest version of the template.
If you go to Settings > Digital Garden > Site Template > Manage site template > Create PR, you should get a link to a Pull Request where you can merge in the latest changes. Then the settings should work. Let me know if you get it to work or not.

Thanks for responding to this! This works perfectly!


Refactoring 4

https://trello.com/c/y3drORiG/73-refactoring

Not sure why, i'm having these errors in localhost while it doesnt seem to appear on heroku deployment


How can I set the numberformatCategory for Range Cell

How can I set this function like screenshot by JS API.
the numberformatCategory  is read only so I can not set it.

Are you looking for Range.numberFormat maybe?  https://docs.microsoft.com/en-us/javascript/api/excel/excel.range?view=excel-js-preview#excel-excel-range-numberformat-member


set default value and on update option for timestamp column

also use all caps for mysql keywords.

fix #629 and fix #645, @reasonerjt, please review my PR, thanks.

Changes Unknown when pulling be7ed71efe0c6f63b9ed769f1c6a86c28b04b7d2 on ScorpioCPH:dev into ** on vmware:dev**.

@ScorpioCPH sorry please open different PR to track different work...  you can create different branch so there can be multiple open PRs

ok, sorry for mixup PRs, i will close this PR, and reopen different PRs.


Remove marker by id

Markers plugin has a method called remove(idx) which removes one marker at index idx in the markers array in wavesurfer's markers object.
To remove a marker, we have to find the index of marker to remove by matching time, or label. This, I think can be improved because two markers can have same time and/or label.
Changes here introduce an id to each marker and a function removeById(id) which will find the index of marker with that id and call remove(idx)
related: see #2748

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1229

Relevant Lines:
1502

💛  - Coveralls

My first contribution here, and my very first open source contribution!!!!
Thank you for being so supportive!

That's really cool!


[prometheus-node-exporter] - Bump app version to 0.17.0

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped

/ok-to-test
/lgtm


[Question] How to adjust the window center and window level for my own dataset?

:question: Question
Hello, I am new for nnDetection and Medical Images.
I found the CTs have different window center and window level. How to adjust the window center and window level for a specific disease?

Dear @tohsakask ,
nnDetection does not rely on window center and window levels. Windowing is great to visualise scans for humans but it does not create "new information" for a machine, so it is somewhat open if it is really needed when training a neural network.
Nevertheless, you can still apply a windowing to the CT scans manually before feeding them into nnDetection. The intensity normalisation (on top of those scans) is than performed according to the modalities stated in the dataset.json. Please refer to the nnU-Net Paper to find out more information about the normalisation schemes of CT and other modalities.
Best,
Michael

❓ Question
Hello, I am new for nnDetection and Medical Images. I found the CTs have different window center and window level. How to adjust the window center and window level for a specific disease?

Dear @tohsakask ,
nnDetection does not rely on window center and window levels. Windowing is great to visualise scans for humans but it does not create "new information" for a machine, so it is somewhat open if it is really needed when training a neural network. Nevertheless, you can still apply a windowing to the CT scans manually before feeding them into nnDetection. The intensity normalisation (on top of those scans) is than performed according to the modalities stated in the dataset.json. Please refer to the nnU-Net Paper to find out more information about the normalisation schemes of CT and other modalities.
Best, Michael

Thank you very much for your help!

I'll close this for now but if anything else comes up please feel free to open a new Issue.


sql task fails on bookstore-packaged fixture

The reset_tests.sh script fails (but continues) on the sql task of the bookstore-packaged fixture directory:
Fatal error: Call to a member function addTable() on a non-object in ~/projects/git/Propel2/src/Propel/Generator/Task/PropelSQLTask.php on line 255

Turns out one of the schemas has a different database and the PropelSQLTask::packageDataModels() method fails on this case.
Turns out the same build works flawlessly in Propel 1.6...

Yes, got the same error :x

Forgot to say, I'm trying to fix that issue.

There is a weird solution, in log.schema.xml, switch from:
<database package="util.log" name="bookstore-log" defaultIdMethod="native" namespace="Propel\Tests\BookstorePackaged">

to:
<database package="util.log" name="bookstore" defaultIdMethod="native" namespace="Propel\Tests\BookstorePackaged">

I know, it's probably not a good solution..


Feat: Add test files for Instagram module

Describe the feature

Test all the methods of the instagram module and add a test file.
Will add test file in directory src/test.
Will Check the users.py file as a reference to get an idea about structuring the code.
Will use unittest only.

Add ScreenShots

Similar to above files
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

We are not continuing with Instagram module, hence you can skip this.


Get the whole row with maximum field value in table

I found small explanation in docs here https://moor.simonbinder.eu/docs/getting-started/expressions/#comparing
But cannot figure out how to use it, e.g.
When I tried to do something like this:
  Future<int> getLastMessageId(String conversationId, int topicId) {
    return (select(messages)..where((tbl) => tbl.messageId.max()))
        .map((e) => e.messageId)
        .getSingle();
  }

I get compilation error for expression tbl.messageId.max():
error: The return type 'Expression<int>' isn't a 'Expression<bool>', as required by the closure's context. (return_of_invalid_type_from_closure)
BTW I succeeded by creating only one column, but if I want to return whole row, how I would do that?
 Future<int> getLastMessageId(String conversationId, int topicId) {
    final lastMessageIdExpr = messages.messageId.max();
    return (selectOnly(messages)..addColumns([lastMessageIdExpr]))
        .map((row) => row.read(lastMessageIdExpr))
        .getSingle();
  }

In this case, I'd just use ORDER BY and a LIMIT:
final row = await (db.select(messages)
      ..orderBy([(row) => OrderingTerm.desc(row.messageId)])
      ..limit(1))
    .getSingle();

Your approach would only work with a subquery (SELECT * FROM messages WHERE id = (SELECT MAX(message_id) FROM messages)), but moor's Dart api doesn't support them yet.
Also, feel free to ask questions like this in the discussions next time, those are more convenient for me. Thanks!

In this case, I'd just use ORDER BY and a LIMIT:
final row = await (db.select(messages)
      ..orderBy([(row) => OrderingTerm.desc(row.messageId)])
      ..limit(1))
    .getSingle();

Your approach would only work with a subquery (SELECT * FROM messages WHERE id = (SELECT MAX(message_id) FROM messages)), but moor's Dart api doesn't support them yet.
Also, feel free to ask questions like this in the discussions next time, those are more convenient for me. Thanks!


libs/libc/string: add memmem

This function is the GNU extension.
Summary
Impact
Testing
Tested on custom SAME70N21 based board.

@Cynerd let's squash these patch into one.

Please fix build error
string/lib_memmem.c: In function 'memmem':
Error: string/lib_memmem.c:65:24: error: return discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
   65 |               return h + i;


FEAT: Auth + Billing + App Router

Features

Supabase for Database, Auth, Storage, and Realtime

Database - Replaces Upstash KV to store image data.
Auth - Handle user accounts and link to stripe alongside database.
Storage - Replaces Cloudflare R2 to store original images.
Realtime - Replaces polling to get output by listening to postgres changes.
More - RLS, Database Functions, etc

Stripe for Billing

Stripe Checkout to buy credits for image generation.
Stripe Customer Portal to manage billing and view invoices.
Stripe Webhooks to automatically sync product offerings with database.

Next.js App Router

Server Actions - Image uploads & creating Stripe sessions
Route Handlers - Supabase Auth, Vercel Cron Jobs, and Webhooks for Replicate, Stripe, and Supabase
Metadata - File-based & Config-based
Dynamic Routes - SSR 🚀
Vercel Cron Jobs - Remove all data and images older than 1 day

Setup / Migration Guide
Pre-requisites

Vercel Account & CLI
Supabase Account & CLI
Stripe Account & CLI

Steps

Use the Deploy with Vercel button above. This will:

Create a new git repository for the project.
Set up the necessary Supabase environment variables and run the SQL migrations to set up the Database schema on a new project.
Set up some environment variables.

There are two more things we need to manually set up on Supabase

We need to create a Database Webhook

This will trigger the creation of a customer on stripe when a user creates an account.
Call the webhook "customer", have it trigger from insert and delete on public.users and send an HTTP POST request to https://[YOUR_DOMAIN_HERE]/api/webhooks/supabase/customer

The final thing we have to do on Supabase is to enable Google OAuth.

You can follow the instructions from the official documentation here.

Now, we can configure Stripe

Edit the webhook url in the stripe fixtures.json file to match your domain.
Run pnpm fixtures. This will generate the default products/prices and also set up the necessary webhooks on your Stripe account.

Lastly, back on Vercel

Add the STRIPE_WEBHOOK_SECRET environment variable. You can find this in your Stripe Webhooks Dashboard under Signing secret for the specific webhook.
Then add TUNNEL_URL env variable and make it an empty string. You will edit this in your .env.local when developing locally as needed.
If you haven't already added your REPLICATE_API_TOKEN env variable, you can do that now as well.
Now redeploy your app on Vercel, and you should be good to go.

Check PR.md for up-to-date instructions.


pysat: accept reified cardinality constraints

refactor to directly call the transformations
split out cardinality encoding in a function so that it can also be used for implied constraints
fixes #296

Small update to tests so negative boolvars are also tested.
Looks good to me!

good to merge


Allow waiting on one-of-multiple events

This PR implements wait_for_events that resolves if one or more of the configured events are pending, instead of waiting for just one. The wait_for* functions now also immediately clear the returned events giving an opportunity to wait_for_events to be called without clearing what it watches for. This means it is now possible to call wait_for_events and not lose events that were fired after the previous call resolved.
This PR also corrects some of the cleared events, where the implementation incorrectly only cleared StaStop even in Ap mode.
Closes #207

Well, either this PR doesn't work, or ApStaconnected is not raised by the driver. The TODO: assumes STA doesn't promise success when I try my code in AP mode for sure, though I didn't expect this when the same controller is used in AP examples 🤔


fix: conditions for long non-changing slot in getLatestBlockHeader

When the support of the Dencun fork was released on Goerli, there was a problem with nodes. The primary node was not updated properly, so, in response to this request  eth/v1/beacon/headers/finalized it always returned an incorrect finalized slot that was far behind the actual latest finalized slot. In this case, the app waited for 7 minutes and then switched to the fallback node. The fallback node worked correctly and returned the correct finalized slot, so, the app could process the next epoch using the response from the fallback node. But this correct latest slot returned by the fallback node was stored in the this.latestSlot, and then, on the next worker cycle, when the app tried to use a primary node that was not working correctly, the app again got a slot that was far behind from the latest. The app saw that this "latest" slot was not greater than the slot stored in the this.latestSlot variable, so, the this.latestSlot variable was not updated and kept storing the correct latest slot returned by the fallback node on the previous worker cycle. Because of this fact, this condition below
if (processingState.epoch <= Math.trunc(this.latestSlot.slot / this.config.get('FETCH_INTERVAL_SLOTS')))

became true and the app didn't switch to the fallback node anymore. So, the app got stuck and couldn't process the next epochs.
Now we introduce the assumption that any nodes (primary or fallback) must never return a slot that is less than the slot that the app already processed on the previous worker cycles. If the app sees this case, it assumes that the node that returns such a slot is not working correctly and switches to the fallback node.
Also the condition in this check
if (processingState.epoch < Math.trunc(this.latestSlot.slot / this.config.get('FETCH_INTERVAL_SLOTS')))

is now changed from <= to <. This is because if the currently processing epoch stays equal to the latest finalized epoch for a long time (more than 7 minutes), the app should consider this situation incorrect and switch to the fallback node.


localtunnel not working

I'm running localtunnel locally and seems like there's some issue, couldn't find an update on this online.
To replicate, simply run lt --port 8080 - it hangs without returning a response.

Same. his website appears to be down as well. So I would guess localtunnel is down.

localtunnel is down

Its down quite often recently unfortunately haha. He should make this a paid thing and guarantee uptime

i wouldn't mind paying for localtunnel, but they'd need to get a WAF for their domains.  ngrok had no WAF and thus exposed it's users to ongoing attacks unless you were explicitly watching the requests.  it's the reason i switched to localtunnel.

looks to be backup up now.  Total Downtime: 05:14:55

Confirming that localtunnel is now working, I'll close this issue for now.


Load other .bot files

Is it possible to load other .bot files containing a workflow for example. I would like to create one mail file for my bot which will use workflows defined across different files which should be loaded at the beginning of the file.
For example :
! BOTML 1
[load file containing main-workflow]

# Bot

> Hi
~ main-workflow

That's an interesting idea indeed.
Currently, you can't like this ; but you can require multiple .bot files via the command line like this:
node lib/cli.js examples/hello.bot examples/expressions.bot

The equivalent exists in JS (see the source:
bot.load(['./examples/hello.bot', './examples/expressions.bot'])

I feel that solutions have been provided; closing this issue now; please let me know if anything missing?


Add signoff to automated CRD sync commit

Signed-off-by: Abhishek Mishra<EMAIL_ADDRESS>

/approve


[flutter_localizations] Add compatibility with intl 0.18.0

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Try to follow the tutorial here: https://docs.flutter.dev/development/accessibility-and-localization/internationalization
And install flutter_localizations
Expected results
flutter_localizations is installed without any issues
Actual results
getting:
Because every version of flutter_localizations from sdk depends on intl 0.17.0 and myapp depends on intl ^0.18.0, flutter_localizations from sdk is forbidden.
So, because myapp depends on flutter_localizations from sdk, version solving failed.
pub finished with exit code 65

Code sample
Code sample
flutter pub add flutter_localizations --sdk=flutter

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.7.10, on Microsoft Windows [Version 10.0.19045.2846], locale el-GR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.5.0)
[√] Android Studio (version 2021.1)
[√] VS Code, 64-bit edition (version 1.77.3)
[√] Connected device (3 available)
[√] HTTP Host Availability

i had a similar problem with awesome_notifications using an older intl and solved it like this: https://github.com/rafaelsetragni/awesome_notifications/pull/727


ReproducibleJATS:

We are adding support for reproducible elements to JATS and Texture. Here's a first proposal on how we could model and display reproducible figures. The tagging guideline below was developed in June during a workshop at eLife.
<fig id="f1" fig-type="reproducible-chart">
  Figure 1

    <title>Biodiversity on Mars</title>

Lorem ipsum

  <alternatives>

      scatter3d(co_occurence_matrix)

    <graphic specific-use="output" xlink:href="89f8b53e361f.png"/>
  </alternatives>
</fig>

In the user interface (if reproducible content is enabled) a new reproducible figure can be created via Insert -> Reproducible Figure. Next, the user can enter an expression that produces an output (e.g. an interactive graphic). It is important that a static image is created as well, this we can then encode as a graphic and use in static versions (e.g. HTML or PDF) of the manuscript.

I don't think we have any requirement for Figures to support more than caption + static graphic, so this should be a superset of our needs. @jalperin ?

This a spec for reproducible figures, they will be handled in a separate/independent implementation. I'll open a new issue for regular (static) fig elements soon. Please start off with checking the following issues meanwhile:
https://github.com/substance/texture/issues/238 element-citation - we need a full spec for all pub types that should be supported, currently we only covered book and journal and those are also not final
https://github.com/substance/texture/issues/240 aff - please verify the latest proposal if good enough for you needs
https://github.com/substance/texture/issues/239 contrib and name - please check and add comments

Repro-figs are spec'ed and implemented. Closing.
@axfelix will check your posted example but respond separately.


DEC-629: Migrate copyright

-Created migration to add copyright text column to Collections and copy existing data from the exhibits.copyright into collections.copyright
-Changed all references to exhibits.copyright to collections.copyright

Make PR against DEC-376-Merge-collection-and-exhibit-models


feat: add CCIformation72

Add Ekod school with<EMAIL_ADDRESS>email.
School webpage : https://www.ekod.school/
https://cfa.lemans.sarthe.cci.fr/
Whois data on cciformation72.fr : https://www.whois.com/whois/cciformation72.fr
My school Ekod uses email with @cciformation72.fr.
The same postal address is written on the official website (https://www.ekod.school/mentions-legales/) and on the Whois data.

@ParmeSimon Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


docs: add why do you need apache apisix when using amazon lambda

Changes:
Add blog <why do you need apache apisix when using amazon lambda?>
Preview Link: https://deploy-preview-1510--apache-apisix.netlify.app/zh/blog/2022/11/04/why-do-you-need-apache-apisix-when-using-amazon-lambda/

It'd be nice to see batch reviews other pull requests as well, since they've been hanging there for days @juzhiyuan @bzp @SkyeYoung .


Not close WebSocket if it is already closed

If you call close twice the second time the Promises are not called.
That is because WebSocket doesn't emit the onclose event in that case.

Is because we've integrated your library with a test runner. Sometimes some
applications has hooks and restart the browser session with every test
scenario and every test file what makes that sometimes the close method are
call twice.
El mar., 11 sept. 2018 14:25, Andrea Cardaci<EMAIL_ADDRESS>escribió:

Thanks!
Just curious, is this for correctness or your application relies on it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cyrus-and/chrome-remote-interface/pull/355#issuecomment-420255529,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJrFvLkLlHaqrpUozDDG2ONnw5iuCTD-ks5uZ6vRgaJpZM4WjEZb
.

--
"Este mensaje está
dirigido de manera exclusiva a su destinatario y puede
contener información
privada y confidencial. No lo reenvíe, copie o
distribuya a terceros que no
deban conocer su contenido. En caso de haberlo
recibido por error,  rogamos
lo notifique al remitente y proceda a su
borrado, así como al de cualquier
documento que pudiera adjuntarse.
Por
favor tenga en cuenta que
los correos enviados vía Internet no permiten
garantizar la confidencialidad de
los mensajes ni su transmisión de forma
íntegra.
Las opiniones expresadas en el
presente correo pertenecen
únicamente al remitente y no representan
necesariamente la opinión del
Grupo BBVA."
"This
message is intended exclusively for the adressee and
may contain privileged and
confidential information. Please, do not
disseminate, copy or distribute it to
third parties who should not receive
it. In case you have received it by
mistake, please inform the sender and
delete the message and attachments from
your system.
Please
keep in
mind that e-mails sent by Internet do not allow to guarantee neither
the
confidentiality or the integrity of the messages sent."

I see, thanks for the explanation.
I'm going to merge this PR as soon as you address that minor change.

Thanks!


Error starting Lets-Chat

<EMAIL_ADDRESS>start /home/security/lets-chat
node app.js

Enter PEM pass phrase:
/home/security/lets-chat/node_modules/connect-mongo/node_modules/mongodb/lib/mongo_client.js:225
throw err
^
MongoError: failed to connect to server [localhost:27017] on first connect
at null. (/home/security/lets-chat/node_modules/connect-mongo/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:313:35)
at EventEmitter.emit (events.js:95:17)
at null. (/home/security/lets-chat/node_modules/connect-mongo/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:271:12)
at g (events.js:180:16)
at EventEmitter.emit (events.js:98:17)
at Socket. (/home/security/lets-chat/node_modules/connect-mongo/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:175:10)
at Socket.g (events.js:180:16)
at Socket.EventEmitter.emit (events.js:92:17)
at Socket._onTimeout (net.js:327:8)
at Timer.unrefTimeout [as ontimeout] (timers.js:412:13)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
I made sure MongoDB is running.
mclc:~/lets-chat$ service mongodb status
mongodb start/running, process 13169
Any thoughts?

What happens if you type in mongo?

I can log in mongo shell while type mongo, but still got the same error when typing npm start.
/Users/yuyang/Documents/djan/lets-chat/node_modules/mongodb/lib/mongo_client.js:225
throw err
^
MongoError: failed to connect to server [localhost:27017] on first connect
at null. (/Users/yuyang/Documents/djan/lets-chat/node_modules/mongodb-core/lib/topologies/server.js:313:35)
at emitOne (events.js:77:13)
at emit (events.js:169:7)
at null. (/Users/yuyang/Documents/djan/lets-chat/node_modules/mongodb-core/lib/connection/pool.js:271:12)
at g (events.js:260:16)
at emitTwo (events.js:87:13)
at emit (events.js:172:7)
at Socket. (/Users/yuyang/Documents/djan/lets-chat/node_modules/mongodb-core/lib/connection/connection.js:165:49)
at Socket.g (events.js:260:16)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at emitErrorNT (net.js:1253:8)
at doNTCallback2 (node.js:452:9)
at process._tickCallback (node.js:366:17)
npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v5.1.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node app.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lets-chat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node app.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls lets-chat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/yuyang/Documents/djan/lets-chat/npm-debug.log

I am new to lets-chat and mongdb, any help would be appreciated, thanks in advance!

Here is what happens when I type in mongo.
$ mongo
MongoDB shell version: 3.2.10
connecting to: test
Server has startup warnings:
2016-11-11T10:28:06.099-0500 I CONTROL  [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
2016-11-11T10:28:06.099-0500 I CONTROL  [initandlisten]
2016-11-11T10:28:06.110-0500 I CONTROL  [initandlisten]
2016-11-11T10:28:06.111-0500 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2016-11-11T10:28:06.111-0500 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2016-11-11T10:28:06.112-0500 I CONTROL  [initandlisten]

Here is the debug log for lets-chat.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for prestart, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/security/lets-chat/node_modules/.bin:/home/security/bin:/home/security/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/security/lets-chat
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'node app.js' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
14 verbose stack Error<EMAIL_ADDRESS>start: node app.js
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:885:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd /home/security/lets-chat
17 error Linux 4.8.0-27-generic
18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
19 error node v7.1.0
20 error npm  v3.10.9
21 error code ELIFECYCLE
22 error<EMAIL_ADDRESS>start: node app.js
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>start script 'node app.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the lets-chat package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     node app.js
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs lets-chat
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls lets-chat
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

@jringo12 does localhost resolve to <IP_ADDRESS>? Try changing your mongo connection string in settings.yml to mongodb://<IP_ADDRESS>/letschat

Yes localhost is resolving to <IP_ADDRESS>.
I have changed the mongo connection string and that still did not work.

<EMAIL_ADDRESS>start /home/security/lets-chat
node app.js

/home/security/lets-chat/node_modules/mongodb/lib/mongo_client.js:225
throw err
^
MongoError: failed to connect to server [<IP_ADDRESS>:27017] on first connect
at Pool. (/home/security/lets-chat/node_modules/mongodb-core/lib/topologies/server.js:313:35)
at emitOne (events.js:96:13)
at Pool.emit (events.js:188:7)
at Connection. (/home/security/lets-chat/node_modules/mongodb-core/lib/connection/pool.js:271:12)
at Connection.g (events.js:292:16)
at emitTwo (events.js:106:13)
at Connection.emit (events.js:191:7)
at Socket. (/home/security/lets-chat/node_modules/mongodb-core/lib/connection/connection.js:175:10)
at Socket.g (events.js:292:16)
at emitNone (events.js:86:13)
at Socket.emit (events.js:185:7)
at Socket._onTimeout (net.js:342:8)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)
npm ERR! Linux 4.8.0-27-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v7.1.0
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node app.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lets-chat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node app.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs lets-chat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls lets-chat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/security/lets-chat/npm-debug.log

mongo --verbose

$ mongo --verbose
MongoDB shell version: 3.2.10
connecting to: test
2016-11-18T10:44:22.253-0500 D NETWORK  [thread1] creating new connection to:<IP_ADDRESS>:27017
2016-11-18T10:44:22.264-0500 D COMMAND  [ConnectBG] BackgroundJob starting: ConnectBG
2016-11-18T10:44:22.265-0500 D NETWORK  [thread1] connected to server <IP_ADDRESS>:27017 (<IP_ADDRESS>)
2016-11-18T10:44:22.278-0500 D NETWORK  [thread1] connected connection!
Server has startup warnings:
2016-11-17T08:53:11.457-0500 I CONTROL  [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
2016-11-17T08:53:11.458-0500 I CONTROL  [initandlisten]
2016-11-17T08:53:11.459-0500 I CONTROL  [initandlisten]
2016-11-17T08:53:11.459-0500 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2016-11-17T08:53:11.459-0500 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2016-11-17T08:53:11.459-0500 I CONTROL  [initandlisten]

@jringo12 dang, that looks just fine. I have no idea what's wrong!
Was hoping your issue was like @youyou0988s (localhost wouldn't resolve)
Did you install mongo via package manager?

yeah everything was installed through apt-get


Rough draft of GUI

GUI Draft
As a developer, I would like to have a general idea what we are working towards when creating the user interface.
Acceptance Criteria

Sketch, non-functional GUI is created to demo GUI and how it should look and function.

The left side of the screen has a list for the user to pick what item they want to look at, and once selected, all of the useful information stored about the item will be presented. The plus and minus buttons are for adding and deleting items and the edit button if for editing item information. I think that something like this will be easiest for users to use.
The color scheme and other smaller details I think can be changed based on what everyone thinks looks good.