fix: fix claim-mismatch on v.1x

BTW, @renan061, I'd suggest changing the commit message to something like
fix: close epochs based on block numbers

And then, give more details in a few additionallines

BTW, @renan061, I'd suggest changing the commit message to something like
fix: close epochs based on block numbers

And then, give more details in a few additional lines

Changed to:
fix!: close epochs based on block numbers

- Fixes the ClaimMismatch bug on v.1x.
- BREAKING CHANGE: replaces the CARTESI_EPOCH_DURATION environment
  variable with CARTESI_EPOCH_LENGTH_IN_BLOCKS.


:ff command update and :removetools now unequips tools before deleting

:ff command now accepts a second, boolean argument that optionally specifies whether the forcefield is visible. (defaults to true)
some random optimizations
:removetools command now unequips the tool that the target player is currently holding (if any) before clearing it along with the backpack's contents; this behavior prevents some scripted tools from causing issues

if youre looking at the some of the stuff and wandering what i was thinking when i wrote them, it's because i dont feel very well working for hours
ok bye (seriously this time)

if youre looking at the some of the stuff and wandering what i was thinking when i wrote them, it's because i dont feel very well working for hours
and i originally had an idea for a :fullgod command that makes the player totally invincible and insta-resurrects them even when forcibly killed (eg. using :kill or setting health to 0) but the adonis implementation of my fullgod script didnt work and motivation has been lost, so...
ok bye (seriously this time)


St. Fiacre's Disease

Eponym for hemorrhoids.

Thank you for the suggestion.  While St. Fiacre may be the patron saint of hemorrhoids, I'm not sure if St. Fiacre is used as an eponym for hemorrhoids.


Update install-classic-cli.md

Substituting most current classic CLI image in MCR. Tag 0.10.17 no longer exists in Docker Hub. Thanks.
CC: @dbradish-microsoft

Docs Build status updates of commit 19d016f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/install-classic-cli.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Update Prototype to latest version of GOV.UK Prototype Kit

As DfE
I need the prototype to match the latest version of the Prototype Kit from GOV.UK
in order to ensure that we are always consistent with GDS guidelines and design patterns

Complete. I'll break out some tasks so we can update the front end for the Live site.


Add @_implicitSelfCapture attribute to disable "self." requirement.

Add a new parameter attribute @_implicitSelfCapture that disables the
requirement to explicitly use self. to refer to a member of self
in an escaping closure.
Part of rdar://76927008.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test macOS


[Task]: Move Playground catalog info loading to read examples from Datastore instead of GCS

What needs to happen?
Currently Playground loads data about examples from GCS buckets. Since the catalog will be moved from GCS storage to Datastore, we need to update endpoints and caching mechanism to load the data from Datastore.
Issue Priority
Priority: 3
Issue Component
Component: beam-playground

.take-issue


clangdev should have a run_export on clang-{{ major_version }}

Comment:
If a package has clangdev as a host dependency (links with clang-{{ major_version }}, and uses the cmake files that are available in clangdev, then they clearly will also depend on clang-{{ major_version }} at runtime.
It should probably be added as a run_export in the recipe for the clangdev output.

Well, clang-{{ major_version}} brings a whole lot more than just the libs needed for linkage; shouldn't it be enough to propagate the run-exports for libclang & libclang-cpp?


Enable Dynamic agent

Related #2397.
Close #2181
Close #2410
Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

no CLOUD_PROVIDER parameter, local executor available
no CLOUD_PROVIDER parameter, local executor unavailable, waiting for available local executor
CLOUD_PROVIDER set as empty, local executor available
CLOUD_PROVIDER set as empty, local executor unavailable, waiting for local executor
CLOUD_PROVIDER set as azure, local executor unavailable, send to dynamic (change the label to unavailable machine name so it can be assign to dynamic, though we don't have the kind of dynamic one)

CLOUD_PROVIDER set as azure, label with specific machine, wait for local executor unavailable,

https://ci.eclipse.org/openj9/view/Test/job/Grinder/1817/

@sophia-guo could you resolve the merge conflict? Thanks


[Bug]: After one of my colleagues joined my team, the API key became my API key. How can I solve this problem

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

RAGFlow workspace code commit ID
peizimo
RAGFlow image version
v0.15.1
Other environment information
No response
Actual behavior
After one of my colleagues joined my team, the API key became my API key. How can I solve this problem
Expected behavior
No response
Steps to reproduce
It only happened between our two accounts, and other colleagues who joined the team did not have this situation

Additional information
No response

I'm not sure what your problem is.
API key binds with tenant(team), which means all the team member can see and use this API key.

I'm clear,  thanks.


mat4py.loadmat.ParseError: Got type 1, expected 5 when trying to load a datetime array

Should mat4py be able to load datetime arrays ? I get the following error when trying to do so:
mat4py.loadmat.ParseError: Got type 1, expected 5

Sorry, only numerical arrays are supported.


Success Boradcase, but INVALID, Unknow Response

"Hey, it is possible the problem comes from QBitNinja for this. Can you try to push with https://www.smartbit.com.au/txs/pushtx ? and tell me if it works?"
Nicholas, you replied to a previous post with the above response.  I did this, after using the transaction builder, The sequence of calls after building the transaction with the transaction builder was to first call tx. Verify, and it did not show any errors, I then called Broadcast and it replied with success, but in the response, it had INVALID and Unknown.
So just prior to the broadcast, I did the tx.ToHex() and posted on smarbit.com.au.  It was successful on smartbit.com.au and sent the coins to the receiving address.
Is this something you can look into or need me to do?  I would like to use QBitNinjaClient(Network.Main) to broadcast the transaction.
Thanks,

@TesoraFinancial sorry for late reply. I am retiring slowly QBitNinja, it is not fully working, and I won't fix it.
I advise you to use https://github.com/dgarage/NBXplorer/ instead with your own full node if you want to track a wallet.
NBXplorer has the advantage to work in pruned mode and does not require a full rescan of the blockchain.
If all you want is to broadcast, you can use your own bitcoin full node and use RPCClient class in NBitcoin to broadcast it.


Features for minions

please make a minion to use with E AND R like ogarUL , with "q" is sooo hard

agario client doesn't support E and R and we don't have our own client

I'll see what I can do about the server sending minions split/eject packets so you can use E&R on separate clients, I'm not very experienced with working with packets or client-sided stuff, but I'll try

@RelTakeover It has been implemented.


Android-Kotlin : 20.02.03 Dependency Injection with Hilt.

Description :scroll:

Give a step-by-step tutorial in Kotlin along with a brief and clear explanation.
Required Documentation or Video or Audio.

Domain of Contribution :bar_chart:

[x] Android Dev (kotlin)

References :

https://medium.com/androiddevelopers/dependency-injection-on-android-with-hilt-67b6031e62d

Please Read it Carefully Before Contributing

The file structure should look like Android_Development_With_Kotlin  -> 20 3rd Party Library -> 02 Dependency Injection -> <file name>.
You have to push your PR to the Android_Development_With_Kotlin branch only.
You can take help to the references but don't simply try to copy it. Just explain in your own word.
Your code should be written only in Kotlin.
This issue is for GWOC'21 contributors only.
You need to push in a single commit. If there exists more than one commit then you need to squash your commits into one commit.
Will assign you on a first come first serve basis.
Please try to complete your assigned task within 7 days. If you need some more time then, please inform mentors and supervisors.
If you have two previously assigned issues on Android-Kotlin pending then please first complete them.

Supervisor @rahulsain

Happy Contributing. Best of Luck.:sparkling_heart:

/assign

/assign for audio


error with Output file Name

Something went wrong.
Read the log file for more (in your home directory).Traceback(most recent call last):
File”/home/rana/Desktop/new ubuntu/ScribusGenerator.py”, line 151, in buttonokHandler
generator.run()
File”/home/rana/Desktop/new ubuntu/ScribusGeneratorBackend.py”, line 165, in run outputFileName= self.createOutPutFileName(index,self._dataObject.getOutputFileName(), varNamesForFileName,row,fillCount)
File”/home/rana/Desktop/new ubuntu/ScribusGeneratorBackend.py”, line 353. in createOutputFileName
result =
self.replaceVariableWithCsvData(carNames, [row], [outputFileName])
file”/home/rana/Desktop/new ubuntu/ScribusGeneratorBackend.py”, line 398, in
replaceVariableWithCsvData line = line.replace(tmp, cell)
Type Error: expected a string or other character buffer object

bug confirmed. will look at it in the near future, thanks for the report, and sorry for the issue.

@waseemazam  should be fixed now, kindly re-download and test.
thanks for the report.

Thanks Alot
I will test and update you.

Thanks
On Thu, Sep 15, 2016 at 3:16 PM, Berteh<EMAIL_ADDRESS>wrote:

Closed #60 https://github.com/berteh/ScribusGenerator/issues/60 via
1fa896a
https://github.com/berteh/ScribusGenerator/commit/1fa896a2e7054b53db9f4061bc43737e85e1182b
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/berteh/ScribusGenerator/issues/60#event-790499414,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABXLAVfTjHi1f2kwElLemj9uKwTjAWPyks5qqRr3gaJpZM4J169t
.

--
Thanks & Regards,

Rana Waseem
44A, Ajmal Garden, Shahtab Garha Road,
Sialkot - Pakistan
Mobile: +92<PHONE_NUMBER>
e-mail<EMAIL_ADDRESS>


Show battery percentage in notification

Thanks for this great app. But would be nice to include the current battery percentage in the notification. I’ve set the app up to notify when the percentage is below 20% but sometimes wait until 10 or 5 until i replace them battery (depends on the device). Would be nice to see this in the notification.
Secondly might be a feature to have the option to increase notification frequency when the percentage nears 0%

Makes sense :D Thanks!


chore: add env var for pinning trace-based test tool version

Changes
Added an env var to make sure the same image version is used for the trace-based test tool. Currently the image version pin in the tracetesting/Dockerfile differs from the image version pin in the docker-compose.yaml.
Updated docs in this PR: https://github.com/open-telemetry/opentelemetry.io/pull/3526
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[x] CHANGELOG.md updated to document new feature additions
[x] Appropriate documentation updates in the docs
[ ] Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

I'm actually writing such a blog post right now. That's how I noticed the demo had an issue, and created this PR. 😄
I'll keep you in the loop on progress. 👌

Hi! Since the docs PR https://github.com/open-telemetry/opentelemetry.io/pull/3526 was merged, should we also merge this PR?


Use sentry-cli for uploading instead of curl or rest client

If we get this https://github.com/getsentry/sentry-cli/pull/34 merged and release version 0.24.0 we can merge this PR which greatly simplifies this gem because all the logic has been moved to sentry-cli.
Also we need a brew tap for sentry-cli

sentry-cli will not be in the brew master repo but updated the error messages accordingly to show the sentry taps.

@mitsuhiko @joshdholtz Any concerns merging this? It's a breaking change but since its harder to maintain 2 libs with all the new features we should go with using sentry-cli only.

Not sure I understand, but does this mean we should stop using the fastlane plugin in favour for the CLI?
We ran into the bug where dSYMs can't be uploaded due to size, which led me to this PR.

The plugin uses the sentry-cli client internally now.

Please update to the latest version of the plugin, it will guide you through the process by installing in with homebrew.

Ok great. Our CI is currently running v0.1.2. Will update the plugin and install your cli on it then.

Guys ... please upgrade to 1.0.2 the bug has been fixed.
The default parameter was pointing to an old sentry endpoint and the returned error wasn't that helpful.
It works now, promised 💯 😅


Using django-mama-cas with django-cas-ng

I can't figure out what I'm missing from the (client?) configuration as I get the following error:
NotImplementedError: mama_cas.services.backends.SettingsBackend.service_allowed() not implemented
A working example example would help a lot. Thank you in advance.

Hi @erasmodanarni, a bit late, but here is an example that was created to show SSO and SLO:
https://github.com/manelclos/django-cas-test


Tutorial screenshots

Description

https://jira.mesosphere.com/browse/DOCS-1399
https://github.com/mesosphere/dcos-docs-enterprise/pull/1083

Urgency

[ ] Blocker
[ ] High
[x] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

@ashenden fixed


Server sends unexpected response containing both errors and data

The server send out both errors and data (screenshot N°2) with the GET_STUDY query leading to error rendering on the UI when attempting to query as a non system-admin user. This suggests that permission checking triggers unwanted error output.

this is the same as #496. Due to the client making requests to some fields that has no permission to.

Ref:
Error policy
https://www.apollographql.com/docs/react/data/error-handling/


Dont attempt to get profiled iterations of a functionbody if it's bytecode hasn't been generated yet.

This change is

@abchatra

:+1:


Update screenshots in user guide with latest UI

What was the problem/requirement? (What/Why)
The user doc contained certain UI images that were older and didn't include newer functionality.
What was the solution? (How)
Relevant screenshots have been updated in the user guide to match the latest UI. Changes have been made to the text to include any new information.
What artifacts are related to this change?
Issues: (internal) P54511997
What is the impact of this change?
Any users referring to the user guide will be provided with the latest information.
Are you adding any new dependencies to the system?
No.
How were these changes tested?
Locally, using the standard procedure to view changes to the user doc.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Nit: images/spawn-with-houdini/AmbitSpawnerForHoudini_UI_Annotated.png doesn't fully match the style of other image annotations. The wrong font is used, font size relative to circle size is off, lines have rounded ends instead of square.

Nit: /images/spawn-vehicle-path/AmbitVehiclePathGenerator_UI.png: Annotations have visual artifacts that the other images don't. Specifically, aliasing of the circles. Also, the numbers in the circles are the wrong weight and aren't all centered well.

Images in individual-scenario-generation.md:

Are red instead of our standard pink/purple
Have square corners instead of rounded

Images in bulk-senario-generation.md:
Images in individual-scenario-generation.md:

Are red instead of our standard pink/purple
Have square corners instead of rounded
Appear to be a different weight than used elsewhere

The file bulk-senario-generation.md has a typo in its name. It should be bulk-scenario-generation.md.


Compose resources do not work on iOS with multi-module structure

Describe the bug
Compose is not merging resources from different modules included as dependencies.
This might be more of a question type of issue, however it works just fine for Android.
There might be a need to manually configure copying of the resources. If so, how could this be done with the example project structure?
Affected platforms

iOS

Versions

Kotlin version*: 1.9.23 (also tested on the latest Beta5 build)
Compose Multiplatform version*: 1.6.2
OS version(s)* (required for Desktop and iOS issues): iOS 17.4
OS architecture (x86 or arm64): arm64
Device (model or simulator for iOS issues):  iPhone 12

To Reproduce

Create a multi-module project
Sample structure:

/composeApp

/app (includes all the features via project(":composeApp:features:..."))
/features/splash (has some text resources)

Run the app on an iOS device

Expected behavior
String resources should load just like on the Android target
Actual behavior
App crashes with
Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: values/strings.xml

Hey!
Multi-module resources are not supported in Compose 1.6.2.:
Multimodule projects are generally not supported yet: https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-images-resources.html
You should be using 1.6.10-* and Kotlin 2.0.0: https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.6.10-beta01

Thank you for pointing this out.
Tested with:
Kotlin 2.0.0-Beta5
Compose Multiplatform 1.6.10-beta01, 1.6.10-beta02, 1.6.10-dev1608
The issue persists

This happened to be a misconfiguration of the XCode project.
It seems like Fleet wrecked up something.
Fixed by replacing iosApp folder with a generated one from the project wizard.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


If several robot test is calling a remote server can I id the cliente function caller?

In a scenario where I run several robot tests with call to the remote server
"Library     Remote		http://localhost:8270"
Can I ID the client caller in the function runner?

The remote library API does not provide a way to identify the caller. There have been discussions on this.
If you do not expect concurrent calls, you could implement a keyword to reset/initialize the library. If you need concurrency, then you could pass in some kind of ID as an extra argument to every call, but that is a pretty ugly workaround.
Always possible is somehow using multiple libraries on different paths. The libraries could be facades that all work with a singleton though if you need shared state across all callers.

I try the parameter but is too much overload in the robot test :(
The idea is to have several of Robot test call the same RemoteServer :
1 - From the Robot test call Remote Server  SetupScenario()
2 - From the Robot test call Remote Server ProcessTest01(...
3 - From the Robot test call Remote Server ProcessTestN(...
4 - From the Robot test call Remote Server  DestroyScenario()


Add automated formatting, linting, and deploys

This adds [biomejs|https://biomejs.dev/] to the project. It is an alternative to Prettier and ESlint. I like it because it is much, much easier to configure and is very fast.
There are 3 npm new scripts:

lint
format
check (which is a combination of lint and format)

This PR also adds automatic deployment. Whenever you merge to master, the GitHub Action will automatically deploy the worker. You just need to add a Cloudflare API token as a repo secret. See the Cloudflare documentation for instructions on how and where to generate a token.Call it CLOUDFLARE_API_TOKEN.

Closing to resolve merge conflicts.


feat: support beforeSendRequest for WebSocket

Add support for forwarding WebSocket connections in beforeSendRequest, but modifying WebSocket message is NOT supported.
e.g.
// rule.js
module.exports = {
  async beforeSendRequest(requestDetail) {
    const {
      protocol,
      requestOptions: { headers },
    } = requestDetail;

    // This example will forward every WebSocket to <IP_ADDRESS>:8800
    // Replace with your own conditions
    if (protocol === 'ws' || protocol === 'wss') {
      return {
        protocol: 'ws',
        requestOptions: {
          hostname: '<IP_ADDRESS>',
          port: '8800',
          path: '/',
          headers,
        },
      };
    }

    return requestDetail;
  },
  async beforeDealHttpsRequest(requestDetail) {
    return true;
  },
};

// ws.js
const WebSocket = require('ws');

const server = new WebSocket.Server({
  port: 8800,
});

server.on('connection', ws => {
  ws.on('message', msg => {
    ws.send(msg);
  });
});

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


Flush app insights buffer when sink is disposed

To avoid losing the final events when an app is terminated, made sink disposable and flushed the buffer, as per:
https://azure.microsoft.com/en-us/documentation/articles/app-insights-api-custom-events-metrics

Thanks @palmtech for the PR however I am a bit hesitant to pull this in:
For one, blocking the finalizer/disposing thread entirely in IDisposable is bad and putting that aside, blocking an arbitrary amount of time (1000ms) is as good/bad as any - slow connections to AI may take considerably longer than that and you'd still have the same problem you originally wanted to fix.
Additionally, with this particular PR, all applications that do utilize the sink would now always have an extra 1000ms to wait.
Moreover implementing IDisposable does not guarantee that .Dispose() is being called, especially on process termination, so again - no fix for your original problem in all cases.
And finally even if the sink implemented IDisposable, it should do so properly according to MS's guidelines.
I do understand your concern here, but using a 1000ms tarpit via .Dispose() is not what I'd pull into the sink and therefore force upon every user of it.

I believe serilog calls dispose on all sinks that implement it:
Action dispose = () =>
125	            {
126	                foreach (var disposable in _logEventSinks.OfType())
127	                    disposable.Dispose();
Flush and a 1000ms delay was what MS recommended in the article I linked to, and it definitely resolved my problem (which was losing the last several seconds of events as my app terminated). It's a very simply bug to reproduce, create a console app, log something and terminate. Are there situations in which you wouldn't want to flush the buffer and wait for that to complete prior to terminating?

IDisposable is an interface for releasing resources, particularly unmanaged.. and this particular sink has no unmanaged resource to release so I am not fond of using that approach.
That being said, you already can initialize the Sink with your own TelemetryClient being passed in, you keep onto to that one inside your own application context and you can call .Flush() on it directly at any time you deem necessary, i.e. when your application shuts down.
This way you can flush the messages but the sink itself remains free of any specific workaround for a current AI limitation / implementation details.
Another possible solution for you might be to use Persistence Channel(s) which stores these buffered but unsent messages on disk and sends them the next time your application starts (see the documentation).
You can also already use that with the AI sink by passing in your own TelemetryConfiguration (see this overload) which has its .TelemtryChannel set to a new PersistenceChannel() (see the documentation for the extra nuget package you need and how to do that). For reference, the sink initializes its TelemetryClient (if none is provided) like this, and the underlying TelemetryConfiguration this one uses like this .. both quite simple.

I'm not familiar with TelemetryClient (very surprised it doesn't support a waitable flush!) but just as a data point, the majority of Serilog network-based sinks (CouchDB, Couchbase, Elasticsearch, MongoDB, Seq, Splunk, ...etc.) do flush on Dispose() (as does most of System.IO), so it may not be too surprising to do that here.
In Serilog 2.0 the top level Log class also exposes a method called CloseAndFlush() which, if called, will dispose any sinks connected to the shared logger in the expectation that they'll do this.
I do share the hesitation to block for an arbitrary 1000 ms though, it seems like TelemetryClient or the infrastructure should provide a much better API for this :-S

No question that the 1000ms delay isn't great, but that's a shortcoming of the current AI libraries, hopefully it won't always be the case. I think it's worse to spend time trying to figure out why messages aren't being logged.
Regarding the use of Dispose, I looked at the serilog source, and the source for some of the other sinks that flush, and followed that pattern.

That 1000ms @palmtech is referring to is indeed the one major issue I have with all of this.. we can't just put any value in there and hope the actual async flush is done by then.. which we can't wait for nor 'poll' for a status or anything..
So again - the sink as it is today does allow users to control the flush themselves including an appropriate amount of wait time their application or environment runs in.
You also can't check if there are any queued / buffered messages and imposing a wait inside .Dispose all the time for all users of the sink is just bad.

I've made the flush optional and off by default, though I'd really question whether that should be the case.

@palmtech / @nblumhardt I've put up a separate PR (#10) that implements IDisposable including the .Flush() - without the implicit (or optional) Sleep(..) but an explanation in the Readme.md regarding the whole topic.
So basically the Sink itself does flush on .Dispose() and leaves the 'IF' (when a custom 'channel' is used it might flush synchronously, only the default in-memory one doesn't) or 'HOW LONG' to wait up to the application.
I think it's still not ideal but this way the sink does what it can do without doing harm and explains the rest / constraints the default AI behaviour brings along.


Graph options sometimes don't set

Looks like I have to add or remove any widget to "force" it to update it's settings.

Could you send a video of this happening?

https://github.com/Gold872/elastic-dashboard/assets/105223895/eed0d5e5-5ad2-483b-a869-460df8c4058b

You have to hit enter before clicking "Close". From what I know this is a limitation of Flutter so I don't think I can fix this.

Can there be a "confirm" or "save" button?

I'll think about a way of doing this since it's a good idea

I finally figured out the solution to this. It had to do with the graph widget being a stateful widget that wasn't in a stream builder. The solution was very convoluted but the widget should now successfully rebuild when you change its settings.


Puzzle game using HTML,CSS and JS

Here, I will create a puzzle game where the user can solve the puzzle

please assign me this issue.

@zugzwang03 please assign me this issue.

@zugzwang03 Yes di bss I am adding other puzzles as well will make PR toady


Add ability to configure memcached port

I wonder why port is constant?
https://github.com/aliexpressru/memcached/blob/1d5372b63f6212b2453bc522d5cda488b53ae6d8/src/Aer.Memcached/Pod.cs#L8
This is a feature request to make the memcached port to be configured.
It may be useful when you have different projects with memcached and want to debug it localy.

Now you can configure port starting from version 1.3.3 of the library
Also check the release
https://github.com/aliexpressru/memcached/releases/tag/v1.3.3


Download Filtered Data

Click a button which downloads the currently filtered data as some format (json? csv? some other thing?)

Hello @birm Can you please assign me to this issue ?
do you have any specifc method to mention?
here is one method i can think
1)convert the table data into json format https://www.aspsnippets.com/Articles/Convert-HTML-Table-data-to-JSON-using-JavaScript.aspx
2)then download the json data using javascripthttps://codesandbox.io/s/download-json-file-with-js-p9t1z?from-embed=&file=/index.html

Hello @birm , my name is Malik Akbar, a final year computer science student from Indonesia
. I am very excited to contribute to this project for Google Summer of Code (GSoC) 2024. Can you please assign this issue to me?
I will create the functionality first and discuss the UI with you. After I am done with the functionality, I will create the PR. Thank you and looking forward to hearing from you soon!

Ahh it turns out this is already implemented


eden: [inductions] clarify eoscommunity.org social handle

This should call out that it's for forums.eoscommunity.org, not just eoscommunity.org.

This issue was addressed by the aforementioned PR.


Amazon Linux 2 5.1 deployment failure

Hi, the playbook doesn't work on Amazon Linux 2, kernel 5.1. I fixed the prep_os, but am stuck at prep_php. Please help.

It seems that I have to update a lot of tasks in the playbook to get it working with the new AWS Linux. It will be anyway done in the nextcloud reloaded branch.
I think I have to spend some time during holiday season to get everything working again.


Use component inside network comp.

Is it possible to use other components inside the network component?
e.g.
<network network="facebook">
    <my-custom-icon></my-custom-icon>
</network>

Found a solution.
Import your component global
import Icon from '@/components/Icon'
Vue.component('my-custom-icon', Icon);

and use  inline-template <social-sharing** url="my-fansy-url" inline-template>

Thank for sharing your solution @adalberth

Are there any options that don't require this to be a global import?


Can't uninstall back to previous settings

I tried using this without first checking if my system was supported (oops) but now after I uninstall it, RDP no longer kicks out the user session and the remote viewer is left with a blue login screen, so I can no longer use remote desktop at all. How can I return the original functionality that it would kick out the local user? I suspect some registry keys didn't get changed back during the uninstall.

I think it was just an authentication issue - I was able to run the config again and change "GUI Authentication Only" back to "Default RDP Authentication" and it works normally again.


[Feature] Function with receiver

sorry for my strange language :((
Hello everyone! First I would like to thank developers for this brilliant language!
This issue is about adding some functional looks like "function literals with receiver" in Kotlin
Some words about terminology.
When I say receiver I mean the owner of current function scope.
If we are in class method scope then receiver is this .
For example instead of
current:  [myObject1, myObjec2].where {|element| element.myValue > 0}
will be smth like: [myObject1, myObjec2].where { myValue > 0 }.
Function inside eachFile "knows" its receiver parameter of "MyClass" type and expression myValue > 0 will be interpreted like |myObject| myObject.value > 0.
I suppose that such "receiver" functions will substantially reduce size of code.
Just compare size of next code strings when using some custom CLI for dealing with simple file tasks:
current:   my-cli> files.eachFile { |file| file.content.replace("str1", "str2") }
could be: my-cli> files.eachFile { content.replace("str1", "str2") }
There are could be two methods for distinguish functions with receiver and without it:

current - call(parameters...)
additional -receiverCall(receiver, parameters...)

It's been a while since I last used Kotlin but I had wondered whether there might be a case for including something like their implicit it variable when a lambda expression just takes a single parameter in Wren?
However, I decided that it wouldn't be worth the hassle even if it could be implemented within Wren's single pass compiler. After all, it's not exactly verbose to have to include |it| in your functions as we do now.
Similarly, I don't think their Function literals with receiver would be a good fit for Wren. There is a strong desire to keep the language simple and such a feature would be anything but.


Use Google search API as a replacement for Elasticsearch

Given the low value we get from the search feature, and the fact that its
dependencies are blocking an upgrade of other features, we could use a
different approach.
This is intended to be an interim solution - needs some more tests and some
tidying up. But it works pretty well for me.
To run the app you need to have an API key (e.g. env var or system property)
under search.key. To move into production we would probably want to have a
sagan account at Google and a custom search engine. See
https://developers.google.com/custom-search/v1/overview for details.

The cost was too high (Google charges a lot for the API).


CachedImage Source binding in XAML for a resource:// url throwing errors

When trying to bind a CachedImage in XAML for Xamarin Forms, I'm getting the following error:
Image loading failed: resource://ProjectName.Path.To.Image.png
FFImageLoading.DownloadAggregateException: One or more errors occurred. ---> System.ArgumentException: Only http or https scheme is allowed

The stack trace reveals this as the FFImageLoading point where the error occurs:
FFImageLoading.Cache.DownloadCache+<DownloadAsync>d__17.MoveNext () [0x0006c] in C:\projects\ffimageloading\source\FFImageLoading.Common\Cache\DownloadCache.cs:100

Here is the Xaml code:
<ffimageloading:CachedImage HorizontalOptions="Center"
                    VerticalOptions="Center"
                    WidthRequest="100" HeightRequest="100"
                    Aspect="AspectFit"
                    Source="{Binding ImageSource}" />

The ViewModel Code:
ImageSource = "resource://ProjectName.Path.To.Image.png";

I can however explicitly do the Source like this and the image will load properly:
<ffimageloading:CachedImage HorizontalOptions="Center"
                    VerticalOptions="Center"
                    WidthRequest="100" HeightRequest="100"
                    Aspect="AspectFit"
                    Source="resource://ProjectName.Path.To.Image.png" />

Could you try the newest prerelease? (<IP_ADDRESS>3)

Just updated to <IP_ADDRESS>3 and still seeing the errors on both iOS and Android.

@quinnhoener

Did you remove all bin / obj folders from your projects & cleaned solution?
Is your ViewModel in the same assembly?

I have the same issue with version 2.2.24. Have you @quinnhoener found a way to solve it.

@daniel-luberda

I cleaned my solution
My ViewModel in the same assembly. Images are placed in another assembly, but it works perfect when I put the same string to xaml, like @quinnhoener wrote:

<ffimageloading:CachedImage HorizontalOptions="Center"                      VerticalOptions="Center"                      WidthRequest="100" HeightRequest="100"                      Aspect="AspectFit"                     Source="resource://ProjectName.Path.To.Image.png" />

I avoided the issue this way:
 <ContentView Grid.Column="0" Grid.Row="0"                                       Content="{Binding ImageFilename, Converter={StaticResource ImageSourceConverter}}"/>
`
internal sealed class FFImageSourceConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var sourceString = value as String;
return new CachedImage()
{
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.Center,
WidthRequest = 48,
HeightRequest = 48,
DownsampleToViewSize = true,
Source = new EmbeddedResourceImageSource(new Uri(sourceString)),
};
}
    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    {
        throw new NotImplementedException();
    }
}

`

https://github.com/luberda-molinet/FFImageLoading/wiki/Data-URL-&-Embedded-Resources-support-(including-base64)#embedded-resources-uri-support
Use this when using images from another assembly:
resource://{resourceName}?assembly={Uri.EscapeUriString(resourceAssembly.FullName)}";

@daniel-luberda I can confirm this is still an issue with version 2.2.24. I believe @ArtjomP and I are attempting the same thing which exactly as described in the initial details. Setup a XAML page and bind the the CachedImage Source to a code behind property.
Source="{Binding ImageSource}"

In the code behind, set the ImageSource string property to a resource url:
ImageSource = "resource://ProjectName.Path.To.Image.png";

You will see this error:
System.ArgumentException: Only http or https scheme is allowed

Doing a binding directly in XAML code will work properly with a resource url.
<ffimageloading:CachedImage HorizontalOptions="Center"
                    VerticalOptions="Center"
                    WidthRequest="100" HeightRequest="100"
                    Aspect="AspectFit"
                    Source="resource://ProjectName.Path.To.Image.png" />

For how I'm using images, I'm dynamically changing the image based on user settings so it needs to be bound to a code behind property.

@ArtjomP I needed to dynamically swap between local assets and web assets and adjusted your Converter like this:
public class FFImageSourceConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var sourceString = value as String;

            if ( sourceString.StartsWith("resource://", StringComparison.OrdinalIgnoreCase) )
            {
                return new EmbeddedResourceImageSource(new Uri(sourceString));
            }
            else
            {
                return new DataUrlImageSource(sourceString);
            }
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }

Then in XAML code you can do this:
<ffimageloading:CachedImage HorizontalOptions="Center"
                        HeightRequest="72"
                        Aspect="AspectFit"
                        Source="{Binding ImageUrl, Converter={StaticResource imageSource}}" />

I hope this helps!

I solved it like this:
XAML
<ffimageloadingsvg:SvgCachedImage Source="{Binding GuidesFilterImage}" WidthRequest="{StaticResource dashIconSize}" HeightRequest="{StaticResource dashIconSize}"></ffimageloadingsvg:SvgCachedImage>
ViewModel
        private EmbeddedResourceImageSource _guidesFilterImage;
        public EmbeddedResourceImageSource GuidesFilterImage
        {
            get { return _guidesFilterImage; }
            set { SetProperty(ref _guidesFilterImage, value); }
        }

GuidesFilterImage = new EmbeddedResourceImageSource(new Uri("resource://VeloGuideApp.Resources.Images.dash_guest_ic_guides.svg"));


Accept arbitrary content before the license header

Fixes #390

@omazin Please make sure the test function also works/passes.


.keypress/.keydown creates a cacophony

Here is a use case of a problem that isn't really the fault of Tone.JS but does however create a terrible sound when using Tone.JS in the most simple way. Both keypress or keydown consistently repeat the key command which activates startSound(); so many times it becomes unbearable.
Do you have any suggests for getting around this issue?
$(window).keydown(function(event) {
  console.log("KEYON:"+event.timeStamp);
  startSound();
});
$(window).keyup(function(event) {
  console.log("KEYOFF:"+event.timeStamp);
  stopSound();
});

function startSound() {
    ran = Math.floor((Math.random()*2000)+1);
    osc = new Tone.Oscillator(ran, "triangle")
    env = new Tone.AmplitudeEnvelope();
        osc.connect(env);
        env.toMaster();
        osc.toMaster();
        osc.start();
        env.triggerAttack();
}
function stopSound() {
    env.triggerRelease();
    osc.stop();
}

Here is a codepen of the problem I am having. http://codepen.io/spencerthayer/pen/pJZGVx

Javascript keydown events keep firing if the key is held down.
All you need to do is save the held down key and then check if it's being held. If it is, do nothing.
http://unixpapa.com/js/key.html

I'd also like to point out that you are creating a new oscillator and envelope on every keypress. You will quickly run up against the performance capabilities of your browser.
You just need to create one oscillator and envelope and then call env.triggerAttack on the keypress. Since AmplitudeEnvelope will keep the osc from passing through, you also don't need to bother starting and stopping it on every press/release.
I'll update the wiki article on building a basic synth to include some info about tying it to a keypress which should clarify this situation for people in the future.
var osc = new Tone.Oscillator(ran, "triangle")
var env = new Tone.AmplitudeEnvelope();
osc.connect(env);
env.toMaster();
osc.start();

function startSound() {
    ran = Math.floor((Math.random()*2000)+1);
    osc.frequency.value = ran;
    env.triggerAttack();
}
function stopSound() {
    env.triggerRelease();
}

@tambien your code example spits out a TypeError: osc is undefined.

I get a ReferenceError because ran was not defined before i used it.
This should fix it:
var osc = new Tone.Oscillator({
  "type" : "triangle"
});


Update README.rst

Coverage remained the same at 97.113% when pulling c66f4402bf9b175dac7f7aefe2ee372909749840 on nhumrich:patch-1 into 408432adda7c4f61c6b3a538ed828162dcab0c72 on pyslackers:master.


Fix double slash in SCRIPTS_DIR file paths

The SHIPYARD_DIR variable was defined with a trailing slash to make
Docker copy the directory into the base image correctly, but when
SHIPYARD_DIR was used to build SCRIPTS_DIR this resulted in an extra
slash. Move the slash to the Docker command that requires it, keeping
the var trailing-slash-free as per norms elsewhere in the codebase.
Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

I noticed this too 😄

Don't know how much of a bug this is, perhaps a slight nuisance :)

Very true lol


kdesu: update patch to use qCWarning

Motivation for this change
Resolves #96667
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@ofborg build kdesu

@ofborg eval
@ofborg test plasma5
The plasma5 iso job will remain broken due to firefox.

That ISO jobs works.  There was just some transient timeout in the Firefox build (not sure why these happen occasionally).


On macOS, VLC isn't automatically opened despite the app is installed in /Applications

Like the title said, what would happen is that the script would go into a black screen with arrows waiting for the user to use Ctrl+C. However, the script can't open/play VLC, with no error whatsoever, even if VLC is opened or not.

Unfortunately I can't test this with mac, but I think I have some volunteers who might, so give me a bit and I will get back to you!

No worries, I can try if you want me to.

Suggested from the pull request https://github.com/schwifty42069/piptv/pull/4 that --plugins_path syntax should be added. Here is the command on macOS:
if platform.system() == "Darwin":
instance_args += "--plugins_path=/Applications/VLC.app/Contents/MacOS/plugins"
However, there is an issue after implementing this is that there is only sound, no VLC. I'm looking into this atm.

Awesome great work, I will definitely do that. Keep me posted on that new issue that came up. I will leave this issue open until I add the additional instance args to vlc, and we iron the new issue out.

I am getting audio and no video on Mac Mojave?

I am setting up a VM to do some testing for Mac so I will let you guys know if I figure anything out. Leaving this open for now

Hi thanks for the work 😊
Same here on Mojave :
Sound : OK
Vidéo : KO

Haha alright. It will be a bit before I can test it, because my internet here is garbage and the only iso I could find for MacOS is 6GB lol. As soon as I am able to test, I will let you guys know what I find!

I haven't been able to test in macOS, but I did add a debug flag to the channel tune prompt. So if you want, type the channel name followed by --debug and paste the output here
for example, instead of typing just espn, type espn --debug and paste the output here

Here's the debug log when trying to connect to tlc: log

Damn, you're actually getting the stream data too, per the log. I should have a VM for macOS up by some point tonight, and will be able to test much more effectively. Will let you all know as soon as I do. Thanks for your patience!

Can any of you play an HLS hotlink with VLC directly? So for example, try running:
vlc """http://peer3.savitar.tv/NFL/myStream/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OS8yMC8yMDE5IDExOjQyOjEyIFBNJmhhc2hfdmFsdWU9alNNSnFOS0xKNHdndUs0TDhHUmlhQT09JnZhbGlkbWludXRlcz0zNjAmaWQ9MA=="""
See if it plays successfully. I am just curious

Like this?

If you mean directly in the app, the answer is no:

Is that helpful?

Instead of using: vlc http://peer3.savitar.tv/NFL/myStream/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OS8yMC8yMDE5IDExOjQyOjEyIFBNJmhhc2hfdmFsdWU9alNNSnFOS0xKNHdndUs0TDhHUmlhQT09JnZhbGlkbWludXRlcz0zNjAmaWQ9MA== to open a stream, Terminal requires the path to the VLC app itself.
Running /Applications/VLC.app/Contents/MacOS/VLC http://peer3.savitar.tv/NFL/myStream/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OS8yMC8yMDE5IDExOjQyOjEyIFBNJmhhc2hfdmFsdWU9alNNSnFOS0xKNHdndUs0TDhHUmlhQT09JnZhbGlkbWludXRlcz0zNjAmaWQ9MA== will bring up the VLC client and attempt to open the video stream.
Resulting log

MacBook-Pro:~ username$ /Applications/VLC.app/Contents/MacOS/VLC http://peer3.savitar.tv/NFL/myStream/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OS8yMC8yMDE5IDExOjQyOjEyIFBNJmhhc2hfdmFsdWU9alNNSnFOS0xKNHdndUs0TDhHUmlhQT09JnZhbGlkbWludXRlcz0zNjAmaWQ9MA==
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[00007f8c2d202560] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f8c2bddab60] access stream error: HTTP 403 error
2019-09-21 00:29:28.894 VLC[99392:30884330] Can't find app with identifier com.spotify.client
[00007f8c2bddab60] http stream error: error: HTTP/1.1 403 Forbidden

Yeah the token expired, they only last 6 hours, I was hoping someone was gonna be active when I posted it haha. I am spinning up the macOS VM to do some testing. Sorry guys, I know this isn't fun.

From the research I have done into this, it seems that vlcs python bindings may need to be built from source for them to function correctly on macOS. I am playing with it now, and if I get it to work building them from source I will document the method here so that others can use it. If anyone really wants to use it now, you can use it in an Ubuntu VM, or you can use the piptv-plex script on this repo to generate an m3u containing all of the channels with fresh tokens to be used in the media player of your choice.

Have any of you tried the piptv-plex script or tried to run piptv in an ubuntu VM?  I just whipped this thing up, didn't expect as many people to use it as there are!


test: fix use-after-free in fake upstream

Commit Message: Fix a test-only use-after-free that causes flakes of //test/integration:tcp_tunneling_integration_test.
Additional Description:
The bug causes rare flakes of tcp_tunneling_integration_test, on the order of 0.5-1% under msan. The ReadFilter gets registered with the connection but shouldn't call into its parent after the parent has been deleted. This is done by using a weak_ptr proxy to the parent.
Risk Level: low
Testing: ran affected test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Seems like some clean-up order issue. I would think that FakeConnection should always be destroyed before the Network::Connection

That's exactly the issue. FakeRawConnection gets destroyed before the ReadFilter object it registers with the Network::Connection, resulting in the use-after-free

That's exactly the issue. FakeRawConnection gets destroyed before the ReadFilter object it registers with the Network::Connection, resulting in the use-after-free

Can't the FakeRawConnection call removeReadFilter before it is destroyed? I would rather figure lifecycle management of these objects that create a shared_ptr to this as it is super hacky.

Thanks, didn't know that was a thing. That's a whole lot cleaner than the weak proxy.

It looks like there were some asan and tsan failures in a different test, though related to this change. I'm currently debugging.

Okay, fixed the failures with a different weak_ptr. This is much less weird than the originally proposed change.


Password  not set correctly using docker compose

Is there an existing issue for this?

[X] I have searched the existing issues

Used image version
sha256:d97d8c0bb6e0dc749fa0df1db410e7509d51c30d530ac7c73d3b69fb25b4687d
Used docker compose file or docker command
services:
enshrouded:
image: mornedhels/enshrouded-server:latest
container_name: enshrouded
hostname: enshrouded
restart: unless-stopped
stop_grace_period: 90s
ports:
- "15637:15637/udp"
volumes:
- ./game:/opt/enshrouded
environment:
- SERVER_NAME=Test
- SERVER_PASSWORD=password123
- UPDATE_CRON=*/30 * * * *
- PUID=4711
- PGID=4711
What you expected to see, versus what you actually saw
This leads to the this output in the server.json file:
_CommonRedist		   enshrouded_server_023.dat
enshrouded_server_000.dat  enshrouded_server_024.dat
enshrouded_server_001.dat  enshrouded_server_025.dat
enshrouded_server_002.dat  enshrouded_server_026.dat
enshrouded_server_003.dat  enshrouded_server_027.dat
enshrouded_server_004.dat  enshrouded_server_028.dat
enshrouded_server_005.dat  enshrouded_server_029.dat
enshrouded_server_006.dat  enshrouded_server_030.dat
enshrouded_server_007.dat  enshrouded_server_031.dat
enshrouded_server_008.dat  enshrouded_server.exe
enshrouded_server_009.dat  enshrouded_server.json
enshrouded_server_010.dat  enshrouded_server.kfc
enshrouded_server_011.dat  enshrouded_server_readme.txt
enshrouded_server_012.dat  logs
enshrouded_server_013.dat  savegame
enshrouded_server_014.dat  steam_api64.dll
enshrouded_server_015.dat  steam_appid.txt
enshrouded_server_016.dat  steamapps
enshrouded_server_017.dat  steamclient64.dll
enshrouded_server_018.dat  steamclient.dll
enshrouded_server_019.dat  tier0_s64.dll
enshrouded_server_020.dat  tier0_s.dll
enshrouded_server_021.dat  vstdlib_s64.dll
enshrouded_server_022.dat  vstdlib_s.dll
root@debian:/data/compose/34/game/server# cat enshrouded_server.json
{
"name": "Test",
"saveDirectory": "./savegame",
"logDirectory": "./logs",
"ip": "<IP_ADDRESS>",
"queryPort": 15637,
"slotCount": 16,
"gameSettingsPreset": "Default",
"gameSettings": {
"playerHealthFactor": 1,
"playerManaFactor": 1,
"playerStaminaFactor": 1,
"enableDurability": true,
"enableStarvingDebuff": false,
"foodBuffDurationFactor": 1,
"fromHungerToStarving":<PHONE_NUMBER>00,
"shroudTimeFactor": 1,
"tombstoneMode": "AddBackpackMaterials",
"miningDamageFactor": 1,
"plantGrowthSpeedFactor": 1,
"resourceDropStackAmountFactor": 1,
"factoryProductionSpeedFactor": 1,
"perkUpgradeRecyclingFactor": 0.500000,
"perkCostFactor": 1,
"experienceCombatFactor": 1,
"experienceMiningFactor": 1,
"experienceExplorationQuestsFactor": 1,
"randomSpawnerAmount": "Normal",
"aggroPoolAmount": "Normal",
"enemyDamageFactor": 1,
"enemyHealthFactor": 1,
"enemyStaminaFactor": 1,
"enemyPerceptionRangeFactor": 1,
"bossDamageFactor": 1,
"bossHealthFactor": 1,
"threatBonus": 1,
"pacifyAllEnemies": false,
"dayTimeDuration":<PHONE_NUMBER>000,
"nightTimeDuration":<PHONE_NUMBER>00
},
"userGroups": [
{
"name": "Default",
"password": "yqf)er-T",
"canKickBan": false,
"canAccessInventories": true,
"canEditBase": true,
"canExtendBase": true,
"reservedSlots": 0
}
],
"password": "password123"
}
Note: I had to manually change the password from the user group to my requested password to gain access to the server.
Not sure if this is the intended behaviour but would make more sense to have the password variable transferred to the default user group password.
Logs from the container
No response

Hey @webs397, yes thats the reason why this env var is deprecated. It worked for update 2 and also for the initial update 3 - maybe a patch broke that?!
Anyhow, to automatically set the first userGroup is not a viable solution - because it doesn't have to be the default group. So to set the server password you basically have to set it in the config file itself or use the server_roles env vars.
Do you have other suggestions how to handle the server password variable?

I don't really know to be honest. Thats how I fixed it for me.
For the vast majority of users the default user should be what they are looking for. Requiring users to go into the container files and reading through the json is much harder for the average user.
Just wanted to make this issue known.

Oops didnt mean to close this, but feel free to do so again if there is no real fix.
My recommended work around would be to set the default user password as the "server password" as this will be the case for most users (as I also saw in a few issues)

Hey @webs397,
I implemented a fallback mechanism if you are using the SERVER_PASSWORD env var. Basically it checks if the first server-role exists and the name is Default. If yes, it updates the value for password.
If no server-roles are defined (inside of enshrouded_server.json), I create one with the desired password.
And finally if the first server-role hasn't the name Default I skip the update with a warning.
WARN - SERVER_PASSWORD is deprecated, pls consider using SERVER_ROLE_<index>_PASSWORD instead
WARN - falling back to "Default" server role password

# message if server-role 0 is not the Default one
WARN - default group (index: 0) has not the name "Default". Skipping password update!

I'll test it a little bit further and merge the changes to main. You can test it than with the dev-proton or dev-wine tags.
Would that meet your requirements?

fix is now available with the dev-tags

and is also released with version 1.4.0.


fix: anvil state

Fixes broken anvil state
Description
This minor PR fixes the deployed anvil states which broke the CI
contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json
contracts/scripts/anvil/state/eigenlayer-deployed-anvil-state.json

Type of change
Please delete options that are not relevant.

[ ] New feature
[x] Bug fix
[ ] Optimization
[ ] Refactor

Checklist

[ ] “Hotfix” to testnet, everything else to staging
[ ] Linked to Github Issue
[ ] This change depends on code or research by an external entity

[ ] Acknowledgements were updated to give credit

[ ] Unit tests added
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

[ ] This change is an Optimization

[ ] Benchmarks added/run

[ ] Has a known issue

Link to the open issue addressing it

[ ] If your PR changes the Operator compatibility (Ex: Upgrade prover versions)

[ ] This PR adds compatibility for operator for both versions and do not change batcher/docs/examples
[ ] This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

The CI seems stuck waiting for the runner.


camerad: ensure proper cleanup of OpenCL context on exit

Added camerad_run to ensure the OpenCL context is released after all dependent objects are destructed.

Don't see any reason to add another intermediate function here? Just add clReleaseContext(ctx); to camerad_thread?

The CameraBuf and VisionIpcServer classes rely on VisionBuf::free in their destructors to clean up resources, which requires access to OpenCL functions. If clReleaseContext(ctx) is called at the end of camerad_thread(), the OpenCL context would be released before CameraBuf and VisionIpcServer are destructed, preventing proper cleanup in the destructors and potentially causing issues.
https://github.com/commaai/openpilot/blob/62d044c794f8e000ab1410333e6ffe99a58bbabd/system/camerad/cameras/camera_common.cc#L98-L103
https://github.com/commaai/msgq/blob/cdcf84f44a4edd40f7aa4d06eb95550ac64b3b37/msgq/visionipc/visionipc_server.cc#L202

This isn't obvious reading the code. We should make this more explicit.

how about Use std::unique_ptr for cl_context Management?


[CTA - Card, type Video] React: Prod QA testing of change that allows poster image to be turned off

User Story

As a [user role below]:
developer using the ibm.com Library CTA - Card type Video

I need to:
have a version of the pattern or component that has been tested for accessibility compliance as well as on multiple browsers and platforms

so that I can:
be confident that my ibm.com web site users will have a good experience

Additional information

Browser Stack link
Browser Standard
Browser versions to be tested:  Tier 1 browsers will be tested with defects created as Sev 1 or Sev 2.  Tier 2 browser defects will be created as Sev 3 defects.
Platforms to be tested, by priority:  1)  Desktop  2)  Mobile
Mobile iOS versions: 13.1, 13.3 and 14
Mobile Android versions: 9.0 and 10
Browsers to be tested:  Desktop: Chrome, Firefox, Safari, Edge, Mobile: Chrome, Safari, Samsung Internet, UC Browser, QQ Browser
Accessibility testing guidance
Accessibility Checklist
Creating a QA bug
See the Epic (#6413 ) for the Design and Functional specs information
React Dev issue (#7065 )
** Once development is finished the updated code is available on the 1) WC Wrapper test env URL or the React canary environment for testing.**

Acceptance criteria

[ ] Accessibility testing is complete.  Component is compliant.
[ ] All browser versions are tested
[ ] All operating systems are tested
[ ] All devices are tested
[ ] Defects are recorded

@Praveen-sr This component is ready to be tested.
cc:  @IgnacioBecerra

Pord QA testing started.

Testing complete.  Closing.


fidokey_pi out of date with fidokey

It looks like the fidokey module has been updated but those changes haven't made it into the fidokey_pi module. I'm also unsure why that module is needed.
I've been running this on macOS and it seems to be performing fine, I will get my linux machines out to test it but if it works, I think we can remove that module and the supporting conditionals to check.
What was the original reason behind the fidokey_pi module?

I have not tested on Raspberry Pi and would like to update.
Thank you.

@obelisk
Hi ,
Version 2.2.2 is released.
Fixed build error on fidokey_pi.
Thank you.


Czech translation

Hi,
I added czech translation and make couple of fixes and improvements. I hope you like it.

Some adaptations must be done in current translations as the tab description was changed to background

Hey @mlynarp, thanks for the translations and the fixes!
D&D Beyond usually changes things in the interface and then the extension's DOM selectors stop selecting things correctly, so it needs to be updated sometimes. Thank you for doing this!
I'll test it and merge it after checking if it's everything okay. Again, thank you :heart:


Generated Code emits Warnings from StyleCop rules

Sadly the generated code hits quite a few warnings in our codebase
Currently you deactivate the warnings from analyzers and JetBrains one by one by hand:
Instead you should make it clear to the Analyzers that the code is auto-generated and therefore the style is not checked:
https://shishkin.wordpress.com/2008/07/08/stylecop-how-to-ignore-generated-code/
You can add the comment on the start of the file:
// <auto-generated/>

I am not sure how necessary the file type is, but generated code usually has one of the following file endings, this could also help top avoid warnings from automatic tooling:
*.generated.cs
*.g.cs
*.Designer.cs

Thx for bug reporting, the fixed version is 1.1.61


[Suggestion] Disable CompatTelRunner

Why this script doesn't delete/disable this specific telemetry?
(If you don't know what this is you can google "CompatTelRunner.exe". it's found in system32)
Using  .reg (I think)
Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TelemetryController]

Using .cmd
takeown /F C:\Windows\System32\CompatTelRunner.exe
icacls "C:\Windows\System32\CompatTelRunner.exe" /grant:r Everyone:(OI)(CI)F /T
icacls "C:\Windows\System32\CompatTelRunner.exe" /grant Users:F
del /F C:\Windows\System32\CompatTelRunner.exe

I would love to see this deleted using this script

It's perfectly fine to remove CompatTelRunner, google it, and here are some answers:
https://answers.microsoft.com/en-us/windows/forum/all/how-to-stop-the-windows-compatability-telemetry/3e6f469a-e527-4744-a313-cb52030b3461
https://www.thewindowsclub.com/what-is-compattelrunner-exe-on-windows-10
Regarding the method used (takeown or icacls) it up to you to decide what to use since there are multiple ways to solve this issue.

I'd answer that the problem isn't in methods but the sense of disabling telemetry. It's not our enemy, as many think. Why all try to disable it and after few years blame Windows that it's not stable as they eant it to be, why it looks like not as XP, they got used to, etc. My manifest: stop making it harm, just use it! Especially z if. You low to use such specific commands.


How to count tokens for functions defined in the prompt?

I use functions in addition to a custom prompt, and a history of messages, to my chatCompletion calls.
I need to calculate the amount of tokens in my calls, to avoid hitting the token limit of the model.
I know how to calculate the amount of tokens for my prompt, but how do I to do it for the functions? Should I just tokenize the JSON describing the functions?

You can consider checking out this package


Add php-cs-fıxer

Finally, add php-cs-fixer.
Suggested changes would be added in a separate PR, so here we go with basic changes to enable it first.
Closes:  #1929

Codecov Report

Merging #2248 (ba3492a) into master (753cfde) will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2248      +/-   ##
============================================
+ Coverage     86.88%   86.94%   +0.05%
  Complexity      664      664
============================================
  Files            33       31       -2
  Lines          1556     1547       -9
============================================
- Hits           1352     1345       -7
+ Misses          204      202       -2

Impacted Files
Coverage Δ
Complexity Δ

src/Eloquent/Builder.php
87.71% <0.00%> (-0.22%)
22.00% <0.00%> (ø%)

src/Relations/BelongsToMany.php
86.00% <0.00%> (-0.14%)
42.00% <0.00%> (ø%)

src/Eloquent/SoftDeletes.php
100.00% <0.00%> (ø)
1.00% <0.00%> (ø%)

src/Helpers/EloquentBuilder.php

src/Auth/User.php

src/Query/Builder.php
89.33% <0.00%> (+0.15%)
162.00% <0.00%> (ø%)

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 753cfde...ba3492a. Read the comment docs.


[Bug]: Edit and modify the message channel. The signature key will be deleted after saving.

ODC version
ODC424bp2
OB version
independent
What happened?
Edit and modify the message channel. The signature key will be deleted after saving.

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
Edit and modify the message channel. The signature key will be deleted after saving.
Anything else we need to know?
No response

test pass


Zero IMU variances after calibration

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D455f

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 22.04

Kernel Version (Linux Only)
5.15.13

Platform
PC

SDK Version
v2.56.2

Language
python

Segment
others

Issue Description
Hello. I'm trying to validate calibration. After calibrating the IMU using librealsense/tools/rs-imu-calibration/rs-imu-calibration.py, I was expecting to see some non-zero variance values here. Not sure if that's how it's supposed to be.
<pyrealsense2.stream_profile: Accel(0) @ 200fps MOTION_XYZ32F>
Bias Variances: [0.0, 0.0, 0.0]
Noise Variances: [0.0, 0.0, 0.0]
<pyrealsense2.stream_profile: Gyro(0) @ 400fps MOTION_XYZ32F>
Bias Variances: [0.0, 0.0, 0.0]
Noise Variances: [0.0, 0.0, 0.0]
<pyrealsense2.stream_profile: Gyro(0) @ 200fps MOTION_XYZ32F>
Bias Variances: [0.0, 0.0, 0.0]
Noise Variances: [0.0, 0.0, 0.0]
Firmware version: <IP_ADDRESS>

    for sensor in pipeline.get_active_profile().get_device().sensors:
        for pr in sensor.get_stream_profiles():
            stype = pr.stream_type()
            if stype == rs.stream.gyro or stype == rs.stream.accel and stype not in active_profiles:
                motion_profile = pr.as_motion_stream_profile()
                active_profiles[stype] = motion_profile
                motion_intrinsics = motion_profile.get_motion_intrinsics()
                print(motion_profile)
                print("Bias Variances:", motion_intrinsics.bias_variances)
                print("Noise Variances:", motion_intrinsics.noise_variances)

rs-enumerate-devices -c | grep -i vari
Bias Variances:         0.000000000000000  0.000000000000000  0.000000000000000
Noise Variances:        0.000000000000000  0.000000000000000  0.000000000000000
Bias Variances:         0.000000000000000  0.000000000000000  0.000000000000000
Noise Variances:        0.000000000000000  0.000000000000000  0.000000000000000

Hi @SilverIce  It is normal for the IMU biases to all be zero.  They are also returned as zero when using the RealSense SDK's 'rs-enumerate-devices' tool in calibration information mode by launching it with the command rs-enumerate-devices -c as demonstrated at https://github.com/IntelRealSense/librealsense/issues/8899#issuecomment-826709184
Section 2.2 of the PDF user guide for the rs-imu-calibration.py tool on page 8 of the guide confirms that the biases are zeroed.
https://www.intelrealsense.com/wp-content/uploads/2020/07/IMU_Calibration_Tool_for_Intel_RealSense-Depth_Cameras_Whitepaper.pdf

It is possible to obtain non-zero biases using a non-RealSense IMU calibration tool such as Kalibr but the above values have e- on the end of them, indicating that they are actually very tiny numbers that may as well be stated as being zero.

Hi @SilverIce  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Add beginnings of webcomponent and polymer challenges

I think adding these files is getting ahead of things. Polymer and Web Components aren't even on the roadmap at this point (though we will use web components as part of our react challenges).
If you want to author some challenges, I recommend building some React.js or D3.js challenges, as those will definitely be included in the near future.


NSFileManager tests should use the newly added _SCOPE (compatible with OSX)

This can go with #662 changes.

added this to #662 and closing this one.


rig type list

Should include cat boat, and single sail dinghy.
"Other" rather than "unknown", to be placed at the end of list

This is working now but the values don't get back into the pick boxes

updated boats with 'unknown' to be null and added Other, Cat boat and Single sail options


Hide Console Window By Default

Is your feature request related to a problem? Please describe.
Following using the original remyroy launcher for a long time, I installed this version/fork of the launcher.  Upon opening it for the first time, I was slightly annoyed to see the console window open and then persist in the background after the launcher UI loads.
Describe the solution you'd like
To maintain the behavior I'm used to from the original remyroy launcher (e.g., no background console window), I did some digging and found a simple solution.  In the root folder's "Launcher.bat" file, change
start /realtime python.exe -m cddagl
to
start /realtime pythonw.exe -m cddagl
Invoking the Python interpreter that contains the "w" hides the console window by default.
Describe alternatives you've considered
If it's desired that the default behavior be for the console window to be shown, this request should be discarded.  However, coming over from the original remyroy launcher, it seems sensible to port over the default behavior from that project here.
Additional context
No response

This is an unfortunate side effect of the fix for a very, very jarring  and frequent crash bug that would leave save states corrupted, and that has been present going back to the original remyroy's launcher times: https://github.com/DazedNConfused-/CDDA-Game-Launcher/issues/9
In my ignorance of the codebase and/or Python in general (perhaps both), this was the only fix I could come up with. AFAIK the bug has been reported several times in the previous repo, and noone has been able to come up with a better fix as of yet. Having a small console window was deemed as a reasonable compromise in order to fix a data-breaking bug.

Ah, alright.  I'm glad to hear it was a conscious decision and not an oversight!  I myself have personally encountered an issue with the remyroy launcher a number of times in the past where it would abruptly stop and quit during the compression and creation of a save back-up -- not sure if that is the same as the issue you're referencing.  Positively, at least for me, I haven't encountered that crash for a long while (on the remyroy launcher nor ever with this one).  I'll try to remember and report back if I do encounter the crash now that I manually turned the console off for my launcher.
Would you like me to close this issue?


automatically pause all state observable props when an element is cleaned up

also abort all async props

done, will be in next release.


Module RNI18n requires main queue setup since it overrides constantsToExport

Hi,
I have just installed react-native-locale-detector 1.0.1 in order to initialise i18next
The install and build worked ok (although the RNi18Test target in XCode is causing issues and needs to be removed), however I now get a warning whenever we launch the app. Below is the message:
Module RNI18n requires main queue setup since it overrides constantsToExport but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
How can this be resolved ?
Here is our setup:
"i18next": "^12.0.0",
"react-i18next": "^8.3.8",
"react-native": "0.57.5",
"react-native-locale-detector": "^1.0.1",
Many thanks
Greg

I also see this warning when building my application on iPhone. Is it going to be fixed?

is this still alive ?

//  RNI18n.m
//  RNI18n
//
//  Created by Alexander Zaytsev on 14/06/15.
//  Copyright (c) 2015 Alexander Zaytsev. All rights reserved.
//

#import "RNI18n.h"

@interface RNI18n ()
-(NSString*) getCurrentLocale;
@end

@implementation RNI18n
RCT_EXPORT_MODULE();

-(NSString*) getCurrentLocale{
    NSString *localeString=[[NSLocale preferredLanguages] objectAtIndex:0];
    return localeString;
}

- (NSDictionary *)constantsToExport
{
    return @{ @"locale": [self getCurrentLocale] };
}

+ (BOOL)requiresMainQueueSetup
{
    return YES;
}
@end

please commit this and publish


Skeletonize

🗣 Description
This pull request skeletonizes the repo against cisagov/skeleton-docker.
💭 Motivation and context
All of our repos that are still being used should be based on a skeleton repo.
🧪 Testing
All automated tests pass.
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
[x] Tests have been added and/or modified to cover the changes in this PR.
[x] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

Please update to the latest version (0.6.9) of pshtt for consistency since you have updated the corresponding lambda:

This PR is only to skeletonize the repo.  As soon as this one is merged I will create a separate PR that simply updates the version of pshtt that is installed.


Bug: Files crashes when item is selected and tab is switched

Description

Steps To Reproduce

Open two tabs
Select an item in either
Switch tab
Files crashes

Requirements

Fix crash when switching tabs with a selected item

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.1344
Log file
debug.log

Might be linked to #11666

The issue was fixed for me with the linked pull request


Crash in UnplashExample sample

May be this is a solution
  func itemWidth(for pagingItem: T) -> CGFloat {
    if let width = widthCache[pagingItem] {
      return width
    } else {
      let width = widthForPagingItem?(pagingItem, false)
      width.flatMap({ widthCache[pagingItem] = $0  })    //CHANGED LINE
      return width ?? options.estimatedItemWidth
    }
  }

And I Found another one issue in this sample:
struct ImageItem: PagingItem, Hashable, Comparable {
  let index: Int
  let title: String
  let headerImage: UIImage
  let images: [UIImage]

  var hashValue: Int {
    //The sum of two Integer throw overflow exception in my simulator
    //return title.hashValue + headerImage.hashValue

    // I think this fix is good for example app
    return title.hashValue/2 + headerImage.hashValue/2   //CHANGED LINE
  }
  ......

Thanks for the report. I’ll take a look!

Yeah, looks like the hashValue implementation causes an integer overflow on older devices. Added a fix for this in #140. Thanks for catching that 🙌


Time Zone setting in the device (MEGH-1516)

I am trying to set the time zone for my device as IST by editing the code as per the documentation - https://rainmaker.espressif.com/docs/time-service.html#time-service.
First i tried to add the following timezone region:

const char *tz = "Asia/Kolkata";
esp_err_t esp_rmaker_time_set_timezone(*tz);

and the second one using the posix timezone:

const char *tz_posix = "IST-5:30";
esp_err_t esp_rmaker_time_set_timezone_posix(*tz_posix);

both throw the error

"../main/app_main.c: In function 'app_main':
../main/app_main.c:161:44: error: expected declaration specifiers or '...' before '*' token
esp_err_t esp_rmaker_time_set_timezone(*tz);
^
[1212/1219] Linking CXX static library esp-idf\esp_rainmaker\libesp_rainmaker.a
ninja: build stopped: subcommand failed.
ninja failed with exit code 1"

Tried with the code,

const char *tz = "Asia/Kolkata";
esp_err_t esp_rmaker_timezone_service_enable(void);
esp_err_t esp_rmaker_time_set_timezone(tz);

throwing the warning

[1212/1219] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_main.c.obj
../main/app_main.c: In function 'app_main':
../main/app_main.c:162:5: warning: parameter names (without types) in function declaration
esp_err_t esp_rmaker_time_set_timezone(tz);
^~~~~~~~~

What is the issue here? If not Am i doing this in a wrong manner?

@sivansanthoshd the primary culprit here is the esp_err_t preceding the function call. esp_err_t is just the return type for the functions. You have to simply call the function like this:
esp_rmaker_time_set_timezone("Asia/Kolkata");

After changing it to this

esp_rmaker_time_set_timezone("Asia/Kolkata");

I get this error

../main/app_main.c: In function 'app_main':
../main/app_main.c:159:5: error: implicit declaration of function 'esp_rmaker_time_set_timezone'; did you mean 'esp_rmaker_node_get_info'? [-Werror=implicit-function-declaration]
esp_rmaker_time_set_timezone(&timezone);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
esp_rmaker_node_get_info
cc1.exe: some warnings being treated as errors
[1212/1219] Linking CXX static library esp-idf\esp_rainmaker\libesp_rainmaker.a
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

@sivansanthoshd to use the esp_rmaker_time_set_timezone () function, you have to include the  esp_rmaker_utils.h file in your code.

@shahpiyushv that worked like a breeze. Thank you.

Closing this issue since it has been addressed.


Appcenter fixes 3

"A few" fixes for appcenter issues

CodeFactor found an issue: Complex Method
It's currently on:
Files\Filesystem\FilesystemOperations\Helpers\FilesystemHelpers.cs:89-184
Commit 3c85452459dd5d63e499cb8c1e47a0a926f27ff9

CodeFactor found an issue: Complex Method
It's currently on:
Files\Filesystem\FilesystemOperations\Helpers\FilesystemHelpers.cs:89-184
Commit 3c85452459dd5d63e499cb8c1e47a0a926f27ff9

With #3290 some of this changes are no longer necessary

With #3290 some of this changes are no longer necessary

@yaichenbaum Should be ok , and that code factor issue was there before 👍

Sounds good, can you resolve the merge conflicts?

@yaichenbaum Should be ok , and that code factor issue was there before 👍

Sounds good, can you resolve the merge conflicts?

@yaichenbaum no sorry, I'll be away for 1.5 weeks

@yaichenbaum no sorry, I'll be away for 1.5 weeks

@yaichenbaum no sorry, I'll be away for 1.5 weeks

No worries, I think I solved them, I am just testing in VS to make sure the build works.

@yaichenbaum no sorry, I'll be away for 1.5 weeks

No worries, I think I solved them, I am just testing in VS to make sure the build works.

Wait

Wait

Wait, last commit you made undoes one of the fixes. I'd keep the "ElementAtOrDefault" part ;)

I thought I broke something there because it wasn't working 😂.

 I'd keep the "ElementAtOrDefault" part ;)

I thought I broke something there because it wasn't working 😂.


Update license with up-to-date year

Made only 1 change:

Update LICENSE to use a date range with the latest year

No other changes were made.

Thanks @fay-jai

You're welcome!


Text Animations for Experience Page, Education Page, Project Page, Research Page

Reference
Use the block style for Headings Like "Education"
Use the perspective style for subheadings like "MOOC"

@smaranjitghose I would like to give this a try. Can I work on this?

@smaranjitghose I would like to give this a try. Can I work on this?

@smaranjitghose I would like to give this a try. Can I work on this?

Sure

@smaranjitghose I would like to give this a try. Can I work on this?

Sure

@smaranjitghose Can I take this up, if no one is working on it ?

@smaranjitghose Can I take this up, if no one is working on it ?

Sure

@smaranjitghose I am also a Mwoc and CrossWoc participant, could you add those labels?You can remove the Swoc label.

@smaranjitghose I am also a Mwoc and CrossWoc participant, could you add those labels?

Sure


CLOUDSTACK-10144: fix possible NPE in listVlanIpRanges

Prevent NPE for querying a deleted project.

code LGTM.
However, could you please add some code to release vlan and ip ranges while delete a project ?
If it is not an issue anymore, please ignore my comment :)

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

rollback transaction on releasing vlan and ip ranges while delete a project was the root cause getting into this state. Unsure yet, while that happened.
However, preventing an NPE can not be wrong.

Packaging result: ✔centos6 ✔centos7 ✖debian. JID-1266

@resmo agreed. let's merge this at first.
It would be nice to fix the issue you said.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1267

Simple npe check, merging based to Travis and packaging validations.


NEXT: Cookbook Image Layouts

Description
Adds image layouts from v2 Blocks to v3 Cookbook. Includes two new layouts,

Quad
Featured

The page seems laggy on my local dev, it might be all the image URLs loading at full size. I can implement some image optimization features from Astro, but was trying to minimize any maintainable image assets in the codebase for now. It would also complicate the interaction between example components and raw code if we are maintaining a different component for the docs than what the example raw code is showing.

@kmalloy24 this is looking great! Just FYI you might can use Unsplash's CDN features to resize the images:
https://images.unsplash.com/photo-1617296538902-887900d9b592?ixid=M3w0Njc5ODF8MHwxfGFsbHx8fHx8fHx8fDE2ODc5NzExMDB8&ixlib=rb-4.0.3&w=128&h=128&auto=format&fit=crop

You'll note several URL params added at the end here:
&w=128
&h=128
&auto=format
&fit=crop

w = width
h = height

You might tailor those per example to ensure they are no larger than the need to be.
We'll want to try to avoid Astro-only optimization if possible, to keep this as generic as possible.

I had removed the Unsplash params to make the image sizing dependent on Tailwind classes instead. This way folks can just swap in their image sources without the need for URL params to maintain the layouts. I can go back to the previous approach - it was just a little confusing to me when I copied out the code block and lost the formatting when I put in different image urls.
I'll check out place-hold.it and see if it helps make the page more lightweight.

Note I've bumped this back to draft state until the above work is complete. When ready for another review, feel feel to select that option again please!

@kmalloy24 just checking on the status of this. No rush, I just want to confirm you saw the requested changes above.

@endigo9740 I did, thanks for taking the time to review! Was hoping to get to it this week, but realistically I probably won't get a chance until next week.

@kmalloy24 I finally had a moment free so I did a quick pass through this section. I made three notable changes:

Made a couple minor edits to the text copy on the main guide page
Updated each example to use Lorem Picsum
Cleaned up the styles within each example to only use what we need
Swapped the fixed rounded class to Skeleton's version which will adhere to your theme

The guide should now be complete, so I'll merge right away. Thanks for your contribution as always!

@endigo9740 Sweet! TIL about Lorem Picsum...will definitely be using that in the future.
This was a good experience getting my feet wet with v3 so hopefully will be more efficient on cookbook contributions in the future.

@kmalloy24 oh yeah it's cool. If you jump on another PR (no rush) just a heads up that we're about to push a change that will make PNPM v9.50 the minimum version (9.7.x is the latest and that's fine too). I'm trying to give all the regular contributors a heads up about this one:

https://github.com/skeletonlabs/skeleton/pull/2812


python312Packages.forecast-solar: 3.0.0 -> 3.1.0

Diff: https://github.com/home-assistant-libs/forecast_solar/compare/refs/tags/v3.0.0...v3.1.0
Changelog: https://github.com/home-assistant-libs/forecast_solar/releases/tag/v3.1.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 302891 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.forecast_solar
python311Packages.forecast-solar
python311Packages.forecast-solar.dist
python312Packages.forecast-solar
python312Packages.forecast-solar.dist

duplicate of https://github.com/NixOS/nixpkgs/pull/302587


exp function for Tensor2_3D

For future need, we need a Ten2::exp function for Tensor2_3D objects that calculates the exp(A) of a rank-two tensor A.
The algorithm can be found on page 749 of Computational Methods for Plasticity.

done at
https://github.com/APSIS-ANALYSIS/PERIGEE/commit/ac40cb5fd3225519b6fc2571aaa2d876e090419d


Please add Memphis, TN

DUE TO HIGH VOLUME EMPTY ISSUES WILL BE IMMEDIATELY CLOSED. PLEASE PROVIDE ALL INFORMATION. THANK YOU!!!! :^)
******* We Demand Divestment from Police and an Investment in Our Communities
******* JFord.Canale@memphistn.gov,Jeff.Warren@memphistn.gov,Chase.Carlisle@memphistn.gov,Martavius.Jones@memphistn.gov,Cheyenne.Johnson@memphistn.gov,JB.Smileyjr@memphistn.gov,Michalyn.Easter-Thomas@memphistn.gov,Edmund.FordSr@memphistn.gov,Worth.Morgan@memphistn.gov,Jamita.Swearengen@memphistn.gov,frank.colvettjr@memphistn.gov,Rhonda.Logan<EMAIL_ADDRESS>******* Dear City Council Members,
My name is [NAME] and I am a resident of [NEIGHBORHOOD]. I am asking to redirect money away from the Memphis PD and into the following social services: [LIST - Community Development, COVID Relief, Education, Parks & Recreation]. I request that an emergency meeting be called before the fiscal year goes into effect in order to deny the mayor’s proposed budget and reallocate these funds to resources the citizens can benefit from.
Thank you for your time,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]
See our current links for examples at https://defund12.org.
Thank you!!

Memphis template added here: https://defund12.org/memphis


New App: Qintel QWatch

Name of the app
Qintel QWatch
Integration
Integrates with Qintel QWatch: https://www.qintel.com/products/qwatch/
About
With this app, users can fetch exposure alerts as events and discover exposed credentials associated with their organization. It provides two commands:

search qwatch exposures: Queries QWatch for credential exposures by email or domain
on poll: Generates events and artifacts from QWatch exposure alerts

Hi Calvin,
The new repo has been created under https://github.com/splunk-soar-connectors/qintelqwatch


Falcon Key

This is an open end discussion on how we are going to create falcon key.

miden client can expose functions which can create random falcon key which we can then save in users's local but along with that, other endpoints will also need to be exposed like signing a message, verifying it.

Or we can use already created rust library https://crates.io/crates/pqcrypto-falcon/0.2.10 which already has functions exposed. we need to make sure that miden is using the same inside node for all the verifications and other things

I think we'll have to go with the first option because we had to modify the canonical Falcon signature to use a different hash function (RPO instead of SHAKE256).
The modified version is currently being worked on in https://github.com/0xPolygonMiden/crypto/pull/179 and should be merged soon. We tried to re-use as much of the stock Falcon signature code as possible - so, most of the code is actually coming from the PQClean repo.
So, miden-crypto crate will expose functionality to generate keys, sign, and verify messages using a modified Falcon signature scheme. One caveat is that for key and signature generation, the crate needs to be compiled with Rust's standard library - so, we can't use this functionality in WebAssembly, for example. Not sure if this is an issue though.

we are using a different Falcon implementation now. I think we can close this issue


NoForeignKeysError with polymorphism and schemas

from flask import Flask
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql:///test'
db = SQLAlchemy(app)

class Item(db.Model):
    __tablename__ = 'items'
    __table_args__ = {'schema': 'foo'}  # this causes the error
    __mapper_args__ = {'polymorphic_on': 'type', 'polymorphic_identity': None}

    id = db.Column(db.Integer, primary_key=True)
    type = db.Column(db.Integer, nullable=False)
    parent_id = db.Column(db.ForeignKey('foo.items.id'), index=True, nullable=True)
    children = db.relationship('Item', backref=db.backref('parent', remote_side=[id]))

class SubItem(Item):
    __mapper_args__ = {
        'polymorphic_identity': 1
    }

traceback:
Traceback (most recent call last):
  File "flasksatest.py", line 21, in <module>
    class SubItem(Item):
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 602, in __init__
    DeclarativeMeta.__init__(self, name, bases, d)
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/ext/declarative/api.py", line 64, in __init__
    _as_declarative(cls, classname, cls.__dict__)
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative
    _MapperConfig.setup_mapping(cls, classname, dict_)
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping
    cfg_cls(cls_, classname, dict_)
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 135, in __init__
    self._early_mapping()
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 138, in _early_mapping
    self.map()
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 534, in map
    **self.mapper_args
  File "<string>", line 2, in mapper
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/orm/mapper.py", line 671, in __init__
    self._configure_inheritance()
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/orm/mapper.py", line 978, in _configure_inheritance
    self.local_table)
  File "<string>", line 2, in join_condition
  File "/home/adrian/dev/indico/env/lib/python2.7/site-packages/sqlalchemy/sql/selectable.py", line 979, in _join_condition
    (a.description, b.description, hint))
sqlalchemy.exc.NoForeignKeysError: Can't find any foreign key relationships between 'items' and 'items'.

It works fine if I do not use a custom schema.

I'm not really familiar with Postgres schemas, and I'm not sure a test for this would work with the SQLite backend. Would you verify that #541 fixes this?

Have confirmation from Thief that this will be fixed by the tablename patch.