Android not broadcasting udp

Godot version
3.2.3 3.3 3.3.2
System information
Windows 10
Issue description
i have a game where you play bingo on android and windows but the problem is that android wont broadcast the signal to let others know a server is online
Steps to reproduce
https://github.com/pranshuthegamer/BingoMultiplayer.git
export for android with proper perms:
internet
access wifi state
change wifi state
if you do the same on windows, the game works properly
Minimal reproduction project
No response

Does Android even allow UDP broadcast packets to be transmitted? I wouldn't be surprised if they were blocked for security reasons.

Did you enable the CHANGE_WIFI_MULTICAST_STATE setting as documented here?
https://docs.godotengine.org/en/stable/classes/class_packetpeerudp.html#class-packetpeerudp-method-set-broadcast-enabled

Did you enable the CHANGE_WIFI_MULTICAST_STATE setting as documented here?
https://docs.godotengine.org/en/stable/classes/class_packetpeerudp.html#class-packetpeerudp-method-set-broadcast-enabled

yes i did

Does Android even allow UDP broadcast packets to be transmitted? I wouldn't be surprised if they were blocked for security reasons.

yes, it works on an old version of the apk that i have before 3.3

they worked in older versions of the game
On Tue, Aug 3, 2021, 8:09 PM Hugo Locurcio @.***> wrote:

Does Android even allow UDP broadcast packets to be transmitted? I
wouldn't be surprised if they were blocked for security reasons.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/51205#issuecomment-891902960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOUJCT4755VZEQYLWH2WAULT275S7ANCNFSM5BOHZIVA
.

the fix is to not broadcast to <IP_ADDRESS> and enable permissions.
also, its best to check the length of ip and not if it starts with 192

the fix is to not broadcast to <IP_ADDRESS> and enable permissions.
also, its best to check the length of ip and not if it starts with 192

What broadcast address did you use instead?

the fix is to not broadcast to <IP_ADDRESS> and enable permissions.
also, its best to check the length of ip and not if it starts with 192

What broadcast address did you use instead?

`var broadcast = 0
var broadcaster = PacketPeerUDP.new()
var doit = true
func _process(delta):
broadcast -= delta
if broadcast <= 0 and doit == true:
broadcast = 0.5
for adress in IP.get_local_addresses():
var address = adress.split("[")
var parts = address[0].split('.')
if parts.size() == 4:
currentip = parts.join('.')
parts[3] = '255'
broadcaster.set_dest_address(parts.join('.'), 6964)
var pac = str("bingojoin." + ip).to_ascii()
var error = broadcaster.put_packet(pac)
print('broadcasting to:    ', parts.join('.'))
if error == 1:
print("Error while sending to ", ip, ":", 6964)`
this function runs every 0.5 secs and sends a udp broadcast to every ipv4 network its connected to


⚠ Processors has degraded performance

In 80b3989, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 49 ms

Resolved: Processors performance has improved in df35f8c.


[CI/CD] releases lacks version management

We have only one "latest" release. We need to give each version a release.

We also need a version bumping strategy, please feel free to give suggestions #289 .

It would be better if it can update the new version to the Chrome Store when a new version is released.

Please follow #290, we are working on this.


hot reload issue solved

    restart: always
    environment:
      - WDS_SOCKET_HOST=<IP_ADDRESS>
      - CHOKIDAR_USEPOLLING=true
      - WATCHPACK_POLLING=true

@alfaarghya

🎉 Thanks for your contribution! 😊
Thank you for solving #19 issue. I greatly appreciate your work 🚀


black screen

I tried to run the app and all I see is a black screen. Waiting a couple of minutes.
Using linux mint 17.2, python 2.7.6, kivy 1.9.0. No errors in console.

Interesting. Well to be honest.. My tests have been made only on windows so far. I will check this as soon as I got some spare time.

@jligeza @gouzouni
It fails to load the CIMgui.kv file.
So to run,
Either add  this self.load_kv('CIMgui.kv')
class CIMgui(App):
    ....
    def build(self):
        self.use_kivy_settings = False
        self.load_kv('CIMgui.kv') #add this line in the source code
        return MainWindow()

Or
Change the name of CIMgui.kv to cimgui.kv

See here for more info: http://kivy.org/docs/guide/lang.html


runtime: "invalid pc-encoded table" throw caused by bad cgo traceback (expandFinalInlineFrames)

This is a follow-up to #44971, where https://github.com/golang/go/issues/44971#issuecomment-814989008 noted a missing case.
@gopherbot please open backport for 1.16 and 1.15. The only workaround is to change the C traceback engine, which isn't usually feasible. This is a follow-up CL for a previously missed case.

@gopherbot please open a backport for 1.16 and 1.15. The only workaround is to change the C traceback engine, which isn't usually feasible. This is a follow-up CL for a previously missed case.


[e2e]: nodejs push main node16 slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6609430177
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.main.node16.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.main.node16.slsa3.yml
Trigger: push
Branch: main
Date: Mon Oct 23 06:15:28 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6623069545
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.main.node16.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.main.node16.slsa3.yml
Trigger: push
Branch: main
Date: Tue Oct 24 06:15:32 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6636483434
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.main.node16.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.main.node16.slsa3.yml
Trigger: push
Branch: main
Date: Wed Oct 25 06:21:30 UTC 2023
Tests are passing now. Closing this issue.


chore: Remove open telemetry

Remove open telemetry. It could not be used as implemented because it was always set to null.
Remove unused methods from the stubs managers.

This is in response to an earlier misunderstanding on my part: https://github.com/momentohq/client-sdk-java/pull/182#discussion_r1148031800
I have already removed the tests but I didn't remove the otel functionality at the same time.


typedef with type decimal64 will not success when edit-config.

Hi,
I got failed when I do edit-config with below module and xml:
module a {
  namespace "aaa:1";
  prefix a;

  typedef typeA{
	type decimal64{
	  fraction-digits 1;
	  range "-10..-1";
	}
  }

  container aa
  {
    leaf f1{
	  type typeA;
	}
  }
}

<aa xmlns="aaa:1">
<f1>-3.0</f1>
</aa>

And I found that this bugs may be caused in function op_set_srval, when type is derived from decimal64, ((struct lys_node_leaf *) leaf->schema)->type.info.dec64.dig is zero, and the fraction-digits is defined in the base type.
when I fix it like above,  edit-config is ok,  but get-config still fail, the log has this:
netopeer2-server[1561]: Value "-30" does not satisfy a constraint (range, length, or pattern). (/a:aa/f1)
netopeer2-server[1561]: Failed to create node "f1" as a child of "aa". (/a:aa/f1)

It seems that sysrepo return -30 as the value.

The bug was in libyang and it was already fixed in devel branch. Anyway, I have cherry-picked the fix into master branch, so please verify that it now (libyang 0.9.185) works as expected. Note that the problem was probably already in edit-config which stored value -30 into sysrepo.


Add Runtime metaprogramming, GroovyObject and GroovyInterceptable section to Groovy documentation

Dear colleagues, please review my results. It's my first contribution so If you have some remarks or suggestion please tell me.

you can please rebase your commit to current master? Then we can merge this more easily

Sorry, no problem.
On Mon, Mar 30, 2015 at 12:00 PM, Jochen Theodorou<EMAIL_ADDRESS>
wrote:

you can please rebase your commit to current master? Then we can merge
this more easily
—
Reply to this email directly or view it on GitHub
https://github.com/groovy/groovy-core/pull/651#issuecomment-87600981.

I have tested tests which I have added during this commits and they passed. @blackdrag  Could you help with this problem?

I think this problem related to Indy build on JDK7. I haven't this problem on JDK8. If I wrote wrong test, please, inform me.

@PascalSchumacher I would like to show that my code changes default behavior of exist POJO(String) and POGO(Entity) classes. In both cases all method(both exist and non exist) invocations should return invoked so we can change assertEquals invoking.length(), invoking.someMethod() to:
        assert invoking.length() == 'invoked'
        assert invoking.someMethod() == 'invoked'

and
 assertEquals entity.build(new Object()), entity.someMethod() to:
        assert entity.build(new Object()) == 'invoked'
        assert entity.someMethod() == 'invoked'

for easy reading.
I have checked this changes (on top) and they failed too only on JDK7 with Indy option.
Something wrong in Groovy MOP in Indy build only for JDK7. So in my opinion either it is a bug or undefined behavior.

@stavytskyi I see. You are right. Sorry about not getting your intention.
@blackdrag I guess you have to help us out.

See https://issues.apache.org/jira/browse/GROOVY-7391 I am trying to push a fix tonight

Merged: https://github.com/apache/incubator-groovy/commit/2d42a54df73b6ca0410d10b1ac5fdb60fe23edfd https://github.com/apache/incubator-groovy/commit/16b42217c840bf1be98f203e02992981534fa0da
Thanks!


mute system improvements

work in progress mute system improvements. don't merge

TODO: test and port to tempmute, maybe add command to force create new role for modcore mutes.


Pin 1.3.x package to tensorflow-tensorboard 0.1.x

@av8ramit This is an important one line cherry-pick to end all cherry-picks from the TensorBoard team.

cl/163730576 will be exported to master by the sync team, once it's submitted.

Jenkins, test this please.


Allow remote .tiff files to be loaded

Description
Fixes https://github.com/napari/napari/issues/4277, by enabling remotely accesible .tiff files to be read in.
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?
Added test to check that a ValueError with a sensible error message is raised.
Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

I'm afraid it's not as simple as this.  Our builtin reader is a combination of tifffile.imread and imageio.imread.  Tifffile won't work for urls (without adding a little bit of helper logic, such as scikit-image does with the file_or_url_context here), however imageio will work out of the box for filetypes that it supports.
So, i think we either need to only reject urls for tiffs, or vendor this little function here to give our builtin tiff reader support for urls

I vendored as suggested and it seems to be working well 👍 . To test, do you know a URL to a small .tiff file? The link I was using before was for a 130MB .tiff file that isn't ideal since the test will now download the file.

maybe something from https://samples.fiji.sc/?
like https://samples.fiji.sc/_malaria_parasites.tif


Modify test to permit higher cardinality cases for label model

Description of proposed changes
The test_label_model_basic and test_label_model_sparse tests are specific to binary class; increasing the cardinality of the problem beyond 2 (which increases the number of parameters) prevents the tests from passing.
This change modifies the tests to use average error (which is invariant to the number of parameters) instead of maximum error (which makes higher-cardinality tests increasingly difficult).
Related issue(s)
Fixes #1631
Test plan
I ran the scenario in #1631 with cardinality 3,4,...,10 and the tests pass.
Checklist
Need help on these? Just ask!

[X] I have read the CONTRIBUTING document.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[X] I have run tox -e complex and/or tox -e spark if appropriate.
[X] All new and existing tests passed.

Ready for merge.


Fix #82

This PR should fix the issue where upgrading from Gitlab CE to Gitlab EE require manual work.
Please review, may need to add additional code to remove the Repo for whichever edition is not being used.

I did not add explicit tests for gitlab_official_ee repo files. I can do that as well if desired.

Looks good so far. Merging it now and will give it a try.


You send data my request to Google

You send data my request to Google
Is correct  work?

{"streamToken":"EAMZEGhCAoH0tbU=","writes":[{"update":{"name":"projects/postwoman-api/databases/(default)/documents/users/a6BknWI6jvOJ4QARGV8PDP7WjWo1/history/5tIpN32M3Q6zNc3vrdF1","fields":{"label":{"stringValue":""},"status":{"integerValue":"200"},"date":{"stringValue":"4/17/2020"},"time":{"stringValue":"12:50:21 AM"},"method":{"stringValue":"POST"},"url":{"stringValue":"http://<IP_ADDRESS>:8080"},"path":{"stringValue":"/api/user/auth"},"usesScripts":{"booleanValue":true},"preRequestScript":{"stringValue":"// pw.env.set('variable', 'value');"},"duration":{"integerValue":"35"},"star":{"booleanValue":false}}}}]}

OS: Firefox

For those enable "sync" feature (only for signed in users), following fields are saved to Firestore database:

History
Collections
Environments
Notes

Each of these can be toggled on/off from setting > account.
Read, write access is only allowed for authenticated users.


FloatingInfoBox was not working with MultiLineChart

This library is great! I try to use it in a current project but have some issues.
I tried to use the FloatingInfoBox with the MultiLineChart, but it made some trouble for me. For some reason it didn't show up, the Touch Overlay however worked like expected. Am I doing something wrong or is there an issue in the library? Here is my code:
MultiLineChart(chartData: MultiLineChartData(dataSets:
                                                MultiLineDataSet(dataSets: [
                                                    LineDataSet(
                                                        dataPoints:DataService.getData().monthlyWithoutIncrease,
                                                        style: LineStyle(lineColour: ColourStyle(colour: .gray), lineType: .curvedLine)
                                                    ),
                                                    LineDataSet(
                                                        dataPoints:DataService.getData().monthlyWithIncrease,
                                                        style: LineStyle(lineColour: ColourStyle(colour: Color(hex: "#54FFF2")), lineType: .curvedLine)
                                                    )
                                                ])))
    .touchOverlay(chartData: MultiLineChartData(dataSets: MultiLineDataSet(dataSets: [LineDataSet(
        dataPoints:DataService.getData().monthlyWithIncrease

    )])))
    .floatingInfoBox(chartData: LineChartData(dataSets: LineDataSet(dataPoints: DataService.getData().monthlyWithIncrease)))

Add the touchOverlay view modifier.
MultiLineChart(chartData: ...)
     .touchOverlay(chartData: ...)
     .floatingInfoBox(chartData: ...)

The touch overlay is what detects the touch and sends it for relevant processing.
The results can then be displayed in .headerBox, .floatingInfoBox , .infoBox or in a place of your choosing using:
InfoValue(chartData: data)
InfoExtra(chartData: data, text: "steps on")
InfoDescription(chartData: data)

@willdale could fix this by myself, thanks! And thanks for providing this great library

@willdale this seem to make it fix, thanks! Had an issue with understanding how touch and float works together. Thanks for taking the time, the amazing fast response and providing this awesome library! Really underrated.


1.2.0 bugged

The mod appears to only partially work, the config file doesn't generate and the mod doesn't show up in-game.
Reproduced on its own. Downgrading to 1.1.5 resolves these issues.

Looks like the file got corrupted on upload. New version uploaded 1.12.2-1.2.1.


I need to encrypt parameters but I have no idea to make it ,and I want to code just once

I need to encrypt parameters but I have no idea to make it ,and I want to code just once , how to make it ? thanks!

Hey @Goallying, let's keep the issue regarding task parameters in #2026 - I will close this one for now!


feat: change Kakarot.eth_send_transaction (the contract function, not that library method) to not take origin as parameter, but rather get it from get_caller_address() and inject it inside the library call

Feature Request
Describe the Feature Request

change Kakarot.eth_send_transaction (the contract function, not that library method) to not take origin as parameter, but rather get it from get_caller_address() and inject it inside the library call
### Tasks
- [ ] change the API of Kakarot.send_eth_transaction to not take origin as param
- [ ] get origin from get_caller_address()
- [ ] get the evm_address of the EOA by calling get_evm_address() on the provide starknet address
- [ ] pass this evm_address into is_kakarot_account()
- [ ] make sure we verify we are inside a tx and not a call

this will modify https://github.com/kkrt-labs/kakarot-rpc/pull/488

Nvm after exploration, this does not appear prio


(SP: 2) Add button and chips to Subjects step

UserStory: #61
Blocked by: #133
Description
Add "Add one more subject" button and chips of selected subjects on Subjects step for a tutor stepper
Design

Acceptance Criteria

[ ] When user selects subject and clicks on button "Add one more subject" it should create a new chip with selected subject
[ ] When user have selects 3rd or more subject it should be showed by increasing values of rest selected subjects

Already implemented #196


VS code syntax highlighting

For reference https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide

It's minimal at best, but here is the repo:
https://github.com/rawburt/vscode-gleam-syntax
It's a live extension in VS Code now.
The Web access to the extension will eventually be at https://marketplace.visualstudio.com/items?itemName=gleam-syntax.gleam-syntax

Hi, I know a bit about VSCode syntax highlighting and Regex (been working on my own highlighter for quite a while). I've been interested in the development of Gleam as well, and I'd be more than happy to help @rawburt with this! rawburt, if you require any assistance, please don't hesitate to let me know :)

Wonderful, thank you. I'll add this to the documentation.

@ tahscenery Thanks! I'm quite a syntax highlighting n00b so feel free to provide any changes you feel are relevant to https://github.com/rawburt/vscode-gleam-syntax via Pull Request.


Fix cloudformation related parsing bug in the AWS pack

It looks like that in newer versions of boto, you can't access cloudformation pack via the boto module anymore (might also be a bug in an upstream boto package, but didn't have time to dig in yet).
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto
>>> boto.cloudformation.stack.Stack
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'cloudformation'
>>> from boto import cloudformation
>>> cloudformation.stack.Stack
<class 'boto.cloudformation.stack.Stack'>

https://stackstorm.slack.com/archives/community/p1467637808003274


Flutter is searching version folder in root folder of Flutter but there is no such file

dart pub upgrade --null-safety
Building flutter tool...
Running pub upgrade...
Resolving dependencies...
Cannot open file, path = 'D:\flutter\version' (OS Error: The system cannot find the file specified.
, errno = 2)

C:\Users\This PC\Desktop\Flutter\flutter>flutter doctor --version
Flutter 2.3.0-12.1.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision f9c825981c (8 days ago) • 2021-05-18 14:07:52 -0700
Engine • revision 26e217e6c3
Tools • Dart 2.14.0 (build 2.14.0-edge.a527411e5100a0a4f48c4009087a1b988aa784af)

@raunaq21
Can you confirm if you are still facing this issue on latest versions ?


[cartographer] Limit needs increase when assigning messagestatus

Describe the bug
This query:
export const getMessageRootsFromIndex = async (
  spoke_domain: string,
  index: number,
  _pool?: Pool | db.TxnClientForRepeatableRead,
): Promise<RootMessage[]> => {
  const poolToUse = _pool ?? pool;
  // Find the first published outbound root that contains the index, for a given domain
  const root = await db.sql<
    s.root_messages.SQL,
    s.root_messages.Selectable[]
  >`select * from ${"root_messages"} where ${{
    spoke_domain,
  }} and ${{ leaf_count: dc.gte(index) }} order by ${"leaf_count"} asc nulls last limit 10`.run(poolToUse);
  return root.length > 0 ? root.map(convertFromDbRootMessage) : [];
};

will fail to pull sufficient root_messages for a given transfer to be assigned the correct status at load, specifically because one of those messages will not have an aggregate root.
Generally we need to make sure these queries are more scale tolerant, and oftentimes these embedded limits cause status problems that act as red herrings.

FYI this limit was increased to 75 during linea from 10, if it's still coming up we may need to be more precise here

Finding most efficient for defining limit.

Process time compared!

Message Status compared

https://github.com/connext/monorepo/issues/4362
Found an issue!


Member ClassName not found

When testhost crashes in testhost code, we receive this result json in vstest.console, and fail to deserialize it.
{
    "Version": 7,
    "MessageType": "TestExecution.Completed",
    "Payload": {
        "TestRunCompleteArgs": {
            "TestRunStatistics": {
                "ExecutedTests": 0,
                "Stats": {}
            },
            "IsCanceled": false,
            "IsAborted": true,
            "Error": {
                "TargetSite": null,
                "Message": "Object reference not set to an instance of an object.",
                "Data": {},
                "InnerException": null,
                "HelpLink": null,
                "Source": null,
                "HResult": -2146233088,
                "StackTrace": null
            },
            "AttachmentSets": [],
            "InvokedDataCollectors": [],
            "ElapsedTimeInRunningTests": "00:00:00",
            "Metrics": {},
            "DiscoveredExtensions": {
                "TestExecutors": [
                    "executor://MSTestAdapter/v2"
                ],
                "TestExecutors2": [],
                "TestSettingsProviders": []
            }
        },
        "LastRunTests": {
            "NewTestResults": [],
            "TestRunStatistics": {
                "ExecutedTests": 0,
                "Stats": {}
            },
            "ActiveTests": []
        },
        "RunAttachments": [],
        "ExecutorUris": []
    }
}

The deserializer fails to deserialize it with error:
System.Runtime.Serialization.SerializationException
  HResult=0x8013150C
  Message=Member 'ClassName' was not found.
  Source=mscorlib
  StackTrace:
   at System.Runtime.Serialization.SerializationInfo.GetElement(String name, Type& foundType)

  This exception was originally thrown at this call stack:
    System.Runtime.Serialization.SerializationInfo.GetElement(string, out System.Type)

Fails here, no matter which serializer is used:
 if (payloadSerializer == s_payloadSerializer2)
        {
            // PERF: Fast path is compatibile only with protocol versions that use serializer_2,
            // and this is faster than deserializing via deserializer_2.
            var messageWithPayload = JsonConvert.DeserializeObject<PayloadedMessage<T>>(rawMessage, s_fastJsonSettings);
            return messageWithPayload.Payload;
        }
        else
        {
            // PERF: When payloadSerializer1 was resolved we need to deserialize JToken, and then deserialize that.
            // This is still better than deserializing the JToken in DeserializeMessage because here we know that the payload
            // will actually be used.
            return Deserialize<T>(payloadSerializer, Deserialize<Message>(rawMessage).Payload);
        }

There is no repro Jakub... I don't know what you mean.


wrong word use [zh]

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Pinging previous contributors to the Chinese translation @lijiangsheng1 @genesis331 for review.
If I don't hear any objections in a few days I'll go ahead and merge this.


Cannot get rid of slight shakes WiFi adds

First of all, Thanks for a great library!
I was able to get to put together a quick test via Serial for testing this lib with my driver:
    while (Serial.available() > 0) {
      String command = Serial.readStringUntil('\n');
      if (command.toFloat() < 0) stepper.startJogging(-1);
      if (command.toFloat() > 0) stepper.startJogging(1);
      stepper.setSpeedInRevolutionsPerSecond(abs(command.toFloat()));
      Serial.println(command.toFloat());
    }

My next step was to add WiFi functionality to control my stepper motor wirelessly. I notice a tiny bit of vibration has been introduced into the stepper.
I have been messing around changing the core that runs startAsService() and trying to find the best priority for xTaskCreatePinnedToCore(...) in ESP_FlexyStepper.cpp . I was trying to even add another task to setup() rather than using the main loop() to have more control. But I cannot seem to find a way to completely remove the added shakes.
Do you have any recommendations on any additional trick I may try to fix this issue? Thanks in advance!

In my opinion you already did all the right steps by changing the core and experimenting with priorities.
In my use cases I was not focussing that much on the vibrations of the motor so I never inspected it all the way. There is another thread though where I pointed out some possible refactoring of the library to move the output signal generation to a hardware module rather than "bit banging".
This is quite some effort though and this I never implemented any of this solutions.

closing since this is a duplicate of #4


k32 plots have different sizes

Are we testing?
testing = False
if testing:
plot_dir = '/home/chia/plot_manager/test_plots/'
plot_size = 10000000
status_file = '/home/chia/plot_manager/transfer_job_running_testing'
else:
plot_dir = "/mnt/ssdraid/array0/"
plot_size =<PHONE_NUMBER>30  # Based on K32 plot size
status_file = '/home/chia/plot_manager/transfer_job_running'
remote_checkfile = '/root/plot_manager/remote_transfer_is_active'
Just saw that in installation instruction, after checking my files i saw that they have different sizes. looks like according to this code file size have to be exatly<PHONE_NUMBER>30 or it wont be validated as successful plot. but all plots are valid even they have different sizes...

ok, sorry looks like you fixed it in Fixed get_list_of_plots() #11 right?

Not really, the plot_size is the minimum size of the plot, not the exact size of the plot.
plot_to_process = [plot for plot in pathlib.Path(plot_dir).glob("*.plot") if plot.stat().st_size > plot_size]

Please feel free to reopen if you need moren information.


[FEATURE] Ability to change the background of EXP / Gold Tab, Scoreboard etc

Is your feature request related to a problem? Please describe.
No. Its not
Describe the solution you'd like A clear and concise description of what you want to happen.
I want to be able to replace the background files of exp / gold tab etc. I know that i can replace the background of the gold graph by replacing the "CenterCover" at overlay\Frontend\ingame\backgrounds
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. Maybe a background color picker in the Ingame tab?
Additional context Add any other context or screenshots about the feature request here.

Currently you can change the background color by editing the Ingame.json config. I will be changing this in the future to also support images as well

Currently you can change the background color by editing the Ingame.json config. I will be changing this in the future to also support images as well

that doesn't change scoreboard. Scoreboard change back to original blue color.


Added that HTTP can be used in test accounts but not in live accounts

@tillwirth I removed a negative contraction and the reference to "we" outside a tutorial context, to make this to style. I also added a link to the relevant section in the docs re. using HTTPS for return URLs with test accounts.
Otherwise this looks good, thank you. If you're happy I'll merge


Dynamic label width

Makes the Console formatter increase the label column width if any test name is longer than 29 characters/graphemes.
Fixes https://github.com/PragTob/benchee/issues/11
Do we want to keep the default/minimum 30 character width, or remove/reduce it?
Feedback is appreciated.

Hi there!
Sorry must have missed this yesterday, thanks so much!
I think we can get rid of the minimum width and just take the maximum width for the name column all the time. Speaking of which, we could do the same for all other columns if it were rather easy.
On to the Review :)

Thanks! Looks good.
I'm rather review happy, hope you don't mind :) Most are stylistic things, the more important one for me is in the tests to get rid off the +13 thing through including it in the assert help method (:+1: for that!)
Also, slightly annoying that we have to carry label_width around so much now... especially if we wanted to apply it to more values. Might be we'd need a new overall structure where we first compute all the values we want to put in and then format them to be the right length in a later step. But that's for the future (maybe) this is fine for now!
If you don't want to do all the little code adjustments, that's just fine. Happy to jump in and do them myself. :)
Thanks for the work!

I think I've fixed your comments now, thanks for the feedback.
I reduced the default label width instead of removing it, in case of someone using names shorter than the column header.
I agree on letting the other columns auto-adjust as well, but find it out of scope of this PR.

Yep it does and more is outside of the scope you are right, thanks!


Doc issue:

Hey, this documentation says that if you change your Contact information in the Azure portal, then emails about important notifications on the account will be sent to the email address you specify.  However, this is not accurate.  Service notification emails, like about urgent security issues, price changes, or breaking changes to services in use on your account, always go to your sign-in address (user principal name) even if it doesn't have a mailbox tied to it.

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

ID: b540f716-79a5-186d-2fdc-1d4f7fddb06c
Version Independent ID: e8a6830d-5970-a14c-e84f-8b28276cf091
Content: Change the contact information for your Azure account
Content Source: articles/cost-management-billing/manage/change-azure-account-profile.md
Service: cost-management-billing
GitHub Login: @genlin
Microsoft Alias: banders

@nerdile  Thank you for your feedback . We will investigate and update the thread further.

@bandersmsft FYI!

#reassign:amberb

amberb is not a valid GitHub ID, or is not a collaborator on this repo.

@nerdile You're absolutely correct. Thanks for pointing out that omission. I've updated the article for clarity based on your issue with https://github.com/MicrosoftDocs/azure-docs-pr/pull/124802. Thanks!

#please-close


Document the text_enabled param for plugins

I think the Django CMS docs could use a little more information about the text_enabled attribute, which is available on CMSPlugins.
It's a very cool attribute/setting, but it took me quite some time to find out that I was looking for this when I was developing a plugin for my work.

Reported by @jeroenpeters1986 in https://github.com/divio/django-cms/issues/6342

I'm closing because PR with more info about text_enabled was merged.


Unit of sensor / state class

Describe the bug
In my logs for four of the octopus sensors I’m continuously getting these errors as pasted in logger section below
In the developer-statistics I pressed fix issue, and get this message
`The state class of this entity, is not supported.
Statistics cannot be generated until this entity has a supported state class.
If this state class was provided by an integration, this is a bug. Please report an issue. `
Anybody had these issues and know how to correct?
Reproduction steps
Errors appear in logs every restart.
Expected behaviour
No errors. Not sure why this is happening on these four sensors.
Tariff Code
No response
Integration Version
8.0.0
Home Assistant Version
2023.8.1
Fresh Install?
Not specified
Home Assistant Logs
`Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:405
Integration: Sensor (documentation, issues)
First occurred: 10:30:10 (4 occurrences)
Last logged: 10:45:10
The unit of sensor.octopus_energy_electricity_20l3146037_1030008919860_current_rate (None) cannot be converted to the unit of previously compiled statistics (GBP/kWh). Generation of long term statistics will be suppressed unless the unit changes back to GBP/kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
The unit of sensor.octopus_energy_electricity_20l3146037_1050002186872_export_current_rate (None) cannot be converted to the unit of previously compiled statistics (GBP/kWh). Generation of long term statistics will be suppressed unless the unit changes back to GBP/kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
The unit of sensor.octopus_energy_gas_e6s10578782261_7511962006_current_rate (None) cannot be converted to the unit of previously compiled statistics (GBP/kWh). Generation of long term statistics will be suppressed unless the unit changes back to GBP/kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
Entity sensor.al7001020100041_solar_to_load from integration alphaess has state class total_increasing, but its state is not strictly increasing. Triggered by state 1.02 (1.12) with last_updated set to 2023-08-10T09:41:35.333578+00:00. Please report it to the custom integration author.
`

Hello and sorry you're seeing issues in the logs. While I can't help with the forth sensor (alphaess ;)), I believe the others are as intended because the rates are not available. This occurs mainly on tracker tariffs because the data is made available so late in the day and so it can't be worked out.
If I preserve the previous value then this could cause people to complain that the data is not correct, where as I want it to be clear that the data is unavailable. All this means is that stats on the sensors has been paused and is why HA reports it as a warning rather than an error. I consider warnings to be something to raise your attention to, but not necessarily an error/issue.

I get the same Warning in my log:
The unit of sensor.octopus_energy_gas_e6e03301062121_536366105_current_rate (None) cannot be converted to the unit of previously compiled statistics (GBP/kWh). Generation of long term statistics will be suppressed unless the unit changes back to GBP/kWh or a compatible unit.  - I completely understand and agree with getting the warning if the issue occurs during usage but this error appears every time I restart home assistant

@capandcamera The only way to supress the warning to my knowledge would be to decrease your overall logs (e.g. to error) or decrease the logs for homeassistant.components.sensor.recorder to not include warnings


Feature/update tfm

Update tflite_micro_compiler to work with tflite-micro version f474248365ad48654ba8a27ac5bf49a6afbb80e7

Thank you for submitting this!

Sorry @rafzi , could you please enable the workflow again?


Generator creating references which should be deleted?

README suggests the following:
"Clean up tenant references
Clean up any generated belongs_to tenant references in all models which the generator might have generated (both acts_as_tenant and acts_as_universal)."
In my member.rb Model, generator created belongs_to :user and acts_as_tenant.
Question: Do I need to delete both these (belongs_to :user and acts_as_tenant) from my member.rb model? Want to be 100% sure to avoid big issues down the road! Also, if need to be deleted, why did Generator create them in the first place? Thanks!

Member.rb must have both lines:
acts_as_tenant
 belongs_to :user

the readme means that in every tenant-specific model, instead of having
 belongs_to :tenantyou must have the line
acts_as_tenant


Beaker Crashes on Mac with JDK6

13-inch, Mid 2010
Software  OS X 10.9.5 (13F34)
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
1/17/15 12:37:55.530 PM Beaker[48501]: java.lang.UnsupportedClassVersionError: com/twosigma/beaker/core/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
1/17/15 12:37:55.530 PM Beaker[48501]: 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
1/17/15 12:37:55.530 PM Beaker[48501]: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

The problem was JAVA_HOME was set in .bash* files because of https://github.com/twosigma/beaker-notebook/issues/703
the workaround until that's fixed is to not set JAVA_HOME

Is Beaker compiled with JDK 1.7 compatibility? I am getting this issue on Linux with JDK7 as well. (major.minor version 52.0)

As of 1.3 we are using Java 8, and the Linux version does not include Java it has to be installed separately.  The Linux instructions include the apt-get to install 8.

You mean https://github.com/twosigma/beaker-notebook/wiki/Ubuntu-build-and-run?
I will follow these now, but the build hosted at http://beakernotebook.com/getting-started?linux&scroll does not contain instructions (that I saw).

You mean https://github.com/twosigma/beaker-notebook/wiki/Ubuntu-build-and-run?
I will follow these now, but the build hosted at http://beakernotebook.com/getting-started?linux&scroll does not contain instructions (that I saw).
EDIT: Oh, weird. I unzipped the package and it apparently placed the install-dependencies.sh file in the parent of the unzipped folder. That is,
mybuildfolder
    | beaker-notebook.zip
    | install-dependencies.sh
    | beaker-notebook/
        | beaker.command, etc

I just cded into the folder assuming that everything would have been on the same level.

Thanks for the bug report, I filed it here: https://github.com/twosigma/beaker-notebook/issues/1873

https://github.com/twosigma/beaker-notebook/issues/2193


Update README.md

Added my name on line 1920
Related issue

What changes does this PR do?
Screenshots (If any)
Questions

Happy to join


Fix docs: Bindeps env vars are passed to build script at runtime

The environment variables are not available through the env! macro. Instead, they are passed by cargo when the build script is invoked.
The current test suite confirms this:
https://github.com/rust-lang/cargo/blob/fc5035d6980701c71c2ce3714e3ff239b19013b2/tests/testsuite/artifact_dep.rs#L524-L548

r? @ehuss
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 90f6a99b8b815701fb8d31d5fcd56e9e21010fef has been approved by weihanglo

:hourglass: Testing commit 90f6a99b8b815701fb8d31d5fcd56e9e21010fef with merge 4777c2216801bc8cf5fb99b2e4ce237400c0a63d...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 4777c2216801bc8cf5fb99b2e4ce237400c0a63d to master...


Ensure DDL dialect queries propagate errors back to descendent scopes.

Ensure DDL dialect queries propagate error states to descendent scopes.
Includes relevant unit-test.
Branched from jay/current_database (please merge that branch first!).

This is now ready for review.

@jinzhu You were spot on - it works fine w/o those lines so I've reverted NewRecord back to the original logic.
Thanks!


Proposal: add support for returning upper and lower triangles of an array

Proposal
Add APIs for returning the upper (triu) and lower (tril) triangles of an array.
Motivation
Currently, the array API specification does not provide APIs for returning the upper and lower triangles of an array.
These APIs were identified as potential candidates in gh-187 for inclusion in the next version of the standard. However, depending on the outcome of gh-217 may be necessary to include in the current version in order to ensure users can maintain equivalent functionality.
Background
triu and tril APIs are common across array libraries (see here). The notable exception being TensorFlow. MXNet seems to have APIs for returning the triangles of an array, but these are not documented in public documentation, so were not picked up during API comparison analysis.
Both triu and tril should be straightforward to include in the specification, as the signatures are consistent across libraries.
tril(m, k=0) → array
triu(m, k=0) → array

where k specifies the diagonal above/below which to zero elements.

@kgryte You're 10 mins ahead of me! I was working on https://github.com/cupy/cupy/pull/5555 and just realized the very same need. I think we need them to be able to handle and return a batch of matrices like all other linalg functions, which is currently not possible with NumPy/CuPy.

@leofang I think handling batches could make sense; however, I don't think any array libraries currently support batching, including Torch. Should be a straightforward extension, as should not conflict with any existing NumPy et al usage patterns.

The docs of tril and  triu are wrong. PyTorch does support batched inputs for these functions. I agree with @leofang that it would be good to write the specification for batched inputs.

I've opened gh-243 which adds both tril and triu to the specification, with support for providing a stack of matrices.


Fix common typos.

There are causing the internal linter to complain each time, let's just fix them 😄

cc @renkelvin @chliangGoogle for visibility

Thanks Ryan!


Missing TSDocs in counter package

[ ] Move some class-level documentation to the package level
[ ] Add ISharedCounterEvents documentation
[ ] Add applyStashedOp documentation
[ ] Add loadCore documentation
[ ] Add registerCore documentation
[ ] Change event structure to (event: "valueChanged", listener: (previousValue: number, newValue: number) => void): any;
[ ] Make decision on #6191
[ ] Add incremented event documentation
[ ] Make a decision about #6399

Prob add to this list:  Make a decision about #6399
applyStashedOp should be documented on SharedObject and inherited by SharedCounter
loadCore and registerCore are already documented on SharedObject and should be inherited by SharedCounter

Closing this item as we're not currently investing in the SharedCounter.  We can revisit if this DDS/scenario becomes a priority for our customers.


Do not load config file from --config

Because no need to and some other tools might use --config to load their config file.

Thanks. Released in 1.3.1.

@egoist Thx 😛


DXGI_FORMAT_A8_UNORM is reported as R8_UNORM with D3D11

Description
Textures created with DXGI_FORMAT_A8_UNORM are reported as R8_UNORM in the status bar while correctly being interpreted as A8: float4(0,0,0,A) in the 2D texture view.
I think that it would be best to identify them as A8_UNORM to avoid any confusion.

Repro steps
Create a DXGI_FORMAT_A8_UNORM and use it in a drawcall.
Environment

RenderDoc build: v1.4,  214d8522
Operating System: Windows 10
API: D3D11

It should display correctly with that commit. Alpha-only formats had been deprecated in modern GL so I didn't realise that D3D still had such a format, since AFAIK it's redundant on modern GPUs and only really made sense on fixed function pipelines.


Java 21 support for Minecraft

Added Java 21 to the Minecraft Eggs that needs it by adding the Java 21 Yolk to each egg file.

@TMKCRepo YOu can not edit eggs directly, make all changes in a panel, and then export them as now your json is not formatted right

Hello, when will java version 20 or 21 be released? to launch spigot 1.20.5?

Hello, when will java version 20 or 21 be released? to launch spigot 1.20.5?

ghcr.io/parkervcp/yolks:java_21

already exits

Hello, when will java version 20 or 21 be released? to launch spigot 1.20.5?

ghcr.io/parkervcp/yolks:java_21

already exits

Okay and the egg spigot?

Hello, when will java version 20 or 21 be released? to launch spigot 1.20.5?

ghcr.io/parkervcp/yolks:java_21

already exits

Okay and the egg spigot?

I will update the egg as soon as I can.  I have to get a Pterodactyl Panel installed so that I can edit the eggs, export them and make a Pull Request.


Inherited Unit does not inherit State correctly on python versions > 3.9

I recently ran into an odd bug where an inherited unit does not inherit the base classes STATE but does inherit it's SETTINGS. Importantly, this bug is only present in Python versions greater than 3.9. See below for a minimal example.
import ezmsg.core as ez

class BaseSettings(ez.Settings):
    y: int = 10

class BaseState(ez.State):
    x: int = 9

class BaseUnit(ez.Unit):
    SETTINGS: BaseSettings
    STATE: BaseState

    async def initialize(self) -> None:
        ez.logger.info(f"{self.SETTINGS=}, {self.STATE=}")

class ChildUnit(BaseUnit):
    async def initialize(self) -> None:
        ez.logger.info("In child")
        ez.logger.info(f"{self.SETTINGS=}, {self.STATE=}")
        return await super().initialize()

if __name__ == "__main__":
    ez.run(ChildUnit())

Output on 3.9:
2024-07-15 13:18:26.014 - pid: 35744 - TaskThread - INFO - initialize: In child
2024-07-15 13:18:26.014 - pid: 35744 - TaskThread - INFO - initialize: self.SETTINGS=BaseSettings(y=10), self.STATE=BaseState(x=9)
2024-07-15 13:18:26.014 - pid: 35744 - TaskThread - INFO - initialize: self.SETTINGS=BaseSettings(y=10), self.STATE=BaseState(x=9)
2024-07-15 13:18:26.016 - pid: 35744 - MainThread - INFO - run: All processes exited normally

Output on 3.10:
2024-07-15 13:18:25.996 - pid: 35743 - TaskThread - INFO - initialize: In child
2024-07-15 13:18:25.996 - pid: 35743 - TaskThread - INFO - initialize: self.SETTINGS=BaseSettings(y=10), self.STATE=State()
2024-07-15 13:18:25.996 - pid: 35743 - TaskThread - INFO - initialize: self.SETTINGS=BaseSettings(y=10), self.STATE=State()
2024-07-15 13:18:25.997 - pid: 35743 - MainThread - INFO - run: All processes exited normally

Fixed by #135


Adds a security consideration section.

RFCs have security considerations and it's good, IMHO, to state what
they are.
Feel free to tweak as needed.

nice additions. thanks @jbdatko!


tzdata: add libintl dependency on FreeBSD

Description of changes
part of https://github.com/NixOS/nixpkgs/pull/296581
tzdata doesn't have a configure step. It instead has instructions to edit the make flags until it works. The makefile actually contains the explicit example of FreeBSD as a platform you have to explicitly add -lintl on!
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[x] x86_64-freebsd

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

[ ] sandbox = relaxed
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

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

libintl is already defined as
# On non-GNU systems we need GNU Gettext for libintl.
libintl = if stdenv.hostPlatform.libc != "glibc" then gettext else null;

So I guess we can just make the dependency unconditional? Might want to change the default from null to stdenv.cc.libc, if I'm understanding the directions we would like to take for nixpkgs? :)

EXCELLENT catch! I did some forensics and found that this is only because of the way the FreeBSD bootstrap tools work, and if I override it for just that one stdenv it works fine.
It turns out that tzdata is doing quite a bit of self-configuration at build time through use of the __has_include macro, which I didn't know existed until today!


Use of Send prevents peripheral from being returned from function

I am attempting to return Peripheral from a generic setup function, so that I can use this as a generic framework for some hardware I am testing. The Send trait prevents peripheral from being made into a trait object, which stops me from being able to return the peripheral from the function. This may be down to my inexperience with rust, but it does appear to be a weakness of the library.

I'm having the same problem, trying to make a struct that contains a peripheral.

I have noticed that there are two Peripheral structs in the Peripheral. One is api::Peripheral, the other is in bluez/adapter, but it is not directly accessible through the library.
This is definitely a issue in the library's quality

Well, there aren't 2 Peripheral structs, there's a Peripheral struct (the one in bluez/adapter) and the Peripheral trait (the one under api::Peripheral)
@LucaCerina is correct, the former is not publicly accessible, the latter is.
With @lyneca's change I am able to use api::Peripheral as a trait object and e.g. store a Vector of Peripherals.
Peripherals are tied to the adapter instance, you can't create your own Peripheral structs by definition, so exposing the trait and not the struct that implements it makes a certain amount of sense AFAICT.


FloatEl disappeared

Describe the bug
Something crashed when I was dragging tasks in organizer - not sure why, but floatEl disappeared (or didn't render at all, I'm not sure). I found this in console:
Uncaught TypeError: Cannot read properties of null (reading 'appendChild')
    at Xi (omicron-dnd.js:1367:10)
    at Li (omicron-dnd.js:563:5)

which points to:
    // Note: that may be before or after floatEl. Maybe that is the problem?
    toEl.appendChild(placeholderEl);

That is a very interesting note, indeed. 🤔
The comment is no longer relevant though, as floatEl is created on the body instead of in the container. Anyway, that doesn't really matter.
Oh, I know what the race is: we get leaveContainer in preDrag state. This is because anyState_container_PointerLeave doesn't differentiate between states, really. startDrag assumes that toEl is set, but it can be null at that point. Perhaps it can also be a culprit for this broken newIndex in #10, though that is not very likely.
This can happen on desktop, where we tolerate some moves during preDrag. On mobile, where no preDrag is allowed, even if we get pointerLeave before pointerMove, the pointerMove will come too, and cancel the drag, so the issue would be mitigated.
The "proper" solution seems at first to be to start in a state where toEl is unset, and then call synthetic updateOnMove to enter the fromEl container. However, there are a few catches:

we should ignore the enter guards on fromEl,
we have to properly handle the size change between activeEl and placeholderEl, and should avoid immediate sorting change on dragStart,
fromEl is not necessarily at the top of hoverContainersByDepth list (e.g. when catching card by a list of sub-items),
???

Given the above, it seems that some dedicated solution would be preferred, and it should either just allow to skip entering the fromEl in case the pointer moved outside during the preDrag, or enforce entering fromEl anyway.

Alternative, simpler solution (that hopefully works without weird issues): delay the releasePointerCapture call until dragStart. This way we don't get any pointerleave or pointerenter during preDrag, which mitigates the issue. In the worst case, we will get a whole package of events after the release, but that we can handle already.

Okay. I'll let you know if I notice anything wrong.


Samples for Mocking Client Types (EventHubProducerClient) #7382

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

Now I understand "nuts and bolts" of the event hub + SDK a bit better, and have been able to make more interesting example for the EventDataBatch. What do you think?

Added an example demonstrating use of the EventHubsModelFactory.PartitionPublishingProperties. I have played around with OwnerLevel (exclusive reader) property of the partition.

@jsquire, please don't review it yet. I'm working on some improvements.

@jsquire, I think I have made something worth reviewing now. Please have a look.

Hi @jsquire,
Unfortunately, I have less and less time available for my contribution efforts for this tasks. Shame, I really enjoy it and I hope to be able to continue later. Thank you very much for your valuable feedback.
There are two pull requests I'm currently working on. This one; and Samples for Mocking Client Types (EventProcessor) one. I will have to abandon one of them due to the lack of time.
I think the other one is closer to the completion. It requires some polishing of the test case and describing everything in markdown file.
The work in this PR, IMO, is too far from the completion, and I'd say it's a good candidate to be abandoned.
Another scenario is that none of them are good enough and worth continue spending additional time.
What do you think?

Hi @andreyshihov.   First.... a giant thank you for all of your work and contributions; I've lost count for how many times I've linked the logging sample that you worked on over the last two weeks.   It has been a pleasure collaborating with you, and I'd love to have the opportunity again should you wish to do so.
I think that you've managed to work out a good general approach and direction for these.  Personally, I find value in leaving the PRs open for inspiration and reference;  I'm also under a bit of time pressure this month, but am hopeful that I can carve out a few days to loop back and use your PRs to finish these samples before we get into the holidays this year.
That, of course, assumes that you don't mind us leaving this open,  picking up your code and using it as the basis for work moving forward.  I'd appreciate your thoughts  on that.

@jsquire, thank you for your kind words! Thinking that these PRs might explicitly or implicitly help community to continue works on these tasks makes me feel very happy! Sorry that I couldn't finish them off myself.
Hope to get back in the game later.
Ciao!

Keeping open; I'd like to use this in the future as the basis of samples.

Keeping open; I'd like to use this in the future as the basis of samples.

Keeping open; I'd like to use this in the future as the basis of samples.

I've linked this into the samples issue so that we can find it and use it as a starting point/reference in the future.   Closing out for now.


Content missing for english translation

Some content is missing between the swedish and english version of the site. If you find anything missing, comment on this issue and describe what is missing.

Contact persons missing on the english website
Swedish

English

Commitees missing from english website
Swedish

English Note that the content is in swedish but is supposed to be in english!!


Button "Save and Submit" is unclickable from time to time

When the button "Regenerate response" is on the same vertical line with "Save & Submit", the "Save & Submit"  button itself becomes unclickable. It happens due to overlapped css blocks, and I believe can be fixed very fast.

Hello @evgeny-danilov
Thank you for submitting the bug. We are starting to work on it and we will provide some updates right after the fix will be merged in the release branch.

Hello @evgeny-danilov
The bug has been fixed and is now available in the release branch under tag 0.1.9 and in development branch
Thank you!


Fix stdlib build failures due to new intersection changes

Description:
$subject
Few OpenAPI tool test cases are failing in  stblib level 8 build in the PR https://github.com/ballerina-platform/ballerina-lang/pull/39585
Describe your task(s)
Revamp the implementation to map with new changes
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

on hold due to a bug in the PR. Constrcuted symbol for the type public type ReadOnlyPrimitiveUnion readonly & string|int; is incorrect


Hi,how to train own vq-f4

Hi,You did a great job. I would like to know how to train your own vq-f4 with your own data.
I would appreciate your generous advice.Thanks.

I can share the code if you still need it. email me<EMAIL_ADDRESS>


compute glrlm features error

there is a  Segmentation fault (core dumped) when i  copmuting glrlm features

Without more details I'm afraid I can't help you.
What system? what settings? voxel-based or segment-based? Can you share an image, mask and parameters file that caused this error?

here is my .nii file;
feature class is :
featureClass:
glrlm:  # Disable SumAverage by specifying all other GLCM features available
- ShortRunEmphasis
- LongRunEmphasis
- GrayLevelNonUniformity
- GrayLevelNonUniformityNormalized
- RunLengthNonUniformity
- RunLengthNonUniformityNormalized
- RunPercentage
- GrayLevelVariance
- RunVariance
- RunEntropy
- LowGrayLevelRunEmphasis
- HighGrayLevelRunEmphasis
- ShortRunLowGrayLevelEmphasis
- ShortRunHighGrayLevelEmphasis
- LongRunLowGrayLevelEmphasis
- LongRunHighGrayLevelEmphasis
setting:
binWidth: 25
force2D: true
label: 1
voxelSetting:
kernelRadius: 2
maskedKernel: true
initValue: nan
voxelBatch: 10000


Add university of Cartagena

@Mosorio9867 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host unicartagenaedu.co not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


DRAFT: @turnkey/native-passkey-stamper package

Summary & Motivation
Pulling the react native stamper developed by @Mperhats in this PR; there's probably more work to do to integrate it with CI + release a minimal example using it, but I think it's useful to have this up here for inspection!
TODOs

[ ] make CI happy
[ ] ensure unit tests run as part of CI
[ ] ensure that this new package is released inside of codesandbox
[ ] write a minimal example using the new package

See #209 for a new approach leveraging an existing OSS library for the tricky (native) parts! Closing this PR for now.


Closes #147. Changes logo to SVG.

Completes issue #147 .
Changes in this pull request:

Logo changed to SVG
Header underline styling updated to better match the comp
Ignore .DS_Store files

Looks great!


REPORT request not implemented

sending a REPORT request to an webDAV endpoint results in
HTTP/1.1 501 Not Implemented

It's implemented for favorites. Other features will need new tickets in the future.
Closing this to reduce the number of open tickets.


PermissionError: [Errno 13] Permission denied

(diffbir) E:\AI>python e:\ai\diffbir\inference.py --config E:\AI\DiffBIR\configs\model\cldm.yaml --ckpt E:\AI\DiffBIR\ckpt --reload_swinir --swinir_ckpt E:\AI\DiffBIR\ckpt --steps 50 --input E:\AI\DiffBIR\lq_dir --sr_scale 1 --image_size 512 --color_fix_type wavelet --resize_back --output E:\AI\DiffBIR\hq_dirE:\AI\DiffBIR\inference.py --config E:\AI\DiffBIR\configs\model\cldm.yaml --ckpt E:\AI\DiffBIR\ckpt --reload_swinir --swinir_ckpt E:\AI\DiffBIR\ckpt --steps 50 --input E:\AI\DiffBIR\lq_dir --sr_scale 1 --image_size 512 --color_fix_type wavelet --resize_back --output E:\AI\DiffBIR\hq_dir
E:\Anaconda3\envs\diffbir\lib\site-packages\torchaudio\backend\utils.py:62: UserWarning: No audio backend is available.
warnings.warn("No audio backend is available.")
No module 'xformers'. Proceeding without it.
Global seed set to 231
ControlLDM: Running in eps-prediction mode
DiffusionWrapper has 865.91 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
E:\Anaconda3\envs\diffbir\lib\site-packages\torch\functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\TensorShape.cpp:2895.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Setting up [LPIPS] perceptual loss: trunk [alex], v[0.1], spatial [off]
E:\Anaconda3\envs\diffbir\lib\site-packages\torchvision\models_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and will be removed in 0.15, please use 'weights' instead.
warnings.warn(
E:\Anaconda3\envs\diffbir\lib\site-packages\torchvision\models_utils.py:223: UserWarning: Arguments other than a weight enum or None for 'weights' are deprecated since 0.13 and will be removed in 0.15. The current behavior is equivalent to passing weights=AlexNet_Weights.IMAGENET1K_V1. You can also use weights=AlexNet_Weights.DEFAULT to get the most up-to-date weights.
warnings.warn(msg)
Loading model from: E:\Anaconda3\envs\diffbir\lib\site-packages\lpips\weights\v0.1\alex.pth
Traceback (most recent call last):
File "e:\ai\diffbir\inference.py", line 212, in
main()
File "e:\ai\diffbir\inference.py", line 140, in main
load_state_dict(model, torch.load(args.ckpt, map_location="cpu"), strict=True)
File "E:\Anaconda3\envs\diffbir\lib\site-packages\torch\serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "E:\Anaconda3\envs\diffbir\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "E:\Anaconda3\envs\diffbir\lib\site-packages\torch\serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
PermissionError: [Errno 13] Permission denied: 'E:\AI\DiffBIR\ckpt'

When you load the model weigths,you don't have the permission for the directory.


Testing against fantasy-laws

Testing against fantasy-laws

[x] Setoid
[x] Ord
[x] Semigroupoid
[x] Semigroup
[x] Functor
[x] Bifunctor
[x] Apply
[x] Chain
[x] Foldable
[ ] Traversable
[x] Extend
[x] Comonad

I've added you as a collaborator, @miwillhite. :)
Once you've completed the checklist it would be helpful if you would squash your commits and rebase the resulting commit on gabejohnson/everything. I'll then pull the commit into my local copy of that branch, then push to GitHub (resolving this pull request without introducing a merge commit). You, Gabe, and I will then be free to push additional commits to #3, so we needn't get everything 100% perfect here.
I'm enjoying working collaboratively on this project. :)

Thank you both @davidchambers and @gabejohnson. I'm really enjoying this and hope to keep contributing long into the future!

@davidchambers @miwillhite should we go back and to a rebase off my branch instead of merging instead?

[S]hould we go back and rebase off of my branch instead of merging?

This would be ideal. I'm happy to help with this once @miwillhite says this branch is ready.


feat: project state and types

:books: Summary

:link: Links / References

Related #294

:construction_worker: Tasks

[ ] Add your tasks here if required (delete)

[ ] :firecracker: Contains breaking-change Any Breaking change(s)?
Breaking Change must also be notated in the commit that introduces it and in Conventional Commit Format.

[ ] :notebook: Release notes updated

[ ] :blue_book: Documentation written
All features to be documented within the correct section(s). Administration, Development and/or User

[ ] :checkered_flag: Milestone assigned

[ ] :test_tube: Unit Test(s) Written
ensure test coverage delta is not less than zero

[ ] :page_facing_up: Roadmap updated

@jasonpagetas
on merge this'll have what you need. pull --rebase and run migrations to update


[RFC] Delete unused minimum tx fee for contract txs

This RFC PR comes from review of https://www.pivotaltracker.com/story/show/158423604

Similar macros are present in aeo_*_tx.erl.
(ORACLE_TTL_FEE in aeo_utils is related to state tree objects created by oracle txs.)

CI test job failed on b669afdf equivalent to master 8429936f :
%%% aecore_sync_SUITE ==> {test_case_failed,{retry_exhausted,#{info =>
                                         {463,expect_same_tx,
                                          [epoch_dev1@localhost,
                                           epoch_dev2@localhost]},
                                     prev => undefined,retries => 5,
                                     tries => 0}}}

Restarting.


Scope of Ollama,

Could you tell me more about the scope of Ollama,  you guys build it around the llama.cpp stack and added an API and other tools on top of that.
GGUF is pretty stable  but there are some other formats on the horizon.
I would like to add EXL2 formatting to my app but since this is a companion app for ollama I was actually questioning where to add this functionality. It would be pretty easy to just add support for it on my end with some local code.
But to be honest, I wouldn't mind building this within Ollama. P
So my question is would you be interested if I added transformers/c-transformers to Ollama.
I'm very interested in your answer and what your long term goals would be for Ollama.
Happy holidays!

@Luxadevi thanks for your comment!
We currently build around llama.cpp, but the intention has always been to have a simple API for users to be able to run inference, along with making it really easy to find and download models. We chose llama.cpp because it gave us a great starting point for doing that. The intention has never been to only support GGUF.
That said, we're pretty conscientious about not bloating the project with too many features, or support too many things. It's easy to add stuff which doesn't get enough attention and drags down the overall quality of everything.

Going to go ahead and close the issue.

@pdevine  Sorry, I found this by Googling. Does Ollama support exl2 or no?

@houmie Not currently.

@pdevine will ollama be getting exl2 support in the future?

@txhno do you mean as an on-disk format or for importing weights? As an on-disk format it would be unlikely, however, I could see us supporting importing exl2 weights in the future. We do support importing some models from safetensors now (i.e. Huggingface format) including llama, mistral, gemma, and phi.


[ERD] - Await for workflow js syntax

https://www.notion.so/appsmith/ERD-Premature-termination-of-workflows-in-case-of-missing-await-on-async-functions-e707a6c2d2f34dc09370b5430ba4c032?pvs=4


How to pass a live stream of audio to the ML

Hello
My plan is to make a mobile application for correcting the speech of the user while reading surat Al-EKlass.
i saw your tarteel application and it is fantastic ❤  thank you for your work.
i already did the ML speech2text with OpenNMT, but i am wondering how did you pass a live stream audio from microphone to recognize it ? My plan was after training the ML i would set up the REST server then doing a GUI. but i am stuck with the audio streaming now :/
appreciate your help..,
thank you

Noura,
Streaming is done using websockets which provides a continuous stream of data between some client/server.
REST APIs are good for request/response architectures that don't require realtime response.
Also, issues in this repo should ideally be related to the code in the repo :)
If you have general questions about Tarteel, you should email us at<EMAIL_ADDRESS>Please close this issue if this answers your question.

I noticed you also opened a similar issue here: https://github.com/OpenNMT/OpenNMT-py/issues/1865
It is generally good practice not to cross post similar questions in multiple locations.
Like the answer there, this question outside the scope of the project.
Stackoverflow and reddit are usually good places to ask these questions.


Flavorah Rich Cinnamon

Details
I would like to report a missing

[x] Flavor
[ ] Ingredient

For Flavors
Flavor Info

Vendor name (e.g. Capella): Flavorah
Flavor name (e.g. Cool Mint): Rich Cinnamon

Source
Describe the source of your information. Provide as much evidence as you can.
For Ingredients
Ingredient Info

Chemical name(s): cinnamic aldehyde
CAS number(s):

Source
Provide all of your research on this ingredient. We expect to see multiple relevant scientific studies and/or corroboration from academics/toxicologists.
The manufacturer warns:

Note: This flavor contains cinnamic aldehyde.

https://shop.flavorah.com/shop/concentrated-rich-cinnamon-flavor-2119#attr=
There are reports of this chemical disrupting lung cell function.
https://shop.flavorah.com/shop/concentrated-rich-cinnamon-flavor-2119#attr=

No studies / corroborating evidence for cinnamic aldehyde were provided. Closing.


Add reduction param to mse_loss

Description
Currently, we default (and only do) the sum reduction method. We should also add the average one.
Are you interested in working on this improvement yourself?

Yes, I am.

Additional Context
A test should be added to validate the behavior.

Can you provide more information? so I can help on this issues

For the moment we default to the sum reduction operation when doing the mse_loss. Ideally, we would want to have a parameter to select if we want sum or avg . This is dependent on another PR for training :D

Is is merged now :D - the function is mse_loss

I see. I will work on this issue

Added you to the issue

I just add one PR, please review it @gmuraru

This si done in here


Windows.Foundation.Point is (float, float), need (double, double) for simulation values

I was originally using the Windows.Foundation.Point class for the simulation values because I saw the the constructor signature was Point(double, double) and assumed X and Y were doubles internally. It turns out they are currently floats (see FoundationPointIssue.sln). Need to implement a (double, double) point class and change the simulation to use it.

Fixed by commit https://github.com/ezocher/Gravity-Toy/commit/8ca5077ad442d55ebfda7b6b0868c8f967d1af54


[Bug][Projects] Jenkins connection Data Scope does not display all selected ones

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
After selecting some Jenkins Data Scope, the table with the selected ones does not display all the selected ones.
Check the screenshots:

What do you expect to happen
I expect to see all the selected ones in the table.
How to reproduce
I tried to add the items again, and it still not displaying in the list even if the count still shows them all.
Anything else
No response
Version
v0.19.0-beta4@
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, @msarzijr Thanks for reporting the issue, However, I couldn't reproduce the phenomenal on my local machine.
Do you mind sharing the API response of the /api/blueprints/<bp_id>, you should be able to find them on the Developer Toolbar.
Or could you identify the pattern between the showing and hidden ones? I suspect it is the names of the scopes that causing the problem, but don't know exactly how without the actual data.

@klesh, here is the API data; the exciting part is that it is returning the 6 lines (I changed) and displaying only 4.

By the way, the same happens with GitLab repos.

I suspect that the missing scopes on the project page do not actually exist on the Connection Detail page, can you verify that?
If that is true, I would like to know why it happened, did you delete them on the Connection Detail page, or in the database, or the project is actually created by calling the  API with scope_ids that don't exist in the database?

Unfortunately the same happens for GitHub. Example:

Initially 2 repos are selected, I add other 2 repos to have 4

I get the confirmation message "Update data scope successful." but it keeps showing only 2 repos

@klesh I tried to add some without the scope, and it worked.

And we both are using the Config UI only to maintain the configuration.

@klesh what looks like is, that as we have lots of pipelines (1000+), it looks like when we select pipelines from the bottom of the list that need to be paged loaded, those are not shown in the table after added.

@msarzijr Can you activate the Developer Toolbar by pressing C-S-i and then enter the page and see if any requests to path like /plugins/xxx/scopes/yyy with 404 status code?


[improve][admin]internalGetMessageById shouldn't be allowed on partitioned topic

Motivation
Now, if a topic without partition index provided when querying internalGetMessageById,  error Topic not found will be thrown out. It will confuse users.
We'd better forbidden internalGetMessageById on partitioned-topic.
Modifications
If a partitioned-topic is provided, Status.METHOD_NOT_ALLOWED will be thrown out
Verifying this change

[x] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[x] The REST endpoints
[x] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
https://github.com/gaozhangmin/pulsar/pull/5

Codecov Report

Merging #19013 (06a9ecd) into master (22866bd) will decrease coverage by 0.44%.
The diff coverage is 18.35%.

@@             Coverage Diff              @@
##             master   #19013      +/-   ##
============================================
- Coverage     45.92%   45.48%   -0.45%
+ Complexity    10104     9087    -1017
============================================
  Files           680      629      -51
  Lines         66758    59602    -7156
  Branches       7147     6203     -944
============================================
- Hits          30660    27111    -3549
+ Misses        32680    29435    -3245
+ Partials       3418     3056     -362

Flag
Coverage Δ

unittests
45.48% <18.35%> (-0.45%)
:arrow_down:

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

Impacted Files
Coverage Δ

...che/pulsar/broker/intercept/BrokerInterceptor.java
0.00% <ø> (-13.05%)
:arrow_down:

...g/apache/pulsar/broker/web/PreInterceptFilter.java
0.00% <0.00%> (ø)

...pache/pulsar/client/impl/CompactionReaderImpl.java
0.00% <0.00%> (ø)

...lsar/client/impl/RawBatchMessageContainerImpl.java
0.00% <0.00%> (ø)

...n/java/org/apache/pulsar/compaction/Compactor.java
80.76% <ø> (ø)

.../pulsar/compaction/StrategicTwoPhaseCompactor.java
0.00% <0.00%> (ø)

...rg/apache/pulsar/compaction/TwoPhaseCompactor.java
58.52% <ø> (-14.29%)
:arrow_down:

.../java/org/apache/pulsar/client/impl/ClientCnx.java
29.97% <ø> (ø)

...a/org/apache/pulsar/client/impl/TableViewImpl.java
0.00% <0.00%> (ø)

...org/apache/pulsar/proxy/server/ProxyClientCnx.java
60.46% <ø> (ø)

... and 192 more

could you please add the test for it?

+1

org.apache.pulsar.broker.admin.PersistentTopicsTest#testGetMessageById


upd(virtualbox-deb): 7.0.14 -> 7.0.18

To be clear, you want this to not work on anything except debian stable?

To be clear, you want this to not work on anything except debian stable?

Cannot make miracles. Debs are ony for Ubuntu 22.04 or under and Debian stable or under... So the pacscript can only support now thoses distro or under but they will disapears and aren't on pacstall checks anymore...
when Oracle will support Ubuntu 24.04, I will update the package. ATW, still no official deb from them...
And impossible to install with a trick virtualbox deb from sid for testing or sid because debs are splited...
It will be a great feature to support installing multiple -debs ...

@Elsie19 Later, I can write virtualbox-bin pacscript with the .run source https://download.virtualbox.org/virtualbox/7.0.16/VirtualBox-7.0.16-162802-Linux_amd64.run
I have to study this, but for debs, we are good. Waiting for you =)


runtime error: index out of range when loading data

Description
Cayley 0.7.4 fails with a panic when trying to load a Freebase dump.
Steps to reproduce the issue:

cayley --db leveldb --dbpath graphdb load --init freebase.pq.gz

Received results:

$ ../cayley_0.7.4_linux_amd64/cayley --db leveldb --dbpath graphdb load --init freebase.pq.gz --verbose 2 --batch 100000
I0911 22:30:35.186468   15954 cayley.go:63] Cayley version: 0.7.4 (431ee2850fa29f8f7dfa0de6a03c07237871d504)
I0911 22:30:35.186583   15954 database.go:187] using backend "leveldb" (graphdb)
I0911 22:30:38.687174   15954 load.go:155] Wrote 100000 quads.
[...snip...]
I0912 03:02:06.054281   15954 load.go:155] Wrote 84600000 quads.
 The error occurs sooner when using a smaller batch size.
Expected results:
The data is loaded successfully.
Output of cayley version or commit hash:
Cayley version: 0.7.4
Git commit hash: 431ee2850fa29f8f7dfa0de6a03c07237871d504
Build date: 2018-06-03T15:44:12Z

Environment details:
Backend database: leveldb, bolt

This must have been solved with a new BoomFilter version. Will check it, thanks!

Fixed in #744


The type inferred for a rest-binding-pattern should include never x?; for each field x that occurred as a field-binding-pattern

Description:
$title.
We currently seem to infer quite a broad map, but this can be a record.
See https://github.com/ballerina-platform/ballerina-spec/issues/479#issuecomment-609590568.
Steps to reproduce:
type Foo record {|
    int i;
    string s;
    boolean b;
    int...;
|};

public function main() {
    Foo f = {i: 1, s: "foo", b: true, "k": 220};

    var {i, ...rest} = f;

    record {|
        never i?;
        string s;
        boolean b;
        int...;
    |} k = rest; // should work
}

Currently fails with
$ ballerina run xyz.bal
Compiling source
        xyz.bal
error: .::xyz.bal:18:12: incompatible types: expected 'record {| never i?; string s; boolean b; int...; |}', found 'map<anydata>'

Affected Versions:
slp1

Same as https://github.com/ballerina-platform/ballerina-lang/issues/29040, fixed in https://github.com/ballerina-platform/ballerina-lang/pull/30525.


User Login and Further Scaffolding

Added the first fetch() example for the login feature on the front end, and began to update how this would work with the back end.
Extended the User model to begin to handle API requests with the to_dict and from_dict methods.
Made use of werkzeug security to hash passwords when storing in the database.
Added CORS and login management.

TO DO:

Finish API back end integration. Currently the back endpoints do nothing with the data they receive. I need to plan more thoroughly how the endpoints will be mapped, and what the API construct will look like. Will do in collaboration with @carrollgt91 and Plamen.
Finalise ability for users to login and signup. That will finalise the initial functionality of the application, and we can begin to add SSO support.

Added API for token authentication.
Back end now allows for users to sign up and log in. Though I expect the log in pattern to change when integrated with the front end.

I think that @PlamenHristov has picked up where you've left off, Tom.

Cool @carrollgt91. @PlamenHristov is nailling it. Shall I close this PR?


Added "Foundations of Python Programming" Book

What does this PR do?
Add resource
For resources
Description
Covers fundamental Python concepts, suitable for those new to programming or Python.
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

This item goes in the "interactive tutorials" list


Shell escaping

See https://github.com/remote-cli/remote/blob/5d0fc94d9fba8d3a94cf3ba4a08db1a6d79d3108/src/remote/util.py#L242
It seems to only add ' around arguments containing whitespace, but this does not account for shell escaping.

what if the argument contains a `'
what if the argument contains a newline?

Python includes shlex.quote for this purpose.
It also seems to filter out empty arguments, which is odd, since "" is a valid parameter for shell commands.
The environment arguments could also be affected

Thanks for the suggestion! This issue should be resolved by https://github.com/remote-cli/remote/pull/40


directshowframegrabber don't find pupil lab cams

How are you?
I use the window 10, visual studio 2015, MSI VR notebook.
First I installed the usb installer and I checked device manager and running capture program.
But when I run for testing, directshowframegrabber don't find pupil lab cam.
they found only the webcam in notebook.
do you have any idea or advice?

Hi @SanghunNam,
I can raise several possible causes:

Camera name mismatch:
In the line:
https://github.com/YutaItoh/3D-Eye-Tracker/blob/master/main/main.cpp#L166

eyecams[0] = std::make_unique<eye_tracker::EyeCameraDS>("Pupil Cam1 ID0"); //
can you double check if the passed camera name is the same as the one shown on other camera apps e.g. Skype or AMCap?
http://noeld.com/programs.asp?cat=video

A compatibility issue between the camera and our DirectShow implementation :(
If this is the case, can you try the highgui camera grabber by replacing the line:
https://github.com/YutaItoh/3D-Eye-Tracker/blob/master/main/main.cpp#L166
with something like

eyecams[0] = std::make_unique<eye_tracker::EyeCamera>(camera_indices[0], false);
this allows the program accessing a camera via OpenCV highgui module.

Hope the above info. helps.

Thank you for your advice.
I think it's a hardware problem.
Because my new computer (windows 10) found the pupil lab cam.
In the device manger, pupil lab is inside Imaging device. It's possible to be found with directshow.
but my notebook can't recognize the pupil lab with imaging device.
thanks.


Specify class for manual uploads and definitions

Summary
Specifies class:manual for regular uploads and class:definition for definition uploads.
Type
New Feature
Context
Implementation of https://github.com/praetorian-inc/chaos/pull/914

Re: Peter's earlier comment. We can skip adding a class option for now if manual/definitions are the only two.

Even better!


"OBPS" needs to be added in Home page [10]

Describe the Bug:

Probability (how likely the bug is to happen, scored from 1-5):5
(For example, probability of 5 is something like "it happens to all users every time they log in."
Probability of 1 "only happens to certain users when a really specific and unlikely path is followed.")
Effect (how bad the bug is when it does happen, scored from 1-5):5
(For example, effect of 5 is "the entire app crashes and makes it unusable for all users" or "the bug causes the wrong data to be saved, with critical information (e.g. payment) being affected."
Effect of 1 is "It makes some styling look a little bit weird.")
Steps to reproduce the behaviour:
Screenshots:
Additional information:

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version: [e.g. 22]
Additional context

Hi @shon-button , for some reason I'm not seeing the text update (neither this one, nor @marcellmueller 's one) in Dev.


Option to change the main flatimage icon

Can there or is there a way to change the flatimage icon after generating the flatimage without extracting the contents?
A couple of times i've selected a png image to use as the main icon in a multi game flatimage but it's chosen one of the icons from inside the flatimage

Hi @Blad3forc3 ! There is a way to do that, it is:
./my-game.flatimage fim-exec cp ./my-new.png /fim/desktop/icon.png

You will need to clear the icon cache on your desktop environment or rename the flatimage file, for it to update the icon.

Thanks Ruan. I'll give it a go later
On Tue, 16 Apr 2024, 21:12 Ruan Formigoni, @.***> wrote:

Hi @Blad3forc3 https://github.com/Blad3forc3 ! There is a way to do
that, it is:
./my-game.flatimage fim-exec cp ./my-new.png /fim/desktop/icon.png
You will need to clear the icon cache on your desktop environment or
rename the flatimage file, for it to update the icon.
—
Reply to this email directly, view it on GitHub
https://github.com/ruanformigoni/gameimage/issues/72#issuecomment-2059847808,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOLIO65WYPD2XBAZQWRA3DY5WAZ3AVCNFSM6AAAAABGJ7LKTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZHA2DOOBQHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ive tried deleting the icon cache and renaming the flatimage but the icon doesn't get updated. I'm using kubuntu

That's odd, after copying the file what I do is to delete ~/.cache/icon-cache.kcache and restart the file manager.

WHen i run the command i get this error
cp: cannot create regular file '/fim/dekstop/icon.png': No such file or directory

That's odd, after copying the file what I do is to delete ~/.cache/icon-cache.kcache and restart the file manager.

It seems theres something more sinister going on here.
Sometimes when i build a flatimage and select the desktop icon it reverts to a different icon from previously. Something with the cache file maybe

Just an update to this Ruan. I think i've sorted the problem. I had some leftover files that were collecting in the var/tmp folder all related to various flatimages i had created. I deleted them all and now the icon is sticking correctly

Hi @Blad3forc3 , thanks for the update. Glad it worked!


[325] Add some more hostname tests

Adds a few length and begins-with/ends-with/contains rudimentary tests.
All drafts are affected.
Closes #325

All of these probably apply also to idn-hostname, yeah?
If so I think we should add them there too if possible.

@Julian I added some more idn-hostname tests but idn-hostnames don't have the same constraints in their "U-labels", so the tests won't be the same. I can explain more on Slack if you wish.

Force-pushed to track changes in master.

It's a bit helpful to include a quick reference to the relevant section in the RFCs as part of the descriptions for each test here -- I just hunted down each one to verify them -- does that sound reasonable to you? Happy to push that for a future PR if you'd like too, since there's other files we should do that in presumably.

Force pushed to track master.
I'll add some comments with references.

Just added comments with references to the idn-hostname tests.

Force pushed to track master.


BrainF**k interpreter in HTML CSS and Javascript

BrainF**k interpreter with UI built in HTML/CSS and logic implemented in JavaScript

Hi @Dinex-dev can you add a demo video to show the working of the interpreter and to give us a brief idea of how the UI looks?


Error: "connect ECONNREFUSED ::1:443" in command "addemoji"

Reported by .̔̏𝗠𝗲𝗽𝗵𝗶𝘀𝘁𝗼#5558<PHONE_NUMBER>25055775) with bot<PHONE_NUMBER>02710047
Error: connect ECONNREFUSED ::1:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16)

one-time error


Implement ExpansionPanel control

Hi there! First off, great work, your project has been a huge help and inspiration for me. I hope that I can offer something in return.  I've implemented a material design Expansion Panel control as described in the spec here https://material.io/guidelines/components/expansion-panels.html
I've amended the Expansion view to showcase the new control, please check it out and consider it for your project.

Perhaps you can think of some improvements or alternate method to implement this behavior, any questions/concerns please let me know.  It acts like an ListBox/ItemsControl, but contains an internal Expander. You can use it by binding to a collection and defining your header and content DataTemplates, a trigger can easily be used to change header when the item is selected. I thought about defining a third DataTemplate for the expanded Header but couldn't manage to do that.
<materialDesign:ExpansionPanel ItemsSource="{StaticResource BindingCollection}" ItemHeaderTemplate="{StaticResource ExpansionPanelHeaderTemplate}" ItemTemplate="{StaticResource ExpansionPanelContentTemplate}">
Jeff Barnard

This is awesome great job Jeff

Hey, looks pretty nice, I will have a closer look soon.

Wow this looks great! It looks like it might need the flat toolbar button styles on the save/cancel? It also appears to be missing a border between the buttons and the rest of the content. Was that intentional?

The content I chose to display is just an example, you can template whatever content you wish. I intentionally left it generic, the control does not force any particular content/buttons on the consumer, it's simply an accordion container.

Closing, my source code is out of date.


fitpolynomial not working

@pat-alt
I merged the PR and did some code refactoring. But the polynomial fits do not seem to be working. I currently have no time to debug it, but it seems to be something related to how the model is being built. I would suggests following the same structure as the multi-exponential functions.
The tests are now in the end of the corresponding file of each type of fit. You can run them as usual, but also individually if using VScode.

The polynomials are at the polynomials branch.

With the fitndgr available I think this became obsolete.


The cursor disappears by itself when hovering in place of typing the code

Type: Bug
The cursor sometimes disappears and reappears when hovering over a location to fill in the code. There seems to be a bug in Visual Studio Code or in the Windows system, I don't understand it.
 I updated Windows to the same version yesterday. It seems to be related to the OS somehow. My VS Code is also the same as yours.

Same here. I updated Windows to the same version yesterday. It seems to be related to the OS somehow. My VS Code is also the same as yours.

We'll wait for Visual Studio Code to respond. I've tried reporting this to Microsoft on Feedback Hub, but I haven't heard back. It's not just Visual Studio Code. I also have this problem in other apps.

It seems to be a problem in Visual Studio Code. The first time I restarted my laptop and before I opened Visual Studio Code, this problem did not occur. After opening it, this problem suddenly appears and it is very annoying.

I had the same problem.
The following Issue is a similar problem.
Mouse cursor dissapears when i move it to the editor area. · Issue #204181 · microsoft/vscode
It seems to improve by DISABLE hardware-acceleration.
btw, I wonder if it has something to do with windows updates...

Disabling hardware acceleration works for me!
Currently I'm only experiencing this in VS Code. Other applications work fine. I've never experienced similar bug before this update.
And I'm working on a laptop without a dedicated GPU. It only has an Intel CPU.

Disabling HDR fix it for me.

Let's track in https://github.com/microsoft/vscode/issues/204103

I had the same problem. The following Issue is a similar problem.
Mouse cursor dissapears when i move it to the editor area. · Issue #204181 · microsoft/vscode
It seems to improve by DISABLE hardware-acceleration. btw, I wonder if it has something to do with windows updates...

i have also faced this issue.  I just recently update my windows OS


Downgrade to Gradle 4.5

The Android Instant Run functionality in Android Studio does not work with
any Gradle version newer than 4.5 currently. Downgrade so that people using
Android Studio can use that feature when working on ConnectBot.
This fixes #626.

Coverage increased (+0.01%) to 33.844% when pulling 1780c153ec7699cbcbd91399ef3099010c2de581 on kruton:gradle-downgrade into e29914ed9a8b1ebafbb070f754384e7872b1856d on connectbot:master.


Support self calling contract on instantiation

Resolves #292
While fixing the issue was trivial testing it was not with the current setup. This patch also introduces a new interface WasmerEngine that is implemented by cosmwasm.Wasmer.  This enables us to bypass the wasmer rust engine in tests for more flexibility and a faster feedback cycle.

Thanks for the feedback. I have revisited the test support types to apply the feedback.
I would be happy to make another round if needed to get this right.


CSV files have strange characters on OSX

Several languages csv files are missing from the download file at https://github.com/open-dict-data/ipa-dict/releases/tag/1.0
including Korean, Khmer and Icelandic. However I think it's feasible to get them from the txt files at https://github.com/open-dict-data/ipa-dict/tree/master/data

@nicolasdevops Yes, the last release was quite some time ago and newer languages have not been included. I can generate a new release which should add all the current languages.
Btw, the title of this issue alludes to a different problem, but you don't mention any details. Which of the CSV files are you noticing strange characters in? Can you provide an example?